summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/2ping/2ping.SlackBuild30
-rw-r--r--network/2ping/2ping.info10
-rw-r--r--network/2ping/README10
-rw-r--r--network/3proxy/3proxy.SlackBuild16
-rw-r--r--network/3proxy/README23
-rw-r--r--network/AdGuardHome/AdGuardHome.SlackBuild17
-rw-r--r--network/AdGuardHome/AdGuardHome.info10
-rw-r--r--network/AdGuardHome/README.SBo5
-rw-r--r--network/AdGuardHome/rc.AdGuardHome5
-rw-r--r--network/ApacheDirectoryStudio/ApacheDirectoryStudio.SlackBuild20
-rw-r--r--network/ApacheDirectoryStudio/ApacheDirectoryStudio.info2
-rw-r--r--network/BitchX/BitchX.SlackBuild109
-rw-r--r--network/BitchX/BitchX.info10
-rw-r--r--network/BitchX/README3
-rw-r--r--network/BitchX/slack-desc19
-rw-r--r--network/CherryMusic/CherryMusic.SlackBuild93
-rw-r--r--network/CherryMusic/CherryMusic.info10
-rw-r--r--network/CherryMusic/README26
-rw-r--r--network/CherryMusic/slack-desc19
-rw-r--r--network/ClusterSSH/ClusterSSH.SlackBuild16
-rw-r--r--network/ClusterSSH/ClusterSSH.info4
-rw-r--r--network/ClusterSSH/README17
-rw-r--r--network/DarTui/DarTui.SlackBuild86
-rw-r--r--network/DarTui/DarTui.info10
-rw-r--r--network/DarTui/README1
-rw-r--r--network/DarTui/slack-desc19
-rw-r--r--network/DenyHosts/DenyHosts.SlackBuild22
-rw-r--r--network/EarthReader-Web/EarthReader-Web.SlackBuild86
-rw-r--r--network/EarthReader-Web/EarthReader-Web.info10
-rw-r--r--network/EarthReader-Web/README7
-rw-r--r--network/EarthReader-Web/slack-desc19
-rw-r--r--network/Electrum-DASH/Electrum-DASH.SlackBuild87
-rw-r--r--network/Electrum-DASH/Electrum-DASH.info10
-rw-r--r--network/Electrum-DASH/README4
-rw-r--r--network/Electrum-DASH/slack-desc19
-rw-r--r--network/Electrum/Electrum.SlackBuild24
-rw-r--r--network/Electrum/Electrum.info8
-rw-r--r--network/Electrum/README4
-rw-r--r--network/Electrum/doinst.sh5
-rw-r--r--network/FireWorks/FireWorks.SlackBuild26
-rw-r--r--network/FireWorks/FireWorks.info8
-rw-r--r--network/FireWorks/README2
-rw-r--r--network/Flootty/Flootty.SlackBuild86
-rw-r--r--network/Flootty/Flootty.info10
-rw-r--r--network/Flootty/README5
-rw-r--r--network/Flootty/slack-desc19
-rw-r--r--network/Free-Cinema/Free-Cinema.SlackBuild86
-rw-r--r--network/Free-Cinema/Free-Cinema.info10
-rw-r--r--network/Free-Cinema/README8
-rw-r--r--network/Free-Cinema/slack-desc19
-rw-r--r--network/GeoIP/GeoIP.SlackBuild26
-rw-r--r--network/GhostInTheMail/GhostInTheMail.SlackBuild26
-rw-r--r--network/GhostInTheMail/README6
-rw-r--r--network/GlobalProtect-openconnect/GlobalProtect-openconnect.SlackBuild112
-rw-r--r--network/GlobalProtect-openconnect/GlobalProtect-openconnect.info10
-rw-r--r--network/GlobalProtect-openconnect/README13
-rw-r--r--network/GlobalProtect-openconnect/doinst.sh28
-rw-r--r--network/GlobalProtect-openconnect/rc.gpservice36
-rw-r--r--network/GlobalProtect-openconnect/slack-desc19
-rw-r--r--network/Icecat/Icecat.SlackBuild196
-rw-r--r--network/Icecat/Icecat.desktop75
-rw-r--r--network/Icecat/Icecat.info14
-rw-r--r--network/Icecat/README6
-rw-r--r--network/Icecat/gold2
-rw-r--r--network/Icecat/slack-desc19
-rw-r--r--network/LOIC/LOIC.SlackBuild16
-rw-r--r--network/LOIC/README29
-rw-r--r--network/MEGAcmd/MEGAcmd.SlackBuild121
-rw-r--r--network/MEGAcmd/MEGAcmd.info12
-rw-r--r--network/MEGAcmd/README12
-rw-r--r--network/MEGAcmd/fix-ffmpeg-compile.patch29
-rw-r--r--network/MEGAcmd/slack-desc19
-rw-r--r--network/MEGAsync/MEGAsync.SlackBuild23
-rw-r--r--network/MEGAsync/MEGAsync.info12
-rw-r--r--network/MEGAsync/megasync-4.5.0.0_ffmpeg.patch24
-rw-r--r--network/MEGAsync/megasync-4.5.0.0_pdfium.patch16
-rw-r--r--network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.SlackBuild16
-rw-r--r--network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.info2
-rw-r--r--network/NetworkManager-l2tp/NetworkManager-l2tp.SlackBuild21
-rw-r--r--network/NetworkManager-l2tp/NetworkManager-l2tp.info6
-rw-r--r--network/NetworkManager-l2tp/README5
-rw-r--r--network/NetworkManager-openconnect/NetworkManager-openconnect.SlackBuild21
-rw-r--r--network/NetworkManager-openconnect/NetworkManager-openconnect.info6
-rw-r--r--network/NetworkManager-openvpn/NetworkManager-openvpn.SlackBuild117
-rw-r--r--network/NetworkManager-openvpn/NetworkManager-openvpn.info10
-rw-r--r--network/NetworkManager-openvpn/README5
-rw-r--r--network/NetworkManager-openvpn/slack-desc19
-rw-r--r--network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild22
-rw-r--r--network/NetworkManager-pptp/NetworkManager-pptp.info2
-rw-r--r--network/NetworkManager-ssh/NetworkManager-ssh.SlackBuild18
-rw-r--r--network/NetworkManager-ssh/NetworkManager-ssh.info6
-rw-r--r--network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild21
-rw-r--r--network/NetworkManager-vpnc/NetworkManager-vpnc.info6
-rw-r--r--network/PAC/PAC.SlackBuild16
-rw-r--r--network/Pafy/Pafy.SlackBuild18
-rw-r--r--network/Pafy/README9
-rw-r--r--network/PyRSS2Gen/PyRSS2Gen.SlackBuild55
-rw-r--r--network/PyRSS2Gen/PyRSS2Gen.info10
-rw-r--r--network/PyRSS2Gen/README6
-rw-r--r--network/PyRSS2Gen/slack-desc19
-rw-r--r--network/PySocks/PySocks.SlackBuild16
-rw-r--r--network/Pyrit/Pyrit.SlackBuild16
-rw-r--r--network/Pyrit/Pyrit.info2
-rw-r--r--network/Pyrit/README11
-rw-r--r--network/Quaternion/Quaternion.SlackBuild16
-rw-r--r--network/Quaternion/Quaternion.info2
-rw-r--r--network/Quaternion/README3
-rw-r--r--network/QuiteRSS/QuiteRSS.SlackBuild16
-rw-r--r--network/RTL8192/README26
-rw-r--r--network/RTL8192/RTL8192.SlackBuild101
-rw-r--r--network/RTL8192/RTL8192.info10
-rw-r--r--network/RTL8192/slack-desc19
-rw-r--r--network/RYMTracks/README2
-rw-r--r--network/RYMTracks/RYMTracks.SlackBuild85
-rw-r--r--network/RYMTracks/RYMTracks.info10
-rw-r--r--network/RYMTracks/slack-desc19
-rw-r--r--network/SoulseekQt/README9
-rw-r--r--network/SoulseekQt/SoulseekQt.SlackBuild52
-rw-r--r--network/SoulseekQt/SoulseekQt.info10
-rw-r--r--network/SoulseekQt/SoulseekQt.pngbin905 -> 0 bytes
-rw-r--r--network/SoulseekQt/selinux-stub.c4
-rw-r--r--network/SpiderOakONE/SpiderOakONE.SlackBuild16
-rw-r--r--network/TeamSpeak3/README2
-rw-r--r--network/TeamSpeak3/TeamSpeak3.SlackBuild18
-rw-r--r--network/TeamSpeak3/TeamSpeak3.info14
-rw-r--r--network/UDR/README11
-rw-r--r--network/UDR/UDR.SlackBuild21
-rw-r--r--network/UDR/UDR.info6
-rw-r--r--network/WhatWeb/README9
-rw-r--r--network/WhatWeb/WhatWeb.SlackBuild18
-rw-r--r--network/WhatWeb/WhatWeb.info8
-rw-r--r--network/XD/XD.SlackBuild22
-rw-r--r--network/XD/XD.info6
-rw-r--r--network/aMule/README13
-rw-r--r--network/aMule/aMule.SlackBuild45
-rw-r--r--network/aMule/aMule.info8
-rw-r--r--network/acme.sh/README34
-rw-r--r--network/acme.sh/acme.sh.SlackBuild24
-rw-r--r--network/acme.sh/acme.sh.info6
-rw-r--r--network/addrwatch/README17
-rw-r--r--network/addrwatch/addrwatch.SlackBuild99
-rw-r--r--network/addrwatch/addrwatch.info10
-rw-r--r--network/addrwatch/slack-desc19
-rw-r--r--network/aggregate/aggregate.SlackBuild16
-rw-r--r--network/aiccu/aiccu.SlackBuild16
-rw-r--r--network/aircrack-ng/aircrack-ng.SlackBuild22
-rw-r--r--network/aircrack-ng/aircrack-ng.info6
-rw-r--r--network/airpwn/README7
-rw-r--r--network/airpwn/airpwn.SlackBuild132
-rw-r--r--network/airpwn/airpwn.info10
-rw-r--r--network/airpwn/slack-desc19
-rw-r--r--network/aldryn-client/README2
-rw-r--r--network/aldryn-client/aldryn-client.SlackBuild18
-rw-r--r--network/aldryn-client/aldryn-client.info2
-rw-r--r--network/amap/README9
-rw-r--r--network/amap/amap.SlackBuild16
-rw-r--r--network/amavisd-new/README9
-rw-r--r--network/amavisd-new/README.SBo1
-rw-r--r--network/amavisd-new/amavisd-new.SlackBuild32
-rw-r--r--network/amavisd-new/rc.amavisd-new8
-rw-r--r--network/amfora-bin/README21
-rw-r--r--network/amfora-bin/amfora-bin.SlackBuild79
-rw-r--r--network/amfora-bin/amfora-bin.info10
-rw-r--r--network/amfora-bin/amfora.desktop11
-rw-r--r--network/amfora-bin/amfora.pngbin0 -> 3738 bytes
-rw-r--r--network/amfora-bin/docs/CHANGELOG.md332
-rw-r--r--network/amfora-bin/docs/LICENSE674
-rw-r--r--network/amfora-bin/docs/NOTES.md15
-rw-r--r--network/amfora-bin/docs/README.md175
-rw-r--r--network/amfora-bin/docs/THANKS.md32
-rw-r--r--network/amfora-bin/doinst.sh (renamed from network/falkon/doinst.sh)0
-rw-r--r--network/amfora-bin/slack-desc19
-rw-r--r--network/ani-cli/README9
-rw-r--r--network/ani-cli/ani-cli.SlackBuild75
-rw-r--r--network/ani-cli/ani-cli.info10
-rw-r--r--network/ani-cli/changelog13
-rw-r--r--network/ani-cli/slack-desc19
-rw-r--r--network/anydesk/anydesk.SlackBuild43
-rw-r--r--network/anydesk/anydesk.info6
-rw-r--r--network/anydesk/doinst.sh26
-rw-r--r--network/aoetools/aoetools.SlackBuild40
-rw-r--r--network/apt-mirror/apt-mirror.SlackBuild16
-rw-r--r--network/argus-clients/argus-clients.SlackBuild40
-rw-r--r--network/argus-clients/argus-clients.info8
-rw-r--r--network/argus/argus.SlackBuild27
-rw-r--r--network/argus/argus.info6
-rw-r--r--network/argus/rc.argus.patch19
-rw-r--r--network/aria2/aria2.SlackBuild18
-rw-r--r--network/aria2/aria2.info8
-rw-r--r--network/arm/README19
-rw-r--r--network/arm/arm.SlackBuild73
-rw-r--r--network/arm/arm.info10
-rw-r--r--network/arm/slack-desc19
-rw-r--r--network/armcord/README4
-rw-r--r--network/armcord/armcord.SlackBuild87
-rw-r--r--network/armcord/armcord.desktop8
-rw-r--r--network/armcord/armcord.info10
-rw-r--r--network/armcord/armcord_icon.pngbin0 -> 6315 bytes
-rw-r--r--network/armcord/doinst.sh (renamed from network/emesene/doinst.sh)0
-rw-r--r--network/armcord/slack-desc19
-rw-r--r--network/arno-iptables-firewall/README52
-rw-r--r--network/arno-iptables-firewall/arno-iptables-firewall.SlackBuild20
-rw-r--r--network/arno-iptables-firewall/arno-iptables-firewall.info2
-rw-r--r--network/arora/README4
-rw-r--r--network/arora/arora.SlackBuild94
-rw-r--r--network/arora/arora.info10
-rw-r--r--network/arora/doinst.sh9
-rw-r--r--network/arora/slack-desc19
-rw-r--r--network/arp-scan/arp-scan.SlackBuild22
-rw-r--r--network/arping/arping.SlackBuild21
-rw-r--r--network/arpwatch/arpwatch.SlackBuild16
-rw-r--r--network/asciinema/asciinema.SlackBuild37
-rw-r--r--network/asciinema/asciinema.info10
-rw-r--r--network/asciinema/setup.py5
-rw-r--r--network/asterisk/README3
-rw-r--r--network/asterisk/asterisk.SlackBuild25
-rw-r--r--network/asterisk/asterisk.info2
-rw-r--r--network/asterisk/rc.asterisk.new64
-rw-r--r--network/asuka/README5
-rw-r--r--network/asuka/asuka.SlackBuild161
-rw-r--r--network/asuka/asuka.info198
-rw-r--r--network/asuka/slack-desc19
-rw-r--r--network/atftp/atftp.SlackBuild20
-rw-r--r--network/atftp/atftp.info8
-rw-r--r--network/atheme/README2
-rw-r--r--network/atheme/atheme.SlackBuild16
-rw-r--r--network/atheme/atheme.info2
-rw-r--r--network/authbind/README6
-rw-r--r--network/authbind/authbind.SlackBuild28
-rw-r--r--network/authbind/authbind.info4
-rw-r--r--network/autossh/autossh.SlackBuild16
-rw-r--r--network/avahi/README25
-rw-r--r--network/avahi/avahi.SlackBuild66
-rw-r--r--network/avahi/build-db49
-rw-r--r--network/avahi/patches/CVE-2021-3502.patch148
-rw-r--r--network/avahi/patches/Fetch-build-db-from-upstream-git.patch71
-rw-r--r--network/avahi/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch50
-rw-r--r--network/avahi/patches/avahi-client-fix-resource-leak.patch22
-rw-r--r--network/avahi/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch24
-rw-r--r--network/avahi/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch41
-rw-r--r--network/avahi/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch29
-rw-r--r--network/avahi/patches/avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch37
-rw-r--r--network/avahi/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch106
-rw-r--r--network/avahi/patches/fix-bytestring-decoding-for-proper-display.patch28
-rw-r--r--network/avahi/patches/fixup_avahi-dnsconfd.action.patch (renamed from network/avahi/fixup_avahi-dnsconfd.action.patch)0
-rw-r--r--network/avahi/patches/ipv6_race_condition_fix.patch (renamed from network/avahi/ipv6_race_condition_fix.patch)0
-rw-r--r--network/avahi/patches/man-add-missing-bshell.1-symlink.patch33
-rw-r--r--network/avahi/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch24
-rw-r--r--network/avahi/patches/series13
-rw-r--r--network/awscli-v2/README11
-rw-r--r--network/awscli-v2/awscli-v2.SlackBuild100
-rw-r--r--network/awscli-v2/awscli-v2.info10
-rw-r--r--network/awscli-v2/slack-desc19
-rw-r--r--network/awscli/awscli.SlackBuild26
-rw-r--r--network/awscli/awscli.info10
-rw-r--r--network/awstats/README27
-rw-r--r--network/awstats/awstats.SlackBuild28
-rw-r--r--network/awstats/awstats.info6
-rw-r--r--network/awstats/patches/0001-FIX-Security-reported-by-cPanel-Security-Team-can-ex.patch71
-rw-r--r--network/awstats/patches/0001-Fix-another-vulnerability-reported-by-cPanel-Securit.patch70
-rw-r--r--network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-browser-OS-and.patch2781
-rw-r--r--network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-external-refer.patch36
-rw-r--r--network/awstats/slack-desc2
-rw-r--r--network/axel/README12
-rw-r--r--network/axel/axel.SlackBuild36
-rw-r--r--network/axel/axel.info8
-rw-r--r--network/axel/doinst.sh14
-rw-r--r--network/b43-firmware/README5
-rw-r--r--network/b43-firmware/b43-firmware.SlackBuild16
-rw-r--r--network/b43-fwcutter/b43-fwcutter.SlackBuild22
-rw-r--r--network/badwolf/README17
-rw-r--r--network/badwolf/badwolf.SlackBuild102
-rw-r--r--network/badwolf/badwolf.info10
-rw-r--r--network/badwolf/doinst.sh10
-rw-r--r--network/badwolf/slack-desc19
-rw-r--r--network/baikal/README15
-rw-r--r--network/baikal/baikal.SlackBuild109
-rw-r--r--network/baikal/baikal.info10
-rw-r--r--network/baikal/slack-desc19
-rw-r--r--network/barnyard2/barnyard2-1.13-free.patch11
-rw-r--r--network/barnyard2/barnyard2-1.13-pcap-1.9.0.patch38
-rw-r--r--network/barnyard2/barnyard2.SlackBuild19
-rw-r--r--network/barnyard2/barnyard2.info2
-rw-r--r--network/barnyard2/slack-desc2
-rw-r--r--network/barrier/barrier-2.4.0-cert-creation.patch11
-rw-r--r--network/barrier/barrier-2.4.0-gcc-13.patch38
-rw-r--r--network/barrier/barrier-2.4.0-includes.patch39
-rw-r--r--network/barrier/barrier.SlackBuild36
-rw-r--r--network/barrier/barrier.info12
-rw-r--r--network/base/README6
-rw-r--r--network/base/README.SLACKWARE48
-rw-r--r--network/base/base.SlackBuild58
-rw-r--r--network/base/base.info10
-rw-r--r--network/base/slack-desc19
-rw-r--r--network/basilisk-bin/basilisk-bin.SlackBuild22
-rw-r--r--network/basilisk-bin/basilisk-bin.info6
-rw-r--r--network/basilisk/README19
-rw-r--r--network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gzbin5869 -> 0 bytes
-rw-r--r--network/basilisk/basilisk.SlackBuild251
-rw-r--r--network/basilisk/basilisk.desktop13
-rw-r--r--network/basilisk/basilisk.info12
-rw-r--r--network/basilisk/doinst.sh9
-rw-r--r--network/basilisk/glibc-2.30+.patch43
-rw-r--r--network/basilisk/slack-desc19
-rw-r--r--network/beegfs/README32
-rw-r--r--network/beegfs/beegfs.SlackBuild180
-rw-r--r--network/beegfs/beegfs.info10
-rw-r--r--network/beegfs/doinst.sh13
-rw-r--r--network/beegfs/slack-desc19
-rw-r--r--network/bip/README13
-rw-r--r--network/bip/bip.SlackBuild33
-rw-r--r--network/bip/bip.info6
-rw-r--r--network/bird/README6
-rw-r--r--network/bird/bird.SlackBuild79
-rw-r--r--network/bird/bird.info10
-rw-r--r--network/bird/doinst.sh25
-rw-r--r--network/bird/gpl-2.0.txt339
-rw-r--r--network/bird/slack-desc19
-rw-r--r--network/bitchx/BitchX.desktop10
-rw-r--r--network/bitchx/README15
-rw-r--r--network/bitchx/bitchx.SlackBuild119
-rw-r--r--network/bitchx/bitchx.info10
-rw-r--r--network/bitchx/doinst.sh9
-rw-r--r--network/bitchx/slack-desc19
-rw-r--r--network/bitcoin/README4
-rw-r--r--network/bitcoin/bitcoin.SlackBuild32
-rw-r--r--network/bitcoin/bitcoin.info8
-rw-r--r--network/bitlbee-discord/bitlbee-discord.SlackBuild16
-rw-r--r--network/bitlbee-steam/bitlbee-steam.SlackBuild16
-rw-r--r--network/bitlbee/README29
-rw-r--r--network/bitlbee/bitlbee.SlackBuild22
-rw-r--r--network/bluejeans/bluejeans.SlackBuild31
-rw-r--r--network/bluejeans/bluejeans.info6
-rw-r--r--network/bmon/README17
-rw-r--r--network/bmon/bmon.SlackBuild22
-rw-r--r--network/bmon/bmon.info2
-rw-r--r--network/bollux/bollux.SlackBuild66
-rw-r--r--network/bollux/bollux.info2
-rw-r--r--network/bombadillo/bombadillo.SlackBuild16
-rw-r--r--network/bombadillo/doinst.sh2
-rw-r--r--network/bombadillo/slack-desc2
-rw-r--r--network/bottle/README4
-rw-r--r--network/bottle/bottle.SlackBuild19
-rw-r--r--network/bottle/bottle.info6
-rw-r--r--network/boxcryptor/README7
-rw-r--r--network/boxcryptor/boxcryptor.SlackBuild92
-rw-r--r--network/boxcryptor/boxcryptor.info10
-rw-r--r--network/boxcryptor/slack-desc19
-rw-r--r--network/bozohttpd/bozohttpd.SlackBuild34
-rw-r--r--network/bozohttpd/bozohttpd.info10
-rw-r--r--network/bozohttpd/fix_warnings.diff45
-rw-r--r--network/bpfmon/README6
-rw-r--r--network/bpfmon/bpfmon.SlackBuild98
-rw-r--r--network/bpfmon/bpfmon.info10
-rw-r--r--network/bpfmon/slack-desc19
-rw-r--r--network/brave-browser/README7
-rw-r--r--network/brave-browser/brave-browser.SlackBuild40
-rw-r--r--network/brave-browser/brave-browser.info8
-rw-r--r--network/brave-browser/slack-desc4
-rw-r--r--network/broadcom-sta/README35
-rw-r--r--network/broadcom-sta/broadcom-sta.SlackBuild134
-rw-r--r--network/broadcom-sta/broadcom-sta.info14
-rw-r--r--network/broadcom-sta/patches/009-fix_mac_profile_discrepancy.patch14
-rw-r--r--network/broadcom-sta/patches/04-user_ioctl.patch22
-rw-r--r--network/broadcom-sta/patches/13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash.patch19
-rw-r--r--network/broadcom-sta/patches/14-rdtscl.patch22
-rw-r--r--network/broadcom-sta/patches/15-linux47.patch122
-rw-r--r--network/broadcom-sta/patches/16-linux48.patch66
-rw-r--r--network/broadcom-sta/patches/17-fix-kernel-warnings.patch172
-rw-r--r--network/broadcom-sta/patches/18-linux411.patch49
-rw-r--r--network/broadcom-sta/patches/19-linux412.patch75
-rw-r--r--network/broadcom-sta/patches/20-linux414.patch38
-rw-r--r--network/broadcom-sta/patches/21-linux415.patch67
-rw-r--r--network/broadcom-sta/patches/22-linux56.patch90
-rw-r--r--network/broadcom-sta/patches/23-get-rid-of-get_fs-set_fs-calls.patch207
-rw-r--r--network/broadcom-sta/slack-desc19
-rw-r--r--network/broadcom-wl/README40
-rw-r--r--network/broadcom-wl/b43_blacklist.conf.new (renamed from network/broadcom-sta/b43_blacklist.conf.new)0
-rw-r--r--network/broadcom-wl/broadcom-wl.SlackBuild128
-rw-r--r--network/broadcom-wl/broadcom-wl.info14
-rw-r--r--network/broadcom-wl/doinst.sh.gzbin0 -> 363 bytes
-rw-r--r--network/broadcom-wl/patches/000-remove-time_date-macros.patch (renamed from network/broadcom-sta/patches/05-remove-time-and-date-macros.patch)0
-rw-r--r--network/broadcom-wl/patches/001-null-pointer-fix.patch27
-rw-r--r--network/broadcom-wl/patches/002-rdtscl.patch22
-rw-r--r--network/broadcom-wl/patches/003-linux47.patch109
-rw-r--r--network/broadcom-wl/patches/004-linux48.patch64
-rw-r--r--network/broadcom-wl/patches/005-debian-fix-kernel-warnings.patch161
-rw-r--r--network/broadcom-wl/patches/006-linux411.patch27
-rw-r--r--network/broadcom-wl/patches/007-linux412.patch78
-rw-r--r--network/broadcom-wl/patches/008-linux415.patch46
-rw-r--r--network/broadcom-wl/patches/009-fix_mac_profile_discrepancy.patch14
-rw-r--r--network/broadcom-wl/patches/010-linux56.patch55
-rw-r--r--network/broadcom-wl/patches/011-linux59.patch211
-rw-r--r--network/broadcom-wl/patches/012-linux517.patch80
-rw-r--r--network/broadcom-wl/patches/013-linux518.patch71
-rw-r--r--network/broadcom-wl/patches/014-linux414.patch37
-rw-r--r--network/broadcom-wl/patches/015-linux600.patch31
-rw-r--r--network/broadcom-wl/patches/016-linux601.patch90
-rw-r--r--network/broadcom-wl/slack-desc19
-rw-r--r--network/bsflite/bsflite.SlackBuild22
-rw-r--r--network/btpd/README20
-rw-r--r--network/btpd/btpd.SlackBuild29
-rw-r--r--network/bwm-ng/bwm-ng.SlackBuild18
-rw-r--r--network/bwm-ng/fix_gcc7_inline.patch40
-rw-r--r--network/c-toxcore/README22
-rw-r--r--network/c-toxcore/c-toxcore.SlackBuild22
-rw-r--r--network/c-toxcore/c-toxcore.info2
-rw-r--r--network/cacti-spine/cacti-spine.SlackBuild16
-rw-r--r--network/cacti/README10
-rw-r--r--network/cacti/cacti.SlackBuild16
-rw-r--r--network/cacti/cacti.info2
-rw-r--r--network/cadaver/README6
-rw-r--r--network/cadaver/cadaver.SlackBuild16
-rw-r--r--network/canto/canto.SlackBuild18
-rw-r--r--network/canto/canto.info2
-rw-r--r--network/castor/README6
-rw-r--r--network/castor/castor.SlackBuild172
-rw-r--r--network/castor/castor.info226
-rw-r--r--network/castor/doinst.sh (renamed from network/quassel-qt5/doinst.sh)0
-rw-r--r--network/castor/slack-desc19
-rw-r--r--network/catgirl/README4
-rw-r--r--network/catgirl/catgirl.SlackBuild106
-rw-r--r--network/catgirl/catgirl.info10
-rw-r--r--network/catgirl/slack-desc19
-rw-r--r--network/cclive/README8
-rw-r--r--network/cclive/cclive.SlackBuild83
-rw-r--r--network/cclive/cclive.info10
-rw-r--r--network/cclive/slack-desc19
-rw-r--r--network/ccnet/ccnet.SlackBuild30
-rw-r--r--network/ccnet/ccnet.info8
-rw-r--r--network/cgterm/cgterm.SlackBuild22
-rw-r--r--network/cherokee/README4
-rw-r--r--network/cherokee/cherokee.SlackBuild30
-rw-r--r--network/cherokee/cherokee.info6
-rw-r--r--network/choqok/README12
-rw-r--r--network/choqok/choqok.SlackBuild103
-rw-r--r--network/choqok/choqok.info10
-rw-r--r--network/choqok/doinst.sh (renamed from network/qutebrowser-tox/doinst.sh)0
-rw-r--r--network/choqok/slack-desc19
-rw-r--r--network/chrony/chrony.SlackBuild18
-rw-r--r--network/chrony/chrony.info6
-rw-r--r--network/cicb/README8
-rw-r--r--network/cicb/cicb.SlackBuild27
-rw-r--r--network/cicb/cicb.info8
-rw-r--r--network/cinny-desktop/README11
-rw-r--r--network/cinny-desktop/cinny-desktop.SlackBuild96
-rw-r--r--network/cinny-desktop/cinny-desktop.info10
-rw-r--r--network/cinny-desktop/doinst.sh8
-rw-r--r--network/cinny-desktop/slack-desc19
-rw-r--r--network/ckermit/ckermit.SlackBuild32
-rw-r--r--network/clamav-unofficial-sigs/README30
-rw-r--r--network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild16
-rw-r--r--network/clamav-unofficial-sigs/clamav-unofficial-sigs.info2
-rw-r--r--network/claws-mail/README14
-rw-r--r--network/claws-mail/claws-mail.SlackBuild20
-rw-r--r--network/claws-mail/claws-mail.info6
-rw-r--r--network/claws-mail/slack-desc2
-rw-r--r--network/clipgrab/README8
-rw-r--r--network/clipgrab/clipgrab.SlackBuild34
-rw-r--r--network/clipgrab/clipgrab.info8
-rw-r--r--network/clive/clive.SlackBuild16
-rw-r--r--network/clusterit/README3
-rw-r--r--network/clusterit/clusterit.SlackBuild91
-rw-r--r--network/clusterit/clusterit.info10
-rw-r--r--network/clusterit/slack-desc19
-rw-r--r--network/cmdiag/README9
-rw-r--r--network/cmdiag/cmdiag.SlackBuild16
-rw-r--r--network/cmst/README15
-rw-r--r--network/cmst/cmst.SlackBuild46
-rw-r--r--network/cmst/cmst.info14
-rw-r--r--network/cmst/doinst.sh6
-rw-r--r--network/cmst/slack-desc18
-rw-r--r--network/cni-plugins/README58
-rw-r--r--network/cni-plugins/cni-plugins.SlackBuild20
-rw-r--r--network/cni-plugins/cni-plugins.info6
-rw-r--r--network/comgt/README7
-rw-r--r--network/comgt/comgt.SlackBuild22
-rw-r--r--network/conkeror/conkeror.SlackBuild16
-rw-r--r--network/connman/README31
-rw-r--r--network/connman/allow_group_network.diff13
-rw-r--r--network/connman/connman.SlackBuild91
-rw-r--r--network/connman/connman.info12
-rw-r--r--network/connman/slack-desc18
-rw-r--r--network/corebird/README2
-rw-r--r--network/corebird/corebird.SlackBuild98
-rw-r--r--network/corebird/corebird.info10
-rw-r--r--network/corebird/doinst.sh15
-rw-r--r--network/corebird/slack-desc19
-rw-r--r--network/corkscrew/README13
-rw-r--r--network/corkscrew/corkscrew.SlackBuild16
-rw-r--r--network/coturn/coturn.SlackBuild43
-rw-r--r--network/coturn/coturn.info6
-rw-r--r--network/courier-authlib/courier-authlib.SlackBuild23
-rw-r--r--network/courier-authlib/courier-authlib.info2
-rw-r--r--network/courier-imap/courier-imap.SlackBuild16
-rw-r--r--network/courier-imap/courier-imap.info2
-rw-r--r--network/courier-unicode/README2
-rw-r--r--network/courier-unicode/courier-unicode.SlackBuild18
-rw-r--r--network/courier-unicode/courier-unicode.info6
-rw-r--r--network/cowpatty/cowpatty.SlackBuild16
-rw-r--r--network/cryptcat-unix/cryptcat-unix.SlackBuild16
-rw-r--r--network/csync/README11
-rw-r--r--network/csync/csync.SlackBuild32
-rw-r--r--network/csync/csync.info4
-rw-r--r--network/ctorrent/README25
-rw-r--r--network/ctorrent/ctorrent.SlackBuild16
-rw-r--r--network/curl-quic/README13
-rw-r--r--network/curl-quic/curl-quic.SlackBuild146
-rw-r--r--network/curl-quic/curl-quic.info10
-rw-r--r--network/curl-quic/slack-desc19
-rw-r--r--network/cyrus-imapd/cyrus-imapd.SlackBuild22
-rw-r--r--network/cyrus-imapd/cyrus-imapd.info8
-rw-r--r--network/dante/README26
-rw-r--r--network/dante/dante.SlackBuild32
-rw-r--r--network/dante/dante.info8
-rw-r--r--network/darkhttpd/README4
-rw-r--r--network/darkhttpd/darkhttpd.SlackBuild18
-rw-r--r--network/darkhttpd/darkhttpd.info6
-rw-r--r--network/darkstat/README6
-rw-r--r--network/darkstat/darkstat.SlackBuild31
-rw-r--r--network/darkstat/darkstat.info6
-rw-r--r--network/davmail/davmail.SlackBuild20
-rw-r--r--network/davmail/davmail.info8
-rw-r--r--network/davmail/davmail.sh15
-rw-r--r--network/dbmail/README21
-rw-r--r--network/dbmail/create_tables.mysql467
-rw-r--r--network/dbmail/dbmail.SlackBuild120
-rw-r--r--network/dbmail/dbmail.conf426
-rw-r--r--network/dbmail/dbmail.cron7
-rw-r--r--network/dbmail/dbmail.info10
-rw-r--r--network/dbmail/dbmail.logrotate9
-rw-r--r--network/dbmail/doinst.sh29
-rw-r--r--network/dbmail/rc.dbmail-httpd.new54
-rw-r--r--network/dbmail/rc.dbmail-imapd.new54
-rw-r--r--network/dbmail/rc.dbmail-lmtpd.new54
-rw-r--r--network/dbmail/rc.dbmail-pop3d.new54
-rw-r--r--network/dbmail/slack-desc19
-rw-r--r--network/dclib/README4
-rw-r--r--network/dclib/dclib-0.3.23.patch42
-rw-r--r--network/dclib/dclib.SlackBuild99
-rw-r--r--network/dclib/dclib.info10
-rw-r--r--network/dclib/slack-desc19
-rw-r--r--network/ddclient/README1
-rw-r--r--network/ddclient/ddclient.SlackBuild63
-rw-r--r--network/ddclient/ddclient.info8
-rw-r--r--network/ddgr/README15
-rw-r--r--network/ddgr/ddgr.SlackBuild26
-rw-r--r--network/ddgr/ddgr.info8
-rw-r--r--network/deis/README7
-rw-r--r--network/deis/deis.SlackBuild88
-rw-r--r--network/deis/deis.info10
-rw-r--r--network/deis/slack-desc19
-rw-r--r--network/deltachat/README7
-rw-r--r--network/deltachat/deltachat.SlackBuild97
-rw-r--r--network/deltachat/deltachat.desktop10
-rw-r--r--network/deltachat/deltachat.info10
-rw-r--r--network/deltachat/doinst.sh (renamed from network/BitchX/doinst.sh)0
-rw-r--r--network/deltachat/slack-desc19
-rw-r--r--network/deluge/README6
-rw-r--r--network/deluge/deluge.SlackBuild22
-rw-r--r--network/deluge/deluge.info8
-rw-r--r--network/dhcping/dhcping.SlackBuild16
-rw-r--r--network/dianara/dianara.SlackBuild26
-rw-r--r--network/dianara/dianara.info6
-rw-r--r--network/dillo/README5
-rw-r--r--network/dillo/dillo-3.0.5-fno-common.patch100
-rw-r--r--network/dillo/dillo-3.0.5-openssl-1.1.patch26
-rw-r--r--network/dillo/dillo.SlackBuild28
-rw-r--r--network/dino/README11
-rw-r--r--network/dino/dino.SlackBuild125
-rw-r--r--network/dino/dino.info10
-rw-r--r--network/dino/doinst.sh (renamed from network/fwbuilder/doinst.sh)0
-rw-r--r--network/dino/slack-desc19
-rw-r--r--network/dirb/README23
-rw-r--r--network/dirb/dirb.SlackBuild20
-rw-r--r--network/discord/README6
-rw-r--r--network/discord/discord.SlackBuild22
-rw-r--r--network/discord/discord.info8
-rw-r--r--network/dissenter-browser/README9
-rw-r--r--network/dissenter-browser/dissenter-browser.SlackBuild90
-rw-r--r--network/dissenter-browser/dissenter-browser.info10
-rw-r--r--network/dissenter-browser/doinst.sh7
-rw-r--r--network/dissenter-browser/slack-desc19
-rw-r--r--network/dkimproxy/dkimproxy.SlackBuild28
-rw-r--r--network/dkimproxy/dkimproxy.info6
-rw-r--r--network/dma/README11
-rw-r--r--network/dma/dma.SlackBuild16
-rw-r--r--network/dmitry/README10
-rw-r--r--network/dmitry/dmitry.SlackBuild18
-rw-r--r--network/dnscrypt-proxy/README20
-rw-r--r--network/dnscrypt-proxy/README.Slackware74
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild97
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.default30
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.info18
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.toml353
-rw-r--r--network/dnscrypt-proxy/dnsmasq.conf21
-rw-r--r--network/dnscrypt-proxy/doinst.sh41
-rw-r--r--network/dnscrypt-proxy/named.conf153
-rw-r--r--network/dnscrypt-proxy/rc.dnscrypt-proxy182
-rw-r--r--network/dnscrypt-proxy/slack-desc2
-rw-r--r--network/dnscrypt-wrapper/README4
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild16
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.info2
-rw-r--r--network/dnsmap/README10
-rw-r--r--network/dnsmap/dnsmap.SlackBuild16
-rw-r--r--network/dnsproxy-bin/README21
-rw-r--r--network/dnsproxy-bin/dnsproxy-bin.SlackBuild89
-rw-r--r--network/dnsproxy-bin/dnsproxy-bin.info14
-rw-r--r--network/dnsproxy-bin/doinst.sh23
-rw-r--r--network/dnsproxy-bin/rc.dnsproxy62
-rw-r--r--network/dnsproxy-bin/slack-desc19
-rw-r--r--network/dnstop/README15
-rw-r--r--network/dnstop/dnstop.SlackBuild22
-rw-r--r--network/dnstracer/dnstracer.SlackBuild16
-rw-r--r--network/dobbscoin/README8
-rw-r--r--network/dobbscoin/dobbscoin-qt.desktop10
-rw-r--r--network/dobbscoin/dobbscoin.SlackBuild123
-rw-r--r--network/dobbscoin/dobbscoin.info10
-rw-r--r--network/dobbscoin/doinst.sh3
-rw-r--r--network/dobbscoin/miniupnpc-1.9-api.patch29
-rw-r--r--network/dobbscoin/slack-desc19
-rw-r--r--network/docsis/docsis.SlackBuild20
-rw-r--r--network/dog/README5
-rw-r--r--network/dog/config.toml9
-rw-r--r--network/dog/dog.1268
-rw-r--r--network/dog/dog.SlackBuild104
-rw-r--r--network/dog/dog.info12
-rw-r--r--network/dog/slack-desc19
-rw-r--r--network/dogecoin/LICENSE339
-rw-r--r--network/dogecoin/README12
-rw-r--r--network/dogecoin/dogecoin.SlackBuild145
-rw-r--r--network/dogecoin/dogecoin.info10
-rw-r--r--network/dogecoin/doinst.sh3
-rw-r--r--network/dogecoin/slack-desc19
-rw-r--r--network/dokuwiki/dokuwiki.SlackBuild27
-rw-r--r--network/dokuwiki/dokuwiki.info10
-rw-r--r--network/dothost/README2
-rw-r--r--network/dothost/dothost.SlackBuild56
-rw-r--r--network/dothost/dothost.info4
-rw-r--r--network/dothost/slack-desc2
-rw-r--r--network/dovecot-pgsql/README4
-rw-r--r--network/dovecot-pgsql/dovecot-pgsql.SlackBuild123
-rw-r--r--network/dovecot-pgsql/dovecot-pgsql.info10
-rw-r--r--network/dovecot-pgsql/slack-desc19
-rw-r--r--network/dovecot-pigeonhole/README27
-rw-r--r--network/dovecot-pigeonhole/dovecot-pigeonhole.SlackBuild20
-rw-r--r--network/dovecot-pigeonhole/dovecot-pigeonhole.info8
-rw-r--r--network/dovecot/README27
-rw-r--r--network/dovecot/doinst.sh26
-rw-r--r--network/dovecot/dovecot.SlackBuild133
-rw-r--r--network/dovecot/dovecot.info10
-rw-r--r--network/dovecot/rc.dovecot55
-rw-r--r--network/dovecot/slack-desc19
-rw-r--r--network/drawterm/drawterm.SlackBuild22
-rw-r--r--network/driftnet/README9
-rw-r--r--network/driftnet/driftnet.SlackBuild16
-rw-r--r--network/dropbear/README25
-rw-r--r--network/dropbear/dropbear.SlackBuild54
-rw-r--r--network/dropbear/dropbear.info6
-rw-r--r--network/dropbox/dropbox.SlackBuild17
-rw-r--r--network/dropbox/dropbox.desktop2
-rw-r--r--network/dropbox/dropbox.info10
-rw-r--r--network/dsniff/README15
-rw-r--r--network/dsniff/dsniff.SlackBuild25
-rw-r--r--network/dsniff/dsniff_2.4b1+debian-18.diff.gzbin44819 -> 0 bytes
-rw-r--r--network/dsniff/patches/01_time.h.patch26
-rw-r--r--network/dsniff/patches/02_mailsnarf_corrupt.patch17
-rw-r--r--network/dsniff/patches/03_pcap_read_dump.patch534
-rw-r--r--network/dsniff/patches/04_multiple_intf.patch56
-rw-r--r--network/dsniff/patches/05_amd64_fix.patch221
-rw-r--r--network/dsniff/patches/06_urlsnarf_zeropad.patch17
-rw-r--r--network/dsniff/patches/07_libnet_1.1.patch906
-rw-r--r--network/dsniff/patches/08_openssl-0.9.8.patch15
-rw-r--r--network/dsniff/patches/09_sysconf_clocks.patch23
-rw-r--r--network/dsniff/patches/10_urlsnarf_escape.patch89
-rw-r--r--network/dsniff/patches/11_string_header.patch166
-rw-r--r--network/dsniff/patches/12_arpa_inet_header.patch65
-rw-r--r--network/dsniff/patches/13_pop_with_version.patch30
-rw-r--r--network/dsniff/patches/14_obsolete_time.patch36
-rw-r--r--network/dsniff/patches/15_checksum_libnids.patch98
-rw-r--r--network/dsniff/patches/16_TDS_decoder.patch20
-rw-r--r--network/dsniff/patches/17_checksum.patch29
-rw-r--r--network/dsniff/patches/18_sshcrypto.patch17
-rw-r--r--network/dsniff/patches/19_rewrite-and-modernize-POP-decoder.patch132
-rw-r--r--network/dsniff/patches/20_debian_dirs.patch62
-rw-r--r--network/dsniff/patches/21_msgsnarf_segfault.patch15
-rw-r--r--network/dsniff/patches/22_handlepp.patch17
-rw-r--r--network/dsniff/patches/23_urlsnarf_timestamp.patch82
-rw-r--r--network/dsniff/patches/24_Fix-OpenSSL1.1.0-Build.patch202
-rw-r--r--network/dsniff/patches/25_fix-spelling-errors.patch17
-rw-r--r--network/dsniff/patches/26_arpspoof-add-r-switch-to-poison-both-directions.patch170
-rw-r--r--network/dsniff/patches/27_arpspoof-allow-use-of-of-multiple-targets.patch194
-rw-r--r--network/dsniff/patches/28_arpspoof-allow-selection-of-source-hw-address.patch230
-rw-r--r--network/dsniff/patches/29_libnet_name2addr4.patch144
-rw-r--r--network/dsniff/patches/30_pntohl_shift.patch19
-rw-r--r--network/dsniff/patches/31_sysconf_clocks.patch31
-rw-r--r--network/dsniff/patches/32_rpc_segfault.patch19
-rw-r--r--network/dsniff/patches/33_sshcrypto_DES.patch65
-rw-r--r--network/dsniff/patches/34_fix-parallel-FTBFS.patch109
-rw-r--r--network/dsniff/patches/35_Add_CPPFLAGS.patch50
-rw-r--r--network/dsniff/patches/36_implicit_declarations.patch59
-rw-r--r--network/dsniff/patches/37_fix-lib-and-share-dirs.patch14
-rw-r--r--network/dsniff/patches/38_fix-pcap_init.patch63
-rw-r--r--network/dsniff/patches/39_libtirpc.patch51
-rw-r--r--network/dublin-traceroute/dublin-traceroute.SlackBuild32
-rw-r--r--network/dukto/dukto.SlackBuild16
-rw-r--r--network/dukto/dukto.info2
-rw-r--r--network/dwb/README3
-rw-r--r--network/dwb/doinst.sh4
-rw-r--r--network/dwb/dwb.SlackBuild103
-rw-r--r--network/dwb/dwb.info10
-rw-r--r--network/dwb/slack-desc19
-rw-r--r--network/e2guardian/e2guardian.SlackBuild16
-rw-r--r--network/easyrsa/README10
-rw-r--r--network/easyrsa/easyrsa.SlackBuild18
-rw-r--r--network/easyrsa/easyrsa.info6
-rw-r--r--network/efax-gtk/README19
-rw-r--r--network/efax-gtk/efax-gtk.SlackBuild24
-rw-r--r--network/efax/README28
-rw-r--r--network/efax/efax.SlackBuild26
-rw-r--r--network/efax/efax.info2
-rw-r--r--network/eiskaltdcpp/README11
-rw-r--r--network/eiskaltdcpp/doinst.sh7
-rw-r--r--network/eiskaltdcpp/eiskaltdcpp.SlackBuild18
-rw-r--r--network/eiskaltdcpp/eiskaltdcpp.info8
-rw-r--r--network/ejabberd-bin/README13
-rw-r--r--network/ejabberd-bin/README.SBo16
-rw-r--r--network/ejabberd-bin/doinst.sh25
-rw-r--r--network/ejabberd-bin/ejabberd-bin.SlackBuild124
-rw-r--r--network/ejabberd-bin/ejabberd-bin.info16
-rw-r--r--network/ejabberd-bin/rc.ejabberd45
-rw-r--r--network/ejabberd-bin/slack-desc19
-rw-r--r--network/ejabberd/README23
-rw-r--r--network/ejabberd/README.SBo16
-rw-r--r--network/ejabberd/doinst.sh25
-rw-r--r--network/ejabberd/ejabberd.SlackBuild172
-rw-r--r--network/ejabberd/ejabberd.info64
-rw-r--r--network/ejabberd/rc.ejabberd57
-rw-r--r--network/ejabberd/slack-desc19
-rw-r--r--network/ekiga/README14
-rw-r--r--network/ekiga/doinst.sh19
-rw-r--r--network/ekiga/ekiga.SlackBuild152
-rw-r--r--network/ekiga/ekiga.info10
-rw-r--r--network/ekiga/slack-desc19
-rw-r--r--network/element-desktop/README12
-rw-r--r--network/element-desktop/doinst.sh12
-rw-r--r--network/element-desktop/element-desktop.SlackBuild93
-rw-r--r--network/element-desktop/element-desktop.info10
-rw-r--r--network/element-desktop/slack-desc19
-rw-r--r--network/elemental-ircd/README36
-rw-r--r--network/elemental-ircd/doinst.sh39
-rw-r--r--network/elemental-ircd/elemental-ircd.SlackBuild144
-rw-r--r--network/elemental-ircd/elemental-ircd.info10
-rw-r--r--network/elemental-ircd/elemental-ircd.logrotate15
-rw-r--r--network/elemental-ircd/rc.elemental-ircd53
-rw-r--r--network/elemental-ircd/slack-desc19
-rw-r--r--network/elemental-ircd/slackware.conf609
-rw-r--r--network/elinks/README46
-rw-r--r--network/elinks/elinks.SlackBuild85
-rw-r--r--network/elinks/elinks.info10
-rw-r--r--network/elinks/option-patches/0010-disable-suspend-pause.patch19
-rw-r--r--network/elinks/option-patches/0020-no-connect-by-default.patch62
-rw-r--r--network/elinks/patches/0004-ssl_cert_verify.patch159
-rw-r--r--network/elinks/patches/0010-force-text-wrap.patch26
-rw-r--r--network/elinks/patches/0020-gopher-html-links.patch (renamed from network/elinks/patches/0001-gopher_html_links.patch)0
-rw-r--r--network/elinks/patches/0030-gopher-index-queries.patch (renamed from network/elinks/patches/0002-gopher_index_queries.patch)0
-rw-r--r--network/elinks/patches/0040-gopher-directory-links.patch (renamed from network/elinks/patches/0003-gopher_directory_links.patch)0
-rw-r--r--network/elinks/patches/0050-gopher-newlines-tabs-entity.patch (renamed from network/elinks/patches/0005-gopher_newlines_tabs_entity.patch)0
-rw-r--r--network/elinks/patches/0060-gopher-indexes-nocr.patch (renamed from network/elinks/patches/0006-gopher-indexes_nocr.patch)0
-rw-r--r--network/elinks/patches/0070-gopher-move-null.patch (renamed from network/elinks/patches/0007-gopher-move_null.patch)0
-rw-r--r--network/elinks/patches/0080-gopher-html-entities.patch (renamed from network/elinks/patches/0008-gopher-html-entities.patch)0
-rw-r--r--network/elinks/patches/0090-fix-lib-path.patch (renamed from network/elinks/patches/0010-fix-lib-path.patch)0
-rw-r--r--network/elinks/slack-desc2
-rw-r--r--network/emacs-w3m/README5
-rw-r--r--network/emacs-w3m/emacs-w3m.SlackBuild87
-rw-r--r--network/emacs-w3m/emacs-w3m.info10
-rw-r--r--network/emacs-w3m/slack-desc19
-rw-r--r--network/emailrelay/README13
-rw-r--r--network/emailrelay/doinst.sh1
-rw-r--r--network/emailrelay/emailrelay.SlackBuild24
-rw-r--r--network/emailrelay/emailrelay.info8
-rw-r--r--network/emailrelay/slack-desc2
-rw-r--r--network/emesene/README3
-rw-r--r--network/emesene/emesene.SlackBuild65
-rw-r--r--network/emesene/emesene.desktop10
-rw-r--r--network/emesene/emesene.info10
-rw-r--r--network/emesene/slack-desc19
-rw-r--r--network/enet/README8
-rw-r--r--network/enet/enet.SlackBuild22
-rw-r--r--network/enet/enet.info2
-rw-r--r--network/epiphany/README5
-rw-r--r--network/epiphany/doinst.sh17
-rw-r--r--network/epiphany/epiphany.SlackBuild114
-rw-r--r--network/epiphany/epiphany.info10
-rw-r--r--network/epiphany/slack-desc19
-rw-r--r--network/et/et.SlackBuild22
-rw-r--r--network/et/et.info8
-rw-r--r--network/etcd/README16
-rw-r--r--network/etcd/README.SBo16
-rw-r--r--network/etcd/doinst.sh27
-rw-r--r--network/etcd/etcd.SlackBuild106
-rw-r--r--network/etcd/etcd.info10
-rw-r--r--network/etcd/etcd.logrotate7
-rw-r--r--network/etcd/rc.etcd37
-rw-r--r--network/etcd/slack-desc19
-rw-r--r--network/etherape/README13
-rw-r--r--network/etherape/etherape.SlackBuild20
-rw-r--r--network/etherape/etherape.info8
-rw-r--r--network/etherpad-lite/README6
-rw-r--r--network/etherpad-lite/etherpad-lite.SlackBuild16
-rw-r--r--network/etherpoke/etherpoke.SlackBuild29
-rw-r--r--network/etherpoke/etherpoke.info6
-rw-r--r--network/etherpoke/slack-desc2
-rw-r--r--network/ettercap-NG/README11
-rw-r--r--network/ettercap-NG/doinst.sh19
-rw-r--r--network/ettercap-NG/ettercap-NG.SlackBuild111
-rw-r--r--network/ettercap-NG/ettercap-NG.info10
-rw-r--r--network/ettercap-NG/ettercap-NG_configure.patch11
-rw-r--r--network/ettercap-NG/ettercap.desktop7
-rw-r--r--network/ettercap-NG/slack-desc19
-rw-r--r--network/ettercap/README16
-rw-r--r--network/ettercap/curl-8.patch34
-rw-r--r--network/ettercap/ettercap.SlackBuild18
-rw-r--r--network/ettercap/ettercap.info2
-rw-r--r--network/exim/README11
-rw-r--r--network/exim/README.SBo4
-rw-r--r--network/exim/contrib/exim.cron2
-rw-r--r--network/exim/contrib/rc.exim2
-rw-r--r--network/exim/exim.Makefile130
-rw-r--r--network/exim/exim.SlackBuild33
-rw-r--r--network/exim/exim.info8
-rw-r--r--network/fail2ban/README.SBo10
-rw-r--r--network/fail2ban/config/paths-slackware.conf4
-rw-r--r--network/fail2ban/doinst.sh11
-rw-r--r--network/fail2ban/fail2ban.SlackBuild52
-rw-r--r--network/fail2ban/fail2ban.info10
-rw-r--r--network/fail2ban/patches/jail.conf.patch11
-rw-r--r--network/falkon/README11
-rw-r--r--network/falkon/falkon.SlackBuild100
-rw-r--r--network/falkon/falkon.info10
-rw-r--r--network/falkon/slack-desc19
-rw-r--r--network/fcgiwrap/fcgiwrap.SlackBuild24
-rw-r--r--network/fcgiwrap/fcgiwrap.info2
-rw-r--r--network/fdm/README23
-rw-r--r--network/fdm/fdm.SlackBuild24
-rw-r--r--network/fdm/fdm.info6
-rw-r--r--network/fdns/README12
-rw-r--r--network/fdns/fdns.SlackBuild109
-rw-r--r--network/fdns/fdns.info10
-rw-r--r--network/fdns/slack-desc19
-rw-r--r--network/feather/README27
-rw-r--r--network/feather/doinst.sh10
-rw-r--r--network/feather/feather.SlackBuild117
-rw-r--r--network/feather/feather.info10
-rw-r--r--network/feather/slack-desc19
-rw-r--r--network/felinks/felinks.SlackBuild41
-rw-r--r--network/felinks/felinks.info10
-rw-r--r--network/felinks/patches/0001-gopher_html_links.patch37
-rw-r--r--network/felinks/patches/0002-gopher_index_queries.patch113
-rw-r--r--network/felinks/patches/0003-gopher_directory_links.patch26
-rw-r--r--network/felinks/patches/0005-gopher_newlines_tabs_entity-2.patch50
-rw-r--r--network/felinks/patches/0006-gopher-indexes_nocr.patch19
-rw-r--r--network/felinks/patches/0008-gopher-html-entities.patch47
-rw-r--r--network/ferm/ferm.SlackBuild16
-rw-r--r--network/filezilla/README10
-rw-r--r--network/filezilla/filezilla.SlackBuild24
-rw-r--r--network/filezilla/filezilla.info8
-rw-r--r--network/filezilla/interface_Mainfrm_h_include_list.patch12
-rw-r--r--network/firehol/README36
-rw-r--r--network/firehol/firehol.SlackBuild16
-rw-r--r--network/firewalld/doinst.sh7
-rw-r--r--network/firewalld/firewalld.SlackBuild66
-rw-r--r--network/firewalld/firewalld.info10
-rw-r--r--network/firewalld/init.patch5
-rw-r--r--network/firewalld/rc.FireWallD56
-rw-r--r--network/flexget/flexget.SlackBuild46
-rw-r--r--network/flexget/flexget.info12
-rw-r--r--network/floorp-bin/README8
-rw-r--r--network/floorp-bin/doinst.sh (renamed from network/rekonq/doinst.sh)0
-rw-r--r--network/floorp-bin/floorp-bin.SlackBuild111
-rw-r--r--network/floorp-bin/floorp-bin.info10
-rw-r--r--network/floorp-bin/floorp.desktop273
-rw-r--r--network/floorp-bin/slack-desc19
-rw-r--r--network/flvstreamer/README16
-rw-r--r--network/flvstreamer/flvstreamer.SlackBuild22
-rw-r--r--network/fping/README8
-rw-r--r--network/fping/fping.SlackBuild22
-rw-r--r--network/fqterm/fqterm.SlackBuild48
-rw-r--r--network/fqterm/fqterm.info8
-rw-r--r--network/franz/franz.SlackBuild17
-rw-r--r--network/franz/franz.info6
-rw-r--r--network/freedownloadmanager/README3
-rw-r--r--network/freedownloadmanager/freedownloadmanager.SlackBuild18
-rw-r--r--network/freedownloadmanager/freedownloadmanager.info4
-rw-r--r--network/freedownloadmanager/slack-desc2
-rw-r--r--network/freeradius-server/README13
-rw-r--r--network/freeradius-server/freeradius-server.SlackBuild30
-rw-r--r--network/freeradius-server/freeradius-server.info6
-rw-r--r--network/freerapid/freerapid.SlackBuild16
-rw-r--r--network/freerapid/freerapid.info2
-rw-r--r--network/freerdp/README6
-rw-r--r--network/freerdp/freerdp.SlackBuild117
-rw-r--r--network/freerdp/freerdp.info10
-rw-r--r--network/freerdp/slack-desc19
-rw-r--r--network/frostwire/frostwire.SlackBuild16
-rw-r--r--network/frostwire/frostwire.info2
-rw-r--r--network/frr/frr.SlackBuild43
-rw-r--r--network/frr/frr.info8
-rw-r--r--network/ftp-cloudfs/README4
-rw-r--r--network/ftp-cloudfs/ftp-cloudfs.SlackBuild24
-rw-r--r--network/ftp-cloudfs/ftp-cloudfs.info4
-rw-r--r--network/fujinet-pc/README24
-rw-r--r--network/fujinet-pc/doinst.sh9
-rw-r--r--network/fujinet-pc/fnconfig.ini.gzbin0 -> 391 bytes
-rw-r--r--network/fujinet-pc/fujinet-pc.1157
-rw-r--r--network/fujinet-pc/fujinet-pc.SlackBuild135
-rw-r--r--network/fujinet-pc/fujinet-pc.desktop9
-rw-r--r--network/fujinet-pc/fujinet-pc.info12
-rw-r--r--network/fujinet-pc/fujinet-pc.rst117
-rw-r--r--network/fujinet-pc/fujinet-pc.sh33
-rw-r--r--network/fujinet-pc/slack-desc19
-rw-r--r--network/fwbuilder/README6
-rw-r--r--network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch11
-rw-r--r--network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch11
-rw-r--r--network/fwbuilder/fwbuilder.SlackBuild109
-rw-r--r--network/fwbuilder/fwbuilder.info10
-rw-r--r--network/fwbuilder/slack-desc19
-rw-r--r--network/fwknop/fwknop.SlackBuild22
-rw-r--r--network/gajim/README15
-rw-r--r--network/gajim/gajim.SlackBuild52
-rw-r--r--network/gajim/gajim.info14
-rw-r--r--network/gajim/slack-desc4
-rw-r--r--network/gallery-dl/README9
-rw-r--r--network/gallery-dl/gallery-dl.SlackBuild87
-rw-r--r--network/gallery-dl/gallery-dl.info10
-rw-r--r--network/gallery-dl/slack-desc19
-rw-r--r--network/ganglia-web/README14
-rw-r--r--network/ganglia-web/ganglia-web.SlackBuild35
-rw-r--r--network/ganglia-web/ganglia-web.info2
-rw-r--r--network/ganglia/README22
-rw-r--r--network/ganglia/ganglia.SlackBuild24
-rw-r--r--network/ganglia/ganglia.info2
-rw-r--r--network/gemget-bin/README12
-rw-r--r--network/gemget-bin/docs/LICENSE21
-rw-r--r--network/gemget-bin/docs/README.md91
-rw-r--r--network/gemget-bin/gemget-bin.SlackBuild71
-rw-r--r--network/gemget-bin/gemget-bin.info10
-rw-r--r--network/gemget-bin/slack-desc19
-rw-r--r--network/geoipupdate/README6
-rw-r--r--network/geoipupdate/geoipupdate.SlackBuild16
-rw-r--r--network/geomyidae/README10
-rw-r--r--network/geomyidae/geomyidae.SlackBuild69
-rw-r--r--network/geomyidae/geomyidae.info8
-rw-r--r--network/geomyidae/slack-desc2
-rw-r--r--network/glassfish/README16
-rw-r--r--network/glassfish/asadmin2
-rw-r--r--network/glassfish/doinst.sh25
-rw-r--r--network/glassfish/glassfish.SlackBuild93
-rw-r--r--network/glassfish/glassfish.info10
-rw-r--r--network/glassfish/rc.glassfish64
-rw-r--r--network/glassfish/slack-desc19
-rw-r--r--network/glewlwyd/README11
-rw-r--r--network/glewlwyd/glewlwyd.SlackBuild27
-rw-r--r--network/glewlwyd/glewlwyd.info6
-rw-r--r--network/glusterfs/glusterfs.SlackBuild26
-rw-r--r--network/gmi100/README6
-rw-r--r--network/gmi100/gmi100.183
-rw-r--r--network/gmi100/gmi100.SlackBuild101
-rw-r--r--network/gmi100/gmi100.info10
-rw-r--r--network/gmi100/slack-desc19
-rw-r--r--network/gmvault/README1
-rw-r--r--network/gmvault/gmvault.SlackBuild85
-rw-r--r--network/gmvault/gmvault.info10
-rw-r--r--network/gmvault/slack-desc19
-rw-r--r--network/gnirehtet-bin/gnirehtet-bin.SlackBuild16
-rw-r--r--network/gnome-bluetooth/gnome-bluetooth.SlackBuild97
-rw-r--r--network/gnome-bluetooth/gnome-bluetooth.info10
-rw-r--r--network/gnome-bluetooth/patches/01-meson.patch17
-rw-r--r--network/gnome-remote-desktop/README11
-rw-r--r--network/gnome-remote-desktop/doinst.sh6
-rw-r--r--network/gnome-remote-desktop/gnome-remote-desktop.SlackBuild111
-rw-r--r--network/gnome-remote-desktop/gnome-remote-desktop.info10
-rw-r--r--network/gnome-remote-desktop/slack-desc19
-rw-r--r--network/gnome-shell-extension-gsconnect/README8
-rw-r--r--network/gnome-shell-extension-gsconnect/doinst.sh14
-rw-r--r--network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.SlackBuild112
-rw-r--r--network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.info10
-rw-r--r--network/gnome-shell-extension-gsconnect/nautilus-gsconnect.metainfo.xml11
-rw-r--r--network/gnome-shell-extension-gsconnect/nemo-gsconnect.metainfo.xml11
-rw-r--r--network/gnome-shell-extension-gsconnect/slack-desc19
-rw-r--r--network/gnome-user-share/README22
-rw-r--r--network/gnome-user-share/doinst.sh10
-rw-r--r--network/gnome-user-share/gnome-user-share.SlackBuild114
-rw-r--r--network/gnome-user-share/gnome-user-share.info10
-rw-r--r--network/gnome-user-share/slack-desc19
-rw-r--r--network/gns3/README19
-rw-r--r--network/gns3/gns3.SlackBuild18
-rw-r--r--network/go-ipfs/go-ipfs.SlackBuild16
-rw-r--r--network/go-sendxmpp/README6
-rw-r--r--network/go-sendxmpp/go-sendxmpp.SlackBuild110
-rw-r--r--network/go-sendxmpp/go-sendxmpp.info40
-rw-r--r--network/go-sendxmpp/modules.txt105
-rw-r--r--network/go-sendxmpp/slack-desc19
-rw-r--r--network/gofiche/gofiche.SlackBuild16
-rw-r--r--network/gofiche/gofiche.info2
-rw-r--r--network/goimapnotify/README2
-rw-r--r--network/goimapnotify/go.mod15
-rw-r--r--network/goimapnotify/go.sum39
-rw-r--r--network/goimapnotify/goimapnotify.SlackBuild108
-rw-r--r--network/goimapnotify/goimapnotify.info22
-rw-r--r--network/goimapnotify/modules.txt27
-rw-r--r--network/goimapnotify/slack-desc19
-rw-r--r--network/googlecl/googlecl.SlackBuild16
-rw-r--r--network/googler/README24
-rw-r--r--network/googler/googler.SlackBuild26
-rw-r--r--network/googler/googler.info8
-rw-r--r--network/gophernicus/README12
-rw-r--r--network/gophernicus/README.SBo8
-rw-r--r--network/gophernicus/gophernicus.SlackBuild43
-rw-r--r--network/gophernicus/gophernicus.info8
-rw-r--r--network/gophernicus/slack-desc2
-rw-r--r--network/gq/README5
-rw-r--r--network/gq/doinst.sh14
-rw-r--r--network/gq/gcc.patch22
-rw-r--r--network/gq/glib-single-include.patch39
-rw-r--r--network/gq/gq.SlackBuild111
-rw-r--r--network/gq/gq.info10
-rw-r--r--network/gq/slack-desc19
-rw-r--r--network/graphite-carbon/README8
-rw-r--r--network/graphite-carbon/README.SLACKWARE15
-rw-r--r--network/graphite-carbon/doinst.sh26
-rw-r--r--network/graphite-carbon/graphite-carbon.SlackBuild134
-rw-r--r--network/graphite-carbon/graphite-carbon.info10
-rw-r--r--network/graphite-carbon/graphite-carbon.logrotate13
-rw-r--r--network/graphite-carbon/man1/carbon-aggregator.156
-rw-r--r--network/graphite-carbon/man1/carbon-cache.150
-rw-r--r--network/graphite-carbon/man1/carbon-client.143
-rw-r--r--network/graphite-carbon/man1/carbon-relay.151
-rw-r--r--network/graphite-carbon/man1/validate-storage-schemas.117
-rw-r--r--network/graphite-carbon/patches/carbon.conf.example.diff41
-rw-r--r--network/graphite-carbon/patches/setup.cfg.diff12
-rw-r--r--network/graphite-carbon/patches/validate-storage-schemas.py.diff11
-rw-r--r--network/graphite-carbon/rc.carbon-cache57
-rw-r--r--network/graphite-carbon/slack-desc19
-rw-r--r--network/greenbone-security-assistant/README125
-rw-r--r--network/greenbone-security-assistant/doinst.sh26
-rw-r--r--network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild105
-rw-r--r--network/greenbone-security-assistant/greenbone-security-assistant.info10
-rw-r--r--network/greenbone-security-assistant/rc.gsad47
-rw-r--r--network/greenbone-security-assistant/slack-desc19
-rw-r--r--network/grpcurl/README10
-rw-r--r--network/grpcurl/grpcurl.SlackBuild96
-rw-r--r--network/grpcurl/grpcurl.info10
-rw-r--r--network/grpcurl/slack-desc19
-rw-r--r--network/grsync/grsync.SlackBuild20
-rw-r--r--network/grsync/grsync.info8
-rw-r--r--network/gtk-gnutella/README8
-rw-r--r--network/gtk-gnutella/gtk-gnutella.SlackBuild18
-rw-r--r--network/gtk-gnutella/gtk-gnutella.info6
-rw-r--r--network/gtmess/README3
-rw-r--r--network/gtmess/gtmess.SlackBuild99
-rw-r--r--network/gtmess/gtmess.info10
-rw-r--r--network/gtmess/slack-desc19
-rw-r--r--network/gtorrentviewer/README6
-rw-r--r--network/gtorrentviewer/doinst.sh6
-rw-r--r--network/gtorrentviewer/gtorrentviewer.SlackBuild79
-rw-r--r--network/gtorrentviewer/gtorrentviewer.desktop12
-rw-r--r--network/gtorrentviewer/gtorrentviewer.info4
-rw-r--r--network/gtorrentviewer/patches/GTorrentViewer-0.2b-format.patch48
-rw-r--r--network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch12
-rw-r--r--network/gtorrentviewer/patches/fix_linking_libm.diff12
-rw-r--r--network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch17
-rw-r--r--network/gtorrentviewer/patches/gtorrentviewer-0.2b-trackerdetails.patch56
-rw-r--r--network/gtorrentviewer/patches/manpage.diff23
-rw-r--r--network/gtorrentviewer/patches/series5
-rw-r--r--network/guacamole-client/guacamole-client.SlackBuild18
-rw-r--r--network/guacamole-server/README9
-rw-r--r--network/guacamole-server/doinst.sh22
-rw-r--r--network/guacamole-server/guacamole-server.SlackBuild109
-rw-r--r--network/guacamole-server/guacamole-server.info10
-rw-r--r--network/guacamole-server/patch/typescript.patch11
-rw-r--r--network/guacamole-server/patch/uuid.patch73
-rw-r--r--network/guacamole-server/slack-desc19
-rw-r--r--network/gui-ufw/README7
-rw-r--r--network/gui-ufw/gufw-open.diff10
-rw-r--r--network/gui-ufw/gui-ufw.SlackBuild73
-rw-r--r--network/gui-ufw/gui-ufw.info14
-rw-r--r--network/gui-ufw/path-fix.diff16
-rw-r--r--network/gui-ufw/slack-desc2
-rw-r--r--network/hakuneko/README14
-rw-r--r--network/hakuneko/doinst.sh14
-rw-r--r--network/hakuneko/hakuneko.SlackBuild132
-rw-r--r--network/hakuneko/hakuneko.desktop9
-rw-r--r--network/hakuneko/hakuneko.info10
-rw-r--r--network/hakuneko/slack-desc19
-rw-r--r--network/hamachi/README39
-rw-r--r--network/hamachi/hamachi.SlackBuild18
-rw-r--r--network/haproxy/README9
-rw-r--r--network/haproxy/README.SLACKWARE94
-rw-r--r--network/haproxy/haproxy.SlackBuild69
-rw-r--r--network/haproxy/haproxy.info10
-rw-r--r--network/haproxy/logrotate.example9
-rw-r--r--network/haproxy/rc.haproxy19
-rw-r--r--network/haproxy/slack-desc12
-rw-r--r--network/haproxy/syslog.example20
-rw-r--r--network/haskell-network-multicast/README8
-rw-r--r--network/haskell-network-multicast/haskell-network-multicast.SlackBuild18
-rw-r--r--network/haskell-network-multicast/haskell-network-multicast.info8
-rw-r--r--network/havp/README9
-rw-r--r--network/havp/havp.SlackBuild27
-rw-r--r--network/havp/havp.info6
-rw-r--r--network/havp/patches/patch-havp_scanners_clamlibscanner_cpp64
-rw-r--r--network/havp/patches/use_vartmphavp_for_tempdir.diff26
-rw-r--r--network/heimdal/README2
-rw-r--r--network/heimdal/config/heimdal.sh4
-rw-r--r--network/heimdal/config/rc.ipropd-master6
-rw-r--r--network/heimdal/config/rc.ipropd-slave6
-rw-r--r--network/heimdal/config/rc.kadmind6
-rw-r--r--network/heimdal/config/rc.kdc6
-rw-r--r--network/heimdal/config/rc.kpasswdd6
-rw-r--r--network/heimdal/doinst.sh7
-rw-r--r--network/heimdal/heimdal.SlackBuild66
-rw-r--r--network/heimdal/heimdal.info6
-rw-r--r--network/heimdal/slack-desc2
-rw-r--r--network/hiawatha/README2
-rw-r--r--network/hiawatha/hiawatha.SlackBuild21
-rw-r--r--network/hiawatha/hiawatha.info8
-rw-r--r--network/hiawatha/slack-desc2
-rw-r--r--network/host-sflow/README14
-rw-r--r--network/host-sflow/doinst.sh2
-rw-r--r--network/host-sflow/host-sflow.SlackBuild26
-rw-r--r--network/hostapd/README10
-rw-r--r--network/hostapd/hostapd.SlackBuild28
-rw-r--r--network/hostapd/hostapd.info6
-rw-r--r--network/hostapd/patches/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch73
-rw-r--r--network/hostapd/patches/0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch150
-rw-r--r--network/hostapd/patches/0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch59
-rw-r--r--network/hostapd/patches/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch47
-rw-r--r--network/hostsblock/README21
-rw-r--r--network/hostsblock/hostsblock.SlackBuild16
-rw-r--r--network/hping3/README16
-rw-r--r--network/hping3/hping3.SlackBuild18
-rw-r--r--network/httpie/README11
-rw-r--r--network/httpie/doinst.sh3
-rw-r--r--network/httpie/httpie.SlackBuild71
-rw-r--r--network/httpie/httpie.info12
-rw-r--r--network/httping/httping.SlackBuild22
-rw-r--r--network/httptunnel/httptunnel.SlackBuild22
-rw-r--r--network/httrack/httrack.SlackBuild28
-rw-r--r--network/httrack/httrack.info6
-rw-r--r--network/hydra/hydra.SlackBuild19
-rw-r--r--network/hydra/hydra.info6
-rw-r--r--network/hylafax+/hylafax+.SlackBuild18
-rw-r--r--network/hylafax+/hylafax+.info6
-rw-r--r--network/hylafax/README7
-rw-r--r--network/hylafax/README.SLACKWARE27
-rw-r--r--network/hylafax/config.local.in255
-rw-r--r--network/hylafax/doinst.sh37
-rw-r--r--network/hylafax/hylafax.SlackBuild126
-rw-r--r--network/hylafax/hylafax.info10
-rw-r--r--network/hylafax/slack-desc19
-rw-r--r--network/i2pd/i2pd.SlackBuild21
-rw-r--r--network/i2pd/i2pd.info10
-rw-r--r--network/icbm/README15
-rw-r--r--network/icbm/doinst.sh11
-rw-r--r--network/icbm/icbm.SlackBuild78
-rw-r--r--network/icbm/icbm.info10
-rw-r--r--network/icbm/slack-desc19
-rw-r--r--network/icecat/icecat.SlackBuild26
-rw-r--r--network/icinga2/README9
-rw-r--r--network/icinga2/icinga2.SlackBuild28
-rw-r--r--network/icinga2/icinga2.info8
-rw-r--r--network/icinga2/slack-desc2
-rw-r--r--network/icyque/README6
-rw-r--r--network/icyque/icyque.SlackBuild18
-rw-r--r--network/icyque/icyque.info8
-rw-r--r--network/identicurse/README5
-rw-r--r--network/identicurse/identicurse.SlackBuild20
-rw-r--r--network/ifplugd/README22
-rw-r--r--network/ifplugd/doinst.sh24
-rw-r--r--network/ifplugd/ifplugd-0.28-interface.patch13
-rw-r--r--network/ifplugd/ifplugd-action-slackware.patch18
-rw-r--r--network/ifplugd/ifplugd-fix-return-value.patch12
-rw-r--r--network/ifplugd/ifplugd.SlackBuild126
-rw-r--r--network/ifplugd/ifplugd.info10
-rw-r--r--network/ifplugd/slack-desc19
-rw-r--r--network/ifstatus/README10
-rw-r--r--network/ifstatus/ifstatus.SlackBuild91
-rw-r--r--network/ifstatus/ifstatus.info10
-rw-r--r--network/ifstatus/ifstatus.patch66
-rw-r--r--network/ifstatus/slack-desc19
-rw-r--r--network/igmpproxy/igmpproxy.SlackBuild16
-rw-r--r--network/ii/ii.SlackBuild16
-rw-r--r--network/ike/README10
-rw-r--r--network/ike/doinst.sh8
-rw-r--r--network/ike/ike.SlackBuild100
-rw-r--r--network/ike/ike.info10
-rw-r--r--network/ike/slack-desc19
-rw-r--r--network/imapfilter/imapfilter.SlackBuild18
-rw-r--r--network/imapfilter/imapfilter.info6
-rw-r--r--network/imapproxy/README12
-rw-r--r--network/imapproxy/doinst.sh26
-rw-r--r--network/imapproxy/imapproxy.SlackBuild113
-rw-r--r--network/imapproxy/imapproxy.info10
-rw-r--r--network/imapproxy/slack-desc19
-rw-r--r--network/inadyn/README11
-rw-r--r--network/inadyn/inadyn.SlackBuild16
-rw-r--r--network/insync/insync.SlackBuild20
-rw-r--r--network/insync/insync.info6
-rw-r--r--network/iodine/README6
-rw-r--r--network/iodine/iodine.SlackBuild22
-rw-r--r--network/ip2location-c/ip2location-c.SlackBuild24
-rw-r--r--network/ip2location-c/ip2location-c.info6
-rw-r--r--network/ipcalc/README9
-rw-r--r--network/ipcalc/ipcalc.SlackBuild16
-rw-r--r--network/iperf/README7
-rw-r--r--network/iperf/iperf.SlackBuild45
-rw-r--r--network/iperf/iperf.info6
-rw-r--r--network/iperf/patches/0_iperf-2.0.8-debuginfo.patch17
-rw-r--r--network/iperf/patches/1_iperf-2.0.8-bindfail.patch42
-rw-r--r--network/iperf/patches/2_iperf-2.0.8-math.patch75
-rw-r--r--network/iperf3/iperf3.SlackBuild18
-rw-r--r--network/iperf3/iperf3.info6
-rw-r--r--network/ipfs-pack/ipfs-pack.SlackBuild16
-rw-r--r--network/ipscan/README26
-rw-r--r--network/ipscan/copyright22
-rw-r--r--network/ipscan/doinst.sh13
-rw-r--r--network/ipscan/ipscan2
-rw-r--r--network/ipscan/ipscan.SlackBuild98
-rw-r--r--network/ipscan/ipscan.desktop10
-rw-r--r--network/ipscan/ipscan.info10
-rw-r--r--network/ipscan/ipscan.pngbin10422 -> 0 bytes
-rw-r--r--network/ipscan/slack-desc19
-rw-r--r--network/iptv-analyzer/README8
-rw-r--r--network/iptv-analyzer/doinst.sh3
-rw-r--r--network/iptv-analyzer/iptv-analyzer.SlackBuild142
-rw-r--r--network/iptv-analyzer/iptv-analyzer.info10
-rw-r--r--network/iptv-analyzer/patches/Makefile.am.diff13
-rw-r--r--network/iptv-analyzer/patches/Makefile.in.diff11
-rw-r--r--network/iptv-analyzer/patches/e5d7c0b90cfe3218d67b56e122140456206f6a65.patch41
-rw-r--r--network/iptv-analyzer/patches/kernel-4.4.diff81
-rw-r--r--network/iptv-analyzer/slack-desc19
-rw-r--r--network/ipv6calc/README3
-rw-r--r--network/ipv6calc/ipv6calc.SlackBuild27
-rw-r--r--network/ipv6calc/ipv6calc.info6
-rw-r--r--network/ipvsadm/ipvsadm.SlackBuild22
-rw-r--r--network/ipxnet/README23
-rw-r--r--network/ipxnet/doinst.sh2
-rw-r--r--network/ipxnet/ipxnet.SlackBuild27
-rw-r--r--network/ipxnet/ipxnet.info2
-rw-r--r--network/ipxnet/rc.ipxnet2
-rw-r--r--network/ipxnet/rc.ipxnet.conf2
-rw-r--r--network/irc.c/README5
-rw-r--r--network/irc.c/git2tarxz.sh44
-rw-r--r--network/irc.c/irc.c.1159
-rw-r--r--network/irc.c/irc.c.SlackBuild86
-rw-r--r--network/irc.c/irc.c.info10
-rw-r--r--network/irc.c/irc.c.rst134
-rw-r--r--network/irc.c/slack-desc19
-rw-r--r--network/irc2dc/README3
-rw-r--r--network/irc2dc/irc2dc.SlackBuild118
-rw-r--r--network/irc2dc/irc2dc.info10
-rw-r--r--network/irc2dc/slack-desc19
-rw-r--r--network/ircII/NOTES_TO_SELF44
-rw-r--r--network/ircII/README11
-rw-r--r--network/ircII/ircII.SlackBuild95
-rw-r--r--network/ircII/ircII.info12
-rw-r--r--network/ircII/man/ircflush.130
-rw-r--r--network/ircII/man/ircio.139
-rw-r--r--network/ircII/man/wserv.130
-rw-r--r--network/ircII/manpage.diff38
-rw-r--r--network/ircII/slack-desc6
-rw-r--r--network/ircd-hybrid/README14
-rw-r--r--network/ircd-hybrid/doinst.sh1
-rw-r--r--network/ircd-hybrid/ircd-hybrid.SlackBuild26
-rw-r--r--network/ircd-hybrid/ircd-hybrid.info6
-rw-r--r--network/ircd-hybrid/rc.ircd.new5
-rw-r--r--network/irssi-icb/README9
-rw-r--r--network/irssi-icb/git2tarxz.sh48
-rw-r--r--network/irssi-icb/irssi-icb.SlackBuild99
-rw-r--r--network/irssi-icb/irssi-icb.info12
-rw-r--r--network/irssi-icb/slack-desc19
-rw-r--r--network/irssi-python/README33
-rw-r--r--network/irssi-python/irssi-python.SlackBuild71
-rw-r--r--network/irssi-python/irssi-python.info12
-rw-r--r--network/irssi-python/slack-desc2
-rw-r--r--network/irssi_otr/README8
-rw-r--r--network/irssi_otr/irssi_otr.SlackBuild61
-rw-r--r--network/irssi_otr/irssi_otr.info10
-rw-r--r--network/isync/README12
-rw-r--r--network/isync/isync.SlackBuild20
-rw-r--r--network/isync/isync.info6
-rw-r--r--network/jabberd2/README3
-rw-r--r--network/jabberd2/jabberd2.SlackBuild37
-rw-r--r--network/jabberd2/jabberd2.info6
-rw-r--r--network/jabberd2/rc.jabberd22
-rw-r--r--network/jboss-as/README14
-rw-r--r--network/jboss-as/jboss-as.SlackBuild16
-rw-r--r--network/jboss-as/jboss-as.info2
-rw-r--r--network/jetty/jetty.SlackBuild16
-rw-r--r--network/jetty/jetty.info2
-rw-r--r--network/jigdo/fix_man_page_build.diff29
-rw-r--r--network/jigdo/jigdo.SlackBuild64
-rw-r--r--network/jigdo/jigdo.info10
-rw-r--r--network/jigdo/jigdo_0.7.3-3.diff.gzbin14151 -> 0 bytes
-rw-r--r--network/jitsi-meet-desktop/README10
-rw-r--r--network/jitsi-meet-desktop/doinst.sh9
-rw-r--r--network/jitsi-meet-desktop/jitsi-meet-desktop.SlackBuild105
-rw-r--r--network/jitsi-meet-desktop/jitsi-meet-desktop.desktop9
-rw-r--r--network/jitsi-meet-desktop/jitsi-meet-desktop.info10
-rw-r--r--network/jitsi-meet-desktop/slack-desc19
-rw-r--r--network/jitsi/README6
-rw-r--r--network/jitsi/jitsi.SlackBuild34
-rw-r--r--network/jitsi/jitsi.info8
-rw-r--r--network/js185/README7
-rw-r--r--network/js185/js185-destdir.patch15
-rw-r--r--network/js185/js185.SlackBuild122
-rw-r--r--network/js185/js185.info10
-rw-r--r--network/js185/slack-desc19
-rw-r--r--network/kadu/README1
-rw-r--r--network/kadu/doinst.sh10
-rw-r--r--network/kadu/kadu.SlackBuild99
-rw-r--r--network/kadu/kadu.info10
-rw-r--r--network/kadu/kadu.patch11
-rw-r--r--network/kadu/slack-desc19
-rw-r--r--network/kasp_updater/kasp_updater.SlackBuild16
-rw-r--r--network/kcm_ufw/README11
-rw-r--r--network/kcm_ufw/doinst.sh3
-rw-r--r--network/kcm_ufw/kcm_ufw.SlackBuild102
-rw-r--r--network/kcm_ufw/kcm_ufw.info10
-rw-r--r--network/kcm_ufw/slack-desc19
-rw-r--r--network/kdrive/README6
-rw-r--r--network/kdrive/doinst.sh9
-rw-r--r--network/kdrive/kDrive.desktop10
-rw-r--r--network/kdrive/kDrive.pngbin0 -> 13478 bytes
-rw-r--r--network/kdrive/kdrive.SlackBuild84
-rw-r--r--network/kdrive/kdrive.info10
-rw-r--r--network/kdrive/slack-desc19
-rw-r--r--network/kea/doinst.sh5
-rw-r--r--network/kea/kea.SlackBuild36
-rw-r--r--network/kea/kea.info6
-rw-r--r--network/kea/rc.kea2
-rw-r--r--network/keepalived/keepalived.SlackBuild27
-rw-r--r--network/keepalived/keepalived.info6
-rw-r--r--network/kfilebox/README6
-rw-r--r--network/kfilebox/doinst.sh16
-rw-r--r--network/kfilebox/kfilebox.SlackBuild93
-rw-r--r--network/kfilebox/kfilebox.info10
-rw-r--r--network/kfilebox/kfilebox.pngbin11397 -> 0 bytes
-rw-r--r--network/kfilebox/slack-desc19
-rw-r--r--network/kirc/README3
-rw-r--r--network/kirc/kirc.SlackBuild82
-rw-r--r--network/kirc/kirc.info10
-rw-r--r--network/kirc/slack-desc19
-rw-r--r--network/kismet/kismet.SlackBuild37
-rw-r--r--network/kismet/kismet.info12
-rw-r--r--network/kivy-garden/README4
-rw-r--r--network/kivy-garden/kivy-garden.SlackBuild26
-rw-r--r--network/kivy-garden/kivy-garden.info8
-rw-r--r--network/kmess/README5
-rw-r--r--network/kmess/doinst.sh10
-rw-r--r--network/kmess/giflib-5.0.patch95
-rw-r--r--network/kmess/kmess.SlackBuild100
-rw-r--r--network/kmess/kmess.info10
-rw-r--r--network/kmess/slack-desc19
-rw-r--r--network/knemo/README8
-rw-r--r--network/knemo/doinst.sh10
-rw-r--r--network/knemo/knemo.SlackBuild85
-rw-r--r--network/knemo/knemo.info10
-rw-r--r--network/knemo/slack-desc19
-rw-r--r--network/knock/README19
-rw-r--r--network/knock/knock.SlackBuild42
-rw-r--r--network/knock/knock.info6
-rw-r--r--network/kobby/README4
-rw-r--r--network/kobby/doinst.sh4
-rw-r--r--network/kobby/kobby.SlackBuild82
-rw-r--r--network/kobby/kobby.info10
-rw-r--r--network/kobby/slack-desc19
-rw-r--r--network/konversation/README7
-rw-r--r--network/konversation/doinst.sh10
-rw-r--r--network/konversation/konversation.SlackBuild104
-rw-r--r--network/konversation/konversation.info10
-rw-r--r--network/konversation/slack-desc19
-rw-r--r--network/krb5/EXPORT13
-rw-r--r--network/krb5/README10
-rw-r--r--network/krb5/README.krb552
-rw-r--r--network/krb5/doinst.sh26
-rw-r--r--network/krb5/krb5.SlackBuild116
-rw-r--r--network/krb5/krb5.info10
-rw-r--r--network/krb5/rc.kadmind54
-rw-r--r--network/krb5/rc.krb5kdc54
-rw-r--r--network/krb5/slack-desc19
-rw-r--r--network/kstart/kstart.SlackBuild22
-rw-r--r--network/kstart/kstart.info8
-rw-r--r--network/kubectl/kubectl.SlackBuild20
-rw-r--r--network/kubectl/kubectl.info6
-rw-r--r--network/kvirc/README19
-rw-r--r--network/kvirc/kvirc.SlackBuild37
-rw-r--r--network/kvirc/kvirc.info8
-rw-r--r--network/kwakd/kwakd.SlackBuild22
-rw-r--r--network/lagrange/README4
-rw-r--r--network/lagrange/doinst.sh9
-rw-r--r--network/lagrange/lagrange.SlackBuild130
-rw-r--r--network/lagrange/lagrange.info10
-rw-r--r--network/lagrange/slack-desc19
-rw-r--r--network/ldapvi/ldapvi.SlackBuild19
-rw-r--r--network/leafnode/README11
-rw-r--r--network/leafnode/leafnode.SlackBuild22
-rw-r--r--network/leechcraft/README26
-rw-r--r--network/leechcraft/doinst.sh22
-rw-r--r--network/leechcraft/leechcraft.SlackBuild111
-rw-r--r--network/leechcraft/leechcraft.info10
-rw-r--r--network/leechcraft/slack-desc19
-rw-r--r--network/libcapi20/README3
-rw-r--r--network/libcapi20/libcapi20.SlackBuild92
-rw-r--r--network/libcapi20/libcapi20.info10
-rw-r--r--network/libcapi20/slack-desc19
-rw-r--r--network/libdnet/libdnet.SlackBuild26
-rw-r--r--network/libident/libident.SlackBuild22
-rw-r--r--network/libiscsi/libiscsi.SlackBuild29
-rw-r--r--network/libmaxminddb/README13
-rw-r--r--network/libmaxminddb/libmaxminddb.SlackBuild26
-rw-r--r--network/libnatpmp/README11
-rw-r--r--network/libnatpmp/libnatpmp.SlackBuild16
-rw-r--r--network/libnfsidmap/README2
-rw-r--r--network/libnfsidmap/doinst.sh14
-rw-r--r--network/libnfsidmap/libnfsidmap.SlackBuild105
-rw-r--r--network/libnfsidmap/libnfsidmap.info10
-rw-r--r--network/libnfsidmap/slack-desc19
-rw-r--r--network/librespeed-cli/README17
-rw-r--r--network/librespeed-cli/librespeed-cli.SlackBuild87
-rw-r--r--network/librespeed-cli/librespeed-cli.info10
-rw-r--r--network/librespeed-cli/slack-desc19
-rw-r--r--network/libressl/README75
-rw-r--r--network/libressl/libressl.SlackBuild108
-rw-r--r--network/libressl/libressl.info12
-rw-r--r--network/libressl/slack-desc19
-rw-r--r--network/librewolf/README12
-rw-r--r--network/librewolf/doinst.sh (renamed from network/CherryMusic/doinst.sh)0
-rw-r--r--network/librewolf/librewolf.SlackBuild78
-rw-r--r--network/librewolf/librewolf.info10
-rw-r--r--network/librewolf/slack-desc19
-rw-r--r--network/libteam/README7
-rw-r--r--network/libteam/libteam.SlackBuild112
-rw-r--r--network/libteam/libteam.info10
-rw-r--r--network/libteam/slack-desc19
-rw-r--r--network/libtls/README12
-rw-r--r--network/libtls/libtls.SlackBuild110
-rw-r--r--network/libtls/libtls.info10
-rw-r--r--network/libtls/slack-desc19
-rw-r--r--network/libvarlink/README12
-rw-r--r--network/libvarlink/libvarlink.SlackBuild116
-rw-r--r--network/libvarlink/libvarlink.info10
-rw-r--r--network/libvarlink/slack-desc19
-rw-r--r--network/licq/README11
-rw-r--r--network/licq/doinst.sh3
-rw-r--r--network/licq/licq.SlackBuild119
-rw-r--r--network/licq/licq.info10
-rw-r--r--network/licq/slack-desc19
-rw-r--r--network/liferea/liferea.SlackBuild21
-rw-r--r--network/liferea/liferea.info2
-rw-r--r--network/light-firefox/README3
-rw-r--r--network/light-firefox/doinst.sh3
-rw-r--r--network/light-firefox/light-firefox.SlackBuild114
-rw-r--r--network/light-firefox/light-firefox.info10
-rw-r--r--network/light-firefox/slack-desc19
-rw-r--r--network/lighttpd/conf/lighttpd.conf171
-rw-r--r--network/lighttpd/conf/rc.lighttpd2
-rw-r--r--network/lighttpd/lighttpd.SlackBuild22
-rw-r--r--network/lighttpd/lighttpd.info6
-rw-r--r--network/lighttpd2/README30
-rw-r--r--network/lighttpd2/README.SLACKWARE53
-rw-r--r--network/lighttpd2/conf/angel.conf6
-rw-r--r--network/lighttpd2/conf/lighttpd.conf95
-rw-r--r--network/lighttpd2/conf/lighttpd2.logrotate32
-rw-r--r--network/lighttpd2/conf/php-fpm.lua10
-rw-r--r--network/lighttpd2/conf/rc.lighttpd270
-rw-r--r--network/lighttpd2/doinst.sh37
-rw-r--r--network/lighttpd2/lighttpd2.SlackBuild153
-rw-r--r--network/lighttpd2/lighttpd2.info10
-rw-r--r--network/lighttpd2/slack-desc19
-rw-r--r--network/limnoria/README8
-rw-r--r--network/limnoria/limnoria.SlackBuild41
-rw-r--r--network/limnoria/limnoria.info10
-rw-r--r--network/linksys-tftp/README6
-rw-r--r--network/linksys-tftp/linksys-tftp-1.2.1-r1-clang.patch196
-rw-r--r--network/linksys-tftp/linksys-tftp-1.2.1-r1-fno-common.patch11
-rw-r--r--network/linksys-tftp/linksys-tftp-1.2.1-stdc-main.patch292
-rw-r--r--network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftp.patch157
-rw-r--r--network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftpsubs.patch111
-rw-r--r--network/linksys-tftp/linksys-tftp.SlackBuild40
-rw-r--r--network/linksys-tftp/linksys-tftp.info4
-rw-r--r--network/linphone/README12
-rw-r--r--network/linphone/linphone.SlackBuild20
-rw-r--r--network/linphone/linphone.info8
-rw-r--r--network/linssid/README6
-rw-r--r--network/linssid/linssid.SlackBuild16
-rw-r--r--network/linssid/linssid.info2
-rw-r--r--network/linuxdcpp/README2
-rw-r--r--network/linuxdcpp/doinst.sh9
-rw-r--r--network/linuxdcpp/linuxdcpp.SlackBuild94
-rw-r--r--network/linuxdcpp/linuxdcpp.desktop11
-rw-r--r--network/linuxdcpp/linuxdcpp.info10
-rw-r--r--network/linuxdcpp/slack-desc19
-rw-r--r--network/livestreamer-curses/README3
-rw-r--r--network/livestreamer-curses/doinst.sh3
-rw-r--r--network/livestreamer-curses/livestreamer-curses.SlackBuild86
-rw-r--r--network/livestreamer-curses/livestreamer-curses.info10
-rw-r--r--network/livestreamer-curses/slack-desc19
-rw-r--r--network/livestreamer/README18
-rw-r--r--network/livestreamer/doinst.sh3
-rw-r--r--network/livestreamer/livestreamer.SlackBuild86
-rw-r--r--network/livestreamer/livestreamer.info10
-rw-r--r--network/livestreamer/slack-desc19
-rw-r--r--network/lizardfs/README94
-rw-r--r--network/lizardfs/lizardfs.SlackBuild22
-rw-r--r--network/lldpd/lldpd.SlackBuild24
-rw-r--r--network/lldpd/lldpd.info6
-rw-r--r--network/llhttp/README1
-rw-r--r--network/llhttp/llhttp.SlackBuild105
-rw-r--r--network/llhttp/llhttp.info10
-rw-r--r--network/llhttp/slack-desc19
-rw-r--r--network/lorawan-stack-cli/README5
-rw-r--r--network/lorawan-stack-cli/lorawan-stack-cli.SlackBuild96
-rw-r--r--network/lorawan-stack-cli/lorawan-stack-cli.info10
-rw-r--r--network/lorawan-stack-cli/slack-desc19
-rw-r--r--network/luakit/gtk.patch15
-rw-r--r--network/luakit/luakit.SlackBuild28
-rw-r--r--network/luakit/luakit.info12
-rw-r--r--network/lurch/lurch.SlackBuild27
-rw-r--r--network/lurch/lurch.info6
-rw-r--r--network/lxi-tools/README14
-rw-r--r--network/lxi-tools/lxi-tools.SlackBuild16
-rw-r--r--network/macchanger/macchanger.SlackBuild16
-rw-r--r--network/maildrop/maildrop.SlackBuild29
-rw-r--r--network/maildrop/maildrop.info6
-rw-r--r--network/mailman/README11
-rw-r--r--network/mailman/mailman.SlackBuild32
-rw-r--r--network/mailman/mailman.info14
-rw-r--r--network/mailman/rc.mailman2
-rw-r--r--network/mailspring/doinst.sh7
-rw-r--r--network/mailspring/mailspring.SlackBuild27
-rw-r--r--network/mailspring/mailspring.info6
-rw-r--r--network/malheur/README7
-rw-r--r--network/malheur/malheur.SlackBuild22
-rw-r--r--network/malheur/malheur.info2
-rw-r--r--network/masscan/README4
-rw-r--r--network/masscan/masscan.SlackBuild24
-rw-r--r--network/masscan/masscan.info6
-rw-r--r--network/mattermost-desktop/mattermost-desktop.SlackBuild39
-rw-r--r--network/mattermost-desktop/mattermost-desktop.info14
-rw-r--r--network/mdk3/mdk3.SlackBuild16
-rw-r--r--network/mdk4/README8
-rw-r--r--network/mdk4/mdk4.SlackBuild90
-rw-r--r--network/mdk4/mdk4.info10
-rw-r--r--network/mdk4/slack-desc19
-rw-r--r--network/megatools/README16
-rw-r--r--network/megatools/megatools.SlackBuild16
-rw-r--r--network/memcached-init/memcached-init.SlackBuild16
-rw-r--r--network/memcached/README6
-rw-r--r--network/memcached/memcached.SlackBuild18
-rw-r--r--network/memcached/memcached.info6
-rw-r--r--network/metasploit/metasploit.SlackBuild20
-rw-r--r--network/mew/mew.SlackBuild16
-rw-r--r--network/microsoft-edge/README7
-rw-r--r--network/microsoft-edge/doinst.sh (renamed from network/Icecat/doinst.sh)0
-rw-r--r--network/microsoft-edge/microsoft-edge.SlackBuild111
-rw-r--r--network/microsoft-edge/microsoft-edge.info10
-rw-r--r--network/microsoft-edge/slack-desc19
-rw-r--r--network/midori/README20
-rw-r--r--network/midori/doinst.sh26
-rw-r--r--network/midori/midori.SlackBuild120
-rw-r--r--network/midori/midori.info10
-rw-r--r--network/midori/slack-desc19
-rw-r--r--network/milter-greylist/milter-greylist.SlackBuild16
-rw-r--r--network/milter-greylist/milter-greylist.info2
-rw-r--r--network/miniupnpd/miniupnpd.SlackBuild32
-rw-r--r--network/miniupnpd/miniupnpd.info6
-rw-r--r--network/miniupnpd/slackware-version.patch60
-rw-r--r--network/miredo/README27
-rw-r--r--network/miredo/doinst.sh24
-rw-r--r--network/miredo/miredo.SlackBuild112
-rw-r--r--network/miredo/miredo.info10
-rw-r--r--network/miredo/rc.miredo88
-rw-r--r--network/miredo/slack-desc19
-rw-r--r--network/mitmproxy-bin/README15
-rw-r--r--network/mitmproxy-bin/mitmproxy-bin.SlackBuild104
-rw-r--r--network/mitmproxy-bin/mitmproxy-bin.info12
-rw-r--r--network/mitmproxy-bin/mitmproxy.170
-rw-r--r--network/mitmproxy-bin/mitmproxy.rst57
-rw-r--r--network/mitmproxy-bin/slack-desc19
-rw-r--r--network/mk-livestatus/mk-livestatus.SlackBuild26
-rw-r--r--network/mk-livestatus/mk-livestatus.info2
-rw-r--r--network/mkvserver_mk2/mkvserver_mk2.SlackBuild16
-rw-r--r--network/mkvserver_mk2/mkvserver_mk2.info2
-rw-r--r--network/mldonkey/README12
-rw-r--r--network/mldonkey/doinst.sh4
-rw-r--r--network/mldonkey/mldonkey.SlackBuild128
-rw-r--r--network/mldonkey/mldonkey.desktop9
-rw-r--r--network/mldonkey/mldonkey.info14
-rw-r--r--network/mldonkey/mldonkey.pngbin3818 -> 0 bytes
-rw-r--r--network/mldonkey/slack-desc19
-rw-r--r--network/mod_auth_gssapi/README3
-rw-r--r--network/mod_auth_gssapi/mod_auth_gssapi.SlackBuild26
-rw-r--r--network/mod_auth_gssapi/mod_auth_gssapi.info10
-rw-r--r--network/mod_auth_kerb/README9
-rw-r--r--network/mod_auth_kerb/mod_auth_kerb.SlackBuild39
-rw-r--r--network/mod_auth_kerb/mod_auth_kerb.info4
-rw-r--r--network/mod_bw/mod_bw.SlackBuild16
-rw-r--r--network/mod_chroot/README20
-rw-r--r--network/mod_chroot/mod_chroot.SlackBuild22
-rw-r--r--network/mod_dnssd/mod_dnssd.SlackBuild24
-rw-r--r--network/mod_evasive/README27
-rw-r--r--network/mod_evasive/mod_evasive.SlackBuild16
-rw-r--r--network/mod_evasive/mod_evasive.info2
-rw-r--r--network/mod_fcgid/mod_fcgid.SlackBuild22
-rw-r--r--network/mod_geoip2/README9
-rw-r--r--network/mod_geoip2/mod_geoip2.SlackBuild34
-rw-r--r--network/mod_geoip2/mod_geoip2.info2
-rw-r--r--network/mod_ruid2/README11
-rw-r--r--network/mod_ruid2/mod_ruid2.SlackBuild22
-rw-r--r--network/mod_wsgi-metrics/mod_wsgi-metrics.SlackBuild22
-rw-r--r--network/mod_wsgi-metrics/mod_wsgi-metrics.info2
-rw-r--r--network/mod_wsgi/README9
-rw-r--r--network/mod_wsgi/mod_wsgi.SlackBuild18
-rw-r--r--network/mod_wsgi/mod_wsgi.info2
-rw-r--r--network/modemu2k/README.Slackware72
-rw-r--r--network/modemu2k/modemu2k.SlackBuild49
-rw-r--r--network/modemu2k/modemu2k.info8
-rw-r--r--network/modsecurity-apache/modsecurity-apache.SlackBuild45
-rw-r--r--network/modsecurity-apache/modsecurity-apache.info12
-rw-r--r--network/monkey/README9
-rw-r--r--network/monkey/monkey.SlackBuild25
-rw-r--r--network/mosaic-ck/README4
-rw-r--r--network/mosaic-ck/doinst.sh6
-rw-r--r--network/mosaic-ck/mosaic-ck.SlackBuild44
-rw-r--r--network/mosaic-ck/mosaic-ck.info10
-rw-r--r--network/mosh/1282.patch43
-rw-r--r--network/mosh/README21
-rw-r--r--network/mosh/mosh.SlackBuild66
-rw-r--r--network/mosh/mosh.info14
-rw-r--r--network/movgrab/movgrab.SlackBuild16
-rw-r--r--network/mpop/README2
-rw-r--r--network/mpop/mpop.SlackBuild36
-rw-r--r--network/mpop/mpop.info14
-rw-r--r--network/mpop/slack-desc2
-rw-r--r--network/mps-youtube/README3
-rw-r--r--network/mps-youtube/mps-youtube.SlackBuild16
-rw-r--r--network/mps-youtube/mps-youtube.info2
-rw-r--r--network/mps/mps.SlackBuild16
-rw-r--r--network/mrtg/mrtg.SlackBuild18
-rw-r--r--network/mrtg/mrtg.info8
-rw-r--r--network/msmtp/README6
-rw-r--r--network/msmtp/doinst.sh7
-rw-r--r--network/msmtp/msmtp.SlackBuild35
-rw-r--r--network/msmtp/msmtp.info8
-rw-r--r--network/msn-proxy/README12
-rw-r--r--network/msn-proxy/README.SLACKWARE78
-rw-r--r--network/msn-proxy/config.patch27
-rw-r--r--network/msn-proxy/doinst.sh17
-rw-r--r--network/msn-proxy/msn-proxy.SlackBuild111
-rw-r--r--network/msn-proxy/msn-proxy.info10
-rw-r--r--network/msn-proxy/mysql.patch11
-rw-r--r--network/msn-proxy/slack-desc19
-rw-r--r--network/mstflint/README15
-rw-r--r--network/mstflint/mstflint.SlackBuild125
-rw-r--r--network/mstflint/mstflint.info10
-rw-r--r--network/mstflint/slack-desc19
-rw-r--r--network/mullvadvpn-app/README8
-rw-r--r--network/mullvadvpn-app/doinst.sh9
-rw-r--r--network/mullvadvpn-app/mullvadvpn-app.SlackBuild113
-rw-r--r--network/mullvadvpn-app/mullvadvpn-app.info12
-rw-r--r--network/mullvadvpn-app/rc.mullvad34
-rw-r--r--network/mullvadvpn-app/slack-desc19
-rw-r--r--network/mumble-server/README33
-rw-r--r--network/mumble-server/doinst.sh28
-rw-r--r--network/mumble-server/mumble-server.SlackBuild177
-rw-r--r--network/mumble-server/mumble-server.info10
-rw-r--r--network/mumble-server/mumble-server.logrotate16
-rw-r--r--network/mumble-server/rc.mumble-server44
-rw-r--r--network/mumble-server/slack-desc19
-rw-r--r--network/mumble/README42
-rw-r--r--network/mumble/mumble.SlackBuild165
-rw-r--r--network/mumble/mumble.info10
-rw-r--r--network/mumble/positional-audio-plugin-gtav-32-bit-fix.patch30
-rw-r--r--network/munge/README8
-rw-r--r--network/munge/etc.default.munge13
-rw-r--r--network/munge/munge.SlackBuild41
-rw-r--r--network/munge/munge.info6
-rw-r--r--network/murmur/README24
-rw-r--r--network/murmur/doinst.sh28
-rw-r--r--network/murmur/murmur.SlackBuild154
-rw-r--r--network/murmur/murmur.info10
-rw-r--r--network/murmur/murmur.logrotate16
-rw-r--r--network/murmur/rc.murmur41
-rw-r--r--network/murmur/slack-desc19
-rw-r--r--network/museek+/README23
-rw-r--r--network/museek+/doinst.sh26
-rw-r--r--network/museek+/museek+.SlackBuild90
-rw-r--r--network/museek+/museek+.info10
-rw-r--r--network/museek+/museek-python.diff44
-rw-r--r--network/museek+/rc.museekd105
-rw-r--r--network/museek+/slack-desc19
-rw-r--r--network/mysecureshell/README9
-rw-r--r--network/mysecureshell/mysecureshell.SlackBuild22
-rw-r--r--network/nagios/README9
-rw-r--r--network/nagios/default-init.in.diff13
-rw-r--r--network/nagios/nagios.SlackBuild38
-rw-r--r--network/nagios/nagios.info6
-rw-r--r--network/nagiosgraph/nagiosgraph.SlackBuild18
-rw-r--r--network/naim/naim.SlackBuild22
-rw-r--r--network/nbd/nbd.SlackBuild17
-rw-r--r--network/nbd/nbd.info6
-rw-r--r--network/nbtscan/nbtscan.SlackBuild16
-rw-r--r--network/nbwmon/nbwmon.SlackBuild20
-rw-r--r--network/nbwmon/nbwmon.info4
-rw-r--r--network/ncp/README4
-rw-r--r--network/ncp/ncp.SlackBuild38
-rw-r--r--network/ncp/ncp.info6
-rw-r--r--network/ncrack/README18
-rw-r--r--network/ncrack/ncrack.SlackBuild27
-rw-r--r--network/ncrack/ncrack.info6
-rw-r--r--network/neomutt/README4
-rw-r--r--network/neomutt/neomutt.SlackBuild36
-rw-r--r--network/neomutt/neomutt.info6
-rw-r--r--network/nessus/README7
-rw-r--r--network/nessus/doinst.sh43
-rw-r--r--network/nessus/nessus.SlackBuild89
-rw-r--r--network/nessus/nessus.info10
-rw-r--r--network/nessus/rc.nessusd112
-rw-r--r--network/nessus/slack-desc19
-rw-r--r--network/netcat-openbsd/netcat-openbsd.SlackBuild20
-rw-r--r--network/netcat-openbsd/netcat-openbsd.info6
-rw-r--r--network/netcat/README14
-rw-r--r--network/netcat/netcat.SlackBuild16
-rw-r--r--network/netdiscover/README7
-rw-r--r--network/netdiscover/netdiscover.SlackBuild20
-rw-r--r--network/netdrive-connector/README11
-rw-r--r--network/netdrive-connector/netdrive-connector.SlackBuild22
-rw-r--r--network/netdrive-connector/netdrive-connector.info2
-rw-r--r--network/nethogs/nethogs.SlackBuild17
-rw-r--r--network/nethogs/nethogs.info6
-rw-r--r--network/netperf/001-fix-inlining.patch32
-rw-r--r--network/netperf/netperf.SlackBuild39
-rw-r--r--network/netperf/netperf.info6
-rw-r--r--network/netqmail/README3
-rw-r--r--network/netqmail/netqmail.SlackBuild16
-rw-r--r--network/netqmail/netqmail.info4
-rw-r--r--network/netsniff-ng/netsniff-ng.SlackBuild16
-rw-r--r--network/netstat-nat/netstat-nat.SlackBuild16
-rw-r--r--network/netsurf/README8
-rw-r--r--network/netsurf/enable-deprecated.diff10
-rw-r--r--network/netsurf/netsurf.SlackBuild18
-rw-r--r--network/netsurf/netsurf.desktop2
-rw-r--r--network/netsurf/netsurf.info6
-rw-r--r--network/newsboat/README10
-rw-r--r--network/newsboat/newsboat.SlackBuild59
-rw-r--r--network/newsboat/newsboat.info402
-rw-r--r--network/nextcloud-client/README13
-rw-r--r--network/nextcloud-client/doinst.sh24
-rw-r--r--network/nextcloud-client/nextcloud-client.SlackBuild118
-rw-r--r--network/nextcloud-client/nextcloud-client.info12
-rw-r--r--network/nextcloud-client/nextcloud.desktop8
-rw-r--r--network/nextcloud-client/slack-desc19
-rw-r--r--network/nextcloud-desktop/README2
-rw-r--r--network/nextcloud-desktop/doinst.sh24
-rw-r--r--network/nextcloud-desktop/nextcloud-desktop.SlackBuild125
-rw-r--r--network/nextcloud-desktop/nextcloud-desktop.info10
-rw-r--r--network/nextcloud-desktop/slack-desc19
-rw-r--r--network/nextcloud-server/nextcloud-server.SlackBuild18
-rw-r--r--network/nextcloud-server/nextcloud-server.info6
-rw-r--r--network/nfdump/nfdump.SlackBuild26
-rw-r--r--network/nghttp2/README4
-rw-r--r--network/nghttp2/nghttp2.SlackBuild102
-rw-r--r--network/nghttp2/nghttp2.info10
-rw-r--r--network/nghttp2/slack-desc19
-rw-r--r--network/nginx/README39
-rw-r--r--network/nginx/nginx.SlackBuild18
-rw-r--r--network/nginx/nginx.info8
-rw-r--r--network/nginx/nginx.logrotate2
-rw-r--r--network/ngircd/ngircd.SlackBuild24
-rw-r--r--network/ngircd/ngircd.info6
-rw-r--r--network/ngrep/README13
-rw-r--r--network/ngrep/ngrep-1.45-reasm.diff939
-rw-r--r--network/ngrep/ngrep.SlackBuild59
-rw-r--r--network/ngrep/ngrep.info12
-rw-r--r--network/ngrep/slack-desc2
-rw-r--r--network/ngrok/README5
-rw-r--r--network/ngrok/ngrok.SlackBuild92
-rw-r--r--network/ngrok/ngrok.info10
-rw-r--r--network/ngrok/slack-desc19
-rw-r--r--network/nheko/README26
-rw-r--r--network/nheko/doinst.sh9
-rw-r--r--network/nheko/douninst.sh9
-rw-r--r--network/nheko/nheko.SlackBuild145
-rw-r--r--network/nheko/nheko.info16
-rw-r--r--network/nheko/slack-desc19
-rw-r--r--network/niceshaper/niceshaper.SlackBuild22
-rw-r--r--network/nicotine+/nicotine+.SlackBuild19
-rw-r--r--network/nicotine+/nicotine+.info8
-rw-r--r--network/nikto/README35
-rw-r--r--network/nikto/nikto.SlackBuild16
-rw-r--r--network/nikto/nikto.info2
-rw-r--r--network/nload/nload.SlackBuild22
-rw-r--r--network/nmh/nmh.SlackBuild18
-rw-r--r--network/nmh/nmh.info6
-rw-r--r--network/noip2/noip2.SlackBuild16
-rw-r--r--network/nordvpn/README10
-rw-r--r--network/nordvpn/doinst.sh6
-rw-r--r--network/nordvpn/nordvpn.SlackBuild73
-rw-r--r--network/nordvpn/nordvpn.info10
-rw-r--r--network/nordvpn/rc.nordvpn61
-rw-r--r--network/nrpe/README12
-rw-r--r--network/nrpe/nrpe.SlackBuild22
-rw-r--r--network/nsca/README6
-rw-r--r--network/nsca/nsca.SlackBuild16
-rw-r--r--network/nsd/README14
-rw-r--r--network/nsd/nsd.SlackBuild19
-rw-r--r--network/nsd/nsd.logrotate2
-rw-r--r--network/nsd/rc.nsd2
-rw-r--r--network/nss-mdns/README15
-rw-r--r--network/nss-mdns/nss-mdns.SlackBuild18
-rw-r--r--network/nss-tls/README23
-rw-r--r--network/nss-tls/README_SBo.txt64
-rw-r--r--network/nss-tls/doinst.sh12
-rw-r--r--network/nss-tls/nss-tls.SlackBuild120
-rw-r--r--network/nss-tls/nss-tls.conf27
-rw-r--r--network/nss-tls/nss-tls.info10
-rw-r--r--network/nss-tls/nss-tlsd-user.sh20
-rw-r--r--network/nss-tls/nss-tlsd.default8
-rw-r--r--network/nss-tls/per_user_dir.diff23
-rw-r--r--network/nss-tls/rc.nss-tlsd55
-rw-r--r--network/nss-tls/slack-desc19
-rw-r--r--network/ntop/README24
-rw-r--r--network/ntop/README.SLACKWARE185
-rw-r--r--network/ntop/doinst.sh31
-rw-r--r--network/ntop/no_downloads.patch48
-rw-r--r--network/ntop/ntop-5.0.1-librrd.patch31
-rw-r--r--network/ntop/ntop.SlackBuild160
-rw-r--r--network/ntop/ntop.info10
-rw-r--r--network/ntop/ntop.logrotate11
-rw-r--r--network/ntop/rc.ntop95
-rw-r--r--network/ntop/slack-desc19
-rw-r--r--network/ntpclient/ntpclient.SlackBuild24
-rw-r--r--network/nweb/README23
-rw-r--r--network/nweb/README.client64
-rw-r--r--network/nweb/nweb.SlackBuild99
-rw-r--r--network/nweb/nweb.info10
-rw-r--r--network/nweb/slack-desc19
-rw-r--r--network/nxclient/nxclient.SlackBuild35
-rw-r--r--network/nyxt/README3
-rw-r--r--network/nyxt/doinst.sh9
-rw-r--r--network/nyxt/nyxt.SlackBuild89
-rw-r--r--network/nyxt/nyxt.info10
-rw-r--r--network/nyxt/slack-desc19
-rw-r--r--network/nzbget/nzbget.SlackBuild16
-rw-r--r--network/ocserv/README39
-rw-r--r--network/ocserv/doinst.sh23
-rw-r--r--network/ocserv/ocserv.SlackBuild119
-rw-r--r--network/ocserv/ocserv.conf779
-rw-r--r--network/ocserv/ocserv.info10
-rw-r--r--network/ocserv/rc.ocserv55
-rw-r--r--network/ocserv/slack-desc19
-rw-r--r--network/offlineimap/README3
-rw-r--r--network/offlineimap/offlineimap.SlackBuild18
-rw-r--r--network/offlineimap/offlineimap.info8
-rw-r--r--network/oidentd/README13
-rw-r--r--network/oidentd/oidentd.SlackBuild16
-rw-r--r--network/oinkmaster/oinkmaster.SlackBuild16
-rw-r--r--network/oinkmaster/oinkmaster.info2
-rw-r--r--network/onedrive/onedrive.SlackBuild21
-rw-r--r--network/onedrive/onedrive.info6
-rw-r--r--network/onioncat/README10
-rw-r--r--network/onioncat/onioncat.SlackBuild30
-rw-r--r--network/onioncat/onioncat.info8
-rw-r--r--network/onioncat/slack-desc4
-rw-r--r--network/onionshare/README11
-rw-r--r--network/onionshare/onionshare.SlackBuild16
-rw-r--r--network/onionshare/onionshare.info2
-rw-r--r--network/onyx/onyx.SlackBuild18
-rw-r--r--network/ookla-speedtest/README17
-rw-r--r--network/ookla-speedtest/ookla-speedtest.SlackBuild93
-rw-r--r--network/ookla-speedtest/ookla-speedtest.info10
-rw-r--r--network/ookla-speedtest/slack-desc19
-rw-r--r--network/open-iscsi/doinst.sh13
-rw-r--r--network/open-iscsi/include_sysmacros.patch11
-rw-r--r--network/open-iscsi/open-iscsi.SlackBuild32
-rw-r--r--network/open-iscsi/open-iscsi.info6
-rw-r--r--network/open-iscsi/remove_werror.patch24
-rw-r--r--network/open-isns/doinst.sh13
-rw-r--r--network/open-isns/open-isns.SlackBuild22
-rw-r--r--network/open-isns/open-isns.info6
-rw-r--r--network/openconnect-sso/README11
-rw-r--r--network/openconnect-sso/openconnect-sso.SlackBuild89
-rw-r--r--network/openconnect-sso/openconnect-sso.info10
-rw-r--r--network/openconnect-sso/slack-desc19
-rw-r--r--network/openconnect/README7
-rw-r--r--network/openconnect/libxml-fix.patch10
-rw-r--r--network/openconnect/openconnect.SlackBuild23
-rw-r--r--network/openconnect/openconnect.info6
-rw-r--r--network/opendchub/README3
-rw-r--r--network/opendchub/opendchub.SlackBuild20
-rw-r--r--network/opendkim/README3
-rw-r--r--network/opendkim/opendkim.SlackBuild40
-rw-r--r--network/opendkim/openssl_1.1.0_compat.patch90
-rw-r--r--network/opendkim/rc.opendkim9
-rw-r--r--network/opendmarc/README5
-rw-r--r--network/opendmarc/opendmarc.SlackBuild51
-rw-r--r--network/opendmarc/opendmarc.info6
-rw-r--r--network/opendmarc/patches/fix-generic-init-script.diff36
-rw-r--r--network/opendmarc/patches/pull116.diff131
-rw-r--r--network/opendmarc/patches/pull172.diff58
-rw-r--r--network/opendmarc/patches/pull178.diff36
-rw-r--r--network/opendmarc/patches/ticket137.patch51
-rw-r--r--network/opendmarc/patches/ticket146.patch110
-rw-r--r--network/opendmarc/patches/ticket153.patch35
-rw-r--r--network/opendmarc/patches/ticket180.patch280
-rw-r--r--network/opendmarc/patches/ticket193-fixed.patch177
-rw-r--r--network/opendmarc/patches/ticket193.patch193
-rw-r--r--network/opendmarc/patches/ticket203.patch26
-rw-r--r--network/opendmarc/patches/ticket207-fixed.patch49
-rw-r--r--network/opendmarc/patches/ticket207.patch49
-rw-r--r--network/opendmarc/patches/ticket208-fixed.patch115
-rw-r--r--network/opendmarc/patches/ticket208.patch116
-rw-r--r--network/opendmarc/patches/ticket227.patch40
-rw-r--r--network/opendmarc/patches/z00_ticket138_v3.patch83
-rw-r--r--network/opendmarc/patches/z06_use_envdomain_SPF_logging.patch13
-rw-r--r--network/openfire/openfire.SlackBuild16
-rw-r--r--network/openfire/openfire.info2
-rw-r--r--network/openfortivpn/openfortivpn.SlackBuild18
-rw-r--r--network/openfortivpn/openfortivpn.info6
-rw-r--r--network/openl2tp/Makefile.diff11
-rw-r--r--network/openl2tp/README17
-rw-r--r--network/openl2tp/README.SLACKWARE24
-rw-r--r--network/openl2tp/doinst.sh27
-rw-r--r--network/openl2tp/openl2tp.SlackBuild88
-rw-r--r--network/openl2tp/openl2tp.info10
-rw-r--r--network/openl2tp/sample.conf17
-rw-r--r--network/openl2tp/slack-desc19
-rw-r--r--network/openldap-server/README22
-rw-r--r--network/openldap-server/README.SLACKWARE103
-rw-r--r--network/openldap-server/doinst.sh28
-rw-r--r--network/openldap-server/openldap-server.SlackBuild255
-rw-r--r--network/openldap-server/openldap-server.info10
-rw-r--r--network/openldap-server/rc.openldap100
-rw-r--r--network/openldap-server/slack-desc19
-rw-r--r--network/openldap-server/slapd16
-rw-r--r--network/openntpd/README18
-rw-r--r--network/openntpd/openntpd.SlackBuild21
-rw-r--r--network/openntpd/openntpd.info6
-rw-r--r--network/openntpd/patches/01-ntpctl_rename.diff23
-rw-r--r--network/openntpd/patches/02-ntpd_8_clean.diff9
-rw-r--r--network/openrdate/README5
-rw-r--r--network/openrdate/openrdate.SlackBuild77
-rw-r--r--network/openrdate/openrdate.info10
-rw-r--r--network/openrdate/slack-desc19
-rw-r--r--network/openresolv/README17
-rw-r--r--network/openresolv/doinst.sh18
-rw-r--r--network/openresolv/openresolv.SlackBuild114
-rw-r--r--network/openresolv/openresolv.info10
-rw-r--r--network/openresolv/slack-desc19
-rw-r--r--network/openresolv/update-resolv-conf54
-rw-r--r--network/openresty/README40
-rw-r--r--network/openresty/doinst.sh35
-rw-r--r--network/openresty/openresty.SlackBuild195
-rw-r--r--network/openresty/openresty.info10
-rw-r--r--network/openresty/openresty.logrotate12
-rw-r--r--network/openresty/rc.openresty96
-rw-r--r--network/openresty/slack-desc19
-rw-r--r--network/opensm/README4
-rw-r--r--network/opensm/opensm.SlackBuild23
-rw-r--r--network/opensm/opensm.info6
-rw-r--r--network/opensmtpd-extras/opensmtpd-extras.SlackBuild16
-rw-r--r--network/opensmtpd-filter-dkimsign/README13
-rw-r--r--network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.SlackBuild98
-rw-r--r--network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.info10
-rw-r--r--network/opensmtpd-filter-dkimsign/slack-desc19
-rw-r--r--network/opensmtpd/README28
-rw-r--r--network/opensmtpd/README.alpine21
-rw-r--r--network/opensmtpd/aliases34
-rw-r--r--network/opensmtpd/fix-crash-on-authentication.patch43
-rw-r--r--network/opensmtpd/openbsd64-020-smtpd.patch31
-rw-r--r--network/opensmtpd/openbsd65-029-smptd-tls.patch52
-rw-r--r--network/opensmtpd/openbsd65-031-smtpd-envelope.patch199
-rw-r--r--network/opensmtpd/openbsd66-019-smtpd-exec.patch46
-rw-r--r--network/opensmtpd/opensmtpd.SlackBuild72
-rw-r--r--network/opensmtpd/opensmtpd.info10
-rw-r--r--network/opensmtpd/rc.opensmtpd13
-rw-r--r--network/openssh-krb5/README12
-rw-r--r--network/openssh-krb5/doinst.sh26
-rw-r--r--network/openssh-krb5/openssh-7.4p1-libwrap.diff.gzbin1631 -> 0 bytes
-rw-r--r--network/openssh-krb5/openssh-krb5.SlackBuild126
-rw-r--r--network/openssh-krb5/openssh-krb5.info10
-rw-r--r--network/openssh-krb5/rc.sshd.krb559
-rw-r--r--network/openssh-krb5/slack-desc19
-rw-r--r--network/openvas-cli/README4
-rw-r--r--network/openvas-cli/openvas-cli.SlackBuild100
-rw-r--r--network/openvas-cli/openvas-cli.info10
-rw-r--r--network/openvas-cli/slack-desc19
-rw-r--r--network/openvas-libraries/README4
-rw-r--r--network/openvas-libraries/openvas-libraries.SlackBuild97
-rw-r--r--network/openvas-libraries/openvas-libraries.info10
-rw-r--r--network/openvas-libraries/slack-desc19
-rw-r--r--network/openvas-manager/README4
-rw-r--r--network/openvas-manager/doinst.sh27
-rw-r--r--network/openvas-manager/openvas-manager.SlackBuild109
-rw-r--r--network/openvas-manager/openvas-manager.info10
-rw-r--r--network/openvas-manager/rc.openvasmd47
-rw-r--r--network/openvas-manager/slack-desc19
-rw-r--r--network/openvas-scanner/README4
-rw-r--r--network/openvas-scanner/doinst.sh25
-rw-r--r--network/openvas-scanner/openvas-scanner.SlackBuild107
-rw-r--r--network/openvas-scanner/openvas-scanner.info10
-rw-r--r--network/openvas-scanner/rc.openvassd55
-rw-r--r--network/openvas-scanner/slack-desc19
-rw-r--r--network/openvswitch-utils/README23
-rw-r--r--network/openvswitch-utils/openvswitch-utils.SlackBuild30
-rw-r--r--network/openvswitch-utils/openvswitch-utils.info8
-rw-r--r--network/openvswitch-utils/rc.openvswitch12
-rw-r--r--network/opera-developer/README16
-rw-r--r--network/opera-developer/doinst.sh13
-rw-r--r--network/opera-developer/eula.html287
-rw-r--r--network/opera-developer/opera-developer.SlackBuild101
-rw-r--r--network/opera-developer/opera-developer.info10
-rw-r--r--network/opera-developer/privacy.html353
-rw-r--r--network/opera-developer/slack-desc19
-rw-r--r--network/opera-developer/terms.html285
-rw-r--r--network/opera-legacy/README14
-rw-r--r--network/opera-legacy/doinst.sh14
-rw-r--r--network/opera-legacy/opera-legacy.SlackBuild97
-rw-r--r--network/opera-legacy/opera-legacy.info10
-rw-r--r--network/opera-legacy/slack-desc19
-rw-r--r--network/opera/README7
-rw-r--r--network/opera/opera.SlackBuild23
-rw-r--r--network/opera/opera.info10
-rw-r--r--network/otter/otter.SlackBuild22
-rw-r--r--network/otter/otter.info10
-rw-r--r--network/owncloud-client/README26
-rw-r--r--network/owncloud-client/owncloud-client.SlackBuild26
-rw-r--r--network/owncloud-client/owncloud-client.info12
-rw-r--r--network/owncloud-server/README25
-rw-r--r--network/owncloud-server/owncloud-server.SlackBuild16
-rw-r--r--network/p0f/README12
-rw-r--r--network/p0f/p0f.SlackBuild22
-rw-r--r--network/pCloudDrive/README47
-rw-r--r--network/pCloudDrive/pCloudDrive.SlackBuild22
-rw-r--r--network/packETH/packETH.SlackBuild21
-rw-r--r--network/packETH/packETH.info6
-rw-r--r--network/packit/README13
-rw-r--r--network/packit/packit.SlackBuild20
-rw-r--r--network/paho-mqtt-c/README8
-rw-r--r--network/paho-mqtt-c/paho-mqtt-c.SlackBuild121
-rw-r--r--network/paho-mqtt-c/paho-mqtt-c.info10
-rw-r--r--network/paho-mqtt-c/slack-desc19
-rw-r--r--network/palemoon-bin/README13
-rw-r--r--network/palemoon-bin/palemoon-bin.SlackBuild24
-rw-r--r--network/palemoon-bin/palemoon-bin.info10
-rw-r--r--network/palemoon/README8
-rw-r--r--network/palemoon/glib-c-arc4random.c.patch20
-rw-r--r--network/palemoon/palemoon.SlackBuild72
-rw-r--r--network/palemoon/palemoon.info12
-rw-r--r--network/pastebincl/pastebincl.SlackBuild16
-rw-r--r--network/pdns-recursor/pdns-recursor.SlackBuild31
-rw-r--r--network/pdns-recursor/pdns-recursor.info6
-rw-r--r--network/pdns/README4
-rw-r--r--network/pdns/pdns.SlackBuild30
-rw-r--r--network/pdns/pdns.info8
-rw-r--r--network/pdnsd/README13
-rw-r--r--network/pdnsd/doinst.sh23
-rw-r--r--network/pdnsd/pdnsd.SlackBuild96
-rw-r--r--network/pdnsd/pdnsd.info10
-rw-r--r--network/pdnsd/rc.pdnsd78
-rw-r--r--network/pdnsd/slack-desc19
-rw-r--r--network/pebrot/pebrot.SlackBuild16
-rw-r--r--network/pentadactyl/README11
-rw-r--r--network/pentadactyl/pentadactyl.SlackBuild86
-rw-r--r--network/pentadactyl/pentadactyl.info10
-rw-r--r--network/pentadactyl/slack-desc19
-rw-r--r--network/periscope/README8
-rw-r--r--network/periscope/periscope.SlackBuild16
-rw-r--r--network/persepolis/persepolis.SlackBuild16
-rw-r--r--network/persepolis/persepolis.info4
-rw-r--r--network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild36
-rw-r--r--network/pexip-infinity-connect/pexip-infinity-connect.desktop4
-rw-r--r--network/pexip-infinity-connect/pexip-infinity-connect.info6
-rw-r--r--network/pflogsumm/README6
-rw-r--r--network/pflogsumm/pflogsumm.SlackBuild16
-rw-r--r--network/pfqueue/README6
-rw-r--r--network/pfqueue/pfqueue.SlackBuild20
-rw-r--r--network/pgbouncer/pgbouncer.SlackBuild22
-rw-r--r--network/pgbouncer/pgbouncer.info2
-rw-r--r--network/pgl/README4
-rw-r--r--network/pgl/doinst.sh30
-rw-r--r--network/pgl/pgl.SlackBuild90
-rw-r--r--network/pgl/pgl.info10
-rw-r--r--network/pgl/slack-desc19
-rw-r--r--network/pgpool-II/README4
-rw-r--r--network/pgpool-II/pgpool-II.SlackBuild22
-rw-r--r--network/pgpool-II/pgpool-II.info8
-rw-r--r--network/pgpool-II/slack-desc2
-rw-r--r--network/phodav/phodav.SlackBuild35
-rw-r--r--network/phodav/phodav.info8
-rw-r--r--network/phpmyadmin/README9
-rw-r--r--network/phpmyadmin/phpmyadmin.SlackBuild18
-rw-r--r--network/phpmyadmin/phpmyadmin.info6
-rw-r--r--network/phppgadmin/README12
-rw-r--r--network/phppgadmin/doinst.sh14
-rw-r--r--network/phppgadmin/http-pgadmin.conf17
-rw-r--r--network/phppgadmin/phppgadmin.SlackBuild91
-rw-r--r--network/phppgadmin/phppgadmin.info10
-rw-r--r--network/phppgadmin/slack-desc19
-rw-r--r--network/pidgin-authorization-blocker/pidgin-authorization-blocker.SlackBuild22
-rw-r--r--network/pidgin-birthday-reminder/pidgin-birthday-reminder.SlackBuild22
-rw-r--r--network/pidgin-extprefs/pidgin-extprefs.SlackBuild16
-rw-r--r--network/pidgin-gfire/pidgin-gfire.SlackBuild16
-rw-r--r--network/pidgin-musictracker/pidgin-musictracker.SlackBuild35
-rw-r--r--network/pidgin-nudge/README6
-rw-r--r--network/pidgin-nudge/pidgin-nudge.SlackBuild20
-rw-r--r--network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild20
-rw-r--r--network/pidgin-opensteamworks/pidgin-opensteamworks.info4
-rw-r--r--network/pidgin-otr/README7
-rw-r--r--network/pidgin-otr/pidgin-otr.SlackBuild22
-rw-r--r--network/pidgin-privacy-please/README3
-rw-r--r--network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild19
-rw-r--r--network/pidgin-sipe/README6
-rw-r--r--network/pidgin-sipe/pidgin-sipe.SlackBuild21
-rw-r--r--network/pidgin-sipe/pidgin-sipe.info6
-rw-r--r--network/pidgin-sound/README4
-rw-r--r--network/pidgin-sound/pidgin-sound.SlackBuild22
-rw-r--r--network/pidgin-toobars/pidgin-toobars.SlackBuild16
-rw-r--r--network/pidgin-toolbar-shrink/pidgin-toolbar-shrink.SlackBuild22
-rw-r--r--network/pidgin-visnotes/pidgin-visnotes.SlackBuild22
-rw-r--r--network/pidgin-whatsapp/pidgin-whatsapp.SlackBuild22
-rw-r--r--network/pidgin-whatsapp/pidgin-whatsapp.info2
-rw-r--r--network/pirate-get/README3
-rw-r--r--network/pirate-get/pirate-get.SlackBuild16
-rw-r--r--network/pirate-get/pirate-get.info2
-rw-r--r--network/plasma-nm-openconnect/README4
-rw-r--r--network/plasma-nm-openconnect/plasma-nm-openconnect.SlackBuild117
-rw-r--r--network/plasma-nm-openconnect/plasma-nm-openconnect.info10
-rw-r--r--network/plasma-nm-openconnect/slack-desc19
-rw-r--r--network/plowshare-modules/plowshare-modules.SlackBuild22
-rw-r--r--network/plowshare-modules/plowshare-modules.info6
-rw-r--r--network/plowshare/README23
-rw-r--r--network/plowshare/plowshare.SlackBuild16
-rw-r--r--network/pmacct/README13
-rw-r--r--network/pmacct/pmacct.SlackBuild20
-rw-r--r--network/policyd/policyd.SlackBuild20
-rw-r--r--network/policyd2/README10
-rw-r--r--network/policyd2/policyd2.SlackBuild22
-rw-r--r--network/polipo/README44
-rw-r--r--network/polipo/doinst.sh7
-rw-r--r--network/polipo/douninst.sh6
-rw-r--r--network/polipo/polipo.SlackBuild22
-rw-r--r--network/polipo/polipo.info2
-rw-r--r--network/postfix-pgsql/README7
-rw-r--r--network/postfix-pgsql/doinst.sh14
-rw-r--r--network/postfix-pgsql/postfix-pgsql.SlackBuild118
-rw-r--r--network/postfix-pgsql/postfix-pgsql.info10
-rw-r--r--network/postfix-pgsql/slack-desc19
-rw-r--r--network/postfix/README39
-rw-r--r--network/postfix/doinst.sh40
-rw-r--r--network/postfix/patches/postconf.diff31
-rw-r--r--network/postfix/postfix.SlackBuild199
-rw-r--r--network/postfix/postfix.info10
-rw-r--r--network/postfix/rc.postfix67
-rw-r--r--network/postfix/slack-desc19
-rw-r--r--network/postgrey/README4
-rw-r--r--network/postgrey/postgrey.SlackBuild22
-rw-r--r--network/pounce/README19
-rw-r--r--network/pounce/pounce.SlackBuild92
-rw-r--r--network/pounce/pounce.info10
-rw-r--r--network/pounce/slack-desc19
-rw-r--r--network/pound/README10
-rw-r--r--network/pound/README.SLACKWARE12
-rw-r--r--network/pound/doinst.sh26
-rw-r--r--network/pound/pound.SlackBuild122
-rw-r--r--network/pound/pound.cfg.new60
-rw-r--r--network/pound/pound.info10
-rw-r--r--network/pound/pound.logrotate23
-rw-r--r--network/pound/rc.pound.new103
-rw-r--r--network/pound/slack-desc19
-rw-r--r--network/pptp/pptp.SlackBuild24
-rw-r--r--network/pptp/pptp.info6
-rw-r--r--network/pptpd/README5
-rw-r--r--network/pptpd/patches/fix_plugins_patchlevel_h.diff4
-rw-r--r--network/pptpd/pptpd.SlackBuild24
-rw-r--r--network/prettyping/README7
-rw-r--r--network/prettyping/prettyping.SlackBuild73
-rw-r--r--network/prettyping/prettyping.info10
-rw-r--r--network/prettyping/slack-desc19
-rw-r--r--network/privoxy/privoxy.SlackBuild32
-rw-r--r--network/privoxy/privoxy.info6
-rw-r--r--network/profanity/README2
-rw-r--r--network/profanity/profanity.SlackBuild22
-rw-r--r--network/profanity/profanity.info6
-rw-r--r--network/prosody-mod-block-strangers/prosody-mod-block-strangers.SlackBuild16
-rw-r--r--network/prosody-mod-block-strangers/prosody-mod-block-strangers.info6
-rw-r--r--network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.SlackBuild20
-rw-r--r--network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.info6
-rw-r--r--network/prosody-mod-csi/README5
-rw-r--r--network/prosody-mod-csi/prosody-mod-csi.SlackBuild83
-rw-r--r--network/prosody-mod-csi/prosody-mod-csi.info10
-rw-r--r--network/prosody-mod-csi/slack-desc19
-rw-r--r--network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.SlackBuild19
-rw-r--r--network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.info4
-rw-r--r--network/prosody-mod-http-upload/prosody-mod-http-upload.SlackBuild20
-rw-r--r--network/prosody-mod-http-upload/prosody-mod-http-upload.info6
-rw-r--r--network/prosody-mod-smacks/README5
-rw-r--r--network/prosody-mod-smacks/prosody-mod-smacks.SlackBuild83
-rw-r--r--network/prosody-mod-smacks/prosody-mod-smacks.info10
-rw-r--r--network/prosody-mod-smacks/slack-desc19
-rw-r--r--network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.SlackBuild16
-rw-r--r--network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.info4
-rw-r--r--network/prosody-mod-turncredentials/README3
-rw-r--r--network/prosody-mod-turncredentials/prosody-mod-turncredentials.SlackBuild16
-rw-r--r--network/prosody-mod-turncredentials/prosody-mod-turncredentials.info2
-rw-r--r--network/prosody-mod-vcard-muc/README5
-rw-r--r--network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.SlackBuild23
-rw-r--r--network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.info6
-rw-r--r--network/prosody/prosody.SlackBuild18
-rw-r--r--network/prosody/prosody.info6
-rw-r--r--network/protonmail-bridge/README17
-rw-r--r--network/protonmail-bridge/doinst.sh6
-rw-r--r--network/protonmail-bridge/protonmail-bridge.SlackBuild26
-rw-r--r--network/protonmail-bridge/protonmail-bridge.info8
-rw-r--r--network/protonmail-bridge/slack-desc2
-rw-r--r--network/protonmail-import-export-app/doinst.sh6
-rw-r--r--network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild22
-rw-r--r--network/protonmail-import-export-app/protonmail-import-export-app.info8
-rw-r--r--network/protonvpn-cli/README4
-rw-r--r--network/protonvpn-cli/protonvpn-cli.SlackBuild20
-rw-r--r--network/protonvpn-cli/protonvpn-cli.info10
-rw-r--r--network/protonvpn-cli/slack-desc4
-rw-r--r--network/proxychains/proxychains.SlackBuild26
-rw-r--r--network/proxychains/proxychains.info8
-rw-r--r--network/proxymini/README9
-rw-r--r--network/proxymini/proxymini.SlackBuild22
-rw-r--r--network/proxytunnel/README8
-rw-r--r--network/proxytunnel/proxytunnel.SlackBuild26
-rw-r--r--network/psad/README11
-rw-r--r--network/psad/psad.SlackBuild16
-rw-r--r--network/psi-plus/README28
-rw-r--r--network/psi-plus/psi-plus.SlackBuild43
-rw-r--r--network/psi-plus/psi-plus.info10
-rw-r--r--network/psi/README6
-rw-r--r--network/psi/psi.SlackBuild38
-rw-r--r--network/psi/psi.info10
-rw-r--r--network/ptokax/ptokax.SlackBuild22
-rw-r--r--network/pubnub-curses/pubnub-curses.SlackBuild16
-rw-r--r--network/pulse-sms/pulse-sms.SlackBuild17
-rw-r--r--network/pulse-sms/pulse-sms.info8
-rw-r--r--network/pure-ftpd/pure-ftpd.SlackBuild18
-rw-r--r--network/pure-ftpd/pure-ftpd.info10
-rw-r--r--network/purple-facebook/purple-facebook.SlackBuild18
-rw-r--r--network/purple-facebook/purple-facebook.info4
-rw-r--r--network/purple-googlechat/README6
-rw-r--r--network/purple-googlechat/purple-googlechat.SlackBuild98
-rw-r--r--network/purple-googlechat/purple-googlechat.info10
-rw-r--r--network/purple-googlechat/slack-desc19
-rw-r--r--network/purple-gowhatsapp/purple-gowhatsapp.SlackBuild16
-rw-r--r--network/purple-hangouts/purple-hangouts.SlackBuild16
-rw-r--r--network/purple-hangouts/purple-hangouts.info4
-rw-r--r--network/purple-plugin-pack/README9
-rw-r--r--network/purple-plugin-pack/purple-plugin-pack.SlackBuild16
-rw-r--r--network/purple-plugin-pack/purple-plugin-pack.info6
-rw-r--r--network/purple-teams/README9
-rw-r--r--network/purple-teams/purple-teams.SlackBuild98
-rw-r--r--network/purple-teams/purple-teams.info10
-rw-r--r--network/purple-teams/slack-desc19
-rw-r--r--network/purple-telegram/purple-telegram.SlackBuild16
-rw-r--r--network/purple-telegram/purple-telegram.info2
-rw-r--r--network/putty/putty.SlackBuild36
-rw-r--r--network/putty/putty.info6
-rw-r--r--network/pyNeighborhood/pyNeighborhood.SlackBuild16
-rw-r--r--network/pyNeighborhood/pyNeighborhood.info2
-rw-r--r--network/pydio-agent/pydio-agent.SlackBuild18
-rw-r--r--network/pydio-sync/pydio-sync.SlackBuild16
-rw-r--r--network/pydio-sync/pydio-sync.info2
-rw-r--r--network/pysub-dl/pysub-dl.SlackBuild16
-rw-r--r--network/pysub-dl/pysub-dl.info2
-rw-r--r--network/python-onedrive/README2
-rw-r--r--network/python-onedrive/python-onedrive.SlackBuild16
-rw-r--r--network/python3-CherryMusic/README16
-rw-r--r--network/python3-CherryMusic/doinst.sh (renamed from network/DarTui/doinst.sh)0
-rw-r--r--network/python3-CherryMusic/python3-CherryMusic.SlackBuild104
-rw-r--r--network/python3-CherryMusic/python3-CherryMusic.info10
-rw-r--r--network/python3-CherryMusic/slack-desc19
-rw-r--r--network/python3-PyRSS2Gen/README6
-rw-r--r--network/python3-PyRSS2Gen/python3-PyRSS2Gen.SlackBuild100
-rw-r--r--network/python3-PyRSS2Gen/python3-PyRSS2Gen.info10
-rw-r--r--network/python3-PyRSS2Gen/slack-desc19
-rw-r--r--network/pyzor/pyzor.SlackBuild18
-rw-r--r--network/qTox/README4
-rw-r--r--network/qTox/qTox.SlackBuild24
-rw-r--r--network/qTox/qTox.info2
-rw-r--r--network/qbittorrent-qt5/README14
-rw-r--r--network/qbittorrent-qt5/README.SBo17
-rw-r--r--network/qbittorrent-qt5/doinst.sh24
-rw-r--r--network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild125
-rw-r--r--network/qbittorrent-qt5/qbittorrent-qt5.info10
-rw-r--r--network/qbittorrent-qt5/rc.qbittorrent-nox.new82
-rw-r--r--network/qbittorrent-qt5/slack-desc19
-rw-r--r--network/qbittorrent/README16
-rw-r--r--network/qbittorrent/README.SBo23
-rw-r--r--network/qbittorrent/README.nox17
-rw-r--r--network/qbittorrent/qbittorrent.SlackBuild100
-rw-r--r--network/qbittorrent/qbittorrent.info14
-rw-r--r--network/qbittorrent/rc.qbittorrent-nox.new4
-rw-r--r--network/qbittorrent/slack-desc18
-rw-r--r--network/qodem/README20
-rw-r--r--network/qodem/doinst.sh17
-rw-r--r--network/qodem/qodem-convert.1101
-rw-r--r--network/qodem/qodem-convert.rst67
-rw-r--r--network/qodem/qodem-x11.desktop10
-rw-r--r--network/qodem/qodem.SlackBuild172
-rw-r--r--network/qodem/qodem.desktop10
-rw-r--r--network/qodem/qodem.info10
-rw-r--r--network/qodem/slack-desc19
-rw-r--r--network/qtmib/README14
-rw-r--r--network/qtmib/doinst.sh6
-rw-r--r--network/qtmib/git2tarxz.sh47
-rw-r--r--network/qtmib/qtmib.SlackBuild52
-rw-r--r--network/qtmib/qtmib.info10
-rw-r--r--network/qtmib/slack-desc2
-rw-r--r--network/quagga/quagga.SlackBuild25
-rw-r--r--network/quagga/quagga.info4
-rw-r--r--network/quagga/vtysh_user.c.diff7
-rw-r--r--network/quagga/vtysh_user.c.diff.gzbin264 -> 0 bytes
-rw-r--r--network/quassel-qt5/README9
-rw-r--r--network/quassel-qt5/README.SBo19
-rw-r--r--network/quassel-qt5/quassel-qt5.SlackBuild111
-rw-r--r--network/quassel-qt5/quassel-qt5.info10
-rw-r--r--network/quassel-qt5/slack-desc19
-rw-r--r--network/quassel/README2
-rw-r--r--network/quassel/quassel.SlackBuild63
-rw-r--r--network/quassel/quassel.info10
-rw-r--r--network/quassel/slack-desc2
-rw-r--r--network/qutebrowser-bin/README19
-rw-r--r--network/qutebrowser-bin/README.SBo37
-rw-r--r--network/qutebrowser-bin/doinst.sh9
-rw-r--r--network/qutebrowser-bin/qutebrowser-bin.SlackBuild168
-rw-r--r--network/qutebrowser-bin/qutebrowser-bin.info46
-rw-r--r--network/qutebrowser-bin/slack-desc19
-rw-r--r--network/qutebrowser-bin/wrapper.qutebrowser3
-rw-r--r--network/qutebrowser-tox/README15
-rw-r--r--network/qutebrowser-tox/README.SBo34
-rw-r--r--network/qutebrowser-tox/qutebrowser-tox.SlackBuild156
-rw-r--r--network/qutebrowser-tox/qutebrowser-tox.info44
-rw-r--r--network/qutebrowser-tox/slack-desc19
-rw-r--r--network/qutebrowser-tox/wrapper.qutebrowser3
-rw-r--r--network/qutebrowser/README52
-rw-r--r--network/qutebrowser/qutebrowser.SlackBuild42
-rw-r--r--network/qutebrowser/qutebrowser.info12
-rw-r--r--network/qutebrowser/slack-desc6
-rw-r--r--network/quvi/README4
-rw-r--r--network/quvi/quvi.SlackBuild89
-rw-r--r--network/quvi/quvi.info10
-rw-r--r--network/quvi/slack-desc19
-rw-r--r--network/r2e/README15
-rw-r--r--network/r2e/README.Slackware14
-rw-r--r--network/r2e/doinst.sh12
-rw-r--r--network/r2e/fix-email-header-injection.patch33
-rw-r--r--network/r2e/r2e.SlackBuild79
-rw-r--r--network/r2e/r2e.info10
-rw-r--r--network/r2e/remove-newlines.patch20
-rw-r--r--network/r2e/rss2email.certver.patch11
-rw-r--r--network/r2e/slack-desc19
-rw-r--r--network/r2e/wrapper.r2e4
-rw-r--r--network/r8168/r8168.SlackBuild22
-rw-r--r--network/radicale/README6
-rw-r--r--network/radicale/doinst.sh6
-rw-r--r--network/radicale/radicale.SlackBuild84
-rw-r--r--network/radicale/radicale.info12
-rw-r--r--network/radicale/rc.radicale31
-rw-r--r--network/radiusplugin/radiusplugin.SlackBuild16
-rw-r--r--network/radvd/README24
-rw-r--r--network/radvd/radvd.SlackBuild21
-rw-r--r--network/radvd/radvd.info6
-rw-r--r--network/rclone/README26
-rw-r--r--network/rclone/rclone.SlackBuild32
-rw-r--r--network/rclone/rclone.info10
-rw-r--r--network/rdma-core/optional_pandoc.patch40
-rw-r--r--network/rdma-core/rdma-core.SlackBuild20
-rw-r--r--network/rdma-core/rdma-core.info6
-rw-r--r--network/reaver/README18
-rw-r--r--network/reaver/reaver.SlackBuild20
-rw-r--r--network/redir/redir.SlackBuild16
-rw-r--r--network/rejik/README6
-rw-r--r--network/rejik/rejik.SlackBuild26
-rw-r--r--network/rekonq/README1
-rw-r--r--network/rekonq/rekonq.SlackBuild77
-rw-r--r--network/rekonq/rekonq.info10
-rw-r--r--network/rekonq/slack-desc19
-rw-r--r--network/remmina/README3
-rw-r--r--network/remmina/remmina.SlackBuild28
-rw-r--r--network/remmina/remmina.info10
-rw-r--r--network/remmina/slack-desc2
-rw-r--r--network/remotebox/README8
-rw-r--r--network/remotebox/doinst.sh5
-rw-r--r--network/remotebox/remotebox.SlackBuild86
-rw-r--r--network/remotebox/remotebox.info10
-rw-r--r--network/remotebox/slack-desc19
-rw-r--r--network/republicanywhere/README16
-rw-r--r--network/republicanywhere/republicanywhere.SlackBuild16
-rw-r--r--network/resilio-sync/resilio-sync.SlackBuild16
-rw-r--r--network/retroshare/README2
-rw-r--r--network/retroshare/retroshare.SlackBuild34
-rw-r--r--network/retroshare/retroshare.info10
-rw-r--r--network/retroshare/slack-desc2
-rw-r--r--network/rhapsody/README2
-rw-r--r--network/rhapsody/rhapsody.SlackBuild57
-rw-r--r--network/rhapsody/rhapsody.info6
-rw-r--r--network/rhapsody/securityfix.diff54
-rw-r--r--network/riot-web/README31
-rw-r--r--network/riot-web/doinst.sh12
-rw-r--r--network/riot-web/riot-web.SlackBuild105
-rw-r--r--network/riot-web/riot-web.desktop15
-rw-r--r--network/riot-web/riot-web.info10
-rw-r--r--network/riot-web/riot-web.png.128bin7348 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.16bin673 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.24bin1118 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.256bin14743 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.48bin2620 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.512bin30435 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.64bin3652 -> 0 bytes
-rw-r--r--network/riot-web/riot-web.png.96bin5628 -> 0 bytes
-rw-r--r--network/riot-web/slack-desc19
-rw-r--r--network/roger-router/README31
-rw-r--r--network/roger-router/doinst.sh15
-rw-r--r--network/roger-router/roger-router.SlackBuild132
-rw-r--r--network/roger-router/roger-router.info10
-rw-r--r--network/roger-router/slack-desc19
-rw-r--r--network/roundcubemail/README24
-rw-r--r--network/roundcubemail/doinst.sh26
-rw-r--r--network/roundcubemail/roundcubemail.SlackBuild112
-rw-r--r--network/roundcubemail/roundcubemail.info10
-rw-r--r--network/roundcubemail/slack-desc19
-rw-r--r--network/rspamd/Toolset.cmake.patch16
-rw-r--r--network/rspamd/rc.rspamd.new7
-rw-r--r--network/rspamd/rspamd.SlackBuild62
-rw-r--r--network/rspamd/rspamd.info10
-rw-r--r--network/rss2email/4b36e28.patch239
-rw-r--r--network/rss2email/README12
-rw-r--r--network/rss2email/rss2email.SlackBuild20
-rw-r--r--network/rss2email/rss2email.info8
-rw-r--r--network/rss2email/slack-desc2
-rw-r--r--network/rssh/rssh.SlackBuild16
-rw-r--r--network/rtl8188eu/git2tarxz.sh64
-rw-r--r--network/rtl8188eu/rtl8188eu.SlackBuild32
-rw-r--r--network/rtl8188eu/rtl8188eu.info8
-rw-r--r--network/rtl8188fu/README4
-rw-r--r--network/rtl8188fu/conf/disable-random-mac.conf2
-rw-r--r--network/rtl8188fu/conf/r8188eu-blacklist.conf1
-rw-r--r--network/rtl8188fu/conf/rtl8188fu.conf1
-rw-r--r--network/rtl8188fu/conf/rtl8xxxu-blacklist.conf1
-rw-r--r--network/rtl8188fu/doinst.sh3
-rw-r--r--network/rtl8188fu/rtl8188fu.SlackBuild80
-rw-r--r--network/rtl8188fu/rtl8188fu.info10
-rw-r--r--network/rtl8188fu/slack-desc19
-rw-r--r--network/rtl8812bu/README15
-rw-r--r--network/rtl8812bu/README.md72
-rw-r--r--network/rtl8812bu/doinst.sh3
-rw-r--r--network/rtl8812bu/git2tarxz.sh44
-rw-r--r--network/rtl8812bu/rtl8812bu.SlackBuild79
-rw-r--r--network/rtl8812bu/rtl8812bu.info10
-rw-r--r--network/rtl8812bu/slack-desc19
-rw-r--r--network/rtl8821ce/rtl8821ce.SlackBuild19
-rw-r--r--network/rtl8821ce/rtl8821ce.info8
-rw-r--r--network/rtl8821ce/slack-desc2
-rw-r--r--network/rtorrent/README2
-rw-r--r--network/rtorrent/rtorrent.SlackBuild26
-rw-r--r--network/rtorrent/rtorrent.info2
-rw-r--r--network/rubygem-showterm/rubygem-showterm.SlackBuild20
-rw-r--r--network/rubygem-showterm/rubygem-showterm.info6
-rw-r--r--network/s-nail/README16
-rw-r--r--network/s-nail/doinst.sh13
-rw-r--r--network/s-nail/s-nail.SlackBuild135
-rw-r--r--network/s-nail/s-nail.info10
-rw-r--r--network/s-nail/slack-desc19
-rw-r--r--network/sabnzbd/README6
-rw-r--r--network/sabnzbd/sabnzbd.SlackBuild16
-rw-r--r--network/sabnzbd/sabnzbd.info2
-rw-r--r--network/scapy/scapy.SlackBuild29
-rw-r--r--network/scapy/scapy.info6
-rw-r--r--network/scrcpy/README2
-rw-r--r--network/scrcpy/doinst.sh9
-rw-r--r--network/scrcpy/scrcpy.SlackBuild25
-rw-r--r--network/scrcpy/scrcpy.info12
-rw-r--r--network/seadrive-fuse/README6
-rw-r--r--network/seadrive-fuse/seadrive-fuse.SlackBuild114
-rw-r--r--network/seadrive-fuse/seadrive-fuse.info10
-rw-r--r--network/seadrive-fuse/slack-desc19
-rw-r--r--network/seafile-client/seafile-client.SlackBuild103
-rw-r--r--network/seafile-client/seafile-client.info10
-rw-r--r--network/seafile-client/slack-desc19
-rw-r--r--network/seafile-server/patch-seafile-controller-pid-path.diff11
-rw-r--r--network/seafile-server/seafile-server.SlackBuild36
-rw-r--r--network/seafile-server/seafile-server.info6
-rw-r--r--network/seafile/README (renamed from network/seafile-client/README)0
-rw-r--r--network/seafile/seafile.SlackBuild116
-rw-r--r--network/seafile/seafile.info10
-rw-r--r--network/seafile/slack-desc19
-rw-r--r--network/seahub/README10
-rw-r--r--network/seahub/seahub.SlackBuild21
-rw-r--r--network/secpanel/secpanel.SlackBuild16
-rw-r--r--network/sendxmpp/README5
-rw-r--r--network/sendxmpp/patches/01.patch31
-rw-r--r--network/sendxmpp/patches/02.patch277
-rw-r--r--network/sendxmpp/patches/03.patch54
-rw-r--r--network/sendxmpp/patches/04.patch26
-rw-r--r--network/sendxmpp/patches/05.patch23
-rw-r--r--network/sendxmpp/patches/06.patch92
-rw-r--r--network/sendxmpp/patches/07.patch42
-rw-r--r--network/sendxmpp/patches/08.patch12
-rw-r--r--network/sendxmpp/sendxmpp.SlackBuild81
-rw-r--r--network/sendxmpp/sendxmpp.info10
-rw-r--r--network/sendxmpp/slack-desc19
-rw-r--r--network/serialmail/serialmail.SlackBuild16
-rw-r--r--network/session/README19
-rw-r--r--network/session/doinst.sh9
-rw-r--r--network/session/session-desktop.desktop10
-rw-r--r--network/session/session.SlackBuild92
-rw-r--r--network/session/session.info10
-rw-r--r--network/session/slack-desc19
-rw-r--r--network/sfeed/README4
-rw-r--r--network/sfeed/README.SLACKWARE8
-rw-r--r--network/sfeed/sfeed.SlackBuild24
-rw-r--r--network/sfeed/sfeed.info12
-rw-r--r--network/sflowtool/sflowtool.SlackBuild16
-rw-r--r--network/sftp-cloudfs/sftp-cloudfs.SlackBuild16
-rw-r--r--network/sftp-cloudfs/sftp-cloudfs.info4
-rw-r--r--network/shadowsocks-libev/shadowsocks-libev.SlackBuild20
-rw-r--r--network/shadowsocks-libev/shadowsocks-libev.info2
-rw-r--r--network/shibboleth-sp/README2
-rw-r--r--network/shibboleth-sp/shibboleth-sp.SlackBuild24
-rw-r--r--network/shibboleth-sp/shibboleth-sp.info6
-rw-r--r--network/shorewall-core/shorewall-core.SlackBuild16
-rw-r--r--network/shorewall/shorewall.SlackBuild16
-rw-r--r--network/shorewall6/shorewall6.SlackBuild16
-rw-r--r--network/sic/README18
-rw-r--r--network/sic/git2tarxz.sh44
-rw-r--r--network/sic/patches/README10
-rw-r--r--network/sic/sic.SlackBuild73
-rw-r--r--network/sic/sic.info8
-rw-r--r--network/sic/slack-desc2
-rw-r--r--network/sickrage/README11
-rw-r--r--network/sickrage/config.ini3
-rw-r--r--network/sickrage/doinst.sh27
-rw-r--r--network/sickrage/rc.sickrage107
-rw-r--r--network/sickrage/sickrage.SlackBuild97
-rw-r--r--network/sickrage/sickrage.conf6
-rw-r--r--network/sickrage/sickrage.info10
-rw-r--r--network/sickrage/slack-desc19
-rw-r--r--network/siege/README13
-rw-r--r--network/siege/siege-verbosity.patch28
-rw-r--r--network/siege/siege.SlackBuild52
-rw-r--r--network/siege/siege.info8
-rw-r--r--network/sieve-connect/sieve-connect.SlackBuild16
-rw-r--r--network/sieve-connect/sieve-connect.info2
-rw-r--r--network/signal-desktop/signal-desktop.SlackBuild30
-rw-r--r--network/signal-desktop/signal-desktop.info10
-rw-r--r--network/silc-toolkit/README8
-rw-r--r--network/silc-toolkit/silc-toolkit.SlackBuild26
-rw-r--r--network/sipcalc/sipcalc.SlackBuild16
-rw-r--r--network/sipp/sipp.SlackBuild50
-rw-r--r--network/sipp/sipp.info6
-rw-r--r--network/sks-keyserver/README26
-rw-r--r--network/sks-keyserver/doinst.sh25
-rw-r--r--network/sks-keyserver/rc.sks60
-rw-r--r--network/sks-keyserver/sks-keyserver.SlackBuild134
-rw-r--r--network/sks-keyserver/sks-keyserver.info12
-rw-r--r--network/sks-keyserver/slack-desc19
-rw-r--r--network/skype4pidgin/skype4pidgin.SlackBuild16
-rw-r--r--network/skype4pidgin/skype4pidgin.info2
-rw-r--r--network/skypeforlinux/README12
-rw-r--r--network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service4
-rw-r--r--network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf12
-rw-r--r--network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py27
-rw-r--r--network/skypeforlinux/skypeforlinux.SlackBuild32
-rw-r--r--network/skypeforlinux/skypeforlinux.info6
-rw-r--r--network/slack/slack.SlackBuild63
-rw-r--r--network/slack/slack.info10
-rw-r--r--network/slimjet/README24
-rw-r--r--network/slimjet/doinst.sh11
-rw-r--r--network/slimjet/files/slimjet.desktop224
-rw-r--r--network/slimjet/slack-desc19
-rw-r--r--network/slimjet/slimjet.SlackBuild100
-rw-r--r--network/slimjet/slimjet.desktop224
-rw-r--r--network/slimjet/slimjet.info10
-rw-r--r--network/slirp4netns/README20
-rw-r--r--network/slirp4netns/slirp4netns.SlackBuild18
-rw-r--r--network/slirp4netns/slirp4netns.info8
-rw-r--r--network/slowhttptest/README18
-rw-r--r--network/slowhttptest/slowhttptest.SlackBuild18
-rw-r--r--network/slowhttptest/slowhttptest.info6
-rw-r--r--network/slurm/README3
-rw-r--r--network/slurm/slurm.SlackBuild36
-rw-r--r--network/slurm/slurm.info6
-rw-r--r--network/smb4k/README3
-rw-r--r--network/smb4k/doinst.sh30
-rw-r--r--network/smb4k/find_mount_umount.patch366
-rw-r--r--network/smb4k/slack-desc19
-rw-r--r--network/smb4k/smb4k.SlackBuild108
-rw-r--r--network/smb4k/smb4k.info10
-rw-r--r--network/smcroute/README7
-rw-r--r--network/smcroute/smcroute.SlackBuild16
-rw-r--r--network/smstools3/destdir.patch97
-rw-r--r--network/smstools3/doinst.sh3
-rw-r--r--network/smstools3/fixups2.diff132
-rw-r--r--network/smstools3/smstools3.SlackBuild24
-rw-r--r--network/smstools3/smstools3.info2
-rw-r--r--network/smuxi/README7
-rw-r--r--network/smuxi/slack-desc19
-rw-r--r--network/smuxi/smuxi.SlackBuild99
-rw-r--r--network/smuxi/smuxi.info10
-rw-r--r--network/sngrep/README17
-rw-r--r--network/sngrep/slack-desc19
-rw-r--r--network/sngrep/sngrep.SlackBuild135
-rw-r--r--network/sngrep/sngrep.info10
-rw-r--r--network/sniffjoke/README5
-rw-r--r--network/sniffjoke/sniffjoke.SlackBuild22
-rw-r--r--network/sniffjoke/sniffjoke.info2
-rw-r--r--network/snmpsim/snmpsim.SlackBuild16
-rw-r--r--network/snmptt/snmptt.SlackBuild18
-rw-r--r--network/snort/README21
-rw-r--r--network/snort/snort.SlackBuild35
-rw-r--r--network/snort/snort.info8
-rw-r--r--network/sntpc/README4
-rw-r--r--network/sntpc/compilefix.diff45
-rw-r--r--network/sntpc/git2tarxz.sh44
-rw-r--r--network/sntpc/slack-desc19
-rw-r--r--network/sntpc/sntpc.898
-rw-r--r--network/sntpc/sntpc.SlackBuild77
-rw-r--r--network/sntpc/sntpc.info10
-rw-r--r--network/sntpc/sntpc.rst87
-rw-r--r--network/socat/README12
-rw-r--r--network/socat/slack-desc19
-rw-r--r--network/socat/socat.SlackBuild101
-rw-r--r--network/socat/socat.info10
-rw-r--r--network/social-engineer-toolkit/README6
-rw-r--r--network/social-engineer-toolkit/doinst.sh19
-rw-r--r--network/social-engineer-toolkit/slack-desc19
-rw-r--r--network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild82
-rw-r--r--network/social-engineer-toolkit/social-engineer-toolkit.info10
-rw-r--r--network/sopcast-player/sopcast-player.SlackBuild18
-rw-r--r--network/sopcast/sopcast.SlackBuild18
-rw-r--r--network/spamassassin/README11
-rw-r--r--network/spamassassin/spamassassin.SlackBuild24
-rw-r--r--network/spamassassin/spamassassin.info8
-rw-r--r--network/spambayes/README11
-rw-r--r--network/spambayes/spambayes.SlackBuild18
-rw-r--r--network/spawn-fcgi/spawn-fcgi.SlackBuild22
-rw-r--r--network/speedometer/README3
-rw-r--r--network/speedometer/changelog153
-rw-r--r--network/speedometer/slack-desc2
-rw-r--r--network/speedometer/speedometer.SlackBuild37
-rw-r--r--network/speedometer/speedometer.info10
-rw-r--r--network/speedometer/update-to-python3.patch174
-rw-r--r--network/speedtest-cli/README5
-rw-r--r--network/speedtest-cli/speedtest-cli.SlackBuild20
-rw-r--r--network/speedtest-cli/speedtest-cli.info6
-rw-r--r--network/sphinx/sphinx.SlackBuild16
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild75
-rw-r--r--network/spice-gtk/spice-gtk.info8
-rw-r--r--network/spice/README3
-rw-r--r--network/spice/spice.SlackBuild34
-rw-r--r--network/spice/spice.info8
-rw-r--r--network/sqlmap/sqlmap.SlackBuild16
-rw-r--r--network/sqlninja/README27
-rw-r--r--network/sqlninja/sqlninja.SlackBuild16
-rw-r--r--network/sqlninja/sqlninja.info2
-rw-r--r--network/sqlrelay/README13
-rw-r--r--network/sqlrelay/sqlrelay.SlackBuild26
-rw-r--r--network/sqlrelay/sqlrelay.info6
-rw-r--r--network/squid/README22
-rw-r--r--network/squid/README.SBo2
-rw-r--r--network/squid/doinst.sh1
-rw-r--r--network/squid/squid.SlackBuild55
-rw-r--r--network/squid/squid.info6
-rw-r--r--network/squidGuard/README2
-rw-r--r--network/squidGuard/doinst.sh14
-rw-r--r--network/squidGuard/rewrite.patch73
-rw-r--r--network/squidGuard/slack-desc19
-rw-r--r--network/squidGuard/squidGuard.SlackBuild119
-rw-r--r--network/squidGuard/squidGuard.info10
-rw-r--r--network/squidGuard/squidGuard.patch69
-rw-r--r--network/squidanalyzer/README7
-rw-r--r--network/squidanalyzer/squidanalyzer.SlackBuild16
-rw-r--r--network/squirrelmail/config.php.txt (renamed from network/squirrelmail/config.php)0
-rw-r--r--network/squirrelmail/config_local.php.txt (renamed from network/squirrelmail/config_local.php)0
-rw-r--r--network/squirrelmail/squirrelmail.SlackBuild20
-rw-r--r--network/ssh-chat/ssh-chat.SlackBuild15
-rw-r--r--network/ssh-chat/ssh-chat.info2
-rw-r--r--network/sshblock/sshblock.SlackBuild16
-rw-r--r--network/sshfp/sshfp.SlackBuild22
-rw-r--r--network/sshfp/sshfp.info4
-rw-r--r--network/sshfs-fuse/README12
-rw-r--r--network/sshfs-fuse/slack-desc19
-rw-r--r--network/sshfs-fuse/sshfs-fuse.SlackBuild115
-rw-r--r--network/sshfs-fuse/sshfs-fuse.info10
-rw-r--r--network/sshfs-fuse/sshfs.1.gzbin5085 -> 0 bytes
-rw-r--r--network/sshguard/README33
-rw-r--r--network/sshguard/doinst.sh1
-rw-r--r--network/sshguard/rc.sshguard116
-rw-r--r--network/sshguard/slack-desc12
-rw-r--r--network/sshguard/sshguard.SlackBuild38
-rw-r--r--network/sshguard/sshguard.conf17
-rw-r--r--network/sshguard/sshguard.info8
-rw-r--r--network/sshpass/sshpass.SlackBuild22
-rw-r--r--network/sshuttle/sshuttle.SlackBuild35
-rw-r--r--network/sshuttle/sshuttle.info8
-rw-r--r--network/sslh/sslh.SlackBuild16
-rw-r--r--network/ssllabs-scan/ssllabs-scan.SlackBuild16
-rw-r--r--network/sslscan/sslscan.SlackBuild29
-rw-r--r--network/sslscan/sslscan.info10
-rw-r--r--network/sslstrip/README6
-rw-r--r--network/sslstrip/slack-desc19
-rw-r--r--network/sslstrip/sslstrip.SlackBuild87
-rw-r--r--network/sslstrip/sslstrip.info10
-rw-r--r--network/ssmtp/README23
-rw-r--r--network/ssmtp/doinst.sh20
-rw-r--r--network/ssmtp/patches/01-configure_lcrypto.diff.gzbin226 -> 0 bytes
-rw-r--r--network/ssmtp/patches/02-configure_in_lcrypto.diff.gzbin295 -> 0 bytes
-rw-r--r--network/ssmtp/patches/03-557741-remote-addr.patch28
-rw-r--r--network/ssmtp/patches/04-508759-garbage.patch23
-rw-r--r--network/ssmtp/patches/fix-tls1.3-handshake.patch24
-rw-r--r--network/ssmtp/patches/ssmtp-bug584162-fix.patch120
-rw-r--r--network/ssmtp/patches/zzz_fix_warnings.patch189
-rw-r--r--network/ssmtp/ssmtp.SlackBuild78
-rw-r--r--network/ssmtp/ssmtp.info2
-rw-r--r--network/sstp-client/README18
-rw-r--r--network/sstp-client/sstp-client.SlackBuild32
-rw-r--r--network/sstp-client/sstp-client.info6
-rw-r--r--network/ssvnc/Makefile.patch20
-rw-r--r--network/ssvnc/README33
-rw-r--r--network/ssvnc/doinst.sh3
-rw-r--r--network/ssvnc/slack-desc19
-rw-r--r--network/ssvnc/ssvnc.SlackBuild95
-rw-r--r--network/ssvnc/ssvnc.info10
-rw-r--r--network/strongswan/README15
-rw-r--r--network/strongswan/strongswan.SlackBuild42
-rw-r--r--network/strongswan/strongswan.info6
-rw-r--r--network/surf/getkbdevice.diff61
-rw-r--r--network/surf/options.txt11
-rw-r--r--network/surf/patches.txt1
-rw-r--r--network/surf/patches/homepage.diff8
-rw-r--r--network/surf/patches/searchengines.diff68
-rw-r--r--network/surf/surf.SlackBuild48
-rw-r--r--network/surf/surf.info8
-rw-r--r--network/surfraw/surfraw.SlackBuild18
-rw-r--r--network/surfraw/surfraw.info4
-rw-r--r--network/suricata/README6
-rw-r--r--network/suricata/doinst.sh14
-rw-r--r--network/suricata/rc.suricata53
-rw-r--r--network/suricata/slack-desc19
-rw-r--r--network/suricata/suricata.SlackBuild126
-rw-r--r--network/suricata/suricata.info10
-rw-r--r--network/surl/surl.SlackBuild33
-rw-r--r--network/surl/surl.info2
-rw-r--r--network/swaks/swaks.SlackBuild16
-rw-r--r--network/swift/README5
-rw-r--r--network/swift/doinst.sh9
-rw-r--r--network/swift/slack-desc19
-rw-r--r--network/swift/swift-4.0.2-boost-1.69-compatibility.patch77
-rw-r--r--network/swift/swift-4.0.2-qt-5.11-compatibility.patch35
-rw-r--r--network/swift/swift-4.0.2-qt-5.15-compatibility.patch10
-rw-r--r--network/swift/swift-gcc11.patch13
-rw-r--r--network/swift/swift-python3.patch737
-rw-r--r--network/swift/swift.SlackBuild125
-rw-r--r--network/swift/swift.info10
-rw-r--r--network/sylpheed/README4
-rw-r--r--network/sylpheed/sylpheed.SlackBuild35
-rw-r--r--network/syncterm/0002-use-sched-yield-53264f2b.diff38
-rw-r--r--network/syncterm/README22
-rw-r--r--network/syncterm/doinst.sh9
-rw-r--r--network/syncterm/extract-icns.sh55
-rw-r--r--network/syncterm/icons/128.pngbin0 -> 18515 bytes
-rw-r--r--network/syncterm/icons/16.pngbin0 -> 686 bytes
-rw-r--r--network/syncterm/icons/32.pngbin0 -> 1882 bytes
-rw-r--r--network/syncterm/icons/48.pngbin0 -> 3482 bytes
-rw-r--r--network/syncterm/manpage.diff55
-rw-r--r--network/syncterm/slack-desc19
-rw-r--r--network/syncterm/syncterm.SlackBuild159
-rw-r--r--network/syncterm/syncterm.info10
-rw-r--r--network/syncthing/syncthing.SlackBuild24
-rw-r--r--network/syncthing/syncthing.info12
-rw-r--r--network/synergy/010_include_dns_sd.diff11
-rw-r--r--network/synergy/020_toolchain_commands.diff41
-rw-r--r--network/synergy/synergy.SlackBuild59
-rw-r--r--network/synergy/synergy.info8
-rw-r--r--network/t38modem/README21
-rw-r--r--network/t38modem/doinst.sh26
-rw-r--r--network/t38modem/rc.t38modem152
-rw-r--r--network/t38modem/rc.t38modem.conf40
-rw-r--r--network/t38modem/resetmodem28
-rw-r--r--network/t38modem/slack-desc19
-rw-r--r--network/t38modem/t38modem.SlackBuild109
-rw-r--r--network/t38modem/t38modem.info10
-rw-r--r--network/t50/t50.SlackBuild16
-rw-r--r--network/tahoe-lafs/README15
-rw-r--r--network/tahoe-lafs/slack-desc19
-rw-r--r--network/tahoe-lafs/tahoe-lafs.SlackBuild99
-rw-r--r--network/tahoe-lafs/tahoe-lafs.info10
-rw-r--r--network/tailscale/README18
-rw-r--r--network/tailscale/doinst.sh8
-rw-r--r--network/tailscale/slack-desc19
-rw-r--r--network/tailscale/tailscale.SlackBuild108
-rw-r--r--network/tailscale/tailscale.info12
-rw-r--r--network/tcpbench/README2
-rw-r--r--network/tcpbench/slack-desc19
-rw-r--r--network/tcpbench/tcpbench.SlackBuild93
-rw-r--r--network/tcpbench/tcpbench.info10
-rw-r--r--network/tcpflow/README22
-rw-r--r--network/tcpflow/tcpflow.SlackBuild51
-rw-r--r--network/tcpflow/tcpflow.info6
-rw-r--r--network/tcptunnel/tcptunnel.SlackBuild22
-rw-r--r--network/tdlib/README9
-rw-r--r--network/tdlib/slack-desc19
-rw-r--r--network/tdlib/tdlib.SlackBuild116
-rw-r--r--network/tdlib/tdlib.info10
-rw-r--r--network/teams/doinst.sh (renamed from network/EarthReader-Web/doinst.sh)0
-rw-r--r--network/teams/fix_glibc-2.35.patch9
-rw-r--r--network/teams/slack-desc2
-rw-r--r--network/teams/teams.SlackBuild35
-rw-r--r--network/teams/teams.info6
-rw-r--r--network/teamviewer/README18
-rw-r--r--network/teamviewer/doinst.sh7
-rw-r--r--network/teamviewer/rc.teamviewerd2
-rw-r--r--network/teamviewer/teamviewer.SlackBuild52
-rw-r--r--network/teamviewer/teamviewer.info16
-rw-r--r--network/telegram-cli/README1
-rw-r--r--network/telegram-cli/libreadline.patch17
-rw-r--r--network/telegram-cli/slack-desc19
-rw-r--r--network/telegram-cli/telegram-cli.SlackBuild128
-rw-r--r--network/telegram-cli/telegram-cli.info14
-rw-r--r--network/telegram/README6
-rw-r--r--network/telegram/telegram.SlackBuild17
-rw-r--r--network/telegram/telegram.info10
-rw-r--r--network/telegram/telegram.pngbin12399 -> 12399 bytes
-rw-r--r--network/tgt/tgt.SlackBuild16
-rw-r--r--network/thorium-browser/README1
-rw-r--r--network/thorium-browser/doinst.sh (renamed from network/Flootty/doinst.sh)0
-rw-r--r--network/thorium-browser/slack-desc19
-rw-r--r--network/thorium-browser/thorium-browser.SlackBuild100
-rw-r--r--network/thorium-browser/thorium-browser.info10
-rw-r--r--network/thrift/README24
-rw-r--r--network/thrift/thrift.SlackBuild32
-rw-r--r--network/thrift/thrift.info6
-rw-r--r--network/thttpd/README12
-rw-r--r--network/thttpd/thttpd.SlackBuild21
-rw-r--r--network/tightvnc/README15
-rw-r--r--network/tightvnc/slack-desc19
-rw-r--r--network/tightvnc/tightvnc.SlackBuild106
-rw-r--r--network/tightvnc/tightvnc.info10
-rw-r--r--network/tinc/README11
-rw-r--r--network/tinc/tinc.SlackBuild16
-rw-r--r--network/tinyirc/README5
-rw-r--r--network/tinyirc/slack-desc2
-rw-r--r--network/tinyirc/tinyirc.SlackBuild35
-rw-r--r--network/tinyirc/tinyirc.info6
-rw-r--r--network/tinyproxy/README11
-rw-r--r--network/tinyproxy/tinyproxy.SlackBuild16
-rw-r--r--network/tixati/tixati.SlackBuild20
-rw-r--r--network/tixati/tixati.info12
-rw-r--r--network/tmate/README5
-rw-r--r--network/tmate/tmate.SlackBuild22
-rw-r--r--network/tnfs-fuse/COPYING23
-rw-r--r--network/tnfs-fuse/README8
-rw-r--r--network/tnfs-fuse/libdir.diff19
-rw-r--r--network/tnfs-fuse/slack-desc19
-rw-r--r--network/tnfs-fuse/tnfs-client.1108
-rw-r--r--network/tnfs-fuse/tnfs-client.rst97
-rw-r--r--network/tnfs-fuse/tnfs-fuse.199
-rw-r--r--network/tnfs-fuse/tnfs-fuse.SlackBuild113
-rw-r--r--network/tnfs-fuse/tnfs-fuse.info12
-rw-r--r--network/tnfs-fuse/tnfs-fuse.rst82
-rw-r--r--network/tnfsd/COPYING41
-rw-r--r--network/tnfsd/README48
-rw-r--r--network/tnfsd/doinst.sh22
-rw-r--r--network/tnfsd/git2tarxz.sh75
-rw-r--r--network/tnfsd/rc.tnfsd48
-rw-r--r--network/tnfsd/remove_broken_tcp_support.diff168
-rw-r--r--network/tnfsd/slack-desc19
-rw-r--r--network/tnfsd/tnfsd.1103
-rw-r--r--network/tnfsd/tnfsd.SlackBuild144
-rw-r--r--network/tnfsd/tnfsd.info10
-rw-r--r--network/tnfsd/tnfsd.rst95
-rw-r--r--network/tnftp/tnftp.SlackBuild21
-rw-r--r--network/tnftp/tnftp.info10
-rw-r--r--network/tntnet/doinst.sh15
-rw-r--r--network/tntnet/tntnet.SlackBuild30
-rw-r--r--network/tntnet/tntnet.info6
-rw-r--r--network/tokodon/README8
-rw-r--r--network/tokodon/doinst.sh9
-rw-r--r--network/tokodon/slack-desc19
-rw-r--r--network/tokodon/tokodon.SlackBuild111
-rw-r--r--network/tokodon/tokodon.info10
-rw-r--r--network/toot/README1
-rw-r--r--network/toot/slack-desc19
-rw-r--r--network/toot/toot.SlackBuild72
-rw-r--r--network/toot/toot.info10
-rw-r--r--network/tor-browser/README7
-rw-r--r--network/tor-browser/tor-browser.SlackBuild31
-rw-r--r--network/tor-browser/tor-browser.info10
-rw-r--r--network/tor-browser/tor-browser.sh6
-rw-r--r--network/tor/README1
-rw-r--r--network/tor/rc.tor2
-rw-r--r--network/tor/tor.SlackBuild20
-rw-r--r--network/tor/tor.info10
-rw-r--r--network/tornado/tornado.SlackBuild16
-rw-r--r--network/tornado/tornado.info2
-rw-r--r--network/torsocks/torsocks.SlackBuild30
-rw-r--r--network/torsocks/torsocks.info2
-rw-r--r--network/toxcore/README14
-rw-r--r--network/toxcore/toxcore.SlackBuild26
-rw-r--r--network/toxcore/toxcore.info2
-rw-r--r--network/transgui/dup-obj-status.patch49
-rw-r--r--network/transgui/transgui.SlackBuild25
-rw-r--r--network/translate-shell/README2
-rw-r--r--network/translate-shell/translate-shell.SlackBuild16
-rw-r--r--network/translate/translate.SlackBuild22
-rw-r--r--network/translate/translate.info10
-rw-r--r--network/transmission-qt4/README10
-rw-r--r--network/transmission-qt4/doinst.sh13
-rw-r--r--network/transmission-qt4/slack-desc19
-rw-r--r--network/transmission-qt4/transmission-qt4.SlackBuild147
-rw-r--r--network/transmission-qt4/transmission-qt4.info10
-rw-r--r--network/transmission-remote-gtk/README13
-rw-r--r--network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild75
-rw-r--r--network/transmission-remote-gtk/transmission-remote-gtk.info10
-rw-r--r--network/transmission/README17
-rw-r--r--network/transmission/slack-desc4
-rw-r--r--network/transmission/transmission.SlackBuild157
-rw-r--r--network/transmission/transmission.info10
-rw-r--r--network/tribler/README12
-rw-r--r--network/tribler/doinst.sh3
-rw-r--r--network/tribler/git2tarxz.sh27
-rw-r--r--network/tribler/slack-desc19
-rw-r--r--network/tribler/squelch_dht_exceptions.diff12
-rw-r--r--network/tribler/tribler.SlackBuild115
-rw-r--r--network/tribler/tribler.info10
-rw-r--r--network/trojita/trojita.SlackBuild20
-rw-r--r--network/trojita/trojita.info8
-rw-r--r--network/ttcp/README5
-rw-r--r--network/ttcp/ttcp.SlackBuild22
-rw-r--r--network/ttdnsd/README41
-rw-r--r--network/ttdnsd/ttdnsd.SlackBuild18
-rw-r--r--network/tucan/tucan.SlackBuild16
-rw-r--r--network/tunctl/README8
-rw-r--r--network/tunctl/tunctl.SlackBuild22
-rw-r--r--network/turbolift/README9
-rw-r--r--network/turbolift/turbolift.SlackBuild16
-rw-r--r--network/turbolift/turbolift.info2
-rw-r--r--network/tut/README7
-rw-r--r--network/tut/modules.txt90
-rw-r--r--network/tut/slack-desc19
-rw-r--r--network/tut/tut.SlackBuild127
-rw-r--r--network/tut/tut.info68
-rw-r--r--network/twine/twine.SlackBuild23
-rw-r--r--network/twine/twine.info10
-rw-r--r--network/twinkle/README4
-rw-r--r--network/twinkle/doinst.sh9
-rw-r--r--network/twinkle/slack-desc19
-rw-r--r--network/twinkle/twinkle.SlackBuild110
-rw-r--r--network/twinkle/twinkle.info10
-rw-r--r--network/twitter/twitter.SlackBuild22
-rw-r--r--network/twitter/twitter.info6
-rw-r--r--network/uTox/uTox.SlackBuild16
-rw-r--r--network/uTox/uTox.info2
-rw-r--r--network/ubertooth/README8
-rw-r--r--network/ubertooth/ubertooth.SlackBuild23
-rw-r--r--network/ubertooth/ubertooth.info2
-rw-r--r--network/ucarp/ucarp.SlackBuild20
-rw-r--r--network/ucspi-ssl/README5
-rw-r--r--network/ucspi-ssl/slack-desc19
-rw-r--r--network/ucspi-ssl/ucspi-ssl-0.70.SlackBuild.patch62
-rw-r--r--network/ucspi-ssl/ucspi-ssl.SlackBuild76
-rw-r--r--network/ucspi-ssl/ucspi-ssl.info10
-rw-r--r--network/ucspi-tcp/README6
-rw-r--r--network/ucspi-tcp/ucspi-tcp.SlackBuild22
-rw-r--r--network/udns/udns.SlackBuild22
-rw-r--r--network/udpbench/README3
-rw-r--r--network/udpbench/slack-desc19
-rw-r--r--network/udpbench/udpbench.SlackBuild93
-rw-r--r--network/udpbench/udpbench.info10
-rw-r--r--network/udpcast/README6
-rw-r--r--network/udpcast/udpcast.SlackBuild45
-rw-r--r--network/udpcast/udpcast.info8
-rw-r--r--network/udpcast/udpcast_include.patch11
-rw-r--r--network/udpxy/udpxy.SlackBuild22
-rw-r--r--network/ufw/README16
-rw-r--r--network/ufw/ufw.SlackBuild57
-rw-r--r--network/ufw/ufw.conf.patch5
-rw-r--r--network/ufw/ufw.info10
-rw-r--r--network/uget-chrome-wrapper/README5
-rw-r--r--network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild16
-rw-r--r--network/uget-chrome-wrapper/uget-chrome-wrapper.info2
-rw-r--r--network/uget-integrator/README14
-rw-r--r--network/uget-integrator/uget-integrator.SlackBuild16
-rw-r--r--network/uget-integrator/uget-integrator.info2
-rw-r--r--network/uget/README18
-rw-r--r--network/uget/uget.SlackBuild20
-rw-r--r--network/uget/uget.info4
-rw-r--r--network/unbound/README6
-rw-r--r--network/unbound/README.SLACKWARE64
-rw-r--r--network/unbound/doinst.sh26
-rw-r--r--network/unbound/rc.unbound203
-rw-r--r--network/unbound/root.hints92
-rw-r--r--network/unbound/unbound.SlackBuild112
-rw-r--r--network/unbound/unbound.info12
-rw-r--r--network/unbound/unbound.logrotate11
-rw-r--r--network/unicornscan/unicornscan.SlackBuild22
-rw-r--r--network/unicornscan/unicornscan.info4
-rw-r--r--network/uredir/README12
-rw-r--r--network/uredir/slack-desc19
-rw-r--r--network/uredir/uredir.SlackBuild110
-rw-r--r--network/uredir/uredir.info12
-rw-r--r--network/urlgrabber/README14
-rw-r--r--network/urlgrabber/urlgrabber.SlackBuild16
-rw-r--r--network/urlscan/README20
-rw-r--r--network/urlscan/urlscan.SlackBuild16
-rw-r--r--network/urlscan/urlscan.info2
-rw-r--r--network/urlview/README10
-rw-r--r--network/urlview/urlview.SlackBuild16
-rw-r--r--network/urlwatch/README3
-rw-r--r--network/urlwatch/urlwatch.SlackBuild22
-rw-r--r--network/urlwatch/urlwatch.info10
-rw-r--r--network/uudeview/README16
-rw-r--r--network/uudeview/patches/025_CAN-2004-2265.diff42
-rw-r--r--network/uudeview/patches/034_do_not_ignore_special_chars.diff22
-rw-r--r--network/uudeview/patches/037_CVE-2008-2266_symlink.diff182
-rw-r--r--network/uudeview/patches/043_string_format_issue.diff24
-rw-r--r--network/uudeview/patches/049_glibc_2.27.diff20
-rw-r--r--network/uudeview/uudeview.SlackBuild37
-rw-r--r--network/uwsgi/README3
-rw-r--r--network/uwsgi/uwsgi.SlackBuild45
-rw-r--r--network/uwsgi/uwsgi.info6
-rw-r--r--network/vacuum-im/README7
-rw-r--r--network/vacuum-im/clientinfo.patch37
-rw-r--r--network/vacuum-im/doinst.sh3
-rw-r--r--network/vacuum-im/slack-desc19
-rw-r--r--network/vacuum-im/vacuum-im.SlackBuild103
-rw-r--r--network/vacuum-im/vacuum-im.info10
-rw-r--r--network/valknut/README1
-rw-r--r--network/valknut/dcoptions.patch55
-rw-r--r--network/valknut/doinst.sh3
-rw-r--r--network/valknut/main.patch11
-rw-r--r--network/valknut/slack-desc19
-rw-r--r--network/valknut/valknut.SlackBuild107
-rw-r--r--network/valknut/valknut.info10
-rw-r--r--network/varnish/README2
-rw-r--r--network/varnish/rc.varnishd10
-rw-r--r--network/varnish/varnish.SlackBuild26
-rw-r--r--network/varnish/varnish.info6
-rw-r--r--network/vblade/vblade.SlackBuild24
-rw-r--r--network/vblade/vblade.info6
-rw-r--r--network/vcspull/vcspull.SlackBuild25
-rw-r--r--network/vcspull/vcspull.info10
-rw-r--r--network/vde2/vde2.SlackBuild23
-rw-r--r--network/vde2/vde_cryptcab-compile-against-openssl-1.1.0.patch92
-rw-r--r--network/vdirsyncer/README7
-rw-r--r--network/vdirsyncer/slack-desc19
-rw-r--r--network/vdirsyncer/vdirsyncer.SlackBuild98
-rw-r--r--network/vdirsyncer/vdirsyncer.info10
-rw-r--r--network/verlihub/README13
-rw-r--r--network/verlihub/verlihub-gcc7.patch18
-rw-r--r--network/verlihub/verlihub.SlackBuild29
-rw-r--r--network/verm/README21
-rw-r--r--network/verm/doinst.sh23
-rw-r--r--network/verm/rc.verm42
-rw-r--r--network/verm/slack-desc19
-rw-r--r--network/verm/verm.SlackBuild107
-rw-r--r--network/verm/verm.info10
-rw-r--r--network/verm/verm.logrotate9
-rw-r--r--network/viber/README10
-rw-r--r--network/viber/slack-desc10
-rw-r--r--network/viber/viber.SlackBuild80
-rw-r--r--network/viber/viber.info12
-rw-r--r--network/vimb/vimb.SlackBuild19
-rw-r--r--network/vimb/vimb.info6
-rw-r--r--network/vimfx/README19
-rw-r--r--network/vimfx/README.SBo19
-rw-r--r--network/vimfx/slack-desc19
-rw-r--r--network/vimfx/vimfx.SlackBuild103
-rw-r--r--network/vimfx/vimfx.info18
-rw-r--r--network/vivaldi/README9
-rw-r--r--network/vivaldi/README.SBo40
-rw-r--r--network/vivaldi/douninst.sh11
-rw-r--r--network/vivaldi/slack-desc8
-rw-r--r--network/vivaldi/vivaldi.SlackBuild70
-rw-r--r--network/vivaldi/vivaldi.info18
-rw-r--r--network/vmware-horizon-client/README37
-rw-r--r--network/vmware-horizon-client/vmware-horizon-client.SlackBuild18
-rw-r--r--network/vnstat/README24
-rw-r--r--network/vnstat/README.SBo21
-rw-r--r--network/vnstat/vnstat.SlackBuild17
-rw-r--r--network/vnstat/vnstat.info6
-rw-r--r--network/vpnc/vpnc.SlackBuild22
-rw-r--r--network/vrrpd/README57
-rw-r--r--network/vrrpd/vrrpd.SlackBuild22
-rw-r--r--network/vuze/vuze.SlackBuild20
-rw-r--r--network/vuze/vuze.info2
-rw-r--r--network/w3af/README6
-rw-r--r--network/w3af/w3af.SlackBuild16
-rw-r--r--network/w3af/w3af.info2
-rw-r--r--network/w3m/README41
-rw-r--r--network/w3m/doinst.sh15
-rw-r--r--network/w3m/patches/w3m-0.5.2-gc72.patch27
-rw-r--r--network/w3m/patches/w3m-0.5.3-button.patch439
-rw-r--r--network/w3m/patches/w3m-0.5.3-gdk-pixbuf.patch46
-rw-r--r--network/w3m/patches/w3m-0.5.3-glibc214.patch58
-rw-r--r--network/w3m/patches/w3m-0.5.3-underlinking.patch15
-rw-r--r--network/w3m/w3m.SlackBuild44
-rw-r--r--network/w3m/w3m.info14
-rw-r--r--network/wakeonlan/wakeonlan.SlackBuild16
-rw-r--r--network/wakeonlan/wakeonlan.info2
-rw-r--r--network/waterfox/README23
-rw-r--r--network/waterfox/doinst.sh7
-rw-r--r--network/waterfox/slack-desc19
-rw-r--r--network/waterfox/waterfox.SlackBuild96
-rw-r--r--network/waterfox/waterfox.desktop13
-rw-r--r--network/waterfox/waterfox.info10
-rw-r--r--network/wavemon/wavemon.SlackBuild18
-rw-r--r--network/weathercli/weathercli.SlackBuild16
-rw-r--r--network/webalizer/README2
-rw-r--r--network/webalizer/gcc10.patch19
-rw-r--r--network/webalizer/slack-desc2
-rw-r--r--network/webalizer/webalizer.SlackBuild47
-rw-r--r--network/webalizer/webalizer.info10
-rw-r--r--network/webex/README5
-rw-r--r--network/webex/doinst.sh (renamed from network/Free-Cinema/doinst.sh)0
-rw-r--r--network/webex/slack-desc19
-rw-r--r--network/webex/webex.SlackBuild97
-rw-r--r--network/webex/webex.info10
-rw-r--r--network/webhook/README30
-rw-r--r--network/webhook/doinst.sh8
-rw-r--r--network/webhook/webhook.SlackBuild18
-rw-r--r--network/weechat/README32
-rw-r--r--network/weechat/doinst.sh9
-rw-r--r--network/weechat/slack-desc4
-rw-r--r--network/weechat/weechat.SlackBuild117
-rw-r--r--network/weechat/weechat.info14
-rw-r--r--network/weetwit/weetwit.SlackBuild16
-rw-r--r--network/wego/README4
-rw-r--r--network/wego/modules.txt18
-rw-r--r--network/wego/slack-desc19
-rw-r--r--network/wego/wego.SlackBuild106
-rw-r--r--network/wego/wego.info22
-rw-r--r--network/weighmail/README9
-rw-r--r--network/weighmail/weighmail.SlackBuild16
-rw-r--r--network/wendzelnntpd/README12
-rw-r--r--network/wendzelnntpd/doinst.sh44
-rw-r--r--network/wendzelnntpd/slack-desc19
-rw-r--r--network/wendzelnntpd/wendzelnntpd.SlackBuild155
-rw-r--r--network/wendzelnntpd/wendzelnntpd.info10
-rw-r--r--network/whalebird/README4
-rw-r--r--network/whalebird/doinst.sh9
-rw-r--r--network/whalebird/slack-desc19
-rw-r--r--network/whalebird/whalebird.SlackBuild91
-rw-r--r--network/whalebird/whalebird.info10
-rw-r--r--network/wifi-radar/README9
-rw-r--r--network/wifi-radar/wifi-radar.SlackBuild16
-rw-r--r--network/wifi-radar/wifi-radar.info2
-rw-r--r--network/wifite/wifite.SlackBuild16
-rw-r--r--network/wildfly/README23
-rw-r--r--network/wildfly/rc.wildfly15
-rw-r--r--network/wildfly/slack-desc8
-rw-r--r--network/wildfly/wildfly.SlackBuild47
-rw-r--r--network/wildfly/wildfly.info8
-rw-r--r--network/windscribe/doinst.sh4
-rw-r--r--network/windscribe/open_source_licenses.txt1137
-rw-r--r--network/windscribe/rc.windscribe16
-rw-r--r--network/windscribe/windscribe.SlackBuild45
-rw-r--r--network/windscribe/windscribe.info6
-rw-r--r--network/wire/wire.SlackBuild18
-rw-r--r--network/wire/wire.info6
-rw-r--r--network/wireguard-linux-compat/README12
-rw-r--r--network/wireguard-linux-compat/doinst.sh3
-rw-r--r--network/wireguard-linux-compat/slack-desc19
-rw-r--r--network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild98
-rw-r--r--network/wireguard-linux-compat/wireguard-linux-compat.info10
-rw-r--r--network/wireguard-tools/README20
-rw-r--r--network/wireguard-tools/slack-desc19
-rw-r--r--network/wireguard-tools/wireguard-tools.SlackBuild105
-rw-r--r--network/wireguard-tools/wireguard-tools.info10
-rw-r--r--network/wireshark/README60
-rw-r--r--network/wireshark/wireshark.SlackBuild36
-rw-r--r--network/wireshark/wireshark.info8
-rw-r--r--network/wireshark/wireshark.patch10
-rw-r--r--network/wmget/README18
-rw-r--r--network/wmget/wmget.SlackBuild22
-rw-r--r--network/wmnd/README8
-rw-r--r--network/wmnd/wmnd.SlackBuild32
-rw-r--r--network/wmnd/wmnd.info10
-rw-r--r--network/wmnotify/README12
-rw-r--r--network/wmnotify/wmnotify.SlackBuild22
-rw-r--r--network/wol/wol.SlackBuild25
-rw-r--r--network/wp-cli/README4
-rw-r--r--network/wp-cli/wp-cli.SlackBuild22
-rw-r--r--network/wp-cli/wp-cli.info6
-rw-r--r--network/wpa-cute/README2
-rw-r--r--network/wpa-cute/doinst.sh (renamed from network/deis/doinst.sh)0
-rw-r--r--network/wpa-cute/slack-desc19
-rw-r--r--network/wpa-cute/wpa-cute.SlackBuild100
-rw-r--r--network/wpa-cute/wpa-cute.info10
-rw-r--r--network/wput/README8
-rw-r--r--network/wput/doinst.sh11
-rw-r--r--network/wput/manpages.diff86
-rw-r--r--network/wput/slack-desc6
-rw-r--r--network/wput/wput.SlackBuild105
-rw-r--r--network/wput/wput.info12
-rw-r--r--network/wrk/README11
-rw-r--r--network/wrk/wrk.SlackBuild22
-rw-r--r--network/wrk/wrk.info2
-rw-r--r--network/wsdd2/README19
-rw-r--r--network/wsdd2/rc.wsdd22
-rw-r--r--network/wsdd2/slack-desc12
-rw-r--r--network/wsdd2/wsdd2.SlackBuild29
-rw-r--r--network/wsdd2/wsdd2.info10
-rw-r--r--network/wsdd2/wsdd2.patch11
-rw-r--r--network/wvdial/README8
-rw-r--r--network/wvdial/wvdial.SlackBuild22
-rw-r--r--network/x11spice/README17
-rw-r--r--network/x11spice/slack-desc19
-rw-r--r--network/x11spice/x11spice.SlackBuild114
-rw-r--r--network/x11spice/x11spice.info10
-rw-r--r--network/x11vnc/README8
-rw-r--r--network/x11vnc/gcc10.patch42
-rw-r--r--network/x11vnc/x11vnc.SlackBuild18
-rw-r--r--network/x2goclient/x2goclient.SlackBuild18
-rw-r--r--network/x2goclient/x2goclient.info6
-rw-r--r--network/x2goserver/README9
-rw-r--r--network/x2goserver/x2goserver.SlackBuild18
-rw-r--r--network/x2goserver/x2goserver.info6
-rw-r--r--network/xaric/xaric.SlackBuild37
-rw-r--r--network/xaric/xaric.info8
-rw-r--r--network/xbuffy/xbuffy.SlackBuild16
-rw-r--r--network/xdman/README30
-rw-r--r--network/xdman/changelog20
-rw-r--r--network/xdman/doinst.sh3
-rw-r--r--network/xdman/slack-desc12
-rw-r--r--network/xdman/xdm-app.desktop11
-rw-r--r--network/xdman/xdman5
-rw-r--r--network/xdman/xdman.SlackBuild111
-rw-r--r--network/xdman/xdman.info20
-rw-r--r--network/xinetd/README24
-rw-r--r--network/xinetd/slack-desc2
-rw-r--r--network/xinetd/xinetd.SlackBuild57
-rw-r--r--network/xinetd/xinetd.info6
-rw-r--r--network/xl2tpd/README24
-rw-r--r--network/xl2tpd/xl2tpd.SlackBuild24
-rw-r--r--network/xl2tpd/xl2tpd.info6
-rw-r--r--network/xmrig/README100
-rw-r--r--network/xmrig/donate.patch13
-rw-r--r--network/xmrig/slack-desc19
-rw-r--r--network/xmrig/xmrig.SlackBuild162
-rw-r--r--network/xmrig/xmrig.info10
-rw-r--r--network/xnetload/README10
-rw-r--r--network/xnetload/xnetload.SlackBuild22
-rw-r--r--network/xtables-addons/README10
-rw-r--r--network/xtables-addons/slack-desc8
-rw-r--r--network/xtables-addons/xtables-addons.SlackBuild24
-rw-r--r--network/xtables-addons/xtables-addons.info8
-rw-r--r--network/yadifa/README2
-rw-r--r--network/yadifa/rc.yadifa4
-rw-r--r--network/yadifa/yadifa.SlackBuild42
-rw-r--r--network/yadifa/yadifa.info6
-rw-r--r--network/yadifa/yadifa.logrotate2
-rw-r--r--network/yandex-browser-beta/README4
-rw-r--r--network/yandex-browser-beta/doinst.sh8
-rw-r--r--network/yandex-browser-beta/slack-desc19
-rw-r--r--network/yandex-browser-beta/yandex-browser-beta.SlackBuild105
-rw-r--r--network/yandex-browser-beta/yandex-browser-beta.info10
-rw-r--r--network/yate/README13
-rw-r--r--network/yate/yate.SlackBuild19
-rw-r--r--network/yate/yate.info8
-rw-r--r--network/yle-dl/README7
-rw-r--r--network/yle-dl/yle-dl.SlackBuild38
-rw-r--r--network/yle-dl/yle-dl.info8
-rw-r--r--network/yoda/README1
-rw-r--r--network/yoda/doinst.sh3
-rw-r--r--network/yoda/slack-desc19
-rw-r--r--network/yoda/yoda.SlackBuild86
-rw-r--r--network/yoda/yoda.info10
-rw-r--r--network/you-get/setup.patch25
-rw-r--r--network/you-get/you-get.SlackBuild22
-rw-r--r--network/you-get/you-get.info8
-rw-r--r--network/youtube-dl-gui/README3
-rw-r--r--network/youtube-dl-gui/doinst.sh6
-rw-r--r--network/youtube-dl-gui/youtube-dl-gui.SlackBuild18
-rw-r--r--network/youtube-dl-gui/youtube-dl-gui.info2
-rw-r--r--network/youtube-dl-server/youtube-dl-server.SlackBuild19
-rw-r--r--network/youtube-dl/README2
-rw-r--r--network/youtube-dl/doinst.sh3
-rw-r--r--network/youtube-dl/setup.patch6
-rw-r--r--network/youtube-dl/slack-desc4
-rw-r--r--network/youtube-dl/youtube-dl.12522
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild45
-rw-r--r--network/youtube-dl/youtube-dl.info10
-rw-r--r--network/youtube-upload/youtube-upload.SlackBuild22
-rw-r--r--network/youtube-upload/youtube-upload.info4
-rw-r--r--network/yt-dlp/README34
-rw-r--r--network/yt-dlp/slack-desc19
-rw-r--r--network/yt-dlp/yt-dlp.13324
-rw-r--r--network/yt-dlp/yt-dlp.SlackBuild93
-rw-r--r--network/yt-dlp/yt-dlp.info10
-rw-r--r--network/ytfzf/README10
-rw-r--r--network/ytfzf/slack-desc19
-rw-r--r--network/ytfzf/ytfzf.SlackBuild77
-rw-r--r--network/ytfzf/ytfzf.info10
-rw-r--r--network/yturl/README6
-rw-r--r--network/yturl/slack-desc19
-rw-r--r--network/yturl/yturl.1180
-rw-r--r--network/yturl/yturl.SlackBuild70
-rw-r--r--network/yturl/yturl.info10
-rw-r--r--network/yturl/yturl.pod50
-rw-r--r--network/zabbix_agent2/README19
-rw-r--r--network/zabbix_agent2/README.SLACKWARE75
-rw-r--r--network/zabbix_agent2/doinst.sh28
-rw-r--r--network/zabbix_agent2/rc.zabbix_agent278
-rw-r--r--network/zabbix_agent2/slack-desc19
-rw-r--r--network/zabbix_agent2/zabbix_agent2.SlackBuild168
-rw-r--r--network/zabbix_agent2/zabbix_agent2.info10
-rw-r--r--network/zabbix_agentd/README24
-rw-r--r--network/zabbix_agentd/README.SLACKWARE4
-rw-r--r--network/zabbix_agentd/rc.zabbix_agentd2
-rw-r--r--network/zabbix_agentd/zabbix_agentd.SlackBuild35
-rw-r--r--network/zabbix_agentd/zabbix_agentd.info8
-rw-r--r--network/zabbix_frontend/README10
-rw-r--r--network/zabbix_frontend/README.SLACKWARE41
-rw-r--r--network/zabbix_frontend/apache.conf58
-rw-r--r--network/zabbix_frontend/doinst.sh25
-rw-r--r--network/zabbix_frontend/slack-desc19
-rw-r--r--network/zabbix_frontend/zabbix_frontend.SlackBuild101
-rw-r--r--network/zabbix_frontend/zabbix_frontend.info10
-rw-r--r--network/zabbix_java_gateway/README5
-rw-r--r--network/zabbix_java_gateway/README.SLACKWARE7
-rw-r--r--network/zabbix_java_gateway/java-gateway.patch79
-rw-r--r--network/zabbix_java_gateway/rc.zabbix_java_gateway5
-rw-r--r--network/zabbix_java_gateway/slack-desc6
-rw-r--r--network/zabbix_java_gateway/zabbix_java_gateway.SlackBuild42
-rw-r--r--network/zabbix_java_gateway/zabbix_java_gateway.info8
-rw-r--r--network/zabbix_proxy/README17
-rw-r--r--network/zabbix_proxy/README.SLACKWARE4
-rw-r--r--network/zabbix_proxy/rc.zabbix_proxy2
-rw-r--r--network/zabbix_proxy/zabbix_proxy.SlackBuild33
-rw-r--r--network/zabbix_proxy/zabbix_proxy.info8
-rw-r--r--network/zabbix_server/README11
-rw-r--r--network/zabbix_server/README.SLACKWARE45
-rw-r--r--network/zabbix_server/rc.zabbix_server3
-rw-r--r--network/zabbix_server/zabbix_server.SlackBuild50
-rw-r--r--network/zabbix_server/zabbix_server.info8
-rw-r--r--network/zeek/zeek.SlackBuild45
-rw-r--r--network/zeek/zeek.info6
-rw-r--r--network/zmap/README6
-rw-r--r--network/zmap/zmap.SlackBuild19
-rw-r--r--network/zmap/zmap.info6
-rw-r--r--network/znc/README3
-rw-r--r--network/znc/znc.SlackBuild27
-rw-r--r--network/znc/znc.info6
-rw-r--r--network/zoom-linux/doinst.sh10
-rw-r--r--network/zoom-linux/slack-desc4
-rw-r--r--network/zoom-linux/zoom-linux.SlackBuild61
-rw-r--r--network/zoom-linux/zoom-linux.desktop3
-rw-r--r--network/zoom-linux/zoom-linux.info6
-rw-r--r--network/zsync/slack-desc8
-rw-r--r--network/zsync/zsync.SlackBuild16
3368 files changed, 64369 insertions, 51051 deletions
diff --git a/network/2ping/2ping.SlackBuild b/network/2ping/2ping.SlackBuild
index 1e52bff087..6607e3576a 100644
--- a/network/2ping/2ping.SlackBuild
+++ b/network/2ping/2ping.SlackBuild
@@ -1,11 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for 2ping
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220331 bkw: BUILD=2, add SlackBuild to doc dir.
+# 20210911 bkw: update for v4.5.1.
# 20200805 bkw: update for v4.5.
# 20191130 bkw: update for v4.3.
@@ -14,10 +16,13 @@
# - document optional deps in README.
# - include wireshark stuff in package.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=2ping
-VERSION=${VERSION:-4.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.5.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -27,7 +32,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,12 +73,15 @@ fi
mkdir -p $PKG/usr/man/man1
gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/wireshark
-cp -a README* COPYING ChangeLog doc/*.py doc/*.md $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a wireshark/*.pcap $PKG/usr/doc/$PRGNAM-$VERSION/wireshark
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/wireshark
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+cp -a README* COPYING* ChangeLog* doc/*.py doc/*.md $PKGDOC
+cp -a wireshark/*.pcap $PKGDOC/wireshark
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/2ping/2ping.info b/network/2ping/2ping.info
index dd25f12962..605dca9070 100644
--- a/network/2ping/2ping.info
+++ b/network/2ping/2ping.info
@@ -1,10 +1,10 @@
PRGNAM="2ping"
-VERSION="4.5"
+VERSION="4.5.1"
HOMEPAGE="https://www.finnie.org/software/2ping/"
-DOWNLOAD="https://github.com/rfinnie/2ping/archive/v4.5/2ping-4.5.tar.gz"
-MD5SUM="acfb9d8e40cfae72bf1767347528ae4b"
+DOWNLOAD="https://github.com/rfinnie/2ping/archive/v4.5.1/2ping-4.5.1.tar.gz"
+MD5SUM="6fbe77fbda98fb3a41fb4fa7c6c14871"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/2ping/README b/network/2ping/README
index 59335bc9b2..f47b5705c1 100644
--- a/network/2ping/README
+++ b/network/2ping/README
@@ -10,17 +10,19 @@ without setting one of your own up, there are several public test
listeners available. Try test.2ping.net, cromulent.colobox.com, or
linode-london.mirrors.finnix.org.
-To run a listener, you can manually start one with e.g. "2ping --listen".
+To run a listener, you can manually start it with e.g. "2ping --listen".
If you want to start a listener at boot, add a command like this to
/etc/rc.d/rc.local:
-su nobody -s /bin/sh -c 'exec /usr/bin/2ping --quiet --listen' &> /dev/null &
+su nobody -s /bin/sh -c \
+ 'exec /usr/bin/2ping --quiet --listen' \
+ &> /dev/null &
Optional dependencies: Certain command line options to 2ping require
additional packages.
-- dnspython (built after python3 is installed): --srv option.
-- netifaces (built with PYTHON3=yes): --all-interfaces option.
+- dnspython: --srv option.
+- netifaces: --all-interfaces option.
- python3-pycrypto: --encrypt option.
The package can include a wireshark plugin for decoding the 2ping
diff --git a/network/3proxy/3proxy.SlackBuild b/network/3proxy/3proxy.SlackBuild
index 2ec93c7a56..91743fb540 100644
--- a/network/3proxy/3proxy.SlackBuild
+++ b/network/3proxy/3proxy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for 3proxy
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=3proxy
VERSION=${VERSION:-0.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -109,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/3proxy/README b/network/3proxy/README
index cdfd807f31..f3e55335f7 100644
--- a/network/3proxy/README
+++ b/network/3proxy/README
@@ -1,11 +1,12 @@
-3Proxy tiny free proxy server previously known as 3[APA3A] tiny freeware
-proxy (pronounce it as "Zaraza tiny freeware proxy") is really tiny
-cross-platform (Win32/Win64&Unix) proxy servers set. It includes
-HTTP proxy with HTTPS and FTP support, SOCKSv4/SOCKSv4.5/SOCKSv5 proxy
-(socks/socks.exe), POP3 proxy, SMTP proxy, AIM/ICQ proxy (icqpr/icqpr.exe),
-MSN messenger / Live messenger proxy (msnpr/msnpr.exe), FTP proxy,
-caching DNS proxy, TCP and UDP portmappers. You can use every proxy as
-a standalone program (socks, proxy, tcppm, udppm, pop3p) or use combined
-program (3proxy). Combined proxy additionally supports features like access
-control, bandwidth limiting, limiting daily/weekly/monthly traffic amount,
-proxy chaining, log rotation, syslog and ODBC logging, etc.
+3Proxy tiny free proxy server previously known as 3[APA3A]
+tiny freeware proxy (pronounce it as "Zaraza tiny freeware
+proxy") is really tiny cross-platform (Win32/Win64&Unix) proxy
+servers set. It includes HTTP proxy with HTTPS and FTP support,
+SOCKSv4/SOCKSv4.5/SOCKSv5 proxy (socks/socks.exe), POP3 proxy, SMTP
+proxy, AIM/ICQ proxy (icqpr/icqpr.exe), MSN messenger / Live messenger
+proxy (msnpr/msnpr.exe), FTP proxy, caching DNS proxy, TCP and UDP
+portmappers. You can use every proxy as a standalone program (socks,
+proxy, tcppm, udppm, pop3p) or use combined program (3proxy). Combined
+proxy additionally supports features like access control, bandwidth
+limiting, limiting daily/weekly/monthly traffic amount, proxy
+chaining, log rotation, syslog and ODBC logging, etc.
diff --git a/network/AdGuardHome/AdGuardHome.SlackBuild b/network/AdGuardHome/AdGuardHome.SlackBuild
index 55e5306782..f574600f57 100644
--- a/network/AdGuardHome/AdGuardHome.SlackBuild
+++ b/network/AdGuardHome/AdGuardHome.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for AdGuardHome
-# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2024, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=AdGuardHome
-VERSION=${VERSION:-0.105.1}
+VERSION=${VERSION:-0.107.48}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/AdGuardHome/AdGuardHome.info b/network/AdGuardHome/AdGuardHome.info
index 667bf09198..3088f00175 100644
--- a/network/AdGuardHome/AdGuardHome.info
+++ b/network/AdGuardHome/AdGuardHome.info
@@ -1,10 +1,10 @@
PRGNAM="AdGuardHome"
-VERSION="0.105.1"
+VERSION="0.107.48"
HOMEPAGE="https://adguard.com/adguard-home.html"
-DOWNLOAD="https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.105.1/AdGuardHome_linux_386.tar.gz"
-MD5SUM="1d29d45e7790ef908fb85a9becb510d8"
-DOWNLOAD_x86_64="https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.105.1/AdGuardHome_linux_amd64.tar.gz"
-MD5SUM_x86_64="8a5a437834fbbed10fe0ab289ca1f7c3"
+DOWNLOAD="https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.48/AdGuardHome_linux_386.tar.gz"
+MD5SUM="4f2d1bd8af158a5d081d6e46eefe1675"
+DOWNLOAD_x86_64="https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.48/AdGuardHome_linux_amd64.tar.gz"
+MD5SUM_x86_64="574115238a9334cf096ef16dc07feae4"
REQUIRES=""
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/network/AdGuardHome/README.SBo b/network/AdGuardHome/README.SBo
index 98ba0c50a9..843901ae42 100644
--- a/network/AdGuardHome/README.SBo
+++ b/network/AdGuardHome/README.SBo
@@ -1,6 +1,11 @@
A simple init script /etc/rc.d/rc.AdGuardHome has been provided to run
AdGuard Home as a daemon.
+After first install, run
+# chmod +x /etc/rc.d/rc.AdGuardHome
+# /etc/rc.d/rc.AdGuardHome start
+Then go to the initial configuration wizard at http://localhost:3000
+
To start AdGuard Home automatically at system start, add the following
to /etc/rc.d/rc.local:
diff --git a/network/AdGuardHome/rc.AdGuardHome b/network/AdGuardHome/rc.AdGuardHome
index 23832689d1..73e09fdccb 100644
--- a/network/AdGuardHome/rc.AdGuardHome
+++ b/network/AdGuardHome/rc.AdGuardHome
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Start/stop/restart the AdGuard Home
bin=/usr/sbin/AdGuardHome
config=/etc/AdGuardHome.yaml
workdir=/var/lib/AdGuardHome
-pidfile=/var/run/AdGuardHome.pid
+pidfile=/run/AdGuardHome.pid
start_AdGuardHome() {
echo "Starting AdGuard Home... "
@@ -12,6 +12,7 @@ start_AdGuardHome() {
echo "AdGuard Home is already running with PID $(cat ${pidfile})."
exit 0
fi
+ mkdir -p $workdir
nohup $bin --config $config --work-dir $workdir --no-check-update \
--pidfile $pidfile 0<&- &>/dev/null &
}
diff --git a/network/ApacheDirectoryStudio/ApacheDirectoryStudio.SlackBuild b/network/ApacheDirectoryStudio/ApacheDirectoryStudio.SlackBuild
index bd0fb4a30b..a7b19a761e 100644
--- a/network/ApacheDirectoryStudio/ApacheDirectoryStudio.SlackBuild
+++ b/network/ApacheDirectoryStudio/ApacheDirectoryStudio.SlackBuild
@@ -1,23 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ApacheDirectoryStudio
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ApacheDirectoryStudio
VERSION=${VERSION:-2.0.0.v20130628}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=${ARCH:-$(uname -m)}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -90,5 +100,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ApacheDirectoryStudio/ApacheDirectoryStudio.info b/network/ApacheDirectoryStudio/ApacheDirectoryStudio.info
index e9ca4ac34e..f9ff934955 100644
--- a/network/ApacheDirectoryStudio/ApacheDirectoryStudio.info
+++ b/network/ApacheDirectoryStudio/ApacheDirectoryStudio.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://archive.apache.org/dist/directory/studio/dist/2.0.0.v20130628/
MD5SUM="dba7618834772e30a7e93af7fb7e0b22"
DOWNLOAD_x86_64="https://archive.apache.org/dist/directory/studio/dist/2.0.0.v20130628/ApacheDirectoryStudio-linux-x86_64-2.0.0.v20130628.tar.gz"
MD5SUM_x86_64="c4a8a0b22fe352f1509f8f7fe2678f2a"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/network/BitchX/BitchX.SlackBuild b/network/BitchX/BitchX.SlackBuild
deleted file mode 100644
index 003ba22a30..0000000000
--- a/network/BitchX/BitchX.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for BitchX
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=BitchX
-SRCNAM=${PRGNAM,,}
-VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --with-ssl \
- --with-plugins \
- --enable-ipv6 \
- --build=$ARCH-slackware-linux
-
-gmake
-gmake install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# fix executable
-mv $PKG/usr/bin/$PRGNAM-$VERSION $PKG/usr/bin/$PRGNAM
-
-# fix man page
-rm $PKG/usr/man/man1/BitchX.1.bz2
-gzip -9 doc/$PRGNAM.1
-install -D -m0644 doc/$PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYRIGHT Changelog $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/BitchX/BitchX.info b/network/BitchX/BitchX.info
deleted file mode 100644
index 7f61db25ad..0000000000
--- a/network/BitchX/BitchX.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="BitchX"
-VERSION="1.2.1"
-HOMEPAGE="http://bitchx.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/bitchx/files/ircii-pana/bitchx-1.2.1/bitchx-1.2.1.tar.gz"
-MD5SUM="4da13a2dcfa17847168e50e62be4f67a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/BitchX/README b/network/BitchX/README
deleted file mode 100644
index c3a77681b3..0000000000
--- a/network/BitchX/README
+++ /dev/null
@@ -1,3 +0,0 @@
-BitchX is a free software text-based IRC (Internet Relay Chat)
-client for UNIX-like systems, originally based on ircII and
-heavily influenced by EPIC.
diff --git a/network/BitchX/slack-desc b/network/BitchX/slack-desc
deleted file mode 100644
index 68ee263985..0000000000
--- a/network/BitchX/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-BitchX: BitchX (IRC client)
-BitchX:
-BitchX: BitchX is a free software text-based IRC (Internet Relay Chat)
-BitchX: client for UNIX-like systems, originally based on ircII and
-BitchX: heavily influenced by EPIC.
-BitchX:
-BitchX: Homepage: http://bitchx.sourceforge.net/
-BitchX:
-BitchX:
-BitchX:
-BitchX:
diff --git a/network/CherryMusic/CherryMusic.SlackBuild b/network/CherryMusic/CherryMusic.SlackBuild
deleted file mode 100644
index 0ec54472d5..0000000000
--- a/network/CherryMusic/CherryMusic.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for CherryMusic
-
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=CherryMusic
-VERSION=${VERSION:-0.40.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-install -D -m644 doc/man/cherrymusic.1 $PKG/usr/man/man1/cherrymusic.1
-install -D -m644 doc/man/cherrymusic.conf.5 $PKG/usr/man/man5/cherrymusic.conf.5
-install -D -m644 doc/man/cherrymusicd.8 $PKG/usr/man/man8/cherrymusicd.8
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/CherryMusic/CherryMusic.info b/network/CherryMusic/CherryMusic.info
deleted file mode 100644
index 7ee7e2722e..0000000000
--- a/network/CherryMusic/CherryMusic.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="CherryMusic"
-VERSION="0.40.0"
-HOMEPAGE="http://www.fomori.org/cherrymusic/"
-DOWNLOAD="https://pypi.python.org/packages/bd/af/118542a136d18a7389b142fc0a1b38842d86af1c938998a9e11de8b73afc/CherryMusic-0.40.0.tar.gz"
-MD5SUM="4e771c2e5a3da2500296893428bfc27c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="CherryPy"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/CherryMusic/README b/network/CherryMusic/README
deleted file mode 100644
index 475e409e77..0000000000
--- a/network/CherryMusic/README
+++ /dev/null
@@ -1,26 +0,0 @@
-CherryMusic (music streaming server)
-
-CherryMusic is a music streaming server based on CherryPy and jPlayer.
-It can be run remotely or on a single computer and is designed to handle
-huge music libraries of 3 TB and more; it also works well with small
-collections. In contrast to MPD, Icecast and the like, CherryMusic allows
-multiple users to log in via HTTP/HTTPS using a web browser, browse and
-search the music database, manage playlists and stream music to the browser.
-
-The CherryMusic server runs on Linux, Windows and OS X, as long as Python
-and SQLite are available. To use the web client, any device with a modern
-browser will do.
-
-Optional dependencies are:
-
- Live transcoding: lame, vorbis-tools, flac, faad2, mpg123, opus-tools
- or ffmpeg (which replaces the aforementioned codecs plus adds WMA
- decoding)
-
- Automatic resizing of displayed cover art: imagemagick
-
- For special character search terms: python-unidecode
-
- For the GTK system tray icon: python-gobject
-
- HTTPS support in Python 2: pyOpenSSL (in Python 3 it works out of the box)
diff --git a/network/CherryMusic/slack-desc b/network/CherryMusic/slack-desc
deleted file mode 100644
index 17410f4f20..0000000000
--- a/network/CherryMusic/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-CherryMusic: CherryMusic (music streaming server)
-CherryMusic:
-CherryMusic: CherryMusic is a music streaming server based on CherryPy and
-CherryMusic: jPlayer. It can be run remotely or on a single computer and is
-CherryMusic: designed to handle huge music libraries of 3 TB and more; it also
-CherryMusic: works well with small collections. In contrast to MPD, Icecast
-CherryMusic: and the like, CherryMusic allows multiple users to log in via
-CherryMusic: HTTP/HTTPS using a web browser, browse and search the music
-CherryMusic: database, manage playlists and stream music to the browser.
-CherryMusic:
-CherryMusic: Homepage: http://www.fomori.org/cherrymusic/
diff --git a/network/ClusterSSH/ClusterSSH.SlackBuild b/network/ClusterSSH/ClusterSSH.SlackBuild
index 003ae489be..d206a9ad70 100644
--- a/network/ClusterSSH/ClusterSSH.SlackBuild
+++ b/network/ClusterSSH/ClusterSSH.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Copyright (c) 2011-2015 LEVAI Daniel
# All rights reserved.
@@ -22,10 +22,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ClusterSSH
VERSION=${VERSION:-4.09}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ClusterSSH/ClusterSSH.info b/network/ClusterSSH/ClusterSSH.info
index 1b7cfd3b06..25fc65f056 100644
--- a/network/ClusterSSH/ClusterSSH.info
+++ b/network/ClusterSSH/ClusterSSH.info
@@ -5,8 +5,8 @@ DOWNLOAD="http://downloads.sourceforge.net/clusterssh/App-ClusterSSH-4.09.tar.gz
MD5SUM="557e8440b246f4122c2decf6cc61730a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Try-Tiny perl-x11-protocol perl-File-Which perl-Test-Pod perl-Test-Pod-Coverage perl-CPAN-Changes \
+REQUIRES="perl-Try-Tiny perl-File-Which perl-Test-Pod perl-Test-Pod-Coverage perl-CPAN-Changes \
perl-tk perl-Test-Trap perl-Exception-Class perl-Readonly perl-Test-DistManifest perl-Test-Differences \
- perl-File-Slurp perl-Sort-Naturally perl-Test-PerlTidy perl-X11-Protocol-Other"
+ perl-Sort-Naturally perl-Test-PerlTidy perl-X11-Protocol-Other"
MAINTAINER="LEVAI Daniel"
EMAIL="leva@ecentrum.hu"
diff --git a/network/ClusterSSH/README b/network/ClusterSSH/README
index 992ddcc0bf..63f1ec1a98 100644
--- a/network/ClusterSSH/README
+++ b/network/ClusterSSH/README
@@ -1,9 +1,10 @@
-ClusterSSH is a tool for making the same change on multiple servers at the same
-time. The 'cssh' command opens an administration console and an xterm to all
-specified hosts. Any text typed into the administration console is replicated
-to all windows. All windows may also be typed into directly.
+ClusterSSH is a tool for making the same change on multiple
+servers at the same time. The 'cssh' command opens an administration
+console and an xterm to all specified hosts. Any text typed into the
+administration console is replicated to all windows. All windows may
+also be typed into directly.
-This tool is intended for (but not limited to) cluster administration where the
-same configuration or commands must be run on each node within the cluster.
-Performing these commands all at once via this tool ensures all nodes are kept
-in sync.
+This tool is intended for (but not limited to) cluster administration
+where the same configuration or commands must be run on each node
+within the cluster. Performing these commands all at once via this
+tool ensures all nodes are kept in sync.
diff --git a/network/DarTui/DarTui.SlackBuild b/network/DarTui/DarTui.SlackBuild
deleted file mode 100644
index b38ff76add..0000000000
--- a/network/DarTui/DarTui.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for DarTui
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=DarTui
-VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md CHANGELOG.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/DarTui/DarTui.info b/network/DarTui/DarTui.info
deleted file mode 100644
index a83e7a3068..0000000000
--- a/network/DarTui/DarTui.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="DarTui"
-VERSION="1.1.0"
-HOMEPAGE="https://github.com/cjlucas/dartui"
-DOWNLOAD="https://pypi.python.org/packages/source/D/DarTui/DarTui-1.1.0.tar.gz"
-MD5SUM="d65058b3b96245dfa56aa363b722ab71"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="web.py rtorrent-python simplejson"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/DarTui/README b/network/DarTui/README
deleted file mode 100644
index 81e12892b0..0000000000
--- a/network/DarTui/README
+++ /dev/null
@@ -1 +0,0 @@
-An rTorrent web interface with a focus on simplicity, speed and responsiveness.
diff --git a/network/DarTui/slack-desc b/network/DarTui/slack-desc
deleted file mode 100644
index c1ed5db00e..0000000000
--- a/network/DarTui/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-DarTui: DarTui (rTorrent web interface)
-DarTui:
-DarTui: An rTorrent web interface with a focus on simplicity,
-DarTui: speed and responsiveness.
-DarTui:
-DarTui: Homepage: https://github.com/cjlucas/dartui
-DarTui:
-DarTui:
-DarTui:
-DarTui:
-DarTui:
diff --git a/network/DenyHosts/DenyHosts.SlackBuild b/network/DenyHosts/DenyHosts.SlackBuild
index 4d7f9dceb4..7d80c1803c 100644
--- a/network/DenyHosts/DenyHosts.SlackBuild
+++ b/network/DenyHosts/DenyHosts.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for denyhosts
# originally Written by chopp (nix4me@gmail.com)
# Some portions, methods and/or ideas obtained from:
@@ -35,27 +35,37 @@
# programs have moved to /usr/sbin. Also iptables support
# has been added.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=DenyHosts
LCPRGNAM=denyhosts
VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -130,4 +140,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/EarthReader-Web/EarthReader-Web.SlackBuild b/network/EarthReader-Web/EarthReader-Web.SlackBuild
deleted file mode 100644
index 40e77169a7..0000000000
--- a/network/EarthReader-Web/EarthReader-Web.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for EarthReader-Web
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=EarthReader-Web
-VERSION=${VERSION:-0.2.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/EarthReader-Web/EarthReader-Web.info b/network/EarthReader-Web/EarthReader-Web.info
deleted file mode 100644
index ad112581eb..0000000000
--- a/network/EarthReader-Web/EarthReader-Web.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="EarthReader-Web"
-VERSION="0.2.1"
-HOMEPAGE="http://earthreader.org/"
-DOWNLOAD="https://pypi.python.org/packages/source/E/EarthReader-Web/EarthReader-Web-0.2.1.tar.gz"
-MD5SUM="d392961ec1e9d2778b841bd938692553"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-libsass Flask libearth waitress"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/EarthReader-Web/README b/network/EarthReader-Web/README
deleted file mode 100644
index 91f70e93bc..0000000000
--- a/network/EarthReader-Web/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Earth Reader for Web.
-
-Web frontend of Earth Reader.
-
-We are trying to make the RSS reader possible to run on various
-devices and be synchronized without any particular centralized
-proprietary services.
diff --git a/network/EarthReader-Web/slack-desc b/network/EarthReader-Web/slack-desc
deleted file mode 100644
index 96778ff272..0000000000
--- a/network/EarthReader-Web/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-EarthReader-Web: EarthReader-Web (Earth Reader for Web)
-EarthReader-Web:
-EarthReader-Web: We are trying to make the RSS reader possible to run on various
-EarthReader-Web: devices and be synchronized without any particular centralized
-EarthReader-Web: proprietary services.
-EarthReader-Web:
-EarthReader-Web: Homepage: http://earthreader.org/
-EarthReader-Web:
-EarthReader-Web:
-EarthReader-Web:
-EarthReader-Web:
diff --git a/network/Electrum-DASH/Electrum-DASH.SlackBuild b/network/Electrum-DASH/Electrum-DASH.SlackBuild
deleted file mode 100644
index 982a937dfb..0000000000
--- a/network/Electrum-DASH/Electrum-DASH.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Electrum-DASH
-
-# Copyright 2016 Reedych <reedych@reedych.pw>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=Electrum-DASH
-VERSION=${VERSION:-2.4.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-pyrcc4 icons.qrc -o gui/qt/icons_rc.py
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENCE README.rst RELEASE-NOTES $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/Electrum-DASH/Electrum-DASH.info b/network/Electrum-DASH/Electrum-DASH.info
deleted file mode 100644
index d274c05e91..0000000000
--- a/network/Electrum-DASH/Electrum-DASH.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Electrum-DASH"
-VERSION="2.4.1"
-HOMEPAGE="https://electrum-dash.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/Electrum-DASH-2.4.1.tar.gz"
-MD5SUM="a2fa80487472e517d6a9418f3460b310"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SlowAES ecdsa python-qrcode pyasn1-modules python-tlslite python-pbkdf2 protobuf python-jsonrpclib dnspython python-requests python-x11_hash trezor mnemonic"
-MAINTAINER="Reedych"
-EMAIL="reedych@reedych.pw"
diff --git a/network/Electrum-DASH/README b/network/Electrum-DASH/README
deleted file mode 100644
index d3be75b3da..0000000000
--- a/network/Electrum-DASH/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Electrum-DASH is an easy to use Dash client.
-
-There is no waiting time when you start the client, because it does
-not download the Bitcoin blockchain.
diff --git a/network/Electrum-DASH/slack-desc b/network/Electrum-DASH/slack-desc
deleted file mode 100644
index 4167b65d97..0000000000
--- a/network/Electrum-DASH/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-Electrum-DASH: Electrum-DASH (dash client)
-Electrum-DASH:
-Electrum-DASH: Electrum-DASH is an easy to use Dash client.
-Electrum-DASH:
-Electrum-DASH: There is no waiting time when you start the client, because it does
-Electrum-DASH: not download the Bitcoin blockchain.
-Electrum-DASH:
-Electrum-DASH: Project URL: https://electrum-dash.org/
-Electrum-DASH:
-Electrum-DASH:
-Electrum-DASH:
diff --git a/network/Electrum/Electrum.SlackBuild b/network/Electrum/Electrum.SlackBuild
index 32087f4e5d..b53dc90e61 100644
--- a/network/Electrum/Electrum.SlackBuild
+++ b/network/Electrum/Electrum.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Electrum
# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# Copyright 2019 nomnombtc <nomnombtc@arcor.de>
+# Copyright 2019-2024 nomnombtc <nomnombtc@arcor.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -15,7 +15,7 @@
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Electrum
-VERSION=${VERSION:-4.0.9}
+VERSION=${VERSION:-4.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,6 +57,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -76,7 +86,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENCE README.rst RELEASE-NOTES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENCE README.md RELEASE-NOTES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/Electrum/Electrum.info b/network/Electrum/Electrum.info
index dbe65a8c9d..3a5badf64e 100644
--- a/network/Electrum/Electrum.info
+++ b/network/Electrum/Electrum.info
@@ -1,10 +1,10 @@
PRGNAM="Electrum"
-VERSION="4.0.9"
+VERSION="4.5.4"
HOMEPAGE="https://electrum.org/"
-DOWNLOAD="https://download.electrum.org/4.0.9/Electrum-4.0.9.tar.gz"
-MD5SUM="e98edf2e8a9c43ed68639181ec15d1df"
+DOWNLOAD="https://download.electrum.org/4.5.4/Electrum-4.5.4.tar.gz"
+MD5SUM="976c372f870cd137432ac59305f88810"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-PyQt5 protobuf3 cryptography dnspython secp256k1 python-certifi python3-six python3-aiohttp python3-aiohttp-socks python3-aiorpcX python-qrcode python-chardet python-bitstring QDarkStyle"
+REQUIRES="protobuf3 cryptography secp256k1 python3-aiohttp-socks python3-aiorpcX python-qrcode python-bitstring jsonpatch QDarkStyle"
MAINTAINER="nomnombtc"
EMAIL="nomnombtc@arcor.de"
diff --git a/network/Electrum/README b/network/Electrum/README
index 18a07bc14b..17dee0d0d9 100644
--- a/network/Electrum/README
+++ b/network/Electrum/README
@@ -3,6 +3,4 @@ Electrum is an easy to use Bitcoin client.
There is no waiting time when you start the client, because it does
not download the Bitcoin blockchain.
-NOTE:
-Make sure python3 is installed before building any dependencies
-as we need Python3 bindings.
+zbar is an optional dependency (enables scanning QRCodes).
diff --git a/network/Electrum/doinst.sh b/network/Electrum/doinst.sh
index 5fb28930db..fd1bca3b49 100644
--- a/network/Electrum/doinst.sh
+++ b/network/Electrum/doinst.sh
@@ -1,3 +1,8 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/FireWorks/FireWorks.SlackBuild b/network/FireWorks/FireWorks.SlackBuild
index e2993feddb..457a25009e 100644
--- a/network/FireWorks/FireWorks.SlackBuild
+++ b/network/FireWorks/FireWorks.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FireWorks
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FireWorks
-VERSION=${VERSION:-1.3.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,13 +79,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst CHANGES.txt LICENSE PKG-INFO docs/*.rst \
+cp -a README.md CHANGES.txt LICENSE docs/*.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/FireWorks/FireWorks.info b/network/FireWorks/FireWorks.info
index 10584b6020..3b62f2a824 100644
--- a/network/FireWorks/FireWorks.info
+++ b/network/FireWorks/FireWorks.info
@@ -1,10 +1,10 @@
PRGNAM="FireWorks"
-VERSION="1.3.4"
+VERSION="2.0.3"
HOMEPAGE="https://github.com/materialsproject/fireworks"
-DOWNLOAD="https://pypi.python.org/packages/2e/36/15de68d74d5dc4927cdbb92b4ae0a658885eb08f2974894ff30fe000d6bc/FireWorks-1.3.4.tar.gz"
-MD5SUM="7268d2457124d472162406f59ec00452"
+DOWNLOAD="https://files.pythonhosted.org/packages/d1/9a/54d72f7b09995155f513064d1e6207b3ac87f73306b4c0522c3dd68b6a57/FireWorks-2.0.3.tar.gz"
+MD5SUM="418b196f2710938380e374ca85ac12e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pymongo monty python-dateutil python-tabulate flask-paginate gunicorn"
+REQUIRES="pymongo monty python3-dateutil python3-tabulate python3-flask-paginate gunicorn python3-ruamel.yaml tqdm"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/FireWorks/README b/network/FireWorks/README
index 1039ff7a8d..7bfbf7feda 100644
--- a/network/FireWorks/README
+++ b/network/FireWorks/README
@@ -7,4 +7,4 @@ Some features that distinguish FireWorks are the capability to program
dynamic workflows and built-in tools for running high-throughput
computations at large computing centers.
-Optional dependencies: python-requests, fabric
+Optional dependency: fabric
diff --git a/network/Flootty/Flootty.SlackBuild b/network/Flootty/Flootty.SlackBuild
deleted file mode 100644
index 5b41e1ed1c..0000000000
--- a/network/Flootty/Flootty.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Flootty
-
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=Flootty
-VERSION=${VERSION:-3.2.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/Flootty/Flootty.info b/network/Flootty/Flootty.info
deleted file mode 100644
index d774208a20..0000000000
--- a/network/Flootty/Flootty.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Flootty"
-VERSION="3.2.1"
-HOMEPAGE="https://floobits.com"
-DOWNLOAD="https://pypi.python.org/packages/f3/9c/234dd2fbf0eed5b3537c4224ff5950afe61e4b6556fdec54b8b2e2b3419e/Flootty-3.2.1.tar.gz"
-MD5SUM="9e51d9fa0defd073ec4075546ac4e999"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/Flootty/README b/network/Flootty/README
deleted file mode 100644
index d25fcc5240..0000000000
--- a/network/Flootty/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Floobits collaborative terminal.
-Flootty will automatically attempt to join a workspace without specifying
-the term name if there is only one terminal. Flootty is also able to read
-in .floo files which floobits adds to the root directory of every shared
-workspace. Simply call flootty from a shared directory.
diff --git a/network/Flootty/slack-desc b/network/Flootty/slack-desc
deleted file mode 100644
index f2f62f7e3d..0000000000
--- a/network/Flootty/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-Flootty: Flootty (Floobits collaborative terminal)
-Flootty:
-Flootty: Flootty will automatically attempt to join a workspace without
-Flootty: specifying the term name if there is only one terminal.
-Flootty:
-Flootty: Homepage: https://floobits.com
-Flootty:
-Flootty:
-Flootty:
-Flootty:
-Flootty:
diff --git a/network/Free-Cinema/Free-Cinema.SlackBuild b/network/Free-Cinema/Free-Cinema.SlackBuild
deleted file mode 100644
index 831ab3fe46..0000000000
--- a/network/Free-Cinema/Free-Cinema.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Free-Cinema
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=Free-Cinema
-VERSION=${VERSION:-0.3.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/Free-Cinema/Free-Cinema.info b/network/Free-Cinema/Free-Cinema.info
deleted file mode 100644
index 13804a56a8..0000000000
--- a/network/Free-Cinema/Free-Cinema.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Free-Cinema"
-VERSION="0.3.0"
-HOMEPAGE="https://pypi.python.org/pypi/Free-Cinema/0.3.0"
-DOWNLOAD="https://pypi.python.org/packages/source/F/Free-Cinema/Free-Cinema-0.3.0.tar.gz"
-MD5SUM="2164bb23782a422015fc89cdaec75c8b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxPython BeautifulSoup4"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/Free-Cinema/README b/network/Free-Cinema/README
deleted file mode 100644
index 5a4e47d07f..0000000000
--- a/network/Free-Cinema/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Search, Download movies via Torrent.
-
-This Program Is made to browse movies to download from the comfort of your
-desktop. You Should Have Torrent Client Download the video file.
-
-After installing run the program by typing "freecinema" without quotes
-and browse the movie you want click download save the torrent file from
-the browser and open it with your torrent client.
diff --git a/network/Free-Cinema/slack-desc b/network/Free-Cinema/slack-desc
deleted file mode 100644
index bc18a423fe..0000000000
--- a/network/Free-Cinema/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-Free-Cinema: Free-Cinema (Search, Download movies via Torrent)
-Free-Cinema:
-Free-Cinema: This program is made to browse movies to download from the comfort
-Free-Cinema: of your desktop.
-Free-Cinema:
-Free-Cinema: Homepage: https://pypi.python.org/pypi/Free-Cinema/0.3.0
-Free-Cinema:
-Free-Cinema:
-Free-Cinema:
-Free-Cinema:
-Free-Cinema:
diff --git a/network/GeoIP/GeoIP.SlackBuild b/network/GeoIP/GeoIP.SlackBuild
index 3dd15100e3..a8ec44122e 100644
--- a/network/GeoIP/GeoIP.SlackBuild
+++ b/network/GeoIP/GeoIP.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GeoIP
@@ -30,26 +30,36 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GeoIP
VERSION=${VERSION:-1.6.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -125,8 +135,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/GhostInTheMail/GhostInTheMail.SlackBuild b/network/GhostInTheMail/GhostInTheMail.SlackBuild
index 5e2c240304..a119f26a98 100644
--- a/network/GhostInTheMail/GhostInTheMail.SlackBuild
+++ b/network/GhostInTheMail/GhostInTheMail.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Ghost In The Mail
# Written by majk <majk@konstelacioj.info>
# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GhostInTheMail
VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -53,7 +63,7 @@ find -L . \
-exec chmod 644 {} \;
LDFLAGS="-lpthread" \
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/GhostInTheMail/README b/network/GhostInTheMail/README
index 99cbac6cc6..f871939d00 100644
--- a/network/GhostInTheMail/README
+++ b/network/GhostInTheMail/README
@@ -1,3 +1,3 @@
-Ghost In The Mail is a very basic mail client for Linux, written in C, for GTK.
-It supports attached files. The user can specify the SMTP server, the sender's
-e-mail, and the name.
+Ghost In The Mail is a very basic mail client for Linux, written in C,
+for GTK. It supports attached files. The user can specify the SMTP
+server, the sender's e-mail, and the name.
diff --git a/network/GlobalProtect-openconnect/GlobalProtect-openconnect.SlackBuild b/network/GlobalProtect-openconnect/GlobalProtect-openconnect.SlackBuild
new file mode 100644
index 0000000000..1a38375750
--- /dev/null
+++ b/network/GlobalProtect-openconnect/GlobalProtect-openconnect.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for GlobalProtect-openconnect
+
+# Copyright 2024 Marek Wodzinski <majek@w7i.pl>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=GlobalProtect-openconnect
+SRCNAM=globalprotect-openconnect
+VERSION=${VERSION:-1.4.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cmake -B build \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_FLAGS_RELEASE=-s
+cmake --build build
+DESTDIR=$PKG cmake --install build
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+install -m755 -D $CWD/rc.gpservice $PKG/etc/rc.d/rc.gpservice.new
+mv $PKG/etc/gpservice/gp.conf $PKG/etc/gpservice/gp.conf.new
+rm -rfv $PKG/usr/lib
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/GlobalProtect-openconnect/GlobalProtect-openconnect.info b/network/GlobalProtect-openconnect/GlobalProtect-openconnect.info
new file mode 100644
index 0000000000..4730fe1a43
--- /dev/null
+++ b/network/GlobalProtect-openconnect/GlobalProtect-openconnect.info
@@ -0,0 +1,10 @@
+PRGNAM="GlobalProtect-openconnect"
+VERSION="1.4.9"
+HOMEPAGE="https://github.com/yuezk/GlobalProtect-openconnect/"
+DOWNLOAD="https://github.com/yuezk/GlobalProtect-openconnect/releases/download/v1.4.9/globalprotect-openconnect-1.4.9.tar.gz"
+MD5SUM="85f3d5f718f06291a52e63bba59405a6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openconnect"
+MAINTAINER="Marek Wodzinski"
+EMAIL="majek@w7i.pl"
diff --git a/network/GlobalProtect-openconnect/README b/network/GlobalProtect-openconnect/README
new file mode 100644
index 0000000000..562171c0f4
--- /dev/null
+++ b/network/GlobalProtect-openconnect/README
@@ -0,0 +1,13 @@
+A GlobalProtect VPN client (GUI) for Linux based on Openconnect and
+built with Qt5, supports SAML auth mode, inspired by gp-saml-gui.
+
+Features
+- Similar user experience as the official client in macOS.
+- Supports both SAML and non-SAML authentication modes.
+- Supports automatically selecting the preferred gateway from
+ the multiple gateways.
+- Supports switching gateway from the system tray menu manually.
+
+This is two part application:
+- gpservice - daemon, should be started by /etc/rc.d/rc.gpservice
+- gpclient - client GUI application
diff --git a/network/GlobalProtect-openconnect/doinst.sh b/network/GlobalProtect-openconnect/doinst.sh
new file mode 100644
index 0000000000..f4dab04011
--- /dev/null
+++ b/network/GlobalProtect-openconnect/doinst.sh
@@ -0,0 +1,28 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.gpservice.new
+
+# Does the finished package have config files in etc/?
+config etc/gpservice/gp.conf.new
diff --git a/network/GlobalProtect-openconnect/rc.gpservice b/network/GlobalProtect-openconnect/rc.gpservice
new file mode 100644
index 0000000000..c95aebfff4
--- /dev/null
+++ b/network/GlobalProtect-openconnect/rc.gpservice
@@ -0,0 +1,36 @@
+#!/bin/bash
+#
+# Start/stop gpservice
+# Written by Marek Wodzinski <majek@w7i.pl>
+
+# Start gpservice
+gpservice_start() {
+ if [ -x /usr/bin/gpservice ]; then
+ echo "Starting gpservice."
+ /usr/bin/gpservice &
+ fi
+}
+
+# Stop gpservice
+gpservice_stop() {
+ echo "Stopping gpservice."
+ killall gpservice
+}
+
+case "$1" in
+ start)
+ gpservice_start
+ ;;
+ stop)
+ gpservice_stop
+ ;;
+ restart)
+ gpservice_stop
+ sleep 1
+ gpservice_start
+ ;;
+ *)
+ echo "usage @0 start|stop|restart"
+ exit 1
+ ;;
+esac
diff --git a/network/GlobalProtect-openconnect/slack-desc b/network/GlobalProtect-openconnect/slack-desc
new file mode 100644
index 0000000000..f4d7549db6
--- /dev/null
+++ b/network/GlobalProtect-openconnect/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+GlobalProtect-openconnect: GlobalProtect-openconnect (A GlobalProtect VPN client (GUI))
+GlobalProtect-openconnect:
+GlobalProtect-openconnect: A GlobalProtect VPN client (GUI) for Linux based on Openconnect and
+GlobalProtect-openconnect: built with Qt5, supports SAML auth mode, inspired by gp-saml-gui.
+GlobalProtect-openconnect:
+GlobalProtect-openconnect: Features:
+GlobalProtect-openconnect: Similar user experience as the official client in macOS.
+GlobalProtect-openconnect: Supports both SAML and non-SAML authentication modes.
+GlobalProtect-openconnect: Supports automatically selecting the preferred gateway from
+GlobalProtect-openconnect: the multiple gateways.
+GlobalProtect-openconnect: Supports switching gateway from the system tray menu manually.
diff --git a/network/Icecat/Icecat.SlackBuild b/network/Icecat/Icecat.SlackBuild
deleted file mode 100644
index 9824736b9a..0000000000
--- a/network/Icecat/Icecat.SlackBuild
+++ /dev/null
@@ -1,196 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Icecat
-
-# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA
-# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Almost all of the code was taken from slackware-14.2/patches/source/mozilla-firefox/
-
-PRGNAM=Icecat
-VERSION=${VERSION:-52.3.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=icecat
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O1 "
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O1 "
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- OPTIMIZE=" --enable-optimize=-O1 "
-elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-O2 -march=armv4 -mtune=xscale"
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O1 "
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O1 "
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-
-# Build and install autoconf-2.13 (like PaleMoon)
-cd $TMP
-rm -rf autoconf-2.13
-tar xvf $CWD/autoconf-2.13.tar.xz
-cd autoconf-2.13
-zcat $CWD/autoconf-2.13-consolidated_fixes-1.patch.gz | patch -p1 --verbose
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-rm -rf $TMP/autoconf-tmp
-mkdir -p $TMP/autoconf-tmp
-chmod 700 $TMP/autoconf-tmp
-rm -rf $TMP/autoconf-tmp/*
-mkdir -p $TMP/autoconf-tmp/usr
-
-./configure \
- --prefix=$TMP/autoconf-tmp/usr \
- --program-suffix=-2.13 \
- --infodir=$TMP/autoconf-tmp/usr/info \
- --mandir=$TMP/autoconf-tmp/usr/man \
- --build=$ARCH-slackware-linux
-
-make || make -j1
-make install
-PATH=$TMP/autoconf-tmp/usr/bin:$PATH
-
-# Build Icecat
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION-gnu1.tar.bz2
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Without LANG=C, building the Python environment may fail with:
-# "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)"
-export LANG=C
-
-# Link using gold. This avoids running out of memory on 32-bit systems, and
-# avoids a recurring build failure with GNU ld on other systems.
-chmod 755 $CWD/gold
-export CC="gcc -B$CWD/gold"
-export CXX="g++ -B$CWD/gold"
-export LD="$CWD/gold"
-
-OPTIONS="\
- --enable-official-branding \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-default-mozilla-five-home=/usr/lib${LIBDIRSUFFIX}/icecat-$VERSION \
- --with-system-zlib \
- --enable-alsa \
- --enable-application=browser \
- --enable-default-toolkit=cairo-gtk2 \
- --enable-startup-notification \
- $OPTIMIZE \
- --enable-strip \
- --enable-cpp-rtti \
- --disable-accessibility \
- --disable-crashreporter \
- --disable-debug"
-
-export MOZILLA_OFFICIAL="1"
-export BUILD_OFFICIAL="1"
-export MOZ_PHOENIX="1"
-export MOZ_PACKAGE_JSSHELL="1"
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-
-# Clear some variables that could break the build
-unset DBUS_SESSION_BUS_ADDRESS ORBIT_SOCKETDIR SESSION_MANAGER \
- XDG_SESSION_COOKIE XAUTHORITY MAKEFLAGS
-
-# Assemble our .mozconfig
-echo ". \$topsrcdir/browser/config/mozconfig" > .mozconfig
-
-# Write in it the options above
-for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done
-
-echo "ac_add_options --disable-tests" >> .mozconfig
-make -f client.mk build
-
-make -f client.mk install DESTDIR=$PKG
-
-# Removes unneeded files
-rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/icecat-devel-$VERSION
-rm -rf $PKG/usr/include
-
-mkdir -p $PKG/usr/share/applications
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-# Need some default icons in the right place:
-for i in 16 22 24 32 48 256; do
- install -D -m 0644 browser/branding/official/default${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/icecat.png
-done
-mkdir -p $PKG/usr/share/pixmaps
-( cd $PKG/usr/share/pixmaps ; ln -sf $PKG/usr/share/icons/hicolor/256x256/apps/icecat.png . )
-install -D -m 644 browser/branding/official/default16.png \
- $PKG/usr/lib$LIBDIRSUFFIX/icecat-$VERSION/icons/default16.png
-install -D -m 644 browser/branding/official/default16.png \
- $PKG/usr/lib$LIBDIRSUFFIX/icecat-$VERSION/chrome/icons/default/default16.png
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CLOBBER Changelog.IceCat LEGAL LICENSE README.IceCat README.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/Icecat/Icecat.desktop b/network/Icecat/Icecat.desktop
deleted file mode 100644
index c63523edbe..0000000000
--- a/network/Icecat/Icecat.desktop
+++ /dev/null
@@ -1,75 +0,0 @@
-[Desktop Entry]
-Exec=icecat %u
-Icon=icecat
-Type=Application
-Categories=Network;
-Name=IceCat
-GenericName=Web Browser
-GenericName[af]=Web Blaaier
-GenericName[ar]=متصفح ويب
-GenericName[az]=Veb Səyyahı
-GenericName[bg]=Браузър
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[br]=Furcher ar Gwiad
-GenericName[bs]=WWW Preglednik
-GenericName[ca]=Fullejador web
-GenericName[cs]=WWW prohlížeč
-GenericName[cy]=Porydd Gwe
-GenericName[da]=Browser
-GenericName[de]=Web-Browser
-GenericName[el]=Περιηγητής Ιστού
-GenericName[eo]=TTT-legilo
-GenericName[es]=Navegador web
-GenericName[et]=Veebilehitseja
-GenericName[eu]=Web arakatzailea
-GenericName[fa]=مرورگر وب
-GenericName[fi]=WWW-selain
-GenericName[fo]=Alnótsfar
-GenericName[fr]=Navigateur web
-GenericName[gl]=Navegador Web
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hr]=Web preglednik
-GenericName[hu]=Webböngésző
-GenericName[is]=Vafri
-GenericName[it]=Browser Web
-GenericName[ja]=ウェブブラウザ
-GenericName[ko]=웹 브라우저
-GenericName[lo]=ເວັບບຣາວເຊີ
-GenericName[lt]=Žiniatinklio naršyklė
-GenericName[lv]=Web Pārlūks
-GenericName[mk]=Прелистувач на Интернет
-GenericName[mn]=Веб-Хөтөч
-GenericName[nb]=Nettleser
-GenericName[nds]=Nettkieker
-GenericName[nl]=Webbrowser
-GenericName[nn]=Nettlesar
-GenericName[nso]=Seinyakisi sa Web
-GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador Web
-GenericName[ro]=Navigator de web
-GenericName[ru]=Веб-браузер
-GenericName[se]=Fierpmádatlogan
-GenericName[sk]=Webový prehliadač
-GenericName[sl]=Spletni brskalnik
-GenericName[sr]=Веб претраживач
-GenericName[sr@Latn]=Veb pretraživač
-GenericName[ss]=Ibrawuza yeWeb
-GenericName[sv]=Webbläsare
-GenericName[ta]=வலை உலாவி
-GenericName[tg]=Тафсиргари вэб
-GenericName[th]=เว็บบราวเซอร์
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Навігатор Тенет
-GenericName[uz]=Веб-браузер
-GenericName[ven]=Buronza ya Webu
-GenericName[vi]=Trình duyệt Web
-GenericName[wa]=Betchteu waibe
-GenericName[xh]=Umkhangeli zincwadi we Web
-GenericName[zh_CN]=网页浏览器
-GenericName[zh_TW]=網頁瀏覽器
-GenericName[zu]=Umcingi we-Web
-MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
-X-KDE-StartupNotify=true
diff --git a/network/Icecat/Icecat.info b/network/Icecat/Icecat.info
deleted file mode 100644
index 62e08aa3ae..0000000000
--- a/network/Icecat/Icecat.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="Icecat"
-VERSION="52.3.0"
-HOMEPAGE="http://www.gnu.org/software/gnuzilla/"
-DOWNLOAD="http://ftp.gnu.org/gnu/gnuzilla/52.3.0/icecat-52.3.0-gnu1.tar.bz2\
- http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \
- http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz"
-MD5SUM="67f1ecc240c4f2624c935c5300392260 \
- f2994d302cf736e7e71974edfa51da3c \
- d6cdb231911a8d0b08a25b8dd8c5935c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Azure Zanculmarktum"
-EMAIL="zanculmarktum@gmail.com"
diff --git a/network/Icecat/README b/network/Icecat/README
deleted file mode 100644
index b747d3c556..0000000000
--- a/network/Icecat/README
+++ /dev/null
@@ -1,6 +0,0 @@
-GNU IceCat is the GNU version of the Firefox browser. Its main advantage
-is an ethical one: it is entirely free software.
-
-This SlackBuild builds the entire project from source. To use the
-upstream binary, see the 'icecat' SlackBuild. Please uninstall 'icecat'
-before running this SlackBuild.
diff --git a/network/Icecat/gold b/network/Icecat/gold
deleted file mode 100644
index 7b02884de2..0000000000
--- a/network/Icecat/gold
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/ld.gold "$@"
diff --git a/network/Icecat/slack-desc b/network/Icecat/slack-desc
deleted file mode 100644
index 6103f6a488..0000000000
--- a/network/Icecat/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-Icecat: Icecat (GNU version of the Firefox browser)
-Icecat:
-Icecat: GNU IceCat is the GNU version of the Firefox browser. Its main
-Icecat: advantage is an ethical one: it is entirely free software.
-Icecat:
-Icecat:
-Icecat:
-Icecat:
-Icecat:
-Icecat:
-Icecat:
diff --git a/network/LOIC/LOIC.SlackBuild b/network/LOIC/LOIC.SlackBuild
index 3b10d61b2a..c574873879 100644
--- a/network/LOIC/LOIC.SlackBuild
+++ b/network/LOIC/LOIC.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LOIC
@@ -29,15 +29,25 @@
# caught. This script is released for educational purposes only. #
###############################################################################
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LOIC
BINNAM=loic
VERSION=${VERSION:-2.0.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/LOIC/README b/network/LOIC/README
index f6ccb67a39..ad1004e8d8 100644
--- a/network/LOIC/README
+++ b/network/LOIC/README
@@ -1,26 +1,27 @@
LOIC - the Low Orbit Ion Cannon
-LOIC is an open source network attack application, written in C#. LOIC was
-initially developed by Praetox Technologies, but later it was released into the
-public domain
+LOIC is an open source network attack application, written in C#. LOIC
+was initially developed by Praetox Technologies, but later it was
+released into the public domain
-LOIC performs a denial-of-service (DoS) attack (or when used by multiple
-individuals, a DDoS attack) on a target site by flooding the server with TCP
-packets, UDP packets, or HTTP requests with the intention of disrupting the
-service of a particular host. People have used LOIC to join voluntary botnets.
+LOIC performs a denial-of-service (DoS) attack (or when used by
+multiple individuals, a DDoS attack) on a target site by flooding
+the server with TCP packets, UDP packets, or HTTP requests with the
+intention of disrupting the service of a particular host. People have
+used LOIC to join voluntary botnets.
-This SlackBuild simply builds a package from the binaries. If you would like
-to build it from source, you might want to consider loiq.
+This SlackBuild simply builds a package from the binaries. If you
+would like to build it from source, you might want to consider loiq.
mono is needed to run LOIC:
mono /opt/LOIC/LOIC.exe
-A handy script /usr/bin/loic and a basic desktop integration file have been
-included for ease of use.
+A handy script /usr/bin/loic and a basic desktop integration file have
+been included for ease of use.
WARNING:
-We are not responsible for the use that you give to this tool. You cannot blame
-us if you use this tool to attack servers you don't own and get caught. This
-script is released for educational purposes only.
+We are not responsible for the use that you give to this tool. You
+cannot blame us if you use this tool to attack servers you don't own
+and get caught. This script is released for educational purposes only.
diff --git a/network/MEGAcmd/MEGAcmd.SlackBuild b/network/MEGAcmd/MEGAcmd.SlackBuild
new file mode 100644
index 0000000000..2f36025842
--- /dev/null
+++ b/network/MEGAcmd/MEGAcmd.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for MEGAcmd
+
+# Copyright 2017,2018 Felipe Bugno <capent@yahoo.com>
+#
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=MEGAcmd
+VERSION=${VERSION:-1.6.3}
+SDK=${SDK:-4.17.1d}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-${VERSION}_Linux
+tar xvf $CWD/$PRGNAM-${VERSION}_Linux.tar.?z
+cd $PRGNAM-${VERSION}_Linux/sdk
+tar --strip-components=1 -xvf $CWD/sdk-$SDK.tar.gz
+# Apply fix-ffmpeg-compile.patch ; Thanks to Arch linux.
+patch -p1 < $CWD/fix-ffmpeg-compile.patch
+
+cd ../
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./autogen.sh
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+# Fix installdir of megacmd_completion.sh
+rm -rf $PKG/etc
+install -Dm644 src/client/megacmd_completion.sh $PKG/usr/share/bash-completion/completions/megacmd
+
+# Don't ship .la files:
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md UserGuide.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/MEGAcmd/MEGAcmd.info b/network/MEGAcmd/MEGAcmd.info
new file mode 100644
index 0000000000..9e2d7a195d
--- /dev/null
+++ b/network/MEGAcmd/MEGAcmd.info
@@ -0,0 +1,12 @@
+PRGNAM="MEGAcmd"
+VERSION="1.6.3"
+HOMEPAGE="https://github.com/meganz/MEGAcmd"
+DOWNLOAD="https://github.com/meganz/MEGAcmd/archive/1.6.3_Linux/MEGAcmd-1.6.3_Linux.tar.gz \
+ https://github.com/meganz/sdk/archive/v4.17.1d/sdk-4.17.1d.tar.gz"
+MD5SUM="9d6d61f0dc029ccc5aceeb3fa643b1bd \
+ 09e1926a06ab62ddef9b2dd3846c6ba7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="FreeImage libmediainfo"
+MAINTAINER="JW(Shinichi Abe)"
+EMAIL="shin1.abe@nifty.com"
diff --git a/network/MEGAcmd/README b/network/MEGAcmd/README
new file mode 100644
index 0000000000..68a51ee253
--- /dev/null
+++ b/network/MEGAcmd/README
@@ -0,0 +1,12 @@
+MEGA Command Line Interactive and Scriptable Application
+
+--------------------------------------------------------
+Short how2:
+$ mega-cmd
+MEGA CMD> help
+
+You can see available commands.
+
+MEGA CMD> login --help
+Usage: login [--auth-code=XXXX] [email [password]] |
+ exportedfolderurl#key | session
diff --git a/network/MEGAcmd/fix-ffmpeg-compile.patch b/network/MEGAcmd/fix-ffmpeg-compile.patch
new file mode 100644
index 0000000000..daa9fd72fe
--- /dev/null
+++ b/network/MEGAcmd/fix-ffmpeg-compile.patch
@@ -0,0 +1,29 @@
+--- a/src/gfx/freeimage.cpp 2023-03-03 22:13:58.000000000 +0000
++++ b/src/gfx/freeimage.cpp 2023-03-14 10:03:10.950216675 +0000
+@@ -212,7 +212,7 @@
+ #ifdef AV_CODEC_CAP_TRUNCATED
+ #define CAP_TRUNCATED AV_CODEC_CAP_TRUNCATED
+ #else
+-#define CAP_TRUNCATED CODEC_CAP_TRUNCATED
++#define CAP_TRUNCATED 0
+ #endif
+
+ const char *GfxProviderFreeImage::supportedformatsFfmpeg()
+@@ -313,7 +313,7 @@
+
+ // Find decoder for video stream
+ AVCodecID codecId = codecParm->codec_id;
+- AVCodec* decoder = avcodec_find_decoder(codecId);
++ auto decoder = avcodec_find_decoder(codecId);
+ if (!decoder)
+ {
+ LOG_warn << "Codec not found: " << codecId;
+@@ -330,7 +330,6 @@
+
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+- videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext->flags |= CAP_TRUNCATED;
+
diff --git a/network/MEGAcmd/slack-desc b/network/MEGAcmd/slack-desc
new file mode 100644
index 0000000000..89602d38d7
--- /dev/null
+++ b/network/MEGAcmd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+MEGAcmd: MEGAcmd (MEGA Command Line Interactive and Scriptable Application)
+MEGAcmd:
+MEGAcmd: MEGAcmd provides non UI access to MEGA services. It intends to offer
+MEGAcmd: all the functionality with your MEGA account via commands.
+MEGAcmd: It features synchronization , backup of local folders into your MEGA
+MEGAcmd: account and a webdav/streaming server
+MEGAcmd:
+MEGAcmd: Homepage: https://github.com/meganz/MEGAcmd
+MEGAcmd:
+MEGAcmd:
+MEGAcmd:
diff --git a/network/MEGAsync/MEGAsync.SlackBuild b/network/MEGAsync/MEGAsync.SlackBuild
index d15a188abf..4d804db29e 100644
--- a/network/MEGAsync/MEGAsync.SlackBuild
+++ b/network/MEGAsync/MEGAsync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MEGASync input plugin
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MEGAsync
-VERSION=${VERSION:-3.7.1.0}
-SDK=${SDK:-ce7b5f0b390a02ffd1fbfbac741deb5294f7a5df}
+VERSION=${VERSION:-4.5.3.0}
+SDK=${SDK:-3.8.2c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,7 +83,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/megasync-4.5.0.0_ffmpeg.patch
cd src/MEGASync/mega
+patch -p1 < $CWD/megasync-4.5.0.0_pdfium.patch
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -122,4 +135,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/MEGAsync/MEGAsync.info b/network/MEGAsync/MEGAsync.info
index dca63a1e20..db02860be9 100644
--- a/network/MEGAsync/MEGAsync.info
+++ b/network/MEGAsync/MEGAsync.info
@@ -1,12 +1,12 @@
PRGNAM="MEGAsync"
-VERSION="3.7.1.0"
+VERSION="4.5.3.0"
HOMEPAGE="https://github.com/meganz/MEGAsync/"
-DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v3.7.1.0_Linux/MEGAsync-3.7.1.0_Linux.tar.gz \
- https://github.com/meganz/sdk/archive/ce7b5f0/sdk-ce7b5f0b390a02ffd1fbfbac741deb5294f7a5df.tar.gz"
-MD5SUM="d44da5216693efc7f63ba85b477ea46c \
- e7716ddf00b1b3f0166cfb8f222d8550"
+DOWNLOAD="https://github.com/meganz/MEGAsync/archive/v4.5.3.0_Linux/MEGAsync-4.5.3.0_Linux.tar.gz \
+ https://github.com/meganz/sdk/archive/v3.8.2c/sdk-3.8.2c.tar.gz"
+MD5SUM="be0f1e070b6990c19d766990758ef997 \
+ ded79c86d1ddbe2572f0562fa1dc15fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libuv libsodium cryptopp FreeImage c-ares libmediainfo"
+REQUIRES="FreeImage libmediainfo"
MAINTAINER="Felipe Bugno"
EMAIL="capent@yahoo.com"
diff --git a/network/MEGAsync/megasync-4.5.0.0_ffmpeg.patch b/network/MEGAsync/megasync-4.5.0.0_ffmpeg.patch
new file mode 100644
index 0000000000..a30d4a1eff
--- /dev/null
+++ b/network/MEGAsync/megasync-4.5.0.0_ffmpeg.patch
@@ -0,0 +1,24 @@
+diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp b/src/MEGASync/mega/src/gfx/freeimage.cpp
+--- a/src/MEGASync/mega/src/gfx/freeimage.cpp 2021-05-23 02:28:08.694081111 +0100
++++ b/src/MEGASync/mega/src/gfx/freeimage.cpp 2021-05-23 02:29:56.189964969 +0100
+@@ -188,7 +188,7 @@
+
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+- videoStream->skip_to_keyframe = true;
++ //videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
+diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp b/src/MEGASync/mega/src/gfx/qt.cpp
+--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.694081111 +0100
++++ b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
+@@ -1209,7 +1209,7 @@
+
+ // Force seeking to key frames
+ formatContext->seek2any = false;
+- videoStream->skip_to_keyframe = true;
++ //videoStream->skip_to_keyframe = true;
+ if (decoder->capabilities & CAP_TRUNCATED)
+ {
+ codecContext.flags |= CAP_TRUNCATED;
diff --git a/network/MEGAsync/megasync-4.5.0.0_pdfium.patch b/network/MEGAsync/megasync-4.5.0.0_pdfium.patch
new file mode 100644
index 0000000000..141ab30576
--- /dev/null
+++ b/network/MEGAsync/megasync-4.5.0.0_pdfium.patch
@@ -0,0 +1,16 @@
+diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
+index 83ddc2e2f..46aa06d33 100644
+--- a/bindings/qt/sdk.pri
++++ b/bindings/qt/sdk.pri
+@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
+ DEFINES += HAVE_PDFIUM
+ LIBS += -lpdfium
+ }
++ else:exists(/usr/include/pdfium/fpdfview.h) {
++ DEFINES += HAVE_PDFIUM
++ INCLUDEPATH += /usr/include/pdfium
++ LIBS += -lpdfium
++ }
+ }
+ else {#win/mac
+ DEFINES += HAVE_PDFIUM
diff --git a/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.SlackBuild b/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.SlackBuild
index faf559b5e1..30c19e973c 100644
--- a/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.SlackBuild
+++ b/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NetworkManager-fortisslvpn
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NetworkManager-fortisslvpn
VERSION=${VERSION:-1.2.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.info b/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.info
index d7472771fe..cce73654d2 100644
--- a/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.info
+++ b/network/NetworkManager-fortisslvpn/NetworkManager-fortisslvpn.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openfortivpn"
MAINTAINER="Gerardo Zamudio"
-EMAIL="gerado.zamudio@linux.com"
+EMAIL="gerardo.zamudio@linux.com"
diff --git a/network/NetworkManager-l2tp/NetworkManager-l2tp.SlackBuild b/network/NetworkManager-l2tp/NetworkManager-l2tp.SlackBuild
index eb77c952d8..5dd176080c 100644
--- a/network/NetworkManager-l2tp/NetworkManager-l2tp.SlackBuild
+++ b/network/NetworkManager-l2tp/NetworkManager-l2tp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NetworkManager-l2tp
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NetworkManager-l2tp
-SRCNAM=network-manager-l2tp
-VERSION=${VERSION:-1.2.12}
+VERSION=${VERSION:-1.20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -98,6 +107,6 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/NetworkManager-l2tp/NetworkManager-l2tp.info b/network/NetworkManager-l2tp/NetworkManager-l2tp.info
index 9b55fc92f4..583b10d136 100644
--- a/network/NetworkManager-l2tp/NetworkManager-l2tp.info
+++ b/network/NetworkManager-l2tp/NetworkManager-l2tp.info
@@ -1,8 +1,8 @@
PRGNAM="NetworkManager-l2tp"
-VERSION="1.2.12"
+VERSION="1.20.0"
HOMEPAGE="https://github.com/nm-l2tp/network-manager-l2tp"
-DOWNLOAD="https://github.com/nm-l2tp/network-manager-l2tp/archive/1.2.12/network-manager-l2tp-1.2.12.tar.gz"
-MD5SUM="e26824d4ae67ec75b7f19ae0fca4ea36"
+DOWNLOAD="https://github.com/nm-l2tp/network-manager-l2tp/archive/1.20.0/NetworkManager-l2tp-1.20.0.tar.gz"
+MD5SUM="20fce392d44c763e1375b9c7ea8db6d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/NetworkManager-l2tp/README b/network/NetworkManager-l2tp/README
index d082af1adf..613ce04db3 100644
--- a/network/NetworkManager-l2tp/README
+++ b/network/NetworkManager-l2tp/README
@@ -1,4 +1,5 @@
-NetworkManager-l2tp is a VPN plugin for NetworkManager 1.2 and later which
-provides support for L2TP and L2TP/IPsec (i.e. L2TP over IPsec) connections.
+NetworkManager-l2tp is a VPN plugin for NetworkManager 1.2 and later
+which provides support for L2TP and L2TP/IPsec (i.e. L2TP over IPsec)
+connections.
For L2TP support, it uses xl2tpd
diff --git a/network/NetworkManager-openconnect/NetworkManager-openconnect.SlackBuild b/network/NetworkManager-openconnect/NetworkManager-openconnect.SlackBuild
index 4185c2c967..c8b0fec441 100644
--- a/network/NetworkManager-openconnect/NetworkManager-openconnect.SlackBuild
+++ b/network/NetworkManager-openconnect/NetworkManager-openconnect.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NetworkManager
-# Copyright 2010-2017, Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2010-2021, Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NetworkManager-openconnect
-VERSION=${VERSION:-1.2.4}
+VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,6 +97,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --without-libnm-glib \
--build=$ARCH-slackware-linux
make
@@ -105,4 +116,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/NetworkManager-openconnect/NetworkManager-openconnect.info b/network/NetworkManager-openconnect/NetworkManager-openconnect.info
index 4d7b1dc2e2..52af8a44ab 100644
--- a/network/NetworkManager-openconnect/NetworkManager-openconnect.info
+++ b/network/NetworkManager-openconnect/NetworkManager-openconnect.info
@@ -1,8 +1,8 @@
PRGNAM="NetworkManager-openconnect"
-VERSION="1.2.4"
+VERSION="1.2.6"
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/1.2/NetworkManager-openconnect-1.2.4.tar.xz"
-MD5SUM="c0a5086e495166c52d306132672aa1d3"
+DOWNLOAD="https://download.gnome.org/sources/NetworkManager-openconnect/1.2/NetworkManager-openconnect-1.2.6.tar.xz"
+MD5SUM="59c002f02548ae56e9cbabfea178fb44"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openconnect"
diff --git a/network/NetworkManager-openvpn/NetworkManager-openvpn.SlackBuild b/network/NetworkManager-openvpn/NetworkManager-openvpn.SlackBuild
deleted file mode 100644
index 46b08ddac2..0000000000
--- a/network/NetworkManager-openvpn/NetworkManager-openvpn.SlackBuild
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for NetworkManager-openvpn
-
-# Copyright 2010-2017 Robby Workman, Tuscaloosa, Alabama, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=NetworkManager-openvpn
-VERSION=${VERSION:-1.2.10}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# Bail out if user or group isn't valid on your system
-# For slackbuilds.org, assigned nm-openvpn uid/gid are 320/320
-# See http://slackbuilds.org/uid_gid.txt
-if ! getent group nm-openvpn 2>&1 > /dev/null; then
- echo " You must have a \"nm-openvpn\" group to run this script."
- echo " # groupadd -g 320 nm-openvpn"
- exit 1
-elif ! getent passwd nm-openvpn 2>&1 > /dev/null; then
- echo " You must have a \"nm-openvpn\" user to run this script."
- echo " # useradd -u 320 -g nm-openvpn -d /var/lib/openvpn/chroot -s /bin/false nm-openvpn"
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Create the chroot directory
-# From src/nm-openvpn-service-defines.h
-# /* User name and group to run nm-openvpn-service under */
-# #define NM_OPENVPN_USER "nm-openvpn"
-# #define NM_OPENVPN_GROUP "nm-openvpn"
-# #define NM_OPENVPN_CHROOT LOCALSTATEDIR "/lib/openvpn/chroot"
-mkdir -p $PKG/var/lib/openvpn/chroot
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/NetworkManager-openvpn/NetworkManager-openvpn.info b/network/NetworkManager-openvpn/NetworkManager-openvpn.info
deleted file mode 100644
index 85a02339c8..0000000000
--- a/network/NetworkManager-openvpn/NetworkManager-openvpn.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="NetworkManager-openvpn"
-VERSION="1.2.10"
-HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
-DOWNLOAD="https://download.gnome.org/sources/NetworkManager-openvpn/1.2/NetworkManager-openvpn-1.2.10.tar.xz"
-MD5SUM="f118226ed2bfbacfd64ac4d1e0bd0383"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
diff --git a/network/NetworkManager-openvpn/README b/network/NetworkManager-openvpn/README
deleted file mode 100644
index f93df9233b..0000000000
--- a/network/NetworkManager-openvpn/README
+++ /dev/null
@@ -1,5 +0,0 @@
-NetworkManager-openvpn (OpenVPN Support for NetworkManager)
-
-You will need an "nm-openvpn" user and group to use this. Suggested:
-# groupadd -g 320 nm-openvpn
-# useradd -u 320 -g nm-openvpn -d /var/lib/openvpn/chroot -s /bin/false nm-openvpn
diff --git a/network/NetworkManager-openvpn/slack-desc b/network/NetworkManager-openvpn/slack-desc
deleted file mode 100644
index 2393b7b408..0000000000
--- a/network/NetworkManager-openvpn/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-NetworkManager-openvpn: NetworkManager-openvpn (OpenVPN Support for NetworkManager)
-NetworkManager-openvpn:
-NetworkManager-openvpn: OpenVPN support for NetworkManager
-NetworkManager-openvpn:
-NetworkManager-openvpn:
-NetworkManager-openvpn:
-NetworkManager-openvpn:
-NetworkManager-openvpn:
-NetworkManager-openvpn:
-NetworkManager-openvpn:
-NetworkManager-openvpn:
diff --git a/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild b/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild
index 325758ed3b..a28442c5e5 100644
--- a/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild
+++ b/network/NetworkManager-pptp/NetworkManager-pptp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NetworkManager-pptp
-# Copyright 2010-2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2010-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NetworkManager-pptp
VERSION=${VERSION:-1.2.8}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,8 +91,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --without-libnm-glib \
--with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/$PPPD \
- --without-gnome \
--build=$ARCH-slackware-linux
make
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/NetworkManager-pptp/NetworkManager-pptp.info b/network/NetworkManager-pptp/NetworkManager-pptp.info
index a02a65fe28..1ef5689fce 100644
--- a/network/NetworkManager-pptp/NetworkManager-pptp.info
+++ b/network/NetworkManager-pptp/NetworkManager-pptp.info
@@ -1,7 +1,7 @@
PRGNAM="NetworkManager-pptp"
VERSION="1.2.8"
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-pptp/1.2/NetworkManager-pptp-1.2.8.tar.xz"
+DOWNLOAD="https://download.gnome.org/sources/NetworkManager-pptp/1.2/NetworkManager-pptp-1.2.8.tar.xz"
MD5SUM="305e31d6aac41813d735f27891fce6d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/NetworkManager-ssh/NetworkManager-ssh.SlackBuild b/network/NetworkManager-ssh/NetworkManager-ssh.SlackBuild
index ddb14ee8d5..f2ce60ad58 100644
--- a/network/NetworkManager-ssh/NetworkManager-ssh.SlackBuild
+++ b/network/NetworkManager-ssh/NetworkManager-ssh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NetworkManager-ssh
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NetworkManager-ssh
-VERSION=${VERSION:-1.2.10}
+VERSION=${VERSION:-1.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/NetworkManager-ssh/NetworkManager-ssh.info b/network/NetworkManager-ssh/NetworkManager-ssh.info
index 95a35f7eb4..88f5358fad 100644
--- a/network/NetworkManager-ssh/NetworkManager-ssh.info
+++ b/network/NetworkManager-ssh/NetworkManager-ssh.info
@@ -1,8 +1,8 @@
PRGNAM="NetworkManager-ssh"
-VERSION="1.2.10"
+VERSION="1.2.12"
HOMEPAGE="https://github.com/danfruehauf/NetworkManager-ssh"
-DOWNLOAD="https://github.com/danfruehauf/NetworkManager-ssh/archive/1.2.10/NetworkManager-ssh-1.2.10.tar.gz"
-MD5SUM="5fe3a26249d77a630f2ef042134fe11a"
+DOWNLOAD="https://github.com/danfruehauf/NetworkManager-ssh/archive/1.2.12/NetworkManager-ssh-1.2.12.tar.gz"
+MD5SUM="c1b66975fd357f119dd111a9bf00f96d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild b/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild
index 139ccd3286..36ebf56a8e 100644
--- a/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild
+++ b/network/NetworkManager-vpnc/NetworkManager-vpnc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NetworkManager-vpnc
-# Copyright 2010-2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2010-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=NetworkManager-vpnc
-VERSION=${VERSION:-1.2.4}
+VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,6 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --without-libnm-glib \
--build=$ARCH-slackware-linux
make
@@ -97,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/NetworkManager-vpnc/NetworkManager-vpnc.info b/network/NetworkManager-vpnc/NetworkManager-vpnc.info
index 1aa961eebb..f6c297e0bc 100644
--- a/network/NetworkManager-vpnc/NetworkManager-vpnc.info
+++ b/network/NetworkManager-vpnc/NetworkManager-vpnc.info
@@ -1,8 +1,8 @@
PRGNAM="NetworkManager-vpnc"
-VERSION="1.2.4"
+VERSION="1.2.6"
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-vpnc/1.2/NetworkManager-vpnc-1.2.4.tar.xz"
-MD5SUM="b482a231f25d3857fd320d7c0b25c785"
+DOWNLOAD="https://download.gnome.org/sources/NetworkManager-vpnc/1.2/NetworkManager-vpnc-1.2.6.tar.xz"
+MD5SUM="4e88a3bde38e3921c2adb9983fb9d09f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="vpnc"
diff --git a/network/PAC/PAC.SlackBuild b/network/PAC/PAC.SlackBuild
index 36d2c298ad..c3d9489c9e 100644
--- a/network/PAC/PAC.SlackBuild
+++ b/network/PAC/PAC.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PAC (Perl Auto Connector)
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PAC
VERSION=${VERSION:-4.5.5.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="$(printf $PRGNAM | tr '[:upper:]' '[:lower:]')"
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -112,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/Pafy/Pafy.SlackBuild b/network/Pafy/Pafy.SlackBuild
index 7ae6997bc0..a5494a4544 100644
--- a/network/Pafy/Pafy.SlackBuild
+++ b/network/Pafy/Pafy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pafy
@@ -23,16 +23,19 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20200119 bkw:
-# Dimitris: this is B. Watson (yalhcru@gmail.com). I can't reach you
+# Dimitris: this is B. Watson (urchlay@slackware.uk). I can't reach you
# by email and you don't use IRC, so I'm "texting" you via this
# comment. Pafy fails to build unless youtube-dl is installed, so
# I added it to REQUIRES as a hard dep.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Pafy
SRCNAM=${PRGNAM,}
VERSION=${VERSION:-0.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/Pafy/README b/network/Pafy/README
index a9b7098d28..7597769aa4 100644
--- a/network/Pafy/README
+++ b/network/Pafy/README
@@ -1,13 +1,16 @@
Pafy (Python API for YouTube content)
-Python API for YouTube - Download videos and retrieve metadata from YouTube.
+Python API for YouTube - Download videos and retrieve metadata from
+YouTube.
- Retreive metadata such as viewcount, duration, rating, author,
thumbnail, keywords.
- Download video or audio at requested resolution / bitrate / format /
filesize.
-- Command line tool (ytdl) for downloading directly from the command line.
-- Retrieve the URL to stream the video in a player such as vlc or mplayer.
+- Command line tool (ytdl) for downloading directly from the command
+ line.
+- Retrieve the URL to stream the video in a player such as vlc or
+ mplayer.
- Works with age-restricted videos and non-embeddable videos.
- Small, standalone, single importable module file (pafy.py).
- Select highest quality stream for download or streaming.
diff --git a/network/PyRSS2Gen/PyRSS2Gen.SlackBuild b/network/PyRSS2Gen/PyRSS2Gen.SlackBuild
deleted file mode 100644
index 2285cf259b..0000000000
--- a/network/PyRSS2Gen/PyRSS2Gen.SlackBuild
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
-# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
-# Slackware build script for PyRSS2Gen
-# Written by Lionel Young <redtricycle@gmail.com>
-# Based on http://slackbuilds.org/template.SlackBuild
-
-PRGNAM=PyRSS2Gen
-VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py build || exit 1
-python setup.py install --root=$PKG || exit 1
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README LICENSE PKG-INFO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/PyRSS2Gen/PyRSS2Gen.info b/network/PyRSS2Gen/PyRSS2Gen.info
deleted file mode 100644
index 0d47049559..0000000000
--- a/network/PyRSS2Gen/PyRSS2Gen.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="PyRSS2Gen"
-VERSION="1.1"
-HOMEPAGE="http://www.dalkescientific.com/Python/PyRSS2Gen.html"
-DOWNLOAD="http://www.dalkescientific.com/Python/PyRSS2Gen-1.1.tar.gz"
-MD5SUM="c56b9453d52b0a70be4f3e95112058aa"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Lionel Young"
-EMAIL="redtricycle@gmail.com"
diff --git a/network/PyRSS2Gen/README b/network/PyRSS2Gen/README
deleted file mode 100644
index f5b22bb47d..0000000000
--- a/network/PyRSS2Gen/README
+++ /dev/null
@@ -1,6 +0,0 @@
-PyRSS2Gen is a Python module that makes it easy to generate valid RSS
-feeds. You can use it to generate RSS feeds for web pages that don't
-have them.
-
-There is also RSSLib which looks like it does the same thing in a slightly
-different way.
diff --git a/network/PyRSS2Gen/slack-desc b/network/PyRSS2Gen/slack-desc
deleted file mode 100644
index a859f9cc7a..0000000000
--- a/network/PyRSS2Gen/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-PyRSS2Gen: PyRSS2Gen (python RSS feed generator)
-PyRSS2Gen:
-PyRSS2Gen: PyRSS2Gen is a Python module that makes it easy to generate valid
-PyRSS2Gen: RSS feeds. You can use it to generate RSS feeds for web pages that
-PyRSS2Gen: don't have them.
-PyRSS2Gen:
-PyRSS2Gen: Home: http://www.dalkescientific.com/Python/PyRSS2Gen.html
-PyRSS2Gen:
-PyRSS2Gen:
-PyRSS2Gen:
-PyRSS2Gen:
diff --git a/network/PySocks/PySocks.SlackBuild b/network/PySocks/PySocks.SlackBuild
index 0c37c92309..cdfc686466 100644
--- a/network/PySocks/PySocks.SlackBuild
+++ b/network/PySocks/PySocks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PySocks
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PySocks
VERSION=${VERSION:-1.6.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/Pyrit/Pyrit.SlackBuild b/network/Pyrit/Pyrit.SlackBuild
index ff37d2fad8..59656fc3ca 100644
--- a/network/Pyrit/Pyrit.SlackBuild
+++ b/network/Pyrit/Pyrit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pyrit
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Pyrit
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/Pyrit/Pyrit.info b/network/Pyrit/Pyrit.info
index 77776829d3..3311b6a4e2 100644
--- a/network/Pyrit/Pyrit.info
+++ b/network/Pyrit/Pyrit.info
@@ -1,7 +1,7 @@
PRGNAM="Pyrit"
VERSION="0.5.0"
HOMEPAGE="https://github.com/JPaulMora/Pyrit"
-DOWNLOAD="https://github.com/JPaulMora/Pyrit/archive/v0.5.0.tar.gz"
+DOWNLOAD="https://github.com/JPaulMora/Pyrit/archive/v0.5.0/Pyrit-0.5.0.tar.gz"
MD5SUM="fbc25ae13a5fed2b2e3ffad7ede0dc71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/Pyrit/README b/network/Pyrit/README
index ff63c58df2..c84cc67b07 100644
--- a/network/Pyrit/README
+++ b/network/Pyrit/README
@@ -1,5 +1,6 @@
-Pyrit allows you to create massive databases of pre-computed WPA/WPA2-PSK
-authentication phase in a space-time-tradeoff. By using the computational
-power of Multi-Core CPUs and other platforms through ATI-Stream,Nvidia CUDA
-and OpenCL, it is currently by far the most powerful attack against one of
-the world's most used security-protocols.
+Pyrit allows you to create massive databases of pre-computed
+WPA/WPA2-PSK authentication phase in a space-time-tradeoff. By using
+the computational power of Multi-Core CPUs and other platforms
+through ATI-Stream,Nvidia CUDA and OpenCL, it is currently by
+far the most powerful attack against one of the world's most used
+security-protocols.
diff --git a/network/Quaternion/Quaternion.SlackBuild b/network/Quaternion/Quaternion.SlackBuild
index a43bdc3ebc..113f01f939 100644
--- a/network/Quaternion/Quaternion.SlackBuild
+++ b/network/Quaternion/Quaternion.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Quaternion
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Quaternion
VERSION=${VERSION:-0.0.9.4e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/Quaternion/Quaternion.info b/network/Quaternion/Quaternion.info
index 69eb62ee78..644d2cfac2 100644
--- a/network/Quaternion/Quaternion.info
+++ b/network/Quaternion/Quaternion.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/quotient-im/Quaternion/archive/0.0.9.4e/Quaternion-
MD5SUM="e489f331b49f18e0554b60070e61b7c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 libQuotient"
+REQUIRES="libQuotient"
MAINTAINER="Charles Daniels"
EMAIL="charles@cdaniels.net"
diff --git a/network/Quaternion/README b/network/Quaternion/README
index 49c048fa48..93bb89e56e 100644
--- a/network/Quaternion/README
+++ b/network/Quaternion/README
@@ -3,9 +3,6 @@ protocol.
SlackBuild notes:
-* -DUSE_KEYCHAIN=0 is set - I was not able to get Quaternion to use the
- version of qtkeychain from slackbuilds.org. YMMV.
-
* -DUSE_INTREE_LIBQMC=0 is set to use the system copy of libQuotient.
Using the in-tree version requires the sources to be fetched
recursively via git, since it's a submodule. You probably don't want
diff --git a/network/QuiteRSS/QuiteRSS.SlackBuild b/network/QuiteRSS/QuiteRSS.SlackBuild
index 5c5b72efbe..65e8c6dc8a 100644
--- a/network/QuiteRSS/QuiteRSS.SlackBuild
+++ b/network/QuiteRSS/QuiteRSS.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QuiteRSS
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
# Maintained by Spycrowsoft as of 2020-10-18
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=QuiteRSS
VERSION=${VERSION:-0.19.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,4 +83,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/RTL8192/README b/network/RTL8192/README
deleted file mode 100644
index 57af2d7643..0000000000
--- a/network/RTL8192/README
+++ /dev/null
@@ -1,26 +0,0 @@
-The RTL8192 package includes the kernel module '8192eu',
-which contains a TP-Link-provided kernel driver known to
-support the Realtek 8192 chipset, and possibly others.
-
-Slackware kernel-source package needs to be installed for build to work,
-and module will need to be re-built after a kernel upgrade.
-
-To build for a kernel other than the one currently running,
-pass KVER variable when invoking SlackBuild script. E.g.,
-
- KVER=4.4.14 ./RTL8192.SlackBuild
-
-This driver is advertised to work with the following TP-Link USB wifi
-adapters: TL-WN821N V6/TL-WN822N V5/TL-WN823N V3. The driver has
-also been tested (both i386 & x86_64) to work for the TL-WN823N V2.
-Other brands of USB devices utilizing the Realtek 8192 chip may work,
-as well.
-
-From the website:
-
- Published Date: 2018-05-08
- Operating System: Linux (kernel 2.6.24 ~ 4.9.60)
-
- For TL-WN821N V6/TL-WN822N V5/TL-WN823N V3.
- This is a beta version; unknown bugs may still exist.
- The formal version is coming soon.
diff --git a/network/RTL8192/RTL8192.SlackBuild b/network/RTL8192/RTL8192.SlackBuild
deleted file mode 100644
index f54f57b1c8..0000000000
--- a/network/RTL8192/RTL8192.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for RTL8192 wifi USB driver.
-#
-# Copyright 2020 by Jay, Seattle, WA.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions, and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=RTL8192
-VERSION=${VERSION:-5.2.19.1}
-BUILD=${BUILD:-25633}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i386 ;;
- arm64*) ARCH=arm64 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-else
- # 32-bit PC build fails if ARCH != i386
- case "$ARCH" in
- i?86) export ARCH=i386 ;;
- esac
-fi
-
-# Caveat emptor
-case "$ARCH" in
- i386) ;;
- x86_64) ;;
- *) echo -e "\nBuild for $ARCH is untested!!"
- echo -e "Press Ctrl-C within ten seconds to abort,"
- echo -e "or press ENTER to continue at your own risk.\n"
- read -t 10 PLACEHOLDER ;;
-esac
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-KVER=${KVER:-$( uname -r )}
-
-set -e
-
-rm -rf $PKG
-rm -rf $TMP/$PRGNAM
-mkdir -p $PKG $OUTPUT $TMP/$PRGNAM
-# Nested zip files
-unzip $CWD/TP-Link_Driver_Linux_series8_beta.zip -d $TMP/$PRGNAM
-cd $TMP/$PRGNAM
-unzip rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047.zip
-cd rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p $PKG/lib/modules/$KVER/kernel/drivers/net/wireless/
-sed -i 's/install -p -m 644 $(MODULE_NAME).ko $(MODDESTDIR)/install -p -m 644 $(MODULE_NAME).ko $(DESTDIR)$(MODDESTDIR)/' Makefile
-sed -i "s/\/sbin\/depmod -a \${KVER}//" Makefile
-sed -i "s/KVER.*:=/KVER ?=/" Makefile
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $TMP/$PRGNAM/readme_beta.txt > $PKG/usr/doc/$PRGNAM-$VERSION/readme_beta.txt
-cp $TMP/$PRGNAM/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION/
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat << EOF > $PKG/install/doinst.sh
-# A good idea whenever kernel modules are added or changed:
-if [ -x sbin/depmod ]; then
- chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null
-fi
-EOF
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$KVER-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/RTL8192/RTL8192.info b/network/RTL8192/RTL8192.info
deleted file mode 100644
index ee8ff7cfe1..0000000000
--- a/network/RTL8192/RTL8192.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="RTL8192"
-VERSION="5.2.19.1"
-HOMEPAGE="https://www.tp-link.com/ca/support/download/tl-wn823n/"
-DOWNLOAD="https://static.tp-link.com/2018/201805/20180514/TP-Link_Driver_Linux_series8_beta.zip"
-MD5SUM="e2c4dbb26f2a4d3eaa6f52328b6e6010"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jay"
-EMAIL="ld.jay@protonmail.com"
diff --git a/network/RTL8192/slack-desc b/network/RTL8192/slack-desc
deleted file mode 100644
index 62257426a3..0000000000
--- a/network/RTL8192/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-RTL8192: RTL8192 (Realtek RTL8192 chip Driver)
-RTL8192:
-RTL8192: Specifically for TP-Link adapters:
-RTL8192: TL-WN821N V6/TL-WN822N V5/TL-WN823N V3.
-RTL8192: Also verified working on TL-WN823N V2.
-RTL8192:
-RTL8192: May also work on other brands using the RTL8192.
-RTL8192:
-RTL8192: For more information, see:
-RTL8192: https://www.tp-link.com/ca/support/download/tl-wn823n/
-RTL8192:
diff --git a/network/RYMTracks/README b/network/RYMTracks/README
deleted file mode 100644
index 5c60fa958f..0000000000
--- a/network/RYMTracks/README
+++ /dev/null
@@ -1,2 +0,0 @@
-RYMTracks is small helper for all those folks who actively uses and
-contributes for RateYourMusic <http://rateyourmusic.com>
diff --git a/network/RYMTracks/RYMTracks.SlackBuild b/network/RYMTracks/RYMTracks.SlackBuild
deleted file mode 100644
index 5a5514dc17..0000000000
--- a/network/RYMTracks/RYMTracks.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for RYMTracks
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=RYMTracks
-VERSION=${VERSION:-0.1.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/RYMTracks/RYMTracks.info b/network/RYMTracks/RYMTracks.info
deleted file mode 100644
index 3d84d832b9..0000000000
--- a/network/RYMTracks/RYMTracks.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="RYMTracks"
-VERSION="0.1.4"
-HOMEPAGE="https://github.com/9seconds/rymtracks/"
-DOWNLOAD="https://pypi.python.org/packages/source/R/RYMTracks/RYMTracks-0.1.4.tar.gz"
-MD5SUM="722b0cabebbcb25f917947e55b0feb71"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="BeautifulSoup4 lxml isodate docopt nose six nltk numpy python-requests colorama termcolor futures mutagen"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/RYMTracks/slack-desc b/network/RYMTracks/slack-desc
deleted file mode 100644
index 1796b91579..0000000000
--- a/network/RYMTracks/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-RYMTracks: RYMTracks (Tracklist scraper)
-RYMTracks:
-RYMTracks: RYMTracks scraps given URLs and presents tracklists into
-RYMTracks: copypasteable form for RateYourMusic.com
-RYMTracks:
-RYMTracks: Homepage: https://github.com/9seconds/rymtracks/
-RYMTracks:
-RYMTracks:
-RYMTracks:
-RYMTracks:
-RYMTracks:
diff --git a/network/SoulseekQt/README b/network/SoulseekQt/README
index 8f42be8f9c..dbfbd01a9d 100644
--- a/network/SoulseekQt/README
+++ b/network/SoulseekQt/README
@@ -1,5 +1,6 @@
-SoulseekQt is the official client software for the Soulseek peer-to-peer
-file-sharing network.
+SoulseekQt is the official client software for the Soulseek
+peer-to-peer file-sharing network.
-This SlackBuild creates a Slackware package from the 64- or 32-bit binary
-SoulseekQt package from the official website.
+This SlackBuild creates a Slackware package from the 64-bit
+binary SoulseekQt AppImage from the official website. 32-bit
+version is not provided by upstream.
diff --git a/network/SoulseekQt/SoulseekQt.SlackBuild b/network/SoulseekQt/SoulseekQt.SlackBuild
index 98fbdad991..ffcf0113b1 100644
--- a/network/SoulseekQt/SoulseekQt.SlackBuild
+++ b/network/SoulseekQt/SoulseekQt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SoulseekQt
-# Copyright 2016-2018, 2020 Dominik Drobek <dominik.drobek (at) o2.pl>
+# Copyright 2016-2018, 2020, 2022 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SoulseekQt
-VERSION=${VERSION:-20160117}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20180130}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-FVER="2016-1-17"
+FVER="2018-1-30"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,15 +40,17 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "x86_64" ]; then
TGZARCH="64bit"
-elif [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- TGZARCH="32bit"
else
printf "\n$ARCH is unsupported for $PRGNAM, exiting.\n\n"
exit 1
@@ -58,18 +63,33 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $TMP/$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$FVER-$TGZARCH.tgz -C $TMP/$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$FVER-$TGZARCH-appimage.tgz -C $TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+./$PRGNAM-$FVER-$TGZARCH.AppImage --appimage-extract
+cd squashfs-root/
chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-install -D -m 755 $PRGNAM-$FVER-$TGZARCH $PKG/opt/$PRGNAM/$PRGNAM
-install -D -m 644 $CWD/$PRGNAM.png -t $PKG/usr/share/pixmaps/
-install -D -m 644 $CWD/$PRGNAM.desktop -t $PKG/usr/share/applications/
-mkdir -p $PKG/usr/bin
+mkdir -p $PKG/{usr/bin,usr/share/applications,usr/share/pixmaps,opt}
+cp -r $TMP/$PRGNAM-$VERSION/squashfs-root/ $PKG/opt/$PRGNAM
+cp soulseek.png $PKG/usr/share/pixmaps/$PRGNAM.png
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
ln -sf ../../opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# provide mock SELinux library
+gcc -s -shared -Wl,-soname,libselinux.so.1 \
+ $CWD/selinux-stub.c -o $PKG/opt/$PRGNAM/lib/libselinux.so.1
+
+# clean up unnecessary files
+rm $PKG/opt/$PRGNAM/{AppRun,.DirIcon,*.AppImage,default.desktop,soulseek.png}
+#rm $PKG/opt/$PRGNAM/lib/libfreetype.so.6 # Arch Linux PKGBUILD deletes this, not sure why
+
+# fix permissions on installed directories
+find $PKG/opt/$PRGNAM -type d -exec chmod 755 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -79,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/SoulseekQt/SoulseekQt.info b/network/SoulseekQt/SoulseekQt.info
index 2e54873c6c..96ff443dcb 100644
--- a/network/SoulseekQt/SoulseekQt.info
+++ b/network/SoulseekQt/SoulseekQt.info
@@ -1,10 +1,10 @@
PRGNAM="SoulseekQt"
-VERSION="20160117"
+VERSION="20180130"
HOMEPAGE="https://www.slsknet.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/SoulseekQt-2016-1-17-32bit.tgz"
-MD5SUM="906d99b15ed02d0d66981fffeeea1218"
-DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/SoulseekQt-2016-1-17-64bit.tgz"
-MD5SUM_x86_64="c843e748a129e4ad9461280aeb2b957a"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://www.slsknet.org/SoulseekQt/Linux/SoulseekQt-2018-1-30-64bit-appimage.tgz"
+MD5SUM_x86_64="1d98331893bc9b9d45ba34f6523353ab"
REQUIRES=""
MAINTAINER="Dominik Drobek"
EMAIL="dominik.drobek (at) o2.pl"
diff --git a/network/SoulseekQt/SoulseekQt.png b/network/SoulseekQt/SoulseekQt.png
deleted file mode 100644
index 35cc7296f7..0000000000
--- a/network/SoulseekQt/SoulseekQt.png
+++ /dev/null
Binary files differ
diff --git a/network/SoulseekQt/selinux-stub.c b/network/SoulseekQt/selinux-stub.c
new file mode 100644
index 0000000000..c3903e341e
--- /dev/null
+++ b/network/SoulseekQt/selinux-stub.c
@@ -0,0 +1,4 @@
+int is_selinux_enabled(void)
+{
+ return 0;
+}
diff --git a/network/SpiderOakONE/SpiderOakONE.SlackBuild b/network/SpiderOakONE/SpiderOakONE.SlackBuild
index 01fe307a85..d514cd6259 100644
--- a/network/SpiderOakONE/SpiderOakONE.SlackBuild
+++ b/network/SpiderOakONE/SpiderOakONE.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SpiderOak
@@ -25,14 +25,24 @@
# Written by Alfredo Tomasini <alto.tom@gmail.com>
# SpiderOakONE-7.5.0-slack_tar_x64.tgz
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="SpiderOakONE"
EXTRA="slack_tar_x64"
VERSION=${VERSION:-7.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=`uname -a | cut -f12 -d\ `
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,4 +68,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/TeamSpeak3/README b/network/TeamSpeak3/README
index 66324e7730..34ed64c4bc 100644
--- a/network/TeamSpeak3/README
+++ b/network/TeamSpeak3/README
@@ -13,4 +13,6 @@ Key features are: client-server architecture, firewall-friendly client
communication, multiple channels, text chat, file transfer, user
administration, and cross-platform support.
+Starting with 3.6.0, TeamSpeak drops the support for Linux 32-bit.
+
This script packages the proprietary client software.
diff --git a/network/TeamSpeak3/TeamSpeak3.SlackBuild b/network/TeamSpeak3/TeamSpeak3.SlackBuild
index c6921a424e..53c7aa5463 100644
--- a/network/TeamSpeak3/TeamSpeak3.SlackBuild
+++ b/network/TeamSpeak3/TeamSpeak3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for TeamSpeak3
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=TeamSpeak3
-VERSION=${VERSION:-3.5.6}
+VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/TeamSpeak3/TeamSpeak3.info b/network/TeamSpeak3/TeamSpeak3.info
index f6d5be52f0..d0b5e8518e 100644
--- a/network/TeamSpeak3/TeamSpeak3.info
+++ b/network/TeamSpeak3/TeamSpeak3.info
@@ -1,10 +1,10 @@
PRGNAM="TeamSpeak3"
-VERSION="3.5.6"
+VERSION="3.6.1"
HOMEPAGE="https://www.teamspeak.com/en/"
-DOWNLOAD="https://files.teamspeak-services.com/releases/client/3.5.6/TeamSpeak3-Client-linux_x86-3.5.6.run"
-MD5SUM="8b667d366c0e257ae58c4688de5a923f"
-DOWNLOAD_x86_64="https://files.teamspeak-services.com/releases/client/3.5.6/TeamSpeak3-Client-linux_amd64-3.5.6.run"
-MD5SUM_x86_64="15d6e255515f37cc514dcf4f0f7cf23d"
-REQUIRES="libxkbcommon"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://files.teamspeak-services.com/releases/client/3.6.1/TeamSpeak3-Client-linux_amd64-3.6.1.run"
+MD5SUM_x86_64="327f66c7923f735b8e9f3425f4c40219"
+REQUIRES=""
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/network/UDR/README b/network/UDR/README
index 044eca08fa..ef8c5ad63b 100644
--- a/network/UDR/README
+++ b/network/UDR/README
@@ -1,3 +1,14 @@
+*** Important remark:
+
+Instead of using this program, it is recommended to change the kernel
+tcp congestion control to bbr by adding the following two lines to
+/etc/sysctl.conf:
+
+net.core.default_qdisc=fq
+net.ipv4.tcp_congestion_control=bbr
+
+*********************
+
UDR is a wrapper around rsync that enables rsync to use UDT protocol and
thus improves throughput of large data transfers over long distances.
diff --git a/network/UDR/UDR.SlackBuild b/network/UDR/UDR.SlackBuild
index 064ca4b6ea..bbec3789c8 100644
--- a/network/UDR/UDR.SlackBuild
+++ b/network/UDR/UDR.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for UDR
-# Copyright 2017-2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2017-2024, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=UDR
-VERSION=${VERSION:-0.9.4_774f2e7}
-GITVERSION=${GITVERSION:-774f2e76c58feeb09dc5401fdff4207602b6f088}
+VERSION=${VERSION:-0.9.4_578b97a}
+GITVERSION=${GITVERSION:-578b97a35769b6d2a99215d6d013bdf49a144164}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/bin $OUTPUT
cd $TMP
rm -rf $PRGNAM-$GITVERSION
-tar xvf $CWD/$GITVERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$GITVERSION.tar.gz
cd $PRGNAM-$GITVERSION
chown -R root:root .
find -L . \
@@ -83,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/UDR/UDR.info b/network/UDR/UDR.info
index 772b79909a..9918290df8 100644
--- a/network/UDR/UDR.info
+++ b/network/UDR/UDR.info
@@ -1,8 +1,8 @@
PRGNAM="UDR"
-VERSION="0.9.4_774f2e7"
+VERSION="0.9.4_578b97a"
HOMEPAGE="https://github.com/martinetd/UDR"
-DOWNLOAD="https://github.com/martinetd/UDR/archive/774f2e7/774f2e76c58feeb09dc5401fdff4207602b6f088.tar.gz"
-MD5SUM="a046d266b95d113d3cecc8ff505c562f"
+DOWNLOAD="https://github.com/martinetd/UDR/archive/578b97a/UDR-578b97a35769b6d2a99215d6d013bdf49a144164.tar.gz"
+MD5SUM="84dd948f0c20a334492f4dbaa55f68ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/WhatWeb/README b/network/WhatWeb/README
index 31daf88b70..3ececbb7b4 100644
--- a/network/WhatWeb/README
+++ b/network/WhatWeb/README
@@ -1,4 +1,5 @@
-WhatWeb identifies websites. Its goal is to answer the question, "What is
-that Website?". WhatWeb recognises web technologies including content
-management systems (CMS), blogging platforms, statistic/analytics packages,
- JavaScript libraries, web servers, and embedded devices.
+WhatWeb identifies websites. Its goal is to answer the question,
+"What is that Website?". WhatWeb recognises web technologies
+including content management systems (CMS), blogging platforms,
+statistic/analytics packages, JavaScript libraries, web servers, and
+embedded devices.
diff --git a/network/WhatWeb/WhatWeb.SlackBuild b/network/WhatWeb/WhatWeb.SlackBuild
index 1956cccd80..d8c8f22868 100644
--- a/network/WhatWeb/WhatWeb.SlackBuild
+++ b/network/WhatWeb/WhatWeb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <whatweb>
@@ -18,10 +18,13 @@
# 0. You just DO WHAT THE FUCK YOU WANT TO.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=WhatWeb
-VERSION=${VERSION:-0.4.9}
+VERSION=${VERSION:-0.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/WhatWeb/WhatWeb.info b/network/WhatWeb/WhatWeb.info
index 0e72d568b5..8c4ee9de47 100644
--- a/network/WhatWeb/WhatWeb.info
+++ b/network/WhatWeb/WhatWeb.info
@@ -1,10 +1,10 @@
PRGNAM="WhatWeb"
-VERSION="0.4.9"
+VERSION="0.5.5"
HOMEPAGE="https://github.com/urbanadventurer/WhatWeb/releases"
-DOWNLOAD="https://github.com/urbanadventurer/WhatWeb/archive/v0.4.9/WhatWeb-0.4.9.tar.gz"
-MD5SUM="31d57457f34f6691ac20639ffdef8ad6"
+DOWNLOAD="https://github.com/urbanadventurer/WhatWeb/archive/v0.5.5/WhatWeb-0.5.5.tar.gz"
+MD5SUM="bc2f2e427e390103121096cda4697849"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="wigums"
-EMAIL="pioneer22675@gmail.com"
+EMAIL="wigums@protonmail.com"
diff --git a/network/XD/XD.SlackBuild b/network/XD/XD.SlackBuild
index 89018797d3..3b09eea3ad 100644
--- a/network/XD/XD.SlackBuild
+++ b/network/XD/XD.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for XD
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=XD
-VERSION=${VERSION:-0.3.4}
+VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# this breaks the build on 4.x series, was not put here by the author.
+#export GO111MODULE="off"
make install PREFIX=$PKG/usr
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -84,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/XD/XD.info b/network/XD/XD.info
index 373a095c1d..732fd7cda6 100644
--- a/network/XD/XD.info
+++ b/network/XD/XD.info
@@ -1,8 +1,8 @@
PRGNAM="XD"
-VERSION="0.3.4"
+VERSION="0.4.2"
HOMEPAGE="https://github.com/majestrate/XD"
-DOWNLOAD="https://github.com/majestrate/XD/archive/v0.3.4.tar.gz"
-MD5SUM="e68c243f875de6e791ef27b5564f1bb6"
+DOWNLOAD="https://github.com/majestrate/XD/archive/v0.4.2/XD-0.4.2.tar.gz"
+MD5SUM="9de5e84d190c2e6cbe7fd0972e0b4eb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"
diff --git a/network/aMule/README b/network/aMule/README
index 86003b568a..d61fc97e92 100644
--- a/network/aMule/README
+++ b/network/aMule/README
@@ -1,11 +1,12 @@
-aMule is a multiplatform ed2k client, fork of the eMule client, using the
-wxWidgets class library. It was originally forked from the xMule project,
-which in turn was forked from the lMule project. This is turn was the
-first fork of eMule to run nativly on Linux and other Unix-like systems.
+aMule is a multiplatform ed2k client, fork of the eMule client, using
+the wxWidgets class library. It was originally forked from the xMule
+project, which in turn was forked from the lMule project. This is
+turn was the first fork of eMule to run nativly on Linux and other
+Unix-like systems.
-libupnp-legacy is a optional dependency.
+libupnp is a optional dependency.
-You can build optimal features of aMule with following variables;
+You can build optional features of aMule with following variables:
DAEMON=yes Creates amuled
CMD=yes Creates commandline client
diff --git a/network/aMule/aMule.SlackBuild b/network/aMule/aMule.SlackBuild
index c9a7b6a33b..b910674f18 100644
--- a/network/aMule/aMule.SlackBuild
+++ b/network/aMule/aMule.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aMule
# Written by Iskar Enev (<iskar.enev[@]gmail.com>)
# Modified by the SlackBuilds.org project
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aMule
-VERSION=${VERSION:-r11003}
+VERSION=${VERSION:-2.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,62 +65,62 @@ fi
if [ "$CMD" = "yes" ]; then
AMULE_CMD="enable"
- else
+else
AMULE_CMD="disable"
fi
if [ "$WEBSERVER" = "yes" ]; then
AMULE_WEBSERVER="enable"
- else
+else
AMULE_WEBSERVER="disable"
fi
if [ "$ALC" = "yes" ]; then
AMULE_ALC="enable"
- else
+else
AMULE_ALC="disable"
fi
if [ "$ALCC" = "yes" ]; then
AMULE_ALCC="enable"
- else
+else
AMULE_ALCC="disable"
fi
if [ "$XAS" = "yes" ]; then
AMULE_XAS="enable"
- else
+else
AMULE_XAS="disable"
fi
if [ "$GEOIP" = "yes" ]; then
AMULE_GEOIP="enable"
- else
+else
AMULE_GEOIP="disable"
fi
if [ "$MMAP" = "yes" ]; then
AMULE_MMAP="enable"
- else
+else
AMULE_MMAP="disable"
fi
if [ "$OPTIMIZE" = "yes" ]; then
AMULE_OPTIMIZE="enable"
- else
+else
AMULE_OPTIMIZE="disable"
fi
if [ "$PLASMAMULE" = "yes" ]; then
AMULE_PLASMAMULE="enable"
- else
+else
AMULE_PLASMAMULE="disable"
fi
if [ "$GUI" = "yes" ]; then
- AMULE_GUI="enable"
- else
- AMULE_GUI="disable"
+ AMULE_GUI="enable"
+else
+ AMULE_GUI="disable"
fi
@@ -130,7 +140,7 @@ find -L . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -140,6 +150,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-wx-config=/usr/bin/wx-config \
--disable-debug \
+ --with-boost \
--$AMULE_GUI-amule-gui \
--$AMULE_DAEMON-amule-daemon \
--$AMULE_CMD-amulecmd \
@@ -169,4 +180,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/aMule/aMule.info b/network/aMule/aMule.info
index 4bdfb50f66..a1ffa7d06d 100644
--- a/network/aMule/aMule.info
+++ b/network/aMule/aMule.info
@@ -1,10 +1,10 @@
PRGNAM="aMule"
-VERSION="r11003"
+VERSION="2.3.3"
HOMEPAGE="http://www.amule.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/aMule-r11003.tar.xz"
-MD5SUM="83e46e574fc5355da4b531c369211a0a"
+DOWNLOAD="https://downloads.sf.net/amule/aMule-2.3.3.tar.xz"
+MD5SUM="2858a7f693c76c23f1786364d6a80900"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cryptopp wxPython"
+REQUIRES="wxGTK3"
MAINTAINER="Ozan Türkyılmaz"
EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/network/acme.sh/README b/network/acme.sh/README
index c251271d74..44518a476a 100644
--- a/network/acme.sh/README
+++ b/network/acme.sh/README
@@ -1,22 +1,24 @@
An ACME Shell script
-- An ACME protocol client written purely in Shell (Unix shell) language.
-- Full ACME protocol implementation.
-- Support ACME v1 and ACME v2
-- Support ACME v2 wildcard certs
-- Simple, powerful and very easy to use. You only need 3 minutes to
- learn it.
-- Bash, dash and sh compatible.
-- Simplest shell script for Let's Encrypt free certificate client.
-- Purely written in Shell with no dependencies on python or the
- official Let's Encrypt client.
-- Just one script to issue, renew and install your certificates
- automatically.
-- DOES NOT require root/sudoer access.
-- Docker friendly
-- IPv6 support
-- Cron job notifications for renewal or error etc.
+ - An ACME protocol client written purely in Shell (Unix shell)
+ language.
+ - Full ACME protocol implementation.
+ - Support ACME v1 and ACME v2
+ - Support ACME v2 wildcard certs
+ - Simple, powerful and very easy to use. You only need 3 minutes to
+ learn it.
+ - Bash, dash and sh compatible.
+ - Simplest shell script for Let's Encrypt free certificate client.
+ - Purely written in Shell with no dependencies on python or the
+ official Let's Encrypt client.
+ - Just one script to issue, renew and install your certificates
+ automatically.
+ - DOES NOT require root/sudoer access.
+ - Docker friendly
+ - IPv6 support
+ - Cron job notifications for renewal or error etc.
Optional dependencies:
* socat - to standalone mode
+
diff --git a/network/acme.sh/acme.sh.SlackBuild b/network/acme.sh/acme.sh.SlackBuild
index 6fa631cebc..f209dd254c 100644
--- a/network/acme.sh/acme.sh.SlackBuild
+++ b/network/acme.sh/acme.sh.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for acme.sh
#
-# Copyright 2019-2020 Corrado Franco (https://corradofranco.it)
+# Copyright 2019-2023 Corrado Franco (https://corradofranco.it)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
@@ -25,18 +25,28 @@
#
# Latest version of this SlackBuild at https://github.com/conraid/SlackBuilds
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=acme.sh
-VERSION=${VERSION:-2.8.5}
+VERSION=${VERSION:-3.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -eu
rm -rf $PKG
@@ -66,4 +76,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/acme.sh/acme.sh.info b/network/acme.sh/acme.sh.info
index 05eb09d638..b1faae45e1 100644
--- a/network/acme.sh/acme.sh.info
+++ b/network/acme.sh/acme.sh.info
@@ -1,8 +1,8 @@
PRGNAM="acme.sh"
-VERSION="2.8.5"
+VERSION="3.0.7"
HOMEPAGE="https://acme.sh/"
-DOWNLOAD="https://github.com/Neilpang/acme.sh/archive/2.8.5/acme.sh-2.8.5.tar.gz"
-MD5SUM="226b7155fe85316a7fbd1b54f9639fd2"
+DOWNLOAD="https://github.com/Neilpang/acme.sh/archive/3.0.7/acme.sh-3.0.7.tar.gz"
+MD5SUM="1c2284a3f81f7eddc15e24a17d2e365c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/addrwatch/README b/network/addrwatch/README
new file mode 100644
index 0000000000..e8375ae2e7
--- /dev/null
+++ b/network/addrwatch/README
@@ -0,0 +1,17 @@
+addrwatch (arp traffic montor)
+
+This is a tool similar to arpwatch. It main purpose is to monitor a
+network and log discovered ethernet/ip pairings.
+
+Main features of addrwatch:
+
+* IPv4 and IPv6 address monitoring
+* Monitoring multiple network interfaces with one daemon
+* Monitoring of VLAN tagged (802.1Q) packets.
+* Output to stdout, plain text file, syslog, sqlite3 db, MySQL db
+* IP address usage history preserving output/logging
+
+NOTE:
+
+There is a disparity between features listed in the manual and via
+--help.
diff --git a/network/addrwatch/addrwatch.SlackBuild b/network/addrwatch/addrwatch.SlackBuild
new file mode 100644
index 0000000000..773ab622cf
--- /dev/null
+++ b/network/addrwatch/addrwatch.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for addrwatch
+
+# By Dave Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL (http://www.wtfpl.net)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=addrwatch
+VERSION=${VERSION:-1.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./bootstrap.sh
+
+./configure \
+ --prefix=/usr \
+ --bindir=/usr/sbin \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-sqlite3 \
+ --enable-mysql \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do
+ ln -s $( readlink $i ).gz $i.gz ; rm $i
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS *.md scripts $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chmod -c -x $PKG/usr/doc/$PRGNAM-$VERSION/scripts/*
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/addrwatch/addrwatch.info b/network/addrwatch/addrwatch.info
new file mode 100644
index 0000000000..ae34ce3ad3
--- /dev/null
+++ b/network/addrwatch/addrwatch.info
@@ -0,0 +1,10 @@
+PRGNAM="addrwatch"
+VERSION="1.0.2"
+HOMEPAGE="https://github.com/fln/addrwatch"
+DOWNLOAD="https://github.com/fln/addrwatch/archive/v1.0.2/addrwatch-1.0.2.tar.gz"
+MD5SUM="ae0262fbf4ecc42ebc7d5cec6d0ad05d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/addrwatch/slack-desc b/network/addrwatch/slack-desc
new file mode 100644
index 0000000000..3f48b186b1
--- /dev/null
+++ b/network/addrwatch/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+addrwatch: addrwatch (arp traffic montor)
+addrwatch:
+addrwatch: Main features of addrwatch:
+addrwatch:
+addrwatch: * IPv4 and IPv6 address monitoring
+addrwatch: * Monitoring multiple network interfaces with one daemon
+addrwatch: * Monitoring of VLAN tagged (802.1Q) packets.
+addrwatch: * Output to stdout, plain text file, syslog, sqlite3 db, MySQL db
+addrwatch: * IP address usage history preserving output/logging
+addrwatch:
+addrwatch: https://github.com/fln/addrwatch
diff --git a/network/aggregate/aggregate.SlackBuild b/network/aggregate/aggregate.SlackBuild
index 66c28cb322..f19c3f88e2 100644
--- a/network/aggregate/aggregate.SlackBuild
+++ b/network/aggregate/aggregate.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aggregate
@@ -22,10 +22,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aggregate
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/aiccu/aiccu.SlackBuild b/network/aiccu/aiccu.SlackBuild
index 125a407244..59efa21992 100644
--- a/network/aiccu/aiccu.SlackBuild
+++ b/network/aiccu/aiccu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aiccu
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aiccu
VERSION=${VERSION:-20070115}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild
index 6ab6259982..ab690d470a 100644
--- a/network/aircrack-ng/aircrack-ng.SlackBuild
+++ b/network/aircrack-ng/aircrack-ng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aircrack-ng
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aircrack-ng
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,7 +89,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
--prefix=/usr \
@@ -106,8 +116,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/aircrack-ng/aircrack-ng.info b/network/aircrack-ng/aircrack-ng.info
index 25e6a6adbc..0d318507cc 100644
--- a/network/aircrack-ng/aircrack-ng.info
+++ b/network/aircrack-ng/aircrack-ng.info
@@ -1,8 +1,8 @@
PRGNAM="aircrack-ng"
-VERSION="1.6"
+VERSION="1.7"
HOMEPAGE="https://www.aircrack-ng.org"
-DOWNLOAD="https://download.aircrack-ng.org/aircrack-ng-1.6.tar.gz"
-MD5SUM="22ddc85549b51ed0da0931d01ef215e5"
+DOWNLOAD="https://download.aircrack-ng.org/aircrack-ng-1.7.tar.gz"
+MD5SUM="a918ea7146f91d8c799fb770c38f4bec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/airpwn/README b/network/airpwn/README
deleted file mode 100644
index 613361cd54..0000000000
--- a/network/airpwn/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Airpwn is a framework for 802.11 (wireless) packet injection.
-Airpwn listens to incoming wireless packets, and if the data
-matches a pattern specified in the config files, custom content
-is injected "spoofed" from the wireless access point. From the
-perspective of the wireless client, airpwn becomes the server.
-
-This package also installs lorcon (Loss Of Radio CONnectivity).
diff --git a/network/airpwn/airpwn.SlackBuild b/network/airpwn/airpwn.SlackBuild
deleted file mode 100644
index b09a5958d5..0000000000
--- a/network/airpwn/airpwn.SlackBuild
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for airpwn
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
-# and Klaatu <klaatu@member.fsf.no.psam.org>
-
-PRGNAM=airpwn
-VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
-tar xvf lorcon-current.tgz
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Remove unneeded directories and change a file to Unix
-find . -type d -name "CVS" | xargs rm -rf {} \;
-find . -type d -name ".cvs" | xargs rm -rf {} \;
-sed -i 's/\r//g' content/ftp_resp
-
-# first install lorcon
-cd lorcon
- CFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --datadir=/usr/share/$PRGNAM \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
- make
- make install DESTDIR=$PKG
-cd ..
-
-sed -i 's/#include <unistd.h>/#include <unistd.h> #include <wep.h>/' keygen.c
-echo "sed change made"
-ls -lh keygen.c
-
-# Fix airpwn files so we can use Python versions other than 2.4
-PYTHON_VERSION1=$(python -c 'import sys; print sys.version[:3]')
-PYTHON_VERSION2=$(echo $PYTHON_VERSION1 | tr . _)
-
-for FILE in configure.ac conf.h config.h.in; do
- sed -i "s|python2.4|python${PYTHON_VERSION1}|g" $FILE
-done
-sed -i "s|Python2.4|Python${PYTHON_VERSION1}|g" configure.ac
-sed -i "s|PYTHON2_4|PYTHON${PYTHON_VERSION2}|g" config.h.in
-
-autoreconf -vif
-
-CFLAGS="$SLKCFLAGS" \
-LDFLAGS="-L${PKG}/usr/lib${LIBDIRSUFFIX}" \
-CPPFLAGS="-I${PKG}/usr/include" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-# fix what libs we link to
-sed -i 's/-lnet/-lnet -lssl -lexpat -lcrypto/' Makefile
-
-# build airpwn
-make
-make install DESTDIR=$PKG
-
-# Install some scripts to help get wireless devices into monitor mode.
-install -m 0755 mac80211_prep.sh $PKG/usr/sbin
-install -m 0755 madwifing_prep.sh $PKG/usr/sbin
-install -m 0755 madwifiold_prep.sh $PKG/usr/sbin
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING LICENSE lorcon/{BUGS,README,THANKS,TODO} content conf pyscripts \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
-chmod 0755 $PKG/usr/doc/$PRGNAM-$VERSION/{content,conf,pyscripts}
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/airpwn/airpwn.info b/network/airpwn/airpwn.info
deleted file mode 100644
index 7c8bf62072..0000000000
--- a/network/airpwn/airpwn.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="airpwn"
-VERSION="1.4"
-HOMEPAGE="http://airpwn.sourceforge.net/Airpwn.html"
-DOWNLOAD="http://downloads.sourceforge.net/sourceforge/airpwn/airpwn-1.4.tgz"
-MD5SUM="c5538f5eadc2afa0bf3e873c4bfa2513"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libnet"
-MAINTAINER="Klaatu"
-EMAIL="klaatu@member.fsf.org"
diff --git a/network/airpwn/slack-desc b/network/airpwn/slack-desc
deleted file mode 100644
index 5e52edb57b..0000000000
--- a/network/airpwn/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-airpwn: airpwn (framework for 802.11 packet injection)
-airpwn:
-airpwn: Airpwn is a framework for 802.11 (wireless) packet injection. Airpwn
-airpwn: listens to incoming wireless packets, and if the data matches a
-airpwn: pattern specified in the config files, custom content is injected
-airpwn: "spoofed" from the wireless access point. From the perspective of the
-airpwn: wireless client, airpwn becomes the server.
-airpwn:
-airpwn: Homepage: http://airpwn.sourceforge.net/Airpwn.html
-airpwn:
-airpwn:
diff --git a/network/aldryn-client/README b/network/aldryn-client/README
index f7078b5f0e..e0f3b650a4 100644
--- a/network/aldryn-client/README
+++ b/network/aldryn-client/README
@@ -2,4 +2,4 @@ The command-line client for the Aldryn Cloud.
Optional for aldryn gui :
- Kivy
-- pygame
+- python3-pygame
diff --git a/network/aldryn-client/aldryn-client.SlackBuild b/network/aldryn-client/aldryn-client.SlackBuild
index c74cfd6146..c9c93237a7 100644
--- a/network/aldryn-client/aldryn-client.SlackBuild
+++ b/network/aldryn-client/aldryn-client.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aldryn-client
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aldryn-client
VERSION=${VERSION:-2.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/aldryn-client/aldryn-client.info b/network/aldryn-client/aldryn-client.info
index b83629b541..df9b5b0d48 100644
--- a/network/aldryn-client/aldryn-client.info
+++ b/network/aldryn-client/aldryn-client.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/a6/1c/ae1e24d6b0c52856564ba982884ae60
MD5SUM="23a80c5e1419df7e74d79653ac559654"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="click python-tabulate python-requests six"
+REQUIRES="click python2-tabulate"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/amap/README b/network/amap/README
index 0d7a00630f..391e96af4a 100644
--- a/network/amap/README
+++ b/network/amap/README
@@ -1,4 +1,5 @@
-Amap is a next-generation scanning tool for pentesters. It attempts to identify
-applications even if they are running on a different port than normal.
-It also identifies non-ascii based applications. This is achieved by sending
-trigger packets, and looking up the responses in a list of response strings.
+Amap is a next-generation scanning tool for pentesters. It attempts
+to identify applications even if they are running on a different port
+than normal. It also identifies non-ascii based applications. This is
+achieved by sending trigger packets, and looking up the responses in a
+list of response strings.
diff --git a/network/amap/amap.SlackBuild b/network/amap/amap.SlackBuild
index 89746776f4..b410bd6c3c 100644
--- a/network/amap/amap.SlackBuild
+++ b/network/amap/amap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Amap (Application Mapper)
#
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=amap
VERSION=${VERSION:-5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/amavisd-new/README b/network/amavisd-new/README
index 6c98d67f35..f18801363c 100644
--- a/network/amavisd-new/README
+++ b/network/amavisd-new/README
@@ -1,5 +1,6 @@
-amavisd-new is an interface between message transfer agent (MTA) and one
-or more content checkers: virus scanners, SpamAssassin and/or dkim signing.
+amavisd-new is an interface between message transfer agent (MTA) and
+one or more content checkers: virus scanners, SpamAssassin and/or dkim
+signing.
-Please refer to README.SBo for detailed instructions and dependencies before
-running the build script.
+Please refer to README.SBo for detailed instructions and dependencies
+before running the build script.
diff --git a/network/amavisd-new/README.SBo b/network/amavisd-new/README.SBo
index 92772086eb..89722506e6 100644
--- a/network/amavisd-new/README.SBo
+++ b/network/amavisd-new/README.SBo
@@ -15,7 +15,6 @@ perl-TimeDate
perl-Net-libIDN
Net-SSLeay
perl-Socket6
-perl-IO-Socket-SSL
perl-IO-Socket-INET6
perl-Crypt-OpenSSL-Bignum
perl-Crypt-OpenSSL-Random
diff --git a/network/amavisd-new/amavisd-new.SlackBuild b/network/amavisd-new/amavisd-new.SlackBuild
index b0d31f79dc..3da69eb769 100644
--- a/network/amavisd-new/amavisd-new.SlackBuild
+++ b/network/amavisd-new/amavisd-new.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for amavisd-new
# Home Page http://www.ijs.si/software/amavisd/
@@ -25,13 +25,23 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="amavisd-new"
VERSION=${VERSION:-2.11.1}
ARCH="noarch"
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,8 +65,8 @@ if ! grep -q ^amavis: /etc/passwd ; then
exit 1
fi
-USER=${USER:-amavis}
-GROUP=${GROUP:-amavis}
+AMAVIS_USER=${AMAVIS_USER:-amavis}
+AMAVIS_GROUP=${AMAVIS_GROUP:-amavis}
AMAVIS_HOME=${AMAVIS_HOME:-/var/lib/amavis}
QUARANTINE_DIR=${QUARANTINE_DIR:-$AMAVIS_HOME/quarantine}
@@ -83,8 +93,6 @@ done
### amavisd-new home directory
mkdir -p $PKG/$AMAVIS_HOME/{tmp,var,db,home}
-### amavisd-new runtime directory
-mkdir -p $PKG/var/run/amavis
### make and populate quarantine directory with subdirectories
### this is only useful if you wish to spread out
@@ -104,15 +112,19 @@ install -m 0755 amavis-mc amavis-services amavisd-agent \
install -m 0640 -D amavisd.conf $PKG/etc/amavisd.conf.new
# change permissions
-chown $USER:$GROUP $PKG/etc/amavisd.conf.new
-chown -R $USER:$GROUP $PKG/$AMAVIS_HOME $PKG/var/run/amavis $PKG/$QUARANTINE_DIR
-chmod -R 0770 $PKG/$AMAVIS_HOME $PKG/var/run/amavis $PKG/$QUARANTINE_DIR
+chown $AMAVIS_USER:$AMAVIS_GROUP $PKG/etc/amavisd.conf.new
+chown -R $AMAVIS_USER:$AMAVIS_GROUP $PKG/$AMAVIS_HOME $PKG/$QUARANTINE_DIR
+chmod -R 0770 $PKG/$AMAVIS_HOME $PKG/$QUARANTINE_DIR
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
### install rc script
install -m 0755 -D $CWD/rc.amavisd-new $PKG/etc/rc.d/rc.amavisd-new.new
+sed -i \
+ -e "s,@AMAVIS_USER@,$AMAVIS_USER,g" \
+ -e "s,@AMAVIS_GROUP@,$AMAVIS_GROUP,g" \
+ $PKG/etc/rc.d/rc.amavisd-new.new
### install logrotate script
install -D -m 0644 $CWD/amavisd-new.logrotate $PKG/etc/logrotate.d/amavisd-new.new
@@ -123,4 +135,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/amavisd-new/rc.amavisd-new b/network/amavisd-new/rc.amavisd-new
index f7b7c37adc..24b6610c8f 100644
--- a/network/amavisd-new/rc.amavisd-new
+++ b/network/amavisd-new/rc.amavisd-new
@@ -22,6 +22,8 @@
MC_PID=/var/run/amavis/amavis-mc.pid
PID=/var/run/amavis/amavisd.pid
+AMAVIS_USER=@AMAVIS_USER@
+AMAVIS_GROUP=@AMAVIS_GROUP@
amavisd_signer_start() {
# start amavisd-signer
@@ -46,6 +48,9 @@ amavis_mc_start() {
/usr/sbin/amavis-mc -P $MC_PID
else
printf "Starting amavis-mc daemon\n"
+ mkdir -p $(dirname $MC_PID)
+ chown $AMAVIS_USER:$AMAVIS_GROUP $(dirname $MC_PID)
+ chmod 0770 $(dirname $MC_PID)
/usr/sbin/amavis-mc -P $MC_PID
fi
}
@@ -70,6 +75,9 @@ amavisd_start() {
/usr/sbin/amavisd start
else
printf "Starting amavisd-new daemon\n"
+ mkdir -p $(dirname $PID)
+ chown $AMAVIS_USER:$AMAVIS_GROUP $(dirname $PID)
+ chmod 0770 $(dirname $PID)
/usr/sbin/amavisd start
fi
}
diff --git a/network/amfora-bin/README b/network/amfora-bin/README
new file mode 100644
index 0000000000..d6c1ff3435
--- /dev/null
+++ b/network/amfora-bin/README
@@ -0,0 +1,21 @@
+amfora-bin (gemini client)
+
+Amfora aims to be the best looking Gemini client with the most
+features... all in the terminal. It does not support Gopher or other
+non-Web protocols. It fully passes Sean Conman's client torture test,
+as well as the Egsam one.
+
+This is a repack of the official binary; it does not compile from
+source. Only 32-bit x86, 64-bit x86_64, and 64-bit aarch64 are
+supported.
+
+For aarch64, since there's currently no way to give the aarch64 download
+URL in the .info file, you'll have to download it manually. The file is:
+
+https://github.com/makew0rld/amfora/releases/download/v1.9.2/amfora_1.9.2_linux_arm64
+
+...and its md5sum is: 5f647762170e9e30df6d0744ec8a21bc
+
+Note: currently there is no amfora build that compiles from source.
+If someday someone submits one, be aware that it will likely conflict
+with this build.
diff --git a/network/amfora-bin/amfora-bin.SlackBuild b/network/amfora-bin/amfora-bin.SlackBuild
new file mode 100644
index 0000000000..f285baf99b
--- /dev/null
+++ b/network/amfora-bin/amfora-bin.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for amfora-bin
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=amfora-bin
+SRCNAM=amfora
+VERSION=${VERSION:-1.9.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+EXE=""
+case "$ARCH" in
+ i?86) EXE=${SRCNAM}_${VERSION}_linux_32-bit ;;
+ x86_64) EXE=${SRCNAM}_${VERSION}_linux_64-bit ;;
+ aarch64) EXE=${SRCNAM}_${VERSION}_linux_arm64 ;;
+esac
+
+if [ "$EXE" = "" ]; then
+ cat <<EOF
+===================================================
+Sorry, ARCH="$ARCH" is not supported.
+Only i586, i686, x86_64, and aarch64 are supported.
+===================================================
+EOF
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+install -D -m0755 -oroot -groot $CWD/$EXE usr/bin/$SRCNAM
+
+# the binary includes no docs, icon, desktop, anything else. so
+# they're included with the SlackBuild (taken from the git repo at
+# https://github.com/makew0rld/amfora). amfora.png is a scaled-down
+# copy of logo.png.
+
+install -D -m0644 -oroot -groot \
+ $CWD/amfora.desktop usr/share/applications/amfora.desktop
+install -D -m0644 -oroot -groot \
+ $CWD/amfora.png usr/share/icons/hicolor/64x64/apps/amfora.png
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+install -m0644 -oroot -groot $CWD/docs/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/amfora-bin/amfora-bin.info b/network/amfora-bin/amfora-bin.info
new file mode 100644
index 0000000000..43fffb5b69
--- /dev/null
+++ b/network/amfora-bin/amfora-bin.info
@@ -0,0 +1,10 @@
+PRGNAM="amfora-bin"
+VERSION="1.9.2"
+HOMEPAGE="https://github.com/makew0rld/amfora/"
+DOWNLOAD="https://github.com/makew0rld/amfora/releases/download/v1.9.2/amfora_1.9.2_linux_32-bit"
+MD5SUM="206e195bde0fbc2990d8be2c476bfa98"
+DOWNLOAD_x86_64="https://github.com/makew0rld/amfora/releases/download/v1.9.2/amfora_1.9.2_linux_64-bit"
+MD5SUM_x86_64="cc8d0f9a519602c9c8a1b96a7f02bec1"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/amfora-bin/amfora.desktop b/network/amfora-bin/amfora.desktop
new file mode 100644
index 0000000000..ba086ea5d0
--- /dev/null
+++ b/network/amfora-bin/amfora.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=Amfora
+GenericName=Gemini TUI Browser
+Comment=Browse Gemini in the terminal.
+Categories=Network;WebBrowser;ConsoleOnly;
+Keywords=gemini
+Terminal=true
+Exec=amfora %u
+MimeType=x-scheme-handler/gemini;
+Icon=amfora
diff --git a/network/amfora-bin/amfora.png b/network/amfora-bin/amfora.png
new file mode 100644
index 0000000000..099024ee36
--- /dev/null
+++ b/network/amfora-bin/amfora.png
Binary files differ
diff --git a/network/amfora-bin/docs/CHANGELOG.md b/network/amfora-bin/docs/CHANGELOG.md
new file mode 100644
index 0000000000..6381acd535
--- /dev/null
+++ b/network/amfora-bin/docs/CHANGELOG.md
@@ -0,0 +1,332 @@
+# Changelog
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [Unreleased]
+### Added
+- Syntax highlighting for preformatted text blocks with alt text (#252, #263, [wiki page](https://github.com/makeworld-the-better-one/amfora/wiki/Source-Code-Highlighting))
+- [Client certificates](https://github.com/makeworld-the-better-one/amfora/wiki/Client-Certificates) can be restricted to certain paths of a host (#115)
+- `header` config option in `[subscriptions]` to allow disabling the header text on the subscriptions page (#191)
+- Selected link and scroll position stays for non-cached pages (#122)
+- Keybinding to open URL with URL handler instead of configured proxy (#143)
+- `include` theme key to import themes from an external file (#154, #290)
+- Support SOCKS5 proxying by setting `AMFORA_SOCKS5` environment variable (#155)
+- When bookmarking a page, the first level one heading is suggested as the name (#267, #293)
+- Confirmation prompts for URL schemes in new `[url-prompts]` config section (#301, #302)
+
+### Changed
+- Center text automatically, removing `left_margin` from the config (#233)
+- `max_width` defaults to 80 columns instead of 100 (#233)
+- Tabs have the domain of the current page instead of numbers (#202)
+- Closing Amfora with <kbd>q</kbd> was removed in favor of <kbd>Shift-q</kbd> (#243)
+- Paging up or down scrolls by 50% instead of 75%, to match `less` (#303)
+- Update deps, require Go 1.17 (#336)
+- Show local directory index file if available (#319)
+- Updated Project Gemini URLs (#342)
+
+### Fixed
+- Modal can't be closed when opening non-gemini text URLs from the commandline (#283, #284)
+- External programs started by Amfora remain as zombie processes (#219)
+- Prevent link lines (and other types) from being wider than the `max_width` setting (#280)
+- `new:7` on new tab page fails to open link (#306)
+- Slashes aren't decoded in redirect URLs (#322, #324)
+- Typing `localhost` in the bottom bar actually loads localhost instead of searching (#326, #327)
+
+
+## [1.9.2] - 2021-12-10
+### Fixed
+- Preformatted text color showing even when `color = false` (bug since v1.8.0 at least) (#278)
+- Link numbers and link text in color even when `color = false` (regression in v1.9.0) (#278)
+
+
+## [1.9.1] - 2021-12-08
+### Fixed
+- Deadlock when loading an invalid `about:` URL (#277)
+- Crash when rendering text from stdin
+
+
+## [1.9.0] - 2021-12-07
+### Added
+- Support for version 1.1 JSON feeds
+- Copy current URL or selected URL to clipboard (#220, #225)
+ - Uses <kbd>C</kbd> and <kbd>c</kbd> by default
+- Configurable keybindings for scrolling on pages (#211, #222)
+- Ability to save `about:` pages (#210, #236)
+- `bind_beginning` and `bind_end` keybindings
+- Display gemtext from stdin (#205, #242)
+- Specifying `default` in the theme config uses the terminal's default background color, including transparency (#244, #245)
+- Redirects occur automatically if it only adds a trailing slash (#271)
+- Non-gemini links are underlined by default to help color blind users (#189)
+- Text and element colors of default theme change to be black on terminals with light backgrounds (#181)
+- Support paths with spaces in `[url-handlers]` config settings (#214)
+- Display info modal when opening URL with custom application
+- Files can be opened by relative path on the commandline (#231, #257)
+- Support keybindings that use <kbd>Shift</kbd> (#269)
+
+### Changed
+- Bookmarks are stored using XML in the XBEL format, old bookmarks are transferred (#68)
+- Text no longer disappears under the left margin when scrolling (regression in v1.8.0) (#197)
+- Default search engine changed to geminispace.info from gus.guru
+- The user's terminal theme colors are used by default (#181)
+- By default, non-gemini URI schemes are opened in the default application. This requires a config change for previous users, see the [wiki](https://github.com/makeworld-the-better-one/amfora/wiki/Handling-Other-URL-Schemes) (#207)
+- Windows uses paths set by `XDG` variables over `APPDATA` if they are set (#255)
+- Treat status codes like 22 as equivalent to 20 as per the latest spec (#266)
+- Show minimal loading page instead of `about:newtab` when loading a URL in a new tab (#272)
+
+## Removed
+- Favicon support (#199)
+- The default Amfora theme, get it back [here](https://github.com/makeworld-the-better-one/amfora/blob/master/contrib/themes/amfora.toml) (#181)
+
+### Fixed
+- Help text is now the same color as `regular_text` in the theme config
+- Non-ASCII (multibyte) characters can now be used as keybindings (#198, #200)
+- Possible subscription update race condition on startup
+- Plaintext documents are escaped properly (regression in v1.8.0)
+- Help page scrollbar color matches what's in the theme config
+- Regression where lists would not appear if `bullets = false` (#234, #235)
+- Support multiple bookmarks with the same name
+- Cert change message grammar: "an security" -> "a security" (#274)
+- Display an error modal for status codes that can't be handled
+- Prevent user from getting trapped in the help menu when keybindings are pressed (#241, #261)
+
+
+## [1.8.0] - 2021-02-17
+### Added
+- **Media type handlers** - open non-text files in another application (#121, #134)
+- Ability to set custom keybindings in config (#135)
+- Added scrollbar, by default only appears on pages that go off-screen (#89, #107)
+- More internal about pages, see `about:about` (#160, #187)
+
+### Changed
+- Update cview to `d776e728ef6d2a9990a5cd86a70b31f0678613e2` for large performance and feature updates (#107)
+- Update to tcell v2 (dependency of cview)
+- Display page even if mediatype params are malformed (#141)
+- Sensitive input fields (status code 11) display with asterisks over the text (#106)
+
+### Fixed
+- Don't use cache when URL is typed in bottom bar (#159)
+- Fix downloading of pages that are too large or timed out
+- `about:` URLs can be typed into the bottom bar (#167)
+- Bookmarks modal closes on ESC like the others (#173)
+- Handle empty META string (#176)
+- Whitespace around the URL entered in the bottom bar is stripped (#184)
+- Don't break visiting IPv6 hosts when port 1965 is specified (#195)
+- More reliable start, no more flash of unindented text, or text that stays unindented (#107)
+- Pages with ANSI resets don't use the terminal's default text and background colors (#107)
+- ANSI documents don't leak color into the left margin (#107)
+- Rendering very long documents is now ~96% faster, excluding gemtext parsing (#26, #107)
+- Due to that same change, less memory is used per-page (#26, #107)
+
+
+## [1.7.2] - 2020-12-21
+### Fixed
+- Viewing subscriptions after subscribing to a certain user page won't crash Amfora (#157)
+
+
+## [1.7.1] - 2020-12-21
+### Fixed
+- Fixed bug that caused Amfora to crash when subscribing to a page (#151)
+
+
+## [1.7.0] - 2020-12-20
+### Added
+- **Subscriptions** to feeds and page changes (#61)
+- Opening local files with `file://` URIs (#103, #117)
+- `show_link` option added in config to optionally see the URL (#133)
+- Support for Unicode in domain names (IDNs)
+- Unnecessarily encoded characters in URLs will be decoded (#138)
+- URLs are NFC-normalized before any processing (#138)
+- Links to the wiki in the new tab
+- Cache times out after 30 minutes by default (#110)
+- `about:version` page (#126)
+
+### Changed
+- Updated [go-gemini](https://github.com/makeworld-the-better-one/go-gemini) to v0.11.0
+ - Supports CN-only wildcard certs
+ - Time out when header takes too long
+- Preformatted text is now light yellow by default
+- Downloading a file no longer uses a second request
+- You can go back to the new tab page in history (#96)
+
+### Fixed
+- Single quotes are used in the default config for commands and paths so that Windows paths with backslashes will be parsed correctly
+- Downloading now uses proxies when appropriate
+- User-entered URLs with invalid characters will be percent-encoded (#138)
+- Custom downloads dir is actually used (#148)
+- Empty quote lines no longer disappear
+
+
+## [1.6.0] - 2020-11-04
+### Added
+- **Support client certificates** through config (#112)
+- `ansi` config setting, to disable ANSI colors in pages (#79, #86)
+- Edit current URL with <kbd>e</kbd> (#87)
+- If `emoji_favicons` is enabled, new bookmarks will have the domain's favicon prepended (#69, #90)
+- The `BROWSER` env var is now also checked when opening web links on Unix (#93)
+- More accurate error messages based on server response code
+
+### Changed
+- Disabling the `color` config setting also disables ANSI colors in pages (#79, #86)
+- Updated [go-isemoji](https://github.com/makeworld-the-better-one/go-isemoji) to v1.1.0 to support Emoji 13.1 for favicons
+- The web browser code doesn't check for Xorg anymore, just display variables (#93)
+- Bookmarks can be made to non-gemini URLs (#94)
+- Remove pointless directory fallbacks (#101)
+- Don't load page from cache when redirected to it (#114)
+
+### Fixed
+- XDG user dir file is parsed instead of looking for XDG env vars (#97, #100)
+- Support paths with spaces in HTTP browser config setting (#77)
+- Clicking "Change" on an existing bookmark without changing the text no longer removes it (#91)
+- Display HTTP Error if "Open In Portal" fails (#81)
+- Support ANSI color codes again, but only in preformatted blocks (#59)
+- Make the `..` command work lke it used to in v1.4.0
+
+
+## [1.5.0] - 2020-09-01
+### Added
+- **Proxy support** - see the `[proxies]` section in the config (#66, #80)
+- **Emoji favicons** can now be seen if `emoji_favicons` is enabled in the config (#62)
+- `shift_numbers` key in the config was added, so that non US keyboard users can navigate tabs (#64)
+- <kbd>F1</kbd> and <kbd>F2</kbd> keys for navigating to the previous and next tabs (#64)
+- Resolving any relative path (starts with a `.`) in the bottom bar is supported, not just `..` (#71)
+- You can now set external programs in the config to open other schemes, like `gopher://` or `magnet:` (#74)
+- Auto-redirecting can be enabled - redirect within Gemini up to 5 times automatically (#75)
+- Help page now documents paging keys (#78)
+- The new tab page can be customized by creating a gemtext file called `newtab.gmi` in the config directory (#67, #83)
+
+### Changed
+- Update to [go-gemini](https://github.com/makeworld-the-better-one/go-gemini) v0.8.4
+
+### Fixed
+- Two digit (and higher) link texts are now in line with one digit ones (#60)
+- Race condition when reloading pages that could have caused the cache to still be used
+- Prevent panic (crash) when the server sends an error with an empty meta string (#73)
+- URLs with with colon-only schemes (like `mailto:`) are properly recognized
+- You can no longer navigate through the history when the help page is open (#55, #78)
+
+
+## [1.4.0] - 2020-07-28
+### Added
+- **Theming** - check out [default-config.toml](./default-config.toml) for details (#46)
+- <kbd>Tab</kbd> now also enters link selecting mode, like <kbd>Enter</kbd> (#48)
+- Number keys can be pressed to navigate to links 1 through 10 (#47)
+- Permanent redirects are cached for the session (#22)
+- `.ansi` is also supported for `text/x-ansi` files, as well as the already supported `.ans`
+
+### Changed
+- Documented <kbd>Ctrl-C</kbd> as "Hard quit"
+- Updated [cview](https://gitlab.com/tslocum/cview/) to latest commit: `cc7796c4ca44e3908f80d93e92e73694562d936a`
+- The bottom bar label now uses the same color as the tabs at the top
+- Tab and blue link colors were changed very slightly to be part of the 256 Xterm colors, for better terminal support
+
+### Fixed
+- You can't change link selection while the page is loading
+- Only one request is made for each URL - `v1.3.0` accidentally made two requests each time (#50)
+- Using the `..` command doesn't keep the query string (#49)
+- Any error that occurs when downloading a file will be displayed, and the partially downloaded file will be deleted
+- Allow for opening a new tab while the current one is loading
+- Pressing Escape after typing in the bottom bar no longer jumps you back to the top of the page
+- Repeated redirects where the last one is cancelled by the user doesn't leave the `Loading...` text in the bottom bar (#53)
+
+
+## [1.3.0] - 2020-07-10
+### Added
+- **Downloading content** (#38)
+- Configurable page size limit - `page_max_size` in config (#30)
+- Configurable page timeout - `page_max_time` in config
+- Link and heading lines are wrapped just like regular text lines
+- Wrapped list items are indented to stay behind the bullet (#35)
+- Certificate expiry date is stored when the cert IDs match (#39)
+- What link was selected is remembered as you browse through history
+- Render ANSI codes in `text/x-ansi` pages, or text pages that end with `.ans` (#45)
+
+### Changed
+- Pages are rewrapped dynamically, whenever the terminal size changes (#33)
+- TOFU warning message mentions how long the previous cert was still valid for (#34)
+
+### Fixed
+- Many potential network and display race conditions eliminated
+- Whether a tab is loading stays indicated when you switch away from it and go back
+- Plain text documents are displayed faithfully (there were some edge conditions)
+- Opening files in portal.mozz.us uses the `http` setting in the config (#42)
+
+
+## [1.2.0] - 2020-07-02
+### Added
+- Alt-Left and Alt-Right for history navigation (#23)
+- You can type `..` in the bottom bar to go up a directory in the URL (#21)
+- Error popup for when input string would result in a too long out-of-spec URL (#25)
+- Paging, using <kbd>d</kbd> and <kbd>u</kbd>, as well as <kbd>Page Up</kbd> and <kbd>Page Down</kbd> (#19)
+- <kbd>Esc</kbd> can exit link highlighting mode (#24)
+- Selected link URL is displayed in the bottom bar (#24)
+- Pressing <kbd>Ctrl-T</kbd> with a link selected opens it in a new tab (#27)
+- Writing `new:N` in the bottom bar will open link number N in a new tab (#27)
+- Quote lines are now in italics (#28)
+
+### Changed
+- Bottom bar now says `URL/Num./Search: ` when space is pressed
+- Update to [go-gemini](https://github.com/makeworld-the-better-one/go-gemini) v0.6.0
+- Help layout doesn't have borders anymore
+- Pages with query strings are still cached (#29)
+- URLs or searches typed in the bottom bar are not loaded from the cache (#29)
+
+### Fixed
+- Actual unicode bullet symbol is used for lists: U+2022
+- Performance when loading very long cached pages improved (#26)
+- Doesn't crash when wrapping certain complex lines (#20)
+- Input fields are always in focus when they appear (#5)
+- Reloading the new tab page doesn't cause an error popup
+- Help table cells are hardwrapped so the text can still be read entirely on an 80-column terminal
+- New tab text is wrapped to terminal width like other pages (#31)
+- TOFU "continue anyway" popup has a question mark at the end
+
+
+## [1.1.0] - 2020-06-24
+### Added
+- **Bookmarks** (#10)
+- **Support over 55 charsets** (#3)
+- **Search using the bottom bar**
+- Add titles to all modals
+- Store ports in TOFU database (#7)
+- Search from bottom bar
+- Wrapping based on terminal width (#1)
+- `left_margin` config option (#1)
+- Right margin for text (#1)
+- Desktop entry file
+- Option to continue anyway when cert doesn't match TOFU database
+- Display all `text/*` documents, not just gemini and plain (#12)
+- Prefer XDG environment variables if they're set, to specify config dir, etc (#11)
+- Version and help commands - `-v`, `--version`, `--help`, `-h` (#14)
+
+### Changed
+- Connection timeout is 15 seconds (was 5s)
+- Hash `SubjectPublicKeyInfo` for TOFU instead (#7)
+- `wrap_width` config option became `max_width` (#1)
+- Make the help table look better
+
+### Removed
+- Opening multiple URLs from the command line
+
+### Fixed
+- Reset bottom bar on error / invalid URL
+- Side scrolling doesn't cut off text on the left side (#1)
+- Mark status code 21 as invalid
+- Bottom bar is not in focus after clicking Enter
+- Badly formed links on pages can no longer crash the browser
+- Disabling color in config affects UI elements (#16)
+- Keep bold for headings even with color disabled
+- Don't make whole link text bold when color is disabled
+- Get domain from URL for TOFU, not from certificate
+
+
+## [1.0.0] - 2020-06-18
+Initial release.
+
+### Added
+- Tabbed browsing
+- TOFU
+- Styled content
+- Basic history for each tab
+- Input
diff --git a/network/amfora-bin/docs/LICENSE b/network/amfora-bin/docs/LICENSE
new file mode 100644
index 0000000000..f288702d2f
--- /dev/null
+++ b/network/amfora-bin/docs/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<https://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/network/amfora-bin/docs/NOTES.md b/network/amfora-bin/docs/NOTES.md
new file mode 100644
index 0000000000..d321e3f55a
--- /dev/null
+++ b/network/amfora-bin/docs/NOTES.md
@@ -0,0 +1,15 @@
+# Notes
+
+## Issues
+- URL for each tab should not be stored as a string - in the current code there's lots of reparsing the URL
+
+## Upstream Bugs
+- Bookmark keys aren't deleted, just set to `""`
+ - Waiting on [this viper PR](https://github.com/spf13/viper/pull/519) to be merged
+- [ANSI conversion is messed up](https://code.rocketnine.space/tslocum/cview/issues/48)
+- [WordWrap is broken in some cases](https://code.rocketnine.space/tslocum/cview/issues/27) - close #156 if this is fixed
+- [Prevent panic when reformatting](https://code.rocketnine.space/tslocum/cview/issues/50) - can't reliably reproduce or debug
+- [Unicode bullet symbol mask causes issues with PasswordInput](https://code.rocketnine.space/tslocum/cview/issues/55)
+
+
+## Upstream PRs
diff --git a/network/amfora-bin/docs/README.md b/network/amfora-bin/docs/README.md
new file mode 100644
index 0000000000..4a73792c99
--- /dev/null
+++ b/network/amfora-bin/docs/README.md
@@ -0,0 +1,175 @@
+# Amfora
+
+<img src="logo.png" alt="amphora logo" width="30%">
+<h6>Image modified from: amphora by Alvaro Cabrera from the Noun Project</h6>
+
+
+[![go reportcard](https://goreportcard.com/badge/github.com/makeworld-the-better-one/amfora)](https://goreportcard.com/report/github.com/makeworld-the-better-one/amfora)
+[![license GPLv3](https://img.shields.io/github/license/makeworld-the-better-one/amfora)](https://www.gnu.org/licenses/gpl-3.0.en.html)
+
+<a href="https://raw.githubusercontent.com/makeworld-the-better-one/amfora/master/demo-large.gif">
+<img src="demo-large.gif" alt="Demo GIF" width="80%">
+</a>
+
+###### Recording of v1.0.0
+
+Amfora aims to be the best looking [Gemini](https://geminiquickst.art/) client with the most features... all in the terminal. It does not support Gopher or other non-Web protocols - check out [Bombadillo](http://bombadillo.colorfield.space/) for that.
+
+It also aims to be completely cross platform, with full Windows support. If you're on Windows, I would not recommend using the default terminal software. Use [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701) instead, and make sure it [works with UTF-8](https://akr.am/blog/posts/using-utf-8-in-the-windows-terminal). Note that some of the application colors might not display correctly on Windows, but all functionality will still work.
+
+It fully passes Sean Conman's client torture test, as well as the Egsam one.
+
+## Project Status
+
+Amfora is in maintenance mode. When possible, I’ll make/merge bug fixes, and maybe slowly merge feature PRs by others. See my [blog post](https://www.makeworld.space/2023/08/bye_gemini.html) for details.
+
+## Installation
+
+### Binary
+
+Download a binary from the [releases](https://github.com/makeworld-the-better-one/amfora/releases) page. On Unix-based systems you will have to make the file executable with `chmod +x <filename>`. You can rename the file to just `amfora` for easy access, and move it to `/usr/local/bin/`.
+
+On Windows, make sure you click "Advanced > Run anyway" after double-clicking, or something like that.
+
+Unix systems can install the desktop entry file to get Amfora to appear when they search for applications:
+```bash
+curl -sSL https://raw.githubusercontent.com/makeworld-the-better-one/amfora/master/amfora.desktop -o ~/.local/share/applications/amfora.desktop
+update-desktop-database ~/.local/share/applications
+```
+
+Make sure to click "Watch" in the top right, then "Custom" > "Releases" to get notified about new releases!
+
+
+### Linux
+
+<a href="https://repology.org/project/amfora/versions">
+ <img src="https://repology.org/badge/vertical-allrepos/amfora.svg" alt="Packaging status" align="right">
+</a>
+
+Amfora is packaged in many Linux distros. It's also on [Scoop](https://scoop.sh/) for Windows users.
+
+### macOS (Homebrew)
+
+If you use [Homebrew](https://brew.sh/), you can install Amfora with:
+```
+brew install amfora
+```
+You can update it with:
+```
+brew upgrade amfora
+```
+
+### macOS (MacPorts)
+
+On macOS, Amfora can also be installed through [MacPorts](https://www.macports.org):
+```
+sudo port install amfora
+```
+You can update it with:
+```
+sudo port selfupdate
+sudo port upgrade amfora
+```
+**NOTE:** this installation source is community-maintained. More information [here](https://ports.macports.org/port/amfora/).
+
+### Termux
+
+If you're using [Termux](https://termux.com/) on Android you can't just run Amfora like normal. After installing Amfora, run `pkg install proot`. Then run `termux-chroot` before running the Amfora binary. You can exit out of the chroot after closing Amfora. See [here](https://stackoverflow.com/q/38959067/7361270) for why this is needed.
+
+### From Source
+
+This section is for advanced users who want to install the latest (possibly unstable) version of Amfora.
+
+<details>
+<summary>Click to expand</summary>
+
+**Requirements:**
+- Go 1.15 or later
+- GNU Make
+
+Please note the Makefile does not intend to support Windows, and so there may be issues.
+
+```shell
+git clone https://github.com/makeworld-the-better-one/amfora
+cd amfora
+# git checkout v1.2.3 # Optionally pin to a specific version instead of the latest commit
+make # Might be gmake on macOS
+sudo make install # If you want to install the binary for all users
+```
+
+Because you installed with the Makefile, running `amfora -v` will tell you exactly what commit the binary was built from.
+
+Arch Linux users can also install the latest commit of Amfora from the AUR. It has the package name `amfora-git`, and is maintained by @lovetocode999
+
+```
+yay -S amfora-git
+```
+
+MacOS users can also use [Homebrew](https://brew.sh/) to install the latest commit of Amfora:
+
+```
+brew install --HEAD amfora
+```
+You can update it with:
+```
+brew upgrade --fetch-HEAD amfora
+```
+
+</details>
+
+
+## Features / Roadmap
+Features in *italics* are in the master branch, but not in the latest release.
+
+- [x] URL browsing with TOFU and error handling
+- [x] Tabbed browsing
+- [x] Support ANSI color codes on pages, even for Windows
+- [x] Styled page content (headings, links)
+- [x] Basic forward/backward history, for each tab
+- [x] Input (Status Code 10 & 11)
+- [x] Multiple charset support (over 55)
+- [x] Built-in search (uses geminispace.info by default)
+- [x] Bookmarks
+- [x] Download pages and arbitrary data
+- [x] Theming
+ - Check out the [user contributed themes](https://github.com/makeworld-the-better-one/amfora/tree/master/contrib/themes)!
+- [x] Proxying
+ - Schemes like Gopher or HTTP can be proxied through a Gemini server
+- [x] Client certificate support
+ - [ ] Full client certificate UX within the client
+ - Create transient and permanent certs within the client, per domain
+ - Manage and browse them
+ - Similar to [Kristall](https://github.com/MasterQ32/kristall)
+ - https://lists.orbitalfox.eu/archives/gemini/2020/001400.html
+- [x] Subscriptions
+ - Subscribing to RSS, Atom, and [JSON Feeds](https://jsonfeed.org/) are all supported
+ - So is subscribing to a page, to know when it changes
+- [x] Open non-text files in another application
+ - [x] Ability to stream content instead of downloading it first
+- [x] *Highlighting of preformatted code blocks that list a language in the alt text*
+- [ ] Stream support
+- [ ] Table of contents for pages
+- [ ] Search in pages with <kbd>Ctrl-F</kbd>
+- [ ] Persistent history
+
+
+## Usage & Configuration
+Please see [the wiki](https://github.com/makeworld-the-better-one/amfora/wiki) for an introduction on how to use Amfora and configure it.
+
+## Libraries
+Amfora ❤️ open source!
+
+- [cview](https://code.rocketnine.space/tslocum/cview) for the TUI
+ - It's a fork of [tview](https://github.com/rivo/tview) with PRs merged and active support
+ - It uses [tcell](https://github.com/gdamore/tcell) for low level terminal operations
+- [Viper](https://github.com/spf13/viper) for configuration and TOFU storing
+- [go-gemini](https://github.com/makeworld-the-better-one/go-gemini), my forked and updated Gemini client/server library
+- [progressbar](https://github.com/schollz/progressbar)
+- [go-humanize](https://github.com/dustin/go-humanize)
+- [gofeed](https://github.com/mmcdole/gofeed)
+- [chroma](https://github.com/alecthomas/chroma) for source code syntax highlighting
+- [clipboard](https://github.com/atotto/clipboard)
+- [termenv](https://github.com/muesli/termenv)
+
+## License
+This project is licensed under the GPL v3.0. See the [LICENSE](./LICENSE) file for details.
diff --git a/network/amfora-bin/docs/THANKS.md b/network/amfora-bin/docs/THANKS.md
new file mode 100644
index 0000000000..2ba5025e4e
--- /dev/null
+++ b/network/amfora-bin/docs/THANKS.md
@@ -0,0 +1,32 @@
+# THANKS
+
+Thank you to the following contributors, who have helped make Amfora great. FOSS projects are a community effort, and we would be worse off without you.
+
+* Sotiris Papatheodorou (@sotpapathe)
+* Chloe Kudryavtsev (@CosmicToast)
+* Adrian Hesketh (@a-h)
+* Jansen Price (@sumpygump)
+* Alex Wennerberg (@alexwennerberg)
+* Timur Ismagilov (@bouncepaw)
+* Matt Caroll (@ohiolab)
+* Patryk Niedźwiedziński (@pniedzwiedzinski)
+* Trevor Slocum (@tsclocum)
+* Mattias Jadelius (@jedthehumanoid)
+* Lokesh Krishna (@lokesh-krishna)
+* Jeff (@phaedrus-jaf)
+* Stephen Robinson (@sudobash1)
+* Peter Steinberg (@objectliteral)
+* Thomas Adam (@ThomasAdam)
+* @lostleonardo
+* Himanshu (@singalhimanshu)
+* @regr4
+* Anas Mohamed (@amohamed11)
+* David Jimenez (@dvejmz)
+* Michael McDonagh (@m-mcdonagh)
+* mooff (@awfulcooking)
+* Josias (@justjosias)
+* mntn (@mntn-xyz)
+* Maxime Bouillot (@Arkaeriit)
+* Emily (@emily-is-my-username)
+* Autumn! (@autumnull)
+* William Rehwinkel (@FiskFan1999)
diff --git a/network/falkon/doinst.sh b/network/amfora-bin/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/network/falkon/doinst.sh
+++ b/network/amfora-bin/doinst.sh
diff --git a/network/amfora-bin/slack-desc b/network/amfora-bin/slack-desc
new file mode 100644
index 0000000000..134aa428c6
--- /dev/null
+++ b/network/amfora-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+amfora-bin: amfora-bin (gemini client)
+amfora-bin:
+amfora-bin: Amfora aims to be the best looking Gemini client with the most
+amfora-bin: features... all in the terminal. It does not support Gopher or other
+amfora-bin: non-Web protocols. It fully passes Sean Conman's client torture test,
+amfora-bin: as well as the Egsam one.
+amfora-bin:
+amfora-bin:
+amfora-bin:
+amfora-bin:
+amfora-bin:
diff --git a/network/ani-cli/README b/network/ani-cli/README
new file mode 100644
index 0000000000..c475d27b95
--- /dev/null
+++ b/network/ani-cli/README
@@ -0,0 +1,9 @@
+ani-cli is an cli tool to browse and watch anime alone
+and with friends.This tool scrapes the site allanime.
+
+If you encounter No results found and are sure the
+prompt was correct or any breaking issue, then make
+sure you are on latest version by typing
+sudo ani-cli -U to update on Linux.
+If after this the issue persists then open an
+issue with upstream developer.
diff --git a/network/ani-cli/ani-cli.SlackBuild b/network/ani-cli/ani-cli.SlackBuild
new file mode 100644
index 0000000000..4ea355891d
--- /dev/null
+++ b/network/ani-cli/ani-cli.SlackBuild
@@ -0,0 +1,75 @@
+#!/bin/bash
+
+# Slackware build script for ani-cli
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ani-cli
+VERSION=${VERSION:-4.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+install -D -m755 $TMP/$PRGNAM-$VERSION/ani-cli -t $PKG/usr/bin/
+install -D -m644 $TMP/$PRGNAM-$VERSION/ani-cli.1 -t $PKG/usr/man/man1/
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md disclaimer.md LICENSE README.md hacking.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/network/ani-cli/ani-cli.info b/network/ani-cli/ani-cli.info
new file mode 100644
index 0000000000..4f32cf4d53
--- /dev/null
+++ b/network/ani-cli/ani-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="ani-cli"
+VERSION="4.8"
+HOMEPAGE="https://github.com/pystardust/ani-cli"
+DOWNLOAD="https://github.com/pystardust/ani-cli/archive/v4.8/ani-cli-4.8.tar.gz"
+MD5SUM="5111c94ff8b032192774e22da5494db2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="aria2 yt-dlp fzf mpv"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/network/ani-cli/changelog b/network/ani-cli/changelog
new file mode 100644
index 0000000000..d184ac9f4b
--- /dev/null
+++ b/network/ani-cli/changelog
@@ -0,0 +1,13 @@
+Changelog for ani-cli SlackBuild Script
+--------------------------------------------------------------------
+
+26/11/2022:
+
+Added to SBo
+
+09/02/2024:
+
+Updated to version 4.8
+ani-cli now depends on fzf,aria2 instead of axel
+and yt-dlp apart from mpv.Thanks to Andrew Clemons
+for helping me figure out fzf.
diff --git a/network/ani-cli/slack-desc b/network/ani-cli/slack-desc
new file mode 100644
index 0000000000..e91701f969
--- /dev/null
+++ b/network/ani-cli/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ani-cli: ani-cli (Watch Anime in Terminal)
+ani-cli:
+ani-cli: ani-cli is an cli tool to browse and watch anime alone
+ani-cli: and with friends. This tool scrapes the site animixplay.
+ani-cli:
+ani-cli:
+ani-cli:
+ani-cli: Homepage:https://github.com/pystardust/ani-cli
+ani-cli:
+ani-cli:
+ani-cli:
diff --git a/network/anydesk/anydesk.SlackBuild b/network/anydesk/anydesk.SlackBuild
index aac6be4bfd..121bae5b0d 100644
--- a/network/anydesk/anydesk.SlackBuild
+++ b/network/anydesk/anydesk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for anydesk
#
@@ -22,42 +22,45 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=anydesk
-VERSION=${VERSION:-6.0.1}
+VERSION=${VERSION:-6.3.0}
BUILD=${BUILD:-1}
+RPMBUILD=${RPMBUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "Package for $ARCH architecture is not available."
+ exit 1
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-${VERSION}
mkdir $PRGNAM-${VERSION}
cd $PRGNAM-${VERSION}
-rpm2cpio $CWD/${PRGNAM}_${VERSION}-${BUILD}_${ARCH}.rpm | cpio -idmv
+rpm2cpio $CWD/${PRGNAM}_${VERSION}-${RPMBUILD}_${ARCH}.rpm | cpio -idmv
cp -r * $PKG
cd $PKG
rm -rf usr/share/anydesk
@@ -71,7 +74,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/rc.d/
-cp $CWD/rc.anydesk $PKG/etc/rc.d/rc.anydesk
+cat $CWD/rc.anydesk > $PKG/etc/rc.d/rc.anydesk.new
cd $PKG
-/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/anydesk/anydesk.info b/network/anydesk/anydesk.info
index 1ab5b2b2fb..11fb824470 100644
--- a/network/anydesk/anydesk.info
+++ b/network/anydesk/anydesk.info
@@ -1,10 +1,10 @@
PRGNAM="anydesk"
-VERSION="6.0.1"
+VERSION="6.3.0"
HOMEPAGE="https://anydesk.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.anydesk.com/linux/anydesk_6.0.1-1_x86_64.rpm"
-MD5SUM_x86_64="5660c68e7dd31ce95dc74e02e74f776d"
+DOWNLOAD_x86_64="https://download.anydesk.com/linux/anydesk_6.3.0-1_x86_64.rpm"
+MD5SUM_x86_64="2c3d1e7d55c46332ad8a20105f6929f3"
REQUIRES="gtkglext lsb-release"
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"
diff --git a/network/anydesk/doinst.sh b/network/anydesk/doinst.sh
index aea0f894eb..4a1462ff3a 100644
--- a/network/anydesk/doinst.sh
+++ b/network/anydesk/doinst.sh
@@ -1,3 +1,27 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -11,3 +35,5 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+preserve_perms etc/rc.d/rc.anydesk.new
diff --git a/network/aoetools/aoetools.SlackBuild b/network/aoetools/aoetools.SlackBuild
index fda7f862a3..17bc652402 100644
--- a/network/aoetools/aoetools.SlackBuild
+++ b/network/aoetools/aoetools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aoetools
#
@@ -22,26 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220403 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix permissions on binaries and man pages.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aoetools
VERSION=${VERSION:-36}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,18 +76,19 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-make
+# 20220403 bkw: -Wl,-s strips the binaries.
+make CFLAGS="$SLKCFLAGS -Wl,-s"
make install MANDIR=/usr/man DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+gzip -9 $PKG/usr/man/man*/*
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# 20220403 bkw: permissions were bad (binaries were 700, man pages were 664).
+chmod 755 $PKG/usr/sbin/*
+chmod 644 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -88,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/apt-mirror/apt-mirror.SlackBuild b/network/apt-mirror/apt-mirror.SlackBuild
index c2c6a1d420..d1fa7c9d12 100644
--- a/network/apt-mirror/apt-mirror.SlackBuild
+++ b/network/apt-mirror/apt-mirror.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apt-mirror
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apt-mirror
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/argus-clients/argus-clients.SlackBuild b/network/argus-clients/argus-clients.SlackBuild
index 6a39c144e9..c9c7a09f28 100644
--- a/network/argus-clients/argus-clients.SlackBuild
+++ b/network/argus-clients/argus-clients.SlackBuild
@@ -1,28 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for argus-clients
# Written by R. Bailey <GooseYArd@gmail.com>
# Emmanuel N. Millan <emmanueln@gmail.com> - 2018
+# 20220410 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - do not install headers in /usr/include with execute permission!
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=argus-clients
-VERSION=${VERSION:-3.0.8.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.0.8.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -46,9 +57,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -67,16 +78,17 @@ make \
make install \
docdir=/usr/doc/$PRGNAM-$VERSION \
DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
+
+# 20220410 bkw: wtf, upstream?
+find $PKG/usr/include/argus/ -type f -exec chmod 0644 {} \+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ChangeLog COPYING CREDITS INSTALL MANIFEST README VERSION \
+ ChangeLog COPYING CREDITS MANIFEST README VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -84,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/argus-clients/argus-clients.info b/network/argus-clients/argus-clients.info
index ee56e180d6..5637f19aba 100644
--- a/network/argus-clients/argus-clients.info
+++ b/network/argus-clients/argus-clients.info
@@ -1,8 +1,8 @@
PRGNAM="argus-clients"
-VERSION="3.0.8.2"
-HOMEPAGE="http://www.qosient.com/argus/index.shtml"
-DOWNLOAD="http://qosient.com/argus/src/argus-clients-3.0.8.2.tar.gz"
-MD5SUM="09f453e3e581587cd69bc2c2b52d5c0a"
+VERSION="3.0.8.3"
+HOMEPAGE="https://www.qosient.com/argus/index.shtml"
+DOWNLOAD="https://qosient.com/argus/src/argus-clients-3.0.8.3.tar.gz"
+MD5SUM="fc3ad12cea5154d3123aa96765e7aee7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/argus/argus.SlackBuild b/network/argus/argus.SlackBuild
index 05e692c8c9..c61a16af31 100644
--- a/network/argus/argus.SlackBuild
+++ b/network/argus/argus.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Argus
# Written by R. Bailey <GooseYArd@gmail.com>
-# Emmanuel N. Millan <emmanueln@gmail.com> - 2018
+# Emmanuel N. Millan <emmanueln@gmail.com> - 2018-2024
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=argus
-VERSION=${VERSION:-3.0.8.2}
+VERSION=${VERSION:-3.0.8.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,6 +86,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+rm -rf $PKG/usr/argus
mkdir -p $PKG/etc
cp -a support/Config/argus.conf $PKG/etc/argus.conf.new
@@ -94,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/argus/argus.info b/network/argus/argus.info
index 33c6a56cb6..ab7439703d 100644
--- a/network/argus/argus.info
+++ b/network/argus/argus.info
@@ -1,8 +1,8 @@
PRGNAM="argus"
-VERSION="3.0.8.2"
+VERSION="3.0.8.4"
HOMEPAGE="http://www.qosient.com/argus/index.shtml"
-DOWNLOAD="http://qosient.com/argus/src/argus-3.0.8.2.tar.gz"
-MD5SUM="eaf5f5ec66569e556392802a70ef9ca5"
+DOWNLOAD="https://github.com/openargus/argus/archive/v3.0.8.4/argus-3.0.8.4.tar.gz"
+MD5SUM="4d906fe4e21372783e7c213486722b66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/argus/rc.argus.patch b/network/argus/rc.argus.patch
index eb42fda952..ce2541ff28 100644
--- a/network/argus/rc.argus.patch
+++ b/network/argus/rc.argus.patch
@@ -1,6 +1,6 @@
---- support/Startup/argus.orig 2010-07-06 11:23:38.032000082 -0400
-+++ support/Startup/argus 2010-07-06 11:27:15.466000084 -0400
-@@ -43,17 +43,17 @@
+--- support/Startup/argus.orig 2024-04-16 14:24:23.066973888 -0300
++++ support/Startup/argus 2024-04-16 14:25:50.591966998 -0300
+@@ -48,17 +48,17 @@
fi
# Source networking configuration.
@@ -8,8 +8,8 @@
+#. /etc/sysconfig/network
# Check that networking is up.
--[ ${NETWORKING} = "no" ] && exit 1
-+# [ ${NETWORKING} = "no" ] && exit 1
+-[ .${NETWORKING} = ."no" ] && exit 1
++#[ .${NETWORKING} = ."no" ] && exit 1
# Set argus path by defining $ARGUSHOME for this script.
@@ -21,12 +21,3 @@
ARGUSHOME=$ARGUSDIR
export PATH=$ARGUSHOME:$PATH
-@@ -71,7 +71,7 @@
- then
- mkdir /var/log/argus
- fi
-- argus -de `hostname` -w /var/log/argus/argus.out \
-+ argus -p -de `hostname` -w /var/log/argus/argus.out \
- > /dev/null 2>&1
- RETVAL=$?
- else
diff --git a/network/aria2/aria2.SlackBuild b/network/aria2/aria2.SlackBuild
index 0afb3a951e..b5490d1c1e 100644
--- a/network/aria2/aria2.SlackBuild
+++ b/network/aria2/aria2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aria2
# Originally written by Marco Cecchetti <mrc.ildp@gmail.com>
# 2015-2017 maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
@@ -20,10 +20,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aria2
-VERSION=${VERSION:-1.35.0}
+VERSION=${VERSION:-1.37.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
HTTPS=${HTTPS:-gnutls}
XML=${XML:-libxml2}
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -103,4 +113,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/aria2/aria2.info b/network/aria2/aria2.info
index 817fc049c2..a3b09575fc 100644
--- a/network/aria2/aria2.info
+++ b/network/aria2/aria2.info
@@ -1,10 +1,10 @@
PRGNAM="aria2"
-VERSION="1.35.0"
+VERSION="1.37.0"
HOMEPAGE="https://aria2.github.io/"
-DOWNLOAD="https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0.tar.xz"
-MD5SUM="c933a8752a9a8bf7bd78083afe2d9101"
+DOWNLOAD="https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz"
+MD5SUM="dd00565c2f671331735089e6b807ece0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="c-ares"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/arm/README b/network/arm/README
deleted file mode 100644
index 9524822e45..0000000000
--- a/network/arm/README
+++ /dev/null
@@ -1,19 +0,0 @@
-The anonymizing relay monitor (arm) is a terminal status monitor for Tor
-relays, intended for command-line aficionados, ssh connections, and anyone
-stuck with a tty terminal. This works much like top does for system usage,
-providing real time statistics for:
-
- - bandwidth, cpu, and memory usage
- - relay's current configuration
- - logged events
- - connection details (ip, hostname, fingerprint, and consensus data)
- - etc.
-
-This SlackBuild will also verify the package's PGP signature
-if the following conditions are met:
-
- - You have GnuPG installed
- - You have Damian Johnson's (the author) public PGP key (0x9ABBEEC6)
- in your trustedkeys.gpg keyring
- - You have downloaded the sig file from
- http://www.atagar.com/arm/resources/arm-${VERSION}.tar.bz2.asc
diff --git a/network/arm/arm.SlackBuild b/network/arm/arm.SlackBuild
deleted file mode 100644
index a929bb5c60..0000000000
--- a/network/arm/arm.SlackBuild
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for arm
-# Written by pyllyukko - pyllyukko AT maimed dot org
-
-PRGNAM=arm
-VERSION=${VERSION:-1.4.5.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-
-# The package can be verified with Damian Johnson's PGP key (0x9ABBEEC6).
-# If we have GPG installed, we try to verify the signature.
-if [ -x "/usr/bin/gpg" -a -x "/usr/bin/gpgv" ]
-then
- set +e
- # This will check if we have the correct key in our keyring.
- # For the trustedkeys.gpg, see "man 1 gpgv".
- /usr/bin/gpg --keyring trustedkeys.gpg --no-default-keyring --list-keys 0x9ABBEEC6 &>/dev/null
- GPG_RET=${?}
- # 2 means we don't have his key, 0 means we do.
- set -e
- # If we have the key and the signature file, we verify the package with GPG
- if [ ${GPG_RET} -eq 0 -a \
- -f "${CWD}/${PRGNAM}-${VERSION}.tar.bz2.asc" ]
- then
- /usr/bin/gpgv "${CWD}/${PRGNAM}-${VERSION}.tar.bz2.asc"
- fi
-fi
-
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# prereq.py checks python version and for required packages
-python src/prereq.py
-python setup.py install --root=$PKG --docPath doc/${PRGNAM}-${VERSION}
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Move the man pages. setup.py handles the compressing.
-mv -v ${PKG}/usr/share/man ${PKG}/usr
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog LICENSE README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/arm/arm.info b/network/arm/arm.info
deleted file mode 100644
index 069b14ac90..0000000000
--- a/network/arm/arm.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="arm"
-VERSION="1.4.5.0"
-HOMEPAGE="http://www.atagar.com/arm/"
-DOWNLOAD="http://www.atagar.com/arm/resources/static/arm-1.4.5.0.tar.bz2 http://www.atagar.com/arm/resources/static/arm-1.4.5.0.tar.bz2.asc"
-MD5SUM="f85f306e50b90796ab7097d948e8fcf2 084e40f1c64800c83f2238f510efa0a0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="pyllyukko"
-EMAIL="pyllyukko AT maimed dot org"
diff --git a/network/arm/slack-desc b/network/arm/slack-desc
deleted file mode 100644
index 6e512ee01b..0000000000
--- a/network/arm/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-arm: arm (The anonymizing relay monitor)
-arm:
-arm: The anonymizing relay monitor (arm) is a terminal status monitor for
-arm: Tor relays, intended for command-line aficionados, ssh connections,
-arm: and anyone stuck with a tty terminal. This works much like top does
-arm: for system usage, providing real time statistics for: bandwidth, cpu,
-arm: memory usage, relay's current configuration, logged events,
-arm: connection details (ip, hostname, fingerprint, and consensus data),
-arm: etc.
-arm:
-arm: Homepage: http://www.atagar.com/arm/
diff --git a/network/armcord/README b/network/armcord/README
new file mode 100644
index 0000000000..f723a315a6
--- /dev/null
+++ b/network/armcord/README
@@ -0,0 +1,4 @@
+armcord (Discord custom client)
+
+armcord is a custom client designed to enhance your Discord
+experience while keeping everything lightweight.
diff --git a/network/armcord/armcord.SlackBuild b/network/armcord/armcord.SlackBuild
new file mode 100644
index 0000000000..658c50305e
--- /dev/null
+++ b/network/armcord/armcord.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for armcord
+#
+#~ # Copyright 2022-2023 Matthew Miller <mattallmill@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=armcord
+SRCNAM=ArmCord
+VERSION=${VERSION:-3.2.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar x $CWD/${SRCNAM}_${VERSION}_amd64.deb data.tar.xz
+tar xvf $PKG/data.tar.xz
+rm $PKG/data.tar.xz
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin ; ln -sf /opt/$SRCNAM/$PRGNAM $PRGNAM )
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Don't need these:
+rm -rf $PKG/usr/share/doc $PKG/usr/share/lintian
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/armcord/armcord.desktop b/network/armcord/armcord.desktop
new file mode 100644
index 0000000000..a577c0fc48
--- /dev/null
+++ b/network/armcord/armcord.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=ArmCord
+Terminal=false
+Exec=/usr/local/bin/armcord
+Name=armcord
+Icon=/usr/share/icons/armcord_icon.png \ No newline at end of file
diff --git a/network/armcord/armcord.info b/network/armcord/armcord.info
new file mode 100644
index 0000000000..13005d28c0
--- /dev/null
+++ b/network/armcord/armcord.info
@@ -0,0 +1,10 @@
+PRGNAM="armcord"
+VERSION="3.2.6"
+HOMEPAGE="https://github.com/ArmCord/ArmCord"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/ArmCord/ArmCord/releases/download/v3.2.6/ArmCord_3.2.6_amd64.deb"
+MD5SUM_x86_64="cd0e07b149506c8d19d01005c51324b0"
+REQUIRES=""
+MAINTAINER="Matthew Miller"
+EMAIL="mattallmill@gmail.com"
diff --git a/network/armcord/armcord_icon.png b/network/armcord/armcord_icon.png
new file mode 100644
index 0000000000..70c0b83a96
--- /dev/null
+++ b/network/armcord/armcord_icon.png
Binary files differ
diff --git a/network/emesene/doinst.sh b/network/armcord/doinst.sh
index 4a25de5e6f..4a25de5e6f 100644
--- a/network/emesene/doinst.sh
+++ b/network/armcord/doinst.sh
diff --git a/network/armcord/slack-desc b/network/armcord/slack-desc
new file mode 100644
index 0000000000..10345838c4
--- /dev/null
+++ b/network/armcord/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+armcord: armcord (Discord custom client)
+armcord:
+armcord: armcord is a custom client designed to enhance your Discord
+armcord: experience while keeping everything lightweight.
+armcord:
+armcord:
+armcord: Homepage: https://github.com/ArmCord/ArmCord
+armcord:
+armcord:
+armcord:
+armcord:
diff --git a/network/arno-iptables-firewall/README b/network/arno-iptables-firewall/README
index 23ad6f4255..8c697817da 100644
--- a/network/arno-iptables-firewall/README
+++ b/network/arno-iptables-firewall/README
@@ -1,30 +1,33 @@
-arno-iptables-firewall is a front-end for iptables. Its configuration script
-will set up a secure and restrictive firewall by just asking a few questions.
-This includes configuring internal networks for Internet access via NAT, and
-potential network services like http or ssh. Moreover, it provides advanced
-additional features that can be enabled in the well documented configuration
-file.
+arno-iptables-firewall is a front-end for iptables. Its configuration
+script will set up a secure and restrictive firewall by just asking
+a few questions. This includes configuring internal networks for
+Internet access via NAT, and potential network services like http or
+ssh. Moreover, it provides advanced additional features that can be
+enabled in the well documented configuration file.
-NOTE - The setup script will NOT run automatically after the package has been
-installed. In order to run the script, the following command has to be issued:
+NOTE - The setup script will NOT run automatically after the package
+has been installed. In order to run the script, the following command
+has to be issued:
# arno-iptables-firewall-configure
-In order to start the firewall automatically at boot-time, an "rc.firewall"
-symlink to the startup script has to be created in /etc/rc.d/ and of course
-the startup script itself should be executable:
+In order to start the firewall automatically at boot-time, an
+"rc.firewall" symlink to the startup script has to be created
+in /etc/rc.d/ and of course the startup script itself should be
+executable:
# cd /etc/rc.d/
# ln -sv rc.arno-iptables-firewall rc.firewall
# chmod +x rc.arno-iptables-firewall
-In order to disable startup of the firewall at boot time, remove the symlink or
-the executable bit from the startup script:
+In order to disable startup of the firewall at boot time, remove the
+symlink or the executable bit from the startup script:
# rm /etc/rc.d/rc.firewall
# chmod -x /etc/rc.d/rc.arno-iptables-firewall
-The firewall can also be started manually with one of the following commands:
+The firewall can also be started manually with one of the following
+commands:
# arno-iptables-firewall start
# /etc/rc.d/rc.arno-iptables-firewall start
@@ -34,15 +37,16 @@ Please refer to the man page for more details.
IMPORTANT - A few security notes from the upstream author:
-1) If possible make sure that the firewall is started before the (ADSL) Internet
-connection is enabled. For a ppp-interface that doesn't exist yet, you can use
-the wildcard device called "ppp+" (but you can only use ppp+ if there aren't any
-other ppp interfaces).
+1) If possible make sure that the firewall is started before the
+(ADSL) Internet connection is enabled. For a ppp-interface that
+doesn't exist yet, you can use the wildcard device called "ppp+" (but
+you can only use ppp+ if there aren't any other ppp interfaces).
-2) Don't change any (security) settings ('EXPERT SETTINGS') if you don't really
-understand what they mean. Changing them anyway could have a big impact on the
-security of your machine.
+2) Don't change any (security) settings ('EXPERT SETTINGS') if you
+don't really understand what they mean. Changing them anyway could
+have a big impact on the security of your machine.
-3) A lot of people complain that their server stopped working after installing
-the firewall. This is the correct behaviour for a firewall: blocking all
-incoming traffic by default. Configure your OPEN_TCP (e.g.) accordingly.
+3) A lot of people complain that their server stopped working after
+installing the firewall. This is the correct behaviour for a firewall:
+blocking all incoming traffic by default. Configure your OPEN_TCP
+(e.g.) accordingly.
diff --git a/network/arno-iptables-firewall/arno-iptables-firewall.SlackBuild b/network/arno-iptables-firewall/arno-iptables-firewall.SlackBuild
index 07401eb02e..636bae485c 100644
--- a/network/arno-iptables-firewall/arno-iptables-firewall.SlackBuild
+++ b/network/arno-iptables-firewall/arno-iptables-firewall.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arno-iptables-firewall
@@ -25,15 +25,27 @@
# Thanks to Matteo Bernardini and Robby Workman for their valuable remarks
# after the first submission of this SlackBuild.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arno-iptables-firewall
SRCNAM=aif
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -136,4 +148,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/arno-iptables-firewall/arno-iptables-firewall.info b/network/arno-iptables-firewall/arno-iptables-firewall.info
index 1bc541c2c6..7fb24b23e8 100644
--- a/network/arno-iptables-firewall/arno-iptables-firewall.info
+++ b/network/arno-iptables-firewall/arno-iptables-firewall.info
@@ -1,7 +1,7 @@
PRGNAM="arno-iptables-firewall"
VERSION="2.1.0"
HOMEPAGE="https://github.com/arno-iptables-firewall/aif"
-DOWNLOAD="https://github.com/arno-iptables-firewall/aif/archive/2.1.0.tar.gz"
+DOWNLOAD="https://github.com/arno-iptables-firewall/aif/archive/2.1.0/aif-2.1.0.tar.gz"
MD5SUM="8f890a80bb6e8d2d0681c9a822ae39de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/arora/README b/network/arora/README
deleted file mode 100644
index 191890ec62..0000000000
--- a/network/arora/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Arora is a lightweight cross-platform web browser.
-It uses the QtWebKit port of the fully standards-compliant WebKit
-layout engine featuring fast rendering, a powerful JavaScript engine
-and support for Netscape plugins.
diff --git a/network/arora/arora.SlackBuild b/network/arora/arora.SlackBuild
deleted file mode 100644
index 3d01861d7c..0000000000
--- a/network/arora/arora.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for arora
-
-# Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com>
-# Copyright 2012-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-# All rights reserved.
-#
-# 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.
-#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
-# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=arora
-VERSION=${VERSION:-20150623_7c7514d}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-DOCS="AUTHORS ChangeLog LICENSE.GPL2 LICENSE.GPL3 README"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-echo "QMAKE_CXXFLAGS = $SLKCFLAGS" >> src/src.pro
-
-qmake PREFIX=/usr
-
-make
-make install INSTALL_ROOT=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr/man
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/arora/arora.info b/network/arora/arora.info
deleted file mode 100644
index 05a051321e..0000000000
--- a/network/arora/arora.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="arora"
-VERSION="20150623_7c7514d"
-HOMEPAGE="https://github.com/arora/arora"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/arora-20150623_7c7514d.tar.xz"
-MD5SUM="8efd0f44e2de2ea23ac6f9db27f4e788"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/network/arora/doinst.sh b/network/arora/doinst.sh
deleted file mode 100644
index 8582f41de0..0000000000
--- a/network/arora/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/arora/slack-desc b/network/arora/slack-desc
deleted file mode 100644
index f17a51736a..0000000000
--- a/network/arora/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-arora: arora (web browser)
-arora:
-arora: Arora is a lightweight web browser which uses the QT port of
-arora: the WebKit layout engine, featuring fast rendering, a powerful
-arora: Javascript engine and support for Netscape plugins.
-arora:
-arora: Homepage: http://code.google.com/p/arora
-arora:
-arora:
-arora:
-arora:
diff --git a/network/arp-scan/arp-scan.SlackBuild b/network/arp-scan/arp-scan.SlackBuild
index 1b982b56a9..13e0653c0e 100644
--- a/network/arp-scan/arp-scan.SlackBuild
+++ b/network/arp-scan/arp-scan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arp-scan
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arp-scan
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/arping/arping.SlackBuild b/network/arping/arping.SlackBuild
index 245a3b2cbc..9a9b1be25a 100644
--- a/network/arping/arping.SlackBuild
+++ b/network/arping/arping.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arping
@@ -23,10 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2: no INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arping
VERSION=${VERSION:-2.20}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,7 +77,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# We are renaming the installed files arping2 to aviod conflicts with
# Slackware's iputils arping so lets fix the manpages and scan script.
@@ -102,7 +111,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- INSTALL LICENSE README \
+ LICENSE README \
$PKG/usr/doc/$PRGNAM-$VERSION
install -m644 extra/arping-scan-net.sh $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -111,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/arpwatch/arpwatch.SlackBuild b/network/arpwatch/arpwatch.SlackBuild
index 513d0cc618..98eca3de00 100644
--- a/network/arpwatch/arpwatch.SlackBuild
+++ b/network/arpwatch/arpwatch.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for arpwatch
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arpwatch
VERSION=${VERSION:-2.1a15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/asciinema/asciinema.SlackBuild b/network/asciinema/asciinema.SlackBuild
index db3f23b1a4..d5ffca1ec1 100644
--- a/network/asciinema/asciinema.SlackBuild
+++ b/network/asciinema/asciinema.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for asciinema
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asciinema
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,27 +68,27 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cp $CWD/setup.py $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Fixed doc and manpage path
-sed -i -e "s/share\/doc/doc/" -e "s/share\/man/man/" setup.py
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 setup.py install --root=$PKG
-# install man page
+mkdir -p $PKG/usr/man/man1
+cp man/asciinema.1 $PKG/usr/man/man1
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share # nothing here but empty doc/ dir.
+
cp -a *.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -90,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/asciinema/asciinema.info b/network/asciinema/asciinema.info
index b110415859..874f4c5dd0 100644
--- a/network/asciinema/asciinema.info
+++ b/network/asciinema/asciinema.info
@@ -1,10 +1,10 @@
PRGNAM="asciinema"
-VERSION="2.0.2"
+VERSION="2.4.0"
HOMEPAGE="https://asciinema.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/a7/71/771c859795e02c71c187546f34f7535487b97425bc1dad1e5f6ad2651357/asciinema-2.0.2.tar.gz"
-MD5SUM="f3bda18659e40cfd9b37a790f47eaed7"
+DOWNLOAD="https://files.pythonhosted.org/packages/f1/19/45b405438e90ad5b9618f3df62e9b3edaa2b115b530e60bd4b363465c704/asciinema-2.4.0.tar.gz"
+MD5SUM="bcf1b5f337a1e8a7b4839d13e153b5bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/asciinema/setup.py b/network/asciinema/setup.py
new file mode 100644
index 0000000000..0ae4555937
--- /dev/null
+++ b/network/asciinema/setup.py
@@ -0,0 +1,5 @@
+from setuptools import setup
+
+
+if __name__ == '__main__':
+ setup()
diff --git a/network/asterisk/README b/network/asterisk/README
index bdd0c78c9c..53eabc8f52 100644
--- a/network/asterisk/README
+++ b/network/asterisk/README
@@ -8,5 +8,4 @@ agencies, worldwide.
Asterisk now includes an internal version of pjsip. As such, pjsip
conflicts with this package and should be removed.
-Optional dependencies: alembic, dahdi-complete, jansson, libpri,
- unixODBC
+Optional dependencies: alembic, dahdi-complete, libpri, unixODBC
diff --git a/network/asterisk/asterisk.SlackBuild b/network/asterisk/asterisk.SlackBuild
index c918343a87..9ee9071514 100644
--- a/network/asterisk/asterisk.SlackBuild
+++ b/network/asterisk/asterisk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2006, Alan Hicks, Lizella, GA
# Copyright 2010, 2013, 2015 Mario Preksavec, Zagreb, Croatia
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asterisk
VERSION=${VERSION:-16.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG="$TMP/package-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
@@ -243,17 +253,16 @@ for i in \
done
mkdir -p $PKG/etc/rc.d
-install -m 0755 contrib/init.d/rc.slackware.asterisk $PKG/etc/rc.d/rc.asterisk.new
-
-# Fix pid file location in rc script
-sed -i 's/asterisk.pid/asterisk\/asterisk.pid/' $PKG/etc/rc.d/rc.asterisk.new
+sed $CWD/rc.asterisk.new \
+ -e "s,@ASTERISKUSR@,$ASTERISKUSR,g" \
+ -e "s,@ASTERISKGRP@,$ASTERISKGRP,g" \
+ > $PKG/etc/rc.d/rc.asterisk.new
# Set file ownership
chown -R $ASTERISKUSR:$ASTERISKGRP $PKG/usr/lib${LIBDIRSUFFIX}
chown -R $ASTERISKUSR:$ASTERISKGRP $PKG/var/lib/asterisk
chown -R $ASTERISKUSR:$ASTERISKGRP $PKG/var/spool/asterisk
chown -R $ASTERISKUSR:$ASTERISKGRP $PKG/var/log/asterisk
-chown -R $ASTERISKUSR:$ASTERISKGRP $PKG/var/run/asterisk
chown $ASTERISKUSR:$ASTERISKGRP $PKG/usr/sbin/asterisk
# The voicemail config file needs to writeable by the asterisk user
@@ -266,4 +275,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/asterisk/asterisk.info b/network/asterisk/asterisk.info
index 00aca78b29..90ba627cea 100644
--- a/network/asterisk/asterisk.info
+++ b/network/asterisk/asterisk.info
@@ -75,6 +75,6 @@ MD5SUM="2f03204a38e8ed49e58474961d43f363 \
d9f7fd4e1d93ad9fca1df8717a79d1c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libedit"
+REQUIRES=""
MAINTAINER="Chris Walker"
EMAIL="kris240376@gmail.com"
diff --git a/network/asterisk/rc.asterisk.new b/network/asterisk/rc.asterisk.new
new file mode 100644
index 0000000000..636f4099a0
--- /dev/null
+++ b/network/asterisk/rc.asterisk.new
@@ -0,0 +1,64 @@
+#!/bin/sh
+#
+# Start/stop/restart Asterisk PBX
+#
+# Version: 1.0 - Paul Belanger <pabelanger@gmail.com>
+#
+# 03.29.2005 - Initial Version
+#
+# $Id$
+
+### BEGIN INIT INFO
+# Provides: asterisk
+# Required-Start: $network $syslog $named $local_fs $remote_fs
+# Required-Stop: $network $syslog $named $local_fs $remote_fs
+# Should-Start: dahdi misdn lcr wanrouter mysql postgresql
+# Should-Stop: dahdi misdn lcr wanrouter mysql postgresql
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Asterisk PBX
+# Description: the Asterisk Open Source PBX
+### END INIT INFO
+
+asterisk_start() {
+ if [ -x /usr/sbin/asterisk ]; then
+ # Check if Asterisk is already running. If it is, then bug out, because
+ # starting safe_asterisk when Asterisk is running is very bad.
+ VERSION=`/usr/sbin/asterisk -rx 'core show version' 2>/dev/null`
+ if [ "`echo $VERSION | cut -c 1-8`" = "Asterisk" ]; then
+ echo "Asterisk is already running. $0 will exit now."
+ exit 1
+ fi
+
+ echo "Starting Asterisk /usr/sbin/asterisk"
+ mkdir -p /var/run/asterisk
+ chown @ASTERISKUSR@:@ASTERISKGRP@ /var/run/asterisk
+ /usr/sbin/asterisk
+ fi
+}
+
+asterisk_stop() {
+ # If there is no PID file, ignore this request...
+ if [ -r /var/run/asterisk/asterisk.pid ]; then
+ killall asterisk
+ fi
+}
+
+asterisk_restart() {
+ asterisk_stop
+ asterisk_start
+}
+
+case "$1" in
+ 'start')
+ asterisk_start
+ ;;
+ 'stop')
+ asterisk_stop
+ ;;
+ 'restart')
+ asterisk_restart
+ ;;
+ *)
+ echo "usage $0 start|stop|restart" ;;
+esac
diff --git a/network/asuka/README b/network/asuka/README
new file mode 100644
index 0000000000..e1ee995e8d
--- /dev/null
+++ b/network/asuka/README
@@ -0,0 +1,5 @@
+Asuka is a CLI client for the Gemini protocol.
+It's written in Rust and uses NCurses.
+
+Home page: https://git.sr.ht/~julienxx/asuka
+
diff --git a/network/asuka/asuka.SlackBuild b/network/asuka/asuka.SlackBuild
new file mode 100644
index 0000000000..559aad5feb
--- /dev/null
+++ b/network/asuka/asuka.SlackBuild
@@ -0,0 +1,161 @@
+#!/bin/bash
+
+# Slackware build script for asuka
+
+# Copyright 2022 Julien Blanchard, Bordeaux France
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=asuka
+VERSION=${VERSION:-0.8.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ CARGOTARGET="--target i586-unknown-linux-gnu"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ CARGOTARGET="--target i686-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ CARGOTARGET="--target x86_64-unknown-linux-gnu"
+else
+ SLKCFLAGS="-O2"
+ CARGOTARGET=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# build offline
+# configuration tells cargo to use the configured directory
+# for dependencies instead of downloading from crates.io
+mkdir .cargo
+cat << EOF >> .cargo/config
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+
+[source.vendored-sources]
+directory = '$(pwd)/vendor'
+EOF
+
+# deps and versions come from Cargo.lock
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
+
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ echo "HERE $ver $dep"
+
+ tar xvf $CWD/$dep-$ver.crate
+
+ touch $dep-$ver/.cargo-ok
+
+ # generate checksum
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "'
+
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
+
+ printf "}\n"
+ } > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --release $CARGOTARGET
+
+mkdir -p $PKG/usr/bin/
+
+find target -name $PRGNAM -exec install -m 755 {} $PKG/usr/bin/$PRGNAM \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/asuka/asuka.info b/network/asuka/asuka.info
new file mode 100644
index 0000000000..1023fa80c8
--- /dev/null
+++ b/network/asuka/asuka.info
@@ -0,0 +1,198 @@
+PRGNAM="asuka"
+VERSION="0.8.5"
+HOMEPAGE="https://git.sr.ht/~julienxx/asuka"
+DOWNLOAD="https://git.sr.ht/~julienxx/asuka/archive/0.8.5.tar.gz \
+ https://static.crates.io/crates/ahash/ahash-0.7.6.crate \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/cc/cc-1.0.73.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/core-foundation/core-foundation-0.9.3.crate \
+ https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.8.3.crate \
+ https://static.crates.io/crates/crossbeam-channel/crossbeam-channel-0.5.4.crate \
+ https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.8.8.crate \
+ https://static.crates.io/crates/cursive/cursive-0.18.0.crate \
+ https://static.crates.io/crates/cursive_core/cursive_core-0.3.2.crate \
+ https://static.crates.io/crates/darling/darling-0.13.4.crate \
+ https://static.crates.io/crates/darling_core/darling_core-0.13.4.crate \
+ https://static.crates.io/crates/darling_macro/darling_macro-0.13.4.crate \
+ https://static.crates.io/crates/dirs/dirs-4.0.0.crate \
+ https://static.crates.io/crates/dirs-sys/dirs-sys-0.3.7.crate \
+ https://static.crates.io/crates/enum-map/enum-map-2.1.0.crate \
+ https://static.crates.io/crates/enum-map-derive/enum-map-derive-0.8.0.crate \
+ https://static.crates.io/crates/enumset/enumset-1.0.11.crate \
+ https://static.crates.io/crates/enumset_derive/enumset_derive-0.6.0.crate \
+ https://static.crates.io/crates/fastrand/fastrand-1.7.0.crate \
+ https://static.crates.io/crates/fnv/fnv-1.0.7.crate \
+ https://static.crates.io/crates/foreign-types/foreign-types-0.3.2.crate \
+ https://static.crates.io/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
+ https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.0.1.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.6.crate \
+ https://static.crates.io/crates/ident_case/ident_case-1.0.1.crate \
+ https://static.crates.io/crates/idna/idna-0.2.3.crate \
+ https://static.crates.io/crates/instant/instant-0.1.12.crate \
+ https://static.crates.io/crates/itoa/itoa-1.0.1.crate \
+ https://static.crates.io/crates/json/json-0.12.4.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.125.crate \
+ https://static.crates.io/crates/log/log-0.4.17.crate \
+ https://static.crates.io/crates/maplit/maplit-1.0.2.crate \
+ https://static.crates.io/crates/matches/matches-0.1.9.crate \
+ https://static.crates.io/crates/memchr/memchr-2.5.0.crate \
+ https://static.crates.io/crates/native-tls/native-tls-0.2.10.crate \
+ https://static.crates.io/crates/ncurses/ncurses-5.101.0.crate \
+ https://static.crates.io/crates/num/num-0.4.0.crate \
+ https://static.crates.io/crates/num-complex/num-complex-0.4.1.crate \
+ https://static.crates.io/crates/num-integer/num-integer-0.1.45.crate \
+ https://static.crates.io/crates/num-iter/num-iter-0.1.43.crate \
+ https://static.crates.io/crates/num-rational/num-rational-0.4.0.crate \
+ https://static.crates.io/crates/num-traits/num-traits-0.2.15.crate \
+ https://static.crates.io/crates/num_threads/num_threads-0.1.6.crate \
+ https://static.crates.io/crates/once_cell/once_cell-1.10.0.crate \
+ https://static.crates.io/crates/open/open-2.1.2.crate \
+ https://static.crates.io/crates/openssl/openssl-0.10.40.crate \
+ https://static.crates.io/crates/openssl-macros/openssl-macros-0.1.0.crate \
+ https://static.crates.io/crates/openssl-probe/openssl-probe-0.1.5.crate \
+ https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.73.crate \
+ https://static.crates.io/crates/owning_ref/owning_ref-0.4.1.crate \
+ https://static.crates.io/crates/pathdiff/pathdiff-0.2.1.crate \
+ https://static.crates.io/crates/percent-encoding/percent-encoding-2.1.0.crate \
+ https://static.crates.io/crates/pkg-config/pkg-config-0.3.25.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.37.crate \
+ https://static.crates.io/crates/quote/quote-1.0.18.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.13.crate \
+ https://static.crates.io/crates/redox_users/redox_users-0.4.3.crate \
+ https://static.crates.io/crates/regex/regex-1.5.5.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://static.crates.io/crates/schannel/schannel-0.1.19.crate \
+ https://static.crates.io/crates/security-framework/security-framework-2.6.1.crate \
+ https://static.crates.io/crates/security-framework-sys/security-framework-sys-2.6.1.crate \
+ https://static.crates.io/crates/signal-hook/signal-hook-0.3.13.crate \
+ https://static.crates.io/crates/signal-hook-registry/signal-hook-registry-1.4.0.crate \
+ https://static.crates.io/crates/smawk/smawk-0.3.1.crate \
+ https://static.crates.io/crates/stable_deref_trait/stable_deref_trait-1.2.0.crate \
+ https://static.crates.io/crates/syn/syn-1.0.92.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.3.0.crate \
+ https://static.crates.io/crates/term_size/term_size-0.3.2.crate \
+ https://static.crates.io/crates/textwrap/textwrap-0.15.0.crate \
+ https://static.crates.io/crates/thiserror/thiserror-1.0.31.crate \
+ https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.31.crate \
+ https://static.crates.io/crates/time/time-0.3.9.crate \
+ https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \
+ https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate \
+ https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.8.crate \
+ https://static.crates.io/crates/unicode-linebreak/unicode-linebreak-0.1.2.crate \
+ https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.19.crate \
+ https://static.crates.io/crates/unicode-segmentation/unicode-segmentation-1.9.0.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.9.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.3.crate \
+ https://static.crates.io/crates/url/url-2.2.2.crate \
+ https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \
+ https://static.crates.io/crates/version_check/version_check-0.9.4.crate \
+ https://static.crates.io/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/xi-unicode/xi-unicode-0.3.0.crate"
+MD5SUM="a1693edbc029245542c96edfffebe599 \
+ 7d2520c6776b66559165d0a666e995ff \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ 05d77ef52e90ad161fdd41b252420467 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 8e3a4d0980acef2c4e74485a45de29a9 \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ ae6dd0cd5319220586d8ace4c4be87ce \
+ d05cbf26ed52299487a802688a1d22cb \
+ 576ee1b86d4c2abacb63ea19c0121d2f \
+ 8d21be2fa5f912232d6c441e8dd78cb1 \
+ 4813ec8f041716c38a9fa62cf5a5aafa \
+ adea01876cc06fed2497a0283002e80c \
+ f28e4363b28774af3f8127ed40bcdc9f \
+ c1713950e7088b216d011fc5c2bdd661 \
+ 6129e036328e2ec678c8d5d9be3c5e59 \
+ 889fdcd1499ef5939caaafab5c09729e \
+ 4c21da37e71a52f26c8c5490f3ec4837 \
+ cfd5ddf7977934e060cc6d214519351f \
+ accf4486cb4158e79095ddc7ddd563d4 \
+ 29fa19c82eb9a198535b2d4e84b75ad6 \
+ ddcc21bf6fa1316442742d6bb49481c9 \
+ e08921c68133df2e254fe723b368bae3 \
+ 8dab3b3ec00dc56cffde0b0c410d47b5 \
+ 78c898fdaa3968e23904bf8538c4a271 \
+ 667e86b8b8d96ab4e9605627ce7dcc9a \
+ 7ee8703970c3fa6a2e37893de742824b \
+ 8a9e0a43625da8d29c57e742c4d3d385 \
+ fe77a3f609b6fd8d5b08f3b2ef14d2ad \
+ f50aaf5171cbc0327f8d18a4ec7405fb \
+ 5f153f7135dceb02f88266121c836b4e \
+ 5c98b89b530b563b6e5f6e1b631c4b35 \
+ b1c4a08cc8222b3fff6d2d6dcf821689 \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ e83dc3dbd3de1f5f2b4b248c521eeaec \
+ b31bf94ffe7e0f2ada93afae1076eaeb \
+ 47580fad08273a52e998f84ef404912e \
+ 5ac809692422b722eaded90be3c4d9c2 \
+ 94b8bf179385ff071bdc33b58bf047c0 \
+ 83c88f2bd69c44122955bf94ad9377a1 \
+ 81f3d69af8142596468325954a52dea3 \
+ 1081c01b2d9b17a33c3d0156193be592 \
+ 6edc86d48078d1603065424c02020da3 \
+ 073b4c53e303ccf2a807dfce7f5e986a \
+ 44ef8a2279dadf391881a69c60d29197 \
+ 0cd34d83344babdcb0aa123b5e672182 \
+ a0de6eabdeb1320350abcbd7c02df6ac \
+ ae2471729f689287aec9da43f8106a4b \
+ 0a56079b59a262a80e33d13e6604cc4e \
+ 61d02dc8b187712c7ba7838df3d65601 \
+ 1babe6b3077bea6540b8fb5ecaadc255 \
+ 73212ff5e0f8cd8844081a2461393707 \
+ 907244c0d3791f3f981c7cc8e4cad0a3 \
+ e6562b473a131e7df2e99252a63124f8 \
+ 6fb245ba04d6859fadef5fe22806355b \
+ c40bb551772810d818857841ea389f1e \
+ f490982aceabdbd515348f63e638a782 \
+ b478ee84018082806ea8da763f0b3f1f \
+ 11034ad82271b27907c7f970374864ef \
+ 0fa01f3988219987a04c09dae3933d94 \
+ 2e69b77050ab91b1d0bb941e843a05cb \
+ 2793ed3e6807d79ff72271baec586531 \
+ 6b5c7401117316735435311bf551515b \
+ 82401c70623ccc1bfc0bcb5c3b0ac8b7 \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ f505a218806e44b2369671089d65e839 \
+ 4b09fe533b3580ace8ae485a477b4532 \
+ ffbaf84e19c894443b584605e668b6ea \
+ b077f27c741a438d0a7a474a41e22a62 \
+ 21b43d5721b3a9c16059acb691f4314d \
+ 5d5cf081e3f2aad8d9e52deef9e92c18 \
+ 5988bad1543264a9f48b542192e7de9a \
+ 8b3ee9107af33d280d42485282f7c4a6 \
+ f29a1bb1b5f3f29cedb36f40f720d765 \
+ 73d602cc41e3e431bf4fabd129ae1616 \
+ 7bfb933cd096d342c9d6f77f5d3c4b94 \
+ a8ae09f39c6e68744ca70bf8db61df71 \
+ ac76b35d8c76c7fa25c73b8863d5d055 \
+ ad3f3c7bb184e63919b633dc35805cf4 \
+ 5f0470696baaa4e5953bddbf196998f9 \
+ 7bfcad253aff26bc26c5e3521f3ba891 \
+ bd0cd532c61dac2087ecd7e0fef0d011 \
+ e6c3402a883b9a35135ca6af2cc46922 \
+ 10291d9a0022076bc0827250816d3476 \
+ 2e8e0a121121087295e708b2eb4b54d5 \
+ a42cc2834b2150027d7b427558a87803 \
+ 763a3a6901bbb11a6998d29867d39b3c \
+ eb721c4d9e5dba8f93e9de0a80036ec3 \
+ e900a384ac7dbb320fe6a7279fbfef89 \
+ d18d362345c4fe512ef67b738b239fb8 \
+ a061ad1db3e0d839725b037ff8be84e7 \
+ 0498c4a11448bfc35dc7bb2caa64c753 \
+ db96b50050277bf05a3c68534bbb9586 \
+ 09de9d01e7331ff3da11f58be8bef0df \
+ a78d9b7d812b68bc4b27b4f23d46ced1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Julien Blanchard"
+EMAIL="julien@typed-hole.org"
diff --git a/network/asuka/slack-desc b/network/asuka/slack-desc
new file mode 100644
index 0000000000..5ad564cbd9
--- /dev/null
+++ b/network/asuka/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+asuka: asuka (gemini client)
+asuka:
+asuka: Asuka is a CLI client for the Gemini protocol.
+asuka: It's written in Rust and uses NCurses.
+asuka:
+asuka: Home page: https://git.sr.ht/~julienxx/asuka
+asuka:
+asuka:
+asuka:
+asuka:
+asuka:
diff --git a/network/atftp/atftp.SlackBuild b/network/atftp/atftp.SlackBuild
index 4ae86a9fb8..c32872849d 100644
--- a/network/atftp/atftp.SlackBuild
+++ b/network/atftp/atftp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for atftp
@@ -21,8 +21,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+# 20230103 bkw: update for v0.8.0.
# 20210223 bkw: update for v0.7.4.
# 20191129 bkw: update for v0.7.2.
@@ -33,10 +34,13 @@
# - Expand README with hopefully useful setup info. Include it in
# the package since it overrides some of the info from upstream's docs.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=atftp
-VERSION=${VERSION:-0.7.4}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,7 +50,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,6 +85,8 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+[ -e ./configure ] || sh autogen.sh
+
CC="gcc -fgnu89-inline $SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/atftp/atftp.info b/network/atftp/atftp.info
index 7de5174fa6..2fb13509cb 100644
--- a/network/atftp/atftp.info
+++ b/network/atftp/atftp.info
@@ -1,10 +1,10 @@
PRGNAM="atftp"
-VERSION="0.7.4"
+VERSION="0.8.0"
HOMEPAGE="https://sourceforge.net/projects/atftp"
-DOWNLOAD="https://downloads.sourceforge.net/project/atftp/atftp-0.7.4.tar.gz"
-MD5SUM="f15e2b89498106f68b798ad027a85e8d"
+DOWNLOAD="https://downloads.sourceforge.net/project/atftp/atftp-0.8.0.tar.gz"
+MD5SUM="852f4c0773ae8c429ec4f74413eabe1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/atheme/README b/network/atheme/README
index e428398e6b..6ef25866eb 100644
--- a/network/atheme/README
+++ b/network/atheme/README
@@ -2,5 +2,3 @@ Atheme is a feature-packed, extremely customisable IRC services
daemon that is secure, stable and scalable.
The included rc.atheme supports start|stop|restart|hup
-
-Optional dependencies: qrencode (QR code support), cracklib.
diff --git a/network/atheme/atheme.SlackBuild b/network/atheme/atheme.SlackBuild
index b55ec0a29e..d4f6f6f05d 100644
--- a/network/atheme/atheme.SlackBuild
+++ b/network/atheme/atheme.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for atheme
# Copyright 2017 David Woodfall <dave@slackbuilds.org>
@@ -21,11 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=atheme
VERSION=${VERSION:-v7.2.10_r2}
SRCVERSION=${VERSION/_/-}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -112,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/atheme/atheme.info b/network/atheme/atheme.info
index 977bc5630c..b753d45d1d 100644
--- a/network/atheme/atheme.info
+++ b/network/atheme/atheme.info
@@ -6,5 +6,5 @@ MD5SUM="c907900b19e8d2508dd22455dcdce912"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/authbind/README b/network/authbind/README
index 81624ae1a2..155bbbdabe 100644
--- a/network/authbind/README
+++ b/network/authbind/README
@@ -1,5 +1,5 @@
authbind (allows unprivileged processes to bind to low-numbered ports)
-authbind allows non-root processes to bind to TCP and UDP ports 1 to 512.
-Access is controlled by config files located in /etc/authbind, and can
-be configured per user (or group), per address, and per port.
+authbind allows non-root processes to bind to TCP and UDP ports 1 to
+512. Access is controlled by config files located in /etc/authbind,
+and can be configured per user (or group), per address, and per port.
diff --git a/network/authbind/authbind.SlackBuild b/network/authbind/authbind.SlackBuild
index 3693884f19..419cce58cb 100644
--- a/network/authbind/authbind.SlackBuild
+++ b/network/authbind/authbind.SlackBuild
@@ -1,15 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for authbind
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: Note to self: There is an authbind_2.1.3.tar.gz
+# available on Debian's download server, but there are no code changes
+# between 2.1.2 and 2.1.3. The only differences are in the Debian
+# packaging stuff (debian/rules and debian/changelog), which we don't
+# use.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=authbind
VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +28,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,11 +60,8 @@ rm -rf $PRGNAM
tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
cd $PRGNAM
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
make \
OPTIMISE="$SLKCFLAGS" \
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/authbind/authbind.info b/network/authbind/authbind.info
index 7746bb9c65..70df284e8b 100644
--- a/network/authbind/authbind.info
+++ b/network/authbind/authbind.info
@@ -1,10 +1,10 @@
PRGNAM="authbind"
VERSION="2.1.2"
HOMEPAGE="http://packages.debian.org/sid/authbind"
-DOWNLOAD="http://ftp.debian.org/debian/pool/main/a/authbind/authbind_2.1.2.tar.gz"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/a/authbind/authbind_2.1.2.tar.gz"
MD5SUM="e301e83e9683abc3aebf08ebdfe58041"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/autossh/autossh.SlackBuild b/network/autossh/autossh.SlackBuild
index 3c7dc691b4..d85dbddef4 100644
--- a/network/autossh/autossh.SlackBuild
+++ b/network/autossh/autossh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for autossh
@@ -26,10 +26,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=autossh
VERSION=${VERSION:-1.4g}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/avahi/README b/network/avahi/README
index 8d1e64903a..3057f78a16 100644
--- a/network/avahi/README
+++ b/network/avahi/README
@@ -1,15 +1,14 @@
-Avahi is an implementation of the DNS Service Discovery and Multicast DNS
-specifications for Zeroconf Computing. It uses D-BUS for communication
-between user applications and a system daemon. The daemon is used to
-coordinate application efforts in caching replies, necessary to minimize
-the traffic imposed on networks. This kind of technology is already
-found in Apple MacOS X (branded Rendezvous Bonjour and sometimes Zeroconf)
-and is very convenient.
+Avahi is an implementation of the DNS Service Discovery and Multicast
+DNS specifications for Zeroconf Computing. It uses D-BUS for
+communication between user applications and a system daemon. The
+daemon is used to coordinate application efforts in caching replies,
+necessary to minimize the traffic imposed on networks. This kind
+of technology is already found in Apple MacOS X (branded Rendezvous
+Bonjour and sometimes Zeroconf) and is very convenient.
-You will need to have an "avahi" user and group on the target system
-prior to installing the avahi package. See README.SBo in this directory
-(it is also installed to the package docmentation directory) for more
-information and for setup notes.
+You will need to have an "avahi" user and group on the target
+system prior to installing the avahi package. See README.SBo in this
+directory (it is also installed to the package docmentation directory)
+for more information and for setup notes.
-mono is an optional dependency that also requires gtk-sharp - enable it
-with the following: "MONO=yes ./avahi.SlackBuild"
+mono support is not working ATM so it's forcibly disabled.
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild
index b2b984d3b3..e81a77cc29 100644
--- a/network/avahi/avahi.SlackBuild
+++ b/network/avahi/avahi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avahi
@@ -23,10 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=7:
+# - don't include empty /run dir in package.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avahi
VERSION=${VERSION:-0.8}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-7}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,6 +58,7 @@ if [ "${MONO:-no}" = "no" ]; then
else
MONO="--enable-mono"
fi
+MONO="--disable-mono" # mono support not working ATM
warn_accounts() {
echo " You must have an avahi user and group to run this script. "
@@ -89,22 +101,40 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 --verbose < $CWD/fixup_avahi-dnsconfd.action.patch
-patch -p1 --verbose < $CWD/ipv6_race_condition_fix.patch # thanks, LFS
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# This patch is mine --rworkman
+patch -p1 --verbose < $CWD/patches/fixup_avahi-dnsconfd.action.patch
+
+# Thanks to LFS for this patch
+patch -p1 --verbose < $CWD/patches/ipv6_race_condition_fix.patch
+
+# Thanks to Debian for these patches
+patch -p1 --verbose < $CWD/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch
+patch -p1 --verbose < $CWD/patches/man-add-missing-bshell.1-symlink.patch
+patch -p1 --verbose < $CWD/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch
+patch -p1 --verbose < $CWD/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch
+patch -p1 --verbose < $CWD/patches/fix-bytestring-decoding-for-proper-display.patch
+patch -p1 --verbose < $CWD/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch
+patch -p1 --verbose < $CWD/patches/Fetch-build-db-from-upstream-git.patch
+patch -p1 --verbose < $CWD/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch
+patch -p1 --verbose < $CWD/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch
+patch -p1 --verbose < $CWD/patches/avahi-client-fix-resource-leak.patch
+patch -p1 --verbose < $CWD/patches/avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch
+patch -p1 --verbose < $CWD/patches/CVE-2021-3502.patch
# Okay, I had to cheat a bit on the manual pages; there's a commit
# in git that will fix this, so I just built a git checkout, grabbed
# the built manual pages, and we'll drop them into place so the build
# will work for this released version...
-cat $CWD/build-db > service-type-database/build-db
-chmod 0755 service-type-database/build-db
cat $CWD/bssh.1 > man/bssh.1
cat $CWD/avahi-discover.1 > man/avahi-discover.1
+autoreconf -vif
+
+export PYTHON=python3
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -126,7 +156,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-python \
--enable-gtk \
--enable-gtk3 \
- --disable-qt5 \
+ --enable-qt5 \
--disable-qt4 \
--disable-qt3 \
--enable-core-docs \
@@ -141,10 +171,13 @@ CXXFLAGS="$SLKCFLAGS" \
$MONO
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220414 bkw: if this dir is empty, it doesn't need to be included
+# in the package.
+rmdir $PKG/run &> /dev/null || true
+
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
@@ -153,7 +186,10 @@ mv $PKG/etc/rc.d/rc.avahidaemon $PKG/etc/rc.d/rc.avahidaemon.new
mv $PKG/etc/rc.d/rc.avahidnsconfd $PKG/etc/rc.d/rc.avahidnsconfd.new
mv $PKG/etc/avahi/avahi-daemon.conf $PKG/etc/avahi/avahi-daemon.conf.new
+sed -i "s|#!python3|#!/usr/bin/python3|g" $PKG/usr/bin/avahi-{discover,bookmarks}
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f docs/INSTALL
cp -a LICENSE docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -162,4 +198,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/avahi/build-db b/network/avahi/build-db
deleted file mode 100644
index 78ee892f60..0000000000
--- a/network/avahi/build-db
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-# -*-python-*-
-# This file is part of avahi.
-#
-# avahi is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation; either version 2 of the
-# License, or (at your option) any later version.
-#
-# avahi is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
-# License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with avahi; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
-# USA.
-
-try:
- import anydbm as dbm
-except ImportError:
- import dbm
-
-import sys
-
-if len(sys.argv) > 1:
- infn = sys.argv[1]
-else:
- infn = "service-types"
-
-if len(sys.argv) > 2:
- outfn = sys.argv[2]
-else:
- outfn = infn + ".db"
-
-db = dbm.open(outfn, "n")
-
-for ln in open(infn, "r"):
- ln = ln.strip(" \r\n\t")
-
- if ln == "" or ln.startswith("#"):
- continue
-
- t, n = ln.split(":", 1)
-
- db[t.strip()] = n.strip()
-
-db.close()
diff --git a/network/avahi/patches/CVE-2021-3502.patch b/network/avahi/patches/CVE-2021-3502.patch
new file mode 100644
index 0000000000..7b0449a2e4
--- /dev/null
+++ b/network/avahi/patches/CVE-2021-3502.patch
@@ -0,0 +1,148 @@
+From 9d31939e55280a733d930b15ac9e4dda4497680c Mon Sep 17 00:00:00 2001
+From: Tommi Rantala <tommi.t.rantala@nokia.com>
+Date: Mon, 8 Feb 2021 11:04:43 +0200
+Subject: [PATCH] Fix NULL pointer crashes from #175
+
+avahi-daemon is crashing when running "ping .local".
+The crash is due to failing assertion from NULL pointer.
+Add missing NULL pointer checks to fix it.
+
+Introduced in #175 - merge commit 8f75a045709a780c8cf92a6a21e9d35b593bdecd
+---
+ avahi-core/browse-dns-server.c | 5 ++++-
+ avahi-core/browse-domain.c | 5 ++++-
+ avahi-core/browse-service-type.c | 3 +++
+ avahi-core/browse-service.c | 3 +++
+ avahi-core/browse.c | 3 +++
+ avahi-core/resolve-address.c | 5 ++++-
+ avahi-core/resolve-host-name.c | 5 ++++-
+ avahi-core/resolve-service.c | 5 ++++-
+ 8 files changed, 29 insertions(+), 5 deletions(-)
+
+diff --git a/avahi-core/browse-dns-server.c b/avahi-core/browse-dns-server.c
+index 049752e9..c2d914fa 100644
+--- a/avahi-core/browse-dns-server.c
++++ b/avahi-core/browse-dns-server.c
+@@ -343,7 +343,10 @@ AvahiSDNSServerBrowser *avahi_s_dns_server_browser_new(
+ AvahiSDNSServerBrowser* b;
+
+ b = avahi_s_dns_server_browser_prepare(server, interface, protocol, domain, type, aprotocol, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_dns_server_browser_start(b);
+
+ return b;
+-}
+\ No newline at end of file
++}
+diff --git a/avahi-core/browse-domain.c b/avahi-core/browse-domain.c
+index f145d56a..06fa70c0 100644
+--- a/avahi-core/browse-domain.c
++++ b/avahi-core/browse-domain.c
+@@ -253,7 +253,10 @@ AvahiSDomainBrowser *avahi_s_domain_browser_new(
+ AvahiSDomainBrowser *b;
+
+ b = avahi_s_domain_browser_prepare(server, interface, protocol, domain, type, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_domain_browser_start(b);
+
+ return b;
+-}
+\ No newline at end of file
++}
+diff --git a/avahi-core/browse-service-type.c b/avahi-core/browse-service-type.c
+index fdd22dcd..b1fc7af8 100644
+--- a/avahi-core/browse-service-type.c
++++ b/avahi-core/browse-service-type.c
+@@ -171,6 +171,9 @@ AvahiSServiceTypeBrowser *avahi_s_service_type_browser_new(
+ AvahiSServiceTypeBrowser *b;
+
+ b = avahi_s_service_type_browser_prepare(server, interface, protocol, domain, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_service_type_browser_start(b);
+
+ return b;
+diff --git a/avahi-core/browse-service.c b/avahi-core/browse-service.c
+index 5531360c..63e0275a 100644
+--- a/avahi-core/browse-service.c
++++ b/avahi-core/browse-service.c
+@@ -184,6 +184,9 @@ AvahiSServiceBrowser *avahi_s_service_browser_new(
+ AvahiSServiceBrowser *b;
+
+ b = avahi_s_service_browser_prepare(server, interface, protocol, service_type, domain, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_service_browser_start(b);
+
+ return b;
+diff --git a/avahi-core/browse.c b/avahi-core/browse.c
+index 2941e579..e8a915e9 100644
+--- a/avahi-core/browse.c
++++ b/avahi-core/browse.c
+@@ -634,6 +634,9 @@ AvahiSRecordBrowser *avahi_s_record_browser_new(
+ AvahiSRecordBrowser *b;
+
+ b = avahi_s_record_browser_prepare(server, interface, protocol, key, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_record_browser_start_query(b);
+
+ return b;
+diff --git a/avahi-core/resolve-address.c b/avahi-core/resolve-address.c
+index ac0b29b1..e61dd242 100644
+--- a/avahi-core/resolve-address.c
++++ b/avahi-core/resolve-address.c
+@@ -286,7 +286,10 @@ AvahiSAddressResolver *avahi_s_address_resolver_new(
+ AvahiSAddressResolver *b;
+
+ b = avahi_s_address_resolver_prepare(server, interface, protocol, address, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_address_resolver_start(b);
+
+ return b;
+-}
+\ No newline at end of file
++}
+diff --git a/avahi-core/resolve-host-name.c b/avahi-core/resolve-host-name.c
+index 808b0e72..4e8e5973 100644
+--- a/avahi-core/resolve-host-name.c
++++ b/avahi-core/resolve-host-name.c
+@@ -318,7 +318,10 @@ AvahiSHostNameResolver *avahi_s_host_name_resolver_new(
+ AvahiSHostNameResolver *b;
+
+ b = avahi_s_host_name_resolver_prepare(server, interface, protocol, host_name, aprotocol, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_host_name_resolver_start(b);
+
+ return b;
+-}
+\ No newline at end of file
++}
+diff --git a/avahi-core/resolve-service.c b/avahi-core/resolve-service.c
+index 66bf3cae..43771763 100644
+--- a/avahi-core/resolve-service.c
++++ b/avahi-core/resolve-service.c
+@@ -519,7 +519,10 @@ AvahiSServiceResolver *avahi_s_service_resolver_new(
+ AvahiSServiceResolver *b;
+
+ b = avahi_s_service_resolver_prepare(server, interface, protocol, name, type, domain, aprotocol, flags, callback, userdata);
++ if (!b)
++ return NULL;
++
+ avahi_s_service_resolver_start(b);
+
+ return b;
+-}
+\ No newline at end of file
++}
diff --git a/network/avahi/patches/Fetch-build-db-from-upstream-git.patch b/network/avahi/patches/Fetch-build-db-from-upstream-git.patch
new file mode 100644
index 0000000000..eacb6dab5a
--- /dev/null
+++ b/network/avahi/patches/Fetch-build-db-from-upstream-git.patch
@@ -0,0 +1,71 @@
+From: Andreas Henriksson <andreas@fatal.se>
+Date: Sat, 26 Oct 2019 15:49:35 +0200
+Subject: Fetch build-db from upstream git
+
+Fetch the build-db file from:
+https://raw.githubusercontent.com/lathiat/avahi/master/service-type-database/build-db
+
+This file is missing dist tarball, likely caused by changes in:
+https://github.com/lathiat/avahi/pull/134
+
+Carry it as a patch for now.
+---
+ service-type-database/build-db | 49 ++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 49 insertions(+)
+ create mode 100755 service-type-database/build-db
+
+diff --git a/service-type-database/build-db b/service-type-database/build-db
+new file mode 100755
+index 0000000..78ee892
+--- /dev/null
++++ b/service-type-database/build-db
+@@ -0,0 +1,49 @@
++#!/usr/bin/env python
++# -*-python-*-
++# This file is part of avahi.
++#
++# avahi is free software; you can redistribute it and/or modify it
++# under the terms of the GNU Lesser General Public License as
++# published by the Free Software Foundation; either version 2 of the
++# License, or (at your option) any later version.
++#
++# avahi is distributed in the hope that it will be useful, but WITHOUT
++# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
++# License for more details.
++#
++# You should have received a copy of the GNU Lesser General Public
++# License along with avahi; if not, write to the Free Software
++# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
++# USA.
++
++try:
++ import anydbm as dbm
++except ImportError:
++ import dbm
++
++import sys
++
++if len(sys.argv) > 1:
++ infn = sys.argv[1]
++else:
++ infn = "service-types"
++
++if len(sys.argv) > 2:
++ outfn = sys.argv[2]
++else:
++ outfn = infn + ".db"
++
++db = dbm.open(outfn, "n")
++
++for ln in open(infn, "r"):
++ ln = ln.strip(" \r\n\t")
++
++ if ln == "" or ln.startswith("#"):
++ continue
++
++ t, n = ln.split(":", 1)
++
++ db[t.strip()] = n.strip()
++
++db.close()
diff --git a/network/avahi/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch b/network/avahi/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch
new file mode 100644
index 0000000000..076442706a
--- /dev/null
+++ b/network/avahi/patches/Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch
@@ -0,0 +1,50 @@
+From: Andreas Henriksson <andreas@fatal.se>
+Date: Thu, 24 Aug 2017 17:52:19 +0200
+Subject: Ship avahi-discover(1), bssh(1) and bvnc(1) also for GTK3
+
+These manpages went missing when you disabled gtk2 builds....
+
+Forwarded: https://github.com/lathiat/avahi/pull/142
+Applied-upstream: 0.9, commit:751be804e891aec5701a059144e2f5cbfc981b36
+---
+ man/Makefile.am | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/man/Makefile.am b/man/Makefile.am
+index 77a27bd..289b942 100644
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -56,7 +56,7 @@ man_MANS += \
+ avahi-publish.1 \
+ avahi-set-host-name.1
+
+-if HAVE_GTK
++if HAVE_GTK2OR3
+ man_MANS += \
+ bssh.1
+ endif
+@@ -64,12 +64,13 @@ endif
+ if HAVE_PYTHON
+ man_MANS += \
+ avahi-bookmarks.1
+-if HAVE_GTK
++endif
++
++if HAVE_PYGOBJECT
+ man_MANS += \
+ avahi-discover.1
+ endif
+ endif
+-endif
+
+ if ENABLE_AUTOIPD
+ if HAVE_LIBDAEMON
+@@ -134,7 +135,7 @@ EXTRA_DIST = \
+ if HAVE_DBUS
+
+ BSSH_LN =
+-if HAVE_GTK
++if HAVE_GTK2OR3
+ if HAVE_GLIB
+ BSSH_LN += $(LN_S) bssh.1 bvnc.1 &&
+ BSSH_LN += $(LN_S) bssh.1 bshell.1 &&
diff --git a/network/avahi/patches/avahi-client-fix-resource-leak.patch b/network/avahi/patches/avahi-client-fix-resource-leak.patch
new file mode 100644
index 0000000000..141828a259
--- /dev/null
+++ b/network/avahi/patches/avahi-client-fix-resource-leak.patch
@@ -0,0 +1,22 @@
+From 374245ec1418e7e1e57120fcaf0a12ec695f5f6d Mon Sep 17 00:00:00 2001
+From: Michal Sekletar <msekleta@redhat.com>
+Date: Wed, 24 Oct 2018 15:22:19 +0000
+Subject: [PATCH] avahi-client: fix resource leak
+
+---
+ avahi-client/browser.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/avahi-client/browser.c b/avahi-client/browser.c
+index c978d942..fa4a9a80 100644
+--- a/avahi-client/browser.c
++++ b/avahi-client/browser.c
+@@ -72,6 +72,8 @@ static void parse_domain_file(AvahiDomainBrowser *b) {
+ if (avahi_normalize_name(buf, domain, sizeof(domain)))
+ b->static_browse_domains = avahi_string_list_add(b->static_browse_domains, domain);
+ }
++
++ fclose(f);
+ }
+
+ static void domain_browser_ref(AvahiDomainBrowser *db) {
diff --git a/network/avahi/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch b/network/avahi/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch
new file mode 100644
index 0000000000..9984722893
--- /dev/null
+++ b/network/avahi/patches/avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch
@@ -0,0 +1,24 @@
+From 4b48927e8e2c721d103018b4ce39a164b6c2898f Mon Sep 17 00:00:00 2001
+From: Michal Sekletar <msekleta@redhat.com>
+Date: Wed, 24 Oct 2018 15:38:48 +0000
+Subject: [PATCH] chroot: fix bogus assignments in assertions
+
+---
+ avahi-daemon/chroot.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/avahi-daemon/chroot.c b/avahi-daemon/chroot.c
+index ccd56be0..871b3b34 100644
+--- a/avahi-daemon/chroot.c
++++ b/avahi-daemon/chroot.c
+@@ -188,8 +188,8 @@ static int recv_fd(int fd) {
+ return -1;
+ }
+
+- assert(h->cmsg_len = CMSG_LEN(sizeof(int)));
+- assert(h->cmsg_level = SOL_SOCKET);
++ assert(h->cmsg_len == CMSG_LEN(sizeof(int)));
++ assert(h->cmsg_level == SOL_SOCKET);
+ assert(h->cmsg_type == SCM_RIGHTS);
+
+ return *((int*)CMSG_DATA(h));
diff --git a/network/avahi/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch b/network/avahi/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch
new file mode 100644
index 0000000000..56a92addfc
--- /dev/null
+++ b/network/avahi/patches/avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch
@@ -0,0 +1,41 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Fri, 24 Apr 2020 11:25:41 +0100
+Subject: avahi-discover: Don't decode unicode strings, only bytestrings
+
+Unicode strings (unicode in Python 2, str or unicode in Python 3) don't
+have a decode method; only bytestrings (str or bytes in Python 2,
+bytes in Python 3) have that. Decode exactly the strings that need
+decoding.
+
+Resolves: https://github.com/lathiat/avahi/issues/275
+Signed-off-by: Simon McVittie <smcv@debian.org>
+Forwarded: https://github.com/lathiat/avahi/pull/282
+---
+ avahi-python/avahi-discover/avahi-discover.py | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/avahi-python/avahi-discover/avahi-discover.py b/avahi-python/avahi-discover/avahi-discover.py
+index 4a2b575..fddf4a5 100755
+--- a/avahi-python/avahi-discover/avahi-discover.py
++++ b/avahi-python/avahi-discover/avahi-discover.py
+@@ -238,15 +238,17 @@ class Main_window:
+ txts+="<b>" + _("TXT") + " <i>%s</i></b> = %s\n" % (k,v)
+ else:
+ txts = "<b>" + _("TXT Data:") + "</b> <i>" + _("empty") + "</i>"
+-
+- txts = txts.decode("utf-8")
++
++ if isinstance(txts, bytes): # Python 2
++ txts = txts.decode("utf-8")
+
+ infos = "<b>" + _("Service Type:") + "</b> %s\n"
+ infos += "<b>" + _("Service Name:") + "</b> %s\n"
+ infos += "<b>" + _("Domain Name:") + "</b> %s\n"
+ infos += "<b>" + _("Interface:") + "</b> %s %s\n"
+ infos += "<b>" + _("Address:") + "</b> %s/%s:%i\n%s"
+- infos = infos.decode("utf-8")
++ if isinstance(infos, bytes): # Python 2
++ infos = infos.decode("utf-8")
+ infos = infos % (stype, name, domain, self.siocgifname(interface), self.protoname(protocol), host, address, port, txts.strip())
+ self.info_label.set_markup(infos)
+
diff --git a/network/avahi/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch b/network/avahi/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch
new file mode 100644
index 0000000000..d9ba99f4d8
--- /dev/null
+++ b/network/avahi/patches/avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch
@@ -0,0 +1,29 @@
+From: traffic-millions <60914101+traffic-millions@users.noreply.github.com>
+Date: Tue, 3 Mar 2020 11:15:48 +0800
+Subject: avahi_dns_packet_consume_uint32: fix potential undefined behavior
+
+avahi_dns_packet_consume_uint32 left shifts uint8_t values by 8, 16 and 24 bits to combine them into a 32-bit value. This produces an undefined behavior warning with gcc -fsanitize when fed input values of 128 or 255 however in testing no actual unexpected behavior occurs in practice and the 32-bit uint32_t is always correctly produced as the final value is immediately stored into a uint32_t and the compiler appears to handle this "correctly".
+
+Cast the intermediate values to uint32_t to prevent this warning and ensure the intended result is explicit.
+
+Closes: #267
+Closes: #268
+Reference: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19304
+Origin: upstream, 0.9, commit:b897ca43ac100d326d118e5877da710eb7f836f9
+---
+ avahi-core/dns.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/avahi-core/dns.c b/avahi-core/dns.c
+index 7c38f42..d793b76 100644
+--- a/avahi-core/dns.c
++++ b/avahi-core/dns.c
+@@ -455,7 +455,7 @@ int avahi_dns_packet_consume_uint32(AvahiDnsPacket *p, uint32_t *ret_v) {
+ return -1;
+
+ d = (uint8_t*) (AVAHI_DNS_PACKET_DATA(p) + p->rindex);
+- *ret_v = (d[0] << 24) | (d[1] << 16) | (d[2] << 8) | d[3];
++ *ret_v = ((uint32_t)d[0] << 24) | ((uint32_t)d[1] << 16) | ((uint32_t)d[2] << 8) | (uint32_t)d[3];
+ p->rindex += sizeof(uint32_t);
+
+ return 0;
diff --git a/network/avahi/patches/avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch b/network/avahi/patches/avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch
new file mode 100644
index 0000000000..3e0725a602
--- /dev/null
+++ b/network/avahi/patches/avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch
@@ -0,0 +1,37 @@
+From 447affe29991ee99c6b9732fc5f2c1048a611d3b Mon Sep 17 00:00:00 2001
+From: Riccardo Schirone <sirmy15@gmail.com>
+Date: Fri, 26 Mar 2021 11:50:24 +0100
+Subject: [PATCH] Avoid infinite-loop in avahi-daemon by handling HUP event in
+ client_work
+
+If a client fills the input buffer, client_work() disables the
+AVAHI_WATCH_IN event, thus preventing the function from executing the
+`read` syscall the next times it is called. However, if the client then
+terminates the connection, the socket file descriptor receives a HUP
+event, which is not handled, thus the kernel keeps marking the HUP event
+as occurring. While iterating over the file descriptors that triggered
+an event, the client file descriptor will keep having the HUP event and
+the client_work() function is always called with AVAHI_WATCH_HUP but
+without nothing being done, thus entering an infinite loop.
+
+See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984938
+---
+ avahi-daemon/simple-protocol.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/avahi-daemon/simple-protocol.c b/avahi-daemon/simple-protocol.c
+index 3e0ebb11..6c0274d6 100644
+--- a/avahi-daemon/simple-protocol.c
++++ b/avahi-daemon/simple-protocol.c
+@@ -424,6 +424,11 @@ static void client_work(AvahiWatch *watch, AVAHI_GCC_UNUSED int fd, AvahiWatchEv
+ }
+ }
+
++ if (events & AVAHI_WATCH_HUP) {
++ client_free(c);
++ return;
++ }
++
+ c->server->poll_api->watch_update(
+ watch,
+ (c->outbuf_length > 0 ? AVAHI_WATCH_OUT : 0) |
diff --git a/network/avahi/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch b/network/avahi/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch
new file mode 100644
index 0000000000..3017043d47
--- /dev/null
+++ b/network/avahi/patches/build-db-Use-the-same-database-format-that-the-C-code-exp.patch
@@ -0,0 +1,106 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Thu, 7 May 2020 12:13:56 +0100
+Subject: build-db: Use the same database format that the C code expects
+
+Otherwise, Python 2 anydbm will preferentially choose Berkeley DB format
+(dbhash/bsddb), which is neither GNU gdbm nor traditional Unix (n)dbm.
+
+Signed-off-by: Simon McVittie <smcv@debian.org>
+Fixes: https://github.com/lathiat/avahi/issues/260
+---
+ configure.ac | 11 ++++++++---
+ service-type-database/Makefile.am | 4 ++--
+ service-type-database/build-db | 27 +++++++++++++++++++++------
+ 3 files changed, 31 insertions(+), 11 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 58db8c7..5aea4e7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -871,9 +871,14 @@ if test "x$HAVE_PYTHON" = "xyes" ; then
+ fi
+
+ AM_CHECK_PYMOD(socket,,,[AC_MSG_ERROR(Could not find Python module socket)])
+- if test "x$HAVE_GDBM" = "xyes" || test "x$HAVE_DBM" = "xyes"; then
+- AM_CHECK_PYMOD(anydbm,,,[
+- AM_CHECK_PYMOD(dbm,,,[AC_MSG_ERROR(Could not find Python module dbm)])
++ if test "x$HAVE_GDBM" = "xyes"; then
++ AM_CHECK_PYMOD([dbm.gnu], [], [], [
++ AM_CHECK_PYMOD([gdbm], [], [], [AC_MSG_ERROR(Could not find Python module dbm.gnu or gdbm)])
++ ])
++ fi
++ if test "x$HAVE_DBM" = "xyes"; then
++ AM_CHECK_PYMOD([dbm.ndbm], [], [], [
++ AM_CHECK_PYMOD([dbm], [], [], [AC_MSG_ERROR(Could not find Python module dbm.ndbm or dbm)])
+ ])
+ fi
+ fi
+diff --git a/service-type-database/Makefile.am b/service-type-database/Makefile.am
+index f9fa082..0ead0f6 100644
+--- a/service-type-database/Makefile.am
++++ b/service-type-database/Makefile.am
+@@ -28,7 +28,7 @@ noinst_SCRIPTS=build-db
+ pkglibdata_DATA+=service-types.db
+
+ service-types.db: service-types
+- $(AM_V_GEN)$(PYTHON) build-db $< $@.coming && \
++ $(AM_V_GEN)$(PYTHON) build-db --gnu $< $@.coming && \
+ mv $@.coming $@
+
+ CLEANFILES = service-types.db
+@@ -44,7 +44,7 @@ service-types.db.pag: service-types.db
+ service-types.db.dir: service-types.db
+ $(AM_V_GEN)mv service-types.db.coming.dir service-types.db.dir
+ service-types.db: service-types build-db
+- $(AM_V_GEN)$(PYTHON) build-db $< $@.coming && \
++ $(AM_V_GEN)$(PYTHON) build-db --ndbm $< $@.coming && \
+ if test -f "$@.coming"; then mv $@.coming $@; fi
+
+ CLEANFILES = service-types.db*
+diff --git a/service-type-database/build-db b/service-type-database/build-db
+index 78ee892..6415d27 100755
+--- a/service-type-database/build-db
++++ b/service-type-database/build-db
+@@ -17,13 +17,28 @@
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ # USA.
+
+-try:
+- import anydbm as dbm
+-except ImportError:
+- import dbm
+-
+ import sys
+
++if sys.argv[1] == '--gnu':
++ if sys.version_info >= (3,):
++ import dbm.gnu as chosen_dbm
++ else:
++ import gdbm as chosen_dbm
++
++ sys.argv[1:] = sys.argv[2:]
++elif sys.argv[1] == '--ndbm':
++ if sys.version_info >= (3,):
++ import dbm.ndbm as chosen_dbm
++ else:
++ import dbm as chosen_dbm
++
++ sys.argv[1:] = sys.argv[2:]
++else:
++ if sys.version_info >= (3,):
++ import dbm as chosen_dbm
++ else:
++ import anydbm as chosen_dbm
++
+ if len(sys.argv) > 1:
+ infn = sys.argv[1]
+ else:
+@@ -34,7 +49,7 @@ if len(sys.argv) > 2:
+ else:
+ outfn = infn + ".db"
+
+-db = dbm.open(outfn, "n")
++db = chosen_dbm.open(outfn, "n")
+
+ for ln in open(infn, "r"):
+ ln = ln.strip(" \r\n\t")
diff --git a/network/avahi/patches/fix-bytestring-decoding-for-proper-display.patch b/network/avahi/patches/fix-bytestring-decoding-for-proper-display.patch
new file mode 100644
index 0000000000..bfb826db93
--- /dev/null
+++ b/network/avahi/patches/fix-bytestring-decoding-for-proper-display.patch
@@ -0,0 +1,28 @@
+From: =?utf-8?q?=C3=89ric_Araujo?= <merwok@netwok.org>
+Date: Sat, 29 Feb 2020 19:14:04 -0500
+Subject: fix bytestring decoding for proper display
+
+---
+ avahi-python/avahi-discover/avahi-discover.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/avahi-python/avahi-discover/avahi-discover.py b/avahi-python/avahi-discover/avahi-discover.py
+index 0db705d..4a2b575 100755
+--- a/avahi-python/avahi-discover/avahi-discover.py
++++ b/avahi-python/avahi-discover/avahi-discover.py
+@@ -238,12 +238,15 @@ class Main_window:
+ txts+="<b>" + _("TXT") + " <i>%s</i></b> = %s\n" % (k,v)
+ else:
+ txts = "<b>" + _("TXT Data:") + "</b> <i>" + _("empty") + "</i>"
++
++ txts = txts.decode("utf-8")
+
+ infos = "<b>" + _("Service Type:") + "</b> %s\n"
+ infos += "<b>" + _("Service Name:") + "</b> %s\n"
+ infos += "<b>" + _("Domain Name:") + "</b> %s\n"
+ infos += "<b>" + _("Interface:") + "</b> %s %s\n"
+ infos += "<b>" + _("Address:") + "</b> %s/%s:%i\n%s"
++ infos = infos.decode("utf-8")
+ infos = infos % (stype, name, domain, self.siocgifname(interface), self.protoname(protocol), host, address, port, txts.strip())
+ self.info_label.set_markup(infos)
+
diff --git a/network/avahi/fixup_avahi-dnsconfd.action.patch b/network/avahi/patches/fixup_avahi-dnsconfd.action.patch
index 88f9b5f807..88f9b5f807 100644
--- a/network/avahi/fixup_avahi-dnsconfd.action.patch
+++ b/network/avahi/patches/fixup_avahi-dnsconfd.action.patch
diff --git a/network/avahi/ipv6_race_condition_fix.patch b/network/avahi/patches/ipv6_race_condition_fix.patch
index 3418b1a11c..3418b1a11c 100644
--- a/network/avahi/ipv6_race_condition_fix.patch
+++ b/network/avahi/patches/ipv6_race_condition_fix.patch
diff --git a/network/avahi/patches/man-add-missing-bshell.1-symlink.patch b/network/avahi/patches/man-add-missing-bshell.1-symlink.patch
new file mode 100644
index 0000000000..1bcbbb13e2
--- /dev/null
+++ b/network/avahi/patches/man-add-missing-bshell.1-symlink.patch
@@ -0,0 +1,33 @@
+From: Michael Biebl <biebl@debian.org>
+Date: Sun, 17 Sep 2017 12:52:39 +0200
+Subject: man: add missing bshell.1 symlink
+
+The bshell binary is missing a symlink to its manual page. It should be
+symlinked to the man page for bssh, just like how the bvnc man page is.
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655190
+Forwarded: https://github.com/lathiat/avahi/pull/148
+Applied-upstream: 0.9, commit:f983df44870b602179b493f9c3d113753b378e27
+---
+ man/Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/man/Makefile.am b/man/Makefile.am
+index d38267c..77a27bd 100644
+--- a/man/Makefile.am
++++ b/man/Makefile.am
+@@ -137,12 +137,13 @@ BSSH_LN =
+ if HAVE_GTK
+ if HAVE_GLIB
+ BSSH_LN += $(LN_S) bssh.1 bvnc.1 &&
++BSSH_LN += $(LN_S) bssh.1 bshell.1 &&
+ endif
+ endif
+ install-exec-local:
+ mkdir -p $(DESTDIR)/$(mandir)/man1 && \
+ cd $(DESTDIR)/$(mandir)/man1 && \
+- rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 bvnc.1 && \
++ rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 bvnc.1 bshell.1 && \
+ $(BSSH_LN) \
+ $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \
+ $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
diff --git a/network/avahi/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch b/network/avahi/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch
new file mode 100644
index 0000000000..94d8d9517a
--- /dev/null
+++ b/network/avahi/patches/man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch
@@ -0,0 +1,24 @@
+From: Michael Biebl <biebl@debian.org>
+Date: Sun, 17 Sep 2017 10:57:47 +0200
+Subject: man: fix reference to avahi-autoipd.action(8) in avahi-autoipd(8)
+
+Forwarded: https://github.com/lathiat/avahi/pull/147
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840833
+Applied-upstream: 0.9, commit:1905a6b878064c6cc9bb96a1fc17ef77c75787c6
+---
+ man/avahi-autoipd.8.xml.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/man/avahi-autoipd.8.xml.in b/man/avahi-autoipd.8.xml.in
+index 7137c30..23764a5 100644
+--- a/man/avahi-autoipd.8.xml.in
++++ b/man/avahi-autoipd.8.xml.in
+@@ -150,7 +150,7 @@
+
+ <section name="See also">
+ <p>
+- <manref name="autoipd.action" section="8"/>, <manref name="dhclient" section="8"/>
++ <manref name="avahi-autoipd.action" section="8"/>, <manref name="dhclient" section="8"/>
+ </p>
+
+ <p>http://avahi.org/wiki/AvahiAutoipd documents how avahi-autoipd is best packaged and integrated into distributions.</p>
diff --git a/network/avahi/patches/series b/network/avahi/patches/series
new file mode 100644
index 0000000000..1246744108
--- /dev/null
+++ b/network/avahi/patches/series
@@ -0,0 +1,13 @@
+avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch
+man-fix-reference-to-avahi-autoipd.action-8-in-avahi-auto.patch
+man-add-missing-bshell.1-symlink.patch
+Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK3.patch
+avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch
+fix-bytestring-decoding-for-proper-display.patch
+avahi-discover-Don-t-decode-unicode-strings-only-bytestri.patch
+Fetch-build-db-from-upstream-git.patch
+build-db-Use-the-same-database-format-that-the-C-code-exp.patch
+avahi-daemon-chroot-fix-bogus-assignments-in-assertions.patch
+avahi-client-fix-resource-leak.patch
+avoid-infinite-loop-in-avahi-daemon-by-handling-hup-event-in-client-work.patch
+CVE-2021-3502.patch
diff --git a/network/awscli-v2/README b/network/awscli-v2/README
new file mode 100644
index 0000000000..17ff6181cd
--- /dev/null
+++ b/network/awscli-v2/README
@@ -0,0 +1,11 @@
+The AWS Command Line Interface (AWS CLI) is a unified tool to
+manage your AWS services. With just one tool to download and
+configure, you can control multiple AWS services from the command
+line and automate them through scripts.
+
+The AWS CLI v2 offers several new features including improved
+installers, new configuration options such as AWS IAM Identity
+Center (successor to AWS SSO), and various interactive features.
+
+Note: AWS CLI v2 builds on AWS CLI v1 and includes a number of
+features and enhancements based on community feedback.
diff --git a/network/awscli-v2/awscli-v2.SlackBuild b/network/awscli-v2/awscli-v2.SlackBuild
new file mode 100644
index 0000000000..b8b3f10f5f
--- /dev/null
+++ b/network/awscli-v2/awscli-v2.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for awscli-v2
+
+# Copyright 2023 Dimitris Zlatanidis Greece, Orestiada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=awscli-v2
+SRCNAM=aws-cli
+VERSION=${VERSION:-2.14.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 -m build --wheel --no-isolation --skip-dependency-check
+python3 -m installer --destdir "$PKG" dist/*.whl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.rst CHANGELOG.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/awscli-v2/awscli-v2.info b/network/awscli-v2/awscli-v2.info
new file mode 100644
index 0000000000..3c7c02b430
--- /dev/null
+++ b/network/awscli-v2/awscli-v2.info
@@ -0,0 +1,10 @@
+PRGNAM="awscli-v2"
+VERSION="2.14.1"
+HOMEPAGE="https://aws.amazon.com/cli/"
+DOWNLOAD="https://github.com/aws/aws-cli/archive/2.14.1/aws-cli-2.14.1.tar.gz"
+MD5SUM="f7a5bb039aaff1bc0f385c0f5013f599"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="awscrt colorama cryptography python3-ruamel.yaml python3-ruamel.yaml.clib python3-prompt_toolkit python3-dateutil jmespath"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"
diff --git a/network/awscli-v2/slack-desc b/network/awscli-v2/slack-desc
new file mode 100644
index 0000000000..9a6a6c7e0c
--- /dev/null
+++ b/network/awscli-v2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+awscli-v2: awscli-v2 (CLI to Amazon Web Services)
+awscli-v2:
+awscli-v2: The AWS Command Line Interface (AWS CLI) is a unified tool to manage
+awscli-v2: your AWS services. With just one tool to download and configure, you
+awscli-v2: can control multiple AWS services from the command line and automate
+awscli-v2: them through scripts.
+awscli-v2:
+awscli-v2: Homepage: https://aws.amazon.com/cli/
+awscli-v2:
+awscli-v2:
+awscli-v2:
diff --git a/network/awscli/awscli.SlackBuild b/network/awscli/awscli.SlackBuild
index a9a7cd2b1e..218f536270 100644
--- a/network/awscli/awscli.SlackBuild
+++ b/network/awscli/awscli.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for awscli
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=awscli
-VERSION=${VERSION:-1.18.141}
+SRCNAM=aws-cli
+VERSION=${VERSION:-1.32.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,7 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -84,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/awscli/awscli.info b/network/awscli/awscli.info
index c6d98c2b64..ab324364bb 100644
--- a/network/awscli/awscli.info
+++ b/network/awscli/awscli.info
@@ -1,10 +1,10 @@
PRGNAM="awscli"
-VERSION="1.18.141"
+VERSION="1.32.14"
HOMEPAGE="https://aws.amazon.com/cli/"
-DOWNLOAD="https://files.pythonhosted.org/packages/f0/4b/24e8a4568dcc12c27391cfa48dd73afd159886e0ca3a4ec47e56d95678bf/awscli-1.18.141.tar.gz"
-MD5SUM="eff481eb3ae06d5c22a7ad1729b3922e"
+DOWNLOAD="https://github.com/aws/aws-cli/archive/1.32.14/aws-cli-1.32.14.tar.gz"
+MD5SUM="41a09b4643026ce8f80043a1dd5b9844"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="s3transfer colorama python3-rsa python3-PyYAML"
+REQUIRES="s3transfer colorama python3-rsa"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/awstats/README b/network/awstats/README
index 68693856c0..dd0bf6d1ae 100644
--- a/network/awstats/README
+++ b/network/awstats/README
@@ -1,14 +1,15 @@
-AWStats is a free, powerful and featureful tool that generates advanced web
-streaming, ftp or mail server statistics, graphically. AWStats works as a
-CGI or from command line and shows you all possible information your log
-contains, in few graphical web pages. It can analyze log files from all
-major server tools like Apache log files and a lot of other web, proxy,
-wap, streaming servers, mail servers and some ftp servers.
+AWStats is a free, powerful and featureful tool that generates
+advanced web streaming, ftp or mail server statistics, graphically.
+AWStats works as a CGI or from command line and shows you all possible
+information your log contains, in few graphical web pages. It can
+analyze log files from all major server tools like Apache log files
+and a lot of other web, proxy, wap, streaming servers, mail servers
+and some ftp servers.
-There's an automated script (awstats_configure.pl) to prepare the httpd
-config file located in DOCROOT/awstats/ - however, you should not
-need/want to run it; instead, everything should work well if you make the
-changes listed below.
+There's an automated script (awstats_configure.pl) to prepare the
+httpd config file located in DOCROOT/awstats/ - however, you should
+not need/want to run it; instead, everything should work well if you
+make the changes listed below.
Edit /etc/httpd/httpd.conf (this is a required change to use AWStats):
Comment this out: CustomLog "/var/log/httpd/access_log" common
@@ -22,9 +23,9 @@ You need to load mod_cgid.so and mod_cgi.so modules
Then restart httpd: "/etc/rc.d/rc.httpd restart"
-A sample config file will be placed in /etc/awstats; Make some necessary changes
-and please read the necessary steps to start awstats from online page
-starting from step 4:
+A sample config file will be placed in /etc/awstats; Make some
+necessary changes and please read the necessary steps to start awstats
+from online page starting from step 4:
http://www.awstats.org/docs/awstats_setup.html
If you wish to update the process automatically, please refer to:
diff --git a/network/awstats/awstats.SlackBuild b/network/awstats/awstats.SlackBuild
index 44e2cb0432..84f80b5965 100644
--- a/network/awstats/awstats.SlackBuild
+++ b/network/awstats/awstats.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for awstats
# Home Page http://awstats.sourceforge.net/
@@ -27,19 +27,26 @@
# Modified by the SlackBuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="awstats"
-VERSION=${VERSION:-7.6}
+VERSION=${VERSION:-7.9}
# hardcode ARCH
ARCH=noarch
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCROOT=${DOCROOT:-/var/www/htdocs}
AWUSER=${AWUSER:-root}
AWGROUP=${AWGROUP:-apache}
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,15 +62,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Include some security patches from git
-patch -p1 < $CWD/patches/0001-Fix-to-window.opener-vulnerability-in-external-refer.patch
-patch -p1 < $CWD/patches/0001-Fix-to-window.opener-vulnerability-in-browser-OS-and.patch
-patch -p1 < $CWD/patches/0001-FIX-Security-reported-by-cPanel-Security-Team-can-ex.patch
-patch -p1 < $CWD/patches/0001-Fix-another-vulnerability-reported-by-cPanel-Securit.patch
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Patch httpd_conf file supplied by awstats to correct paths
sed s:@DOCROOT@:$DOCROOT: $CWD/patches/httpd-awstats.conf.patch | patch -p0
@@ -73,6 +74,7 @@ sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats_configure.pl.patch | patch -p0
sed s:@DOCROOT@:$DOCROOT: $CWD/patches/awstats.pl.patch | patch -p0
mkdir -p $PKG/$DOCROOT/awstats $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/awstats $PKG/etc/httpd/extra
mkdir -m 0770 -p $PKG/var/lib/awstats
@@ -98,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/awstats/awstats.info b/network/awstats/awstats.info
index 742f040917..57ffe6df4a 100644
--- a/network/awstats/awstats.info
+++ b/network/awstats/awstats.info
@@ -1,8 +1,8 @@
PRGNAM="awstats"
-VERSION="7.6"
+VERSION="7.9"
HOMEPAGE="http://awstats.sourceforge.net/"
-DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.6.tar.gz"
-MD5SUM="c69977f938be594b81fdb5e065846d31"
+DOWNLOAD="https://prdownloads.sourceforge.net/awstats/awstats-7.9.tar.gz"
+MD5SUM="c283e0170700461596f9c9e121ea2896"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/awstats/patches/0001-FIX-Security-reported-by-cPanel-Security-Team-can-ex.patch b/network/awstats/patches/0001-FIX-Security-reported-by-cPanel-Security-Team-can-ex.patch
deleted file mode 100644
index 1233b642e6..0000000000
--- a/network/awstats/patches/0001-FIX-Security-reported-by-cPanel-Security-Team-can-ex.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From cf219843a74c951bf5986f3a7fffa3dcf99c3899 Mon Sep 17 00:00:00 2001
-From: Laurent Destailleur <eldy@destailleur.fr>
-Date: Sun, 17 Dec 2017 12:55:48 +0100
-Subject: [PATCH] FIX Security reported by cPanel Security Team (can execute
- arbitraty code)
-
----
- wwwroot/cgi-bin/awstats.pl | 19 ++++++++++++++-----
- 1 file changed, 14 insertions(+), 5 deletions(-)
-
-diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
-index 091d6823..fca4900f 100755
---- a/wwwroot/cgi-bin/awstats.pl
-+++ b/wwwroot/cgi-bin/awstats.pl
-@@ -1780,7 +1780,7 @@ sub Read_Config {
- }else{if ($Debug){debug("Unable to open config file: $searchdir$SiteConfig", 2);}}
- }
-
-- #CL - Added to open config if full path is passed to awstats
-+ #CL - Added to open config if full path is passed to awstats
- if ( !$FileConfig ) {
-
- my $SiteConfigBis = File::Spec->rel2abs($SiteConfig);
-@@ -2205,7 +2205,10 @@ sub Parse_Config {
- }
-
- # Plugins
-- if ( $param =~ /^LoadPlugin/ ) { push @PluginsToLoad, $value; next; }
-+ if ( $param =~ /^LoadPlugin/ ) {
-+ $value =~ s/[^a-zA-Z0-9_\/\.\+:=\?\s%\-]//g; # Sanitize plugin name and string param because it is used later in an eval.
-+ push @PluginsToLoad, $value; next;
-+ }
-
- # Other parameter checks we need to put after MaxNbOfExtra and MinHitExtra
- if ( $param =~ /^MaxNbOf(\w+)/ ) { $MaxNbOf{$1} = $value; next; }
-@@ -3251,7 +3254,7 @@ sub Read_Plugins {
- }
- my $ret; # To get init return
- my $initfunction =
-- "\$ret=Init_$pluginname('$pluginparam')";
-+ "\$ret=Init_$pluginname('$pluginparam')"; # Note that pluginname and pluginparam were sanitized when reading cong file entry 'LoadPlugin'
- my $initret = eval("$initfunction");
- if ( $initret && $initret eq 'xxx' ) {
- $initret =
-@@ -17140,7 +17143,10 @@ if ( $ENV{'GATEWAY_INTERFACE'} ) { # Run from a browser as CGI
- # No update but report by default when run from a browser
- $UpdateStats = ( $QueryString =~ /update=1/i ? 1 : 0 );
-
-- if ( $QueryString =~ /config=([^&]+)/i ) { $SiteConfig = &Sanitize("$1"); }
-+ if ( $QueryString =~ /config=([^&]+)/i ) {
-+ $SiteConfig = &Sanitize("$1");
-+ $SiteConfig =~ s/\.\.//g; # Avoid directory transversal
-+ }
- if ( $QueryString =~ /diricons=([^&]+)/i ) { $DirIcons = "$1"; }
- if ( $QueryString =~ /pluginmode=([^&]+)/i ) {
- $PluginMode = &Sanitize( "$1", 1 );
-@@ -17227,7 +17233,10 @@ else { # Run from command line
- # Update with no report by default when run from command line
- $UpdateStats = 1;
-
-- if ( $QueryString =~ /config=([^&]+)/i ) { $SiteConfig = &Sanitize("$1"); }
-+ if ( $QueryString =~ /config=([^&]+)/i ) {
-+ $SiteConfig = &Sanitize("$1");
-+ $SiteConfig =~ s/\.\.//g;
-+ }
- if ( $QueryString =~ /diricons=([^&]+)/i ) { $DirIcons = "$1"; }
- if ( $QueryString =~ /pluginmode=([^&]+)/i ) {
- $PluginMode = &Sanitize( "$1", 1 );
---
-2.15.1
-
diff --git a/network/awstats/patches/0001-Fix-another-vulnerability-reported-by-cPanel-Securit.patch b/network/awstats/patches/0001-Fix-another-vulnerability-reported-by-cPanel-Securit.patch
deleted file mode 100644
index 3a3e588ff4..0000000000
--- a/network/awstats/patches/0001-Fix-another-vulnerability-reported-by-cPanel-Securit.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 06c0ab29c1e5059d9e0279c6b64d573d619e1651 Mon Sep 17 00:00:00 2001
-From: Laurent Destailleur <eldy@destailleur.fr>
-Date: Wed, 27 Dec 2017 13:39:57 +0100
-Subject: [PATCH] Fix another vulnerability reported by cPanel Security Team
- (can execute arbitraty code)
-
----
- wwwroot/cgi-bin/awstats.pl | 14 +++++++++-----
- 1 file changed, 9 insertions(+), 5 deletions(-)
-
-diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
-index fca4900f..4f14c6ee 100755
---- a/wwwroot/cgi-bin/awstats.pl
-+++ b/wwwroot/cgi-bin/awstats.pl
-@@ -17145,7 +17145,6 @@ if ( $ENV{'GATEWAY_INTERFACE'} ) { # Run from a browser as CGI
-
- if ( $QueryString =~ /config=([^&]+)/i ) {
- $SiteConfig = &Sanitize("$1");
-- $SiteConfig =~ s/\.\.//g; # Avoid directory transversal
- }
- if ( $QueryString =~ /diricons=([^&]+)/i ) { $DirIcons = "$1"; }
- if ( $QueryString =~ /pluginmode=([^&]+)/i ) {
-@@ -17191,10 +17190,13 @@ if ( $ENV{'GATEWAY_INTERFACE'} ) { # Run from a browser as CGI
- # If migrate
- if ( $QueryString =~ /(^|-|&|&amp;)migrate=([^&]+)/i ) {
- $MigrateStats = &Sanitize("$2");
-+
- $MigrateStats =~ /^(.*)$PROG(\d{0,2})(\d\d)(\d\d\d\d)(.*)\.txt$/;
-- $SiteConfig = $5 ? $5 : 'xxx';
-+ $SiteConfig = &Sanitize($5 ? $5 : 'xxx');
- $SiteConfig =~ s/^\.//; # SiteConfig is used to find config file
- }
-+
-+ $SiteConfig =~ s/\.\.//g; # Avoid directory transversal
- }
- else { # Run from command line
- $DebugMessages = 1;
-@@ -17204,9 +17206,10 @@ else { # Run from command line
-
- # If migrate
- if ( $ARGV[$_] =~ /(^|-|&|&amp;)migrate=([^&]+)/i ) {
-- $MigrateStats = "$2";
-+ $MigrateStats = &Sanitize("$2");
-+
- $MigrateStats =~ /^(.*)$PROG(\d{0,2})(\d\d)(\d\d\d\d)(.*)\.txt$/;
-- $SiteConfig = $5 ? $5 : 'xxx';
-+ $SiteConfig = &Sanitize($5 ? $5 : 'xxx');
- $SiteConfig =~ s/^\.//; # SiteConfig is used to find config file
- next;
- }
-@@ -17235,7 +17238,6 @@ else { # Run from command line
-
- if ( $QueryString =~ /config=([^&]+)/i ) {
- $SiteConfig = &Sanitize("$1");
-- $SiteConfig =~ s/\.\.//g;
- }
- if ( $QueryString =~ /diricons=([^&]+)/i ) { $DirIcons = "$1"; }
- if ( $QueryString =~ /pluginmode=([^&]+)/i ) {
-@@ -17301,6 +17303,8 @@ else { # Run from command line
- $ShowDirectOrigin = 1;
- $QueryString =~ s/showdirectorigin[^&]*//i;
- }
-+
-+ $SiteConfig =~ s/\.\.//g;
- }
- if ( $QueryString =~ /(^|&|&amp;)staticlinks/i ) {
- $StaticLinks = "$PROG.$SiteConfig";
---
-2.15.1
-
diff --git a/network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-browser-OS-and.patch b/network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-browser-OS-and.patch
deleted file mode 100644
index c79804b141..0000000000
--- a/network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-browser-OS-and.patch
+++ /dev/null
@@ -1,2781 +0,0 @@
-From 6e35dd403b3ccc6ee3a61988f7cf7fd22deb7322 Mon Sep 17 00:00:00 2001
-From: qssam <Sam.Webb@quiet-storm.net>
-Date: Tue, 7 Feb 2017 17:10:34 +0000
-Subject: [PATCH] Fix to window.opener vulnerability in browser, OS and search
- engine links
-
-Reference: https://mathiasbynens.github.io/rel-noopener/
----
- wwwroot/cgi-bin/lib/browsers.pm | 30 +-
- wwwroot/cgi-bin/lib/browsers_phone.pm | 30 +-
- wwwroot/cgi-bin/lib/operating_systems.pm | 170 +--
- wwwroot/cgi-bin/lib/search_engines.pm | 2248 +++++++++++++++---------------
- 4 files changed, 1239 insertions(+), 1239 deletions(-)
-
-diff --git a/wwwroot/cgi-bin/lib/browsers.pm b/wwwroot/cgi-bin/lib/browsers.pm
-index 0551b9fe..fdf3dfb2 100644
---- a/wwwroot/cgi-bin/lib/browsers.pm
-+++ b/wwwroot/cgi-bin/lib/browsers.pm
-@@ -383,27 +383,27 @@
- 'abilon','Abilon (RSS Reader)',
- 'aggrevator', 'Aggrevator (RSS Reader)',
- 'aiderss', 'AideRSS (RSS Reader)',
--'akregator','<a href="http://akregator.sourceforge.net/" title="Browser home page [new window]" target="_blank">Akregator (RSS Reader)</a>',
--'applesyndication','<a href="http://www.apple.com/macosx/features/safari/" title="Browser home page [new window]" target="_blank">AppleSyndication (RSS Reader)</a>',
-+'akregator','<a href="http://akregator.sourceforge.net/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Akregator (RSS Reader)</a>',
-+'applesyndication','<a href="http://www.apple.com/macosx/features/safari/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">AppleSyndication (RSS Reader)</a>',
- 'betanews_reader','Betanews Reader (RSS Reader)',
--'blogbridge','<a href="http://www.blogbridge.com/" title="Browser home page [new window]" target="_blank">BlogBridge (RSS Reader)</a>',
-+'blogbridge','<a href="http://www.blogbridge.com/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">BlogBridge (RSS Reader)</a>',
- 'cyndicate','Cyndicate (RSS Reader)',
- 'feeddemon', 'FeedDemon (RSS Reader)',
- 'feedreader', 'FeedReader (RSS Reader)',
--'feedtools','<a href="http://sporkmonger.com/projects/feedtools/" title="Browser home page [new window]" target="_blank">FeedTools (RSS Reader)</a>',
--'greatnews','<a href="http://www.curiostudio.com/" title="Browser home page [new window]" target="_blank">GreatNews (RSS Reader)</a>',
--'gregarius','<a href="http://devlog.gregarius.net/docs/ua" title="Browser home page [new window]" target="_blank">Gregarius (RSS Reader)</a>',
--'hatena_rss','<a href="http://r.hatena.ne.jp/" title="Browser home page [new window]" target="_blank">Hatena (RSS Reader)</a>',
-+'feedtools','<a href="http://sporkmonger.com/projects/feedtools/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">FeedTools (RSS Reader)</a>',
-+'greatnews','<a href="http://www.curiostudio.com/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">GreatNews (RSS Reader)</a>',
-+'gregarius','<a href="http://devlog.gregarius.net/docs/ua" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Gregarius (RSS Reader)</a>',
-+'hatena_rss','<a href="http://r.hatena.ne.jp/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Hatena (RSS Reader)</a>',
- 'jetbrains_omea', 'Omea (RSS Reader)',
--'liferea','<a href="http://liferea.sourceforge.net/" title="Browser home page [new window]" target="_blank">Liferea (RSS Reader)</a>',
-+'liferea','<a href="http://liferea.sourceforge.net/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Liferea (RSS Reader)</a>',
- 'netnewswire', 'NetNewsWire (RSS Reader)',
- 'newsfire', 'NewsFire (RSS Reader)',
- 'newsgator', 'NewsGator (RSS Reader)',
- 'newzcrawler', 'NewzCrawler (RSS Reader)',
- 'plagger', 'Plagger (RSS Reader)',
- 'pluck', 'Pluck (RSS Reader)',
--'potu','<a href="http://www.potu.com/" title="Potu Rss-Reader home page [new window]" target="_blank">Potu (RSS Reader)</a>',
--'pubsub\-rss\-reader','<a href="http://www.pubsub.com/" title="Browser home page [new window]" target="_blank">PubSub (RSS Reader)</a>',
-+'potu','<a href="http://www.potu.com/" title="Potu Rss-Reader home page [new window]" target="_blank" rel="noopener noreferrer">Potu (RSS Reader)</a>',
-+'pubsub\-rss\-reader','<a href="http://www.pubsub.com/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">PubSub (RSS Reader)</a>',
- 'pulpfiction', 'PulpFiction (RSS Reader)',
- 'rssbandit', 'RSS Bandit (RSS Reader)',
- 'rssreader', 'RssReader (RSS Reader)',
-@@ -415,7 +415,7 @@
- 'shrook', 'Shrook (RSS Reader)',
- 'straw', 'Straw (RSS Reader)',
- 'syndirella', 'Syndirella (RSS Reader)',
--'vienna', '<a href="http://www.vienna-rss.org/" title="Vienna RSS-Reader [new window]" target="_blank">Vienna (RSS Reader)</a>',
-+'vienna', '<a href="http://www.vienna-rss.org/" title="Vienna RSS-Reader [new window]" target="_blank" rel="noopener noreferrer">Vienna (RSS Reader)</a>',
- 'wizz\srss\snews\sreader','Wizz RSS News Reader (RSS Reader)',
- # PDA/Phonecell browsers
- 'alcatel','Alcatel Browser (PDA/Phone browser)',
-@@ -450,9 +450,9 @@
- 'webtv','WebTV browser',
- 'democracy','Democracy',
- # Anonymous Proxy Browsers (can be used as grabbers as well...)
--'cjb\.net','<a href="http://proxy.cjb.net/" title="Browser home page [new window]" target="_blank">CJB.NET Proxy</a>',
--'ossproxy','<a href="http://www.marketscore.com/FAQ.Aspx" title="OSSProxy home page [new window]" target="_blank">OSSProxy</a>',
--'smallproxy','<a href="http://www.smallproxy.ru/" title="SmallProxy home page [new window]" target="_blank">SmallProxy</a>',
-+'cjb\.net','<a href="http://proxy.cjb.net/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">CJB.NET Proxy</a>',
-+'ossproxy','<a href="http://www.marketscore.com/FAQ.Aspx" title="OSSProxy home page [new window]" target="_blank" rel="noopener noreferrer">OSSProxy</a>',
-+'smallproxy','<a href="http://www.smallproxy.ru/" title="SmallProxy home page [new window]" target="_blank" rel="noopener noreferrer">SmallProxy</a>',
- # Other kind of browsers
- 'adobeair','AdobeAir',
- 'apt','Debian APT',
-@@ -462,7 +462,7 @@
- 'curl','Curl',
- 'csscheck','WDG CSS Validator',
- 'httrack','HTTrack',
--'fdm','<a href="http://www.freedownloadmanager.org/" title="Browser home page [new window]" target="_blank">FDM Free Download Manager</a>',
-+'fdm','<a href="http://www.freedownloadmanager.org/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">FDM Free Download Manager</a>',
- 'javaws','Java Web Start',
- 'wget','Wget',
- 'fget','FGet',
-diff --git a/wwwroot/cgi-bin/lib/browsers_phone.pm b/wwwroot/cgi-bin/lib/browsers_phone.pm
-index 60918216..384536b5 100644
---- a/wwwroot/cgi-bin/lib/browsers_phone.pm
-+++ b/wwwroot/cgi-bin/lib/browsers_phone.pm
-@@ -762,27 +762,27 @@
- 'abilon','Abilon (RSS Reader)',
- 'aggrevator', 'Aggrevator (RSS Reader)',
- 'aiderss', 'AideRSS (RSS Reader)',
--'akregator','<a href="http://akregator.sourceforge.net/" title="Browser home page [new window]" target="_blank">Akregator (RSS Reader)</a>',
--'applesyndication','<a href="http://www.apple.com/macosx/features/safari/" title="Browser home page [new window]" target="_blank">AppleSyndication (RSS Reader)</a>',
-+'akregator','<a href="http://akregator.sourceforge.net/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Akregator (RSS Reader)</a>',
-+'applesyndication','<a href="http://www.apple.com/macosx/features/safari/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">AppleSyndication (RSS Reader)</a>',
- 'betanews_reader','Betanews Reader (RSS Reader)',
--'blogbridge','<a href="http://www.blogbridge.com/" title="Browser home page [new window]" target="_blank">BlogBridge (RSS Reader)</a>',
-+'blogbridge','<a href="http://www.blogbridge.com/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">BlogBridge (RSS Reader)</a>',
- 'cyndicate','Cyndicate (RSS Reader)',
- 'feeddemon', 'FeedDemon (RSS Reader)',
- 'feedreader', 'FeedReader (RSS Reader)',
--'feedtools','<a href="http://sporkmonger.com/projects/feedtools/" title="Browser home page [new window]" target="_blank">FeedTools (RSS Reader)</a>',
--'greatnews','<a href="http://www.curiostudio.com/" title="Browser home page [new window]" target="_blank">GreatNews (RSS Reader)</a>',
--'gregarius','<a href="http://devlog.gregarius.net/docs/ua" title="Browser home page [new window]" target="_blank">Gregarius (RSS Reader)</a>',
--'hatena_rss','<a href="http://r.hatena.ne.jp/" title="Browser home page [new window]" target="_blank">Hatena (RSS Reader)</a>',
-+'feedtools','<a href="http://sporkmonger.com/projects/feedtools/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">FeedTools (RSS Reader)</a>',
-+'greatnews','<a href="http://www.curiostudio.com/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">GreatNews (RSS Reader)</a>',
-+'gregarius','<a href="http://devlog.gregarius.net/docs/ua" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Gregarius (RSS Reader)</a>',
-+'hatena_rss','<a href="http://r.hatena.ne.jp/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Hatena (RSS Reader)</a>',
- 'jetbrains_omea', 'Omea (RSS Reader)',
--'liferea','<a href="http://liferea.sourceforge.net/" title="Browser home page [new window]" target="_blank">Liferea (RSS Reader)</a>',
-+'liferea','<a href="http://liferea.sourceforge.net/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">Liferea (RSS Reader)</a>',
- 'netnewswire', 'NetNewsWire (RSS Reader)',
- 'newsfire', 'NewsFire (RSS Reader)',
- 'newsgator', 'NewsGator (RSS Reader)',
- 'newzcrawler', 'NewzCrawler (RSS Reader)',
- 'plagger', 'Plagger (RSS Reader)',
- 'pluck', 'Pluck (RSS Reader)',
--'potu','<a href="http://www.potu.com/" title="Potu Rss-Reader home page [new window]" target="_blank">Potu (RSS Reader)</a>',
--'pubsub\-rss\-reader','<a href="http://www.pubsub.com/" title="Browser home page [new window]" target="_blank">PubSub (RSS Reader)</a>',
-+'potu','<a href="http://www.potu.com/" title="Potu Rss-Reader home page [new window]" target="_blank" rel="noopener noreferrer">Potu (RSS Reader)</a>',
-+'pubsub\-rss\-reader','<a href="http://www.pubsub.com/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">PubSub (RSS Reader)</a>',
- 'pulpfiction', 'PulpFiction (RSS Reader)',
- 'rssbandit', 'RSS Bandit (RSS Reader)',
- 'rssreader', 'RssReader (RSS Reader)',
-@@ -794,7 +794,7 @@
- 'shrook', 'Shrook (RSS Reader)',
- 'straw', 'Straw (RSS Reader)',
- 'syndirella', 'Syndirella (RSS Reader)',
--'vienna', '<a href="http://www.vienna-rss.org/" title="Vienna RSS-Reader [new window]" target="_blank">Vienna (RSS Reader)</a>',
-+'vienna', '<a href="http://www.vienna-rss.org/" title="Vienna RSS-Reader [new window]" target="_blank" rel="noopener noreferrer">Vienna (RSS Reader)</a>',
- 'wizz\srss\snews\sreader','Wizz RSS News Reader (RSS Reader)',
- # PDA/Phonecell browsers
- 'alcatel\-be4','Alcatel BE4 (phone)',
-@@ -1213,9 +1213,9 @@
- 'webtv','WebTV browser',
- 'democracy','Democracy',
- # Anonymous Proxy Browsers (can be used as grabbers as well...)
--'cjb\.net','<a href="http://proxy.cjb.net/" title="Browser home page [new window]" target="_blank">CJB.NET Proxy</a>',
--'ossproxy','<a href="http://www.marketscore.com/FAQ.Aspx" title="OSSProxy home page [new window]" target="_blank">OSSProxy</a>',
--'smallproxy','<a href="http://www.smallproxy.ru/" title="SmallProxy home page [new window]" target="_blank">SmallProxy</a>',
-+'cjb\.net','<a href="http://proxy.cjb.net/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">CJB.NET Proxy</a>',
-+'ossproxy','<a href="http://www.marketscore.com/FAQ.Aspx" title="OSSProxy home page [new window]" target="_blank" rel="noopener noreferrer">OSSProxy</a>',
-+'smallproxy','<a href="http://www.smallproxy.ru/" title="SmallProxy home page [new window]" target="_blank" rel="noopener noreferrer">SmallProxy</a>',
- # Other kind of browsers
- 'adobeair','AdobeAir',
- 'apt','Debian APT',
-@@ -1225,7 +1225,7 @@
- 'curl','Curl',
- 'csscheck','WDG CSS Validator',
- 'httrack','HTTrack',
--'fdm','<a href="http://www.freedownloadmanager.org/" title="Browser home page [new window]" target="_blank">FDM Free Download Manager</a>',
-+'fdm','<a href="http://www.freedownloadmanager.org/" title="Browser home page [new window]" target="_blank" rel="noopener noreferrer">FDM Free Download Manager</a>',
- 'javaws','Java Web Start',
- 'wget','Wget',
- 'fget','FGet',
-diff --git a/wwwroot/cgi-bin/lib/operating_systems.pm b/wwwroot/cgi-bin/lib/operating_systems.pm
-index a57a3424..249a1764 100644
---- a/wwwroot/cgi-bin/lib/operating_systems.pm
-+++ b/wwwroot/cgi-bin/lib/operating_systems.pm
-@@ -260,103 +260,103 @@
- #-----------------------------------------------------------
- %OSHashLib = (
- # Windows family OS
--'win10','<a href="http://www.microsoft.com/windows10/" title="Windows 10 home page [new window]" target="_blank">Windows 10</a>',
--'win8.1','<a href="http://www.microsoft.com/windows8/" title="Windows 8.1 home page [new window]" target="_blank">Windows 8.1</a>',
--'win8','<a href="http://www.microsoft.com/windows8/" title="Windows 8 home page [new window]" target="_blank">Windows 8</a>',
--'win7','<a href="http://windows.microsoft.com/en-US/windows7/products/home/" title="Windows 7 home page [new window]" target="_blank">Windows 7</a>',
--'winlong','<a href="http://www.microsoft.com/windows/" title="Windows Vista home page [new window]" target="_blank">Windows Vista (LongHorn)</a>',
--'win2008','<a href="http://www.microsoft.com/windowsserver2008/" title="Windows 2008 home page [new window]" target="_blank">Windows 2008</a>',
--'win2012','<a href="http://www.microsoft.com/en-us/server-cloud/windows-server/2012-default.aspx/" title="Windows Server 2012 home page [new window]" target="_blank">Windows Server 2012</a>',
--'winvista','<a href="http://www.microsoft.com/windowsvista/" title="Windows Vista home page [new window]" target="_blank">Windows Vista</a>',
--'win2003','<a href="http://www.microsoft.com/windowsserver2003/" title="Windows 2003 home page [new window]" target="_blank">Windows 2003</a>',
--'winxp','<a href="http://www.microsoft.com/windowsxp/" title="Windows XP home page [new window]" target="_blank">Windows XP</a>',
--'winme','<a href="http://support.microsoft.com/ph/6519/" title="Windows ME support page [new window]" target="_blank">Windows ME</a>',
--'win2000','<a href="http://support.microsoft.com/ph/1131" title="Windows 2000 support page [new window]" target="_blank">Windows 2000</a>',
--'winnt','<a href="http://support.microsoft.com/default.aspx?pr=ntw40" title="Windows NT support page [new window]" target="_blank">Windows NT</a>',
--'win98','<a href="http://support.microsoft.com/w98" title="Windows 98 support page [new window]" target="_blank">Windows 98</a>',
--'win95','<a href="http://support.microsoft.com/ph/7864" title="Windows 95 support page [new window]" target="_blank">Windows 95</a>',
--'win16','<a href="http://www.microsoft.com/windows/WinHistoryDesktop.mspx#E1B" title="Windows 3.xx history page [new window]" target="_blank">Windows 3.xx</a>',
--'wince','<a href="http://www.microsoft.com/windowsmobile/" title="Windows Mobile home page [new window]" target="_blank">Windows Mobile</a>',
--'winphone','<a href="http://www.microsoft.com/windowsphone/" title="Windows Phone home page [new window]" target="_blank">Windows Phone</a>',
-+'win10','<a href="http://www.microsoft.com/windows10/" title="Windows 10 home page [new window]" target="_blank" rel="noopener noreferrer">Windows 10</a>',
-+'win8.1','<a href="http://www.microsoft.com/windows8/" title="Windows 8.1 home page [new window]" target="_blank" rel="noopener noreferrer">Windows 8.1</a>',
-+'win8','<a href="http://www.microsoft.com/windows8/" title="Windows 8 home page [new window]" target="_blank" rel="noopener noreferrer">Windows 8</a>',
-+'win7','<a href="http://windows.microsoft.com/en-US/windows7/products/home/" title="Windows 7 home page [new window]" target="_blank" rel="noopener noreferrer">Windows 7</a>',
-+'winlong','<a href="http://www.microsoft.com/windows/" title="Windows Vista home page [new window]" target="_blank" rel="noopener noreferrer">Windows Vista (LongHorn)</a>',
-+'win2008','<a href="http://www.microsoft.com/windowsserver2008/" title="Windows 2008 home page [new window]" target="_blank" rel="noopener noreferrer">Windows 2008</a>',
-+'win2012','<a href="http://www.microsoft.com/en-us/server-cloud/windows-server/2012-default.aspx/" title="Windows Server 2012 home page [new window]" target="_blank" rel="noopener noreferrer">Windows Server 2012</a>',
-+'winvista','<a href="http://www.microsoft.com/windowsvista/" title="Windows Vista home page [new window]" target="_blank" rel="noopener noreferrer">Windows Vista</a>',
-+'win2003','<a href="http://www.microsoft.com/windowsserver2003/" title="Windows 2003 home page [new window]" target="_blank" rel="noopener noreferrer">Windows 2003</a>',
-+'winxp','<a href="http://www.microsoft.com/windowsxp/" title="Windows XP home page [new window]" target="_blank" rel="noopener noreferrer">Windows XP</a>',
-+'winme','<a href="http://support.microsoft.com/ph/6519/" title="Windows ME support page [new window]" target="_blank" rel="noopener noreferrer">Windows ME</a>',
-+'win2000','<a href="http://support.microsoft.com/ph/1131" title="Windows 2000 support page [new window]" target="_blank" rel="noopener noreferrer">Windows 2000</a>',
-+'winnt','<a href="http://support.microsoft.com/default.aspx?pr=ntw40" title="Windows NT support page [new window]" target="_blank" rel="noopener noreferrer">Windows NT</a>',
-+'win98','<a href="http://support.microsoft.com/w98" title="Windows 98 support page [new window]" target="_blank" rel="noopener noreferrer">Windows 98</a>',
-+'win95','<a href="http://support.microsoft.com/ph/7864" title="Windows 95 support page [new window]" target="_blank" rel="noopener noreferrer">Windows 95</a>',
-+'win16','<a href="http://www.microsoft.com/windows/WinHistoryDesktop.mspx#E1B" title="Windows 3.xx history page [new window]" target="_blank" rel="noopener noreferrer">Windows 3.xx</a>',
-+'wince','<a href="http://www.microsoft.com/windowsmobile/" title="Windows Mobile home page [new window]" target="_blank" rel="noopener noreferrer">Windows Mobile</a>',
-+'winphone','<a href="http://www.microsoft.com/windowsphone/" title="Windows Phone home page [new window]" target="_blank" rel="noopener noreferrer">Windows Phone</a>',
- 'winunknown','Windows (unknown version)',
--'winxbox','<a href="http://www.xbox.com/" title="Microsoft XBOX home page [new window]" target="_blank">Microsoft XBOX</a>',
-+'winxbox','<a href="http://www.xbox.com/" title="Microsoft XBOX home page [new window]" target="_blank" rel="noopener noreferrer">Microsoft XBOX</a>',
- # Macintosh OS
--'macosx12','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.12 Sierra</a>',
--'macosx11','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.11 El Capitan</a>',
--'macosx10','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.10 Yosemite</a>',
--'macosx9','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.9 Mavericks</a>',
--'macosx8','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.8 Mountain Lion</a>',
--'macosx7','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.7 Lion</a>',
--'macosx6','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.6 Snow Leopard</a>',
--'macosx5','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.5 Leopard</a>',
--'macosx4','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X 10.4 Tiger</a>',
--'macosx','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank">Mac OS X others</a>',
--'macintosh','<a href="http://www.apple.com/" title="Mac OS home page [new window]" target="_blank">Mac OS</a>',
-+'macosx12','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.12 Sierra</a>',
-+'macosx11','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.11 El Capitan</a>',
-+'macosx10','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.10 Yosemite</a>',
-+'macosx9','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.9 Mavericks</a>',
-+'macosx8','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.8 Mountain Lion</a>',
-+'macosx7','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.7 Lion</a>',
-+'macosx6','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.6 Snow Leopard</a>',
-+'macosx5','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.5 Leopard</a>',
-+'macosx4','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X 10.4 Tiger</a>',
-+'macosx','<a href="http://www.apple.com/macosx/" title="Mac OS X home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS X others</a>',
-+'macintosh','<a href="http://www.apple.com/" title="Mac OS home page [new window]" target="_blank" rel="noopener noreferrer">Mac OS</a>',
- # Linux
--'linuxandroid','<a href="http://code.google.com/android/" title="Google Android home page [new window]" target="_blank">Google Android</a>',
--'linuxasplinux','<a href="http://www.asplinux.ru/" title="ASPLinux home page [new window]" target="_blank">ASPLinux</a>',
--'linuxcentos','<a href="http://www.centos.org/" title="Centos home page [new window]" target="_blank">Centos</a>',
--'linuxdebian','<a href="http://www.debian.org/" title="Debian home page [new window]" target="_blank">Debian</a>',
--'linuxfedora','<a href="http://fedora.redhat.com/" title="Fedora home page [new window]" target="_blank">Fedora</a>',
--'linuxgentoo','<a href="http://www.gentoo.org/" title="Gentoo home page [new window]" target="_blank">Gentoo</a>',
--'linuxmandr','<a href="http://www.mandriva.com/" title="Mandriva (former Mandrake) home page [new window]" target="_blank">Mandriva (or Mandrake)</a>',
--'linuxmomonga','<a href="http://www.momonga-linux.org/" title="Momonga Linux home page [new window]" target="_blank">Momonga Linux</a>',
--'linuxpclinuxos','<a href="http://www.pclinuxos.com/" title="PCLinuxOS home page [new window]" target="_blank">PCLinuxOS</a>',
--'linuxredhat','<a href="http://www.redhat.com/" title="Red Hat home page [new window]" target="_blank">Red Hat</a>',
--'linuxsuse','<a href="http://www.novell.com/linux/suse/" title="Suse home page [new window]" target="_blank">Suse</a>',
--'linuxubuntu','<a href="http://www.ubuntulinux.org/" title="Ubuntu home page [new window]" target="_blank">Ubuntu</a>',
--'linuxvector','<a href="http://vectorlinux.com/" title="VectorLinux home page [new window]" target="_blank">VectorLinux</a>',
--'linuxvine','<a href="http://www.vinelinux.org/index-en.html" title="Vine Linux home page [new window]" target="_blank">Vine Linux</a>',
--'linuxwhitebox','<a href="http://whiteboxlinux.org/" title="White Box Linux home page [new window]" target="_blank">White Box Linux</a>',
--'linuxzenwalk','<a href="http://www.zenwalk.org/" title="Zenwalk GNU Linux home page [new window]" target="_blank">Zenwalk GNU Linux</a>',
--'linux','<a href="http://www.distrowatch.com/" title="Linux DistroWatch home page. Useful if you find the associated user agent string in your logs. [new window]" target="_blank">Linux (Unknown/unspecified)</a>',
-+'linuxandroid','<a href="http://code.google.com/android/" title="Google Android home page [new window]" target="_blank" rel="noopener noreferrer">Google Android</a>',
-+'linuxasplinux','<a href="http://www.asplinux.ru/" title="ASPLinux home page [new window]" target="_blank" rel="noopener noreferrer">ASPLinux</a>',
-+'linuxcentos','<a href="http://www.centos.org/" title="Centos home page [new window]" target="_blank" rel="noopener noreferrer">Centos</a>',
-+'linuxdebian','<a href="http://www.debian.org/" title="Debian home page [new window]" target="_blank" rel="noopener noreferrer">Debian</a>',
-+'linuxfedora','<a href="http://fedora.redhat.com/" title="Fedora home page [new window]" target="_blank" rel="noopener noreferrer">Fedora</a>',
-+'linuxgentoo','<a href="http://www.gentoo.org/" title="Gentoo home page [new window]" target="_blank" rel="noopener noreferrer">Gentoo</a>',
-+'linuxmandr','<a href="http://www.mandriva.com/" title="Mandriva (former Mandrake) home page [new window]" target="_blank" rel="noopener noreferrer">Mandriva (or Mandrake)</a>',
-+'linuxmomonga','<a href="http://www.momonga-linux.org/" title="Momonga Linux home page [new window]" target="_blank" rel="noopener noreferrer">Momonga Linux</a>',
-+'linuxpclinuxos','<a href="http://www.pclinuxos.com/" title="PCLinuxOS home page [new window]" target="_blank" rel="noopener noreferrer">PCLinuxOS</a>',
-+'linuxredhat','<a href="http://www.redhat.com/" title="Red Hat home page [new window]" target="_blank" rel="noopener noreferrer">Red Hat</a>',
-+'linuxsuse','<a href="http://www.novell.com/linux/suse/" title="Suse home page [new window]" target="_blank" rel="noopener noreferrer">Suse</a>',
-+'linuxubuntu','<a href="http://www.ubuntulinux.org/" title="Ubuntu home page [new window]" target="_blank" rel="noopener noreferrer">Ubuntu</a>',
-+'linuxvector','<a href="http://vectorlinux.com/" title="VectorLinux home page [new window]" target="_blank" rel="noopener noreferrer">VectorLinux</a>',
-+'linuxvine','<a href="http://www.vinelinux.org/index-en.html" title="Vine Linux home page [new window]" target="_blank" rel="noopener noreferrer">Vine Linux</a>',
-+'linuxwhitebox','<a href="http://whiteboxlinux.org/" title="White Box Linux home page [new window]" target="_blank" rel="noopener noreferrer">White Box Linux</a>',
-+'linuxzenwalk','<a href="http://www.zenwalk.org/" title="Zenwalk GNU Linux home page [new window]" target="_blank" rel="noopener noreferrer">Zenwalk GNU Linux</a>',
-+'linux','<a href="http://www.distrowatch.com/" title="Linux DistroWatch home page. Useful if you find the associated user agent string in your logs. [new window]" target="_blank" rel="noopener noreferrer">Linux (Unknown/unspecified)</a>',
- 'linux','GNU Linux (Unknown or unspecified distribution)',
- # Hurd
--'gnu','<a href="http://www.gnu.org/software/hurd/hurd.html" title="GNU Hurd home page [new window]" target="_blank">GNU Hurd</a>',
-+'gnu','<a href="http://www.gnu.org/software/hurd/hurd.html" title="GNU Hurd home page [new window]" target="_blank" rel="noopener noreferrer">GNU Hurd</a>',
- # BSDs
--'bsdi','<a href="http://en.wikipedia.org/wiki/BSDi" title="BSDi home page [new window]" target="_blank">BSDi</a>',
--'bsdkfreebsd','<a href="http://www.debian.org/ports/kfreebsd-gnu/" title="Debian GNU/kFreeBSD" target="_blank">GNU/kFreeBSD</a>',
--'freebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank">FreeBSD</a>', # For backard compatibility
--'bsdfreebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank">FreeBSD</a>',
--'openbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank">OpenBSD</a>', # For backard compatibility
--'bsdopenbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank">OpenBSD</a>',
--'netbsd','<a href="http://www.netbsd.org/" title="NetBSD home page [new window]" target="_blank">NetBSD</a>', # For backard compatibility
--'bsdnetbsd','<a href="http://www.netbsd.org/" title="NetBSD home page [new window]" target="_blank">NetBSD</a>',
--'bsddflybsd','<a href="http://www.dragonflybsd.org/" title="DragonFlyBSD home page [new window]" target="_blank">DragonFlyBSD</a>',
-+'bsdi','<a href="http://en.wikipedia.org/wiki/BSDi" title="BSDi home page [new window]" target="_blank" rel="noopener noreferrer">BSDi</a>',
-+'bsdkfreebsd','<a href="http://www.debian.org/ports/kfreebsd-gnu/" title="Debian GNU/kFreeBSD" target="_blank" rel="noopener noreferrer">GNU/kFreeBSD</a>',
-+'freebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank" rel="noopener noreferrer">FreeBSD</a>', # For backard compatibility
-+'bsdfreebsd','<a href="http://www.freebsd.org/" title="FreeBSD home page [new window]" target="_blank" rel="noopener noreferrer">FreeBSD</a>',
-+'openbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank" rel="noopener noreferrer">OpenBSD</a>', # For backard compatibility
-+'bsdopenbsd','<a href="http://www.openbsd.org/" title="OpenBSD home page [new window]" target="_blank" rel="noopener noreferrer">OpenBSD</a>',
-+'netbsd','<a href="http://www.netbsd.org/" title="NetBSD home page [new window]" target="_blank" rel="noopener noreferrer">NetBSD</a>', # For backard compatibility
-+'bsdnetbsd','<a href="http://www.netbsd.org/" title="NetBSD home page [new window]" target="_blank" rel="noopener noreferrer">NetBSD</a>',
-+'bsddflybsd','<a href="http://www.dragonflybsd.org/" title="DragonFlyBSD home page [new window]" target="_blank" rel="noopener noreferrer">DragonFlyBSD</a>',
- # Other Unix, Unix-like
--'aix','<a href="http://www-1.ibm.com/servers/aix/" title="Aix home page [new window]" target="_blank">Aix</a>',
--'sunos','<a href="http://www.sun.com/software/solaris/" title="Sun Solaris home page [new window]" target="_blank">Sun Solaris</a>',
--'irix','<a href="http://www.sgi.com/products/software/irix/" title="Irix home page [new window]" target="_blank">Irix</a>',
--'osf','<a href="http://www.tru64.org/" title="OSF Unix home page [new window]" target="_blank">OSF Unix</a>',
--'hp\-ux','<a href="http://www.hp.com/products1/unix/operating/" title="HP UX home page [new window]" target="_blank">HP UX</a>',
-+'aix','<a href="http://www-1.ibm.com/servers/aix/" title="Aix home page [new window]" target="_blank" rel="noopener noreferrer">Aix</a>',
-+'sunos','<a href="http://www.sun.com/software/solaris/" title="Sun Solaris home page [new window]" target="_blank" rel="noopener noreferrer">Sun Solaris</a>',
-+'irix','<a href="http://www.sgi.com/products/software/irix/" title="Irix home page [new window]" target="_blank" rel="noopener noreferrer">Irix</a>',
-+'osf','<a href="http://www.tru64.org/" title="OSF Unix home page [new window]" target="_blank" rel="noopener noreferrer">OSF Unix</a>',
-+'hp\-ux','<a href="http://www.hp.com/products1/unix/operating/" title="HP UX home page [new window]" target="_blank" rel="noopener noreferrer">HP UX</a>',
- 'unix','Unknown Unix system',
- # iOS
--'ios_iphone','<a href="http://www.apple.com/iphone/ios" title="Apple iPhone home page [new window]" target="_blank">iOS (iPhone)</a>',
--'ios_ipad','<a href="http://www.apple.com/ipad/ios" title="Apple iPad home page [new window]" target="_blank">iOS (iPad)</a>',
--'ios_ipod','<a href="http://www.apple.com/ipod/ios" title="Apple iPod home page [new window]" target="_blank">iOS (iPod)</a>',
-+'ios_iphone','<a href="http://www.apple.com/iphone/ios" title="Apple iPhone home page [new window]" target="_blank" rel="noopener noreferrer">iOS (iPhone)</a>',
-+'ios_ipad','<a href="http://www.apple.com/ipad/ios" title="Apple iPad home page [new window]" target="_blank" rel="noopener noreferrer">iOS (iPad)</a>',
-+'ios_ipod','<a href="http://www.apple.com/ipod/ios" title="Apple iPod home page [new window]" target="_blank" rel="noopener noreferrer">iOS (iPod)</a>',
- # Other famous OS
--'beos','<a href="http://www.beincorporated.com/" title="BeOS home page [new window]" target="_blank">BeOS</a>',
--'os/2','<a href="http://www.ibm.com/software/os/warp/" title="OS/2 home page [new window]" target="_blank">OS/2</a>',
--'amigaos','<a href="http://www.amiga.com/amigaos/" title="AmigaOS home page [new window]" target="_blank">AmigaOS</a>',
--'atari','<a href="http://www.atarimuseum.com/computers/computers.html" title="Atari home page [new window]" target="_blank">Atari</a>',
--'vms','<a href="http://h71000.www7.hp.com/" title="VMS home page [new window]" target="_blank">VMS</a>',
--'commodore','<a href="http://en.wikipedia.org/wiki/Commodore_64" title="Commodore 64 wikipedia page [new window]" target="_blank">Commodore 64</a>',
--'j2me','<a href="http://mobile.java.com/" title="Java Mobile home page [new window]" target="_blank">Java Mobile</a>',
--'java','<a href="http://www.java.com/" title="Java home page [new window]" target="_blank">Java</a>',
--'qnx','<a href="http://www.qnx.com/products/neutrino_rtos/" title="QNX home page [new window]" target="_blank">QNX</a>',
--'inferno','<a href="http://www.vitanuova.com/inferno/" title="Inferno home page [new window]" target="_blank">Inferno</a>',
--'palmos','<a href="http://www.palm.com/" title="Palm OS home page [new window]" target="_blank">Palm OS</a>',
--'syllable','<a href="http://www.syllable.org/" title="Syllable home page [new window]" target="_blank">Syllable</a>',
-+'beos','<a href="http://www.beincorporated.com/" title="BeOS home page [new window]" target="_blank" rel="noopener noreferrer">BeOS</a>',
-+'os/2','<a href="http://www.ibm.com/software/os/warp/" title="OS/2 home page [new window]" target="_blank" rel="noopener noreferrer">OS/2</a>',
-+'amigaos','<a href="http://www.amiga.com/amigaos/" title="AmigaOS home page [new window]" target="_blank" rel="noopener noreferrer">AmigaOS</a>',
-+'atari','<a href="http://www.atarimuseum.com/computers/computers.html" title="Atari home page [new window]" target="_blank" rel="noopener noreferrer">Atari</a>',
-+'vms','<a href="http://h71000.www7.hp.com/" title="VMS home page [new window]" target="_blank" rel="noopener noreferrer">VMS</a>',
-+'commodore','<a href="http://en.wikipedia.org/wiki/Commodore_64" title="Commodore 64 wikipedia page [new window]" target="_blank" rel="noopener noreferrer">Commodore 64</a>',
-+'j2me','<a href="http://mobile.java.com/" title="Java Mobile home page [new window]" target="_blank" rel="noopener noreferrer">Java Mobile</a>',
-+'java','<a href="http://www.java.com/" title="Java home page [new window]" target="_blank" rel="noopener noreferrer">Java</a>',
-+'qnx','<a href="http://www.qnx.com/products/neutrino_rtos/" title="QNX home page [new window]" target="_blank" rel="noopener noreferrer">QNX</a>',
-+'inferno','<a href="http://www.vitanuova.com/inferno/" title="Inferno home page [new window]" target="_blank" rel="noopener noreferrer">Inferno</a>',
-+'palmos','<a href="http://www.palm.com/" title="Palm OS home page [new window]" target="_blank" rel="noopener noreferrer">Palm OS</a>',
-+'syllable','<a href="http://www.syllable.org/" title="Syllable home page [new window]" target="_blank" rel="noopener noreferrer">Syllable</a>',
- # Miscellaneous OS
- 'blackberry','BlackBerry',
--'cp/m','<a href="http://www.digitalresearch.biz/CPM.HTM" title="CP/M home page [new window]" target="_blank">CP/M</a>',
--'crayos','<a href="http://www.cray.com/" title="CrayOS home page [new window]" target="_blank">CrayOS</a>',
--'dreamcast','<a href="http://www.sega.com/" title="Dreamcast home page [new window]" target="_blank">Dreamcast</a>',
--'riscos','<a href="http://www.riscos.com/" title="RISC OS home page [new window]" target="_blank">RISC OS</a>',
--'symbian','<a href="http://www.symbian.com/" title="Symbian OS home page [new window]" target="_blank">Symbian OS</a>',
--'webtv','<a href="http://www.webtv.com/" title="WebTV home page [new window]" target="_blank">WebTV</a>',
--'psp', '<a href="http://www.playstation.com/" title="Sony PlayStation home page [new window]" target="_blank">Sony PlayStation</a>',
--'wii', '<a href="http://wii.opera.com/" title="Opera for Nintendo Wii home page [new window]" target="_blank">Nintendo Wii</a>'
-+'cp/m','<a href="http://www.digitalresearch.biz/CPM.HTM" title="CP/M home page [new window]" target="_blank" rel="noopener noreferrer">CP/M</a>',
-+'crayos','<a href="http://www.cray.com/" title="CrayOS home page [new window]" target="_blank" rel="noopener noreferrer">CrayOS</a>',
-+'dreamcast','<a href="http://www.sega.com/" title="Dreamcast home page [new window]" target="_blank" rel="noopener noreferrer">Dreamcast</a>',
-+'riscos','<a href="http://www.riscos.com/" title="RISC OS home page [new window]" target="_blank" rel="noopener noreferrer">RISC OS</a>',
-+'symbian','<a href="http://www.symbian.com/" title="Symbian OS home page [new window]" target="_blank" rel="noopener noreferrer">Symbian OS</a>',
-+'webtv','<a href="http://www.webtv.com/" title="WebTV home page [new window]" target="_blank" rel="noopener noreferrer">WebTV</a>',
-+'psp', '<a href="http://www.playstation.com/" title="Sony PlayStation home page [new window]" target="_blank" rel="noopener noreferrer">Sony PlayStation</a>',
-+'wii', '<a href="http://wii.opera.com/" title="Opera for Nintendo Wii home page [new window]" target="_blank" rel="noopener noreferrer">Nintendo Wii</a>'
- );
-
-
-diff --git a/wwwroot/cgi-bin/lib/search_engines.pm b/wwwroot/cgi-bin/lib/search_engines.pm
-index c1e3c243..e8361f23 100644
---- a/wwwroot/cgi-bin/lib/search_engines.pm
-+++ b/wwwroot/cgi-bin/lib/search_engines.pm
-@@ -4234,1057 +4234,1057 @@
- %SearchEnginesHashLib=(
- # Search engine output links or not as the case may be
-
--'www_google_co_uk','<a href="http://www.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United Kingdom</a>',
--'images_google_co_uk','<a href="http://images.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United Kingdom ( images )</a>',
--'translate_google_co_uk','<a href="http://translate.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate United Kingdom</a>',
--'google_co_uk','<a href="http://google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United Kingdom ( catchall )</a>',
--'www_google_com','<a href="http://www.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google .com</a>',
--'images_google_com','<a href="http://images.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google .com ( images )</a>',
--'translate_google_com','<a href="http://translate.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate .com</a>',
--'google_com','<a href="http://google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google .com ( catchall )</a>',
--'www_google_de','<a href="http://www.google.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Germany</a>',
--'images_google_de','<a href="http://images.google.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Germany ( images )</a>',
--'translate_google_de','<a href="http://translate.google.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Germany</a>',
--'google_de','<a href="http://google.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Germany ( catchall )</a>',
--'www_google_fr','<a href="http://www.google.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google France</a>',
--'images_google_fr','<a href="http://images.google.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google France ( images )</a>',
--'translate_google_fr','<a href="http://translate.google.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate France</a>',
--'google_fr','<a href="http://google.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google France ( catchall )</a>',
--'www_google_ca','<a href="http://www.google.ca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Canada</a>',
--'images_google_ca','<a href="http://images.google.ca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Canada ( images )</a>',
--'translate_google_ca','<a href="http://translate.google.ca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Canada</a>',
--'google_ca','<a href="http://google.ca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Canada ( catchall )</a>',
--'www_google_es','<a href="http://www.google.es/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Spain</a>',
--'images_google_es','<a href="http://images.google.es/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Spain ( images )</a>',
--'translate_google_es','<a href="http://translate.google.es/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Spain</a>',
--'google_es','<a href="http://google.es/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Spain ( catchall )</a>',
--'www_google_com_au','<a href="http://www.google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Australia</a>',
--'images_google_com_au','<a href="http://images.google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Australia ( images )</a>',
--'translate_google_com_au','<a href="http://translate.google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Australia</a>',
--'google_com_au','<a href="http://google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Australia ( catchall )</a>',
--'www_google_nl','<a href="http://www.google.nl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Netherlands</a>',
--'images_google_nl','<a href="http://images.google.nl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Netherlands ( images )</a>',
--'translate_google_nl','<a href="http://translate.google.nl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Netherlands</a>',
--'google_nl','<a href="http://google.nl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Netherlands ( catchall )</a>',
--'www_google_gr','<a href="http://www.google.gr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Greece</a>',
--'images_google_gr','<a href="http://images.google.gr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Greece ( images )</a>',
--'translate_google_gr','<a href="http://translate.google.gr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Greece</a>',
--'google_gr','<a href="http://google.gr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Greece ( catchall )</a>',
--'www_google_se','<a href="http://www.google.se/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sweden</a>',
--'images_google_se','<a href="http://images.google.se/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sweden ( images )</a>',
--'translate_google_se','<a href="http://translate.google.se/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Sweden</a>',
--'google_se','<a href="http://google.se/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sweden ( catchall )</a>',
--'www_google_ie','<a href="http://www.google.ie/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ireland</a>',
--'images_google_ie','<a href="http://images.google.ie/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ireland ( images )</a>',
--'translate_google_ie','<a href="http://translate.google.ie/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ireland</a>',
--'google_ie','<a href="http://google.ie/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ireland ( catchall )</a>',
--'www_google_it','<a href="http://www.google.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Italy</a>',
--'images_google_it','<a href="http://images.google.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Italy ( images )</a>',
--'translate_google_it','<a href="http://translate.google.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Italy</a>',
--'google_it','<a href="http://google.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Italy ( catchall )</a>',
--'www_google_no','<a href="http://www.google.no/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Norway</a>',
--'images_google_no','<a href="http://images.google.no/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Norway ( images )</a>',
--'translate_google_no','<a href="http://translate.google.no/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Norway</a>',
--'google_no','<a href="http://google.no/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Norway ( catchall )</a>',
--'www_google_com_tr','<a href="http://www.google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Turkey</a>',
--'images_google_com_tr','<a href="http://images.google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Turkey ( images )</a>',
--'translate_google_com_tr','<a href="http://translate.google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Turkey</a>',
--'google_com_tr','<a href="http://google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Turkey ( catchall )</a>',
--'www_google_co_in','<a href="http://www.google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google India</a>',
--'images_google_co_in','<a href="http://images.google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google India ( images )</a>',
--'translate_google_co_in','<a href="http://translate.google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate India</a>',
--'google_co_in','<a href="http://google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google India ( catchall )</a>',
--'www_google_pt','<a href="http://www.google.pt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Portugal</a>',
--'images_google_pt','<a href="http://images.google.pt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Portugal ( images )</a>',
--'translate_google_pt','<a href="http://translate.google.pt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Portugal</a>',
--'google_pt','<a href="http://google.pt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Portugal ( catchall )</a>',
--'www_google_hr','<a href="http://www.google.hr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Croatia</a>',
--'images_google_hr','<a href="http://images.google.hr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Croatia ( images )</a>',
--'translate_google_hr','<a href="http://translate.google.hr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Croatia</a>',
--'google_hr','<a href="http://google.hr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Croatia ( catchall )</a>',
--'www_google_co_nz','<a href="http://www.google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google New Zealand</a>',
--'images_google_co_nz','<a href="http://images.google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google New Zealand ( images )</a>',
--'translate_google_co_nz','<a href="http://translate.google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate New Zealand</a>',
--'google_co_nz','<a href="http://google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google New Zealand ( catchall )</a>',
--'www_google_pl','<a href="http://www.google.pl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Poland</a>',
--'images_google_pl','<a href="http://images.google.pl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Poland ( images )</a>',
--'translate_google_pl','<a href="http://translate.google.pl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Poland</a>',
--'google_pl','<a href="http://google.pl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Poland ( catchall )</a>',
--'www_google_ac','<a href="http://www.google.ac/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ascension Island</a>',
--'images_google_ac','<a href="http://images.google.ac/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ascension Island ( images )</a>',
--'translate_google_ac','<a href="http://translate.google.ac/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ascension Island</a>',
--'google_ac','<a href="http://google.ac/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ascension Island ( catchall )</a>',
--'www_google_ad','<a href="http://www.google.ad/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Andorra</a>',
--'images_google_ad','<a href="http://images.google.ad/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Andorra ( images )</a>',
--'translate_google_ad','<a href="http://translate.google.ad/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Andorra</a>',
--'google_ad','<a href="http://google.ad/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Andorra ( catchall )</a>',
--'www_google_ae','<a href="http://www.google.ae/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United Arab Emirates</a>',
--'images_google_ae','<a href="http://images.google.ae/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United Arab Emirates ( images )</a>',
--'translate_google_ae','<a href="http://translate.google.ae/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate United Arab Emirates</a>',
--'google_ae','<a href="http://google.ae/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United Arab Emirates ( catchall )</a>',
--'www_google_al','<a href="http://www.google.al/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Albania</a>',
--'images_google_al','<a href="http://images.google.al/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Albania ( images )</a>',
--'translate_google_al','<a href="http://translate.google.al/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Albania</a>',
--'google_al','<a href="http://google.al/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Albania ( catchall )</a>',
--'www_google_am','<a href="http://www.google.am/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Armenia</a>',
--'images_google_am','<a href="http://images.google.am/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Armenia ( images )</a>',
--'translate_google_am','<a href="http://translate.google.am/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Armenia</a>',
--'google_am','<a href="http://google.am/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Armenia ( catchall )</a>',
--'www_google_as','<a href="http://www.google.as/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google American Samoa</a>',
--'images_google_as','<a href="http://images.google.as/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google American Samoa ( images )</a>',
--'translate_google_as','<a href="http://translate.google.as/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate American Samoa</a>',
--'google_as','<a href="http://google.as/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google American Samoa ( catchall )</a>',
--'www_google_at','<a href="http://www.google.at/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Austria</a>',
--'images_google_at','<a href="http://images.google.at/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Austria ( images )</a>',
--'translate_google_at','<a href="http://translate.google.at/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Austria</a>',
--'google_at','<a href="http://google.at/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Austria ( catchall )</a>',
--'www_google_az','<a href="http://www.google.az/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Azerbaijan</a>',
--'images_google_az','<a href="http://images.google.az/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Azerbaijan ( images )</a>',
--'translate_google_az','<a href="http://translate.google.az/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Azerbaijan</a>',
--'google_az','<a href="http://google.az/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Azerbaijan ( catchall )</a>',
--'www_google_ba','<a href="http://www.google.ba/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bosnia and Herzegovina</a>',
--'images_google_ba','<a href="http://images.google.ba/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bosnia and Herzegovina ( images )</a>',
--'translate_google_ba','<a href="http://translate.google.ba/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bosnia and Herzegovina</a>',
--'google_ba','<a href="http://google.ba/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bosnia and Herzegovina ( catchall )</a>',
--'www_google_be','<a href="http://www.google.be/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belgium</a>',
--'images_google_be','<a href="http://images.google.be/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belgium ( images )</a>',
--'translate_google_be','<a href="http://translate.google.be/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Belgium</a>',
--'google_be','<a href="http://google.be/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belgium ( catchall )</a>',
--'www_google_bf','<a href="http://www.google.bf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Burkina Faso</a>',
--'images_google_bf','<a href="http://images.google.bf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Burkina Faso ( images )</a>',
--'translate_google_bf','<a href="http://translate.google.bf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Burkina Faso</a>',
--'google_bf','<a href="http://google.bf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Burkina Faso ( catchall )</a>',
--'www_google_bg','<a href="http://www.google.bg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bulgaria</a>',
--'images_google_bg','<a href="http://images.google.bg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bulgaria ( images )</a>',
--'translate_google_bg','<a href="http://translate.google.bg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bulgaria</a>',
--'google_bg','<a href="http://google.bg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bulgaria ( catchall )</a>',
--'www_google_bi','<a href="http://www.google.bi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Burundi</a>',
--'images_google_bi','<a href="http://images.google.bi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Burundi ( images )</a>',
--'translate_google_bi','<a href="http://translate.google.bi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Burundi</a>',
--'google_bi','<a href="http://google.bi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Burundi ( catchall )</a>',
--'www_google_bj','<a href="http://www.google.bj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Benin</a>',
--'images_google_bj','<a href="http://images.google.bj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Benin ( images )</a>',
--'translate_google_bj','<a href="http://translate.google.bj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Benin</a>',
--'google_bj','<a href="http://google.bj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Benin ( catchall )</a>',
--'www_google_bs','<a href="http://www.google.bs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bahamas</a>',
--'images_google_bs','<a href="http://images.google.bs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bahamas ( images )</a>',
--'translate_google_bs','<a href="http://translate.google.bs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bahamas</a>',
--'google_bs','<a href="http://google.bs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bahamas ( catchall )</a>',
--'www_google_bt','<a href="http://www.google.bt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bhutan</a>',
--'images_google_bt','<a href="http://images.google.bt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bhutan ( images )</a>',
--'translate_google_bt','<a href="http://translate.google.bt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bhutan</a>',
--'google_bt','<a href="http://google.bt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bhutan ( catchall )</a>',
--'www_google_by','<a href="http://www.google.by/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belarus</a>',
--'images_google_by','<a href="http://images.google.by/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belarus ( images )</a>',
--'translate_google_by','<a href="http://translate.google.by/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Belarus</a>',
--'google_by','<a href="http://google.by/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belarus ( catchall )</a>',
--'www_google_cat','<a href="http://www.google.cat/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Catalan Countries</a>',
--'images_google_cat','<a href="http://images.google.cat/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Catalan Countries ( images )</a>',
--'translate_google_cat','<a href="http://translate.google.cat/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Catalan Countries</a>',
--'google_cat','<a href="http://google.cat/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Catalan Countries ( catchall )</a>',
--'www_google_cc','<a href="http://www.google.cc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cocos (Keeling) Islands</a>',
--'images_google_cc','<a href="http://images.google.cc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cocos (Keeling) Islands ( images )</a>',
--'translate_google_cc','<a href="http://translate.google.cc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cocos (Keeling) Islands</a>',
--'google_cc','<a href="http://google.cc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cocos (Keeling) Islands ( catchall )</a>',
--'www_google_cd','<a href="http://www.google.cd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Democratic Republic of the Congo</a>',
--'images_google_cd','<a href="http://images.google.cd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Democratic Republic of the Congo ( images )</a>',
--'translate_google_cd','<a href="http://translate.google.cd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Democratic Republic of the Congo</a>',
--'google_cd','<a href="http://google.cd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Democratic Republic of the Congo ( catchall )</a>',
--'www_google_cf','<a href="http://www.google.cf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Central African Republic</a>',
--'images_google_cf','<a href="http://images.google.cf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Central African Republic ( images )</a>',
--'translate_google_cf','<a href="http://translate.google.cf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Central African Republic</a>',
--'google_cf','<a href="http://google.cf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Central African Republic ( catchall )</a>',
--'www_google_cg','<a href="http://www.google.cg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Republic of the Congo</a>',
--'images_google_cg','<a href="http://images.google.cg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Republic of the Congo ( images )</a>',
--'translate_google_cg','<a href="http://translate.google.cg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Republic of the Congo</a>',
--'google_cg','<a href="http://google.cg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Republic of the Congo ( catchall )</a>',
--'www_google_ch','<a href="http://www.google.ch/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Switzerland</a>',
--'images_google_ch','<a href="http://images.google.ch/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Switzerland ( images )</a>',
--'translate_google_ch','<a href="http://translate.google.ch/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Switzerland</a>',
--'google_ch','<a href="http://google.ch/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Switzerland ( catchall )</a>',
--'www_google_ci','<a href="http://www.google.ci/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ivory Coast</a>',
--'images_google_ci','<a href="http://images.google.ci/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ivory Coast ( images )</a>',
--'translate_google_ci','<a href="http://translate.google.ci/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ivory Coast</a>',
--'google_ci','<a href="http://google.ci/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ivory Coast ( catchall )</a>',
--'www_google_cl','<a href="http://www.google.cl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Chile</a>',
--'images_google_cl','<a href="http://images.google.cl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Chile ( images )</a>',
--'translate_google_cl','<a href="http://translate.google.cl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Chile</a>',
--'google_cl','<a href="http://google.cl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Chile ( catchall )</a>',
--'www_google_cm','<a href="http://www.google.cm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cameroon</a>',
--'images_google_cm','<a href="http://images.google.cm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cameroon ( images )</a>',
--'translate_google_cm','<a href="http://translate.google.cm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cameroon</a>',
--'google_cm','<a href="http://google.cm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cameroon ( catchall )</a>',
--'www_google_cn','<a href="http://www.google.cn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google China</a>',
--'images_google_cn','<a href="http://images.google.cn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google China ( images )</a>',
--'translate_google_cn','<a href="http://translate.google.cn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate China</a>',
--'google_cn','<a href="http://google.cn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google China ( catchall )</a>',
--'www_google_co_ao','<a href="http://www.google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Angola</a>',
--'images_google_co_ao','<a href="http://images.google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Angola ( images )</a>',
--'translate_google_co_ao','<a href="http://translate.google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Angola</a>',
--'google_co_ao','<a href="http://google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Angola ( catchall )</a>',
--'www_google_co_bw','<a href="http://www.google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Botswana</a>',
--'images_google_co_bw','<a href="http://images.google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Botswana ( images )</a>',
--'translate_google_co_bw','<a href="http://translate.google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Botswana</a>',
--'google_co_bw','<a href="http://google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Botswana ( catchall )</a>',
--'www_google_co_ck','<a href="http://www.google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cook Islands</a>',
--'images_google_co_ck','<a href="http://images.google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cook Islands ( images )</a>',
--'translate_google_co_ck','<a href="http://translate.google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cook Islands</a>',
--'google_co_ck','<a href="http://google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cook Islands ( catchall )</a>',
--'www_google_co_cr','<a href="http://www.google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Costa Rica</a>',
--'images_google_co_cr','<a href="http://images.google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Costa Rica ( images )</a>',
--'translate_google_co_cr','<a href="http://translate.google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Costa Rica</a>',
--'google_co_cr','<a href="http://google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Costa Rica ( catchall )</a>',
--'www_google_co_id','<a href="http://www.google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Indonesia</a>',
--'images_google_co_id','<a href="http://images.google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Indonesia ( images )</a>',
--'translate_google_co_id','<a href="http://translate.google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Indonesia</a>',
--'google_co_id','<a href="http://google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Indonesia ( catchall )</a>',
--'www_google_co_il','<a href="http://www.google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Israel</a>',
--'images_google_co_il','<a href="http://images.google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Israel ( images )</a>',
--'translate_google_co_il','<a href="http://translate.google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Israel</a>',
--'google_co_il','<a href="http://google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Israel ( catchall )</a>',
--'www_google_co_jp','<a href="http://www.google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Japan</a>',
--'images_google_co_jp','<a href="http://images.google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Japan ( images )</a>',
--'translate_google_co_jp','<a href="http://translate.google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Japan</a>',
--'google_co_jp','<a href="http://google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Japan ( catchall )</a>',
--'www_google_co_ke','<a href="http://www.google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kenya</a>',
--'images_google_co_ke','<a href="http://images.google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kenya ( images )</a>',
--'translate_google_co_ke','<a href="http://translate.google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Kenya</a>',
--'google_co_ke','<a href="http://google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kenya ( catchall )</a>',
--'www_google_co_kr','<a href="http://www.google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google South Korea</a>',
--'images_google_co_kr','<a href="http://images.google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google South Korea ( images )</a>',
--'translate_google_co_kr','<a href="http://translate.google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate South Korea</a>',
--'google_co_kr','<a href="http://google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google South Korea ( catchall )</a>',
--'www_google_co_ls','<a href="http://www.google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lesotho</a>',
--'images_google_co_ls','<a href="http://images.google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lesotho ( images )</a>',
--'translate_google_co_ls','<a href="http://translate.google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Lesotho</a>',
--'google_co_ls','<a href="http://google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lesotho ( catchall )</a>',
--'www_google_co_ma','<a href="http://www.google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Morocco</a>',
--'images_google_co_ma','<a href="http://images.google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Morocco ( images )</a>',
--'translate_google_co_ma','<a href="http://translate.google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Morocco</a>',
--'google_co_ma','<a href="http://google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Morocco ( catchall )</a>',
--'www_google_co_mz','<a href="http://www.google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mozambique</a>',
--'images_google_co_mz','<a href="http://images.google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mozambique ( images )</a>',
--'translate_google_co_mz','<a href="http://translate.google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Mozambique</a>',
--'google_co_mz','<a href="http://google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mozambique ( catchall )</a>',
--'www_google_co_th','<a href="http://www.google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Thailand</a>',
--'images_google_co_th','<a href="http://images.google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Thailand ( images )</a>',
--'translate_google_co_th','<a href="http://translate.google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Thailand</a>',
--'google_co_th','<a href="http://google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Thailand ( catchall )</a>',
--'www_google_co_tz','<a href="http://www.google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tanzania</a>',
--'images_google_co_tz','<a href="http://images.google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tanzania ( images )</a>',
--'translate_google_co_tz','<a href="http://translate.google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Tanzania</a>',
--'google_co_tz','<a href="http://google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tanzania ( catchall )</a>',
--'www_google_co_ug','<a href="http://www.google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uganda</a>',
--'images_google_co_ug','<a href="http://images.google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uganda ( images )</a>',
--'translate_google_co_ug','<a href="http://translate.google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Uganda</a>',
--'google_co_ug','<a href="http://google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uganda ( catchall )</a>',
--'www_google_co_uz','<a href="http://www.google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uzbekistan</a>',
--'images_google_co_uz','<a href="http://images.google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uzbekistan ( images )</a>',
--'translate_google_co_uz','<a href="http://translate.google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Uzbekistan</a>',
--'google_co_uz','<a href="http://google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uzbekistan ( catchall )</a>',
--'www_google_co_ve','<a href="http://www.google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Venezuela</a>',
-+'www_google_co_uk','<a href="http://www.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United Kingdom</a>',
-+'images_google_co_uk','<a href="http://images.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United Kingdom ( images )</a>',
-+'translate_google_co_uk','<a href="http://translate.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate United Kingdom</a>',
-+'google_co_uk','<a href="http://google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United Kingdom ( catchall )</a>',
-+'www_google_com','<a href="http://www.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google .com</a>',
-+'images_google_com','<a href="http://images.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google .com ( images )</a>',
-+'translate_google_com','<a href="http://translate.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate .com</a>',
-+'google_com','<a href="http://google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google .com ( catchall )</a>',
-+'www_google_de','<a href="http://www.google.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Germany</a>',
-+'images_google_de','<a href="http://images.google.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Germany ( images )</a>',
-+'translate_google_de','<a href="http://translate.google.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Germany</a>',
-+'google_de','<a href="http://google.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Germany ( catchall )</a>',
-+'www_google_fr','<a href="http://www.google.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google France</a>',
-+'images_google_fr','<a href="http://images.google.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google France ( images )</a>',
-+'translate_google_fr','<a href="http://translate.google.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate France</a>',
-+'google_fr','<a href="http://google.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google France ( catchall )</a>',
-+'www_google_ca','<a href="http://www.google.ca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Canada</a>',
-+'images_google_ca','<a href="http://images.google.ca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Canada ( images )</a>',
-+'translate_google_ca','<a href="http://translate.google.ca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Canada</a>',
-+'google_ca','<a href="http://google.ca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Canada ( catchall )</a>',
-+'www_google_es','<a href="http://www.google.es/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Spain</a>',
-+'images_google_es','<a href="http://images.google.es/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Spain ( images )</a>',
-+'translate_google_es','<a href="http://translate.google.es/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Spain</a>',
-+'google_es','<a href="http://google.es/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Spain ( catchall )</a>',
-+'www_google_com_au','<a href="http://www.google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Australia</a>',
-+'images_google_com_au','<a href="http://images.google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Australia ( images )</a>',
-+'translate_google_com_au','<a href="http://translate.google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Australia</a>',
-+'google_com_au','<a href="http://google.com.au/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Australia ( catchall )</a>',
-+'www_google_nl','<a href="http://www.google.nl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Netherlands</a>',
-+'images_google_nl','<a href="http://images.google.nl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Netherlands ( images )</a>',
-+'translate_google_nl','<a href="http://translate.google.nl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Netherlands</a>',
-+'google_nl','<a href="http://google.nl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Netherlands ( catchall )</a>',
-+'www_google_gr','<a href="http://www.google.gr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Greece</a>',
-+'images_google_gr','<a href="http://images.google.gr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Greece ( images )</a>',
-+'translate_google_gr','<a href="http://translate.google.gr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Greece</a>',
-+'google_gr','<a href="http://google.gr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Greece ( catchall )</a>',
-+'www_google_se','<a href="http://www.google.se/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sweden</a>',
-+'images_google_se','<a href="http://images.google.se/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sweden ( images )</a>',
-+'translate_google_se','<a href="http://translate.google.se/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Sweden</a>',
-+'google_se','<a href="http://google.se/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sweden ( catchall )</a>',
-+'www_google_ie','<a href="http://www.google.ie/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ireland</a>',
-+'images_google_ie','<a href="http://images.google.ie/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ireland ( images )</a>',
-+'translate_google_ie','<a href="http://translate.google.ie/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ireland</a>',
-+'google_ie','<a href="http://google.ie/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ireland ( catchall )</a>',
-+'www_google_it','<a href="http://www.google.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Italy</a>',
-+'images_google_it','<a href="http://images.google.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Italy ( images )</a>',
-+'translate_google_it','<a href="http://translate.google.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Italy</a>',
-+'google_it','<a href="http://google.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Italy ( catchall )</a>',
-+'www_google_no','<a href="http://www.google.no/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Norway</a>',
-+'images_google_no','<a href="http://images.google.no/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Norway ( images )</a>',
-+'translate_google_no','<a href="http://translate.google.no/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Norway</a>',
-+'google_no','<a href="http://google.no/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Norway ( catchall )</a>',
-+'www_google_com_tr','<a href="http://www.google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Turkey</a>',
-+'images_google_com_tr','<a href="http://images.google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Turkey ( images )</a>',
-+'translate_google_com_tr','<a href="http://translate.google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Turkey</a>',
-+'google_com_tr','<a href="http://google.com.tr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Turkey ( catchall )</a>',
-+'www_google_co_in','<a href="http://www.google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google India</a>',
-+'images_google_co_in','<a href="http://images.google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google India ( images )</a>',
-+'translate_google_co_in','<a href="http://translate.google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate India</a>',
-+'google_co_in','<a href="http://google.co.in/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google India ( catchall )</a>',
-+'www_google_pt','<a href="http://www.google.pt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Portugal</a>',
-+'images_google_pt','<a href="http://images.google.pt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Portugal ( images )</a>',
-+'translate_google_pt','<a href="http://translate.google.pt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Portugal</a>',
-+'google_pt','<a href="http://google.pt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Portugal ( catchall )</a>',
-+'www_google_hr','<a href="http://www.google.hr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Croatia</a>',
-+'images_google_hr','<a href="http://images.google.hr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Croatia ( images )</a>',
-+'translate_google_hr','<a href="http://translate.google.hr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Croatia</a>',
-+'google_hr','<a href="http://google.hr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Croatia ( catchall )</a>',
-+'www_google_co_nz','<a href="http://www.google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google New Zealand</a>',
-+'images_google_co_nz','<a href="http://images.google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google New Zealand ( images )</a>',
-+'translate_google_co_nz','<a href="http://translate.google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate New Zealand</a>',
-+'google_co_nz','<a href="http://google.co.nz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google New Zealand ( catchall )</a>',
-+'www_google_pl','<a href="http://www.google.pl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Poland</a>',
-+'images_google_pl','<a href="http://images.google.pl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Poland ( images )</a>',
-+'translate_google_pl','<a href="http://translate.google.pl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Poland</a>',
-+'google_pl','<a href="http://google.pl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Poland ( catchall )</a>',
-+'www_google_ac','<a href="http://www.google.ac/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ascension Island</a>',
-+'images_google_ac','<a href="http://images.google.ac/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ascension Island ( images )</a>',
-+'translate_google_ac','<a href="http://translate.google.ac/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ascension Island</a>',
-+'google_ac','<a href="http://google.ac/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ascension Island ( catchall )</a>',
-+'www_google_ad','<a href="http://www.google.ad/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Andorra</a>',
-+'images_google_ad','<a href="http://images.google.ad/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Andorra ( images )</a>',
-+'translate_google_ad','<a href="http://translate.google.ad/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Andorra</a>',
-+'google_ad','<a href="http://google.ad/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Andorra ( catchall )</a>',
-+'www_google_ae','<a href="http://www.google.ae/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United Arab Emirates</a>',
-+'images_google_ae','<a href="http://images.google.ae/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United Arab Emirates ( images )</a>',
-+'translate_google_ae','<a href="http://translate.google.ae/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate United Arab Emirates</a>',
-+'google_ae','<a href="http://google.ae/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United Arab Emirates ( catchall )</a>',
-+'www_google_al','<a href="http://www.google.al/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Albania</a>',
-+'images_google_al','<a href="http://images.google.al/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Albania ( images )</a>',
-+'translate_google_al','<a href="http://translate.google.al/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Albania</a>',
-+'google_al','<a href="http://google.al/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Albania ( catchall )</a>',
-+'www_google_am','<a href="http://www.google.am/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Armenia</a>',
-+'images_google_am','<a href="http://images.google.am/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Armenia ( images )</a>',
-+'translate_google_am','<a href="http://translate.google.am/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Armenia</a>',
-+'google_am','<a href="http://google.am/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Armenia ( catchall )</a>',
-+'www_google_as','<a href="http://www.google.as/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google American Samoa</a>',
-+'images_google_as','<a href="http://images.google.as/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google American Samoa ( images )</a>',
-+'translate_google_as','<a href="http://translate.google.as/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate American Samoa</a>',
-+'google_as','<a href="http://google.as/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google American Samoa ( catchall )</a>',
-+'www_google_at','<a href="http://www.google.at/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Austria</a>',
-+'images_google_at','<a href="http://images.google.at/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Austria ( images )</a>',
-+'translate_google_at','<a href="http://translate.google.at/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Austria</a>',
-+'google_at','<a href="http://google.at/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Austria ( catchall )</a>',
-+'www_google_az','<a href="http://www.google.az/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Azerbaijan</a>',
-+'images_google_az','<a href="http://images.google.az/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Azerbaijan ( images )</a>',
-+'translate_google_az','<a href="http://translate.google.az/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Azerbaijan</a>',
-+'google_az','<a href="http://google.az/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Azerbaijan ( catchall )</a>',
-+'www_google_ba','<a href="http://www.google.ba/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bosnia and Herzegovina</a>',
-+'images_google_ba','<a href="http://images.google.ba/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bosnia and Herzegovina ( images )</a>',
-+'translate_google_ba','<a href="http://translate.google.ba/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bosnia and Herzegovina</a>',
-+'google_ba','<a href="http://google.ba/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bosnia and Herzegovina ( catchall )</a>',
-+'www_google_be','<a href="http://www.google.be/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belgium</a>',
-+'images_google_be','<a href="http://images.google.be/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belgium ( images )</a>',
-+'translate_google_be','<a href="http://translate.google.be/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Belgium</a>',
-+'google_be','<a href="http://google.be/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belgium ( catchall )</a>',
-+'www_google_bf','<a href="http://www.google.bf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Burkina Faso</a>',
-+'images_google_bf','<a href="http://images.google.bf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Burkina Faso ( images )</a>',
-+'translate_google_bf','<a href="http://translate.google.bf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Burkina Faso</a>',
-+'google_bf','<a href="http://google.bf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Burkina Faso ( catchall )</a>',
-+'www_google_bg','<a href="http://www.google.bg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bulgaria</a>',
-+'images_google_bg','<a href="http://images.google.bg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bulgaria ( images )</a>',
-+'translate_google_bg','<a href="http://translate.google.bg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bulgaria</a>',
-+'google_bg','<a href="http://google.bg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bulgaria ( catchall )</a>',
-+'www_google_bi','<a href="http://www.google.bi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Burundi</a>',
-+'images_google_bi','<a href="http://images.google.bi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Burundi ( images )</a>',
-+'translate_google_bi','<a href="http://translate.google.bi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Burundi</a>',
-+'google_bi','<a href="http://google.bi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Burundi ( catchall )</a>',
-+'www_google_bj','<a href="http://www.google.bj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Benin</a>',
-+'images_google_bj','<a href="http://images.google.bj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Benin ( images )</a>',
-+'translate_google_bj','<a href="http://translate.google.bj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Benin</a>',
-+'google_bj','<a href="http://google.bj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Benin ( catchall )</a>',
-+'www_google_bs','<a href="http://www.google.bs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bahamas</a>',
-+'images_google_bs','<a href="http://images.google.bs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bahamas ( images )</a>',
-+'translate_google_bs','<a href="http://translate.google.bs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bahamas</a>',
-+'google_bs','<a href="http://google.bs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bahamas ( catchall )</a>',
-+'www_google_bt','<a href="http://www.google.bt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bhutan</a>',
-+'images_google_bt','<a href="http://images.google.bt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bhutan ( images )</a>',
-+'translate_google_bt','<a href="http://translate.google.bt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bhutan</a>',
-+'google_bt','<a href="http://google.bt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bhutan ( catchall )</a>',
-+'www_google_by','<a href="http://www.google.by/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belarus</a>',
-+'images_google_by','<a href="http://images.google.by/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belarus ( images )</a>',
-+'translate_google_by','<a href="http://translate.google.by/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Belarus</a>',
-+'google_by','<a href="http://google.by/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belarus ( catchall )</a>',
-+'www_google_cat','<a href="http://www.google.cat/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Catalan Countries</a>',
-+'images_google_cat','<a href="http://images.google.cat/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Catalan Countries ( images )</a>',
-+'translate_google_cat','<a href="http://translate.google.cat/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Catalan Countries</a>',
-+'google_cat','<a href="http://google.cat/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Catalan Countries ( catchall )</a>',
-+'www_google_cc','<a href="http://www.google.cc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cocos (Keeling) Islands</a>',
-+'images_google_cc','<a href="http://images.google.cc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cocos (Keeling) Islands ( images )</a>',
-+'translate_google_cc','<a href="http://translate.google.cc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cocos (Keeling) Islands</a>',
-+'google_cc','<a href="http://google.cc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cocos (Keeling) Islands ( catchall )</a>',
-+'www_google_cd','<a href="http://www.google.cd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Democratic Republic of the Congo</a>',
-+'images_google_cd','<a href="http://images.google.cd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Democratic Republic of the Congo ( images )</a>',
-+'translate_google_cd','<a href="http://translate.google.cd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Democratic Republic of the Congo</a>',
-+'google_cd','<a href="http://google.cd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Democratic Republic of the Congo ( catchall )</a>',
-+'www_google_cf','<a href="http://www.google.cf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Central African Republic</a>',
-+'images_google_cf','<a href="http://images.google.cf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Central African Republic ( images )</a>',
-+'translate_google_cf','<a href="http://translate.google.cf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Central African Republic</a>',
-+'google_cf','<a href="http://google.cf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Central African Republic ( catchall )</a>',
-+'www_google_cg','<a href="http://www.google.cg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Republic of the Congo</a>',
-+'images_google_cg','<a href="http://images.google.cg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Republic of the Congo ( images )</a>',
-+'translate_google_cg','<a href="http://translate.google.cg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Republic of the Congo</a>',
-+'google_cg','<a href="http://google.cg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Republic of the Congo ( catchall )</a>',
-+'www_google_ch','<a href="http://www.google.ch/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Switzerland</a>',
-+'images_google_ch','<a href="http://images.google.ch/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Switzerland ( images )</a>',
-+'translate_google_ch','<a href="http://translate.google.ch/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Switzerland</a>',
-+'google_ch','<a href="http://google.ch/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Switzerland ( catchall )</a>',
-+'www_google_ci','<a href="http://www.google.ci/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ivory Coast</a>',
-+'images_google_ci','<a href="http://images.google.ci/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ivory Coast ( images )</a>',
-+'translate_google_ci','<a href="http://translate.google.ci/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ivory Coast</a>',
-+'google_ci','<a href="http://google.ci/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ivory Coast ( catchall )</a>',
-+'www_google_cl','<a href="http://www.google.cl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Chile</a>',
-+'images_google_cl','<a href="http://images.google.cl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Chile ( images )</a>',
-+'translate_google_cl','<a href="http://translate.google.cl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Chile</a>',
-+'google_cl','<a href="http://google.cl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Chile ( catchall )</a>',
-+'www_google_cm','<a href="http://www.google.cm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cameroon</a>',
-+'images_google_cm','<a href="http://images.google.cm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cameroon ( images )</a>',
-+'translate_google_cm','<a href="http://translate.google.cm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cameroon</a>',
-+'google_cm','<a href="http://google.cm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cameroon ( catchall )</a>',
-+'www_google_cn','<a href="http://www.google.cn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google China</a>',
-+'images_google_cn','<a href="http://images.google.cn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google China ( images )</a>',
-+'translate_google_cn','<a href="http://translate.google.cn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate China</a>',
-+'google_cn','<a href="http://google.cn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google China ( catchall )</a>',
-+'www_google_co_ao','<a href="http://www.google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Angola</a>',
-+'images_google_co_ao','<a href="http://images.google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Angola ( images )</a>',
-+'translate_google_co_ao','<a href="http://translate.google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Angola</a>',
-+'google_co_ao','<a href="http://google.co.ao/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Angola ( catchall )</a>',
-+'www_google_co_bw','<a href="http://www.google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Botswana</a>',
-+'images_google_co_bw','<a href="http://images.google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Botswana ( images )</a>',
-+'translate_google_co_bw','<a href="http://translate.google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Botswana</a>',
-+'google_co_bw','<a href="http://google.co.bw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Botswana ( catchall )</a>',
-+'www_google_co_ck','<a href="http://www.google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cook Islands</a>',
-+'images_google_co_ck','<a href="http://images.google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cook Islands ( images )</a>',
-+'translate_google_co_ck','<a href="http://translate.google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cook Islands</a>',
-+'google_co_ck','<a href="http://google.co.ck/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cook Islands ( catchall )</a>',
-+'www_google_co_cr','<a href="http://www.google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Costa Rica</a>',
-+'images_google_co_cr','<a href="http://images.google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Costa Rica ( images )</a>',
-+'translate_google_co_cr','<a href="http://translate.google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Costa Rica</a>',
-+'google_co_cr','<a href="http://google.co.cr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Costa Rica ( catchall )</a>',
-+'www_google_co_id','<a href="http://www.google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Indonesia</a>',
-+'images_google_co_id','<a href="http://images.google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Indonesia ( images )</a>',
-+'translate_google_co_id','<a href="http://translate.google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Indonesia</a>',
-+'google_co_id','<a href="http://google.co.id/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Indonesia ( catchall )</a>',
-+'www_google_co_il','<a href="http://www.google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Israel</a>',
-+'images_google_co_il','<a href="http://images.google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Israel ( images )</a>',
-+'translate_google_co_il','<a href="http://translate.google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Israel</a>',
-+'google_co_il','<a href="http://google.co.il/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Israel ( catchall )</a>',
-+'www_google_co_jp','<a href="http://www.google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Japan</a>',
-+'images_google_co_jp','<a href="http://images.google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Japan ( images )</a>',
-+'translate_google_co_jp','<a href="http://translate.google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Japan</a>',
-+'google_co_jp','<a href="http://google.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Japan ( catchall )</a>',
-+'www_google_co_ke','<a href="http://www.google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kenya</a>',
-+'images_google_co_ke','<a href="http://images.google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kenya ( images )</a>',
-+'translate_google_co_ke','<a href="http://translate.google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Kenya</a>',
-+'google_co_ke','<a href="http://google.co.ke/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kenya ( catchall )</a>',
-+'www_google_co_kr','<a href="http://www.google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google South Korea</a>',
-+'images_google_co_kr','<a href="http://images.google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google South Korea ( images )</a>',
-+'translate_google_co_kr','<a href="http://translate.google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate South Korea</a>',
-+'google_co_kr','<a href="http://google.co.kr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google South Korea ( catchall )</a>',
-+'www_google_co_ls','<a href="http://www.google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lesotho</a>',
-+'images_google_co_ls','<a href="http://images.google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lesotho ( images )</a>',
-+'translate_google_co_ls','<a href="http://translate.google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Lesotho</a>',
-+'google_co_ls','<a href="http://google.co.ls/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lesotho ( catchall )</a>',
-+'www_google_co_ma','<a href="http://www.google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Morocco</a>',
-+'images_google_co_ma','<a href="http://images.google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Morocco ( images )</a>',
-+'translate_google_co_ma','<a href="http://translate.google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Morocco</a>',
-+'google_co_ma','<a href="http://google.co.ma/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Morocco ( catchall )</a>',
-+'www_google_co_mz','<a href="http://www.google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mozambique</a>',
-+'images_google_co_mz','<a href="http://images.google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mozambique ( images )</a>',
-+'translate_google_co_mz','<a href="http://translate.google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Mozambique</a>',
-+'google_co_mz','<a href="http://google.co.mz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mozambique ( catchall )</a>',
-+'www_google_co_th','<a href="http://www.google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Thailand</a>',
-+'images_google_co_th','<a href="http://images.google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Thailand ( images )</a>',
-+'translate_google_co_th','<a href="http://translate.google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Thailand</a>',
-+'google_co_th','<a href="http://google.co.th/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Thailand ( catchall )</a>',
-+'www_google_co_tz','<a href="http://www.google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tanzania</a>',
-+'images_google_co_tz','<a href="http://images.google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tanzania ( images )</a>',
-+'translate_google_co_tz','<a href="http://translate.google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Tanzania</a>',
-+'google_co_tz','<a href="http://google.co.tz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tanzania ( catchall )</a>',
-+'www_google_co_ug','<a href="http://www.google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uganda</a>',
-+'images_google_co_ug','<a href="http://images.google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uganda ( images )</a>',
-+'translate_google_co_ug','<a href="http://translate.google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Uganda</a>',
-+'google_co_ug','<a href="http://google.co.ug/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uganda ( catchall )</a>',
-+'www_google_co_uz','<a href="http://www.google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uzbekistan</a>',
-+'images_google_co_uz','<a href="http://images.google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uzbekistan ( images )</a>',
-+'translate_google_co_uz','<a href="http://translate.google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Uzbekistan</a>',
-+'google_co_uz','<a href="http://google.co.uz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uzbekistan ( catchall )</a>',
-+'www_google_co_ve','<a href="http://www.google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Venezuela</a>',
-
--'images_google_co_ve','<a href="http://images.google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Venezuela ( images )</a>',
--'translate_google_co_ve','<a href="http://translate.google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Venezuela</a>',
--'google_co_ve','<a href="http://google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Venezuela ( catchall )</a>',
--'www_google_co_vi','<a href="http://www.google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United States Virgin Islands</a>',
--'images_google_co_vi','<a href="http://images.google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United States Virgin Islands ( images )</a>',
--'translate_google_co_vi','<a href="http://translate.google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate United States Virgin Islands</a>',
--'google_co_vi','<a href="http://google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United States Virgin Islands ( catchall )</a>',
--'www_google_co_za','<a href="http://www.google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google South Africa</a>',
--'images_google_co_za','<a href="http://images.google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google South Africa ( images )</a>',
--'translate_google_co_za','<a href="http://translate.google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate South Africa</a>',
--'google_co_za','<a href="http://google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google South Africa ( catchall )</a>',
--'www_google_co_zm','<a href="http://www.google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Zambia</a>',
--'images_google_co_zm','<a href="http://images.google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Zambia ( images )</a>',
--'translate_google_co_zm','<a href="http://translate.google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Zambia</a>',
--'google_co_zm','<a href="http://google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Zambia ( catchall )</a>',
--'www_google_co_zw','<a href="http://www.google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Zimbabwe</a>',
--'images_google_co_zw','<a href="http://images.google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Zimbabwe ( images )</a>',
--'translate_google_co_zw','<a href="http://translate.google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Zimbabwe</a>',
--'google_co_zw','<a href="http://google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Zimbabwe ( catchall )</a>',
--'www_google_com_af','<a href="http://www.google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Afghanistan</a>',
--'images_google_com_af','<a href="http://images.google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Afghanistan ( images )</a>',
--'translate_google_com_af','<a href="http://translate.google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Afghanistan</a>',
--'google_com_af','<a href="http://google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Afghanistan ( catchall )</a>',
--'www_google_com_ag','<a href="http://www.google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Antigua and Barbuda</a>',
--'images_google_com_ag','<a href="http://images.google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Antigua and Barbuda ( images )</a>',
--'translate_google_com_ag','<a href="http://translate.google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Antigua and Barbuda</a>',
--'google_com_ag','<a href="http://google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Antigua and Barbuda ( catchall )</a>',
--'www_google_com_ai','<a href="http://www.google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Anguilla</a>',
--'images_google_com_ai','<a href="http://images.google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Anguilla ( images )</a>',
--'translate_google_com_ai','<a href="http://translate.google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Anguilla</a>',
--'google_com_ai','<a href="http://google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Anguilla ( catchall )</a>',
--'www_google_com_ar','<a href="http://www.google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Argentina</a>',
--'images_google_com_ar','<a href="http://images.google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Argentina ( images )</a>',
--'translate_google_com_ar','<a href="http://translate.google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Argentina</a>',
--'google_com_ar','<a href="http://google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Argentina ( catchall )</a>',
--'www_google_com_bd','<a href="http://www.google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bangladesh</a>',
--'images_google_com_bd','<a href="http://images.google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bangladesh ( images )</a>',
--'translate_google_com_bd','<a href="http://translate.google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bangladesh</a>',
--'google_com_bd','<a href="http://google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bangladesh ( catchall )</a>',
--'www_google_com_bh','<a href="http://www.google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bahrain</a>',
--'images_google_com_bh','<a href="http://images.google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bahrain ( images )</a>',
--'translate_google_com_bh','<a href="http://translate.google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bahrain</a>',
--'google_com_bh','<a href="http://google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bahrain ( catchall )</a>',
--'www_google_com_bn','<a href="http://www.google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Brunei</a>',
--'images_google_com_bn','<a href="http://images.google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Brunei ( images )</a>',
--'translate_google_com_bn','<a href="http://translate.google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Brunei</a>',
--'google_com_bn','<a href="http://google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Brunei ( catchall )</a>',
--'www_google_com_bo','<a href="http://www.google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bolivia</a>',
--'images_google_com_bo','<a href="http://images.google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bolivia ( images )</a>',
--'translate_google_com_bo','<a href="http://translate.google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Bolivia</a>',
--'google_com_bo','<a href="http://google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Bolivia ( catchall )</a>',
--'www_google_com_br','<a href="http://www.google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Brazil</a>',
--'images_google_com_br','<a href="http://images.google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Brazil ( images )</a>',
--'translate_google_com_br','<a href="http://translate.google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Brazil</a>',
--'google_com_br','<a href="http://google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Brazil ( catchall )</a>',
--'www_google_com_bz','<a href="http://www.google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belize</a>',
--'images_google_com_bz','<a href="http://images.google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belize ( images )</a>',
--'translate_google_com_bz','<a href="http://translate.google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Belize</a>',
--'google_com_bz','<a href="http://google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Belize ( catchall )</a>',
--'www_google_com_co','<a href="http://www.google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Colombia</a>',
--'images_google_com_co','<a href="http://images.google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Colombia ( images )</a>',
--'translate_google_com_co','<a href="http://translate.google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Colombia</a>',
--'google_com_co','<a href="http://google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Colombia ( catchall )</a>',
--'www_google_com_cu','<a href="http://www.google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cuba</a>',
--'images_google_com_cu','<a href="http://images.google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cuba ( images )</a>',
--'translate_google_com_cu','<a href="http://translate.google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cuba</a>',
--'google_com_cu','<a href="http://google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cuba ( catchall )</a>',
--'www_google_com_cy','<a href="http://www.google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cyprus</a>',
--'images_google_com_cy','<a href="http://images.google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cyprus ( images )</a>',
--'translate_google_com_cy','<a href="http://translate.google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cyprus</a>',
--'google_com_cy','<a href="http://google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cyprus ( catchall )</a>',
--'www_google_com_do','<a href="http://www.google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Dominican Republic</a>',
--'images_google_com_do','<a href="http://images.google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Dominican Republic ( images )</a>',
--'translate_google_com_do','<a href="http://translate.google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Dominican Republic</a>',
--'google_com_do','<a href="http://google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Dominican Republic ( catchall )</a>',
--'www_google_com_ec','<a href="http://www.google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ecuador</a>',
--'images_google_com_ec','<a href="http://images.google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ecuador ( images )</a>',
--'translate_google_com_ec','<a href="http://translate.google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ecuador</a>',
--'google_com_ec','<a href="http://google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ecuador ( catchall )</a>',
--'www_google_com_eg','<a href="http://www.google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Egypt</a>',
--'images_google_com_eg','<a href="http://images.google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Egypt ( images )</a>',
--'translate_google_com_eg','<a href="http://translate.google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Egypt</a>',
--'google_com_eg','<a href="http://google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Egypt ( catchall )</a>',
--'www_google_com_et','<a href="http://www.google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ethiopia</a>',
--'images_google_com_et','<a href="http://images.google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ethiopia ( images )</a>',
--'translate_google_com_et','<a href="http://translate.google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ethiopia</a>',
--'google_com_et','<a href="http://google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ethiopia ( catchall )</a>',
--'www_google_com_fj','<a href="http://www.google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Fiji</a>',
--'images_google_com_fj','<a href="http://images.google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Fiji ( images )</a>',
--'translate_google_com_fj','<a href="http://translate.google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Fiji</a>',
--'google_com_fj','<a href="http://google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Fiji ( catchall )</a>',
--'www_google_com_gh','<a href="http://www.google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ghana</a>',
--'images_google_com_gh','<a href="http://images.google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ghana ( images )</a>',
--'translate_google_com_gh','<a href="http://translate.google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ghana</a>',
--'google_com_gh','<a href="http://google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ghana ( catchall )</a>',
--'www_google_com_gi','<a href="http://www.google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gibraltar</a>',
--'images_google_com_gi','<a href="http://images.google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gibraltar ( images )</a>',
--'translate_google_com_gi','<a href="http://translate.google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Gibraltar</a>',
--'google_com_gi','<a href="http://google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gibraltar ( catchall )</a>',
--'www_google_com_gt','<a href="http://www.google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guatemala</a>',
--'images_google_com_gt','<a href="http://images.google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guatemala ( images )</a>',
--'translate_google_com_gt','<a href="http://translate.google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Guatemala</a>',
--'google_com_gt','<a href="http://google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guatemala ( catchall )</a>',
--'www_google_com_hk','<a href="http://www.google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Hong Kong</a>',
--'images_google_com_hk','<a href="http://images.google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Hong Kong ( images )</a>',
--'translate_google_com_hk','<a href="http://translate.google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Hong Kong</a>',
--'google_com_hk','<a href="http://google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Hong Kong ( catchall )</a>',
--'www_google_com_jm','<a href="http://www.google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jamaica</a>',
--'images_google_com_jm','<a href="http://images.google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jamaica ( images )</a>',
--'translate_google_com_jm','<a href="http://translate.google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Jamaica</a>',
--'google_com_jm','<a href="http://google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jamaica ( catchall )</a>',
--'www_google_com_kh','<a href="http://www.google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cambodia</a>',
--'images_google_com_kh','<a href="http://images.google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cambodia ( images )</a>',
--'translate_google_com_kh','<a href="http://translate.google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cambodia</a>',
--'google_com_kh','<a href="http://google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cambodia ( catchall )</a>',
--'www_google_com_kw','<a href="http://www.google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kuwait</a>',
--'images_google_com_kw','<a href="http://images.google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kuwait ( images )</a>',
--'translate_google_com_kw','<a href="http://translate.google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Kuwait</a>',
--'google_com_kw','<a href="http://google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kuwait ( catchall )</a>',
--'www_google_com_lb','<a href="http://www.google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lebanon</a>',
--'images_google_com_lb','<a href="http://images.google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lebanon ( images )</a>',
--'translate_google_com_lb','<a href="http://translate.google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Lebanon</a>',
--'google_com_lb','<a href="http://google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lebanon ( catchall )</a>',
--'www_google_com_lc','<a href="http://www.google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Lucia</a>',
--'images_google_com_lc','<a href="http://images.google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Lucia ( images )</a>',
--'translate_google_com_lc','<a href="http://translate.google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Saint Lucia</a>',
--'google_com_lc','<a href="http://google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Lucia ( catchall )</a>',
--'www_google_com_ly','<a href="http://www.google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Libya</a>',
--'images_google_com_ly','<a href="http://images.google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Libya ( images )</a>',
--'translate_google_com_ly','<a href="http://translate.google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Libya</a>',
--'google_com_ly','<a href="http://google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Libya ( catchall )</a>',
--'www_google_com_mm','<a href="http://www.google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Myanmar</a>',
--'images_google_com_mm','<a href="http://images.google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Myanmar ( images )</a>',
--'translate_google_com_mm','<a href="http://translate.google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Myanmar</a>',
--'google_com_mm','<a href="http://google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Myanmar ( catchall )</a>',
--'www_google_com_mt','<a href="http://www.google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malta</a>',
--'images_google_com_mt','<a href="http://images.google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malta ( images )</a>',
--'translate_google_com_mt','<a href="http://translate.google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Malta</a>',
--'google_com_mt','<a href="http://google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malta ( catchall )</a>',
--'www_google_com_mx','<a href="http://www.google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mexico</a>',
--'images_google_com_mx','<a href="http://images.google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mexico ( images )</a>',
--'translate_google_com_mx','<a href="http://translate.google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Mexico</a>',
--'google_com_mx','<a href="http://google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mexico ( catchall )</a>',
--'www_google_com_my','<a href="http://www.google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malaysia</a>',
--'images_google_com_my','<a href="http://images.google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malaysia ( images )</a>',
--'translate_google_com_my','<a href="http://translate.google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Malaysia</a>',
--'google_com_my','<a href="http://google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malaysia ( catchall )</a>',
--'www_google_com_na','<a href="http://www.google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Namibia</a>',
--'images_google_com_na','<a href="http://images.google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Namibia ( images )</a>',
--'translate_google_com_na','<a href="http://translate.google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Namibia</a>',
--'google_com_na','<a href="http://google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Namibia ( catchall )</a>',
--'www_google_com_nf','<a href="http://www.google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Norfolk Island</a>',
--'images_google_com_nf','<a href="http://images.google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Norfolk Island ( images )</a>',
--'translate_google_com_nf','<a href="http://translate.google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Norfolk Island</a>',
--'google_com_nf','<a href="http://google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Norfolk Island ( catchall )</a>',
--'www_google_com_ng','<a href="http://www.google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nigeria</a>',
--'images_google_com_ng','<a href="http://images.google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nigeria ( images )</a>',
--'translate_google_com_ng','<a href="http://translate.google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Nigeria</a>',
--'google_com_ng','<a href="http://google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nigeria ( catchall )</a>',
--'www_google_com_ni','<a href="http://www.google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nicaragua</a>',
--'images_google_com_ni','<a href="http://images.google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nicaragua ( images )</a>',
--'translate_google_com_ni','<a href="http://translate.google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Nicaragua</a>',
--'google_com_ni','<a href="http://google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nicaragua ( catchall )</a>',
--'www_google_com_np','<a href="http://www.google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nepal</a>',
--'images_google_com_np','<a href="http://images.google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nepal ( images )</a>',
--'translate_google_com_np','<a href="http://translate.google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Nepal</a>',
--'google_com_np','<a href="http://google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nepal ( catchall )</a>',
--'www_google_com_om','<a href="http://www.google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Oman</a>',
--'images_google_com_om','<a href="http://images.google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Oman ( images )</a>',
--'translate_google_com_om','<a href="http://translate.google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Oman</a>',
--'google_com_om','<a href="http://google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Oman ( catchall )</a>',
--'www_google_com_pa','<a href="http://www.google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Panama</a>',
--'images_google_com_pa','<a href="http://images.google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Panama ( images )</a>',
--'translate_google_com_pa','<a href="http://translate.google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Panama</a>',
--'google_com_pa','<a href="http://google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Panama ( catchall )</a>',
--'www_google_com_pe','<a href="http://www.google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Peru</a>',
--'images_google_com_pe','<a href="http://images.google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Peru ( images )</a>',
--'translate_google_com_pe','<a href="http://translate.google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Peru</a>',
--'google_com_pe','<a href="http://google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Peru ( catchall )</a>',
--'www_google_com_pg','<a href="http://www.google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Papua New Guinea</a>',
--'images_google_com_pg','<a href="http://images.google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Papua New Guinea ( images )</a>',
--'translate_google_com_pg','<a href="http://translate.google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Papua New Guinea</a>',
--'google_com_pg','<a href="http://google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Papua New Guinea ( catchall )</a>',
--'www_google_com_ph','<a href="http://www.google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Philippines</a>',
--'images_google_com_ph','<a href="http://images.google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Philippines ( images )</a>',
--'translate_google_com_ph','<a href="http://translate.google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Philippines</a>',
--'google_com_ph','<a href="http://google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Philippines ( catchall )</a>',
--'www_google_com_pk','<a href="http://www.google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Pakistan</a>',
--'images_google_com_pk','<a href="http://images.google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Pakistan ( images )</a>',
--'translate_google_com_pk','<a href="http://translate.google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Pakistan</a>',
--'google_com_pk','<a href="http://google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Pakistan ( catchall )</a>',
--'www_google_com_pr','<a href="http://www.google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Puerto Rico</a>',
--'images_google_com_pr','<a href="http://images.google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Puerto Rico ( images )</a>',
--'translate_google_com_pr','<a href="http://translate.google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Puerto Rico</a>',
--'google_com_pr','<a href="http://google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Puerto Rico ( catchall )</a>',
--'www_google_com_py','<a href="http://www.google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Paraguay</a>',
--'images_google_com_py','<a href="http://images.google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Paraguay ( images )</a>',
--'translate_google_com_py','<a href="http://translate.google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Paraguay</a>',
--'google_com_py','<a href="http://google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Paraguay ( catchall )</a>',
--'www_google_com_qa','<a href="http://www.google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Qatar</a>',
--'images_google_com_qa','<a href="http://images.google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Qatar ( images )</a>',
--'translate_google_com_qa','<a href="http://translate.google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Qatar</a>',
--'google_com_qa','<a href="http://google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Qatar ( catchall )</a>',
--'www_google_com_sa','<a href="http://www.google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saudi Arabia</a>',
--'images_google_com_sa','<a href="http://images.google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saudi Arabia ( images )</a>',
--'translate_google_com_sa','<a href="http://translate.google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Saudi Arabia</a>',
--'google_com_sa','<a href="http://google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saudi Arabia ( catchall )</a>',
--'www_google_com_sb','<a href="http://www.google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Solomon Islands</a>',
--'images_google_com_sb','<a href="http://images.google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Solomon Islands ( images )</a>',
--'translate_google_com_sb','<a href="http://translate.google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Solomon Islands</a>',
--'google_com_sb','<a href="http://google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Solomon Islands ( catchall )</a>',
--'www_google_com_sg','<a href="http://www.google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Singapore</a>',
--'images_google_com_sg','<a href="http://images.google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Singapore ( images )</a>',
--'translate_google_com_sg','<a href="http://translate.google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Singapore</a>',
--'google_com_sg','<a href="http://google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Singapore ( catchall )</a>',
--'www_google_com_sl','<a href="http://www.google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sierra Leone</a>',
--'images_google_com_sl','<a href="http://images.google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sierra Leone ( images )</a>',
--'translate_google_com_sl','<a href="http://translate.google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Sierra Leone</a>',
--'google_com_sl','<a href="http://google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sierra Leone ( catchall )</a>',
--'www_google_com_sv','<a href="http://www.google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google El Salvador</a>',
--'images_google_com_sv','<a href="http://images.google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google El Salvador ( images )</a>',
--'translate_google_com_sv','<a href="http://translate.google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate El Salvador</a>',
--'google_com_sv','<a href="http://google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google El Salvador ( catchall )</a>',
--'www_google_com_tj','<a href="http://www.google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tajikistan</a>',
--'images_google_com_tj','<a href="http://images.google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tajikistan ( images )</a>',
--'translate_google_com_tj','<a href="http://translate.google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Tajikistan</a>',
--'google_com_tj','<a href="http://google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tajikistan ( catchall )</a>',
--'www_google_com_tw','<a href="http://www.google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Taiwan</a>',
--'images_google_com_tw','<a href="http://images.google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Taiwan ( images )</a>',
--'translate_google_com_tw','<a href="http://translate.google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Taiwan</a>',
--'google_com_tw','<a href="http://google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Taiwan ( catchall )</a>',
--'www_google_com_ua','<a href="http://www.google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ukraine</a>',
--'images_google_com_ua','<a href="http://images.google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ukraine ( images )</a>',
--'translate_google_com_ua','<a href="http://translate.google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Ukraine</a>',
--'google_com_ua','<a href="http://google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Ukraine ( catchall )</a>',
--'www_google_com_uy','<a href="http://www.google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uruguay</a>',
--'images_google_com_uy','<a href="http://images.google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uruguay ( images )</a>',
--'translate_google_com_uy','<a href="http://translate.google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Uruguay</a>',
--'google_com_uy','<a href="http://google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Uruguay ( catchall )</a>',
--'www_google_com_vc','<a href="http://www.google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Vincent and the Grenadines</a>',
--'images_google_com_vc','<a href="http://images.google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Vincent and the Grenadines ( images )</a>',
--'translate_google_com_vc','<a href="http://translate.google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Saint Vincent and the Grenadines</a>',
--'google_com_vc','<a href="http://google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Vincent and the Grenadines ( catchall )</a>',
--'www_google_com_vn','<a href="http://www.google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Vietnam</a>',
--'images_google_com_vn','<a href="http://images.google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Vietnam ( images )</a>',
--'translate_google_com_vn','<a href="http://translate.google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Vietnam</a>',
--'google_com_vn','<a href="http://google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Vietnam ( catchall )</a>',
--'www_google_cv','<a href="http://www.google.cv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cape Verde</a>',
--'images_google_cv','<a href="http://images.google.cv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cape Verde ( images )</a>',
--'translate_google_cv','<a href="http://translate.google.cv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Cape Verde</a>',
--'google_cv','<a href="http://google.cv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Cape Verde ( catchall )</a>',
--'www_google_cz','<a href="http://www.google.cz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Czech Republic</a>',
--'images_google_cz','<a href="http://images.google.cz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Czech Republic ( images )</a>',
--'translate_google_cz','<a href="http://translate.google.cz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Czech Republic</a>',
--'google_cz','<a href="http://google.cz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Czech Republic ( catchall )</a>',
--'www_google_dj','<a href="http://www.google.dj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Djibouti</a>',
--'images_google_dj','<a href="http://images.google.dj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Djibouti ( images )</a>',
--'translate_google_dj','<a href="http://translate.google.dj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Djibouti</a>',
--'google_dj','<a href="http://google.dj/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Djibouti ( catchall )</a>',
--'www_google_dk','<a href="http://www.google.dk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Denmark</a>',
--'images_google_dk','<a href="http://images.google.dk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Denmark ( images )</a>',
--'translate_google_dk','<a href="http://translate.google.dk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Denmark</a>',
--'google_dk','<a href="http://google.dk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Denmark ( catchall )</a>',
--'www_google_dm','<a href="http://www.google.dm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Dominica</a>',
--'images_google_dm','<a href="http://images.google.dm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Dominica ( images )</a>',
--'translate_google_dm','<a href="http://translate.google.dm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Dominica</a>',
--'google_dm','<a href="http://google.dm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Dominica ( catchall )</a>',
--'www_google_dz','<a href="http://www.google.dz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Algeria</a>',
--'images_google_dz','<a href="http://images.google.dz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Algeria ( images )</a>',
--'translate_google_dz','<a href="http://translate.google.dz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Algeria</a>',
--'google_dz','<a href="http://google.dz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Algeria ( catchall )</a>',
--'www_google_ee','<a href="http://www.google.ee/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Estonia</a>',
--'images_google_ee','<a href="http://images.google.ee/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Estonia ( images )</a>',
--'translate_google_ee','<a href="http://translate.google.ee/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Estonia</a>',
--'google_ee','<a href="http://google.ee/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Estonia ( catchall )</a>',
--'www_google_fi','<a href="http://www.google.fi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Finland</a>',
--'images_google_fi','<a href="http://images.google.fi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Finland ( images )</a>',
--'translate_google_fi','<a href="http://translate.google.fi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Finland</a>',
--'google_fi','<a href="http://google.fi/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Finland ( catchall )</a>',
--'www_google_fm','<a href="http://www.google.fm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Federated States of Micronesia</a>',
--'images_google_fm','<a href="http://images.google.fm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Federated States of Micronesia ( images )</a>',
--'translate_google_fm','<a href="http://translate.google.fm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Federated States of Micronesia</a>',
--'google_fm','<a href="http://google.fm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Federated States of Micronesia ( catchall )</a>',
--'www_google_ga','<a href="http://www.google.ga/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gabon</a>',
--'images_google_ga','<a href="http://images.google.ga/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gabon ( images )</a>',
--'translate_google_ga','<a href="http://translate.google.ga/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Gabon</a>',
--'google_ga','<a href="http://google.ga/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gabon ( catchall )</a>',
--'www_google_ge','<a href="http://www.google.ge/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Georgia</a>',
--'images_google_ge','<a href="http://images.google.ge/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Georgia ( images )</a>',
--'translate_google_ge','<a href="http://translate.google.ge/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Georgia</a>',
--'google_ge','<a href="http://google.ge/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Georgia ( catchall )</a>',
--'www_google_gf','<a href="http://www.google.gf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google French Guiana</a>',
--'images_google_gf','<a href="http://images.google.gf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google French Guiana ( images )</a>',
--'translate_google_gf','<a href="http://translate.google.gf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate French Guiana</a>',
--'google_gf','<a href="http://google.gf/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google French Guiana ( catchall )</a>',
--'www_google_gg','<a href="http://www.google.gg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guernsey</a>',
--'images_google_gg','<a href="http://images.google.gg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guernsey ( images )</a>',
--'translate_google_gg','<a href="http://translate.google.gg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Guernsey</a>',
--'google_gg','<a href="http://google.gg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guernsey ( catchall )</a>',
--'www_google_gl','<a href="http://www.google.gl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Greenland</a>',
--'images_google_gl','<a href="http://images.google.gl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Greenland ( images )</a>',
--'translate_google_gl','<a href="http://translate.google.gl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Greenland</a>',
--'google_gl','<a href="http://google.gl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Greenland ( catchall )</a>',
--'www_google_gm','<a href="http://www.google.gm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gambia</a>',
--'images_google_gm','<a href="http://images.google.gm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gambia ( images )</a>',
--'translate_google_gm','<a href="http://translate.google.gm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Gambia</a>',
--'google_gm','<a href="http://google.gm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Gambia ( catchall )</a>',
--'www_google_gp','<a href="http://www.google.gp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guadeloupe</a>',
--'images_google_gp','<a href="http://images.google.gp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guadeloupe ( images )</a>',
--'translate_google_gp','<a href="http://translate.google.gp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Guadeloupe</a>',
--'google_gp','<a href="http://google.gp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guadeloupe ( catchall )</a>',
--'www_google_gy','<a href="http://www.google.gy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guyana</a>',
--'images_google_gy','<a href="http://images.google.gy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guyana ( images )</a>',
--'translate_google_gy','<a href="http://translate.google.gy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Guyana</a>',
--'google_gy','<a href="http://google.gy/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Guyana ( catchall )</a>',
--'www_google_hn','<a href="http://www.google.hn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Honduras</a>',
--'images_google_hn','<a href="http://images.google.hn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Honduras ( images )</a>',
--'translate_google_hn','<a href="http://translate.google.hn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Honduras</a>',
--'google_hn','<a href="http://google.hn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Honduras ( catchall )</a>',
--'www_google_ht','<a href="http://www.google.ht/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Haiti</a>',
--'images_google_ht','<a href="http://images.google.ht/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Haiti ( images )</a>',
--'translate_google_ht','<a href="http://translate.google.ht/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Haiti</a>',
--'google_ht','<a href="http://google.ht/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Haiti ( catchall )</a>',
--'www_google_hu','<a href="http://www.google.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Hungary</a>',
--'images_google_hu','<a href="http://images.google.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Hungary ( images )</a>',
--'translate_google_hu','<a href="http://translate.google.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Hungary</a>',
--'google_hu','<a href="http://google.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Hungary ( catchall )</a>',
--'www_google_im','<a href="http://www.google.im/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Isle of Man</a>',
--'images_google_im','<a href="http://images.google.im/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Isle of Man ( images )</a>',
--'translate_google_im','<a href="http://translate.google.im/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Isle of Man</a>',
--'google_im','<a href="http://google.im/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Isle of Man ( catchall )</a>',
--'www_google_io','<a href="http://www.google.io/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google British Indian Ocean Territory</a>',
--'images_google_io','<a href="http://images.google.io/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google British Indian Ocean Territory ( images )</a>',
--'translate_google_io','<a href="http://translate.google.io/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate British Indian Ocean Territory</a>',
--'google_io','<a href="http://google.io/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google British Indian Ocean Territory ( catchall )</a>',
--'www_google_iq','<a href="http://www.google.iq/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Iraq</a>',
--'images_google_iq','<a href="http://images.google.iq/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Iraq ( images )</a>',
--'translate_google_iq','<a href="http://translate.google.iq/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Iraq</a>',
--'google_iq','<a href="http://google.iq/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Iraq ( catchall )</a>',
--'www_google_is','<a href="http://www.google.is/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Iceland</a>',
--'images_google_is','<a href="http://images.google.is/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Iceland ( images )</a>',
--'translate_google_is','<a href="http://translate.google.is/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Iceland</a>',
--'google_is','<a href="http://google.is/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Iceland ( catchall )</a>',
--'www_google_je','<a href="http://www.google.je/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jersey</a>',
--'images_google_je','<a href="http://images.google.je/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jersey ( images )</a>',
--'translate_google_je','<a href="http://translate.google.je/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Jersey</a>',
--'google_je','<a href="http://google.je/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jersey ( catchall )</a>',
--'www_google_jo','<a href="http://www.google.jo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jordan</a>',
--'images_google_jo','<a href="http://images.google.jo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jordan ( images )</a>',
--'translate_google_jo','<a href="http://translate.google.jo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Jordan</a>',
--'google_jo','<a href="http://google.jo/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Jordan ( catchall )</a>',
--'www_google_kg','<a href="http://www.google.kg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kyrgyzstan</a>',
--'images_google_kg','<a href="http://images.google.kg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kyrgyzstan ( images )</a>',
--'translate_google_kg','<a href="http://translate.google.kg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Kyrgyzstan</a>',
--'google_kg','<a href="http://google.kg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kyrgyzstan ( catchall )</a>',
--'www_google_ki','<a href="http://www.google.ki/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kiribati</a>',
--'images_google_ki','<a href="http://images.google.ki/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kiribati ( images )</a>',
--'translate_google_ki','<a href="http://translate.google.ki/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Kiribati</a>',
--'google_ki','<a href="http://google.ki/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kiribati ( catchall )</a>',
--'www_google_kz','<a href="http://www.google.kz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kazakhstan</a>',
--'images_google_kz','<a href="http://images.google.kz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kazakhstan ( images )</a>',
--'translate_google_kz','<a href="http://translate.google.kz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Kazakhstan</a>',
--'google_kz','<a href="http://google.kz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Kazakhstan ( catchall )</a>',
--'www_google_la','<a href="http://www.google.la/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Laos</a>',
--'images_google_la','<a href="http://images.google.la/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Laos ( images )</a>',
--'translate_google_la','<a href="http://translate.google.la/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Laos</a>',
--'google_la','<a href="http://google.la/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Laos ( catchall )</a>',
--'www_google_li','<a href="http://www.google.li/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Liechtenstein</a>',
--'images_google_li','<a href="http://images.google.li/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Liechtenstein ( images )</a>',
--'translate_google_li','<a href="http://translate.google.li/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Liechtenstein</a>',
--'google_li','<a href="http://google.li/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Liechtenstein ( catchall )</a>',
--'www_google_lk','<a href="http://www.google.lk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sri Lanka</a>',
--'images_google_lk','<a href="http://images.google.lk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sri Lanka ( images )</a>',
--'translate_google_lk','<a href="http://translate.google.lk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Sri Lanka</a>',
--'google_lk','<a href="http://google.lk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sri Lanka ( catchall )</a>',
--'www_google_lt','<a href="http://www.google.lt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lithuania</a>',
--'images_google_lt','<a href="http://images.google.lt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lithuania ( images )</a>',
--'translate_google_lt','<a href="http://translate.google.lt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Lithuania</a>',
--'google_lt','<a href="http://google.lt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Lithuania ( catchall )</a>',
--'www_google_lu','<a href="http://www.google.lu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Luxembourg</a>',
--'images_google_lu','<a href="http://images.google.lu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Luxembourg ( images )</a>',
--'translate_google_lu','<a href="http://translate.google.lu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Luxembourg</a>',
--'google_lu','<a href="http://google.lu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Luxembourg ( catchall )</a>',
--'www_google_lv','<a href="http://www.google.lv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Latvia</a>',
--'images_google_lv','<a href="http://images.google.lv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Latvia ( images )</a>',
--'translate_google_lv','<a href="http://translate.google.lv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Latvia</a>',
--'google_lv','<a href="http://google.lv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Latvia ( catchall )</a>',
--'www_google_md','<a href="http://www.google.md/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Moldova</a>',
--'images_google_md','<a href="http://images.google.md/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Moldova ( images )</a>',
--'translate_google_md','<a href="http://translate.google.md/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Moldova</a>',
--'google_md','<a href="http://google.md/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Moldova ( catchall )</a>',
--'www_google_me','<a href="http://www.google.me/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Montenegro</a>',
--'images_google_me','<a href="http://images.google.me/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Montenegro ( images )</a>',
--'translate_google_me','<a href="http://translate.google.me/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Montenegro</a>',
--'google_me','<a href="http://google.me/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Montenegro ( catchall )</a>',
--'www_google_mg','<a href="http://www.google.mg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Madagascar</a>',
--'images_google_mg','<a href="http://images.google.mg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Madagascar ( images )</a>',
--'translate_google_mg','<a href="http://translate.google.mg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Madagascar</a>',
--'google_mg','<a href="http://google.mg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Madagascar ( catchall )</a>',
--'www_google_mk','<a href="http://www.google.mk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Macedonia</a>',
--'images_google_mk','<a href="http://images.google.mk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Macedonia ( images )</a>',
--'translate_google_mk','<a href="http://translate.google.mk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Macedonia</a>',
--'google_mk','<a href="http://google.mk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Macedonia ( catchall )</a>',
--'www_google_ml','<a href="http://www.google.ml/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mali</a>',
--'images_google_ml','<a href="http://images.google.ml/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mali ( images )</a>',
--'translate_google_ml','<a href="http://translate.google.ml/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Mali</a>',
--'google_ml','<a href="http://google.ml/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mali ( catchall )</a>',
--'www_google_mn','<a href="http://www.google.mn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mongolia</a>',
--'images_google_mn','<a href="http://images.google.mn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mongolia ( images )</a>',
--'translate_google_mn','<a href="http://translate.google.mn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Mongolia</a>',
--'google_mn','<a href="http://google.mn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mongolia ( catchall )</a>',
--'www_google_ms','<a href="http://www.google.ms/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Montserrat</a>',
--'images_google_ms','<a href="http://images.google.ms/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Montserrat ( images )</a>',
--'translate_google_ms','<a href="http://translate.google.ms/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Montserrat</a>',
--'google_ms','<a href="http://google.ms/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Montserrat ( catchall )</a>',
--'www_google_mu','<a href="http://www.google.mu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mauritius</a>',
--'images_google_mu','<a href="http://images.google.mu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mauritius ( images )</a>',
--'translate_google_mu','<a href="http://translate.google.mu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Mauritius</a>',
--'google_mu','<a href="http://google.mu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Mauritius ( catchall )</a>',
--'www_google_mv','<a href="http://www.google.mv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Maldives</a>',
--'images_google_mv','<a href="http://images.google.mv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Maldives ( images )</a>',
--'translate_google_mv','<a href="http://translate.google.mv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Maldives</a>',
--'google_mv','<a href="http://google.mv/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Maldives ( catchall )</a>',
--'www_google_mw','<a href="http://www.google.mw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malawi</a>',
--'images_google_mw','<a href="http://images.google.mw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malawi ( images )</a>',
--'translate_google_mw','<a href="http://translate.google.mw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Malawi</a>',
--'google_mw','<a href="http://google.mw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Malawi ( catchall )</a>',
--'www_google_ne','<a href="http://www.google.ne/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Niger</a>',
--'images_google_ne','<a href="http://images.google.ne/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Niger ( images )</a>',
--'translate_google_ne','<a href="http://translate.google.ne/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Niger</a>',
--'google_ne','<a href="http://google.ne/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Niger ( catchall )</a>',
--'www_google_nr','<a href="http://www.google.nr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nauru</a>',
--'images_google_nr','<a href="http://images.google.nr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nauru ( images )</a>',
--'translate_google_nr','<a href="http://translate.google.nr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Nauru</a>',
--'google_nr','<a href="http://google.nr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Nauru ( catchall )</a>',
--'www_google_nu','<a href="http://www.google.nu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Niue</a>',
--'images_google_nu','<a href="http://images.google.nu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Niue ( images )</a>',
--'translate_google_nu','<a href="http://translate.google.nu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Niue</a>',
--'google_nu','<a href="http://google.nu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Niue ( catchall )</a>',
--'www_google_pn','<a href="http://www.google.pn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Pitcairn Islands</a>',
--'images_google_pn','<a href="http://images.google.pn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Pitcairn Islands ( images )</a>',
--'translate_google_pn','<a href="http://translate.google.pn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Pitcairn Islands</a>',
--'google_pn','<a href="http://google.pn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Pitcairn Islands ( catchall )</a>',
--'www_google_ps','<a href="http://www.google.ps/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Palestine</a>',
--'images_google_ps','<a href="http://images.google.ps/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Palestine[4] ( images )</a>',
--'translate_google_ps','<a href="http://translate.google.ps/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Palestine[4]</a>',
--'google_ps','<a href="http://google.ps/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Palestine[4] ( catchall )</a>',
--'www_google_ro','<a href="http://www.google.ro/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Romania</a>',
--'images_google_ro','<a href="http://images.google.ro/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Romania ( images )</a>',
--'translate_google_ro','<a href="http://translate.google.ro/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Romania</a>',
--'google_ro','<a href="http://google.ro/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Romania ( catchall )</a>',
--'www_google_rs','<a href="http://www.google.rs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Serbia</a>',
--'images_google_rs','<a href="http://images.google.rs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Serbia ( images )</a>',
--'translate_google_rs','<a href="http://translate.google.rs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Serbia</a>',
--'google_rs','<a href="http://google.rs/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Serbia ( catchall )</a>',
--'www_google_ru','<a href="http://www.google.ru/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Russia</a>',
--'images_google_ru','<a href="http://images.google.ru/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Russia ( images )</a>',
--'translate_google_ru','<a href="http://translate.google.ru/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Russia</a>',
--'google_ru','<a href="http://google.ru/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Russia ( catchall )</a>',
--'www_google_rw','<a href="http://www.google.rw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Rwanda</a>',
--'images_google_rw','<a href="http://images.google.rw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Rwanda ( images )</a>',
--'translate_google_rw','<a href="http://translate.google.rw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Rwanda</a>',
--'google_rw','<a href="http://google.rw/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Rwanda ( catchall )</a>',
--'www_google_sc','<a href="http://www.google.sc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Seychelles</a>',
--'images_google_sc','<a href="http://images.google.sc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Seychelles ( images )</a>',
--'translate_google_sc','<a href="http://translate.google.sc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Seychelles</a>',
--'google_sc','<a href="http://google.sc/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Seychelles ( catchall )</a>',
--'www_google_sh','<a href="http://www.google.sh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Helena and Ascension and Tristan da Cunha</a>',
--'images_google_sh','<a href="http://images.google.sh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Helena and Ascension and Tristan da Cunha ( images )</a>',
--'translate_google_sh','<a href="http://translate.google.sh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Saint Helena and Ascension and Tristan da Cunha</a>',
--'google_sh','<a href="http://google.sh/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Saint Helena and Ascension and Tristan da Cunha ( catchall )</a>',
--'www_google_si','<a href="http://www.google.si/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Slovenia</a>',
--'images_google_si','<a href="http://images.google.si/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Slovenia ( images )</a>',
--'translate_google_si','<a href="http://translate.google.si/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Slovenia</a>',
--'google_si','<a href="http://google.si/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Slovenia ( catchall )</a>',
--'www_google_sk','<a href="http://www.google.sk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Slovakia</a>',
--'images_google_sk','<a href="http://images.google.sk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Slovakia ( images )</a>',
--'translate_google_sk','<a href="http://translate.google.sk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Slovakia</a>',
--'google_sk','<a href="http://google.sk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Slovakia ( catchall )</a>',
--'www_google_sm','<a href="http://www.google.sm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google San Marino</a>',
--'images_google_sm','<a href="http://images.google.sm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google San Marino ( images )</a>',
--'translate_google_sm','<a href="http://translate.google.sm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate San Marino</a>',
--'google_sm','<a href="http://google.sm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google San Marino ( catchall )</a>',
--'www_google_sn','<a href="http://www.google.sn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Senegal</a>',
--'images_google_sn','<a href="http://images.google.sn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Senegal ( images )</a>',
--'translate_google_sn','<a href="http://translate.google.sn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Senegal</a>',
--'google_sn','<a href="http://google.sn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Senegal ( catchall )</a>',
--'www_google_so','<a href="http://www.google.so/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Somalia</a>',
--'images_google_so','<a href="http://images.google.so/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Somalia ( images )</a>',
--'translate_google_so','<a href="http://translate.google.so/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Somalia</a>',
--'google_so','<a href="http://google.so/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Somalia ( catchall )</a>',
--'www_google_sr','<a href="http://www.google.sr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Suriname</a>',
--'images_google_sr','<a href="http://images.google.sr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Suriname ( images )</a>',
--'translate_google_sr','<a href="http://translate.google.sr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Suriname</a>',
--'google_sr','<a href="http://google.sr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Suriname ( catchall )</a>',
--'www_google_st','<a href="http://www.google.st/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sao Tome and Principe</a>',
--'images_google_st','<a href="http://images.google.st/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sao Tome and Principe ( images )</a>',
--'translate_google_st','<a href="http://translate.google.st/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Sao Tome and Principe</a>',
--'google_st','<a href="http://google.st/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Sao Tome and Principe ( catchall )</a>',
--'www_google_td','<a href="http://www.google.td/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Chad</a>',
--'images_google_td','<a href="http://images.google.td/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Chad ( images )</a>',
--'translate_google_td','<a href="http://translate.google.td/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Chad</a>',
--'google_td','<a href="http://google.td/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Chad ( catchall )</a>',
--'www_google_tg','<a href="http://www.google.tg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Togo</a>',
--'images_google_tg','<a href="http://images.google.tg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Togo ( images )</a>',
--'translate_google_tg','<a href="http://translate.google.tg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Togo</a>',
--'google_tg','<a href="http://google.tg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Togo ( catchall )</a>',
--'www_google_tk','<a href="http://www.google.tk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tokelau</a>',
--'images_google_tk','<a href="http://images.google.tk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tokelau ( images )</a>',
--'translate_google_tk','<a href="http://translate.google.tk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Tokelau</a>',
--'google_tk','<a href="http://google.tk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tokelau ( catchall )</a>',
--'www_google_tl','<a href="http://www.google.tl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Timor-Leste</a>',
--'images_google_tl','<a href="http://images.google.tl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Timor-Leste ( images )</a>',
--'translate_google_tl','<a href="http://translate.google.tl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Timor-Leste</a>',
--'google_tl','<a href="http://google.tl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Timor-Leste ( catchall )</a>',
--'www_google_tm','<a href="http://www.google.tm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Turkmenistan</a>',
--'images_google_tm','<a href="http://images.google.tm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Turkmenistan ( images )</a>',
--'translate_google_tm','<a href="http://translate.google.tm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Turkmenistan</a>',
--'google_tm','<a href="http://google.tm/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Turkmenistan ( catchall )</a>',
--'www_google_tn','<a href="http://www.google.tn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tunisia</a>',
--'images_google_tn','<a href="http://images.google.tn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tunisia ( images )</a>',
--'translate_google_tn','<a href="http://translate.google.tn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Tunisia</a>',
--'google_tn','<a href="http://google.tn/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tunisia ( catchall )</a>',
--'www_google_to','<a href="http://www.google.to/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tonga</a>',
--'images_google_to','<a href="http://images.google.to/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tonga ( images )</a>',
--'translate_google_to','<a href="http://translate.google.to/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Tonga</a>',
--'google_to','<a href="http://google.to/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Tonga ( catchall )</a>',
--'www_google_tt','<a href="http://www.google.tt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Trinidad and Tobago</a>',
--'images_google_tt','<a href="http://images.google.tt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Trinidad and Tobago ( images )</a>',
--'translate_google_tt','<a href="http://translate.google.tt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Trinidad and Tobago</a>',
--'google_tt','<a href="http://google.tt/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Trinidad and Tobago ( catchall )</a>',
--'www_google_us','<a href="http://www.google.us/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United States</a>',
--'images_google_us','<a href="http://images.google.us/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United States ( images )</a>',
--'translate_google_us','<a href="http://translate.google.us/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate United States</a>',
--'google_us','<a href="http://google.us/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google United States ( catchall )</a>',
--'www_google_vg','<a href="http://www.google.vg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google British Virgin Islands</a>',
--'images_google_vg','<a href="http://images.google.vg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google British Virgin Islands ( images )</a>',
--'translate_google_vg','<a href="http://translate.google.vg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate British Virgin Islands</a>',
--'google_vg','<a href="http://google.vg/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google British Virgin Islands ( catchall )</a>',
--'www_google_vu','<a href="http://www.google.vu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Vanuatu</a>',
--'images_google_vu','<a href="http://images.google.vu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Vanuatu ( images )</a>',
--'translate_google_vu','<a href="http://translate.google.vu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Vanuatu</a>',
--'google_vu','<a href="http://google.vu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Vanuatu ( catchall )</a>',
--'www_google_ws','<a href="http://www.google.ws/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Samoa</a>',
--'images_google_ws','<a href="http://images.google.ws/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Samoa ( images )</a>',
--'translate_google_ws','<a href="http://translate.google.ws/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate Samoa</a>',
--'google_ws','<a href="http://google.ws/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Samoa ( catchall )</a>',
-+'images_google_co_ve','<a href="http://images.google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Venezuela ( images )</a>',
-+'translate_google_co_ve','<a href="http://translate.google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Venezuela</a>',
-+'google_co_ve','<a href="http://google.co.ve/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Venezuela ( catchall )</a>',
-+'www_google_co_vi','<a href="http://www.google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United States Virgin Islands</a>',
-+'images_google_co_vi','<a href="http://images.google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United States Virgin Islands ( images )</a>',
-+'translate_google_co_vi','<a href="http://translate.google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate United States Virgin Islands</a>',
-+'google_co_vi','<a href="http://google.co.vi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United States Virgin Islands ( catchall )</a>',
-+'www_google_co_za','<a href="http://www.google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google South Africa</a>',
-+'images_google_co_za','<a href="http://images.google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google South Africa ( images )</a>',
-+'translate_google_co_za','<a href="http://translate.google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate South Africa</a>',
-+'google_co_za','<a href="http://google.co.za/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google South Africa ( catchall )</a>',
-+'www_google_co_zm','<a href="http://www.google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Zambia</a>',
-+'images_google_co_zm','<a href="http://images.google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Zambia ( images )</a>',
-+'translate_google_co_zm','<a href="http://translate.google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Zambia</a>',
-+'google_co_zm','<a href="http://google.co.zm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Zambia ( catchall )</a>',
-+'www_google_co_zw','<a href="http://www.google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Zimbabwe</a>',
-+'images_google_co_zw','<a href="http://images.google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Zimbabwe ( images )</a>',
-+'translate_google_co_zw','<a href="http://translate.google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Zimbabwe</a>',
-+'google_co_zw','<a href="http://google.co.zw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Zimbabwe ( catchall )</a>',
-+'www_google_com_af','<a href="http://www.google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Afghanistan</a>',
-+'images_google_com_af','<a href="http://images.google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Afghanistan ( images )</a>',
-+'translate_google_com_af','<a href="http://translate.google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Afghanistan</a>',
-+'google_com_af','<a href="http://google.com.af/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Afghanistan ( catchall )</a>',
-+'www_google_com_ag','<a href="http://www.google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Antigua and Barbuda</a>',
-+'images_google_com_ag','<a href="http://images.google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Antigua and Barbuda ( images )</a>',
-+'translate_google_com_ag','<a href="http://translate.google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Antigua and Barbuda</a>',
-+'google_com_ag','<a href="http://google.com.ag/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Antigua and Barbuda ( catchall )</a>',
-+'www_google_com_ai','<a href="http://www.google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Anguilla</a>',
-+'images_google_com_ai','<a href="http://images.google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Anguilla ( images )</a>',
-+'translate_google_com_ai','<a href="http://translate.google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Anguilla</a>',
-+'google_com_ai','<a href="http://google.com.ai/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Anguilla ( catchall )</a>',
-+'www_google_com_ar','<a href="http://www.google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Argentina</a>',
-+'images_google_com_ar','<a href="http://images.google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Argentina ( images )</a>',
-+'translate_google_com_ar','<a href="http://translate.google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Argentina</a>',
-+'google_com_ar','<a href="http://google.com.ar/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Argentina ( catchall )</a>',
-+'www_google_com_bd','<a href="http://www.google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bangladesh</a>',
-+'images_google_com_bd','<a href="http://images.google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bangladesh ( images )</a>',
-+'translate_google_com_bd','<a href="http://translate.google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bangladesh</a>',
-+'google_com_bd','<a href="http://google.com.bd/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bangladesh ( catchall )</a>',
-+'www_google_com_bh','<a href="http://www.google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bahrain</a>',
-+'images_google_com_bh','<a href="http://images.google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bahrain ( images )</a>',
-+'translate_google_com_bh','<a href="http://translate.google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bahrain</a>',
-+'google_com_bh','<a href="http://google.com.bh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bahrain ( catchall )</a>',
-+'www_google_com_bn','<a href="http://www.google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Brunei</a>',
-+'images_google_com_bn','<a href="http://images.google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Brunei ( images )</a>',
-+'translate_google_com_bn','<a href="http://translate.google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Brunei</a>',
-+'google_com_bn','<a href="http://google.com.bn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Brunei ( catchall )</a>',
-+'www_google_com_bo','<a href="http://www.google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bolivia</a>',
-+'images_google_com_bo','<a href="http://images.google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bolivia ( images )</a>',
-+'translate_google_com_bo','<a href="http://translate.google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Bolivia</a>',
-+'google_com_bo','<a href="http://google.com.bo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Bolivia ( catchall )</a>',
-+'www_google_com_br','<a href="http://www.google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Brazil</a>',
-+'images_google_com_br','<a href="http://images.google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Brazil ( images )</a>',
-+'translate_google_com_br','<a href="http://translate.google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Brazil</a>',
-+'google_com_br','<a href="http://google.com.br/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Brazil ( catchall )</a>',
-+'www_google_com_bz','<a href="http://www.google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belize</a>',
-+'images_google_com_bz','<a href="http://images.google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belize ( images )</a>',
-+'translate_google_com_bz','<a href="http://translate.google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Belize</a>',
-+'google_com_bz','<a href="http://google.com.bz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Belize ( catchall )</a>',
-+'www_google_com_co','<a href="http://www.google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Colombia</a>',
-+'images_google_com_co','<a href="http://images.google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Colombia ( images )</a>',
-+'translate_google_com_co','<a href="http://translate.google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Colombia</a>',
-+'google_com_co','<a href="http://google.com.co/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Colombia ( catchall )</a>',
-+'www_google_com_cu','<a href="http://www.google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cuba</a>',
-+'images_google_com_cu','<a href="http://images.google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cuba ( images )</a>',
-+'translate_google_com_cu','<a href="http://translate.google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cuba</a>',
-+'google_com_cu','<a href="http://google.com.cu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cuba ( catchall )</a>',
-+'www_google_com_cy','<a href="http://www.google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cyprus</a>',
-+'images_google_com_cy','<a href="http://images.google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cyprus ( images )</a>',
-+'translate_google_com_cy','<a href="http://translate.google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cyprus</a>',
-+'google_com_cy','<a href="http://google.com.cy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cyprus ( catchall )</a>',
-+'www_google_com_do','<a href="http://www.google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Dominican Republic</a>',
-+'images_google_com_do','<a href="http://images.google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Dominican Republic ( images )</a>',
-+'translate_google_com_do','<a href="http://translate.google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Dominican Republic</a>',
-+'google_com_do','<a href="http://google.com.do/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Dominican Republic ( catchall )</a>',
-+'www_google_com_ec','<a href="http://www.google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ecuador</a>',
-+'images_google_com_ec','<a href="http://images.google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ecuador ( images )</a>',
-+'translate_google_com_ec','<a href="http://translate.google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ecuador</a>',
-+'google_com_ec','<a href="http://google.com.ec/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ecuador ( catchall )</a>',
-+'www_google_com_eg','<a href="http://www.google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Egypt</a>',
-+'images_google_com_eg','<a href="http://images.google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Egypt ( images )</a>',
-+'translate_google_com_eg','<a href="http://translate.google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Egypt</a>',
-+'google_com_eg','<a href="http://google.com.eg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Egypt ( catchall )</a>',
-+'www_google_com_et','<a href="http://www.google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ethiopia</a>',
-+'images_google_com_et','<a href="http://images.google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ethiopia ( images )</a>',
-+'translate_google_com_et','<a href="http://translate.google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ethiopia</a>',
-+'google_com_et','<a href="http://google.com.et/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ethiopia ( catchall )</a>',
-+'www_google_com_fj','<a href="http://www.google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Fiji</a>',
-+'images_google_com_fj','<a href="http://images.google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Fiji ( images )</a>',
-+'translate_google_com_fj','<a href="http://translate.google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Fiji</a>',
-+'google_com_fj','<a href="http://google.com.fj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Fiji ( catchall )</a>',
-+'www_google_com_gh','<a href="http://www.google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ghana</a>',
-+'images_google_com_gh','<a href="http://images.google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ghana ( images )</a>',
-+'translate_google_com_gh','<a href="http://translate.google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ghana</a>',
-+'google_com_gh','<a href="http://google.com.gh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ghana ( catchall )</a>',
-+'www_google_com_gi','<a href="http://www.google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gibraltar</a>',
-+'images_google_com_gi','<a href="http://images.google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gibraltar ( images )</a>',
-+'translate_google_com_gi','<a href="http://translate.google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Gibraltar</a>',
-+'google_com_gi','<a href="http://google.com.gi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gibraltar ( catchall )</a>',
-+'www_google_com_gt','<a href="http://www.google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guatemala</a>',
-+'images_google_com_gt','<a href="http://images.google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guatemala ( images )</a>',
-+'translate_google_com_gt','<a href="http://translate.google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Guatemala</a>',
-+'google_com_gt','<a href="http://google.com.gt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guatemala ( catchall )</a>',
-+'www_google_com_hk','<a href="http://www.google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Hong Kong</a>',
-+'images_google_com_hk','<a href="http://images.google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Hong Kong ( images )</a>',
-+'translate_google_com_hk','<a href="http://translate.google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Hong Kong</a>',
-+'google_com_hk','<a href="http://google.com.hk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Hong Kong ( catchall )</a>',
-+'www_google_com_jm','<a href="http://www.google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jamaica</a>',
-+'images_google_com_jm','<a href="http://images.google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jamaica ( images )</a>',
-+'translate_google_com_jm','<a href="http://translate.google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Jamaica</a>',
-+'google_com_jm','<a href="http://google.com.jm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jamaica ( catchall )</a>',
-+'www_google_com_kh','<a href="http://www.google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cambodia</a>',
-+'images_google_com_kh','<a href="http://images.google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cambodia ( images )</a>',
-+'translate_google_com_kh','<a href="http://translate.google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cambodia</a>',
-+'google_com_kh','<a href="http://google.com.kh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cambodia ( catchall )</a>',
-+'www_google_com_kw','<a href="http://www.google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kuwait</a>',
-+'images_google_com_kw','<a href="http://images.google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kuwait ( images )</a>',
-+'translate_google_com_kw','<a href="http://translate.google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Kuwait</a>',
-+'google_com_kw','<a href="http://google.com.kw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kuwait ( catchall )</a>',
-+'www_google_com_lb','<a href="http://www.google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lebanon</a>',
-+'images_google_com_lb','<a href="http://images.google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lebanon ( images )</a>',
-+'translate_google_com_lb','<a href="http://translate.google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Lebanon</a>',
-+'google_com_lb','<a href="http://google.com.lb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lebanon ( catchall )</a>',
-+'www_google_com_lc','<a href="http://www.google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Lucia</a>',
-+'images_google_com_lc','<a href="http://images.google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Lucia ( images )</a>',
-+'translate_google_com_lc','<a href="http://translate.google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Saint Lucia</a>',
-+'google_com_lc','<a href="http://google.com.lc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Lucia ( catchall )</a>',
-+'www_google_com_ly','<a href="http://www.google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Libya</a>',
-+'images_google_com_ly','<a href="http://images.google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Libya ( images )</a>',
-+'translate_google_com_ly','<a href="http://translate.google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Libya</a>',
-+'google_com_ly','<a href="http://google.com.ly/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Libya ( catchall )</a>',
-+'www_google_com_mm','<a href="http://www.google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Myanmar</a>',
-+'images_google_com_mm','<a href="http://images.google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Myanmar ( images )</a>',
-+'translate_google_com_mm','<a href="http://translate.google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Myanmar</a>',
-+'google_com_mm','<a href="http://google.com.mm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Myanmar ( catchall )</a>',
-+'www_google_com_mt','<a href="http://www.google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malta</a>',
-+'images_google_com_mt','<a href="http://images.google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malta ( images )</a>',
-+'translate_google_com_mt','<a href="http://translate.google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Malta</a>',
-+'google_com_mt','<a href="http://google.com.mt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malta ( catchall )</a>',
-+'www_google_com_mx','<a href="http://www.google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mexico</a>',
-+'images_google_com_mx','<a href="http://images.google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mexico ( images )</a>',
-+'translate_google_com_mx','<a href="http://translate.google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Mexico</a>',
-+'google_com_mx','<a href="http://google.com.mx/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mexico ( catchall )</a>',
-+'www_google_com_my','<a href="http://www.google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malaysia</a>',
-+'images_google_com_my','<a href="http://images.google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malaysia ( images )</a>',
-+'translate_google_com_my','<a href="http://translate.google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Malaysia</a>',
-+'google_com_my','<a href="http://google.com.my/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malaysia ( catchall )</a>',
-+'www_google_com_na','<a href="http://www.google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Namibia</a>',
-+'images_google_com_na','<a href="http://images.google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Namibia ( images )</a>',
-+'translate_google_com_na','<a href="http://translate.google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Namibia</a>',
-+'google_com_na','<a href="http://google.com.na/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Namibia ( catchall )</a>',
-+'www_google_com_nf','<a href="http://www.google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Norfolk Island</a>',
-+'images_google_com_nf','<a href="http://images.google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Norfolk Island ( images )</a>',
-+'translate_google_com_nf','<a href="http://translate.google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Norfolk Island</a>',
-+'google_com_nf','<a href="http://google.com.nf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Norfolk Island ( catchall )</a>',
-+'www_google_com_ng','<a href="http://www.google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nigeria</a>',
-+'images_google_com_ng','<a href="http://images.google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nigeria ( images )</a>',
-+'translate_google_com_ng','<a href="http://translate.google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Nigeria</a>',
-+'google_com_ng','<a href="http://google.com.ng/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nigeria ( catchall )</a>',
-+'www_google_com_ni','<a href="http://www.google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nicaragua</a>',
-+'images_google_com_ni','<a href="http://images.google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nicaragua ( images )</a>',
-+'translate_google_com_ni','<a href="http://translate.google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Nicaragua</a>',
-+'google_com_ni','<a href="http://google.com.ni/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nicaragua ( catchall )</a>',
-+'www_google_com_np','<a href="http://www.google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nepal</a>',
-+'images_google_com_np','<a href="http://images.google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nepal ( images )</a>',
-+'translate_google_com_np','<a href="http://translate.google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Nepal</a>',
-+'google_com_np','<a href="http://google.com.np/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nepal ( catchall )</a>',
-+'www_google_com_om','<a href="http://www.google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Oman</a>',
-+'images_google_com_om','<a href="http://images.google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Oman ( images )</a>',
-+'translate_google_com_om','<a href="http://translate.google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Oman</a>',
-+'google_com_om','<a href="http://google.com.om/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Oman ( catchall )</a>',
-+'www_google_com_pa','<a href="http://www.google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Panama</a>',
-+'images_google_com_pa','<a href="http://images.google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Panama ( images )</a>',
-+'translate_google_com_pa','<a href="http://translate.google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Panama</a>',
-+'google_com_pa','<a href="http://google.com.pa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Panama ( catchall )</a>',
-+'www_google_com_pe','<a href="http://www.google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Peru</a>',
-+'images_google_com_pe','<a href="http://images.google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Peru ( images )</a>',
-+'translate_google_com_pe','<a href="http://translate.google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Peru</a>',
-+'google_com_pe','<a href="http://google.com.pe/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Peru ( catchall )</a>',
-+'www_google_com_pg','<a href="http://www.google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Papua New Guinea</a>',
-+'images_google_com_pg','<a href="http://images.google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Papua New Guinea ( images )</a>',
-+'translate_google_com_pg','<a href="http://translate.google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Papua New Guinea</a>',
-+'google_com_pg','<a href="http://google.com.pg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Papua New Guinea ( catchall )</a>',
-+'www_google_com_ph','<a href="http://www.google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Philippines</a>',
-+'images_google_com_ph','<a href="http://images.google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Philippines ( images )</a>',
-+'translate_google_com_ph','<a href="http://translate.google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Philippines</a>',
-+'google_com_ph','<a href="http://google.com.ph/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Philippines ( catchall )</a>',
-+'www_google_com_pk','<a href="http://www.google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Pakistan</a>',
-+'images_google_com_pk','<a href="http://images.google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Pakistan ( images )</a>',
-+'translate_google_com_pk','<a href="http://translate.google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Pakistan</a>',
-+'google_com_pk','<a href="http://google.com.pk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Pakistan ( catchall )</a>',
-+'www_google_com_pr','<a href="http://www.google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Puerto Rico</a>',
-+'images_google_com_pr','<a href="http://images.google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Puerto Rico ( images )</a>',
-+'translate_google_com_pr','<a href="http://translate.google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Puerto Rico</a>',
-+'google_com_pr','<a href="http://google.com.pr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Puerto Rico ( catchall )</a>',
-+'www_google_com_py','<a href="http://www.google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Paraguay</a>',
-+'images_google_com_py','<a href="http://images.google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Paraguay ( images )</a>',
-+'translate_google_com_py','<a href="http://translate.google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Paraguay</a>',
-+'google_com_py','<a href="http://google.com.py/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Paraguay ( catchall )</a>',
-+'www_google_com_qa','<a href="http://www.google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Qatar</a>',
-+'images_google_com_qa','<a href="http://images.google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Qatar ( images )</a>',
-+'translate_google_com_qa','<a href="http://translate.google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Qatar</a>',
-+'google_com_qa','<a href="http://google.com.qa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Qatar ( catchall )</a>',
-+'www_google_com_sa','<a href="http://www.google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saudi Arabia</a>',
-+'images_google_com_sa','<a href="http://images.google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saudi Arabia ( images )</a>',
-+'translate_google_com_sa','<a href="http://translate.google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Saudi Arabia</a>',
-+'google_com_sa','<a href="http://google.com.sa/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saudi Arabia ( catchall )</a>',
-+'www_google_com_sb','<a href="http://www.google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Solomon Islands</a>',
-+'images_google_com_sb','<a href="http://images.google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Solomon Islands ( images )</a>',
-+'translate_google_com_sb','<a href="http://translate.google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Solomon Islands</a>',
-+'google_com_sb','<a href="http://google.com.sb/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Solomon Islands ( catchall )</a>',
-+'www_google_com_sg','<a href="http://www.google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Singapore</a>',
-+'images_google_com_sg','<a href="http://images.google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Singapore ( images )</a>',
-+'translate_google_com_sg','<a href="http://translate.google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Singapore</a>',
-+'google_com_sg','<a href="http://google.com.sg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Singapore ( catchall )</a>',
-+'www_google_com_sl','<a href="http://www.google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sierra Leone</a>',
-+'images_google_com_sl','<a href="http://images.google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sierra Leone ( images )</a>',
-+'translate_google_com_sl','<a href="http://translate.google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Sierra Leone</a>',
-+'google_com_sl','<a href="http://google.com.sl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sierra Leone ( catchall )</a>',
-+'www_google_com_sv','<a href="http://www.google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google El Salvador</a>',
-+'images_google_com_sv','<a href="http://images.google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google El Salvador ( images )</a>',
-+'translate_google_com_sv','<a href="http://translate.google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate El Salvador</a>',
-+'google_com_sv','<a href="http://google.com.sv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google El Salvador ( catchall )</a>',
-+'www_google_com_tj','<a href="http://www.google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tajikistan</a>',
-+'images_google_com_tj','<a href="http://images.google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tajikistan ( images )</a>',
-+'translate_google_com_tj','<a href="http://translate.google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Tajikistan</a>',
-+'google_com_tj','<a href="http://google.com.tj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tajikistan ( catchall )</a>',
-+'www_google_com_tw','<a href="http://www.google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Taiwan</a>',
-+'images_google_com_tw','<a href="http://images.google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Taiwan ( images )</a>',
-+'translate_google_com_tw','<a href="http://translate.google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Taiwan</a>',
-+'google_com_tw','<a href="http://google.com.tw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Taiwan ( catchall )</a>',
-+'www_google_com_ua','<a href="http://www.google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ukraine</a>',
-+'images_google_com_ua','<a href="http://images.google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ukraine ( images )</a>',
-+'translate_google_com_ua','<a href="http://translate.google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Ukraine</a>',
-+'google_com_ua','<a href="http://google.com.ua/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Ukraine ( catchall )</a>',
-+'www_google_com_uy','<a href="http://www.google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uruguay</a>',
-+'images_google_com_uy','<a href="http://images.google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uruguay ( images )</a>',
-+'translate_google_com_uy','<a href="http://translate.google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Uruguay</a>',
-+'google_com_uy','<a href="http://google.com.uy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Uruguay ( catchall )</a>',
-+'www_google_com_vc','<a href="http://www.google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Vincent and the Grenadines</a>',
-+'images_google_com_vc','<a href="http://images.google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Vincent and the Grenadines ( images )</a>',
-+'translate_google_com_vc','<a href="http://translate.google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Saint Vincent and the Grenadines</a>',
-+'google_com_vc','<a href="http://google.com.vc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Vincent and the Grenadines ( catchall )</a>',
-+'www_google_com_vn','<a href="http://www.google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Vietnam</a>',
-+'images_google_com_vn','<a href="http://images.google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Vietnam ( images )</a>',
-+'translate_google_com_vn','<a href="http://translate.google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Vietnam</a>',
-+'google_com_vn','<a href="http://google.com.vn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Vietnam ( catchall )</a>',
-+'www_google_cv','<a href="http://www.google.cv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cape Verde</a>',
-+'images_google_cv','<a href="http://images.google.cv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cape Verde ( images )</a>',
-+'translate_google_cv','<a href="http://translate.google.cv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Cape Verde</a>',
-+'google_cv','<a href="http://google.cv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Cape Verde ( catchall )</a>',
-+'www_google_cz','<a href="http://www.google.cz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Czech Republic</a>',
-+'images_google_cz','<a href="http://images.google.cz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Czech Republic ( images )</a>',
-+'translate_google_cz','<a href="http://translate.google.cz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Czech Republic</a>',
-+'google_cz','<a href="http://google.cz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Czech Republic ( catchall )</a>',
-+'www_google_dj','<a href="http://www.google.dj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Djibouti</a>',
-+'images_google_dj','<a href="http://images.google.dj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Djibouti ( images )</a>',
-+'translate_google_dj','<a href="http://translate.google.dj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Djibouti</a>',
-+'google_dj','<a href="http://google.dj/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Djibouti ( catchall )</a>',
-+'www_google_dk','<a href="http://www.google.dk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Denmark</a>',
-+'images_google_dk','<a href="http://images.google.dk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Denmark ( images )</a>',
-+'translate_google_dk','<a href="http://translate.google.dk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Denmark</a>',
-+'google_dk','<a href="http://google.dk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Denmark ( catchall )</a>',
-+'www_google_dm','<a href="http://www.google.dm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Dominica</a>',
-+'images_google_dm','<a href="http://images.google.dm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Dominica ( images )</a>',
-+'translate_google_dm','<a href="http://translate.google.dm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Dominica</a>',
-+'google_dm','<a href="http://google.dm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Dominica ( catchall )</a>',
-+'www_google_dz','<a href="http://www.google.dz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Algeria</a>',
-+'images_google_dz','<a href="http://images.google.dz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Algeria ( images )</a>',
-+'translate_google_dz','<a href="http://translate.google.dz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Algeria</a>',
-+'google_dz','<a href="http://google.dz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Algeria ( catchall )</a>',
-+'www_google_ee','<a href="http://www.google.ee/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Estonia</a>',
-+'images_google_ee','<a href="http://images.google.ee/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Estonia ( images )</a>',
-+'translate_google_ee','<a href="http://translate.google.ee/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Estonia</a>',
-+'google_ee','<a href="http://google.ee/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Estonia ( catchall )</a>',
-+'www_google_fi','<a href="http://www.google.fi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Finland</a>',
-+'images_google_fi','<a href="http://images.google.fi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Finland ( images )</a>',
-+'translate_google_fi','<a href="http://translate.google.fi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Finland</a>',
-+'google_fi','<a href="http://google.fi/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Finland ( catchall )</a>',
-+'www_google_fm','<a href="http://www.google.fm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Federated States of Micronesia</a>',
-+'images_google_fm','<a href="http://images.google.fm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Federated States of Micronesia ( images )</a>',
-+'translate_google_fm','<a href="http://translate.google.fm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Federated States of Micronesia</a>',
-+'google_fm','<a href="http://google.fm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Federated States of Micronesia ( catchall )</a>',
-+'www_google_ga','<a href="http://www.google.ga/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gabon</a>',
-+'images_google_ga','<a href="http://images.google.ga/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gabon ( images )</a>',
-+'translate_google_ga','<a href="http://translate.google.ga/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Gabon</a>',
-+'google_ga','<a href="http://google.ga/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gabon ( catchall )</a>',
-+'www_google_ge','<a href="http://www.google.ge/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Georgia</a>',
-+'images_google_ge','<a href="http://images.google.ge/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Georgia ( images )</a>',
-+'translate_google_ge','<a href="http://translate.google.ge/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Georgia</a>',
-+'google_ge','<a href="http://google.ge/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Georgia ( catchall )</a>',
-+'www_google_gf','<a href="http://www.google.gf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google French Guiana</a>',
-+'images_google_gf','<a href="http://images.google.gf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google French Guiana ( images )</a>',
-+'translate_google_gf','<a href="http://translate.google.gf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate French Guiana</a>',
-+'google_gf','<a href="http://google.gf/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google French Guiana ( catchall )</a>',
-+'www_google_gg','<a href="http://www.google.gg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guernsey</a>',
-+'images_google_gg','<a href="http://images.google.gg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guernsey ( images )</a>',
-+'translate_google_gg','<a href="http://translate.google.gg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Guernsey</a>',
-+'google_gg','<a href="http://google.gg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guernsey ( catchall )</a>',
-+'www_google_gl','<a href="http://www.google.gl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Greenland</a>',
-+'images_google_gl','<a href="http://images.google.gl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Greenland ( images )</a>',
-+'translate_google_gl','<a href="http://translate.google.gl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Greenland</a>',
-+'google_gl','<a href="http://google.gl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Greenland ( catchall )</a>',
-+'www_google_gm','<a href="http://www.google.gm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gambia</a>',
-+'images_google_gm','<a href="http://images.google.gm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gambia ( images )</a>',
-+'translate_google_gm','<a href="http://translate.google.gm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Gambia</a>',
-+'google_gm','<a href="http://google.gm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Gambia ( catchall )</a>',
-+'www_google_gp','<a href="http://www.google.gp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guadeloupe</a>',
-+'images_google_gp','<a href="http://images.google.gp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guadeloupe ( images )</a>',
-+'translate_google_gp','<a href="http://translate.google.gp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Guadeloupe</a>',
-+'google_gp','<a href="http://google.gp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guadeloupe ( catchall )</a>',
-+'www_google_gy','<a href="http://www.google.gy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guyana</a>',
-+'images_google_gy','<a href="http://images.google.gy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guyana ( images )</a>',
-+'translate_google_gy','<a href="http://translate.google.gy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Guyana</a>',
-+'google_gy','<a href="http://google.gy/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Guyana ( catchall )</a>',
-+'www_google_hn','<a href="http://www.google.hn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Honduras</a>',
-+'images_google_hn','<a href="http://images.google.hn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Honduras ( images )</a>',
-+'translate_google_hn','<a href="http://translate.google.hn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Honduras</a>',
-+'google_hn','<a href="http://google.hn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Honduras ( catchall )</a>',
-+'www_google_ht','<a href="http://www.google.ht/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Haiti</a>',
-+'images_google_ht','<a href="http://images.google.ht/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Haiti ( images )</a>',
-+'translate_google_ht','<a href="http://translate.google.ht/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Haiti</a>',
-+'google_ht','<a href="http://google.ht/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Haiti ( catchall )</a>',
-+'www_google_hu','<a href="http://www.google.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Hungary</a>',
-+'images_google_hu','<a href="http://images.google.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Hungary ( images )</a>',
-+'translate_google_hu','<a href="http://translate.google.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Hungary</a>',
-+'google_hu','<a href="http://google.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Hungary ( catchall )</a>',
-+'www_google_im','<a href="http://www.google.im/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Isle of Man</a>',
-+'images_google_im','<a href="http://images.google.im/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Isle of Man ( images )</a>',
-+'translate_google_im','<a href="http://translate.google.im/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Isle of Man</a>',
-+'google_im','<a href="http://google.im/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Isle of Man ( catchall )</a>',
-+'www_google_io','<a href="http://www.google.io/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google British Indian Ocean Territory</a>',
-+'images_google_io','<a href="http://images.google.io/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google British Indian Ocean Territory ( images )</a>',
-+'translate_google_io','<a href="http://translate.google.io/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate British Indian Ocean Territory</a>',
-+'google_io','<a href="http://google.io/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google British Indian Ocean Territory ( catchall )</a>',
-+'www_google_iq','<a href="http://www.google.iq/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Iraq</a>',
-+'images_google_iq','<a href="http://images.google.iq/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Iraq ( images )</a>',
-+'translate_google_iq','<a href="http://translate.google.iq/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Iraq</a>',
-+'google_iq','<a href="http://google.iq/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Iraq ( catchall )</a>',
-+'www_google_is','<a href="http://www.google.is/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Iceland</a>',
-+'images_google_is','<a href="http://images.google.is/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Iceland ( images )</a>',
-+'translate_google_is','<a href="http://translate.google.is/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Iceland</a>',
-+'google_is','<a href="http://google.is/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Iceland ( catchall )</a>',
-+'www_google_je','<a href="http://www.google.je/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jersey</a>',
-+'images_google_je','<a href="http://images.google.je/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jersey ( images )</a>',
-+'translate_google_je','<a href="http://translate.google.je/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Jersey</a>',
-+'google_je','<a href="http://google.je/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jersey ( catchall )</a>',
-+'www_google_jo','<a href="http://www.google.jo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jordan</a>',
-+'images_google_jo','<a href="http://images.google.jo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jordan ( images )</a>',
-+'translate_google_jo','<a href="http://translate.google.jo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Jordan</a>',
-+'google_jo','<a href="http://google.jo/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Jordan ( catchall )</a>',
-+'www_google_kg','<a href="http://www.google.kg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kyrgyzstan</a>',
-+'images_google_kg','<a href="http://images.google.kg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kyrgyzstan ( images )</a>',
-+'translate_google_kg','<a href="http://translate.google.kg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Kyrgyzstan</a>',
-+'google_kg','<a href="http://google.kg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kyrgyzstan ( catchall )</a>',
-+'www_google_ki','<a href="http://www.google.ki/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kiribati</a>',
-+'images_google_ki','<a href="http://images.google.ki/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kiribati ( images )</a>',
-+'translate_google_ki','<a href="http://translate.google.ki/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Kiribati</a>',
-+'google_ki','<a href="http://google.ki/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kiribati ( catchall )</a>',
-+'www_google_kz','<a href="http://www.google.kz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kazakhstan</a>',
-+'images_google_kz','<a href="http://images.google.kz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kazakhstan ( images )</a>',
-+'translate_google_kz','<a href="http://translate.google.kz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Kazakhstan</a>',
-+'google_kz','<a href="http://google.kz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Kazakhstan ( catchall )</a>',
-+'www_google_la','<a href="http://www.google.la/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Laos</a>',
-+'images_google_la','<a href="http://images.google.la/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Laos ( images )</a>',
-+'translate_google_la','<a href="http://translate.google.la/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Laos</a>',
-+'google_la','<a href="http://google.la/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Laos ( catchall )</a>',
-+'www_google_li','<a href="http://www.google.li/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Liechtenstein</a>',
-+'images_google_li','<a href="http://images.google.li/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Liechtenstein ( images )</a>',
-+'translate_google_li','<a href="http://translate.google.li/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Liechtenstein</a>',
-+'google_li','<a href="http://google.li/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Liechtenstein ( catchall )</a>',
-+'www_google_lk','<a href="http://www.google.lk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sri Lanka</a>',
-+'images_google_lk','<a href="http://images.google.lk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sri Lanka ( images )</a>',
-+'translate_google_lk','<a href="http://translate.google.lk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Sri Lanka</a>',
-+'google_lk','<a href="http://google.lk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sri Lanka ( catchall )</a>',
-+'www_google_lt','<a href="http://www.google.lt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lithuania</a>',
-+'images_google_lt','<a href="http://images.google.lt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lithuania ( images )</a>',
-+'translate_google_lt','<a href="http://translate.google.lt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Lithuania</a>',
-+'google_lt','<a href="http://google.lt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Lithuania ( catchall )</a>',
-+'www_google_lu','<a href="http://www.google.lu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Luxembourg</a>',
-+'images_google_lu','<a href="http://images.google.lu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Luxembourg ( images )</a>',
-+'translate_google_lu','<a href="http://translate.google.lu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Luxembourg</a>',
-+'google_lu','<a href="http://google.lu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Luxembourg ( catchall )</a>',
-+'www_google_lv','<a href="http://www.google.lv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Latvia</a>',
-+'images_google_lv','<a href="http://images.google.lv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Latvia ( images )</a>',
-+'translate_google_lv','<a href="http://translate.google.lv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Latvia</a>',
-+'google_lv','<a href="http://google.lv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Latvia ( catchall )</a>',
-+'www_google_md','<a href="http://www.google.md/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Moldova</a>',
-+'images_google_md','<a href="http://images.google.md/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Moldova ( images )</a>',
-+'translate_google_md','<a href="http://translate.google.md/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Moldova</a>',
-+'google_md','<a href="http://google.md/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Moldova ( catchall )</a>',
-+'www_google_me','<a href="http://www.google.me/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Montenegro</a>',
-+'images_google_me','<a href="http://images.google.me/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Montenegro ( images )</a>',
-+'translate_google_me','<a href="http://translate.google.me/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Montenegro</a>',
-+'google_me','<a href="http://google.me/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Montenegro ( catchall )</a>',
-+'www_google_mg','<a href="http://www.google.mg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Madagascar</a>',
-+'images_google_mg','<a href="http://images.google.mg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Madagascar ( images )</a>',
-+'translate_google_mg','<a href="http://translate.google.mg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Madagascar</a>',
-+'google_mg','<a href="http://google.mg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Madagascar ( catchall )</a>',
-+'www_google_mk','<a href="http://www.google.mk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Macedonia</a>',
-+'images_google_mk','<a href="http://images.google.mk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Macedonia ( images )</a>',
-+'translate_google_mk','<a href="http://translate.google.mk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Macedonia</a>',
-+'google_mk','<a href="http://google.mk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Macedonia ( catchall )</a>',
-+'www_google_ml','<a href="http://www.google.ml/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mali</a>',
-+'images_google_ml','<a href="http://images.google.ml/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mali ( images )</a>',
-+'translate_google_ml','<a href="http://translate.google.ml/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Mali</a>',
-+'google_ml','<a href="http://google.ml/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mali ( catchall )</a>',
-+'www_google_mn','<a href="http://www.google.mn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mongolia</a>',
-+'images_google_mn','<a href="http://images.google.mn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mongolia ( images )</a>',
-+'translate_google_mn','<a href="http://translate.google.mn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Mongolia</a>',
-+'google_mn','<a href="http://google.mn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mongolia ( catchall )</a>',
-+'www_google_ms','<a href="http://www.google.ms/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Montserrat</a>',
-+'images_google_ms','<a href="http://images.google.ms/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Montserrat ( images )</a>',
-+'translate_google_ms','<a href="http://translate.google.ms/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Montserrat</a>',
-+'google_ms','<a href="http://google.ms/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Montserrat ( catchall )</a>',
-+'www_google_mu','<a href="http://www.google.mu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mauritius</a>',
-+'images_google_mu','<a href="http://images.google.mu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mauritius ( images )</a>',
-+'translate_google_mu','<a href="http://translate.google.mu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Mauritius</a>',
-+'google_mu','<a href="http://google.mu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Mauritius ( catchall )</a>',
-+'www_google_mv','<a href="http://www.google.mv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Maldives</a>',
-+'images_google_mv','<a href="http://images.google.mv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Maldives ( images )</a>',
-+'translate_google_mv','<a href="http://translate.google.mv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Maldives</a>',
-+'google_mv','<a href="http://google.mv/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Maldives ( catchall )</a>',
-+'www_google_mw','<a href="http://www.google.mw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malawi</a>',
-+'images_google_mw','<a href="http://images.google.mw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malawi ( images )</a>',
-+'translate_google_mw','<a href="http://translate.google.mw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Malawi</a>',
-+'google_mw','<a href="http://google.mw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Malawi ( catchall )</a>',
-+'www_google_ne','<a href="http://www.google.ne/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Niger</a>',
-+'images_google_ne','<a href="http://images.google.ne/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Niger ( images )</a>',
-+'translate_google_ne','<a href="http://translate.google.ne/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Niger</a>',
-+'google_ne','<a href="http://google.ne/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Niger ( catchall )</a>',
-+'www_google_nr','<a href="http://www.google.nr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nauru</a>',
-+'images_google_nr','<a href="http://images.google.nr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nauru ( images )</a>',
-+'translate_google_nr','<a href="http://translate.google.nr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Nauru</a>',
-+'google_nr','<a href="http://google.nr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Nauru ( catchall )</a>',
-+'www_google_nu','<a href="http://www.google.nu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Niue</a>',
-+'images_google_nu','<a href="http://images.google.nu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Niue ( images )</a>',
-+'translate_google_nu','<a href="http://translate.google.nu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Niue</a>',
-+'google_nu','<a href="http://google.nu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Niue ( catchall )</a>',
-+'www_google_pn','<a href="http://www.google.pn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Pitcairn Islands</a>',
-+'images_google_pn','<a href="http://images.google.pn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Pitcairn Islands ( images )</a>',
-+'translate_google_pn','<a href="http://translate.google.pn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Pitcairn Islands</a>',
-+'google_pn','<a href="http://google.pn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Pitcairn Islands ( catchall )</a>',
-+'www_google_ps','<a href="http://www.google.ps/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Palestine</a>',
-+'images_google_ps','<a href="http://images.google.ps/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Palestine[4] ( images )</a>',
-+'translate_google_ps','<a href="http://translate.google.ps/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Palestine[4]</a>',
-+'google_ps','<a href="http://google.ps/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Palestine[4] ( catchall )</a>',
-+'www_google_ro','<a href="http://www.google.ro/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Romania</a>',
-+'images_google_ro','<a href="http://images.google.ro/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Romania ( images )</a>',
-+'translate_google_ro','<a href="http://translate.google.ro/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Romania</a>',
-+'google_ro','<a href="http://google.ro/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Romania ( catchall )</a>',
-+'www_google_rs','<a href="http://www.google.rs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Serbia</a>',
-+'images_google_rs','<a href="http://images.google.rs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Serbia ( images )</a>',
-+'translate_google_rs','<a href="http://translate.google.rs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Serbia</a>',
-+'google_rs','<a href="http://google.rs/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Serbia ( catchall )</a>',
-+'www_google_ru','<a href="http://www.google.ru/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Russia</a>',
-+'images_google_ru','<a href="http://images.google.ru/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Russia ( images )</a>',
-+'translate_google_ru','<a href="http://translate.google.ru/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Russia</a>',
-+'google_ru','<a href="http://google.ru/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Russia ( catchall )</a>',
-+'www_google_rw','<a href="http://www.google.rw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Rwanda</a>',
-+'images_google_rw','<a href="http://images.google.rw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Rwanda ( images )</a>',
-+'translate_google_rw','<a href="http://translate.google.rw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Rwanda</a>',
-+'google_rw','<a href="http://google.rw/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Rwanda ( catchall )</a>',
-+'www_google_sc','<a href="http://www.google.sc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Seychelles</a>',
-+'images_google_sc','<a href="http://images.google.sc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Seychelles ( images )</a>',
-+'translate_google_sc','<a href="http://translate.google.sc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Seychelles</a>',
-+'google_sc','<a href="http://google.sc/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Seychelles ( catchall )</a>',
-+'www_google_sh','<a href="http://www.google.sh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Helena and Ascension and Tristan da Cunha</a>',
-+'images_google_sh','<a href="http://images.google.sh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Helena and Ascension and Tristan da Cunha ( images )</a>',
-+'translate_google_sh','<a href="http://translate.google.sh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Saint Helena and Ascension and Tristan da Cunha</a>',
-+'google_sh','<a href="http://google.sh/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Saint Helena and Ascension and Tristan da Cunha ( catchall )</a>',
-+'www_google_si','<a href="http://www.google.si/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Slovenia</a>',
-+'images_google_si','<a href="http://images.google.si/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Slovenia ( images )</a>',
-+'translate_google_si','<a href="http://translate.google.si/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Slovenia</a>',
-+'google_si','<a href="http://google.si/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Slovenia ( catchall )</a>',
-+'www_google_sk','<a href="http://www.google.sk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Slovakia</a>',
-+'images_google_sk','<a href="http://images.google.sk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Slovakia ( images )</a>',
-+'translate_google_sk','<a href="http://translate.google.sk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Slovakia</a>',
-+'google_sk','<a href="http://google.sk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Slovakia ( catchall )</a>',
-+'www_google_sm','<a href="http://www.google.sm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google San Marino</a>',
-+'images_google_sm','<a href="http://images.google.sm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google San Marino ( images )</a>',
-+'translate_google_sm','<a href="http://translate.google.sm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate San Marino</a>',
-+'google_sm','<a href="http://google.sm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google San Marino ( catchall )</a>',
-+'www_google_sn','<a href="http://www.google.sn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Senegal</a>',
-+'images_google_sn','<a href="http://images.google.sn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Senegal ( images )</a>',
-+'translate_google_sn','<a href="http://translate.google.sn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Senegal</a>',
-+'google_sn','<a href="http://google.sn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Senegal ( catchall )</a>',
-+'www_google_so','<a href="http://www.google.so/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Somalia</a>',
-+'images_google_so','<a href="http://images.google.so/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Somalia ( images )</a>',
-+'translate_google_so','<a href="http://translate.google.so/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Somalia</a>',
-+'google_so','<a href="http://google.so/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Somalia ( catchall )</a>',
-+'www_google_sr','<a href="http://www.google.sr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Suriname</a>',
-+'images_google_sr','<a href="http://images.google.sr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Suriname ( images )</a>',
-+'translate_google_sr','<a href="http://translate.google.sr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Suriname</a>',
-+'google_sr','<a href="http://google.sr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Suriname ( catchall )</a>',
-+'www_google_st','<a href="http://www.google.st/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sao Tome and Principe</a>',
-+'images_google_st','<a href="http://images.google.st/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sao Tome and Principe ( images )</a>',
-+'translate_google_st','<a href="http://translate.google.st/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Sao Tome and Principe</a>',
-+'google_st','<a href="http://google.st/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Sao Tome and Principe ( catchall )</a>',
-+'www_google_td','<a href="http://www.google.td/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Chad</a>',
-+'images_google_td','<a href="http://images.google.td/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Chad ( images )</a>',
-+'translate_google_td','<a href="http://translate.google.td/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Chad</a>',
-+'google_td','<a href="http://google.td/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Chad ( catchall )</a>',
-+'www_google_tg','<a href="http://www.google.tg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Togo</a>',
-+'images_google_tg','<a href="http://images.google.tg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Togo ( images )</a>',
-+'translate_google_tg','<a href="http://translate.google.tg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Togo</a>',
-+'google_tg','<a href="http://google.tg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Togo ( catchall )</a>',
-+'www_google_tk','<a href="http://www.google.tk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tokelau</a>',
-+'images_google_tk','<a href="http://images.google.tk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tokelau ( images )</a>',
-+'translate_google_tk','<a href="http://translate.google.tk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Tokelau</a>',
-+'google_tk','<a href="http://google.tk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tokelau ( catchall )</a>',
-+'www_google_tl','<a href="http://www.google.tl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Timor-Leste</a>',
-+'images_google_tl','<a href="http://images.google.tl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Timor-Leste ( images )</a>',
-+'translate_google_tl','<a href="http://translate.google.tl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Timor-Leste</a>',
-+'google_tl','<a href="http://google.tl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Timor-Leste ( catchall )</a>',
-+'www_google_tm','<a href="http://www.google.tm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Turkmenistan</a>',
-+'images_google_tm','<a href="http://images.google.tm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Turkmenistan ( images )</a>',
-+'translate_google_tm','<a href="http://translate.google.tm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Turkmenistan</a>',
-+'google_tm','<a href="http://google.tm/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Turkmenistan ( catchall )</a>',
-+'www_google_tn','<a href="http://www.google.tn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tunisia</a>',
-+'images_google_tn','<a href="http://images.google.tn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tunisia ( images )</a>',
-+'translate_google_tn','<a href="http://translate.google.tn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Tunisia</a>',
-+'google_tn','<a href="http://google.tn/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tunisia ( catchall )</a>',
-+'www_google_to','<a href="http://www.google.to/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tonga</a>',
-+'images_google_to','<a href="http://images.google.to/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tonga ( images )</a>',
-+'translate_google_to','<a href="http://translate.google.to/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Tonga</a>',
-+'google_to','<a href="http://google.to/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Tonga ( catchall )</a>',
-+'www_google_tt','<a href="http://www.google.tt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Trinidad and Tobago</a>',
-+'images_google_tt','<a href="http://images.google.tt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Trinidad and Tobago ( images )</a>',
-+'translate_google_tt','<a href="http://translate.google.tt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Trinidad and Tobago</a>',
-+'google_tt','<a href="http://google.tt/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Trinidad and Tobago ( catchall )</a>',
-+'www_google_us','<a href="http://www.google.us/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United States</a>',
-+'images_google_us','<a href="http://images.google.us/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United States ( images )</a>',
-+'translate_google_us','<a href="http://translate.google.us/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate United States</a>',
-+'google_us','<a href="http://google.us/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google United States ( catchall )</a>',
-+'www_google_vg','<a href="http://www.google.vg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google British Virgin Islands</a>',
-+'images_google_vg','<a href="http://images.google.vg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google British Virgin Islands ( images )</a>',
-+'translate_google_vg','<a href="http://translate.google.vg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate British Virgin Islands</a>',
-+'google_vg','<a href="http://google.vg/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google British Virgin Islands ( catchall )</a>',
-+'www_google_vu','<a href="http://www.google.vu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Vanuatu</a>',
-+'images_google_vu','<a href="http://images.google.vu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Vanuatu ( images )</a>',
-+'translate_google_vu','<a href="http://translate.google.vu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Vanuatu</a>',
-+'google_vu','<a href="http://google.vu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Vanuatu ( catchall )</a>',
-+'www_google_ws','<a href="http://www.google.ws/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Samoa</a>',
-+'images_google_ws','<a href="http://images.google.ws/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Samoa ( images )</a>',
-+'translate_google_ws','<a href="http://translate.google.ws/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate Samoa</a>',
-+'google_ws','<a href="http://google.ws/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Samoa ( catchall )</a>',
-
--'google_cache','<a href="http://www.google.com/help/features.html#cached" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google (cache)</a>',
--'google_froogle','<a href="http://froogle.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Froogle (Google)</a>',
--'google_groups','<a href="http://groups.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google (Groups)</a>',
--'google_maps','<a href="http://maps.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Maps</a>',
--'googleByIP','<a href="http://173.194.35.177/" rel="nofollow" title="Google (Access by IP-Address) [new window]" target="_blank">Google (Access by IP-Address)</a>',
--'google_catchall','<a href="http://www.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google catchall sites not specified</a>',
--'google_products','<a href="http://www.google.com/products" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google (Products)</a>',
--'google_translate','<a href="http://translate.google.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Google Translate ( catchall )</a>',
--'google4counter','<a href="http://www.4-counter.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">4-counter (Google)</a>',
-+'google_cache','<a href="http://www.google.com/help/features.html#cached" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google (cache)</a>',
-+'google_froogle','<a href="http://froogle.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Froogle (Google)</a>',
-+'google_groups','<a href="http://groups.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google (Groups)</a>',
-+'google_maps','<a href="http://maps.google.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Maps</a>',
-+'googleByIP','<a href="http://173.194.35.177/" rel="nofollow noopener noreferrer" title="Google (Access by IP-Address) [new window]" target="_blank">Google (Access by IP-Address)</a>',
-+'google_catchall','<a href="http://www.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google catchall sites not specified</a>',
-+'google_products','<a href="http://www.google.com/products" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google (Products)</a>',
-+'google_translate','<a href="http://translate.google.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Google Translate ( catchall )</a>',
-+'google4counter','<a href="http://www.4-counter.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">4-counter (Google)</a>',
-
- '1klik','1Klik',
--'1search','<a href="http://1search-board.com/" rel="nofollow" target="_blank">1search-board.com</a>',
--'1und1_de','<a href="http://suche.1und1.de/" rel="nofollow" title="1&amp;1 Suche [new window]" target="_blank">1&1 Suche (subdomain "suche")</a>',
--'3721','<a href="http://www.3721.com/" rel="nofollow" target="_blank">3721</a>',
--'a9', '<a href="http://www.a9.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">A9</a>',
-+'1search','<a href="http://1search-board.com/" rel="nofollow noopener noreferrer" target="_blank">1search-board.com</a>',
-+'1und1_de','<a href="http://suche.1und1.de/" rel="nofollow noopener noreferrer" title="1&amp;1 Suche [new window]" target="_blank">1&1 Suche (subdomain "suche")</a>',
-+'3721','<a href="http://www.3721.com/" rel="nofollow noopener noreferrer" target="_blank">3721</a>',
-+'a9', '<a href="http://www.a9.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">A9</a>',
- 'abacho','Abacho',
- 'accoona','<a href="http://cn.accoona.com">Accoona</a>',
--'alexa','<a href="http://www.alexa.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Alexa</a>',
--'aliceit','<a href="http://www.alice.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">alice.it</a>',
--'aliceitmaster','<a href="http://www.alice.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">search.alice.it.master</a>',
-+'alexa','<a href="http://www.alexa.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Alexa</a>',
-+'aliceit','<a href="http://www.alice.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">alice.it</a>',
-+'aliceitmaster','<a href="http://www.alice.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">search.alice.it.master</a>',
- 'allesklar','allesklar.de',
--'allgameshome','<a href="http://my.allgameshome.com/" rel="nofollow" title="AllGamesHome [new window]" target="_blank">AllGamesHome</a>',
--'alltheweb','<a href="http://www.alltheweb.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AllTheWeb</a>',
-+'allgameshome','<a href="http://my.allgameshome.com/" rel="nofollow noopener noreferrer" title="AllGamesHome [new window]" target="_blank">AllGamesHome</a>',
-+'alltheweb','<a href="http://www.alltheweb.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AllTheWeb</a>',
- 'alot','alot',
--'altavista','<a href="http://www.altavista.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AltaVista</a>',
-+'altavista','<a href="http://www.altavista.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AltaVista</a>',
- 'amazon','amazon',
--'androidsearch','<a href="http://www.androidsearch.com/" rel="nofollow" title="androidsearch.com [new window]" target="_blank">androidsearch.com</a>',
--'answerbus','<a href="http://www.answerbus.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Answerbus</a>',
--'anzwers','<a href="http://anzwers.com.au/" title="anzwers.com.au home page [new window]" rel="nofollow" target="_blank">anzwers.com.au</a>',
-+'androidsearch','<a href="http://www.androidsearch.com/" rel="nofollow noopener noreferrer" title="androidsearch.com [new window]" target="_blank">androidsearch.com</a>',
-+'answerbus','<a href="http://www.answerbus.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Answerbus</a>',
-+'anzwers','<a href="http://anzwers.com.au/" title="anzwers.com.au home page [new window]" rel="nofollow noopener noreferrer" target="_blank">anzwers.com.au</a>',
- 'aol_o2suche_de','AOL O2Suche (de)',
--'aolcatchall','<a href="http://search.aol.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AOL catchall countries</a>',
--'aolcom','<a href="http://search.aol.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AOL .com</a>',
--'aolde','<a href="http://suche.aol.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AOL .de</a>',
-+'aolcatchall','<a href="http://search.aol.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AOL catchall countries</a>',
-+'aolcom','<a href="http://search.aol.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AOL .com</a>',
-+'aolde','<a href="http://suche.aol.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AOL .de</a>',
- 'aolfr','AOL (fr)',
--'aolpl','<a href="http://search.aol.pl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AOL .pl</a>',
--'aolsearchde','<a href="http://de.aolsearch.com/" rel="nofollow" title="AOL Search Home Page [new window]" target="_blank">AOL Search de</a>',
--'aoluk','<a href="http://search.aol.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AOL .uk</a>',
-+'aolpl','<a href="http://search.aol.pl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AOL .pl</a>',
-+'aolsearchde','<a href="http://de.aolsearch.com/" rel="nofollow noopener noreferrer" title="AOL Search Home Page [new window]" target="_blank">AOL Search de</a>',
-+'aoluk','<a href="http://search.aol.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AOL .uk</a>',
- 'aport','Aport',
--'arianna','<a href="http://arianna.libero.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Arianna</a>',
--'asevenboard','<a href="http://asevenboard.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">asevenboard</a>',
--'askcatchall','<a href="http://www.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask catchall sites</a>',
--'askde','<a href="http://de.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask Deutschland</a>',
--'askes','<a href="http://es.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask Espana</a>', # break out Ask country specific engines.
--'askfr','<a href="http://fr.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask France</a>',
-+'arianna','<a href="http://arianna.libero.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Arianna</a>',
-+'asevenboard','<a href="http://asevenboard.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">asevenboard</a>',
-+'askcatchall','<a href="http://www.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask catchall sites</a>',
-+'askde','<a href="http://de.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask Deutschland</a>',
-+'askes','<a href="http://es.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask Espana</a>', # break out Ask country specific engines.
-+'askfr','<a href="http://fr.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask France</a>',
- 'askimages','ask images',
--'askit','<a href="http://it.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask Italia</a>',
--'askjp','<a href="http://www.ask.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask Japan</a>',
--'asknl','<a href="http://nl.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask Nederland</a>',
--'askuk','<a href="http://uk.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ask UK</a>',
-+'askit','<a href="http://it.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask Italia</a>',
-+'askjp','<a href="http://www.ask.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask Japan</a>',
-+'asknl','<a href="http://nl.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask Nederland</a>',
-+'askuk','<a href="http://uk.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ask UK</a>',
- 'atlanticbb','atlanticbb',
- 'atlas','Atlas.cz',
- 'atomz','Atomz',
--'att','<a href="http://www.att.net/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">AT&T search (powered by Google)</a>',
-+'att','<a href="http://www.att.net/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">AT&T search (powered by Google)</a>',
- 'auone','auone',
--'avantfind','<a href="http://www.avantfind.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Avantfind</a>',
-+'avantfind','<a href="http://www.avantfind.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Avantfind</a>',
- 'avg','avg',
--'babylon','<a href="http://search.babylon.com/" title="search.babylon.com" rel="nofollow" target="_blank">Babylon</a>',
--'baidu','<a href="http://www.baidu.com/" rel="nofollow" target="_blank">Baidu</a>',
-+'babylon','<a href="http://search.babylon.com/" title="search.babylon.com" rel="nofollow noopener noreferrer" target="_blank">Babylon</a>',
-+'baidu','<a href="http://www.baidu.com/" rel="nofollow noopener noreferrer" target="_blank">Baidu</a>',
- 'bbc','BBC',
--'benefind','<a href="http://www.benefind.de/" rel="nofollow" title="benefind Home Page [new window]" target="_blank">benefind</a>',
--'biglotron','<a href="http://www.biglotron.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Biglotron</a>',
--'bing','<a href="http://www.bing.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Bing</a>',
-+'benefind','<a href="http://www.benefind.de/" rel="nofollow noopener noreferrer" title="benefind Home Page [new window]" target="_blank">benefind</a>',
-+'biglotron','<a href="http://www.biglotron.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Biglotron</a>',
-+'bing','<a href="http://www.bing.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Bing</a>',
- 'blekko','blekko',
--'blingo','<a href="http://www.blingo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Blingo</a>',
-+'blingo','<a href="http://www.blingo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Blingo</a>',
- 'bluewin','bluewin',
- 'bt','BT',
--'bungeebonesdotcom','<a href="http://BungeeBones.com/search.php/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">BungeeBones</a>',
--'centraldatabase','<a href="http://search.centraldatabase.org/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">GPU p2p search</a>',
-+'bungeebonesdotcom','<a href="http://BungeeBones.com/search.php/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">BungeeBones</a>',
-+'centraldatabase','<a href="http://search.centraldatabase.org/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">GPU p2p search</a>',
- 'centrum','Centrum.cz',
- 'centurylink','centurylink',
--'certifiedtoolbarsearch','<a href="http://search.certified-toolbar.com/" rel="nofollow" title="Certified-Toolbar Search [new window]" target="_blank">Certified-Toolbar Search</a>',
-+'certifiedtoolbarsearch','<a href="http://search.certified-toolbar.com/" rel="nofollow noopener noreferrer" title="Certified-Toolbar Search [new window]" target="_blank">Certified-Toolbar Search</a>',
- 'charter','charter',
- 'chatzum','chatzum',
- 'checkparams','checkparams',
--'chelloat','<a href="http://www.chello.at/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Austria</a>',
--'chellobe','<a href="http://www.chello.be/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Belgium</a>',
--'chellocom','<a href="http://www.chello.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello (Country not recognized)</a>',
--'chellocz','<a href="http://www.chello.cz/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Czech Republic</a>',
--'chellofr','<a href="http://www.chello.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello France</a>',
--'chellohu','<a href="http://www.chello.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Hungary</a>',
--'chellonl','<a href="http://www.chello.nl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Netherlands</a>',
--'chellono','<a href="http://www.chello.no/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Norway</a>',
--'chellopl','<a href="http://www.chello.pl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Poland</a>',
--'chellose','<a href="http://www.chello.se/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Sweden</a>',
--'chellosk','<a href="http://www.chello.sk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Chello Slovakia</a>',
--'clarosearch','<a href="http://www.claro-search.com/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Claro Search</a>',
-+'chelloat','<a href="http://www.chello.at/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Austria</a>',
-+'chellobe','<a href="http://www.chello.be/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Belgium</a>',
-+'chellocom','<a href="http://www.chello.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello (Country not recognized)</a>',
-+'chellocz','<a href="http://www.chello.cz/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Czech Republic</a>',
-+'chellofr','<a href="http://www.chello.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello France</a>',
-+'chellohu','<a href="http://www.chello.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Hungary</a>',
-+'chellonl','<a href="http://www.chello.nl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Netherlands</a>',
-+'chellono','<a href="http://www.chello.no/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Norway</a>',
-+'chellopl','<a href="http://www.chello.pl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Poland</a>',
-+'chellose','<a href="http://www.chello.se/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Sweden</a>',
-+'chellosk','<a href="http://www.chello.sk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Chello Slovakia</a>',
-+'clarosearch','<a href="http://www.claro-search.com/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Claro Search</a>',
- 'clinck','clinck',
- 'clubinternet', 'Club-internet',
--'clusty','<a href="http://www.clusty.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Clusty</a>',
-+'clusty','<a href="http://www.clusty.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Clusty</a>',
- 'comcast','comcast',
--'comettoolbar','<a href="http://as.starware.com/dp/search" title="Comet toolbar search home page [new window]" rel="nofollow" target="_blank">Comet toolbar search</a>',
-+'comettoolbar','<a href="http://as.starware.com/dp/search" title="Comet toolbar search home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Comet toolbar search</a>',
- 'conduit','conduit',
--'copernic','<a href="http://www.copernic.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Copernic</a>',
--'crawler','<a href="http://www.crawler.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">crawler.com</a>',
-+'copernic','<a href="http://www.copernic.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Copernic</a>',
-+'crawler','<a href="http://www.crawler.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">crawler.com</a>',
- 'ctrouve','C\'est trouve',
--'dalesearch','<a href="http://www.dalesearch.com/" rel="nofollow" title="Dale Search [new window]" target="_blank">Dale Search</a>',
-+'dalesearch','<a href="http://www.dalesearch.com/" rel="nofollow noopener noreferrer" title="Dale Search [new window]" target="_blank">Dale Search</a>',
- 'danielsen','Thor (danielsen.com)',
- 'daum','daum',
--'de_dolphin_com','<a href="http://de.dolphin.com/" rel="nofollow" title="Dolphin Search search page [new window]" target="_blank">Dolphin Search</a>',
--'de_wiki_gov_cn','<a href="http://de.wiki.gov.cn/" rel="nofollow" title="Wiki Sucher [new window]" target="_blank">Wiki Sucher</a>',
-+'de_dolphin_com','<a href="http://de.dolphin.com/" rel="nofollow noopener noreferrer" title="Dolphin Search search page [new window]" target="_blank">Dolphin Search</a>',
-+'de_wiki_gov_cn','<a href="http://de.wiki.gov.cn/" rel="nofollow noopener noreferrer" title="Wiki Sucher [new window]" target="_blank">Wiki Sucher</a>',
- 'dejanews','DejaNews',
--'delicious','<a href="http://del.icio.us/" title="del.icio.us home page [new window]" rel="nofollow" target="_blank">del.icio.us</a> (Social Bookmark)',
-+'delicious','<a href="http://del.icio.us/" title="del.icio.us home page [new window]" rel="nofollow noopener noreferrer" target="_blank">del.icio.us</a> (Social Bookmark)',
- 'delta-search','delta-search',
--'digg','<a href="http://www.digg.com/" title="Digg home page [new window]" rel="nofollow" target="_blank">Digg</a> (Social Bookmark)',
--'dmoz','<a href="http://dmoz.org/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">DMOZ</a>',
--'dodajpl','<a href="http://www.dodaj.pl/" title="Dodaj.pl home page [new window]" rel="nofollow" target="_blank">Dodaj.pl</a>',
--'dogpile','<a href="http://www.dogpile.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Dogpile</a>',
--'duckduckgo','<a href="http://r.duckduckgo.com/" rel="nofollow" title="DuckDuckGo Home Page [new window]" target="_blank">DuckDuckGo</a>',
-+'digg','<a href="http://www.digg.com/" title="Digg home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Digg</a> (Social Bookmark)',
-+'dmoz','<a href="http://dmoz.org/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">DMOZ</a>',
-+'dodajpl','<a href="http://www.dodaj.pl/" title="Dodaj.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Dodaj.pl</a>',
-+'dogpile','<a href="http://www.dogpile.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Dogpile</a>',
-+'duckduckgo','<a href="http://r.duckduckgo.com/" rel="nofollow noopener noreferrer" title="DuckDuckGo Home Page [new window]" target="_blank">DuckDuckGo</a>',
- 'earthlink', 'Earth Link',
--'easysearch','<a href="http://heatherjeffery.easysearch.org.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">easysearch</a>',
-+'easysearch','<a href="http://heatherjeffery.easysearch.org.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">easysearch</a>',
- 'ecosia','ecosia',
- 'edderkoppen','Edderkoppen',
- 'engine','Cade',
--'eniro','<a href="http://www.eniro.no/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Eniro</a>',
--'enirose','<a href="http://www.eniro.se/" title="Eniro Sverige home page [new window]" rel="nofollow" target="_blank">Eniro Sverige</a>',
-+'eniro','<a href="http://www.eniro.no/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Eniro</a>',
-+'enirose','<a href="http://www.eniro.se/" title="Eniro Sverige home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Eniro Sverige</a>',
- 'ereadingsource','ereadingsource',
--'etools_ch','<a href="http://www.etools.ch/" rel="nofollow" title="eTools.ch [new window]" target="_blank">eTools.ch</a>',
-+'etools_ch','<a href="http://www.etools.ch/" rel="nofollow noopener noreferrer" title="eTools.ch [new window]" target="_blank">eTools.ch</a>',
- 'euroseek','Euroseek',
- 'everyclick','everyclick',
--'excite','<a href="http://www.excite.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Excite</a>',
-+'excite','<a href="http://www.excite.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Excite</a>',
- 'facemoods','facemoods',
--'fastbot_de','<a href="http://fastbot.de/" rel="nofollow" title="Fastbot.de [new window]" target="_blank">Fastbot.de (Does not provide search keyphrases; using found page instead)</a>',
--'fbdownloader','<a href="http://search.fbdownloader.com/" rel="nofollow" title="FBDownloader Home Page [new window]" target="_blank">FBDownloader (fbdownloader)</a>',
--'fdownloadr_com','<a href="http://search.fdownloadr.com/" rel="nofollow" title="FBDownloader Home Page [new window]" target="_blank">FBDownloader (fdownloadr)</a>',
--'find1friend','<a href="http://find1friend.com/" rel="nofollow" title="Find1Friend [new window]" target="_blank">Find1Friend</a>',
-+'fastbot_de','<a href="http://fastbot.de/" rel="nofollow noopener noreferrer" title="Fastbot.de [new window]" target="_blank">Fastbot.de (Does not provide search keyphrases; using found page instead)</a>',
-+'fbdownloader','<a href="http://search.fbdownloader.com/" rel="nofollow noopener noreferrer" title="FBDownloader Home Page [new window]" target="_blank">FBDownloader (fbdownloader)</a>',
-+'fdownloadr_com','<a href="http://search.fdownloadr.com/" rel="nofollow noopener noreferrer" title="FBDownloader Home Page [new window]" target="_blank">FBDownloader (fdownloadr)</a>',
-+'find1friend','<a href="http://find1friend.com/" rel="nofollow noopener noreferrer" title="Find1Friend [new window]" target="_blank">Find1Friend</a>',
- 'findamo','findamo',
- 'findarticles','Find Articles',
- 'finddk','Find',
- 'fireball','fireball',
--'flipora','<a href="http://static.flipora.com/" rel="nofollow" title="Flipora Home Page [new window]" target="_blank">Flipora</a>',
-+'flipora','<a href="http://static.flipora.com/" rel="nofollow noopener noreferrer" title="Flipora Home Page [new window]" target="_blank">Flipora</a>',
- 'foxstart','foxstart',
- 'francite','Francite',
- 'free', 'Free.fr',
--'freenet_de','<a href="http://suche.freenet.de/" rel="nofollow" title="suche.freenet.de [new window]" target="_blank">suche.freenet.de</a>',
-+'freenet_de','<a href="http://suche.freenet.de/" rel="nofollow noopener noreferrer" title="suche.freenet.de [new window]" target="_blank">suche.freenet.de</a>',
- 'freeserve','Freeserve',
- 'funmoods','funmoods',
--'gazetapl','<a href="http://szukaj.gazeta.pl/" title="Gazeta.pl home page [new window]" rel="nofollow" target="_blank">Gazeta.pl</a>',
--'genieo','<a href="http://search.genieo.com/" rel="nofollow" title="Genieo home page [new window]" target="_blank">Genieo</a>',
--'gerypl','<a href="http://szukaj.gery.pl/" title="Gery.pl home page [new window]" rel="nofollow" target="_blank">Gery.pl</a>',
-+'gazetapl','<a href="http://szukaj.gazeta.pl/" title="Gazeta.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Gazeta.pl</a>',
-+'genieo','<a href="http://search.genieo.com/" rel="nofollow noopener noreferrer" title="Genieo home page [new window]" target="_blank">Genieo</a>',
-+'gerypl','<a href="http://szukaj.gery.pl/" title="Gery.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Gery.pl</a>',
- 'globososo','Globososo',
--'gmxsuche','<a href="http://suche.gmx.net/" rel="nofollow" title="GMX Suche Home Page [new window]" target="_blank">GMX Suche</a>',
--'gmxsuche_at','<a href="http://suche.gmx.at/" rel="nofollow" title="GMX Suche Oesterreich Home Page [new window]" target="_blank">GMX Suche Oesterreich</a>',
-+'gmxsuche','<a href="http://suche.gmx.net/" rel="nofollow noopener noreferrer" title="GMX Suche Home Page [new window]" target="_blank">GMX Suche</a>',
-+'gmxsuche_at','<a href="http://suche.gmx.at/" rel="nofollow noopener noreferrer" title="GMX Suche Oesterreich Home Page [new window]" target="_blank">GMX Suche Oesterreich</a>',
- 'go','Go.com',
--'go_mail_ru','<a href="http://go.mail.ru/" rel="nofollow" title="GMX Suche Oesterreich Home Page [new window]" target="_blank">Go.Mail.ru</a>',
-+'go_mail_ru','<a href="http://go.mail.ru/" rel="nofollow noopener noreferrer" title="GMX Suche Oesterreich Home Page [new window]" target="_blank">Go.Mail.ru</a>',
- 'go2net','Go2Net (Metamoteur)',
- 'godado','Godado.it',
- 'goliat','Goliat',
--'goodsearch','<a href="http://www.goodsearch.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">GoodSearch</a>',
--'gotuneed','<a href="http://www.gotuneed.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">got u need</a>',
--'govome','<a href="http://www.govome.com/" rel="nofollow" title="Govome [new window]" target="_blank">Govome</a>',
-+'goodsearch','<a href="http://www.goodsearch.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">GoodSearch</a>',
-+'gotuneed','<a href="http://www.gotuneed.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">got u need</a>',
-+'govome','<a href="http://www.govome.com/" rel="nofollow noopener noreferrer" title="Govome [new window]" target="_blank">Govome</a>',
- 'haku','Ihmemaa',
- 'handycafe','handycafe',
- 'heureka','Heureka',
--'hogapl','<a href="http://www.hoga.pl/" title="Hoga.pl home page [new window]" rel="nofollow" target="_blank">Hoga.pl</a>',
--'holasearch','<a href="http://www.holasearch.com" rel="nofollow" title="Hola Search Home Page [new window]" target="_blank">Hola Search</a>',
-+'hogapl','<a href="http://www.hoga.pl/" title="Hoga.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Hoga.pl</a>',
-+'holasearch','<a href="http://www.holasearch.com" rel="nofollow noopener noreferrer" title="Hola Search Home Page [new window]" target="_blank">Hola Search</a>',
- 'hotbot','Hotbot',
- 'hp_my_aol','hp my aol',
- 'hubwe','hubwe',
--'iask','<a href="http://www.iask.com/" rel="nofollow" target="_blank">Iask</a>',
--'iboats','<a href="http://forums.iboats.com/" title="forum home page [new window]" rel="nofollow" target="_blank">Iboats</a>',
--'icerocket','<a href="http://www.icerocket.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Icerocket (Blog)</a>',
--'ichiro','<a href="http://search.goo.ne.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ichiro</a>',
--'icq','<a href="http://www.icq.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">icq</a>',
-+'iask','<a href="http://www.iask.com/" rel="nofollow noopener noreferrer" target="_blank">Iask</a>',
-+'iboats','<a href="http://forums.iboats.com/" title="forum home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Iboats</a>',
-+'icerocket','<a href="http://www.icerocket.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Icerocket (Blog)</a>',
-+'ichiro','<a href="http://search.goo.ne.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ichiro</a>',
-+'icq','<a href="http://www.icq.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">icq</a>',
- 'ilse','Ilse',
--'iminent','<a href="http://start.iminent.com/" rel="nofollow" title="Iminent Home Page [new window]" target="_blank">Iminent</a>',
-+'iminent','<a href="http://start.iminent.com/" rel="nofollow noopener noreferrer" title="Iminent Home Page [new window]" target="_blank">Iminent</a>',
- 'inbox','inbox',
- 'incredibar','incredibar',
- 'incredimail','incredimail',
- 'indexhu','Index',
--'ineffabile','<a href="http://www.ineffabile.it/" title="Ineffabile.it home page [new window]" rel="nofollow" target="_blank">Ineffabile.it</a> (Social Bookmark)',
-+'ineffabile','<a href="http://www.ineffabile.it/" title="Ineffabile.it home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ineffabile.it</a> (Social Bookmark)',
- 'infoseek','Infoseek',
- 'infospace','InfoSpace',
--'infouk','<a href="http://info.co.uk/" title="home page [new window]" rel="nofollow" target="_blank">Info UK</a>',
--'inspsearch','<a href="http://airzip.inspsearch.com/" rel="nofollow" title="airzip.inspsearch.com [new window]" target="_blank">airzip.inspsearch.com</a>',
--'int_search_myway_com','<a href="http://int.search.myway.com/" rel="nofollow" title="MyWay search page [new window]" target="_blank">MyWay</a>',
--'interiapl','<a href="http://www.google.interia.pl/" title="Interia.pl home page [new window]" rel="nofollow" target="_blank">Interia.pl</a>',
-+'infouk','<a href="http://info.co.uk/" title="home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Info UK</a>',
-+'inspsearch','<a href="http://airzip.inspsearch.com/" rel="nofollow noopener noreferrer" title="airzip.inspsearch.com [new window]" target="_blank">airzip.inspsearch.com</a>',
-+'int_search_myway_com','<a href="http://int.search.myway.com/" rel="nofollow noopener noreferrer" title="MyWay search page [new window]" target="_blank">MyWay</a>',
-+'interiapl','<a href="http://www.google.interia.pl/" title="Interia.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Interia.pl</a>',
- 'internetto','Internetto Kereso',
--'isearch_nation_com','<a href="http://isearch.nation.com/" rel="nofollow" title="Nation Search [new window]" target="_blank">Nation Search</a>',
--'iune','<a href="http://www.i-une.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">i-une</a>',
--'ixquick','<a href="http://www.ixquick.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">ix quick</a>',
-+'isearch_nation_com','<a href="http://isearch.nation.com/" rel="nofollow noopener noreferrer" title="Nation Search [new window]" target="_blank">Nation Search</a>',
-+'iune','<a href="http://www.i-une.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">i-une</a>',
-+'ixquick','<a href="http://www.ixquick.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">ix quick</a>',
- 'izito_catchall','izito ( catchall )',
--'izito_de','<a href="http://www.izito.de/" rel="nofollow" title="iZito Deutschland [new window]" target="_blank">izito .de</a>',
--'izito_uk','<a href="http://www.izito.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">izito .uk</a>',
-+'izito_de','<a href="http://www.izito.de/" rel="nofollow noopener noreferrer" title="iZito Deutschland [new window]" target="_blank">izito .de</a>',
-+'izito_uk','<a href="http://www.izito.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">izito .uk</a>',
- 'jubii','Jubii',
- 'jumpyit','Jumpy.it',
--'juno','<a href="http://search.juno.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">juno</a>',
-+'juno','<a href="http://search.juno.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">juno</a>',
- 'jyxo','Jyxo.cz',
--'kartoo','<a href="http://www.kartoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Kartoo</a>',
--'katalogonetpl','<a href="http://katalog.onet.pl/" title="Katalog.Onet.pl home page [new window]" rel="nofollow" target="_blank">Katalog.Onet.pl</a>',
--'kataweb','<a href="http://www.kataweb.it/ricerca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Kataweb</a>',
--'keresolap_hu','<a href="http://keresolap.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Tango keresolap</a>',
-+'kartoo','<a href="http://www.kartoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Kartoo</a>',
-+'katalogonetpl','<a href="http://katalog.onet.pl/" title="Katalog.Onet.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Katalog.Onet.pl</a>',
-+'kataweb','<a href="http://www.kataweb.it/ricerca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Kataweb</a>',
-+'keresolap_hu','<a href="http://keresolap.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Tango keresolap</a>',
- 'kvasir','kvasir',
- 'kvitters','kvitters',
- 'lapkereso_hu','Startlapkereso',
- 'lbb','LBB',
--'ledix','<a href="http://www.ledix.net/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Ledix</a>',
--'libero','<a href="http://www.libero.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Libero IT</a>',
-+'ledix','<a href="http://www.ledix.net/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Ledix</a>',
-+'libero','<a href="http://www.libero.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Libero IT</a>',
- 'libertysurf', 'Libertysurf',
--'live','<a href="http://www.live.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Microsoft Windows Live</a>',
--'localmoxie','<a href="http://www.localmoxie.com/" rel="nofollow" title="Local Moxie [new window]" target="_blank">Local Moxie</a>',
-+'live','<a href="http://www.live.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Microsoft Windows Live</a>',
-+'localmoxie','<a href="http://www.localmoxie.com/" rel="nofollow noopener noreferrer" title="Local Moxie [new window]" target="_blank">Local Moxie</a>',
- 'looksmart_catchall','looksmart ( catchall )',
- 'looksmart_co_uk','looksmart .co.uk',
--'lycos','<a href="http://www.lycos.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Lycos</a>',
-+'lycos','<a href="http://www.lycos.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Lycos</a>',
- 'mamma','Mamma',
- 'meinestadt','meinestadt.de',
- 'metabot', 'MetaBot',
- 'metacrawler','metacrawler',
- 'metacrawler_de','metacrawler.de',
--'metager','<a href="http://www.metager.de" rel="nofollow" title="MetaGer Home Page [new window]" target="_blank">MetaGer</a>',
-+'metager','<a href="http://www.metager.de" rel="nofollow noopener noreferrer" title="MetaGer Home Page [new window]" target="_blank">MetaGer</a>',
- 'metahannover','uni-hannover.de',
- 'metasearch','metasearch',
- 'metaspinner','metaspinner',
--'metasuche_ch','<a href="http://www.metasuche.ch/" rel="nofollow" title="Metasuche search page [new window]" target="_blank">Metasuche.ch</a>',
-+'metasuche_ch','<a href="http://www.metasuche.ch/" rel="nofollow noopener noreferrer" title="Metasuche search page [new window]" target="_blank">Metasuche.ch</a>',
- 'metaua','meta.ua',
- 'miner','Meta Miner',
--'mirago','<a href="http://www.mirago.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago (country unknown)</a>',
--'miragobe','<a href="http://www.mirago.be/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Belgium</a>',
--'miragoch','<a href="http://www.mirago.ch/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Switzerland</a>',
--'miragocouk','<a href="http://zone.mirago.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago UK</a>',
--'miragode','<a href="http://www.mirago.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Germany</a>',
--'miragodk','<a href="http://www.mirago.dk/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Denmark</a>',
--'miragoes','<a href="http://es.mirago.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Spain</a>',
--'miragofr','<a href="http://www.mirago.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago France</a>',
--'miragoit','<a href="http://www.mirago.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Italy</a>',
--'miragonl','<a href="http://www.mirago.nl/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Netherlands</a>',
--'miragono','<a href="http://no.mirago.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Norway</a>',
--'miragose','<a href="http://www.mirago.se/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mirago Sweden</a>',
-+'mirago','<a href="http://www.mirago.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago (country unknown)</a>',
-+'miragobe','<a href="http://www.mirago.be/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Belgium</a>',
-+'miragoch','<a href="http://www.mirago.ch/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Switzerland</a>',
-+'miragocouk','<a href="http://zone.mirago.co.uk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago UK</a>',
-+'miragode','<a href="http://www.mirago.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Germany</a>',
-+'miragodk','<a href="http://www.mirago.dk/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Denmark</a>',
-+'miragoes','<a href="http://es.mirago.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Spain</a>',
-+'miragofr','<a href="http://www.mirago.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago France</a>',
-+'miragoit','<a href="http://www.mirago.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Italy</a>',
-+'miragonl','<a href="http://www.mirago.nl/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Netherlands</a>',
-+'miragono','<a href="http://no.mirago.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Norway</a>',
-+'miragose','<a href="http://www.mirago.se/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mirago Sweden</a>',
- 'mitrasites','mitrasites',
--'mozbot','<a href="http://www.mozbot.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Mozbot</a>',
--'msn','<a href="http://search.msn.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Microsoft MSN Search</a>',
--'mys_yoursearch_me','<a href="http://mys.yoursearch.me/" rel="nofollow" title="Yoursearch.me search page [new window]" target="_blank">Yoursearch.me</a>',
--'mysearch','<a href="http://www.mysearch.com" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">My Search</a>',
--'mysearchdial','<a href="http://start.mysearchdial.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">mysearchdial</a>',
--'mysearchresults','<a href="http://www.mysearchresults.com" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">mysearchresults</a>',
--'myway','<a href="http://search.myway.com" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">myway</a>',
--'mywebsearch','<a href="http://search.mywebsearch.com/" title="MyWebSearch home page [new window]" rel="nofollow" target="_blank">MyWebSearch</a>',
-+'mozbot','<a href="http://www.mozbot.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Mozbot</a>',
-+'msn','<a href="http://search.msn.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Microsoft MSN Search</a>',
-+'mys_yoursearch_me','<a href="http://mys.yoursearch.me/" rel="nofollow noopener noreferrer" title="Yoursearch.me search page [new window]" target="_blank">Yoursearch.me</a>',
-+'mysearch','<a href="http://www.mysearch.com" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">My Search</a>',
-+'mysearchdial','<a href="http://start.mysearchdial.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">mysearchdial</a>',
-+'mysearchresults','<a href="http://www.mysearchresults.com" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">mysearchresults</a>',
-+'myway','<a href="http://search.myway.com" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">myway</a>',
-+'mywebsearch','<a href="http://search.mywebsearch.com/" title="MyWebSearch home page [new window]" rel="nofollow noopener noreferrer" target="_blank">MyWebSearch</a>',
- 'najdi','Najdi.to',
- 'nation','nation',
--'navigationshilfe_t_online','<a href="http://navigationshilfe.t-online.de/" title="MyWebSearch home page [new window]" rel="nofollow" target="_blank">T-Online Navigationshilfe</a>',
-+'navigationshilfe_t_online','<a href="http://navigationshilfe.t-online.de/" title="MyWebSearch home page [new window]" rel="nofollow noopener noreferrer" target="_blank">T-Online Navigationshilfe</a>',
- 'nbci','NBCI',
--'netease', '<a href="http://www.163.com/" rel="nofollow" target="_blank">NetEase</a>',
--'netluchs','<a href="http://www.netluchs.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Netluchs</a>',
--'netscape','<a href="http://www.netscape.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Netscape</a>',
--'netsprintpl','<a href="http://www.netsprint.pl/" title="NetSprint.pl home page [new window]" rel="nofollow" target="_blank">NetSprint.pl</a>',
-+'netease', '<a href="http://www.163.com/" rel="nofollow noopener noreferrer" target="_blank">NetEase</a>',
-+'netluchs','<a href="http://www.netluchs.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Netluchs</a>',
-+'netscape','<a href="http://www.netscape.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Netscape</a>',
-+'netsprintpl','<a href="http://www.netsprint.pl/" title="NetSprint.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">NetSprint.pl</a>',
- 'netstjernen','Netstjernen',
--'netzero','<a href="http://search.netzero.net/" title="home page [new window]" rel="nofollow" target="_blank">netzero</a>',
-+'netzero','<a href="http://search.netzero.net/" title="home page [new window]" rel="nofollow noopener noreferrer" target="_blank">netzero</a>',
- 'northernlight','NorthernLight',
--'nortonsavesearch','<a href="http://int.search-results.com/" rel="nofollow" title="Norton Safe Search Home Page [new window]" target="_blank">Norton Safe Search</a>',
--'nusearch','<a href="http://www.nusearch.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Nusearch</a>',
--'o2pl','<a href="http://szukaj2.o2.pl/" title="o2.pl home page [new window]" rel="nofollow" target="_blank">o2.pl</a>',
-+'nortonsavesearch','<a href="http://int.search-results.com/" rel="nofollow noopener noreferrer" title="Norton Safe Search Home Page [new window]" target="_blank">Norton Safe Search</a>',
-+'nusearch','<a href="http://www.nusearch.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Nusearch</a>',
-+'o2pl','<a href="http://szukaj2.o2.pl/" title="o2.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">o2.pl</a>',
- 'ofir','Ofir',
--'oneseek_de','<a href="http://www.oneseek.de" rel="nofollow" title="Metasuchmaschine OneSeek.de [new window]" target="_blank">Metasuchmaschine OneSeek.de</a>',
--'onetpl','<a href="http://szukaj.onet.pl/" title="Onet.pl home page [new window]" rel="nofollow" target="_blank">Onet.pl</a>',
-+'oneseek_de','<a href="http://www.oneseek.de" rel="nofollow noopener noreferrer" title="Metasuchmaschine OneSeek.de [new window]" target="_blank">Metasuchmaschine OneSeek.de</a>',
-+'onetpl','<a href="http://szukaj.onet.pl/" title="Onet.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Onet.pl</a>',
- 'opasia','Opasia',
- 'orange','orange',
- 'orangeworld','orangeworld',
-@@ -5293,216 +5293,216 @@
- 'overture','Overture',
- 'passagen','Evreka',
- 'pch','pch',
--'peoplecheck_de','<a href="http://peoplecheck.de/" rel="nofollow" title="PeopleCheck.de [new window]" target="_blank">PeopleCheck.de</a>',
--'picsearch','<a href="http://www.picsearch.de/" rel="nofollow" title="picsearch [new window]" target="_blank">picsearch</a>',
-+'peoplecheck_de','<a href="http://peoplecheck.de/" rel="nofollow noopener noreferrer" title="PeopleCheck.de [new window]" target="_blank">PeopleCheck.de</a>',
-+'picsearch','<a href="http://www.picsearch.de/" rel="nofollow noopener noreferrer" title="picsearch [new window]" target="_blank">picsearch</a>',
- 'pictures','pictures',
--'plusnetwork','<a href="http://www.searchplusnetwork.com/" title="Search Plus Network" rel="nofollow" target="_blank">Search Plus Network</a>',
--'pogodak','<a href="http://www.pogodak.com" title="Pogodak search engine home page [new window]" rel="nofollow" target="_blank">Pogodak.com</a>',
--'polskapl','<a href="http://szukaj.polska.pl/" title="Polska home page [new window]" rel="nofollow" target="_blank">Polska</a>',
--'polymeta_hu','<a href="http://www.polymeta.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Polymeta</a>',
--'preciobarato_xyz','<a href="http://preciobarato.xyz/" rel="nofollow" title="preciobarato.xyz offline on Oct 2 2015 [new window]" target="_blank">preciobarato xyz</a>',
--'questionanswering','<a href="http://www.questionanswering.com/" title="Questionanswering home page [new window]" rel="nofollow" target="_blank">Questionanswering</a>',
-+'plusnetwork','<a href="http://www.searchplusnetwork.com/" title="Search Plus Network" rel="nofollow noopener noreferrer" target="_blank">Search Plus Network</a>',
-+'pogodak','<a href="http://www.pogodak.com" title="Pogodak search engine home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Pogodak.com</a>',
-+'polskapl','<a href="http://szukaj.polska.pl/" title="Polska home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Polska</a>',
-+'polymeta_hu','<a href="http://www.polymeta.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Polymeta</a>',
-+'preciobarato_xyz','<a href="http://preciobarato.xyz/" rel="nofollow noopener noreferrer" title="preciobarato.xyz offline on Oct 2 2015 [new window]" target="_blank">preciobarato xyz</a>',
-+'questionanswering','<a href="http://www.questionanswering.com/" title="Questionanswering home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Questionanswering</a>',
- 'quick','Quick.cz',
--'qwant_com','<a href="https://www.qwant.com/" rel="nofollow" title="qwant.com [new window]" target="_blank">qwant.com</a>',
--'rakuten','<a href="http://websearch.rakuten.co.jp" rel="nofollow" title="websearch.rakuten.co.jp [new window]" target="_blank">websearch.rakuten.co.jp</a>',
-+'qwant_com','<a href="https://www.qwant.com/" rel="nofollow noopener noreferrer" title="qwant.com [new window]" target="_blank">qwant.com</a>',
-+'rakuten','<a href="http://websearch.rakuten.co.jp" rel="nofollow noopener noreferrer" title="websearch.rakuten.co.jp [new window]" target="_blank">websearch.rakuten.co.jp</a>',
- 'rambler','Rambler',
- 'redbox','RedBox.cz',
- 'rr','rr',
-
--'safehomepage_com','<a href="http://searches.safehomepage.com/" rel="nofollow" title="safehomepage.com [new window]" target="_blank">safehomepage.com</a>',
--'sagool','<a href="http://sagool.jp/" title="Sagool home page [new window]" rel="nofollow" target="_blank">Sagool</a>',
--'sapo','<a href="http://www.sapo.pt/" title="Sapo search engine home page [new window]" rel="nofollow" target="_blank">Sapo</a>',
--'schoenerbrausen','<a href="http://www.schoenerbrausen.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Schoenerbrausen/</a>',
--'scroogle','<a href="http://www.scroogle.org/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Scroogle</a>',
--'search.com','<a href="http://www.search.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Search.com</a>',
--'search_1und1_de','<a href="http://search.1und1.de/" rel="nofollow" title="1&amp;1 Suche [new window]" target="_blank">1&1 Suche (subdomain "search")</a>',
--'search_foxtab_com','<a href="http://search.foxtab.com/" rel="nofollow" title="Foxtab Search [new window]" target="_blank">Foxtab Search</a>',
--'search_socialdownloadr_com','<a href="http://search.socialdownloadr.com/" rel="nofollow" title="Socialdownloadr search page [new window]" target="_blank">Socialdownloadr</a>',
--'search_zonealarm_com','<a href="http://search.zonealarm.com/" rel="nofollow" title="Zone Alarm Search [new window]" target="_blank">Zone Alarm Search</a>',
-+'safehomepage_com','<a href="http://searches.safehomepage.com/" rel="nofollow noopener noreferrer" title="safehomepage.com [new window]" target="_blank">safehomepage.com</a>',
-+'sagool','<a href="http://sagool.jp/" title="Sagool home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Sagool</a>',
-+'sapo','<a href="http://www.sapo.pt/" title="Sapo search engine home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Sapo</a>',
-+'schoenerbrausen','<a href="http://www.schoenerbrausen.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Schoenerbrausen/</a>',
-+'scroogle','<a href="http://www.scroogle.org/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Scroogle</a>',
-+'search.com','<a href="http://www.search.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Search.com</a>',
-+'search_1und1_de','<a href="http://search.1und1.de/" rel="nofollow noopener noreferrer" title="1&amp;1 Suche [new window]" target="_blank">1&1 Suche (subdomain "search")</a>',
-+'search_foxtab_com','<a href="http://search.foxtab.com/" rel="nofollow noopener noreferrer" title="Foxtab Search [new window]" target="_blank">Foxtab Search</a>',
-+'search_socialdownloadr_com','<a href="http://search.socialdownloadr.com/" rel="nofollow noopener noreferrer" title="Socialdownloadr search page [new window]" target="_blank">Socialdownloadr</a>',
-+'search_zonealarm_com','<a href="http://search.zonealarm.com/" rel="nofollow noopener noreferrer" title="Zone Alarm Search [new window]" target="_blank">Zone Alarm Search</a>',
- 'searchalgo','searchalgo',
--'searchalot','<a href="http://www.searchalot.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Searchalot</a>',
-+'searchalot','<a href="http://www.searchalot.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Searchalot</a>',
- 'searchch','search ch',
- 'searchcompletion','searchcompletion',
--'searches_qone8_com','<a href="http://searches.qone8.com/" rel="nofollow" title="Omiga-Plus [new window]" target="_blank">Omiga-Plus</a>',
--'searchesnavigator','<a href="http://searchesnavigator.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">searchesnavigator</a>',
--'searchfunmoods','<a href="http://sr.searchfunmoods.com/" rel="nofollow" title="Funmoods [new window]" target="_blank">Funmoods</a>',
--'searchgol','<a href="http://www.searchgol.com/" rel="nofollow" title="Search-Gol [new window]" target="_blank">Search-Gol</a>',
--'searchlistingsite','<a href="http://searchlistingsite.com/" title="home page" rel="nofollow" target="_blank">SearchLlistingSite</a>',
-+'searches_qone8_com','<a href="http://searches.qone8.com/" rel="nofollow noopener noreferrer" title="Omiga-Plus [new window]" target="_blank">Omiga-Plus</a>',
-+'searchesnavigator','<a href="http://searchesnavigator.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">searchesnavigator</a>',
-+'searchfunmoods','<a href="http://sr.searchfunmoods.com/" rel="nofollow noopener noreferrer" title="Funmoods [new window]" target="_blank">Funmoods</a>',
-+'searchgol','<a href="http://www.searchgol.com/" rel="nofollow noopener noreferrer" title="Search-Gol [new window]" target="_blank">Search-Gol</a>',
-+'searchlistingsite','<a href="http://searchlistingsite.com/" title="home page" rel="nofollow noopener noreferrer" target="_blank">SearchLlistingSite</a>',
- 'searchmobileonline','searchmobileonline',
--'searchresults','<a href="http://www1.search-results.com/" rel="nofollow" title="Search-results Home Page [new window]" target="_blank">Search-results</a>',
--'search-results_mobi','<a href="http://search-results.mobi/" rel="nofollow" title="search-results.mobi [new window]" target="_blank">search-results.mobi</a>',
--'searchresultscom','<a href="http://www.search-results.com/" title="search-results" rel="nofollow" target="_blank">search-results.com ( all sites )</a>',
--'searchresultsmobi','<a href="http://www.search-results.mobi/" title="search-results" rel="nofollow" target="_blank">search-results.mobi</a>',
-+'searchresults','<a href="http://www1.search-results.com/" rel="nofollow noopener noreferrer" title="Search-results Home Page [new window]" target="_blank">Search-results</a>',
-+'search-results_mobi','<a href="http://search-results.mobi/" rel="nofollow noopener noreferrer" title="search-results.mobi [new window]" target="_blank">search-results.mobi</a>',
-+'searchresultscom','<a href="http://www.search-results.com/" title="search-results" rel="nofollow noopener noreferrer" target="_blank">search-results.com ( all sites )</a>',
-+'searchresultsmobi','<a href="http://www.search-results.mobi/" title="search-results" rel="nofollow noopener noreferrer" target="_blank">search-results.mobi</a>',
- 'searchsafer','searchsafer',
- 'searchy','searchy.co.uk',
--'searchya','<a href="http://www.searchya.com/" rel="nofollow" title="Searchya [new window]" target="_blank">Searchya</a>',
--'segnalo','<a href="http://segnalo.alice.it/" title="Segnalo home page [new window]" rel="nofollow" target="_blank">Segnalo</a> (Social Bookmark)',
-+'searchya','<a href="http://www.searchya.com/" rel="nofollow noopener noreferrer" title="Searchya [new window]" target="_blank">Searchya</a>',
-+'segnalo','<a href="http://segnalo.alice.it/" title="Segnalo home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Segnalo</a> (Social Bookmark)',
- 'semalt','semalt',
--'sensis','<a href="http://www.sensis.com.au/" title="Segnalo home page [new window]" rel="nofollow" target="_blank">Sensis AU</a>',
-+'sensis','<a href="http://www.sensis.com.au/" title="Segnalo home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Sensis AU</a>',
- 'seznam','Seznam',
--'shawca','<a href="http://start.shaw.ca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Shaw.ca</a>',
-+'shawca','<a href="http://start.shaw.ca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Shaw.ca</a>',
- 'shinyseek\.it','Shinyseek.it',
--'shoppstop','<a href="http://www.shoppstop.com/" rel="nofollow" title="ShoppStop [new window]" target="_blank">ShoppStop</a>',
--'sify','<a href="http://search.sify.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Sify</a>',
-+'shoppstop','<a href="http://www.shoppstop.com/" rel="nofollow noopener noreferrer" title="ShoppStop [new window]" target="_blank">ShoppStop</a>',
-+'sify','<a href="http://search.sify.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Sify</a>',
- 'sky','sky',
--'smartsuggestor','<a href="http://search.smartsuggestor.com/" title="home page" rel="nofollow" target="_blank">smartsuggestor</a>',
--'smde','<a href="http://www.sm.de/" rel="nofollow" title="SM.de - Die SuchMaschine [new window]" target="_blank">SM.de - Die SuchMaschine</a>',
-+'smartsuggestor','<a href="http://search.smartsuggestor.com/" title="home page" rel="nofollow noopener noreferrer" target="_blank">smartsuggestor</a>',
-+'smde','<a href="http://www.sm.de/" rel="nofollow noopener noreferrer" title="SM.de - Die SuchMaschine [new window]" target="_blank">SM.de - Die SuchMaschine</a>',
- 'snapdo','snapdo',
- 'softonic','softonic',
--'sogou','<a href="http://www.sogou.com/" rel="nofollow" target="_blank">SoGou</a>',
-+'sogou','<a href="http://www.sogou.com/" rel="nofollow noopener noreferrer" target="_blank">SoGou</a>',
- 'sol','SOL',
--'soso','<a href="http://www.soso.com/" rel="nofollow" target="_blank">SoSo</a>',
--'speedbit','<a href="http://go.speedbit.com/" rel="nofollow" title="Speedbit [new window]" target="_blank">Speedbit</a>',
--'sphere','<a href="http://www.sphere.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Sphere (Blog)</a>',
-+'soso','<a href="http://www.soso.com/" rel="nofollow noopener noreferrer" target="_blank">SoSo</a>',
-+'speedbit','<a href="http://go.speedbit.com/" rel="nofollow noopener noreferrer" title="Speedbit [new window]" target="_blank">Speedbit</a>',
-+'sphere','<a href="http://www.sphere.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Sphere (Blog)</a>',
- 'splut','Splut',
- 'spotjockey','Spotjockey',
- 'spray','Spray',
- 'start','start.no',
--'startlap_hu','<a href="http://kereso.startlap.hu/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Startlab Kereso</a>',
-+'startlap_hu','<a href="http://kereso.startlap.hu/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Startlab Kereso</a>',
- 'startpage','startpage.com',
- 'startsiden','startsiden',
--'startxxl','<a href="http://www.startxxl.com/" rel="nofollow" title="StartXXL Home Page [new window]" target="_blank">StartXXL</a>',
--'steadysearch','<a href="http://www.avantfind.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Avantfind</a>',
--'stumbleupon','<a href="http://www.stumbleupon.com/" title="Stumbleupon home page [new window]" rel="nofollow" target="_blank">Stumbleupon</a> (Social Bookmark)',
--'sucheaolde','<a href="http://sucheaol.aol.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">SucheAOL .de</a>',
--'sumaja','<a href="http://www.sumaja.de/" rel="nofollow" title="Sumaja [new window]" target="_blank">Sumaja</a>',
--'supereva','<a href="http://search.supereva.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Supereva</a>',
--'surfcanyon_com','<a href="http://search.surfcanyon.com/" rel="nofollow" title="SurfCanyon [new window]" target="_blank">SurfCanyon</a>',
-+'startxxl','<a href="http://www.startxxl.com/" rel="nofollow noopener noreferrer" title="StartXXL Home Page [new window]" target="_blank">StartXXL</a>',
-+'steadysearch','<a href="http://www.avantfind.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Avantfind</a>',
-+'stumbleupon','<a href="http://www.stumbleupon.com/" title="Stumbleupon home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Stumbleupon</a> (Social Bookmark)',
-+'sucheaolde','<a href="http://sucheaol.aol.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">SucheAOL .de</a>',
-+'sumaja','<a href="http://www.sumaja.de/" rel="nofollow noopener noreferrer" title="Sumaja [new window]" target="_blank">Sumaja</a>',
-+'supereva','<a href="http://search.supereva.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Supereva</a>',
-+'surfcanyon_com','<a href="http://search.surfcanyon.com/" rel="nofollow noopener noreferrer" title="SurfCanyon [new window]" target="_blank">SurfCanyon</a>',
- 'sweetim','sweetim',
--'sweetpacks','<a href="http://www.sweetpacks-search.com/" rel="nofollow" title="Sweetpacks [new window]" target="_blank">Sweetpacks</a>',
--'swik','<a href="http://swik.net/" title="Swik home page [new window]" rel="nofollow" target="_blank">Swik</a> (Social Bookmark)',
--'swisscows_ch','<a href="https://swisscows.ch/" rel="nofollow" title="Swisscows search page [new window]" target="_blank">Swisscows</a>',
--'sympatico','<a href="http://sympatico.msn.ca/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Sympatico</a>',
--'szukaczpl','<a href="http://www.szukacz.pl/" title="Szukacz home page [new window]" rel="nofollow" target="_blank">Szukacz</a>',
-+'sweetpacks','<a href="http://www.sweetpacks-search.com/" rel="nofollow noopener noreferrer" title="Sweetpacks [new window]" target="_blank">Sweetpacks</a>',
-+'swik','<a href="http://swik.net/" title="Swik home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Swik</a> (Social Bookmark)',
-+'swisscows_ch','<a href="https://swisscows.ch/" rel="nofollow noopener noreferrer" title="Swisscows search page [new window]" target="_blank">Swisscows</a>',
-+'sympatico','<a href="http://sympatico.msn.ca/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Sympatico</a>',
-+'szukaczpl','<a href="http://www.szukacz.pl/" title="Szukacz home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Szukacz</a>',
- 't_online_catchall','T-Online ( catchall )',
--'t_online_de','<a href="http://suche.t-online.de" title="Szukacz home page [new window]" rel="nofollow" target="_blank">T-Online .de</a>',
-+'t_online_de','<a href="http://suche.t-online.de" title="Szukacz home page [new window]" rel="nofollow noopener noreferrer" target="_blank">T-Online .de</a>',
- 'talktalk_uk','talktalk uk',
--'tango_hu','<a href="http://tango.hu/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Tango</a>',
-+'tango_hu','<a href="http://tango.hu/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Tango</a>',
- 'tbask','tb.ask ?',
--'teecnoit','<a href="http://www.teecno.it/" title="Teecno home page [new window]" rel="nofollow" target="_blank">Teecno</a>',
--'teoma','<a href="http://search.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Teoma</a>',
--'terra','<a href="http://www.terra.es/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Terra</a>',
-+'teecnoit','<a href="http://www.teecno.it/" title="Teecno home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Teecno</a>',
-+'teoma','<a href="http://search.ask.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Teoma</a>',
-+'terra','<a href="http://www.terra.es/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Terra</a>',
- 'tesco','tesco',
--'theallsearches','<a href="http://theallsearches.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">theallsearches</a>',
-+'theallsearches','<a href="http://theallsearches.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">theallsearches</a>',
- 'three','three',
--'tiscali','<a href="http://search.tiscali.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Tiscali</a>',
--'tixuma_de','<a href="http://www.tixuma.de/" rel="nofollow" title="Tixuma Deutschland [new window]" target="_blank">Tixuma Deutschland</a>',
-+'tiscali','<a href="http://search.tiscali.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Tiscali</a>',
-+'tixuma_de','<a href="http://www.tixuma.de/" rel="nofollow noopener noreferrer" title="Tixuma Deutschland [new window]" target="_blank">Tixuma Deutschland</a>',
- 'toile','Toile du Quebec',
- 'toshiba','toshiba',
- 'turtle','Turtle',
- 'tyfon','Tyfon',
--'uk_foxstart_com','<a href="http://uk.foxstart.com/" rel="nofollow" title="Foxstart search page [new window]" target="_blank">Foxstart.com</a>',
-+'uk_foxstart_com','<a href="http://uk.foxstart.com/" rel="nofollow noopener noreferrer" title="Foxstart search page [new window]" target="_blank">Foxstart.com</a>',
- 'ukdirectory','UK Directory',
- 'ukindex','UKIndex',
- 'ukplus','UK Plus',
--'umfis','<a href="http://www.umfis.de/" rel="nofollow" title="UMFIS-Online Das Umweltfirmen-Informationssystem der IHKs in Deutschland [new window]" target="_blank">UMFIS-Online Das Umweltfirmen-Informationssystem der IHKs in Deutschland</a>',
--'umuwa_de','<a href="http://umuwa.de/" rel="nofollow" title="Umuwa Deutschland [new window]" target="_blank">Umuwa Deutschland</a>',
-+'umfis','<a href="http://www.umfis.de/" rel="nofollow noopener noreferrer" title="UMFIS-Online Das Umweltfirmen-Informationssystem der IHKs in Deutschland [new window]" target="_blank">UMFIS-Online Das Umweltfirmen-Informationssystem der IHKs in Deutschland</a>',
-+'umuwa_de','<a href="http://umuwa.de/" rel="nofollow noopener noreferrer" title="Umuwa Deutschland [new window]" target="_blank">Umuwa Deutschland</a>',
- 'vindex','Vindex',
--'virgilio','<a href="http://www.virgilio.it/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Virgilio</a>',
--'virginmedia','<a href="http://search.virginmedia.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Virgin Media</a>',
--'vi-view_com','<a href="http://searches.vi-view.com/" rel="nofollow" title="vi-view.com [new window]" target="_blank">vi-view.com</a>',
--'vivisimo','<a href="http://www.vivisimo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Vivisimo</a>',
-+'virgilio','<a href="http://www.virgilio.it/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Virgilio</a>',
-+'virginmedia','<a href="http://search.virginmedia.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Virgin Media</a>',
-+'vi-view_com','<a href="http://searches.vi-view.com/" rel="nofollow noopener noreferrer" title="vi-view.com [new window]" target="_blank">vi-view.com</a>',
-+'vivisimo','<a href="http://www.vivisimo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Vivisimo</a>',
- 'vlips_de','vlips .de',
--'vnet','<a href="http://114.vnet.cn/" rel="nofollow" target="_blank">VNet</a>',
--'voila','<a href="http://www.voila.fr/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Voila</a>',
-+'vnet','<a href="http://114.vnet.cn/" rel="nofollow noopener noreferrer" target="_blank">VNet</a>',
-+'voila','<a href="http://www.voila.fr/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Voila</a>',
- 'wahoo','Wahoo',
--'webalta','<a href="http://www.webalta.ru/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">webalta.ru</a>',
--'webcrawler','<a href="http://www.webcrawler.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">WebCrawler</a>',
-+'webalta','<a href="http://www.webalta.ru/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">webalta.ru</a>',
-+'webcrawler','<a href="http://www.webcrawler.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">WebCrawler</a>',
- 'webde','Web.de',
- 'webmania','webmania.hu',
- 'whorush_com','whorush com',
--'windowssearch_com','<a href="http://www.windowssearch.com/search?q=AWStats" rel="nofollow" title="Example page [new window]" target="_blank">windowssearch.com</a>',
-+'windowssearch_com','<a href="http://www.windowssearch.com/search?q=AWStats" rel="nofollow noopener noreferrer" title="Example page [new window]" target="_blank">windowssearch.com</a>',
- 'wisenut','WISENut',
--'wow_utop_it','<a href="http://wow.utop.it/" rel="nofollow" title="wow.utop.it [new window]" target="_blank">wow.utop.it</a>',
--'wowpl','<a href="http://szukaj.wow.pl/" title="Wow.pl home page [new window]" rel="nofollow" target="_blank">Wow.pl</a>',
--'wowsearch','<a href="http://de.wow.com/" rel="nofollow" title="Wow Search Home Page [new window]" target="_blank">Wow Search</a>',
--'wowuk','<a href="http://uk.wow.com/" title="uk.Wow home page [new window]" rel="nofollow" target="_blank">uk.wow.com</a>',
--'wp','<a href="http://szukaj.wp.pl/" title="Wirtualna Polska home page [new window]" rel="nofollow" target="_blank">Wirtualna Polska</a>',
--'www_buenosearch_com','<a href="http://www.buenosearch.com/" rel="nofollow" title="BuenoSearch [new window]" target="_blank">BuenoSearch</a>',
--'www_dregol_com','<a href="http://www.dregol.com/" rel="nofollow" title="Dregol Search [new window]" target="_blank">Dregol Search</a>',
--'www_wow_com','<a href="http://www.wow.com/" rel="nofollow" title="www.wow.com [new window]" target="_blank">WOW.com</a>',
--'wwweasel','<a href="http://wwweasel.de/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">WWWeasel</a>',
-+'wow_utop_it','<a href="http://wow.utop.it/" rel="nofollow noopener noreferrer" title="wow.utop.it [new window]" target="_blank">wow.utop.it</a>',
-+'wowpl','<a href="http://szukaj.wow.pl/" title="Wow.pl home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Wow.pl</a>',
-+'wowsearch','<a href="http://de.wow.com/" rel="nofollow noopener noreferrer" title="Wow Search Home Page [new window]" target="_blank">Wow Search</a>',
-+'wowuk','<a href="http://uk.wow.com/" title="uk.Wow home page [new window]" rel="nofollow noopener noreferrer" target="_blank">uk.wow.com</a>',
-+'wp','<a href="http://szukaj.wp.pl/" title="Wirtualna Polska home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Wirtualna Polska</a>',
-+'www_buenosearch_com','<a href="http://www.buenosearch.com/" rel="nofollow noopener noreferrer" title="BuenoSearch [new window]" target="_blank">BuenoSearch</a>',
-+'www_dregol_com','<a href="http://www.dregol.com/" rel="nofollow noopener noreferrer" title="Dregol Search [new window]" target="_blank">Dregol Search</a>',
-+'www_wow_com','<a href="http://www.wow.com/" rel="nofollow noopener noreferrer" title="www.wow.com [new window]" target="_blank">WOW.com</a>',
-+'wwweasel','<a href="http://wwweasel.de/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">WWWeasel</a>',
-
--'ar_images_search_yahoo_com','<a href="http://ar.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ar.images.search.yahoo.com</a>',
--'ar_search_yahoo_com','<a href="http://ar.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ar.search.yahoo.com</a>',
--'at_images_search_yahoo_com','<a href="http://at.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : at.images.search.yahoo.com</a>',
--'at_search_yahoo_com','<a href="http://at.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : at.search.yahoo.com</a>',
--'au_images_search_yahoo_com','<a href="http://au.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : au.images.search.yahoo.com</a>',
--'au_search_yahoo_com','<a href="http://au.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : au.search.yahoo.com</a>',
--'br_images_search_yahoo_com','<a href="http://br.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : br.images.search.yahoo.com</a>',
--'br_search_yahoo_com','<a href="http://br.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : br.search.yahoo.com</a>',
--'ca_images_search_yahoo_com','<a href="http://ca.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ca.images.search.yahoo.com</a>',
--'ca_search_yahoo_com','<a href="http://ca.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ca.search.yahoo.com</a>',
--'ca_yhs4_search_yahoo_com','<a href="http://ca.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ca.yhs4.search.yahoo.com</a>',
--'ch_images_search_yahoo_com','<a href="http://ch.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ch.images.search.yahoo.com</a>',
--'ch_yhs4_search_yahoo_com','<a href="http://ch.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ch.yhs4.search.yahoo.com</a>',
--'de_search_yahoo_com','<a href="http://de.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : de.search.yahoo.com</a>',
--'de_yhs4_search_yahoo_com','<a href="http://de.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : de.yhs4.search.yahoo.com</a>',
--'es_images_search_yahoo_com','<a href="http://es.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : es.images.search.yahoo.com</a>',
--'es_search_yahoo_com','<a href="http://es.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : es.search.yahoo.com</a>',
--'es_yhs4_search_yahoo_com','<a href="http://es.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : es.yhs4.search.yahoo.com</a>',
--'espanol_images_search_yahoo_com','<a href="http://espanol.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : espanol.images.search.yahoo.com</a>',
--'espanol_search_yahoo_com','<a href="http://espanol.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : espanol.search.yahoo.com</a>',
--'fr_images_search_yahoo_com','<a href="http://fr.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : fr.images.search.yahoo.com</a>',
--'fr_search_yahoo_com','<a href="http://fr.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : fr.search.yahoo.com</a>',
--'fr_yhs4_search_yahoo_com','<a href="http://fr.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : fr.yhs4.search.yahoo.com</a>',
--'gr_search_yahoo_com','<a href="http://gr.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : gr.search.yahoo.com</a>',
--'gr_yhs4_search_yahoo_com','<a href="http://gr.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : gr.yhs4.search.yahoo.com</a>',
--'hk_image_search_yahoo_com','<a href="http://hk.image.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : hk.image.search.yahoo.com</a>',
--'hk_images_search_yahoo_com','<a href="http://hk.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : hk.images.search.yahoo.com</a>',
--'hk_search_yahoo_com','<a href="http://hk.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : hk.search.yahoo.com</a>',
--'id_images_search_yahoo_com','<a href="http://id.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : id.images.search.yahoo.com</a>',
--'id_search_yahoo_com','<a href="http://id.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : id.search.yahoo.com</a>',
--'id_yhs4_search_yahoo_com','<a href="http://id.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : id.yhs4.search.yahoo.com</a>',
--'ie_search_yahoo_com','<a href="http://ie.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ie.search.yahoo.com</a>',
--'image_search_yahoo_co_jp','<a href="http://image.search.yahoo.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : image.search.yahoo.co.jp</a>',
--'images_search_yahoo_com','<a href="http://images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : images.search.yahoo.com</a>',
--'in_images_search_yahoo_com','<a href="http://in.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : in.images.search.yahoo.com</a>',
--'in_search_yahoo_com','<a href="http://in.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : in.search.yahoo.com</a>',
--'in_yhs4_search_yahoo_com','<a href="http://in.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : in.yhs4.search.yahoo.com</a>',
--'it_images_search_yahoo_com','<a href="http://it.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : it.images.search.yahoo.com</a>',
--'it_search_yahoo_com','<a href="http://it.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : it.search.yahoo.com</a>',
--'it_yhs4_search_yahoo_com','<a href="http://it.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : it.yhs4.search.yahoo.com</a>',
--'kr_search_yahoo_com','<a href="http://kr.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : kr.search.yahoo.com</a>',
--'malaysia_images_search_yahoo_com','<a href="http://malaysia.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : malaysia.images.search.yahoo.com</a>',
--'malaysia_search_yahoo_com','<a href="http://malaysia.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : malaysia.search.yahoo.com</a>',
--'mx_images_search_yahoo_com','<a href="http://mx.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : mx.images.search.yahoo.com</a>',
--'mx_search_yahoo_com','<a href="http://mx.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : mx.search.yahoo.com</a>',
--'nl_images_search_yahoo_com','<a href="http://nl.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : nl.images.search.yahoo.com</a>',
--'nl_search_yahoo_com','<a href="http://nl.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : nl.search.yahoo.com</a>',
--'nl_yhs4_search_yahoo_com','<a href="http://nl.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : nl.yhs4.search.yahoo.com</a>',
--'no_search_yahoo_com','<a href="http://no.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : no.search.yahoo.com</a>',
--'nz_search_yahoo_com','<a href="http://nz.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : nz.search.yahoo.com</a>',
--'pe_images_search_yahoo_com','<a href="http://pe.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : pe.images.search.yahoo.com</a>',
--'ph_images_search_yahoo_com','<a href="http://ph.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ph.images.search.yahoo.com</a>',
--'ph_search_yahoo_com','<a href="http://ph.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ph.search.yahoo.com</a>',
--'ph_yhs4_search_yahoo_com','<a href="http://ph.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ph.yhs4.search.yahoo.com</a>',
--'pl_yhs4_search_yahoo_com','<a href="http://pl.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : pl.yhs4.search.yahoo.com</a>',
--'qc_images_search_yahoo_com','<a href="http://qc.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : qc.images.search.yahoo.com</a>',
--'qc_search_yahoo_com','<a href="http://qc.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : qc.search.yahoo.com</a>',
--'r_search_yahoo_com','<a href="http://r.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : r.search.yahoo.com</a>',
--'ru_images_search_yahoo_com','<a href="http://ru.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : ru.images.search.yahoo.com</a>',
--'se_images_search_yahoo_com','<a href="http://se.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : se.images.search.yahoo.com</a>',
--'se_search_yahoo_com','<a href="http://se.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : se.search.yahoo.com</a>',
--'se_yhs4_search_yahoo_com','<a href="http://se.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : se.yhs4.search.yahoo.com</a>',
--'search_yahoo_co_jp','<a href="http://search.yahoo.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : search.yahoo.co.jp</a>',
--'search_yahoo_com','<a href="http://search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : search.yahoo.com</a>',
--'sg_images_search_yahoo_com','<a href="http://sg.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : sg.images.search.yahoo.com</a>',
--'sg_search_yahoo_com','<a href="http://sg.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : sg.search.yahoo.com</a>',
--'sg_yhs4_search_yahoo_com','<a href="http://sg.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : sg.yhs4.search.yahoo.com</a>',
--'tr_yhs4_search_yahoo_com','<a href="http://tr.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : tr.yhs4.search.yahoo.com</a>',
--'tw_image_search_yahoo_com','<a href="http://tw.image.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : tw.image.search.yahoo.com</a>',
--'tw_images_search_yahoo_com','<a href="http://tw.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : tw.images.search.yahoo.com</a>',
--'tw_search_yahoo_com','<a href="http://tw.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : tw.search.yahoo.com</a>',
--'uk_images_search_yahoo_com','<a href="http://uk.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : uk.images.search.yahoo.com</a>',
--'uk_search_yahoo_com','<a href="http://uk.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : uk.search.yahoo.com</a>',
--'uk_yhs_search_yahoo_com','<a href="http://uk.yhs.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : uk.yhs.search.yahoo.com</a>',
--'uk_yhs4_search_yahoo_com','<a href="http://uk.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : uk.yhs4.search.yahoo.com</a>',
--'us_search_yahoo_com','<a href="http://us.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : us.search.yahoo.com</a>',
--'us_yhs4_search_yahoo_com','<a href="http://us.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : us.yhs4.search.yahoo.com</a>',
--'vn_images_search_yahoo_com','<a href="http://vn.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow" target="_blank">Yahoo : vn.images.search.yahoo.com</a>',
-+'ar_images_search_yahoo_com','<a href="http://ar.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ar.images.search.yahoo.com</a>',
-+'ar_search_yahoo_com','<a href="http://ar.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ar.search.yahoo.com</a>',
-+'at_images_search_yahoo_com','<a href="http://at.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : at.images.search.yahoo.com</a>',
-+'at_search_yahoo_com','<a href="http://at.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : at.search.yahoo.com</a>',
-+'au_images_search_yahoo_com','<a href="http://au.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : au.images.search.yahoo.com</a>',
-+'au_search_yahoo_com','<a href="http://au.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : au.search.yahoo.com</a>',
-+'br_images_search_yahoo_com','<a href="http://br.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : br.images.search.yahoo.com</a>',
-+'br_search_yahoo_com','<a href="http://br.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : br.search.yahoo.com</a>',
-+'ca_images_search_yahoo_com','<a href="http://ca.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ca.images.search.yahoo.com</a>',
-+'ca_search_yahoo_com','<a href="http://ca.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ca.search.yahoo.com</a>',
-+'ca_yhs4_search_yahoo_com','<a href="http://ca.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ca.yhs4.search.yahoo.com</a>',
-+'ch_images_search_yahoo_com','<a href="http://ch.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ch.images.search.yahoo.com</a>',
-+'ch_yhs4_search_yahoo_com','<a href="http://ch.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ch.yhs4.search.yahoo.com</a>',
-+'de_search_yahoo_com','<a href="http://de.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : de.search.yahoo.com</a>',
-+'de_yhs4_search_yahoo_com','<a href="http://de.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : de.yhs4.search.yahoo.com</a>',
-+'es_images_search_yahoo_com','<a href="http://es.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : es.images.search.yahoo.com</a>',
-+'es_search_yahoo_com','<a href="http://es.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : es.search.yahoo.com</a>',
-+'es_yhs4_search_yahoo_com','<a href="http://es.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : es.yhs4.search.yahoo.com</a>',
-+'espanol_images_search_yahoo_com','<a href="http://espanol.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : espanol.images.search.yahoo.com</a>',
-+'espanol_search_yahoo_com','<a href="http://espanol.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : espanol.search.yahoo.com</a>',
-+'fr_images_search_yahoo_com','<a href="http://fr.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : fr.images.search.yahoo.com</a>',
-+'fr_search_yahoo_com','<a href="http://fr.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : fr.search.yahoo.com</a>',
-+'fr_yhs4_search_yahoo_com','<a href="http://fr.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : fr.yhs4.search.yahoo.com</a>',
-+'gr_search_yahoo_com','<a href="http://gr.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : gr.search.yahoo.com</a>',
-+'gr_yhs4_search_yahoo_com','<a href="http://gr.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : gr.yhs4.search.yahoo.com</a>',
-+'hk_image_search_yahoo_com','<a href="http://hk.image.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : hk.image.search.yahoo.com</a>',
-+'hk_images_search_yahoo_com','<a href="http://hk.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : hk.images.search.yahoo.com</a>',
-+'hk_search_yahoo_com','<a href="http://hk.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : hk.search.yahoo.com</a>',
-+'id_images_search_yahoo_com','<a href="http://id.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : id.images.search.yahoo.com</a>',
-+'id_search_yahoo_com','<a href="http://id.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : id.search.yahoo.com</a>',
-+'id_yhs4_search_yahoo_com','<a href="http://id.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : id.yhs4.search.yahoo.com</a>',
-+'ie_search_yahoo_com','<a href="http://ie.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ie.search.yahoo.com</a>',
-+'image_search_yahoo_co_jp','<a href="http://image.search.yahoo.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : image.search.yahoo.co.jp</a>',
-+'images_search_yahoo_com','<a href="http://images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : images.search.yahoo.com</a>',
-+'in_images_search_yahoo_com','<a href="http://in.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : in.images.search.yahoo.com</a>',
-+'in_search_yahoo_com','<a href="http://in.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : in.search.yahoo.com</a>',
-+'in_yhs4_search_yahoo_com','<a href="http://in.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : in.yhs4.search.yahoo.com</a>',
-+'it_images_search_yahoo_com','<a href="http://it.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : it.images.search.yahoo.com</a>',
-+'it_search_yahoo_com','<a href="http://it.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : it.search.yahoo.com</a>',
-+'it_yhs4_search_yahoo_com','<a href="http://it.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : it.yhs4.search.yahoo.com</a>',
-+'kr_search_yahoo_com','<a href="http://kr.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : kr.search.yahoo.com</a>',
-+'malaysia_images_search_yahoo_com','<a href="http://malaysia.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : malaysia.images.search.yahoo.com</a>',
-+'malaysia_search_yahoo_com','<a href="http://malaysia.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : malaysia.search.yahoo.com</a>',
-+'mx_images_search_yahoo_com','<a href="http://mx.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : mx.images.search.yahoo.com</a>',
-+'mx_search_yahoo_com','<a href="http://mx.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : mx.search.yahoo.com</a>',
-+'nl_images_search_yahoo_com','<a href="http://nl.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : nl.images.search.yahoo.com</a>',
-+'nl_search_yahoo_com','<a href="http://nl.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : nl.search.yahoo.com</a>',
-+'nl_yhs4_search_yahoo_com','<a href="http://nl.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : nl.yhs4.search.yahoo.com</a>',
-+'no_search_yahoo_com','<a href="http://no.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : no.search.yahoo.com</a>',
-+'nz_search_yahoo_com','<a href="http://nz.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : nz.search.yahoo.com</a>',
-+'pe_images_search_yahoo_com','<a href="http://pe.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : pe.images.search.yahoo.com</a>',
-+'ph_images_search_yahoo_com','<a href="http://ph.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ph.images.search.yahoo.com</a>',
-+'ph_search_yahoo_com','<a href="http://ph.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ph.search.yahoo.com</a>',
-+'ph_yhs4_search_yahoo_com','<a href="http://ph.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ph.yhs4.search.yahoo.com</a>',
-+'pl_yhs4_search_yahoo_com','<a href="http://pl.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : pl.yhs4.search.yahoo.com</a>',
-+'qc_images_search_yahoo_com','<a href="http://qc.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : qc.images.search.yahoo.com</a>',
-+'qc_search_yahoo_com','<a href="http://qc.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : qc.search.yahoo.com</a>',
-+'r_search_yahoo_com','<a href="http://r.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : r.search.yahoo.com</a>',
-+'ru_images_search_yahoo_com','<a href="http://ru.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : ru.images.search.yahoo.com</a>',
-+'se_images_search_yahoo_com','<a href="http://se.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : se.images.search.yahoo.com</a>',
-+'se_search_yahoo_com','<a href="http://se.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : se.search.yahoo.com</a>',
-+'se_yhs4_search_yahoo_com','<a href="http://se.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : se.yhs4.search.yahoo.com</a>',
-+'search_yahoo_co_jp','<a href="http://search.yahoo.co.jp/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : search.yahoo.co.jp</a>',
-+'search_yahoo_com','<a href="http://search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : search.yahoo.com</a>',
-+'sg_images_search_yahoo_com','<a href="http://sg.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : sg.images.search.yahoo.com</a>',
-+'sg_search_yahoo_com','<a href="http://sg.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : sg.search.yahoo.com</a>',
-+'sg_yhs4_search_yahoo_com','<a href="http://sg.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : sg.yhs4.search.yahoo.com</a>',
-+'tr_yhs4_search_yahoo_com','<a href="http://tr.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : tr.yhs4.search.yahoo.com</a>',
-+'tw_image_search_yahoo_com','<a href="http://tw.image.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : tw.image.search.yahoo.com</a>',
-+'tw_images_search_yahoo_com','<a href="http://tw.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : tw.images.search.yahoo.com</a>',
-+'tw_search_yahoo_com','<a href="http://tw.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : tw.search.yahoo.com</a>',
-+'uk_images_search_yahoo_com','<a href="http://uk.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : uk.images.search.yahoo.com</a>',
-+'uk_search_yahoo_com','<a href="http://uk.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : uk.search.yahoo.com</a>',
-+'uk_yhs_search_yahoo_com','<a href="http://uk.yhs.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : uk.yhs.search.yahoo.com</a>',
-+'uk_yhs4_search_yahoo_com','<a href="http://uk.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : uk.yhs4.search.yahoo.com</a>',
-+'us_search_yahoo_com','<a href="http://us.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : us.search.yahoo.com</a>',
-+'us_yhs4_search_yahoo_com','<a href="http://us.yhs4.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : us.yhs4.search.yahoo.com</a>',
-+'vn_images_search_yahoo_com','<a href="http://vn.images.search.yahoo.com/" title="Search Engine Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yahoo : vn.images.search.yahoo.com</a>',
-
--'yahoo_mindset','<a href="http://mindset.research.yahoo.com/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Yahoo! Mindset</a>',
-+'yahoo_mindset','<a href="http://mindset.research.yahoo.com/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Yahoo! Mindset</a>',
-
- 'images_search_yahoo_catchall','Yahoo : images search ( catchall )',
- 'yhs4_search_yahoo_catchall','Yahoo : yhs4 search ( catchall )',
-@@ -5510,21 +5510,21 @@
- 'yahoo_catchall','Yahoo : ( catchall )',
-
- 'yandex','yandex ( catchall )',
--'yandexcom','<a href="http://yandex.com/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Yandex .com</a>',
--'yandexcomtr','<a href="http://yandex.com.tr/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Yandex .com.tr</a>',
--'yandexkz','<a href="http://yandex.kz/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Yandex .kz</a>',
--'yandexru','<a href="http://yandex.ru/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Yandex .ru</a>',
--'yandexua','<a href="http://yandex.ua/" rel="nofollow" title="Search Engine Home Page [new window]" target="_blank">Yandex .ua</a>',
--'yell','<a href="http://www.yell.com/" title="Yell Home Page [new window]" rel="nofollow" target="_blank">Yell</a>',
--'yourbestsearch','<a href="http://yourbestsearch.net/" title="Home Page [new window]" rel="nofollow" target="_blank">YourBest Search</a>',
-+'yandexcom','<a href="http://yandex.com/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Yandex .com</a>',
-+'yandexcomtr','<a href="http://yandex.com.tr/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Yandex .com.tr</a>',
-+'yandexkz','<a href="http://yandex.kz/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Yandex .kz</a>',
-+'yandexru','<a href="http://yandex.ru/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Yandex .ru</a>',
-+'yandexua','<a href="http://yandex.ua/" rel="nofollow noopener noreferrer" title="Search Engine Home Page [new window]" target="_blank">Yandex .ua</a>',
-+'yell','<a href="http://www.yell.com/" title="Yell Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">Yell</a>',
-+'yourbestsearch','<a href="http://yourbestsearch.net/" title="Home Page [new window]" rel="nofollow noopener noreferrer" target="_blank">YourBest Search</a>',
- 'youtube','youtube',
- 'zapmeta_catchall','zapmeta ( catchall )',
- 'zapmeta_ch','zapmeta ch',
- 'zapmeta_com','zapmeta com',
- 'zapmeta_de','zapmeta de',
--'zhongsou','<a href="http://www.zhongsou.com/" rel="nofollow" target="_blank">ZhongSou</a>',
--'zoeken','<a href="http://www.zoeken.nl/" rel="nofollow" target="_blank">Zoeken</a>',
--'zoznam','<a href="http://www.zoznam.sk/" title="Zoznam search engine home page [new window]" rel="nofollow" target="_blank">Zoznam</a>',
-+'zhongsou','<a href="http://www.zhongsou.com/" rel="nofollow noopener noreferrer" target="_blank">ZhongSou</a>',
-+'zoeken','<a href="http://www.zoeken.nl/" rel="nofollow noopener noreferrer" target="_blank">Zoeken</a>',
-+'zoznam','<a href="http://www.zoznam.sk/" title="Zoznam search engine home page [new window]" rel="nofollow noopener noreferrer" target="_blank">Zoznam</a>',
-
- # Generic search engines
- 'search','Unknown search engines'
---
-2.15.1
-
diff --git a/network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-external-refer.patch b/network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-external-refer.patch
deleted file mode 100644
index b899ab5b19..0000000000
--- a/network/awstats/patches/0001-Fix-to-window.opener-vulnerability-in-external-refer.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From b421096d5596f1c6ade078fa0b1103deefc3a5ed Mon Sep 17 00:00:00 2001
-From: qssam <Sam.Webb@quiet-storm.net>
-Date: Tue, 7 Feb 2017 16:49:10 +0000
-Subject: [PATCH] Fix to window.opener vulnerability in external referral site
- links
-
-Reference: https://mathiasbynens.github.io/rel-noopener/
----
- wwwroot/cgi-bin/awstats.pl | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl
-index 75f0ed95..8bde5c03 100755
---- a/wwwroot/cgi-bin/awstats.pl
-+++ b/wwwroot/cgi-bin/awstats.pl
-@@ -8892,7 +8892,7 @@ sub HTMLShowURLInfo {
- { # URL seems to be extracted from a proxy log file
- print "<a href=\""
- . XMLEncode("$newkey")
-- . "\" target=\"url\" rel=\"nofollow\">"
-+ . "\" target=\"url\" rel=\"nofollow noopener noreferrer\">"
- . XMLEncode($nompage) . "</a>";
- }
- elsif ( $newkey =~ /^\// )
-@@ -8907,7 +8907,7 @@ sub HTMLShowURLInfo {
- }
- print "<a href=\""
- . XMLEncode("$urlprot://$SiteDomain$newkey")
-- . "\" target=\"url\" rel=\"nofollow\">"
-+ . "\" target=\"url\" rel=\"nofollow noopener noreferrer\">"
- . XMLEncode($nompage) . "</a>";
- }
- else {
---
-2.15.1
-
diff --git a/network/awstats/slack-desc b/network/awstats/slack-desc
index 9dfeb4ef20..fc78a114f7 100644
--- a/network/awstats/slack-desc
+++ b/network/awstats/slack-desc
@@ -16,4 +16,4 @@ awstats: It can analyze log files from all major server tools like Apache
awstats: log files and a lot of other web, proxy, wap, streaming servers,
awstats: mail servers, and some ftp servers.
awstats:
-awstats: Home Page: http://awstats.sourceforge.net/
+awstats: Home Page: https://awstats.sourceforge.net/
diff --git a/network/axel/README b/network/axel/README
index a1f6e0a8e7..3368633451 100644
--- a/network/axel/README
+++ b/network/axel/README
@@ -1,7 +1,7 @@
Axel accelerates the HTTP/FTP downloading process by using multiple
-connections for one file. It can use multiple mirrors for a download. Axel
-has no dependencies and is lightweight, so it might be useful as a wget
-clone on byte-critical systems. Axel is the perfect utility for those
-connections to wherever you are downloading from that may have a limit
-on ftp stream speeds, http sessions that burst and slow down, or servers
-with a slow connection.
+connections for one file. It can use multiple mirrors for a download.
+Axel has no dependencies and is lightweight, so it might be useful as a
+wget clone on byte-critical systems. Axel is the perfect utility for
+those connections to wherever you are downloading from that may have a
+limit on ftp stream speeds, http sessions that burst and slow down, or
+servers with a slow connection.
diff --git a/network/axel/axel.SlackBuild b/network/axel/axel.SlackBuild
index 1fd45e4c8c..48564656ae 100644
--- a/network/axel/axel.SlackBuild
+++ b/network/axel/axel.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for axel
# Copyright 2008 Antonio Hernández Blas <hba.nihilismus@gmail.com>
# Copyright 2011 Matthew "mfillpot" Fillpot
-# Copyright 2018-2020 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2018-2022 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220403 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip the binary.
+# - remove useless INSTALL from package doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=axel
-VERSION=${VERSION:-2.17.8}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.17.11}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,9 +78,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
./configure \
--prefix=/usr \
@@ -78,18 +89,15 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
make
-make install DESTDIR=$PKG
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CONTRIBUTING.md COPYING CREDITS INSTALL NEWS README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md COPYING NEWS README.md VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/axel/axel.info b/network/axel/axel.info
index f20e9d19a9..411b0eeb0a 100644
--- a/network/axel/axel.info
+++ b/network/axel/axel.info
@@ -1,10 +1,10 @@
PRGNAM="axel"
-VERSION="2.17.8"
+VERSION="2.17.11"
HOMEPAGE="https://github.com/axel-download-accelerator/axel"
-DOWNLOAD="https://github.com/axel-download-accelerator/axel/releases/download/v2.17.8/axel-2.17.8.tar.gz"
-MD5SUM="15c0d085d33b3908ebd8debc41b25afa"
+DOWNLOAD="https://github.com/axel-download-accelerator/axel/releases/download/v2.17.11/axel-2.17.11.tar.gz"
+MD5SUM="a03b18bc96fda568c6273e7affecbcc8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jostein Berntsen"
-EMAIL="jbernts@broadpark.no"
+EMAIL="jvbernts@online.no"
diff --git a/network/axel/doinst.sh b/network/axel/doinst.sh
deleted file mode 100644
index fa6f314c12..0000000000
--- a/network/axel/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/axelrc.new
diff --git a/network/b43-firmware/README b/network/b43-firmware/README
index aff7ccc233..7a9e71e93e 100644
--- a/network/b43-firmware/README
+++ b/network/b43-firmware/README
@@ -1,4 +1,7 @@
Broadcom's wireless chip(s) firmware.
-See project homepage http://linuxwireless.org/en/users/Drivers/b43
+See project homepage
+
+https://wireless.wiki.kernel.org/en/users/drivers/b43
+
for technical details and copyright information.
diff --git a/network/b43-firmware/b43-firmware.SlackBuild b/network/b43-firmware/b43-firmware.SlackBuild
index eb5a71f8df..7d79575fd8 100644
--- a/network/b43-firmware/b43-firmware.SlackBuild
+++ b/network/b43-firmware/b43-firmware.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for b43
@@ -25,13 +25,23 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=b43-firmware
VERSION=${VERSION:-6.30.163.46}
ARCH=fw
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,4 +67,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/b43-fwcutter/b43-fwcutter.SlackBuild b/network/b43-fwcutter/b43-fwcutter.SlackBuild
index 1646b2a46a..0be9437363 100644
--- a/network/b43-fwcutter/b43-fwcutter.SlackBuild
+++ b/network/b43-fwcutter/b43-fwcutter.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for b43-fwcutter
@@ -25,26 +25,36 @@
# Maintained by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=b43-fwcutter
VERSION=${VERSION:-019}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/badwolf/README b/network/badwolf/README
new file mode 100644
index 0000000000..b69a755b63
--- /dev/null
+++ b/network/badwolf/README
@@ -0,0 +1,17 @@
+badwolf is a minimalist browser that cares about privacy, it is based on
+WebKitGTK and thus also accepts WebKitGTK (and dependencies) flags and
+environment variables.
+
+Runtime configuration specific to badwolf will probably get added at a
+later release.
+
+Features include:
+* No browser-level tracking, multiple ephemeral isolated sessions per
+ new unrelated tabs, JavaScript off by default.
+* Small codebase (~1500 LoC), reuses existing components when available
+ or makes it available.
+* WebKitGTK native extensions, Interface customizable through CSS.
+* Stable User-Interface; The common shortcuts are available (and
+ documented), no vi-modal edition or single-key shortcuts are used.
+* Dialogs are only used when required, javascript popups open in a
+ background tab.
diff --git a/network/badwolf/badwolf.SlackBuild b/network/badwolf/badwolf.SlackBuild
new file mode 100644
index 0000000000..2b4f850571
--- /dev/null
+++ b/network/badwolf/badwolf.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for badwolf
+
+# Copyright 2023 Bloyburt
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=badwolf
+VERSION=${VERSION:-1.3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+PREFIX=usr \
+BINDIR=${PREFIX}/bin \
+MANDIR=${PREFIX}/man \
+DOCDIR=${PREFIX}/doc/badwolf-${VERSION} \
+DATADIR=${PREFIX}/share/badwolf \
+APPSDIR=${PREFIX}/share/applications \
+./configure
+
+ninja
+DESTDIR=$PKG ninja install
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+# Docs are already installed by the build system
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/badwolf/badwolf.info b/network/badwolf/badwolf.info
new file mode 100644
index 0000000000..1c5e3bb1d3
--- /dev/null
+++ b/network/badwolf/badwolf.info
@@ -0,0 +1,10 @@
+PRGNAM="badwolf"
+VERSION="1.3.0"
+HOMEPAGE="https://hacktivis.me/projects/badwolf"
+DOWNLOAD="https://hacktivis.me/releases/badwolf-1.3.0.tar.gz"
+MD5SUM="9d222680f8dc274c77f530d8581c2d52"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="webkit2gtk"
+MAINTAINER="Bloyburt"
+EMAIL="alexpen@startmail.com"
diff --git a/network/badwolf/doinst.sh b/network/badwolf/doinst.sh
new file mode 100644
index 0000000000..a993650058
--- /dev/null
+++ b/network/badwolf/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/badwolf/slack-desc b/network/badwolf/slack-desc
new file mode 100644
index 0000000000..07e5898534
--- /dev/null
+++ b/network/badwolf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+badwolf: badwolf (Minimalist and privacy-oriented webkit browser)
+badwolf:
+badwolf: badwolf is a minimalist browser that cares about privacy, it is based
+badwolf: on WebKitGTK and thus also accepts WebKitGTK (and dependencies) flags
+badwolf: and environment variables.
+badwolf:
+badwolf: Homepage: https://hacktivis.me/projects/badwolf
+badwolf:
+badwolf:
+badwolf:
+badwolf:
diff --git a/network/baikal/README b/network/baikal/README
new file mode 100644
index 0000000000..5c7d8a4370
--- /dev/null
+++ b/network/baikal/README
@@ -0,0 +1,15 @@
+Baïkal offers an extensive web interface with easy management of
+users, address books and calendars. It is fast and simple to install
+and only needs a basic php capable server and MySQL or SQLite.
+It allows to seamlessly access your contacts and calendars via iOS,
+Mac OS X, DAVx5 on Android, Mozilla Thunderbird and every other
+CalDAV and CardDAV capable application.
+
+Use the baikal-apache.conf from the doc directory as starting point.
+Administration is done with a web administration panel, e.g.
+https://dav.<yourserver>/admin/
+Calendars my be shared by browsing to
+https://dav.<yourserver>/dav.php/calendars/<user>/<calendarname>/
+
+After upgrading to a newer version, browse to the administration panel
+and follow the steps.
diff --git a/network/baikal/baikal.SlackBuild b/network/baikal/baikal.SlackBuild
new file mode 100644
index 0000000000..ff3fd56296
--- /dev/null
+++ b/network/baikal/baikal.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for baikal
+
+# Copyright 2022-2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=baikal
+VERSION=${VERSION:-0.9.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+unzip $CWD/$PRGNAM-$VERSION.zip
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+mkdir -p $PKG/{usr/share/$PRGNAM,etc/httpd/extra}
+chown -R apache $PKG/usr/share/$PRGNAM
+cp -R Core config html Specific vendor $PKG/usr/share/$PRGNAM
+chown -R apache $PKG/usr/share/$PRGNAM/{config,Specific}
+# Remove cruft
+find $PKG -empty -delete
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+# apache example config
+cat << EOF > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-apache.conf
+# Example(adjusted) vhost taken https://sabre.io/baikal/install/
+#Alias /baikal /usr/share/baikal/html
+
+#<VirtualHost *:443>
+<VirtualHost *:80>
+
+ DocumentRoot /usr/share/baikal/html/
+ ServerName dav.example.org
+
+ RewriteEngine on
+ # Generally already set by global Apache configuration
+ # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
+ RewriteRule /.well-known/carddav /dav.php [R=308,L]
+ RewriteRule /.well-known/caldav /dav.php [R=308,L]
+
+ <Directory /usr/share/baikal/html/>
+ Options None
+ AllowOverride None
+ Require all granted
+ </Directory>
+
+ <IfModule mod_expires.c>
+ ExpiresActive Off
+ </IfModule>
+
+# SSLEngine on
+# SSLCertificateFile /etc/letsencrypt/live/dav.example.org/fullchain.pem
+# SSLCertificateKeyFile /etc/letsencrypt/live/dav.example.org/privkey.pem
+
+</VirtualHost>
+EOF
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/baikal/baikal.info b/network/baikal/baikal.info
new file mode 100644
index 0000000000..574b0a9847
--- /dev/null
+++ b/network/baikal/baikal.info
@@ -0,0 +1,10 @@
+PRGNAM="baikal"
+VERSION="0.9.5"
+HOMEPAGE="https://sabre.io/baikal/"
+DOWNLOAD="https://github.com/sabre-io/Baikal/releases/download/0.9.5/baikal-0.9.5.zip"
+MD5SUM="47ad5c6ef9e5e87b7bd0028ad1008fbe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/network/baikal/slack-desc b/network/baikal/slack-desc
new file mode 100644
index 0000000000..a72bcfac29
--- /dev/null
+++ b/network/baikal/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+baikal: baikal (lightweight CalDAV+CardDAV server)
+baikal:
+baikal: Baikal offers an extensive web interface with easy management of
+baikal: users, address books and calendars. It is fast and simple to install
+baikal: and only needs a basic php capable server and MySQL or SQLite.
+baikal: It allows to seamlessly access your contacts and calendars via iOS,
+baikal: Mac OS X, DAVx5 on Android, Mozilla Thunderbird and every other
+baikal: CalDAV and CardDAV capable application.
+baikal:
+baikal: https://sabre.io/baikal/
+baikal:
diff --git a/network/barnyard2/barnyard2-1.13-free.patch b/network/barnyard2/barnyard2-1.13-free.patch
new file mode 100644
index 0000000000..216fe480de
--- /dev/null
+++ b/network/barnyard2/barnyard2-1.13-free.patch
@@ -0,0 +1,11 @@
+--- a/src/output-plugins/spo_alert_unixsock.c
++++ b/src/output-plugins/spo_alert_unixsock.c
+@@ -56,6 +56,8 @@
+ #include "spo_alert_unixsock.h"
+ #include "barnyard2.h"
+
++#include <stdlib.h>
++
+ #define UNSOCK_FILE "barnyard2_alert"
+
+
diff --git a/network/barnyard2/barnyard2-1.13-pcap-1.9.0.patch b/network/barnyard2/barnyard2-1.13-pcap-1.9.0.patch
new file mode 100644
index 0000000000..87aec539ca
--- /dev/null
+++ b/network/barnyard2/barnyard2-1.13-pcap-1.9.0.patch
@@ -0,0 +1,38 @@
+--- a/src/output-plugins/spo_alert_fwsam.c
++++ b/src/output-plugins/spo_alert_fwsam.c
+@@ -115,7 +115,7 @@
+ #include <sys/filio.h>
+ #endif
+
+-typedef int SOCKET;
++typedef int BY2_SOCKET;
+
+ #ifndef INVALID_SOCKET
+ #define INVALID_SOCKET -1
+@@ -961,7 +961,7 @@
+ FWsamPacket sampacket;
+ FWsamStation *station=NULL;
+ FWsamList *fwsamlist;
+- SOCKET stationsocket;
++ BY2_SOCKET stationsocket;
+ int i,len,deletestation,stationtry=0;
+ char *encbuf,*decbuf;
+ static unsigned long lastbsip[FWSAM_REPET_BLOCKS];
+@@ -1387,7 +1387,7 @@
+ void FWsamCheckOut(FWsamStation *station)
+ {
+ FWsamPacket sampacket;
+- SOCKET stationsocket;
++ BY2_SOCKET stationsocket;
+ int i,len;
+ char *encbuf,*decbuf;
+
+@@ -1538,7 +1538,7 @@
+ int i,len,stationok=TRUE;
+ FWsamPacket sampacket;
+ char *encbuf,*decbuf;
+- SOCKET stationsocket;
++ BY2_SOCKET stationsocket;
+
+
+ /* create a socket for the station */
diff --git a/network/barnyard2/barnyard2.SlackBuild b/network/barnyard2/barnyard2.SlackBuild
index da57397e9c..35af68dd6a 100644
--- a/network/barnyard2/barnyard2.SlackBuild
+++ b/network/barnyard2/barnyard2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for barnyard2
# Snort binary log processor
@@ -25,10 +25,13 @@
# Revision date 2012/09/15
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=barnyard2
VERSION=${VERSION:-1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,6 +75,9 @@ cd $TMP
rm -rf $PRGNAM-2-$VERSION
tar xvf $CWD/$PRGNAM-2-$VERSION.tar.gz
cd $PRGNAM-2-$VERSION
+# thanks gentoo maintainers
+patch -p1 < $CWD/barnyard2-1.13-free.patch
+patch -p1 < $CWD/barnyard2-1.13-pcap-1.9.0.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -117,4 +130,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/barnyard2/barnyard2.info b/network/barnyard2/barnyard2.info
index 5600ea402c..fb7d0def5a 100644
--- a/network/barnyard2/barnyard2.info
+++ b/network/barnyard2/barnyard2.info
@@ -1,6 +1,6 @@
PRGNAM="barnyard2"
VERSION="1.13"
-HOMEPAGE="http://www.securixlive.com/barnyard2/"
+HOMEPAGE="https://github.com/firnsy/barnyard2"
DOWNLOAD="https://github.com/firnsy/barnyard2/archive/v2-1.13/barnyard2-2-1.13.tar.gz"
MD5SUM="212066058364f18a4806720b271ffd87"
DOWNLOAD_x86_64=""
diff --git a/network/barnyard2/slack-desc b/network/barnyard2/slack-desc
index a632466edf..1472d5b551 100644
--- a/network/barnyard2/slack-desc
+++ b/network/barnyard2/slack-desc
@@ -14,6 +14,6 @@ barnyard2: tool for the parsing of Snort's binary log files to a variety of
barnyard2: output plugins, capable of asynchronously processing, while Snort
barnyard2: continues it's job.
barnyard2:
-barnyard2: Homepage: http://www.securixlive.com/barnyard2/
+barnyard2: Homepage: https://github.com/firnsy/barnyard2
barnyard2:
barnyard2:
diff --git a/network/barrier/barrier-2.4.0-cert-creation.patch b/network/barrier/barrier-2.4.0-cert-creation.patch
new file mode 100644
index 0000000000..817ed63fff
--- /dev/null
+++ b/network/barrier/barrier-2.4.0-cert-creation.patch
@@ -0,0 +1,11 @@
+--- src/lib/net/SecureUtils.cpp 2021-11-01 21:46:43.000000000 +0100
++++ src/lib/net/SecureUtils.cpp 2024-02-06 22:12:48.553673626 +0100
+@@ -190,7 +190,7 @@
+
+ X509_sign(cert, private_key, EVP_sha256());
+
+- auto fp = fopen_utf8_path(path.c_str(), "r");
++ auto fp = fopen_utf8_path(path.c_str(), "w");
+ if (!fp) {
+ throw std::runtime_error("Could not open certificate output path");
+ }
diff --git a/network/barrier/barrier-2.4.0-gcc-13.patch b/network/barrier/barrier-2.4.0-gcc-13.patch
new file mode 100644
index 0000000000..5b17590491
--- /dev/null
+++ b/network/barrier/barrier-2.4.0-gcc-13.patch
@@ -0,0 +1,38 @@
+https://bugs.gentoo.org/895088
+https://github.com/debauchee/barrier/pull/1886
+
+From d376d23d534e053a160c32ee1170d237a2f3d6bd Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Thu, 26 Jan 2023 09:25:59 -0500
+Subject: [PATCH] Add missing #include directives needed for GCC 13
+
+---
+ src/lib/base/String.h | 1 +
+ src/lib/net/FingerprintData.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/lib/base/String.h b/src/lib/base/String.h
+index 9c5a53bac4..fa37f8f0dc 100644
+--- a/src/lib/base/String.h
++++ b/src/lib/base/String.h
+@@ -18,6 +18,7 @@
+
+ #pragma once
+
++#include <cstdint>
+ #include "common/common.h"
+ #include "common/stdstring.h"
+
+diff --git a/src/lib/net/FingerprintData.h b/src/lib/net/FingerprintData.h
+index 938a69538d..522a481353 100644
+--- a/src/lib/net/FingerprintData.h
++++ b/src/lib/net/FingerprintData.h
+@@ -18,6 +18,7 @@
+ #ifndef BARRIER_LIB_NET_FINGERPRINT_DATA_H
+ #define BARRIER_LIB_NET_FINGERPRINT_DATA_H
+
++#include <cstdint>
+ #include <string>
+ #include <vector>
+
+
diff --git a/network/barrier/barrier-2.4.0-includes.patch b/network/barrier/barrier-2.4.0-includes.patch
new file mode 100644
index 0000000000..048a3b0680
--- /dev/null
+++ b/network/barrier/barrier-2.4.0-includes.patch
@@ -0,0 +1,39 @@
+From aa0a2998e8894716644ea5fb29fc6f0165add956 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <chewi@gentoo.org>
+Date: Tue, 2 Nov 2021 20:59:51 +0000
+Subject: [PATCH] Add missing cstddef includes for NULL
+
+---
+ src/lib/base/Event.cpp | 2 ++
+ src/lib/base/Event.h | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/src/lib/base/Event.cpp b/src/lib/base/Event.cpp
+index cc548fc6..08c5e98f 100644
+--- a/src/lib/base/Event.cpp
++++ b/src/lib/base/Event.cpp
+@@ -19,6 +19,8 @@
+ #include "base/Event.h"
+ #include "base/EventQueue.h"
+
++#include <cstddef>
++
+ //
+ // Event
+ //
+diff --git a/src/lib/base/Event.h b/src/lib/base/Event.h
+index 38a2cf11..cb00dccb 100644
+--- a/src/lib/base/Event.h
++++ b/src/lib/base/Event.h
+@@ -21,6 +21,8 @@
+ #include "common/basic_types.h"
+ #include "common/stdmap.h"
+
++#include <cstddef>
++
+ class EventData {
+ public:
+ EventData() { }
+--
+2.32.0
+
diff --git a/network/barrier/barrier.SlackBuild b/network/barrier/barrier.SlackBuild
index b03281061c..ff2bd84449 100644
--- a/network/barrier/barrier.SlackBuild
+++ b/network/barrier/barrier.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Barrier (Synergy fork)
# Written by Mario Antunes (mariolpantunes@gmail.com)
+# Updated 2024 Ruben Schuller <sb@rbn.im>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=barrier
-VERSION=${VERSION:-2.1.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.4.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,6 +72,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+# these are submodules in the barrier git repository.
+tar -v -C ./ext/gulrak-filesystem --strip-components=1 -x -f $CWD/filesystem*.tar.gz
+tar -v -C ./ext/gmock --strip-components=1 -x -f $CWD/googlemock*.tar.gz
+tar -v -C ./ext/gtest --strip-components=1 -x -f $CWD/googletest*.tar.gz
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -68,9 +85,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# borrowed from gentoo https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-misc/barrier/files
+patch -p1 < $CWD/barrier-2.4.0-includes.patch
+patch -p1 < $CWD/barrier-2.4.0-gcc-13.patch
+patch -p0 < $CWD/barrier-2.4.0-cert-creation.patch
+
mkdir -p build
cd build
- cmake \
+cmake \
+ -DBARRIER_BUILD_INSTALLER=OFF \
+ -DBARRIER_BUILD_TESTS=OFF \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE="Release" \
@@ -91,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/barrier/barrier.info b/network/barrier/barrier.info
index 554b4888c7..c776bebf23 100644
--- a/network/barrier/barrier.info
+++ b/network/barrier/barrier.info
@@ -1,10 +1,10 @@
PRGNAM="barrier"
-VERSION="2.1.2"
+VERSION="2.4.0"
HOMEPAGE="https://github.com/debauchee/barrier"
-DOWNLOAD="https://github.com/debauchee/barrier/archive/v2.1.2/barrier-2.1.2.tar.gz"
-MD5SUM="8cc0d40bc7da7f7e33c8c063157084b5"
+DOWNLOAD="https://github.com/debauchee/barrier/archive/v2.4.0/barrier-2.4.0.tar.gz https://github.com/gulrak/filesystem/archive/614bbe87b80435d87ab8791564370e0c1d13627d/filesystem.tar.gz https://github.com/google/googlemock/archive/7d33fee11ec480beae4c28ad09ca56d974140a72/googlemock.tar.gz https://github.com/google/googletest/archive/800f5422ac9d9e0ad59cd860a2ef3a679588acb4/googletest.tar.gz"
+MD5SUM="6f9b98a12a53cf8d0aa3b6b159aeb64f 3f5cfad2938ce8c3b8c8b9c4e49abc90 918ca93e15d4f589beb278d9b0093f1f b0b23c6e3137c995ed842b6fbae37e7b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="avahi qt5"
-MAINTAINER="Mário Antunes"
-EMAIL="mariolpantunes@gmail.com"
+REQUIRES="avahi"
+MAINTAINER="Ruben Schuller"
+EMAIL="sb@rbn.im"
diff --git a/network/base/README b/network/base/README
deleted file mode 100644
index 97b416357f..0000000000
--- a/network/base/README
+++ /dev/null
@@ -1,6 +0,0 @@
-BASE is the Basic Analysis and Security Engine. It is based on code
-from the Analysis Console for Intrusion Databases (ACID) project.
-This application provides a web frontend to query and analyze the alerts
-coming from a Snort IDS system.
-
-See the included README.SLACKWARE for information on setting up BASE.
diff --git a/network/base/README.SLACKWARE b/network/base/README.SLACKWARE
deleted file mode 100644
index 08d5dc0929..0000000000
--- a/network/base/README.SLACKWARE
+++ /dev/null
@@ -1,48 +0,0 @@
-README.SLACKWARE
-================
-
-
-0) Before installing BASE
--------------------------
-
-0.1 Necessary packages
-
-BASE requires a running installation of Snort, saving events to a database,
-either directly or through Barnyard{,2}, and adodb.
-
-I tested this with:
- - snort-2.8.6.1
- - barnyard2-1.8
- - adodb-5.11
-
-Snort (with our without Barnyard) should be working fine, saving alerts to
-your database before attempting to install or configure BASE.
-
-0.2 Necessary PHP modules
-
-For the graphics to work, you will need to get some modules from the PEAR
-library.
-
-You can download & install them with a few simple commands, presuming you
-have a working internet connection. If you do not have internet access on
-the system where you are setting up BASE, check the pear instructions on how
-to download the packages and install them on a separate box.
-
- # pear install Image_Color-1.0.4
- # pear install Image_Canvas-0.3.2
- # pear install Image_Graph-0.7.2
-
-
-1) Configuring BASE
--------------------
-
-After installing the BASE package, point your webbrowser to:
-
- http://<yourserver>/base
-
-and follow the five steps to configure BASE.
-The last step is to copy the created configuration settings from your browser
-and save it as:
-
- /var/www/htdocs/base/base_conf.php
-
diff --git a/network/base/base.SlackBuild b/network/base/base.SlackBuild
deleted file mode 100644
index 465a1aa775..0000000000
--- a/network/base/base.SlackBuild
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for base:
-# Basic Analysis and Security Engine
-
-# Written by Niels Horn <niels.horn@gmail.com>
-# revision date 2010/09/22
-
-PRGNAM=base
-VERSION=${VERSION:-1.4.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-DOCROOT=${DOCROOT:-/var/www/htdocs}
-PHPUSER=${PHPUSER:-root}
-PHPGROUP=${PHPGROUP:-apache}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# "Install" to $DOCROOT/base
-mkdir -p $PKG/$DOCROOT/$PRGNAM
-cp -a \
- *.php base_conf.php.dist admin help images includes languages setup styles \
- $PKG/$DOCROOT/$PRGNAM/
-chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM
-
-# Copy docs
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- docs/* sql \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/base/base.info b/network/base/base.info
deleted file mode 100644
index 33f3e04fc3..0000000000
--- a/network/base/base.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="base"
-VERSION="1.4.5"
-HOMEPAGE="https://sourceforge.net/projects/secureideas/"
-DOWNLOAD="https://downloads.sourceforge.net/secureideas/base-1.4.5.tar.gz"
-MD5SUM="2ce7de089b7b860f8230731f94a02044"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="adodb snort"
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
diff --git a/network/base/slack-desc b/network/base/slack-desc
deleted file mode 100644
index c5e4589610..0000000000
--- a/network/base/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-base: base (web front-end for Snort)
-base:
-base: BASE is the Basic Analysis and Security Engine. It is based on the
-base: code from the Analysis Console for Intrusion Databases (ACID) project.
-base: This application provides a web front-end to query and analyze the
-base: alerts coming from a Snort IDS system.
-base:
-base: Homepage: https://sourceforge.net/projects/secureideas/
-base:
-base:
-base:
diff --git a/network/basilisk-bin/basilisk-bin.SlackBuild b/network/basilisk-bin/basilisk-bin.SlackBuild
index 82bc6872b6..cb8c1af715 100644
--- a/network/basilisk-bin/basilisk-bin.SlackBuild
+++ b/network/basilisk-bin/basilisk-bin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for basilisk-bin
# Copyright 2018 Skaendo <skaendo at excite dot com>
-# Copyright 2018 Vasily Sora USA
+# Copyright 2018,2022 Vasily Sora USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=basilisk-bin
SRCNAM=basilisk
-VERSION=${VERSION:-2020.10.29}
+VERSION=${VERSION:-2022.01.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -53,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM-latest.linux64.tar.bz2
+tar xvf $CWD/$SRCNAM-latest.linux64.tar.xz
cd $SRCNAM
chown -R root:root .
find -L . \
@@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/basilisk-bin/basilisk-bin.info b/network/basilisk-bin/basilisk-bin.info
index 348fda3df9..a9010df534 100644
--- a/network/basilisk-bin/basilisk-bin.info
+++ b/network/basilisk-bin/basilisk-bin.info
@@ -1,10 +1,10 @@
PRGNAM="basilisk-bin"
-VERSION="2020.10.29"
+VERSION="2022.01.27"
HOMEPAGE="https://www.basilisk-browser.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://us.basilisk-browser.org/release/basilisk-latest.linux64.tar.xz"
-MD5SUM_x86_64="e68ebb5df528759c426519e35def9adb"
+DOWNLOAD_x86_64="http://repo.schotynet.org/sources/basilisk-bin/basilisk-latest.linux64.tar.xz"
+MD5SUM_x86_64="9d3728f8fdea1f1a2174d5d5346aa807"
REQUIRES=""
MAINTAINER="khronosschoty"
EMAIL="khronosschoty@posteo.org"
diff --git a/network/basilisk/README b/network/basilisk/README
deleted file mode 100644
index 6093a0b8ef..0000000000
--- a/network/basilisk/README
+++ /dev/null
@@ -1,19 +0,0 @@
-Basilisk (Web browser -- BUILD FROM SOURCE)
-
-Note: this builds Basilisk from source and conflicts with the binary
-repackage also found on SBo.
-
-Basilisk is a demonstration program for the Unified XUL Platform (XUP).
-It is a hard fork from the Mozilla code repository (mozilla-central)
-with an ESR-52 fork point.
-
-Some build time options:
-
- GTK=gtk2 ./basilisk.SlackBuild
-
-will override the default and build with gtk2 instead of gtk3.
-
-jack is an optional dependency and, if detected, automatically built. If
-this is undesirable you can blacklist jack, by passing the variable:
-
- BLACKLIST_JACK=yes ./basilisk.SlackBuild
diff --git a/network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz b/network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz
deleted file mode 100644
index 1be2c680e0..0000000000
--- a/network/basilisk/autoconf-2.13-consolidated_fixes-1.patch.gz
+++ /dev/null
Binary files differ
diff --git a/network/basilisk/basilisk.SlackBuild b/network/basilisk/basilisk.SlackBuild
deleted file mode 100644
index a3419c2151..0000000000
--- a/network/basilisk/basilisk.SlackBuild
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for basilisk
-
-# Copyright 2018 Vasily Sora USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by SlackBuilds.org
-
-PRGNAM=basilisk
-SRCNAM=${SRCNAM:-UXP}
-VERSION=${VERSION:-2019.09.03}
-RELEASEVER=${RELEASEVER:-52.9.$VERSION}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-OBJ=${OBJ:-obj-$PRGNAM}
-GTK=${GTK:-gtk3}
-EME=${EME:---enable-eme=widevine}
-
-# You can try changing the optimization level to simply "-O2" if your processor
-# doesn't support sse2 instructions.
-# "-Os" might help if you experience segfaults.
-OPTIMIZE=${OPTIMIZE:-"-O2 -msse2 -mfpmath=sse"}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# The default is to build with official branding. This SlackBuild is used to
-# produce officially approved third party "contributed builds" of Basilisk.
-# This SlackBuild can also be used to produce unapproved packages -- which
-# requires the use of the "unofficial" branding.
-BRANDING=${BRANDING:---enable-official-branding}
-if [ "$BRANDING" = "unofficial" ]; then
- BRANDING="--disable-official-branding --with-branding=browser/branding/unofficial"
-fi
-
-rm -rf $PKG $TMP/gold $TMP/$OBJ
-mkdir -p $TMP $PKG $OUTPUT $TMP/gold $TMP/$OBJ
-
-DEBUG=" --enable-strip --disable-debug --disable-debug-symbols --enable-release"
-if [ "${ENABLE_DEBUG:-no}" = "yes" ]; then
- DEBUG=" --disable-strip --disable-install-strip --enable-debug --enable-debug-symbols "
- # On IA32, use gold since GNU ld runs out of memory linking libxul.so
- # when debug is turned on
- if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then
- echo "#!/bin/bash" >> $TMP/gold/gold
- echo "/usr/bin/ld.gold \"\$@\"" >> $TMP/gold/gold
- cp $TMP/gold/gold $TMP/gold/ld
- chmod +x $TMP/gold/*
- PATH="$TMP/gold:$PATH"
- export CC="$CC -B$TMP/gold"
- export CXX="$CXX -B$TMP/gold"
- fi
-fi
-
-set -e
-
-# We need to use the incredibly ancient autoconf-2.13 for this :/
-# (Taken from Slackware's Firefox build Script)
-cd $TMP
-rm -rf autoconf-2.13
-tar xvf $CWD/autoconf-2.13.tar.xz
-cd autoconf-2.13
-zcat $CWD/autoconf-2.13-consolidated_fixes-1.patch.gz | patch -p1 --verbose
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Build a temporary copy of autoconf-2.13 only to be used to compile
-# Basilisk, since it somewhat inexplicably requires this ancient version:
-rm -rf $TMP/autoconf-tmp
-mkdir -p $TMP/autoconf-tmp
-# This will be at the beginning of the $PATH, so protect against nonsense
-# happening in $TMP:
-chmod 700 $TMP/autoconf-tmp
-rm -rf $TMP/autoconf-tmp/*
-mkdir -p $TMP/autoconf-tmp/usr
-
-./configure \
- --prefix=$TMP/autoconf-tmp/usr \
- --program-suffix=-2.13 \
- --infodir=$TMP/autoconf-tmp/usr/info \
- --mandir=$TMP/autoconf-tmp/usr/man \
- --build=$ARCH-slackware-linux
-
-make || make -j1
-make install
-PATH=$TMP/autoconf-tmp/usr/bin:$PATH
-
-# Build basilisk
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar -xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-
-# Set the proper version number, but do not rely on "$BASILISK_VERSION" since doing so will
-# set the version number to whenever a build takes place, rather then when a release was made.
-echo "$RELEASEVER" > application/basilisk/config/version.txt
-echo "$VERSION" > application/basilisk/config/version_display.txt
-
-# Selectively APPLY patch for glibc 2.30+
-if [ "${PATCH_GLIBC:-no}" = "yes" ]; then
- patch -p0 < $CWD/glibc-2.30+.patch
-fi
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Without LANG=C, building the Python environment may fail with:
-# "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)"
-export LANG=C
-
-export MOZCONFIG="$TMP/$SRCNAM-$VERSION/.mozconfig"
-export MOZILLA_OFFICIAL=1
-export MOZ_MAKE_FLAGS=$MAKEFLAGS
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export BUILDING_RELEASE=1
-export MOZ_ADDON_SIGNING=
-export MOZ_REQUIRE_SIGNING=
-export MOZ_TELEMETRY_REPORTING=
-export PYTHON=/usr/bin/python2
-
-# Our building options, in a configure-like display ;)
-OPTIONS="\
- ${BRANDING} \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-default-mozilla-five-home=/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER \
- --x-libraries=/usr/lib${LIBDIRSUFFIX} \
- --enable-default-toolkit=cairo-$GTK \
- $DEBUG \
- $DEVTOOLS \
- $EME \
- --enable-application=browser \
- --disable-crashreporter \
- --disable-updater \
- --disable-tests \
- --enable-jemalloc \
- --with-pthreads"
-
-echo "mk_add_options MOZ_OBJDIR=$TMP/$OBJ" > .mozconfig
-
-# Write in the .mozconfig the options above
-for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done
-echo "ac_add_options --enable-optimize=\"$OPTIMIZE\"" >> .mozconfig
-
-if ! pkg-config --exists libpulse; then
-echo "ac_add_options --disable-pulseaudio" >> .mozconfig; fi
-
-if pkg-config --exists jack && [ "${BLACKLIST_JACK:-no}" != "yes" ]; then
-echo "ac_add_options --enable-jack" >> .mozconfig; fi
-
-python2 mach build
-
-## Clean up; and package Basilisk.
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
-cd $TMP/$OBJ
-make install DESTDIR=$PKG
-
-cd $PKG
-
-# We don't need these (just symlinks anyway):
-rm -rf usr/lib${LIBDIRSUFFIX}/$PRGNAM-devel-$RELEASEVER
-
-# Avoid duplicate binaries; details: https://bugzilla.mozilla.org/show_bug.cgi?id=658850
-# Basilisk package scripts appear to attempt this, on other 'distros'; those scripts,
-# however, appear to fail on Slackware.
-rm -f usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/$PRGNAM-bin
-
-# Use system provided Hunspell, if desired.
-if [ "${USE_SYSTEM_HUNSPELL}" = "yes" ]; then
- rm -rfv usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/dictionaries
- cp -vsr /usr/share/hunspell usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/dictionaries
-fi
-
-# Install icons:
-for PX in 16 32 48 ; do
- mkdir -p $PKG/usr/share/icons/hicolor/${PX}x${PX}/apps
- ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/browser/chrome/icons/default/default${PX}.png \
- $PKG/usr/share/icons/hicolor/${PX}x${PX}/apps/$PRGNAM-$VERSION.png
-done
-# ... and the 128px icon file too:
-mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
-ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$RELEASEVER/browser/icons/mozicon128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/$PRGNAM-$VERSION.png
-
-# Install .desktop file
-mkdir -p $PKG/usr/share/applications
-sed "s|@VERSION@|$VERSION|" $CWD/$PRGNAM.desktop \
- > $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- $TMP/$SRCNAM-$VERSION/LEGAL $TMP/$SRCNAM-$VERSION/LICENSE $TMP/$SRCNAM-$VERSION/README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/basilisk/basilisk.desktop b/network/basilisk/basilisk.desktop
deleted file mode 100644
index 8a99bb38e0..0000000000
--- a/network/basilisk/basilisk.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=basilisk Web Browser
-Comment=Browse the World Wide Web
-Keywords=Internet;WWW;Browser;Web;Explorer
-Exec=basilisk %u
-Terminal=false
-X-MultipleArgs=false
-Type=Application
-Icon=basilisk-@VERSION@
-Categories=Network;WebBrowser
-MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
-StartupNotify=true
diff --git a/network/basilisk/basilisk.info b/network/basilisk/basilisk.info
deleted file mode 100644
index 85057decb3..0000000000
--- a/network/basilisk/basilisk.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="basilisk"
-VERSION="2019.09.03"
-HOMEPAGE="https://github.com/MoonchildProductions/UXP"
-DOWNLOAD="https://github.com/MoonchildProductions/UXP/archive/v2019.09.03/UXP-2019.09.03.tar.gz \
- http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz"
-MD5SUM="afa2ceea4761d3d8d0df88ffe5e42894 \
- f2994d302cf736e7e71974edfa51da3c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ffmpeg"
-MAINTAINER="khronosschoty"
-EMAIL="khronosschoty@posteo.org"
diff --git a/network/basilisk/doinst.sh b/network/basilisk/doinst.sh
deleted file mode 100644
index afea6d71dc..0000000000
--- a/network/basilisk/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/basilisk/glibc-2.30+.patch b/network/basilisk/glibc-2.30+.patch
deleted file mode 100644
index b67945d12a..0000000000
--- a/network/basilisk/glibc-2.30+.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-23 01:47:27.000000000 +0200
-+++ tools/profiler/tasktracer/GeckoTaskTracer.cpp 2019-08-29 18:02:44.541959971 +0200
-@@ -25,20 +25,14 @@
- #if defined(__GLIBC__)
- #include <unistd.h>
- #include <sys/syscall.h>
--static inline pid_t gettid()
--{
-- return (pid_t) syscall(SYS_gettid);
--}
-+#define gettid() static_cast<pid_t>(syscall(SYS_gettid))
- #elif defined(XP_MACOSX)
- #include <unistd.h>
- #include <sys/syscall.h>
--static inline pid_t gettid()
--{
-- return (pid_t) syscall(SYS_thread_selfid);
--}
-+#define gettid() static_cast<pid_t>(syscall(SYS_thread_selfid))
- #elif defined(LINUX)
- #include <sys/types.h>
--pid_t gettid();
-+#pid_t gettid();
- #endif
-
- // NS_ENSURE_TRUE_VOID() without the warning on the debug build.
-
-
---- js/src/jsnativestack.cpp 2019-08-29 17:45:10.000000000 +0200
-+++ js/src/jsnativestack.cpp 2019-08-29 17:53:58.382003265 +0200
-@@ -26,11 +26,7 @@
- # include <sys/syscall.h>
- # include <sys/types.h>
- # include <unistd.h>
--static pid_t
--gettid()
--{
-- return syscall(__NR_gettid);
--}
-+# define gettid() static_cast<pid_t>(syscall(__NR_gettid))
- # endif
-
- #else
diff --git a/network/basilisk/slack-desc b/network/basilisk/slack-desc
deleted file mode 100644
index 25926a7da4..0000000000
--- a/network/basilisk/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-basilisk: basilisk (Web browser -- BUILD FROM SOURCE)
-basilisk:
-basilisk: Basilisk is a demonstration program for the Unified XUL Platform
-basilisk: (XUP). It is a hard fork from the Mozilla code repository
-basilisk: (mozilla-central) with an ESR-52 fork point.
-basilisk:
-basilisk:
-basilisk:
-basilisk: https://github.com/MoonchildProductions/UXP
-basilisk:
-basilisk:
diff --git a/network/beegfs/README b/network/beegfs/README
new file mode 100644
index 0000000000..0ba7cbe88c
--- /dev/null
+++ b/network/beegfs/README
@@ -0,0 +1,32 @@
+BeeGFS aka. beegfs is a parallel filesystem that runs on
+vanilla Linux kernel.
+Officially supported filesystems for underlying local storage are
+ext4, xfs, and zfs.
+
+BeeGFS can be accessed through TCP and RDMA links.
+
+Each file on beegfs can be stored in a specific storage pool.
+Hard links and data/metadata mirroring are supported.
+
+Authorization is required for production use of features such as
+mirroring, quota enforcement (not quota tracking), and
+more than one storage pools, etc.
+Refer to the file "LICENSE.txt" for details.
+
+openzfs is an optional run-time dependency.
+
+Set BEEGFS_CTL_SUID to YES to install the beegfs-ctl program
+setUID to root:
+
+ env BEEGFS_CTL_SETUID=YES ./beegfs.SlackBuild
+
+The client driver is kernel-dependent, so a re-compile of
+this package is necessary for client nodes after a kernel-update.
+
+Set KERNEL to the kernel version the client driver to be built for:
+
+ env KERNEL=5.15.117 ./beegfs.SlackBuild
+
+The default ./beegfs.SlackBuild is equivalent to
+
+ env BEEGFS_CTL_SETUID=NO KERNEL=`uname -r` ./beegfs.SlackBuild
diff --git a/network/beegfs/beegfs.SlackBuild b/network/beegfs/beegfs.SlackBuild
new file mode 100644
index 0000000000..32e78d13c9
--- /dev/null
+++ b/network/beegfs/beegfs.SlackBuild
@@ -0,0 +1,180 @@
+#!/bin/bash
+
+# Slackware build script for beegfs
+
+# Copyright 2023,2024 GUAN Xin <guanx.bac@gmail.com> from Beijing
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=beegfs
+VERSION=${VERSION:-7.4.3}
+VERSION_MAJOR=$(echo $VERSION | cut -d. -f1,1)
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+KERNEL=${KERNEL:-$(uname -r)}
+PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+BEEGFS_CTL_SETUID=${BEEGFS_CTL_SETUID:-no}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make BEEGFS_CFLAGS="$SLKCFLAGS" USER_CXXFLAGS="$SLKCFLAGS" BEEGFS_VERSION=$VERSION common-all
+make BEEGFS_CFLAGS="$SLKCFLAGS" USER_CXXFLAGS="$SLKCFLAGS" BEEGFS_VERSION=$VERSION DESTDIR=$PKG common-install
+install -o 0 -g 0 -d -m 0755 $PKG/etc/rc.d/init.d
+install -o 0 -g 0 -p -m 0755 -t $PKG/etc/rc.d/init.d common_package/build/dist/etc/init.d/*
+install -o 0 -g 0 -d -m 0755 $PKG/etc/beegfs/lib
+install -o 0 -g 0 -p -m 0755 -t $PKG/etc/beegfs/lib common_package/scripts/etc/beegfs/lib/*
+
+make BEEGFS_CFLAGS="$SLKCFLAGS" USER_CXXFLAGS="$SLKCFLAGS" BEEGFS_VERSION=$VERSION daemons
+make BEEGFS_CFLAGS="$SLKCFLAGS" USER_CXXFLAGS="$SLKCFLAGS" BEEGFS_VERSION=$VERSION DESTDIR=$PKG daemons-install
+install -o 0 -g 0 -d -m 0755 $PKG/etc/rc.d/init.d
+install -o 0 -g 0 -d -m 0755 $PKG/etc/default
+install -o 0 -g 0 -d -m 0755 $PKG/etc/beegfs
+install -o 0 -g 0 -d -m 0755 $PKG/opt/beegfs/sbin
+for i in mgmtd meta storage helperd; do
+ install -o 0 -g 0 -p -m 0755 -t $PKG/etc/rc.d/init.d $i/build/dist/etc/init.d/*
+ install -o 0 -g 0 -p -m 0644 -t $PKG/etc/default $i/build/dist/etc/default/*
+ install -o 0 -g 0 -p -m 0600 -t $PKG/etc/beegfs $i/build/dist/etc/beegfs-$i.conf
+done
+for i in mgmtd meta storage; do
+ install -o 0 -g 0 -p -m 0755 -t $PKG/opt/beegfs/sbin $i/build/dist/sbin/*
+done
+
+make BEEGFS_CFLAGS="$SLKCFLAGS" USER_CXXFLAGS="$SLKCFLAGS" BEEGFS_VERSION=$VERSION utils
+make BEEGFS_CFLAGS="$SLKCFLAGS" USER_CXXFLAGS="$SLKCFLAGS" BEEGFS_VERSION=$VERSION DESTDIR=$PKG utils-install
+if [ "`echo $BEEGFS_CTL_SETUID | tr 'a-z' 'A-Z'`" = YES ]; then
+ chown 0:0 $PKG/opt/beegfs/sbin/beegfs-ctl
+ chmod 4755 $PKG/opt/beegfs/sbin/beegfs-ctl
+fi
+install -o 0 -g 0 -d -m 0755 $PKG/etc/bash_completion.d
+install -o 0 -g 0 -p -m 0644 -t $PKG/etc/bash_completion.d utils/scripts/etc/bash_completion.d/*
+install -o 0 -g 0 -d -m 0755 $PKG/etc/rc.d/init.d
+install -o 0 -g 0 -p -m 0755 -t $PKG/etc/rc.d/init.d mon/build/dist/etc/init.d/*
+install -o 0 -g 0 -d -m 0755 $PKG/etc/default
+install -o 0 -g 0 -p -m 0644 -t $PKG/etc/default mon/build/dist/etc/default/*
+install -o 0 -g 0 -d -m 0755 $PKG/etc/beegfs
+install -o 0 -g 0 -p -m 0600 -t $PKG/etc/beegfs mon/build/dist/etc/beegfs-mon.auth
+install -o 0 -g 0 -p -m 0600 -t $PKG/etc/beegfs mon/build/dist/etc/beegfs-mon.conf
+install -o 0 -g 0 -d -m 0755 $PKG/usr/bin
+for i in beegfs-check-servers beegfs-df beegfs-net; do
+ install -o 0 -g 0 -p -m 0755 -t $PKG/usr/bin utils/scripts/$i
+done
+ln -sf /opt/beegfs/sbin/beegfs-ctl $PKG/usr/bin
+ln -sf /opt/beegfs/sbin/beegfs-fsck $PKG/usr/bin
+install -o 0 -g 0 -d -m 0755 $PKG/sbin
+install -o 0 -g 0 -p -m 0755 -t $PKG/sbin utils/scripts/fsck.beegfs
+
+install -o 0 -g 0 -d -m 0755 $PKG/opt/beegfs/src/client/client_module_$VERSION_MAJOR
+cp -at $PKG/opt/beegfs/src/client/client_module_$VERSION_MAJOR client_module/build client_module/include client_module/source
+rm -fr $PKG/opt/beegfs/src/client/client_module_$VERSION_MAJOR/build/dist
+chown -R 0:0 $PKG/opt/beegfs/src/client/client_module_$VERSION_MAJOR
+chmod -R og-w $PKG/opt/beegfs/src/client/client_module_$VERSION_MAJOR
+install -o 0 -g 0 -d -m 0755 $PKG/etc/rc.d/init.d
+install -o 0 -g 0 -p -m 0755 -t $PKG/etc/rc.d/init.d client_module/build/dist/etc/init.d/*
+install -o 0 -g 0 -d -m 0755 $PKG/etc/default
+install -o 0 -g 0 -p -m 0644 -t $PKG/etc/default client_module/build/dist/etc/default/*
+install -o 0 -g 0 -d -m 0755 $PKG/etc/beegfs
+install -o 0 -g 0 -p -m 0644 -t $PKG/etc/beegfs client_module/build/dist/etc/beegfs-client-autobuild.conf
+install -o 0 -g 0 -p -m 0644 -t $PKG/etc/beegfs client_module/build/dist/etc/beegfs-client-build.mk
+install -o 0 -g 0 -p -m 0755 -t $PKG/etc/beegfs client_module/build/dist/etc/beegfs-client-mount-hook.example
+install -o 0 -g 0 -p -m 0600 -t $PKG/etc/beegfs client_module/build/dist/etc/beegfs-client.conf
+install -o 0 -g 0 -p -m 0600 -t $PKG/etc/beegfs client_module/build/dist/etc/beegfs-mounts.conf
+install -o 0 -g 0 -d -m 0755 $PKG/etc/beegfs/lib
+install -o 0 -g 0 -p -m 0755 -t $PKG/etc/beegfs/lib client_module/scripts/etc/beegfs/lib/*
+make -C client_module/build BEEGFS_VERSION=$VERSION KRELEASE=$KERNEL
+make BEEGFS_VERSION=$VERSION DESTDIR=$PKG PREFIX= KVER=$KERNEL KRELEASE=$KERNEL client-install
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# beegfs-client-devel files
+cp -at $PKG/usr client_devel/include
+cp -at $PKG/usr/doc/$PRGNAM-$VERSION client_devel/build/dist/usr/share/doc/beegfs-client-devel
+cat > $PKG/usr/doc/$PRGNAM-$VERSION/beegfs-client-devel/examples/Makefile << EOF
+% : %.cpp
+ \$(CXX) -O2 -Wall -I/opt/beegfs/src/client/client_module_$VERSION_MAJOR/include -o \$@ \$<
+EOF
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+( cd $PKG
+ find etc -type f -regextype posix-extended -regex '^etc/(default/.+|beegfs/.+\.(conf|auth))$' \
+ -exec mv {} {}.new \; \
+ -exec printf 'config %s.new\n' {} >> $PKG/install/doinst.sh \;
+ printf '\n' >> $PKG/install/doinst.sh
+)
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/beegfs/beegfs.info b/network/beegfs/beegfs.info
new file mode 100644
index 0000000000..7ee36d3999
--- /dev/null
+++ b/network/beegfs/beegfs.info
@@ -0,0 +1,10 @@
+PRGNAM="beegfs"
+VERSION="7.4.3"
+HOMEPAGE="https://www.beegfs.io/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/ThinkParQ/beegfs/archive/7.4.3/beegfs-7.4.3.tar.gz"
+MD5SUM_x86_64="a96c1deee976db763ef324af6f3593bc"
+REQUIRES="rdma-core"
+MAINTAINER="GUAN Xin"
+EMAIL="guanx.bac@gmail.com"
diff --git a/network/beegfs/doinst.sh b/network/beegfs/doinst.sh
new file mode 100644
index 0000000000..19a6ff6ac8
--- /dev/null
+++ b/network/beegfs/doinst.sh
@@ -0,0 +1,13 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
diff --git a/network/beegfs/slack-desc b/network/beegfs/slack-desc
new file mode 100644
index 0000000000..3a42f5feb0
--- /dev/null
+++ b/network/beegfs/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+beegfs: beegfs (a parallel filesystem)
+beegfs:
+beegfs: beegfs is a parallel filesystem that runs on vanilla Linux kernel.
+beegfs: Officially supported filesystems for underlying local storage are
+beegfs: ext4, xfs, and zfs.
+beegfs:
+beegfs: Each file on beegfs can be stored in a specific storage pool.
+beegfs:
+beegfs: beegfs can be accessed through TCP and RDMA links.
+beegfs:
+beegfs: Home: https://www.beegfs.io/
diff --git a/network/bip/README b/network/bip/README
index 582c62282f..f41a697bdc 100644
--- a/network/bip/README
+++ b/network/bip/README
@@ -1,6 +1,7 @@
-Bip is an irc proxy with SSL support, which means it keeps connected to
-your preferred IRC servers, can store the logs for you, and even send
-them back to your IRC client(s) upon connection. You may want to use
-bip to keep your logfiles (in a unique format and on a unique computer)
-whatever your client is, when you connect from multiple workstations, or
-when you simply want to have a playback of what was said when you were away.
+Bip is an irc proxy with SSL support, which means it keeps connected
+to your preferred IRC servers, can store the logs for you, and even
+send them back to your IRC client(s) upon connection. You may want
+to use bip to keep your logfiles (in a unique format and on a unique
+computer) whatever your client is, when you connect from multiple
+workstations, or when you simply want to have a playback of what was
+said when you were away.
diff --git a/network/bip/bip.SlackBuild b/network/bip/bip.SlackBuild
index 93d6aac4df..1ee6c2b089 100644
--- a/network/bip/bip.SlackBuild
+++ b/network/bip/bip.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Bip
@@ -24,27 +24,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bip
-VERSION=${VERSION:-0.9.0_rc3}
-SRCVER=${SRCVER:-0.9.0-rc3}
+VERSION=${VERSION:-0.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,7 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=duplicate-decl-specifier" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -101,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bip/bip.info b/network/bip/bip.info
index 36947c5630..78add35b6b 100644
--- a/network/bip/bip.info
+++ b/network/bip/bip.info
@@ -1,8 +1,8 @@
PRGNAM="bip"
-VERSION="0.9.0_rc3"
+VERSION="0.9.0"
HOMEPAGE="https://bip.milkypond.org/"
-DOWNLOAD="https://projects.duckcorp.org/attachments/download/87/bip-0.9.0-rc3.tar.gz"
-MD5SUM="f4c9af03b591d475396424e212fa41e2"
+DOWNLOAD="https://projects.duckcorp.org/attachments/download/101/bip-0.9.0.tar.gz"
+MD5SUM="2ef0fbf8c6a2e351bb6ce82ca8a5afd2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/bird/README b/network/bird/README
deleted file mode 100644
index 0bd65b9886..0000000000
--- a/network/bird/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Bird Internet routing suite.
-
-The BIRD project aims to develop a fully functional dynamic IP routing daemon
-primarily targeted on (but not limited to) UNIX-like systems and distributed
-under the GNU General Public License.
-
diff --git a/network/bird/bird.SlackBuild b/network/bird/bird.SlackBuild
deleted file mode 100644
index cd85b8b870..0000000000
--- a/network/bird/bird.SlackBuild
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for bird
-# Written by Axel Scheepers <axel.scheepers@xs4all.nl>
-
-PRGNAM=bird
-VERSION=${VERSION:-1.3.11}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS -fgnu89-inline" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README TODO ChangeLog NEWS doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/gpl-2.0.txt > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mv $PKG/etc/bird.conf $PKG/etc/bird.conf.new
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/bird/bird.info b/network/bird/bird.info
deleted file mode 100644
index 830c070e7a..0000000000
--- a/network/bird/bird.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="bird"
-VERSION="1.3.11"
-HOMEPAGE="http://bird.network.cz/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/bird-1.3.11.tar.gz"
-MD5SUM="8ad2eb997fb8251bc5b24cf32619571b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Axel Scheepers"
-EMAIL="axel.scheepers@xs4all.nl"
diff --git a/network/bird/doinst.sh b/network/bird/doinst.sh
deleted file mode 100644
index 07dc704305..0000000000
--- a/network/bird/doinst.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/bird.conf.new
diff --git a/network/bird/gpl-2.0.txt b/network/bird/gpl-2.0.txt
deleted file mode 100644
index d159169d10..0000000000
--- a/network/bird/gpl-2.0.txt
+++ /dev/null
@@ -1,339 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
diff --git a/network/bird/slack-desc b/network/bird/slack-desc
deleted file mode 100644
index 1ff72e77e6..0000000000
--- a/network/bird/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-bird: bird (internet routing suite)
-bird:
-bird: The BIRD project aims to develop a fully functional dynamic IP
-bird: routing daemon primarily targeted on (but not limited to) UNIX-like
-bird: systems and distributed under the GNU General Public License.
-bird:
-bird: Homepage: http://bird.network.cz
-bird:
-bird:
-bird:
-bird:
diff --git a/network/bitchx/BitchX.desktop b/network/bitchx/BitchX.desktop
new file mode 100644
index 0000000000..3aaf1634cd
--- /dev/null
+++ b/network/bitchx/BitchX.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=BitchX
+GenericName=IRC Client
+Comment=The bitch of IRC!
+Icon=BitchX
+Exec=BitchX
+Terminal=true
+Type=Application
+Categories=Network;IRCClient;
diff --git a/network/bitchx/README b/network/bitchx/README
new file mode 100644
index 0000000000..cbf0731bdb
--- /dev/null
+++ b/network/bitchx/README
@@ -0,0 +1,15 @@
+bitchx (IRC client)
+
+BitchX is a free software text-based IRC (Internet Relay Chat)
+client for UNIX-like systems, originally based on ircII and heavily
+influenced by EPIC.
+
+The original BitchX hasn't been updated since 2014. This build is for
+a fork by TheApacheCats that has many bugfixes and enhancements, and
+was last updated in 2019.
+
+The executable and man page are called BitchX (not bitchx).
+
+Optional: BitchX makes use of MS-DOS-style (codepage 437) graphics for
+its title screen. You can install misc/cp437 and run "cp347 BitchX"
+to see the title screen as it was intended.
diff --git a/network/bitchx/bitchx.SlackBuild b/network/bitchx/bitchx.SlackBuild
new file mode 100644
index 0000000000..a8ecee895f
--- /dev/null
+++ b/network/bitchx/bitchx.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for bitchx
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20220315 bkw: the old BitchX was removed a few weeks ago because it
+# won't compile on Slackware 15.0. This build is for a fork that's a
+# lot more up to date. I asked the maintainer of the old package if he
+# was OK with me submitting a new bitchx, and he gave his blessing.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=bitchx
+VERSION=${VERSION:-1.2.1_2019}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+SRCNAM=BitchX
+SRCVER=${VERSION/_/-}
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# 20220301 bkw: --docdir is unrecognized.
+# The SHLIB_LD and LDFLAGS build everything stripped.
+
+SHLIB_LD="gcc -shared -Wl,-s" \
+LDFLAGS="-Wl,-s" \
+CFLAGS="$SLKCFLAGS -fcommon" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --without-gtk \
+ --with-ssl \
+ --with-plugins \
+ --enable-ipv6 \
+ --enable-tcl \
+ --disable-sound \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# 20220302 bkw: man page is installed bzipped, works but it's weird.
+bunzip2 ${M:=$PKG/usr/man/man1/$SRCNAM.1}.bz2
+gzip -9 $M
+
+# 20220302 bkw: .desktop file by SlackBuild author. Sure, why not?
+mkdir -p ${A:=$PKG/usr/share/applications}
+cat $CWD/$SRCNAM.desktop > $A/$SRCNAM.desktop
+
+# 20220302 bkw: since we have a .desktop, we need icons.
+mkdir -p ${I:=$PKG/usr/share/icons/hicolor}/{32x32,64x64}/apps
+convert -background none -extent 64x64 -gravity center \
+ doc/misc/bitch52.xpm $I/64x64/apps/$SRCNAM.png
+convert -background none doc/$SRCNAM.xpm $I/32x32/apps/$SRCNAM.png
+
+mkdir -p ${P:=$PKG/usr/share/pixmaps}
+ln -s ../icons/hicolor/64x64/apps/$SRCNAM.png $P
+
+mkdir -p ${PKGDOC:=$PKG/usr/doc/$PRGNAM-$VERSION}
+rm -f doc/$SRCNAM.1 # man page installed elsewhere
+cp -a COPYRIGHT Changelog IPv6-support README doc $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bitchx/bitchx.info b/network/bitchx/bitchx.info
new file mode 100644
index 0000000000..c099bafb82
--- /dev/null
+++ b/network/bitchx/bitchx.info
@@ -0,0 +1,10 @@
+PRGNAM="bitchx"
+VERSION="1.2.1_2019"
+HOMEPAGE="https://github.com/TheApacheCats/BitchX/"
+DOWNLOAD="https://github.com/TheApacheCats/BitchX/archive/1.2.1-2019/BitchX-1.2.1-2019.tar.gz"
+MD5SUM="12157f123551b55364fa8a144e5b6a9c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/bitchx/doinst.sh b/network/bitchx/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/network/bitchx/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/bitchx/slack-desc b/network/bitchx/slack-desc
new file mode 100644
index 0000000000..746dab1dc3
--- /dev/null
+++ b/network/bitchx/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+bitchx: bitchx (IRC client)
+bitchx:
+bitchx: BitchX is a free software text-based IRC (Internet Relay Chat)
+bitchx: client for UNIX-like systems, originally based on ircII and heavily
+bitchx: influenced by EPIC.
+bitchx:
+bitchx:
+bitchx:
+bitchx:
+bitchx:
+bitchx:
diff --git a/network/bitcoin/README b/network/bitcoin/README
index 667e2935be..7e3be4ea05 100644
--- a/network/bitcoin/README
+++ b/network/bitcoin/README
@@ -13,6 +13,4 @@ If you just want to send and receive Bitcoins you can also look
at a light client like Electrum.
Please make sure to read the release notes first before upgrading:
-https://bitcoincore.org/en/releases/0.21.0/
-
-qrencode is an optional but strongly recommended dependency.
+https://bitcoincore.org/en/releases/27.0/
diff --git a/network/bitcoin/bitcoin.SlackBuild b/network/bitcoin/bitcoin.SlackBuild
index 658fc14a62..7e5142b0ed 100644
--- a/network/bitcoin/bitcoin.SlackBuild
+++ b/network/bitcoin/bitcoin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bitcoin
-# Copyright 2012 nomnombtc <nomnombtc@arcor.de>
+# Copyright 2012-2024 nomnombtc <nomnombtc@arcor.de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bitcoin
-VERSION=${VERSION:-0.21.0}
+VERSION=${VERSION:-27.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -73,7 +83,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# build bitcoin-core
-[ -f autogen.sh ] && sh autogen.sh
+[ -f autogen.sh ] && ./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,15 +93,15 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
$QRCODE \
--with-gui=qt5 \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --disable-bench \
+ --disable-tests \
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-# Remove the "test" binaries. Alternatively, you can explicitly disable tests
-# by adding "--enable-tests=no" to the above configure command.
-rm $PKG/usr/bin/test*
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/share/{applications,pixmaps}
@@ -115,4 +125,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bitcoin/bitcoin.info b/network/bitcoin/bitcoin.info
index c9df6a1ae7..47b798acfb 100644
--- a/network/bitcoin/bitcoin.info
+++ b/network/bitcoin/bitcoin.info
@@ -1,10 +1,10 @@
PRGNAM="bitcoin"
-VERSION="0.21.0"
+VERSION="27.0"
HOMEPAGE="https://bitcoincore.org"
-DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0.tar.gz"
-MD5SUM="a99c80d18243db0b8089882f9be1302a"
+DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-27.0/bitcoin-27.0.tar.gz"
+MD5SUM="0850dc36e811ad780123f12083974a5f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="protobuf qt5"
+REQUIRES=""
MAINTAINER="nomnombtc"
EMAIL="nomnombtc@arcor.de"
diff --git a/network/bitlbee-discord/bitlbee-discord.SlackBuild b/network/bitlbee-discord/bitlbee-discord.SlackBuild
index 6f5522dca2..ab5f0f3b4d 100644
--- a/network/bitlbee-discord/bitlbee-discord.SlackBuild
+++ b/network/bitlbee-discord/bitlbee-discord.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bitlbee-discord
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bitlbee-discord
VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bitlbee-steam/bitlbee-steam.SlackBuild b/network/bitlbee-steam/bitlbee-steam.SlackBuild
index 7aef45cc77..9630ee65fe 100644
--- a/network/bitlbee-steam/bitlbee-steam.SlackBuild
+++ b/network/bitlbee-steam/bitlbee-steam.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "bitlbee-steam".
@@ -24,10 +24,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bitlbee-steam
VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bitlbee/README b/network/bitlbee/README
index f0063c3c44..5beb5423a4 100644
--- a/network/bitlbee/README
+++ b/network/bitlbee/README
@@ -1,15 +1,16 @@
-BitlBee is an IRC instant messaging gateway licensed under the terms of
-the GPL. It communicates with the end user via the IRC protocol whilst
-interacting with popular chat networks such as AIM, ICQ, MSN, Yahoo,
-and Jabber. The user's buddies appear as normal IRC users in a channel,
-and conversations use the private message facility of IRC.
+BitlBee is an IRC instant messaging gateway licensed under the terms
+of the GPL. It communicates with the end user via the IRC protocol
+whilst interacting with popular chat networks such as AIM, ICQ, MSN,
+Yahoo, and Jabber. The user's buddies appear as normal IRC users in a
+channel, and conversations use the private message facility of IRC.
-After your installation you will need to configure bitlbee. There are
-two ways starting bitlbee: Either as a forked daemon (preferred), or
-the old way of starting it through inetd (mostly deprecated these days).
+After your installation you will need to configure bitlbee. There
+are two ways starting bitlbee: Either as a forked daemon (preferred),
+or the old way of starting it through inetd (mostly deprecated these
+days).
-Bitlbee now includes a standard rc.bitlbee. To have this start on bootup,
-add the following code to /etc/rc.d/rc.local for example
+Bitlbee now includes a standard rc.bitlbee. To have this start on
+bootup, add the following code to /etc/rc.d/rc.local for example
if [ -x /etc/rc.d/rc.bitlbee ]; then
/etc/rc.d/rc.bitlbee start
@@ -30,10 +31,10 @@ Slackware and run the script as follows:
OTR=yes ./bitlbee.SlackBuild
-From version 3.2 bitlbee offers some form of skype support, even though
-this will not ever be part of bitlbee proper. Please see the documentation
-in protocols/skype in the source package for information. You can run the
-script as following:
+From version 3.2 bitlbee offers some form of skype support, even
+though this will not ever be part of bitlbee proper. Please see
+the documentation in protocols/skype in the source package for
+information. You can run the script as following:
SKYPE=yes ./bitlbee.SlackBuild
diff --git a/network/bitlbee/bitlbee.SlackBuild b/network/bitlbee/bitlbee.SlackBuild
index 055323d899..356c6e5504 100644
--- a/network/bitlbee/bitlbee.SlackBuild
+++ b/network/bitlbee/bitlbee.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "bitlbee".
@@ -25,20 +25,30 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bitlbee
VERSION=${VERSION:-3.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,8 +56,8 @@ OUTPUT=${OUTPUT:-/tmp}
BITLBEE_USER=${BITLBEE_USER:-250}
BITLBEE_GROUP=${BITLBEE_GROUP:-250}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -174,4 +184,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bluejeans/bluejeans.SlackBuild b/network/bluejeans/bluejeans.SlackBuild
index 7ab75e1360..7b5a72f5e1 100644
--- a/network/bluejeans/bluejeans.SlackBuild
+++ b/network/bluejeans/bluejeans.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bluejeans
-# Copyright 2019, 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
+# Copyright 2019-2021 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bluejeans
-VERSION=${VERSION:-2.19.0.61}
+VERSION=${VERSION:-2.22.0.87}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,9 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -e
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,17 +58,18 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
+set -eu
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
rpm2cpio $CWD/${SRCNAM}_${VERSION}.rpm | cpio -idmv
-
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -80,4 +89,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bluejeans/bluejeans.info b/network/bluejeans/bluejeans.info
index 589a4b2ef4..b972c16a09 100644
--- a/network/bluejeans/bluejeans.info
+++ b/network/bluejeans/bluejeans.info
@@ -1,10 +1,10 @@
PRGNAM="bluejeans"
-VERSION="2.19.0.61"
+VERSION="2.22.0.87"
HOMEPAGE="https://www.bluejeans.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://swdl.bluejeans.com/desktop-app/linux/2.19.0/BlueJeans_2.19.0.61.rpm"
-MD5SUM_x86_64="8156ea2be61c78584e7bb27a4e8a0ee3"
+DOWNLOAD_x86_64="https://swdl.bluejeans.com/desktop-app/linux/2.22.0/BlueJeans_2.22.0.87.rpm"
+MD5SUM_x86_64="6518ca795e5517c7e5cd653b7b7d02d2"
REQUIRES=""
MAINTAINER="Igor Alexandrov"
EMAIL="igor.alexandrov@outlook.com"
diff --git a/network/bmon/README b/network/bmon/README
index a409d75ab8..9822bcb388 100644
--- a/network/bmon/README
+++ b/network/bmon/README
@@ -1,8 +1,11 @@
-bmon is a portable bandwidth monitor and rate estimator running on
-various operating systems. It supports various input methods for different
-architectures. Various output modes exist including an interactive curses
-interface, lightweight HTML output but also formatable ASCII output.
+bmon (portable bandwidth monitor and rate estimator)
-Statistics may be distributed over a network using multicast or unicast
-and collected at some point to generate a summary of statistics for a
-set of nodes.
+bmon is a portable bandwidth monitor and rate estimator running
+on various operating systems. It supports various input methods
+for different architectures. Various output modes exist including
+an interactive curses interface, lightweight HTML output but also
+formatable ASCII output.
+
+Statistics may be distributed over a network using multicast
+or unicast and collected at some point to generate a summary of
+statistics for a set of nodes.
diff --git a/network/bmon/bmon.SlackBuild b/network/bmon/bmon.SlackBuild
index f1147256c5..117d7b3362 100644
--- a/network/bmon/bmon.SlackBuild
+++ b/network/bmon/bmon.SlackBuild
@@ -1,17 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bmon
-# Written by B. Watson (yalhcru at gmail dot com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20170302 bkw: use long-format github URL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bmon
VERSION=${VERSION:-4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,11 +50,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
autoreconf -if
@@ -80,4 +84,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bmon/bmon.info b/network/bmon/bmon.info
index afcf8ecee2..11e676c211 100644
--- a/network/bmon/bmon.info
+++ b/network/bmon/bmon.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="confuse"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/bollux/bollux.SlackBuild b/network/bollux/bollux.SlackBuild
index 62c42b3027..cb75aba58a 100644
--- a/network/bollux/bollux.SlackBuild
+++ b/network/bollux/bollux.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for bollux.
#
@@ -22,74 +22,54 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2.
+# - make noarch (it's just a shell script).
+# - fix permissions on man pages.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bollux
VERSION=${VERSION:-0.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+chmod 0644 *
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr/man
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
+# 20220404 bkw: don't use 'make install', it's less code to do
+# this way than it is to clean up the mess.
+mkdir -p $PKG/usr/bin $PKG/usr/man/man{1,5}
+install -m0755 $PRGNAM $PKG/usr/bin
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+gzip -9c < $PRGNAM.conf.5 > $PKG/usr/man/man5/$PRGNAM.conf.5.gz
DOCS="LICENSE README.md test.gmi"
-rm -rf $PKG/usr/share/doc
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bollux/bollux.info b/network/bollux/bollux.info
index e65279d0ea..71b8e70c8c 100644
--- a/network/bollux/bollux.info
+++ b/network/bollux/bollux.info
@@ -2,7 +2,7 @@ PRGNAM="bollux"
VERSION="0.2.2"
HOMEPAGE="https://git.sr.ht/~acdw/bollux"
DOWNLOAD="https://git.sr.ht/~acdw/bollux/archive/0.2.2.tar.gz"
-MD5SUM="4ba00dc4f85b9766cfbab5969c7bc561"
+MD5SUM="035c8066266cd40d2ceb28b13030c5d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/bombadillo/bombadillo.SlackBuild b/network/bombadillo/bombadillo.SlackBuild
index dafdbcdadf..e5151b3dbe 100644
--- a/network/bombadillo/bombadillo.SlackBuild
+++ b/network/bombadillo/bombadillo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for bombadillo.
#
@@ -17,10 +17,13 @@
# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bombadillo
VERSION=${VERSION:-2.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -30,7 +33,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bombadillo/doinst.sh b/network/bombadillo/doinst.sh
index b3b5ad2b91..e9dd46ae9f 100644
--- a/network/bombadillo/doinst.sh
+++ b/network/bombadillo/doinst.sh
@@ -6,4 +6,4 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
-fi \ No newline at end of file
+fi
diff --git a/network/bombadillo/slack-desc b/network/bombadillo/slack-desc
index 12569a03c1..95ebc03080 100644
--- a/network/bombadillo/slack-desc
+++ b/network/bombadillo/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-bombadillo: bombadillo 2.3.3 (bombadillo non-web browser)
+bombadillo: bombadillo (bombadillo non-web browser)
bombadillo:
bombadillo: bombadillo is a non-web browser for the terminal. It features a
bombadillo: full terminal user interface, vim-like keybindings, document
diff --git a/network/bottle/README b/network/bottle/README
index 65cf685e37..fb045a510e 100644
--- a/network/bottle/README
+++ b/network/bottle/README
@@ -1,3 +1,3 @@
-bottle is a fast, simple and lightweight WSGI micro web-framework for
-Python. It is distributed as a single file module and has no
+bottle is a fast, simple and lightweight WSGI micro web-framework
+for Python. It is distributed as a single file module and has no
dependencies other than the Python Standard Library.
diff --git a/network/bottle/bottle.SlackBuild b/network/bottle/bottle.SlackBuild
index 1a017dd319..7043352813 100644
--- a/network/bottle/bottle.SlackBuild
+++ b/network/bottle/bottle.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bottle
-# Copyright 2015-2021 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2015-2023 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bottle
-VERSION=${VERSION:-0.12.19}
+VERSION=${VERSION:-0.12.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,9 +38,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -72,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bottle/bottle.info b/network/bottle/bottle.info
index 4c38928e34..e2539a1e47 100644
--- a/network/bottle/bottle.info
+++ b/network/bottle/bottle.info
@@ -1,8 +1,8 @@
PRGNAM="bottle"
-VERSION="0.12.19"
+VERSION="0.12.23"
HOMEPAGE="https://bottlepy.org/docs/dev/"
-DOWNLOAD="https://github.com/bottlepy/bottle/archive/0.12.19/bottle-0.12.19.tar.gz"
-MD5SUM="3c07bf37fdd43ab6fa3567b189b59ce7"
+DOWNLOAD="https://github.com/bottlepy/bottle/archive/0.12.23/bottle-0.12.23.tar.gz"
+MD5SUM="01d9bb5079000cf64cdac6f1a174ae29"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/boxcryptor/README b/network/boxcryptor/README
deleted file mode 100644
index 703f39ac1c..0000000000
--- a/network/boxcryptor/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Boxcryptor protects your files in the cloud no matter if you use
-Dropbox, Google Drive, Microsoft OneDrive, SugarSync, Box, or any
-other major cloud storage provider. It also supports all the
-clouds that use WebDAV standard such as Cubby, Strato HiDrive,
-and ownCloud.
-
-`kdesu` is a runtime dependency.
diff --git a/network/boxcryptor/boxcryptor.SlackBuild b/network/boxcryptor/boxcryptor.SlackBuild
deleted file mode 100644
index 40bd5e7b8d..0000000000
--- a/network/boxcryptor/boxcryptor.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for boxcryptor
-
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <https://www.gnu.org/licenses/>.
-
-PRGNAM=boxcryptor
-SRCNAM=Boxcryptor
-VERSION=${VERSION:-2.2.410.162}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DOCS="README"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- echo "Your architecture is not supported."
- exit 1
-fi
-
-SHORTARCH=`getconf LONG_BIT`
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-mkdir -p $PRGNAM
-cd $PRGNAM
-tar -xvpf $CWD/$SRCNAM\_Portable\_Linux$SHORTARCH\_$VERSION.tar.gz
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p $PKG/opt/
-mkdir -p $PKG/usr/bin/
-mv ../$PRGNAM/ $PKG/opt/
-
-## we make our own script
-cat <<EOT > $PKG/usr/bin/${PRGNAM}
-#!/bin/sh
-## This has to be run with sudo
-## until i can find a way around the
-## permissions debacle.
-kdesu /opt/${PRGNAM}/${SRCNAM}\_Portable.sh "\$@"
-EOT
-chmod 755 $PKG/usr/bin/${PRGNAM}
-
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/boxcryptor/boxcryptor.info b/network/boxcryptor/boxcryptor.info
deleted file mode 100644
index 5b3e392b9d..0000000000
--- a/network/boxcryptor/boxcryptor.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="boxcryptor"
-VERSION="2.2.410.162"
-HOMEPAGE="https://boxcryptor.com"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/Boxcryptor_Portable_Linux64_2.2.410.162.tar.gz"
-MD5SUM_x86_64="74fe13e5946ad1e3bcc8176206f3e68d"
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/boxcryptor/slack-desc b/network/boxcryptor/slack-desc
deleted file mode 100644
index 6ec762f795..0000000000
--- a/network/boxcryptor/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-boxcryptor: boxcryptor (cloud encryption service)
-boxcryptor:
-boxcryptor: Boxcryptor protects your files in the cloud no matter if you use
-boxcryptor: Dropbox, Google Drive, Microsoft OneDrive, SugarSync, Box, or any
-boxcryptor: other major cloud storage provider.
-boxcryptor:
-boxcryptor:
-boxcryptor:
-boxcryptor:
-boxcryptor: https://boxcryptor.com
-boxcryptor:
diff --git a/network/bozohttpd/bozohttpd.SlackBuild b/network/bozohttpd/bozohttpd.SlackBuild
index 8e30554400..18e3d5e69a 100644
--- a/network/bozohttpd/bozohttpd.SlackBuild
+++ b/network/bozohttpd/bozohttpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bozohttpd
@@ -22,8 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+# 20240206 bkw: Update for v20240126.
+# 20230103 bkw: Update for v20220517.
+# 20210911 bkw: Update for v20210227.
# 20201102 bkw: Update for v20201014.
# 20191201 bkw: Update for v20190228.
@@ -46,10 +49,13 @@
# - Tweak man page, de-NetBSDify the pathnames.
# - Simplify script a bit.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bozohttpd
-VERSION=${VERSION:-20201014}
+VERSION=${VERSION:-20240126}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -59,23 +65,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -135,6 +141,11 @@ case "$LUA" in
;;
esac
+# 20220207 bkw: due to 15.0's newer gcc, non-lua and lua 5.2 builds
+# were failing (and I didn't notice right away because I keep lua 5.3
+# installed).
+sed -i '1i#include <stdint.h>' $PRGNAM.c
+
echo "=== LUA='$LUA'"
if [ "$LUA" != "no" ] && lua$LUA -v &>/dev/null; then
LUAOPT="-I/usr/include/lua$LUA"
@@ -160,7 +171,7 @@ if [ -n "$DEFFILE" ]; then
DEFINES="$( echo $( sed 's,#.*$,,' "$DEFFILE" ) )"
echo "=== using defines from $DEFFILE: '$DEFINES'"
else
- DEFINES="-DDO_HTPASSWD"
+ DEFINES="-DDO_HTPASSWD -DNO_BLOCKLIST_SUPPORT"
fi
# 20180629 bkw: The man page was written for NetBSD, where I guess
@@ -185,6 +196,9 @@ sed -i \
# Probably doesn't hurt anything, but might cause problems later.
# More worrisome is missing crypt() prototype (causes implicit pointer
# to int casts, baaaaad, especially on 64-bit).
+# 20240206 bkw: rather than try to figure out why #define _XOPEN_SOURCE
+# doesn't provide a prototype for strptime(), and #define _GNU_SOURCE
+# doesn't give us vasprintf(), just put the damn prototypes in the patch.
patch -p1 < $CWD/fix_warnings.diff
# Fix build (from Arch Linux' AUR).
@@ -206,4 +220,4 @@ mkdir -p $PKG/install
sed "s,@WITHLUA@,$WITHLUA," $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bozohttpd/bozohttpd.info b/network/bozohttpd/bozohttpd.info
index 5546582853..b8e85c3dae 100644
--- a/network/bozohttpd/bozohttpd.info
+++ b/network/bozohttpd/bozohttpd.info
@@ -1,10 +1,10 @@
PRGNAM="bozohttpd"
-VERSION="20201014"
-HOMEPAGE="http://www.eterna.com.au/bozohttpd/"
-DOWNLOAD="http://www.eterna.com.au/bozohttpd/bozohttpd-20201014.tar.bz2"
-MD5SUM="c93b63381e3a291d3be2c691396f8293"
+VERSION="20240126"
+HOMEPAGE="http://eterna23.net/bozohttpd/"
+DOWNLOAD="https://cdn.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/bozohttpd-20240126.tar.bz2"
+MD5SUM="be23cc851dc706dfe56ba186e9dae2bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/bozohttpd/fix_warnings.diff b/network/bozohttpd/fix_warnings.diff
index 72b566edf1..1a94ba656d 100644
--- a/network/bozohttpd/fix_warnings.diff
+++ b/network/bozohttpd/fix_warnings.diff
@@ -1,7 +1,7 @@
-diff -Naur bozohttpd-20170201/auth-bozo.c bozohttpd-20170201.patched/auth-bozo.c
---- bozohttpd-20170201/auth-bozo.c 2017-01-31 23:21:23.000000000 -0500
-+++ bozohttpd-20170201.patched/auth-bozo.c 2018-06-29 15:42:59.076820050 -0400
-@@ -34,9 +34,12 @@
+diff -Naur bozohttpd-20240126/auth-bozo.c bozohttpd-20240126.patched/auth-bozo.c
+--- bozohttpd-20240126/auth-bozo.c 2024-02-04 00:55:04.000000000 -0500
++++ bozohttpd-20240126.patched/auth-bozo.c 2024-02-06 23:34:21.493549206 -0500
+@@ -34,11 +34,15 @@
#ifdef DO_HTPASSWD
@@ -13,24 +13,35 @@ diff -Naur bozohttpd-20170201/auth-bozo.c bozohttpd-20170201.patched/auth-bozo.c
+#include <strings.h>
#include <stdlib.h>
#include <unistd.h>
++#include <crypt.h>
-diff -Naur bozohttpd-20170201/bozohttpd.c bozohttpd-20170201.patched/bozohttpd.c
---- bozohttpd-20170201/bozohttpd.c 2017-01-31 23:21:23.000000000 -0500
-+++ bozohttpd-20170201.patched/bozohttpd.c 2018-06-29 15:08:08.066873176 -0400
-@@ -132,6 +132,10 @@
+ #include "bozohttpd.h"
+
+diff -Naur bozohttpd-20240126/bozohttpd.c bozohttpd-20240126.patched/bozohttpd.c
+--- bozohttpd-20240126/bozohttpd.c 2024-02-04 00:55:04.000000000 -0500
++++ bozohttpd-20240126.patched/bozohttpd.c 2024-02-06 23:45:26.157486654 -0500
+@@ -122,6 +122,8 @@
* And so it begins ..
*/
-+/* need this for vasprintf(): */
-+#define _GNU_SOURCE
+#include <stdio.h>
+
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>
-diff -Naur bozohttpd-20170201/lua-bozo.c bozohttpd-20170201.patched/lua-bozo.c
---- bozohttpd-20170201/lua-bozo.c 2017-01-31 23:21:23.000000000 -0500
-+++ bozohttpd-20170201.patched/lua-bozo.c 2018-06-29 15:43:38.424819051 -0400
+@@ -145,6 +147,9 @@
+ #include <time.h>
+ #include <unistd.h>
+
++extern char *strptime(const char *restrict s, const char *restrict format, struct tm *restrict tm);
++extern int vasprintf(char **restrict strp, const char *restrict fmt, va_list ap);
++
+ #include "bozohttpd.h"
+
+ #ifndef SSL_TIMEOUT
+diff -Naur bozohttpd-20240126/lua-bozo.c bozohttpd-20240126.patched/lua-bozo.c
+--- bozohttpd-20240126/lua-bozo.c 2024-02-04 00:55:04.000000000 -0500
++++ bozohttpd-20240126.patched/lua-bozo.c 2024-02-06 23:16:22.339650764 -0500
@@ -32,6 +32,9 @@
#ifndef NO_LUA_SUPPORT
@@ -41,9 +52,9 @@ diff -Naur bozohttpd-20170201/lua-bozo.c bozohttpd-20170201.patched/lua-bozo.c
#include <sys/param.h>
#include <lua.h>
-diff -Naur bozohttpd-20170201/ssl-bozo.c bozohttpd-20170201.patched/ssl-bozo.c
---- bozohttpd-20170201/ssl-bozo.c 2017-01-31 23:21:23.000000000 -0500
-+++ bozohttpd-20170201.patched/ssl-bozo.c 2018-06-29 15:07:50.813873614 -0400
+diff -Naur bozohttpd-20240126/ssl-bozo.c bozohttpd-20240126.patched/ssl-bozo.c
+--- bozohttpd-20240126/ssl-bozo.c 2024-02-04 00:55:04.000000000 -0500
++++ bozohttpd-20240126.patched/ssl-bozo.c 2024-02-06 23:16:22.339650764 -0500
@@ -32,6 +32,9 @@
/* this code implements SSL and backend IO for bozohttpd */
@@ -53,4 +64,4 @@ diff -Naur bozohttpd-20170201/ssl-bozo.c bozohttpd-20170201.patched/ssl-bozo.c
+
#include <stdarg.h>
#include <stdio.h>
- #include <syslog.h>
+ #include <string.h>
diff --git a/network/bpfmon/README b/network/bpfmon/README
new file mode 100644
index 0000000000..578ffa5b34
--- /dev/null
+++ b/network/bpfmon/README
@@ -0,0 +1,6 @@
+BPF based visual packet rate monitor.
+While tcpdump shows what packets are going through the network,
+bpfmon will show how much in terms of bytes per second and packets
+per second in a nice pseudo-graphical terminal interface.
+bpfmon also supports monitoring an iptables rule that is selected
+by command line option or selected from a menu.
diff --git a/network/bpfmon/bpfmon.SlackBuild b/network/bpfmon/bpfmon.SlackBuild
new file mode 100644
index 0000000000..5331c3663c
--- /dev/null
+++ b/network/bpfmon/bpfmon.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for bpfmon
+
+# Copyright 2022-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=bpfmon
+VERSION=${VERSION:-2.51}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+sed -i "s|share/man|man|" Makefile
+
+CFLAGS="$SLKCFLAGS" \
+make install DESTDIR=$PKG PREFIX=/usr
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bpfmon/bpfmon.info b/network/bpfmon/bpfmon.info
new file mode 100644
index 0000000000..f7db79bf56
--- /dev/null
+++ b/network/bpfmon/bpfmon.info
@@ -0,0 +1,10 @@
+PRGNAM="bpfmon"
+VERSION="2.51"
+HOMEPAGE="https://github.com/bbonev/bpfmon"
+DOWNLOAD="https://github.com/bbonev/bpfmon/releases/download/v2.51/bpfmon-2.51.tar.xz"
+MD5SUM="54c105b49808ac8b8ad7af0dba6f73b9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="yascreen"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/network/bpfmon/slack-desc b/network/bpfmon/slack-desc
new file mode 100644
index 0000000000..579a413f52
--- /dev/null
+++ b/network/bpfmon/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+bpfmon: bpfmon (network packet monitor)
+bpfmon:
+bpfmon: BPF based visual packet rate monitor.
+bpfmon: While tcpdump shows what packets are going through the network,
+bpfmon: bpfmon will show how much in terms of bytes per second and packets
+bpfmon: per second in a nice pseudo-graphical terminal interface.
+bpfmon: bpfmon also supports monitoring an iptables rule that is selected
+bpfmon: by command line option or selected from a menu.
+bpfmon:
+bpfmon: homepage: https://github.com/bbonev/bpfmon
+bpfmon:
diff --git a/network/brave-browser/README b/network/brave-browser/README
index 206ae972ea..71ec3bbdb6 100644
--- a/network/brave-browser/README
+++ b/network/brave-browser/README
@@ -1,11 +1,6 @@
Brave is a free and open-source web browser developed by Brave
Software, Inc. based on the Chromium web browser.
-The browser blocks ads and website trackers, and provides a
-way for users to send cryptocurrency contributions in the
-form of Basic Attention Tokens to websites and content creators.
-
-Brave is 64-bit software.
-
+Note:
This SlackBuild does not build Brave from source, it repackages
the binary.
diff --git a/network/brave-browser/brave-browser.SlackBuild b/network/brave-browser/brave-browser.SlackBuild
index 93205428b4..8c757756b4 100644
--- a/network/brave-browser/brave-browser.SlackBuild
+++ b/network/brave-browser/brave-browser.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for brave-browser
-# Copyright 2019-2021 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2019-2024 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2018-2019 Donald Cooley South Haven, Indiana USA
# All rights reserved.
#
@@ -23,10 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=brave-browser
-VERSION=${VERSION:-1.20.103}
+VERSION=${VERSION:-1.65.114}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+DEBBUILD=${DEBBUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,7 +66,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-rpm2cpio < $CWD/${PRGNAM}-${VERSION}-${BUILD}.${ARCH}.rpm | cpio -imdv
+rpm2cpio < $CWD/${PRGNAM}-${VERSION}-${DEBBUILD}.${ARCH}.rpm | cpio -imdv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -63,25 +74,26 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cp -ap usr opt $PKG/
+# brave has its own symlinks from opt to bin
+cp -ap {opt,usr} $PKG/
-# Slackware doesn't ship a GNOME desktop so I don't see any reason for gnome-control-center
+# Slackware doesn't ship GNOME desktop
rm -rf $PKG/usr/share/gnome-control-center
-# Move icon into place
+# move icon into place
mkdir -p $PKG/usr/share/pixmaps
-cp opt/brave.com/brave/*.xpm $PKG/usr/share/pixmaps/brave-browser.xpm
+cp -a opt/brave.com/brave/product_logo_32.xpm \
+ $PKG/usr/share/pixmaps/brave-browser.xpm
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Place man page(s) where The Man likes 'em
+# move man pages into place
mv $PKG/usr/share/man $PKG/usr/man
-#find $PKG/usr/man -type f -exec gzip -9 {} \;
-#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PKG/opt/brave.com/brave/LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -89,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/brave-browser/brave-browser.info b/network/brave-browser/brave-browser.info
index d3b5b400c0..77dafefff7 100644
--- a/network/brave-browser/brave-browser.info
+++ b/network/brave-browser/brave-browser.info
@@ -1,10 +1,10 @@
PRGNAM="brave-browser"
-VERSION="1.20.103"
+VERSION="1.65.114"
HOMEPAGE="https://brave.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/brave/brave-browser/releases/download/v1.20.103/brave-browser-1.20.103-1.x86_64.rpm"
-MD5SUM_x86_64="f608436a11ffd6b80910e65c6506f08b"
-REQUIRES="libxkbcommon"
+DOWNLOAD_x86_64="https://github.com/brave/brave-browser/releases/download/v1.65.114/brave-browser-1.65.114-1.x86_64.rpm"
+MD5SUM_x86_64="bdd1be24d71588c20f93a29ec15bd791"
+REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"
diff --git a/network/brave-browser/slack-desc b/network/brave-browser/slack-desc
index 99dfa4edda..28f48b7b68 100644
--- a/network/brave-browser/slack-desc
+++ b/network/brave-browser/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-brave-browser: brave-browser (a safer, faster, and better Web browsing experience)
+brave-browser: brave-browser (open source web browser)
brave-browser:
brave-browser: Brave is a free and open-source web browser developed by Brave
brave-browser: Software, Inc. based on the Chromium web browser.
brave-browser:
-brave-browser: https://brave-browser.com
brave-browser:
brave-browser:
brave-browser:
brave-browser:
+brave-browser: Homepage: https://brave-browser.com
brave-browser:
diff --git a/network/broadcom-sta/README b/network/broadcom-sta/README
deleted file mode 100644
index c14eef70a7..0000000000
--- a/network/broadcom-sta/README
+++ /dev/null
@@ -1,35 +0,0 @@
-The broadcom-sta package includes the kernel module 'wl', which contains
-a Broadcom-provided proprietary kernel driver known to support the
-listed chipsets.
-
-BCM4311 (PCI ID 14e4:4311, 14e4:4312, 14e4:4313)
-BCM4312 (PCI ID 14e4:4315)
-BCM4313 (PCI ID 14e4:4727)
-BCM4321 (PCI ID 14e4:4328, 14e4:4329, 14e4:432a)
-BCM4322 (PCI ID 14e4:432b, 14e4:432c, 14e4:432d)
-BCM43142 (PCI ID 14e4:4365)
-BCM43224 (PCI ID 14e4:4353)
-BCM43225 (PCI ID 14e4:4357)
-BCM43227 (PCI ID 14e4:4358)
-BCM43228 (PCI ID 14e4:4359)
-BCM4331 (PCI ID 14e4:4331)
-BCM4360 (PCI ID 14e4:43a0)
-BCM4352 (PCI ID 14e4:43b1)
-
-Some of these devices are also supported by the free b43 and brcm80211
-drivers. In order to avoid conflicts /etc/modprobe.d/b43_blacklist.conf
-disables these drivers.
-
-Read the included LICENSE.txt file (placed in /usr/doc) before using the
-proprietary driver.
-
-To build the module for a kernel that isn't currently running on the
-system, pass that kernel's "uname -r" output such as:
-
- KERNEL=4.4.67 ./broadcom-sta.SlackBuild
-
-If you would like to name your interface wlan0 instead of eth1, either
-rename the device in /etc/udev/rules.d/70-persistent-net.rules or build
-the package with:
-
- IFNAME=wlan ./broadcom-sta.SlackBuild
diff --git a/network/broadcom-sta/broadcom-sta.SlackBuild b/network/broadcom-sta/broadcom-sta.SlackBuild
deleted file mode 100644
index e1258bdbad..0000000000
--- a/network/broadcom-sta/broadcom-sta.SlackBuild
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for broadcom-sta
-
-# Copyright 2015-2019 Andreas Voegele <andreas@andreasvoegele.com>
-#
-# 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.
-
-PRGNAM=broadcom-sta
-VERSION=${VERSION:-6.30.223.271}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-KERNEL=${KERNEL:-$( uname -r )}
-IFNAME=${IFNAME:-eth}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-case "$ARCH" in
- i?86)
- SRCNAM=hybrid-v35-nodebug-pcoem
- ;;
- x86_64)
- SRCNAM=hybrid-v35_64-nodebug-pcoem
- ;;
- *)
- echo "$ARCH is not supported..."
- exit 1
- ;;
-esac
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$( echo $VERSION | tr . _ ).tar.gz
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-if [ "$IFNAME" != "eth" ]; then
- sed -i "/BRCM_WLAN_IFNAME/s/eth/$IFNAME/" src/wl/sys/wl_linux.c
-fi
-
-patch -p2 < $CWD/patches/04-user_ioctl.patch
-patch -p2 < $CWD/patches/05-remove-time-and-date-macros.patch
-patch -p2 < $CWD/patches/13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash.patch
-patch -p2 < $CWD/patches/14-rdtscl.patch
-#patch -p2 < $CWD/patches/15-linux47.patch
-if [ -n "${KERNEL##[23].*}" -a -n "${KERNEL##4.[0-6].*}" ]; then
- sed -i.orig 's/IEEE80211_BAND_\([25]\)GHZ/NL80211_BAND_\1GHZ/g' \
- src/wl/sys/wl_cfg80211_hybrid.c
-fi
-patch -p2 < $CWD/patches/16-linux48.patch
-patch -p2 < $CWD/patches/17-fix-kernel-warnings.patch
-patch -p2 < $CWD/patches/18-linux411.patch
-patch -p2 < $CWD/patches/19-linux412.patch
-patch -p2 < $CWD/patches/20-linux414.patch
-patch -p2 < $CWD/patches/21-linux415.patch
-patch -p2 < $CWD/patches/22-linux56.patch
-patch -p1 < $CWD/patches/009-fix_mac_profile_discrepancy.patch
-patch -p2 < $CWD/patches/23-get-rid-of-get_fs-set_fs-calls.patch
-
-# See https://lkml.org/lkml/2019/3/1/643
-sed -i 's/get_ds()/KERNEL_DS/g' src/wl/sys/wl_iw.c
-sed -i 's/get_ds()/KERNEL_DS/g' src/wl/sys/wl_cfg80211_hybrid.c
-
-env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd) clean
-env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd)
-
-mkdir -p $PKG/lib/modules/$KERNEL/kernel/extra
-cp wl.ko $PKG/lib/modules/$KERNEL/kernel/extra
-
-mkdir -p $PKG/etc/modprobe.d
-cat $CWD/b43_blacklist.conf.new > $PKG/etc/modprobe.d/b43_blacklist.conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a lib/LICENSE.txt $CWD/README_$VERSION.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat << EOF > $PKG/install/doinst.sh
-config() {
- NEW="\$1"
- OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r \$OLD ]; then
- mv \$NEW \$OLD
- elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then
- # toss the redundant copy
- rm \$NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/modprobe.d/b43_blacklist.conf.new
-
-# A good idea whenever kernel modules are added or changed:
-if [ -x sbin/depmod ]; then
- chroot . /sbin/depmod -a $KERNEL 1> /dev/null 2> /dev/null
-fi
-EOF
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$( echo $KERNEL | tr - _ )-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/broadcom-sta/broadcom-sta.info b/network/broadcom-sta/broadcom-sta.info
deleted file mode 100644
index bb46a80e45..0000000000
--- a/network/broadcom-sta/broadcom-sta.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="broadcom-sta"
-VERSION="6.30.223.271"
-HOMEPAGE="https://www.broadcom.com/support/802.11"
-DOWNLOAD="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_6.30.223.271.txt \
- https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz"
-MD5SUM="e3dab6d9dea12b6487ccf24d012e0350 \
- 4e75f4cb7d87f690f9659ffc478495f0"
-DOWNLOAD_x86_64="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_6.30.223.271.txt \
- https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz"
-MD5SUM_x86_64="e3dab6d9dea12b6487ccf24d012e0350 \
- 115903050c41d466161784d4c843f4f9"
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/broadcom-sta/patches/009-fix_mac_profile_discrepancy.patch b/network/broadcom-sta/patches/009-fix_mac_profile_discrepancy.patch
deleted file mode 100644
index 835bfb7bb6..0000000000
--- a/network/broadcom-sta/patches/009-fix_mac_profile_discrepancy.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Don't disconnect from certain roamable networks broadcasting multiple
-SSIDs. See https://bugs.archlinux.org/task/61090 for more information.
-
-diff -ur a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
---- a/src/wl/sys/wl_cfg80211_hybrid.c 2015-09-19 00:47:15.000000000 +0200
-+++ b/src/wl/sys/wl_cfg80211_hybrid.c 2019-05-30 11:41:12.168748142 +0200
-@@ -1446,7 +1446,6 @@
-
- if (memcmp(mac, wl->profile->bssid, ETHER_ADDR_LEN)) {
- WL_ERR(("Wrong Mac address, mac = %pM profile =%pM\n", mac, wl->profile->bssid));
-- return -ENOENT;
- }
-
- err = wl_dev_ioctl(dev, WLC_GET_RATE, &rate, sizeof(rate));
diff --git a/network/broadcom-sta/patches/04-user_ioctl.patch b/network/broadcom-sta/patches/04-user_ioctl.patch
deleted file mode 100644
index 902a7d9f7d..0000000000
--- a/network/broadcom-sta/patches/04-user_ioctl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Description: Allow normal users to send ioctl requests
-Author: Cyril Lacoux <clacoux@easter-eggs.com>
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672677
-Last-Update: 2012-11-19
-
-Index: broadcom-sta/amd64/src/wl/sys/wl_linux.c
-===================================================================
---- broadcom-sta.orig/amd64/src/wl/sys/wl_linux.c
-+++ broadcom-sta/amd64/src/wl/sys/wl_linux.c
-@@ -1661,11 +1661,7 @@ wl_ioctl(struct net_device *dev, struct
- }
-
- WL_LOCK(wl);
-- if (!capable(CAP_NET_ADMIN)) {
-- bcmerror = BCME_EPERM;
-- } else {
-- bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif);
-- }
-+ bcmerror = wlc_ioctl(wl->wlc, ioc.cmd, buf, ioc.len, wlif->wlcif);
- WL_UNLOCK(wl);
-
- done1:
diff --git a/network/broadcom-sta/patches/13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash.patch b/network/broadcom-sta/patches/13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash.patch
deleted file mode 100644
index 9e7e811308..0000000000
--- a/network/broadcom-sta/patches/13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From: Hugo Osvaldo Barrera <hugo@barrera.io>
-
-Downloaded from https://gist.github.com/hobarrera/ac0e6225210ac5bb13f6#file-broadcom-sta-6-30-223-248-linux-3-18-null-pointer-crash-patch
-
---
-Index: broadcom-sta/amd64/src/wl/sys/wl_linux.c
-===================================================================
---- broadcom-sta.orig/amd64/src/wl/sys/wl_linux.c
-+++ broadcom-sta/amd64/src/wl/sys/wl_linux.c
-@@ -2162,8 +2162,8 @@ wl_start(struct sk_buff *skb, struct net
- wlif = WL_DEV_IF(dev);
- wl = WL_INFO(dev);
-
-+ skb->prev = NULL;
- if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
-- skb->prev = NULL;
-
- TXQ_LOCK(wl);
-
diff --git a/network/broadcom-sta/patches/14-rdtscl.patch b/network/broadcom-sta/patches/14-rdtscl.patch
deleted file mode 100644
index 0558e98402..0000000000
--- a/network/broadcom-sta/patches/14-rdtscl.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Since Linux 4.3, rdtscl() is no longer available and native_read_tsc()
-is renamed to rdtsc(). Move the macro contents in-line and call the
-new function. References:
-
-https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=fe47ae6e1a5005b2e82f7eab57b5c3820453293a
-https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=4ea1636b04dbd66536fa387bae2eea463efc705b
-
-diff -ru a/src/shared/linux_osl.c b/src/shared/linux_osl.c
---- a/amd64/src/shared/linux_osl.c 2015-09-19 01:47:15.000000000 +0300
-+++ b/amd64/src/shared/linux_osl.c 2015-11-21 15:20:30.585902518 +0200
-@@ -932,7 +932,11 @@
- uint cycles;
-
- #if defined(__i386__)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
-+ cycles = (u32)rdtsc();
-+#else
- rdtscl(cycles);
-+#endif
- #else
- cycles = 0;
- #endif
diff --git a/network/broadcom-sta/patches/15-linux47.patch b/network/broadcom-sta/patches/15-linux47.patch
deleted file mode 100644
index af0d04eb13..0000000000
--- a/network/broadcom-sta/patches/15-linux47.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From: Felix Yan <felixonmars@archlinux.org>
-Date: Mon, 20 Jun 2016 11:18:00 +0800
-Subject: linux47
-Origin: https://github.com/archlinuxcn/repo/tree/f4d6cff1cacf8dad13006fade5f96bc2cf020a9b/broadcom-wl-dkms
-
-Since Linux 4.7, the enum ieee80211_band is no longer used
-
-This shall cause no problem's since both enums ieee80211_band
-and nl80211_band were added in the same commit:
-https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=13ae75b103e07304a34ab40c9136e9f53e06475c
-
-This patch refactors the references of IEEE80211_BAND_* to NL80211_BAND_*
-
-Reference:
-https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=57fbcce37be7c1d2622b56587c10ade00e96afa3
-
-This patch is based on
-https://github.com/archlinuxcn/repo/tree/f4d6cff1cacf8dad13006fade5f96bc2cf020a9b/broadcom-wl-dkms .
----
- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 24 ++++++++++++------------
- 1 file changed, 12 insertions(+), 12 deletions(-)
-
-diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-index 7b606e0..cc5422d 100644
---- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-+++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-@@ -236,7 +236,7 @@ static s8 wl_dbg_estr[][WL_DBG_ESTR_MAX] = {
- #endif
-
- #define CHAN2G(_channel, _freq, _flags) { \
-- .band = IEEE80211_BAND_2GHZ, \
-+ .band = NL80211_BAND_2GHZ, \
- .center_freq = (_freq), \
- .hw_value = (_channel), \
- .flags = (_flags), \
-@@ -245,7 +245,7 @@ static s8 wl_dbg_estr[][WL_DBG_ESTR_MAX] = {
- }
-
- #define CHAN5G(_channel, _flags) { \
-- .band = IEEE80211_BAND_5GHZ, \
-+ .band = NL80211_BAND_5GHZ, \
- .center_freq = 5000 + (5 * (_channel)), \
- .hw_value = (_channel), \
- .flags = (_flags), \
-@@ -379,7 +379,7 @@ static struct ieee80211_channel __wl_5ghz_n_channels[] = {
- };
-
- static struct ieee80211_supported_band __wl_band_2ghz = {
-- .band = IEEE80211_BAND_2GHZ,
-+ .band = NL80211_BAND_2GHZ,
- .channels = __wl_2ghz_channels,
- .n_channels = ARRAY_SIZE(__wl_2ghz_channels),
- .bitrates = wl_g_rates,
-@@ -387,7 +387,7 @@ static struct ieee80211_supported_band __wl_band_2ghz = {
- };
-
- static struct ieee80211_supported_band __wl_band_5ghz_a = {
-- .band = IEEE80211_BAND_5GHZ,
-+ .band = NL80211_BAND_5GHZ,
- .channels = __wl_5ghz_a_channels,
- .n_channels = ARRAY_SIZE(__wl_5ghz_a_channels),
- .bitrates = wl_a_rates,
-@@ -395,7 +395,7 @@ static struct ieee80211_supported_band __wl_band_5ghz_a = {
- };
-
- static struct ieee80211_supported_band __wl_band_5ghz_n = {
-- .band = IEEE80211_BAND_5GHZ,
-+ .band = NL80211_BAND_5GHZ,
- .channels = __wl_5ghz_n_channels,
- .n_channels = ARRAY_SIZE(__wl_5ghz_n_channels),
- .bitrates = wl_a_rates,
-@@ -1876,8 +1876,8 @@ static s32 wl_alloc_wdev(struct device *dev, struct wireless_dev **rwdev)
- wdev->wiphy->max_num_pmkids = WL_NUM_PMKIDS_MAX;
- #endif
- wdev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_ADHOC);
-- wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &__wl_band_2ghz;
-- wdev->wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_a;
-+ wdev->wiphy->bands[NL80211_BAND_2GHZ] = &__wl_band_2ghz;
-+ wdev->wiphy->bands[NL80211_BAND_5GHZ] = &__wl_band_5ghz_a;
- wdev->wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
- wdev->wiphy->cipher_suites = __wl_cipher_suites;
- wdev->wiphy->n_cipher_suites = ARRAY_SIZE(__wl_cipher_suites);
-@@ -2000,7 +2000,7 @@ static s32 wl_inform_single_bss(struct wl_cfg80211_priv *wl, struct wl_bss_info
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)
- freq = ieee80211_channel_to_frequency(notif_bss_info->channel,
- (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) ?
-- IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ);
-+ NL80211_BAND_2GHZ : NL80211_BAND_5GHZ);
- #else
- freq = ieee80211_channel_to_frequency(notif_bss_info->channel);
- #endif
-@@ -2116,7 +2116,7 @@ wl_notify_connect_status(struct wl_cfg80211_priv *wl, struct net_device *ndev,
- return err;
- }
- chan = wf_chspec_ctlchan(chanspec);
-- band = (chan <= CH_MAX_2G_CHANNEL) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ;
-+ band = (chan <= CH_MAX_2G_CHANNEL) ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ;
- freq = ieee80211_channel_to_frequency(chan, band);
- channel = ieee80211_get_channel(wiphy, freq);
- cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, channel, GFP_KERNEL);
-@@ -2250,10 +2250,10 @@ static void wl_ch_to_chanspec(struct ieee80211_channel *chan, struct wl_join_par
- join_params->params.chanspec_list[0] =
- ieee80211_frequency_to_channel(chan->center_freq);
-
-- if (chan->band == IEEE80211_BAND_2GHZ) {
-+ if ( (int) chan->band == (int) NL80211_BAND_2GHZ) {
- chanspec |= WL_CHANSPEC_BAND_2G;
- }
-- else if (chan->band == IEEE80211_BAND_5GHZ) {
-+ else if ( (int) chan->band == (int) NL80211_BAND_5GHZ) {
- chanspec |= WL_CHANSPEC_BAND_5G;
- }
- else {
-@@ -2885,7 +2885,7 @@ static s32 wl_update_wiphybands(struct wl_cfg80211_priv *wl)
-
- if (phy == 'n' || phy == 'a' || phy == 'v') {
- wiphy = wl_to_wiphy(wl);
-- wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_n;
-+ wiphy->bands[NL80211_BAND_5GHZ] = &__wl_band_5ghz_n;
- }
-
- return err;
diff --git a/network/broadcom-sta/patches/16-linux48.patch b/network/broadcom-sta/patches/16-linux48.patch
deleted file mode 100644
index 63bdc56e3e..0000000000
--- a/network/broadcom-sta/patches/16-linux48.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From: koos vriezen <koos.vriezen@gmail.com>
-Date: Mon, 3 Oct 2016 10:54:11 +0200
-Subject: linux48
-Origin: https://bugs.debian.org/
-
-Looking at the patch for kernel 4.8, I came up with the attached patch
-(and I send this mail while running it :)
-
-Thanks,
-Koos Vriezen
----
- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 25 +++++++++++++++++++++++--
- 1 file changed, 23 insertions(+), 2 deletions(-)
-
-diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-index cc5422d..05b9fd3 100644
---- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-+++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-@@ -2386,8 +2386,15 @@ wl_bss_connect_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
- s32 err = 0;
-
- if (wl->scan_request) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
-+ struct cfg80211_scan_info info = {
-+ .aborted = true
-+ };
- WL_DBG(("%s: Aborting scan\n", __FUNCTION__));
-- cfg80211_scan_done(wl->scan_request, true);
-+ cfg80211_scan_done(wl->scan_request, &info);
-+#else
-+ cfg80211_scan_done(wl->scan_request, true);
-+#endif
- wl->scan_request = NULL;
- }
-
-@@ -2488,7 +2495,14 @@ wl_notify_scan_status(struct wl_cfg80211_priv *wl, struct net_device *ndev,
-
- scan_done_out:
- if (wl->scan_request) {
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
-+ struct cfg80211_scan_info info = {
-+ .aborted = false
-+ };
-+ cfg80211_scan_done(wl->scan_request, &info);
-+#else
- cfg80211_scan_done(wl->scan_request, false);
-+#endif
- wl->scan_request = NULL;
- }
- rtnl_unlock();
-@@ -2913,7 +2927,14 @@ s32 wl_cfg80211_down(struct net_device *ndev)
- s32 err = 0;
-
- if (wl->scan_request) {
-- cfg80211_scan_done(wl->scan_request, true);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
-+ struct cfg80211_scan_info info = {
-+ .aborted = true
-+ };
-+ cfg80211_scan_done(wl->scan_request, &info);
-+#else
-+ cfg80211_scan_done(wl->scan_request, true);
-+#endif
- wl->scan_request = NULL;
- }
-
diff --git a/network/broadcom-sta/patches/17-fix-kernel-warnings.patch b/network/broadcom-sta/patches/17-fix-kernel-warnings.patch
deleted file mode 100644
index c8a2ae8199..0000000000
--- a/network/broadcom-sta/patches/17-fix-kernel-warnings.patch
+++ /dev/null
@@ -1,172 +0,0 @@
-From: Luis Ortega <luiorpe1@gmail.com>
-Date: Sun, 6 Nov 2016 12:15:10 +0100
-Subject: fix-kernel-warnings
-Origin: https://bugs.debian.org/843387
-
----
- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 87 ++++++++++++++++++++++++-----------
- 1 file changed, 60 insertions(+), 27 deletions(-)
-
-diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-index 05b9fd3..551fe1f 100644
---- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-+++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-@@ -1968,7 +1968,7 @@ static s32 wl_inform_single_bss(struct wl_cfg80211_priv *wl, struct wl_bss_info
-
- if (dtoh32(bi->length) > WL_BSS_INFO_MAX) {
- WL_DBG(("Beacon is larger than buffer. Discarding\n"));
-- return err;
-+ return -E2BIG;
- }
- notif_bss_info = kzalloc(sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) +
- WL_BSS_INFO_MAX, GFP_KERNEL);
-@@ -1992,9 +1992,15 @@ static s32 wl_inform_single_bss(struct wl_cfg80211_priv *wl, struct wl_bss_info
- beacon_proberesp->capab_info = cpu_to_le16(bi->capability);
- wl_rst_ie(wl);
-
-- wl_mrg_ie(wl, ((u8 *) bi) + bi->ie_offset, bi->ie_length);
-- wl_cp_ie(wl, beacon_proberesp->variable, WL_BSS_INFO_MAX -
-+ err = wl_mrg_ie(wl, ((u8 *) bi) + bi->ie_offset, bi->ie_length);
-+ if (err)
-+ goto inform_single_bss_out;
-+
-+ err = wl_cp_ie(wl, beacon_proberesp->variable, WL_BSS_INFO_MAX -
- offsetof(struct wl_cfg80211_bss_info, frame_buf));
-+ if (err)
-+ goto inform_single_bss_out;
-+
- notif_bss_info->frame_len = offsetof(struct ieee80211_mgmt, u.beacon.variable) +
- wl_get_ielen(wl);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)
-@@ -2006,14 +2012,14 @@ static s32 wl_inform_single_bss(struct wl_cfg80211_priv *wl, struct wl_bss_info
- #endif
- if (freq == 0) {
- WL_ERR(("Invalid channel, fail to chcnage channel to freq\n"));
-- kfree(notif_bss_info);
-- return -EINVAL;
-+ err = -EINVAL;
-+ goto inform_single_bss_out;
- }
- channel = ieee80211_get_channel(wiphy, freq);
- if (unlikely(!channel)) {
- WL_ERR(("ieee80211_get_channel error\n"));
-- kfree(notif_bss_info);
-- return -EINVAL;
-+ err = -EINVAL;
-+ goto inform_single_bss_out;
- }
-
- WL_DBG(("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n",
-@@ -2021,28 +2027,37 @@ static s32 wl_inform_single_bss(struct wl_cfg80211_priv *wl, struct wl_bss_info
- mgmt->u.beacon.capab_info, &bi->BSSID));
-
- signal = notif_bss_info->rssi * 100;
-- cbss = cfg80211_inform_bss_frame(wiphy, channel, mgmt,
-- le16_to_cpu(notif_bss_info->frame_len), signal, GFP_KERNEL);
-- if (unlikely(!cbss)) {
-- WL_ERR(("cfg80211_inform_bss_frame error\n"));
-- kfree(notif_bss_info);
-- return -EINVAL;
-- }
-
-- notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset);
-- notify_ielen = le32_to_cpu(bi->ie_length);
-+ if (!wl->scan_request) {
-+ cbss = cfg80211_inform_bss_frame(wiphy, channel, mgmt,
-+ le16_to_cpu(notif_bss_info->frame_len), signal, GFP_KERNEL);
-+ if (unlikely(!cbss)) {
-+ WL_ERR(("cfg80211_inform_bss_frame error\n"));
-+ err = -ENOMEM;
-+ goto inform_single_bss_out;
-+ }
-+ } else {
-+ notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset);
-+ notify_ielen = le32_to_cpu(bi->ie_length);
- #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
-- cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
-- 0, beacon_proberesp->capab_info, beacon_proberesp->beacon_int,
-- (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
-+ cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
-+ 0, beacon_proberesp->capab_info, beacon_proberesp->beacon_int,
-+ (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
- #else
-- cbss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, (const u8 *)(bi->BSSID.octet),
-- 0, beacon_proberesp->capab_info, beacon_proberesp->beacon_int,
-- (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
-+ cbss = cfg80211_inform_bss(wiphy, channel,
-+ wl->active_scan ?
-+ CFG80211_BSS_FTYPE_PRESP : CFG80211_BSS_FTYPE_BEACON,
-+ (const u8 *)(bi->BSSID.octet), 0,
-+ beacon_proberesp->capab_info,
-+ beacon_proberesp->beacon_int,
-+ (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
- #endif
--
-- if (unlikely(!cbss))
-- return -ENOMEM;
-+ if (unlikely(!cbss)) {
-+ WL_ERR(("cfg80211_inform_bss error\n"));
-+ err = -ENOMEM;
-+ goto inform_single_bss_out;
-+ }
-+ }
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
- cfg80211_put_bss(wiphy, cbss);
-@@ -2050,6 +2065,7 @@ static s32 wl_inform_single_bss(struct wl_cfg80211_priv *wl, struct wl_bss_info
- cfg80211_put_bss(cbss);
- #endif
-
-+inform_single_bss_out:
- kfree(notif_bss_info);
-
- return err;
-@@ -2316,6 +2332,9 @@ static s32 wl_update_bss_info(struct wl_cfg80211_priv *wl)
- if (err)
- goto update_bss_info_out;
-
-+ bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid,
-+ ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS);
-+
- ie = ((u8 *)bi) + bi->ie_offset;
- ie_len = bi->ie_length;
- } else {
-@@ -2328,11 +2347,18 @@ static s32 wl_update_bss_info(struct wl_cfg80211_priv *wl)
- ie_len = bss->len_information_elements;
- #endif
- wl->conf->channel = *bss->channel;
-+ }
-+
-+ if (bss) {
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
- cfg80211_put_bss(wiphy, bss);
- #else
- cfg80211_put_bss(bss);
- #endif
-+ } else {
-+ WL_DBG(("Could not update BSS\n"));
-+ err = -EINVAL;
-+ goto update_bss_info_out;
- }
-
- tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM);
-@@ -2360,10 +2386,17 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
- struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl);
- s32 err = 0;
-
-- wl_get_assoc_ies(wl);
-+ err = wl_get_assoc_ies(wl);
-+ if (err)
-+ return err;
-+
- memcpy(wl->profile->bssid, &e->addr, ETHER_ADDR_LEN);
- memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
-- wl_update_bss_info(wl);
-+
-+ err = wl_update_bss_info(wl);
-+ if (err)
-+ return err;
-+
- cfg80211_roamed(ndev,
- #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39)
- &wl->conf->channel,
diff --git a/network/broadcom-sta/patches/18-linux411.patch b/network/broadcom-sta/patches/18-linux411.patch
deleted file mode 100644
index bc9a9508be..0000000000
--- a/network/broadcom-sta/patches/18-linux411.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From: koos vriezen <koos.vriezen@gmail.com>
-Date: Mon, 1 May 2017 18:28:01 +0200
-Subject: Compile fix with kernel 4.11
-Origin: http://bugs.debian.org/861807
-Forwarded: no
-Reviewed-By: Eduard Bloch <blade@debian.org>
-Last-Update: 2017-05-04
-
- I use the attached patch to get this module compiled with 4.11. Works
- for me since last sunday.
- Apparently https://aur.archlinux.org/cgit/aur.git/tree/linux411.patch?h=broadcom-wl
- has come with a different patch for the removed last_rx field in
- netdevice. But judging the commit log
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/include/linux/netdevice.h?id=4a7c972644c1151f6dd34ff4b5f7eacb239e22ee
- and the fact that last_rx isn't used elsewhere I came up with just
- ifdef it out.
----
- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 3 +++
- amd64/src/wl/sys/wl_linux.c | 2 ++
- 2 files changed, 5 insertions(+)
-
-diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-index 551fe1f..83930ec 100644
---- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-+++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-@@ -30,6 +30,9 @@
- #include <linux/kthread.h>
- #include <linux/netdevice.h>
- #include <linux/ieee80211.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
-+#include <linux/sched/signal.h>
-+#endif
- #include <net/cfg80211.h>
- #include <linux/nl80211.h>
- #include <net/rtnetlink.h>
-diff --git a/amd64/src/wl/sys/wl_linux.c b/amd64/src/wl/sys/wl_linux.c
-index b7fbe28..77dc327 100644
---- a/amd64/src/wl/sys/wl_linux.c
-+++ b/amd64/src/wl/sys/wl_linux.c
-@@ -2912,7 +2912,9 @@ wl_monitor(wl_info_t *wl, wl_rxsts_t *rxsts, void *p)
- if (skb == NULL) return;
-
- skb->dev = wl->monitor_dev;
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
- skb->dev->last_rx = jiffies;
-+#endif
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
- skb_reset_mac_header(skb);
- #else
diff --git a/network/broadcom-sta/patches/19-linux412.patch b/network/broadcom-sta/patches/19-linux412.patch
deleted file mode 100644
index c88b9e1023..0000000000
--- a/network/broadcom-sta/patches/19-linux412.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From: koos vriezen <koos.vriezen@gmail.com>
-Date: Mon, 3 Jul 2017 09:57:21 +0200
-Subject: linux412
-Origin: https://bugs.debian.org/867258
-
----
- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 29 +++++++++++++++++++++++++----
- 1 file changed, 25 insertions(+), 4 deletions(-)
-
-diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-index 83930ec..1ec2ef3 100644
---- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-+++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-@@ -53,7 +53,11 @@ u32 wl_dbg_level = WL_DBG_ERR;
- #endif
-
- static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
-- enum nl80211_iftype type, u32 *flags, struct vif_params *params);
-+ enum nl80211_iftype type,
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+ u32 *flags,
-+#endif
-+ struct vif_params *params);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
- static s32
- wl_cfg80211_scan(struct wiphy *wiphy,
-@@ -466,8 +470,11 @@ wl_dev_ioctl(struct net_device *dev, u32 cmd, void *arg, u32 len)
-
- static s32
- wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
-- enum nl80211_iftype type, u32 *flags,
-- struct vif_params *params)
-+ enum nl80211_iftype type,
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+ u32 *flags,
-+#endif
-+ struct vif_params *params)
- {
- struct wl_cfg80211_priv *wl = wiphy_to_wl(wiphy);
- struct wireless_dev *wdev;
-@@ -2387,6 +2394,15 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
- const wl_event_msg_t *e, void *data)
- {
- struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl);
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ struct cfg80211_roam_info roam_info = {
-+ .bssid = wl->profile->bssid,
-+ .req_ie = conn_info->req_ie,
-+ .req_ie_len = conn_info->req_ie_len,
-+ .resp_ie = conn_info->resp_ie,
-+ .resp_ie_len = conn_info->resp_ie_len,
-+ };
-+#endif
- s32 err = 0;
-
- err = wl_get_assoc_ies(wl);
-@@ -2401,12 +2417,17 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
- return err;
-
- cfg80211_roamed(ndev,
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+ &roam_info,
-+#else
- #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39)
- &wl->conf->channel,
- #endif
- (u8 *)&wl->bssid,
- conn_info->req_ie, conn_info->req_ie_len,
-- conn_info->resp_ie, conn_info->resp_ie_len, GFP_KERNEL);
-+ conn_info->resp_ie, conn_info->resp_ie_len,
-+#endif
-+ GFP_KERNEL);
- WL_DBG(("Report roaming result\n"));
-
- set_bit(WL_STATUS_CONNECTED, &wl->status);
diff --git a/network/broadcom-sta/patches/20-linux414.patch b/network/broadcom-sta/patches/20-linux414.patch
deleted file mode 100644
index f785a99edb..0000000000
--- a/network/broadcom-sta/patches/20-linux414.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Gerardo Esteban Malazdrewicz <gerardo@malazdrewicz.com.ar>
-Date: Fri, 29 Dec 2017 23:44:24 -0400
-Subject: linux414
-Origin: https://bugs.debian.org/885885
-
-linux 4.14 changed the kernel_read function prototype.
-
----
- amd64/src/shared/linux_osl.c | 12 +++++++++++-
- 1 file changed, 11 insertions(+), 1 deletion(-)
-
-diff --git a/amd64/src/shared/linux_osl.c b/amd64/src/shared/linux_osl.c
-index 9adc392..3aa48bf 100644
---- a/amd64/src/shared/linux_osl.c
-+++ b/amd64/src/shared/linux_osl.c
-@@ -1076,11 +1076,21 @@ osl_os_get_image_block(char *buf, int len, void *image)
- {
- struct file *fp = (struct file *)image;
- int rdlen;
-+ loff_t pos;
-
- if (!image)
- return 0;
-
-- rdlen = kernel_read(fp, fp->f_pos, buf, len);
-+ pos = fp->f_pos;
-+ rdlen = kernel_read(fp,
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
-+ pos,
-+#endif
-+ buf, len
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
-+ ,&pos
-+#endif
-+ );
- if (rdlen > 0)
- fp->f_pos += rdlen;
-
diff --git a/network/broadcom-sta/patches/21-linux415.patch b/network/broadcom-sta/patches/21-linux415.patch
deleted file mode 100644
index 2cd8c2532e..0000000000
--- a/network/broadcom-sta/patches/21-linux415.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From: Gerardo Esteban Malazdrewicz <gerardo@malazdrewicz.com.ar>
-Date: Sat, 30 Dec 2017 12:32:29 -0400
-Subject: linux415
-Origin: https://bugs.debian.org/885885
-
-linux 4.15 deprecated the init_timer function.
-
----
- amd64/src/wl/sys/wl_linux.c | 28 ++++++++++++++++++++++++----
- 1 file changed, 24 insertions(+), 4 deletions(-)
-
-diff --git a/amd64/src/wl/sys/wl_linux.c b/amd64/src/wl/sys/wl_linux.c
-index 77dc327..ab7b883 100644
---- a/amd64/src/wl/sys/wl_linux.c
-+++ b/amd64/src/wl/sys/wl_linux.c
-@@ -93,7 +93,13 @@ struct iw_statistics *wl_get_wireless_stats(struct net_device *dev);
-
- #include <wlc_wowl.h>
-
--static void wl_timer(ulong data);
-+static void wl_timer(
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
-+ struct timer_list *tl
-+#else
-+ ulong data
-+#endif
-+ );
- static void _wl_timer(wl_timer_t *t);
- static struct net_device *wl_alloc_linux_if(wl_if_t *wlif);
-
-@@ -2295,9 +2301,19 @@ wl_timer_task(wl_task_t *task)
- }
-
- static void
--wl_timer(ulong data)
--{
-- wl_timer_t *t = (wl_timer_t *)data;
-+wl_timer(
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
-+ struct timer_list *tl
-+#else
-+ ulong data
-+#endif
-+) {
-+ wl_timer_t *t =
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
-+ from_timer(t, tl, timer);
-+#else
-+ (wl_timer_t *)data;
-+#endif
-
- if (!WL_ALL_PASSIVE_ENAB(t->wl))
- _wl_timer(t);
-@@ -2349,9 +2365,13 @@ wl_init_timer(wl_info_t *wl, void (*fn)(void *arg), void *arg, const char *tname
-
- bzero(t, sizeof(wl_timer_t));
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
-+ timer_setup(&t->timer, wl_timer, 0);
-+#else
- init_timer(&t->timer);
- t->timer.data = (ulong) t;
- t->timer.function = wl_timer;
-+#endif
- t->wl = wl;
- t->fn = fn;
- t->arg = arg;
diff --git a/network/broadcom-sta/patches/22-linux56.patch b/network/broadcom-sta/patches/22-linux56.patch
deleted file mode 100644
index 2a2bcad837..0000000000
--- a/network/broadcom-sta/patches/22-linux56.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-From dd057e40a167f4febb1a7c77dd32b7d36056952c Mon Sep 17 00:00:00 2001
-From: Herman van Hazendonk <github.com@herrie.org>
-Date: Tue, 31 Mar 2020 17:09:55 +0200
-Subject: [PATCH] Add fixes for 5.6 kernel
-
-Use ioremap instead of ioremap_nocache and proc_ops instead of file_operations on Linux kernel 5.6 and above.
-
-Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
----
- amd64/src/shared/linux_osl.c | 6 +++++-
- amd64/src/wl/sys/wl_linux.c | 21 ++++++++++++++++++++-
- 2 files changed, 25 insertions(+), 2 deletions(-)
-
-diff --git a/amd64/src/shared/linux_osl.c b/amd64/src/shared/linux_osl.c
-index 6157d18..dcfc075 100644
---- a/amd64/src/shared/linux_osl.c
-+++ b/amd64/src/shared/linux_osl.c
-@@ -942,7 +942,11 @@ osl_getcycles(void)
- void *
- osl_reg_map(uint32 pa, uint size)
- {
-- return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+ return (ioremap((unsigned long)pa, (unsigned long)size));
-+ #else
-+ return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
-+ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) */
- }
-
- void
-diff --git a/amd64/src/wl/sys/wl_linux.c b/amd64/src/wl/sys/wl_linux.c
-index 0d05100..6d9dd0d 100644
---- a/amd64/src/wl/sys/wl_linux.c
-+++ b/amd64/src/wl/sys/wl_linux.c
-@@ -582,10 +582,17 @@ wl_attach(uint16 vendor, uint16 device, ulong regs,
- }
- wl->bcm_bustype = bustype;
-
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+ if ((wl->regsva = ioremap(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
-+ WL_ERROR(("wl%d: ioremap() failed\n", unit));
-+ goto fail;
-+ }
-+ #else
- if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
- WL_ERROR(("wl%d: ioremap() failed\n", unit));
- goto fail;
- }
-+ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) */
-
- wl->bar1_addr = bar1_addr;
- wl->bar1_size = bar1_size;
-@@ -772,8 +779,13 @@ wl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
- if ((val & 0x0000ff00) != 0)
- pci_write_config_dword(pdev, 0x40, val & 0xffff00ff);
- bar1_size = pci_resource_len(pdev, 2);
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+ bar1_addr = (uchar *)ioremap(pci_resource_start(pdev, 2),
-+ bar1_size);
-+ #else
- bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
- bar1_size);
-+ #endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) */
- wl = wl_attach(pdev->vendor, pdev->device, pci_resource_start(pdev, 0), PCI_BUS, pdev,
- pdev->irq, bar1_addr, bar1_size);
-
-@@ -3335,12 +3347,19 @@ wl_proc_write(struct file *filp, const char __user *buff, size_t length, loff_t
- }
-
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
-+static const struct proc_ops wl_fops = {
-+ .proc_read = wl_proc_read,
-+ .proc_write = wl_proc_write,
-+};
-+#else
- static const struct file_operations wl_fops = {
- .owner = THIS_MODULE,
- .read = wl_proc_read,
- .write = wl_proc_write,
- };
--#endif
-+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) */
-+#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) */
-
- static int
- wl_reg_proc_entry(wl_info_t *wl)
---
-2.17.1.windows.1
-
diff --git a/network/broadcom-sta/patches/23-get-rid-of-get_fs-set_fs-calls.patch b/network/broadcom-sta/patches/23-get-rid-of-get_fs-set_fs-calls.patch
deleted file mode 100644
index b7ba8cdbf5..0000000000
--- a/network/broadcom-sta/patches/23-get-rid-of-get_fs-set_fs-calls.patch
+++ /dev/null
@@ -1,207 +0,0 @@
-From: Joan Bruguera <joanbrugueram@gmail.com>
-Date: Sun, 13 Sep 2020 07:33:32 +0200
-Subject: Get rid of get_fs/set_fs calls in Broadcom WL driver.
-Origin: https://gist.github.com/joanbm/5c640ac074d27fd1d82c74a5b67a1290
-
-Fixes linux-next where get_fs/set_fs is already removed for some architectures.
-
-NB: Some checks in wlc_ioctl_internal are likely superfluous,
- but I'm not familiar enough with the driver to remove them with confidence.
-
-See also: https://lwn.net/Articles/722267/
- https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/x86/include/asm/uaccess.h?h=next-20200911&id=47058bb54b57962b3958a936ddbc59355e4c5504
- https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/include/linux/uaccess.h?h=next-20200911&id=5e6e9852d6f76e01b2e6803c74258afa5b432bc5
-
-Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
----
- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 29 ++-----------------------
- amd64/src/wl/sys/wl_iw.c | 25 ++--------------------
- amd64/src/wl/sys/wl_linux.c | 40 ++++++++++++++++++++++++++++++-----
- amd64/src/wl/sys/wl_linux.h | 2 ++
- amd64/src/wl/sys/wlc_pub.h | 1 +
- 5 files changed, 42 insertions(+), 55 deletions(-)
-
-diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-index 8e01841..111ec5a 100644
---- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-+++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c
-@@ -41,6 +41,7 @@
- #include <wlioctl.h>
- #include <proto/802.11.h>
- #include <wl_cfg80211_hybrid.h>
-+#include <wl_linux.h>
-
- #define EVENT_TYPE(e) dtoh32((e)->event_type)
- #define EVENT_FLAGS(e) dtoh16((e)->flags)
-@@ -442,30 +443,8 @@
- static s32
- wl_dev_ioctl(struct net_device *dev, u32 cmd, void *arg, u32 len)
- {
-- struct ifreq ifr;
-- struct wl_ioctl ioc;
-- mm_segment_t fs;
-- s32 err = 0;
--
- BUG_ON(len < sizeof(int));
--
-- memset(&ioc, 0, sizeof(ioc));
-- ioc.cmd = cmd;
-- ioc.buf = arg;
-- ioc.len = len;
-- strcpy(ifr.ifr_name, dev->name);
-- ifr.ifr_data = (caddr_t)&ioc;
--
-- fs = get_fs();
-- set_fs(get_ds());
--#if defined(WL_USE_NETDEV_OPS)
-- err = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
--#else
-- err = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
--#endif
-- set_fs(fs);
--
-- return err;
-+ return wlc_ioctl_internal(dev, cmd, arg, len);
- }
-
- static s32
-diff --git a/amd64/src/wl/sys/wl_iw.c b/amd64/src/wl/sys/wl_iw.c
-index c4c610b..e346b15 100644
---- a/amd64/src/wl/sys/wl_iw.c
-+++ b/amd64/src/wl/sys/wl_iw.c
-@@ -37,6 +37,7 @@ typedef const struct si_pub si_t;
-
- #include <wl_dbg.h>
- #include <wl_iw.h>
-+#include <wl_linux.h>
-
- extern bool wl_iw_conn_status_str(uint32 event_type, uint32 status,
- uint32 reason, char* stringBuf, uint buflen);
-@@ -103,29 +104,7 @@ dev_wlc_ioctl(
- int len
- )
- {
-- struct ifreq ifr;
-- wl_ioctl_t ioc;
-- mm_segment_t fs;
-- int ret;
--
-- memset(&ioc, 0, sizeof(ioc));
-- ioc.cmd = cmd;
-- ioc.buf = arg;
-- ioc.len = len;
--
-- strcpy(ifr.ifr_name, dev->name);
-- ifr.ifr_data = (caddr_t) &ioc;
--
-- fs = get_fs();
-- set_fs(get_ds());
--#if defined(WL_USE_NETDEV_OPS)
-- ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
--#else
-- ret = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
--#endif
-- set_fs(fs);
--
-- return ret;
-+ return wlc_ioctl_internal(dev, cmd, arg, len);
- }
-
- static int
-diff --git a/amd64/src/wl/sys/wl_linux.c b/amd64/src/wl/sys/wl_linux.c
-index 66069d4..cc01d2b 100644
---- a/amd64/src/wl/sys/wl_linux.c
-+++ b/amd64/src/wl/sys/wl_linux.c
-@@ -1661,10 +1661,7 @@ wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
- goto done2;
- }
-
-- if (segment_eq(get_fs(), KERNEL_DS))
-- buf = ioc.buf;
--
-- else if (ioc.buf) {
-+ if (ioc.buf) {
- if (!(buf = (void *) MALLOC(wl->osh, MAX(ioc.len, WLC_IOCTL_MAXLEN)))) {
- bcmerror = BCME_NORESOURCE;
- goto done2;
-@@ -1681,7 +1678,7 @@ wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
- WL_UNLOCK(wl);
-
- done1:
-- if (ioc.buf && (ioc.buf != buf)) {
-+ if (ioc.buf) {
- if (copy_to_user(ioc.buf, buf, ioc.len))
- bcmerror = BCME_BADADDR;
- MFREE(wl->osh, buf, MAX(ioc.len, WLC_IOCTL_MAXLEN));
-@@ -1694,6 +1691,39 @@ done2:
- return (OSL_ERROR(bcmerror));
- }
-
-+int
-+wlc_ioctl_internal(struct net_device *dev, int cmd, void *buf, int len)
-+{
-+ wl_info_t *wl;
-+ wl_if_t *wlif;
-+ int bcmerror;
-+
-+ if (!dev)
-+ return -ENETDOWN;
-+
-+ wl = WL_INFO(dev);
-+ wlif = WL_DEV_IF(dev);
-+ if (wlif == NULL || wl == NULL || wl->dev == NULL)
-+ return -ENETDOWN;
-+
-+ bcmerror = 0;
-+
-+ WL_TRACE(("wl%d: wlc_ioctl_internal: cmd 0x%x\n", wl->pub->unit, cmd));
-+
-+ WL_LOCK(wl);
-+ if (!capable(CAP_NET_ADMIN)) {
-+ bcmerror = BCME_EPERM;
-+ } else {
-+ bcmerror = wlc_ioctl(wl->wlc, cmd, buf, len, wlif->wlcif);
-+ }
-+ WL_UNLOCK(wl);
-+
-+ ASSERT(VALID_BCMERROR(bcmerror));
-+ if (bcmerror != 0)
-+ wl->pub->bcmerror = bcmerror;
-+ return (OSL_ERROR(bcmerror));
-+}
-+
- static struct net_device_stats*
- wl_get_stats(struct net_device *dev)
- {
-diff --git a/amd64/src/wl/sys/wl_linux.h b/amd64/src/wl/sys/wl_linux.h
-index 5b1048e..c8c1f41 100644
---- a/amd64/src/wl/sys/wl_linux.h
-+++ b/amd64/src/wl/sys/wl_linux.h
-@@ -22,6 +22,7 @@
- #define _wl_linux_h_
-
- #include <wlc_types.h>
-+#include <wlc_pub.h>
-
- typedef struct wl_timer {
- struct timer_list timer;
-@@ -187,6 +188,7 @@ extern irqreturn_t wl_isr(int irq, void *dev_id, struct pt_regs *ptregs);
- extern int __devinit wl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
- extern void wl_free(wl_info_t *wl);
- extern int wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
-+extern int wlc_ioctl_internal(struct net_device *dev, int cmd, void *buf, int len);
- extern struct net_device * wl_netdev_get(wl_info_t *wl);
-
- #endif
-diff --git a/amd64/src/wl/sys/wlc_pub.h b/amd64/src/wl/sys/wlc_pub.h
-index 53a98b8..2b5a029 100644
---- a/amd64/src/wl/sys/wlc_pub.h
-+++ b/amd64/src/wl/sys/wlc_pub.h
-@@ -24,6 +24,7 @@
-
- #include <wlc_types.h>
- #include <wlc_utils.h>
-+#include <siutils.h>
- #include "proto/802.11.h"
- #include "proto/bcmevent.h"
-
diff --git a/network/broadcom-sta/slack-desc b/network/broadcom-sta/slack-desc
deleted file mode 100644
index 02000f4c14..0000000000
--- a/network/broadcom-sta/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-broadcom-sta: broadcom-sta (Broadcom wireless drivers)
-broadcom-sta:
-broadcom-sta: Proprietary driver for Broadcom's BCM4311, BCM4312, BCM4313, BCM4321,
-broadcom-sta: BCM4322, BCM43142, BCM43224, BCM43225, BCM43227, BCM43228, BCM4331,
-broadcom-sta: BCM4360 and BCM4352 wireless network cards. Includes a kernel module
-broadcom-sta: named 'wl'.
-broadcom-sta:
-broadcom-sta: For more information, see:
-broadcom-sta: https://www.broadcom.com/support/802.11
-broadcom-sta:
-broadcom-sta:
diff --git a/network/broadcom-wl/README b/network/broadcom-wl/README
new file mode 100644
index 0000000000..4cb4973932
--- /dev/null
+++ b/network/broadcom-wl/README
@@ -0,0 +1,40 @@
+This package was formerly hosted on slackbuilds.org as the
+'broadcom-sta' package and was based upon a Debian patchset. I've re-
+based this package on the Arch Linux package and patchset, and as
+result, renamed it to 'broadcom-wl' to match.
+
+The broadcom-wl package includes the kernel module 'wl', which contains
+a Broadcom-provided proprietary kernel driver known to support the
+listed chipsets.
+
+BCM4311 (PCI ID 14e4:4311, 14e4:4312, 14e4:4313)
+BCM4312 (PCI ID 14e4:4315)
+BCM4313 (PCI ID 14e4:4727)
+BCM4321 (PCI ID 14e4:4328, 14e4:4329, 14e4:432a)
+BCM4322 (PCI ID 14e4:432b, 14e4:432c, 14e4:432d)
+BCM43142 (PCI ID 14e4:4365)
+BCM43224 (PCI ID 14e4:4353)
+BCM43225 (PCI ID 14e4:4357)
+BCM43227 (PCI ID 14e4:4358)
+BCM43228 (PCI ID 14e4:4359)
+BCM4331 (PCI ID 14e4:4331)
+BCM4360 (PCI ID 14e4:43a0)
+BCM4352 (PCI ID 14e4:43b1)
+
+Some of these devices are also supported by the free b43 and brcm80211
+drivers. In order to avoid conflicts /etc/modprobe.d/b43_blacklist.conf
+disables these drivers.
+
+Read the included LICENSE.txt file (placed in /usr/doc) before using the
+proprietary driver.
+
+To build the module for a kernel that isn't currently running on the
+system, pass that kernel's "uname -r" output such as:
+
+ KERNEL=4.4.67 ./broadcom-wl.SlackBuild
+
+If you would like to name your interface eth1 instead of wlan0, either
+rename the device in /etc/udev/rules.d/70-persistent-net.rules or build
+the package with:
+
+ IFNAME=eth ./broadcom-wl.SlackBuild
diff --git a/network/broadcom-sta/b43_blacklist.conf.new b/network/broadcom-wl/b43_blacklist.conf.new
index 76c457bc43..76c457bc43 100644
--- a/network/broadcom-sta/b43_blacklist.conf.new
+++ b/network/broadcom-wl/b43_blacklist.conf.new
diff --git a/network/broadcom-wl/broadcom-wl.SlackBuild b/network/broadcom-wl/broadcom-wl.SlackBuild
new file mode 100644
index 0000000000..6a37971946
--- /dev/null
+++ b/network/broadcom-wl/broadcom-wl.SlackBuild
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+# Slackware build script for broadcom-wl
+#
+# SlackBuild formerly known as 'broadcom-sta' on slackbuilds.org
+#
+# Changed the name of the package to match the patchset in use, this is
+# re-based on patches for Arch Linux. See:
+# https://gitlab.archlinux.org/archlinux/packaging/packages/broadcom-wl-dkms
+#
+# Copyright 2015-2019 Andreas Voegele <andreas@andreasvoegele.com>
+# Copyright 2022-23 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+#
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=broadcom-wl
+VERSION=${VERSION:-6.30.223.271}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+KERNEL=${KERNEL:-$( uname -r )}
+IFNAME=${IFNAME:-wlan}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+case "$ARCH" in
+ i?86)
+ SRCNAM=hybrid-v35-nodebug-pcoem
+ ;;
+ x86_64)
+ SRCNAM=hybrid-v35_64-nodebug-pcoem
+ ;;
+ *)
+ echo "$ARCH is not supported..."
+ exit 1
+ ;;
+esac
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$( echo $VERSION | tr . _ ).tar.gz
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+if [ "$IFNAME" != "eth" ]; then
+ sed -i "/BRCM_WLAN_IFNAME/s/eth/$IFNAME/" src/wl/sys/wl_linux.c
+fi
+
+patch -p2 < $CWD/patches/000-remove-time_date-macros.patch || exit 1
+patch -p1 < $CWD/patches/001-null-pointer-fix.patch || exit 1
+patch -p1 < $CWD/patches/002-rdtscl.patch || exit 1
+patch -p1 < $CWD/patches/003-linux47.patch || exit 1
+patch -p1 < $CWD/patches/004-linux48.patch || exit 1
+patch -p1 < $CWD/patches/005-debian-fix-kernel-warnings.patch || exit 1
+patch -p1 < $CWD/patches/006-linux411.patch || exit 1
+patch -p1 < $CWD/patches/007-linux412.patch || exit 1
+patch -p1 < $CWD/patches/008-linux415.patch || exit 1
+patch -p1 < $CWD/patches/009-fix_mac_profile_discrepancy.patch || exit 1
+patch -p1 < $CWD/patches/010-linux56.patch || exit 1
+patch -p1 < $CWD/patches/011-linux59.patch || exit 1
+patch -p1 < $CWD/patches/012-linux517.patch || exit 1
+patch -p1 < $CWD/patches/013-linux518.patch || exit 1
+patch -p1 < $CWD/patches/014-linux414.patch || exit 1
+patch -p1 < $CWD/patches/015-linux600.patch || exit 1
+patch -p1 < $CWD/patches/016-linux601.patch || exit 1
+
+# See https://lkml.org/lkml/2019/3/1/643
+sed -i 's/get_ds()/KERNEL_DS/g' src/wl/sys/wl_iw.c
+sed -i 's/get_ds()/KERNEL_DS/g' src/wl/sys/wl_cfg80211_hybrid.c
+
+env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd) clean
+env -u ARCH make -C /lib/modules/$KERNEL/build M=$(pwd)
+
+mkdir -p $PKG/lib/modules/$KERNEL/kernel/extra
+cp wl.ko $PKG/lib/modules/$KERNEL/kernel/extra
+
+mkdir -p $PKG/etc/modprobe.d
+cat $CWD/b43_blacklist.conf.new > $PKG/etc/modprobe.d/b43_blacklist.conf.new
+
+mkdir -p $PKG/usr/doc/$PRGNAM-${VERSION}_$( echo $KERNEL | tr - _ )
+cp -a lib/LICENSE.txt $PKG/usr/doc/$PRGNAM-${VERSION}_$( echo $KERNEL | tr - _ )
+chmod 644 $PKG/usr/doc/$PRGNAM-${VERSION}_$( echo $KERNEL | tr - _ )/*
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-${VERSION}_$( echo $KERNEL | tr - _ )/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$( echo $KERNEL | tr - _ )-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/broadcom-wl/broadcom-wl.info b/network/broadcom-wl/broadcom-wl.info
new file mode 100644
index 0000000000..4000c07708
--- /dev/null
+++ b/network/broadcom-wl/broadcom-wl.info
@@ -0,0 +1,14 @@
+PRGNAM="broadcom-wl"
+VERSION="6.30.223.271"
+HOMEPAGE="https://www.broadcom.com/support/802.11"
+DOWNLOAD="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_6.30.223.271.txt \
+ https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz"
+MD5SUM="e3dab6d9dea12b6487ccf24d012e0350 \
+ 4e75f4cb7d87f690f9659ffc478495f0"
+DOWNLOAD_x86_64="https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_6.30.223.271.txt \
+ https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz"
+MD5SUM_x86_64="e3dab6d9dea12b6487ccf24d012e0350 \
+ 115903050c41d466161784d4c843f4f9"
+REQUIRES=""
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/network/broadcom-wl/doinst.sh.gz b/network/broadcom-wl/doinst.sh.gz
new file mode 100644
index 0000000000..10b4e4f29a
--- /dev/null
+++ b/network/broadcom-wl/doinst.sh.gz
Binary files differ
diff --git a/network/broadcom-sta/patches/05-remove-time-and-date-macros.patch b/network/broadcom-wl/patches/000-remove-time_date-macros.patch
index 3cd3fc845b..3cd3fc845b 100644
--- a/network/broadcom-sta/patches/05-remove-time-and-date-macros.patch
+++ b/network/broadcom-wl/patches/000-remove-time_date-macros.patch
diff --git a/network/broadcom-wl/patches/001-null-pointer-fix.patch b/network/broadcom-wl/patches/001-null-pointer-fix.patch
new file mode 100644
index 0000000000..adef19f30a
--- /dev/null
+++ b/network/broadcom-wl/patches/001-null-pointer-fix.patch
@@ -0,0 +1,27 @@
+Description: Fixing null pointer crash
+
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773713
+Bug-Ubuntu: https://launchpad.net/bugs/1415880
+Last-Update: 2015-08-18
+
+---
+ src/wl/sys/wl_linux.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
+index 860b935..295156f 100644
+--- a/src/wl/sys/wl_linux.c
++++ b/src/wl/sys/wl_linux.c
+@@ -2157,8 +2157,8 @@ wl_start(struct sk_buff *skb, struct net_device *dev)
+ wlif = WL_DEV_IF(dev);
+ wl = WL_INFO(dev);
+
++ skb->prev = NULL;
+ if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
+- skb->prev = NULL;
+
+ TXQ_LOCK(wl);
+
+--
+1.9.1
+
diff --git a/network/broadcom-wl/patches/002-rdtscl.patch b/network/broadcom-wl/patches/002-rdtscl.patch
new file mode 100644
index 0000000000..1b9862cc3d
--- /dev/null
+++ b/network/broadcom-wl/patches/002-rdtscl.patch
@@ -0,0 +1,22 @@
+Since Linux 4.3, rdtscl() is no longer available and native_read_tsc()
+is renamed to rdtsc(). Move the macro contents in-line and call the
+new function. References:
+
+https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=fe47ae6e1a5005b2e82f7eab57b5c3820453293a
+https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=4ea1636b04dbd66536fa387bae2eea463efc705b
+
+diff -ru a/src/shared/linux_osl.c b/src/shared/linux_osl.c
+--- a/src/shared/linux_osl.c 2015-09-19 01:47:15.000000000 +0300
++++ b/src/shared/linux_osl.c 2015-11-21 15:20:30.585902518 +0200
+@@ -932,7 +932,11 @@
+ uint cycles;
+
+ #if defined(__i386__)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
++ cycles = (u32)rdtsc();
++#else
+ rdtscl(cycles);
++#endif
+ #else
+ cycles = 0;
+ #endif
diff --git a/network/broadcom-wl/patches/003-linux47.patch b/network/broadcom-wl/patches/003-linux47.patch
new file mode 100644
index 0000000000..566680a091
--- /dev/null
+++ b/network/broadcom-wl/patches/003-linux47.patch
@@ -0,0 +1,109 @@
+Since Linux 4.7, the enum ieee80211_band is no longer used
+
+This shall cause no problem's since both enums ieee80211_band
+and nl80211_band were added in the same commit:
+https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=13ae75b103e07304a34ab40c9136e9f53e06475c
+
+This patch refactors the references of IEEE80211_BAND_* to NL80211_BAND_*
+
+Reference:
+https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit?id=57fbcce37be7c1d2622b56587c10ade00e96afa3
+
+--- a/src/wl/sys/wl_cfg80211_hybrid.c 2016-06-13 11:57:36.159340297 -0500
++++ b/src/wl/sys/wl_cfg80211_hybrid.c 2016-06-13 11:58:18.442323435 -0500
+@@ -236,7 +236,7 @@
+ #endif
+
+ #define CHAN2G(_channel, _freq, _flags) { \
+- .band = IEEE80211_BAND_2GHZ, \
++ .band = NL80211_BAND_2GHZ, \
+ .center_freq = (_freq), \
+ .hw_value = (_channel), \
+ .flags = (_flags), \
+@@ -245,7 +245,7 @@
+ }
+
+ #define CHAN5G(_channel, _flags) { \
+- .band = IEEE80211_BAND_5GHZ, \
++ .band = NL80211_BAND_5GHZ, \
+ .center_freq = 5000 + (5 * (_channel)), \
+ .hw_value = (_channel), \
+ .flags = (_flags), \
+@@ -379,7 +379,7 @@
+ };
+
+ static struct ieee80211_supported_band __wl_band_2ghz = {
+- .band = IEEE80211_BAND_2GHZ,
++ .band = NL80211_BAND_2GHZ,
+ .channels = __wl_2ghz_channels,
+ .n_channels = ARRAY_SIZE(__wl_2ghz_channels),
+ .bitrates = wl_g_rates,
+@@ -387,7 +387,7 @@
+ };
+
+ static struct ieee80211_supported_band __wl_band_5ghz_a = {
+- .band = IEEE80211_BAND_5GHZ,
++ .band = NL80211_BAND_5GHZ,
+ .channels = __wl_5ghz_a_channels,
+ .n_channels = ARRAY_SIZE(__wl_5ghz_a_channels),
+ .bitrates = wl_a_rates,
+@@ -395,7 +395,7 @@
+ };
+
+ static struct ieee80211_supported_band __wl_band_5ghz_n = {
+- .band = IEEE80211_BAND_5GHZ,
++ .band = NL80211_BAND_5GHZ,
+ .channels = __wl_5ghz_n_channels,
+ .n_channels = ARRAY_SIZE(__wl_5ghz_n_channels),
+ .bitrates = wl_a_rates,
+@@ -1876,8 +1876,8 @@
+ wdev->wiphy->max_num_pmkids = WL_NUM_PMKIDS_MAX;
+ #endif
+ wdev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_ADHOC);
+- wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &__wl_band_2ghz;
+- wdev->wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_a;
++ wdev->wiphy->bands[NL80211_BAND_2GHZ] = &__wl_band_2ghz;
++ wdev->wiphy->bands[NL80211_BAND_5GHZ] = &__wl_band_5ghz_a;
+ wdev->wiphy->signal_type = CFG80211_SIGNAL_TYPE_MBM;
+ wdev->wiphy->cipher_suites = __wl_cipher_suites;
+ wdev->wiphy->n_cipher_suites = ARRAY_SIZE(__wl_cipher_suites);
+@@ -2000,7 +2000,7 @@
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)
+ freq = ieee80211_channel_to_frequency(notif_bss_info->channel,
+ (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) ?
+- IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ);
++ NL80211_BAND_2GHZ : NL80211_BAND_5GHZ);
+ #else
+ freq = ieee80211_channel_to_frequency(notif_bss_info->channel);
+ #endif
+@@ -2116,7 +2116,7 @@
+ return err;
+ }
+ chan = wf_chspec_ctlchan(chanspec);
+- band = (chan <= CH_MAX_2G_CHANNEL) ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ;
++ band = (chan <= CH_MAX_2G_CHANNEL) ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ;
+ freq = ieee80211_channel_to_frequency(chan, band);
+ channel = ieee80211_get_channel(wiphy, freq);
+ cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, channel, GFP_KERNEL);
+@@ -2250,10 +2250,10 @@
+ join_params->params.chanspec_list[0] =
+ ieee80211_frequency_to_channel(chan->center_freq);
+
+- if (chan->band == IEEE80211_BAND_2GHZ) {
++ if (chan->band == NL80211_BAND_2GHZ) {
+ chanspec |= WL_CHANSPEC_BAND_2G;
+ }
+- else if (chan->band == IEEE80211_BAND_5GHZ) {
++ else if (chan->band == NL80211_BAND_5GHZ) {
+ chanspec |= WL_CHANSPEC_BAND_5G;
+ }
+ else {
+@@ -2885,7 +2885,7 @@
+
+ if (phy == 'n' || phy == 'a' || phy == 'v') {
+ wiphy = wl_to_wiphy(wl);
+- wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_n;
++ wiphy->bands[NL80211_BAND_5GHZ] = &__wl_band_5ghz_n;
+ }
+
+ return err;
diff --git a/network/broadcom-wl/patches/004-linux48.patch b/network/broadcom-wl/patches/004-linux48.patch
new file mode 100644
index 0000000000..20e8a9ae49
--- /dev/null
+++ b/network/broadcom-wl/patches/004-linux48.patch
@@ -0,0 +1,64 @@
+From d3f93542326a06d920c6eb89b703384290d37b8b Mon Sep 17 00:00:00 2001
+From: Alberto Milone <alberto.milone@canonical.com>
+Date: Fri, 2 Sep 2016 17:35:34 +0200
+Subject: [PATCH 1/1] Add support for Linux 4.8
+
+Orginal author: Krzysztof Kolasa
+---
+ src/wl/sys/wl_cfg80211_hybrid.c | 22 ++++++++++++++++++++++
+ 1 file changed, 22 insertions(+)
+
+diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
+index 2fc71fe..ec5e472 100644
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -2388,8 +2388,16 @@ wl_bss_connect_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
+ s32 err = 0;
+
+ if (wl->scan_request) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
++ struct cfg80211_scan_info info = {
++ .aborted = true,
++ };
++ WL_DBG(("%s: Aborting scan\n", __FUNCTION__));
++ cfg80211_scan_done(wl->scan_request, &info);
++#else
+ WL_DBG(("%s: Aborting scan\n", __FUNCTION__));
+ cfg80211_scan_done(wl->scan_request, true);
++#endif
+ wl->scan_request = NULL;
+ }
+
+@@ -2490,7 +2498,14 @@ wl_notify_scan_status(struct wl_cfg80211_priv *wl, struct net_device *ndev,
+
+ scan_done_out:
+ if (wl->scan_request) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
++ struct cfg80211_scan_info info = {
++ .aborted = false,
++ };
++ cfg80211_scan_done(wl->scan_request, &info);
++#else
+ cfg80211_scan_done(wl->scan_request, false);
++#endif
+ wl->scan_request = NULL;
+ }
+ rtnl_unlock();
+@@ -2909,7 +2924,14 @@ s32 wl_cfg80211_down(struct net_device *ndev)
+ s32 err = 0;
+
+ if (wl->scan_request) {
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)
++ struct cfg80211_scan_info info = {
++ .aborted = true,
++ };
++ cfg80211_scan_done(wl->scan_request, &info);
++#else
+ cfg80211_scan_done(wl->scan_request, true);
++#endif
+ wl->scan_request = NULL;
+ }
+
+--
+2.7.4
+
diff --git a/network/broadcom-wl/patches/005-debian-fix-kernel-warnings.patch b/network/broadcom-wl/patches/005-debian-fix-kernel-warnings.patch
new file mode 100644
index 0000000000..e9bf66a959
--- /dev/null
+++ b/network/broadcom-wl/patches/005-debian-fix-kernel-warnings.patch
@@ -0,0 +1,161 @@
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -1968,7 +1968,7 @@
+
+ if (dtoh32(bi->length) > WL_BSS_INFO_MAX) {
+ WL_DBG(("Beacon is larger than buffer. Discarding\n"));
+- return err;
++ return -E2BIG;
+ }
+ notif_bss_info = kzalloc(sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) +
+ WL_BSS_INFO_MAX, GFP_KERNEL);
+@@ -1992,9 +1992,15 @@
+ beacon_proberesp->capab_info = cpu_to_le16(bi->capability);
+ wl_rst_ie(wl);
+
+- wl_mrg_ie(wl, ((u8 *) bi) + bi->ie_offset, bi->ie_length);
+- wl_cp_ie(wl, beacon_proberesp->variable, WL_BSS_INFO_MAX -
++ err = wl_mrg_ie(wl, ((u8 *) bi) + bi->ie_offset, bi->ie_length);
++ if (err)
++ goto inform_single_bss_out;
++
++ err = wl_cp_ie(wl, beacon_proberesp->variable, WL_BSS_INFO_MAX -
+ offsetof(struct wl_cfg80211_bss_info, frame_buf));
++ if (err)
++ goto inform_single_bss_out;
++
+ notif_bss_info->frame_len = offsetof(struct ieee80211_mgmt, u.beacon.variable) +
+ wl_get_ielen(wl);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 39)
+@@ -2006,14 +2012,14 @@
+ #endif
+ if (freq == 0) {
+ WL_ERR(("Invalid channel, fail to chcnage channel to freq\n"));
+- kfree(notif_bss_info);
+- return -EINVAL;
++ err = -EINVAL;
++ goto inform_single_bss_out;
+ }
+ channel = ieee80211_get_channel(wiphy, freq);
+ if (unlikely(!channel)) {
+ WL_ERR(("ieee80211_get_channel error\n"));
+- kfree(notif_bss_info);
+- return -EINVAL;
++ err = -EINVAL;
++ goto inform_single_bss_out;
+ }
+
+ WL_DBG(("SSID : \"%s\", rssi %d, channel %d, capability : 0x04%x, bssid %pM\n",
+@@ -2021,28 +2027,37 @@
+ mgmt->u.beacon.capab_info, &bi->BSSID));
+
+ signal = notif_bss_info->rssi * 100;
+- cbss = cfg80211_inform_bss_frame(wiphy, channel, mgmt,
+- le16_to_cpu(notif_bss_info->frame_len), signal, GFP_KERNEL);
+- if (unlikely(!cbss)) {
+- WL_ERR(("cfg80211_inform_bss_frame error\n"));
+- kfree(notif_bss_info);
+- return -EINVAL;
+- }
+
+- notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset);
+- notify_ielen = le32_to_cpu(bi->ie_length);
++ if (!wl->scan_request) {
++ cbss = cfg80211_inform_bss_frame(wiphy, channel, mgmt,
++ le16_to_cpu(notif_bss_info->frame_len), signal, GFP_KERNEL);
++ if (unlikely(!cbss)) {
++ WL_ERR(("cfg80211_inform_bss_frame error\n"));
++ err = -ENOMEM;
++ goto inform_single_bss_out;
++ }
++ } else {
++ notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset);
++ notify_ielen = le32_to_cpu(bi->ie_length);
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
+- cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
+- 0, beacon_proberesp->capab_info, beacon_proberesp->beacon_int,
+- (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
++ cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
++ 0, beacon_proberesp->capab_info, beacon_proberesp->beacon_int,
++ (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
+ #else
+- cbss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, (const u8 *)(bi->BSSID.octet),
+- 0, beacon_proberesp->capab_info, beacon_proberesp->beacon_int,
+- (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
++ cbss = cfg80211_inform_bss(wiphy, channel,
++ wl->active_scan ?
++ CFG80211_BSS_FTYPE_PRESP : CFG80211_BSS_FTYPE_BEACON,
++ (const u8 *)(bi->BSSID.octet), 0,
++ beacon_proberesp->capab_info,
++ beacon_proberesp->beacon_int,
++ (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
+ #endif
+-
+- if (unlikely(!cbss))
+- return -ENOMEM;
++ if (unlikely(!cbss)) {
++ WL_ERR(("cfg80211_inform_bss error\n"));
++ err = -ENOMEM;
++ goto inform_single_bss_out;
++ }
++ }
+
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
+ cfg80211_put_bss(wiphy, cbss);
+@@ -2050,6 +2065,7 @@
+ cfg80211_put_bss(cbss);
+ #endif
+
++inform_single_bss_out:
+ kfree(notif_bss_info);
+
+ return err;
+@@ -2316,6 +2332,9 @@
+ if (err)
+ goto update_bss_info_out;
+
++ bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid,
++ ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS);
++
+ ie = ((u8 *)bi) + bi->ie_offset;
+ ie_len = bi->ie_length;
+ } else {
+@@ -2328,11 +2347,18 @@
+ ie_len = bss->len_information_elements;
+ #endif
+ wl->conf->channel = *bss->channel;
++ }
++
++ if (bss) {
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
+ cfg80211_put_bss(wiphy, bss);
+ #else
+ cfg80211_put_bss(bss);
+ #endif
++ } else {
++ WL_DBG(("Could not update BSS\n"));
++ err = -EINVAL;
++ goto update_bss_info_out;
+ }
+
+ tim = bcm_parse_tlvs(ie, ie_len, WLAN_EID_TIM);
+@@ -2360,10 +2386,17 @@
+ struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl);
+ s32 err = 0;
+
+- wl_get_assoc_ies(wl);
++ err = wl_get_assoc_ies(wl);
++ if (err)
++ return err;
++
+ memcpy(wl->profile->bssid, &e->addr, ETHER_ADDR_LEN);
+ memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
+- wl_update_bss_info(wl);
++
++ err = wl_update_bss_info(wl);
++ if (err)
++ return err;
++
+ cfg80211_roamed(ndev,
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39)
+ &wl->conf->channel,
diff --git a/network/broadcom-wl/patches/006-linux411.patch b/network/broadcom-wl/patches/006-linux411.patch
new file mode 100644
index 0000000000..7a2e8c0c6c
--- /dev/null
+++ b/network/broadcom-wl/patches/006-linux411.patch
@@ -0,0 +1,27 @@
+diff -u sys0/wl_cfg80211_hybrid.c sys/wl_cfg80211_hybrid.c
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -39,6 +39,10 @@
+ #include <proto/802.11.h>
+ #include <wl_cfg80211_hybrid.h>
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
++#include <linux/sched/signal.h>
++#endif
++
+ #define EVENT_TYPE(e) dtoh32((e)->event_type)
+ #define EVENT_FLAGS(e) dtoh16((e)->flags)
+ #define EVENT_STATUS(e) dtoh32((e)->status)
+diff -u sys0/wl_linux.c sys/wl_linux.c
+--- a/src/wl/sys/wl_linux.c
++++ b/src/wl/sys/wl_linux.c
+@@ -2915,7 +2915,9 @@
+ if (skb == NULL) return;
+
+ skb->dev = wl->monitor_dev;
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ skb->dev->last_rx = jiffies;
++#endif
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
+ skb_reset_mac_header(skb);
+ #else
diff --git a/network/broadcom-wl/patches/007-linux412.patch b/network/broadcom-wl/patches/007-linux412.patch
new file mode 100644
index 0000000000..1673f063cd
--- /dev/null
+++ b/network/broadcom-wl/patches/007-linux412.patch
@@ -0,0 +1,78 @@
+From 0b888bf115612074df99654140a1980111c29748 Mon Sep 17 00:00:00 2001
+From: Antoine Cotten <tonio.cotten@gmail.com>
+Date: Fri, 7 Jul 2017 15:17:47 +0200
+Subject: [PATCH] Apply patch from Debian bug #867258
+
+Compile fix with kernel 4.12
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867258
+---
+ src/wl/sys/wl_cfg80211_hybrid.c | 29 +++++++++++++++++++++++++----
+ 1 file changed, 25 insertions(+), 4 deletions(-)
+
+diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
+index c46944a..1a9840a 100644
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -53,7 +53,11 @@ u32 wl_dbg_level = WL_DBG_ERR;
+ #endif
+
+ static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
+- enum nl80211_iftype type, u32 *flags, struct vif_params *params);
++ enum nl80211_iftype type,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
++ u32 *flags,
++#endif
++ struct vif_params *params);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0)
+ static s32
+ wl_cfg80211_scan(struct wiphy *wiphy,
+@@ -466,8 +470,11 @@ wl_dev_ioctl(struct net_device *dev, u32 cmd, void *arg, u32 len)
+
+ static s32
+ wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
+- enum nl80211_iftype type, u32 *flags,
+- struct vif_params *params)
++ enum nl80211_iftype type,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
++ u32 *flags,
++#endif
++ struct vif_params *params)
+ {
+ struct wl_cfg80211_priv *wl = wiphy_to_wl(wiphy);
+ struct wireless_dev *wdev;
+@@ -2387,6 +2394,15 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
+ const wl_event_msg_t *e, void *data)
+ {
+ struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
++ struct cfg80211_roam_info roam_info = {
++ .bssid = wl->profile->bssid,
++ .req_ie = conn_info->req_ie,
++ .req_ie_len = conn_info->req_ie_len,
++ .resp_ie = conn_info->resp_ie,
++ .resp_ie_len = conn_info->resp_ie_len,
++ };
++#endif
+ s32 err = 0;
+
+ err = wl_get_assoc_ies(wl);
+@@ -2401,12 +2417,17 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
+ return err;
+
+ cfg80211_roamed(ndev,
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
++ &roam_info,
++#else
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 39)
+ &wl->conf->channel,
+ #endif
+ (u8 *)&wl->bssid,
+ conn_info->req_ie, conn_info->req_ie_len,
+- conn_info->resp_ie, conn_info->resp_ie_len, GFP_KERNEL);
++ conn_info->resp_ie, conn_info->resp_ie_len,
++#endif
++ GFP_KERNEL);
+ WL_DBG(("Report roaming result\n"));
+
+ set_bit(WL_STATUS_CONNECTED, &wl->status);
+
diff --git a/network/broadcom-wl/patches/008-linux415.patch b/network/broadcom-wl/patches/008-linux415.patch
new file mode 100644
index 0000000000..1bced2f68a
--- /dev/null
+++ b/network/broadcom-wl/patches/008-linux415.patch
@@ -0,0 +1,46 @@
+--- a/src/wl/sys/wl_linux.c 2017-07-17 00:11:24.000000000 +0100
++++ b/src/wl/sys/wl_linux.c 2018-01-27 09:49:47.057799596 +0000
+@@ -93,7 +93,11 @@
+
+ #include <wlc_wowl.h>
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
++static void wl_timer(struct timer_list *tl);
++#else
+ static void wl_timer(ulong data);
++#endif
+ static void _wl_timer(wl_timer_t *t);
+ static struct net_device *wl_alloc_linux_if(wl_if_t *wlif);
+
+@@ -2297,10 +2301,17 @@
+ atomic_dec(&t->wl->callbacks);
+ }
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
++static void
++wl_timer(struct timer_list *tl)
++{
++ wl_timer_t *t = (wl_timer_t *)tl;
++#else
+ static void
+ wl_timer(ulong data)
+ {
+ wl_timer_t *t = (wl_timer_t *)data;
++#endif
+
+ if (!WL_ALL_PASSIVE_ENAB(t->wl))
+ _wl_timer(t);
+@@ -2352,9 +2363,13 @@
+
+ bzero(t, sizeof(wl_timer_t));
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
++ timer_setup(&t->timer, wl_timer, 0);
++#else
+ init_timer(&t->timer);
+ t->timer.data = (ulong) t;
+ t->timer.function = wl_timer;
++#endif
+ t->wl = wl;
+ t->fn = fn;
+ t->arg = arg;
diff --git a/network/broadcom-wl/patches/009-fix_mac_profile_discrepancy.patch b/network/broadcom-wl/patches/009-fix_mac_profile_discrepancy.patch
new file mode 100644
index 0000000000..4260eba505
--- /dev/null
+++ b/network/broadcom-wl/patches/009-fix_mac_profile_discrepancy.patch
@@ -0,0 +1,14 @@
+--- a/src/wl/sys/wl_cfg80211_hybrid.c 2015-09-19 00:47:30.000000000 +0200
++++ b/src/wl/sys/wl_cfg80211_hybrid.c 2018-11-14 14:06:03.313487995 +0100
+@@ -1444,11 +1444,10 @@
+ s32 rate;
+ s32 err = 0;
+
+ if (memcmp(mac, wl->profile->bssid, ETHER_ADDR_LEN)) {
+ WL_ERR(("Wrong Mac address, mac = %pM profile =%pM\n", mac, wl->profile->bssid));
+- return -ENOENT;
+ }
+
+ err = wl_dev_ioctl(dev, WLC_GET_RATE, &rate, sizeof(rate));
+ if (err) {
+ WL_DBG(("Could not get rate (%d)\n", err));
diff --git a/network/broadcom-wl/patches/010-linux56.patch b/network/broadcom-wl/patches/010-linux56.patch
new file mode 100644
index 0000000000..f8d5783819
--- /dev/null
+++ b/network/broadcom-wl/patches/010-linux56.patch
@@ -0,0 +1,55 @@
+diff --git a/src/shared/linux_osl.c b/src/shared/linux_osl.c
+index 6157d18..8237ec7 100644
+--- a/src/shared/linux_osl.c
++++ b/src/shared/linux_osl.c
+@@ -942,7 +942,7 @@ osl_getcycles(void)
+ void *
+ osl_reg_map(uint32 pa, uint size)
+ {
+- return (ioremap_nocache((unsigned long)pa, (unsigned long)size));
++ return (ioremap((unsigned long)pa, (unsigned long)size));
+ }
+
+ void
+diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
+index 0d05100..2ed1f0d 100644
+--- a/src/wl/sys/wl_linux.c
++++ b/src/wl/sys/wl_linux.c
+@@ -582,7 +582,7 @@ wl_attach(uint16 vendor, uint16 device, ulong regs,
+ }
+ wl->bcm_bustype = bustype;
+
+- if ((wl->regsva = ioremap_nocache(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
++ if ((wl->regsva = ioremap(dev->base_addr, PCI_BAR0_WINSZ)) == NULL) {
+ WL_ERROR(("wl%d: ioremap() failed\n", unit));
+ goto fail;
+ }
+@@ -772,7 +772,7 @@ wl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
+ if ((val & 0x0000ff00) != 0)
+ pci_write_config_dword(pdev, 0x40, val & 0xffff00ff);
+ bar1_size = pci_resource_len(pdev, 2);
+- bar1_addr = (uchar *)ioremap_nocache(pci_resource_start(pdev, 2),
++ bar1_addr = (uchar *)ioremap(pci_resource_start(pdev, 2),
+ bar1_size);
+ wl = wl_attach(pdev->vendor, pdev->device, pci_resource_start(pdev, 0), PCI_BUS, pdev,
+ pdev->irq, bar1_addr, bar1_size);
+@@ -3335,12 +3335,19 @@ wl_proc_write(struct file *filp, const char __user *buff, size_t length, loff_t
+ }
+
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0)
++static struct proc_ops wl_fops = {
++ .proc_read = wl_proc_read,
++ .proc_write = wl_proc_write,
++};
++#else
+ static const struct file_operations wl_fops = {
+ .owner = THIS_MODULE,
+ .read = wl_proc_read,
+ .write = wl_proc_write,
+ };
+ #endif
++#endif
+
+ static int
+ wl_reg_proc_entry(wl_info_t *wl)
diff --git a/network/broadcom-wl/patches/011-linux59.patch b/network/broadcom-wl/patches/011-linux59.patch
new file mode 100644
index 0000000000..6ef476464c
--- /dev/null
+++ b/network/broadcom-wl/patches/011-linux59.patch
@@ -0,0 +1,211 @@
+From f3d652840f8dd959395065a1cf67ca40b04ec69b Mon Sep 17 00:00:00 2001
+From: Joan Bruguera <joanbrugueram@gmail.com>
+Date: Tue, 13 Oct 2020 19:35:55 +0200
+Subject: [PATCH] Get rid of get_fs/set_fs calls in Broadcom WL driver.
+
+Tentative patch for broadcom-wl 6.30.223.271 driver for Linux 5.10 (tested -rc1 up to 5.10.1)
+
+Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-23 on Arch Linux.
+
+NB: Some checks in wlc_ioctl_internal are likely superfluous,
+ but I'm not familiar enough with the driver to remove them with confidence.
+
+See also: https://lwn.net/Articles/722267/
+ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47058bb54b57962b3958a936ddbc59355e4c5504
+ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5e6e9852d6f76e01b2e6803c74258afa5b432bc5
+
+Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
+---
+ src/wl/sys/wl_cfg80211_hybrid.c | 25 ++-------------------
+ src/wl/sys/wl_iw.c | 25 ++-------------------
+ src/wl/sys/wl_linux.c | 40 ++++++++++++++++++++++++++++-----
+ src/wl/sys/wl_linux.h | 2 ++
+ src/wl/sys/wlc_pub.h | 1 +
+ 5 files changed, 42 insertions(+), 51 deletions(-)
+
+diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
+index 7b606e0..1e0adb7 100644
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -38,6 +38,7 @@
+ #include <wlioctl.h>
+ #include <proto/802.11.h>
+ #include <wl_cfg80211_hybrid.h>
++#include <wl_linux.h>
+
+ #define EVENT_TYPE(e) dtoh32((e)->event_type)
+ #define EVENT_FLAGS(e) dtoh16((e)->flags)
+@@ -435,30 +436,7 @@ static void key_endian_to_host(struct wl_wsec_key *key)
+ static s32
+ wl_dev_ioctl(struct net_device *dev, u32 cmd, void *arg, u32 len)
+ {
+- struct ifreq ifr;
+- struct wl_ioctl ioc;
+- mm_segment_t fs;
+- s32 err = 0;
+-
+- BUG_ON(len < sizeof(int));
+-
+- memset(&ioc, 0, sizeof(ioc));
+- ioc.cmd = cmd;
+- ioc.buf = arg;
+- ioc.len = len;
+- strcpy(ifr.ifr_name, dev->name);
+- ifr.ifr_data = (caddr_t)&ioc;
+-
+- fs = get_fs();
+- set_fs(get_ds());
+-#if defined(WL_USE_NETDEV_OPS)
+- err = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+-#else
+- err = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+-#endif
+- set_fs(fs);
+-
+- return err;
++ return wlc_ioctl_internal(dev, cmd, arg, len);
+ }
+
+ static s32
+diff --git a/src/wl/sys/wl_iw.c b/src/wl/sys/wl_iw.c
+index c4c610b..e346b15 100644
+--- a/src/wl/sys/wl_iw.c
++++ b/src/wl/sys/wl_iw.c
+@@ -37,6 +37,7 @@ typedef const struct si_pub si_t;
+
+ #include <wl_dbg.h>
+ #include <wl_iw.h>
++#include <wl_linux.h>
+
+ extern bool wl_iw_conn_status_str(uint32 event_type, uint32 status,
+ uint32 reason, char* stringBuf, uint buflen);
+@@ -103,29 +104,7 @@ dev_wlc_ioctl(
+ int len
+ )
+ {
+- struct ifreq ifr;
+- wl_ioctl_t ioc;
+- mm_segment_t fs;
+- int ret;
+-
+- memset(&ioc, 0, sizeof(ioc));
+- ioc.cmd = cmd;
+- ioc.buf = arg;
+- ioc.len = len;
+-
+- strcpy(ifr.ifr_name, dev->name);
+- ifr.ifr_data = (caddr_t) &ioc;
+-
+- fs = get_fs();
+- set_fs(get_ds());
+-#if defined(WL_USE_NETDEV_OPS)
+- ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+-#else
+- ret = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
+-#endif
+- set_fs(fs);
+-
+- return ret;
++ return wlc_ioctl_internal(dev, cmd, arg, len);
+ }
+
+ static int
+diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
+index 947cef3..f04c148 100644
+--- a/src/wl/sys/wl_linux.c
++++ b/src/wl/sys/wl_linux.c
+@@ -1643,10 +1643,7 @@ wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
+ goto done2;
+ }
+
+- if (segment_eq(get_fs(), KERNEL_DS))
+- buf = ioc.buf;
+-
+- else if (ioc.buf) {
++ if (ioc.buf) {
+ if (!(buf = (void *) MALLOC(wl->osh, MAX(ioc.len, WLC_IOCTL_MAXLEN)))) {
+ bcmerror = BCME_NORESOURCE;
+ goto done2;
+@@ -1667,7 +1664,7 @@ wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
+ WL_UNLOCK(wl);
+
+ done1:
+- if (ioc.buf && (ioc.buf != buf)) {
++ if (ioc.buf) {
+ if (copy_to_user(ioc.buf, buf, ioc.len))
+ bcmerror = BCME_BADADDR;
+ MFREE(wl->osh, buf, MAX(ioc.len, WLC_IOCTL_MAXLEN));
+@@ -1680,6 +1677,39 @@ done2:
+ return (OSL_ERROR(bcmerror));
+ }
+
++int
++wlc_ioctl_internal(struct net_device *dev, int cmd, void *buf, int len)
++{
++ wl_info_t *wl;
++ wl_if_t *wlif;
++ int bcmerror;
++
++ if (!dev)
++ return -ENETDOWN;
++
++ wl = WL_INFO(dev);
++ wlif = WL_DEV_IF(dev);
++ if (wlif == NULL || wl == NULL || wl->dev == NULL)
++ return -ENETDOWN;
++
++ bcmerror = 0;
++
++ WL_TRACE(("wl%d: wlc_ioctl_internal: cmd 0x%x\n", wl->pub->unit, cmd));
++
++ WL_LOCK(wl);
++ if (!capable(CAP_NET_ADMIN)) {
++ bcmerror = BCME_EPERM;
++ } else {
++ bcmerror = wlc_ioctl(wl->wlc, cmd, buf, len, wlif->wlcif);
++ }
++ WL_UNLOCK(wl);
++
++ ASSERT(VALID_BCMERROR(bcmerror));
++ if (bcmerror != 0)
++ wl->pub->bcmerror = bcmerror;
++ return (OSL_ERROR(bcmerror));
++}
++
+ static struct net_device_stats*
+ wl_get_stats(struct net_device *dev)
+ {
+diff --git a/src/wl/sys/wl_linux.h b/src/wl/sys/wl_linux.h
+index 5b1048e..c8c1f41 100644
+--- a/src/wl/sys/wl_linux.h
++++ b/src/wl/sys/wl_linux.h
+@@ -22,6 +22,7 @@
+ #define _wl_linux_h_
+
+ #include <wlc_types.h>
++#include <wlc_pub.h>
+
+ typedef struct wl_timer {
+ struct timer_list timer;
+@@ -187,6 +188,7 @@ extern irqreturn_t wl_isr(int irq, void *dev_id, struct pt_regs *ptregs);
+ extern int __devinit wl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
+ extern void wl_free(wl_info_t *wl);
+ extern int wl_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
++extern int wlc_ioctl_internal(struct net_device *dev, int cmd, void *buf, int len);
+ extern struct net_device * wl_netdev_get(wl_info_t *wl);
+
+ #endif
+diff --git a/src/wl/sys/wlc_pub.h b/src/wl/sys/wlc_pub.h
+index 53a98b8..2b5a029 100644
+--- a/src/wl/sys/wlc_pub.h
++++ b/src/wl/sys/wlc_pub.h
+@@ -24,6 +24,7 @@
+
+ #include <wlc_types.h>
+ #include <wlc_utils.h>
++#include <siutils.h>
+ #include "proto/802.11.h"
+ #include "proto/bcmevent.h"
+
+--
+2.28.0
diff --git a/network/broadcom-wl/patches/012-linux517.patch b/network/broadcom-wl/patches/012-linux517.patch
new file mode 100644
index 0000000000..6f23316691
--- /dev/null
+++ b/network/broadcom-wl/patches/012-linux517.patch
@@ -0,0 +1,80 @@
+From 31b7849092c43805c7fbaf7518b99874aa1b310c Mon Sep 17 00:00:00 2001
+From: Joan Bruguera <joanbrugueram@gmail.com>
+Date: Wed, 12 Jan 2022 20:49:20 +0100
+Subject: [PATCH] Tentative fix for broadcom-wl 6.30.223.271 driver for Linux 5.17-rc1
+
+Set netdev->dev_addr through dev_addr_mod + PDE_DATA fix
+
+Since Linux 5.17 netdev->dev_addr is const and must be changed through
+dev_addr_mod, otherwise a warning is logged in dmesg and bad things may happen.
+
+NB: The #if is not wrong, dev_addr_mod is defined since Linux 5.15-rc1
+
+Plus a trivial fix for PDE_DATA.
+
+Applies on top of all the patches applied to broadcom-wl-dkms 6.30.223.271-28 on Arch Linux.
+
+See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=adeef3e32146a8d2a73c399dc6f5d76a449131b1
+ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=359745d78351c6f5442435f81549f0207ece28aa
+---
+ src/wl/sys/wl_linux.c | 16 +++++++++++++---
+ 1 file changed, 13 insertions(+), 3 deletions(-)
+
+diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
+index e491df7..e4614fb 100644
+--- a/src/wl/sys/wl_linux.c
++++ b/src/wl/sys/wl_linux.c
+@@ -93,6 +93,10 @@ struct iw_statistics *wl_get_wireless_stats(struct net_device *dev);
+
+ #include <wlc_wowl.h>
+
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))
++#define PDE_DATA pde_data
++#endif
++
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)
+ static void wl_timer(struct timer_list *tl);
+ #else
+@@ -490,6 +494,12 @@ wl_if_setup(struct net_device *dev)
+ #endif
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)
++static inline void eth_hw_addr_set(struct net_device *dev, const void *addr) {
++ memcpy(dev->dev_addr, addr, ETHER_ADDR_LEN);
++}
++#endif
++
+ static wl_info_t *
+ wl_attach(uint16 vendor, uint16 device, ulong regs,
+ uint bustype, void *btparam, uint irq, uchar* bar1_addr, uint32 bar1_size)
+@@ -634,7 +644,7 @@ wl_attach(uint16 vendor, uint16 device, ulong regs,
+ WL_ERROR(("wl%d: Error setting MAC ADDRESS\n", unit));
+ }
+ #endif
+- bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN);
++ eth_hw_addr_set(dev, wl->pub->cur_etheraddr.octet);
+
+ online_cpus = 1;
+
+@@ -1835,7 +1845,7 @@ wl_set_mac_address(struct net_device *dev, void *addr)
+
+ WL_LOCK(wl);
+
+- bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN);
++ eth_hw_addr_set(dev, sa->sa_data);
+ err = wlc_iovar_op(wl->wlc, "cur_etheraddr", NULL, 0, sa->sa_data, ETHER_ADDR_LEN,
+ IOV_SET, (WL_DEV_IF(dev))->wlcif);
+ WL_UNLOCK(wl);
+@@ -3010,7 +3020,7 @@ _wl_add_monitor_if(wl_task_t *task)
+ else
+ dev->type = ARPHRD_IEEE80211_RADIOTAP;
+
+- bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN);
++ eth_hw_addr_set(dev, wl->dev->dev_addr);
+
+ #if defined(WL_USE_NETDEV_OPS)
+ dev->netdev_ops = &wl_netdev_monitor_ops;
+--
+2.35.1
+
diff --git a/network/broadcom-wl/patches/013-linux518.patch b/network/broadcom-wl/patches/013-linux518.patch
new file mode 100644
index 0000000000..d837429a68
--- /dev/null
+++ b/network/broadcom-wl/patches/013-linux518.patch
@@ -0,0 +1,71 @@
+diff -u -r a/src/shared/linux_osl.c b/src/shared/linux_osl.c
+--- a/src/shared/linux_osl.c 2022-05-24 20:51:15.662604980 +0000
++++ b/src/shared/linux_osl.c 2022-05-24 21:13:38.264472425 +0000
+@@ -599,6 +599,8 @@
+ va = kmalloc(size, GFP_ATOMIC | __GFP_ZERO);
+ if (va)
+ *pap = (ulong)__virt_to_phys(va);
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
++ va = dma_alloc_coherent(&((struct pci_dev *)osh->pdev)->dev, size, (dma_addr_t*)pap, GFP_ATOMIC);
+ #else
+ va = pci_alloc_consistent(osh->pdev, size, (dma_addr_t*)pap);
+ #endif
+@@ -612,6 +614,8 @@
+
+ #ifdef __ARM_ARCH_7A__
+ kfree(va);
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
++ dma_free_coherent(&((struct pci_dev *)osh->pdev)->dev, size, va, (dma_addr_t)pa);
+ #else
+ pci_free_consistent(osh->pdev, size, va, (dma_addr_t)pa);
+ #endif
+@@ -623,7 +627,11 @@
+ int dir;
+
+ ASSERT((osh && (osh->magic == OS_HANDLE_MAGIC)));
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
++ dir = (direction == DMA_TX)? DMA_TO_DEVICE: DMA_FROM_DEVICE;
++#else
+ dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
++#endif
+
+ #if defined(__ARM_ARCH_7A__) && defined(BCMDMASGLISTOSL)
+ if (dmah != NULL) {
+@@ -641,7 +649,11 @@
+ ASSERT(totsegs + nsegs <= MAX_DMA_SEGS);
+ sg->page_link = 0;
+ sg_set_buf(sg, PKTDATA(osh, skb), PKTLEN(osh, skb));
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
++ dma_map_single(&((struct pci_dev *)osh->pdev)->dev, PKTDATA(osh, skb), PKTLEN(osh, skb), dir);
++#else
+ pci_map_single(osh->pdev, PKTDATA(osh, skb), PKTLEN(osh, skb), dir);
++#endif
+ }
+ totsegs += nsegs;
+ totlen += PKTLEN(osh, skb);
+@@ -656,7 +668,11 @@
+ }
+ #endif
+
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
++ return (dma_map_single(&((struct pci_dev *)osh->pdev)->dev, va, size, dir));
++#else
+ return (pci_map_single(osh->pdev, va, size, dir));
++#endif
+ }
+
+ void BCMFASTPATH
+@@ -665,8 +681,13 @@
+ int dir;
+
+ ASSERT((osh && (osh->magic == OS_HANDLE_MAGIC)));
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
++ dir = (direction == DMA_TX)? DMA_TO_DEVICE: DMA_FROM_DEVICE;
++ dma_unmap_single(&((struct pci_dev *)osh->pdev)->dev, (uint32)pa, size, dir);
++#else
+ dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
+ pci_unmap_single(osh->pdev, (uint32)pa, size, dir);
++#endif
+ }
+
+ #if defined(BCMDBG_ASSERT)
diff --git a/network/broadcom-wl/patches/014-linux414.patch b/network/broadcom-wl/patches/014-linux414.patch
new file mode 100644
index 0000000000..0576aa5cf9
--- /dev/null
+++ b/network/broadcom-wl/patches/014-linux414.patch
@@ -0,0 +1,37 @@
+From: Gerardo Esteban Malazdrewicz <gerardo@malazdrewicz.com.ar>
+Date: Fri, 29 Dec 2017 23:44:24 -0400
+Subject: linux414
+Origin: https://bugs.debian.org/885885
+
+linux 4.14 changed the kernel_read function prototype.
+---
+ src/shared/linux_osl.c | 12 +++++++++++-
+ 1 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/src/shared/linux_osl.c b/src/shared/linux_osl.c
+index 9adc392..b24a973 100644
+--- a/src/shared/linux_osl.c
++++ b/src/shared/linux_osl.c
+@@ -1076,11 +1076,21 @@ osl_os_get_image_block(char *buf, int len, void *image)
+ {
+ struct file *fp = (struct file *)image;
+ int rdlen;
++ loff_t pos;
+
+ if (!image)
+ return 0;
+
+- rdlen = kernel_read(fp, fp->f_pos, buf, len);
++ pos = fp->f_pos;
++ rdlen = kernel_read(fp,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
++ pos,
++#endif
++ buf, len
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
++ ,&pos
++#endif
++ );
+ if (rdlen > 0)
+ fp->f_pos += rdlen;
+
diff --git a/network/broadcom-wl/patches/015-linux600.patch b/network/broadcom-wl/patches/015-linux600.patch
new file mode 100644
index 0000000000..8645907bba
--- /dev/null
+++ b/network/broadcom-wl/patches/015-linux600.patch
@@ -0,0 +1,31 @@
+From 933540c63f33e6ac2825d65c4b681ef3387d9146 Mon Sep 17 00:00:00 2001
+From: Antoine Cotten <hello@acotten.com>
+Date: Mon, 15 Aug 2022 17:53:51 +0200
+Subject: [PATCH] cfg80211_roam_info compat for MLO APIs in Linux >= 6.0
+
+The 'bssid' struct field is now under 'links.bssid'.
+
+See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=efbabc11650040c64884ff3019b88c7bcc0ceb1d
+
+Original patch by Joan Bruguera:
+https://gist.github.com/joanbm/207210d74637870c01ef5a3c262a597d
+---
+ src/wl/sys/wl_cfg80211_hybrid.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
+index 5e9e6d3..5ec35c5 100644
+--- a/src/wl/sys/wl_cfg80211_hybrid.c
++++ b/src/wl/sys/wl_cfg80211_hybrid.c
+@@ -2412,7 +2412,11 @@ wl_bss_roaming_done(struct wl_cfg80211_priv *wl, struct net_device *ndev,
+ struct wl_cfg80211_connect_info *conn_info = wl_to_conn(wl);
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
+ struct cfg80211_roam_info roam_info = {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0)
+ .bssid = wl->profile->bssid,
++#else
++ .links[0].bssid = wl->profile->bssid,
++#endif
+ .req_ie = conn_info->req_ie,
+ .req_ie_len = conn_info->req_ie_len,
+ .resp_ie = conn_info->resp_ie,
diff --git a/network/broadcom-wl/patches/016-linux601.patch b/network/broadcom-wl/patches/016-linux601.patch
new file mode 100644
index 0000000000..721967d275
--- /dev/null
+++ b/network/broadcom-wl/patches/016-linux601.patch
@@ -0,0 +1,90 @@
+diff -Nurp -u -r a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c
+--- a/src/wl/sys/wl_cfg80211_hybrid.c 2022-12-12 00:23:30.821615599 +0000
++++ b/src/wl/sys/wl_cfg80211_hybrid.c 2022-12-12 00:35:47.854975024 +0000
+@@ -105,14 +105,28 @@ static s32 wl_cfg80211_get_tx_power(stru
+ static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, s32 *dbm);
+ #endif
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
++static s32 wl_cfg80211_config_default_key(struct wiphy *wiphy,
++ struct net_device *dev, int link_id, u8 key_idx, bool unicast,
++ bool multicast);
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
+ static s32 wl_cfg80211_config_default_key(struct wiphy *wiphy,
+ struct net_device *dev, u8 key_idx, bool unicast, bool multicast);
+ #else
+ static s32 wl_cfg80211_config_default_key(struct wiphy *wiphy,
+ struct net_device *dev, u8 key_idx);
+ #endif
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
++static s32 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
++ int link_id, u8 key_idx, bool pairwise, const u8 *mac_addr,
++ struct key_params *params);
++static s32 wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
++ int link_id, u8 key_idx, bool pairwise, const u8 *mac_addr);
++static s32 wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
++ int link_id, u8 key_idx, bool pairwise, const u8 *mac_addr,
++ void *cookie,
++ void (*callback) (void *cookie, struct key_params *params));
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
+ static s32 wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
+ u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params);
+ static s32 wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
+@@ -1161,7 +1175,12 @@ static s32 wl_cfg80211_get_tx_power(stru
+ return err;
+ }
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
++static s32
++wl_cfg80211_config_default_key(struct wiphy *wiphy,
++ struct net_device *dev, int link_id, u8 key_idx, bool unicast,
++ bool multicast)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
+ static s32
+ wl_cfg80211_config_default_key(struct wiphy *wiphy,
+ struct net_device *dev, u8 key_idx, bool unicast, bool multicast)
+@@ -1186,7 +1205,12 @@ wl_cfg80211_config_default_key(struct wi
+ return 0;
+ }
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
++static s32
++wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
++ int link_id, u8 key_idx, bool pairwise, const u8 *mac_addr,
++ struct key_params *params)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
+ static s32
+ wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
+ u8 key_idx, bool pairwise, const u8 *mac_addr, struct key_params *params)
+@@ -1307,7 +1331,11 @@ wl_cfg80211_add_key(struct wiphy *wiphy,
+ return err;
+ }
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
++static s32
++wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
++ int link_id, u8 key_idx, bool pairwise, const u8 *mac_addr)
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
+ static s32
+ wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
+ u8 key_idx, bool pairwise, const u8 *mac_addr)
+@@ -1350,7 +1378,13 @@ wl_cfg80211_del_key(struct wiphy *wiphy,
+ return err;
+ }
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0)
++static s32
++wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
++ int link_id, u8 key_idx, bool pairwise, const u8 *mac_addr,
++ void *cookie,
++ void (*callback) (void *cookie, struct key_params * params))
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)
+ static s32
+ wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
+ u8 key_idx, bool pairwise, const u8 *mac_addr, void *cookie,
diff --git a/network/broadcom-wl/slack-desc b/network/broadcom-wl/slack-desc
new file mode 100644
index 0000000000..dba3efd955
--- /dev/null
+++ b/network/broadcom-wl/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+broadcom-wl: broadcom-wl (Broadcom wireless kernel module)
+broadcom-wl:
+broadcom-wl: Proprietary driver for Broadcom's BCM4311, BCM4312, BCM4313, BCM4321,
+broadcom-wl: BCM4322, BCM43142, BCM43224, BCM43225, BCM43227, BCM43228, BCM4331,
+broadcom-wl: BCM4360 and BCM4352 wireless network cards. Includes a kernel module
+broadcom-wl: named 'wl'.
+broadcom-wl:
+broadcom-wl: For more information, see:
+broadcom-wl: https://www.broadcom.com/support/802.11
+broadcom-wl:
+broadcom-wl:
diff --git a/network/bsflite/bsflite.SlackBuild b/network/bsflite/bsflite.SlackBuild
index df1bc738f1..3c012d077b 100644
--- a/network/bsflite/bsflite.SlackBuild
+++ b/network/bsflite/bsflite.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bsflite
# Written by Peter Drauden (pjdraud@ilstu.edu)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bsflite
VERSION=${VERSION:-0.85}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -66,4 +76,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/btpd/README b/network/btpd/README
index a63b2bbd16..acccc68c1c 100644
--- a/network/btpd/README
+++ b/network/btpd/README
@@ -1,11 +1,12 @@
-Btpd is a utility for sharing files over the BitTorrent network protocol.
-It runs in daemon mode, thus needing no controlling terminal or gui. Instead,
-the daemon is controlled by the btcli command line utility, or other programs
-capable of sending commands and queries on the btpd control socket.
+Btpd is a utility for sharing files over the BitTorrent network
+protocol. It runs in daemon mode, thus needing no controlling
+terminal or gui. Instead, the daemon is controlled by the btcli
+command line utility, or other programs capable of sending commands
+and queries on the btpd control socket.
-The goal is to provide a healthy alternative to the still prevailing ftp/http
-servers for file distribution sites and a good BitTorrent client for the
-casual user.
+The goal is to provide a healthy alternative to the still prevailing
+ftp/http servers for file distribution sites and a good BitTorrent
+client for the casual user.
Features of btpd include:
* Reasonable resource usage.
@@ -16,5 +17,6 @@ Features of btpd include:
* IPv6 support.
* Multitracker support.
-Btpd is very simple and easy to use. The official README (which is located in
-the standard documentation directory) is small and complete, so read it first.
+Btpd is very simple and easy to use. The official README (which
+is located in the standard documentation directory) is small and
+complete, so read it first.
diff --git a/network/btpd/btpd.SlackBuild b/network/btpd/btpd.SlackBuild
index 0d7c41cdce..e76afda47e 100644
--- a/network/btpd/btpd.SlackBuild
+++ b/network/btpd/btpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for btpd
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=btpd
VERSION=${VERSION:-0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,7 +70,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+# respecting content-disposition may include cgi params in the filename
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
+if [ ! -e $TARBALL ]; then
+ TARBALL="$(/bin/ls $TARBALL\?* | head -1)"
+fi
+tar xvf $TARBALL
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -96,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bwm-ng/bwm-ng.SlackBuild b/network/bwm-ng/bwm-ng.SlackBuild
index 15da628506..f63e93f226 100644
--- a/network/bwm-ng/bwm-ng.SlackBuild
+++ b/network/bwm-ng/bwm-ng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bwm-ng
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bwm-ng
VERSION=${VERSION:-0.6.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/bwm-ng/fix_gcc7_inline.patch b/network/bwm-ng/fix_gcc7_inline.patch
new file mode 100644
index 0000000000..dec44a7d66
--- /dev/null
+++ b/network/bwm-ng/fix_gcc7_inline.patch
@@ -0,0 +1,40 @@
+--- src/bwm-ng.c.orig 2017-06-12 03:15:08.731964116 +0200
++++ src/bwm-ng.c 2017-06-12 03:15:21.492001798 +0200
+@@ -26,7 +26,7 @@
+
+ /* handle interrupt signal */
+ void sigint(int sig) FUNCATTR_NORETURN;
+-inline void init(void);
++static inline void init(void);
+
+ /* clear stuff and exit */
+ #ifdef __STDC__
+@@ -98,7 +98,7 @@
+ deinit(0, NULL);
+ }
+
+-inline void init(void) {
++static inline void init(void) {
+ if_count=0;
+ delay=500;
+ #if EXTENDED_STATS
+--- src/options.c.orig 2017-06-12 03:11:33.659353656 +0200
++++ src/options.c 2017-06-12 03:14:36.535870677 +0200
+@@ -34,7 +34,7 @@
+ #if EXTENDED_STATS
+ inline int str2output_type(char *optarg);
+ #endif
+-inline int str2out_method(char *optarg);
++static inline int str2out_method(char *optarg);
+ inline int str2in_method(char *optarg);
+
+ #ifdef CONFIG_FILE
+@@ -87,7 +87,7 @@
+ }
+ #endif
+
+-inline int str2out_method(char *optarg) {
++static inline int str2out_method(char *optarg) {
+ if (optarg) {
+ if (!strcasecmp(optarg,"plain")) return PLAIN_OUT;
+ #ifdef HAVE_CURSES
diff --git a/network/c-toxcore/README b/network/c-toxcore/README
index aef1928e98..ba384d1ecc 100644
--- a/network/c-toxcore/README
+++ b/network/c-toxcore/README
@@ -1,16 +1,20 @@
-Tox is a free (as in liberty and price) peer to peer, distributed, multimedia
-messenger. Tox can provide a superior instant messaging experience than current
-market offerings by using existing technologies such as dispersed networking
-and strong cryptography. Files can be shared as fast as you and your partner's
-Internet connection allows, audio calls are instantaneous, and there are no
-arbitrary limits to how many people you can have in a group conversation.
+Tox is a free (as in liberty and price) peer to peer, distributed,
+multimedia messenger. Tox can provide a superior instant
+messaging experience than current market offerings by using
+existing technologies such as dispersed networking and strong
+cryptography. Files can be shared as fast as you and your partner's
+Internet connection allows, audio calls are instantaneous, and there
+are no arbitrary limits to how many people you can have in a group
+conversation.
-This is a fork of the original irungentoo/toxcore. Toxcore developer has been
-unable to find time to work on it and a non-hostile fork was created.
+This is a fork of the original irungentoo/toxcore. Toxcore developer
+has been unable to find time to work on it and a non-hostile fork was
+created.
Additional libconfig dependency is needed for tox-bootstrapd daemon,
together with:
DAEMON=yes ./c-toxcore.SlackBuild
-NOTE: Please remove the original toxcore package before installing c-toxcore.
+NOTE: Please remove the original toxcore package before installing
+c-toxcore.
diff --git a/network/c-toxcore/c-toxcore.SlackBuild b/network/c-toxcore/c-toxcore.SlackBuild
index 4a4e742069..6648543da4 100644
--- a/network/c-toxcore/c-toxcore.SlackBuild
+++ b/network/c-toxcore/c-toxcore.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for c-toxcore
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=c-toxcore
VERSION=${VERSION:-0.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DAEMON=${DAEMON:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/c-toxcore/c-toxcore.info b/network/c-toxcore/c-toxcore.info
index 6344310375..5e87461570 100644
--- a/network/c-toxcore/c-toxcore.info
+++ b/network/c-toxcore/c-toxcore.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/TokTok/c-toxcore/archive/v0.2.12/c-toxcore-0.2.12.t
MD5SUM="16033d63c6520cd023acddaabe84fb95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README% libsodium opus"
+REQUIRES="%README%"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/cacti-spine/cacti-spine.SlackBuild b/network/cacti-spine/cacti-spine.SlackBuild
index d3553a84e2..69c48dc7bc 100644
--- a/network/cacti-spine/cacti-spine.SlackBuild
+++ b/network/cacti-spine/cacti-spine.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cacti-spine
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cacti-spine
VERSION=${VERSION:-1.1.38}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -97,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cacti/README b/network/cacti/README
index 53ff5b7059..6465cf2545 100644
--- a/network/cacti/README
+++ b/network/cacti/README
@@ -1,5 +1,5 @@
-Cacti is a complete network graphing solution designed to
-harness the power of RRDTool's data storage and graphing funcionality.
+Cacti is a complete network graphing solution designed to harness the
+power of RRDTool's data storage and graphing funcionality.
Cacti provides a fast poller, advanced graph templating, multiple
data acquisition methods, and user-management features out of the box.
@@ -18,6 +18,6 @@ Change these at build time if preferred:
PHPUSER=youruser PHPGROUP=yourgroup \
./cacti.SlackBuild
-httpd, php, and mariadb (as included in Slackware) must also be configured
-properly and running. Check the included documentation to setup your
-MariaDB database and users. See also README.SBo.
+httpd, php, and mariadb (as included in Slackware) must also be
+configured properly and running. Check the included documentation to
+setup your MariaDB database and users. See also README.SBo.
diff --git a/network/cacti/cacti.SlackBuild b/network/cacti/cacti.SlackBuild
index 4bea90fd4c..ad194b09c5 100644
--- a/network/cacti/cacti.SlackBuild
+++ b/network/cacti/cacti.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cacti:
@@ -23,17 +23,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cacti
VERSION=${VERSION:-1.1.38}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCROOT=${DOCROOT:-/var/www/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cacti/cacti.info b/network/cacti/cacti.info
index 852dfa9c1e..bdfc98b130 100644
--- a/network/cacti/cacti.info
+++ b/network/cacti/cacti.info
@@ -2,7 +2,7 @@ PRGNAM="cacti"
VERSION="1.1.38"
HOMEPAGE="https://www.cacti.net/"
DOWNLOAD="https://www.cacti.net/downloads/cacti-1.1.38.tar.gz"
-MD5SUM="a1ffe414280ec6518de7f0f16a5960c5"
+MD5SUM="9bf4b63fd661e1cb91ba13e538f38288"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rrdtool"
diff --git a/network/cadaver/README b/network/cadaver/README
index 58cde7036b..f59e82f764 100644
--- a/network/cadaver/README
+++ b/network/cadaver/README
@@ -1,3 +1,3 @@
-Cadaver is a command-line WebDAV client for Unix. It supports file upload,
-download, on-screen display, namespace operations (move/copy), collection
-creation and deletion, and locking operations.
+Cadaver is a command-line WebDAV client for Unix. It supports file
+upload, download, on-screen display, namespace operations (move/copy),
+collection creation and deletion, and locking operations.
diff --git a/network/cadaver/cadaver.SlackBuild b/network/cadaver/cadaver.SlackBuild
index a6323eac30..46260f6cae 100644
--- a/network/cadaver/cadaver.SlackBuild
+++ b/network/cadaver/cadaver.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cadaver
# Jean-Yves Didier revision date 2008/05/29
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cadaver
VERSION=${VERSION:-0.23.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,5 +95,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/canto/canto.SlackBuild b/network/canto/canto.SlackBuild
index d7c87b6243..99709176e3 100644
--- a/network/canto/canto.SlackBuild
+++ b/network/canto/canto.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for canto
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=canto
VERSION=${VERSION:-0.7.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/canto/canto.info b/network/canto/canto.info
index 4c554ab0bb..0e772165a0 100644
--- a/network/canto/canto.info
+++ b/network/canto/canto.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://codezen.org/static/canto-0.7.10.tar.gz"
MD5SUM="541d1770496866a5d513305e118b2ab5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-chardet"
+REQUIRES=""
MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
diff --git a/network/castor/README b/network/castor/README
new file mode 100644
index 0000000000..011e8c84f1
--- /dev/null
+++ b/network/castor/README
@@ -0,0 +1,6 @@
+Castor is a graphical client for the Gemini, Gopher
+and Finger protocols.
+It's written in Rust and uses GTK.
+
+Home page: https://git.sr.ht/~julienxx/castor
+
diff --git a/network/castor/castor.SlackBuild b/network/castor/castor.SlackBuild
new file mode 100644
index 0000000000..204b8b80df
--- /dev/null
+++ b/network/castor/castor.SlackBuild
@@ -0,0 +1,172 @@
+#!/bin/bash
+
+# Slackware build script for castor
+
+# Copyright 2022 Julien Blanchard, Bordeaux France
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=castor
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ CARGOTARGET="--target i586-unknown-linux-gnu"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ CARGOTARGET="--target i686-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ CARGOTARGET="--target x86_64-unknown-linux-gnu"
+else
+ SLKCFLAGS="-O2"
+ CARGOTARGET=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# build offline
+# configuration tells cargo to use the configured directory
+# for dependencies instead of downloading from crates.io
+mkdir .cargo
+cat << EOF >> .cargo/config
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+
+[source.vendored-sources]
+directory = '$(pwd)/vendor'
+EOF
+
+# deps and versions come from Cargo.lock
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
+
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ echo "HERE $ver $dep"
+
+ tar xvf $CWD/$dep-$ver.crate
+
+ touch $dep-$ver/.cargo-ok
+
+ # generate checksum
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "'
+
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
+
+ printf "}\n"
+ } > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --release $CARGOTARGET
+
+mkdir -p $PKG/usr/bin/
+
+find target -name $PRGNAM -exec install -m 755 {} $PKG/usr/bin/$PRGNAM \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/usr/share/applications
+install -m 644 data/Castor.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/share/icons/hicolor/{scalable,16x16,32x32,64x64,128x128}/apps
+install -m 644 data/org.typed-hole.castor.svg $PKG/usr/share/icons/hicolor/scalable/apps/org.typed-hole.castor.svg
+install -m 644 data/org.typed-hole.castor-16.png $PKG/usr/share/icons/hicolor/16x16/apps/org.typed-hole.castor.png
+install -m 644 data/org.typed-hole.castor-32.png $PKG/usr/share/icons/hicolor/32x32/apps/org.typed-hole.castor.png
+install -m 644 data/org.typed-hole.castor-64.png $PKG/usr/share/icons/hicolor/64x64/apps/org.typed-hole.castor.png
+install -m 644 data/org.typed-hole.castor-128.png $PKG/usr/share/icons/hicolor/128x128/apps/org.typed-hole.castor.png
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/castor/castor.info b/network/castor/castor.info
new file mode 100644
index 0000000000..c3a4b08e83
--- /dev/null
+++ b/network/castor/castor.info
@@ -0,0 +1,226 @@
+PRGNAM="castor"
+VERSION="0.9.0"
+HOMEPAGE="https://git.sr.ht/~julienxx/castor"
+DOWNLOAD="https://git.sr.ht/~julienxx/castor/archive/0.9.0.tar.gz \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://static.crates.io/crates/ansi-parser/ansi-parser-0.6.5.crate \
+ https://static.crates.io/crates/atk/atk-0.8.0.crate \
+ https://static.crates.io/crates/atk-sys/atk-sys-0.9.1.crate \
+ https://static.crates.io/crates/autocfg/autocfg-0.1.8.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/cairo-rs/cairo-rs-0.8.1.crate \
+ https://static.crates.io/crates/cairo-sys-rs/cairo-sys-rs-0.9.2.crate \
+ https://static.crates.io/crates/cc/cc-1.0.73.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/cloudabi/cloudabi-0.0.3.crate \
+ https://static.crates.io/crates/core-foundation/core-foundation-0.7.0.crate \
+ https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.7.0.crate \
+ https://static.crates.io/crates/dirs/dirs-3.0.2.crate \
+ https://static.crates.io/crates/dirs-sys/dirs-sys-0.3.7.crate \
+ https://static.crates.io/crates/foreign-types/foreign-types-0.3.2.crate \
+ https://static.crates.io/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
+ https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.0.1.crate \
+ https://static.crates.io/crates/fuchsia-cprng/fuchsia-cprng-0.1.1.crate \
+ https://static.crates.io/crates/futures-channel/futures-channel-0.3.21.crate \
+ https://static.crates.io/crates/futures-core/futures-core-0.3.21.crate \
+ https://static.crates.io/crates/futures-executor/futures-executor-0.3.21.crate \
+ https://static.crates.io/crates/futures-io/futures-io-0.3.21.crate \
+ https://static.crates.io/crates/futures-macro/futures-macro-0.3.21.crate \
+ https://static.crates.io/crates/futures-task/futures-task-0.3.21.crate \
+ https://static.crates.io/crates/futures-util/futures-util-0.3.21.crate \
+ https://static.crates.io/crates/gdk/gdk-0.12.1.crate \
+ https://static.crates.io/crates/gdk-pixbuf/gdk-pixbuf-0.8.0.crate \
+ https://static.crates.io/crates/gdk-pixbuf-sys/gdk-pixbuf-sys-0.9.1.crate \
+ https://static.crates.io/crates/gdk-sys/gdk-sys-0.9.1.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.6.crate \
+ https://static.crates.io/crates/gio/gio-0.8.1.crate \
+ https://static.crates.io/crates/gio-sys/gio-sys-0.9.1.crate \
+ https://static.crates.io/crates/glib/glib-0.9.3.crate \
+ https://static.crates.io/crates/glib-sys/glib-sys-0.9.1.crate \
+ https://static.crates.io/crates/gobject-sys/gobject-sys-0.9.1.crate \
+ https://static.crates.io/crates/gtk/gtk-0.8.1.crate \
+ https://static.crates.io/crates/gtk-sys/gtk-sys-0.9.2.crate \
+ https://static.crates.io/crates/idna/idna-0.2.3.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.125.crate \
+ https://static.crates.io/crates/linkify/linkify-0.7.0.crate \
+ https://static.crates.io/crates/log/log-0.4.17.crate \
+ https://static.crates.io/crates/matches/matches-0.1.9.crate \
+ https://static.crates.io/crates/memchr/memchr-2.5.0.crate \
+ https://static.crates.io/crates/native-tls/native-tls-0.2.4.crate \
+ https://static.crates.io/crates/nom/nom-4.2.3.crate \
+ https://static.crates.io/crates/once_cell/once_cell-1.10.0.crate \
+ https://static.crates.io/crates/open/open-2.0.3.crate \
+ https://static.crates.io/crates/openssl/openssl-0.10.40.crate \
+ https://static.crates.io/crates/openssl-macros/openssl-macros-0.1.0.crate \
+ https://static.crates.io/crates/openssl-probe/openssl-probe-0.1.5.crate \
+ https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.73.crate \
+ https://static.crates.io/crates/pango/pango-0.8.0.crate \
+ https://static.crates.io/crates/pango-sys/pango-sys-0.9.1.crate \
+ https://static.crates.io/crates/pathdiff/pathdiff-0.2.1.crate \
+ https://static.crates.io/crates/percent-encoding/percent-encoding-2.1.0.crate \
+ https://static.crates.io/crates/pin-project-lite/pin-project-lite-0.2.9.crate \
+ https://static.crates.io/crates/pin-utils/pin-utils-0.1.0.crate \
+ https://static.crates.io/crates/pkg-config/pkg-config-0.3.25.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.38.crate \
+ https://static.crates.io/crates/quote/quote-1.0.18.crate \
+ https://static.crates.io/crates/rand/rand-0.6.5.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.1.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.4.2.crate \
+ https://static.crates.io/crates/rand_hc/rand_hc-0.1.0.crate \
+ https://static.crates.io/crates/rand_isaac/rand_isaac-0.1.1.crate \
+ https://static.crates.io/crates/rand_jitter/rand_jitter-0.1.4.crate \
+ https://static.crates.io/crates/rand_os/rand_os-0.1.3.crate \
+ https://static.crates.io/crates/rand_pcg/rand_pcg-0.1.2.crate \
+ https://static.crates.io/crates/rand_xorshift/rand_xorshift-0.1.1.crate \
+ https://static.crates.io/crates/rdrand/rdrand-0.4.0.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.1.57.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.2.13.crate \
+ https://static.crates.io/crates/redox_users/redox_users-0.4.3.crate \
+ https://static.crates.io/crates/regex/regex-1.5.5.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.25.crate \
+ https://static.crates.io/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://static.crates.io/crates/schannel/schannel-0.1.19.crate \
+ https://static.crates.io/crates/security-framework/security-framework-0.4.4.crate \
+ https://static.crates.io/crates/security-framework-sys/security-framework-sys-0.4.3.crate \
+ https://static.crates.io/crates/serde/serde-1.0.137.crate \
+ https://static.crates.io/crates/serde_derive/serde_derive-1.0.137.crate \
+ https://static.crates.io/crates/slab/slab-0.4.6.crate \
+ https://static.crates.io/crates/smawk/smawk-0.3.1.crate \
+ https://static.crates.io/crates/syn/syn-1.0.94.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.0.8.crate \
+ https://static.crates.io/crates/textwrap/textwrap-0.14.2.crate \
+ https://static.crates.io/crates/thiserror/thiserror-1.0.31.crate \
+ https://static.crates.io/crates/thiserror-impl/thiserror-impl-1.0.31.crate \
+ https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \
+ https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate \
+ https://static.crates.io/crates/toml/toml-0.5.9.crate \
+ https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.8.crate \
+ https://static.crates.io/crates/unicode-linebreak/unicode-linebreak-0.1.2.crate \
+ https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.19.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.9.crate \
+ https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.3.crate \
+ https://static.crates.io/crates/url/url-2.2.2.crate \
+ https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \
+ https://static.crates.io/crates/version_check/version_check-0.1.5.crate \
+ https://static.crates.io/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate"
+MD5SUM="296a3a901fea3d632661878a395758fa \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ cbd60ca8e9c691e1d230c34b439aaf21 \
+ c37404d7263430048672b0965d92ca78 \
+ 2cbf2ad274fffd9aa12091af85224804 \
+ 9563ddbf0d01fb162d94707f57ad9f40 \
+ 05d77ef52e90ad161fdd41b252420467 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 2ddf45ac1a99520e32146df4429b1cdc \
+ b0060b4604f0eb3fb647ccd26a42af19 \
+ 8e3a4d0980acef2c4e74485a45de29a9 \
+ 882dbbc613a93f64c3709b0a2bd0d6dc \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 1c8b50f8528dd37df7d984e0e4b61bd5 \
+ f0682cfdc40af509c98f46f6350c1ba5 \
+ 9754db1eb3e8b15807f05a3540d2ab39 \
+ 92499f5db37eadb0efa33bcc91248577 \
+ 4c21da37e71a52f26c8c5490f3ec4837 \
+ 78c898fdaa3968e23904bf8538c4a271 \
+ 667e86b8b8d96ab4e9605627ce7dcc9a \
+ 7ee8703970c3fa6a2e37893de742824b \
+ 27260b46db6b9ac40318143d70a80ba3 \
+ 5d404b52af03b999e7fb74fbe16d3bd0 \
+ 8aa040d9c661f68ebb67d5b71813473b \
+ 1e0ad6e5cdab371cabd218748fee9b6d \
+ 74d9ab54981e8f02e7eb683ac0a8a6b9 \
+ 750ca4b374c5cd501a612a841f7362a9 \
+ 1ab2952ce15d2f9cfe279821274133eb \
+ 8071e8e030bee77619611dbb4e508864 \
+ 13e7b2af8086b80fec3451946b05fa97 \
+ 72de423e49713bb29beb1b3831373306 \
+ a5e79b9e58c9fe5894602d4b05a0190e \
+ 27c1c7c71baf887421265d5ece46e667 \
+ 8a9e0a43625da8d29c57e742c4d3d385 \
+ ac87fc897aa5f2607b286424545b7f9f \
+ e27ee7d8c7fb289e4924ef6baf448e15 \
+ 577e4187cd09eb6103661795d25457b7 \
+ 1a5b772bdd792720d2fb65e87b3642f8 \
+ c4a9aaa7d6a67626abd95325076d77fe \
+ 793dbb9602541b1054a2dede3025721c \
+ f06b6f8ad76d8b1c08c5ec9017c1dcb9 \
+ f50aaf5171cbc0327f8d18a4ec7405fb \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ e83dc3dbd3de1f5f2b4b248c521eeaec \
+ 0b69b5f7fcd75744a27cd75847331621 \
+ b31bf94ffe7e0f2ada93afae1076eaeb \
+ 5ac809692422b722eaded90be3c4d9c2 \
+ 94b8bf179385ff071bdc33b58bf047c0 \
+ 98731fbefe42841dce239a8e8064431d \
+ 92bcd45a654d9e24c86f3465c6387c47 \
+ 0a56079b59a262a80e33d13e6604cc4e \
+ c85df6858289ab6e5ea97228856e5ef6 \
+ 1babe6b3077bea6540b8fb5ecaadc255 \
+ 73212ff5e0f8cd8844081a2461393707 \
+ 907244c0d3791f3f981c7cc8e4cad0a3 \
+ e6562b473a131e7df2e99252a63124f8 \
+ 0f5be361f707ebc33bade847d62747c1 \
+ 38bbbe08dc002d60fe11a5751b44c5ae \
+ c40bb551772810d818857841ea389f1e \
+ f490982aceabdbd515348f63e638a782 \
+ ce6dde2ea2691fdd97632fb8c9b3e042 \
+ 07c75fec267864bcbb800ca7709ceae2 \
+ b478ee84018082806ea8da763f0b3f1f \
+ 7a14e0068ec85774790aa54f05d2d198 \
+ 0fa01f3988219987a04c09dae3933d94 \
+ 793627c8c18012ad77cb3e81fa4c2195 \
+ 3ab5a79607a4d260bf61cd99dc82ab05 \
+ 8cab41822d03dfa674870315308fa392 \
+ 35ddcd36701a1a6711cc3aec85909f41 \
+ 28b1e6d15e1ba8cf3a2e953ce7fcd3de \
+ 74b15f1928431937f14ed91fdc12b542 \
+ 2255d3d9a603e177985602a7df1c5bbc \
+ 5acfdc8656212bce8df1bcc43db34c3d \
+ f9e08a49715c401602243230b28d86f0 \
+ 7826deb76941fc36c2391951bd65ba47 \
+ c8d655d206cbe48b84a22544d6fc6d15 \
+ 3cc3a4bd5861ca93d7c0d19129334703 \
+ 2e69b77050ab91b1d0bb941e843a05cb \
+ 2793ed3e6807d79ff72271baec586531 \
+ 6b5c7401117316735435311bf551515b \
+ 82401c70623ccc1bfc0bcb5c3b0ac8b7 \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ f505a218806e44b2369671089d65e839 \
+ 9e0c7fedb6287e5090bab920da5c1d09 \
+ 1024ac462fe90a1d7882a6911bd70604 \
+ 31553e8c2d0d2f2e7474cc48a03337d8 \
+ 3d3fef13feb53a62c0f434a092f526bf \
+ be6b7845e52831416901caba0b97a360 \
+ 5d5cf081e3f2aad8d9e52deef9e92c18 \
+ 404d707155e84dbffd2bcb02875ebf68 \
+ 85703ae5de861e4eb47f74fafca6a7be \
+ 0b8a5d001f8f677ca2cdab6f63be391d \
+ a8ae09f39c6e68744ca70bf8db61df71 \
+ ac76b35d8c76c7fa25c73b8863d5d055 \
+ 5f0470696baaa4e5953bddbf196998f9 \
+ 7bfcad253aff26bc26c5e3521f3ba891 \
+ b02f8aae39609bfe759838fbe0616c1a \
+ bd0cd532c61dac2087ecd7e0fef0d011 \
+ e6c3402a883b9a35135ca6af2cc46922 \
+ 10291d9a0022076bc0827250816d3476 \
+ a42cc2834b2150027d7b427558a87803 \
+ 763a3a6901bbb11a6998d29867d39b3c \
+ eb721c4d9e5dba8f93e9de0a80036ec3 \
+ e900a384ac7dbb320fe6a7279fbfef89 \
+ f48add3d6234e8b9829fa5364509f425 \
+ a061ad1db3e0d839725b037ff8be84e7 \
+ 0498c4a11448bfc35dc7bb2caa64c753 \
+ db96b50050277bf05a3c68534bbb9586 \
+ 09de9d01e7331ff3da11f58be8bef0df"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Julien Blanchard"
+EMAIL="julien@typed-hole.org"
diff --git a/network/quassel-qt5/doinst.sh b/network/castor/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/network/quassel-qt5/doinst.sh
+++ b/network/castor/doinst.sh
diff --git a/network/castor/slack-desc b/network/castor/slack-desc
new file mode 100644
index 0000000000..660ec98b6b
--- /dev/null
+++ b/network/castor/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+castor: castor (gemini client)
+castor:
+castor: Castor is a graphical client for the Gemini, Gopher
+castor: and Finger protocols.
+castor: It's written in Rust and uses GTK.
+castor:
+castor: Home page: https://git.sr.ht/~julienxx/castor
+castor:
+castor:
+castor:
+castor:
diff --git a/network/catgirl/README b/network/catgirl/README
new file mode 100644
index 0000000000..995db51086
--- /dev/null
+++ b/network/catgirl/README
@@ -0,0 +1,4 @@
+This is an super-light client for TLS-only Internet Relay Chat,
+that provides an curses based interface.
+
+It centred on the use of standard features.
diff --git a/network/catgirl/catgirl.SlackBuild b/network/catgirl/catgirl.SlackBuild
new file mode 100644
index 0000000000..4fe30ec145
--- /dev/null
+++ b/network/catgirl/catgirl.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for catgirl
+
+# Copyright 2023 SlackBuilds.org Project. All rights reserved.
+# Written and currently maintained by naglfar[AT]rpblc.net
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 2023-05-10 11:48:54 +0100 Add -rpath, simplify strip/man. DW.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=catgirl
+VERSION=${VERSION:-2.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# NOTE in case libressl is installed instead of libtls
+export PKG_CONFIG_PATH=/usr/lib${LIBDIRSUFFIX}/libressl/pkgconfig:$PKG_CONFIG_PATH
+export CFLAGS="$SLKCFLAGS -L/usr/lib${LIBDIRSUFFIX}/libressl"
+export LDFLAGS="-Wl,-rpath=/usr/lib${LIBDIRSUFFIX}/libressl"
+
+./configure \
+ --prefix=/usr \
+ --mandir=/usr/man
+
+make
+make install DESTDIR=$PKG
+
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man1/catgirl.1
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.7 \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/catgirl/catgirl.info b/network/catgirl/catgirl.info
new file mode 100644
index 0000000000..fc86eb7694
--- /dev/null
+++ b/network/catgirl/catgirl.info
@@ -0,0 +1,10 @@
+PRGNAM="catgirl"
+VERSION="2.1"
+HOMEPAGE="https://git.causal.agency/catgirl/"
+DOWNLOAD="https://git.causal.agency/catgirl/snapshot/catgirl-2.1.tar.gz"
+MD5SUM="75b381022a7ae9ac1e2fc19329ffcbe7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libtls"
+MAINTAINER="Naglfar"
+EMAIL="naglfar[AT]rpblc.net"
diff --git a/network/catgirl/slack-desc b/network/catgirl/slack-desc
new file mode 100644
index 0000000000..08878931ca
--- /dev/null
+++ b/network/catgirl/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+catgirl: catgirl (terminal IRC client)
+catgirl:
+catgirl: This is an super-light client for TLS-only Internet Relay Chat,
+catgirl: that provides an curses based interface.
+catgirl:
+catgirl: It centred on the use of standard features.
+catgirl:
+catgirl:
+catgirl:
+catgirl: https://git.causal.agency/catgirl/about/
+catgirl:
diff --git a/network/cclive/README b/network/cclive/README
deleted file mode 100644
index aac7ab605c..0000000000
--- a/network/cclive/README
+++ /dev/null
@@ -1,8 +0,0 @@
-cclive is a command line tool for downloading videos from Youtube and
-other similar video websites that require Adobe Flash to view the
-video content. It has low memory footprint compared to other similar
-tools. It is a rewrite ot the clive software in C++, and it is free
-software, licensed under the GPLv3.
-
-If you wish custom settings, e.g. for the output filename, create
-$HOME/.ccliverc (see manpage).
diff --git a/network/cclive/cclive.SlackBuild b/network/cclive/cclive.SlackBuild
deleted file mode 100644
index 393a6d7868..0000000000
--- a/network/cclive/cclive.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cclive
-
-# Written by crocket <crockabiscuit@gmail.com>
-# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03
-
-PRGNAM=cclive
-VERSION=${VERSION:-0.9.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-else
- SLKCFLAGS="-O2"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Add missing library
-sed -i '25,1i#include <iostream>' src/cc/error.h src/cc/options.h
-# Eliminate some warnings
-sed -i '/with.*CXX/ s/", "/ ", " /' src/cc/options.h
-
-CPPFLAGS="-P -std=gnu++11" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do
- ln -s $( readlink $i ).gz $i.gz
- rm $i
-done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/cclive/cclive.info b/network/cclive/cclive.info
deleted file mode 100644
index c0179ebe65..0000000000
--- a/network/cclive/cclive.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="cclive"
-VERSION="0.9.3"
-HOMEPAGE="http://cclive.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/cclive/cclive-0.9.3.tar.xz"
-MD5SUM="c336f97e29327d92ead62765a0ef0b65"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="quvi"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
diff --git a/network/cclive/slack-desc b/network/cclive/slack-desc
deleted file mode 100644
index 95d7dde09b..0000000000
--- a/network/cclive/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-cclive: cclive (flash video downloader)
-cclive:
-cclive: cclive is a command line tool for downloading videos from Youtube and
-cclive: other similar video websites that require Adobe Flash to view the
-cclive: video content. It has low memory footprint compared to other similar
-cclive: tools. It is a rewrite ot the clive software in C++, and it is free
-cclive: software, licensed under the GPLv3.
-cclive:
-cclive: Website : http://cclive.sourceforge.net/
-cclive:
-cclive:
diff --git a/network/ccnet/ccnet.SlackBuild b/network/ccnet/ccnet.SlackBuild
index a357b3a0f4..2c27c4d222 100644
--- a/network/ccnet/ccnet.SlackBuild
+++ b/network/ccnet/ccnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "ccnet".
@@ -24,10 +24,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ccnet
-VERSION=${VERSION:-4.4.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-6.1.8}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-server
-tar xvf $CWD/$PRGNAM-$VERSION-server.tar.gz
-cd $PRGNAM-$VERSION-server
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -93,12 +103,14 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT HACKING LICENCE.txt README.markdown \
+cp -a HACKING LICENSE.txt README.markdown \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ccnet/ccnet.info b/network/ccnet/ccnet.info
index a796b40262..d4d7bce68b 100644
--- a/network/ccnet/ccnet.info
+++ b/network/ccnet/ccnet.info
@@ -1,10 +1,10 @@
PRGNAM="ccnet"
-VERSION="4.4.6"
+VERSION="6.1.8"
HOMEPAGE="http://seafile.com/"
-DOWNLOAD="https://github.com/haiwen/ccnet/archive/v4.4.6-server/ccnet-4.4.6-server.tar.gz"
-MD5SUM="bff067e61d0af043b761027fdd840314"
+DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/4/b/4bab2537f68070d5af226fc80b79c859/ccnet-6.1.8.tar.gz"
+MD5SUM="4bab2537f68070d5af226fc80b79c859"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libsearpc vala libzdb"
+REQUIRES="libsearpc libzdb"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/network/cgterm/cgterm.SlackBuild b/network/cgterm/cgterm.SlackBuild
index e21ffc22b1..9d1a90f950 100644
--- a/network/cgterm/cgterm.SlackBuild
+++ b/network/cgterm/cgterm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "cgterm".
@@ -24,26 +24,36 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cgterm
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cherokee/README b/network/cherokee/README
index 7214e5a3d4..c2428de130 100644
--- a/network/cherokee/README
+++ b/network/cherokee/README
@@ -37,7 +37,7 @@ Notes about using this SlackBuild
to the script.
5) If you want to build Cherokee with debugging options, enable trace
facility by passing TRACE=yes to the script.
-6) The $WWWGROUP group and the $WWWUSER user account are set to cherokee.
+6) The $WWWGROUP group and $WWWUSER user account are set to cherokee.
To run cherokee as a different user/group specify them passing the
options WWWUSER/WWWGROUP to the slackbuild, like
@@ -48,7 +48,7 @@ Notes about using this SlackBuild
groupadd -g 306 cherokee
useradd -u 306 -g cherokee -d /var/www/htdocs-cherokee cherokee
- See http://slackbuilds.org/uid_gid.txt for current reccomendations (if any)
+ See http://slackbuilds.org/uid_gid.txt for current reccomendations.
7) If you want to use it with php, remember to add your user to the
apache group, so that it can use /var/lib/php, like
diff --git a/network/cherokee/cherokee.SlackBuild b/network/cherokee/cherokee.SlackBuild
index ee57d2b98a..207850d16f 100644
--- a/network/cherokee/cherokee.SlackBuild
+++ b/network/cherokee/cherokee.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cherokee
# Written by Pablo Hernan Saro (pablosaro@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cherokee
-VERSION=${VERSION:-20131105_d91c9c1}
+VERSION=${VERSION:-20230111_ce1ca8a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,6 +96,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|\[2\.71|[2.69|" configure.ac m4/{nls,po,progtest}.m4
+
# Apply all the patches in $CWD/patches (thanks Gentoo)
for patch in $CWD/patches/* ; do
patch -p1 < $patch
@@ -107,7 +119,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-mysql=$MYSQL \
--enable-ipv6=$IPV6 \
--enable-admin=$ADMIN \
- --disable-pam \
+ --enable-pam \
--disable-static \
--enable-trace=$TRACE
@@ -130,9 +142,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
install -D -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
mv $PKG/etc/cherokee/cherokee.conf $PKG/etc/cherokee/cherokee.conf.new
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cherokee/cherokee.info b/network/cherokee/cherokee.info
index a3526ecc64..83b3c5d9bd 100644
--- a/network/cherokee/cherokee.info
+++ b/network/cherokee/cherokee.info
@@ -1,8 +1,8 @@
PRGNAM="cherokee"
-VERSION="20131105_d91c9c1"
+VERSION="20230111_ce1ca8a"
HOMEPAGE="http://www.cherokee-project.com"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/cherokee-20131105_d91c9c1.tar.xz"
-MD5SUM="845ed7bdb3b038d277607a47288aaec1"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/cherokee-20230111_ce1ca8a.tar.xz"
+MD5SUM="f78e7cf58fd398a7207e537b98e6d14d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/choqok/README b/network/choqok/README
new file mode 100644
index 0000000000..152e77609f
--- /dev/null
+++ b/network/choqok/README
@@ -0,0 +1,12 @@
+
+ choqok (KDE Micro-Blogging client)
+
+ Choqok is a Free/Open Source micro-blogging client by the KDE
+ community. The name comes from an ancient Persian word, means
+ Sparrow!
+
+ Currently supports Twitter.com, GNU Social (formerly known as
+ StatusNet), Pump.io (formerly known as Identi.ca), Friendica and
+ Open Collaboration Services (used by OpenDesktop.org).
+
+ Homepage: https://github.com/KDE/choqok
diff --git a/network/choqok/choqok.SlackBuild b/network/choqok/choqok.SlackBuild
new file mode 100644
index 0000000000..73f5e8d49a
--- /dev/null
+++ b/network/choqok/choqok.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for choqok
+
+# Copyright 2022 Matthew Miller Salina,Kansas,USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=choqok
+VERSION=${VERSION:-1.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ cmake -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/applications
+
+chmod 0644 $PKG/usr/share/applications/org.kde.choqok.desktop
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -Rv $PKG/usr/share/doc
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/choqok/choqok.info b/network/choqok/choqok.info
new file mode 100644
index 0000000000..7a01041889
--- /dev/null
+++ b/network/choqok/choqok.info
@@ -0,0 +1,10 @@
+PRGNAM="choqok"
+VERSION="1.7.0"
+HOMEPAGE="https://github.com/KDE/choqok"
+DOWNLOAD="https://github.com/KDE/choqok/archive/refs/tags/v1.7.0/choqok-1.7.0.tar.gz"
+MD5SUM="429ff1f3f8c53ffae78ef82889ff21f5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matthew Miller"
+EMAIL="mattallmill@gmail.com"
diff --git a/network/qutebrowser-tox/doinst.sh b/network/choqok/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/network/qutebrowser-tox/doinst.sh
+++ b/network/choqok/doinst.sh
diff --git a/network/choqok/slack-desc b/network/choqok/slack-desc
new file mode 100644
index 0000000000..1bc990a324
--- /dev/null
+++ b/network/choqok/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+choqok: choqok (KDE Micro-Blogging client)
+choqok:
+choqok: Choqok is a Free/Open Source micro-blogging client by the KDE
+choqok: community. The name comes from an ancient Persian word, means
+choqok: Sparrow!
+choqok:
+choqok: Currently supports Twitter.com, GNU Social (formerly known as
+choqok: StatusNet), Pump.io (formerly known as Identi.ca), Friendica and
+choqok: Open Collaboration Services (used by OpenDesktop.org).
+choqok:
+choqok: Homepage: https://github.com/KDE/choqok
diff --git a/network/chrony/chrony.SlackBuild b/network/chrony/chrony.SlackBuild
index 9c31e913e2..ca8d8a96c3 100644
--- a/network/chrony/chrony.SlackBuild
+++ b/network/chrony/chrony.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for chrony
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=chrony
-VERSION=${VERSION:-3.5}
+VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
NTP_USER=${NTP_USER:-chrony}
NTP_GROUP=${NTP_GROUP:-chrony}
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/chrony/chrony.info b/network/chrony/chrony.info
index fe031f7529..ad24728d56 100644
--- a/network/chrony/chrony.info
+++ b/network/chrony/chrony.info
@@ -1,8 +1,8 @@
PRGNAM="chrony"
-VERSION="3.5"
+VERSION="4.2"
HOMEPAGE="https://chrony.tuxfamily.org/"
-DOWNLOAD="https://download.tuxfamily.org/chrony/chrony-3.5.tar.gz"
-MD5SUM="5f66338bc940a9b51eede8f391e7bed3"
+DOWNLOAD="https://download.tuxfamily.org/chrony/chrony-4.2.tar.gz"
+MD5SUM="07282f8e76a4399d6c17009bb6345614"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/cicb/README b/network/cicb/README
index 26ba466cfe..92ce0a1155 100644
--- a/network/cicb/README
+++ b/network/cicb/README
@@ -1,8 +1,8 @@
cicb (ICB client)
-ICB (International CB) is a teleconferencing system that allows Internet
-users to participate in realtime online discussions (similar to IRC). This
-package builds a client program (called, strangely enough, "icb") that
-is used to access ICB.
+ICB (International CB) is a teleconferencing system that allows
+Internet users to participate in realtime online discussions (similar
+to IRC). This package builds a client program (called, strangely
+enough, "icb") that is used to access ICB.
icb has extensive built-in help, accessed by the /help command.
diff --git a/network/cicb/cicb.SlackBuild b/network/cicb/cicb.SlackBuild
index 30349a9a5f..92247a89ab 100644
--- a/network/cicb/cicb.SlackBuild
+++ b/network/cicb/cicb.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cicb
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -22,10 +22,13 @@
# git2targz.sh script, it should be smart enough to pull the latest
# code and create a tarball with the correct VERSION.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cicb
-VERSION=${VERSION:-5.2.0b1+git20170501}
+VERSION=${VERSION:-5.1.2b1+git20191209}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,11 +70,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Need this for recent tcl, to allow deprecated features. Someday this will
# probably stop working and upstream will have to fix it.
@@ -81,8 +85,7 @@ SLKCFLAGS="$SLKCFLAGS -DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT"
CPPFLAGS="-P" \
LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--with-ssl \
--with-ssl-lib=/usr/lib$LIBDIRSUFFIX \
@@ -122,4 +125,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cicb/cicb.info b/network/cicb/cicb.info
index 53edd89248..0dee4331b0 100644
--- a/network/cicb/cicb.info
+++ b/network/cicb/cicb.info
@@ -1,10 +1,10 @@
PRGNAM="cicb"
-VERSION="5.2.0b1+git20170501"
+VERSION="5.1.2b1+git20191209"
HOMEPAGE="https://github.com/hoche/cicb/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/cicb-5.2.0b1+git20170501.tar.xz"
-MD5SUM="ff3afbdad3f6744a154965b26c75db2e"
+DOWNLOAD="https://slackware.uk/~urchlay/src/cicb-5.1.2b1+git20191209.tar.xz"
+MD5SUM="2c3f5b6da0583f0dc2e6b9e5b9c48495"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/cinny-desktop/README b/network/cinny-desktop/README
new file mode 100644
index 0000000000..6ee8d15e18
--- /dev/null
+++ b/network/cinny-desktop/README
@@ -0,0 +1,11 @@
+Cinny Desktop - yet another Matrix client.
+
+Cinny is a matrix client focusing primarily on simple, elegant and
+secure interface. The desktop app is made with Tauri.
+
+This SlackBuild is a re-packaged official deb archive.
+
+Cinny is also able to be used directly from the web with your
+electron supporting browser of choice.
+
+There is no 32bit application available.
diff --git a/network/cinny-desktop/cinny-desktop.SlackBuild b/network/cinny-desktop/cinny-desktop.SlackBuild
new file mode 100644
index 0000000000..10e830f7a0
--- /dev/null
+++ b/network/cinny-desktop/cinny-desktop.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for cinny-desktop
+#
+# This is a slightly gimped script for 15.0 based upon my script for -current
+# which takes native Slackware-built deb packages and converts them for
+# x86_64 and aarch64 available here:
+# https://github.com/mac-a-r0ni/lngnbuilds/tree/main/network/cinny-desktop
+#
+# Copyright 2023 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cinny-desktop
+SRCNAM=Cinny_desktop
+VERSION=${VERSION:-3.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ LIBDIRSUFFIX=""
+ echo "This package is currently only available for 64bit."
+ exit 1
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+
+ar p $CWD/$SRCNAM-$ARCH.deb data.tar.gz | tar xzv
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cinny-desktop/cinny-desktop.info b/network/cinny-desktop/cinny-desktop.info
new file mode 100644
index 0000000000..77f20374d6
--- /dev/null
+++ b/network/cinny-desktop/cinny-desktop.info
@@ -0,0 +1,10 @@
+PRGNAM="cinny-desktop"
+VERSION="3.2.1"
+HOMEPAGE="https://cinny.in/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/cinnyapp/cinny-desktop/releases/download/v3.2.1/Cinny_desktop-x86_64.deb"
+MD5SUM_x86_64="f62b34fdca91f2ea6a66395aa13e780b"
+REQUIRES="libayatana-appindicator webkit2gtk"
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/network/cinny-desktop/doinst.sh b/network/cinny-desktop/doinst.sh
new file mode 100644
index 0000000000..fd1bca3b49
--- /dev/null
+++ b/network/cinny-desktop/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/cinny-desktop/slack-desc b/network/cinny-desktop/slack-desc
new file mode 100644
index 0000000000..70f8319b4d
--- /dev/null
+++ b/network/cinny-desktop/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+cinny-desktop: cinny-desktop (yet another matrix client for desktop)
+cinny-desktop:
+cinny-desktop: A matrix client with simple, elegant and secure interface.
+cinny-desktop:
+cinny-desktop: Homepage: https://github.com/cinnyapp/cinny-desktop
+cinny-desktop:
+cinny-desktop:
+cinny-desktop:
+cinny-desktop:
+cinny-desktop:
+cinny-desktop:
diff --git a/network/ckermit/ckermit.SlackBuild b/network/ckermit/ckermit.SlackBuild
index d62609d874..af5fa2f661 100644
--- a/network/ckermit/ckermit.SlackBuild
+++ b/network/ckermit/ckermit.SlackBuild
@@ -1,29 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ckermit
# Written by Andrew Rowland (darowland@ieee.org)
+# 20220405 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix permissions on man page and documentation (so they're not
+# only readable by root!)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ckermit
VERSION=${VERSION:-9.0.304.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -55,9 +66,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Force the makefile to accept our custom cflags
patch -p1 < $CWD/makefile-use-custom-cflags.diff
@@ -70,16 +81,15 @@ strip --strip-unneeded $PKG/usr/bin/kermit
ln -sf kermit $PKG/usr/bin/kermit-sshsub
mkdir -p $PKG/usr/man/man1
-cp ckuker.nr $PKG/usr/man/man1/kermit.1
-gzip -9 $PKG/usr/man/man1/kermit.1
+gzip -9c < ckuker.nr > $PKG/usr/man/man1/kermit.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
shopt -s nullglob
-cp -a COPYING.TXT *.ini *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 COPYING.TXT *.ini *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/ckermit.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/ckermit.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/clamav-unofficial-sigs/README b/network/clamav-unofficial-sigs/README
index 1d1c64fbc0..948510c4b9 100644
--- a/network/clamav-unofficial-sigs/README
+++ b/network/clamav-unofficial-sigs/README
@@ -1,20 +1,22 @@
-clamav-unofficial-sigs provides a shell script to download, verify (GPG) and
-integrate third-party clamav signatures into the clamav database. These
-third-party signatures provide valuable spam and malware detection
-capabilities and make an excellent enhancement to native clamav signatures.
+clamav-unofficial-sigs provides a shell script to download, verify
+(GPG) and integrate third-party clamav signatures into the clamav
+database. These third-party signatures provide valuable spam and
+malware detection capabilities and make an excellent enhancement to
+native clamav signatures.
-It is especially useful when running a mailserver with clamav. The best way to
-update signatures is to set up a cron job.
+It is especially useful when running a mailserver with clamav.
+The best way to update signatures is to set up a cron job.
-These sources are fully tweakable via the config file. Also refer to the
-documentation included with the package which provides configuration and
-setup infomation.
+These sources are fully tweakable via the config file. Also refer
+to the documentation included with the package which provides
+configuration and setup infomation.
-The original script was from Bill Landry but it has not been updated for a
-while now and so this new script from ExtremeSHOK is now the recommended
-way to update third-party signature. More information is here:
+The original script was from Bill Landry but it has not been updated
+for a while now and so this new script from ExtremeSHOK is now the
+recommended way to update third-party signature. More information
+is here:
http://sanesecurity.com/usage/linux-scripts/
-A sample cron job script is included in the package docs -- but it needs
-modifying to work with Slackware.
+A sample cron job script is included in the package docs -- but it
+needs modifying to work with Slackware.
diff --git a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
index 560a5dcec6..9de7a6e4ac 100644
--- a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
+++ b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for clamav-unofficial-sigs
# Home Page: https://github.com/extremeshok/clamav-unofficial-sigs
@@ -25,13 +25,23 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="clamav-unofficial-sigs"
VERSION=${VERSION:-5.6.2}
ARCH="noarch" # hardcode ARCH
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +90,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.info b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.info
index 8d51786e15..4b845c518b 100644
--- a/network/clamav-unofficial-sigs/clamav-unofficial-sigs.info
+++ b/network/clamav-unofficial-sigs/clamav-unofficial-sigs.info
@@ -1,7 +1,7 @@
PRGNAM="clamav-unofficial-sigs"
VERSION="5.6.2"
HOMEPAGE="https://github.com/extremeshok/clamav-unofficial-sigs"
-DOWNLOAD="https://github.com/extremeshok/clamav-unofficial-sigs/archive/5.6.2.tar.gz"
+DOWNLOAD="https://github.com/extremeshok/clamav-unofficial-sigs/archive/5.6.2/clamav-unofficial-sigs-5.6.2.tar.gz"
MD5SUM="f3226e88cc84de5803c84583cf72e622"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/claws-mail/README b/network/claws-mail/README
index da18943f39..3f7504d4b3 100644
--- a/network/claws-mail/README
+++ b/network/claws-mail/README
@@ -1,4 +1,5 @@
-Claws Mail is an email client (and news reader), based on GTK+ featuring:
+Claws Mail is an email client (and news reader), based on GTK+
+featuring:
* Quick response
* Graceful, and sophisticated interface
@@ -10,12 +11,13 @@ The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
-The messages are managed in the standard MH format, which features fast
-access and data security. You'll be able to import your emails from almost
-any other email client, and export them just as easily.
+The messages are managed in the standard MH format, which features
+fast access and data security. You'll be able to import your emails
+from almost any other email client, and export them just as easily.
+
+The following plugins will not be built unless these optional
+dependencies are found:
-The following plugins will not be built unless these optional dependencies
-are found:
The clamd plugin requires clamav.
The fancy plugin requires webkitgtk.
The gdata plugin requires gdata.
diff --git a/network/claws-mail/claws-mail.SlackBuild b/network/claws-mail/claws-mail.SlackBuild
index 9ecf035bd9..135dbb2a6f 100644
--- a/network/claws-mail/claws-mail.SlackBuild
+++ b/network/claws-mail/claws-mail.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for claws-mail
#
-# Copyright 2009-2019 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=claws-mail
-VERSION=${VERSION:-3.17.3}
+VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/claws-mail/claws-mail.info b/network/claws-mail/claws-mail.info
index 1439584ceb..5288da0251 100644
--- a/network/claws-mail/claws-mail.info
+++ b/network/claws-mail/claws-mail.info
@@ -1,8 +1,8 @@
PRGNAM="claws-mail"
-VERSION="3.17.3"
+VERSION="4.1.1"
HOMEPAGE="https://www.claws-mail.org/"
-DOWNLOAD="https://www.claws-mail.org/releases/claws-mail-3.17.3.tar.xz"
-MD5SUM="4dba4238f91bc2f4e146379842a17ad3"
+DOWNLOAD="https://www.claws-mail.org/releases/claws-mail-4.1.1.tar.xz"
+MD5SUM="bde1fdfcc082aa629d8704cba56a8cf6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libetpan"
diff --git a/network/claws-mail/slack-desc b/network/claws-mail/slack-desc
index 831e0ebed9..6836517d23 100644
--- a/network/claws-mail/slack-desc
+++ b/network/claws-mail/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
claws-mail: claws-mail (a user-friendly, lightweight, and fast email client)
claws-mail:
-claws-mail: Claws Mail is an email client (and news reader) based on GTK+2
+claws-mail: Claws Mail is an email client (and news reader) based on GTK+3
claws-mail: featuring quick response, graceful and sophisticated interface,
claws-mail: easy configuration, intuitive operation, abundant features, and
claws-mail: extensibility.
diff --git a/network/clipgrab/README b/network/clipgrab/README
index 1befa5f516..ba4271c070 100644
--- a/network/clipgrab/README
+++ b/network/clipgrab/README
@@ -10,8 +10,8 @@ more in: http://clipgrab.org/faqs/supported-sites
It converts downloaded videos to MPEG4, MP3 or other formats
in just one easy step.
-NOTE: This suggests FFMPEG with libmp3lame support enabled for
-video conversion to MP3 format.
+Now, Clipgrab downloading youtube-dlp as additional component
+to downloading videos.
-* For downloading 1080p videos from Youtube you need a newer
-version of ffmpeg than currently available on SBo.
+NOTE: for downloading 1080p videos from YouTube a most updated
+version of ffmpeg is required.
diff --git a/network/clipgrab/clipgrab.SlackBuild b/network/clipgrab/clipgrab.SlackBuild
index 3d54fe488f..1409e0a7cf 100644
--- a/network/clipgrab/clipgrab.SlackBuild
+++ b/network/clipgrab/clipgrab.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for clipgrab.
#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220405 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install SlackBuild in doc dir correctly.
+# - do not install COPYING README docs executable.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clipgrab
-VERSION=${VERSION:-3.8.10}
+VERSION=${VERSION:-3.9.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,27 +76,24 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
qmake-qt5 clipgrab.pro
make DESTDIR=$PKG
install -Dm644 $CWD/clipgrab.desktop $PKG/usr/share/applications/clipgrab.desktop
install -Dm644 icon.png $PKG/usr/share/pixmaps/clipgrab.png
-install -Dm755 clipgrab $PKG/usr/bin/clipgrab
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+install -s -Dm755 clipgrab $PKG/usr/bin/clipgrab
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp COPYING license.odt README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+install -m0644 COPYING license.odt README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/clipgrab/clipgrab.info b/network/clipgrab/clipgrab.info
index 072bf52c8a..e98728f76c 100644
--- a/network/clipgrab/clipgrab.info
+++ b/network/clipgrab/clipgrab.info
@@ -1,10 +1,10 @@
PRGNAM="clipgrab"
-VERSION="3.8.10"
+VERSION="3.9.10"
HOMEPAGE="http://clipgrab.org/"
-DOWNLOAD="https://download.clipgrab.org/clipgrab-3.8.10.tar.gz"
-MD5SUM="9b992e77d14fa22b079d3f64f4cf3451"
+DOWNLOAD="https://download.clipgrab.org/clipgrab-3.9.10.tar.gz"
+MD5SUM="d3653ecc3af9128bc631fe9ce794fa18"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pcre2 opus qt5 ffmpeg"
+REQUIRES="yt-dlp"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"
diff --git a/network/clive/clive.SlackBuild b/network/clive/clive.SlackBuild
index 2e2e786ee7..65f75559cd 100644
--- a/network/clive/clive.SlackBuild
+++ b/network/clive/clive.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for clive
@@ -23,10 +23,13 @@
# modified by Javier Rojas <jerojasro@devnull.li> to fit clive
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clive
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/clusterit/README b/network/clusterit/README
new file mode 100644
index 0000000000..1756996c34
--- /dev/null
+++ b/network/clusterit/README
@@ -0,0 +1,3 @@
+The most efficient and simple distributed shell around.
+
+ClusterIt provides the dsh and pcp command line tools.
diff --git a/network/clusterit/clusterit.SlackBuild b/network/clusterit/clusterit.SlackBuild
new file mode 100644
index 0000000000..a968345983
--- /dev/null
+++ b/network/clusterit/clusterit.SlackBuild
@@ -0,0 +1,91 @@
+#!/bin/bash
+
+# Slackware build script for ClusterIt
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=clusterit
+VERSION=${VERSION:-2.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES README README-DVT TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/clusterit/clusterit.info b/network/clusterit/clusterit.info
new file mode 100644
index 0000000000..4e06c12768
--- /dev/null
+++ b/network/clusterit/clusterit.info
@@ -0,0 +1,10 @@
+PRGNAM="clusterit"
+VERSION="2.5"
+HOMEPAGE="https://www.garbled.net/clusterit.html"
+DOWNLOAD="https://downloads.sourceforge.net/project/clusterit/clusterit/clusterit-2.5/clusterit-2.5.tar.gz"
+MD5SUM="f0e772e07122e388de629fb57f7237ab"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Pierre-Philipp Braun"
+EMAIL="pbraun@nethence.com"
diff --git a/network/clusterit/slack-desc b/network/clusterit/slack-desc
new file mode 100644
index 0000000000..7e8ff443bb
--- /dev/null
+++ b/network/clusterit/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+clusterit: clusterit (distributed shell)
+clusterit:
+clusterit: The most efficient and simple distributed shell around.
+clusterit:
+clusterit: ClusterIt provides the dsh and pcp command line tools.
+clusterit:
+clusterit:
+clusterit:
+clusterit:
+clusterit:
+clusterit:
diff --git a/network/cmdiag/README b/network/cmdiag/README
index c195398c4c..eadeb898f7 100644
--- a/network/cmdiag/README
+++ b/network/cmdiag/README
@@ -1,4 +1,5 @@
-cmdiag is a Docsis cable modem diagnostic tool. It can get information from
-Docsis 1.0, 1.1 and maybe 2.0 cable modems. It gathers information from the
-cable modem via SNMP and displays various cable parameters in real time.
-This small tool is writen in C++, it runs on Linux and FreeBSD.
+cmdiag is a Docsis cable modem diagnostic tool. It can get information
+from Docsis 1.0, 1.1 and maybe 2.0 cable modems. It gathers
+information from the cable modem via SNMP and displays various cable
+parameters in real time. This small tool is writen in C++, it runs on
+Linux and FreeBSD.
diff --git a/network/cmdiag/cmdiag.SlackBuild b/network/cmdiag/cmdiag.SlackBuild
index 02b7da91f9..3bdb5eca92 100644
--- a/network/cmdiag/cmdiag.SlackBuild
+++ b/network/cmdiag/cmdiag.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cmdiag
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cmdiag
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cmst/README b/network/cmst/README
index 3cea99b65f..e42b7bcb3a 100644
--- a/network/cmst/README
+++ b/network/cmst/README
@@ -1,10 +1,9 @@
-cmst (GUI for connman daemon)
+cmst (Qt frontend for Connman)
-QT GUI for Connman with system tray icon.
+Graphical user interface to control the connman daemon. The connman
+daemon must be started as you normally would, this program just
+interfaces with that daemon. You can see what technologies and
+services connman has found, and for wifi services an agent is
+registered to assist in obtaining the information from you necessary
+to logon to the wifi service.
-The program provides graphical user interface to control the connman
-daemon. The connman daemon must be started as you normally would,
-this program just interfaces with that daemon. You can see what
-technologies and services connman has found, and for wifi services an
-agent is registered to assist in obtaining the information from you
-necessary to logon the wifi service.
diff --git a/network/cmst/cmst.SlackBuild b/network/cmst/cmst.SlackBuild
index 6fa731b543..88b8c3976e 100644
--- a/network/cmst/cmst.SlackBuild
+++ b/network/cmst/cmst.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cmst
-# Copyright 2015 Diego Borghetti <bdiego[at]gmail[dot]com>
+# Copyright 2023 Samuel Young, MO, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,7 +11,7 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@@ -22,26 +22,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cmst
-VERSION=${VERSION:-2016.04.03}
+VERSION=${VERSION:-2023.03.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,10 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}
-tar xvf $CWD/${PRGNAM}-$VERSION.tar.gz
-# The original tar.gz file don't have the version in the folder.
-cd ${PRGNAM}
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,24 +76,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
-export USE_LIBPATH="/usr/lib${LIBDIRSUFFIX}"
-
qmake-qt5 DISTRO=slackware
+USE_LIBPATH="/usr/lib${LIBDIRSUFFIX}" \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
make
make install INSTALL_ROOT=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr/man
+mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a text/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md text/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -95,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cmst/cmst.info b/network/cmst/cmst.info
index 4152c3ce9a..dc28e059ab 100644
--- a/network/cmst/cmst.info
+++ b/network/cmst/cmst.info
@@ -1,10 +1,10 @@
PRGNAM="cmst"
-VERSION="2016.04.03"
-HOMEPAGE="https://github.com/andrew-bibb/cmst/releases"
-DOWNLOAD="https://github.com/andrew-bibb/cmst/releases/download/cmst-2016.04.03/cmst-2016.04.03.tar.gz"
-MD5SUM="62aceed905b0d837ece686696d247d17"
+VERSION="2023.03.14"
+HOMEPAGE="https://github.com/andrew-bibb/cmst"
+DOWNLOAD="https://github.com/andrew-bibb/cmst/releases/download/cmst-2023.03.14/cmst-2023.03.14.tar.xz"
+MD5SUM="e4d0d63b23010b9a6a39dca08b973d73"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 connman"
-MAINTAINER="Diego Borghetti"
-EMAIL="bdiego[at]gmail[dot]com"
+REQUIRES="connman"
+MAINTAINER="Samuel Young"
+EMAIL="samyoung12788@gmail.com"
diff --git a/network/cmst/doinst.sh b/network/cmst/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/network/cmst/doinst.sh
+++ b/network/cmst/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/cmst/slack-desc b/network/cmst/slack-desc
index 3df28a6b1d..7a0d2ef7b0 100644
--- a/network/cmst/slack-desc
+++ b/network/cmst/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-cmst: cmst (GUI for connman daemon)
+cmst: cmst (Qt frontend for Connman)
cmst:
-cmst: The program provides graphical user interface to control the
-cmst: connman daemon. The connman daemon must be started
-cmst: as you normally would, this program just interfaces with that
-cmst: daemon. You can see what technologies and services connman
-cmst: has found, and for wifi services an agent is registered to assist
-cmst: in obtaining the information from you necessary to logon the
-cmst: wifi service.
+cmst: Cmst is a Qt based frontend for the connman connection manager. This
+cmst: package also provides a systemtray icon.
+cmst:
+cmst:
+cmst:
+cmst:
+cmst:
+cmst: Homepage: https://github.com/andrew-bibb/cmst
cmst:
-cmst: Homepage: https://github.com/andrew-bibb/cmst/releases
diff --git a/network/cni-plugins/README b/network/cni-plugins/README
index 6d58b57dc6..b0404bc836 100644
--- a/network/cni-plugins/README
+++ b/network/cni-plugins/README
@@ -1,46 +1,50 @@
CNI plugins
-Some CNI network plugins, maintained by the containernetworking team. For
-more information, see the individual READMEs.
+Some CNI network plugins, maintained by the containernetworking
+team. For more information, see the individual READMEs.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
Read CONTRIBUTING for build and test instructions.
Plugins supplied:
Main: interface-creating
- bridge: Creates a bridge, adds the host and the container to it.
- ipvlan: Adds an ipvlan interface in the container.
- loopback: Set the state of loopback interface to up.
- macvlan: Creates a new MAC address, forwards all traffic to that to
- the container.
- ptp: Creates a veth pair.
- vlan: Allocates a vlan device.
- host-device: Move an already-existing device into a container.
+ bridge: Creates a bridge, adds the host and the container to it.
+ ipvlan: Adds an ipvlan interface in the container.
+ loopback: Set the state of loopback interface to up.
+ macvlan: Creates a new MAC address, forwards all traffic to that to
+ the container.
+ ptp: Creates a veth pair.
+ vlan: Allocates a vlan device.
+ host-device: Move an already-existing device into a container.
Windows: windows specific
- win-bridge: Creates a bridge, adds the host and the container to it.
- win-overlay: Creates an overlay interface to the container.
+ win-bridge: Creates a bridge, adds the host and the container to it.
+ win-overlay: Creates an overlay interface to the container.
IPAM: IP address allocation
- dhcp: Runs a daemon on the host to make DHCP requests on behalf of
- the container
- host-local: Maintains a local database of allocated IPs
- static: Allocate a static IPv4/IPv6 addresses to container and it's
- useful in debugging purpose.
+ dhcp: Runs a daemon on the host to make DHCP requests on behalf of
+ the container
+ host-local: Maintains a local database of allocated IPs
+ static: Allocate a static IPv4/IPv6 addresses to container and it's
+ useful in debugging purpose.
Meta: other plugins
- flannel: Generates an interface corresponding to a flannel config file
- tuning: Tweaks sysctl parameters of an existing interface
- portmap: An iptables-based portmapping plugin. Maps ports from the
- host's address space to the container.
- bandwidth: Allows bandwidth-limiting through use of traffic control
- tbf (ingress/egress).
- sbr: A plugin that configures source based routing for an interface
- (from which it is chained).
- firewall: A firewall plugin which uses iptables or firewalld to add
- rules to allow traffic to/from the container.
+ flannel: Generates an interface corresponding to a flannel config file
+ tuning: Tweaks sysctl parameters of an existing interface
+ portmap: An iptables-based portmapping plugin. Maps ports from the
+ host's address space to the container.
+ bandwidth: Allows bandwidth-limiting through use of traffic control
+ tbf (ingress/egress).
+ sbr: A plugin that configures source based routing for an interface
+ (from which it is chained).
+ firewall: A firewall plugin which uses iptables or firewalld to add
+ rules to allow traffic to/from the container.
Sample
diff --git a/network/cni-plugins/cni-plugins.SlackBuild b/network/cni-plugins/cni-plugins.SlackBuild
index 4231a5d46c..dcc6f0440e 100644
--- a/network/cni-plugins/cni-plugins.SlackBuild
+++ b/network/cni-plugins/cni-plugins.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cni-plugins
@@ -23,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cni-plugins
REPONAME=plugins
-VERSION=${VERSION:-0.8.2}
-GIT_COMMIT="485be65581341430f9106a194a98f0f2412245fb"
+VERSION=${VERSION:-1.1.1}
+GIT_COMMIT="4744ec27b89c083194e7df498de50f03a8a1d3ec"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# The domain part of the go package name, usually the hosting platform
DOMAIN=github.com
@@ -43,7 +46,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cni-plugins/cni-plugins.info b/network/cni-plugins/cni-plugins.info
index 19b1651015..a3ff22f7f0 100644
--- a/network/cni-plugins/cni-plugins.info
+++ b/network/cni-plugins/cni-plugins.info
@@ -1,8 +1,8 @@
PRGNAM="cni-plugins"
-VERSION="0.8.2"
+VERSION="1.1.1"
HOMEPAGE="https://github.com/containernetworking/plugins"
-DOWNLOAD="https://github.com/containernetworking/plugins/archive/v0.8.2/plugins-0.8.2.tar.gz"
-MD5SUM="21c39de98441e7874bb9cfd4921801af"
+DOWNLOAD="https://github.com/containernetworking/plugins/archive/v1.1.1/plugins-1.1.1.tar.gz"
+MD5SUM="c37fed40151ddf0a00ef265c9dd91742"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"
diff --git a/network/comgt/README b/network/comgt/README
index f8ae2f57ae..9697d193a6 100644
--- a/network/comgt/README
+++ b/network/comgt/README
@@ -1,5 +1,4 @@
comgt is a scripting language interpreter useful for establishing
-communications on serial lines and through PCMCIA modems as well as GPRS
-and 3G datacards. comgt has some features that are rarely found in other
-utilities of the same type.
-
+communications on serial lines and through PCMCIA modems as well as
+GPRS and 3G datacards. comgt has some features that are rarely found
+in other utilities of the same type.
diff --git a/network/comgt/comgt.SlackBuild b/network/comgt/comgt.SlackBuild
index 1f56551757..a48e723048 100644
--- a/network/comgt/comgt.SlackBuild
+++ b/network/comgt/comgt.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for comgt
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=comgt
VERSION=${VERSION:-0.32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/conkeror/conkeror.SlackBuild b/network/conkeror/conkeror.SlackBuild
index 5701e7d341..5f8e91dacf 100644
--- a/network/conkeror/conkeror.SlackBuild
+++ b/network/conkeror/conkeror.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for conkeror
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=conkeror
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=685f24e3aeffc408dcea883e1d0c738cb18bbe8d
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/connman/README b/network/connman/README
index 4ce1967544..31cba91d83 100644
--- a/network/connman/README
+++ b/network/connman/README
@@ -1,8 +1,27 @@
-connman (open source connection manager)
+connman (Connection management daemon)
-ConnMan is a daemon for managing Internet connections within embedded
-device and integrates a vast range of communication features usually
-split between many daemons such as DHCP, DNS and NTP.
+Connman provides a daemon for managing Internet connections. The
+Connection Manager is designed to be slim and to use as few resources
+as possible. It is fully modular system that can be extended through
+plug-ins. The plug-in approach allows for easy adaption and
+modification for various use cases. Connman implements DNS resolving
+and caching, DHCP clients for both IPv4 and IPv6, link-local IPv4
+address handling and tethering (IP connection sharing) to clients via
+USB, ethernet, WiFi, cellular and Bluetooth.
-The result of this consolidation is low memory consumption with a fast,
-coherent, synchronized reaction to changing network conditions.
+To run connman on startup, run (as root):
+ chmod +x /etc/rc.d/rc.connmand
+then add this to your /etc/rc.d/rc.local:
+ if [ -x /etc/rc.d/rc.connmand ]; then
+ /etc/rc.d/rc.connmand start
+ fi
+Make sure other networking services like NetworkManager or WPA
+Supplicant are not also configured to run on startup.
+
+By default, this SlackBuild will build connman with support for iwd,
+polkit, and nmcompat (NetworkManager compatibility interfaces). If
+you wish to disable any of these, you may run the SlackBuild with
+the DISABLE_IWD, DISABLE_POLKIT, and DISABLE_NMCOMPAT environment
+variables set, e.g.
+ DISABLE_IWD=yes DISABLE_POLKIT=yes DISABLE_NMCOMPAT=yes \
+ ./connman.SlackBuild
diff --git a/network/connman/allow_group_network.diff b/network/connman/allow_group_network.diff
deleted file mode 100644
index 2ab8d9f720..0000000000
--- a/network/connman/allow_group_network.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200
-+++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200
-@@ -5,6 +5,9 @@
- <allow own="net.connman"/>
- <allow send_interface="net.connman.Agent"/>
- </policy>
-+ <policy group="network">
-+ <allow send_interface="net.connman.Agent"/>
-+ </policy>
- <policy context="default">
- <allow send_destination="net.connman"/>
- </policy>
-
diff --git a/network/connman/connman.SlackBuild b/network/connman/connman.SlackBuild
index 2cee777343..8883b13f7d 100644
--- a/network/connman/connman.SlackBuild
+++ b/network/connman/connman.SlackBuild
@@ -1,31 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for connman
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <http://www.gnu.org/licenses/>.
+# Copyright 2023 Samuel Young, MO, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=connman
-VERSION=${VERSION:-1.32}
+VERSION=${VERSION:-1.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,14 +76,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/allow_group_network.diff
+iwd="--enable-iwd" ; [ "${DISABLE_IWD:-no}" != "no" ] && iwd=""
+polkit="--enable-polkit" ; [ "${DISABLE_POLKIT:-no}" != "no" ] && polkit=""
+nmcompat="--enable-nmcompat" ; [ "${DISABLE_NMCOMPAT:-no}" != "no" ] && nmcompat=""
-# fix cmst issue
-sed -i "s|deny|allow|" plugins/connman-nmcompat.conf
+autoreconf -i
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LIBS=-lncurses \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -84,16 +91,19 @@ LIBS=-lncurses \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-nmcompat \
- --enable-polkit \
- --enable-openvpn \
- --enable-client \
- --build=${ARCH}-slackware-linux
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ $iwd \
+ $polkit \
+ $nmcompat
make
make install DESTDIR=$PKG
-cp -av client/connmanctl $PKG/usr/sbin/
+mkdir -p $PKG/etc/rc.d
+install -m 644 $CWD/rc.connmand $PKG/etc/rc.d/
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -101,19 +111,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p ${PKG}/etc/rc.d
-install -m 644 ${CWD}/rc.connmand ${PKG}/etc/rc.d/
-
-mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
-install -m644 AUTHORS COPYING ChangeLog INSTALL README TODO doc/*.txt \
- ${PKG}/usr/doc/${PRGNAM}-${VERSION}/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog HACKING README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}/api
-mv ${PKG}/usr/doc/${PRGNAM}-${VERSION}/{*-api.txt,api/}
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/connman/connman.info b/network/connman/connman.info
index 035424a3b3..101cde64c9 100644
--- a/network/connman/connman.info
+++ b/network/connman/connman.info
@@ -1,10 +1,10 @@
PRGNAM="connman"
-VERSION="1.32"
-HOMEPAGE="https://01.org/connman"
-DOWNLOAD="https://www.kernel.org/pub/linux/network/connman/connman-1.32.tar.xz"
-MD5SUM="d0c3071c1d8dec9cd17b760f862de2ad"
+VERSION="1.42"
+HOMEPAGE="https://git.kernel.org/pub/scm/network/connman/connman.git"
+DOWNLOAD="https://git.kernel.org/pub/scm/network/connman/connman.git/snapshot/connman-1.42.tar.gz"
+MD5SUM="5943f0687dff53f7c252e8a44cb9eb90"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="<nobody@nowhere>"
+MAINTAINER="Samuel Young"
+EMAIL="samyoung12788@gmail.com"
diff --git a/network/connman/slack-desc b/network/connman/slack-desc
index 7a1d361633..d1039da9af 100644
--- a/network/connman/slack-desc
+++ b/network/connman/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-connman: connman (open source connection manager)
-connman:
-connman: ConnMan provides a daemon for managing internet connections within
-connman: embedded devices running Linux. The Connection Manager is designed
-connman: to be slim and to use as few resources as possible. It is fully
-connman: modular, and can be extended through plug-ins, to support various
-connman: wired and wireless technologies.
-connman:
-connman: https://01.org/connman
+connman: connman (Connection management daemon)
connman:
+connman: Connman provides a daemon for managing Internet connections. The
+connman: Connection Manager is designed to be slim and to use as few resources
+connman: as possible. It is fully modular system that can be extended through
+connman: plug-ins. The plug-in approach allows for easy adaption and
+connman: modification for various use cases. Connman implements DNS resolving
+connman: and caching, DHCP clients for both IPv4 and IPv6, link-local IPv4
+connman: address handling and tethering (IP connection sharing) to clients via
+connman: USB, ethernet, WiFi, cellular and Bluetooth.
connman:
diff --git a/network/corebird/README b/network/corebird/README
deleted file mode 100644
index 4f1f415b27..0000000000
--- a/network/corebird/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Corebird is a free Twitter client based on GTK3 which can manage multiple
-accounts and can display favourites and lists.
diff --git a/network/corebird/corebird.SlackBuild b/network/corebird/corebird.SlackBuild
deleted file mode 100644
index 50828f300c..0000000000
--- a/network/corebird/corebird.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for corebird
-
-# Copyright 2016 Henry Jensen, Germany
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=corebird
-VERSION=${VERSION:-1.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
- --prefix=/usr \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/corebird/corebird.info b/network/corebird/corebird.info
deleted file mode 100644
index 87a6770ebb..0000000000
--- a/network/corebird/corebird.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="corebird"
-VERSION="1.3"
-HOMEPAGE="https://corebird.baedert.org/"
-DOWNLOAD="https://github.com/baedert/corebird/archive/1.3/corebird-1.3.tar.gz"
-MD5SUM="800dbda002a28ae78eb6932fc403d3fb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vala rest json-glib gst-libav"
-MAINTAINER="Henry Jensen"
-EMAIL="hjensen@connochaetos.org"
diff --git a/network/corebird/doinst.sh b/network/corebird/doinst.sh
deleted file mode 100644
index 401d987795..0000000000
--- a/network/corebird/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-if [ -e usr/share/glib-2.0/schemas ]; then
- if [ -x /usr/bin/glib-compile-schemas ]; then
- /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
- fi
-fi
diff --git a/network/corebird/slack-desc b/network/corebird/slack-desc
deleted file mode 100644
index 50207384c2..0000000000
--- a/network/corebird/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-corebird: corebird (Native Gtk+ Twitter Client)
-corebird:
-corebird: Corebird is a modern, easy, and fun Twitter client
-corebird:
-corebird: Homepage: https://corebird.baedert.org/
-corebird:
-corebird:
-corebird:
-corebird:
-corebird:
-corebird:
diff --git a/network/corkscrew/README b/network/corkscrew/README
index adc964e457..69959f4767 100644
--- a/network/corkscrew/README
+++ b/network/corkscrew/README
@@ -1,13 +1,12 @@
-Corkscrew is a tool for tunneling SSH through HTTP proxies.
-Setting up Corkscrew with SSH/OpenSSH is very simple. Adding
-the following line to your ~/.ssh/config file will usually do
-the trick (replace proxy.example.com and 8080 with correct values):
+Corkscrew is a tool for tunneling SSH through HTTP proxies. Setting
+up Corkscrew with SSH/OpenSSH is very simple. Adding the following
+line to your ~/.ssh/config file will usually do the trick (replace
+proxy.example.com and 8080 with correct values):
ProxyCommand /usr/bin/corkscrew proxy.example.com 8080 %h %p
-Basic HTTP authentication is also supported, you will need to create a file
-that contains your usename and password
-in the form of:
+Basic HTTP authentication is also supported, you will need to create a
+file that contains your usename and password in the form of:
username:password
diff --git a/network/corkscrew/corkscrew.SlackBuild b/network/corkscrew/corkscrew.SlackBuild
index fccad559bf..61b96cdd70 100644
--- a/network/corkscrew/corkscrew.SlackBuild
+++ b/network/corkscrew/corkscrew.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for corkscrew.
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=corkscrew
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/coturn/coturn.SlackBuild b/network/coturn/coturn.SlackBuild
index 5998ee5fc2..6976e31e7b 100644
--- a/network/coturn/coturn.SlackBuild
+++ b/network/coturn/coturn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for coturn
@@ -25,14 +25,33 @@
# Special thanks to Thomas Morper for some configuration adjustments tips
# Modified by slackbuilds.org 2020-04-17 16:08:20 +0100
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=coturn
-VERSION=${VERSION:-4.5.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.6.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
TURN_USER=${TURN_USER:-turnserver}
TURN_GROUP=${TURN_GROUP:-turnserver}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if ! grep -q ^$TURN_GROUP: /etc/group 2>/dev/null ; then
echo " Error: TURN group ($TURN_GROUP) doesn't exist."
echo " Try creating one with: groupadd -g 366 $TURN_GROUP"
@@ -45,15 +64,6 @@ if ! grep -q ^$TURN_USER: /etc/passwd 2>/dev/null ; then
exit 1
fi
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,7 +88,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -104,6 +114,7 @@ make install DESTDIR=$PKG
sed 's%/usr/local%/usr/share/turnserver/examples%' $PKG/etc/turnserver.conf.default > $PKG/etc/turnserver.conf.new
rm -f $PKG/etc/turnserver.conf.default
+cp -a examples/ca $PKG/usr/share/turnserver/examples
mkdir -p $PKG/etc/{rc.d,logrotate.d}
cat $CWD/rc.turnserver > $PKG/etc/rc.d/rc.turnserver.new
@@ -128,15 +139,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog LICENSE* README* \
+cp -a ChangeLog LICENSE* README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/{usr/doc,usr/share,usr/include,etc,var} -type f -exec chmod -x {} +
+find $PKG/{usr/doc,usr/man,usr/share,usr/include,etc,var} -type f -exec chmod -x {} +
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/coturn/coturn.info b/network/coturn/coturn.info
index 28ecb38663..fdbc81c709 100644
--- a/network/coturn/coturn.info
+++ b/network/coturn/coturn.info
@@ -1,8 +1,8 @@
PRGNAM="coturn"
-VERSION="4.5.2"
+VERSION="4.6.2"
HOMEPAGE="https://github.com/coturn/coturn"
-DOWNLOAD="https://github.com/coturn/coturn/archive/4.5.2/coturn-4.5.2.tar.gz"
-MD5SUM="e58d9e14e0607f763945ff98585cb218"
+DOWNLOAD="https://github.com/coturn/coturn/archive/4.6.2/coturn-4.6.2.tar.gz"
+MD5SUM="7d3ad08b1d63417cbc76d62f23e48ec4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/courier-authlib/courier-authlib.SlackBuild b/network/courier-authlib/courier-authlib.SlackBuild
index fc147ad6ab..06a032786f 100644
--- a/network/courier-authlib/courier-authlib.SlackBuild
+++ b/network/courier-authlib/courier-authlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for courier authlib
@@ -6,10 +6,13 @@
# 2013-05-15, last updated 2019-08-26
# Released into the public domain.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=courier-authlib
VERSION=${VERSION:-0.69.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG="$TMP/package-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
@@ -57,12 +67,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
- --with-authshadow
+ --with-authshadow \
+ --disable-static
make
make install DESTDIR=$PKG
make install-configure DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -85,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/courier-authlib/courier-authlib.info b/network/courier-authlib/courier-authlib.info
index 7b47725772..e2e55ac99d 100644
--- a/network/courier-authlib/courier-authlib.info
+++ b/network/courier-authlib/courier-authlib.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/courier/files/authlib/0.69.1/courier-
MD5SUM="ea219546964d26c0ec3ee21220d6868d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="courier-unicode"
MAINTAINER="Derek Noonburg"
EMAIL="derekn@foolabs.com"
diff --git a/network/courier-imap/courier-imap.SlackBuild b/network/courier-imap/courier-imap.SlackBuild
index 0ddc66edaf..db40c4f4f1 100644
--- a/network/courier-imap/courier-imap.SlackBuild
+++ b/network/courier-imap/courier-imap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for courier IMAP
@@ -6,10 +6,13 @@
# 2012-03-20, last updated 2019-08-26
# Released into the public domain.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=courier-imap
VERSION=${VERSION:-5.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG="$TMP/package-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/courier-imap/courier-imap.info b/network/courier-imap/courier-imap.info
index e0670e672c..de423f2b02 100644
--- a/network/courier-imap/courier-imap.info
+++ b/network/courier-imap/courier-imap.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/courier/files/imap/5.0.7/courier-imap
MD5SUM="d93fd9b3807070086c930823e63b2d82"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="courier-authlib courier-unicode"
+REQUIRES="courier-authlib"
MAINTAINER="Derek Noonburg"
EMAIL="derekn@foolabs.com"
diff --git a/network/courier-unicode/README b/network/courier-unicode/README
index 4f4b08b02a..a0e38483ee 100644
--- a/network/courier-unicode/README
+++ b/network/courier-unicode/README
@@ -1,3 +1,3 @@
The Courier Unicode Library provides Unicode-related algorithms for
other Courier applications. The current release of the Courier Unicode
-Library is based on the Unicode 8.0.0 standard.
+Library is based on the Unicode 13.0.0 standard.
diff --git a/network/courier-unicode/courier-unicode.SlackBuild b/network/courier-unicode/courier-unicode.SlackBuild
index f4bcf685f8..bd1da8a65c 100644
--- a/network/courier-unicode/courier-unicode.SlackBuild
+++ b/network/courier-unicode/courier-unicode.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# ----------------------------------------------------------------------
# Slackware build script for courier unicode
#
# Copyright 2015 - 2019 Derek Noonburg (derekn@foolabs.com)
-# Copyright 2019 - 2021 Andrew Strong, Blue Mountains, Australia.
+# Copyright 2019 - 2023 Andrew Strong, Blue Mountains, Australia.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -24,10 +24,13 @@
# SUCH DAMAGE.
# ----------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=courier-unicode
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG="$TMP/package-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
@@ -85,7 +92,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -102,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/courier-unicode/courier-unicode.info b/network/courier-unicode/courier-unicode.info
index 79b4f414de..379b283259 100644
--- a/network/courier-unicode/courier-unicode.info
+++ b/network/courier-unicode/courier-unicode.info
@@ -1,8 +1,8 @@
PRGNAM="courier-unicode"
-VERSION="2.1.2"
+VERSION="2.2.6"
HOMEPAGE="http://www.courier-mta.org/unicode/"
-DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-2.1.2.tar.bz2"
-MD5SUM="f35eb33593aa81a8a15c7d40cf5fb9b5"
+DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-2.2.6.tar.bz2"
+MD5SUM="55ca273834da0eca2f99e2558af3a225"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/cowpatty/cowpatty.SlackBuild b/network/cowpatty/cowpatty.SlackBuild
index 230c3e91f9..6413106c52 100644
--- a/network/cowpatty/cowpatty.SlackBuild
+++ b/network/cowpatty/cowpatty.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cowpatty
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cowpatty
VERSION=${VERSION:-4.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cryptcat-unix/cryptcat-unix.SlackBuild b/network/cryptcat-unix/cryptcat-unix.SlackBuild
index 76df5aefc5..09564a9b3e 100644
--- a/network/cryptcat-unix/cryptcat-unix.SlackBuild
+++ b/network/cryptcat-unix/cryptcat-unix.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cryptcat
# Written by Jeanne-Kamikaze (AKA SlackerJeanne) (jeannekamikaze@shellblade.net)
@@ -8,10 +8,13 @@
#
# Modified by SlackBuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
VERSION=${VERSION:-1.2.1}
PRGNAM=cryptcat-unix
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +24,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/csync/README b/network/csync/README
index 36fa5a184a..9b64b40b23 100644
--- a/network/csync/README
+++ b/network/csync/README
@@ -1,6 +1,7 @@
-Csync is a file synchronizer especially designed for you, the normal user.
+Csync is a file synchronizer especially designed for you, the normal
+user.
-To be more precise csync is a client only bidirectional file synchronizer.
-You can use csync for different things. The intention is to provide Roaming
-Home Directories for Linux but you can use it to synchronize your music
-collection or create a backup of a directory.
+To be more precise csync is a client only bidirectional file
+synchronizer. You can use csync for different things. The intention
+is to provide Roaming Home Directories for Linux but you can use it to
+synchronize your music collection or create a backup of a directory.
diff --git a/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild
index dbabaa2205..8e724e5b62 100644
--- a/network/csync/csync.SlackBuild
+++ b/network/csync/csync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Csync
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix download URL.
+# - i486 => i586.
+# - no useless INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=csync
VERSION=${VERSION:-0.50.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,9 +77,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix for gcc-5.2.0
# "ISO C does not support ‘__FUNCTION__’ predefined identifier"
@@ -101,7 +113,7 @@ mkdir $PKG/usr/doc
mv $PKG/usr/share/doc/csync $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc ; rmdir $PKG/usr/share 2>/dev/null || true
cp -a \
- AUTHORS COPYING ChangeLog INSTALL README \
+ AUTHORS COPYING ChangeLog README \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -111,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/csync/csync.info b/network/csync/csync.info
index cd7c78baa6..7ee4dab046 100644
--- a/network/csync/csync.info
+++ b/network/csync/csync.info
@@ -1,10 +1,10 @@
PRGNAM="csync"
VERSION="0.50.0"
HOMEPAGE="http://www.csync.org"
-DOWNLOAD="https://open.cryptomilk.org/attachments/download/27/csync-0.50.0.tar.xz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/csync-0.50.0.tar.xz"
MD5SUM="4f022aaa19ecd8008b03876dd65a9df2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="log4c iniparser check"
+REQUIRES="log4c iniparser"
MAINTAINER="Steven King"
EMAIL="kingrst@gmail.com"
diff --git a/network/ctorrent/README b/network/ctorrent/README
index bec3191639..2a4405fc3b 100644
--- a/network/ctorrent/README
+++ b/network/ctorrent/README
@@ -1,22 +1,23 @@
-CTorrent is a BitTorrent client implemented in C++ to be lightweight and quick.
-The original has fallen a little behind in updates and bug fixes though.
+CTorrent is a BitTorrent client implemented in C++ to be lightweight
+and quick. The original has fallen a little behind in updates and bug
+fixes though.
-The files here contain the good work of those who wrote the original CTorrent
-base code and a number of patches that provide fixes and enhancements, as well
-as additional fixes and enhancements.
+The files here contain the good work of those who wrote the original
+CTorrent base code and a number of patches that provide fixes and
+enhancements, as well as additional fixes and enhancements.
-The purpose of the Enhanced CTorrent effort is to fix problems that remain in
-the code, modernize existing features and algorithms, and implement new
-features while maintaining low overhead requirements and a high standard of
-performance (both part of the original CTorrent design philosophy).
-Highlights of the enhanced client include:
+The purpose of the Enhanced CTorrent effort is to fix problems that
+remain in the code, modernize existing features and algorithms, and
+implement new features while maintaining low overhead requirements
+and a high standard of performance (both part of the original CTorrent
+design philosophy). Highlights of the enhanced client include:
* Support for large files (>2GB) and large torrents (>255 files)
* Strategic selection of pieces to request for download
* Continuous queueing of download requests, tuned based on latency and
throughput for each peer
-* Improved download performance, including parallel requests in initial and
- endgame modes
+* Improved download performance, including parallel requests in initial
+ and endgame modes
* Improved bandwidth regulation
* Improved compatibility with other peers
* Performance optimization and bug fixes
diff --git a/network/ctorrent/ctorrent.SlackBuild b/network/ctorrent/ctorrent.SlackBuild
index 9b1ece677d..b08b075217 100644
--- a/network/ctorrent/ctorrent.SlackBuild
+++ b/network/ctorrent/ctorrent.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2007-2009 Eric Hameleers, Eindhoven, Netherlands
# All rights reserved.
#
@@ -22,10 +22,13 @@
# -----------------------------------------------------------------------------
# Slightly modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ctorrent
VERSION=${VERSION:-3.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PKGVERSION=dnh${VERSION}
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -97,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/curl-quic/README b/network/curl-quic/README
new file mode 100644
index 0000000000..c61e020829
--- /dev/null
+++ b/network/curl-quic/README
@@ -0,0 +1,13 @@
+curl-quic is a version of curl which supports QUIC and HTTP/3
+
+This version is identical to curl provided by Slackware,
+but supports QUIC and HTTP/3 via nghttp3 and ngtcp2 found on SBo.
+
+ECH is still not supported.
+
+Test that QUIC works by
+
+curl-quic -v --http3-only https://cloudflare-quic.com
+
+or any other QUIC-enabled website.
+
diff --git a/network/curl-quic/curl-quic.SlackBuild b/network/curl-quic/curl-quic.SlackBuild
new file mode 100644
index 0000000000..d262f7f9e8
--- /dev/null
+++ b/network/curl-quic/curl-quic.SlackBuild
@@ -0,0 +1,146 @@
+#!/bin/bash
+
+# Copyright 2008, 2009, 2010, 2011, 2013, 2014, 2016, 2017, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=curl-quic
+TGZNAM=curl
+VERSION=${VERSION:-8.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+OUTPUT=${OUTPUT:-/tmp}
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+mkdir -p $OUTPUT
+
+rm -rf $PKG
+
+mkdir -p $PKG
+
+cd $TMP
+rm -rf $TGZNAM-$VERSION
+tar xvf $CWD/$TGZNAM-$VERSION.tar.?z* || exit 1
+cd $TGZNAM-$VERSION || exit 1
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+set -e
+
+
+CFLAGS="$SLKCFLAGS " \
+ CC='ccache gcc' \
+ CXX='ccache g++' \
+./configure \
+ --prefix=/opt/$PRGNAM \
+ --libdir=/opt/$PRGNAM/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/opt/$PRGNAM/usr/man \
+ --with-libssh2 \
+ --with-gssapi \
+ --enable-ares \
+ --enable-static=no \
+ --without-ca-bundle \
+ --with-nghttp3 \
+ --with-ngtcp2 \
+ --enable-websockets \
+ --with-ca-path=/etc/ssl/certs \
+ --with-gnutls || exit 1
+
+CFLAGS="$SLKCFLAGS " \
+make V=1
+make install DESTDIR=$PKG
+
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin
+ln --symbolic --relative ../../opt/curl-quic/bin/curl curl-quic )
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+rm $PKG/opt/$PRGNAM/usr/lib${LIBDIRSUFFIX}/libcurl.la
+
+# We don't ship the related perl script (yet):
+rm -f $PKG/usr/man/man1/mk-ca-bundle.1
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+
+#rm $PKG/usr/lib${LIBDIRSUFFIX}/libcurl.a
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING* README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat "$CWD/$PRGNAM.SlackBuild" > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Get rid of .deps cruft:
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/examples/.deps
+
+# man pages from normal curl still work
+rm -rf $PKG/opt/$PRGNAM/usr/man
+
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
+
diff --git a/network/curl-quic/curl-quic.info b/network/curl-quic/curl-quic.info
new file mode 100644
index 0000000000..fb673d3467
--- /dev/null
+++ b/network/curl-quic/curl-quic.info
@@ -0,0 +1,10 @@
+PRGNAM="curl-quic"
+VERSION="8.6.0"
+HOMEPAGE="https://curl.se/"
+DOWNLOAD="https://github.com/curl/curl/releases/download/curl-8_6_0/curl-8.6.0.tar.gz"
+MD5SUM="6178ea567611c2aaffafc88f91fb4238"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="nghttp3 ngtcp2"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.curl-quic_2023-05-17@lockywolf.net"
diff --git a/network/curl-quic/slack-desc b/network/curl-quic/slack-desc
new file mode 100644
index 0000000000..1526548406
--- /dev/null
+++ b/network/curl-quic/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+curl-quic: curl-quic (command line URL data transfer tool)
+curl-quic:
+curl-quic: Curl is a command line tool for transferring data specified with URL
+curl-quic: syntax. The command is designed to work without user interaction or
+curl-quic: any kind of interactivity. Curl offers a busload of useful tricks
+curl-quic: like proxy support, user authentication, ftp upload, HTTP post, SSL
+curl-quic: (https:) connections, cookies, file transfer resume and more.
+curl-quic:
+curl-quic: This build enables QUIC and HTTP/3 over pure UDP.
+curl-quic:
+curl-quic:
diff --git a/network/cyrus-imapd/cyrus-imapd.SlackBuild b/network/cyrus-imapd/cyrus-imapd.SlackBuild
index 7a8a13e7ba..096af5706f 100644
--- a/network/cyrus-imapd/cyrus-imapd.SlackBuild
+++ b/network/cyrus-imapd/cyrus-imapd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cyrus-imapd
-# Copyright 2010, 2011, 2014, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2010, 2024 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cyrus-imapd
-VERSION=${VERSION:-3.2.4}
+VERSION=${VERSION:-3.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -146,9 +156,11 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/cyrus-imapd/cyrus-imapd.info b/network/cyrus-imapd/cyrus-imapd.info
index 1443c6b041..9eb4263398 100644
--- a/network/cyrus-imapd/cyrus-imapd.info
+++ b/network/cyrus-imapd/cyrus-imapd.info
@@ -1,10 +1,10 @@
PRGNAM="cyrus-imapd"
-VERSION="3.2.4"
+VERSION="3.2.12"
HOMEPAGE="https://www.cyrusimap.org/"
-DOWNLOAD="https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.4/cyrus-imapd-3.2.4.tar.gz"
-MD5SUM="e4a745ce615d6712e1b65bb13903807f"
+DOWNLOAD="https://github.com/cyrusimap/cyrus-imapd/releases/download/cyrus-imapd-3.2.12/cyrus-imapd-3.2.12.tar.gz"
+MD5SUM="7c0ebaa07c402cc2933305336b1278e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jansson"
+REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/dante/README b/network/dante/README
index 97091aa6f0..131a226d1f 100644
--- a/network/dante/README
+++ b/network/dante/README
@@ -2,13 +2,14 @@ dante (a free SOCKS client and server)
Dante is a product developed by Inferno Nettverk A/S. It consists of
a SOCKS server and a SOCKS client, implementing RFC 1928 and related
-standards. It is a flexible product that can be used to provide convenient
-and secure network connectivity.
+standards. It is a flexible product that can be used to provide
+convenient and secure network connectivity.
The Dante SOCKS server interoperates with many popular network
-applications which already have SOCKS support built in to them, such as
-most web-browsers, instant messaging programs, and many others. Dante is
-released under a BSD/CMU-type license and comes with complete source code.
+applications which already have SOCKS support built in to them,
+such as most web-browsers, instant messaging programs, and many
+others. Dante is released under a BSD/CMU-type license and comes with
+complete source code.
Extensive documentation is available at the Dante web site:
@@ -26,17 +27,18 @@ maintainer).
No config files are installed by default. Sample config
files are in /usr/doc/dante-$VERSION/example/, and also as
/etc/sock[ds].conf.example. Dante can be used as a client without a
-config file (by setting SOCKS_SERVER in the environment, e.g.), but more
-fine-grained control is possible with /etc/socks.conf. Dante won't be
-very useful as a server (sockd) without a config file, so copy one of the
-sockd example configs to /etc/sockd.conf if you're going to run a server.
+config file (by setting SOCKS_SERVER in the environment, e.g.), but
+more fine-grained control is possible with /etc/socks.conf. Dante
+won't be very useful as a server (sockd) without a config file, so
+copy one of the sockd example configs to /etc/sockd.conf if you're
+going to run a server.
Dante supports LDAP authentication, but the SlackBuild author hasn't
tested building the support for it. The Dante configure script says
you'll need to install "Kerberos/SASL/GSSAPI/LDAP" for this to work
-(and it should be autodetected, if everything is installed). If you try
-this, please email the maintainer with your results (success, failure,
-anything extra you had to do to make it work).
+(and it should be autodetected, if everything is installed). If you
+try this, please email the maintainer with your results (success,
+failure, anything extra you had to do to make it work).
The build doesn't include the "licensed modules" (purchase required)
and there is no provision for adding them. These include the bandwidth
diff --git a/network/dante/dante.SlackBuild b/network/dante/dante.SlackBuild
index 2f28c512b2..35f43607a8 100644
--- a/network/dante/dante.SlackBuild
+++ b/network/dante/dante.SlackBuild
@@ -1,17 +1,22 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dante
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# TODO: init script? Only if someone asks for it...
+# 20230103 bkw: BUILD=2, fix broken symlinks.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dante
-VERSION=${VERSION:-1.4.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.4.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +26,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,11 +58,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -96,11 +102,11 @@ cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
# Not going to install actual socks.conf and sockd.conf in /etc,
# but at least symlink the examples where they can be found easily.
mkdir -p $PKG/etc
-ln -s ../usr/doc/$PRGNAM-$VERSION/socks.conf $PKG/etc/socks.conf.example
-ln -s ../usr/doc/$PRGNAM-$VERSION/sockd.conf $PKG/etc/sockd.conf.example
+ln -s ../usr/doc/$PRGNAM-$VERSION/example/socks.conf $PKG/etc/socks.conf.example
+ln -s ../usr/doc/$PRGNAM-$VERSION/example/sockd.conf $PKG/etc/sockd.conf.example
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dante/dante.info b/network/dante/dante.info
index 39bc7ea1ab..49a2b1071e 100644
--- a/network/dante/dante.info
+++ b/network/dante/dante.info
@@ -1,10 +1,10 @@
PRGNAM="dante"
-VERSION="1.4.2"
+VERSION="1.4.3"
HOMEPAGE="https://www.inet.no/dante/"
-DOWNLOAD="https://www.inet.no/dante/files/dante-1.4.2.tar.gz"
-MD5SUM="77551576d3e80bfaa941055a2959da81"
+DOWNLOAD="https://www.inet.no/dante/files/dante-1.4.3.tar.gz"
+MD5SUM="28ae15fb9e4f5ce7fe17307d01edc075"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/darkhttpd/README b/network/darkhttpd/README
index 4b210b0faa..89026de418 100644
--- a/network/darkhttpd/README
+++ b/network/darkhttpd/README
@@ -11,8 +11,8 @@ Features:
* Event loop, single-threaded -- no fork() or pthreads.
* Generates directory listings.
* Supports HTTP GET and HEAD requests.
-* Supports Range / partial content. (Try streaming music files or resuming
- a download.)
+* Supports Range / partial content. (Try streaming music files or
+ resuming a download.)
* Supports If-Modified-Since.
* Supports Keep-Alive connections.
* Can serve 301 redirects based on Host header.
diff --git a/network/darkhttpd/darkhttpd.SlackBuild b/network/darkhttpd/darkhttpd.SlackBuild
index 5e62b79500..4b74b5e7c2 100644
--- a/network/darkhttpd/darkhttpd.SlackBuild
+++ b/network/darkhttpd/darkhttpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for darkhttpd
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=darkhttpd
-VERSION=${VERSION:-1.13}
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/darkhttpd/darkhttpd.info b/network/darkhttpd/darkhttpd.info
index bd984ea34c..4b92c2dfcc 100644
--- a/network/darkhttpd/darkhttpd.info
+++ b/network/darkhttpd/darkhttpd.info
@@ -1,8 +1,8 @@
PRGNAM="darkhttpd"
-VERSION="1.13"
+VERSION="1.16"
HOMEPAGE="https://unix4lyfe.org/darkhttpd/"
-DOWNLOAD="https://github.com/emikulic/darkhttpd/archive/v1.13/darkhttpd-1.13.tar.gz"
-MD5SUM="365fea0d3eac7d51094dfed746ed8ed8"
+DOWNLOAD="https://github.com/emikulic/darkhttpd/archive/v1.16/darkhttpd-1.16.tar.gz"
+MD5SUM="ba8928e866ebcb9691a0cdd3b504b3c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/darkstat/README b/network/darkstat/README
index f608a8653b..9eda1ecc68 100644
--- a/network/darkstat/README
+++ b/network/darkstat/README
@@ -1,6 +1,6 @@
-darkstat is a packet sniffing daemon that serves statistics over HTTP using a
-builtin web server. Statistics can be refined using tcpdump filter expression
-syntax.
+darkstat is a packet sniffing daemon that serves statistics over HTTP
+using a builtin web server. Statistics can be refined using tcpdump
+filter expression syntax.
Features:
- Traffic graphs, and reports per host, showing each port for each host.
diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild
index aa0e82739c..67f5b494cb 100644
--- a/network/darkstat/darkstat.SlackBuild
+++ b/network/darkstat/darkstat.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for darkstat
# Originally Written by Jorey Bump
-# Copyright 2015-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=darkstat
-VERSION=${VERSION:-3.0.719}
+VERSION=${VERSION:-3.0.721}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,12 +38,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS ChangeLog COPYING.GPL NEWS README"
+DOCS="AUTHORS ChangeLog COPYING.GPL NEWS README*"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -58,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -67,13 +77,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -fiv
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -92,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/darkstat/darkstat.info b/network/darkstat/darkstat.info
index 6885bc33e4..360e725f6f 100644
--- a/network/darkstat/darkstat.info
+++ b/network/darkstat/darkstat.info
@@ -1,8 +1,8 @@
PRGNAM="darkstat"
-VERSION="3.0.719"
+VERSION="3.0.721"
HOMEPAGE="https://unix4lyfe.org/darkstat/"
-DOWNLOAD="https://unix4lyfe.org/darkstat/darkstat-3.0.719.tar.bz2"
-MD5SUM="963145de05cb21f4d93a9c244beeaea0"
+DOWNLOAD="https://github.com/emikulic/darkstat/archive/refs/tags/3.0.721/darkstat-3.0.721.tar.gz"
+MD5SUM="4d67d74414d2f458ec82972de43ab367"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/davmail/davmail.SlackBuild b/network/davmail/davmail.SlackBuild
index 8166e5c38d..ae6c441bea 100644
--- a/network/davmail/davmail.SlackBuild
+++ b/network/davmail/davmail.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DavMail
-# Copyright (c) 2015-2018 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# Copyright (c) 2015-2022 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,13 +26,23 @@
# Modified by Mario Preksavec <mario@slackware.hr>
# Updated by Alfredo Tomasini <alto.tom@gmail.com> to support .zip releases
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=davmail
-VERSION=${VERSION:-4.9.0}
+VERSION=${VERSION:-5.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +91,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/davmail/davmail.info b/network/davmail/davmail.info
index 5961fd4929..f24a018308 100644
--- a/network/davmail/davmail.info
+++ b/network/davmail/davmail.info
@@ -1,10 +1,10 @@
PRGNAM="davmail"
-VERSION="4.9.0"
+VERSION="5.5.1"
HOMEPAGE="http://davmail.sourceforge.net"
-DOWNLOAD="https://sourceforge.net/projects/davmail/files/davmail/4.9.0/davmail-4.9.0-2652.zip"
-MD5SUM="0d907e0dac83cfe834d2260f6624a2f2"
+DOWNLOAD="https://sourceforge.net/projects/davmail/files/davmail/5.5.1/davmail-5.5.1-3299.zip"
+MD5SUM="ae194c3571e107081164913a001d6f27"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/network/davmail/davmail.sh b/network/davmail/davmail.sh
index 117fb8188a..4a2f245f6f 100644
--- a/network/davmail/davmail.sh
+++ b/network/davmail/davmail.sh
@@ -1,4 +1,15 @@
#!/bin/sh
+
BASE=/usr/share/davmail
-for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
-exec java -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1
+
+if [ -n "$JAVA_HOME" ]; then
+ JAVA_CMD="$JAVA_HOME/bin/java"
+else
+ JAVA_CMD="$(which java)"
+fi
+
+for i in $BASE/lib/*; do
+ export CLASSPATH=$CLASSPATH:$i;
+done
+
+exec $JAVA_CMD -Xmx512M -Dsun.net.inetaddr.ttl=60 -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1
diff --git a/network/dbmail/README b/network/dbmail/README
deleted file mode 100644
index de191faa2d..0000000000
--- a/network/dbmail/README
+++ /dev/null
@@ -1,21 +0,0 @@
-DBMail - Fast and scalable sql based email services. It's distributed under
-terms of GNU GPLv2.
-
-This DBMail build assume to work with MySQL/MariaDB or SQLite, as storage
-backends, because both of them are included in Slackware. Authentication
-backend can be either SQL or LDAP. On frontend side IMAP4, POP3, SIEVE
-protocols are supported. MTA communication can be performed via LMTP or
-local client - dbmail-deliver. There is an http API daemon to perform
-server administration. Admin tasks can also be performed via cli tools.
-
-For MySQL/MariaDB backend you should create database, user with password and
-grant this user all privilegies on created database. Then you should create
-tables via command
-
-'mysql DATABASE -u user -p password < /usr/doc/dbmail-*/create_tables.mysql'.
-
-This user, password and database must be mentioned in /etc/dbmail/dbmail.conf
-in apropriate places.
-
-More information about setup DBMail in different configuration environments
-you can get at http://www.dbmail.org/dokuwiki/doku.php.
diff --git a/network/dbmail/create_tables.mysql b/network/dbmail/create_tables.mysql
deleted file mode 100644
index de035154eb..0000000000
--- a/network/dbmail/create_tables.mysql
+++ /dev/null
@@ -1,467 +0,0 @@
--- dbmail mysql schema
---
--- Copyright (c) 2006 Aaron Stone, aaron@serendipity.cx
--- Copyright (c) 2004-2014, NFG Net Facilities Group BV, support@nfg.nl
---
--- This program is free software; you can redistribute it and/or
--- modify it under the terms of the GNU General Public License
--- as published by the Free Software Foundation; either
--- version 2 of the License, or (at your option) any later
--- version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program; if not, write to the Free Software
--- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
---
-
-
--- Make sure our database is set for utf8
-ALTER DATABASE CHARACTER SET utf8;
-
-SET FOREIGN_KEY_CHECKS=0;
---
--- Table structure for table `dbmail_acl`
---
-
-DROP TABLE IF EXISTS `dbmail_authlog`;
-CREATE TABLE `dbmail_authlog` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `userid` varchar(100) default NULL,
- `service` varchar(32) default NULL,
- `login_time` datetime default NULL,
- `logout_time` datetime default NULL,
- `src_ip` varchar(16) default NULL,
- `src_port` int(11) default NULL,
- `dst_ip` varchar(16) default NULL,
- `dst_port` int(11) default NULL,
- `status` varchar(32) default 'active',
- `bytes_rx` bigint(20) NOT NULL default '0',
- `bytes_tx` bigint(20) NOT NULL default '0',
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
-
---
--- Table structure for table `dbmail_acl`
---
-
-DROP TABLE IF EXISTS `dbmail_acl`;
-CREATE TABLE `dbmail_acl` (
- `user_id` bigint(20) UNSIGNED NOT NULL default '0',
- `mailbox_id` bigint(20) UNSIGNED NOT NULL default '0',
- `lookup_flag` tinyint(1) NOT NULL default '0',
- `read_flag` tinyint(1) NOT NULL default '0',
- `seen_flag` tinyint(1) NOT NULL default '0',
- `write_flag` tinyint(1) NOT NULL default '0',
- `insert_flag` tinyint(1) NOT NULL default '0',
- `post_flag` tinyint(1) NOT NULL default '0',
- `create_flag` tinyint(1) NOT NULL default '0',
- `delete_flag` tinyint(1) NOT NULL default '0',
- `deleted_flag` tinyint(1) NOT NULL default '0',
- `expunge_flag` tinyint(1) NOT NULL default '0',
- `administer_flag` tinyint(1) NOT NULL default '0',
- PRIMARY KEY (`user_id`,`mailbox_id`),
- KEY `user_id_index` (`user_id`),
- KEY `mailbox_id_index` (`mailbox_id`),
- CONSTRAINT `dbmail_acl_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `dbmail_users` (`user_idnr`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `dbmail_acl_ibfk_2` FOREIGN KEY (`mailbox_id`) REFERENCES `dbmail_mailboxes` (`mailbox_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_aliases`
---
-
-DROP TABLE IF EXISTS `dbmail_aliases`;
-CREATE TABLE `dbmail_aliases` (
- `alias_idnr` bigint(20) UNSIGNED NOT NULL auto_increment,
- `alias` varchar(255) NOT NULL default '',
- `deliver_to` varchar(255) NOT NULL default '',
- `client_idnr` bigint(20) UNSIGNED NOT NULL default '0',
- PRIMARY KEY (`alias_idnr`),
- KEY `alias_index` (`alias`),
- KEY `client_idnr_index` (`client_idnr`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_envelope`
---
-
-DROP TABLE IF EXISTS `dbmail_envelope`;
-CREATE TABLE `dbmail_envelope` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `physmessage_id` bigint(20) UNSIGNED NOT NULL default '0',
- `envelope` text NOT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `physmessage_id_1` (`physmessage_id`),
- UNIQUE KEY `physmessage_id_2` (`physmessage_id`,`id`),
- CONSTRAINT `dbmail_envelope_ibfk_1` FOREIGN KEY (`physmessage_id`) REFERENCES `dbmail_physmessage` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_filters`
---
-
-DROP TABLE IF EXISTS `dbmail_filters`;
-CREATE TABLE `dbmail_filters` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `user_id` bigint(20) UNSIGNED NOT NULL,
- `headername` varchar(255) NOT NULL,
- `headervalue` varchar(255) NOT NULL,
- `mailbox` varchar(255) NOT NULL,
- PRIMARY KEY (`id`),
- KEY `user_id` (`user_id`),
- CONSTRAINT `dbmail_filters_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `dbmail_users` (`user_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_header`
---
-
-DROP TABLE IF EXISTS `dbmail_header`;
-CREATE TABLE `dbmail_header` (
- `physmessage_id` bigint(20) UNSIGNED NOT NULL,
- `headername_id` bigint(20) UNSIGNED NOT NULL,
- `headervalue_id` bigint(20) UNSIGNED NOT NULL,
- PRIMARY KEY (`physmessage_id`,`headername_id`,`headervalue_id`),
- KEY `physmessage_id` (`physmessage_id`),
- KEY `headername_id` (`headername_id`),
- KEY `headervalue_id` (`headervalue_id`),
- KEY `physmessage_id_headername_id` (`physmessage_id`,`headername_id`),
- KEY `physmessage_id_headervalue_id` (`physmessage_id`,`headervalue_id`),
- KEY `headername_id_headervalue_id` (`headername_id`,`headervalue_id`),
- CONSTRAINT `dbmail_header_ibfk_1` FOREIGN KEY (`physmessage_id`) REFERENCES `dbmail_physmessage` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `dbmail_header_ibfk_2` FOREIGN KEY (`headername_id`) REFERENCES `dbmail_headername` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `dbmail_header_ibfk_3` FOREIGN KEY (`headervalue_id`) REFERENCES `dbmail_headervalue` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_headername`
---
-
-DROP TABLE IF EXISTS `dbmail_headername`;
-CREATE TABLE `dbmail_headername` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `headername` varchar(255) NOT NULL default '',
- PRIMARY KEY (`id`),
- UNIQUE KEY `headername` (`headername`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_headervalue`
---
-
-DROP TABLE IF EXISTS `dbmail_headervalue`;
-CREATE TABLE `dbmail_headervalue` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `hash` varchar(255) NOT NULL,
- `headervalue` text NOT NULL,
- `sortfield` varchar(255) default NULL,
- `datefield` datetime default NULL,
- PRIMARY KEY (`id`),
- KEY `hash` (`hash`),
- KEY `headervalue` (`headervalue`(255)),
- KEY `sortfield` (`sortfield`),
- KEY `datefield` (`datefield`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
-
---
--- Table structure for table `dbmail_keywords`
---
-
-DROP TABLE IF EXISTS `dbmail_keywords`;
-CREATE TABLE `dbmail_keywords` (
- `message_idnr` bigint(20) UNSIGNED NOT NULL default '0',
- `keyword` varchar(255) NOT NULL,
- PRIMARY KEY (`message_idnr`,`keyword`),
- CONSTRAINT `dbmail_keywords_ibfk_1` FOREIGN KEY (`message_idnr`) REFERENCES `dbmail_messages` (`message_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_mailboxes`
---
-
-DROP TABLE IF EXISTS `dbmail_mailboxes`;
-CREATE TABLE `dbmail_mailboxes` (
- `mailbox_idnr` bigint(20) UNSIGNED NOT NULL auto_increment,
- `owner_idnr` bigint(20) UNSIGNED NOT NULL default '0',
- `name` varchar(255) NOT NULL default '',
- `seen_flag` tinyint(1) NOT NULL default '0',
- `answered_flag` tinyint(1) NOT NULL default '0',
- `deleted_flag` tinyint(1) NOT NULL default '0',
- `flagged_flag` tinyint(1) NOT NULL default '0',
- `recent_flag` tinyint(1) NOT NULL default '0',
- `draft_flag` tinyint(1) NOT NULL default '0',
- `no_inferiors` tinyint(1) NOT NULL default '0',
- `no_select` tinyint(1) NOT NULL default '0',
- `permission` tinyint(1) default '2',
- `seq` bigint(20) NOT NULL default '0',
- PRIMARY KEY (`mailbox_idnr`),
- UNIQUE KEY `owner_idnr_name_index` (`owner_idnr`,`name`),
- KEY `name_index` (`name`),
- KEY `owner_idnr_index` (`owner_idnr`),
- KEY `seq_index` (`seq`),
- CONSTRAINT `dbmail_mailboxes_ibfk_1` FOREIGN KEY (`owner_idnr`) REFERENCES `dbmail_users` (`user_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_messages`
---
-
-DROP TABLE IF EXISTS `dbmail_messages`;
-CREATE TABLE `dbmail_messages` (
- `message_idnr` bigint(20) UNSIGNED NOT NULL auto_increment,
- `mailbox_idnr` bigint(20) UNSIGNED NOT NULL default '0',
- `physmessage_id` bigint(20) UNSIGNED NOT NULL default '0',
- `seen_flag` tinyint(1) NOT NULL default '0',
- `answered_flag` tinyint(1) NOT NULL default '0',
- `deleted_flag` tinyint(1) NOT NULL default '0',
- `flagged_flag` tinyint(1) NOT NULL default '0',
- `recent_flag` tinyint(1) NOT NULL default '0',
- `draft_flag` tinyint(1) NOT NULL default '0',
- `unique_id` varchar(70) NOT NULL default '',
- `status` tinyint(3) unsigned NOT NULL default '0',
- PRIMARY KEY (`message_idnr`),
- KEY `physmessage_id_index` (`physmessage_id`),
- KEY `mailbox_idnr_index` (`mailbox_idnr`),
- KEY `seen_flag_index` (`seen_flag`),
- KEY `unique_id_index` (`unique_id`),
- KEY `status_index` (`status`),
- KEY `mailbox_status` (`mailbox_idnr`,`status`),
- CONSTRAINT `dbmail_messages_ibfk_1` FOREIGN KEY (`physmessage_id`) REFERENCES `dbmail_physmessage` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `dbmail_messages_ibfk_2` FOREIGN KEY (`mailbox_idnr`) REFERENCES `dbmail_mailboxes` (`mailbox_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_mimeparts`
---
-
-DROP TABLE IF EXISTS `dbmail_mimeparts`;
-CREATE TABLE `dbmail_mimeparts` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `hash` char(128) NOT NULL,
- `data` longblob NOT NULL,
- `size` bigint(20) NOT NULL default '0',
- PRIMARY KEY (`id`),
- KEY `hash` (`hash`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_partlists`
---
-
-DROP TABLE IF EXISTS `dbmail_partlists`;
-CREATE TABLE `dbmail_partlists` (
- `physmessage_id` bigint(20) UNSIGNED NOT NULL default '0',
- `is_header` tinyint(1) NOT NULL default '0',
- `part_key` smallint(6) NOT NULL default '0',
- `part_depth` smallint(6) NOT NULL default '0',
- `part_order` smallint(6) NOT NULL default '0',
- `part_id` bigint(20) UNSIGNED NOT NULL default '0',
- KEY `physmessage_id` (`physmessage_id`),
- KEY `part_id` (`part_id`),
- UNIQUE KEY `message_parts` (`physmessage_id`,`part_key`,`part_depth`,`part_order`),
- CONSTRAINT `dbmail_partlists_ibfk_1` FOREIGN KEY (`physmessage_id`) REFERENCES `dbmail_physmessage` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `dbmail_partlists_ibfk_2` FOREIGN KEY (`part_id`) REFERENCES `dbmail_mimeparts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_pbsp`
---
-
-DROP TABLE IF EXISTS `dbmail_pbsp`;
-CREATE TABLE `dbmail_pbsp` (
- `idnr` bigint(20) UNSIGNED NOT NULL auto_increment,
- `since` datetime NOT NULL default '0000-00-00 00:00:00',
- `ipnumber` varchar(40) NOT NULL,
- PRIMARY KEY (`idnr`),
- UNIQUE KEY `ipnumber_index` (`ipnumber`),
- KEY `since_index` (`since`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_physmessage`
---
-
-DROP TABLE IF EXISTS `dbmail_physmessage`;
-CREATE TABLE `dbmail_physmessage` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `messagesize` bigint(20) UNSIGNED NOT NULL default '0',
- `rfcsize` bigint(20) UNSIGNED NOT NULL default '0',
- `internal_date` datetime NOT NULL default '0000-00-00 00:00:00',
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_referencesfield`
---
-
-DROP TABLE IF EXISTS `dbmail_referencesfield`;
-CREATE TABLE `dbmail_referencesfield` (
- `id` bigint(20) UNSIGNED NOT NULL auto_increment,
- `physmessage_id` bigint(20) UNSIGNED NOT NULL default '0',
- `referencesfield` varchar(255) NOT NULL default '',
- PRIMARY KEY (`id`),
- UNIQUE KEY `physmessage_id` (`physmessage_id`,`referencesfield`),
- CONSTRAINT `dbmail_referencesfield_ibfk_1` FOREIGN KEY (`physmessage_id`) REFERENCES `dbmail_physmessage` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_replycache`
---
-
-DROP TABLE IF EXISTS `dbmail_replycache`;
-CREATE TABLE `dbmail_replycache` (
- `to_addr` varchar(255) NOT NULL default '',
- `from_addr` varchar(255) NOT NULL default '',
- `handle` varchar(255) NOT NULL default '',
- `lastseen` datetime NOT NULL default '0000-00-00 00:00:00',
- UNIQUE KEY `replycache_1` (`to_addr`,`from_addr`,`handle`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_sievescripts`
---
-
-DROP TABLE IF EXISTS `dbmail_sievescripts`;
-CREATE TABLE `dbmail_sievescripts` (
- `owner_idnr` bigint(20) UNSIGNED NOT NULL default '0',
- `name` varchar(255) NOT NULL,
- `script` text,
- `active` tinyint(1) NOT NULL default '0',
- UNIQUE KEY `owner_idnr_2` (`owner_idnr`,`name`),
- KEY `name` (`name`),
- KEY `owner_idnr` (`owner_idnr`),
- CONSTRAINT `dbmail_sievescripts_ibfk_1` FOREIGN KEY (`owner_idnr`) REFERENCES `dbmail_users` (`user_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_subscription`
---
-
-DROP TABLE IF EXISTS `dbmail_subscription`;
-CREATE TABLE `dbmail_subscription` (
- `user_id` bigint(20) UNSIGNED NOT NULL default '0',
- `mailbox_id` bigint(20) UNSIGNED NOT NULL default '0',
- PRIMARY KEY (`user_id`,`mailbox_id`),
- KEY `user_id_index` (`user_id`),
- KEY `mailbox_id_index` (`mailbox_id`),
- CONSTRAINT `dbmail_subscription_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `dbmail_users` (`user_idnr`) ON DELETE CASCADE ON UPDATE CASCADE,
- CONSTRAINT `dbmail_subscription_ibfk_2` FOREIGN KEY (`mailbox_id`) REFERENCES `dbmail_mailboxes` (`mailbox_idnr`) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_usermap`
---
-
-DROP TABLE IF EXISTS `dbmail_usermap`;
-CREATE TABLE `dbmail_usermap` (
- `login` varchar(255) NOT NULL,
- `sock_allow` varchar(255) NOT NULL,
- `sock_deny` varchar(255) NOT NULL,
- `userid` varchar(255) NOT NULL,
- UNIQUE KEY `usermap_idx_1` (`login`,`sock_allow`,`userid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
---
--- Table structure for table `dbmail_users`
---
-
-DROP TABLE IF EXISTS `dbmail_users`;
-CREATE TABLE `dbmail_users` (
- `user_idnr` bigint(20) UNSIGNED NOT NULL auto_increment,
- `userid` varchar(255) NOT NULL default '',
- `passwd` varchar(255) NOT NULL default '',
- `client_idnr` bigint(20) UNSIGNED NOT NULL default '0',
- `maxmail_size` bigint(20) NOT NULL default '0',
- `curmail_size` bigint(20) NOT NULL default '0',
- `maxsieve_size` bigint(20) NOT NULL default '0',
- `cursieve_size` bigint(20) NOT NULL default '0',
- `encryption_type` varchar(255) NOT NULL default '',
- `last_login` datetime NOT NULL default '1979-11-03 22:05:58',
- PRIMARY KEY (`user_idnr`),
- UNIQUE KEY `userid_index` (`userid`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
-DROP TABLE IF EXISTS dbmail_auto_notifications;
-CREATE TABLE dbmail_auto_notifications (
- user_idnr bigint(20) UNSIGNED NOT NULL,
- notify_address varchar(100) NOT NULL default '',
- INDEX user_idnr_index (user_idnr),
- FOREIGN KEY user_idnr_fk (user_idnr)
- REFERENCES dbmail_users (user_idnr) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE InnoDB DEFAULT CHARSET=utf8;
-
-DROP TABLE IF EXISTS dbmail_auto_replies;
-CREATE TABLE dbmail_auto_replies (
- user_idnr bigint(20) UNSIGNED DEFAULT '0' NOT NULL,
- start_date DATETIME NOT NULL,
- stop_date DATETIME NOT NULL,
- reply_body MEDIUMTEXT,
- INDEX user_idnr_index (user_idnr),
- FOREIGN KEY user_idnr_fk2 (user_idnr)
- REFERENCES dbmail_users (user_idnr) ON DELETE CASCADE ON UPDATE CASCADE
-) ENGINE InnoDB DEFAULT CHARSET=utf8;
-
---
--- views for IMAP sort
---
-
-DROP VIEW IF EXISTS dbmail_fromfield;
-CREATE VIEW dbmail_fromfield AS
- SELECT physmessage_id,sortfield AS fromfield
- FROM dbmail_messages m
- JOIN dbmail_header h USING (physmessage_id)
- JOIN dbmail_headername n ON h.headername_id = n.id
- JOIN dbmail_headervalue v ON h.headervalue_id = v.id
-WHERE n.headername='from';
-
-DROP VIEW IF EXISTS dbmail_ccfield;
-CREATE VIEW dbmail_ccfield AS
- SELECT physmessage_id,sortfield AS ccfield
- FROM dbmail_messages m
- JOIN dbmail_header h USING (physmessage_id)
- JOIN dbmail_headername n ON h.headername_id = n.id
- JOIN dbmail_headervalue v ON h.headervalue_id = v.id
-WHERE n.headername='cc';
-
-DROP VIEW IF EXISTS dbmail_tofield;
-CREATE VIEW dbmail_tofield AS
- SELECT physmessage_id,sortfield AS tofield
- FROM dbmail_messages m
- JOIN dbmail_header h USING (physmessage_id)
- JOIN dbmail_headername n ON h.headername_id = n.id
- JOIN dbmail_headervalue v ON h.headervalue_id = v.id
-WHERE n.headername='to';
-
-DROP VIEW IF EXISTS dbmail_subjectfield;
-CREATE VIEW dbmail_subjectfield AS
- SELECT physmessage_id,headervalue AS subjectfield
- FROM dbmail_messages m
- JOIN dbmail_header h USING (physmessage_id)
- JOIN dbmail_headername n ON h.headername_id = n.id
- JOIN dbmail_headervalue v ON h.headervalue_id = v.id
-WHERE n.headername='subject';
-
-DROP VIEW IF EXISTS dbmail_datefield;
-CREATE VIEW dbmail_datefield AS
- SELECT physmessage_id,datefield,sortfield
- FROM dbmail_messages m
- JOIN dbmail_header h USING (physmessage_id)
- JOIN dbmail_headername n ON h.headername_id = n.id
- JOIN dbmail_headervalue v ON h.headervalue_id = v.id
-WHERE n.headername='date';
-
-
-
--- Create the required built-in users for the delivery chain, anyone acls, and #public mailboxes
-INSERT INTO dbmail_users (userid, passwd, encryption_type) VALUES
- ('__@!internal_delivery_user!@__', '', 'md5'),
- ('anyone', '', 'md5'),
- ('__public__', '', 'md5');
-
diff --git a/network/dbmail/dbmail.SlackBuild b/network/dbmail/dbmail.SlackBuild
deleted file mode 100644
index 16a6fa7f4f..0000000000
--- a/network/dbmail/dbmail.SlackBuild
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dbmail
-
-# Copyright 2018 Sergei Fedosoff eleksir@gmail.com
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=dbmail
-VERSION=${VERSION:-3.2.3}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc/dbmail \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
- --enable-manpages \
- --with-logdir \
- --build=$ARCH-slackware-linux
-
-make
-
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/etc/dbmail
-cat $CWD/dbmail.conf > $PKG/etc/dbmail/dbmail.conf.new
-
-mkdir -p $PKG/etc/cron.daily
-install --mode=0755 $CWD/dbmail.cron $PKG/etc/cron.daily/dbmail.new
-
-mkdir -p $PKG/etc/logrotate.d
-cat $CWD/dbmail.logrotate > $PKG/etc/logrotate.d/dbmail.new
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.dbmail-httpd.new > $PKG/etc/rc.d/rc.dbmail-httpd.new
-cat $CWD/rc.dbmail-imapd.new > $PKG/etc/rc.d/rc.dbmail-imapd.new
-cat $CWD/rc.dbmail-lmtpd.new > $PKG/etc/rc.d/rc.dbmail-lmtpd.new
-cat $CWD/rc.dbmail-pop3d.new > $PKG/etc/rc.d/rc.dbmail-pop3d.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING INSTALL README.md THANKS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/create_tables.mysql > $PKG/usr/doc/$PRGNAM-$VERSION/create_tables.mysql
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dbmail/dbmail.conf b/network/dbmail/dbmail.conf
deleted file mode 100644
index 3523bc8257..0000000000
--- a/network/dbmail/dbmail.conf
+++ /dev/null
@@ -1,426 +0,0 @@
-# (c) 2000-2006 IC&S, The Netherlands
-#
-# Configuration file for DBMAIL
-
-[DBMAIL]
-#
-# Database settings
-#
-# database connection URI
-#dburi = sqldriver://username:password@hostname:port/db_name
-#dburi = sqlite:///var/tmp/dbmail.db
-#dburi = mysql://dbmail:dbmail@localhost:3306/dbmail
-dburi = mysql://dbmail:dbmail@localhost/dbmail?unix-socket=/var/run/mysql/mysql.sock&charset=utf8
-
-#
-# following fields are now DEPRECATED!
-#driver = mysql
-#host = localhost
-#sqlport = 3306
-#sqlsocket = /var/run/mysql/mysql.sock
-#user = dbmail
-#pass = dbmail
-#db = dbmail
-#encoding = utf8
-
-#
-# Number of database connections per threaded daemon
-# This also determines the size of the worker threadpool
-#
-# Do NOT increase this without proper consideration. A
-# very large database/worker pool will not only increase
-# the connection pressure on the database, but will more
-# significantly cause unnecessary context-switching in
-# your CPUs.
-#
-max_db_connections = 4
-
-#
-# Table prefix. Defaults to "dbmail_" if not specified.
-#
-table_prefix = dbmail_
-
-#
-# Supported drivers are sql, ldap.
-#
-authdriver = sql
-
-#
-# messages with unknown encoding will be assumed to have
-# default_msg_encoding
-# i.e. iso8859-1, utf8
-default_msg_encoding = utf8
-
-#
-# Postmaster's email address for use in bounce messages.
-#
-postmaster = MAILER-DAEMON
-
-#
-# Sendmail executable for forwards, replies, notifies, vacations.
-# You may use pipes (|) in this command, for example:
-# dos2unix|/usr/sbin/sendmail works well with Qmail.
-# You may use quotes (") for executables with unusual names.
-#
-sendmail = /usr/sbin/sendmail
-
-#
-#
-# The following items can be overridden in the service-specific sections.
-#
-#
-
-#
-# Logging via stderr/log file and syslog
-#
-# Logging is broken up into 8 logging levels and each level can be indivually turned on or off.
-# The Stderr/log file logs all entries to stderr or the log file.
-# Syslog logging uses the facility mail and the logging level of the event for logging.
-# Syslog can then be configured to log data according to the levels.
-#
-# Set the log level to the sum of the values next to the levels you want to record.
-# 1 = Emergency
-# 2 = Alert
-# 4 = Critical
-# 8 = Error
-# 16 = Warning
-# 32 = Notice
-# 64 = Info
-# 128 = Debug
-# 256 = Database -> Logs at debug level
-#
-# Examples: 0 = Nothing
-# 31 = Emergency + Alert + Critical + Error + Warning
-# 511 = Everything
-#
-file_logging_levels = 1
-#
-syslog_logging_levels = 30
-
-#
-# Generate a log entry for database queries for the log level at number of seconds of query execution time.
-#
-query_time_info = 10
-query_time_notice = 20
-query_time_warning = 30
-
-#
-# Throw an exception is the query takes longer than query_timeout seconds
-query_timeout = 300
-
-#
-# Root privs are used to open a port, then privs
-# are dropped down to the user/group specified here.
-#
-effective_user = mail
-effective_group = mail
-
-#
-# The IPv4 and/or IPv6 addresses the services will bind to.
-# Use * for all local interfaces.
-# Use 127.0.0.1 for localhost only.
-# Separate multiple entries with spaces ( ) or commas (,).
-#
-bindip = 0.0.0.0 # IPv4 only - all IP's
-#bindip = :: # IPv4 and IPv6 - all IP's (linux)
-#bindip = :: # IPv6 only - all IP's (BSD)
-#bindip = 0.0.0.0,:: # IPv4 and IPv6 - all IP's (BSD)
-
-
-#
-# The maximum length of the queue of pending connections. See
-# listen(2) for more information
-#
-backlog = 128
-
-#
-# Idle time allowed before a connection is shut off.
-#
-timeout = 300
-
-#
-# Idle time allowed before a connection is shut off if you have not logged in yet.
-#
-login_timeout = 60
-
-#
-# If yes, resolves IP addresses to DNS names when logging.
-#
-resolve_ip = no
-
-#
-# If yes, keep statistics in the authlog table for connecting users
-#
-authlog = no
-
-#
-# logfile for stdout messages
-#
-logfile = /var/log/dbmail.log
-
-#
-# logfile for stderr messages
-#
-errorlog = /var/log/dbmail.err
-
-#
-# directory for storing PID files
-#
-pid_directory = /var/run/dbmail
-
-#
-# directory for locating libraries (normally has a sane default compiled-in)
-#
-#library_directory = /usr/lib/dbmail
-
-#
-# SSL/TLS certificates
-#
-# A file containing a list of CAs in PEM format
-tls_cafile =
-
-# A file containing a PEM format certificate
-tls_cert =
-
-# A file containing a PEM format RSA or DSA key
-tls_key =
-
-# A cipher list string in the format given in ciphers(1)
-tls_ciphers =
-
-
-# hashing algorithm. You can select your favorite hash type
-# for generating unique ids for message parts.
-#
-# for valid values check mhash(3) but minus the MHASH_ prefix.
-#
-# if you ever change this value run 'dbmail-util --rehash' to
-# update the hash for all mimeparts.
-#
-# examples: MD5, SHA1, SHA256, SHA512, TIGER, WHIRLPOOL
-#
-hash_algorithm = SHA256
-
-
-# header_cache tuning
-#
-# set header_cache_readonly to 'yes' to prevent new
-# unknown header-names from being cached.
-#
-# header_cache_readonly = yes
-
-
-
-[LMTP]
-port = 24
-bindip = 127.0.0.1
-#tls_port =
-banner = LMTP server ready.
-
-[POP]
-port = 110
-#tls_port = 995
-
-# You can set an alternate banner to display when connecting to the service
-banner = POP3 server ready.
-
-#
-# If yes, allows SMTP access from the host IP connecting by POP3.
-# This requires addition configuration of your MTA
-#
-pop_before_smtp = no
-
-[HTTP]
-port = 41380
-#
-# the httpd daemon provides full access to all users, mailboxes
-# and messages. Be very careful with this one!
-bindip = 127.0.0.1
-admin = admin:secret
-
-[IMAP]
-# You can set an alternate banner to display when connecting to the service
-# banner = imap 4r1 server (dbmail 2.3.x)
-
-#
-# Port to bind to.
-#
-port = 143
-#tls_port = 993
-
-banner = IMAP server ready.
-
-#
-# IMAP prefers a longer timeout than other services.
-#
-timeout = 4000
-
-#
-# If yes, allows SMTP access from the host IP connecting by IMAP.
-# This requires addition configuration of your MTA
-#
-imap_before_smtp = no
-
-#
-# during IDLE, how many seconds between checking the mailbox
-# status (default: 30)
-#
-# idle_timeout = 30
-
-# during IDLE, how often should the server send an '* OK' still
-# here message (default: 10)
-#
-# the time between such a message is idle_timeout * idle_interval
-# seconds
-#
-# idle_interval = 10
-
-#
-# If TLS is enabled, login before starttls is normally
-# not allowed. Use login_disabled=no to change this
-#
-# login_disabled = yes
-
-#
-# Provide a CAPABILITY to override the default
-#
-# capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL RIGHTS=texk NAMESPACE CHILDREN SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE
-
-# max message size. You can specify the maximum message size
-# accepted by the IMAP daemon during APPEND commands.
-#
-# Supported formats:
-# decimal: 1000000
-# octal: 03777777
-# hex: 0xfffff
-#
-# max_message_size =
-
-
-[SIEVE]
-#
-# Port to bind to.
-#
-port = 2000
-tls_port =
-banner = SIEVE server ready.
-
-
-[LDAP]
-#port = 389
-#version = 3
-#hostname = ldap
-#base_dn = ou=People,dc=mydomain,dc=com
-
-#
-# If your LDAP library supports ldap_initialize(), then you can use the
-# alternative LDAP server DSN like following.
-#
-# URI = ldap://127.0.0.1:389
-# URI = ldapi://%2fvar%2frun%2fopenldap%2fldapi/
-
-#
-# Leave blank for anonymous bind.
-# example: cn=admin,dc=mydomain,dc=com
-#
-#bind_dn =
-
-#
-# Leave blank for anonymous bind.
-#
-#bind_pw =
-#scope = SubTree
-
-# AD users may want to set this to 'no' to disable
-# ldap referrals if you are seeing 'Operations errors'
-# in your logs
-#
-#referrals = yes
-
-#user_objectclass = top,account,dbmailUser
-#forw_objectclass = top,account,dbmailForwardingAddress
-#cn_string = uid
-#field_passwd = userPassword
-#field_uid = uid
-#field_nid = uidNumber
-#min_nid = 10000
-#max_nid = 15000
-#field_cid = gidNumber
-#min_cid = 10000
-#max_cid = 15000
-
-# a comma-separated list of attributes to match when searching
-# for users or forwards that match a delivery address. A match
-# on any of them is a hit.
-field_mail = mail
-
-# field that holds the mail-quota size for a user.
-field_quota = mailQuota
-
-# field that holds the forwarding address.
-field_fwdtarget = mailForwardingAddress
-
-# override the query string used to search for users
-# or forwards with a delivery address.
-# query_string = (mail=%s)
-
-[DELIVERY]
-#
-# Run Sieve scripts as messages are delivered.
-#
-SIEVE = yes
-
-#
-# Use 'user+mailbox@domain' format to deliver to a mailbox.
-#
-SUBADDRESS = yes
-
-#
-# Turn on/off the Sieve Vacation extension.
-#
-SIEVE_VACATION = yes
-
-#
-# Turn on/off the Sieve Notify extension
-#
-SIEVE_NOTIFY = yes
-
-#
-# Turn on/off additional Sieve debugging.
-#
-SIEVE_DEBUG = no
-
-
-# Use the auto_notify table to send email notifications.
-#
-AUTO_NOTIFY = no
-
-#
-# Use the auto_reply table to send away messages.
-#
-AUTO_REPLY = no
-
-#
-# Defaults to "NEW MAIL NOTIFICATION"
-#
-#AUTO_NOTIFY_SUBJECT =
-
-#
-# Defaults to POSTMASTER from the DBMAIL section.
-#
-#AUTO_NOTIFY_SENDER =
-
-
-# If you set this to 'yes' dbmail will check for duplicate
-# messages in the relevant mailbox during delivery using
-# the Message-ID header
-#
-suppress_duplicates = no
-
-#
-# Soft or hard bounce on over-quota delivery
-#
-quota_failure = hard
-
-
-# end of configuration file
diff --git a/network/dbmail/dbmail.cron b/network/dbmail/dbmail.cron
deleted file mode 100644
index 3cf4e0cd95..0000000000
--- a/network/dbmail/dbmail.cron
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-# cleanup deleted messages
-if [ -x /usr/sbin/dbmail-util ]; then
- /usr/sbin/dbmail-util -ay 2>&1 > /dev/null
-fi
-
diff --git a/network/dbmail/dbmail.info b/network/dbmail/dbmail.info
deleted file mode 100644
index a4c76dc6fe..0000000000
--- a/network/dbmail/dbmail.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dbmail"
-VERSION="3.2.3"
-HOMEPAGE="http://www.dbmail.org/"
-DOWNLOAD="http://www.dbmail.org/download/3.2/dbmail-3.2.3.tar.gz"
-MD5SUM="4f140751642559395dfe3a6bb2cc9300"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libzdb re2c"
-MAINTAINER="Sergei Fedosoff"
-EMAIL="eleksir@gmail.com"
diff --git a/network/dbmail/dbmail.logrotate b/network/dbmail/dbmail.logrotate
deleted file mode 100644
index 40538d5b65..0000000000
--- a/network/dbmail/dbmail.logrotate
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/dbmail.log /var/log/dbmail.err {
- daily
- missingok
- notifempty
- rotate 10
- compress
- delaycompress
- copytruncate
-}
diff --git a/network/dbmail/doinst.sh b/network/dbmail/doinst.sh
deleted file mode 100644
index a7859d0c35..0000000000
--- a/network/dbmail/doinst.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.dbmail-httpd.new
-preserve_perms etc/rc.d/rc.dbmail-imapd.new
-preserve_perms etc/rc.d/rc.dbmail-lmtpd.new
-preserve_perms etc/rc.d/rc.dbmail-pop3d.new
-preserve_perms etc/cron.daily/dbmail.new
-config etc/dbmail/dbmail.conf.new
-config etc/logrotate.d/dbmail.new
-
diff --git a/network/dbmail/rc.dbmail-httpd.new b/network/dbmail/rc.dbmail-httpd.new
deleted file mode 100644
index a669475539..0000000000
--- a/network/dbmail/rc.dbmail-httpd.new
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# DBMail-httpd startup script for Slackware Linux
-
-SERVICE='/usr/sbin/dbmail-httpd'
-OPTS=''
-PIDDIR='/var/run/dbmail'
-PID="${PIDDIR}/dbmail-httpd.pid"
-USER='mail'
-GROUP='mail'
-
-service_start() {
- if [ ! -d "$PIDDIR" ]; then
- mkdir "$PIDDIR"
- chown ${USER}:${GROUP} "$PIDDIR"
- fi
-
- if [ -f "$PID" ]; then
- echo "PID-file exist, refusing to run ${SERVICE}."
- exit 1
- fi
-
- $SERVICE "$OPTS"
-}
-
-service_stop() {
- if [ -f "$PID" ]; then
- kill $(< $PID)
- else
- echo "No PID-file at $PID found, quitting."
- exit 1
- fi
-}
-
-service_restart() {
- service_stop
- sleep 1
- service_start
-}
-
-case "$1" in
- start)
- service_start
- ;;
- stop)
- service_stop
- ;;
- restart)
- service_restart
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
- exit 1
-esac
diff --git a/network/dbmail/rc.dbmail-imapd.new b/network/dbmail/rc.dbmail-imapd.new
deleted file mode 100644
index 1324c74da6..0000000000
--- a/network/dbmail/rc.dbmail-imapd.new
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# DBMail-imapd startup script for Slackware Linux
-
-SERVICE='/usr/sbin/dbmail-imapd'
-OPTS=''
-PIDDIR='/var/run/dbmail'
-PID="${PIDDIR}/dbmail-imapd.pid"
-USER='mail'
-GROUP='mail'
-
-service_start() {
- if [ ! -d "$PIDDIR" ]; then
- mkdir "$PIDDIR"
- chown ${USER}:${GROUP} "$PIDDIR"
- fi
-
- if [ -f "$PID" ]; then
- echo "PID-file exist, refusing to run ${SERVICE}."
- exit 1
- fi
-
- $SERVICE "$OPTS"
-}
-
-service_stop() {
- if [ -f "$PID" ]; then
- kill $(< $PID)
- else
- echo "No PID-file at $PID found, quitting."
- exit 1
- fi
-}
-
-service_restart() {
- service_stop
- sleep 1
- service_start
-}
-
-case "$1" in
- start)
- service_start
- ;;
- stop)
- service_stop
- ;;
- restart)
- service_restart
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
- exit 1
-esac
diff --git a/network/dbmail/rc.dbmail-lmtpd.new b/network/dbmail/rc.dbmail-lmtpd.new
deleted file mode 100644
index 34a633d865..0000000000
--- a/network/dbmail/rc.dbmail-lmtpd.new
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# DBMail-lmtpd startup script for Slackware Linux
-
-SERVICE='/usr/sbin/dbmail-lmtpd'
-OPTS=''
-PIDDIR='/var/run/dbmail'
-PID="${PIDDIR}/dbmail-lmtpd.pid"
-USER='mail'
-GROUP='mail'
-
-service_start() {
- if [ ! -d "$PIDDIR" ]; then
- mkdir "$PIDDIR"
- chown ${USER}:${GROUP} "$PIDDIR"
- fi
-
- if [ -f "$PID" ]; then
- echo "PID-file exist, refusing to run ${SERVICE}."
- exit 1
- fi
-
- $SERVICE "$OPTS"
-}
-
-service_stop() {
- if [ -f "$PID" ]; then
- kill $(< $PID)
- else
- echo "No PID-file at $PID found, quitting."
- exit 1
- fi
-}
-
-service_restart() {
- service_stop
- sleep 1
- service_start
-}
-
-case "$1" in
- start)
- service_start
- ;;
- stop)
- service_stop
- ;;
- restart)
- service_restart
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
- exit 1
-esac
diff --git a/network/dbmail/rc.dbmail-pop3d.new b/network/dbmail/rc.dbmail-pop3d.new
deleted file mode 100644
index 6398c40c8f..0000000000
--- a/network/dbmail/rc.dbmail-pop3d.new
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# DBMail-pop3d startup script for Slackware Linux
-
-SERVICE='/usr/sbin/dbmail-pop3d'
-OPTS=''
-PIDDIR='/var/run/dbmail'
-PID="${PIDDIR}/dbmail-pop3d.pid"
-USER='mail'
-GROUP='mail'
-
-service_start() {
- if [ ! -d "$PIDDIR" ]; then
- mkdir "$PIDDIR"
- chown ${USER}:${GROUP} "$PIDDIR"
- fi
-
- if [ -f "$PID" ]; then
- echo "PID-file exist, refusing to run ${SERVICE}."
- exit 1
- fi
-
- $SERVICE "$OPTS"
-}
-
-service_stop() {
- if [ -f "$PID" ]; then
- kill $(< $PID)
- else
- echo "No PID-file at $PID found, quitting."
- exit 1
- fi
-}
-
-service_restart() {
- service_stop
- sleep 1
- service_start
-}
-
-case "$1" in
- start)
- service_start
- ;;
- stop)
- service_stop
- ;;
- restart)
- service_restart
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
- exit 1
-esac
diff --git a/network/dbmail/slack-desc b/network/dbmail/slack-desc
deleted file mode 100644
index 366bf4b4b8..0000000000
--- a/network/dbmail/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dbmail: dbmail (IMAP and POP3 Server)
-dbmail:
-dbmail: Fast and scalable sql based email services.
-dbmail:
-dbmail:
-dbmail:
-dbmail:
-dbmail:
-dbmail:
-dbmail:
-dbmail: Homepage: http://dbmail.org/
diff --git a/network/dclib/README b/network/dclib/README
deleted file mode 100644
index 74f1b1c9fe..0000000000
--- a/network/dclib/README
+++ /dev/null
@@ -1,4 +0,0 @@
-dclib is a library of classes supporting valknut, a client
-for the Direct Connect network protocol. In addition to the
-protocol support there is storage of various user data,
-such as a database of shareable items and lists of items to download.
diff --git a/network/dclib/dclib-0.3.23.patch b/network/dclib/dclib-0.3.23.patch
deleted file mode 100644
index 49ca6c8840..0000000000
--- a/network/dclib/dclib-0.3.23.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- dclib/core/cssl.cpp 2009-01-07 23:13:52.000000000 +0100
-+++ dclib/core/cssl.cpp.new 2013-09-29 13:19:29.489059230 +0200
-@@ -86,10 +86,10 @@
- /** */
- SSL_CTX * CSSL::InitClientCTX()
- {
-- SSL_METHOD *method;
-+ const SSL_METHOD *method;
- SSL_CTX *ctx = NULL;
-
-- method = SSLv23_client_method(); /* Create new client-method instance */
-+ method = SSLv23_client_method(); /* Create new client-method instance */
-
- // sanity check
- if ( method != NULL )
-@@ -109,7 +109,7 @@
- /** */
- SSL_CTX * CSSL::InitServerCTX()
- {
-- SSL_METHOD *method;
-+ const SSL_METHOD *method;
- SSL_CTX *ctx = NULL;
-
- method = SSLv23_server_method(); /* Create new client-method instance */
-@@ -130,7 +130,7 @@
- /** */
- SSL_CTX * CSSL::NewTLSv1ClientCTX()
- {
-- SSL_METHOD * method = TLSv1_client_method();
-+ const SSL_METHOD * method = TLSv1_client_method();
- SSL_CTX * ctx = NULL;
-
- if ( method != NULL )
-@@ -149,7 +149,7 @@
- /** */
- SSL_CTX * CSSL::NewTLSv1ServerCTX()
- {
-- SSL_METHOD * method = TLSv1_server_method();
-+ const SSL_METHOD * method = TLSv1_server_method();
- SSL_CTX * ctx = NULL;
-
- if ( method != NULL )
diff --git a/network/dclib/dclib.SlackBuild b/network/dclib/dclib.SlackBuild
deleted file mode 100644
index 28794405c6..0000000000
--- a/network/dclib/dclib.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dclib
-
-# Copyright 2014 Kevin Paulus <goarilla@gmail.com>, Belgium
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=dclib
-VERSION=${VERSION:-0.3.23}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Patch
-patch < "$CWD"/dclib-0.3.23.patch dclib/core/cssl.cpp
-
-# Configure and build
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib"${LIBDIRSUFFIX}" \
- --mandir=/usr/man \
- --sysconfdir=/etc \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR="$PKG"
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING COPYING.OpenSSL ChangeLog HACKING INSTALL NEWS README TODO \
- "$PKG"/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dclib/dclib.info b/network/dclib/dclib.info
deleted file mode 100644
index d4c4bf51c0..0000000000
--- a/network/dclib/dclib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dclib"
-VERSION="0.3.23"
-HOMEPAGE="http://wxdcgui.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/project/wxdcgui/dclib/0.3.23/dclib-0.3.23.tar.bz2"
-MD5SUM="6852e420e48d09b514fcb9f783611cdc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Kevin Paulus"
-EMAIL="goarilla@gmail.com"
diff --git a/network/dclib/slack-desc b/network/dclib/slack-desc
deleted file mode 100644
index c819a40a4f..0000000000
--- a/network/dclib/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dclib: dclib (Neomodus DC library)
-dclib:
-dclib: dclib is a library of classes supporting valknut, a client
-dclib: for the Direct Connect network protocol. In addition to the
-dclib: protocol support there is storage of various user data,
-dclib: such as a database of shareable items and lists of items to download.
-dclib:
-dclib:
-dclib:
-dclib: Website: http://wxdcgui.sourceforge.net/
-dclib:
diff --git a/network/ddclient/README b/network/ddclient/README
index 192fbed378..335302278e 100644
--- a/network/ddclient/README
+++ b/network/ddclient/README
@@ -9,7 +9,6 @@ addresses, MX, wildcards, abuse avoidance, retrying failed updates, and
sending update status to syslog and through e-mail.
Optional dependencies:
- perl-IO-Socket-SSL perl library for ssl-support (recommended)
perl-JSON-PP perl library for JSON support
perl-IO-Socket-INET6 perl library for ipv6-support
diff --git a/network/ddclient/ddclient.SlackBuild b/network/ddclient/ddclient.SlackBuild
index ac6d3a1692..232d87d2e1 100644
--- a/network/ddclient/ddclient.SlackBuild
+++ b/network/ddclient/ddclient.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ddclient
@@ -25,14 +25,24 @@
# Revision date 2011/08/14
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ddclient
-VERSION=${VERSION:-3.9.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.10.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch # it's only a perl script
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,6 +55,11 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+# patch the ddclient.conf.in file pid directory
+# @runstatedir@ should be /var/run
+sed -i.orig -e 's/@runstatedir@/@localstatedir@\/run/' ddclient.conf.in
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -52,30 +67,34 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin
-cp -a ddclient $PKG/usr/bin
+./autogen
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-chmod 644 sample*
-cp -a COPY* Change* README* RELEASENOTE TODO sample* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/ddclient \
+ --localstatedir=/var
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+make
+make install DESTDIR=$PKG
+
+# patch to fix permissions on ddclient.conf
+# make it readable only by root # (it might contain passwords)
+chmod 0600 $PKG/etc/ddclient/ddclient.conf
+
+# Add ".new" to the configuration file for the doinst.sh
+mv $PKG/etc/ddclient/ddclient.conf $PKG/etc/ddclient/ddclient.conf.new
# Install startup script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.ddclient > $PKG/etc/rc.d/rc.ddclient.new
-# Copy configuration and make it readable only by root (it will probably
-# contain passwords). See also doinst.sh
-mkdir -p $PKG/etc/ddclient
-cat sample-etc_ddclient.conf > $PKG/etc/ddclient/ddclient.conf.new
-chmod 0600 $PKG/etc/ddclient/ddclient.conf.new
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CO* Change* README* sample* docs/ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Add the cache dir
-mkdir -p $PKG/var/cache/ddclient
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ddclient/ddclient.info b/network/ddclient/ddclient.info
index 81bf76dec3..7c1dadc93a 100644
--- a/network/ddclient/ddclient.info
+++ b/network/ddclient/ddclient.info
@@ -1,10 +1,10 @@
PRGNAM="ddclient"
-VERSION="3.9.1"
+VERSION="3.10.0"
HOMEPAGE="https://github.com/ddclient/ddclient/"
-DOWNLOAD="https://github.com/ddclient/ddclient/archive/v3.9.1/ddclient-3.9.1.tar.gz"
-MD5SUM="8497033052649ebe6f714338c7be4cda"
+DOWNLOAD="https://github.com/ddclient/ddclient/archive/v3.10.0/ddclient-3.10.0.tar.gz"
+MD5SUM="1ae3e491d7930c6dba3eec118deeb2b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-IO-Socket-SSL perl-Data-Validate-IP"
+REQUIRES=""
MAINTAINER="Richard Narron"
EMAIL="richard@aaazen.com"
diff --git a/network/ddgr/README b/network/ddgr/README
index 2e0b99c118..b47c24434f 100644
--- a/network/ddgr/README
+++ b/network/ddgr/README
@@ -1,11 +1,12 @@
-ddgr is a cmdline utility to search DuckDuckGo from the terminal. While googler is
-highly popular among cmdline users, in many forums the need of a similar utility for
-privacy-aware DuckDuckGo came up. DuckDuckGo Bangs are super-cool too! So here's ddgr
-for you!
+ddgr is a cmdline utility to search DuckDuckGo from the
+terminal. While googler is highly popular among cmdline users, in many
+forums the need of a similar utility for privacy-aware DuckDuckGo came
+up. DuckDuckGo Bangs are super-cool too! So here's ddgr for you!
-Unlike the web interface, you can specify the number of search results you would like to
-see per page. It's more convenient than skimming through 30-odd search results per page.
-The default interface is carefully designed to use minimum space without sacrificing
+Unlike the web interface, you can specify the number of search results
+you would like to see per page. It's more convenient than skimming
+through 30-odd search results per page. The default interface
+is carefully designed to use minimum space without sacrificing
readability.
ddgr isn't affiliated to DuckDuckGo in any way.
diff --git a/network/ddgr/ddgr.SlackBuild b/network/ddgr/ddgr.SlackBuild
index 34cc761e2d..f6e7f45712 100644
--- a/network/ddgr/ddgr.SlackBuild
+++ b/network/ddgr/ddgr.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ddgr
-# Copyright 2017-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2017-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ddgr
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,9 +87,9 @@ mkdir -p $PKG/usr/bin
install -D -m0755 $PRGNAM $PKG/usr/bin
# Install bash completion file
-mkdir -p $PKG/etc/bash_completion.d
-install -D -m0744 auto-completion/bash/${PRGNAM}-completion.bash \
- $PKG/etc/bash_completion.d/${PRGNAM}-completion.bash
+mkdir -p $PKG/usr/share/bash-completion/completions
+install -D -m0644 auto-completion/bash/${PRGNAM}-completion.bash \
+ $PKG/usr/share/bash-completion/completions/$PRGNAM
# Install zsh completion file
mkdir -p $PKG/usr/share/site-functions
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ddgr/ddgr.info b/network/ddgr/ddgr.info
index e08deaa726..340cf91bcc 100644
--- a/network/ddgr/ddgr.info
+++ b/network/ddgr/ddgr.info
@@ -1,10 +1,10 @@
PRGNAM="ddgr"
-VERSION="1.6"
+VERSION="1.9"
HOMEPAGE="https://github.com/jarun/ddgr"
-DOWNLOAD="https://github.com/jarun/ddgr/archive/v1.6/ddgr-1.6.tar.gz"
-MD5SUM="6951ea48c661baa0742720287070aafa"
+DOWNLOAD="https://github.com/jarun/ddgr/archive/v1.9/ddgr-1.9.tar.gz"
+MD5SUM="c1f307709665e19db1cc65a04d1402f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/deis/README b/network/deis/README
deleted file mode 100644
index ae76f73b3f..0000000000
--- a/network/deis/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Deis is a Django/Celery API server, Python CLI and set of Chef cookbooks
-that combine to provide a Heroku-inspired application platform for
-public and private clouds.
-
-Your PaaS. Your Rules.
-
-NOTE: Required python-urllib3 == 1.10.2
diff --git a/network/deis/deis.SlackBuild b/network/deis/deis.SlackBuild
deleted file mode 100644
index 3ea477ee61..0000000000
--- a/network/deis/deis.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for deis
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=deis
-VERSION=${VERSION:-1.6.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -f $PKG/usr/README.rst
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/deis/deis.info b/network/deis/deis.info
deleted file mode 100644
index d0e74d8a01..0000000000
--- a/network/deis/deis.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="deis"
-VERSION="1.6.1"
-HOMEPAGE="http://deis.io/"
-DOWNLOAD="https://pypi.python.org/packages/source/d/deis/deis-1.6.1.tar.gz"
-MD5SUM="dda95188c7bb4562c97eeeefc4eed8f9"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="docopt python-dateutil python-requests termcolor PyYAML python-tabulate ndg_httpsclient"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/deis/slack-desc b/network/deis/slack-desc
deleted file mode 100644
index 39c0314cbe..0000000000
--- a/network/deis/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-deis: deis (Command-line Client for Deis)
-deis:
-deis: The Deis client is a Python CLI that issues API calls to a private
-deis: Deis controller, providing a Heroku-inspired PaaS workflow.
-deis:
-deis: Homepage: http://deis.io/
-deis:
-deis:
-deis:
-deis:
-deis:
diff --git a/network/deltachat/README b/network/deltachat/README
new file mode 100644
index 0000000000..118f0f3717
--- /dev/null
+++ b/network/deltachat/README
@@ -0,0 +1,7 @@
+Delta Chat is a new chat app that sends messages via e-mails, encrypted
+if possible, with Autocrypt. You do not have to sign up anywhere, just
+use your existing e-mail account with Delta Chat.
+
+------------------------------------------------------------------------
+This SlackBuild downloads and installs the official AppImage under
+'/opt'.
diff --git a/network/deltachat/deltachat.SlackBuild b/network/deltachat/deltachat.SlackBuild
new file mode 100644
index 0000000000..5d9b567d67
--- /dev/null
+++ b/network/deltachat/deltachat.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for Delta Chat
+
+# Copyright 2023 Slackjeff <slackjeff@riseup.net>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#########################################################################
+# ChangeLog
+#
+# IMPORTANT: update this if you change this script!)
+#########################################################################
+
+# 1.0 01-JAN-2023 Added (Version: 1.34.2)
+# 2.0 04-JULY-2023 Added (Version: 1.38.1)
+# 3.0 24-DEC-2023 Added (Version: 1.42.2)
+
+cd "$(dirname "$0")" ; CWD=$(pwd)
+
+PRGNAM=deltachat
+VERSION=${VERSION:-1.42.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH="${ARCH:-$(uname -m)}"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION."
+ exit 1;
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP="${TMP:-/tmp/SBo}"
+PKG="$TMP/package-$PRGNAM"
+OUTPUT="${OUTPUT:-/tmp}"
+
+APPIMGNAM="DeltaChat-$VERSION.AppImage"
+
+set -e
+
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+mkdir -p "$PKG/install"
+mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
+mkdir -p "$PKG/usr/share/$PRGNAM-$VERSION"
+mkdir -p "$PKG/usr/share/applications"
+mkdir -p "$PKG/usr/share/pixmaps"
+mkdir -p "$PKG/usr/bin"
+mkdir -p "$PKG/opt"
+cd $PKG/opt
+install -m 755 $CWD/$APPIMGNAM .
+./$APPIMGNAM --appimage-extract
+rm -f $APPIMGNAM
+mv squashfs-root $PRGNAM-$VERSION
+# Fix Perms
+chown -R root:root .
+find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+chmod +x $PRGNAM-$VERSION/usr/lib*/*.so*
+ln -s "/opt/$PRGNAM-$VERSION/$PRGNAM-desktop" "$PKG/usr/bin/$PRGNAM"
+ln -s "/opt/$PRGNAM-$VERSION/$PRGNAM-desktop.png" "$PKG/usr/share/pixmaps/$PRGNAM-desktop.png"
+
+cat $CWD/$PRGNAM.SlackBuild > "$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild"
+cat $CWD/README > "$PKG/usr/doc/$PRGNAM-$VERSION/README"
+cat $CWD/slack-desc > "$PKG/install/slack-desc"
+cat $CWD/doinst.sh > "$PKG/install/doinst.sh"
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+cd "$PKG"
+
+# Strip
+find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/network/deltachat/deltachat.desktop b/network/deltachat/deltachat.desktop
new file mode 100644
index 0000000000..4d67906be5
--- /dev/null
+++ b/network/deltachat/deltachat.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=DeltaChat
+Exec=deltachat --no-sandbox %U
+Terminal=false
+Type=Application
+Icon=deltachat-desktop
+StartupWMClass=DeltaChat
+Comment=Desktop Application for delta.chat
+Keywords=dc;chat;delta;messaging;messenger;email
+Categories=Network;Chat;InstantMessaging;
diff --git a/network/deltachat/deltachat.info b/network/deltachat/deltachat.info
new file mode 100644
index 0000000000..995eccae6f
--- /dev/null
+++ b/network/deltachat/deltachat.info
@@ -0,0 +1,10 @@
+PRGNAM="deltachat"
+VERSION="1.42.2"
+HOMEPAGE="https://delta.chat/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.delta.chat/desktop/v1.42.2/DeltaChat-1.42.2.AppImage"
+MD5SUM_x86_64="c116a69fbb35bef2cbad5a88e04f446e"
+REQUIRES=""
+MAINTAINER="slackjeff"
+EMAIL="slackjeff@riseup.net"
diff --git a/network/BitchX/doinst.sh b/network/deltachat/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/BitchX/doinst.sh
+++ b/network/deltachat/doinst.sh
diff --git a/network/deltachat/slack-desc b/network/deltachat/slack-desc
new file mode 100644
index 0000000000..9384e23e1e
--- /dev/null
+++ b/network/deltachat/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+deltachat: deltachat (messaging app that works over e-mail.)
+deltachat:
+deltachat: New chat app that sends messages via e-mails, encrypted if possible
+deltachat: with Autocrypt. You do not have to sign up anywhere, just use your
+deltachat: existing e-mail account with Delta Chat.
+deltachat: Independent of any company or services. You own your data.
+deltachat:
+deltachat:
+deltachat:
+deltachat: https://delta.chat/
+deltachat:
diff --git a/network/deluge/README b/network/deluge/README
index 3a1a831f39..f52da898d7 100644
--- a/network/deluge/README
+++ b/network/deluge/README
@@ -1,3 +1,3 @@
-Deluge is a bittorrent client for Linux and other Unix-Like operating
-systems. Deluge was created because of the lack of a good, native, GTK based
-torrent solution for Linux.
+Deluge is a bittorrent client for Linux and other Unix-Like operating
+systems. Deluge was created because of the lack of a good, native, GTK
+based torrent solution for Linux.
diff --git a/network/deluge/deluge.SlackBuild b/network/deluge/deluge.SlackBuild
index 23b2f1a6a3..18ead3ad4a 100644
--- a/network/deluge/deluge.SlackBuild
+++ b/network/deluge/deluge.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for deluge.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+# Copyright 2019-2022 Logan Rathbone <poprocks@gmail.com>
#
# All rights reserved.
#
@@ -25,10 +25,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=deluge
-VERSION=${VERSION:-2.0.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,8 +78,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py build || exit 1
-python setup.py install --root=$PKG || exit 1
+python3 setup.py install --root=$PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -92,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/deluge/deluge.info b/network/deluge/deluge.info
index 0263717aa8..3b04ed5b43 100644
--- a/network/deluge/deluge.info
+++ b/network/deluge/deluge.info
@@ -1,10 +1,10 @@
PRGNAM="deluge"
-VERSION="2.0.3"
+VERSION="2.1.1"
HOMEPAGE="https://www.deluge-torrent.org/"
-DOWNLOAD="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-2.0.3.tar.xz"
-MD5SUM="fbe784ebed006cd93c9a50f7c0530051"
+DOWNLOAD="https://ftp.osuosl.org/pub/deluge/source/2.1/deluge-2.1.1.tar.xz"
+MD5SUM="2f132a55217fd250967678c9a555bad5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Mako MarkupSafe libtorrent-rasterbar pyOpenSSL python-chardet python-twisted pyxdg rencode service_identity setproctitle wheel"
+REQUIRES="rencode python3-twisted pyOpenSSL libtorrent-rasterbar"
MAINTAINER="Logan Rathbone"
EMAIL="poprocks@gmail.com"
diff --git a/network/dhcping/dhcping.SlackBuild b/network/dhcping/dhcping.SlackBuild
index ee77c1a33f..35797703d0 100644
--- a/network/dhcping/dhcping.SlackBuild
+++ b/network/dhcping/dhcping.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dhcping
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dhcping
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dianara/dianara.SlackBuild b/network/dianara/dianara.SlackBuild
index 8402ad1c47..386ec28ad5 100644
--- a/network/dianara/dianara.SlackBuild
+++ b/network/dianara/dianara.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dianara
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dianara
-VERSION=${VERSION:-1.3.4}
+VERSION=${VERSION:-1.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,7 +82,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
qmake Dianara.pro \
- QMAKE_CXXFLAGS="$SLKCFLAGS"
+ QMAKE_CXXFLAGS="$SLKCFLAGS -I/usr/include/QtOAuth"
make
make install INSTALL_ROOT=$PKG
@@ -84,7 +94,7 @@ mkdir -p $PKG/usr/share/$PRGNAM/translations
install -p -D -m 0644 translations/*.qm $PKG/usr/share/$PRGNAM/translations/
mkdir -p $PKG/usr/share/applications
-install -p -D -m 0644 dianara.desktop $PKG/usr/share/applications/
+install -p -D -m 0644 org.nongnu.dianara.desktop $PKG/usr/share/applications/dianara.desktop
mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps
install -p -D -m 0644 icon/32x32/dianara.png \
@@ -94,9 +104,7 @@ mkdir -p $PKG/usr/share/icons/hicolor/64x64/apps
install -p -D -m 0644 icon/64x64/dianara.png \
$PKG/usr/share/icons/hicolor/64x64/apps/
-mkdir -p $PKG/usr/man/man1
-install -p -D -m 0644 manual/dianara.1 $PKG/usr/man/man1
-
+mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz \;
rm $i ; done
@@ -118,4 +126,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dianara/dianara.info b/network/dianara/dianara.info
index f96681c250..44b0ab2627 100644
--- a/network/dianara/dianara.info
+++ b/network/dianara/dianara.info
@@ -1,8 +1,8 @@
PRGNAM="dianara"
-VERSION="1.3.4"
+VERSION="1.4.3"
HOMEPAGE="http://dianara.nongnu.org"
-DOWNLOAD="http://download.savannah.gnu.org/releases/dianara/dianara-v1.3.4.tar.gz"
-MD5SUM="7a1991d8e7af6ca71427f20d46e822a3"
+DOWNLOAD="http://download.savannah.gnu.org/releases/dianara/dianara-v1.4.3.tar.gz"
+MD5SUM="cae0b2e282651b012d01ef03bf4d5707"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qoauth"
diff --git a/network/dillo/README b/network/dillo/README
index 5d4725b929..90dd6b4156 100644
--- a/network/dillo/README
+++ b/network/dillo/README
@@ -1,5 +1,6 @@
Dillo is a multi-platform graphical web browser known for its speed
and small footprint. It is written in C and C++ and is based on FLTK.
-HTTPS and SSL support is built into this but is only at *alpha* stage. It can
-be commented out in the dillo.SlackBuild file if you wish.
+HTTPS and SSL support is built into this but is only at *alpha*
+stage. It can be commented out in the dillo.SlackBuild file if you
+wish.
diff --git a/network/dillo/dillo-3.0.5-fno-common.patch b/network/dillo/dillo-3.0.5-fno-common.patch
new file mode 100644
index 0000000000..df80f55afa
--- /dev/null
+++ b/network/dillo/dillo-3.0.5-fno-common.patch
@@ -0,0 +1,100 @@
+--- a/dpid/dpid.c
++++ b/dpid/dpid.c
+@@ -41,6 +41,26 @@
+ volatile sig_atomic_t caught_sigchld = 0;
+ char *SharedKey = NULL;
+
++char *srs_name;
++
++/*! dpid's service request socket file descriptor */
++int srs_fd;
++
++/*! Number of available plugins */
++int numdpis;
++
++/*! Number of sockets being watched */
++int numsocks;
++
++/*! State information for each plugin. */
++struct dp *dpi_attr_list;
++
++/*! service served for each plugin */
++Dlist *services_list;
++
++/*! Set of sockets watched for connections */
++fd_set sock_set;
++
+ /*! Remove dpid_comm_keys file.
+ * This avoids that dillo instances connect to a stale port after dpid
+ * has exited (e.g. after a reboot).
+--- a/dpid/dpid.h
++++ b/dpid/dpid.h
+@@ -25,10 +25,10 @@
+
+ /*! \TODO: Should read this from dillorc */
+ #define SRS_NAME "dpid.srs"
+-char *srs_name;
++extern char *srs_name;
+
+ /*! dpid's service request socket file descriptor */
+-int srs_fd;
++extern int srs_fd;
+
+ /*! plugin state information
+ */
+@@ -49,19 +49,19 @@
+ };
+
+ /*! Number of available plugins */
+-int numdpis;
++extern int numdpis;
+
+ /*! Number of sockets being watched */
+-int numsocks;
++extern int numsocks;
+
+ /*! State information for each plugin. */
+-struct dp *dpi_attr_list;
++extern struct dp *dpi_attr_list;
+
+ /*! service served for each plugin */
+-Dlist *services_list;
++extern Dlist *services_list;
+
+ /*! Set of sockets watched for connections */
+-fd_set sock_set;
++extern fd_set sock_set;
+
+ /*! Set to 1 by the SIGCHLD handler dpi_sigchld */
+ extern volatile sig_atomic_t caught_sigchld;
+--- a/dpid/dpid_common.c
++++ b/dpid/dpid_common.c
+@@ -14,6 +14,9 @@
+ #include <unistd.h>
+ #include "dpid_common.h"
+
++/*! Error codes for dpid */
++dpi_errno_t dpi_errno;
++
+ /*
+ * Send a verbose error message.
+ */
+--- a/dpid/dpid_common.h
++++ b/dpid/dpid_common.h
+@@ -35,12 +35,13 @@
+ #define CKD_WRITE(fd, msg) ckd_write(fd, msg, __FILE__, __LINE__)
+ #define CKD_CLOSE(fd) ckd_close(fd, __FILE__, __LINE__)
+
+-
+ /*! Error codes for dpid */
+-enum {
++typedef enum {
+ no_errors,
+ dpid_srs_addrinuse /* dpid service request socket address already in use */
+-} dpi_errno;
++} dpi_errno_t;
++
++extern dpi_errno_t dpi_errno;
+
+ /*! Intended for identifying dillo plugins
+ * and related files
diff --git a/network/dillo/dillo-3.0.5-openssl-1.1.patch b/network/dillo/dillo-3.0.5-openssl-1.1.patch
new file mode 100644
index 0000000000..f21694113c
--- /dev/null
+++ b/network/dillo/dillo-3.0.5-openssl-1.1.patch
@@ -0,0 +1,26 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -286,7 +286,7 @@
+
+ if test "x$ssl_ok" = "xyes"; then
+ old_libs="$LIBS"
+- AC_CHECK_LIB(ssl, SSL_library_init, ssl_ok=yes, ssl_ok=no, -lcrypto)
++ AC_CHECK_LIB(ssl, OPENSSL_config, ssl_ok=yes, ssl_ok=no, -lcrypto)
+ LIBS="$old_libs"
+ fi
+
+--- a/dpi/https.c
++++ b/dpi/https.c
+@@ -476,7 +476,11 @@
+ case X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT:
+ /*Either self signed and untrusted*/
+ /*Extract CN from certificate name information*/
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ if ((cn = strstr(remote_cert->name, "/CN=")) == NULL) {
++#else
++ if ((cn = strstr(X509_get_subject_name(remote_cert), "/CN=")) == NULL) {
++#endif
+ strcpy(buf, "(no CN given)");
+ } else {
+ char *cn_end;
+
diff --git a/network/dillo/dillo.SlackBuild b/network/dillo/dillo.SlackBuild
index cee153a1b1..5094bd6ec7 100644
--- a/network/dillo/dillo.SlackBuild
+++ b/network/dillo/dillo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dillo. It has NOT been tested on x86_64.
@@ -24,26 +24,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dillo
VERSION=${VERSION:-3.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +81,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Thanks gentoo!
+patch -p1 < $CWD/dillo-3.0.5-openssl-1.1.patch
+patch -p1 < $CWD/dillo-3.0.5-fno-common.patch
+
+autoreconf -fi
+
#https and ssl are in the alpha stage, but if you don't want to try and use it
#just delete or comment out --enable-ssl
@@ -105,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dino/README b/network/dino/README
new file mode 100644
index 0000000000..c02e88b308
--- /dev/null
+++ b/network/dino/README
@@ -0,0 +1,11 @@
+dino is super simple jabber client with support for video calls
+
+Dino is written in vala and is well compatible
+with Conversations Android.
+
+Dino does not support neither system tray nor
+multiple windows.
+
+To switch theme, run it like:
+
+/usr/bin/env GTK_THEME=Adwaita:dark /usr/bin/dino
diff --git a/network/dino/dino.SlackBuild b/network/dino/dino.SlackBuild
new file mode 100644
index 0000000000..06f927cc17
--- /dev/null
+++ b/network/dino/dino.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for nghttp3
+# Copyright 2023 Lockywolf
+
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+set -uoe pipefail
+
+TGZNAM=dino
+PRGNAM=dino
+VERSION=${VERSION:-0.4.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=${ARCH:-}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+PRINT_PACKAGE_NAME=${PRINT_PACKAGE_NAME:-}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $TMP
+rm -rf $TGZNAM-$VERSION
+tar xvf $CWD/$TGZNAM-$VERSION.tar.?z* || exit 1
+cd $TGZNAM-$VERSION || exit 1
+
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --with-libsoup3 \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --lib-suffix=${LIBDIRSUFFIX} \
+ --build=$ARCH-slackware-linux || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+# Strip binaries:
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+)
+
+# Add a documentation directory:
+mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
+cp -a \
+ "$CWD/dino.SlackBuild" "$CWD/slack-desc" "$CWD/README" "$CWD/$PRGNAM.info" \
+ README.md LICENSE \
+ $PKG/usr/doc/${PRGNAM}-$VERSION
+chown root:root $PKG/usr/doc/${PRGNAM}-$VERSION/*
+
+mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/network/dino/dino.info b/network/dino/dino.info
new file mode 100644
index 0000000000..dfedf0f9a7
--- /dev/null
+++ b/network/dino/dino.info
@@ -0,0 +1,10 @@
+PRGNAM="dino"
+VERSION="0.4.2"
+HOMEPAGE="https://github.com/dino/dino/"
+DOWNLOAD="https://github.com/dino/dino/releases/download/v0.4.2/dino-0.4.2.tar.gz"
+MD5SUM="6437acc254ccb92ce195b760113d8cc0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libsignal-protocol-c libadwaita libsrtp2 libsoup3 webrtc-audio-processing"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo-dino_2023-05-09@lockywolf.net"
diff --git a/network/fwbuilder/doinst.sh b/network/dino/doinst.sh
index 4a25de5e6f..4a25de5e6f 100644
--- a/network/fwbuilder/doinst.sh
+++ b/network/dino/doinst.sh
diff --git a/network/dino/slack-desc b/network/dino/slack-desc
new file mode 100644
index 0000000000..6845a437dc
--- /dev/null
+++ b/network/dino/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+dino: dino (a super simple Jabber client supporting video calls)
+dino:
+dino: dino supports groupchats, OMEMO and GnuPG encryption, and
+dino: video calls
+dino:
+dino:
+dino:
+dino:
+dino:
+dino:
+dino:
diff --git a/network/dirb/README b/network/dirb/README
index 3e85a34679..69e6d3ba72 100644
--- a/network/dirb/README
+++ b/network/dirb/README
@@ -1,14 +1,15 @@
-DIRB is a Web Content Scanner. It looks for existing (and/or hidden) Web
-Objects. It basically works by launching a dictionary based attack against
-a web server and analizing the response.
+DIRB is a Web Content Scanner. It looks for existing (and/or hidden)
+Web Objects. It basically works by launching a dictionary based attack
+against a web server and analizing the response.
-DIRB comes with a set of preconfigured attack wordlists for easy usage but
-you can use your custom wordlists. Also DIRB sometimes can be used as a
-classic CGI scanner, but remember it is a content scanner not a vulnerability
-scanner.
+DIRB comes with a set of preconfigured attack wordlists for easy usage
+but you can use your custom wordlists. Also DIRB sometimes can be used
+as a classic CGI scanner, but remember it is a content scanner not a
+vulnerability scanner.
DIRB main purpose is to help in professional web application auditing.
-Especially in security related testing. It covers some holes not covered by
-classic web vulnerability scanners. DIRB looks for specific web objects that
-other generic CGI scanners can't look for. It doesn't search vulnerabilities
-nor does it look for web content that could be vulnerable.
+Especially in security related testing. It covers some holes not
+covered by classic web vulnerability scanners. DIRB looks for specific
+web objects that other generic CGI scanners can't look for. It doesn't
+search vulnerabilities nor does it look for web content that could be
+vulnerable.
diff --git a/network/dirb/dirb.SlackBuild b/network/dirb/dirb.SlackBuild
index 7fd1a25f74..e7f6fd869e 100644
--- a/network/dirb/dirb.SlackBuild
+++ b/network/dirb/dirb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dirb
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dirb
VERSION=${VERSION:-222}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,7 +82,7 @@ find -L . \
# Fix broken permissions
chmod 755 configure
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -97,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/discord/README b/network/discord/README
index 9885858f9c..a925a39705 100644
--- a/network/discord/README
+++ b/network/discord/README
@@ -5,3 +5,9 @@ works on both your desktop and phone. Stop paying for TeamSpeak
servers and hassling with Skype. Simplify your life.
Discord is only available as a 64bit program. 32bit is unsupported.
+
+If you'd like Discord to continue working after an upstream update
+is released, but is not yet available on SBo, add the following to
+your user's ~/.config/discord/settings.json file:
+
+"SKIP_HOST_UPDATE": true
diff --git a/network/discord/discord.SlackBuild b/network/discord/discord.SlackBuild
index 168541a92b..51712eae42 100644
--- a/network/discord/discord.SlackBuild
+++ b/network/discord/discord.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for discord
#
-# Copyright 2016-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2016-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=discord
-VERSION=${VERSION:-0.0.13}
+VERSION=${VERSION:-0.0.50}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,19 +38,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
DEBARCH="i386"
- LIBDIRSUFFIX=""
echo "This package is currently only available for 64bit."
exit 1
elif [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
- LIBDIRSUFFIX="64"
else
echo "Package for $(uname -m) architecture is not available."
exit 1
@@ -77,9 +82,12 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Don't need these:
rm -rf $PKG/usr/share/doc $PKG/usr/share/lintian
+# Correct permissions error found using sbopkglint
+chmod +x $PKG/usr/share/discord/lib*.so*
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/discord/discord.info b/network/discord/discord.info
index 00fdb257ec..e667e9d346 100644
--- a/network/discord/discord.info
+++ b/network/discord/discord.info
@@ -1,10 +1,10 @@
PRGNAM="discord"
-VERSION="0.0.13"
+VERSION="0.0.50"
HOMEPAGE="https://discordapp.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://dl.discordapp.net/apps/linux/0.0.13/discord-0.0.13.deb"
-MD5SUM_x86_64="dea4e1aec0d8bad0938e22dd8d8e8049"
-REQUIRES="libc++"
+DOWNLOAD_x86_64="https://dl.discordapp.net/apps/linux/0.0.50/discord-0.0.50.deb"
+MD5SUM_x86_64="d8833eed04524519f0dc716252fc751a"
+REQUIRES=""
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/network/dissenter-browser/README b/network/dissenter-browser/README
deleted file mode 100644
index e475ecd0fc..0000000000
--- a/network/dissenter-browser/README
+++ /dev/null
@@ -1,9 +0,0 @@
-The free speech web browser.
-
-Browse faster by blocking ads and trackers that violate your privacy
-and cost you time and money.
-
-Dissenter is 64-bit software.
-
-This SlackBuild does not build Dissenter from source, it simply repackages
-the binary.
diff --git a/network/dissenter-browser/dissenter-browser.SlackBuild b/network/dissenter-browser/dissenter-browser.SlackBuild
deleted file mode 100644
index 7eaedda22e..0000000000
--- a/network/dissenter-browser/dissenter-browser.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dissenter-browser
-
-# Copyright 2019 Donald Cooley South Haven, Indiana USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=dissenter-browser
-VERSION=${VERSION:-1.5.114}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Abort build if architecture is not 64-bit.
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is not supported."
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-rpm2cpio < $CWD/${PRGNAM}-${VERSION}-${BUILD}.${ARCH}.rpm | cpio -imdv
-chown -R root:root .
-find -L . \
-\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
--o -perm 511 \) -exec chmod 755 {} \; -o \
-\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
--o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-cp -ap usr opt $PKG/
-
-# Slackware doesn't ship a GNOME desktop so I don't see any reason for gnome-control-center
-rm -rf $PKG/usr/share/gnome-control-center
-
-# Move icon into place
-mkdir -p $PKG/usr/share/pixmaps
-cp opt/dissenter.com/dissenter/*.xpm $PKG/usr/share/pixmaps/dissenter-browser.xpm
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/usr/lib
-
-# Place man page(s) where The Man likes 'em
-mv $PKG/usr/share/man $PKG/usr/man
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dissenter-browser/dissenter-browser.info b/network/dissenter-browser/dissenter-browser.info
deleted file mode 100644
index d5ed39bc37..0000000000
--- a/network/dissenter-browser/dissenter-browser.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dissenter-browser"
-VERSION="1.5.114"
-HOMEPAGE="https://dissenter.com"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/gab-ai-inc/defiant-browser/releases/download/v1.5.114/dissenter-browser-1.5.114-1.x86_64.rpm"
-MD5SUM_x86_64="1e79f69736bc849a08d3f4399c49aca1"
-REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/network/dissenter-browser/doinst.sh b/network/dissenter-browser/doinst.sh
deleted file mode 100644
index f1e78d65ce..0000000000
--- a/network/dissenter-browser/doinst.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
diff --git a/network/dissenter-browser/slack-desc b/network/dissenter-browser/slack-desc
deleted file mode 100644
index e2446ed6b2..0000000000
--- a/network/dissenter-browser/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dissenter-browser: dissenter-browser (the free speech web browser)
-dissenter-browser:
-dissenter-browser: Browse faster by blocking ads and trackers that violate your privacy
-dissenter-browser: and cost you time and money.
-dissenter-browser:
-dissenter-browser:
-dissenter-browser:
-dissenter-browser:
-dissenter-browser:
-dissenter-browser: https://dissenter.com
-dissenter-browser:
diff --git a/network/dkimproxy/dkimproxy.SlackBuild b/network/dkimproxy/dkimproxy.SlackBuild
index f3860a6c04..732dead34e 100644
--- a/network/dkimproxy/dkimproxy.SlackBuild
+++ b/network/dkimproxy/dkimproxy.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DKIMproxy
# Copyright 2010, Steven King <kingrst@gmail.com>
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dkimproxy
VERSION=${VERSION:-1.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -118,7 +132,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING INSTALL NEWS README TODO ChangeLog smtpprox.ChangeLog \
+ AUTHORS COPYING NEWS README TODO ChangeLog smtpprox.ChangeLog \
smtpprox.README smtpprox.TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -135,4 +149,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dkimproxy/dkimproxy.info b/network/dkimproxy/dkimproxy.info
index 78257acaa8..accfde7268 100644
--- a/network/dkimproxy/dkimproxy.info
+++ b/network/dkimproxy/dkimproxy.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/dkimproxy/dkimproxy-1.4.1.tar.gz"
MD5SUM="3ecaa38a8c865a5b7682f7f261354218"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Crypt-OpenSSL-RSA perl-digest-sha1 perl-MailTools perl-net-dns perl-Net-Server perl-Mail-DKIM"
-MAINTAINER="Steven King"
-EMAIL="kingrst@gmail.com"
+REQUIRES="perl-Net-Server perl-Mail-DKIM"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/network/dma/README b/network/dma/README
index 66108f5935..b4e69c3b1b 100644
--- a/network/dma/README
+++ b/network/dma/README
@@ -1,4 +1,7 @@
-dma is a small Mail Transport Agent (MTA), designed for home and office use.
-It accepts mails from locally installed Mail User Agents (MUA) and delivers
-the mails either locally or to a remote destination.
-Remote delivery includes several features like TLS/SSL support and SMTP authentication.
+dma is a small Mail Transport Agent (MTA), designed for home and
+office use. It accepts mails from locally installed Mail User
+Agents (MUA) and delivers the mails either locally or to a remote
+destination.
+
+Remote delivery includes several features like TLS/SSL support and
+SMTP authentication.
diff --git a/network/dma/dma.SlackBuild b/network/dma/dma.SlackBuild
index e6766f6b8d..6646e51b30 100644
--- a/network/dma/dma.SlackBuild
+++ b/network/dma/dma.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dma
# All rights reserved.
@@ -20,10 +20,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dma
VERSION=${VERSION:-0.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dmitry/README b/network/dmitry/README
index 3691ef6b21..e5f7c80b4d 100644
--- a/network/dmitry/README
+++ b/network/dmitry/README
@@ -1,5 +1,5 @@
-DMitry (Deepmagic Information Gathering Tool) is a UNIX/(GNU)Linux Command
-Line Application coded in C. DMitry has the ability to gather as much
-information as possible about a host. Base functionality is able to gather
-possible subdomains, email addresses, uptime information, tcp port scan,
-whois lookups, and more.
+DMitry (Deepmagic Information Gathering Tool) is a UNIX/(GNU)Linux
+Command Line Application coded in C. DMitry has the ability to gather
+as much information as possible about a host. Base functionality
+is able to gather possible subdomains, email addresses, uptime
+information, tcp port scan, whois lookups, and more.
diff --git a/network/dmitry/dmitry.SlackBuild b/network/dmitry/dmitry.SlackBuild
index bca6380c53..1b470564ef 100644
--- a/network/dmitry/dmitry.SlackBuild
+++ b/network/dmitry/dmitry.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dmitry
@@ -20,11 +20,14 @@
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dmitry
SRCNAM=DMitry
VERSION=${VERSION:-1.3a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,7 +78,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dnscrypt-proxy/README b/network/dnscrypt-proxy/README
index 3e69789b36..0e857524f6 100644
--- a/network/dnscrypt-proxy/README
+++ b/network/dnscrypt-proxy/README
@@ -1,13 +1,11 @@
-dnscrypt-proxy is a tool for securing communications between a client and a DNS
-resolver. It provides a local service which can be used directly as your local
-resolver or as a DNS forwarder, encrypting and authenticating requests using the
-DNSCrypt protocol and passing them to an upstream server.
+DNSCrypt is a protocol that encrypts, authenticates and optionally
+anonymizes communications between a DNS client and a DNS resolver.
+It prevents DNS spoofing. It uses cryptographic signatures to verify
+that responses originate from the chosen DNS resolver and haven’t been
+tampered with.
-By default dnscrypt-proxy is configured to use a random DNS server; you will
-definitely want to change this.
+It is an open specification, with free and open source reference
+implementations, and it is not affiliated with any company nor
+organization.
-Note that google-go-lang is a compile-time dependency and is not needed during
-run-time.
-
-Be sure to read README.Slackware for information on configuring/running
-dnscrypt-proxy as a daemon!
+Free, DNSCrypt-enabled resolvers are available all over the world.
diff --git a/network/dnscrypt-proxy/README.Slackware b/network/dnscrypt-proxy/README.Slackware
index b5a6388c56..11336b5864 100644
--- a/network/dnscrypt-proxy/README.Slackware
+++ b/network/dnscrypt-proxy/README.Slackware
@@ -1,27 +1,34 @@
-A. Setup
+An init script and configuration file have been provided to run
+dnscrypt-proxy as a daemon. To configure dnscrypt-proxy, edit:
-An init script and configuration file have been provided to run dnscrypt-proxy
-as a daemon. To configure dnscrypt-proxy, edit
-/etc/dnscrypt-proxy/dnscrypt-proxy.toml with the desired settings. By default
-dnscrypt-proxy will use a random DNS server and will run on localhost
-(127.0.0.1), port 53.
+ /etc/dnscrypt-proxy/dnscrypt-proxy.toml
-The configuration file is setup to use a dnscrypt user by default. In order to
-use the default configuration you should create a dnscrypt user and group with
-the following commands:
+Remember to chmod +x /etc/rc.d/rc.dnscrypt-proxy before starting.
+
+By default dnscrypt-proxy will use a random DNS server, i have hardcoded
+some anonymizing relays to bounce the DNS querries around for increased
+privacy.
+Built in local caching is also enabled by default.
+The proxy will run on localhost 127.0.0.1 and ::1 port 53.
+If ipv6 is not required or available, it can be disabled in the config.
+
+The configuration file is setup to use a 'dnscrypt' user by default.
+In order to use the default configuration you should create a
+'dnscrypt' user and group with the following commands:
groupadd -g 293 dnscrypt
useradd -u 293 -g 293 -c "DNSCrypt" -d /run/dnscrypt -s /bin/false dnscrypt
-If you decide to use another user you should edit the USER setting in
-/etc/default/dnscrypt-proxy and the user_name setting in
-/etc/dnscrypt-proxy/dnscrypt-proxy.toml (there are example settings provided
-for the user 'nobody').
+If you decide to use another user you should edit the user_name setting
+in:
-In order to send all DNS requests through dnscrypt-proxy, you will need to
-update /etc/resolv.conf to point to localhost. If using dhcpcd, the easiest way
-to set dnscrypt-proxy as the primary (but not exclusive) dns resolver is to
-create file /etc/resolv.conf.head with the following line:
+ /etc/dnscrypt-proxy/dnscrypt-proxy.toml
+
+In order to send all DNS requests through dnscrypt-proxy, you will need
+to update /etc/resolv.conf to point to localhost. If using dhcpcd, the
+easiest way to set dnscrypt-proxy as the primary (but not exclusive)
+dns resolver is to create file /etc/resolv.conf.head with the following
+line:
nameserver 127.0.0.1
@@ -29,30 +36,27 @@ You may also have to add the following line to enable EDNS:
options edns0
-To start dnscrypt-proxy automatically at system start, add the following to
-/etc/rc.d/rc.local:
+It is also recommended to make the resolv.conf file immutable by
+issuing:
+
+ chattr +i /etc/resolv.conf
+
+To prevent the settings from being reset by dhcp or any other service.
+
+To start dnscrypt-proxy automatically at system start, add the following
+to:
+
+ /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.dnscrypt-proxy ]; then
/etc/rc.d/rc.dnscrypt-proxy start
fi
-To properly stop dnscrypt-proxy on system shutdown, add the following to
-/etc/rc.d/rc.local_shutdown:
+To properly stop dnscrypt-proxy on system shutdown, add the following
+to:
+
+ /etc/rc.d/rc.local_shutdown:
if [ -x /etc/rc.d/rc.dnscrypt-proxy ]; then
/etc/rc.d/rc.dnscrypt-proxy stop
fi
-
-B. DNS Cache
-
-dnscrypt-proxy provides control over how it caches DNS queries via its
-configuration file. However, you can also run your own local caching DNS
-server. A sample configuration for dnsmasq (included with Slackware) is
-provided at /usr/doc/dnscrypt-proxy-@VERSION@/dnsmasq.conf. A sample
-configuration for bind/named that also does local DNSSEC validation (if
-supported by the upstream DNS server) is also provided at
-/usr/doc/dnscrypt-proxy-@VERSION@/named.conf. Both configurations run on port
-53, forwarding lookups to dnscrypt-proxy running on port 55. In order to use
-these configurations you will need to change the port dnscrypt-proxy runs on in
-/etc/dnscrypt-proxy/dnscrypt-proxy.toml. If you perform your own DNS caching,
-it makes sense to disable dnscrypt-proxy's caching in its configuration file.
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
index 01a89c316e..4b59f7799e 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dnscrypt-proxy
-# Copyright 2019 T3slider <t3slider@gmail.com>
+# Copyright 2023 thnkman <thnkman@proton.me>
+# Based on Marco Bonetti's <sid77@slackware.it> tor script.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,17 +23,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Thanks to Larry Hajali for work on README.Slackware, the basis for the sample
-# dnsmasq configuration, and the idea for an init script. His contributions
-# significantly improved the value of this script!
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dnscrypt-proxy
-VERSION=${VERSION:-2.0.42}
+VERSION=${VERSION:-2.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DOMAIN=github.com
-ORG=jedisct1
+DNSCRYPT_USER=${DNSCRYPT_USER:-dnscrypt}
+DNSCRYPT_UID=${DNSCRYPT_UID:-293}
+DNSCRYPT_GROUP=${DNSCRYPT_GROUP:-dnscrypt}
+DNSCRYPT_GID=${DNSCRYPT_GID:-293}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,32 +44,44 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
set -e
+bailout() {
+ echo -e "\nYou must have a $DNSCRYPT_USER user and $DNSCRYPT_GROUP group to run this script. "
+ echo -e "Something like this should suffice for most systems: "
+ echo -e "# groupadd -g $DNSCRYPT_GID $DNSCRYPT_GROUP "
+ echo -e "# useradd -u $DNSCRYPT_UID -g $DNSCRYPT_GID -c \"DNSCrypt-proxy\" -d /dev/null -s /bin/false $DNSCRYPT_USER \n"
+ exit 1
+}
+
+if ! grep -q "^$DNSCRYPT_USER:" /etc/passwd > /dev/null 2>&1 ; then
+ bailout
+elif ! grep -q "^$DNSCRYPT_GROUP:" /etc/group > /dev/null 2>&1 ; then
+ bailout
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION/src/$DOMAIN/$ORG
-cd $PRGNAM-$VERSION/src/$DOMAIN/$ORG
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-mv $PRGNAM-$VERSION $PRGNAM
-cd $TMP/$PRGNAM-$VERSION
+if [[ $ARCH == i?86 ]]; then
+ tar xvf $CWD/$PRGNAM-linux_i386-$VERSION.tar.gz --transform="s/linux-i386/$PRGNAM-$VERSION/"
+elif [[ $ARCH == x86_64 ]]; then
+ tar xvf $CWD/$PRGNAM-linux_x86_64-$VERSION.tar.gz --transform="s/linux-x86_64/$PRGNAM-$VERSION/"
+else
+ echo "Architecture not supported"
+ exit 1
+fi
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,37 +89,28 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-export GOPATH="$TMP/$PRGNAM-$VERSION"
-
-go install -a -x ./...
-
-cd $TMP/$PRGNAM-$VERSION/src/$DOMAIN/$ORG/$PRGNAM
-
-mkdir -p $PKG/usr/sbin
+mkdir -p $PKG/usr/bin \
+ $PKG/etc/{$PRGNAM,rc.d} \
+ $PKG/var/{log,run}/$PRGNAM
-install -m 755 "$TMP/$PRGNAM-$VERSION/bin/${PRGNAM}" $PKG/usr/sbin/${PRGNAM}
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/var/log/$PRGNAM $PKG/etc/default $PKG/etc/$PRGNAM
-chmod 0700 $PKG/var/log/$PRGNAM
-sed "s/@VERSION@/$VERSION/" $CWD/$PRGNAM.default > $PKG/etc/default/$PRGNAM.new
-install -D -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-install -D -m 0644 $CWD/$PRGNAM.toml $PKG/etc/$PRGNAM/$PRGNAM.toml.new
+cp -a ./*.txt $PKG/etc/$PRGNAM/
+install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
+install -D -m 0644 $CWD/$PRGNAM.toml $PKG/etc/$PRGNAM/$PRGNAM.toml
+install -D -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ChangeLog LICENSE README.md utils $PRGNAM/example-* \
+ LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
-sed "s/@VERSION@/$VERSION/g" $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
-cat $CWD/dnsmasq.conf > $PKG/usr/doc/$PRGNAM-$VERSION/dnsmasq.conf
-cat $CWD/named.conf > $PKG/usr/doc/$PRGNAM-$VERSION/named.conf
+cat $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed -i "s/DNSCRYPT_UID=.*$/DNSCRYPT_UID=$DNSCRYPT_UID/" $PKG/install/doinst.sh
+sed -i "s/DNSCRYPT_GID=.*$/DNSCRYPT_GID=$DNSCRYPT_GID/" $PKG/install/doinst.sh
+
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.default b/network/dnscrypt-proxy/dnscrypt-proxy.default
deleted file mode 100644
index 112202cc9e..0000000000
--- a/network/dnscrypt-proxy/dnscrypt-proxy.default
+++ /dev/null
@@ -1,30 +0,0 @@
-# /etc/default/dnscrypt-proxy
-
-# This file contains additional configuration settings for dnscrypt-proxy
-# (primary configuration belongs in the dnscrypt-proxy configuration file).
-# This file supports configuring and running multiple instances (see the bottom
-# of this file for a sample secondary configuration). However, note that
-# dnscrypt-proxy now automatically provides redundancy based on a pool of
-# available servers in its own configuration file. Under normal circumstances
-# you would only ever need one active configuration in this file, but support
-# for multiple independent servers has been maintained in case you have a need
-# for segregation of upstream servers.
-
-# DNSCRYPTCONFIG should be the path to the dnscrypt-proxy configuration file
-# for the given instance.
-DNSCRYPTCONFIG[0]="/etc/dnscrypt-proxy/dnscrypt-proxy.toml"
-
-# The pid file for this instance. PIDFILE must always be specified for each
-# instance!
-PIDFILE[0]="/run/dnscrypt-proxy/dnscrypt-proxy-0.pid"
-
-# The user to run the daemon. This should be the same user specified in the
-# config.
-#USER[0]="nobody"
-USER[0]="dnscrypt"
-
-# A simple example configuration for a second instance (note that this would
-# require a new dnscrypt-proxy configuration file)
-#DNSCRYPTCONFIG[1]="/etc/dnscrypt-proxy/dnscrypt-proxy-1.toml"
-#PIDFILE[1]="/run/dnscrypt-proxy/dnscrypt-proxy-1.pid"
-#USER[1]="dnscrypt"
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.info b/network/dnscrypt-proxy/dnscrypt-proxy.info
index 99c27a29ac..f4ba8b100e 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.info
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.info
@@ -1,10 +1,10 @@
PRGNAM="dnscrypt-proxy"
-VERSION="2.0.42"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy"
-DOWNLOAD="https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.42/dnscrypt-proxy-2.0.42.tar.gz"
-MD5SUM="9892c5d281b57c5f315d2f95cd6c33d8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="google-go-lang"
-MAINTAINER="T3slider"
-EMAIL="t3slider@gmail.com"
+VERSION="2.1.5"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy"
+DOWNLOAD="https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.5/dnscrypt-proxy-linux_i386-2.1.5.tar.gz"
+MD5SUM="edbd10c9d3be0e81976203c77902f339"
+DOWNLOAD_x86_64="https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.5/dnscrypt-proxy-linux_x86_64-2.1.5.tar.gz"
+MD5SUM_x86_64="8190b0d10841aea11f74caf77dbc2c39"
+REQUIRES=""
+MAINTAINER="thnkman"
+EMAIL="thnkman@proton.me"
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.toml b/network/dnscrypt-proxy/dnscrypt-proxy.toml
index 0da38f8272..182429bd67 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.toml
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.toml
@@ -35,8 +35,11 @@
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
## Example with both IPv4 and IPv6:
## listen_addresses = ['127.0.0.1:53', '[::1]:53']
+##
+## To listen to all IPv4 addresses, use `listen_addresses = ['0.0.0.0:53']`
+## To listen to all IPv4+IPv6 addresses, use `listen_addresses = ['[::]:53']`
-listen_addresses = ['127.0.0.1:53']
+listen_addresses = ['127.0.0.1:53', '[::1]:53']
## Maximum number of simultaneous client connections to accept
@@ -49,35 +52,37 @@ max_clients = 250
## Note (2): this feature is not compatible with systemd socket activation.
## Note (3): when using -pidfile, the PID file directory must be writable by the new user
-# user_name = 'nobody'
user_name = 'dnscrypt'
-## Require servers (from static + remote sources) to satisfy specific properties
+## Require servers (from remote sources) to satisfy specific properties
# Use servers reachable over IPv4
ipv4_servers = true
# Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
-ipv6_servers = false
+ipv6_servers = true
# Use servers implementing the DNSCrypt protocol
dnscrypt_servers = true
# Use servers implementing the DNS-over-HTTPS protocol
-doh_servers = true
+doh_servers = false
+
+# Use servers implementing the Oblivious DoH protocol
+odoh_servers = false
## Require servers defined by remote sources to satisfy specific properties
# Server must support DNS security extensions (DNSSEC)
-require_dnssec = false
+require_dnssec = true
# Server must not log user queries (declarative)
require_nolog = true
-# Server must not enforce its own blacklist (for parental control, ads blocking...)
-require_nofilter = true
+# Server must not enforce its own blocklist (for parental control, ads blocking...)
+require_nofilter = false
# Server names to avoid even if they match all criteria
disabled_server_names = []
@@ -118,20 +123,31 @@ timeout = 5000
keepalive = 30
-## Response for blocked queries. Options are `refused`, `hinfo` (default) or
-## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`.
+## Add EDNS-client-subnet information to outgoing queries
+##
+## Multiple networks can be listed; they will be randomly chosen.
+## These networks don't have to match your actual networks.
+
+# edns_client_subnet = ["0.0.0.0/0", "2001:db8::/32"]
+
+
+## Response for blocked queries. Options are `refused`, `hinfo` (default) or
+## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`.
## Using the `hinfo` option means that some responses will be lies.
## Unfortunately, the `hinfo` option appears to be required for Android 8+
# blocked_query_response = 'refused'
-## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random'
+## Load-balancing strategy: 'p2' (default), 'ph', 'p<n>', 'first' or 'random'
+## Randomly choose 1 of the fastest 2, half, n, 1 or all live servers by latency.
+## The response quality still depends on the server itself.
# lb_strategy = 'p2'
## Set to `true` to constantly try to estimate the latency of all the resolvers
## and adjust the load-balancing parameters accordingly, or to `false` to disable.
+## Default is `true` that makes 'p2' `lb_strategy` work well.
# lb_estimator = true
@@ -141,12 +157,20 @@ keepalive = 30
# log_level = 2
-## log file for the application
+## Log file for the application, as an alternative to sending logs to
+## the standard system logging service (syslog/Windows event log).
+##
+## This file is different from other log files, and will not be
+## automatically rotated by the application.
-# log_file = 'dnscrypt-proxy.log'
log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
+## When using a log file, only keep logs from the most recent launch.
+
+# log_file_latest = true
+
+
## Use the system logger (syslog on Unix, Event Log on Windows)
# use_syslog = true
@@ -161,7 +185,7 @@ cert_refresh_delay = 240
## This may improve privacy but can also have a significant impact on CPU usage
## Only enable if you don't have a lot of network load
-# dnscrypt_ephemeral_keys = false
+dnscrypt_ephemeral_keys = true
## DoH: Disable TLS session tickets - increases privacy but also latency
@@ -187,26 +211,40 @@ cert_refresh_delay = 240
# tls_cipher_suite = [52392, 49199]
-## Fallback resolvers
+## Bootstrap resolvers
+##
## These are normal, non-encrypted DNS resolvers, that will be only used
-## for one-shot queries when retrieving the initial resolvers list, and
-## only if the system DNS configuration doesn't work.
-## No user application queries will ever be leaked through these resolvers,
-## and they will not be used after IP addresses of resolvers URLs have been found.
-## They will never be used if lists have already been cached, and if stamps
-## don't include host names without IP addresses.
-## They will not be used if the configured system DNS works.
-## Resolvers supporting DNSSEC are recommended.
-##
-## People in China may need to use 114.114.114.114:53 here.
-## Other popular options include 8.8.8.8 and 1.1.1.1.
+## for one-shot queries when retrieving the initial resolvers list and if
+## the system DNS configuration doesn't work.
+##
+## No user queries will ever be leaked through these resolvers, and they will
+## not be used after IP addresses of DoH resolvers have been found (if you are
+## using DoH).
+##
+## They will never be used if lists have already been cached, and if the stamps
+## of the configured servers already include IP addresses (which is the case for
+## most of DoH servers, and for all DNSCrypt servers and relays).
+##
+## They will not be used if the configured system DNS works, or after the
+## proxy already has at least one usable secure resolver.
+##
+## Resolvers supporting DNSSEC are recommended, and, if you are using
+## DoH, bootstrap resolvers should ideally be operated by a different entity
+## than the DoH servers you will be using, especially if you have IPv6 enabled.
+##
+## People in China may want to use 114.114.114.114:53 here.
+## Other popular options include 8.8.8.8, 9.9.9.9 and 1.1.1.1.
##
## If more than one resolver is specified, they will be tried in sequence.
+##
+## TL;DR: put valid standard resolver addresses here. Your actual queries will
+## not be sent there. If you're using DNSCrypt or Anonymized DNS and your
+## lists are up to date, these resolvers will not even be used.
-fallback_resolvers = ['9.9.9.9:53', '8.8.8.8:53']
+bootstrap_resolvers = ['9.9.9.9:53', '8.8.8.8:53']
-## Always use the fallback resolver before the system DNS settings.
+## Always use the bootstrap resolver before the system DNS settings.
ignore_system_dns = true
@@ -246,7 +284,7 @@ netprobe_address = '9.9.9.9:53'
## encrypted-dns-server can be configured to use this for access control
## in the [access_control] section
-# query_meta = ["key1:value1", "key2:value2", "token:MySecretToken"]
+# query_meta = ['key1:value1', 'key2:value2', 'token:MySecretToken']
## Automatic log files rotation
@@ -268,7 +306,7 @@ log_files_max_backups = 1
## Note: if you are using dnsmasq, disable the `dnssec` option in dnsmasq if you
## configure dnscrypt-proxy to do any kind of filtering (including the filters
-## below and blacklists).
+## below and blocklists).
## You can still choose resolvers that do DNSSEC validation.
@@ -276,7 +314,7 @@ log_files_max_backups = 1
## This makes things faster when there is no IPv6 connectivity, but can
## also cause reliability issues with some stub resolvers.
-block_ipv6 = false
+block_ipv6 = true
## Immediately respond to A and AAAA queries for host names without a domain name
@@ -291,9 +329,9 @@ block_undelegated = true
## TTL for synthetic responses sent when a request has been blocked (due to
-## IPv6 or blacklists).
+## IPv6 or blocklists).
-reject_ttl = 600
+reject_ttl = 10
@@ -324,6 +362,7 @@ reject_ttl = 600
# cloak_ttl = 600
+
###########################
# DNS cache #
###########################
@@ -359,6 +398,20 @@ cache_neg_max_ttl = 600
+########################################
+# Captive portal handling #
+########################################
+
+[captive_portals]
+
+## A file that contains a set of names used by operating systems to
+## check for connectivity and captive portals, along with hard-coded
+## IP addresses to return.
+
+# map_file = 'example-captive-portals.txt'
+
+
+
##################################
# Local DoH server #
##################################
@@ -379,14 +432,14 @@ cache_neg_max_ttl = 600
## For each `listen_address` the complete URL to access the server will be:
## `https://<listen_address><path>` (ex: `https://127.0.0.1/dns-query`)
-# path = "/dns-query"
+# path = '/dns-query'
## Certificate file and key - Note that the certificate has to be trusted.
## See the documentation (wiki) for more information.
-# cert_file = "localhost.pem"
-# cert_key_file = "localhost.pem"
+# cert_file = 'localhost.pem'
+# cert_key_file = 'localhost.pem'
@@ -399,7 +452,7 @@ cache_neg_max_ttl = 600
[query_log]
## Path to the query log file (absolute, or relative to the same directory as the config file)
- ## On non-Windows systems, can be /dev/stdout to log to the standard output (also set log_files_max_size to 0)
+ ## Can be set to /dev/stdout in order to log to the standard output.
# file = 'query.log'
@@ -437,10 +490,10 @@ cache_neg_max_ttl = 600
######################################################
-# Pattern-based blocking (blacklists) #
+# Pattern-based blocking (blocklists) #
######################################################
-## Blacklists are made of one pattern per line. Example of valid patterns:
+## Blocklists are made of one pattern per line. Example of valid patterns:
##
## example.com
## =example.com
@@ -449,20 +502,20 @@ cache_neg_max_ttl = 600
## ads*.example.*
## ads*.example[0-9]*.com
##
-## Example blacklist files can be found at https://download.dnscrypt.info/blacklists/
-## A script to build blacklists from public feeds can be found in the
-## `utils/generate-domains-blacklists` directory of the dnscrypt-proxy source code.
+## Example blocklist files can be found at https://download.dnscrypt.info/blocklists/
+## A script to build blocklists from public feeds can be found in the
+## `utils/generate-domains-blocklists` directory of the dnscrypt-proxy source code.
-[blacklist]
+[blocked_names]
## Path to the file of blocking rules (absolute, or relative to the same directory as the config file)
- # blacklist_file = 'blacklist.txt'
+ # blocked_names_file = 'blocked-names.txt'
## Optional path to a file logging blocked queries
- # log_file = 'blocked.log'
+ # log_file = 'blocked-names.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -472,25 +525,25 @@ cache_neg_max_ttl = 600
###########################################################
-# Pattern-based IP blocking (IP blacklists) #
+# Pattern-based IP blocking (IP blocklists) #
###########################################################
-## IP blacklists are made of one pattern per line. Example of valid patterns:
+## IP blocklists are made of one pattern per line. Example of valid patterns:
##
## 127.*
## fe80:abcd:*
## 192.168.1.4
-[ip_blacklist]
+[blocked_ips]
## Path to the file of blocking rules (absolute, or relative to the same directory as the config file)
- # blacklist_file = 'ip-blacklist.txt'
+ # blocked_ips_file = 'blocked-ips.txt'
## Optional path to a file logging blocked queries
- # log_file = 'ip-blocked.log'
+ # log_file = 'blocked-ips.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -500,25 +553,25 @@ cache_neg_max_ttl = 600
######################################################
-# Pattern-based whitelisting (blacklists bypass) #
+# Pattern-based allow lists (blocklists bypass) #
######################################################
-## Whitelists support the same patterns as blacklists
-## If a name matches a whitelist entry, the corresponding session
+## Allowlists support the same patterns as blocklists
+## If a name matches an allowlist entry, the corresponding session
## will bypass names and IP filters.
##
## Time-based rules are also supported to make some websites only accessible at specific times of the day.
-[whitelist]
+[allowed_names]
- ## Path to the file of whitelisting rules (absolute, or relative to the same directory as the config file)
+ ## Path to the file of allow list rules (absolute, or relative to the same directory as the config file)
- # whitelist_file = 'whitelist.txt'
+ # allowed_names_file = 'allowed-names.txt'
- ## Optional path to a file logging whitelisted queries
+ ## Optional path to a file logging allowed queries
- # log_file = 'whitelisted.log'
+ # log_file = 'allowed-names.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -527,15 +580,42 @@ cache_neg_max_ttl = 600
+#########################################################
+# Pattern-based allowed IPs lists (blocklists bypass) #
+#########################################################
+
+## Allowed IP lists support the same patterns as IP blocklists
+## If an IP response matches an allow ip entry, the corresponding session
+## will bypass IP filters.
+##
+## Time-based rules are also supported to make some websites only accessible at specific times of the day.
+
+[allowed_ips]
+
+ ## Path to the file of allowed ip rules (absolute, or relative to the same directory as the config file)
+
+ # allowed_ips_file = 'allowed-ips.txt'
+
+
+ ## Optional path to a file logging allowed queries
+
+ # log_file = 'allowed-ips.log'
+
+ ## Optional log format: tsv or ltsv (default: tsv)
+
+ # log_format = 'tsv'
+
+
+
##########################################
# Time access restrictions #
##########################################
## One or more weekly schedules can be defined here.
-## Patterns in the name-based blocklist can optionally be followed with @schedule_name
+## Patterns in the name-based blocked_names file can optionally be followed with @schedule_name
## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
##
-## For example, the following rule in a blacklist file:
+## For example, the following rule in a blocklist file:
## *.youtube.* @time-to-sleep
## would block access to YouTube during the times defined by the 'time-to-sleep' schedule.
##
@@ -580,41 +660,60 @@ cache_neg_max_ttl = 600
## If the `urls` property is missing, cache files and valid signatures
## must already be present. This doesn't prevent these cache files from
## expiring after `refresh_delay` hours.
+## Cache freshness is checked every 24 hours, so values for 'refresh_delay'
+## of less than 24 hours will have no effect.
+## A maximum delay of 168 hours (1 week) is imposed to ensure cache freshness.
[sources]
## An example of a remote source from https://github.com/DNSCrypt/dnscrypt-resolvers
[sources.'public-resolvers']
- urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
- cache_file = 'public-resolvers.md'
- minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
- prefix = ''
+ urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/public-resolvers.md', 'https://download.dnscrypt.net/resolvers-list/v3/public-resolvers.md']
+ cache_file = 'public-resolvers.md'
+ minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+ refresh_delay = 72
+ prefix = ''
## Anonymized DNS relays
[sources.'relays']
- urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/relays.md', 'https://download.dnscrypt.info/resolvers-list/v2/relays.md']
- cache_file = 'relays.md'
- minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
- refresh_delay = 72
- prefix = ''
-
- ## Quad9 over DNSCrypt - https://quad9.net/
+ urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/relays.md', 'https://download.dnscrypt.net/resolvers-list/v3/relays.md']
+ cache_file = 'relays.md'
+ minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+ refresh_delay = 72
+ prefix = ''
+
+ ## ODoH (Oblivious DoH) servers and relays
+
+ # [sources.'odoh-servers']
+ # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-servers.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-servers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/odoh-servers.md', 'https://download.dnscrypt.net/resolvers-list/v3/odoh-servers.md']
+ # cache_file = 'odoh-servers.md'
+ # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+ # refresh_delay = 24
+ # prefix = ''
+ # [sources.'odoh-relays']
+ # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/odoh-relays.md', 'https://download.dnscrypt.net/resolvers-list/v3/odoh-relays.md']
+ # cache_file = 'odoh-relays.md'
+ # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+ # refresh_delay = 24
+ # prefix = ''
+
+ ## Quad9
# [sources.quad9-resolvers]
- # urls = ['https://www.quad9.net/quad9-resolvers.md']
- # minisign_key = 'RWQBphd2+f6eiAqBsvDZEBXBGHQBJfeG6G+wJPPKxCZMoEQYpmoysKUN'
- # cache_file = 'quad9-resolvers.md'
- # prefix = 'quad9-'
+ # urls = ['https://www.quad9.net/quad9-resolvers.md']
+ # minisign_key = 'RWQBphd2+f6eiAqBsvDZEBXBGHQBJfeG6G+wJPPKxCZMoEQYpmoysKUN'
+ # cache_file = 'quad9-resolvers.md'
+ # prefix = 'quad9-'
## Another example source, with resolvers censoring some websites not appropriate for children
## This is a subset of the `public-resolvers` list, so enabling both is useless
# [sources.'parental-control']
- # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md']
- # cache_file = 'parental-control.md'
- # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+ # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v3/parental-control.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/parental-control.md', 'https://download.dnscrypt.net/resolvers-list/v3/parental-control.md']
+ # cache_file = 'parental-control.md'
+ # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
@@ -628,28 +727,32 @@ cache_neg_max_ttl = 600
# truncate reponses larger than questions as expected by the DNSCrypt protocol.
# This prevents large responses from being received over UDP and over relays.
#
-# The `dnsdist` server software drops client queries larger than 1500 bytes.
-# They are aware of it and are working on a fix.
+# Older versions of the `dnsdist` server software had a bug with queries larger
+# than 1500 bytes. This is fixed since `dnsdist` version 1.5.0, but
+# some server may still run an outdated version.
#
# The list below enables workarounds to make non-relayed usage more reliable
# until the servers are fixed.
-fragments_blocked = ['cisco', 'cisco-ipv6', 'cisco-familyshield', 'cisco-familyshield-ipv6', 'quad9-dnscrypt-ip4-filter-alt', 'quad9-dnscrypt-ip4-filter-pri', 'quad9-dnscrypt-ip4-nofilter-alt', 'quad9-dnscrypt-ip4-nofilter-pri', 'quad9-dnscrypt-ip6-filter-alt', 'quad9-dnscrypt-ip6-filter-pri', 'quad9-dnscrypt-ip6-nofilter-alt', 'quad9-dnscrypt-ip6-nofilter-pri', 'cleanbrowsing-adult', 'cleanbrowsing-family-ipv6', 'cleanbrowsing-family', 'cleanbrowsing-security']
-
+fragments_blocked = ['cisco', 'cisco-ipv6', 'cisco-familyshield', 'cisco-familyshield-ipv6', 'cleanbrowsing-adult', 'cleanbrowsing-adult-ipv6', 'cleanbrowsing-family', 'cleanbrowsing-family-ipv6', 'cleanbrowsing-security', 'cleanbrowsing-security-ipv6']
-################################
-# TLS Client Authentication #
-################################
+#################################################################
+# Certificate-based client authentication for DoH #
+#################################################################
+# Use a X509 certificate to authenticate yourself when connecting to DoH servers.
# This is only useful if you are operating your own, private DoH server(s).
-# (for DNSCrypt, see the `query_meta` feature instead)
+# 'creds' maps servers to certificates, and supports multiple entries.
+# If you are not using the standard root CA, an optional "root_ca"
+# property set to the path to a root CRT file can be added to a server entry.
-[tls_client_auth]
+[doh_client_x509_auth]
+#
# creds = [
-# { server_name='myserver', client_cert='client.crt', client_key='client.key' }
+# { server_name='*', client_cert='client.crt', client_key='client.key' }
# ]
@@ -666,11 +769,11 @@ fragments_blocked = ['cisco', 'cisco-ipv6', 'cisco-familyshield', 'cisco-familys
## used to connect to that server.
##
## A relay can be specified as a DNS Stamp (either a relay stamp, or a
-## DNSCrypt stamp), an IP:port, a hostname:port, or a server name.
+## DNSCrypt stamp) or a server name.
##
## The following example routes "example-server-1" via `anon-example-1` or `anon-example-2`,
-## and "example-server-2" via the relay whose relay DNS stamp
-## is "sdns://gRIxMzcuNzQuMjIzLjIzNDo0NDM".
+## and "example-server-2" via the relay whose relay DNS stamp is
+## "sdns://gRIxMzcuNzQuMjIzLjIzNDo0NDM".
##
## !!! THESE ARE JUST EXAMPLES !!!
##
@@ -679,21 +782,71 @@ fragments_blocked = ['cisco', 'cisco-ipv6', 'cisco-familyshield', 'cisco-familys
##
## Carefully choose relays and servers so that they are run by different entities.
##
-## "server_name" can also be set to "*" to define a default route, but this is not
-## recommended. If you do so, keep "server_names" short and distinct from relays.
+## "server_name" can also be set to "*" to define a default route, for all servers:
+## { server_name='*', via=['anon-example-1', 'anon-example-2'] }
+##
+## If a route is ["*"], the proxy automatically picks a relay on a distinct network.
+## { server_name='*', via=['*'] } is also an option, but is likely to be suboptimal.
+##
+## Manual selection is always recommended over automatic selection, so that you can
+## select (relay,server) pairs that work well and fit your own criteria (close by or
+## in different countries, operated by different entities, on distinct ISPs...)
-# routes = [
-# { server_name='example-server-1', via=['anon-example-1', 'anon-example-2'] },
-# { server_name='example-server-2', via=['sdns://gRIxMzcuNzQuMjIzLjIzNDo0NDM'] }
-# ]
+ routes = [
+ { server_name='ams-dnscrypt-nl', via=['sdns://gRE4OS4zOC4xMzEuMzg6NDM0Mw', 'sdns://gQ4zNy4xMjAuMTQyLjExNQ', 'sdns://gQ8xMjguMTI3LjEwNC4xMDg'] },
+ { server_name='ams-dnscrypt-nl-ipv6', via=['sdns://gQ4zNy4xMjAuMTQyLjExNQ', 'sdns://gRpbMmEwYzpiOWMwOmY6NDUxZDo6MV06NDM0Mw', 'sdns://gQ8xMjguMTI3LjEwNC4xMDg'] }
+ ]
+
+
+# Skip resolvers incompatible with anonymization instead of using them directly
+
+skip_incompatible = true
+
+
+# If public server certificates for a non-conformant server cannot be
+# retrieved via a relay, try getting them directly. Actual queries
+# will then always go through relays.
+
+# direct_cert_fallback = false
+
+
+
+###############################
+# DNS64 #
+###############################
+
+## DNS64 is a mechanism for synthesizing AAAA records from A records.
+## It is used with an IPv6/IPv4 translator to enable client-server
+## communication between an IPv6-only client and an IPv4-only server,
+## without requiring any changes to either the IPv6 or the IPv4 node,
+## for the class of applications that work through NATs.
+##
+## There are two options to synthesize such records:
+## Option 1: Using a set of static IPv6 prefixes;
+## Option 2: By discovering the IPv6 prefix from DNS64-enabled resolver.
+##
+## If both options are configured - only static prefixes are used.
+## (Ref. RFC6147, RFC6052, RFC7050)
+##
+## Do not enable unless you know what DNS64 is and why you need it, or else
+## you won't be able to connect to anything at all.
+[dns64]
-# skip resolvers incompatible with anonymization instead of using them directly
+## (Option 1) Static prefix(es) as Pref64::/n CIDRs.
+# prefix = ['64:ff9b::/96']
-skip_incompatible = false
+## (Option 2) DNS64-enabled resolver(s) to discover Pref64::/n CIDRs.
+## These resolvers are used to query for Well-Known IPv4-only Name (WKN) "ipv4only.arpa." to discover only.
+## Set with your ISP's resolvers in case of custom prefixes (other than Well-Known Prefix 64:ff9b::/96).
+## IMPORTANT: Default resolvers listed below support Well-Known Prefix 64:ff9b::/96 only.
+# resolver = ['[2606:4700:4700::64]:53', '[2001:4860:4860::64]:53']
+########################################
+# Static entries #
+########################################
## Optional, local, static list of additional servers
## Mostly useful for testing your own servers.
@@ -701,4 +854,4 @@ skip_incompatible = false
[static]
# [static.'myserver']
- # stamp = 'sdns:AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg'
+ # stamp = 'sdns://AQcAAAAAAAAAAAAQMi5kbnNjcnlwdC1jZXJ0Lg'
diff --git a/network/dnscrypt-proxy/dnsmasq.conf b/network/dnscrypt-proxy/dnsmasq.conf
deleted file mode 100644
index 9700cb2df9..0000000000
--- a/network/dnscrypt-proxy/dnsmasq.conf
+++ /dev/null
@@ -1,21 +0,0 @@
-# Use dnsmasq as a caching DNS forwarder to dnscrypt-proxy. This configuration
-# assumes dnscrypt-proxy is running on port 55.
-
-# Never forward plain names (without a dot or domain part)
-domain-needed
-
-# Never forward addresses in the non-routed address spaces.
-bogus-priv
-
-# Don't use /etc/resolv.conf. Forward all queries to dnscrypt-proxy.
-no-resolv
-
-# Use the resolver on localhost port 55 (dnscrypt-proxy)
-server=127.0.0.1#55
-
-# Listen on localhost. Default port 53
-listen-address=127.0.0.1
-
-# Pass on the upstream DNSSEC flag. Only enable this if you trust the upstream
-# resolver.
-#proxy-dnssec
diff --git a/network/dnscrypt-proxy/doinst.sh b/network/dnscrypt-proxy/doinst.sh
index e264e34a56..c648875656 100644
--- a/network/dnscrypt-proxy/doinst.sh
+++ b/network/dnscrypt-proxy/doinst.sh
@@ -1,27 +1,18 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
+#!/bin/bash
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
+# dnscrypt-proxy writes files to its data directories after
+# dropping privileges. This ensures $DNSCRYPT_USER can write
+# files to these directories, without having to change default
+# root:root in slackware.
+#
+# This is a workaround, might not be a elegant solution.
-preserve_perms etc/rc.d/rc.dnscrypt-proxy.new
-config etc/default/dnscrypt-proxy.new
-config etc/dnscrypt-proxy/dnscrypt-proxy.toml.new
+PRGNAM=dnscrypt-proxy
+DNSCRYPT_UID=293
+DNSCRYPT_GID=293
+
+chown $DNSCRYPT_UID:$DNSCRYPT_GID etc/$PRGNAM/*
+
+setfacl -m u:$DNSCRYPT_UID:rwx etc/$PRGNAM
+setfacl -m u:$DNSCRYPT_UID:rwx var/run/$PRGNAM
+setfacl -m u:$DNSCRYPT_UID:rwx var/log/$PRGNAM
diff --git a/network/dnscrypt-proxy/named.conf b/network/dnscrypt-proxy/named.conf
deleted file mode 100644
index b416855f26..0000000000
--- a/network/dnscrypt-proxy/named.conf
+++ /dev/null
@@ -1,153 +0,0 @@
-options {
- directory "/var/named";
- /*
- * If there is a firewall between you and nameservers you want
- * to talk to, you might need to uncomment the query-source
- * directive below. Previous versions of BIND always asked
- * questions using port 53, but BIND 8.1 uses an unprivileged
- * port by default.
- */
- // query-source address * port 53;
- forwarders { 127.0.0.1 port 55; };
- forward only;
- dnssec-enable yes;
- dnssec-validation auto;
- dnssec-lookaside auto;
- allow-transfer { "none"; };
- allow-query { 127.0.0.1; };
- listen-on { 127.0.0.1; };
-};
-
-//
-// a caching only nameserver config
-//
-zone "." IN {
- type hint;
- file "caching-example/named.root";
-};
-
-zone "localhost" IN {
- type master;
- file "caching-example/localhost.zone";
- allow-update { none; };
-};
-
-zone "0.0.127.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-// RFC 1918. These shouldn't be necessary but empty-zones-enable isn't
-// working properly...
-zone "10.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "16.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "17.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "18.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "19.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "20.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "21.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "22.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "23.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "24.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "25.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "26.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "27.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "28.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "29.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "30.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "31.172.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-zone "168.192.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update { none; };
-};
-
-logging {
- category edns-disabled { null; };
-};
diff --git a/network/dnscrypt-proxy/rc.dnscrypt-proxy b/network/dnscrypt-proxy/rc.dnscrypt-proxy
index 1aa68260b9..49cd4dc984 100644
--- a/network/dnscrypt-proxy/rc.dnscrypt-proxy
+++ b/network/dnscrypt-proxy/rc.dnscrypt-proxy
@@ -1,134 +1,76 @@
-#!/bin/bash
-
-CONFIGFILE="/etc/default/dnscrypt-proxy"
-DAEMON="/usr/sbin/dnscrypt-proxy"
-
-. $CONFIGFILE
-
-start_instance() {
- if [ ! -r ${DNSCRYPTCONFIG[$1]} ]; then
- echo "No configuration for instance $1 found!"
- return
- fi
- if [ -z ${PIDFILE[$1]} ]; then
- echo "No PID configuration for instance $1 found!"
- return
- fi
- if [ -z ${USER[$1]} ]; then
- echo "No user configuration for instance $1 found!"
- return
- fi
- if [ -r ${PIDFILE[$1]} ]; then
- echo "dnscrypt-proxy (instance $1) already running!"
- return
- fi
-
- mkdir -p $(dirname ${PIDFILE[$1]})
- # The child (unprivileged) process needs write access or the PID will not
- # be written.
- chmod 0700 $(dirname ${PIDFILE[$1]})
- chown ${USER[$1]} $(dirname ${PIDFILE[$1]})
-
- # The new Go-based dnscrypt-proxy no longer has the ability to daemonize.
- # In the absence of a standard Slackware daemon tool we'll use nohup. :(
- nohup $DAEMON -config ${DNSCRYPTCONFIG[$1]} -pidfile ${PIDFILE[$1]} >> /dev/null 2>&1 &
-}
+#!/bin/sh
-stop_instance() {
- if [ ! -r ${DNSCRYPTCONFIG[$1]} ]; then
- echo "No configuration for instance $1 found!"
- return
- fi
- if [ -z ${PIDFILE[$1]} ]; then
- echo "No PID configuration for instance $1 found!"
- return
- fi
- if [ ! -r ${PIDFILE[$1]} ]; then
- echo "dnscrypt-proxy (instance $1) is not running!"
- return
- fi
- echo "Stopping dnscrypt-proxy (instance $1)..."
- kill $(cat ${PIDFILE[$1]})
-}
+# Init file for dnscrypt-proxy
-status_instance() {
- if [ ! -r ${DNSCRYPTCONFIG[$1]} ]; then
- echo "No configuration for instance $1 found!"
- return
- fi
- if [ -z ${PIDFILE[$1]} ]; then
- echo "No PID configuration for instance $1 found!"
- return
- fi
- if [ ! -r ${PIDFILE[$1]} ]; then
- echo "dnscrypt-proxy (instance $1) is not running."
- return
- fi
- PID=$(cat ${PIDFILE[$1]})
- if [ -z "$PID" ]; then
- echo "PID file is empty! dnscrypt-proxy (instance $1) does not appear to be running, but there is a stale PID file."
- elif kill -0 $PID ; then
- echo "dnscrypt-proxy (instance $1) is running."
- else
- echo "dnscrypt-proxy (instance $1) is not running, but there is a stale PID file."
- fi
-}
+CONFDIR="/etc/dnscrypt-proxy"
+LOGDIR="/var/log/dnscrypt-proxy"
+RUNDIR="/var/run/dnscrypt-proxy"
+
+OPTS="-config $CONFDIR/dnscrypt-proxy.toml -pidfile $RUNDIR/dnscrypt-proxy.pid -logfile $LOGDIR/dnscrypt-proxy.log"
+
+PID=$(cat /var/run/dnscrypt-proxy/dnscrypt-proxy.pid 2>/dev/null)
start() {
- for i in `/usr/bin/seq 0 $((${#DNSCRYPTCONFIG[@]}-1))`
- do
- start_instance $i
- done
+ echo "Starting DNSCrypt-proxy"
+ /usr/bin/dnscrypt-proxy $OPTS &
}
stop() {
- for i in `/usr/bin/seq 0 $((${#DNSCRYPTCONFIG[@]}-1))`
- do
- stop_instance $i
- done
+ echo "Stopping DNSCrypt-proxy"
+
+if [ -z $PID ]; then
+ echo "Not running"
+ exit 0
+fi
+
+if kill -15 $PID 2>/dev/null; then
+ echo "Stopped"
+ rm $RUNDIR/dnscrypt-proxy.pid 2>/dev/null
+else
+ sleep 1
+if kill -9 $PID 2>/dev/null; then
+ echo "Killed"
+ rm $RUNDIR/dnscrypt-proxy.pid 2>/dev/null
+else
+ echo "Error"
+ exit 1
+fi
+fi
+
}
status() {
- for i in `/usr/bin/seq 0 $((${#DNSCRYPTCONFIG[@]}-1))`
- do
- status_instance $i
- done
+
+if [ -z $PID ]; then
+ echo "Not running"
+ exit 0
+else
+ echo "Running"
+ exit 0
+fi
+
}
case "$1" in
- 'start')
- start
- ;;
- 'stop')
- stop
- ;;
- 'restart')
- stop
- start
- ;;
- 'status')
- status
- ;;
- *_start)
- INSTANCE=`echo $1 | /bin/cut -d '_' -f 1`
- start_instance $INSTANCE
- ;;
- *_stop)
- INSTANCE=`echo $1 | /bin/cut -d '_' -f 1`
- stop_instance $INSTANCE
- ;;
- *_restart)
- INSTANCE=`echo $1 | /bin/cut -d '_' -f 1`
- stop_instance $INSTANCE
- sleep 1
- start_instance $INSTANCE
- ;;
- *_status)
- INSTANCE=`echo $1 | /bin/cut -d '_' -f 1`
- status_instance $INSTANCE
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|status|#_start|#_stop|#_restart}"
- exit 1
- ;;
+
+start)
+ start
+ ;;
+
+stop)
+ stop
+;;
+
+restart)
+ stop
+ sleep 3
+ start
+;;
+
+status)
+ status
+;;
+
+*)
+ echo "Usage: $0 (start|stop|restart|status)"
esac
diff --git a/network/dnscrypt-proxy/slack-desc b/network/dnscrypt-proxy/slack-desc
index 46cdd370c5..092cd543f4 100644
--- a/network/dnscrypt-proxy/slack-desc
+++ b/network/dnscrypt-proxy/slack-desc
@@ -13,7 +13,7 @@ dnscrypt-proxy: your local resolver or as a DNS forwarder, encrypting and
dnscrypt-proxy: authenticating requests using the DNSCrypt protocol and passing them
dnscrypt-proxy: to an upstream DNSCrypt-enabled server.
dnscrypt-proxy:
-dnscrypt-proxy: https://github.com/jedisct1/dnscrypt-proxy
dnscrypt-proxy:
dnscrypt-proxy:
dnscrypt-proxy:
+dnscrypt-proxy: https://github.com/DNSCrypt/dnscrypt-proxy
diff --git a/network/dnscrypt-wrapper/README b/network/dnscrypt-wrapper/README
index b21182469a..076c9951d2 100644
--- a/network/dnscrypt-wrapper/README
+++ b/network/dnscrypt-wrapper/README
@@ -1,5 +1,5 @@
-dnscrypt-wrapper is a server-side DNSCrypt proxy that adds DNSCrypt support to
-any name resolver.
+dnscrypt-wrapper is a server-side DNSCrypt proxy that adds DNSCrypt
+support to any name resolver.
Be sure to read README.Slackware for information on configuring/running
dnscrypt-wrapper as a daemon!
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
index 3d22ceec49..2f1a8b277f 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dnscrypt-wrapper
@@ -24,10 +24,13 @@
# Thanks to Larry Hajali for the logrotate configuration
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dnscrypt-wrapper
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.info b/network/dnscrypt-wrapper/dnscrypt-wrapper.info
index 4375be0958..64f000800f 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.info
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/cofyc/dnscrypt-wrapper/archive/v0.4.2/dnscrypt-wrap
MD5SUM="f384a825eb3ecdbdd960842f3c6e3f85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libsodium"
+REQUIRES=""
MAINTAINER="T3slider"
EMAIL="t3slider@gmail.com"
diff --git a/network/dnsmap/README b/network/dnsmap/README
index 7796d68b71..c6a80020f6 100644
--- a/network/dnsmap/README
+++ b/network/dnsmap/README
@@ -1,5 +1,5 @@
-dnsmap is mainly meant to be used by pentesters during the information
-gathering/enumeration phase of infrastructure security assessments.
-During the enumeration stage, the security consultant would typically
-discover the target company's IP netblocks, domain names, phone numbers,
-etc ...
+dnsmap is mainly meant to be used by pentesters during the information
+gathering/enumeration phase of infrastructure security assessments.
+During the enumeration stage, the security consultant would typically
+discover the target company's IP netblocks, domain names, phone
+numbers, etc ...
diff --git a/network/dnsmap/dnsmap.SlackBuild b/network/dnsmap/dnsmap.SlackBuild
index ae866d3b9e..a82e53094b 100644
--- a/network/dnsmap/dnsmap.SlackBuild
+++ b/network/dnsmap/dnsmap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dnsmap
@@ -20,10 +20,13 @@
# 0. You just DO WHAT THE FUCK YOU WANT TO.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dnsmap
VERSION=${VERSION:-0.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dnsproxy-bin/README b/network/dnsproxy-bin/README
new file mode 100644
index 0000000000..c8f4a6e94a
--- /dev/null
+++ b/network/dnsproxy-bin/README
@@ -0,0 +1,21 @@
+dnsproxy is a simple DNS proxy server that supports all existing DNS
+protocols including DNS-over-TLS, DNS-over-HTTPS, DNSCrypt, and
+DNS-over-QUIC. Moreover, it can work as a DNS-over-HTTPS, DNS-over-TLS
+or DNS-over-QUIC server.
+
+This script packages the official prebuilt binary.
+
+A simple init script /etc/rc.d/rc.dnsproxy has been provided to run
+dnsproxy as a daemon.
+
+In most cases, dnsproxy should not be run as root. If there exists the
+user dnsproxy, the script /etc/rc.d/rc.dnsproxy will run dnsproxy as
+the user dnsproxy. This user can be created with:
+ groupadd -g 384 dnsproxy
+ useradd -u 384 -g 384 -s /sbin/nologin -M dnsproxy
+
+If the user dnsproxy does not exist, then the script
+/etc/rc.d/rc.dnsproxy will run dnsproxy as root.
+
+Also, the script /etc/rc.d/rc.dnsproxy assumes that the configuration
+file location is /etc/dnsproxy.yaml
diff --git a/network/dnsproxy-bin/dnsproxy-bin.SlackBuild b/network/dnsproxy-bin/dnsproxy-bin.SlackBuild
new file mode 100644
index 0000000000..754f02619a
--- /dev/null
+++ b/network/dnsproxy-bin/dnsproxy-bin.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/bash
+
+# Slackware build script for dnsproxy-bin
+
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dnsproxy-bin
+VERSION=${VERSION:-0.70.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+case "$ARCH" in
+ i?86) SUFFIX="linux-386" ;;
+ x86_64) SUFFIX="linux-amd64" ;;
+ *) SUFFIX="linux-$ARCH" ;;
+esac
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SUFFIX
+tar xvf $CWD/${PRGNAM%-bin}-$SUFFIX-v$VERSION.tar.gz
+cd $SUFFIX
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/sbin $PKG/etc/rc.d
+install -m 0755 -o root -g root dnsproxy $PKG/usr/sbin
+install -m 0644 -o root -g root $CWD/rc.dnsproxy \
+ $PKG/etc/rc.d/rc.dnsproxy.new
+install -m 0644 -o root -g root $CWD/config.yaml.dist \
+ $PKG/etc/dnsproxy.yaml.new
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dnsproxy-bin/dnsproxy-bin.info b/network/dnsproxy-bin/dnsproxy-bin.info
new file mode 100644
index 0000000000..a92b474217
--- /dev/null
+++ b/network/dnsproxy-bin/dnsproxy-bin.info
@@ -0,0 +1,14 @@
+PRGNAM="dnsproxy-bin"
+VERSION="0.70.0"
+HOMEPAGE="https://github.com/AdguardTeam/dnsproxy"
+DOWNLOAD="https://github.com/AdguardTeam/dnsproxy/releases/download/v0.70.0/dnsproxy-linux-386-v0.70.0.tar.gz \
+ https://raw.githubusercontent.com/AdguardTeam/dnsproxy/v0.70.0/config.yaml.dist"
+MD5SUM="2477cd961231ea37dacd5f66306e3a27 \
+ 5a8aaaacbc3aeb1af4aac34233f2d14b"
+DOWNLOAD_x86_64="https://github.com/AdguardTeam/dnsproxy/releases/download/v0.70.0/dnsproxy-linux-amd64-v0.70.0.tar.gz \
+ https://raw.githubusercontent.com/AdguardTeam/dnsproxy/v0.70.0/config.yaml.dist"
+MD5SUM_x86_64="3866f2ffc11a96222e6d2986ee1d743e \
+ 5a8aaaacbc3aeb1af4aac34233f2d14b"
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/dnsproxy-bin/doinst.sh b/network/dnsproxy-bin/doinst.sh
new file mode 100644
index 0000000000..7ddb7da4e8
--- /dev/null
+++ b/network/dnsproxy-bin/doinst.sh
@@ -0,0 +1,23 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.dnsproxy.new
+config etc/dnsproxy.yaml.new
diff --git a/network/dnsproxy-bin/rc.dnsproxy b/network/dnsproxy-bin/rc.dnsproxy
new file mode 100644
index 0000000000..f71496a467
--- /dev/null
+++ b/network/dnsproxy-bin/rc.dnsproxy
@@ -0,0 +1,62 @@
+#!/bin/bash
+# Start/stop/restart the dnsproxy
+
+if [[ $EUID -ne 0 ]]; then
+ echo "This script must be run as root" 1>&2
+ exit 1
+fi
+
+name="dnsproxy"
+pidfiles=/run/"$name"
+mkdir -p $pidfiles
+if /bin/id "$name" &>/dev/null; then
+ chown $name:$name $pidfiles
+ daemon="/usr/bin/daemon --name=$name --pidfiles=$pidfiles --user=$name"
+else
+ daemon="/usr/bin/daemon --name=$name --pidfiles=$pidfiles"
+fi
+
+start_dnsproxy() {
+if $daemon --running; then
+ echo "$name is already running"
+else
+ echo "Starting $name..."
+ $daemon -- /usr/sbin/dnsproxy --config-path=/etc/dnsproxy.yaml
+fi
+}
+
+stop_dnsproxy() {
+if $daemon --running; then
+ echo "Stopping $name..."
+ $daemon --stop
+else
+ echo "$name is not running"
+fi
+}
+
+restart_dnsproxy() {
+ stop_dnsproxy
+ sleep 1
+ start_dnsproxy
+}
+
+status_dnsproxy() {
+ $daemon --running --verbose
+}
+
+case "$1" in
+'start')
+ start_dnsproxy
+ ;;
+'stop')
+ stop_dnsproxy
+ ;;
+'restart')
+ restart_dnsproxy
+ ;;
+'status')
+ status_dnsproxy
+ ;;
+*)
+ echo "usage $0 start|stop|restart|status"
+esac
diff --git a/network/dnsproxy-bin/slack-desc b/network/dnsproxy-bin/slack-desc
new file mode 100644
index 0000000000..a45ac3d72a
--- /dev/null
+++ b/network/dnsproxy-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+dnsproxy-bin: dnsproxy-bin (DNS proxy server)
+dnsproxy-bin:
+dnsproxy-bin: dnsproxy is a simple DNS proxy server that supports all existing DNS
+dnsproxy-bin: protocols including DNS-over-TLS, DNS-over-HTTPS, DNSCrypt, and
+dnsproxy-bin: DNS-over-QUIC. Moreover, it can work as a DNS-over-HTTPS,
+dnsproxy-bin: DNS-over-TLS or DNS-over-QUIC server.
+dnsproxy-bin:
+dnsproxy-bin: This script packages the official prebuilt binary.
+dnsproxy-bin:
+dnsproxy-bin: Homepage: https://github.com/AdguardTeam/dnsproxy
+dnsproxy-bin:
diff --git a/network/dnstop/README b/network/dnstop/README
index b553554476..a34f6b94a8 100644
--- a/network/dnstop/README
+++ b/network/dnstop/README
@@ -1,5 +1,6 @@
-dnstop is a libpcap application (ala tcpdump) that displays various tables
-of DNS traffic on your network. Currently dnstop displays tables of:
+dnstop is a libpcap application (ala tcpdump) that displays various
+tables of DNS traffic on your network. Currently dnstop displays
+tables of:
* Source IP addresses
* Destination IP addresses
@@ -13,16 +14,16 @@ of DNS traffic on your network. Currently dnstop displays tables of:
dnstop supports both IPv4 and IPv6 addresses.
-To help find especially undesirable DNS queries, dnstop provides a number of
-filters. The filters tell dnstop to display only the following types of queries:
+To help find especially undesirable DNS queries, dnstop provides
+a number of filters. The filters tell dnstop to display only the
+following types of queries:
* For unknown/invalid TLDs
* A queries where the query name is already an IP address
* PTR queries for RFC1918 address space
-dnstop can either read packets from the live capture device, or from a tcpdump
-savefile.
+dnstop can either read packets from the live capture device, or from a
+tcpdump savefile.
--
Unless modified, this script compiles with PPP frame support.
-
diff --git a/network/dnstop/dnstop.SlackBuild b/network/dnstop/dnstop.SlackBuild
index 7cbe6a6c2f..2ed41f7fd7 100644
--- a/network/dnstop/dnstop.SlackBuild
+++ b/network/dnstop/dnstop.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dnstop
@@ -8,26 +8,36 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dnstop
VERSION=${VERSION:-20121017}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dnstracer/dnstracer.SlackBuild b/network/dnstracer/dnstracer.SlackBuild
index 4298549e9e..2c546869b9 100644
--- a/network/dnstracer/dnstracer.SlackBuild
+++ b/network/dnstracer/dnstracer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dnstracer
@@ -9,10 +9,13 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dnstracer
VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -22,7 +25,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dobbscoin/README b/network/dobbscoin/README
deleted file mode 100644
index b4cf808509..0000000000
--- a/network/dobbscoin/README
+++ /dev/null
@@ -1,8 +0,0 @@
-DobbsCOIN is an scrypt implementation, Crypto-Currency meme coin, based
-on the SubGenius Deity J.R. "BOB" Dobbs, and his Mighty 'Church of the
-SubGenius'
-
-qrencode is an optional but strongly recommended dependency.
-UPNP is disabled, it requires the optional dependency miniupnpc.
-
-Package provides both, dobbscoin-qt (GUI) and dobbscoind (CLI).
diff --git a/network/dobbscoin/dobbscoin-qt.desktop b/network/dobbscoin/dobbscoin-qt.desktop
deleted file mode 100644
index 8615c8d3e4..0000000000
--- a/network/dobbscoin/dobbscoin-qt.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Dobbscoin
-GenericName=Dobbscoin QT-Client
-Comment=Dobbscoin client to send and receive money
-Exec=/usr/bin/dobbscoin-qt
-Icon=dobbscoin
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Network;P2P;
diff --git a/network/dobbscoin/dobbscoin.SlackBuild b/network/dobbscoin/dobbscoin.SlackBuild
deleted file mode 100644
index defc639fc5..0000000000
--- a/network/dobbscoin/dobbscoin.SlackBuild
+++ /dev/null
@@ -1,123 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dobbscoin
-
-# Copyright 2014 Erik W. Hanson, Minneapolis, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# based on bitcoin.SlackBuild by nomnombtc <nomnombtc@arcor.de>
-
-PRGNAM=dobbscoin
-VERSION=${VERSION:-0.10.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# Detect miniupnpc
-if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi
-
-# Detect qrencode
-if [ -x /usr/bin/qrencode ]; then QRCODE=1; else QRCODE=0; fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-source-$VERSION
-tar xvf $CWD/${PRGNAM}-source-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-source-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Fix for miniupnpc >= 1.9.20150730.
-# Source: https://github.com/dogecoin/dogecoin/issues/1292
-patch -p1 < $CWD/miniupnpc-1.9-api.patch
-
-./autogen.sh
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-silent-rules \
- --enable-static=no \
- --with-gui="${QTGUI:-qt4}" \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-
-mkdir -p $PKG/usr/man/man{1,5}
-install -m 0644 contrib/debian/manpages/*.1 $PKG/usr/man/man1/
-install -m 0644 contrib/debian/manpages/*.5 $PKG/usr/man/man5/
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-install -m 0644 contrib/debian/dobbscoin-qt.desktop $PKG/usr/share/applications/
-install -m 0644 share/pixmaps/dobbscoin128.xpm $PKG/usr/share/pixmaps/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/* COPYING contrib/debian/examples/dobbscoin.conf $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dobbscoin/dobbscoin.info b/network/dobbscoin/dobbscoin.info
deleted file mode 100644
index bd12b3870f..0000000000
--- a/network/dobbscoin/dobbscoin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dobbscoin"
-VERSION="0.10.1"
-HOMEPAGE="http://dobbscoin.info/"
-DOWNLOAD="https://github.com/dobbscoin/dobbscoin-source/archive/v0.10.1/dobbscoin-source-0.10.1.tar.gz"
-MD5SUM="7742688342b80820b7cf70db50d812f6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="protobuf"
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
diff --git a/network/dobbscoin/doinst.sh b/network/dobbscoin/doinst.sh
deleted file mode 100644
index 140e332222..0000000000
--- a/network/dobbscoin/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
diff --git a/network/dobbscoin/miniupnpc-1.9-api.patch b/network/dobbscoin/miniupnpc-1.9-api.patch
deleted file mode 100644
index 2fe88bac4b..0000000000
--- a/network/dobbscoin/miniupnpc-1.9-api.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 984e204d7c60f0d0c5cc7d1c3a5daefcd7433f6e Mon Sep 17 00:00:00 2001
-From: acerix <dylan@psilly.com>
-Date: Wed, 7 Oct 2015 20:33:08 -0400
-Subject: [PATCH] apply bitcoin patch for miniupnpc 1.9
-
----
- src/net.cpp | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/src/net.cpp b/src/net.cpp
-index 279ee4d..f7ea000 100644
---- a/src/net.cpp
-+++ b/src/net.cpp
-@@ -1109,10 +1109,14 @@ void ThreadMapPort()
- #ifndef UPNPDISCOVER_SUCCESS
- /* miniupnpc 1.5 */
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
--#else
-+#elif MINIUPNPC_API_VERSION < 14
- /* miniupnpc 1.6 */
- int error = 0;
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
-+#else
-+ /* miniupnpc 1.9.20150730 */
-+ int error = 0;
-+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
- #endif
-
- struct UPNPUrls urls;
diff --git a/network/dobbscoin/slack-desc b/network/dobbscoin/slack-desc
deleted file mode 100644
index a97e7f7c77..0000000000
--- a/network/dobbscoin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dobbscoin: dobbscoin (The P2P currency of the Econocolypse)
-dobbscoin:
-dobbscoin: Dobbscoin is a peer-to-peer settlement instrument, a "currency like
-dobbscoin: electronic document", not to be confused with 'Legal Tender'.
-dobbscoin:
-dobbscoin:
-dobbscoin:
-dobbscoin:
-dobbscoin:
-dobbscoin:
-dobbscoin:
diff --git a/network/docsis/docsis.SlackBuild b/network/docsis/docsis.SlackBuild
index e278024aad..df2dc9f45a 100644
--- a/network/docsis/docsis.SlackBuild
+++ b/network/docsis/docsis.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for docsis
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=docsis
VERSION=${VERSION:-0.9.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,7 +60,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--build=$ARCH-slackware-linux
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dog/README b/network/dog/README
new file mode 100644
index 0000000000..a1ba58f7d4
--- /dev/null
+++ b/network/dog/README
@@ -0,0 +1,5 @@
+dog (command-line DNS client)
+
+dog is a command-line DNS client, like 'dig'. It has colourful
+output, understands normal command-line argument syntax, supports the
+DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON.
diff --git a/network/dog/config.toml b/network/dog/config.toml
new file mode 100644
index 0000000000..8b41196d91
--- /dev/null
+++ b/network/dog/config.toml
@@ -0,0 +1,9 @@
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source."https://github.com/llogiq/mutagen"]
+git = "https://github.com/llogiq/mutagen"
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
diff --git a/network/dog/dog.1 b/network/dog/dog.1
new file mode 100644
index 0000000000..bf9b516b86
--- /dev/null
+++ b/network/dog/dog.1
@@ -0,0 +1,268 @@
+.\" Automatically generated by Pandoc 3.1.6
+.\"
+.\" Define V font for inline verbatim, using C font in formats
+.\" that render this, and otherwise B font.
+.ie "\f[CB]x\f[]"x" \{\
+. ftr V B
+. ftr VI BI
+. ftr VB B
+. ftr VBI BI
+.\}
+.el \{\
+. ftr V CR
+. ftr VI CI
+. ftr VB CB
+. ftr VBI CBI
+.\}
+.TH "dog" "1" "" "v0.1.0" ""
+.hy
+.SH NAME
+.PP
+dog \[em] a command-line DNS client
+.SH SYNOPSIS
+.PP
+\f[V]dog [options] [domains...]\f[R]
+.PP
+\f[B]dog\f[R] is a command-line DNS client.
+It has colourful output, supports the DNS-over-TLS and DNS-over-HTTPS
+protocols, and can emit JSON.
+.SH EXAMPLES
+.TP
+\f[V]dog example.net\f[R]
+Query the \f[V]A\f[R] record of a domain using default settings
+.TP
+\f[V]dog example.net MX\f[R]
+\&...looking up \f[V]MX\f[R] records instead
+.TP
+\f[V]dog example.net MX \[at]1.1.1.1\f[R]
+\&...using a specific nameserver instead
+.TP
+\f[V]dog example.net MX \[at]1.1.1.1 -T\f[R]
+\&...using TCP rather than UDP
+.TP
+\f[V]dog -q example.net -t MX -n 1.1.1.1 -T\f[R]
+As above, but using explicit arguments
+.SH QUERY OPTIONS
+.TP
+\f[V]-q\f[R], \f[V]--query=HOST\f[R]
+Host name or domain name to query.
+.TP
+\f[V]-t\f[R], \f[V]--type=TYPE\f[R]
+Type of the DNS record being queried (\f[V]A\f[R], \f[V]MX\f[R],
+\f[V]NS\f[R]\&...)
+.TP
+\f[V]-n\f[R], \f[V]--nameserver=ADDR\f[R]
+Address of the nameserver to send packets to.
+.TP
+\f[V]--class=CLASS\f[R]
+Network class of the DNS record being queried (\f[V]IN\f[R],
+\f[V]CH\f[R], \f[V]HS\f[R])
+.PP
+By default, dog will request A records using the system default
+resolver.
+At least one domain name must be passed \[em] dog will not automatically
+query the root nameservers.
+.PP
+Query options passed in using a command-line option, such as
+`\f[V]--query lookup.dog\f[R]' or `\f[V]--type MX\f[R]', or as plain
+arguments, such as `\f[V]lookup.dog\f[R]' or `\f[V]MX\f[R]'.
+dog will make an intelligent guess as to what plain arguments mean
+(\f[V]MX\f[R] is quite clearly a type), which makes it easier to compose
+ad-hoc queries quickly.
+If precision is desired, use the long-form options.
+.PP
+If more than one domain, type, nameserver, or class is specified, dog
+will perform one query for each combination, and display the combined
+results in a table.
+For example, passing three type arguments and two domain name arguments
+will send six requests.
+.PP
+DNS traditionally uses port 53 for both TCP and UDP.
+To use a resolver with a different port, include the port number after a
+colon (\f[V]:\f[R]) in the nameserver address.
+.SH SENDING OPTIONS
+.TP
+\f[V]--edns=SETTING\f[R]
+Whether to opt in to DNS.
+This can be `\f[V]disable\f[R]', `\f[V]hide\f[R]', or `\f[V]show\f[R]'.
+.TP
+\f[V]--txid=NUMBER\f[R]
+Set the transaction ID to a specific value.
+.TP
+\f[V]-Z=TWEAKS\f[R]
+Set uncommon protocol-level tweaks.
+.SH TRANSPORT OPTIONS
+.TP
+\f[V]-U\f[R], \f[V]--udp\f[R]
+Use the DNS protocol over UDP.
+.TP
+\f[V]-T\f[R], \f[V]--tcp\f[R]
+Use the DNS protocol over TCP.
+.TP
+\f[V]-S\f[R], \f[V]--tls\f[R]
+Use the DNS-over-TLS protocol.
+.TP
+\f[V]-H\f[R], \f[V]--https\f[R]
+Use the DNS-over-HTTPS protocol.
+.PP
+By default, dog will use the UDP protocol, automatically re-sending the
+request using TCP if the response indicates that the message is too
+large for UDP.
+Passing \f[V]--udp\f[R] will only use UDP and will fail in this case;
+passing \f[V]--tcp\f[R] will use TCP by default.
+.PP
+The DNS-over-TLS (DoT) and DNS-over-HTTPS (DoH) protocols are available
+with the \f[V]--tls\f[R] and \f[V]--https\f[R] options.
+Bear in mind that the system default resolver is unlikely to respond to
+requests using these protocols.
+.PP
+Note that if a hostname or domain name is given as a nameserver, rather
+than an IP address, the resolution of that host is performed by the
+operating system, \f[I]not\f[R] by dog.
+.PP
+Unlike the others, the HTTPS transport type requires an entire URL,
+complete with protocol, domain name, and path.
+.SH OUTPUT OPTIONS
+.TP
+\f[V]-1\f[R], \f[V]--short\f[R]
+Short mode: display nothing but the first result.
+.TP
+\f[V]-J\f[R], \f[V]--json\f[R]
+Display the output as JSON.
+.TP
+\f[V]--color\f[R], \f[V]--colour=WHEN\f[R]
+When to colourise the output.
+This can be `\f[V]always\f[R]', `\f[V]automatic\f[R]', or
+`\f[V]never\f[R]'.
+.TP
+\f[V]--seconds\f[R]
+Do not format durations as hours and minutes; instead, display them as
+seconds.
+.TP
+\f[V]--time\f[R]
+Print how long the response took to arrive.
+.SH META OPTIONS
+.TP
+\f[V]--help\f[R]
+Displays an overview of the command-line options.
+.TP
+\f[V]--version\f[R]
+Displays the version of dog being invoked.
+.SH ENVIRONMENT VARIABLES
+.PP
+dog responds to the following environment variables:
+.SS \f[V]DOG_DEBUG\f[R]
+.PP
+Set this to any non-empty value to have dog emit debugging information
+to standard error.
+For more in-depth output, set this to the exact string
+`\f[V]trace\f[R]'.
+.SH RECORD TYPES
+.PP
+dog understands and can interpret the following record types:
+.TP
+\f[V]A\f[R]
+IPv4 addresses
+.TP
+\f[V]AAAA\f[R]
+IPv6 addresses
+.TP
+\f[V]CAA\f[R]
+permitted certificate authorities
+.TP
+\f[V]CNAME\f[R]
+canonical domain aliases
+.TP
+\f[V]HINFO\f[R]
+system information and, sometimes, forbidden request explanations
+.TP
+\f[V]LOC\f[R]
+location information
+.TP
+\f[V]MX\f[R]
+e-mail server addresses
+.TP
+\f[V]NAPTR\f[R]
+DDDS rules
+.TP
+\f[V]NS\f[R]
+domain name servers
+.TP
+\f[V]OPT\f[R]
+extensions to the DNS protocol
+.TP
+\f[V]PTR\f[R]
+pointers to canonical names, usually for reverse lookups
+.TP
+\f[V]SOA\f[R]
+administrative information about zones
+.TP
+\f[V]SRV\f[R]
+IP addresses with port numbers
+.TP
+\f[V]SSHFP\f[R]
+SSH key fingerprints
+.TP
+\f[V]TLSA\f[R]
+TLS certificates, public keys, and hashes
+.TP
+\f[V]TXT\f[R]
+arbitrary textual information
+.PP
+When a response DNS packet contains a record of one of these known
+types, dog will display it in a table containing the type name and a
+human-readable summary of its contents.
+.PP
+Records with a type number that does not map to any known record type
+will still be displayed.
+As they cannot be interpreted, their contents will be displayed as a
+series of numbers instead.
+.PP
+dog also contains a list of record type names that it knows the type
+number of, but is not able to interpret, such as \f[V]IXFR\f[R] or
+\f[V]ANY\f[R] or \f[V]AFSDB\f[R].
+These are acceptable as command-line arguments, meaning you can send an
+AFSDB request with `\f[V]dog AFSDB\f[R]'.
+However, their response contents will still be displayed as numbers.
+They may be supported in future versions of dog.
+.SH PROTOCOL TWEAKS
+.PP
+The \f[V]-Z\f[R] command-line argument can be used one or more times to
+set some protocol-level options in the DNS queries that get sent.
+It accepts the following values:
+.TP
+\f[V]aa\f[R]
+Sets the \f[V]AA\f[R] (Authoritative Answers) bit in the query.
+.TP
+\f[V]ad\f[R]
+Sets the \f[V]AD\f[R] (Authentic Data) bit in the query.
+.TP
+\f[V]bufsize=NUM\f[R]
+Sets the UDP payload size field in the OPT field in the query.
+This has no effect if EDNS is diabled.
+.TP
+\f[V]cd\f[R]
+Sets the \f[V]CD\f[R] (Checking Disabled) bit in the query.
+.SH EXIT STATUSES
+.TP
+0
+If everything goes OK.
+.TP
+1
+If there was a network, I/O, or TLS error during operation.
+.TP
+2
+If there is no result from the server when running in short mode.
+This can be any received server error, not just NXDOMAIN.
+.TP
+3
+If there was a problem with the command-line arguments.
+.SH AUTHOR
+.PP
+dog is maintained by Benjamin `ogham' Sago.
+.PP
+\f[B]Website:\f[R] \f[V]https://dns.lookup.dog/\f[R]
+.PD 0
+.P
+.PD
+\f[B]Source code:\f[R] \f[V]https://github.com/ogham/dog\f[R]
diff --git a/network/dog/dog.SlackBuild b/network/dog/dog.SlackBuild
new file mode 100644
index 0000000000..2b5e586287
--- /dev/null
+++ b/network/dog/dog.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for dog
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Notes:
+
+# This is written in rust, which annoys me (not the language, but its
+# build system). Fortunately it works with the rust included in
+# Slackware 15.0 (no need for rustup).
+
+# I considered just doing a binary repack, but upstream doesn't
+# provide a 32-bit x86 binary...
+
+# The vendored sources were made thus:
+## tar xvf dog-0.1.0.tar.gz
+## cd dog-0.1.0
+## cargo vendor
+## cd ..
+## tar cvfJ dog-0.1.0-vendored-sources.tar.xz dog-0.1.0/vendor/
+# It's a bunch of .crate files, like 70 of them. I would not have
+# packaged this if I didn't have a place to host my own tarball
+# with all the vendor stuff (if I had to list 70 .crate files in
+# my .info file, I'd just forget about this).
+
+# The man page was generated with:
+## pandoc --standalone -t man /tmp/SBo/dog-0.1.0/man/dog.1.md > dog.1
+# (adapted from the Justfile)
+
+# Linode has some docs on using this:
+# https://www.linode.com/docs/guides/use-dog-linux-dns-client/
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dog
+VERSION=${VERSION:-0.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# It's in rust, we don't need any C flags. Also, no lib|lib64 here.
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-vendored-sources.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# Contents of config.toml came from 'cargo vendor' output.
+mkdir -p .cargo
+cat $CWD/config.toml > .cargo/config.toml
+
+# Setting CARGO_HOME prevents writing a 0-byte /root/.cargo/.package-cache
+CARGO_HOME=`pwd`/.cargo-home cargo build --release
+
+install -D -s -m0755 -oroot -groot target/release/dog $PKG/usr/bin/dog
+
+# Pregenerated (tiny) man page to avoid dependency on (huge) pandoc.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/dog.1 > $PKG/usr/man/man1/dog.1.gz
+
+# Completions for various shells. They all seem to work.
+PSH=$PKG/usr/share
+install -D -m0644 completions/dog.bash $PSH/bash-completion/completions/dog
+install -D -m0644 completions/dog.fish $PSH/fish/completions/dog.fish
+install -D -m0644 completions/dog.zsh $PSH/zsh/site-functions/_dog
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README* LICENCE $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dog/dog.info b/network/dog/dog.info
new file mode 100644
index 0000000000..97882692e3
--- /dev/null
+++ b/network/dog/dog.info
@@ -0,0 +1,12 @@
+PRGNAM="dog"
+VERSION="0.1.0"
+HOMEPAGE="https://dns.lookup.dog/"
+DOWNLOAD="https://github.com/ogham/dog/archive/v0.1.0/dog-0.1.0.tar.gz \
+ https://slackware.uk/~urchlay/src/dog-0.1.0-vendored-sources.tar.xz"
+MD5SUM="ed91c9cedc9dd9b16c179a928290ed65 \
+ 07919b78323eb5b5b22f67f11fa6b592"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/dog/slack-desc b/network/dog/slack-desc
new file mode 100644
index 0000000000..1208e3fe29
--- /dev/null
+++ b/network/dog/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+dog: dog (command-line DNS client)
+dog:
+dog: dog is a command-line DNS client, like 'dig'. It has colourful
+dog: output, understands normal command-line argument syntax, supports the
+dog: DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON.
+dog:
+dog:
+dog:
+dog:
+dog:
+dog:
diff --git a/network/dogecoin/LICENSE b/network/dogecoin/LICENSE
deleted file mode 100644
index d159169d10..0000000000
--- a/network/dogecoin/LICENSE
+++ /dev/null
@@ -1,339 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
diff --git a/network/dogecoin/README b/network/dogecoin/README
deleted file mode 100644
index b7dcd2cc2a..0000000000
--- a/network/dogecoin/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Dogecoin (P2P electronic cash system)
-
-Dogecoin is a free open source peer-to-peer electronic cash system
-that is completely decentralized, without the need for a central
-server or trusted parties. Users hold the crypto keys to their
-own money and transact directly with each other, with the help
-of a P2P network to check for double-spending.
-
-qrencode is an optional but strongly recommended dependency.
-UPNP is disabled, it requires the optional dependency miniupnpc.
-
-Package provides both, dogecoin-qt (GUI) and dogecoind (CLI).
diff --git a/network/dogecoin/dogecoin.SlackBuild b/network/dogecoin/dogecoin.SlackBuild
deleted file mode 100644
index 6733350de6..0000000000
--- a/network/dogecoin/dogecoin.SlackBuild
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dogecoin
-
-# Written by Pedro Guimaraes <moisespedro15@gmail.com>
-
-#This program is free software; you can redistribute it and/or
-#modify it under the terms of the GNU General Public License
-#as published by the Free Software Foundation; either version 2
-#of the License, or (at your option) any later version.
-
-#This program is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-#GNU General Public License for more details.
-
-#You should have received a copy of the GNU General Public License
-#along with this program; if not, write to the Free Software
-#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-PRGNAM=dogecoin
-VERSION=${VERSION:-1.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-MARCH=$( uname -m )
-if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i486 ;;
- armv7hl) export ARCH=$MARCH ;;
- armv6hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
- *) export ARCH=$MARCH ;;
- esac
-fi
-
-case "$ARCH" in
- i486) SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
- ;;
- x86_64) SLKCFLAGS="-O2 -fPIC"
- SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
- ;;
- armv7hl) SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
- ;;
- armv6hl) SLKCFLAGS="-O2 -march=armv6 -mfpu=vfp -mfloat-abi=hard"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
- ;;
- *) SLKCFLAGS="-O2"
- SLKLDFLAGS=""; LIBDIRSUFFIX=""
- ;;
-esac
-
-case "$ARCH" in
- arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
- *) TARGET=$ARCH-slackware-linux ;;
-esac
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Detect miniupnpc
-if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi
-
-# Detect qrencode
-if [ -x /usr/bin/qrencode ]; then QRCODE=1; else QRCODE=0; fi
-
-# Build dogecoin-qt
-echo Building dogecoin-qt ...
-qmake \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \
- USE_UPNP="$UPNP" \
- USE_QRCODE="$QRCODE" \
- USE_SSL=1
-
-make
-
-# Build dogecoind
-cd src
-
- if [ "$UPNP" = "-" ]; then
- # disable UPNP
- sed -i 's/USE_UPNP:=0/USE_UPNP:=/g' makefile.unix
- fi
-
- # disable static linking, not supported by boost in slackware
- sed -i 's/Bstatic/Bdynamic/g' makefile.unix
-
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1" \
- make -f makefile.unix \
- dogecoind \
- USE_SSL=1
-
-cd -
-
-mkdir -p $PKG/usr/{bin,man/man{1,5}}
-mkdir -p $PKG/usr/share/{applications,kde4/services,pixmaps}
-
-install -m 0755 dogecoin-qt $PKG/usr/bin/
-install -m 0755 src/dogecoind $PKG/usr/bin/
-
-install -m 0644 contrib/debian/manpages/dogecoin-qt.1 $PKG/usr/man/man1/
-install -m 0644 contrib/debian/manpages/dogecoind.1 $PKG/usr/man/man1/
-install -m 0644 contrib/debian/manpages/dogecoin.conf.5 $PKG/usr/man/man5/
-
-install -m 0644 -T share/pixmaps/bitcoin128.png $PKG/usr/share/pixmaps/dogecoin128.png
-install -m 0644 contrib/debian/dogecoin-qt.desktop $PKG/usr/share/applications/
-install -m 0644 contrib/debian/dogecoin-qt.protocol $PKG/usr/share/kde4/services/
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/README.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dogecoin/dogecoin.info b/network/dogecoin/dogecoin.info
deleted file mode 100644
index a2d688c7b0..0000000000
--- a/network/dogecoin/dogecoin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dogecoin"
-VERSION="1.6"
-HOMEPAGE="http://www.dogecoin.com"
-DOWNLOAD="https://github.com/dogecoin/dogecoin/archive/1.6.tar.gz"
-MD5SUM="2340d89110f00c68fa748ab7b74a6087"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Pedro Guimaraes"
-EMAIL="moisespedro15@gmail.com"
diff --git a/network/dogecoin/doinst.sh b/network/dogecoin/doinst.sh
deleted file mode 100644
index 140e332222..0000000000
--- a/network/dogecoin/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
diff --git a/network/dogecoin/slack-desc b/network/dogecoin/slack-desc
deleted file mode 100644
index 79712bab8f..0000000000
--- a/network/dogecoin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dogecoin: dogecoin (P2P electronic cash system)
-dogecoin:
-dogecoin: dogecoin is a free open source peer-to-peer electronic cash system
-dogecoin: that is completely decentralized, without the need for a central
-dogecoin: server or trusted parties. Users hold the crypto keys to their
-dogecoin: own money and transact directly with each other, with the help
-dogecoin: of a P2P network to check for double-spending.
-dogecoin:
-dogecoin: Project Website: http://www.dogecoin.com
-dogecoin:
-dogecoin:
diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild
index 9f7823b228..3c329e643d 100644
--- a/network/dokuwiki/dokuwiki.SlackBuild
+++ b/network/dokuwiki/dokuwiki.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dokuwiki
#
# Copyright 2016-2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# Copyright 2019-2021 Jefferson Rocha <root@slackjeff.com.br>, Curitiba, Brazil
+# Copyright 2021-2023 slackjeff <slackjeff@riseup.net>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,31 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dokuwiki
-VERSION=${VERSION:-20200729}
-UNPACK=${UNPACK:-stable}
-SRCVERSION=${SRCVERSION:-2020-07-29}
+VERSION=${VERSION:-20230404a}
+SRCVERSION=${SRCVERSION:-2023-04-04a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
-mv ${PRGNAM}-${UNPACK}.tgz ${PRGNAM}-${SRCVERSION}.tgz
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$SRCVERSION.tgz
mkdir -p $PKG/var/www/htdocs/$PRGNAM
-mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/htdocs/$PRGNAM/
+mv $TMP/${PRGNAM}-${SRCVERSION}/* $PKG/var/www/htdocs/$PRGNAM/
chown -R apache:apache $PKG/var/www/htdocs/$PRGNAM/
mkdir -p $PKG/etc/httpd/extra
@@ -69,7 +75,8 @@ EOF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
# Move all docs
-mv $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/
+mv -v $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -77,4 +84,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dokuwiki/dokuwiki.info b/network/dokuwiki/dokuwiki.info
index ff5714ca14..b746c2f55a 100644
--- a/network/dokuwiki/dokuwiki.info
+++ b/network/dokuwiki/dokuwiki.info
@@ -1,10 +1,10 @@
PRGNAM="dokuwiki"
-VERSION="20200729"
+VERSION="20230404a"
HOMEPAGE="https://www.dokuwiki.org/dokuwiki"
-DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz"
-MD5SUM="8867b6a5d71ecb5203402fe5e8fa18c9"
+DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-2023-04-04a.tgz"
+MD5SUM="8a68393e689bf6d1130bfe660a19fc6b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Jefferson Rocha"
-EMAIL="root@slackjeff.com.br"
+MAINTAINER="slackjeff"
+EMAIL="slackjeff@riseup.net"
diff --git a/network/dothost/README b/network/dothost/README
index 92be91a80f..ad59377441 100644
--- a/network/dothost/README
+++ b/network/dothost/README
@@ -1,3 +1,5 @@
+dothost (DNS lookup utility with Graphviz output)
+
dothost is a DNS lookup utility, which produces output in Graphviz
format. It does this, not by using Graphviz, but by using the graph-easy
Perl module also available at slackbuilds.org
diff --git a/network/dothost/dothost.SlackBuild b/network/dothost/dothost.SlackBuild
index fdd763df5e..23e7c278cf 100644
--- a/network/dothost/dothost.SlackBuild
+++ b/network/dothost/dothost.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dothost
+# Copyright 2023 B. Watson (urchlay@slackware.uk)
# Copyright 2018-2020 Donald Cooley South Haven, Indiana USA
# All rights reserved.
#
@@ -22,20 +23,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230223 bkw: BUILD=2
+# - new maintainer.
+# - ARCH=noarch (no compiled code, no lib64 dir).
+# - cosmetics in slack-desc and README.
+# - simplify build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dothost
VERSION=${VERSION:-0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,32 +57,22 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Install to /usr instead of /usr/local
-sed -i 's_/usr/local_/usr_' Makefile
-
-# Install man pages into /usr/man instead of /usr/share/man
-sed -i 's_/share/man_/man_' Makefile
-
-make
-make install DESTDIR=$PKG
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install PREFIX=/usr mandir=/usr/man DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+# no need for the man page in /usr/doc
+rm -f doc/*.1
+cp -a doc/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dothost/dothost.info b/network/dothost/dothost.info
index d4cfa2b9b9..37de1d7117 100644
--- a/network/dothost/dothost.info
+++ b/network/dothost/dothost.info
@@ -6,5 +6,5 @@ MD5SUM="2f95fb6cd01458b9e848b4fdbe9aba79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="graph-easy"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/dothost/slack-desc b/network/dothost/slack-desc
index 69fa54c838..4bbbff2c90 100644
--- a/network/dothost/slack-desc
+++ b/network/dothost/slack-desc
@@ -12,8 +12,8 @@ dothost: dothost is a DNS lookup utility, which produces output in Graphviz
dothost: format. It does this, not by using Graphviz, but by using the
dothost: graph-easy Perl module also available at slackbuilds.org
dothost:
+dothost: https://jwilk.net/software/dothost
dothost:
dothost:
-dothost: https://jwilk.net/software/dothost
dothost:
dothost:
diff --git a/network/dovecot-pgsql/README b/network/dovecot-pgsql/README
new file mode 100644
index 0000000000..72b4df4604
--- /dev/null
+++ b/network/dovecot-pgsql/README
@@ -0,0 +1,4 @@
+Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like
+systems, written with security foremost in mind.
+
+This script builds the PostgreSQL driver.
diff --git a/network/dovecot-pgsql/dovecot-pgsql.SlackBuild b/network/dovecot-pgsql/dovecot-pgsql.SlackBuild
new file mode 100644
index 0000000000..5dff6bd73d
--- /dev/null
+++ b/network/dovecot-pgsql/dovecot-pgsql.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for dovecot-pgsql
+
+# Copyright 2006, 2010 Alan Hicks, Lizella, GA
+# Copyright 2013, 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2020, 2021, 2022 Eugene Wissner, Dachau, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dovecot-pgsql
+VERSION=${VERSION:-2.3.17.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=dovecot
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=/usr/man \
+ --with-notify=inotify \
+ --without-pam \
+ --with-ldap=plugin \
+ --with-lucene \
+ --with-sql=plugin \
+ --with-pgsql \
+ --with-libcap \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make -C src/lib-sql libdriver_pgsql.la
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/dovecot/auth
+cp -a \
+ src/lib-sql/libdriver_pgsql.la \
+ src/lib-sql/.libs/libdriver_pgsql.so \
+ $PKG/usr/lib${LIBDIRSUFFIX}/dovecot/
+ln -s ../libdriver_pgsql.so $PKG/usr/lib${LIBDIRSUFFIX}/dovecot/auth/libdriver_pgsql.so
+
+strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/dovecot/libdriver_pgsql.so
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dovecot-pgsql/dovecot-pgsql.info b/network/dovecot-pgsql/dovecot-pgsql.info
new file mode 100644
index 0000000000..a8d74d1975
--- /dev/null
+++ b/network/dovecot-pgsql/dovecot-pgsql.info
@@ -0,0 +1,10 @@
+PRGNAM="dovecot-pgsql"
+VERSION="2.3.17.1"
+HOMEPAGE="https://dovecot.org/"
+DOWNLOAD="https://www.dovecot.org/releases/2.3/dovecot-2.3.17.1.tar.gz"
+MD5SUM="9b67ec4f21e5ecfcfb32fd5f412b511b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="postgresql"
+MAINTAINER="Eugene Wissner"
+EMAIL="belka@caraus.de"
diff --git a/network/dovecot-pgsql/slack-desc b/network/dovecot-pgsql/slack-desc
new file mode 100644
index 0000000000..a47e2dc664
--- /dev/null
+++ b/network/dovecot-pgsql/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+dovecot-pgsql: dovecot-pgsql (PostgreSQL driver for dovecot)
+dovecot-pgsql:
+dovecot-pgsql: Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like
+dovecot-pgsql: systems, written with security foremost in mind.
+dovecot-pgsql:
+dovecot-pgsql: This script builds the PostgreSQL driver.
+dovecot-pgsql:
+dovecot-pgsql:
+dovecot-pgsql:
+dovecot-pgsql:
+dovecot-pgsql:
diff --git a/network/dovecot-pigeonhole/README b/network/dovecot-pigeonhole/README
index 84995d1dd3..73a60843e4 100644
--- a/network/dovecot-pigeonhole/README
+++ b/network/dovecot-pigeonhole/README
@@ -1,19 +1,20 @@
-Pigeonhole is the name of the project that adds support for the Sieve language
-(RFC 5228) and the ManageSieve protocol (RFC 5804) to the Dovecot Secure
-IMAP/POP3 Server.
+Pigeonhole is the name of the project that adds support for the Sieve
+language (RFC 5228) and the ManageSieve protocol (RFC 5804) to the
+Dovecot Secure IMAP/POP3 Server.
-Sieve language specification and scripts provide mail filtering capabilities on
-the server side for individual users. Each user can edit and upload (using
-ManageSieve) sieve scripts to filter mail based on supported Sieve language
-extensions within pigeonhole.
+Sieve language specification and scripts provide mail filtering
+capabilities on the server side for individual users. Each user can
+edit and upload (using ManageSieve) sieve scripts to filter mail based
+on supported Sieve language extensions within pigeonhole.
-The Pigeonhole project provides Sieve support as a plugin to Dovecot's Local
-Delivery Agent (LDA). The ManageSieve protocol is provided is an additional
-service, next to Dovecot's own POP3 and IMAP services.
+The Pigeonhole project provides Sieve support as a plugin to Dovecot's
+Local Delivery Agent (LDA). The ManageSieve protocol is provided is an
+additional service, next to Dovecot's own POP3 and IMAP services.
-To configure pigeonhole, use sieve and managesieve config files installed with
-dovecot documentation. Copy 20-managesieve.conf and 90-sieve.conf files to
-/etc/dovecot/conf.d and edit them according to your needs.
+To configure pigeonhole, use sieve and managesieve config files
+installed with dovecot documentation. Copy 20-managesieve.conf and
+90-sieve.conf files to /etc/dovecot/conf.d and edit them according to
+your needs.
For additional help with configuration, see:
diff --git a/network/dovecot-pigeonhole/dovecot-pigeonhole.SlackBuild b/network/dovecot-pigeonhole/dovecot-pigeonhole.SlackBuild
index fb88f7ce6a..8c11be3da4 100644
--- a/network/dovecot-pigeonhole/dovecot-pigeonhole.SlackBuild
+++ b/network/dovecot-pigeonhole/dovecot-pigeonhole.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for pigeonhole
# Copyright 2010, 2011, 2013 Nishant Limbachia, Hoffman Estates, IL, USA
-# Copyright 2013, 2014, 2015, 2016, 2017, 2018, 2019 Mario Preksavec, Zagreb, Croatia
+# Copyright 2013, 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dovecot-pigeonhole
-VERSION=${VERSION:-0.5.4}
+VERSION=${VERSION:-0.5.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=dovecot-2.3-pigeonhole
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dovecot-pigeonhole/dovecot-pigeonhole.info b/network/dovecot-pigeonhole/dovecot-pigeonhole.info
index 83de02e3e3..a025888741 100644
--- a/network/dovecot-pigeonhole/dovecot-pigeonhole.info
+++ b/network/dovecot-pigeonhole/dovecot-pigeonhole.info
@@ -1,10 +1,10 @@
PRGNAM="dovecot-pigeonhole"
-VERSION="0.5.4"
+VERSION="0.5.17"
HOMEPAGE="http://pigeonhole.dovecot.org/"
-DOWNLOAD="http://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.4.tar.gz"
-MD5SUM="331a7554d6b12ac2cca760146934fc5b"
+DOWNLOAD="https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.17.tar.gz"
+MD5SUM="b694322af9d54ca8cfaf857bb8d69b12"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dovecot"
+REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/dovecot/README b/network/dovecot/README
deleted file mode 100644
index f81559ff43..0000000000
--- a/network/dovecot/README
+++ /dev/null
@@ -1,27 +0,0 @@
-dovecot (open source IMAP and POP3 server)
-
-Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like
-systems, written with security primarily in mind. Dovecot is an excellent
-choice for both small and large installations. It's fast, simple to set
-up, requires no special administration and it uses very little memory.
-
-This script builds dovecot with support for SSL. As such, you must
-have openssl installed - openssl-solibs is not enough in itself to meet
-this requirement.
-
-By default, MySQL database is selected, switch to PostgreSQL with:
-
- DATABASE=pgsql ./dovecot.SlackBuild
-
-See the documentation in /usr/doc/dovecot-*/ to get started.
-
-
-Groupnames and Usernames
-
-You must have both 'dovecot' and 'dovenull' users and groups to run this
-script, for example:
-
- groupadd -g 202 dovecot
- useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot
- groupadd -g 248 dovenull
- useradd -d /dev/null -s /bin/false -u 248 -g 248 dovenull
diff --git a/network/dovecot/doinst.sh b/network/dovecot/doinst.sh
deleted file mode 100644
index 03c21fc848..0000000000
--- a/network/dovecot/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.dovecot.new
-
diff --git a/network/dovecot/dovecot.SlackBuild b/network/dovecot/dovecot.SlackBuild
deleted file mode 100644
index a69de55eb3..0000000000
--- a/network/dovecot/dovecot.SlackBuild
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/bin/sh
-
-# Copyright 2006, 2010 Alan Hicks, Lizella, GA
-# Copyright 2013, 2014, 2015, 2016, 2017, 2018, 2019 Mario Preksavec, Zagreb, Croatia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=dovecot
-VERSION=${VERSION:-2.3.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Build with MySQL database support by default
-case $DATABASE in
- pgsql) : ;;
- *) DATABASE=mysql ;;
-esac
-
-bailout() {
- echo " You must have both dovecot and dovenull users and groups:"
- echo " # groupadd -g 202 dovecot"
- echo " # useradd -d /dev/null -s /bin/false -u 202 -g 202 dovecot"
- echo " # groupadd -g 248 dovenull"
- echo " # useradd -d /dev/null -s /bin/false -u 248 -g 248 dovenull"
- exit 1
-}
-
-# Bail if user isn't valid on your system
-if ! getent group dovecot 1>/dev/null 2>/dev/null ; then
- bailout
-elif ! getent passwd dovecot 1>/dev/null 2>/dev/null ; then
- bailout
-fi
-
-set -e
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Add -ldl to LDFLAGS for sqlite
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-ldl" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --mandir=/usr/man \
- --with-notify=inotify \
- --without-pam \
- --with-ldap=plugin \
- --with-lucene \
- --with-$DATABASE \
- --with-sqlite \
- --with-libcap \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.dovecot > $PKG/etc/rc.d/rc.dovecot.new
-chmod 0755 $PKG/etc/rc.d/rc.dovecot.new
-
-gzip -9 $PKG/usr/man/man?/*.?
-
-cp -a \
- AUTHORS COPYING* ChangeLog NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/dovecot.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/dovecot.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dovecot/dovecot.info b/network/dovecot/dovecot.info
deleted file mode 100644
index eb0eb93f65..0000000000
--- a/network/dovecot/dovecot.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dovecot"
-VERSION="2.3.4"
-HOMEPAGE="http://www.dovecot.org/"
-DOWNLOAD="http://www.dovecot.org/releases/2.3/dovecot-2.3.4.tar.gz"
-MD5SUM="00eebc835a8793e8a167a616a78f4753"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/network/dovecot/rc.dovecot b/network/dovecot/rc.dovecot
deleted file mode 100644
index 8d68312ab7..0000000000
--- a/network/dovecot/rc.dovecot
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-# Copyright 2006, Alan Hicks, Lizella, GA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-dovecot_start()
-{
- echo "Firing up dovecot."
- dovecot
-}
-
-dovecot_stop()
-{
- echo "Shutting down dovecot."
- killall dovecot
-}
-
-dovecot_restart()
-{
- dovecot_stop
- sleep 3 # Give it time to clean-up if it needs it.
- dovecot_start
-}
-
-case $1 in
-'start')
- dovecot_start
- ;;
-'stop')
- dovecot_stop
- ;;
-'restart')
- dovecot_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
-
diff --git a/network/dovecot/slack-desc b/network/dovecot/slack-desc
deleted file mode 100644
index 29a273bade..0000000000
--- a/network/dovecot/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dovecot: dovecot (open source IMAP and POP3 server)
-dovecot:
-dovecot: Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like
-dovecot: systems, written with security primarily in mind. Although it's
-dovecot: written in C, it uses several coding techniques to avoid most of the
-dovecot: common pitfalls.
-dovecot: Dovecot can work with standard mbox and Maildir formats and it's
-dovecot: fully compatible with UW-IMAP and Courier IMAP servers'
-dovecot: implementation of them, as well as mail clients accessing the
-dovecot: mailboxes directly.
-dovecot:
diff --git a/network/drawterm/drawterm.SlackBuild b/network/drawterm/drawterm.SlackBuild
index 241e4a0981..7750f55164 100644
--- a/network/drawterm/drawterm.SlackBuild
+++ b/network/drawterm/drawterm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for drawterm
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=drawterm
VERSION=${VERSION:-dc703b3438f9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,7 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -57,7 +67,9 @@ find -L . \
# The makefile uses the build host's uname to determine the target architecture,
# and won't handle our CFLAGS, and can't 'make install'.
-CONF=unix make
+# (we can fool it a bit with CC though - Dave)
+CONF=unix make \
+CC="gcc $SLKCFLAGS -fcommon"
install -D -t $PKG/usr/bin -m755 drawterm
install -D -t $PKG/usr/man/man1 -m755 drawterm.1
@@ -76,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/driftnet/README b/network/driftnet/README
index 3774915a48..bdcc236f51 100644
--- a/network/driftnet/README
+++ b/network/driftnet/README
@@ -1,7 +1,8 @@
-Driftnet is a program designed to capture JPEG and GIF images by sniffing
-network traffic and display them in an X window. Optionally, you may also
-capture MPEG audio streams and play them. According to the author, "It is
-a horrific invasion of privacy and shouldn't be used by anyone anywhere."
+Driftnet is a program designed to capture JPEG and GIF images by
+sniffing network traffic and display them in an X window. Optionally,
+you may also capture MPEG audio streams and play them. According to
+the author, "It is a horrific invasion of privacy and shouldn't be
+used by anyone anywhere."
Original project: http://www.ex-parrot.com/~chris/driftnet/
diff --git a/network/driftnet/driftnet.SlackBuild b/network/driftnet/driftnet.SlackBuild
index 7b75ac248f..69308123bd 100644
--- a/network/driftnet/driftnet.SlackBuild
+++ b/network/driftnet/driftnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild build script for driftnet
# Copyright 2010, JK Wood <joshuakwood@gmail.com>
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=driftnet
VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dropbear/README b/network/dropbear/README
index 5da4e54160..2f154bcb82 100644
--- a/network/dropbear/README
+++ b/network/dropbear/README
@@ -6,14 +6,21 @@ distributed under a MIT-style license. Dropbear is particularly
useful for "embedded"-type Linux (or other Unix) systems, such as
wireless routers.
-Please note the Dropbear distribution includes a standalone
-version of OpenSSH's scp program. This slackbuild will build this
-by default, thus creating a package which conflicts with OpenSSH's
-scp binary. Installing this package will overwrite this file with a
-symbolic link to the dropbearmulti binary, so a backup of /usr/bin/scp
-will be made if it exists. After uninstalling dropbear, you can
-restore the backup with 'mv /usr/bin/scp.openssh /usr/bin/scp'.
+Please note the Dropbear distribution includes a standalone version of
+OpenSSH's scp program. This SlackBuild will NOT link this by default,
+thus creating a package which will not conflict with OpenSSH's scp
+binary.
-If you do not want to build the scp binary, use:
+If you want to link dropbear's scp binary, use:
- WITH_SCP=no ./dropbear.SlackBuild
+ WITH_SCP=yes ./dropbear.SlackBuild
+
+Installing the package built with WITH_SCP=yes will overwrite
+this file with a symbolic link to the dropbearmulti binary, so a
+backup of /usr/bin/scp will be made if it exists. After uninstalling
+dropbear, you can restore the backup with 'mv /usr/bin/scp.openssh
+/usr/bin/scp'.
+
+Installing the package built with WITH_SCP=no will create a
+symbolic link /usr/bin/scp.dropbear pointing to the dropbearmulti
+binary.
diff --git a/network/dropbear/dropbear.SlackBuild b/network/dropbear/dropbear.SlackBuild
index 309fcbb935..490b671695 100644
--- a/network/dropbear/dropbear.SlackBuild
+++ b/network/dropbear/dropbear.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2007-2008, Piter Punk, São Paulo, Brazil
-# Copyright 2017-2020, Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2020,2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dropbear
-VERSION=${VERSION:-2020.81}
+VERSION=${VERSION:-2022.83}
SRCVERSION="DROPBEAR_$VERSION"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,40 +96,50 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-pututxline \
--build=$ARCH-slackware-linux
-PROGRAMS="dropbear dbclient dropbearkey dropbearconvert"
-
-WITH_SCP=${WITH_SCP:-yes}
-
-if [ "$WITH_SCP" = "yes" ] ; then
- PROGRAMS="$PROGRAMS scp"
-fi
+PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
make strip \
PROGRAMS="$PROGRAMS" \
- MULTI=1
+ MULTI=1 \
+ SCPPROGRESS=1
make install \
PROGRAMS="$PROGRAMS" \
MULTI=1 \
+ SCPPROGRESS=1 \
DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+WITH_SCP=${WITH_SCP:-no}
+
+# 20220412 bkw: use relative symlinks.
+for i in $PROGRAMS; do
+ BIN=$PKG/usr/bin/$i
+ SBIN=$PKG/usr/sbin/$i
+
+ if [ "$i" = "scp" ] && [ "$WITH_SCP" != "yes" ] ; then
+ [ -L $BIN ] && rm -f $BIN && ln -s dropbearmulti $BIN.dropbear
+ [ -L $SBIN ] && rm -f $SBIN && ln -s ../bin/dropbearmulti $SBIN.dropbear
+ else
+ [ -L $BIN ] && rm -f $BIN && ln -s dropbearmulti $BIN
+ [ -L $SBIN ] && rm -f $SBIN && ln -s ../bin/dropbearmulti $SBIN
+ fi
+done
+
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.dropbear.new > $PKG/etc/rc.d/rc.dropbear.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES INSTALL LICENSE MULTI README SMALL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES LICENSE MULTI README SMALL $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-if [ "$WITH_SCOPE" = "yes" ] ; then
+if [ "$WITH_SCP" = "yes" ] ; then
cat << EOF >> $PKG/install/doinst.sh
if [ -e usr/bin/scp ]; then
mv usr/bin/scp usr/bin/scp.openssh
@@ -130,4 +148,4 @@ EOF
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dropbear/dropbear.info b/network/dropbear/dropbear.info
index 95c96f952b..b4635fc56b 100644
--- a/network/dropbear/dropbear.info
+++ b/network/dropbear/dropbear.info
@@ -1,8 +1,8 @@
PRGNAM="dropbear"
-VERSION="2020.81"
+VERSION="2022.83"
HOMEPAGE="https://github.com/mkj/dropbear"
-DOWNLOAD="https://github.com/mkj/dropbear/archive/DROPBEAR_2020.81/dropbear-DROPBEAR_2020.81.tar.gz"
-MD5SUM="31761dde389e765b5f77deda4a0fd027"
+DOWNLOAD="https://github.com/mkj/dropbear/archive/DROPBEAR_2022.83/dropbear-DROPBEAR_2022.83.tar.gz"
+MD5SUM="f166e27ec24752ffa892910fc89a51b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/dropbox/dropbox.SlackBuild b/network/dropbox/dropbox.SlackBuild
index 71254ee8d8..f84854721d 100644
--- a/network/dropbox/dropbox.SlackBuild
+++ b/network/dropbox/dropbox.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dropbox
# Copyright 2017 cmyster amit.ugol@gmail.com
-# Copyright 2019-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2019-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,10 +28,13 @@
# Source for x86: https://www.dropbox.com/download?plat=lnx.x86
# Source for x86_64: https://www.dropbox.com/download?plat=lnx.x86_64
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dropbox
-VERSION=${VERSION:-115.4.601}
+VERSION=${VERSION:-196.4.6900}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +91,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dropbox/dropbox.desktop b/network/dropbox/dropbox.desktop
index c3694e8c45..b1a1115fd9 100644
--- a/network/dropbox/dropbox.desktop
+++ b/network/dropbox/dropbox.desktop
@@ -2,7 +2,7 @@
Name=Dropbox
GenericName=Network Storage
Comment=Secure backup, sync and sharing made easy
-Exec=dbus-launch /opt/dropbox/dropboxd
+Exec=/opt/dropbox/dropboxd
Icon=/usr/share/pixmaps/dropbox.png
Terminal=false
Type=Application
diff --git a/network/dropbox/dropbox.info b/network/dropbox/dropbox.info
index e52deb8a67..9df24e3a6b 100644
--- a/network/dropbox/dropbox.info
+++ b/network/dropbox/dropbox.info
@@ -1,10 +1,10 @@
PRGNAM="dropbox"
-VERSION="115.4.601"
+VERSION="196.4.6900"
HOMEPAGE="https://www.dropbox.com"
-DOWNLOAD="https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-115.4.601.tar.gz"
-MD5SUM="7d8c4673cca59695a02421baf6163634"
-DOWNLOAD_x86_64="https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-115.4.601.tar.gz"
-MD5SUM_x86_64="6fcf9c711c810b0c4a7b13dddbb96cf3"
+DOWNLOAD="https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-196.4.6900.tar.gz"
+MD5SUM="691c757e0689c38df18d5d3a0e54b66c"
+DOWNLOAD_x86_64="https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-196.4.6900.tar.gz"
+MD5SUM_x86_64="7ceac7a9546e337c78d13106fb923880"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/dsniff/README b/network/dsniff/README
index 39b8cafe10..a8a7d90ca7 100644
--- a/network/dsniff/README
+++ b/network/dsniff/README
@@ -1,7 +1,8 @@
-dsniff is a collection of tools for network auditing and penetration testing.
-dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf, and webspy passively monitor
-a network for interesting data (passwords, e-mail, files, etc.). arpspoof,
-dnsspoof, and macof facilitate the interception of network traffic normally
-unavailable to an attacker (e.g, due to layer-2 switching). sshmitm and
-webmitm implement active monkey-in-the-middle attacks against redirected SSH
-and HTTPS sessions by exploiting weak bindings in ad-hoc PKI.
+dsniff is a collection of tools for network auditing and penetration
+testing. dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf, and
+webspy passively monitor a network for interesting data (passwords,
+e-mail, files, etc.). arpspoof, dnsspoof, and macof facilitate the
+interception of network traffic normally unavailable to an attacker
+(e.g, due to layer-2 switching). sshmitm and webmitm implement active
+monkey-in-the-middle attacks against redirected SSH and HTTPS sessions
+by exploiting weak bindings in ad-hoc PKI.
diff --git a/network/dsniff/dsniff.SlackBuild b/network/dsniff/dsniff.SlackBuild
index 3fe080fd8b..3c6d9d03ad 100644
--- a/network/dsniff/dsniff.SlackBuild
+++ b/network/dsniff/dsniff.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dsniff.
@@ -23,11 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dsniff
VERSION=${VERSION:-2.4b1}
SRCVER=${SRCVER:-2.4}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,11 +83,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-zcat $CWD/dsniff_2.4b1+debian-18.diff.gz | patch -p1
-for i in debian/patches/*.dpatch; do
- patch -N < "$i"
-done
-sed -i 's|${CC-cc} -E|${CC-cc} -O2 -E|g' configure
+for i in $CWD/patches/*.patch; do patch -p1 < $i; done
+
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -87,6 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
+ --with-libtirpc \
--build=$ARCH-slackware-linux
make
@@ -106,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dsniff/dsniff_2.4b1+debian-18.diff.gz b/network/dsniff/dsniff_2.4b1+debian-18.diff.gz
deleted file mode 100644
index e83ac181b1..0000000000
--- a/network/dsniff/dsniff_2.4b1+debian-18.diff.gz
+++ /dev/null
Binary files differ
diff --git a/network/dsniff/patches/01_time.h.patch b/network/dsniff/patches/01_time.h.patch
new file mode 100644
index 0000000000..1867cf901e
--- /dev/null
+++ b/network/dsniff/patches/01_time.h.patch
@@ -0,0 +1,26 @@
+Author: Steve Kemp <skx@debian.org>
+Description: Include <time.h> to fix segfault on some architectures.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315969
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/msgsnarf.c
++++ b/msgsnarf.c
+@@ -23,6 +23,7 @@
+ #include <nids.h>
+ #include <pcap.h>
+ #include <pcaputil.h>
++#include <time.h>
+
+ #include "buf.h"
+ #include "decode.h"
+--- a/sshow.c
++++ b/sshow.c
+@@ -15,6 +15,7 @@
+
+ #include <sys/types.h>
+ #include <sys/times.h>
++#include <time.h>
+
+ #include <netinet/in_systm.h>
+ #include <netinet/in.h>
diff --git a/network/dsniff/patches/02_mailsnarf_corrupt.patch b/network/dsniff/patches/02_mailsnarf_corrupt.patch
new file mode 100644
index 0000000000..18bb736c3c
--- /dev/null
+++ b/network/dsniff/patches/02_mailsnarf_corrupt.patch
@@ -0,0 +1,17 @@
+Author: Steve Kemp <skx@debian.org>
+Description: mailsnarf does not parse mail correctly.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=149330
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/mailsnarf.c
++++ b/mailsnarf.c
+@@ -178,7 +178,7 @@
+ if (smtp->state != SMTP_DATA) {
+ while ((i = buf_index(&buf, "\r\n", 2)) >= 0) {
+ line = buf_tok(&buf, NULL, i + 2);
+- line->base[line->end] = '\0';
++ line->base[line->end-1] = '\0';
+ p = buf_ptr(line);
+
+ if (strncasecmp(p, "RSET", 4) == 0) {
diff --git a/network/dsniff/patches/03_pcap_read_dump.patch b/network/dsniff/patches/03_pcap_read_dump.patch
new file mode 100644
index 0000000000..3cc0374840
--- /dev/null
+++ b/network/dsniff/patches/03_pcap_read_dump.patch
@@ -0,0 +1,534 @@
+Author: Joseph Battaglia <sephail@sephail.net> and Joshua Krage <jkrage@guisarme.us>
+Description: Allow the reading of saved PCAP capture files.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=153462
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298604
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/dsniff.8
++++ b/dsniff.8
+@@ -10,7 +10,7 @@
+ .nf
+ .fi
+ \fBdsniff\fR [\fB-c\fR] [\fB-d\fR] [\fB-m\fR] [\fB-n\fR] [\fB-i
+-\fIinterface\fR] [\fB-s \fIsnaplen\fR] [\fB-f \fIservices\fR]
++\fIinterface\fR | \fB-p \fIpcapfile\fR] [\fB-s \fIsnaplen\fR] [\fB-f \fIservices\fR]
+ [\fB-t \fItrigger[,...]\fR]]
+ [\fB-r\fR|\fB-w\fR \fIsavefile\fR] [\fIexpression\fR]
+ .SH DESCRIPTION
+@@ -45,6 +45,9 @@
+ Do not resolve IP addresses to hostnames.
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Rather than processing the contents of packets observed upon the network
++process the given PCAP capture file.
+ .IP "\fB-s \fIsnaplen\fR"
+ Analyze at most the first \fIsnaplen\fR bytes of each TCP connection,
+ rather than the default of 1024.
+--- a/dsniff.c
++++ b/dsniff.c
+@@ -46,8 +46,9 @@
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: dsniff [-cdmn] [-i interface] [-s snaplen] [-f services]\n"
+- " [-t trigger[,...]] [-r|-w savefile] [expression]\n");
++ "Usage: dsniff [-cdmn] [-i interface | -p pcapfile] [-s snaplen]\n"
++ " [-f services] [-t trigger[,...]] [-r|-w savefile]\n"
++ " [expression]\n");
+ exit(1);
+ }
+
+@@ -79,7 +80,7 @@
+
+ services = savefile = triggers = NULL;
+
+- while ((c = getopt(argc, argv, "cdf:i:mnr:s:t:w:h?V")) != -1) {
++ while ((c = getopt(argc, argv, "cdf:i:mnp:r:s:t:w:h?V")) != -1) {
+ switch (c) {
+ case 'c':
+ Opt_client = 1;
+@@ -99,6 +100,9 @@
+ case 'n':
+ Opt_dns = 0;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ case 'r':
+ Opt_read = 1;
+ savefile = optarg;
+@@ -168,10 +172,23 @@
+ else nids_register_tcp(trigger_tcp);
+
+ if (nids_params.pcap_filter != NULL) {
+- warnx("listening on %s [%s]", nids_params.device,
+- nids_params.pcap_filter);
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s [%s]", nids_params.device,
++ nids_params.pcap_filter);
++ }
++ else {
++ warnx("using %s [%s]", nids_params.filename,
++ nids_params.pcap_filter);
++ }
++ }
++ else {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
+ }
+- else warnx("listening on %s", nids_params.device);
+
+ nids_run();
+
+--- a/filesnarf.8
++++ b/filesnarf.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBfilesnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
++\fBfilesnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -18,6 +18,8 @@
+ .SH OPTIONS
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Process packets from the specified PCAP capture file instead of the network.
+ .IP \fB-v\fR
+ "Versus" mode. Invert the sense of matching, to select non-matching
+ files.
+--- a/filesnarf.c
++++ b/filesnarf.c
+@@ -51,7 +51,7 @@
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: filesnarf [-i interface] [[-v] pattern [expression]]\n");
++ "Usage: filesnarf [-i interface | -p pcapfile] [[-v] pattern [expression]]\n");
+ exit(1);
+ }
+
+@@ -464,11 +464,14 @@
+ extern int optind;
+ int c;
+
+- while ((c = getopt(argc, argv, "i:vh?V")) != -1) {
++ while ((c = getopt(argc, argv, "i:p:vh?V")) != -1) {
+ switch (c) {
+ case 'i':
+ nids_params.device = optarg;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ case 'v':
+ Opt_invert = 1;
+ break;
+@@ -498,11 +501,24 @@
+ nids_register_ip(decode_udp_nfs);
+ nids_register_tcp(decode_tcp_nfs);
+
+- if (nids_params.pcap_filter != NULL) {
+- warnx("listening on %s [%s]", nids_params.device,
+- nids_params.pcap_filter);
+- }
+- else warnx("listening on %s", nids_params.device);
++ if (nids_params.pcap_filter != NULL) {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s [%s]", nids_params.device,
++ nids_params.pcap_filter);
++ }
++ else {
++ warnx("using %s [%s]", nids_params.filename,
++ nids_params.pcap_filter);
++ }
++ }
++ else {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
++ }
+
+ nids_run();
+
+--- a/mailsnarf.8
++++ b/mailsnarf.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBmailsnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
++\fBmailsnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -19,6 +19,8 @@
+ .SH OPTIONS
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Process packets from the specified PCAP capture file instead of the network.
+ .IP \fB-v\fR
+ "Versus" mode. Invert the sense of matching, to select non-matching
+ messages.
+--- a/mailsnarf.c
++++ b/mailsnarf.c
+@@ -59,7 +59,7 @@
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: mailsnarf [-i interface] [[-v] pattern [expression]]\n");
++ "Usage: mailsnarf [-i interface | -p pcapfile] [[-v] pattern [expression]]\n");
+ exit(1);
+ }
+
+@@ -344,11 +344,14 @@
+ extern int optind;
+ int c;
+
+- while ((c = getopt(argc, argv, "i:vh?V")) != -1) {
++ while ((c = getopt(argc, argv, "i:p:vh?V")) != -1) {
+ switch (c) {
+ case 'i':
+ nids_params.device = optarg;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ case 'v':
+ Opt_invert = 1;
+ break;
+@@ -378,10 +381,23 @@
+ nids_register_tcp(sniff_pop_session);
+
+ if (nids_params.pcap_filter != NULL) {
+- warnx("listening on %s [%s]", nids_params.device,
+- nids_params.pcap_filter);
+- }
+- else warnx("listening on %s", nids_params.device);
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s [%s]", nids_params.device,
++ nids_params.pcap_filter);
++ }
++ else {
++ warnx("using %s [%s]", nids_params.filename,
++ nids_params.pcap_filter);
++ }
++ }
++ else {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
++ }
+
+ nids_run();
+
+--- a/msgsnarf.8
++++ b/msgsnarf.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBmsgsnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
++\fBmsgsnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -19,6 +19,8 @@
+ .SH OPTIONS
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Process packets from the specified PCAP capture file instead of the network.
+ .IP \fB-v\fR
+ "Versus" mode. Invert the sense of matching, to select non-matching
+ messages.
+--- a/msgsnarf.c
++++ b/msgsnarf.c
+@@ -45,7 +45,7 @@
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: msgsnarf [-i interface] [[-v] pattern [expression]]\n");
++ "Usage: msgsnarf [-i interface | -p pcapfile] [[-v] pattern [expression]]\n");
+ exit(1);
+ }
+
+@@ -633,11 +633,14 @@
+ extern int optind;
+ int c;
+
+- while ((c = getopt(argc, argv, "i:hv?V")) != -1) {
++ while ((c = getopt(argc, argv, "i:p:hv?V")) != -1) {
+ switch (c) {
+ case 'i':
+ nids_params.device = optarg;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ case 'v':
+ Opt_invert = 1;
+ break;
+@@ -666,11 +669,24 @@
+
+ nids_register_tcp(sniff_msgs);
+
+- if (nids_params.pcap_filter != NULL) {
+- warnx("listening on %s [%s]", nids_params.device,
+- nids_params.pcap_filter);
+- }
+- else warnx("listening on %s", nids_params.device);
++ if (nids_params.pcap_filter != NULL) {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s [%s]", nids_params.device,
++ nids_params.pcap_filter);
++ }
++ else {
++ warnx("using %s [%s]", nids_params.filename,
++ nids_params.pcap_filter);
++ }
++ }
++ else {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
++ }
+
+ nids_run();
+
+--- a/sshow.8
++++ b/sshow.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBsshow\fR [\fB-d\fR] [\fB-i \fIinterface\fR] [\fIexpression\fR]
++\fBsshow\fR [\fB-d\fR] [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [\fIexpression\fR]
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -28,6 +28,8 @@
+ Enable verbose debugging output.
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Process packets from the specified PCAP capture file instead of the network.
+ .IP "\fIexpression\fR"
+ Specify a tcpdump(8) filter expression to select traffic to sniff.
+ .SH "SEE ALSO"
+--- a/sshow.c
++++ b/sshow.c
+@@ -82,7 +82,7 @@
+ static void
+ usage(void)
+ {
+- fprintf(stderr, "Usage: sshow [-d] [-i interface]\n");
++ fprintf(stderr, "Usage: sshow [-d] [-i interface | -p pcapfile]\n");
+ exit(1);
+ }
+
+@@ -616,7 +616,7 @@
+ extern int optind;
+ int c;
+
+- while ((c = getopt(argc, argv, "di:h?")) != -1) {
++ while ((c = getopt(argc, argv, "di:p:h?")) != -1) {
+ switch (c) {
+ case 'd':
+ debug++;
+@@ -624,6 +624,9 @@
+ case 'i':
+ nids_params.device = optarg;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ default:
+ usage();
+ break;
+@@ -652,11 +655,24 @@
+
+ nids_register_tcp(process_event);
+
+- if (nids_params.pcap_filter != NULL) {
+- warnx("listening on %s [%s]", nids_params.device,
+- nids_params.pcap_filter);
+- }
+- else warnx("listening on %s", nids_params.device);
++ if (nids_params.pcap_filter != NULL) {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s [%s]", nids_params.device,
++ nids_params.pcap_filter);
++ }
++ else {
++ warnx("using %s [%s]", nids_params.filename,
++ nids_params.pcap_filter);
++ }
++ }
++ else {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
++ }
+
+ nids_run();
+
+--- a/urlsnarf.8
++++ b/urlsnarf.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBurlsnarf\fR [\fB-n\fR] [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
++\fBurlsnarf\fR [\fB-n\fR] [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]]
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -21,6 +21,9 @@
+ .IP \fB-n\fR
+ Do not resolve IP addresses to hostnames.
+ .IP "\fB-i \fIinterface\fR"
++Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Process packets from the specified PCAP capture file instead of the network.
+ .IP \fB-v\fR
+ "Versus" mode. Invert the sense of matching, to select non-matching
+ URLs.
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -41,7 +41,7 @@
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: urlsnarf [-n] [-i interface] [[-v] pattern [expression]]\n");
++ "Usage: urlsnarf [-n] [-i interface | -p pcapfile] [[-v] pattern [expression]]\n");
+ exit(1);
+ }
+
+@@ -201,11 +201,14 @@
+ extern int optind;
+ int c;
+
+- while ((c = getopt(argc, argv, "i:nvh?V")) != -1) {
++ while ((c = getopt(argc, argv, "i:p:nvh?V")) != -1) {
+ switch (c) {
+ case 'i':
+ nids_params.device = optarg;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ case 'n':
+ Opt_dns = 0;
+ break;
+@@ -238,8 +241,24 @@
+
+ nids_register_tcp(sniff_http_client);
+
+- warnx("listening on %s [%s]", nids_params.device,
+- nids_params.pcap_filter);
++ if (nids_params.pcap_filter != NULL) {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s [%s]", nids_params.device,
++ nids_params.pcap_filter);
++ }
++ else {
++ warnx("using %s [%s]", nids_params.filename,
++ nids_params.pcap_filter);
++ }
++ }
++ else {
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
++ }
+
+ nids_run();
+
+--- a/webspy.8
++++ b/webspy.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBwebspy\fR [\fB-i \fIinterface\fR] \fIhost\fR
++\fBwebspy\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] \fIhost\fR
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -20,6 +20,8 @@
+ .SH OPTIONS
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to listen on.
++.IP "\fB-p \fIpcapfile\fR"
++Process packets from the specified PCAP capture file instead of the network.
+ .IP \fIhost\fR
+ Specify the web client to spy on.
+ .SH "SEE ALSO"
+--- a/webspy.c
++++ b/webspy.c
+@@ -42,7 +42,7 @@
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: %s [-i interface] host\n", progname);
++ "Usage: %s [-i interface | -p pcapfile] host\n", progname);
+ exit(1);
+ }
+
+@@ -184,11 +184,14 @@
+ extern int optind;
+ int c;
+
+- while ((c = getopt(argc, argv, "i:h?V")) != -1) {
++ while ((c = getopt(argc, argv, "i:p:h?V")) != -1) {
+ switch (c) {
+ case 'i':
+ nids_params.device = optarg;
+ break;
++ case 'p':
++ nids_params.filename = optarg;
++ break;
+ default:
+ usage();
+ }
+@@ -216,7 +219,13 @@
+
+ nids_register_tcp(sniff_http_client);
+
+- warnx("listening on %s", nids_params.device);
++ if (nids_params.filename == NULL) {
++ warnx("listening on %s", nids_params.device);
++ }
++ else {
++ warnx("using %s", nids_params.filename);
++ }
++
+
+ nids_run();
+
diff --git a/network/dsniff/patches/04_multiple_intf.patch b/network/dsniff/patches/04_multiple_intf.patch
new file mode 100644
index 0000000000..b624929d6c
--- /dev/null
+++ b/network/dsniff/patches/04_multiple_intf.patch
@@ -0,0 +1,56 @@
+Author: Steve Kemp <skx@debian.org>
+Description: Work with multiple interfaces.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242369
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/arp.c
++++ b/arp.c
+@@ -39,7 +39,7 @@
+
+ #ifdef BSD
+ int
+-arp_cache_lookup(in_addr_t ip, struct ether_addr *ether)
++arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char* linf)
+ {
+ int mib[6];
+ size_t len;
+@@ -91,7 +91,7 @@
+ #endif
+
+ int
+-arp_cache_lookup(in_addr_t ip, struct ether_addr *ether)
++arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char* lif)
+ {
+ int sock;
+ struct arpreq ar;
+@@ -99,7 +99,7 @@
+
+ memset((char *)&ar, 0, sizeof(ar));
+ #ifdef __linux__
+- strncpy(ar.arp_dev, "eth0", sizeof(ar.arp_dev)); /* XXX - *sigh* */
++ strncpy(ar.arp_dev, lif, strlen(lif));
+ #endif
+ sin = (struct sockaddr_in *)&ar.arp_pa;
+ sin->sin_family = AF_INET;
+--- a/arp.h
++++ b/arp.h
+@@ -11,6 +11,6 @@
+ #ifndef _ARP_H_
+ #define _ARP_H_
+
+-int arp_cache_lookup(in_addr_t ip, struct ether_addr *ether);
++int arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char* linf);
+
+ #endif /* _ARP_H_ */
+--- a/arpspoof.c
++++ b/arpspoof.c
+@@ -113,7 +113,7 @@
+ int i = 0;
+
+ do {
+- if (arp_cache_lookup(ip, mac) == 0)
++ if (arp_cache_lookup(ip, mac, intf) == 0)
+ return (1);
+ #ifdef __linux__
+ /* XXX - force the kernel to arp. feh. */
diff --git a/network/dsniff/patches/05_amd64_fix.patch b/network/dsniff/patches/05_amd64_fix.patch
new file mode 100644
index 0000000000..c5b9384fcf
--- /dev/null
+++ b/network/dsniff/patches/05_amd64_fix.patch
@@ -0,0 +1,221 @@
+Author: Steve Kemp <skx@debian.org>
+Description: Compile under AMD64.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=254002
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/configure
++++ b/configure
+@@ -2667,15 +2667,62 @@
+ echo "$ac_t""no" 1>&6
+ fi
+
++echo $ac_n "checking for __dn_expand in -lresolv""... $ac_c" 1>&6
++echo "configure:2672: checking for __dn_expand in -lresolv" >&5
++ac_lib_var=`echo resolv'_'__dn_expand | sed 'y%./+-%__p_%'`
++if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
++ echo $ac_n "(cached) $ac_c" 1>&6
++else
++ ac_save_LIBS="$LIBS"
++LIBS="-lresolv $LIBS"
++cat > conftest.$ac_ext <<EOF
++#line 2680 "configure"
++#include "confdefs.h"
++/* Override any gcc2 internal prototype to avoid an error. */
++/* We use char because int might match the return type of a gcc2
++ builtin and then its argument prototype would still apply. */
++char __dn_expand();
++
++int main() {
++__dn_expand()
++; return 0; }
++EOF
++if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++ rm -rf conftest*
++ eval "ac_cv_lib_$ac_lib_var=yes"
++else
++ echo "configure: failed program was:" >&5
++ cat conftest.$ac_ext >&5
++ rm -rf conftest*
++ eval "ac_cv_lib_$ac_lib_var=no"
++fi
++rm -f conftest*
++LIBS="$ac_save_LIBS"
++
++fi
++if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
++ echo "$ac_t""yes" 1>&6
++ ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
++ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
++ cat >> confdefs.h <<EOF
++#define $ac_tr_lib 1
++EOF
++
++ LIBS="-lresolv $LIBS"
++
++else
++ echo "$ac_t""no" 1>&6
++fi
++
+ for ac_func in dirname strlcpy strlcat strsep
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:2674: checking for $ac_func" >&5
++echo "configure:2721: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
+-#line 2679 "configure"
++#line 2726 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+@@ -2698,7 +2745,7 @@
+
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -2728,12 +2775,12 @@
+ for ac_func in MD5Update
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:2732: checking for $ac_func" >&5
++echo "configure:2779: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
+-#line 2737 "configure"
++#line 2784 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+@@ -2756,7 +2803,7 @@
+
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -2788,12 +2835,12 @@
+ for ac_func in warnx
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:2792: checking for $ac_func" >&5
++echo "configure:2839: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
+-#line 2797 "configure"
++#line 2844 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+@@ -2816,7 +2863,7 @@
+
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -2848,12 +2895,12 @@
+ for ac_func in ether_ntoa
+ do
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+-echo "configure:2852: checking for $ac_func" >&5
++echo "configure:2899: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ cat > conftest.$ac_ext <<EOF
+-#line 2857 "configure"
++#line 2904 "configure"
+ #include "confdefs.h"
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+@@ -2876,7 +2923,7 @@
+
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+ else
+@@ -2912,7 +2959,7 @@
+ fi
+
+ echo $ac_n "checking for Berkeley DB with 1.85 compatibility""... $ac_c" 1>&6
+-echo "configure:2916: checking for Berkeley DB with 1.85 compatibility" >&5
++echo "configure:2963: checking for Berkeley DB with 1.85 compatibility" >&5
+ # Check whether --with-db or --without-db was given.
+ if test "${with_db+set}" = set; then
+ withval="$with_db"
+@@ -3015,7 +3062,7 @@
+
+
+ echo $ac_n "checking for libpcap""... $ac_c" 1>&6
+-echo "configure:3019: checking for libpcap" >&5
++echo "configure:3066: checking for libpcap" >&5
+ # Check whether --with-libpcap or --without-libpcap was given.
+ if test "${with_libpcap+set}" = set; then
+ withval="$with_libpcap"
+@@ -3063,7 +3110,7 @@
+
+
+ echo $ac_n "checking for libnet""... $ac_c" 1>&6
+-echo "configure:3067: checking for libnet" >&5
++echo "configure:3114: checking for libnet" >&5
+ # Check whether --with-libnet or --without-libnet was given.
+ if test "${with_libnet+set}" = set; then
+ withval="$with_libnet"
+@@ -3110,7 +3157,7 @@
+
+
+ echo $ac_n "checking for libnids""... $ac_c" 1>&6
+-echo "configure:3114: checking for libnids" >&5
++echo "configure:3161: checking for libnids" >&5
+ # Check whether --with-libnids or --without-libnids was given.
+ if test "${with_libnids+set}" = set; then
+ withval="$with_libnids"
+@@ -3152,9 +3199,9 @@
+ save_cppflags="$CPPFLAGS"
+ CPPFLAGS="$NIDSINC"
+ echo $ac_n "checking whether libnids version is good""... $ac_c" 1>&6
+-echo "configure:3156: checking whether libnids version is good" >&5
++echo "configure:3203: checking whether libnids version is good" >&5
+ cat > conftest.$ac_ext <<EOF
+-#line 3158 "configure"
++#line 3205 "configure"
+ #include "confdefs.h"
+ #include <nids.h>
+ EOF
+@@ -3173,7 +3220,7 @@
+
+
+ echo $ac_n "checking for OpenSSL""... $ac_c" 1>&6
+-echo "configure:3177: checking for OpenSSL" >&5
++echo "configure:3224: checking for OpenSSL" >&5
+ # Check whether --with-openssl or --without-openssl was given.
+ if test "${with_openssl+set}" = set; then
+ withval="$with_openssl"
+--- a/configure.in
++++ b/configure.in
+@@ -57,6 +57,7 @@
+ AC_CHECK_LIB(nsl, gethostbyname)
+ dnl XXX - feh, everything except OpenBSD sux.
+ AC_CHECK_LIB(resolv, dn_expand)
++AC_CHECK_LIB(resolv, __dn_expand)
+ AC_REPLACE_FUNCS(dirname strlcpy strlcat strsep)
+ needmd5=no
+ AC_CHECK_FUNCS(MD5Update, , [needmd5=yes])
diff --git a/network/dsniff/patches/06_urlsnarf_zeropad.patch b/network/dsniff/patches/06_urlsnarf_zeropad.patch
new file mode 100644
index 0000000000..29991708e5
--- /dev/null
+++ b/network/dsniff/patches/06_urlsnarf_zeropad.patch
@@ -0,0 +1,17 @@
+Author: Steve Kemp <skx@debian.org>
+Description: urlsnarf: zero-pad date.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298605
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -68,7 +68,7 @@
+ t->tm_hour - gmt.tm_hour);
+ tz = hours * 60 + t->tm_min - gmt.tm_min;
+
+- len = strftime(tstr, sizeof(tstr), "%e/%b/%Y:%X", t);
++ len = strftime(tstr, sizeof(tstr), "%d/%b/%Y:%X", t);
+ if (len < 0 || len > sizeof(tstr) - 5)
+ return (NULL);
+
diff --git a/network/dsniff/patches/07_libnet_1.1.patch b/network/dsniff/patches/07_libnet_1.1.patch
new file mode 100644
index 0000000000..66d57cade4
--- /dev/null
+++ b/network/dsniff/patches/07_libnet_1.1.patch
@@ -0,0 +1,906 @@
+Author: Faidon Liambotis <paravoid@debian.org>
+Description: Use libnet v1.1 instead of v1.0
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/arpspoof.c
++++ b/arpspoof.c
+@@ -27,7 +27,7 @@
+
+ extern char *ether_ntoa(struct ether_addr *);
+
+-static struct libnet_link_int *llif;
++static libnet_t *l;
+ static struct ether_addr spoof_mac, target_mac;
+ static in_addr_t spoof_ip, target_ip;
+ static char *intf;
+@@ -41,47 +41,49 @@
+ }
+
+ static int
+-arp_send(struct libnet_link_int *llif, char *dev,
+- int op, u_char *sha, in_addr_t spa, u_char *tha, in_addr_t tpa)
++arp_send(libnet_t *l, int op, u_int8_t *sha,
++ in_addr_t spa, u_int8_t *tha, in_addr_t tpa)
+ {
+- char ebuf[128];
+- u_char pkt[60];
+-
++ int retval;
++
+ if (sha == NULL &&
+- (sha = (u_char *)libnet_get_hwaddr(llif, dev, ebuf)) == NULL) {
++ (sha = (u_int8_t *)libnet_get_hwaddr(l)) == NULL) {
+ return (-1);
+ }
+ if (spa == 0) {
+- if ((spa = libnet_get_ipaddr(llif, dev, ebuf)) == 0)
++ if ((spa = libnet_get_ipaddr4(l)) == -1)
+ return (-1);
+- spa = htonl(spa); /* XXX */
+ }
+ if (tha == NULL)
+ tha = "\xff\xff\xff\xff\xff\xff";
+
+- libnet_build_ethernet(tha, sha, ETHERTYPE_ARP, NULL, 0, pkt);
++ libnet_autobuild_arp(op, sha, (u_int8_t *)&spa,
++ tha, (u_int8_t *)&tpa, l);
++ libnet_build_ethernet(tha, sha, ETHERTYPE_ARP, NULL, 0, l, 0);
+
+- libnet_build_arp(ARPHRD_ETHER, ETHERTYPE_IP, ETHER_ADDR_LEN, 4,
+- op, sha, (u_char *)&spa, tha, (u_char *)&tpa,
+- NULL, 0, pkt + ETH_H);
+-
+ fprintf(stderr, "%s ",
+ ether_ntoa((struct ether_addr *)sha));
+
+ if (op == ARPOP_REQUEST) {
+ fprintf(stderr, "%s 0806 42: arp who-has %s tell %s\n",
+ ether_ntoa((struct ether_addr *)tha),
+- libnet_host_lookup(tpa, 0),
+- libnet_host_lookup(spa, 0));
++ libnet_addr2name4(tpa, LIBNET_DONT_RESOLVE),
++ libnet_addr2name4(spa, LIBNET_DONT_RESOLVE));
+ }
+ else {
+ fprintf(stderr, "%s 0806 42: arp reply %s is-at ",
+ ether_ntoa((struct ether_addr *)tha),
+- libnet_host_lookup(spa, 0));
++ libnet_addr2name4(spa, LIBNET_DONT_RESOLVE));
+ fprintf(stderr, "%s\n",
+ ether_ntoa((struct ether_addr *)sha));
+ }
+- return (libnet_write_link_layer(llif, dev, pkt, sizeof(pkt)) == sizeof(pkt));
++ retval = libnet_write(l);
++ if (retval)
++ fprintf(stderr, "%s", libnet_geterror(l));
++
++ libnet_clear_packet(l);
++
++ return retval;
+ }
+
+ #ifdef __linux__
+@@ -119,7 +121,7 @@
+ /* XXX - force the kernel to arp. feh. */
+ arp_force(ip);
+ #else
+- arp_send(llif, intf, ARPOP_REQUEST, NULL, 0, NULL, ip);
++ arp_send(l, ARPOP_REQUEST, NULL, 0, NULL, ip);
+ #endif
+ sleep(1);
+ }
+@@ -136,9 +138,9 @@
+ if (arp_find(spoof_ip, &spoof_mac)) {
+ for (i = 0; i < 3; i++) {
+ /* XXX - on BSD, requires ETHERSPOOF kernel. */
+- arp_send(llif, intf, ARPOP_REPLY,
+- (u_char *)&spoof_mac, spoof_ip,
+- (target_ip ? (u_char *)&target_mac : NULL),
++ arp_send(l, ARPOP_REPLY,
++ (u_int8_t *)&spoof_mac, spoof_ip,
++ (target_ip ? (u_int8_t *)&target_mac : NULL),
+ target_ip);
+ sleep(1);
+ }
+@@ -151,7 +153,8 @@
+ {
+ extern char *optarg;
+ extern int optind;
+- char ebuf[PCAP_ERRBUF_SIZE];
++ char pcap_ebuf[PCAP_ERRBUF_SIZE];
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+ int c;
+
+ intf = NULL;
+@@ -163,7 +166,7 @@
+ intf = optarg;
+ break;
+ case 't':
+- if ((target_ip = libnet_name_resolve(optarg, 1)) == -1)
++ if ((target_ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1)
+ usage();
+ break;
+ default:
+@@ -176,26 +179,26 @@
+ if (argc != 1)
+ usage();
+
+- if ((spoof_ip = libnet_name_resolve(argv[0], 1)) == -1)
++ if ((spoof_ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
+- if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL)
+- errx(1, "%s", ebuf);
++ if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL)
++ errx(1, "%s", pcap_ebuf);
+
+- if ((llif = libnet_open_link_interface(intf, ebuf)) == 0)
+- errx(1, "%s", ebuf);
++ if ((l = libnet_init(LIBNET_LINK, intf, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
+
+ if (target_ip != 0 && !arp_find(target_ip, &target_mac))
+ errx(1, "couldn't arp for host %s",
+- libnet_host_lookup(target_ip, 0));
++ libnet_addr2name4(target_ip, LIBNET_DONT_RESOLVE));
+
+ signal(SIGHUP, cleanup);
+ signal(SIGINT, cleanup);
+ signal(SIGTERM, cleanup);
+
+ for (;;) {
+- arp_send(llif, intf, ARPOP_REPLY, NULL, spoof_ip,
+- (target_ip ? (u_char *)&target_mac : NULL),
++ arp_send(l, ARPOP_REPLY, NULL, spoof_ip,
++ (target_ip ? (u_int8_t *)&target_mac : NULL),
+ target_ip);
+ sleep(2);
+ }
+--- a/dnsspoof.c
++++ b/dnsspoof.c
+@@ -38,7 +38,7 @@
+
+ pcap_t *pcap_pd = NULL;
+ int pcap_off = -1;
+-int lnet_sock = -1;
++libnet_t *l;
+ u_long lnet_ip = -1;
+
+ static void
+@@ -90,19 +90,18 @@
+ dns_init(char *dev, char *filename)
+ {
+ FILE *f;
+- struct libnet_link_int *llif;
++ libnet_t *l;
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+ struct dnsent *de;
+ char *ip, *name, buf[1024];
+
+- if ((llif = libnet_open_link_interface(dev, buf)) == NULL)
+- errx(1, "%s", buf);
++ if ((l = libnet_init(LIBNET_LINK, dev, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
+
+- if ((lnet_ip = libnet_get_ipaddr(llif, dev, buf)) == -1)
+- errx(1, "%s", buf);
++ if ((lnet_ip = libnet_get_ipaddr4(l)) == -1)
++ errx(1, "%s", libnet_geterror(l));
+
+- lnet_ip = htonl(lnet_ip);
+-
+- libnet_close_link_interface(llif);
++ libnet_destroy(l);
+
+ SLIST_INIT(&dns_entries);
+
+@@ -180,7 +179,7 @@
+ static void
+ dns_spoof(u_char *u, const struct pcap_pkthdr *pkthdr, const u_char *pkt)
+ {
+- struct libnet_ip_hdr *ip;
++ struct libnet_ipv4_hdr *ip;
+ struct libnet_udp_hdr *udp;
+ HEADER *dns;
+ char name[MAXHOSTNAMELEN];
+@@ -189,7 +188,7 @@
+ in_addr_t dst;
+ u_short type, class;
+
+- ip = (struct libnet_ip_hdr *)(pkt + pcap_off);
++ ip = (struct libnet_ipv4_hdr *)(pkt + pcap_off);
+ udp = (struct libnet_udp_hdr *)(pkt + pcap_off + (ip->ip_hl * 4));
+ dns = (HEADER *)(udp + 1);
+ p = (u_char *)(dns + 1);
+@@ -212,7 +211,7 @@
+ if (class != C_IN)
+ return;
+
+- p = buf + IP_H + UDP_H + dnslen;
++ p = buf + dnslen;
+
+ if (type == T_A) {
+ if ((dst = dns_lookup_a(name)) == -1)
+@@ -234,38 +233,38 @@
+ anslen += 12;
+ }
+ else return;
+-
+- libnet_build_ip(UDP_H + dnslen + anslen, 0, libnet_get_prand(PRu16),
+- 0, 64, IPPROTO_UDP, ip->ip_dst.s_addr,
+- ip->ip_src.s_addr, NULL, 0, buf);
+-
+- libnet_build_udp(ntohs(udp->uh_dport), ntohs(udp->uh_sport),
+- NULL, dnslen + anslen, buf + IP_H);
+
+- memcpy(buf + IP_H + UDP_H, (u_char *)dns, dnslen);
++ memcpy(buf, (u_char *)dns, dnslen);
+
+- dns = (HEADER *)(buf + IP_H + UDP_H);
++ dns = (HEADER *)buf;
+ dns->qr = dns->ra = 1;
+ if (type == T_PTR) dns->aa = 1;
+ dns->ancount = htons(1);
+
+ dnslen += anslen;
++
++ libnet_clear_packet(l);
++ libnet_build_udp(ntohs(udp->uh_dport), ntohs(udp->uh_sport),
++ LIBNET_UDP_H + dnslen, 0,
++ (u_int8_t *)buf, dnslen, l, 0);
++
++ libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_UDP_H + dnslen, 0,
++ libnet_get_prand(LIBNET_PRu16), 0, 64, IPPROTO_UDP, 0,
++ ip->ip_dst.s_addr, ip->ip_src.s_addr, NULL, 0, l, 0);
+
+- libnet_do_checksum(buf, IPPROTO_UDP, UDP_H + dnslen);
+-
+- if (libnet_write_ip(lnet_sock, buf, IP_H + UDP_H + dnslen) < 0)
++ if (libnet_write(l) < 0)
+ warn("write");
+
+ fprintf(stderr, "%s.%d > %s.%d: %d+ %s? %s\n",
+- libnet_host_lookup(ip->ip_src.s_addr, 0), ntohs(udp->uh_sport),
+- libnet_host_lookup(ip->ip_dst.s_addr, 0), ntohs(udp->uh_dport),
++ libnet_addr2name4(ip->ip_src.s_addr, 0), ntohs(udp->uh_sport),
++ libnet_addr2name4(ip->ip_dst.s_addr, 0), ntohs(udp->uh_dport),
+ ntohs(dns->id), type == T_A ? "A" : "PTR", name);
+ }
+
+ static void
+ cleanup(int sig)
+ {
+- libnet_close_raw_sock(lnet_sock);
++ libnet_destroy(l);
+ pcap_close(pcap_pd);
+ exit(0);
+ }
+@@ -276,6 +275,7 @@
+ extern char *optarg;
+ extern int optind;
+ char *p, *dev, *hosts, buf[1024];
++ char ebuf[LIBNET_ERRBUF_SIZE];
+ int i;
+
+ dev = hosts = NULL;
+@@ -306,7 +306,7 @@
+ strlcpy(buf, p, sizeof(buf));
+ }
+ else snprintf(buf, sizeof(buf), "udp dst port 53 and not src %s",
+- libnet_host_lookup(lnet_ip, 0));
++ libnet_addr2name4(lnet_ip, LIBNET_DONT_RESOLVE));
+
+ if ((pcap_pd = pcap_init(dev, buf, 128)) == NULL)
+ errx(1, "couldn't initialize sniffing");
+@@ -314,10 +314,10 @@
+ if ((pcap_off = pcap_dloff(pcap_pd)) < 0)
+ errx(1, "couldn't determine link layer offset");
+
+- if ((lnet_sock = libnet_open_raw_sock(IPPROTO_RAW)) == -1)
++ if ((l = libnet_init(LIBNET_RAW4, dev, ebuf)) == NULL)
+ errx(1, "couldn't initialize sending");
+
+- libnet_seed_prand();
++ libnet_seed_prand(l);
+
+ signal(SIGHUP, cleanup);
+ signal(SIGINT, cleanup);
+--- a/filesnarf.c
++++ b/filesnarf.c
+@@ -134,8 +134,8 @@
+ int fd;
+
+ warnx("%s.%d > %s.%d: %s (%d@%d)",
+- libnet_host_lookup(addr->daddr, 0), addr->dest,
+- libnet_host_lookup(addr->saddr, 0), addr->source,
++ libnet_addr2name4(addr->daddr, LIBNET_DONT_RESOLVE), addr->dest,
++ libnet_addr2name4(addr->saddr, LIBNET_DONT_RESOLVE), addr->source,
+ ma->filename, len, ma->offset);
+
+ if ((fd = open(ma->filename, O_WRONLY|O_CREAT, 0644)) >= 0) {
+@@ -353,7 +353,7 @@
+ }
+
+ static void
+-decode_udp_nfs(struct libnet_ip_hdr *ip)
++decode_udp_nfs(struct libnet_ipv4_hdr *ip)
+ {
+ static struct tuple4 addr;
+ struct libnet_udp_hdr *udp;
+--- a/macof.c
++++ b/macof.c
+@@ -48,8 +48,8 @@
+ static void
+ gen_mac(u_char *mac)
+ {
+- *((in_addr_t *)mac) = libnet_get_prand(PRu32);
+- *((u_short *)(mac + 4)) = libnet_get_prand(PRu16);
++ *((in_addr_t *)mac) = libnet_get_prand(LIBNET_PRu32);
++ *((u_short *)(mac + 4)) = libnet_get_prand(LIBNET_PRu16);
+ }
+
+ int
+@@ -59,22 +59,23 @@
+ extern int optind;
+ int c, i;
+ struct libnet_link_int *llif;
+- char ebuf[PCAP_ERRBUF_SIZE];
++ char pcap_ebuf[PCAP_ERRBUF_SIZE];
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+ u_char sha[ETHER_ADDR_LEN], tha[ETHER_ADDR_LEN];
+ in_addr_t src, dst;
+ u_short sport, dport;
+ u_int32_t seq;
+- u_char pkt[ETH_H + IP_H + TCP_H];
++ libnet_t *l;
+
+ while ((c = getopt(argc, argv, "vs:d:e:x:y:i:n:h?V")) != -1) {
+ switch (c) {
+ case 'v':
+ break;
+ case 's':
+- Src = libnet_name_resolve(optarg, 0);
++ Src = libnet_name2addr4(l, optarg, 0);
+ break;
+ case 'd':
+- Dst = libnet_name_resolve(optarg, 0);
++ Dst = libnet_name2addr4(l, optarg, 0);
+ break;
+ case 'e':
+ Tha = (u_char *)ether_aton(optarg);
+@@ -101,13 +102,13 @@
+ if (argc != 0)
+ usage();
+
+- if (!Intf && (Intf = pcap_lookupdev(ebuf)) == NULL)
+- errx(1, "%s", ebuf);
++ if (!Intf && (Intf = pcap_lookupdev(pcap_ebuf)) == NULL)
++ errx(1, "%s", pcap_ebuf);
+
+- if ((llif = libnet_open_link_interface(Intf, ebuf)) == 0)
+- errx(1, "%s", ebuf);
++ if ((l = libnet_init(LIBNET_LINK, Intf, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
+
+- libnet_seed_prand();
++ libnet_seed_prand(l);
+
+ for (i = 0; i != Repeat; i++) {
+
+@@ -117,39 +118,39 @@
+ else memcpy(tha, Tha, sizeof(tha));
+
+ if (Src != 0) src = Src;
+- else src = libnet_get_prand(PRu32);
++ else src = libnet_get_prand(LIBNET_PRu32);
+
+ if (Dst != 0) dst = Dst;
+- else dst = libnet_get_prand(PRu32);
++ else dst = libnet_get_prand(LIBNET_PRu32);
+
+ if (Sport != 0) sport = Sport;
+- else sport = libnet_get_prand(PRu16);
++ else sport = libnet_get_prand(LIBNET_PRu16);
+
+ if (Dport != 0) dport = Dport;
+- else dport = libnet_get_prand(PRu16);
++ else dport = libnet_get_prand(LIBNET_PRu16);
+
+- seq = libnet_get_prand(PRu32);
+-
+- libnet_build_ethernet(tha, sha, ETHERTYPE_IP, NULL, 0, pkt);
+-
+- libnet_build_ip(TCP_H, 0, libnet_get_prand(PRu16), 0, 64,
+- IPPROTO_TCP, src, dst, NULL, 0, pkt + ETH_H);
++ seq = libnet_get_prand(LIBNET_PRu32);
+
+ libnet_build_tcp(sport, dport, seq, 0, TH_SYN, 512,
+- 0, NULL, 0, pkt + ETH_H + IP_H);
++ 0, 0, LIBNET_TCP_H, NULL, 0, l, 0);
+
+- libnet_do_checksum(pkt + ETH_H, IPPROTO_IP, IP_H);
+- libnet_do_checksum(pkt + ETH_H, IPPROTO_TCP, TCP_H);
++ libnet_build_ipv4(LIBNET_TCP_H, 0,
++ libnet_get_prand(LIBNET_PRu16), 0, 64,
++ IPPROTO_TCP, 0, src, dst, NULL, 0, l, 0);
+
+- if (libnet_write_link_layer(llif, Intf, pkt, sizeof(pkt)) < 0)
++ libnet_build_ethernet(tha, sha, ETHERTYPE_IP, NULL, 0, l, 0);
++
++ if (libnet_write(l) < 0)
+ errx(1, "write");
+
++ libnet_clear_packet(l);
++
+ fprintf(stderr, "%s ",
+ ether_ntoa((struct ether_addr *)sha));
+ fprintf(stderr, "%s %s.%d > %s.%d: S %u:%u(0) win 512\n",
+ ether_ntoa((struct ether_addr *)tha),
+- libnet_host_lookup(Src, 0), sport,
+- libnet_host_lookup(Dst, 0), dport, seq, seq);
++ libnet_addr2name4(Src, 0), sport,
++ libnet_addr2name4(Dst, 0), dport, seq, seq);
+ }
+ exit(0);
+ }
+--- a/record.c
++++ b/record.c
+@@ -65,8 +65,8 @@
+ tm = localtime(&rec->time);
+ strftime(tstr, sizeof(tstr), "%x %X", tm);
+
+- srcp = libnet_host_lookup(rec->src, Opt_dns);
+- dstp = libnet_host_lookup(rec->dst, Opt_dns);
++ srcp = libnet_addr2name4(rec->src, Opt_dns);
++ dstp = libnet_addr2name4(rec->dst, Opt_dns);
+
+ if ((pr = getprotobynumber(rec->proto)) == NULL)
+ protop = "unknown";
+--- a/sshmitm.c
++++ b/sshmitm.c
+@@ -389,7 +389,7 @@
+ if (argc < 1)
+ usage();
+
+- if ((ip = libnet_name_resolve(argv[0], 1)) == -1)
++ if ((ip = libnet_name2addr4(NULL, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
+ if (argc == 2 && (rport = atoi(argv[1])) == 0)
+--- a/tcpkill.c
++++ b/tcpkill.c
+@@ -39,17 +39,18 @@
+ static void
+ tcp_kill_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt)
+ {
+- struct libnet_ip_hdr *ip;
++ struct libnet_ipv4_hdr *ip;
+ struct libnet_tcp_hdr *tcp;
+- u_char ctext[64], buf[IP_H + TCP_H];
++ u_char ctext[64];
+ u_int32_t seq, win;
+- int i, *sock, len;
++ int i, len;
++ libnet_t *l;
+
+- sock = (int *)user;
++ l = (libnet_t *)user;
+ pkt += pcap_off;
+ len = pcap->caplen - pcap_off;
+
+- ip = (struct libnet_ip_hdr *)pkt;
++ ip = (struct libnet_ipv4_hdr *)pkt;
+ if (ip->ip_p != IPPROTO_TCP)
+ return;
+
+@@ -57,34 +58,31 @@
+ if (tcp->th_flags & (TH_SYN|TH_FIN|TH_RST))
+ return;
+
+- libnet_build_ip(TCP_H, 0, 0, 0, 64, IPPROTO_TCP,
+- ip->ip_dst.s_addr, ip->ip_src.s_addr,
+- NULL, 0, buf);
+-
+- libnet_build_tcp(ntohs(tcp->th_dport), ntohs(tcp->th_sport),
+- 0, 0, TH_RST, 0, 0, NULL, 0, buf + IP_H);
+-
+ seq = ntohl(tcp->th_ack);
+ win = ntohs(tcp->th_win);
+
+ snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:",
+- libnet_host_lookup(ip->ip_src.s_addr, 0),
++ libnet_addr2name4(ip->ip_src.s_addr, LIBNET_DONT_RESOLVE),
+ ntohs(tcp->th_sport),
+- libnet_host_lookup(ip->ip_dst.s_addr, 0),
++ libnet_addr2name4(ip->ip_dst.s_addr, LIBNET_DONT_RESOLVE),
+ ntohs(tcp->th_dport));
+
+- ip = (struct libnet_ip_hdr *)buf;
+- tcp = (struct libnet_tcp_hdr *)(ip + 1);
+-
+ for (i = 0; i < Opt_severity; i++) {
+- ip->ip_id = libnet_get_prand(PRu16);
+ seq += (i * win);
+- tcp->th_seq = htonl(seq);
+
+- libnet_do_checksum(buf, IPPROTO_TCP, TCP_H);
++ libnet_clear_packet(l);
++
++ libnet_build_tcp(ntohs(tcp->th_dport), ntohs(tcp->th_sport),
++ seq, 0, TH_RST, 0, 0, 0, LIBNET_TCP_H,
++ NULL, 0, l, 0);
++
++ libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_TCP_H, 0,
++ libnet_get_prand(LIBNET_PRu16), 0, 64,
++ IPPROTO_TCP, 0, ip->ip_dst.s_addr,
++ ip->ip_src.s_addr, NULL, 0, l, 0);
+
+- if (libnet_write_ip(*sock, buf, sizeof(buf)) < 0)
+- warn("write_ip");
++ if (libnet_write(l) < 0)
++ warn("write");
+
+ fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq);
+ }
+@@ -95,8 +93,10 @@
+ {
+ extern char *optarg;
+ extern int optind;
+- int c, sock;
++ int c;
+ char *p, *intf, *filter, ebuf[PCAP_ERRBUF_SIZE];
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
++ libnet_t *l;
+ pcap_t *pd;
+
+ intf = NULL;
+@@ -136,14 +136,14 @@
+ if ((pcap_off = pcap_dloff(pd)) < 0)
+ errx(1, "couldn't determine link layer offset");
+
+- if ((sock = libnet_open_raw_sock(IPPROTO_RAW)) == -1)
++ if ((l = libnet_init(LIBNET_RAW4, intf, libnet_ebuf)) == NULL)
+ errx(1, "couldn't initialize sending");
+
+- libnet_seed_prand();
++ libnet_seed_prand(l);
+
+ warnx("listening on %s [%s]", intf, filter);
+
+- pcap_loop(pd, -1, tcp_kill_cb, (u_char *)&sock);
++ pcap_loop(pd, -1, tcp_kill_cb, (u_char *)l);
+
+ /* NOTREACHED */
+
+--- a/tcpnice.c
++++ b/tcpnice.c
+@@ -41,107 +41,106 @@
+ }
+
+ static void
+-send_tcp_window_advertisement(int sock, struct libnet_ip_hdr *ip,
++send_tcp_window_advertisement(libnet_t *l, struct libnet_ipv4_hdr *ip,
+ struct libnet_tcp_hdr *tcp)
+ {
+ int len;
+
+ ip->ip_hl = 5;
+- ip->ip_len = htons(IP_H + TCP_H);
+- ip->ip_id = libnet_get_prand(PRu16);
+- memcpy(buf, (u_char *)ip, IP_H);
++ ip->ip_len = htons(LIBNET_IPV4_H + LIBNET_TCP_H);
++ ip->ip_id = libnet_get_prand(LIBNET_PRu16);
++ memcpy(buf, (u_char *)ip, LIBNET_IPV4_H);
+
+ tcp->th_off = 5;
+ tcp->th_win = htons(MIN_WIN);
+- memcpy(buf + IP_H, (u_char *)tcp, TCP_H);
++ memcpy(buf + LIBNET_IPV4_H, (u_char *)tcp, LIBNET_TCP_H);
+
+- libnet_do_checksum(buf, IPPROTO_TCP, TCP_H);
++ libnet_do_checksum(l, buf, IPPROTO_TCP, LIBNET_TCP_H);
+
+- len = IP_H + TCP_H;
++ len = LIBNET_IPV4_H + LIBNET_TCP_H;
+
+- if (libnet_write_ip(sock, buf, len) != len)
++ if (libnet_write_raw_ipv4(l, buf, len) != len)
+ warn("write");
+
+ fprintf(stderr, "%s:%d > %s:%d: . ack %lu win %d\n",
+- libnet_host_lookup(ip->ip_src.s_addr, 0), ntohs(tcp->th_sport),
+- libnet_host_lookup(ip->ip_dst.s_addr, 0), ntohs(tcp->th_dport),
++ libnet_addr2name4(ip->ip_src.s_addr, 0), ntohs(tcp->th_sport),
++ libnet_addr2name4(ip->ip_dst.s_addr, 0), ntohs(tcp->th_dport),
+ ntohl(tcp->th_ack), 1);
+ }
+
+ static void
+-send_icmp_source_quench(int sock, struct libnet_ip_hdr *ip)
++send_icmp_source_quench(libnet_t *l, struct libnet_ipv4_hdr *ip)
+ {
+- struct libnet_icmp_hdr *icmp;
++ struct libnet_icmpv4_hdr *icmp;
+ int len;
+
+ len = (ip->ip_hl * 4) + 8;
+
+- libnet_build_ip(ICMP_ECHO_H + len, 0, libnet_get_prand(PRu16),
+- 0, 64, IPPROTO_ICMP, ip->ip_dst.s_addr,
+- ip->ip_src.s_addr, NULL, 0, buf);
+-
+- icmp = (struct libnet_icmp_hdr *)(buf + IP_H);
++ icmp = (struct libnet_icmpv4_hdr *)(buf + LIBNET_IPV4_H);
+ icmp->icmp_type = ICMP_SOURCEQUENCH;
+ icmp->icmp_code = 0;
+- memcpy((u_char *)icmp + ICMP_ECHO_H, (u_char *)ip, len);
++ memcpy((u_char *)icmp + LIBNET_ICMPV4_ECHO_H, (u_char *)ip, len);
+
+- libnet_do_checksum(buf, IPPROTO_ICMP, ICMP_ECHO_H + len);
++ len += LIBNET_ICMPV4_ECHO_H;
+
+- len += (IP_H + ICMP_ECHO_H);
++ libnet_build_ipv4(LIBNET_IPV4_H + len, 0,
++ libnet_get_prand(LIBNET_PRu16), 0, 64, IPPROTO_ICMP,
++ 0, ip->ip_dst.s_addr, ip->ip_src.s_addr,
++ (u_int8_t *) icmp, len, l, 0);
+
+- if (libnet_write_ip(sock, buf, len) != len)
++ if (libnet_write(l) != len)
+ warn("write");
+
+ fprintf(stderr, "%s > %s: icmp: source quench\n",
+- libnet_host_lookup(ip->ip_dst.s_addr, 0),
+- libnet_host_lookup(ip->ip_src.s_addr, 0));
++ libnet_addr2name4(ip->ip_dst.s_addr, 0),
++ libnet_addr2name4(ip->ip_src.s_addr, 0));
+ }
+
+ static void
+-send_icmp_frag_needed(int sock, struct libnet_ip_hdr *ip)
++send_icmp_frag_needed(libnet_t *l, struct libnet_ipv4_hdr *ip)
+ {
+- struct libnet_icmp_hdr *icmp;
++ struct libnet_icmpv4_hdr *icmp;
+ int len;
+
+ len = (ip->ip_hl * 4) + 8;
+
+- libnet_build_ip(ICMP_MASK_H + len, 4, libnet_get_prand(PRu16),
+- 0, 64, IPPROTO_ICMP, ip->ip_dst.s_addr,
+- ip->ip_src.s_addr, NULL, 0, buf);
+-
+- icmp = (struct libnet_icmp_hdr *)(buf + IP_H);
++ icmp = (struct libnet_icmpv4_hdr *)(buf + LIBNET_IPV4_H);
+ icmp->icmp_type = ICMP_UNREACH;
+ icmp->icmp_code = ICMP_UNREACH_NEEDFRAG;
+ icmp->hun.frag.pad = 0;
+ icmp->hun.frag.mtu = htons(MIN_MTU);
+- memcpy((u_char *)icmp + ICMP_MASK_H, (u_char *)ip, len);
++ memcpy((u_char *)icmp + LIBNET_ICMPV4_MASK_H, (u_char *)ip, len);
+
+- libnet_do_checksum(buf, IPPROTO_ICMP, ICMP_MASK_H + len);
+-
+- len += (IP_H + ICMP_MASK_H);
++ len += LIBNET_ICMPV4_MASK_H;
++
++ libnet_build_ipv4(LIBNET_IPV4_H + len, 4,
++ libnet_get_prand(LIBNET_PRu16), 0, 64, IPPROTO_ICMP,
++ 0, ip->ip_dst.s_addr, ip->ip_src.s_addr,
++ (u_int8_t *) icmp, len, l, 0);
+
+- if (libnet_write_ip(sock, buf, len) != len)
++ if (libnet_write(l) != len)
+ warn("write");
+
+ fprintf(stderr, "%s > %s: icmp: ",
+- libnet_host_lookup(ip->ip_dst.s_addr, 0),
+- libnet_host_lookup(ip->ip_src.s_addr, 0));
++ libnet_addr2name4(ip->ip_dst.s_addr, 0),
++ libnet_addr2name4(ip->ip_src.s_addr, 0));
+ fprintf(stderr, "%s unreachable - need to frag (mtu %d)\n",
+- libnet_host_lookup(ip->ip_src.s_addr, 0), MIN_MTU);
++ libnet_addr2name4(ip->ip_src.s_addr, 0), MIN_MTU);
+ }
+
+ static void
+ tcp_nice_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt)
+ {
+- struct libnet_ip_hdr *ip;
++ struct libnet_ipv4_hdr *ip;
+ struct libnet_tcp_hdr *tcp;
+- int *sock, len;
++ int len;
++ libnet_t *l;
+
+- sock = (int *)user;
++ l = (libnet_t *)user;
+ pkt += pcap_off;
+ len = pcap->caplen - pcap_off;
+
+- ip = (struct libnet_ip_hdr *)pkt;
++ ip = (struct libnet_ipv4_hdr *)pkt;
+ if (ip->ip_p != IPPROTO_TCP)
+ return;
+
+@@ -151,11 +150,11 @@
+
+ if (ntohs(ip->ip_len) > (ip->ip_hl << 2) + (tcp->th_off << 2)) {
+ if (Opt_icmp)
+- send_icmp_source_quench(*sock, ip);
++ send_icmp_source_quench(l, ip);
+ if (Opt_win)
+- send_tcp_window_advertisement(*sock, ip, tcp);
++ send_tcp_window_advertisement(l, ip, tcp);
+ if (Opt_pmtu)
+- send_icmp_frag_needed(*sock, ip);
++ send_icmp_frag_needed(l, ip);
+ }
+ }
+
+@@ -164,8 +163,10 @@
+ {
+ extern char *optarg;
+ extern int optind;
+- int c, sock;
++ int c;
+ char *intf, *filter, ebuf[PCAP_ERRBUF_SIZE];
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
++ libnet_t *l;
+ pcap_t *pd;
+
+ intf = NULL;
+@@ -209,14 +210,14 @@
+ if ((pcap_off = pcap_dloff(pd)) < 0)
+ errx(1, "couldn't determine link layer offset");
+
+- if ((sock = libnet_open_raw_sock(IPPROTO_RAW)) == -1)
++ if ((l = libnet_init(LIBNET_RAW4, intf, libnet_ebuf)) == NULL)
+ errx(1, "couldn't initialize sending");
+
+- libnet_seed_prand();
++ libnet_seed_prand(l);
+
+ warnx("listening on %s [%s]", intf, filter);
+
+- pcap_loop(pd, -1, tcp_nice_cb, (u_char *)&sock);
++ pcap_loop(pd, -1, tcp_nice_cb, (u_char *)l);
+
+ /* NOTREACHED */
+
+--- a/tcp_raw.c
++++ b/tcp_raw.c
+@@ -119,7 +119,7 @@
+ }
+
+ struct iovec *
+-tcp_raw_input(struct libnet_ip_hdr *ip, struct libnet_tcp_hdr *tcp, int len)
++tcp_raw_input(struct libnet_ipv4_hdr *ip, struct libnet_tcp_hdr *tcp, int len)
+ {
+ struct tha tha;
+ struct tcp_conn *conn;
+@@ -131,7 +131,7 @@
+
+ /* Verify TCP checksum. */
+ cksum = tcp->th_sum;
+- libnet_do_checksum((u_char *) ip, IPPROTO_TCP, len);
++ libnet_do_checksum(NULL, (u_char *) ip, IPPROTO_TCP, len);
+
+ if (cksum != tcp->th_sum)
+ return (NULL);
+--- a/tcp_raw.h
++++ b/tcp_raw.h
+@@ -15,7 +15,7 @@
+ u_short sport, u_short dport,
+ u_char *buf, int len);
+
+-struct iovec *tcp_raw_input(struct libnet_ip_hdr *ip,
++struct iovec *tcp_raw_input(struct libnet_ipv4_hdr *ip,
+ struct libnet_tcp_hdr *tcp, int len);
+
+ void tcp_raw_timeout(int timeout, tcp_raw_callback_t callback);
+--- a/trigger.c
++++ b/trigger.c
+@@ -276,7 +276,7 @@
+ }
+
+ void
+-trigger_ip(struct libnet_ip_hdr *ip)
++trigger_ip(struct libnet_ipv4_hdr *ip)
+ {
+ struct trigger *t, tr;
+ u_char *buf;
+@@ -305,7 +305,7 @@
+
+ /* libnids needs a nids_register_udp()... */
+ void
+-trigger_udp(struct libnet_ip_hdr *ip)
++trigger_udp(struct libnet_ipv4_hdr *ip)
+ {
+ struct trigger *t, tr;
+ struct libnet_udp_hdr *udp;
+@@ -437,7 +437,7 @@
+ }
+
+ void
+-trigger_tcp_raw(struct libnet_ip_hdr *ip)
++trigger_tcp_raw(struct libnet_ipv4_hdr *ip)
+ {
+ struct trigger *t, tr;
+ struct libnet_tcp_hdr *tcp;
+--- a/trigger.h
++++ b/trigger.h
+@@ -24,10 +24,10 @@
+ int trigger_set_tcp(int port, char *name);
+ int trigger_set_rpc(int program, char *name);
+
+-void trigger_ip(struct libnet_ip_hdr *ip);
+-void trigger_udp(struct libnet_ip_hdr *ip);
++void trigger_ip(struct libnet_ipv4_hdr *ip);
++void trigger_udp(struct libnet_ipv4_hdr *ip);
+ void trigger_tcp(struct tcp_stream *ts, void **conn_save);
+-void trigger_tcp_raw(struct libnet_ip_hdr *ip);
++void trigger_tcp_raw(struct libnet_ipv4_hdr *ip);
+ void trigger_tcp_raw_timeout(int signal);
+ void trigger_rpc(int program, int proto, int port);
+
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -145,14 +145,14 @@
+ if (user == NULL)
+ user = "-";
+ if (vhost == NULL)
+- vhost = libnet_host_lookup(addr->daddr, Opt_dns);
++ vhost = libnet_addr2name4(addr->daddr, Opt_dns);
+ if (referer == NULL)
+ referer = "-";
+ if (agent == NULL)
+ agent = "-";
+
+ printf("%s - %s [%s] \"%s http://%s%s\" - - \"%s\" \"%s\"\n",
+- libnet_host_lookup(addr->saddr, Opt_dns),
++ libnet_addr2name4(addr->saddr, Opt_dns),
+ user, timestamp(), req, vhost, uri, referer, agent);
+ }
+ fflush(stdout);
+--- a/webmitm.c
++++ b/webmitm.c
+@@ -242,7 +242,7 @@
+ word = buf_tok(&msg, "/", 1);
+ vhost = buf_strdup(word);
+ }
+- ssin.sin_addr.s_addr = libnet_name_resolve(vhost, 1);
++ ssin.sin_addr.s_addr = libnet_name2addr4(NULL, vhost, 1);
+ free(vhost);
+
+ if (ssin.sin_addr.s_addr == ntohl(INADDR_LOOPBACK) ||
+@@ -510,7 +510,7 @@
+ argv += optind;
+
+ if (argc == 1) {
+- if ((static_host = libnet_name_resolve(argv[0], 1)) == -1)
++ if ((static_host = libnet_name2addr4(NULL, argv[0], 1)) == -1)
+ usage();
+ }
+ else if (argc != 0) usage();
+--- a/webspy.c
++++ b/webspy.c
+@@ -126,7 +126,7 @@
+ if (auth == NULL)
+ auth = "";
+ if (vhost == NULL)
+- vhost = libnet_host_lookup(addr->daddr, 0);
++ vhost = libnet_addr2name4(addr->daddr, 0);
+
+ snprintf(cmd, sizeof(cmd), "openURL(http://%s%s%s%s)",
+ auth, *auth ? "@" : "", vhost, uri);
+@@ -205,7 +205,7 @@
+ cmdtab[0] = cmd;
+ cmdtab[1] = NULL;
+
+- if ((host = libnet_name_resolve(argv[0], 1)) == -1)
++ if ((host = libnet_name2addr4(NULL, argv[0], 1)) == -1)
+ errx(1, "unknown host");
+
+ if ((dpy = XOpenDisplay(NULL)) == NULL)
diff --git a/network/dsniff/patches/08_openssl-0.9.8.patch b/network/dsniff/patches/08_openssl-0.9.8.patch
new file mode 100644
index 0000000000..dc9b327bfe
--- /dev/null
+++ b/network/dsniff/patches/08_openssl-0.9.8.patch
@@ -0,0 +1,15 @@
+Author: <kees@ubuntu.com>
+Description: Fix FTBFS with openssl.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/ssh.c
++++ b/ssh.c
+@@ -16,6 +16,7 @@
+ #include <openssl/ssl.h>
+ #include <openssl/err.h>
+ #include <openssl/rand.h>
++#include <openssl/md5.h>
+
+ #include <err.h>
+ #include <errno.h>
diff --git a/network/dsniff/patches/09_sysconf_clocks.patch b/network/dsniff/patches/09_sysconf_clocks.patch
new file mode 100644
index 0000000000..a41fa581c5
--- /dev/null
+++ b/network/dsniff/patches/09_sysconf_clocks.patch
@@ -0,0 +1,23 @@
+Author: <kees@ubuntu.com>
+Description: Fix FTBFS: ./sshow.c:226: error: 'CLK_TCK' undeclared.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/sshow.c
++++ b/sshow.c
+@@ -217,6 +217,7 @@
+ {
+ clock_t delay;
+ int payload;
++ long CLK_TCK= sysconf(_SC_CLK_TCK);
+
+ delay = add_history(session, 0, cipher_size, plain_range);
+
+@@ -265,6 +266,7 @@
+ clock_t delay;
+ int skip;
+ range string_range;
++ long CLK_TCK= sysconf(_SC_CLK_TCK);
+
+ delay = add_history(session, 1, cipher_size, plain_range);
+
diff --git a/network/dsniff/patches/10_urlsnarf_escape.patch b/network/dsniff/patches/10_urlsnarf_escape.patch
new file mode 100644
index 0000000000..e6fab01ab3
--- /dev/null
+++ b/network/dsniff/patches/10_urlsnarf_escape.patch
@@ -0,0 +1,89 @@
+Author: Hilko Bengen <bengen@debian.org>
+Description: Escape user, vhost, uri, referer, agent strings in log.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372536
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -84,6 +84,43 @@
+ return (tstr);
+ }
+
++static char *
++escape_log_entry(char *string)
++{
++ char *out;
++ unsigned char *c, *o;
++ size_t len;
++
++ if (!string)
++ return NULL;
++
++ /* Determine needed length */
++ for (c = string, len = 0; *c; c++) {
++ if ((*c < 32) || (*c >= 128))
++ len += 4;
++ else if ((*c == '"') || (*c =='\\'))
++ len += 2;
++ else
++ len++;
++ }
++ out = malloc(len+1);
++ if (!out)
++ return NULL;
++ for (c = string, o = out; *c; c++, o++) {
++ if ((*c < 32) || (*c >= 128)) {
++ snprintf(o, 5, "\\x%02x", *c);
++ o += 3;
++ } else if ((*c == '"') || ((*c =='\\'))) {
++ *(o++) = '\\';
++ *o = *c;
++ } else {
++ *o = *c;
++ }
++ }
++ out[len]='\0';
++ return out;
++}
++
+ static int
+ process_http_request(struct tuple4 *addr, u_char *data, int len)
+ {
+@@ -142,18 +179,26 @@
+ buf_tok(NULL, NULL, i);
+ }
+ }
+- if (user == NULL)
+- user = "-";
+- if (vhost == NULL)
+- vhost = libnet_addr2name4(addr->daddr, Opt_dns);
+- if (referer == NULL)
+- referer = "-";
+- if (agent == NULL)
+- agent = "-";
+-
++ user = escape_log_entry(user);
++ vhost = escape_log_entry(vhost);
++ uri = escape_log_entry(uri);
++ referer = escape_log_entry(referer);
++ agent = escape_log_entry(agent);
++
+ printf("%s - %s [%s] \"%s http://%s%s\" - - \"%s\" \"%s\"\n",
+ libnet_addr2name4(addr->saddr, Opt_dns),
+- user, timestamp(), req, vhost, uri, referer, agent);
++ (user?user:"-"),
++ timestamp(), req,
++ (vhost?vhost:libnet_addr2name4(addr->daddr, Opt_dns)),
++ uri,
++ (referer?referer:"-"),
++ (agent?agent:"-"));
++
++ free(user);
++ free(vhost);
++ free(uri);
++ free(referer);
++ free(agent);
+ }
+ fflush(stdout);
+
diff --git a/network/dsniff/patches/11_string_header.patch b/network/dsniff/patches/11_string_header.patch
new file mode 100644
index 0000000000..1b383f2847
--- /dev/null
+++ b/network/dsniff/patches/11_string_header.patch
@@ -0,0 +1,166 @@
+Author: Luciano Bello <luciano@linux.org.ar>
+Description: Avoid the "implicit declaration of function 'str*'" warning
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/arp.c
++++ b/arp.c
+@@ -34,6 +34,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <string.h>
+
+ #include "arp.h"
+
+--- a/buf.c
++++ b/buf.c
+@@ -17,6 +17,7 @@
+ #include <unistd.h>
+ #include <ctype.h>
+ #include <err.h>
++#include <string.h>
+
+ #include "buf.h"
+
+--- a/decode_nntp.c
++++ b/decode_nntp.c
+@@ -15,6 +15,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
+
+ #include "base64.h"
+ #include "decode.h"
+--- a/decode_pop.c
++++ b/decode_pop.c
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
+
+ #include "base64.h"
+ #include "options.h"
+--- a/decode_rlogin.c
++++ b/decode_rlogin.c
+@@ -14,6 +14,8 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcpy.h>
++#include <strlcat.h>
+
+ #include "options.h"
+ #include "decode.h"
+--- a/decode_smb.c
++++ b/decode_smb.c
+@@ -15,6 +15,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
+
+ #include "decode.h"
+
+--- a/decode_smtp.c
++++ b/decode_smtp.c
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
+
+ #include "base64.h"
+ #include "options.h"
+--- a/decode_sniffer.c
++++ b/decode_sniffer.c
+@@ -15,6 +15,8 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
++#include <strlcpy.h>
+
+ #include "base64.h"
+ #include "decode.h"
+--- a/decode_socks.c
++++ b/decode_socks.c
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
+
+ #include "decode.h"
+
+--- a/decode_tds.c
++++ b/decode_tds.c
+@@ -18,6 +18,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
+
+ #include "decode.h"
+
+--- a/decode_telnet.c
++++ b/decode_telnet.c
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcpy.h>
+
+ #include "options.h"
+ #include "decode.h"
+--- a/decode_x11.c
++++ b/decode_x11.c
+@@ -14,6 +14,8 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <strlcat.h>
++#include <strlcpy.h>
+
+ #include "decode.h"
+
+--- a/dnsspoof.c
++++ b/dnsspoof.c
+@@ -20,6 +20,7 @@
+ #include <stdlib.h>
+ #include <signal.h>
+ #include <string.h>
++#include <strlcpy.h>
+ #include <resolv.h>
+ #include <err.h>
+ #include <libnet.h>
+--- a/magic.c
++++ b/magic.c
+@@ -36,6 +36,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strlcpy.h>
+ #include <ctype.h>
+ #include <time.h>
+ #include <err.h>
+--- /dev/null
++++ b/missing/strlcat.h
+@@ -0,0 +1 @@
++size_t strlcat(char *dst, const char *src, size_t siz);
+--- /dev/null
++++ b/missing/strlcpy.h
+@@ -0,0 +1 @@
++size_t strlcpy(char *dst, const char *src, size_t siz);
+--- a/sshmitm.c
++++ b/sshmitm.c
+@@ -24,6 +24,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <strlcat.h>
+
+ #include "buf.h"
+ #include "record.h"
diff --git a/network/dsniff/patches/12_arpa_inet_header.patch b/network/dsniff/patches/12_arpa_inet_header.patch
new file mode 100644
index 0000000000..246cf27b3c
--- /dev/null
+++ b/network/dsniff/patches/12_arpa_inet_header.patch
@@ -0,0 +1,65 @@
+Author: Luciano Bello <luciano@linux.org.ar>
+Description: avoid the "implicit declaration of function 'ntohs'" warning
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/decode_aim.c
++++ b/decode_aim.c
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <arpa/inet.h>
+
+ #include "hex.h"
+ #include "buf.h"
+--- a/decode_mmxp.c
++++ b/decode_mmxp.c
+@@ -21,6 +21,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <arpa/inet.h>
+
+ #include "buf.h"
+ #include "decode.h"
+--- a/decode_pptp.c
++++ b/decode_pptp.c
+@@ -16,6 +16,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <arpa/inet.h>
+
+ #include "buf.h"
+ #include "decode.h"
+--- a/decode_tds.c
++++ b/decode_tds.c
+@@ -19,6 +19,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <strlcat.h>
++#include <arpa/inet.h>
+
+ #include "decode.h"
+
+--- a/decode_vrrp.c
++++ b/decode_vrrp.c
+@@ -15,6 +15,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <arpa/inet.h>
+
+ #include "buf.h"
+ #include "decode.h"
+--- a/ssh.c
++++ b/ssh.c
+@@ -23,6 +23,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <arpa/inet.h>
+ #include <unistd.h>
+
+ #include "hex.h"
diff --git a/network/dsniff/patches/13_pop_with_version.patch b/network/dsniff/patches/13_pop_with_version.patch
new file mode 100644
index 0000000000..80c570c41a
--- /dev/null
+++ b/network/dsniff/patches/13_pop_with_version.patch
@@ -0,0 +1,30 @@
+Author: Luciano Bello <luciano@linux.org.ar>
+Description: distinguish between pop versions
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/decode.c
++++ b/decode.c
+@@ -63,7 +63,8 @@
+ { "http", decode_http },
+ { "ospf", decode_ospf },
+ { "poppass", decode_poppass },
+- { "pop", decode_pop },
++ { "pop2", decode_pop },
++ { "pop3", decode_pop },
+ { "nntp", decode_nntp },
+ { "smb", decode_smb },
+ { "imap", decode_imap },
+--- a/dsniff.services
++++ b/dsniff.services
+@@ -10,8 +10,8 @@
+ ospf 89/ip
+ http 98/tcp
+ poppass 106/tcp
+-pop 109/tcp
+-pop 110/tcp
++pop2 109/tcp
++pop3 110/tcp
+ portmap 111/tcp
+ portmap -111/tcp
+ portmap 111/udp
diff --git a/network/dsniff/patches/14_obsolete_time.patch b/network/dsniff/patches/14_obsolete_time.patch
new file mode 100644
index 0000000000..f4ca6088c1
--- /dev/null
+++ b/network/dsniff/patches/14_obsolete_time.patch
@@ -0,0 +1,36 @@
+Author: Luciano Bello <luciano@linux.org.ar>
+Description: According to /usr/include/time.h, CLK_TCK is the
+"obsolete POSIX.1-1988 name" for CLOCKS_PER_SEC.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420944
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/sshow.c
++++ b/sshow.c
+@@ -224,7 +224,7 @@
+ if (debug)
+ printf("- %s -> %s: DATA (%s bytes, %.2f seconds)\n",
+ s_saddr(ts), s_daddr(ts), s_range(plain_range),
+- (float)delay / CLK_TCK);
++ (float)delay / CLOCKS_PER_SEC);
+ if (debug > 1)
+ print_data(&ts->server, cipher_size);
+
+@@ -273,7 +273,7 @@
+ if (debug)
+ printf("- %s <- %s: DATA (%s bytes, %.2f seconds)\n",
+ s_saddr(ts), s_daddr(ts), s_range(plain_range),
+- (float)delay / CLK_TCK);
++ (float)delay / CLOCKS_PER_SEC);
+ if (debug > 1)
+ print_data(&ts->client, cipher_size);
+
+@@ -302,7 +302,7 @@
+
+ if (session->state == 1 &&
+ #ifdef USE_TIMING
+- now - get_history(session, 2)->timestamp >= CLK_TCK &&
++ now - get_history(session, 2)->timestamp >= CLOCKS_PER_SEC &&
+ #endif
+ session->protocol == 1 &&
+ (session->history.directions & 7) == 5 &&
diff --git a/network/dsniff/patches/15_checksum_libnids.patch b/network/dsniff/patches/15_checksum_libnids.patch
new file mode 100644
index 0000000000..47fbbe1d58
--- /dev/null
+++ b/network/dsniff/patches/15_checksum_libnids.patch
@@ -0,0 +1,98 @@
+Author: Gleb Paharenko <gpaharenko@gmail.com>
+Description: Workaround to this Debian bug
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420129
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/dsniff.c
++++ b/dsniff.c
+@@ -70,6 +70,80 @@
+ {
+ }
+
++
++static int get_all_ifaces(struct ifreq **, int *);
++static unsigned int get_addr_from_ifreq(struct ifreq *);
++
++int all_local_ipaddrs_chksum_disable()
++{
++ struct ifreq *ifaces;
++ int ifaces_count;
++ int i, ind = 0;
++ struct nids_chksum_ctl *ctlp;
++ unsigned int tmp;
++
++ if (!get_all_ifaces(&ifaces, &ifaces_count))
++ return -1;
++ ctlp =
++ (struct nids_chksum_ctl *) malloc(ifaces_count *
++ sizeof(struct
++ nids_chksum_ctl));
++ if (!ctlp)
++ return -1;
++ for (i = 0; i < ifaces_count; i++) {
++ tmp = get_addr_from_ifreq(ifaces + i);
++ if (tmp) {
++ ctlp[ind].netaddr = tmp;
++ ctlp[ind].mask = inet_addr("255.255.255.255");
++ ctlp[ind].action = NIDS_DONT_CHKSUM;
++ ind++;
++ }
++ }
++ free(ifaces);
++ nids_register_chksum_ctl(ctlp, ind);
++}
++
++/* helper functions for Example 2 */
++unsigned int get_addr_from_ifreq(struct ifreq *iface)
++{
++ if (iface->ifr_addr.sa_family == AF_INET)
++ return ((struct sockaddr_in *) &(iface->ifr_addr))->
++ sin_addr.s_addr;
++ return 0;
++}
++
++static int get_all_ifaces(struct ifreq **ifaces, int *count)
++{
++ int ifaces_size = 8 * sizeof(struct ifreq);
++ struct ifconf param;
++ int sock;
++ unsigned int i;
++
++ *ifaces = malloc(ifaces_size);
++ sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP);
++ if (sock <= 0)
++ return 0;
++ for (;;) {
++ param.ifc_len = ifaces_size;
++ param.ifc_req = *ifaces;
++ if (ioctl(sock, SIOCGIFCONF, &param))
++ goto err;
++ if (param.ifc_len < ifaces_size)
++ break;
++ free(*ifaces);
++ ifaces_size *= 2;
++ ifaces = malloc(ifaces_size);
++ }
++ *count = param.ifc_len / sizeof(struct ifreq);
++ close(sock);
++ return 1;
++ err:
++ close(sock);
++ return 0;
++}
++
++
++
+ int
+ main(int argc, char *argv[])
+ {
+@@ -189,6 +263,8 @@
+ warnx("using %s", nids_params.filename);
+ }
+ }
++
++ all_local_ipaddrs_chksum_disable();
+
+ nids_run();
+
diff --git a/network/dsniff/patches/16_TDS_decoder.patch b/network/dsniff/patches/16_TDS_decoder.patch
new file mode 100644
index 0000000000..a748243f6c
--- /dev/null
+++ b/network/dsniff/patches/16_TDS_decoder.patch
@@ -0,0 +1,20 @@
+Author: Luciano Bello <luciano@debian.org>
+Description: Fix for DOS y TDS decoder. Patch provided by Hilko Bengen.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609988
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/decode_tds.c
++++ b/decode_tds.c
+@@ -144,6 +144,11 @@
+ len > sizeof(*th) && len >= ntohs(th->size);
+ buf += ntohs(th->size), len -= ntohs(th->size)) {
+
++ if (th->size != 8) {
++ /* wrong header length */
++ break;
++ }
++
+ if (th->type == 2) {
+ /* Version 4.x, 5.0 */
+ if (len < sizeof(*th) + sizeof(*tl))
diff --git a/network/dsniff/patches/17_checksum.patch b/network/dsniff/patches/17_checksum.patch
new file mode 100644
index 0000000000..96eb3cc80f
--- /dev/null
+++ b/network/dsniff/patches/17_checksum.patch
@@ -0,0 +1,29 @@
+Author: Piotr Engelking <inkerman42@gmail.com>
+Description: Disable the filtering packets with incorrect checksum.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372536
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -245,6 +245,7 @@
+ extern char *optarg;
+ extern int optind;
+ int c;
++ struct nids_chksum_ctl chksum_ctl;
+
+ while ((c = getopt(argc, argv, "i:p:nvh?V")) != -1) {
+ switch (c) {
+@@ -305,6 +306,12 @@
+ }
+ }
+
++ chksum_ctl.netaddr = 0;
++ chksum_ctl.mask = 0;
++ chksum_ctl.action = NIDS_DONT_CHKSUM;
++
++ nids_register_chksum_ctl(&chksum_ctl, 1);
++
+ nids_run();
+
+ /* NOTREACHED */
diff --git a/network/dsniff/patches/18_sshcrypto.patch b/network/dsniff/patches/18_sshcrypto.patch
new file mode 100644
index 0000000000..252ffa6e67
--- /dev/null
+++ b/network/dsniff/patches/18_sshcrypto.patch
@@ -0,0 +1,17 @@
+Author: Steve Kemp <skx@debian.org>
+Description: Missing openssl includes in sshcrypto.c.
+This patch was through diff.gz and now is implemented as a dpatch.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/sshcrypto.c
++++ b/sshcrypto.c
+@@ -14,6 +14,8 @@
+
+ #include <sys/types.h>
+ #include <openssl/ssl.h>
++#include <openssl/blowfish.h>
++#include <openssl/des.h>
+
+ #include <err.h>
+ #include <stdio.h>
diff --git a/network/dsniff/patches/19_rewrite-and-modernize-POP-decoder.patch b/network/dsniff/patches/19_rewrite-and-modernize-POP-decoder.patch
new file mode 100644
index 0000000000..790931521f
--- /dev/null
+++ b/network/dsniff/patches/19_rewrite-and-modernize-POP-decoder.patch
@@ -0,0 +1,132 @@
+>From b05e27ba9b0ba9ef00ad2183933652e08d8c89af Mon Sep 17 00:00:00 2001
+From: Stefan Tomanek <stefan@pico.ruhr.de>
+Date: Sat, 29 Oct 2011 20:48:55 +0200
+Subject: [PATCH] rewrite and modernize POP decoder
+
+
+Signed-off-by: Stefan Tomanek <stefan@pico.ruhr.de>
+---
+ decode_pop.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++-----------
+ 1 files changed, 77 insertions(+), 19 deletions(-)
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/decode_pop.c
++++ b/decode_pop.c
+@@ -6,6 +6,8 @@
+ * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
+ *
+ * $Id: decode_pop.c,v 1.4 2001/03/15 08:33:02 dugsong Exp $
++ *
++ * Rewritten by Stefan Tomanek 2011 <stefan@pico.ruhr.de>
+ */
+
+ #include "config.h"
+@@ -45,32 +47,88 @@
+ decode_pop(u_char *buf, int len, u_char *obuf, int olen)
+ {
+ char *p;
++ char *s;
++ int n;
+ int i, j;
++ char *user;
++ char *password;
++ enum {
++ NONE,
++ AUTHPLAIN,
++ AUTHLOGIN,
++ USERPASS
++ } mode = NONE;
++
+
+ obuf[0] = '\0';
+
+ for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) {
+- if (strncasecmp(p, "AUTH PLAIN", 10) == 0 ||
+- strncasecmp(p, "AUTH LOGIN", 10) == 0) {
+- strlcat(obuf, p, olen);
+- strlcat(obuf, "\n", olen);
+-
+- /* Decode SASL auth. */
+- for (i = 0; i < 2 && (p = strtok(NULL, "\r\n")); i++) {
+- strlcat(obuf, p, olen);
+- j = base64_pton(p, p, strlen(p));
+- p[j] = '\0';
+- strlcat(obuf, " [", olen);
+- strlcat(obuf, p, olen);
+- strlcat(obuf, "]\n", olen);
++ if (mode == NONE) {
++ user = NULL;
++ password = NULL;
++ if (strncasecmp(p, "AUTH PLAIN", 10) == 0) {
++ mode = AUTHPLAIN;
++ continue;
++ }
++ if (strncasecmp(p, "AUTH LOGIN", 10) == 0) {
++ mode = AUTHLOGIN;
++ continue;
++ }
++ if (strncasecmp(p, "USER ", 5) == 0) {
++ mode = USERPASS;
++ /* the traditional login cuts right to the case,
++ * so no continue here
++ */
+ }
+ }
+- /* Save regular POP2, POP3 auth info. */
+- else if (strncasecmp(p, "USER ", 5) == 0 ||
+- strncasecmp(p, "PASS ", 5) == 0 ||
+- strncasecmp(p, "HELO ", 5) == 0) {
+- strlcat(obuf, p, olen);
+- strlcat(obuf, "\n", olen);
++ printf("(%d) %s\n", mode, p);
++ if (mode == USERPASS) {
++ if (strncasecmp(p, "USER ", 5) == 0) {
++ user = &p[5];
++ } else if (strncasecmp(p, "PASS ", 5) == 0) {
++ password = &p[5];
++ }
++ }
++
++ if (mode == AUTHPLAIN) {
++ j = base64_pton(p, p, strlen(p));
++ p[j] = '\0';
++ n = 0;
++ s = p;
++ /* p consists of three parts, divided by \0 */
++ while (s <= &p[j] && n<=3) {
++ if (n == 0) {
++ /* we do not process this portion yet */
++ } else if (n == 1) {
++ user = s;
++ } else if (n == 2) {
++ password = s;
++ }
++ n++;
++ while (*s) s++;
++ s++;
++ }
++ }
++
++ if (mode == AUTHLOGIN) {
++ j = base64_pton(p, p, strlen(p));
++ p[j] = '\0';
++ if (! user) {
++ user = p;
++ } else {
++ password = p;
++ /* got everything we need :-) */
++ }
++ }
++
++ if (user && password) {
++ strlcat(obuf, "\nusername [", olen);
++ strlcat(obuf, user, olen);
++ strlcat(obuf, "] password [", olen);
++ strlcat(obuf, password, olen);
++ strlcat(obuf, "]\n", olen);
++
++ mode = NONE;
+ }
+ }
+ return (strlen(obuf));
diff --git a/network/dsniff/patches/20_debian_dirs.patch b/network/dsniff/patches/20_debian_dirs.patch
new file mode 100644
index 0000000000..a99a3ff57d
--- /dev/null
+++ b/network/dsniff/patches/20_debian_dirs.patch
@@ -0,0 +1,62 @@
+Author: Steve Kemp <skx@debian.org>
+Description: Adapt to Debian directory structure.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,7 +11,7 @@
+ install_prefix =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-libdir = @libdir@
++libdir = $(prefix)/share/dsniff
+ sbindir = @sbindir@
+ mandir = @mandir@
+
+@@ -37,8 +37,7 @@
+ X11INC = @X_CFLAGS@
+ X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
+
+-INCS = -I. $(NIDSINC) $(PCAPINC) $(LNETINC) $(DBINC) $(SSLINC) $(X11INC) \
+- -I$(srcdir)/missing
++INCS = -I. $(X11INC) -I$(srcdir)/missing
+ LIBS = @LIBS@ -L$(srcdir) -lmissing
+
+ INSTALL = @INSTALL@
+--- a/dnsspoof.8
++++ b/dnsspoof.8
+@@ -31,7 +31,7 @@
+ address queries on the LAN with an answer of the local machine's IP
+ address.
+ .SH FILES
+-.IP \fI/usr/local/lib/dnsspoof.hosts\fR
++.IP \fI/usr/share/dsniff/dnsspoof.hosts\fR
+ Sample hosts file.
+ .SH "SEE ALSO"
+ dsniff(8), hosts(5)
+--- a/dsniff.8
++++ b/dsniff.8
+@@ -68,9 +68,9 @@
+ On a hangup signal \fBdsniff\fR will dump its current trigger table to
+ \fIdsniff.services\fR.
+ .SH FILES
+-.IP \fI/usr/local/lib/dsniff.services\fR
++.IP \fI/usr/share/dsniff/dsniff.services\fR
+ Default trigger table
+-.IP \fI/usr/local/lib/dsniff.magic\fR
++.IP \fI/usr/share/dsniff/dsniff.magic\fR
+ Network protocol magic
+ .SH "SEE ALSO"
+ arpspoof(8), libnids(3), services(5), magic(5)
+--- a/pathnames.h
++++ b/pathnames.h
+@@ -12,7 +12,7 @@
+ #define PATHNAMES_H
+
+ #ifndef DSNIFF_LIBDIR
+-#define DSNIFF_LIBDIR "/usr/local/lib/"
++#define DSNIFF_LIBDIR "/usr/share/dsniff/"
+ #endif
+
+ #define DSNIFF_SERVICES "dsniff.services"
diff --git a/network/dsniff/patches/21_msgsnarf_segfault.patch b/network/dsniff/patches/21_msgsnarf_segfault.patch
new file mode 100644
index 0000000000..e60fe847e4
--- /dev/null
+++ b/network/dsniff/patches/21_msgsnarf_segfault.patch
@@ -0,0 +1,15 @@
+Author: <bdefreese@debian2.bddebian.com>
+Description: Correctly 0 out the c struct.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/msgsnarf.c
++++ b/msgsnarf.c
+@@ -584,6 +584,7 @@
+ if (i == 0) {
+ if ((c = malloc(sizeof(*c))) == NULL)
+ nids_params.no_mem("sniff_msgs");
++ memset(c, 0, sizeof(*c));
+ c->ip = ts->addr.saddr;
+ c->nick = strdup("unknown");
+ SLIST_INSERT_HEAD(&client_list, c, next);
diff --git a/network/dsniff/patches/22_handlepp.patch b/network/dsniff/patches/22_handlepp.patch
new file mode 100644
index 0000000000..da0a49dbeb
--- /dev/null
+++ b/network/dsniff/patches/22_handlepp.patch
@@ -0,0 +1,17 @@
+Author: Joerg Dorchain <joerg@dorchain.net>
+Description: Add tcpkill support for handle ppp interfaces.
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/pcaputil.c
++++ b/pcaputil.c
+@@ -52,6 +52,9 @@
+ case DLT_NULL:
+ offset = 4;
+ break;
++ case DLT_LINUX_SLL: /* e.g. ppp */
++ offset = 16;
++ break;
+ default:
+ warnx("unsupported datalink type");
+ break;
diff --git a/network/dsniff/patches/23_urlsnarf_timestamp.patch b/network/dsniff/patches/23_urlsnarf_timestamp.patch
new file mode 100644
index 0000000000..36a8b0f277
--- /dev/null
+++ b/network/dsniff/patches/23_urlsnarf_timestamp.patch
@@ -0,0 +1,82 @@
+Author: Hilko Bengen <bengen@debian.org>
+Description: urlsnarf: use timestamps from pcap file if available.
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573365
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/urlsnarf.c
++++ b/urlsnarf.c
+@@ -36,6 +36,7 @@
+ u_short Opt_dns = 1;
+ int Opt_invert = 0;
+ regex_t *pregex = NULL;
++time_t tt = 0;
+
+ static void
+ usage(void)
+@@ -57,9 +58,12 @@
+ {
+ static char tstr[32], sign;
+ struct tm *t, gmt;
+- time_t tt = time(NULL);
+ int days, hours, tz, len;
+
++ if (!nids_params.filename) {
++ tt = time(NULL);
++ }
++
+ gmt = *gmtime(&tt);
+ t = localtime(&tt);
+
+@@ -312,9 +316,48 @@
+
+ nids_register_chksum_ctl(&chksum_ctl, 1);
+
+- nids_run();
+-
+- /* NOTREACHED */
++ pcap_t *p;
++ char pcap_errbuf[PCAP_ERRBUF_SIZE];
++ if (nids_params.filename == NULL) {
++ /* adapted from libnids.c:open_live() */
++ if (strcmp(nids_params.device, "all") == 0)
++ nids_params.device = "any";
++ p = pcap_open_live(nids_params.device, 16384,
++ (nids_params.promisc != 0),
++ 0, pcap_errbuf);
++ if (!p) {
++ fprintf(stderr, "pcap_open_live(): %s\n",
++ pcap_errbuf);
++ exit(1);
++ }
++ }
++ else {
++ p = pcap_open_offline(nids_params.filename,
++ pcap_errbuf);
++ if (!p) {
++ fprintf(stderr, "pcap_open_offline(%s): %s\n",
++ nids_params.filename, pcap_errbuf);
++ }
++ }
++
++ struct pcap_pkthdr *h;
++ u_char *d;
++ int rc;
++ while ((rc = pcap_next_ex(p, &h, &d)) == 1) {
++ tt = h->ts.tv_sec;
++ nids_pcap_handler(NULL, h, d);
++ }
++ switch (rc) {
++ case(-2): /* end of pcap file */
++ case(0): /* timeout on live capture */
++ break;
++ case(-1):
++ default:
++ fprintf(stderr, "rc = %i\n", rc);
++ pcap_perror(p, "pcap_read_ex()");
++ exit(1);
++ break;
++ }
+
+ exit(0);
+ }
diff --git a/network/dsniff/patches/24_Fix-OpenSSL1.1.0-Build.patch b/network/dsniff/patches/24_Fix-OpenSSL1.1.0-Build.patch
new file mode 100644
index 0000000000..db7739ee34
--- /dev/null
+++ b/network/dsniff/patches/24_Fix-OpenSSL1.1.0-Build.patch
@@ -0,0 +1,202 @@
+Description: Fix build with OpenSSL 1.1.0
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+
+--- a/ssh.c
++++ b/ssh.c
+@@ -234,7 +234,10 @@
+ u_char *p, cipher, cookie[8], msg[1024];
+ u_int32_t num;
+ int i;
+-
++
++ const BIGNUM *servkey_e, *servkey_n;
++ const BIGNUM *hostkey_e, *hostkey_n;
++
+ /* Generate anti-spoofing cookie. */
+ RAND_bytes(cookie, sizeof(cookie));
+
+@@ -243,11 +246,13 @@
+ *p++ = SSH_SMSG_PUBLIC_KEY; /* type */
+ memcpy(p, cookie, 8); p += 8; /* cookie */
+ num = 768; PUTLONG(num, p); /* servkey bits */
+- put_bn(ssh->ctx->servkey->e, &p); /* servkey exponent */
+- put_bn(ssh->ctx->servkey->n, &p); /* servkey modulus */
++ RSA_get0_key(ssh->ctx->servkey, &servkey_n, &servkey_e, NULL);
++ put_bn(servkey_e, &p); /* servkey exponent */
++ put_bn(servkey_n, &p); /* servkey modulus */
+ num = 1024; PUTLONG(num, p); /* hostkey bits */
+- put_bn(ssh->ctx->hostkey->e, &p); /* hostkey exponent */
+- put_bn(ssh->ctx->hostkey->n, &p); /* hostkey modulus */
++ RSA_get0_key(ssh->ctx->hostkey, &hostkey_n, &hostkey_e, NULL);
++ put_bn(hostkey_e, &p); /* hostkey exponent */
++ put_bn(hostkey_n, &p); /* hostkey modulus */
+ num = 0; PUTLONG(num, p); /* protocol flags */
+ num = ssh->ctx->encmask; PUTLONG(num, p); /* ciphers */
+ num = ssh->ctx->authmask; PUTLONG(num, p); /* authmask */
+@@ -298,7 +303,7 @@
+ SKIP(p, i, 4);
+
+ /* Decrypt session key. */
+- if (BN_cmp(ssh->ctx->servkey->n, ssh->ctx->hostkey->n) > 0) {
++ if (BN_cmp(servkey_n, hostkey_n) > 0) {
+ rsa_private_decrypt(enckey, enckey, ssh->ctx->servkey);
+ rsa_private_decrypt(enckey, enckey, ssh->ctx->hostkey);
+ }
+@@ -318,8 +323,8 @@
+ BN_clear_free(enckey);
+
+ /* Derive real session key using session id. */
+- if ((p = ssh_session_id(cookie, ssh->ctx->hostkey->n,
+- ssh->ctx->servkey->n)) == NULL) {
++ if ((p = ssh_session_id(cookie, hostkey_n,
++ servkey_n)) == NULL) {
+ warn("ssh_session_id");
+ return (-1);
+ }
+@@ -328,10 +333,8 @@
+ }
+ /* Set cipher. */
+ if (cipher == SSH_CIPHER_3DES) {
+- ssh->estate = des3_init(ssh->sesskey, sizeof(ssh->sesskey));
+- ssh->dstate = des3_init(ssh->sesskey, sizeof(ssh->sesskey));
+- ssh->encrypt = des3_encrypt;
+- ssh->decrypt = des3_decrypt;
++ warnx("cipher 3des no longer supported");
++ return (-1);
+ }
+ else if (cipher == SSH_CIPHER_BLOWFISH) {
+ ssh->estate = blowfish_init(ssh->sesskey,sizeof(ssh->sesskey));
+@@ -357,7 +360,10 @@
+ u_char *p, cipher, cookie[8], msg[1024];
+ u_int32_t num;
+ int i;
+-
++
++ BIGNUM *servkey_n, *servkey_e;
++ BIGNUM *hostkey_n, *hostkey_e;
++
+ /* Get public key. */
+ if ((i = SSH_recv(ssh, pkt, sizeof(pkt))) <= 0) {
+ warn("SSH_recv");
+@@ -379,21 +385,23 @@
+
+ /* Get servkey. */
+ ssh->ctx->servkey = RSA_new();
+- ssh->ctx->servkey->n = BN_new();
+- ssh->ctx->servkey->e = BN_new();
++ servkey_n = BN_new();
++ servkey_e = BN_new();
++ RSA_set0_key(ssh->ctx->servkey, servkey_n, servkey_e, NULL);
+
+ SKIP(p, i, 4);
+- get_bn(ssh->ctx->servkey->e, &p, &i);
+- get_bn(ssh->ctx->servkey->n, &p, &i);
++ get_bn(servkey_e, &p, &i);
++ get_bn(servkey_n, &p, &i);
+
+ /* Get hostkey. */
+ ssh->ctx->hostkey = RSA_new();
+- ssh->ctx->hostkey->n = BN_new();
+- ssh->ctx->hostkey->e = BN_new();
++ hostkey_n = BN_new();
++ hostkey_e = BN_new();
++ RSA_set0_key(ssh->ctx->hostkey, hostkey_n, hostkey_e, NULL);
+
+ SKIP(p, i, 4);
+- get_bn(ssh->ctx->hostkey->e, &p, &i);
+- get_bn(ssh->ctx->hostkey->n, &p, &i);
++ get_bn(hostkey_e, &p, &i);
++ get_bn(hostkey_n, &p, &i);
+
+ /* Get cipher, auth masks. */
+ SKIP(p, i, 4);
+@@ -405,8 +413,8 @@
+ RAND_bytes(ssh->sesskey, sizeof(ssh->sesskey));
+
+ /* Obfuscate with session id. */
+- if ((p = ssh_session_id(cookie, ssh->ctx->hostkey->n,
+- ssh->ctx->servkey->n)) == NULL) {
++ if ((p = ssh_session_id(cookie, hostkey_n,
++ servkey_n)) == NULL) {
+ warn("ssh_session_id");
+ return (-1);
+ }
+@@ -422,7 +430,7 @@
+ else BN_add_word(bn, ssh->sesskey[i]);
+ }
+ /* Encrypt session key. */
+- if (BN_cmp(ssh->ctx->servkey->n, ssh->ctx->hostkey->n) < 0) {
++ if (BN_cmp(servkey_n, hostkey_n) < 0) {
+ rsa_public_encrypt(bn, bn, ssh->ctx->servkey);
+ rsa_public_encrypt(bn, bn, ssh->ctx->hostkey);
+ }
+@@ -470,10 +478,8 @@
+ ssh->decrypt = blowfish_decrypt;
+ }
+ else if (cipher == SSH_CIPHER_3DES) {
+- ssh->estate = des3_init(ssh->sesskey, sizeof(ssh->sesskey));
+- ssh->dstate = des3_init(ssh->sesskey, sizeof(ssh->sesskey));
+- ssh->encrypt = des3_encrypt;
+- ssh->decrypt = des3_decrypt;
++ warnx("cipher 3des no longer supported");
++ return (-1);
+ }
+ /* Get server response. */
+ if ((i = SSH_recv(ssh, pkt, sizeof(pkt))) <= 0) {
+--- a/sshcrypto.c
++++ b/sshcrypto.c
+@@ -28,10 +28,12 @@
+ u_char iv[8];
+ };
+
++#if 0
+ struct des3_state {
+ des_key_schedule k1, k2, k3;
+ des_cblock iv1, iv2, iv3;
+ };
++#endif
+
+ void
+ rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
+@@ -39,10 +41,12 @@
+ u_char *inbuf, *outbuf;
+ int len, ilen, olen;
+
+- if (BN_num_bits(key->e) < 2 || !BN_is_odd(key->e))
++ const BIGNUM *n, *e;
++ RSA_get0_key(key, &n, &e, NULL);
++ if (BN_num_bits(e) < 2 || !BN_is_odd(e))
+ errx(1, "rsa_public_encrypt() exponent too small or not odd");
+
+- olen = BN_num_bytes(key->n);
++ olen = BN_num_bytes(n);
+ outbuf = malloc(olen);
+
+ ilen = BN_num_bytes(in);
+@@ -71,7 +75,9 @@
+ u_char *inbuf, *outbuf;
+ int len, ilen, olen;
+
+- olen = BN_num_bytes(key->n);
++ const BIGNUM *n;
++ RSA_get0_key(key, &n, NULL, NULL);
++ olen = BN_num_bytes(n);
+ outbuf = malloc(olen);
+
+ ilen = BN_num_bytes(in);
+@@ -146,6 +152,7 @@
+ swap_bytes(dst, dst, len);
+ }
+
++#if 0
+ /* XXX - SSH1's weirdo 3DES... */
+ void *
+ des3_init(u_char *sesskey, int len)
+@@ -194,3 +201,4 @@
+ des_ncbc_encrypt(dst, dst, len, dstate->k2, &dstate->iv2, DES_ENCRYPT);
+ des_ncbc_encrypt(dst, dst, len, dstate->k1, &dstate->iv1, DES_DECRYPT);
+ }
++#endif
diff --git a/network/dsniff/patches/25_fix-spelling-errors.patch b/network/dsniff/patches/25_fix-spelling-errors.patch
new file mode 100644
index 0000000000..febbf914e0
--- /dev/null
+++ b/network/dsniff/patches/25_fix-spelling-errors.patch
@@ -0,0 +1,17 @@
+Description: Fix minor spelling error in source code
+Author: Marcos Fouces <marcos.fouces@gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+
+--- a/remote.c
++++ b/remote.c
+@@ -652,7 +652,7 @@
+ if (remote_command_count > 0)
+ {
+ fprintf (stderr,
+- "%s: the `-id' option must preceed all `-remote' options.\n",
++ "%s: the `-id' option must precede all `-remote' options.\n",
+ progname);
+ usage ();
+ exit (-1);
diff --git a/network/dsniff/patches/26_arpspoof-add-r-switch-to-poison-both-directions.patch b/network/dsniff/patches/26_arpspoof-add-r-switch-to-poison-both-directions.patch
new file mode 100644
index 0000000000..9a55f25051
--- /dev/null
+++ b/network/dsniff/patches/26_arpspoof-add-r-switch-to-poison-both-directions.patch
@@ -0,0 +1,170 @@
+>From 8fbf0ac15e5fe2df427e3e028f9aa8d96788986a Mon Sep 17 00:00:00 2001
+From: Stefan Tomanek <stefan@pico.ruhr.de>
+Date: Sun, 6 Nov 2011 22:44:54 +0100
+Subject: [PATCH 1/3] arpspoof: add -r switch to poison both directions
+
+
+Signed-off-by: Stefan Tomanek <stefan@pico.ruhr.de>
+---
+ arpspoof.8 | 5 ++++-
+ arpspoof.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++------------
+ 2 files changed, 51 insertions(+), 13 deletions(-)
+
+ ---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/arpspoof.8
++++ b/arpspoof.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBarpspoof\fR [\fB-i \fIinterface\fR] [\fB-t \fItarget\fR] \fIhost\fR
++\fBarpspoof\fR [\fB\-i \fIinterface\fR] [\fB\-t \fItarget\fR] [\fB\-r\fR] \fIhost\fR
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -26,6 +26,9 @@
+ .IP "\fB-t \fItarget\fR"
+ Specify a particular host to ARP poison (if not specified, all hosts
+ on the LAN).
++.IP "\fB\-r\fR"
++Poison both hosts (host and target) to capture traffic in both directions.
++(only valid in conjuntion with \-t)
+ .IP \fIhost\fR
+ Specify the host you wish to intercept packets for (usually the local
+ gateway).
+--- a/arpspoof.c
++++ b/arpspoof.c
+@@ -7,6 +7,8 @@
+ * Copyright (c) 1999 Dug Song <dugsong@monkey.org>
+ *
+ * $Id: arpspoof.c,v 1.5 2001/03/15 08:32:58 dugsong Exp $
++ *
++ * Improved 2011 by Stefan Tomanek <stefa@pico.ruhr.de>
+ */
+
+ #include "config.h"
+@@ -31,12 +33,13 @@
+ static struct ether_addr spoof_mac, target_mac;
+ static in_addr_t spoof_ip, target_ip;
+ static char *intf;
++static int poison_reverse;
+
+ static void
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: arpspoof [-i interface] [-t target] host\n");
++ "Usage: arpspoof [-i interface] [-t target] [-r] host\n");
+ exit(1);
+ }
+
+@@ -133,18 +136,30 @@
+ static void
+ cleanup(int sig)
+ {
++ int fw = arp_find(spoof_ip, &spoof_mac);
++ int bw = poison_reverse && target_ip && arp_find(target_ip, &target_mac);
+ int i;
+-
+- if (arp_find(spoof_ip, &spoof_mac)) {
+- for (i = 0; i < 3; i++) {
+- /* XXX - on BSD, requires ETHERSPOOF kernel. */
++
++ fprintf(stderr, "Cleaning up and re-arping targets...\n");
++ for (i = 0; i < 5; i++) {
++ /* XXX - on BSD, requires ETHERSPOOF kernel. */
++ if (fw) {
+ arp_send(l, ARPOP_REPLY,
+ (u_int8_t *)&spoof_mac, spoof_ip,
+ (target_ip ? (u_int8_t *)&target_mac : NULL),
+ target_ip);
++ /* we have to wait a moment before sending the next packet */
++ sleep(1);
++ }
++ if (bw) {
++ arp_send(l, ARPOP_REPLY,
++ (u_int8_t *)&target_mac, target_ip,
++ (u_int8_t *)&spoof_mac,
++ spoof_ip);
+ sleep(1);
+ }
+ }
++
+ exit(0);
+ }
+
+@@ -156,11 +171,12 @@
+ char pcap_ebuf[PCAP_ERRBUF_SIZE];
+ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+ int c;
+-
++
+ intf = NULL;
+ spoof_ip = target_ip = 0;
+-
+- while ((c = getopt(argc, argv, "i:t:h?V")) != -1) {
++ poison_reverse = 0;
++
++ while ((c = getopt(argc, argv, "ri:t:h?V")) != -1) {
+ switch (c) {
+ case 'i':
+ intf = optarg;
+@@ -169,6 +185,9 @@
+ if ((target_ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1)
+ usage();
+ break;
++ case 'r':
++ poison_reverse = 1;
++ break;
+ default:
+ usage();
+ }
+@@ -178,7 +197,12 @@
+
+ if (argc != 1)
+ usage();
+-
++
++ if (poison_reverse && !target_ip) {
++ errx(1, "Spoofing the reverse path (-r) is only available when specifying a target (-t).");
++ usage();
++ }
++
+ if ((spoof_ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
+@@ -191,18 +215,29 @@
+ if (target_ip != 0 && !arp_find(target_ip, &target_mac))
+ errx(1, "couldn't arp for host %s",
+ libnet_addr2name4(target_ip, LIBNET_DONT_RESOLVE));
+-
++
++ if (poison_reverse) {
++ if (!arp_find(spoof_ip, &spoof_mac)) {
++ errx(1, "couldn't arp for spoof host %s",
++ libnet_addr2name4(spoof_ip, LIBNET_DONT_RESOLVE));
++ }
++ }
++
+ signal(SIGHUP, cleanup);
+ signal(SIGINT, cleanup);
+ signal(SIGTERM, cleanup);
+-
++
+ for (;;) {
+ arp_send(l, ARPOP_REPLY, NULL, spoof_ip,
+ (target_ip ? (u_int8_t *)&target_mac : NULL),
+ target_ip);
++ if (poison_reverse) {
++ arp_send(l, ARPOP_REPLY, NULL, target_ip, (uint8_t *)&spoof_mac, spoof_ip);
++ }
++
+ sleep(2);
+ }
+ /* NOTREACHED */
+-
++
+ exit(0);
+ }
diff --git a/network/dsniff/patches/27_arpspoof-allow-use-of-of-multiple-targets.patch b/network/dsniff/patches/27_arpspoof-allow-use-of-of-multiple-targets.patch
new file mode 100644
index 0000000000..120001f7b3
--- /dev/null
+++ b/network/dsniff/patches/27_arpspoof-allow-use-of-of-multiple-targets.patch
@@ -0,0 +1,194 @@
+Description: [PATCH 2/3] arpspoof: allow use of multiple targets. Last hunk modified by João Salavisa <joao.salavisa@gmail.com>
+in order to fix a bug with "-t" option of arpspoof. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706766 fo more information.
+Author: Stefan Tomanek <stefan@pico.ruhr.de>
+ ---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+
+--- a/arpspoof.8
++++ b/arpspoof.8
+@@ -25,7 +25,7 @@
+ Specify the interface to use.
+ .IP "\fB-t \fItarget\fR"
+ Specify a particular host to ARP poison (if not specified, all hosts
+-on the LAN).
++on the LAN). Repeat to specify multiple hosts.
+ .IP "\fB\-r\fR"
+ Poison both hosts (host and target) to capture traffic in both directions.
+ (only valid in conjuntion with \-t)
+--- a/arpspoof.c
++++ b/arpspoof.c
+@@ -29,9 +29,14 @@
+
+ extern char *ether_ntoa(struct ether_addr *);
+
++struct host {
++ in_addr_t ip;
++ struct ether_addr mac;
++};
++
+ static libnet_t *l;
+-static struct ether_addr spoof_mac, target_mac;
+-static in_addr_t spoof_ip, target_ip;
++static struct host spoof = {0};
++static struct host *targets;
+ static char *intf;
+ static int poison_reverse;
+
+@@ -133,30 +138,46 @@
+ return (0);
+ }
+
++static int arp_find_all() {
++ struct host *target = targets;
++ while(target->ip) {
++ if (arp_find(target->ip, &target->mac)) {
++ return 1;
++ }
++ target++;
++ }
++
++ return 0;
++}
++
+ static void
+ cleanup(int sig)
+ {
+- int fw = arp_find(spoof_ip, &spoof_mac);
+- int bw = poison_reverse && target_ip && arp_find(target_ip, &target_mac);
++ int fw = arp_find(spoof.ip, &spoof.mac);
++ int bw = poison_reverse && targets[0].ip && arp_find_all();
+ int i;
+
+ fprintf(stderr, "Cleaning up and re-arping targets...\n");
+ for (i = 0; i < 5; i++) {
+- /* XXX - on BSD, requires ETHERSPOOF kernel. */
+- if (fw) {
+- arp_send(l, ARPOP_REPLY,
+- (u_int8_t *)&spoof_mac, spoof_ip,
+- (target_ip ? (u_int8_t *)&target_mac : NULL),
+- target_ip);
+- /* we have to wait a moment before sending the next packet */
+- sleep(1);
+- }
+- if (bw) {
+- arp_send(l, ARPOP_REPLY,
+- (u_int8_t *)&target_mac, target_ip,
+- (u_int8_t *)&spoof_mac,
+- spoof_ip);
+- sleep(1);
++ struct host *target = targets;
++ while(target->ip) {
++ /* XXX - on BSD, requires ETHERSPOOF kernel. */
++ if (fw) {
++ arp_send(l, ARPOP_REPLY,
++ (u_int8_t *)&spoof.mac, spoof.ip,
++ (target->ip ? (u_int8_t *)&target->mac : NULL),
++ target->ip);
++ /* we have to wait a moment before sending the next packet */
++ sleep(1);
++ }
++ if (bw) {
++ arp_send(l, ARPOP_REPLY,
++ (u_int8_t *)&target->mac, target->ip,
++ (u_int8_t *)&spoof.mac,
++ spoof.ip);
++ sleep(1);
++ }
++ target++;
+ }
+ }
+
+@@ -171,10 +192,15 @@
+ char pcap_ebuf[PCAP_ERRBUF_SIZE];
+ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+ int c;
++ int n_targets;
+
++ spoof.ip = 0;
+ intf = NULL;
+- spoof_ip = target_ip = 0;
+ poison_reverse = 0;
++ n_targets = 0;
++
++ /* allocate enough memory for target list */
++ targets = calloc( argc+1, sizeof(struct host) );
+
+ while ((c = getopt(argc, argv, "ri:t:h?V")) != -1) {
+ switch (c) {
+@@ -182,7 +208,7 @@
+ intf = optarg;
+ break;
+ case 't':
+- if ((target_ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1)
++ if ((targets[n_targets++].ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1)
+ usage();
+ break;
+ case 'r':
+@@ -198,12 +224,12 @@
+ if (argc != 1)
+ usage();
+
+- if (poison_reverse && !target_ip) {
++ if (poison_reverse && !n_targets) {
+ errx(1, "Spoofing the reverse path (-r) is only available when specifying a target (-t).");
+ usage();
+ }
+
+- if ((spoof_ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
++ if ((spoof.ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
+ if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL)
+@@ -211,15 +237,19 @@
+
+ if ((l = libnet_init(LIBNET_LINK, intf, libnet_ebuf)) == NULL)
+ errx(1, "%s", libnet_ebuf);
+-
+- if (target_ip != 0 && !arp_find(target_ip, &target_mac))
+- errx(1, "couldn't arp for host %s",
+- libnet_addr2name4(target_ip, LIBNET_DONT_RESOLVE));
++
++ struct host *target = targets;
++ while(target->ip) {
++ if (target->ip != 0 && !arp_find(target->ip, &target->mac))
++ errx(1, "couldn't arp for host %s",
++ libnet_addr2name4(target->ip, LIBNET_DONT_RESOLVE));
++ target++;
++ }
+
+ if (poison_reverse) {
+- if (!arp_find(spoof_ip, &spoof_mac)) {
++ if (!arp_find(spoof.ip, &spoof.mac)) {
+ errx(1, "couldn't arp for spoof host %s",
+- libnet_addr2name4(spoof_ip, LIBNET_DONT_RESOLVE));
++ libnet_addr2name4(spoof.ip, LIBNET_DONT_RESOLVE));
+ }
+ }
+
+@@ -228,12 +258,20 @@
+ signal(SIGTERM, cleanup);
+
+ for (;;) {
+- arp_send(l, ARPOP_REPLY, NULL, spoof_ip,
+- (target_ip ? (u_int8_t *)&target_mac : NULL),
+- target_ip);
+- if (poison_reverse) {
+- arp_send(l, ARPOP_REPLY, NULL, target_ip, (uint8_t *)&spoof_mac, spoof_ip);
++ if (!n_targets) {
++ arp_send(l, ARPOP_REPLY, my_ha, spoof.ip, brd_ha, 0, my_ha);
++ } else {
++ struct host *target = targets;
++ while(target->ip) {
++ arp_send(l, ARPOP_REPLY, NULL, spoof.ip,
++ (target->ip ? (u_int8_t *)&target->mac : NULL),
++ target->ip);
++ if (poison_reverse) {
++ arp_send(l, ARPOP_REPLY, NULL, target->ip, (uint8_t *)&spoof.mac, spoof.ip);
++ }
++ target++;
+ }
++ }
+
+ sleep(2);
+ }
diff --git a/network/dsniff/patches/28_arpspoof-allow-selection-of-source-hw-address.patch b/network/dsniff/patches/28_arpspoof-allow-selection-of-source-hw-address.patch
new file mode 100644
index 0000000000..95da6a1651
--- /dev/null
+++ b/network/dsniff/patches/28_arpspoof-allow-selection-of-source-hw-address.patch
@@ -0,0 +1,230 @@
+>From 21773ccf18a5fc49d35e510a8797b0a1e83858c4 Mon Sep 17 00:00:00 2001
+From: Stefan Tomanek <stefan@pico.ruhr.de>
+Date: Sun, 20 Nov 2011 21:32:53 +0100
+Subject: [PATCH 3/3] arpspoof: allow selection of source hw address
+
+In certain networks, sending with the wrong hardware source address can
+jeopardize the network connection of the host running arpspoof. This
+patch makes it possible to specify whether arpspoof should use the own
+hardware address or the one of the real host when resetting the arp
+table of the target systems; it is also possible to use both.
+
+Signed-off-by: Stefan Tomanek <stefan@pico.ruhr.de>
+---
+ arpspoof.8 | 9 +++++-
+ arpspoof.c | 90 ++++++++++++++++++++++++++++++++++++++++++-----------------
+ 2 files changed, 72 insertions(+), 27 deletions(-)
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/arpspoof.8
++++ b/arpspoof.8
+@@ -9,7 +9,7 @@
+ .na
+ .nf
+ .fi
+-\fBarpspoof\fR [\fB\-i \fIinterface\fR] [\fB\-t \fItarget\fR] [\fB\-r\fR] \fIhost\fR
++\fBarpspoof\fR [\fB\-i \fIinterface\fR] [\fB\-c \fIown|host|both\fR] [\fB\-t \fItarget\fR] [\fB\-r\fR] \fIhost\fR
+ .SH DESCRIPTION
+ .ad
+ .fi
+@@ -23,6 +23,13 @@
+ .SH OPTIONS
+ .IP "\fB-i \fIinterface\fR"
+ Specify the interface to use.
++.IP "\fB-c \fIown|host|both\fR"
++Specify which hardware address t use when restoring the arp configuration;
++while cleaning up, packets can be send with the own address as well as with
++the address of the host. Sending packets with a fake hw address can disrupt
++connectivity with certain switch/ap/bridge configurations, however it works
++more reliably than using the own address, which is the default way arpspoof
++cleans up afterwards.
+ .IP "\fB-t \fItarget\fR"
+ Specify a particular host to ARP poison (if not specified, all hosts
+ on the LAN). Repeat to specify multiple hosts.
+--- a/arpspoof.c
++++ b/arpspoof.c
+@@ -40,37 +40,36 @@
+ static char *intf;
+ static int poison_reverse;
+
++static uint8_t *my_ha = NULL;
++static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff";
++
++static int cleanup_src_own = 1;
++static int cleanup_src_host = 0;
++
+ static void
+ usage(void)
+ {
+ fprintf(stderr, "Version: " VERSION "\n"
+- "Usage: arpspoof [-i interface] [-t target] [-r] host\n");
++ "Usage: arpspoof [-i interface] [-c own|host|both] [-t target] [-r] host\n");
+ exit(1);
+ }
+
+ static int
+-arp_send(libnet_t *l, int op, u_int8_t *sha,
+- in_addr_t spa, u_int8_t *tha, in_addr_t tpa)
++arp_send(libnet_t *l, int op,
++ u_int8_t *sha, in_addr_t spa,
++ u_int8_t *tha, in_addr_t tpa,
++ u_int8_t *me)
+ {
+ int retval;
+
+- if (sha == NULL &&
+- (sha = (u_int8_t *)libnet_get_hwaddr(l)) == NULL) {
+- return (-1);
+- }
+- if (spa == 0) {
+- if ((spa = libnet_get_ipaddr4(l)) == -1)
+- return (-1);
+- }
+- if (tha == NULL)
+- tha = "\xff\xff\xff\xff\xff\xff";
+-
++ if (!me) me = sha;
++
+ libnet_autobuild_arp(op, sha, (u_int8_t *)&spa,
+ tha, (u_int8_t *)&tpa, l);
+- libnet_build_ethernet(tha, sha, ETHERTYPE_ARP, NULL, 0, l, 0);
++ libnet_build_ethernet(tha, me, ETHERTYPE_ARP, NULL, 0, l, 0);
+
+ fprintf(stderr, "%s ",
+- ether_ntoa((struct ether_addr *)sha));
++ ether_ntoa((struct ether_addr *)me));
+
+ if (op == ARPOP_REQUEST) {
+ fprintf(stderr, "%s 0806 42: arp who-has %s tell %s\n",
+@@ -129,7 +128,7 @@
+ /* XXX - force the kernel to arp. feh. */
+ arp_force(ip);
+ #else
+- arp_send(l, ARPOP_REQUEST, NULL, 0, NULL, ip);
++ arp_send(l, ARPOP_REQUEST, NULL, 0, NULL, ip, NULL);
+ #endif
+ sleep(1);
+ }
+@@ -156,17 +155,23 @@
+ int fw = arp_find(spoof.ip, &spoof.mac);
+ int bw = poison_reverse && targets[0].ip && arp_find_all();
+ int i;
++ int rounds = (cleanup_src_own*5 + cleanup_src_host*5);
+
+ fprintf(stderr, "Cleaning up and re-arping targets...\n");
+- for (i = 0; i < 5; i++) {
++ for (i = 0; i < rounds; i++) {
+ struct host *target = targets;
+ while(target->ip) {
++ uint8_t *src_ha = NULL;
++ if (cleanup_src_own && (i%2 || !cleanup_src_host)) {
++ src_ha = my_ha;
++ }
+ /* XXX - on BSD, requires ETHERSPOOF kernel. */
+ if (fw) {
+ arp_send(l, ARPOP_REPLY,
+ (u_int8_t *)&spoof.mac, spoof.ip,
+- (target->ip ? (u_int8_t *)&target->mac : NULL),
+- target->ip);
++ (target->ip ? (u_int8_t *)&target->mac : brd_ha),
++ target->ip,
++ src_ha);
+ /* we have to wait a moment before sending the next packet */
+ sleep(1);
+ }
+@@ -174,7 +179,8 @@
+ arp_send(l, ARPOP_REPLY,
+ (u_int8_t *)&target->mac, target->ip,
+ (u_int8_t *)&spoof.mac,
+- spoof.ip);
++ spoof.ip,
++ src_ha);
+ sleep(1);
+ }
+ target++;
+@@ -193,6 +199,7 @@
+ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+ int c;
+ int n_targets;
++ char *cleanup_src = NULL;
+
+ spoof.ip = 0;
+ intf = NULL;
+@@ -202,7 +209,7 @@
+ /* allocate enough memory for target list */
+ targets = calloc( argc+1, sizeof(struct host) );
+
+- while ((c = getopt(argc, argv, "ri:t:h?V")) != -1) {
++ while ((c = getopt(argc, argv, "ri:t:c:h?V")) != -1) {
+ switch (c) {
+ case 'i':
+ intf = optarg;
+@@ -214,6 +221,9 @@
+ case 'r':
+ poison_reverse = 1;
+ break;
++ case 'c':
++ cleanup_src = optarg;
++ break;
+ default:
+ usage();
+ }
+@@ -229,6 +239,29 @@
+ usage();
+ }
+
++ if (!cleanup_src || strcmp(cleanup_src, "own")==0) { /* default! */
++ /* only use our own hw address when cleaning up,
++ * not jeopardizing any bridges on the way to our
++ * target
++ */
++ cleanup_src_own = 1;
++ cleanup_src_host = 0;
++ } else if (strcmp(cleanup_src, "host")==0) {
++ /* only use the target hw address when cleaning up;
++ * this can screw up some bridges and scramble access
++ * for our own host, however it resets the arp table
++ * more reliably
++ */
++ cleanup_src_own = 0;
++ cleanup_src_host = 1;
++ } else if (strcmp(cleanup_src, "both")==0) {
++ cleanup_src_own = 1;
++ cleanup_src_host = 1;
++ } else {
++ errx(1, "Invalid parameter to -c: use 'own' (default), 'host' or 'both'.");
++ usage();
++ }
++
+ if ((spoof.ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
+@@ -253,6 +286,10 @@
+ }
+ }
+
++ if ((my_ha = (u_int8_t *)libnet_get_hwaddr(l)) == NULL) {
++ errx(1, "Unable to determine own mac address");
++ }
++
+ signal(SIGHUP, cleanup);
+ signal(SIGINT, cleanup);
+ signal(SIGTERM, cleanup);
+@@ -263,11 +300,12 @@
+ } else {
+ struct host *target = targets;
+ while(target->ip) {
+- arp_send(l, ARPOP_REPLY, NULL, spoof.ip,
+- (target->ip ? (u_int8_t *)&target->mac : NULL),
+- target->ip);
++ arp_send(l, ARPOP_REPLY, my_ha, spoof.ip,
++ (target->ip ? (u_int8_t *)&target->mac : brd_ha),
++ target->ip,
++ my_ha);
+ if (poison_reverse) {
+- arp_send(l, ARPOP_REPLY, NULL, target->ip, (uint8_t *)&spoof.mac, spoof.ip);
++ arp_send(l, ARPOP_REPLY, my_ha, target->ip, (uint8_t *)&spoof.mac, spoof.ip, my_ha);
+ }
+ target++;
+ }
diff --git a/network/dsniff/patches/29_libnet_name2addr4.patch b/network/dsniff/patches/29_libnet_name2addr4.patch
new file mode 100644
index 0000000000..76c8c39882
--- /dev/null
+++ b/network/dsniff/patches/29_libnet_name2addr4.patch
@@ -0,0 +1,144 @@
+Description: fixes possible segmentation faults of arpspoof, sshmitm, webmitm and
+webspy if any non-resolving hostname is passed. Issue was introduced by
+dsniff-2.4-libnet_11.patch; libnet_name_resolve() was replaced by libnet_name2addr4()
+while there must be the structure libnet_t passed additionally. And if that structure is not initialized
+using libnet_init() and the passed name can't be resolved (like "192.168.2."), it
+causes a snprintf() to NULL and thus the segmentation fault. Note that macof isn't
+affected as no resolving was involved here ever.
+Author: Robert Scheck <robert@fedoraproject.org>
+Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1009879
+Origin: http://pkgs.fedoraproject.org/cgit/rpms/dsniff.git/tree/dsniff-2.4-libnet_name2addr4.patch
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/sshmitm.c
++++ b/sshmitm.c
+@@ -45,6 +45,8 @@
+ struct sockaddr_in csin, ssin;
+ int sig_pipe[2];
+
++static libnet_t *l;
++
+ static void
+ usage(void)
+ {
+@@ -364,6 +366,7 @@
+ u_long ip;
+ u_short lport, rport;
+ int c;
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+
+ lport = rport = 22;
+
+@@ -390,12 +393,15 @@
+ if (argc < 1)
+ usage();
+
+- if ((ip = libnet_name2addr4(NULL, argv[0], LIBNET_RESOLVE)) == -1)
+- usage();
+-
+ if (argc == 2 && (rport = atoi(argv[1])) == 0)
+ usage();
+
++ if ((l = libnet_init(LIBNET_LINK, NULL, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
++
++ if ((ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
++ usage();
++
+ record_init(NULL);
+
+ mitm_init(lport, ip, rport);
+--- a/webmitm.c
++++ b/webmitm.c
+@@ -47,6 +47,8 @@
+ int do_ssl, sig_pipe[2];
+ in_addr_t static_host = 0;
+
++static libnet_t *l;
++
+ extern int decode_http(char *, int, char *, int);
+
+ static void
+@@ -242,7 +244,7 @@
+ word = buf_tok(&msg, "/", 1);
+ vhost = buf_strdup(word);
+ }
+- ssin.sin_addr.s_addr = libnet_name2addr4(NULL, vhost, 1);
++ ssin.sin_addr.s_addr = libnet_name2addr4(l, vhost, LIBNET_RESOLVE);
+ free(vhost);
+
+ if (ssin.sin_addr.s_addr == ntohl(INADDR_LOOPBACK) ||
+@@ -496,6 +498,7 @@
+ extern char *optarg;
+ extern int optind;
+ int c;
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+
+ while ((c = getopt(argc, argv, "dh?V")) != -1) {
+ switch (c) {
+@@ -509,8 +512,11 @@
+ argc -= optind;
+ argv += optind;
+
++ if ((l = libnet_init(LIBNET_LINK, NULL, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
++
+ if (argc == 1) {
+- if ((static_host = libnet_name2addr4(NULL, argv[0], 1)) == -1)
++ if ((static_host = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+ }
+ else if (argc != 0) usage();
+--- a/webspy.c
++++ b/webspy.c
+@@ -33,6 +33,7 @@
+ extern int mozilla_remote_commands (Display *, Window, char **);
+ char *expected_mozilla_version = "4.7";
+ char *progname = "webspy";
++static libnet_t *l;
+
+ Display *dpy;
+ char cmd[2048], *cmdtab[2];
+@@ -183,6 +184,7 @@
+ extern char *optarg;
+ extern int optind;
+ int c;
++ char libnet_ebuf[LIBNET_ERRBUF_SIZE];
+
+ while ((c = getopt(argc, argv, "i:p:h?V")) != -1) {
+ switch (c) {
+@@ -205,7 +207,10 @@
+ cmdtab[0] = cmd;
+ cmdtab[1] = NULL;
+
+- if ((host = libnet_name2addr4(NULL, argv[0], 1)) == -1)
++ if ((l = libnet_init(LIBNET_LINK, NULL, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
++
++ if ((host = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ errx(1, "unknown host");
+
+ if ((dpy = XOpenDisplay(NULL)) == NULL)
+--- a/arpspoof.c
++++ b/arpspoof.c
+@@ -208,6 +208,10 @@
+
+ /* allocate enough memory for target list */
+ targets = calloc( argc+1, sizeof(struct host) );
++
++ if ((l = libnet_init(LIBNET_LINK, NULL, libnet_ebuf)) == NULL)
++ errx(1, "%s", libnet_ebuf);
++
+
+ while ((c = getopt(argc, argv, "ri:t:c:h?V")) != -1) {
+ switch (c) {
+@@ -265,6 +269,8 @@
+ if ((spoof.ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1)
+ usage();
+
++ libnet_destroy(l);
++
+ if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL)
+ errx(1, "%s", pcap_ebuf);
+
diff --git a/network/dsniff/patches/30_pntohl_shift.patch b/network/dsniff/patches/30_pntohl_shift.patch
new file mode 100644
index 0000000000..8764d69523
--- /dev/null
+++ b/network/dsniff/patches/30_pntohl_shift.patch
@@ -0,0 +1,19 @@
+Description: Corrects the incorrect bit-shift in pntohl(), the left-shift should be 8 bits, not 18.
+Author: Matthew Boyle <mlb@decisionsoft.co.uk>
+Origin: http://pkgs.fedoraproject.org/cgit/rpms/dsniff.git/tree/dsniff-2.4-pntohl_shift.patch
+Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=714958
+Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=850496
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/decode.h
++++ b/decode.h
+@@ -35,7 +35,7 @@
+ (u_short)*((u_char *)p+0)<<8))
+
+ #define pntohl(p) ((u_int32_t)*((u_char *)p+3)<<0| \
+- (u_int32_t)*((u_char *)p+2)<<18| \
++ (u_int32_t)*((u_char *)p+2)<<8| \
+ (u_int32_t)*((u_char *)p+1)<<16| \
+ (u_int32_t)*((u_char *)p+0)<<24)
+
diff --git a/network/dsniff/patches/31_sysconf_clocks.patch b/network/dsniff/patches/31_sysconf_clocks.patch
new file mode 100644
index 0000000000..4aa22086d9
--- /dev/null
+++ b/network/dsniff/patches/31_sysconf_clocks.patch
@@ -0,0 +1,31 @@
+Description: Adds a clock fix. It was improved by Robert Scheck <robert@fedoraproject.org>
+to work with older Linux kernel versions, too.
+Author: <kees@ubuntu.com>
+Origin: http://pkgs.fedoraproject.org/cgit/rpms/dsniff.git/tree/dsniff-2.4-sysconf_clocks.patch
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/sshow.c
++++ b/sshow.c
+@@ -217,7 +217,9 @@
+ {
+ clock_t delay;
+ int payload;
+- long CLK_TCK= sysconf(_SC_CLK_TCK);
++#if defined(_SC_CLK_TCK)
++ long CLK_TCK = sysconf(_SC_CLK_TCK);
++#endif
+
+ delay = add_history(session, 0, cipher_size, plain_range);
+
+@@ -266,7 +268,9 @@
+ clock_t delay;
+ int skip;
+ range string_range;
+- long CLK_TCK= sysconf(_SC_CLK_TCK);
++#if defined(_SC_CLK_TCK)
++ long CLK_TCK = sysconf(_SC_CLK_TCK);
++#endif
+
+ delay = add_history(session, 1, cipher_size, plain_range);
+
diff --git a/network/dsniff/patches/32_rpc_segfault.patch b/network/dsniff/patches/32_rpc_segfault.patch
new file mode 100644
index 0000000000..89a8d9c5af
--- /dev/null
+++ b/network/dsniff/patches/32_rpc_segfault.patch
@@ -0,0 +1,19 @@
+Description: avoids xdrs being used without being initialised first. Without this
+patch dsniff segfaults when decoding RPC packets on x86_64.
+Author: Matthew Boyle <mlb@decisionsoft.co.uk>
+Origin: http://pkgs.fedoraproject.org/cgit/rpms/dsniff.git/tree/dsniff-2.4-rpc_segfault.patch
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/rpc.c
++++ b/rpc.c
+@@ -125,6 +125,9 @@
+ return (0);
+ }
+ }
++ else
++ return (0);
++
+ stat = xdr_getpos(&xdrs);
+ xdr_destroy(&xdrs);
+
diff --git a/network/dsniff/patches/33_sshcrypto_DES.patch b/network/dsniff/patches/33_sshcrypto_DES.patch
new file mode 100644
index 0000000000..02ff90bf09
--- /dev/null
+++ b/network/dsniff/patches/33_sshcrypto_DES.patch
@@ -0,0 +1,65 @@
+Description: improves 18_sshcrypto.patch
+ - Replace all des_ methods and structs with DES_ equivalents.
+ - Remove openssl/des_old.h include.
+ - Register dependencies on OpenSSL, glib20 and gettext.
+Author: jca
+Origin: OpenBSD
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/sshcrypto.c
++++ b/sshcrypto.c
+@@ -30,8 +30,8 @@
+
+ #if 0
+ struct des3_state {
+- des_key_schedule k1, k2, k3;
+- des_cblock iv1, iv2, iv3;
++ DES_key_schedule k1, k2, k3;
++ DES_cblock iv1, iv2, iv3;
+ };
+ #endif
+
+@@ -162,13 +162,13 @@
+ if ((state = malloc(sizeof(*state))) == NULL)
+ err(1, "malloc");
+
+- des_set_key((void *)sesskey, state->k1);
+- des_set_key((void *)(sesskey + 8), state->k2);
++ DES_set_key((void *)sesskey, &state->k1);
++ DES_set_key((void *)(sesskey + 8), &state->k2);
+
+ if (len <= 16)
+- des_set_key((void *)sesskey, state->k3);
++ DES_set_key((void *)sesskey, &state->k3);
+ else
+- des_set_key((void *)(sesskey + 16), state->k3);
++ DES_set_key((void *)(sesskey + 16), &state->k3);
+
+ memset(state->iv1, 0, 8);
+ memset(state->iv2, 0, 8);
+@@ -184,9 +184,9 @@
+ estate = (struct des3_state *)state;
+ memcpy(estate->iv1, estate->iv2, 8);
+
+- des_ncbc_encrypt(src, dst, len, estate->k1, &estate->iv1, DES_ENCRYPT);
+- des_ncbc_encrypt(dst, dst, len, estate->k2, &estate->iv2, DES_DECRYPT);
+- des_ncbc_encrypt(dst, dst, len, estate->k3, &estate->iv3, DES_ENCRYPT);
++ DES_ncbc_encrypt(src, dst, len, &estate->k1, &estate->iv1, DES_ENCRYPT);
++ DES_ncbc_encrypt(dst, dst, len, &estate->k2, &estate->iv2, DES_DECRYPT);
++ DES_ncbc_encrypt(dst, dst, len, &estate->k3, &estate->iv3, DES_ENCRYPT);
+ }
+
+ void
+@@ -197,8 +197,8 @@
+ dstate = (struct des3_state *)state;
+ memcpy(dstate->iv1, dstate->iv2, 8);
+
+- des_ncbc_encrypt(src, dst, len, dstate->k3, &dstate->iv3, DES_DECRYPT);
+- des_ncbc_encrypt(dst, dst, len, dstate->k2, &dstate->iv2, DES_ENCRYPT);
+- des_ncbc_encrypt(dst, dst, len, dstate->k1, &dstate->iv1, DES_DECRYPT);
++ DES_ncbc_encrypt(src, dst, len, &dstate->k3, &dstate->iv3, DES_DECRYPT);
++ DES_ncbc_encrypt(dst, dst, len, &dstate->k2, &dstate->iv2, DES_ENCRYPT);
++ DES_ncbc_encrypt(dst, dst, len, &dstate->k1, &dstate->iv1, DES_DECRYPT);
+ }
+ #endif
diff --git a/network/dsniff/patches/34_fix-parallel-FTBFS.patch b/network/dsniff/patches/34_fix-parallel-FTBFS.patch
new file mode 100644
index 0000000000..00fbb96c13
--- /dev/null
+++ b/network/dsniff/patches/34_fix-parallel-FTBFS.patch
@@ -0,0 +1,109 @@
+Description: Fix parallel FTBFS problems
+ * Add libmissing.a as a dependency to each of the PROGS to ensure it is
+ built before them.
+ * Ensure mount.h is created before decode_mountd.o gets built.
+ * Ensure nfs_prot.h is created before filesnarf.o gets built.
+Author: Lukas Schwaighofer <lukas@schwaighofer.name>
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/860611
+Bug-Debian: https://bugs.debian.org/869086
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -75,16 +75,28 @@
+ .c.o:
+ $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/$*.c
+
+-all: libmissing.a $(PROGS)
++all: $(PROGS)
+
+-mount.c: mount.x
++mount.h: mount.x
+ rpcgen -h mount.x -o mount.h
++
++mount.c: mount.x
+ rpcgen -c mount.x -o mount.c
+
+-nfs_prot.c: nfs_prot.x
++mount.o: mount.h
++
++decode_mountd.o: mount.h
++
++nfs_prot.h: nfs_prot.x
+ rpcgen -h nfs_prot.x -o nfs_prot.h
++
++nfs_prot.c: nfs_prot.x
+ rpcgen -c nfs_prot.x -o nfs_prot.c
+
++nfs_prot.o: nfs_prot.h
++
++filesnarf.o: nfs_prot.h
++
+ $(LIBOBJS):
+ $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/missing/$*.c
+
+@@ -92,49 +104,49 @@
+ ar -cr $@ $(LIBOBJS)
+ $(RANLIB) $@
+
+-dsniff: $(HDRS) $(SRCS) $(OBJS)
++dsniff: $(HDRS) $(SRCS) $(OBJS) libmissing.a
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
+
+-arpspoof: arpspoof.o arp.o
++arpspoof: arpspoof.o arp.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ arpspoof.o arp.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+-dnsspoof: dnsspoof.o pcaputil.o
++dnsspoof: dnsspoof.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ dnsspoof.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+-filesnarf: nfs_prot.o filesnarf.o pcaputil.o rpc.o
++filesnarf: nfs_prot.o filesnarf.o pcaputil.o rpc.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ filesnarf.o nfs_prot.o pcaputil.o rpc.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+-macof: macof.o
++macof: macof.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ macof.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+-mailsnarf: mailsnarf.o buf.o pcaputil.o
++mailsnarf: mailsnarf.o buf.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ mailsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+-msgsnarf: msgsnarf.o buf.o pcaputil.o
++msgsnarf: msgsnarf.o buf.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ msgsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+-sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o
++sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
+
+-sshow: sshow.o pcaputil.o
++sshow: sshow.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ sshow.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+-tcpkill: tcpkill.o pcaputil.o
++tcpkill: tcpkill.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ tcpkill.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+-tcpnice: tcpnice.o pcaputil.o
++tcpnice: tcpnice.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ tcpnice.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+-tcphijack: tcphijack.o pcaputil.o
++tcphijack: tcphijack.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ tcphijack.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+-urlsnarf: urlsnarf.o base64.o buf.o pcaputil.o
++urlsnarf: urlsnarf.o base64.o buf.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+-webmitm: webmitm.o base64.o buf.o decode_http.o record.o
++webmitm: webmitm.o base64.o buf.o decode_http.o record.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
+
+-webspy: webspy.o base64.o buf.o remote.o
++webspy: webspy.o base64.o buf.o remote.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)
+
+ install:
diff --git a/network/dsniff/patches/35_Add_CPPFLAGS.patch b/network/dsniff/patches/35_Add_CPPFLAGS.patch
new file mode 100644
index 0000000000..3ea8eb94d7
--- /dev/null
+++ b/network/dsniff/patches/35_Add_CPPFLAGS.patch
@@ -0,0 +1,50 @@
+Description: import CPPFLAGS in order to build an ELF binary that uses fortified libc functions. Now it is built with all default Debian compiler flags.
+Author: Marcos Fouces <marcos.fouces@gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,12 +11,13 @@
+ install_prefix =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-libdir = $(prefix)/share/dsniff
++libdir = @libdir@
+ sbindir = @sbindir@
+ mandir = @mandir@
+
+ CC = @CC@
+ CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(libdir)/\"
++CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+
+ PCAPINC = @PCAPINC@
+@@ -37,7 +38,8 @@
+ X11INC = @X_CFLAGS@
+ X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
+
+-INCS = -I. $(X11INC) -I$(srcdir)/missing
++INCS = -I. $(NIDSINC) $(PCAPINC) $(LNETINC) $(DBINC) $(SSLINC) $(X11INC) \
++ -I$(srcdir)/missing
+ LIBS = @LIBS@ -L$(srcdir) -lmissing
+
+ INSTALL = @INSTALL@
+@@ -73,7 +75,7 @@
+ CONFIGS = dsniff.magic dsniff.services dnsspoof.hosts
+
+ .c.o:
+- $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/$*.c
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -c $(srcdir)/$*.c
+
+ all: $(PROGS)
+
+@@ -98,7 +100,7 @@
+ filesnarf.o: nfs_prot.h
+
+ $(LIBOBJS):
+- $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/missing/$*.c
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -c $(srcdir)/missing/$*.c
+
+ libmissing.a: $(LIBOBJS)
+ ar -cr $@ $(LIBOBJS)
diff --git a/network/dsniff/patches/36_implicit_declarations.patch b/network/dsniff/patches/36_implicit_declarations.patch
new file mode 100644
index 0000000000..159f7c2b32
--- /dev/null
+++ b/network/dsniff/patches/36_implicit_declarations.patch
@@ -0,0 +1,59 @@
+Description: fix implicit declarations compiler warning
+ * switch to C99 uint64_t, remove now unnecessary xdr_u_int64_t function
+ * include missing string.h for memset
+Author: Lukas Schwaighofer <lukas@schwaighofer.name>
+
+--- a/filesnarf.c
++++ b/filesnarf.c
+@@ -55,30 +55,6 @@
+ exit(1);
+ }
+
+-/* XXX - for nfs_prot_xdr.c */
+-bool_t
+-xdr_u_int64_t(XDR *xdrs, u_int64_t *nump)
+-{
+- int i = 1;
+- u_char *p = (u_char *)nump;
+-
+- if (*(char *)&i == 1) { /* endian haack. */
+- if (xdr_u_long(xdrs, (u_long *)(p + 4)))
+- return (xdr_u_long(xdrs, (u_long *)p));
+- }
+- else {
+- if (xdr_u_long(xdrs, (u_long *)p))
+- return (xdr_u_long(xdrs, (u_long *)(p + 4)));
+- }
+- return (FALSE);
+-}
+-
+-bool_t
+-xdr_int64_t(XDR *xdrs, int64_t *nump)
+-{
+- return (xdr_u_int64_t(xdrs, (u_int64_t *)nump));
+-}
+-
+ static void
+ fh_map_init(void)
+ {
+--- a/nfs_prot.x
++++ b/nfs_prot.x
+@@ -190,7 +190,7 @@
+ /*
+ * Basic data types
+ */
+-typedef u_int64_t uint64;
++typedef uint64_t uint64;
+ typedef int64_t int64;
+ typedef unsigned int uint32;
+ typedef int int32;
+--- a/sshcrypto.c
++++ b/sshcrypto.c
+@@ -20,6 +20,7 @@
+ #include <err.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ #include "sshcrypto.h"
+
diff --git a/network/dsniff/patches/37_fix-lib-and-share-dirs.patch b/network/dsniff/patches/37_fix-lib-and-share-dirs.patch
new file mode 100644
index 0000000000..f384b7ced0
--- /dev/null
+++ b/network/dsniff/patches/37_fix-lib-and-share-dirs.patch
@@ -0,0 +1,14 @@
+Description: Fix directory location for data files. They were wrongly set to lib dirs.
+Author: Hank Leininger <hlein@korelogic.com>
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,7 +11,7 @@
+ install_prefix =
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-libdir = @libdir@
++libdir = $(prefix)/share/dsniff
+ sbindir = @sbindir@
+ mandir = @mandir@
+
diff --git a/network/dsniff/patches/38_fix-pcap_init.patch b/network/dsniff/patches/38_fix-pcap_init.patch
new file mode 100644
index 0000000000..5a91c2b40a
--- /dev/null
+++ b/network/dsniff/patches/38_fix-pcap_init.patch
@@ -0,0 +1,63 @@
+Description: Resolve naming collision due to libpcap API changes
+ dsniff was written with a function named pcap_init() that predates
+ the one in libpcap and is entirely different. This patch renames it
+ out of the way.
+Author: Dennis Filder <d.filder@web.de>
+Bug-Debian: https://bugs.debian.org/980588
+Last-Update: 2021-02-10
+---
+--- a/tcpnice.c
++++ b/tcpnice.c
+@@ -204,7 +204,7 @@
+
+ filter = copy_argv(argv);
+
+- if ((pd = pcap_init(intf, filter, 128)) == NULL)
++ if ((pd = pcap_init_dsniff(intf, filter, 128)) == NULL)
+ errx(1, "couldn't initialize sniffing");
+
+ if ((pcap_off = pcap_dloff(pd)) < 0)
+--- a/dnsspoof.c
++++ b/dnsspoof.c
+@@ -309,7 +309,7 @@
+ else snprintf(buf, sizeof(buf), "udp dst port 53 and not src %s",
+ libnet_addr2name4(lnet_ip, LIBNET_DONT_RESOLVE));
+
+- if ((pcap_pd = pcap_init(dev, buf, 128)) == NULL)
++ if ((pcap_pd = pcap_init_dsniff(dev, buf, 128)) == NULL)
+ errx(1, "couldn't initialize sniffing");
+
+ if ((pcap_off = pcap_dloff(pcap_pd)) < 0)
+--- a/pcaputil.h
++++ b/pcaputil.h
+@@ -11,7 +11,7 @@
+ #ifndef PCAPUTIL_H
+ #define PCAPUTIL_H
+
+-pcap_t *pcap_init(char *intf, char *filter, int snaplen);
++pcap_t *pcap_init_dsniff(char *intf, char *filter, int snaplen);
+
+ int pcap_dloff(pcap_t *pd);
+
+--- a/tcpkill.c
++++ b/tcpkill.c
+@@ -130,7 +130,7 @@
+
+ filter = copy_argv(argv);
+
+- if ((pd = pcap_init(intf, filter, 64)) == NULL)
++ if ((pd = pcap_init_dsniff(intf, filter, 64)) == NULL)
+ errx(1, "couldn't initialize sniffing");
+
+ if ((pcap_off = pcap_dloff(pd)) < 0)
+--- a/pcaputil.c
++++ b/pcaputil.c
+@@ -63,7 +63,7 @@
+ }
+
+ pcap_t *
+-pcap_init(char *intf, char *filter, int snaplen)
++pcap_init_dsniff(char *intf, char *filter, int snaplen)
+ {
+ pcap_t *pd;
+ u_int net, mask;
diff --git a/network/dsniff/patches/39_libtirpc.patch b/network/dsniff/patches/39_libtirpc.patch
new file mode 100644
index 0000000000..9f46666826
--- /dev/null
+++ b/network/dsniff/patches/39_libtirpc.patch
@@ -0,0 +1,51 @@
+Author: Robert Scheck <robert@fedoraproject.org>
+Description: allows building against libtirpc (as a separate library) given the Sun RPC
+support in glibc has been deprecated for a long time.
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -16,7 +16,7 @@
+ mandir = @mandir@
+
+ CC = @CC@
+-CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(libdir)/\"
++CFLAGS = @CFLAGS@ -DDSNIFF_LIBDIR=\"$(libdir)/\" -I/usr/include/tirpc
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+
+@@ -107,7 +107,7 @@
+ $(RANLIB) $@
+
+ dsniff: $(HDRS) $(SRCS) $(OBJS) libmissing.a
+- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB)
++ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(DBLIB) $(SSLLIB) -ltirpc
+
+ arpspoof: arpspoof.o arp.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ arpspoof.o arp.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+@@ -116,7 +116,7 @@
+ $(CC) $(LDFLAGS) -o $@ dnsspoof.o pcaputil.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+
+ filesnarf: nfs_prot.o filesnarf.o pcaputil.o rpc.o libmissing.a
+- $(CC) $(LDFLAGS) -o $@ filesnarf.o nfs_prot.o pcaputil.o rpc.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
++ $(CC) $(LDFLAGS) -o $@ filesnarf.o nfs_prot.o pcaputil.o rpc.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) -ltirpc
+
+ macof: macof.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ macof.o $(LIBS) $(PCAPLIB) $(LNETLIB)
+@@ -128,7 +128,7 @@
+ $(CC) $(LDFLAGS) -o $@ msgsnarf.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+ sshmitm: sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o libmissing.a
+- $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
++ $(CC) $(LDFLAGS) -o $@ sshmitm.o buf.o hex.o record.o ssh.o sshcrypto.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB) -ltirpc
+
+ sshow: sshow.o pcaputil.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ sshow.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+@@ -146,7 +146,7 @@
+ $(CC) $(LDFLAGS) -o $@ urlsnarf.o base64.o buf.o pcaputil.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB)
+
+ webmitm: webmitm.o base64.o buf.o decode_http.o record.o libmissing.a
+- $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB)
++ $(CC) $(LDFLAGS) -o $@ webmitm.o base64.o buf.o decode_http.o record.o $(LIBS) $(LNETLIB) $(DBLIB) $(SSLLIB) -ltirpc
+
+ webspy: webspy.o base64.o buf.o remote.o libmissing.a
+ $(CC) $(LDFLAGS) -o $@ webspy.o base64.o buf.o remote.o $(LIBS) $(NIDSLIB) $(PCAPLIB) $(LNETLIB) $(X11LIB)
diff --git a/network/dublin-traceroute/dublin-traceroute.SlackBuild b/network/dublin-traceroute/dublin-traceroute.SlackBuild
index 570be0491e..b204aef358 100644
--- a/network/dublin-traceroute/dublin-traceroute.SlackBuild
+++ b/network/dublin-traceroute/dublin-traceroute.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DUBLIN-TRACEROUTE
@@ -23,11 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 07/Apr/2018 * First version
+# 20230530 bkw: modified by SlackBuilds.org: do not write to $CWD.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dublin-traceroute
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,9 +75,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
mkdir -p build
cd build
@@ -81,16 +89,9 @@ cd build
-DSETCAP_EXECUTABLE=FALSE \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-if [ "${SETCAP:-yes}" = "yes" ]; then
- sed -i -e 's/^## //' $CWD/doinst.sh
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp COPYING README.md contributors.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -99,5 +100,10 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+# 20230530 bkw: modify the installed file, not the one in $CWD
+if [ "${SETCAP:-yes}" = "yes" ]; then
+ sed -i -e 's/^## //' $PKG/install/doinst.sh
+fi
+
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dukto/dukto.SlackBuild b/network/dukto/dukto.SlackBuild
index 73d57be48a..6019f6d5d6 100644
--- a/network/dukto/dukto.SlackBuild
+++ b/network/dukto/dukto.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Dukto
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dukto
VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/dukto/dukto.info b/network/dukto/dukto.info
index 34100745eb..08e62295db 100644
--- a/network/dukto/dukto.info
+++ b/network/dukto/dukto.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/dukto/dukto_6.0-1_i386.deb"
MD5SUM="2f71d86c9e90da470229107a0c5d6e67"
DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/dukto/dukto_6.0-1_amd64.deb"
MD5SUM_x86_64="f66aab0eb41887e0083f4645e2a85642"
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Andre Fernando"
EMAIL="ando344@gmail.com"
diff --git a/network/dwb/README b/network/dwb/README
deleted file mode 100644
index 06e43caeaa..0000000000
--- a/network/dwb/README
+++ /dev/null
@@ -1,3 +0,0 @@
-dwb is a lightweight web browser based on the webkit web browser
-engine and the gtk toolkit. dwb is highly customisable and can be
-easily configured through a web interface.
diff --git a/network/dwb/doinst.sh b/network/dwb/doinst.sh
deleted file mode 100644
index 392c12adb9..0000000000
--- a/network/dwb/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
-
diff --git a/network/dwb/dwb.SlackBuild b/network/dwb/dwb.SlackBuild
deleted file mode 100644
index 35b930c488..0000000000
--- a/network/dwb/dwb.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dwb
-# Originally by Marcin Herda <mherda@slackword.net>
-
-# Formerly maintained by:
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# Now maintained by B. Watson (yalhcru@gmail.com)
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <https://www.gnu.org/licenses/>.
-
-# 20170309 bkw:
-# - take over maintenance
-# - update for v20161213_4f6c404 (latest commit)
-# - i486 => i586
-# - minor tweaks
-# - TODO: look into ad-blocking (patch whatever's needed)
-
-PRGNAM=dwb
-VERSION=${VERSION:-20161213_4f6c404}
-SRCVER=${SRCVER:-4f6c404f2761}
-SRCNAM=${SRCNAM:-portix-dwb}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCVER.tar.bz2 || tar xvf $CWD/$SRCNAM-$SRCVER.tar.bz2
-cd $SRCNAM-$SRCVER
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# fix the location of man pages
-sed -i '/^MANDIR/s/DATAROOTDIR/PREFIX/' config.mk
-
-CFLAGS="$SLKCFLAGS" \
-make
-make install DESTDIR=$PKG
-strip $PKG/usr/bin/*
-gzip $PKG/usr/man/man?/*.?
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dwb/dwb.info b/network/dwb/dwb.info
deleted file mode 100644
index f2ca1c84e3..0000000000
--- a/network/dwb/dwb.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dwb"
-VERSION="20161213_4f6c404"
-HOMEPAGE="https://portix.bitbucket.io/dwb/"
-DOWNLOAD="https://bitbucket.org/portix/dwb/get/4f6c404f2761.tar.bz2"
-MD5SUM="08df9c127009284bc201e2301e41f3e1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="webkitgtk"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/network/dwb/slack-desc b/network/dwb/slack-desc
deleted file mode 100644
index 7fb4569ff9..0000000000
--- a/network/dwb/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dwb: dwb (dwb web browser)
-dwb:
-dwb: dwb is a lightweight web browser based on the webkit web browser
-dwb: engine and the gtk toolkit. dwb is highly customisable and can be
-dwb: easily configured through a web interface.
-dwb:
-dwb: Homepage: http://portix.bitbucket.org/dwb/
-dwb:
-dwb:
-dwb:
-dwb:
diff --git a/network/e2guardian/e2guardian.SlackBuild b/network/e2guardian/e2guardian.SlackBuild
index ac8b04ce29..09034b7145 100644
--- a/network/e2guardian/e2guardian.SlackBuild
+++ b/network/e2guardian/e2guardian.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for e2guardian
# http://e2guardian.org
@@ -25,10 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=e2guardian
VERSION=${VERSION:-4.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -137,4 +147,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/easyrsa/README b/network/easyrsa/README
index 46b44b5543..07ac1cb371 100644
--- a/network/easyrsa/README
+++ b/network/easyrsa/README
@@ -1,8 +1,10 @@
-EasyRSA is a CLI utility to build and manage a PKI CA. Initially part of the
-OpenVPN project (www.openvpn.net), now maintained by the community.
+EasyRSA is a CLI utility to build and manage a PKI CA. Initially
+part of the OpenVPN project (www.openvpn.net), now maintained by the
+community.
-The EasyRSA package and scripts are installed under /usr/share/easyrsa. They
-can be copied anywhere else convenient when they are to be used.
+The EasyRSA package and scripts are installed under
+/usr/share/easyrsa. They can be copied anywhere else convenient when
+they are to be used.
Further instructions for version 3 usage at:
https://community.openvpn.net/openvpn/wiki/EasyRSA3-OpenVPN-Howto
diff --git a/network/easyrsa/easyrsa.SlackBuild b/network/easyrsa/easyrsa.SlackBuild
index 88449facc1..97c6028f34 100644
--- a/network/easyrsa/easyrsa.SlackBuild
+++ b/network/easyrsa/easyrsa.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for EasyRSA
# Copyright 2016 Sebastian Arcus, United Kingdom
# All rights reserved.
@@ -20,15 +20,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=easyrsa
SRCNAM=EasyRSA
-VERSION=${VERSION:-3.0.7}
+VERSION=${VERSION:-3.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,4 +71,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/easyrsa/easyrsa.info b/network/easyrsa/easyrsa.info
index ca4545365a..1d45e65351 100644
--- a/network/easyrsa/easyrsa.info
+++ b/network/easyrsa/easyrsa.info
@@ -1,8 +1,8 @@
PRGNAM="easyrsa"
-VERSION="3.0.7"
+VERSION="3.1.7"
HOMEPAGE="https://github.com/OpenVPN/easy-rsa"
-DOWNLOAD="https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.7/EasyRSA-3.0.7.tgz"
-MD5SUM="e9ae0a705831354193ed23b2c6da9944"
+DOWNLOAD="https://github.com/OpenVPN/easy-rsa/releases/download/v3.1.7/EasyRSA-3.1.7.tgz"
+MD5SUM="d5c434808ad8df32d992bfdd5e011379"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/efax-gtk/README b/network/efax-gtk/README
index 5425e12a1c..b077155754 100644
--- a/network/efax-gtk/README
+++ b/network/efax-gtk/README
@@ -1,10 +1,11 @@
-It is a GTK+ front end for the efax program who can be used to send and
-receive faxes with a fax modem, and to view, print and manage faxes received.
-It also has a socket interface to provide a "virtual printer" for sending
-faxes from word processors and similar programs, and can automatically
-e-mail a received fax to a designated user, and automatically print a
-received fax. It is specially nice for a single user's use, as probably he/she
-doesn't usually need a fax server (i.e. hylafax).
+It is a GTK+ front end for the efax program who can be used to send
+and receive faxes with a fax modem, and to view, print and manage
+faxes received. It also has a socket interface to provide a "virtual
+printer" for sending faxes from word processors and similar programs,
+and can automatically e-mail a received fax to a designated user, and
+automatically print a received fax. It is specially nice for a single
+user's use, as probably he/she doesn't usually need a fax server
+(i.e. hylafax).
-See README.SLACKWARE file in efax-gtk's docs directory for configuration
-notes.
+See README.SLACKWARE file in efax-gtk's docs directory for
+configuration notes.
diff --git a/network/efax-gtk/efax-gtk.SlackBuild b/network/efax-gtk/efax-gtk.SlackBuild
index 22557857e6..3460336c75 100644
--- a/network/efax-gtk/efax-gtk.SlackBuild
+++ b/network/efax-gtk/efax-gtk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for efax-gtk
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=efax-gtk
VERSION=${VERSION:-3.2.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,8 +57,8 @@ DOCFILES="ABOUT-NLS AUTHORS BUGS ChangeLog COPYING INSTALL README"
EFAX_DOCS="efax/COPYING efax/PATCHES efax/README efax/fax"
OTHER_CMDS="mail_fax print_fax"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,7 +86,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -135,4 +145,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/efax/README b/network/efax/README
index ee8fe6c3ef..7505b7d156 100644
--- a/network/efax/README
+++ b/network/efax/README
@@ -1,24 +1,28 @@
efax is a small ANSI C/POSIX program that sends and receives faxes
-using any fax modem (Class 1, 2 or 2.0).*
+using any fax modem (Class 1, 2 or 2.0). [*]
efax is smaller and easier to install than HylaFAX or mgetty+sendfax.
-As one user put it "EFAX is a nice simple program for single user systems."
+As one user put it "EFAX is a nice simple program for single user
+systems."
-The "fax" command, a shell script, lets you send, receive, view and print faxes.
-In larger systems, faxes can be sent by printing to a "fax" printer and received
-faxes can be e-mailed as MIME attachments to an administrator for distribution.
-efax can also pass incoming data calls to a getty program.
+The "fax" command, a shell script, lets you send, receive, view and
+print faxes. In larger systems, faxes can be sent by printing to a
+"fax" printer and received faxes can be e-mailed as MIME attachments
+to an administrator for distribution. efax can also pass incoming
+data calls to a getty program.
-The efax package includes "efix," a program to convert between various image file formats.
-To fax Postscript files you will need Ghostscript.
-To view faxes you can use any program tha displays PGM files.
-efix can also convert received files to Postscript or HP Laserjet formats for printing.
+The efax package includes "efix," a program to convert between
+various image file formats. To fax Postscript files you will need
+Ghostscript. To view faxes you can use any program tha displays
+PGM files. efix can also convert received files to Postscript or HP
+Laserjet formats for printing.
This program has only a command-line interface.
If you need a GUI-based fax solution, install efax-gtk instead.
-*Any hardware-based fax modem, that is. If you have a "software modem," a so-called "Linmodem,"
-then you'll instead need to download the alpha version of efax and modify this SlackBuild script
+[*] Any hardware-based fax modem, that is. If you have a "software
+modem," a so-called "Linmodem," then you'll instead need to
+download the alpha version of efax and modify this SlackBuild script
accordingly.
The alpha release can be found here:
diff --git a/network/efax/efax.SlackBuild b/network/efax/efax.SlackBuild
index 3b7fe8a8f2..08d3614ee4 100644
--- a/network/efax/efax.SlackBuild
+++ b/network/efax/efax.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for efax.
#
@@ -22,15 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=efax
SRCNAM=efax-0.9
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
-# i?86) ARCH=i486 ;;
+# i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -46,15 +49,19 @@ case "$ARCH" in
read -t 10 PLACEHOLDER ;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -85,7 +92,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "11s/CFLAGS=/CFLAGS=$SLKCFLAGS/" Makefile
+sed -i "11s/CFLAGS=/CFLAGS=$SLKCFLAGS -fcommon/" Makefile
sed -i "20i\
BINDIR=$PKG\/usr\/bin" Makefile
sed -i "21i\
@@ -95,7 +102,6 @@ mkdir -p $PKG/usr/bin $PKG/usr/man/man1
make all
make install
-# Compress man pages
gzip -9 $PKG/usr/man/*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -107,4 +113,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/efax/efax.info b/network/efax/efax.info
index 2d0c9717bc..253928f9c7 100644
--- a/network/efax/efax.info
+++ b/network/efax/efax.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jay"
-EMAIL="ld.jay@protonmail.com" \ No newline at end of file
+EMAIL="ld.jay@protonmail.com"
diff --git a/network/eiskaltdcpp/README b/network/eiskaltdcpp/README
index 3f670e8d3b..5725f46742 100644
--- a/network/eiskaltdcpp/README
+++ b/network/eiskaltdcpp/README
@@ -1,6 +1,7 @@
-EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC
-protocols. It is compatible with other DC clients, such as the original DC from
-Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common
-DC hub software.
+EiskaltDC++ is a cross-platform program that uses the Direct Connect
+and ADC protocols. It is compatible with other DC clients, such as
+the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also
+interoperates with all common DC hub software.
-The eiskaltdcpp is distributed under version 3 of GNU Public License (GPL).
+The eiskaltdcpp is distributed under version 3 of GNU Public License
+(GPL).
diff --git a/network/eiskaltdcpp/doinst.sh b/network/eiskaltdcpp/doinst.sh
index 6b75f2eda0..0e9b18910a 100644
--- a/network/eiskaltdcpp/doinst.sh
+++ b/network/eiskaltdcpp/doinst.sh
@@ -2,7 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database &> /dev/null
fi
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f -q /usr/share/icons/hicolor &> /dev/null
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi
-
diff --git a/network/eiskaltdcpp/eiskaltdcpp.SlackBuild b/network/eiskaltdcpp/eiskaltdcpp.SlackBuild
index d1d649564f..50097796a5 100644
--- a/network/eiskaltdcpp/eiskaltdcpp.SlackBuild
+++ b/network/eiskaltdcpp/eiskaltdcpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eiskaltdcpp
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eiskaltdcpp
-VERSION=${VERSION:-2.2.10}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/eiskaltdcpp/eiskaltdcpp.info b/network/eiskaltdcpp/eiskaltdcpp.info
index c84afa3f27..6400b4d2c8 100644
--- a/network/eiskaltdcpp/eiskaltdcpp.info
+++ b/network/eiskaltdcpp/eiskaltdcpp.info
@@ -1,10 +1,10 @@
PRGNAM="eiskaltdcpp"
-VERSION="2.2.10"
+VERSION="2.4.2"
HOMEPAGE="https://github.com/eiskaltdcpp/eiskaltdcpp"
-DOWNLOAD="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/v2.2.10/eiskaltdcpp-2.2.10.tar.gz"
-MD5SUM="1a67875b59c05f2253b5938a0fcf2951"
+DOWNLOAD="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/v2.4.2/eiskaltdcpp-2.4.2.tar.gz"
+MD5SUM="58e07f79de61e3cc02a4be3f96f02884"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua"
+REQUIRES="lua miniupnpc"
MAINTAINER="Nikolay Korotkiy"
EMAIL="sikmir@gmail.com"
diff --git a/network/ejabberd-bin/README b/network/ejabberd-bin/README
new file mode 100644
index 0000000000..4783e1c3b8
--- /dev/null
+++ b/network/ejabberd-bin/README
@@ -0,0 +1,13 @@
+ejabberd is an open-source, robust, scalable and extensible realtime
+platform built using Erlang/OTP, that includes XMPP server, MQTT broker
+and SIP service.
+
+This script repackage the official deb package that provides a full
+featured ejabberd server and does not require any extra dependencies.
+It contains a stripped down version of Erlang, which does not conflict
+with the SBo erlang.
+
+A user and group "ejabberd" must exist prior to running this script.
+To create them run as root:
+ groupadd -g 370 ejabberd
+ useradd -u 370 -g 370 -s /sbin/nologin -d /var/lib/ejabberd ejabberd
diff --git a/network/ejabberd-bin/README.SBo b/network/ejabberd-bin/README.SBo
new file mode 100644
index 0000000000..747f79d7fa
--- /dev/null
+++ b/network/ejabberd-bin/README.SBo
@@ -0,0 +1,16 @@
+In order to start ejabberd at boot and stop it properly at shutdown,
+make sure rc.local and rc.local_shutdown contain the following lines:
+
+ /etc/rc.d/rc.local
+ ==================
+ # Start ejabberd
+ if [ -x /etc/rc.d/rc.ejabberd ]; then
+ /etc/rc.d/rc.ejabberd start
+ fi
+
+ /etc/rc.d/rc.local_shutdown
+ ===========================
+ # Stop ejabberd
+ if [ -x /etc/rc.d/rc.ejabberd ]; then
+ /etc/rc.d/rc.ejabberd stop
+ fi
diff --git a/network/ejabberd-bin/doinst.sh b/network/ejabberd-bin/doinst.sh
new file mode 100644
index 0000000000..016d743a77
--- /dev/null
+++ b/network/ejabberd-bin/doinst.sh
@@ -0,0 +1,25 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.ejabberd.new
+config etc/ejabberd/ejabberd.yml.new
+config etc/ejabberd/ejabberdctl.cfg.new
+config etc/ejabberd/inetrc.new
diff --git a/network/ejabberd-bin/ejabberd-bin.SlackBuild b/network/ejabberd-bin/ejabberd-bin.SlackBuild
new file mode 100644
index 0000000000..bc34eef76a
--- /dev/null
+++ b/network/ejabberd-bin/ejabberd-bin.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for ejabberd-bin
+
+# Copyright 2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ejabberd-bin
+VERSION=${VERSION:-24.02}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ "$ARCH" != "x86_64" -a "$ARCH" != "aarch64" ]; then
+ echo "Only x86_64 and aarch64 are supported."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+if ! grep ^ejabberd: /etc/group 2>&1 > /dev/null; then
+ echo " A group "ejabberd" must exist prior to running this script."
+ echo " # groupadd -g 370 ejabberd"
+ exit 1
+elif ! grep ^ejabberd: /etc/passwd 2>&1 > /dev/null; then
+ echo " A user "ejabberd" must exist prior to running this script."
+ echo " # useradd -u 370 -g 370 -s /sbin/nologin -d /var/lib/ejabberd ejabberd"
+ exit 1
+elif ! grep ^ejabberd:.*:/var/lib/ejabberd: /etc/passwd 2>&1 > /dev/null; then
+ echo " Please change the user "ejabberd" home directory to /var/lib/ejabberd."
+ echo " # usermod -d /var/lib/ejabberd ejabberd"
+ exit 1
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/${PRGNAM%-bin}_${VERSION}-*.deb data.tar.gz | tar xvz
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+rm -r usr/share lib etc
+mkdir -p etc var/{lib,log}/ejabberd
+chown -R ejabberd:ejabberd var/{lib,log}/ejabberd
+chmod 700 var/{lib,log}/ejabberd
+rm -f opt/ejabberd/conf/*.pem
+mv opt/ejabberd/conf etc/ejabberd
+rmdir opt/ejabberd/{database,logs,}
+chown root:ejabberd etc/ejabberd/* opt/ejabberd-*/lib/epam-*/priv/bin/epam
+chmod 640 etc/ejabberd/*
+chmod 4750 opt/ejabberd-*/lib/epam-*/priv/bin/epam
+
+sed -i -e '/^ca_file:/,/^[^ ]/{//!d}' -e '/^certfiles:/,/^[^ ]/{//!d}' \
+ -e '/\(^ca_file:\|^certfiles:\)/d' etc/ejabberd/ejabberd.yml
+
+find -L etc/ejabberd -type f -print0 | xargs -0 -I {} mv {} {}.new
+
+sed -i -e 's|/opt/ejabberd/conf|/etc/ejabberd|' \
+ -e 's|/opt/ejabberd/logs|/var/log/ejabberd|' \
+ -e 's|/opt/ejabberd/database/\$ERLANG_NODE|/var/lib/ejabberd|' \
+ opt/ejabberd-$VERSION/bin/ejabberdctl
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p etc/rc.d
+cat $CWD/rc.ejabberd > etc/rc.d/rc.ejabberd.new
+
+mkdir -p usr/share/bash-completion/completions
+cat $CWD/ejabberdctl.bc > usr/share/bash-completion/completions/ejabberdctl
+
+mkdir -p usr/man/man5
+cat $CWD/ejabberd.yml.5 | gzip -9c > usr/man/man5/ejabberd.yml.5.gz
+
+mkdir -p usr/doc/$PRGNAM-$VERSION
+cat $CWD/CHANGELOG.md > usr/doc/$PRGNAM-$VERSION/CHANGELOG.md
+cat $CWD/$PRGNAM.SlackBuild > usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p install
+cat $CWD/slack-desc > install/slack-desc
+cat $CWD/doinst.sh > install/doinst.sh
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ejabberd-bin/ejabberd-bin.info b/network/ejabberd-bin/ejabberd-bin.info
new file mode 100644
index 0000000000..0c8fd4dd64
--- /dev/null
+++ b/network/ejabberd-bin/ejabberd-bin.info
@@ -0,0 +1,16 @@
+PRGNAM="ejabberd-bin"
+VERSION="24.02"
+HOMEPAGE="https://www.ejabberd.im"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/processone/ejabberd/releases/download/24.02/ejabberd_24.02-1_amd64.deb \
+ https://raw.githubusercontent.com/processone/ejabberd/24.02/tools/ejabberdctl.bc \
+ https://raw.githubusercontent.com/processone/ejabberd/24.02/man/ejabberd.yml.5 \
+ https://raw.githubusercontent.com/processone/ejabberd/24.02/CHANGELOG.md"
+MD5SUM_x86_64="4298b09b2448520321a3dae9bca9ab56 \
+ 699c3c0df85c53ebed6649a2a61131a9 \
+ 47c603b65521b0899bf41be2bfcc2c4a \
+ 183364229c2b80a66e2a9916ec58beff"
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/ejabberd-bin/rc.ejabberd b/network/ejabberd-bin/rc.ejabberd
new file mode 100644
index 0000000000..f08f3a56a2
--- /dev/null
+++ b/network/ejabberd-bin/rc.ejabberd
@@ -0,0 +1,45 @@
+#!/bin/bash
+# Start/stop/restart the ejabberd xmpp server
+
+bin=/usr/sbin/ejabberdctl
+
+start_ejabberd() {
+ echo "Starting ejabberd... "
+ $bin start
+ $bin started
+}
+
+stop_ejabberd() {
+ echo "Stopping ejabberd... "
+ $bin stop
+ $bin stopped
+}
+
+restart_ejabberd() {
+ stop_ejabberd
+ sleep 1
+ start_ejabberd
+}
+
+status_ejabberd() {
+ $bin status
+}
+
+reload-config_ejabberd() {
+ $bin reload_config
+}
+
+case "$1" in
+ start)
+ start_ejabberd ;;
+ stop)
+ stop_ejabberd ;;
+ restart|force-reload)
+ restart_ejabberd ;;
+ status)
+ status_ejabberd ;;
+ reload-config)
+ reload-config_ejabberd ;;
+ *)
+ echo "usage $0 start|stop|restart|force-reload|status|reload-config" ;;
+esac
diff --git a/network/ejabberd-bin/slack-desc b/network/ejabberd-bin/slack-desc
new file mode 100644
index 0000000000..7423ea65a6
--- /dev/null
+++ b/network/ejabberd-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ejabberd-bin: ejabberd-bin (xmpp server)
+ejabberd-bin:
+ejabberd-bin: ejabberd is an open-source, robust, scalable and extensible realtime
+ejabberd-bin: platform built using Erlang/OTP, that includes XMPP server, MQTT
+ejabberd-bin: broker and SIP service.
+ejabberd-bin:
+ejabberd-bin: This script repackage the official deb package.
+ejabberd-bin:
+ejabberd-bin:
+ejabberd-bin: Homepage: https://www.ejabberd.im
+ejabberd-bin:
diff --git a/network/ejabberd/README b/network/ejabberd/README
new file mode 100644
index 0000000000..dc46278e0a
--- /dev/null
+++ b/network/ejabberd/README
@@ -0,0 +1,23 @@
+ejabberd is an open-source, robust, scalable and extensible realtime
+platform built using Erlang/OTP, that includes XMPP server, MQTT broker
+and SIP service.
+
+A user and group "ejabberd" must exist prior to running this script.
+To create them run as root:
+ groupadd -g 370 ejabberd
+ useradd -u 370 -g 370 -s /sbin/nologin -d /var/lib/ejabberd ejabberd
+
+You can enable the following optional features by passing variables to
+the script (VAR=yes ejabberd.SlackBuild):
+
+ODBC=yes|no (default: no), enable ODBC support
+MYSQL=yes|no (default: no), enable MySQL support
+PGSQL=yes|no (default: no), enable PostgreSQL support
+SQLITE=yes|no (default: no), enable SQLite support
+PAM=yes|no (default: no), enable PAM authentication
+REDIS=yes|no (default: no), enable Redis support
+SIP=yes|no (default: no), enable SIP support
+LUA=yes|no (default: no), enable Lua support (to import from Prosody)
+TOOLS=yes|no (default: no), build development tools
+
+rebar3 is needed only at build time.
diff --git a/network/ejabberd/README.SBo b/network/ejabberd/README.SBo
new file mode 100644
index 0000000000..747f79d7fa
--- /dev/null
+++ b/network/ejabberd/README.SBo
@@ -0,0 +1,16 @@
+In order to start ejabberd at boot and stop it properly at shutdown,
+make sure rc.local and rc.local_shutdown contain the following lines:
+
+ /etc/rc.d/rc.local
+ ==================
+ # Start ejabberd
+ if [ -x /etc/rc.d/rc.ejabberd ]; then
+ /etc/rc.d/rc.ejabberd start
+ fi
+
+ /etc/rc.d/rc.local_shutdown
+ ===========================
+ # Stop ejabberd
+ if [ -x /etc/rc.d/rc.ejabberd ]; then
+ /etc/rc.d/rc.ejabberd stop
+ fi
diff --git a/network/ejabberd/doinst.sh b/network/ejabberd/doinst.sh
new file mode 100644
index 0000000000..016d743a77
--- /dev/null
+++ b/network/ejabberd/doinst.sh
@@ -0,0 +1,25 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.ejabberd.new
+config etc/ejabberd/ejabberd.yml.new
+config etc/ejabberd/ejabberdctl.cfg.new
+config etc/ejabberd/inetrc.new
diff --git a/network/ejabberd/ejabberd.SlackBuild b/network/ejabberd/ejabberd.SlackBuild
new file mode 100644
index 0000000000..e0e6fd450c
--- /dev/null
+++ b/network/ejabberd/ejabberd.SlackBuild
@@ -0,0 +1,172 @@
+#!/bin/bash
+
+# Slackware build script for ejabberd
+
+# Copyright 2022-2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ejabberd
+VERSION=${VERSION:-24.02}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+if ! grep ^ejabberd: /etc/group 2>&1 > /dev/null; then
+ echo " A group "ejabberd" must exist prior to running this script."
+ echo " # groupadd -g 370 ejabberd"
+ exit 1
+elif ! grep ^ejabberd: /etc/passwd 2>&1 > /dev/null; then
+ echo " A user "ejabberd" must exist prior to running this script."
+ echo " # useradd -u 370 -g 370 -s /sbin/nologin -d /var/lib/ejabberd ejabberd"
+ exit 1
+elif ! grep ^ejabberd:.*:/var/lib/ejabberd: /etc/passwd 2>&1 > /dev/null; then
+ echo " Please change the user "ejabberd" home directory to /var/lib/ejabberd."
+ echo " # usermod -d /var/lib/ejabberd ejabberd"
+ exit 1
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+rm -f rebar rebar3
+
+find -L $CWD -maxdepth 1 -type f \
+ -name "*.tar.gz" ! -name "$PRGNAM-$VERSION.tar.gz" | while read f
+do
+ fn=$(basename $f | rev | cut -d- -f2 | rev)
+ mkdir -p deps/$fn
+ tar xvf $f -C deps/$fn --strip-components=1
+done
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+odbc=""; [ "${ODBC:-no}" != "no" ] && odbc="--enable-odbc"
+mysql=""; [ "${MYSQL:-no}" != "no" ] && mysql="--enable-mysql"
+pgsql=""; [ "${PGSQL:-no}" != "no" ] && pgsql="--enable-pgsql"
+sqlite=""; [ "${SQLITE:-no}" != "no" ] && sqlite="--enable-sqlite"
+pam=""; [ "${PAM:-no}" != "no" ] && pam="--enable-pam"
+redis=""; [ "${REDIS:-no}" != "no" ] && redis="--enable-redis"
+sip=""; [ "${SIP:-no}" != "no" ] && sip="--enable-sip"
+lua=""; [ "${LUA:-no}" != "no" ] && lua="--enable-lua"
+tools=""; [ "${TOOLS:-no}" != "no" ] && tools="--enable-tools"
+
+./autogen.sh
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-user=ejabberd \
+ --build=$ARCH-slackware-linux \
+ --with-rebar=rebar \
+ $odbc \
+ $mysql \
+ $pgsql \
+ $sqlite \
+ $pam \
+ $redis \
+ $sip \
+ $lua \
+ $tools
+
+unshare -n make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find -L $PKG/usr/lib${LIBDIRSUFFIX} -type f -name "*.so" -exec chmod 755 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+install -D -m644 tools/ejabberdctl.bc \
+ $PKG/usr/share/bash-completion/completions/ejabberdctl
+rm -f tools/ejabberdctl.bc
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS.md README.md sql tools \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+chown -R ejabberd:ejabberd $PKG/var/lib/ejabberd
+chmod 700 $PKG/var/lib/ejabberd
+
+for i in `find $PKG/etc/ejabberd -type f`; do mv $i $i.new; done
+
+mkdir -p $PKG/etc/rc.d
+cat $CWD/rc.ejabberd > $PKG/etc/rc.d/rc.ejabberd.new
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ejabberd/ejabberd.info b/network/ejabberd/ejabberd.info
new file mode 100644
index 0000000000..6b5c808233
--- /dev/null
+++ b/network/ejabberd/ejabberd.info
@@ -0,0 +1,64 @@
+PRGNAM="ejabberd"
+VERSION="24.02"
+HOMEPAGE="https://www.ejabberd.im"
+DOWNLOAD="https://github.com/processone/ejabberd/archive/24.02/ejabberd-24.02.tar.gz \
+ https://github.com/dvv/base64url/archive/1.0.1/base64url-1.0.1.tar.gz \
+ https://github.com/processone/cache_tab/archive/1.0.30/cache_tab-1.0.30.tar.gz \
+ https://github.com/processone/eimp/archive/1.0.22/eimp-1.0.22.tar.gz \
+ https://github.com/processone/epam/archive/1.0.14/epam-1.0.14.tar.gz \
+ https://github.com/wooga/eredis/archive/v1.2.0/eredis-1.2.0.tar.gz \
+ https://github.com/processone/esip/archive/1.0.52/esip-1.0.52.tar.gz \
+ https://github.com/processone/ezlib/archive/1.0.12/ezlib-1.0.12.tar.gz \
+ https://github.com/processone/fast_tls/archive/1.1.19/fast_tls-1.1.19.tar.gz \
+ https://github.com/processone/fast_xml/archive/1.1.51/fast_xml-1.1.51.tar.gz \
+ https://github.com/processone/fast_yaml/archive/1.0.36/fast_yaml-1.0.36.tar.gz \
+ https://github.com/benoitc/erlang-idna/archive/6.0.0/erlang-idna-6.0.0.tar.gz \
+ https://github.com/davisp/jiffy/archive/1.1.1/jiffy-1.1.1.tar.gz \
+ https://github.com/potatosalad/erlang-jose/archive/1.11.5/erlang-jose-1.11.5.tar.gz \
+ https://github.com/rvirding/luerl/archive/1.1.1/luerl-1.1.1.tar.gz \
+ https://github.com/processone/mqtree/archive/1.0.16/mqtree-1.0.16.tar.gz \
+ https://github.com/processone/p1_acme/archive/1.0.22/p1_acme-1.0.22.tar.gz \
+ https://github.com/processone/p1_mysql/archive/1.0.23/p1_mysql-1.0.23.tar.gz \
+ https://github.com/processone/p1_oauth2/archive/0.6.14/p1_oauth2-0.6.14.tar.gz \
+ https://github.com/processone/p1_pgsql/archive/1.1.25/p1_pgsql-1.1.25.tar.gz \
+ https://github.com/processone/p1_utils/archive/1.0.25/p1_utils-1.0.25.tar.gz \
+ https://github.com/processone/pkix/archive/1.0.9/pkix-1.0.9.tar.gz \
+ https://github.com/processone/erlang-sqlite3/archive/1.1.14/erlang-sqlite3-1.1.14.tar.gz \
+ https://github.com/processone/stringprep/archive/1.0.29/stringprep-1.0.29.tar.gz \
+ https://github.com/processone/stun/archive/1.2.12/stun-1.2.12.tar.gz \
+ https://github.com/processone/xmpp/archive/1.8.1/xmpp-1.8.1.tar.gz \
+ https://github.com/processone/yconf/archive/1.0.15/yconf-1.0.15.tar.gz \
+ https://github.com/benoitc/unicode_util_compat/archive/0.4.1/unicode_util_compat-0.4.1.tar.gz"
+MD5SUM="1b8b91a2b0af65685c185766dc8cf667 \
+ 4d515ed34e4e8966bb7400ce51de83b2 \
+ b8fd0788b9108c1dcea49fb3ba86eb77 \
+ 505deb9dfe6324a6bc8e130908df105d \
+ 88be9e7fec2aaa5ca8230c19db661263 \
+ 239232590c82b1b7d78247079a1f17aa \
+ 3bda6c2e154462c640e9fa99fe704cd8 \
+ 5fd5273a71ad80b3397212dc4a9dccd3 \
+ 62a46c10c57ecdc8a60783ea62edc1d0 \
+ 2a7b886287b1034f0a3d07b9f15d5d59 \
+ cbb767ad4f8678d91120a34402957661 \
+ 1975930f1ab7d90ca14f914a8f7dacd6 \
+ 5ab471571ac2b39c02a90350cecb04e3 \
+ 2576e3fa9da67054de9bf67972d64bbe \
+ e038b92f2c79bad70f5fb7c821d9f121 \
+ f0f50e4ea6bca2abd455596209930689 \
+ af192ea9a715e40db4a395341e237a0b \
+ a6fff6901ff93b9687cf481934d99775 \
+ a227318ad3f7665a45a2c284d203f259 \
+ 3f45f0e02e532308a51e1927c7c51888 \
+ 90f134a42486419966e4d64d8bdaa105 \
+ db9a2e5cb2db46f0ed48b06efbcfa4c5 \
+ d23c63956f6d3da25f5a75f4a70a94fd \
+ 4d5dff0200768e298b166667272f5f92 \
+ 80d445f62e246c55515fc6b77692c5a0 \
+ 2b64f5b3d22c3a493cacdba805bde06d \
+ 6f50a504c0fa81f9a5a1f63f16ff5272 \
+ 1742d5522f1329229beb3e033a96898d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="erlang-otp rebar"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/ejabberd/rc.ejabberd b/network/ejabberd/rc.ejabberd
new file mode 100644
index 0000000000..b231820a51
--- /dev/null
+++ b/network/ejabberd/rc.ejabberd
@@ -0,0 +1,57 @@
+#!/bin/bash
+# Start/stop/restart the ejabberd xmpp server
+
+bin=/usr/sbin/ejabberdctl
+
+start_ejabberd() {
+ echo "Starting ejabberd... "
+ $bin start
+ $bin started
+}
+
+stop_ejabberd() {
+ echo "Stopping ejabberd... "
+ $bin stop
+ $bin stopped
+}
+
+restart_ejabberd() {
+ stop_ejabberd
+ sleep 1
+ start_ejabberd
+}
+
+status_ejabberd() {
+ $bin status
+}
+
+force-stop_ejabberd() {
+ echo "Killing ejabberd... "
+ port=$(/usr/bin/epmd -names | awk -v name=ejabberd '$2==name {print $5}')
+ if [ -z "$port" ]; then
+ echo "ejabberd not found"
+ else
+ kill $(lsof -i TCP:$port -s TCP:LISTEN | tail -n +2 | awk '{print $2}')
+ fi
+}
+
+reload-config_ejabberd() {
+ $bin reload_config
+}
+
+case "$1" in
+ start)
+ start_ejabberd ;;
+ stop)
+ stop_ejabberd ;;
+ restart|reload)
+ restart_ejabberd ;;
+ status)
+ status_ejabberd ;;
+ force-stop)
+ force-stop_ejabberd ;;
+ reload-config)
+ reload-config_ejabberd ;;
+ *)
+ echo "usage $0 start|stop|restart|status|force-stop|reload-config" ;;
+esac
diff --git a/network/ejabberd/slack-desc b/network/ejabberd/slack-desc
new file mode 100644
index 0000000000..0c1e8d5c14
--- /dev/null
+++ b/network/ejabberd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ejabberd: ejabberd (xmpp server)
+ejabberd:
+ejabberd:
+ejabberd: ejabberd is an open-source, robust, scalable and extensible realtime
+ejabberd: platform built using Erlang/OTP, that includes XMPP server, MQTT
+ejabberd: broker and SIP service.
+ejabberd:
+ejabberd:
+ejabberd: Homepage: https://www.ejabberd.im
+ejabberd:
+ejabberd:
diff --git a/network/ekiga/README b/network/ekiga/README
deleted file mode 100644
index fdaa328d57..0000000000
--- a/network/ekiga/README
+++ /dev/null
@@ -1,14 +0,0 @@
-Ekiga (formely known as GnomeMeeting) is an open source VoIP and
-video conferencing application for GNOME. Ekiga uses both the H.323
-and SIP protocols. It supports many audio and video codecs, and is
-interoperable with other SIP compliant software and also with
-Microsoft NetMeeting.
-
-Help button is broken, which probably needs the Gnome help system.
-
-The following options, all disabled by default, are supported. Just
-set any of them to "yes" to enable the corresponding feature:
-- AVAHI (requires the optional dependency avahi)
-- KDE (experimental KDE support)
-- KAB (experimental KAddressBook support)
-- GS (experimental GStreamer support)
diff --git a/network/ekiga/doinst.sh b/network/ekiga/doinst.sh
deleted file mode 100644
index 06d1b6ebf1..0000000000
--- a/network/ekiga/doinst.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null 2>/dev/null
-}
-
-schema_install ekiga.schemas
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/ekiga/ekiga.SlackBuild b/network/ekiga/ekiga.SlackBuild
deleted file mode 100644
index d22a4ee14d..0000000000
--- a/network/ekiga/ekiga.SlackBuild
+++ /dev/null
@@ -1,152 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Ekiga
-
-# Copyright 2008-2009 Mauro Giachero
-# All rights reserved.
-# Copyright 2011 Davd Woodfall <dave@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ekiga
-VERSION=${VERSION:-4.0.1}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-# Requires avahi
-if [[ ${AVAHI:-no} = "no" ]] ; then
- DO_AVAHI="dis"
-else
- DO_AVAHI="en"
-fi
-
-# Experimental XCAP support
-#if [[ ${XCAP:-no} = "no" ]] ; then
- DO_XCAP="dis"
-#else
-# DO_XCAP="en"
-#fi
-
-# Experimental KDE support
-if [[ ${KDE:-no} = "no" ]] ; then
- DO_KDE="dis"
-else
- DO_KDE="en"
-fi
-
-# Experimental KAddressBook support
-if [[ ${KAB:-no} = "no" ]] ; then
- DO_KAB="dis"
-else
- DO_KAB="en"
-fi
-
-# Experimental GStreamer support
-if [[ ${GS:-no} = "no" ]] ; then
- DO_GS="dis"
-else
- DO_GS="en"
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-
-# Fix for -current (20150722 dbs)
-sed -e 's/gnome-icon-theme/adwaita-icon-theme/g' -i configure.ac
-autoconf
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --disable-static \
- --disable-gdu \
- --disable-eds \
- --disable-schemas-install \
- --${DO_AVAHI}able-avahi \
- --${DO_XCAP}able-xcap \
- --${DO_KDE}able-kde \
- --${DO_KAB}able-kab \
- --${DO_GS}able-gstreamer \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-CE-LN-Z]* MAINTAINERS doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ekiga/ekiga.info b/network/ekiga/ekiga.info
deleted file mode 100644
index fee0dc4a63..0000000000
--- a/network/ekiga/ekiga.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ekiga"
-VERSION="4.0.1"
-HOMEPAGE="https://www.ekiga.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/ekiga/4.0/ekiga-4.0.1.tar.xz"
-MD5SUM="704ba532a8e3e0b5e3e2971dd2db39e4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="opal ptlib"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/network/ekiga/slack-desc b/network/ekiga/slack-desc
deleted file mode 100644
index 00014f972b..0000000000
--- a/network/ekiga/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ekiga: ekiga (an open source VoIP and video conferencing application)
-ekiga:
-ekiga: Ekiga (formely known as GnomeMeeting) is an open source VoIP and
-ekiga: video conferencing application for GNOME. Ekiga uses both the H.323
-ekiga: and SIP protocols. It supports many audio and video codecs, and is
-ekiga: interoperable with other SIP compliant software and also with
-ekiga: Microsoft NetMeeting.
-ekiga:
-ekiga: Homepage: https://www.ekiga.org/
-ekiga:
-ekiga:
diff --git a/network/element-desktop/README b/network/element-desktop/README
new file mode 100644
index 0000000000..5ea2012a55
--- /dev/null
+++ b/network/element-desktop/README
@@ -0,0 +1,12 @@
+Element
+
+Secure and independent communication, connected via Matrix
+
+Choose where your data is kept, or host it yourself, instead of being
+forced to use the app’s own server.
+
+End-to-end encrypted by default
+
+
+Element is only available as a 64bit program. 32bit is unsupported.
+
diff --git a/network/element-desktop/doinst.sh b/network/element-desktop/doinst.sh
new file mode 100644
index 0000000000..7d010b535a
--- /dev/null
+++ b/network/element-desktop/doinst.sh
@@ -0,0 +1,12 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+
diff --git a/network/element-desktop/element-desktop.SlackBuild b/network/element-desktop/element-desktop.SlackBuild
new file mode 100644
index 0000000000..87aa5cf624
--- /dev/null
+++ b/network/element-desktop/element-desktop.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for element-desktop
+#
+# Copyright 2022 marav, Paris, FR
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=element-desktop
+VERSION=${VERSION:-1.11.53}
+SRCVERSION=$( echo $VERSION | tr _ - )
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ DEBARCH="i386"
+ echo "This package is currently only available for 64bit."
+ exit 1
+elif [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+else
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/${PRGNAM}_${SRCVERSION}_amd64.deb data.tar.xz | tar Jxv
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PKG/usr/share/doc/$PRGNAM/* $PKG/opt/Element/LICENSE* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/element-desktop/element-desktop.info b/network/element-desktop/element-desktop.info
new file mode 100644
index 0000000000..ec43aeb9f4
--- /dev/null
+++ b/network/element-desktop/element-desktop.info
@@ -0,0 +1,10 @@
+PRGNAM="element-desktop"
+VERSION="1.11.53"
+HOMEPAGE="https://element.io/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://packages-old.element.io/debian/pool/main/e/element-desktop/element-desktop_1.11.53_amd64.deb"
+MD5SUM_x86_64="63cfc2a190371c9288529197cd1afbc0"
+REQUIRES="sqlcipher"
+MAINTAINER="marav"
+EMAIL="marav8@free.fr"
diff --git a/network/element-desktop/slack-desc b/network/element-desktop/slack-desc
new file mode 100644
index 0000000000..683fc945ad
--- /dev/null
+++ b/network/element-desktop/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+element-desktop: element-desktop (Secure and independent communication via Matrix)
+element-desktop:
+element-desktop: Element lets you choose where your messages are stored, putting
+element-desktop: you in control of your data.
+element-desktop:
+element-desktop: Secure and end-to-end encrypted. Built on Matrix
+element-desktop:
+element-desktop:
+element-desktop: Homepage: https://element.io/
+element-desktop:
+element-desktop:
diff --git a/network/elemental-ircd/README b/network/elemental-ircd/README
deleted file mode 100644
index 2603265d13..0000000000
--- a/network/elemental-ircd/README
+++ /dev/null
@@ -1,36 +0,0 @@
-Elemental-IRCd is a high performance, lightweight, and scalable IRC daemon. It
-is a fork of the now-defunct ShadowIRCD and seeks to continue in the direction
-ShadowIRCD was headed.
-
-An `/etc/rc.d/rc.elemental-ircd` script is supplied which supports
-start/stop/restart/reload, which you can call from your rc.local:
-
- # /etc/rc.d/rc.local
- # ==================
- if [ -x /etc/rc.d/rc.elemental-ircd ]; then
- /etc/rc.d/rc.elemental-ircd start
- fi
-
-The `reload` parameter will make an already running ircd reload its
-configuration file.
-
-The elemental-ircd will refuse to run as root, so you need to create a user
-for it:
- groupadd -g 315 elemental-ircd
- useradd -u 315 -g 315 -d /var/lib/elemental-ircd elemental-ircd
-By default we name the user `elemental-ircd` with UID 315, and put it in the
-`elemental-ircd` group (GID 315). If you want to give it a different name, uid
-or gid, you can give
- IRCD_UNAME=elemental-ircd
- IRCD_UID=315
- IRCD_GID=315
-different values when running the slackbuild script.
-
-Before starting the ircd, you'll need to create a configuration file for it.
-It should be named `/etc/elemental-ircd/ircd.conf`. In that directory there
-is already an `example.conf` and a `reference.conf`.
-
-Note: elemental-ircd comes with a binary called `/usr/bin/mkpasswd`, which is
-used to create passwords for o-lines, but it creates a conflict with
-`/usr/bin/mkpasswd` from expect, so the `mkpasswd` supplied by elemental-ircd
-is renamed to `ircd-mkpasswd` by the SlackBuild script.
diff --git a/network/elemental-ircd/doinst.sh b/network/elemental-ircd/doinst.sh
deleted file mode 100644
index e99e1995fe..0000000000
--- a/network/elemental-ircd/doinst.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-
-IRCD_UNAME="@UNAME@"
-IRCD_UID="@UID@"
-IRCD_GID="@GID@"
-
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.elemental-ircd.new
-config etc/logrotate.d/elemental-ircd.new
-config etc/elemental-ircd/ircd.motd.new
-
-# Set up user/group permissions
-groupadd -g $IRCD_GID $IRCD_UNAME 2>/dev/null
-useradd -u $IRCD_UID -g $IRCD_GID -d var/lib/elemental-ircd $IRCD_UNAME 2>/dev/null
-chown $IRCD_UID:$IRCD_GID var/run/elemental-ircd
-chown $IRCD_UID:$IRCD_GID var/log/elemental-ircd
-chown $IRCD_UID:$IRCD_GID var/lib/elemental-ircd
-chown $IRCD_UID:$IRCD_GID var/state/elemental-ircd
diff --git a/network/elemental-ircd/elemental-ircd.SlackBuild b/network/elemental-ircd/elemental-ircd.SlackBuild
deleted file mode 100644
index e7c57c198f..0000000000
--- a/network/elemental-ircd/elemental-ircd.SlackBuild
+++ /dev/null
@@ -1,144 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for elemental-ircd
-
-# Copyright 2015 Andreas Guldstrand <andreas.guldstrand@gmail.com>
-# Copyright 2007-2015 Adis Nezirovic <adis_at_linux.org.ba> for doinst.sh
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM="elemental-ircd"
-VERSION=${VERSION:-6.6.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-IRCD_UID=${IRCD_UID:-315}
-IRCD_GID=${IRCD_GID:-315}
-IRCD_UNAME=${IRCD_UNAME:-elemental-ircd}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc/$PRGNAM \
- --localstatedir=/var/state \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-helpdir="/usr/doc/$PRGNAM-$VERSION/help" \
- --build=$ARCH-slackware-linux \
- --enable-ipv6 \
- --enable-epoll \
- --with-logdir="/var/log/$PRGNAM" \
- --with-rundir=/var/run
-
-make
-make install DESTDIR=$PKG
-
-# /usr/bin/mkpasswd already exists in expect, so rename this one
-mv $PKG/usr/bin/mkpasswd $PKG/usr/bin/ircd-mkpasswd
-
-# Rename /etc/elemental-ircd/ircd.motd to .new so we don't clobber it
-mv $PKG/etc/$PRGNAM/ircd.motd $PKG/etc/$PRGNAM/ircd.motd.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CONTRIBUTING.md CREDITS Dockerfile INSTALL LICENSE NEWS README.md TODO.markdown \
- doc/*.txt doc/example.conf doc/Hybrid-team doc/Ratbox-team doc/README.cidr_bans \
- doc/reference.charybdis.conf doc/reference.conf doc/server-version-info \
- doc/Tao-of-IRC.940110 doc/technical tools/README.mkpasswd \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a extensions/README $PKG/usr/doc/$PRGNAM-$VERSION/README.extensions
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
-
-# Create /var/lib/elemental-ircd directory
-mkdir -p $PKG/var/lib/$PRGNAM
-
-# Copy rc.elemental-ircd into /etc/rc.d
-mkdir -p $PKG/etc/rc.d
-sed -e "s/@USER@/$IRCD_UNAME/" $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
-
-# Copy logrotate script into /etc/logrotate.d
-mkdir -p $PKG/etc/logrotate.d
-cat $CWD/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new
-
-# Copy slackware-specific example conf to /etc/elemental-ircd
-mkdir -p $PKG/etc/$PRGNAM
-sed -e "s/@LIBDIRSUFFIX@/$LIBDIRSUFFIX/" \
- $CWD/slackware.conf > $PKG/etc/$PRGNAM/slackware.conf
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-sed -e "s/@UNAME@/$IRCD_UNAME/" \
- -e "s/@UID@/$IRCD_UID/" \
- -e "s/@GID@/$IRCD_GID/" \
- $CWD/doinst.sh > $PKG/install/doinst.sh
-chmod 755 $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/elemental-ircd/elemental-ircd.info b/network/elemental-ircd/elemental-ircd.info
deleted file mode 100644
index a365cc6736..0000000000
--- a/network/elemental-ircd/elemental-ircd.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="elemental-ircd"
-VERSION="6.6.3"
-HOMEPAGE="https://github.com/Elemental-IRCd/elemental-ircd"
-DOWNLOAD="https://github.com/Elemental-IRCd/elemental-ircd/archive/elemental-ircd-6.6.3.tar.gz"
-MD5SUM="4e0aa3b2692252a6b467e07f1de8ab34"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andreas Guldstrand"
-EMAIL="andreas.guldstrand@gmail.com"
diff --git a/network/elemental-ircd/elemental-ircd.logrotate b/network/elemental-ircd/elemental-ircd.logrotate
deleted file mode 100644
index 16c989becc..0000000000
--- a/network/elemental-ircd/elemental-ircd.logrotate
+++ /dev/null
@@ -1,15 +0,0 @@
-/var/log/elemental-ircd/* {
- daily
- rotate 7
- copytruncate
- delaycompress
- compress
- notifempty
- missingok
- postrotate
- if [ -x /etc/rc.d/rc.elemental-ircd ]
- then
- /etc/rc.d/rc.elemental-ircd reload > /dev/null 2>&1
- fi
- endscript
-}
diff --git a/network/elemental-ircd/rc.elemental-ircd b/network/elemental-ircd/rc.elemental-ircd
deleted file mode 100644
index 9af9f68ef9..0000000000
--- a/network/elemental-ircd/rc.elemental-ircd
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-# elemental-ircd startup script for Slackware
-
-USER="@USER@"
-PIDFILE="/var/run/elemental-ircd/ircd.pid"
-PID=`cat $PIDFILE 2>/dev/null`
-
-ircd_start() {
- echo "Starting elemental-ircd."
- su - $USER -c "/usr/bin/ircd -pidfile $PIDFILE"
-}
-
-ircd_stop() {
- echo -n "Stopping elemental-ircd..."
- kill -TERM $PID 2>/dev/null
- echo " done."
-}
-
-ircd_reload() {
- echo -n "Sending signal to elemental-ircd to reload its configuration..."
- if kill -CHLD $PID 2>/dev/null; then
- kill -HUP $PID
- echo " done."
- else
- echo "ircd doesn't seem to be running."
- exit 1
- fi
-}
-
-ircd_restart() {
- ircd_stop
- sleep 1
- ircd_start
-}
-
-case "$1" in
- start)
- ircd_start
- ;;
- stop)
- ircd_stop
- ;;
- restart)
- ircd_restart
- ;;
- reload)
- ircd_reload
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|reload}"
- exit 1
-esac
diff --git a/network/elemental-ircd/slack-desc b/network/elemental-ircd/slack-desc
deleted file mode 100644
index 7e6875da28..0000000000
--- a/network/elemental-ircd/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-elemental-ircd: elemental-ircd (high performance irc daemon)
-elemental-ircd:
-elemental-ircd: Elemental-IRCd is a high performance, lightweight, and scalable IRC
-elemental-ircd: daemon. It is a fork of the now-defunct ShadowIRCD and seeks to
-elemental-ircd: continue in the direction ShadowIRCD was headed.
-elemental-ircd:
-elemental-ircd: https://github.com/Elemental-IRCd/elemental-ircd
-elemental-ircd:
-elemental-ircd:
-elemental-ircd:
-elemental-ircd:
diff --git a/network/elemental-ircd/slackware.conf b/network/elemental-ircd/slackware.conf
deleted file mode 100644
index fc9d8401ba..0000000000
--- a/network/elemental-ircd/slackware.conf
+++ /dev/null
@@ -1,609 +0,0 @@
-/* /etc/elemental-ircd/slackware.conf - brief example configuration file
- *
- * Copyright (C) 2000-2002 Hybrid Development Team
- * Copyright (C) 2002-2005 ircd-ratbox development team
- * Copyright (C) 2005-2006 charybdis development team
- * Copyright (C) 2014 Elemental-IRCd development team
- *
- * $Id: example.conf 3582 2007-11-17 21:55:48Z jilles $
- *
- * See reference.conf for more information.
- */
-
-/* Extensions */
-#loadmodule "extensions/chm_adminonly.so";
-loadmodule "extensions/chm_operonly.so";
-#loadmodule "extensions/chm_sslonly.so";
-#loadmodule "extensions/chm_operonly_compat.so";
-#loadmodule "extensions/chm_quietunreg_compat.so";
-#loadmodule "extensions/chm_sslonly_compat.so";
-#loadmodule "extensions/createauthonly.so";
-loadmodule "extensions/extb_account.so";
-loadmodule "extensions/extb_canjoin.so";
-loadmodule "extensions/extb_channel.so";
-loadmodule "extensions/extb_extgecos.so";
-loadmodule "extensions/extb_oper.so";
-loadmodule "extensions/extb_realname.so";
-#loadmodule "extensions/extb_server.so";
-#loadmodule "extensions/extb_ssl.so";
-#loadmodule "extensions/hurt.so";
-loadmodule "extensions/ip_cloaking.so";
-#loadmodule "extensions/m_findforwards.so";
-loadmodule "extensions/m_identify.so";
-loadmodule "extensions/m_mkpasswd.so";
-loadmodule "extensions/m_webirc.so";
-#loadmodule "extensions/m_cycle.so";
-#loadmodule "extensions/m_oaccept.so";
-#loadmodule "extensions/m_opme.so";
-#loadmodule "extensions/m_ojoin.so";
-#loadmodule "extensions/m_omode.so";
-#loadmodule "extensions/m_olist.so";
-#loadmodule "extensions/m_okick.so";
-#loadmodule "extensions/m_force.so";
-#loadmodule "extensions/m_roleplay.so";
-#loadmodule "extensions/no_oper_invis.so";
-loadmodule "extensions/sno_farconnect.so";
-loadmodule "extensions/sno_globalkline.so";
-loadmodule "extensions/sno_globaloper.so";
-#loadmodule "extensions/sno_whois.so";
-
-serverinfo {
- name = "hostname.domain.tld";
- sid = "42X";
- description = "elemental-ircd test server";
- network_name = "ShadowNET";
- network_desc = "Your IRC network.";
- helpchan = "#help";
- helpurl = "http://www.mynet.net/help";
- hub = yes;
-
- /* On multi-homed hosts you may need the following. These define
- * the addresses we connect from to other servers. */
- /* for IPv4 */
- #vhost = "192.169.0.1";
- /* for IPv6 */
- #vhost6 = "3ffe:80e8:546::2";
-
- /* ssl_private_key: our ssl private key */
- ssl_private_key = "etc/ssl.key";
-
- /* ssl_cert: certificate for our ssl server */
- ssl_cert = "etc/ssl.cert";
-
- /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */
- ssl_dh_params = "etc/dh.pem";
-
- /* ssld_count: number of ssld processes you want to start, if you
- * have a really busy server, using N-1 where N is the number of
- * cpu/cpu cores you have might be useful. A number greater than one
- * can also be useful in case of bugs in ssld and because ssld needs
- * two file descriptors per SSL connection.
- */
- ssld_count = 1;
-
- /* default max clients: the default maximum number of clients
- * allowed to connect. This can be changed once ircd has started by
- * issuing:
- * /quote set maxclients <limit>
- */
- default_max_clients = 1024;
-};
-
-admin {
- name = "Lazy admin (lazya)";
- description = "ShadowNET client server";
- email = "nobody@127.0.0.1";
-};
-
-log {
- fname_userlog = "/var/log/elemental-ircd/userlog";
- #fname_fuserlog = "/var/log/elemental-ircd/fuserlog";
- fname_operlog = "/var/log/elemental-ircd/operlog";
- #fname_foperlog = "/var/log/elemental-ircd/foperlog";
- fname_serverlog = "/var/log/elemental-ircd/serverlog";
- #fname_klinelog = "/var/log/elemental-ircd/klinelog";
- fname_killlog = "/var/log/elemental-ircd/killlog";
- fname_operspylog = "/var/log/elemental-ircd/operspylog";
- #fname_ioerrorlog = "/var/log/elemental-ircd/ioerror";
-};
-
-/* class {} blocks MUST be specified before anything that uses them. That
- * means they must be defined before auth {} and before connect {}.
- */
-class "users" {
- ping_time = 2 minutes;
- number_per_ident = 10;
- number_per_ip = 10;
- number_per_ip_global = 50;
- cidr_ipv4_bitlen = 24;
- cidr_ipv6_bitlen = 64;
- number_per_cidr = 200;
- max_number = 3000;
- sendq = 400 kbytes;
-};
-
-class "opers" {
- ping_time = 5 minutes;
- number_per_ip = 10;
- max_number = 1000;
- sendq = 1 megabyte;
-};
-
-class "server" {
- ping_time = 5 minutes;
- connectfreq = 5 minutes;
- max_number = 1;
- sendq = 4 megabytes;
-};
-
-listen {
- /* defer_accept: wait for clients to send IRC handshake data before
- * accepting them. if you intend to use software which depends on the
- * server replying first, such as BOPM, you should disable this feature.
- * otherwise, you probably want to leave it on. Disabling this will not
- * update on a rehash.
- */
- defer_accept = yes;
-
- /* If you want to listen on a specific IP only, specify host.
- * host definitions apply only to the following port line.
- */
- #host = "192.169.0.1";
- port = 5000, 6665 .. 6669;
- sslport = 6697;
-
- /* Listen on IPv6 (if you used host= above). */
- #host = "3ffe:1234:a:b:c::d";
- #port = 5000, 6665 .. 6669;
- #sslport = 9999;
-};
-
-/* auth {}: allow users to connect to the ircd (OLD I:)
- * auth {} blocks MUST be specified in order of precedence. The first one
- * that matches a user will be used. So place spoofs first, then specials,
- * then general access, then restricted.
- */
-auth {
- /* user: the user@host allowed to connect. Multiple IPv4/IPv6 user
- * lines are permitted per auth block. This is matched against the
- * hostname and IP address (using :: shortening for IPv6 and
- * prepending a 0 if it starts with a colon) and can also use CIDR
- * masks.
- */
- user = "*@172.16.0.0/12";
- user = "*test@123D:B567:*";
-
- /* auth_user: The username (authenticated via SASL or PASS) allowed
- * to connect. You are able to put multiple auth_user lines. If people
- * are authenticating via SASL in this way, it is recommended to comment
- * out the password option below. You will also *NEED* to specify a user
- * line above auth_user, this can safely be "*@*", however.
- */
- auth_user = "jilles";
- auth_user = "jdhore";
-
- /* password: an optional password that is required to use this block.
- * By default this is not encrypted, specify the flag "encrypted" in
- * flags = ...; below if it is.
- */
- password = "letmein";
-
- /* spoof: fake the users user@host to be be this. You may either
- * specify a host or a user@host to spoof to. This is free-form,
- * just do everyone a favour and dont abuse it. (OLD I: = flag)
- */
- spoof = "I.still.hate.packets";
-
- /* autojoin: Channel (or channels, comma-seperated) to join users
- * in this auth block to on connect. Note that this won't join
- * the user through any bans or otherwise restrictive chmodes.
- */
- autojoin = "#shadowircd,#test";
-
- /* Possible flags in auth:
- *
- * encrypted | password is encrypted with mkpasswd
- * spoof_notice | give a notice when spoofing hosts
- * exceed_limit (old > flag) | allow user to exceed class user limits
- * kline_exempt (old ^ flag) | exempt this user from k/g/xlines&dnsbls
- * dnsbl_exempt | exempt this user from dnsbls
- * spambot_exempt | exempt this user from spambot checks
- * shide_exempt | exempt this user from serverhiding
- * jupe_exempt | exempt this user from generating
- * warnings joining juped channels
- * resv_exempt | exempt this user from resvs
- * flood_exempt | exempt this user from flood limits
- * USE WITH CAUTION.
- * no_tilde (old - flag) | don't prefix ~ to username if no ident
- * need_ident (old + flag) | require ident for user in this class
- * need_ssl | require SSL/TLS for user in this class
- * need_sasl | require SASL id for user in this class
- */
- flags = kline_exempt, exceed_limit;
-
- /* class: the class the user is placed in */
- class = "opers";
-};
-
-/* Example WEBIRC authblock */
-auth {
- /* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */
- user = "webirc@192.168.1.1";
-
- /* password: password the webirc client sends in the WEBIRC command.
- * You can use a encrypted password here (see above auth block).
- */
- password = "<password>";
-
- /* spoof: This is required to keep it what it is currently if you
- * want the webirc client to show the users' real host as their
- * host on IRC.
- */
- spoof = "webirc.";
- class = "users";
-};
-
-auth {
- user = "*@*";
- class = "users";
- flags = no_tilde;
-};
-
-/* privset {} blocks MUST be specified before anything that uses them. That
- * means they must be defined before operator {}.
- */
-privset "local_op" {
- privs = oper:local_kill, oper:operwall;
-};
-
-privset "server_bot" {
- extends = "local_op";
- privs = oper:kline, oper:remoteban, snomask:nick_changes;
-};
-
-privset "global_op" {
- extends = "local_op";
- privs = oper:global_kill, oper:routing, oper:kline, oper:unkline, oper:xline,
- oper:resv, oper:mass_notice, oper:remoteban;
-};
-
-privset "admin" {
- extends = "global_op";
- privs = oper:admin, oper:die, oper:rehash, oper:spy, oper:override;
-};
-
-operator "god" {
- /* name: the name of the oper must go above */
-
- /* user: the user@host required for this operator. CIDR *is*
- * supported now. auth{} spoofs work here, other spoofs do not.
- * multiple user="" lines are supported.
- */
- user = "*god@127.0.0.1";
-
- /* password: the password required to oper. Unless ~encrypted is
- * contained in flags = ...; this will need to be encrypted using
- * mkpasswd, MD5 is supported
- */
- password = "etcnjl8juSU1E";
-
- /* rsa key: the public key for this oper when using Challenge.
- * A password should not be defined when this is used, see
- * doc/challenge.txt for more information.
- */
- #rsa_public_key_file = "/usr/local/ircd/etc/oper.pub";
-
- /* umodes: the specific umodes this oper gets when they oper.
- * If this is specified an oper will not be given oper_umodes
- * These are described above oper_only_umodes in general {};
- */
- #umodes = locops, servnotice, operwall, wallop;
-
- /* fingerprint: if specified, the oper's client certificate
- * fingerprint will be checked against the specified fingerprint
- * below.
- */
- #fingerprint = "c77106576abf7f9f90cca0f63874a60f2e40a64b";
-
- /* snomask: specific server notice mask on oper up.
- * If this is specified an oper will not be given oper_snomask.
- */
- snomask = "+Zbfkrsuy";
-
- /* vhost: defines the vhost that this oper will get on oper up.
- * this must be a valid hostmask. If this is specified the oper
- * will not be given default_operhost.
- */
- vhost = "is.an.oper";
-
- /* swhois: defines an additional line that will be displayed
- * whenever someone does /whois on the oper in question.
- */
- swhois = "is wearing pants.";
-
- /* operstring: defines a custom operstring for this oper,
- * which will be shown in whois instead of default_operstring
- * or default_adminstring.
- */
- operstring = "is a lazy IRC Operator";
-
- /* flags: misc options for the operator. You may prefix an option
- * with ~ to disable it, e.g. ~encrypted.
- *
- * Default flags are encrypted.
- *
- * Available options:
- *
- * encrypted: the password above is encrypted [DEFAULT]
- * need_ssl: must be using SSL/TLS to oper up
- */
- flags = encrypted;
-
- /* privset: privileges set to grant */
- privset = "admin";
-};
-
-connect "irc.uplink.com" {
- host = "192.168.0.1";
- send_password = "password";
- accept_password = "anotherpassword";
- port = 6666;
- hub_mask = "*";
- class = "server";
- flags = compressed, topicburst;
-
- #fingerprint = "c77106576abf7f9f90cca0f63874a60f2e40a64b";
-
- /* If the connection is IPv6, uncomment below.
- * Use 0::1, not ::1, for IPv6 localhost. */
- #aftype = ipv6;
-};
-
-connect "ssl.uplink.com" {
- host = "192.168.0.1";
- send_password = "password";
- accept_password = "anotherpassword";
- port = 9999;
- hub_mask = "*";
- class = "server";
- flags = ssl, topicburst;
-};
-
-service {
- name = "services.int";
-};
-
-cluster {
- name = "*";
- flags = kline, tkline, unkline, xline, txline, unxline, resv, tresv, unresv;
-};
-
-shared {
- oper = "*@*", "*";
- flags = all;
-};
-
-/* exempt {}: IPs that are exempt from Dlines and rejectcache. (OLD d:) */
-exempt {
- ip = "127.0.0.1";
-};
-
-channel {
- #disabledmodes = "ME";
- autochanmodes = "nt";
- admin_on_channel_create = no;
- exemptchanops = "NT";
- use_halfop = yes;
- use_admin = yes;
- use_owner = yes;
- use_knock = yes;
- use_local_channels = yes;
- knock_delay = 5 minutes;
- knock_delay_channel = 1 minute;
- max_chans_per_user = 15;
- max_bans = 100;
- max_bans_large = 500;
- default_split_user_count = 0;
- default_split_server_count = 0;
- no_create_on_split = no;
- no_join_on_split = no;
- burst_topicwho = yes;
- kick_on_split_riding = no;
- only_ascii_channels = no;
- cycle_host_change = yes;
- host_in_topic = yes;
- resv_forcepart = yes;
- channel_target_change = yes;
-};
-
-serverhide {
- flatten_links = yes;
- links_delay = 5 minutes;
- hidden = no;
- disable_hidden = no;
-};
-
-/* These are the blacklist settings.
- * You can have multiple combinations of host and rejection reasons.
- * They are used in pairs of one host/rejection reason.
- *
- * These settings should be adequate for most networks, and are (presently)
- * required for use on ShadowNet.
- *
- * Word to the wise: Do not use blacklists like SPEWS for blocking IRC
- * connections.
- *
- * As of charybdis 2.1.3, you can do some keyword substitution on the rejection
- * reason. The available keyword substitutions are:
- *
- * ${ip} - the user's IP
- * ${host} - the user's canonical hostname
- * ${dnsbl-host} - the dnsbl hostname the lookup was done against
- * ${nick} - the user's nickname
- * ${network-name} - the name of the network
- *
- */
-blacklist {
- host = "rbl.efnetrbl.org";
- reject_reason = "${nick}, your IP (${ip}) is listed in EFnet's RBL. For assistance, see http://efnetrbl.org/?i=${ip}";
-
- host = "dnsbl.dronebl.org";
- reject_reason = "${nick}, your IP (${ip}) is listed in DroneBL. For assistance, see http://dronebl.org/lookup_branded.do?ip=${ip}&network=${network-name}";
-
- host = "torexit.dan.me.uk";
- reject_reason = "${nick}, your IP (${ip}) is listed as a TOR exit node. In order to protect ${network-name} from TOR-based abuse, we are not allowing TOR exit nodes to connect to our network.";
-};
-
-alias "NickServ" {
- target = "NickServ";
-};
-
-alias "ChanServ" {
- target = "ChanServ";
-};
-
-alias "OperServ" {
- target = "OperServ";
-};
-
-alias "MemoServ" {
- target = "MemoServ";
-};
-
-alias "HostServ" {
- target = "HostServ";
-};
-
-alias "BotServ" {
- target = "BotServ";
-};
-
-alias "InfoServ" {
- target = "InfoServ";
-};
-
-alias "GroupServ" {
- target = "GroupServ";
-};
-
-alias "NS" {
- target = "NickServ";
-};
-
-alias "CS" {
- target = "ChanServ";
-};
-
-alias "OS" {
- target = "OperServ";
-};
-
-alias "MS" {
- target = "MemoServ";
-};
-
-alias "HS" {
- target = "HostServ";
-};
-
-alias "BS" {
- target = "BotServ";
-};
-
-alias "IS" {
- target = "InfoServ";
-};
-
-alias "GS" {
- target = "GroupServ";
-};
-
-general {
- hide_error_messages = opers;
- hide_spoof_ips = yes;
-
- /*
- * default umodes: umodes to set upon connection
- * If you have enabled the ip_cloaking extension, and you wish for
- * incoming clients to be cloaked upon connection, +x must be in
- * the umode string below.
- */
- default_umodes = "+ix";
-
- default_operstring = "is an IRC Operator";
- default_adminstring = "is a Server Administrator";
- #default_operhost = "staff.testnet.net";
- #static_quit = "I like turtles!";
- servicestring = "is a Network Service";
- disable_fake_channels = no;
- hide_channel_below_users = 3;
- tkline_expire_notices = no;
- default_floodcount = 10;
- failed_oper_notice = yes;
- dots_in_ident=2;
- min_nonwildcard = 4;
- min_nonwildcard_simple = 3;
- max_accept = 100;
- max_monitor = 100;
- anti_nick_flood = yes;
- max_nick_time = 20 seconds;
- max_nick_changes = 5;
- anti_spam_exit_message_time = 5 minutes;
- use_part_messages = yes;
- ts_warn_delta = 30 seconds;
- ts_max_delta = 5 minutes;
- client_exit = yes;
- collision_fnc = yes;
- global_snotices = yes;
- dline_with_reason = yes;
- kline_delay = 0 seconds;
- kline_with_reason = yes;
- kline_reason = "K-Lined";
- identify_service = "NickServ@services.int";
- identify_command = "IDENTIFY";
- non_redundant_klines = yes;
- warn_no_nline = yes;
- use_propagated_bans = yes;
- stats_e_disabled = no;
- stats_c_oper_only=no;
- stats_h_oper_only=no;
- stats_y_oper_only=no;
- stats_o_oper_only=yes;
- stats_P_oper_only=no;
- stats_i_oper_only=masked;
- stats_k_oper_only=masked;
- map_oper_only = no;
- operspy_admin_only = no;
- operspy_dont_care_user_info = no;
- secret_channels_in_whois = no;
- caller_id_wait = 1 minute;
- pace_wait_simple = 1 second;
- pace_wait = 10 seconds;
- short_motd = no;
- ping_cookie = no;
- connect_timeout = 30 seconds;
- default_ident_timeout = 5;
- disable_auth = no;
- no_oper_flood = yes;
- true_no_oper_flood = no;
- max_targets = 4;
- client_flood = 20;
- use_whois_actually = no;
- oper_only_umodes = operwall, locops, servnotice;
- oper_umodes = locops, servnotice, operwall, wallop;
- oper_snomask = "+s";
- burst_away = yes;
- nick_delay = 0 seconds; # 15 minutes if you want to enable this
- reject_ban_time = 1 minute;
- reject_after_count = 3;
- reject_duration = 5 minutes;
- throttle_duration = 60;
- throttle_count = 4;
- expire_override_time = 5 minutes;
- away_interval = 30;
-};
-
-modules {
- path = "/usr/lib@LIBDIRSUFFIX@/elemental-ircd/modules";
- path = "/usr/lib@LIBDIRSUFFIX@/elemental-ircd/modules/autoload";
-};
diff --git a/network/elinks/README b/network/elinks/README
index 97574a8664..e40cc46f9e 100644
--- a/network/elinks/README
+++ b/network/elinks/README
@@ -1,10 +1,8 @@
-elinks (ELinks - Full-Featured Text WWW Browser)
-
-ELinks is an advanced and well-established feature-rich text mode web
-(HTTP/FTP/..) browser. ELinks can render both frames and tables, is
+Elinks is an advanced and well-established feature-rich text mode web
+(HTTP/FTP/..) browser. Elinks can render both frames and tables, is
highly customizable, and can be extended via Lua or Guile scripts. It
-is very portable and runs on a variety of platforms. It also uses
-SpiderMonkey javascript support.
+is very portable and runs on a variety of platforms. It also has
+(very limited) JavaScript support via SpiderMonkey (js185).
There are a number of options that can be used to add support for
other protocols etc. To enable or disable an option use the following
@@ -14,8 +12,6 @@ MOUSE=no ./elinks.SlackBuild
Several options can be combined together.
-OPTIONS
-
Category Description Default Value
System:
@@ -55,12 +51,40 @@ DATA yes
FSP no
FTP yes
FINGER no
-GOPHER no
+GOPHER (use internal gopher code, see note below) no
NNTP no
SMB no
Note that Unicode combining characters is marked as experimental.
-Optional dependencies apart from scripting languages stated above:
+Contributed Patches:
+
+Thanks goes to B. Watson for the following two patches:
+
+No Suspend Patch
+
+Elinks sometimes has problems resuming if it has been suspended with ^Z.
+To apply a patch that disables ^Z, ^S and ^Q suspend/pause/resume keys
+so that they are available to bind in elinks:
+
+ NO_SUSPEND=yes
+
+No Connect Patch.
+
+Sometimes when quitting and another client is running on the same
+session-ring, the process will freeze and require killing manually.
+This patch solves that by making elinks use '-no-connect 1' by default.
+It won't be possible to open links in new windows with this, but using
+URI passing is a workaround.
+
+ NO_CONNECT=yes
+
+Auto-detected Dependencies:
+
+js185: SpiderMonkey (can be turned off in options).
+tre: regexp support in searches.
-tre: for regex search support
+Other included patches help make the internal gopher support usable. By
+default elinks will hand gopher URLs to lynx if the GOPHER option isn't
+set. Using the internal gopher client has the advantage of having
+combined http and gopher bookmarks, and a more uniform interface.
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild
index 93cee7bfac..b402bed806 100644
--- a/network/elinks/elinks.SlackBuild
+++ b/network/elinks/elinks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for elinks
# Copyright 2014 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=elinks
-VERSION=${VERSION:-git20131231}
-BUILD=${BUILD:-13}
+VERSION=${VERSION:-20170723_f86be65}
+COMMIT=${VERSION#*_}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,50 +38,62 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Added -fno-strict-aliasing -Wno-pointer-sign for a much more peaceful build
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC -fno-strict-aliasing -Wno-pointer-sign"
- SLKLDFLAGS="-m64"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
+# A much more peaceful build
+SLKCFLAGS="$SLKCFLAGS -fno-strict-aliasing -Wno-pointer-sign"
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$COMMIT.tar.?z || tar xvf $CWD/$PRGNAM-$COMMIT.tar.?z
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# fix documentation generation on 15.0.
+# xmlto needs --skip-validation or it fails.
+sed -i 's/$(XMLTO) -o/$(XMLTO) --skip-validation -o/' doc/Makefile
-for patch in $CWD/patches/*
-do
+for patch in $CWD/patches/*; do
patch --verbose -p1 < $patch
done
+# patches for no suspend (^Z) and -no-connect by default
+# courtesy of B. Watson.
+[ "${NO_SUSPEND:-no}" = "yes" ] &&
+ patch --verbose -p1 -i $CWD/option-patches/0010-*
+[ "${NO_CONNECT:-no}" = "yes" ] &&
+ patch --verbose -p1 -i $CWD/option-patches/0020-*
+
# System
[ "${FASTMEM:-no}" = "yes" ] && fastmem="--enable-fastmem"
[ "${CGI:-no}" = "yes" ] && cgi="--enable-cgi"
@@ -114,8 +130,11 @@ done
[ "${NNTP:-no}" = "yes" ] && nntp="--enable-nntp"
[ "${SMB:-no}" = "yes" ] && smb="--enable-smb"
-autoreconf
-CFLAGS="$SLKCFLAGS -L/usr/lib64" \
+# quiet some more warnings
+sed "s,^aclocal,& -Wnone," -i autogen.sh
+
+./autogen.sh
+CFLAGS="$SLKCFLAGS -L/usr/lib$LIBDIRSUFFIX" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
@@ -124,6 +143,7 @@ CFLAGS="$SLKCFLAGS -L/usr/lib64" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --htmldir=/usr/doc/$PRGNAM-$VERSION/html \
$fastmem \
$cgi \
$combining \
@@ -153,23 +173,26 @@ CFLAGS="$SLKCFLAGS -L/usr/lib64" \
--build=$ARCH-slackware-linux
make
+# html doesn't install so we copy it later
+make -C doc html
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO doc/html doc/*txt \
- contrib \
+ AUTHORS BUGS COPYING NEWS README SITES THANKS TODO ChangeLog contrib \
+ doc/*txt doc/manual.html-chunked \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# don't need these
+find $PKG \( -name ".gitignore" -o -name "manual.proc" \) -delete
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/elinks/elinks.info b/network/elinks/elinks.info
index 17553cf0cf..e543517b54 100644
--- a/network/elinks/elinks.info
+++ b/network/elinks/elinks.info
@@ -1,10 +1,10 @@
PRGNAM="elinks"
-VERSION="git20131231"
-HOMEPAGE="http://elinks.or.cz"
-DOWNLOAD="http://www.unrealize.co.uk/source/elinks-git20131231.tar.xz"
-MD5SUM="3b3b57ac6b9bafe123d046f342272d17"
+VERSION="20170723_f86be65"
+HOMEPAGE="http://elinks.cz"
+DOWNLOAD="https://repo.or.cz/elinks.git/snapshot/f86be65.tar.gz"
+MD5SUM="660ae64c253f1e2014064dc1a3fbed80"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/elinks/option-patches/0010-disable-suspend-pause.patch b/network/elinks/option-patches/0010-disable-suspend-pause.patch
new file mode 100644
index 0000000000..9a85ad5669
--- /dev/null
+++ b/network/elinks/option-patches/0010-disable-suspend-pause.patch
@@ -0,0 +1,19 @@
+diff -Naur elinks-git20131231/src/terminal/kbd.c elinks-git20131231.patched/src/terminal/kbd.c
+--- elinks-git20131231/src/terminal/kbd.c 2013-12-18 10:38:57.000000000 -0500
++++ elinks-git20131231.patched/src/terminal/kbd.c 2020-06-25 01:32:29.333043353 -0400
+@@ -263,6 +263,15 @@
+ t.c_lflag |= TOSTOP;
+ #endif
+ t.c_oflag |= OPOST;
++
++ /* 20200625 bkw: patched code disables suspend (normally ^Z),
++ pause (normally ^S) and resume (normally ^Q). This allows
++ us to use those keys for normal keybinds. If we're running
++ elinks in tmux or screen, or in X with multiple terminals,
++ or the Linux console (multiple consoles), we don't really
++ need ^Z anyway. */
++ t.c_cc[VSUSP] = t.c_cc[VSTOP] = t.c_cc[VSTART] = vdisable;
++
+ if (tcsetattr(itrm->in.ctl, TCSANOW, &t)) return -1;
+
+ return 0;
diff --git a/network/elinks/option-patches/0020-no-connect-by-default.patch b/network/elinks/option-patches/0020-no-connect-by-default.patch
new file mode 100644
index 0000000000..e36c9aa006
--- /dev/null
+++ b/network/elinks/option-patches/0020-no-connect-by-default.patch
@@ -0,0 +1,62 @@
+diff -Naur elinks-git20131231/doc/man/man1/elinks.1.in elinks-git20131231.patched/doc/man/man1/elinks.1.in
+--- elinks-git20131231/doc/man/man1/elinks.1.in 2013-12-18 10:38:57.000000000 -0500
++++ elinks-git20131231.patched/doc/man/man1/elinks.1.in 2020-06-25 03:02:54.523412259 -0400
+@@ -141,12 +141,13 @@
+ Look up specified host and print all DNS resolved IP addresses\&.
+ .RE
+ .PP
+-\fB\-no\-connect\fR \fI[0|1]\fR (default: 0)
++\fB\-no\-connect\fR \fI[0|1]\fR (default: 1)
+ .RS 4
+ Run
+ ELinks
+-as a separate instance instead of connecting to an existing instance\&. Note that normally no runtime state files (bookmarks, history, etc\&.) are written to the disk when this option is used\&. See also
+-\-touch\-files\&.
++as a separate instance instead of connecting to an existing instance\&. Enabled
++by default in this build; use \fB\-no\-connect 0\fR to connect to an existing
++instance\&.
+ .RE
+ .PP
+ \fB\-no\-home\fR \fI[0|1]\fR (default: 0)
+@@ -238,13 +239,13 @@
+ Print given URLs in source form to stdout\&.
+ .RE
+ .PP
+-\fB\-touch\-files\fR \fI[0|1]\fR (default: 0)
++\fB\-touch\-files\fR \fI[0|1]\fR (default: 1)
+ .RS 4
+ When enabled, runtime state files (bookmarks, history, etc\&.) are written to disk, even when
+ \-no\-connect
+ or
+ \-session\-ring
+-is used\&. The option has no effect if not used in conjunction with any of these options\&.
++is used\&. The option has no effect if not used in conjunction with any of these options\&. This option is enabled by default; use \fB\-touch\-files 0\fR to disable\&.
+ .RE
+ .PP
+ \fB\-verbose\fR \fI<num>\fR (default: 1)
+diff -Naur elinks-git20131231/src/config/cmdline.c elinks-git20131231.patched/src/config/cmdline.c
+--- elinks-git20131231/src/config/cmdline.c 2013-12-18 10:38:57.000000000 -0500
++++ elinks-git20131231.patched/src/config/cmdline.c 2020-06-25 02:58:31.595442844 -0400
+@@ -848,11 +848,9 @@
+ "addresses.")),
+
+ INIT_OPT_BOOL("", N_("Run as separate instance"),
+- "no-connect", 0, 0,
++ "no-connect", 0, 1,
+ N_("Run ELinks as a separate instance instead of connecting "
+- "to an existing instance. Note that normally no runtime state "
+- "files (bookmarks, history, etc.) are written to the disk "
+- "when this option is used. See also -touch-files.")),
++ "to an existing instance. Enabled by default in this build.")),
+
+ INIT_OPT_BOOL("", N_("Disable use of files in ~/.elinks"),
+ "no-home", 0, 0,
+@@ -921,7 +919,7 @@
+ INIT_OPT_COMMAND("", NULL, "stdin", OPT_HIDDEN, redir_cmd, NULL),
+
+ INIT_OPT_BOOL("", N_("Touch files in ~/.elinks when running with -no-connect/-session-ring"),
+- "touch-files", 0, 0,
++ "touch-files", 0, 1,
+ N_("When enabled, runtime state files (bookmarks, history, "
+ "etc.) are written to disk, even when -no-connect or "
+ "-session-ring is used. The option has no effect if not used "
diff --git a/network/elinks/patches/0004-ssl_cert_verify.patch b/network/elinks/patches/0004-ssl_cert_verify.patch
deleted file mode 100644
index 3b56e1ae40..0000000000
--- a/network/elinks/patches/0004-ssl_cert_verify.patch
+++ /dev/null
@@ -1,159 +0,0 @@
-##############################################################################
-# Verify SSL host names with OpenSSL.
-# Turn on verification by default.
-# http://lists.linuxfromscratch.org/pipermail/elinks-dev/2015-June/002099.html
-# dave@slackbuilds.org
-##############################################################################
---- a/configure.in 2017-12-21 15:58:12.470247050 +0000
-+++ b/configure.in 2017-12-21 16:10:27.406938487 +0000
-@@ -1132,6 +1132,9 @@
- fi
-
- AC_MSG_RESULT($cf_result)
-+if test "$cf_result" = yes; then
-+ AC_CHECK_FUNCS(X509_VERIFY_PARAM_set1_host)
-+fi
-
- # ---- GNU TLS
-
-diff -Naur a/src/network/ssl/socket.c b/src/network/ssl/socket.c
---- a/src/network/ssl/socket.c 2017-12-21 15:58:12.553249389 +0000
-+++ b/src/network/ssl/socket.c 2017-12-21 16:11:47.532190591 +0000
-@@ -7,6 +7,9 @@
- #ifdef CONFIG_OPENSSL
- #include <openssl/ssl.h>
- #include <openssl/x509v3.h>
-+#ifdef HAVE_X509_VERIFY_PARAM_SET1_HOST
-+#include <openssl/x509_vfy.h>
-+#endif
- #define USE_OPENSSL
- #elif defined(CONFIG_NSS_COMPAT_OSSL)
- #include <nss_compat_ossl/nss_compat_ossl.h>
-@@ -168,6 +171,30 @@
-
- #ifdef USE_OPENSSL
-
-+#ifdef HAVE_X509_VERIFY_PARAM_SET1_HOST
-+/* activate the OpenSSL-provided host name check */
-+static int
-+ossl_set_hostname(void *ssl, unsigned char *server_name)
-+{
-+ int ret = -1;
-+
-+ X509_VERIFY_PARAM *vpm = X509_VERIFY_PARAM_new();
-+ if (vpm) {
-+ if (X509_VERIFY_PARAM_set1_host(vpm, (char *) server_name, 0)
-+ && SSL_set1_param(ssl, vpm))
-+ {
-+ /* successfully activated the OpenSSL host name check */
-+ ret = 0;
-+ }
-+
-+ X509_VERIFY_PARAM_free(vpm);
-+ }
-+
-+ return ret;
-+}
-+
-+#else /* HAVE_X509_VERIFY_PARAM_SET1_HOST */
-+
- /** Checks whether the host component of a URI matches a host name in
- * the server certificate.
- *
-@@ -360,6 +387,7 @@
- mem_free(host_in_uri);
- return matched;
- }
-+#endif /* HAVE_X509_VERIFY_PARAM_SET1_HOST */
-
- #endif /* USE_OPENSSL */
-
-@@ -389,7 +417,10 @@
-
- default:
- socket->no_tls = !socket->no_tls;
-- socket->ops->retry(socket, connection_state(S_SSL_ERROR));
-+ if (SSL_VERIFY_FAIL_IF_NO_PEER_CERT)
-+ socket->ops->retry(socket, connection_state(S_SSL_CERTFAIL));
-+ else
-+ socket->ops->retry(socket, connection_state(S_SSL_ERROR));
- }
- }
-
-@@ -400,6 +431,9 @@
- int ret;
- unsigned char *server_name;
- struct connection *conn = socket->conn;
-+#ifdef USE_OPENSSL
-+ int (*verify_callback_ptr)(int, X509_STORE_CTX *);
-+#endif /* USE_OPENSSL */
-
- /* TODO: Recode server_name to UTF-8. */
- server_name = get_uri_string(conn->proxied_uri, URI_HOST);
-@@ -418,6 +452,23 @@
- return -1;
- }
-
-+#ifdef USE_OPENSSL
-+#ifdef HAVE_X509_VERIFY_PARAM_SET1_HOST
-+ /* activate the OpenSSL-provided host name check */
-+ if (ossl_set_hostname(socket->ssl, server_name)) {
-+ mem_free_if(server_name);
-+ socket->ops->done(socket, connection_state(S_SSL_ERROR));
-+ return -1;
-+ }
-+
-+ /* verify_callback() is not needed with X509_VERIFY_PARAM_set1_host() */
-+ verify_callback_ptr = NULL;
-+#else
-+ /* use our own callback implementing the host name check */
-+ verify_callback_ptr = verify_callback;
-+#endif
-+#endif /* USE_OPENSSL */
-+
- mem_free_if(server_name);
-
- if (socket->no_tls)
-@@ -429,7 +480,7 @@
- if (get_opt_bool("connection.ssl.cert_verify", NULL))
- SSL_set_verify(socket->ssl, SSL_VERIFY_PEER
- | SSL_VERIFY_FAIL_IF_NO_PEER_CERT,
-- verify_callback);
-+ verify_callback_ptr);
-
- if (get_opt_bool("connection.ssl.client_cert.enable", NULL)) {
- unsigned char *client_cert;
-diff -Naur a/src/network/ssl/ssl.c b/src/network/ssl/ssl.c
---- a/src/network/ssl/ssl.c 2017-12-21 15:58:12.553249389 +0000
-+++ b/src/network/ssl/ssl.c 2017-12-21 16:11:03.378949490 +0000
-@@ -109,7 +109,7 @@
-
- static union option_info openssl_options[] = {
- INIT_OPT_BOOL("connection.ssl", N_("Verify certificates"),
-- "cert_verify", 0, 0,
-+ "cert_verify", 0, 1,
- N_("Verify the peer's SSL certificate. Note that this "
- "needs extensive configuration of OpenSSL by the user.")),
-
-diff -Naur a/src/network/state.c b/src/network/state.c
---- a/src/network/state.c 2017-12-21 15:58:12.553249389 +0000
-+++ b/src/network/state.c 2017-12-21 16:10:20.579746621 +0000
-@@ -88,6 +88,7 @@
-
- #ifdef CONFIG_SSL
- {S_SSL_ERROR, N_("SSL error")},
-+ {S_SSL_CERTFAIL, N_("SSL Host Verification Failed.")},
- #else
- {S_SSL_ERROR, N_("This version of ELinks does not contain SSL/TLS support")},
- #endif
-diff -Naur a/src/network/state.h b/src/network/state.h
---- a/src/network/state.h 2017-12-21 15:58:12.553249389 +0000
-+++ b/src/network/state.h 2017-12-21 16:10:03.057254202 +0000
-@@ -67,6 +67,7 @@
- S_ENCODE_ERROR = -100017,
- S_SSL_ERROR = -100018,
- S_NO_FORCED_DNS = -100019,
-+ S_SSL_CERTFAIL = -100020,
-
- S_HTTP_ERROR = -100100,
- S_HTTP_204 = -100101,
diff --git a/network/elinks/patches/0010-force-text-wrap.patch b/network/elinks/patches/0010-force-text-wrap.patch
new file mode 100644
index 0000000000..4705cb0893
--- /dev/null
+++ b/network/elinks/patches/0010-force-text-wrap.patch
@@ -0,0 +1,26 @@
+# This wraps <pre> text too when "W" is pressed.
+# (main toggle-wrap-text)
+diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c
+index 6470c54..a40a4ef 100644
+--- a/src/document/html/renderer.c
++++ b/src/document/html/renderer.c
+@@ -1801,7 +1801,7 @@ put_chars(struct html_context *html_context, unsigned char *chars, int charslen)
+
+ renderer_context.nobreak = 0;
+
+- if (!(html_context->options->wrap || html_is_preformatted())) {
++ if (html_context->options->wrap || !html_is_preformatted()) {
+ while (part->cx > overlap(par_format)
+ && part->cx > par_format.leftmargin) {
+ int x = split_line(html_context);
+@@ -1822,9 +1822,7 @@ put_chars(struct html_context *html_context, unsigned char *chars, int charslen)
+ int_lower_bound(&part->max_width, part->xa
+ + par_format.leftmargin + par_format.rightmargin
+ - (chars[charslen - 1] == ' '
+- && !html_is_preformatted()));
+- return;
+-
++ && (html_context->options->wrap || !html_is_preformatted())));
+ }
+
+ #undef overlap
diff --git a/network/elinks/patches/0001-gopher_html_links.patch b/network/elinks/patches/0020-gopher-html-links.patch
index 38a2dd0b10..38a2dd0b10 100644
--- a/network/elinks/patches/0001-gopher_html_links.patch
+++ b/network/elinks/patches/0020-gopher-html-links.patch
diff --git a/network/elinks/patches/0002-gopher_index_queries.patch b/network/elinks/patches/0030-gopher-index-queries.patch
index 662fd13a7f..662fd13a7f 100644
--- a/network/elinks/patches/0002-gopher_index_queries.patch
+++ b/network/elinks/patches/0030-gopher-index-queries.patch
diff --git a/network/elinks/patches/0003-gopher_directory_links.patch b/network/elinks/patches/0040-gopher-directory-links.patch
index 15a89fac2f..15a89fac2f 100644
--- a/network/elinks/patches/0003-gopher_directory_links.patch
+++ b/network/elinks/patches/0040-gopher-directory-links.patch
diff --git a/network/elinks/patches/0005-gopher_newlines_tabs_entity.patch b/network/elinks/patches/0050-gopher-newlines-tabs-entity.patch
index b255fb4f98..b255fb4f98 100644
--- a/network/elinks/patches/0005-gopher_newlines_tabs_entity.patch
+++ b/network/elinks/patches/0050-gopher-newlines-tabs-entity.patch
diff --git a/network/elinks/patches/0006-gopher-indexes_nocr.patch b/network/elinks/patches/0060-gopher-indexes-nocr.patch
index 9e4a441db6..9e4a441db6 100644
--- a/network/elinks/patches/0006-gopher-indexes_nocr.patch
+++ b/network/elinks/patches/0060-gopher-indexes-nocr.patch
diff --git a/network/elinks/patches/0007-gopher-move_null.patch b/network/elinks/patches/0070-gopher-move-null.patch
index 8f259e55cf..8f259e55cf 100644
--- a/network/elinks/patches/0007-gopher-move_null.patch
+++ b/network/elinks/patches/0070-gopher-move-null.patch
diff --git a/network/elinks/patches/0008-gopher-html-entities.patch b/network/elinks/patches/0080-gopher-html-entities.patch
index 750d1a49de..750d1a49de 100644
--- a/network/elinks/patches/0008-gopher-html-entities.patch
+++ b/network/elinks/patches/0080-gopher-html-entities.patch
diff --git a/network/elinks/patches/0010-fix-lib-path.patch b/network/elinks/patches/0090-fix-lib-path.patch
index 2cdee67fbd..2cdee67fbd 100644
--- a/network/elinks/patches/0010-fix-lib-path.patch
+++ b/network/elinks/patches/0090-fix-lib-path.patch
diff --git a/network/elinks/slack-desc b/network/elinks/slack-desc
index 13590c62fd..7ae5ceddeb 100644
--- a/network/elinks/slack-desc
+++ b/network/elinks/slack-desc
@@ -13,7 +13,7 @@ elinks: web (HTTP/FTP/..) browser. ELinks can render both frames and tables,
elinks: is highly customizable, and can be extended via Lua or Guile scripts.
elinks: It is very portable and runs on a variety of platforms.
elinks:
-elinks: For more information, see: http://elinks.or.cz
+elinks: Homepage: http://elinks.cz
elinks:
elinks:
elinks:
diff --git a/network/emacs-w3m/README b/network/emacs-w3m/README
deleted file mode 100644
index 2d82a1d8b3..0000000000
--- a/network/emacs-w3m/README
+++ /dev/null
@@ -1,5 +0,0 @@
-simple Emacs interface of w3m
-
-Emacs-w3m is an interface program of w3m, a pager with WWW
-capability. It can be used as a lightweight WWW browser on
-emacsen.
diff --git a/network/emacs-w3m/emacs-w3m.SlackBuild b/network/emacs-w3m/emacs-w3m.SlackBuild
deleted file mode 100644
index 622024e9ed..0000000000
--- a/network/emacs-w3m/emacs-w3m.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for emacs-w3m
-
-# Written by Felix Pfeifer (pfeifer[dot]felix[at]googlemail[dot]com
-
-PRGNAM=emacs-w3m
-VERSION=${VERSION:-cvs_1.4.400_0.20100725}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/w3m-el-snapshot_1.4.400+0.20100725.orig.tar.gz
-cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-autoconf
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=$PKG/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install prefix=$PKG/usr
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- [BCNR]* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
diff --git a/network/emacs-w3m/emacs-w3m.info b/network/emacs-w3m/emacs-w3m.info
deleted file mode 100644
index 92b7823263..0000000000
--- a/network/emacs-w3m/emacs-w3m.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="emacs-w3m"
-VERSION="cvs_1.4.400_0.20100725"
-HOMEPAGE="http://emacs-w3m.namazu.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/w3m-el-snapshot_1.4.400+0.20100725.orig.tar.gz"
-MD5SUM="0c5da2a83ea6502bcf7b589b8c4daed8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="w3m"
-MAINTAINER="Felix Pfeifer"
-EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"
diff --git a/network/emacs-w3m/slack-desc b/network/emacs-w3m/slack-desc
deleted file mode 100644
index 63ade2db34..0000000000
--- a/network/emacs-w3m/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-emacs-w3m: emacs-w3m (simple Emacs interface of w3m)
-emacs-w3m:
-emacs-w3m: Emacs-w3m is an interface program of w3m, a pager with WWW
-emacs-w3m: capability. It can be used as a lightweight WWW browser on
-emacs-w3m: emacsen.
-emacs-w3m:
-emacs-w3m:
-emacs-w3m:
-emacs-w3m:
-emacs-w3m:
-emacs-w3m:
diff --git a/network/emailrelay/README b/network/emailrelay/README
index 47e94fa533..3a7d7b669d 100644
--- a/network/emailrelay/README
+++ b/network/emailrelay/README
@@ -1,6 +1,7 @@
-E-MailRelay is a simple SMTP proxy and store-and-forward message transfer agent
-(MTA). When running as a proxy all e-mail messages can be passed through a
-user-defined program, such as a spam filter, which can drop, re-address or edit
-messages as they pass through. When running as a store-and-forward MTA incoming
-messages are stored in a local spool directory, and then forwarded to the next
-SMTP server on request.
+E-MailRelay is a simple SMTP proxy and store-and-forward message
+transfer agent (MTA). When running as a proxy all e-mail messages
+can be passed through a user-defined program, such as a spam filter,
+which can drop, re-address or edit messages as they pass through. When
+running as a store-and-forward MTA incoming messages are stored in a
+local spool directory, and then forwarded to the next SMTP server on
+request.
diff --git a/network/emailrelay/doinst.sh b/network/emailrelay/doinst.sh
index 9dbb27e57f..ec8c4c433d 100644
--- a/network/emailrelay/doinst.sh
+++ b/network/emailrelay/doinst.sh
@@ -12,3 +12,4 @@ config() {
config etc/rc.d/rc.emailrelay.new
config etc/emailrelay.conf.new
+config etc/emailrelay.auth.new
diff --git a/network/emailrelay/emailrelay.SlackBuild b/network/emailrelay/emailrelay.SlackBuild
index b0cc841be3..894cebe387 100644
--- a/network/emailrelay/emailrelay.SlackBuild
+++ b/network/emailrelay/emailrelay.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for emailrelay
-# Copyright 2011,2013 Andrew Clemons, Wellington, New Zealand
-# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand
+# Copyright 2011,2013,2016-2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022-2024 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=emailrelay
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+tar xvf $CWD/$PRGNAM-"$VERSION"-src.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -83,7 +90,6 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-gui \
--with-openssl \
--without-mbedtls \
- --disable-install-hook \
--build=$ARCH-slackware-linux
make
@@ -96,11 +102,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+rm $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/rc.d/
mv $PKG/usr/libexec/emailrelay/init/emailrelay $PKG/etc/rc.d/rc.emailrelay.new
mv $PKG/etc/emailrelay.conf $PKG/etc/emailrelay.conf.new
+mv $PKG/etc/emailrelay.auth $PKG/etc/emailrelay.auth.new
rm -rf $PKG/usr/libexec/emailrelay/init/
rm -rf $PKG/etc/pam.d
@@ -113,4 +121,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/emailrelay/emailrelay.info b/network/emailrelay/emailrelay.info
index 5a65182816..2365dc9617 100644
--- a/network/emailrelay/emailrelay.info
+++ b/network/emailrelay/emailrelay.info
@@ -1,8 +1,8 @@
PRGNAM="emailrelay"
-VERSION="2.0.1"
-HOMEPAGE="http://emailrelay.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/emailrelay/files/emailrelay/2.0.1/emailrelay-2.0.1-src.tar.gz"
-MD5SUM="eb9d59ad77f3b98184fa4efd76e37c47"
+VERSION="2.5.2"
+HOMEPAGE="https://emailrelay.sourceforge.net/"
+DOWNLOAD="https://sourceforge.net/projects/emailrelay/files/emailrelay/2.5.2/emailrelay-2.5.2-src.tar.gz"
+MD5SUM="d24fdb7c334739218e9ad01d5655296a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/emailrelay/slack-desc b/network/emailrelay/slack-desc
index 8f22802191..076c131c58 100644
--- a/network/emailrelay/slack-desc
+++ b/network/emailrelay/slack-desc
@@ -16,4 +16,4 @@ emailrelay: through. When running as a store-and-forward MTA incoming messages
emailrelay: are stored in a local spool directory, and then forwarded to the
emailrelay: next SMTP server on request.
emailrelay:
-emailrelay:
+emailrelay: https://emailrelay.sourceforge.net/
diff --git a/network/emesene/README b/network/emesene/README
deleted file mode 100644
index 8e0f508488..0000000000
--- a/network/emesene/README
+++ /dev/null
@@ -1,3 +0,0 @@
-emesene is a platform independent instant messaging client for the
-Windows Live Messenger (tm) network. emesene is distributed free
-of charge under the GNU General Public License 2 or any later version.
diff --git a/network/emesene/emesene.SlackBuild b/network/emesene/emesene.SlackBuild
deleted file mode 100644
index f91ee3449f..0000000000
--- a/network/emesene/emesene.SlackBuild
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for emesene
-
-# Written by Giovanne Castro <giovannefc@ig.com.br>
-
-PRGNAM=emesene
-VERSION=${VERSION:-1.6.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# No flags/configure needed because it is writen in python programing language.
-ARCH=noarch
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Create link to executable program
-mkdir -p $PKG/usr/bin
-ln -sf /usr/share/emesene-$VERSION/emesene $PKG/usr/bin
-
-# Copy libraries program
-mkdir -p $PKG/usr/share/emesene-$VERSION
-cp -a *.py \
- emesene emesene.pot MANIFEST.in hotmlog.htm \
- abstract conversation_themes docs emesenelib libmimic misc \
- plugins_base po pygif pyisf smilies sound_themes themes \
- $PKG/usr/share/emesene-$VERSION
-
-# Install icon on correct places
-mkdir -p $PKG/usr/share/applications
-cat $CWD/emesene.desktop > $PKG/usr/share/applications/emesene.desktop
-mkdir -p $PKG/usr/share/pixmaps
-cat emesene-logo.png > $PKG/usr/share/pixmaps/emesene-logo.png
-
-# Copy documentation
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING GPL LGPL PSF README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/emesene/emesene.desktop b/network/emesene/emesene.desktop
deleted file mode 100644
index 8149835fdf..0000000000
--- a/network/emesene/emesene.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=emesene
-GenericName=An IM for the WLM® network
-GenericName[pt_BR]=Cliente para Windows® Live Messenger
-Exec=emesene
-Icon=emesene-logo
-Terminal=false
-Type=Application
-StartupNotify=true
-Categories=Network;InstantMessaging;
diff --git a/network/emesene/emesene.info b/network/emesene/emesene.info
deleted file mode 100644
index e847167115..0000000000
--- a/network/emesene/emesene.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="emesene"
-VERSION="1.6.3"
-HOMEPAGE="https://github.com/emesene/emesene"
-DOWNLOAD="http://sourceforge.net/projects/emesene/files/emesene-1.6.3/emesene-1.6.3.tar.gz"
-MD5SUM="0d57f88a1f10a209f9f4552a78c6b965"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libmimic wxPython"
-MAINTAINER="Giovanne Castro"
-EMAIL="giovannefc@ig.com.br"
diff --git a/network/emesene/slack-desc b/network/emesene/slack-desc
deleted file mode 100644
index cae860296c..0000000000
--- a/network/emesene/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-emesene: emesene (An IM for the WLM(tm)
-emesene:
-emesene: emesene is a platform independent instant messaging client for the
-emesene: Windows Live Messenger (tm) network. emesene is distributed free
-emesene: of charge under the GNU GPL 2 or any later version.
-emesene:
-emesene:
-emesene: Home Page: https://github.com/emesene/emesene
-emesene:
-emesene:
-emesene:
diff --git a/network/enet/README b/network/enet/README
index c7ab446f5d..bb8132d4fd 100644
--- a/network/enet/README
+++ b/network/enet/README
@@ -1,4 +1,4 @@
-ENet's purpose is to provide a relatively thin, simple and robust network
-communication layer on top of UDP (User Datagram Protocol). The primary
-feature it provides is optional reliable, in-order delivery of packets.
-
+ENet's purpose is to provide a relatively thin, simple and
+robust network communication layer on top of UDP (User Datagram
+Protocol). The primary feature it provides is optional reliable,
+in-order delivery of packets.
diff --git a/network/enet/enet.SlackBuild b/network/enet/enet.SlackBuild
index fb36c673b5..c31af6a1a2 100644
--- a/network/enet/enet.SlackBuild
+++ b/network/enet/enet.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for enet
-# Copyright 2021 S. S. Bolokanar, Bulgaria <sbolokanov@abv.bg>
+# Copyright 2021 S. S. Bolokanar, Bulgaria <bolokanar@bulgars.org>
# С. С. Болоканаръ, България
# All rights reserved.
#
@@ -25,10 +25,13 @@
# Originally written by: otzy_007 (oz@oprod.net) 2010
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=enet
VERSION=${VERSION:-1.3.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README LICENSE ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/enet/enet.info b/network/enet/enet.info
index 1eba7183ea..2d5be7c542 100644
--- a/network/enet/enet.info
+++ b/network/enet/enet.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="S. S. Bolokanar"
-EMAIL="sbolokanov@abv.bg"
+EMAIL="bolokanar@bulgars.org"
diff --git a/network/epiphany/README b/network/epiphany/README
new file mode 100644
index 0000000000..179a10f924
--- /dev/null
+++ b/network/epiphany/README
@@ -0,0 +1,5 @@
+Epiphany is a GNOME web browser based on the WebKit rendering engine.
+
+Epiphany's principles are simplicity, standards compliance, and
+software freedom.
+
diff --git a/network/epiphany/doinst.sh b/network/epiphany/doinst.sh
new file mode 100644
index 0000000000..816f2a9a60
--- /dev/null
+++ b/network/epiphany/doinst.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/network/epiphany/epiphany.SlackBuild b/network/epiphany/epiphany.SlackBuild
new file mode 100644
index 0000000000..33597f55a6
--- /dev/null
+++ b/network/epiphany/epiphany.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for gnome-web
+
+# Copyright 2022 Charadon US
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# June 7, 2023: Bumped to version 43.1, cleaned up, and taken over mtce - Bob Funk
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=epiphany
+VERSION=${VERSION:-43.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/epiphany/epiphany.info b/network/epiphany/epiphany.info
new file mode 100644
index 0000000000..7d0e28697f
--- /dev/null
+++ b/network/epiphany/epiphany.info
@@ -0,0 +1,10 @@
+PRGNAM="epiphany"
+VERSION="43.1"
+HOMEPAGE="https://wiki.gnome.org/Apps/Web"
+DOWNLOAD="https://download.gnome.org/sources/epiphany/43/epiphany-43.1.tar.xz"
+MD5SUM="b372b3a60975f0284abbb48a3d5ff0e3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="webkit2gtk4.1 libdazzle libhandy appstream-glib libportal"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/network/epiphany/slack-desc b/network/epiphany/slack-desc
new file mode 100644
index 0000000000..bceed5689e
--- /dev/null
+++ b/network/epiphany/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+epiphany: epiphany (GNOME Web)
+epiphany:
+epiphany: Epiphany, aka GNOME Web, is the GNOME projects web browser, based on
+epiphany: the WebKit rendering engine.
+epiphany:
+epiphany:
+epiphany:
+epiphany:
+epiphany:
+epiphany: https://gitlab.gnome.org/GNOME/epiphany
+epiphany:
diff --git a/network/et/et.SlackBuild b/network/et/et.SlackBuild
index 82b18acb05..893b776e4a 100644
--- a/network/et/et.SlackBuild
+++ b/network/et/et.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Eternal Terminal (et)
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=et
-VERSION=${VERSION:-5.1.8}
+VERSION=${VERSION:-6.1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,11 +38,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+HOME=$TMP/EternalTerminal-et-v$VERSION
+export HOME
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -74,6 +87,7 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DDISABLE_VCPKG=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
@@ -91,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/et/et.info b/network/et/et.info
index f740044c66..db255cb51b 100644
--- a/network/et/et.info
+++ b/network/et/et.info
@@ -1,10 +1,10 @@
PRGNAM="et"
-VERSION="5.1.8"
+VERSION="6.1.11"
HOMEPAGE="https://mistertea.github.io/EternalTerminal/"
-DOWNLOAD="https://github.com/MisterTea/EternalTerminal/archive/et-v5.1.8/EternalTerminal-et-v5.1.8.tar.gz"
-MD5SUM="27f5975561694bf27215332c158cb925"
+DOWNLOAD="https://github.com/MisterTea/EternalTerminal/archive/et-v6.1.11/EternalTerminal-et-v6.1.11.tar.gz"
+MD5SUM="41dd49bb7f2969727321fd961b0ff06d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="protobuf-c gflags libsodium"
+REQUIRES="protobuf-c gflags"
MAINTAINER="khronosschoty"
EMAIL="khronosschoty@posteo.org"
diff --git a/network/etcd/README b/network/etcd/README
deleted file mode 100644
index 17acd9492d..0000000000
--- a/network/etcd/README
+++ /dev/null
@@ -1,16 +0,0 @@
-Etcd is a distributed reliable key-value store for the most critical
-data of a distributed system, with a focus on being:
- Simple: well-defined, user-facing API (gRPC)
- Secure: automatic TLS with optional client cert authentication
- Fast: benchmarked 10,000 writes/sec
- Reliable: properly distributed using Raft
-
-Groupname and Username
-
-You must have the 'etcd' group and user to run this script,
-for example:
-
- groupadd -g 355 etcd
- useradd -d /var/lib/etcd -s /bin/sh -u 355 -g etcd etcd
-
-For some basic setup instructions, check the included 'README.SBo'.
diff --git a/network/etcd/README.SBo b/network/etcd/README.SBo
deleted file mode 100644
index 0f12c4c51e..0000000000
--- a/network/etcd/README.SBo
+++ /dev/null
@@ -1,16 +0,0 @@
-README.SBo
-==========
-
-To start etcd automatically at system startup, add the following to
-your /etc/rc.d/rc.local:
-
- if [ -x /etc/rc.d/rc.etcd ]; then
- /etc/rc.d/rc.etcd start
- fi
-
-To stop etcd automatically at system shutdown, add the following to
-your /etc/rc.d/rc.local_shutdown:
-
- if [ -x /etc/rc.d/rc.etcd ]; then
- /etc/rc.d/rc.etcd stop
- fi
diff --git a/network/etcd/doinst.sh b/network/etcd/doinst.sh
deleted file mode 100644
index 45b0c62dd7..0000000000
--- a/network/etcd/doinst.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.etcd.new
-config etc/etcd/etcd.conf.yml.new
-config etc/logrotate.d/etcd.new
diff --git a/network/etcd/etcd.SlackBuild b/network/etcd/etcd.SlackBuild
deleted file mode 100644
index bcfd212731..0000000000
--- a/network/etcd/etcd.SlackBuild
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for etcd
-
-# Copyright 2018-2019 Thibaut Notteboom, Paris, FRANCE
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=etcd
-VERSION=${VERSION:-3.3.13}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-if [ "$(grep ^etcd /etc/passwd)" = "" -o "$(grep ^etcd /etc/group)" = "" ] ; then
- printf "\nYou must have a etcd user and group.\n\nExample:\n"
- printf "\t# groupadd -g 355 etcd\n"
- printf "\t# useradd -d /var/lib/etcd -s /bin/sh -u 355 -g etcd etcd\n\n"
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-./build
-
-install -Dm755 bin/etcd $PKG/usr/bin/etcd
-install -Dm755 bin/etcdctl $PKG/usr/bin/etcdctl
-
-install -Dm644 etcd.conf.yml.sample $PKG/etc/etcd/etcd.conf.yml.new
-install -Dm644 $CWD/rc.etcd $PKG/etc/rc.d/rc.etcd.new
-install -Dm644 $CWD/etcd.logrotate $PKG/etc/logrotate.d/etcd.new
-
-install -o etcd -g etcd -d $PKG/var/lib/etcd
-install -o etcd -g etcd -d $PKG/var/log/etcd
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE Documentation/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/etcd/etcd.info b/network/etcd/etcd.info
deleted file mode 100644
index 1842125887..0000000000
--- a/network/etcd/etcd.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="etcd"
-VERSION="3.3.13"
-HOMEPAGE="https://github.com/coreos/etcd"
-DOWNLOAD="https://github.com/coreos/etcd/archive/v3.3.13/etcd-3.3.13.tar.gz"
-MD5SUM="07ef1b925ddc49ed96c5a8a9f2c7bb01"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="google-go-lang"
-MAINTAINER="Thibaut Notteboom"
-EMAIL="thibaut.notteboom@gmail.com"
diff --git a/network/etcd/etcd.logrotate b/network/etcd/etcd.logrotate
deleted file mode 100644
index 225b3a9e2d..0000000000
--- a/network/etcd/etcd.logrotate
+++ /dev/null
@@ -1,7 +0,0 @@
-/var/log/etcd/etcd.log {
- copytruncate
- daily
- rotate 7
- compress
- missingok
-}
diff --git a/network/etcd/rc.etcd b/network/etcd/rc.etcd
deleted file mode 100644
index abd95ede02..0000000000
--- a/network/etcd/rc.etcd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-ETCD_USER=etcd
-ETCD_BIN=/usr/bin/etcd
-ETCD_LOG_FILE=/var/log/etcd/etcd.log
-ETCD_CONFIG_FILE=/etc/etcd/etcd.conf.yml
-
-etcd_start() {
- echo "Starting the etcd service: $ETCD_BIN"
- su - $ETCD_USER -c "$ETCD_BIN --config-file $ETCD_CONFIG_FILE >> $ETCD_LOG_FILE 2>&1 &"
-}
-
-etcd_stop() {
- echo "Stoping the etcd service: $ETCD_BIN"
- killall etcd
-}
-
-etcd_restart() {
- etcd_stop
- sleep 1
- etcd_start
-}
-
-case "$1" in
- 'start')
- etcd_start
- ;;
- 'stop')
- etcd_stop
- ;;
- 'restart')
- etcd_restart
- ;;
- *)
- echo "Usage: $0 start|stop|restart"
- ;;
-esac
diff --git a/network/etcd/slack-desc b/network/etcd/slack-desc
deleted file mode 100644
index d069a38a0e..0000000000
--- a/network/etcd/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-etcd: etcd (key value store for shared configuration and service discovery)
-etcd:
-etcd: Etcd is a distributed reliable key-value store for the most critical
-etcd: data of a distributed system, with a focus on being:
-etcd: Simple: well-defined, user-facing API (gRPC)
-etcd: Secure: automatic TLS with optional client cert authentication
-etcd: Fast: benchmarked 10,000 writes/sec
-etcd: Reliable: properly distributed using Raft
-etcd:
-etcd:
-etcd:
diff --git a/network/etherape/README b/network/etherape/README
index b87bb97581..d69885b0d9 100644
--- a/network/etherape/README
+++ b/network/etherape/README
@@ -1,11 +1,12 @@
-EtherApe is a graphical network monitor modeled after etherman. Featuring
-Ethernet, IP, TCP, FDDI and Token Ring modes, it displays network activity
-graphically. Hosts and links change in size with traffic. Color coded
-protocols display.
+EtherApe is a graphical network monitor modeled after
+etherman. Featuring Ethernet, IP, TCP, FDDI and Token Ring modes, it
+displays network activity graphically. Hosts and links change in size
+with traffic. Color coded protocols display.
It supports Ethernet, FDDI, Token Ring, ISDN, PPP and SLIP devices. It
can filter traffic to be shown, and can read traffic from a file as well
as live from the network.
-This build will set the kdesu su wrapper when called from the GUI desktop pass.
-if not enabled etherape will not monitor the ports if not called by root.
+This build will set the kdesu su wrapper when called from the GUI
+desktop pass. If not enabled, etherape will not monitor the ports if
+not called by root.
diff --git a/network/etherape/etherape.SlackBuild b/network/etherape/etherape.SlackBuild
index 8e6f7312f2..1da85ca851 100644
--- a/network/etherape/etherape.SlackBuild
+++ b/network/etherape/etherape.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for etherape
# Copyright 2011-2013 Chris Abela, Malta
# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=etherape
-VERSION=${VERSION:-0.9.19}
+VERSION=${VERSION:-0.9.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -104,4 +114,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed -i 's/Exec=etherape/Exec=kdesu etherape/' $PKG/usr/share/applications/etherape.desktop
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/etherape/etherape.info b/network/etherape/etherape.info
index 9ae95c8d03..bef3d9b20e 100644
--- a/network/etherape/etherape.info
+++ b/network/etherape/etherape.info
@@ -1,10 +1,10 @@
PRGNAM="etherape"
-VERSION="0.9.19"
+VERSION="0.9.20"
HOMEPAGE="http://etherape.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/etherape/etherape-0.9.19.tar.gz"
-MD5SUM="eaf0326ddef2a50fdaae369aee53be2a"
+DOWNLOAD="http://downloads.sourceforge.net/etherape/etherape-0.9.20.tar.gz"
+MD5SUM="3c1769bbc0aa537d044ca9852ecafcb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="goocanvas2 c-ares"
+REQUIRES="goocanvas2"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/etherpad-lite/README b/network/etherpad-lite/README
index 5b76b1e0b0..d63c14fcaa 100644
--- a/network/etherpad-lite/README
+++ b/network/etherpad-lite/README
@@ -7,14 +7,16 @@ realtime collaborative editor. A smaller, manageable and well
documented codebase makes it easier for developers to improve the code
and contribute towards the project.
-See etherpad lite in action at http://slackpad.org
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
+See etherpad lite in action at http://slackpad.org
Optional Dependency
abiword (with AbiCommand plugin) is required to import/export pads.
-
Groupname and Username
You must have the 'etherpad' group and user to run this script,
diff --git a/network/etherpad-lite/etherpad-lite.SlackBuild b/network/etherpad-lite/etherpad-lite.SlackBuild
index 2679620b29..3074a5d8a2 100644
--- a/network/etherpad-lite/etherpad-lite.SlackBuild
+++ b/network/etherpad-lite/etherpad-lite.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for etherpad-lite
#
@@ -6,10 +6,13 @@
# license: WTFPL <http://sam.zoy.org/wtfpl/COPYING>
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=etherpad-lite
VERSION=${VERSION:-1.6.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Select etherpad's default user/group
ETHERPAD_USER=${ETHERPAD_USER:-etherpad}
@@ -19,7 +22,14 @@ ETHERPAD_GID=${ETHERPAD_GID:-264}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/etherpoke/etherpoke.SlackBuild b/network/etherpoke/etherpoke.SlackBuild
index 6a9e6357cf..65e459a5f4 100644
--- a/network/etherpoke/etherpoke.SlackBuild
+++ b/network/etherpoke/etherpoke.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for etherpoke
-# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=etherpoke
VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,13 +82,18 @@ find -L . \
mkdir -p $PKG/usr/sbin
sed -i "s#/usr/local/sbin#$PKG/usr/sbin#" src/Makefile
+sed -i '1d' README.md
+sed -i '1i Homepage: http://web.archive.org/web/20160305135410/http://codeward.org/etherpoke/' \
+ README.md
+
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md Changelog AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md Changelog AUTHORS COPYING conf/$PRGNAM.conf.example \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -86,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/etherpoke/etherpoke.info b/network/etherpoke/etherpoke.info
index 02413cd6c8..2eb0ecbb2a 100644
--- a/network/etherpoke/etherpoke.info
+++ b/network/etherpoke/etherpoke.info
@@ -1,10 +1,10 @@
PRGNAM="etherpoke"
VERSION="2.5.1"
-HOMEPAGE="https://github.com/erlcash/etherpoke"
-DOWNLOAD="https://github.com/erlcash/etherpoke/archive/2.5.1.tar.gz"
+HOMEPAGE="http://web.archive.org/web/20160305135410/http://codeward.org/etherpoke/"
+DOWNLOAD="https://github.com/erlcash/etherpoke/archive/2.5.1/etherpoke-2.5.1.tar.gz"
MD5SUM="d236dc011ec265693e96d139018d8247"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libconfig"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/etherpoke/slack-desc b/network/etherpoke/slack-desc
index b38b08a389..1a1f746ae1 100644
--- a/network/etherpoke/slack-desc
+++ b/network/etherpoke/slack-desc
@@ -12,7 +12,7 @@ etherpoke: etherpoke defines two events: SESSION_BEGIN, SESSION_END to which a
etherpoke: hook (system command) can be assigned. The event hook can be any
etherpoke: program installed in the system.
etherpoke:
-etherpoke: Homepage: https://github.com/erlcash/etherpoke
+etherpoke:
etherpoke:
etherpoke:
etherpoke:
diff --git a/network/ettercap-NG/README b/network/ettercap-NG/README
deleted file mode 100644
index d5416e6943..0000000000
--- a/network/ettercap-NG/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Ettercap is a suite for man in the middle attacks on LAN. It features
-sniffing of live connections, content filtering on the fly and many other
-interesting tricks. It is capable of intercepting traffic on a network
-segment, capturing passwords, and conducting man-in-the-middle attacks
-against a number of common protocols.
-
-It supports active and passive dissection of many protocols (even
-ciphered ones) and includes many feature for network and host analysis.
-
-It is free software, licensed under the terms of the
-GNU General Public License.
diff --git a/network/ettercap-NG/doinst.sh b/network/ettercap-NG/doinst.sh
deleted file mode 100644
index 837a7c8f69..0000000000
--- a/network/ettercap-NG/doinst.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/etter.conf.new
-
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
-fi
-
diff --git a/network/ettercap-NG/ettercap-NG.SlackBuild b/network/ettercap-NG/ettercap-NG.SlackBuild
deleted file mode 100644
index 31d14820be..0000000000
--- a/network/ettercap-NG/ettercap-NG.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackbuild for ettercap-NG
-#
-# Copyright 2008 meckafett <tom[DOT]bradish[AT]gmail[DOT]com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by the SlackBuilds.org team
-
-PRGNAM=ettercap-NG
-VERSION=${VERSION:-0.7.3}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Patch to fix "[:space:]" character class
-patch -p1 < $CWD/ettercap-NG_configure.patch
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-plugins \
- --enable-gtk \
- --build=$ARCH-slackware-linux \
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/share/applications
-cat $CWD/ettercap.desktop > $PKG/usr/share/applications/ettercap.desktop
-
-mv $PKG/etc/etter.conf $PKG/etc/etter.conf.new
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGELOG INSTALL LICENSE README* THANKS TODO* doc/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ettercap-NG/ettercap-NG.info b/network/ettercap-NG/ettercap-NG.info
deleted file mode 100644
index c0ee3773a7..0000000000
--- a/network/ettercap-NG/ettercap-NG.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ettercap-NG"
-VERSION="0.7.3"
-HOMEPAGE="http://ettercap.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ettercap/ettercap-NG-0.7.3.tar.gz"
-MD5SUM="28fb15cd024162c55249888fe1b97820"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libnet"
-MAINTAINER="meckafett"
-EMAIL="tom.bradish@gmail.com"
diff --git a/network/ettercap-NG/ettercap-NG_configure.patch b/network/ettercap-NG/ettercap-NG_configure.patch
deleted file mode 100644
index 69e9ccc4e7..0000000000
--- a/network/ettercap-NG/ettercap-NG_configure.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ettercap-NG-0.7.3/configure 2005-05-27 12:11:45.000000000 -0300
-+++ ettercap-NG-0.7.3_patched/configure 2011-04-04 20:57:49.000000000 -0300
-@@ -8346,7 +8346,7 @@
- exit 1
- fi
- gentoo_lt_version="1.5.18"
--gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
-+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
- if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
- echo "$as_me:$LINENO: result: no" >&5
- echo "${ECHO_T}no" >&6
diff --git a/network/ettercap-NG/ettercap.desktop b/network/ettercap-NG/ettercap.desktop
deleted file mode 100644
index 5ca2e8b4d1..0000000000
--- a/network/ettercap-NG/ettercap.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Ettercap GTK
-Icon=/usr/share/ettercap/ettercap.png
-Exec=/usr/bin/ettercap --gtk
-Terminal=false
-Type=Application
-Categories=Network;System;Security;GTK;
diff --git a/network/ettercap-NG/slack-desc b/network/ettercap-NG/slack-desc
deleted file mode 100644
index 6b55cb57a0..0000000000
--- a/network/ettercap-NG/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ettercap-NG: ettercap-NG (Multipurpose sniffer/interceptor/logger)
-ettercap-NG:
-ettercap-NG: Ettercap is a suite for man in the middle attacks on LAN. It
-ettercap-NG: features sniffing of live connections, content filtering on the
-ettercap-NG: fly and many other interesting tricks. It supports active and
-ettercap-NG: passive dissection of many protocols (even ciphered ones) and
-ettercap-NG: includes many feature for network and host host analysis.
-ettercap-NG:
-ettercap-NG: Homepage: http://ettercap.sourceforge.net/
-ettercap-NG:
-ettercap-NG:
diff --git a/network/ettercap/README b/network/ettercap/README
index f0bb17c1cf..c17c48eb05 100644
--- a/network/ettercap/README
+++ b/network/ettercap/README
@@ -1,8 +1,8 @@
Ettercap is a suite for man in the middle attacks on LAN. It features
-sniffing of live connections, content filtering on the fly and many other
-interesting tricks. It is capable of intercepting traffic on a network
-segment, capturing passwords, and conducting man-in-the-middle attacks
-against a number of common protocols.
+sniffing of live connections, content filtering on the fly and many
+other interesting tricks. It is capable of intercepting traffic on a
+network segment, capturing passwords, and conducting man-in-the-middle
+attacks against a number of common protocols.
It supports active and passive dissection of many protocols (even
ciphered ones) and includes many feature for network and host analysis.
@@ -10,8 +10,10 @@ ciphered ones) and includes many feature for network and host analysis.
It is free software, licensed under the terms of the
GNU General Public License.
-The build script support the following switches:
-IPV6=ON (default: OFF) to enable ipv6 support
-LUA=ON (default: OFF) to enable lua support (experimental), requires luajit
+The build script supports the following environment variables:
+
+IPV6=ON to enable ipv6 support
+
+LUA=ON to enable experimental lua support, requires luajit
GeoIP is an optional dependency.
diff --git a/network/ettercap/curl-8.patch b/network/ettercap/curl-8.patch
new file mode 100644
index 0000000000..52426d3db7
--- /dev/null
+++ b/network/ettercap/curl-8.patch
@@ -0,0 +1,34 @@
+From 40534662043b7d831d1f6c70448afa9d374a9b63 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 23 Mar 2023 10:23:14 -0700
+Subject: [PATCH] sslstrip: Enhance the libcurl version check to consider
+ version 8+
+
+Lately curl has released version 8 and hence LIBCURL_VERSION_MAJOR is
+reset to 0, current check assumes major version to be 7 at max and hence
+on systems with libcurl 8+ this check breaks and build fails
+
+Fixes
+
+TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/ettercap/0.8.3.1-r0/git/plug-ins/sslstrip/sslstrip.c:57:2: error: libcurl 7.26.0 or up is needed
+ ^
+1 error generated.
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ plug-ins/sslstrip/sslstrip.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plug-ins/sslstrip/sslstrip.c b/plug-ins/sslstrip/sslstrip.c
+index 327bf58af..d9b67c8b6 100644
+--- a/plug-ins/sslstrip/sslstrip.c
++++ b/plug-ins/sslstrip/sslstrip.c
+@@ -51,7 +51,7 @@
+
+ #include <curl/curl.h>
+
+-#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26)
++#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR < 26)
+ #error libcurl 7.26.0 or up is needed
+ #endif
+
diff --git a/network/ettercap/ettercap.SlackBuild b/network/ettercap/ettercap.SlackBuild
index d331932033..c2aff5dbf0 100644
--- a/network/ettercap/ettercap.SlackBuild
+++ b/network/ettercap/ettercap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ettercap
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ettercap
VERSION=${VERSION:-0.8.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,6 +82,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/curl-8.patch
+
mkdir -p build
cd build
cmake \
@@ -107,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ettercap/ettercap.info b/network/ettercap/ettercap.info
index 5fdfb8eaef..b403b95b8f 100644
--- a/network/ettercap/ettercap.info
+++ b/network/ettercap/ettercap.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Ettercap/ettercap/releases/download/v0.8.3.1/etterc
MD5SUM="aec144118be53679f906843ff3054ee0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libnet"
+REQUIRES="GeoIP libnet"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/network/exim/README b/network/exim/README
index 64476d0c07..450792ca2a 100644
--- a/network/exim/README
+++ b/network/exim/README
@@ -1,8 +1,9 @@
-Exim is a mail transfer agent (MTA) used on Unix-like operating systems.
-It is freely available under the GNU GPL and it aims to be a general and
-flexible mailer with extensive facilities for checking incoming e-mail and
-can be integrated with other email tools such as Clamav, Spamassassin,
-Bogofilter, and others available at Slackbuilds.org.
+Exim is a mail transfer agent (MTA) used on Unix-like operating
+systems. It is freely available under the GNU GPL and it aims
+to be a general and flexible mailer with extensive facilities for
+checking incoming e-mail and can be integrated with other email tools
+such as Clamav, Spamassassin, Bogofilter, and others available at
+Slackbuilds.org.
Exim was orginally written by Philip Hazel for use in the University of
Cambridge Computing Services e-mail systems.
diff --git a/network/exim/README.SBo b/network/exim/README.SBo
index b72f41afb4..c05477c707 100644
--- a/network/exim/README.SBo
+++ b/network/exim/README.SBo
@@ -27,6 +27,6 @@ For including the JSON, PostgreSQL and Redis lookups you'll need the
"jansson", "hiredis" and "postgresql" packages respectively, all available
from SlackBuilds.org.
-WARNING: this package is intended as a drop-in replacement for Sendmail.
+WARNING: this package is intended as a drop-in replacement for Postfix.
As a result, there are some inevitable filename conflicts between
-Sendmail and Exim. REMOVE SENDMAIL BEFORE INSTALLING THIS PACKAGE!
+Postfix and Exim. REMOVE POSTFIX BEFORE INSTALLING THIS PACKAGE!
diff --git a/network/exim/contrib/exim.cron b/network/exim/contrib/exim.cron
index b4b7751ea8..ca15f5bb17 100644
--- a/network/exim/contrib/exim.cron
+++ b/network/exim/contrib/exim.cron
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Exim's spool directory
SPOOL=/var/spool/exim
diff --git a/network/exim/contrib/rc.exim b/network/exim/contrib/rc.exim
index d448ddd708..72ff9cccd1 100644
--- a/network/exim/contrib/rc.exim
+++ b/network/exim/contrib/rc.exim
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Run SMTP listening daemon, do queue runs every 10 mins.
EXIM_ARGS="-bd -q10m"
diff --git a/network/exim/exim.Makefile b/network/exim/exim.Makefile
index 5691e422f5..4494a160fc 100644
--- a/network/exim/exim.Makefile
+++ b/network/exim/exim.Makefile
@@ -1,6 +1,8 @@
##################################################
# The Exim mail transport agent #
##################################################
+# Copyright (c) The Exim Maintainers 2022 - 2023
+# SPDX-License-Identifier: GPL-2.0-or-later
# This is the template for Exim's main build-time configuration file. It
# contains settings that are independent of any operating system. These are
@@ -198,7 +200,7 @@ SPOOL_DIRECTORY=/var/spool/exim
# the libraries and headers are installed, as the pkg-config .pc
# specification should include all -L/-I information necessary.
# Enabling the USE_*_PC options should be sufficient. If not using
-# pkg-config, then you have to specify the libraries, and you mmight
+# pkg-config, then you have to specify the libraries, and you might
# need to specify the locations too.
# Uncomment the following lines if you want
@@ -207,7 +209,7 @@ SPOOL_DIRECTORY=/var/spool/exim
# Unless you do this, you must define one of USE_OPENSSL or USE_GNUTLS
# below.
-# If you are buliding with TLS, the library configuration must be done:
+# If you are building with TLS, the library configuration must be done:
# Uncomment this if you are using OpenSSL
USE_OPENSSL=yes
@@ -276,6 +278,9 @@ USE_OPENSSL_PC=openssl
# specified in INCLUDE.
+# Uncomment the following line to remove support for TLS Resumption
+# DISABLE_TLS_RESUME=yes
+
###############################################################################
# THESE ARE THINGS YOU PROBABLY WANT TO SPECIFY #
@@ -396,7 +401,7 @@ SUPPORT_MBX=yes
# For Redis you need to have hiredis installed on your system
# (https://github.com/redis/hiredis).
# Depending on where it is installed you may have to edit the CFLAGS
-# (often += -I/usr/local/include) and LDFLAGS (-lhiredis) lines.
+# (often += -I/usr/local/include) and LOOKUP_LIBS (-lhiredis) lines.
# If your system has pkg-config then the _INCLUDE/_LIBS setting can be
# handled for you automatically by also defining the _PC variable to reference
@@ -412,6 +417,8 @@ LOOKUP_DSEARCH=yes
# LOOKUP_JSON=yes
LOOKUP_JSON_PC=jansson
# LOOKUP_LDAP=yes
+# LOOKUP_LMDB=yes
+
# LOOKUP_MYSQL=yes
# LOOKUP_MYSQL_PC=mariadb
# LOOKUP_NIS=yes
@@ -455,27 +462,27 @@ LDAP_LIB_TYPE=OPENLDAP2
#------------------------------------------------------------------------------
-# The PCRE library is required for Exim. There is no longer an embedded
+# The PCRE2 library is required for Exim. There is no longer an embedded
# version of the PCRE library included with the source code, instead you
-# must use a system library or build your own copy of PCRE.
+# must use a system library or build your own copy of PCRE2.
# In either case you must specify the library link info here. If the
-# PCRE header files are not in the standard search path you must also
+# PCRE2 header files are not in the standard search path you must also
# modify the INCLUDE path (above)
#
# Use PCRE_CONFIG to query the pcre-config command (first found in $PATH)
# to find the include files and libraries, else use PCRE_LIBS and set INCLUDE
# too if needed.
-PCRE_CONFIG=yes
-# PCRE_LIBS=-lpcre
+PCRE2_CONFIG=yes
+# PCRE_LIBS=-lpcre2
#------------------------------------------------------------------------------
-# Comment out the following line to remove DANE support
-# Note: Enabling this unconditionally overrides DISABLE_DNSSEC
-# forces you to have SUPPORT_TLS enabled (the default). For DANE under
-# GnuTLS we need an additional library. See TLS_LIBS or USE_GNUTLS_PC
-# below.
+# Comment out the following line to remove DANE support.
+# Note: DANE support requires DNSSEC support (the default) and
+# SUPPORT_TLS (the default). For DANE under GnuTLS we need an additional
+# library. See TLS_LIBS or USE_GNUTLS_PC below.
+
SUPPORT_DANE=yes
#------------------------------------------------------------------------------
@@ -490,7 +497,15 @@ SUPPORT_DANE=yes
# You do not need to use this for any lookup information added via pkg-config.
# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include
-# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3
+# LOOKUP_INCLUDE +=-I /usr/local/include
+# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3 -llmdb
+
+#------------------------------------------------------------------------------
+# If you included LOOKUP_LMDB above you will need the library. Depending
+# on where installed you may also need an include directory
+#
+# LOOKUP_INCLUDE += -I/usr/local/include
+# LOOKUP_LIBS += -llmdb
# ...or just enable your favourite lookups and let GNUmake handle the rest
@@ -569,18 +584,25 @@ DISABLE_MAL_MKS=yes
# By default, Exim has support for checking the AD bit in a DNS response, to
# determine if DNSSEC validation was successful. If your system libraries
# do not support that bit, then set DISABLE_DNSSEC to "yes"
-# Note: Enabling SUPPORT_DANE unconditionally overrides this setting.
+# Note: DNSSEC is required for DANE support.
# DISABLE_DNSSEC=yes
# To disable support for Events set DISABLE_EVENT to "yes"
-
# DISABLE_EVENT=yes
-# Uncomment this line to include support for early pipelining, per
+# Uncomment this line to remove support for early pipelining, per
# https://datatracker.ietf.org/doc/draft-harris-early-pipe/
-# SUPPORT_PIPE_CONNECT=yes
+# DISABLE_PIPE_CONNECT=yes
+
+
+# Uncomment the following to remove the fast-ramp two-phase-queue-run support
+# DISABLE_QUEUE_RAMP=yes
+
+# Uncomment the following lines to add SRS (Sender Rewriting Scheme) support
+# using only native facilities.
+SUPPORT_SRS=yes
#------------------------------------------------------------------------------
@@ -590,23 +612,10 @@ DISABLE_MAL_MKS=yes
# Uncomment the following line to add support for talking to dccifd. This
# defaults the socket path to /usr/local/dcc/var/dccifd.
-# Doing so will also explicitly turn on the WITH_CONTENT_SCAN option.
+# This support also requires WITH_CONTENT_SCAN enabled.
# EXPERIMENTAL_DCC=yes
-# Uncomment the following lines to add SRS (Sender rewriting scheme) support.
-# You need to have libsrs_alt installed on your system (srs.mirtol.com).
-# Depending on where it is installed you may have to edit the CFLAGS and
-# LDFLAGS lines.
-
-# EXPERIMENTAL_SRS=yes
-# CFLAGS += -I/usr/local/include
-# LDFLAGS += -lsrs_alt
-
-# Uncomment the following lines to add SRS (Sender rewriting scheme) support
-# using only native facilities.
-# EXPERIMENTAL_SRS_NATIVE=yes
-
# Uncomment the following line to add DMARC checking capability, implemented
# using libopendmarc libraries. You must have SPF and DKIM support enabled also.
# SUPPORT_DMARC=yes
@@ -615,6 +624,11 @@ DISABLE_MAL_MKS=yes
# Uncomment the following if you need to change the default. You can
# override it at runtime (main config option dmarc_tld_file)
# DMARC_TLD_FILE=/etc/exim/opendmarc.tlds
+#
+# Library version libopendmarc-1.4.1-1.fc33.x86_64 (on Fedora 33) is known broken;
+# 1.3.2-3 works. It seems that the OpenDMARC project broke their API.
+# Use this option if you need to build with an old library (1.3.x)
+# DMARC_API=100300
# Uncomment the following line to add ARC (Authenticated Received Chain)
# support. You must have SPF and DKIM support enabled also.
@@ -632,21 +646,11 @@ DISABLE_MAL_MKS=yes
# Uncomment the following to include extra information in fail DSN message (bounces)
# EXPERIMENTAL_DSN_INFO=yes
-# Uncomment the following to add LMDB lookup support
-# You need to have LMDB installed on your system (https://github.com/LMDB/lmdb)
-# Depending on where it is installed you may have to edit the CFLAGS and LDFLAGS lines.
-# EXPERIMENTAL_LMDB=yes
-# CFLAGS += -I/usr/local/include
-# LDFLAGS += -llmdb
-
# Uncomment the following line to add queuefile transport support
# EXPERIMENTAL_QUEUEFILE=yes
-
-# Uncomment the following line to include support for TLS Resumption
-# EXPERIMENTAL_TLS_RESUME=yes
-
-# Uncomment the following to include the fast-ramp two-phase-queue-run support
-# EXPERIMENTAL_QUEUE_RAMP=yes
+#
+# Uncomment the following line to add XCLIENT support
+# EXPERIMENTAL_XCLIENT=yes
###############################################################################
# THESE ARE THINGS YOU MIGHT WANT TO SPECIFY #
@@ -661,6 +665,29 @@ DISABLE_MAL_MKS=yes
#------------------------------------------------------------------------------
+# Which DBM library to use. If you do not specify a specific here, you get
+# the platform default. Uncomment the pair of lines as preferred.
+# Note: when changing an installation from one DB type to another all the
+# hints-DB files, in spool/db, should be removed.
+
+# gdbm in native mode
+# USE_GDBM = yes
+# DBMLIB = -lgdbm
+
+# gdbm in Berkeley-DB compatibility mode
+# USE_NDBM = yes
+# DBMLIB = -lgdbm -lgdbm_compat
+
+# tdb
+# USE_TDB = yes
+# DBMLIB = -ltdb
+
+# Berkeley DB
+# USE_DB = yes
+# DBMLIB = -ldb
+
+
+#------------------------------------------------------------------------------
# Although Exim is normally a setuid program, owned by root, it refuses to run
# local deliveries as root by default. There is a runtime option called
# "never_users" which lists the users that must never be used for local
@@ -1042,10 +1069,10 @@ EXTRALIBS += -ldl
# If you want IDNA2008 mappings per RFCs 5890, 6530 and 6533, you additionally
# need libidn2 and SUPPORT_I18N_2008.
-SUPPORT_I18N=yes
-LDFLAGS += -lidn
-# SUPPORT_I18N_2008=yes
-# LDFLAGS += -lidn -lidn2
+# SUPPORT_I18N=yes
+# LDFLAGS += -lidn
+SUPPORT_I18N_2008=yes
+LDFLAGS += -lidn -lidn2
#------------------------------------------------------------------------------
@@ -1508,4 +1535,9 @@ PID_FILE_PATH=/var/run/exim.pid
# For development, add this to include code to time various stages and report.
# CFLAGS += -DMEASURE_TIMING
+# For a very slightly smaller build, for constrained systems, uncomment this.
+# The feature involved is purely for debugging.
+
+# DISABLE_CLIENT_CMD_LOG=yes
+
# End of EDITME for Exim 4.
diff --git a/network/exim/exim.SlackBuild b/network/exim/exim.SlackBuild
index a9c26a8899..c67e765b50 100644
--- a/network/exim/exim.SlackBuild
+++ b/network/exim/exim.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Exim
-# Copyright 2012-2020 Thomas Morper, Augsburg, Germany
+# Copyright 2012-2024 Thomas Morper, Nürnberg, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exim
-VERSION=${VERSION:-4.94}
+VERSION=${VERSION:-4.97.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# We need this when building/testing release candidates.
+SRCVERSION=${VERSION/_/-}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,9 +77,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.xz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -98,8 +108,8 @@ mv $(readlink -f $PKG/usr/sbin/exim) $PKG/usr/sbin/exim
# Additional symlinks provide compatibility with sendmail.
mkdir -p $PKG/usr/lib # no LIBDIRSUFFIX here!
-( cd $PKG/usr/lib; ln -s /usr/sbin/exim sendmail )
-( cd $PKG/usr/sbin; ln -s /usr/sbin/exim sendmail )
+ln -s ../sbin/exim $PKG/usr/lib/sendmail
+ln -s exim $PKG/usr/sbin/sendmail
# Install accompanying scripts and configs.
mkdir -p $PKG/etc/{cron.daily,logrotate.d,rc.d}
@@ -128,8 +138,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Adjust version info for release candidates.
-VERSION=${VERSION/-/_}
-
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/exim/exim.info b/network/exim/exim.info
index 0aaea452ce..2f1f2df270 100644
--- a/network/exim/exim.info
+++ b/network/exim/exim.info
@@ -1,10 +1,10 @@
PRGNAM="exim"
-VERSION="4.94"
+VERSION="4.97.1"
HOMEPAGE="https://www.exim.org/"
-DOWNLOAD="https://ftp.exim.org/pub/exim/exim4/exim-4.94.tar.xz"
-MD5SUM="4d4bfd56e2e9f25ceab23f623ed2f84a"
+DOWNLOAD="https://ftp.exim.org/pub/exim/exim4/exim-4.97.1.tar.xz"
+MD5SUM="3fd68ae37720767619dd305b047fe8f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES="%README% perl-File-FcntlLock"
MAINTAINER="Thomas Morper"
EMAIL="thomas@beingboiled.info"
diff --git a/network/fail2ban/README.SBo b/network/fail2ban/README.SBo
index 1771505629..2cd74a4b01 100644
--- a/network/fail2ban/README.SBo
+++ b/network/fail2ban/README.SBo
@@ -27,6 +27,16 @@ Making modifications to .local files is the recommended practice as per the
software manual. Each .conf file is overridden by equivalent .local file.
Please refer Configuration section in fail2ban manual.
+NOTE: the default is /etc/ssh/sshd_config is
+
+SyslogFacility AUTH
+
+and that means that sshd logs failed logins in /var/log/messages via syslog.
+
+fail2ban instead looks for failed logins in /var/log/secure and to have sshd
+send them there via syslog the directive AUTHPRIV is needed.
+
+
Changelog:
08/03/2008
diff --git a/network/fail2ban/config/paths-slackware.conf b/network/fail2ban/config/paths-slackware.conf
index 6bfd505303..d0fb0d65cc 100644
--- a/network/fail2ban/config/paths-slackware.conf
+++ b/network/fail2ban/config/paths-slackware.conf
@@ -24,9 +24,9 @@ syslog_daemon = /var/log/messages
syslog_local0 = /var/log/messages
-apache_error_log = /var/log/httpd/*error.log
+apache_error_log = /var/log/httpd/*error_log
-apache_access_log = /var/log/httpd/*access.log
+apache_access_log = /var/log/httpd/*access_log
# Default for Slackware provided below,
# please change according to your proftpd config file.
diff --git a/network/fail2ban/doinst.sh b/network/fail2ban/doinst.sh
index ca16775b2e..1239d0323e 100644
--- a/network/fail2ban/doinst.sh
+++ b/network/fail2ban/doinst.sh
@@ -24,15 +24,4 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.fail2ban.new
config etc/logrotate.d/fail2ban.new
-config etc/fail2ban/fail2ban.conf.new
-config etc/fail2ban/jail.conf.new
-config etc/fail2ban/paths-common.conf.new
-config etc/fail2ban/paths-slackware.conf.new
config etc/bash_completion.d/fail2ban.new
-
-for conf_file in etc/fail2ban/action.d/*.new; do
- config $conf_file
-done
-for conf_file in etc/fail2ban/filter.d/*.new; do
- config $conf_file
-done
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild
index f5e29b948b..a08000e8f7 100644
--- a/network/fail2ban/fail2ban.SlackBuild
+++ b/network/fail2ban/fail2ban.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for fail2ban
# Git Hub: https://github.com/fail2ban/fail2ban/
+# Copyright (c) 2024, Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright (c) 2008-2018, Nishant Limbachia, Hoffman Estates, IL, USA
# <nishant _AT_ mnspace _DOT_ net>
# All rights reserved.
@@ -25,12 +26,15 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="fail2ban"
-VERSION=${VERSION:-0.10.4}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-BASH_COMPLETION=${BASH_COMPLETION:-no}
+BASH_COMPLETION=${BASH_COMPLETION:-yes}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,6 +68,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i 's|self.install_dir|"/usr/bin"|' setup.py
+sed -i 's/^before = paths-debian.conf/before = paths-slackware.conf/' config/jail.conf
+
+./fail2ban-2to3
python setup.py install --root=$PKG
# installing man pages
@@ -68,15 +80,6 @@ install -m 0644 man/fail2ban-client.1 man/fail2ban-regex.1 \
man/fail2ban-server.1 man/fail2ban.1 man/fail2ban-testcases.1 $PKG/usr/man/man1
install -m 0644 man/jail.conf.5 $PKG/usr/man/man5
-# move config files to .new
-( cd $PKG/etc/fail2ban
- for file in $(find . -type f); do
- mv $file "$file.new"
- done
-)
-
-( cd $PKG/etc/fail2ban; patch -p0 < $CWD/patches/jail.conf.patch )
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -91,17 +94,20 @@ rm -f $PKG/etc/fail2ban/paths-{arch,debian,fedora,freebsd,osx,opensuse}.conf.new
# install bash completion script if requested
if [ "$BASH_COMPLETION" = "yes" ]; then
- install -D -m 0644 files/bash-completion $PKG/etc/bash_completion.d/fail2ban.new
+ install -D -m 0644 files/bash-completion $PKG/usr/share/bash-completion/completions/fail2ban
fi
# install logrotate script
install -D -m 0644 files/fail2ban-logrotate $PKG/etc/logrotate.d/fail2ban.new
-# make directory for socket, pid file & db file
-mkdir -p $PKG/var/{run,lib}/fail2ban
+# make directory for db file
+mkdir -p $PKG/var/lib/fail2ban
# remove /usr/share/doc
-rm -fr $PKG/usr/share
+rm -fr $PKG/usr/share/doc
+
+# remove the /run directory in the package
+rm -fr $PKG/run
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.md COPYING ChangeLog DEVELOP FILTERS MANIFEST \
@@ -114,5 +120,15 @@ mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
+# Don't clobber existing configuration files
+for i in etc/fail2ban/{,action.d,fail2ban.d,filter.d,jail.d}; do
+ for j in $(ls -1 $PKG/$i); do
+ if [ ! -d $PKG/$i/$j ]; then
+ mv $PKG/$i/$j $PKG/$i/$j.new
+ echo "config $i/$j.new" >> $PKG/install/doinst.sh
+ fi
+ done
+done
+
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fail2ban/fail2ban.info b/network/fail2ban/fail2ban.info
index 9663fc7f8c..5afbf1a1fa 100644
--- a/network/fail2ban/fail2ban.info
+++ b/network/fail2ban/fail2ban.info
@@ -1,10 +1,10 @@
PRGNAM="fail2ban"
-VERSION="0.10.4"
+VERSION="1.0.2"
HOMEPAGE="https://github.com/fail2ban/fail2ban/"
-DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/0.10.4/fail2ban-0.10.4.tar.gz"
-MD5SUM="5df67c74c14e6da26df8e798deefca13"
+DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/1.0.2/fail2ban-1.0.2.tar.gz"
+MD5SUM="96582af04e60bf56617da9f9cbda0aa7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Nishant Limbachia"
-EMAIL="nishant@mnspace.net"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/network/fail2ban/patches/jail.conf.patch b/network/fail2ban/patches/jail.conf.patch
deleted file mode 100644
index f5bd45c226..0000000000
--- a/network/fail2ban/patches/jail.conf.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- jail.conf.orig 2015-06-06 21:28:47.750986224 -0500
-+++ jail.conf.new 2015-06-06 21:29:11.158336003 -0500
-@@ -33,7 +33,7 @@
- [INCLUDES]
-
- #before = paths-distro.conf
--before = paths-debian.conf
-+before = paths-slackware.conf
-
- # The DEFAULT allows a global definition of the options. They can be overridden
- # in each jail afterwards.
diff --git a/network/falkon/README b/network/falkon/README
deleted file mode 100644
index 3e46f00e6c..0000000000
--- a/network/falkon/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Falkon is a KDE web browser using QtWebEngine rendering engine,
-previously known as QupZilla. It aims to be a lightweight web browser
-available through all major platforms.
-This project has been originally started only for educational
-purposes, but from its start, Falkon has grown into a feature-rich
-browser.
-
-Falkon has all standard functions you expect from a web browser.
-It includes bookmarks, history (both also in sidebar) and tabs.
-Above that, it has by default enabled blocking ads with a built-in
-AdBlock plugin.
diff --git a/network/falkon/falkon.SlackBuild b/network/falkon/falkon.SlackBuild
deleted file mode 100644
index df6df2e5ae..0000000000
--- a/network/falkon/falkon.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for falkon
-
-# Copyright 2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=falkon
-VERSION=${VERSION:-3.0.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Handling this directory requires the KDE5 Framework
-rm -fR po
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/falkon/falkon.info b/network/falkon/falkon.info
deleted file mode 100644
index 39afba46f1..0000000000
--- a/network/falkon/falkon.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="falkon"
-VERSION="3.0.1"
-HOMEPAGE="https://www.falkon.org"
-DOWNLOAD="https://download.kde.org/stable/falkon/3.0.1/falkon-3.0.1.tar.xz"
-MD5SUM="c6fb6433ac0f228667e2f763c02317c5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="extra-cmake-modules qt5"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/network/falkon/slack-desc b/network/falkon/slack-desc
deleted file mode 100644
index f2d05d57bf..0000000000
--- a/network/falkon/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-falkon: falkon (lightweight web browser)
-falkon:
-falkon: Falkon is a KDE web browser using QtWebEngine rendering engine,
-falkon: previously known as QupZilla. It aims to be a lightweight web browser
-falkon: available through all major platforms.
-falkon: This project has been originally started only for educational
-falkon: purposes, but from its start, Falkon has grown into a feature-rich
-falkon: browser.
-falkon:
-falkon: Homepage: https://www.falkon.org
-falkon:
diff --git a/network/fcgiwrap/fcgiwrap.SlackBuild b/network/fcgiwrap/fcgiwrap.SlackBuild
index 9d64052b68..34bef28cac 100644
--- a/network/fcgiwrap/fcgiwrap.SlackBuild
+++ b/network/fcgiwrap/fcgiwrap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fcgiwrap
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fcgiwrap
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
autoreconf -i
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=implicit-fallthrough=" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fcgiwrap/fcgiwrap.info b/network/fcgiwrap/fcgiwrap.info
index 77c4681bdb..55a372a6d8 100644
--- a/network/fcgiwrap/fcgiwrap.info
+++ b/network/fcgiwrap/fcgiwrap.info
@@ -1,7 +1,7 @@
PRGNAM="fcgiwrap"
VERSION="1.1.0"
HOMEPAGE="https://github.com/gnosek/fcgiwrap"
-DOWNLOAD="https://github.com/gnosek/fcgiwrap/archive/1.1.0.tar.gz"
+DOWNLOAD="https://github.com/gnosek/fcgiwrap/archive/1.1.0/fcgiwrap-1.1.0.tar.gz"
MD5SUM="d14f56bda6758a6e02aa7b3fb125cbce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/fdm/README b/network/fdm/README
index a426739e87..0c6db1a5b3 100644
--- a/network/fdm/README
+++ b/network/fdm/README
@@ -1,12 +1,13 @@
-fdm is a program to fetch mail and deliver it in various ways depending on a
-user-supplied ruleset. Mail may be fetched from stdin, IMAP or POP3 servers,
-or from local maildirs, and filtered based on whether it matches a regexp,
-its size or age, or the output of a shell command. It can be rewritten by
-an external process, dropped, left on the server, or delivered into maildirs,
-mboxes, to a file or pipe, or any combination.
+fdm is a program to fetch mail and deliver it in various ways
+depending on a user-supplied ruleset. Mail may be fetched from stdin,
+IMAP or POP3 servers, or from local maildirs, and filtered based on
+whether it matches a regexp, its size or age, or the output of a shell
+command. It can be rewritten by an external process, dropped, left on
+the server, or delivered into maildirs, mboxes, to a file or pipe, or
+any combination.
-fdm is designed to be lightweight but powerful, with a compact but clear
-configuration syntax. It is primarily designed for single-user uses but may
-also be configured to deliver mail in a multi-user setup. In this case,
-it uses privilege separation to minimise the amount of code running as
-the root user.
+fdm is designed to be lightweight but powerful, with a compact but
+clear configuration syntax. It is primarily designed for single-user
+uses but may also be configured to deliver mail in a multi-user setup.
+In this case, it uses privilege separation to minimise the amount of
+code running as the root user.
diff --git a/network/fdm/fdm.SlackBuild b/network/fdm/fdm.SlackBuild
index 4075e7519a..6331be088c 100644
--- a/network/fdm/fdm.SlackBuild
+++ b/network/fdm/fdm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fdm
@@ -20,26 +20,36 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fdm
-VERSION=${VERSION:-1.9}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fdm/fdm.info b/network/fdm/fdm.info
index 5f27b079a6..61faf75f70 100644
--- a/network/fdm/fdm.info
+++ b/network/fdm/fdm.info
@@ -1,8 +1,8 @@
PRGNAM="fdm"
-VERSION="1.9"
+VERSION="2.0"
HOMEPAGE="https://github.com/nicm/fdm"
-DOWNLOAD="https://github.com/nicm/fdm/releases/download/1.9/fdm-1.9.tar.gz"
-MD5SUM="da8e2154621f85f426e2b808390f7ca7"
+DOWNLOAD="https://github.com/nicm/fdm/releases/download/2.0/fdm-2.0.tar.gz"
+MD5SUM="879affa3b30e8cc19c7a7f379a688b77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/fdns/README b/network/fdns/README
new file mode 100644
index 0000000000..7fd34b88c5
--- /dev/null
+++ b/network/fdns/README
@@ -0,0 +1,12 @@
+FDNS
+
+FDNS was designed to run as a local DoH proxy on a Linux desktop,
+or as a server for a small network. Lean and mean, it protects the
+computers against some of the most common cyber threats, all while
+improving the privacy and the system performance.
+
+FDNS is written in C and licensed under GPLv3. The number one job
+is privacy. We use only DoH services from non-logging providers,
+while preferring small operators such as open-source enthusiasts
+and privacy-oriented non-profit organizations.
+
diff --git a/network/fdns/fdns.SlackBuild b/network/fdns/fdns.SlackBuild
new file mode 100644
index 0000000000..ae70518aed
--- /dev/null
+++ b/network/fdns/fdns.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for fdns
+
+#
+# Copyright 2020 Andreo F. Rissardo <andreotec@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=fdns
+VERSION=${VERSION:-0.9.68}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+sed -i "s|lib/fdns|lib${LIBDIRSUFFIX}/fdns|" Makefile
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+cp $TMP/$PRGNAM-$VERSION/{COPYING,README,RELNOTES} $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fdns/fdns.info b/network/fdns/fdns.info
new file mode 100644
index 0000000000..105257e186
--- /dev/null
+++ b/network/fdns/fdns.info
@@ -0,0 +1,10 @@
+PRGNAM="fdns"
+VERSION="0.9.68"
+HOMEPAGE="https://firejaildns.wordpress.com/"
+DOWNLOAD="https://github.com/netblue30/fdns/releases/download/v0.9.68/fdns-0.9.68.tar.xz"
+MD5SUM="041fd6610340b6b2a3c56446ccdff6c1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andreo F. Rissardo"
+EMAIL="andreotec@gmail.com"
diff --git a/network/fdns/slack-desc b/network/fdns/slack-desc
new file mode 100644
index 0000000000..8b7421c005
--- /dev/null
+++ b/network/fdns/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fdns: fdns (Firejail DNS-over-HTTPS Proxy Server)
+fdns:
+fdns: FDNS was designed to run as a local DoH proxy on a Linux desktop,
+fdns: or as a server for a small network. Lean and mean, it protects the
+fdns: computers against some of the most common cyber threats, all while
+fdns: improving the privacy and the system performance. FDNS is written in
+fdns: C and licensed under GPLv3. The number one job is privacy. The number
+fdns: one job is privacy.
+fdns:
+fdns: https://firejaildns.wordpress.com
+fdns:
diff --git a/network/feather/README b/network/feather/README
new file mode 100644
index 0000000000..a5154540f8
--- /dev/null
+++ b/network/feather/README
@@ -0,0 +1,27 @@
+Feather is a free, open-source Monero wallet for Linux, Tails, macOS
+and Windows. It is written in C++ with the Qt framework.
+
+Copyright (c) 2020-2023, The Monero Project.
+
+Various features can be enabled/disabled by passing variables to the
+script (VAR=yes/no ./feather.SlackBuild):
+LOCALMONERO=yes|no (default: yes)
+ (disable LocalMonero feature)
+XMRIG=yes|no (default: yes)
+ (disable XMRig feature)
+DONATE_BEG=yes|no (default: yes)
+ (disable the dreaded donate requests)
+USE_DEVICE_TREZOR=yes|no (default:yes)
+ (disable Trezor hardware wallet support)
+WITH_SCANNER=yes|no (default:no)
+ (enable the webcam QR code scanner)
+
+As of version 2.5.2 of Feather, qt6 is now a mandatory dependency.
+
+tor is another optional dependency; a Tor daemon is required to
+connect to .onion nodes and the websocket server.
+
+If the XMRig feature is enabled, you can point to a system-wide binary
+for the miner executable (under the "Settings" tab in the "Miner" tab)
+by installing the xmrig package from SlackBuilds.org. Said binary will
+be located at "/usr/bin/xmrig".
diff --git a/network/feather/doinst.sh b/network/feather/doinst.sh
new file mode 100644
index 0000000000..a993650058
--- /dev/null
+++ b/network/feather/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/feather/feather.SlackBuild b/network/feather/feather.SlackBuild
new file mode 100644
index 0000000000..c0769c4b7e
--- /dev/null
+++ b/network/feather/feather.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for feather
+
+# Copyright Bloyburt 2023
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=feather
+VERSION=${VERSION:-2.5.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Optional features can be enabled/disabled here
+[ "${LOCALMONERO:-yes}" = no ] && LOCALMONERO='-DLOCALMONERO=OFF'
+[ "${XMRIG:-yes}" = no ] && XMRIG='-DXMRIG=OFF'
+[ "${DONATE_BEG:-yes}" = no ] && DONATE_BEG='-DDONATE_BEG=OFF'
+[ "${USE_DEVICE_TREZOR:-yes}" = no ] && USE_DEVICE_TREZOR='-DUSE_DEVICE_TREZOR=OFF'
+[ "${WITH_SCANNER:-no}" = yes ] && WITH_SCANNER='-DWITH_SCANNER=ON'
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ $LOCALMONERO \
+ $XMRIG \
+ $DONATE_BEG \
+ $USE_DEVICE_TREZOR \
+ $WITH_SCANNER \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy the icon and desktop file into the package
+mkdir -p $PKG/usr/share/pixmaps/
+cp -a src/assets/images/appicons/256x256.png $PKG/usr/share/pixmaps/feather.png
+mkdir -p $PKG/usr/share/applications/
+cat src/assets/feather.desktop > $PKG/usr/share/applications/feather.desktop
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/feather/feather.info b/network/feather/feather.info
new file mode 100644
index 0000000000..d78a7a434b
--- /dev/null
+++ b/network/feather/feather.info
@@ -0,0 +1,10 @@
+PRGNAM="feather"
+VERSION="2.5.2"
+HOMEPAGE="https://featherwallet.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://featherwallet.org/files/releases/source/feather-2.5.2.tar.gz"
+MD5SUM_x86_64="6bfcbb080db3f633312fcd629de1ab3d"
+REQUIRES="protobuf3 qt6 unbound zbar zxing-cpp"
+MAINTAINER="Bloyburt"
+EMAIL="alexpen@startmail.com"
diff --git a/network/feather/slack-desc b/network/feather/slack-desc
new file mode 100644
index 0000000000..8b0ea67966
--- /dev/null
+++ b/network/feather/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+feather: feather (Monero Wallet Client)
+feather:
+feather: Feather is a free, open-source Monero wallet for Linux, Tails, macOS
+feather: and Windows. It is written in C++ with the Qt framework.
+feather:
+feather: Copyright (c) 2020-2023, The Monero Project.
+feather:
+feather: Homepage: https://featherwallet.org/
+feather:
+feather:
+feather:
diff --git a/network/felinks/felinks.SlackBuild b/network/felinks/felinks.SlackBuild
index b03f8422b8..2331689b7c 100644
--- a/network/felinks/felinks.SlackBuild
+++ b/network/felinks/felinks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for felinks
# Copyright 2014 David Woodfall <dave@dawoodfall.net>
@@ -21,11 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=felinks
-VERSION=${VERSION:-08da1d8}
-COMMIT=${COMMIT:-08da1d87eb74e082ca7aae8c81d2518a4415f3a7}
+SRCNAM=elinks
+VERSION=${VERSION:-0.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,16 +38,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# Added -fno-strict-aliasing -Wno-pointer-sign for a much more peaceful build
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -65,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$COMMIT
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
-cd $PRGNAM-$COMMIT
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,11 +82,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-for patch in $CWD/patches/*; do
- printf "\n%s\n" "Applying Patch $( basename $patch )"
- patch --verbose -p1 < $patch
-done
-
## System
[ "${FASTMEM:-no}" = "yes" ] && fastmem="--enable-fastmem"
[ "${DEBUG:-no}" = "yes" ] && debug="--enable-debug --disable-fastmem"
@@ -175,9 +177,8 @@ LDFLAGS="$SLKLDFLAGS" \
# Don't clobber the one supplied by glibc-i18n.
rm -f $PKG/usr/share/locale/locale.alias
-if [ "$DEBUG" = "no" ]; then
- find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+if [ "${DEBUG:-no}" = "no" ]; then
+ strip --strip-unneeded $PKG/usr/bin/$SRCNAM
fi
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -197,4 +198,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/felinks/felinks.info b/network/felinks/felinks.info
index 4d5bf48d14..4f6c2a440a 100644
--- a/network/felinks/felinks.info
+++ b/network/felinks/felinks.info
@@ -1,10 +1,10 @@
PRGNAM="felinks"
-VERSION="08da1d8"
-HOMEPAGE="https://github.com/rkd77/felinks"
-DOWNLOAD="https://github.com/rkd77/felinks/archive/08da1d87eb74e082ca7aae8c81d2518a4415f3a7/felinks-08da1d8.tar.gz"
-MD5SUM="bc6b107e131dbfc0d17566b4f3d6429d"
+VERSION="0.15.0"
+HOMEPAGE="https://github.com/rkd77/elinks"
+DOWNLOAD="https://github.com/rkd77/elinks/archive/v0.15.0/elinks-0.15.0.tar.gz"
+MD5SUM="52028102283424664c2ac2bdd23e991f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/felinks/patches/0001-gopher_html_links.patch b/network/felinks/patches/0001-gopher_html_links.patch
deleted file mode 100644
index 38a2dd0b10..0000000000
--- a/network/felinks/patches/0001-gopher_html_links.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-################################################################
-# Fix for HTML links that contain URL:http://
-# dave@slackbuilds.org
-###############################################################
-diff -Naur a/src/protocol/gopher/gopher.c b/src/protocol/gopher/gopher.c
---- a/src/protocol/gopher/gopher.c 2013-12-18 15:38:57.000000000 +0000
-+++ b/src/protocol/gopher/gopher.c 2020-01-08 05:34:02.300498220 +0000
-@@ -277,6 +277,10 @@
- struct string command;
- enum gopher_entity entity = DEFAULT_GOPHER_ENTITY;
- unsigned char *selector = conn->uri->data;
-+ unsigned char const* URI = "hURI%3";
-+ unsigned char const* URL = "hURL%3";
-+ unsigned char const* CURI = "HURI%3";
-+ unsigned char const* CURL = "HURL%3";
- int selectorlen = conn->uri->datalen;
- struct gopher_entity_info *entity_info;
- size_t size;
-@@ -288,6 +292,18 @@
- selectorlen--;
- }
-
-+ if(strstr(selector, URL) != NULL || strstr(selector, URI) != NULL) {
-+ entity = GOPHER_HTML;
-+ selector++;
-+ selectorlen--;
-+ }
-+
-+ if(strstr(selector, CURL) != NULL || strstr(selector, CURI) != NULL) {
-+ entity = GOPHER_CHTML;
-+ selector++;
-+ selectorlen--;
-+ }
-+
- /* This is probably a hack. It serves as a work around when no entity is
- * available in the Gopher URI. Instead of segfaulting later the content
- * will be served as application/octet-stream. However, it could
diff --git a/network/felinks/patches/0002-gopher_index_queries.patch b/network/felinks/patches/0002-gopher_index_queries.patch
deleted file mode 100644
index 662fd13a7f..0000000000
--- a/network/felinks/patches/0002-gopher_index_queries.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-#######################################################################
-# Fix for type 7 entities.
-# dave@slackbuilds.org
-#######################################################################
-diff -Naur '--exclude=.git' bb/src/protocol/gopher/gopher.c cc/src/protocol/gopher/gopher.c
---- bb/src/protocol/gopher/gopher.c 2020-01-13 22:35:13.663935305 +0000
-+++ cc/src/protocol/gopher/gopher.c 2020-01-13 23:16:00.053003768 +0000
-@@ -197,7 +197,7 @@
- command->length = strlen(command->source);
- }
-
--static struct connection_state init_gopher_index_cache_entry(struct connection *conn);
-+/* static struct connection_state init_gopher_index_cache_entry(struct connection *conn); */
-
- static struct connection_state
- add_gopher_command(struct connection *conn, struct string *command,
-@@ -205,7 +205,7 @@
- unsigned char *selector, int selectorlen)
- {
- unsigned char *query;
-- int querylen;
-+ int querylen = 0;
-
- if (!init_string(command))
- return connection_state(S_OUT_OF_MEM);
-@@ -218,13 +218,14 @@
- /* Exclude '?' */
- if (query) selectorlen -= 1;
- query = NULL;
-- querylen = 0;
-- } else {
-- query += 1;
-+ } else if (entity == GOPHER_INDEX) {
-+ /* fix query size to not include the search= part */
-+ query += 8;
- querylen = selector + selectorlen - query;
- /* Exclude '?' */
-- selectorlen -= querylen + 1;
-- if (querylen >= 7 && !c_strncasecmp(query, "search=", 7)) {
-+ /* fix selector length to fit with query */
-+ selectorlen -= querylen + 8;
-+ if (querylen >= 7 && !c_strncasecmp(query, "submit=", 7)) {
- query += 7;
- querylen -= 7;
- }
-@@ -233,9 +234,11 @@
- switch (entity) {
- case GOPHER_INDEX:
- /* No search required? */
-+ /* Don't display the form page */
- if (!query) {
- done_string(command);
-- return init_gopher_index_cache_entry(conn);
-+ add_uri_decoded(command, selector, selectorlen, 0);
-+ break;
- }
-
- add_uri_decoded(command, selector, selectorlen, 0);
-@@ -371,13 +374,14 @@
- add_gopher_search_field(struct string *buffer, const unsigned char *text,
- const unsigned char *addr)
- {
-+ /* Not *every* query is a search! */
- add_format_to_string(buffer,
- "<form action=\"%s\">"
- "<table>"
- "<td> </td>"
- "<td>%s:</td>"
-- "<td><input maxlength=\"256\" name=\"search\" value=\"\"></td>"
-- "<td><input type=submit value=\"Search\"></td>"
-+ "<td><input maxlength=\"256\" name=\"submit\" value=\"\"></td>"
-+ "<td><input type=submit value=\"Submit\"></td>"
- "</table>"
- "</form>",
- addr, text);
-@@ -662,6 +666,7 @@
- }
-
- /* Display a Gopher Index document. */
-+/* Use the page that the gopher site sends us
- static struct connection_state
- init_gopher_index_cache_entry(struct connection *conn)
- {
-@@ -674,9 +679,9 @@
-
- where = get_uri_string(conn->uri, URI_PUBLIC);
-
-- /* TODO: Use different function when using UTF-8
-+ TODO: Use different function when using UTF-8
- * in terminal (decode_uri_for_display replaces
-- * bytes of UTF-8 characters width '*'). */
-+ * bytes of UTF-8 characters width '*'). *
- if (where) decode_uri_for_display(where);
-
- add_format_to_string(&buffer,
-@@ -695,7 +700,7 @@
-
- mem_free_if(where);
-
-- /* FIXME: I think this needs a form or something */
-+ * FIXME: I think this needs a form or something *
-
- add_fragment(conn->cached, conn->from, buffer.source, buffer.length);
- conn->from += buffer.length;
-@@ -707,7 +712,7 @@
- ? connection_state(S_OK)
- : connection_state(S_OUT_OF_MEM);
- }
--
-+*/
-
- static void
- read_gopher_response_data(struct socket *socket, struct read_buffer *rb)
diff --git a/network/felinks/patches/0003-gopher_directory_links.patch b/network/felinks/patches/0003-gopher_directory_links.patch
deleted file mode 100644
index 15a89fac2f..0000000000
--- a/network/felinks/patches/0003-gopher_directory_links.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-#######################################################################
-# Fix remote directory links.
-# dave@slackbuilds.org
-#######################################################################
-diff -Naur -x .git bb/src/protocol/gopher/gopher.c cc/src/protocol/gopher/gopher.c
---- bb/src/protocol/gopher/gopher.c 2020-01-13 23:22:18.918292198 +0000
-+++ cc/src/protocol/gopher/gopher.c 2020-01-13 23:21:00.631960039 +0000
-@@ -321,6 +321,18 @@
- selectorlen++;
- }
-
-+ if (entity_info->type == '1') {
-+ if (strchr(selector, '1') == (char *) selector) {
-+ selector++;
-+ selectorlen--;
-+ }
-+ else {
-+ if ((char *) selector == "/1") {
-+ selectorlen--;
-+ }
-+ }
-+ }
-+
- state = add_gopher_command(conn, &command, entity, selector, selectorlen);
- if (!is_in_state(state, S_CONN))
- return state;
diff --git a/network/felinks/patches/0005-gopher_newlines_tabs_entity-2.patch b/network/felinks/patches/0005-gopher_newlines_tabs_entity-2.patch
deleted file mode 100644
index 2885a67e76..0000000000
--- a/network/felinks/patches/0005-gopher_newlines_tabs_entity-2.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -Naur a/src/protocol/gopher/gopher.c b/src/protocol/gopher/gopher.c
---- a/src/protocol/gopher/gopher.c 2020-01-31 16:50:36.000000000 +0000
-+++ b/src/protocol/gopher/gopher.c 2020-05-14 06:21:44.523952135 +0000
-@@ -283,7 +283,7 @@
-
- /* Get entity type, and selector string. */
- /* Pick up gopher_entity */
-- if (selectorlen > 1 && selector[1] == '/') {
-+ if (selectorlen > 1) {
- entity = *selector++;
- selectorlen--;
- }
-@@ -308,6 +308,18 @@
- selectorlen--;
- }
-
-+ if (entity_info->type == '1') {
-+ if (strchr(selector, '1') == (char *) selector) {
-+ selector++;
-+ selectorlen--;
-+ }
-+ else {
-+ if ((char *) selector == "/1") {
-+ selectorlen--;
-+ }
-+ }
-+ }
-+
- state = add_gopher_command(conn, &command, entity, selector, selectorlen);
- if (!is_in_state(state, S_CONN))
- return state;
-@@ -548,7 +560,8 @@
-
- } else if (address.length > 0
- && strlcmp(address.source, address.length - 1,
-- "gopher://error.host:1/", -1)) {
-+ "gopher://error.host:1/", -1)
-+ && selector) {
- add_gopher_link(buffer, name, address.source);
-
- } else {
-@@ -571,7 +584,7 @@
- if (data[0] == ASCII_CR && data[1] == ASCII_LF)
- return data + 2;
-
-- if (data[0] == ASCII_LF)
-+ if (data[0] == ASCII_CR || data[0] == ASCII_LF)
- return data + 1;
- }
-
diff --git a/network/felinks/patches/0006-gopher-indexes_nocr.patch b/network/felinks/patches/0006-gopher-indexes_nocr.patch
deleted file mode 100644
index 9e4a441db6..0000000000
--- a/network/felinks/patches/0006-gopher-indexes_nocr.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-#######################################################################
-# Fix index listings with only LF and no CRs.
-# dave@slackbuilds.org
-#######################################################################
-diff -Naur '--exclude=.git' bb/src/protocol/gopher/gopher.c cc/src/protocol/gopher/gopher.c
---- bb/src/protocol/gopher/gopher.c 2020-01-14 06:42:11.030536586 +0000
-+++ cc/src/protocol/gopher/gopher.c 2020-01-14 06:42:26.710000886 +0000
-@@ -757,6 +757,11 @@
- switch (gopher->entity->type) {
- case GOPHER_DIRECTORY:
- case GOPHER_INDEX:
-+ /* Lines with no carriage returns */
-+ if (strchr(rb->data, ASCII_CR) == NULL) {
-+ strncat(rb->data, "\r\n", 2);
-+ rb->length += 3;
-+ }
- state = read_gopher_directory_data(conn, rb);
- break;
-
diff --git a/network/felinks/patches/0008-gopher-html-entities.patch b/network/felinks/patches/0008-gopher-html-entities.patch
deleted file mode 100644
index 750d1a49de..0000000000
--- a/network/felinks/patches/0008-gopher-html-entities.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-###################################################################
-# Encode < > to HTML.
-###################################################################
-diff -Naur '--exclude=.git' bb/src/protocol/gopher/gopher.c cc/src/protocol/gopher/gopher.c
---- bb/src/protocol/gopher/gopher.c 2020-01-14 03:26:41.791778387 +0000
-+++ cc/src/protocol/gopher/gopher.c 2020-01-14 06:19:56.964025440 +0000
-@@ -620,6 +620,25 @@
- return line[0] == '.' && !line[1] ? NULL : line;
- }
-
-+/* substring replacement */
-+static void
-+str_replace(char * in_string, char * s_string, char * r_string)
-+{
-+ /* max == replace all characters */
-+ char temp[strlen(in_string) * (strlen(r_string) - strlen(s_string)) + 1];
-+ char * pos;
-+
-+ if (!(pos = strstr(in_string, s_string)))
-+ return;
-+
-+ strncpy(temp, in_string, pos - in_string);
-+ temp[pos - in_string] = 0;
-+ sprintf(temp + (pos - in_string), "%s%s", r_string, pos + 1);
-+ in_string[0] = 0;
-+ strcpy(in_string, temp);
-+ return str_replace(in_string, s_string, r_string);
-+}
-+
- /* Parse a Gopher Menu document */
- static struct connection_state
- read_gopher_directory_data(struct connection *conn, struct read_buffer *rb)
-@@ -639,6 +658,14 @@
- return connection_state(S_OUT_OF_MEM);
- }
-
-+ /* Lines with characters that need to be converted to html */
-+ if (strstr(rb->data, "<")) {
-+ str_replace(rb->data, "<", "&lt;");
-+ }
-+ if (strstr(rb->data, ">")) {
-+ str_replace(rb->data, ">", "&gt;");
-+ }
-+
- while ((end = get_gopher_line_end(rb->data, rb->length))) {
- unsigned char *line = check_gopher_last_line(rb->data, end);
-
diff --git a/network/ferm/ferm.SlackBuild b/network/ferm/ferm.SlackBuild
index 813ffa4513..e85e3f096b 100644
--- a/network/ferm/ferm.SlackBuild
+++ b/network/ferm/ferm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ferm
@@ -23,14 +23,24 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ferm
VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,4 +77,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/filezilla/README b/network/filezilla/README
index c5a2911d60..f4398a33dc 100644
--- a/network/filezilla/README
+++ b/network/filezilla/README
@@ -1,7 +1,7 @@
FileZilla Client is a fast and reliable cross-platform FTP, FTPS and
-SFTP client with lots of useful features and an intuitive graphical user
-interface.
+SFTP client with lots of useful features and an intuitive graphical
+user interface.
-pugixml is an optional dependency - to use an installed version of pugixml,
-run the script as "PUGIXML=yes ./filezilla.SlackBuild" - otherwise, the
-build will use an included copy of pugixml.
+pugixml is an optional dependency - to use an installed version of
+pugixml, run the script as "PUGIXML=yes ./filezilla.SlackBuild" -
+otherwise, the build will use an included copy of pugixml.
diff --git a/network/filezilla/filezilla.SlackBuild b/network/filezilla/filezilla.SlackBuild
index 02ef99af3e..680624a0cf 100644
--- a/network/filezilla/filezilla.SlackBuild
+++ b/network/filezilla/filezilla.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for filezilla
# Copyright 2007-2009 Grigorios Bouzakis <grbzks@xsmail.com>
-# Copyright 2010-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2010-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,10 +20,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=filezilla
-VERSION=${VERSION:-3.42.1}
+VERSION=${VERSION:-3.67.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +36,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,7 +74,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/FileZilla_${VERSION}_src.tar.bz2
+tar xvf $CWD/FileZilla_${VERSION}_src.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -76,6 +83,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Needed for gcc >= 10.x
+patch -p1 < $CWD/interface_Mainfrm_h_include_list.patch
+
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -93,6 +103,8 @@ find -L . \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -114,4 +126,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/filezilla/filezilla.info b/network/filezilla/filezilla.info
index bcc1154e2f..b017d6d4f1 100644
--- a/network/filezilla/filezilla.info
+++ b/network/filezilla/filezilla.info
@@ -1,10 +1,10 @@
PRGNAM="filezilla"
-VERSION="3.42.1"
+VERSION="3.67.0"
HOMEPAGE="https://filezilla-project.org/"
-DOWNLOAD="https://download.filezilla-project.org/client/FileZilla_3.42.1_src.tar.bz2"
-MD5SUM="00e2f8ff0c1ad9802c0eed6488c3565a"
+DOWNLOAD="https://download.filezilla-project.org/client/FileZilla_3.67.0_src.tar.xz"
+MD5SUM="ddcf03519e2e55ada0bb77c2a6a73fba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="wxGTK3 libfilezilla"
+REQUIRES="wxWidgets libfilezilla"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/filezilla/interface_Mainfrm_h_include_list.patch b/network/filezilla/interface_Mainfrm_h_include_list.patch
new file mode 100644
index 0000000000..3977ba657c
--- /dev/null
+++ b/network/filezilla/interface_Mainfrm_h_include_list.patch
@@ -0,0 +1,12 @@
+Index: filezilla-3.47.2.1/src/interface/Mainfrm.h
+===================================================================
+--- filezilla-3.47.2.1.orig/src/interface/Mainfrm.h
++++ filezilla-3.47.2.1/src/interface/Mainfrm.h
+@@ -6,6 +6,7 @@
+ #include "notification.h"
+ #include "serverdata.h"
+
++#include <list>
+ #include <wx/timer.h>
+
+ #ifndef __WXMAC__
diff --git a/network/firehol/README b/network/firehol/README
index 3759035aae..a8a41e988b 100644
--- a/network/firehol/README
+++ b/network/firehol/README
@@ -1,26 +1,28 @@
-firehol is an easy to use but powerfull iptables stateful firewall for
-humans.
+firehol is an easy to use but powerful iptables stateful firewall
+for humans.
-FireHOL uses an extremely simple but powerfull way to define firewall rules
-which it turns into complete stateful iptables firewalls. FireHOL is a
-generic firewall generator, meaning that you can design any kind of local
-or routing stateful packet filtering firewalls with ease.
+FireHOL uses an extremely simple but powerfull way to define firewall
+rules which it turns into complete stateful iptables firewalls.
+FireHOL is a generic firewall generator, meaning that you can design
+any kind of local or routing stateful packet filtering firewalls with
+ease.
-You can run FireHOL with the 'helpme' argument, to get a configuration file
-for the system run, which you can modify according to your needs.
+You can run FireHOL with the 'helpme' argument, to get a configuration
+file for the system run, which you can modify according to your needs.
-You can find example config files in /usr/doc/firehol-<ver>/examples. This
-directory contains examples from a simple client machine, to a lan-wan
-gateway or an office server.
+You can find example config files in
+/usr/doc/firehol-<ver>/examples. This directory contains examples from
+a simple client machine, to a lan-wan gateway or an office server.
-The default config file in the package contains only a note about where to
-find config file examples (/usr/doc/firehol-<ver>/examples), because it is
-empty it is not handled as a usual config file. If a user has a real one,
-this "example" is simply deleted.
+The default config file in the package contains only a note about
+where to find config file examples (/usr/doc/firehol-<ver>/examples),
+because it is empty it is not handled as a usual config file. If a
+user has a real one, this "example" is simply deleted.
There is a get-iana.sh script to fetch reserved IPs from iana, It is
-renamed to firehol-get-iana, and placed to /usr/sbin. You have to run it at
-least once, to silence firehol startup warnings about missing files.
+renamed to firehol-get-iana, and placed to /usr/sbin. You have to run
+it at least once, to silence firehol startup warnings about missing
+files.
There is an adblock.sh script to fetch the IPs of popular add servers,
which can be blacklisted, see the file for the details. It is renamed to
diff --git a/network/firehol/firehol.SlackBuild b/network/firehol/firehol.SlackBuild
index 8b0fcc57fb..68e74d4c2b 100644
--- a/network/firehol/firehol.SlackBuild
+++ b/network/firehol/firehol.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FireHOL
@@ -22,13 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=firehol
VERSION=${VERSION:-1.296}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,5 +96,5 @@ cat $CWD/rc.firehol > $PKG/etc/rc.d/rc.firehol.new
# create the package
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/firewalld/doinst.sh b/network/firewalld/doinst.sh
index 592ffcdaef..799720f36c 100644
--- a/network/firewalld/doinst.sh
+++ b/network/firewalld/doinst.sh
@@ -22,12 +22,13 @@ preserve_perms() {
config $NEW
}
-config etc/dbus-1/system.d/FirewallD.conf.new
+config etc/default/firewalld.new
config etc/firewall/applet.conf.new
config etc/firewalld/firewalld.conf.new
-config etc/default/firewalld.new
+config etc/firewalld/lockdown-whitelist.xml.new
+config etc/logrotate.d/firewalld.new
+
preserve_perms etc/rc.d/rc.firewalld.new
-preserve_perms etc/rc.d/init.d/firewalld.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
diff --git a/network/firewalld/firewalld.SlackBuild b/network/firewalld/firewalld.SlackBuild
index b244425797..a20957043e 100644
--- a/network/firewalld/firewalld.SlackBuild
+++ b/network/firewalld/firewalld.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for firewalld
-# Copyright 2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2017,2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,19 +21,14 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# ChangeLog
-#
-# Thu Mar 19 12:19:48 UTC 2020
-#
-# * Added patch to change the source file from /etc/sysconfig to /etc/default
-# in the provided /etc/init.d/firewalld file.
-#
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=firewalld
-VERSION=${VERSION:-0.5.1}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.3.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,10 +80,10 @@ find -L . \
# /etc/sysconfig to source arguments.
patch -p1 < $CWD/init.patch
-./autogen.sh
-
+PYTHON="/usr/bin/python3" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -100,14 +99,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-mv $PKG/etc/dbus-1/system.d/FirewallD.conf $PKG/etc/dbus-1/system.d/FirewallD.conf.new
-mv $PKG/etc/firewall/applet.conf $PKG/etc/firewall/applet.conf.new
-mv $PKG/etc/firewalld/firewalld.conf $PKG/etc/firewalld/firewalld.conf.new
-mv $PKG/etc/sysconfig/firewalld $PKG/etc/sysconfig/firewalld.new
-mv $PKG/etc/sysconfig $PKG/etc/default
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.firewalld > $PKG/etc/rc.d/rc.firewalld.new
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
# We don't need systemd here.
rm -rf $PKG/usr/lib/systemd
@@ -118,18 +111,29 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/lib
+mv $PKG/etc/modprobe.d $PKG/lib
+
+mv $PKG/etc/sysconfig $PKG/etc/default
+mv $PKG/etc/default/firewalld $PKG/etc/default/firewalld.new
+
+mv $PKG/etc/firewall/applet.conf $PKG/etc/firewall/applet.conf.new
+
+mv $PKG/etc/firewalld/firewalld.conf $PKG/etc/firewalld/firewalld.conf.new
+mv $PKG/etc/firewalld/lockdown-whitelist.xml $PKG/etc/firewalld/lockdown-whitelist.xml.new
+
+mv $PKG/etc/logrotate.d/firewalld $PKG/etc/logrotate.d/firewalld.new
+
+rm -rf $PKG/etc/rc.d/init.d
+cat $CWD/rc.firewalld > $PKG/etc/rc.d/rc.firewalld.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING README TODO doc/html \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md doc/html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/firewalld/firewalld.info b/network/firewalld/firewalld.info
index 3b3e69f304..80ccb3db8d 100644
--- a/network/firewalld/firewalld.info
+++ b/network/firewalld/firewalld.info
@@ -1,10 +1,10 @@
PRGNAM="firewalld"
-VERSION="0.5.1"
-HOMEPAGE="https://github.com/t-woerner/firewalld/"
-DOWNLOAD="https://github.com/t-woerner/firewalld/archive/v0.5.1.tar.gz#/firewalld-0.5.1.tar.gz"
-MD5SUM="38de1fad38d5635f04f8eb44bc2e25b1"
+VERSION="1.3.3"
+HOMEPAGE="https://github.com/firewalld/firewalld/"
+DOWNLOAD="https://github.com/firewalld/firewalld/archive/refs/tags/v1.3.3/firewalld-1.3.3.tar.gz"
+MD5SUM="2eebac7c58bee285ff0c149bc2b18445"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-slip decorator"
+REQUIRES="python-slip python3-decorator"
MAINTAINER="stormtracknole"
EMAIL="stormtracknole@gmail.com"
diff --git a/network/firewalld/init.patch b/network/firewalld/init.patch
index 675dee356f..a775133fab 100644
--- a/network/firewalld/init.patch
+++ b/network/firewalld/init.patch
@@ -1,5 +1,5 @@
---- firewalld-0.5.1/config/firewalld.init 2020-03-19 08:05:08.660103937 -0400
-+++ firewalld-0.5.1-new/config/firewalld.init 2020-03-19 08:10:25.695336773 -0400
+--- firewalld-0.8.6.orig/config/firewalld.init 2020-12-15 12:57:05.000000000 -0600
++++ firewalld-0.8.6/config/firewalld.init 2021-05-02 20:44:35.229976749 -0500
@@ -29,7 +29,7 @@
prog="firewalld"
#config="/etc/firewalld/firewalld.conf"
@@ -9,3 +9,4 @@
lockfile=/var/lock/subsys/$prog
+
diff --git a/network/firewalld/rc.FireWallD b/network/firewalld/rc.FireWallD
deleted file mode 100644
index aa0d91b3dc..0000000000
--- a/network/firewalld/rc.FireWallD
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-# Start/stop/restart firewalld.
-
-# Start firewalld:
-firewalld_start() {
- [ -r /etc/default/firewalld ] && source /etc/default/firewalld
- echo -n "Starting FireWallD daemon: /usr/sbin/firewalld "
- /usr/sbin/firewalld $FIREWALLD_ARGS
- echo
-}
-
-# Stop firewalld:
-firewalld_stop() {
- echo -n "Stopping FireWallD daemon..."
- if [ -r /var/run/firewalld.pid ]; then
- kill -HUP $(cat /var/run/firewalld.pid)
- rm -f /var/run/firewalld.pid
- else
- killall -HUP -q firewalld
- fi
- echo
-}
-
-# Restart firewalld:
-firewalld_restart() {
- firewalld_stop
- sleep 1
- firewalld_start
-}
-
-# Check if firewalld is running
-firewalld_status() {
- if [ -e /var/run/firewalld.pid ]; then
- echo "firewalld is running as pid $(cat /var/run/firewalld.pid)."
- else
- echo "firewalld is stopped."
- exit 1
- fi
-}
-
-case "$1" in
-'start')
- firewalld_start
- ;;
-'stop')
- firewalld_stop
- ;;
-'restart')
- firewalld_restart
- ;;
-'status')
- firewalld_status
- ;;
-*)
- echo "usage $0 start|stop|restart|status"
-esac
diff --git a/network/flexget/flexget.SlackBuild b/network/flexget/flexget.SlackBuild
index 59f3ccabad..f10b85810b 100644
--- a/network/flexget/flexget.SlackBuild
+++ b/network/flexget/flexget.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flexget
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Written by Lionel Young <redtricycle@gmail.com>
#
# All rights reserved.
@@ -26,17 +27,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220515 46and2: Updated version, removed python2, New maintainer.
+# 20220908 46and2: Updated version.
+# -build process changed to fix issue with versions >3.3.20.
+# 20230915 46and2: Updated version, deps, various fixes.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flexget
-VERSION=${VERSION:-2.11.9}
+SRCNAM=FlexGet
+VERSION=${VERSION:-3.9.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCNAM=FlexGet
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,6 +49,15 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
rm -rf $PKG
@@ -57,14 +69,22 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Remove versions from requirements
sed -i "s/==.*//" requirements.txt
-python setup.py install --root=$PKG
+# remove modules already included in python3.9 or win32
+sed -i -E -e '/^(backports-zoneinfo|pkgutil-resolve-name)/d' \
+ -e '/^(pywin32|win32-setctime)/d' requirements.txt
+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
+
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
@@ -75,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/flexget/flexget.info b/network/flexget/flexget.info
index 0cd6588dc5..3aeb1d5c53 100644
--- a/network/flexget/flexget.info
+++ b/network/flexget/flexget.info
@@ -1,10 +1,10 @@
PRGNAM="flexget"
-VERSION="2.11.9"
+VERSION="3.9.19"
HOMEPAGE="https://flexget.com/"
-DOWNLOAD="https://pypi.python.org/packages/d7/e4/e543975ddfee11b138af0096cdcb21fe730d0297bb0f43d014b7818e14b9/FlexGet-2.11.9.tar.gz"
-MD5SUM="d6c6636c25d96e3c1ee7eb4628cef4d0"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flexget/FlexGet-3.9.19.tar.gz"
+MD5SUM="148a5eb3cb226fec011f568a42a5f573"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="feedparser SQLAlchemy PyYAML BeautifulSoup4 html5lib PyRSS2Gen pynzb rpyc path.py pathlib guessit APScheduler terminaltables colorclass CherryPy Flask-RESTful flask-restplus Flask-Compress Flask-Login Flask-Cors pyparsing zxcvbn-python python-future python-requests"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="feedparser SQLAlchemy BeautifulSoup4 html5lib python3-PyRSS2Gen python3-pynzb python3-rpyc python3-guessit python3-APScheduler python3-CherryPy python3-Flask-RESTful python3-Flask-RESTX python3-Flask-Compress python3-Flask-Login python3-Flask-Cors python3-zxcvbn python3-rich pytz-deprecation-shim python3-loguru tzdata python3-psutil colorama CommonMark python3-brotlicffi"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/network/floorp-bin/README b/network/floorp-bin/README
new file mode 100644
index 0000000000..0a950e6c36
--- /dev/null
+++ b/network/floorp-bin/README
@@ -0,0 +1,8 @@
+Floorp is a fork of Firefox from Japan with a highly customizable UI and
+better privacy and security defaults.
+
+This is repackaged for Slackware from the official GitHub repository.
+It installs to /usr/lib64 by default (like Firefox) but you can
+install it anywhere you want with the INSTALLDIR variable.
+
+Example: INSTALLDIR="/opt" ./floorp-bin.SlackBuild
diff --git a/network/rekonq/doinst.sh b/network/floorp-bin/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/network/rekonq/doinst.sh
+++ b/network/floorp-bin/doinst.sh
diff --git a/network/floorp-bin/floorp-bin.SlackBuild b/network/floorp-bin/floorp-bin.SlackBuild
new file mode 100644
index 0000000000..0c0313f8f3
--- /dev/null
+++ b/network/floorp-bin/floorp-bin.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for floorp-bin
+
+# Copyright 2024 Hunter Ellett <hunter2k1@disroot.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=floorp-bin
+VERSION=${VERSION:-11.11.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+INSTALLDIR=${INSTALLDIR:-/usr/lib64}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+ARCH="${ARCH:-$(uname -m)}"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION."
+ exit 1;
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+rm -rf floorp-$VERSION-linux-x86_64
+tar xvf $CWD/floorp-$VERSION.linux-x86_64.tar.?z*
+cd floorp
+
+mkdir -p $PKG/$INSTALLDIR/floorp
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+mkdir -p $PKG/usr/bin
+mkdir -p $PKG/$INSTALLDIR/floorp/distribution
+cp $CWD/floorp.desktop $PKG/usr/share/applications
+mv * $PKG/$INSTALLDIR/floorp
+cp $PKG/$INSTALLDIR/floorp/browser/chrome/icons/default/default128.png $PKG/usr/share/pixmaps/floorp.png
+chmod +x $PKG/$INSTALLDIR/floorp/floorp
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+
+# Launch Floorp from the terminal
+install -Dm755 /dev/stdin $PKG/usr/bin/floorp << EOF
+#!/bin/sh
+#
+# Shell script to start the Floorp browser.
+#
+
+# Start Floorp:
+exec $INSTALLDIR/floorp/floorp "\$@"
+EOF
+
+# Disable auto updating
+install -Dvm644 /dev/stdin $PKG/$INSTALLDIR/floorp/distribution/policies.json << EOF
+{
+ "policies": {
+ "DisableAppUpdate": true
+ }
+}
+EOF
+
+# Make package
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/floorp-bin/floorp-bin.info b/network/floorp-bin/floorp-bin.info
new file mode 100644
index 0000000000..d428c39fca
--- /dev/null
+++ b/network/floorp-bin/floorp-bin.info
@@ -0,0 +1,10 @@
+PRGNAM="floorp-bin"
+VERSION="11.11.1"
+HOMEPAGE="https://floorp.app/en/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/Floorp-Projects/Floorp/releases/download/v11.11.1/floorp-11.11.1.linux-x86_64.tar.bz2"
+MD5SUM_x86_64="86c098def8fce66190221169192cbdbd"
+REQUIRES=""
+MAINTAINER="Hunter Ellett"
+EMAIL="hunter2k1@disroot.org"
diff --git a/network/floorp-bin/floorp.desktop b/network/floorp-bin/floorp.desktop
new file mode 100644
index 0000000000..bab1fb08b6
--- /dev/null
+++ b/network/floorp-bin/floorp.desktop
@@ -0,0 +1,273 @@
+[Desktop Entry]
+Version=1.0
+Name=Floorp
+GenericName=Web Browser
+GenericName[ca]=Navegador web
+GenericName[cs]=Webový prohlížeč
+GenericName[es]=Navegador web
+GenericName[fa]=مرورگر اینترنتی
+GenericName[fi]=WWW-selain
+GenericName[fr]=Navigateur Web
+GenericName[hu]=Webböngésző
+GenericName[it]=Browser Web
+GenericName[ja]=ウェブ・ブラウザ
+GenericName[ko]=웹 브라우저
+GenericName[nb]=Nettleser
+GenericName[nl]=Webbrowser
+GenericName[nn]=Nettlesar
+GenericName[no]=Nettleser
+GenericName[pl]=Przeglądarka WWW
+GenericName[pt]=Navegador Web
+GenericName[pt_BR]=Navegador Web
+GenericName[sk]=Internetový prehliadač
+GenericName[sv]=Webbläsare
+Comment=Browse the Web
+Comment[ca]=Navegueu per el web
+Comment[cs]=Prohlížení stránek World Wide Webu
+Comment[de]=Im Internet surfen
+Comment[es]=Navegue por la web
+Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
+Comment[fi]=Selaa Internetin WWW-sivuja
+Comment[fr]=Navigue sur Internet
+Comment[hu]=A világháló böngészése
+Comment[it]=Esplora il web
+Comment[ja]=ウェブを閲覧します
+Comment[ko]=웹을 돌아 다닙니다
+Comment[nb]=Surf på nettet
+Comment[nl]=Verken het internet
+Comment[nn]=Surf på nettet
+Comment[no]=Surf på nettet
+Comment[pl]=Przeglądanie stron WWW
+Comment[pt]=Navegue na Internet
+Comment[pt_BR]=Navegue na Internet
+Comment[sk]=Prehliadanie internetu
+Comment[sv]=Surfa på webben
+Exec=floorp --class="floorp" %u
+Icon=floorp
+Terminal=false
+Type=Application
+MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
+Categories=Network;WebBrowser;
+Keywords=web;browser;internet;
+Actions=new-window;new-private-window;profile-manager-window;
+
+[Desktop Action new-window]
+Name=Open a New Window
+Name[ach]=Dirica manyen
+Name[af]=Nuwe venster
+Name[an]=Nueva finestra
+Name[ar]=نافذة جديدة
+Name[as]=নতুন উইন্ডো
+Name[ast]=Ventana nueva
+Name[az]=Yeni Pəncərə
+Name[be]=Новае акно
+Name[bg]=Нов прозорец
+Name[bn-BD]=নতুন উইন্ডো (N)
+Name[bn-IN]=নতুন উইন্ডো
+Name[br]=Prenestr nevez
+Name[brx]=गोदान उइन्ड'(N)
+Name[bs]=Novi prozor
+Name[ca]=Finestra nova
+Name[cak]=K'ak'a' tzuwäch
+Name[cs]=Nové okno
+Name[cy]=Ffenestr Newydd
+Name[da]=Nyt vindue
+Name[de]=Neues Fenster
+Name[dsb]=Nowe wokno
+Name[el]=Νέο παράθυρο
+Name[en-GB]=New Window
+Name[en-US]=New Window
+Name[en-ZA]=New Window
+Name[eo]=Nova fenestro
+Name[es-AR]=Nueva ventana
+Name[es-CL]=Nueva ventana
+Name[es-ES]=Nueva ventana
+Name[es-MX]=Nueva ventana
+Name[et]=Uus aken
+Name[eu]=Leiho berria
+Name[fa]=پنجره جدید‌
+Name[ff]=Henorde Hesere
+Name[fi]=Uusi ikkuna
+Name[fr]=Nouvelle fenêtre
+Name[fy-NL]=Nij finster
+Name[ga-IE]=Fuinneog Nua
+Name[gd]=Uinneag ùr
+Name[gl]=Nova xanela
+Name[gn]=Ovetã pyahu
+Name[gu-IN]=નવી વિન્ડો
+Name[he]=חלון חדש
+Name[hi-IN]=नया विंडो
+Name[hr]=Novi prozor
+Name[hsb]=Nowe wokno
+Name[hu]=Új ablak
+Name[hy-AM]=Նոր Պատուհան
+Name[id]=Jendela Baru
+Name[is]=Nýr gluggi
+Name[it]=Nuova finestra
+Name[ja]=新しいウィンドウ
+Name[ja-JP-mac]=新規ウインドウ
+Name[ka]=ახალი ფანჯარა
+Name[kk]=Жаңа терезе
+Name[km]=បង្អួច​​​ថ្មី
+Name[kn]=ಹೊಸ ಕಿಟಕಿ
+Name[ko]=새 창
+Name[kok]=नवें जनेल
+Name[ks]=نئئ وِنڈو
+Name[lij]=Neuvo barcon
+Name[lo]=ຫນ້າຕ່າງໃຫມ່
+Name[lt]=Naujas langas
+Name[ltg]=Jauns lūgs
+Name[lv]=Jauns logs
+Name[mai]=नव विंडो
+Name[mk]=Нов прозорец
+Name[ml]=പുതിയ ജാലകം
+Name[mr]=नवीन पटल
+Name[ms]=Tetingkap Baru
+Name[my]=ဝင်းဒိုးအသစ်
+Name[nb-NO]=Nytt vindu
+Name[ne-NP]=नयाँ सञ्झ्याल
+Name[nl]=Nieuw venster
+Name[nn-NO]=Nytt vindauge
+Name[or]=ନୂତନ ୱିଣ୍ଡୋ
+Name[pa-IN]=ਨਵੀਂ ਵਿੰਡੋ
+Name[pl]=Nowe okno
+Name[pt-BR]=Nova janela
+Name[pt-PT]=Nova janela
+Name[rm]=Nova fanestra
+Name[ro]=Fereastră nouă
+Name[ru]=Новое окно
+Name[sat]=नावा विंडो (N)
+Name[si]=නව කවුළුවක්
+Name[sk]=Nové okno
+Name[sl]=Novo okno
+Name[son]=Zanfun taaga
+Name[sq]=Dritare e Re
+Name[sr]=Нови прозор
+Name[sv-SE]=Nytt fönster
+Name[ta]=புதிய சாளரம்
+Name[te]=కొత్త విండో
+Name[th]=หน้าต่างใหม่
+Name[tr]=Yeni pencere
+Name[tsz]=Eraatarakua jimpani
+Name[uk]=Нове вікно
+Name[ur]=نیا دریچہ
+Name[uz]=Yangi oyna
+Name[vi]=Cửa sổ mới
+Name[wo]=Palanteer bu bees
+Name[xh]=Ifestile entsha
+Name[zh-CN]=新建窗口
+Name[zh-TW]=開新視窗
+Exec=floorp --class="floorp" --new-window %u
+
+[Desktop Action new-private-window]
+Name=Open a New Private Window
+Name[ach]=Dirica manyen me mung
+Name[af]=Nuwe privaatvenster
+Name[an]=Nueva finestra privada
+Name[ar]=نافذة خاصة جديدة
+Name[as]=নতুন ব্যক্তিগত উইন্ডো
+Name[ast]=Ventana privada nueva
+Name[az]=Yeni Məxfi Pəncərə
+Name[be]=Новае акно адасаблення
+Name[bg]=Нов прозорец за поверително сърфиране
+Name[bn-BD]=নতুন ব্যক্তিগত উইন্ডো
+Name[bn-IN]=নতুন ব্যক্তিগত উইন্ডো
+Name[br]=Prenestr merdeiñ prevez nevez
+Name[brx]=गोदान प्राइभेट उइन्ड'
+Name[bs]=Novi privatni prozor
+Name[ca]=Finestra privada nova
+Name[cak]=K'ak'a' ichinan tzuwäch
+Name[cs]=Nové anonymní okno
+Name[cy]=Ffenestr Breifat Newydd
+Name[da]=Nyt privat vindue
+Name[de]=Neues privates Fenster
+Name[dsb]=Nowe priwatne wokno
+Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
+Name[en-GB]=New Private Window
+Name[en-US]=New Private Window
+Name[en-ZA]=New Private Window
+Name[eo]=Nova privata fenestro
+Name[es-AR]=Nueva ventana privada
+Name[es-CL]=Nueva ventana privada
+Name[es-ES]=Nueva ventana privada
+Name[es-MX]=Nueva ventana privada
+Name[et]=Uus privaatne aken
+Name[eu]=Leiho pribatu berria
+Name[fa]=پنجره ناشناس جدید
+Name[ff]=Henorde Suturo Hesere
+Name[fi]=Uusi yksityinen ikkuna
+Name[fr]=Nouvelle fenêtre de navigation privée
+Name[fy-NL]=Nij priveefinster
+Name[ga-IE]=Fuinneog Nua Phríobháideach
+Name[gd]=Uinneag phrìobhaideach ùr
+Name[gl]=Nova xanela privada
+Name[gn]=Ovetã ñemi pyahu
+Name[gu-IN]=નવી ખાનગી વિન્ડો
+Name[he]=חלון פרטי חדש
+Name[hi-IN]=नयी निजी विंडो
+Name[hr]=Novi privatni prozor
+Name[hsb]=Nowe priwatne wokno
+Name[hu]=Új privát ablak
+Name[hy-AM]=Սկսել Գաղտնի դիտարկում
+Name[id]=Jendela Mode Pribadi Baru
+Name[is]=Nýr huliðsgluggi
+Name[it]=Nuova finestra anonima
+Name[ja]=新しいプライベートウィンドウ
+Name[ja-JP-mac]=新規プライベートウインドウ
+Name[ka]=ახალი პირადი ფანჯარა
+Name[kk]=Жаңа жекелік терезе
+Name[km]=បង្អួច​ឯកជន​ថ្មី
+Name[kn]=ಹೊಸ ಖಾಸಗಿ ಕಿಟಕಿ
+Name[ko]=새 사생활 보호 모드
+Name[kok]=नवो खाजगी विंडो
+Name[ks]=نْو پرایوٹ وینڈو&amp;
+Name[lij]=Neuvo barcon privou
+Name[lo]=ເປີດຫນ້າຕ່າງສວນຕົວຂື້ນມາໃຫມ່
+Name[lt]=Naujas privataus naršymo langas
+Name[ltg]=Jauns privatais lūgs
+Name[lv]=Jauns privātais logs
+Name[mai]=नया निज विंडो (W)
+Name[mk]=Нов приватен прозорец
+Name[ml]=പുതിയ സ്വകാര്യ ജാലകം
+Name[mr]=नवीन वैयक्तिक पटल
+Name[ms]=Tetingkap Persendirian Baharu
+Name[my]=New Private Window
+Name[nb-NO]=Nytt privat vindu
+Name[ne-NP]=नयाँ निजी सञ्झ्याल
+Name[nl]=Nieuw privévenster
+Name[nn-NO]=Nytt privat vindauge
+Name[or]=ନୂତନ ବ୍ୟକ୍ତିଗତ ୱିଣ୍ଡୋ
+Name[pa-IN]=ਨਵੀਂ ਪ੍ਰਾਈਵੇਟ ਵਿੰਡੋ
+Name[pl]=Nowe okno prywatne
+Name[pt-BR]=Nova janela privativa
+Name[pt-PT]=Nova janela privada
+Name[rm]=Nova fanestra privata
+Name[ro]=Fereastră privată nouă
+Name[ru]=Новое приватное окно
+Name[sat]=नावा निजेराक् विंडो (W )
+Name[si]=නව පුද්ගලික කවුළුව (W)
+Name[sk]=Nové okno v režime Súkromné prehliadanie
+Name[sl]=Novo zasebno okno
+Name[son]=Sutura zanfun taaga
+Name[sq]=Dritare e Re Private
+Name[sr]=Нови приватан прозор
+Name[sv-SE]=Nytt privat fönster
+Name[ta]=புதிய தனிப்பட்ட சாளரம்
+Name[te]=కొత్త ఆంతరంగిక విండో
+Name[th]=หน้าต่างส่วนตัวใหม่
+Name[tr]=Yeni gizli pencere
+Name[tsz]=Juchiiti eraatarakua jimpani
+Name[uk]=Приватне вікно
+Name[ur]=نیا نجی دریچہ
+Name[uz]=Yangi maxfiy oyna
+Name[vi]=Cửa sổ riêng tư mới
+Name[wo]=Panlanteeru biir bu bees
+Name[xh]=Ifestile yangasese entsha
+Name[zh-CN]=新建隐私浏览窗口
+Name[zh-TW]=新增隱私視窗
+Exec=floorp --class="floorp" --private-window %u
+
+[Desktop Action profile-manager-window]
+Name=Open the Profile Manager
+Name[cs]=Správa profilů
+Exec=floorp --class="floorp" --ProfileManager %u
diff --git a/network/floorp-bin/slack-desc b/network/floorp-bin/slack-desc
new file mode 100644
index 0000000000..24a70310ca
--- /dev/null
+++ b/network/floorp-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+floorp-bin: floorp-bin (Web browser)
+floorp-bin:
+floorp-bin: Floorp is an advanced fork of Firefox with UI and security
+floorp-bin: improvements.
+floorp-bin:
+floorp-bin: https://floorp.app/en/
+floorp-bin:
+floorp-bin:
+floorp-bin:
+floorp-bin:
+floorp-bin:
diff --git a/network/flvstreamer/README b/network/flvstreamer/README
index cd249d2b6e..77e43de8f6 100644
--- a/network/flvstreamer/README
+++ b/network/flvstreamer/README
@@ -1,8 +1,10 @@
-flvstreamer is an open source command-line RTMP client intended to stream audio
-or video content from all types of flash or rtmp servers. Forked from rtmpdump
-v1.6 with encrypted rtmp and swf verification support removed.
+flvstreamer is an open source command-line RTMP client intended
+to stream audio or video content from all types of flash or rtmp
+servers. Forked from rtmpdump v1.6 with encrypted rtmp and swf
+verification support removed.
-This tool provides free interoperability with the previously undocumented adobe
-RTMP protocol so widely in use on the internet today. It was developed entirely
-by reverse engineering methods and without access to any proprietary or
-restrictive-license protocol specifications.
+This tool provides free interoperability with the previously
+undocumented adobe RTMP protocol so widely in use on the internet
+today. It was developed entirely by reverse engineering methods and
+without access to any proprietary or restrictive-license protocol
+specifications.
diff --git a/network/flvstreamer/flvstreamer.SlackBuild b/network/flvstreamer/flvstreamer.SlackBuild
index 52103c2fbc..9ee1c3cdb8 100644
--- a/network/flvstreamer/flvstreamer.SlackBuild
+++ b/network/flvstreamer/flvstreamer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flvstreamer
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flvstreamer
VERSION=${VERSION:-2.1c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -89,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fping/README b/network/fping/README
index 1fa2dc57cb..2541823573 100644
--- a/network/fping/README
+++ b/network/fping/README
@@ -1,7 +1,7 @@
fping (send ICMP ECHO_REQUEST packets to network hosts)
-fping is a program to send ICMP echo probes to network hosts, similar to ping,
-but much better performing when pinging multiple hosts.
+fping is a program to send ICMP echo probes to network hosts, similar
+to ping, but much better performing when pinging multiple hosts.
-NOTE: Old fping and fping6 packages are no longer needed, and should probably
-be removed before installing this one.
+NOTE: Old fping and fping6 packages are no longer needed, and should
+probably be removed before installing this one.
diff --git a/network/fping/fping.SlackBuild b/network/fping/fping.SlackBuild
index 070a4beda9..73670559b0 100644
--- a/network/fping/fping.SlackBuild
+++ b/network/fping/fping.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fping
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fping
VERSION=${VERSION:-5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fqterm/fqterm.SlackBuild b/network/fqterm/fqterm.SlackBuild
index b90004e147..2327eda5c0 100644
--- a/network/fqterm/fqterm.SlackBuild
+++ b/network/fqterm/fqterm.SlackBuild
@@ -1,40 +1,45 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fqterm
# Written by vvoody <vvoodywang@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fqterm
-VERSION=${VERSION:-0.9.8.2}
-SVNVER=svn1076
+VERSION=${VERSION:-0.9.8.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -42,15 +47,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION-$SVNVER.tar.gz
-cd $PRGNAM
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build
cd build
@@ -58,17 +63,16 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
..
make
make install DESTDIR=$PKG
cd -
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE INSTALL.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE INSTALL.txt README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -76,4 +80,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fqterm/fqterm.info b/network/fqterm/fqterm.info
index 787760d96c..71e08759df 100644
--- a/network/fqterm/fqterm.info
+++ b/network/fqterm/fqterm.info
@@ -1,10 +1,10 @@
PRGNAM="fqterm"
-VERSION="0.9.8.2"
+VERSION="0.9.8.4"
HOMEPAGE="https://github.com/mytbk/fqterm"
-DOWNLOAD="http://ftp1.fr.freebsd.org/pub/frugalware/frugalware-stable/source/xlib-extra/fqterm/fqterm-0.9.8.2-svn1076.tar.gz"
-MD5SUM="eaf7b51c1e3e0f13351f9f5678996d51"
+DOWNLOAD="https://github.com/mytbk/fqterm/archive/0.9.8.4/fqterm-0.9.8.4.tar.gz"
+MD5SUM="d7d9500806055def62456550fe33173e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="vvoody"
EMAIL="vvoodywang@gmail.com"
diff --git a/network/franz/franz.SlackBuild b/network/franz/franz.SlackBuild
index 87bd08bc6a..26ee5d2912 100644
--- a/network/franz/franz.SlackBuild
+++ b/network/franz/franz.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for franz
-# Copyright 2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2020-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=franz
-VERSION=${VERSION:-5.6.1}
+VERSION=${VERSION:-5.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +77,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PWD/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/franz/franz.info b/network/franz/franz.info
index 584c56006f..58aed257bf 100644
--- a/network/franz/franz.info
+++ b/network/franz/franz.info
@@ -1,10 +1,10 @@
PRGNAM="franz"
-VERSION="5.6.1"
+VERSION="5.10.0"
HOMEPAGE="https://meetfranz.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/meetfranz/franz/releases/download/v5.6.1/franz_5.6.1_amd64.deb"
-MD5SUM_x86_64="53ce256b971f169f7c593c67ee54ed68"
+DOWNLOAD_x86_64="https://github.com/meetfranz/franz/releases/download/v5.10.0/franz_5.10.0_amd64.deb"
+MD5SUM_x86_64="ee2ba15989bdfd38c81436d9c6af4b7f"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/freedownloadmanager/README b/network/freedownloadmanager/README
index 65baf561f3..fd4ba6cd9a 100644
--- a/network/freedownloadmanager/README
+++ b/network/freedownloadmanager/README
@@ -2,3 +2,6 @@ It's a cross-platform powerful modern download accelerator and
organizer for Windows, macOS, Android, and Linux. Compatible with
the most popular browsers Google Chrome, Mozilla Firefox,
Microsoft Edge, Internet Explorer and Safari.
+
+Note: the debian package file is unversioned so MD5SUM and VERSION
+might change unexpectedly
diff --git a/network/freedownloadmanager/freedownloadmanager.SlackBuild b/network/freedownloadmanager/freedownloadmanager.SlackBuild
index fda006fa50..aebf680763 100644
--- a/network/freedownloadmanager/freedownloadmanager.SlackBuild
+++ b/network/freedownloadmanager/freedownloadmanager.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for freedownloadmanager
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freedownloadmanager
-VERSION=${VERSION:-6.9}
+VERSION=${VERSION:-6.16.0.4468}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/freedownloadmanager/freedownloadmanager.info b/network/freedownloadmanager/freedownloadmanager.info
index 7ae13cb7bc..9469b5fffd 100644
--- a/network/freedownloadmanager/freedownloadmanager.info
+++ b/network/freedownloadmanager/freedownloadmanager.info
@@ -1,8 +1,8 @@
PRGNAM="freedownloadmanager"
-VERSION="6.9"
+VERSION="6.16.0.4468"
HOMEPAGE="https://www.freedownloadmanager.org"
DOWNLOAD="https://dn3.freedownloadmanager.org/6/latest/freedownloadmanager.deb"
-MD5SUM="8d2696f79480eb70770171921c2c4ab5"
+MD5SUM="d5c4888ca4ebf7473af898c98e943bf5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/freedownloadmanager/slack-desc b/network/freedownloadmanager/slack-desc
index e38cb2fecb..510d2b1e67 100644
--- a/network/freedownloadmanager/slack-desc
+++ b/network/freedownloadmanager/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-freedownloadmanager: Free Download Manager (Powerful Download Accelerator and Organizer)
+freedownloadmanager: freedownloadmanager (Powerful Download Accelerator and Organizer)
freedownloadmanager:
freedownloadmanager: It's a cross-platform powerful modern download accelerator and
freedownloadmanager: organizer for Windows, macOS, Android, and Linux. Compatible with
diff --git a/network/freeradius-server/README b/network/freeradius-server/README
index a003ad68ee..9e3a3b3851 100644
--- a/network/freeradius-server/README
+++ b/network/freeradius-server/README
@@ -1,11 +1,12 @@
FreeRADIUS Server (Radius protocol server)
-The FreeRADIUS Server is a daemon for unix and unix like operating systems
-which allows one to set up a radius protocol server, which can be used for
-Authentication and Accounting various types of network access. To use the
-server, you also need a correctly setup client which will talk to it,
-including terminal servers, Ethernet Switches, Wireless Access Points or a
-PC with appropriate software which emulates it (PortSlave, radiusclient etc).
+The FreeRADIUS Server is a daemon for unix and unix like operating
+systems which allows one to set up a radius protocol server, which can
+be used for Authentication and Accounting various types of network
+access. To use the server, you also need a correctly setup client
+which will talk to it, including terminal servers, Ethernet Switches,
+Wireless Access Points or a PC with appropriate software which
+emulates it (PortSlave, radiusclient etc).
See README.SLACKWARE (which is also installed with the package docs) for
setup, configuration, and usage hints.
diff --git a/network/freeradius-server/freeradius-server.SlackBuild b/network/freeradius-server/freeradius-server.SlackBuild
index e72487437e..6c55cc51ef 100644
--- a/network/freeradius-server/freeradius-server.SlackBuild
+++ b/network/freeradius-server/freeradius-server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FreeRADIUS Server
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freeradius-server
-VERSION=${VERSION:-2.2.9}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.0.21}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -84,7 +94,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install R=$PKG
+make -j1 install R=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -109,9 +119,11 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/freeradius-server/freeradius-server.info b/network/freeradius-server/freeradius-server.info
index 98b1a931e0..57ca94bf53 100644
--- a/network/freeradius-server/freeradius-server.info
+++ b/network/freeradius-server/freeradius-server.info
@@ -1,8 +1,8 @@
PRGNAM="freeradius-server"
-VERSION="2.2.9"
+VERSION="3.0.21"
HOMEPAGE="http://www.freeradius.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/freeradius-server-2.2.9.tar.bz2"
-MD5SUM="d1398327ba4e23c75da06d8a0e01096b"
+DOWNLOAD="ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.21.tar.bz2"
+MD5SUM="8b7f794f2ac0d686d9aecfa083a63614"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/freerapid/freerapid.SlackBuild b/network/freerapid/freerapid.SlackBuild
index 23fe6b14a9..0500d83c67 100644
--- a/network/freerapid/freerapid.SlackBuild
+++ b/network/freerapid/freerapid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for freerapid.
#
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freerapid
SRCNAM=FreeRapid
VERSION=${VERSION:-0.9u4}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +84,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/freerapid/freerapid.info b/network/freerapid/freerapid.info
index 746777ec99..c91f43be93 100644
--- a/network/freerapid/freerapid.info
+++ b/network/freerapid/freerapid.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/FreeRapid-0.9u4.zip"
MD5SUM="a067ecbd37ac7c83a795c34a3dc6388f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"
diff --git a/network/freerdp/README b/network/freerdp/README
deleted file mode 100644
index 8242c54f90..0000000000
--- a/network/freerdp/README
+++ /dev/null
@@ -1,6 +0,0 @@
-FreeRDP is a free implementation of the Remote Desktop Protocol (RDP),
-released under the Apache license.
-
-ffmpeg dependency can be turned off with:
-
- USE_FFMPEG=no ./freerdp.SlackBuild
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild
deleted file mode 100644
index 3b9edaa061..0000000000
--- a/network/freerdp/freerdp.SlackBuild
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for freerdp
-# free implementation of the Remote Desktop Protocol
-
-# Copyright 2010,2012 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2015 Mario Preksavec <mario@slackware.hr>
-# Copyright 2015-2018 Philip van der Hoeven, Almere, The Netherlands
-# Copyright 2019-2020 Tim Danforth, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-PRGNAM=freerdp
-VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DIRNAME=FreeRDP-$VERSION
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-USE_FFMPEG=${USE_FFMPEG:-yes}
-case "$USE_FFMPEG" in
- yes) WITH_FFMPEG=ON ;;
- *) WITH_FFMPEG=OFF ;;
-esac
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $DIRNAME
-tar xvf $CWD/$DIRNAME.tar.gz
-cd $DIRNAME
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS $(pkg-config --cflags gstreamer-base-1.0)" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_CUPS=ON \
- -DWITH_FFMPEG=$WITH_FFMPEG \
- -DWITH_LIBSYSTEMD=OFF \
- -DWITH_WAYLAND=OFF \
- -DWITH_PULSE=ON \
- -DCMAKE_BUILD_TYPE=Release ..
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Need to move man, cmake flag does not work
-mv $PKG/usr/share/man $PKG/usr/
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/freerdp/freerdp.info b/network/freerdp/freerdp.info
deleted file mode 100644
index 8d652ec32a..0000000000
--- a/network/freerdp/freerdp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="freerdp"
-VERSION="2.0.0"
-HOMEPAGE="https://www.freerdp.com"
-DOWNLOAD="https://github.com/FreeRDP/FreeRDP/archive/2.0.0/FreeRDP-2.0.0.tar.gz"
-MD5SUM="9ac36ebc219a9877965eedc9263ee59c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ffmpeg"
-MAINTAINER="Tim Danforth"
-EMAIL="timdanforth@protonmail.com"
diff --git a/network/freerdp/slack-desc b/network/freerdp/slack-desc
deleted file mode 100644
index 7900777963..0000000000
--- a/network/freerdp/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-freerdp: freerdp (Free implementation of the RDP protocol)
-freerdp:
-freerdp: FreeRDP is a free implementation of the Remote Desktop Protocol (RDP),
-freerdp: released under the Apache license.
-freerdp:
-freerdp: Homepage: https://www.freerdp.com
-freerdp:
-freerdp:
-freerdp:
-freerdp:
-freerdp:
diff --git a/network/frostwire/frostwire.SlackBuild b/network/frostwire/frostwire.SlackBuild
index 08b2393467..e5ff79e0f6 100644
--- a/network/frostwire/frostwire.SlackBuild
+++ b/network/frostwire/frostwire.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for frostwire
# Based on SlackBuild for LimeWire by Robby Workman
@@ -28,14 +28,24 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=frostwire
VERSION=${VERSION:-6.7.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch # Leave this alone for frostwire
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +90,4 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find . -type d -name '.svn' | xargs rm -rf
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/frostwire/frostwire.info b/network/frostwire/frostwire.info
index b8472a97df..ff16f31dd4 100644
--- a/network/frostwire/frostwire.info
+++ b/network/frostwire/frostwire.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://dl.frostwire.com/frostwire/6.7.9/frostwire-6.7.9.noarch.tar.gz
MD5SUM="934ab67ea1be867a9e9ab80f322a4c56"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Donald Cooley"
EMAIL="chytraeu@sdf.org"
diff --git a/network/frr/frr.SlackBuild b/network/frr/frr.SlackBuild
index c25bdfa0c4..a480815a29 100644
--- a/network/frr/frr.SlackBuild
+++ b/network/frr/frr.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for frr
-# Copyright 2018-2020 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2018-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=frr
-VERSION=${VERSION:-7.3.1}
+VERSION=${VERSION:-9.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -65,7 +75,7 @@ Before running this script, please add them with the following commands:
groupadd -g 357 frr
groupadd -g 358 frrvty
-useradd -c "FRR FRRouting suite" -d /var/run/frr -s /bin/false -u 357 -g frr -G frrvty frr
+useradd -c "FRR FRRouting suite" -d /var/lib/frr -s /bin/false -u 357 -g frr -G frrvty frr
EOF
exit 1
@@ -84,8 +94,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./bootstrap.sh
+autoreconf -fvi
+# docs disabled due to no python2-sphinx
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,7 +104,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sbindir=/usr/sbin \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc/frr \
- --localstatedir=/var/run/frr \
+ --localstatedir=/var/lib/frr \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--infodir=/usr/info \
@@ -110,8 +121,8 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-fpm \
--enable-vtysh \
--enable-watchfrr \
- --enable-doc \
- --enable-doc-html \
+ --disable-doc \
+ --disable-doc-html \
--disable-systemd \
--disable-static \
--without-libpam \
@@ -120,7 +131,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-install -d -m 750 -o frr -g frr $PKG/etc/frr $PKG/var/log/frr $PKG/var/run/frr
+install -d -m 750 -o frr -g frr $PKG/etc/frr $PKG/var/log/frr $PKG/var/lib/frr
install -D -m 640 -o frr -g frr tools/etc/frr/daemons $PKG/etc/frr/daemons.new
install -D -m 640 -o frr -g frrvty tools/etc/frr/vtysh.conf $PKG/etc/frr/vtysh.conf.new
@@ -130,15 +141,15 @@ install -D -m 644 redhat/frr.logrotate $PKG/etc/logrotate.d/frr.new
sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' $PKG/usr/sbin/{frr-reload.py,generate_support_bundle.py}
-# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/frr/modules/*.la
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# disable man and info for now
+#find $PKG/usr/man -type f -exec gzip -9 {} \;
+#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
+#rm -f $PKG/usr/info/dir
+#gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -151,4 +162,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/frr/frr.info b/network/frr/frr.info
index 4cd3dd396a..a3b70cd50d 100644
--- a/network/frr/frr.info
+++ b/network/frr/frr.info
@@ -1,10 +1,10 @@
PRGNAM="frr"
-VERSION="7.3.1"
+VERSION="9.0.2"
HOMEPAGE="https://frrouting.org/"
-DOWNLOAD="https://github.com/FRRouting/frr/archive/frr-7.3.1/frr-frr-7.3.1.tar.gz"
-MD5SUM="87eeee8a5ca731054e0264d6a23c9940"
+DOWNLOAD="https://github.com/FRRouting/frr/archive/frr-9.0.2/frr-frr-9.0.2.tar.gz"
+MD5SUM="65ed7949becc65255c3ff17dc049363e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-xml-libxml c-ares ipaddr-py Sphinx rtrlib libyang"
+REQUIRES="perl-xml-libxml ipaddr-py libyang protobuf-c rtrlib Sphinx"
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"
diff --git a/network/ftp-cloudfs/README b/network/ftp-cloudfs/README
index c0a491dff9..44249c3e48 100644
--- a/network/ftp-cloudfs/README
+++ b/network/ftp-cloudfs/README
@@ -2,8 +2,8 @@ ftp-cloudfs is a ftp server acting as a proxy to OpenStack Object
Storage (swift). It allow you to connect via any FTP client to do
upload/download or create containers.
-By default the server will bind to port 2021 which allow to be run as a non
-root/administrator user.
+By default the server will bind to port 2021 which allow to be run as a
+non root/administrator user.
It supports pseudo-hierarchical folders/directories as described in the
OpenStack Object Storage API.
diff --git a/network/ftp-cloudfs/ftp-cloudfs.SlackBuild b/network/ftp-cloudfs/ftp-cloudfs.SlackBuild
index 089dd46ea7..8cbd6e19d2 100644
--- a/network/ftp-cloudfs/ftp-cloudfs.SlackBuild
+++ b/network/ftp-cloudfs/ftp-cloudfs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "ftp-cloudfs".
@@ -24,27 +24,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ftp-cloudfs
SRCNAM=ftpcloudfs
VERSION=${VERSION:-0.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,7 +82,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root $PKG
+python2 setup.py install --root $PKG
mkdir -p $PKG/etc
install -m 0644 $SRCNAM.conf.example $PKG/etc/$SRCNAM.conf.new
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ftp-cloudfs/ftp-cloudfs.info b/network/ftp-cloudfs/ftp-cloudfs.info
index 2c4d44355a..7d3a23d5af 100644
--- a/network/ftp-cloudfs/ftp-cloudfs.info
+++ b/network/ftp-cloudfs/ftp-cloudfs.info
@@ -1,10 +1,10 @@
PRGNAM="ftp-cloudfs"
VERSION="0.35"
HOMEPAGE="https://github.com/cloudfs/ftp-cloudfs/"
-DOWNLOAD="https://github.com/cloudfs/ftp-cloudfs/archive/0.35.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/ftp-cloudfs-0.35.tar.gz"
MD5SUM="8c3374bba8253b2e30fa63f0926be360"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyftpdlib python-daemon python-memcached python-swiftclient"
+REQUIRES="pyftpdlib python2-daemon python2-memcached python2-swiftclient"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/network/fujinet-pc/README b/network/fujinet-pc/README
new file mode 100644
index 0000000000..df9c8f7fa0
--- /dev/null
+++ b/network/fujinet-pc/README
@@ -0,0 +1,24 @@
+fujinet-pc (Linux port of FujiNet firmware)
+
+FujiNet is a network adaptor for the Atari 8-bit line of computers. It
+has many features, including the ability to netboot the Atari from a
+disk image on an Internet TNFS server. It's a piece of hardware which
+plugs into the Atari's SIO port and connects to a wireless network.
+
+fujinet-pc is a Linux port of the FujiNet firmware, which allows using
+most of the FujiNet's features with just an SIO2PC cable and a PC.
+The package contains both fujinet-pc and the Atari disk images from
+the fujinet-sd-card git repo.
+
+See https://github.com/FujiNetWIFI/fujinet-pc for the current
+status of fujinet-pc. See also the FujiNet documentation wiki:
+https://github.com/FujiNetWIFI/fujinet-platformio/wiki
+
+Since fujinet-pc wasn't designed to be installed systemwide on a Linux
+system, this SlackBuild includes a wrapper script which allows each
+user to have a fujinet-pc environment in his home directory. Simply
+run "fujinet-pc" or choose FujiNet-PC from your desktop's application
+menu; the ~/.fujinet-pc directory will be created and populated if it
+doesn't already exist.
+
+To exit fujinet-pc, press ^C or close the terminal it's running in.
diff --git a/network/fujinet-pc/doinst.sh b/network/fujinet-pc/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/network/fujinet-pc/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/fujinet-pc/fnconfig.ini.gz b/network/fujinet-pc/fnconfig.ini.gz
new file mode 100644
index 0000000000..927f41f4c2
--- /dev/null
+++ b/network/fujinet-pc/fnconfig.ini.gz
Binary files differ
diff --git a/network/fujinet-pc/fujinet-pc.1 b/network/fujinet-pc/fujinet-pc.1
new file mode 100644
index 0000000000..21b51e4e2c
--- /dev/null
+++ b/network/fujinet-pc/fujinet-pc.1
@@ -0,0 +1,157 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "FUJINET-PC" 1 "2022-07-19" "2206.1" "SlackBuilds.org"
+.SH NAME
+fujinet-pc \- peripheral emulator and network adaptor for Atari 8-bit computers
+.\" RST source for fujinet-pc(1) man page. Convert with:
+.
+.\" rst2man.py fujinet-pc.rst > fujinet-pc.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+fujinet\-pc [\fB\-V\fP] [\fB\-u\fP \fIhost:port\fP] [\fB\-c\fP \fIconfig\-file\fP] [\fB\-s\fP \fISD\-directory\fP]
+.SH DESCRIPTION
+.sp
+FujiNet is a network adaptor for the Atari 8\-bit line of computers. It
+has many features, including the ability to netboot the Atari from a
+disk image on an Internet TNFS server. It\(aqs a piece of hardware which
+plugs into the Atari\(aqs SIO port and connects to a wireless network.
+.sp
+fujinet\-pc is a Linux port of the FujiNet firmware, which allows using
+most of the FujiNet\(aqs features with just an SIO2PC cable and a PC.
+.sp
+FujiNet features that work with fujinet\-pc:
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.IP \(bu 2
+Disk drive (D:) emulation with support for ATR disk images and XEX files (no ATX yet)
+.IP \(bu 2
+Modem emulation (R:)
+.IP \(bu 2
+Printer emulation (P:)
+.IP \(bu 2
+APETIME protocol
+.IP \(bu 2
+TNFS File System to access image files over network
+.IP \(bu 2
+Web interface to control program\(aqs settings, browse TNFS hosts and mount disk images
+.IP \(bu 2
+FujiNet network device (N:) with support for various network protocols:
+TCP, UDP, TNFS, HTTP, FTP, Telnet \fB[*]\fP
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.sp
+Not (yet) working:
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.IP \(bu 2
+CP/M emulation
+.IP \(bu 2
+SSH and SMB support for N:
+.IP \(bu 2
+SAM voice synthesizer
+.IP \(bu 2
+MIDIMaze support
+.IP \(bu 2
+Program recorder (tape) emulation
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.sp
+\fB[*]\fP Note that some applications using the N: device may rely on the SIO
+\fBPROCEED\fP line being connected. Most SIO2PC cables don\(aqt have this
+line connected.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fB\-V\fP
+Print version number (including build date and OS).
+.TP
+.B \fB\-u\fP \fIhost:port\fP
+Host interface and port to listen on, for the web user interface. Default is
+\fB0.0.0.0:8000\fP, meaning TCP port 8000 on all interfaces. To access the
+web UI, point a browser at e.g. \fBhttp://localhost:8000\fP\&. Leaving off
+the \fI:port\fP isn\(aqt actually an error, but it causes \fBfujinet\-pc\fP to
+choose a random port number (which it doesn\(aqt tell you; you\(aqd have
+to use \fBnetstat\fP(8) to find it).
+.TP
+.B \fB\-c\fP \fIconfig\-file\fP
+Use \fIconfig\-file\fP instead of the default \fBfnconfig.ini\fP\&.
+.TP
+.B \fB\-s\fP \fISD\-directory\fP
+Use \fISD\-directory\fP instead of the default \fBSD/\fP for the virtual
+SD card.
+.UNINDENT
+.SH FILES
+.INDENT 0.0
+.TP
+.B \fB~/.fujinet\-pc/\fP
+The default directory for \fBfujinet\-pc\fP, containing the following:
+.TP
+.B \fBfnconfig.ini\fP
+The default config file for \fBfujinet\-pc\fP\&. This is where settings
+are saved when they\(aqre changed with the web user interface. This file
+can also be edited with a regular text editor.
+.TP
+.B \fBSD/\fP
+The FujiNet hardware device has a slot for a Micro\-SD card. For fujinet\-pc,
+the contents of this directory will be available in the host list, under
+the name \fBSD\fP\&. The default contents of this directory include a good
+selection of DOS and utility disk images.
+.UNINDENT
+.\" AUTHOR
+.
+.\" ======
+.
+.\" normally I would put the upstream author's name here, but I have
+.
+.\" no idea what it is. The github user is just called FujiNetWIFI,
+.
+.\" and I haven't found any contact info anywhere in the source git
+.
+.\" repo. *shrug*.
+.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/fujinet\-pc\-2206.1/LICENSE for license information.
+.SH SEE ALSO
+.sp
+\fBatariserver\fP(1), \fBtnfsd\fP(1), \fBtnfs\-fuse\fP(1)
+.sp
+The fujinet\-pc homepage: \fI\%https://github.com/FujiNetWIFI/fujinet\-pc\fP
+.sp
+The FujiNet documentation wiki: \fI\%https://github.com/FujiNetWIFI/fujinet\-platformio/wiki\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/fujinet-pc/fujinet-pc.SlackBuild b/network/fujinet-pc/fujinet-pc.SlackBuild
new file mode 100644
index 0000000000..febf79d1da
--- /dev/null
+++ b/network/fujinet-pc/fujinet-pc.SlackBuild
@@ -0,0 +1,135 @@
+#!/bin/bash
+
+# Slackware build script for fujinet-pc
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=fujinet-pc
+VERSION=${VERSION:-2206.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+SRCVER="release-$VERSION"
+
+SDVER="${SDVER:-2021-04-29}"
+
+HOST="${HOST:-$( hostname -s )}"
+PORT="${PORT:-/dev/ttyUSB0}"
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+PKGBIN=$PKG/usr/bin
+PKGLIBX=$PKG/usr/libexec/$PRGNAM
+PKGSHARE=$PKG/usr/share/$PRGNAM
+mkdir -p $PKGDOC $PKGBIN $PKGLIBX $PKGSHARE
+
+# fujinet-pc itself:
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make dist
+ install -s -m2755 -oroot -gdialout dist/fujinet $PKGLIBX/fujinet
+
+ cp -a dist/{SD,data} $PKGSHARE
+
+ # we don't need the upstream run-fujinet script
+cd ..
+
+cp -a CREDITS.md README.md LICENSE $PKGDOC
+
+# config file has \r\n line endings, keep it gzipped in git to avoid
+# git "fixing" it.
+gzip -dc < $CWD/fnconfig.ini.gz | \
+ sed -e "s,_HOST_,$HOST," \
+ -e "s,_PORT_,$PORT," \
+ > $PKGSHARE/fnconfig.ini
+
+# our wrapper script replaces run-fujinet
+install -m0755 -oroot -groot $CWD/$PRGNAM.sh $PKGBIN/$PRGNAM
+
+# fujinet-sd-card content:
+tar xvfC \
+ $CWD/fujinet-sd-card-fujinet-sd-card-$SDVER.tar.gz \
+ $PKGSHARE/SD \
+ --strip-components=1
+
+ln -s ../../share/$PRGNAM/SD/README.md $PKGDOC/README-fujinet-sd-card.md
+
+# .desktop and man page written for this SlackBuild.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+for px in 16 32 48 64 128; do
+ size="${px}x${px}"
+ DIR=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $DIR
+ convert -resize "$size!" \
+ $PKGSHARE/data/www/favicon.ico \
+ PNG32:$DIR/$PRGNAM.png
+done
+
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/fujinet-pc/fujinet-pc.desktop b/network/fujinet-pc/fujinet-pc.desktop
new file mode 100644
index 0000000000..e288dea544
--- /dev/null
+++ b/network/fujinet-pc/fujinet-pc.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=FujiNet-PC
+GenericName=Atari 8-bit Peripheral Emulator
+Icon=fujinet-pc
+Exec=/usr/bin/fujinet-pc
+Terminal=true
+Type=Application
+Categories=Network;
diff --git a/network/fujinet-pc/fujinet-pc.info b/network/fujinet-pc/fujinet-pc.info
new file mode 100644
index 0000000000..8dc82909f1
--- /dev/null
+++ b/network/fujinet-pc/fujinet-pc.info
@@ -0,0 +1,12 @@
+PRGNAM="fujinet-pc"
+VERSION="2206.1"
+HOMEPAGE="https://github.com/FujiNetWIFI/fujinet-pc"
+DOWNLOAD="https://github.com/FujiNetWIFI/fujinet-pc/archive/release-2206.1/fujinet-pc-release-2206.1.tar.gz \
+ https://github.com/FujiNetWIFI/fujinet-sd-card/archive/fujinet-sd-card-2021-04-29/fujinet-sd-card-fujinet-sd-card-2021-04-29.tar.gz"
+MD5SUM="f1d3dd2aafaf052309a56601ab5a448e \
+ d53e0b655351b987223106fadee9e5a2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/fujinet-pc/fujinet-pc.rst b/network/fujinet-pc/fujinet-pc.rst
new file mode 100644
index 0000000000..0296f813df
--- /dev/null
+++ b/network/fujinet-pc/fujinet-pc.rst
@@ -0,0 +1,117 @@
+.. RST source for fujinet-pc(1) man page. Convert with:
+.. rst2man.py fujinet-pc.rst > fujinet-pc.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 2206.1
+.. |date| date::
+
+==========
+fujinet-pc
+==========
+
+-----------------------------------------------------------------
+peripheral emulator and network adaptor for Atari 8-bit computers
+-----------------------------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+fujinet-pc [**-V**] [**-u** *host:port*] [**-c** *config-file*] [**-s** *SD-directory*]
+
+DESCRIPTION
+===========
+
+FujiNet is a network adaptor for the Atari 8-bit line of computers. It
+has many features, including the ability to netboot the Atari from a
+disk image on an Internet TNFS server. It's a piece of hardware which
+plugs into the Atari's SIO port and connects to a wireless network.
+
+fujinet-pc is a Linux port of the FujiNet firmware, which allows using
+most of the FujiNet's features with just an SIO2PC cable and a PC.
+
+FujiNet features that work with fujinet-pc:
+
+ - Disk drive (D:) emulation with support for ATR disk images and XEX files (no ATX yet)
+ - Modem emulation (R:)
+ - Printer emulation (P:)
+ - APETIME protocol
+ - TNFS File System to access image files over network
+ - Web interface to control program's settings, browse TNFS hosts and mount disk images
+ - FujiNet network device (N:) with support for various network protocols:
+ TCP, UDP, TNFS, HTTP, FTP, Telnet **[\*]**
+
+Not (yet) working:
+
+ - CP/M emulation
+ - SSH and SMB support for N:
+ - SAM voice synthesizer
+ - MIDIMaze support
+ - Program recorder (tape) emulation
+
+**[\*]** Note that some applications using the N: device may rely on the SIO
+**PROCEED** line being connected. Most SIO2PC cables don't have this
+line connected.
+
+OPTIONS
+=======
+
+**-V**
+ Print version number (including build date and OS).
+
+**-u** *host:port*
+ Host interface and port to listen on, for the web user interface. Default is
+ **0.0.0.0:8000**, meaning TCP port 8000 on all interfaces. To access the
+ web UI, point a browser at e.g. **http://localhost:8000**. Leaving off
+ the *:port* isn't actually an error, but it causes **fujinet-pc** to
+ choose a random port number (which it doesn't tell you; you'd have
+ to use **netstat**\(8) to find it).
+
+**-c** *config-file*
+ Use *config-file* instead of the default **fnconfig.ini**.
+
+**-s** *SD-directory*
+ Use *SD-directory* instead of the default **SD/** for the virtual
+ SD card.
+
+FILES
+=====
+
+**~/.fujinet-pc/**
+ The default directory for **fujinet-pc**, containing the following:
+
+**fnconfig.ini**
+ The default config file for **fujinet-pc**. This is where settings
+ are saved when they're changed with the web user interface. This file
+ can also be edited with a regular text editor.
+
+**SD/**
+ The FujiNet hardware device has a slot for a Micro-SD card. For fujinet-pc,
+ the contents of this directory will be available in the host list, under
+ the name **SD**. The default contents of this directory include a good
+ selection of DOS and utility disk images.
+
+.. AUTHOR
+.. ======
+.. normally I would put the upstream author's name here, but I have
+.. no idea what it is. The github user is just called FujiNetWIFI,
+.. and I haven't found any contact info anywhere in the source git
+.. repo. *shrug*.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/fujinet-pc-|version|/LICENSE for license information.
+
+SEE ALSO
+========
+
+**atariserver**\(1), **tnfsd**\(1), **tnfs-fuse**\(1)
+
+The fujinet-pc homepage: https://github.com/FujiNetWIFI/fujinet-pc
+
+The FujiNet documentation wiki: https://github.com/FujiNetWIFI/fujinet-platformio/wiki
diff --git a/network/fujinet-pc/fujinet-pc.sh b/network/fujinet-pc/fujinet-pc.sh
new file mode 100644
index 0000000000..51e44f101e
--- /dev/null
+++ b/network/fujinet-pc/fujinet-pc.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+SHARE=/usr/share/fujinet-pc
+EXE=/usr/libexec/fujinet-pc/fujinet
+
+if [ "$1" = "-help" -o "$1" = "--help" -o "$1" = "-h" ]; then
+ echo -n "Usage: $( basename $0 ) "
+ $EXE --help 2>&1 | grep '^Usage:' | cut -d' ' -f3-
+ exit 0
+fi
+
+FUJINET_HOME="${FUJINET_HOME:-$HOME/.fujinet-pc}"
+if [ ! -e "$FUJINET_HOME" ]; then
+ echo "$FUJINET_HOME does not exist, populating from $SHARE"
+ mkdir -p "$FUJINET_HOME" || exit 1
+ cp -a $SHARE/* "$FUJINET_HOME" || exit 1
+fi
+
+cd "$FUJINET_HOME" || exit 1
+
+echo "Starting FujiNet"
+$EXE "$@"
+rc=$?
+
+# from sysexits.h
+# #define EX_TEMPFAIL 75 /* temp failure; user is invited to retry */
+while [ $rc -eq 75 ]; do
+ echo "Restarting FujiNet"
+ $EXE "$@"
+ rc=$?
+done
+
+echo "FujiNet ended with exit code $rc"
diff --git a/network/fujinet-pc/slack-desc b/network/fujinet-pc/slack-desc
new file mode 100644
index 0000000000..745c06b444
--- /dev/null
+++ b/network/fujinet-pc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fujinet-pc: fujinet-pc (Linux port of FujiNet firmware)
+fujinet-pc:
+fujinet-pc: FujiNet is a network adaptor for the Atari 8-bit line of computers. It
+fujinet-pc: has many features, including the ability to netboot the Atari from a
+fujinet-pc: disk image on an Internet TNFS server. It's a piece of hardware which
+fujinet-pc: plugs into the Atari's SIO port and connects to a wireless network.
+fujinet-pc:
+fujinet-pc: fujinet-pc is a Linux port of the FujiNet firmware, which allows using
+fujinet-pc: most of the FujiNet's features with just an SIO2PC cable and a PC.
+fujinet-pc:
+fujinet-pc:
diff --git a/network/fwbuilder/README b/network/fwbuilder/README
deleted file mode 100644
index db28272397..0000000000
--- a/network/fwbuilder/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Firewall Builder is multi-platform firewall configuration and management
-tool. It consists of a GUI and set of policy compilers for various firewall
-platforms. Firewall Builder uses object-oriented approach, it helps the
-administrator maintain a database of network objects and allows policy
-editing using simple drag-and-drop operations. Firewall Builder currently
-supports iptables, ipfilter, OpenBSD PF, and Cisco PIX.
diff --git a/network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch b/network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch
deleted file mode 100644
index d9df8429d3..0000000000
--- a/network/fwbuilder/fwbuilder-5.0.0.3568-ldflags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naurp fwbuilder-5.0.0.3568.orig//qmake.inc.in fwbuilder-5.0.0.3568//qmake.inc.in
---- fwbuilder-5.0.0.3568.orig//qmake.inc.in 2011-07-25 19:27:44.000000000 -0400
-+++ fwbuilder-5.0.0.3568//qmake.inc.in 2011-08-19 17:00:41.259985388 -0400
-@@ -39,6 +39,7 @@ unix {
- QMAKE_CFLAGS_RELEASE += -Wno-unused-parameter
- QMAKE_CXXFLAGS_DEBUG += -Wno-unused-parameter
- QMAKE_CXXFLAGS_RELEASE += -Wno-unused-parameter
-+ QMAKE_LFLAGS = @LDFLAGS@
-
- !macx {
-
diff --git a/network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch b/network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch
deleted file mode 100644
index c909028467..0000000000
--- a/network/fwbuilder/fwbuilder-5.1.0.3599-gcc47.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN fwbuilder-5.1.0.3599.orig/src/libfwbuilder/src/fwbuilder/ThreadTools.h fwbuilder-5.1.0.3599/src/libfwbuilder/src/fwbuilder/ThreadTools.h
---- fwbuilder-5.1.0.3599.orig/src/libfwbuilder/src/fwbuilder/ThreadTools.h 2012-03-23 07:10:54.000000000 +0100
-+++ fwbuilder-5.1.0.3599/src/libfwbuilder/src/fwbuilder/ThreadTools.h 2012-06-27 02:33:32.122340892 +0200
-@@ -31,6 +31,7 @@
-
- #include <time.h> //for time_t definition
- #include <pthread.h>
-+#include <unistd.h>
-
- #include <string>
- #include <queue>
diff --git a/network/fwbuilder/fwbuilder.SlackBuild b/network/fwbuilder/fwbuilder.SlackBuild
deleted file mode 100644
index dc33654e30..0000000000
--- a/network/fwbuilder/fwbuilder.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libfwbuilder
-
-# Written by David Somero <dsomero@hotmail.com>
-# Derived from Slackware's Slackbuilds.
-#
-# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA
-# Copyright 2010-2011 David Somero (dsomero@hotmail.com) Athens, TN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=fwbuilder
-VERSION=${VERSION:-5.1.0.3599}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${TMP}/package-${PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-patch -p1 -i $CWD/fwbuilder-5.0.0.3568-ldflags.patch
-patch -p1 -i $CWD/fwbuilder-5.1.0.3599-gcc47.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
- --prefix=/usr \
- --mandir=/usr/man \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-docdir=/usr/doc/$PRGNAM-$VERSION \
- --without-ccache \
- --without-distcc \
- --build=$ARCH-slackware-linux
-
-make
-make INSTALL_ROOT=$PKG install
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Move incorrectly installed man pages; stupid configure overrides our settings.
-mv $PKG/usr/share/man $PKG/usr/
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/fwbuilder/fwbuilder.info b/network/fwbuilder/fwbuilder.info
deleted file mode 100644
index f7637e3fd5..0000000000
--- a/network/fwbuilder/fwbuilder.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fwbuilder"
-VERSION="5.1.0.3599"
-HOMEPAGE="https://web.archive.org/web/20180131074714/http://www.fwbuilder.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/fwbuilder/Current_Packages/5.1.0/fwbuilder-5.1.0.3599.tar.gz"
-MD5SUM="331ce22eb8fb770a70395c3744f5092f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Somero"
-EMAIL="dsomero@hotmail.com"
diff --git a/network/fwbuilder/slack-desc b/network/fwbuilder/slack-desc
deleted file mode 100644
index dd5080da5e..0000000000
--- a/network/fwbuilder/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-fwbuilder: fwbuilder (Firewall creation utility)
-fwbuilder:
-fwbuilder: Firewall Builder consists of a GUI and set of policy compilers for
-fwbuilder: various firewall platforms. It helps users maintain a database of
-fwbuilder: objects and allows policy editing using simple drag-and-drop
-fwbuilder: operations. Firewall Builder currently supports iptables, ipfilter,
-fwbuilder: OpenBSD PF and Cisco PIX.
-fwbuilder:
-fwbuilder:
-fwbuilder:
-fwbuilder:
diff --git a/network/fwknop/fwknop.SlackBuild b/network/fwknop/fwknop.SlackBuild
index cedba3cc50..f67276bdff 100644
--- a/network/fwknop/fwknop.SlackBuild
+++ b/network/fwknop/fwknop.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fwknop
#
@@ -18,10 +18,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fwknop
VERSION=${VERSION:-2.6.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,7 +75,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -97,9 +107,11 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gajim/README b/network/gajim/README
index 0e7fb06135..6e6856a15e 100644
--- a/network/gajim/README
+++ b/network/gajim/README
@@ -1,5 +1,12 @@
-As of the 0.16 version, gajim uses it's own non-blocking xmpp implementation
-called nbxmpp (python-nbxmpp on slackbuilds.org). This is required to build.
+gajim is a GTK3-based Jabber client featuring tabbed interface,
+tray icon and notifications, encryption support, local link
+(Zeroconf/Bonjour) and other interesting things.
-For encryption PyOpenSSL is used, which is not required for building, but
-produces a warning message on connection if not installed.
+Optional dependencies:
+ gspell
+ gst-plugins-ugly
+ gst-plugins-bad-nonfree
+
+Note that 1.5.4 is the last version to support Python 3.9, so there
+will be no more updates of this slackbuild until the next Slackware
+release.
diff --git a/network/gajim/gajim.SlackBuild b/network/gajim/gajim.SlackBuild
index d3665b9350..1e38de8bd4 100644
--- a/network/gajim/gajim.SlackBuild
+++ b/network/gajim/gajim.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Gajim
#
# Copyright 2014-2018 Ruben Schuller
+# Copyright 2022-2023 Andrew Clemons, Tokyo Japan
#
# All rights reserved.
#
@@ -23,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gajim
-VERSION=${VERSION:-0.16.9}
+VERSION=${VERSION:-1.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,32 +40,22 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,19 +64,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+# our pango is too old, but it seems a somewhat arbitrary version was chosen.
+# This version of Gajim seems to work fine with our pango in 15.0.
+sed -i "/_MIN_PANGO_VER/s/'1.50.0'/'1.48.0'/g" gajim/gajim.py
+
+python3 -m build --wheel --no-isolation
+
+python3 -m installer --destdir "$PKG" dist/*.whl
-make
-make install DESTDIR=$PKG
+mv $PKG/usr/share/man $PKG/usr/man
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -98,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gajim/gajim.info b/network/gajim/gajim.info
index 1a8146f1d7..49c97e2fcd 100644
--- a/network/gajim/gajim.info
+++ b/network/gajim/gajim.info
@@ -1,10 +1,10 @@
PRGNAM="gajim"
-VERSION="0.16.9"
-HOMEPAGE="http://www.gajim.org"
-DOWNLOAD="https://gajim.org/downloads/0.x/0.16/gajim-0.16.9.tar.bz2"
-MD5SUM="87684533b7d6a9611fe28a9b7fca296d"
+VERSION="1.5.4"
+HOMEPAGE="https://gajim.org/"
+DOWNLOAD="https://gajim.org/downloads/1.5/gajim-1.5.4.tar.gz"
+MD5SUM="64affe8a670a34fca67808ca1cb5b664"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyOpenSSL python-nbxmpp pycrypto"
-MAINTAINER="Ruben Schuller"
-EMAIL="sb@rbn.im"
+REQUIRES="python3-build python3-wheel python-nbxmpp cryptography css-parser python3-keyring gtksourceview4 gsound python-qrcode python-axolotl python-gnupg gst-python"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/network/gajim/slack-desc b/network/gajim/slack-desc
index 6019eadf37..bb25670c10 100644
--- a/network/gajim/slack-desc
+++ b/network/gajim/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
gajim: gajim (full featured and easy to use Jabber client)
gajim:
-gajim: Jabber is a GTK2-based Jabber client featuring tabbed interface,
+gajim: Jabber is a GTK3-based Jabber client featuring tabbed interface,
gajim: tray icon and notifications, encryption support, local link
gajim: (Zeroconf/Bonjour) and other interesting things.
gajim:
gajim:
gajim:
gajim:
-gajim: Website: http://www.gajim.org
+gajim: Website: https://gajim.org/
gajim:
diff --git a/network/gallery-dl/README b/network/gallery-dl/README
new file mode 100644
index 0000000000..ae9a368ad5
--- /dev/null
+++ b/network/gallery-dl/README
@@ -0,0 +1,9 @@
+gallery-dl (Command line image scraper)
+
+gallery-dl is a command-line program to download image galleries and
+collections from several image hosting sites. It is a cross-platform
+tool with many configuration options and powerful filenaming
+capabilities.
+
+Optional dependencies include yt-dlp/youtube-dl for video downloads and
+pysocks for SOCKS proxy support.
diff --git a/network/gallery-dl/gallery-dl.SlackBuild b/network/gallery-dl/gallery-dl.SlackBuild
new file mode 100644
index 0000000000..570bb808ed
--- /dev/null
+++ b/network/gallery-dl/gallery-dl.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for gallery-dl
+
+# Copyright 2023-2024 Samuel Young, MO, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gallery-dl
+VERSION=${VERSION:-1.26.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make man PREFIX=/usr DESTDIR=$PKG
+make completion PREFIX=/usr DESTDIR=$PKG
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md LICENSE docs/formatting.md docs/gallery-dl-example.conf docs/gallery-dl.conf docs/options.md docs/supportedsites.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gallery-dl/gallery-dl.info b/network/gallery-dl/gallery-dl.info
new file mode 100644
index 0000000000..f5b7bf9139
--- /dev/null
+++ b/network/gallery-dl/gallery-dl.info
@@ -0,0 +1,10 @@
+PRGNAM="gallery-dl"
+VERSION="1.26.8"
+HOMEPAGE="https://github.com/mikf/gallery-dl"
+DOWNLOAD="https://github.com/mikf/gallery-dl/archive/v1.26.8/gallery-dl-1.26.8.tar.gz"
+MD5SUM="1922ddc39c6f79dc7389ab8964bbf6a7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Samuel Young"
+EMAIL="samyoung12788@gmail.com"
diff --git a/network/gallery-dl/slack-desc b/network/gallery-dl/slack-desc
new file mode 100644
index 0000000000..bfb617a755
--- /dev/null
+++ b/network/gallery-dl/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gallery-dl: gallery-dl (Command line image scraper)
+gallery-dl:
+gallery-dl: gallery-dl is a command-line program to download image galleries and
+gallery-dl: collections from several image hosting sites. It is a cross-platform
+gallery-dl: tool with many configuration options and powerful filenaming capabi-
+gallery-dl: lities.
+gallery-dl:
+gallery-dl:
+gallery-dl:
+gallery-dl: Homepage: https://github.com/mikf/gallery-dl
+gallery-dl:
diff --git a/network/ganglia-web/README b/network/ganglia-web/README
index b3f8439a86..686ed6d342 100644
--- a/network/ganglia-web/README
+++ b/network/ganglia-web/README
@@ -1,7 +1,9 @@
-Ganglia is a scalable distributed monitoring system for high-performance
-computing systems such as clusters and Grids. It is based on a hierarchical
-design targeted at federations of clusters.
+Ganglia is a scalable distributed monitoring system for
+high-performance computing systems such as clusters and Grids.
+It is based on a hierarchical design targeted at federations
+of clusters.
-The Ganglia web frontend files will be stored under /var/www/htdocs/ganglia
-directory. You can set WWWPATH to the desired place for your web server.
-Example: WWWPATH=/var/www/ganglia ./ganglia-web.SlackBuild
+The Ganglia web frontend files will be stored under
+/var/www/htdocs/ganglia directory. You can set WWWPATH to the
+desired place for your web server. Example:
+ WWWPATH=/var/www/ganglia ./ganglia-web.SlackBuild
diff --git a/network/ganglia-web/ganglia-web.SlackBuild b/network/ganglia-web/ganglia-web.SlackBuild
index 694fa060e1..aba343affb 100644
--- a/network/ganglia-web/ganglia-web.SlackBuild
+++ b/network/ganglia-web/ganglia-web.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Ganglia-web
-# Copyright 2016 Emmanuel N. Millán, Mendoza, Argentina.
+# Copyright 2016-2024 Emmanuel N. Millán, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,20 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ganglia-web
VERSION=${VERSION:-3.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH="noarch"
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,20 +44,6 @@ OUTPUT=${OUTPUT:-/tmp}
WWWPATH=${WWWPATH:-/var/www/htdocs/ganglia}
DOCUMENTATION="AUTHORS COPYING README TODO"
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -93,4 +80,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ganglia-web/ganglia-web.info b/network/ganglia-web/ganglia-web.info
index b73bd5069f..1931a17381 100644
--- a/network/ganglia-web/ganglia-web.info
+++ b/network/ganglia-web/ganglia-web.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ganglia"
MAINTAINER="Emmanuel N. Millan"
-EMAIL="emmanueln __at__ gmail.com"
+EMAIL="emmanueln@gmail.com"
diff --git a/network/ganglia/README b/network/ganglia/README
index 6d8f64dcd5..2184db5d84 100644
--- a/network/ganglia/README
+++ b/network/ganglia/README
@@ -1,17 +1,19 @@
ganglia (distributed monitoring system)
-Ganglia is a scalable distributed monitoring system for high-performance
-computing systems such as clusters and Grids. It is based on a hierarchical
-design targeted at federations of clusters.
+Ganglia is a scalable distributed monitoring system for
+high-performance computing systems such as clusters and Grids.
+It is based on a hierarchical design targeted at federations
+of clusters.
-1. This SlackBuild is just going to build Ganglia without 'gmetad', which
- collects information from ganglia monitor clients, and writes them to RRD
- databases. If you want to enable this, you'll have to enable it with the
- OPT variable and 'gmetad' as value, then execute the build script as
- follows: OPT=gmetad ./ganglia.SlackBuild
+1. This SlackBuild is just going to build Ganglia without 'gmetad',
+ which collects information from ganglia monitor clients, and
+ writes them to RRD databases. If you want to enable this, you'll
+ have to enable it with the OPT variable and 'gmetad' as value,
+ then execute the build script as follows:
+ OPT=gmetad ./ganglia.SlackBuild
- In order to build gmetad as part of this package, you'll need to have
- RRDTool installed. It is available from SlackBuilds.org.
+ In order to build gmetad as part of this package, you'll need
+ to have RRDTool installed. It is available from SlackBuilds.org.
2. The Ganglia web frontend is distributed as a separated SlackBuild:
ganglia-web.
diff --git a/network/ganglia/ganglia.SlackBuild b/network/ganglia/ganglia.SlackBuild
index eef0dc9066..0df8dedd32 100644
--- a/network/ganglia/ganglia.SlackBuild
+++ b/network/ganglia/ganglia.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Ganglia
# Copyright 2008 Cherife Li <cherife-#-dotimes.com>
# All rights reserved.
#
-# Copyright 2016 Emmanuel N. Millán, Mendoza, Argentina.
+# Copyright 2016-2024 Emmanuel N. Millán, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ganglia
VERSION=${VERSION:-3.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,12 +41,17 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCUMENTATION="AUTHORS COPYING ChangeLog INSTALL NEWS README*"
+DOCUMENTATION="AUTHORS COPYING ChangeLog NEWS README*"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -84,12 +92,14 @@ if [ -n "$OPT" ]; then
fi
-CFLAGS="$SLKCFLAGS" \
+LDFLAGS="-ltirpc" \
+CFLAGS=" -I/usr/include/tirpc $SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--enable-gexeca \
--enable-status \
@@ -101,6 +111,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/etc/rc.d
mkdir -p $PKG/etc/ganglia
./gmond/gmond -t > $PKG/etc/ganglia/gmond.conf.new
@@ -130,4 +142,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ganglia/ganglia.info b/network/ganglia/ganglia.info
index 4cb092a787..e2f5b72726 100644
--- a/network/ganglia/ganglia.info
+++ b/network/ganglia/ganglia.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="confuse"
MAINTAINER="Emmanuel N. Millan"
-EMAIL="emmanueln __at__ gmail.com"
+EMAIL="emmanueln@gmail.com"
diff --git a/network/gemget-bin/README b/network/gemget-bin/README
new file mode 100644
index 0000000000..831f8e22ba
--- /dev/null
+++ b/network/gemget-bin/README
@@ -0,0 +1,12 @@
+gemget-bin (file downloader for gemini protocol)
+
+gemget is a command line downloader for the Gemini protocol. It works
+well with streams and can print headers for debugging as well. It's
+basically the equivalent of wget, for gemini:// URLs.
+
+Since this is a binary repack, only i586/i686, x86_64, and aarch64 are
+supported. For aarch64, download the file here:
+
+https://github.com/makew0rld/gemget/releases/download/v1.9.0/gemget_1.9.0_linux_arm64
+
+Its md5sum is a3e858cb4d08729bba30d8ade5e313cf.
diff --git a/network/gemget-bin/docs/LICENSE b/network/gemget-bin/docs/LICENSE
new file mode 100644
index 0000000000..ee7b3fc619
--- /dev/null
+++ b/network/gemget-bin/docs/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 makeworld
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/network/gemget-bin/docs/README.md b/network/gemget-bin/docs/README.md
new file mode 100644
index 0000000000..952e51add4
--- /dev/null
+++ b/network/gemget-bin/docs/README.md
@@ -0,0 +1,91 @@
+# gemget
+
+A command line downloader for the [Gemini protocol](https://gemini.circumlunar.space/).
+It works well with streams and can print headers for debugging as well.
+
+```
+gemget [option]... URL...
+
+Usage of ./gemget:
+ -e, --add-extension Add .gmi extensions to gemini files that don't have it, like directories.
+
+ --cert string Path to a PEM encoded TLS client certificate to be sent with the request.
+
+ --connect-timeout uint Max time allowed to form a connection and get the header, in seconds.
+ Set to 0 for no timeout. (default 15)
+ -d, --directory string
+ The directory where downloads go (default ".")
+ --header
+ Print out (even with --quiet) the response header to stdout in the format:
+ Header: <status> <meta>
+
+ -f, --input-file string Input file with a single URL on each line. Empty lines or lines starting
+ with # are ignored. URLs on the command line will be processed first.
+
+ -i, --insecure Skip checking the cert
+
+ --key string Path to a PEM encoded TLS key for the provided client cert.
+
+ -m, --max-size string Set the file size limit. Any download that exceeds this size will
+ cause an Info output and be deleted.
+ Leaving it blank or setting to zero bytes will result in no limit.
+ This flag is ignored when outputting to stdout.
+ Format: <num> <optional-byte-size>
+ Examples: 423, 3.2KiB, '2.5 MB', '22 MiB', '10gib', 3M
+
+ -t, --max-time uint Set the downloading time limit, in seconds. Any download that
+ takes longer will cause an Info output and be deleted.
+
+ --no-progress-bar Disable the progress bar output.
+
+ -o, --output string Output path, for when there is only one URL.
+ '-' means stdout and implies --quiet.
+ It overrides --directory.
+
+ -p, --proxy string A proxy that can requests are sent to instead.
+ Can be a domain or IP with port. Port 1965 is assumed otherwise.
+
+ -q, --quiet Neither info strings or the progress bar will be printed.
+ Note that normally infos are printed to stderr, not stdout.
+
+ -r, --redirects uint How many redirects to follow before erroring out. (default 5)
+ -s, --skip Move to the next URL when one fails.
+ --socks string Host/address for a SOCKS5 proxy
+ --socks-pass string Password for a SOCKS5 proxy (optional)
+ --socks-user string Username for a SOCKS5 proxy (optional)
+
+ -v, --version Find out what version of gemget you're running.
+```
+
+## Project Status
+
+gemget is in maintenance mode. See my [blog post](https://www.makeworld.space/2023/08/bye_gemini.html) for details.
+
+## Installation
+Install a binary of the most recent release from the [releases page](https://github.com/makeworld-the-better-one/gemget/releases/). On Unix-based systems you will have to make the file executable with `chmod +x <filename>`. You can rename the file to just `gemget` for easy access, and move it to `/usr/local/bin/`.
+
+If you have Go installed, you can also install it using the Makefile. Make sure to use GNU Make.
+
+```shell
+git clone https://github.com/makeworld-the-better-one/gemget
+cd gemget
+# git checkout v1.2.3 # Optionally pin to a specific version instead of the latest commit
+make
+sudo make install
+```
+
+## Arch Linux
+
+Arch Linux users can install gemget from AUR. It has the package name `gemget`, and is maintained by @dalz.
+
+```shell
+yay -S gemget
+```
+
+
+## Features to add
+- [x] Support client certificates
+- [ ] Support interactive input for status code 10 & 11
+
+## License
+This project is under the [MIT License](./LICENSE).
diff --git a/network/gemget-bin/gemget-bin.SlackBuild b/network/gemget-bin/gemget-bin.SlackBuild
new file mode 100644
index 0000000000..ad8e24fcdb
--- /dev/null
+++ b/network/gemget-bin/gemget-bin.SlackBuild
@@ -0,0 +1,71 @@
+#!/bin/bash
+
+# Slackware build script for gemget-bin
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gemget-bin
+SRCNAM=gemget
+VERSION=${VERSION:-1.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+EXE=""
+case "$ARCH" in
+ i?86) EXE=${SRCNAM}_${VERSION}_linux_32-bit ;;
+ x86_64) EXE=${SRCNAM}_${VERSION}_linux_64-bit ;;
+ aarch64) EXE=${SRCNAM}_${VERSION}_linux_arm64 ;;
+esac
+
+if [ "$EXE" = "" ]; then
+ cat <<EOF
+===================================================
+Sorry, ARCH="$ARCH" is not supported.
+Only i586, i686, x86_64, and aarch64 are supported.
+===================================================
+EOF
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+install -D -m0755 -oroot -groot $CWD/$EXE usr/bin/$SRCNAM
+
+# the binary includes no docs. so they're included with the SlackBuild
+# (taken from the git repo at https://github.com/makew0rld/gemget).
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+install -m0644 -oroot -groot $CWD/docs/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gemget-bin/gemget-bin.info b/network/gemget-bin/gemget-bin.info
new file mode 100644
index 0000000000..0a6b959c23
--- /dev/null
+++ b/network/gemget-bin/gemget-bin.info
@@ -0,0 +1,10 @@
+PRGNAM="gemget-bin"
+VERSION="1.9.0"
+HOMEPAGE="https://github.com/makew0rld/gemget/"
+DOWNLOAD="https://github.com/makew0rld/gemget/releases/download/v1.9.0/gemget_1.9.0_linux_32-bit"
+MD5SUM="6e5d9c6d38abee20ad4dccedafe978a7"
+DOWNLOAD_x86_64="https://github.com/makew0rld/gemget/releases/download/v1.9.0/gemget_1.9.0_linux_64-bit"
+MD5SUM_x86_64="d0bfc8118c379c4dfaf6872ff32eef3a"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/gemget-bin/slack-desc b/network/gemget-bin/slack-desc
new file mode 100644
index 0000000000..ffc39ee66a
--- /dev/null
+++ b/network/gemget-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gemget-bin: gemget-bin (file downloader for gemini protocol)
+gemget-bin:
+gemget-bin: gemget is a command line downloader for the Gemini protocol. It works
+gemget-bin: well with streams and can print headers for debugging as well. It's
+gemget-bin: basically the equivalent of wget, for gemini:// URLs.
+gemget-bin:
+gemget-bin:
+gemget-bin:
+gemget-bin:
+gemget-bin:
+gemget-bin:
diff --git a/network/geoipupdate/README b/network/geoipupdate/README
index a1c0d6be1f..6610953c35 100644
--- a/network/geoipupdate/README
+++ b/network/geoipupdate/README
@@ -1,3 +1,3 @@
-MaxMind provides the GeoIP Update program, which performs automatic updates
-for both GeoIP2 and GeoIP Legacy binary databases. GeoIP updates require
-an active GeoIP subscription.
+MaxMind provides the GeoIP Update program, which performs automatic
+updates for both GeoIP2 and GeoIP Legacy binary databases. GeoIP
+updates require an active GeoIP subscription.
diff --git a/network/geoipupdate/geoipupdate.SlackBuild b/network/geoipupdate/geoipupdate.SlackBuild
index d87506da5f..a3d2e6f617 100644
--- a/network/geoipupdate/geoipupdate.SlackBuild
+++ b/network/geoipupdate/geoipupdate.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for geoipupdate
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geoipupdate
VERSION=${VERSION:-2.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/geomyidae/README b/network/geomyidae/README
index 8899a4b95e..131dc73a22 100644
--- a/network/geomyidae/README
+++ b/network/geomyidae/README
@@ -6,8 +6,18 @@ Features:
* cgi support (.cgi files are executed)
* search support in CGI files
* logging (-l option) and loglevels (-v option)
+* optional TLS support
An rc.geomyidae is included which takes its startup options
from the $GEOMYIDAE_ARGS environmental variable. Read
/usr/doc/geomyidae-$VERSION/README for a list of the full
options.
+
+The gph.vim ftdetect and syntax files are now installed into
+/usr/share/vim/ so there is no need to copy them manually.
+
+OPTIONAL:
+
+libtls or libressl for TLS support and:
+
+ TLS=yes ./geomyidae.SlackBuild
diff --git a/network/geomyidae/geomyidae.SlackBuild b/network/geomyidae/geomyidae.SlackBuild
index 9e933c58f8..924012c8e4 100644
--- a/network/geomyidae/geomyidae.SlackBuild
+++ b/network/geomyidae/geomyidae.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for geomyidae
# Copyright 2017 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geomyidae
-VERSION=${VERSION:-v0.34}
+VERSION=${VERSION:-0.69}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,42 +68,63 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + \
+ -o \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# check libtls installed
+if pkg-config --exists libtls && [[ $TLS =~ YES|yes ]]; then
+ # extra flags for TLS
+ SLKCFLAGS="$SLKCFLAGS -I/opt/libressl/include"
+ SLKLDFLAGS=-L/opt/libressl/lib$LIBDIRSUFFIX
+ SLKPKG_CONFIG_PATH=/opt/libressl/lib$LIBDIRSUFFIX/pkgconfig:
+ SLKLD_LIBRARY_PATH=/opt/libressl/lib$LIBDIRSUFFIX:
+else
+ # comment out TLS flags
+ sed -i "s,^TLS_CFLAGS,#&," Makefile
+ sed -i "s,^TLS_LDFLAGS,#&," Makefile
+fi
sed -i 's,PREFIX =.*,PREFIX = /usr,' Makefile
sed -i 's,MANDIR = .*,MANDIR = ${PREFIX}/man/man8,' Makefile
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+LDFLAGS="$LDFLAGS $SLKLDFLAGS" \
+PKG_CONFIG_PATH="${SLKPKG_CONFIG_PATH}${PKG_CONFIG_PATH}" \
+LD_LIBRARY_PATH="${SLKLD_LIBRARY_PATH}${LD_LIBRARY_PATH}" \
+make PREFIX=/usr MANDIR=${PREFIX}/man/man8
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# install vim files
+for dir in ftdetect syntax; do
+ install -D -m 0644 gph/vim/$dir/gph.vim $PKG/usr/share/vim/$dir/gph.vim
+done
mkdir -p $PKG/etc/rc.d
cat rc.d/rc.geomyidae > $PKG/etc/rc.d/rc.geomyidae.new
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+strip --strip-unneeded $PKG/usr/bin/geomyidae
+gzip -9 $PKG/usr/man/man8/geomyidae.8
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE README LINKS index.gph gph \
+ CGI.md LICENSE README LINKS index.gph gph/ docker/ \
+ haproxy/ patches/ cgi-examples/ \
+ tls-gen-selfsign-cert.sh \
+ xinetd-gopher-request-filter.conf \
+ xinetd-gopher-request-filter.sh \
+ geomyidae.svg \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod -c 644 '{}' +
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/geomyidae/geomyidae.info b/network/geomyidae/geomyidae.info
index ae69121696..b7325fc82c 100644
--- a/network/geomyidae/geomyidae.info
+++ b/network/geomyidae/geomyidae.info
@@ -1,10 +1,10 @@
PRGNAM="geomyidae"
-VERSION="v0.34"
+VERSION="0.69"
HOMEPAGE="http://r-36.net/scm/geomyidae/log.html"
-DOWNLOAD="ftp://bitreich.org/releases/geomyidae/geomyidae-v0.34.tgz"
-MD5SUM="75c4e5864afc184514372b0a5922242d"
+DOWNLOAD="ftp://bitreich.org/releases/geomyidae/geomyidae-v0.69.tar.gz"
+MD5SUM="a84ee793323acf83decef74a7601191d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/geomyidae/slack-desc b/network/geomyidae/slack-desc
index 5112a071f8..f4cff64806 100644
--- a/network/geomyidae/slack-desc
+++ b/network/geomyidae/slack-desc
@@ -14,6 +14,6 @@ geomyidae: * dir listings (if no index.gph was found)
geomyidae: * cgi support (.cgi files are executed)
geomyidae: * search support in CGI files
geomyidae: * logging (-l option) and loglevels (-v option)
+geomyidae: * optional TLS support
geomyidae:
geomyidae: gopher://bitreich.org/1/scm/geomyidae/log.gph
-geomyidae:
diff --git a/network/glassfish/README b/network/glassfish/README
deleted file mode 100644
index 0d54e4fd07..0000000000
--- a/network/glassfish/README
+++ /dev/null
@@ -1,16 +0,0 @@
-Glassfish is an open-source application server for the Java EE platform.
-Glassfish is the reference implementation of Java EE and as such supports
-Enterprise JavaBeans, JPA, JavaServer Faces, JMS, RMI, JavaServer Pages and
-servlets.
-
-You must have a "glassfish" user and a "glassfish" group to run this script:
- groupadd -g 263 glassfish
- useradd -u 263 -g glassfish -d /var/lib/glassfish -s /bin/false glassfish
-
-The SlackBuild will use /var/lib/glassfish to store domain and node
-configuration files. The default domain1 will be installed to /var/lib but note
-that this will be overwritten on upgrade, so it is advised to install any
-applications into a differently-named domain.
-
-The rc.glassfish script will operate on the default domain unless another is
-specified on the command line.
diff --git a/network/glassfish/asadmin b/network/glassfish/asadmin
deleted file mode 100644
index 59c7b2a472..0000000000
--- a/network/glassfish/asadmin
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-/opt/glassfish3/bin/asadmin "$@"
diff --git a/network/glassfish/doinst.sh b/network/glassfish/doinst.sh
deleted file mode 100644
index 127eb56cc6..0000000000
--- a/network/glassfish/doinst.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.glassfish.new
diff --git a/network/glassfish/glassfish.SlackBuild b/network/glassfish/glassfish.SlackBuild
deleted file mode 100644
index b0c04cb2ff..0000000000
--- a/network/glassfish/glassfish.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for glassfish
-
-# Copyright 2014 Benjamin Trigona-Harany
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=glassfish
-VERSION=${VERSION:-4.1}
-ARCH=noarch
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-MAJORVER=$(echo $VERSION | cut -d. -f1)
-
-set -e
-
-if ! getent group glassfish 2>&1 > /dev/null; then
- echo " You must have a \"glassfish\" group to run this script."
- echo " # groupadd -g 263 glassfish"
- exit 1
-elif ! getent passwd glassfish 2>&1 > /dev/null; then
- echo " You must have a \"glassfish\" user to run this script."
- echo " # useradd -u 263 -g glassfish -d /var/lib/glassfish -s /bin/false glassfish"
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM$MAJORVER
-unzip $CWD/$PRGNAM-$VERSION-web.zip
-cd $PRGNAM$MAJORVER
-
-mkdir -p $PKG/usr/share/$PRGNAM
-cp -r bin glassfish javadb pkg $PKG/usr/share/$PRGNAM
-find $PKG/usr/share/$PRGNAM -name "*.bat" -exec rm {} +
-sed -i "s/^\(AS_INSTALL=\).*/\1\/usr\/share\/$PRGNAM\/glassfish/g" $PKG/usr/share/$PRGNAM/bin/asadmin
-sed -i "s/^\(AS_DEF_DOMAINS_PATH=\).*/\1\"\/var\/lib\/glassfish\/domains\"/" $PKG/usr/share/$PRGNAM/glassfish/config/asenv.conf
-sed -i "s/^\(AS_DEF_NODES_PATH=\).*/\1\"\/var\/lib\/glassfish\/nodes\"/" $PKG/usr/share/$PRGNAM/glassfish/config/asenv.conf
-
-mkdir -p $PKG/usr/bin
-ln -s $PKG/usr/share/$PRGNAM/bin/asadmin $PKG/usr/bin
-
-mkdir -p $PKG/var/lib/$PRGNAM
-mv $PKG/usr/share/$PRGNAM/glassfish/domains $PKG/var/lib/glassfish
-mkdir -p $PKG/var/lib/$PRGNAM/nodes
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.glassfish > $PKG/etc/rc.d/rc.glassfish.new
-
-chown -R glassfish:glassfish $PKG/var/lib/$PRGNAM
-
-find $PKG \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/glassfish/glassfish.info b/network/glassfish/glassfish.info
deleted file mode 100644
index 6e93aaa51c..0000000000
--- a/network/glassfish/glassfish.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="glassfish"
-VERSION="4.1"
-HOMEPAGE="http://glassfish.java.net"
-DOWNLOAD="http://download.java.net/glassfish/4.1/release/glassfish-4.1-web.zip"
-MD5SUM="252ab55a3ce890570092009df5fc6e6b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/glassfish/rc.glassfish b/network/glassfish/rc.glassfish
deleted file mode 100644
index eb4389fa52..0000000000
--- a/network/glassfish/rc.glassfish
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-
-# Glassfish startup script for Slackware Linux
-
-# $Date: 2014/11/11 $
-#
-# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-DOMAIN=${2:-domain1}
-
-start()
-{
- /usr/bin/sudo -u glassfish /usr/bin/asadmin start-domain $DOMAIN
-}
-
-stop()
-{
- /usr/bin/sudo -u glassfish /usr/bin/asadmin stop-domain $DOMAIN
-}
-
-restart()
-{
- /usr/bin/sudo -u glassfish /usr/bin/asadmin restart-domain $DOMAIN
-}
-
-status()
-{
- /usr/bin/sudo -u glassfish /usr/bin/asadmin list-domains
-}
-
-case "$1" in
-'start')
- start
- ;;
-'stop')
- stop
- ;;
-'restart')
- restart
- ;;
-'status')
- status
- ;;
-*)
- echo "usage $0 start|stop|restart|status [DOMAIN]"
-esac
diff --git a/network/glassfish/slack-desc b/network/glassfish/slack-desc
deleted file mode 100644
index 20e30c645b..0000000000
--- a/network/glassfish/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-glassfish: glassfish (Java EE Application Server)
-glassfish:
-glassfish: Glassfish is an open-source application server for the Java EE
-glassfish: platform. It supports Enterprise JavaBeans, JPA, JavaServer Faces,
-glassfish: JMS, RMI, JavaServer Pages and servlets.
-glassfish:
-glassfish:
-glassfish:
-glassfish:
-glassfish:
-glassfish:
diff --git a/network/glewlwyd/README b/network/glewlwyd/README
index 9d6776a0e4..097e1973db 100644
--- a/network/glewlwyd/README
+++ b/network/glewlwyd/README
@@ -10,7 +10,10 @@ The API backend is fully written in language C, it's based on Ulfius
HTTP framework, Hoel database framework and Libjwt JSON Web Tokens
library.
-Set GLEWLWYD_SQLITE_INIT=1 to initialize, if it doesn't exists already, a
-proper SQLite /var/cache/glewlwyd/glewlwyd.db when installing the package.
-The sample configuration file in /etc/glewlwyd/glewlwyd.conf.sample is
-then directly usable with the pretty insecure admin/password credentials.
+Set GLEWLWYD_SQLITE_INIT=1 to initialize, if it doesn't exist already,
+a proper SQLite /var/cache/glewlwyd/glewlwyd.db when installing the
+package.
+
+The sample configuration file in /etc/glewlwyd/glewlwyd.conf.sample
+is then directly usable with the pretty insecure admin/password
+credentials.
diff --git a/network/glewlwyd/glewlwyd.SlackBuild b/network/glewlwyd/glewlwyd.SlackBuild
index 9977a3c7d0..9664c0f555 100644
--- a/network/glewlwyd/glewlwyd.SlackBuild
+++ b/network/glewlwyd/glewlwyd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for glewlwyd
#
# Yth | Pont-en-Royans, France | yth@ythogtha.org
@@ -20,11 +20,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=glewlwyd
-VERSION=${VERSION:-2.5.2}
+VERSION=${VERSION:-2.7.6}
SRCVER=$(tr _ - <<< ${VERSION})
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized"
LIBDIRSUFFIX=""
@@ -75,6 +88,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG
@@ -83,6 +97,11 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/usr/man/man8
+install -m 644 docs/glewlwyd.8 $PKG/usr/man/man8
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
# Default directory for SQLite3 database
mkdir -p $PKG/var/cache/glewlwyd/
mv $PKG/etc/glewlwyd/glewlwyd.conf $PKG/etc/glewlwyd/glewlwyd.conf.sample
@@ -111,4 +130,4 @@ EOF
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/glewlwyd/glewlwyd.info b/network/glewlwyd/glewlwyd.info
index 06c12b5965..7e8db29bc0 100644
--- a/network/glewlwyd/glewlwyd.info
+++ b/network/glewlwyd/glewlwyd.info
@@ -1,8 +1,8 @@
PRGNAM="glewlwyd"
-VERSION="2.5.2"
+VERSION="2.7.6"
HOMEPAGE="https://github.com/babelouest/glewlwyd"
-DOWNLOAD="https://github.com/babelouest/glewlwyd/archive/v2.5.2/glewlwyd-2.5.2.tar.gz"
-MD5SUM="fa6d6f99894aae2b0e16a36e9322f4a8"
+DOWNLOAD="https://github.com/babelouest/glewlwyd/archive/v2.7.6/glewlwyd-2.7.6.tar.gz"
+MD5SUM="43d3dab8ec1f0a4213f8810eef832225"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libconfig oath-toolkit libcbor hoel iddawc"
diff --git a/network/glusterfs/glusterfs.SlackBuild b/network/glusterfs/glusterfs.SlackBuild
index 099eb7f2ee..3ded72e7ab 100644
--- a/network/glusterfs/glusterfs.SlackBuild
+++ b/network/glusterfs/glusterfs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GlusterFS
@@ -22,10 +22,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=glusterfs
VERSION=${VERSION:-4.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./autogen.sh
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -93,8 +103,8 @@ rm -f \
$PKG/etc/$PRGNAM/gluster-rsyslog-5.8.conf \
$PKG/etc/$PRGNAM/gluster-rsyslog-7.2.conf
-install -D -m 0755 extras/command-completion/gluster.bash \
- $PKG/etc/bash_completion.d/gluster-bash-completion.sh
+install -D -m 0644 extras/command-completion/gluster.bash \
+ $PKG/usr/share/bash-completion/completions/gluster
mv $PKG/etc/$PRGNAM/eventsconfig.json $PKG/etc/$PRGNAM/eventsconfig.json.new
mv $PKG/etc/$PRGNAM/glusterd.vol $PKG/etc/$PRGNAM/glusterd.vol.new
@@ -115,9 +125,11 @@ install -D -m 0644 extras/init.d/glusterd-Redhat $PKG/etc/rc.d/rc.glusterd.new
cp -a COPYING-GPLV2 COPYING-LGPLV3 README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gmi100/README b/network/gmi100/README
new file mode 100644
index 0000000000..e86f3f77a8
--- /dev/null
+++ b/network/gmi100/README
@@ -0,0 +1,6 @@
+gmi100 (Gemini CLI protocol client written in 100 lines of ANSI C)
+
+I tried to pack as much as possible in 100 lines of ANSI C. Initially
+I struggled to fit simple TLS connection in such small space but
+eventually I ended up with CLI client capable of efficient navigation
+between capsules of Gemini space.
diff --git a/network/gmi100/gmi100.1 b/network/gmi100/gmi100.1
new file mode 100644
index 0000000000..51c022e5de
--- /dev/null
+++ b/network/gmi100/gmi100.1
@@ -0,0 +1,83 @@
+.TH GMI100 1 "2024-03-03"
+.SH NAME
+gmi100 \- Gemini CLI protocol client written in 100 lines of ANSI C.
+.SH SYNOPSIS
+.B gmi100
+.IR [PAGER]
+.SH DESCRIPTION
+Other similar Gemini client projects written in few lines of code
+successfully shows how simple Gemini protocol is. This code is far from
+straight forward. But I had a different goal in mind.
+
+I tried to pack as much as possible in 100 lines of ANSI C. Initially I
+struggled to fit simple TLS connection in such small space but
+eventually I ended up with CLI client capable of efficient navigation
+between capsules of Gemini space.
+
+.SH ACTIONS
+.TP
+.BR "N"
+Number of link on current capsule
+.TP
+.BR "r"
+Refresh current capsule
+.TP
+.BR "u"
+Go "up" in URL directory path
+.TP
+.BR "b"
+Go back in browsing history
+.TP
+.BR "c"
+Print current capsule URI
+.TP
+.BR "q"
+Quit
+.TP
+.BR "?"
+Search, geminispace.info/search is used by default
+.TP
+.BR "!"
+Shell command prefixed, run it on current capsule
+.
+.SH USAGE EXAMPLES
+.
+.TP
+.BR "gmi100 cat"
+Using "cat" as pager
+.TP
+.BR "gmi100> ACTION"
+On prompt: execute any action (as above mentioned)
+.TP
+.BR "gmi100> geminiprotocol.net"
+On prompt: go to capsule
+.TP
+.BR "gmi100> 3"
+On prompt: go to link number 3 of current capsule
+.TP
+.BR "gmi100> !nsxiv"
+On prompt: open file of current URL with nsxiv (image)
+.
+.SH HISTORY
+After you run the program it will open or create history .gmi100 file.
+Then every page you visits that is not a redirection to other page and
+doesn't ask you for input will be appended at the end of history file.
+File is never cleaned up by program itself to make history persistent
+between sessions but that means cleaning up browsing history is your
+responsibility. But this also gives you an control over history file
+content. You can for example append some links that you want to visit
+in next session to have easier access to them just by running program
+and pressing "b" which will navigate to last link from history file.
+
+During browsing session typing "b" in program prompt for the first time
+will result in navigation to last link in history file. Then if you
+type "b" again it will open second to last link from history. But it
+will also append that link at the end. You can input "b" multiple times
+and it will always go back by one link in history and append it at then
+end of history file at the same time. Only if you decide to navigate to
+other page by typing URL or choosing link number you will break that
+cycle. Then history "pointer" will go back to the very bottom of the
+history file.
+
+.SH AUTHOR
+irek@gabr.pl
diff --git a/network/gmi100/gmi100.SlackBuild b/network/gmi100/gmi100.SlackBuild
new file mode 100644
index 0000000000..55fb39901c
--- /dev/null
+++ b/network/gmi100/gmi100.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for gmi100
+
+# Copyright 2024 G. Galdini <jake@dioniso.com.br> Brazil
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gmi100
+VERSION=${VERSION:-20231020_f5c69e3}
+COMMIT=f5c69e316781e8d411b46c1d901f3f9fc23f16cf
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./build
+
+mkdir -p $PKG/usr/{bin,man/man1}
+
+cp $PRGNAM $PKG/usr/bin
+cp $CWD/$PRGNAM.1 $PKG/usr/man/man1
+
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man?/*.?
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gmi100/gmi100.info b/network/gmi100/gmi100.info
new file mode 100644
index 0000000000..0ee80fef88
--- /dev/null
+++ b/network/gmi100/gmi100.info
@@ -0,0 +1,10 @@
+PRGNAM="gmi100"
+VERSION="20231020_f5c69e3"
+HOMEPAGE="https://github.com/ir33k/gmi100"
+DOWNLOAD="https://github.com/ir33k/gmi100/archive/f5c69e3/gmi100-f5c69e316781e8d411b46c1d901f3f9fc23f16cf.tar.gz"
+MD5SUM="f73987208cadafb025c7a75b21e9be84"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="G. Galdini"
+EMAIL="jake@dioniso.com.br"
diff --git a/network/gmi100/slack-desc b/network/gmi100/slack-desc
new file mode 100644
index 0000000000..0d36bc5b0e
--- /dev/null
+++ b/network/gmi100/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gmi100: gmi100 (Gemini CLI protocol client written in 100 lines of ANSI C)
+gmi100:
+gmi100: gmi100 has been written by irek <irek@gabr.pl>
+gmi100:
+gmi100: Homepage: https://github.com/ir33k/gmi100
+gmi100:
+gmi100:
+gmi100:
+gmi100:
+gmi100:
+gmi100:
diff --git a/network/gmvault/README b/network/gmvault/README
deleted file mode 100644
index b1038f10ae..0000000000
--- a/network/gmvault/README
+++ /dev/null
@@ -1 +0,0 @@
-Tool to backup and restore your Gmail emails at will.
diff --git a/network/gmvault/gmvault.SlackBuild b/network/gmvault/gmvault.SlackBuild
deleted file mode 100644
index b996203a28..0000000000
--- a/network/gmvault/gmvault.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gmvault
-
-# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=gmvault
-VERSION=${VERSION:-1.9.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/gmvault/gmvault.info b/network/gmvault/gmvault.info
deleted file mode 100644
index 5ee6da4e26..0000000000
--- a/network/gmvault/gmvault.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gmvault"
-VERSION="1.9.1"
-HOMEPAGE="http://gmvault.org/"
-DOWNLOAD="https://pypi.python.org/packages/43/a2/a67be562a045b96aaa9f984cb1c178c7649bb53523535615e0b79064e1f9/gmvault-1.9.1.tar.gz"
-MD5SUM="4ad5ebd59147f12e30e6ba971ace7834"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="Logbook IMAPClient python-chardet"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/gmvault/slack-desc b/network/gmvault/slack-desc
deleted file mode 100644
index ff804e5a91..0000000000
--- a/network/gmvault/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-gmvault: gmvault (gmail backup-restore tool)
-gmvault:
-gmvault: Tool to backup and restore your Gmail emails at will.
-gmvault:
-gmvault: Homepage: http://gmvault.org/
-gmvault:
-gmvault:
-gmvault:
-gmvault:
-gmvault:
-gmvault:
diff --git a/network/gnirehtet-bin/gnirehtet-bin.SlackBuild b/network/gnirehtet-bin/gnirehtet-bin.SlackBuild
index d64b778c50..f7c42c6626 100644
--- a/network/gnirehtet-bin/gnirehtet-bin.SlackBuild
+++ b/network/gnirehtet-bin/gnirehtet-bin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnirehtet-bin
# Copyright 2021 toolonely <lonely_@tutanota.com>
@@ -21,11 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnirehtet-bin
BINNAM=gnirehtet
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,4 +81,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gnome-bluetooth/gnome-bluetooth.SlackBuild b/network/gnome-bluetooth/gnome-bluetooth.SlackBuild
index 9e9f182aea..d381647dab 100644
--- a/network/gnome-bluetooth/gnome-bluetooth.SlackBuild
+++ b/network/gnome-bluetooth/gnome-bluetooth.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnome-bluetooth
# Copyright 2016-2018 Chris Farrell <timcowchip@gorge.net>
+# Copyright 2022 Juan M. Lasca <juanmlasca@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-bluetooth
-VERSION=${VERSION:-3.20.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.34.5}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,19 +39,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -pipe -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -pipe -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -m64 -pipe -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -56,11 +64,9 @@ fi
set -e
-DOCS="AUTHORS COPYING COPYING.LIB INSTALL NEWS README"
-
rm -rf $PKG
-mkdir -p $WRK $PKG $OUTPUT
-cd $WRK
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
@@ -71,44 +77,45 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --build=$ARCH-slackware-linux \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --includedir=/usr/include \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --sysconfdir=/etc \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --enable-shared \
- --disable-gtk-doc \
- --disable-schemas-compile \
- --enable-introspection=yes \
- --enable-compile-warnings=no \
- --localstatedir=/var \
- --sharedstatedir=/var/lib \
- --disable-static --enable-shared \
- --disable-gtk-doc \
- --disable-schemas-compile \
- --enable-introspection=yes \
- --enable-compile-warnings=no
-
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Special thanks to Bob Funk, who kindly pointed this problem out and
+# provided a link to the patch fixing it.
+cat $CWD/patches/01-meson.patch | patch -p1 || exit
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+# handle icon size problem: resize it if Imagemagick is installed,
+# delete them otherwise
+if [ -x /usr/bin/convert ]; then
+ /usr/bin/convert \
+ $PKG/usr/share/icons/hicolor/48x48/status/bluetooth-active.png \
+ -resize 24x24 \
+ $PKG/usr/share/icons/hicolor/24x24/status/bluetooth-active.png
+else
+ rm -fr $PKG/usr/share/icons/hicolor/24x24
+fi
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING COPYING.LIB MAINTAINERS README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -116,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gnome-bluetooth/gnome-bluetooth.info b/network/gnome-bluetooth/gnome-bluetooth.info
index d64f248740..f3381ab043 100644
--- a/network/gnome-bluetooth/gnome-bluetooth.info
+++ b/network/gnome-bluetooth/gnome-bluetooth.info
@@ -1,10 +1,10 @@
PRGNAM="gnome-bluetooth"
-VERSION="3.20.1"
+VERSION="3.34.5"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth"
-DOWNLOAD="http://download.gnome.org/sources/gnome-bluetooth/3.20/gnome-bluetooth-3.20.1.tar.xz"
-MD5SUM="0768931f17eaba8b05eddacf17204f60"
+DOWNLOAD="https://download.gnome.org/sources/gnome-bluetooth/3.34/gnome-bluetooth-3.34.5.tar.xz"
+MD5SUM="d83faa54abaf64bb40b5313bc233e74e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Chris Farrell"
-EMAIL="timcowchip@gorge.net"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/network/gnome-bluetooth/patches/01-meson.patch b/network/gnome-bluetooth/patches/01-meson.patch
new file mode 100644
index 0000000000..79c0a08725
--- /dev/null
+++ b/network/gnome-bluetooth/patches/01-meson.patch
@@ -0,0 +1,17 @@
+# 08/02/2023: Allow newer versions of meson to build this package.
+# Special thanks to Bob Funk who kindly pointed this out.
+# Original patch url: https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/commit/755fd758f866d3a3f7ca482942beee749f13a91e.patch
+
+diff --git a/sendto/meson.build b/sendto/meson.build
+index 24a4e394..3e233a03 100644
+--- a/sendto/meson.build
++++ b/sendto/meson.build
+@@ -22,7 +22,6 @@ desktop_in = configure_file(
+ )
+
+ i18n.merge_file (
+- desktop,
+ type: 'desktop',
+ input: desktop_in,
+ output: desktop,
+--
diff --git a/network/gnome-remote-desktop/README b/network/gnome-remote-desktop/README
new file mode 100644
index 0000000000..b1cd452f33
--- /dev/null
+++ b/network/gnome-remote-desktop/README
@@ -0,0 +1,11 @@
+Remote desktop daemon for GNOME using pipewire, allowing you to connect
+to your machine remotely.
+
+Note: On Slackware the gnome-remote-desktop daemon must be started and
+stopped manually. There are controls to start/stop the daemon in the
+gnome-control-center "Sharing" panel, but these controls are hard-coded
+to talk to systemd and will not start/stop the daemon. Instead, the
+daemon can be run directly from its installed path of:
+
+ /usr/libexec/gnome-remote-desktop
+
diff --git a/network/gnome-remote-desktop/doinst.sh b/network/gnome-remote-desktop/doinst.sh
new file mode 100644
index 0000000000..56b9e419c1
--- /dev/null
+++ b/network/gnome-remote-desktop/doinst.sh
@@ -0,0 +1,6 @@
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+
diff --git a/network/gnome-remote-desktop/gnome-remote-desktop.SlackBuild b/network/gnome-remote-desktop/gnome-remote-desktop.SlackBuild
new file mode 100644
index 0000000000..d4c87a8003
--- /dev/null
+++ b/network/gnome-remote-desktop/gnome-remote-desktop.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for gnome-remote-desktop
+
+# Copyright 2022 Bob Funk Winnipeg, Canada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gnome-remote-desktop
+VERSION=${VERSION:-41.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dsystemd=false
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gnome-remote-desktop/gnome-remote-desktop.info b/network/gnome-remote-desktop/gnome-remote-desktop.info
new file mode 100644
index 0000000000..b5945445bd
--- /dev/null
+++ b/network/gnome-remote-desktop/gnome-remote-desktop.info
@@ -0,0 +1,10 @@
+PRGNAM="gnome-remote-desktop"
+VERSION="41.3"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-remote-desktop"
+DOWNLOAD="https://download.gnome.org/core/41/41.8/sources/gnome-remote-desktop-41.3.tar.xz"
+MD5SUM="48de4a64f420ed48f39d9cb0f940f537"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="nv-codec-headers"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/network/gnome-remote-desktop/slack-desc b/network/gnome-remote-desktop/slack-desc
new file mode 100644
index 0000000000..9ebc0e042c
--- /dev/null
+++ b/network/gnome-remote-desktop/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gnome-remote-desktop: gnome-remote-desktop (GNOME Remote Desktop)
+gnome-remote-desktop:
+gnome-remote-desktop: Remote desktop daemon for GNOME using pipewire.
+gnome-remote-desktop:
+gnome-remote-desktop:
+gnome-remote-desktop:
+gnome-remote-desktop:
+gnome-remote-desktop:
+gnome-remote-desktop:
+gnome-remote-desktop: https://gitlab.gnome.org/GNOME/gnome-remote-desktop
+gnome-remote-desktop:
diff --git a/network/gnome-shell-extension-gsconnect/README b/network/gnome-shell-extension-gsconnect/README
new file mode 100644
index 0000000000..dc471760fd
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/README
@@ -0,0 +1,8 @@
+The KDE Connect project allows devices to securely share content such
+as notifications and files as well as interactive features such as SMS
+messaging and remote input. The KDE Connect team maintains cross-desktop
+, Android and Sailfish applications as well as an interface for KDE
+Plasma. GSConnect is a complete implementation of KDE Connect especially
+for GNOME Shell with Nautilus, Chrome and Firefox integration. It is
+does not rely on the KDE Connect desktop application and will not work
+with it installed.
diff --git a/network/gnome-shell-extension-gsconnect/doinst.sh b/network/gnome-shell-extension-gsconnect/doinst.sh
new file mode 100644
index 0000000000..b123c0cd8d
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.SlackBuild b/network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.SlackBuild
new file mode 100644
index 0000000000..a9e2500549
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for gnome-shell-extension-gsconnect
+
+# Copyright 2022 Nathaniel Russell <naterussell83@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gnome-shell-extension-gsconnect
+VERSION=${VERSION:-49}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dnemo=true \
+ -Dinstalled_tests=false \
+ -Dstrip=true
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CODE_OF_CONDUCT.md LICENSE RELEASE_CHECKLIST.md CONTRIBUTING.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+install -Dpm 0644 $CWD/nautilus-gsconnect.metainfo.xml -t $PKG/usr/share/metainfo/
+install -Dpm 0644 $CWD/nemo-gsconnect.metainfo.xml -t $PKG/usr/share/metainfo/
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.info b/network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.info
new file mode 100644
index 0000000000..0d8d9020eb
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.info
@@ -0,0 +1,10 @@
+PRGNAM="gnome-shell-extension-gsconnect"
+VERSION="49"
+HOMEPAGE="https://github.com/GSConnect/gnome-shell-extension-gsconnect"
+DOWNLOAD="https://github.com/GSConnect/gnome-shell-extension-gsconnect/archive/v49/gnome-shell-extension-gsconnect-49.tar.gz"
+MD5SUM="7b5b45afd32309ecadecda39ad8e0d42"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="AppStream"
+MAINTAINER="Nathaniel Russell"
+EMAIL="naterussell83@gmail.com"
diff --git a/network/gnome-shell-extension-gsconnect/nautilus-gsconnect.metainfo.xml b/network/gnome-shell-extension-gsconnect/nautilus-gsconnect.metainfo.xml
new file mode 100644
index 0000000000..6d5ce240d1
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/nautilus-gsconnect.metainfo.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>nautilus-gsconnect</id>
+ <extends>nautilus.desktop</extends>
+ <name>Nautilus extension for GSConnect</name>
+ <summary>Nautilus extension for GSConnect</summary>
+ <url type="homepage">https://github.com/andyholmes/gnome-shell-extension-gsconnect/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0-only</project_license>
+ <update_contact>melmorabity@fedoraproject.org</update_contact>
+</component>
diff --git a/network/gnome-shell-extension-gsconnect/nemo-gsconnect.metainfo.xml b/network/gnome-shell-extension-gsconnect/nemo-gsconnect.metainfo.xml
new file mode 100644
index 0000000000..f5743e712d
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/nemo-gsconnect.metainfo.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>nemo-gsconnect</id>
+ <extends>nemo.desktop</extends>
+ <name>Nemo extension for GSConnect</name>
+ <summary>Nemo extension for GSConnect</summary>
+ <url type="homepage">https://github.com/andyholmes/gnome-shell-extension-gsconnect/</url>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0-only</project_license>
+ <update_contact>melmorabity@fedoraproject.org</update_contact>
+</component>
diff --git a/network/gnome-shell-extension-gsconnect/slack-desc b/network/gnome-shell-extension-gsconnect/slack-desc
new file mode 100644
index 0000000000..abd364a514
--- /dev/null
+++ b/network/gnome-shell-extension-gsconnect/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gnome-shell-extension-gsconnect: gnome-shell-extension-gsconnect ( SMS messaging )
+gnome-shell-extension-gsconnect:
+gnome-shell-extension-gsconnect: GSConnect is a complete implementation of KDE Connect especially for
+gnome-shell-extension-gsconnect: GNOME Shell with Nautilus, Chrome and Firefox integration.
+gnome-shell-extension-gsconnect: It is does not rely on the KDE Connect desktop application and will
+gnome-shell-extension-gsconnect: not work with it installed.
+gnome-shell-extension-gsconnect:
+gnome-shell-extension-gsconnect:
+gnome-shell-extension-gsconnect: https://gitlab.com/arcmenu/ArcMenu
+gnome-shell-extension-gsconnect:
+gnome-shell-extension-gsconnect:
diff --git a/network/gnome-user-share/README b/network/gnome-user-share/README
new file mode 100644
index 0000000000..b153632230
--- /dev/null
+++ b/network/gnome-user-share/README
@@ -0,0 +1,22 @@
+gnome-user-share is a small package that binds together various free
+software projects to bring easy to use user-level file sharing to the
+masses.
+
+The program is meant to run in the background when the user is logged
+in, and when file sharing is enabled a webdav server is started that
+shares the $HOME/Public folder. The share is then published to all
+computers on the local network using mDNS/rendezvous, so that it shows
+up in the Network location in Gnome.
+
+The dav server used is apache, so you need that installed. Avahi or
+Howl is used for mDNS support, so you need to have that installed and
+mDNSResolver running.
+
+Note: On Slackware the gnome-user-share daemon must be started and
+stopped manually. There are controls to start/stop the daemon in the
+gnome-control-center "Sharing" panel, but these controls are hard-coded
+to talk to systemd and will not start/stop the daemon. Instead, the
+daemon can be run directly from its installed path of:
+
+ /usr/libexec/gnome-user-share-webdav
+
diff --git a/network/gnome-user-share/doinst.sh b/network/gnome-user-share/doinst.sh
new file mode 100644
index 0000000000..f6a6676883
--- /dev/null
+++ b/network/gnome-user-share/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+
diff --git a/network/gnome-user-share/gnome-user-share.SlackBuild b/network/gnome-user-share/gnome-user-share.SlackBuild
new file mode 100644
index 0000000000..a4980fdf6e
--- /dev/null
+++ b/network/gnome-user-share/gnome-user-share.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for gnome-user-share
+
+# Copyright 2023, Bob Funk, Winnipeg Canada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gnome-user-share
+VERSION=${VERSION:-3.34.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dsystemduserunitdir=no \
+ -Dmodules_path=/usr/lib${LIBDIRSUFFIX}/httpd/modules \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING ChangeLog.pre-git MAINTAINERS NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gnome-user-share/gnome-user-share.info b/network/gnome-user-share/gnome-user-share.info
new file mode 100644
index 0000000000..e543dc1adb
--- /dev/null
+++ b/network/gnome-user-share/gnome-user-share.info
@@ -0,0 +1,10 @@
+PRGNAM="gnome-user-share"
+VERSION="3.34.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-user-share"
+DOWNLOAD="https://download.gnome.org/core/41/41.8/sources/gnome-user-share-3.34.0.tar.xz"
+MD5SUM="a3d983d0cf8357832229ff96172418d8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="nautilus mod_dnssd"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/network/gnome-user-share/slack-desc b/network/gnome-user-share/slack-desc
new file mode 100644
index 0000000000..0c7548433c
--- /dev/null
+++ b/network/gnome-user-share/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gnome-user-share: gnome-user-share (User level file sharing)
+gnome-user-share:
+gnome-user-share: gnome-user-share is a small package that binds together various free
+gnome-user-share: software projects to bring easy to use user-level file sharing to the
+gnome-user-share: masses.
+gnome-user-share:
+gnome-user-share: This is part of the GNOME core distribution.
+gnome-user-share:
+gnome-user-share:
+gnome-user-share: https://gitlab.gnome.org/GNOME/gnome-user-share
+gnome-user-share:
diff --git a/network/gns3/README b/network/gns3/README
index 235a51556c..4ac3567075 100644
--- a/network/gns3/README
+++ b/network/gns3/README
@@ -4,11 +4,11 @@ networks. To allow complete simulations, GNS3 is strongly linked with:
* Dynagen, a text-based front-end for Dynamips.
* Pemu, a Cisco PIX firewall emulator based on Qemu.
-GNS3 is an excellent complementary tool to real labs for Cisco network
-engineers, administrators and people wanting to pass certifications such
-as CCNA, CCNP, CCIP or CCIE. It can also be used to experiment features
-of Cisco IOS or to check configurations that need to be deployed later on
-real routers.
+GNS3 is an excellent complementary tool to real labs for Cisco network
+engineers, administrators and people wanting to pass certifications
+such as CCNA, CCNP, CCIP or CCIE. It can also be used to experiment
+features of Cisco IOS or to check configurations that need to be
+deployed later on real routers.
Features overview
* Design of high quality and complex network topologies.
@@ -17,7 +17,8 @@ Features overview
* Connection of the simulated network to the real world!
* Packet capture using Wireshark.
-Important notice: users have to provide their own Cisco IOS to use with GNS3.
-It is also recommended to read the documentation _before_ starting the program.
-As of version 0.8.7 the package for dynamips has to be installed separately.
-Port 127.0.0.1:7200 has to be open on your firewall.
+Important notice: users have to provide their own Cisco IOS to use
+with GNS3. It is also recommended to read the documentation _before_
+starting the program. As of version 0.8.7 the package for dynamips
+has to be installed separately. Port 127.0.0.1:7200 has to be open on
+your firewall.
diff --git a/network/gns3/gns3.SlackBuild b/network/gns3/gns3.SlackBuild
index ae5100a44d..7f9d846190 100644
--- a/network/gns3/gns3.SlackBuild
+++ b/network/gns3/gns3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gns3 (http://www.gns3.net)
@@ -23,20 +23,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gns3
VERSION=${VERSION:-0.8.7}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-${BUILD}${TAG}.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/go-ipfs/go-ipfs.SlackBuild b/network/go-ipfs/go-ipfs.SlackBuild
index a6cb5b60b0..025f73a649 100644
--- a/network/go-ipfs/go-ipfs.SlackBuild
+++ b/network/go-ipfs/go-ipfs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for go-ipfs
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=go-ipfs
VERSION=${VERSION:-0.4.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ case $ARCH in
*) IPFSARCH=$ARCH ;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/go-sendxmpp/README b/network/go-sendxmpp/README
new file mode 100644
index 0000000000..3475f1193d
--- /dev/null
+++ b/network/go-sendxmpp/README
@@ -0,0 +1,6 @@
+Go-sendxmpp is a little command line tool to send messages or files to
+an XMPP contact or a multi user chat.
+
+XMPP is an open, non-proprietary protocol for instant messaging.
+
+google-go-lang is needed only at build time.
diff --git a/network/go-sendxmpp/go-sendxmpp.SlackBuild b/network/go-sendxmpp/go-sendxmpp.SlackBuild
new file mode 100644
index 0000000000..1f5aeb9936
--- /dev/null
+++ b/network/go-sendxmpp/go-sendxmpp.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for go-sendxmpp
+
+# Copyright 2022-2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=go-sendxmpp
+VERSION=${VERSION:-0.10.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$VERSION
+
+mkdir -p vendor
+cat $CWD/modules.txt > vendor/modules.txt
+for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
+do
+ NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename)
+ DIR=vendor/$DIR
+ find -L $CWD -maxdepth 1 -type f -regex ".*/${NAME}-[^-]*\.tar\.gz" \
+ -exec tar xvf '{}' \;
+ mkdir -p $(dirname $DIR)
+ mv ${NAME}-* $DIR
+done
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CGO_CFLAGS="$SLKCFLAGS" \
+CGO_CXXFLAGS="$SLKCFLAGS" \
+go build
+
+install -sDm 0755 go-sendxmpp -t $PKG/usr/bin
+
+mkdir -p $PKG/usr/man/man{1,5}
+gzip -9 -c man/go-sendxmpp.1 > $PKG/usr/man/man1/go-sendxmpp.1.gz
+gzip -9 -c man/go-sendxmpp.5 > $PKG/usr/man/man5/go-sendxmpp.5.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/go-sendxmpp/go-sendxmpp.info b/network/go-sendxmpp/go-sendxmpp.info
new file mode 100644
index 0000000000..779364bf48
--- /dev/null
+++ b/network/go-sendxmpp/go-sendxmpp.info
@@ -0,0 +1,40 @@
+PRGNAM="go-sendxmpp"
+VERSION="0.10.0"
+HOMEPAGE="https://salsa.debian.org/mdosch/go-sendxmpp"
+DOWNLOAD="https://salsa.debian.org/mdosch/go-sendxmpp/-/archive/v0.10.0/go-sendxmpp-v0.10.0.tar.gz \
+ https://github.com/ProtonMail/go-crypto/archive/v1.0.0/go-crypto-v1.0.0.tar.gz \
+ https://github.com/ProtonMail/go-mime/archive/7d82a38/go-mime-7d82a3887f2f.tar.gz \
+ https://github.com/ProtonMail/gopenpgp/archive/v2.7.5/gopenpgp-v2.7.5.tar.gz \
+ https://github.com/beevik/etree/archive/v1.3.0/etree-v1.3.0.tar.gz \
+ https://github.com/cloudflare/circl/archive/v1.3.7/circl-v1.3.7.tar.gz \
+ https://github.com/gabriel-vasile/mimetype/archive/v1.4.3/mimetype-v1.4.3.tar.gz \
+ https://github.com/google/uuid/archive/v1.6.0/uuid-v1.6.0.tar.gz \
+ https://github.com/pborman/getopt/archive/v2.1.0/getopt-v2.1.0.tar.gz \
+ https://github.com/pkg/errors/archive/v0.9.1/errors-v0.9.1.tar.gz \
+ https://github.com/xmppo/go-xmpp/archive/v0.2.0/go-xmpp-v0.2.0.tar.gz \
+ https://github.com/golang/crypto/archive/v0.22.0/crypto-v0.22.0.tar.gz \
+ https://github.com/golang/net/archive/v0.24.0/net-v0.24.0.tar.gz \
+ https://github.com/golang/sys/archive/v0.19.0/sys-v0.19.0.tar.gz \
+ https://github.com/golang/text/archive/v0.14.0/text-v0.14.0.tar.gz \
+ https://salsa.debian.org/mdosch/xmppsrv/-/archive/v0.2.6/xmppsrv-v0.2.6.tar.gz"
+MD5SUM="ebd8bd70ba52404eab0337d82396f1c8 \
+ 207b3050d2cdc7c5bcc8242728fb7c68 \
+ a6ae51724981dd98d1564dba0df3979a \
+ de949ecba9611996b8b1bce236f3ffab \
+ bcc3bfd5bf559f4d4286d43302d1fda0 \
+ c74011ad16e17b92a496716febc60d33 \
+ de49151a4ae6474bb08145b0e9c67288 \
+ 62b4a8921dd78aa37017b32cbeef6810 \
+ c52d24206b9fe29454e909a6ecbefe99 \
+ 0951216925c98fda75a484a528b06af6 \
+ cb68dc02e1661876036b744ed2665941 \
+ 7a39f9ef8557b95982b03e427a3e37f1 \
+ e68c5bc7f073c98d64831b95d210474f \
+ 884f364735b00bb72fcea01a6de28c46 \
+ 9f64144d4b1647ce4597abf657028a8d \
+ e8e409d942149234a415c1299ebedb52"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/go-sendxmpp/modules.txt b/network/go-sendxmpp/modules.txt
new file mode 100644
index 0000000000..dc10d5ba3b
--- /dev/null
+++ b/network/go-sendxmpp/modules.txt
@@ -0,0 +1,105 @@
+# github.com/ProtonMail/go-crypto v1.0.0
+## explicit; go 1.13
+github.com/ProtonMail/go-crypto/bitcurves
+github.com/ProtonMail/go-crypto/brainpool
+github.com/ProtonMail/go-crypto/eax
+github.com/ProtonMail/go-crypto/internal/byteutil
+github.com/ProtonMail/go-crypto/ocb
+github.com/ProtonMail/go-crypto/openpgp
+github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
+github.com/ProtonMail/go-crypto/openpgp/armor
+github.com/ProtonMail/go-crypto/openpgp/clearsign
+github.com/ProtonMail/go-crypto/openpgp/ecdh
+github.com/ProtonMail/go-crypto/openpgp/ecdsa
+github.com/ProtonMail/go-crypto/openpgp/eddsa
+github.com/ProtonMail/go-crypto/openpgp/elgamal
+github.com/ProtonMail/go-crypto/openpgp/errors
+github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
+github.com/ProtonMail/go-crypto/openpgp/internal/ecc
+github.com/ProtonMail/go-crypto/openpgp/internal/encoding
+github.com/ProtonMail/go-crypto/openpgp/packet
+github.com/ProtonMail/go-crypto/openpgp/s2k
+# github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f
+## explicit; go 1.12
+github.com/ProtonMail/go-mime
+# github.com/ProtonMail/gopenpgp/v2 v2.7.5
+## explicit; go 1.15
+github.com/ProtonMail/gopenpgp/v2/armor
+github.com/ProtonMail/gopenpgp/v2/constants
+github.com/ProtonMail/gopenpgp/v2/crypto
+github.com/ProtonMail/gopenpgp/v2/internal
+# github.com/beevik/etree v1.3.0
+## explicit; go 1.13
+github.com/beevik/etree
+# github.com/cloudflare/circl v1.3.7
+## explicit; go 1.19
+github.com/cloudflare/circl/dh/x25519
+github.com/cloudflare/circl/dh/x448
+github.com/cloudflare/circl/ecc/goldilocks
+github.com/cloudflare/circl/internal/conv
+github.com/cloudflare/circl/internal/sha3
+github.com/cloudflare/circl/math
+github.com/cloudflare/circl/math/fp25519
+github.com/cloudflare/circl/math/fp448
+github.com/cloudflare/circl/math/mlsbset
+github.com/cloudflare/circl/sign
+github.com/cloudflare/circl/sign/ed25519
+github.com/cloudflare/circl/sign/ed448
+# github.com/gabriel-vasile/mimetype v1.4.3
+## explicit; go 1.20
+github.com/gabriel-vasile/mimetype
+github.com/gabriel-vasile/mimetype/internal/charset
+github.com/gabriel-vasile/mimetype/internal/json
+github.com/gabriel-vasile/mimetype/internal/magic
+# github.com/google/uuid v1.6.0
+## explicit
+github.com/google/uuid
+# github.com/pborman/getopt/v2 v2.1.0
+## explicit; go 1.13
+github.com/pborman/getopt/v2
+# github.com/pkg/errors v0.9.1
+## explicit
+github.com/pkg/errors
+# github.com/xmppo/go-xmpp v0.2.0
+## explicit; go 1.21.5
+github.com/xmppo/go-xmpp
+# golang.org/x/crypto v0.22.0
+## explicit; go 1.18
+golang.org/x/crypto/argon2
+golang.org/x/crypto/blake2b
+golang.org/x/crypto/cast5
+golang.org/x/crypto/hkdf
+golang.org/x/crypto/pbkdf2
+golang.org/x/crypto/scrypt
+golang.org/x/crypto/sha3
+# golang.org/x/net v0.24.0
+## explicit; go 1.18
+golang.org/x/net/html
+golang.org/x/net/html/atom
+golang.org/x/net/internal/socks
+golang.org/x/net/proxy
+# golang.org/x/sys v0.19.0
+## explicit; go 1.18
+golang.org/x/sys/cpu
+# golang.org/x/text v0.14.0
+## explicit; go 1.18
+golang.org/x/text/encoding
+golang.org/x/text/encoding/charmap
+golang.org/x/text/encoding/htmlindex
+golang.org/x/text/encoding/internal
+golang.org/x/text/encoding/internal/identifier
+golang.org/x/text/encoding/japanese
+golang.org/x/text/encoding/korean
+golang.org/x/text/encoding/simplifiedchinese
+golang.org/x/text/encoding/traditionalchinese
+golang.org/x/text/encoding/unicode
+golang.org/x/text/internal/language
+golang.org/x/text/internal/language/compact
+golang.org/x/text/internal/tag
+golang.org/x/text/internal/utf8internal
+golang.org/x/text/language
+golang.org/x/text/runes
+golang.org/x/text/transform
+# salsa.debian.org/mdosch/xmppsrv v0.2.6
+## explicit; go 1.16
+salsa.debian.org/mdosch/xmppsrv
diff --git a/network/go-sendxmpp/slack-desc b/network/go-sendxmpp/slack-desc
new file mode 100644
index 0000000000..27eaa376e1
--- /dev/null
+++ b/network/go-sendxmpp/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+go-sendxmpp: go-sendxmpp (send xmpp messages from the command line)
+go-sendxmpp:
+go-sendxmpp:
+go-sendxmpp: Go-sendxmpp is a little command line tool to send messages or files
+go-sendxmpp: to an XMPP contact or a multi user chat.
+go-sendxmpp:
+go-sendxmpp: XMPP is an open, non-proprietary protocol for instant messaging.
+go-sendxmpp:
+go-sendxmpp: Homepage: https://salsa.debian.org/mdosch/go-sendxmpp
+go-sendxmpp:
+go-sendxmpp:
diff --git a/network/gofiche/gofiche.SlackBuild b/network/gofiche/gofiche.SlackBuild
index 19e6c39080..a5457ff09e 100644
--- a/network/gofiche/gofiche.SlackBuild
+++ b/network/gofiche/gofiche.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gofiche
# Copyright 2017 Dave <dave@slackbuilds.org>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gofiche
VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gofiche/gofiche.info b/network/gofiche/gofiche.info
index be0e5683f2..b74339669c 100644
--- a/network/gofiche/gofiche.info
+++ b/network/gofiche/gofiche.info
@@ -6,5 +6,5 @@ MD5SUM="ffd4be08dca177c5f098d176ed85ed2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/goimapnotify/README b/network/goimapnotify/README
new file mode 100644
index 0000000000..550f17545a
--- /dev/null
+++ b/network/goimapnotify/README
@@ -0,0 +1,2 @@
+Execute scripts on IMAP mailbox changes (new/deleted/updated messages)
+using IDLE, Golang version.
diff --git a/network/goimapnotify/go.mod b/network/goimapnotify/go.mod
new file mode 100644
index 0000000000..7dd7616515
--- /dev/null
+++ b/network/goimapnotify/go.mod
@@ -0,0 +1,15 @@
+module gitlab.com/shackra/goimapnotify
+
+go 1.21.6
+
+require (
+ github.com/emersion/go-imap v1.2.1
+ github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445
+ github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43
+ github.com/sirupsen/logrus v1.9.3
+)
+
+require (
+ golang.org/x/sys v0.18.0 // indirect
+ golang.org/x/text v0.14.0 // indirect
+)
diff --git a/network/goimapnotify/go.sum b/network/goimapnotify/go.sum
new file mode 100644
index 0000000000..b58b347ff4
--- /dev/null
+++ b/network/goimapnotify/go.sum
@@ -0,0 +1,39 @@
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/emersion/go-imap v1.0.6/go.mod h1:yKASt+C3ZiDAiCSssxg9caIckWF/JG7ZQTO7GAmvicU=
+github.com/emersion/go-imap v1.2.1 h1:+s9ZjMEjOB8NzZMVTM3cCenz2JrQIGGo5j1df19WjTA=
+github.com/emersion/go-imap v1.2.1/go.mod h1:Qlx1FSx2FTxjnjWpIlVNEuX+ylerZQNFE5NsmKFSejY=
+github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445 h1:dAGbaaU4LLupO7dnYZaELOoI3RoVDNi5DCGejLe8a7c=
+github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445/go.mod h1:N/6S3dRTVt8xT867m+476C16+v/Fq4WZYvh2Chg0nmg=
+github.com/emersion/go-message v0.11.1/go.mod h1:C4jnca5HOTo4bGN9YdqNQM9sITuT3Y0K6bSUw9RklvY=
+github.com/emersion/go-message v0.15.0 h1:urgKGqt2JAc9NFJcgncQcohHdiYb803YTH9OQwHBHIY=
+github.com/emersion/go-message v0.15.0/go.mod h1:wQUEfE+38+7EW8p8aZ96ptg6bAb1iwdgej19uXASlE4=
+github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b/go.mod h1:G/dpzLu16WtQpBfQ/z3LYiYJn3ZhKSGWn83fyoyQe/k=
+github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21/go.mod h1:iL2twTeMvZnrg54ZoPDNfJaJaqy0xIQFuBdrLsmspwQ=
+github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 h1:hH4PQfOndHDlpzYfLAAfl63E8Le6F2+EL/cdhlkyRJY=
+github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43/go.mod h1:iL2twTeMvZnrg54ZoPDNfJaJaqy0xIQFuBdrLsmspwQ=
+github.com/emersion/go-textwrapper v0.0.0-20160606182133-d0e65e56babe/go.mod h1:aqO8z8wPrjkscevZJFVE1wXJrLpC5LtJG7fqLOsPb2U=
+github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 h1:IbFBtwoTQyw0fIM5xv1HF+Y+3ZijDR839WMulgxCcUY=
+github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594/go.mod h1:aqO8z8wPrjkscevZJFVE1wXJrLpC5LtJG7fqLOsPb2U=
+github.com/martinlindhe/base36 v1.0.0/go.mod h1:+AtEs8xrBpCeYgSLoY/aJ6Wf37jtBuR0s35750M27+8=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
+github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
+golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
+golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
+golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/network/goimapnotify/goimapnotify.SlackBuild b/network/goimapnotify/goimapnotify.SlackBuild
new file mode 100644
index 0000000000..4f84f8f0b9
--- /dev/null
+++ b/network/goimapnotify/goimapnotify.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for goimapnotify
+
+# Copyright 2022-2024 Alexander Verbovetsky Moscow Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=goimapnotify
+VERSION=${VERSION:-2.3.12}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+cat $CWD/go.mod > go.mod
+cat $CWD/go.sum > go.sum
+mkdir -p vendor
+cat $CWD/modules.txt > vendor/modules.txt
+for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
+do
+ NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename)
+ DIR=vendor/$DIR
+ find -L $CWD -maxdepth 1 -type f -regex ".*/${NAME}-[^-]*\.tar\.gz" \
+ -exec tar xvf '{}' \;
+ mkdir -p $(dirname $DIR)
+ mv ${NAME}-* $DIR
+done
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CGO_CFLAGS="$SLKCFLAGS" \
+CGO_CXXFLAGS="$SLKCFLAGS" \
+go build
+
+install -sDm 755 goimapnotify -t $PKG/usr/bin
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.rst README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/goimapnotify/goimapnotify.info b/network/goimapnotify/goimapnotify.info
new file mode 100644
index 0000000000..d28f3389f0
--- /dev/null
+++ b/network/goimapnotify/goimapnotify.info
@@ -0,0 +1,22 @@
+PRGNAM="goimapnotify"
+VERSION="2.3.12"
+HOMEPAGE="https://gitlab.com/shackra/goimapnotify"
+DOWNLOAD="https://gitlab.com/shackra/goimapnotify/-/archive/2.3.12/goimapnotify-2.3.12.tar.gz \
+ https://github.com/emersion/go-imap/archive/v1.2.1/go-imap-v1.2.1.tar.gz \
+ https://github.com/emersion/go-imap-idle/archive/db25684/go-imap-idle-db2568431445.tar.gz \
+ https://github.com/emersion/go-sasl/archive/e73c9f7/go-sasl-e73c9f7bad43.tar.gz \
+ https://github.com/sirupsen/logrus/archive/v1.9.3/logrus-v1.9.3.tar.gz \
+ https://github.com/golang/sys/archive/v0.18.0/sys-v0.18.0.tar.gz \
+ https://github.com/golang/text/archive/v0.14.0/text-v0.14.0.tar.gz"
+MD5SUM="ace5c852d7c851e4cb9da3f4c576bba9 \
+ 337ec4e15b3b9435bec02d0b4c634797 \
+ 0c60834c277747653bf1d883ac7660b2 \
+ efc2190ae65129b3e2531a9258181e98 \
+ 29e75bd7c106e1853d2a9de8bd17dbb0 \
+ e00453d8847cde61907bcbee219c44bb \
+ 9f64144d4b1647ce4597abf657028a8d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/goimapnotify/modules.txt b/network/goimapnotify/modules.txt
new file mode 100644
index 0000000000..0429696a1f
--- /dev/null
+++ b/network/goimapnotify/modules.txt
@@ -0,0 +1,27 @@
+# github.com/emersion/go-imap v1.2.1
+## explicit; go 1.13
+github.com/emersion/go-imap
+github.com/emersion/go-imap/backend
+github.com/emersion/go-imap/client
+github.com/emersion/go-imap/commands
+github.com/emersion/go-imap/responses
+github.com/emersion/go-imap/server
+github.com/emersion/go-imap/utf7
+# github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445
+## explicit; go 1.13
+github.com/emersion/go-imap-idle
+# github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43
+## explicit; go 1.12
+github.com/emersion/go-sasl
+# github.com/sirupsen/logrus v1.9.3
+## explicit; go 1.13
+github.com/sirupsen/logrus
+# golang.org/x/sys v0.18.0
+## explicit; go 1.18
+golang.org/x/sys/unix
+golang.org/x/sys/windows
+# golang.org/x/text v0.14.0
+## explicit; go 1.18
+golang.org/x/text/encoding
+golang.org/x/text/encoding/internal/identifier
+golang.org/x/text/transform
diff --git a/network/goimapnotify/slack-desc b/network/goimapnotify/slack-desc
new file mode 100644
index 0000000000..99f801ff77
--- /dev/null
+++ b/network/goimapnotify/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+goimapnotify: goimapnotify (IMAP IDLE notifications)
+goimapnotify:
+goimapnotify:
+goimapnotify: Execute scripts on IMAP mailbox changes (new/deleted/updated
+goimapnotify: messages) using IDLE, Golang version.
+goimapnotify:
+goimapnotify:
+goimapnotify:
+goimapnotify: Homepage: https://gitlab.com/shackra/goimapnotify
+goimapnotify:
+goimapnotify:
diff --git a/network/googlecl/googlecl.SlackBuild b/network/googlecl/googlecl.SlackBuild
index c7ca747ff6..36c9de259d 100644
--- a/network/googlecl/googlecl.SlackBuild
+++ b/network/googlecl/googlecl.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for googlecl
# Written by Jakob Nylin <jakob[dot]nylin[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=googlecl
VERSION=${VERSION:-0.9.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,4 +60,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/googler/README b/network/googler/README
index a899eb7a20..169f1726fc 100644
--- a/network/googler/README
+++ b/network/googler/README
@@ -1,15 +1,17 @@
-googler is a power tool to Google (Web & News) and Google Site Search from the
-command-line. It shows the title, URL and abstract for each result, which can
-be directly opened in a browser from the terminal. Results are fetched in
-pages (with page navigation). Supports sequential searches in a single googler
+googler is a power tool to Google (Web & News) and Google
+Site Search from the command-line. It shows the title, URL
+and abstract for each result, which can be directly opened in
+a browser from the terminal. Results are fetched in pages (with
+page navigation). Supports sequential searches in a single googler
instance.
-googler was initially written to cater to headless servers without X. You can
-integrate it with a text-based browser. However, it has grown into a very
-handy and flexible utility that delivers much more. For example, fetch any
-number of results or start anywhere, limit search by any duration, define
-aliases to google search any number of websites, switch domains easily... all
-of this in a very clean interface without ads or stray URLs. The shell
-completion scripts make sure you don't need to remember any options.
+googler was initially written to cater to headless servers without
+X. You can integrate it with a text-based browser. However, it has
+grown into a very handy and flexible utility that delivers much
+more. For example, fetch any number of results or start anywhere,
+limit search by any duration, define aliases to google search any
+number of websites, switch domains easily... all of this in a very
+clean interface without ads or stray URLs. The shell completion
+scripts make sure you don't need to remember any options.
googler isn't affiliated to Google in any way.
diff --git a/network/googler/googler.SlackBuild b/network/googler/googler.SlackBuild
index cf64d6520a..7a66ad5893 100644
--- a/network/googler/googler.SlackBuild
+++ b/network/googler/googler.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for googler
-# Copyright 2017-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2017-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=googler
-VERSION=${VERSION:-4.0}
+VERSION=${VERSION:-4.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,9 +87,9 @@ mkdir -p $PKG/usr/bin
install -D -m0755 $PRGNAM $PKG/usr/bin
# Install bash completion file
-mkdir -p $PKG/etc/bash_completion.d
-install -D -m0744 auto-completion/bash/${PRGNAM}-completion.bash \
- $PKG/etc/bash_completion.d/${PRGNAM}-completion.bash
+mkdir -p $PKG/usr/share/bash-completion/completions
+install -D -m0644 auto-completion/bash/${PRGNAM}-completion.bash \
+ $PKG/usr/share/bash-completion/completions/$PRGNAM
# Install zsh completion file
mkdir -p $PKG/usr/share/site-functions
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/googler/googler.info b/network/googler/googler.info
index 9ac4f9d2b9..fd025052ad 100644
--- a/network/googler/googler.info
+++ b/network/googler/googler.info
@@ -1,10 +1,10 @@
PRGNAM="googler"
-VERSION="4.0"
+VERSION="4.3.2"
HOMEPAGE="https://github.com/jarun/googler"
-DOWNLOAD="https://github.com/jarun/googler/archive/v4.0/googler-4.0.tar.gz"
-MD5SUM="b12b11a70cde5bd8483114a96d99dbc5"
+DOWNLOAD="https://github.com/jarun/googler/archive/v4.3.2/googler-4.3.2.tar.gz"
+MD5SUM="73e1c22bd731e259a5671389eb4bc8be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/gophernicus/README b/network/gophernicus/README
index 1e1c73cb2e..e430d7e136 100644
--- a/network/gophernicus/README
+++ b/network/gophernicus/README
@@ -1,13 +1,5 @@
gophernicus (gopher server)
Gophernicus is a modern full-featured (and hopefully) secure gopher
-daemon for inetd.
-
-You may want to add this line to your /etc/inetd.conf and then restart
-or kill -HUP the inetd process:
-
-gopher stream tcp nowait nobody /usr/sbin/in.gophernicus in.gophernicus -h <your-hostname>
-
-Alternatively, gophernicus can be configured to run under xinetd.
-This is done automatically when xinetd is present on the system at
-build time.
+daemon for inetd or xinetd. See README.SBo for instructions on how to
+configure inetd or xinetd to run gophernicus.
diff --git a/network/gophernicus/README.SBo b/network/gophernicus/README.SBo
new file mode 100644
index 0000000000..755f487486
--- /dev/null
+++ b/network/gophernicus/README.SBo
@@ -0,0 +1,8 @@
+To run under inetd, add this line to your /etc/inetd.conf and then
+restart or kill -HUP the inetd process:
+
+gopher stream tcp nowait nobody /usr/sbin/in.gophernicus in.gophernicus -h <your-hostname>
+
+To run under xinetd, just restart or kill -HUP the xinetd process
+after installing the package. This assumes you already have xinetd
+installed and running.
diff --git a/network/gophernicus/gophernicus.SlackBuild b/network/gophernicus/gophernicus.SlackBuild
index ab8ca83fee..127c92b3a8 100644
--- a/network/gophernicus/gophernicus.SlackBuild
+++ b/network/gophernicus/gophernicus.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Gophernicus
# Copyright 2012-2015 Fridrich von Stauffenberg <email removed>
-# Copyright 2018 B. Watson <yalhcru@gmail.com>
+# Copyright 2018 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,6 +23,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20210911 bkw: update for v3.1.1.
# 20180722 bkw:
# - Take over maintenance.
# - Update for latest upstream 'rolling release' version.
@@ -32,10 +33,13 @@
# - Don't install compile instructions in doc dir.
# - Add git2tarxz.sh to make upgrading easier in the future.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gophernicus
-VERSION=${VERSION:-2.5v101}
+VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +49,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +77,7 @@ set -e
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT $PKG/etc
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
@@ -77,15 +85,26 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -exec chmod 755 {} + -o -exec chmod 644 {} +
-patch -p1 < $CWD/Makefile.patch
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfig=/etc/$PRGNAM \
+ --mandir=/usr/man \
+ --os=linux \
+ --listener=inetd,xinetd
+
+make LDFLAGS="-lnsl"
+make install DESTDIR="$PKG"
-# 'make install' strips the binary already.
-make all CFLAGS="$SLKCFLAGS"
-make install DOCDIR="$PKGDOC" DESTDIR=$PKG
+# binary already stripped
+gzip -9 $PKG/usr/man/man?/*.*
-# Don't need this:
-rm -f $PKGDOC/INSTALL
+# do not ship this!
+rm -rf $PKG/etc/inetd.conf
+mkdir -p $PKGDOC
+cp -a LIC* README* change* gophermap.sample gophertag $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -93,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gophernicus/gophernicus.info b/network/gophernicus/gophernicus.info
index a9f15b99e8..6efc7b04db 100644
--- a/network/gophernicus/gophernicus.info
+++ b/network/gophernicus/gophernicus.info
@@ -1,10 +1,10 @@
PRGNAM="gophernicus"
-VERSION="2.5v101"
+VERSION="3.1.1"
HOMEPAGE="https://github.com/kimholviala/gophernicus"
-DOWNLOAD="https://slackware.uk/~urchlay/src/gophernicus-2.5v101.tar.xz"
-MD5SUM="a95b9c71bf67581b66703d979e5e3789"
+DOWNLOAD="https://github.com/gophernicus/gophernicus/releases/download/3.1.1/gophernicus-3.1.1.tar.xz"
+MD5SUM="4282ec7115a86205fa09f8099432ac1f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/gophernicus/slack-desc b/network/gophernicus/slack-desc
index 07356b2de3..510b70c3a8 100644
--- a/network/gophernicus/slack-desc
+++ b/network/gophernicus/slack-desc
@@ -9,7 +9,7 @@
gophernicus: gophernicus (gopher server)
gophernicus:
gophernicus: Gophernicus is a modern full-featured (and hopefully) secure gopher
-gophernicus: daemon for inetd.
+gophernicus: daemon for inetd or xinetd.
gophernicus:
gophernicus: Homepage: gopher://gophernicus.org
gophernicus: or: https://github.com/kimholviala/gophernicus
diff --git a/network/gq/README b/network/gq/README
deleted file mode 100644
index a813efccfc..0000000000
--- a/network/gq/README
+++ /dev/null
@@ -1,5 +0,0 @@
-GQ is a GTK+ LDAP client and browser utility. It can be used for searching a
-LDAP directory as well as browsing it using a tree view. Furthermore, it lets
-you inspect the LDAP schema a server is using.
-
-Install gq if you need a graphical tool to manage the contents of a LDAP server.
diff --git a/network/gq/doinst.sh b/network/gq/doinst.sh
deleted file mode 100644
index 0fb9c8b686..0000000000
--- a/network/gq/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/gq/gcc.patch b/network/gq/gcc.patch
deleted file mode 100644
index 4e6da28e65..0000000000
--- a/network/gq/gcc.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: gq-1.2.3/configure
-===================================================================
---- gq-1.2.3.orig/configure
-+++ gq-1.2.3/configure
-@@ -6167,7 +6167,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" =
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lssl $LIBS"
-+LIBS="`pkg-config --libs openssl` $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -6223,7 +6223,7 @@ fi
- { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
- echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
- if test $ac_cv_lib_ssl_SSL_new = yes; then
-- LIBS="-lssl $LIBS"
-+ LIBS="`pkg-config --libs openssl` $LIBS"
-
- fi
-
diff --git a/network/gq/glib-single-include.patch b/network/gq/glib-single-include.patch
deleted file mode 100644
index f09733155e..0000000000
--- a/network/gq/glib-single-include.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: gq-1.2.3/src/gq-hash.h
-===================================================================
---- gq-1.2.3.orig/src/gq-hash.h
-+++ gq-1.2.3/src/gq-hash.h
-@@ -24,7 +24,7 @@
- #ifndef GQ_ENCRYPTION_H
- #define GQ_ENCRYPTION_H
-
--#include <glib/garray.h>
-+#include <glib.h>
- #include "util.h"
-
- G_BEGIN_DECLS
-Index: gq-1.2.3/src/gq-server-list.h
-===================================================================
---- gq-1.2.3.orig/src/gq-server-list.h
-+++ gq-1.2.3/src/gq-server-list.h
-@@ -26,7 +26,7 @@
- #ifndef GQ_SERVER_LIST_H
- #define GQ_SERVER_LIST_H
-
--#include <glib/gmacros.h>
-+#include <glib.h>
- #include "gq-server.h" // for GqServer
-
- G_BEGIN_DECLS
-Index: gq-1.2.3/src/state.c
-===================================================================
---- gq-1.2.3.orig/src/state.c
-+++ gq-1.2.3/src/state.c
-@@ -36,7 +36,7 @@
- #include <errno.h>
-
- #include <glib/gi18n.h>
--#include <glib/gmessages.h>
-+#include <glib.h>
- #include <gtk/gtk.h>
-
- #include "xmlparse.h"
diff --git a/network/gq/gq.SlackBuild b/network/gq/gq.SlackBuild
deleted file mode 100644
index 188fdceb83..0000000000
--- a/network/gq/gq.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Copyright 2010 Chris Abela <chris.abela@maltats>
-# Copyright 2014-2017 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# Copyright 2017 Dhaby Xiloj, slack.dhabyx@gmail.com
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=gq
-VERSION=${VERSION:-1.2.3}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Starting with glib 2.32 it is now mandatory to
-# include glib.h instead of individual headers.
-patch -p1 -i $CWD/glib-single-include.patch
-# Fix for gcc
-patch -p1 -i $CWD/gcc.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-update-mimedb \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Correct the desktop icon
-ln -s gq/gq.xpm $PKG/usr/share/pixmaps/
-sed -i 's/Icon=gq/Icon=gq\.xpm/' $PKG/usr/share/applications/gq.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/gq/gq.info b/network/gq/gq.info
deleted file mode 100644
index e7d671d3d6..0000000000
--- a/network/gq/gq.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gq"
-VERSION="1.2.3"
-HOMEPAGE="https://sourceforge.net/projects/gqclient/"
-DOWNLOAD="https://downloads.sourceforge.net/gqclient/gq-1.2.3.tar.gz"
-MD5SUM="c4b40f095961da936abfc8f42d57e4fe"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="DhabyX"
-EMAIL="slack.dhabyx@gmail.com"
diff --git a/network/gq/slack-desc b/network/gq/slack-desc
deleted file mode 100644
index 355e158fed..0000000000
--- a/network/gq/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-gq: gq (gtk+ ldap client and browser utility)
-gq:
-gq: GQ is a GTK+ LDAP client and browser utility. It can be used for
-gq: searching a LDAP directory as well as browsing it using a tree
-gq: view. Furthermore, it lets you inspect the LDAP schema a server
-gq: is using.
-gq:
-gq: Install gq if you need a graphical tool to manage the contents of
-gq: a LDAP server.
-gq:
-gq: Homepage: http://sourceforge.net/projects/gqclient/
diff --git a/network/graphite-carbon/README b/network/graphite-carbon/README
deleted file mode 100644
index adac9f0ee4..0000000000
--- a/network/graphite-carbon/README
+++ /dev/null
@@ -1,8 +0,0 @@
-graphite-carbon (Backend data caching and persistence daemon for Graphite)
-
-Graphite is a web application using the Twisted framework to provide real-time
-visualization and storage of numeric time-series data. The Carbon daemon
-processes the incoming time-series data and saves it as Whisper database files.
-
-See README.SLACKWARE (which is also installed with the package docs) for
-setup, configuration, and usage hints.
diff --git a/network/graphite-carbon/README.SLACKWARE b/network/graphite-carbon/README.SLACKWARE
deleted file mode 100644
index 0f97aacb9f..0000000000
--- a/network/graphite-carbon/README.SLACKWARE
+++ /dev/null
@@ -1,15 +0,0 @@
-You may wish to add these lines to /etc/rc.d/rc.local to start the service:
-
-if [ -x /etc/rc.d/rc.carbon-cache ]; then
- /etc/rc.d/rc.carbon-cache start
-fi
-
-You may also add these lines to /etc/rc.d/rc.local_shutdown:
-
-if [ -x /etc/rc.d/rc.carbon-cache ]; then
- /etc/rc.d/rc.carbon-cache stop
-fi
-
-Remember to give executable permission to /etc/rc.d/rc.local_shutdown:
-
- chmod 0755 /etc/rc.d/rc.local_shutdown
diff --git a/network/graphite-carbon/doinst.sh b/network/graphite-carbon/doinst.sh
deleted file mode 100644
index b11adc4f0f..0000000000
--- a/network/graphite-carbon/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-for i in etc/rc.d/rc.carbon-*.new ; do preserve_perms $i ; done
-for i in etc/carbon/*.new etc/logrotate.d/graphite-carbon.new ; do config $i ; done
diff --git a/network/graphite-carbon/graphite-carbon.SlackBuild b/network/graphite-carbon/graphite-carbon.SlackBuild
deleted file mode 100644
index 62823d82ef..0000000000
--- a/network/graphite-carbon/graphite-carbon.SlackBuild
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for graphite-carbon
-
-# Copyright 2015 Mario Preksavec, Zagreb, Croatia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=graphite-carbon
-VERSION=${VERSION:-0.9.15}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=carbon
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# Bail if user or group isn't valid on your system
-if ! grep ^graphite: /etc/passwd 2>&1 > /dev/null; then
-
-cat << EOF
-
- You must have graphite user and a group to run this script
-
- # groupadd -g 299 graphite
- # useradd -u 299 -d /var/lib/graphite -s /bin/false -g graphite graphite
-
-EOF
-
- exit
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Set some sane defaults
-patch -p1 <$CWD/patches/carbon.conf.example.diff
-# We don't have a RedHat system
-patch -p1 <$CWD/patches/setup.cfg.diff
-# Look for config file in /etc/carbon
-patch -p1 <$CWD/patches/validate-storage-schemas.py.diff
-
-python setup.py install --root=$PKG
-
-# Need some dirs
-mkdir -p $PKG/etc/{rc.d,logrotate.d} $PKG/var/{lib/graphite/whisper,log/carbon}
-chown -R graphite:graphite $PKG/var/lib/graphite $PKG/var/log/carbon
-
-# Install rc script
-install -D -m0644 -oroot -groot $CWD/rc.carbon-cache \
- $PKG/etc/rc.d/rc.carbon-cache.new
-
-# Logrotate script
-install -D -m0644 -oroot -groot $CWD/graphite-carbon.logrotate \
- $PKG/etc/logrotate.d/graphite-carbon.new
-
-# Configuration goes into /etc/carbon
-mv $PKG/usr/conf $PKG/etc/carbon
-for i in $PKG/etc/carbon/*.example ; do mv $i ${i/.example/.new} ; done
-
-# Do we really want .py suffix in /usr/bin
-for i in $PKG/usr/bin/*.py ; do mv $i ${i/.py/} ; done
-
-# Cruft removal
-rm -rf $PKG/usr/{storage,examples}
-
-# Manpages thanks to Debian folks!
-mkdir -p $PKG/usr/man
-cp -r $CWD/man1 $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE $CWD/README.SLACKWARE $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/graphite-carbon/graphite-carbon.info b/network/graphite-carbon/graphite-carbon.info
deleted file mode 100644
index 7bc565d938..0000000000
--- a/network/graphite-carbon/graphite-carbon.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="graphite-carbon"
-VERSION="0.9.15"
-HOMEPAGE="https://github.com/graphite-project/"
-DOWNLOAD="https://github.com/graphite-project/carbon/archive/0.9.15/carbon-0.9.15.tar.gz"
-MD5SUM="1962b92b8b672b33d99b00c303fdd5aa"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-whisper python-twisted"
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/network/graphite-carbon/graphite-carbon.logrotate b/network/graphite-carbon/graphite-carbon.logrotate
deleted file mode 100644
index 7b769425a8..0000000000
--- a/network/graphite-carbon/graphite-carbon.logrotate
+++ /dev/null
@@ -1,13 +0,0 @@
-/var/log/carbon/*.log {
- weekly
- missingok
- rotate 7
- compress
- delaycompress
- notifempty
- create 644 graphite graphite
- sharedscripts
- postrotate
- /etc/rc.d/rc.carbon-cache restart > /dev/null
- endscript
-}
diff --git a/network/graphite-carbon/man1/carbon-aggregator.1 b/network/graphite-carbon/man1/carbon-aggregator.1
deleted file mode 100644
index a8ab95294d..0000000000
--- a/network/graphite-carbon/man1/carbon-aggregator.1
+++ /dev/null
@@ -1,56 +0,0 @@
-.TH CARBON-AGGREGATOR 1
-.SH NAME
-carbon-aggregator \- buffer metrics over time before reporting to carbon-cache
-.SH SYNOPSYS
-.nf
-.fam C
-\fbcarbon-aggregator\fP [options] start
-.fam T
-.fi
-.SH DESCRIPTION
-carbon-aggregator can be run in front of carbon-cache to buffer metrics over
-time before reporting them into whisper.
-.PP
-The options are described below.
-.SH OPTIONS
-.TP
-.B
-\-h, \-\-help
-Show the embedded help.
-.TP
-.B
-\-\-debug
-Run in the foreground, log to stdout
-.TP
-.B
-\-\-profile=PROFILE
-Record performance profile data to the given file
-.TP
-.B
-\-\-pidfile=PIDFILE
-Write pid to the given file
-.TP
-.B
-\-\-config=CONFIG
-Use the given config file
-.TP
-.B
-\-\-logdir=LOGDIR
-Write logs in the given directory
-.TP
-.B
-\-\-instance=INSTANCE
-Manage a specific carbon instance
-.TP
-.B
-\-\-rules=RULES
-Use the given aggregation rules file.
-.TP
-.B
-\-\-rewrite-rules=REWRITE_RULES
-Use the given rewrite rules file.
-.SH AUTHOR
-\fBcarbon-aggregator\fP, created by Chris Davis.
-.PP
-This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de, for
-the Debian project (but may be used by others).
diff --git a/network/graphite-carbon/man1/carbon-cache.1 b/network/graphite-carbon/man1/carbon-cache.1
deleted file mode 100644
index 39174d7449..0000000000
--- a/network/graphite-carbon/man1/carbon-cache.1
+++ /dev/null
@@ -1,50 +0,0 @@
-.TH CARBON-CACHE 1
-.SH NAME
-carbon-cache \- accepts metrics over various protocols and writes them to disk
-.SH SYNOPSYS
-.nf
-.fam C
-\fbcarbon-cache\fP [options] start
-.fam T
-.fi
-.SH DESCRIPTION
-carbon-cache accepts metrics over various protocols and writes them to disk as
-efficiently as possible. This requires caching metric values in RAM as they are
-received, and flushing them to disk on an interval using the underlying
-whisper library.
-.PP
-The options are described below.
-.SH OPTIONS
-.TP
-.B
-\-h, \-\-help
-Show the embedded help.
-.TP
-.B
-\-\-debug
-Run in the foreground, log to stdout
-.TP
-.B
-\-\-profile=PROFILE
-Record performance profile data to the given file
-.TP
-.B
-\-\-pidfile=PIDFILE
-Write pid to the given file
-.TP
-.B
-\-\-config=CONFIG
-Use the given config file
-.TP
-.B
-\-\-logdir=LOGDIR
-Write logs in the given directory
-.TP
-.B
-\-\-instance=INSTANCE
-Manage a specific carbon instance
-.SH AUTHOR
-\fBcarbon-cache\fP, created by Chris Davis.
-.PP
-This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de, for
-the Debian project (but may be used by others).
diff --git a/network/graphite-carbon/man1/carbon-client.1 b/network/graphite-carbon/man1/carbon-client.1
deleted file mode 100644
index d954d4158f..0000000000
--- a/network/graphite-carbon/man1/carbon-client.1
+++ /dev/null
@@ -1,43 +0,0 @@
-.TH CARBON-CLIENT 1
-.SH NAME
-carbon-client \- Graphite client to reroute carbon data
-.SH SYNOPSYS
-.nf
-.fam C
-\fbcarbon-client\fP [options]
-.fam T
-.fi
-.SH DESCRIPTION
-Graphite client to reroute carbon data
-.PP
-The options are described below.
-.SH OPTIONS
-.TP
-.B
-\-h, \-\-help
-Show the embedded help.
-.TP
-.B
-\-\-debug
-Log debug info to stdout
-.TP
-.B
-\-\-keyfunc=KEYFUNC
-Use a custom key function (path/to/module.py:myFunc)
-.TP
-.B
-\-\-replication=REPLICATION
-Replication factor
-.TP
-.B
-\-\-routing=ROUTING
-Routing method: "consistent-hashing" (default) or "relay"
-.TP
-.B
-\-\-relayrules=RELAYRULES
-relay-rules.conf file to use for relay routing
-.SH AUTHOR
-\fBcarbon-client\fP, created by Chris Davis.
-.PP
-This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de, for
-the Debian project (but may be used by others).
diff --git a/network/graphite-carbon/man1/carbon-relay.1 b/network/graphite-carbon/man1/carbon-relay.1
deleted file mode 100644
index 0ee27548b3..0000000000
--- a/network/graphite-carbon/man1/carbon-relay.1
+++ /dev/null
@@ -1,51 +0,0 @@
-.TH CARBON-RELAY 1
-.SH NAME
-carbon-relay \- replication and sharding data
-.SH SYNOPSYS
-.nf
-.fam C
-\fbcarbon-relay\fP [options] start
-.fam T
-.fi
-.SH DESCRIPTION
-carbon-relay serves two distinct purposes: replication and sharding.
-.PP
-The options are described below.
-.SH OPTIONS
-.TP
-.B
-\-h, \-\-help
-Show the embedded help.
-.TP
-.B
-\-\-debug
-Run in the foreground, log to stdout
-.TP
-.B
-\-\-profile=PROFILE
-Record performance profile data to the given file
-.TP
-.B
-\-\-pidfile=PIDFILE
-Write pid to the given file
-.TP
-.B
-\-\-config=CONFIG
-Use the given config file
-.TP
-.B
-\-\-logdir=LOGDIR
-Write logs in the given directory
-.TP
-.B
-\-\-instance=INSTANCE
-Manage a specific carbon instance
-.TP
-.B
-\-\-rules=RULES
-se the given relay rules file.
-.SH AUTHOR
-\fBcarbon-relay\fP, created by Chris Davis.
-.PP
-This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de, for
-the Debian project (but may be used by others).
diff --git a/network/graphite-carbon/man1/validate-storage-schemas.1 b/network/graphite-carbon/man1/validate-storage-schemas.1
deleted file mode 100644
index 07eadb3358..0000000000
--- a/network/graphite-carbon/man1/validate-storage-schemas.1
+++ /dev/null
@@ -1,17 +0,0 @@
-.TH VALIDATE-STORAGE-SCHEMAS 1
-.SH NAME
-validate-storage-schemas \- validates the storage schemas
-.SH SYNOPSYS
-.nf
-.fam C
-\fbvalidate-storage-schemas\fP
-.fam T
-.fi
-.SH DESCRIPTION
-validates the storage schemas from the configuration
-file /etc/carbon/storage-schemas.conf.
-.SH AUTHOR
-\fBvalidate-storage-schemas\fP, created by Chris Davis.
-.PP
-This manual page was written by Jonas Genannt <jonas.genannt@capi2name.de, for
-the Debian project (but may be used by others).
diff --git a/network/graphite-carbon/patches/carbon.conf.example.diff b/network/graphite-carbon/patches/carbon.conf.example.diff
deleted file mode 100644
index cd72206d45..0000000000
--- a/network/graphite-carbon/patches/carbon.conf.example.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- carbon-0.9.13-pre1/conf/carbon.conf.example.orig 2014-12-31 17:50:50.000000000 +0100
-+++ carbon-0.9.13-pre1/conf/carbon.conf.example 2015-02-04 00:36:17.680898110 +0100
-@@ -14,30 +14,21 @@
- # To change other directory paths, add settings to this file. The following
- # configuration variables are available with these default values:
- #
--# STORAGE_DIR = $GRAPHITE_STORAGE_DIR
--# LOCAL_DATA_DIR = STORAGE_DIR/whisper/
--# WHITELISTS_DIR = STORAGE_DIR/lists/
--# CONF_DIR = STORAGE_DIR/conf/
--# LOG_DIR = STORAGE_DIR/log/
--# PID_DIR = STORAGE_DIR/
--#
--# For FHS style directory structures, use:
--#
--# STORAGE_DIR = /var/lib/carbon/
--# CONF_DIR = /etc/carbon/
--# LOG_DIR = /var/log/carbon/
--# PID_DIR = /var/run/
--#
--#LOCAL_DATA_DIR = /opt/graphite/storage/whisper/
-+STORAGE_DIR = /var/lib/graphite/
-+CONF_DIR = /etc/carbon/
-+LOG_DIR = /var/log/carbon/
-+PID_DIR = /var/run/
-+
-+LOCAL_DATA_DIR = /var/lib/graphite/whisper/
-
- # Enable daily log rotation. If disabled, carbon will automatically re-open
- # the file if it's rotated out of place (e.g. by logrotate daemon)
--ENABLE_LOGROTATION = True
-+ENABLE_LOGROTATION = False
-
- # Specify the user to drop privileges to
- # If this is blank carbon runs as the user that invokes it
- # This user must have write access to the local data directory
--USER =
-+USER = graphite
- #
- # NOTE: The above settings must be set under [relay] and [aggregator]
- # to take effect for those daemons as well
diff --git a/network/graphite-carbon/patches/setup.cfg.diff b/network/graphite-carbon/patches/setup.cfg.diff
deleted file mode 100644
index 67f266d360..0000000000
--- a/network/graphite-carbon/patches/setup.cfg.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- carbon-0.9.13-pre1/setup.cfg.orig 2015-02-04 00:37:23.199169196 +0100
-+++ carbon-0.9.13-pre1/setup.cfg 2015-02-04 00:37:45.198588654 +0100
-@@ -1,9 +0,0 @@
--[install]
--prefix = /opt/graphite
--install-lib = %(prefix)s/lib
--
--[bdist_rpm]
--requires = python-twisted
-- whisper
--
--post-install = distro/redhat/misc/postinstall
diff --git a/network/graphite-carbon/patches/validate-storage-schemas.py.diff b/network/graphite-carbon/patches/validate-storage-schemas.py.diff
deleted file mode 100644
index ed6dad7b0f..0000000000
--- a/network/graphite-carbon/patches/validate-storage-schemas.py.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- carbon-0.9.13-pre1/bin/validate-storage-schemas.py.orig 2014-12-31 17:50:50.000000000 +0100
-+++ carbon-0.9.13-pre1/bin/validate-storage-schemas.py 2015-02-04 00:40:16.244602801 +0100
-@@ -22,7 +22,7 @@
- SCHEMAS_FILE = sys.argv[1]
- print "Loading storage-schemas configuration from: '%s'" % SCHEMAS_FILE
- else:
-- SCHEMAS_FILE = realpath(join(dirname(__file__), '..', 'conf', 'storage-schemas.conf'))
-+ SCHEMAS_FILE = '/etc/carbon/storage-schemas.conf'
- print "Loading storage-schemas configuration from default location at: '%s'" % SCHEMAS_FILE
-
- config_parser = ConfigParser()
diff --git a/network/graphite-carbon/rc.carbon-cache b/network/graphite-carbon/rc.carbon-cache
deleted file mode 100644
index ee7c98630e..0000000000
--- a/network/graphite-carbon/rc.carbon-cache
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# Start/stop/restart the carbon-cache daemon
-# Written by Mario Preksavec <mario@slackware.hr>
-
-BIN_FILE=/usr/bin/carbon-cache
-PID_FILE=/var/run/carbon-cache.pid
-CONF_FILE=/etc/carbon/carbon.conf
-
-rc_start() {
- if [ -x $BIN_FILE ] && [ -f $CONF_FILE ]; then
- if [ -f $PID_FILE ] && kill -0 $(cat $PID_FILE) 2>/dev/null; then
- echo "carbon-cache daemon already running"
- else
- echo "Starting carbon-cache daemon: $BIN"
- $BIN_FILE --config=$CONF_FILE --pidfile=$PID_FILE start
- fi
- fi
-}
-
-rc_stop() {
- if [ -f $PID_FILE ] && kill -0 $(cat $PID_FILE) 2>/dev/null; then
- echo "Stopping carbon-cache daemon: $BIN"
- $BIN_FILE --config=$CONF_FILE --pidfile=$PID_FILE stop \
- && rm -f $PID_FILE
- fi
-}
-
-rc_status() {
- if [ -f $PID_FILE ] && kill -0 $(cat $PID_FILE) 2>/dev/null; then
- $BIN_FILE --config=$CONF_FILE --pidfile=$PID_FILE status
- fi
-}
-
-rc_restart() {
- rc_stop
- sleep 1
- rc_start
-}
-
-case "$1" in
- 'start')
- rc_start
- ;;
- 'stop')
- rc_stop
- ;;
- 'restart')
- rc_restart
- ;;
- 'status')
- rc_status
- ;;
- *)
- echo "usage $0 start|stop|restart|status"
- ;;
-esac
diff --git a/network/graphite-carbon/slack-desc b/network/graphite-carbon/slack-desc
deleted file mode 100644
index 4136bf704b..0000000000
--- a/network/graphite-carbon/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-graphite-carbon: graphite-carbon (Backend data caching and daemon for Graphite)
-graphite-carbon:
-graphite-carbon: Graphite is a web application using the Twisted framework to provide
-graphite-carbon: real-time visualization and storage of numeric time-series data.
-graphite-carbon: The Carbon daemon processes the incoming time-series data and saves
-graphite-carbon: it as Whisper database files.
-graphite-carbon:
-graphite-carbon: Homepage: https://github.com/graphite-project/
-graphite-carbon:
-graphite-carbon:
-graphite-carbon:
diff --git a/network/greenbone-security-assistant/README b/network/greenbone-security-assistant/README
deleted file mode 100644
index 550f72c716..0000000000
--- a/network/greenbone-security-assistant/README
+++ /dev/null
@@ -1,125 +0,0 @@
-greenbone-security-assistant (UI for OpenVAS)
-
-This is the UI the Open Vulnerability Assessment System (OpenVAS).
-
-###### Known Problems ######
-
-- PDF report generation is broken. This may get fixed in a future slackbuild.
-
-- All the daemons run as root. There's no (working) configuration options
- or documentation to change this behavior.
-
-- There are a number of tests that depend on other software packages that are
- not available as slackbuilds at this time. Stay tuned.
-
-- If you're running in a VM environment, or on a headless server, then
- installing haveged is recommended, particularly for step 11 below.
-
-###### Upgrade Notes ######
-
-If you're updating from OpenVAS-7 to OpenVAS-8, please note the following.
-(See: http://www.openvas.org/install-source.html if you're unsure which
-version you're running.)
-
-Openvas now uses redis as a temporary database while running scans. You will
-need redis installed and running, as well as hiredis. See step 2 below on
-how to configure redis.
-
-Before running openvas-manager, you'll need to migrate the database. Simply
-run:
-# openvasmd --migrate
-
-###### Installation Instructions ######
-
-These instructions assume you're familiar with slackbuilds. If not, please
-refer to http://slackbuilds.org/howto/ .
-
-1. Build and install hiredis.
-
-2. Build and install redis. You need to uncomment the following 2 lines in the
- /etc/redis/redis.conf file:
-#unixsocket /tmp/redis.sock
-#unixsocketperm 700
- Now start up redis:
-# sh /etc/rc.d/rc.redis start
-
-3. Build and install openvas-libraries.
-
-4. Build and install openvas-scanner.
-
-5. You need a Certificate Authority and server certificate. Run the following
- command:
-# openvas-mkcert
-
-6. You need the NVT's (Network Vulnerability Tests). Run the following
- command to sync. In the future, you can do this through the
- greenbone-security-assistant interface. This will take a minute or so
- with a blazing fast internet connection. YMMV.
-# openvas-nvt-sync
-
-7. Start the openvas-scanner daemon.
-# sh /etc/rc.d/rc.openvassd start
-
-8. Build and install openvas-manager.
-
-9. You need client certificates for manager to talk to scanner. Use the
- following command.
-# openvas-mkcert-client -n -i
-
-10. Initialize the manager database. This will take a while, so be patient.
-# openvasmd --rebuild
-
-11. You want encrypted credentials in the DB, so do this now.
-# openvasmd --create-credentials-encryption-key
- This may take a while, so it's best to create some entropy by skipping to
- #13-#15 and then coming back, if needed.
-
-12. Create a user.
-# openvasmd --create-user=cary
- If you find the assigned password hard to remember, you can change it
- right now.
-# openvasmd --user=cary --new-password=mekmitasdigoat
-
-13. Sync SCAP data. This will take some time.
-# openvas-scapdata-sync
-
-14. Sync CERT data.
-# openvas-certdata-sync
-
-15. Update port names.
-# wget http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml
-# openvas-portnames-update service-names-port-numbers.xml
-# rm service-names-port-numbers.xml
-
-16. Start the openvas-manager daemon.
-# sh /etc/rc.d/rc.openvasmd start
-
-17. Build and install libmicrohttpd.
-
-18. Build and install greenbone-security-assistant.
-
-19. Launch the greenbone-security-assistant.
-# sh /etc/rc.d/rc.gsad start
-
-20. Open file:///var/lib/openvas/CA/cacert.pem in your browser to import the
- certificate that you created in step 5 above.
-
-21. Point your browser at https://<YOUR HOSTNAME>:9392 and log in with your
- username/password from #12.
-
-22. [Optional] Build and install openvas-cli. You'll need this if you ever
- want to script tests.
-
-That's it! If you run into any problems, you can try running the
-openvas-check-setup script found here:
- https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
-
-If you don't have a web-server running, you can edit the /etc/rc.d/rc.gsad
-script to remove the "-p 9392" option, and it will run on port 443.
-
-Please let me know if you run into any problems. Patches welcome!
-
-Have Fun!
-
-Kent Fritz
-mailto:fritz.kent@gmail.com
diff --git a/network/greenbone-security-assistant/doinst.sh b/network/greenbone-security-assistant/doinst.sh
deleted file mode 100644
index f431bbcc60..0000000000
--- a/network/greenbone-security-assistant/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.gsad.new
-config etc/openvas/gsad_log.conf.new
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
deleted file mode 100644
index 516d35cc86..0000000000
--- a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for greenbone-security-assistant
-
-# Copyright 2015,2017 Kent Fritz, Mountain View, CA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=greenbone-security-assistant
-VERSION=${VERSION:-6.0.12}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLOCALSTATEDIR=/var \
- -DSYSCONFDIR=/etc \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.gsad > $PKG/etc/rc.d/rc.gsad.new
-chmod 0644 $PKG/etc/rc.d/rc.gsad.new
-mv $PKG/etc/openvas/gsad_log.conf $PKG/etc/openvas/gsad_log.conf.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.info b/network/greenbone-security-assistant/greenbone-security-assistant.info
deleted file mode 100644
index c7e67e9014..0000000000
--- a/network/greenbone-security-assistant/greenbone-security-assistant.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="greenbone-security-assistant"
-VERSION="6.0.12"
-HOMEPAGE="http://www.openvas.org"
-DOWNLOAD="http://wald.intevation.org/frs/download.php/2442/greenbone-security-assistant-6.0.12.tar.gz"
-MD5SUM="362ddc36292a16d3a55c90bda044b377"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openvas-libraries libmicrohttpd"
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/network/greenbone-security-assistant/rc.gsad b/network/greenbone-security-assistant/rc.gsad
deleted file mode 100644
index 9ed7614a70..0000000000
--- a/network/greenbone-security-assistant/rc.gsad
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/rc.gsad
-#
-# Start/stop/restart the Greenbone Security Assistant Daemon.
-#
-# To make Greenbone SA start automatically at boot, make this
-# file executable: chmod 755 /etc/rc.d/rc.gsad
-# and add to rc.local:
-# if [ -x /etc/rc.d/rc.gsad ]; then
-# . /etc/rc.d/rc.gsad start
-# fi
-#
-
-GSAD_PATH=/usr/sbin
-GSAD_BIN=gsad
-GSAD_OPTIONS="-p 9392 --timeout=60 --gnutls-priorities=SECURE128:-VERS-SSL3.0"
-GSAD_CMD="$GSAD_PATH/$GSAD_BIN $GSAD_OPTIONS"
-
-gsad_start() {
- echo Starting Greenbone Security Assistant: $GSAD_CMD
- $GSAD_CMD
-}
-
-gsad_stop() {
- echo "Stopping Greenbone Security Assistant"
- /bin/killall $GSAD_BIN
-}
-
-gsad_restart() {
- gsad_stop
- gsad_start
-}
-
-case "$1" in
-'start')
- gsad_start
- ;;
-'stop')
- gsad_stop
- ;;
-'restart')
- gsad_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/network/greenbone-security-assistant/slack-desc b/network/greenbone-security-assistant/slack-desc
deleted file mode 100644
index a17ed0d15c..0000000000
--- a/network/greenbone-security-assistant/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-greenbone-security-assistant: greenbone-security-assistant (UI for OpenVAS)
-greenbone-security-assistant:
-greenbone-security-assistant: This is the UI for the Open Vulnerability Assessment System (OpenVAS).
-greenbone-security-assistant:
-greenbone-security-assistant: For more information, please refer to the OpenVAS website available
-greenbone-security-assistant: at http://www.openvas.org/ .
-greenbone-security-assistant:
-greenbone-security-assistant:
-greenbone-security-assistant:
-greenbone-security-assistant:
-greenbone-security-assistant:
diff --git a/network/grpcurl/README b/network/grpcurl/README
new file mode 100644
index 0000000000..ea941d7dd5
--- /dev/null
+++ b/network/grpcurl/README
@@ -0,0 +1,10 @@
+grpcurl is a command-line tool that lets you interact with gRPC servers.
+It's basically curl for gRPC servers.
+
+The main purpose for this tool is to invoke RPC methods on a gRPC server
+from the command-line. gRPC servers use a binary encoding on the wire
+(protocol buffers, or "protobufs" for short). So they are basically
+impossible to interact with using regular curl (and older versions of
+curl that do not support HTTP/2 are of course non-starters). This
+program accepts messages using JSON encoding, which is much more
+friendly for both humans and scripts.
diff --git a/network/grpcurl/grpcurl.SlackBuild b/network/grpcurl/grpcurl.SlackBuild
new file mode 100644
index 0000000000..7b5b64d4d9
--- /dev/null
+++ b/network/grpcurl/grpcurl.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for grpcurl
+
+# Copyright 2023 Ebben Aries <slackbuilds@dscp.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=grpcurl
+VERSION=${VERSION:-1.9.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+ PKG_ARCH=x86_32
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ PKG_ARCH=x86_32
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ PKG_ARCH=x86_64
+else
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}_${VERSION}_linux_${PKG_ARCH}.tar.gz
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/bin
+install -D -m755 $PRGNAM $PKG/usr/bin
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/grpcurl/grpcurl.info b/network/grpcurl/grpcurl.info
new file mode 100644
index 0000000000..8675ff1222
--- /dev/null
+++ b/network/grpcurl/grpcurl.info
@@ -0,0 +1,10 @@
+PRGNAM="grpcurl"
+VERSION="1.9.1"
+HOMEPAGE="https://github.com/fullstorydev/grpcurl"
+DOWNLOAD="https://github.com/fullstorydev/grpcurl/releases/download/v1.9.1/grpcurl_1.9.1_linux_x86_32.tar.gz"
+MD5SUM="a4659f2cdeb13fac1f26c8072294f53e"
+DOWNLOAD_x86_64="https://github.com/fullstorydev/grpcurl/releases/download/v1.9.1/grpcurl_1.9.1_linux_x86_64.tar.gz"
+MD5SUM_x86_64="a263191ce012be65578b74613c688a3c"
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/network/grpcurl/slack-desc b/network/grpcurl/slack-desc
new file mode 100644
index 0000000000..38b69f4563
--- /dev/null
+++ b/network/grpcurl/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+grpcurl: grpcurl (curl for gRPC)
+grpcurl:
+grpcurl: grpcurl is a command-line tool that lets you interact with gRPC
+grpcurl: servers. It's basically curl for gRPC servers.
+grpcurl:
+grpcurl:
+grpcurl: Homepage: https://github.com/fullstorydev/grpcurl
+grpcurl:
+grpcurl:
+grpcurl:
+grpcurl:
diff --git a/network/grsync/grsync.SlackBuild b/network/grsync/grsync.SlackBuild
index c4d09274d1..27dc71729c 100644
--- a/network/grsync/grsync.SlackBuild
+++ b/network/grsync/grsync.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for grsync
-# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=grsync
-VERSION=${VERSION:-1.2.8}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/grsync/grsync.info b/network/grsync/grsync.info
index 56c19dc988..cf1f3654ec 100644
--- a/network/grsync/grsync.info
+++ b/network/grsync/grsync.info
@@ -1,8 +1,8 @@
PRGNAM="grsync"
-VERSION="1.2.8"
-HOMEPAGE="http://www.opbyte.it/grsync/"
-DOWNLOAD="http://downloads.sf.net/grsync/grsync-1.2.8.tar.gz"
-MD5SUM="9531279242a36169847fb81f72ceb412"
+VERSION="1.3.0"
+HOMEPAGE="https://www.opbyte.it/grsync/"
+DOWNLOAD="https://downloads.sf.net/grsync/grsync-1.3.0.tar.gz"
+MD5SUM="be1c0dfb9c76ec923fa35ad9db624bb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/gtk-gnutella/README b/network/gtk-gnutella/README
index 93d1711e77..0a84d90737 100644
--- a/network/gtk-gnutella/README
+++ b/network/gtk-gnutella/README
@@ -1,4 +1,4 @@
-GTK Gnutella is a fully featured Gnutella servent designed to share any
-type of file the user wishes to share. gtk-gnutella implements compressed
-gnutella net connections, ultra and leaf nodes, Partial File Sharing, Push
-Proxies and Passive/Active Remote Queueing (PARQ).
+GTK Gnutella is a fully featured Gnutella servent designed to share
+any type of file the user wishes to share. gtk-gnutella implements
+compressed gnutella net connections, ultra and leaf nodes, Partial
+File Sharing, Push Proxies and Passive/Active Remote Queueing (PARQ).
diff --git a/network/gtk-gnutella/gtk-gnutella.SlackBuild b/network/gtk-gnutella/gtk-gnutella.SlackBuild
index f63856fa81..375f762686 100644
--- a/network/gtk-gnutella/gtk-gnutella.SlackBuild
+++ b/network/gtk-gnutella/gtk-gnutella.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GTK Gnutella
# Written by Zbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtk-gnutella
-VERSION=${VERSION:-1.1.14}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gtk-gnutella/gtk-gnutella.info b/network/gtk-gnutella/gtk-gnutella.info
index 0dd5ea6d13..ba252136e1 100644
--- a/network/gtk-gnutella/gtk-gnutella.info
+++ b/network/gtk-gnutella/gtk-gnutella.info
@@ -1,8 +1,8 @@
PRGNAM="gtk-gnutella"
-VERSION="1.1.14"
+VERSION="1.2.2"
HOMEPAGE="https://sourceforge.net/projects/gtk-gnutella/"
-DOWNLOAD="https://downloads.sourceforge.net/gtk-gnutella/gtk-gnutella-1.1.14.tar.xz"
-MD5SUM="75414544a8a7bacd5c75b207e235de73"
+DOWNLOAD="https://downloads.sourceforge.net/gtk-gnutella/gtk-gnutella-1.2.2.tar.xz"
+MD5SUM="6ca8152dd06feed7fd83a97978efcf3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/gtmess/README b/network/gtmess/README
deleted file mode 100644
index 7dd1ebb185..0000000000
--- a/network/gtmess/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Gtmess is a lightweight console MSN Messenger client (only MSN-protocol)
-for Linux and other unix systems, (bsd, macos, solaris, irix, etc.) that
-conform to the POSIX standard.
diff --git a/network/gtmess/gtmess.SlackBuild b/network/gtmess/gtmess.SlackBuild
deleted file mode 100644
index 689b135078..0000000000
--- a/network/gtmess/gtmess.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gtmess
-
-# Copyright 2011 Hans Strijards E-mail:hannesworst@gmail.com
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=gtmess
-VERSION=${VERSION:-0.97}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
-./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-gzip -9 $PKG/usr/man/man?/*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING NEWS INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/gtmess/gtmess.info b/network/gtmess/gtmess.info
deleted file mode 100644
index c77742478d..0000000000
--- a/network/gtmess/gtmess.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gtmess"
-VERSION="0.97"
-HOMEPAGE="http://gtmess.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/gtmess/gtmess-0.97.tar.gz"
-MD5SUM="d9526ffd117a22283f477cb15d05807e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hannes Worst"
-EMAIL="hannesworst@gmail.com"
diff --git a/network/gtmess/slack-desc b/network/gtmess/slack-desc
deleted file mode 100644
index 8dee6420a2..0000000000
--- a/network/gtmess/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-gtmess: gtmess (Console based MSN-client)
-gtmess:
-gtmess: a console MSN Messenger client for Linux and other unix systems
-gtmess: (bsd, macos, solaris, irix, etc.) that conform to the POSIX standard.
-gtmess:
-gtmess:
-gtmess:
-gtmess:
-gtmess:
-gtmess:
-gtmess: Home: http://gtmess.sourceforge.net/
diff --git a/network/gtorrentviewer/README b/network/gtorrentviewer/README
index 1d1e56ec43..e7af7de9e8 100644
--- a/network/gtorrentviewer/README
+++ b/network/gtorrentviewer/README
@@ -1,3 +1,5 @@
+gtorrentviewer (A torrent viewer and editor)
+
GTorrentViewer is a GTK2-based viewer and editor for BitTorrent meta
files. It is able to retrieve information from trackers, check files,
show detailed information, and modify .torrent files without having
@@ -5,6 +7,6 @@ to start downloading.
The purpose of GTorrentViewer is to give the ability to see and modify
all the possible information from .torrent files without having to start
-downloading and the ability to see in real time the current number of
+downloading, and the ability to see in real time the current number of
seeds and peers on the torrent, so you will always know the status
-before start the download.
+before starting the download.
diff --git a/network/gtorrentviewer/doinst.sh b/network/gtorrentviewer/doinst.sh
index 9a8ded3c60..3edf8699cf 100644
--- a/network/gtorrentviewer/doinst.sh
+++ b/network/gtorrentviewer/doinst.sh
@@ -1,3 +1,9 @@
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
diff --git a/network/gtorrentviewer/gtorrentviewer.SlackBuild b/network/gtorrentviewer/gtorrentviewer.SlackBuild
index 4f59f5801e..90b73f2eb6 100644
--- a/network/gtorrentviewer/gtorrentviewer.SlackBuild
+++ b/network/gtorrentviewer/gtorrentviewer.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtorrentviewer
+# Copyright 2023 B. Watson
# Copyright 2018 Donald Cooley South Haven, Indiana USA
-# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2010, 2012 Binh Nguyen
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +24,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231107 bkw: BUILD=5
+# - take over maintenance.
+# - patch various segfault issues.
+# - remove generic INSTALL from doc dir.
+# - fix .desktop file.
+# - new-style icon.
+# - slight grammar fix in README and man page.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtorrentviewer
SRCNAM=GTorrentViewer
VERSION=${VERSION:-0.2b}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +49,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,27 +81,24 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# 20231107 bkw: most of these patches came from ALT Linux:
+# https://git.altlinux.org/srpms/g/gtorrentviewer.git?a=tree;hb=0.2b-alt4_38
+# ...but a couple of them were "-p0" patches. I reworked them to apply
+# with "patch -p1". The curl-types, desktop, and dso-linking patches aren't
+# needed because their issues are fixed by code in this script.
+# The manpage patch is a grammar fix, done by me.
+for i in `cat $CWD/patches/series`; do
+ echo "=== applying $i"
+ patch -p1 < $CWD/patches/$i
+done
# Fix building against newer cURL
-sed -i 's|#include <curl/types.h>||g' src/main.c
-
-# Fix linking of libm
-patch -p1 < $CWD/patches/fix_linking_libm.diff
-
-# The following 2 patches are from Fedora 13
-
-# Let drag and drop work with URIs as well as files
-patch -p1 < $CWD/patches/gtorrentviewer-0.2b-desktop.patch
-
-# Fix crash due to use of uninitialized GValue
-# Thanks to Niels Horn for pointing this out
-patch -p1 < $CWD/patches/GTorrentViewer-0.2b-tracker-details-refresh.patch
+sed -i '/#include <curl\/types.h>/d' src/main.c
+LIBS="-lm" \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -96,23 +109,23 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20231107 bkw: ship .desktop with corrections already applied.
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/share/icons/hicolor/48x48
+ln -s ../../../pixmaps/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/$PRGNAM.png
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL README \
-$PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING ChangeLog README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gtorrentviewer/gtorrentviewer.desktop b/network/gtorrentviewer/gtorrentviewer.desktop
new file mode 100644
index 0000000000..42bb9ab276
--- /dev/null
+++ b/network/gtorrentviewer/gtorrentviewer.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Torrent Metainfo Viewer
+GenericName=Torrent Viewer
+Comment=Viewer and Editor for .torrent files
+Exec=gtorrentviewer %f
+Icon=gtorrentviewer
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Network;
+MimeType=application/x-bittorrent;
+Version=1.0
diff --git a/network/gtorrentviewer/gtorrentviewer.info b/network/gtorrentviewer/gtorrentviewer.info
index 7f3405ecb1..069a2fd9ff 100644
--- a/network/gtorrentviewer/gtorrentviewer.info
+++ b/network/gtorrentviewer/gtorrentviewer.info
@@ -6,5 +6,5 @@ MD5SUM="c29058a09f26693863404ecdb2580770"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/gtorrentviewer/patches/GTorrentViewer-0.2b-format.patch b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-format.patch
new file mode 100644
index 0000000000..9b1d7e3484
--- /dev/null
+++ b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-format.patch
@@ -0,0 +1,48 @@
+diff -Naur GTorrentViewer-0.2b/src/mainwindow.c GTorrentViewer-0.2b.patched/src/mainwindow.c
+--- GTorrentViewer-0.2b/src/mainwindow.c 2004-10-26 00:37:58.000000000 -0400
++++ GTorrentViewer-0.2b.patched/src/mainwindow.c 2023-11-07 20:56:10.027535819 -0500
+@@ -634,7 +634,7 @@
+ /* create the open file thread */
+ if(g_thread_create(open_torrent_file, filename, FALSE, &err) == NULL)
+ {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_free(filename);
+ g_error_free(err);
+ }
+@@ -671,7 +671,7 @@
+
+ if(g_thread_create(tracker_scrape, tracker, FALSE, &err) == NULL)
+ {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_free(tracker);
+ g_error_free(err);
+ }
+@@ -722,7 +722,7 @@
+ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
+ if(g_thread_create(check_files, filename, FALSE, &err) == NULL)
+ {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_free(filename);
+ g_error_free(err);
+ }
+@@ -755,7 +755,7 @@
+
+ if(g_thread_create(tracker_scrape, tracker, FALSE, &err) == NULL)
+ {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_error_free(err);
+ }
+
+@@ -853,7 +853,7 @@
+ {
+ if(g_thread_create(open_torrent_file, filename, FALSE, &err) == NULL)
+ {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_free(filename);
+ g_error_free(err);
+ }
diff --git a/network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch
new file mode 100644
index 0000000000..8e1f3a4a06
--- /dev/null
+++ b/network/gtorrentviewer/patches/GTorrentViewer-0.2b-missing-tracker.patch
@@ -0,0 +1,12 @@
+diff -Naur GTorrentViewer-0.2b/src/mainwindow.c GTorrentViewer-0.2b.patched/src/mainwindow.c
+--- GTorrentViewer-0.2b/src/mainwindow.c 2023-11-07 21:01:19.243506719 -0500
++++ GTorrentViewer-0.2b.patched/src/mainwindow.c 2023-11-07 21:02:04.947502418 -0500
+@@ -423,7 +423,7 @@
+
+ node = benc_node_find_key(torrent, "announce");
+ gtk_list_store_append(liststore, &iter);
+- gtk_list_store_set(liststore, &iter, 0, benc_node_data(node), -1);
++ gtk_list_store_set(liststore, &iter, 0, node!=NULL?benc_node_data(node):"", -1);
+
+ node = benc_node_find_key(torrent, "announce-list");
+ if(node != NULL) /* multi-tracker support */
diff --git a/network/gtorrentviewer/patches/fix_linking_libm.diff b/network/gtorrentviewer/patches/fix_linking_libm.diff
deleted file mode 100644
index 4be5b63bb3..0000000000
--- a/network/gtorrentviewer/patches/fix_linking_libm.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur GTorrentViewer-0.2b.orig/src/Makefile.in GTorrentViewer-0.2b/src/Makefile.in
---- GTorrentViewer-0.2b.orig/src/Makefile.in 2004-10-25 23:42:16.000000000 -0500
-+++ GTorrentViewer-0.2b/src/Makefile.in 2012-09-09 23:31:34.092115981 -0500
-@@ -115,7 +115,7 @@
-
- CFLAGS = @CFLAGS@ @CURL_CFLAGS@ @GTK_CFLAGS@
-
--LDADD = @GTK_LIBS@ @CURL_LIBS@
-+LDADD = @GTK_LIBS@ @CURL_LIBS@ -lm
-
- bin_PROGRAMS = gtorrentviewer
-
diff --git a/network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch b/network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch
deleted file mode 100644
index ca12b05ec3..0000000000
--- a/network/gtorrentviewer/patches/gtorrentviewer-0.2b-desktop.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- GTorrentViewer-0.2b/data/gtorrentviewer.desktop.in.orig 2004-10-21 05:40:16.000000000 +0100
-+++ GTorrentViewer-0.2b/data/gtorrentviewer.desktop.in 2007-08-12 12:14:52.000000000 +0100
-@@ -2,7 +2,7 @@
- _Name=Torrent Metainfo Viewer
- _GenericName=Torrent Viewer
- _Comment=Viewer and Editor for .torrent files
--Exec=gtorrentviewer %U
-+Exec=gtorrentviewer %f
- Icon=gtorrentviewer.png
- StartupNotify=false
- Terminal=false
-@@ -10,4 +10,4 @@
- Encoding=UTF-8
- Categories=Application;Network;
- MimeType=application/x-bittorrent;
--Version=0.2
-+Version=1.0
diff --git a/network/gtorrentviewer/patches/gtorrentviewer-0.2b-trackerdetails.patch b/network/gtorrentviewer/patches/gtorrentviewer-0.2b-trackerdetails.patch
new file mode 100644
index 0000000000..dbdb68d62c
--- /dev/null
+++ b/network/gtorrentviewer/patches/gtorrentviewer-0.2b-trackerdetails.patch
@@ -0,0 +1,56 @@
+diff --git a/src/main.c b/src/main.c
+index fc51205..a770768 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -336,12 +336,8 @@ tracker_scrape(gpointer tracker)
+ SHA1((guint8*)string, number, (guint8*)torrent_sha);
+ g_free(string);
+
+- if(g_str_has_suffix((gchar*)tracker, "info_hash="))
+- string = util_convert_to_hex(torrent_sha, SHA_DIGEST_LENGTH, "%");
+- else
+- string = g_strdup(" ");
+-
+- host = g_strdup_printf("%s%s", (gchar*)tracker, string);
++ string = util_convert_to_hex(torrent_sha, SHA_DIGEST_LENGTH, "%");
++ host = g_strdup_printf("%s?info_hash=%s", (gchar*)tracker, string);
+ g_free(string);
+
+ string = g_strrstr(host, "announce");
+diff --git a/src/mainwindow.c b/src/mainwindow.c
+index 6b1bbf0..415098e 100644
+--- a/src/mainwindow.c
++++ b/src/mainwindow.c
+@@ -421,23 +421,23 @@ mainwindow_fill_trackers_tab(MainWindow const *mwin, BencNode *torrent)
+
+ gtk_combo_box_set_active(mwin->TrackerComboBox, -1);
+
++ node = benc_node_find_key(torrent, "announce");
++ gtk_list_store_append(liststore, &iter);
++ gtk_list_store_set(liststore, &iter, 0, benc_node_data(node), -1);
++
+ node = benc_node_find_key(torrent, "announce-list");
+- if(node == NULL) /* no multi-tracker */
+- {
+- node = benc_node_find_key(torrent, "announce");
+- gtk_list_store_append(liststore, &iter);
+- gtk_list_store_set(liststore, &iter, 0, benc_node_data(node), -1);
+- }
+- else /* multi-tracker support */
++ if(node != NULL) /* multi-tracker support */
+ {
+- node = benc_node_first_child(node);
+- if(node != NULL)
++ for (node = benc_node_first_child(node); node != NULL;
++ node = benc_node_next_sibling(node))
++ {
+ for(subnode = benc_node_first_child(node); subnode != NULL;
+ subnode = benc_node_next_sibling(subnode))
+ {
+ gtk_list_store_append(liststore, &iter);
+ gtk_list_store_set(liststore, &iter, 0, benc_node_data(subnode), -1);
+ }
++ }
+ }
+
+ gtk_combo_box_set_model(mwin->TrackerComboBox, GTK_TREE_MODEL(liststore));
diff --git a/network/gtorrentviewer/patches/manpage.diff b/network/gtorrentviewer/patches/manpage.diff
new file mode 100644
index 0000000000..99909b805e
--- /dev/null
+++ b/network/gtorrentviewer/patches/manpage.diff
@@ -0,0 +1,23 @@
+diff -Naur GTorrentViewer-0.2b/data/gtorrentviewer.1 GTorrentViewer-0.2b.patched/data/gtorrentviewer.1
+--- GTorrentViewer-0.2b/data/gtorrentviewer.1 2004-10-18 18:40:11.000000000 -0400
++++ GTorrentViewer-0.2b.patched/data/gtorrentviewer.1 2023-11-07 22:30:10.103005035 -0500
+@@ -14,8 +14,8 @@
+ .PP
+ The purpose of GTorrentViewer is to give the ability to see and modify all
+ the possible information from .torrent files without having to start
+-downloading and the ability to see in real time the current number of seeds
+-and peers on the torrent, so you will always know the status before start
++downloading, and the ability to see in real time the current number of seeds
++and peers on the torrent, so you will always know the status before starting
+ the download.
+ .SH OPTIONS
+ gtorrentviewer options:
+@@ -24,7 +24,7 @@
+ output version information and exit.
+ .TP
+ .B \-h, \-\-help
+-display a option overview and exit.
++display an option overview and exit.
+ .SH AUTHOR
+ GTorrentViewer was written by Alejandro Claro <ap0lly0n@users.sourceforge.net>.
+ .PP
diff --git a/network/gtorrentviewer/patches/series b/network/gtorrentviewer/patches/series
new file mode 100644
index 0000000000..c9c40df86d
--- /dev/null
+++ b/network/gtorrentviewer/patches/series
@@ -0,0 +1,5 @@
+GTorrentViewer-0.2b-tracker-details-refresh.patch
+gtorrentviewer-0.2b-trackerdetails.patch
+GTorrentViewer-0.2b-format.patch
+GTorrentViewer-0.2b-missing-tracker.patch
+manpage.diff
diff --git a/network/guacamole-client/guacamole-client.SlackBuild b/network/guacamole-client/guacamole-client.SlackBuild
index 204239c179..f23206b454 100644
--- a/network/guacamole-client/guacamole-client.SlackBuild
+++ b/network/guacamole-client/guacamole-client.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for guacamole-client
@@ -22,12 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=guacamole-client
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/guacamole-server/README b/network/guacamole-server/README
deleted file mode 100644
index b3edeadb9b..0000000000
--- a/network/guacamole-server/README
+++ /dev/null
@@ -1,9 +0,0 @@
-guacamole-server - Guacamole server
-
-guacamole-server contains all the native, server-side components
-required by Guacamole to connect to remote desktops. It provides
-a common C library, libguac, which all other native components
-depend on, as well as separate libraries for each supported
-protocol, and guacd, the heart of Guacamole.
-
-libwebp is an optional dependency.
diff --git a/network/guacamole-server/doinst.sh b/network/guacamole-server/doinst.sh
deleted file mode 100644
index e696e66243..0000000000
--- a/network/guacamole-server/doinst.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
- fi
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.guacd.new
diff --git a/network/guacamole-server/guacamole-server.SlackBuild b/network/guacamole-server/guacamole-server.SlackBuild
deleted file mode 100644
index a2ce108c24..0000000000
--- a/network/guacamole-server/guacamole-server.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for guacamole-server
-
-# Copyright 2015-2020 Zhu Qun-Ying
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=guacamole-server
-VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-SRC_DIR=$PRGNAM-$VERSION
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRC_DIR
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $SRC_DIR
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# use system uuid library from util-linux instead of OSSP uuid
-for file in $CWD/patch/* ; do
- patch -p1 < $file
-done
-autoreconf -fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --with-init-dir=/etc/rc.d \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README LICENSE NOTICE CONTRIBUTING $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-mv $PKG/etc/rc.d/guacd $PKG/etc/rc.d/rc.guacd.new
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/guacamole-server/guacamole-server.info b/network/guacamole-server/guacamole-server.info
deleted file mode 100644
index e5fdc232a3..0000000000
--- a/network/guacamole-server/guacamole-server.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="guacamole-server"
-VERSION="1.1.0"
-HOMEPAGE="http://guacamole.apache.org/"
-DOWNLOAD="https://github.com/apache/guacamole-server/archive/1.1.0/guacamole-server-1.1.0.tar.gz"
-MD5SUM="089cdb864d5d0d196312eaee889a02cf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libtelnet freerdp"
-MAINTAINER="Zhu Qun-Ying"
-EMAIL="zhu.qunying@gmail.com"
diff --git a/network/guacamole-server/patch/typescript.patch b/network/guacamole-server/patch/typescript.patch
deleted file mode 100644
index 02785b4ce8..0000000000
--- a/network/guacamole-server/patch/typescript.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- guacamole-server-0.9.14/src/terminal/terminal/typescript.h 2018-01-01 13:23:37.000000000 -0800
-+++ guacamole-server-0.9.14-new/src/terminal/terminal/typescript.h 2018-01-26 17:11:22.180187667 -0800
-@@ -97,7 +97,7 @@
- * The full path to the file which will contain the timing information for
- * this typescript.
- */
-- char timing_filename[GUAC_TERMINAL_TYPESCRIPT_MAX_NAME_LENGTH];
-+ char timing_filename[GUAC_TERMINAL_TYPESCRIPT_MAX_NAME_LENGTH + sizeof(GUAC_TERMINAL_TYPESCRIPT_TIMING_SUFFIX) + 1];
-
- /**
- * The file descriptor of the file into which raw terminal output should be
diff --git a/network/guacamole-server/patch/uuid.patch b/network/guacamole-server/patch/uuid.patch
deleted file mode 100644
index 9107ab2e92..0000000000
--- a/network/guacamole-server/patch/uuid.patch
+++ /dev/null
@@ -1,73 +0,0 @@
---- guacamole-server-0.9.8/configure.ac 2015-09-04 17:36:05.000000000 -0700
-+++ guacamole-server-0.9.8.new/configure.ac 2015-11-27 16:36:00.229847035 -0800
-@@ -68,19 +68,25 @@
-
- # OSSP UUID
- AC_CHECK_LIB([ossp-uuid], [uuid_make], [UUID_LIBS=-lossp-uuid],
-- AC_CHECK_LIB([uuid], [uuid_make], [UUID_LIBS=-luuid],
-+ AC_CHECK_LIB([uuid], [uuid_generate], [UUID_LIBS=-luuid],
- AC_MSG_ERROR("The OSSP UUID library is required")))
-
- # Check for and validate OSSP uuid.h header
--AC_CHECK_HEADERS([ossp/uuid.h])
--AC_CHECK_DECL([uuid_make],,
-- AC_MSG_ERROR("No OSSP uuid.h found in include path"),
-+AC_CHECK_HEADERS([ossp/uuid.h], [uuid/uuid.h])
-+AC_CHECK_DECL([uuid_make],, ,
- [#ifdef HAVE_OSSP_UUID_H
- #include <ossp/uuid.h>
- #else
- #include <uuid.h>
- #endif
- ])
-+AC_CHECK_DECL([uuid_generate],, ,
-+ [#ifdef HAVE_OSSP_UUID_H
-+ #include <ossp/uuid.h>
-+ #else
-+ #include <uuid/uuid.h>
-+ #endif
-+ ])
-
- # cunit
- AC_CHECK_LIB([cunit], [CU_run_test], [CUNIT_LIBS=-lcunit])
---- incubator-guacamole-server-0.9.10-incubating/src/libguac/id.c 2016-12-18 10:44:24.000000000 -0800
-+++ incubator-guacamole-server-0.9.10-incubating.new/src/libguac/id.c 2017-01-20 14:48:45.273476934 -0800
-@@ -25,7 +25,7 @@
- #ifdef HAVE_OSSP_UUID_H
- #include <ossp/uuid.h>
- #else
--#include <uuid.h>
-+#include <uuid/uuid.h>
- #endif
-
- #include <stdlib.h>
-@@ -34,6 +34,7 @@
-
- char* buffer;
- char* identifier;
-+#ifdef HAVE_OSSP_UUID_H
- size_t identifier_length;
-
- uuid_t* uuid;
-@@ -75,6 +76,21 @@
- }
-
- uuid_destroy(uuid);
-+#else
-+ uuid_t uuid;
-+#define UUID_LEN_STR 36
-+
-+ buffer = malloc (UUID_LEN_STR + 2);
-+ if (buffer == NULL) {
-+ guac_error = GUAC_STATUS_NO_MEMORY;
-+ guac_error_message = "Could not allocate memory for connection ID";
-+ return NULL;
-+ }
-+ identifier = buffer + 1;
-+
-+ uuid_generate (uuid);
-+ uuid_unparse (uuid, identifier);
-+#endif
-
- buffer[0] = prefix;
- buffer[UUID_LEN_STR + 1] = '\0';
diff --git a/network/guacamole-server/slack-desc b/network/guacamole-server/slack-desc
deleted file mode 100644
index 40515ece9c..0000000000
--- a/network/guacamole-server/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-guacamole-server: guacamole-server (Guacamole server)
-guacamole-server:
-guacamole-server: guacamole-server contains all the native, server-side
-guacamole-server: components required by Guacamole to connect to remote
-guacamole-server: desktops. It provides a common C library, libguac, which all
-guacamole-server: other native components depend on, as well as separate
-guacamole-server: libraries for each supported protocol, and guacd, the heart
-guacamole-server: of Guacamole.
-guacamole-server:
-guacamole-server: http://guacamole.apache.org/
-guacamole-server:
diff --git a/network/gui-ufw/README b/network/gui-ufw/README
index 86b61616fb..86c241f63a 100644
--- a/network/gui-ufw/README
+++ b/network/gui-ufw/README
@@ -2,11 +2,6 @@ gui-ufw (GUI for Uncomplicated Firewall)
A very user-friendly and uncomplicated way to manage ufw.
-
-This version requires that python-distutils-extra be built with python3
-support by passing PYTHON3=yes ./python-distutils-extra.SlackBuild when
-building.
-
-This version also requires webkit2gtk. If you would rather not have to
+This version requires webkit2gtk. If you would rather not have to
build webkit2gtk, you can still use the 12.04.1 version of gui-ufw:
https://slackbuilds.org/repository/14.1/network/gui-ufw/
diff --git a/network/gui-ufw/gufw-open.diff b/network/gui-ufw/gufw-open.diff
new file mode 100644
index 0000000000..e972d8b921
--- /dev/null
+++ b/network/gui-ufw/gufw-open.diff
@@ -0,0 +1,10 @@
+--- a/bin/gufw
++++ b/bin/gufw
+@@ -1,3 +1,6 @@
+ #!/bin/bash
++if [ $(loginctl show-session $(loginctl|grep $(whoami) |awk '{print $1}') -p Type) = "Type=wayland" ]; then
++ xhost +si:localuser:root
++fi
+ c_user=$(whoami)
+ pkexec gufw-pkexec $c_user
+
diff --git a/network/gui-ufw/gui-ufw.SlackBuild b/network/gui-ufw/gui-ufw.SlackBuild
index 6c6b13d418..907e67fdf1 100644
--- a/network/gui-ufw/gui-ufw.SlackBuild
+++ b/network/gui-ufw/gui-ufw.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gui-ufw
-# Copyright 2018, 2019 Skaendo <skaendo@linuxmail.org>
+# Copyright 2022-23 Jay Lanagan (j@lngn.net), Detroit, MI, USA
+# Previous script by Skaendo w/ bkw patches, this replaces it.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +12,24 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gui-ufw
-VERSION=${VERSION:-19.10.0}
+VERSION=${VERSION:-24.04.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,11 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -59,8 +69,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,8 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Point gufw-pkexec to the correct python3 location and version.
-sed -i "s|lib/python3.5|lib$LIBDIRSUFFIX/python3.7|g" bin/gufw-pkexec
+# path & opening app fixes from ubuntu
+patch -p1 < $CWD/gufw-open.diff
+patch -p1 < $CWD/path-fix.diff
python3 setup.py install --prefix=/usr --root=$PKG
@@ -80,20 +91,32 @@ mv $PKG/usr/share/man $PKG/usr
# Clean up some duplicates
rm -rf $PKG/usr/share/doc
+# Compress and link manpages, if any:
+if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.*
+ )
+ done
+ )
+fi
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* README \
+cp -a COPYING* README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/gui-ufw/gui-ufw.info b/network/gui-ufw/gui-ufw.info
index b69cf4274b..4a03d79c95 100644
--- a/network/gui-ufw/gui-ufw.info
+++ b/network/gui-ufw/gui-ufw.info
@@ -1,10 +1,10 @@
PRGNAM="gui-ufw"
-VERSION="19.10.0"
-HOMEPAGE="https://gufw.org/"
-DOWNLOAD="https://launchpad.net/gui-ufw/trunk/19.10/+download/gui-ufw-19.10.0.tar.gz"
-MD5SUM="46ba50d59dfa96e36d04ab2f21fc2d21"
+VERSION="24.04.0"
+HOMEPAGE="https://github.com/costales/gufw"
+DOWNLOAD="https://github.com/costales/gufw/releases/download/24.04/gui-ufw-24.04.0.tar.gz"
+MD5SUM="15cb73e5aac0c5e0d3d8107883de6570"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-distutils-extra pygobject3-python3 ufw webkit2gtk"
-MAINTAINER="Skaendo"
-EMAIL="skaendo@linuxmail.org"
+REQUIRES="python-distutils-extra webkit2gtk ufw"
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/network/gui-ufw/path-fix.diff b/network/gui-ufw/path-fix.diff
new file mode 100644
index 0000000000..2ebfdb0c21
--- /dev/null
+++ b/network/gui-ufw/path-fix.diff
@@ -0,0 +1,16 @@
+--- a/bin/gufw-pkexec
++++ b/bin/gufw-pkexec
+@@ -1,2 +1,11 @@
+ #!/bin/bash
+-python3 /usr/share/gufw/gufw/gufw.py $1
++LOCATIONS=`ls -ld /usr/lib*/python*/site-packages/gufw/gufw.py | awk '{print $9}'` # from source
++LOCATIONS=( "${LOCATIONS[@]}" "/usr/share/gufw/gufw/gufw.py" ) # deb package
++
++for ((i = 0; i < ${#LOCATIONS[@]}; i++))
++do
++ if [[ -e "${LOCATIONS[${i}]}" ]]; then
++ python3 ${LOCATIONS[${i}]} $1
++ fi
++done
++
+
diff --git a/network/gui-ufw/slack-desc b/network/gui-ufw/slack-desc
index 467139f203..35569e8c84 100644
--- a/network/gui-ufw/slack-desc
+++ b/network/gui-ufw/slack-desc
@@ -10,10 +10,10 @@ gui-ufw: gui-ufw (GUI for Uncomplicated Firewall)
gui-ufw:
gui-ufw: A very user-friendly and uncomplicated way to manage ufw.
gui-ufw:
+gui-ufw: Homepage: https://gufw.org/
gui-ufw:
gui-ufw:
gui-ufw:
gui-ufw:
gui-ufw:
-gui-ufw: Homepage: https://gufw.org/
gui-ufw:
diff --git a/network/hakuneko/README b/network/hakuneko/README
new file mode 100644
index 0000000000..ea9a249bc1
--- /dev/null
+++ b/network/hakuneko/README
@@ -0,0 +1,14 @@
+Hakuneko is a cross platform downloader for Manga and Anime
+from various websites.Hakuneko was made to help users
+downloading media for circumstances that require offline usage.
+The philosophy is ad-hoc consumption, get it when you going to
+watch it. It is not meant to be a mass downloader to stock up
+thousands of chapters that are just collected and will probably
+never be read.
+
+Note:
+This build will self update with changes in the master branch.
+
+After uninstalling Hakuneko make sure to remove the following
+folders $HOME/.config/hakuneko-desktop and
+$HOME/.cache/hakuneko-desktop
diff --git a/network/hakuneko/doinst.sh b/network/hakuneko/doinst.sh
new file mode 100644
index 0000000000..5b35a0a29e
--- /dev/null
+++ b/network/hakuneko/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/hakuneko/hakuneko.SlackBuild b/network/hakuneko/hakuneko.SlackBuild
new file mode 100644
index 0000000000..a333d3a7e3
--- /dev/null
+++ b/network/hakuneko/hakuneko.SlackBuild
@@ -0,0 +1,132 @@
+#!/bin/bash
+
+# Slackware build script for hakuneko
+
+# Copyright 2022 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=hakuneko
+VERSION=${VERSION:-8.3.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86)
+ DEBARCH=i386
+ ARCH=i586
+ LIBDIRSUFFIX=""
+ ;;
+ x86_64)
+ DEBARCH=amd64
+ ARCH=x86_64
+ LIBDIRSUFFIX="64"
+ ;;
+ # unsupported
+ *)
+ echo "ARCH $( uname -m ) is unsupported"
+ exit 1
+ ;;
+ esac
+else
+ case "$ARCH" in
+ i?86)
+ DEBARCH=i386
+ LIBDIRSUFFIX=""
+ ;;
+ x86_64)
+ DEBARCH=amd64
+ LIBDIRSUFFIX="64"
+ ;;
+ # unsupported
+ *)
+ echo "$ARCH is unsupported"
+ exit 1
+ ;;
+ esac
+fi
+
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -pv $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+
+if [ "$DEBARCH" = "i386" ]; then
+ echo "Building for the 32-bit architecture"
+ mv -v $CWD/hakuneko-desktop_8.3.4_linux_i386.deb $CWD/$PRGNAM-$VERSION.deb
+ ar -x $CWD/$PRGNAM-$VERSION.deb
+ tar xvf data.tar.xz -C $PKG
+ mv -v $PKG/usr/share/man $PKG/usr/man
+elif [ "$DEBARCH" = "amd64" ]; then
+ echo "Building for the 64-bit architecture"
+ mv -v $CWD/hakuneko-desktop_8.3.4_linux_amd64.deb $CWD/$PRGNAM-$VERSION.deb
+ ar -x $CWD/$PRGNAM-$VERSION.deb
+ tar xvf data.tar.xz -C $PKG
+ mv -v $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+ mv -v $PKG/usr/share/man $PKG/usr/man
+ rm -rvf $PKG/usr/share/applications/hakuneko-desktop.desktop
+ cp -a $CWD/hakuneko.desktop $PKG/usr/share/applications/
+else
+ echo "This program is not supported"
+fi
+
+cd $PKG
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv -v $PKG/usr/share/doc/hakuneko-desktop/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rvf $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hakuneko/hakuneko.desktop b/network/hakuneko/hakuneko.desktop
new file mode 100644
index 0000000000..d04c10ee61
--- /dev/null
+++ b/network/hakuneko/hakuneko.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=HakuNeko Desktop
+Comment=Downloader
+Exec=/usr/lib64/hakuneko-desktop/hakuneko
+Icon=hakuneko-desktop
+Terminal=false
+Type=Application
+Categories=Network;FileTransfer;
+GenericName=Manga Downloader
diff --git a/network/hakuneko/hakuneko.info b/network/hakuneko/hakuneko.info
new file mode 100644
index 0000000000..952c6ce2f5
--- /dev/null
+++ b/network/hakuneko/hakuneko.info
@@ -0,0 +1,10 @@
+PRGNAM="hakuneko"
+VERSION="8.3.4"
+HOMEPAGE="https://hakuneko.download"
+DOWNLOAD="https://github.com/manga-download/hakuneko/releases/download/nightly-20200705.1/hakuneko-desktop_8.3.4_linux_i386.deb"
+MD5SUM="bdeb7eb96f74606c74c1359a8145a023"
+DOWNLOAD_x86_64="https://github.com/manga-download/hakuneko/releases/download/nightly-20200705.1/hakuneko-desktop_8.3.4_linux_amd64.deb"
+MD5SUM_x86_64="c6e5affbef2828708d806e890befe7db"
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/network/hakuneko/slack-desc b/network/hakuneko/slack-desc
new file mode 100644
index 0000000000..13fefc9555
--- /dev/null
+++ b/network/hakuneko/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+hakuneko: hakuneko (Manga and Anime Downloader)
+hakuneko:
+hakuneko: Hakuneko is a cross platform downloader for Manga and Anime
+hakuneko: from various websites.Hakuneko was made to help users
+hakuneko: downloading media for circumstances that require offline usage.
+hakuneko: The philosophy is ad-hoc consumption, get it when you going to
+hakuneko: watch it. It is not meant to be a mass downloader to stock up
+hakuneko: thousands of chapters that are just collected and will probably
+hakuneko: never be read.
+hakuneko:
+hakuneko: Homepage:https://hakuneko.download
diff --git a/network/hamachi/README b/network/hamachi/README
index cc32ec2016..60bf132bce 100644
--- a/network/hamachi/README
+++ b/network/hamachi/README
@@ -1,15 +1,17 @@
-LogMeIn Hamachi2 is a hosted VPN service that securely connects devices and
-networks, extending LAN-like network connectivity to mobile users,
-distributed teams and business applications. You can easily create secure
-virtual networks on demand, across public and private networks.
+LogMeIn Hamachi2 is a hosted VPN service that securely connects
+devices and networks, extending LAN-like network connectivity to
+mobile users, distributed teams and business applications. You can
+easily create secure virtual networks on demand, across public and
+private networks.
Linux beta binary blob from https://secure.logmein.com/US/labs/
-This requires the "tun" driver to be built into the kernel or available as
-a module- not a problem for Slackware (indeed, most) kernels.
+This requires the "tun" driver to be built into the kernel or
+available as a module- not a problem for Slackware (indeed, most)
+kernels.
-Provided is a sample rc.d script, /etc/rc.d/rc.d/rc.hamachi, to start the
-Hamachi2 daemon. To run it on boot, make it executable with
+Provided is a sample rc.d script, /etc/rc.d/rc.d/rc.hamachi, to start
+the Hamachi2 daemon. To run it on boot, make it executable with
chmod +x /etc/rc.d/rc.hamachi
@@ -19,12 +21,12 @@ and add the following to /etc/rc.d/rc.local:
. /etc/rc.d/rc.hamachi start
fi
-Hamachi2 writes its configuration information to /var/lib/logmein-hamachi.
-To modify the server configuration, add your parameters to
-/var/lib/logmein-hamachi/h2-engine-override.cfg and restart the daemon with
-/etc/rc.d/rc.hamachi restart. Parameters you can change (in fact, the
-daemon's current configuration) are listed in h2-engine.cfg in this
-directory.
+Hamachi2 writes its configuration information to
+/var/lib/logmein-hamachi. To modify the server configuration, add
+your parameters to /var/lib/logmein-hamachi/h2-engine-override.cfg and
+restart the daemon with /etc/rc.d/rc.hamachi restart. Parameters you
+can change (in fact, the daemon's current configuration) are listed in
+h2-engine.cfg in this directory.
Example /var/lib/logmein-hamachi/h2-engine-override.cfg:
@@ -35,10 +37,11 @@ Example /var/lib/logmein-hamachi/h2-engine-override.cfg:
Sock.UdpAddr 192.168.1.33
Sock.UdpPort 51232
-This config allows the user vike to use the hamachi command for controlling
-the vpn. It also disables UPnP for negotiation of the hamachi listen socket
-and forces it to the address and port listed. This is useful when you are
-willing to do a port forward yourself, because UPnP can be unreliable.
+This config allows the user vike to use the hamachi command for
+controlling the vpn. It also disables UPnP for negotiation of
+the hamachi listen socket and forces it to the address and port
+listed. This is useful when you are willing to do a port forward
+yourself, because UPnP can be unreliable.
For more information run the hamachi command without parameters and see
/usr/doc/hamachi-<version>/README.
diff --git a/network/hamachi/hamachi.SlackBuild b/network/hamachi/hamachi.SlackBuild
index b65be724e4..31604ae221 100644
--- a/network/hamachi/hamachi.SlackBuild
+++ b/network/hamachi/hamachi.SlackBuild
@@ -1,24 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hamachi
# Written by Adam Swift vikepack@omnitude.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hamachi
SRCPKGNAM=logmein-$PRGNAM
VERSION=${VERSION:-2.0.1.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,5 +71,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/haproxy/README b/network/haproxy/README
index e9f613f484..c3e6a927b8 100644
--- a/network/haproxy/README
+++ b/network/haproxy/README
@@ -3,8 +3,9 @@ availability, load balancing, and proxying for TCP and HTTP-based
applications. It is particularly suited for very high traffic web sites.
Note that a default configuration file is no longer provided at
-/etc/haproxy/haproxy.cfg. See /usr/doc/haproxy-*/examples for some
-sample configuration files.
+/etc/haproxy/haproxy.cfg. See /usr/doc/haproxy-*/examples
+for some sample configuration files. The directory also contains
+example files for logging.
-lua53 is an optional dependency for HAProxy. Pass LUA=yes to this script to
-enable lua support.
+The script supports optional variables for Lua, PCRE and QUIC.
+See README.SLACKWARE for more information.
diff --git a/network/haproxy/README.SLACKWARE b/network/haproxy/README.SLACKWARE
new file mode 100644
index 0000000000..53e8a8fd21
--- /dev/null
+++ b/network/haproxy/README.SLACKWARE
@@ -0,0 +1,94 @@
+--------
+Compiling, optional dependencies and variables
+--------
+
+This SlackBuild script supports additional variables.
+
+1) Lua support
+
+Lua is an optional dependency. Pass LUA=yes to this script
+to enable Lua support.
+
+2) Custom Perl Compatible Regular Expressions
+
+Perl Compatible Regular Expressions version 2 without JIT
+support is enabled by default. You can change this by passing
+PCRE= to this script.
+
+Currently supported settings are listed in the Makefile.
+
+For example:
+ * Use PCRE=PCRE2_JIT to use libpcre2 with JIT support.
+ * Use PCRE=PCRE to use libpcre version 1.
+
+You can also use the variables as they're written in the
+Makefile, such as PCRE=USE_PCRE_JIT or PCRE=USE_PCRE=1.
+The script will parse them correctly.
+
+3) QUIC support (experimental)
+
+Starting with version 2.6.0, HAProxy supports HTTP/3 over QUIC.
+The QUIC support is currently experimental and requires QUICTLS.
+OpenSSL package shipped with Slackware 15.0 is not compatible
+with QUIC.
+
+Pass QUIC=yes to this script to enable HTTP/3 support.
+
+Check out these links for more information:
+* https://github.com/quictls/
+* https://www.haproxy.com/blog/announcing-haproxy-2-6/
+
+--------
+Logging
+--------
+
+If you want to enable logging, please first refer to HAProxy manual
+on how to enable logging and how to select which events to log.
+
+HAProxy log forwarding works fine with Slackware's sysklogd.
+
+There are example files located in /usr/doc/haproxy-*/examples
+The files are called syslog.example and logrotate.example.
+
+You might want to add something like this to your haproxy.cfg file:
+
+global
+ log /dev/log local0
+
+Note that rotating logs does not require restarting HAProxy.
+Instead, logrotate script should send a HUP signal to syslogger
+when rotating. Example script is included in syslog.example.
+Rotating has been tested with sysklogd (Slackware default) and
+syslog-ng.
+
+--------
+Automatic starting/stopping upon system start/shutdown
+--------
+
+To start HAProxy automatically when system is booted,
+add the following lines to /etc/rc.d/rc.local:
+
+ if [ -x /etc/rc.d/rc.haproxy ]; then
+ /etc/rc.d/rc.haproxy start
+ fi
+
+To stop HAProxy on system shutdown, add following lines
+to /etc/rc.d/rc.local_shutdown
+
+ if [ -x /etc/rc.d/rc.haproxy ]; then
+ /etc/rc.d/rc.haproxy stop
+ fi
+
+--------
+Privileges
+--------
+
+Like with the most rc scripts /etc/rc.d/rc.haproxy should be
+run as root. You can easily drop process privileges by specifying
+another user (and group) in the main configuration file.
+
+Add something like this to haproxy.cfg:
+
+global
+ user nobody
+ group nogroup
diff --git a/network/haproxy/haproxy.SlackBuild b/network/haproxy/haproxy.SlackBuild
index cfcb13e07b..6347d65637 100644
--- a/network/haproxy/haproxy.SlackBuild
+++ b/network/haproxy/haproxy.SlackBuild
@@ -1,10 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for haproxy
# Copyright 2018 T3slider <t3slider@gmail.com>
# All rights reserved.
#
+# Copyright 2024 Badchay <badchay@protonmail.com>
+# All rights reserved.
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -22,10 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=haproxy
-VERSION=${VERSION:-1.8.13}
+VERSION=${VERSION:-2.8.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,10 +69,16 @@ fi
# This should work with Slackware-provided kernels, but you may wish to
# use 'generic' instead
-TARGET=${TARGET:-linux2628}
+TARGET=${TARGET:-linux-glibc}
-# Include lua support? (Requires lua53)
+# Include lua support? (Requires lua)
LUA=${LUA:-no}
+# Perl Compatible Regular Expressions version 2 is enabled by default.
+# You might want to use libpcre1 and/or JIT-enabled version instead.
+PCRE=${PCRE:-PCRE2}
+# Include QUIC (HTTP/3) support?
+# This requires QUICTLS or wolfSSL.
+QUIC=${QUIC:-no}
set -e
@@ -77,18 +96,36 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
LUAOPT=""
-if [ "$LUA" != "no" ]; then
+if [ "$LUA" == "yes" ]; then
LUAOPT="USE_LUA=1"
+else
+ LUAOPT="USE_LUA="
+fi
+
+PCREOPT=""
+if [ "$PCRE" != "PCRE2" ]; then
+ PCREOPT=$(echo $PCRE | sed -e 's/USE_//' -e 's/=1//')
+else
+ PCREOPT="PCRE2"
+fi
+
+QUICOPT=""
+if [ "$QUIC" == "yes" ]; then
+ LUAOPT="USE_QUIC=1"
+else
+ LUAOPT="USE_QUIC="
fi
make \
TARGET=$TARGET \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- USE_PCRE=1 \
+ USE_$PCREOPT=1 \
+ $QUICOPT \
USE_OPENSSL=1 \
+ USE_ENGINE=1 \
USE_ZLIB=1 \
USE_NS=1 \
+ USE_PROMEX=1 \
+ USE_SYSTEMD= \
$LUAOPT \
EXTRA=""
make install \
@@ -106,8 +143,18 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
install -D -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-cp -a CHANGELOG CONTRIBUTING LICENSE MAINTAINERS README ROADMAP SUBVERS VERDATE VERSION examples \
+cp -a CONTRIBUTING LICENSE MAINTAINERS README BRANCHES SUBVERS VERDATE VERSION examples \
$PKG/usr/doc/$PRGNAM-$VERSION
+
+# If there's a CHANGELOG, installing at least part of the recent history
+# is useful, but don't let it get totally out of control:
+if [ -r CHANGELOG ]; then
+ head -n 1000 CHANGELOG > $PKG/usr/doc/$PRGNAM-$VERSION/CHANGELOG
+ touch -r CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION/CHANGELOG
+fi
+
+cp $CWD/{syslog.example,logrotate.example} $PKG/usr/doc/$PRGNAM-$VERSION/examples/
+
mkdir -p $PKG/etc/haproxy
mv $PKG/usr/doc/$PRGNAM-$VERSION/examples/errorfiles $PKG/etc/haproxy/errors
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -117,4 +164,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/haproxy/haproxy.info b/network/haproxy/haproxy.info
index b25e1d7e47..b48d7a471d 100644
--- a/network/haproxy/haproxy.info
+++ b/network/haproxy/haproxy.info
@@ -1,10 +1,10 @@
PRGNAM="haproxy"
-VERSION="1.8.13"
+VERSION="2.8.9"
HOMEPAGE="https://www.haproxy.org/"
-DOWNLOAD="https://www.haproxy.org/download/1.8/src/haproxy-1.8.13.tar.gz"
-MD5SUM="bf0b437bad78f5824d7e26ae0c81fee4"
+DOWNLOAD="https://www.haproxy.org/download/2.8/src/haproxy-2.8.9.tar.gz"
+MD5SUM="ed6a0a5171b83c6fa6850fa2ed3639be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="T3slider"
-EMAIL="t3slider@gmail.com"
+MAINTAINER="Badchay"
+EMAIL="badchay@protonmail.com"
diff --git a/network/haproxy/logrotate.example b/network/haproxy/logrotate.example
new file mode 100644
index 0000000000..7bc93f8e33
--- /dev/null
+++ b/network/haproxy/logrotate.example
@@ -0,0 +1,9 @@
+/var/log/haproxy {
+ notifempty
+ weekly
+ missingok
+ rotate 4
+ postrotate
+ /bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2>/dev/null || true
+ endscript
+}
diff --git a/network/haproxy/rc.haproxy b/network/haproxy/rc.haproxy
index a95a407133..e19ddf8ca5 100644
--- a/network/haproxy/rc.haproxy
+++ b/network/haproxy/rc.haproxy
@@ -1,15 +1,30 @@
-#!/bin/sh
+#!/bin/bash
+#
+# Slackware initialization script for HAProxy.
+#
+# This script was made by T3slider.
+# Slight modifications by Badchay.
+#
+
HAPROXY=/usr/sbin/haproxy
CONFIG=/etc/haproxy/haproxy.cfg
PIDFILE=/var/run/haproxy.pid
+if [[ ! -f $CONFIG && "$1" == "start" ]]; then
+ echo "No configuration file found. Cannot continue."
+ echo "The script looks for the configuration file placed in $CONFIG"
+ exit 1
+fi
+
start() {
if [ -r $PIDFILE ]; then
echo 'HAProxy is already running!'
return
+ else
+ echo "Starting HAProxy..."
+ $HAPROXY -f $CONFIG -D -p $PIDFILE
fi
- $HAPROXY -f $CONFIG -D -p $PIDFILE
}
stop() {
diff --git a/network/haproxy/slack-desc b/network/haproxy/slack-desc
index 773ba0f472..1131d5b881 100644
--- a/network/haproxy/slack-desc
+++ b/network/haproxy/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-haproxy: haproxy (a high performance TCP/HTTP load balancer)
+haproxy: haproxy (The Reliable, High Performance TCP/HTTP Load Balancer)
haproxy:
-haproxy: HAProxy is a free, very fast and reliable solution offering high
+haproxy: HAProxy is a free, very fast and reliable reverse-proxy offering high
haproxy: availability, load balancing, and proxying for TCP and HTTP-based
-haproxy: applications. It is particularly suited for very high traffic web
-haproxy: sites.
-haproxy:
-haproxy: http://www.haproxy.org/
+haproxy: applications. It is particularly suited for very high traffic
+haproxy: web sites and powers a significant portion of the world's most
+haproxy: visited ones.
haproxy:
haproxy:
+haproxy: Check out more information on https://www.haproxy.org/
haproxy:
diff --git a/network/haproxy/syslog.example b/network/haproxy/syslog.example
new file mode 100644
index 0000000000..8d062fac17
--- /dev/null
+++ b/network/haproxy/syslog.example
@@ -0,0 +1,20 @@
+# Note: If you enable local0 logging. You'll probably want to add
+# something like local0.none to your /etc/syslogd.conf
+#
+# Otherwise the logs will be sent to your /var/log/messages file
+# as well as the logfile specified below.
+#
+# An example would be to change the default line
+#
+# authpriv.none;cron.none;mail.none;news.none -/var/log/messages
+# to
+# authpriv.none;cron.none;mail.none;news.none;local0.none -/var/log/messages
+#
+# Move this file to /etc/syslog.d/ with .conf extension
+# so syslog will load it automatically.
+#
+# Also remember to restart sysklogd
+# sh /etc/rc.d/rc.syslog restart
+#
+
+local0.* -/var/log/haproxy
diff --git a/network/haskell-network-multicast/README b/network/haskell-network-multicast/README
index 084ebb30da..32225afa20 100644
--- a/network/haskell-network-multicast/README
+++ b/network/haskell-network-multicast/README
@@ -1,5 +1,5 @@
-The Network.Multicast module is for sending UDP datagrams over multicast
-(class D) addresses.
+The Network.Multicast module is for sending UDP datagrams over
+multicast (class D) addresses.
-Network.Multicast 0.2.0 is the last version compatible with Network < 2.7 that
-doesn't require an explicit install of Network.BSD.
+Network.Multicast 0.2.0 is the last version compatible with
+Network < 2.7, that doesn't require an explicit install of Network.BSD.
diff --git a/network/haskell-network-multicast/haskell-network-multicast.SlackBuild b/network/haskell-network-multicast/haskell-network-multicast.SlackBuild
index b392a0bf8c..6737f142c0 100644
--- a/network/haskell-network-multicast/haskell-network-multicast.SlackBuild
+++ b/network/haskell-network-multicast/haskell-network-multicast.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for haskell-network-multicast
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=haskell-network-multicast
-VERSION=${VERSION:-0.2.0}
+VERSION=${VERSION:-0.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="$( echo $PRGNAM | cut -d- -f2- )"
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -107,4 +117,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/haskell-network-multicast/haskell-network-multicast.info b/network/haskell-network-multicast/haskell-network-multicast.info
index fb31fcfc10..048dc7c1f9 100644
--- a/network/haskell-network-multicast/haskell-network-multicast.info
+++ b/network/haskell-network-multicast/haskell-network-multicast.info
@@ -1,10 +1,10 @@
PRGNAM="haskell-network-multicast"
-VERSION="0.2.0"
+VERSION="0.3.2"
HOMEPAGE="https://hackage.haskell.org/package/network-multicast"
-DOWNLOAD="https://hackage.haskell.org/package/network-multicast-0.2.0/network-multicast-0.2.0.tar.gz"
-MD5SUM="3d24c965c74baec05c3599489b1e4356"
+DOWNLOAD="https://hackage.haskell.org/package/network-multicast-0.3.2/network-multicast-0.3.2.tar.gz"
+MD5SUM="4a11d42da0026bc4cceafd10fca0b9f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="haskell-network"
+REQUIRES="haskell-network-bsd"
MAINTAINER="Jan-willem De Bleser"
EMAIL="jw@thescrapyard.org"
diff --git a/network/havp/README b/network/havp/README
index 3b5160bab4..b07c07c49e 100644
--- a/network/havp/README
+++ b/network/havp/README
@@ -1,7 +1,8 @@
-HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner.
-The main aims are continuous, non-blocking downloads and smooth scanning
-of dynamic and password protected HTTP traffic. Havp antivirus proxy has
-a parent and transparent proxy mode. It can be used with squid or standalone.
+HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus
+scanner. The main aims are continuous, non-blocking downloads and
+smooth scanning of dynamic and password protected HTTP traffic. Havp
+antivirus proxy has a parent and transparent proxy mode. It can be
+used with squid or standalone.
This requires mandatory locks on the scanning find system unless you
add --disable-locking to the configuration (enabled by default for
diff --git a/network/havp/havp.SlackBuild b/network/havp/havp.SlackBuild
index 8cc825cd1c..d4480368c0 100644
--- a/network/havp/havp.SlackBuild
+++ b/network/havp/havp.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for HAVP
# Written by William Bowman <wilbowma@indiana.edu>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=havp
-VERSION=${VERSION:-0.92a}
+VERSION=${VERSION:-0.93}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,7 +80,8 @@ find -L . \
patch -p1 < $CWD/patches/fixup_and_install_init_script.diff
patch -p1 < $CWD/patches/use_clamav_group_by_default.diff
patch -p1 < $CWD/patches/put_templates_in_usrshare.diff
-patch -p1 < $CWD/patches/use_vartmphavp_for_tempdir.diff
+
+patch -p0 < $CWD/patches/patch-havp_scanners_clamlibscanner_cpp
CFLAGS="$SLKCFLAGS"
./configure \
@@ -110,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/havp/havp.info b/network/havp/havp.info
index f777e20752..88f3755561 100644
--- a/network/havp/havp.info
+++ b/network/havp/havp.info
@@ -1,8 +1,8 @@
PRGNAM="havp"
-VERSION="0.92a"
+VERSION="0.93"
HOMEPAGE="https://sourceforge.net/projects/havp/"
-DOWNLOAD="https://downloads.sourceforge.net/havp/havp-0.92a.tar.gz"
-MD5SUM="f9a37411116eceea579b9034c5fa8a69"
+DOWNLOAD="https://downloads.sourceforge.net/havp/havp-0.93.tar.gz"
+MD5SUM="0bfac9d9b12a3bdc33759691e67ccb7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="clamav"
diff --git a/network/havp/patches/patch-havp_scanners_clamlibscanner_cpp b/network/havp/patches/patch-havp_scanners_clamlibscanner_cpp
new file mode 100644
index 0000000000..fb6b1174c5
--- /dev/null
+++ b/network/havp/patches/patch-havp_scanners_clamlibscanner_cpp
@@ -0,0 +1,64 @@
+# clamav 1.0.0 mostly uses cl_error_t (aka unsigned int) for
+# returning error values, change type to match
+#
+# ...except cl_statchkdir, which returns cl_error_t type values
+# but is still an int, so bodge around that
+
+Index: havp/scanners/clamlibscanner.cpp
+--- havp/scanners/clamlibscanner.cpp.orig
++++ havp/scanners/clamlibscanner.cpp
+@@ -22,7 +22,7 @@ extern int LL;
+ bool ClamLibScanner::InitDatabase()
+ {
+ unsigned int sigs = 0;
+- int ret;
++ cl_error_t ret;
+ if (LL>2) cl_debug();
+
+ #ifdef CL_INIT_DEFAULT
+@@ -118,9 +118,10 @@ bool ClamLibScanner::InitDatabase()
+
+ int ClamLibScanner::ReloadDatabase()
+ {
+- int ret = cl_statchkdir(&dbstat);
++ cl_error_t ret;
++ int reti = cl_statchkdir(&dbstat);
+
+- if ( ret == 1 )
++ if ( reti == 1 )
+ {
+ unsigned int sigs = 0;
+ struct cl_settings *settings = NULL;
+@@ -191,9 +192,9 @@ int ClamLibScanner::ReloadDatabase()
+
+ return 1;
+ }
+- else if ( ret != 0 )
++ else if ( reti != 0 )
+ {
+- LogFile::ErrorMessage("ClamAV: Error on database check: %s\n", cl_strerror(ret));
++ LogFile::ErrorMessage("ClamAV: Error on database check\n");
+ }
+
+ return 0;
+@@ -203,9 +204,9 @@ int ClamLibScanner::ReloadDatabase()
+ string ClamLibScanner::Scan( const char *FileName )
+ {
+ #ifdef CL_INIT_DEFAULT
+- int ret = cl_scanfile(FileName, &virname, NULL, engine, &cl_options);
++ cl_error_t ret = cl_scanfile(FileName, &virname, NULL, engine, &cl_options);
+ #else
+- int ret = cl_scanfile(FileName, &virname, NULL, engine, &limits, scanopts);
++ cl_error_t ret = cl_scanfile(FileName, &virname, NULL, engine, &limits, scanopts);
+ #endif
+
+ //Clean?
+@@ -240,7 +241,7 @@ string ClamLibScanner::Scan( const char *FileName )
+ void ClamLibScanner::FreeDatabase()
+ {
+ #ifdef CL_INIT_DEFAULT
+- int ret = cl_engine_free(engine);
++ cl_error_t ret = cl_engine_free(engine);
+ if ( ret != CL_SUCCESS )
+ {
+ LogFile::ErrorMessage("ClamAV: cl_engine_free() failed: %s\n", cl_strerror(ret));
diff --git a/network/havp/patches/use_vartmphavp_for_tempdir.diff b/network/havp/patches/use_vartmphavp_for_tempdir.diff
deleted file mode 100644
index b114afdca1..0000000000
--- a/network/havp/patches/use_vartmphavp_for_tempdir.diff
+++ /dev/null
@@ -1,26 +0,0 @@
-Set the working dir (TEMPDIR) to /var/tmp/havp instead of /var/tmp
-
-diff -Nur havp-0.92a.orig/etc/havp/havp.config.in havp-0.92a/etc/havp/havp.config.in
---- havp-0.92a.orig/etc/havp/havp.config.in 2011-12-20 22:08:18.907739050 -0600
-+++ havp-0.92a/etc/havp/havp.config.in 2011-12-20 22:08:55.267259030 -0600
-@@ -120,7 +120,7 @@
- # Needs to be writable by HAVP user. Use ramdisk for best performance.
- #
- # Default:
--# TEMPDIR /var/tmp
-+# TEMPDIR /var/tmp/havp
-
- #
- # HAVP reloads scanners virus database by receiving a signal
-diff -Nur havp-0.92a.orig/havp/params.cpp havp-0.92a/havp/params.cpp
---- havp-0.92a.orig/havp/params.cpp 2010-04-02 08:32:42.000000000 -0500
-+++ havp-0.92a/havp/params.cpp 2011-12-20 22:08:44.061406971 -0600
-@@ -70,7 +70,7 @@
- SetConfig("WHITELIST", WHITELISTFILE);
- SetConfig("BLACKLIST", BLACKLISTFILE);
- SetConfig("TEMPLATEPATH", TEMPLATEPATH);
-- SetConfig("TEMPDIR", "/var/tmp");
-+ SetConfig("TEMPDIR", "/var/tmp/havp");
- SetConfig("SCANTEMPFILE", "/var/tmp/havp/havp-XXXXXX");
- SetConfig("PIDFILE", PIDFILE);
- SetConfig("TRANSPARENT", "false");
diff --git a/network/heimdal/README b/network/heimdal/README
index 41e6e229b2..3031fa264f 100644
--- a/network/heimdal/README
+++ b/network/heimdal/README
@@ -8,5 +8,3 @@ Heimdal is a free implementation of Kerberos 5. The goals are to:
* include the most important and useful application programs
(rsh, telnet, popper, etc.)
* include enough backwards compatibility with Kerberos V4
-
-This package conflicts with krb5.
diff --git a/network/heimdal/config/heimdal.sh b/network/heimdal/config/heimdal.sh
new file mode 100644
index 0000000000..fd3f0bdba4
--- /dev/null
+++ b/network/heimdal/config/heimdal.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export PATH=/usr/heimdal/bin:/usr/heimdal/sbin:$PATH
+export MANPATH=/usr/heimdal/man:$MANPATH
diff --git a/network/heimdal/config/rc.ipropd-master b/network/heimdal/config/rc.ipropd-master
index 744943b4c5..054048c440 100644
--- a/network/heimdal/config/rc.ipropd-master
+++ b/network/heimdal/config/rc.ipropd-master
@@ -3,9 +3,9 @@
HOSTNAME=`hostname -f`
ipropd_master_start() {
- if [ -x /usr/libexec/ipropd-master ]; then
- echo "Starting the ipropd-master service: /usr/libexec/ipropd-master --detach"
- /usr/libexec/ipropd-master --detach --hostname=$HOSTNAME
+ if [ -x /usr/heimdal/libexec/ipropd-master ]; then
+ echo "Starting the ipropd-master service: /usr/heimdal/libexec/ipropd-master --detach"
+ /usr/heimdal/libexec/ipropd-master --detach --hostname=$HOSTNAME
fi
}
diff --git a/network/heimdal/config/rc.ipropd-slave b/network/heimdal/config/rc.ipropd-slave
index 6b1a8c7274..9364430e07 100644
--- a/network/heimdal/config/rc.ipropd-slave
+++ b/network/heimdal/config/rc.ipropd-slave
@@ -4,9 +4,9 @@ KEYTAB=/etc/iprop.keytab
HOSTNAME=`hostname -f`
ipropd_slave_start() {
- if [ -x /usr/libexec/ipropd-slave ]; then
- echo "Starting the ipropd-slave service: /usr/libexec/ipropd-slave --detach"
- /usr/libexec/ipropd-slave --detach --keytab=$KEYTAB --hostname=$HOSTNAME
+ if [ -x /usr/heimdal/libexec/ipropd-slave ]; then
+ echo "Starting the ipropd-slave service: /usr/heimdal/libexec/ipropd-slave --detach"
+ /usr/heimdal/libexec/ipropd-slave --detach --keytab=$KEYTAB --hostname=$HOSTNAME
fi
}
diff --git a/network/heimdal/config/rc.kadmind b/network/heimdal/config/rc.kadmind
index 23b5447078..4487b492bc 100644
--- a/network/heimdal/config/rc.kadmind
+++ b/network/heimdal/config/rc.kadmind
@@ -1,9 +1,9 @@
#!/bin/sh
kadmind_start() {
- if [ -x /usr/libexec/kadmind ]; then
- echo "Starting the kadmind service: /usr/libexec/kadmind"
- /usr/libexec/kadmind --detach
+ if [ -x /usr/heimdal/libexec/kadmind ]; then
+ echo "Starting the kadmind service: /usr/heimdal/libexec/kadmind"
+ /usr/heimdal/libexec/kadmind --detach
fi
}
diff --git a/network/heimdal/config/rc.kdc b/network/heimdal/config/rc.kdc
index 3233794801..09c9f37827 100644
--- a/network/heimdal/config/rc.kdc
+++ b/network/heimdal/config/rc.kdc
@@ -1,9 +1,9 @@
#!/bin/sh
kdc_start() {
- if [ -x /usr/libexec/kdc ]; then
- echo "Starting the kdc service: /usr/libexec/kdc --detach"
- /usr/libexec/kdc --detach
+ if [ -x /usr/heimdal/libexec/kdc ]; then
+ echo "Starting the kdc service: /usr/heimdal/libexec/kdc --detach"
+ /usr/heimdal/libexec/kdc --detach
fi
}
diff --git a/network/heimdal/config/rc.kpasswdd b/network/heimdal/config/rc.kpasswdd
index f712ee8e45..793d3d2094 100644
--- a/network/heimdal/config/rc.kpasswdd
+++ b/network/heimdal/config/rc.kpasswdd
@@ -1,9 +1,9 @@
#!/bin/sh
kpasswdd_start() {
- if [ -x /usr/libexec/kpasswdd ]; then
- echo "Starting the kpasswdd service: /usr/libexec/kpasswdd"
- /usr/libexec/kpasswdd --detach
+ if [ -x /usr/heimdal/libexec/kpasswdd ]; then
+ echo "Starting the kpasswdd service: /usr/heimdal/libexec/kpasswdd"
+ /usr/heimdal/libexec/kpasswdd --detach
fi
}
diff --git a/network/heimdal/doinst.sh b/network/heimdal/doinst.sh
index 3176f057e6..37eaf64c5d 100644
--- a/network/heimdal/doinst.sh
+++ b/network/heimdal/doinst.sh
@@ -23,10 +23,15 @@ preserve_perms() {
}
preserve_perms etc/rc.d/rc.kdc.new
-preserve_perms etc/rc.d/rc.kadmind.new
+preserve_perms etc/rc.d/rc.kadmind-heimdal.new
preserve_perms etc/rc.d/rc.kpasswdd.new
preserve_perms etc/rc.d/rc.ipropd-master.new
preserve_perms etc/rc.d/rc.ipropd-slave.new
config etc/krb5.conf.new
+config etc/profile.d/heimdal.sh.new
config var/heimdal/kdc.conf.new
config var/heimdal/kadmind.acl.new
+
+if [ ! "$(grep /usr/heimdal/lib@LIBDIRSUFFIX@ /etc/ld.so.conf)" ]; then
+ echo "/usr/heimdal/lib@LIBDIRSUFFIX@" >> /etc/ld.so.conf
+fi
diff --git a/network/heimdal/heimdal.SlackBuild b/network/heimdal/heimdal.SlackBuild
index bffccb9397..1b4d389115 100644
--- a/network/heimdal/heimdal.SlackBuild
+++ b/network/heimdal/heimdal.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for KTH Heimdal Kerberos
-# Copyright 2010 Menno Duurma
-# Copyright 2011-2019 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2010 Menno Duursma
+# Copyright 2011-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220322 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=heimdal
-VERSION=${VERSION:-7.7.0}
+VERSION=${VERSION:-7.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,6 +59,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -66,26 +78,32 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220322 bkw: disable 2 of the unit tests that won't work on 32-bit,
+# because they rely on pre-generated certificates whose expiration
+# dates are ~500 years in the future (meaning past 2038, meaning a
+# 32-bit time_t can't handle it). This has been a known issue upstream
+# since at least 2019: https://github.com/heimdal/heimdal/issues/533
+[ -z "$LIBDIRSUFFIX" ] && \
+ sed -i '/^[\t ]*test_c\(hain\|ms\)[\t ]/d' lib/hx509/Makefile.??
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -lpthread" \
./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=/usr/heimdal \
+ --libdir=/usr/heimdal/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--infodir=/usr/info \
- --mandir=/usr/man \
+ --mandir=/usr/heimdal/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-openldap=/usr \
- --with-readline=/usr \
+ --with-libedit=/usr \
--with-sqlite3=/usr \
--with-libintl=/usr \
- --with-berkeley-db-include=/usr/include/db48 \
--with-x \
--with-ipv6 \
--without-hesiod \
@@ -97,33 +115,32 @@ LDFLAGS="-L/usr/lib$LIBDIRSUFFIX -lpthread" \
--build=$ARCH-slackware-linux
make
-make -j1 check
+#make -j1 check
make install-strip DESTDIR=$PKG
mkdir -p $PKG/etc/rc.d
cat $CWD/config/krb5.conf > $PKG/etc/krb5.conf.new
cat $CWD/config/rc.kdc > $PKG/etc/rc.d/rc.kdc.new
-cat $CWD/config/rc.kadmind > $PKG/etc/rc.d/rc.kadmind.new
+cat $CWD/config/rc.kadmind > $PKG/etc/rc.d/rc.kadmind-heimdal.new
cat $CWD/config/rc.kpasswdd > $PKG/etc/rc.d/rc.kpasswdd.new
cat $CWD/config/rc.ipropd-master > $PKG/etc/rc.d/rc.ipropd-master.new
cat $CWD/config/rc.ipropd-slave > $PKG/etc/rc.d/rc.ipropd-slave.new
+mkdir -p $PKG/etc/profile.d
+cat $CWD/config/heimdal.sh > $PKG/etc/profile.d/heimdal.sh.new
+
mkdir -p $PKG/var/heimdal
cat $CWD/config/kdc.conf > $PKG/var/heimdal/kdc.conf.new
cat $CWD/config/kadmind.acl > $PKG/var/heimdal/kadmind.acl.new
-mv $PKG/usr/bin/su $PKG/usr/bin/su-heimdal
-
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}heimdal/lib/*.la
-rm -rf $PKG/usr/man/cat?
-find $PKG/usr/man -type f -exec gzip -9 -f {} \;
+rm -rf $PKG/usr/heimdal/man/cat?
+find $PKG/usr/heimdal/man -type f -exec gzip -9 -f {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
-( cd $PKG/usr/info ; ln -s heimdal.info.gz heimdal )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -133,7 +150,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed -e "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" \
+ $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/heimdal/heimdal.info b/network/heimdal/heimdal.info
index ccfe34d596..4c0c46b21e 100644
--- a/network/heimdal/heimdal.info
+++ b/network/heimdal/heimdal.info
@@ -1,8 +1,8 @@
PRGNAM="heimdal"
-VERSION="7.7.0"
+VERSION="7.8.0"
HOMEPAGE="http://www.h5l.org"
-DOWNLOAD="https://github.com/heimdal/heimdal/releases/download/heimdal-7.7.0/heimdal-7.7.0.tar.gz"
-MD5SUM="82da0bfbe89995c2ecb6cb9c354e06a3"
+DOWNLOAD="https://github.com/heimdal/heimdal/releases/download/heimdal-7.8.0/heimdal-7.8.0.tar.gz"
+MD5SUM="2389c0ad22f2cc2bbef7b27a090d27b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/heimdal/slack-desc b/network/heimdal/slack-desc
index 417279b350..07b754ca40 100644
--- a/network/heimdal/slack-desc
+++ b/network/heimdal/slack-desc
@@ -16,4 +16,4 @@ heimdal: (key distribution center) ``kerberized'' versions of programs such
heimdal: as such as login and ftp/ftpd , telnet/telnetd and administration
heimdal: utilities such as ``klist'' and ``kadmin''. krb and GSSAPI libs.
heimdal:
-heimdal: This package conflicts with krb5.
+heimdal:
diff --git a/network/hiawatha/README b/network/hiawatha/README
index 094e670fb1..eb85247e56 100644
--- a/network/hiawatha/README
+++ b/network/hiawatha/README
@@ -27,4 +27,4 @@ Notes:
the default start file.
Hiawatha's documentation can be found at the following URL:
-https://www.hiawatha-webserver.org/support
+https://hiawatha.leisink.net/support
diff --git a/network/hiawatha/hiawatha.SlackBuild b/network/hiawatha/hiawatha.SlackBuild
index 6e1e46a6b3..ae0d768cf7 100644
--- a/network/hiawatha/hiawatha.SlackBuild
+++ b/network/hiawatha/hiawatha.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hiawatha
@@ -22,10 +22,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hiawatha
-VERSION=${VERSION:-10.10}
+VERSION=${VERSION:-11.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,7 +80,7 @@ mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_BINDIR=/usr/sbin \
-DCMAKE_INSTALL_SBINDIR=/usr/sbin \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/$PRGNAM \
@@ -101,9 +108,6 @@ cd ..
sed -i 's/^#ServerId/ServerId/' $PKG/etc/$PRGNAM/$PRGNAM.conf
sed -i "s/www-data/$PRGNAM:$PRGNAM/" $PKG/etc/$PRGNAM/$PRGNAM.conf
-# Change PHP version from 7 to 5 to match version in Slackware*-14.2
-sed -i -r -e 's/PHP7/PHP5/g' -e 's/php7/php5/g' $PKG/etc/$PRGNAM/$PRGNAM.conf
-
# Install init scipts
mkdir -p $PKG/etc/rc.d/
install -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
@@ -123,7 +127,6 @@ cat extra/newroot > $PKG/usr/share/$PRGNAM/extra/newroot
tar -caf $PKG/usr/share/$PRGNAM/extra/letsencrypt.tar.gz extra/letsencrypt/*
cp -a extra/{*.xml,index.html,*.in,tls*} \
$PKG/usr/share/$PRGNAM/extra/
-cp -a extra/nghttp2.tgz $PKG/usr/share/$PRGNAM/extra/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -142,4 +145,4 @@ do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hiawatha/hiawatha.info b/network/hiawatha/hiawatha.info
index 8016841a33..35481cc97b 100644
--- a/network/hiawatha/hiawatha.info
+++ b/network/hiawatha/hiawatha.info
@@ -1,8 +1,8 @@
PRGNAM="hiawatha"
-VERSION="10.10"
-HOMEPAGE="https://www.hiawatha-webserver.org"
-DOWNLOAD="https://www.hiawatha-webserver.org/files/hiawatha-10.10.tar.gz"
-MD5SUM="3bf2c12c7037ecc3dfdbec72e7a2f04f"
+VERSION="11.5"
+HOMEPAGE="https://hiawatha.leisink.net/"
+DOWNLOAD="https://hiawatha.leisink.net/files/hiawatha-11.5.tar.gz"
+MD5SUM="9277f86b1065794ac89cea0699da3978"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/hiawatha/slack-desc b/network/hiawatha/slack-desc
index 05db98aa46..cb0c40d4eb 100644
--- a/network/hiawatha/slack-desc
+++ b/network/hiawatha/slack-desc
@@ -16,4 +16,4 @@ hiawatha: Hiawatha supports many web and HTTP features such as CGI/FastCGI,
hiawatha: HTTP authentication, virtual host support, request pipelining, keep
hiawatha: alive connections, URL rewriting and many more.
hiawatha:
-hiawatha: Homepage: https://www.hiawatha-webserver.org
+hiawatha: Homepage: https://hiawatha.leisink.net
diff --git a/network/host-sflow/README b/network/host-sflow/README
index b233078ed6..a805696a06 100644
--- a/network/host-sflow/README
+++ b/network/host-sflow/README
@@ -1,3 +1,11 @@
-The Host sFlow agent exports physical and virtual server performance metrics
-using the sFlow protocol. The agent provides scalable, multi-vendor, multi-OS
-performance monitoring with minimal impact on the systems being monitored.
+The Host sFlow agent exports physical and virtual server performance
+metrics using the sFlow protocol. The agent provides scalable,
+multi-vendor, multi-OS performance monitoring with minimal impact on
+the systems being monitored.
+
+To start hsflowd at boot, add something like this to your
+/etc/rc.d/rc.local:
+
+if [ -x /etc/rc.d/rc.hsflowd ]; then
+ /etc/rc.d/rc.hsflowd start
+fi
diff --git a/network/host-sflow/doinst.sh b/network/host-sflow/doinst.sh
index 00c3dd9dfa..83420b7d7c 100644
--- a/network/host-sflow/doinst.sh
+++ b/network/host-sflow/doinst.sh
@@ -22,5 +22,5 @@ preserve_perms() {
config $NEW
}
-preserve_perms etc/init.d/hsflowd
+preserve_perms etc/rc.d/rc.hsflowd.new
config etc/hsflowd.conf.new
diff --git a/network/host-sflow/host-sflow.SlackBuild b/network/host-sflow/host-sflow.SlackBuild
index 813b854621..7c017930ce 100644
--- a/network/host-sflow/host-sflow.SlackBuild
+++ b/network/host-sflow/host-sflow.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for HOST-SFLOW
@@ -22,12 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230620 bkw: modified by SlackBuilds.org, BUILD=2:
+# - Install init script in Slackware standard location, and make it
+# a proper .new config file.
+# - Mention the init script in README.
+
# 02/Apr/2018 * First version
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=host-sflow
VERSION=${VERSION:-2.0.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,9 +79,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Soft-link in tarball causes x bit to be set below; nuke it
rm -f $PRGNAM-$VERSION/README
@@ -98,6 +110,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/etc/hsflowd.conf $PKG/etc/hsflowd.conf.new
+mv $PKG/etc/init.d $PKG/etc/rc.d
+mv $PKG/etc/rc.d/hsflowd $PKG/etc/rc.d/rc.hsflowd.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -108,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hostapd/README b/network/hostapd/README
index 24cfefe967..258a947ed8 100644
--- a/network/hostapd/README
+++ b/network/hostapd/README
@@ -1,7 +1,7 @@
hostapd - IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
-hostapd is a user space daemon for access point and authentication servers.
-It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP
-Authenticators, RADIUS client, EAP server, and RADIUS authentication server.
-The current version supports Linux (Host AP, madwifi, Prism54 drivers) and
-FreeBSD (net80211).
+hostapd is a user space daemon for access point and authentication
+servers. It implements IEEE 802.11 access point management, IEEE
+802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and
+RADIUS authentication server. The current version supports Linux (Host
+AP, madwifi, Prism54 drivers) and FreeBSD (net80211).
diff --git a/network/hostapd/hostapd.SlackBuild b/network/hostapd/hostapd.SlackBuild
index ae7e86ca5c..ace2dcf921 100644
--- a/network/hostapd/hostapd.SlackBuild
+++ b/network/hostapd/hostapd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hostapd
@@ -26,10 +26,13 @@
# Fixed doinst.sh by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hostapd
-VERSION=${VERSION:-2.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -53,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -75,15 +85,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-(cd ../src/
-for i in $CWD/patches/*.patch; do
- patch -p2 < "$i"
-done)
-
# Edit the defconfig to enable additional features
cat $CWD/hostapd.defconfig > .config
-CFLAGS+="$SLKCFLAGS" make
+export CFLAGS+="$SLKCFLAGS"
+make
mkdir -p \
$PKG/usr/sbin/ \
@@ -119,4 +125,4 @@ cat $CWD/doinst.sh $DOINST_TMP > $PKG/install/doinst.sh
rm -f $DOINST_TMP
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hostapd/hostapd.info b/network/hostapd/hostapd.info
index 120734259a..bd009fff35 100644
--- a/network/hostapd/hostapd.info
+++ b/network/hostapd/hostapd.info
@@ -1,8 +1,8 @@
PRGNAM="hostapd"
-VERSION="2.9"
+VERSION="2.10"
HOMEPAGE="https://w1.fi/hostapd/"
-DOWNLOAD="https://w1.fi/releases/hostapd-2.9.tar.gz"
-MD5SUM="f188fc53a495fe7af3b6d77d3c31dee8"
+DOWNLOAD="https://w1.fi/releases/hostapd-2.10.tar.gz"
+MD5SUM="0be43e9e09ab94a7ebf82de0d1c57761"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/hostapd/patches/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch b/network/hostapd/patches/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch
deleted file mode 100644
index d764a9db01..0000000000
--- a/network/hostapd/patches/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From 8c07fa9eda13e835f3f968b2e1c9a8be3a851ff9 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <j@w1.fi>
-Date: Thu, 29 Aug 2019 11:52:04 +0300
-Subject: [PATCH] AP: Silently ignore management frame from unexpected source
- address
-
-Do not process any received Management frames with unexpected/invalid SA
-so that we do not add any state for unexpected STA addresses or end up
-sending out frames to unexpected destination. This prevents unexpected
-sequences where an unprotected frame might end up causing the AP to send
-out a response to another device and that other device processing the
-unexpected response.
-
-In particular, this prevents some potential denial of service cases
-where the unexpected response frame from the AP might result in a
-connected station dropping its association.
-
-Signed-off-by: Jouni Malinen <j@w1.fi>
----
- src/ap/drv_callbacks.c | 13 +++++++++++++
- src/ap/ieee802_11.c | 12 ++++++++++++
- 2 files changed, 25 insertions(+)
-
-diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c
-index 31587685fe3b..34ca379edc3d 100644
---- a/src/ap/drv_callbacks.c
-+++ b/src/ap/drv_callbacks.c
-@@ -131,6 +131,19 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
- "hostapd_notif_assoc: Skip event with no address");
- return -1;
- }
-+
-+ if (is_multicast_ether_addr(addr) ||
-+ is_zero_ether_addr(addr) ||
-+ os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) {
-+ /* Do not process any frames with unexpected/invalid SA so that
-+ * we do not add any state for unexpected STA addresses or end
-+ * up sending out frames to unexpected destination. */
-+ wpa_printf(MSG_DEBUG, "%s: Invalid SA=" MACSTR
-+ " in received indication - ignore this indication silently",
-+ __func__, MAC2STR(addr));
-+ return 0;
-+ }
-+
- random_add_randomness(addr, ETH_ALEN);
-
- hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
-diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
-index c85a28db44b7..e7065372e158 100644
---- a/src/ap/ieee802_11.c
-+++ b/src/ap/ieee802_11.c
-@@ -4626,6 +4626,18 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
- fc = le_to_host16(mgmt->frame_control);
- stype = WLAN_FC_GET_STYPE(fc);
-
-+ if (is_multicast_ether_addr(mgmt->sa) ||
-+ is_zero_ether_addr(mgmt->sa) ||
-+ os_memcmp(mgmt->sa, hapd->own_addr, ETH_ALEN) == 0) {
-+ /* Do not process any frames with unexpected/invalid SA so that
-+ * we do not add any state for unexpected STA addresses or end
-+ * up sending out frames to unexpected destination. */
-+ wpa_printf(MSG_DEBUG, "MGMT: Invalid SA=" MACSTR
-+ " in received frame - ignore this frame silently",
-+ MAC2STR(mgmt->sa));
-+ return 0;
-+ }
-+
- if (stype == WLAN_FC_STYPE_BEACON) {
- handle_beacon(hapd, mgmt, len, fi);
- return 1;
---
-2.20.1
-
diff --git a/network/hostapd/patches/0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch b/network/hostapd/patches/0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch
deleted file mode 100644
index 0aa8a5ea1d..0000000000
--- a/network/hostapd/patches/0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch
+++ /dev/null
@@ -1,150 +0,0 @@
-From 5b78c8f961f25f4dc22d6f2b77ddd06d712cec63 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <jouni@codeaurora.org>
-Date: Wed, 3 Jun 2020 23:17:35 +0300
-Subject: [PATCH 1/3] WPS UPnP: Do not allow event subscriptions with URLs to
- other networks
-
-The UPnP Device Architecture 2.0 specification errata ("UDA errata
-16-04-2020.docx") addresses a problem with notifications being allowed
-to go out to other domains by disallowing such cases. Do such filtering
-for the notification callback URLs to avoid undesired connections to
-external networks based on subscriptions that any device in the local
-network could request when WPS support for external registrars is
-enabled (the upnp_iface parameter in hostapd configuration).
-
-Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
----
- src/wps/wps_er.c | 2 +-
- src/wps/wps_upnp.c | 38 ++++++++++++++++++++++++++++++++++++--
- src/wps/wps_upnp_i.h | 3 ++-
- 3 files changed, 39 insertions(+), 4 deletions(-)
-
-diff --git a/src/wps/wps_er.c b/src/wps/wps_er.c
-index 6bded14327f8..31d2e50e4cff 100644
---- a/src/wps/wps_er.c
-+++ b/src/wps/wps_er.c
-@@ -1298,7 +1298,7 @@ wps_er_init(struct wps_context *wps, const char *ifname, const char *filter)
- "with %s", filter);
- }
- if (get_netif_info(er->ifname, &er->ip_addr, &er->ip_addr_text,
-- er->mac_addr)) {
-+ NULL, er->mac_addr)) {
- wpa_printf(MSG_INFO, "WPS UPnP: Could not get IP/MAC address "
- "for %s. Does it have IP address?", er->ifname);
- wps_er_deinit(er, NULL, NULL);
-diff --git a/src/wps/wps_upnp.c b/src/wps/wps_upnp.c
-index 6e10e4bc0c3f..7d4b7439940e 100644
---- a/src/wps/wps_upnp.c
-+++ b/src/wps/wps_upnp.c
-@@ -303,6 +303,14 @@ static void subscr_addr_free_all(struct subscription *s)
- }
-
-
-+static int local_network_addr(struct upnp_wps_device_sm *sm,
-+ struct sockaddr_in *addr)
-+{
-+ return (addr->sin_addr.s_addr & sm->netmask.s_addr) ==
-+ (sm->ip_addr & sm->netmask.s_addr);
-+}
-+
-+
- /* subscr_addr_add_url -- add address(es) for one url to subscription */
- static void subscr_addr_add_url(struct subscription *s, const char *url,
- size_t url_len)
-@@ -381,6 +389,7 @@ static void subscr_addr_add_url(struct subscription *s, const char *url,
-
- for (rp = result; rp; rp = rp->ai_next) {
- struct subscr_addr *a;
-+ struct sockaddr_in *addr = (struct sockaddr_in *) rp->ai_addr;
-
- /* Limit no. of address to avoid denial of service attack */
- if (dl_list_len(&s->addr_list) >= MAX_ADDR_PER_SUBSCRIPTION) {
-@@ -389,6 +398,13 @@ static void subscr_addr_add_url(struct subscription *s, const char *url,
- break;
- }
-
-+ if (!local_network_addr(s->sm, addr)) {
-+ wpa_printf(MSG_INFO,
-+ "WPS UPnP: Ignore a delivery URL that points to another network %s",
-+ inet_ntoa(addr->sin_addr));
-+ continue;
-+ }
-+
- a = os_zalloc(sizeof(*a) + alloc_len);
- if (a == NULL)
- break;
-@@ -890,11 +906,12 @@ static int eth_get(const char *device, u8 ea[ETH_ALEN])
- * @net_if: Selected network interface name
- * @ip_addr: Buffer for returning IP address in network byte order
- * @ip_addr_text: Buffer for returning a pointer to allocated IP address text
-+ * @netmask: Buffer for returning netmask or %NULL if not needed
- * @mac: Buffer for returning MAC address
- * Returns: 0 on success, -1 on failure
- */
- int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
-- u8 mac[ETH_ALEN])
-+ struct in_addr *netmask, u8 mac[ETH_ALEN])
- {
- struct ifreq req;
- int sock = -1;
-@@ -920,6 +937,19 @@ int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
- in_addr.s_addr = *ip_addr;
- os_snprintf(*ip_addr_text, 16, "%s", inet_ntoa(in_addr));
-
-+ if (netmask) {
-+ os_memset(&req, 0, sizeof(req));
-+ os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name));
-+ if (ioctl(sock, SIOCGIFNETMASK, &req) < 0) {
-+ wpa_printf(MSG_ERROR,
-+ "WPS UPnP: SIOCGIFNETMASK failed: %d (%s)",
-+ errno, strerror(errno));
-+ goto fail;
-+ }
-+ addr = (struct sockaddr_in *) &req.ifr_netmask;
-+ netmask->s_addr = addr->sin_addr.s_addr;
-+ }
-+
- #ifdef __linux__
- os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name));
- if (ioctl(sock, SIOCGIFHWADDR, &req) < 0) {
-@@ -1026,11 +1056,15 @@ static int upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if)
-
- /* Determine which IP and mac address we're using */
- if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text,
-- sm->mac_addr)) {
-+ &sm->netmask, sm->mac_addr)) {
- wpa_printf(MSG_INFO, "WPS UPnP: Could not get IP/MAC address "
- "for %s. Does it have IP address?", net_if);
- goto fail;
- }
-+ wpa_printf(MSG_DEBUG, "WPS UPnP: Local IP address %s netmask %s hwaddr "
-+ MACSTR,
-+ sm->ip_addr_text, inet_ntoa(sm->netmask),
-+ MAC2STR(sm->mac_addr));
-
- /* Listen for incoming TCP connections so that others
- * can fetch our "xml files" from us.
-diff --git a/src/wps/wps_upnp_i.h b/src/wps/wps_upnp_i.h
-index e87a93232df1..6ead7b4e9a30 100644
---- a/src/wps/wps_upnp_i.h
-+++ b/src/wps/wps_upnp_i.h
-@@ -128,6 +128,7 @@ struct upnp_wps_device_sm {
- u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */
- char *ip_addr_text; /* IP address of network i.f. we use */
- unsigned ip_addr; /* IP address of network i.f. we use (host order) */
-+ struct in_addr netmask;
- int multicast_sd; /* send multicast messages over this socket */
- int ssdp_sd; /* receive discovery UPD packets on socket */
- int ssdp_sd_registered; /* nonzero if we must unregister */
-@@ -158,7 +159,7 @@ struct subscription * subscription_find(struct upnp_wps_device_sm *sm,
- const u8 uuid[UUID_LEN]);
- void subscr_addr_delete(struct subscr_addr *a);
- int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
-- u8 mac[ETH_ALEN]);
-+ struct in_addr *netmask, u8 mac[ETH_ALEN]);
-
- /* wps_upnp_ssdp.c */
- void msearchreply_state_machine_stop(struct advertisement_state_machine *a);
---
-2.20.1
-
diff --git a/network/hostapd/patches/0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch b/network/hostapd/patches/0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch
deleted file mode 100644
index c7a449e0b5..0000000000
--- a/network/hostapd/patches/0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From f7d268864a2660b7239b9a8ff5ad37faeeb751ba Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <jouni@codeaurora.org>
-Date: Wed, 3 Jun 2020 22:41:02 +0300
-Subject: [PATCH 2/3] WPS UPnP: Fix event message generation using a long URL
- path
-
-More than about 700 character URL ended up overflowing the wpabuf used
-for building the event notification and this resulted in the wpabuf
-buffer overflow checks terminating the hostapd process. Fix this by
-allocating the buffer to be large enough to contain the full URL path.
-However, since that around 700 character limit has been the practical
-limit for more than ten years, start explicitly enforcing that as the
-limit or the callback URLs since any longer ones had not worked before
-and there is no need to enable them now either.
-
-Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
----
- src/wps/wps_upnp.c | 9 +++++++--
- src/wps/wps_upnp_event.c | 3 ++-
- 2 files changed, 9 insertions(+), 3 deletions(-)
-
-diff --git a/src/wps/wps_upnp.c b/src/wps/wps_upnp.c
-index 7d4b7439940e..ab685d52ecab 100644
---- a/src/wps/wps_upnp.c
-+++ b/src/wps/wps_upnp.c
-@@ -328,9 +328,14 @@ static void subscr_addr_add_url(struct subscription *s, const char *url,
- int rerr;
- size_t host_len, path_len;
-
-- /* url MUST begin with http: */
-- if (url_len < 7 || os_strncasecmp(url, "http://", 7))
-+ /* URL MUST begin with HTTP scheme. In addition, limit the length of
-+ * the URL to 700 characters which is around the limit that was
-+ * implicitly enforced for more than 10 years due to a bug in
-+ * generating the event messages. */
-+ if (url_len < 7 || os_strncasecmp(url, "http://", 7) || url_len > 700) {
-+ wpa_printf(MSG_DEBUG, "WPS UPnP: Reject an unacceptable URL");
- goto fail;
-+ }
- url += 7;
- url_len -= 7;
-
-diff --git a/src/wps/wps_upnp_event.c b/src/wps/wps_upnp_event.c
-index d7e6edcc6503..08a23612f338 100644
---- a/src/wps/wps_upnp_event.c
-+++ b/src/wps/wps_upnp_event.c
-@@ -147,7 +147,8 @@ static struct wpabuf * event_build_message(struct wps_event_ *e)
- struct wpabuf *buf;
- char *b;
-
-- buf = wpabuf_alloc(1000 + wpabuf_len(e->data));
-+ buf = wpabuf_alloc(1000 + os_strlen(e->addr->path) +
-+ wpabuf_len(e->data));
- if (buf == NULL)
- return NULL;
- wpabuf_printf(buf, "NOTIFY %s HTTP/1.1\r\n", e->addr->path);
---
-2.20.1
-
diff --git a/network/hostapd/patches/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch b/network/hostapd/patches/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch
deleted file mode 100644
index 9d0376043d..0000000000
--- a/network/hostapd/patches/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 85aac526af8612c21b3117dadc8ef5944985b476 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <jouni@codeaurora.org>
-Date: Thu, 4 Jun 2020 21:24:04 +0300
-Subject: [PATCH 3/3] WPS UPnP: Handle HTTP initiation failures for events more
- properly
-
-While it is appropriate to try to retransmit the event to another
-callback URL on a failure to initiate the HTTP client connection, there
-is no point in trying the exact same operation multiple times in a row.
-Replve the event_retry() calls with event_addr_failure() for these cases
-to avoid busy loops trying to repeat the same failing operation.
-
-These potential busy loops would go through eloop callbacks, so the
-process is not completely stuck on handling them, but unnecessary CPU
-would be used to process the continues retries that will keep failing
-for the same reason.
-
-Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
----
- src/wps/wps_upnp_event.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/wps/wps_upnp_event.c b/src/wps/wps_upnp_event.c
-index 08a23612f338..c0d9e41d9a38 100644
---- a/src/wps/wps_upnp_event.c
-+++ b/src/wps/wps_upnp_event.c
-@@ -294,7 +294,7 @@ static int event_send_start(struct subscription *s)
-
- buf = event_build_message(e);
- if (buf == NULL) {
-- event_retry(e, 0);
-+ event_addr_failure(e);
- return -1;
- }
-
-@@ -302,7 +302,7 @@ static int event_send_start(struct subscription *s)
- event_http_cb, e);
- if (e->http_event == NULL) {
- wpabuf_free(buf);
-- event_retry(e, 0);
-+ event_addr_failure(e);
- return -1;
- }
-
---
-2.20.1
-
diff --git a/network/hostsblock/README b/network/hostsblock/README
index d52b818eb4..939bf42066 100644
--- a/network/hostsblock/README
+++ b/network/hostsblock/README
@@ -1,15 +1,16 @@
-Hostsblock is a bash script for Linux designed to take advantage of the
-/etc/hosts file to provide system-wide blocking of internet advertisements,
-malicious domains, trackers, and other undesirable content. To do so, it
-downloads a configurable set of blocklists and processes and their entries into
-a singular file.
+Hostsblock is a bash script for Linux designed to take advantage
+of the /etc/hosts file to provide system-wide blocking of internet
+advertisements, malicious domains, trackers, and other undesirable
+content. To do so, it downloads a configurable set of blocklists and
+processes and their entries into a singular file.
-The SlackBuild assumes that dnsmasq is not available so it will configure
-hostsblock to overwrite the current /etc/hosts file. The install script will
-backup the current /etc/hosts file to /etc/hostsblock/hosts.head if it does
-not already exist.
+The SlackBuild assumes that dnsmasq is not available so it
+will configure hostsblock to overwrite the current /etc/hosts
+file. The install script will backup the current /etc/hosts file to
+/etc/hostsblock/hosts.head if it does not already exist.
-After uninstalling hostsblock, you should copy hosts.head back to /etc/hosts.
+After uninstalling hostsblock, you should copy hosts.head back to
+/etc/hosts.
To have hostsblock automatically update /etc/hosts once a week, run:
ln -sf /usr/sbin/hostsblock /etc/cron.weekly/hostsblock
diff --git a/network/hostsblock/hostsblock.SlackBuild b/network/hostsblock/hostsblock.SlackBuild
index df6ff55748..56dac55752 100644
--- a/network/hostsblock/hostsblock.SlackBuild
+++ b/network/hostsblock/hostsblock.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for hostsblock
@@ -25,10 +25,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hostsblock
VERSION=${VERSION:-0.12.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hping3/README b/network/hping3/README
index acfffada38..8ccccb064e 100644
--- a/network/hping3/README
+++ b/network/hping3/README
@@ -1,12 +1,12 @@
-hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface
-is inspired to the ping(8) unix command, but hping isn't only able to send ICMP
-echo requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute
-mode, the ability to send files between a covered channel, and many other
-features.
+hping is a command-line oriented TCP/IP packet assembler/analyzer. The
+interface is inspired to the ping(8) unix command, but hping isn't
+only able to send ICMP echo requests. It supports TCP, UDP, ICMP and
+RAW-IP protocols, has a traceroute mode, the ability to send files
+between a covered channel, and many other features.
-While hping was mainly used as a security tool in the past, it can be used in
-many ways by people that don't care about security to test networks and hosts. A
-subset of the stuff you can do using hping:
+While hping was mainly used as a security tool in the past, it can
+be used in many ways by people that don't care about security to test
+networks and hosts. A subset of the stuff you can do using hping:
* Firewall testing
* Advanced port scanning
* Network testing, using different protocols, TOS, fragmentation
diff --git a/network/hping3/hping3.SlackBuild b/network/hping3/hping3.SlackBuild
index 10f08e77c6..52cbfebd28 100644
--- a/network/hping3/hping3.SlackBuild
+++ b/network/hping3/hping3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hping3 TCP/IP packet assembler/analyzer
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hping3
VERSION=${VERSION:-20051105}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,7 +98,7 @@ MANPATH=/usr/man ./configure \
# From Arch Linux - Adds DESTDIR to Makefile
patch -p1 --verbose < $CWD/patches/Makefile.patch
-make CCOPT="$SLKCFLAGS -DUSE_TCL"
+make CCOPT="$SLKCFLAGS -DUSE_TCL -fcommon"
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/httpie/README b/network/httpie/README
index eb39809b52..8b41f65b1d 100644
--- a/network/httpie/README
+++ b/network/httpie/README
@@ -1,7 +1,8 @@
HTTPie: a CLI, cURL-like tool for humans.
-HTTPie is a command line HTTP client. Its goal is to make CLI interaction
-with web services as human-friendly as possible. It provides a
-simple http command that allows for sending arbitrary HTTP requests using a
-simple and natural syntax, and displays colorized responses. HTTPie can be used
-for testing, debugging, and generally interacting with HTTP servers.
+HTTPie is a command line HTTP client. Its goal is to make CLI
+interaction with web services as human-friendly as possible. It
+provides a simple http command that allows for sending arbitrary HTTP
+requests using a simple and natural syntax, and displays colorized
+responses. HTTPie can be used for testing, debugging, and generally
+interacting with HTTP servers.
diff --git a/network/httpie/doinst.sh b/network/httpie/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/httpie/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/httpie/httpie.SlackBuild b/network/httpie/httpie.SlackBuild
index 78e0b1011a..5b6c73bef1 100644
--- a/network/httpie/httpie.SlackBuild
+++ b/network/httpie/httpie.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for httpie
+# Copyright 2024 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2023-2024 Juan M. Lasca <juanmlasca@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,70 +24,59 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=httpie
-VERSION=${VERSION:-1.0.3}
+VERSION=${VERSION:-3.2.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+# Thanks to Alan Alberghini for pointing this out
+SRCNAME=cli
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAME-$VERSION
+tar xvf $CWD/$SRCNAME-$VERSION.tar.gz
+cd $SRCNAME-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+mv $PKG/usr/share/man $PKG/usr/man
+rmdir $PKG/usr/share
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS.md LICENSE SECURITY.md CHANGELOG.md \
+ README.md CONTRIBUTING.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/httpie/httpie.info b/network/httpie/httpie.info
index 365feb7b8c..9be33bd6b4 100644
--- a/network/httpie/httpie.info
+++ b/network/httpie/httpie.info
@@ -1,10 +1,10 @@
PRGNAM="httpie"
-VERSION="1.0.3"
-HOMEPAGE="https://httpie.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/d5/a4/ab61c1dbfdef33c7b7f5f7df0d79eb5cd55a106601a4acc17f983f320b4a/httpie-1.0.3.tar.gz"
-MD5SUM="14bfec557e8c81a6cf0ec19140410965"
+VERSION="3.2.2"
+HOMEPAGE="https://httpie.io"
+DOWNLOAD="https://github.com/httpie/cli/archive/3.2.2/cli-3.2.2.tar.gz"
+MD5SUM="fd08e0001da0781a2f7038ea38ac8d08"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests Pygments"
+REQUIRES="python3-multidict python3-rich python3-defusedxml PySocks requests-toolbelt"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/httping/httping.SlackBuild b/network/httping/httping.SlackBuild
index 8ae0016fd5..83bb444a46 100644
--- a/network/httping/httping.SlackBuild
+++ b/network/httping/httping.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for httping
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=httping
VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/httptunnel/httptunnel.SlackBuild b/network/httptunnel/httptunnel.SlackBuild
index d6131bc49e..840afb6f9e 100644
--- a/network/httptunnel/httptunnel.SlackBuild
+++ b/network/httptunnel/httptunnel.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <httptunnel>
# Written by (sombriks) (sombriks at gmail dot com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=httptunnel
VERSION=${VERSION:-3.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/httrack/httrack.SlackBuild b/network/httrack/httrack.SlackBuild
index d5976ddd12..93c53952bc 100644
--- a/network/httrack/httrack.SlackBuild
+++ b/network/httrack/httrack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for httrack
# Copyright 2013 klaatu member.fsf.org
@@ -8,26 +8,36 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=httrack
-VERSION=${VERSION:-3.47.21}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.49.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -77,9 +87,11 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/httrack/httrack.info b/network/httrack/httrack.info
index 597ebcc033..07b38b7399 100644
--- a/network/httrack/httrack.info
+++ b/network/httrack/httrack.info
@@ -1,8 +1,8 @@
PRGNAM="httrack"
-VERSION="3.47.21"
+VERSION="3.49.2"
HOMEPAGE="http://www.httrack.com"
-DOWNLOAD="http://mirror.httrack.com/historical/httrack-3.47.21.tar.gz"
-MD5SUM="2296de7b3b0be24758d4bbea8c0ebb20"
+DOWNLOAD="http://mirror.httrack.com/historical/httrack-3.49.2.tar.gz"
+MD5SUM="1fd1ab9953432f0474a66b67a71d6381"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/hydra/hydra.SlackBuild b/network/hydra/hydra.SlackBuild
index 7ee41979d8..9808bbb91c 100644
--- a/network/hydra/hydra.SlackBuild
+++ b/network/hydra/hydra.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Hydra
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# Updated by Kent Fritz <fritz.kent@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hydra
-VERSION=${VERSION:-9.1}
+VERSION=${VERSION:-9.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,7 +69,7 @@ else
fi
./configure $CONFIG_OPTS --prefix=$PKG/usr
-make OPTS="-I. $SLKCFLAGS" $MAKE_OPTS
+make OPTS="-I. $SLKCFLAGS -fcommon" $MAKE_OPTS
mkdir -p $PKG/usr/etc
make install
@@ -87,7 +94,7 @@ fi
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE* README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES LICENSE* README $PKG/usr/doc/$PRGNAM-$VERSION
if [ "$XHYDRA" = "1" ]; then
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/hydra-gtk
cp -a hydra-gtk/COPYING hydra-gtk/INSTALL hydra-gtk/README \
@@ -102,4 +109,4 @@ if [ "$XHYDRA" = "1" ]; then
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hydra/hydra.info b/network/hydra/hydra.info
index 66f8d3e731..6ce60c725c 100644
--- a/network/hydra/hydra.info
+++ b/network/hydra/hydra.info
@@ -1,8 +1,8 @@
PRGNAM="hydra"
-VERSION="9.1"
+VERSION="9.4"
HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra"
-DOWNLOAD="https://github.com/vanhauser-thc/thc-hydra/archive/v9.1/thc-hydra-9.1.tar.gz"
-MD5SUM="7a2f54980ce44aff0cc047fb75751dba"
+DOWNLOAD="https://github.com/vanhauser-thc/thc-hydra/archive/v9.4/thc-hydra-9.4.tar.gz"
+MD5SUM="5486ece8f48c80fee8a5e9f6a295f4c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/hylafax+/hylafax+.SlackBuild b/network/hylafax+/hylafax+.SlackBuild
index 20fae73e6e..18465f759a 100644
--- a/network/hylafax+/hylafax+.SlackBuild
+++ b/network/hylafax+/hylafax+.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hylafax+
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hylafax+
SRCNAM=hylafax
-VERSION=${VERSION:-7.0.2}
+VERSION=${VERSION:-7.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -129,4 +139,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/hylafax+/hylafax+.info b/network/hylafax+/hylafax+.info
index fc8fd06607..fd7edd7862 100644
--- a/network/hylafax+/hylafax+.info
+++ b/network/hylafax+/hylafax+.info
@@ -1,8 +1,8 @@
PRGNAM="hylafax+"
-VERSION="7.0.2"
+VERSION="7.0.5"
HOMEPAGE="http://hylafax.sourceforge.net"
-DOWNLOAD="http://prdownloads.sourceforge.net/hylafax/hylafax-7.0.2.tar.gz"
-MD5SUM="b58793ab019aa1fe131557c14c35864e"
+DOWNLOAD="http://prdownloads.sourceforge.net/hylafax/hylafax-7.0.5.tar.gz"
+MD5SUM="ac8450d7aa8e5d6dd726e4d601702d69"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/hylafax/README b/network/hylafax/README
deleted file mode 100644
index ab92701ff5..0000000000
--- a/network/hylafax/README
+++ /dev/null
@@ -1,7 +0,0 @@
-HylaFAX is an enterprise-class system for sending and receiving
-facsimiles as well as for sending alpha-numeric pages.The software
-is designed around a client-server architecture. Fax modems may
-reside on a single machine on a network and clients can submit
-an outbound job from any other machine on the network.
-
-See /usr/doc/hylafax-6.0.2/README.SLACKWARE for configuration hints.
diff --git a/network/hylafax/README.SLACKWARE b/network/hylafax/README.SLACKWARE
deleted file mode 100644
index 10f1904c54..0000000000
--- a/network/hylafax/README.SLACKWARE
+++ /dev/null
@@ -1,27 +0,0 @@
-/usr/doc/hylafax-@VERSION@/README.SLACKWARE
-
-If you need to start hylafax at boot, add this to /etc/rc.d/rc.local:
-
- # Starting the HylaFAX hfaxd and faxq Daemons at Boot.
- if [ -x /etc/rc.d/rc.hylafax ]; then
- /etc/rc.d/rc.hylafax start
- fi
-
-Edit /etc/inittab and add a line similar to:
- m0:2345:respawn:/usr/libexec/hylafax/sbin/faxgetty ttyS0
-where 'm0' is unique in inittab and 'ttyS0' matches the device
-name(s) used at the outset of the faxaddmodem script.
-
-With root permissions, execute '/usr/sbin/faxsetup'.
-When finished, faxsetup will automatically run faxaddmodem for you.
-Generally, you can follow all of the defaults except those for FaxMaster,
-the local fax number(s), TSI, and any modem-specific information in
-faxaddmodem.
-
-It would be wise to run faxcron and faxqclean regularly from cron so that
-the queue directories do not clutter up and fill the storage device. Many
-installations run faxqclean every hour and faxcron every day. Insert
-something like this into your uucp or root crontab file:
- 0 * * * * /usr/sbin/faxqclean
- 0 0 * * * /usr/sbin/faxcron | mail -s "HylaFAX Usage Report" faxmaster
-
diff --git a/network/hylafax/config.local.in b/network/hylafax/config.local.in
deleted file mode 100644
index 20412e22fe..0000000000
--- a/network/hylafax/config.local.in
+++ /dev/null
@@ -1,255 +0,0 @@
-# $Id: config.site,v 1.24 2009/04/23 12:45:30 aidan Exp $
-#
-# HylaFAX Facsimile Software
-#
-# Copyright (c) 1990-1996 Sam Leffler
-# Copyright (c) 1991-1996 Silicon Graphics, Inc.
-# HylaFAX is a trademark of Silicon Graphics, Inc.
-#
-# Permission to use, copy, modify, distribute, and sell this software and
-# its documentation for any purpose is hereby granted without fee, provided
-# that (i) the above copyright notices and this permission notice appear in
-# all copies of the software and related documentation, and (ii) the names of
-# Sam Leffler and Silicon Graphics may not be used in any advertising or
-# publicity relating to the software without the specific, prior written
-# permission of Sam Leffler and Silicon Graphics.
-#
-# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
-# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-#
-# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
-# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
-# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
-# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
-# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
-# OF THIS SOFTWARE.
-#
-
-#
-# This file holds site-specific configuration parameters.
-#
-# Nothing is defined in here by default, the definitions
-# commented out below serve as documentation for what you
-# can set in this file or a config.local file.
-#
-# Note that you do not need to set anything here unless you
-# want to override the auto-configuration behaviour and/or
-# interactive prompting done by the configure script.
-#
-
-#
-# Package controls.
-#
-#DSO="auto" # configure DSO support (auto|IRIX|no)
-#GETTY="auto" # type of getty support (auto|BSD|SysV)
-#PS="auto" # PostScript support to use (auto|gs|dps|imp)
-#SGI2FAX="auto" # configure SGI image support (auto|yes|no)
-#DPS="no" # install SGI DPS-based RIP (yes|no)
-GS="no" # install Ghostscript RIP (yes|no)
-#IMP="no" # install SGI Impressario 2.1 support (yes|no)
-#REGEX="yes" # use distributed regular expression package
-#UTMP="utmpx" # type of utmp+wtmp handling (auto|utmp|utmpx)
-#NLS="auto" # enable NLS support (auto|yes|no)
-
-#
-# Directory parameters.
-#
-DIR_BIN="/usr/bin" # directory for client apps
-DIR_LIB="/usr/lib@LIBDIRSUFFIX@" # directory for libfaxserver, libfaxutil
-DIR_LIBDATA="/usr/lib@LIBDIRSUFFIX@/hylafax" # directory for client data
-DIR_LIBEXEC="/usr/libexec/hylafax" # directory for libraries&hidden apps
-DIR_LOCALE='/usr/share/locale'
-DIR_MAN="/usr/man" # directory for manual pages
-DIR_SPOOL="/var/spool/hylafax" # directory for spooling area
-DIR_SBIN="/usr/sbin" # directory for system apps
-#DIR_LOCKS="/usr/spool/locks" # directory for UUCP lock files
-#FONTMAP="/usr/share/ghostscript/3.33" # directorys containing Fontmap files
-#PATH_AFM="/usr/lib@LIBDIRSUFFIX@/DPS/AFM" # directorys for AFM files
-
-#
-# Miscellaneous parameters.
-#
-#DEFVRES="196" # default vertical res for outbound fax
-#FILLORDER="MS2LSB" # bit order of cpu (MSB2LSB/LSB2MSB)
-FAXGID="uucp" # group ID for fax user
-FAXUID="uucp" # user ID for fax user
-PAGESIZE="North American Letter" # default page size
-SYSGID="root" # group ID for system installs
-SYSUID="root" # user ID for system installs
-#LOCKS="ascii" # default UUCP lockfile scheme
-#
-#PATH_GETTY="/etc/getty" # pathname of suitable getty program
-#PATH_VGETTY="/bin/vgetty" # pathname of voice getty program
-#PATH_EGETTY="/bin/egetty" # pathname of external getty program
-#PATH_SENDMAIL="/usr/lib@LIBDIRSUFFIX@/sendmail" # pathname of suitable sendmail program
-PATH_GSRIP="/usr/bin/gs" # pathname of Ghostscript-based RIP
-#PATH_DPSRIP="/var/spool/hylafax/bin/ps2fax.exe" # pathname of DPS-based RIP
-#PATH_IMPRIP="/usr/lib@LIBDIRSUFFIX@/print/psrip" # pathname of Impressario 2.1 RIP
-#MANSCHEME="sysv-source-cat-strip" # manual page installation scheme
-SYSVINIT="auto" # install SysV-style init support (auto|yes|no)
-DIR_SYSVINIT="/etc/rc.d" # location of SysV-style init script
-DIR_SYSVINITSTART="/etc/rc.d" # location of SysV-style start script
-DIR_SYSVINITSTOP="/etc/rc.d" # location of SysV-style stop script
-NAME_SYSVINITSTART="rc.hylafax" # name of SysV-style start script
-NAME_SYSVINITSTOP="rc.hylafax" # name of SysV-style stop script
-FAXQ_SERVER=yes # init script starts faxq
-HFAXD_SERVER=yes # init script starts hfaxd
-HFAXD_SNPP_SERVER=no # don't start paging protocol
-
-# SVR4 packaging stuff
-#PKG_ARCH= # ARCH variable in pkginfo file
-#PKG_EMAIL=someone@somehost.somedomain # EMAIL variable in pkginfo file
-#PKG_VENDOR="Your Name Here" # VENDOR variable in pkginfo file
-#
-
-#
-# Parameters used when building the software.
-#
-# Note that configure has several ENVOPTS built into it that are
-# set according to the target. This is done to help naive folks.
-#
-# Beware of changing the INSTALL definition; you *must* have an
-# install script that emulates the Silicon Graphics install program!
-#
-#AR="/bin/ar" # pathname of suitable ar program
-#AROPTS="rc" # options to ar for creating archive
-#CC="gcc" # name/pathname of C compiler
-#CXX="gcc" # name/pathname of C++ compiler
-#CXXFILE="-x c++" # options for proper C++ processing
-#ENVOPTS="-Aa" # options for getting ANSI C
-#GCOPTS="-g" # options to pass C compiler
-#GCXXOPTS="-g" # options to pass C++ compiler
-#GENDIST="/sbin/gendist" # pathname of SGI inst generator program
-#INSTALL='${SHELL} ${PORT}/install.sh' # SGI install program/emulator
-#LIBMALLOC="auto" # yes|no|auto configure -lmalloc use
-#LIBPORT='${PORT}/libport.a' # library with emulation code
-#LIBSUN="auto" # yes|no|auto configure -lsun use
-#LLDOPTS="" # extra link line options
-#MACHDEPLIBS="" # extra libraries for linking
-#OPTIMIZER="-O" # optimizer flags
-#PORTFUNCS="" # non-standard functions to emulate
-#PROTOTYPES="-prototypes" # C compiler options for checking function prototypes
-#RANLIB=":" # pathname of suitable ranlib program
-#SHDLIBC="-lc_s" # shared C library, if not standard
-#SIGHANDLERTYPES='(void(*)(int,...))' # types to check for signal handler
-#STRIP="/bin/strip" # strip program used by install.sh
-
-#
-# The source for the TIFF library is not required
-# to build this software, but the library is required
-# to link against. If libtiff is installed in a
-# non-standard location then setup LIBTIFF accordingly.
-#
-LIBTIFF="-L/usr/lib@LIBDIRSUFFIX@ -ltiff" # linkage convention for libtiff
-TIFFINC="-I/usr/include" # place to find tiffio.h
-TIFFBIN="/usr/bin" # where TIFF tools live
-
-#
-# The source for the ZLIB library is not required
-# to build this software, but the library is required
-# to link against. If ZLIB is installed in a
-# non-standard location then setup LIBZ accordingly.
-#
-LIBZ="-L/usr/lib@LIBDIRSUFFIX@ -lz" # linkage convention for libz
-ZLIBINC="-I/usr/include" # place to find zlib.h
-
-#
-# The source for the POSIX regular expression package
-# is not required to build this software, but the package
-# is required to link against. If the copy of the software
-# that is included in this distribution is not to be used
-# then set REGEX=no and supply the following definitions.
-#
-#LIBREGEX="" # linkage convention for regex package
-#REGEXINC="-I/usr/include" # place to find regex.h
-
-#
-# NLS (gettext) library support is used by default if it's found
-# xgettext is not required to build this software, but if you try
-# and rebuild the message template catalogs, you will need it. Some
-# platforms may need extra options to link for libintl as well.
-#
-INTLINC="-I/usr/include"
-#LIBINTL="" # configure will try LIBINTL="-lintl"
-#XGETTEXT="xgettext --foreign-user -ctranslator --no-wrap --sort-by-file --omit-header --strict --indent --force-po"
-#MSGMERGE="msgmerge --no-wrap --sort-by-file"
-#MSGFMT=msgfmt
-#MSGCAT=msgcat
-
-#
-# Parameters to control various workarounds for system bugs.
-#
-# These parameters are normally set in configure based on
-# the target system. If they are set here, then they will
-# override anything done by configure.
-#
-#CONFIG_OPENFIFO="O_RDONLY" # mode to open FIFOs in server proc's
-#CONFIG_FIFOBUG="yes" # enable workaround for FIFO select bug
-#CONFIG_TIOCMBISBYREF="yes" # pass arg by reference to ioctl
-#CONFIG_WINSZHACK="no" # include extra files for TIOCWINSZ use
-#CONFIG_ABORTBUG="no" # enable workaround for abort problems
-#CONFIG_NOREOPEN="yes" # reopen tty device after toggling DTR
-#CONFIG_NOSTDINDUP="yes" # do not redirect stdout to stdin in ondelay
-#CONFIG_BADEXECVPROTO="no" # system has incorrect execv func decl
-#CONFIG_BADEXECVEPROTO="no" # system has incorrect execve func decl
-#CONFIG_BADGETOPTPROTO="no" # system has incorrect getopt func decl
-#CONFIG_SOCKARGLENTYPE="unsigned long" # call-by-ref arg type for socket funcs
-#CONFIG_BADSELECTPROTO="no" # system has way old select func decl
-#CONFIG_MAXGID="5999" # maximum permissable GID
-#CONFIG_OSFCNH="auto" # control inclusion of <osfcn.h>
-
-#
-# Dynamic Shared Object (DSO) support.
-#
-# Beware that adding new support for DSOs may require some
-# modifications to the */Makefile.dso files.
-#
-#DSOSUF="so" # DSO filename suffix
-#DSODELAY="-delay_load" # DSO option for delayed loading
-#DSOOPTS="-shared -rdata_shared" # options for building DSOs
-
-#
-# Makefile construction parameters.
-#
-# These should not normally be set; configure will
-# deduce the appropriate syntax to use for includes.
-#
-#MAKECXXOVERRIDE="=.C" # make override stuff for SunPRO C++
-#MAKEDEPINCLUDE="include" # make include for dependency files
-#MAKEDSOINCLUDE="#" # make include for DSO support
-#MAKEINCLUDE=".include" # make include syntax
-#MAKELQUOTE="<" # make include syntax
-#MAKERQUOTE=">" # make include syntax
-#SETMAKE='MAKE = ${MAKE}' # define if make does not setup $MAKE
-#MKDEPCOPTS="" # C compiler opts to supply w/ -M
-#MKDEPCXXOPTS="" # C++ compiler opts to supply w/ -M
-
-#
-# General system stuff used by the distribution.
-#
-# Beware of setting these as configure selects several programs
-# based on whether or not they are capable of processing scripts
-# included in the distribution (e.g AWK and SCRIPT_SH, SED).
-#
-#AWK="/bin/awk" # pathname of suitable awk program
-#CAT="/bin/cat" # pathname of suitable cat program
-#CHGRP="/etc/chgrp" # pathname of suitable chgrp program
-#CHMOD="/etc/chmod" # pathname of suitable chmod program
-#CHOWN="/etc/chown" # pathname of suitable chown program
-#CMP="/bin/cmp" # pathname of suitable cmp program
-#COL="/bin/col" # pathname of suitable col program
-#CP="/bin/cp" # pathname of suitable cp program
-#ECHO="/bin/echo" # pathname of suitable echo program
-#GREP="/bin/grep" # pathname of suitable grep program
-#LN="/bin/ln" # pathname of suitable ln program
-#LN_S="-s" # option to ${LN} to create symlink
-#MAN="/usr/bin/man" # pathname of suitable man program
-MKDIR="/bin/mkdir -p" # pathname of suitable mkdir program
-#MKFIFO="/bin/mkfifo" # pathname of suitable mkfifo program
-#MV="/bin/mv" # pathname of suitable mv program
-#MV_F="-f" # option to ${MV} to force operation
-#RMCMD="/bin/rm" # pathname of suitable rm program
-#SED="/bin/sed" # pathname of suitable sed program
-#SCRIPT_SH="/bin/sh" # pathname of suitable shell
-#SORT="/bin/sort" # pathname of suitable sort program
diff --git a/network/hylafax/doinst.sh b/network/hylafax/doinst.sh
deleted file mode 100644
index 33d3c9deca..0000000000
--- a/network/hylafax/doinst.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-config() {
- NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
-
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.hylafax.new:
-if [ -e etc/rc.d/rc.hylafax ]; then
- cp -a etc/rc.d/rc.hylafax etc/rc.d/rc.hylafax.new.incoming
- cat etc/rc.d/rc.hylafax.new > etc/rc.d/rc.hylafax.new.incoming
- mv etc/rc.d/rc.hylafax.new.incoming etc/rc.d/rc.hylafax.new
-else
- # Install executable otherwise - irrelevant unless user starts in rc.local
- chmod 0755 etc/rc.d/rc.hylafax.new
-fi
-
-config etc/rc.d/rc.hylafax.new
-config var/spool/hylafax/etc/dialrules.new
-config var/spool/hylafax/etc/dialrules.europe.new
-config var/spool/hylafax/etc/dialrules.sf-ba.new
-config var/spool/hylafax/etc/dpsprinter.ps.new
-config var/spool/hylafax/etc/hosts.hfaxd.new
-
-# We warn about needed configuration to the /etc/inittab file.
-printf "\nThe following line will need be added to your /etc/inittab:
-please check if it is the correct tty device for the modem,
-and if not, change it to the correct one.
- m0:23:respawn:/usr/libexec/hylafax/faxgetty ttyS0\n\n"
-# Hylafax faxgetty activation
-
diff --git a/network/hylafax/hylafax.SlackBuild b/network/hylafax/hylafax.SlackBuild
deleted file mode 100644
index f2663427e6..0000000000
--- a/network/hylafax/hylafax.SlackBuild
+++ /dev/null
@@ -1,126 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for hylafax
-
-# Copyright 2007-2010 David Somero (dsomero@hotmail.com) Athens,TN USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# 2007.08.07
-# Alan Hicks <alan@lizella.net>
-# General script clean-up and minor improvements
-
-PRGNAM=hylafax
-VERSION=${VERSION:-6.0.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Copy our source for the correct configuration
-sed "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" \
- < $CWD/config.local.in \
- > $TMP/$PRGNAM-$VERSION/config.local
-
-# strip missing header to prevent failure with GCC 4.5.
-sed -i -e 's|libc\.h ||' configure
-sed -i -e "s|-fpic|-fPIC|g" configure
-
-CFLAGS="${SLKCFLAGS}" \
-CXXFLAGS="${SLKCFLAGS}" \
-./configure \
- --target=$ARCH-slackware-linux \
- --nointeractive \
- --disable-pam \
- --with-optmizer=${CFLAGS}
-
-make
-mkdir -p $PKG/etc/rc.d
-make install ROOT=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mv $PKG/etc/rc.d/hylafax $PKG/etc/rc.d/rc.hylafax.new
-( cd $PKG/var/spool/hylafax/etc
- mv dialrules dialrules.new
- mv dialrules.europe dialrules.europe.new
- mv dialrules.sf-ba dialrules.sf-ba.new
- mv dpsprinter.ps dpsprinter.ps.new
- mv hosts.hfaxd hosts.hfaxd.new
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- INSTALL COPYRIGHT CONTRIBUTORS README TODO VERSION doc/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-sed "s%@VERSION@%$VERSION%g" $CWD/README.SLACKWARE > \
- $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chmod -R a-w $PKG/usr/doc/$PRGNAM-$VERSION/*
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/hylafax/hylafax.info b/network/hylafax/hylafax.info
deleted file mode 100644
index 9734af6486..0000000000
--- a/network/hylafax/hylafax.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hylafax"
-VERSION="6.0.6"
-HOMEPAGE="http://www.hylafax.org"
-DOWNLOAD="ftp://ftp.hylafax.org/source/hylafax-6.0.6.tar.gz"
-MD5SUM="d063d45049c8fcbabefe09d662313067"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Somero"
-EMAIL="dsomero@hotmail.com"
diff --git a/network/hylafax/slack-desc b/network/hylafax/slack-desc
deleted file mode 100644
index 718ce285f5..0000000000
--- a/network/hylafax/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-hylafax: hylafax (enterprise-class fax system)
-hylafax:
-hylafax: HylaFAX+
-hylafax: Making the Premier Open-Source Fax Management System Even Better
-hylafax: HylaFAX is an enterprise-class system for sending and receiving
-hylafax: facsimiles as well as for sending alpha-numeric pages.
-hylafax:
-hylafax: If you expect to send more than a few facsimiles a day,
-hylafax: then HylaFAX is the fax package for you!
-hylafax:
-hylafax:
diff --git a/network/i2pd/i2pd.SlackBuild b/network/i2pd/i2pd.SlackBuild
index 88d3563f2e..3b3307f009 100644
--- a/network/i2pd/i2pd.SlackBuild
+++ b/network/i2pd/i2pd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for i2pd
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=i2pd
-VERSION=${VERSION:-2.36.0}
+VERSION=${VERSION:-2.48.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,7 +98,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE README.md docs/ \
+cp -a ChangeLog LICENSE README.md contrib/certificates/ contrib/tunnels.d/ \
+ contrib/i2pd.conf contrib/tunnels.conf contrib/subscriptions.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -delete
@@ -98,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/i2pd/i2pd.info b/network/i2pd/i2pd.info
index 4aa9e18f1d..197490feb6 100644
--- a/network/i2pd/i2pd.info
+++ b/network/i2pd/i2pd.info
@@ -1,10 +1,10 @@
PRGNAM="i2pd"
-VERSION="2.36.0"
+VERSION="2.48.0"
HOMEPAGE="http://i2pd.website/"
-DOWNLOAD="https://github.com/PurpleI2P/i2pd/archive/2.36.0/i2pd-2.36.0.tar.gz"
-MD5SUM="2117f8da160be6fe332184a4fb58aa20"
+DOWNLOAD="https://github.com/PurpleI2P/i2pd/archive/2.48.0/i2pd-2.48.0.tar.gz"
+MD5SUM="392dfcedbd2492ab3a62e49e595e2a5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="shelldweller"
-EMAIL="shelldweller@beauxbead.com"
+MAINTAINER="Markus Reichelt"
+EMAIL="slackbuilds@mareichelt.de"
diff --git a/network/icbm/README b/network/icbm/README
new file mode 100644
index 0000000000..6b4150be75
--- /dev/null
+++ b/network/icbm/README
@@ -0,0 +1,15 @@
+icbm (extensible threaded ICB client in Perl)
+
+ICB (Internet CB) is a teleconferencing system that allows Internet
+users to participate in realtime online discussions (similar to IRC).
+
+ICBM is a threaded ICB client written in Perl5 which supports a
+superset of the functionality of CICB (the ICB C Client, the de facto
+standard ICB client). This allows ICBM to be readily extended to
+support many features that CICB does not, and to gracefully do a
+number of things that CICB does poorly if at all.
+
+Note: in some terminals (e.g. urxvt), when icbm exits, it will
+leave the terminal in a state where the backspace key prints "^?"
+rather than backspacing. You can fix this with "stty erase ^?".
+Other terminals (e.g. xterm) don't have this problem.
diff --git a/network/icbm/doinst.sh b/network/icbm/doinst.sh
new file mode 100644
index 0000000000..0730667f7b
--- /dev/null
+++ b/network/icbm/doinst.sh
@@ -0,0 +1,11 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+config usr/share/icb/icbserverdb.new
diff --git a/network/icbm/icbm.SlackBuild b/network/icbm/icbm.SlackBuild
new file mode 100644
index 0000000000..a5635b0034
--- /dev/null
+++ b/network/icbm/icbm.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+# Slackware build script for icbm
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note to self: tarballs with versioned filenames do exist, but the
+# link on the homepage is always icbm-current.tar.gz (presumably a
+# symlink). To check for updated versions, look at the the top of:
+# https://co.ordinate.org/icbm/Changelog
+
+# The crypto modules are actually optional: icbm will run without
+# them, with encryption disabled. I've made them required here, to
+# keep things simpler for me (and easier for users, too). If you
+# really object to this, just don't install them (you still need
+# perl-Curses, though).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=icbm
+VERSION=${VERSION:-1.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+# tarball perms suck, leave this as-is:
+chmod 644 *
+
+SHAREDIR=$PKG/usr/share/icb
+BINDIR=$PKG/usr/bin
+MANDIR=$PKG/usr/man/man1
+
+# There's no Makefile or install script, follow the directions
+# in INSTALL.
+# Note that icbserverdb is different from the one that ships
+# with cicb (some of the same servers listed, but the cicb one
+# has an extra 'server admin' field).
+mkdir -p $SHAREDIR/Net $BINDIR $MANDIR
+cp -a primes $SHAREDIR
+cp -a icbserverdb $SHAREDIR/icbserverdb.new
+cp -a ICB.pm $SHAREDIR/Net
+install -m0755 icbm $BINDIR
+gzip -9c < icbm.1 > $MANDIR/icbm.1.gz
+
+# BUGS is 0 bytes in 1.6.0. README.ICBM is actually troff, it's the
+# man page for an older version.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a Changelog README.ENCRYPTION TODO gpl.txt sample_* colors $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/icbm/icbm.info b/network/icbm/icbm.info
new file mode 100644
index 0000000000..adc0656dc2
--- /dev/null
+++ b/network/icbm/icbm.info
@@ -0,0 +1,10 @@
+PRGNAM="icbm"
+VERSION="1.6.0"
+HOMEPAGE="https://co.ordinate.org/icbm/"
+DOWNLOAD="https://co.ordinate.org/icbm/icbm-1.6.0.tar.gz"
+MD5SUM="102801deeef49b8289153eedfbf046bc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="perl-Curses perl-Crypt-Blowfish perl-Crypt-CBC perl-digest-sha1 perl-Math-BigInt-GMP perl-crypt-dh-gmp"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/icbm/slack-desc b/network/icbm/slack-desc
new file mode 100644
index 0000000000..210f04b79a
--- /dev/null
+++ b/network/icbm/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+icbm: icbm (extensible threaded ICB client in Perl)
+icbm:
+icbm: ICB (Internet CB) is a teleconferencing system that allows Internet
+icbm: users to participate in realtime online discussions (similar to IRC).
+icbm:
+icbm: ICBM is a threaded ICB client written in Perl5 which supports a
+icbm: superset of the functionality of CICB (the ICB C Client, the de facto
+icbm: standard ICB client). This allows ICBM to be readily extended to
+icbm: support many features that CICB does not, and to gracefully do a
+icbm: number of things that CICB does poorly if at all.
+icbm:
diff --git a/network/icecat/icecat.SlackBuild b/network/icecat/icecat.SlackBuild
index 5d53df4b7a..c9f396ae52 100644
--- a/network/icecat/icecat.SlackBuild
+++ b/network/icecat/icecat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icecat
# Written by David Negroni <dnegroni.italy@gmail.com>
@@ -24,37 +24,45 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="icecat"
VERSION=${VERSION:-60.7.0}
RELEASEVER="$VERSION"
RELEASEVERMAJ=$(echo $RELEASEVER | cut -f 1 -d .)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
+if [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "$ARCH not supported."
+ exit 1
fi
set -e
@@ -108,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/icinga2/README b/network/icinga2/README
index 7725296835..68c9656f65 100644
--- a/network/icinga2/README
+++ b/network/icinga2/README
@@ -1,9 +1,10 @@
icinga2 (Network resource monitoring system)
-Icinga 2 is an open source monitoring system which checks the availability of
-your network resources, notifies users of outages, and generates performance
-data for reporting. Scalable and extensible, Icinga 2 can monitor large,
-complex environments across multiple locations.
+Icinga 2 is an open source monitoring system which checks the
+availability of your network resources, notifies users of outages, and
+generates performance data for reporting. Scalable and extensible,
+Icinga 2 can monitor large, complex environments across multiple
+locations.
MySQL presence on the build system will be auto detected, disable with:
diff --git a/network/icinga2/icinga2.SlackBuild b/network/icinga2/icinga2.SlackBuild
index 269b98fd10..60f0020967 100644
--- a/network/icinga2/icinga2.SlackBuild
+++ b/network/icinga2/icinga2.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icinga2
-# Copyright 2015 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2022 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icinga2
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.13.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -151,7 +161,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL.md $CWD/README.SLACKWARE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG.md CONTRIBUTING.md COPYING NEWS README.md RELEASE.md $CWD/README.SLACKWARE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -159,4 +169,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/icinga2/icinga2.info b/network/icinga2/icinga2.info
index cf3794b5fa..917fb00c12 100644
--- a/network/icinga2/icinga2.info
+++ b/network/icinga2/icinga2.info
@@ -1,8 +1,8 @@
PRGNAM="icinga2"
-VERSION="2.4.0"
-HOMEPAGE="https://www.icinga.org/"
-DOWNLOAD="https://github.com/Icinga/icinga2/archive/v2.4.0.tar.gz"
-MD5SUM="fba998d5da10f95c512ac3e41616c264"
+VERSION="2.13.3"
+HOMEPAGE="https://www.icinga.com/"
+DOWNLOAD="https://github.com/Icinga/icinga2/archive/v2.13.3/icinga2-2.13.3.tar.gz"
+MD5SUM="e39b6c9046947993bf6e215b8842f7e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yajl"
diff --git a/network/icinga2/slack-desc b/network/icinga2/slack-desc
index 1d78b8bc78..5bab099781 100644
--- a/network/icinga2/slack-desc
+++ b/network/icinga2/slack-desc
@@ -14,6 +14,6 @@ icinga2: and generates performance data for reporting.
icinga2: Scalable and extensible, Icinga 2 can monitor large, complex
icinga2: environments across multiple locations.
icinga2:
-icinga2: Homepage: http://www.icinga.org/
+icinga2: Homepage: https://www.icinga.com/
icinga2:
icinga2:
diff --git a/network/icyque/README b/network/icyque/README
index 1bbf8c250b..a7322c76d4 100644
--- a/network/icyque/README
+++ b/network/icyque/README
@@ -1,8 +1,4 @@
-icyque
-
-ICQ WIM protocol for libpurple
-
-Setup
+icyque IICQ WIM protocol for libpurple)
If you're switching to IcyQue from the built-in ICQ plugin, you'll
need to restart Pidgin and then edit your existing account (or create a
diff --git a/network/icyque/icyque.SlackBuild b/network/icyque/icyque.SlackBuild
index 84350557a0..e793215c65 100644
--- a/network/icyque/icyque.SlackBuild
+++ b/network/icyque/icyque.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for icyque
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icyque
-VERSION=${VERSION:-20200618_4fc08a0}
+VERSION=${VERSION:-20220630_78b90a4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ fi
GITVER="$( echo $VERSION | cut -d_ -f2 )"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/icyque/icyque.info b/network/icyque/icyque.info
index 30e1ba8a43..6c8e288100 100644
--- a/network/icyque/icyque.info
+++ b/network/icyque/icyque.info
@@ -1,10 +1,10 @@
PRGNAM="icyque"
-VERSION="20200618_4fc08a0"
+VERSION="20220630_78b90a4"
HOMEPAGE="https://github.com/EionRobb/icyque/"
-DOWNLOAD="https://github.com/EionRobb/icyque/archive/4fc08a09f2824bd039089fa54cbabf6be2221707/icyque-4fc08a09f2824bd039089fa54cbabf6be2221707.tar.gz"
-MD5SUM="8d1cd5cc28b78d5f44615791f3994600"
+DOWNLOAD="https://github.com/EionRobb/icyque/archive/78b90a46196d5b6ef5b1727d8139a5fdeea690bb/icyque-78b90a46196d5b6ef5b1727d8139a5fdeea690bb.tar.gz"
+MD5SUM="28af58da4e0a1fc35ab7ac1c6948c8a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib"
+REQUIRES=""
MAINTAINER="David Melik"
EMAIL="dchmelik@gmail.com"
diff --git a/network/identicurse/README b/network/identicurse/README
index 924d1ef0c8..1bfc0f4cf8 100644
--- a/network/identicurse/README
+++ b/network/identicurse/README
@@ -1,2 +1,3 @@
-IdentiCurse is a simple but powerful Identi.ca client with a curses-based
-UI, currently developed by @reality and @psquid (see http://identi.ca).
+IdentiCurse is a simple but powerful Identi.ca client with a
+curses-based UI, currently developed by @reality and @psquid (see
+http://identi.ca).
diff --git a/network/identicurse/identicurse.SlackBuild b/network/identicurse/identicurse.SlackBuild
index e814824f72..add011c075 100644
--- a/network/identicurse/identicurse.SlackBuild
+++ b/network/identicurse/identicurse.SlackBuild
@@ -1,32 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for identicurse
# Written by Andrew Conway <nalumc[at]gmail[dot]com>
# Based on dateutil slackbuild by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=identicurse
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
#VERSIONMIN=3a
#SRCVERSION=$(echo $VERSION | cut -f1-2 -d.)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
@@ -77,4 +87,4 @@ mv $PKG/usr/identicurse/config.json $PKG/usr/identicurse/README \
rmdir $PKG/usr/identicurse
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ifplugd/README b/network/ifplugd/README
new file mode 100644
index 0000000000..a5e13017c4
--- /dev/null
+++ b/network/ifplugd/README
@@ -0,0 +1,22 @@
+ifplugd is a Linux daemon that can monitor network interfaces
+for a change in state (i.e. up or down) then trigger custom
+actions or scripts based on the change.
+
+This could be useful in a number of situations.
+For example where the network is configured manually
+(no NetworkManager etc), and you wish to reconfigure your
+network settings when an ethernet cable is connected
+and then deconfigure those same settings when the cable is
+disconnected.
+
+To change which interfaces are monitored by default, and
+the general start up options, edit "/etc/ifplugd/ifplugd.conf".
+Actions can be added/changed by editing "/etc/ifplugd/ifplugd.action".
+
+To make ifplugd auto start on boot.
+First run "chmod 644 /etc/rc.d/rc.ifplugd"
+Then add the following to the end of your "/etc/rc.local" file:
+
+if [ -x /etc/rc.d/rc.ifplugd ]; then
+ sh /etc/rc.d/rc.ifplugd start || /bin/true
+fi
diff --git a/network/ifplugd/doinst.sh b/network/ifplugd/doinst.sh
new file mode 100644
index 0000000000..ff6f992fef
--- /dev/null
+++ b/network/ifplugd/doinst.sh
@@ -0,0 +1,24 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.ifplugd.new
+config etc/ifplugd/ifplugd.conf.new
+config etc/ifplugd/ifplugd.action.new
diff --git a/network/ifplugd/ifplugd-0.28-interface.patch b/network/ifplugd/ifplugd-0.28-interface.patch
new file mode 100644
index 0000000000..9c2de464bb
--- /dev/null
+++ b/network/ifplugd/ifplugd-0.28-interface.patch
@@ -0,0 +1,13 @@
+--- src/interface.c 2004/12/19 00:08:01 114
++++ src/interface.c 2006/03/07 13:15:11 133
+@@ -22,9 +22,9 @@
+ #include <config.h>
+ #endif
+
++#include <sys/types.h>
+ #include <linux/sockios.h>
+ #include <linux/if_ether.h>
+-#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/ioctl.h>
+ #include <linux/if.h>
diff --git a/network/ifplugd/ifplugd-action-slackware.patch b/network/ifplugd/ifplugd-action-slackware.patch
new file mode 100644
index 0000000000..80aeecf803
--- /dev/null
+++ b/network/ifplugd/ifplugd-action-slackware.patch
@@ -0,0 +1,18 @@
+--- conf/ifplugd.action 2022-10-21 04:32:02.560985145 +1100
++++ conf/ifplugd.action 2022-10-21 04:37:32.173998517 +1100
+@@ -24,7 +24,13 @@
+ exit 1
+ fi
+
+-[ "$2" = "up" ] && exec /sbin/ifup $1
+-[ "$2" = "down" ] && exec /sbin/ifdown $1
++# Place custom actions/commands/scripts below. The interface is passed
++# through "$1", and the state of interface is passed via "$2".
++# i.e. if [ "$1" = "eth0" ] && [ "$2" = "down" ]; then
++
++# This script originally used ifup and ifdown which Slackware does
++# not include by default. i.e. -
++#[ "$2" = "up" ] && exec /sbin/ifup $1
++#[ "$2" = "down" ] && exec /sbin/ifdown $1
+
+ exit 1
diff --git a/network/ifplugd/ifplugd-fix-return-value.patch b/network/ifplugd/ifplugd-fix-return-value.patch
new file mode 100644
index 0000000000..1b7d04af63
--- /dev/null
+++ b/network/ifplugd/ifplugd-fix-return-value.patch
@@ -0,0 +1,12 @@
+diff -Nur ifplugd-0.28.orig/src/ifplugd.c ifplugd-0.28/src/ifplugd.c
+--- ifplugd-0.28.orig/src/ifplugd.c 2005-06-04 21:21:51.000000000 +0200
++++ ifplugd-0.28/src/ifplugd.c 2012-08-29 21:51:53.137644163 +0200
+@@ -447,7 +447,7 @@
+ goto finish;
+
+ if (send_retval && daemonize && wait_on_fork) {
+- char c = status == IFSTATUS_UP ? 2 : (status == IFSTATUS_DOWN ? 3 : 1);
++ char c = status == IFSTATUS_UP ? 1 : (status == IFSTATUS_DOWN ? 2 : 3);
+ daemon_retval_send(c);
+ send_retval = 0;
+ }
diff --git a/network/ifplugd/ifplugd.SlackBuild b/network/ifplugd/ifplugd.SlackBuild
new file mode 100644
index 0000000000..fc26b7f7fb
--- /dev/null
+++ b/network/ifplugd/ifplugd.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for ifplugd
+
+# Copyright 2022 Anj Duvnjak
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ifplugd
+VERSION=${VERSION:-0.28}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Process patches - credits to Arch Linux for the first two
+patch -p1 < $CWD/ifplugd-fix-return-value.patch
+patch -p0 < $CWD/ifplugd-0.28-interface.patch
+patch -p0 < $CWD/ifplugd-action-slackware.patch
+
+CFLAGS="$SLKCFLAGS -fcommon" \
+CXXFLAGS="$SLKCFLAGS -fcommon" \
+./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --with-initdir=/etc/rc.d \
+ --disable-xmltoman \
+ --disable-subversion \
+ --disable-lynx \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README doc/SUPPORTED_DRIVERS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/etc/ifplugd/ifplugd.action $PKG/etc/ifplugd/ifplugd.action.new
+mv $PKG/etc/ifplugd/ifplugd.conf $PKG/etc/ifplugd/ifplugd.conf.new
+mv $PKG/etc/rc.d/ifplugd $PKG/etc/rc.d/rc.ifplugd.new
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ifplugd/ifplugd.info b/network/ifplugd/ifplugd.info
new file mode 100644
index 0000000000..be4aeb31df
--- /dev/null
+++ b/network/ifplugd/ifplugd.info
@@ -0,0 +1,10 @@
+PRGNAM="ifplugd"
+VERSION="0.28"
+HOMEPAGE="http://0pointer.de/lennart/projects/ifplugd"
+DOWNLOAD="http://0pointer.de/lennart/projects/ifplugd/ifplugd-0.28.tar.gz"
+MD5SUM="df6f4bab52f46ffd6eb1f5912d4ccee3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libdaemon"
+MAINTAINER="Anj Duvnjak"
+EMAIL="alvind11@hotmail.com"
diff --git a/network/ifplugd/slack-desc b/network/ifplugd/slack-desc
new file mode 100644
index 0000000000..51d1cb91b3
--- /dev/null
+++ b/network/ifplugd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ifplugd: ifplugd (daemon to reconfig network iface upon connect/disconnect)
+ifplugd:
+ifplugd: ifplugd is a Linux daemon which will automatically configure your
+ifplugd: ethernet device when a cable is plugged in and automatically
+ifplugd: unconfigure it if the cable is pulled. This is useful on laptops
+ifplugd: with onboard network adapters, since it will only configure the
+ifplugd: interface when a cable is really connected.
+ifplugd:
+ifplugd: ifplugd can interface with your distributions native network
+ifplugd: configuration utilities.
+ifplugd:
diff --git a/network/ifstatus/README b/network/ifstatus/README
deleted file mode 100644
index 9dead8790d..0000000000
--- a/network/ifstatus/README
+++ /dev/null
@@ -1,10 +0,0 @@
-IFStatus was developed for Linux users that are usually in console mode.
-It is a simple, easy to use program for displaying commonly needed / wanted
-statistcs in real time about ingoing and outgoing traffic of multiple network
-interfaces that is usually hard to find, with a simple and effecient view.
-
-The configuration file for IFStatus is automatically created in
-~/.ifstatus/ifstatus.cfg
-
-Please read http://ifstatus.sourceforge.net/graphic/informations.html
-for information on various configuration options.
diff --git a/network/ifstatus/ifstatus.SlackBuild b/network/ifstatus/ifstatus.SlackBuild
deleted file mode 100644
index 135ee6b9e8..0000000000
--- a/network/ifstatus/ifstatus.SlackBuild
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cgdb
-
-# Copyright 2009-2010 Sean Donner (sean.donner@gmail.com)
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ifstatus
-VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-
-# 'v' needed due to poor tarball naming
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
-
-cd $PRGNAM
-chown root:root . -R
-
-# This will not compile on gcc 4.3 or 4.4 without patch,
-# as all .cc files are missing '#include <cstdlib>'
-patch -p1 < $CWD/ifstatus.patch
-
-make \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS"
-
-# We can't use the 'install' target in the Makefile as it
-# hardcodes the destination directory to /usr/local/bin
-install -D -m 0755 ./ifstatus $PKG/usr/bin/ifstatus
-strip --strip-unneeded $PKG/usr/bin/ifstatus
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ifstatus/ifstatus.info b/network/ifstatus/ifstatus.info
deleted file mode 100644
index f4021d55cc..0000000000
--- a/network/ifstatus/ifstatus.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ifstatus"
-VERSION="1.1.0"
-HOMEPAGE="http://ifstatus.sourceforge.net"
-DOWNLOAD="http://ifstatus.sourceforge.net/download/ifstatus-v1.1.0.tar.gz"
-MD5SUM="f4d413f880754fd6677290160f8bc5d7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Sean Donner"
-EMAIL="sean.donner@gmail.com"
diff --git a/network/ifstatus/ifstatus.patch b/network/ifstatus/ifstatus.patch
deleted file mode 100644
index 75bc3befd5..0000000000
--- a/network/ifstatus/ifstatus.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-Patch by Robert Scheck <robert@fedoraproject.org> for ifstatus >= 1.1.0,
-which adds a few missing #include lines to not violate the C++ standards
-and to build successfully with G++ version 4.3 and 4.4.
-
---- ifstatus/IFStatus.cc 2006-01-17 00:18:46.000000000 +0100
-+++ ifstatus/IFStatus.cc.gcc44 2009-04-14 00:42:04.000000000 +0200
-@@ -22,6 +22,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <cstdlib>
- #include "Main.h"
- #include "IFStatus.h"
- #include "Graph.h"
---- ifstatus/GraphDecorator.cc 2006-01-17 01:00:59.000000000 +0100
-+++ ifstatus/GraphDecorator.cc.gcc44 2009-04-14 00:41:38.000000000 +0200
-@@ -21,7 +21,8 @@
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
--
-+
-+#include <cstdlib>
- #include "GraphDecorator.h"
- #include "Config.h"
-
---- ifstatus/Interface.cc 2006-01-17 02:48:27.000000000 +0100
-+++ ifstatus/Interface.cc.gcc44 2009-04-14 00:42:23.000000000 +0200
-@@ -22,6 +22,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <cstdlib>
- #include "Interface.h"
- #include "Config.h"
-
---- ifstatus/Config.cc 2005-02-26 12:54:51.000000000 +0100
-+++ ifstatus/Config.cc.gcc44 2009-04-14 00:40:13.000000000 +0200
-@@ -22,6 +22,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <cstdlib>
- #include "Main.h"
- #include "Config.h"
- #include "Util.h"
---- ifstatus/Email.cc 2005-02-26 12:54:51.000000000 +0100
-+++ ifstatus/Email.cc.gcc44 2009-04-14 00:40:44.000000000 +0200
-@@ -22,6 +22,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <cstdlib>
- #include "Email.h"
- #include "Config.h"
-
---- ifstatus/Interfaces.cc 2006-01-16 23:45:33.000000000 +0100
-+++ ifstatus/Interfaces.cc.gcc44 2009-04-14 00:42:45.000000000 +0200
-@@ -22,6 +22,7 @@
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+#include <cstdlib>
- #include "Interfaces.h"
- #include "Config.h"
- #include "Util.h"
diff --git a/network/ifstatus/slack-desc b/network/ifstatus/slack-desc
deleted file mode 100644
index a0f087dfc8..0000000000
--- a/network/ifstatus/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ifstatus: ifstatus (A curses network traffic monitor)
-ifstatus:
-ifstatus: IFStatus was developed for Linux users that are usually in console
-ifstatus: mode. It is a simple, easy to use program for displaying commonly
-ifstatus: needed / wanted statistcs in real time about ingoing and outgoing
-ifstatus: traffic of multiple network interfaces that is usually hard to find,
-ifstatus: with a simple and effecient view.
-ifstatus:
-ifstatus:
-ifstatus:
-ifstatus:
diff --git a/network/igmpproxy/igmpproxy.SlackBuild b/network/igmpproxy/igmpproxy.SlackBuild
index 5ce8489dbe..fa90120c69 100644
--- a/network/igmpproxy/igmpproxy.SlackBuild
+++ b/network/igmpproxy/igmpproxy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for igmpproxy
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=igmpproxy
VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -104,4 +114,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ii/ii.SlackBuild b/network/ii/ii.SlackBuild
index 9253398b67..f9052a920e 100644
--- a/network/ii/ii.SlackBuild
+++ b/network/ii/ii.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ii
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ii
VERSION=${VERSION:-1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ike/README b/network/ike/README
deleted file mode 100644
index 837e9bd481..0000000000
--- a/network/ike/README
+++ /dev/null
@@ -1,10 +0,0 @@
-The Shrew Soft VPN Client for Linux and BSD (ike) is an IPsec Client for
-FreeBSD, NetBSD and many Linux based operating systems.
-
-This version is distributed under an OSI approved open source license and
-is hosted in a public subversion repository.
-
-It supports most of the features available in the Windows VPN Client version
-with the exception of those which are not cross platform compatible.
-
-
diff --git a/network/ike/doinst.sh b/network/ike/doinst.sh
deleted file mode 100644
index e4e6459838..0000000000
--- a/network/ike/doinst.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
diff --git a/network/ike/ike.SlackBuild b/network/ike/ike.SlackBuild
deleted file mode 100644
index 8108b14205..0000000000
--- a/network/ike/ike.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ike
-
-# Copyright 2016 Vitor Borrego, Corroios, Portugal
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ike
-VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvzf $CWD/$PRGNAM-$VERSION-release.tgz
-cd $TMP/$PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DETCDIR=/etc \
- -DMANDIR=/usr/man \
- -DQTGUI=YES \
- -DNATT=YES \
- -DLIBDIR=/usr/lib$LIBDIRSUFFIX
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CONTRIB.TXT LICENSE.TXT README.TXT TODO.TXT $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ike/ike.info b/network/ike/ike.info
deleted file mode 100644
index 6508693e35..0000000000
--- a/network/ike/ike.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ike"
-VERSION="2.2.1"
-HOMEPAGE="https://www.shrew.net/home"
-DOWNLOAD="https://www.shrew.net/download/ike/ike-2.2.1-release.tgz"
-MD5SUM="3dac18a2da5809ccb38c50cd4a455897"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libedit"
-MAINTAINER="Vitor Borrego"
-EMAIL="vitor@bitarus.allowed.org"
diff --git a/network/ike/slack-desc b/network/ike/slack-desc
deleted file mode 100644
index c06e90260d..0000000000
--- a/network/ike/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ike: ike (Shrew Soft VPN Client for Linux and BSD)
-ike:
-ike: ike is an IPSec Client for FreeBSD, NetBSD and many Linux based
-ike: operating systems.
-ike:
-ike: Homepage: https://www.shrew.net/software
-ike:
-ike:
-ike:
-ike:
-ike:
diff --git a/network/imapfilter/imapfilter.SlackBuild b/network/imapfilter/imapfilter.SlackBuild
index 1355549594..dc4aff74d6 100644
--- a/network/imapfilter/imapfilter.SlackBuild
+++ b/network/imapfilter/imapfilter.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imapfilter
# Copyright 2010 Šime Ramov
-# Copyright 2016-2019 Andrew Clemons, Wellington, New Zealand
+# Copyright 2016-2019,2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2022-2023 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imapfilter
-VERSION=${VERSION:-2.6.16}
+VERSION=${VERSION:-2.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/imapfilter/imapfilter.info b/network/imapfilter/imapfilter.info
index 97f96523b0..881a0d1801 100644
--- a/network/imapfilter/imapfilter.info
+++ b/network/imapfilter/imapfilter.info
@@ -1,8 +1,8 @@
PRGNAM="imapfilter"
-VERSION="2.6.16"
+VERSION="2.8.2"
HOMEPAGE="https://github.com/lefcha/imapfilter"
-DOWNLOAD="https://github.com/lefcha/imapfilter/archive/v2.6.16/imapfilter-2.6.16.tar.gz"
-MD5SUM="3cb100fd8171c893079f9a969fea6db8"
+DOWNLOAD="https://github.com/lefcha/imapfilter/archive/v2.8.2/imapfilter-2.8.2.tar.gz"
+MD5SUM="16c9f950978369687b6d6d00289678e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/network/imapproxy/README b/network/imapproxy/README
deleted file mode 100644
index 4d8b46b164..0000000000
--- a/network/imapproxy/README
+++ /dev/null
@@ -1,12 +0,0 @@
-imapproxy (SquirrelMail's IMAP Proxy server)
-
-SquirrelMail's IMAP Proxy is a caching IMAP proxy server intended
-for use with webmail clients that cannot maintain persistent
-connections to an IMAP server.
-
-IMAP Proxy simply sits between your webmail server and your IMAP
-server. It accepts connections from your webmail server for each
-client login, then proxies that connection to your real IMAP server.
-When your webmail client disconnects, IMAP Proxy will leave the
-connection open to the IMAP server such that when your webmail client
-reconnects, the existing connection may be re-used.
diff --git a/network/imapproxy/doinst.sh b/network/imapproxy/doinst.sh
deleted file mode 100644
index 82b58a530c..0000000000
--- a/network/imapproxy/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/imapproxy.conf.new
-preserve_perms etc/rc.d/rc.imapproxy.new
diff --git a/network/imapproxy/imapproxy.SlackBuild b/network/imapproxy/imapproxy.SlackBuild
deleted file mode 100644
index 04ee52efd1..0000000000
--- a/network/imapproxy/imapproxy.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for imapproxy
-
-# Copyright (c) 2014-2016 Thomas Szteliga <ts@websafe.pl>, Opole, PL
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-
-PRGNAM=imapproxy
-VERSION=${VERSION:-1.2.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf squirrelmail-imap_proxy-$VERSION
-tar xvf $CWD/squirrelmail-imap_proxy-$VERSION.tar.gz
-cd squirrelmail-imap_proxy-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-install -m 0755 -d $PKG/etc
-install -m 0755 -d $PKG/etc/init.d
-install -m 0755 -d $PKG/usr/sbin
-make prefix=$PKG/usr rpm_prefix=$PKG rpm-install
-
-sed -i \
- -e 's#/usr/local/sbin#/usr/sbin#g' \
- -e 's#\t\$PROXY_BIN#\t\$PROXY_BIN \&#g' \
- $PKG/etc/init.d/imapproxy
-mv $PKG/etc/init.d $PKG/etc/rc.d
-mv $PKG/etc/rc.d/imapproxy $PKG/etc/rc.d/rc.imapproxy.new
-mv $PKG/etc/imapproxy.conf $PKG/etc/imapproxy.conf.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING \
- ChangeLog \
- README \
- README.known_issues \
- README.ssl \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/imapproxy/imapproxy.info b/network/imapproxy/imapproxy.info
deleted file mode 100644
index 589084f064..0000000000
--- a/network/imapproxy/imapproxy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="imapproxy"
-VERSION="1.2.7"
-HOMEPAGE="http://www.imapproxy.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/squirrelmail/imap_proxy/1.2.7/squirrelmail-imap_proxy-1.2.7.tar.gz"
-MD5SUM="02fb038a13efaf991917f87862c714fb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Thomas Szteliga"
-EMAIL="ts@websafe.pl"
diff --git a/network/imapproxy/slack-desc b/network/imapproxy/slack-desc
deleted file mode 100644
index 1c70395971..0000000000
--- a/network/imapproxy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-imapproxy: imapproxy (SquirrelMail's IMAP Proxy server)
-imapproxy:
-imapproxy: SquirrelMail's IMAP Proxy is a caching IMAP proxy server intended
-imapproxy: for use with webmail clients that cannot maintain persistent
-imapproxy: connections to an IMAP server.
-imapproxy: IMAP Proxy simply sits between your webmail server and your IMAP
-imapproxy: server. It accepts connections from your webmail server for each
-imapproxy: client login, then proxies that connection to your real IMAP server.
-imapproxy: When your webmail client disconnects, IMAP Proxy will leave the
-imapproxy: connection open to the IMAP server such that when your webmail client
-imapproxy: reconnects, the existing connection may be re-used.
diff --git a/network/inadyn/README b/network/inadyn/README
index 784a241d57..bba485c197 100644
--- a/network/inadyn/README
+++ b/network/inadyn/README
@@ -1,5 +1,6 @@
-In-a-dyn is a small and simple Dynamic DNS, DDNS, client with HTTPS support.
-It is commonly available in many GNU/Linux distributions, used in off-the-shelf
-routers and Internet gateways to automate the task of keeping your DNS record
-up to date with any IP address changes from your ISP. It can also be used in
-installations with redundant (backup) connections to the Internet.
+In-a-dyn is a small and simple Dynamic DNS, DDNS, client with HTTPS
+support. It is commonly available in many GNU/Linux distributions,
+used in off-the-shelf routers and Internet gateways to automate the
+task of keeping your DNS record up to date with any IP address changes
+from your ISP. It can also be used in installations with redundant
+(backup) connections to the Internet.
diff --git a/network/inadyn/inadyn.SlackBuild b/network/inadyn/inadyn.SlackBuild
index e8ad58ec08..7ae1e3d629 100644
--- a/network/inadyn/inadyn.SlackBuild
+++ b/network/inadyn/inadyn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for inadyn
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=inadyn
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/insync/insync.SlackBuild b/network/insync/insync.SlackBuild
index 99cc0a7d15..095a34145f 100644
--- a/network/insync/insync.SlackBuild
+++ b/network/insync/insync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "insync".
@@ -26,11 +26,14 @@
# Adapted from Willy Sudiarto Raharjo <willysr@slackware-id.org> "insync-kde"
# https://github.com/willysr/SlackHacks/tree/master/SlackBuilds/insync-kde
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=insync
-DEBNAM=bionic
-VERSION=${VERSION:-3.1.3.40790}
+DEBNAM=xenial
+VERSION=${VERSION:-3.3.9.40955}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -54,7 +57,14 @@ else
exit 1
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/insync/insync.info b/network/insync/insync.info
index e3694d0b99..ebe16baec7 100644
--- a/network/insync/insync.info
+++ b/network/insync/insync.info
@@ -1,10 +1,10 @@
PRGNAM="insync"
-VERSION="3.1.3.40790"
+VERSION="3.3.9.40955"
HOMEPAGE="https://www.insynchq.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="http://s.insynchq.com/builds/insync_3.1.3.40790-bionic_amd64.deb"
-MD5SUM_x86_64="132f416415b0983c4276462d29e15201"
+DOWNLOAD_x86_64="https://d2t3ff60b2tol4.cloudfront.net/builds/insync_3.3.9.40955-xenial_amd64.deb"
+MD5SUM_x86_64="fd8ea3caaea11d4583e3a3f53876ac95"
REQUIRES=""
MAINTAINER="Pedro R.M. Júnior"
EMAIL="pedrormjunior@gmail.com"
diff --git a/network/iodine/README b/network/iodine/README
index 8f0bfc9659..80d5859947 100644
--- a/network/iodine/README
+++ b/network/iodine/README
@@ -1,5 +1,5 @@
iodine (DNS tunnel)
-iodine lets you tunnel IPv4 data through a DNS server. This can be usable in
-different situations where internet access is firewalled, but DNS queries
-are allowed.
+iodine lets you tunnel IPv4 data through a DNS server. This can be
+usable in different situations where internet access is firewalled,
+but DNS queries are allowed.
diff --git a/network/iodine/iodine.SlackBuild b/network/iodine/iodine.SlackBuild
index fef460289a..21d79ba2de 100644
--- a/network/iodine/iodine.SlackBuild
+++ b/network/iodine/iodine.SlackBuild
@@ -1,32 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for iodine
# Written by David Miller dave@frop.net
# This script is released into the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=iodine
VERSION=${VERSION:-0.6.0_rc1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION |tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild
index ee05eacda6..93fe2af9a6 100644
--- a/network/ip2location-c/ip2location-c.SlackBuild
+++ b/network/ip2location-c/ip2location-c.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ip2location-c
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Copyright 2012, 2013 Chris Abela, Malta
-# Copyright 2018 Jason Graham, MD <jgraha8@gmail.com>
+# Copyright 2018, 2022 Jason Graham, USA <jgraham@compukix.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,11 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ip2location-c
SRCNAM=IP2Location-C-Library
-VERSION=${VERSION:-8.0.9}
+VERSION=${VERSION:-8.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,12 +103,17 @@ if [ "$DB" = "yes" ]; then
( cd data && perl ip-country.pl && make install DESTDIR=$PKG )
fi
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING Developers_Guide.txt NEWS README INSTALL ChangeLog AUTHORS LICENSE.TXT \
+ AUTHORS COPYING ChangeLog Developers_Guide.txt LICENSE.TXT NEWS README README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -109,4 +121,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ip2location-c/ip2location-c.info b/network/ip2location-c/ip2location-c.info
index 0bcd55c047..15237a5c78 100644
--- a/network/ip2location-c/ip2location-c.info
+++ b/network/ip2location-c/ip2location-c.info
@@ -1,8 +1,8 @@
PRGNAM="ip2location-c"
-VERSION="8.0.9"
+VERSION="8.6.1"
HOMEPAGE="http://www.ip2location.com/developers/c"
-DOWNLOAD="https://github.com/chrislim2888/IP2Location-C-Library/archive/8.0.9/IP2Location-C-Library-8.0.9.tar.gz"
-MD5SUM="a232a7ed1cdfb4d972da60261fe4f38e"
+DOWNLOAD="https://github.com/chrislim2888/IP2Location-C-Library/archive/8.6.1/IP2Location-C-Library-8.6.1.tar.gz"
+MD5SUM="d66cc49ecbe636a2a28aa7aee9725f25"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/ipcalc/README b/network/ipcalc/README
index 93860e8cac..54cea5ec5d 100644
--- a/network/ipcalc/README
+++ b/network/ipcalc/README
@@ -1,4 +1,5 @@
-ipcalc takes an IP address and netmask and calculates the resulting broadcast,
-network, Cisco wildcard mask, and host range. By giving a second netmask, you
-can design sub- and supernetworks. It is also intended to be a teaching tool
-and presents the results as easy-to-understand binary values.
+ipcalc takes an IP address and netmask and calculates the resulting
+broadcast, network, Cisco wildcard mask, and host range. By giving
+a second netmask, you can design sub- and supernetworks. It is
+also intended to be a teaching tool and presents the results as
+easy-to-understand binary values.
diff --git a/network/ipcalc/ipcalc.SlackBuild b/network/ipcalc/ipcalc.SlackBuild
index b7fd6185c5..d5c2cd48c0 100644
--- a/network/ipcalc/ipcalc.SlackBuild
+++ b/network/ipcalc/ipcalc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipcalc
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipcalc
VERSION=${VERSION:-0.41}
ARCH=noarch
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
CGIBINDIR=${CGIBINDIR:-/var/www/cgi-bin}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/iperf/README b/network/iperf/README
index 4b25290df1..e44db66759 100644
--- a/network/iperf/README
+++ b/network/iperf/README
@@ -1,6 +1,7 @@
Iperf is a tool to measure IP bandwidth using UDP or TCP. It allows
for tuning various parameters, and reports bandwidth, delay jitter,
and packet loss. It supports IPv6 and multicast. Iperf was developed
-by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP
-bandwidth performance. Iperf allows the tuning of various parameters and
-UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss.
+by NLANR/DAST as a modern alternative for measuring maximum TCP
+and UDP bandwidth performance. Iperf allows the tuning of various
+parameters and UDP characteristics. Iperf reports bandwidth, delay
+jitter, datagram loss.
diff --git a/network/iperf/iperf.SlackBuild b/network/iperf/iperf.SlackBuild
index f8c40ab1e8..cf8ae665a4 100644
--- a/network/iperf/iperf.SlackBuild
+++ b/network/iperf/iperf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# nullboy 11/14/2008
# fossfun 10/19/2010 Updated for new version
@@ -7,26 +7,36 @@
# and
# http://www.slackwiki.org/Writing_A_SlackBuild_Script
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=iperf
-VERSION=${VERSION:-2.0.5}
+VERSION=${VERSION:-2.0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,10 +59,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Thanks fedora for these
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -68,13 +83,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL README doc/index.html $PKG/usr/doc/$PRGNAM-$VERSION
@@ -84,5 +97,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/iperf/iperf.info b/network/iperf/iperf.info
index fbb6e24fa4..730b096a3b 100644
--- a/network/iperf/iperf.info
+++ b/network/iperf/iperf.info
@@ -1,8 +1,8 @@
PRGNAM="iperf"
-VERSION="2.0.5"
+VERSION="2.0.8"
HOMEPAGE="https://sourceforge.net/projects/iperf/"
-DOWNLOAD="https://downloads.sourceforge.net/iperf/iperf-2.0.5.tar.gz"
-MD5SUM="44b5536b67719f4250faed632a3cd016"
+DOWNLOAD="https://downloads.sourceforge.net/iperf2/iperf-2.0.8.tar.gz"
+MD5SUM="e5887f799d8dc64a974c6c2f2e5cc339"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/iperf/patches/0_iperf-2.0.8-debuginfo.patch b/network/iperf/patches/0_iperf-2.0.8-debuginfo.patch
new file mode 100644
index 0000000000..2a3ad246ee
--- /dev/null
+++ b/network/iperf/patches/0_iperf-2.0.8-debuginfo.patch
@@ -0,0 +1,17 @@
+diff -NarpU5 iperf-2.0.8/configure.ac iperf-2.0.8.debuginfo/configure.ac
+--- iperf-2.0.8/configure.ac 2015-04-02 16:51:48.000000000 -0400
++++ iperf-2.0.8.debuginfo/configure.ac 2015-04-10 10:11:33.287445003 -0400
+@@ -42,13 +42,11 @@ AC_ARG_ENABLE(kalman, AC_HELP_STRING([--
+ dnl ===================================================================
+ dnl Checks for programs
+ dnl ===================================================================
+
+ AC_PROG_CXX
+-CXXFLAGS=`echo " $CXXFLAGS " | sed -e "s/ -g / /"` # do not want it implicitly
+ AC_PROG_CC
+-CFLAGS=`echo " $CFLAGS " | sed -e "s/ -g / /"` # do not want it implicitly
+ AC_ISC_POSIX
+ AC_PROG_INSTALL
+ AC_PROG_MAKE_SET
+ AC_PROG_RANLIB
+ AC_LANG(C)
diff --git a/network/iperf/patches/1_iperf-2.0.8-bindfail.patch b/network/iperf/patches/1_iperf-2.0.8-bindfail.patch
new file mode 100644
index 0000000000..b18b2cffed
--- /dev/null
+++ b/network/iperf/patches/1_iperf-2.0.8-bindfail.patch
@@ -0,0 +1,42 @@
+diff -NarpU5 iperf-2.0.8/src/Client.cpp iperf-2.0.8.bindfail/src/Client.cpp
+--- iperf-2.0.8/src/Client.cpp 2015-04-02 16:51:48.000000000 -0400
++++ iperf-2.0.8.bindfail/src/Client.cpp 2015-04-10 10:05:38.279936555 -0400
+@@ -701,20 +701,20 @@ void Client::Connect( ) {
+ AF_INET
+ #endif
+ : AF_INET);
+
+ mSettings->mSock = socket( domain, type, 0 );
+- WARN_errno( mSettings->mSock == INVALID_SOCKET, "socket" );
++ FAIL_errno( mSettings->mSock == INVALID_SOCKET, "socket", mSettings );
+
+ SetSocketOptions( mSettings );
+
+ SockAddr_localAddr( mSettings );
+ if ( mSettings->mLocalhost != NULL ) {
+ // bind socket to local address
+ rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local,
+ SockAddr_get_sizeof_sockaddr( &mSettings->local ) );
+- WARN_errno( rc == SOCKET_ERROR, "bind" );
++ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings );
+ }
+ // connect socket
+ rc = connect( mSettings->mSock, (sockaddr*) &mSettings->peer,
+ SockAddr_get_sizeof_sockaddr( &mSettings->peer ));
+ FAIL_errno( rc == SOCKET_ERROR, "connect", mSettings );
+diff -NarpU5 iperf-2.0.8/src/Listener.cpp iperf-2.0.8.bindfail/src/Listener.cpp
+--- iperf-2.0.8/src/Listener.cpp 2015-04-02 16:51:48.000000000 -0400
++++ iperf-2.0.8.bindfail/src/Listener.cpp 2015-04-10 10:06:23.279699885 -0400
+@@ -342,11 +342,11 @@ void Listener::Listen( ) {
+ WARN_errno( rc == SOCKET_ERROR, "WSAJoinLeaf (aka bind)" );
+ } else
+ #endif
+ {
+ rc = bind( mSettings->mSock, (sockaddr*) &mSettings->local, mSettings->size_local );
+- WARN_errno( rc == SOCKET_ERROR, "bind" );
++ FAIL_errno( rc == SOCKET_ERROR, "bind", mSettings );
+ }
+ // listen for connections (TCP only).
+ // default backlog traditionally 5
+ if ( !isUDP( mSettings ) ) {
+ rc = listen( mSettings->mSock, 5 );
diff --git a/network/iperf/patches/2_iperf-2.0.8-math.patch b/network/iperf/patches/2_iperf-2.0.8-math.patch
new file mode 100644
index 0000000000..1a943f5f2c
--- /dev/null
+++ b/network/iperf/patches/2_iperf-2.0.8-math.patch
@@ -0,0 +1,75 @@
+diff -NarU5 a/include/headers.h b/include/headers.h
+--- a/include/headers.h 2015-04-02 16:51:48.000000000 -0400
++++ b/include/headers.h 2016-03-16 14:52:14.386853750 -0400
+@@ -80,11 +80,10 @@
+ #include <assert.h>
+ #include <ctype.h>
+ #include <errno.h>
+ #include <string.h>
+ #include <time.h>
+-#include <math.h>
+ #include <float.h>
+ #include <sys/types.h>
+
+ #ifdef WIN32
+
+diff -NarU5 a/src/Client.cpp b/src/Client.cpp
+--- a/src/Client.cpp 2015-04-02 16:51:48.000000000 -0400
++++ b/src/Client.cpp 2016-03-16 14:52:14.387853701 -0400
+@@ -50,10 +50,11 @@
+ * A client thread initiates a connect to the server and handles
+ * sending and receiving data, then closes the socket.
+ * ------------------------------------------------------------------- */
+
+ #include <time.h>
++#include <cmath>
+ #include "headers.h"
+ #include "Client.hpp"
+ #include "Thread.h"
+ #include "SocketAddr.h"
+ #include "PerfSocket.hpp"
+diff -NarU5 a/src/ReportDefault.c b/src/ReportDefault.c
+--- a/src/ReportDefault.c 2015-04-02 16:51:49.000000000 -0400
++++ b/src/ReportDefault.c 2016-03-16 14:52:14.387853701 -0400
+@@ -47,10 +47,11 @@
+ * ReportDefault.c
+ * by Kevin Gibbs <kgibbs@nlanr.net>
+ *
+ * ________________________________________________________________ */
+
++#include <math.h>
+ #include "headers.h"
+ #include "Settings.hpp"
+ #include "util.h"
+ #include "Reporter.h"
+ #include "report_default.h"
+diff -NarU5 a/src/Reporter.c b/src/Reporter.c
+--- a/src/Reporter.c 2015-04-02 16:51:49.000000000 -0400
++++ b/src/Reporter.c 2016-03-16 14:52:14.388853652 -0400
+@@ -47,10 +47,11 @@
+ * Reporter.c
+ * by Kevin Gibbs <kgibbs@nlanr.net>
+ *
+ * ________________________________________________________________ */
+
++#include <math.h>
+ #include "headers.h"
+ #include "Settings.hpp"
+ #include "util.h"
+ #include "Reporter.h"
+ #include "Thread.h"
+diff -NarU5 a/src/Server.cpp b/src/Server.cpp
+--- a/src/Server.cpp 2015-04-02 16:51:49.000000000 -0400
++++ b/src/Server.cpp 2016-03-16 14:52:14.388853652 -0400
+@@ -52,10 +52,11 @@
+ * Handles sending and receiving data, and then closes socket.
+ * Changes to this version : The server can be run as a daemon
+ * ------------------------------------------------------------------- */
+
+ #define HEADERS()
++#include <cmath>
+ #include "headers.h"
+ #include "Server.hpp"
+ #include "List.h"
+ #include "Extractor.h"
+ #include "Reporter.h"
diff --git a/network/iperf3/iperf3.SlackBuild b/network/iperf3/iperf3.SlackBuild
index d1021979d4..c1d2d993d9 100644
--- a/network/iperf3/iperf3.SlackBuild
+++ b/network/iperf3/iperf3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for iPerf3
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=iperf3
SRCNAM=iperf
-VERSION=${VERSION:-3.7}
+VERSION=${VERSION:-3.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,9 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL LICENSE README.md RELNOTES.md contrib $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/iperf3/iperf3.info b/network/iperf3/iperf3.info
index 548a371dd6..28b4422268 100644
--- a/network/iperf3/iperf3.info
+++ b/network/iperf3/iperf3.info
@@ -1,8 +1,8 @@
PRGNAM="iperf3"
-VERSION="3.7"
+VERSION="3.16"
HOMEPAGE="https://github.com/esnet/iperf"
-DOWNLOAD="https://github.com/esnet/iperf/archive/3.7/iperf-3.7.tar.gz"
-MD5SUM="9534aae7430791b46d8cb8fc44afb6f8"
+DOWNLOAD="https://github.com/esnet/iperf/archive/3.16/iperf-3.16.tar.gz"
+MD5SUM="f084f221e829c5b9abee96c8f819de97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/ipfs-pack/ipfs-pack.SlackBuild b/network/ipfs-pack/ipfs-pack.SlackBuild
index 17e1979e20..27fa55758d 100644
--- a/network/ipfs-pack/ipfs-pack.SlackBuild
+++ b/network/ipfs-pack/ipfs-pack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipfs-pack
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipfs-pack
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ case $ARCH in
*) IPFSARCH=$ARCH ;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ipscan/README b/network/ipscan/README
deleted file mode 100644
index 2be6fec762..0000000000
--- a/network/ipscan/README
+++ /dev/null
@@ -1,26 +0,0 @@
-ipscan (fast and friendly network scanner)
-
-Angry IP Scanner (or simply ipscan) is an open-source and
-cross-platform network scanner designed to be fast and simple to use.
-It scans IP addresses and ports as well as has many other features.
-
-It is widely used by network administrators and just curious users
-around the world including large and small enterprises, banks, and
-government agencies.
-
-It runs on Linux, Windows, and Mac OS X, possibly supporting other
-platforms as well.
-
-Angry IP scanner simply pings each IP address to check if it's alive,
-then optionally it is resolving its hostname, determines the MAC
-address, scans ports, etc. The amount of gathered data about each host
-can be extended with plugins.
-
-It also has additional features, like NetBIOS information (computer
-name, workgroup name, and currently logged in Windows user), favorite
-IP address ranges, web server detection, customizable openers, etc.
-
-Scanning results can be saved to CSV, TXT, XML or IP-Port list files.
-With help of plugins, Angry IP Scanner can gather any information
-about scanned IPs. Anybody who can write Java code is able to write
-plugins and extend functionality of Angry IP Scanner.
diff --git a/network/ipscan/copyright b/network/ipscan/copyright
deleted file mode 100644
index 38cd386048..0000000000
--- a/network/ipscan/copyright
+++ /dev/null
@@ -1,22 +0,0 @@
-Angry IP Scanner is copyright 2004-2011 Anton Keks and others.
-Development is hosted on http://ipscan.sourceforge.net
-
-License: GPLv2+
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See /usr/share/common-licenses/GPL-2, or
-<http://www.gnu.org/copyleft/gpl.txt> for the terms of the latest version
-of the GNU General Public License.
diff --git a/network/ipscan/doinst.sh b/network/ipscan/doinst.sh
deleted file mode 100644
index aea0f894eb..0000000000
--- a/network/ipscan/doinst.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/ipscan/ipscan b/network/ipscan/ipscan
deleted file mode 100644
index 51f6ca2f53..0000000000
--- a/network/ipscan/ipscan
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-java -jar /usr/share/ipscan/ipscan*.jar "$@"
diff --git a/network/ipscan/ipscan.SlackBuild b/network/ipscan/ipscan.SlackBuild
deleted file mode 100644
index 9049345fa0..0000000000
--- a/network/ipscan/ipscan.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for ipscan.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ipscan
-VERSION=${VERSION:-3.6.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-SRCNAM="ipscan-linux"
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
-cd $TMP
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
-install -Dm644 $CWD/ipscan.desktop $PKG/usr/share/applications/ipscan.desktop
-install -Dm644 $CWD/ipscan.png $PKG/usr/share/pixmaps/ipscan.png
-
-install -d $PKG/usr/share/$PRGNAM
-
-if [ "$ARCH" = "i586" ]; then
- cp $CWD/$SRCNAM-$VERSION.jar $PKG/usr/share/$PRGNAM
-elif [ "$ARCH" = "x86_64" ]; then
- cp $CWD/$SRCNAM$LIBDIRSUFFIX-$VERSION.jar $PKG/usr/share/$PRGNAM
-fi
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/copyright $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ipscan/ipscan.desktop b/network/ipscan/ipscan.desktop
deleted file mode 100644
index 6f51d5bf3d..0000000000
--- a/network/ipscan/ipscan.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Angry IP Scanner
-GenericName=Fast and friendly network scanner
-Exec=/usr/bin/ipscan
-Terminal=false
-Type=Application
-Icon=ipscan
-Categories=Network;
-StartupWMClass=Angry IP Scanner
-StartupNotify=true
diff --git a/network/ipscan/ipscan.info b/network/ipscan/ipscan.info
deleted file mode 100644
index 619544ea6e..0000000000
--- a/network/ipscan/ipscan.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ipscan"
-VERSION="3.6.2"
-HOMEPAGE="https://github.com/angryziber/ipscan/"
-DOWNLOAD="https://github.com/angryip/ipscan/releases/download/3.6.2/ipscan-linux-3.6.2.jar"
-MD5SUM="d2610e9d01615e1eb86cd5df8895732f"
-DOWNLOAD_x86_64="https://github.com/angryip/ipscan/releases/download/3.6.2/ipscan-linux64-3.6.2.jar"
-MD5SUM_x86_64="35259a87425d5a11bd587f799031aace"
-REQUIRES="jdk"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/ipscan/ipscan.png b/network/ipscan/ipscan.png
deleted file mode 100644
index ec9059f9e1..0000000000
--- a/network/ipscan/ipscan.png
+++ /dev/null
Binary files differ
diff --git a/network/ipscan/slack-desc b/network/ipscan/slack-desc
deleted file mode 100644
index ee6abe086f..0000000000
--- a/network/ipscan/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ipscan: ipscan (fast and friendly network scanner)
-ipscan:
-ipscan: Angry IP Scanner (or simply ipscan) is an open-source and
-ipscan: cross-platform network scanner designed to be fast and simple to use.
-ipscan: It scans IP addresses and ports as well as has many other features.
-ipscan:
-ipscan: Home page: https://github.com/angryziber/ipscan/
-ipscan:
-ipscan:
-ipscan:
-ipscan:
diff --git a/network/iptv-analyzer/README b/network/iptv-analyzer/README
deleted file mode 100644
index 4388448340..0000000000
--- a/network/iptv-analyzer/README
+++ /dev/null
@@ -1,8 +0,0 @@
-The IPTV-Analyzer is a continuous/real-time tool for analyzing the contents
-of MPEG2 Transport Stream (TS) packets, which is commonly used for IPTV
-multicast signals.
-
-The main purpose is continuous quality measurement, with a focus on detecting
-MPEG2 TS/CC packet drops.
-
-It scales to hundreds of IPTV channels, even on small ATOM based CPUs.
diff --git a/network/iptv-analyzer/doinst.sh b/network/iptv-analyzer/doinst.sh
deleted file mode 100644
index a4258c7da6..0000000000
--- a/network/iptv-analyzer/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x sbin/depmod ]; then
- chroot . /sbin/depmod -a @@KERNEL@@ >/dev/null 2>&1
-fi
diff --git a/network/iptv-analyzer/iptv-analyzer.SlackBuild b/network/iptv-analyzer/iptv-analyzer.SlackBuild
deleted file mode 100644
index 9342b16821..0000000000
--- a/network/iptv-analyzer/iptv-analyzer.SlackBuild
+++ /dev/null
@@ -1,142 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for iptv-analyzer
-
-# Copyright 2013, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=iptv-analyzer
-VERSION=${VERSION:-0.9.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=IPTV-Analyzer
-KERNEL=${KERNEL:-$( uname -r )}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 <$CWD/patches/e5d7c0b90cfe3218d67b56e122140456206f6a65.patch
-patch -p1 <$CWD/patches/kernel-4.4.diff
-patch -p1 <$CWD/patches/Makefile.am.diff
-patch -p1 <$CWD/patches/Makefile.in.diff
-
-./autogen.sh
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/xtables
-
-env -u ARCH \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --datarootdir=/usr \
- --with-xtlibdir=$PKG/usr/lib${LIBDIRSUFFIX}/xtables \
- --with-kbuild=/lib/modules/$KERNEL/build \
- --build=$ARCH-slackware-linux
-
-env -u ARCH make
-env -u ARCH make install DESTDIR=$PKG \
- INSTALLDIRS=vendor \
- INST_ETC=$PKG/etc/$PRGNAM \
- INSTALL_MOD_PATH=$PKG
-
-# Module installer was too leaky
-mkdir -p $PKG/lib/modules/$KERNEL/extra
-cp -a iptables-module/{compat_xtables,xt_mpeg2ts}.ko \
- $PKG/lib/modules/$KERNEL/extra
-
-# Manpages are a bit stubborn
-mv $PKG/usr/share/man $PKG/usr
-
-# Fonts are elsewhere
-sed -i 's#usr/share/fonts/truetype/freefont#usr/share/fonts/TTF#' \
- webfrontend/www/{graphs.inc.php,staging/pie01.php}
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
-# Remove empty directories
-find $PKG -depth -type d -empty -delete || true
-
-# Remove git cruft
-find $PKG -type f -name .gitignore -delete
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog INSTALL README.wiki TODO database doc/* \
- collector/bin/generate-test-snmptrap.pl webfrontend $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a snmp/mibs $PKG/usr/doc/$PRGNAM-$VERSION/snmp-mibs
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-sed -e "s:@@KERNEL@@:$KERNEL:" $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${KERNEL//-/_}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/iptv-analyzer/iptv-analyzer.info b/network/iptv-analyzer/iptv-analyzer.info
deleted file mode 100644
index 3b55c729fe..0000000000
--- a/network/iptv-analyzer/iptv-analyzer.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="iptv-analyzer"
-VERSION="0.9.4"
-HOMEPAGE="https://github.com/netoptimizer/IPTV-Analyzer/"
-DOWNLOAD="https://github.com/netoptimizer/IPTV-Analyzer/archive/v0.9.4/IPTV-Analyzer-0.9.4.tar.gz"
-MD5SUM="b1c307eb8c0afe846d53b901386b3453"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="perl-Config-File perl-Data-Compare perl-Log-Dispatch perl-Log-Log4perl perl-Net-SNMP perl-Proc-Daemon perl-Proc-PID-File"
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/network/iptv-analyzer/patches/Makefile.am.diff b/network/iptv-analyzer/patches/Makefile.am.diff
deleted file mode 100644
index 8e03aab10e..0000000000
--- a/network/iptv-analyzer/patches/Makefile.am.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- IPTV-Analyzer-0.9.4/Makefile.am.orig 2015-03-04 10:41:03.000000000 +0100
-+++ IPTV-Analyzer-0.9.4/Makefile.am 2017-11-05 00:20:05.903209784 +0100
-@@ -21,8 +21,8 @@
- #xtables-addons.8: FORCE
- # ${MAKE} -f Makefile.mans all;
-
--install-exec-hook:
-- depmod -a || :;
-+#install-exec-hook:
-+# depmod -a || :;
-
- #config.status: Makefile.iptrules.in
-
diff --git a/network/iptv-analyzer/patches/Makefile.in.diff b/network/iptv-analyzer/patches/Makefile.in.diff
deleted file mode 100644
index f0c93e492d..0000000000
--- a/network/iptv-analyzer/patches/Makefile.in.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- IPTV-Analyzer-0.9.4/iptables-module/Makefile.in.orig 2015-03-04 10:41:03.000000000 +0100
-+++ IPTV-Analyzer-0.9.4/iptables-module/Makefile.in 2017-11-05 03:37:21.671512778 +0100
-@@ -115,7 +115,7 @@
- exit 2; \
- fi
-
--install: lib_install modules_install
-+install: lib_install modules
-
-
- clean:
diff --git a/network/iptv-analyzer/patches/e5d7c0b90cfe3218d67b56e122140456206f6a65.patch b/network/iptv-analyzer/patches/e5d7c0b90cfe3218d67b56e122140456206f6a65.patch
deleted file mode 100644
index 4a84020a1e..0000000000
--- a/network/iptv-analyzer/patches/e5d7c0b90cfe3218d67b56e122140456206f6a65.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From e5d7c0b90cfe3218d67b56e122140456206f6a65 Mon Sep 17 00:00:00 2001
-From: Hoai-Thu Vuong <thuvh87@gmail.com>
-Date: Tue, 12 Jan 2016 17:30:45 +0700
-Subject: [PATCH] using echo and tag php in code
-
----
- webfrontend/www/design.inc.php | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/webfrontend/www/design.inc.php b/webfrontend/www/design.inc.php
-index 174e04a..9fcd7b0 100644
---- a/webfrontend/www/design.inc.php
-+++ b/webfrontend/www/design.inc.php
-@@ -29,12 +29,12 @@ function doHeader($title="", $options=FALSE) {
- <meta name="description" content="tvprobe webfrontend" />
- <meta name="publisher" content="ComX Networks A/S" />
-
-- <link rel="stylesheet" type="text/css" href="<?=$incdir?>css/motorola.css">
-+ <link rel="stylesheet" type="text/css" href="<?php echo $incdir; ?>css/motorola.css">
- <?php
- if ($include_javascript == TRUE) {
- ?>
- <script
-- src="<?=$incdir?>functions.js" type="text/javascript" language='javascript'>
-+ src="<?php echo $incdir; ?>functions.js" type="text/javascript" language='javascript'>
- </script>
- <?php
- }
-@@ -44,10 +44,10 @@ function doHeader($title="", $options=FALSE) {
- ?>
- <!--Epoch's styles-->
- <link rel="stylesheet" type="text/css"
-- href="<?=$incdir?>js/epoch_v202_en/epoch_styles.css" />
-+ href="<?php echo $incdir; ?>js/epoch_v202_en/epoch_styles.css" />
-
- <!--Epoch's Code-->
-- <script type="text/javascript" src="<?=$incdir?>js/epoch_v202_en/epoch_classes.js">
-+ <script type="text/javascript" src="<?php echo $incdir; ?>js/epoch_v202_en/epoch_classes.js">
- </script>
-
- <script type="text/javascript">
diff --git a/network/iptv-analyzer/patches/kernel-4.4.diff b/network/iptv-analyzer/patches/kernel-4.4.diff
deleted file mode 100644
index 471305bd4f..0000000000
--- a/network/iptv-analyzer/patches/kernel-4.4.diff
+++ /dev/null
@@ -1,81 +0,0 @@
-diff --git a/iptables-module/compat_xtables.c b/iptables-module/compat_xtables.c
-index c5b67a4..40f83c8 100644
---- a/iptables-module/compat_xtables.c
-+++ b/iptables-module/compat_xtables.c
-@@ -464,6 +464,7 @@ struct xt_match *xtnu_request_find_match(unsigned int af, const char *name,
- }
- EXPORT_SYMBOL_GPL(xtnu_request_find_match);
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)
- int xtnu_ip_route_me_harder(struct sk_buff **pskb, unsigned int addr_type)
- {
- #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 17)
-@@ -476,6 +477,7 @@ int xtnu_ip_route_me_harder(struct sk_buff **pskb, unsigned int addr_type)
- #endif
- }
- EXPORT_SYMBOL_GPL(xtnu_ip_route_me_harder);
-+#endif
-
- int xtnu_skb_make_writable(struct sk_buff **pskb, unsigned int len)
- {
-diff --git a/iptables-module/compat_xtnu.h b/iptables-module/compat_xtnu.h
-index 02b6575..253e3df 100644
---- a/iptables-module/compat_xtnu.h
-+++ b/iptables-module/compat_xtnu.h
-@@ -143,7 +143,9 @@ static inline __wsum csum_unfold(__sum16 n)
- #endif
-
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)
- extern int xtnu_ip_local_out(struct sk_buff *);
- extern int xtnu_ip_route_me_harder(struct sk_buff **, unsigned int);
-+#endif
- extern int xtnu_skb_make_writable(struct sk_buff **, unsigned int);
- extern int xtnu_register_match(struct xtnu_match *);
- extern int xtnu_ip_route_output_key(void *, struct rtable **, struct flowi *);
-diff --git a/iptables-module/xt_mpeg2ts.c b/iptables-module/xt_mpeg2ts.c
-index 91ae4a0..87cfb17 100644
---- a/iptables-module/xt_mpeg2ts.c
-+++ b/iptables-module/xt_mpeg2ts.c
-@@ -99,7 +99,7 @@ static const struct file_operations dl_file_ops;
- #endif
-
- static int debug = -1;
--static int msg_level;
-+static int msg_level = MPEG2TS_MSG_DEFAULT;
- module_param(debug, int, 0);
- module_param(msg_level, int, 0664);
- MODULE_PARM_DESC(debug, "Set low N bits of message level");
-@@ -1299,14 +1299,12 @@ static void mpeg2ts_seq_stop(struct seq_file *s, void *v)
- static int mpeg2ts_seq_show_real(struct mpeg2ts_stream *stream,
- struct seq_file *s, unsigned int bucket)
- {
-- int res;
--
- if (!atomic_inc_not_zero(&stream->use)) {
- /* If "use" is zero, then we about to be free'd */
- return 0;
- }
-
-- res = seq_printf(s, "bucket:%d dst:%pI4 src:%pI4 dport:%u sport:%u "
-+ seq_printf(s, "bucket:%d dst:%pI4 src:%pI4 dport:%u sport:%u "
- "pids:%d skips:%llu discontinuity:%llu "
- "payload_bytes:%llu packets:%llu\n",
- bucket,
-@@ -1323,7 +1321,7 @@ static int mpeg2ts_seq_show_real(struct mpeg2ts_stream *stream,
-
- atomic_dec(&stream->use);
-
-- return res;
-+ return seq_has_overflowed(s);
- }
-
- static int mpeg2ts_seq_show(struct seq_file *s, void *v)
-@@ -1434,7 +1432,7 @@ static int __init mpeg2ts_mt_init(void)
- */
- INIT_LIST_HEAD(&conn_htables);
-
-- msg_level = netif_msg_init(debug, MPEG2TS_MSG_DEFAULT);
-+ msg_level = netif_msg_init(debug, msg_level);
- msg_info(DRV, "Loading: %s", version);
- msg_dbg(DRV, "Message level (msg_level): 0x%X", msg_level);
-
diff --git a/network/iptv-analyzer/slack-desc b/network/iptv-analyzer/slack-desc
deleted file mode 100644
index 6c7511834e..0000000000
--- a/network/iptv-analyzer/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-iptv-analyzer: iptv-analyzer (IPTV MPEG2 Transport Stream Analyzer)
-iptv-analyzer:
-iptv-analyzer: The IPTV-Analyzer is a continuous/real-time tool for analyzing the
-iptv-analyzer: contents of MPEG2 Transport Stream (TS) packets, which is commonly
-iptv-analyzer: used for IPTV multicast signals. The main purpose is continuous
-iptv-analyzer: quality measurement, with a focus on detecting MPEG2 TS/CC packet
-iptv-analyzer: drops.
-iptv-analyzer:
-iptv-analyzer: Homepage: https://github.com/netoptimizer/IPTV-Analyzer/
-iptv-analyzer:
-iptv-analyzer:
diff --git a/network/ipv6calc/README b/network/ipv6calc/README
index 4d2658ce8c..8b5209d498 100644
--- a/network/ipv6calc/README
+++ b/network/ipv6calc/README
@@ -10,14 +10,13 @@ external databases. The following build options may be used to include
support for these:
IP2LOCATION=yes Enable IP2Location support (requires ip2location-c)
- GEOIP=yes Enable GeoIP support (requires GeoIP)
GEOIP2=yes Enable GeoIP2 support (requires libmaxminddb)
EXTERNAL=yes Enable external db support
where each build option is passed to the slackbuild. Example of
enabling the IP2Location and GeoIP external database:
- IP2LOCATION=yes GEOIP=yes ./ipv6calc.SlackBuild
+ IP2LOCATION=yes GEOIP2=yes ./ipv6calc.SlackBuild
The ipv6calc Apache module can be built by passing MOD_IPV6CALC=yes to
the slackbuild as:
diff --git a/network/ipv6calc/ipv6calc.SlackBuild b/network/ipv6calc/ipv6calc.SlackBuild
index 31fe671993..e4aa1a91fe 100644
--- a/network/ipv6calc/ipv6calc.SlackBuild
+++ b/network/ipv6calc/ipv6calc.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipv6calc
# Copyright 2012, 2013 Chris Abela, Malta
# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# Copyright 2018-2019 Jason Graham, MD <jgraham@compukix.net>
+# Copyright 2018-2019, 2023 Jason Graham, MD <jgraham@compukix.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipv6calc
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,7 +82,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
ENABLE_IP2LOCATION="--disable-ip2location"
-ENABLE_GEOIP="--disable-geoip"
ENABLE_GEOIP2="--disable-geoip2"
ENABLE_EXTERNAL="--disable-external"
ENABLE_MOD_IPV6CALC="--disable-mod_ipv6calc"
@@ -81,10 +90,6 @@ if [ "$IP2LOCATION" = "yes" ]; then
ENABLE_IP2LOCATION="--enable-ip2location --with-ip2location-db=/usr/share/IP2Loc"
fi
-if [ "$GEOIP" = "yes" ]; then
- ENABLE_GEOIP="--enable-geoip --with-geoip-db=/usr/share/GeoIP"
-fi
-
if [ "$GEOIP2" = "yes" ]; then
ENABLE_GEOIP2="--enable-mmdb --with-geoip-db=/usr/share/GeoIP"
fi
@@ -109,7 +114,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
--disable-dbip \
--disable-dbip2 \
- $ENABLE_IP2LOCATION $ENABLE_GEOIP $ENABLE_GEOIP2 $ENABLE_EXTERNAL $ENABLE_MOD_IPV6CALC
+ $ENABLE_IP2LOCATION $ENABLE_GEOIP2 $ENABLE_EXTERNAL $ENABLE_MOD_IPV6CALC
make
make install DESTDIR=$PKG
@@ -148,4 +153,4 @@ if [ "$MOD_IPV6CALC" = "yes" ]; then
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ipv6calc/ipv6calc.info b/network/ipv6calc/ipv6calc.info
index 8413547d34..14c8a2f9bd 100644
--- a/network/ipv6calc/ipv6calc.info
+++ b/network/ipv6calc/ipv6calc.info
@@ -1,8 +1,8 @@
PRGNAM="ipv6calc"
-VERSION="2.2.0"
+VERSION="4.1.0"
HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html"
-DOWNLOAD="https://github.com/pbiering/ipv6calc/archive/2.2.0/ipv6calc-2.2.0.tar.gz"
-MD5SUM="828dad0901f04bbb60f70affaa857e20"
+DOWNLOAD="https://github.com/pbiering/ipv6calc/archive/4.1.0/ipv6calc-4.1.0.tar.gz"
+MD5SUM="4891e8f53606c78c77a8185fe1b02fde"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/ipvsadm/ipvsadm.SlackBuild b/network/ipvsadm/ipvsadm.SlackBuild
index 859dc91841..8c8485d44a 100644
--- a/network/ipvsadm/ipvsadm.SlackBuild
+++ b/network/ipvsadm/ipvsadm.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipvsadm
# 2010 - Written by luoyi (luoyi.ly@gmail.com)
# 2010-2016 - Modified by the slackbuilds.org project
# 2020 - Modified by Marek Wodzinski <majek@w7i.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipvsadm
VERSION=${VERSION:-1.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ipxnet/README b/network/ipxnet/README
index 1b7786bbf5..9479ebe331 100644
--- a/network/ipxnet/README
+++ b/network/ipxnet/README
@@ -3,9 +3,9 @@ ipxnet (tunnel IPX over TCP/IP)
Host a standalone IPX network over tcp for old DOS games running in
dosbox.
-For more information, see "https://www.dosbox.com/wiki/connectivity". Note
-that the "Start IPX server" step is unnecessary when using this build
-of ipxnet.
+For more information, see "https://www.dosbox.com/wiki/connectivity".
+Note that the "Start IPX server" step is unnecessary when using this
+build of ipxnet.
There are two use cases for ipxnet, with two separate executables:
@@ -13,11 +13,13 @@ There are two use cases for ipxnet, with two separate executables:
this, there's no need for an init script. The executable for users is
called "ipxnet". It logs to standard output only, and doesn't detach
from the terminal. The officially assigned UDP port number can't be
- used, as it's port 213 and normal users can't bind to ports below 1024.
+ used, as it's port 213 and normal users can't bind to ports below
+ 1024.
- Persistent daemon, that starts at boot and runs until shutdown. The
executable for this is "ipxnet-system", but you don't normally run it
- directly. Instead, there's an init script. To make ipxnet start at boot:
+ directly. Instead, there's an init script. To make ipxnet start at
+ boot:
# chmod 755 /etc/rc.d/rc.ipxnet
@@ -40,8 +42,9 @@ in the SlackBuild's environment. It's a bad idea to run this as root,
since it hasn't been audited for security. If you're really paranoid,
you probably will want to create a dedicated ipxnet user and group.
-ipxnet-system also has the cap_net_bind_service capability set, meaning
-it must be installed on a filesystem that supports capabilities (this
-includes but is not limited to ext2/3/4 and reiserfs v3). This is required
-for it to run as "nobody" yet be able to bind to low-numbered ports,
-and is a much safer alternative to running it as root.
+ipxnet-system also has the cap_net_bind_service capability set,
+meaning it must be installed on a filesystem that supports
+capabilities (this includes but is not limited to ext2/3/4 and
+reiserfs v3). This is required for it to run as "nobody" yet be able
+to bind to low-numbered ports, and is a much safer alternative to
+running it as root.
diff --git a/network/ipxnet/doinst.sh b/network/ipxnet/doinst.sh
index 5af0d51745..a767f83f1c 100644
--- a/network/ipxnet/doinst.sh
+++ b/network/ipxnet/doinst.sh
@@ -29,4 +29,4 @@ touch var/log/ipxnet.log
chown @IPXUSER@:@IPXGROUP@ var/log/ipxnet.log
# 14.2 uses tar-1.15 for makepkg, can't handle capabilities, so:
-[ -e /sbin/setcap] && /sbin/setcap cap_net_bind_service=epi usr/sbin/ipxnet-system
+[ -e /sbin/setcap ] && /sbin/setcap cap_net_bind_service=epi usr/sbin/ipxnet-system
diff --git a/network/ipxnet/ipxnet.SlackBuild b/network/ipxnet/ipxnet.SlackBuild
index c6d4810cff..f2b9ba8d63 100644
--- a/network/ipxnet/ipxnet.SlackBuild
+++ b/network/ipxnet/ipxnet.SlackBuild
@@ -1,19 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipxnet
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220411 bkw: BUILD=3
+# - put README_SBo.txt in actual doc dir (not $PKG/install!).
+
+# 20210911 bkw: fix missing space before ] in doinst.sh. Grr.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
# We install the binary setuid nobody/nogroup by default.
IPXUSER="${IPXUSER:-nobody}"
IPXGROUP="${IPXGROUP:-nogroup}"
PRGNAM=ipxnet
VERSION=${VERSION:-20120808.0dce97e}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +31,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,6 +92,8 @@ mkdir -p $PKG/var/log
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# Our README includes init script instructions, include it.
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README_SBo.txt
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
@@ -87,8 +101,5 @@ sed -e "s,@IPXUSER@,$IPXUSER,g" \
-e "s,@IPXGROUP@,$IPXGROUP,g" \
$CWD/doinst.sh > $PKG/install/doinst.sh
-# Our README includes init script instructions, include it.
-cat $CWD/README > $PKG/install/README_SBo.txt
-
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ipxnet/ipxnet.info b/network/ipxnet/ipxnet.info
index 755b99c2df..42eb0f7108 100644
--- a/network/ipxnet/ipxnet.info
+++ b/network/ipxnet/ipxnet.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/ipxnet/rc.ipxnet b/network/ipxnet/rc.ipxnet
index 22733ce0e8..30e5239887 100644
--- a/network/ipxnet/rc.ipxnet
+++ b/network/ipxnet/rc.ipxnet
@@ -1,6 +1,6 @@
#!/bin/sh
-# "Simple" init script for SBo ipxnet, by B. Watson <yalhcru@gmail.com>. If
+# "Simple" init script for SBo ipxnet, by B. Watson <urchlay@slackware.uk>. If
# you need something fancier (multiple instances of ipxnet), feel free
# to implement it here and send me the updated script. I'll add it to
# the SBo build.
diff --git a/network/ipxnet/rc.ipxnet.conf b/network/ipxnet/rc.ipxnet.conf
index bc9bfa34a0..7fae5ba482 100644
--- a/network/ipxnet/rc.ipxnet.conf
+++ b/network/ipxnet/rc.ipxnet.conf
@@ -1,4 +1,4 @@
-# Config file for SBo ipxnet startup script, by B. Watson <yalhcru@gmail.com>.
+# Config file for SBo ipxnet startup script, by B. Watson <urchlay@slackware.uk>.
# ipxnet-system binary runs setuid nobody by default, but has the
# cap_net_bind_service capability set. This gives the ipxnet-system
diff --git a/network/irc.c/README b/network/irc.c/README
new file mode 100644
index 0000000000..9996813f77
--- /dev/null
+++ b/network/irc.c/README
@@ -0,0 +1,5 @@
+irc.c (minimalist curses IRC client)
+
+The irc.c client is, as its name implies, a single C file which
+implements a usable IRC client. The display mechanism uses any
+standard curses library.
diff --git a/network/irc.c/git2tarxz.sh b/network/irc.c/git2tarxz.sh
new file mode 100644
index 0000000000..878fcc5a88
--- /dev/null
+++ b/network/irc.c/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=irc.c
+CLONE_URL=git://c9x.me/irc.git
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/network/irc.c/irc.c.1 b/network/irc.c/irc.c.1
new file mode 100644
index 0000000000..94e7f8c416
--- /dev/null
+++ b/network/irc.c/irc.c.1
@@ -0,0 +1,159 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "IRC.C" 1 "2022-01-03" "20210302_490f194" "SlackBuilds.org"
+.SH NAME
+irc.c \- minimalist curses IRC client
+.\" RST source for irc.c(1) man page. Convert with:
+.
+.\" rst2man.py irc.c.rst > irc.c.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+irc.c [\fI\-n NICK\fP] [\fI\-u USER\fP] [\fI\-s SERVER\fP] [\fI\-p PORT\fP] [\fI\-l LOGFILE\fP] [\fI\-t\fP] [\fI\-h\fP]
+.SH DESCRIPTION
+.sp
+\fBirc.c\fP is a simple IRC client. Features:
+.INDENT 0.0
+.INDENT 3.5
+.INDENT 0.0
+.IP \(bu 2
+infinite scrollback
+.IP \(bu 2
+automatic reconnection
+.IP \(bu 2
+utf8 support (inputting is still to do)
+.IP \(bu 2
+line editing (emacs like keybindings)
+.IP \(bu 2
+activity markers
+.IP \(bu 2
+logging
+.IP \(bu 2
+terminal resizes (inside an xterm)
+.UNINDENT
+.UNINDENT
+.UNINDENT
+.sp
+The user interface uses multiple windows. The first window is always
+the server window, and each channel or private message conversation
+gets its own window. Press \fB^N\fP and \fB^P\fP for next/previous window.
+.sp
+There is no config file. Options are set on the command line and/or
+in the environment.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.BI \-n \ NICK
+Sets the nickname (default: \fBIRCNICK\fP from environment; if not set, the
+username from \fB\-u\fP or \fBUSER\fP).
+.TP
+.BI \-u \ USER
+Sets the username (default: \fBUSER\fP from environment, or \fIanonymous\fP if not set).
+.TP
+.BI \-s \ SERVER
+Server to connect to (default: irc.oftc.net).
+.TP
+.BI \-p \ PORT
+Port to connect to (default: 6667).
+.TP
+.BI \-l \ FILE
+File to log recieved data (default: none). If the file already
+exists, new data is appended to it.
+.TP
+.B \-t
+Use a secured connection. For most IRC servers, you\(aqll also have to set
+\fB\-p 6697\fP (or whatever port the server uses for secure connections).
+.TP
+.B \-h
+Display help.
+.UNINDENT
+.SH COMMANDS
+.sp
+IRC commands are \fInot\fP prefixed with a slash, in this client.
+.INDENT 0.0
+.TP
+.B \fBj\fP \fIchannel\fP
+Join a channel and create a new window for it.
+.TP
+.B \fBl\fP
+Leave (part) the currently displayed channel and close its window.
+.TP
+.B \fBm\fP \fInick\fP \fImessage\fP
+Send a private message. This creates a new window for the conversation.
+.TP
+.B \fBr\fP \fItext\fP
+Send raw \fItext\fP to the server (like \fB/QUOTE\fP in other clients).
+.TP
+.B \fBq\fP
+Quit. There is no way to send a quit message.
+.UNINDENT
+.SH KEYSTROKES
+.INDENT 0.0
+.TP
+.B \fB^N\fP
+Next window.
+.TP
+.B \fB^P\fP
+Previous window.
+.TP
+.B \fBPageUp\fP
+Scroll up.
+.TP
+.B \fBPageDown\fP
+Scroll down.
+.UNINDENT
+.sp
+Emacs\-style editing keys are also supported (\fB^U\fP, \fB^W\fP, etc).
+.SH ENVIRONMENT
+.INDENT 0.0
+.TP
+.B \fBUSER\fP
+The default IRC username (override with \fB\-u\fP). This is unlike other
+IRC clients, which use \fBIRCUSER\fP\&.
+.TP
+.B \fBIRCNICK\fP
+The default IRC nickname. Override with \fB\-n\fP\&.
+.TP
+.B \fBIRCPASS\fP
+Password used to authenticate to the IRC server, if set.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+The author has placed \fBirc.c\fP in the public domain.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The irc.c homepage: \fI\%https://c9x.me/irc/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/irc.c/irc.c.SlackBuild b/network/irc.c/irc.c.SlackBuild
new file mode 100644
index 0000000000..9ddfa64138
--- /dev/null
+++ b/network/irc.c/irc.c.SlackBuild
@@ -0,0 +1,86 @@
+#!/bin/bash
+
+# Slackware build script for irc.c
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=irc.c
+VERSION=${VERSION:-20210302_490f194}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# set default server. if unspecified, use libera, because that's where
+# our #slackbuilds channel lives. man page is written by SlackBuild
+# author.
+cp $CWD/$PRGNAM.1 .
+sed -i "s,irc\\.oftc\\.net,${SERVER:-irc.libera.chat}," \
+ $PRGNAM README $PRGNAM.1
+
+# make the backspace key work, regardless of whether it sends ASCII
+# BS or DEL.
+sed -i "/CTRL('h')/a\\\\tcase 127:" $PRGNAM
+
+sed -i "s|-Os|$SLKCFLAGS|" Makefile
+
+make
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+install -s -m0755 irc $PKG/usr/bin/$PRGNAM
+gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/irc.c/irc.c.info b/network/irc.c/irc.c.info
new file mode 100644
index 0000000000..d4dc56ce33
--- /dev/null
+++ b/network/irc.c/irc.c.info
@@ -0,0 +1,10 @@
+PRGNAM="irc.c"
+VERSION="20210302_490f194"
+HOMEPAGE="https://c9x.me/irc/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/irc.c-20210302_490f194.tar.xz"
+MD5SUM="ff34e47e6167424a9a075eecbe21be0a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/irc.c/irc.c.rst b/network/irc.c/irc.c.rst
new file mode 100644
index 0000000000..c4f7508010
--- /dev/null
+++ b/network/irc.c/irc.c.rst
@@ -0,0 +1,134 @@
+.. RST source for irc.c(1) man page. Convert with:
+.. rst2man.py irc.c.rst > irc.c.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20210302_490f194
+.. |date| date::
+
+=====
+irc.c
+=====
+
+----------------------------
+minimalist curses IRC client
+----------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+irc.c [*-n NICK*] [*-u USER*] [*-s SERVER*] [*-p PORT*] [*-l LOGFILE*] [*-t*] [*-h*]
+
+DESCRIPTION
+===========
+
+**irc.c** is a simple IRC client. Features:
+
+ * infinite scrollback
+ * automatic reconnection
+ * utf8 support (inputting is still to do)
+ * line editing (emacs like keybindings)
+ * activity markers
+ * logging
+ * terminal resizes (inside an xterm)
+
+The user interface uses multiple windows. The first window is always
+the server window, and each channel or private message conversation
+gets its own window. Press **^N** and **^P** for next/previous window.
+
+There is no config file. Options are set on the command line and/or
+in the environment.
+
+OPTIONS
+=======
+
+-n NICK
+ Sets the nickname (default: **IRCNICK** from environment; if not set, the
+ username from **-u** or **USER**).
+
+-u USER
+ Sets the username (default: **USER** from environment, or *anonymous* if not set).
+
+-s SERVER
+ Server to connect to (default: irc.oftc.net).
+
+-p PORT
+ Port to connect to (default: 6667).
+
+-l FILE
+ File to log recieved data (default: none). If the file already
+ exists, new data is appended to it.
+
+-t
+ Use a secured connection. For most IRC servers, you'll also have to set
+ **-p 6697** (or whatever port the server uses for secure connections).
+
+-h
+ Display help.
+
+COMMANDS
+========
+
+IRC commands are *not* prefixed with a slash, in this client.
+
+**j** *channel*
+ Join a channel and create a new window for it.
+
+**l**
+ Leave (part) the currently displayed channel and close its window.
+
+**m** *nick* *message*
+ Send a private message. This creates a new window for the conversation.
+
+**r** *text*
+ Send raw *text* to the server (like **/QUOTE** in other clients).
+
+**q**
+ Quit. There is no way to send a quit message.
+
+KEYSTROKES
+==========
+
+**^N**
+ Next window.
+
+**^P**
+ Previous window.
+
+**PageUp**
+ Scroll up.
+
+**PageDown**
+ Scroll down.
+
+Emacs-style editing keys are also supported (**^U**, **^W**, etc).
+
+ENVIRONMENT
+===========
+
+**USER**
+ The default IRC username (override with **-u**). This is unlike other
+ IRC clients, which use **IRCUSER**.
+
+**IRCNICK**
+ The default IRC nickname. Override with **-n**.
+
+**IRCPASS**
+ Password used to authenticate to the IRC server, if set.
+
+COPYRIGHT
+=========
+
+The author has placed **irc.c** in the public domain.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The irc.c homepage: https://c9x.me/irc/
diff --git a/network/irc.c/slack-desc b/network/irc.c/slack-desc
new file mode 100644
index 0000000000..8a04cada9a
--- /dev/null
+++ b/network/irc.c/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+irc.c: irc.c (minimalist curses IRC client)
+irc.c:
+irc.c: The irc.c client is, as its name implies, a single C file which
+irc.c: implements a usable IRC client. The display mechanism uses any
+irc.c: standard curses library.
+irc.c:
+irc.c:
+irc.c:
+irc.c:
+irc.c:
+irc.c:
diff --git a/network/irc2dc/README b/network/irc2dc/README
new file mode 100644
index 0000000000..afc922f9de
--- /dev/null
+++ b/network/irc2dc/README
@@ -0,0 +1,3 @@
+IRC to DC++ chat bridge. This software provides a chat bridge between
+Internet Relay Chat chat rooms and Direct Connect hubs using the
+NMDC protocol.
diff --git a/network/irc2dc/irc2dc.SlackBuild b/network/irc2dc/irc2dc.SlackBuild
new file mode 100644
index 0000000000..43872f7007
--- /dev/null
+++ b/network/irc2dc/irc2dc.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for irc2dc
+
+# Copyright SPN Team 2022
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=irc2dc
+VERSION=${VERSION:-20121129}
+COMMIT=7fad67a4ddc1f93231d467ac3ef62605e69d3e93
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS CONTRIBUTORS COPYING ChangeLog README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/irc2dc/irc2dc.info b/network/irc2dc/irc2dc.info
new file mode 100644
index 0000000000..bc3fa04db4
--- /dev/null
+++ b/network/irc2dc/irc2dc.info
@@ -0,0 +1,10 @@
+PRGNAM="irc2dc"
+VERSION="20121129"
+HOMEPAGE="https://github.com/macro1/irc2dc"
+DOWNLOAD="https://github.com/macro1/irc2dc/archive/7fad67a4ddc1f93231d467ac3ef62605e69d3e93/irc2dc-7fad67a4ddc1f93231d467ac3ef62605e69d3e93.tar.gz"
+MD5SUM="74da2ba842baa2a111fa59611eaf87cd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="SPN Team"
+EMAIL="pwmn-master@hotmail.com"
diff --git a/network/irc2dc/slack-desc b/network/irc2dc/slack-desc
new file mode 100644
index 0000000000..3498bb13bd
--- /dev/null
+++ b/network/irc2dc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+irc2dc: irc2dc (IRC to DC++ chat bridge)
+irc2dc:
+irc2dc: This software provides a chat bridge between Internet Relay Chat
+irc2dc: chat rooms and Direct Connect hubs using the NMDC protocol.
+irc2dc:
+irc2dc:
+irc2dc:
+irc2dc:
+irc2dc:
+irc2dc:
+irc2dc: https://github.com/macro1/irc2dc
diff --git a/network/ircII/NOTES_TO_SELF b/network/ircII/NOTES_TO_SELF
new file mode 100644
index 0000000000..13128c3b0e
--- /dev/null
+++ b/network/ircII/NOTES_TO_SELF
@@ -0,0 +1,44 @@
+Notes to self:
+
+wserv and ircio are executed correctly (in the new libexec/ircII dir),
+tested them with the following results:
+
+wserv seems to work fine, in the brief bit of testing I did
+with it (/window create and related commands).
+
+ircio (the -S option) doesn't work with libera.chat: with SSL
+it fails to connect at all, and without SSL it connects but the
+server closes the connection before (or during?) sending the
+MOTD. I thought it might be due to the 4K buffer size in ircio,
+but the MOTD on libera is a lot shorter than that.
+
+I haven't tried other IRC nets with -S, because I don't actually think
+anyone cares about it (other ircII forked clients like BitchX and Epic
+never even included it).
+
+--
+
+The help and support scripts are installed in /usr/share/irc. I
+thought about changing this to /usr/share/ircII, but don't really see
+the point.
+
+--
+
+Compiling with -Wall, we get:
+
+/tmp/SBo/ircii/source/hook.c:292:40: warning: ‘%3.3u’ directive
+output may be truncated writing between 3 and 10 bytes into a region
+of size 4 [-Wformat-truncation=]
+
+On further investigation, it's a bogus warning: yes, 3.3%u could
+produce up to 10 digits... but before line 292, there's code that
+rejects any number above 999. This means sprintf will write 3 bytes of
+digits followed by the terminating \0.
+
+--
+
+We compile with ncurses, not termcap... but the code in term.c uses
+termcap functions. These are actually provided by ncurses doing
+termcap emulation. See curs_termcap(3x). In practice this works fine,
+and lets us use terminals like rxvt-unicode, for which terminfo
+entries exist but are too new to be included in crusty old termcap.
diff --git a/network/ircII/README b/network/ircII/README
index 330bfe39e2..f2d2f4add4 100644
--- a/network/ircII/README
+++ b/network/ircII/README
@@ -6,9 +6,20 @@ variety of additional options.
ircII is the oldest IRC client still maintained.
+ircII has extensive built-in help, accessed by the /help command. If
+you'd rather read the help in a browser, it's also available as:
+
+file:///usr/doc/ircII-20210616_2/html/index.html
+
By default, this SlackBuild sets the default IRC server to
"SSLIRC/chat.freenode.org:6697". This only applies with ircII is
run without a server argument on the command line. You can change
the default server by setting the DEFSRV environment variable to the
host:port (with optional SSLIRC/ prefix for a secure connection), or
compile without a default server with DEFSRV=none.
+
+Optionally, ircII can be compiled with 'paranoid mode'. This stops
+ircII from including the ircII version or realname/username in CTCP
+VERSION and FINGER responses. It also stops ircII from responding to
+channel-wide CTCP requests entirely. To do this, export PARANOID=yes
+in the script's environment.
diff --git a/network/ircII/ircII.SlackBuild b/network/ircII/ircII.SlackBuild
index 917a708aff..ffc8dd1e1a 100644
--- a/network/ircII/ircII.SlackBuild
+++ b/network/ircII/ircII.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ircII
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -10,13 +10,31 @@
# Normally I prefer all-lowercase package names, but this just looks
# *wrong* as "ircii".
+# 20210913 bkw:
+# - update for v20210616. The datestamp comes from the output of
+# "ircII -v" (not the ChangeLog).
+# - change DEFSRV to irc.libera.chat, now that freenode is a wasteland.
+# - use a private libexec/ircII dir instead of binaries in /usr/libexec.
+# done because some other ircII-based client might conflict someday.
+# - generate and include HTML docs.
+# - add NOTES_TO_SELF to avoid cluttering up the script with comments.
+# - correct and expand Debian's man pages.
+# - add support for 'paranoid mode'.
+# - have slack-desc show default server and paranoid mode.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ircII
-VERSION=${VERSION:-20190117_1}
+VERSION=${VERSION:-20210616_2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=${PRGNAM,,}
SRCVER=${VERSION%_*}
+
+# We're applying Debian's patches against a slightly older version.
+DEBSRCVER=20210328
DEBVER=${VERSION#*_}
if [ -z "$ARCH" ]; then
@@ -27,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,7 +70,14 @@ fi
set -e
-DEFSRV="${DEFSRV:-SSLIRC/chat.freenode.org:6697}"
+PARANOID="${PARANOID:-no}"
+case "$PARANOID" in
+ y*|Y*|t*|T*|1) para_opt="--with-paranoid" ;;
+ *) para_opt="--without-paranoid" ;;
+esac
+echo "=== PARANOID='$PARANOID', para_opt='$para_opt'"
+
+DEFSRV="${DEFSRV:-SSLIRC/irc.libera.chat:6697}"
case "$DEFSRV" in
none|NONE) ;;
*:*) srvopt="--with-default-server=$DEFSRV" ;;
@@ -61,16 +90,24 @@ echo "=== DEFSRV='$DEFSRV', srvopt='$srvopt'"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
-cd $SRCNAM-$SRCVER
-tar xvf $CWD/${SRCNAM}_$SRCVER-$DEBVER.debian.tar.xz
+rm -rf $SRCNAM
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.bz2
+cd $SRCNAM
+tar xvf $CWD/${SRCNAM}_$DEBSRCVER-$DEBVER.debian.tar.xz
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-# apply most of Debian's patches.
-rm -f debian/patches/0004-absolute-path*
+# apply most of Debian's patches, except:
+# - the absolute-path patch would move the nonexistent
+# /usr/share/irc/ircII.{motd,servers} to /etc/irc/{motd,servers}.
+# Since we don't ship either file, and their paths are settable in
+# ~/.ircrc anyway, I see no use for this patch.
+# - the Add-ioption patch is meant to fix some compile warnings that we
+# don't actually get. Plus, it won't apply cleanly.
+rm -f debian/patches/0004-absolute-path* \
+ debian/patches/0003-Add-ioption*
+
for i in $( cat debian/patches/series ); do
[ -e debian/patches/$i ] && patch -p1 < debian/patches/$i
done
@@ -85,16 +122,25 @@ sed -i -e '1i#include <curses.h>' \
sed -i -e '/AC_CHECK_LIB(termcap/s,termcap,ncurses,g' \
-e 's,termcap\.h ,,' \
configure.in
+
+# my own typo/grammar/etc fixes. minor nitpicks, maybe.
+patch -p1 < $CWD/manpage.diff
+
autoreconf -ifv
# is there a disadvantage to enabling emacs meta keys?
-CFLAGS="$SLKCFLAGS -Wl,-s" \
-CXXFLAGS="$SLKCFLAGS -Wl,-s" \
+# 20210913 bkw: force --with-openssl, rather than letting it
+# autodetect. this is so we can find out right away if Slackware's
+# openssl gets upgraded to something ircII doesn't yet support.
+CFLAGS="$SLKCFLAGS -Wall -Wl,-s" \
./configure \
$srvopt \
+ $para_opt \
--with-emacs-meta-keys \
+ --with-openssl \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec/$PRGNAM \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -109,24 +155,33 @@ mkdir -p $PKG/usr/man/man1
make install DESTDIR=$PKG mandir=$PKG/usr/man/man1
# package called ircII, so let's have an ircII executable.
-ln -s irc-$VERSION $PKG/usr/bin/$PRGNAM
+ln -s $(basename $(realpath $PKG/usr/bin/irc)) $PKG/usr/bin/$PRGNAM
rm -f $PKG/usr/man/man1/irc.1
gzip -9 $PKG/usr/man/man1/*.1
ln -s ircII.1.gz $PKG/usr/man/man1/irc.1.gz
-# Debian includes some extra man pages
-for i in debian/*.1; do
- gzip -9c < $i > $PKG/usr/man/man1/$( basename $i ).gz
+# Debian includes some extra man pages. I've expanded them a bit and
+# fixed some typos.
+for i in $CWD/man/*.1; do
+ sed "s,@VERSION@,$VERSION,g" < $i | \
+ gzip -9c > $PKG/usr/man/man1/$( basename $i ).gz
done
-rm -f doc/*.1 doc/*.spec*
+# HTML docs (generated from /help text). Sure, why not?
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+perl doc/help2html.pl $PKG/usr/share/irc/help $PKG/usr/doc/$PRGNAM-$VERSION/html
+
+rm -f doc/*.1 doc/*.spec* doc/*.orig doc/*.pl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog NEWS README doc/* contrib $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed -e "s,@para_opt@,$para_opt," \
+ -e "s,@srvopt@,$srvopt," \
+ < $CWD/slack-desc \
+ > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ircII/ircII.info b/network/ircII/ircII.info
index 241b6c6e91..10744e2162 100644
--- a/network/ircII/ircII.info
+++ b/network/ircII/ircII.info
@@ -1,12 +1,12 @@
PRGNAM="ircII"
-VERSION="20190117_1"
+VERSION="20210616_2"
HOMEPAGE="http://www.eterna.com.au/ircii/"
-DOWNLOAD="http://ircii.warped.com/ircii-20190117.tar.gz \
- http://deb.debian.org/debian/pool/main/i/ircii/ircii_20190117-1.debian.tar.xz"
-MD5SUM="f0ca9ade8aa068acddbe15b215c0b22a \
- 6d077f10fb7133141d9e6bcba4ad0314"
+DOWNLOAD="https://slackware.uk/~urchlay/src/ircii-20210616.tar.bz2 \
+ https://deb.debian.org/debian/pool/main/i/ircii/ircii_20210328-2.debian.tar.xz"
+MD5SUM="521ede3dd468100373a9783841bc7a81 \
+ 335e7e22d6a1c106f874586a81c7ea3d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/ircII/man/ircflush.1 b/network/ircII/man/ircflush.1
new file mode 100644
index 0000000000..35562f3ff5
--- /dev/null
+++ b/network/ircII/man/ircflush.1
@@ -0,0 +1,30 @@
+.TH ircflush 1 "September 2021" "ircII @VERSION@" "SlackBuilds.org"
+.SH NAME
+ircflush \- a little program that tricks another program into line buffering its output
+.SH SYNOPSIS
+.B ircflush
+.RB [ program ]
+.RB [ arguments to program
+.SH DESCRIPTION
+What's the deal here? Well, it's like this. First we find an open
+tty/pty pair. Then we fork three processes. The first reads from stdin
+and sends the info to the master device. The next process reads from the
+master device and sends stuff to stdout. The last processes is the rest
+of the command line arguments exec'd. By doing all this, the exec'd
+process is fooled into flushing each line of output as it occurs.
+.P
+This program is intended as a 'helper' for ircII scripts.
+.SH OPTIONS
+.TP
+.B [ program ]
+.TP
+.B [ arguments to program]
+.TP
+.RE
+.SH AUTHOR
+.EX
+Michael Sandrof
+.EE
+.SH SEE ALSO
+.BR ircII (1),
+.BR irc (1)
diff --git a/network/ircII/man/ircio.1 b/network/ircII/man/ircio.1
new file mode 100644
index 0000000000..76dfa2cae5
--- /dev/null
+++ b/network/ircII/man/ircio.1
@@ -0,0 +1,39 @@
+.TH ircio 1 "September 2021" "ircII @VERSION@" "SlackBuilds.org"
+.SH NAME
+ircio \- A quaint little program to make irc life PING free
+.SH DESCRIPTION
+This little program connects to the server (given as arg 1) on
+the given port (given as arg 2). It then accepts input from stdin and
+sends it to that server. Likewise, it reads stuff sent from the server and
+sends it to stdout. Simple? Yes, it is. But wait! There's more! It
+also intercepts server PINGs and automatically responds to them. This
+frees up the process that starts ircio (such as IRCII) to pause without
+fear of being pooted off the net.
+.P
+.B ircio
+is not intended to be run by itself. It's started by ircII's -S command\-line
+option.
+.P
+.SH BUGS
+.B ircio
+doesn't work at all with SSL\-enabled IRC connections. It also
+doesn't work properly with the
+.B libera.chat
+network even without SSL: you can connect, but you'll get disconnected
+before the MOTD is sent.
+.P
+There are better ways to solve the problem
+.B ircio
+solves, such as
+.BR screen (1),
+.BR tmux (1),
+or just multiple X terminals. There's no need to suspend
+.B ircII
+in such environments.
+.SH AUTHOR
+.EX
+Michael Sandrof
+.EE
+.SH SEE ALSO
+.BR ircII (1),
+.BR ircflush (1)
diff --git a/network/ircII/man/wserv.1 b/network/ircII/man/wserv.1
new file mode 100644
index 0000000000..1c547ab128
--- /dev/null
+++ b/network/ircII/man/wserv.1
@@ -0,0 +1,30 @@
+.TH wserv 1 "September 2021" "ircII @VERSION@" "SlackBuilds.org"
+.SH NAME
+wserv \- little program that acts as a pipe between a screen or xterm window to the calling ircII process
+.SH SYNOPSIS
+.B wserv
+.RB [ /path/to/socket ]
+.RB [ /path/to/control ]
+.SH DESCRIPTION
+Works by opening up the unix domain socket that ircII binds
+before calling wserv, and which ircII also deletes after the
+connection has been made.
+.P
+.B wserv
+is not useful by itself. It gets run as needed by ircII when the
+.B /window create
+command is executed.
+.P
+.SH OPTIONS
+.TP
+.B [ /path/to/socket ]
+.TP
+.B [ /path/to/control ]
+.SH AUTHOR
+.EX
+Michael Sandrof
+.EE
+.SH SEE ALSO
+.BR ircII (1),
+.BR ircio (1),
+.B /help window create
diff --git a/network/ircII/manpage.diff b/network/ircII/manpage.diff
new file mode 100644
index 0000000000..4ad650926a
--- /dev/null
+++ b/network/ircII/manpage.diff
@@ -0,0 +1,38 @@
+diff -Naur ircii/doc/ircII.1 ircii.patched/doc/ircII.1
+--- ircii/doc/ircII.1 2021-06-18 14:20:02.000000000 -0400
++++ ircii.patched/doc/ircII.1 2021-09-13 23:51:35.255955020 -0400
+@@ -332,17 +332,17 @@
+ .Nm
+ scripts, that can then be loaded with
+ .Ic /load
+-.It Pa .../share/irc/
++.It Pa /usr/share/irc/
+ directory containing message-of-the-day, master initialization, help files, and
+ .Nm
+ scripts
+-.It Pa .../share/irc/script/global
++.It Pa /usr/share/irc/script/global
+ file loaded at the start of every
+ .Nm
+ session.
+-.It Pa PREFIX/share/irc/ircII.servers
++.It Pa /usr/share/irc/ircII.servers
+ The initial list of servers if none are provided on the command line.
+-.It Pa PREFIX/share/irc/ircII.motd
++.It Pa /usr/share/irc/ircII.motd
+ Message of the day.
+ This file is displayed only once each time it is changed.
+ .El
+@@ -399,9 +399,9 @@
+ .Ic /HELP \&?
+ command as this prints a listing of all available help files.
+ .Pp
+-Access to HTML version of the help files is availble from
+-.Lk http://eterna.com.au/ircii/help/ .
+-Note that these are generated from the builtin help files and
++Access to HTML versions of the help files is available from
++.Lk http://eterna.com.au/ircii/help/
++; note that these are generated from the builtin help files and
+ may have formatting issues.
+ .Sh SIGNALS
+ .Nm
diff --git a/network/ircII/slack-desc b/network/ircII/slack-desc
index 7086e8cd94..9783ec6e2b 100644
--- a/network/ircII/slack-desc
+++ b/network/ircII/slack-desc
@@ -14,6 +14,6 @@ ircII: variety of additional options.
ircII:
ircII: ircII is the oldest IRC client still maintained.
ircII:
-ircII:
-ircII:
-ircII:
+ircII: Build options:
+ircII: @para_opt@
+ircII: @srvopt@
diff --git a/network/ircd-hybrid/README b/network/ircd-hybrid/README
index 48668a59a7..3734b6a099 100644
--- a/network/ircd-hybrid/README
+++ b/network/ircd-hybrid/README
@@ -1,13 +1,13 @@
ircd-hybrid (A lightweight, high-performance IRC daemon)
-ircd is the server (daemon) program for the Internet Relay Chat Program. The
-ircd is a server in that its function is to "serve" the client program irc
-and other compatible programs with messages and commands. All commands and
-user messages are passed directly to the ircd for processing and relaying to
-other IRC servers.
+ircd is the server (daemon) program for the Internet Relay Chat
+Program. The ircd is a server in that its function is to "serve" the
+client program irc and other compatible programs with messages and
+commands. All commands and user messages are passed directly to the
+ircd for processing and relaying to other IRC servers.
-This is ircd-hybrid, the highly modified (and hopefully improved) variant of
-the original ircd program by Jarkko Oikarinen.
+This is ircd-hybrid, the highly modified (and hopefully improved)
+variant of the original ircd program by Jarkko Oikarinen.
Groupname and Username
diff --git a/network/ircd-hybrid/doinst.sh b/network/ircd-hybrid/doinst.sh
index 98a9f66cdb..4185f70561 100644
--- a/network/ircd-hybrid/doinst.sh
+++ b/network/ircd-hybrid/doinst.sh
@@ -22,5 +22,4 @@ preserve_perms() {
config $NEW
}
-config etc/ircd/ircd.conf.new
preserve_perms etc/rc.d/rc.ircd.new
diff --git a/network/ircd-hybrid/ircd-hybrid.SlackBuild b/network/ircd-hybrid/ircd-hybrid.SlackBuild
index 0c2a6bb871..33bf9bf445 100644
--- a/network/ircd-hybrid/ircd-hybrid.SlackBuild
+++ b/network/ircd-hybrid/ircd-hybrid.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ircd-hybrid
-# Copyright 2018-2020 Ebben Aries <slackbuilds@dscp.org>
+# Copyright 2018-2022 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ircd-hybrid
BINNAM=ircd
-VERSION=${VERSION:-8.2.36}
+VERSION=${VERSION:-8.2.43}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -47,7 +50,14 @@ elif ! getent passwd $BINNAM; then
exit 1
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -109,10 +119,6 @@ mkdir -p $PKG/var/log/ircd
chown ircd:ircd $PKG/var/log/ircd
chmod 0755 $PKG/var/log/ircd
-mkdir -p $PKG/var/run/ircd
-chown ircd:ircd $PKG/var/run/ircd
-chmod 0750 $PKG/var/run/ircd
-
mkdir -p $PKG/var/lib/ircd
chown ircd:ircd $PKG/var/lib/ircd
chmod 0750 $PKG/var/lib/ircd
@@ -121,7 +127,7 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.ircd.new > $PKG/etc/rc.d/rc.ircd.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README \
+cp -a AUTHORS.md COPYING.md INSTALL.md NEWS.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -130,4 +136,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ircd-hybrid/ircd-hybrid.info b/network/ircd-hybrid/ircd-hybrid.info
index adbe79db3d..aecb5942fc 100644
--- a/network/ircd-hybrid/ircd-hybrid.info
+++ b/network/ircd-hybrid/ircd-hybrid.info
@@ -1,8 +1,8 @@
PRGNAM="ircd-hybrid"
-VERSION="8.2.36"
+VERSION="8.2.43"
HOMEPAGE="http://www.ircd-hybrid.org/"
-DOWNLOAD="https://github.com/ircd-hybrid/ircd-hybrid/archive/8.2.36/ircd-hybrid-8.2.36.tar.gz"
-MD5SUM="38e4448f05a66468b3fa96a6c682cf79"
+DOWNLOAD="https://github.com/ircd-hybrid/ircd-hybrid/archive/8.2.43/ircd-hybrid-8.2.43.tar.gz"
+MD5SUM="00bb3ec521f59b8ec44aba09d05f04c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/ircd-hybrid/rc.ircd.new b/network/ircd-hybrid/rc.ircd.new
index 9011ea8533..448e269a39 100644
--- a/network/ircd-hybrid/rc.ircd.new
+++ b/network/ircd-hybrid/rc.ircd.new
@@ -21,7 +21,10 @@ ircd_start() {
fi
echo "Starting IRC daemon ..."
- sudo -u $NAME $DAEMON $DAEMON_ARGS
+ mkdir -p $(dirname $PIDFILE)
+ chown ircd:ircd $(dirname $PIDFILE)
+ chmod 0750 $(dirname $PIDFILE)
+ setpriv --reset-env --reuid $NAME $DAEMON $DAEMON_ARGS
}
ircd_stop() {
diff --git a/network/irssi-icb/README b/network/irssi-icb/README
new file mode 100644
index 0000000000..66d656a937
--- /dev/null
+++ b/network/irssi-icb/README
@@ -0,0 +1,9 @@
+irssi-icb (irssi plugin for ICB)
+
+ICB (International CB) is a teleconferencing system that allows
+Internet users to participate in realtime online discussions (similar
+to IRC). irssi-icb is a plugin for the irssi IRC client that allows it
+to chat on the ICB network.
+
+See /usr/doc/irssi-icb-*/README for directions on how to load the
+module into irssi and connect to an ICB server.
diff --git a/network/irssi-icb/git2tarxz.sh b/network/irssi-icb/git2tarxz.sh
new file mode 100644
index 0000000000..9f44fbdefc
--- /dev/null
+++ b/network/irssi-icb/git2tarxz.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+# 20230919 bkw: contains irssi-icb specific code, don't use as a template.
+
+PRGNAM=irssi-icb
+CLONE_URL=https://github.com/landryb/irssi-icb
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+UPSTREAM_VER="$( grep "^AC_INIT" configure.ac | cut -d'[' -f3 |cut -d']' -f1 )"
+
+VERSION=$UPSTREAM_VER+${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/network/irssi-icb/irssi-icb.SlackBuild b/network/irssi-icb/irssi-icb.SlackBuild
new file mode 100644
index 0000000000..f945be5298
--- /dev/null
+++ b/network/irssi-icb/irssi-icb.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for irssi-icb
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# There's 3 forks of this on github (or, one original and two forks):
+# https://github.com/mglocker/irssi-icb - updated 2016
+# https://github.com/jperkin/irssi-icb - updated 2012
+# https://github.com/landryb/irssi-icb - updated 2022
+# The landryb fork is the only one that will work with irssi-1.4.x,
+# so that's what this build packages.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=irssi-icb
+VERSION=${VERSION:-0.17+20220616_4fd6aff}
+IRSSIVER=${IRSSIVER:-1.4.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+tar xvf $CWD/irssi-$IRSSIVER.tar.xz
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+sh autorun.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --with-irssi=$(pwd)/irssi-$IRSSIVER \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+# sed stuff below removes the compile/install instructions from README,
+# so all that's left is config instructions.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING $PKGDOC
+sed -n '/^load in/,$p' README > $PKGDOC/README
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/irssi-icb/irssi-icb.info b/network/irssi-icb/irssi-icb.info
new file mode 100644
index 0000000000..f8d5ebacad
--- /dev/null
+++ b/network/irssi-icb/irssi-icb.info
@@ -0,0 +1,12 @@
+PRGNAM="irssi-icb"
+VERSION="0.17+20220616_4fd6aff"
+HOMEPAGE="https://github.com/landryb/irssi-icb"
+DOWNLOAD="https://slackware.uk/~urchlay/src/irssi-icb-0.17+20220616_4fd6aff.tar.xz \
+ https://github.com/irssi/irssi/releases/download/1.4.4/irssi-1.4.4.tar.xz"
+MD5SUM="9da79e53c48f606831e5ebc2fee7434a \
+ c1787858ede8d875be5e2ddb8c2bc95e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/irssi-icb/slack-desc b/network/irssi-icb/slack-desc
new file mode 100644
index 0000000000..0223c6fe6a
--- /dev/null
+++ b/network/irssi-icb/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+irssi-icb: irssi-icb (irssi plugin for ICB)
+irssi-icb:
+irssi-icb: ICB (International CB) is a teleconferencing system that allows
+irssi-icb: Internet users to participate in realtime online discussions (similar
+irssi-icb: to IRC). irssi-icb is a plugin for the irssi IRC client that allows it
+irssi-icb: to chat on the ICB network.
+irssi-icb:
+irssi-icb:
+irssi-icb:
+irssi-icb:
+irssi-icb:
diff --git a/network/irssi-python/README b/network/irssi-python/README
index 221c1f7730..efe5a65fb2 100644
--- a/network/irssi-python/README
+++ b/network/irssi-python/README
@@ -1,28 +1,39 @@
-irssi-python (Python 2.x scripting support for irssi)
+irssi-python (Python 3 scripting support for irssi)
irssi-python embeds Python into an Irssi module, providing most of the
functionality of the Perl wrapper to Python scripts using a similar
interface.
-After the package is installed, you can test it from within irssi
-by running "/load python". If this works OK, you can configure irssi
-to always load the module with a command like:
+After the package is installed, you can test it from within irssi by
+running "/load python". If this works OK, you can configure irssi to
+always load the module with a command like:
$ echo 'load python' >> ~/.irssi/startup
+Example python scripts can be found in /usr/share/irssi/scripts/*.py
+
+Note that previous versions of irssi-python used Python 2. If you've
+written any scripts, they may have to be modified for Python 3.
+
Beware of upgrades: if Slackware's irssi or python packages are ever
upgraded, you'll almost certainly have to rebuild & reinstall this.
-Symptoms may include irssi ABI version mismatch errors or segfaults.
+Symptoms may include irssi ABI version mismatch errors, undefined
+symbols, or segfaults.
If you get a warning about an irssi version mismatch when building
-irssi-python, first update your irssi package to the latest one in
-patches/:
+irssi-python, first update your irssi package to the latest one for
+your Slackware version:
# slackpkg update
# slackpkg upgrade irssi
-If you still get the warning, set the environment variable IRSSI_VER
-to the correct irssi version. You'll also have to have the irssi source
-tarball in the SlackBuild directory. It should be available from:
+If you still get the warning, set the environment variable VERSION.
+The first part of VERSION (before the last _) should not change, but
+the part after the last _ is the irssi version. Example:
+
+# VERSION="20230512_9ab753d_1.4.5" sh irssi-python.SlackBuild
+
+You'll also have to have the irssi .tar.xz source tarball in the
+SlackBuild directory. It should be available from:
-http://ftp.slackware.com/pub/slackware/slackware-14.2/patches/source/irssi/
+https://github.com/irssi/irssi/releases/
diff --git a/network/irssi-python/irssi-python.SlackBuild b/network/irssi-python/irssi-python.SlackBuild
index 890a129025..3c92b9519c 100644
--- a/network/irssi-python/irssi-python.SlackBuild
+++ b/network/irssi-python/irssi-python.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for irssi-python
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -11,15 +11,44 @@
# tarball. Unfortunately, the release tarball is un-buildable because it's
# missing various files. Also it's missing the entire doc/ directory.
+# VERSION is the irssi-python version, an underscore, and the irssi
+# version we're building it for.
+# Unfortunately we have to pick an irssi version to be the default,
+# because the DOWNLOAD links are static (can't have $VERSION or such in
+# them). This build will have to be updated any time Pat does an irssi
+# version update.
+
+# 20230707 bkw: update for 20230512_9ab753d_1.4.4 (latest git that
+# works with python-3.9; later commits break it). needed because
+# Slackware 15.0's patches/ has irssi-1.4.4, which is too new for the
+# irssi-python-test4 release. Source tarball made with:
+# sh git2tarxz.sh 9ab753db9a
+
+# 20211208 bkw: update for vtest4_1.2.3.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=irssi-python
-VERSION=${VERSION:-test4}
+VERSION=${VERSION:-20230512_9ab753d_1.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-# Unfortunately we have to pick an irssi version to be the default,
-# because the DOWNLOAD links are static (can't have $VERSION or such in
-# them). 1.0.7 is the latest in patches/ at the time of this writing.
-IRSSI_VER="${IRSSI_VER:-1.0.7}"
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+PYIRSSI_VER="$( echo $VERSION | cut -d_ -f1,2 )"
+IRSSI_VER="$( echo $VERSION | cut -d_ -f3 )"
# Alert the user (but don't stop the build) if $IRSSI_VER doesn't match
# the installed version of irssi.
@@ -34,15 +63,6 @@ EOF
sleep 5
fi
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +89,7 @@ cd $TMP
rm -rf $PRGNAM
mkdir -p $PRGNAM
cd $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$PYIRSSI_VER.tar.xz
tar xvf $CWD/irssi-$IRSSI_VER.tar.xz
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -94,10 +114,17 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
## --build=$ARCH-slackware-linux
## cd $TMP/$PRGNAM
-cd $PRGNAM-$VERSION
+cd $PRGNAM-$PYIRSSI_VER
autoreconf -ivf -I.
+# configure script expects to read this info via pkg-config, but our
+# irssi-1.pc file doesn't have the variables for it. not sure why not,
+# but this is what it would have read anyway.
+sed -i -e "/IRSSI_SIGNALSFILE/s,=.*,=/usr/doc/irssi-$IRSSI_VER/signals.txt," \
+ -e "/IRSSI_MODULEDIR/s,=.*,=/usr/lib$LIBDIRSUFFIX/irssi/modules," \
+ configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -110,17 +137,21 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make -C src constants
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/irssi/modules/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog NEWS README TODO classes.txt docs/*html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20211208 bkw: it might be redundant to include the irssi version
+# in the slack-desc, since it's now in the actual version number, but
+# belt and suspenders...
mkdir -p $PKG/install
sed "s/@IRSSI_VER@/$IRSSI_VER/" $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/irssi-python/irssi-python.info b/network/irssi-python/irssi-python.info
index fea8699379..3e0c36ec28 100644
--- a/network/irssi-python/irssi-python.info
+++ b/network/irssi-python/irssi-python.info
@@ -1,12 +1,12 @@
PRGNAM="irssi-python"
-VERSION="test4"
+VERSION="20230512_9ab753d_1.4.4"
HOMEPAGE="https://github.com/irssi-import/irssi-python"
-DOWNLOAD="https://github.com/irssi-import/irssi-python/archive/test4/irssi-python-test4.tar.gz \
- http://ftp.slackware.com/pub/slackware/slackware-14.2/patches/source/irssi/irssi-1.0.7.tar.xz"
-MD5SUM="efd8c4b284cb2b2b3313e9109cbb324a \
- 6ebf07a03b58f7af1296cd8fdbb3619f"
+DOWNLOAD="https://slackware.uk/~urchlay/src/irssi-python-20230512_9ab753d.tar.xz \
+ https://github.com/irssi/irssi/releases/download/1.4.4/irssi-1.4.4.tar.xz"
+MD5SUM="8b28b4911eeb7aec97a05292e612e513 \
+ c1787858ede8d875be5e2ddb8c2bc95e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/irssi-python/slack-desc b/network/irssi-python/slack-desc
index a3607849ee..22f7a43ef1 100644
--- a/network/irssi-python/slack-desc
+++ b/network/irssi-python/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-irssi-python: irssi-python (Python2 scripting support for irssi)
+irssi-python: irssi-python (Python3 scripting support for irssi)
irssi-python:
irssi-python: irssi-python embeds Python into an Irssi module, providing most
irssi-python: of the functionality of the Perl wrapper to Python scripts using a
diff --git a/network/irssi_otr/README b/network/irssi_otr/README
index 62aee9b553..eddc6003a3 100644
--- a/network/irssi_otr/README
+++ b/network/irssi_otr/README
@@ -2,9 +2,5 @@ irssi_otr (OTR plugin for irssi)
Off-the-Record Messaging (OTR) plugin for the irssi IRC client
-To use OTR within irssi, install this package, then "/load libotr"
-and "/otr help" for usage instructions. Also see the README in
-/usr/doc/irssi_otr-$VERSION.
-
-irssi_otr formerly had support for xchat, but it was removed by
-upstream. Be aware of this when upgrading.
+To use OTR within irssi: install this package, then "/load otr".
+See "/otr help" for usage instructions.
diff --git a/network/irssi_otr/irssi_otr.SlackBuild b/network/irssi_otr/irssi_otr.SlackBuild
index 2036562201..8be16f289b 100644
--- a/network/irssi_otr/irssi_otr.SlackBuild
+++ b/network/irssi_otr/irssi_otr.SlackBuild
@@ -1,11 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for irssi_otr
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210914 bkw: updated for v1.2.3. There is no longer a separate
+# irssi-otr source: it's now included in the irssi source. However,
+# Slackware's irssi package doesn't include it because Slackware
+# doesn't include libotr.
+
+# 20230711 bkw: updated for 1.4.4 (to stay in step with patches/).
+
# 20170302 bkw: use long-format github URL
# 20170121 bkw:
@@ -26,10 +33,13 @@
# - upstream switched from cmake to autoconf, rewrite most of script.
# - xchat support was dropped by upstream, so remove all references.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=irssi_otr
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +49,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,7 +72,7 @@ else
LIBDIRSUFFIX=""
fi
-TARNAM=$( echo $PRGNAM | sed 's/_/-/g' )
+TARNAM=irssi
set -e
@@ -66,39 +80,42 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TARNAM-$VERSION
-tar xvf $CWD/$TARNAM-$VERSION.tar.gz
+tar xvf $CWD/$TARNAM-$VERSION.tar.?z
cd $TARNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-./bootstrap
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# This bit's modified from PV's irssi.SlackBuild.
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
- --with-irssi-module-dir=/usr/lib$LIBDIRSUFFIX/irssi/modules \
+ --with-otr=yes \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --sysconfdir=/etc \
+ --docdir=/usr/doc/irssi-$VERSION \
+ --enable-true-color \
+ --with-textui \
+ --with-perl-lib=vendor \
+ --with-proxy \
--build=$ARCH-slackware-linux
-make V=1
+# Don't have to build all of irssi, just our one module.
+cd src/otr
+make
make install-strip DESTDIR=$PKG
-# AUTHORS is a 0-byte placeholder.
+# Don't need the static lib nor .la
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/irssi/modules/*a
+
+# Include our own README
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/irssi_otr/irssi_otr.info b/network/irssi_otr/irssi_otr.info
index f7e86366b1..cd01ff1389 100644
--- a/network/irssi_otr/irssi_otr.info
+++ b/network/irssi_otr/irssi_otr.info
@@ -1,10 +1,10 @@
PRGNAM="irssi_otr"
-VERSION="1.0.2"
-HOMEPAGE="https://github.com/cryptodotis/irssi-otr"
-DOWNLOAD="https://github.com/cryptodotis/irssi-otr/archive/v1.0.2/irssi-otr-1.0.2.tar.gz"
-MD5SUM="5f217dade49593f8505fecc5a5d322d2"
+VERSION="1.4.4"
+HOMEPAGE="https://irssi.org/modules/"
+DOWNLOAD="https://github.com/irssi/irssi/releases/download/1.4.4/irssi-1.4.4.tar.xz"
+MD5SUM="c1787858ede8d875be5e2ddb8c2bc95e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libotr"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/isync/README b/network/isync/README
index 2dbe7ee081..69adcd6f7b 100644
--- a/network/isync/README
+++ b/network/isync/README
@@ -1,11 +1,11 @@
-isync is a command line application which synchronizes mailboxes; currently
-Maildir and IMAP4 mailboxes are supported. New messages, message deletions
-and flag changes can be propagated both ways. isync is suitable for use in
-IMAP-disconnected mode.
+isync is a command line application which synchronizes mailboxes;
+currently Maildir and IMAP4 mailboxes are supported. New messages,
+message deletions and flag changes can be propagated both ways. isync
+is suitable for use in IMAP-disconnected mode.
Synchronization is based on unique message identifiers (UIDs), so
no identification conflicts can occur (as opposed to some other mail
-synchronizers). Synchronization state is kept in one local text file per
-mailbox pair; multiple replicas of a mailbox can be maintained.
+synchronizers). Synchronization state is kept in one local text file
+per mailbox pair; multiple replicas of a mailbox can be maintained.
See README.SLACKWARE for setup information after installation.
diff --git a/network/isync/isync.SlackBuild b/network/isync/isync.SlackBuild
index 3b7657ddfe..063c2f4db5 100644
--- a/network/isync/isync.SlackBuild
+++ b/network/isync/isync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for isync
@@ -28,10 +28,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=isync
-VERSION=${VERSION:-1.3.3}
+VERSION=${VERSION:-1.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,13 +44,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/isync/isync.info b/network/isync/isync.info
index 22a2f558bb..4f105baa0d 100644
--- a/network/isync/isync.info
+++ b/network/isync/isync.info
@@ -1,8 +1,8 @@
PRGNAM="isync"
-VERSION="1.3.3"
+VERSION="1.4.4"
HOMEPAGE="http://isync.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/isync/isync-1.3.3.tar.gz"
-MD5SUM="5e29a2da627492fe4311c4b9630ba643"
+DOWNLOAD="http://downloads.sourceforge.net/isync/isync-1.4.4.tar.gz"
+MD5SUM="29acced5c6f0c87e631b0ff641f8f942"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/jabberd2/README b/network/jabberd2/README
index 20318f1015..ef03a9bb05 100644
--- a/network/jabberd2/README
+++ b/network/jabberd2/README
@@ -1,6 +1,7 @@
jabberd 2.x project is the next generation of the jabberd project. It
has been rewritten from the ground up to be scalable, architecturally
-sound and to support the latest protocol extensions coming out of the XSF.
+sound and to support the latest protocol extensions coming out of
+the XSF.
Please note: jabberd 2.x is not a newer version of jabberd 1.x but a
completely different project.
diff --git a/network/jabberd2/jabberd2.SlackBuild b/network/jabberd2/jabberd2.SlackBuild
index 642107b5e7..524025d773 100644
--- a/network/jabberd2/jabberd2.SlackBuild
+++ b/network/jabberd2/jabberd2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jabberd2
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jabberd2
-VERSION=${VERSION:-2.2.17}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.7.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,8 +55,8 @@ JABBERGRP=${JABBERGRP:-jabber}
JABBERUID=${JABBERUID:-275}
JABBERGID=${JABBERGID:-275}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -117,7 +127,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/tools
cp -a \
AUTHORS COPYING ChangeLog INSTALL NEWS README README.config README.protocol \
- README.win32 TODO UPGRADE \
+ README.win32 TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
tools/bdb2mysql.rb tools/bdbdump.pl tools/db-jd14-2-jd2.sql \
@@ -131,11 +141,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/rc.d \
$PKG/var/lib/jabberd2/{db,fs,stats} \
- $PKG/var/log/jabberd2 \
- $PKG/var/run/jabberd2
-chown -R $JABBERUSR.$JABBERGRP $PKG/var/lib/jabberd2 \
- $PKG/var/log/jabberd2 \
- $PKG/var/run/jabberd2
+ $PKG/var/log/jabberd2
+chown -R $JABBERUSR:$JABBERGRP $PKG/var/lib/jabberd2 $PKG/var/log/jabberd2
install -o root -g root -m 644 $CWD/rc.jabberd2 $PKG/etc/rc.d/rc.jabberd2.new
sed -i -e "s/%JABBERUSR%/$JABBERUSR/g" $PKG/etc/rc.d/rc.jabberd2.new
@@ -144,7 +151,7 @@ rm -r $PKG/usr/etc \
$PKG/etc/jabberd2/templates/*.dist
find $PKG/etc/jabberd2 -type f -exec mv {} {}.new \;
-find $PKG/etc/jabberd2 -type f -exec chown root.$JABBERGRP {} \; -exec chmod 640 {} \;
+find $PKG/etc/jabberd2 -type f -exec chown root:$JABBERGRP {} \; -exec chmod 640 {} \;
sed -i -e "s#var/jabberd/pid#var/run/jabberd2#g" $PKG/etc/jabberd2/c2s.xml.new
sed -i -e "s#var/jabberd/log#var/log/jabberd2#g" $PKG/etc/jabberd2/c2s.xml.new
sed -i -e "s#var/jabberd/stats#var/lib/jabberd2/stats#g" $PKG/etc/jabberd2/c2s.xml.new
@@ -163,4 +170,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/jabberd2/jabberd2.info b/network/jabberd2/jabberd2.info
index 8958329f97..61e70d9fe0 100644
--- a/network/jabberd2/jabberd2.info
+++ b/network/jabberd2/jabberd2.info
@@ -1,8 +1,8 @@
PRGNAM="jabberd2"
-VERSION="2.2.17"
+VERSION="2.7.0"
HOMEPAGE="http://www.jabberd2.org"
-DOWNLOAD="https://github.com/downloads/jabberd2/jabberd2/jabberd-2.2.17.tar.xz"
-MD5SUM="8b7d654deaa6566e58ab6630112f9b10"
+DOWNLOAD="https://github.com/jabberd2/jabberd2/releases/download/jabberd-2.7.0/jabberd-2.7.0.tar.xz"
+MD5SUM="39b4b5286a1ad91ff84c3588fa26efa8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="udns libgsasl"
diff --git a/network/jabberd2/rc.jabberd2 b/network/jabberd2/rc.jabberd2
index ca328a6df3..c5e8a70f54 100644
--- a/network/jabberd2/rc.jabberd2
+++ b/network/jabberd2/rc.jabberd2
@@ -1,6 +1,8 @@
#!/bin/sh
jabberd2_start() {
+ mkdir -p /var/run/jabberd2
+ chown %JABBERUSR% /var/run/jabberd2
su - %JABBERUSR% -c '/usr/bin/jabberd &'
}
diff --git a/network/jboss-as/README b/network/jboss-as/README
index 4d0ab1453a..55d23e3063 100644
--- a/network/jboss-as/README
+++ b/network/jboss-as/README
@@ -1,11 +1,11 @@
-JBoss is a free, open source, Java EE certified platform for developing and
-deploying enterprise Java applications, Web applications, and Portals,
-JBoss Application Server provides the full range of Java EE 6 features as
-well as extended enterprise services including clustering, caching, and
-persistence.
+JBoss is a free, open source, Java EE certified platform
+for developing and deploying enterprise Java applications, Web
+applications, and Portals, JBoss Application Server provides the full
+range of Java EE 6 features as well as extended enterprise services
+including clustering, caching, and persistence.
-JBoss-AS requires a "jboss" user and group; create these before running the
-SlackBuild script. Examples:
+JBoss-AS requires a "jboss" user and group; create these before
+running the SlackBuild script. Examples:
# groupadd -g 254 -r jboss
# useradd -u 254 -M -r -s /bin/bash -d /usr/share/jboss-as \
diff --git a/network/jboss-as/jboss-as.SlackBuild b/network/jboss-as/jboss-as.SlackBuild
index 5158711ed4..933f3d02c3 100644
--- a/network/jboss-as/jboss-as.SlackBuild
+++ b/network/jboss-as/jboss-as.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2011 Giorgio Peron, Campodarsego, PD, Italy giorgio.peron@gmail.com
# All rights reserved.
@@ -21,14 +21,24 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jboss-as
VERSION=${VERSION:-7.0.1.Final}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -147,4 +157,4 @@ for cf in $( find etc/$PRGNAM/ -type f ); do
echo "config $cf.new" >> install/doinst.sh
done
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/jboss-as/jboss-as.info b/network/jboss-as/jboss-as.info
index 29a596e120..1151ad7e8c 100644
--- a/network/jboss-as/jboss-as.info
+++ b/network/jboss-as/jboss-as.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download.jboss.org/jbossas/7.0/jboss-as-7.0.1.Final/jboss-as-7.
MD5SUM="0f25ab4e936de94780dba1e3a6d2da60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/network/jetty/jetty.SlackBuild b/network/jetty/jetty.SlackBuild
index 9433633980..7ab621a3d4 100644
--- a/network/jetty/jetty.SlackBuild
+++ b/network/jetty/jetty.SlackBuild
@@ -1,14 +1,24 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for openfire
# Written by Mário Antunes (mariolpantunes@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jetty
VERSION=${VERSION:-9.2.3.v20140905}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/jetty/jetty.info b/network/jetty/jetty.info
index 426f360da5..5348702ad7 100644
--- a/network/jetty/jetty.info
+++ b/network/jetty/jetty.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/9.2
MD5SUM="ab0822beb826a5db91de46d1d281afb7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Mário Antunes"
EMAIL="mariolpantunes@gmail.com"
diff --git a/network/jigdo/fix_man_page_build.diff b/network/jigdo/fix_man_page_build.diff
new file mode 100644
index 0000000000..2a23ee8cff
--- /dev/null
+++ b/network/jigdo/fix_man_page_build.diff
@@ -0,0 +1,29 @@
+diff -Naur jigdo-0.8.1/doc/Makefile.in jigdo-0.8.1.patched/doc/Makefile.in
+--- jigdo-0.8.1/doc/Makefile.in 2021-10-31 14:09:53.000000000 -0400
++++ jigdo-0.8.1.patched/doc/Makefile.in 2022-03-01 12:34:10.348574996 -0500
+@@ -15,12 +15,9 @@
+ .SUFFIXES: .1 .sgml .html
+
+ .sgml.1:
+- mkdir -p tmp && cp "$<" tmp \
+- && cd tmp && $(DOCBOOK2MAN) "`echo $< | sed 's%.*/%%'`"
+- sed -e 's/ */ /g' <"`ls tmp/*.1`" >"$@"
+- rm -rf tmp
+-# sed -e 's%\\%\\\\%g;' <"$<" | tr -s '[:space:]' ' ' \
+-# | $(DOCBOOKTOMAN) - >"$@"
++ $(DOCBOOK2MAN) $<
++ mv $(subst .1,.en.1,$@) $@
++
+ .sgml.html:
+ rm -f "$@"
+ $(DOCBOOK2HTML) "$<" --nochunks
+@@ -32,8 +29,7 @@
+ .PHONY: all clean distclean mostlyclean maintainer-clean \
+ dep depend doc check
+ all: jigdo-file.1 jigdo-file.html jigdo-lite.1 jigdo-lite.html \
+- jigdo-mirror.1 jigdo-mirror.html \
+- debian-jigdo-mini-howto.html
++ jigdo-mirror.1 jigdo-mirror.html
+ doc mostlyclean dep depend check: ;
+
+ clean: Makefile
diff --git a/network/jigdo/jigdo.SlackBuild b/network/jigdo/jigdo.SlackBuild
index 67e467dde2..c5939333f0 100644
--- a/network/jigdo/jigdo.SlackBuild
+++ b/network/jigdo/jigdo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jigdo
# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
@@ -21,26 +21,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+# - update for v0.8.1, which was released in 2021. the old version
+# was from 2009...
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jigdo
-VERSION=${VERSION:-0.7.3}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -53,7 +64,6 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="README THANKS changelog doc/TechDetails.txt doc/Hacking.txt"
set -e
@@ -61,17 +71,24 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# apply some patches from debian
-zcat $CWD/jigdo_0.7.3-3.diff.gz | patch -p1
+ -exec chmod 644 {} \+
+
+# 20220301 bkw: doc/Makefile.in has some confusing looking stuff that
+# didn't work properly. It would work with some version of docbook2man
+# (one that doesn't print "Working on <file>" on stdout, and does
+# print whatever the sed stuff was expecting to see). There's a much
+# cleaner way to do it, using make's $(subst) macro. Also, don't try
+# to build debian-jigdo-mini-howto.html because it's for some other
+# version of docbook2man. I took the built HTML file from a Debian
+# package and made it a separate download.
+patch -p1 < $CWD/fix_man_page_build.diff
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,20 +101,23 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+strip $PKG/usr/bin/$PRGNAM-file
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220301 bkw: man pages get installed +x, sigh.
+chmod 644 $PKG/usr/man/man*/*
+gzip -9 $PKG/usr/man/man*/*
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+DOCS="COPYING README THANKS changelog doc/TechDetails.txt doc/Hacking.txt"
+HOWTO="debian-jigdo-mini-howto.html"
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/$PRGNAM/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a $DOCS $PKGDOC
+zcat $CWD/$HOWTO.gz > $PKGDOC/$HOWTO
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/jigdo/jigdo.info b/network/jigdo/jigdo.info
index 6e7167895b..c5236d8e67 100644
--- a/network/jigdo/jigdo.info
+++ b/network/jigdo/jigdo.info
@@ -1,8 +1,10 @@
PRGNAM="jigdo"
-VERSION="0.7.3"
-HOMEPAGE="http://atterer.org/jigdo/"
-DOWNLOAD="http://atterer.org/sites/atterer/files/2009-08/jigdo/jigdo-0.7.3.tar.bz2"
-MD5SUM="bbc1d9ac750bb34e0748f0b57157cc72"
+VERSION="0.8.1"
+HOMEPAGE="https://www.einval.com/~steve/software/jigdo/"
+DOWNLOAD="https://www.einval.com/~steve/software/jigdo/download/jigdo-0.8.1.tar.xz \
+ https://slackware.uk/~urchlay/src/debian-jigdo-mini-howto.html.gz"
+MD5SUM="de08a463f3b2c52089bfd582fed3cdff \
+ bfd371e320fa9b48bb86383e3b66341d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/jigdo/jigdo_0.7.3-3.diff.gz b/network/jigdo/jigdo_0.7.3-3.diff.gz
deleted file mode 100644
index 43a8349d7d..0000000000
--- a/network/jigdo/jigdo_0.7.3-3.diff.gz
+++ /dev/null
Binary files differ
diff --git a/network/jitsi-meet-desktop/README b/network/jitsi-meet-desktop/README
new file mode 100644
index 0000000000..0233a9b22b
--- /dev/null
+++ b/network/jitsi-meet-desktop/README
@@ -0,0 +1,10 @@
+Jitsi Meet is the Secure, Simple and Scalable Video Conferences that
+you use as a standalone app or embed in your web application.
+This is the Jitsi Meet desktop application, powered by Electron.
+
+This SlackBuild repackages the upstream AppImage. The AppImage is only
+available for 64-bit systems.
+
+This is not to be confused with Jitsi Desktop (packaged as jitsi at
+SlackBuilds.org), the legacy desktop application that works with
+xmpp and sip servers for chat and video calls.
diff --git a/network/jitsi-meet-desktop/doinst.sh b/network/jitsi-meet-desktop/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/jitsi-meet-desktop/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/jitsi-meet-desktop/jitsi-meet-desktop.SlackBuild b/network/jitsi-meet-desktop/jitsi-meet-desktop.SlackBuild
new file mode 100644
index 0000000000..2c5424a40d
--- /dev/null
+++ b/network/jitsi-meet-desktop/jitsi-meet-desktop.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for jitsi-meet-desktop
+
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=jitsi-meet-desktop
+VERSION=${VERSION:-2024.3.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$(uname -m)
+fi
+
+case "$ARCH" in
+ # do nothing and pass through
+ x86_64) ;;
+ *)
+ echo "$ARCH is not supported for $PRGNAM-$VERSION"
+ exit 1
+ ;;
+esac
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+# Extract AppImage at the new jitsi-meet-desktop folder
+rm -rf jitsi-meet-desktop
+mkdir jitsi-meet-desktop
+cp $CWD/jitsi-meet-$ARCH.AppImage jitsi-meet-desktop
+cd jitsi-meet-desktop
+chmod u+x jitsi-meet-$ARCH.AppImage
+./jitsi-meet-$ARCH.AppImage --appimage-extract
+rm jitsi-meet-$ARCH.AppImage # Once AppImage is extracted, remove it from /tmp/SBo/jitsi-meet-desktop
+
+find squashfs-root/locales/ -type d -exec chmod 755 {} +
+find squashfs-root/resources/ -type d -exec chmod 755 {} +
+
+install -d $PKG/opt/$PRGNAM
+cp -r squashfs-root/* $PKG/opt/$PRGNAM
+
+# remove broken or unused files and directories
+rm -r $PKG/opt/$PRGNAM/usr/
+rm $PKG/opt/$PRGNAM/AppRun
+rm $PKG/opt/$PRGNAM/jitsi-meet.desktop
+rm $PKG/opt/$PRGNAM/jitsi-meet.png
+
+find squashfs-root/usr/share/icons/ -type d -exec chmod 755 {} +
+
+install -d $PKG/usr/share/icons
+cp -r squashfs-root/usr/share/icons/hicolor $PKG/usr/share/icons/hicolor
+
+install -d $PKG/usr/bin
+ln -s ../../opt/$PRGNAM/jitsi-meet $PKG/usr/bin/$PRGNAM
+
+# Install custom desktop file
+install -Dm644 "$CWD/$PRGNAM.desktop" $PKG/usr/share/applications/$PRGNAM.desktop
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a squashfs-root/LICENSE.electron.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/jitsi-meet-desktop/jitsi-meet-desktop.desktop b/network/jitsi-meet-desktop/jitsi-meet-desktop.desktop
new file mode 100644
index 0000000000..68bae15591
--- /dev/null
+++ b/network/jitsi-meet-desktop/jitsi-meet-desktop.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Jitsi Meet
+Comment=Jitsi Meet Desktop App
+Exec=jitsi-meet-desktop
+Terminal=false
+Type=Application
+Icon=jitsi-meet-desktop
+StartupWMClass=Jitsi Meet
+Categories=VideoConference;AudioVideo;Audio;Video;Network;
diff --git a/network/jitsi-meet-desktop/jitsi-meet-desktop.info b/network/jitsi-meet-desktop/jitsi-meet-desktop.info
new file mode 100644
index 0000000000..690983e6aa
--- /dev/null
+++ b/network/jitsi-meet-desktop/jitsi-meet-desktop.info
@@ -0,0 +1,10 @@
+PRGNAM="jitsi-meet-desktop"
+VERSION="2024.3.0"
+HOMEPAGE="https://jitsi.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/jitsi/jitsi-meet-electron/releases/download/v2024.3.0/jitsi-meet-x86_64.AppImage"
+MD5SUM_x86_64="bd3a9721e63982c85ce524dbb15e412c"
+REQUIRES=""
+MAINTAINER="Eugene Wissner"
+EMAIL="belka@caraus.de"
diff --git a/network/jitsi-meet-desktop/slack-desc b/network/jitsi-meet-desktop/slack-desc
new file mode 100644
index 0000000000..58ff485eee
--- /dev/null
+++ b/network/jitsi-meet-desktop/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+jitsi-meet-desktop: jitsi-meet-desktop (Jitsi Meet Desktop Application)
+jitsi-meet-desktop:
+jitsi-meet-desktop: Jitsi Meet is the Secure, Simple and Scalable Video Conferences that
+jitsi-meet-desktop: you use as a standalone app or embed in your web application.
+jitsi-meet-desktop: This is the Jitsi Meet desktop application, powered by Electron.
+jitsi-meet-desktop:
+jitsi-meet-desktop:
+jitsi-meet-desktop:
+jitsi-meet-desktop:
+jitsi-meet-desktop:
+jitsi-meet-desktop:
diff --git a/network/jitsi/README b/network/jitsi/README
index e3aa474390..8c43d06294 100644
--- a/network/jitsi/README
+++ b/network/jitsi/README
@@ -1,5 +1,5 @@
jitsi (SIP Communicator)
-Jitsi (formerly SIP Communicator) is an audio/video and chat communicator
-that supports protocols such as SIP, XMPP/Jabber, AIM/ICQ, Windows Live,
-Yahoo! and many other useful features.
+Jitsi (formerly SIP Communicator) is an audio/video and chat
+communicator that supports protocols such as SIP, XMPP/Jabber,
+AIM/ICQ, Windows Live, Yahoo! and many other useful features.
diff --git a/network/jitsi/jitsi.SlackBuild b/network/jitsi/jitsi.SlackBuild
index dea951b97a..07d9712e16 100644
--- a/network/jitsi/jitsi.SlackBuild
+++ b/network/jitsi/jitsi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jitsi
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jitsi
-VERSION=${VERSION:-2.8}
+VERSION=${VERSION:-5633}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,8 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-src-$VERSION.5426.zip
-mv $PRGNAM $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,8 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "s/0.build.by.SVN/5426/g" src/net/java/sip/communicator/impl/version/NightlyBuildID.java
-
ant rebuild
mkdir -p $PKG/usr/bin
@@ -86,9 +93,9 @@ mkdir -p $PKG/usr/share/jitsi/lib/native
cp resources/install/resources/splash.gif $PKG/usr/share/jitsi
cp lib/{felix.client.run.properties,felix.jar,jitsi-defaults.properties,logging.properties} $PKG/usr/share/jitsi/lib
if [ "$ARCH" = "x86_64" ]; then
- cp -a lib/native/linux-64/*.so $PKG/usr/share/jitsi/lib/native
+ cp -a lib/native/linux-64/*.so $PKG/usr/share/jitsi/lib/native
else
- cp -a lib/native/linux/*.so $PKG/usr/share/jitsi/lib/native
+ cp -a lib/native/linux/*.so $PKG/usr/share/jitsi/lib/native
fi
cp lib/bundle/{commons-logging.jar,log4j.jar} $PKG/usr/share/jitsi/lib/bundle
@@ -113,7 +120,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
-sed 's#_PACKAGE_NAME_#jitsi#' resources/install/debian/changelog.tmpl | sed 's#_VERSION_#2.8.5426-1#' | sed 's#_DATE_#Thu, 19 Mar 2015 02:20:44 -0400#' > $PKG/usr/doc/$PRGNAM-$VERSION/changelog
cp resources/install/debian/copyright $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -122,4 +128,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/jitsi/jitsi.info b/network/jitsi/jitsi.info
index 8d2c254e97..53cb3d1141 100644
--- a/network/jitsi/jitsi.info
+++ b/network/jitsi/jitsi.info
@@ -1,10 +1,10 @@
PRGNAM="jitsi"
-VERSION="2.8"
+VERSION="5633"
HOMEPAGE="https://jitsi.org/"
-DOWNLOAD="https://download.jitsi.org/jitsi/src/jitsi-src-2.8.5426.zip"
-MD5SUM="db86aa3c754e54e774257c09e7c474d2"
+DOWNLOAD="https://github.com/jitsi/jitsi/archive/5633/jitsi-5633.tar.gz"
+MD5SUM="0844dc46176c7940cdeac075559d38e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="openjdk7"
+REQUIRES="apache-ant zulu-openjdk8"
MAINTAINER="Furry Monster"
EMAIL="furrymonster at gmx dot com"
diff --git a/network/js185/README b/network/js185/README
new file mode 100644
index 0000000000..a6123488a8
--- /dev/null
+++ b/network/js185/README
@@ -0,0 +1,7 @@
+js185 (SpiderMonkey - Mozilla's JavaScript Engine)
+
+SpiderMonkey is Mozilla's JavaScript engine written in C/C++. It is
+used in various Mozilla products (including Firefox) and is available
+under MPL/GPL/LGPL tri-license.
+
+This legacy version is an optional dependency for elinks.
diff --git a/network/js185/js185-destdir.patch b/network/js185/js185-destdir.patch
new file mode 100644
index 0000000000..87b7b53b30
--- /dev/null
+++ b/network/js185/js185-destdir.patch
@@ -0,0 +1,15 @@
+#https://bugzilla.mozilla.org/show_bug.cgi?id=628723
+
+--- Makefile.in.old 2011-04-10 04:21:19.918608008 -0700
++++ Makefile.in 2011-04-10 04:21:58.088607992 -0700
+@@ -888,8 +888,8 @@
+ ifeq (,$(HOST_BIN_SUFFIX))
+ mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
+ @[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
+- ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
+- ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
++ ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
++ ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
+ endif
+ endif
+ ifneq (,$(IMPORT_LIBRARY))
diff --git a/network/js185/js185.SlackBuild b/network/js185/js185.SlackBuild
new file mode 100644
index 0000000000..171ab475ae
--- /dev/null
+++ b/network/js185/js185.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for SpiderMonkey
+
+# Maintained for 15.0 by D Woodfall (2022)
+#
+# Copyright 2011 Robby Workman, Northport, Alabama, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=js185
+VERSION=${VERSION:-1.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TARNAME=js
+TARVERS=1.8.5
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf $TARNAME-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $TARNAME-$TARVERS
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cd js/src
+
+patch -p0 < $CWD/js185-destdir.patch
+
+CXXFLAGS="$SLKCFLAGS -std=gnu++03" \
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux \
+ --enable-optimize="-O2" \
+ --enable-threadsafe \
+ --with-system-nspr \
+ --with-nspr-prefix=/usr
+
+make
+make install DESTDIR=$PKG
+
+# Oops, Makefile missed this:
+cp -a shell/js $PKG/usr/bin
+
+# No need for this:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp ../../README README.html $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/js185/js185.info b/network/js185/js185.info
new file mode 100644
index 0000000000..dd1069a1c6
--- /dev/null
+++ b/network/js185/js185.info
@@ -0,0 +1,10 @@
+PRGNAM="js185"
+VERSION="1.0.0"
+HOMEPAGE="http://www.mozilla.org/js/spidermonkey"
+DOWNLOAD="https://mirrors.slackware.com/slackware/slackware64-14.2/source/l/js185/js185-1.0.0.tar.xz"
+MD5SUM="d8e6e5aabf5cfbfb305282de62a441b6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/js185/slack-desc b/network/js185/slack-desc
new file mode 100644
index 0000000000..1223f7ed1d
--- /dev/null
+++ b/network/js185/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+js185: js185 (SpiderMonkey - Mozilla's JavaScript Engine)
+js185:
+js185: SpiderMonkey is Mozilla's JavaScript engine written in C/C++.
+js185: It is used in various Mozilla products (including Firefox) and is
+js185: available under MPL/GPL/LGPL tri-license.
+js185:
+js185: This legacy version is an optional dependency for elinks.
+js185:
+js185: Homepage: http://www.mozilla.org/js/spidermonkey
+js185:
+js185:
diff --git a/network/kadu/README b/network/kadu/README
deleted file mode 100644
index 0515db2274..0000000000
--- a/network/kadu/README
+++ /dev/null
@@ -1 +0,0 @@
-Kadu is an IM client for the Gadu-Gadu protocol.
diff --git a/network/kadu/doinst.sh b/network/kadu/doinst.sh
deleted file mode 100644
index d6430a30c5..0000000000
--- a/network/kadu/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild
deleted file mode 100644
index b24650c777..0000000000
--- a/network/kadu/kadu.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for kadu
-
-# Written by marco slociu@wp.pl
-
-PRGNAM=kadu
-VERSION=${VERSION:-0.12.3}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 < $CWD/kadu.patch
-
-mkdir -p build
-cd build
-cmake .. \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONF_INSTALL_DIR=/etc \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \
- -DNETWORK_IMPLEMENTATION="Qt" \
- -DCMAKE_BUILD_TYPE="Release" \
- -DSIG_HANDLING_ENABLED:BOOL="TRUE" \
- -DINSTALL_SDK:BOOL="TRUE" \
- -DBUILD_DESCRIPTION="Slackware"
-
-make
-make install DESTDIR=$PKG
-cd -
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Remove all license files
-find "$PKG" -name '[lL][iI][cC][eE][nN][sS][eE].txt' -delete
-
-# Move cmake files in the proper place
-mv $PKG/usr/share/cmake \
- $PKG/usr/share/cmake-$(cmake --version | head -1 | cut -d\ -f3 | cut -d. -f1-2)
-
-# Move this away too...
-mv $PKG/usr/sdk $PKG/usr/share/$PRGNAM/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL README THANKS VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/kadu/kadu.info b/network/kadu/kadu.info
deleted file mode 100644
index e166581cf9..0000000000
--- a/network/kadu/kadu.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kadu"
-VERSION="0.12.3"
-HOMEPAGE="http://www.kadu.net"
-DOWNLOAD="http://downloads.sourceforge.net/kadu/kadu-0.12.3.tar.bz2"
-MD5SUM="c5d6f0bd384cd96090819ea018eb8ad8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libgadu libmpdclient"
-MAINTAINER="M Slodkiewicz"
-EMAIL="slociu@wp.pl"
diff --git a/network/kadu/kadu.patch b/network/kadu/kadu.patch
deleted file mode 100644
index d47d9fa0ae..0000000000
--- a/network/kadu/kadu.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- kadu-0.12.3/plugins/jabber_protocol/3rdparty/CMakeLists.txt.orig 2013-11-17 07:23:54.186097640 +0700
-+++ kadu-0.12.3/plugins/jabber_protocol/3rdparty/CMakeLists.txt 2013-11-17 07:24:32.686563005 +0700
-@@ -26,7 +26,7 @@
- get_filename_component (_basename ${_current_MOC} NAME_WE)
- set (_header ${_abs_FILE})
- set (_moc ${_abs_PATH}/${_current_MOC})
-- QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "")
-+ QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "" "${moc_target}")
- MACRO_ADD_FILE_DEPENDENCIES (${_abs_FILE} ${_moc})
- endforeach (_current_MOC_INC)
- endif (_match)
diff --git a/network/kadu/slack-desc b/network/kadu/slack-desc
deleted file mode 100644
index 6fcdf80bc8..0000000000
--- a/network/kadu/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kadu: kadu (Gadu-Gadu IM client)
-kadu:
-kadu: Kadu is an instant messaging client for the Gadu-Gadu protocol.
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
-kadu:
diff --git a/network/kasp_updater/kasp_updater.SlackBuild b/network/kasp_updater/kasp_updater.SlackBuild
index 35921e6f2a..bde5d0d763 100644
--- a/network/kasp_updater/kasp_updater.SlackBuild
+++ b/network/kasp_updater/kasp_updater.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kasp_updater
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kasp_updater
TARNAME=updater
VERSION=${VERSION:-2.0.1.2015.1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,4 +82,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kcm_ufw/README b/network/kcm_ufw/README
deleted file mode 100644
index f68f005129..0000000000
--- a/network/kcm_ufw/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This is a KDE control center module to configure and control the Uncomplicated
-Firewall. The following features are supported:
-
-1. Enable/disable firewall
-2. Configure firewall default settings
-3. Add, edit, and remove rules
-4. Re-order rules via drag'n'drop
-5. Creation, and basic manipulation, of firewall profiles
-6. Import/export of firewall profiles
-7. Setting of some IP tables modules
-
diff --git a/network/kcm_ufw/doinst.sh b/network/kcm_ufw/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/kcm_ufw/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/kcm_ufw/kcm_ufw.SlackBuild b/network/kcm_ufw/kcm_ufw.SlackBuild
deleted file mode 100644
index ed14f1daa9..0000000000
--- a/network/kcm_ufw/kcm_ufw.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for kcm_ufw
-
-# Copyright 2014 Iskren Hadzhinedev Rousse BG
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=kcm_ufw
-VERSION=${VERSION:-0.4.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-# Move a misplaced config file
-mv $PKG/etc/kde/dbus-1 $PKG/etc/dbus-1
-rm -r $PKG/etc/kde
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS README COPYING $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/doc/HTML $PKG/usr/doc/HTML
-rm -r $PKG/usr/share/doc
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/kcm_ufw/kcm_ufw.info b/network/kcm_ufw/kcm_ufw.info
deleted file mode 100644
index 68c899ace4..0000000000
--- a/network/kcm_ufw/kcm_ufw.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kcm_ufw"
-VERSION="0.4.3"
-HOMEPAGE="http://kde-apps.org/content/show.php/UFW+KControl+Module?content=137789"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/kcm_ufw-0.4.3.tar.bz2"
-MD5SUM="97de867481948e3f54d76ca3678ffd2e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ufw"
-MAINTAINER="Iskren Hadzhinedev"
-EMAIL="i.hadzhinedev@gmail.com"
diff --git a/network/kcm_ufw/slack-desc b/network/kcm_ufw/slack-desc
deleted file mode 100644
index 6bc0e1dc6a..0000000000
--- a/network/kcm_ufw/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kcm_ufw: kcm_ufw (KDE Control Module for UFW)
-kcm_ufw:
-kcm_ufw: This is a KDE control center module to configure and control the
-kcm_ufw: Uncomplicated Firewall
-kcm_ufw:
-kcm_ufw:
-kcm_ufw:
-kcm_ufw:
-kcm_ufw:
-kcm_ufw:
-kcm_ufw:
diff --git a/network/kdrive/README b/network/kdrive/README
new file mode 100644
index 0000000000..250d5e8432
--- /dev/null
+++ b/network/kdrive/README
@@ -0,0 +1,6 @@
+kDrive allows you to collaborate, store and share your data securely
+from your internet browser, mobile, tablet or computer.
+
+It is the official AppImage application from Infomaniak.
+
+You just need fuse to run it.
diff --git a/network/kdrive/doinst.sh b/network/kdrive/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/kdrive/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/kdrive/kDrive.desktop b/network/kdrive/kDrive.desktop
new file mode 100644
index 0000000000..a6f1df8fcb
--- /dev/null
+++ b/network/kdrive/kDrive.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=kDrive
+Comment=Infomaniak Drive desktop synchronization client
+Comment[fr]=Client de synchronisation de bureau Infomaniak Drive
+Exec=kDrive
+Icon=kDrive
+Type=Application
+Categories=Network;FileTransfer;
+Keywords=Infomaniak Drive;syncing;file;sharing;
+MimeType=application/vnd.kDrive;
diff --git a/network/kdrive/kDrive.png b/network/kdrive/kDrive.png
new file mode 100644
index 0000000000..7d9f1c803a
--- /dev/null
+++ b/network/kdrive/kDrive.png
Binary files differ
diff --git a/network/kdrive/kdrive.SlackBuild b/network/kdrive/kdrive.SlackBuild
new file mode 100644
index 0000000000..3ec0511354
--- /dev/null
+++ b/network/kdrive/kdrive.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for kDrive
+
+# Copyright 2023 Frederic Galusik Bordeaux, France
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kdrive
+VERSION=${VERSION:-3.3.7.20221109}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ x86_64) ARCH=x86_64 ;;
+ *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# install
+install -Dm 755 $CWD/kDrive-$VERSION.AppImage $PKG/usr/bin/kDrive
+
+# Desktop shortcut
+install -Dm 644 -o root -g root $CWD/kDrive.desktop $PKG/usr/share/applications/kDrive.desktop
+install -Dm 644 -o root -g root $CWD/kDrive.png $PKG/usr/share/icons/hicolor/512x512/apps/kDrive.png
+
+# Copy program documentation & SlackBuild script in the documentation directory
+install -Dm 644 -o root -g root $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kdrive/kdrive.info b/network/kdrive/kdrive.info
new file mode 100644
index 0000000000..450028c05d
--- /dev/null
+++ b/network/kdrive/kdrive.info
@@ -0,0 +1,10 @@
+PRGNAM="kdrive"
+VERSION="3.3.7.20221109"
+HOMEPAGE="https://kdrive.infomaniak.com"
+DOWNLOAD="https://download.storage.infomaniak.com/drive/desktopclient/kDrive-3.3.7.20221109.AppImage"
+MD5SUM="a00112049de074ad9d79b37dbdf7c560"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Frederic Galusik"
+EMAIL="f@galusik.fr"
diff --git a/network/kdrive/slack-desc b/network/kdrive/slack-desc
new file mode 100644
index 0000000000..48a667ed2b
--- /dev/null
+++ b/network/kdrive/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+kdrive: kdrive (Infomaniak Drive desktop synchronization client)
+kdrive:
+kdrive: Infomaniak kDrive desktop synchronization client
+kdrive: (pre-compiled version).
+kdrive:
+kdrive: kDrive allows you to collaborate, store and share your data
+kdrive: securely from your internet browser, mobile, tablet or computer.
+kdrive:
+kdrive:
+kdrive:
+kdrive:
diff --git a/network/kea/doinst.sh b/network/kea/doinst.sh
index 52f28b475f..40c8fbc08a 100644
--- a/network/kea/doinst.sh
+++ b/network/kea/doinst.sh
@@ -23,5 +23,8 @@ preserve_perms() {
}
preserve_perms etc/rc.d/rc.kea.new
-config etc/kea/kea.conf.new
+config etc/kea/kea-ctrl-agent.conf.new
+config etc/kea/kea-dhcp-ddns.conf.new
+config etc/kea/kea-dhcp4.conf.new
+config etc/kea/kea-dhcp6.conf.new
config etc/kea/keactrl.conf.new
diff --git a/network/kea/kea.SlackBuild b/network/kea/kea.SlackBuild
index 3d70891b8e..d9de37586f 100644
--- a/network/kea/kea.SlackBuild
+++ b/network/kea/kea.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kea
-# Copyright 2016-2017 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2016-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kea
-VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.5.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -72,7 +82,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CPPFLAGS="-std=gnu++11" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -90,15 +99,20 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
-make
+make -j7
make install DESTDIR=$PKG
-mv $PKG/etc/kea/kea.conf $PKG/etc/kea/kea.conf.new
-mv $PKG/etc/kea/keactrl.conf $PKG/etc/kea/keactrl.conf.new
-
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.kea > $PKG/etc/rc.d/rc.kea.new
+mkdir -p $PKG/etc/kea
+
+# Change configuration files to .new
+find $PKG/etc/kea/ -name *.conf | while read cfg ; do mv $cfg $cfg.new ; done
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/kea/hooks/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -112,4 +126,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kea/kea.info b/network/kea/kea.info
index c70b7d4c1a..0949478dd9 100644
--- a/network/kea/kea.info
+++ b/network/kea/kea.info
@@ -1,8 +1,8 @@
PRGNAM="kea"
-VERSION="1.2.0"
+VERSION="2.5.3"
HOMEPAGE="http://kea.isc.org/"
-DOWNLOAD="http://ftp.isc.org/isc/kea/1.2.0/kea-1.2.0.tar.gz"
-MD5SUM="7e3f2b23052105c82991663261259c5b"
+DOWNLOAD="http://ftp.isc.org/isc/kea/2.5.3/kea-2.5.3.tar.gz"
+MD5SUM="3cd3fca641f542c5c908615c332404bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="log4cplus"
diff --git a/network/kea/rc.kea b/network/kea/rc.kea
index 2d57a1089b..b7214d2cf7 100644
--- a/network/kea/rc.kea
+++ b/network/kea/rc.kea
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
case "$1" in
'start')
diff --git a/network/keepalived/keepalived.SlackBuild b/network/keepalived/keepalived.SlackBuild
index 2719b1d65f..60f0426e58 100644
--- a/network/keepalived/keepalived.SlackBuild
+++ b/network/keepalived/keepalived.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for keepalived
@@ -23,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=keepalived
-VERSION=${VERSION:-2.1.5}
+VERSION=${VERSION:-2.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -78,7 +88,6 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-kernel-dir=/usr \
- --disable-nftables \
--build=$ARCH-slackware-linux
make
@@ -103,7 +112,7 @@ cp -a \
mkdir -p $PKG/etc/default
mv $PKG/etc/sysconfig/keepalived $PKG/etc/default/keepalived.new
-mv $PKG/etc/keepalived/keepalived.conf $PKG/etc/keepalived/keepalived.conf.new
+mv $PKG/etc/keepalived/keepalived.conf.sample $PKG/etc/keepalived/keepalived.conf.new
install -m755 -D $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
rmdir $PKG/etc/sysconfig
@@ -112,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/keepalived/keepalived.info b/network/keepalived/keepalived.info
index 96be269396..5c3c527b13 100644
--- a/network/keepalived/keepalived.info
+++ b/network/keepalived/keepalived.info
@@ -1,8 +1,8 @@
PRGNAM="keepalived"
-VERSION="2.1.5"
+VERSION="2.2.8"
HOMEPAGE="https://www.keepalived.org/"
-DOWNLOAD="https://www.keepalived.org/software/keepalived-2.1.5.tar.gz"
-MD5SUM="27e1cfff5b8dd95062ad415957e663e5"
+DOWNLOAD="https://www.keepalived.org/software/keepalived-2.2.8.tar.gz"
+MD5SUM="8c26f75a8767e5341d82696e1e717115"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/kfilebox/README b/network/kfilebox/README
deleted file mode 100644
index efed42915b..0000000000
--- a/network/kfilebox/README
+++ /dev/null
@@ -1,6 +0,0 @@
-KFilebox (previously called KDropbox) is an unofficial KDE Dropbox
-client developed in QT. It offers almost the same features as the
-official Dropbox Linux application, but it works on KDE.
-
-If dropbox (the daemon) is not present, it can download it on the
-first run if connected to the net.
diff --git a/network/kfilebox/doinst.sh b/network/kfilebox/doinst.sh
deleted file mode 100644
index 84ec0d4677..0000000000
--- a/network/kfilebox/doinst.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-if [ -e usr/share/icons/oxygen/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/oxygen >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/kfilebox/kfilebox.SlackBuild b/network/kfilebox/kfilebox.SlackBuild
deleted file mode 100644
index 867347559f..0000000000
--- a/network/kfilebox/kfilebox.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for kfilebox
-
-# Copyright (c) 2011 Alan Alberghini <414N@slacky.it>
-# All rights reserved.
-#
-# 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.
-#
-# THIS SOFTWARE IS PROVIDED AS IS'' AND ANY EXPRESSED OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-# SUCH DAMAGE.
-
-PRGNAM=kfilebox
-VERSION=${VERSION:-0.4.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-else
- SLKCFLAGS="-O2"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf ${PRGNAM}_${VERSION}
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
-cd ${PRGNAM}_${VERSION}
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-qmake
-sed -i "s|-O2|${SLKCFLAGS}|" Makefile
-sed -i "s|-strip\ .*||" Makefile
-
-make
-make install INSTALL_ROOT=$PKG
-
-# Install a proper icon
-install -m 0644 -D $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
-sed -i "s|/$PRGNAM/|/pixmaps/|" $PKG/usr/share/*/$PRGNAM.desktop
-rm -fr $PKG/usr/share/$PRGNAM
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/kfilebox/kfilebox.info b/network/kfilebox/kfilebox.info
deleted file mode 100644
index dc763a2ff5..0000000000
--- a/network/kfilebox/kfilebox.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kfilebox"
-VERSION="0.4.9"
-HOMEPAGE="http://kdropbox.deuteros.es/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/kfilebox_0.4.9.tar.gz"
-MD5SUM="fdec6cd4c37a4c9d06325f89d3ed2ee1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="dropbox"
-MAINTAINER="Alan Alberghini"
-EMAIL="414N@slacky.it"
diff --git a/network/kfilebox/kfilebox.png b/network/kfilebox/kfilebox.png
deleted file mode 100644
index 0f66f62f50..0000000000
--- a/network/kfilebox/kfilebox.png
+++ /dev/null
Binary files differ
diff --git a/network/kfilebox/slack-desc b/network/kfilebox/slack-desc
deleted file mode 100644
index fde631773b..0000000000
--- a/network/kfilebox/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kfilebox: kfilebox (KDE Dropbox client)
-kfilebox:
-kfilebox: KFilebox (previously called KDropbox) is an unofficial KDE Dropbox
-kfilebox: client developed in QT. It offers almost the same features as the
-kfilebox: official Dropbox Linux application, but it works on KDE.
-kfilebox:
-kfilebox: Homepage: http://kdropbox.deuteros.es/
-kfilebox:
-kfilebox:
-kfilebox:
-kfilebox:
diff --git a/network/kirc/README b/network/kirc/README
new file mode 100644
index 0000000000..385e39d23a
--- /dev/null
+++ b/network/kirc/README
@@ -0,0 +1,3 @@
+kirc (tiny IRC client)
+
+kirc is "KISS for IRC", a tiny IRC client written in POSIX C99.
diff --git a/network/kirc/kirc.SlackBuild b/network/kirc/kirc.SlackBuild
new file mode 100644
index 0000000000..1fcc027a58
--- /dev/null
+++ b/network/kirc/kirc.SlackBuild
@@ -0,0 +1,82 @@
+#!/bin/bash
+
+# Slackware build script for kirc
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230711 bkw: update for v0.3.2.
+# 20230103 bkw: update for v0.3.1, fix PKGTYPE, strip binary.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kirc
+VERSION=${VERSION:-0.3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# fix the man page header.
+sed -i "/^\\.TH/s, Linux .*, $PRGNAM-$VERSION SlackBuilds.org," $PRGNAM.1
+
+# 20230711 bkw: 0.3.2 has a derp in the Makefile that breaks 'make install'.
+sed -i '/^all:/s,clean,,' Makefile
+
+make CFLAGS="$SLKCFLAGS"
+strip $PRGNAM
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
+gzip -9 $PKG/usr/man/man?/*.?
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kirc/kirc.info b/network/kirc/kirc.info
new file mode 100644
index 0000000000..aa1a7fb26b
--- /dev/null
+++ b/network/kirc/kirc.info
@@ -0,0 +1,10 @@
+PRGNAM="kirc"
+VERSION="0.3.2"
+HOMEPAGE="https://github.com/mcpcpc/kirc"
+DOWNLOAD="https://github.com/mcpcpc/kirc/archive/0.3.2/kirc-0.3.2.tar.gz"
+MD5SUM="09eb7e9e261f18e1d7823d689d0f04a9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/kirc/slack-desc b/network/kirc/slack-desc
new file mode 100644
index 0000000000..6b955db8bb
--- /dev/null
+++ b/network/kirc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+kirc: kirc (tiny IRC client)
+kirc:
+kirc: kirc is "KISS for IRC", a tiny IRC client written in POSIX C99.
+kirc:
+kirc:
+kirc:
+kirc:
+kirc:
+kirc:
+kirc:
+kirc:
diff --git a/network/kismet/kismet.SlackBuild b/network/kismet/kismet.SlackBuild
index 447db15f77..31c32c7fa4 100644
--- a/network/kismet/kismet.SlackBuild
+++ b/network/kismet/kismet.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kismet
# Copyright 2007 Robby Workman <rworkman@slackbuilds.org>
# Copyright 2010 Antonio Hernández Blas <hba.nihilismus@gmail.com>
# Copyright 2013-2017 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2022 pyllyukko
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kismet
-VERSION=${VERSION:-2016_07_R1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2023.07.R1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-
-SRCVERSION=$(echo $VERSION | tr _ -)
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,7 +60,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -fPIE -pie -Wl,-z,relro,-z,now -fstack-protector-all --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -73,11 +82,10 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM-${VERSION//./-}
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.xz
-mv $PRGNAM-$SRCVERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-${VERSION//./-}.tar.xz
+cd $PRGNAM-${VERSION//./-}
chown -R root:root .
find -L . \
@@ -106,11 +114,8 @@ make plugins-install MANGRP=root DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG README RELEASENOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.OLD README.SSL README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -124,4 +129,4 @@ for file in $(find $PKG/etc -type f) ; do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kismet/kismet.info b/network/kismet/kismet.info
index 2d0c322ada..93aae74af6 100644
--- a/network/kismet/kismet.info
+++ b/network/kismet/kismet.info
@@ -1,10 +1,10 @@
PRGNAM="kismet"
-VERSION="2016_07_R1"
+VERSION="2023.07.R1"
HOMEPAGE="https://kismetwireless.net/"
-DOWNLOAD="https://kismetwireless.net/code/kismet-2016-07-R1.tar.xz"
-MD5SUM="7fa6e86c5078a0e7d91fc9bf954c5107"
+DOWNLOAD="https://www.kismetwireless.net/code/kismet-2023-07-R1.tar.xz"
+MD5SUM="d6c82b241de1be72d2dcb5e0102d8c99"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Audrius Kažukauskas"
-EMAIL="audrius@neutrino.lt"
+REQUIRES="libwebsockets protobuf-c"
+MAINTAINER="pyllyukko"
+EMAIL="pyllyukko@maimed.org"
diff --git a/network/kivy-garden/README b/network/kivy-garden/README
index 423779d7a7..44164d85a8 100644
--- a/network/kivy-garden/README
+++ b/network/kivy-garden/README
@@ -1,2 +1,2 @@
-Kivy garden installation script, split into its own package for convenient use
-in buildozer.
+Kivy garden installation script, split into its own package for
+convenient use in buildozer.
diff --git a/network/kivy-garden/kivy-garden.SlackBuild b/network/kivy-garden/kivy-garden.SlackBuild
index ee7b08feb1..12181a1edd 100644
--- a/network/kivy-garden/kivy-garden.SlackBuild
+++ b/network/kivy-garden/kivy-garden.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kivy-garden
-# Copyright 2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2017-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kivy-garden
SRCNAM=$( echo $PRGNAM | cut -c6-11)
-VERSION=${VERSION:-0.1.4}
+VERSION=${VERSION:-0.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,9 +83,9 @@ find -L . \
# Remove unused
sed -i "s/, 'bin\/garden.bat'//" setup.py
# Update message for Slackware users
-sed -i -e "23d" -e "s/require requests/require python-requests/" bin/$SRCNAM
+sed -i "23d" bin/$SRCNAM
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kivy-garden/kivy-garden.info b/network/kivy-garden/kivy-garden.info
index a906c423d1..5873c2cdc9 100644
--- a/network/kivy-garden/kivy-garden.info
+++ b/network/kivy-garden/kivy-garden.info
@@ -1,10 +1,10 @@
PRGNAM="kivy-garden"
-VERSION="0.1.4"
+VERSION="0.1.5"
HOMEPAGE="https://github.com/kivy-garden/garden"
-DOWNLOAD="https://pypi.python.org/packages/7d/68/decaee596ff8168a39432eb3949fc7c0be952ebb9467806823bffc165d48/kivy-garden-0.1.4.tar.gz"
-MD5SUM="069b94c5a05e5b018ee7e7c2f10630db"
+DOWNLOAD="https://github.com/kivy-garden/garden/archive/v0.1.5/garden-0.1.5.tar.gz"
+MD5SUM="6c16edba32e897d65193b61638b96222"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/kmess/README b/network/kmess/README
deleted file mode 100644
index f04f2e181b..0000000000
--- a/network/kmess/README
+++ /dev/null
@@ -1,5 +0,0 @@
-KMess is an alternative Live Messenger chat client for Linux.
-It allows Linux users to chat with friends who use Live Messenger in
-Windows or Mac OS. The strength of KMess is it's integration with the
-KDE desktop environment, it focus on Messenger-specific features, and
-an easy-to-use interface.
diff --git a/network/kmess/doinst.sh b/network/kmess/doinst.sh
deleted file mode 100644
index 4a25de5e6f..0000000000
--- a/network/kmess/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/kmess/giflib-5.0.patch b/network/kmess/giflib-5.0.patch
deleted file mode 100644
index cc568fdf8a..0000000000
--- a/network/kmess/giflib-5.0.patch
+++ /dev/null
@@ -1,95 +0,0 @@
---- contrib/isf-qt/src/isfqt.cpp.orig 2014-06-11 13:10:43.137321400 +0000
-+++ contrib/isf-qt/src/isfqt.cpp 2014-06-11 13:12:23.123474616 +0000
-@@ -249,7 +249,7 @@
- qWarning() << "Couldn't initialize GIF library!";
- }
-
-- DGifCloseFile( gifImage );
-+ DGifCloseFile( gifImage, NULL );
- gifData.close();
- */
-
-@@ -484,12 +484,13 @@
- int width = isfImage.width();
- int numColors = 0;
- bool gifError = true;
-+ int gifErrCode;
-
- // Convert the image to GIF using libgif
-
- // Open the gif file
- gifData.open( QIODevice::WriteOnly );
-- gifImage = EGifOpen( (void*)&gifData, GifWriteToByteArray );
-+ gifImage = EGifOpen( (void*)&gifData, GifWriteToByteArray, &gifErrCode );
- if( gifImage == 0 )
- {
- qWarning() << "Couldn't initialize gif library!";
-@@ -503,7 +504,7 @@
- numColors = 256;
- }
-
-- cmap = MakeMapObject( numColors, NULL );
-+ cmap = GifMakeMapObject( numColors, NULL );
- if( cmap == 0 && isfImage.numColors() > 1 )
- {
- qWarning() << "Couldn't create map object for gif conversion (colors:" << isfImage.numColors() << ")!";
-@@ -576,7 +577,7 @@
- else
- {
- // Write the extension
-- if( EGifPutExtensionFirst( gifImage, COMMENT_EXT_FUNC_CODE, MAX_GIF_BYTE, isfData.left( MAX_GIF_BYTE ).data() ) == GIF_ERROR )
-+ if( EGifPutExtensionLeader( gifImage, COMMENT_EXT_FUNC_CODE) == GIF_ERROR )
- {
- qWarning() << "EGifPutExtensionFirst failed!";
- goto writeError;
-@@ -590,9 +591,9 @@
- // Write all the full data blocks
- while( length >= MAX_GIF_BYTE )
- {
-- if( EGifPutExtensionNext( gifImage, 0, MAX_GIF_BYTE, isfData.mid( pos, MAX_GIF_BYTE ).data() ) == GIF_ERROR )
-+ if( EGifPutExtensionBlock( gifImage, MAX_GIF_BYTE, isfData.mid( pos, MAX_GIF_BYTE ).data() ) == GIF_ERROR )
- {
-- qWarning() << "EGifPutExtensionNext failed!";
-+ qWarning() << "EGifPutExtensionBlock failed!";
- goto writeError;
- }
-
-@@ -603,17 +604,17 @@
- // Write the last block
- if( length > 0 )
- {
-- if( EGifPutExtensionLast( gifImage, 0, length, isfData.mid( pos, MAX_GIF_BYTE ).data() ) == GIF_ERROR )
-+ if( EGifPutExtensionTrailer( gifImage ) == GIF_ERROR )
- {
-- qWarning() << "EGifPutExtensionLast (n) failed!";
-+ qWarning() << "EGifPutExtensionTrailer (n) failed!";
- goto writeError;
- }
- }
- else
- {
-- if( EGifPutExtensionLast( gifImage, 0, 0, 0 ) == GIF_ERROR )
-+ if( EGifPutExtensionTrailer( gifImage ) == GIF_ERROR )
- {
-- qWarning() << "EGifPutExtensionLast (0) failed!";
-+ qWarning() << "EGifPutExtensionTrailer (0) failed!";
- goto writeError;
- }
- }
-@@ -623,13 +624,13 @@
-
- writeError:
- // Clean up the GIF converter etc
-- EGifCloseFile( gifImage );
-- FreeMapObject( cmap );
-+ EGifCloseFile( gifImage, NULL );
-+ GifFreeMapObject( cmap );
- gifData.close();
-
- if( gifError )
- {
-- qWarning() << "GIF error code:" << GifLastError();
-+ qWarning() << "GIF error code:" << GifErrorString(gifErrCode);
- }
- else
- {
diff --git a/network/kmess/kmess.SlackBuild b/network/kmess/kmess.SlackBuild
deleted file mode 100644
index 27c6a9e73b..0000000000
--- a/network/kmess/kmess.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for kmess
-
-# Copyright 2008-2009 Tarantino Antonino <metrofox9@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=kmess
-VERSION=${VERSION:-2.0.6.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -fr $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix for building with new giflib (thanks to Arch)
-patch -p1 contrib/isf-qt/src/isfqt.cpp < $CWD/giflib-5.0.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog FEATURES INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/kmess/kmess.info b/network/kmess/kmess.info
deleted file mode 100644
index 51a7e19d01..0000000000
--- a/network/kmess/kmess.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kmess"
-VERSION="2.0.6.2"
-HOMEPAGE="http://kmess.org/"
-DOWNLOAD="http://downloads.sourceforge.net/kmess/kmess-2.0.6.2.tar.bz2"
-MD5SUM="a2e57911713308bef81b9347135cc5dd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Tarantino Antonino"
-EMAIL="metrofox9@gmail.com"
diff --git a/network/kmess/slack-desc b/network/kmess/slack-desc
deleted file mode 100644
index 7bced9d9c3..0000000000
--- a/network/kmess/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kmess: kmess (MSN Messenger client)
-kmess:
-kmess: KMess is a MSN Messenger client for Linux. It enables Linux users
-kmess: to chat with friends online who are using MSN Messenger in Windows
-kmess: or Mac OS. The strength of KMess is it's integration with the KDE
-kmess: desktop environment, focus on MSN Messenger specific features and
-kmess: an easy-to-use interface.
-kmess:
-kmess:
-kmess:
-kmess:
diff --git a/network/knemo/README b/network/knemo/README
deleted file mode 100644
index 9f9867762e..0000000000
--- a/network/knemo/README
+++ /dev/null
@@ -1,8 +0,0 @@
-kNemo (KDE Network Monitor) offers a network monitor similar to the one
-found in Windows. It displays for every network interface an icon in
-the systray. Tooltips and an info dialog provide further information
-about the interface. Passive popups inform about interface changes.
-A traffic plotter is also integrated.
-
-knemo polls the network interface status every second using the ifconfig,
-route, and iwconfig.
diff --git a/network/knemo/doinst.sh b/network/knemo/doinst.sh
deleted file mode 100644
index 4a25de5e6f..0000000000
--- a/network/knemo/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/knemo/knemo.SlackBuild b/network/knemo/knemo.SlackBuild
deleted file mode 100644
index a8e7b2cfc6..0000000000
--- a/network/knemo/knemo.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for: knemo
-# Written by: Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
-# Modified by the SlackBuilds.org project
-# Update by: Andre Barboza <bmg.andre@gmail.com>
-
-set -e
-
-PRGNAM=knemo
-VERSION=${VERSION:-0.7.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-DOCFILES="AUTHORS COPYING ChangeLog INSTALL README"
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $TMP/$PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
- ..
-
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/knemo/knemo.info b/network/knemo/knemo.info
deleted file mode 100644
index 8e1fc3d12b..0000000000
--- a/network/knemo/knemo.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="knemo"
-VERSION="0.7.7"
-HOMEPAGE="https://www.kde.org/applications/internet/knemo/"
-DOWNLOAD="https://github.com/KDE/knemo/archive/v0.7.7/knemo-0.7.7.tar.gz"
-MD5SUM="e9967dc4ecbb0c25c9a6e18f96e4679c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/network/knemo/slack-desc b/network/knemo/slack-desc
deleted file mode 100644
index 31a69bf079..0000000000
--- a/network/knemo/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-knemo: knemo (KDE Network Monitor)
-knemo:
-knemo: KNemo offers a network monitor similar to the one found in Windows. It
-knemo: displays for every network interface an icon in the systray. Tooltips
-knemo: and an info dialog provide further information about the interface.
-knemo: Passive popups inform about interface changes. A traffic plotter is
-knemo: also integrated.
-knemo:
-knemo: knemo polls the network interface status every second using the
-knemo: ifconfig, route and iwconfig too
-knemo:
diff --git a/network/knock/README b/network/knock/README
index 1af140baea..c439f9ced4 100644
--- a/network/knock/README
+++ b/network/knock/README
@@ -1,10 +1,9 @@
-Knockd and knock are a port-knock server and client, respectively. Knockd
-listens to all traffic on an ethernet (or PPP) interface, looking for
-special "knock" sequences of port-hits. A client makes these port-hits
-by sending a TCP (or UDP) packet to a port on the server. This port
-need not be open -- since knockd listens at the link-layer level, it
-sees all traffic even if it's destined for a closed port. When the
-server detects a specific sequence of port-hits, it runs a command
-defined in its configuration file. This can be used to open up holes in
-a firewall for quick access.
-
+Knockd and knock are a port-knock server and client,
+respectively. Knockd listens to all traffic on an ethernet (or PPP)
+interface, looking for special "knock" sequences of port-hits. A
+client makes these port-hits by sending a TCP (or UDP) packet to a
+port on the server. This port need not be open -- since knockd listens
+at the link-layer level, it sees all traffic even if it's destined
+for a closed port. When the server detects a specific sequence of
+port-hits, it runs a command defined in its configuration file. This
+can be used to open up holes in a firewall for quick access.
diff --git a/network/knock/knock.SlackBuild b/network/knock/knock.SlackBuild
index eeb481a019..aa49efa71e 100644
--- a/network/knock/knock.SlackBuild
+++ b/network/knock/knock.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for knock(d)
# Written by Joey Trungale joey@trungale.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=knock
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -46,10 +56,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -63,16 +73,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $PKG/etc/knockd.conf > $PKG/usr/doc/$PRGNAM-$VERSION/knockd.conf
mv $PKG/etc/knockd.conf $PKG/etc/knockd.conf.new
@@ -85,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/knock/knock.info b/network/knock/knock.info
index 8274f4fce1..6845299aa4 100644
--- a/network/knock/knock.info
+++ b/network/knock/knock.info
@@ -1,8 +1,8 @@
PRGNAM="knock"
-VERSION="0.5"
+VERSION="0.7"
HOMEPAGE="http://www.zeroflux.org"
-DOWNLOAD="http://www.zeroflux.org/proj/knock/files/knock-0.5.tar.gz"
-MD5SUM="ca09d61458974cff90a700aba6120891"
+DOWNLOAD="http://www.zeroflux.org/proj/knock/files/knock-0.7.tar.gz"
+MD5SUM="cb6373fd4ccb42eeca3ff406b7fdb8a7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/kobby/README b/network/kobby/README
deleted file mode 100644
index 147678d93d..0000000000
--- a/network/kobby/README
+++ /dev/null
@@ -1,4 +0,0 @@
-kobby is a collaborative editor for KDE similar to gobby.
-
-Note: the "inifinoted" daemon, required for collaborative sessions, is
-included with the libinfinity Slackbuild.
diff --git a/network/kobby/doinst.sh b/network/kobby/doinst.sh
deleted file mode 100644
index 4e8ba7071d..0000000000
--- a/network/kobby/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/network/kobby/kobby.SlackBuild b/network/kobby/kobby.SlackBuild
deleted file mode 100644
index 944183e428..0000000000
--- a/network/kobby/kobby.SlackBuild
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for kobby, GooseYArd@gmail.com
-
-PRGNAM=kobby
-VERSION=${VERSION:-20110501_2f61f86}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix for glib>=2.31
-sed -i "s|/gerror||" kobby/editor/documentbuilder.cpp kobby/editor/connection.h
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/kobby/kobby.info b/network/kobby/kobby.info
deleted file mode 100644
index f53f5dae2a..0000000000
--- a/network/kobby/kobby.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kobby"
-VERSION="20110501_2f61f86"
-HOMEPAGE="https://sites.google.com/site/kobbyeditor/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/kobby-20110501_2f61f86.tar.xz"
-MD5SUM="303e67266a9426b59cef945698b3b9ea"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libqinfinity"
-MAINTAINER="Andy Bailey"
-EMAIL="GooseYArd@gmail.com"
diff --git a/network/kobby/slack-desc b/network/kobby/slack-desc
deleted file mode 100644
index c6e6d6446d..0000000000
--- a/network/kobby/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kobby: kobby (collaborative editor)
-kobby:
-kobby: kobby is a collaborative editor for KDE similar to gobby.
-kobby:
-kobby: Homepage: https://sites.google.com/site/kobbyeditor/
-kobby:
-kobby:
-kobby:
-kobby:
-kobby:
-kobby:
diff --git a/network/konversation/README b/network/konversation/README
deleted file mode 100644
index bdf71648f9..0000000000
--- a/network/konversation/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Konversation is an Internet Relay Chat (IRC) client for KDE.
-
-Konversation features include:
-* integration of Konsole (using the KPart technology)
-* interaction with KAddressBook * themable nicklist icons
-* OSD (On Screen Display) * IPv6 support
-* multiserver support * [Secure Sockets Layer|SSL]]
diff --git a/network/konversation/doinst.sh b/network/konversation/doinst.sh
deleted file mode 100644
index 4a25de5e6f..0000000000
--- a/network/konversation/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/konversation/konversation.SlackBuild b/network/konversation/konversation.SlackBuild
deleted file mode 100644
index 7a93fff79f..0000000000
--- a/network/konversation/konversation.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for konversation
-
-# Copyright 2007-2014 Michiel van Wessem, Leicester, United Kingdom
-# Copyright 2020 Gregory Tourte <artourter@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=konversation
-VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-SRC_VERSION=$(echo $VERSION | tr _ -)
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$SRC_VERSION
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.xz
-cd $PRGNAM-$SRC_VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p build
-( cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make
- make install DESTDIR=$PKG
-) || exit 1
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/konversation/konversation.info b/network/konversation/konversation.info
deleted file mode 100644
index 5e4faf679e..0000000000
--- a/network/konversation/konversation.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="konversation"
-VERSION="1.5.1"
-HOMEPAGE="https://konversation.kde.org"
-DOWNLOAD="https://download.kde.org/stable/konversation/1.5.1/src/konversation-1.5.1.tar.xz"
-MD5SUM="66731bbfa34e36bd3f7b723c63a492e7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="ArTourter"
-EMAIL="artourter@gmail.com"
diff --git a/network/konversation/slack-desc b/network/konversation/slack-desc
deleted file mode 100644
index a353822169..0000000000
--- a/network/konversation/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-konversation: konversation (KDE IRC client)
-konversation:
-konversation: Konversation is a user-friendly and highly configurable
-konversation: Internet Relay Chat client for KDE.
-konversation:
-konversation: Konversation has support for standard IRC features, SSL server
-konversation: support, bookmarking support, multiple identities for different
-konversation: servers, theme support, and much more.
-konversation:
-konversation: Homepage: http://konversation.kde.org/
-konversation:
diff --git a/network/krb5/EXPORT b/network/krb5/EXPORT
deleted file mode 100644
index d868a9e27e..0000000000
--- a/network/krb5/EXPORT
+++ /dev/null
@@ -1,13 +0,0 @@
-EXPORT LAW WARNINGS:
-
- * Export of this software from the United States of America may be
-subject to the Export Administration Regulations of the United States
-Department of Commerce, currently (October 2003) codified as Title 15
-CFR Parts 730-774.
- * You are responsible for complying with all applicable export
-regulations, including obtaining an export license if required.
- * You may not download this software if you are located in, or are
-a citizen or national of, any country for which the US government
-prohibits the export of encryption source code, currently (October
-2003) Cuba, Iran, Iraq, Libya, North Korea, Sudan, or Syria. (15 CFR
-Sections 734(b)(3), 740.13(e)(4))
diff --git a/network/krb5/README b/network/krb5/README
deleted file mode 100644
index 2058088316..0000000000
--- a/network/krb5/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Kerberos is a network authentication protocol. It is designed to
-provide strong authentication for client/server applications by using
-secret-key cryptography. A free implementation of this protocol is
-available from the Massachusetts Institute of Technology. Kerberos is
-available in many commercial products as well.
-
-Note:
-We provide 2 RC scripts that you can use for your own usage:
-- rc.kadmind: Kerberos KADM5 administration server init script
-- rc.krb5kdc: Kerberos V5 KDC init script
diff --git a/network/krb5/README.krb5 b/network/krb5/README.krb5
deleted file mode 100644
index 72c522b6a7..0000000000
--- a/network/krb5/README.krb5
+++ /dev/null
@@ -1,52 +0,0 @@
-Kerberos is a network authentication protocol. It is designed to
-provide strong authentication for client/server applications by using
-secret-key cryptography. A free implementation of this protocol is
-available from the Massachusetts Institute of Technology. Kerberos is
-available in many commercial products as well.
-
-The Internet is an insecure place. Many of the protocols used in the
-Internet do not provide any security. Tools to "sniff" passwords off
-of the network are in common use by malicious hackers. Thus,
-applications which send an unencrypted password over the network are
-extremely vulnerable. Worse yet, other client/server applications rely
-on the client program to be "honest" about the identity of the user
-who is using it. Other applications rely on the client to restrict its
-activities to those which it is allowed to do, with no other
-enforcement by the server.
-
-Some sites attempt to use firewalls to solve their network security
-problems. Unfortunately, firewalls assume that "the bad guys" are on
-the outside, which is often a very bad assumption. Most of the really
-damaging incidents of computer crime are carried out by insiders.
-Firewalls also have a significant disadvantage in that they restrict
-how your users can use the Internet. (After all, firewalls are simply
-a less extreme example of the dictum that there is nothing more secure
-then a computer which is not connected to the network --- and powered
-off!) In many places, these restrictions are simply unrealistic and
-unacceptable.
-
-Kerberos was created by MIT as a solution to these network security
-problems. The Kerberos protocol uses strong cryptography so that a
-client can prove its identity to a server (and vice versa) across an
-insecure network connection. After a client and server has used
-Kerberos to prove their identity, they can also encrypt all of their
-communications to assure privacy and data integrity as they go about
-their business.
-
-Kerberos is freely available from MIT, under copyright permissions
-very similar those used for the BSD operating system and the X Window
-System. MIT provides Kerberos in source form so that anyone who wishes
-to use it may look over the code for themselves and assure themselves
-that the code is trustworthy. In addition, for those who prefer to
-rely on a professionally supported product, Kerberos is available as a
-product from many different vendors.
-
-In summary, Kerberos is a solution to your network security problems.
-It provides the tools of authentication and strong cryptography over
-the network to help you secure your information systems across your
-entire enterprise. We hope you find Kerberos as useful as it has been
-to us. At MIT, Kerberos has been invaluable to our
-Information/Technology architecture.
-
-Additional information is available from the MIT Kerberos website:
-http://web.mit.edu/kerberos/
diff --git a/network/krb5/doinst.sh b/network/krb5/doinst.sh
deleted file mode 100644
index db0a05b7e2..0000000000
--- a/network/krb5/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
- if [ -e ${OLD} ]; then
- cp -a ${OLD} ${NEW}.incoming
- cat ${NEW} > ${NEW}.incoming
- mv ${NEW}.incoming ${NEW}
- fi
- config ${NEW}
-}
-
-preserve_perms etc/rc.d/rc.krb5kdc.new
-preserve_perms etc/rc.d/rc.kadmind.new
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild
deleted file mode 100644
index 4f1fb3c106..0000000000
--- a/network/krb5/krb5.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for krb5
-
-# Copyright (c) 2009, Tom Canich, State College, Pennsylvania, USA
-# Copyright 2015-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=krb5
-VERSION=${VERSION:-1.19.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-
-sed -i "/KRB5ROOT=/s/\/local//" src/util/ac_check_krb5.m4
-
-cd src
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-CPPFLAGS+=" -I/usr/include/et" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-dns-for-realm \
- --with-ldap \
- --with-system-et \
- --with-system-ss \
- --enable-pkinit \
- --with-tls-impl=openssl \
- --with-system-verto=no \
- --with-prng-alg=os \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Add init scripts
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.krb5kdc > $PKG/etc/rc.d/rc.krb5kdc.new
-cat $CWD/rc.kadmind > $PKG/etc/rc.d/rc.kadmind.new
-
-rm -rf $PKG/usr/man/cat{1,5,8}
-rm -f $PKG/usr/man/man5/.*.5
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/README $CWD/README.krb5 $CWD/EXPORT $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chown -R root:root $PKG/usr/doc
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/krb5/krb5.info b/network/krb5/krb5.info
deleted file mode 100644
index ec91e88bd1..0000000000
--- a/network/krb5/krb5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="krb5"
-VERSION="1.19.1"
-HOMEPAGE="http://web.mit.edu/kerberos/"
-DOWNLOAD="http://web.mit.edu/kerberos/dist/krb5/1.19/krb5-1.19.1.tar.gz"
-MD5SUM="81257292f8243f735654d4fd5d1fef6a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/network/krb5/rc.kadmind b/network/krb5/rc.kadmind
deleted file mode 100644
index 5a5633f1ee..0000000000
--- a/network/krb5/rc.kadmind
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Kerberos KADM5 administration server init script
-#
-# Copyright (C) 2017 Jason Graham <jgraha8@gmail.com>
-#
-
-# Start kadmind:
-kadmind_start() {
- CMDLINE="/usr/sbin/kadmind"
- echo -n "Starting kadmind: $CMDLINE"
- $CMDLINE
- echo
-}
-
-# Stop kadmind:
-kadmind_stop() {
- echo "Stopping kadmind..."
- killall -e -q kadmind
-}
-
-# Restart kadmind:
-kadmind_restart() {
- kadmind_stop
- sleep 1
- kadmind_start
-}
-
-# Check if kadmind is running
-kadmind_status() {
- if [ ! -z "$(ps -e -o command | grep -E -w [/]usr/sbin/kadmind)" ]; then
- echo "kadmind is running."
- else
- echo "kadmind is stopped."
- exit 1
- fi
-}
-
-case "$1" in
- 'start')
- kadmind_start
- ;;
- 'stop')
- kadmind_stop
- ;;
- 'restart')
- kadmind_restart
- ;;
- 'status')
- kadmind_status
- ;;
- *)
- echo "usage $0 start|stop|restart|status"
-esac
diff --git a/network/krb5/rc.krb5kdc b/network/krb5/rc.krb5kdc
deleted file mode 100644
index 6829e12ab5..0000000000
--- a/network/krb5/rc.krb5kdc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Kerberos V5 KDC init script
-#
-# Copyright (C) 2017 Jason Graham <jgraha8@gmail.com>
-#
-
-# Start krb5kdc:
-krb5kdc_start() {
- CMDLINE="/usr/sbin/krb5kdc"
- echo -n "Starting krb5kdc: $CMDLINE"
- $CMDLINE
- echo
-}
-
-# Stop krb5kdc:
-krb5kdc_stop() {
- echo "Stopping krb5kdc..."
- killall -e -q krb5kdc
-}
-
-# Restart krb5kdc:
-krb5kdc_restart() {
- krb5kdc_stop
- sleep 1
- krb5kdc_start
-}
-
-# Check if krb5kdc is running
-krb5kdc_status() {
- if [ ! -z "$(ps -e -o command | grep -E -w [/]usr/sbin/krb5kdc)" ]; then
- echo "krb5kdc is running."
- else
- echo "krb5kdc is stopped."
- exit 1
- fi
-}
-
-case "$1" in
- 'start')
- krb5kdc_start
- ;;
- 'stop')
- krb5kdc_stop
- ;;
- 'restart')
- krb5kdc_restart
- ;;
- 'status')
- krb5kdc_status
- ;;
- *)
- echo "usage $0 start|stop|restart|status"
-esac
diff --git a/network/krb5/slack-desc b/network/krb5/slack-desc
deleted file mode 100644
index 6b5ce3e43e..0000000000
--- a/network/krb5/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-krb5: krb5 (network authentication protocol)
-krb5:
-krb5: Kerberos is a network authentication protocol. It is designed to
-krb5: provide strong authentication for client/server applications by using
-krb5: secret-key cryptography. A free implementation of this protocol is
-krb5: available from the Massachusetts Institute of Technology. Kerberos is
-krb5: available in many commercial products as well.
-krb5:
-krb5: Homepage: http://web.mit.edu/kerberos/
-krb5:
-krb5:
diff --git a/network/kstart/kstart.SlackBuild b/network/kstart/kstart.SlackBuild
index cfc31434c2..7836d652b4 100644
--- a/network/kstart/kstart.SlackBuild
+++ b/network/kstart/kstart.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kstart
-# Copyright 2019 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2019-2022 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kstart
-VERSION=${VERSION:-4.2}
+VERSION=${VERSION:-4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,11 +97,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE NEWS README README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kstart/kstart.info b/network/kstart/kstart.info
index 4046723a73..a5db550242 100644
--- a/network/kstart/kstart.info
+++ b/network/kstart/kstart.info
@@ -1,10 +1,10 @@
PRGNAM="kstart"
-VERSION="4.2"
+VERSION="4.3"
HOMEPAGE="http://www.eyrie.org/~eagle/software/kstart/"
-DOWNLOAD="http://archives.eyrie.org/software/kerberos/kstart-4.2.tar.gz"
-MD5SUM="3386a891f462e90108f77f520895d9e7"
+DOWNLOAD="http://archives.eyrie.org/software/kerberos/kstart-4.3.tar.gz"
+MD5SUM="029a57f503099263bf67688343cebf89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="krb5"
+REQUIRES=""
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"
diff --git a/network/kubectl/kubectl.SlackBuild b/network/kubectl/kubectl.SlackBuild
index cc2d2f67fb..be5873b911 100644
--- a/network/kubectl/kubectl.SlackBuild
+++ b/network/kubectl/kubectl.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kubectl
-# Copyright 2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2019-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kubectl
-VERSION=${VERSION:-1.17.0}
+VERSION=${VERSION:-1.23.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kubectl/kubectl.info b/network/kubectl/kubectl.info
index 68fbffd7e0..80aa1d0e5e 100644
--- a/network/kubectl/kubectl.info
+++ b/network/kubectl/kubectl.info
@@ -1,10 +1,10 @@
PRGNAM="kubectl"
-VERSION="1.17.0"
+VERSION="1.23.0"
HOMEPAGE="https://kubernetes.io/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://storage.googleapis.com/kubernetes-release/release/v1.17.0/bin/linux/amd64/kubectl"
-MD5SUM_x86_64="ab919f8c715aa0954cccce0701cbcb0c"
+DOWNLOAD_x86_64="https://storage.googleapis.com/kubernetes-release/release/v1.23.0/bin/linux/amd64/kubectl"
+MD5SUM_x86_64="a60e14348d808ea0b11acdc2b1b026b5"
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/kvirc/README b/network/kvirc/README
index 98976bcd7f..7c4a9d8534 100644
--- a/network/kvirc/README
+++ b/network/kvirc/README
@@ -1,9 +1,10 @@
-KVIrc is the K-Visual IRC Client. It's a free portable Internet Relay
-Chat client based on the excellent Qt GUI toolkit. KVIrc is being written
-by Szymon Stefanek and The KVIrc Development Team with the contribution
-of many IRC addicted developers around the world. It has a full GUI
-based configuration, floatable windows, built-in help browser, addons and
-themes support (configurable from GUI or scripting), transparency support,
-dran'n'drop toolbar editing, activity notifier as well as proxy support,
-SSL and IPv6 sockets support, a modular arch which loads modules only when
-necessary and a huge API for writing extensions
+KVIrc is the K-Visual IRC Client. It's a free portable Internet
+Relay Chat client based on the excellent Qt GUI toolkit. KVIrc is
+being written by Szymon Stefanek and The KVIrc Development Team with
+the contribution of many IRC addicted developers around the world.
+It has a full GUI based configuration, floatable windows, built-in
+help browser, addons and themes support (configurable from GUI
+or scripting), transparency support, dran'n'drop toolbar editing,
+activity notifier as well as proxy support, SSL and IPv6 sockets
+support, a modular arch which loads modules only when necessary and a
+huge API for writing extensions
diff --git a/network/kvirc/kvirc.SlackBuild b/network/kvirc/kvirc.SlackBuild
index 651e5b51d8..75118ba885 100644
--- a/network/kvirc/kvirc.SlackBuild
+++ b/network/kvirc/kvirc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for KVIrc
@@ -23,10 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220301 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kvirc
-VERSION=${VERSION:-20180605_8db6192}
+SRCNAM=KVIrc
+VERSION=${VERSION:-5.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,19 +70,22 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# use our *FLAGS
sed -i "s|\"-O3|\"$SLKCFLAGS|" CMakeLists.txt
+# 20220301 bkw: older qt5 didn't need this, but Slackware 15.0's does:
+sed -i '1i#include <QPainterPath>' src/modules/iograph/libkviiograph.cpp
+
mkdir build
cd build
cmake \
@@ -86,14 +99,10 @@ cd build
-DWANT_STRIP=ON \
..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.md RELEASES doc/*LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
@@ -104,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/kvirc/kvirc.info b/network/kvirc/kvirc.info
index ad9abe5f13..bea15a011e 100644
--- a/network/kvirc/kvirc.info
+++ b/network/kvirc/kvirc.info
@@ -1,10 +1,10 @@
PRGNAM="kvirc"
-VERSION="20180605_8db6192"
+VERSION="5.0.0"
HOMEPAGE="http://kvirc.net"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/kvirc-20180605_8db6192.tar.xz"
-MD5SUM="0e68590319cd733d81bc5e8c13007b5e"
+DOWNLOAD="ftp://ftp.kvirc.net/pub/kvirc/5.0.0/source/KVIrc-5.0.0.tar.bz2"
+MD5SUM="9d53099647b1e793943269d7a194d4b2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/network/kwakd/kwakd.SlackBuild b/network/kwakd/kwakd.SlackBuild
index 65e5a4a28e..bfbc94a0e7 100644
--- a/network/kwakd/kwakd.SlackBuild
+++ b/network/kwakd/kwakd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kwakd
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kwakd
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lagrange/README b/network/lagrange/README
new file mode 100644
index 0000000000..6eabc8dff1
--- /dev/null
+++ b/network/lagrange/README
@@ -0,0 +1,4 @@
+Lagrange is a desktop GUI client for browsing Geminispace. It offers
+modern conveniences familiar from web browsers, such as smooth
+scrolling, inline image viewing, multiple tabs, visual themes,
+Unicode fonts, bookmarks, history, and page outlines.
diff --git a/network/lagrange/doinst.sh b/network/lagrange/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/lagrange/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/lagrange/lagrange.SlackBuild b/network/lagrange/lagrange.SlackBuild
new file mode 100644
index 0000000000..0b154462c8
--- /dev/null
+++ b/network/lagrange/lagrange.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for lagrange
+
+# Copyright 2022 Frederic Galusik, Bordeaux, France
+
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lagrange
+VERSION=${VERSION:-1.15.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_KERNING=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Move man page to the right place
+mkdir -p $PKG/usr/man
+cp -a $PKG/usr/share/man/* $PKG/usr/man/
+rm -Rf $PKG/usr/share
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+# move stuffs to the right places
+# see build/install_manifest.txt
+mkdir -p $PKG/usr/share/applications
+cp -a build/fi.skyjake.Lagrange.desktop $PKG/usr/share/applications/
+mkdir -p $PKG/usr/share/icons/hicolor/256x256/apps/
+cp -a res/lagrange-256.png $PKG/usr/share/icons/hicolor/256x256/apps/fi.skyjake.Lagrange.png
+mkdir -p $PKG/usr/share/metainfo/
+cp -a res/fi.skyjake.Lagrange.appdata.xml $PKG/usr/share/metainfo/
+mkdir -p $PKG/usr/share/lagrange/
+cp -a build/resources.lgr $PKG/usr/share/lagrange/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS.md LICENSE.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lagrange/lagrange.info b/network/lagrange/lagrange.info
new file mode 100644
index 0000000000..45ead71a4f
--- /dev/null
+++ b/network/lagrange/lagrange.info
@@ -0,0 +1,10 @@
+PRGNAM="lagrange"
+VERSION="1.15.6"
+HOMEPAGE="https://gmi.skyjake.fi/lagrange/"
+DOWNLOAD="https://git.skyjake.fi/skyjake/lagrange/releases/download/v1.15.6/lagrange-1.15.6.tar.gz"
+MD5SUM="6bf6dd7e5c7e7483ee26ec64fe6619fb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Frederic Galusik"
+EMAIL="f@galusik.fr"
diff --git a/network/lagrange/slack-desc b/network/lagrange/slack-desc
new file mode 100644
index 0000000000..881668c252
--- /dev/null
+++ b/network/lagrange/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+lagrange: lagrange (desktop GUI client for browsing Geminispace)
+lagrange:
+lagrange: Lagrange is a desktop GUI client for browsing Geminispace. It offers
+lagrange: modern conveniences familiar from web browsers, such as smooth
+lagrange: scrolling, inline image viewing, multiple tabs, visual themes,
+lagrange: Unicode fonts, bookmarks, history, and page outlines.
+lagrange:
+lagrange: Like Gemini, Lagrange has been designed with minimalism in mind. It
+lagrange: depends on a small number of essential libraries. It is written in C
+lagrange: and uses SDL for hardware-accelerated graphics. OpenSSL is used for
+lagrange: secure communications.
diff --git a/network/ldapvi/ldapvi.SlackBuild b/network/ldapvi/ldapvi.SlackBuild
index 4c30fee73d..355cefd95c 100644
--- a/network/ldapvi/ldapvi.SlackBuild
+++ b/network/ldapvi/ldapvi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ldapvi
@@ -30,26 +30,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ldapvi
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -105,4 +112,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/leafnode/README b/network/leafnode/README
index 004977ddaa..31af7b91fe 100644
--- a/network/leafnode/README
+++ b/network/leafnode/README
@@ -1,7 +1,7 @@
-Leafnode 2 is an NNTP proxy server intended for small sites, where
-there are few users and little disk space, but where a large number of
-groups is desired. It can also be used to give a regular newsreader
-off-line functionality.
+Leafnode 2 is an NNTP proxy server intended for small sites, where
+there are few users and little disk space, but where a large number
+of groups is desired. It can also be used to give a regular newsreader
+off-line functionality.
There is some work to do to install this program effectively, all
of which is clearly set out in the README file contained in the
@@ -9,7 +9,8 @@ documents. It is strongly advised that you read this file thoroughly
before installing Leafnode 2. In summary you will need to:
1. Ensure $NNTPSERVER or /etc/nntpserver points to 'localhost'.
-2. Set /etc/inetd.conf so leafnode is executed for incoming NNTP connections.
+2. Set /etc/inetd.conf so leafnode is executed for incoming NNTP
+ connections.
3. Set /etc/hosts.deny and /etc/hosts.allow to protect the server.
4. Create /etc/leafnode/config and adjust settings as required.
5. Set cronjobs for fetchnews and texpire.
diff --git a/network/leafnode/leafnode.SlackBuild b/network/leafnode/leafnode.SlackBuild
index 797c4ff0fc..6c779979c3 100644
--- a/network/leafnode/leafnode.SlackBuild
+++ b/network/leafnode/leafnode.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Leafnode 2
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leafnode
VERSION=${VERSION:-2.0.0.alpha20140727b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -103,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/leechcraft/README b/network/leechcraft/README
deleted file mode 100644
index 22782597c3..0000000000
--- a/network/leechcraft/README
+++ /dev/null
@@ -1,26 +0,0 @@
-LeechCraft is a full-featured modular "Internet client" application,
-currently including plugins for a web browser, news feed reader,
-BitTorrent client, FTP client, and many more. Plugins are easily added
-and integrated with each other with no effort.
-
-Currently it includes following plugins:
-* Aggregator, news feed reader * BitTorrent, the BitTorrent client
-* Chatter, the IRC client * CSTP, simple HTTP implementation
-* DBusManager, D-Bus for the LeechCraft * DeadLyrics, LyricWiki.org API
-* HistoryHolder, downloads history * LCFTP, FTP implementation client
-* LMP, simple media player with streaming support
-* NetworkMonitor, which monitors for HTTP requests
-* Poshuku, the web browser * Poshuku CleanWeb, AdBlock+-compatible ad blocker
-* Poshuku FileScheme, support for the file:// browsing
-* Poshuku FUA, which allows to set fake user agents per domain
-* SeekThru, client for OpenSearch-aware web sites
-
-The following variables default to ON, but you can disable building any of
-them by passing NAME_OF_VARIABLE=OFF to the build script:
- ENABLE_SUMMARY ENABLE_TORRENT ENABLE_AGGREGATOR ENABLE_POSHUKU ENABLE_HTTP
- ENABLE_FTP ENABLE_LMP ENABLE_DBUSMANAGER ENABLE_DEADLYRICS ENABLE_SEEKTHRU
- ENABLE_NETWORKMONITOR ENABLE_HISTORYHOLDER ENABLE_CHATTER ENABLE_YASD
- ENABLE_DCMINATOR ENABLE_NEWLIFE ENABLE_ANHERO ENABLE_VGRABBER
-As an example, you can do this: ENABLE_LMP=OFF ./leechcraft.SlackBuild
-
-An optional dependency is libtorrent-rasterbar.
diff --git a/network/leechcraft/doinst.sh b/network/leechcraft/doinst.sh
deleted file mode 100644
index f3f8604d5a..0000000000
--- a/network/leechcraft/doinst.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-if [ -e usr/share/icons/Pevzi/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/Pevzi >/dev/null 2>&1
- fi
-fi
-
-if [ -e usr/share/icons/oxygen/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/oxygen >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/leechcraft/leechcraft.SlackBuild b/network/leechcraft/leechcraft.SlackBuild
deleted file mode 100644
index 80b2acc607..0000000000
--- a/network/leechcraft/leechcraft.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for LeechCraft
-
-# Copyright 2009 rexim
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=leechcraft
-VERSION=${VERSION:-0.3.65}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- EXTRA_CMAKE_FLAGS=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- EXTRA_CMAKE_FLAGS=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- EXTRA_CMAKE_FLAGS="-DRESPECTLIB64=True"
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
-cmake \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX="$LIBDIRSUFFIX" \
- -DENABLE_SUMMARY="${ENABLE_SUMMARY:-ON}" \
- -DENABLE_TORRENT="${ENABLE_TORRENT:-ON}" \
- -DENABLE_AGGREGATOR="${ENABLE_AGGREGATOR:-ON}" \
- -DENABLE_POSHUKU="${ENABLE_POSHUKU:-ON}" \
- -DENABLE_HTTP="${ENABLE_HTTP:-ON}" \
- -DENABLE_FTP="${ENABLE_FTP:-ON}" \
- -DENABLE_LMP="${ENABLE_LMP:-ON}" \
- -DENABLE_DBUSMANAGER="${ENABLE_DBUSMANAGER:-ON}" \
- -DENABLE_DEADLYRICS="${ENABLE_DEADLYRICS:-ON}" \
- -DENABLE_SEEKTHRU="${ENABLE_SEEKTHRU:-ON}" \
- -DENABLE_NETWORKMONITOR="${ENABLE_NETWORKMONITOR:-ON}" \
- -DENABLE_HISTORYHOLDER="${ENABLE_HISTORYHOLDER:-ON}" \
- -DENABLE_CHATTER="${ENABLE_CHATTER:-ON}" \
- -DENABLE_YASD="${ENABLE_YASD:-ON}" \
- -DENABLE_DCMINATOR="${ENABLE_DCMINATOR:-ON}" \
- -DENABLE_NEWLIFE="${ENABLE_NEWLIFE:-ON}" \
- -DENABLE_ANHERO="${ENABLE_ANHERO:-ON}" \
- -DENABLE_VGRABBER="${ENABLE_VGRABBER:-ON}" \
- $EXTRA_CMAKE_FLAGS \
- ../src/
-
-make
-make install DESTDIR=$PKG
-
-# Move the manual pages to the correct place
-mv $PKG/usr/share/man $PKG/usr
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/leechcraft/leechcraft.info b/network/leechcraft/leechcraft.info
deleted file mode 100644
index 946c9060bd..0000000000
--- a/network/leechcraft/leechcraft.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="leechcraft"
-VERSION="0.3.65"
-HOMEPAGE="https://leechcraft.org/"
-DOWNLOAD="https://downloads.sourceforge.net/leechcraft/leechcraft-0.3.65.tar.bz2"
-MD5SUM="f410eae27731aa80b8921701477b15e7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="rexim"
-EMAIL="reximkut@gmail.com"
diff --git a/network/leechcraft/slack-desc b/network/leechcraft/slack-desc
deleted file mode 100644
index eddd124950..0000000000
--- a/network/leechcraft/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-leechcraft: leechcraft (modular internet client application)
-leechcraft:
-leechcraft: LeechCraft is a full-featured modular "Internet client" application,
-leechcraft: currently including plugins for a web browser, news feed reader,
-leechcraft: BitTorrent client, FTP client and many more. Plugins are easily added
-leechcraft: and integrated with each other with no effort.
-leechcraft:
-leechcraft: Homepage: http://leechcraft.org/
-leechcraft:
-leechcraft:
-leechcraft:
diff --git a/network/libcapi20/README b/network/libcapi20/README
deleted file mode 100644
index 7d4ccdd748..0000000000
--- a/network/libcapi20/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Modular libcapi20 by Jan-Michael Brummer
-
-libcapi20 features autodetection of connected CAPI devices.
diff --git a/network/libcapi20/libcapi20.SlackBuild b/network/libcapi20/libcapi20.SlackBuild
deleted file mode 100644
index 88b1298293..0000000000
--- a/network/libcapi20/libcapi20.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libcapi20
-#
-# Copyright 2013 Marek Srejma (sam_web@yahoo.de)
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=libcapi20
-VERSION=${VERSION:-3.0.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-EXDIR=${EXDIR:-capi20}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $EXDIR
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $EXDIR
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING COPYING.LIB $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/libcapi20/libcapi20.info b/network/libcapi20/libcapi20.info
deleted file mode 100644
index 9a4a3e1279..0000000000
--- a/network/libcapi20/libcapi20.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libcapi20"
-VERSION="3.0.7"
-HOMEPAGE="http://tabos.org/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/libcapi20/libcapi20-3.0.7.tar.bz2"
-MD5SUM="0074d8ecdf96b474a7dada1e8f12bb9f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
diff --git a/network/libcapi20/slack-desc b/network/libcapi20/slack-desc
deleted file mode 100644
index 7a4ca407c8..0000000000
--- a/network/libcapi20/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-libcapi20: libcapi20 (CAPI support libraries)
-libcapi20:
-libcapi20: libcapi20 features autodetection of connected CAPI devices.
-libcapi20:
-libcapi20: http://tabos.org/
-libcapi20:
-libcapi20:
-libcapi20:
-libcapi20:
-libcapi20:
-libcapi20:
diff --git a/network/libdnet/libdnet.SlackBuild b/network/libdnet/libdnet.SlackBuild
index 0e452ea50f..44b079510f 100644
--- a/network/libdnet/libdnet.SlackBuild
+++ b/network/libdnet/libdnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdnet.
@@ -23,27 +23,37 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdnet
VERSION=${VERSION:-1.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="LICENSE README THANKS"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libident/libident.SlackBuild b/network/libident/libident.SlackBuild
index 0e99b00ac7..4e1d99ea3b 100644
--- a/network/libident/libident.SlackBuild
+++ b/network/libident/libident.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libident
-# Copyright 2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2017-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libident
VERSION=${VERSION:-0.32}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,8 +108,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libiscsi/libiscsi.SlackBuild b/network/libiscsi/libiscsi.SlackBuild
index 1ed646dbd6..b2346c036c 100644
--- a/network/libiscsi/libiscsi.SlackBuild
+++ b/network/libiscsi/libiscsi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libiscsi
@@ -30,10 +30,13 @@
# initial release
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libiscsi
VERSION=${VERSION:-1.19.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,12 +80,14 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
./autogen.sh
+SLKCFLAGS+=" -fcommon"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -89,6 +98,9 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --disable-tests \
+ --disable-test-tool \
+ --disable-werror \
--build=$ARCH-slackware-linux
make
@@ -97,8 +109,7 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -110,8 +121,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libmaxminddb/README b/network/libmaxminddb/README
index d18fdd2c2e..d97ec52327 100644
--- a/network/libmaxminddb/README
+++ b/network/libmaxminddb/README
@@ -1,9 +1,10 @@
-The libmaxminddb library provides a C library for reading MaxMind DB files,
-including the GeoIP2 databases from MaxMind. This is a custom binary format
-designed to facilitate fast lookups of IP addresses while allowing for great
-flexibility in the type of data associated with an address.
+The libmaxminddb library provides a C library for reading MaxMind DB
+files, including the GeoIP2 databases from MaxMind. This is a custom
+binary format designed to facilitate fast lookups of IP addresses
+while allowing for great flexibility in the type of data associated
+with an address.
The MaxMind DB format is an open format.
The spec is available at http://maxmind.github.io/MaxMind-DB/.
-This spec is licensed under the Creative Commons Attribution-ShareAlike 3.0
-Unported License.
+This spec is licensed under the Creative Commons Attribution-ShareAlike
+3.0 Unported License.
diff --git a/network/libmaxminddb/libmaxminddb.SlackBuild b/network/libmaxminddb/libmaxminddb.SlackBuild
index 31e433988b..48e4837c31 100644
--- a/network/libmaxminddb/libmaxminddb.SlackBuild
+++ b/network/libmaxminddb/libmaxminddb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmaxminddb
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmaxminddb
VERSION=${VERSION:-1.4.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,8 +101,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libnatpmp/README b/network/libnatpmp/README
index ff8458a220..f00f5b1c4d 100644
--- a/network/libnatpmp/README
+++ b/network/libnatpmp/README
@@ -1,5 +1,6 @@
-NAT-PMP is the direct concurrent to the UPnP IGD specification. It is providing
-a way to do NAT traversal. libnatpmp is an attempt to make a portable and
-fully compliant implementation of the protocol for the client side. It is
-based on non blocking sockets and all calls of the API are asynchronous. It
-is therefore very easy to integrate the NAT-PMP code to any event driven code.
+NAT-PMP is the direct concurrent to the UPnP IGD specification. It
+is providing a way to do NAT traversal. libnatpmp is an attempt to
+make a portable and fully compliant implementation of the protocol for
+the client side. It is based on non blocking sockets and all calls of
+the API are asynchronous. It is therefore very easy to integrate the
+NAT-PMP code to any event driven code.
diff --git a/network/libnatpmp/libnatpmp.SlackBuild b/network/libnatpmp/libnatpmp.SlackBuild
index 8fcf8435d9..12603f71a8 100644
--- a/network/libnatpmp/libnatpmp.SlackBuild
+++ b/network/libnatpmp/libnatpmp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libnatpmp
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libnatpmp
VERSION=${VERSION:-20150609}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libnfsidmap/README b/network/libnfsidmap/README
deleted file mode 100644
index 44ed36d6e0..0000000000
--- a/network/libnfsidmap/README
+++ /dev/null
@@ -1,2 +0,0 @@
-libnfsidmap provides functions to map between NFSv4 names (which are of the
-form user@domain) and local uid's and gid's.
diff --git a/network/libnfsidmap/doinst.sh b/network/libnfsidmap/doinst.sh
deleted file mode 100644
index 6e902b74af..0000000000
--- a/network/libnfsidmap/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/idmapd.conf.new
diff --git a/network/libnfsidmap/libnfsidmap.SlackBuild b/network/libnfsidmap/libnfsidmap.SlackBuild
deleted file mode 100644
index 05907b709a..0000000000
--- a/network/libnfsidmap/libnfsidmap.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libnfsidmap
-
-# Copyright 2019 pyllyukko
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=libnfsidmap
-VERSION=${VERSION:-0.27}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-pluginpath=/usr/lib${LIBDIRSUFFIX}/libnfsidmap \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-install -D -m 0644 idmapd.conf $PKG/etc/idmapd.conf.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUILDING_FROM_CVS COPYING ChangeLog INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/libnfsidmap/libnfsidmap.info b/network/libnfsidmap/libnfsidmap.info
deleted file mode 100644
index 5355a0f78d..0000000000
--- a/network/libnfsidmap/libnfsidmap.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libnfsidmap"
-VERSION="0.27"
-HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
-DOWNLOAD="https://fedorapeople.org/~steved/libnfsidmap/0.27/libnfsidmap-0.27.tar.gz"
-MD5SUM="ad8ec32ba88cf03076e8129776905530"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="pyllyukko"
-EMAIL="pyllyukko@maimed.org"
diff --git a/network/libnfsidmap/slack-desc b/network/libnfsidmap/slack-desc
deleted file mode 100644
index dd7adc6802..0000000000
--- a/network/libnfsidmap/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-libnfsidmap: libnfsidmap (NFS idmapping library)
-libnfsidmap:
-libnfsidmap: libnfsidmap provides functions to map between NFSv4 names (which are
-libnfsidmap: of the form user@domain) and local uid's and gid's.
-libnfsidmap:
-libnfsidmap:
-libnfsidmap:
-libnfsidmap:
-libnfsidmap:
-libnfsidmap: Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/
-libnfsidmap:
diff --git a/network/librespeed-cli/README b/network/librespeed-cli/README
new file mode 100644
index 0000000000..d851665ecc
--- /dev/null
+++ b/network/librespeed-cli/README
@@ -0,0 +1,17 @@
+Speedtest CLI brings the trusted technology and global server network
+behind Speedtest to the command line. Built for software developers,
+system administrators and computer enthusiasts alike, Speedtest CLI is
+the first official Linux-native Speedtest application backed by Ookla®.
+
+With Speedtest CLI, you can easily:
+
+* Measure internet connection performance metrics like download, upload,
+ latency and packet loss natively without relying on a web browser
+* Test the internet connection of your Linux desktop, a remote server or
+ even lower-powered devices such as the Raspberry Pi with the
+ Speedtest Server Network
+* Set up automated scripts to collect connection performance data,
+ including trends over time
+* Use Speedtest in your programs by wrapping it in the programming
+ language of your choice
+* View test results via CSV, JSONL or JSON
diff --git a/network/librespeed-cli/librespeed-cli.SlackBuild b/network/librespeed-cli/librespeed-cli.SlackBuild
new file mode 100644
index 0000000000..ca1000b2d6
--- /dev/null
+++ b/network/librespeed-cli/librespeed-cli.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for librespeed-cli
+
+# Copyright 2024 Ivan Kovmir <i@kovmir.eu>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd "$(dirname "$0")" ; CWD=$(pwd)
+
+PRGNAM=librespeed-cli
+VERSION=${VERSION:-1.0.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ PKG_ARCH=i386
+elif [ "$ARCH" = "i686" ]; then
+ PKG_ARCH=i386
+elif [ "$ARCH" = "x86_64" ]; then
+ PKG_ARCH=amd64
+else
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+cd "$TMP"
+rm -rf "$PRGNAM-$VERSION"
+mkdir -p "$PRGNAM-$VERSION"
+tar xvf "$CWD/${PRGNAM}_${VERSION}_linux_${PKG_ARCH}.tar.gz" -C "$PRGNAM-$VERSION"
+cd "$PRGNAM-$VERSION"
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p "$PKG/usr/bin/$SRCNAM"
+install "$PRGNAM" "$PKG/usr/bin"
+
+mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"
+cat "$CWD/$PRGNAM.SlackBuild" > "$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild"
+
+mkdir -p "$PKG/install"
+cat "$CWD/slack-desc" > "$PKG/install/slack-desc"
+
+cd "$PKG"
+/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/network/librespeed-cli/librespeed-cli.info b/network/librespeed-cli/librespeed-cli.info
new file mode 100644
index 0000000000..bc2e56a501
--- /dev/null
+++ b/network/librespeed-cli/librespeed-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="librespeed-cli"
+VERSION="1.0.10"
+HOMEPAGE="https://github.com/librespeed/speedtest-cli"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/librespeed/speedtest-cli/releases/download/v1.0.10/librespeed-cli_1.0.10_linux_amd64.tar.gz"
+MD5SUM_x86_64="6f4daf4bd1235f24862304e55af40b8c"
+REQUIRES=""
+MAINTAINER="Ivan Kovmir"
+EMAIL="i@kovmir.eu"
diff --git a/network/librespeed-cli/slack-desc b/network/librespeed-cli/slack-desc
new file mode 100644
index 0000000000..aa6096d070
--- /dev/null
+++ b/network/librespeed-cli/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+librespeed-cli: librespeed-cli (LibreSpeed CLI)
+librespeed-cli:
+librespeed-cli: Command line program to test internet connection speed.
+librespeed-cli:
+librespeed-cli:
+librespeed-cli:
+librespeed-cli:
+librespeed-cli:
+librespeed-cli:
+librespeed-cli:
+librespeed-cli: Homepage: https://github.com/librespeed/speedtest-cli
diff --git a/network/libressl/README b/network/libressl/README
new file mode 100644
index 0000000000..e2ef33ecf2
--- /dev/null
+++ b/network/libressl/README
@@ -0,0 +1,75 @@
+LibreSSL is a fork of OpenSSL 1.0.1g developed by the OpenBSD project.
+Our goal is to modernize the codebase, improve security, and apply best
+practice development processes from OpenBSD.
+
+The binaries are installed as libressl-openssl, libressl-ocspcheck, and
+libressl-nc.
+
+************************************************************************
+NOTE! This contains libtls so the standalone libtls package should be
+removed before building and installing libressl.
+************************************************************************
+
+Compatibility with OpenSSL:
+
+LibreSSL is API compatible with OpenSSL 1.0.1, but does not yet include
+all new APIs from OpenSSL 1.0.2 and later. LibreSSL also includes APIs
+not yet present in OpenSSL. The current common API subset is OpenSSL
+1.0.1.
+
+LibreSSL is not ABI compatible with any release of OpenSSL, or
+necessarily earlier releases of LibreSSL. You will need to relink your
+programs to LibreSSL in order to use it, just as in moving between major
+versions of OpenSSL. LibreSSL's installed library version numbers are
+incremented to account for ABI and API changes.
+
+Compatibility with other operating systems:
+
+While primarily developed on and taking advantage of APIs available on
+OpenBSD, the LibreSSL portable project attempts to provide working
+alternatives for other operating systems, and assists with improving
+OS-native implementations where possible.
+
+At the time of this writing, LibreSSL is known to build and work on:
+
+* Linux (kernel 3.17 or later recommended)
+* FreeBSD (tested with 9.2 and later)
+* NetBSD (7.0 or later recommended)
+* HP-UX (11i)
+* Solaris (11 and later preferred)
+* Mac OS X (tested with 10.8 and later)
+* AIX (5.3 and later)
+
+LibreSSL also supports the following Windows environments:
+* Microsoft Windows (Windows 7 / Windows Server 2008r2 or later, x86 and
+ x64)
+* Wine (32-bit and 64-bit)
+* Mingw-w64, Cygwin, and Visual Studio
+
+Please report bugs either to the public libressl@openbsd.org mailing
+list, or to the github
+
+Severe vulnerabilities or bugs requiring coordination with OpenSSL can
+be sent to the core team at libressl-security@openbsd.org.
+
+OPTIONS:
+
+By default a minimal set of man pages are installed:
+
+/usr/man/man1/libressl-nc
+/usr/man/man1/libressl-openssl
+/usr/man/man8/libressl-ocspcheck
+
+To install them all, use:
+
+MANPAGES=yes ./libressl.SlackBuild
+
+========================================================================
+
+MAINTAINER NOTES
+
+NOTE: PKG_CONFIG_PATH will likely need setting in your build scripts:
+
+PKG_CONFIG_PATH=/usr/lib$LIBDIRSUFFIX/libressl/pkgconfig:$PKG_CONFIG_PATH
+
+========================================================================
diff --git a/network/libressl/libressl.SlackBuild b/network/libressl/libressl.SlackBuild
new file mode 100644
index 0000000000..4572cfb570
--- /dev/null
+++ b/network/libressl/libressl.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# slackbuild script for libressl
+# By D Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL (http://www.wtfpl.net)
+#
+# 2023-04-18 12:11:51 +0100 Thanks to Naglfar: --with-openssldir=/etc/$PRGNAM
+# 2023-05-10 12:04:05 +0100 Remove ld.so.conf stuff.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libressl
+VERSION=${VERSION:-3.7.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + \
+ -o \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# Don't install man page symlinks
+sed -i '/ln -sf.*\.3"$/d' man/Makefile.in
+
+if [ "${MANPAGES:-no}" = no ]; then
+ sed -i '/man\/Makefile/d' configure.ac
+ autoreconf -f
+ sed -i "s, man , ,g; s, install-man , ,g" Makefile.in
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --enable-nc \
+ --disable-tests \
+ --disable-static \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \
+ --includedir=/usr/include/$PRGNAM \
+ --with-openssldir=/etc/$PRGNAM \
+ --program-prefix "$PRGNAM-" \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/*.la
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING ChangeLog README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/$PRGNAM-$VERSION-relnotes.txt > \
+ $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-$VERSION-relnotes.txt
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libressl/libressl.info b/network/libressl/libressl.info
new file mode 100644
index 0000000000..ca19db9fe0
--- /dev/null
+++ b/network/libressl/libressl.info
@@ -0,0 +1,12 @@
+PRGNAM="libressl"
+VERSION="3.7.1"
+HOMEPAGE="https://www.libressl.org"
+DOWNLOAD="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.1.tar.gz \
+ https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.1-relnotes.txt"
+MD5SUM="133f11e478f46528414245dccb6355f2 \
+ 0b1e4784b5c3b2672c9e7432e11d1fa3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/libressl/slack-desc b/network/libressl/slack-desc
new file mode 100644
index 0000000000..0e240ea20a
--- /dev/null
+++ b/network/libressl/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libressl: libressl (OpenSSL fork by OpenBSD)
+libressl:
+libressl: LibreSSL is a fork of OpenSSL 1.0.1g developed by the OpenBSD
+libressl: project. Our goal is to modernize the codebase, improve security,
+libressl: and apply best practice development processes from OpenBSD.
+libressl:
+libressl: https://www.libressl.org
+libressl:
+libressl:
+libressl:
+libressl:
diff --git a/network/librewolf/README b/network/librewolf/README
new file mode 100644
index 0000000000..76c78d15f1
--- /dev/null
+++ b/network/librewolf/README
@@ -0,0 +1,12 @@
+This project is a custom and independent version of Firefox, with the
+primary goals of privacy, security and user freedom.
+
+LibreWolf is designed to increase protection against tracking and
+fingerprinting techniques, while also including a few security
+improvements. This is achieved through our privacy and security oriented
+settings and patches. LibreWolf also aims to remove all the telemetry,
+data collection and annoyances, as well as disabling anti-freedom
+features like DRM.
+------------------------------------------------------------------------
+This SlackBuild downloads and installs the official AppImage under
+'/opt'.
diff --git a/network/CherryMusic/doinst.sh b/network/librewolf/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/CherryMusic/doinst.sh
+++ b/network/librewolf/doinst.sh
diff --git a/network/librewolf/librewolf.SlackBuild b/network/librewolf/librewolf.SlackBuild
new file mode 100644
index 0000000000..9a80ffed69
--- /dev/null
+++ b/network/librewolf/librewolf.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+# Slackware build script for librewolf
+
+# Copyright 2022-2023 Ivan Kovmir <i@kovmir.eu>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd "$(dirname "$0")" ; CWD=$(pwd)
+
+PRGNAM=librewolf
+VERSION=${VERSION:-124.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH="${ARCH:-$(uname -m)}"
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION."
+ exit 1;
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP="${TMP:-/tmp/SBo}"
+PKG="$TMP/package-$PRGNAM"
+OUTPUT="${OUTPUT:-/tmp}"
+
+APPIMGNAM="LibreWolf.$ARCH.AppImage"
+NAMVER="$PRGNAM-$VERSION"
+
+set -e
+
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+mkdir -p "$PKG/install"
+mkdir -p "$PKG/usr/doc/$NAMVER"
+mkdir -p "$PKG/usr/share/applications"
+mkdir -p "$PKG/usr/bin"
+mkdir -p "$PKG/opt"
+chmod 0755 "$CWD/$APPIMGNAM"
+cd "$PKG/opt"
+"$CWD/$APPIMGNAM" --appimage-extract
+mv squashfs-root "$NAMVER"
+
+# Remove empty file.
+rm -f "$PKG/opt/$NAMVER/removed-files"
+
+# Executable and *.desktop file.
+ln -s "../../opt/$NAMVER/AppRun" "$PKG/usr/bin/$PRGNAM"
+ln -s "../../../opt/$NAMVER/io.gitlab.LibreWolf.desktop" "$PKG/usr/share/applications/$PRGNAM.desktop"
+
+cp "$CWD/$PRGNAM.SlackBuild" "$PKG/usr/doc/$NAMVER/$PRGNAM.SlackBuild"
+cp "$CWD/README" "$PKG/usr/doc/$NAMVER/README"
+cp "$CWD/slack-desc" "$PKG/install/slack-desc"
+cp "$CWD/doinst.sh" "$PKG/install/doinst.sh"
+
+cd "$PKG"
+/sbin/makepkg -l y -c n "$OUTPUT/$NAMVER-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/network/librewolf/librewolf.info b/network/librewolf/librewolf.info
new file mode 100644
index 0000000000..1a5c55807e
--- /dev/null
+++ b/network/librewolf/librewolf.info
@@ -0,0 +1,10 @@
+PRGNAM="librewolf"
+VERSION="124.0.1"
+HOMEPAGE="https://librewolf.net/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/124.0.1-1/LibreWolf.x86_64.AppImage"
+MD5SUM_x86_64="25f0a7268dcf213eec4c20225e1c8b47"
+REQUIRES=""
+MAINTAINER="Ivan Kovmir"
+EMAIL="i@kovmir.eu"
diff --git a/network/librewolf/slack-desc b/network/librewolf/slack-desc
new file mode 100644
index 0000000000..f6c5fd0cae
--- /dev/null
+++ b/network/librewolf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+librewolf: librewolf (Private Web Browser)
+librewolf:
+librewolf: This project is a custom and independent version of Firefox, with the
+librewolf: LibreWolf: primary goals of privacy, security and user freedom.
+librewolf:
+librewolf:
+librewolf:
+librewolf:
+librewolf:
+librewolf: https://librewolf.net/
+librewolf:
diff --git a/network/libteam/README b/network/libteam/README
new file mode 100644
index 0000000000..a577a1e415
--- /dev/null
+++ b/network/libteam/README
@@ -0,0 +1,7 @@
+libteam - Library for controlling team network device
+
+The purpose of the Team softdev Linux driver is to provide a mechanism
+to team multiple NICs (ports) into one logical one (teamdev) at L2
+layer. The process is called "channel bonding", "Ethernet bonding",
+"channel teaming", "link aggregation", etc. This is already implemented
+in the Linux kernel by the bonding driver.
diff --git a/network/libteam/libteam.SlackBuild b/network/libteam/libteam.SlackBuild
new file mode 100644
index 0000000000..c8557c1968
--- /dev/null
+++ b/network/libteam/libteam.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libteam
+
+# Copyright 2021 Ebben Aries <slackbuilds@dscp.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libteam
+VERSION=${VERSION:-1.32}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./autogen.sh
+
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --enable-static=no \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING HOWTO.BASICS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+rm -f $PKG/usr/lib*/*.la
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libteam/libteam.info b/network/libteam/libteam.info
new file mode 100644
index 0000000000..0eee2dac7f
--- /dev/null
+++ b/network/libteam/libteam.info
@@ -0,0 +1,10 @@
+PRGNAM="libteam"
+VERSION="1.32"
+HOMEPAGE="http://libteam.org/"
+DOWNLOAD="https://github.com/jpirko/libteam/archive/v1.32/libteam-1.32.tar.gz"
+MD5SUM="89eea1af705886acbbc7f0685a2638df"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libdaemon"
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/network/libteam/slack-desc b/network/libteam/slack-desc
new file mode 100644
index 0000000000..b199f7944b
--- /dev/null
+++ b/network/libteam/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libteam: libteam (Library for controlling team network device)
+libteam:
+libteam: The purpose of the Team softdev Linux driver is to provide a
+libteam: mechanism to team multiple NICs (ports) into one logical one (teamdev)
+libteam: at L2 layer. The process is called "channel bonding", "Ethernet
+libteam: bonding", "channel teaming", "link aggregation", etc. This is already
+libteam: implemented in the Linux kernel by the bonding driver.
+libteam:
+libteam:
+libteam: Homepage: http://libteam.org/
+libteam:
diff --git a/network/libtls/README b/network/libtls/README
new file mode 100644
index 0000000000..960ec647d0
--- /dev/null
+++ b/network/libtls/README
@@ -0,0 +1,12 @@
+The tls family of functions establishes a secure communications channel
+using the TLS socket protocol. Both clients and servers are supported.
+
+A TLS connection object is created by tls_client(3) or tls_server(3) and
+configured with tls_configure(3).
+
+This also includes a TLS-enabled version of netcat (libressl-nc).
+
+************************************************************************
+NOTE! The libressl package already contains libtls.
+It's recommended to uninstall this before installing libressl.
+************************************************************************
diff --git a/network/libtls/libtls.SlackBuild b/network/libtls/libtls.SlackBuild
new file mode 100644
index 0000000000..a36c2f04d4
--- /dev/null
+++ b/network/libtls/libtls.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# slackbuild script for libtls by D Woodfall
+#
+# WTFPL licence 2023
+
+# BUILD 2: Thanks to Naglfar:
+#
+# --with-openssldir=/etc/libressl \
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libtls
+SRCNAM=libressl
+VERSION=${VERSION:-3.7.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + \
+ -o \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --enable-libtls-only \
+ --enable-nc \
+ --disable-tests \
+ --disable-static \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc/libressl \
+ --with-openssldir=/etc/libressl \
+ --program-prefix "libressl-" \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+gzip -9 $PKG/usr/man/man1/libressl-nc.1
+
+mkdir -p $PKG/usr/man/man3
+
+for page in \
+ tls_client.3 tls_config_ocsp_require_stapling.3 \
+ tls_config_set_protocols.3 tls_config_set_session_id.3 tls_config_verify.3 \
+ tls_conn_version.3 tls_connect.3 tls_init.3 tls_load_file.3 \
+ tls_ocsp_process_response.3 tls_read.3; do
+ gzip -9c man/$page > $PKG/usr/man/man3/$page.gz
+done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING ChangeLog README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libtls/libtls.info b/network/libtls/libtls.info
new file mode 100644
index 0000000000..63e80c1de2
--- /dev/null
+++ b/network/libtls/libtls.info
@@ -0,0 +1,10 @@
+PRGNAM="libtls"
+VERSION="3.7.1"
+HOMEPAGE="https://www.libressl.org"
+DOWNLOAD="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.1.tar.gz"
+MD5SUM="133f11e478f46528414245dccb6355f2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/libtls/slack-desc b/network/libtls/slack-desc
new file mode 100644
index 0000000000..df5dc9b3b8
--- /dev/null
+++ b/network/libtls/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libtls: libtls (a new TLS library by OpenBSD, part of libreSSL)
+libtls:
+libtls: The tls family of functions establishes a secure communications
+libtls: channel using the TLS socket protocol. Both clients and servers are
+libtls: supported.
+libtls:
+libtls: This also includes a TLS-enabled version of netcat (nc-tls).
+libtls:
+libtls: https://www.libtls.org
+libtls:
+libtls:
diff --git a/network/libvarlink/README b/network/libvarlink/README
new file mode 100644
index 0000000000..3311772b05
--- /dev/null
+++ b/network/libvarlink/README
@@ -0,0 +1,12 @@
+Varlink is an interface description format and protocol that aims to
+make services accessible to both humans and machines in the simplest
+feasible way.
+
+A varlink interface combines the classic UNIX command line options,
+STDIN/OUT/ERROR text formats, man pages, service metadata and provides
+the equivalent over a single file descriptor, a.k.a. “FD3”.
+
+Varlink is plain-text, type-safe, discoverable, self-documenting,
+remotable, testable, easy to debug. Varlink is accessible from any
+programming environment. See the Ideals page for more. And everybody
+likes Screenshots.
diff --git a/network/libvarlink/libvarlink.SlackBuild b/network/libvarlink/libvarlink.SlackBuild
new file mode 100644
index 0000000000..9153b3d44c
--- /dev/null
+++ b/network/libvarlink/libvarlink.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for libvarlink
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libvarlink
+VERSION=${VERSION:-23}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/libvarlink/libvarlink.info b/network/libvarlink/libvarlink.info
new file mode 100644
index 0000000000..e089879958
--- /dev/null
+++ b/network/libvarlink/libvarlink.info
@@ -0,0 +1,10 @@
+PRGNAM="libvarlink"
+VERSION="23"
+HOMEPAGE="https://github.com/varlink/libvarlink/"
+DOWNLOAD="https://github.com/varlink/libvarlink/archive/refs/tags/23/libvarlink-23.tar.gz"
+MD5SUM="f5fb14310ba55a67c1927cef41e759ad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.libvarlink_2023-07-12@lockywolf.net"
diff --git a/network/libvarlink/slack-desc b/network/libvarlink/slack-desc
new file mode 100644
index 0000000000..3b4cc52c09
--- /dev/null
+++ b/network/libvarlink/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libvarlink: libvarlink (C implementation of the Varlink protocol and cmd tool)
+libvarlink:
+libvarlink: Varlink is an interface description format and protocol that aims to
+libvarlink: make services accessible to both humans and machines in the simplest
+libvarlink: feasible way.
+libvarlink:
+libvarlink:
+libvarlink:
+libvarlink:
+libvarlink:
+libvarlink:
diff --git a/network/licq/README b/network/licq/README
deleted file mode 100644
index a887fc2b43..0000000000
--- a/network/licq/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Licq is an instant messaging client for *nix Systems. It is a full
-featured ICQ client, although Jabber support has been added recently
-as well. It features a plugin structure that allows for different
-front ends, protocols and more.
-
-By default the qt4-gui, console, auto-reply and aosd plugins are
-built. This requires libaosd as well as cdk and can be overridden by
-setting the PLUGINS environment variable to a space seperated list of
-auto-reply, forwarder, osd, rms, aosd, console, jabber, msn, qt4-gui.
-
-Optional dependencies are libxosd for the osd and gloox for jabber.
diff --git a/network/licq/doinst.sh b/network/licq/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/licq/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/licq/licq.SlackBuild b/network/licq/licq.SlackBuild
deleted file mode 100644
index b3acf64cf6..0000000000
--- a/network/licq/licq.SlackBuild
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for licq
-# Written by Michael Filz <the_emmel@gmx.net>
-
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
-
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License
-# along with this program (most likely, a file named COPYING). If
-# not, see <http://www.gnu.org/licenses/>.
-
-PRGNAM=licq
-VERSION=${VERSION:-1.8.2}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-PLUGINS=${PLUGINS:-"aosd auto-reply forwarder icq jabber msn \
- osd qt4-gui rms"}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
-cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
-make VERBOSE=1
-make install DESTDIR=$PKG
-
-cd ../plugins
-
-for PLUG in $PLUGINS
-do
- cd $PLUG
- mkdir -p build
- cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I$PKG/usr/include" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_MODULE_PATH=$PKG/usr/share/licq/cmake \
- ..
- make VERBOSE=1
- make install DESTDIR=$PKG
- cd ../..
-done
-
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar INSTALL LICENSE README* doc $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/licq/licq.info b/network/licq/licq.info
deleted file mode 100644
index 7c5063268a..0000000000
--- a/network/licq/licq.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="licq"
-VERSION="1.8.2"
-HOMEPAGE="http://www.licq.org"
-DOWNLOAD="http://downloads.sourceforge.net/licq/licq-1.8.2.tar.bz2"
-MD5SUM="46af2bc95865ee61a103d27812fe6e6a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cdk gloox libaosd xosd"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/licq/slack-desc b/network/licq/slack-desc
deleted file mode 100644
index 6e4f073cda..0000000000
--- a/network/licq/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-licq: licq (ICQ instant messenger)
-licq:
-licq: Licq is an instant messaging client for *nix Systems. It is a full
-licq: featured ICQ client, although Jabber support has been added recently
-licq: as well. It features a plugin structure that allows for different
-licq: front ends, protocols and more.
-licq:
-licq:
-licq:
-licq: For more information see the Licq home page at
-licq: http://www.licq.org
diff --git a/network/liferea/liferea.SlackBuild b/network/liferea/liferea.SlackBuild
index 127cb1da9f..bb97d03143 100644
--- a/network/liferea/liferea.SlackBuild
+++ b/network/liferea/liferea.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Liferea
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liferea
VERSION=${VERSION:-1.12.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,6 +80,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://github.com/lwindolf/liferea/issues/767
+export WEBKIT_DISABLE_COMPOSITING_MODE=1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -99,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/liferea/liferea.info b/network/liferea/liferea.info
index c775e8a6dc..e00d50f01c 100644
--- a/network/liferea/liferea.info
+++ b/network/liferea/liferea.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/lwindolf/liferea/releases/download/v1.12.7/liferea-
MD5SUM="e693e92018539910464fab9791f63e01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib libpeas webkit2gtk pygobject3-python3"
+REQUIRES="libpeas webkit2gtk"
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
diff --git a/network/light-firefox/README b/network/light-firefox/README
deleted file mode 100644
index 42f0184cde..0000000000
--- a/network/light-firefox/README
+++ /dev/null
@@ -1,3 +0,0 @@
-A light browser based on Mozilla source code. Many components are slimmed down.
-So it can start faster and use less memory. By default, Light can run along with
-firefox. Both x86 and x64 builds are available.
diff --git a/network/light-firefox/doinst.sh b/network/light-firefox/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/light-firefox/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/light-firefox/light-firefox.SlackBuild b/network/light-firefox/light-firefox.SlackBuild
deleted file mode 100644
index c6b85ac630..0000000000
--- a/network/light-firefox/light-firefox.SlackBuild
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for light-firefox
-
-# Copyright 2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=light-firefox
-SRCNAM=$(printf $PRGNAM | cut -c1-5)
-VERSION=${VERSION:-48.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-SRCARCH="linux-i686"
-if [ "$ARCH" = "x86_64" ]; then
- SRCARCH=linux-$ARCH
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION && cd $PRGNAM-$VERSION
-rpm2cpio $CWD/$SRCNAM-$VERSION.$SRCARCH.rpm | cpio -idmv
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Install data
-mkdir -p $PKG/opt/$PRGNAM-$VERSION
-cp -rf * $PKG/opt/$PRGNAM-$VERSION
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Create soft link for launcher
-mkdir -p $PKG/usr/bin
-(
- cd $PKG/usr/bin
- ln -sf /opt/$PRGNAM-$VERSION/usr/local/lib/light/light-bin $PRGNAM
-)
-
-# Fix .desktop file
-sed -i -e "s/Name=Light/Name=Light Firefox/" -e "s/Exec=light/Exec=$PRGNAM/" -e \
- "s/Icon=light/Icon=$PRGNAM/" usr/local/share/applications/mozilla-$SRCNAM.desktop
-
-# Install .desktop file
-mkdir -p $PKG/usr/share/applications
-cat usr/local/share/applications/mozilla-$SRCNAM.desktop > \
- $PKG/usr/share/applications/$PRGNAM.desktop
-
-# Install .desktop icon
-mkdir -p $PKG/usr/share/pixmaps
-install -D -m0644 usr/local/share/icons/hicolor/48x48/apps/$SRCNAM.png \
- $PKG/usr/share/pixmaps/$PRGNAM.png
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/light-firefox/light-firefox.info b/network/light-firefox/light-firefox.info
deleted file mode 100644
index a6e691aa7f..0000000000
--- a/network/light-firefox/light-firefox.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="light-firefox"
-VERSION="48.0"
-HOMEPAGE="https://sourceforge.net/projects/lightfirefox/"
-DOWNLOAD="https://sourceforge.net/projects/lightfirefox/files/48/201607300954_gcc232/light-48.0.linux-i686.rpm"
-MD5SUM="a7bb40fbe7787c90a09e3f18de43e8ec"
-DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/lightfirefox/48/201607300931_gcc2/light-48.0.linux-x86_64.rpm"
-MD5SUM_x86_64="c14047d4a173b699b6ed865e6ce38eb9"
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/light-firefox/slack-desc b/network/light-firefox/slack-desc
deleted file mode 100644
index 8953a5ea77..0000000000
--- a/network/light-firefox/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-light-firefox: light-firefox (A light browser based on Mozilla)
-light-firefox:
-light-firefox: A light browser based on Mozilla source code. Many components are
-light-firefox: slimmed down. So it can start faster and use less memory. By default,
-light-firefox: Light can run along with firefox. Both x86 and x64 builds are
-light-firefox: available.
-light-firefox:
-light-firefox: Homepage: https://sourceforge.net/projects/lightfirefox/
-light-firefox:
-light-firefox:
-light-firefox:
diff --git a/network/lighttpd/conf/lighttpd.conf b/network/lighttpd/conf/lighttpd.conf
index bc88c5bd85..e54b720aa8 100644
--- a/network/lighttpd/conf/lighttpd.conf
+++ b/network/lighttpd/conf/lighttpd.conf
@@ -11,11 +11,11 @@
## Some Variable definition which will make chrooting easier.
##
## if you add a variable here. Add the corresponding variable in the
-## chroot example aswell.
+## chroot example as well.
##
var.log_root = "/var/log/lighttpd"
var.server_root = "/srv/www"
-var.state_dir = "/var/run/lighttpd"
+var.state_dir = "/run/lighttpd"
var.home_dir = "/var/lib/lighttpd"
var.conf_dir = "/etc/lighttpd"
@@ -24,7 +24,7 @@ var.conf_dir = "/etc/lighttpd"
##
## This requires root permissions during startup.
##
-## If you run Chrooted set the the variables to directories relative to
+## If you run chroot'ed, set the variables to directories relative to
## the chroot dir.
##
## example chroot configuration:
@@ -53,10 +53,10 @@ var.conf_dir = "/etc/lighttpd"
var.vhosts_dir = server_root + "/vhosts"
##
-## Cache for mod_compress
+## Cache for mod_deflate
##
## used in:
-## conf.d/compress.conf
+## conf.d/deflate.conf
##
var.cache_dir = "/var/cache/lighttpd"
@@ -75,7 +75,7 @@ var.socket_dir = home_dir + "/sockets"
#######################################################################
##
## Load the modules.
-include "modules.conf"
+include conf_dir + "/modules.conf"
##
#######################################################################
@@ -88,15 +88,9 @@ include "modules.conf"
server.port = 80
##
-## Use IPv6?
-##
-# https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_use-ipv6Details
-server.use-ipv6 = "disable"
-
-##
## bind to a specific IP
+## (default: "*" for all local IPv4 interfaces)
##
-# https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_bindDetails
#server.bind = "localhost"
##
@@ -106,6 +100,12 @@ server.use-ipv6 = "disable"
server.username = "@USER@"
server.groupname = "@GROUP@"
+##
+## Enable lighttpd to serve requests on sockets received from systemd
+## https://www.freedesktop.org/software/systemd/man/systemd.socket.html
+##
+#server.systemd-socket-activation = "enable"
+
##
## enable core files.
##
@@ -114,7 +114,7 @@ server.groupname = "@GROUP@"
##
## Document root
##
-server.document-root = server_root + "/htdocs-lighttpd"
+server.document-root = server_root + "/htdocs"
##
## The value for the "Server:" response field.
@@ -151,13 +151,13 @@ server.errorlog = log_root + "/error.log"
##
## Access log config
##
-include "conf.d/access_log.conf"
+include conf_dir + "/conf.d/access_log.conf"
##
## The debug options are moved into their own file.
## see conf.d/debug.conf for various options for request debugging.
##
-include "conf.d/debug.conf"
+include conf_dir + "/conf.d/debug.conf"
##
#######################################################################
@@ -168,29 +168,26 @@ include "conf.d/debug.conf"
## --------------------
##
## corresponding documentation:
-## http://www.lighttpd.net/documentation/performance.html
+## https://wiki.lighttpd.net/Docs_Performance
##
## set the event-handler (read the performance section in the manual)
##
-## possible options on linux are:
+## The recommended server.event-handler is chosen by default for each OS.
##
-## select
-## poll
-## linux-sysepoll
+## epoll (recommended on Linux)
+## kqueue (recommended on *BSD and MacOS X)
+## solaris-eventports (recommended on Solaris)
+## poll (recommended if none of above are available)
+## select (*not* recommended)
##
-## linux-sysepoll is recommended on kernel 2.6.
-##
-server.event-handler = "linux-sysepoll"
+#server.event-handler = "linux-sysepoll"
##
## The basic network interface for all platforms at the syscalls read()
## and write(). Every modern OS provides its own syscall to help network
## servers transfer files as fast as possible
##
-## sendfile - is recommended for small files.
-## writev - is recommended for sending many large files
-##
-server.network-backend = "sendfile"
+#server.network-backend = "sendfile"
##
## As lighttpd is a single-threaded server, its main resource limit is
@@ -204,9 +201,12 @@ server.network-backend = "sendfile"
## server.username/server.groupname.
##
## By default lighttpd would not change the operation system default.
-## But setting it to 2048 is a better default for busy servers.
+## But setting it to 16384 is a better default for busy servers.
+##
+## With SELinux enabled, this is denied by default and needs to be allowed
+## by running the following once: setsebool -P httpd_setrlimit on
##
-server.max-fds = 2048
+server.max-fds = 16384
##
## listen-backlog is the size of the listen() backlog queue requested when
@@ -243,17 +243,17 @@ server.max-fds = 2048
## lighttpd can utilize FAM/Gamin to cache stat call.
##
## possible values are:
-## disable, simple or fam.
+## disable, simple, inotify, kqueue, or fam.
##
-server.stat-cache-engine = "simple"
+#server.stat-cache-engine = "simple"
##
## Fine tuning for the request handling
##
-## max-connections == max-fds/2 (maybe /3)
-## means the other file handles are used for fastcgi/files
+## max-connections == max-fds/3)
+## (other file handles are used for fastcgi/files)
##
-server.max-connections = 1024
+#server.max-connections = 1024
##
## How many seconds to keep a keep-alive connection open,
@@ -341,10 +341,11 @@ url.access-deny = ( "~", ".inc" )
##
## disable range requests for pdf files
## workaround for a bug in the Acrobat Reader plugin.
+## (ancient; should no longer be needed)
##
-$HTTP["url"] =~ "\.pdf$" {
- server.range-requests = "disable"
-}
+#$HTTP["url"] =~ "\.pdf$" {
+# server.range-requests = "disable"
+#}
##
## url handling modules (rewrite, redirect)
@@ -382,22 +383,22 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" )
## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for 'File not found'
##
-#server.errorfile-prefix = "/srv/www/htdocs/errors/status-"
+#server.errorfile-prefix = server_root + "/htdocs/errors/status-"
##
## mimetype mapping
##
-include "conf.d/mime.conf"
+include conf_dir + "/conf.d/mime.conf"
##
## directory listing configuration
##
-include "conf.d/dirlisting.conf"
+include conf_dir + "/conf.d/dirlisting.conf"
##
## Should lighttpd follow symlinks?
-##
-server.follow-symlink = "enable"
+## default: "enable"
+#server.follow-symlink = "enable"
##
## force all filenames to be lowercase?
@@ -406,80 +407,44 @@ server.follow-symlink = "enable"
##
## defaults to /var/tmp as we assume it is a local harddisk
-##
-server.upload-dirs = ( "/var/tmp" )
+## default: "/var/tmp"
+#server.upload-dirs = ( "/var/tmp" )
##
#######################################################################
-
#######################################################################
##
## SSL Support
## -------------
##
+## https://wiki.lighttpd.net/Docs_SSL
+#
## To enable SSL for the whole server you have to provide a valid
## certificate and have to enable the SSL engine.::
##
-## ssl.engine = "enable"
-## ssl.pemfile = "/path/to/server.pem"
-##
-## The HTTPS protocol does not allow you to use name-based virtual
-## hosting with SSL. If you want to run multiple SSL servers with
-## one lighttpd instance you must use IP-based virtual hosting: ::
-##
-## Mitigate CVE-2009-3555 by disabling client triggered renegotation
-## This is enabled by default.
-##
-## IMPORTANT: this setting can only be used in the global scope.
-## It does *not* work inside conditionals
-##
-# ssl.disable-client-renegotiation = "enable"
-##
-## $SERVER["socket"] == "10.0.0.1:443" {
-## ssl.engine = "enable"
-## ssl.pemfile = "/etc/ssl/private/www.example.com.pem"
-## #
-## # (Following SSL/TLS Deployment Best Practices 1.3 / 17 September 2013 from:
-## # https://www.ssllabs.com/projects/best-practices/index.html)
-## # - BEAST is considered mitigaed on client side now, and new weaknesses have been found in RC4,
-## # so it is strongly advised to disable RC4 ciphers (HIGH doesn't include RC4)
-## # - It is recommended to disable 3DES too (although disabling RC4 and 3DES breaks IE6+8 on Windows XP,
-## # so you might want to support 3DES for now - just remove the '!3DES' parts below).
-## # - The examples below prefer ciphersuites with "Forward Secrecy" (and ECDHE over DHE (alias EDH)), remove '+kEDH +kRSA'
-## # if you don't want that.
-## # - SRP and PSK are not supported anyway, excluding those ('!kSRP !kPSK') just keeps the list smaller (easier to review)
-## # Check your cipher list with: openssl ciphers -v '...' (use single quotes as your shell won't like ! in double quotes)
-## #
-## # If you know you have RSA keys (standard), you can use:
-## ssl.cipher-list = "aRSA+HIGH !3DES +kEDH +kRSA !kSRP !kPSK"
-## # The more generic version (without the restriction to RSA keys) is
-## # ssl.cipher-list = "HIGH !aNULL !3DES +kEDH +kRSA !kSRP !kPSK"
-## #
-## # Make the server prefer the order of the server side cipher suite instead of the client suite.
-## # This option is enabled by default, but only used if ssl.cipher-list is set.
-## #
-## # ssl.honor-cipher-order = "enable"
-## #
-## server.name = "www.example.com"
-##
-## server.document-root = "/srv/www/vhosts/example.com/www/"
-## }
-##
-
-## If you have a .crt and a .key file, cat them together into a
-## single PEM file:
-## $ cat /etc/ssl/private/lighttpd.key /etc/ssl/certs/lighttpd.crt \
-## > /etc/ssl/private/lighttpd.pem
+## server.modules += ( "mod_openssl" )
##
-#ssl.pemfile = "/etc/ssl/private/lighttpd.pem"
-
+## ssl.privkey = "/path/to/privkey.pem"
+## ssl.pemfile = "/path/to/fullchain.pem"
+## # ssl.pemfile should contain the sorted certificate chain, including
+## # intermediate certificates, as provided by the certificate issuer.
+## # If both privkey and cert are in same file, specify only ssl.pemfile.
##
-## optionally pass the CA certificate here.
+## # Check your cipher list with: openssl ciphers -v '...'
+## # (use single quotes with: openssl ciphers -v '...'
+## # as your shell won't like ! in double quotes)
+## #ssl.cipher-list = "HIGH" # default
##
+## # (recommended to accept only TLSv1.2 and TLSv1.3)
+## #ssl.openssl.ssl-conf-cmd = ("MinProtocol" => "TLSv1.2") # default
##
-#ssl.ca-file = ""
-
+## $SERVER["socket"] == "*:443" {
+## ssl.engine = "enable"
+## }
+## $SERVER["socket"] == "[::]:443" {
+## ssl.engine = "enable"
+## }
##
#######################################################################
@@ -487,7 +452,7 @@ server.upload-dirs = ( "/var/tmp" )
##
## custom includes like vhosts.
##
-#include "conf.d/config.conf"
-#include_shell "cat /etc/lighttpd/vhosts.d/*.conf"
+#include conf_dir + "/conf.d/config.conf"
+#include conf_dir + "/vhosts.d/*.conf"
##
#######################################################################
diff --git a/network/lighttpd/conf/rc.lighttpd b/network/lighttpd/conf/rc.lighttpd
index d2357dfc1a..d8db582c6f 100644
--- a/network/lighttpd/conf/rc.lighttpd
+++ b/network/lighttpd/conf/rc.lighttpd
@@ -21,7 +21,7 @@
#
LIGHTTPD=/usr/sbin/lighttpd
-PIDFILE=/var/run/lighttpd/lighttpd.pid
+PIDFILE=/run/lighttpd/lighttpd.pid
LIGHTTPD_OPTIONS="-f /etc/lighttpd/lighttpd.conf"
is_pidof() {
diff --git a/network/lighttpd/lighttpd.SlackBuild b/network/lighttpd/lighttpd.SlackBuild
index 7c48640ad5..6f11dbac3e 100644
--- a/network/lighttpd/lighttpd.SlackBuild
+++ b/network/lighttpd/lighttpd.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lighttpd
# Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad>
-# Copyright 2016-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lighttpd
-VERSION=${VERSION:-1.4.58}
+VERSION=${VERSION:-1.4.76}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,6 +101,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -152,4 +164,4 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lighttpd/lighttpd.info b/network/lighttpd/lighttpd.info
index 49924d8729..e66a015e97 100644
--- a/network/lighttpd/lighttpd.info
+++ b/network/lighttpd/lighttpd.info
@@ -1,8 +1,8 @@
PRGNAM="lighttpd"
-VERSION="1.4.58"
+VERSION="1.4.76"
HOMEPAGE="http://www.lighttpd.net/"
-DOWNLOAD="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.58.tar.xz"
-MD5SUM="8d12a31bd3fdd7eab85cf9a6d2cfa92e"
+DOWNLOAD="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.76.tar.xz"
+MD5SUM="f9018cda389b1aa6dae4c5f962c20825"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/lighttpd2/README b/network/lighttpd2/README
deleted file mode 100644
index 436ac72ecd..0000000000
--- a/network/lighttpd2/README
+++ /dev/null
@@ -1,30 +0,0 @@
-lighttpd2 is a fast, secure, and flexible webserver. It is optimized
-for high-performance environments, and provides an extensive feature
-set, including FastCGI, CGI, Auth, output compression, and URL
-rewriting support.
-
-This version currently is a work in progress: it's not ready for
-production: only for interested people.
-
-
-Optional Dependencies
-
-libunwind is an optional dependency (for backtraces on assert
-failures): after having it installed, build this passing the script
-the UNWIND=yes flag.
-
-
-Groupname and Username
-
-You must have the 'lighttpd' group and user to run this script,
-for example:
-
- groupadd -g 208 lighttpd
- useradd -u 208 -g lighttpd -d /var/www lighttpd
-
-
-Configuration
-
-Be sure to see README.SLACKWARE (in this directory, and also installed
-with the package documentation) for configuration and setup
-information.
diff --git a/network/lighttpd2/README.SLACKWARE b/network/lighttpd2/README.SLACKWARE
deleted file mode 100644
index 710dbaadc4..0000000000
--- a/network/lighttpd2/README.SLACKWARE
+++ /dev/null
@@ -1,53 +0,0 @@
-README.SLACKWARE For lighttpd2
-
-lighttpd2 can be started and stopped through the initialization
-script that is provided:
-
- /etc/rc.d/rc.lighttpd2 start
- /etc/rc.d/rc.lighttpd2 stop
-
-If you would like to start lighttpd automatically when the system
-is booted, add the following lines to /etc/rc.d/rc.local:
-
- if [ -x /etc/rc.d/rc.lighttpd2 ]; then
- /etc/rc.d/rc.lighttpd2 start
- fi
-
-Conversely, add the following lines to /etc/rc.d/rc.local_shutdown
-to stop lighttpd on system shutdown.
-
- if [ -x /etc/rc.d/rc.lighttpd2 ]; then
- /etc/rc.d/rc.lighttpd2 stop
- fi
-
-* PHP users:
-
-This slackbuild is already preconfigured (but is disabled by default)
-for an use with php in /etc/lighttpd2/lighttpd.conf and uses php-fpm
-already in Slackware.
-
-You have to make two changes to /etc/php-fpm.conf, namely
-
- user = lighttpd
- listen = /var/run/lighttpd2/php-fpm.sock
- listen.owner = lighttpd
- listen.mode = 0660
-
-Then make /etc/rc.d/rc.php-fpm executable and start it (for an
-automatic start/stop, do as for the rc.lighttpd2 script).
-
-Enable php uncommenting the last line of /etc/lighttpd2/lighttpd.conf
-(you might want to have a look at the "index" directive too).
-
-The php.ini used will be /etc/php.ini: you can also override options
-set in this file adding them at the end of /etc/php-fpm.conf
-(you will find some examples there).
-
-Note: Slackware's default php package is meant to work with httpd
-(apache), so its session folder has permissions root:apache.
-It works fine with lighttpd assumed the addition of the user lighttpd
-run as to the "apache" group. If you have choosen the user "lighttpd"
-
- gpasswd -a lighttpd apache
-
-Otherwise, php won't be able to use $_SESSION.
diff --git a/network/lighttpd2/conf/angel.conf b/network/lighttpd2/conf/angel.conf
deleted file mode 100644
index d02e674fe5..0000000000
--- a/network/lighttpd2/conf/angel.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-user "lighttpd";
-group "lighttpd";
-
-max_open_files 16384;
-
-copy_env ( "PATH" );
diff --git a/network/lighttpd2/conf/lighttpd.conf b/network/lighttpd2/conf/lighttpd.conf
deleted file mode 100644
index 1a62342940..0000000000
--- a/network/lighttpd2/conf/lighttpd.conf
+++ /dev/null
@@ -1,95 +0,0 @@
-# Sample /etc/lighttpd2/lighttpd.conf file
-# Assembled and commented by Matteo Bernardini <ponce@slackbuilds.org>
-
-# Default modules here should cover most needs: if you want to cut
-# down some, consider that mod_access and mod_accesslog are mandatory.
-# http://redmine.lighttpd.net/projects/lighttpd2/wiki/Modules
-setup {
- module_load ( "mod_fastcgi", "mod_status", "mod_access", "mod_accesslog", "mod_dirlist", "mod_deflate", "mod_redirect", "mod_rewrite", "mod_vhost", "mod_lua" );
-# mod_access,
-# mod_accesslog,
-# mod_auth,
-# mod_balance,
-# mod_cache_disk_etag,
-# mod_debug,
-# mod_deflate,
-# mod_dirlist,
-# mod_expire,
-# mod_fastcgi,
-# mod_flv,
-# mod_fortune,
-# mod_limit,
-# mod_lua,
-# mod_memcached,
-# mod_openssl,
-# mod_progress,
-# mod_proxy,
-# mod_redirect,
-# mod_rewrite,
-# mod_scgi,
-# mod_status,
-# mod_userdir,
-# mod_vhost,
-
- lua.plugin "/etc/lighttpd2/php-fpm.lua";
-
- listen "0.0.0.0:80";
- listen "[::]:80";
-
- log ["debug" => "", "*" => "/var/log/lighttpd2/error.log"];
- accesslog "/var/log/lighttpd2/access.log";
- accesslog.format "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"";
-
- static.exclude_extensions ( ".php", ".pl", ".fcgi", "~", ".inc" );
-}
-
-# http://redmine.lighttpd.net/projects/lighttpd2/wiki/Conditions
-
-# Run php through php-fpm: be sure to read README.SLACKWARE
-# http://redmine.lighttpd.net/projects/lighttpd2/wiki/Howto_PHP
-php = {
- phpfpm { fastcgi "unix:/var/run/lighttpd2/php-fpm.sock"; };
-};
-
-if req.path == "/status" { status.info; }
-
-include "/etc/lighttpd2/mimetypes.conf";
-
-docroot "/var/www/htdocs-lighttpd";
-
-# If you install phpmyadmin from the SBo script, it should go there.
-# Uncomment below, after having installed.
-#alias ( "/phpmyadmin" => "/var/www/htdocs/phpmyadmin" );
-
-# Directory listings are enabled by default only for an eventual
-# "pub" folder in the docroot: change as needed.
-# http://redmine.lighttpd.net/projects/lighttpd2/wiki/Mod_dirlist
-if req.path =~ "^/pub/" {
- dirlist;
-}
-
-# Directory index files: this commented below can be useful if you
-# enable php.
-#index ( "index.php", "index.html" );
-index ( "index.html" );
-
-# If you want to use urls like http://example.com/index.php/some/path
-# (using your php files like directories), you need this (ex. wordpress)
-#pathinfo;
-
-# Some useful rules to avoid access to sensitive files from remote.
-# This example still applies to wordpress
-#if req.remoteip != "127.0.0.1" {
-# if req.path =~ "^/wp-includes/" { access.deny; }
-#}
-
-# Deny access to some file-extensions
-# ~ is for backupfiles from vi, emacs, joe, ...
-# .inc is often used for code includes which should in general not be
-# part of the document-root
-if phys.path =$ "~" or phys.path =$ ".inc" {
- if phys.is_file { access.deny; }
-}
-
-# Uncomment this to enable php
-#php;
diff --git a/network/lighttpd2/conf/lighttpd2.logrotate b/network/lighttpd2/conf/lighttpd2.logrotate
deleted file mode 100644
index a85c1efc23..0000000000
--- a/network/lighttpd2/conf/lighttpd2.logrotate
+++ /dev/null
@@ -1,32 +0,0 @@
-/var/log/lighttpd2/access.log /var/log/lighttpd2/error.log {
- daily
- missingok
- copytruncate
- rotate 30
- create 0644 @LIGHTTPD_USER@ root
- compress
- notifempty
- su lighttpd root
- sharedscripts
- postrotate
- if [ -x /etc/rc.d/rc.lighttpd2 -a -f /var/run/lighttpd2/lighttpd2.pid ]; then
- /etc/rc.d/rc.lighttpd2 restart
- fi
- endscript
-}
-
-/var/log/lighttpd2/lighttpd2.log {
- daily
- missingok
- copytruncate
- rotate 30
- create 0644 root root
- compress
- notifempty
- sharedscripts
- postrotate
- if [ -x /etc/rc.d/rc.lighttpd2 -a -f /var/run/lighttpd2/lighttpd2.pid ]; then
- /etc/rc.d/rc.lighttpd2 restart
- fi
- endscript
-}
diff --git a/network/lighttpd2/conf/php-fpm.lua b/network/lighttpd2/conf/php-fpm.lua
deleted file mode 100644
index f26bb9d796..0000000000
--- a/network/lighttpd2/conf/php-fpm.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-local function phpfpm(act)
- return action.when(physical.path:suffix(".php"),
- action.when(physical.is_file:is(), act),
- action.when(request.path:eq("/fpm-status"), act)
- )
-end
-
-actions = {
- ["phpfpm"] = phpfpm,
-}
diff --git a/network/lighttpd2/conf/rc.lighttpd2 b/network/lighttpd2/conf/rc.lighttpd2
deleted file mode 100644
index 635092e071..0000000000
--- a/network/lighttpd2/conf/rc.lighttpd2
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2007, Daniel de Kok <moc.mikciat@leinad>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Adapted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
-
-LIGHTTPD=/usr/sbin/lighttpd2
-LIGHTTPD_OPTIONS="-c /etc/lighttpd2/angel.conf"
-PIDOF_WORKER=$(pidof lighttpd2-worker)
-PIDOF=$(pidof lighttpd2)
-
-lighttpd_start() {
- echo "Starting lighttpd2: $LIGHTTPD"
- if [ "$PIDOF" ]; then
- echo "Already running!"
- return
- fi
- $LIGHTTPD $LIGHTTPD_OPTIONS >> /var/log/lighttpd2/lighttpd2.log 2>&1 &
- sleep 2
- echo $(pidof lighttpd2) > /var/run/lighttpd2/lighttpd2.pid
-}
-
-lighttpd_stop() {
- echo "Stopping lighttpd2: $LIGHTTPD"
- if [ "$PIDOF" ]; then
- kill $PIDOF
- sleep 2
- rm /var/run/lighttpd2/lighttpd2.pid
- else
- echo "Not running!"
- fi
-}
-
-lighttpd_restart() {
- lighttpd_stop
- PIDOF=
- sleep 2
- lighttpd_start
-}
-
-case "$1" in
-'start')
- lighttpd_start
- ;;
-'stop')
- lighttpd_stop
- ;;
-restart)
- lighttpd_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/network/lighttpd2/doinst.sh b/network/lighttpd2/doinst.sh
deleted file mode 100644
index a2bfef2076..0000000000
--- a/network/lighttpd2/doinst.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
- fi
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-config etc/lighttpd2/lighttpd.conf.new
-config etc/lighttpd2/angel.conf.new
-config etc/lighttpd2/mimetypes.conf.new
-config etc/lighttpd2/php-fpm.lua.new
-config etc/logrotate.d/lighttpd2.new
-preserve_perms etc/rc.d/rc.lighttpd2.new
-
-# Create dummy logfiles, but throw them away if some are already here:
-for i in access error ; do
- if [ -e var/log/lighttpd2/$i.log ]; then
- rm -f var/log/lighttpd2/$i.log.new
- else
- mv var/log/lighttpd2/$i.log.new \
- var/log/lighttpd2/$i.log
- fi
-done
diff --git a/network/lighttpd2/lighttpd2.SlackBuild b/network/lighttpd2/lighttpd2.SlackBuild
deleted file mode 100644
index 263b4e8d25..0000000000
--- a/network/lighttpd2/lighttpd2.SlackBuild
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for lighttpd2
-
-# Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad>
-# Copyright (c) 2012-2018 Matteo Bernardini <ponce@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
-
-PRGNAM=lighttpd2
-VERSION=${VERSION:-20180908_bda1a90}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-## lighttpd user & group *MUST* exist before package creation
-# See http://slackbuilds.org/uid_gid.txt for current recomendations.
-LIGHTTPD_USER=${LIGHTTPD_USER:-lighttpd}
-LIGHTTPD_GROUP=${LIGHTTPD_GROUP:-lighttpd}
-
-bailout() {
- printf " The $LIGHTTPD_GROUP group and/or $LIGHTTPD_USER user account
- does not exist. You should create it/them with the following:
- groupadd -g 208 $LIGHTTPD_GROUP
- useradd -u 208 -g $LIGHTTPD_GROUP -d /var/www $LIGHTTPD_USER\n"
- exit 1
-}
-
-if ! grep -q ^$LIGHTTPD_GROUP: /etc/group 2>/dev/null ; then
- bailout
-elif ! grep -q ^$LIGHTTPD_USER: /etc/passwd 2>/dev/null ; then
- bailout
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-UNWIND=${UNWIND:-"no"}
-if [ "$UNWIND" = "yes" ]; then unwind="--with-libunwind"; else unwind=""; fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sh autogen.sh
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --with-lua \
- --with-sni \
- --with-zlib \
- --with-bzip2 \
- --with-gnutls \
- --with-openssl \
- $unwind \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/var/cache/$PRGNAM $PKG/var/log/$PRGNAM $PKG/var/run/$PRGNAM
-chmod 0770 $PKG/var/cache/$PRGNAM $PKG/var/log/$PRGNAM $PKG/var/run/$PRGNAM
-( cd $PKG/var/log/$PRGNAM ; touch access.log.new error.log.new )
-chown -R $LIGHTTPD_USER:$LIGHTTPD_GROUP $PKG/var/cache/$PRGNAM $PKG/var/run/$PRGNAM
-chown -R $LIGHTTPD_USER:root $PKG/var/log/$PRGNAM
-
-install -D -m 0755 $CWD/conf/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-install -D -m 0644 $CWD/conf/lighttpd.conf $PKG/etc/$PRGNAM/lighttpd.conf.new
-install -m 0644 $CWD/conf/angel.conf $PKG/etc/$PRGNAM/angel.conf.new
-install -m 0644 contrib/mimetypes.conf $PKG/etc/$PRGNAM/mimetypes.conf.new
-install -m 0644 $CWD/conf/php-fpm.lua $PKG/etc/$PRGNAM/php-fpm.lua.new
-install -D -m 0644 contrib/default.html $PKG/var/www/htdocs-lighttpd/index.html
-install -D -m 0644 $CWD/conf/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new
-mkdir -p $PKG/etc/logrotate.d
-sed "s|@LIGHTTPD_USER@|$LIGHTTPD_USER|" \
- $CWD/conf/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new
-
-sed -i \
- -e "s|user \"lighttpd|user \"$LIGHTTPD_USER|" \
- -e "s|group \"lighttpd|group \"$LIGHTTPD_GROUP|" \
- $PKG/etc/$PRGNAM/angel.conf.new
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING doc/* $CWD/README.SLACKWARE $PKG/usr/doc/$PRGNAM-$VERSION
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/Makefile*
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/lighttpd2/lighttpd2.info b/network/lighttpd2/lighttpd2.info
deleted file mode 100644
index c987f098b8..0000000000
--- a/network/lighttpd2/lighttpd2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lighttpd2"
-VERSION="20180908_bda1a90"
-HOMEPAGE="http://www.lighttpd.net"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20180908_bda1a90.tar.xz"
-MD5SUM="6c9dd8adc0ae1cf0f61dc9792a474cf3"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libev lua ragel"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/network/lighttpd2/slack-desc b/network/lighttpd2/slack-desc
deleted file mode 100644
index 3c111f99f7..0000000000
--- a/network/lighttpd2/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-lighttpd2: lighttpd2 (Light, fast, and secure webserver)
-lighttpd2:
-lighttpd2: lighttpd2 is a fast, secure, and flexible webserver. It is optimized
-lighttpd2: for high-performance environments, and provides an extensive feature
-lighttpd2: set, including FastCGI, CGI, Auth, output compression, and URL
-lighttpd2: rewriting support.
-lighttpd2:
-lighttpd2: Homepage: http://www.lighttpd.net/
-lighttpd2:
-lighttpd2:
-lighttpd2:
diff --git a/network/limnoria/README b/network/limnoria/README
index f6a4328c23..ca3b5c5e01 100644
--- a/network/limnoria/README
+++ b/network/limnoria/README
@@ -7,11 +7,3 @@ builtin plugins providing around 400 actual commands.
Limnoria is the project which continues development of Supybot since
2010.
-
-To build the python3 version:
-
-PYTHON3=yes ./limnoria.SlackBuild
-
-Optional dependency:
-
-python3
diff --git a/network/limnoria/limnoria.SlackBuild b/network/limnoria/limnoria.SlackBuild
index a7ef4fa870..e2545f2367 100644
--- a/network/limnoria/limnoria.SlackBuild
+++ b/network/limnoria/limnoria.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for limnoria
# Copyright 2013 David Woodfall <dave@slackbuilds.org>
@@ -21,12 +21,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=limnoria
SRCNAM=Limnoria-master
-VERSION=${VERSION:-2019_02_23}
+VERSION=${VERSION:-2023_02_11}
SRCVERSION=${VERSION//_/-}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,32 +39,25 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVERSION
-tar xvf $CWD/master-$SRCVERSION.tar.?z
+tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.?z
cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
@@ -70,12 +66,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-[ "$PYTHON3" = "yes" ] && PYVERS=3
-
-python$PYVERS setup.py install --root=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+python3 setup.py install --root=$PKG
mv $PKG/usr/share/man $PKG/usr
@@ -92,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/limnoria/limnoria.info b/network/limnoria/limnoria.info
index a0fcfdfd26..cd4bac48a4 100644
--- a/network/limnoria/limnoria.info
+++ b/network/limnoria/limnoria.info
@@ -1,10 +1,10 @@
PRGNAM="limnoria"
-VERSION="2019_02_23"
+VERSION="2023_02_11"
HOMEPAGE="https://github.com/ProgVal/Limnoria"
-DOWNLOAD="https://github.com/ProgVal/Limnoria/archive/master-2019-02-23.tar.gz"
-MD5SUM="8632b454f0132ed6c527189e799d9f4e"
+DOWNLOAD="https://github.com/ProgVal/Limnoria/archive/master-2023-02-11/Limnoria-master-2023-02-11.tar.gz"
+MD5SUM="1bad4d31cf1e3d5a91a83e06b9f6bdd7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Dave Woodfall"
+REQUIRES=""
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/linksys-tftp/README b/network/linksys-tftp/README
index d2132b7f01..892d659812 100644
--- a/network/linksys-tftp/README
+++ b/network/linksys-tftp/README
@@ -8,12 +8,14 @@ They all need a password for the tftp firmware file transfer to work.
For example to upgrade a Linksys WRT54G router at 192.168.1.1 with
tomato firmware, WRT54G_WRT54GL.bin, where the password is admin
-$linksys-wrt 192.168.1.1
+#linksys-tftp 192.168.1.1
linksys-tftp>verbose
linksys-tftp>binary
linksys-tftp>blocksize 512
linksys-tftp>rexmt 1
-linksys-tftp>timeout 30
+linksys-tftp>timeout 120
linksys-tftp>trace
linksys-tftp>put WRT54G_WRT54GL.bin admin
linksys-tftp>quit
+
+atftp can be used with the -P option, instead of linksys-tftp.
diff --git a/network/linksys-tftp/linksys-tftp-1.2.1-r1-clang.patch b/network/linksys-tftp/linksys-tftp-1.2.1-r1-clang.patch
new file mode 100644
index 0000000000..94ccee0c9e
--- /dev/null
+++ b/network/linksys-tftp/linksys-tftp-1.2.1-r1-clang.patch
@@ -0,0 +1,196 @@
+--- a/main.c
++++ b/main.c
+@@ -159,7 +159,7 @@ setpeer(argc, argv)
+
+ if (!argv[1]) {
+ printf("usage: %s host-name [port] (Default port is 69/udp)\n", argv[0]);
+- return;
++ return 0;
+ }
+ host = gethostbyname(argv[1]);
+ if (host) {
+@@ -172,7 +172,7 @@ setpeer(argc, argv)
+ if (sin.sin_addr.s_addr == -1) {
+ connected = 0;
+ printf("%s: unknown host\n", argv[1]);
+- return;
++ return 0;
+ }
+ strcpy(hostname, argv[1]);
+ }
+@@ -182,7 +182,7 @@ setpeer(argc, argv)
+ if (port < 0) {
+ printf("%s: bad port number\n", argv[2]);
+ connected = 0;
+- return;
++ return 0;
+ }
+ port = htons(port);
+ }
+@@ -209,7 +209,7 @@ modecmd(argc, argv)
+
+ if (argc < 2) {
+ printf("Using %s mode to transfer files.\n", mode);
+- return;
++ return 0;
+ }
+ if (argc == 2) {
+ for (p = modes; p->m_name; p++)
+@@ -217,7 +217,7 @@ modecmd(argc, argv)
+ break;
+ if (p->m_name) {
+ setmode(p->m_mode);
+- return;
++ return 0;
+ }
+ printf("%s: unknown mode\n", argv[1]);
+ /* drop through and print usage message */
+@@ -231,7 +231,7 @@ modecmd(argc, argv)
+ sep = " | ";
+ }
+ printf(" ]\n");
+- return;
++ return 0;
+ }
+
+ setbinary(argc, argv)
+@@ -265,31 +265,32 @@ put(argc, argv)
+
+ if (argc < 3) {
+ putusage(argv[0]);
+- return;
++ return 0;
+ }
+ linkpass = argv[2];
+ if (!connected) {
+ fprintf(stderr,"No target machine specified.\n");
+- return;
++ return 0;
+ }
+ cp = argv[1];
+ fd = open(cp, O_RDONLY);
+ if (fd < 0) {
+ fprintf(stderr, "tftp: "); perror(cp);
+- return;
++ return 0;
+ }
+ if (verbose)
+ printf("putting %s to %s:%s [%s] AUTH %s\n",
+ cp, hostname, cp, mode, linkpass);
+ sin.sin_port = port;
+ sendfile(fd, cp, mode, linkpass);
+- return;
++ return 0;
+ }
+
+ putusage(s)
+ char *s;
+ {
+ printf("usage: %s file [linksys pass] (you must be connected)\n", s);
++ return 0;
+ }
+
+ /*
+@@ -304,18 +305,18 @@ get(argc, argv)
+
+ if (argc < 3) {
+ getusage(argv[0]);
+- return;
++ return 0;
+ }
+ linkpass = argv[2];
+ if (!connected) {
+ fprintf(stderr,"No target machine specified.\n");
+- return;
++ return 0;
+ }
+ cp = argv[1];
+ fd = creat(cp, 0644);
+ if (fd < 0) {
+ fprintf(stderr, "tftp: "); perror(cp);
+- return;
++ return 0;
+ }
+ if (verbose)
+ printf("getting from %s:%s to %s [%s] AUTH %s\n",
+@@ -323,7 +324,7 @@ get(argc, argv)
+ sin.sin_port = port;
+ recvfile(fd, cp, mode, linkpass);
+
+- return;
++ return 0;
+ }
+
+ getusage(s)
+@@ -349,7 +350,7 @@ setrexmt(argc, argv)
+ }
+ if (argc != 2) {
+ printf("usage: %s value\n", argv[0]);
+- return;
++ return 0;
+ }
+ t = atoi(argv[1]);
+ if (t < 0)
+@@ -375,7 +376,7 @@ settimeout(argc, argv)
+ }
+ if (argc != 2) {
+ printf("usage: %s value\n", argv[0]);
+- return;
++ return 0;
+ }
+ t = atoi(argv[1]);
+ if (t < 0)
+@@ -450,7 +451,7 @@ getcmd(name)
+ longest = 0;
+ nmatches = 0;
+ found = 0;
+- if(!name) return;
++ if(!name) return 0;
+ for (c = cmdtab; p = c->name; c++) {
+ for (q = name; *q == *p++; q++)
+ if (*q == 0) /* exact match? */
+@@ -513,7 +514,7 @@ help(argc, argv)
+ printf("Commands may be abbreviated. Commands are:\n\n");
+ for (c = cmdtab; c->name; c++)
+ printf("%-*s\t%s\n", HELPINDENT, c->name, c->help);
+- return;
++ return 0;
+ }
+ while (--argc > 0) {
+ register char *arg;
+@@ -557,7 +558,7 @@ setblocksize(argc, argv)
+ }
+ if (argc != 2) {
+ printf("usage: %s value\n", argv[0]);
+- return;
++ return 0;
+ }
+ t = atoi(argv[1]);
+ if (t < 8 || t > 1432)
+@@ -570,5 +571,5 @@ banner() {
+ printf("Mike Lynn\tabaddon [at] 802.11ninja.net\n");
+ printf("Linksys TFTP Client for *BSD/Linux\tThe Firmware gets sexier\n");
+ printf("Modified Berkeley TFTP client Release: %s\n\n",svers);
+- return;
++ return 0;
+ }
+--- a/tftpsubs.c
++++ b/tftpsubs.c
+@@ -116,7 +116,7 @@ read_ahead(file, convert)
+
+ b = &bfs[nextone]; /* look at "next" buffer */
+ if (b->counter != BF_FREE) /* nop if not free */
+- return;
++ return 0;
+ nextone = !nextone; /* "incr" next buffer ptr */
+
+ dp = (struct tftphdr *)b->buf;
+@@ -131,7 +131,7 @@ read_ahead(file, convert)
+ b->counter += i;
+ } while (i != 0 && !(i < 0 && errno != EINTR) &&
+ b->counter < segsize);
+- return;
++ return 0;
+ }
+
+ p = dp->th_data;
diff --git a/network/linksys-tftp/linksys-tftp-1.2.1-r1-fno-common.patch b/network/linksys-tftp/linksys-tftp-1.2.1-r1-fno-common.patch
new file mode 100644
index 0000000000..a639776198
--- /dev/null
+++ b/network/linksys-tftp/linksys-tftp-1.2.1-r1-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/tftp.c
++++ b/tftp.c
+@@ -50,7 +50,7 @@ extern int segsize;
+ #define PKTSIZE (1432+4) /* SEGSIZE+4 */
+ char ackbuf[PKTSIZE];
+ int timeout;
+-jmp_buf toplevel;
++extern jmp_buf toplevel;
+ jmp_buf timeoutbuf;
+
+ #ifndef OACK
diff --git a/network/linksys-tftp/linksys-tftp-1.2.1-stdc-main.patch b/network/linksys-tftp/linksys-tftp-1.2.1-stdc-main.patch
new file mode 100644
index 0000000000..ff27a1bfb6
--- /dev/null
+++ b/network/linksys-tftp/linksys-tftp-1.2.1-stdc-main.patch
@@ -0,0 +1,292 @@
+--- linksys-tftp-1.2.1/main.c 2024-04-16 08:27:50.327449884 -0700
++++ linksys-tftp-1.2.1/main.c 2024-04-15 21:36:43.035399534 -0700
+@@ -33,6 +33,7 @@ static char sccsid[] = "@(#)main.c 5.8 (
+ #include <sys/file.h>
+
+ #include <netinet/in.h>
++#include <arpa/inet.h>
+
+ #include <signal.h>
+ #include <stdio.h>
+@@ -43,7 +44,11 @@ static char sccsid[] = "@(#)main.c 5.8 (
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+-#include <sys/sendfile.h>
++/* #include <sys/sendfile.h> */
++
++/* routines from tftp.c */
++extern void sendfile(int fd, char *name, char *mode, char *linkpass);
++extern void recvfile(int fd, char *name, char *mode, char *linkpass);
+
+ #define TIMEOUT 5 /* secs between rexmt's */
+
+@@ -64,9 +69,13 @@ struct servent *sp;
+
+ int segsize = 512;
+
+-int quit(), help(), setverbose(), settrace(), status();
+-int get(), put(), setpeer(), modecmd(), setrexmt(), settimeout();
+-int setbinary(), banner(), setascii(), setblocksize();
++/* local routines */
++int quit(), help(), setverbose(), settrace(), status(), command();
++int get(), getusage(), put(), putusage();
++int setpeer(), modecmd(), setrexmt(), settimeout(), status();
++int setbinary(), setascii();
++void setmode(), makeargv();
++int setblocksize(), banner();
+
+ #define HELPINDENT (sizeof("connect"))
+
+@@ -114,8 +123,7 @@ struct cmd *getcmd();
+ char *index();
+ char *rindex();
+
+-int main(argc, argv)
+- char *argv[];
++int main(int argc, char *argv[])
+ {
+ struct sockaddr_in sin;
+ int top;
+@@ -147,13 +155,12 @@ int main(argc, argv)
+ top = setjmp(toplevel) == 0;
+ for (;;)
+ command(top);
++ return 0;
+ }
+
+ char hostname[100];
+
+-setpeer(argc, argv)
+- int argc;
+- char *argv[];
++int setpeer(int argc, char *argv[])
+ {
+ struct hostent *host;
+
+@@ -187,6 +194,7 @@ setpeer(argc, argv)
+ port = htons(port);
+ }
+ connected = 1;
++ return 0;
+ }
+
+ struct modes {
+@@ -201,8 +209,7 @@ struct modes {
+ { 0, 0 }
+ };
+
+-modecmd(argc, argv)
+- char *argv[];
++int modecmd(int argc, char *argv[])
+ {
+ register struct modes *p;
+ char *sep;
+@@ -234,18 +241,17 @@ modecmd(argc, argv)
+ return 0;
+ }
+
+-setbinary(argc, argv)
+-char *argv[];
+-{ setmode("octet");
++int setbinary(int argc, char *argv[])
++{
++ setmode("octet");
+ }
+
+-setascii(argc, argv)
+-char *argv[];
+-{ setmode("netascii");
+-}
++int setascii(int argc, char *argv[])
++{
++ setmode("netascii");
++ }
+
+-setmode(newmode)
+-char *newmode;
++void setmode(char *newmode)
+ {
+ strcpy(mode, newmode);
+ if (verbose)
+@@ -256,8 +262,7 @@ char *newmode;
+ * Send file(s).
+ */
+
+-put(argc, argv)
+- char *argv[];
++int put(int argc, char *argv[])
+ {
+ int fd;
+ register int n;
+@@ -286,8 +291,7 @@ put(argc, argv)
+ return 0;
+ }
+
+-putusage(s)
+- char *s;
++int putusage(char *s)
+ {
+ printf("usage: %s file [linksys pass] (you must be connected)\n", s);
+ return 0;
+@@ -296,8 +300,7 @@ putusage(s)
+ /*
+ * Receive file(s).
+ */
+-get(argc, argv)
+- char *argv[];
++int get(int argc, char *argv[])
+ {
+ int fd;
+ register int n;
+@@ -327,16 +330,15 @@ get(argc, argv)
+ return 0;
+ }
+
+-getusage(s)
+-char * s;
++int getusage(char *s)
+ {
+ printf("usage: %s file [linksys pass] (you must be connected)\n", s);
++ return 0;
+ }
+
+ int rexmtval = TIMEOUT;
+
+-setrexmt(argc, argv)
+- char *argv[];
++int setrexmt(int argc, char *argv[])
+ {
+ int t;
+
+@@ -357,12 +359,12 @@ setrexmt(argc, argv)
+ printf("%d: bad value\n", t);
+ else
+ rexmtval = t;
++ return 0;
+ }
+
+ int maxtimeout = 5 * TIMEOUT;
+
+-settimeout(argc, argv)
+- char *argv[];
++int settimeout(int argc, char *argv[])
+ {
+ int t;
+
+@@ -383,10 +385,10 @@ settimeout(argc, argv)
+ printf("%d: bad value\n", t);
+ else
+ maxtimeout = t;
++ return 0;
+ }
+
+-status(argc, argv)
+- char *argv[];
++int status(int argc, char *argv[])
+ {
+ if (connected)
+ printf("Connected to %s.\n", hostname);
+@@ -396,6 +398,7 @@ status(argc, argv)
+ verbose ? "on" : "off", trace ? "on" : "off");
+ printf("Rexmt-interval: %d seconds, Max-timeout: %d seconds\n",
+ rexmtval, maxtimeout);
++ return 0;
+ }
+
+ void intr(int sig)
+@@ -408,8 +411,7 @@ void intr(int sig)
+ /*
+ * Command parser.
+ */
+-command(top)
+- int top;
++int command(int top)
+ {
+ register struct cmd *c;
+
+@@ -438,11 +440,10 @@ command(top)
+ }
+ (*c->handler)(margc, margv);
+ }
++ return 0;
+ }
+
+-struct cmd *
+-getcmd(name)
+- register char *name;
++struct cmd *getcmd(register char *name)
+ {
+ register char *p, *q;
+ register struct cmd *c, *found;
+@@ -473,7 +474,7 @@ getcmd(name)
+ /*
+ * Slice a string up into argc/argv.
+ */
+-makeargv()
++void makeargv()
+ {
+ register char *cp;
+ register char **argp = margv;
+@@ -496,7 +497,7 @@ makeargv()
+ }
+
+ /*VARARGS*/
+-quit()
++int quit()
+ {
+ exit(0);
+ }
+@@ -504,9 +505,7 @@ quit()
+ /*
+ * Help command.
+ */
+-help(argc, argv)
+- int argc;
+- char *argv[];
++int help(int argc, char *argv[])
+ {
+ register struct cmd *c;
+
+@@ -527,24 +526,26 @@ help(argc, argv)
+ else
+ printf("%s\n", c->help);
+ }
++ return 0;
+ }
+
+ /*VARARGS*/
+-settrace()
++int settrace()
+ {
+ trace = !trace;
+ printf("Packet tracing %s.\n", trace ? "on" : "off");
++ return 0;
+ }
+
+ /*VARARGS*/
+-setverbose()
++int setverbose()
+ {
+ verbose = !verbose;
+ printf("Verbose mode %s.\n", verbose ? "on" : "off");
++ return 0;
+ }
+
+-setblocksize(argc, argv)
+- char *argv[];
++int setblocksize(int argc, char *argv[])
+ {
+ int t;
+
+@@ -565,8 +566,9 @@ setblocksize(argc, argv)
+ printf("%d: bad value\n", t);
+ else
+ segsize = t;
++ return 0;
+ }
+-banner() {
++int banner() {
+ printf("TJ Shelton\tredsand [at] redsand.net\n");
+ printf("Mike Lynn\tabaddon [at] 802.11ninja.net\n");
+ printf("Linksys TFTP Client for *BSD/Linux\tThe Firmware gets sexier\n");
diff --git a/network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftp.patch b/network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftp.patch
new file mode 100644
index 0000000000..e9a77ac722
--- /dev/null
+++ b/network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftp.patch
@@ -0,0 +1,157 @@
+--- linksys-tftp-1.2.1/tftp.c 2024-04-16 08:27:50.328449885 -0700
++++ linksys-tftp-1.2.1/tftp.c 2024-04-15 21:26:36.259371211 -0700
+@@ -47,6 +47,13 @@ extern int rexmtval;
+ extern int maxtimeout;
+ extern int segsize;
+
++/* functions from tftpsubs */
++extern int readit(FILE *file, struct tftphdr **dpp, int convert);
++extern int read_ahead(FILE *file, int convert);
++extern int writeit(FILE *file, struct tftphdr **dpp, int ct, int convert);
++extern int write_behind( FILE *file, int convert);
++extern int synchnet(int f);
++
+ #define PKTSIZE (1432+4) /* SEGSIZE+4 */
+ char ackbuf[PKTSIZE];
+ int timeout;
+@@ -57,6 +64,19 @@ jmp_buf timeoutbuf;
+ #define OACK 6
+ #endif
+
++/* functions declared herein */
++void timer(int sig);
++void parseoack(char *cp, int sz);
++void sendfile(int fd, char *name, char *mode, char *linkpass);
++void recvfile(int fd, char *name, char *mode, char *linkpass);
++int makerequest(int request, char *name, struct tftphdr *tp, char *mode, char *linkpass);
++void nak(int error);
++void topts(char *cp, int sz);
++void tpacket(char *s, struct tftphdr *tp, int n);
++void startclock();
++void stopclock();
++void printstats(char *direction, unsigned long amount);
++
+ void timer(int sig)
+ {
+
+@@ -72,9 +92,7 @@ void timer(int sig)
+ /*
+ * Parse an OACK package and set blocksize accordingly
+ */
+-parseoack(cp, sz)
+- char *cp;
+- int sz;
++void parseoack(char *cp, int sz)
+ {
+ int n;
+
+@@ -106,11 +124,7 @@ parseoack(cp, sz)
+ /*
+ * Send the requested file.
+ */
+-sendfile(fd, name, mode, linkpass)
+- int fd;
+- char *name;
+- char *mode;
+- char *linkpass;
++void sendfile(int fd, char *name, char *mode, char *linkpass)
+ {
+ register struct tftphdr *ap; /* data and ack packets */
+ struct tftphdr *r_init(), *dp;
+@@ -211,7 +225,7 @@ send_data:
+ printf("protocol violation\n");
+ longjmp(toplevel, -1);
+ }
+- parseoack(&ap->th_stuff, n - 2);
++ parseoack(ap->th_stuff, n - 2);
+ break;
+ }
+ }
+@@ -231,11 +245,7 @@ abort:
+ /*
+ * Receive a file.
+ */
+-recvfile(fd, name, mode, linkpass)
+- int fd;
+- char *name;
+- char *mode;
+- char *linkpass;
++void recvfile(int fd, char *name, char *mode, char *linkpass)
+ {
+ register struct tftphdr *ap;
+ struct tftphdr *dp, *w_init();
+@@ -336,7 +346,7 @@ send_ack:
+ longjmp(toplevel, -1);
+ }
+ waitforoack = 0;
+- parseoack(&dp->th_stuff, n - 2);
++ parseoack(dp->th_stuff, n - 2);
+ ap->th_opcode = htons((u_short)ACK);
+ ap->th_block = htons(0);
+ size = 4;
+@@ -362,10 +372,7 @@ abort:
+ printstats("Received", amount);
+ }
+
+-makerequest(request, name, tp, mode, linkpass)
+- int request;
+- char *name, *mode, *linkpass;
+- struct tftphdr *tp;
++int makerequest(int request, char *name, struct tftphdr *tp, char *mode, char *linkpass)
+ {
+ register char *cp;
+
+@@ -404,8 +411,7 @@ struct errmsg {
+ * standard TFTP codes, or a UNIX errno
+ * offset by 100.
+ */
+-nak(error)
+- int error;
++void nak(int error)
+ {
+ register struct tftphdr *tp;
+ int length;
+@@ -431,9 +437,7 @@ nak(error)
+ perror("nak");
+ }
+
+-topts(cp, sz)
+- char *cp;
+- int sz;
++void topts(char *cp, int sz)
+ {
+ int n, i = 0;
+
+@@ -454,10 +458,7 @@ topts(cp, sz)
+ }
+ }
+
+-tpacket(s, tp, n)
+- char *s;
+- struct tftphdr *tp;
+- int n;
++void tpacket(char *s, struct tftphdr *tp, int n)
+ {
+ static char *opcodes[] =
+ { "#0", "RRQ", "WRQ", "DATA", "ACK", "ERROR", "OACK" };
+@@ -505,17 +506,15 @@ struct timeval tstart;
+ struct timeval tstop;
+ struct timezone zone;
+
+-startclock() {
++void startclock() {
+ gettimeofday(&tstart, &zone);
+ }
+
+-stopclock() {
++void stopclock() {
+ gettimeofday(&tstop, &zone);
+ }
+
+-printstats(direction, amount)
+-char *direction;
+-unsigned long amount;
++void printstats(char *direction, unsigned long amount)
+ {
+ double delta;
+ /* compute delta in 1/10's second units */
diff --git a/network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftpsubs.patch b/network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftpsubs.patch
new file mode 100644
index 0000000000..96149667a4
--- /dev/null
+++ b/network/linksys-tftp/linksys-tftp-1.2.1-stdc-tftpsubs.patch
@@ -0,0 +1,111 @@
+--- linksys-tftp-1.2.1/tftpsubs.c 2024-04-16 08:27:50.310449884 -0700
++++ linksys-tftp-1.2.1/tftpsubs.c 2024-04-16 08:53:26.084521570 -0700
+@@ -38,6 +38,7 @@ static char sccsid[] = "@(#)tftpsubs.c 5
+ // modified tftp header to include pass
+ #include <tftp.h>
+ #include <stdio.h>
++#include <unistd.h>
+
+ #define PKTSIZE (1432+4) /* SEGSIZE+4 */ /* should be moved to tftp.h */
+
+@@ -60,14 +61,22 @@ static int current; /* index of buff
+ int newline = 0; /* fillbuf: in middle of newline expansion */
+ int prevchar = -1; /* putbuf: previous char (cr check) */
+
+-struct tftphdr *rw_init();
++/* functions declared in this program */
++struct tftphdr *w_init();
++struct tftphdr *r_init();
++struct tftphdr *rw_init(int x);
++int readit(FILE *file, struct tftphdr **dpp, int convert);
++int read_ahead(FILE *file, int convert);
++int writeit(FILE *file, struct tftphdr **dpp, int ct, int convert);
++int write_behind( FILE *file, int convert);
++int synchnet(int f);
+
+ struct tftphdr *w_init() { return rw_init(0); } /* write-behind */
+ struct tftphdr *r_init() { return rw_init(1); } /* read-ahead */
+
+-struct tftphdr *
+-rw_init(x) /* init for either read-ahead or write-behind */
+-int x; /* zero for write-behind, one for read-head */
++/* init for either read-ahead or write-behind */
++struct tftphdr *rw_init(int x)
++ /* zero for write-behind, one for read-head */
+ {
+ newline = 0; /* init crlf flag */
+ prevchar = -1;
+@@ -82,10 +91,8 @@ int x; /* zero for writ
+ /* Have emptied current buffer by sending to net and getting ack.
+ Free it and return next buffer filled with data.
+ */
+-readit(file, dpp, convert)
+- FILE *file; /* file opened for read */
+- struct tftphdr **dpp;
+- int convert; /* if true, convert to ascii */
++int readit(FILE *file, struct tftphdr **dpp, int convert)
++ /* file opened for read if true, convert to ascii */
+ {
+ struct bf *b;
+
+@@ -104,9 +111,9 @@ readit(file, dpp, convert)
+ * fill the input buffer, doing ascii conversions if requested
+ * conversions are lf -> cr,lf and cr -> cr, nul
+ */
+-read_ahead(file, convert)
+- FILE *file; /* file opened for read */
+- int convert; /* if true, convert to ascii */
++int read_ahead(FILE *file, int convert)
++ /* file opened for read */
++ /* if true, convert to ascii */
+ {
+ register int i;
+ register char *p;
+@@ -154,16 +161,14 @@ read_ahead(file, convert)
+ *p++ = c;
+ }
+ b->counter = (int)(p - dp->th_data);
++ return 0;
+ }
+
+ /* Update count associated with the buffer, get new buffer
+ from the queue. Calls write_behind only if next buffer not
+ available.
+ */
+-writeit(file, dpp, ct, convert)
+- FILE *file;
+- struct tftphdr **dpp;
+- int convert;
++int writeit(FILE *file, struct tftphdr **dpp, int ct, int convert)
+ {
+ bfs[current].counter = ct; /* set size of data to write */
+ current = !current; /* switch to other buffer */
+@@ -180,9 +185,7 @@ writeit(file, dpp, ct, convert)
+ * Note spec is undefined if we get CR as last byte of file or a
+ * CR followed by anything else. In this case we leave it alone.
+ */
+-write_behind(file, convert)
+- FILE *file;
+- int convert;
++int write_behind( FILE *file, int convert)
+ {
+ char *buf;
+ int count;
+@@ -238,9 +241,8 @@ skipit:
+ * when trace is active).
+ */
+
+-int
+-synchnet(f)
+-int f; /* socket to flush */
++int synchnet(int f)
++ /* socket to flush */
+ {
+ int i, j = 0;
+ char rbuf[PKTSIZE];
+@@ -258,4 +260,5 @@ int f; /* socket to flush */
+ return(j);
+ }
+ }
++ return 0; /* should never get here */
+ }
diff --git a/network/linksys-tftp/linksys-tftp.SlackBuild b/network/linksys-tftp/linksys-tftp.SlackBuild
index 2803fcdc1a..7c2b9b8cf3 100644
--- a/network/linksys-tftp/linksys-tftp.SlackBuild
+++ b/network/linksys-tftp/linksys-tftp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for linksys-tftp
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231030 bkw: modified by SlackBuilds.org, BUILD=4:
+# - fix README.Slackware permission.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=linksys-tftp
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,20 +56,28 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.*z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
# patches thanks to Gentoo
-(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-Makefile.patch) | patch -b -p1
-(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-header.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-Makefile.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-clang.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-fno-common.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-header.patch) | patch -b -p1
+
+# patches from aaazen to convert K & R to Standard C
+(echo " " && cat $CWD/linksys-tftp-1.2.1-stdc-tftpsubs.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-stdc-tftp.patch) | patch -b -p1
+(echo " " && cat $CWD/linksys-tftp-1.2.1-stdc-main.patch) | patch -b -p1
-make
+CFLAGS="$SLKCFLAGS -fcommon" \
+ make
install -D -m755 -t $PKG/usr/bin/ linksys-tftp
@@ -68,11 +86,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/linksys-tftp/linksys-tftp.info b/network/linksys-tftp/linksys-tftp.info
index 1e2c9be8ff..7de9c49369 100644
--- a/network/linksys-tftp/linksys-tftp.info
+++ b/network/linksys-tftp/linksys-tftp.info
@@ -1,8 +1,8 @@
PRGNAM="linksys-tftp"
VERSION="1.2.1"
HOMEPAGE="https://www.redsand.net/solutions/linksys_tftp.html"
-DOWNLOAD="https://www.redsand.net/solutions/linksys-tftp-1.2.1.tar.gz"
-MD5SUM="f536f778dcbcb4a65838042ca0a2a454"
+DOWNLOAD="https://distfiles.gentoo.org/distfiles/82/linksys-tftp-1.2.1.tar.bz2"
+MD5SUM="e201eab05d2344b32f8fdf96462c27a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/linphone/README b/network/linphone/README
index 04cd544df2..8f47312d14 100644
--- a/network/linphone/README
+++ b/network/linphone/README
@@ -6,13 +6,13 @@ with most SIP clients and gateways. It uses various audio and
video codecs such as Opus, Speex, GSM, G711, ilbc, Theora, H263-1998,
MPEG4, VP8 and snow.
-Video support is enabled by default, but can be disabled and thus negating
-the need for ffmpeg. To disable support for video just pass VIDEO=no
-to the script.
+Video support is enabled by default, but can be disabled and thus
+negating the need for ffmpeg. To disable support for video just pass
+VIDEO=no to the script.
-UPNP support is enabled by default, but can be disabled and thus negating
-the need for libupnp. To disable support for UPNP just pass UPNP=no to
-the script.
+UPNP support is enabled by default, but can be disabled and thus
+negating the need for libupnp. To disable support for UPNP just pass
+UPNP=no to the script.
Truespeech is disabled by default, but can be enabled.
To enable support for Truespeech just pass TRUESPEECH=yes to the script.
diff --git a/network/linphone/linphone.SlackBuild b/network/linphone/linphone.SlackBuild
index 07eab0096e..f950205123 100644
--- a/network/linphone/linphone.SlackBuild
+++ b/network/linphone/linphone.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for linphone
# Was written by adev and modified by Eugene Wissner
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=linphone
VERSION=${VERSION:-3.12.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
MOD1NAME=ortp
MOD1VERSION=1.0.2
@@ -47,7 +50,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -152,9 +162,11 @@ chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/linphone/linphone.info b/network/linphone/linphone.info
index bb143a439c..57eafbe7e9 100644
--- a/network/linphone/linphone.info
+++ b/network/linphone/linphone.info
@@ -1,14 +1,14 @@
PRGNAM="linphone"
VERSION="3.12.0"
HOMEPAGE="https://www.linphone.org/"
-DOWNLOAD="https://www.linphone.org/releases/sources/linphone/linphone-3.12.0.tar.gz \
- https://www.linphone.org/releases/sources/ortp/ortp-1.0.2.tar.gz \
- https://www.linphone.org/releases/sources/mediastreamer/mediastreamer-2.16.1.tar.gz"
+DOWNLOAD="https://download.linphone.org/releases/old/sources/linphone/linphone-3.12.0.tar.gz \
+ https://download.linphone.org/releases/old/sources/ortp/ortp-1.0.2.tar.gz \
+ https://download.linphone.org/releases/old/sources/mediastreamer/mediastreamer-2.16.1.tar.gz"
MD5SUM="8292dbaa0a5d0a448dcbbee125e947e4 \
82629e99befa578341e0bdc225924135 \
15b8b129a922180855d04d58cdd08d43"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="belle-sip bzrtp ffmpeg libsrtp libupnp-legacy speex"
+REQUIRES="belle-sip bzrtp libsrtp libupnp-legacy"
MAINTAINER="Euan Thoms"
EMAIL="euan at potensol dot com"
diff --git a/network/linssid/README b/network/linssid/README
index fbf21e859d..cd385d481f 100644
--- a/network/linssid/README
+++ b/network/linssid/README
@@ -1,4 +1,2 @@
-LinSSID is a graphical wireless scanner for Linux.
-It is graphically and functionally similar to Inssider (Microsoft Windows)
-
-The qwt package required for LinSSID must have been built with Qt5 support.
+LinSSID is a graphical wireless scanner for Linux. It is graphically
+and functionally similar to Inssider (Microsoft Windows)
diff --git a/network/linssid/linssid.SlackBuild b/network/linssid/linssid.SlackBuild
index 88c98e4212..f87b702a07 100644
--- a/network/linssid/linssid.SlackBuild
+++ b/network/linssid/linssid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for linssid
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=linssid
VERSION=${VERSION:-3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/linssid/linssid.info b/network/linssid/linssid.info
index 0671f83139..3b87875817 100644
--- a/network/linssid/linssid.info
+++ b/network/linssid/linssid.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/linssid/files/LinSSID_3.6/linssid_3.6
MD5SUM="3a5363ca193fa45312381c9532b86152"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 qwt"
+REQUIRES="qwt"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/network/linuxdcpp/README b/network/linuxdcpp/README
deleted file mode 100644
index 3801c90513..0000000000
--- a/network/linuxdcpp/README
+++ /dev/null
@@ -1,2 +0,0 @@
-linuxdcpp is an Unix/Linux port of the DC++ client.
-It's a client for direct connect P2P networks.
diff --git a/network/linuxdcpp/doinst.sh b/network/linuxdcpp/doinst.sh
deleted file mode 100644
index a692890106..0000000000
--- a/network/linuxdcpp/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/linuxdcpp/linuxdcpp.SlackBuild b/network/linuxdcpp/linuxdcpp.SlackBuild
deleted file mode 100644
index e83b5a345b..0000000000
--- a/network/linuxdcpp/linuxdcpp.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for linuxdcpp
-#
-# Copyright 2007 Niklas "Nille" Åkerström
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=linuxdcpp
-VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -fpermissive" \
-scons \
- PREFIX=/usr \
- FAKE_ROOT=$PKG \
- debug=no \
- release=no \
- profile=no
-
-scons install
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/share/applications
-cat $CWD/linuxdcpp.desktop > $PKG/usr/share/applications/linuxdcpp.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/linuxdcpp/linuxdcpp.desktop b/network/linuxdcpp/linuxdcpp.desktop
deleted file mode 100644
index 732e10d7c0..0000000000
--- a/network/linuxdcpp/linuxdcpp.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Linux DC++
-Comment=DC++ Linux client
-Exec=linuxdcpp
-Icon=linuxdcpp
-Terminal=false
-Type=Application
-Categories=Network;
-GenericName=P2P client
-GenericName[sv]=P2P klient
-Comment[sv]=DC++ Linux klient
diff --git a/network/linuxdcpp/linuxdcpp.info b/network/linuxdcpp/linuxdcpp.info
deleted file mode 100644
index 2361c28c20..0000000000
--- a/network/linuxdcpp/linuxdcpp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="linuxdcpp"
-VERSION="1.1.0"
-HOMEPAGE="https://launchpad.net/linuxdcpp"
-DOWNLOAD="http://launchpad.net/linuxdcpp/1.1/1.1.0/+download/linuxdcpp-1.1.0.tar.bz2"
-MD5SUM="037de708bdb1e5dd7ac6c359b0e2c1a0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Niklas 'Nille' Åkerström"
-EMAIL="nille.kungen[AT]gmail.com"
diff --git a/network/linuxdcpp/slack-desc b/network/linuxdcpp/slack-desc
deleted file mode 100644
index ca6ce14764..0000000000
--- a/network/linuxdcpp/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-linuxdcpp: linuxdcpp (linux dc plus plus)
-linuxdcpp:
-linuxdcpp: linuxdcpp is an Unix/Linux port of the DC++ client.
-linuxdcpp: It's a client for direct connect P2P networks.
-linuxdcpp:
-linuxdcpp: Homepage: http://linuxdcpp.berlios.de
-linuxdcpp:
-linuxdcpp:
-linuxdcpp:
-linuxdcpp:
-linuxdcpp:
diff --git a/network/livestreamer-curses/README b/network/livestreamer-curses/README
deleted file mode 100644
index 0d08b2a1f8..0000000000
--- a/network/livestreamer-curses/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Livestreamer-curses is a limited front-end to Chrippa's Livestreamer
-for UNIX systems. With it you can manage a list of your favorite streams
-and play them.
diff --git a/network/livestreamer-curses/doinst.sh b/network/livestreamer-curses/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/livestreamer-curses/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/livestreamer-curses/livestreamer-curses.SlackBuild b/network/livestreamer-curses/livestreamer-curses.SlackBuild
deleted file mode 100644
index cd30b55217..0000000000
--- a/network/livestreamer-curses/livestreamer-curses.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for livestreamer-curses
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=livestreamer-curses
-VERSION=${VERSION:-1.5.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/livestreamer-curses/livestreamer-curses.info b/network/livestreamer-curses/livestreamer-curses.info
deleted file mode 100644
index 68f21d5a94..0000000000
--- a/network/livestreamer-curses/livestreamer-curses.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="livestreamer-curses"
-VERSION="1.5.2"
-HOMEPAGE="https://github.com/gapato/livestreamer-curses"
-DOWNLOAD="https://pypi.python.org/packages/source/l/livestreamer-curses/livestreamer-curses-1.5.2.tar.gz"
-MD5SUM="ea07058f327a3acdc62dc4301a4a6b85"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="livestreamer"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/livestreamer-curses/slack-desc b/network/livestreamer-curses/slack-desc
deleted file mode 100644
index 375b4dd301..0000000000
--- a/network/livestreamer-curses/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-livestreamer-curses: livestreamer-curses (curses frontend to livestreamer)
-livestreamer-curses:
-livestreamer-curses: Livestreamer-curses is a limited front-end to Chrippa's Livestreamer
-livestreamer-curses: for UNIX systems. With it you can manage a list of your favorite
-livestreamer-curses: streams and play them.
-livestreamer-curses:
-livestreamer-curses: Homepage: https://github.com/gapato/livestreamer-curses
-livestreamer-curses:
-livestreamer-curses:
-livestreamer-curses:
-livestreamer-curses:
diff --git a/network/livestreamer/README b/network/livestreamer/README
deleted file mode 100644
index 97954e7cbd..0000000000
--- a/network/livestreamer/README
+++ /dev/null
@@ -1,18 +0,0 @@
-Livestreamer is a Command Line Interface that pipes video streams from
-various services into a video player, such as VLC. The main purpose of
-Livestreamer is to allow the user to avoid buggy and CPU heavy flash plugins
-but still be able to enjoy various streamed content.
-
-There is also an API available for developers who want access to the video
-stream data.
-
-Optional dependencies:
-
-For RTMP based plugins:
- RTMPDump
-
-For decrypting encrypted HLS streams:
- PyCrypto
-
-For full UStream.tv support:
- python-librtmp
diff --git a/network/livestreamer/doinst.sh b/network/livestreamer/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/livestreamer/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/livestreamer/livestreamer.SlackBuild b/network/livestreamer/livestreamer.SlackBuild
deleted file mode 100644
index e9345ba5c4..0000000000
--- a/network/livestreamer/livestreamer.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for livestreamer
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=livestreamer
-VERSION=${VERSION:-1.12.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO *.rst LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/livestreamer/livestreamer.info b/network/livestreamer/livestreamer.info
deleted file mode 100644
index 7feeb03323..0000000000
--- a/network/livestreamer/livestreamer.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="livestreamer"
-VERSION="1.12.2"
-HOMEPAGE="http://livestreamer.tanuki.se/"
-DOWNLOAD="https://pypi.python.org/packages/source/l/livestreamer/livestreamer-1.12.2.tar.gz"
-MD5SUM="63fb477bb3e28b7fe26b3cbba6f7937c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-requests singledispatch futures"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/livestreamer/slack-desc b/network/livestreamer/slack-desc
deleted file mode 100644
index fd97eb3e09..0000000000
--- a/network/livestreamer/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-livestreamer: livestreamer (Stream Extrator)
-livestreamer:
-livestreamer: Livestreamer is CLI program that extracts streams from various
-livestreamer: services and pipes them into a video player of choice.
-livestreamer:
-livestreamer: Homepage: http://livestreamer.tanuki.se/
-livestreamer:
-livestreamer:
-livestreamer:
-livestreamer:
-livestreamer:
diff --git a/network/lizardfs/README b/network/lizardfs/README
index 6b6c8d0b12..cf6c3367f3 100644
--- a/network/lizardfs/README
+++ b/network/lizardfs/README
@@ -1,55 +1,57 @@
-LizardFS is a highly scalable, fault-tolerant, POSIX-compatible, FUSE-based,
-high performance distributed filesystem, licensed under GNU General Public
-License version 3.
-
-LizardFS is an implementation of GoogleFS, and a fork of the earlier project,
-MooseFS. LizardFS supports writable snapshots (instant copies), undeleting
-files, automatic data rebalancing, self-healing, data tiering, periodic data
-patrols and many more.
-
-LizardFS system consists of a master server, one or more metadata logging
-servers (meta loggers), and many chunk servers, that store the data on their
-locally-attached drives. Both meta loggers and chunk servers can be added and
-removed without restarting the master server.
-
-Filesystem metadata is stored on the master server (and constantly replicated
-to meta loggers), whereas filesystem data is divided into chunks and spread as
-files over chunk servers, according to pre-defined 'goals', which can be set
-on file-, directory-, or filesystem level. A goal can be an n-way mirroring
-goal, n+1 xor-ed goal (each chunk divided into n parts and xor-ed to calculate
-one part of redundancy), or more sophisticated, erasure code based n+k
-redundancy, where n parts of each chunk are backed by k parts of redundancy
-data.
-
-A set of administrative commands exists to support querying and setting
-redundancy goals and trash preservation time. LizardFS is admin-friendly since
-any missing chunks can be provided from any sort of backup to any running
-chunk server.
-
-This package contains all binaries needed to run LizardFS system: mfsmaster,
-mfsmetalogger, mfschunkserver, as well as lizardfs-cgiserver (web-based
-monitoring console).
-
-You need an "mfs" user and group prior to building lizardfs. Something like
-this will suffice for most systems:
+LizardFS is a highly scalable, fault-tolerant, POSIX-compatible,
+FUSE-based, high performance distributed filesystem, licensed under
+GNU General Public License version 3.
+
+LizardFS is an implementation of GoogleFS, and a fork of the earlier
+project, MooseFS. LizardFS supports writable snapshots (instant
+copies), undeleting files, automatic data rebalancing, self-healing,
+data tiering, periodic data patrols and many more.
+
+LizardFS system consists of a master server, one or more metadata
+logging servers (meta loggers), and many chunk servers, that store the
+data on their locally-attached drives. Both meta loggers and chunk
+servers can be added and removed without restarting the master server.
+
+Filesystem metadata is stored on the master server (and constantly
+replicated to meta loggers), whereas filesystem data is divided
+into chunks and spread as files over chunk servers, according
+to pre-defined 'goals', which can be set on file-, directory-, or
+filesystem level. A goal can be an n-way mirroring goal, n+1 xor-ed
+goal (each chunk divided into n parts and xor-ed to calculate one
+part of redundancy), or more sophisticated, erasure code based n+k
+redundancy, where n parts of each chunk are backed by k parts of
+redundancy data.
+
+A set of administrative commands exists to support querying and
+setting redundancy goals and trash preservation time. LizardFS is
+admin-friendly since any missing chunks can be provided from any sort
+of backup to any running chunk server.
+
+This package contains all binaries needed to run LizardFS
+system: mfsmaster, mfsmetalogger, mfschunkserver, as well as
+lizardfs-cgiserver (web-based monitoring console).
+
+You need an "mfs" user and group prior to building lizardfs.
+Something like this will suffice for most systems:
groupadd -g 353 mfs
useradd -u 353 -g 353 -d /var/lib/mfs mfs
-Feel free to use a different uid and gid if desired, but 353 is recommended to
-avoid conflicts with other stuff from SlackBuilds.org.
+Feel free to use a different uid and gid if desired, but 353 is
+recommended to avoid conflicts with other stuff from SlackBuilds.org.
-It is also advisable to make name 'mfsmaster' pointing at your Master server
-across your network. It is not strictly required, but it will make things much
-easier. If you are unable to configure your DNS server, adding this line to
-/etc/hosts on each master, metalogger, chunkserver, and client machines will
-do:
+It is also advisable to make name 'mfsmaster' pointing at your Master
+server across your network. It is not strictly required, but it will
+make things much easier. If you are unable to configure your DNS
+server, adding this line to /etc/hosts on each master, metalogger,
+chunkserver, and client machines will do:
a.b.c.d mfsmaster mfsmaster.my-domain.ext
where a.b.c.d is an IP address of your master server.
-Then on each node add '/etc/rc.d/rc.lizardfs start' to /etc/rc.d/rc.local (or
-wherever you find appropriate), and use '/etc/rc.d/rc.lizardfs setup' to
-configure which services should run on the server. Since most installations
-consists mostly of chunkservers, rc.lizardfs-chunkserver is marked executable
-by default (but will not run until rc.lizardfs-chunkserver or rc.lizardfs is
+Then on each node add '/etc/rc.d/rc.lizardfs start' to
+/etc/rc.d/rc.local (or wherever you find appropriate), and use
+'/etc/rc.d/rc.lizardfs setup' to configure which services should
+run on the server. Since most installations consists mostly of
+chunkservers, rc.lizardfs-chunkserver is marked executable by default
+(but will not run until rc.lizardfs-chunkserver or rc.lizardfs is
added to rc.local, so no need to worry).
diff --git a/network/lizardfs/lizardfs.SlackBuild b/network/lizardfs/lizardfs.SlackBuild
index 2360f179ea..692eeba8ba 100644
--- a/network/lizardfs/lizardfs.SlackBuild
+++ b/network/lizardfs/lizardfs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LizardFS
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lizardfs
VERSION=${VERSION:-3.12.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
LIZARDFS_UID=${LIZARDFS_UID:-353}
LIZARDFS_GID=${LIZARDFS_GID:-353}
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,8 +102,8 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -fcommon" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fcommon" \
-DCMAKE_INSTALL_PREFIX=/ \
-DENABLE_DEBIAN_PATHS=YES \
-DENABLE_TESTS=NO \
@@ -150,4 +160,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lldpd/lldpd.SlackBuild b/network/lldpd/lldpd.SlackBuild
index 25306b6af0..c9a6433acf 100644
--- a/network/lldpd/lldpd.SlackBuild
+++ b/network/lldpd/lldpd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lldpd
-# Copyright 2017-2021 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2017-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lldpd
-VERSION=${VERSION:-1.0.7}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.0.17}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -102,6 +112,8 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.lldpd > $PKG/etc/rc.d/rc.lldpd.new
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -114,4 +126,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lldpd/lldpd.info b/network/lldpd/lldpd.info
index 0999957e77..7cab963fa6 100644
--- a/network/lldpd/lldpd.info
+++ b/network/lldpd/lldpd.info
@@ -1,8 +1,8 @@
PRGNAM="lldpd"
-VERSION="1.0.7"
+VERSION="1.0.17"
HOMEPAGE="https://vincentbernat.github.io/lldpd/"
-DOWNLOAD="https://media.luffy.cx/files/lldpd/lldpd-1.0.7.tar.gz"
-MD5SUM="509aa1675dafff5017bbcc22850e35a8"
+DOWNLOAD="https://media.luffy.cx/files/lldpd/lldpd-1.0.17.tar.gz"
+MD5SUM="047ab026dbc4b22b7ef37991e7e2afaa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/llhttp/README b/network/llhttp/README
new file mode 100644
index 0000000000..919dceec36
--- /dev/null
+++ b/network/llhttp/README
@@ -0,0 +1 @@
+This is a parser for HTTP messages written in C
diff --git a/network/llhttp/llhttp.SlackBuild b/network/llhttp/llhttp.SlackBuild
new file mode 100644
index 0000000000..6f514f1dfa
--- /dev/null
+++ b/network/llhttp/llhttp.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for llhttp
+
+# Copyright 2022-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=llhttp
+VERSION=${VERSION:-9.2.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf llhttp-release-v$VERSION
+tar xvf $CWD/llhttp-release-v$VERSION.tar.gz
+cd llhttp-release-v$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/llhttp/llhttp.info b/network/llhttp/llhttp.info
new file mode 100644
index 0000000000..5f45b17894
--- /dev/null
+++ b/network/llhttp/llhttp.info
@@ -0,0 +1,10 @@
+PRGNAM="llhttp"
+VERSION="9.2.1"
+HOMEPAGE="https://github.com/nodejs/llhttp"
+DOWNLOAD="https://github.com/nodejs/llhttp/archive/release/v9.2.1/llhttp-release-v9.2.1.tar.gz"
+MD5SUM="355ecc90e622035e3e1693a96a0c233b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/network/llhttp/slack-desc b/network/llhttp/slack-desc
new file mode 100644
index 0000000000..09038297cc
--- /dev/null
+++ b/network/llhttp/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+llhttp: llhttp (Port of http_parser to llparse)
+llhttp:
+llhttp: This is a parser for HTTP messages written in C
+llhttp:
+llhttp:
+llhttp:
+llhttp: Project URL: https://github.com/nodejs/llhttp
+llhttp:
+llhttp:
+llhttp:
+llhttp:
diff --git a/network/lorawan-stack-cli/README b/network/lorawan-stack-cli/README
new file mode 100644
index 0000000000..7025d7f73c
--- /dev/null
+++ b/network/lorawan-stack-cli/README
@@ -0,0 +1,5 @@
+Command line interface for the TheThingsNetwork V3 and TheThingsStack V3
+
+Auto-completion is NOT working. You can test with:
+`source /usr/share/bash-completion/completions/ttn-lw-cli`
+Added in the hope that in future will work.
diff --git a/network/lorawan-stack-cli/lorawan-stack-cli.SlackBuild b/network/lorawan-stack-cli/lorawan-stack-cli.SlackBuild
new file mode 100644
index 0000000000..fcb178f674
--- /dev/null
+++ b/network/lorawan-stack-cli/lorawan-stack-cli.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+# Slackware build script for <lorawan-stack-cli>
+#
+# Copyright 2023, Michales Michaloudes (clavisound), Greece
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lorawan-stack-cli
+VERSION=${VERSION:-3.26.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+TMP=${TMP:-/tmp/SBo}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SRCNAME="${PRGNAM}_${VERSION}_linux_386"
+elif [ "$ARCH" = "x86_64" ]; then
+ SRCNAME="${PRGNAM}_${VERSION}_linux_amd64"
+elif [ "$ARCH" = "arm64" ]; then
+ SRCNAME="${PRGNAM}_${VERSION}_linux_arm64"
+elif [ "$ARCH" = "armv7" ]; then
+ SRCNAME="${PRGNAM}_${VERSION}_linux_armv7"
+elif [ "$ARCH" = "armv6" ]; then
+ SRCNAME="${PRGNAM}_${VERSION}_linux_armv6"
+else
+ echo "Error: suitables ARCH are i586, x86_64, arm64, armv7, armv6"
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAME.tar.gz
+mv $SRCNAME $PRGNAM-$VERSION # lorawan-stack-cli_X.Y.Z_linux_ARCH to lorawan-stack-cli-X.Y.Z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/bin
+cp $TMP/$PRGNAM-$VERSION/ttn-lw-cli $PKG/usr/bin/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/usr/share/bash-completion/completions/
+cp $TMP/$PRGNAM-$VERSION/config/completion/bash/ttn-lw-cli $PKG/usr/share/bash-completion/completions/
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lorawan-stack-cli/lorawan-stack-cli.info b/network/lorawan-stack-cli/lorawan-stack-cli.info
new file mode 100644
index 0000000000..7bb128615e
--- /dev/null
+++ b/network/lorawan-stack-cli/lorawan-stack-cli.info
@@ -0,0 +1,10 @@
+PRGNAM="lorawan-stack-cli"
+VERSION="3.26.2"
+HOMEPAGE="https://www.thethingsnetwork.org"
+DOWNLOAD="https://github.com/TheThingsNetwork/lorawan-stack/releases/download/v3.26.2/lorawan-stack-cli_3.26.2_linux_386.tar.gz"
+MD5SUM="e2a2776d85c185fb491480dc4db37a26"
+DOWNLOAD_x86_64="https://github.com/TheThingsNetwork/lorawan-stack/releases/download/v3.26.2/lorawan-stack-cli_3.26.2_linux_amd64.tar.gz"
+MD5SUM_x86_64="eceb05e21599546935e70cc4909d99f2"
+REQUIRES=""
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
diff --git a/network/lorawan-stack-cli/slack-desc b/network/lorawan-stack-cli/slack-desc
new file mode 100644
index 0000000000..7ffce622f1
--- /dev/null
+++ b/network/lorawan-stack-cli/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+lorawan-stack-cli: lorawan-stack-cli (cli for the TTN V3 / TTS)
+lorawan-stack-cli:
+lorawan-stack-cli: Command line interface for the TheThingsNetwork and TheThingsStack.
+lorawan-stack-cli:
+lorawan-stack-cli:
+lorawan-stack-cli:
+lorawan-stack-cli:
+lorawan-stack-cli:
+lorawan-stack-cli:
+lorawan-stack-cli:
+lorawan-stack-cli:
diff --git a/network/luakit/gtk.patch b/network/luakit/gtk.patch
new file mode 100644
index 0000000000..3bed22b74b
--- /dev/null
+++ b/network/luakit/gtk.patch
@@ -0,0 +1,15 @@
+diff -rupN a/clib/unique.c b/clib/unique.c
+--- a/clib/unique.c 2024-01-30 20:31:08.000000000 +0100
++++ b/clib/unique.c 2024-01-31 08:22:48.919908308 +0100
+@@ -78,11 +78,7 @@ luaH_unique_new(lua_State *L)
+
+ GError *error = NULL;
+ if (!globalconf.application) {
+-#if GTK_CHECK_VERSION(2,74,0)
+- globalconf.application = gtk_application_new(name, G_APPLICATION_DEFAULT_FLAGS);
+-#else
+ globalconf.application = gtk_application_new(name, G_APPLICATION_FLAGS_NONE);
+-#endif
+ }
+
+ g_application_register(G_APPLICATION(globalconf.application), NULL, &error);
diff --git a/network/luakit/luakit.SlackBuild b/network/luakit/luakit.SlackBuild
index 20fea6d96d..e36c76ab38 100644
--- a/network/luakit/luakit.SlackBuild
+++ b/network/luakit/luakit.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luakit
# Copyright 2013, Andrew Tkalia <anddt@yandex.ru>, Ukraine, Kyiv
-# Update 2018-06-30 and 2020-10-26 by Marek Srejma <sam_web@yahoo.de>
+# Updates 2018-2024 by Marek Šrejma <marek@modweb.de>, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=luakit
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-2.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
LUAJIT=${LUAJIT:-0} # 0 or 1
CC=${CC:-cc} # cc, gcc or clang
@@ -38,15 +41,19 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if egrep -qo "^i[2-6]86$" <<<"$ARCH"; then
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -70,6 +77,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -e 's#(PREFIX)/lib/luakit#(LIBDIR)#g' -i Makefile
+sed -e "/^Exec=/ s/lua/env Malloc=1 lua/" -i extras/luakit.desktop
+patch -p1 < $CWD/gtk.patch
_CFLAGS=`grep CFLAGS config.mk | sed -e "s/CFLAGS\s*+=//g" | tr "\n" " "`
make install \
@@ -93,9 +102,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGELOG.md \
- CONTRIBUTING.md COPYING.GPLv3 \
- README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG.md CONTRIBUTING.md COPYING.GPLv3 README.md MIGRATE.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -103,4 +111,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/luakit/luakit.info b/network/luakit/luakit.info
index 2f3150278d..8624e731de 100644
--- a/network/luakit/luakit.info
+++ b/network/luakit/luakit.info
@@ -1,10 +1,10 @@
PRGNAM="luakit"
-VERSION="2.2.1"
+VERSION="2.3.6"
HOMEPAGE="https://github.com/luakit/luakit"
-DOWNLOAD="https://github.com/luakit/luakit/archive/2.2.1/luakit-2.2.1.tar.gz"
-MD5SUM="c9f32f06b54fae18e567fb330250bb36"
+DOWNLOAD="https://github.com/luakit/luakit/releases/download/2.3.6/luakit-2.3.6.tar.gz"
+MD5SUM="f9e623c23ce560fdfd14d9ccb9ef71e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="webkit2gtk lua-filesystem"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
+REQUIRES="webkit2gtk4.1 lua-filesystem"
+MAINTAINER="Marek Šrejma"
+EMAIL="marek@modweb.de"
diff --git a/network/lurch/lurch.SlackBuild b/network/lurch/lurch.SlackBuild
index 342ceb99f6..38d63c172c 100644
--- a/network/lurch/lurch.SlackBuild
+++ b/network/lurch/lurch.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lurch
-# Copyright 2017 - 2019 Johannes Schoepfer, Germany
+# Copyright 2017-2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lurch
-VERSION=${VERSION:-0.6.8}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,23 +38,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -65,11 +68,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-CFLAGS="$SLKCFLAGS" make -j1
+CFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -83,4 +86,4 @@ mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/lurch/lurch.info b/network/lurch/lurch.info
index f6fdbb3742..3633a45331 100644
--- a/network/lurch/lurch.info
+++ b/network/lurch/lurch.info
@@ -1,8 +1,8 @@
PRGNAM="lurch"
-VERSION="0.6.8"
+VERSION="0.7.0"
HOMEPAGE="https://github.com/gkdr/lurch"
-DOWNLOAD="https://github.com/gkdr/lurch/releases/download/v0.6.8/lurch-0.6.8-src.tar.gz"
-MD5SUM="8744e8f5fbc32de10add88b41e3e0a46"
+DOWNLOAD="https://github.com/gkdr/lurch/releases/download/v0.7.0/lurch-0.7.0-src.tar.gz"
+MD5SUM="2aaac68870c0ed376c5a6a54cd45e121"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mxml"
diff --git a/network/lxi-tools/README b/network/lxi-tools/README
index e3b0dedfd9..98a68a8bc1 100644
--- a/network/lxi-tools/README
+++ b/network/lxi-tools/README
@@ -1,10 +1,10 @@
-lxi-tools is a collection of open source software tools that enables control
-of LXI compatible instruments such as modern oscilloscopes, power supplies,
-spectrum analyzers etc.
+lxi-tools is a collection of open source software tools that enables
+control of LXI compatible instruments such as modern oscilloscopes,
+power supplies, spectrum analyzers etc.
-All features are consolidated in the 'lxi' application which provides a simple
-commandline interface to discover LXI instruments, send SCPI commands, and
-capture screenshots from supported LXI instruments.
+All features are consolidated in the 'lxi' application which provides
+a simple commandline interface to discover LXI instruments, send SCPI
+commands, and capture screenshots from supported LXI instruments.
The lxi-tools package now features an optional GUI that requires the qt5
-package. Enable it with: GUI=yes ./lxi-tools.SlackBuild
+package. Enable it with: GUI=yes ./lxi-tools.SlackBuild
diff --git a/network/lxi-tools/lxi-tools.SlackBuild b/network/lxi-tools/lxi-tools.SlackBuild
index 95161d0ac3..fa97b855b7 100644
--- a/network/lxi-tools/lxi-tools.SlackBuild
+++ b/network/lxi-tools/lxi-tools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lxi-tools
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lxi-tools
VERSION=${VERSION:-1.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -116,4 +126,4 @@ if [ x"${GUI}" = "xyes" ]; then
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/macchanger/macchanger.SlackBuild b/network/macchanger/macchanger.SlackBuild
index 9beaa20889..64407bbe34 100644
--- a/network/macchanger/macchanger.SlackBuild
+++ b/network/macchanger/macchanger.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for macchanger
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=macchanger
VERSION=${VERSION:-1.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -102,4 +112,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/maildrop/maildrop.SlackBuild b/network/maildrop/maildrop.SlackBuild
index 7f4d08ce48..d1eb460382 100644
--- a/network/maildrop/maildrop.SlackBuild
+++ b/network/maildrop/maildrop.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# ----------------------------------------------------------------------
# Slackware build script for maildrop
#
# Copyright 2010 - 2019 Šime Ramov <s@ramov.com>
-# Copyright 2019 - 2021 Andrew Strong, Blue Mountains, Australia.
+# Copyright 2019 - 2023 Andrew Strong, Blue Mountains, Australia.
#
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
@@ -24,10 +24,13 @@
# SUCH DAMAGE.
# ----------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=maildrop
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,13 +88,11 @@ CXXFLAGS="$SLKCFLAGS" \
--datadir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--enable-dovecotauth \
- --with-devel \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -97,16 +102,20 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share
-
cp -a \
AUTHORS COPYING* ChangeLog INSTALL README README.dovecotauth UPGRADE \
$PKG/usr/doc/$PRGNAM-$VERSION
+
+# The HTML docs are simply copies of the man pages, so are removed from
+# generated package. If you really want the HTML version of the man pages
+# simply uncomment the line below:
+# mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/maildrop/maildrop.info b/network/maildrop/maildrop.info
index 5becdd4664..6ea3f1380d 100644
--- a/network/maildrop/maildrop.info
+++ b/network/maildrop/maildrop.info
@@ -1,8 +1,8 @@
PRGNAM="maildrop"
-VERSION="3.0.1"
+VERSION="3.1.1"
HOMEPAGE="http://www.courier-mta.org/maildrop/"
-DOWNLOAD="https://download.sourceforge.net/courier/maildrop-3.0.1.tar.bz2"
-MD5SUM="28f6a5dfa6da4110719240696d528299"
+DOWNLOAD="https://download.sourceforge.net/courier/maildrop-3.1.1.tar.bz2"
+MD5SUM="a88ab3f29b5f20ad7cc80a6b94392cc8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="courier-unicode"
diff --git a/network/mailman/README b/network/mailman/README
index afa42d05f3..61d3495489 100644
--- a/network/mailman/README
+++ b/network/mailman/README
@@ -3,8 +3,9 @@ Mailman (the GNU Mailing List Manager)
Unlike other SlackBuilds which have a /usr installation prefix, this
script will install Mailman to /opt/mailman instatead. This is done
to simplify the build process since Mailman attemps to install itself
-into many non-standard directories in the prefix directory. Therefore, it
-is installed as a self-contained and easily-removable location in /opt.
+into many non-standard directories in the prefix directory. Therefore,
+it is installed as a self-contained and easily-removable location
+in /opt.
It may be that you wish to keep Mailman's lists database in /var/mailman
instead of /opt/mailman/var/mailman, in which case you should adjust the
@@ -15,8 +16,10 @@ VAR_PREFIX variable at runtime. For example:
This SlackBuild assumes the webserver group name to be "apache",
which should work just fine for you if you have the Slackware
httpd package installed.
-If you wish to use a diffent webserver then set the group name accordingly
-by passing is to the script via the CGI_GID variable at runtime. Eg:
+
+If you wish to use a diffent webserver then set the group name
+accordingly by passing is to the script via the CGI_GID variable at
+runtime. Eg:
CGI_GID="lighttpd" ./mailman.SlackBuild
diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild
index 289d99cf1a..742d605766 100644
--- a/network/mailman/mailman.SlackBuild
+++ b/network/mailman/mailman.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mailman
# Written by Eugene Suter (easuter@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mailman
-VERSION=${VERSION:-2.1.23}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.1.39}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# This might not matter depending on your smtp server, but it may need
# to be changed to e.g. postfix's gid if you use postfix
@@ -27,7 +30,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,7 +73,7 @@ mkdir -p $PKG
install -d $PKG/$PREFIX -g mailman -o root -m 2775
install -d $PKG/$VAR_PREFIX -g mailman -o root -m 2775
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -107,16 +117,16 @@ chmod 0755 $PKG/etc/rc.d/rc.mailman.new
mv $PKG/opt/mailman/Mailman/mm_cfg.py $PKG/opt/mailman/Mailman/mm_cfg.py.new
-mkdir -p $PKG/$PREFIX/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/doc
+mkdir -p $PKG/$PREFIX/doc/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ACKNOWLEDGMENTS BUGS FAQ NEWS README* STYLEGUIDE.txt TODO \
- $PKG/$PREFIX/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/$PREFIX/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/doc ; ln -s $PREFIX/doc/$PRGNAM-$VERSION )
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+( cd $PKG/$PREFIX/doc ; ln -s /usr/doc/$PRGNAM-$VERSION )
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mailman/mailman.info b/network/mailman/mailman.info
index c76863d4e5..596df193fd 100644
--- a/network/mailman/mailman.info
+++ b/network/mailman/mailman.info
@@ -1,10 +1,10 @@
PRGNAM="mailman"
-VERSION="2.1.23"
-HOMEPAGE="http://www.gnu.org/software/mailman/index.html"
-DOWNLOAD="http://ftp.gnu.org/gnu/mailman/mailman-2.1.23.tgz"
-MD5SUM="ceb2d8427e29f4e69b2505423ffeb60b"
+VERSION="2.1.39"
+HOMEPAGE="https://www.gnu.org/software/mailman/"
+DOWNLOAD="http://ftp.gnu.org/gnu/mailman/mailman-2.1.39.tgz"
+MD5SUM="6edf92c119da01ed42665530dfaa2c92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dnspython"
-MAINTAINER="Steven King"
-EMAIL="kingrst@gmail.com"
+REQUIRES="python2-dnspython"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/network/mailman/rc.mailman b/network/mailman/rc.mailman
index 21840941e3..5a9319a8ad 100644
--- a/network/mailman/rc.mailman
+++ b/network/mailman/rc.mailman
@@ -32,7 +32,7 @@
# config: /opt/mailman/Mailman/mm_cfg.py
# pidfile: /opt/mailman/var/mailman/data/master-qrunner.pid
-PYTHON=/usr/bin/python
+PYTHON=/usr/bin/python3
MAILMANHOME=/opt/mailman/var/mailman
MAILMANCTL=/opt/mailman/bin/mailmanctl
diff --git a/network/mailspring/doinst.sh b/network/mailspring/doinst.sh
index 7b676c401a..726ffe403b 100644
--- a/network/mailspring/doinst.sh
+++ b/network/mailspring/doinst.sh
@@ -1,6 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications
fi
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -q usr/share/icons/hicolor
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi
diff --git a/network/mailspring/mailspring.SlackBuild b/network/mailspring/mailspring.SlackBuild
index aec0a99204..e50fd580a0 100644
--- a/network/mailspring/mailspring.SlackBuild
+++ b/network/mailspring/mailspring.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mailspring
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mailspring
-VERSION=${VERSION:-1.7.8}
+VERSION=${VERSION:-1.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,7 +55,6 @@ if [ "$ARCH" = "i586" ]; then
exit 1
elif [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
- LIBDIRSUFFIX="64"
else
echo "Package for $(uname -m) architecture is not available."
exit 1
@@ -65,6 +74,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix some ELF binaries'/libraries' permissions
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | while read -r ELF_FILE; do
+ if [ ! -x "$ELF_FILE" ]; then
+ chmod +x "$ELF_FILE"
+ fi
+ done
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -80,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mailspring/mailspring.info b/network/mailspring/mailspring.info
index 18c30c3d30..e667dfd940 100644
--- a/network/mailspring/mailspring.info
+++ b/network/mailspring/mailspring.info
@@ -1,10 +1,10 @@
PRGNAM="mailspring"
-VERSION="1.7.8"
+VERSION="1.13.2"
HOMEPAGE="https://getmailspring.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/Foundry376/Mailspring/releases/download/1.7.8/mailspring-1.7.8-amd64.deb"
-MD5SUM_x86_64="cba72626be223808f4d1f734fc62b1a5"
+DOWNLOAD_x86_64="https://github.com/Foundry376/Mailspring/releases/download/1.13.2/mailspring-1.13.2-amd64.deb"
+MD5SUM_x86_64="64686f30e7e16ed33a96d8ec3901bdaf"
REQUIRES=""
MAINTAINER="Muhammad Mahendra Subrata"
EMAIL="mumahendras3@gmail.com"
diff --git a/network/malheur/README b/network/malheur/README
index 62cd14299b..02695ec907 100644
--- a/network/malheur/README
+++ b/network/malheur/README
@@ -1,10 +1,11 @@
malheur (automatic analysis of malware behaviour)
Malheur is a tool for the automatic analysis of malware behavior
-(program behavior recorded from malicious software in a sandbox environment).
+(program behavior recorded from malicious software in a sandbox
+environment).
-It has been designed to support the regular analysis of malicious software and
-the development of detection and defense measures.
+It has been designed to support the regular analysis of malicious
+software and the development of detection and defense measures.
Malheur allows for identifying novel classes of malware with similar
behavior and assigning unknown malware to discovered classes.
diff --git a/network/malheur/malheur.SlackBuild b/network/malheur/malheur.SlackBuild
index 7f8bdde0f2..925d457936 100644
--- a/network/malheur/malheur.SlackBuild
+++ b/network/malheur/malheur.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for malheur
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=malheur
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/malheur/malheur.info b/network/malheur/malheur.info
index eb60c74988..57397f4182 100644
--- a/network/malheur/malheur.info
+++ b/network/malheur/malheur.info
@@ -1,7 +1,7 @@
PRGNAM="malheur"
VERSION="0.5.4"
HOMEPAGE="http://www.mlsec.org/malheur/"
-DOWNLOAD="http://www.mlsec.org/malheur/files/malheur-0.5.4.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/malheur-0.5.4.tar.gz"
MD5SUM="4fb8acff52cb5fd2c5922bc2cfc9b2ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/masscan/README b/network/masscan/README
index aaef5aa0bd..c0c821ff55 100644
--- a/network/masscan/README
+++ b/network/masscan/README
@@ -1,4 +1,4 @@
MASSCAN: Mass IP port scanner
-Masscan provides simple, fast TCP port scanning. It's usage is similar to
-nmap, but much faster.
+Masscan provides simple, fast TCP port scanning. Its usage is
+similar to nmap, but much faster.
diff --git a/network/masscan/masscan.SlackBuild b/network/masscan/masscan.SlackBuild
index 2f2f6040af..3d7d7236ce 100644
--- a/network/masscan/masscan.SlackBuild
+++ b/network/masscan/masscan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for masscan
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=masscan
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,10 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# gcc-5 fixes thanks to Arch Linux
-sed -i "s|#elif defined(__GNUC__) && (__GNUC__ == 4)|#elif defined(__GNUC__)|" src/string_s.h
-sed -i -r "s|(CFLAGS )=|\1+=|g" Makefile
-
make
make install DESTDIR=$PKG
install -pDm644 doc/masscan.8 $PKG/usr/man/man8/masscan.8
@@ -91,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/masscan/masscan.info b/network/masscan/masscan.info
index a92dde099f..1c2638624e 100644
--- a/network/masscan/masscan.info
+++ b/network/masscan/masscan.info
@@ -1,8 +1,8 @@
PRGNAM="masscan"
-VERSION="1.0.5"
+VERSION="1.3.2"
HOMEPAGE="https://github.com/robertdavidgraham/masscan"
-DOWNLOAD="https://github.com/robertdavidgraham/masscan/archive/1.0.5.tar.gz"
-MD5SUM="708e02d58bf21bb7c55ea880df0317f5"
+DOWNLOAD="https://github.com/robertdavidgraham/masscan/archive/1.3.2/masscan-1.3.2.tar.gz"
+MD5SUM="468dc7d2f756625a491f33fdb5fbdfd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/mattermost-desktop/mattermost-desktop.SlackBuild b/network/mattermost-desktop/mattermost-desktop.SlackBuild
index c43c06f88f..f782312b6e 100644
--- a/network/mattermost-desktop/mattermost-desktop.SlackBuild
+++ b/network/mattermost-desktop/mattermost-desktop.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mattermost-desktop
+# Copyright 2022 David O'Shaughnessy <dev@osh.id.au>
# Copyright 2018-2020 Dominik Drobek <dominik.drobek (at) o2.pl>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mattermost-desktop
-VERSION=${VERSION:-4.6.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.1.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,11 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "x86_64" ]; then
SRCARCH="x64"
PKGARCH="$ARCH"
@@ -51,6 +51,18 @@ else
exit 1
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
rm -rf $PKG
@@ -67,13 +79,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/opt/$PRGNAM
-cp -a locales/ resources/ swiftshader/ *.bin *.dat *.pak *.so chrome-sandbox $PRGNAM $PKG/opt/$PRGNAM
+cp -a $TMP/$PRGNAM-$VERSION-linux-$SRCARCH/* $PKG/opt/$PRGNAM
mkdir -p $PKG/usr/bin
-ln -sf ../../opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
+( cd $PKG/usr/bin; ln -sf ../../opt/$PRGNAM/$PRGNAM $PRGNAM )
install -D -m 644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -D -m 644 icon.svg $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
+install -D -m 644 app_icon.png $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -81,6 +93,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
# fix 755 permissions on resource files and documentation:
find -L $PKG/opt/$PRGNAM \
\( -name "*.asar" -o -name "*.bin" -o -name "*.dat" -o -name "*.pak" \) \
@@ -94,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mattermost-desktop/mattermost-desktop.info b/network/mattermost-desktop/mattermost-desktop.info
index c22f9dac1c..ee4be2d9eb 100644
--- a/network/mattermost-desktop/mattermost-desktop.info
+++ b/network/mattermost-desktop/mattermost-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="mattermost-desktop"
-VERSION="4.6.1"
+VERSION="5.1.1"
HOMEPAGE="https://mattermost.com"
-DOWNLOAD="https://releases.mattermost.com/desktop/4.6.1/mattermost-desktop-4.6.1-linux-ia32.tar.gz"
-MD5SUM="5f6541178b31eb4eb337e0d60ece1072"
-DOWNLOAD_x86_64="https://releases.mattermost.com/desktop/4.6.1/mattermost-desktop-4.6.1-linux-x64.tar.gz"
-MD5SUM_x86_64="48b6cae957745ee92ab5d90b6c21c12c"
+DOWNLOAD="https://releases.mattermost.com/desktop/5.1.1/mattermost-desktop-5.1.1-linux-ia32.tar.gz"
+MD5SUM="50fc86fbcd609a62e9a356baa00ec358"
+DOWNLOAD_x86_64="https://releases.mattermost.com/desktop/5.1.1/mattermost-desktop-5.1.1-linux-x64.tar.gz"
+MD5SUM_x86_64="aa773fd645be59d55afe5765d2eaa6db"
REQUIRES=""
-MAINTAINER="Dominik Drobek"
-EMAIL="dominik.drobek (at) o2.pl"
+MAINTAINER="David O'Shaughnessy"
+EMAIL="dev@osh.id.au"
diff --git a/network/mdk3/mdk3.SlackBuild b/network/mdk3/mdk3.SlackBuild
index 7a72c1369c..c7d73cf5e3 100644
--- a/network/mdk3/mdk3.SlackBuild
+++ b/network/mdk3/mdk3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mdk3
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdk3
SRCNAM=mdk3-master
VERSION=${VERSION:-v6_1bf2bd3}
COMMIT=${COMMIT:-1bf2bd31b79560aa99fc42123f70f36a03154b9e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mdk4/README b/network/mdk4/README
new file mode 100644
index 0000000000..bde5292e71
--- /dev/null
+++ b/network/mdk4/README
@@ -0,0 +1,8 @@
+MDK is a proof-of-concept tool to exploit common IEEE 802.11 protocol
+weaknesses.
+
+MDK4 is a new version of MDK3.
+
+MDK4 is a Wi-Fi testing tool from E7mer, ASPj of k2wrlz, it uses the
+osdep library from the aircrack-ng project to inject frames on several
+operating systems.
diff --git a/network/mdk4/mdk4.SlackBuild b/network/mdk4/mdk4.SlackBuild
new file mode 100644
index 0000000000..f3e3c5b046
--- /dev/null
+++ b/network/mdk4/mdk4.SlackBuild
@@ -0,0 +1,90 @@
+#!/bin/bash
+
+# Slackware build script for MDK4
+
+# Copyright 2022 pyllyukko
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mdk4
+VERSION=${VERSION:-4.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+sed -i \
+ -e 's/^\(PREFIX\s\+=\s\+\).\+$/\1\/usr/' \
+ -e 's/^\(MANDIR\s\+=\s\+\$(PREFIX)\/\).\+$/\1man/' \
+ -e 's/^\(\s\+\(install\|gzip\)\b.\+\/man8\/mdk4\)\.2$/\1.8/' \
+ Makefile
+sed -i \
+ -e 's/^\(\s\+install\b.\+\s\+\)\(\$(SBINDIR).\+\)$/\1$(DESTDIR)\2/' \
+ -e 's/^\(\s\+\)\(mkdir\s\+-p\s\+\/usr\/local\/src\/mdk4\|cp\s\+-r\s\+pocs\s\+\/usr\/local\/src\/mdk4\)$/\1#\2/' \
+ src/Makefile
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS CHANGELOG COPYING README.md TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mdk4/mdk4.info b/network/mdk4/mdk4.info
new file mode 100644
index 0000000000..86a0a0728c
--- /dev/null
+++ b/network/mdk4/mdk4.info
@@ -0,0 +1,10 @@
+PRGNAM="mdk4"
+VERSION="4.2"
+HOMEPAGE="https://github.com/aircrack-ng/mdk4"
+DOWNLOAD="https://github.com/aircrack-ng/mdk4/archive/refs/tags/4.2/mdk4-4.2.tar.gz"
+MD5SUM="9f5307f29cbde23da235e0c1f49c9bf5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="pyllyukko"
+EMAIL="pyllyukko@maimed.org"
diff --git a/network/mdk4/slack-desc b/network/mdk4/slack-desc
new file mode 100644
index 0000000000..ed5b7770b9
--- /dev/null
+++ b/network/mdk4/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mdk4: mdk4 (Wi-Fi testing tool)
+mdk4:
+mdk4: MDK is a proof-of-concept tool to exploit common IEEE 802.11 protocol
+mdk4: weaknesses.
+mdk4:
+mdk4: MDK4 is a new version of MDK3.
+mdk4:
+mdk4:
+mdk4:
+mdk4: Homepage: https://github.com/aircrack-ng/mdk4
+mdk4:
diff --git a/network/megatools/README b/network/megatools/README
index c7107d916f..2d625d0ade 100644
--- a/network/megatools/README
+++ b/network/megatools/README
@@ -1,9 +1,11 @@
-Megatools is a collection of programs for accessing Mega service from a command
-line of your desktop or server.
+Megatools is a collection of programs for accessing Mega service from
+a command line of your desktop or server.
-Megatools allow you to copy individual files as well as entire directory trees
-to and from the cloud. You can also perform streaming downloads for example to
-preview videos and audio files, without needing to download the entire file.
+Megatools allow you to copy individual files as well as entire
+directory trees to and from the cloud. You can also perform streaming
+downloads for example to preview videos and audio files, without
+needing to download the entire file.
-Megatools are robust and optimized for fast operation - as fast as Mega servers
-allow. Memory requirements and CPU utilization are kept at minimum.
+Megatools are robust and optimized for fast operation - as fast as
+Mega servers allow. Memory requirements and CPU utilization are kept
+at minimum.
diff --git a/network/megatools/megatools.SlackBuild b/network/megatools/megatools.SlackBuild
index 5145d414d3..445f614e84 100644
--- a/network/megatools/megatools.SlackBuild
+++ b/network/megatools/megatools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for megatools
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=megatools
VERSION=${VERSION:-1.10.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/memcached-init/memcached-init.SlackBuild b/network/memcached-init/memcached-init.SlackBuild
index 5309bce0db..36002149fc 100644
--- a/network/memcached-init/memcached-init.SlackBuild
+++ b/network/memcached-init/memcached-init.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "memcached-init".
@@ -22,14 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=memcached-init
DESTNAM=memcached
VERSION=${VERSION:-1.0.1}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,4 +72,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/memcached/README b/network/memcached/README
index c2470754ec..45f7bbaae5 100644
--- a/network/memcached/README
+++ b/network/memcached/README
@@ -1,3 +1,3 @@
-memcached is a high-performance, distributed memory object caching system,
-generic in nature, but intended for use in speeding up dynamic web
-applications by alleviating database load.
+memcached is a high-performance, distributed memory object caching
+system, generic in nature, but intended for use in speeding up dynamic
+web applications by alleviating database load.
diff --git a/network/memcached/memcached.SlackBuild b/network/memcached/memcached.SlackBuild
index 404909ad39..95bdb8ed75 100644
--- a/network/memcached/memcached.SlackBuild
+++ b/network/memcached/memcached.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for memcached
# Home Page: http://memcached.org/
@@ -28,10 +28,13 @@
# Originally written by Conrado Ruch Jr conradojr@gmail.com
# Added rc startup script contributed by Miguel De Anda
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="memcached"
-VERSION=${VERSION:-1.4.37}
+VERSION=${VERSION:-1.6.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -109,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/memcached/memcached.info b/network/memcached/memcached.info
index 3be16c1c65..77c3498598 100644
--- a/network/memcached/memcached.info
+++ b/network/memcached/memcached.info
@@ -1,8 +1,8 @@
PRGNAM="memcached"
-VERSION="1.4.37"
+VERSION="1.6.26"
HOMEPAGE="http://memcached.org/"
-DOWNLOAD="http://www.memcached.org/files/memcached-1.4.37.tar.gz"
-MD5SUM="5080f9e984486380f628a743dcadf1dc"
+DOWNLOAD="http://www.memcached.org/files/memcached-1.6.26.tar.gz"
+MD5SUM="68ad6ce4dbf7d9adb8a716e1ad3d798d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/metasploit/metasploit.SlackBuild b/network/metasploit/metasploit.SlackBuild
index 5146da7cd9..54eea6ee79 100644
--- a/network/metasploit/metasploit.SlackBuild
+++ b/network/metasploit/metasploit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Metasploit Framework
@@ -26,20 +26,30 @@
# If you want to build a different version from the one defined in the VERSION
# variable just try to launch the script redefining this.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=metasploit
VERSION=${VERSION:-4.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ elif ! grep ^postgres: /etc/passwd 2>&1 > /dev/null; then
exit 1
fi
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
INSTALLERARCH=""
elif [ "$ARCH" = "i686" ]; then
INSTALLERARCH=""
@@ -152,4 +162,4 @@ ln -s apps/pro/msf3 $PKG/$INSTDIR/msf3
# Do NOT chown -R root:root or it will bork the shipped PostgreSQL
# installation: the bitrock installer should have taken care of permissions
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mew/mew.SlackBuild b/network/mew/mew.SlackBuild
index 685d260734..98d6ad4a3f 100644
--- a/network/mew/mew.SlackBuild
+++ b/network/mew/mew.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Mew
# Maintained by vvoody <vvoodywang@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mew
VERSION=${VERSION:-6.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,4 +104,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/microsoft-edge/README b/network/microsoft-edge/README
new file mode 100644
index 0000000000..4643e8a054
--- /dev/null
+++ b/network/microsoft-edge/README
@@ -0,0 +1,7 @@
+Microsoft Edge is a proprietary, cross-platform web browser
+created by Microsoft. It was first released in 2015 as part
+of Windows 10 and Xbox One and later ported to other
+platforms as a fork of Google's Chromium open-source
+project: Android and iOS, macOS, older Windows versions
+(Windows 7, Windows Server 2008 R2 and later), and most
+recently Linux.
diff --git a/network/Icecat/doinst.sh b/network/microsoft-edge/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/network/Icecat/doinst.sh
+++ b/network/microsoft-edge/doinst.sh
diff --git a/network/microsoft-edge/microsoft-edge.SlackBuild b/network/microsoft-edge/microsoft-edge.SlackBuild
new file mode 100644
index 0000000000..74965061bd
--- /dev/null
+++ b/network/microsoft-edge/microsoft-edge.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+#
+# Slackware build script for microsoft-edge.
+#
+# Copyright 2023 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2021 Reza Talebi, Shahin Shahr, Iran.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=microsoft-edge
+BRANCH=stable
+VERSION=${VERSION:-117.0.2045.55}
+BUILD=${BUILD:-1}
+DEBBUILD=${DEBBUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$BRANCH_$VERSION_$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ BIT="amd64"
+else
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-${VERSION}
+mkdir -p $PRGNAM-${VERSION}
+ar x $CWD/$PRGNAM-$BRANCH"_"${VERSION}-${DEBBUILD}_${BIT}.deb --output $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+
+rm {control.tar.xz,debian-binary,_gpgorigin}
+
+xz -d data.tar.xz
+tar --extract -f data.tar
+
+# remove what won't work
+rm -rf etc
+rm -rf usr/share/gnome-control-center
+rm -rf usr/share/menu
+rm -rf usr/bin
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/{usr/bin,usr/share,opt}
+ cp -a opt/ $PKG/
+ ln -s /opt/microsoft/msedge/$PRGNAM $PKG/usr/bin/$PRGNAM-$BRANCH
+ cp -a usr/share/man $PKG/usr/
+ cp -a usr/share/{appdata,applications} $PKG/usr/share/
+
+# move icon into place
+mkdir -p $PKG/usr/share/pixmaps
+cp -a opt/microsoft/msedge/product_logo_32.xpm \
+ $PKG/usr/share/pixmaps/microsoft-edge.xpm
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a usr/share/doc/microsoft-edge-stable/* $PKG/usr/doc/$PRGNAM-$VERSION/
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/microsoft-edge/microsoft-edge.info b/network/microsoft-edge/microsoft-edge.info
new file mode 100644
index 0000000000..d62cdcdd45
--- /dev/null
+++ b/network/microsoft-edge/microsoft-edge.info
@@ -0,0 +1,10 @@
+PRGNAM="microsoft-edge"
+VERSION="117.0.2045.55"
+HOMEPAGE="https://www.microsoft.com/edge"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_117.0.2045.55-1_amd64.deb"
+MD5SUM_x86_64="79326169c59d70280515bc8fd8448fa9"
+REQUIRES=""
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/network/microsoft-edge/slack-desc b/network/microsoft-edge/slack-desc
new file mode 100644
index 0000000000..0413d92cad
--- /dev/null
+++ b/network/microsoft-edge/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+microsoft-edge: microsoft-edge (web browser)
+microsoft-edge:
+microsoft-edge: Microsoft Edge is a proprietary, cross-platform web browser created
+microsoft-edge: by Microsoft.
+microsoft-edge:
+microsoft-edge: Home page: https://www.microsoft.com/en-us/edge
+microsoft-edge:
+microsoft-edge:
+microsoft-edge:
+microsoft-edge:
+microsoft-edge:
diff --git a/network/midori/README b/network/midori/README
deleted file mode 100644
index 16ec7ed18a..0000000000
--- a/network/midori/README
+++ /dev/null
@@ -1,20 +0,0 @@
-Midori is a lightweight, webkit-based web browser.
-
-Features:
- * Full integration with GTK+2
- * Fast rendering with WebKit
- * Tabs, windows and session management
- * Flexibly configurable Web Search.
- * User scripts and user styles support.
- * Straightforward bookmark management.
- * Customizable and extensible interface.
- * Extensions such as Adblock, form history, mouse gestures
- or cookie management.
-
-GTK3 support is disabled by default but can be enabled
-by passing GTK3=yes to the script, e.g.
-
- GTK3=yes ./midori.SlackBuild
-
-If enabled then webkitgtk3 and libunique3 (instead of webkitgtk
-and libunique) are required.
diff --git a/network/midori/doinst.sh b/network/midori/doinst.sh
deleted file mode 100644
index 8505e6eaff..0000000000
--- a/network/midori/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/xdg/midori/search.new
-config etc/xdg/midori/extensions/adblock/config.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/midori/midori.SlackBuild b/network/midori/midori.SlackBuild
deleted file mode 100644
index 99efa991c7..0000000000
--- a/network/midori/midori.SlackBuild
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for midori.
-
-# Copyright 2008 Andrew Brouwers <abrouwers@gmail.com>
-# Copyright 2009-2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
-# Copyright 2012-2013 Roberto Neri, Palermo, Italy
-# Copyright 2013-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-#
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=midori
-VERSION=${VERSION:-0.5.11}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# GTK3 support is disabled by default but can be enabled
-# by passing GTK3=yes to the script
-if [ "${GTK3:-no}" = "yes" ]; then
- ENABLE_GTK3="ON"
-else
- ENABLE_GTK3="OFF"
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}_all_.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_FULL_SYSCONFDIR=/etc \
- -DCMAKE_INSTALL_FULL_LIBDIR=/usr/lib$LIBDIRSUFFIX \
- -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DDATADIR=/usr/share/$PRGNAM \
- -DUSE_ZEITGEIST=OFF \
- -DUSE_GTK3="$ENABLE_GTK3" \
- -DHALF_BRO_INCOM_WEBKIT2=ON \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-# Don't clobber existing configs
-mv $PKG/etc/xdg/midori/search $PKG/etc/xdg/midori/search.new
-mv $PKG/etc/xdg/midori/extensions/adblock/config $PKG/etc/xdg/midori/extensions/adblock/config.new
-
-# The other docs have been taken care by make install
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a HACKING TODO TRANSLATE \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-ln -s $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/midori/midori.info b/network/midori/midori.info
deleted file mode 100644
index a2abab3152..0000000000
--- a/network/midori/midori.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="midori"
-VERSION="0.5.11"
-HOMEPAGE="http://midori-browser.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/midori_0.5.11_all_.tar.bz2"
-MD5SUM="fcc03ef759fce4fe9f2446d9da4a065e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vala webkit2gtk"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/network/midori/slack-desc b/network/midori/slack-desc
deleted file mode 100644
index bddbb483ce..0000000000
--- a/network/midori/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-midori: midori (simple web-browser)
-midori:
-midori: midori is a simple web-browser, based on the webkit framework.
-midori:
-midori:
-midori:
-midori: Homepage: http://midori-browser.org/
-midori:
-midori:
-midori:
-midori:
diff --git a/network/milter-greylist/milter-greylist.SlackBuild b/network/milter-greylist/milter-greylist.SlackBuild
index cbf2e45175..d490a5956b 100644
--- a/network/milter-greylist/milter-greylist.SlackBuild
+++ b/network/milter-greylist/milter-greylist.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for milter-greylist
# Copyright 2014 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=milter-greylist
VERSION=${VERSION:-4.6.2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -102,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/milter-greylist/milter-greylist.info b/network/milter-greylist/milter-greylist.info
index 60f5f88d50..c28533bf1d 100644
--- a/network/milter-greylist/milter-greylist.info
+++ b/network/milter-greylist/milter-greylist.info
@@ -6,5 +6,5 @@ MD5SUM="8872008db2fc6b93dd9ab8576383fec2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/miniupnpd/miniupnpd.SlackBuild b/network/miniupnpd/miniupnpd.SlackBuild
index 648a3fc3aa..611f5696cd 100644
--- a/network/miniupnpd/miniupnpd.SlackBuild
+++ b/network/miniupnpd/miniupnpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for miniupnpd
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=miniupnpd
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,14 +81,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < "$CWD/slackware-version.patch"
-
-make -f Makefile.linux config.h
+CFLAGS="$SLKCFLAGS" \
+PREFIX=/usr \
+./configure \
+ --ipv6
-make -f Makefile.linux \
- CFLAGS="$SLKCFLAGS"
+CFLAGS="$SLKCFLAGS" \
+make
+PREFIX=/usr \
-make -f Makefile.linux install \
+make install \
MANINSTALLDIR=/usr/man/man8 \
DESTDIR=$PKG
@@ -119,4 +131,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/miniupnpd/miniupnpd.info b/network/miniupnpd/miniupnpd.info
index 0a0edb38fa..c36c956244 100644
--- a/network/miniupnpd/miniupnpd.info
+++ b/network/miniupnpd/miniupnpd.info
@@ -1,8 +1,8 @@
PRGNAM="miniupnpd"
-VERSION="2.1"
+VERSION="2.3.0"
HOMEPAGE="http://miniupnp.free.fr/"
-DOWNLOAD="http://miniupnp.free.fr/files/miniupnpd-2.1.tar.gz"
-MD5SUM="91d0524bba6a839c05c22c9484ed9d0f"
+DOWNLOAD="http://miniupnp.free.fr/files/miniupnpd-2.3.0.tar.gz"
+MD5SUM="053a196ac7ba59e275e249d4173d6890"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/miniupnpd/slackware-version.patch b/network/miniupnpd/slackware-version.patch
deleted file mode 100644
index 79bd2bdec6..0000000000
--- a/network/miniupnpd/slackware-version.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- a/genconfig.sh 2018-05-05 10:09:05.942853150 +0200
-+++ b/genconfig.sh 2018-05-05 10:26:38.668441749 +0200
-@@ -274,28 +274,35 @@
- OS_VERSION=`grep ^base_version /etc/product | awk '{ print $3 }'`
- OS_URL=https://www.clearos.com/
- fi
-- # use lsb_release (Linux Standard Base) when available
-- LSB_RELEASE=`which lsb_release`
-- if [ 0 -eq $? ]; then
-- OS_NAME=`${LSB_RELEASE} -i -s`
-- OS_VERSION=`${LSB_RELEASE} -r -s`
-- case $OS_NAME in
-- Debian)
-- OS_URL=http://www.debian.org/
-- OS_VERSION=`${LSB_RELEASE} -c -s`
-- ;;
-- Ubuntu)
-- OS_URL=http://www.ubuntu.com/
-- OS_VERSION=`${LSB_RELEASE} -c -s`
-- ;;
-- Gentoo)
-- OS_URL=http://www.gentoo.org/
-- ;;
-- arch)
-- OS_URL=http://www.archlinux.org/
-- OS_VERSION=`uname -r`
-- ;;
-- esac
-+ # Slackware specific
-+ if [ -f /etc/os-release ]; then
-+ OS_NAME=$(cat /etc/os-release | grep ^NAME= | cut -d= -f 2 | sed -e 's/^"//' -e 's/"$//')
-+ OS_VERSION=$(cat /etc/os-release | grep ^VERSION= | cut -d= -f 2 | sed -e 's/^"//' -e 's/"$//')
-+ OS_URL=$(cat /etc/os-release | grep ^HOME_URL= | cut -d= -f 2 | sed -e 's/^"//' -e 's/"$//')
-+ else
-+ # otherwise use lsb_release (Linux Standard Base) when available
-+ LSB_RELEASE=`which lsb_release`
-+ if [ 0 -eq $? ]; then
-+ OS_NAME=`${LSB_RELEASE} -i -s`
-+ OS_VERSION=`${LSB_RELEASE} -r -s`
-+ case $OS_NAME in
-+ Debian)
-+ OS_URL=http://www.debian.org/
-+ OS_VERSION=`${LSB_RELEASE} -c -s`
-+ ;;
-+ Ubuntu)
-+ OS_URL=http://www.ubuntu.com/
-+ OS_VERSION=`${LSB_RELEASE} -c -s`
-+ ;;
-+ Gentoo)
-+ OS_URL=http://www.gentoo.org/
-+ ;;
-+ arch)
-+ OS_URL=http://www.archlinux.org/
-+ OS_VERSION=`uname -r`
-+ ;;
-+ esac
-+ fi
- fi
- echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE}
- FW=netfilter
diff --git a/network/miredo/README b/network/miredo/README
deleted file mode 100644
index 8839ea4e8e..0000000000
--- a/network/miredo/README
+++ /dev/null
@@ -1,27 +0,0 @@
-miredo (teredo IPv6 tunneling)
-
-Miredo is an opensource Teredo IPv6 tunneling software for Linux
-and BSD operating systems. It includes functional implementations
-of all components of the Teredo specification (client, relay and
-server). It is meant to provide IPv6 connectivity even from
-behind NAT devices.
-
-This script requires a 'miredo' user/group to exist before running.
-The recommended UID/GID is 255. You can create these like so:
-
- groupadd -g 255 miredo
- useradd -u 255 -g 255 -c "Teredo IPv6 Tunneling" -d /dev/null -s /bin/false miredo
-
-Alternatively, you can fall back to default 'nobody' user by passing
-NOBODY=yes to the script. However, this is less safe.
-
-The following can be used to start/stop miredo automatically:
-/etc/rc.d/rc.local
- if [ -x /etc/rc.d/rc.miredo ]; then
- /etc/rc.d/rc.miredo start
- fi
-
-/etc/rc.d/rc.local_shutdown
- if [ -x /etc/rc.d/rc.miredo ]; then
- /etc/rc.d/rc.miredo stop
- fi
diff --git a/network/miredo/doinst.sh b/network/miredo/doinst.sh
deleted file mode 100644
index e8b05b9a7a..0000000000
--- a/network/miredo/doinst.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
- fi
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.miredo.new
-config etc/miredo/miredo.conf.new
-
diff --git a/network/miredo/miredo.SlackBuild b/network/miredo/miredo.SlackBuild
deleted file mode 100644
index 1681952e13..0000000000
--- a/network/miredo/miredo.SlackBuild
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Miredo
-
-# Copyright 2011-2013 Fridrich von Stauffenberg <cancellor2@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=miredo
-VERSION=${VERSION:-1.2.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-if [ "${NOBODY:-no}" = "no" ]; then
- if ! grep -q "^$PRGNAM:" /etc/passwd || ! grep -q "^$PRGNAM:" /etc/group; then
- cat << EOF
-You must have a $PRGNAM user and $PRGNAM group to run this script.
-Something like this should suffice for most systems:
- # groupadd -g 255 miredo
- # useradd -u 255 -g 255 -c "Teredo IPv6 Tunneling" -d /dev/null -s /bin/false miredo
-EOF
- exit 1
- fi
- enable_user="--enable-$PRGNAM-user"
-else
- enable_user=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux \
- $enable_user
-
-make V=1
-make install-strip DESTDIR=$PKG
-
-install -D -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-( cd $PKG/etc/$PRGNAM ; mv $PRGNAM.conf{,.new} )
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/miredo/miredo.info b/network/miredo/miredo.info
deleted file mode 100644
index 4eae27a363..0000000000
--- a/network/miredo/miredo.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="miredo"
-VERSION="1.2.6"
-HOMEPAGE="http://www.remlab.net/miredo"
-DOWNLOAD="http://www.remlab.net/files/miredo/miredo-1.2.6.tar.xz"
-MD5SUM="5bcdbaced54f40b6cb1e9c9a8dbac411"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
diff --git a/network/miredo/rc.miredo b/network/miredo/rc.miredo
deleted file mode 100644
index 0ba5d706ef..0000000000
--- a/network/miredo/rc.miredo
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-#
-# Miredo - Teredo IPv6 tunnelling
-#
-# Init script for miredo client.
-#
-# Written by Fridrich von Stauffenberg <cancellor2@gmail.com>
-# Based on tor's init script by Marco Bonetti <sid77@slackware.it>
-
-PIDFILE=/var/run/miredo.pid
-DAEMON=/usr/sbin/miredo
-
-miredo_start() {
- echo "Starting Miredo: $DAEMON"
- $DAEMON
-}
-
-miredo_stop() {
- echo -n "Stopping Miredo... "
- PID=$(cat $PIDFILE 2>/dev/null)
- if [ -z "$PID" ]; then
- echo "not running."
- exit 0
- fi
- if kill -15 $PID; then
- echo "stopped."
- else
- sleep 1
- if kill -9 $PID; then
- echo "killed."
- else
- echo "error!"
- exit 1
- fi
- fi
-}
-
-miredo_reload() {
- echo -n "Reloading Miredo... "
- PID=$(cat $PIDFILE 2>/dev/null)
- if [ -z "$PID" ]; then
- echo "not running."
- exit 0
- fi
- if kill -1 $PID; then
- echo "reloaded."
- else
- echo "error!"
- exit 1
- fi
-}
-
-miredo_status() {
- PID=$(cat $PIDFILE 2>/dev/null)
- if [ -z "$PID" ]; then
- echo "Not running."
- exit 1
- elif kill -0 $PID; then
- echo "Running with PID $PID."
- exit 0
- else
- echo "PID file $PIDFILE present, but PID $PID is not running."
- exit 1
- fi
-}
-
-case "$1" in
- start)
- miredo_start
- ;;
- stop)
- miredo_stop
- ;;
- restart)
- miredo_stop
- sleep 1
- miredo_start
- ;;
- reload)
- miredo_reload
- ;;
- status)
- miredo_status
- ;;
- *)
- echo "Usage: $0 (start|stop|restart|reload|status)"
- ;;
-esac
diff --git a/network/miredo/slack-desc b/network/miredo/slack-desc
deleted file mode 100644
index 18c378ee2d..0000000000
--- a/network/miredo/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-miredo: miredo (teredo IPv6 tunneling)
-miredo:
-miredo: Miredo is an opensource Teredo IPv6 tunneling software for Linux
-miredo: and BSD operating systems. It includes functional implementations
-miredo: of all components of the Teredo specification (client, relay and
-miredo: server). It is meant to provide IPv6 connectivity even from
-miredo: behind NAT devices.
-miredo:
-miredo: Homepage: http://www.remlab.net/miredo
-miredo:
-miredo:
diff --git a/network/mitmproxy-bin/README b/network/mitmproxy-bin/README
new file mode 100644
index 0000000000..8c9d21a1b9
--- /dev/null
+++ b/network/mitmproxy-bin/README
@@ -0,0 +1,15 @@
+mitmproxy-bin (free and open source interactive HTTPS proxy)
+
+mitmproxy-bin is your swiss-army knife for debugging, testing, privacy
+measurements, and penetration testing. It can be used to intercept,
+inspect, modify and replay web traffic such as HTTP/1, HTTP/2,
+WebSockets, or any other SSL/TLS-protected protocols. You can prettify
+and decode a variety of message types ranging from HTML to Protobuf,
+intercept specific messages on-the-fly, modify them before they reach
+their destination, and replay them to a client or server later on.
+
+This is just a repack of the prebuilt binaries from the mitmproxy
+site, with some documentation added. Since upstream only releases
+x86_64 binaries, this will *not* work on 32-bit x86 (or ARM, etc)
+Slackware... although you can build an x86_64 package on a 32-bit host
+and install it on a 64-bit one, if you like.
diff --git a/network/mitmproxy-bin/mitmproxy-bin.SlackBuild b/network/mitmproxy-bin/mitmproxy-bin.SlackBuild
new file mode 100644
index 0000000000..d34ff53ce2
--- /dev/null
+++ b/network/mitmproxy-bin/mitmproxy-bin.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for mitmproxy-bin
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# I was gonna package this up from source, but it just has too many
+# dependencies, many of which aren't on SBo already. I'd have to add
+# at least 15 or 20 python modules, and I just won't. The official
+# binary release is "frozen" executables with no external Python
+# dependencies (just shared libs that are part of Slackware already).
+
+# This is mostly just a binary repack of the official build. Which
+# is only for x86_64 Linux (sorry, 32-bit users).
+
+# I named this with the -bin suffix so that someday someone (other
+# than me!) can do a proper build-from-source mitmproxy SlackBuild,
+# with tons of dependencies in REQUIRES...
+
+# There's *nothing* in the Linux tarball besides the executables, so
+# I've also included some docs from the source tarball, but not the
+# complete API docs (again, to avoid a long dependency chain of the
+# stuff needed to build them). Use https://docs.mitmproxy.org/stable/
+# for that.
+
+# 20230103 bkw: update for v9.0.1, fix PKGTYPE, update man page.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mitmproxy-bin
+SRCNAM=mitmproxy
+VERSION=${VERSION:-9.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# Binary repack, only supports:
+ARCH=x86_64
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# If the user's trying to build this on a non-x86_64 box, it's
+# almost certainly a mistake on the user's part... but maybe not,
+# for smart users. So warn and pause, but allow it to happen.
+M="$(uname -m)"
+if [ "$M" != "x86_64" ]; then
+ W="* WARNING: cross-building x86_64 package on $M host. *"
+ H="$( echo "$W" | sed 's,.,*,g' )"
+ echo -e "$H\\n$W\\n$H\\n"
+ cat <<EOF
+You're about to build a 64-bit (x86_64) package, which will work fine
+if you install it on an x86_64 Slackware64 system... but not on *this*
+system, because it's $M, not x86_64.
+
+Press Enter or wait 5 seconds to continue. Or, press ^C to abort.
+EOF
+ read -p "> " -t 5
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+mkdir -p $SRCNAM-$VERSION
+cd $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION-linux.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Already stripped.
+mkdir -p $PKG/usr/bin
+install -m0755 $SRCNAM mitmdump mitmweb $PKG/usr/bin
+
+# Stub man page. Just stuff copied from the README and a pointer to the
+# actual docs on the web.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$SRCNAM.1 > $PKG/usr/man/man1/$SRCNAM.1.gz
+ln -s $SRCNAM.1.gz $PKG/usr/man/man1/mitmdump.1.gz
+ln -s $SRCNAM.1.gz $PKG/usr/man/man1/mitmweb.1.gz
+
+# Include README, etc from source tarball.
+cd $SRCNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mitmproxy-bin/mitmproxy-bin.info b/network/mitmproxy-bin/mitmproxy-bin.info
new file mode 100644
index 0000000000..dfbc38e4e8
--- /dev/null
+++ b/network/mitmproxy-bin/mitmproxy-bin.info
@@ -0,0 +1,12 @@
+PRGNAM="mitmproxy-bin"
+VERSION="9.0.1"
+HOMEPAGE="https://mitmproxy.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://snapshots.mitmproxy.org/9.0.1/mitmproxy-9.0.1-linux.tar.gz \
+ https://github.com/mitmproxy/mitmproxy/archive/9.0.1/mitmproxy-9.0.1.tar.gz"
+MD5SUM_x86_64="30da921ebfb0b4a5020e4eee82e4b0d6 \
+ 7cd164f90c348ca05f23606971f88e2b"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/mitmproxy-bin/mitmproxy.1 b/network/mitmproxy-bin/mitmproxy.1
new file mode 100644
index 0000000000..1d13eaa47a
--- /dev/null
+++ b/network/mitmproxy-bin/mitmproxy.1
@@ -0,0 +1,70 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "MITMPROXY" 1 "2023-01-03" "9.0.1" "SlackBuilds.org"
+.SH NAME
+mitmproxy \- man-in-the-middle SSL/TLS intercepting proxy
+.\" RST source for mitmproxy(1) man page. Convert with:
+.
+.\" rst2man.py mitmproxy.rst > mitmproxy.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH DESCRIPTION
+.sp
+This man page just provides links to the actual documentation.
+.sp
+\fBmitmproxy\fP is an interactive, SSL/TLS\-capable intercepting proxy with a console
+(curses\-style) interface for HTTP/1, HTTP/2, and WebSockets.
+.sp
+\fBmitmdump\fP is the command\-line version of \fBmitmproxy\fP\&. Think \fBtcpdump\fP for HTTP(S).
+.sp
+\fBmitmweb\fP is a web\-based interface for \fBmitmproxy\fP\&.
+.sp
+These commands have lots of options; each one can be run with
+\fB\-\-help\fP for a full list.
+.sp
+Full documentation is available at: \fI\%https://docs.mitmproxy.org/stable/\fP
+.sp
+Quite a few example scripts for \fBmitmproxy\fP are installed in
+/usr/doc/mitmproxy\-9.0.1/examples/
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/mitmproxy\-9.0.1/LICENSE for license information.
+.SH AUTHORS
+.sp
+\fBmitmproxy\fP was written by Aldo Cortesi.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The mitmproxy homepage: \fI\%http://www.mitmproxy.org/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/mitmproxy-bin/mitmproxy.rst b/network/mitmproxy-bin/mitmproxy.rst
new file mode 100644
index 0000000000..caa6760876
--- /dev/null
+++ b/network/mitmproxy-bin/mitmproxy.rst
@@ -0,0 +1,57 @@
+.. RST source for mitmproxy(1) man page. Convert with:
+.. rst2man.py mitmproxy.rst > mitmproxy.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 9.0.1
+.. |date| date::
+
+=========
+mitmproxy
+=========
+
+--------------------------------------------
+man-in-the-middle SSL/TLS intercepting proxy
+--------------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+DESCRIPTION
+===========
+
+This man page just provides links to the actual documentation.
+
+**mitmproxy** is an interactive, SSL/TLS-capable intercepting proxy with a console
+(curses-style) interface for HTTP/1, HTTP/2, and WebSockets.
+
+**mitmdump** is the command-line version of **mitmproxy**. Think **tcpdump** for HTTP(S).
+
+**mitmweb** is a web-based interface for **mitmproxy**.
+
+These commands have lots of options; each one can be run with
+**--help** for a full list.
+
+Full documentation is available at: https://docs.mitmproxy.org/stable/
+
+Quite a few example scripts for **mitmproxy** are installed in
+/usr/doc/mitmproxy-|version|/examples/
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/mitmproxy-|version|/LICENSE for license information.
+
+AUTHORS
+=======
+
+**mitmproxy** was written by Aldo Cortesi.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The mitmproxy homepage: http://www.mitmproxy.org/
diff --git a/network/mitmproxy-bin/slack-desc b/network/mitmproxy-bin/slack-desc
new file mode 100644
index 0000000000..c6bc48fc15
--- /dev/null
+++ b/network/mitmproxy-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mitmproxy-bin: mitmproxy-bin (free and open source interactive HTTPS proxy)
+mitmproxy-bin:
+mitmproxy-bin: mitmproxy is your swiss-army knife for debugging, testing, privacy
+mitmproxy-bin: measurements, and penetration testing. It can be used to intercept,
+mitmproxy-bin: inspect, modify and replay web traffic such as HTTP/1, HTTP/2,
+mitmproxy-bin: WebSockets, or any other SSL/TLS-protected protocols. You can prettify
+mitmproxy-bin: and decode a variety of message types ranging from HTML to Protobuf,
+mitmproxy-bin: intercept specific messages on-the-fly, modify them before they reach
+mitmproxy-bin: their destination, and replay them to a client or server later on.
+mitmproxy-bin:
+mitmproxy-bin:
diff --git a/network/mk-livestatus/mk-livestatus.SlackBuild b/network/mk-livestatus/mk-livestatus.SlackBuild
index a3bec6780d..cb2f0a6d10 100644
--- a/network/mk-livestatus/mk-livestatus.SlackBuild
+++ b/network/mk-livestatus/mk-livestatus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mk-livestatus
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mk-livestatus
VERSION=${VERSION:-1.2.4p5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mk-livestatus/mk-livestatus.info b/network/mk-livestatus/mk-livestatus.info
index 2c6ca23203..81428d6266 100644
--- a/network/mk-livestatus/mk-livestatus.info
+++ b/network/mk-livestatus/mk-livestatus.info
@@ -1,7 +1,7 @@
PRGNAM="mk-livestatus"
VERSION="1.2.4p5"
HOMEPAGE="https://mathias-kettner.de/checkmk_livestatus.html"
-DOWNLOAD="https://mathias-kettner.de/download/mk-livestatus-1.2.4p5.tar.gz"
+DOWNLOAD="https://slackware.uk/sbosrcarch/by-name/network/mk-livestatus/mk-livestatus-1.2.4p5.tar.gz"
MD5SUM="654a56d1464bad18d2f35f3cbb792a0e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/mkvserver_mk2/mkvserver_mk2.SlackBuild b/network/mkvserver_mk2/mkvserver_mk2.SlackBuild
index 95cdb40b57..94522fd921 100644
--- a/network/mkvserver_mk2/mkvserver_mk2.SlackBuild
+++ b/network/mkvserver_mk2/mkvserver_mk2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mkvserver_mk2
@@ -24,11 +24,14 @@
# Modified by slackbuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mkvserver_mk2
VERSION=${VERSION:-20201203_c62abc3}
COMMIT=${COMMIT:-c62abc30f4cca6147ddc732570b30fcb4bee30ec}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mkvserver_mk2/mkvserver_mk2.info b/network/mkvserver_mk2/mkvserver_mk2.info
index 17d266d7d0..ddd001c6b2 100644
--- a/network/mkvserver_mk2/mkvserver_mk2.info
+++ b/network/mkvserver_mk2/mkvserver_mk2.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/klaxa/mkvserver_mk2/archive/c62abc30f4cca6147ddc732
MD5SUM="f49feb40138a9c47bb4ccea3a695499d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg4"
+REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/network/mldonkey/README b/network/mldonkey/README
deleted file mode 100644
index e780093e1e..0000000000
--- a/network/mldonkey/README
+++ /dev/null
@@ -1,12 +0,0 @@
-MLDonkey is an open source, free software multi-network peer-to-peer app.
-
-By default, this SlackBuild will build MLdonkey without a GUI. Without a
-GUI, you can control mldonkey by connecting to localhost:4080 with your
-web browser.
-
-If you want to build MLDonkey's GUI, you'll have to enable it with the
-GUIOPT variable like this: GUIOPT=yes ./mldonkey.SlackBuild
-
-Be sure not to have ocaml and lablgtk already installed when compiling
-this as build may break (mldonkey seems to need its own versions of the
-above dependencies).
diff --git a/network/mldonkey/doinst.sh b/network/mldonkey/doinst.sh
deleted file mode 100644
index 4e8ba7071d..0000000000
--- a/network/mldonkey/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild
deleted file mode 100644
index 5845ea64a1..0000000000
--- a/network/mldonkey/mldonkey.SlackBuild
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mldonkey
-
-# This script is originally written by Antonio Hernández Blas and is
-# currently maintained by Grissiom.
-
-# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# Copyright (c) 2009, Grissiom <chaos.proton@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=mldonkey
-VERSION=${VERSION:-3.1.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-GUIOPT=${GUIOPT:-no}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# This avoids downloading tarballs when the SlackBuild is running
-mkdir -p patches
-ln -s $CWD/ocaml-3.12.0.tar.gz patches/
-ln -s $CWD/lablgtk-2.14.2.tar.gz patches/
-
-# OCaml 3.10/3.11 don't work with gtk1, so ingnore the gtk1 choses and let
-# configure to choose a proper lib.
-if [ "$GUIOPT" = 'yes' ]; then
- GUIOPT='--enable-gui=newgui2'
-else
- GUIOPT='--disable-gui'
-fi
-
-# Change the O6 to something saner
-sed -i "s/O6/O2/" config/Makefile.in
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-batch \
- --build=$ARCH-slackware-linux \
- $GUIOPT
-
-make -j1
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-if [ "$GUIOPT" = 'yes' ]; then
- mkdir -p $PKG/usr/share/{applications,pixmaps}
- cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
- cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- distrib/*.txt docs ChangeLog \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-[ "$GUIOPT" = "yes" ] && cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/mldonkey/mldonkey.desktop b/network/mldonkey/mldonkey.desktop
deleted file mode 100644
index d44d9e3495..0000000000
--- a/network/mldonkey/mldonkey.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=MLDonkey GUI
-GenericName=MLDonkey GUI
-Comment=The MLDonkey GUI
-Exec=mldonkey_gui
-Icon=mldonkey
-Terminal=false
-Type=Application
-Categories=Network;
diff --git a/network/mldonkey/mldonkey.info b/network/mldonkey/mldonkey.info
deleted file mode 100644
index f2de7a097c..0000000000
--- a/network/mldonkey/mldonkey.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="mldonkey"
-VERSION="3.1.5"
-HOMEPAGE="http://mldonkey.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mldonkey/mldonkey-3.1.5.tar.bz2 \
- http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.0.tar.gz \
- http://www.math.nagoya-u.ac.jp/~garrigue/soft/olabl/dist/lablgtk-2.14.2.tar.gz"
-MD5SUM="eca07c8ce88702dd437c72db531162d9 \
- 3ba7cc65123c3579f14e7c726d3ee782 \
- bad77680a72dab8b915cae99d1ec9b1f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Grissiom"
-EMAIL="chaos.proton@gmail.com"
diff --git a/network/mldonkey/mldonkey.png b/network/mldonkey/mldonkey.png
deleted file mode 100644
index ee67b482b8..0000000000
--- a/network/mldonkey/mldonkey.png
+++ /dev/null
Binary files differ
diff --git a/network/mldonkey/slack-desc b/network/mldonkey/slack-desc
deleted file mode 100644
index e73db43655..0000000000
--- a/network/mldonkey/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-mldonkey: mldonkey (A multi-platform multi-network peer-to-peer client)
-mldonkey:
-mldonkey: MLDonkey is an open source, free software multi-network
-mldonkey: peer-to-peer application.
-mldonkey:
-mldonkey: Homepage: http://mldonkey.sourceforge.net
-mldonkey:
-mldonkey:
-mldonkey:
-mldonkey:
-mldonkey:
diff --git a/network/mod_auth_gssapi/README b/network/mod_auth_gssapi/README
index 0753ac8a3f..c1d0f30968 100644
--- a/network/mod_auth_gssapi/README
+++ b/network/mod_auth_gssapi/README
@@ -6,3 +6,6 @@ mechanism used.
You will need to add the following line to /etc/httpd/httpd.conf:
Include /etc/httpd/extra/mod_auth_gssapi.conf
+
+gss-ntlmssp is an optional dependency (autodetected) for NTLMSSP
+support.
diff --git a/network/mod_auth_gssapi/mod_auth_gssapi.SlackBuild b/network/mod_auth_gssapi/mod_auth_gssapi.SlackBuild
index a2bc3001ea..4837600a23 100644
--- a/network/mod_auth_gssapi/mod_auth_gssapi.SlackBuild
+++ b/network/mod_auth_gssapi/mod_auth_gssapi.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_auth_gssapi
-# Copyright 2019-2020 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2019-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_auth_gssapi
-VERSION=${VERSION:-1.6.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.6.5}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -69,9 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LEXLIB="" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -87,6 +97,8 @@ mkdir -p $PKG/etc/httpd/extra
sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_auth_gssapi.conf > \
$PKG/etc/httpd/extra/mod_auth_gssapi.conf.new
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -101,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_auth_gssapi/mod_auth_gssapi.info b/network/mod_auth_gssapi/mod_auth_gssapi.info
index 95d27049f9..eda56fb4a9 100644
--- a/network/mod_auth_gssapi/mod_auth_gssapi.info
+++ b/network/mod_auth_gssapi/mod_auth_gssapi.info
@@ -1,10 +1,10 @@
PRGNAM="mod_auth_gssapi"
-VERSION="1.6.3"
-HOMEPAGE="https://github.com/modauthgssapi/mod_auth_gssapi"
-DOWNLOAD="https://github.com/modauthgssapi/mod_auth_gssapi/releases/download/v1.6.3/mod_auth_gssapi-1.6.3.tar.gz"
-MD5SUM="6656e33db1ce457515c9c6a5b819830e"
+VERSION="1.6.5"
+HOMEPAGE="https://github.com/gssapi/mod_auth_gssapi"
+DOWNLOAD="https://github.com/gssapi/mod_auth_gssapi/archive/v1.6.5/mod_auth_gssapi-1.6.5.tar.gz"
+MD5SUM="c900f0207b9b8039fef7d9a22f31b335"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="krb5"
+REQUIRES=""
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"
diff --git a/network/mod_auth_kerb/README b/network/mod_auth_kerb/README
index 9c2df762ad..4be7a5ca39 100644
--- a/network/mod_auth_kerb/README
+++ b/network/mod_auth_kerb/README
@@ -1,11 +1,12 @@
Mod_auth_kerb is an Apache module designed to provide Kerberos
authentication to the Apache web server. The module also supports
the Negotiate authentication method, which performs full Kerberos
-authentication based on ticket exchanges, and does not require
-users to insert their passwords to the browser.
+authentication based on ticket exchanges, and does not require users
+to insert their passwords to the browser.
You will need to add the following line to /etc/httpd/httpd.conf:
Include /etc/httpd/extra/mod_auth_kerb.conf
-Mod_auth_kerb can be further configured through the Apache configuration file;
-see the README in the package's documentation directory for details.
+Mod_auth_kerb can be further configured through the Apache
+configuration file; see the README in the package's documentation
+directory for details.
diff --git a/network/mod_auth_kerb/mod_auth_kerb.SlackBuild b/network/mod_auth_kerb/mod_auth_kerb.SlackBuild
index 83f98bc9b0..f038adcdd9 100644
--- a/network/mod_auth_kerb/mod_auth_kerb.SlackBuild
+++ b/network/mod_auth_kerb/mod_auth_kerb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_auth_kerb
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix download URL.
+# - i486 => i586.
+# - do not install INSTALL instructions in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_auth_kerb
VERSION=${VERSION:-5.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,9 +77,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix compilation with httpd-2.4
patch -p0 < $CWD/mod_auth_kerb.c.patch
@@ -83,17 +95,16 @@ CXXFLAGS="$SLKCFLAGS" \
make
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules
-install -m 755 src/.libs/mod_auth_kerb.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_auth_kerb.so
+install -s -m 755 \
+ src/.libs/mod_auth_kerb.so \
+ $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_auth_kerb.so
mkdir -p $PKG/etc/httpd/extra
sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_auth_kerb.conf > \
$PKG/etc/httpd/extra/mod_auth_kerb.conf.new
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -101,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_auth_kerb/mod_auth_kerb.info b/network/mod_auth_kerb/mod_auth_kerb.info
index c9ad5f8e47..8ea903a2df 100644
--- a/network/mod_auth_kerb/mod_auth_kerb.info
+++ b/network/mod_auth_kerb/mod_auth_kerb.info
@@ -1,10 +1,10 @@
PRGNAM="mod_auth_kerb"
VERSION="5.4"
HOMEPAGE="http://modauthkerb.sourceforge.net/"
-DOWNLOAD="http://fossies.org/unix/www/apache_httpd_modules/mod_auth_kerb-5.4.tar.gz"
+DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/6/4/642b81763ad3ca81dba359cb952da5e3/mod_auth_kerb-5.4.tar.gz"
MD5SUM="642b81763ad3ca81dba359cb952da5e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="krb5"
+REQUIRES=""
MAINTAINER="Thibaut Notteboom"
EMAIL="tib@tibux.org"
diff --git a/network/mod_bw/mod_bw.SlackBuild b/network/mod_bw/mod_bw.SlackBuild
index 74ec5e446f..d6a4bd0071 100644
--- a/network/mod_bw/mod_bw.SlackBuild
+++ b/network/mod_bw/mod_bw.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_bw
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_bw
VERSION=${VERSION:-0.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_chroot/README b/network/mod_chroot/README
index 80654c156d..dba3cb39f7 100644
--- a/network/mod_chroot/README
+++ b/network/mod_chroot/README
@@ -1,14 +1,16 @@
-mod_chroot allows you to run Apache in a chroot jail with no additional files.
-This makes running Apache in a chroot environment easy.
+mod_chroot allows you to run Apache in a chroot jail with no
+additional files. This makes running Apache in a chroot environment
+easy.
-The chroot() system call is performed at the end of startup procedure - when
-all libraries are loaded and log files open. No need for a special directory
-hierarchy (containing /dev, /lib, /etc...), unless an external handler, such
-as suEXEC or suPHP, is being used, or system()-like functions are in use.
+The chroot() system call is performed at the end of startup procedure
+- when all libraries are loaded and log files open. No need for
+a special directory hierarchy (containing /dev, /lib, /etc...),
+unless an external handler, such as suEXEC or suPHP, is being used,
+or system()-like functions are in use.
-This package pre-creates /var/chroot/httpd with just enough subdirs to enable
-the stock Slackware config to run. You'll need to add the following line to
-your /etc/httpd/httpd.conf file:
+This package pre-creates /var/chroot/httpd with just enough subdirs
+to enable the stock Slackware config to run. You'll need to add the
+following line to your /etc/httpd/httpd.conf file:
Include /etc/httpd/extra/mod_chroot.conf
You'll also need to add the following lines to your /etc/fstab file:
diff --git a/network/mod_chroot/mod_chroot.SlackBuild b/network/mod_chroot/mod_chroot.SlackBuild
index df095c3861..b788b7addd 100644
--- a/network/mod_chroot/mod_chroot.SlackBuild
+++ b/network/mod_chroot/mod_chroot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_chroot
# Written by Menno E. Duursma <druiloor@zonnet.nl>
@@ -7,26 +7,36 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_chroot
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_dnssd/mod_dnssd.SlackBuild b/network/mod_dnssd/mod_dnssd.SlackBuild
index 36268dc0fc..d1a878f2ae 100644
--- a/network/mod_dnssd/mod_dnssd.SlackBuild
+++ b/network/mod_dnssd/mod_dnssd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_dnssd
-# Copyright 2013 Robby Workman, Northport, Alabama, USA
+# Copyright 2013-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_dnssd
VERSION=${VERSION:-0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -92,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_evasive/README b/network/mod_evasive/README
index deac6b184a..8cf21dc138 100644
--- a/network/mod_evasive/README
+++ b/network/mod_evasive/README
@@ -1,22 +1,25 @@
-mod_evasive maneuvers module for Apache to provide evasive action in the event
-of an HTTP DoS or DDoS attack or brute force attack. It is also designed
-to be a detection and network management tool, and can be easily configured
-to talk to ipchains, firewalls, routers, and etcetera. mod_evasive presently
-reports abuses via email and syslog facilities.
+mod_evasive maneuvers module for Apache to provide evasive action in
+the event of an HTTP DoS or DDoS attack or brute force attack. It is
+also designed to be a detection and network management tool, and can
+be easily configured to talk to ipchains, firewalls, routers, and
+etcetera. mod_evasive presently reports abuses via email and syslog
+facilities.
Detection is performed by creating an internal dynamic hash table of IP
Addresses and URIs, and denying any single IP address from any of the
following:
- * Requesting the same page more than a few times per second
- * Making more than 50 concurrent requests on the same child per second
- * Making any requests while temporarily blacklisted (on a blocking list)
+ * Requesting the same page more than a few times per second
+ * Making more than 50 concurrent requests on the same child per second
+ * Making any requests while temporarily blacklisted (on a block list)
-You'll need to add the following line to your /etc/httpd/httpd.conf file:
+Add the following line to your /etc/httpd/httpd.conf file:
Include /etc/httpd/extra/mod_evasive.conf
To test enter the following command:
perl /usr/doc/mod_evasive-$VERSION/test.pl | more
-which should output some HTTP/1.1 200 OK lines; then HTTP/1.1 403 Forbidden
-mod_evasive is fully tweakable through the Apache configuration file, see
-the README file in the package's documentation directory.
+which should output some "HTTP/1.1 200 OK" lines; then "HTTP/1.1 403
+Forbidden".
+
+mod_evasive is fully tweakable through the Apache configuration file,
+see the README file in the package's documentation directory.
diff --git a/network/mod_evasive/mod_evasive.SlackBuild b/network/mod_evasive/mod_evasive.SlackBuild
index f04ad2afc3..d0352adef7 100644
--- a/network/mod_evasive/mod_evasive.SlackBuild
+++ b/network/mod_evasive/mod_evasive.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_evasive (an Apache DoS protection module)
@@ -8,10 +8,13 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_evasive
VERSION=${VERSION:-1.10.1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +24,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_evasive/mod_evasive.info b/network/mod_evasive/mod_evasive.info
index 86e2dc9ea1..48e2246a15 100644
--- a/network/mod_evasive/mod_evasive.info
+++ b/network/mod_evasive/mod_evasive.info
@@ -1,7 +1,7 @@
PRGNAM="mod_evasive"
VERSION="1.10.1"
HOMEPAGE="https://github.com/shivaas/mod_evasive"
-DOWNLOAD="http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz"
+DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/mod_evasive/mod_evasive_1.10.1.tar.gz/784fca4a124f25ccff5b48c7a69a65e5/mod_evasive_1.10.1.tar.gz"
MD5SUM="784fca4a124f25ccff5b48c7a69a65e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/mod_fcgid/mod_fcgid.SlackBuild b/network/mod_fcgid/mod_fcgid.SlackBuild
index 260b02ac0c..366bac4909 100644
--- a/network/mod_fcgid/mod_fcgid.SlackBuild
+++ b/network/mod_fcgid/mod_fcgid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "mod_fcgid".
@@ -24,26 +24,36 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_fcgid
VERSION=${VERSION:-2.3.9}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_geoip2/README b/network/mod_geoip2/README
index 9ed2462b05..0acbe63ead 100644
--- a/network/mod_geoip2/README
+++ b/network/mod_geoip2/README
@@ -1,10 +1,11 @@
mod_geoip2 is an Apache 2.x module for finding the country and city
-that a web request originated from. It uses the GeoIP library and
-database to perform the lookup. It is free software, licensed under
+that a web request originated from. It uses the GeoIP library and
+database to perform the lookup. It is free software, licensed under
the Apache license.
You will need to add the following line to /etc/httpd/httpd.conf:
Include /etc/httpd/extra/mod_geoip.conf
-mod_geoip2 can be further configured through the Apache configuration file;
-see the README in the package's documentation directory for details.
+mod_geoip2 can be further configured through the Apache configuration
+file; see the README in the package's documentation directory for
+details.
diff --git a/network/mod_geoip2/mod_geoip2.SlackBuild b/network/mod_geoip2/mod_geoip2.SlackBuild
index cee70f262f..63bf3c237c 100644
--- a/network/mod_geoip2/mod_geoip2.SlackBuild
+++ b/network/mod_geoip2/mod_geoip2.SlackBuild
@@ -1,29 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_geoip2 (an Apache2 module for GeoIP)
# Written by Zordrak (slackbuilds@tpa.me.uk)
# Template written by Menno E. Duursma
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - i486 => i586.
+# - fix download URL.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_geoip2
VERSION=${VERSION:-1.2.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -36,7 +48,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -47,9 +59,9 @@ cd ${PRGNAM}_${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# http://pkgs.fedoraproject.org/cgit/mod_geoip.git/tree/mod_geoip-httpd24.patch
patch -p0 < $CWD/mod_geoip-httpd24.patch
@@ -71,7 +83,7 @@ find $PKG -type f | xargs file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Changes INSTALL README README.php $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes README README.php $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
@@ -80,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_geoip2/mod_geoip2.info b/network/mod_geoip2/mod_geoip2.info
index c12db5a5ba..9dbd9e10da 100644
--- a/network/mod_geoip2/mod_geoip2.info
+++ b/network/mod_geoip2/mod_geoip2.info
@@ -1,7 +1,7 @@
PRGNAM="mod_geoip2"
VERSION="1.2.7"
HOMEPAGE="http://www.maxmind.com/app/mod_geoip"
-DOWNLOAD="http://geolite.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_1.2.7.tar.gz"
+DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/7/6/76514ad0e8adb8cd8231c5e3646d03fd/mod_geoip2_1.2.7.tar.gz"
MD5SUM="76514ad0e8adb8cd8231c5e3646d03fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/mod_ruid2/README b/network/mod_ruid2/README
index ba1533a35e..58213efbc7 100644
--- a/network/mod_ruid2/README
+++ b/network/mod_ruid2/README
@@ -1,9 +1,10 @@
-mod_ruid2 is a suexec module for apache which takes advantage of POSIX.1e
-capabilities to increase performance.
+mod_ruid2 is a suexec module for apache which takes advantage of
+POSIX.1e capabilities to increase performance.
-You'll need to add the following line to your /etc/httpd/httpd.conf file:
+You'll need to add the following line to your /etc/httpd/httpd.conf
+file:
Include /etc/httpd/extra/mod_ruid2.conf
-Also, make sure you edit and understand mod_ruid2 configuration completly
-before using it.
+Also, make sure you edit and understand mod_ruid2 configuration
+completly before using it.
diff --git a/network/mod_ruid2/mod_ruid2.SlackBuild b/network/mod_ruid2/mod_ruid2.SlackBuild
index af9df3ff7b..a246767768 100644
--- a/network/mod_ruid2/mod_ruid2.SlackBuild
+++ b/network/mod_ruid2/mod_ruid2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_ruid2
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_ruid2
VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_wsgi-metrics/mod_wsgi-metrics.SlackBuild b/network/mod_wsgi-metrics/mod_wsgi-metrics.SlackBuild
index 572205580b..51efbccf60 100644
--- a/network/mod_wsgi-metrics/mod_wsgi-metrics.SlackBuild
+++ b/network/mod_wsgi-metrics/mod_wsgi-metrics.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_wsgi-metrics
#
@@ -25,26 +25,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_wsgi-metrics
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_wsgi-metrics/mod_wsgi-metrics.info b/network/mod_wsgi-metrics/mod_wsgi-metrics.info
index b15fce5236..69d45fda7b 100644
--- a/network/mod_wsgi-metrics/mod_wsgi-metrics.info
+++ b/network/mod_wsgi-metrics/mod_wsgi-metrics.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/m/mod_wsgi-metrics/mod_wsgi-me
MD5SUM="be59d86c0e398614478b9e8b2feffcf2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="psutil"
+REQUIRES="python2-psutil"
MAINTAINER="Adis Nezirović"
EMAIL="adis_at_linux.org.ba"
diff --git a/network/mod_wsgi/README b/network/mod_wsgi/README
index e2df1bbde7..d439795bb7 100644
--- a/network/mod_wsgi/README
+++ b/network/mod_wsgi/README
@@ -1,13 +1,14 @@
mod_wsgi is a simple to use Apache module which can host any Python
application which supports the Python WSGI interface. The module
-would be suitable for use in hosting high performance production
-web sites as well as your average personal sites running on commodity
-web hosting services.
+would be suitable for use in hosting high performance production web
+sites as well as your average personal sites running on commodity web
+hosting services.
All major Python web frameworks/applications support mod_wsgi,
including Django, Flask, Pyramid, TurboGears, ...
-You'll need to add the following line to your /etc/httpd/httpd.conf file:
+You'll need to add the following line to your /etc/httpd/httpd.conf
+file:
Include /etc/httpd/extra/mod_wsgi.conf
From version 4.2, mod_wsgi ships with additional helper program for
diff --git a/network/mod_wsgi/mod_wsgi.SlackBuild b/network/mod_wsgi/mod_wsgi.SlackBuild
index 3bc36b4cfa..a6d5fab13e 100644
--- a/network/mod_wsgi/mod_wsgi.SlackBuild
+++ b/network/mod_wsgi/mod_wsgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_wsgi
#
@@ -25,20 +25,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_wsgi
VERSION=${VERSION:-4.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_wsgi/mod_wsgi.info b/network/mod_wsgi/mod_wsgi.info
index 764760eb90..fa46ce633b 100644
--- a/network/mod_wsgi/mod_wsgi.info
+++ b/network/mod_wsgi/mod_wsgi.info
@@ -1,7 +1,7 @@
PRGNAM="mod_wsgi"
VERSION="4.4.6"
HOMEPAGE="http://www.modwsgi.org"
-DOWNLOAD="https://github.com/GrahamDumpleton/mod_wsgi/archive/4.4.6.tar.gz"
+DOWNLOAD="https://github.com/GrahamDumpleton/mod_wsgi/archive/4.4.6/mod_wsgi-4.4.6.tar.gz"
MD5SUM="bab68899e92a6ee328a02954a0818022"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/modemu2k/README.Slackware b/network/modemu2k/README.Slackware
index dc8babebfa..2cb0c8695f 100644
--- a/network/modemu2k/README.Slackware
+++ b/network/modemu2k/README.Slackware
@@ -1,50 +1,53 @@
-modemu2k v0.0.6
--------------------
+# modemu2k v0.1.0
modemu2k is a fork of modemu, originally developed by Toru Egashira
-(Travis Build status
-<https://travis-ci.org/theimpossibleastronaut/modemu2k>)
+(Build status
+<https://github.com/theimpossibleastronaut/modemu2k/actions/workflows/c-cpp.yml>)
-What is modemu2k?
-----------------
+## What is modemu2k?
modemu2k adds telnet capability to a comm program. It can redirect
telnet I/O to a pty so that a comm program can handle the pty as a tty
with a real modem, and allows you to use a comm program's scripting
and file transfer features over telnet. Now supports IPv6 connections.
-Maintainer: Andy Alt <andy400-dev@yahoo.com>
+Maintainer: Andy Alt <andy400-dev [at] yahoo [dot] com>
+
License: GNU GPL 3
-Home page: <https://github.com/theimpossibleastronaut/modemu2k>
-Issues and bug reporting
-<https://github.com/theimpossibleastronaut/modemu2k/issues>
+Home page: <http://theimpossibleastronaut.com/modemu2k/>
+
+[Issues and bug reporting](https://github.com/theimpossibleastronaut/modemu2k/issues)
+
Dependencies
------------
- * gettext (unless --disable-nls is used)
+ * gettext (optional, for translations)
* flex
Compilation
-----------
-`./configure`
- Use ./configure --help to see extra options
+ meson builddir
+ cd builddir
+
+Use `meson configure` to see extra options
-`make`
+ ninja
-`make install` is optional. The binary can be run from the src/
+
+`ninja install` is optional. The binary can be run from the build
directory; however, installation is required to use the translations,
-and to create and install a script (m2k-minicom.sh) that can invoke
+and to create and install a script (m2k-minicom) that can invoke
minicom (see below).
-Sample Usage
-------------
+## Sample Usage
+
Note: while in the program if backspace doesn't work, use CTRL+H.
@@ -82,34 +85,26 @@ Note: while in the program if backspace doesn't work, use CTRL+H.
You could also connect to a BBS. For some telnet addresses, see:
- * <<Prism BBS<http://filegate.net/>
- * The Rusty Mailbox (telnet to trmb.ca, port 2030)
- * Synchronet BBS List<http://www.synchro.net/sbbslist.html>
+ * The Rusty Mailbox (telnet to [trmb.ca](https://trmb.ca/), port 2030)
+ * [Synchronet BBS List](https://www.synchro.net/sbbslist.html)
To quit modemu2k, just quit the comm program.
A script to invoke minicom as mentioned above will be installed to
your bin directory when `make install` is run.
-Escaping to command mode and returning
---------------------------------------
+## Escaping to command mode and returning
To escape to command mode, use '+++'. Use ATO to return to online mode.
-Hanging up a call/closing a connection
-------------------------------------
+## Hanging up a call/closing a connection
If you are connected to a server where gracefully logging out isn't
possible, to "hang up" or close the connection you can escape to command
mode and enter 'ATH`.
-
-Downloads
----------
-
-* Release page<https://github.com/theimpossibleastronaut/modemu2k/releases>
-* FileGate->(Linux Utilities category)<http://www.filegate.net/utiln/utillnx/>
+## Extra Notes
(*) Almost all file xfer protocols require 8bit through connection,
which means Modemu2k must be in the binary transmission mode. See %B
@@ -121,10 +116,13 @@ More details are in the QuickStart guide
A man page is also available.
-For Translators
------------
+# Downloads
+
+* Release page<https://github.com/theimpossibleastronaut/modemu2k/releases>
+
+[![Packaging status](https://repology.org/badge/vertical-allrepos/modemu2k.svg)](https://repology.org/project/modemu2k/versions)
+
+## Translate
+
+See <https://github.com/theimpossibleastronaut/modemu2k/blob/master/TRANSLATE.md>
-We use Transifex to translate the output messages. To start translating
-modemu2k, ​create an account in Transifex and ask to join a translation
-team (or create a new one) at
-https://www.transifex.com/na-309/modemu2k/
diff --git a/network/modemu2k/modemu2k.SlackBuild b/network/modemu2k/modemu2k.SlackBuild
index 21cc423d93..9af62e5531 100644
--- a/network/modemu2k/modemu2k.SlackBuild
+++ b/network/modemu2k/modemu2k.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for modemu2k
#
-# Copyright 2019-2020 / Andy Alt / United States
+# Copyright 2022 / Andy Alt / United States [81/1847]
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=modemu2k
-VERSION=${VERSION:-0.0.6}
+VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,7 +56,7 @@ if [ "$ARCH" = "i586" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ]; then [27/1847]
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,17 +79,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --localedir=/usr/share/locale \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ -Dstrip=true \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --localedir=/usr/share/locale \
+ -Ddocdir=/usr/doc/$PRGNAM-$VERSION
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -90,4 +103,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/modemu2k/modemu2k.info b/network/modemu2k/modemu2k.info
index 239e0e39dc..6822643041 100644
--- a/network/modemu2k/modemu2k.info
+++ b/network/modemu2k/modemu2k.info
@@ -1,10 +1,10 @@
PRGNAM="modemu2k"
-VERSION="0.0.6"
+VERSION="0.1.0"
HOMEPAGE="https://github.com/theimpossibleastronaut/modemu2k"
-DOWNLOAD="https://github.com/theimpossibleastronaut/modemu2k/releases/download/v0.0.6/modemu2k-0.0.6.tar.gz"
-MD5SUM="a6a45ab9ad9d0fa5a2af229368fd05c0"
+DOWNLOAD="https://github.com/theimpossibleastronaut/modemu2k/releases/download/v0.1.0/modemu2k-0.1.0.tar.xz"
+MD5SUM="8a84feee7aa5e69e5b1aa548b36d0672"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andy Alt"
-EMAIL="andy400-dev@yahoo.com"
+EMAIL="arch_stanton5995@protonmail.com"
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild
index 6901cf8379..90bdcc47e7 100644
--- a/network/modsecurity-apache/modsecurity-apache.SlackBuild
+++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild
@@ -1,32 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ModSecurity
# Written by pyllyukko
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=modsecurity-apache
SRCNAM=modsecurity
-VERSION=${VERSION:-2.9.3}
+VERSION=${VERSION:-2.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CRS_VERSION="3.1.0"
+CRS_VERSION="3.2.0"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -39,25 +49,6 @@ else
LIBDIRSUFFIX=""
fi
-# The package can be verified with Breno Silva Pinto's PGP key (0x6980F8B0)
-# If we have GPG installed, we try to verify the signature.
-if [ -x "/usr/bin/gpg" -a -x "/usr/bin/gpgv" ]
-then
- set +e
- # This will check if we have the correct key in our keyring.
- # For the trustedkeys.gpg, see "man 1 gpgv".
- /usr/bin/gpg --keyring trustedkeys.gpg --no-default-keyring --list-keys 0xE4BCD2EA82E67A45 &>/dev/null
- GPG_RET=${?}
- # 2 means we don't have his key, 0 means we do.
- set -e
- # If we have the key and the signature file, we verify the package with GPG
- if [ ${GPG_RET} -eq 0 -a \
- -f "${CWD}/${SRCNAM}-${VERSION}.tar.gz.asc" ]
- then
- /usr/bin/gpgv "${CWD}/${SRCNAM}-${VERSION}.tar.gz.asc" "${CWD}/${SRCNAM}-${VERSION}.tar.gz"
- fi
-fi
-
set -e
rm -rf $PKG
@@ -108,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/modsecurity-apache/modsecurity-apache.info b/network/modsecurity-apache/modsecurity-apache.info
index 5500d5738f..a70b04bcf8 100644
--- a/network/modsecurity-apache/modsecurity-apache.info
+++ b/network/modsecurity-apache/modsecurity-apache.info
@@ -1,12 +1,10 @@
PRGNAM="modsecurity-apache"
-VERSION="2.9.3"
+VERSION="2.9.7"
HOMEPAGE="https://www.modsecurity.org/"
-DOWNLOAD="https://www.modsecurity.org/tarball/2.9.3/modsecurity-2.9.3.tar.gz \
- https://github.com/SpiderLabs/ModSecurity/releases/download/v2.9.3/modsecurity-2.9.3.tar.gz.asc \
- https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v3.1.0/owasp-modsecurity-crs-3.1.0.tar.gz"
-MD5SUM="215a96d679a5b0fadcf13b5d09b35422 \
- b1005b1ad337951c876d729264a13f0d \
- 4e0a0fbaf077b50364c934083c4cb905"
+DOWNLOAD="https://github.com/SpiderLabs/ModSecurity/releases/download/v2.9.7/modsecurity-2.9.7.tar.gz \
+ https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v3.2.0/owasp-modsecurity-crs-3.2.0.tar.gz"
+MD5SUM="f2ccb0d6b3ba59a5677accb5569abbbd \
+ 9dd31ff7e74bd797d2013b93c02df304"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/monkey/README b/network/monkey/README
index cf9a3edcdf..2b142b7a94 100644
--- a/network/monkey/README
+++ b/network/monkey/README
@@ -1,7 +1,8 @@
-Monkey is a lightweight and powerful web server and development stack for
-Linux & OSX.
+Monkey is a lightweight and powerful web server and development stack
+for Linux & OSX.
-It has been designed to be very scalable with low memory and CPU consumption,
-the perfect solution for embedded devices. Made for ARM, x86 and x64.
+It has been designed to be very scalable with low memory and CPU
+consumption, the perfect solution for embedded devices. Made for ARM,
+x86 and x64.
By default, monkey will use the "apache" user and group accounts.
diff --git a/network/monkey/monkey.SlackBuild b/network/monkey/monkey.SlackBuild
index d6e1dbb404..6be5b1299d 100644
--- a/network/monkey/monkey.SlackBuild
+++ b/network/monkey/monkey.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for monkey http server.
@@ -28,10 +28,13 @@
# Francisco Ambrozio <sbo@franciscoambrozio.com>
# and libev script by Šime Ramov <s@ramov.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=monkey
VERSION=${VERSION:-1.6.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,7 +85,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -106,10 +116,7 @@ sed -i "s|# Load /usr/lib${LIBDIRSUFFIX}/monkey/monkey-logger.so|Load /usr/lib${
# make log dir
mkdir -p $PKG/var/log/monkey
-# make run dir
-mkdir -p $PKG/var/run/monkey
-
-# move init script to it's dir
+# move init script to its dir
mkdir -p $PKG/etc/rc.d
install -Dpm 0644 monkey.init $PKG/etc/rc.d/rc.monkey.new
@@ -132,4 +139,4 @@ install -Dpm 0644 $CWD/slack-desc $PKG/install/slack-desc
install -Dpm 0644 $CWD/doinst.sh $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mosaic-ck/README b/network/mosaic-ck/README
index 4db1b18e3d..c46a7a52ea 100644
--- a/network/mosaic-ck/README
+++ b/network/mosaic-ck/README
@@ -1,8 +1,8 @@
mosaic-ck (Cameron Kaiser's fork of NCSA Mosaic)
Mosaic is widely considered the grandfather of the modern web
-browser. Developed at NCSA, it was the first Web browser to win widespread
-use and acceptance. The last release of Mosaic was in 1997.
+browser. Developed at NCSA, it was the first Web browser to win
+widespread use and acceptance. The last release of Mosaic was in 1997.
mosaic-ck is a fork of Mosaic, with several features that allow it
to work as a basic, no-frills browser on the modern WWW. Think of it
diff --git a/network/mosaic-ck/doinst.sh b/network/mosaic-ck/doinst.sh
index 6723fb108e..0681523e4f 100644
--- a/network/mosaic-ck/doinst.sh
+++ b/network/mosaic-ck/doinst.sh
@@ -2,6 +2,12 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
# If there's no Mosaic link, take over:
if [ ! -r usr/bin/Mosaic ]; then
( cd usr/bin ; ln -sf mosaic-ck Mosaic )
diff --git a/network/mosaic-ck/mosaic-ck.SlackBuild b/network/mosaic-ck/mosaic-ck.SlackBuild
index 2525d76ca7..556e223119 100644
--- a/network/mosaic-ck/mosaic-ck.SlackBuild
+++ b/network/mosaic-ck/mosaic-ck.SlackBuild
@@ -1,11 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mosaic-ck
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230108 bkw: BUILD=2, fix doinst.sh.
+# 20211207 bkw: update for 2.7ck13, which contains build fixes
+# for recent glibc (e.g. the one in Slackware -current). Also
+# add new-style icons.
+
# 20161028 bkw: Re-add to SBo, with fix for Slack 14.2's libpng-1.6.
# If you're wondering why I stick with 2.7ck9 when 2.7ck11 has been
# out for a while, it's because none of the changes in ck10 or ck11
@@ -16,10 +21,13 @@
# site isn't wget-friendly. Original URL was:
# http://www.floodgap.com/retrotech/machten/mosaic/mosaic27ck9.tar.gz
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mosaic-ck
-VERSION=${VERSION:-2.7ck9}
+VERSION=${VERSION:-2.7ck13}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -29,7 +37,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,11 +71,8 @@ rm -rf $PRGNAM
tar xvf $CWD/$TARBALL
cd $PRGNAM
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# I don't know who thought it was a good idea to link with /usr/lib/libjpeg.a
# and /usr/lib/libpng.a instead of just saying -ljpeg -lpng.
@@ -97,11 +106,18 @@ install -m0644 app-defaults.color $PKG/etc/X11/app-defaults/Mosaic
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-# Original mosaic uses an icon that looks like icon.1.xpm. We'll pick one
-# of the other animation frames for mosaic-ck, to avoid confusion with
-# the original.
+# Original mosaic uses an icon that looks like icon.1.xpm. Go ahead
+# and use it, since there's no chance of conflicting with the original
+# mosaic on modern systems.
+for px in 16 32 48 64; do
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ convert -resize $size src/pixmaps/icon.1.xpm $dir/$PRGNAM.png
+done
+
mkdir -p $PKG/usr/share/pixmaps
-convert src/pixmaps/icon.10.xpm png:- > $PKG/usr/share/pixmaps/$PRGNAM.png
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# man page written for this build. kind of amazed that the source doesn't
# come with a man page.
@@ -119,4 +135,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mosaic-ck/mosaic-ck.info b/network/mosaic-ck/mosaic-ck.info
index 8289604f2b..6c253f0ffb 100644
--- a/network/mosaic-ck/mosaic-ck.info
+++ b/network/mosaic-ck/mosaic-ck.info
@@ -1,10 +1,10 @@
PRGNAM="mosaic-ck"
-VERSION="2.7ck9"
-HOMEPAGE="http://www.floodgap.com/retrotech/machten/mosaic/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/mosaic27ck9.tar.gz"
-MD5SUM="a412ea475bb5059182ee9642c95368cc"
+VERSION="2.7ck13"
+HOMEPAGE="https://www.floodgap.com/retrotech/machten/mosaic/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/mosaic27ck13.tar.gz"
+MD5SUM="7c4c807af8313104bc0fc19ee76325dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/mosh/1282.patch b/network/mosh/1282.patch
new file mode 100644
index 0000000000..c8376a2c12
--- /dev/null
+++ b/network/mosh/1282.patch
@@ -0,0 +1,43 @@
+From 8012ca9c8d16f99679c171b36ad02655549ab7ff Mon Sep 17 00:00:00 2001
+From: Alex Chernyakhovsky <alex@achernya.com>
+Date: Sun, 30 Jul 2023 16:19:46 -0400
+Subject: [PATCH] Bump C++ version to C++17
+
+Protobuf versions since 3.6.0 have long had a C++11 dependency; even
+more recent versions have picked up an Abseil dependency bumping that
+to C++14. Since it is now 2023, defaulting to C++17 is reasonable, so
+remove the conditional C++ standards version check that mosh
+previously had and replace it with an unconditional C++17 check.
+
+This means that all future commits can use C++17 features. According
+to https://en.cppreference.com/w/cpp/compiler_support/17 this means
+that minimum effective compiler versions for mosh become:
+
+gcc 7 (May 2017)
+clang 5 (September 2017)
+
+This, in turn, implies that future versions of mosh will no longer be
+available for RHEL/CentOS 7 (June 2014).
+
+Closes: #1267
+---
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index ee70c7b86..7f7dc3bc2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -22,9 +22,9 @@ AS_IF([test x"$PROTOC" = x],
+ # automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
+-# Protobuf 3.6+ requires C++11.
+-AS_IF([pkg-config --atleast-version 3.6.0 protobuf],
+- [AX_CXX_COMPILE_STDCXX([11])])
++# Protobuf transitively requires at least C++14, get ahead of the
++# curve and require at least C++17.
++AX_CXX_COMPILE_STDCXX([17])
+
+ WARNING_CXXFLAGS=""
+ PICKY_CXXFLAGS=""
diff --git a/network/mosh/README b/network/mosh/README
index 0febc6cfb4..8b1944f8d5 100644
--- a/network/mosh/README
+++ b/network/mosh/README
@@ -1,19 +1,18 @@
-Mosh is a remote terminal application that allows roaming, supports
-intermittent connectivity, and provides intelligent local echo and line
-editing of user keystrokes.
+mosh (MObile SHell server and client)
-Mosh attempts to improve on SSH by being more robust and responsive,
-especially over Wi-Fi, cellular, and long-distance links.
+Mosh is a remote terminal application that allows roaming, supports
+intermittent connectivity, and provides intelligent local echo and
+line editing of user keystrokes.
-The mosh client must be run with a UTF-8 locale. Locales can be
-configured system wide in:
+Mosh attempts to improve on SSH by being more robust and responsive,
+especially over Wi-Fi, cellular, and long-distance links.
-/etc/profile.d/lang.sh
-or
+The mosh client must be run with a UTF-8 locale. Locales
+can be configured system-wide in /etc/profile.d/lang.sh or
/etc/profile.d/lang.csh
-Alternatively set LANG to a UTF-8 locale (e.g. LANG=en_GB.UTF-8)
+Alternatively set LANG to a UTF-8 locale (e.g. LANG=en_GB.UTF-8)
somewhere else you consider suitable.
-Additionally the server that you are connecting to must have the same
+Additionally the server that you are connecting to must have the same
locale installed (though it need not be set as the default).
diff --git a/network/mosh/mosh.SlackBuild b/network/mosh/mosh.SlackBuild
index ac040947a9..8127e0ff4d 100644
--- a/network/mosh/mosh.SlackBuild
+++ b/network/mosh/mosh.SlackBuild
@@ -1,14 +1,29 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mosh
# Written by ruario
-# Maintained by Donald Cooley, South Haven, Indiana, USA
+# Formerly maintained by Donald Cooley, South Haven, Indiana, USA
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+# Original script had no license; modified version licensed under
+# the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230225 bkw: homepage/download changed.
+
+# 20220425 bkw: BUILD=2
+# - take over maintenance.
+# - relicense script as WTFPL.
+# - include a couple more doc files (THANKS and ocb-license.html).
+# - add bash completion to package.
+# - add ufw integration to package (untested; I don't run ufw).
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mosh
-VERSION=${VERSION:-1.3.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.4.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +33,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,14 +65,15 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# patch to work with newer protobuf3
+patch -p1 < $CWD/1282.patch
+autoreconf -vif
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -64,22 +84,24 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+install -D -m0644 \
+ conf/bash-completion/completions/$PRGNAM \
+ $PKG/usr/share/bash-completion/completions/$PRGNAM
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+install -D -m0644 \
+ conf/ufw/applications.d/$PRGNAM \
+ $PKG/etc/ufw/applications.d/$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog NEWS README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING ChangeLog NEWS *.md *.html THANKS $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mosh/mosh.info b/network/mosh/mosh.info
index 73be381340..9578dd57f8 100644
--- a/network/mosh/mosh.info
+++ b/network/mosh/mosh.info
@@ -1,10 +1,10 @@
PRGNAM="mosh"
-VERSION="1.3.2"
-HOMEPAGE="http://mosh.mit.edu/"
-DOWNLOAD="http://mosh.mit.edu/mosh-1.3.2.tar.gz"
-MD5SUM="5122f4d2b973ab7c38dcdac8c35cb61e"
+VERSION="1.4.0"
+HOMEPAGE="https://mosh.org"
+DOWNLOAD="https://mosh.org/mosh-1.4.0.tar.gz"
+MD5SUM="c34a647f8545565d79188acacaea7559"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-IO-Tty protobuf"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+REQUIRES="perl-IO-Tty protobuf3"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/movgrab/movgrab.SlackBuild b/network/movgrab/movgrab.SlackBuild
index a8ea401cb2..fc151c4a1d 100644
--- a/network/movgrab/movgrab.SlackBuild
+++ b/network/movgrab/movgrab.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for movgrab
#
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=movgrab
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mpop/README b/network/mpop/README
index 00adf573b4..ea0ccad1cb 100644
--- a/network/mpop/README
+++ b/network/mpop/README
@@ -2,5 +2,3 @@ mpop is a small and fast POP3 client. Features include mail filtering,
delivery to mbox files, maildir folders or a mail delivery agent, a
very fast POP3 implementation, many authentication methods, good
TLS/SSL support, IPv6 support, and more.
-
-Optional Dependency: libgsasl
diff --git a/network/mpop/mpop.SlackBuild b/network/mpop/mpop.SlackBuild
index 9e285286ca..a0522fd4e3 100644
--- a/network/mpop/mpop.SlackBuild
+++ b/network/mpop/mpop.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mpop
-# Copyright 2014 Marek Buras Silesia,Poland
+# Copyright spaceman
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mpop
-VERSION=${VERSION:-1.2.6}
+VERSION=${VERSION:-1.4.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,8 +70,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xf $CWD/$PRGNAM-$VERSION.tar.xz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -78,25 +88,25 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--infodir=/usr/info \
--mandir=/usr/man \
- --with-libgsasl \
+ --disable-rpath \
--build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
+gzip -n $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cp -a AUTHORS COPYING ChangeLog NEWS NOTES README THANKS doc/mpoprc.example \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a scripts/vim/README -a scripts/vim/mpop.vim \
+cp -a scripts/vim/README scripts/vim/mpop.vim \
$PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -104,4 +114,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mpop/mpop.info b/network/mpop/mpop.info
index 30cbe03004..7c491d38a8 100644
--- a/network/mpop/mpop.info
+++ b/network/mpop/mpop.info
@@ -1,10 +1,10 @@
PRGNAM="mpop"
-VERSION="1.2.6"
-HOMEPAGE="http://mpop.sourceforge.net/"
-DOWNLOAD="http://download.sourceforge.net/mpop/mpop-1.2.6.tar.xz"
-MD5SUM="2298ddcf1defbf8e7097a1869c8d39d3"
+VERSION="1.4.18"
+HOMEPAGE="https://marlam.de/mpop"
+DOWNLOAD="https://marlam.de/mpop/releases/mpop-1.4.18.tar.xz"
+MD5SUM="c7671abcdb3fedf429c3e1a01d1d53d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgsasl"
-MAINTAINER="Marek Buras"
-EMAIL="cyfr0n@onet.pl"
+REQUIRES=""
+MAINTAINER="spaceman"
+EMAIL="spaceman@antispaceman.com"
diff --git a/network/mpop/slack-desc b/network/mpop/slack-desc
index 783c9d5c75..bb93deddb4 100644
--- a/network/mpop/slack-desc
+++ b/network/mpop/slack-desc
@@ -13,7 +13,7 @@ mpop: delivery to mbox files, maildir folders or a mail delivery agent, a
mpop: very fast POP3 implementation, many authentication methods, good
mpop: TLS/SSL support, IPv6 support, and more.
mpop:
-mpop: Homepage: http://mpop.sourceforge.net/
+mpop: Homepage: https://marlam.de/mpop
mpop:
mpop:
mpop:
diff --git a/network/mps-youtube/README b/network/mps-youtube/README
index 876d4da819..8d28abbce4 100644
--- a/network/mps-youtube/README
+++ b/network/mps-youtube/README
@@ -2,6 +2,3 @@ This project is based on mps, a terminal based program to search,
stream and download music. This implementation uses YouTube as a
source of content and can play and download video as well as audio.
The pafy library handles interfacing with YouTube.
-
-NOTE:
-Please install python3 first before installing all other requirements.
diff --git a/network/mps-youtube/mps-youtube.SlackBuild b/network/mps-youtube/mps-youtube.SlackBuild
index 2438dda7f8..deae75b729 100644
--- a/network/mps-youtube/mps-youtube.SlackBuild
+++ b/network/mps-youtube/mps-youtube.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mps-youtube
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mps-youtube
VERSION=${VERSION:-0.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mps-youtube/mps-youtube.info b/network/mps-youtube/mps-youtube.info
index c7ba6ec330..6a4013d274 100644
--- a/network/mps-youtube/mps-youtube.info
+++ b/network/mps-youtube/mps-youtube.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/b1/8e/5156416119545e3f5ba16ec0fdbb2c7
MD5SUM="7560fda429491a41b1a4a20ad9cd3a3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 Pafy"
+REQUIRES="Pafy"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/mps/mps.SlackBuild b/network/mps/mps.SlackBuild
index 41e63ab80b..240ce010eb 100644
--- a/network/mps/mps.SlackBuild
+++ b/network/mps/mps.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mps
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mps
VERSION=${VERSION:-0.20.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mrtg/mrtg.SlackBuild b/network/mrtg/mrtg.SlackBuild
index 5fd59b522a..a5428a5c66 100644
--- a/network/mrtg/mrtg.SlackBuild
+++ b/network/mrtg/mrtg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mrtg
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mrtg
-VERSION=${VERSION:-2.17.7}
+VERSION=${VERSION:-2.17.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mrtg/mrtg.info b/network/mrtg/mrtg.info
index c6d454ad45..10b59e2154 100644
--- a/network/mrtg/mrtg.info
+++ b/network/mrtg/mrtg.info
@@ -1,10 +1,10 @@
PRGNAM="mrtg"
-VERSION="2.17.7"
+VERSION="2.17.10"
HOMEPAGE="https://oss.oetiker.ch/mrtg/"
-DOWNLOAD="https://oss.oetiker.ch/mrtg/pub/mrtg-2.17.7.tar.gz"
-MD5SUM="eada3870c0419e425299401486600d95"
+DOWNLOAD="https://oss.oetiker.ch/mrtg/pub/mrtg-2.17.10.tar.gz"
+MD5SUM="ab1c14acc9af4221f459707339f361b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Ulrich Schaefer"
-EMAIL="us@ulischaefer.net"
+EMAIL="us@ulischaefer.de"
diff --git a/network/msmtp/README b/network/msmtp/README
index f78cb41d5b..f6a03b8429 100644
--- a/network/msmtp/README
+++ b/network/msmtp/README
@@ -3,8 +3,8 @@ msmtp is a simple SMTP client.
In the default mode, msmtp transmits a mail to an SMTP server (for
example, at a free mail provider) which does the delivery.
-To use this program with your mail user agent (MUA), create a configuration
-file with your mail account(s) and tell your MUA to call msmtp instead of
-/usr/sbin/sendmail.
+To use this program with your mail user agent (MUA), create a
+configuration file with your mail account(s) and tell your MUA to call
+msmtp instead of /usr/sbin/sendmail.
libgsasl is an optional dependency.
diff --git a/network/msmtp/doinst.sh b/network/msmtp/doinst.sh
index b7c8257e07..1bef502028 100644
--- a/network/msmtp/doinst.sh
+++ b/network/msmtp/doinst.sh
@@ -1 +1,6 @@
-chroot . /usr/bin/install-info /usr/info/msmtp.info.gz /usr/info/dir 2> /dev/null
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/network/msmtp/msmtp.SlackBuild b/network/msmtp/msmtp.SlackBuild
index ff50ab73b9..8f3cd8eb3b 100644
--- a/network/msmtp/msmtp.SlackBuild
+++ b/network/msmtp/msmtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for msmtp
# Copyright 2009-2012 Grigorios Bouzakis <grbzks@imap.cc>
@@ -20,10 +20,16 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - use correct template for install-info in doinst.sh, add douninst.sh.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=msmtp
-VERSION=${VERSION:-1.8.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.8.20}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,7 +62,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS
+DOCS="AUTHORS COPYING ChangeLog NEWS README THANKS
doc/msmtprc-system.example doc/msmtprc-user.example"
set -e
@@ -66,9 +76,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,13 +93,9 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
@@ -101,6 +107,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/msmtp/msmtp.info b/network/msmtp/msmtp.info
index 323ecdc064..2c24b07e49 100644
--- a/network/msmtp/msmtp.info
+++ b/network/msmtp/msmtp.info
@@ -1,10 +1,10 @@
PRGNAM="msmtp"
-VERSION="1.8.5"
+VERSION="1.8.20"
HOMEPAGE="https://marlam.de/msmtp/"
-DOWNLOAD="https://marlam.de/msmtp/releases/msmtp-1.8.5.tar.xz"
-MD5SUM="5d7bb10606fbceeb2e0687379c75234b"
+DOWNLOAD="https://marlam.de/msmtp/releases/msmtp-1.8.20.tar.xz"
+MD5SUM="6fc0ce864d74992f6c6124c3611d15da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/msn-proxy/README b/network/msn-proxy/README
deleted file mode 100644
index 98b70961e0..0000000000
--- a/network/msn-proxy/README
+++ /dev/null
@@ -1,12 +0,0 @@
-msn-proxy is a light-weight transparent proxy for MSN Messenger clients that
-allows you to control and monitor the use of Messenger on your network.
-
-This SlackBuild installs the msn-proxy web pages in /var/www/htdocs/
-To change the location, set the DOCROOT variable:
-# DOCROOT=your/docroot/dir ./msn-proxy.SlackBuild
-(be sure to omit the leading "/" from the path; for example, use "home/www/"
-instead of "/home/www/" if your preferred DOCROOT is /home/www/.
-
-This needs httpd, php, mysql configured & running.
-
-See the included README.SLACKWARE file for configuration instructions.
diff --git a/network/msn-proxy/README.SLACKWARE b/network/msn-proxy/README.SLACKWARE
deleted file mode 100644
index 372a28ea2f..0000000000
--- a/network/msn-proxy/README.SLACKWARE
+++ /dev/null
@@ -1,78 +0,0 @@
-README.SLACKWARE
-================
-
-After installing the package, follow these steps to setup msn-proxy:
-
-1) Edit your configuration files
---------------------------------
-
-You'll need to check:
-- /etc/msn-proxy/msn-proxy.conf
-- /etc/msn-proxy/mysql/conf
-- /etc/msn-proxy/mysql.inc.php
-
-2) Create database & user on your MySQL server
-----------------------------------------------
-
- # mysql -p<your_password>
- mysql> create database `msn-proxy`;
- mysql> grant all privileges on `msn-proxy`.* to `msn-proxy`@localhost
- -> identified by 'secret';
- mysql> flush privileges;
- mysql> quit
-
-Change the password ('secret') and name of the server where msn-proxy will
-run (localhost) as needed.
-
-3) Start msn-proxy first time to create the tables
---------------------------------------------------
-
- # msn-proxy -f /etc/msn-proxy/
-
-msn-proxy will create the tables and exit with an error:
-
- fail to read mysql config (check defaults table)
-
-This is normal and will be solved in the next step.
-
-4) Insert server IP in defaults table
--------------------------------------
-
- # mysql -u msn-proxy -psecret
- mysql> use database `msn-proxy`;
- mysql> insert into defaults (internal_host) values ('<your_ip>');
- mysql> quit
-
-5) Start msn-proxy
-------------------
-
-msn-proxy can be started with:
-
- # msn-proxy -f /etc/msn-proxy &
-
-Put this line in your /etc/rc.d/rc.local file to always start the service
-when booting.
-
-6) Configuring clients
-----------------------
-
-The clients on your network need to point their MSN to your new proxy.
-You can also do this automatically in your nameserver. If you use dnsmasq
-on Slackware, simply insert this line:
-
- address=/messenger.hotmail.com/<your_ip>
-
-This way all requests to resolve the IP for "messenger.hotmail.com" will be
-answered with the address of your msn-proxy server.
-
-It is also a good idea to block http access to messenger.hotmail.com (and
-some of the alternatives out there) in your proxy or firewall if you want
-to be absolutely sure that all messenger traffic goes through msn-proxy.
-
-7) See the result
------------------
-
-Simply point your browser at http://<your_ip>/msn-proxy/index.php
-
-Now you have the option to either keep this address "secret" or use known
-httpd access control methods to prevent all users to see the result :)
diff --git a/network/msn-proxy/config.patch b/network/msn-proxy/config.patch
deleted file mode 100644
index 2e92dcc257..0000000000
--- a/network/msn-proxy/config.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- msn-proxy-0.7_orig/Makefile 2009-01-20 13:34:19.000000000 -0200
-+++ msn-proxy-0.7/Makefile 2009-12-26 23:17:08.000000000 -0200
-@@ -1,18 +1,18 @@
-
- RM=/bin/rm
- INSTALL=/usr/bin/install
--SYSCONFDIR=$(DESTDIR)/usr/local/etc/msn-proxy
--BINDIR=$(DESTDIR)/usr/local/bin
-+SYSCONFDIR=$(DESTDIR)/etc/msn-proxy
-+BINDIR=$(DESTDIR)/usr/bin
-
--# FreeBSD
--MYSQLINC=/usr/local/include
--MYSQLLIB=/usr/local/lib/mysql
-+# Slackware
-+MYSQLINC=/usr/include/mysql
-+MYSQLLIB=/usr/lib@LIBDIRSUFFIX@/mysql
-
- # Linux (most)
- #MYSQLINC=/usr/lib/mysql
- #MYSQLLIB=/usr/local/mysql/lib/mysql
-
--CCFLAGS=-g -Wall -O2 -pipe -I/usr/local/include -I$(MYSQLINC) -fno-builtin-log
-+CCFLAGS=-g -Wall @SLKCFLAGS@ -pipe -I/usr/local/include -I$(MYSQLINC) -fno-builtin-log
-
- LDFLAGS=-L/usr/local/lib -levent -L$(MYSQLLIB) -lmysqlclient
-
diff --git a/network/msn-proxy/doinst.sh b/network/msn-proxy/doinst.sh
deleted file mode 100644
index 4431a61b7c..0000000000
--- a/network/msn-proxy/doinst.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/msn-proxy/msn-proxy.conf.new
-config etc/msn-proxy/mysql/conf.new
-config etc/msn-proxy/mysql.inc.php.new
-
diff --git a/network/msn-proxy/msn-proxy.SlackBuild b/network/msn-proxy/msn-proxy.SlackBuild
deleted file mode 100644
index 81fcba81be..0000000000
--- a/network/msn-proxy/msn-proxy.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for msn-proxy
-
-# Written by Niels Horn <niels.horn@gmail.com>
-# revision date: 2009/12/27
-
-PRGNAM=msn-proxy
-VERSION=${VERSION:-0.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DOCROOT=${DOCROOT:-var/www/htdocs}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Patch mysql.h because it has the configuration directory hard-coded...
-patch -p1 < $CWD/mysql.patch
-
-# msn-proxy has no "configure", so we'll patch the Makefile to Slackware
-# standards
-patch -p1 < $CWD/config.patch
-
-# Now enter SLKCFLAGS LIBDIRSUFFIX in the Makefile:
-sed -i -e "s,@SLKCFLAGS@,$SLKCFLAGS,g" -e "s,@LIBDIRSUFFIX@,$LIBDIRSUFFIX,g" \
- Makefile
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Rename configuration files
-mv $PKG/etc/$PRGNAM/$PRGNAM.conf $PKG/etc/$PRGNAM/$PRGNAM.conf.new
-mv $PKG/etc/$PRGNAM/mysql/conf $PKG/etc/$PRGNAM/mysql/conf.new
-
-# "Install" web pages
-mkdir -p $PKG/$DOCROOT/$PRGNAM
-cp -a php/* $PKG/$DOCROOT/$PRGNAM/
-chown -R root:apache $PKG/$DOCROOT/$PRGNAM
-
-# Move PHP configuration
-mv $PKG/$DOCROOT/$PRGNAM/mysql.inc.php $PKG/etc/$PRGNAM/mysql.inc.php.new
-chmod 640 $PKG/etc/$PRGNAM/mysql.inc.php.new
-
-# Set correct Slackware location of mysql.sock
-sed -i "s,/tmp/mysql.sock,/var/run/mysql/mysql.sock," \
- $PKG/etc/$PRGNAM/mysql.inc.php.new
-sed -i "s,/tmp/mysql.sock,/var/run/mysql/mysql.sock," \
- $PKG/etc/$PRGNAM/mysql/conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog INSTALL \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-# Put instruction to create symbolic link to PHP conf in doinst script
-cat >> $PKG/install/doinst.sh << EOF
-( cd $DOCROOT/$PRGNAM ; rm -rf mysql.inc.php )
-( cd $DOCROOT/$PRGNAM ; ln -sf /etc/$PRGNAM/mysql.inc.php )
-EOF
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/msn-proxy/msn-proxy.info b/network/msn-proxy/msn-proxy.info
deleted file mode 100644
index 4c163f616d..0000000000
--- a/network/msn-proxy/msn-proxy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="msn-proxy"
-VERSION="0.7"
-HOMEPAGE="http://msn-proxy.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/msn-proxy/msn-proxy-0.7.tar.gz"
-MD5SUM="11faa72c70c36874685ca1b0ed382dcc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
diff --git a/network/msn-proxy/mysql.patch b/network/msn-proxy/mysql.patch
deleted file mode 100644
index 55aac529ef..0000000000
--- a/network/msn-proxy/mysql.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- msn-proxy-0.7_orig/mysql.h 2009-03-15 14:30:28.000000000 -0300
-+++ msn-proxy-0.7/mysql.h 2009-12-27 00:02:26.000000000 -0200
-@@ -22,7 +22,7 @@
- #define MYSQL_H
-
- #ifndef MYSQLCONFDIR
--#define MYSQLCONFDIR "/usr/local/etc/msn-proxy/mysql"
-+#define MYSQLCONFDIR "/etc/msn-proxy/mysql"
- #endif
- #ifndef MYSQLCONF
- #define MYSQLCONF "conf"
diff --git a/network/msn-proxy/slack-desc b/network/msn-proxy/slack-desc
deleted file mode 100644
index a884649530..0000000000
--- a/network/msn-proxy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-msn-proxy: msn-proxy (transparent msn proxy)
-msn-proxy:
-msn-proxy: msn-proxy is a light-weight transparent proxy for MSN Messenger
-msn-proxy: clients that allows you to control and monitor the use of Messenger
-msn-proxy: on your network.
-msn-proxy:
-msn-proxy: http://msn-proxy.sourceforge.net/
-msn-proxy:
-msn-proxy:
-msn-proxy:
-msn-proxy:
diff --git a/network/mstflint/README b/network/mstflint/README
new file mode 100644
index 0000000000..b5d4b54723
--- /dev/null
+++ b/network/mstflint/README
@@ -0,0 +1,15 @@
+The mstflint is a set of tools for changing firmware configuration of
+Mellanox ConnectX Ethernet NICs and Infiniband HCA/VPI cards,
+as well as diagnosing (mainly hardware) problems and
+burning firmware for these products.
+
+These open-source tools are based on a subset of the proprietary
+Mellanox Firmware Tools (MFT) package.
+
+The functionality needed to burn firmware for
+Mellanox Infiniband switches from a connected host can be enabled with:
+
+ env ENABLE_INBAND=YES ./mstflint.SlackBuild
+
+which then pulls in the optional dependency upon "rdma-core"
+(available on SlackBuilds.org).
diff --git a/network/mstflint/mstflint.SlackBuild b/network/mstflint/mstflint.SlackBuild
new file mode 100644
index 0000000000..c6be0b8c15
--- /dev/null
+++ b/network/mstflint/mstflint.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for mstflint
+
+# Copyright 2023,2024 GUAN Xin <guanx.bac@gmail.com> from Beijing
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mstflint
+VERSION=${VERSION:-4.26.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+ENABLE_INBAND=${ENABLE_INBAND:-no}
+if ! [ `echo x$ENABLE_INBAND | tr '[:lower:]' '[:upper:]'` = XYES ]; then
+ CONFIG_PARAMS_EXTRA="${CONFIG_PARAMS_EXTRA} --disable-inband"
+ SLACK_DESC_SED_CMD='s/ENABLE_INBAND/ but disabled at build time/g'
+else
+ CONFIG_PARAMS_EXTRA=
+ SLACK_DESC_SED_CMD='s/ENABLE_INBAND//g'
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-1.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
+ --enable-xml2 \
+ --enable-cs \
+ --enable-adb-generic-tools \
+ --enable-dpa \
+ ${CONFIG_PARAMS_EXTRA}
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/mstflint/python_tools/*.so
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc | sed "$SLACK_DESC_SED_CMD" > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mstflint/mstflint.info b/network/mstflint/mstflint.info
new file mode 100644
index 0000000000..60efcc2f30
--- /dev/null
+++ b/network/mstflint/mstflint.info
@@ -0,0 +1,10 @@
+PRGNAM="mstflint"
+VERSION="4.26.0"
+HOMEPAGE="https://github.com/Mellanox/mstflint"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/Mellanox/mstflint/releases/download/v4.26.0-1/mstflint-4.26.0-1.tar.gz"
+MD5SUM_x86_64="54b0f8f28d26aa82cacf1dab545be9c9"
+REQUIRES=""
+MAINTAINER="GUAN Xin"
+EMAIL="guanx.bac@gmail.com"
diff --git a/network/mstflint/slack-desc b/network/mstflint/slack-desc
new file mode 100644
index 0000000000..b46242c6e5
--- /dev/null
+++ b/network/mstflint/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mstflint: mstflint (Mellanox firmware configuration tools)
+mstflint:
+mstflint: mstflint is a set of tools for firmware burning and configuration of
+mstflint: Mellanox Ethernet NICs, Infiniband HCA/VPI cards.
+mstflint:
+mstflint: Firmware burning for Mellanox Infiniband switches from a
+mstflint: connected host is supportedENABLE_INBAND.
+mstflint:
+mstflint:
+mstflint: Home: https://github.com/Mellanox/mstflint
+mstflint:
diff --git a/network/mullvadvpn-app/README b/network/mullvadvpn-app/README
new file mode 100644
index 0000000000..64d8bce43e
--- /dev/null
+++ b/network/mullvadvpn-app/README
@@ -0,0 +1,8 @@
+MullvadVPN-app Desktop Client
+
+This is a repackaged Debian binary package for MullvadVPN's
+Desktop Client.
+
+This SlackBuild also supports both x86_64 & aarch64 deb downloads and
+will install the correct package for your arch.
+
diff --git a/network/mullvadvpn-app/doinst.sh b/network/mullvadvpn-app/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/mullvadvpn-app/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/mullvadvpn-app/mullvadvpn-app.SlackBuild b/network/mullvadvpn-app/mullvadvpn-app.SlackBuild
new file mode 100644
index 0000000000..164a12feba
--- /dev/null
+++ b/network/mullvadvpn-app/mullvadvpn-app.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for mullvadvpn-app
+#
+# Copyright 2023 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mullvadvpn-app
+SRCNAM=MullvadVPN
+VERSION=${VERSION:-2024.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ DEBARCH="i386"
+ LIBDIRSUFFIX=""
+ echo "This package is currently only available for 64bit."
+ exit 1
+elif [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ DEBARCH="arm64"
+ LIBDIRSUFFIX="64"
+else
+ echo "Package for $(uname -m) architecture is not available."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/$SRCNAM-${VERSION}_$DEBARCH.deb data.tar.xz | tar Jxv
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# move and cleanup of debian package files
+
+# create rc file, there's no options to change so we'll just install it
+mkdir -p $PKG/etc/rc.d
+cp -a $CWD/rc.mullvad $PKG/etc/rc.d/rc.mullvad
+chmod 755 $PKG/etc/rc.d/rc.mullvad
+chown root:root $PKG/etc/rc.d/rc.mullvad
+
+# mullvad stores login settings here
+mkdir -p $PKG/etc/mullvad-vpn
+
+# location mullvad stores logs
+mkdir -p $PKG/var/log/mullvad-vpn
+
+# docs
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $PKG/usr/share/doc/mullvad-vpn/* $PKG/opt/Mullvad\ VPN\/LICENSE* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/zsh
+cp -a $PKG/usr/local/share/* $PKG/usr/share
+rm -rf $PKG/usr/share/doc
+rm -rf $PKG/usr/local
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mullvadvpn-app/mullvadvpn-app.info b/network/mullvadvpn-app/mullvadvpn-app.info
new file mode 100644
index 0000000000..12c12a9a7e
--- /dev/null
+++ b/network/mullvadvpn-app/mullvadvpn-app.info
@@ -0,0 +1,12 @@
+PRGNAM="mullvadvpn-app"
+VERSION="2024.1"
+HOMEPAGE="https://mullvad.net/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/mullvad/mullvadvpn-app/releases/download/2024.1/MullvadVPN-2024.1_amd64.deb \
+ https://github.com/mullvad/mullvadvpn-app/releases/download/2024.1/MullvadVPN-2024.1_arm64.deb"
+MD5SUM_x86_64="80a62dba93bdbce63f6468ccb2b41d46 \
+ 39b9868dbd2a48088c3143c82771b5aa"
+REQUIRES=""
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/network/mullvadvpn-app/rc.mullvad b/network/mullvadvpn-app/rc.mullvad
new file mode 100644
index 0000000000..427f2e3fe6
--- /dev/null
+++ b/network/mullvadvpn-app/rc.mullvad
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# /etc/rc.d/rc.mullvad
+#
+# Start/stop/restart - Mullvad VPN Service.
+#
+# To make Mullvad VPN start automatically at boot, make this
+# file executable: chmod 755 /etc/rc.d/rc.mullvad
+#
+# and also you must add this to /etc/rc.d/rc.local to
+# start MullvadVPN:
+#
+# if [ -x /etc/rc.d/rc.mullvad ]; then
+# /etc/rc.d/rc.mullvad start
+# fi
+
+
+case "$1" in
+ 'start')
+ /usr/bin/mullvad-daemon -v >/dev/null &
+ ;;
+ 'stop')
+ pkill -f /usr/bin/mullvad-daemon >/dev/null &
+ # Remove both possible .pid locations:
+ rm -f /var/run/mullvad-vpn.pid /var/run/mullvad-vpn/mullvad-vpn.pid
+ ;;
+ 'restart')
+ /usr/bin/mullvad-daemon -v >/dev/null &
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ ;;
+esac
+
diff --git a/network/mullvadvpn-app/slack-desc b/network/mullvadvpn-app/slack-desc
new file mode 100644
index 0000000000..4cd201b014
--- /dev/null
+++ b/network/mullvadvpn-app/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mullvadvpn-app: mullvadvpn-app (vpn service desktop client)
+mullvadvpn-app:
+mullvadvpn-app: This is the VPN client software for the Mullvad VPN service. For more
+mullvadvpn-app: information about the service, please visit the website, mullvad.net.
+mullvadvpn-app:
+mullvadvpn-app: Homepage: https://github.com/mullvad/mullvadvpn-app
+mullvadvpn-app:
+mullvadvpn-app:
+mullvadvpn-app:
+mullvadvpn-app:
+mullvadvpn-app:
diff --git a/network/mumble-server/README b/network/mumble-server/README
new file mode 100644
index 0000000000..b4c6caeeee
--- /dev/null
+++ b/network/mumble-server/README
@@ -0,0 +1,33 @@
+mumble-sever is the VoIP server component for Mumble. Murmur is
+installed in a system-wide fashion, but can also be run by
+individual users. Each mumble-server process supports multiple virtual
+servers, each with their own user base and channel list.
+Administration of mumble-server is done through D-Bus.
+
+This script requires the system to have a mumble-server user and group:
+
+ # groupadd -g 261 murmur
+ # useradd -g murmur -u 261 -d /var/lib/mumble-server -s /bin/false murmur
+
+To use a different user and/or group:
+
+ # MURMUR_USER=user MURMUR_GROUP=group ./mumble-server.SlackBuild
+
+To run mumble-server at boot:
+
+ # chmod +x /etc/rc.d/rc.mumble-server
+
+ Add the following to /etc/rc.d/rc.local:
+
+ if [ -x /etc/rc.d/rc.mumble-server ]; then
+ /etc/rc.d/rc.mumble-server start
+ fi
+
+Note that the project changed the name from murmurd to mumble-server.
+Not all of the upstream documentation has been updated yet.
+
+Notes:
+- This does not build the mumble client (mumble).
+- ZeroC Ice is optional for server RPC support. Build with
+ ICE=yes ./mumble-server.SlackBuild
+ See: https://wiki.mumble.info/wiki/Ice
diff --git a/network/mumble-server/doinst.sh b/network/mumble-server/doinst.sh
new file mode 100644
index 0000000000..4d03c50c4f
--- /dev/null
+++ b/network/mumble-server/doinst.sh
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+config etc/logrotate.d/mumble-server.new
+config etc/mumble-server.ini.new
+
+preserve_perms etc/rc.d/rc.mumble-server.new
diff --git a/network/mumble-server/mumble-server.SlackBuild b/network/mumble-server/mumble-server.SlackBuild
new file mode 100644
index 0000000000..5d4e1ad82a
--- /dev/null
+++ b/network/mumble-server/mumble-server.SlackBuild
@@ -0,0 +1,177 @@
+#!/bin/bash
+
+# Slackware build script for murmur
+
+# Copyright 2014-2022 Edward W. Koenig <kingbeowulf@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mumble-server
+SRCNAM=mumble
+VERSION=${VERSION:-1.4.287}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ICE=${ICE:-no}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# For simplicity, we'll keep the old name for the user:group
+MURMUR_GROUP=${MURMUR_GROUP:-murmur}
+MURMUR_USER=${MURMUR_USER:-murmur}
+
+if ! getent group $MURMUR_GROUP; then
+ echo "Group $MURMUR_GROUP does not exist. Create it with:"
+ echo " # groupadd -g 261 $MURMUR_GROUP"
+ echo""
+ exit 1
+fi
+
+if ! getent passwd $MURMUR_USER; then
+ echo "User $MURMUR_USER does not exist. Create it with:"
+ echo " # useradd -g $MURMUR_GROUP -u 261 -d /var/lib/$PRGNAM -s /bin/false $MURMUR_USER"
+ echo ""
+ exit 1
+fi
+
+if [ "$ICE" = "no" ]; then
+ BUILD_ICE="-Dice=OFF"
+else
+ BUILD_ICE="-Dice=ON"
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+mv $SRCNAM-$VERSION.src $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+sed -e "s|CMAKE_CXX_STANDARD 14|CMAKE_CXX_STANDARD 17|" -i CMakeLists.txt
+mkdir -p build
+
+(cd build
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Dclient=OFF \
+ -Dserver=ON \
+ $BUILD_ICE \
+ -Dzeroconf=OFF ..
+
+make
+make install DESTDIR=$PKG
+)
+
+# remove useless manpage for broken server wrapper
+rm -f $PKG/usr/man/man1/murmur-user-wrapper.1
+
+mkdir -p \
+ $PKG/etc/{logrotate.d,rc.d} \
+ $PKG/var/{lib,log}/$PRGNAM
+
+# choose sane locations in Murmur configuration file, still old name
+sed \
+ -e "s,database=.*,database=/var/lib/$PRGNAM/$PRGNAM.sqlite," \
+ -e "s,;logfile=.*,logfile=/var/log/$PRGNAM/$PRGNAM.log," \
+ -e "s,;pidfile=.*,pidfile=/var/run/$PRGNAM/$PRGNAM.pid," \
+ -e "s,uname=.*,uname=$MURMUR_USER," \
+ $TMP/$PRGNAM-$VERSION/scripts/murmur.ini > $PKG/etc/$PRGNAM.ini.new
+
+# Slackware style logrotate
+sed \
+ -e "s,@LOGFILE@,/var/log/$PRGNAM/$PRGNAM.log," \
+ -e "s,@USER@,$MURMUR_USER,g" \
+ -e "s,@GROUP@,$MURMUR_GROUP,g" \
+ $CWD/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new
+
+sed \
+ -e "s,@USER@,$MURMUR_USER,g" \
+ -e "s,@GROUP@,$MURMUR_GROUP,g" \
+ $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
+
+chown root:$MURMUR_GROUP $PKG/etc/$PRGNAM.ini.new
+chmod o-rwx $PKG/etc/$PRGNAM.ini.new
+
+chown $MURMUR_USER:$MURMUR_GROUP $PKG/var/{lib,log}/$PRGNAM
+chmod o-rwx $PKG/var/lib/$PRGNAM
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+(
+cd $TMP/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES CODE_OF_CONDUCT.md COMMIT_GUIDELINES.md LICENSE README.md SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION
+)
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mumble-server/mumble-server.info b/network/mumble-server/mumble-server.info
new file mode 100644
index 0000000000..e00b5956a1
--- /dev/null
+++ b/network/mumble-server/mumble-server.info
@@ -0,0 +1,10 @@
+PRGNAM="mumble-server"
+VERSION="1.4.287"
+HOMEPAGE="https://wiki.mumble.info/wiki/Main_Page"
+DOWNLOAD="https://github.com/mumble-voip/mumble/releases/download/v1.4.287/mumble-1.4.287.tar.gz"
+MD5SUM="c9a2eb6413d165da606fb8d4657a1697"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="protobuf3"
+MAINTAINER="Edward W. Koenig"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/network/mumble-server/mumble-server.logrotate b/network/mumble-server/mumble-server.logrotate
new file mode 100644
index 0000000000..5abd3b2ac1
--- /dev/null
+++ b/network/mumble-server/mumble-server.logrotate
@@ -0,0 +1,16 @@
+@LOGFILE@ {
+ su @USER@ @GROUP@
+ weekly
+ rotate 7
+ compress
+ create 660 @USER@ @GROUP@
+ delaycompress
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ if [ -x /etc/rc.d/rc.mumble-server ]; then
+ /etc/rc.d/rc.mumble-server restart
+ fi
+ endscript
+}
diff --git a/network/mumble-server/rc.mumble-server b/network/mumble-server/rc.mumble-server
new file mode 100644
index 0000000000..0a409067c2
--- /dev/null
+++ b/network/mumble-server/rc.mumble-server
@@ -0,0 +1,44 @@
+#!/bin/bash
+
+PIDFILE=/var/run/mumble-server/mumble-server.pid
+
+murmur_start() {
+ echo -n "Starting Mumble-serverr: "
+ mkdir -p $(dirname $PIDFILE)
+ chown @USER@:@GROUP@ $(dirname $PIDFILE)
+
+ if [ ! -f $PIDFILE ]; then
+ /usr/bin/mumble-server -ini /etc/mumble-server.ini & > /dev/null 2>&1
+ echo "OK"
+ else
+ echo -n "Removing stale lock.. "
+ /bin/rm -f $PIDFILE
+ /usr/bin/mumble-server -ini /etc/mumble-server.ini & > /dev/null 2>&1
+ echo "OK"
+ fi
+}
+
+murmur_stop() {
+ echo -n "Stopping Mumble-server: "
+ if [ -f $PIDFILE ]; then
+ /bin/kill $(/bin/cat $PIDFILE)
+ /bin/rm -f $PIDFILE
+ echo "OK"
+ else
+ echo "Not Running"
+ fi
+}
+
+case "$1" in
+ start)
+ murmur_start
+ ;;
+ stop)
+ murmur_stop
+ ;;
+ restart)
+ murmur_stop && (/bin/sleep 1 && murmur_start)
+ ;;
+ *)
+ echo "Usage: rc.mumble-server {start|stop|restart}"
+esac
diff --git a/network/mumble-server/slack-desc b/network/mumble-server/slack-desc
new file mode 100644
index 0000000000..23b6c345b7
--- /dev/null
+++ b/network/mumble-server/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mumble-server: mumble-server (low latency voip server)
+mumble-server:
+mumble-server: Mumble-server is the VoIP server component for Mumble and is
+mumble-server: installed in a system-wide fashion, but can also be run by individual
+mumble-server: users. Each mumble-server process supports multiple virtual servers,
+mumble-server: each with their own user base and channel list. Administration of
+mumble-server: Mumble-server is done through D-Bus.
+mumble-server:
+mumble-server: Homepage: http://mumble.sourceforge.net/
+mumble-server:
+mumble-server:
diff --git a/network/mumble/README b/network/mumble/README
index c653790f03..bb85a2cbe5 100644
--- a/network/mumble/README
+++ b/network/mumble/README
@@ -5,28 +5,28 @@ can be compared to programs like Ventrilo or TeamSpeak.
If you have g15tools installed and want mumble to use it:
G15=yes ./mumble.SlackBuild
-If you want the mumble overlay:
- OVERLAY=yes ./mumble.SlackBuild
+If you don't want the mumble overlay:
+ OVERLAY=no ./mumble.SlackBuild
-If your system is x86_64 based, you can have this script build a
-32-bit libmumble. This will add in a 32-bit library for the
-mumble-overlay script to use for compatability. Please note, you
-*must* have a multilibbed system for this to work.
+If your system is x86_64 based, and you have the 32-bit multilib
+libraries, mumble will can build the 32-bit overlay
+library.
-To build the overlay with 32-bit compatability:
- OVERLAY=yes COMPAT32=yes ./mumble.SlackBuild
+ COMPAT32=yes ./mumble.SlackBuild
+
+Please note, you *must* have a multilibbed system for this to work.
+See the mumble documentation on how to use the mumble overlay.
Celt is no longer maintained, and dropped in is favor of opus.
-Celt-0.7.0 bundled for optional backware compatibility. SBo's celt
-is incompatible. If needed use:
- CELT070=yes ./mumble.SlackBuild
-
-Note: This does not build the mumble server (murmur).
-
-***NOTE: text-to-speech is now an available option in mumble with
-SPEECHD=yes and requires additional optional dependencies:
-speech-dispatcher
-and you will need one text-to-speech engine installed:
-flite
-festival
-espeak
+The bundled Celt is used for optional backware compatibility. To use
+your own try:
+
+ CELT=no ./mumble.SlackBuild
+
+Text-to-speech is the default (speechd and espeak). Disable with
+
+ SPEECHD=no ./mumble.SlackBuild
+
+Notes:
+- This does not build the mumble server (murmur).
+
diff --git a/network/mumble/mumble.SlackBuild b/network/mumble/mumble.SlackBuild
index 065babbc92..f9d372c349 100644
--- a/network/mumble/mumble.SlackBuild
+++ b/network/mumble/mumble.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Mumble
# Copyright 2011-2013 James Geboski <jgeboski@gmail.com>
-# Copyright 2014-2015 Edward W. Koenig <kingbeowulf@gmail.com>
+# Copyright 2014-2021 Edward W. Koenig <kingbeowulf@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,18 +23,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# New maintainer: Edward W. Koenig <kingbeowulf@gmail.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mumble
-VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.287}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
G15=${G15:-no}
-OVERLAY=${OVERLAY:-no}
+OVERLAY=${OVERLAY:-yes}
COMPAT32=${COMPAT32:-no}
-SPEECHD=${SPEECHD:-no}
-CELT070=${CELT070:-no}
+SPEECHD=${SPEECHD:-yes}
+CELT=${CELT:-yes}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,27 +69,37 @@ else
LIBDIRSUFFIX=""
fi
-BUILD_G15=""
-BUILD_OVERLAY=""
-
if [ "$G15" = "no" ]; then
- BUILD_G15="CONFIG+=no-g15"
+ BUILD_G15="-Dg15=OFF"
+else
+ BUILD_G15="-Dg15=ON"
fi
if [ "$OVERLAY" = "no" ]; then
- BUILD_OVERLAY="CONFIG+=no-overlay"
+ BUILD_OVERLAY="-Doverlay=OFF"
+else
+ BUILD_OVERLAY="-Doverlay=ON"
+fi
+
+if [ "$COMPAT32" = "no" ]; then
+ BUILD_OVERLAY32="-Doverlay-xcompile=OFF"
+else
+ BUILD_OVERLAY32="-Doverlay-xcompile=ON"
fi
if [ "$SPEECHD" = "no" ]; then
- BUILD_SPEECHD="CONFIG+=no-speechd"
+ BUILD_SPEECHD="-Dspeechd=OFF"
+else
+ BUILD_SPEECHD="-Dspeechd=ON"
fi
+
# Celt is no longer maintained, and dropped in
-# favor of opus. Celt-0.7.0 is bundled for optional
-# backware compatibility. SBo's celt is incompatible.
-if [ "CELT070" = "no" ]; then
- BUILD_CELT="CONFIG+=no-bundled-celt"
+# favor of opus. Celt is bundled for optional
+# backware compatibility.
+if [ "CELT" = "no" ]; then
+ BUILD_CELT="-Dbundled-celt=OFF"
else
- BUILD_CELT="CONFIG+=bundled-celt"
+ BUILD_CELT="-Dbundled-celt=ON"
fi
set -e
@@ -93,6 +109,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+mv $PRGNAM-$VERSION.src $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -101,85 +118,36 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake-qt5 -recursive main.pro \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- DEFINES*="PLUGIN_PATH=/usr/lib${LIBDIRSUFFIX}/mumble" \
- CONFIG+=no-server \
- CONFIG+=no-bundled-opus \
- CONFIG+=no-bundled-speex \
- CONFIG+=no-update \
- CONFIG+=no-embed-qt-translations \
- CONFIG+=no-ice \
- CONFIG+=no-bonjour \
- CONFIG+=no-qt4-legacy-compat \
+# Apply missing GTAV plugin patch for 32-bit alignment
+# https://github.com/mumble-voip/mumble/issues/5849
+patch -p1 < $CWD/positional-audio-plugin-gtav-32-bit-fix.patch
+
+sed -e "s|CMAKE_CXX_STANDARD 14|CMAKE_CXX_STANDARD 17|" -i CMakeLists.txt
+mkdir -p build
+cd build
+
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Dclient=ON \
+ -Dserver=OFF \
+ -Dbundled-opus=OFF \
+ -Dbundled-speex=OFF \
+ -Dupdate=OFF \
+ -Dbundle-qt-translations=OFF \
+ -Dwarnings-as-errors=OFF \
+ -Dzeroconf=OFF \
$BUILD_CELT \
+ $BUILD_SPEECHD \
$BUILD_G15 \
$BUILD_OVERLAY \
- $BUILD_SPEECHD
-
-make release
+ $BUILD_OVERLAY32 ..
-mkdir -p \
- $PKG/usr/bin \
- $PKG/usr/lib${LIBDIRSUFFIX}/mumble \
- $PKG/usr/man/man1 \
- $PKG/usr/share/{applications,pixmaps}
-
-install -m 755 release/mumble $PKG/usr/bin
-
-if [ "$CELT070" = "yes" ]; then
- cp -a release/libcelt0.so* $PKG/usr/lib${LIBDIRSUFFIX}/mumble
-fi
-
-install -m 644 \
- man/mumble-overlay.1 \
- man/mumble.1 \
- $PKG/usr/man/man1
-
-install -m 644 scripts/mumble.desktop $PKG/usr/share/applications
-install -m 644 icons/mumble.svg $PKG/usr/share/pixmaps
-
-find release/plugins -type f -name *.so \
- -exec install -m 755 {} $PKG/usr/lib${LIBDIRSUFFIX}/mumble \;
-
-# If the overlay was built, let's install the library for it
-if [ -e release/libmumble.so.$VERSION ]; then
- install -m 755 release/libmumble.so.$VERSION $PKG/usr/lib${LIBDIRSUFFIX}
- install -m 755 scripts/mumble-overlay $PKG/usr/bin
-
- cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf libmumble.so.$VERSION libmumble.so.1.2
- ln -sf libmumble.so.$VERSION libmumble.so.1
- ln -sf libmumble.so.$VERSION libmumble.so
- cd -
-fi
-
-# The mumble-overly script will look for a 32-bit libmumble on non-pure x86_64
-# systems. If the x86_64 based system has a multilib setup, the COMPAT32
-# variable can be set to 'yes' to build a 32-bit version of libmumble.
-if [ "$COMPAT32" = "yes" -a "$OVERLAY" = "yes" -a "$ARCH" = "x86_64" ]; then
- cd overlay_gl
- make clean
-
- qmake-qt5 \
- QMAKE_CFLAGS="-m32 -O2 -march=i486 -mtune=i686" \
- QMAKE_CXXFLAGS="-m32 -O2 -march=i486 -mtune=i686" \
- QMAKE_LFLAGS="-m32" \
- overlay_gl.pro
-
- make release DESTDIR_ADD=-32
- cd -
-
- mkdir -p $PKG/usr/lib
- install -m 755 release-32/libmumble.so.$VERSION $PKG/usr/lib
-
- cd $PKG/usr/lib
- ln -sf libmumble.so.$VERSION libmumble.so.1.2
- ln -sf libmumble.so.$VERSION libmumble.so.1
- ln -sf libmumble.so.$VERSION libmumble.so
- cd -
-fi
+make
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -188,7 +156,10 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE README README.Linux $PKG/usr/doc/$PRGNAM-$VERSION
+(
+cd $TMP/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGES CODE_OF_CONDUCT.md COMMIT_GUIDELINES.md LICENSE README.md SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION
+)
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -196,4 +167,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mumble/mumble.info b/network/mumble/mumble.info
index 7f38d1e60d..553d27e33f 100644
--- a/network/mumble/mumble.info
+++ b/network/mumble/mumble.info
@@ -1,10 +1,10 @@
PRGNAM="mumble"
-VERSION="1.3.3"
+VERSION="1.4.287"
HOMEPAGE="https://wiki.mumble.info/wiki/Main_Page"
-DOWNLOAD="https://github.com/mumble-voip/mumble/releases/download/1.3.3/mumble-1.3.3.tar.gz"
-MD5SUM="6f28a9627e5928f011a84be03be8f3da"
+DOWNLOAD="https://github.com/mumble-voip/mumble/releases/download/v1.4.287/mumble-1.4.287.tar.gz"
+MD5SUM="c9a2eb6413d165da606fb8d4657a1697"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="protobuf opus speex qt5"
+REQUIRES="protobuf3 poco"
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/network/mumble/positional-audio-plugin-gtav-32-bit-fix.patch b/network/mumble/positional-audio-plugin-gtav-32-bit-fix.patch
new file mode 100644
index 0000000000..59cf2120b3
--- /dev/null
+++ b/network/mumble/positional-audio-plugin-gtav-32-bit-fix.patch
@@ -0,0 +1,30 @@
+From 13c051b36b387356815cff5d685bc628b74ba136 Mon Sep 17 00:00:00 2001
+From: Davide Beatrici <git@davidebeatrici.dev>
+Date: Thu, 1 Sep 2022 23:32:57 +0200
+Subject: [PATCH] FIX(positional-audio): Force 8 bytes alignment for
+ CCameraAngles in GTAV plugin
+
+https://en.cppreference.com/w/cpp/language/alignas
+
+This fixes compilation when the implicit alignment is not 8 bytes.
+
+It can be the case with 32 bit targets.
+---
+ plugins/gtav/structs.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/gtav/structs.h b/plugins/gtav/structs.h
+index 2829dc11e1..0e4f76edab 100644
+--- a/plugins/gtav/structs.h
++++ b/plugins/gtav/structs.h
+@@ -118,7 +118,7 @@ struct CCameraManagerAngles {
+ ptr_t cameraAngles; // CCameraAngles *
+ };
+
+-struct CCameraAngles {
++struct alignas(8) CCameraAngles {
+ uint8_t pad1[960];
+ ptr_t playerAngles; // CPlayerAngles *
+ uint8_t pad2[60];
+
+
diff --git a/network/munge/README b/network/munge/README
index 3d3792de7a..7a6632501a 100644
--- a/network/munge/README
+++ b/network/munge/README
@@ -11,14 +11,14 @@ by a shared cryptographic key. Clients within this security realm can
create and validate credentials without the use of root privileges,
reserved ports, or platform-specific methods.
-On most platforms, the munged daemon does not require root privileges to run.
-If possible, you should run the daemon as a non-privileged user.
+On most platforms, the munged daemon does not require root privileges to
+run. If possible, you should run the daemon as a non-privileged user.
This can be specified in the init script /etc/rc.d/rc.munge.
# groupadd -g 310 munge
# useradd -u 310 -d /var/lib/munge -s /bin/false -g munge munge
-After installation a secret key file needs to be created. Follow instructions
-from:
+After installation a secret key file needs to be created. Follow
+instructions from:
https://github.com/dun/munge/wiki/Installation-Guide#creating-a-secret-key
diff --git a/network/munge/etc.default.munge b/network/munge/etc.default.munge
new file mode 100644
index 0000000000..70f9a98b85
--- /dev/null
+++ b/network/munge/etc.default.munge
@@ -0,0 +1,13 @@
+# MUNGE configuration
+
+# Pass additional command-line options to munged.
+# OPTIONS="--key-file=/etc/munge/munge.key --num-threads=2"
+
+# Adjust the scheduling priority of munged.
+# NICE=
+
+# Execute munged under another username.
+# USER="munge"
+
+# Execute munged under another groupname.
+# GROUP="munge"
diff --git a/network/munge/munge.SlackBuild b/network/munge/munge.SlackBuild
index 714c768926..ba623c7452 100644
--- a/network/munge/munge.SlackBuild
+++ b/network/munge/munge.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Munge
-# Copyright 2015 Emmanuel N. Millan, Mendoza, Argentina.
+# Copyright 2015-2024 Emmanuel N. Millan, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220308 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=munge
-VERSION=${VERSION:-0.5.13}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.5.16}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="AUTHORS COPYING COPYING.LESSER DISCLAIMER.LLNS DISCLAIMER.UC \
- HISTORY INSTALL JARGON META NEWS PLATFORMS QUICKSTART README README.MULTILIB"
+ HISTORY JARGON KEYS NEWS PLATFORMS QUICKSTART README README.MULTILIB THANKS"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +77,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -85,15 +94,23 @@ CXXFLAGS="$SLKCFLAGS" \
--host=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
# Remove systemd files
rm -rf $PKG/usr/lib/systemd/
mv $PKG/etc/rc.d/init.d/munge $PKG/etc/rc.d/rc.munge.new
-mv $PKG/etc/default/munge $PKG/etc/default/munge.new
rm -rf $PKG/etc/rc.d/init.d/
+# 20220308 bkw: sometimes, this file doesn't exist. but sometimes it
+# does. no idea why, no time to deal with it, just add it to git and
+# always install it.
+#mv $PKG/etc/default/munge $PKG/etc/default/munge.new
+
+rm -rf $PKG/etc/default/ # might or might not exist...
+mkdir -p $PKG/etc/default/
+cat $CWD/etc.default.munge > $PKG/etc/default/munge.new
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -101,9 +118,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/munge/munge.info b/network/munge/munge.info
index acebdf893e..7419b7fca8 100644
--- a/network/munge/munge.info
+++ b/network/munge/munge.info
@@ -1,8 +1,8 @@
PRGNAM="munge"
-VERSION="0.5.13"
+VERSION="0.5.16"
HOMEPAGE="https://dun.github.io/munge/"
-DOWNLOAD="https://github.com/dun/munge/releases/download/munge-0.5.13/munge-0.5.13.tar.xz"
-MD5SUM="9204f34aac7f0cc50880196f4a8f5f33"
+DOWNLOAD="https://github.com/dun/munge/releases/download/munge-0.5.16/munge-0.5.16.tar.xz"
+MD5SUM="c68e5226f075d240582113396ccb1fcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/murmur/README b/network/murmur/README
deleted file mode 100644
index 07923902c8..0000000000
--- a/network/murmur/README
+++ /dev/null
@@ -1,24 +0,0 @@
-Murmur is the VoIP server component for Mumble. Murmur is
-installed in a system-wide fashion, but can also be run by
-individual users. Each murmur process supports multiple virtual
-servers, each with their own user base and channel list.
-Administration of murmur is done through D-Bus.
-
-This script requires the system to have a murmur user and group:
-
- # groupadd -g 261 murmur
- # useradd -g murmur -u 261 -d /var/lib/murmur -s /bin/false murmur
-
-To use a different user and/or group:
-
- # MURMUR_USER=user MURMUR_GROUP=group ./murmur.SlackBuild
-
-To run murmur at boot:
-
- # chmod +x /etc/rc.d/rc.murmur
-
- Add the following to /etc/rc.d/rc.local:
-
- if [ -x /etc/rc.d/rc.murmur ]; then
- /etc/rc.d/rc.murmur start
- fi
diff --git a/network/murmur/doinst.sh b/network/murmur/doinst.sh
deleted file mode 100644
index 116fd0b4fa..0000000000
--- a/network/murmur/doinst.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
-
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
- fi
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-config etc/logrotate.d/murmur.new
-config etc/murmur.ini.new
-
-preserve_perms etc/rc.d/rc.murmur.new
diff --git a/network/murmur/murmur.SlackBuild b/network/murmur/murmur.SlackBuild
deleted file mode 100644
index ff1bd62d31..0000000000
--- a/network/murmur/murmur.SlackBuild
+++ /dev/null
@@ -1,154 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for murmur
-
-# Copyright 2014-2019 Edward W. Koenig <kingbeowulf@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-
-PRGNAM=murmur
-SRCNAM=mumble
-VERSION=${VERSION:-1.3.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-MURMUR_GROUP=${MURMUR_GROUP:-murmur}
-MURMUR_USER=${MURMUR_USER:-murmur}
-
-if ! getent group $MURMUR_GROUP; then
- echo "Group $MURMUR_GROUP does not exist. Create it with:"
- echo " # groupadd -g 261 $MURMUR_GROUP"
- echo""
- exit 1
-fi
-
-if ! getent passwd $MURMUR_USER; then
- echo "User $MURMUR_USER does not exist. Create it with:"
- echo " # useradd -g $MURMUR_GROUP -u 261 -d /var/lib/$PRGNAM -s /bin/false $MURMUR_USER"
- echo ""
- exit 1
-fi
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-qmake-qt5 \
- -recursive \
- main.pro \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- CONFIG+=no-update \
- CONFIG+=no-client \
- CONFIG+=no-ice \
- CONFIG+=no-bonjour
-
-make release
-
-mkdir -p \
- $PKG/etc/{logrotate.d,rc.d} \
- $PKG/usr/bin \
- $PKG/usr/man/man1 \
- $PKG/var/{lib,log,run}/$PRGNAM
-
-
-install -m 644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-install -m 755 release/murmurd $PKG/usr/bin
-install -m 644 man/murmurd.1 $PKG/usr/man/man1
-
-sed \
- -e "s,database=.*,database=/var/lib/$PRGNAM/$PRGNAM.sqlite," \
- -e "s,logfile=.*,logfile=/var/log/$PRGNAM/$PRGNAM.log," \
- -e "s,pidfile=.*,pidfile=/var/run/$PRGNAM/$PRGNAM.pid," \
- -e "s,uname=.*,uname=$MURMUR_USER," \
- scripts/murmur.ini.system > $PKG/etc/$PRGNAM.ini.new
-
-sed \
- -i "s,PIDFILE=.*,PIDFILE=/var/run/$PRGNAM/$PRGNAM.pid," \
- $PKG/etc/rc.d/rc.$PRGNAM.new
-
-sed \
- -e "s,@LOGFILE@,/var/log/$PRGNAM/$PRGNAM.log," \
- -e "s,@USER@,$MURMUR_USER,g" \
- -e "s,@GROUP@,$MURMUR_GROUP,g" \
- $CWD/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new
-
-chown root:$MURMUR_GROUP $PKG/etc/$PRGNAM.ini.new
-chmod o-rwx $PKG/etc/murmur.ini.new
-
-chown $MURMUR_USER:$MURMUR_GROUP $PKG/var/{lib,log,run}/$PRGNAM
-chmod o-rwx $PKG/var/lib/$PRGNAM
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES INSTALL LICENSE README README.Linux \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/murmur/murmur.info b/network/murmur/murmur.info
deleted file mode 100644
index aa080c78f6..0000000000
--- a/network/murmur/murmur.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="murmur"
-VERSION="1.3.3"
-HOMEPAGE="https://wiki.mumble.info/wiki/Main_Page"
-DOWNLOAD="https://github.com/mumble-voip/mumble/releases/download/1.3.3/mumble-1.3.3.tar.gz"
-MD5SUM="6f28a9627e5928f011a84be03be8f3da"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="protobuf qt5"
-MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
diff --git a/network/murmur/murmur.logrotate b/network/murmur/murmur.logrotate
deleted file mode 100644
index 4d0c2f82bf..0000000000
--- a/network/murmur/murmur.logrotate
+++ /dev/null
@@ -1,16 +0,0 @@
-@LOGFILE@ {
- su @USER@ @GROUP@
- weekly
- rotate 7
- compress
- create 660 @USER@ @GROUP@
- delaycompress
- missingok
- notifempty
- sharedscripts
- postrotate
- if [ -x /etc/rc.d/rc.murmur ]; then
- /etc/rc.d/rc.murmur restart
- fi
- endscript
-}
diff --git a/network/murmur/rc.murmur b/network/murmur/rc.murmur
deleted file mode 100644
index 90d3c99a40..0000000000
--- a/network/murmur/rc.murmur
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-PIDFILE=""
-
-murmur_start() {
- echo -n "Starting Murmur Server: "
- if [ ! -f $PIDFILE ]; then
- /usr/bin/murmurd -ini /etc/murmur.ini & > /dev/null 2>&1
- echo "OK"
- else
- echo -n "Removing stale lock.. "
- /bin/rm -f $PIDFILE
- /usr/bin/murmurd -ini /etc/murmur.ini & > /dev/null 2>&1
- echo "OK"
- fi
-}
-
-murmur_stop() {
- echo -n "Stopping Murmur: "
- if [ -f $PIDFILE ]; then
- /bin/kill $(/bin/cat $PIDFILE)
- /bin/rm -f $PIDFILE
- echo "OK"
- else
- echo "Not Running"
- fi
-}
-
-case "$1" in
- start)
- murmur_start
- ;;
- stop)
- murmur_stop
- ;;
- restart)
- murmur_stop && (/bin/sleep 1 && murmur_start)
- ;;
- *)
- echo "Usage: rc.murmur {start|stop|restart}"
-esac
diff --git a/network/murmur/slack-desc b/network/murmur/slack-desc
deleted file mode 100644
index c88ec71fe6..0000000000
--- a/network/murmur/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-murmur: murmur (low latency voip server)
-murmur:
-murmur: Murmur is the VoIP server component for Mumble. Murmur is
-murmur: installed in a system-wide fashion, but can also be run by
-murmur: individual users. Each murmur process supports multiple virtual
-murmur: servers, each with their own user base and channel list.
-murmur: Administration of murmur is done through D-Bus.
-murmur:
-murmur: Homepage: http://mumble.sourceforge.net/
-murmur:
-murmur:
diff --git a/network/museek+/README b/network/museek+/README
deleted file mode 100644
index 350f3838de..0000000000
--- a/network/museek+/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Museek+ is a file-sharing application for the Soulseek peer-to-peer network,
-written in C++. It's an enhanced version of Hyriand's original Museek
-(see http://museek.thegraveyard.org). It supports chat, transferring files,
-searching, user-management, shares browsing and more. The new features are:
-room searching, interests, buddy-only shares, banlists, icon themes, and
-font/color selecting.
-
-Museek+ consists of museekd (daemon), muscan (shares scanning tool), muscand
-(automated shares scanning tool), musetup (command-line configuration script),
-musetup-gtk (PyGTK configuration app), museeq (QT GUI client), mucous (curses
-python client), murmur (PyGTK client) and museekcontrol (command-line python
-client).
-
-After installing museek+ follow these steps:
- 1) Configure your settings with musetup: server, username, password,
- interface password, download directory, shared directories.
- 2) Run museekd.
- 3) Run museeq, mucous, or museekcontrol.
- 4) Login into museekd via the interface socket or host:port and the
- interface password.
-
-An example init script (rc.museekd) for the museekd daemon is provided.
-Feel free to modify it for your needs. Use it at your own risk.
diff --git a/network/museek+/doinst.sh b/network/museek+/doinst.sh
deleted file mode 100644
index 74a3bd3a48..0000000000
--- a/network/museek+/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.museekd.new:
-#if [ -e etc/rc.d/rc.museekd ]; then
-# cp -a etc/rc.d/rc.museekd etc/rc.d/rc.museekd.new.incoming
-# cat etc/rc.d/rc.museekd.new > etc/rc.d/rc.museekd.new.incoming
-# mv etc/rc.d/rc.museekd.new.incoming etc/rc.d/rc.museekd.new
-#fi
-#
-#config etc/rc.d/rc.museekd.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/network/museek+/museek+.SlackBuild b/network/museek+/museek+.SlackBuild
deleted file mode 100644
index 347b8903bf..0000000000
--- a/network/museek+/museek+.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for museek+
-# Written by Iskar Enev <iskar.enev[@]gmail.com>
-# Currently maintained by B. Watson <yalhcru@gmail.com>
-
-PRGNAM=museek+
-VERSION=${VERSION:-0.2}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# This patch fixes the python modules install path
-# to be architecture aware
-patch -p0 < $CWD/museek-python.diff
-
-cmake -DPREFIX=/usr \
- -DMANDIR=man \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
- -DSWIG_DIR:PATH=`swig -swiglib` \
- -DEVERYTHING=1 \
- -DTRAYICON=1 \
- -DBINRELOC=0
-
-make VERBOSE=1
-make install VERBOSE=1 DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING CREDITS FILES LICENSE README TODO INSTALL \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/rc.museekd > $PKG/usr/doc/$PRGNAM-$VERSION/rc.museekd.new
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/museek+/museek+.info b/network/museek+/museek+.info
deleted file mode 100644
index 8ee1bc1126..0000000000
--- a/network/museek+/museek+.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="museek+"
-VERSION="0.2"
-HOMEPAGE="http://museek-plus.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/museek-plus/museek+-0.2.tar.bz2"
-MD5SUM="66d3eab341e1cd6642f83d329a18c3b5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libxml++"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/network/museek+/museek-python.diff b/network/museek+/museek-python.diff
deleted file mode 100644
index 844d17d624..0000000000
--- a/network/museek+/museek-python.diff
+++ /dev/null
@@ -1,44 +0,0 @@
---- murmur/CMakeLists.txt 2008-09-22 11:49:33.000000000 +0300
-+++ murmur/CMakeLists.txt.1 2009-09-01 12:04:34.000000000 +0300
-@@ -25,7 +25,7 @@
- ${PYMURMUR_FILES}
- )
-
--EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-+EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-
- if (NOT sitepackages OR error)
- MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error})
---- mucous/CMakeLists.txt 2008-09-22 11:49:33.000000000 +0300
-+++ mucous/CMakeLists.txt.1 2009-09-01 12:04:55.000000000 +0300
-@@ -28,7 +28,7 @@
- ${PYMUCOUS_FILES}
- )
-
--EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-+EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-
- if (NOT sitepackages OR error)
- MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error})
---- python-bindings/CMakeLists.txt 2008-09-22 11:49:33.000000000 +0300
-+++ python-bindings/CMakeLists.txt.1 2009-09-01 12:04:15.000000000 +0300
-@@ -18,7 +18,7 @@
- museek/driver.py
- )
-
--EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-+EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-
- if (NOT sitepackages OR error)
- MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error})
---- Mucipher/PyMucipher/CMakeLists.txt 2008-10-07 19:58:27.000000000 +0300
-+++ Mucipher/PyMucipher/CMakeLists.txt.1 2009-09-01 12:05:46.000000000 +0300
-@@ -37,7 +37,7 @@
- ${CMAKE_CURRENT_BINARY_DIR}/mucipherc.py
- ${CMAKE_CURRENT_BINARY_DIR}/_mucipherc.so
- )
--EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-+EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error)
-
- if (NOT sitepackages OR error)
- MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error})
diff --git a/network/museek+/rc.museekd b/network/museek+/rc.museekd
deleted file mode 100644
index 8c74eb95ab..0000000000
--- a/network/museek+/rc.museekd
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-#
-# This shell script takes care of starting and stopping museekd.
-
-MUSEEKD=/usr/bin/museekd
-MUSETUP=/usr/bin/musetup
-MUSCAN=/usr/bin/muscan
-MUSOCKET=/tmp/museekd.root
-PIDFILE=/var/run/museekd.pid
-DBDIR=/var/museek
-CONFIG=$DBDIR/museekd.xml
-CHOWNSOCKET=YES
-
-case "$1" in
- start)
- if [ ! -d $DBDIR ]; then
- mkdir $DBDIR
- fi
- if [ ! -f $CONFIG ]; then
- echo -n "Starting Museek Setup"
- echo
- if [ ! -d $DBDIR ]; then
- mkdir $DBDIR
- fi
- $MUSETUP $CONFIG
- echo
- fi
- if [ -f $PIDFILE ]; then
- echo -n "Museek Daemon already running (or zombie pid file in /var/run/)"
- echo
- exit
- fi
- echo -n "Starting Museek Daemon"
- $MUSEEKD -c $CONFIG &>/dev/null &
- PID="$!"
- sleep 2
- if kill -0 $PID # pid check
- then
- if [ $CHOWNSOCKET = YES ];
- then
- if [ -e $MUSOCKET ]; then chmod 666 $MUSOCKET
- # access the museekd socket from other users, may be a security risk on multiuser systems
- fi
- fi
- echo $PID > $PIDFILE
- echo
- else
- echo -n "Museekd isn't starting up properly. Check your Config file, \nor run 'museekd -c /var/museek/museekd.xml' for verbose messages."
- echo
- fi
- ;;
- stop)
- echo -n "Stopping Museek Daemon"
- echo
- if [ -f $PIDFILE ]; then
- kill -15 $(cat $PIDFILE) &>/dev/null
- rm $PIDFILE
- else
- echo -n "Museek Daemon not running"
- echo
- exit
- fi
- ;;
- reconnect)
- if [ -f $PIDFILE ]; then
- echo -n "Attempting to reconnect Museekd to the Server"
- kill -ALRM $(cat $PIDFILE) &>/dev/null
- echo
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- rescan)
- echo -n "Starting Muscan, rescanning shared files"
- echo
- $MUSCAN -c $CONFIG -r -v
- echo
- $0 reload
- ;;
- setup)
- echo -n "Starting Museek Setup"
- echo
- if [ ! -d $DBDIR ]; then
- mkdir $DBDIR
- fi
- $MUSETUP $CONFIG
- echo
- ;;
- reload)
- if [ -f $PIDFILE ]; then
- echo -n "Reloading Museek Daemon to update Shares"
- kill -HUP $(cat $PIDFILE)
- echo
- else
- echo -n "Museek Daemon not running, can't reload shares"
- echo
- fi
- ;;
- *)
- echo "usage: $0 {start|stop|restart|rescan|reconnect|setup|reload}"
- echo -n
-esac
diff --git a/network/museek+/slack-desc b/network/museek+/slack-desc
deleted file mode 100644
index 58f0d98ace..0000000000
--- a/network/museek+/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-museek+: museek+ (file-sharing application)
-museek+:
-museek+: Museek+ is a file-sharing application for the Soulseek p2p network,
-museek+: written in C++. It's an enhanced version of Hyriand's original Museek
-museek+: (http://museek.thegraveyard.org). It supports chat, transferring
-museek+: files, searching, user-management, sharing, banlists, interests
-museek+: and more. Museek+ consists of museekd (daemon), muscan (shares
-museek+: scanning tool), muscand (automated shares scanning tool), musetup
-museek+: (command-line configuration script), musetup-gtk (PyGTK configuration
-museek+: app), museeq (QT GUI client), mucous (curses python client),
-museek+: museekcontrol (command-line python client) and murmur (PyGTK client).
diff --git a/network/mysecureshell/README b/network/mysecureshell/README
index 43e5369b35..4c0ccbda7b 100644
--- a/network/mysecureshell/README
+++ b/network/mysecureshell/README
@@ -1,9 +1,9 @@
MySecureShell (sftp server based on OpenSSH's internal sftp-server)
-MySecureShell is a replacement for the OpenSSH sftp-server subsystem that
-offers advanced features such as jailing, group-based access controls,
-and up/download limits. The configuration file is easy to read and
-resembles apache/ProFTPd.
+MySecureShell is a replacement for the OpenSSH sftp-server subsystem
+that offers advanced features such as jailing, group-based access
+controls, and up/download limits. The configuration file is easy to
+read and resembles apache/ProFTPd.
After installing the package, add the following to your sshd_config,
commenting out the previous sftp entry if there was one:
@@ -11,4 +11,3 @@ commenting out the previous sftp entry if there was one:
Subsystem sftp /bin/MySecureShell -c sftp-server
and restart sshd (/etc/rc.d/rc.sshd restart)
-
diff --git a/network/mysecureshell/mysecureshell.SlackBuild b/network/mysecureshell/mysecureshell.SlackBuild
index b846c9dcd4..2522481c94 100644
--- a/network/mysecureshell/mysecureshell.SlackBuild
+++ b/network/mysecureshell/mysecureshell.SlackBuild
@@ -1,32 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MySecureShell
# Written by adaptr <jeroen@adaptr.nl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mysecureshell
VERSION=${VERSION:-1.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
## The source has an underscore
SRCNAME=$PRGNAM\_$VERSION
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nagios/README b/network/nagios/README
index f08b8b64c3..950695f0ca 100644
--- a/network/nagios/README
+++ b/network/nagios/README
@@ -1,6 +1,6 @@
-Nagios is a powerful monitoring system that enables organizations to identify
-and resolve IT infrastructure problems before they affect critical business
-processes.
+Nagios is a powerful monitoring system that enables organizations to
+identify and resolve IT infrastructure problems before they affect
+critical business processes.
For some functions (most notably the "map" function), you need to have X
installed on your server. You do not have to start X though, nagios just
@@ -9,7 +9,8 @@ needs some of the libraries and fonts.
For a useful setup, you will want to have monitoring-plugins installed
(nagios-plugins is also an option, but make sure to edit resource.cfg).
-Check the included 'README.SLACKWARE' file for additional setup instructions.
+Check the included 'README.SLACKWARE' file for additional setup
+instructions.
Lots of information is available in the included documentation, and even
more can be found on the nagios site and wiki <http://wiki.nagios.org>.
diff --git a/network/nagios/default-init.in.diff b/network/nagios/default-init.in.diff
new file mode 100644
index 0000000000..f1b3bf8373
--- /dev/null
+++ b/network/nagios/default-init.in.diff
@@ -0,0 +1,13 @@
+--- nagios-4.4.6/startup/default-init.in.orig 2020-04-28 22:48:29.000000000 +0200
++++ nagios-4.4.6/startup/default-init.in 2021-07-31 23:32:21.895857400 +0200
+@@ -180,6 +180,10 @@
+
+ check_config
+
++ NagiosRunDir=`dirname $NagiosRunFile`
++ mkdir -p $NagiosRunDir
++ chown $NagiosUser:$NagiosGroup $NagiosRunDir
++
+ if test -f $NagiosRunFile; then
+ NagiosPID=`head -n 1 $NagiosRunFile`
+ if status_nagios; then
diff --git a/network/nagios/nagios.SlackBuild b/network/nagios/nagios.SlackBuild
index d19ea44f60..1a607c99db 100644
--- a/network/nagios/nagios.SlackBuild
+++ b/network/nagios/nagios.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nagios
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2014, 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nagios
-VERSION=${VERSION:-4.3.4}
+VERSION=${VERSION:-4.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +47,14 @@ for i in $(echo $DOCROOT | tr "/" " "); do
RELPATH="${RELPATH}../"
done
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,7 +115,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+# Fix /var/run usage
+patch -p1 <$CWD/default-init.in.diff
+
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
./configure \
--prefix=/usr \
--sbindir=/usr/sbin/$PRGNAM \
@@ -119,6 +132,7 @@ CFLAGS="$SLKCFLAGS" \
--with-httpd-conf=/etc/httpd/extra \
--with-checkresult-dir=/var/spool/$PRGNAM \
--with-init-dir=/etc/rc.d \
+ --with-init-type=sysv \
--with-lockfile=/var/run/nagios/nagios.lock
make all
@@ -161,25 +175,29 @@ chmod -R g-w,o-rx $PKG/etc/$PRGNAM
mkdir -p $PKG/var/run/nagios
# Change init script and leave it -x
+mv $PKG/etc/init.d $PKG/etc/rc.d
mv $PKG/etc/rc.d/$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
chmod -x $PKG/etc/rc.d/rc.$PRGNAM.new
# Move documentation to right location
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- Changelog INSTALLING LEGAL LICENSE README THANKS UPGRADING contrib \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md Changelog INSTALLING LEGAL LICENSE README.md \
+ THANKS UPGRADING contrib $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/$DOCROOT/$PRGNAM/docs $PKG/usr/doc/$PRGNAM-$VERSION/html
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+# Move cgi files to their place
+mkdir -p $PKG/usr/sbin/$PRGNAM
+mv $PKG/usr/sbin/*.cgi $PKG/usr/sbin/$PRGNAM/
+
# Fixup some ownership and permission issues
chown root:root $PKG/usr/sbin
chown -R root:nagios $PKG/usr/sbin/$PRGNAM
chmod -R 0754 $PKG/usr/sbin/$PRGNAM
chown root:root $PKG/usr/bin
-chmod 0755 $PKG/usr/bin
+chmod 0755 $PKG/usr/{,s}bin
chown root:nagios $PKG/usr/bin/*
chmod 0754 $PKG/usr/bin/*
chown nagios:nagios $PKG/var/run/$PRGNAM
@@ -190,4 +208,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nagios/nagios.info b/network/nagios/nagios.info
index d1a7bcbd3a..ccd88f61a4 100644
--- a/network/nagios/nagios.info
+++ b/network/nagios/nagios.info
@@ -1,8 +1,8 @@
PRGNAM="nagios"
-VERSION="4.3.4"
+VERSION="4.4.6"
HOMEPAGE="https://www.nagios.org/"
-DOWNLOAD="https://downloads.sourceforge.net/nagios/nagios-4.3.4.tar.gz"
-MD5SUM="e2229f9a98c2577d51576daf19713e4d"
+DOWNLOAD="https://downloads.sourceforge.net/nagios/nagios-4.4.6.tar.gz"
+MD5SUM="ba849e9487e13859381eb117127bfee2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/nagiosgraph/nagiosgraph.SlackBuild b/network/nagiosgraph/nagiosgraph.SlackBuild
index 07b1c469a7..02c320a83f 100644
--- a/network/nagiosgraph/nagiosgraph.SlackBuild
+++ b/network/nagiosgraph/nagiosgraph.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nagiosgraph
@@ -22,12 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nagiosgraph
VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/naim/naim.SlackBuild b/network/naim/naim.SlackBuild
index a46f07f17a..fa846a7cdb 100644
--- a/network/naim/naim.SlackBuild
+++ b/network/naim/naim.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for naim
# Written by Nai (bluedbs@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=naim
VERSION=${VERSION:-0.11.8.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild
index ed344fb1ac..9ecb5d019a 100644
--- a/network/nbd/nbd.SlackBuild
+++ b/network/nbd/nbd.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NBD (Network Block Device)
# Previously maintained by Stu Miller <slackbuilds@go4it2day.com>
-# Maintained 2013-2021 by Christoph Willing, Brisbane Australia
+# Maintained 2013-2022 by Christoph Willing, Brisbane Australia
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -31,10 +31,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nbd
-VERSION=${VERSION:-3.21}
+VERSION=${VERSION:-3.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +47,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -111,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nbd/nbd.info b/network/nbd/nbd.info
index 9d79ae552a..dbd8a708c6 100644
--- a/network/nbd/nbd.info
+++ b/network/nbd/nbd.info
@@ -1,8 +1,8 @@
PRGNAM="nbd"
-VERSION="3.21"
+VERSION="3.24"
HOMEPAGE="https://nbd.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/nbd/nbd-3.21.tar.xz"
-MD5SUM="c51c4c500fe1ed84c3d5d5dd2ca71d23"
+DOWNLOAD="https://downloads.sourceforge.net/nbd/nbd-3.24.tar.xz"
+MD5SUM="a6d9e7bbc311a2ed07ef84a58b82b5dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/nbtscan/nbtscan.SlackBuild b/network/nbtscan/nbtscan.SlackBuild
index 8d103e04c7..8993b678d0 100644
--- a/network/nbtscan/nbtscan.SlackBuild
+++ b/network/nbtscan/nbtscan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nbtscan
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nbtscan
VERSION=${VERSION:-1.0.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nbwmon/nbwmon.SlackBuild b/network/nbwmon/nbwmon.SlackBuild
index 49808a3ea5..fc1b6be8df 100644
--- a/network/nbwmon/nbwmon.SlackBuild
+++ b/network/nbwmon/nbwmon.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009, 2010, 2011, 2012, 2013, 2014 Eric Hameleers, Eindhoven, Netherlands
# Slackware build script for nbwmon
-# Copyright 2015 Aaditya Bagga <aaditya_gnulinux@zoho.com>>
+# Copyright 2015 Aaditya <aaditya_gnulinux@zoho.com>>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,20 +24,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nbwmon
VERSION=${VERSION:-0.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nbwmon/nbwmon.info b/network/nbwmon/nbwmon.info
index d5e5d46a79..e8afeaa521 100644
--- a/network/nbwmon/nbwmon.info
+++ b/network/nbwmon/nbwmon.info
@@ -1,10 +1,10 @@
PRGNAM="nbwmon"
VERSION="0.5.2"
HOMEPAGE="https://github.com/causes-/nbwmon"
-DOWNLOAD="https://github.com/causes-/nbwmon/archive/0.5.2.tar.gz"
+DOWNLOAD="https://github.com/causes-/nbwmon/archive/0.5.2/nbwmon-0.5.2.tar.gz"
MD5SUM="d337ba71c670823e5878fa87c94d9c4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Aaditya Bagga"
+MAINTAINER="Aaditya"
EMAIL="aaditya_gnulinux@zoho.com"
diff --git a/network/ncp/README b/network/ncp/README
index 21f741ce7d..44ea9d5e9d 100644
--- a/network/ncp/README
+++ b/network/ncp/README
@@ -12,5 +12,5 @@ Basically it works like this:
announcement packets proclaiming that someone wants to send
something.
 4. You type "npoll". npoll waits until it sees one of these packets.
- 5. The files are copied with tar over a TCP socket, so permissions and
- file dates (and if you are root, owners) are preserved.
+ 5. The files are copied with tar over a TCP socket, so permissions
+ and file dates (and if you are root, owners) are preserved.
diff --git a/network/ncp/ncp.SlackBuild b/network/ncp/ncp.SlackBuild
index 3163631086..4f18477fee 100644
--- a/network/ncp/ncp.SlackBuild
+++ b/network/ncp/ncp.SlackBuild
@@ -1,15 +1,22 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ncp
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230706 bkw: BUILD=4, someone updated libowfat and broke my build.
+# 20230103 bkw: BUILD=3, how did I miss broken symlinks?
+# 20220207 bkw: BUILD=2, libowfat changed its dir structure.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ncp
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,18 +26,29 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# 20220207 bkw: libowfat doesn't use standard lib or lib64 in its dir,
+# which is annoying.
+L=/opt/diet/lib-i386
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
+ L=/opt/diet/lib-x86_64
SLKCFLAGS="-O2 -fPIC"
else
+ # this will fail, would someone who uses arm or aarch64 please add
+ # them here?
SLKCFLAGS="-O2"
fi
@@ -49,11 +67,19 @@ chmod 644 *
sed -i 's,ln -f,ln -s,' GNUmakefile
# The libowfat detection stuff needs a little help...
-make PREFIX=/usr CFLAGS="$SLKCFLAGS -Wl,-s -I/opt/diet/include/libowfat"
+
+INC="-I/opt/diet/include/libowfat -I/opt/diet/include"
+make PREFIX=/usr CFLAGS="$SLKCFLAGS -Wl,-s $INC -L$L"
make install PREFIX=$PKG/usr
gzip $PKG/usr/man/man1/*.1
ln -s npush.1.gz $PKG/usr/man/man1/npoll.1.gz
+# 20230103 bkw: grrr. no DESTDIR support in the Makefile, so we get
+# broken symlinks.
+rm -f $PKG/usr/bin/{npush,npoll}
+ln -s ncp $PKG/usr/bin/npush
+ln -s ncp $PKG/usr/bin/npoll
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -66,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ncp/ncp.info b/network/ncp/ncp.info
index 8da636b238..cce23cfaed 100644
--- a/network/ncp/ncp.info
+++ b/network/ncp/ncp.info
@@ -1,10 +1,10 @@
PRGNAM="ncp"
VERSION="1.2.4"
-HOMEPAGE="http://www.fefe.de/ncp/"
-DOWNLOAD="http://dl.fefe.de/ncp-1.2.4.tar.bz2"
+HOMEPAGE="https://www.fefe.de/ncp/"
+DOWNLOAD="https://dl.fefe.de/ncp-1.2.4.tar.bz2"
MD5SUM="421c4855bd3148b7d0a4342942b4bf13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libowfat"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/ncrack/README b/network/ncrack/README
index 25c21e81f7..8678b315ca 100644
--- a/network/ncrack/README
+++ b/network/ncrack/README
@@ -1,15 +1,15 @@
-Ncrack is a high-speed network authentication cracking tool.
-It was built to help companies secure their networks by proactively
-testing all their hosts and networking devices for poor passwords.
-Security professionals also rely on Ncrack when auditing their clients.
-Ncrack was designed using a modular approach, a command-line syntax
-similar to Nmap and a dynamic engine that can adapt its behaviour based
+Ncrack is a high-speed network authentication cracking tool. It was
+built to help companies secure their networks by proactively testing
+all their hosts and networking devices for poor passwords. Security
+professionals also rely on Ncrack when auditing their clients. Ncrack
+was designed using a modular approach, a command-line syntax similar
+to Nmap and a dynamic engine that can adapt its behaviour based
on network feedback. It allows for rapid, yet reliable large-scale
auditing of multiple hosts.
Ncrack's features include a very flexible interface granting the user
full control of network operations, allowing for very sophisticated
bruteforcing attacks, timing templates for ease of use, runtime
-interaction similar to Nmap's and many more. Protocols supported include
-RDP, SSH, HTTP(S), SMB, POP3(S), VNC, FTP, SIP, Redis, PostgreSQL, MySQL,
-and Telnet.
+interaction similar to Nmap's and many more. Protocols supported
+include RDP, SSH, HTTP(S), SMB, POP3(S), VNC, FTP, SIP, Redis,
+PostgreSQL, MySQL, and Telnet.
diff --git a/network/ncrack/ncrack.SlackBuild b/network/ncrack/ncrack.SlackBuild
index e7fa0d50de..e65deaaa95 100644
--- a/network/ncrack/ncrack.SlackBuild
+++ b/network/ncrack/ncrack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ncrack
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ncrack
-VERSION=${VERSION:-0.6}
-SRCVER=${VERSION}.0
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$SRCVER
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,8 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -std=gnu11 -fcommon" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -98,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ncrack/ncrack.info b/network/ncrack/ncrack.info
index 7448777c83..ebb67cfbed 100644
--- a/network/ncrack/ncrack.info
+++ b/network/ncrack/ncrack.info
@@ -1,8 +1,8 @@
PRGNAM="ncrack"
-VERSION="0.6"
+VERSION="0.7"
HOMEPAGE="https://nmap.org/ncrack/"
-DOWNLOAD="https://nmap.org/ncrack/dist/ncrack-0.6.tar.gz"
-MD5SUM="bde92d8b16949432c7e8b04614314e85"
+DOWNLOAD="https://nmap.org/ncrack/dist/ncrack-0.7.tar.gz"
+MD5SUM="a6417241c994d8687dcfef1f40ac3f34"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/neomutt/README b/network/neomutt/README
index 44dbb59cb1..bb806f5098 100644
--- a/network/neomutt/README
+++ b/network/neomutt/README
@@ -7,8 +7,6 @@ for selecting groups of messages.
Optional dependencies:
* notmuch - fast mail indexer for maildir
-* kyotocabinet - straightforward implementation of DBM
-* libidn2 - GNU IDN Library version 2
* lua53 - Powerful, fast, light-weight, embeddable scripting language
NOTE: this won't work if you have multiple versions of lua installed.
@@ -16,4 +14,4 @@ This script builds neomutt without optional support
for idn2, notmuch, lua and kyotocabinet.
You can be enabled with:
-# USENOTMUCH=yes USEKYOTO=yes USEIDN2=yes USELUA=yes ./neomutt.SlackBuild
+# USENOTMUCH=yes USELUA=yes ./neomutt.SlackBuild
diff --git a/network/neomutt/neomutt.SlackBuild b/network/neomutt/neomutt.SlackBuild
index c070bae4ec..51d1f52858 100644
--- a/network/neomutt/neomutt.SlackBuild
+++ b/network/neomutt/neomutt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for neomutt
#
-# Copyright 2016-2020 Corrado Franco (https://corradofranco.it)
+# Copyright 2016-2022 Corrado Franco (https://corradofranco.it)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
@@ -25,10 +25,13 @@
#
# Latest version of this SlackBuild at https://github.com/conraid/SlackBuilds
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=neomutt
-VERSION=${VERSION:-20200925}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20240329}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z ${ARCH:=""} ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z ${ARCH:=""} ]; then
esac
fi
-cd $(dirname $0) ; CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,9 +68,7 @@ else
fi
[ ${USELUA:-no} == 'yes' ] && LUA="--lua" || LUA=""
-[ ${USEKYOTO:-no} == 'yes' ] && KYOTO="--kyotocabinet" || KYOTO=""
[ ${USENOTMUCH:-no} == 'yes' ] && NOTMUCH="--notmuch" || NOTMUCH=""
-[ ${USEIDN2:-no} == 'yes' ] && IDN2="--idn2 --disable-idn" || IDN2=""
set -eu
@@ -95,22 +103,29 @@ CXXFLAGS="$SLKCFLAGS" \
--locales-fix \
--sqlite \
--full-doc \
+ --idn2 \
+ --autocrypt \
+ --lmdb \
--host=$ARCH-slackware-linux \
--build=$ARCH-slackware-linux \
- $NOTMUCH $KYOTO $IDN2 $LUA
+ $NOTMUCH $LUA
make
make DESTDIR=$PKG install
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# install desktop file and icons
install -Dm644 $CWD/files/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
for i in 32 64 128 256; do
- install -Dm644 contrib/logo/$PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
+ install -Dm644 data/logo/$PRGNAM-$i.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
done
# Rename conf files
@@ -124,4 +139,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/network/neomutt/neomutt.info b/network/neomutt/neomutt.info
index f79fd525db..fab43ad595 100644
--- a/network/neomutt/neomutt.info
+++ b/network/neomutt/neomutt.info
@@ -1,8 +1,8 @@
PRGNAM="neomutt"
-VERSION="20200925"
+VERSION="20240329"
HOMEPAGE="https://github.com/neomutt/neomutt"
-DOWNLOAD="https://github.com/neomutt/neomutt/archive/20200925/neomutt-20200925.tar.gz"
-MD5SUM="9123ea811c8c0b292669d088b3018b9e"
+DOWNLOAD="https://github.com/neomutt/neomutt/archive/20240329/neomutt-20240329.tar.gz"
+MD5SUM="3ea5e0b732ecff28a2105041602e6222"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/nessus/README b/network/nessus/README
new file mode 100644
index 0000000000..6833489890
--- /dev/null
+++ b/network/nessus/README
@@ -0,0 +1,7 @@
+Nessus Vulnerability Scanner
+
+Nessus Professional, the industry's most widely deployed vulnerability
+assessment solution helps you reduce your organization's attack surface
+and ensure compliance. Nessus features high-speed asset discovery,
+configuration auditing, target profiling, malware detection, sensitive
+data discovery, and more.
diff --git a/network/nessus/doinst.sh b/network/nessus/doinst.sh
new file mode 100644
index 0000000000..d27a6df2c1
--- /dev/null
+++ b/network/nessus/doinst.sh
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+
+config() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+if [ -e /etc/rc.d/rc.nessusd ]; then
+ chroot . sh /etc/rc.d/rc.nessusd status > /dev/null 2>&1
+ RETVAL=$?
+ if [ "$RETVAL" == "0" ]; then
+ chroot . sh /etc/rc.d/rc.nessusd stop > /dev/null 2>&1
+ fi
+fi
+
+preserve_perms etc/rc.d/rc.nessusd.new
+
+echo ""
+echo "Unpacking Nessus Core Components..."
+chroot . /opt/nessus/sbin/nessuscli install /opt/nessus/var/nessus/plugins-core.tar.gz
+
+echo " - You can start Nessus by typing sh /etc/rc.d/rc.nessusd start"
+echo " - Then go to https://"`hostname`":8834/ to configure your scanner"
+echo ""
diff --git a/network/nessus/nessus.SlackBuild b/network/nessus/nessus.SlackBuild
new file mode 100644
index 0000000000..780603c7f3
--- /dev/null
+++ b/network/nessus/nessus.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/bash
+
+# Slackware build script for Tenable(TM) Nessus Vulnerability Scanner
+
+# Copyright 2019-2024 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nessus
+VERSION=${VERSION:-10.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "Unsupported platform"
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+cd $PKG
+
+rpm2cpio $CWD/Nessus-$VERSION-*.rpm | cpio --extract --make-directories --verbose
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/etc/rc.d
+
+# Remove SystemD and Firewalld rules
+rm -rf $PKG/usr/lib
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/rc.nessusd > $PKG/etc/rc.d/rc.nessusd.new
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nessus/nessus.info b/network/nessus/nessus.info
new file mode 100644
index 0000000000..aabe4b852c
--- /dev/null
+++ b/network/nessus/nessus.info
@@ -0,0 +1,10 @@
+PRGNAM="nessus"
+VERSION="10.7.0"
+HOMEPAGE="https://www.tenable.com/products/nessus"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://www.tenable.com/downloads/api/v2/pages/nessus/files/Nessus-10.7.0-el7.x86_64.rpm"
+MD5SUM_x86_64="618234819d2fc39c49890abb595c87e8"
+REQUIRES=""
+MAINTAINER="Giuseppe Di Terlizzi"
+EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/network/nessus/rc.nessusd b/network/nessus/rc.nessusd
new file mode 100644
index 0000000000..a4a9c47376
--- /dev/null
+++ b/network/nessus/rc.nessusd
@@ -0,0 +1,112 @@
+#!/bin/sh
+
+# Tenable(TM) Nessus Scanner Start & Stop script
+#
+
+# Source function library.
+if [ -f /etc/init.d/functions ] ; then
+ . /etc/init.d/functions
+else
+ exit 0
+fi
+
+# Load nessusd environment
+[ -f /etc/sysconfig/nessusd ] && . /etc/sysconfig/nessusd
+
+# Avoid using root's TMPDIR
+unset TMPDIR
+
+test -x /opt/nessus/sbin/nessus-service || {
+ echo "Nessus not properly installed"
+ exit 1
+}
+
+RETVAL=0
+
+NESSUS_PID_FILE="/opt/nessus/var/nessus/nessus-service.pid"
+NESSUS_NAME="Nessus"
+
+start() {
+
+ echo -n $"Starting Nessus services: "
+
+ /opt/nessus/sbin/nessus-service -q -D
+ RETVAL=$?
+
+ if [ "$RETVAL" == "0" ]; then
+ success
+ else
+ failure
+ fi
+
+ echo
+ return 0
+
+}
+
+stop() {
+
+ echo -n $"Shutting down Nessus services: "
+
+ test -f "$NESSUS_PID_FILE" && kill `cat /opt/nessus/var/nessus/nessus-service.pid`
+ RETVAL=$?
+
+ sleep 4
+
+ if [ "$RETVAL" == "0" ]; then
+ success
+ else
+ failure
+ fi
+
+ echo
+ return 0
+
+}
+
+restart() {
+ stop
+ start
+}
+
+status() {
+
+ if [ -f "$NESSUS_PID_FILE" ]; then
+
+ exp_pid=$(cat $NESSUS_PID_FILE)
+ pid_dir="/proc/$exp_pid"
+
+ if [ -d "$pid_dir" ]; then
+ if [ "$(cat ${pid_dir}/stat | awk '{print $2}' | tr -d '()')" == "nessus-service" ]; then
+ echo "$NESSUS_NAME is running"
+ return 0
+ fi
+ fi
+
+ fi
+
+ echo "$NESSUS_NAME is not running"
+ return 3
+
+}
+
+
+case "$1" in
+ start)
+ start
+ ;;
+ status)
+ status
+ ;;
+ stop)
+ stop
+ ;;
+ restart)
+ restart
+ ;;
+ *)
+ echo $"Usage: $0 {start|stop|restart|status}"
+ exit 1
+esac
+
+exit $?
diff --git a/network/nessus/slack-desc b/network/nessus/slack-desc
new file mode 100644
index 0000000000..f89856a44a
--- /dev/null
+++ b/network/nessus/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nessus: nessus (Nessus Vulnerability Scanner)
+nessus:
+nessus: Nessus Professional, the industry's most widely deployed
+nessus: vulnerability assessment solution helps you reduce your
+nessus: organization's attack surface and ensure compliance. Nessus features
+nessus: high-speed asset discovery, configuration auditing, target profiling,
+nessus: malware detection, sensitive data discovery, and more.
+nessus:
+nessus:
+nessus: Homepage: https://www.tenable.com/products/nessus
+nessus:
diff --git a/network/netcat-openbsd/netcat-openbsd.SlackBuild b/network/netcat-openbsd/netcat-openbsd.SlackBuild
index c36b771854..eb0218d7ea 100644
--- a/network/netcat-openbsd/netcat-openbsd.SlackBuild
+++ b/network/netcat-openbsd/netcat-openbsd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netcat-openbsd
#
@@ -24,11 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netcat-openbsd
-VERSION=${VERSION:-1.217_1}
+VERSION=${VERSION:-7.4_1}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,7 +89,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make CFLAGS="$SLKCFLAGS -DNETCAT_VERSION=\"\\\"$VERSION\\\"\""
+make
mkdir -p $PKG/usr/bin/ $PKG/usr/man/man1/
install -s -m 0755 nc $PKG/usr/bin/nc.openbsd
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netcat-openbsd/netcat-openbsd.info b/network/netcat-openbsd/netcat-openbsd.info
index 9e6928ecd8..d28e0d33d7 100644
--- a/network/netcat-openbsd/netcat-openbsd.info
+++ b/network/netcat-openbsd/netcat-openbsd.info
@@ -1,8 +1,8 @@
PRGNAM="netcat-openbsd"
-VERSION="1.217_1"
+VERSION="7.4_1"
HOMEPAGE="https://github.com/duncan-roe/netcat-openbsd"
-DOWNLOAD="https://github.com/duncan-roe/netcat-openbsd/archive/1.217-1/netcat-openbsd-1.217-1.tar.gz"
-MD5SUM="8babccac46097ae5b746ffa00c01ac0f"
+DOWNLOAD="https://github.com/duncan-roe/netcat-openbsd/archive/refs/tags/7.4-1/netcat-openbsd-7.4-1.tar.gz"
+MD5SUM="f38105e0185390273075177379e6273d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README% libbsd"
diff --git a/network/netcat/README b/network/netcat/README
index ae3a8f1d03..c65b54b32b 100644
--- a/network/netcat/README
+++ b/network/netcat/README
@@ -1,8 +1,8 @@
-GNU Netcat is a featured networking utility which reads and writes data
-across network connections, using the TCP/IP protocol.
+GNU Netcat is a featured networking utility which reads and writes
+data across network connections, using the TCP/IP protocol.
-It is designed to be a reliable "back-end" tool that can be used directly
-or easily driven by other programs and scripts. At the same time, it is a
-feature-rich network debugging and exploration tool, since it can create
-almost any kind of connection you would need and has several interesting
-built-in capabilities.
+It is designed to be a reliable "back-end" tool that can be used
+directly or easily driven by other programs and scripts. At the same
+time, it is a feature-rich network debugging and exploration tool,
+since it can create almost any kind of connection you would need and
+has several interesting built-in capabilities.
diff --git a/network/netcat/netcat.SlackBuild b/network/netcat/netcat.SlackBuild
index 264acf5a6b..d2ae8e92a3 100644
--- a/network/netcat/netcat.SlackBuild
+++ b/network/netcat/netcat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for netcat.
#
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netcat
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -109,4 +119,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netdiscover/README b/network/netdiscover/README
index 1f3c41ba6f..d2622ed000 100644
--- a/network/netdiscover/README
+++ b/network/netdiscover/README
@@ -1,3 +1,4 @@
-Netdiscover is a network address discovering tool, developed mainly for those
-wireless networks without dhcp server, it also works on hub/switched networks.
-It is based on arp packets, it will send arp requests and sniff for replys.
+Netdiscover is a network address discovering tool, developed mainly
+for those wireless networks without dhcp server, it also works on
+hub/switched networks. It is based on ARP packets, it will send ARP
+requests and sniff for replys.
diff --git a/network/netdiscover/netdiscover.SlackBuild b/network/netdiscover/netdiscover.SlackBuild
index c589216ad8..492169248b 100644
--- a/network/netdiscover/netdiscover.SlackBuild
+++ b/network/netdiscover/netdiscover.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netdiscover
@@ -18,11 +18,14 @@
# 0. You just DO WHAT THE FUCK YOU WANT TO.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netdiscover
VERSION=${VERSION:-053dda2}
COMMIT=${COMMIT:-053dda2f3a8cdb749f8100735d78af427aa417b0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,7 +35,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,7 +81,7 @@ sed -i -e 's:share/man:man:' CMakeLists.txt
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -fcommon" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
@@ -93,4 +103,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netdrive-connector/README b/network/netdrive-connector/README
index 29036fe8d9..048f715b30 100644
--- a/network/netdrive-connector/README
+++ b/network/netdrive-connector/README
@@ -4,10 +4,9 @@ Utility to setup mountable SFTP and WebDAV connections.
Includes a GUI tool written in PyQt4 and command line tools as follows:
- - add-sftp-connector : sets up a mountable SFTP (sshfs) connection
- - remove-sftp-connector : removes a mountable SFTP (sshfs) connection
- - add-webdav-connector : sets up a mountable webdav (davfs2) connection
- - remove-webdav-connector : removes a mountable webdav (davfs2) connection
+add-sftp-connector: sets up a mountable SFTP (sshfs) connection
+remove-sftp-connector: removes a mountable SFTP (sshfs) connection
+add-webdav-connector: sets up a mountable webdav (davfs2) connection
+remove-webdav-connector: removes a mountable webdav (davfs2) connection
-Either one of the dependencies (davfs2, sshfs-fuse) can be left out,
-if you choose not to use that connection type.
+davfs2 can be left out if you choose not to use that connection type.
diff --git a/network/netdrive-connector/netdrive-connector.SlackBuild b/network/netdrive-connector/netdrive-connector.SlackBuild
index ab200b4059..30a2765878 100644
--- a/network/netdrive-connector/netdrive-connector.SlackBuild
+++ b/network/netdrive-connector/netdrive-connector.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netdrive-connector
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netdrive-connector
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -82,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netdrive-connector/netdrive-connector.info b/network/netdrive-connector/netdrive-connector.info
index 02ffb0b05e..3b228f2dd9 100644
--- a/network/netdrive-connector/netdrive-connector.info
+++ b/network/netdrive-connector/netdrive-connector.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/ethoms/netdrive-connector/releases/download/v1.1/ne
MD5SUM="4cedc2949a7b3017f5db7c4b6d99404d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="davfs2 sshfs-fuse"
+REQUIRES="davfs2"
MAINTAINER="Euan Thoms"
EMAIL="euan at potensol dot com"
diff --git a/network/nethogs/nethogs.SlackBuild b/network/nethogs/nethogs.SlackBuild
index 3438e14b8c..181782a549 100644
--- a/network/nethogs/nethogs.SlackBuild
+++ b/network/nethogs/nethogs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <nethogs>
# Written by Michales Michaloudes korgie@gmail.com
@@ -6,10 +6,13 @@
# Modified by Erik Hanson <erik@slackbuilds.org>
# sed in SLKCFLAGS and removed template left-overs.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nethogs
-VERSION=${VERSION:-0.8.5}
+VERSION=${VERSION:-0.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,11 +80,11 @@ gzip -9 $PKG/usr/man/man8/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION/
-cp -a DESIGN Changelog INSTALL README.* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING DESIGN INSTALL README.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nethogs/nethogs.info b/network/nethogs/nethogs.info
index cd4b591ee4..6abd087985 100644
--- a/network/nethogs/nethogs.info
+++ b/network/nethogs/nethogs.info
@@ -1,8 +1,8 @@
PRGNAM="nethogs"
-VERSION="0.8.5"
+VERSION="0.8.6"
HOMEPAGE="https://github.com/raboof/nethogs"
-DOWNLOAD="https://github.com/raboof/nethogs/archive/v0.8.5/nethogs-0.8.5.tar.gz"
-MD5SUM="002fd7227d8ed2a8b0fcb0a1b44731bf"
+DOWNLOAD="https://github.com/raboof/nethogs/archive/v0.8.6/nethogs-0.8.6.tar.gz"
+MD5SUM="e7acdcf0fd73975eb8bdf3704c952b2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/netperf/001-fix-inlining.patch b/network/netperf/001-fix-inlining.patch
new file mode 100644
index 0000000000..eb8c09b846
--- /dev/null
+++ b/network/netperf/001-fix-inlining.patch
@@ -0,0 +1,32 @@
+# Copyright Seblu 2015
+--- a/src/netlib.c 2015-08-04 20:30:43.449468815 +0200
++++ b/src/netlib.c 2015-08-04 20:31:40.317792002 +0200
+@@ -3997,11 +3997,7 @@
+ }
+ }
+
+-#ifdef WIN32
+-__forceinline void demo_interval_display(double actual_interval)
+-#else
+- inline void demo_interval_display(double actual_interval)
+-#endif
++void demo_interval_display(double actual_interval)
+ {
+ static int count = 0;
+ struct timeval now;
+@@ -4060,15 +4056,7 @@
+ important compilers have supported such a construct so it should
+ not be a big deal. raj 2012-01-23 */
+
+-#ifdef WIN32
+-/* It would seem that the Microsoft compiler will not inline across
+- source files. So there is little point in having an inline
+- directive in that situation. Of course that makes me wonder if an
+- inline directive has to appear in netlib.h... */
+ void demo_interval_tick(uint32_t units)
+-#else
+- inline void demo_interval_tick(uint32_t units)
+-#endif
+ {
+ double actual_interval = 0.0;
+
diff --git a/network/netperf/netperf.SlackBuild b/network/netperf/netperf.SlackBuild
index 7a89d146f4..a7c1b3b5a6 100644
--- a/network/netperf/netperf.SlackBuild
+++ b/network/netperf/netperf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netperf.
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netperf
-VERSION=${VERSION:-2.6.0}
+VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -69,7 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+patch -p1 < $CWD/001-fix-inlining.patch
+
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -91,12 +103,11 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING* ChangeLog INSTALL NEWS README* doc \
+cp -a AUTHORS COPYING* ChangeLog INSTALL README* doc \
$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netperf/netperf.info b/network/netperf/netperf.info
index d5b403eeb9..08e8298f2c 100644
--- a/network/netperf/netperf.info
+++ b/network/netperf/netperf.info
@@ -1,8 +1,8 @@
PRGNAM="netperf"
-VERSION="2.6.0"
+VERSION="2.7.0"
HOMEPAGE="http://www.netperf.org/netperf"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/netperf-2.6.0.tar.bz2"
-MD5SUM="9654ffdfd4c4f2c93ce3733cd9ed9236"
+DOWNLOAD="https://github.com/HewlettPackard/netperf/archive/netperf-2.7.0/netperf-netperf-2.7.0.tar.gz"
+MD5SUM="e0d45b5bca1eee2aef0155de82366202"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/netqmail/README b/network/netqmail/README
index bc385cb16b..0abd5b9cd3 100644
--- a/network/netqmail/README
+++ b/network/netqmail/README
@@ -14,4 +14,5 @@ The following 2 changes are made to the installed layout:
Please see README.SBo for important information on how to build and
install this package.
-You can perform test installs to a chroot environment - see tests/README.
+You can perform test installs to a chroot environment - see
+tests/README.
diff --git a/network/netqmail/netqmail.SlackBuild b/network/netqmail/netqmail.SlackBuild
index d967339a8e..3a49cf1008 100644
--- a/network/netqmail/netqmail.SlackBuild
+++ b/network/netqmail/netqmail.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netqmail
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netqmail
VERSION=${VERSION:-1.06}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -270,4 +280,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netqmail/netqmail.info b/network/netqmail/netqmail.info
index fa425f3c70..35bd0e2e11 100644
--- a/network/netqmail/netqmail.info
+++ b/network/netqmail/netqmail.info
@@ -1,7 +1,7 @@
PRGNAM="netqmail"
VERSION="1.06"
-HOMEPAGE="http://www.qmail.org/netqmail/"
-DOWNLOAD="http://www.qmail.org/netqmail-1.06.tar.gz"
+HOMEPAGE="http://netqmail.org/"
+DOWNLOAD="http://netqmail.org/netqmail-1.06.tar.gz"
MD5SUM="c922f776140b2c83043a6195901c67d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/netsniff-ng/netsniff-ng.SlackBuild b/network/netsniff-ng/netsniff-ng.SlackBuild
index 9690f034ad..8855337e85 100644
--- a/network/netsniff-ng/netsniff-ng.SlackBuild
+++ b/network/netsniff-ng/netsniff-ng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netsniff-ng
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netsniff-ng
VERSION=${VERSION:-0.6.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netstat-nat/netstat-nat.SlackBuild b/network/netstat-nat/netstat-nat.SlackBuild
index 705b0fe8de..8683fea296 100644
--- a/network/netstat-nat/netstat-nat.SlackBuild
+++ b/network/netstat-nat/netstat-nat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netstat-nat
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netstat-nat
VERSION=${VERSION:-1.4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netsurf/README b/network/netsurf/README
index c99baf10ac..5128197079 100644
--- a/network/netsurf/README
+++ b/network/netsurf/README
@@ -1,6 +1,6 @@
-NetSurf is a free, open source web browser. It is written in C and released
-under the GNU Public Licence version 2. NetSurf has its own layout and
-rendering engine entirely written from scratch. It is small and capable of
-handling many of the web standards in use today.
+NetSurf is a free, open source web browser. It is written in C and
+released under the GNU Public Licence version 2. NetSurf has its own
+layout and rendering engine entirely written from scratch. It is small
+and capable of handling many of the web standards in use today.
Build-time requires: perl-html-parser
diff --git a/network/netsurf/enable-deprecated.diff b/network/netsurf/enable-deprecated.diff
deleted file mode 100644
index 3378406e85..0000000000
--- a/network/netsurf/enable-deprecated.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/netsurf/gtk/Makefile.target 2015-03-21 20:50:22.018730471 +0300
-+++ b/netsurf/gtk/Makefile.target 2015-03-22 11:38:07.809544850 +0300
-@@ -34,7 +34,6 @@
-
- # GTK and GLIB flags to disable depricated usage
- GTKDEPFLAGS := -DG_DISABLE_SINGLE_INCLUDES \
-- -DG_DISABLE_DEPRECATED \
- -DGTK_DISABLE_SINGLE_INCLUDES \
- -DGTK_DISABLE_DEPRECATED \
- -DGTK_MULTIHEAD_SAFE \
diff --git a/network/netsurf/netsurf.SlackBuild b/network/netsurf/netsurf.SlackBuild
index 649dd16b9a..44634ce5f7 100644
--- a/network/netsurf/netsurf.SlackBuild
+++ b/network/netsurf/netsurf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for netsurf
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=netsurf
-VERSION=${VERSION:-3.8}
+VERSION=${VERSION:-3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/netsurf/netsurf.desktop b/network/netsurf/netsurf.desktop
index 256cd87298..0a46c65a1a 100644
--- a/network/netsurf/netsurf.desktop
+++ b/network/netsurf/netsurf.desktop
@@ -3,7 +3,7 @@ Type=Application
Name=Netsurf
GenericName=Web Browser
Comment=Lightweight web browser
-Exec=netsurf-gtk %U
+Exec=netsurf-gtk2 %U
Icon=netsurf
Terminal=false
StartupNotify=false
diff --git a/network/netsurf/netsurf.info b/network/netsurf/netsurf.info
index a63840e0a4..76745e7077 100644
--- a/network/netsurf/netsurf.info
+++ b/network/netsurf/netsurf.info
@@ -1,8 +1,8 @@
PRGNAM="netsurf"
-VERSION="3.8"
+VERSION="3.10"
HOMEPAGE="http://www.netsurf-browser.org"
-DOWNLOAD="https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-3.8.tar.gz"
-MD5SUM="cf3e00b98b630d552ae694be52e23c8a"
+DOWNLOAD="https://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-3.10.tar.gz"
+MD5SUM="f5b2ea34c85775941ab3c2144783d396"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-html-parser"
diff --git a/network/newsboat/README b/network/newsboat/README
index a3f047cc4f..245f4911b1 100644
--- a/network/newsboat/README
+++ b/network/newsboat/README
@@ -1,5 +1,5 @@
-Newsboat is a fork of Newsbeuter, an open-source RSS/Atom feed reader for text
-terminals. Newsboat's configurability and features make it a good choice for
-users that want a fast feed reader controlled by the keyboard. Newsboat can
-sync with TinyTinyRSS and other online feed readers. It can also download
-podcasts distributed through RSS feeds.
+Newsboat is a fork of Newsbeuter, an open-source RSS/Atom feed reader
+for text terminals. Newsboat's configurability and features make it a
+good choice for users that want a fast feed reader controlled by the
+keyboard. Newsboat can sync with TinyTinyRSS and other online feed
+readers. It can also download podcasts distributed through RSS feeds.
diff --git a/network/newsboat/newsboat.SlackBuild b/network/newsboat/newsboat.SlackBuild
index 4e36a04515..5a66aba35e 100644
--- a/network/newsboat/newsboat.SlackBuild
+++ b/network/newsboat/newsboat.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for newsboat
# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# Copyright 2019-2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2019-2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022-2023 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=newsboat
-VERSION=${VERSION:-2.22.1}
+VERSION=${VERSION:-2.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +46,11 @@ if [ -z "$ARCH" ]; then
fi
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,15 +58,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- CARGOTARGET="--target i586-unknown-linux-gnu"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- CARGOTARGET="--target i686-unknown-linux-gnu"
-elif [ "$ARCH" = "x86_64" ]; then
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- CARGOTARGET="--target x86_64-unknown-linux-gnu"
+ CARGOTARGET="--target $ARCH-unknown-linux-gnu"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -76,7 +84,7 @@ cd $PRGNAM-$VERSION
# build offline
# configuration tells cargo to use the configured directory
-# for dependencies intead of downloading from crates.io
+# for dependencies instead of downloading from crates.io
mkdir .cargo
cat << EOF >> .cargo/config
[source.crates-io]
@@ -92,11 +100,19 @@ mkdir vendor
(
cd vendor
- grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
- sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
- awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
- grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
-
+ grep -h -A 4 "\[\[package\]\]" \
+ $(find "../" -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4, $5 }' | \
+ sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep " source=" | \
+ sed 's/ dependencies=.*$//' | \
+ sed 's/ source=[^ ]*//' | \
+ sed 's/ checksum=/=/' | \
+ sort -u | \
+ while read -r dep ; do
+
+ cksum="$(printf "%s\n" "$dep" | cut -d= -f3)"
ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
@@ -115,9 +131,7 @@ mkdir vendor
) | sed '$ s/,$//'
printf " },\n"
- printf ' "package": "'
-
- sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
+ printf ' "package": "%s"' "$cksum"
printf "}\n"
} > $dep-$ver/.cargo-checksum.json
@@ -136,6 +150,15 @@ if [ "$CARGOTARGET" != "" ] ; then
sed -i "s|target/release|target/$RELEASEDIR/release|" Makefile
fi
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
+export CARGO_HOME=.cargo
+
CXXFLAGS="$SLKCFLAGS" \
CARGO_FLAGS="$CARGOTARGET" \
make -j1 prefix=/usr
@@ -161,4 +184,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/newsboat/newsboat.info b/network/newsboat/newsboat.info
index 90d2fc34e0..57a50f27b5 100644
--- a/network/newsboat/newsboat.info
+++ b/network/newsboat/newsboat.info
@@ -1,204 +1,240 @@
PRGNAM="newsboat"
-VERSION="2.22.1"
+VERSION="2.34"
HOMEPAGE="https://www.newsboat.org/"
-DOWNLOAD="https://newsboat.org/releases/2.22.1/newsboat-2.22.1.tar.xz \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/addr2line/addr2line-0.13.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/adler/adler-0.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.7.13.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/arrayvec/arrayvec-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/backtrace/backtrace-0.3.50.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bit-set/bit-set-0.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bit-vec/bit-vec-0.6.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/bitvec/bitvec-0.19.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/block/block-0.1.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/byteorder/byteorder-1.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.60.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/chrono/chrono-0.4.19.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/codespan-reporting/codespan-reporting-0.9.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/curl-sys/curl-sys-0.4.39+curl-7.74.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cxx-build/cxx-build-0.5.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cxx/cxx-0.5.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cxxbridge-flags/cxxbridge-flags-0.5.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/cxxbridge-macro/cxxbridge-macro-0.5.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/fnv/fnv-1.0.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/form_urlencoded/form_urlencoded-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/funty/funty-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.1.15.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/gettext-rs/gettext-rs-0.5.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/gettext-sys/gettext-sys-0.19.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/gimli/gimli-0.22.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/idna/idna-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/lexical-core/lexical-core-0.7.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.81.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/libz-sys/libz-sys-1.1.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/link-cplusplus/link-cplusplus-1.0.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/locale_config/locale_config-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/malloc_buf/malloc_buf-0.0.6.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/matches/matches-0.1.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.3.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/miniz_oxide/miniz_oxide-0.4.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/natord/natord-1.0.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/nom/nom-6.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-integer/num-integer-0.1.43.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/num-traits/num-traits-0.2.12.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/objc-foundation/objc-foundation-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/objc/objc-0.2.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/objc_id/objc_id-0.1.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/object/object-0.20.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/once_cell/once_cell-1.5.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-sys/openssl-sys-0.9.58.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/percent-encoding/percent-encoding-2.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.18.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ppv-lite86/ppv-lite86-0.2.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.24.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/proptest/proptest-0.10.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/quick-error/quick-error-1.2.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.7.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/radium/radium-0.5.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.7.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.2.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.5.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_xorshift/rand_xorshift-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.57.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-syntax/regex-syntax-0.6.18.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/regex/regex-1.3.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc-demangle/rustc-demangle-0.1.16.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/rusty-fork/rusty-fork-0.3.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/ryu/ryu-1.0.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/scratch/scratch-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/section_testing/section_testing-0.0.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/static_assertions/static_assertions-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.48.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tap/tap-1.0.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tempfile/tempfile-3.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/termcolor/termcolor-1.1.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/thread_local/thread_local-1.0.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.44.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/tinyvec/tinyvec-0.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-bidi/unicode-bidi-0.3.4.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-normalization/unicode-normalization-0.1.13.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.8.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/url/url-2.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/vcpkg/vcpkg-0.2.10.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.2.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wait-timeout/wait-timeout-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.10.0+wasi-snapshot-preview1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-util/winapi-util-0.1.5.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/wyz/wyz-0.2.0.crate \
- https://crates-io.s3-us-west-1.amazonaws.com/crates/xdg/xdg-2.2.0.crate"
-MD5SUM="b72d4c5daf2549a0ff6bd5c88287af37 \
- 936439213c803e7cc32c7910466952e3 \
- c9d0c8f38c6686e47c29fe9b409c25c2 \
- 837ec91351db79aee59d6c96111460b0 \
- 38a5278571eefda86428a8ebfc1cedc2 \
- c6443ec8d007c729ba5482008d0c864d \
- 769f657c808eb79e1cf70bc0f4cdb5b5 \
- 8f8acc3c1caff2043085a0cc28a92757 \
- 90ba73709b69e02ca4e8a6fad0fb8c9d \
- 6799c26a7eacaf8e58d3e45c6c5add89 \
- f353cf73f811990f1529b637065de949 \
+DOWNLOAD="https://newsboat.org/releases/2.34/newsboat-2.34.tar.xz \
+ https://static.crates.io/crates/addr2line/addr2line-0.21.0.crate \
+ https://static.crates.io/crates/adler/adler-1.0.2.crate \
+ https://static.crates.io/crates/aho-corasick/aho-corasick-1.1.1.crate \
+ https://static.crates.io/crates/android-tzdata/android-tzdata-0.1.1.crate \
+ https://static.crates.io/crates/android_system_properties/android_system_properties-0.1.5.crate \
+ https://static.crates.io/crates/autocfg/autocfg-1.1.0.crate \
+ https://static.crates.io/crates/backtrace/backtrace-0.3.69.crate \
+ https://static.crates.io/crates/bit-set/bit-set-0.5.3.crate \
+ https://static.crates.io/crates/bit-vec/bit-vec-0.6.3.crate \
+ https://static.crates.io/crates/bitflags/bitflags-1.3.2.crate \
+ https://static.crates.io/crates/bitflags/bitflags-2.4.1.crate \
+ https://static.crates.io/crates/block/block-0.1.6.crate \
+ https://static.crates.io/crates/bumpalo/bumpalo-3.14.0.crate \
+ https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate \
+ https://static.crates.io/crates/cc/cc-1.0.83.crate \
+ https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://static.crates.io/crates/chrono/chrono-0.4.31.crate \
+ https://static.crates.io/crates/codespan-reporting/codespan-reporting-0.11.1.crate \
+ https://static.crates.io/crates/core-foundation-sys/core-foundation-sys-0.8.4.crate \
+ https://static.crates.io/crates/curl-sys/curl-sys-0.4.70%2Bcurl-8.5.0.crate \
+ https://static.crates.io/crates/cxx-build/cxx-build-1.0.111.crate \
+ https://static.crates.io/crates/cxx/cxx-1.0.111.crate \
+ https://static.crates.io/crates/cxxbridge-flags/cxxbridge-flags-1.0.111.crate \
+ https://static.crates.io/crates/cxxbridge-macro/cxxbridge-macro-1.0.111.crate \
+ https://static.crates.io/crates/errno-dragonfly/errno-dragonfly-0.1.2.crate \
+ https://static.crates.io/crates/errno/errno-0.3.3.crate \
+ https://static.crates.io/crates/fastrand/fastrand-2.0.1.crate \
+ https://static.crates.io/crates/fnv/fnv-1.0.7.crate \
+ https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.2.1.crate \
+ https://static.crates.io/crates/getrandom/getrandom-0.2.10.crate \
+ https://static.crates.io/crates/gettext-rs/gettext-rs-0.7.0.crate \
+ https://static.crates.io/crates/gettext-sys/gettext-sys-0.21.3.crate \
+ https://static.crates.io/crates/gimli/gimli-0.28.0.crate \
+ https://static.crates.io/crates/iana-time-zone-haiku/iana-time-zone-haiku-0.1.2.crate \
+ https://static.crates.io/crates/iana-time-zone/iana-time-zone-0.1.57.crate \
+ https://static.crates.io/crates/idna/idna-0.5.0.crate \
+ https://static.crates.io/crates/js-sys/js-sys-0.3.64.crate \
+ https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://static.crates.io/crates/lexopt/lexopt-0.3.0.crate \
+ https://static.crates.io/crates/libc/libc-0.2.151.crate \
+ https://static.crates.io/crates/libm/libm-0.2.7.crate \
+ https://static.crates.io/crates/libz-sys/libz-sys-1.1.12.crate \
+ https://static.crates.io/crates/link-cplusplus/link-cplusplus-1.0.9.crate \
+ https://static.crates.io/crates/linux-raw-sys/linux-raw-sys-0.4.10.crate \
+ https://static.crates.io/crates/locale_config/locale_config-0.3.0.crate \
+ https://static.crates.io/crates/log/log-0.4.20.crate \
+ https://static.crates.io/crates/malloc_buf/malloc_buf-0.0.6.crate \
+ https://static.crates.io/crates/md5/md5-0.7.0.crate \
+ https://static.crates.io/crates/memchr/memchr-2.6.3.crate \
+ https://static.crates.io/crates/minimal-lexical/minimal-lexical-0.2.1.crate \
+ https://static.crates.io/crates/miniz_oxide/miniz_oxide-0.7.1.crate \
+ https://static.crates.io/crates/natord/natord-1.0.9.crate \
+ https://static.crates.io/crates/nom/nom-7.1.3.crate \
+ https://static.crates.io/crates/num-traits/num-traits-0.2.16.crate \
+ https://static.crates.io/crates/objc-foundation/objc-foundation-0.1.1.crate \
+ https://static.crates.io/crates/objc/objc-0.2.7.crate \
+ https://static.crates.io/crates/objc_id/objc_id-0.1.1.crate \
+ https://static.crates.io/crates/object/object-0.32.1.crate \
+ https://static.crates.io/crates/once_cell/once_cell-1.18.0.crate \
+ https://static.crates.io/crates/percent-encoding/percent-encoding-2.3.1.crate \
+ https://static.crates.io/crates/pkg-config/pkg-config-0.3.27.crate \
+ https://static.crates.io/crates/ppv-lite86/ppv-lite86-0.2.17.crate \
+ https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.67.crate \
+ https://static.crates.io/crates/proptest/proptest-1.2.0.crate \
+ https://static.crates.io/crates/quick-error/quick-error-1.2.3.crate \
+ https://static.crates.io/crates/quote/quote-1.0.33.crate \
+ https://static.crates.io/crates/rand/rand-0.8.5.crate \
+ https://static.crates.io/crates/rand_chacha/rand_chacha-0.3.1.crate \
+ https://static.crates.io/crates/rand_core/rand_core-0.6.4.crate \
+ https://static.crates.io/crates/rand_xorshift/rand_xorshift-0.3.0.crate \
+ https://static.crates.io/crates/redox_syscall/redox_syscall-0.4.1.crate \
+ https://static.crates.io/crates/regex-automata/regex-automata-0.3.8.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.6.29.crate \
+ https://static.crates.io/crates/regex-syntax/regex-syntax-0.7.5.crate \
+ https://static.crates.io/crates/regex/regex-1.9.5.crate \
+ https://static.crates.io/crates/rustc-demangle/rustc-demangle-0.1.23.crate \
+ https://static.crates.io/crates/rustix/rustix-0.38.21.crate \
+ https://static.crates.io/crates/rusty-fork/rusty-fork-0.3.0.crate \
+ https://static.crates.io/crates/scratch/scratch-1.0.7.crate \
+ https://static.crates.io/crates/section_testing/section_testing-0.0.5.crate \
+ https://static.crates.io/crates/syn/syn-2.0.37.crate \
+ https://static.crates.io/crates/temp-dir/temp-dir-0.1.11.crate \
+ https://static.crates.io/crates/tempfile/tempfile-3.8.1.crate \
+ https://static.crates.io/crates/termcolor/termcolor-1.3.0.crate \
+ https://static.crates.io/crates/tinyvec/tinyvec-1.6.0.crate \
+ https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.1.crate \
+ https://static.crates.io/crates/unarray/unarray-0.1.4.crate \
+ https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.13.crate \
+ https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.12.crate \
+ https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.22.crate \
+ https://static.crates.io/crates/unicode-width/unicode-width-0.1.11.crate \
+ https://static.crates.io/crates/url/url-2.5.0.crate \
+ https://static.crates.io/crates/vcpkg/vcpkg-0.2.15.crate \
+ https://static.crates.io/crates/wait-timeout/wait-timeout-0.2.0.crate \
+ https://static.crates.io/crates/wasi/wasi-0.11.0%2Bwasi-snapshot-preview1.crate \
+ https://static.crates.io/crates/wasm-bindgen-backend/wasm-bindgen-backend-0.2.87.crate \
+ https://static.crates.io/crates/wasm-bindgen-macro-support/wasm-bindgen-macro-support-0.2.87.crate \
+ https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.87.crate \
+ https://static.crates.io/crates/wasm-bindgen-shared/wasm-bindgen-shared-0.2.87.crate \
+ https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.87.crate \
+ https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi-util/winapi-util-0.1.6.crate \
+ https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \
+ https://static.crates.io/crates/winapi/winapi-0.3.9.crate \
+ https://static.crates.io/crates/windows-sys/windows-sys-0.48.0.crate \
+ https://static.crates.io/crates/windows-targets/windows-targets-0.48.5.crate \
+ https://static.crates.io/crates/windows/windows-0.48.0.crate \
+ https://static.crates.io/crates/windows_aarch64_gnullvm/windows_aarch64_gnullvm-0.48.5.crate \
+ https://static.crates.io/crates/windows_aarch64_msvc/windows_aarch64_msvc-0.48.5.crate \
+ https://static.crates.io/crates/windows_i686_gnu/windows_i686_gnu-0.48.5.crate \
+ https://static.crates.io/crates/windows_i686_msvc/windows_i686_msvc-0.48.5.crate \
+ https://static.crates.io/crates/windows_x86_64_gnu/windows_x86_64_gnu-0.48.5.crate \
+ https://static.crates.io/crates/windows_x86_64_gnullvm/windows_x86_64_gnullvm-0.48.5.crate \
+ https://static.crates.io/crates/windows_x86_64_msvc/windows_x86_64_msvc-0.48.5.crate \
+ https://static.crates.io/crates/xdg/xdg-2.5.2.crate"
+MD5SUM="e2dedca7d28e53fbc2f117bad343ec27 \
+ 55e15000c4c210f0bb2aca6f38fbe424 \
+ 669215548c64019c08c92b2c1afd3deb \
+ 245579618dd635377c5987690a7e2153 \
+ e0a03581a6aea080315323651f272d65 \
+ bf23cd323c33a8c283c41bb9b79e4ce4 \
+ 05d77ef52e90ad161fdd41b252420467 \
+ 66c5beb5a77eccb0d86ce626651f393b \
+ b174984f0ec889f5c32e90bddb80f674 \
+ 45a867175c81501378699f80724393c0 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ ebcf604c44976809506192718f439dc1 \
ea2d23ceb9f98853a7dffc6c02884464 \
- e502e6c6b0dca9c1ae2d99e92b26f645 \
- 61b90a50085850bba25b409edff17c06 \
- 882dbbc613a93f64c3709b0a2bd0d6dc \
- 1581b390d17f6e73a43ffc8a7b009e57 \
- bc79e0eb364df515a33755ac9a581cfd \
- 7f5a0fb65f15b9a7f4b92ead2005437f \
- 57b991e3c6e71bfdeea7d075229b833b \
- 4444b73f52b93818d14d68b971b1b1a3 \
- 938ac35135c5cc2c735262d8698a0498 \
- c71702f6505787cd3b70c77a9cd26d93 \
- 7a992127d3bc3b08965068e628ebd36c \
+ d8cacbb844fca8c0ca102c7576946131 \
+ 1e704be5ddde9d6b5383ef1035309f91 \
+ 9241fa90ea8b17c00010be46c9aa1ac5 \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ ddca5e4cff2fcc78d99a9efe991c5cf2 \
+ faa32da3be14130a4525bb7ba601c62e \
+ b477cc1c7b45e2187b3cad0377b504d8 \
+ b4b1c9ce4db1569f17f64239adcdbeae \
+ e198b52b3219b6be4a3f6bea2158f03e \
+ 7608f1c36c68ce36c1428a5183b9c419 \
+ 89d343b23ff81dc1af48a1043f7a7202 \
+ 52dc52f9c2adfdba6f0d90ca7b92042f \
+ fc65414dcac661c46f2cfad7722304f9 \
+ 33479bc3e6a76008f4d1654925cd3a94 \
+ 80e1c1b89d858c93fc5946b4a8266504 \
8dab3b3ec00dc56cffde0b0c410d47b5 \
- e3225eb6ecda0f2c3d1d09c8450f7ef8 \
- 8f11ba523265f45fd56fedb9e90ba274 \
- 704babd757a22f163230a36fa5474890 \
- 82531b1bfc764100ef1e65a396ce66c5 \
- 3df461a703a246a44414887232007b7d \
- e3ac3f5ba49f6eee65b033f549f5abf1 \
- 54ac4c56d9ec2800b8428020f24be67c \
+ c3e51926c9853b714191ef1bec90e2ce \
+ f204ba6fc9394724826f177433fe9a98 \
+ bb072f15d5e4067bea6933a4fbeb9c0a \
+ 9486190bcfe1c4af6a50d265a113ac12 \
+ 6646a563c6f7e9b24d9db2271b720a2b \
+ 87b1b7cb12ef4dfe842c212b98263048 \
+ 7ff000f771e742396faed3c83c82fab4 \
+ b5305bde14813da51d536a9df564db69 \
+ d580c0380408c62e04e018eaaf4258af \
fba3b040a55c01be7376d3dd5c4d4920 \
- a0d733f112d00b5a385e88f9f3b53e96 \
- 21a815dce24180ddceb02d732eb431ec \
- e5768043e447a7423f030c1394440502 \
- 7953eda62592968ef716363c206495ba \
+ d71093319a2c1efa90475bd45d34fab3 \
+ 181cb83a57d327b26ebc21db41b28480 \
+ 71bf1bf53c8321f7f1cbc13575353d6b \
+ 779addfdf18a31c1d8d3f53b7a8395e0 \
+ d6c6a27e29d9270a2ac318eacdf8e436 \
+ 70bd18c57397442e0abc67dfa1c99e0f \
6fa7c4b0da26b511570845e41527bc8f \
+ 8ee79b4fe4c43d9ab09f16344612a656 \
7c81e7a61ec172a229d6fdbc553e883d \
- 7916dcd738a8fa6a2798754c20d6e146 \
- 124ec4f35274a0e9c1a4ef3dc0958643 \
- 308036ddba62d02f4b6540a2612f45d1 \
+ 65470cdfd1fa2a2de9fdf873a58d72aa \
+ 0f6cf3b35ff80cee7da9243e76c94532 \
+ 8b708bc4b33c5e1683467444c9ed41b0 \
+ eb7e04508518ed8f29935ec874e1740a \
5a9b94ba54ea1f52f2a496ba982e3282 \
- 919641fb067930c5c137c2b315c619ac \
- 759816fe5b617674ae5dee83e3c3e6e2 \
- 2daa59d0efd38e9b5fbb2658b080eaa1 \
+ f17aecb8887cf0ecd823623160aed7db \
+ 256ede6773f2f67e26e92f36c04eb4f7 \
aecd889de42c8168e1bc97a6f2720d8f \
b4dcac855af5df71f3383d86c4a96b78 \
fd9aa273ad560dedd00ddcf3dbe808ce \
- 22d284a6253f4fd9b34ae40ff88f57f8 \
- d227ca24b102ae4ab2a4f3bc3bd44bf3 \
- 48067cc7d8ace5851af5f3ea557fee17 \
- f490982aceabdbd515348f63e638a782 \
- 0c860c0d0fa0dde03bd6be862fb1b6b4 \
- 6e13d1e2274baa18cf4522279dd6721a \
- 0736e4f76f4f8f0a29563b0608ca3974 \
- 400f57adb8d5ab059a2df92c7e3b0268 \
+ ecddc695e4dba2383b326dc361e9e07d \
+ 2dc8aacabbc090f8025a4789d4d6d8f0 \
+ 0ba30a94d7b8865c23e86d4d64e5b91e \
+ 73d4dff694f3acab34c217b4f4943a37 \
+ 5c69337d37e58a380e00eac9ce0373bb \
+ 80235d435deb3e8c2f28a8e666cae1a2 \
+ 61b3316c1f5c6059bef9022fe8a08685 \
3181dca31efe33cbed29a45d0ec67848 \
- 63b29211eef9ccee0b0401d423db0efd \
- b807d4f7a87f5fbdcc4ef008cca53a4c \
- 66d1cb32dce999907409f636f004b884 \
- 0a80ed36a125ac3cdfa09f8707055873 \
- a0f55fda89c0f97784edb18f4c253a49 \
- b269356e8646f3184a0e8d52a58cee69 \
- f81b88d1f8f9d0bc18849ad58b2f1b66 \
- 3cc3a4bd5861ca93d7c0d19129334703 \
- 24118e5657591c6f208dbb1d77fbc482 \
- eee136546e9f4735577dd20f45727c69 \
- 0538d1da369f3e3f0412aa4d735c1b61 \
- 94136c77f70313d3162e031638fc67ed \
+ 0ddb8bccd3198892d0dd0ec7151f7cd3 \
+ ee7a5f842c39bc47c474196e83b0df5f \
+ e30085994bbeb4b7f4895d48216d5476 \
+ a1626b8f4d165b1b60d960862eba4cf0 \
+ f9e79ef04a0f168cd981aaf93eb25272 \
+ ff1d093069cfc9eb161907e17a51208b \
+ 9e3731fbbac07e3f5363d5527765fb41 \
+ f2303650593b13e30a85e39d8c79c961 \
+ 5ad40eb548ec91179c2e5bafd26f1d30 \
+ 32f2a2626ae2f18e34cbb7d814ca8d37 \
+ 24fcbc2986fad09b25c9a4f9aef0a9e4 \
+ 3bd91868192fbb6c457c856a1a430a3d \
13268e6ab4023043e6dd8e993ce8b88a \
- a69721c73263cd2040e1a5f120b03a6f \
- 8d2ed9bfda95009d8f61b5f575e91c13 \
- 82d23d1b89a2d4ccb381ba72f0b3f0db \
- c9defe80406280bcfce4ecf31c0200b3 \
- eb1e0cd0f5c66c3683676794f51e5394 \
- 54346edfb0ec58936fa2af45908969ac \
- bb3ae104a9fa1b31568cc98c920a4653 \
- 62e883807a65ebe1ba9d0e555d703339 \
- a8de006fe0c7e373c560dd51599287a8 \
- a5dd75e77c7324f5c1d2d372c990d0a7 \
- c6c50e4feea5f4cc4e1fb3c7e88606a5 \
- 253a33d4577293cbeb852f14069b4a84 \
- f403bbb812ce1a2d9270d9159cf9e8d3 \
- c3be058b692f0e9b25a3219b7b5d940c \
- 4272c279b06b88f8b0ffce7109348e27 \
- a51c43692084979295641a7ffba4b297 \
- 2b19b51b60f46edd8f7826a3e8be2de9 \
- bff823ec07c5fbcc3e425c9c9e4b38a6 \
- 8b01b016a9b6deebc1b43f296057efb5 \
+ bb56e53d09b09eb11536cb69734564de \
+ b13390ad50aa277e39e4d46f7ed3eb14 \
+ 344753a95db4f193f068b3cf4b75d83b \
+ 73ff8cffc66d065488dcf50e3b8c0c1f \
+ f80faded72df19d43134e2b44137376a \
+ be0724e892719d0813323cbb4bfb5372 \
+ 5f0470696baaa4e5953bddbf196998f9 \
+ c678a7da0ee4b850ebde0474144a0415 \
+ 00dda16f17b456d99fb1cafa9125ed22 \
+ 04c5de5f2fcb441ced909a45cff020bd \
+ ca65153603a1a7240bbd9d2ce19f2d67 \
+ c12d182417999fc365f952e701f6071f \
+ 908ec8a89821b72f3a35726bab24461f \
+ e547b0e754cd61f24f9ef8c9e26fcd95 \
+ e900a384ac7dbb320fe6a7279fbfef89 \
6708629acf3d2ecb7404e43255d2df85 \
- a312b55a428f827a91097d1d8497b02b \
- 6e23e0eee42b1ba9ec61a6db7ec2dc08 \
+ e972ea58ec203bfa6c79c1207852298b \
+ e1aaf0d487ef02def77307a74ee35606 \
+ b3139f7d066250bfaf96b99e913ee75d \
+ e41541041285d9f05d372cdac02a4bf7 \
+ 4185de0682e5e5f3a9f13285218e59aa \
+ 64f9f5c520b25087ba70e4194d6aea9c \
db96b50050277bf05a3c68534bbb9586 \
- b9e37d5fc4ad28b612b78ad37816684d \
+ 306c0281447d1876e8220007b7a7e053 \
09de9d01e7331ff3da11f58be8bef0df \
0498c4a11448bfc35dc7bb2caa64c753 \
- c533b4ecdd56b5830c4cc79a6cf6f9b4 \
- 1628d3f26e3f952d8c43973ade1f2dad"
+ f2797ade0e36f1e5d6be9d11b5076582 \
+ 24c64817e85ef77765ed0f26c31c9b4c \
+ f4620d6217497ee2c54090cd353ceec4 \
+ dae6d89034a6988042fd8be4cf5e037d \
+ de2839e16d9d7a9fd1c397da62f62b4a \
+ e0c35ffb8cfdb74a39bf799811f79304 \
+ d990172b607020701f9e84ca8e1c043c \
+ 0a68848588e847ceccf504891584d00b \
+ 45b469ad607b912256b7c80141fa2d17 \
+ 7799baff9a5664205d9110a2624e8989 \
+ 1613d0f9e24d4b05e81748ea1f355f6c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="stfl rubygem-asciidoctor"
+REQUIRES="stfl rust16"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/network/nextcloud-client/README b/network/nextcloud-client/README
deleted file mode 100644
index cd3a1eda51..0000000000
--- a/network/nextcloud-client/README
+++ /dev/null
@@ -1,13 +0,0 @@
-The Nextcloud Client is a file synchronization desktop utility. It synchronizes
-files on your local computer, tablet, or hand-held device with a Nextcloud
-Server. If you make a change to the files on one device, the change is
-propagated to all other synchronized devices using the desktop synchronization
-clients.
-
-Normally, you start the client by clicking on the desktop icon or by starting
-it from the client application menu. After starting, a Nextcloud icon appears
-in the computer system tray or on your tablet or handheld device.
-
-Nextcloud is an actively maintained fork of ownCloud.
-
-Important: install qt5 first, then build qtkeychain.
diff --git a/network/nextcloud-client/doinst.sh b/network/nextcloud-client/doinst.sh
deleted file mode 100644
index bb8462acaa..0000000000
--- a/network/nextcloud-client/doinst.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config "etc/Nextcloud/sync-exclude.lst.new"
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/nextcloud-client/nextcloud-client.SlackBuild b/network/nextcloud-client/nextcloud-client.SlackBuild
deleted file mode 100644
index 61bb4e7bde..0000000000
--- a/network/nextcloud-client/nextcloud-client.SlackBuild
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for nextcloud-client
-
-# Copyright 2013-2016 Christopher Walker Copperas Cove, TX
-# Copyright 2016-2018 Chris Abela <kristofru@gmail.com>, Malta
-# Copyright 2017-2018 Rodrigo Gimenez <estrod@zoho.com>, Argentina
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This is based on the owncloud-client slackbuild in https://slackbuilds.org
-
-PRGNAM=nextcloud-client
-VERSION=${VERSION:-2.3.3}
-OWNCLOUD_VERSION=${OWNCLOUD_VERSION:-2.4.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=client_theming
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/client_theming-$VERSION.tar.gz
-mv $SRCNAM-$VERSION $SRCNAM
-cd $SRCNAM
-tar xvf $CWD/client-$OWNCLOUD_VERSION.tar.gz
-rmdir client
-mv client-$OWNCLOUD_VERSION client
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DCMAKE_INSTALL_MANDIR=/usr/man \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc/$PRGNAM \
- -DCMAKE_BUILD_TYPE="Release" \
- -D OEM_THEME_DIR=$(realpath ../nextcloudtheme) \
- ../client
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-[ -d "$PKG/usr/man" ] && find $PKG/usr/man -type f -exec gzip -9 '{}' \;
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cat $CWD/nextcloud.desktop > $PKG/usr/share/applications/nextcloud.desktop
-mv $PKG/etc/Nextcloud/sync-exclude.lst $PKG/etc/Nextcloud/sync-exclude.lst.new
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/nextcloud-client/nextcloud-client.info b/network/nextcloud-client/nextcloud-client.info
deleted file mode 100644
index e2484f63a1..0000000000
--- a/network/nextcloud-client/nextcloud-client.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="nextcloud-client"
-VERSION="2.3.3"
-HOMEPAGE="https://nextcloud.com/"
-DOWNLOAD="https://github.com/nextcloud/client_theming/archive/v2.3.3/client_theming-2.3.3.tar.gz \
- https://github.com/owncloud/client/archive/v2.4.2/client-2.4.2.tar.gz"
-MD5SUM="ad74d32b6c9f6da1b8e145fd586ad13e \
- c0a01710f340a840cf38e4573034be2b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5-webkit qtkeychain"
-MAINTAINER="Rodrigo Gimenez"
-EMAIL="estrod@zoho.com"
diff --git a/network/nextcloud-client/nextcloud.desktop b/network/nextcloud-client/nextcloud.desktop
deleted file mode 100644
index e816fcc710..0000000000
--- a/network/nextcloud-client/nextcloud.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Nextcloud desktop sync client
-Comment=Nextcloud desktop sync client
-Exec=/usr/bin/nextcloud
-Icon=Nextcloud
-Type=Application
-GenericName=Folder Sync
-Categories=Network;FileTransfer;X-Cloud;X-Sync;
diff --git a/network/nextcloud-client/slack-desc b/network/nextcloud-client/slack-desc
deleted file mode 100644
index 76d70047e1..0000000000
--- a/network/nextcloud-client/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-nextcloud-client: nextcloud-client (Nextcloud Desktop Client)
-nextcloud-client:
-nextcloud-client: The Nextcloud Client is a file synchronization desktop utility. It
-nextcloud-client: synchronizes files on your local computer, tablet, or hand-held
-nextcloud-client: device with a Nextcloud Server. If you make a change to the files on
-nextcloud-client: one device, the change is propagated to all other synchronized
-nextcloud-client: devices using the desktop synchronization clients.
-nextcloud-client:
-nextcloud-client: Nextcloud is an actively maintained fork of ownCloud.
-nextcloud-client:
-nextcloud-client: Homepage: http://nextcloud.com/
diff --git a/network/nextcloud-desktop/README b/network/nextcloud-desktop/README
new file mode 100644
index 0000000000..da9c4b07e7
--- /dev/null
+++ b/network/nextcloud-desktop/README
@@ -0,0 +1,2 @@
+The Nextcloud Desktop Client is a tool to synchronize files from
+Nextcloud Server with your computer.
diff --git a/network/nextcloud-desktop/doinst.sh b/network/nextcloud-desktop/doinst.sh
new file mode 100644
index 0000000000..1fc4aa5bc1
--- /dev/null
+++ b/network/nextcloud-desktop/doinst.sh
@@ -0,0 +1,24 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/Nextcloud/sync-exclude.lst.new
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/nextcloud-desktop/nextcloud-desktop.SlackBuild b/network/nextcloud-desktop/nextcloud-desktop.SlackBuild
new file mode 100644
index 0000000000..7bd204277b
--- /dev/null
+++ b/network/nextcloud-desktop/nextcloud-desktop.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for Nextcloud Desktop Client
+
+# Copyright 2022-2024 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2017-2018 Rodrigo Gimenez <estrod@zoho.com>, Argentina
+# Copyright 2016-2018 Chris Abela <kristofru@gmail.com>, Malta
+# Copyright 2013-2016 Christopher Walker Copperas Cove, TX
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nextcloud-desktop
+SRCNAM=desktop
+VERSION=${VERSION:-3.12.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+# handle tarball with a truncated name
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+
+mv $SRCNAM-$VERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release
+make
+make install DESTDIR=$PKG
+
+# Strip binaries and libraries
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Don't overwrite existing config file:
+mv $PKG/etc/Nextcloud/sync-exclude.lst $PKG/etc/Nextcloud/sync-exclude.lst.new
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {CONTRIBUTING.md,COPYING,COPYING.documentation,README.md} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# put the manual in the right place skipping uneeded files
+# we'll work around sphinx by converting the rst files to man pages
+mkdir -p $PKG/usr/man/man1
+rst2man --no-file-insertion -r 5 \
+ $TMP/$PRGNAM-$VERSION/man/nextcloud.1.rst $PKG/usr/man/man1/nextcloud.1
+rst2man --no-file-insertion -r 5 \
+ $TMP/$PRGNAM-$VERSION/man/nextcloudcmd.1.rst $PKG/usr/man/man1/nextcloudcmd.1
+
+find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nextcloud-desktop/nextcloud-desktop.info b/network/nextcloud-desktop/nextcloud-desktop.info
new file mode 100644
index 0000000000..a6a8559331
--- /dev/null
+++ b/network/nextcloud-desktop/nextcloud-desktop.info
@@ -0,0 +1,10 @@
+PRGNAM="nextcloud-desktop"
+VERSION="3.12.3"
+HOMEPAGE="https://nextcloud.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/nextcloud/desktop/archive/refs/tags/v3.12.3/desktop-3.12.3.tar.gz"
+MD5SUM_x86_64="e018bec41afc23060ea6afea6108e94f"
+REQUIRES=""
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/network/nextcloud-desktop/slack-desc b/network/nextcloud-desktop/slack-desc
new file mode 100644
index 0000000000..769cfc1b1c
--- /dev/null
+++ b/network/nextcloud-desktop/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nextcloud-desktop: nextcloud-desktop (Nextcloud Desktop Client)
+nextcloud-desktop:
+nextcloud-desktop: The computer Nextcloud Desktop Client is a tool to synchronize files
+nextcloud-desktop: from Nextcloud Server with your computer.
+nextcloud-desktop:
+nextcloud-desktop:
+nextcloud-desktop:
+nextcloud-desktop:
+nextcloud-desktop: Homepage: https://nextcloud.com/
+nextcloud-desktop:
+nextcloud-desktop:
diff --git a/network/nextcloud-server/nextcloud-server.SlackBuild b/network/nextcloud-server/nextcloud-server.SlackBuild
index 1a139248f2..dfc5fd4850 100644
--- a/network/nextcloud-server/nextcloud-server.SlackBuild
+++ b/network/nextcloud-server/nextcloud-server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nextcloud-server
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nextcloud-server
SRCNAM=nextcloud
-VERSION=${VERSION:-13.0.7}
+VERSION=${VERSION:-18.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
@@ -34,7 +37,14 @@ DOCROOT=${DOCROOT:-/srv/httpd/htdocs}
PHPUSER=${PHPUSER:-apache}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nextcloud-server/nextcloud-server.info b/network/nextcloud-server/nextcloud-server.info
index 4087894048..42fbb27b4b 100644
--- a/network/nextcloud-server/nextcloud-server.info
+++ b/network/nextcloud-server/nextcloud-server.info
@@ -1,8 +1,8 @@
PRGNAM="nextcloud-server"
-VERSION="13.0.7"
+VERSION="18.0.4"
HOMEPAGE="https://nextcloud.com/"
-DOWNLOAD="https://download.nextcloud.com/server/releases/nextcloud-13.0.7.tar.bz2"
-MD5SUM="ee0c0e53a1ac8e2feb3ce0fdfe27f9b2"
+DOWNLOAD="https://download.nextcloud.com/server/releases/nextcloud-18.0.4.tar.bz2"
+MD5SUM="d2f3c7bd402ef61d30a576d165fe7c1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/nfdump/nfdump.SlackBuild b/network/nfdump/nfdump.SlackBuild
index ab06d987ab..0028e69055 100644
--- a/network/nfdump/nfdump.SlackBuild
+++ b/network/nfdump/nfdump.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nfdump
@@ -24,26 +24,36 @@
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nfdump
VERSION=${VERSION:-1.6.13}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,7 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS -fgnu89-inline" \
+CFLAGS="$SLKCFLAGS -fgnu89-inline -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -108,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nghttp2/README b/network/nghttp2/README
deleted file mode 100644
index 3d05758f54..0000000000
--- a/network/nghttp2/README
+++ /dev/null
@@ -1,4 +0,0 @@
-nghttp2 is an implementation of HTTP/2 and its header compression
-algorithm HPACK in C.
-The framing layer of HTTP/2 is implemented as a form of reusable C
-library.
diff --git a/network/nghttp2/nghttp2.SlackBuild b/network/nghttp2/nghttp2.SlackBuild
deleted file mode 100644
index 39af89748f..0000000000
--- a/network/nghttp2/nghttp2.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for "nghttp2".
-
-# Copyright 2016 Marcel Saegebarth <marc@mos6581.de>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=nghttp2
-VERSION=${VERSION:-1.16.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-python-bindings \
- --with-jemalloc \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/nghttp2/nghttp2.info b/network/nghttp2/nghttp2.info
deleted file mode 100644
index 11476aa1b8..0000000000
--- a/network/nghttp2/nghttp2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="nghttp2"
-VERSION="1.16.1"
-HOMEPAGE="https://nghttp2.org/"
-DOWNLOAD="https://github.com/nghttp2/nghttp2/releases/download/v1.16.1/nghttp2-1.16.1.tar.xz"
-MD5SUM="bde0dca3fd5da7bc5c7c8470ed0674b5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jansson"
-MAINTAINER="Marcel Saegebarth"
-EMAIL="marc@mos6581.de"
diff --git a/network/nghttp2/slack-desc b/network/nghttp2/slack-desc
deleted file mode 100644
index a1d218da43..0000000000
--- a/network/nghttp2/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-nghttp2: nghttp2 (HTTP/2 implementation)
-nghttp2:
-nghttp2: nghttp2 is an implementation of HTTP/2 and its header compression
-nghttp2: algorithm HPACK in C.
-nghttp2: The framing layer of HTTP/2 is implemented as a form of reusable C
-nghttp2: library.
-nghttp2:
-nghttp2: Homepage: https://nghttp2.org/
-nghttp2:
-nghttp2:
-nghttp2:
diff --git a/network/nginx/README b/network/nginx/README
index 74a77e254d..b8437d7888 100644
--- a/network/nginx/README
+++ b/network/nginx/README
@@ -4,31 +4,32 @@ as well as an IMAP/POP3 proxy server.
By default, nginx will use the "nobody" user and group accounts. You may
specify alternate values on the command line if desired; for example:
- NGINXUSER=backup NGINXGROUP=backup ./nginx.SlackBuild
+ NGINXUSER=backup NGINXGROUP=backup ./nginx.SlackBuild
-Regardless of which user and group you decide to use, you will need to make
-sure they exist on both the build system and the target system.
+Regardless of which user and group you decide to use, you will need to
+make sure they exist on both the build system and the target system.
-Geoip support is now available as an option using the GeopIP package. If you wish
-to enable GeoIP the pass GEOIP variable to the slackbuild:
+Geoip support is now available as an option using the GeopIP
+package. If you wish to enable GeoIP the pass GEOIP variable to the
+slackbuild:
- GEOIP=yes ./nginx.SlackBuild
+ GEOIP=yes ./nginx.SlackBuild
-Support for gperftools is available as an option using the gperftools package.
-If you wish to enable gperftools pass the GPERF variable to the slackbuild:
+Support for gperftools is available as an option using the gperftools
+package. If you wish to enable gperftools pass the GPERF variable to
+the slackbuild:
- GPERF=yes ./nginx.SlackBuild
+ GPERF=yes ./nginx.SlackBuild
-Extra modules not included with stock nginx can be added by passing them as a
-variable to the slackbuild as a space separated list of full paths to modules.
-List of extra 3rd party modules available at http://wiki.nginx.org/3rdPartyModules.
+Extra modules not included with stock nginx can be added by passing
+them as a variable to the slackbuild as a space separated list of
+full paths to modules. List of extra 3rd party modules available at
+http://wiki.nginx.org/3rdPartyModules.
- ADDMODULE="/tmp/passenger-release-5.0.13/ext/nginx" ./nginx.SlackBuild
+ ADDMODULE="/tmp/passenger-release-5.0.13/ext/nginx" ./nginx.SlackBuild
-Using the optional dynamic loadable module support in nginx >= 1.10.0. Understand
-that dynamic modules are a new feature in nginx and issues may arise until further
-testing is done.
+Using the optional dynamic loadable module support in nginx >=
+1.10.0. Understand that dynamic modules are a new feature in nginx and
+issues may arise until further testing is done.
- DYNAMIC=yes ./nginx.SlackBuild
-
-Optional dependency: libwebp (requires gd to be recompiled)
+ DYNAMIC=yes ./nginx.SlackBuild
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild
index 4e47858118..4f1d69da2e 100644
--- a/network/nginx/nginx.SlackBuild
+++ b/network/nginx/nginx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nginx
@@ -27,10 +27,13 @@
# Special thanks to Thomas Morper for some configuration adjustments tips
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nginx
-VERSION=${VERSION:-1.12.2}
+VERSION=${VERSION:-1.23.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -246,4 +256,4 @@ for i in $(find $PKG/etc/$PRGNAM -type f ! -name "*\.default"); do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nginx/nginx.info b/network/nginx/nginx.info
index 862442df34..05ddb11d29 100644
--- a/network/nginx/nginx.info
+++ b/network/nginx/nginx.info
@@ -1,8 +1,8 @@
PRGNAM="nginx"
-VERSION="1.12.2"
-HOMEPAGE="http://nginx.org/"
-DOWNLOAD="http://nginx.org/download/nginx-1.12.2.tar.gz"
-MD5SUM="4d2fc76211435f029271f1cf6d7eeae3"
+VERSION="1.23.2"
+HOMEPAGE="https://nginx.org/"
+DOWNLOAD="https://nginx.org/download/nginx-1.23.2.tar.gz"
+MD5SUM="131948d88349e20afd69a1b43b3c1d47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/nginx/nginx.logrotate b/network/nginx/nginx.logrotate
index 626cebddba..1110c53702 100644
--- a/network/nginx/nginx.logrotate
+++ b/network/nginx/nginx.logrotate
@@ -2,7 +2,7 @@
su @USER@ @GROUP@
rotate 10
notifempty
- size=5M
+ size 5M
compress
delaycompress
sharedscripts
diff --git a/network/ngircd/ngircd.SlackBuild b/network/ngircd/ngircd.SlackBuild
index 0b52da5332..0cf54b3854 100644
--- a/network/ngircd/ngircd.SlackBuild
+++ b/network/ngircd/ngircd.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ngircd
# Written by /dev/rob0 <rob0@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ngircd
-VERSION=${VERSION:-24}
+VERSION=${VERSION:-26.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,7 +55,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,7 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-syslog \
--without-tcp-wrappers \
--with-iconv \
- --without-pam \
+ --with-pam \
--${do_ident} \
--build=$ARCH-slackware-linux
@@ -82,7 +92,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog README COPYING INSTALL NEWS doc/*.txt \
+cp -a AUTHORS ChangeLog README.md COPYING INSTALL.md NEWS doc/*.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -91,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ngircd/ngircd.info b/network/ngircd/ngircd.info
index 472925788a..35cc3cafbd 100644
--- a/network/ngircd/ngircd.info
+++ b/network/ngircd/ngircd.info
@@ -1,8 +1,8 @@
PRGNAM="ngircd"
-VERSION="24"
+VERSION="26.1"
HOMEPAGE="https://ngircd.barton.de/"
-DOWNLOAD="https://ngircd.barton.de/pub/ngircd/ngircd-24.tar.gz"
-MD5SUM="59b2d56f6eb55b85225e91ebfbfc848b"
+DOWNLOAD="https://ngircd.barton.de/pub/ngircd/ngircd-26.1.tar.xz"
+MD5SUM="9fe97dec829ee09306d871ab8f0c194a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/ngrep/README b/network/ngrep/README
index 5c94af27b4..b9d5da3356 100644
--- a/network/ngrep/README
+++ b/network/ngrep/README
@@ -1,14 +1,11 @@
ngrep strives to provide most of GNU grep's common features, applying
them to the network layer. ngrep is a pcap-aware tool that will allow
you to specify extended regular or hexadecimal expressions to match
-against data payloads of packets. It currently recognizes IPv4/6, TCP,
-UDP, ICMPv4/6, IGMP and Raw across Ethernet, PPP, SLIP, FDDI, Token
-Ring and null interfaces, and understands BPF filter logic in the same
-fashion as more common packet sniffing tools, such as tcpdump and snoop.
+against data payloads of packets. It currently recognizes IPv4/6,
+TCP, UDP, ICMPv4/6, IGMP and Raw across Ethernet, PPP, SLIP, FDDI,
+Token Ring and null interfaces, and understands BPF filter logic in
+the same fashion as more common packet sniffing tools, such as tcpdump
+and snoop.
ngrep is built with IPV6 support by default; to disable it, do this:
NGREP_IPV6=no ./ngrep.SlackBuild
-
-A patch is included for IPV4 and IPV6 packet reassembly applied by default.
-The patch adds the -r switch to ngrep. To disable the patch, do this:
- ASSEM_PATCH=no ./ngrep.SlackBuild
diff --git a/network/ngrep/ngrep-1.45-reasm.diff b/network/ngrep/ngrep-1.45-reasm.diff
deleted file mode 100644
index ed33fb6f65..0000000000
--- a/network/ngrep/ngrep-1.45-reasm.diff
+++ /dev/null
@@ -1,939 +0,0 @@
-diff -urN ngrep-1.45/ipreasm.c ngrep-1.45-reasm/ipreasm.c
---- ngrep-1.45/ipreasm.c 1970-01-01 01:00:00.000000000 +0100
-+++ ngrep-1.45-reasm/ipreasm.c 2007-06-16 19:17:20.124795623 +0200
-@@ -0,0 +1,717 @@
-+/*
-+ * ipreasm -- Routines for reassembly of fragmented IPv4 and IPv6 packets.
-+ *
-+ * Copyright (c) 2007 Jan Andres <jandres@gmx.net>
-+ *
-+ */
-+
-+#include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
-+#include <stddef.h>
-+
-+#ifdef HAVE_CONFIG_H
-+#include "config.h"
-+#endif /* HAVE_CONFIG_H */
-+
-+#include <netinet/ip.h>
-+#include <netinet/udp.h>
-+#if USE_IPv6
-+#include <netinet/ip6.h>
-+#endif /* USE_IPv6 */
-+
-+#include "ipreasm.h"
-+
-+
-+#define REASM_IP_HASH_SIZE 1021U
-+
-+
-+enum entry_state {
-+ STATE_ACTIVE,
-+ STATE_INVALID,
-+};
-+
-+
-+enum reasm_proto {
-+ PROTO_IPV4,
-+#if USE_IPv6
-+ PROTO_IPV6,
-+#endif /* USE_IPv6 */
-+};
-+
-+
-+/*
-+ * This tuple uniquely identifies all fragments belonging to
-+ * the same IPv4 packet.
-+ */
-+struct reasm_id_ipv4 {
-+ uint8_t ip_src[4], ip_dst[4];
-+ uint16_t ip_id;
-+ uint8_t ip_proto;
-+};
-+
-+
-+/*
-+ * Same for IPv6.
-+ */
-+struct reasm_id_ipv6 {
-+ uint8_t ip_src[16], ip_dst[16];
-+ uint32_t ip_id;
-+};
-+
-+
-+union reasm_id {
-+ struct reasm_id_ipv4 ipv4;
-+ struct reasm_id_ipv6 ipv6;
-+};
-+
-+
-+struct reasm_frag_entry {
-+ unsigned len; /* payload length of this fragment */
-+ unsigned offset; /* offset of this fragment into the payload of the reassembled packet */
-+ unsigned data_offset; /* offset to the data pointer where payload starts */
-+ unsigned char *data; /* payload starts at data + data_offset */
-+ struct reasm_frag_entry *next;
-+};
-+
-+
-+/*
-+ * Reception of a complete packet is detected by counting the number
-+ * of "holes" that remain between the cached fragments. A hole is
-+ * assumed to exist at the upper end of the packet until the final
-+ * fragment has been received. When the number of holes drops to 0,
-+ * all fragments have been received and the packet can be reassembled.
-+ */
-+struct reasm_ip_entry {
-+ union reasm_id id;
-+ unsigned len, holes, frag_count, hash;
-+ reasm_time_t timeout;
-+ enum entry_state state;
-+ enum reasm_proto protocol;
-+ struct reasm_frag_entry *frags;
-+ struct reasm_ip_entry *prev, *next;
-+ struct reasm_ip_entry *time_prev, *time_next;
-+};
-+
-+
-+/*
-+ * This struct contains some metadata, the main hash table, and a pointer
-+ * to the first entry that will time out. A linked list is kept in the
-+ * order in which packets will time out. Using a linked list for this
-+ * purpose requires that packets are input in chronological order, and
-+ * that a constant timeout value is used, which doesn't change even when
-+ * the entry's state transitions from active to invalid.
-+ */
-+struct reasm_ip {
-+ struct reasm_ip_entry *table[REASM_IP_HASH_SIZE];
-+ struct reasm_ip_entry *time_first, *time_last;
-+ unsigned waiting, max_waiting, timed_out, dropped_frags;
-+ reasm_time_t timeout;
-+};
-+
-+
-+/*
-+ * Hash functions.
-+ */
-+static unsigned reasm_ipv4_hash (const struct reasm_id_ipv4 *id);
-+#if USE_IPv6
-+static unsigned reasm_ipv6_hash (const struct reasm_id_ipv6 *id);
-+#endif /* USE_IPv6 */
-+
-+/*
-+ * Insert a new fragment to the correct position in the list of fragments.
-+ * Check for fragment overlap and other error conditions. Update the
-+ * "hole count".
-+ */
-+static bool add_fragment (struct reasm_ip_entry *entry, struct reasm_frag_entry *frag, bool last_frag);
-+
-+/*
-+ * Is the entry complete, ready for reassembly?
-+ */
-+static bool is_complete (struct reasm_ip_entry *entry);
-+
-+/*
-+ * Create the reassembled packet.
-+ */
-+static unsigned char *assemble (struct reasm_ip_entry *entry, unsigned *output_len);
-+
-+/*
-+ * Drop and free entries.
-+ */
-+static void drop_entry (struct reasm_ip *reasm, struct reasm_ip_entry *entry);
-+static void free_entry (struct reasm_ip_entry *entry);
-+
-+/*
-+ * Dispose of any entries which have expired before "now".
-+ */
-+static void process_timeouts (struct reasm_ip *reasm, reasm_time_t now);
-+
-+/*
-+ * Create fragment structure from IPv6 packet. Returns NULL if the input
-+ * is not a fragment.
-+ * This function is called by parse_packet(), don't call it directly.
-+ */
-+#if USE_IPv6
-+static struct reasm_frag_entry *frag_from_ipv6 (unsigned char *packet, uint32_t *ip_id, bool *last_frag);
-+#endif /* USE_IPv6 */
-+
-+/*
-+ * Compare packet identification tuples for specified protocol.
-+ */
-+static bool reasm_id_equal (enum reasm_proto proto, const union reasm_id *left, const union reasm_id *right);
-+
-+/*
-+ * Create fragment structure from an IPv4 or IPv6 packet. Returns NULL
-+ * if the input is not a fragment.
-+ */
-+static struct reasm_frag_entry *parse_packet (unsigned char *packet, unsigned len, enum reasm_proto *protocol, union reasm_id *id, unsigned *hash, bool *last_frag);
-+
-+
-+static unsigned
-+reasm_ipv4_hash (const struct reasm_id_ipv4 *id)
-+{
-+ unsigned hash = 0;
-+ int i;
-+
-+ for (i = 0; i < 4; i++) {
-+ hash = 37U * hash + id->ip_src[i];
-+ hash = 37U * hash + id->ip_dst[i];
-+ }
-+
-+ hash = 59U * hash + id->ip_id;
-+
-+ hash = 47U * hash + id->ip_proto;
-+
-+ return hash;
-+}
-+
-+
-+#if USE_IPv6
-+static unsigned
-+reasm_ipv6_hash (const struct reasm_id_ipv6 *id)
-+{
-+ unsigned hash = 0;
-+ int i;
-+
-+ for (i = 0; i < 16; i++) {
-+ hash = 37U * hash + id->ip_src[i];
-+ hash = 37U * hash + id->ip_dst[i];
-+ }
-+
-+ hash = 59U * hash + id->ip_id;
-+
-+ return hash;
-+}
-+#endif /* USE_IPv6 */
-+
-+
-+unsigned char *
-+reasm_ip_next (struct reasm_ip *reasm, unsigned char *packet, unsigned len, reasm_time_t timestamp, unsigned *output_len)
-+{
-+ enum reasm_proto proto;
-+ union reasm_id id;
-+ unsigned hash;
-+ bool last_frag;
-+
-+ process_timeouts (reasm, timestamp);
-+
-+ struct reasm_frag_entry *frag = parse_packet (packet, len, &proto, &id, &hash, &last_frag);
-+ if (frag == NULL) {
-+ *output_len = len;
-+ return packet; /* some packet that we don't recognize as a fragment */
-+ }
-+
-+ hash %= REASM_IP_HASH_SIZE;
-+ struct reasm_ip_entry *entry = reasm->table[hash];
-+ while (entry != NULL && (proto != entry->protocol || !reasm_id_equal (proto, &id, &entry->id)))
-+ entry = entry->next;
-+
-+ if (entry == NULL) {
-+ entry = malloc (sizeof (*entry));
-+ if (entry == NULL) {
-+ free (frag);
-+ abort ();
-+ }
-+
-+ struct reasm_frag_entry *list_head = malloc (sizeof (*list_head));
-+ if (list_head == NULL) {
-+ free (frag);
-+ free (entry);
-+ abort ();
-+ }
-+
-+ *entry = (struct reasm_ip_entry) {
-+ .id = id,
-+ .len = 0,
-+ .holes = 1,
-+ .frags = list_head,
-+ .hash = hash,
-+ .protocol = proto,
-+ .timeout = timestamp + reasm->timeout,
-+ .state = STATE_ACTIVE,
-+ .prev = NULL,
-+ .next = reasm->table[hash],
-+ .time_prev = reasm->time_last,
-+ .time_next = NULL,
-+ };
-+
-+ *list_head = (struct reasm_frag_entry) {
-+ .len = 0,
-+ .offset = 0,
-+ .data_offset = 0,
-+ .data = NULL,
-+ };
-+
-+ if (entry->next != NULL)
-+ entry->next->prev = entry;
-+ reasm->table[hash] = entry;
-+
-+ if (reasm->time_last != NULL)
-+ reasm->time_last->time_next = entry;
-+ else
-+ reasm->time_first = entry;
-+ reasm->time_last = entry;
-+
-+ reasm->waiting++;
-+ if (reasm->waiting > reasm->max_waiting)
-+ reasm->max_waiting = reasm->waiting;
-+ }
-+
-+ if (entry->state != STATE_ACTIVE) {
-+ reasm->dropped_frags++;
-+ return NULL;
-+ }
-+
-+ if (!add_fragment (entry, frag, last_frag)) {
-+ entry->state = STATE_INVALID;
-+ reasm->dropped_frags += entry->frag_count + 1;
-+ return NULL;
-+ }
-+
-+ if (!is_complete (entry))
-+ return NULL;
-+
-+ unsigned char *r = assemble (entry, output_len);
-+ drop_entry (reasm, entry);
-+ return r;
-+}
-+
-+
-+static bool
-+add_fragment (struct reasm_ip_entry *entry, struct reasm_frag_entry *frag, bool last_frag)
-+{
-+ /*
-+ * When a fragment is inserted into the list, different cases can occur
-+ * concerning the number of holes.
-+ * - The new fragment can be inserted in the middle of a hole, such that
-+ * it will split the hole in two. The number of holes increases by 1.
-+ * - The new fragment can be attached to one end of a hole, such that
-+ * the rest of the hole remains at the opposite side of the fragment.
-+ * The number of holes remains constant.
-+ * - The new fragment can fill a hole completely. The number of holes
-+ * decreases by 1.
-+ */
-+
-+ /*
-+ * If more fragments follow and the payload size is not an integer
-+ * multiple of 8, the packet will never be reassembled completely.
-+ */
-+ if (!last_frag && (frag->len & 7) != 0)
-+ return false;
-+
-+ if (entry->len != 0 && frag->len + frag->offset > entry->len)
-+ return false; /* fragment extends past end of packet */
-+
-+ bool fit_left = false, fit_right = false;
-+
-+ if (last_frag) {
-+ if (entry->len != 0) {
-+ fprintf (stderr, "* ERROR: Multiple final fragments.\n");
-+ return false;
-+ }
-+ entry->len = frag->offset + frag->len;
-+ fit_right = true;
-+ }
-+
-+ struct reasm_frag_entry *cur = entry->frags, *next = cur->next;
-+
-+ while (cur->next != NULL && cur->next->offset <= frag->offset)
-+ cur = cur->next;
-+ next = cur->next;
-+
-+ /* Fragment is to be inserted between cur and next; next may be NULL. */
-+
-+ /* Overlap checks. */
-+ if (cur->offset + cur->len > frag->offset)
-+ return false; /* overlaps with cur */
-+ else if (cur->offset + cur->len == frag->offset)
-+ fit_left = true;
-+
-+ if (next != NULL) {
-+ if (last_frag)
-+ return false; /* next extends past end of packet */
-+ if (frag->offset + frag->len > next->offset)
-+ return false; /* overlaps with next */
-+ else if (frag->offset + frag->len == next->offset)
-+ fit_right = true;
-+ }
-+
-+ /*
-+ * Everything's fine, insert it.
-+ */
-+ if (frag->len != 0) {
-+ frag->next = cur->next;
-+ cur->next = frag;
-+
-+ if (fit_left && fit_right)
-+ entry->holes--;
-+ else if (!fit_left && !fit_right)
-+ entry->holes++;
-+
-+ entry->frag_count++;
-+ } else {
-+ /*
-+ * If the fragment has zero size, we don't insert it into the list,
-+ * but one case remains to be handled: If the zero-size fragment
-+ * is the last fragment, and fits exactly with the fragment to its
-+ * left, the number of holes decreases.
-+ */
-+ if (last_frag && fit_left)
-+ entry->holes--;
-+ }
-+
-+
-+ return true;
-+}
-+
-+
-+struct reasm_ip *
-+reasm_ip_new (void)
-+{
-+ struct reasm_ip *reasm = malloc (sizeof (*reasm));
-+ if (reasm == NULL)
-+ return NULL;
-+
-+ memset (reasm, 0, sizeof (*reasm));
-+ return reasm;
-+}
-+
-+
-+void
-+reasm_ip_free (struct reasm_ip *reasm)
-+{
-+ while (reasm->time_first != NULL)
-+ drop_entry (reasm, reasm->time_first);
-+ free (reasm);
-+}
-+
-+
-+static bool
-+is_complete (struct reasm_ip_entry *entry)
-+{
-+ return entry->holes == 0;
-+}
-+
-+
-+static unsigned char *
-+assemble (struct reasm_ip_entry *entry, unsigned *output_len)
-+{
-+ struct reasm_frag_entry *frag = entry->frags->next; /* skip list head */
-+ unsigned offset0 = frag->data_offset;
-+ unsigned char *p = malloc (entry->len + offset0);
-+ if (p == NULL)
-+ abort ();
-+
-+ switch (entry->protocol) {
-+ case PROTO_IPV4:
-+ break;
-+
-+#if USE_IPv6
-+ case PROTO_IPV6:
-+ offset0 -= 8; /* size of frag header */
-+ break;
-+#endif /* USE_IPv6 */
-+
-+ default:
-+ abort ();
-+ }
-+
-+ *output_len = entry->len + offset0;
-+
-+ /* copy the (unfragmentable) header from the first fragment received */
-+ memcpy (p, frag->data, offset0);
-+
-+ /* join all the payload fragments together */
-+ while (frag != NULL) {
-+ memcpy (p + offset0 + frag->offset, frag->data + frag->data_offset, frag->len);
-+ frag = frag->next;
-+ }
-+
-+ /* some cleanups, e.g. update the length field of reassembled packet */
-+ switch (entry->protocol) {
-+ case PROTO_IPV4: {
-+ struct ip *ip_header = (struct ip *) p;
-+ ip_header->ip_len = htons (offset0 + entry->len);
-+ ip_header->ip_off = 0;
-+ // XXX recompute the checksum
-+ break;
-+ }
-+
-+#if USE_IPv6
-+ case PROTO_IPV6: {
-+ struct ip6_hdr *ip6_header = (struct ip6_hdr *) p;
-+ ip6_header->ip6_plen = htons (offset0 + entry->len - 40);
-+ break;
-+ }
-+#endif /* USE_IPv6 */
-+
-+ default:
-+ abort ();
-+ }
-+
-+ return p;
-+}
-+
-+
-+static void
-+drop_entry (struct reasm_ip *reasm, struct reasm_ip_entry *entry)
-+{
-+ if (entry->prev != NULL)
-+ entry->prev->next = entry->next;
-+ else
-+ reasm->table[entry->hash] = entry->next;
-+
-+ if (entry->next != NULL)
-+ entry->next->prev = entry->prev;
-+
-+ if (entry->time_prev != NULL)
-+ entry->time_prev->time_next = entry->time_next;
-+ else
-+ reasm->time_first = entry->time_next;
-+
-+ if (entry->time_next != NULL)
-+ entry->time_next->time_prev = entry->time_prev;
-+ else
-+ reasm->time_last = entry->time_prev;
-+
-+ reasm->waiting--;
-+
-+ free_entry (entry);
-+}
-+
-+
-+static void
-+free_entry (struct reasm_ip_entry *entry)
-+{
-+ struct reasm_frag_entry *frag = entry->frags, *next;
-+ while (frag != NULL) {
-+ next = frag->next;
-+ if (frag->data != NULL)
-+ free (frag->data);
-+ free (frag);
-+ frag = next;
-+ }
-+
-+ free (entry);
-+}
-+
-+
-+unsigned
-+reasm_ip_waiting (const struct reasm_ip *reasm)
-+{
-+ return reasm->waiting;
-+}
-+
-+
-+unsigned
-+reasm_ip_max_waiting (const struct reasm_ip *reasm)
-+{
-+ return reasm->max_waiting;
-+}
-+
-+
-+unsigned
-+reasm_ip_timed_out (const struct reasm_ip *reasm)
-+{
-+ return reasm->timed_out;
-+}
-+
-+
-+unsigned
-+reasm_ip_dropped_frags (const struct reasm_ip *reasm)
-+{
-+ return reasm->dropped_frags;
-+}
-+
-+
-+bool
-+reasm_ip_set_timeout (struct reasm_ip *reasm, reasm_time_t timeout)
-+{
-+ if (reasm->time_first != NULL)
-+ return false;
-+
-+ reasm->timeout = timeout;
-+ return true;
-+}
-+
-+
-+static void
-+process_timeouts (struct reasm_ip *reasm, reasm_time_t now)
-+{
-+ while (reasm->time_first != NULL && reasm->time_first->timeout < now) {
-+ reasm->timed_out++;
-+ drop_entry (reasm, reasm->time_first);
-+ }
-+}
-+
-+
-+#if USE_IPv6
-+static struct reasm_frag_entry *
-+frag_from_ipv6 (unsigned char *packet, uint32_t *ip_id, bool *last_frag)
-+{
-+ struct ip6_hdr *ip6_header = (struct ip6_hdr *) packet;
-+ unsigned offset = 40; /* IPv6 header size */
-+ uint8_t nxt = ip6_header->ip6_nxt;
-+ unsigned total_len = 40 + ntohs (ip6_header->ip6_plen);
-+ unsigned last_nxt = offsetof (struct ip6_hdr, ip6_nxt);
-+
-+ /*
-+ * IPv6 extension headers from RFC 2460:
-+ * 0 Hop-by-Hop Options
-+ * 43 Routing
-+ * 44 Fragment
-+ * 60 Destination Options
-+ *
-+ * We look out for the Fragment header; the other 3 header
-+ * types listed above are recognized and considered safe to
-+ * skip over if they occur before the Fragment header.
-+ * Any unrecognized header will cause processing to stop and
-+ * a subsequent Fragment header to stay unrecognized.
-+ */
-+ while (nxt == IPPROTO_HOPOPTS || nxt == IPPROTO_ROUTING || nxt == IPPROTO_DSTOPTS) {
-+ if (offset + 2 > total_len)
-+ return NULL; /* header extends past end of packet */
-+
-+ unsigned exthdr_len = 8 + 8 * packet[offset + 1];
-+ if (offset + exthdr_len > total_len)
-+ return NULL; /* header extends past end of packet */
-+
-+ nxt = packet[offset];
-+ last_nxt = offset;
-+ offset += exthdr_len;
-+ }
-+
-+ if (nxt != IPPROTO_FRAGMENT)
-+ return NULL;
-+
-+ if (offset + 8 > total_len)
-+ return NULL; /* Fragment header extends past end of packet */
-+
-+ struct reasm_frag_entry *frag = malloc (sizeof (*frag));
-+ if (frag == NULL)
-+ abort ();
-+
-+ struct ip6_frag *frag_header = (struct ip6_frag *) (packet + offset);
-+ offset += 8;
-+
-+ /*
-+ * The Fragment header will be removed on reassembly, so we have to
-+ * replace the Next Header field of the previous header (which is
-+ * currently IPPROTO_FRAGMENT), with the Next Header field of the
-+ * Fragment header.
-+ *
-+ * XXX We really shouldn't manipulate the input packet in-place.
-+ */
-+ packet[last_nxt] = frag_header->ip6f_nxt;
-+
-+ *frag = (struct reasm_frag_entry) {
-+ .len = total_len - offset,
-+ .data_offset = offset,
-+ .offset = ntohs (frag_header->ip6f_offlg & IP6F_OFF_MASK),
-+ .data = packet,
-+ };
-+
-+ *ip_id = ntohl (frag_header->ip6f_ident);
-+ *last_frag = (frag_header->ip6f_offlg & IP6F_MORE_FRAG) == 0;
-+
-+ return frag;
-+}
-+#endif /* USE_IPv6 */
-+
-+
-+static bool
-+reasm_id_equal (enum reasm_proto proto, const union reasm_id *left, const union reasm_id *right)
-+{
-+ switch (proto) {
-+ case PROTO_IPV4:
-+ return memcmp (left->ipv4.ip_src, right->ipv4.ip_src, 4) == 0
-+ && memcmp (left->ipv4.ip_dst, right->ipv4.ip_dst, 4) == 0
-+ && left->ipv4.ip_id == right->ipv4.ip_id
-+ && left->ipv4.ip_proto == right->ipv4.ip_proto;
-+#if USE_IPv6
-+ case PROTO_IPV6:
-+ return memcmp (left->ipv6.ip_src, right->ipv6.ip_src, 16) == 0
-+ && memcmp (left->ipv6.ip_dst, right->ipv6.ip_dst, 16) == 0
-+ && left->ipv6.ip_id == right->ipv6.ip_id;
-+#endif /* USE_IPv6 */
-+ default:
-+ abort ();
-+ }
-+}
-+
-+
-+static struct reasm_frag_entry *
-+parse_packet (unsigned char *packet, unsigned len, enum reasm_proto *protocol, union reasm_id *id, unsigned *hash, bool *last_frag)
-+{
-+ struct ip *ip_header = (struct ip *) packet;
-+ struct reasm_frag_entry *frag = NULL;
-+
-+ switch (ip_header->ip_v) {
-+ case 4: {
-+ *protocol = PROTO_IPV4;
-+ uint16_t offset = ntohs (ip_header->ip_off);
-+ if (len >= ntohs (ip_header->ip_len) && (offset & (IP_MF | IP_OFFMASK)) != 0) {
-+ frag = malloc (sizeof (*frag));
-+ if (frag == NULL)
-+ abort ();
-+
-+ *frag = (struct reasm_frag_entry) {
-+ .len = ntohs (ip_header->ip_len) - ip_header->ip_hl * 4,
-+ .offset = (offset & IP_OFFMASK) * 8,
-+ .data_offset = ip_header->ip_hl * 4,
-+ .data = packet,
-+ };
-+
-+ *last_frag = (offset & IP_MF) == 0;
-+
-+ memcpy (id->ipv4.ip_src, &ip_header->ip_src, 4);
-+ memcpy (id->ipv4.ip_dst, &ip_header->ip_dst, 4);
-+ id->ipv4.ip_id = ntohs (ip_header->ip_id);
-+ id->ipv4.ip_proto = ip_header->ip_p;
-+
-+ *hash = reasm_ipv4_hash (&id->ipv4);
-+ }
-+ break;
-+ }
-+
-+#if USE_IPv6
-+ case 6: {
-+ struct ip6_hdr *ip6_header = (struct ip6_hdr *) packet;
-+ *protocol = PROTO_IPV6;
-+ if (len >= ntohs (ip6_header->ip6_plen) + 40)
-+ frag = frag_from_ipv6 (packet, &id->ipv6.ip_id, last_frag);
-+ if (frag != NULL) {
-+ memcpy (id->ipv6.ip_src, &ip6_header->ip6_src, 16);
-+ memcpy (id->ipv6.ip_dst, &ip6_header->ip6_dst, 16);
-+ *hash = reasm_ipv6_hash (&id->ipv6);
-+ }
-+ break;
-+ }
-+#endif /* USE_IPv6 */
-+
-+ default:
-+ break;
-+ }
-+
-+ return frag;
-+}
-diff -urN ngrep-1.45/ipreasm.h ngrep-1.45-reasm/ipreasm.h
---- ngrep-1.45/ipreasm.h 1970-01-01 01:00:00.000000000 +0100
-+++ ngrep-1.45-reasm/ipreasm.h 2007-06-16 19:17:20.124795623 +0200
-@@ -0,0 +1,57 @@
-+#ifndef _IPREASM_H
-+#define _IPREASM_H
-+
-+#include <stdbool.h>
-+
-+#include <pcap.h>
-+
-+
-+/*
-+ * This is an abstract time stamp. ipreasm doesn't care whether it is
-+ * in seconds, milliseconds, or nanodecades. All it does it add the
-+ * configured timeout value to it, and then compare it to the timstamps
-+ * of subsequent packets to decide whether a fragment has expired.
-+ */
-+typedef uint64_t reasm_time_t;
-+
-+struct reasm_ip;
-+
-+/*
-+ * Functions to create and destroy the reassembly environment.
-+ */
-+struct reasm_ip *reasm_ip_new (void);
-+void reasm_ip_free (struct reasm_ip *reasm);
-+
-+/*
-+ * This is the main packet processing function. It inputs one packet,
-+ * and MAY output one packet in turn. If the input was not a fragment,
-+ * it is passed unmodified. If the input was a fragment that completed
-+ * reassembly of a packet, the reassembled packet is output.
-+ * If more fragments are required for reassembly, or the input packet
-+ * is invalid for some reason, a NULL pointer is returned.
-+ *
-+ * The input must be a pointer allocated by malloc(). The output will
-+ * be a pointer allocated by malloc().
-+ *
-+ * Note that in the case of an IPv6 fragment, the input buffer will be
-+ * modified in-place. This is considered a bug and should be fixed in
-+ * the future.
-+ */
-+unsigned char *reasm_ip_next (struct reasm_ip *reasm, unsigned char *packet, unsigned len, reasm_time_t timestamp, unsigned *output_len);
-+
-+/*
-+ * Set the timeout after which a noncompleted reassembly expires, in
-+ * abstract time units (see above for the definition of reasm_time_t).
-+ */
-+bool reasm_ip_set_timeout (struct reasm_ip *reasm, reasm_time_t timeout);
-+
-+/*
-+ * Query certain information about the current state.
-+ */
-+unsigned reasm_ip_waiting (const struct reasm_ip *reasm);
-+unsigned reasm_ip_max_waiting (const struct reasm_ip *reasm);
-+unsigned reasm_ip_timed_out (const struct reasm_ip *reasm);
-+unsigned reasm_ip_dropped_frags (const struct reasm_ip *reasm);
-+
-+
-+#endif /* _IPREASM_H */
-diff -urN ngrep-1.45/Makefile.in ngrep-1.45-reasm/Makefile.in
---- ngrep-1.45/Makefile.in 2006-11-28 14:35:37.000000000 +0100
-+++ ngrep-1.45-reasm/Makefile.in 2007-06-16 15:41:22.859876074 +0200
-@@ -15,8 +15,8 @@
-
- STRIPFLAG=@STRIPFLAG@
-
--SRC=ngrep.c
--OBJS=ngrep.o
-+SRC=ngrep.c ipreasm.c
-+OBJS=ngrep.o ipreasm.o
- TARGET=ngrep
- MANPAGE=ngrep.8
-
-@@ -65,7 +65,7 @@
- $(REGEX_OBJS): $(REGEX_OBJS:.o=.c) $(REGEX_DIR)/*.h
- $(MAKE) $(MAKEFLAGS) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS))
-
--$(OBJS): Makefile ngrep.c ngrep.h
-+$(OBJS): Makefile ngrep.c ngrep.h ipreasm.c ipreasm.h
-
- tardist:
- @( VERSION=`perl -ne '/VERSION\s+"(.*)"/ && print "$$1\n"' ngrep.h` ; \
-diff -urN ngrep-1.45/ngrep.c ngrep-1.45-reasm/ngrep.c
---- ngrep-1.45/ngrep.c 2006-11-28 14:38:43.000000000 +0100
-+++ ngrep-1.45-reasm/ngrep.c 2007-06-16 21:41:43.142117150 +0200
-@@ -98,6 +98,7 @@
- #endif
-
- #include "ngrep.h"
-+#include "ipreasm.h"
-
-
- static char rcsver[] = "$Revision: 1.93 $";
-@@ -156,7 +157,7 @@
- uint8_t link_offset;
- uint8_t radiotap_present = 0;
-
--pcap_t *pd = NULL;
-+pcap_t *pd = NULL, *pd_dumppcap = NULL;
- pcap_dumper_t *pd_dump = NULL;
- struct bpf_program pcapfilter;
- struct in_addr net, mask;
-@@ -183,6 +184,12 @@
- uint32_t ws_row, ws_col = 80, ws_col_forced = 0;
-
-
-+/*
-+ * Reassembly
-+ */
-+struct reasm_ip *reasm = NULL;
-+
-+
- int main(int argc, char **argv) {
- int32_t c;
-
-@@ -195,7 +202,7 @@
- signal(SIGWINCH, update_windowsize);
- #endif
-
-- while ((c = getopt(argc, argv, "LNhXViwqpevxlDtTRMs:n:c:d:A:I:O:S:P:F:W:")) != EOF) {
-+ while ((c = getopt(argc, argv, "LNhXViwqpevxlDtTrRMs:n:c:d:A:I:O:S:P:F:W:")) != EOF) {
- switch (c) {
- case 'W': {
- if (!strcasecmp(optarg, "normal"))
-@@ -260,6 +267,10 @@
- case 'M':
- re_multiline_match = 0;
- break;
-+ case 'r':
-+ reasm = reasm_ip_new ();
-+ reasm_ip_set_timeout (reasm, 30000000);
-+ break;
- case 'R':
- dont_dropprivs = 1;
- break;
-@@ -585,7 +596,15 @@
- }
-
- if (dump_file) {
-- if (!(pd_dump = pcap_dump_open(pd, dump_file))) {
-+ if (reasm != NULL) {
-+ if (!(pd_dumppcap = pcap_open_dead(DLT_RAW, 65535))) {
-+ fprintf(stderr, "fatal: pcap_open_dead failed\n");
-+ clean_exit(-1);
-+ }
-+ pd_dump = pcap_dump_open(pd_dumppcap, dump_file);
-+ } else
-+ pd_dump = pcap_dump_open(pd, dump_file);
-+ if (!pd_dump) {
- fprintf(stderr, "fatal: %s\n", pcap_geterr(pd));
- clean_exit(-1);
- } else printf("output: %s\n", dump_file);
-@@ -641,6 +660,23 @@
- }
- #endif
-
-+ if (reasm != NULL) {
-+ unsigned new_len;
-+ u_char *new_p = malloc(len - link_offset);
-+ memcpy(new_p, ip4_pkt, len - link_offset);
-+ p = reasm_ip_next(reasm, new_p, len - link_offset, (reasm_time_t) 1000000UL * h->ts.tv_sec + h->ts.tv_usec, &new_len);
-+ if (p == NULL)
-+ return;
-+ len = new_len + link_offset;
-+ h->len = new_len;
-+ h->caplen = new_len;
-+
-+ ip4_pkt = (struct ip *) p;
-+#if USE_IPv6
-+ ip6_pkt = (struct ip6_hdr*)p;
-+#endif
-+ }
-+
- ip_ver = ip4_pkt->ip_v;
-
- switch (ip_ver) {
-@@ -802,6 +838,9 @@
-
- if (match_after && keep_matching)
- keep_matching--;
-+
-+ if (reasm != NULL)
-+ free(p);
- }
-
- void dump_packet(struct pcap_pkthdr *h, u_char *p, uint8_t proto, unsigned char *data, uint32_t len,
-@@ -1242,6 +1281,7 @@
- " -s is set the bpf caplen\n"
- " -S is set the limitlen on matched packets\n"
- " -W is set the dump format (normal, byline, single, none)\n"
-+ " -r is reassemble any fragmented IPV4 or IPV6 packets\n"
- " -c is force the column width to the specified size\n"
- " -P is set the non-printable display char to what is specified\n"
- " -F is read the bpf filter from the specified file\n"
-@@ -1292,8 +1331,9 @@
- && pd && !pcap_stats(pd, &s))
- printf("%u received, %u dropped\n", s.ps_recv, s.ps_drop);
-
-- if (pd) pcap_close(pd);
-- if (pd_dump) pcap_dump_close(pd_dump);
-+ if (pd) pcap_close(pd);
-+ if (pd_dumppcap) pcap_close(pd_dumppcap);
-+ if (pd_dump) pcap_dump_close(pd_dump);
-
- #if defined(_WIN32)
- if (delay_socket) closesocket(delay_socket);
-@@ -1301,6 +1341,9 @@
- if (usedev) free(usedev);
- #endif
-
-+ if (reasm != NULL)
-+ reasm_ip_free(reasm);
-+
- exit(sig);
- }
-
diff --git a/network/ngrep/ngrep.SlackBuild b/network/ngrep/ngrep.SlackBuild
index 1923b4d5c4..84422910d0 100644
--- a/network/ngrep/ngrep.SlackBuild
+++ b/network/ngrep/ngrep.SlackBuild
@@ -1,13 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ngrep
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2023 Yossi Neiman, mishehu+sbo@shavedgoats.net
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Based upon the script written by Larry Hajali <larryhaja[at]gmail[dot]com>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ngrep
-VERSION=${VERSION:-1.45}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.47}
+SOURCEVERSION=${VERSION/./_}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -38,18 +66,15 @@ fi
set -e
-# Option to add packet reassembly patch (default = yes)
-REASSEM_PATCH=${ASSEM_PATCH:-yes}
-
# Enable IPV6; either yes or no
NGREP_IPV6=${NGREP_IPV6:-yes}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SOURCEVERSION
+tar xvf $CWD/$PRGNAM-$SOURCEVERSION.tar.gz
+cd $PRGNAM-$SOURCEVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -57,11 +82,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Patch adds IPv4 and IPv6 fragment reassembly for ngrep 1.45
-if [ $REASSEM_PATCH == yes ]; then
- patch -p1 < $CWD/ngrep-1.45-reasm.diff
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -70,9 +90,6 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-ipv6=${NGREP_IPV6} \
- --with-pcap-includes=/usr/include/pcap \
- --disable-static \
- --disable-pcap-restart \
--build=$ARCH-slackware-linux
make
@@ -84,11 +101,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp CHANGES CREDITS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ngrep/ngrep.info b/network/ngrep/ngrep.info
index 0866f50fd1..906619b38d 100644
--- a/network/ngrep/ngrep.info
+++ b/network/ngrep/ngrep.info
@@ -1,10 +1,10 @@
PRGNAM="ngrep"
-VERSION="1.45"
-HOMEPAGE="http://ngrep.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ngrep/ngrep-1.45.tar.bz2"
-MD5SUM="bc8150331601f3b869549c94866b4f1c"
+VERSION="1.47"
+HOMEPAGE="https://github.com/jpr5/ngrep/"
+DOWNLOAD="https://github.com/jpr5/ngrep/archive/refs/tags/V1_47.tar.gz"
+MD5SUM="03cb1229ad586495852ea316262e8f38"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="Yossi Neiman"
+EMAIL="mishehu+sbo@shavedgoats.net"
diff --git a/network/ngrep/slack-desc b/network/ngrep/slack-desc
index d6c0756893..90762ea885 100644
--- a/network/ngrep/slack-desc
+++ b/network/ngrep/slack-desc
@@ -15,5 +15,5 @@ ngrep: to match against data payloads of packets. It currently recognizes
ngrep: IPv4/6, TCP, UDP and ICMPv4/6, IGMP and Raw across Ethernet, PPP,
ngrep: SLIP, FDDI, Token Ring and null interfaces.
ngrep:
-ngrep: Homepage: http://ngrep.sourceforge.net/
+ngrep: Homepage: https://github.com/jpr5/ngrep/
ngrep:
diff --git a/network/ngrok/README b/network/ngrok/README
new file mode 100644
index 0000000000..d667ff684a
--- /dev/null
+++ b/network/ngrok/README
@@ -0,0 +1,5 @@
+ngrok (Tunnel local servers to be reachable via the internet)
+
+ngrok allows you to expose TCP/TLS/HTTP servers running on your local
+machine to the internet. Just tell ngrok what port your server is
+listening on.
diff --git a/network/ngrok/ngrok.SlackBuild b/network/ngrok/ngrok.SlackBuild
new file mode 100644
index 0000000000..17a21d9468
--- /dev/null
+++ b/network/ngrok/ngrok.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# Slackware build script for ngrok
+
+# Copyright 2020-2023 Ebben Aries <slackbuilds@dscp.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ngrok
+VERSION=${VERSION:-3.5.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+case "$ARCH" in
+ x86_64)
+ BINARCH="amd64"
+ ;;
+ i?86)
+ BINARCH="386"
+ ;;
+ *)
+ echo "$ARCH is not supported."
+ exit 1
+ ;;
+esac
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar zxvf $CWD/${PRGNAM}-v3-${VERSION}-linux-${BINARCH}.tar.gz
+chown -R root:root .
+find -L . \
+\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/bin
+install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ngrok/ngrok.info b/network/ngrok/ngrok.info
new file mode 100644
index 0000000000..99ae27e927
--- /dev/null
+++ b/network/ngrok/ngrok.info
@@ -0,0 +1,10 @@
+PRGNAM="ngrok"
+VERSION="3.5.0"
+HOMEPAGE="https://ngrok.com"
+DOWNLOAD="https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-3.5.0-linux-386.tar.gz"
+MD5SUM="a6049195365e77c3cc30abc53d57fc5a"
+DOWNLOAD_x86_64="https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-3.5.0-linux-amd64.tar.gz"
+MD5SUM_x86_64="0fff0e38125e1b90663b1a7a9c90c701"
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/network/ngrok/slack-desc b/network/ngrok/slack-desc
new file mode 100644
index 0000000000..f01b45f15c
--- /dev/null
+++ b/network/ngrok/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ngrok: ngrok (Tunnel local servers to be reachable via the internet)
+ngrok:
+ngrok: ngrok allows you to expose TCP/TLS/HTTP servers running on your local
+ngrok: machine to the internet. Just tell ngrok what port your server is
+ngrok: listening on.
+ngrok:
+ngrok: Home-Page: https://ngrok.com
+ngrok:
+ngrok:
+ngrok:
+ngrok:
diff --git a/network/nheko/README b/network/nheko/README
new file mode 100644
index 0000000000..c8f3acf246
--- /dev/null
+++ b/network/nheko/README
@@ -0,0 +1,26 @@
+nheko is a native client for the Matrix network.
+
+Most of the features you would expect from a chat application are
+missing right now but we are getting close to a more feature complete
+client. Specifically there is support for:
+
+E2E encryption.
+VoIP calls (voice & video).
+User registration.
+Creating, joining & leaving rooms.
+Sending & receiving invites.
+Sending & receiving files and emoji (inline widgets for images, audio
+and file messages).
+Replies with text, images and other media (and actually render them
+as inline widgets).
+Typing notifications.
+Username auto-completion.
+Message & mention notifications.
+Redacting messages.
+Read receipts.
+Basic communities support.
+Room switcher (ctrl-K).
+Light, Dark & System themes.
+Creating separate profiles (command line only, use -p name).
+D-Bus API to allow integration with third-party plugins (does not
+support Windows or macOS).
diff --git a/network/nheko/doinst.sh b/network/nheko/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/nheko/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/nheko/douninst.sh b/network/nheko/douninst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/nheko/douninst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/nheko/nheko.SlackBuild b/network/nheko/nheko.SlackBuild
new file mode 100644
index 0000000000..3785ce2f90
--- /dev/null
+++ b/network/nheko/nheko.SlackBuild
@@ -0,0 +1,145 @@
+#!/bin/bash
+
+# Slackware build script for nheko
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nheko
+VERSION=${VERSION:-0.11.3}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+cp $CWD/lmdb++.h includes/
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+patch -p1 < $CWD/nheko-0.11.3-fix-for-fmt-10.patch
+patch -p1 < $CWD/871e403f6799df48cfbbe08eba56d473a0c34216.patch
+
+mkdir -p build
+cd build
+cmake \
+ -DHUNTER_ENABLED=OFF \
+ -DUSE_BUNDLED_SPDLOG=OFF \
+ -DUSE_BUNDLED_OLM=OFF \
+ -DUSE_BUNDLED_CMARK=OFF \
+ -DUSE_BUNDLED_JSON=OFF \
+ -DUSE_BUNDLED_OPENSSL=OFF \
+ -DUSE_BUNDLED_MTXCLIENT=OFF \
+ -DUSE_BUNDLED_LMDB=OFF \
+ -DUSE_BUNDLED_LMDBXX=OFF \
+ -DUSE_BUNDLED_QTKEYCHAIN=OFF \
+ -DUSE_BUNDLED_COEURL=OFF \
+ -DUSE_BUNDLED_LIBEVENT=OFF \
+ -DUSE_BUNDLED_LIBCURL=OFF \
+ -DUSE_BUNDLED_RE2=OFF \
+ -DUSE_BUNDLED_CPPHTTPLIB=ON \
+ -DUSE_BUNDLED_BLURHASH=ON \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/man/
+mv $PKG/usr/share/man/* $PKG/usr/man/
+rmdir $PKG/usr/share/man
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md CHANGELOG.md COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nheko/nheko.info b/network/nheko/nheko.info
new file mode 100644
index 0000000000..2f17d23f69
--- /dev/null
+++ b/network/nheko/nheko.info
@@ -0,0 +1,16 @@
+PRGNAM="nheko"
+VERSION="0.11.3"
+HOMEPAGE="https://github.com/Nheko-Reborn/nheko/"
+DOWNLOAD="https://github.com/Nheko-Reborn/nheko/archive/v0.11.3/nheko-0.11.3.tar.gz \
+https://raw.githubusercontent.com/hoytech/lmdbxx/1.0.0/lmdb++.h \
+https://gitlab.archlinux.org/archlinux/packaging/packages/nheko/-/raw/main/nheko-0.11.3-fix-for-fmt-10.patch \
+https://nheko.im/nheko-reborn/nheko/-/commit/871e403f6799df48cfbbe08eba56d473a0c34216.patch"
+MD5SUM="ec254f372b397d0c24c6d9075aac1335 \
+153c1d78ae29c4251afb7fbd8148d6eb \
+201b729f89ffdc33074758de0c27149f \
+772d4d2338c43a5fe7b45c6b71052e4c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="mtxclient cmark"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.nheko_2023-10-18@lockywolf.net"
diff --git a/network/nheko/slack-desc b/network/nheko/slack-desc
new file mode 100644
index 0000000000..cd8cbef1cd
--- /dev/null
+++ b/network/nheko/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nheko: nheko (matrix client written in C++)
+nheko:
+nheko: The motivation behind the project is to provide a native desktop app
+nheko: for Matrix.
+nheko:
+nheko:
+nheko:
+nheko:
+nheko:
+nheko:
+nheko:
diff --git a/network/niceshaper/niceshaper.SlackBuild b/network/niceshaper/niceshaper.SlackBuild
index 315ea9b45a..672141a462 100644
--- a/network/niceshaper/niceshaper.SlackBuild
+++ b/network/niceshaper/niceshaper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for niceshaper
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=niceshaper
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -109,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nicotine+/nicotine+.SlackBuild b/network/nicotine+/nicotine+.SlackBuild
index 4c00a14561..7c5c828c06 100644
--- a/network/nicotine+/nicotine+.SlackBuild
+++ b/network/nicotine+/nicotine+.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nicotine+
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nicotine+
SRCNAM=nicotine-plus
-VERSION=${VERSION:-3.0.0}
+VERSION=${VERSION:-3.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,6 +76,7 @@ python3 setup.py install --root=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -74,4 +85,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nicotine+/nicotine+.info b/network/nicotine+/nicotine+.info
index ee5df51c22..cf73ff8d7e 100644
--- a/network/nicotine+/nicotine+.info
+++ b/network/nicotine+/nicotine+.info
@@ -1,10 +1,10 @@
PRGNAM="nicotine+"
-VERSION="3.0.0"
+VERSION="3.3.2"
HOMEPAGE="https://nicotine-plus.org/"
-DOWNLOAD="https://github.com/Nicotine-Plus/nicotine-plus/archive/3.0.0/nicotine-plus-3.0.0.tar.gz"
-MD5SUM="51bea3cfd9df3fac7fe7631edc3b2f70"
+DOWNLOAD="https://github.com/Nicotine-Plus/nicotine-plus/archive/3.3.2/nicotine-plus-3.3.2.tar.gz"
+MD5SUM="40dd230cfac61eda0c0500e5aab6e586"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pygobject3-python3"
+REQUIRES=""
MAINTAINER="Sasha Abbott"
EMAIL="sashaa@disroot.org"
diff --git a/network/nikto/README b/network/nikto/README
index 0174ffe58d..904c57657a 100644
--- a/network/nikto/README
+++ b/network/nikto/README
@@ -1,19 +1,20 @@
-Nikto is an Open Source (GPL) web server scanner which performs comprehensive
-tests against web servers for multiple items, including over 6700 potentially
-dangerous files/programs, checks for outdated versions of over 1250 servers,
-and version specific problems on over 270 servers. It also checks for server
-configuration items such as the presence of multiple index files, HTTP server
-options, and will attempt to identify installed web servers and software. Scan
-items and plugins are frequently updated and can be automatically updated.
+Nikto is an Open Source (GPL) web server scanner which performs
+comprehensive tests against web servers for multiple items, including
+over 6700 potentially dangerous files/programs, checks for outdated
+versions of over 1250 servers, and version specific problems on over
+270 servers. It also checks for server configuration items such as
+the presence of multiple index files, HTTP server options, and will
+attempt to identify installed web servers and software. Scan items and
+plugins are frequently updated and can be automatically updated.
-Nikto is not designed as a stealthy tool. It will test a web server in the
-quickest time possible, and is obvious in log files or to an IPS/IDS. However,
-there is support for LibWhisker's anti-IDS methods in case you want to give it
-a try (or test your IDS system).
+Nikto is not designed as a stealthy tool. It will test a web server
+in the quickest time possible, and is obvious in log files or to an
+IPS/IDS. However, there is support for LibWhisker's anti-IDS methods
+in case you want to give it a try (or test your IDS system).
-Not every check is a security problem, though most are. There are some items
-that are "info only" type checks that look for things that may not have a
-security flaw, but the webmaster or security engineer may not know are present
-on the server. These items are usually marked appropriately in the information
-printed. There are also some checks for unknown items which have been seen
-scanned for in log files.
+Not every check is a security problem, though most are. There are some
+items that are "info only" type checks that look for things that may
+not have a security flaw, but the webmaster or security engineer may
+not know are present on the server. These items are usually marked
+appropriately in the information printed. There are also some checks
+for unknown items which have been seen scanned for in log files.
diff --git a/network/nikto/nikto.SlackBuild b/network/nikto/nikto.SlackBuild
index ac6cd320fe..6d9112861d 100644
--- a/network/nikto/nikto.SlackBuild
+++ b/network/nikto/nikto.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Nikto Web Scanner
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nikto
VERSION=${VERSION:-2.1.6}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -122,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nikto/nikto.info b/network/nikto/nikto.info
index 46c249a44d..4a4e2582e8 100644
--- a/network/nikto/nikto.info
+++ b/network/nikto/nikto.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/sullo/nikto/archive/2.1.6/nikto-2.1.6.tar.gz"
MD5SUM="3d6c1b5a6fcdd47c18169febda02393e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Net-SSLeay libwhisker2"
+REQUIRES="libwhisker2"
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"
diff --git a/network/nload/nload.SlackBuild b/network/nload/nload.SlackBuild
index cb1a6d9f13..4fd1c733c0 100644
--- a/network/nload/nload.SlackBuild
+++ b/network/nload/nload.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <nload>
@@ -23,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nload
VERSION=${VERSION:-0.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nmh/nmh.SlackBuild b/network/nmh/nmh.SlackBuild
index d8dd4250ae..6d5abd51a0 100644
--- a/network/nmh/nmh.SlackBuild
+++ b/network/nmh/nmh.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild for New MH System (nmh)
# Joel J. Adamson <adamsonj@email.unc.edu>
#
# Updated for 1.6 by Leonard Schmidt <lems@gmx.net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nmh
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,4 +103,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
)
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nmh/nmh.info b/network/nmh/nmh.info
index f04d375ac6..f90a2634f3 100644
--- a/network/nmh/nmh.info
+++ b/network/nmh/nmh.info
@@ -1,8 +1,8 @@
PRGNAM="nmh"
-VERSION="1.7.1"
+VERSION="1.8"
HOMEPAGE="https://www.nongnu.org/nmh/"
-DOWNLOAD="https://download.savannah.nongnu.org/releases/nmh/nmh-1.7.1.tar.gz"
-MD5SUM="0f2e117eb3acbe949af43b5048de28c5"
+DOWNLOAD="https://download.savannah.nongnu.org/releases/nmh/nmh-1.8.tar.gz"
+MD5SUM="a9bb7636cd8a75c522a48f5d942314fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/noip2/noip2.SlackBuild b/network/noip2/noip2.SlackBuild
index 9ea7572479..e4b38251d5 100644
--- a/network/noip2/noip2.SlackBuild
+++ b/network/noip2/noip2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NoIP2
@@ -24,11 +24,14 @@
# Modified by SlackBuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=noip2
SRCNAM=noip
VERSION=${VERSION:-2.1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nordvpn/README b/network/nordvpn/README
index 8f0e00328c..b4f3ba5626 100644
--- a/network/nordvpn/README
+++ b/network/nordvpn/README
@@ -5,6 +5,12 @@ More than 5000 servers worldwide. No logs of your online activity.
Secure up to 6 devices with a single account.
Access online content securely, with no restrictions.
+This script requires a 'nordvpn' group to exist before running.
+You can create this group like this (Run these as root):
+ groupadd -g 373 nordvpn
+ usermod -aG nordvpn $USER (Replace $USER with your username)
+Then log out of the system and login again.
+
The following can be used to start/stop NordVPN automatically:
/etc/rc.d/rc.local
if [ -x /etc/rc.d/rc.nordvpn ]; then
@@ -17,8 +23,8 @@ The following can be used to start/stop NordVPN automatically:
fi
NOTE: NordVPN has implemented NordLynx (WireGuard protocol) into the
-app. It is still under heavy development. However if you want to try
-it, you need to install these 2 optional dependencies:
+app. Dependencies already satisfied at full install.
+In case of any issue, you need to reinstall following packages:
wireguard-linux-compat
wireguard-tools
diff --git a/network/nordvpn/doinst.sh b/network/nordvpn/doinst.sh
index 3f2e7491ca..51d3c3bd15 100644
--- a/network/nordvpn/doinst.sh
+++ b/network/nordvpn/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
@@ -9,5 +13,5 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
if [ -x /etc/rc.d/rc.nordvpn ]; then
- /etc/rc.d/rc.nordvpn restart
+ /etc/rc.d/rc.nordvpn restart > /dev/null
fi
diff --git a/network/nordvpn/nordvpn.SlackBuild b/network/nordvpn/nordvpn.SlackBuild
index 710a1e1935..742c2b86c7 100644
--- a/network/nordvpn/nordvpn.SlackBuild
+++ b/network/nordvpn/nordvpn.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
-# Slackware build script for nordvpn.
+# Slackware build script for NordVPN
#
-# Copyright 2019 Reza Talebi, Shahin Shahr, Iran.
+# Copyright 2019-2021 Reza Talebi, Shahin Shahr, Iran.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Pouria Rezaei <Pouria.rz@outlook.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nordvpn
-VERSION=${VERSION:-3.8.6}
+VERSION=${VERSION:-3.17.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# Select nordvpn's default group
+NORD_GROUP=${NORD_GROUP:-nordvpn}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,45 +43,66 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRCNAM=$PRGNAM-stable
-
set -e
-if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
+if [ "$ARCH" = "i586" ]; then
+ DEBARCH="i386"
+elif [ "$ARCH" = "i686" ]; then
+ DEBARCH="i386"
+elif [ "$ARCH" = "x86_64" ]; then
+ DEBARCH="amd64"
else
- echo "Package for $(uname -m) architecture is not available."
+ echo "Package for $ARCH architecture is not available."
exit 1
fi
+bailout() {
+ echo " You must have a $NORD_GROUP group to run this script. "
+ echo " Something like this should suffice for most systems (Run as root): "
+ echo " # groupadd -g 373 $NORD_GROUP "
+ echo " # usermod -aG $NORD_GROUP \$USER (Replace \$USER with your username)"
+ echo " Then log out of the system and login again."
+ exit 1
+}
+
+# Bail if group isn't valid on your system.
+if ! grep -q "^$NORD_GROUP:" /etc/group; then
+ bailout
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${VERSION}
-mkdir -p $PRGNAM-${VERSION}
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+
cd $PKG
-rpm2cpio $CWD/$PRGNAM-${VERSION}-${BUILD}.${ARCH}.rpm | cpio -idmv
-rm -rf etc
-rm -rf usr/lib
+ar p $CWD/${PRGNAM}_${VERSION}_${DEBARCH}.deb data.tar.gz | tar zxv
+
+rm -fR etc usr/lib
-mv $PKG/usr/share/man $PKG/usr/
+# Move man where the man likes
+mv usr/share/man usr/
+rm -rf $PKG/usr/share/doc
-mkdir -p usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-mkdir -p $PKG/etc/rc.d/
-cp $CWD/rc.nordvpn $PKG/etc/rc.d/rc.nordvpn
+mkdir -p $PKG/etc/rc.d
+install -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
cd $PKG
-/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nordvpn/nordvpn.info b/network/nordvpn/nordvpn.info
index 1943e15c83..4b04fd56b2 100644
--- a/network/nordvpn/nordvpn.info
+++ b/network/nordvpn/nordvpn.info
@@ -1,10 +1,10 @@
PRGNAM="nordvpn"
-VERSION="3.8.6"
+VERSION="3.17.2"
HOMEPAGE="https://www.nordvpn.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://repo.nordvpn.com/yum/nordvpn/centos/x86_64/Packages/n/nordvpn-3.8.6-1.x86_64.rpm"
-MD5SUM_x86_64="16b9f8b5ea5224e445427a4b1dbf4093"
+DOWNLOAD="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.17.2_i386.deb"
+MD5SUM="cfa324fa4b8280710f00e5c4634711cb"
+DOWNLOAD_x86_64="https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.17.2_amd64.deb"
+MD5SUM_x86_64="9fe543322dd827857a9de14241b1b38f"
REQUIRES=""
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"
diff --git a/network/nordvpn/rc.nordvpn b/network/nordvpn/rc.nordvpn
index c59bb60073..bc1eb255a4 100644
--- a/network/nordvpn/rc.nordvpn
+++ b/network/nordvpn/rc.nordvpn
@@ -3,28 +3,58 @@
# Short-Description: Protect your privacy online and access media content with no regional restrictions. Strong encryption and no-log policy with 3000+ servers in 60+ countries.
### END INIT INFO
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
-PRGNAM=nordvpn
-PID=/var/run/$PRGNAM.pid
-DAEMON=/usr/sbin/${PRGNAM}d
-SOCK=/run/${PRGNAM}d.sock
+BASE=nordvpn
+DAEMON=/usr/sbin/${BASE}d
+PID=/var/run/$BASE.pid
+SOCK=/run/$BASE/${BASE}d.sock
+SOCKDIR=/run/$BASE
+create_socket_dir() {
+ if [[ -d $SOCKDIR ]]; then
+ return
+ fi
+ mkdir -m 0770 $SOCKDIR
+ chown root:$BASE $SOCKDIR
+}
+
+checkuser() {
+ status=0
+ for u in $(who | awk '{print $1}' | sort | uniq)
+ do
+ if [ "$u" == "$1" ]; then
+ return 0
+ fi
+ done
+ return 1
+}
#
# Function that starts the daemon
#
nordvpnd_start()
{
+ checkuser
+ create_socket_dir
rm -rf $SOCK
if [ -s $PID ]; then
- echo "$PRGNAM is already running: $(cat $PID)"
+ echo "$BASE is already running: $(cat $PID)"
exit 1
fi
if [ -x $DAEMON ]; then
- echo "Starting $PRGNAM"
- $DAEMON &
+ echo "Starting $BASE"
+ sleep 1
+ # $DAEMON start-stop-daemon --start --quiet -g "nordvpn" --pidfile $PID --exec $DAEMON
+ $DAEMON > /dev/null &
pidof $DAEMON > $PID
+ sleep 10
+ if [ -S "$SOCK" ]; then
+ echo "$BASE has been started."
+ else
+ echo "$BASE failed to start. Please restart the daemon."
+ fi
fi
}
@@ -34,11 +64,14 @@ nordvpnd_start()
nordvpnd_stop()
{
if [ -s $PID ]; then
+ echo "Stopping $BASE"
+ sleep 1
kill $(cat $PID)
rm -rf $PID $SOCK
- echo "$PRGNAM has been stopped."
+ sleep 1
+ echo "$BASE has been stopped."
else
- echo "$PRGNAM is not running."
+ echo "$BASE is not running."
fi
}
@@ -47,15 +80,9 @@ nordvpnd_stop()
#
nordvpnd_restart()
{
- echo "Stopping $PRGNAM"
- sleep 1
nordvpnd_stop
- echo "$PRGNAM has been stopped."
- sleep 1
- echo "Restarting $PRGNAM"
sleep 1
nordvpnd_start
- echo "$PRGNAM has been restarted."
}
#
@@ -64,9 +91,9 @@ nordvpnd_restart()
nordvpnd_status()
{
if [ -s $PID ]; then
- echo "$PRGNAM is running: $(cat $PID)"
+ echo "$BASE is running: $(cat $PID)"
else
- echo "$PRGNAM is not running."
+ echo "$BASE is not running."
fi
}
diff --git a/network/nrpe/README b/network/nrpe/README
index 2dba6da61d..06c1426952 100644
--- a/network/nrpe/README
+++ b/network/nrpe/README
@@ -1,8 +1,8 @@
nrpe (Nagios Remote Plugin Executor)
-The NRPE addon is designed to allow you to execute Nagios plugins on remote
-Linux/Unix machines. The main reason for doing this is to allow Nagios
-to monitor "local" resources (like CPU load, memory usage, etc.) remote
-machines. Since these public resources are not usually exposed to external
-machines, an agent like NRPE must be installed on the remote Linux/Unix
-machines.
+The NRPE addon is designed to allow you to execute Nagios plugins on
+remote Linux/Unix machines. The main reason for doing this is to allow
+Nagios to monitor "local" resources (like CPU load, memory usage,
+etc.) remote machines. Since these public resources are not usually
+exposed to external machines, an agent like NRPE must be installed on
+the remote Linux/Unix machines.
diff --git a/network/nrpe/nrpe.SlackBuild b/network/nrpe/nrpe.SlackBuild
index 4c6b97b537..cf9a72b14e 100644
--- a/network/nrpe/nrpe.SlackBuild
+++ b/network/nrpe/nrpe.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nrpe
# Written by Zordrak <slackbuilds@tpa.me.uk>
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nrpe
VERSION=${VERSION:-2.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -105,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nsca/README b/network/nsca/README
index 16fc72d038..9a5c7c7ebd 100644
--- a/network/nsca/README
+++ b/network/nsca/README
@@ -1,5 +1,5 @@
nsca (Nagios Service Check Acceptor)
-NSCA is a Linux/Unix daemon allows you to integrate passive alerts and checks
-from remote machines and applications with Nagios. Useful for processing
-security alerts, as well as redundant Nagios setups.
+NSCA is a Linux/Unix daemon allows you to integrate passive alerts and
+checks from remote machines and applications with Nagios. Useful for
+processing security alerts, as well as redundant Nagios setups.
diff --git a/network/nsca/nsca.SlackBuild b/network/nsca/nsca.SlackBuild
index 7efdabe20c..8b1b867b6f 100644
--- a/network/nsca/nsca.SlackBuild
+++ b/network/nsca/nsca.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nsca
# Written by Bas Couwenberg <sebastic@xs4all.nl>
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nsca
VERSION=${VERSION:-2.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -111,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nsd/README b/network/nsd/README
index 521b12bdb1..7aeed422b9 100644
--- a/network/nsd/README
+++ b/network/nsd/README
@@ -1,18 +1,16 @@
-NSD is being developed with the purpose of creating more diversity in the
-DNS landscape. Secondly we want to create a fast, modern, RFC compliant
-nameserver.
-
-NSD requires its own user in order to run securely. It is not advised to
-run services as root user without special reason.
+NSD is being developed with the purpose of creating more diversity
+in the DNS landscape. Secondly we want to create a fast, modern, RFC
+compliant nameserver.
+NSD requires its own user in order to run securely. It is not advised
+to run services as root user without special reason.
To add NSD user in system run as root:
# groupadd -g 336 nsd
# useradd -u 336 -d /var/lib/nsd -g nsd -s /bin/false nsd
-
-In order to run NSD during boot process, add to /etc/rc.d/rc.local :
+In order to run NSD during boot process, add to /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.nsd ]; then
/etc/rc.d/rc.nsd start
diff --git a/network/nsd/nsd.SlackBuild b/network/nsd/nsd.SlackBuild
index 6deb8f862c..b3a40a706a 100644
--- a/network/nsd/nsd.SlackBuild
+++ b/network/nsd/nsd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for NSD, Authoritative DNS server
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nsd
USER=$PRGNAM
GROUP=$PRGNAM
VERSION=${VERSION:-4.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if ! grep -q "^nsd:" /etc/group; then
echo "$0: Error: $PRGNAM group ($GROUP) doesn't exist."
@@ -51,7 +54,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -132,11 +142,8 @@ install -Dpm 0644 "$CWD/localhost.zone" "$PKG/var/lib/$PRGNAM/zones/master/local
chown -R $USER:$GROUP "$PKG/var/lib/$USER"
-mkdir -p "$PKG/var/run/$PRGNAM"
-chown $USER:$GROUP "$PKG/var/run/$PRGNAM"
-
mkdir -p "$PKG/var/log/$PRGNAM"
chown $USER:$GROUP "$PKG/var/log/$PRGNAM"
cd "$PKG"
-/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-${VERSION}-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}"
+/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
diff --git a/network/nsd/nsd.logrotate b/network/nsd/nsd.logrotate
index eb49072a75..5df3e2ba4a 100644
--- a/network/nsd/nsd.logrotate
+++ b/network/nsd/nsd.logrotate
@@ -2,6 +2,8 @@
daily
rotate 14
notifempty
+ create 0640 nsd nsd
+ su nsd nsd
missingok
compress
sharedscripts
diff --git a/network/nsd/rc.nsd b/network/nsd/rc.nsd
index 55118d9464..d86761afd8 100644
--- a/network/nsd/rc.nsd
+++ b/network/nsd/rc.nsd
@@ -6,6 +6,8 @@
do_start() {
if [ -x /usr/sbin/nsd ]; then
echo "Starting Name Server Daemon: /usr/sbin/nsd"
+ mkdir -p /var/run/nsd
+ chown nsd:nsd /var/run/nsd
/usr/sbin/nsd -c /etc/nsd/nsd.conf 2> /dev/null
fi
}
diff --git a/network/nss-mdns/README b/network/nss-mdns/README
index 742b398335..461764b63f 100644
--- a/network/nss-mdns/README
+++ b/network/nss-mdns/README
@@ -1,8 +1,11 @@
-nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality
-of the GNU C Library (glibc) which provides host name resolution via
-Multicast DNS (a.k.a. Zeroconf, a.k.a. Apple Rendezvous, a.k.a Apple Bonjour).
-This effectively allows name resolution by common Unix/Linux programs in the
-ad-hoc mDNS domain .local.
+nss-mdns is a plugin for the GNU Name Service Switch (NSS)
+functionality of the GNU C Library (glibc) which provides host
+name resolution via Multicast DNS (a.k.a. Zeroconf, a.k.a. Apple
+Rendezvous, a.k.a Apple Bonjour). This effectively allows name
+resolution by common Unix/Linux programs in the ad-hoc mDNS domain
+.local.
+
+To test, the following command should return a mapping for the remote
+host:
-To test, the following command should return a mapping for the remote host:
getent hosts <hostname>.local
diff --git a/network/nss-mdns/nss-mdns.SlackBuild b/network/nss-mdns/nss-mdns.SlackBuild
index 42aeafa5f8..a25fd3ed77 100644
--- a/network/nss-mdns/nss-mdns.SlackBuild
+++ b/network/nss-mdns/nss-mdns.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nss-mdns
# Written by Menno Duursma <druiloor@zonnet.nl>
# Maintained by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nss-mdns
VERSION=${VERSION:-0.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,8 +61,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-#patch -p1 < $CWD/look-in-run-for-avahi-socket.patch
-
AVAHI_SOCKET="/run/avahi-daemon/socket" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,4 +91,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nss-tls/README b/network/nss-tls/README
new file mode 100644
index 0000000000..fe975e3661
--- /dev/null
+++ b/network/nss-tls/README
@@ -0,0 +1,23 @@
+nss-tls (DNS-over-HTTPS resolver)
+
+nss-tls is an alternative, encrypted name resolving library for Linux
+distributions with glibc which uses DNS-over-HTTPS. The glibc name
+resolver can be configured through nsswitch.conf(5) to use nss-tls
+instead of the DNS resolver, or fall back to DNS when nss-tls fails.
+
+This way, all applications that use the standard resolver API
+(getaddrinfo(), gethostbyname(), etc'), are transparently
+migrated from DNS to encrypted means of name resolving, with
+zero application-side changes and minimal resource consumption
+footprint. However, nss-tls does not deal with applications that use
+their own, built-in DNS resolver.
+
+See README_SBo.txt for instructions on setting things up, once the
+package is installed. It won't "just work", you really do have to
+configure it.
+
+The default servers in the config file are provided by Google, Quad9,
+and Cloudflare. If you'd like to change these, there is a list of
+public DoH servers here:
+
+https://zenodo.org/records/4923371
diff --git a/network/nss-tls/README_SBo.txt b/network/nss-tls/README_SBo.txt
new file mode 100644
index 0000000000..6c82bc23ee
--- /dev/null
+++ b/network/nss-tls/README_SBo.txt
@@ -0,0 +1,64 @@
+Slackware-specific nss-tls HOWTO
+--------------------------------
+
+1. Make sure /etc/nss-tls.conf has at least one DNS-over-HTTPS server URL
+ listed. The default config file has 3, so you shouldn't need to
+ change it unless you don't trust the default servers (one of which
+ belongs to Google). Although it's possible to use hostnames in the
+ config file, I highly recommend using IP addresses.
+
+2. Add this code to your /etc/rc.d/rc.local:
+
+ [ -x /etc/rc.d/rc.nss-tlsd ] && /etc/rc.d/rc.nss-tlsd start
+
+3. Make sure /etc/rc.d/rc.nss-tlsd is executable (it is, by default).
+
+4. Manually start the daemon with the command: /etc/rc.d/rc.nss-tlsd start
+ Or, you could reboot instead.
+
+ At this point, you should be able to use the tlslookup(1) tool to
+ do some test lookups. Try "tlslookup www.slackware.com". You should
+ get output similar to:
+
+ $ tlslookup www.slackware.com
+ 23.218.93.137
+ 23.218.93.171
+ 2600:1402:9800:d::b833:2ac7
+ 2600:1402:9800:d::b833:2acd
+
+5. Edit /etc/nsswitch.conf and find the line that reads "hosts: files dns".
+ Replace the "dns" with "tls", so the line looks like:
+
+ hosts: files tls
+
+ Now, try "ping www.slackware.com". If this works, you should be
+ able to use normal clients (web browsers, mail, etc). nss-tls
+ transparently replaces the DNS resolver... but not everything
+ will work. In particular, git, curl, and alpine (the mail client)
+ are known not to work in this configuration. To support these
+ applications, see the next step.
+
+6. To keep regular DNS as a fallback option, change the line in
+ /etc/nss-tls.conf again, so it looks like:
+
+ hosts: files tls dns
+
+ This allows applications that don't work with nss-tls to use regular
+ DNS instead. Notably, git won't work without fallback DNS.
+
+7. Optional: users can run their own instances of the daemon, with
+ caching support. Run the command /usr/bin/nss-tlsd-user from
+ your startup scripts (~/.bash_profile for console logins, or
+ whatever your desktop environment uses if you use GUI login).
+
+ This isn't really required, though it can provide some extra
+ security on multi-user systems. If you're the only person who uses
+ your Slackware box, you probably don't need this.
+
+Running a server
+----------------
+
+nss-tls is just the client side of DNS-over-HTTPS. If you want to run
+a server, look into unbound (on SBo). In future Slackware versions,
+you may be able to use Slackware's bind for this (the version in 15.0
+doesn't support it, but the one in -current should).
diff --git a/network/nss-tls/doinst.sh b/network/nss-tls/doinst.sh
new file mode 100644
index 0000000000..6f2d8b6559
--- /dev/null
+++ b/network/nss-tls/doinst.sh
@@ -0,0 +1,12 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+config etc/nss-tls.conf.new
+config etc/default/nss-tls.new
diff --git a/network/nss-tls/nss-tls.SlackBuild b/network/nss-tls/nss-tls.SlackBuild
new file mode 100644
index 0000000000..88db43b377
--- /dev/null
+++ b/network/nss-tls/nss-tls.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for nss-tls
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Notes:
+
+# Building with --buildtype=debug makes the daemon write HTTP request
+# and response headers to its stdout. This isn't very useful, so this
+# script doesn't support it.
+
+# It would be nice if the daemon would log to syslog, or had some
+# runtime-configurable verbose/debug options.
+
+# I wish git would work with this. If it would, it'd be possible
+# to use 'hosts: files tls' in nsswitch.conf (curl and alpine still
+# wouldn't work, but there are decent workarounds for those).
+
+# By default, when the daemon runs as root, it switches UID/GID to
+# daemon/daemon. This seems fine to me. It would be possible to
+# reserve a UID/GID and build with -Duser=<blah> -Dgroup=<blah>, if
+# there were any real need for it.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nss-tls
+VERSION=${VERSION:-1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# This patch makes the client and server agree on the per-user socket path.
+patch -p1 < $CWD/per_user_dir.diff
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+gzip -9 $PKG/usr/man/man*/*
+rm -f $PKG/etc/nss-tls.conf
+cat $CWD/nss-tls.conf > $PKG/etc/nss-tls.conf.new
+
+install -D -m0755 -oroot -groot $CWD/nss-tlsd-user.sh $PKG/usr/bin/nss-tlsd-user
+
+mkdir -p $PKG/etc/rc.d $PKG/etc/default
+cat $CWD/rc.nss-tlsd > $PKG/etc/rc.d/rc.nss-tlsd
+cat $CWD/nss-tlsd.default > $PKG/etc/default/nss-tlsd.new
+chmod 755 $PKG/etc/rc.d/rc.nss-tlsd
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING README* $PKGDOC
+cat $CWD/README_SBo.txt > $PKGDOC/README_SBo.txt
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nss-tls/nss-tls.conf b/network/nss-tls/nss-tls.conf
new file mode 100644
index 0000000000..5227d4d752
--- /dev/null
+++ b/network/nss-tls/nss-tls.conf
@@ -0,0 +1,27 @@
+# nss-tls.conf - config for nss-tlsd daemon, part of nss-tls SBo package.
+
+# The only setting here is 'resolvers=', which must be a comma-separated
+# list of one or more DNS-over-HTTPS server URLs. Although it's possible
+# to use hostnames, it's better to use IP addresses in the URLs.
+
+# There's a list of public DoH servers found by port-scanning, here:
+# https://zenodo.org/records/4923371
+
+# Or, you could run your own (with unbound).
+
+# Do not remove this line:
+[global]
+
+# Google, DNS9, Cloudflare. These are the default servers from Debian's
+# nss-tls package.
+resolvers=https://9.9.9.9/dns-query,https://1.1.1.1/dns-query,https://8.8.8.8/dns-query
+
+# AdGuards's default (ad/tracker blocking, but no content filtering) servers.
+# These can be IPv6, too. See https://adguard-dns.io/en/public-dns.html
+# resolvers=https://94.140.14.14/dns-query,https://94.140.15.15/dns-query
+
+# AdGuards's non-filtering servers
+# resolvers=https://94.140.14.140/dns-query,https://94.140.15.141/dns-query
+
+# AdGuards's "family protection" content-filtering server
+# resolvers=https://94.140.14.15/dns-query,https://94.140.15.16/dns-query
diff --git a/network/nss-tls/nss-tls.info b/network/nss-tls/nss-tls.info
new file mode 100644
index 0000000000..ada3217a79
--- /dev/null
+++ b/network/nss-tls/nss-tls.info
@@ -0,0 +1,10 @@
+PRGNAM="nss-tls"
+VERSION="1.1"
+HOMEPAGE="https://github.com/dimkr/nss-tls/"
+DOWNLOAD="https://github.com/dimkr/nss-tls/archive/1.1/nss-tls-1.1.tar.gz"
+MD5SUM="a9e8c63856bf63ad2d1bedf46a01a48d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/nss-tls/nss-tlsd-user.sh b/network/nss-tls/nss-tlsd-user.sh
new file mode 100644
index 0000000000..0b395ea2ba
--- /dev/null
+++ b/network/nss-tls/nss-tlsd-user.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# Launch a per-user nss-tlsd process, with caching.
+# Part of the SBo nss-tls build, by B. Watson, WTFPL licensed.
+# Other distributions use systemd to launch this when a user logs
+# in, we have to have users launch it from e.g. .bash_profile. This
+# wrapper script simplifies the setup.
+
+# Note that launching the user daemon isn't required, but since the
+# system daemon doesn't do caching for security reasons, the user
+# daemon might help performance a bit.
+
+# Using setsid --fork here prevents this script from hanging around
+# waiting for nss-tlsd to exit.
+
+if [ -x /usr/sbin/nss-tlsd ]; then
+ [ -e ~/.cache/nss-tlsd.sock ] || setsid --fork /usr/sbin/nss-tlsd -c &>/dev/null &
+fi
+
+exit 0
diff --git a/network/nss-tls/nss-tlsd.default b/network/nss-tls/nss-tlsd.default
new file mode 100644
index 0000000000..60cbbdf542
--- /dev/null
+++ b/network/nss-tls/nss-tlsd.default
@@ -0,0 +1,8 @@
+# Default options for the nss-tlsd daemon:
+#
+# Supported options:
+# -c: cache results. This is really intended for per-user daemons.
+# -r: use a random server, when multiple servers are configured.
+# By default, all the above are disabled.
+
+NSS_TLSD_OPTS=""
diff --git a/network/nss-tls/per_user_dir.diff b/network/nss-tls/per_user_dir.diff
new file mode 100644
index 0000000000..d833c6ea95
--- /dev/null
+++ b/network/nss-tls/per_user_dir.diff
@@ -0,0 +1,23 @@
+diff -Naur nss-tls-1.1/nss-tls.c nss-tls-1.1.patched/nss-tls.c
+--- nss-tls-1.1/nss-tls.c 2020-07-16 19:09:59.000000000 -0400
++++ nss-tls-1.1.patched/nss-tls.c 2024-01-17 15:57:03.989437314 -0500
+@@ -68,7 +68,7 @@
+ if (geteuid() == 0)
+ strcpy(sun.sun_path, NSS_TLS_SOCKET_PATH);
+ else {
+- dir = getenv("XDG_RUNTIME_DIR");
++ dir = getenv("HOME");
+ if (dir) {
+ len = strlen(dir);
+ if (len > sizeof(sun.sun_path) - sizeof("/"NSS_TLS_SOCKET_NAME))
+@@ -77,6 +77,10 @@
+ memcpy(sun.sun_path, dir, len);
+ sun.sun_path[len] = '/';
+ ++len;
++ memcpy(sun.sun_path + len, ".cache", 6);
++ len += 6;
++ sun.sun_path[len] = '/';
++ ++len;
+ strncpy(sun.sun_path + len,
+ NSS_TLS_SOCKET_NAME,
+ sizeof(sun.sun_path) - len);
diff --git a/network/nss-tls/rc.nss-tlsd b/network/nss-tls/rc.nss-tlsd
new file mode 100644
index 0000000000..752027b0f5
--- /dev/null
+++ b/network/nss-tls/rc.nss-tlsd
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+# rc.nss-tlsd - by B. Watson (urchlay@slackware.uk). Part of the
+# SlackBuilds.org nss-tlsd package. WTFPL licensed.
+
+DAEMON=/usr/sbin/nss-tlsd
+PIDFILE=/run/nss-tlsd.pid
+
+[ -f /etc/default/nss-tlsd ] && . /etc/default/nss-tlsd
+
+# we try to make sure not only that the PID file exists, but that the
+# PID is actually that of a running nss-tlsd process. the 'cut' stuff
+# is in case the package was upgraded, which results in /proc/<pid>/exe
+# pointing to "/usr/sbin/nss-tlsd (deleted)".
+daemon_is_running() {
+ [ -e "$PIDFILE" ] || return 1
+ [ "$( readlink /proc/$( cat $PIDFILE )/exe 2>/dev/null | cut -d' ' -f1 )" = "$DAEMON" ] || return 1
+ return 0
+}
+
+start_daemon() {
+ if daemon_is_running; then
+ echo "$DAEMON is already running, PID $( cat $PIDFILE )"
+ else
+ echo "Starting $DAEMON"
+ nohup $DAEMON $NSS_TLSD_OPTS >/dev/null 2>&1 &
+ echo "${!}" > $PIDFILE
+ fi
+}
+
+stop_daemon() {
+ if daemon_is_running; then
+ echo "Stopping $DAEMON"
+ kill "$( cat $PIDFILE )"
+ sleep 1
+ kill -9 "$( cat $PIDFILE )" >/dev/null 2>&1
+ rm -f $PIDFILE
+ else
+ echo "$DAEMON not running"
+ fi
+}
+
+# most rc scripts don't need this: daemons will fail to start as non-root.
+# this one is designed to work either way.
+if [ "$(id -u)" != "0" ]; then
+ echo "$0: must run as root."
+ exit 1
+fi
+
+case "$1" in
+ start|"") start_daemon ;;
+ stop) stop_daemon ;;
+ restart) stop_daemon; sleep 1; start_daemon ;;
+ *) echo "Usage: $0 start|stop|restart" ;;
+esac
diff --git a/network/nss-tls/slack-desc b/network/nss-tls/slack-desc
new file mode 100644
index 0000000000..8965e2029d
--- /dev/null
+++ b/network/nss-tls/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nss-tls: nss-tls (DNS-over-HTTPS resolver)
+nss-tls:
+nss-tls: nss-tls is an alternative, encrypted name resolving library for Linux
+nss-tls: distributions with glibc which uses DNS-over-HTTPS. The glibc name
+nss-tls: resolver can be configured through nsswitch.conf(5) to use nss-tls
+nss-tls: instead of the DNS resolver, or fall back to DNS when nss-tls fails.
+nss-tls:
+nss-tls:
+nss-tls:
+nss-tls:
+nss-tls:
diff --git a/network/ntop/README b/network/ntop/README
deleted file mode 100644
index 2108bcb9bc..0000000000
--- a/network/ntop/README
+++ /dev/null
@@ -1,24 +0,0 @@
-ntop is a network probe that shows network usage in a way similar to
-what top does for processes. In interactive mode, it displays the
-network status on the user's terminal. In Web mode, it acts as a Web
-server, creating an HTML dump of the network status.
-
-It sports a NetFlow/sFlow emitter/collector, an HTTP-based client
-interface for creating ntop-centric monitoring applications, and
-RRD for persistently storing traffic statistics.
-
-ntop needs to run under its own user/group. This has been assigned to
-the following by SlackBuilds.org, but feel free to change it on your
-system for consistency with local assignments.
- User: ntop UID: 212 GID: 212
- group: ntop GID: 212
-You can change pass alternate values for the user and group using
-NTOPUSER and NTOPGROUP variables when running the build script.
-
-Logs are placed in /var/log/ntop/ and will be rotated every week. The
-log rotation will restart the ntop server which will reset the ntop
-statistics. If you want to keep the statistics you have to edit or delete
-the /etc/logrotate.d/ntop file.
-
-For some important post-build and basic configuration instructions,
-see the included 'README.SLACKWARE' file.
diff --git a/network/ntop/README.SLACKWARE b/network/ntop/README.SLACKWARE
deleted file mode 100644
index e9c0595b29..0000000000
--- a/network/ntop/README.SLACKWARE
+++ /dev/null
@@ -1,185 +0,0 @@
-README.Slackware
-================
-
-This file contains some specific instructions to complete the
-installation of ntop on Slackware.
-
-0) Before running the SlackBuild script
----------------------------------------
-
-0.1) ntop group & user
-
-Before running the ntop.SlackBuild script, you will need to create
-the 'ntop' user and group. The script won't run if these do not
-exist.
-
-The suggested UID and GID is 212, but you can change this as needed:
-
- # groupadd -g 212 ntop
- # useradd -u 212 -g ntop -d /var/lib/ntop -s /bin/false ntop
-
-If you want to use a different user and/or group under which to run
-ntop, you can pass alternate values to the NTOPUSER and NTOPGROUP variables
-when running the build script.
-
-1) Start & Stop scripts for ntop
---------------------------------
-
-1.1) Automatic startup and shutdown
-
-If you want to start ntop on system bootup, include these lines in your
-/etc/rc.d/rc.local:
-
- # Start ntop
- if [ -x /etc/rc.d/rc.ntop ]; then
- echo "Starting ntop..."
- /etc/rc.d/rc.ntop start
- fi
-
-To guarantee a clean shutdown of ntop, include this in
-/etc/rc.d/rc.local_shutdown:
-
- # Stop ntop
- if [ -x /etc/rc.d/rc.ntop ]; then
- echo "Stopping ntop..."
- /etc/rc.d/rc.ntop stop
- fi
-
-1.2) Make /etc/rc.d/rc.ntop executable
-
-Additionally, you'll have to set the rc script to be executable just like
-any other Slackware rc script:
-
- # chmod +x /etc/rc.d/rc.ntop
-
-2) Set the administrator password
----------------------------------
-
-When ntop is installed at the first time, you MUST set the administration
-password for ntop (user 'admin'). You do that by running ntop with the
-option -A (or --set-admin-password) as root:
-# /usr/bin/ntop -P <ntop_homedirectory> -u <ntopuser> -A
-For example:
-
- # /usr/bin/ntop -P /var/lib/ntop -u ntop -A
-
-It will prompt you for the password and then exit.
-
-3) Starting ntop
-----------------
-
-Now you are ready to start ntop by calling the startup script:
-
- # /etc/rc.d/rc.ntop start
-
-Once ntop has started and configured correctly, you should be able to look
-at all the data it's collected by pointing your browser at:
-
- http://(ip-of-your-ntop-server):3000/
-
-Browse through the configuration menu (Admin / Configure / Startup options)
-to set the interfaces you want to capture and many more parameters.
-
-Fore more documentation on ntop, check:
-- http://www.ntop.org/documentation.html
-- http://www.ntop.org/needHelp.html
-
-There are also some mailing lists you can subscribe to, that can be found on
-the pages mentioned above.
-
-4) Keeping your ntop tables up-to-date
---------------------------------------
-
-Now that your ntop server is running, you might want to keep some of the
-tables that are installed updated automatically.
-
-I do this with a few simple shell scripts I copy to the /etc/cron.xxxx/
-directories, where xxxx stands for:
-
- - hourly
- - daily
- - weekly
- - monthly
-
-So saving a script in /etc/cron.weekly/ means it will be run every week.
-Saving it in /etc/cron/monthly/ means it will run once a month, etc.
-
-My suggestions are:
- - save ntop_update_geoip in /etc/cron.weekly
- - save ntop_update_oui in /etc/cron.daily
-
-Don't forget to make the script executable.
-
-The following scripts are examples for the GeoIP and OUI tables, feel free
-to adapt them to your reality.
-
-The "OS Fingerprint" table has not changed since 2005, so I did not
-create a script for it. If you want, you can check for updates at:
-http://ettercap.cvs.sourceforge.net/ettercap/ettercap_ng/share/etter.finger.os?rev=HEAD
-
-=============================================================================
-*********************
-* ntop_update_geoip * - Suggestion: save in /etc/cron.weekly
-*********************
------------------------------------------------------------------------------
-#!/bin/sh
-#
-# ntop_update_geoip: update GeoIP tables
-
-UPDATE_DIR="/etc/ntop"
-UPDATE_LOG="/var/log/ntop_update.log"
-UPDATE_OUT="wget.out"
-UPDATES="\
-http://geolite.maxmind.com/download/geoip/database/,GeoLiteCity.dat \
-http://geolite.maxmind.com/download/geoip/database/asnum/,GeoIPASNum.dat"
-
-cd $UPDATE_DIR
-
-for update in $UPDATES; do
- update_url=`echo $update | awk -F , {'print $1'}`
- update_file=`echo $update | awk -F , {'print $2'}`
-
- wget -o $UPDATE_OUT -N ${update_url}${update_file}.gz
- WGET_TEST=$(grep "saved" $UPDATE_OUT > /dev/null 2> /dev/null; echo $?)
- if [ $WGET_TEST -eq "0" ]; then
- tail -n2 $UPDATE_OUT | head -n1 >> $UPDATE_LOG
- gunzip -c ${update_file}.gz > ${update_file}
- fi
-done
-
-rm $UPDATE_OUT
-=============================================================================
-*******************
-* ntop_update_oui * - Suggestion: save in /etc/cron.daily
-*******************
------------------------------------------------------------------------------
-#!/bin/sh
-#
-# ntop_update_oui: update OUI table
-
-UPDATE_DIR="/etc/ntop"
-UPDATE_LOG="/var/log/ntop_update.log"
-UPDATE_OUT="wget.out"
-UPDATES="\
-http://standards.ieee.org/regauth/oui/,oui.txt"
-
-cd $UPDATE_DIR
-
-for update in $UPDATES; do
- update_url=`echo $update | awk -F , {'print $1'}`
- update_file=`echo $update | awk -F , {'print $2'}`
-
- wget -o $UPDATE_OUT -N ${update_url}${update_file}
- WGET_TEST=$(grep "saved" $UPDATE_OUT > /dev/null 2> /dev/null; echo $?)
- if [ $WGET_TEST -eq "0" ]; then
- tail -n2 $UPDATE_OUT | head -n1 >> $UPDATE_LOG
- gzip -c ${update_file} > ${update_file}.gz
- fi
-done
-
-rm $UPDATE_OUT
-=============================================================================
-
-(Note that there are some subtle differences between the scripts, so beware
-when copying)
-
diff --git a/network/ntop/doinst.sh b/network/ntop/doinst.sh
deleted file mode 100644
index 17fa8ad81f..0000000000
--- a/network/ntop/doinst.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.ntop.new
-config etc/logrotate.d/ntop.new
-config etc/ntop/specialMAC.txt.gz.new
-config etc/ntop/ntop-cert.pem.new
-config etc/ntop/GeoIPASNum.dat.new
-config etc/ntop/GeoLiteCity.dat.new
-config etc/ntop/etter.finger.os.gz.new
-config etc/ntop/oui.txt.gz.new
diff --git a/network/ntop/no_downloads.patch b/network/ntop/no_downloads.patch
deleted file mode 100644
index 9574662b43..0000000000
--- a/network/ntop/no_downloads.patch
+++ /dev/null
@@ -1,48 +0,0 @@
---- ntop-4.0.1_orig/Makefile.am 2010-04-25 09:52:28.000000000 -0300
-+++ ntop-4.0.1/Makefile.am 2010-08-23 18:00:49.000000000 -0300
-@@ -403,44 +403,9 @@
- dnetter:
- @echo ""
- @echo ""
-- @echo "Preparing "
-+ @echo "Skipping download "
- @echo ""
-
-- @if test -f $(ETTER_PASSIVE).old; then \
-- echo "...Deleting prior file, $(ETTER_PASSIVE).old..."; \
-- rm -rf $(ETTER_PASSIVE).old; \
-- fi;
-- @if test -f $(ETTER_PASSIVE); then \
-- echo "...Moving current $(ETTER_PASSIVE) to $(ETTER_PASSIVE).old"; \
-- mv $(ETTER_PASSIVE) $(ETTER_PASSIVE).old; \
-- fi;
-- @for file in $(ETTER_PASSIVE) $(ETTER_PASSIVE).gz \
-- $(ETTER_PASSIVE_FILE) $(ETTER_PASSIVE_FILE).gz; do \
-- if test -f $$file; then \
-- echo "...Deleting prior file, $$file..."; \
-- rm -rf $$file; \
-- fi; \
-- done
-- @echo ""
-- @echo "...Downloading new file..."
-- @wget -O $(ETTER_PASSIVE_FILE) \
-- $(ETTER_PASSIVE_DOWNLOAD_FROM)/$(ETTER_PASSIVE_FILE)?$(ETTER_PASSIVE_DOWNLOAD_PARMS)
-- @echo ""
-- @echo "gziping downloaded file..."
-- @gzip $(ETTER_PASSIVE_FILE)
-- @echo ""
-- @echo ""
-- @if test -f $(ETTER_PASSIVE).old; then \
-- echo -n "Old file lines were: "; \
-- gunzip -c $(ETTER_PASSIVE).old | wc -l; \
-- fi;
-- @echo -n "New file lines are: "
-- @gunzip -c $(ETTER_PASSIVE) | wc -l
-- @echo ""
-- @echo ""
-- @echo "New file is:"
-- @ls -l $(ETTER_PASSIVE)
--
- # ntop census
- census-fail:
- @echo "This option is no longer available... thanks for trying"
diff --git a/network/ntop/ntop-5.0.1-librrd.patch b/network/ntop/ntop-5.0.1-librrd.patch
deleted file mode 100644
index db2530c8a5..0000000000
--- a/network/ntop/ntop-5.0.1-librrd.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -887,28 +887,6 @@
- fi
- fi
-
--RRD_LIB="-L${RRD_HOME}/lib -lrrd_th"
--
--if test -f "$RRD_HOME/lib/librrd_th.so"; then
-- AC_MSG_RESULT(checking for rrdtool... yes)
--else
-- if test -f "$RRD_HOME/lib/librrd_th.dylib"; then # OSX
-- AC_MSG_RESULT(checking for rrdtool... yes)
-- else
-- if test -f "$RRD_HOME/lib/librrd_th.a"; then
-- AC_MSG_RESULT(checking for rrdtool... yes)
-- else
-- AC_CHECK_LIB([rrd_th], [main])
-- if test ".${ac_cv_lib_rrd_th_main}" != ".yes"; then
-- AC_MSG_ERROR(Unable to find RRD at $RRD_HOME: please use --with-rrd-home=DIR);
-- AC_MSG_ERROR(RRD source can be downloaded from http://www.rrdtool.org/);
-- else
-- RRD_LIB=
-- fi
-- fi
-- fi
--fi
--
- RRD_INC=
- if test -d "${RRD_HOME}/include"; then
- RRD_INC="-I${RRD_HOME}/include"
diff --git a/network/ntop/ntop.SlackBuild b/network/ntop/ntop.SlackBuild
deleted file mode 100644
index 2e3de40b16..0000000000
--- a/network/ntop/ntop.SlackBuild
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ntop
-
-# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
-# Copyright 2009-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Maintained by David Spencer <baildon.research@googlemail.com>
-
-PRGNAM=ntop
-VERSION=${VERSION:-5.0.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-NTOPUSER=${NTOPUSER:-ntop}
-NTOPGROUP=${NTOPGROUP:-ntop}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Bail out if user or group isn't valid on your system
-# For slackbuilds.org, assigned ntop uid/gid are 212/212
-# See http://slackbuilds.org/uid_gid.txt
-if ! grep ^$NTOPGROUP: /etc/group 2>&1 > /dev/null; then
- echo " You must have a \"$NTOPGROUP\" group to run this script."
- echo " # groupadd -g 212 $NTOPGROUP"
- exit 1
-elif ! grep ^$NTOPUSER: /etc/passwd 2>&1 > /dev/null; then
- echo " You must have a \"$NTOPUSER\" user to run this script."
- echo " # useradd -u 212 -g $NTOPGROUP -d /var/lib/ntop -s /bin/false $NTOPUSER"
- exit 1
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Patch Makefile so we won't do automatic downloads
-patch -p1 < $CWD/no_downloads.patch
-
-# Patch for rrdtool-1.6.0 (thanks to Gentoo)
-patch -p1 < $CWD/ntop-5.0.1-librrd.patch
-
-# Since ntop calls their ./configure from autogen.sh anything passed onto
-# autogen.sh (ie $@) is passed off as command line arguments to configure.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-RRD_LIB="-lrrd" \
-LOCALEDIR=/usr/lib${LIBDIRSUFFIX}/locale \
-./autogen.sh \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-rrd-home=/usr/lib${LIBDIRSUFFIX} \
- --enable-snmp \
- --build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-
-# Bug in ntop source:: http://tinyurl.com/2wf7ou . This should at some point
-# be dealt with upstream. For now fix this in $PKG :)
-if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/plugins ]; then
- rmdir -v $PKG/usr/lib${LIBDIRSUFFIX}/plugins
-fi
-
-mkdir -p $PKG/etc/logrotate.d $PKG/etc/rc.d
-install -m 0644 $CWD/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new
-sed \
- -e "s%@NTOPUSER@%$NTOPUSER%" \
- -e "s%@NTOPGROUP@%$NTOPGROUP%" \
- $CWD/rc.ntop > $PKG/etc/rc.d/rc.ntop.new
-
-# Rename some data to .new to avoid overwriting existing files
-cd $PKG/etc/$PRGNAM
- for f in \
- specialMAC.txt.gz ntop-cert.pem GeoIPASNum.dat GeoLiteCity.dat etter.finger.os.gz oui.txt.gz; do
- mv $f $f.new
- done
-cd - >/dev/null
-
-# Change the permissions on ntop's homedir so we can write logs
-chown -R $NTOPUSER:$NTOPGROUP $PKG/var/lib/$PRGNAM
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS CONTENTS COPYING ChangeLog INSTALL LICENSE* MANIFESTO NEWS PORTING \
- README SUPPORT_NTOP.txt THANKS ntop.html ntop.txt \
- docs/ NetFlow/ www/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ntop/ntop.info b/network/ntop/ntop.info
deleted file mode 100644
index 9ad336e061..0000000000
--- a/network/ntop/ntop.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ntop"
-VERSION="5.0.1"
-HOMEPAGE="https://www.ntop.org"
-DOWNLOAD="https://downloads.sourceforge.net/ntop/ntop-5.0.1.tar.gz"
-MD5SUM="01710b6925a8a5ffe1a41b8b512ebd69"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="GeoIP graphviz rrdtool"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
diff --git a/network/ntop/ntop.logrotate b/network/ntop/ntop.logrotate
deleted file mode 100644
index a387c5018f..0000000000
--- a/network/ntop/ntop.logrotate
+++ /dev/null
@@ -1,11 +0,0 @@
-/var/log/ntop {
- # based on ntop.logrotate included in the ntop/debian source.
- weekly
- missingok
- rotate 4
- # ntop doesn't handle SIGHUP
- copytruncate
- nocompress
- notifempty
- create 640 root wheel
-}
diff --git a/network/ntop/rc.ntop b/network/ntop/rc.ntop
deleted file mode 100644
index 2d29aac6c6..0000000000
--- a/network/ntop/rc.ntop
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# /etc/rc.d/rc.ntop : start/stop/restart ntop
-# usage: ./rc.ntop { start | stop | restart }
-
-# Thanks to andarius <andarius@errantnutron.com> for donating
-# time and the various cleanups in the script and the start|stop|restart
-# functions.
-
-NTOPUID=@NTOPUSER@
-NTOPGID=@NTOPGROUP@
-NTOPLOG=/var/log/ntop
-DATE=$(date +%a\ %b\ %d\ %T\ %Y)
-RETVAL=0
-
-# Sanity Checking
-if [ ! -r "/var/lib/ntop/ntop_pw.db" ]; then
- echo "Can not read ntop password database. Exiting..."
- exit 1
-fi
-
-ntop_start() {
- echo -n $"Starting ntop ... "
- if [ -r /var/run/ntop.pid ]; then
- if $(! /sbin/pidof ntop > /dev/null 2>&1 ) ; then
- echo "Removing an old /var/run/ntop.pid"
- rm -f /var/run/ntop.pid
- fi
- fi
- /usr/bin/ntop --w3c -u $NTOPUID -d >> $NTOPLOG 2>&1
- RETVAL=$?
-
- if [ $RETVAL -eq 0 ]; then
- touch /var/lock/ntop
- sleep 2
- echo "Done"
- else
- echo "Failed"
- fi
- return $RETVAL
-}
-
-ntop_stop() {
- echo -n $"Stopping ntop ... "
- RETVAL=$?
- if [ $RETVAL -eq 0 ]; then
- if [ -r /var/run/ntop.pid ]; then
- killall ntop
- # Give it some time to die gracefully
- for second in 0 1 2 3 4 5 6 7 8 9 10 ; do
- if $(! /sbin/pidof ntop > /dev/null 2>&1 ) ; then
- # ntop is a dirty little daemon:
- rm -f /var/run/ntop.pid
- break
- fi
- sleep 1
- done
-
- if [ "$second" = "10" ]; then
- echo "\nWARNING: ntop did not exit!"
- sleep 10
- else
- # Yes there are two spaces as this is the way ntop writes
- # their logfiles.
- echo "$DATE EXIT: ntop stopped by user: $USER (UID: $EUID)" >> $NTOPLOG
- echo "Done"
- fi
- fi
- rm -f /var/lock/ntop
- fi
- return $RETVAL
-}
-
-# Lets see how we are being called:
-case "$1" in
- start)
- ntop_start
- ;;
- stop)
- ntop_stop
- ;;
- restart|reload)
- ntop_stop
- # Takes a few to recover and be able to start again:
- sleep 10
- ntop_start
- ;;
- *)
- echo ""
- echo "Usage: $(basename $0) {start | stop | restart }"
- RETVAL=1
-esac
-
-exit $RETVAL
-#EOF
diff --git a/network/ntop/slack-desc b/network/ntop/slack-desc
deleted file mode 100644
index ec79cc9821..0000000000
--- a/network/ntop/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ntop: ntop (Network usage with shiny graphs)
-ntop:
-ntop: ntop is a network probe that shows network usage in a way similar to
-ntop: what top does for processes. In interactive mode, it displays the
-ntop: network status on the user's terminal. In Web mode, it acts as a Web
-ntop: server, creating an HTML dump of the network status.
-ntop:
-ntop: It sports a NetFlow/sFlow emitter/collector, an HTTP-based client
-ntop: interface for creating ntop-centric monitoring applications, and
-ntop: RRD for persistently storing traffic statistics.
-ntop:
diff --git a/network/ntpclient/ntpclient.SlackBuild b/network/ntpclient/ntpclient.SlackBuild
index a5ccfbfe13..8c7d328ad9 100644
--- a/network/ntpclient/ntpclient.SlackBuild
+++ b/network/ntpclient/ntpclient.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ntpclient
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220125 bkw: Modified by the SlackBuilds.org project.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ntpclient
VERSION=${VERSION:-2015_365}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,6 +82,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20220125 bkw: fix build for -current (missing include).
+sed -i '/sys\/ioctl\.h/a#include <linux/sockios.h>' $PRGNAM.c
+
+# 20220125 bkw: fix man page typo.
+sed -i 's/^top after/s&/' $PRGNAM.1
+
sed -i "/^CFLAGS += -O2$/d" Makefile
CFLAGS="$SLKCFLAGS" \
make
@@ -91,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nweb/README b/network/nweb/README
new file mode 100644
index 0000000000..9f882d64d9
--- /dev/null
+++ b/network/nweb/README
@@ -0,0 +1,23 @@
+A tiny web server in C.
+
+nweb is a small and very safe mini web server nweb only servers out
+file/web pages with extensions named below and only from the named
+directory or its sub-directories.
+
+There is no fancy features = safe and secure.
+
+Example: nweb 8181 /home/nwebdir &
+
+Only Supports: gif jpg jpeg png ico zip gz tar htm html
+Not Supported: URLs including "..", Java, Javascript, CGI
+Not Supported: directories / /etc /bin /lib /tmp /usr /dev /sbin
+
+client.c:
+
+Also included is the source for a client. This client.c program is
+designed to fake being a web browser. It sends the expected requests to
+the web server over a network socket connection and displays the results
+as text rather than graphically displaying the results. In the code you
+will have to change the two lines as below to match your web server or
+nweb server. See README.client for instructions. The client.c source
+code can be found in the /usr/doc/nweb-<VERSION> directory.
diff --git a/network/nweb/README.client b/network/nweb/README.client
new file mode 100644
index 0000000000..1fd848e0bd
--- /dev/null
+++ b/network/nweb/README.client
@@ -0,0 +1,64 @@
+ client.c
+
+This client.c program is designed to fake being a web browser. It sends the
+expected requests to the web server over a network socket connection and
+displays the results as text rather than graphically displaying the results. In
+the code you will have to change the two lines as below to match your web
+server or nweb server.
+
+/* YOU WILL HAVE TO CHANGE THESE TWO LINES TO MATCH YOUR CONFIG / #define PORT
+ * 8181 /
+Port number as an integer - web server default is 80 / #define IP_ADDRESS
+"192.168.0.8" / IP Address as a string */
+
+The default is to request the /index.html from the web server. If you want to
+request another file then change the GET line as below:
+
+char *command = "GET /index.html HTTP/1.0 \r\n\r\n" ;
+
+To, for example:
+
+char *command = "GET /nigel.jpg HTTP/1.0 \r\n\r\n" ;
+
+Then compile the program with: cc client.c -o client
+
+I save the output in to a file as putting a non-test file like .jpg to the
+terminal screen can cause chaos: client >output
+
+Then edit the output file: vi output
+
+In real life, the interaction of web browser and web server can be much more complex.
+
+ 1. The web browser can tell the web server about its name, version and capabilities.
+
+ 2. The web server can send complex file types line JavaScript or Java programs
+or other active components.
+
+ 3. They can maintain a longer connection over the socket for efficiency.
+
+ 4. Below is an example of my Firefox brower requesting an index.html file. I
+have added newline characters to make it readable - it is 1300 bytes long! I
+have no idea what most of it is about. You will have to read the The World Wide
+Web Consortium (W3C) at http://www.w3.org for all the details.
+
+GET /index.html HTTP/1.1Host: myserver.home.com:80User-Agent: Mozilla/5.0 (W indows;
+U; Windows NT 5.1; en-GB; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28 (.NET CLR
+3.5.30729)Ac cept: image/png,image/;q=0.8,/*;q=0.5Accept-Language:
+en-gb,en;q=0.5Accept-Encoding: gzip,defla teAccept-Charset: ISO-8859-1,utf-8;
+q=0.7,*;q=0.7Keep-Alive: 115Connection: keep-alive**Referer:
+http://myserver.uk.home.com:8181/index.html**Cookie:
+__utma=101107545.1790272076.1316019590.13289002 55.1328908680.164;
+__utmz=101107545.1328566199.157.46.utmcsr=t.co|utmccn=(referral)|utmcmd=referral| u
+tmcct=/iTJx4DO1; UnicaNIODID=ZBr8gm79vIG-XKeoGGb; W3SSO_ACCESS=abc.home.com;
+ISP=70fdfc95
+d93011d783e4de784ea97766-70fdfc95d93011d783e4de784ea97766-f67749a8b899e8ceed7e940b8c4bf189;
+Prof ile=2000121913394303111032836125|EN|866|866.BDF|en-GB;
+_unam=693fb60-1337f162b72-11770d11-5; WLS intra_USERID=nigel@hotmail.com;
+ipcInfo=cc%3Duk%3Blc%3Den%3Bac%3Dall; iwm1p=214617669; bprememberme=nigel@
+hotmail.com; EPSPROFILE=EE2355DFE16AE020BE6C62FCB6BF5602;
+DWPERM=Xa.2/Xb.Xzso3-U35t8RWKvqBreGaQMgsP_RG
+Fl1124oIt-L-OPJIdSautkBN0D4NUp9JLlpUqPqB6CWOo-pgrJwhxNvvSfPAajgetaA2MOYwHfQPXPTRG9zwOMMR57EHQtXhOy5Om
+yzanyZthvVClm6uxvbwh0isEQ2Mm_9g2l7NjcA3RJdjuLaB3qlljOmyVuhDjBkgdNEb3PgYcCpbiu1FUzXrhPalhgsbAj7NBkaY88
+Yyg/Xc./Xd./Xf./Xg.1696801
+
+I hope this has been instructive, thanks, Nigel Griffiths
diff --git a/network/nweb/nweb.SlackBuild b/network/nweb/nweb.SlackBuild
new file mode 100644
index 0000000000..12729200dd
--- /dev/null
+++ b/network/nweb/nweb.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for nweb
+
+# Copyright 2021 Dave Woodfall <dave@slackbuilds.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20220312 bkw: Modified by SlackBuilds.org: VERSION must be constant,
+# and match VERSION in the .info file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nweb
+COMMIT=${COMMIT:-867a6dd46298c882501f5c26d31ee821177542ab}
+VERSION=${VERSION:-23_867a6dd}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/usr/bin $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+${CC:-gcc} $SLKCFLAGS nweb${VERSION:0:2}.c -o $PKG/usr/bin/nweb
+strip --strip-unneeded $PKG/usr/bin/nweb
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{www-example,client}
+
+cp -a client.c $PKG/usr/doc/$PRGNAM-$VERSION/client
+cp -a nigel.jpg favicon.ico nweb.log index.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION/www-example
+
+cp -a README.md $CWD/README.client $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nweb/nweb.info b/network/nweb/nweb.info
new file mode 100644
index 0000000000..74e51e8a34
--- /dev/null
+++ b/network/nweb/nweb.info
@@ -0,0 +1,10 @@
+PRGNAM="nweb"
+VERSION="23_867a6dd"
+HOMEPAGE="https://github.com/ankushagarwal/nweb"
+DOWNLOAD="https://github.com/ankushagarwal/nweb/archive/867a6dd46298c882501f5c26d31ee821177542ab/nweb-867a6dd46298c882501f5c26d31ee821177542ab.tar.gz"
+MD5SUM="7570ab89a441f1b11f2ab099660b9daa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/nweb/slack-desc b/network/nweb/slack-desc
new file mode 100644
index 0000000000..a271191935
--- /dev/null
+++ b/network/nweb/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nweb: nweb (A tiny web server in C)
+nweb:
+nweb: nweb is a small and very safe mini web server nweb only servers out
+nweb: file/web pages with certain extensions and only from the named
+nweb: directory or its sub-directories.
+nweb:
+nweb: There is no fancy features = safe and secure.
+nweb:
+nweb: Example: nweb 8181 /home/nwebdir &
+nweb:
+nweb:
diff --git a/network/nxclient/nxclient.SlackBuild b/network/nxclient/nxclient.SlackBuild
index fde485e581..8a0e18f677 100644
--- a/network/nxclient/nxclient.SlackBuild
+++ b/network/nxclient/nxclient.SlackBuild
@@ -1,24 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nxclient
# Written by Matteo Bernardini <ponce@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nxclient
VERSION=${VERSION:-3.5.0_7}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
LVERSION=$(printf $VERSION|tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i386 ;;
- arm*) ARCH=arm ;;
+ i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ "$ARCH" = "x86_64" ]; then
+ SRCARCH=$ARCH
+elif [[ $ARCH = i?86 ]]; then
+ SRCARCH=i386
+else
+ echo "$ARCH architecture is unsupported." >/dev/stderr
+ exit 1
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -32,17 +50,16 @@ mkdir -p $PKG/usr/bin
# installing in /usr/NX looks pretty ugly, maybe better symlink from /opt
mkdir -p $PKG/opt
-tar xvf $CWD/$PRGNAM-$LVERSION.$ARCH.tar.gz -C $PKG/opt
+tar xvf $CWD/$PRGNAM-$LVERSION.$SRCARCH.tar.gz -C $PKG/opt
chown -R root:root $PKG
find $PKG \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-ln -s /opt/NX $PKG/usr/NX
-cd $PKG/usr/bin
-ln -s /usr/NX/bin/$PRGNAM $PRGNAM
+( cd $PKG/usr ; ln -s ../opt/NX NX )
+( cd $PKG/usr/bin ; ln -s ../../opt/NX/bin/$PRGNAM . )
mkdir -p $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
@@ -55,4 +72,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nyxt/README b/network/nyxt/README
new file mode 100644
index 0000000000..376aba2c78
--- /dev/null
+++ b/network/nyxt/README
@@ -0,0 +1,3 @@
+Nyxt is a keyboard-driven web browser designed for power users.
+Inspired by Emacs and Vim, it has familiar keybindings
+(Emacs, vi, CUA), and is infinitely extensible in Lisp.
diff --git a/network/nyxt/doinst.sh b/network/nyxt/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/nyxt/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/nyxt/nyxt.SlackBuild b/network/nyxt/nyxt.SlackBuild
new file mode 100644
index 0000000000..bf714dae9e
--- /dev/null
+++ b/network/nyxt/nyxt.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/bash
+
+# Slackware build script for nyxt
+
+# Copyright 2023, Pu Du
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nyxt
+VERSION=${VERSION:-3.11.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-source-with-submodules.tar.xz
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# use $TMP/$PRGNAM-$VERSION/.cache dir instead of $HOME/.cache/common-lisp/
+(
+ code="(setf asdf:*user-cache* \"$TMP/$PRGNAM-$VERSION/.cache/\")"
+ sed "s,--eval '(require \"asdf\")',& --eval '$code'," -i makefile
+)
+
+(
+ export PREFIX=/usr NASDF_COMPRESS=t
+ make -j1 doc nyxt LIBDIR=$PREFIX/lib${LIBDIRSUFFIX} NASDF_SOURCE_PATH=$PREFIX/share/nyxt
+ make install DESTDIR=$PKG LIBDIR=$PKG/$PREFIX/lib${LIBDIRSUFFIX}
+)
+
+# It's not a good idea to strip the lisp image, so we don't
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a manual.html $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/nyxt/nyxt.info b/network/nyxt/nyxt.info
new file mode 100644
index 0000000000..144fd0164a
--- /dev/null
+++ b/network/nyxt/nyxt.info
@@ -0,0 +1,10 @@
+PRGNAM="nyxt"
+VERSION="3.11.5"
+HOMEPAGE="https://nyxt.atlas.engineer/"
+DOWNLOAD="https://github.com/atlas-engineer/nyxt/releases/download/3.11.5/nyxt-3.11.5-source-with-submodules.tar.xz"
+MD5SUM="0adaeb586f5ebc4653f0effbd13747c3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libfixposix sbcl webkit2gtk"
+MAINTAINER="Pu Du"
+EMAIL="pu.du@ro.ru"
diff --git a/network/nyxt/slack-desc b/network/nyxt/slack-desc
new file mode 100644
index 0000000000..05367e0fb4
--- /dev/null
+++ b/network/nyxt/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nyxt: nyxt (hacker's power-browser)
+nyxt:
+nyxt: Nyxt is a keyboard-driven web browser designed for power users.
+nyxt: Inspired by Emacs and Vim, it has familiar keybindings
+nyxt: (Emacs, vi, CUA), and is infinitely extensible in Lisp.
+nyxt:
+nyxt:
+nyxt:
+nyxt:
+nyxt:
+nyxt:
diff --git a/network/nzbget/nzbget.SlackBuild b/network/nzbget/nzbget.SlackBuild
index 4e8d95a744..58e86674b5 100644
--- a/network/nzbget/nzbget.SlackBuild
+++ b/network/nzbget/nzbget.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "nzbget".
@@ -25,10 +25,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nzbget
VERSION=${VERSION:-17.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ocserv/README b/network/ocserv/README
new file mode 100644
index 0000000000..82510b0a05
--- /dev/null
+++ b/network/ocserv/README
@@ -0,0 +1,39 @@
+The OpenConnect VPN server (ocserv) is an open source Linux SSL VPN
+server designed for organizations that require a remote access VPN with
+enterprise user management and control. It follows the openconnect
+protocol and is the counterpart of the openconnect VPN client. It is
+also compatible with CISCO's AnyConnect SSL VPN.
+
+The OpenConnect VPN is less vulnerable to detection than OpenVPN, IPSec,
+and WireGuard because it looks like a normal https connection (if udp is
+not used).
+
+The program consists of:
+
+1. ocserv, the main server application
+2. occtl, the server's control tool. A tool which allows one to query
+ the server for information.
+3. ocpasswd, a tool to administer simple password files.
+
+A user and group "ocserv" must exist prior to running this script.
+To create them run as root:
+ groupadd -g 382 ocserv
+ useradd -u 382 -g 382 -s /sbin/nologin -M ocserv
+
+
+In order to start ocserv at boot and stop it properly at shutdown,
+make sure rc.local and rc.local_shutdown contain the following lines:
+
+ /etc/rc.d/rc.local
+ ==================
+ # Start ocserv
+ if [ -x /etc/rc.d/rc.ocserv ]; then
+ /etc/rc.d/rc.ocserv start
+ fi
+
+ /etc/rc.d/rc.local_shutdown
+ ===========================
+ # Stop ocserv
+ if [ -x /etc/rc.d/rc.ocserv ]; then
+ /etc/rc.d/rc.ocserv stop
+ fi
diff --git a/network/ocserv/doinst.sh b/network/ocserv/doinst.sh
new file mode 100644
index 0000000000..1d3e5778f8
--- /dev/null
+++ b/network/ocserv/doinst.sh
@@ -0,0 +1,23 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.ocserv.new
+config etc/ocserv/ocserv.conf.new
diff --git a/network/ocserv/ocserv.SlackBuild b/network/ocserv/ocserv.SlackBuild
new file mode 100644
index 0000000000..0636d788d7
--- /dev/null
+++ b/network/ocserv/ocserv.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for ocserv
+
+# Copyright 2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ocserv
+VERSION=${VERSION:-1.2.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CONTRIBUTING* ChangeLog NEWS README* \
+ doc/README* doc/sample.* doc/scripts/ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+mkdir -p $PKG/etc/{rc.d,ocserv}
+cat $CWD/rc.ocserv > $PKG/etc/rc.d/rc.ocserv.new
+cat $CWD/ocserv.conf > $PKG/etc/ocserv/ocserv.conf.new
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ocserv/ocserv.conf b/network/ocserv/ocserv.conf
new file mode 100644
index 0000000000..d00fdcb414
--- /dev/null
+++ b/network/ocserv/ocserv.conf
@@ -0,0 +1,779 @@
+### The following directives do not change with server reload.
+
+# User authentication method. To require multiple methods to be
+# used for the user to login, add multiple auth directives. The values
+# in the 'auth' directive are AND composed (if multiple all must
+# succeed).
+# Available options: certificate, plain, pam, radius, gssapi.
+# Note that authentication methods utilizing passwords cannot be
+# combined (e.g., the plain, pam or radius methods).
+
+# certificate:
+# This indicates that all connecting users must present a certificate.
+# The username and user group will be then extracted from it (see
+# cert-user-oid and cert-group-oid). The certificate to be accepted
+# it must be signed by the CA certificate as specified in 'ca-cert' and
+# it must not be listed in the CRL, as specified by the 'crl' option.
+#
+# pam[gid-min=1000]:
+# This enabled PAM authentication of the user. The gid-min option is used
+# by auto-select-group option, in order to select the minimum valid group ID.
+#
+# plain[passwd=/etc/ocserv/ocpasswd,otp=/etc/ocserv/users.otp]
+# The plain option requires specifying a password file which contains
+# entries of the following format.
+# "username:groupname1,groupname2:encoded-password"
+# One entry must be listed per line, and 'ocpasswd' should be used
+# to generate password entries. The 'otp' suboption allows one to specify
+# an oath password file to be used for one time passwords; the format of
+# the file is described in https://github.com/archiecobbs/mod-authn-otp/wiki/UsersFile
+#
+# radius[config=/etc/radiusclient/radiusclient.conf,groupconfig=true,nas-identifier=name]:
+# The radius option requires specifying freeradius-client configuration
+# file. If the groupconfig option is set, then config-per-user/group will be overridden,
+# and all configuration will be read from radius. That also includes the
+# Acct-Interim-Interval, and Session-Timeout values.
+#
+# See doc/README-radius.md for the supported radius configuration attributes.
+#
+# gssapi[keytab=/etc/key.tab,require-local-user-map=true,tgt-freshness-time=900]
+# The gssapi option allows one to use authentication methods supported by GSSAPI,
+# such as Kerberos tickets with ocserv. It should be best used as an alternative
+# to PAM (i.e., have pam in auth and gssapi in enable-auth), to allow users with
+# tickets and without tickets to login. The default value for require-local-user-map
+# is true. The 'tgt-freshness-time' if set, it would require the TGT tickets presented
+# to have been issued within the provided number of seconds. That option is used to
+# restrict logins even if the KDC provides long time TGT tickets.
+
+#auth = "pam"
+#auth = "pam[gid-min=1000]"
+#auth = "plain[passwd=./sample.passwd,otp=./sample.otp]"
+auth = "plain[passwd=/etc/ocserv/passwd]"
+#auth = "certificate"
+#auth = "radius[config=/etc/radiusclient/radiusclient.conf,groupconfig=true]"
+
+# Specify alternative authentication methods that are sufficient
+# for authentication. That is, if set, any of the methods enabled
+# will be sufficient to login, irrespective of the main 'auth' entries.
+# When multiple options are present, they are OR composed (any of them
+# succeeding allows login).
+#enable-auth = "certificate"
+#enable-auth = "gssapi"
+#enable-auth = "gssapi[keytab=/etc/key.tab,require-local-user-map=true,tgt-freshness-time=900]"
+
+# Accounting methods available:
+# radius: can be combined with any authentication method, it provides
+# radius accounting to available users (see also stats-report-time).
+#
+# pam: can be combined with any authentication method, it provides
+# a validation of the connecting user's name using PAM. It is
+# superfluous to use this method when authentication is already
+# PAM.
+#
+# Only one accounting method can be specified.
+#acct = "radius[config=/etc/radiusclient/radiusclient.conf]"
+
+# Use listen-host to limit to specific IPs or to the IPs of a provided
+# hostname.
+#listen-host = [IP|HOSTNAME]
+
+# Use udp-listen-host to limit udp to specific IPs or to the IPs of a provided
+# hostname. if not set, listen-host will be used
+#udp-listen-host = [IP|HOSTNAME]
+
+# When the server has a dynamic DNS address (that may change),
+# should set that to true to ask the client to resolve again on
+# reconnects.
+#listen-host-is-dyndns = true
+
+# move the listen socket within the specified network namespace
+# listen-netns = "foo"
+
+# TCP and UDP port number
+tcp-port = 443
+udp-port = 443
+
+# The user the worker processes will be run as. This should be a dedicated
+# unprivileged user (e.g., 'ocserv') and no other services should run as this
+# user.
+run-as-user = ocserv
+run-as-group = ocserv
+
+# socket file used for IPC with occtl. You only need to set that,
+# if you use more than a single servers.
+#occtl-socket-file = /var/run/occtl.socket
+
+# socket file used for server IPC (worker-main), will be appended with .PID
+# It must be accessible within the chroot environment (if any), so it is best
+# specified relatively to the chroot directory.
+socket-file = /var/run/ocserv-socket
+
+# The default server directory. Does not require any devices present.
+#chroot-dir = /var/lib/ocserv
+
+# The key and the certificates of the server
+# The key may be a file, or any URL supported by GnuTLS (e.g.,
+# tpmkey:uuid=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx;storage=user
+# or pkcs11:object=my-vpn-key;object-type=private)
+#
+# The server-cert file may contain a single certificate, or
+# a sorted certificate chain.
+# There may be multiple server-cert and server-key directives,
+# but each key should correspond to the preceding certificate.
+# The certificate files will be reloaded when changed allowing for in-place
+# certificate renewal (they are checked and reloaded periodically;
+# a SIGHUP signal to main server will force reload).
+
+#server-cert = /etc/ocserv/fullchain.pem
+#server-key = /etc/ocserv/privkey.pem
+
+# Diffie-Hellman parameters. Only needed if for old (pre 3.6.0
+# versions of GnuTLS for supporting DHE ciphersuites.
+# Can be generated using:
+# certtool --generate-dh-params --outfile /etc/ocserv/dh.pem
+#dh-params = /etc/ocserv/dh.pem
+
+# In case PKCS #11, TPM or encrypted keys are used the PINs should be available
+# in files. The srk-pin-file is applicable to TPM keys only, and is the
+# storage root key.
+#pin-file = /etc/ocserv/pin.txt
+#srk-pin-file = /etc/ocserv/srkpin.txt
+
+# The password or PIN needed to unlock the key in server-key file.
+# Only needed if the file is encrypted or a PKCS #11 object. This
+# is an alternative method to pin-file.
+#key-pin = 1234
+
+# The SRK PIN for TPM.
+# This is an alternative method to srk-pin-file.
+#srk-pin = 1234
+
+# The Certificate Authority that will be used to verify
+# client certificates (public keys) if certificate authentication
+# is set.
+#ca-cert = /etc/ocserv/ca.pem
+
+# The number of sub-processes to use for the security module (authentication)
+# processes. Typically this should not be set as the number of processes
+# is determined automatically by the initially set maximum number of clients.
+#sec-mod-scale = 4
+
+
+
+### All configuration options below this line are reloaded on a SIGHUP.
+### The options above, will remain unchanged. Note however, that the
+### server-cert, server-key, dh-params and ca-cert options will be reloaded
+### if the provided file changes, on server reload. That allows certificate
+### rotation, but requires the server key to remain the same for seamless
+### operation. If the server key changes on reload, there may be connection
+### failures during the reloading time.
+
+
+# Whether to enable seccomp/Linux namespaces worker isolation. That restricts the number of
+# system calls allowed to a worker process, in order to reduce damage from a
+# bug in the worker process. It is available on Linux systems at a performance cost.
+# The performance cost is roughly 2% overhead at transfer time (tested on a Linux 3.17.8).
+# Note however, that process isolation is restricted to the specific libc versions
+# the isolation was tested at. If you get random failures on worker processes, try
+# disabling that option and report the failures you, along with system and debugging
+# information at: https://gitlab.com/openconnect/ocserv/issues
+isolate-workers = true
+
+# A banner to be displayed on clients after connection
+#banner = "Welcome"
+
+# A banner to be displayed on clients before connection
+#pre-login-banner = "Welcome"
+
+# Limit the number of clients. Unset or set to zero if unknown. In
+# that case the maximum value is ~8k clients.
+#max-clients = 1024
+max-clients = 16
+
+# Limit the number of identical clients (i.e., users connecting
+# multiple times). Unset or set to zero for unlimited.
+max-same-clients = 2
+
+# When the server receives connections from a proxy, like haproxy
+# which supports the proxy protocol, set this to obtain the correct
+# client addresses. The proxy protocol would then be expected in
+# the TCP or UNIX socket (not the UDP one). Although both v1
+# and v2 versions of proxy protocol are supported, the v2 version
+# is recommended as it is more efficient in parsing.
+#listen-proxy-proto = true
+
+# Rate limit the number of incoming connections to one every X milliseconds
+# (X is the provided value), as the secmod backlog grows. This
+# makes the server more resilient (and prevents connection failures) on
+# multiple concurrent connections. Set to zero for no limit.
+rate-limit-ms = 100
+
+# Stats report time. The number of seconds after which each
+# worker process will report its usage statistics (number of
+# bytes transferred etc). This is useful when accounting like
+# radius is in use.
+#stats-report-time = 360
+
+# Stats reset time. The period of time statistics kept by main/sec-mod
+# processes will be reset. These are the statistics shown by cmd
+# 'occtl show stats'. For daily: 86400, weekly: 604800
+# This is unrelated to stats-report-time.
+server-stats-reset-time = 604800
+
+# Keepalive in seconds
+keepalive = 32400
+
+# Dead peer detection in seconds.
+# Note that when the client is behind a NAT this value
+# needs to be short enough to prevent the NAT disassociating
+# his UDP session from the port number. Otherwise the client
+# could have his UDP connection stalled, for several minutes.
+dpd = 90
+
+# Dead peer detection for mobile clients. That needs to
+# be higher to prevent such clients being awaken too
+# often by the DPD messages, and save battery.
+# The mobile clients are distinguished from the header
+# 'X-AnyConnect-Identifier-Platform'.
+mobile-dpd = 1800
+
+# If using DTLS, and no UDP traffic is received for this
+# many seconds, attempt to send future traffic over the TCP
+# connection instead, in an attempt to wake up the client
+# in the case that there is a NAT and the UDP translation
+# was deleted. If this is unset, do not attempt to use this
+# recovery mechanism.
+switch-to-tcp-timeout = 25
+
+# MTU discovery (DPD must be enabled)
+try-mtu-discovery = false
+
+# To enable load-balancer connection draining, set server-drain-ms to a value
+# higher than your load-balancer health probe interval.
+#server-drain-ms = 15000
+
+# If you have a certificate from a CA that provides an OCSP
+# service you may provide a fresh OCSP status response within
+# the TLS handshake. That will prevent the client from connecting
+# independently on the OCSP server.
+# You can update this response periodically using:
+# ocsptool --ask --load-cert=your_cert --load-issuer=your_ca --outfile response
+# Make sure that you replace the following file in an atomic way.
+#ocsp-response = /etc/ocserv/ocsp.der
+
+# The object identifier that will be used to read the user ID in the client
+# certificate. The object identifier should be part of the certificate's DN
+# Useful OIDs are:
+# CN = 2.5.4.3, UID = 0.9.2342.19200300.100.1.1, SAN(rfc822name)
+cert-user-oid = 0.9.2342.19200300.100.1.1
+
+# The object identifier that will be used to read the user group in the
+# client certificate. The object identifier should be part of the certificate's
+# DN. If the user may belong to multiple groups, then use multiple such fields
+# in the certificate's DN. Useful OIDs are:
+# OU (organizational unit) = 2.5.4.11
+#cert-group-oid = 2.5.4.11
+
+# The revocation list of the certificates issued by the 'ca-cert' above.
+# See the manual to generate an empty CRL initially. The CRL will be reloaded
+# periodically when ocserv detects a change in the file. To force a reload use
+# SIGHUP.
+#crl = /etc/ocserv/crl.pem
+
+# Uncomment this to enable compression negotiation (LZS, LZ4).
+#compression = true
+
+# Set the minimum size under which a packet will not be compressed.
+# That is to allow low-latency for VoIP packets. The default size
+# is 256 bytes. Modify it if the clients typically use compression
+# as well of VoIP with codecs that exceed the default value.
+#no-compress-limit = 256
+
+# GnuTLS priority string; note that SSL 3.0 is disabled by default
+# as there are no openconnect (and possibly anyconnect clients) using
+# that protocol. The string below does not enforce perfect forward
+# secrecy, in order to be compatible with legacy clients.
+#
+# Note that the most performant ciphersuites are the moment are the ones
+# involving AES-GCM. These are very fast in x86 and x86-64 hardware, and
+# in addition require no padding, thus taking full advantage of the MTU.
+# For that to be taken advantage of, the openconnect client must be
+# used, and the server must be compiled against GnuTLS 3.2.7 or later.
+# Use "gnutls-cli --benchmark-tls-ciphers", to see the performance
+# difference with AES_128_CBC_SHA1 (the default for anyconnect clients)
+# in your system.
+
+tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1"
+
+# More combinations in priority strings are available, check
+# http://gnutls.org/manual/html_node/Priority-Strings.html
+# E.g., the string below enforces perfect forward secrecy (PFS)
+# on the main channel.
+#tls-priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT:-RSA:-VERS-SSL3.0:-ARCFOUR-128"
+
+# That option requires the established DTLS channel to use the same
+# cipher as the primary TLS channel.Note also, that this option implies
+# that the dtls-legacy option is false; this option cannot be enforced
+# in the legacy/compat protocol.
+#match-tls-dtls-ciphers = true
+
+# The time (in seconds) that a client is allowed to stay connected prior
+# to authentication
+auth-timeout = 240
+
+# The time (in seconds) that a client is allowed to stay idle (no traffic)
+# before being disconnected. Unset to disable.
+#idle-timeout = 1200
+
+# The time (in seconds) that a client is allowed to stay connected
+# Unset to disable. When set a client will be disconnected after being
+# continuously connected for this amount of time, and its cookies will
+# be invalidated (i.e., re-authentication will be required).
+#session-timeout = 86400
+
+# The time (in seconds) that a mobile client is allowed to stay idle (no
+# traffic) before being disconnected. Unset to disable.
+#mobile-idle-timeout = 2400
+
+# The time (in seconds) that a client is not allowed to reconnect after
+# a failed authentication attempt.
+min-reauth-time = 300
+
+# Banning clients in ocserv works with a point system. IP addresses
+# that get a score over that configured number are banned for
+# min-reauth-time seconds. By default a wrong password attempt is 10 points,
+# a KKDCP POST is 1 point, and a connection is 1 point. Note that
+# due to different processes being involved the count of points
+# will not be real-time precise. Local subnet IPs are exempt to allow
+# services that check for process health.
+#
+# Set to zero to disable.
+max-ban-score = 80
+
+# The time (in seconds) that all score kept for a client is reset.
+ban-reset-time = 1200
+
+# In case you'd like to change the default points.
+#ban-points-wrong-password = 10
+#ban-points-connection = 1
+#ban-points-kkdcp = 1
+
+# Cookie timeout (in seconds)
+# Once a client is authenticated he's provided a cookie with
+# which he can reconnect. That cookie will be invalidated if not
+# used within this timeout value. This cookie remains valid, during
+# the user's connected time, and after user disconnection it
+# remains active for this amount of time. That setting should allow a
+# reasonable amount of time for roaming between different networks.
+cookie-timeout = 300
+
+# If this is enabled (not recommended) the cookies will stay
+# valid even after a user manually disconnects, and until they
+# expire. This may improve roaming with some broken clients.
+#persistent-cookies = true
+
+# Whether roaming is allowed, i.e., if true a cookie is
+# restricted to a single IP address and cannot be reused
+# from a different IP.
+deny-roaming = false
+
+# ReKey time (in seconds)
+# ocserv will ask the client to refresh keys periodically once
+# this amount of seconds is elapsed. Set to zero to disable (note
+# that, some clients fail if rekey is disabled).
+rekey-time = 172800
+
+# ReKey method
+# Valid options: ssl, new-tunnel
+# ssl: Will perform an efficient rehandshake on the channel allowing
+# a seamless connection during rekey.
+# new-tunnel: Will instruct the client to discard and re-establish the channel.
+# Use this option only if the connecting clients have issues with the ssl
+# option.
+rekey-method = ssl
+
+# Script to call when a client connects and obtains an IP.
+# The following parameters are passed on the environment.
+# REASON, VHOST, USERNAME, GROUPNAME, DEVICE, IP_REAL (the real IP of the client),
+# REMOTE_HOSTNAME (the remotely advertised hostname), IP_REAL_LOCAL
+# (the local interface IP the client connected), IP_LOCAL
+# (the local IP in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
+# IPV6_LOCAL (the IPv6 local address if there are both IPv4 and IPv6
+# assigned), IPV6_REMOTE (the IPv6 remote address), IPV6_PREFIX, and
+# ID (a unique numeric ID); REASON may be "connect" or "disconnect".
+# In addition the following variables OCSERV_ROUTES (the applied routes for this
+# client), OCSERV_NO_ROUTES, OCSERV_DNS (the DNS servers for this client),
+# will contain a space separated list of routes or DNS servers. A version
+# of these variables with the 4 or 6 suffix will contain only the IPv4 or
+# IPv6 values. The connect script must return zero as exit code, or the
+# client connection will be refused.
+
+# The disconnect script will receive the additional values: STATS_BYTES_IN,
+# STATS_BYTES_OUT, STATS_DURATION that contain a 64-bit counter of the bytes
+# output from the tun device, and the duration of the session in seconds.
+
+#connect-script = /usr/bin/myscript
+#disconnect-script = /usr/bin/myscript
+
+# This script is to be called when the client's advertised hostname becomes
+# available. It will contain REASON with "host-update" value and the
+# variable REMOTE_HOSTNAME in addition to the connect variables.
+
+#host-update-script = /usr/bin/myhostnamescript
+
+# UTMP
+# Register the connected clients to utmp. This will allow viewing
+# the connected clients using the command 'who'.
+#use-utmp = true
+
+# Whether to enable support for the occtl tool (i.e., either through D-BUS,
+# or via a unix socket).
+use-occtl = true
+
+# PID file. It can be overridden in the command line.
+pid-file = /run/ocserv.pid
+
+# Log Level. Ocserv sends the logging messages to standard error
+# as well as the system log. The log level can be overridden in the
+# command line with the -d option. All messages at the configured
+# level and lower will be displayed.
+# Supported levels (default 0):
+# 0 default (Same as info)
+# 1 basic
+# 2 info
+# 3 debug
+# 4 http
+# 8 sensitive
+# 9 TLS
+log-level = 2
+
+# Set the protocol-defined priority (SO_PRIORITY) for packets to
+# be sent. That is a number from 0 to 6 with 0 being the lowest
+# priority. Alternatively this can be used to set the IP Type-
+# Of-Service, by setting it to a hexadecimal number (e.g., 0x20).
+# This can be set per user/group or globally.
+#net-priority = 3
+
+# Set the VPN worker process into a specific cgroup. This is Linux
+# specific and can be set per user/group or globally.
+#cgroup = "cpuset,cpu:test"
+
+#
+# Network settings
+#
+
+# The name to use for the tun device
+device = vpns
+
+# Whether the generated IPs will be predictable, i.e., IP stays the
+# same for the same user when possible.
+predictable-ips = true
+
+# The default domain to be advertised. Multiple domains (functional on
+# openconnect clients) can be provided in a space separated list.
+default-domain = example.com
+#default-domain = "example.com one.example.com"
+
+# The pool of addresses that leases will be given from. If the leases
+# are given via Radius, or via the explicit-ip? per-user config option then
+# these network values should contain a network with at least a single
+# address that will remain under the full control of ocserv (that is
+# to be able to assign the local part of the tun device address).
+# Note that, you could use addresses from a subnet of your LAN network if you
+# enable [proxy arp in the LAN interface](http://ocserv.gitlab.io/www/recipes-ocserv-pseudo-bridge.html);
+# in that case it is recommended to set ping-leases to true.
+ipv4-network = 192.168.1.0
+ipv4-netmask = 255.255.255.0
+
+# An alternative way of specifying the network:
+#ipv4-network = 192.168.1.0/24
+
+# The IPv6 subnet that leases will be given from.
+#ipv6-network = fda9:4efe:7e3b:03ea::/48
+
+# Specify the size of the network to provide to clients. It is
+# generally recommended to provide clients with a /64 network in
+# IPv6, but any subnet may be specified. To provide clients only
+# with a single IP use the prefix 128.
+#ipv6-subnet-prefix = 128
+#ipv6-subnet-prefix = 64
+
+# Whether to tunnel all DNS queries via the VPN. This is the default
+# when a default route is set.
+#tunnel-all-dns = true
+
+# The advertised DNS server. Use multiple lines for
+# multiple servers.
+# dns = fc00::4be0
+dns = 192.168.1.1
+
+# The NBNS server (if any)
+#nbns = 192.168.1.3
+
+# The domains over which the provided DNS should be used. Use
+# multiple lines for multiple domains.
+#split-dns = example.com
+
+# Prior to leasing any IP from the pool ping it to verify that
+# it is not in use by another (unrelated to this server) host.
+# Only set to true, if there can be occupied addresses in the
+# IP range for leases.
+ping-leases = false
+
+# Use this option to set a link MTU value to the incoming
+# connections. Unset to use the default MTU of the TUN device.
+# Note that the MTU is negotiated using the value set and the
+# value sent by the peer.
+#mtu = 1420
+
+# Unset to enable bandwidth restrictions (in bytes/sec). The
+# setting here is global, but can also be set per user or per group.
+# The RX direction refers to received data on the server from the
+# VPN client, and the TX refers to transmitted data by the server
+# to the client.
+#rx-data-per-sec = 40000
+#tx-data-per-sec = 40000
+
+# The number of packets (of MTU size) that are available in
+# the output buffer. The default is low to improve latency.
+# Setting it higher will improve throughput.
+#output-buffer = 10
+
+# Routes to be forwarded to the client. If you need the
+# client to forward routes to the server, you may use the
+# config-per-user/group or even connect and disconnect scripts.
+#
+# To set the server as the default gateway for the client just
+# comment out all routes from the server, or use the special keyword
+# 'default'.
+
+#route = 10.10.10.0/255.255.255.0
+#route = 192.168.0.0/255.255.0.0
+#route = fef4:db8:1000:1001::/64
+#route = default
+
+route = 10.10.10.0/24
+route = 192.168.0.0/16
+
+# Subsets of the routes above that will not be routed by
+# the server.
+
+#no-route = 192.168.5.0/255.255.255.0
+
+# Note the that following two firewalling options currently are available
+# in Linux systems with iptables software.
+
+# If set, the script /usr/libexec/ocserv-fw will be called to restrict
+# the user to its allowed routes and prevent him from accessing
+# any other routes. In case of defaultroute, the no-routes are restricted.
+# All the routes applied by ocserv can be reverted using /usr/libexec/ocserv-fw
+# --removeall. This option can be set globally or in the per-user configuration.
+#restrict-user-to-routes = true
+
+# This option implies restrict-user-to-routes set to true. If set, the
+# script /usr/libexec/ocserv-fw will be called to restrict the user to
+# access specific ports in the network. This option can be set globally
+# or in the per-user configuration.
+#restrict-user-to-ports = "tcp(443), tcp(80), udp(443), sctp(99), tcp(583), icmp(), icmpv6()"
+
+# You could also use negation, i.e., block the user from accessing these ports only.
+#restrict-user-to-ports = "!(tcp(443), tcp(80))"
+
+# When set to true, all client's iroutes are made visible to all
+# connecting clients except for the ones offering them. This option
+# only makes sense if config-per-user is set.
+#expose-iroutes = true
+
+# Groups that a client is allowed to select from.
+# A client may belong in multiple groups, and in certain use-cases
+# it is needed to switch between them. For these cases the client can
+# select prior to authentication. Add multiple entries for multiple groups.
+# The group may be followed by a user-friendly name in brackets.
+#select-group = group1
+#select-group = group2[My special group]
+
+# The name of the (virtual) group that if selected it would assign the user
+# to its default group.
+#default-select-group = DEFAULT
+
+# Instead of specifying manually all the allowed groups, you may instruct
+# ocserv to scan all available groups and include the full list.
+#auto-select-group = true
+
+# Configuration files that will be applied per user connection or
+# per group. Each file name on these directories must match the username
+# or the groupname.
+# The options allowed in the configuration files are dns, nbns,
+# ipv?-network, ipv4-netmask, rx/tx-data-per-sec, iroute, route, no-route,
+# explicit-ipv4, explicit-ipv6, net-priority, deny-roaming, no-udp,
+# keepalive, dpd, mobile-dpd, max-same-clients, tunnel-all-dns,
+# restrict-user-to-routes, cgroup, stats-report-time,
+# mtu, idle-timeout, mobile-idle-timeout, restrict-user-to-ports,
+# split-dns and session-timeout.
+#
+# Note that the 'iroute' option allows one to add routes on the server
+# based on a user or group. The syntax depends on the input accepted
+# by the commands route-add-cmd and route-del-cmd (see below). The no-udp
+# is a boolean option (e.g., no-udp = true), and will prevent a UDP session
+# for that specific user or group. The hostname option will set a
+# hostname to override any proposed by the user. Note also, that, any
+# routes, no-routes, DNS or NBNS servers present will overwrite the global ones.
+
+#config-per-user = /etc/ocserv/config-per-user/
+#config-per-group = /etc/ocserv/config-per-group/
+
+# When config-per-xxx is specified and there is no group or user that
+# matches, then utilize the following configuration.
+#default-user-config = /etc/ocserv/defaults/user.conf
+#default-group-config = /etc/ocserv/defaults/group.conf
+
+# The system command to use to setup a route. %{R} will be replaced with the
+# route/mask, %{RI} with the route in CIDR format, and %{D} with the (tun) device.
+#
+# The following example is from linux systems. %{R} should be something
+# like 192.168.2.0/255.255.255.0 and %{RI} 192.168.2.0/24 (the argument of iroute).
+
+#route-add-cmd = "ip route add %{R} dev %{D}"
+#route-del-cmd = "ip route delete %{R} dev %{D}"
+
+# This option allows one to forward a proxy. The special keywords '%{U}'
+# and '%{G}', if present will be replaced by the username and group name.
+#proxy-url = http://example.com/
+#proxy-url = http://example.com/%{U}/
+
+# This option allows you to specify a URL location where a client can
+# post using MS-KKDCP, and the message will be forwarded to the provided
+# KDC server. That is a translation URL between HTTP and Kerberos.
+# In MIT kerberos you'll need to add in realms:
+# EXAMPLE.COM = {
+# kdc = https://ocserv.example.com/KdcProxy
+# http_anchors = FILE:/etc/ocserv-ca.pem
+# }
+# In some distributions the krb5-k5tls plugin of kinit is required.
+#
+# The following option is available in ocserv, when compiled with GSSAPI support.
+
+#kkdcp = "SERVER-PATH KERBEROS-REALM PROTOCOL@SERVER:PORT"
+#kkdcp = "/KdcProxy KERBEROS.REALM udp@127.0.0.1:88"
+#kkdcp = "/KdcProxy KERBEROS.REALM tcp@127.0.0.1:88"
+#kkdcp = "/KdcProxy KERBEROS.REALM tcp@[::1]:88"
+
+# Client profile xml. This can be used to advertise alternative servers
+# to the client. A minimal file can be:
+# <?xml version="1.0" encoding="UTF-8"?>
+# <AnyConnectProfile xmlns="http://schemas.xmlsoap.org/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/encoding/ AnyConnectProfile.xsd">
+# <ServerList>
+# <HostEntry>
+# <HostName>VPN Server name</HostName>
+# <HostAddress>localhost</HostAddress>
+# </HostEntry>
+# </ServerList>
+# </AnyConnectProfile>
+#
+# Other fields may be used by some of the CISCO clients.
+# This file must be accessible from inside the worker's chroot.
+# Note that:
+# (1) enabling this option is not recommended as it will allow the
+# worker processes to open arbitrary files (when isolate-workers is
+# set to true).
+# (2) This option cannot be set per-user or per-group; only the global
+# version is being sent to client.
+#user-profile = profile.xml
+
+#
+# The following options are for (experimental) AnyConnect client
+# compatibility.
+
+# This option will enable the pre-draft-DTLS version of DTLS, and
+# will not require clients to present their certificate on every TLS
+# connection. It must be set to true to support legacy CISCO clients
+# and openconnect clients < 7.08. When set to true, it implies dtls-legacy = true.
+cisco-client-compat = true
+
+# This option allows one to disable the DTLS-PSK negotiation (enabled by default).
+# The DTLS-PSK negotiation was introduced in ocserv 0.11.5 to deprecate
+# the pre-draft-DTLS negotiation inherited from AnyConnect. It allows the
+# DTLS channel to negotiate its ciphers and the DTLS protocol version.
+#dtls-psk = false
+
+# This option allows one to disable the legacy DTLS negotiation (enabled by default,
+# but that may change in the future).
+# The legacy DTLS uses a pre-draft version of the DTLS protocol and was
+# from AnyConnect protocol. It has several limitations, that are addressed
+# by the dtls-psk protocol supported by openconnect 7.08+.
+dtls-legacy = true
+
+# This option will enable the settings needed for Cisco SVC IPPhone clients
+# to connect. It implies dtls-legacy = true and tls-priorities is changed to
+# only the ciphers the device supports.
+cisco-svc-client-compat = false
+
+# This option will enable the X-CSTP-Client-Bypass-Protocol (disabled by default).
+# If the server has not configured an IPv6 or IPv4 address pool, enabling this option
+# will instruct the client to bypass the server for that IP protocol. The option is
+# currently only understood by Anyconnect clients.
+client-bypass-protocol = false
+
+# The following options are related to server camouflage (hidden service)
+
+# This option allows you to enable the camouflage feature of ocserv that makes it look
+# like a web server to unauthorized parties.
+# With "camouflage" enabled, connection to the VPN can be established only if the client provided a specific
+# "secret string" in the connection URL, e.g. "https://example.com/?mysecretkey",
+# otherwise the server will return HTTP error for all requests.
+camouflage = false
+
+# The URL prefix that should be set on the client (after '?' sign) to pass through the camouflage check,
+# e.g. in case of 'mysecretkey', the server URL on the client should be like "https://example.com/?mysecretkey".
+camouflage_secret = "mysecretkey"
+
+# Defines the realm (browser prompt) for HTTP authentication.
+# If no realm is set, the server will return 404 Not found error instead of 401 Unauthorized.
+# Better change it from the default value to avoid fingerprinting.
+camouflage_realm = "Restricted Content"
+
+#Advanced options
+
+# Option to allow sending arbitrary custom headers to the client after
+# authentication and prior to VPN tunnel establishment. You shouldn't
+# need to use this option normally; if you do and you think that
+# this may help others, please send your settings and reason to
+# the openconnect mailing list. The special keywords '%{U}'
+# and '%{G}', if present will be replaced by the username and group name.
+#custom-header = "X-My-Header: hi there"
+
+
+
+# An example virtual host with different authentication methods serviced
+# by this server.
+
+#[vhost:www.example.com]
+#auth = "certificate"
+
+#ca-cert = ../tests/certs/ca.pem
+
+# The certificate set here must include a 'dns_name' corresponding to
+# the virtual host name.
+
+#server-cert = ../tests/certs/server-cert-secp521r1.pem
+#server-key = ../tests/certs/server-key-secp521r1.pem
+
+#ipv4-network = 192.168.2.0
+#ipv4-netmask = 255.255.255.0
+
+#cert-user-oid = 0.9.2342.19200300.100.1.1
+
+# HTTP headers
+#included-http-headers = Strict-Transport-Security: max-age=31536000 ; includeSubDomains
+#included-http-headers = X-Frame-Options: deny
+#included-http-headers = X-Content-Type-Options: nosniff
+#included-http-headers = Content-Security-Policy: default-src 'none'
+#included-http-headers = X-Permitted-Cross-Domain-Policies: none
+#included-http-headers = Referrer-Policy: no-referrer
+#included-http-headers = Clear-Site-Data: "cache","cookies","storage"
+#included-http-headers = Cross-Origin-Embedder-Policy: require-corp
+#included-http-headers = Cross-Origin-Opener-Policy: same-origin
+#included-http-headers = Cross-Origin-Resource-Policy: same-origin
+#included-http-headers = X-XSS-Protection: 0
+#included-http-headers = Pragma: no-cache
+#included-http-headers = Cache-control: no-store, no-cache
diff --git a/network/ocserv/ocserv.info b/network/ocserv/ocserv.info
new file mode 100644
index 0000000000..da8951388a
--- /dev/null
+++ b/network/ocserv/ocserv.info
@@ -0,0 +1,10 @@
+PRGNAM="ocserv"
+VERSION="1.2.4"
+HOMEPAGE="https://ocserv.openconnect-vpn.net"
+DOWNLOAD="https://www.infradead.org/ocserv/download/ocserv-1.2.4.tar.xz"
+MD5SUM="6f82a924f998a646512714c4544aaee2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="http-parser libev protobuf-c rubygem-ronn"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/ocserv/rc.ocserv b/network/ocserv/rc.ocserv
new file mode 100644
index 0000000000..83fa395888
--- /dev/null
+++ b/network/ocserv/rc.ocserv
@@ -0,0 +1,55 @@
+#!/bin/bash
+# Start/stop/restart the ocserv vpn server
+# This script uses the occtl tool
+
+start_ocserv() {
+ if [ -S /var/run/occtl.socket ]; then
+ echo "ocserv is already running"
+ exit 0
+ fi
+ echo "Starting ocserv"
+ /usr/sbin/ocserv 2>/dev/null
+}
+
+stop_ocserv() {
+ /usr/bin/occtl stop now
+}
+
+restart_ocserv() {
+ stop_ocserv
+ sleep 1
+ start_ocserv
+}
+
+reload_ocserv() {
+ /usr/bin/occtl reload
+}
+
+status_ocserv() {
+ if [ -S /var/run/occtl.socket ]; then
+ /usr/bin/occtl show status
+ else
+ echo "ocserv is stopped"
+ exit 1
+ fi
+}
+
+case "$1" in
+'start')
+ start_ocserv
+ ;;
+'stop')
+ stop_ocserv
+ ;;
+'restart')
+ restart_ocserv
+ ;;
+'reload')
+ reload_ocserv
+ ;;
+'status')
+ status_ocserv
+ ;;
+*)
+ echo "usage $0 start|stop|restart|reload|status"
+esac
diff --git a/network/ocserv/slack-desc b/network/ocserv/slack-desc
new file mode 100644
index 0000000000..c62e2e9f87
--- /dev/null
+++ b/network/ocserv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ocserv: ocserv (OpenConnect SSL VPN server)
+ocserv:
+ocserv: The OpenConnect VPN server (ocserv) is an open source Linux SSL VPN
+ocserv: server designed for organizations that require a remote access VPN
+ocserv: with enterprise user management and control. It follows the
+ocserv: openconnect protocol and is the counterpart of the openconnect VPN
+ocserv: client. It is also compatible with CISCO's AnyConnect SSL VPN.
+ocserv:
+ocserv: Homepage: https://ocserv.openconnect-vpn.net
+ocserv:
+ocserv:
diff --git a/network/offlineimap/README b/network/offlineimap/README
index 75daf1b19d..8ef06d382f 100644
--- a/network/offlineimap/README
+++ b/network/offlineimap/README
@@ -1,6 +1,3 @@
OfflineIMAP is a tool to sync remote imap mailboxes
and particularly useful in syncing mailboxes between
two imap servers.
-
-NOTE: docutils is needed with version >= 6.3.2, for
-generating documentation and man page.
diff --git a/network/offlineimap/offlineimap.SlackBuild b/network/offlineimap/offlineimap.SlackBuild
index 5bde6878da..f9c0e9033f 100644
--- a/network/offlineimap/offlineimap.SlackBuild
+++ b/network/offlineimap/offlineimap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OfflineIMAP
# Home Page http://offlineimap.org/
@@ -25,10 +25,13 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="offlineimap"
-VERSION=${VERSION:-7.2.2}
+VERSION=${VERSION:-7.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +91,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/offlineimap/offlineimap.info b/network/offlineimap/offlineimap.info
index 5801c579b8..6aabd7cdaa 100644
--- a/network/offlineimap/offlineimap.info
+++ b/network/offlineimap/offlineimap.info
@@ -1,10 +1,10 @@
PRGNAM="offlineimap"
-VERSION="7.2.2"
+VERSION="7.3.4"
HOMEPAGE="http://offlineimap.org/"
-DOWNLOAD="https://github.com/OfflineIMAP/offlineimap/archive/v7.2.2/offlineimap-7.2.2.tar.gz"
-MD5SUM="30ceddc4aac9bdc0bf0eb9f5f1010f17"
+DOWNLOAD="https://github.com/OfflineIMAP/offlineimap/archive/v7.3.4/offlineimap-7.3.4.tar.gz"
+MD5SUM="4494e696fc20a49db4e4a90f252df2c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="docutils six"
+REQUIRES="rfc6555"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
diff --git a/network/oidentd/README b/network/oidentd/README
index 9dab19cfcf..6939f9bdc6 100644
--- a/network/oidentd/README
+++ b/network/oidentd/README
@@ -1,10 +1,11 @@
oidentd (an identd daemon)
-Oidentd is an ident daemon (rfc1413) that runs on Linux, FreeBSD, OpenBSD
-and Solaris 2.x. Oidentd supports most features of pidentd plus more. Most
-notably, oidentd allows users to specify the identd response that the server
-will output when a successful lookup is completed. Oidentd supports IP
-masqueraded connections on Linux, and is able to forward requests to hosts
-that masq through the host on which oidentd runs.
+Oidentd is an ident daemon (rfc1413) that runs on Linux, FreeBSD,
+OpenBSD and Solaris 2.x. Oidentd supports most features of pidentd
+plus more. Most notably, oidentd allows users to specify the identd
+response that the server will output when a successful lookup is
+completed. Oidentd supports IP masqueraded connections on Linux, and
+is able to forward requests to hosts that masq through the host on
+which oidentd runs.
This is a fork of the ojnk oidentd released in 2006
diff --git a/network/oidentd/oidentd.SlackBuild b/network/oidentd/oidentd.SlackBuild
index 0a03220600..b877ebb21c 100644
--- a/network/oidentd/oidentd.SlackBuild
+++ b/network/oidentd/oidentd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for oidentd
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=oidentd
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/oinkmaster/oinkmaster.SlackBuild b/network/oinkmaster/oinkmaster.SlackBuild
index 47fab12463..7de9b5d3fe 100644
--- a/network/oinkmaster/oinkmaster.SlackBuild
+++ b/network/oinkmaster/oinkmaster.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for oinkmaster
# Copyright 2017 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=oinkmaster
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/oinkmaster/oinkmaster.info b/network/oinkmaster/oinkmaster.info
index da176fd0c1..ae5139aa1a 100644
--- a/network/oinkmaster/oinkmaster.info
+++ b/network/oinkmaster/oinkmaster.info
@@ -6,5 +6,5 @@ MD5SUM="d2a1b56f51cf40e919c63206ca4ec8f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/onedrive/onedrive.SlackBuild b/network/onedrive/onedrive.SlackBuild
index 42c308379a..b15aa0b989 100644
--- a/network/onedrive/onedrive.SlackBuild
+++ b/network/onedrive/onedrive.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for onedrive
-# Copyright 2019-2020 Rob van Nues
+# Copyright 2019-2023 Rob van Nues
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=onedrive
-VERSION=${VERSION:-2.4.7}
+VERSION=${VERSION:-2.4.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,6 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mv $PKG/etc/logrotate.d/onedrive $PKG/etc/logrotate.d/onedrive.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -105,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/onedrive/onedrive.info b/network/onedrive/onedrive.info
index 06af605f99..f7ca138caa 100644
--- a/network/onedrive/onedrive.info
+++ b/network/onedrive/onedrive.info
@@ -1,8 +1,8 @@
PRGNAM="onedrive"
-VERSION="2.4.7"
+VERSION="2.4.25"
HOMEPAGE="https://github.com/abraunegg/onedrive/releases"
-DOWNLOAD="https://github.com/abraunegg/onedrive/archive/v2.4.7/onedrive-2.4.7.tar.gz"
-MD5SUM="27c48b19cae2b9f2fe66228feaa9c719"
+DOWNLOAD="https://github.com/abraunegg/onedrive/archive/v2.4.25/onedrive-2.4.25.tar.gz"
+MD5SUM="09a7b7be0f24006ec7afd10e2ba194da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dmd"
diff --git a/network/onioncat/README b/network/onioncat/README
index f45fc75710..8de34eae3d 100644
--- a/network/onioncat/README
+++ b/network/onioncat/README
@@ -1,5 +1,7 @@
-onioncat creates a transparent IP layer on top of Tor's hidden services.
-It trainsmits IP-based data transparently through the Tor network on a
-location hidden basis. You can think of it as a point-to -multipoint VPN
-between hidden services.
+OnionCat creates a transparent IPv6 layer on top of Tor's hidden
+services or I2P's tunnels. It transmits any kind of IP-based data
+transparently through the Tor/I2P network on a location hidden basis.
+You can think of it as a peer-to-peer VPN between hidden services.
+Having Tor/I2P installed is not required for building.
+The Tor/I2P installation does not have to be from SBo.
diff --git a/network/onioncat/onioncat.SlackBuild b/network/onioncat/onioncat.SlackBuild
index b9ae0507ea..cfa73b3300 100644
--- a/network/onioncat/onioncat.SlackBuild
+++ b/network/onioncat/onioncat.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for onioncat
-# Copyright 2013-2019 Markus Reichelt, Aachen, DE
+# Copyright 2013-2023 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +25,13 @@
# Originally written by crocket (crockabiscuit@gmail.com) - Thanks!
# Now maintained by Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=onioncat
-VERSION=${VERSION:-0.2.8}
+VERSION=${VERSION:-4.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +78,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -86,6 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-handle-http \
--enable-packet-queue \
--enable-rtt \
+ --disable-static \
--build=$ARCH-slackware-linux
make
@@ -94,12 +105,11 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man1/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS TODO \
+ AUTHORS COPYING ChangeLog NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -107,4 +117,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/onioncat/onioncat.info b/network/onioncat/onioncat.info
index 9887a18521..1372a96b27 100644
--- a/network/onioncat/onioncat.info
+++ b/network/onioncat/onioncat.info
@@ -1,8 +1,8 @@
PRGNAM="onioncat"
-VERSION="0.2.8"
-HOMEPAGE="https://www.cypherpunk.at/onioncat/"
-DOWNLOAD="https://www.cypherpunk.at/ocat/download/Source/stable/onioncat-0.2.8.tar.gz"
-MD5SUM="c4cd8a514c55471eee11719e1ff98b7c"
+VERSION="4.11.0"
+HOMEPAGE="https://www.onioncat.org/"
+DOWNLOAD="https://github.com/rahra/onioncat/releases/download/v4.11.0/onioncat-4.11.0.tar.gz"
+MD5SUM="8c12109c84aac6d0e1ee3bcc89c7b084"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/onioncat/slack-desc b/network/onioncat/slack-desc
index f61e2634b1..20e1864969 100644
--- a/network/onioncat/slack-desc
+++ b/network/onioncat/slack-desc
@@ -13,7 +13,7 @@ onioncat: services. It trainsmits IP-based data transparently through the Tor
onioncat: network on a location hidden basis. You can think of it as a point-to
onioncat: -multipoint VPN between hidden services.
onioncat:
+onioncat: I2P is also supported.
onioncat:
-onioncat: Website : https://www.cypherpunk.at/onioncat/
-onioncat:
+onioncat: Website : https://www.onioncat.org/
onioncat:
diff --git a/network/onionshare/README b/network/onionshare/README
index c6fbb9c999..51b25a52f4 100644
--- a/network/onionshare/README
+++ b/network/onionshare/README
@@ -1,8 +1,9 @@
-OnionShare lets you securely and anonymously send and receive files.
-It works by starting a web server, making it accessible as a Tor onion
-service, and generating an unguessable web address so others can download
-files from you, or upload files to you. It does not require setting up
-a separate server or using a third party file-sharing service.
+OnionShare lets you securely and anonymously send and receive files.
+It works by starting a web server, making it accessible as a Tor
+onion service, and generating an unguessable web address so others can
+download files from you, or upload files to you. It does not require
+setting up a separate server or using a third party file-sharing
+service.
It also requires obfs4proxy (or others e.g. meek) if tor bridge is used.
diff --git a/network/onionshare/onionshare.SlackBuild b/network/onionshare/onionshare.SlackBuild
index 9ad5bffabf..e3c418adcd 100644
--- a/network/onionshare/onionshare.SlackBuild
+++ b/network/onionshare/onionshare.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for onionshare
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=onionshare
VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/onionshare/onionshare.info b/network/onionshare/onionshare.info
index 6218a2c976..3abd74af06 100644
--- a/network/onionshare/onionshare.info
+++ b/network/onionshare/onionshare.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/micahflee/onionshare/archive/v2.2/onionshare-2.2.ta
MD5SUM="3ff52742b7e6809b9646605e10b25562"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="tor stem python3-Flask python3-Flask-httpauth python3-pycrypto PySocks python3-PyQt5 pysha3"
+REQUIRES="tor stem python3-Flask-httpauth python3-pycrypto PySocks pysha3"
MAINTAINER="MDrights"
EMAIL="psychi2009@gmail.com"
diff --git a/network/onyx/onyx.SlackBuild b/network/onyx/onyx.SlackBuild
index 9a367557a6..e59e1066ed 100644
--- a/network/onyx/onyx.SlackBuild
+++ b/network/onyx/onyx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
# Slackware build script for onyx
@@ -22,16 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=onyx
VERSION=${VERSION:-0.9.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# The source extracts to the "overbitenx" directory, but the actual utility
# we're building is "onyx" (the rest of overbitenx is a Firefox extension that the
# user should obtain through the usual interface), so we've got to keep the
# two names straight.
-PRGNAM=onyx
APP=overbitenx
if [ -z "$ARCH" ]; then
@@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ookla-speedtest/README b/network/ookla-speedtest/README
new file mode 100644
index 0000000000..d851665ecc
--- /dev/null
+++ b/network/ookla-speedtest/README
@@ -0,0 +1,17 @@
+Speedtest CLI brings the trusted technology and global server network
+behind Speedtest to the command line. Built for software developers,
+system administrators and computer enthusiasts alike, Speedtest CLI is
+the first official Linux-native Speedtest application backed by Ookla®.
+
+With Speedtest CLI, you can easily:
+
+* Measure internet connection performance metrics like download, upload,
+ latency and packet loss natively without relying on a web browser
+* Test the internet connection of your Linux desktop, a remote server or
+ even lower-powered devices such as the Raspberry Pi with the
+ Speedtest Server Network
+* Set up automated scripts to collect connection performance data,
+ including trends over time
+* Use Speedtest in your programs by wrapping it in the programming
+ language of your choice
+* View test results via CSV, JSONL or JSON
diff --git a/network/ookla-speedtest/ookla-speedtest.SlackBuild b/network/ookla-speedtest/ookla-speedtest.SlackBuild
new file mode 100644
index 0000000000..075d8ca5b7
--- /dev/null
+++ b/network/ookla-speedtest/ookla-speedtest.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for ookla-speedtest
+
+# Copyright 2023 Ebben Aries <slackbuilds@dscp.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ookla-speedtest
+SRCNAM=speedtest
+VERSION=${VERSION:-1.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ PKG_ARCH=i386
+elif [ "$ARCH" = "i686" ]; then
+ PKG_ARCH=i386
+elif [ "$ARCH" = "x86_64" ]; then
+ PKG_ARCH=$ARCH
+else
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-linux-$PKG_ARCH.tgz -C $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/{usr/bin,usr/man/man5}
+install -D -m 0755 $SRCNAM $PKG/usr/bin/$SRCNAM
+install -m 0644 $SRCNAM.5 $PKG/usr/man/man5/
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $SRCNAM.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ookla-speedtest/ookla-speedtest.info b/network/ookla-speedtest/ookla-speedtest.info
new file mode 100644
index 0000000000..b579aa19d4
--- /dev/null
+++ b/network/ookla-speedtest/ookla-speedtest.info
@@ -0,0 +1,10 @@
+PRGNAM="ookla-speedtest"
+VERSION="1.2.0"
+HOMEPAGE="https://www.speedtest.net/apps/cli"
+DOWNLOAD="https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-i386.tgz"
+MD5SUM="d573e2ab8fa4f0951a5f32adaf1913b4"
+DOWNLOAD_x86_64="https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-x86_64.tgz"
+MD5SUM_x86_64="76de75a734cf98d70eee0d362bad365a"
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/network/ookla-speedtest/slack-desc b/network/ookla-speedtest/slack-desc
new file mode 100644
index 0000000000..96a8eaa471
--- /dev/null
+++ b/network/ookla-speedtest/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ookla-speedtest: ookla-speedtest (Speedtest CLI)
+ookla-speedtest:
+ookla-speedtest: Speedtest CLI brings the trusted technology and global server network
+ookla-speedtest: behind Speedtest to the command line. Built for software developers,
+ookla-speedtest: system administrators and computer enthusiasts alike, Speedtest CLI
+ookla-speedtest: is the first official Linux-native Speedtest application backed by
+ookla-speedtest: Ookla.
+ookla-speedtest:
+ookla-speedtest:
+ookla-speedtest: Homepage: https://www.speedtest.net/apps/cli
+ookla-speedtest:
diff --git a/network/open-iscsi/doinst.sh b/network/open-iscsi/doinst.sh
index 718295b2e7..a4797f0184 100644
--- a/network/open-iscsi/doinst.sh
+++ b/network/open-iscsi/doinst.sh
@@ -1,16 +1,19 @@
+# 20230620 bkw: reverted this to the config() function from SBo
+# template. Please leave this as-is. It works, and it won't confuse
+# us (we have over 8000 scripts to look after...)
config() {
- NEW="${1}.new"
- OLD="$1"
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(md5sum <$OLD)" = "$(md5sum <$NEW)" ]; then
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/iscsi/iscsid.conf
-config etc/iscsi/initiatorname.iscsi
+config etc/iscsi/iscsid.conf.new
+config etc/iscsi/initiatorname.iscsi.new
diff --git a/network/open-iscsi/include_sysmacros.patch b/network/open-iscsi/include_sysmacros.patch
index 75a7231321..6e357faef3 100644
--- a/network/open-iscsi/include_sysmacros.patch
+++ b/network/open-iscsi/include_sysmacros.patch
@@ -20,14 +20,3 @@ diff -Naur open-iscsi-2.0.875.orig/iscsiuio/src/unix/libs/bnx2x.c open-iscsi-2.0
#include "config.h"
-diff -Naur open-iscsi-2.0.875.orig/iscsiuio/src/unix/libs/qedi.c open-iscsi-2.0.875/iscsiuio/src/unix/libs/qedi.c
---- open-iscsi-2.0.875.orig/iscsiuio/src/unix/libs/qedi.c 2017-09-01 20:05:23.000000000 +0200
-+++ open-iscsi-2.0.875/iscsiuio/src/unix/libs/qedi.c 2019-09-06 14:29:00.780039000 +0200
-@@ -58,6 +58,7 @@
- #include <sys/user.h>
- #include <fcntl.h>
- #include <unistd.h>
-+#include <sys/sysmacros.h>
-
- #include "config.h"
-
diff --git a/network/open-iscsi/open-iscsi.SlackBuild b/network/open-iscsi/open-iscsi.SlackBuild
index 54dda75cd6..fe0c9a4274 100644
--- a/network/open-iscsi/open-iscsi.SlackBuild
+++ b/network/open-iscsi/open-iscsi.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for open-iscsi
# Copyright 2019 Wayne Cuddy USA
+# Copyright 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +23,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230620 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - Fix doinst.sh (conf files were missing .new suffix).
+# - Do not install /usr/include headers with +x permission.
+
#
# 2019/09/08 - add patch to support building on Slackware "current"
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=open-iscsi
-VERSION=${VERSION:-2.0.875}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-2.1.5}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +47,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,16 +82,20 @@ cd $PRGNAM-$VERSION
# Allow this SB to work on "current", benign on 14.2.
patch -p1 <$CWD/include_sysmacros.patch
+patch -p1 <$CWD/remove_werror.patch
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-make
+make OPTFLAGS="-DNO_SYSTEMD" NO_SYSTEMD=1
make install DESTDIR=$PKG
+chmod -x $PKG/usr/include/*.h
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -115,4 +131,4 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/open-iscsi/open-iscsi.info b/network/open-iscsi/open-iscsi.info
index 1b71602177..ea87d3944b 100644
--- a/network/open-iscsi/open-iscsi.info
+++ b/network/open-iscsi/open-iscsi.info
@@ -1,8 +1,8 @@
PRGNAM="open-iscsi"
-VERSION="2.0.875"
+VERSION="2.1.5"
HOMEPAGE="https://github.com/open-iscsi/open-iscsi"
-DOWNLOAD="https://github.com/open-iscsi/open-iscsi/archive/2.0.875/open-iscsi-2.0.875.tar.gz"
-MD5SUM="982e48181411365fa11b3364cf91a977"
+DOWNLOAD="https://github.com/open-iscsi/open-iscsi/archive/2.1.5/open-iscsi-2.1.5.tar.gz"
+MD5SUM="fcde2e39f3bec7b668751035987fdc35"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="open-isns"
diff --git a/network/open-iscsi/remove_werror.patch b/network/open-iscsi/remove_werror.patch
new file mode 100644
index 0000000000..03164c9a59
--- /dev/null
+++ b/network/open-iscsi/remove_werror.patch
@@ -0,0 +1,24 @@
+--- open-iscsi-2.1.1/libopeniscsiusr/Makefile.orig 2020-02-26 20:07:13.000000000 +0100
++++ open-iscsi-2.1.1/libopeniscsiusr/Makefile 2020-07-14 18:13:07.144477155 +0200
+@@ -44,7 +44,7 @@
+ OBJS = context.o misc.o session.o sysfs.o iface.o idbm.o node.o default.o
+
+ CFLAGS ?= -O2 -g
+-CFLAGS += -Wall -Werror -Wextra -fvisibility=hidden -fPIC
++CFLAGS += -Wall -Wextra -fvisibility=hidden -fPIC
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
+
+ LDFLAGS += $(shell $(PKG_CONFIG) --libs libkmod)
+
+--- open-iscsi-2.1.1/usr/Makefile 2020-02-26 20:07:13.000000000 +0100
++++ open-iscsi-2.1.1/usr/Makefile 2020-07-14 17:56:48.298477155 +0200
+@@ -35,7 +35,7 @@
+ PKG_CONFIG = /usr/bin/pkg-config
+
+ CFLAGS ?= -O2 -g
+-WARNFLAGS ?= -Wall -Wextra -Werror -Wstrict-prototypes -fno-common
++WARNFLAGS ?= -Wall -Wextra -Wstrict-prototypes -fno-common
+ CFLAGS += $(WARNFLAGS) -I../include -I. -D_GNU_SOURCE \
+ -I$(TOPDIR)/libopeniscsiusr
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
+
diff --git a/network/open-isns/doinst.sh b/network/open-isns/doinst.sh
index 8fad217bd6..ffe6583a67 100644
--- a/network/open-isns/doinst.sh
+++ b/network/open-isns/doinst.sh
@@ -1,17 +1,18 @@
+# 20230620 bkw: Please stick with the config() from our template.
config() {
- NEW="${1}.new"
- OLD="$1"
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(md5sum <$OLD)" = "$(md5sum <$NEW)" ]; then
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/isns/isnsd.conf
-config etc/isns/isnsdd.conf
-config etc/isns/isnsadm.conf
+config etc/isns/isnsd.conf.new
+config etc/isns/isnsdd.conf.new
+config etc/isns/isnsadm.conf.new
diff --git a/network/open-isns/open-isns.SlackBuild b/network/open-isns/open-isns.SlackBuild
index 8aa11e23d4..93207785d0 100644
--- a/network/open-isns/open-isns.SlackBuild
+++ b/network/open-isns/open-isns.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for open-isns
# Copyright 2019 Wayne Cuddy USA
+# Copyright 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=open-isns
-VERSION=${VERSION:-0.99}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.101}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +73,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -114,4 +122,4 @@ mkdir -p $PKG/etc/rc.d
cp $CWD/rc.isnsd $CWD/rc.isnsdd $PKG/etc/rc.d
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/open-isns/open-isns.info b/network/open-isns/open-isns.info
index 49ce2080f5..36f15a044e 100644
--- a/network/open-isns/open-isns.info
+++ b/network/open-isns/open-isns.info
@@ -1,8 +1,8 @@
PRGNAM="open-isns"
-VERSION="0.99"
+VERSION="0.101"
HOMEPAGE="https://github.com/open-iscsi/open-isns"
-DOWNLOAD="https://github.com/open-iscsi/open-isns/archive/v0.99/open-isns-0.99.tar.gz"
-MD5SUM="512413a285c852195b6240d6a0ad7f5b"
+DOWNLOAD="https://github.com/open-iscsi/open-isns/archive/v0.101/open-isns-0.101.tar.gz"
+MD5SUM="bd017a07d685b9c87e0da29fc3f899a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/openconnect-sso/README b/network/openconnect-sso/README
new file mode 100644
index 0000000000..c090bb28b1
--- /dev/null
+++ b/network/openconnect-sso/README
@@ -0,0 +1,11 @@
+Wrapper script for OpenConnect supporting Azure AD (SAMLv2)
+authentication to Cisco SSL-VPNs
+
+Create a shell script with the following content:
+
+#!/bin/bash
+konsole -e openconnect-sso --server your.server.extension
+
+Set it as executable and run it
+
+Enjoy!
diff --git a/network/openconnect-sso/openconnect-sso.SlackBuild b/network/openconnect-sso/openconnect-sso.SlackBuild
new file mode 100644
index 0000000000..3b263267af
--- /dev/null
+++ b/network/openconnect-sso/openconnect-sso.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/bash
+
+# Slackware build script for openconnect-sso
+
+# Copyright 2021 Nowhere Man Houston, TX
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=openconnect-sso
+VERSION=${VERSION:-0.8.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openconnect-sso/openconnect-sso.info b/network/openconnect-sso/openconnect-sso.info
new file mode 100644
index 0000000000..efa458d31a
--- /dev/null
+++ b/network/openconnect-sso/openconnect-sso.info
@@ -0,0 +1,10 @@
+PRGNAM="openconnect-sso"
+VERSION="0.8.0"
+HOMEPAGE="https://github.com/vlaci/openconnect-sso"
+DOWNLOAD="https://github.com/vlaci/openconnect-sso/releases/download/v0.8.0/openconnect-sso-0.8.0.tar.gz"
+MD5SUM="f16b7eba5760f725ddbff8d6114878db"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openconnect"
+MAINTAINER="Bubba Bubbanion"
+EMAIL="none@none.com"
diff --git a/network/openconnect-sso/slack-desc b/network/openconnect-sso/slack-desc
new file mode 100644
index 0000000000..e0dc1b75af
--- /dev/null
+++ b/network/openconnect-sso/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+openconnect-sso: openconnect-sso (Wrapper for OpenConnect)
+openconnect-sso:
+openconnect-sso: Wrapper script for OpenConnect supporting Azure AD (SAMLv2)
+openconnect-sso: authentication to Cisco SSL-VPNs
+openconnect-sso:
+openconnect-sso:
+openconnect-sso:
+openconnect-sso: It still requires openconnect for the VPN connection, this is just a
+openconnect-sso: wrapper for OpenConnect to enable MFA connectivity
+openconnect-sso:
+openconnect-sso:
diff --git a/network/openconnect/README b/network/openconnect/README
index 39833f870a..26903d4a4f 100644
--- a/network/openconnect/README
+++ b/network/openconnect/README
@@ -1,6 +1,7 @@
-OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is supported
-by the ASA5500 Series, by IOS 12.4(9)T or later on Cisco SR500, 870, 880,
-1800, 2800, 3800, 7200 Series and Cisco 7301 Routers, and probably others.
+OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is
+supported by the ASA5500 Series, by IOS 12.4(9)T or later on Cisco
+SR500, 870, 880, 1800, 2800, 3800, 7200 Series and Cisco 7301 Routers,
+and probably others.
Like vpnc, OpenConnect is not officially supported by, or associated in
any way with, Cisco Systems. It just happens to interoperate with their
diff --git a/network/openconnect/libxml-fix.patch b/network/openconnect/libxml-fix.patch
new file mode 100644
index 0000000000..f6ee59a16a
--- /dev/null
+++ b/network/openconnect/libxml-fix.patch
@@ -0,0 +1,10 @@
+--- openconnect-internal.h.org 2023-05-19 18:12:15.000000000 +0200
++++ openconnect-internal.h 2023-12-12 18:38:19.651357296 +0100
+@@ -85,6 +85,7 @@
+ #define N_(s) s
+
+ #include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include <zlib.h>
+
+ #ifdef _WIN32
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild
index 505fb5f503..918ca05b51 100644
--- a/network/openconnect/openconnect.SlackBuild
+++ b/network/openconnect/openconnect.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openconnect
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openconnect
-VERSION=${VERSION:-8.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-9.12}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,6 +72,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p0 < $CWD/libxml-fix.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -96,9 +107,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openconnect/openconnect.info b/network/openconnect/openconnect.info
index 474f8e9d00..d0caf6691a 100644
--- a/network/openconnect/openconnect.info
+++ b/network/openconnect/openconnect.info
@@ -1,8 +1,8 @@
PRGNAM="openconnect"
-VERSION="8.10"
+VERSION="9.12"
HOMEPAGE="https://www.infradead.org/openconnect/"
-DOWNLOAD="ftp://ftp.infradead.org/pub/openconnect/openconnect-8.10.tar.gz"
-MD5SUM="d772c3c68afae12252a5377a99352b97"
+DOWNLOAD="https://www.infradead.org/openconnect/download/openconnect-9.12.tar.gz"
+MD5SUM="39060dcb58ebfb261bb6faf17755b98b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/opendchub/README b/network/opendchub/README
index 54c1da32ca..e0a9844e8f 100644
--- a/network/opendchub/README
+++ b/network/opendchub/README
@@ -1 +1,2 @@
-An Open Source Linux/Unix version of the hub software for Direct Connect.
+An Open Source Linux/Unix version of the hub software for Direct
+Connect.
diff --git a/network/opendchub/opendchub.SlackBuild b/network/opendchub/opendchub.SlackBuild
index 566a11cf11..1dada1930a 100644
--- a/network/opendchub/opendchub.SlackBuild
+++ b/network/opendchub/opendchub.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenDC Hub
#
@@ -19,10 +19,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opendchub
VERSION=${VERSION:-0.7.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,7 +35,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,7 +76,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -94,5 +104,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opendkim/README b/network/opendkim/README
index 7b7c156c03..fe6f3d451b 100644
--- a/network/opendkim/README
+++ b/network/opendkim/README
@@ -32,4 +32,5 @@ support requires OpenDBX installed. To enable:
USE_MYSQL=yes ./opendkim.SlackBuild
USE_UNBOUND=yes ./opendkim.SlackBuild
-Unbound will require the unbound package which is available in SlackBuilds.
+Unbound will require the unbound package, which is available at
+SlackBuilds.org
diff --git a/network/opendkim/opendkim.SlackBuild b/network/opendkim/opendkim.SlackBuild
index 85b2b88f4b..fcac38bd7d 100644
--- a/network/opendkim/opendkim.SlackBuild
+++ b/network/opendkim/opendkim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenDKIM
@@ -22,31 +22,35 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opendkim
VERSION=${VERSION:-2.10.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -104,6 +108,9 @@ else
UNBOUND=""
fi
+patch -p1 < $CWD/openssl_1.1.0_compat.patch
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -130,19 +137,22 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a FEATURES INSTALL KNOWNBUGS LICENSE* README* RELEASE_NOTES* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mkdir -p $PKG/var/run/opendkim
-chown $USER:$GROUP $PKG/var/run/opendkim/
+mkdir -p $PKG/etc/rc.d
install -m 0640 -D $PRGNAM/opendkim.conf.simple $PKG/etc/opendkim.conf.new
-install -m 0755 -D $CWD/rc.opendkim $PKG/etc/rc.d/rc.opendkim.new
+sed -e "s,@DKUSER@,$DKUSER,g" -e "s,@DKGROUP@,$DKGROUP,g" \
+ $CWD/rc.opendkim > $PKG/etc/rc.d/rc.opendkim.new
+chmod 0755 $PKG/etc/rc.d/rc.opendkim.new
# Change KeyFile to match rc.opendkim
sed -i 's|^KeyFile.*|KeyFile /etc/opendkim/keys/default.private|' $PKG/etc/opendkim.conf.new
echo "UserID $DKUSER:$DKGROUP" >> $PKG/etc/opendkim.conf.new
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opendkim/openssl_1.1.0_compat.patch b/network/opendkim/openssl_1.1.0_compat.patch
new file mode 100644
index 0000000000..383990832a
--- /dev/null
+++ b/network/opendkim/openssl_1.1.0_compat.patch
@@ -0,0 +1,90 @@
+Description: Build and work with either openssl 1.0.2 or 1.1.0
+ * Add patch to build with either openssl 1.0.2 or 1.1.0 (Closes: #828466)
+ - Thanks to Sebastian Andrzej Siewior for the patch
+Author: Sebastian Andrzej Siewior
+Bug-Debian: http://bugs.debian.org/828466
+Origin: vendor
+Forwarded: no
+Reviewed-By: Scott Kitterman <scott@kitterman.com>
+Last-Update: <YYYY-MM-DD>
+
+--- opendkim-2.11.0~alpha.orig/configure.ac
++++ opendkim-2.11.0~alpha/configure.ac
+@@ -864,26 +864,28 @@ then
+ AC_SEARCH_LIBS([ERR_peek_error], [crypto], ,
+ AC_MSG_ERROR([libcrypto not found]))
+
+- AC_SEARCH_LIBS([SSL_library_init], [ssl], ,
+- [
+- if test x"$enable_shared" = x"yes"
+- then
+- AC_MSG_ERROR([Cannot build shared opendkim
+- against static openssl libraries.
+- Configure with --disable-shared
+- to get this working or obtain a
+- shared libssl library for
+- opendkim to use.])
+- fi
+
+- # avoid caching issue - last result of SSL_library_init
+- # shouldn't be cached for this next check
+- unset ac_cv_search_SSL_library_init
+- LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS -ldl"
+- AC_SEARCH_LIBS([SSL_library_init], [ssl], ,
+- AC_MSG_ERROR([libssl not found]), [-ldl])
+- ]
+- )
++ AC_LINK_IFELSE(
++ [AC_LANG_PROGRAM([[#include <openssl/ssl.h>]],
++ [[SSL_library_init();]])],
++ [od_have_ossl="yes";],
++ [od_have_ossl="no";])
++ if test x"$od_have_ossl" = x"no"
++ then
++ if test x"$enable_shared" = x"yes"
++ then
++ AC_MSG_ERROR([Cannot build shared opendkim
++ against static openssl libraries.
++ Configure with --disable-shared
++ to get this working or obtain a
++ shared libssl library for
++ opendkim to use.])
++ fi
++
++ LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS -ldl"
++ AC_SEARCH_LIBS([SSL_library_init], [ssl], ,
++ AC_MSG_ERROR([libssl not found]), [-ldl])
++ fi
+
+ AC_CHECK_DECL([SHA256_DIGEST_LENGTH],
+ AC_DEFINE([HAVE_SHA256], 1,
+--- opendkim-2.11.0~alpha.orig/opendkim/opendkim-crypto.c
++++ opendkim-2.11.0~alpha/opendkim/opendkim-crypto.c
+@@ -222,7 +222,11 @@ dkimf_crypto_free_id(void *ptr)
+ {
+ assert(pthread_setspecific(id_key, ptr) == 0);
+
++#if OPENSSL_VERSION_NUMBER >= 0x10100000
++ OPENSSL_thread_stop();
++#else
+ ERR_remove_state(0);
++#endif
+
+ free(ptr);
+
+@@ -392,11 +396,15 @@ dkimf_crypto_free(void)
+ {
+ if (crypto_init_done)
+ {
++#if OPENSSL_VERSION_NUMBER >= 0x10100000
++ OPENSSL_thread_stop();
++#else
+ CRYPTO_cleanup_all_ex_data();
+ CONF_modules_free();
+ EVP_cleanup();
+ ERR_free_strings();
+ ERR_remove_state(0);
++#endif
+
+ if (nmutexes > 0)
+ {
diff --git a/network/opendkim/rc.opendkim b/network/opendkim/rc.opendkim
index 23170a16e6..ef6e1a6ff5 100644
--- a/network/opendkim/rc.opendkim
+++ b/network/opendkim/rc.opendkim
@@ -6,7 +6,8 @@
# Modified from the script by Steve Jenkins (SteveJenkins.com) - 10-29-2012
# Based on a script by Andrew Colin Kissa (TopDog) for dkim-milter - 05-28-2009
-USER="opendkim"
+DKUSER="@DKUSER@"
+DKGROUP="@DKGROUP@"
PROGRAM=/usr/sbin/opendkim
CONF_FILE=/etc/opendkim.conf
PID_FILE=/var/run/opendkim/opendkim.pid
@@ -23,8 +24,8 @@ do_dkim_keygen() {
else
mkdir -p $DKIM_KEYDIR
$KEYGEN -b 2048 -D $DKIM_KEYDIR -s $DKIM_SELECTOR -d "$(hostname -d)"
- chown root:$USER $DKIM_KEYDIR
- chown $USER:$USER $DKIM_KEYDIR/$DKIM_SELECTOR.{private,txt}
+ chown root:$DK_USER $DKIM_KEYDIR
+ chown $DKUSER:$DKGROUP $DKIM_KEYDIR/$DKIM_SELECTOR.{private,txt}
chmod 600 $DKIM_KEYDIR/$DKIM_SELECTOR.private
chmod 644 $DKIM_KEYDIR/$DKIM_SELECTOR.txt
echo
@@ -47,6 +48,8 @@ case "$1" in
echo OpenDKIM already running as pid "$PID"
exit 2;
else
+ mkdir -p $(dirname $PID_FILE)
+ chown $DKUSER:$DKGROUP $(dirname $PID_FILE)
$PROGRAM -l -x $CONF_FILE -P $PID_FILE
fi
;;
diff --git a/network/opendmarc/README b/network/opendmarc/README
index ba50fb5889..1765ffa51d 100644
--- a/network/opendmarc/README
+++ b/network/opendmarc/README
@@ -8,9 +8,10 @@ Optional dependency (will be autodetected): libspf2
You must have a opendmarc user to run this script:
# groupadd -g 362 opendmarc
- # useradd -u 362 -d /var/run/opendmarc -s /bin/false -g opendmarc opendmarc
+ # useradd -u 362 -d /var/run/opendmarc \
+ -s /bin/false -g opendmarc opendmarc
-And if you have postfix installed, add it to the group:
+And if you use postfix, add it to the group:
# usermod -a -G opendmarc postfix
diff --git a/network/opendmarc/opendmarc.SlackBuild b/network/opendmarc/opendmarc.SlackBuild
index 1747782641..9047568793 100644
--- a/network/opendmarc/opendmarc.SlackBuild
+++ b/network/opendmarc/opendmarc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opendmarc
-# Copyright 2019 Mario Preksavec, Zagreb, Croatia
+# Copyright 2019, 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opendmarc
-VERSION=${VERSION:-1.3.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.4.1.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=OpenDMARC-rel-$PRGNAM-${VERSION//./-}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,9 +99,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM
+tar xvf $CWD/$SRCNAM.tar.gz
+cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -98,8 +110,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# http://batleth.sapienti-sat.org/projects/opendmarc/
-# ... and a few more
-for i in $CWD/patches/* ; do patch -p1 <$i ; done
+# https://github.com/trusteddomainproject/OpenDMARC/pulls
+for i in $CWD/patches/* ; do
+ case $i in
+ */z04_moreHeadersFailureReportVsBeta1.patch) : ;;
+ *) patch -p1 <$i ;;
+ esac
+done
autoreconf -vif
@@ -120,12 +137,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
# Install init script
install -D -m0755 -oroot -groot contrib/init/generic/$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-sed -e "s|^\(prefix=\).*|\1|" \
- -e "s|^\(exec_prefix=\).*|\1/usr|" \
- -e "s|/etc/sysconfig/opendmarc|/etc/default/opendmarc|" \
- -i $PKG/etc/rc.d/rc.$PRGNAM.new
# Configure defaults
install -D -m0644 -oroot -groot $PRGNAM/$PRGNAM.conf.sample $PKG/etc/$PRGNAM.conf.new
@@ -139,10 +154,6 @@ sed -e "s|^# \(AuthservID\) .*|\1 HOSTNAME|" \
-e "s|^# \(UserID\) .*|\1 $PRGNAM:$PRGNAM|" \
-i $PKG/etc/$PRGNAM.conf.new
-# Home directory for runtime data
-mkdir -p $PKG/var/run/$PRGNAM
-chown $PRGNAM:$PRGNAM $PKG/var/run/$PRGNAM
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -150,7 +161,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING README README.md RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -159,4 +170,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opendmarc/opendmarc.info b/network/opendmarc/opendmarc.info
index 061a20ed5e..5b345d1f09 100644
--- a/network/opendmarc/opendmarc.info
+++ b/network/opendmarc/opendmarc.info
@@ -1,8 +1,8 @@
PRGNAM="opendmarc"
-VERSION="1.3.2"
+VERSION="1.4.1.1"
HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
-DOWNLOAD="https://sourceforge.net/projects/opendmarc/files/opendmarc-1.3.2.tar.gz"
-MD5SUM="2b4e9b8be7fe61800515cef1d7e6a905"
+DOWNLOAD="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-opendmarc-1-4-1-1/OpenDMARC-rel-opendmarc-1-4-1-1.tar.gz"
+MD5SUM="18fe4c7bedbc6f893e96b0b47dfcc280"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/opendmarc/patches/fix-generic-init-script.diff b/network/opendmarc/patches/fix-generic-init-script.diff
new file mode 100644
index 0000000000..0c9a794915
--- /dev/null
+++ b/network/opendmarc/patches/fix-generic-init-script.diff
@@ -0,0 +1,36 @@
+--- OpenDMARC-rel-opendmarc-1-4-1-1/contrib/init/generic/opendmarc.orig 2021-04-30 18:34:43.000000000 +0200
++++ OpenDMARC-rel-opendmarc-1-4-1-1/contrib/init/generic/opendmarc 2021-08-15 04:11:56.270775519 +0200
+@@ -19,18 +19,19 @@
+
+ . /etc/rc.d/init.d/functions
+
+-prefix=/usr/local
+-exec_prefix=${prefix}
++prefix=
++exec_prefix=/usr
+
+ RETVAL=0
+ prog="opendmarc"
+
+ DAEMON=${exec_prefix}/sbin/$prog
+ CONF_FILE=${prefix}/etc/$prog.conf
+-PID_FILE=${prefix}/var/run/$prog/$prog.pid
++RUN_DIR=${prefix}/var/run/$prog
++PID_FILE=$RUN_DIR/$prog.pid
+
+-if [ -f /etc/sysconfig/opendmarc ]; then
+- . /etc/sysconfig/opendmarc
++if [ -f /etc/default/opendmarc ]; then
++ . /etc/default/opendmarc
+ fi
+
+ start() {
+@@ -40,6 +41,8 @@
+ echo OpenDMARC already running as pid $PID
+ exit 2;
+ else
++ mkdir -p $RUN_DIR
++ chown $prog:$prog $RUN_DIR
+ daemon $DAEMON -c $CONF_FILE -P $PID_FILE
+ RETVAL=$?
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/opendmarc
diff --git a/network/opendmarc/patches/pull116.diff b/network/opendmarc/patches/pull116.diff
new file mode 100644
index 0000000000..cdedb80324
--- /dev/null
+++ b/network/opendmarc/patches/pull116.diff
@@ -0,0 +1,131 @@
+diff --git a/opendmarc/opendmarc-config.h b/opendmarc/opendmarc-config.h
+index 1b781df..8398007 100644
+--- a/opendmarc/opendmarc-config.h
++++ b/opendmarc/opendmarc-config.h
+@@ -47,6 +47,7 @@ struct configdef dmarcf_config[] =
+ { "RequiredHeaders", CONFIG_TYPE_BOOLEAN, FALSE },
+ { "RejectFailures", CONFIG_TYPE_BOOLEAN, FALSE },
+ { "RejectMultiValueFrom", CONFIG_TYPE_BOOLEAN, FALSE },
++ { "RejectString", CONFIG_TYPE_STRING, FALSE },
+ { "ReportCommand", CONFIG_TYPE_STRING, FALSE },
+ { "Socket", CONFIG_TYPE_STRING, FALSE },
+ { "SoftwareHeader", CONFIG_TYPE_BOOLEAN, FALSE },
+diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
+index a1e49ec..c28aedd 100644
+--- a/opendmarc/opendmarc.c
++++ b/opendmarc/opendmarc.c
+@@ -190,6 +190,7 @@ struct dmarcf_config
+ char * conf_historyfile;
+ char * conf_pslist;
+ char * conf_ignorelist;
++ char * conf_rejectstring;
+ char ** conf_trustedauthservids;
+ char ** conf_ignoredomains;
+ struct list * conf_domainwhitelist;
+@@ -1427,6 +1428,10 @@ dmarcf_config_load(struct config *data, struct dmarcf_config *conf,
+ &conf->conf_rejectfail,
+ sizeof conf->conf_rejectfail);
+
++ (void) config_get(data, "RejectString",
++ &conf->conf_rejectstring,
++ sizeof conf->conf_rejectstring);
++
+ (void) config_get(data, "RequiredHeaders",
+ &conf->conf_reqhdrs,
+ sizeof conf->conf_reqhdrs);
+@@ -1635,6 +1640,36 @@ dmarcf_config_load(struct config *data, struct dmarcf_config *conf,
+
+ pthread_rwlock_unlock(&hash_lock);
+
++ if ( conf->conf_rejectstring == NULL ) {
++ conf->conf_rejectstring = DEFREJECTSTR;
++ } else {
++ /* Count occurrences of "%s" in RejectString */
++ int countocc = 0;
++ const char *tmp = conf->conf_rejectstring;
++ if (strstr(tmp, '%%')) {
++ snprintf(err, errlen, "%s: The RejectString contains a %%%% (escaped %%)!",
++ basedir);
++ return -1;
++ }
++ while(tmp = strstr(tmp, "%s"))
++ {
++ countocc++;
++ tmp++;
++ }
++ switch ( countocc ) {
++ case 0:
++ snprintf(err, errlen, "%s: The RejectString doesn't contain %%s!",
++ basedir);
++ return -1;
++ case 1:
++ break;
++ default:
++ snprintf(err, errlen, "%s: The RejectString contains %d occurences of %%s instead of one!",
++ basedir, countocc);
++ return -1;
++ }
++ }
++
+ return 0;
+ }
+
+@@ -3566,7 +3601,7 @@ mlfi_eom(SMFICTX *ctx)
+ random() % 100 < pct)
+ {
+ snprintf(replybuf, sizeof replybuf,
+- "rejected by DMARC policy for %s", pdomain);
++ conf->conf_rejectstring, pdomain);
+
+ status = dmarcf_setreply(ctx, DMARC_REJECT_SMTP,
+ DMARC_REJECT_ESC, replybuf);
+diff --git a/opendmarc/opendmarc.conf.5.in b/opendmarc/opendmarc.conf.5.in
+index f6fd6b4..4b6df51 100644
+--- a/opendmarc/opendmarc.conf.5.in
++++ b/opendmarc/opendmarc.conf.5.in
+@@ -261,6 +261,13 @@ If set, messages with multiple addresses in the From: field of the message
+ will be rejected unless all domain names in that field are the same. They
+ will otherwise be ignored by the filter (the default).
+
++.TP
++.I RejectString (string)
++This string describes the reason of reject at SMTP level.
++The message MUST contain the word "%s" once, which will be replaced by the
++RFC5322.From domain. Escaped "%" ("%%") are not allowed in this string.
++The default is "rejected by DMARC policy for %s"
++
+ .TP
+ .I ReportCommand (string)
+ Indicates the shell command to which failure reports should be passed for
+diff --git a/opendmarc/opendmarc.conf.sample b/opendmarc/opendmarc.conf.sample
+index 7b31987..462e6cf 100644
+--- a/opendmarc/opendmarc.conf.sample
++++ b/opendmarc/opendmarc.conf.sample
+@@ -303,6 +303,15 @@
+ #
+ # RejectFailures false
+
++## RejectString string
++## default ("rejected by DMARC policy for %s")
++##
++## This string describes the reason of reject. The message MUST contain the
++## word "%s" (only once), which will be replaced with the RFC5322.From domain.
++## Escaped "%" ("%%") are not allowed in this string.
++#
++# RejectString rejected by DMARC policy for %s
++
+ ## RejectMultiValueFrom { true | false }
+ ## default "false"
+ ##
+diff --git a/opendmarc/opendmarc.h b/opendmarc/opendmarc.h
+index e36f93a..a4593dc 100644
+--- a/opendmarc/opendmarc.h
++++ b/opendmarc/opendmarc.h
+@@ -34,6 +34,7 @@
+ #define BUFRSZ 2048
+ #define DEFCONFFILE CONFIG_BASE "/opendmarc.conf"
+ #define DEFREPORTCMD "/usr/sbin/sendmail -t -odq"
++#define DEFREJECTSTR "rejected by DMARC policy for %s"
+ #define JOBIDUNKNOWN "(unknown-jobid)"
+ #define MAXARGV 65536
+ #define MAXHEADER 1024
diff --git a/network/opendmarc/patches/pull172.diff b/network/opendmarc/patches/pull172.diff
new file mode 100644
index 0000000000..1b7cd634fc
--- /dev/null
+++ b/network/opendmarc/patches/pull172.diff
@@ -0,0 +1,58 @@
+diff --git a/opendmarc/opendmarc.conf.5.in b/opendmarc/opendmarc.conf.5.in
+index f7cea9a..52490cd 100644
+--- a/opendmarc/opendmarc.conf.5.in
++++ b/opendmarc/opendmarc.conf.5.in
+@@ -196,18 +196,7 @@ aggregate reports can be extracted using
+ If set, the milter will signal to the mta that messages with
+ p=quarantine, which fail dmarc authentication, should be held in
+ the MTA's "Hold" or "Quarantine" queue. The name varies by MTA.
+-If false, messsages will be accepted and passed along with the
+-regular mail flow, and the quarantine will be left up to downstream
+-MTA/MDA/MUA filters, if any, to handle by re-evaluating the headers,
+-including the Authentication-Results header added by this filter.
+-The default is "false".
+-
+-.TP
+-.I HoldQuarantinedMessages (Boolean)
+-If set, the milter will signal to the mta that messages with
+-p=quarantine, which fail dmarc authentication, should be held in
+-the MTA's "Hold" or "Quarantine" queue. The name varies by MTA.
+-If false, messsages will be accepted and passed along with the
++If false, messages will be accepted and passed along with the
+ regular mail flow, and the quarantine will be left up to downstream
+ MTA/MDA/MUA filters, if any, to handle by re-evaluating the headers,
+ including the Authentication-Results header added by this filter.
+diff --git a/opendmarc/opendmarc.conf.sample b/opendmarc/opendmarc.conf.sample
+index 69c9afb..0222ecd 100644
+--- a/opendmarc/opendmarc.conf.sample
++++ b/opendmarc/opendmarc.conf.sample
+@@ -219,7 +219,7 @@
+ ## If set, the milter will signal to the mta that messages with
+ ## p=quarantine, which fail dmarc authentication, should be held in
+ ## the MTA's "Hold" or "Quarantine" queue. The name varies by MTA.
+-## If false, messsages will be accepted and passed along with the
++## If false, messages will be accepted and passed along with the
+ ## regular mail flow, and the quarantine will be left up to downstream
+ ## MTA/MDA/MUA filters, if any, to handle by re-evaluating the headers,
+ ## including the Authentication-Results header added by OpenDMARC
+@@ -234,20 +234,6 @@
+ #
+ # IgnoreAuthenticatedClients false
+
+-## HoldQuarantinedMessages { true | false }
+-## default "false"
+-##
+-## If set, the milter will signal to the mta that messages with
+-## p=quarantine, which fail dmarc authentication, should be held in
+-## the MTA's "Hold" or "Quarantine" queue. The name varies by MTA.
+-## If false, messsages will be accepted and passed along with the
+-## regular mail flow, and the quarantine will be left up to downstream
+-## MTA/MDA/MUA filters, if any, to handle by re-evaluating the headers,
+-## including the Authentication-Results header added by OpenDMARC
+-#
+-# HoldQuarantinedMessages false
+-
+-
+ ## IgnoreHosts path
+ ## default (internal)
+ ##
diff --git a/network/opendmarc/patches/pull178.diff b/network/opendmarc/patches/pull178.diff
new file mode 100644
index 0000000000..39eaf43386
--- /dev/null
+++ b/network/opendmarc/patches/pull178.diff
@@ -0,0 +1,36 @@
+diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
+index 65f6b49..ffcbc3f 100644
+--- a/opendmarc/opendmarc.c
++++ b/opendmarc/opendmarc.c
+@@ -2474,17 +2474,22 @@ mlfi_eom(SMFICTX *ctx)
+
+ for (c = 1; users[c] != NULL; c++)
+ {
+- if (strcasecmp(domains[0], domains[c]) != 0)
++ if (domains[0] != NULL
++ && domains[c] != NULL
++ && strcasecmp(domains[0], domains[c]) != 0)
+ {
+- syslog(LOG_ERR,
+- "%s: multi-valued From field detected",
+- dfc->mctx_jobid);
+- }
++ if (conf->conf_dolog)
++ {
++ syslog(LOG_ERR,
++ "%s: multi-valued From field detected",
++ dfc->mctx_jobid);
++ }
+
+- if (conf->conf_reject_multi_from)
+- return SMFIS_REJECT;
+- else
+- return SMFIS_ACCEPT;
++ if (conf->conf_reject_multi_from)
++ return SMFIS_REJECT;
++ else
++ return SMFIS_ACCEPT;
++ }
+ }
+
+ user = users[0];
diff --git a/network/opendmarc/patches/ticket137.patch b/network/opendmarc/patches/ticket137.patch
deleted file mode 100644
index df6c062152..0000000000
--- a/network/opendmarc/patches/ticket137.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From afc1615946cd127d9ea28e0892934251c6a00a84 Mon Sep 17 00:00:00 2001
-From: "Murray S. Kucherawy" <msk@trusteddomain.org>
-Date: Sat, 4 Mar 2017 08:03:22 -0800
-Subject: [PATCH] Fix bug #137: Handle base64 inside AR tokens that are values.
- Problem reported by Joseph Coffland.
-
----
- RELEASE_NOTES | 2 ++
- opendmarc/opendmarc-ar.c | 14 +++++++++++++-
- 2 files changed, 15 insertions(+), 1 deletion(-)
-
-Index: opendmarc/RELEASE_NOTES
-===================================================================
---- opendmarc.orig/RELEASE_NOTES 2018-12-17 01:38:44.570329334 -0500
-+++ opendmarc/RELEASE_NOTES 2018-12-17 01:40:21.062333399 -0500
-@@ -3,6 +3,10 @@
- This listing shows the versions of the OpenDMARC package, the date of
- release, and a summary of the changes in that release.
-
-+ 1.4.0 2017/??/??
-+ Fix bug #137: Handle base64 inside AR tokens that are values.
-+ Problem reported by Joseph Coffland.
-+
- 1.3.2 2016/12/19
- Feature request #86: Change meaning of "RequiredHeaders" such that
- header validity is always checked, but messages are only
-Index: opendmarc/opendmarc/opendmarc-ar.c
-===================================================================
---- opendmarc.orig/opendmarc/opendmarc-ar.c 2018-12-17 01:38:44.570329334 -0500
-+++ opendmarc/opendmarc/opendmarc-ar.c 2018-12-17 01:38:44.566329334 -0500
-@@ -602,7 +602,19 @@
- ar->ares_result[n - 1].result_props = r;
-
- prevstate = state;
-- state = 9;
-+ if (c < ntoks - 1 && tokens[c + 1][1] == '\0')
-+ {
-+ if (tokens[c + 1][0] == ';')
-+ state = 2;
-+ else if (tokens[c + 1][0] == '=')
-+ r--;
-+ else
-+ state = 9;
-+ }
-+ else
-+ {
-+ state = 9;
-+ }
-
- break;
- }
diff --git a/network/opendmarc/patches/ticket146.patch b/network/opendmarc/patches/ticket146.patch
deleted file mode 100644
index c7f6f5748b..0000000000
--- a/network/opendmarc/patches/ticket146.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-diff --git a/reports/opendmarc-import.8.in b/reports/opendmarc-import.8.in
-index 8f55848..4e854ac 100644
---- a/reports/opendmarc-import.8.in
-+++ b/reports/opendmarc-import.8.in
-@@ -12,8 +12,6 @@ reads per-message data recorded by an instance of
- and inserts it into an SQL database, for later use by
- .B opendmarc-reports(8)
- to generate aggregate reports.
--
--Records are read from standard input.
- .SH OPTIONS
- .TP
- .I --dbhost=hostname
-@@ -44,6 +42,9 @@ the environment variable is not set.
- .I --help
- Prints a help message and terminates.
- .TP
-+.I --input=file
-+Reads from the named file instead of from standard input (the default).
-+.TP
- .I --verbose
- Increase the amount of verbosity written to standard output.
- .TP
-diff --git a/reports/opendmarc-import.in b/reports/opendmarc-import.in
-index 5a28f2f..cccbace 100755
---- a/reports/opendmarc-import.in
-+++ b/reports/opendmarc-import.in
-@@ -35,11 +35,14 @@ my $def_dbuser = "opendmarc";
- my $def_dbpasswd = "opendmarc";
- my $def_dbport = "3306";
- my $def_interval = "86400";
-+my $def_inputfh = *STDIN;
- my $dbhost;
- my $dbname;
- my $dbuser;
- my $dbpasswd;
- my $dbport;
-+my $inputfile;
-+my $inputfh;
-
- my $dbscheme = "@SQL_BACKEND@";
-
-@@ -326,6 +329,7 @@ sub usage
- print STDERR "\t--dbpasswd=passwd database password [$def_dbpasswd]\n";
- print STDERR "\t--dbport=port database port [$def_dbport]\n";
- print STDERR "\t--dbuser=user database user [$def_dbuser]\n";
-+ print STDERR "\t--input=file input file [STDIN]\n";
- print STDERR "\t--help print help and exit\n";
- print STDERR "\t--verbose verbose output\n";
- print STDERR "\t--version print version and exit\n";
-@@ -337,6 +341,7 @@ my $opt_retval = &Getopt::Long::GetOptions ('dbhost=s' => \$dbhost,
- 'dbpasswd=s' => \$dbpasswd,
- 'dbport=s' => \$dbport,
- 'dbuser=s' => \$dbuser,
-+ 'input=s' => \$inputfile,
- 'help!' => \$helponly,
- 'verbose!' => \$verbose,
- 'version!' => \$showversion,
-@@ -428,6 +433,24 @@ if ($verbose)
- print STDERR "$progname: started at " . localtime() . "\n";
- }
-
-+
-+if (!defined($inputfile))
-+{
-+ $inputfh = $def_inputfh;
-+}
-+else
-+{
-+ open($inputfh, "<", $inputfile) or die "$progname: unable to open $inputfile: $!\n";
-+ if ($verbose)
-+ {
-+ print STDERR "$progname: opened file $inputfile\n"
-+ }
-+}
-+if (!flock($inputfh, LOCK_SH))
-+{
-+ print STDERR "$progname: warning: unable to establish read lock\n";
-+}
-+
- my $dbi_dsn = "DBI:" . $dbscheme . ":database=" . $dbname .
- ";host=" . $dbhost . ";port=" . $dbport;
-
-@@ -447,13 +470,10 @@ if ($verbose)
- # Read history file from stdin.
- #
-
-+
- $lineno = 0;
--if (!flock(STDIN, LOCK_SH))
--{
-- print STDERR "$progname: warning: unable to establish read lock\n";
--}
-
--while (<STDIN>)
-+while (<$inputfh>)
- {
- $lineno++;
-
-@@ -592,6 +612,10 @@ if (defined($jobid))
- update_db();
- }
-
-+if (defined($inputfile))
-+{
-+ close($inputfh);
-+}
- #
- # all done!
- #
diff --git a/network/opendmarc/patches/ticket153.patch b/network/opendmarc/patches/ticket153.patch
deleted file mode 100644
index 1193409cb7..0000000000
--- a/network/opendmarc/patches/ticket153.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Description: do not report same dkim result multiple times
- in the same record object
-URL: https://sf.net/p/opendmarc/tickets/153/
-Author: Tomki
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: opendmarc-1.3.2/reports/opendmarc-reports.in
-===================================================================
---- opendmarc-1.3.2.orig/reports/opendmarc-reports.in 2017-03-13 19:01:56.496961757 -0400
-+++ opendmarc-1.3.2/reports/opendmarc-reports.in 2017-03-13 19:01:56.492961756 -0400
-@@ -703,6 +703,7 @@
- exit(1);
- }
-
-+ my %dkim_domain_result_cache = ();
- while ($dbi_a = $dbi_d->fetchrow_arrayref())
- {
- undef $dkimdomain;
-@@ -716,11 +717,15 @@
- $dkimresult = $dbi_a->[1];
- }
-
--
- if (!defined($dkimdomain))
- {
- next;
- }
-+ if (defined($dkim_domain_result_cache{$dkimdomain}{$dkimresult}))
-+ {
-+ next; # no duplicate per-record auth_result dkim sections
-+ }
-+ $dkim_domain_result_cache{$dkimdomain}{$dkimresult}++;
-
- switch ($dkimresult)
- {
diff --git a/network/opendmarc/patches/ticket180.patch b/network/opendmarc/patches/ticket180.patch
deleted file mode 100644
index cd38c39c38..0000000000
--- a/network/opendmarc/patches/ticket180.patch
+++ /dev/null
@@ -1,280 +0,0 @@
-diff --git a/opendmarc/opendmarc-config.h b/opendmarc/opendmarc-config.h
-index 7ba394b..28f605e 100644
---- a/opendmarc/opendmarc-config.h
-+++ b/opendmarc/opendmarc-config.h
-@@ -36,6 +36,7 @@ struct configdef dmarcf_config[] =
- { "IgnoreHosts", CONFIG_TYPE_STRING, FALSE },
- { "IgnoreMailFrom", CONFIG_TYPE_STRING, FALSE },
- { "MilterDebug", CONFIG_TYPE_INTEGER, FALSE },
-+ { "OverrideMLM", CONFIG_TYPE_STRING, FALSE },
- { "PidFile", CONFIG_TYPE_STRING, FALSE },
- { "PublicSuffixList", CONFIG_TYPE_STRING, FALSE },
- { "RecordAllMessages", CONFIG_TYPE_BOOLEAN, FALSE },
-diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
-index ba04312..07e089d 100644
---- a/opendmarc/opendmarc.c
-+++ b/opendmarc/opendmarc.c
-@@ -168,6 +168,7 @@ struct dmarcf_config
- char * conf_ignorelist;
- char ** conf_trustedauthservids;
- char ** conf_ignoredomains;
-+ struct list * conf_overridemlm;
- };
-
- /* LIST -- basic linked list of strings */
-@@ -1221,6 +1222,18 @@ dmarcf_config_load(struct config *data, struct dmarcf_config *conf,
- if (str != NULL)
- dmarcf_mkarray(str, &conf->conf_ignoredomains);
-
-+ str = NULL;
-+ (void) config_get(data, "OverrideMLM", &str, sizeof str);
-+ if (str != NULL)
-+ {
-+ if (!dmarcf_loadlist(str, &conf->conf_overridemlm))
-+ {
-+ fprintf(stderr,
-+ "%s: can't load override MLM list from %s: %s\n",
-+ progname, str, strerror(errno));
-+ }
-+ }
-+
- (void) config_get(data, "AuthservIDWithJobID",
- &conf->conf_authservidwithjobid,
- sizeof conf->conf_authservidwithjobid);
-@@ -2982,30 +2995,45 @@ mlfi_eom(SMFICTX *ctx)
- case DMARC_POLICY_REJECT: /* Explicit reject */
- aresult = "fail";
-
-- if (conf->conf_rejectfail && random() % 100 < pct)
-+ if (conf->conf_overridemlm != NULL &&
-+ (dmarcf_checkhost(cc->cctx_host, conf->conf_overridemlm) ||
-+ (dmarcf_checkip((struct sockaddr *)&cc->cctx_ip, conf->conf_overridemlm))))
- {
-- snprintf(replybuf, sizeof replybuf,
-- "rejected by DMARC policy for %s", pdomain);
--
-- status = dmarcf_setreply(ctx, DMARC_REJECT_SMTP,
-- DMARC_REJECT_ESC, replybuf);
-- if (status != MI_SUCCESS && conf->conf_dolog)
-+ if (conf->conf_dolog)
- {
-- syslog(LOG_ERR, "%s: smfi_setreply() failed",
-- dfc->mctx_jobid);
-+ syslog(LOG_INFO, "%s: overriding policy for mail from %s: MLM",
-+ dfc->mctx_jobid, dfc->mctx_fromdomain);
- }
--
-- ret = SMFIS_REJECT;
-- result = DMARC_RESULT_REJECT;
-+ ret = SMFIS_ACCEPT;
-+ result = DMARC_RESULT_OVRD_MAILING_LIST;
- }
--
-- if (conf->conf_copyfailsto != NULL)
-+ else
- {
-- status = dmarcf_addrcpt(ctx, conf->conf_copyfailsto);
-- if (status != MI_SUCCESS && conf->conf_dolog)
-+ if (conf->conf_rejectfail && random() % 100 < pct)
-+ {
-+ snprintf(replybuf, sizeof replybuf,
-+ "rejected by DMARC policy for %s", pdomain);
-+
-+ status = dmarcf_setreply(ctx, DMARC_REJECT_SMTP,
-+ DMARC_REJECT_ESC, replybuf);
-+ if (status != MI_SUCCESS && conf->conf_dolog)
-+ {
-+ syslog(LOG_ERR, "%s: smfi_setreply() failed",
-+ dfc->mctx_jobid);
-+ }
-+
-+ ret = SMFIS_REJECT;
-+ result = DMARC_RESULT_REJECT;
-+ }
-+
-+ if (conf->conf_copyfailsto != NULL)
- {
-- syslog(LOG_ERR, "%s: smfi_addrcpt() failed",
-- dfc->mctx_jobid);
-+ status = dmarcf_addrcpt(ctx, conf->conf_copyfailsto);
-+ if (status != MI_SUCCESS && conf->conf_dolog)
-+ {
-+ syslog(LOG_ERR, "%s: smfi_addrcpt() failed",
-+ dfc->mctx_jobid);
-+ }
- }
- }
-
-@@ -3014,30 +3042,45 @@ mlfi_eom(SMFICTX *ctx)
- case DMARC_POLICY_QUARANTINE: /* Explicit quarantine */
- aresult = "fail";
-
-- if (conf->conf_rejectfail && random() % 100 < pct)
-+ if (conf->conf_overridemlm != NULL &&
-+ (dmarcf_checkhost(cc->cctx_host, conf->conf_overridemlm) ||
-+ (dmarcf_checkip((struct sockaddr *)&cc->cctx_ip, conf->conf_overridemlm))))
- {
-- snprintf(replybuf, sizeof replybuf,
-- "quarantined by DMARC policy for %s",
-- pdomain);
--
-- status = smfi_quarantine(ctx, replybuf);
-- if (status != MI_SUCCESS && conf->conf_dolog)
-+ if (conf->conf_dolog)
- {
-- syslog(LOG_ERR, "%s: smfi_quarantine() failed",
-- dfc->mctx_jobid);
-+ syslog(LOG_INFO, "%s: overriding policy for mail from %s: MLM",
-+ dfc->mctx_jobid, dfc->mctx_fromdomain);
- }
--
- ret = SMFIS_ACCEPT;
-- result = DMARC_RESULT_QUARANTINE;
-+ result = DMARC_RESULT_OVRD_MAILING_LIST;
- }
--
-- if (conf->conf_copyfailsto != NULL)
-+ else
- {
-- status = dmarcf_addrcpt(ctx, conf->conf_copyfailsto);
-- if (status != MI_SUCCESS && conf->conf_dolog)
-+ if (conf->conf_rejectfail && random() % 100 < pct)
-+ {
-+ snprintf(replybuf, sizeof replybuf,
-+ "quarantined by DMARC policy for %s",
-+ pdomain);
-+
-+ status = smfi_quarantine(ctx, replybuf);
-+ if (status != MI_SUCCESS && conf->conf_dolog)
-+ {
-+ syslog(LOG_ERR, "%s: smfi_quarantine() failed",
-+ dfc->mctx_jobid);
-+ }
-+
-+ ret = SMFIS_ACCEPT;
-+ result = DMARC_RESULT_QUARANTINE;
-+ }
-+
-+ if (conf->conf_copyfailsto != NULL)
- {
-- syslog(LOG_ERR, "%s: smfi_addrcpt() failed",
-- dfc->mctx_jobid);
-+ status = dmarcf_addrcpt(ctx, conf->conf_copyfailsto);
-+ if (status != MI_SUCCESS && conf->conf_dolog)
-+ {
-+ syslog(LOG_ERR, "%s: smfi_addrcpt() failed",
-+ dfc->mctx_jobid);
-+ }
- }
- }
-
-diff --git a/opendmarc/opendmarc.conf.5.in b/opendmarc/opendmarc.conf.5.in
-index bdf2550..9ee16ae 100644
---- a/opendmarc/opendmarc.conf.5.in
-+++ b/opendmarc/opendmarc.conf.5.in
-@@ -190,6 +190,14 @@ Sets the debug level to be requested from the milter library. The
- default is 0.
-
- .TP
-+.I OverrideMLM (string)
-+Specifies the path to a file that contains a list of hostnames, IP
-+addresses, and/or CIDR expressions identifying hosts that run
-+mailing lists. Mails from these systems will be accepted even if
-+all DMARC tests fail. Such cases will be reported as "override/
-+reason: MLM"
-+
-+.TP
- .I PidFile (string)
- Specifies the path to a file that should be created at process start
- containing the process ID.
-diff --git a/opendmarc/opendmarc.conf.sample b/opendmarc/opendmarc.conf.sample
-index 97b210f..fbfa49d 100644
---- a/opendmarc/opendmarc.conf.sample
-+++ b/opendmarc/opendmarc.conf.sample
-@@ -212,6 +212,17 @@
- #
- # MilterDebug 0
-
-+## OverrideMLM (path)
-+## default (none)
-+##
-+## Specifies the path to a file that contains a list of hostnames, IP
-+## addresses, and/or CIDR expressions identifying hosts that run
-+## mailing lists. Mails from these systems will be accepted even if
-+## all DMARC tests fail. Such cases will be reported as "override/
-+## reason: MLM"
-+#
-+# OverrideMLM /usr/local/etc/opendmarc/overrideMLM.conf
-+
- ## PidFile path
- ## default (none)
- ##
-diff --git a/opendmarc/opendmarc.h b/opendmarc/opendmarc.h
-index c1d6593..f9b1e0b 100644
---- a/opendmarc/opendmarc.h
-+++ b/opendmarc/opendmarc.h
-@@ -52,6 +52,12 @@
- #define DMARC_RESULT_ACCEPT 2
- #define DMARC_RESULT_TEMPFAIL 3
- #define DMARC_RESULT_QUARANTINE 4
-+#define DMARC_RESULT_OVRD_FORWARDED 5
-+#define DMARC_RESULT_OVRD_SAMPLED_OUT 6
-+#define DMARC_RESULT_OVRD_TRUSTED_FORWARDER 7
-+#define DMARC_RESULT_OVRD_MAILING_LIST 8
-+#define DMARC_RESULT_OVRD_LOCAL_POLICY 9
-+#define DMARC_RESULT_OVRD_OTHER 10
-
- /* prototypes, etc., exported for test.c */
- extern char *progname;
-diff --git a/reports/opendmarc-reports.in b/reports/opendmarc-reports.in
-index 2da1c31..a489c95 100755
---- a/reports/opendmarc-reports.in
-+++ b/reports/opendmarc-reports.in
-@@ -91,6 +91,8 @@ my $ipaddr;
- my $fromdomain;
- my $envdomain;
- my $dkimdomain;
-+my $reason;
-+my $comment;
-
- my $repdest;
-
-@@ -609,6 +611,8 @@ foreach (@$domainset)
- while ($dbi_a = $dbi_s->fetchrow_arrayref())
- {
- undef $msgid;
-+ undef $reason;
-+ undef $comment;
-
- if (defined($dbi_a->[0]))
- {
-@@ -656,6 +660,12 @@ foreach (@$domainset)
- case 1 { $dispstr = "reject"; }
- case 2 { $dispstr = "none"; }
- case 4 { $dispstr = "quarantine"; }
-+ case 5 { $dispstr = "none"; $reason = "forwarded"; }
-+ case 6 { $dispstr = "none"; $reason = "sampled_out"; }
-+ case 7 { $dispstr = "none"; $reason = "trusted_forwarder"; }
-+ case 8 { $dispstr = "none"; $reason = "mailing_list"; }
-+ case 9 { $dispstr = "none"; $reason = "local_policy"; $comment = ""; }
-+ case 10 { $dispstr = "none"; $reason = "other"; $comment = ""; }
- else { $dispstr = "unknown"; }
- }
-
-@@ -697,6 +707,16 @@ foreach (@$domainset)
- print $tmpout " <disposition>$dispstr</disposition>\n";
- print $tmpout " <dkim>$align_dkimstr</dkim>\n";
- print $tmpout " <spf>$align_spfstr</spf>\n";
-+ if (defined($reason))
-+ {
-+ print $tmpout " <reason>\n";
-+ print $tmpout " <type>$reason</type>\n";
-+ if (defined($comment))
-+ {
-+ print $tmpout " <comment>$comment</$comment>\n";
-+ }
-+ print $tmpout " </reason>\n";
-+ }
- print $tmpout " </policy_evaluated>\n";
- print $tmpout " </row>\n";
- print $tmpout " <identifiers>\n";
diff --git a/network/opendmarc/patches/ticket193-fixed.patch b/network/opendmarc/patches/ticket193-fixed.patch
new file mode 100644
index 0000000000..7ccb1424c5
--- /dev/null
+++ b/network/opendmarc/patches/ticket193-fixed.patch
@@ -0,0 +1,177 @@
+Index: opendmarc/db/Makefile.am
+===================================================================
+--- opendmarc.orig/db/Makefile.am 2018-12-17 01:41:11.326335516 -0500
++++ opendmarc/db/Makefile.am 2018-12-17 01:41:11.318335516 -0500
+@@ -1,3 +1,3 @@
+ # Copyright (c) 2012, The Trusted Domain Project. All rights reserved.
+
+-dist_doc_DATA = README.schema schema.mysql
++dist_doc_DATA = README.schema schema.mysql README.update-db-schema.mysql update-db-schema.mysql
+Index: opendmarc/db/README.update-db-schema.mysql
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ opendmarc/db/README.update-db-schema.mysql 2018-12-17 01:41:11.318335516 -0500
+@@ -0,0 +1,8 @@
++
++To update your database to the current state use this script like this:
++
++ mysql -u <user> -p <passwd> --force < update-db-schema.mysql
++
++You might receive up to four errors about duplicate keys - this is expected if your database
++already has these keys (because you used the MySQL schema in the db sub-direcory instead of
++the obsolete schema in the reports sub-dirctory).
+Index: opendmarc/db/schema.mysql
+===================================================================
+--- opendmarc.orig/db/schema.mysql 2018-12-17 01:41:11.326335516 -0500
++++ opendmarc/db/schema.mysql 2018-12-17 01:41:11.318335516 -0500
+@@ -5,6 +5,7 @@
+
+ CREATE DATABASE IF NOT EXISTS opendmarc;
+ USE opendmarc;
++SET TIME_ZONE='+00:00';
+
+ -- A table for mapping domain names and their DMARC policies to IDs
+ CREATE TABLE IF NOT EXISTS domains (
+Index: opendmarc/db/update-db-schema.mysql
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ opendmarc/db/update-db-schema.mysql 2018-12-17 01:41:11.318335516 -0500
+@@ -0,0 +1,12 @@
++use opendmarc;
++SET TIME_ZONE="+00:00";
++ALTER TABLE ipaddr MODIFY COLUMN addr VARCHAR(64) NOT NULL;
++DELETE FROM ipaddr WHERE addr = NULL;
++ALTER TABLE messages MODIFY COLUMN spf TINYINT NOT NULL;
++ALTER TABLE requests ALTER COLUMN locked SET DEFAULT '0';
++ALTER TABLE requests ALTER COLUMN lastsent SET DEFAULT '1970-01-01 00:00:01';
++ALTER TABLE requests ADD UNIQUE KEY domain (domain);
++ALTER TABLE requests ADD KEY lastsent (lastsent);
++ALTER TABLE messages ADD KEY date (date);
++ALTER TABLE signatures ADD KEY message (message);
++
+Index: opendmarc/reports/opendmarc-expire.in
+===================================================================
+--- opendmarc.orig/reports/opendmarc-expire.in 2018-12-17 01:41:11.326335516 -0500
++++ opendmarc/reports/opendmarc-expire.in 2018-12-17 01:41:11.318335516 -0500
+@@ -210,6 +210,17 @@
+ print STDERR "$progname: connected to database\n";
+ }
+
++# switch to UTC to have a defined date behaviour
++$dbi_s = $dbi_h->prepare("SET TIME_ZONE='+00:00'");
++
++if (!$dbi_s->execute())
++{
++ print STDERR "$progname: failed to change to UTC: " . $dbi_h->errstr . "\n";
++ $dbi_s->finish;
++ $dbi_h->disconnect;
++ exit(1);
++}
++
+ #
+ # Expire messages
+ #
+@@ -340,7 +351,7 @@
+ print STDERR "$progname: expiring request data older than $maxage days\n";
+ }
+
+-$dbi_s = $dbi_h->prepare("DELETE FROM requests WHERE lastsent <= DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL ? DAY) AND NOT lastsent = '0000-00-00 00:00:00'");
++$dbi_s = $dbi_h->prepare("DELETE FROM requests WHERE lastsent <= DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL ? DAY) AND NOT lastsent <= '1970-01-01 00:00:01'");
+ $rows = $dbi_s->execute($maxage);
+ if (!$rows)
+ {
+Index: opendmarc/reports/opendmarc-import.in
+===================================================================
+--- opendmarc.orig/reports/opendmarc-import.in 2018-12-17 01:41:11.326335516 -0500
++++ opendmarc/reports/opendmarc-import.in 2018-12-17 01:41:11.322335516 -0500
+@@ -207,14 +207,12 @@
+ $envfrom_id = get_table_id($envdomain, "domains");
+ $pdomain_id = get_table_id($pdomain, "domains");
+ $ipaddr_id = get_table_id($ipaddr, "ipaddr", "addr");
+- $request_id = get_table_id($from_id, "requests", "domain");
+
+ if (!defined($rep_id) ||
+ !defined($from_id) ||
+ !defined($envfrom_id) ||
+ !defined($pdomain_id) ||
+- !defined($ipaddr_id) ||
+- !defined($request_id))
++ !defined($ipaddr_id))
+ {
+ return;
+ }
+
+@@ -278,41 +276,51 @@
+ }
+ $dbi_s->finish;
+
+- if (get_value("requests", "locked", $request_id) != 1)
++ $dbi_t = $dbi_h->prepare("SELECT id FROM requests WHERE domain = ?");
++ if (!$dbi_t->execute($from_id))
+ {
+- if (scalar @rua > 0)
++ print STDERR "$progname: failed to retrieve table ID: " . $dbi_h->errstr . "\n";
++ return undef;
++ }
++
++ undef $request_id;
++ while ($dbi_a = $dbi_t->fetchrow_arrayref())
++ {
++ if (defined($dbi_a->[0]))
+ {
+- $repuri = join(",", @rua);
+- $dbi_s = $dbi_h->prepare("UPDATE requests SET repuri = ? WHERE id = ?");
++ $request_id = $dbi_a->[0];
++ }
++ }
+
+- if (!$dbi_s->execute($repuri, $request_id))
+- {
+- print STDERR "$progname: failed to update reporting URI for $fdomain: " . $dbi_h->errstr . "\n";
+- $dbi_s->finish;
+- return;
+- }
++ $dbi_t->finish;
+
+- $dbi_s->finish;
+- }
+- else
++ $repuri = join(",", @rua);
++
++ if (defined($request_id))
++ {
++ if (get_value("requests", "locked", $request_id) != 1)
+ {
+- $dbi_s = $dbi_h->prepare("UPDATE requests SET repuri = NULL WHERE id = ?");
++ $dbi_s = $dbi_h->prepare("UPDATE requests SET domain = ?, repuri = ?, adkim = ?, aspf = ?, policy = ?, spolicy = ?, pct = ? WHERE id = ?");
+
+- if (!$dbi_s->execute($request_id))
++ if (!$dbi_s->execute($from_id, $repuri, $adkim, $aspf, $p, $sp, $pct, $request_id))
+ {
+- print STDERR "$progname: failed to update reporting URI for $fdomain: " . $dbi_h->errstr . "\n";
++ print STDERR "$progname: failed to update policy data for $fdomain: " . $dbi_h->errstr . "\n";
+ $dbi_s->finish;
+ return;
+ }
+-
+- $dbi_s->finish;
+ }
++ else
++ {
++ print STDERR "$progname: policy data for $fdomain not updated, because they are locked\n";
++ }
++ }
++ else
++ {
++ $dbi_s = $dbi_h->prepare("insert requests SET domain = ?, repuri = ?, adkim = ?, aspf = ?, policy = ?, spolicy = ?, pct = ?");
+
+- $dbi_s = $dbi_h->prepare("UPDATE requests SET adkim = ?, aspf = ?, policy = ?, spolicy = ?, pct = ? WHERE id = ?");
+-
+- if (!$dbi_s->execute($adkim, $aspf, $p, $sp, $pct, $request_id))
++ if (!$dbi_s->execute($from_id, $repuri, $adkim, $aspf, $p, $sp, $pct))
+ {
+- print STDERR "$progname: failed to update policy data for $fdomain: " . $dbi_h->errstr . "\n";
++ print STDERR "$progname: failed to insert policy data for $fdomain: " . $dbi_h->errstr . "\n";
+ $dbi_s->finish;
+ return;
+ }
diff --git a/network/opendmarc/patches/ticket193.patch b/network/opendmarc/patches/ticket193.patch
deleted file mode 100644
index 1ee1911174..0000000000
--- a/network/opendmarc/patches/ticket193.patch
+++ /dev/null
@@ -1,193 +0,0 @@
-Index: opendmarc/db/Makefile.am
-===================================================================
---- opendmarc.orig/db/Makefile.am 2018-12-17 01:41:11.326335516 -0500
-+++ opendmarc/db/Makefile.am 2018-12-17 01:41:11.318335516 -0500
-@@ -1,3 +1,3 @@
- # Copyright (c) 2012, The Trusted Domain Project. All rights reserved.
-
--dist_doc_DATA = README.schema schema.mysql
-+dist_doc_DATA = README.schema schema.mysql README.update-db-schema.mysql update-db-schema.mysql
-Index: opendmarc/db/README.update-db-schema.mysql
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ opendmarc/db/README.update-db-schema.mysql 2018-12-17 01:41:11.318335516 -0500
-@@ -0,0 +1,8 @@
-+
-+To update your database to the current state use this script like this:
-+
-+ mysql -u <user> -p <passwd> --force < update-db-schema.mysql
-+
-+You might receive up to four errors about duplicate keys - this is expected if your database
-+already has these keys (because you used the MySQL schema in the db sub-direcory instead of
-+the obsolete schema in the reports sub-dirctory).
-Index: opendmarc/db/schema.mysql
-===================================================================
---- opendmarc.orig/db/schema.mysql 2018-12-17 01:41:11.326335516 -0500
-+++ opendmarc/db/schema.mysql 2018-12-17 01:41:11.318335516 -0500
-@@ -5,6 +5,7 @@
-
- CREATE DATABASE IF NOT EXISTS opendmarc;
- USE opendmarc;
-+SET TIME_ZONE='+00:00';
-
- -- A table for mapping domain names and their DMARC policies to IDs
- CREATE TABLE IF NOT EXISTS domains (
-@@ -28,7 +29,7 @@
- pct TINYINT NOT NULL,
- locked TINYINT NOT NULL DEFAULT '0',
- firstseen TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
-- lastsent TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
-+ lastsent TIMESTAMP NOT NULL DEFAULT '1970-01-01 00:00:01',
-
- PRIMARY KEY(id),
- KEY(lastsent),
-Index: opendmarc/db/update-db-schema.mysql
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ opendmarc/db/update-db-schema.mysql 2018-12-17 01:41:11.318335516 -0500
-@@ -0,0 +1,12 @@
-+use opendmarc;
-+SET TIME_ZONE="+00:00";
-+ALTER TABLE ipaddr MODIFY COLUMN addr VARCHAR(64) NOT NULL;
-+DELETE FROM ipaddr WHERE addr = NULL;
-+ALTER TABLE messages MODIFY COLUMN spf TINYINT NOT NULL;
-+ALTER TABLE requests ALTER COLUMN locked SET DEFAULT '0';
-+ALTER TABLE requests ALTER COLUMN lastsent SET DEFAULT '1970-01-01 00:00:01';
-+ALTER TABLE requests ADD UNIQUE KEY domain (domain);
-+ALTER TABLE requests ADD KEY lastsent (lastsent);
-+ALTER TABLE messages ADD KEY date (date);
-+ALTER TABLE signatures ADD KEY message (message);
-+
-Index: opendmarc/reports/opendmarc-expire.in
-===================================================================
---- opendmarc.orig/reports/opendmarc-expire.in 2018-12-17 01:41:11.326335516 -0500
-+++ opendmarc/reports/opendmarc-expire.in 2018-12-17 01:41:11.318335516 -0500
-@@ -210,6 +210,17 @@
- print STDERR "$progname: connected to database\n";
- }
-
-+# switch to UTC to have a defined date behaviour
-+$dbi_s = $dbi_h->prepare("SET TIME_ZONE='+00:00'");
-+
-+if (!$dbi_s->execute())
-+{
-+ print STDERR "$progname: failed to change to UTC: " . $dbi_h->errstr . "\n";
-+ $dbi_s->finish;
-+ $dbi_h->disconnect;
-+ exit(1);
-+}
-+
- #
- # Expire messages
- #
-@@ -340,7 +351,7 @@
- print STDERR "$progname: expiring request data older than $maxage days\n";
- }
-
--$dbi_s = $dbi_h->prepare("DELETE FROM requests WHERE lastsent <= DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL ? DAY) AND NOT lastsent = '0000-00-00 00:00:00'");
-+$dbi_s = $dbi_h->prepare("DELETE FROM requests WHERE lastsent <= DATE_SUB(CURRENT_TIMESTAMP(), INTERVAL ? DAY) AND NOT lastsent <= '1970-01-01 00:00:01'");
- $rows = $dbi_s->execute($maxage);
- if (!$rows)
- {
-Index: opendmarc/reports/opendmarc-import.in
-===================================================================
---- opendmarc.orig/reports/opendmarc-import.in 2018-12-17 01:41:11.326335516 -0500
-+++ opendmarc/reports/opendmarc-import.in 2018-12-17 01:41:11.322335516 -0500
-@@ -207,20 +207,18 @@
- $envfrom_id = get_table_id($envdomain, "domains");
- $pdomain_id = get_table_id($pdomain, "domains");
- $ipaddr_id = get_table_id($ipaddr, "ipaddr", "addr");
-- $request_id = get_table_id($from_id, "requests", "domain");
-
- if (!defined($rep_id) ||
- !defined($from_id) ||
- !defined($envfrom_id) ||
- !defined($pdomain_id) ||
-- !defined($ipaddr_id) ||
-- !defined($request_id))
-+ !defined($ipaddr_id))
- {
- return;
- }
-
-- $dbi_s = $dbi_h->prepare("INSERT INTO messages (date, jobid, reporter, policy, disp, ip, env_domain, from_domain, spf, align_spf, align_dkim, sigcount) VALUES(FROM_UNIXTIME(?), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
-- if (!$dbi_s->execute($received, $jobid, $rep_id, $policy, $action, $ipaddr_id, $envfrom_id, $from_id, $spf, $align_spf, $align_dkim, $sigcount))
-+ $dbi_s = $dbi_h->prepare("INSERT INTO messages (date, jobid, reporter, policy, disp, ip, env_domain, from_domain, policy_domain, spf, align_spf, align_dkim, sigcount) VALUES(FROM_UNIXTIME(?), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
-+ if (!$dbi_s->execute($received, $jobid, $rep_id, $policy, $action, $ipaddr_id, $envfrom_id, $from_id, $pdomain_id, $spf, $align_spf, $align_dkim, $sigcount))
- {
- print STDERR "$progname: failed to insert message: " . $dbi_h->errstr . "\n";
- return;
-@@ -278,41 +276,51 @@
- }
- $dbi_s->finish;
-
-- if (get_value("requests", "locked", $request_id) != 1)
-+ $dbi_t = $dbi_h->prepare("SELECT id FROM requests WHERE domain = ?");
-+ if (!$dbi_t->execute($from_id))
- {
-- if (scalar @rua > 0)
-+ print STDERR "$progname: failed to retrieve table ID: " . $dbi_h->errstr . "\n";
-+ return undef;
-+ }
-+
-+ undef $request_id;
-+ while ($dbi_a = $dbi_t->fetchrow_arrayref())
-+ {
-+ if (defined($dbi_a->[0]))
- {
-- $repuri = join(",", @rua);
-- $dbi_s = $dbi_h->prepare("UPDATE requests SET repuri = ? WHERE id = ?");
-+ $request_id = $dbi_a->[0];
-+ }
-+ }
-
-- if (!$dbi_s->execute($repuri, $request_id))
-- {
-- print STDERR "$progname: failed to update reporting URI for $fdomain: " . $dbi_h->errstr . "\n";
-- $dbi_s->finish;
-- return;
-- }
-+ $dbi_t->finish;
-
-- $dbi_s->finish;
-- }
-- else
-+ $repuri = join(",", @rua);
-+
-+ if (defined($request_id))
-+ {
-+ if (get_value("requests", "locked", $request_id) != 1)
- {
-- $dbi_s = $dbi_h->prepare("UPDATE requests SET repuri = NULL WHERE id = ?");
-+ $dbi_s = $dbi_h->prepare("UPDATE requests SET domain = ?, repuri = ?, adkim = ?, aspf = ?, policy = ?, spolicy = ?, pct = ? WHERE id = ?");
-
-- if (!$dbi_s->execute($request_id))
-+ if (!$dbi_s->execute($from_id, $repuri, $adkim, $aspf, $p, $sp, $pct, $request_id))
- {
-- print STDERR "$progname: failed to update reporting URI for $fdomain: " . $dbi_h->errstr . "\n";
-+ print STDERR "$progname: failed to update policy data for $fdomain: " . $dbi_h->errstr . "\n";
- $dbi_s->finish;
- return;
- }
--
-- $dbi_s->finish;
- }
-+ else
-+ {
-+ print STDERR "$progname: policy data for $fdomain not updated, because they are locked\n";
-+ }
-+ }
-+ else
-+ {
-+ $dbi_s = $dbi_h->prepare("insert requests SET domain = ?, repuri = ?, adkim = ?, aspf = ?, policy = ?, spolicy = ?, pct = ?");
-
-- $dbi_s = $dbi_h->prepare("UPDATE requests SET adkim = ?, aspf = ?, policy = ?, spolicy = ?, pct = ? WHERE id = ?");
--
-- if (!$dbi_s->execute($adkim, $aspf, $p, $sp, $pct, $request_id))
-+ if (!$dbi_s->execute($from_id, $repuri, $adkim, $aspf, $p, $sp, $pct))
- {
-- print STDERR "$progname: failed to update policy data for $fdomain: " . $dbi_h->errstr . "\n";
-+ print STDERR "$progname: failed to insert policy data for $fdomain: " . $dbi_h->errstr . "\n";
- $dbi_s->finish;
- return;
- }
diff --git a/network/opendmarc/patches/ticket203.patch b/network/opendmarc/patches/ticket203.patch
deleted file mode 100644
index 8aa5113176..0000000000
--- a/network/opendmarc/patches/ticket203.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/libopendmarc/opendmarc_policy.c b/libopendmarc/opendmarc_policy.c
-index 862c449..8048ec3 100644
---- a/libopendmarc/opendmarc_policy.c
-+++ b/libopendmarc/opendmarc_policy.c
-@@ -1087,6 +1087,10 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
- /*
- * A possibly comma delimited list of URI of where to send reports.
- */
-+
-+ if (pctx->rua_list != NULL)
-+ return DMARC_PARSE_ERROR_BAD_VALUE;
-+
- for (xp = vp; *xp != '\0'; )
- {
- u_char xbuf[256];
-@@ -1115,6 +1119,10 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
- * A possibly comma delimited list of URI of where to send
- * MARF reports.
- */
-+
-+ if (pctx->ruf_list != NULL)
-+ return DMARC_PARSE_ERROR_BAD_VALUE;
-+
- for (xp = vp; *xp != '\0'; )
- {
- u_char xbuf[256];
diff --git a/network/opendmarc/patches/ticket207-fixed.patch b/network/opendmarc/patches/ticket207-fixed.patch
new file mode 100644
index 0000000000..149a676c76
--- /dev/null
+++ b/network/opendmarc/patches/ticket207-fixed.patch
@@ -0,0 +1,49 @@
+Index: opendmarc/reports/opendmarc-reports.in
+===================================================================
+--- opendmarc.orig/reports/opendmarc-reports.in 2018-12-17 01:41:49.094337107 -0500
++++ opendmarc/reports/opendmarc-reports.in 2018-12-17 01:41:49.090337107 -0500
+@@ -65,6 +65,7 @@
+ my $forcedomain;
+ my @skipdomains;
+
++my $poldomain;
+ my $policy;
+ my $spolicy;
+ my $policystr;
+@@ -441,7 +442,7 @@
+ next;
+ }
+
+- $dbi_s = $dbi_h->prepare("SELECT repuri, adkim, aspf, policy, spolicy, pct, UNIX_TIMESTAMP(lastsent) FROM requests WHERE domain = ?");
++ $dbi_s = $dbi_h->prepare("SELECT repuri, adkim, aspf, requests.policy, spolicy, pct, UNIX_TIMESTAMP(lastsent), domains.name FROM requests JOIN messages ON messages.from_domain=requests.domain LEFT JOIN domains ON messages.policy_domain = domains.id WHERE domain = ? GROUP BY policy_domain");
+ if (!$dbi_s->execute($domainid))
+ {
+ print STDERR "$progname: can't get reporting URI for domain $domain: " . $dbi_h->errstr . "\n";
+@@ -451,6 +452,7 @@
+ }
+
+ undef $repuri;
++ $poldomain=$domain;
+
+ while ($dbi_a = $dbi_s->fetchrow_arrayref())
+ {
+@@ -482,6 +484,10 @@
+ {
+ $lastsent = $dbi_a->[6];
+ }
++ if (defined($dbi_a->[7]))
++ {
++ $poldomain = $dbi_a->[7];
++ }
+ }
+
+ $dbi_s->finish;
+@@ -564,7 +570,7 @@
+ print $tmpout " </report_metadata>\n";
+
+ print $tmpout " <policy_published>\n";
+- print $tmpout " <domain>$domain</domain>\n";
++ print $tmpout " <domain>$poldomain</domain>\n";
+ print $tmpout " <adkim>$adkimstr</adkim>\n";
+ print $tmpout " <aspf>$aspfstr</aspf>\n";
+ print $tmpout " <p>$policystr</p>\n";
diff --git a/network/opendmarc/patches/ticket207.patch b/network/opendmarc/patches/ticket207.patch
deleted file mode 100644
index e86b8c7704..0000000000
--- a/network/opendmarc/patches/ticket207.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Index: opendmarc/reports/opendmarc-reports.in
-===================================================================
---- opendmarc.orig/reports/opendmarc-reports.in 2018-12-17 01:41:49.094337107 -0500
-+++ opendmarc/reports/opendmarc-reports.in 2018-12-17 01:41:49.090337107 -0500
-@@ -65,6 +65,7 @@
- my $forcedomain;
- my @skipdomains;
-
-+my $poldomain;
- my $policy;
- my $spolicy;
- my $policystr;
-@@ -441,7 +442,7 @@
- next;
- }
-
-- $dbi_s = $dbi_h->prepare("SELECT repuri, adkim, aspf, policy, spolicy, pct, UNIX_TIMESTAMP(lastsent) FROM requests WHERE domain = ?");
-+ $dbi_s = $dbi_h->prepare("SELECT repuri, adkim, aspf, requests.policy, spolicy, pct, UNIX_TIMESTAMP(lastsent), domains.name FROM requests JOIN messages ON messages.from_domain=requests.domain LEFT JOIN domains ON messages.policy_domain = domains.id WHERE domain = ? GROUP BY policy_domain");
- if (!$dbi_s->execute($domainid))
- {
- print STDERR "$progname: can't get reporting URI for domain $domain: " . $dbi_h->errstr . "\n";
-@@ -451,6 +452,7 @@
- }
-
- undef $repuri;
-+ $poldomain=$domain;
-
- while ($dbi_a = $dbi_s->fetchrow_arrayref())
- {
-@@ -482,6 +484,10 @@
- {
- $lastsent = $dbi_a->[6];
- }
-+ if (defined($dbi_a->[7]))
-+ {
-+ $poldomain = $dbi_a->[7];
-+ }
- }
-
- $dbi_s->finish;
-@@ -564,7 +570,7 @@
- print $tmpout " </report_metadata>\n";
-
- print $tmpout " <policy_published>\n";
-- print $tmpout " <domain>$domain</domain>\n";
-+ print $tmpout " <domain>$poldomain</domain>\n";
- print $tmpout " <adkim>$adkimstr</adkim>\n";
- print $tmpout " <aspf>$aspfstr</aspf>\n";
- print $tmpout " <p>$policystr</p>\n";
diff --git a/network/opendmarc/patches/ticket208-fixed.patch b/network/opendmarc/patches/ticket208-fixed.patch
new file mode 100644
index 0000000000..e44589e471
--- /dev/null
+++ b/network/opendmarc/patches/ticket208-fixed.patch
@@ -0,0 +1,115 @@
+diff -ur opendmarc-1.3.2/opendmarc/opendmarc.c opendmarc-1.3.2_fix/opendmarc/opendmarc.c
+--- opendmarc-1.3.2/opendmarc/opendmarc.c 2017-03-04 14:28:39.000000000 +0100
++++ opendmarc-1.3.2_fix/opendmarc/opendmarc.c 2017-03-27 18:11:14.977304726 +0200
+@@ -168,6 +168,7 @@
+ char * conf_ignorelist;
+ char ** conf_trustedauthservids;
+ char ** conf_ignoredomains;
++ char ** conf_ignorereceivers;
+ struct list * conf_domainwhitelist;
+ unsigned int conf_domainwhitelisthashcount;
+ };
+@@ -1226,6 +1227,11 @@
+ if (str != NULL)
+ dmarcf_mkarray(str, ",", &conf->conf_ignoredomains);
+
++ str = NULL;
++ (void) config_get(data, "IgnoreMailTo", &str, sizeof str);
++ if (str != NULL)
++ dmarcf_mkarray(str, ",", &conf->conf_ignorereceivers);
++
+ (void) config_get(data, "AuthservIDWithJobID",
+ &conf->conf_authservidwithjobid,
+ sizeof conf->conf_authservidwithjobid);
+@@ -2015,6 +2021,7 @@
+ mlfi_eom(SMFICTX *ctx)
+ {
+ _Bool wspf = FALSE;
++ int skiphistory;
+ int c;
+ int pc;
+ int policy;
+@@ -3147,7 +3154,34 @@
+ ** Record activity in the history file.
+ */
+
+- if (conf->conf_historyfile != NULL &&
++ skiphistory = 0;
++ if (conf->conf_ignorereceivers != NULL)
++ {
++ struct dmarcf_header *to = dmarcf_findheader(dfc, "To", 0);
++ if (to != NULL)
++ {
++ char *val = to->hdr_value;
++ while (*val && !skiphistory)
++ {
++ memset(addrbuf, '\0', sizeof addrbuf);
++ strncpy(addrbuf, val, sizeof addrbuf - 1);
++ status = dmarcf_mail_parse(addrbuf, &user, &domain);
++ if (status == 0 && user != NULL && domain != NULL)
++ {
++ snprintf(replybuf, sizeof replybuf - 1, "%s@%s", user, domain);
++ if(dmarcf_match(replybuf, conf->conf_ignorereceivers, TRUE))
++ {
++ skiphistory = 1;
++ }
++ }
++ while(*val && *val != ',' && *val != ';')
++ ++val;
++ if(*val)
++ ++val;
++ }
++ }
++ }
++ if (!skiphistory && conf->conf_historyfile != NULL &&
+ (conf->conf_recordall || ostatus != DMARC_DNS_ERROR_NO_RECORD))
+ {
+ FILE *f;
+diff -ur opendmarc-1.3.2/opendmarc/opendmarc.conf.5.in opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.5.in
+--- opendmarc-1.3.2/opendmarc/opendmarc.conf.5.in 2016-12-18 08:50:34.000000000 +0100
++++ opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.5.in 2017-03-27 17:00:14.424955664 +0200
+@@ -185,6 +185,13 @@
+ no mail is ignored.
+
+ .TP
++.I IgnoreMailTo (string)
++Gives a list of mail addresses which aren't entered into the history file.
++This is useful to prevent exchanging single message reports. The
++list should be comma-separated. Matching against this list is
++case-insensitive. The default is an empty list, meaning no mail is ignored.
++
++.TP
+ .I MilterDebug (integer)
+ Sets the debug level to be requested from the milter library. The
+ default is 0.
+diff -ur opendmarc-1.3.2/opendmarc/opendmarc-config.h opendmarc-1.3.2_fix/opendmarc/opendmarc-config.h
+--- opendmarc-1.3.2/opendmarc/opendmarc-config.h 2016-12-18 08:50:34.000000000 +0100
++++ opendmarc-1.3.2_fix/opendmarc/opendmarc-config.h 2017-03-27 17:39:01.727649907 +0200
+@@ -35,6 +35,7 @@
+ { "IgnoreAuthenticatedClients", CONFIG_TYPE_BOOLEAN, FALSE },
+ { "IgnoreHosts", CONFIG_TYPE_STRING, FALSE },
+ { "IgnoreMailFrom", CONFIG_TYPE_STRING, FALSE },
++ { "IgnoreMailTo", CONFIG_TYPE_STRING, FALSE },
+ { "MilterDebug", CONFIG_TYPE_INTEGER, FALSE },
+ { "PidFile", CONFIG_TYPE_STRING, FALSE },
+ { "PublicSuffixList", CONFIG_TYPE_STRING, FALSE },
+diff -ur opendmarc-1.3.2/opendmarc/opendmarc.conf.sample opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.sample
+--- opendmarc-1.3.2/opendmarc/opendmarc.conf.sample 2017-03-04 14:28:39.000000000 +0100
++++ opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.sample 2017-03-27 17:39:32.594647158 +0200
+@@ -205,6 +205,16 @@
+ #
+ # IgnoreMailFrom example.com
+
++## IgnoreMailTo email[,...]
++## default (none)
++##
++## Gives a list of mail addresses which aren't entered into the history file.
++## This is useful to prevent exchanging mutual message reports. The
++## list should be comma-separated. Matching against this list is
++## case-insensitive. The default is an empty list, meaning no mail is ignored.
++#
++# IgnoreMailTo dmarc-ruf@example.com
++
+ ## MilterDebug (integer)
+ ## default 0
+ ##
diff --git a/network/opendmarc/patches/ticket208.patch b/network/opendmarc/patches/ticket208.patch
deleted file mode 100644
index fc8c6455d8..0000000000
--- a/network/opendmarc/patches/ticket208.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-diff -ur opendmarc-1.3.2/opendmarc/opendmarc.c opendmarc-1.3.2_fix/opendmarc/opendmarc.c
---- opendmarc-1.3.2/opendmarc/opendmarc.c 2017-03-04 14:28:39.000000000 +0100
-+++ opendmarc-1.3.2_fix/opendmarc/opendmarc.c 2017-03-27 18:11:14.977304726 +0200
-@@ -168,7 +168,8 @@
- char * conf_ignorelist;
- char ** conf_trustedauthservids;
- char ** conf_ignoredomains;
- struct list * conf_overridemlm;
-+ char ** conf_ignorereceivers;
- };
-
- /* LIST -- basic linked list of strings */
-@@ -1226,6 +1227,11 @@
- if (str != NULL)
- dmarcf_mkarray(str, &conf->conf_ignoredomains);
-
-+ str = NULL;
-+ (void) config_get(data, "IgnoreMailTo", &str, sizeof str);
-+ if (str != NULL)
-+ dmarcf_mkarray(str, &conf->conf_ignorereceivers);
-+
- (void) config_get(data, "AuthservIDWithJobID",
- &conf->conf_authservidwithjobid,
- sizeof conf->conf_authservidwithjobid);
-@@ -2015,6 +2021,7 @@
- mlfi_eom(SMFICTX *ctx)
- {
- _Bool wspf = FALSE;
-+ int skiphistory;
- int c;
- int pc;
- int policy;
-@@ -3147,7 +3154,34 @@
- ** Record activity in the history file.
- */
-
-- if (conf->conf_historyfile != NULL &&
-+ skiphistory = 0;
-+ if (conf->conf_ignorereceivers != NULL)
-+ {
-+ struct dmarcf_header *to = dmarcf_findheader(dfc, "To", 0);
-+ if (to != NULL)
-+ {
-+ char *val = to->hdr_value;
-+ while (*val && !skiphistory)
-+ {
-+ memset(addrbuf, '\0', sizeof addrbuf);
-+ strncpy(addrbuf, val, sizeof addrbuf - 1);
-+ status = dmarcf_mail_parse(addrbuf, &user, &domain);
-+ if (status == 0 && user != NULL && domain != NULL)
-+ {
-+ snprintf(replybuf, sizeof replybuf - 1, "%s@%s", user, domain);
-+ if(dmarcf_match(replybuf, conf->conf_ignorereceivers, TRUE))
-+ {
-+ skiphistory = 1;
-+ }
-+ }
-+ while(*val && *val != ',' && *val != ';')
-+ ++val;
-+ if(*val)
-+ ++val;
-+ }
-+ }
-+ }
-+ if (!skiphistory && conf->conf_historyfile != NULL &&
- (conf->conf_recordall || ostatus != DMARC_DNS_ERROR_NO_RECORD))
- {
- FILE *f;
-diff -ur opendmarc-1.3.2/opendmarc/opendmarc.conf.5.in opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.5.in
---- opendmarc-1.3.2/opendmarc/opendmarc.conf.5.in 2016-12-18 08:50:34.000000000 +0100
-+++ opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.5.in 2017-03-27 17:00:14.424955664 +0200
-@@ -185,6 +185,13 @@
- no mail is ignored.
-
- .TP
-+.I IgnoreMailTo (string)
-+Gives a list of mail addresses which aren't entered into the history file.
-+This is useful to prevent exchanging single message reports. The
-+list should be comma-separated. Matching against this list is
-+case-insensitive. The default is an empty list, meaning no mail is ignored.
-+
-+.TP
- .I MilterDebug (integer)
- Sets the debug level to be requested from the milter library. The
- default is 0.
-diff -ur opendmarc-1.3.2/opendmarc/opendmarc-config.h opendmarc-1.3.2_fix/opendmarc/opendmarc-config.h
---- opendmarc-1.3.2/opendmarc/opendmarc-config.h 2016-12-18 08:50:34.000000000 +0100
-+++ opendmarc-1.3.2_fix/opendmarc/opendmarc-config.h 2017-03-27 17:39:01.727649907 +0200
-@@ -35,6 +35,7 @@
- { "IgnoreAuthenticatedClients", CONFIG_TYPE_BOOLEAN, FALSE },
- { "IgnoreHosts", CONFIG_TYPE_STRING, FALSE },
- { "IgnoreMailFrom", CONFIG_TYPE_STRING, FALSE },
-+ { "IgnoreMailTo", CONFIG_TYPE_STRING, FALSE },
- { "MilterDebug", CONFIG_TYPE_INTEGER, FALSE },
- { "PidFile", CONFIG_TYPE_STRING, FALSE },
- { "PublicSuffixList", CONFIG_TYPE_STRING, FALSE },
-diff -ur opendmarc-1.3.2/opendmarc/opendmarc.conf.sample opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.sample
---- opendmarc-1.3.2/opendmarc/opendmarc.conf.sample 2017-03-04 14:28:39.000000000 +0100
-+++ opendmarc-1.3.2_fix/opendmarc/opendmarc.conf.sample 2017-03-27 17:39:32.594647158 +0200
-@@ -205,6 +205,16 @@
- #
- # IgnoreMailFrom example.com
-
-+## IgnoreMailTo email[,...]
-+## default (none)
-+##
-+## Gives a list of mail addresses which aren't entered into the history file.
-+## This is useful to prevent exchanging mutual message reports. The
-+## list should be comma-separated. Matching against this list is
-+## case-insensitive. The default is an empty list, meaning no mail is ignored.
-+#
-+# IgnoreMailTo dmarc-ruf@example.com
-+
- ## MilterDebug (integer)
- ## default 0
- ##
diff --git a/network/opendmarc/patches/ticket227.patch b/network/opendmarc/patches/ticket227.patch
deleted file mode 100644
index b2786aef61..0000000000
--- a/network/opendmarc/patches/ticket227.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/libopendmarc/opendmarc_policy.c b/libopendmarc/opendmarc_policy.c
-index 36412e4..f151fda 100644
---- a/libopendmarc/opendmarc_policy.c
-+++ b/libopendmarc/opendmarc_policy.c
-@@ -1058,7 +1058,7 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
- *yp = '\0';
-
- xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf);
-- if (xp != NULL || strlen((char *)xp) > 0)
-+ if (xp != NULL && strlen((char *)xp) > 0)
- {
- /*
- * Be generous. Accept, for example, "rf=a, aspf=afrf or any
-@@ -1100,7 +1100,7 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
- *yp = '\0';
-
- xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf);
-- if (xp != NULL || strlen((char *)xp) > 0)
-+ if (xp != NULL && strlen((char *)xp) > 0)
- {
- pctx->rua_list = opendmarc_util_pushargv(xp, pctx->rua_list,
- &(pctx->rua_cnt));
-@@ -1132,7 +1132,7 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
- *yp = '\0';
-
- xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf);
-- if (xp != NULL || strlen((char *)xp) > 0)
-+ if (xp != NULL && strlen((char *)xp) > 0)
- {
- pctx->ruf_list = opendmarc_util_pushargv(xp, pctx->ruf_list,
- &(pctx->ruf_cnt));
-@@ -1159,7 +1159,7 @@ opendmarc_policy_parse_dmarc(DMARC_POLICY_T *pctx, u_char *domain, u_char *recor
- *yp = '\0';
-
- xp = opendmarc_util_cleanup(xp, xbuf, sizeof xbuf);
-- if (xp != NULL || strlen((char *)xp) > 0)
-+ if (xp != NULL && strlen((char *)xp) > 0)
- {
- switch ((int)*xp)
- {
diff --git a/network/opendmarc/patches/z00_ticket138_v3.patch b/network/opendmarc/patches/z00_ticket138_v3.patch
deleted file mode 100644
index 4bcd4f92b4..0000000000
--- a/network/opendmarc/patches/z00_ticket138_v3.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-diff --git a/opendmarc/opendmarc-config.h b/opendmarc/opendmarc-config.h
-index 28f605e..ff4983d 100644
---- a/opendmarc/opendmarc-config.h
-+++ b/opendmarc/opendmarc-config.h
-@@ -32,6 +32,7 @@ struct configdef dmarcf_config[] =
- { "FailureReportsOnNone", CONFIG_TYPE_BOOLEAN, FALSE },
- { "FailureReportsSentBy", CONFIG_TYPE_STRING, FALSE },
- { "HistoryFile", CONFIG_TYPE_STRING, FALSE },
-+ { "HoldQuarantinedMessages", CONFIG_TYPE_BOOLEAN, FALSE },
- { "IgnoreAuthenticatedClients", CONFIG_TYPE_BOOLEAN, FALSE },
- { "IgnoreHosts", CONFIG_TYPE_STRING, FALSE },
- { "IgnoreMailFrom", CONFIG_TYPE_STRING, FALSE },
-diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
-index 0179f4d..5aade55 100644
---- a/opendmarc/opendmarc.c
-+++ b/opendmarc/opendmarc.c
-@@ -155,6 +155,7 @@ struct dmarcf_config
- _Bool conf_spfselfvalidate;
- #endif /* WITH_SPF */
- _Bool conf_ignoreauthclients;
-+ _Bool conf_holdquarantinedmessages;
- unsigned int conf_refcnt;
- unsigned int conf_dnstimeout;
- struct config * conf_data;
-@@ -1297,6 +1298,10 @@ dmarcf_config_load(struct config *data, struct dmarcf_config *conf,
- &conf->conf_recordall,
- sizeof conf->conf_recordall);
-
-+ (void) config_get(data, "HoldQuarantinedMessages",
-+ &conf->conf_holdquarantinedmessages,
-+ sizeof conf->conf_holdquarantinedmessages);
-+
- (void) config_get(data, "IgnoreAuthenticatedClients",
- &conf->conf_ignoreauthclients,
- sizeof conf->conf_ignoreauthclients);
-@@ -3064,7 +3069,8 @@ mlfi_eom(SMFICTX *ctx)
- }
- else
- {
-- if (conf->conf_rejectfail && random() % 100 < pct)
-+ if (conf->conf_rejectfail && random() % 100 < pct &&
-+ conf->conf_holdquarantinedmessages)
- {
- snprintf(replybuf, sizeof replybuf,
- "quarantined by DMARC policy for %s",
-diff --git a/opendmarc/opendmarc.conf.5.in b/opendmarc/opendmarc.conf.5.in
-index 9ee16ae..565e992 100644
---- a/opendmarc/opendmarc.conf.5.in
-+++ b/opendmarc/opendmarc.conf.5.in
-@@ -167,6 +167,13 @@ rather periodically imported into a relational database from which the
- aggregate reports can be extracted.
-
- .TP
-+.I HoldQuarantinedMessages (Boolean)
-+If set to true, causes mail that fails the DMARC tests to get hold
-+by the MTA if the purported sender of the message has a policy of
-+"quarantine". Does nothing if the policy is either "none" or "reject".
-+The default is "true".
-+
-+.TP
- .I IgnoreAuthenticatedClients (Boolean)
- If set, causes mail from authenticated clients (i.e., those that used
- SMTP AUTH) to be ignored by the filter. The default is "false".
-diff --git a/opendmarc/opendmarc.conf.sample b/opendmarc/opendmarc.conf.sample
-index fbfa49d..a2e1da3 100644
---- a/opendmarc/opendmarc.conf.sample
-+++ b/opendmarc/opendmarc.conf.sample
-@@ -177,6 +177,15 @@
- #
- # HistoryFile /var/run/opendmarc.dat
-
-+## HoldQuarantinedMessages { true | false }
-+## default "true"
-+##
-+## If set to true, causes mail that fails the DMARC tests to get hold
-+## by the MTA if the purported sender of the message has a policy of
-+## "quarantine". Does nothing if the policy is either "none" or "reject".
-+#
-+# HoldQuarantinedMessages true
-+
- ## IgnoreAuthenticatedClients { true | false }
- ## default "false"
- ##
diff --git a/network/opendmarc/patches/z06_use_envdomain_SPF_logging.patch b/network/opendmarc/patches/z06_use_envdomain_SPF_logging.patch
deleted file mode 100644
index 3a702fe8c0..0000000000
--- a/network/opendmarc/patches/z06_use_envdomain_SPF_logging.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c
-index f5c30f9..29f3f93 100644
---- a/opendmarc/opendmarc.c
-+++ b/opendmarc/opendmarc.c
-@@ -2542,7 +2542,7 @@ mlfi_eom(SMFICTX *ctx)
- &used_mfrom);
- if (used_mfrom == TRUE)
- {
-- use_domain = dfc->mctx_envfrom;
-+ use_domain = dfc->mctx_envdomain;
- spf_mode = DMARC_POLICY_SPF_ORIGIN_MAILFROM;
- }
- else
diff --git a/network/openfire/openfire.SlackBuild b/network/openfire/openfire.SlackBuild
index 44fb36eabb..e7921ffb25 100644
--- a/network/openfire/openfire.SlackBuild
+++ b/network/openfire/openfire.SlackBuild
@@ -1,18 +1,28 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for openfire
# Written by Mário Antunes (mariolpantunes@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openfire
VERSION=${VERSION:-4.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(echo $VERSION | tr . _)
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openfire/openfire.info b/network/openfire/openfire.info
index 25817fc247..b33415c3ca 100644
--- a/network/openfire/openfire.info
+++ b/network/openfire/openfire.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/igniterealtime/Openfire/releases/download/v4.1.4/op
MD5SUM="64842b2853db006165a67c80dc91edc7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Mário Antunes"
EMAIL="mariolpantunes@gmail.com"
diff --git a/network/openfortivpn/openfortivpn.SlackBuild b/network/openfortivpn/openfortivpn.SlackBuild
index 5af085af73..bcc28fe805 100644
--- a/network/openfortivpn/openfortivpn.SlackBuild
+++ b/network/openfortivpn/openfortivpn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openfortivpn
@@ -25,10 +25,13 @@
# Maintained by Gerardo Zamudio <gerardo.zamudio@linux.com> Mexico City, Mexico
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openfortivpn
-VERSION=${VERSION:-1.14.1}
+VERSION=${VERSION:-1.20.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -107,4 +117,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openfortivpn/openfortivpn.info b/network/openfortivpn/openfortivpn.info
index 04e2bdd786..2c01532cce 100644
--- a/network/openfortivpn/openfortivpn.info
+++ b/network/openfortivpn/openfortivpn.info
@@ -1,8 +1,8 @@
PRGNAM="openfortivpn"
-VERSION="1.14.1"
+VERSION="1.20.3"
HOMEPAGE="https://github.com/adrienverge/openfortivpn"
-DOWNLOAD="https://github.com/adrienverge/openfortivpn/archive/v1.14.1/openfortivpn-1.14.1.zip"
-MD5SUM="25a24710f6fcaac66d8fa0b1941895eb"
+DOWNLOAD="https://github.com/adrienverge/openfortivpn/archive/v1.20.3/openfortivpn-1.20.3.zip"
+MD5SUM="b977bf460bcb0be55c7b01f7e810d1e4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/openl2tp/Makefile.diff b/network/openl2tp/Makefile.diff
deleted file mode 100644
index 3f136aac2c..0000000000
--- a/network/openl2tp/Makefile.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./Makefile.orig 2010-11-22 11:47:26.000000000 +0200
-+++ ./Makefile 2011-06-21 22:51:24.000000000 +0300
-@@ -158,7 +158,7 @@
- $(CPPFLAGS) $(CPPFLAGS.dmalloc) \
- -DSYS_LIBDIR=$(SYS_LIBDIR)
- LDFLAGS.l2tpd= -Wl,-E -L. -Lusl -lusl -ldl $(LIBS.dmalloc) -lc
--LDFLAGS.l2tpconfig= -Lcli -lcli -lreadline $(LIBS.dmalloc) $(READLINE_LDFLAGS) -lc
-+LDFLAGS.l2tpconfig= -Lcli -lcli -lreadline -ltermcap $(LIBS.dmalloc) $(READLINE_LDFLAGS) -lc
-
- OPT_CFLAGS?= -O
-
diff --git a/network/openl2tp/README b/network/openl2tp/README
deleted file mode 100644
index fe4ea05077..0000000000
--- a/network/openl2tp/README
+++ /dev/null
@@ -1,17 +0,0 @@
-OpenL2TP is a complete implementation of RFC2661 - Layer Two Tunneling
-Protocol Version 2, able to operate as both a server and a client.
-
-OpenL2TP has been written specifically for Linux. It consists of
-- a daemon, openl2tpd, handling the L2TP control protocol exchanges
- for all tunnels and sessions
-- a plugin for pppd to allow its PPP connections to run over L2TP
- sessions
-- a Linux kernel driver for efficient datapath (packaged separately).
-- a command line application for management.
-
-All data packets are handled by the Linux kernel in order that the
-datapath be as efficient as possible. The Linux PPP-over-L2TP kernel
-driver (pppol2tp.o) must be loaded either dynamically as a kernel
-module or linked in statically.
-
-See README.SLACKWARE for post-installation configuration notes.
diff --git a/network/openl2tp/README.SLACKWARE b/network/openl2tp/README.SLACKWARE
deleted file mode 100644
index 204e78ad81..0000000000
--- a/network/openl2tp/README.SLACKWARE
+++ /dev/null
@@ -1,24 +0,0 @@
-To start openl2tpd at boot, you will need to add the following
-lines to /etc/rc.d/rc.local:
-
- if [ -x /etc/rc.d/rc.openl2tpd ]; then
- /etc/rc.d/rc.openl2tpd start
- fi
-
-Then add the following lines to /etc/rc.d/rc.local_shutdown:
-
- if [ -x /etc/rc.d/rc.openl2tpd ]; then
- /etc/rc.d/rc.openl2tpd stop
- fi
-
-Then make sure /etc/rc.d/rc.rpc is executable:
- # chmod 0755 /etc/rc.d/rc.rpc
-
-##############################################################
-
-If you want to start it without a reboot, first follow the
-above directions, and then do this:
-
- # /etc/rc.d/rc.rpc start
- # /etc/rc.d/rc.openl2tpd start
-
diff --git a/network/openl2tp/doinst.sh b/network/openl2tp/doinst.sh
deleted file mode 100644
index f62e4e7af9..0000000000
--- a/network/openl2tp/doinst.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.openl2tpd.new
-config etc/sysconfig/openl2tpd.new
-config etc/openl2tpd.conf.new
-
diff --git a/network/openl2tp/openl2tp.SlackBuild b/network/openl2tp/openl2tp.SlackBuild
deleted file mode 100644
index a16d787436..0000000000
--- a/network/openl2tp/openl2tp.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for openl2tp
-#
-# Written by Eugene P. <pieu@mail.ru>
-#
-
-PRGNAM=openl2tp
-VERSION=${VERSION:-1.8}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 < $CWD/Makefile.diff
-
-make OPT_CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable" \
- SYS_LIBDIR=/usr/lib${LIBDIRSUFFIX}
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Move and fix perms on manpages
-mv $PKG/usr/share/man $PKG/usr ; rmdir $PKG/usr/share
-find $PKG/usr/man -type f -exec chmod 0644 {} \;
-
-mkdir -p $PKG/etc/rc.d
-cat etc/rc.d/init.d/openl2tpd > $PKG/etc/rc.d/rc.openl2tpd.new
-chmod 0755 $PKG/etc/rc.d/rc.openl2tpd.new
-
-mkdir -p $PKG/etc/sysconfig
-sed -e "s,^OPENL2TPD_CONFIG_FILE=.*$,OPENL2TPD_CONFIG_FILE=/etc/openl2tpd.conf," \
- etc/sysconfig/openl2tpd > $PKG/etc/sysconfig/openl2tpd.new
-
-# Copy config files for the OpenL2TP daemon
-cat $CWD/sample.conf > $PKG/etc/openl2tpd.conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README CHANGES LICENSE COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openl2tp/openl2tp.info b/network/openl2tp/openl2tp.info
deleted file mode 100644
index d38d0ca354..0000000000
--- a/network/openl2tp/openl2tp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openl2tp"
-VERSION="1.8"
-HOMEPAGE="http://www.openl2tp.org/"
-DOWNLOAD="http://downloads.sourceforge.net/openl2tp/openl2tp-1.8.tar.gz"
-MD5SUM="e3d08dedfb9e6a9a1e24f6766f6dadd0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Eugene P."
-EMAIL="pieu@mail.ru"
diff --git a/network/openl2tp/sample.conf b/network/openl2tp/sample.conf
deleted file mode 100644
index fba34766c7..0000000000
--- a/network/openl2tp/sample.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-system modify deny_remote_tunnel_creates=yes \
- tunnel_establish_timeout=60 \
- session_establish_timeout=30 \
- tunnel_persist_pend_timeout=60 \
- session_persist_pend_timeout=30
-
-peer profile modify profile_name=default lac_lns=lac
-
-ppp profile modify profile_name=default \
- auth_pap=no auth_eap=no auth_none=no auth_mschapv1=no auth_mschapv2=yes \
- default_route=no proxy_arp=no
-
-tunnel create tunnel_name=CONNECTION_NAME dest_ipaddr=VPN_SERVER_IP persist=yes
-
-session create tunnel_name=CONNECTION_NAME session_name=CONNECTION_NAME \
- user_name="LOGIN" user_password="PASSWORD"
-
diff --git a/network/openl2tp/slack-desc b/network/openl2tp/slack-desc
deleted file mode 100644
index 82de4fc13b..0000000000
--- a/network/openl2tp/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openl2tp: openl2tp (Layer Two Tunneling Protocol Version 2)
-openl2tp:
-openl2tp: OpenL2TP has been written specifically for Linux. It consists of
-openl2tp: - a daemon, openl2tpd, handling the L2TP control protocol exchanges
-openl2tp: for all tunnels and sessions
-openl2tp: - a plugin for pppd to allow its PPP connections to run over L2TP
-openl2tp: - a kernel driver for efficient datapath (packaged separately)
-openl2tp: - a command line application for management.
-openl2tp:
-openl2tp: http://www.openl2tp.org/
-openl2tp:
diff --git a/network/openldap-server/README b/network/openldap-server/README
deleted file mode 100644
index 6a31d75bf8..0000000000
--- a/network/openldap-server/README
+++ /dev/null
@@ -1,22 +0,0 @@
-OpenLDAP Server
-
-OpenLDAP is an open source implementation of the Lightweight Directory
-Access Protocol.
-
-The suite includes:
-
- * slapd - stand-alone LDAP daemon (server)
- * libraries implementing the LDAP protocol
- * utilities, tools, and sample clients.
-
-
-Groupname and Username
-
-You must have the 'ldap' group and user to run this script,
-for example:
-
- groupadd -g 330 ldap
- useradd -u 330 -d /var/lib/openldap -s /bin/false -c "OpenLDAP server" -g ldap ldap
-
-
-For more information see README.SLACKWARE
diff --git a/network/openldap-server/README.SLACKWARE b/network/openldap-server/README.SLACKWARE
deleted file mode 100644
index ea245662b6..0000000000
--- a/network/openldap-server/README.SLACKWARE
+++ /dev/null
@@ -1,103 +0,0 @@
-# Initial Setup
-
-Set the directory suffix and Manager user in your slapd.conf(5):
-
- [...]
- suffix "dc=example,dc=org"
- rootdn "cn=Manager,dc=example,dc=org"
- rootpw {SSHA}CjQ2ddDHu92qd2BrcNYT1hQDzLrVlgCo # Encryted password using slappasswd(8)
- [...]
-
-Create the DB_CONFIG file to initialize the database:
-
- # cd /var/lib/openldap
- # cp -a DB_CONFIG.example DB_CONFIG
-
-
-
-# Logging
-
-Add this to your /etc/syslog.conf file, and then restart syslogd,
-to enable the slapd log file:
-
- local4.* -/var/log/slapd
-
-
-
-# Configuration
-
-All configuration and schemas are stored in /etc/openlap
-
- slapd.conf legacy OpenLDAP configuration file (see slapd.conf(5))
- slapd.ldif OpenLDAP configuration file (see slapd-config(5))
- ldap.conf ldap client (eg. ldapsearch) configuration file (see ldap.conf(5))
- certs/ directory can contains server certificates
- schema/ OpenLDAP schema
-
-The default OpenLDAP database is located in /var/lib/openldap
-
-*NOTE* OpenLDAP 2.3 and later supports old slapd.conf(5) and dynamic
- configuration engine, slapd-config(5).
-
-
-
-# Using the slapd.d directory
-
-An existing slapd.conf(5) file can be converted to the new format using
-slaptest(8):
-
- # sh /etc/rc.d/rc.openldap stop
- # mkdir -p /etc/openldap/slapd.d
- # slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
- # chown ldap:ldap /etc/openldap/slapd.d
-
-
-
-# Starting and Stopping the OpenLDAP server
-
-This package provides the /etc/rc.d/rc.openldap start/stop script.
-
-Slackware is OpenLDAP server ready (see the rc.M script) and you can start
-the OpenLDAP server automatically at boot by adding execution permission to
-/etc/rc.d/rc.openldap
-
-
-
-# Troubleshooting
-
-## Can't contact LDAP server via ldapi:/// url
-
- $ ldapadd -Y EXTERNAL -H ldapi:/// -f /tmp/test.ldif
- ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
-
-openldap-server package use the same libraries from n/openldap-client Slackware
-package. The openldap-client package use a non-standard location for ldapi socket.
-
-### Solution 1
-
-Create a symlink from /var/run/openldap/ldapi to /var/lib/run/ldapi
-
- # mkdir -p /var/lib/run
- # ln -sf /var/run/openldap/ldapi /var/lib/run/ldapi
-
-### Solution 2
-
-Change or add the URI in ldap.conf(5) file:
-
- URI ldapi://%2fvar%2frun%2fopenldap%2fldapi
-
-Run the ldap utility command without "-H" argument (example):
-
- $ ldapadd -Y EXTERNAL -f /tmp/test.ldif
-
-### Solution 3
-
-Use ldapi url with ldap utility command:
-
- $ ldapadd -Y EXTERNAL -H ldapi://%2fvar%2frun%2fopenldap%2fldapi -f /tmp/test.ldif
-
-
-
-# Documentation
-
-See /usr/doc/openldap-2.4.42/guide.html (OpenLDAP Administrator Guide)
diff --git a/network/openldap-server/doinst.sh b/network/openldap-server/doinst.sh
deleted file mode 100644
index 17bd5215de..0000000000
--- a/network/openldap-server/doinst.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-config() {
- NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.openldap.new
-
-config etc/openldap/slapd.conf.new
-config etc/openldap/slapd.ldif.new
-config etc/default/slapd.new
diff --git a/network/openldap-server/openldap-server.SlackBuild b/network/openldap-server/openldap-server.SlackBuild
deleted file mode 100644
index 54e8fbe773..0000000000
--- a/network/openldap-server/openldap-server.SlackBuild
+++ /dev/null
@@ -1,255 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for OpenLDAP server
-
-# Copyright 2015-2017 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openldap-server
-VERSION=${VERSION:-2.4.42}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i586 ;;
- arm*) export ARCH=arm ;;
- *) export ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-if ! grep ^ldap: /etc/group 2>&1 > /dev/null; then
- echo " You must have a ldap group to run this script."
- echo " # groupadd -r -g 330 ldap"
- echo " Or something similar."
- exit 1
-elif ! grep ^ldap: /etc/passwd 2>&1 > /dev/null; then
- echo " You must have a ldap user to run this script."
- echo " # useradd -r -u 330 -g ldap -d /var/lib/openldap -s /bin/false -c \"OpenLDAP server\" ldap"
- echo " Or something similar."
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG
-cd $TMP
-rm -rf openldap-$VERSION
-tar xvf $CWD/openldap-$VERSION.t*z*
-cd openldap-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-
-# Change the location of run directory into /var/run/openldap
-sed -i -e 's|%LOCALSTATEDIR%/run/|/var/run/openldap/|' \
- servers/slapd/slapd.*
-
-# Change the location of ldapi socket into /var/run/openldap
-sed -i -e 's|\(#define LDAPI_SOCK\).*|\1 "/var/run/openldap/ldapi"|' \
- include/ldap_defaults.h
-
-# Change the default OpenLDAP database directory
-sed -i -e 's|openldap-data|lib/openldap|' \
- servers/slapd/slapd.* include/ldap_defaults.h servers/slapd/Makefile.in
-
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --exec-prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/man \
- --localstatedir=/var \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- \
- --enable-debug \
- --enable-dynamic \
- --enable-syslog \
- --enable-proctitle \
- --enable-ipv6 \
- --enable-local \
- \
- --enable-slapd \
- --enable-dynacl \
- --enable-aci \
- --enable-cleartext \
- --enable-crypt \
- --enable-lmpasswd \
- --enable-spasswd \
- --enable-modules \
- --enable-rewrite \
- --enable-rlookups \
- --enable-slapi \
- --disable-slp \
- --enable-wrappers \
- \
- --enable-backends=mod \
- --enable-bdb=yes \
- --enable-hdb=yes \
- --enable-mdb=yes \
- --enable-monitor=yes \
- --enable-perl=yes \
- --disable-ndb \
- \
- --enable-overlays=mod \
- \
- --disable-static \
- --enable-shared \
- \
- --with-cyrus-sasl \
- --without-fetch \
- --with-threads \
- --with-pic \
- --with-tls
-
-make depend
-
-# Build only slapd server. The libraries and header files are present in
-# Slackware n/openldap-client package
-
-( cd libraries
- make
-)
-
-( cd servers
- make -j1
- make -j1 install DESTDIR=$PKG
-)
-
-( cd doc
- make
- make install DESTDIR=$PKG
-)
-
-rm -f $PKG/etc/openldap/*.default
-
-# Copy default slapd configuration
-mv $PKG/etc/openldap/slapd.conf $PKG/etc/openldap/slapd.conf.new
-mv $PKG/etc/openldap/slapd.ldif $PKG/etc/openldap/slapd.ldif.new
-
-# Create a symlink for slapd into /usr/sbin
-mkdir -p $PKG/usr/sbin
-( cd $PKG/usr/sbin ; ln -sf ../libexec/slapd slapd )
-
-# Create OpenLDAP run directory
-mkdir -p $PKG/var/run/openldap
-
-# Fix ldapi socket location for n/openldap-client package
-mkdir -p $PKG/var/lib/run
-( cd $PKG/var/lib/run; ln -sf ../../run/openldap/ldapi ldapi )
-
-# Create OpenLDAP certificates directory
-mkdir -p $PKG/etc/openldap/certs
-
-# Copy rc.openldap
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.openldap > $PKG/etc/rc.d/rc.openldap.new
-
-# Copy slapd default file
-mkdir -p $PKG/etc/default
-cat $CWD/slapd > $PKG/etc/default/slapd.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
-
-cp -a \
- ANNOUNCEMENT COPYRIGHT LICENSE README CHANGES \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-# Include monitor backend README
-cp -a \
- servers/slapd/back-monitor/README \
- $PKG/usr/doc/$PRGNAM-$VERSION/README.back-monitor
-
-# Include Perl backend README
-cp -a \
- servers/slapd/back-perl/README \
- $PKG/usr/doc/$PRGNAM-$VERSION/README.back-perl
-
-# Include Perl backend sample file
-cp -a \
- servers/slapd/back-perl/SampleLDAP.pm \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-# Include OpenLDAP documentation
-cp -a \
- doc/guide/admin/*.png \
- doc/guide/admin/*.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-# Fix permissions
-chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/*.so.*
-chmod 700 $PKG/var/lib/openldap
-chmod 755 $PKG/usr/libexec/openldap
-
-# Fix ownership
-chown -R ldap:ldap $PKG/var/lib/openldap
-chown -R ldap:ldap $PKG/var/run/openldap
-chown -R ldap:ldap $PKG/etc/openldap
-
-# Remove OpenLDAP client man pages
-rm -rf $PKG/usr/man/man1
-rm -rf $PKG/usr/man/man3
-rm -rf $PKG/usr/man/man5/{ldap,ldif}.*
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Create an empty slapd log file
-mkdir -p $PKG/var/log
-touch $PKG/var/log/slapd
-chown ldap:ldap $PKG/var/log/slapd
-
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openldap-server/openldap-server.info b/network/openldap-server/openldap-server.info
deleted file mode 100644
index c2602f06af..0000000000
--- a/network/openldap-server/openldap-server.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openldap-server"
-VERSION="2.4.42"
-HOMEPAGE="http://www.openldap.org"
-DOWNLOAD="http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.42.tgz"
-MD5SUM="47c8e2f283647a6105b8b0325257e922"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Giuseppe Di Terlizzi"
-EMAIL="giuseppe.diterlizzi@gmail.com"
diff --git a/network/openldap-server/rc.openldap b/network/openldap-server/rc.openldap
deleted file mode 100644
index 0e64c219fc..0000000000
--- a/network/openldap-server/rc.openldap
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# OpenLDAP Server start/stop script
-
-
-. /etc/default/slapd
-
-PID_FILE=/var/run/openldap/slapd.pid
-EXEC=/usr/sbin/slapd
-
-
-# re-create /var/run/openldap directory
-if [ ! -d /var/run/openldap ]; then
- mkdir -p /var/run/openldap
- chown ldap:ldap /var/run/openldap
-fi
-
-
-slapd_start() {
-
- echo -n "Starting OpenLDAP server..."
-
- if [ -e $PID_FILE ]; then
-
- if ps axc | grep slapd >/dev/null 2>&1 ; then
- echo "already running!"
- return 1
- else
- rm $PID_FILE
- fi
-
- fi
-
- $EXEC -u ldap -h "$SLAPD_URLS" $SLAPD_OPTIONS > /dev/null 2>&1
- echo "done!"
-
-}
-
-
-slapd_stop() {
-
- echo -n "Stopping OpenLDAP server..."
-
- if [ -e $PID_FILE ]; then
- if ps axc | grep slapd >/dev/null 2>&1; then
- kill -INT $(cat $PID_FILE)
- else
- echo "already stopped!"
- fi
- fi
-
- rm $PID_FILE >/dev/null 2>&1
- echo "done!"
-
-}
-
-
-slapd_restart() {
- slapd_stop
- sleep 1
- slapd_start
-}
-
-
-slapd_status() {
-
- if [ -e $PID_FILE ]; then
- if ps axc | grep slapd >/dev/null 2>&1; then
- echo "OpenLDAP is running!"
- return 0
- fi
-
- echo "OpenLDAP PID file exists but the service is down!"
- return 1
-
- else
- echo "OpenLDAP is stopped!"
- return 0
- fi
-
-}
-
-
-case "$1" in
- 'start')
- slapd_start
- ;;
- 'stop')
- slapd_stop
- ;;
- 'restart')
- slapd_restart
- ;;
- 'status')
- slapd_status
- ;;
- *)
- echo "usage $0 start|stop|restart"
-esac
-
diff --git a/network/openldap-server/slack-desc b/network/openldap-server/slack-desc
deleted file mode 100644
index 92bf98bc92..0000000000
--- a/network/openldap-server/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openldap-server: openldap-server (OpenLDAP server)
-openldap-server:
-openldap-server: OpenLDAP is an open source implementation of the Lightweight
-openldap-server: Directory Access Protocol. LDAP is a alternative to the X.500
-openldap-server: Directory Access Protocol (DAP). It uses the TCP/IP stack versus
-openldap-server: the overly complex OSI stack.
-openldap-server:
-openldap-server: LDAP is often used to provide authentication (such as for email).
-openldap-server:
-openldap-server: The OpenLDAP homepage is http://www.openldap.org/
-openldap-server:
diff --git a/network/openldap-server/slapd b/network/openldap-server/slapd
deleted file mode 100644
index afbbfb55fc..0000000000
--- a/network/openldap-server/slapd
+++ /dev/null
@@ -1,16 +0,0 @@
-# OpenLDAP server configuration
-# see 'man slapd' for additional information
-
-# Where the server will run (-h option)
-# - ldapi:/// is required for on-the-fly configuration using client tools
-# (use SASL with EXTERNAL mechanism for authentication)
-# - default: ldapi:/// ldap:///
-# - example: ldapi:/// ldap://127.0.0.1/ ldap://10.0.0.1:1389/ ldaps:///
-SLAPD_URLS="ldapi:/// ldap:///"
-
-# Any custom options
-#SLAPD_OPTIONS=""
-
-# Keytab location for GSSAPI Kerberos authentication
-#KRB5_KTNAME="FILE:/etc/openldap/ldap.keytab"
-
diff --git a/network/openntpd/README b/network/openntpd/README
index 9f0051a26e..6eaa07cbeb 100644
--- a/network/openntpd/README
+++ b/network/openntpd/README
@@ -1,13 +1,15 @@
-OpenNTPD is a FREE, easy to use implementation of the Network Time Protocol. It
-provides the ability to sync the local clock to remote NTP servers and can act
-as NTP server itself, redistributing the local clock.
+OpenNTPD is a FREE, easy to use implementation of the Network Time
+Protocol. It provides the ability to sync the local clock to remote
+NTP servers and can act as NTP server itself, redistributing the local
+clock.
-OpenNTPD was primarily developed by Henning Brauer as part of the OpenBSD
-Project and gets released as a base component of OpenBSD every six months.
+OpenNTPD was primarily developed by Henning Brauer as part of the
+OpenBSD Project and gets released as a base component of OpenBSD every
+six months.
-The portable version is maintained by Brent Cook and is mirrored on Github and
-available as periodic tarball releases. Contributions are welcome to both the
-OpenNTPD core and the portable build framework.
+The portable version is maintained by Brent Cook and is mirrored on
+Github and available as periodic tarball releases. Contributions are
+welcome to both the OpenNTPD core and the portable build framework.
This build script will try to create the user and group '_ntp', that is
necessary to run openntpd.
diff --git a/network/openntpd/openntpd.SlackBuild b/network/openntpd/openntpd.SlackBuild
index 07347afb53..16e2296ec5 100644
--- a/network/openntpd/openntpd.SlackBuild
+++ b/network/openntpd/openntpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openntpd
@@ -25,11 +25,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openntpd
-VERSION=${VERSION:-6.2p3}
+VERSION=${VERSION:-6.8p1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -131,7 +142,7 @@ mkdir -p $PKG/etc/rc.d
install -m 0644 $CWD/rc.openntpd $PKG/etc/rc.d/rc.openntpd.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -139,4 +150,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openntpd/openntpd.info b/network/openntpd/openntpd.info
index d341aada73..70ab063e2d 100644
--- a/network/openntpd/openntpd.info
+++ b/network/openntpd/openntpd.info
@@ -1,8 +1,8 @@
PRGNAM="openntpd"
-VERSION="6.2p3"
+VERSION="6.8p1"
HOMEPAGE="http://www.openntpd.org/portable.html"
-DOWNLOAD="http://ftp.OpenBSD.org/pub/OpenBSD/OpenNTPD/openntpd-6.2p3.tar.gz"
-MD5SUM="5b67827f8ce7e24f38c895787036658d"
+DOWNLOAD="https://mirrors.mit.edu/pub/OpenBSD/OpenNTPD/openntpd-6.8p1.tar.gz"
+MD5SUM="7c68ce2627b2ea13f2b95db1ef4fcfc5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/openntpd/patches/01-ntpctl_rename.diff b/network/openntpd/patches/01-ntpctl_rename.diff
index 5406b5cc35..c24c6f8bf3 100644
--- a/network/openntpd/patches/01-ntpctl_rename.diff
+++ b/network/openntpd/patches/01-ntpctl_rename.diff
@@ -1,6 +1,7 @@
---- a/src/ntpd.c.orig 2015-03-25 02:18:56.000000000 +0100
-+++ b/src/ntpd.c 2015-03-25 14:55:29.964709538 +0100
-@@ -100,9 +100,8 @@ usage(void)
+diff -Nur openntpd-6.8p1.orig/src/ntpd.c openntpd-6.8p1/src/ntpd.c
+--- openntpd-6.8p1.orig/src/ntpd.c 2020-12-07 02:20:35.000000000 -0600
++++ openntpd-6.8p1/src/ntpd.c 2021-07-18 21:33:55.169706930 -0500
+@@ -113,9 +113,8 @@
{
extern char *__progname;
@@ -10,28 +11,28 @@
+ if (strcmp(__progname, "openntpctl") == 0)
+ fprintf(stderr, "usage: %s -s all | peers | Sensors | status\n", __progname);
else
- fprintf(stderr, "usage: %s [-dnSsv] [-f file] [-p file]\n",
+ fprintf(stderr, "usage: %s [-dnv] [-f file] [-p file]\n",
__progname);
-@@ -131,7 +130,7 @@ main(int argc, char *argv[])
- struct passwd *pw;
- extern char *__progname;
+@@ -171,7 +170,7 @@
+
+ __progname = get_progname(argv[0]);
- if (strcmp(__progname, "ntpctl") == 0) {
+ if (strcmp(__progname, "openntpctl") == 0) {
ctl_main(argc, argv);
/* NOTREACHED */
}
-@@ -598,7 +597,7 @@ ctl_main(int argc, char *argv[])
+@@ -736,7 +735,7 @@
/* NOTREACHED */
if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
- err(1, "ntpctl: socket");
+ err(1, "openntpctl: socket");
- bzero(&sa, sizeof(sa));
+ memset(&sa, 0, sizeof(sa));
sa.sun_family = AF_UNIX;
-@@ -643,7 +642,7 @@ ctl_main(int argc, char *argv[])
- if ((n = imsg_read(ibuf_ctl)) == -1)
+@@ -784,7 +783,7 @@
+ if ((n = imsg_read(ibuf_ctl)) == -1 && errno != EAGAIN)
err(1, "ibuf_ctl: imsg_read error");
if (n == 0)
- errx(1, "ntpctl: pipe closed");
diff --git a/network/openntpd/patches/02-ntpd_8_clean.diff b/network/openntpd/patches/02-ntpd_8_clean.diff
index 8e999afdec..049806b1f4 100644
--- a/network/openntpd/patches/02-ntpd_8_clean.diff
+++ b/network/openntpd/patches/02-ntpd_8_clean.diff
@@ -1,6 +1,7 @@
---- a/src/ntpd.8.orig 2017-10-30 09:57:40.000000000 +0100
-+++ b/src/ntpd.8 2017-10-30 16:40:00.501570572 +0100
-@@ -102,18 +102,6 @@ adjusts the clock frequency using the
+diff -Nur openntpd-6.8p1.orig/src/ntpd.8 openntpd-6.8p1/src/ntpd.8
+--- openntpd-6.8p1.orig/src/ntpd.8 2020-12-07 02:20:35.000000000 -0600
++++ openntpd-6.8p1/src/ntpd.8 2021-07-18 21:34:49.338076927 -0500
+@@ -102,18 +102,6 @@
.Xr adjfreq 2
system call to compensate for systematic drift.
.Pp
@@ -19,7 +20,7 @@
When
.Nm
starts up, it reads settings from its configuration file,
-@@ -138,8 +126,6 @@ Socket file for communication with
+@@ -138,8 +126,6 @@
.Xr adjtime 2 ,
.Xr ntpd.conf 5 ,
.Xr ntpctl 8 ,
diff --git a/network/openrdate/README b/network/openrdate/README
deleted file mode 100644
index a8ff621639..0000000000
--- a/network/openrdate/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Good-old rdate date- and time-setting software implementing RFC 868
-(inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent package
-of OpenBSD's rdate program.
-
-An alternative to netdate and ntpd/ntpdate.
diff --git a/network/openrdate/openrdate.SlackBuild b/network/openrdate/openrdate.SlackBuild
deleted file mode 100644
index 7cb565d7e0..0000000000
--- a/network/openrdate/openrdate.SlackBuild
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openrdate
-# Written by slakmagik <slakmagik@gmail.com>
-# Released under the WTFPL
-
-PRGNAM=openrdate
-VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
- -o -perm 400 \) -exec chmod 644 {} \;
-
-# I put this in sbin because, while an unprivileged user can do 'rdate -p
-# SERVER', it's still a system management command and the manual's in 8, etc.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --bindir=/usr/sbin \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-make
-make DESTDIR=$PKG install-strip
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [ACINR]* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openrdate/openrdate.info b/network/openrdate/openrdate.info
deleted file mode 100644
index 0d4ca6d7cb..0000000000
--- a/network/openrdate/openrdate.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openrdate"
-VERSION="1.2"
-HOMEPAGE="https://sourceforge.net/projects/openrdate/"
-DOWNLOAD="https://downloads.sourceforge.net/openrdate/openrdate-1.2.tar.gz"
-MD5SUM="ad9bd58e1fb7babc74d0a0a16a1248a2"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="slakmagik"
-EMAIL="slakmagik@gmail.com"
diff --git a/network/openrdate/slack-desc b/network/openrdate/slack-desc
deleted file mode 100644
index 53c44ee1e4..0000000000
--- a/network/openrdate/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openrdate: openrdate (date/time printing/setting program)
-openrdate:
-openrdate: Good-old rdate date- and time-setting software implementing RFC
-openrdate: 868 (inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent
-openrdate: package of the OpenBSD's rdate program.
-openrdate:
-openrdate: Homepage: https://sourceforge.net/projects/openrdate/
-openrdate:
-openrdate:
-openrdate:
-openrdate:
diff --git a/network/openresolv/README b/network/openresolv/README
deleted file mode 100644
index abe4b9d7c7..0000000000
--- a/network/openresolv/README
+++ /dev/null
@@ -1,17 +0,0 @@
-openresolv (management framework for resolv.conf)
-
-Allows multiple daemons to manage resolv.conf and configures local
-resolvers such as dnsmasq and unbound.
-
-This package may require some manual configuration. Please read
-resolvconf(8) and resolvconf.conf(5) for detailed instructions.
-
-Passing OPENVPN=yes will add the update-resolv-conf script to
-/etc/openvpn/. To use the script, make sure the following lines are
-added to your openvpn client configuration file.
-
-up /etc/openvpn/update-resolv-conf
-down /etc/openvpn/update-resolv-conf
-
-Please consult /etc/openvpn/update-resolv-conf before using the script.
-It will likely require editing before use.
diff --git a/network/openresolv/doinst.sh b/network/openresolv/doinst.sh
deleted file mode 100644
index 810b1c10cb..0000000000
--- a/network/openresolv/doinst.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/resolvconf.conf.new
-# This file is optional (added with OPENVPN=yes); let's make sure it exists
-if [ -e etc/openvpn/update-resolv-conf.new ]; then
- config etc/openvpn/update-resolv-conf.new
-fi
diff --git a/network/openresolv/openresolv.SlackBuild b/network/openresolv/openresolv.SlackBuild
deleted file mode 100644
index 0c25880e5d..0000000000
--- a/network/openresolv/openresolv.SlackBuild
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openresolv
-
-# Copyright 2012-2013 synbq Bucharest
-# Copyright 2017-2020 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openresolv
-VERSION=${VERSION:-3.11.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# If building openvpn support, ensure it's installed
-if [ "${OPENVPN:-no}" = "yes" ] && [ ! -d /etc/openvpn ]; then
- echo "You must to have openvpn installed"
- exit 1
-fi
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libexecdir=/usr/libexec/openresolv \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-if [ "${OPENVPN}" = "yes" ]; then
- mkdir -p $PKG/etc/openvpn
- install -m 0755 $CWD/update-resolv-conf $PKG/etc/openvpn/update-resolv-conf.new
-fi
-
-mv $PKG/etc/resolvconf.conf $PKG/etc/resolvconf.conf.new
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openresolv/openresolv.info b/network/openresolv/openresolv.info
deleted file mode 100644
index dbda0208b4..0000000000
--- a/network/openresolv/openresolv.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openresolv"
-VERSION="3.11.0"
-HOMEPAGE="https://roy.marples.name/projects/openresolv"
-DOWNLOAD="https://roy.marples.name/downloads/openresolv/openresolv-3.11.0.tar.xz"
-MD5SUM="0203654e2c930f8d58892d4572237d5c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/network/openresolv/slack-desc b/network/openresolv/slack-desc
deleted file mode 100644
index 1b64db5fe9..0000000000
--- a/network/openresolv/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openresolv: openresolv (management framework for resolv.conf)
-openresolv:
-openresolv: Allows multiple daemons to manage resolv.conf and configures local
-openresolv: resolvers such as dnsmasq and unbound.
-openresolv: This package may require some manual configuration.
-openresolv: Please read resolvconf(8) and resolvconf.conf(5) for detailed
-openresolv: instructions.
-openresolv:
-openresolv: Visit the openresolv project online:
-openresolv: https://roy.marples.name/projects/openresolv
-openresolv:
diff --git a/network/openresolv/update-resolv-conf b/network/openresolv/update-resolv-conf
deleted file mode 100644
index a20260576e..0000000000
--- a/network/openresolv/update-resolv-conf
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-#
-# Parses DHCP options from openvpn to update resolv.conf
-# To use set as 'up' and 'down' script in your openvpn *.conf:
-# up /etc/openvpn/update-resolv-conf
-# down /etc/openvpn/update-resolv-conf
-#
-# Used snippets of resolvconf script by Thomas Hood <jdthood@yahoo.co.uk>
-# and Chris Hanson
-# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL.
-#
-# 05/2006 chlauber@bnc.ch
-#
-# Example envs set from openvpn:
-# foreign_option_1='dhcp-option DNS 193.43.27.132'
-# foreign_option_2='dhcp-option DNS 193.43.27.133'
-# foreign_option_3='dhcp-option DOMAIN be.bnc.ch'
-
-[ -x /usr/sbin/resolvconf ] || exit 0
-
-case $script_type in
-
-up)
- for optionname in ${!foreign_option_*} ; do
- option="${!optionname}"
- echo $option
- part1=$(echo "$option" | cut -d " " -f 1)
- if [ "$part1" == "dhcp-option" ] ; then
- part2=$(echo "$option" | cut -d " " -f 2)
- part3=$(echo "$option" | cut -d " " -f 3)
- if [ "$part2" == "DNS" ] ; then
- IF_DNS_NAMESERVERS="$IF_DNS_NAMESERVERS $part3"
- fi
- if [ "$part2" == "DOMAIN" ] ; then
- IF_DNS_SEARCH="$IF_DNS_SEARCH $part3"
- fi
- fi
- done
- R=""
- for SS in $IF_DNS_SEARCH ; do
- R="${R}search $SS
-"
- done
- for NS in $IF_DNS_NAMESERVERS ; do
- R="${R}nameserver $NS
-"
- done
- echo -n "$R" | /usr/sbin/resolvconf -x -a "${dev}.inet"
- ;;
-down)
- /usr/sbin/resolvconf -d "${dev}.inet"
- ;;
-esac
-
diff --git a/network/openresty/README b/network/openresty/README
new file mode 100644
index 0000000000..e2acd5778c
--- /dev/null
+++ b/network/openresty/README
@@ -0,0 +1,40 @@
+openresty is a dynamic web platform based on NGINX and LuaJIT.
+
+Install dependence packages
+ slackpkg -batch=on -default_answer=y install zlib \
+ gd libxslt fontconfig libxcb libX11 libXau libXdmcp libXpm
+
+By default, openresty will use the "nobody" user and group accounts.
+You may specify alternate values on the command line if desired;
+for example:
+
+ OPENRESTYUSER=backup OPENRESTYGROUP=backup ./openresty.SlackBuild
+
+Regardless of which user and group you decide to use, you will need to
+make sure they exist on both the build system and the target system.
+
+Geoip support is now available as an option using the GeopIP
+package. If you wish to enable GeoIP the pass GEOIP variable to the
+slackbuild:
+
+ GEOIP=yes ./openresty.SlackBuild
+
+Support for gperftools is available as an option using the gperftools
+package. If you wish to enable gperftools pass the GPERF variable to
+the slackbuild:
+
+ GPERF=yes ./openresty.SlackBuild
+
+Extra modules not included with stock openresty can be added by passing
+them as a variable to the slackbuild as a space separated list of
+full paths to modules. List of extra 3rd party modules available at
+http://wiki.openresty.org/3rdPartyModules.
+
+ ADDMODULE="/tmp/passenger-release-5.0.13/ext/openresty" \
+ ./openresty.SlackBuild
+
+Using the optional dynamic loadable module support in openresty >=
+1.10.0. Understand that dynamic modules are a new feature in \
+openresty and issues may arise until further testing is done.
+
+ DYNAMIC=yes ./openresty.SlackBuild
diff --git a/network/openresty/doinst.sh b/network/openresty/doinst.sh
new file mode 100644
index 0000000000..ea975c41a5
--- /dev/null
+++ b/network/openresty/doinst.sh
@@ -0,0 +1,35 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
+ if [ -e ${OLD} ]; then
+ cp -a ${OLD} ${NEW}.incoming
+ cat ${NEW} > ${NEW}.incoming
+ mv ${NEW}.incoming ${NEW}
+ fi
+ config ${NEW}
+}
+
+preserve_perms etc/rc.d/rc.openresty.new
+config etc/logrotate.d/openresty.new
+config etc/openresty/fastcgi_params.new
+config etc/openresty/fastcgi.conf.new
+config etc/openresty/mime.types.new
+config etc/openresty/nginx.conf.new
+config etc/openresty/koi-utf.new
+config etc/openresty/koi-win.new
+config etc/openresty/scgi_params.new
+config etc/openresty/uwsgi_params.new
+config etc/openresty/win-utf.new
diff --git a/network/openresty/openresty.SlackBuild b/network/openresty/openresty.SlackBuild
new file mode 100644
index 0000000000..62ba6dba89
--- /dev/null
+++ b/network/openresty/openresty.SlackBuild
@@ -0,0 +1,195 @@
+#!/bin/bash
+
+# Slackware build script for openresty
+
+# Copyright 2008 Cherife Li <cherife-#-dotimes.com>
+# Copyright 2011 Diogo Leal <diogo@diogoleal.com>
+# Copyright 2012-13 Francisco Ambrozio <sbo@franciscoambrozio.com>
+# Copyright 2014-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Special thanks to Thomas Morper for some configuration adjustments tips
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=openresty
+VERSION=${VERSION:-1.21.4.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS=""
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/opt/openresty \
+ --conf-path=/etc/openresty/nginx.conf \
+ --pid-path=/var/run/openresty.pid \
+ --user=${NGINXUSER:=nobody} \
+ --group=${NGINXGROUP:=nogroup} \
+ --error-log-path=/var/log/openresty/error.log \
+ --http-log-path=/var/log/openresty/access.log \
+ --with-file-aio \
+ --with-select_module \
+ --with-poll_module \
+ --with-threads \
+ --with-http_ssl_module \
+ --with-http_v2_module \
+ --with-http_realip_module \
+ --with-http_addition_module \
+ --with-http_xslt_module${DYNAMIC_MODULE} \
+ --with-http_image_filter_module${DYNAMIC_MODULE} \
+ --with-http_sub_module \
+ --with-http_dav_module \
+ --with-http_flv_module \
+ --with-http_mp4_module \
+ --with-http_gunzip_module \
+ --with-http_gzip_static_module \
+ --with-http_auth_request_module \
+ --with-http_random_index_module \
+ --with-http_secure_link_module \
+ --with-http_degradation_module \
+ --with-http_slice_module \
+ --with-http_stub_status_module \
+ --with-http_perl_module${DYNAMIC_MODULE} \
+ --with-mail${DYNAMIC_MODULE} \
+ --with-mail_ssl_module \
+ --with-stream${DYNAMIC_MODULE} \
+ --with-stream_ssl_module \
+ --with-stream_realip_module \
+ --with-stream_ssl_preread_module \
+ --with-cpp_test_module \
+ --with-compat \
+ --with-pcre \
+ --with-pcre-jit \
+ --with-libatomic \
+ $GEOIP_MOD \
+ $GPERF_MOD \
+ $ADD_MODULE
+
+gmake
+gmake install \
+ DESTDIR=$PKG \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/man/man8
+install -m 0644 ./build/nginx-1.21.4/docs/man/nginx.8 $PKG/usr/man/man8
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+find $PKG/opt/openresty/ -type d -empty -delete
+
+find $PKG -perm 444 -exec chmod 0644 {} \;
+find $PKG -perm 555 -exec chmod 0755 {} \;
+
+# Make the temp path.
+mkdir -p $PKG/var/lib/$PRGNAM
+chmod 0700 $PKG/var/lib/$PRGNAM
+chown $NGINXUSER $PKG/var/lib/$PRGNAM
+
+# Move html directory
+#mkdir -p $PKG/var/www
+#mv $PKG/usr/html $PKG/var/www
+
+# Add an init script
+mkdir -p $PKG/etc/rc.d
+cat $CWD/rc.openresty > $PKG/etc/rc.d/rc.openresty.new
+
+mkdir -p $PKG/etc/logrotate.d
+sed -e "s,@USER@,$NGINXUSER," -e "s,@GROUP@,$NGINXGROUP," $CWD/openresty.logrotate \
+ > $PKG/etc/logrotate.d/openresty.new
+
+# Set the permissions for the log directory.
+chown $NGINXUSER $PKG/var/log/$PRGNAM
+chmod 750 $PKG/var/log/$PRGNAM
+
+# Create sub-directory for virtual servers.
+mkdir $PKG/etc/$PRGNAM/conf.d
+
+mkdir -p $PKG/usr/doc/openresty-$VERSION
+#cp -a CHANGES* LICENSE README $PKG/usr/doc/openresty-$VERSION
+cat $CWD/openresty.SlackBuild > $PKG/usr/doc/openresty-$VERSION/openresty.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+ln -sf $PKG/opt/openresty/nginx/sbin/nginx /usr/bin/openresty
+
+# Don't clobber config files
+for i in $(find $PKG/etc/$PRGNAM -type f ! -name "*\.default"); do
+ mv "$i" "$i".new
+done
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openresty/openresty.info b/network/openresty/openresty.info
new file mode 100644
index 0000000000..e371a6cbf1
--- /dev/null
+++ b/network/openresty/openresty.info
@@ -0,0 +1,10 @@
+PRGNAM="openresty"
+VERSION="1.21.4.3"
+HOMEPAGE="https://openresty.org/"
+DOWNLOAD="https://openresty.org/download/openresty-1.21.4.3.tar.gz"
+MD5SUM="9bb434e21a71d891b233fc1636186060"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="janshuez"
+EMAIL="janshuez[at]outlook[dot]com"
diff --git a/network/openresty/openresty.logrotate b/network/openresty/openresty.logrotate
new file mode 100644
index 0000000000..44a32e710e
--- /dev/null
+++ b/network/openresty/openresty.logrotate
@@ -0,0 +1,12 @@
+/var/log/openresty/*.log {
+ su @USER@ @GROUP@
+ rotate 10
+ notifempty
+ size 5M
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.openresty rotate
+ endscript
+}
diff --git a/network/openresty/rc.openresty b/network/openresty/rc.openresty
new file mode 100644
index 0000000000..5df133ffc4
--- /dev/null
+++ b/network/openresty/rc.openresty
@@ -0,0 +1,96 @@
+#!/bin/sh
+#
+# Openresty daemon control script.
+# Written for Slackware Linux by Cherife Li <cherife-#-dotimes.com>.
+
+BIN=/usr/bin/openresty
+CONF=/etc/openresty/nginx.conf
+PID=/var/run/openresty.pid
+
+openresty_start() {
+ # Sanity checks.
+ if [ ! -r $CONF ]; then # no config file, exit:
+ echo "$CONF does not appear to exist. Abort."
+ exit 1
+ fi
+
+ if [ -s $PID ]; then
+ echo "Openresty appears to already be running?"
+ exit 1
+ fi
+
+ echo "Starting Openresty server daemon..."
+ if [ -x $BIN ]; then
+ $BIN -c $CONF
+ fi
+}
+
+openresty_test_conf() {
+ echo "Checking configuration for correct syntax and"
+ echo "then trying to open files referenced in configuration..."
+ $BIN -t -c $CONF
+}
+
+openresty_term() {
+ echo "Shutdown Openresty quickly..."
+ kill -TERM $(cat $PID)
+}
+
+openresty_stop() {
+ echo "Shutdown Openresty gracefully..."
+ kill -QUIT $(cat $PID)
+}
+
+openresty_reload() {
+ echo "Reloading Openresty configuration..."
+ kill -HUP $(cat $PID)
+}
+
+openresty_upgrade() {
+ echo "Upgrading to the new Openresty binary."
+ echo "Make sure the Openresty binary has been replaced with new one"
+ echo "or Openresty server modules were added/removed."
+ kill -USR2 $(cat $PID)
+ sleep 3
+ kill -QUIT $(cat $PID.oldbin)
+}
+
+openresty_rotate() {
+ echo "Rotating Openresty logs..."
+ kill -USR1 $(cat $PID)
+}
+
+openresty_restart() {
+ openresty_stop
+ sleep 3
+ openresty_start
+}
+
+case "$1" in
+ check)
+ openresty_test_conf
+ ;;
+ start)
+ openresty_start
+ ;;
+ term)
+ openresty_term
+ ;;
+ stop)
+ openresty_stop
+ ;;
+ reload)
+ openresty_reload
+ ;;
+ restart)
+ openresty_restart
+ ;;
+ upgrade)
+ openresty_upgrade
+ ;;
+ rotate)
+ openresty_rotate
+ ;;
+ *)
+ echo "usage: `basename $0` {check|start|term|stop|reload|restart|upgrade|rotate}"
+esac
diff --git a/network/openresty/slack-desc b/network/openresty/slack-desc
new file mode 100644
index 0000000000..7ad72b60a9
--- /dev/null
+++ b/network/openresty/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+openresty: openresty (a full-fledged web application server)
+openresty:
+openresty: bundling the standard nginx core.
+openresty: lots of 3rd-party nginx modules.
+openresty: as well as most of their external dependencies.
+openresty: as well as an IMAP/POP3 proxy server.
+openresty:
+openresty: Openresty is maintained by Yichun Zhang (agentzh).
+openresty: Nginx was written by Igor Sysoev.
+openresty: Homepage: https://openresty.org/
+openresty:
diff --git a/network/opensm/README b/network/opensm/README
index ba703b0980..7b58311899 100644
--- a/network/opensm/README
+++ b/network/opensm/README
@@ -4,9 +4,9 @@ for in order to initialize the InfiniBand hardware (at least
one per each InfiniBand subnet).
Run the SlackBild script with the environment variable METIS set to
-anything but "no" to enable metis support for nue routing:
+"YES" to enable metis support for nue routing:
- env METIS=yes ./opensm.SlackBuild
+ env METIS=YES ./opensm.SlackBuild
The optional dependency "metis" can be installed from either the
"metis" or the "suitesparse" package, both of which are available
diff --git a/network/opensm/opensm.SlackBuild b/network/opensm/opensm.SlackBuild
index 5f62f4e5a7..2b51a9254e 100644
--- a/network/opensm/opensm.SlackBuild
+++ b/network/opensm/opensm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opensm
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opensm
-VERSION=${VERSION:-3.3.22}
+VERSION=${VERSION:-3.3.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,13 +63,17 @@ fi
METIS=${METIS:-no}
WITH_METIS=
-if [ "$METIS" != no ]; then
+if [ "`echo $METIS | tr 'a-z' 'A-Z'`" = YES ]; then
for inc_dir in /usr/include/metis /usr/include/suitesparse; do
if [ -e $inc_dir/metis.h ]; then
WITH_METIS="--with-metis --with-metis-includes=$inc_dir"
break
fi
done
+ if [ -z "$WITH_METIS" ]; then
+ echo "Error: metis enabled but headers not found."
+ exit 1
+ fi
fi
set -e
@@ -108,8 +119,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opensm/opensm.info b/network/opensm/opensm.info
index a930e63f08..33a698e965 100644
--- a/network/opensm/opensm.info
+++ b/network/opensm/opensm.info
@@ -1,8 +1,8 @@
PRGNAM="opensm"
-VERSION="3.3.22"
+VERSION="3.3.24"
HOMEPAGE="https://github.com/linux-rdma"
-DOWNLOAD="https://github.com/linux-rdma/opensm/archive/3.3.22/opensm-3.3.22.tar.gz"
-MD5SUM="d29495665edbfede565cfa2958d7cf01"
+DOWNLOAD="https://github.com/linux-rdma/opensm/archive/3.3.24/opensm-3.3.24.tar.gz"
+MD5SUM="e469eb593366b22cea7415a860886338"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rdma-core"
diff --git a/network/opensmtpd-extras/opensmtpd-extras.SlackBuild b/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
index abea59c70e..d88626fa12 100644
--- a/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
+++ b/network/opensmtpd-extras/opensmtpd-extras.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opensmtpd-extras
# Yth | Pont-en-Royans, France | yth@ythogtha.org
#
@@ -19,11 +19,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opensmtpd-extras
SRCNAM=OpenSMTPD-extras
VERSION=${VERSION:-6.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +36,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -178,4 +188,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opensmtpd-filter-dkimsign/README b/network/opensmtpd-filter-dkimsign/README
new file mode 100644
index 0000000000..94f0e2330a
--- /dev/null
+++ b/network/opensmtpd-filter-dkimsign/README
@@ -0,0 +1,13 @@
+opensmtpd-filter-dkimsign adds a dkim signature to the email message.
+It supports the rsa and ed25519 signing algorithms.
+
+mandoc is needed only at build time.
+
+It is recommended to run filter-dkimsign as a non root user. For
+example, create a user and group "_dkimsign" (this name has come from
+an example in smtpd.conf(5)):
+
+ groupadd -g 376 _dkimsign
+ useradd -u 376 -g 376 -s /sbin/nologin -M _dkimsign
+
+The private key must be readable by this user.
diff --git a/network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.SlackBuild b/network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.SlackBuild
new file mode 100644
index 0000000000..9101a0c36c
--- /dev/null
+++ b/network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for opensmtpd-filter-dkimsign
+
+# Copyright 2023, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=opensmtpd-filter-dkimsign
+SPRGNAM=${PRGNAM#*-}
+VERSION=${VERSION:-0.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SPRGNAM-$VERSION
+tar xvf $CWD/$SPRGNAM-$VERSION.tar.gz
+cd $SPRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make -f Makefile.gnu
+make -f Makefile.gnu CFLAGS="$SLKCFLAGS" MANDIR=/usr/man/man8 install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.info b/network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.info
new file mode 100644
index 0000000000..35f3aa9e1e
--- /dev/null
+++ b/network/opensmtpd-filter-dkimsign/opensmtpd-filter-dkimsign.info
@@ -0,0 +1,10 @@
+PRGNAM="opensmtpd-filter-dkimsign"
+VERSION="0.6"
+HOMEPAGE="https://imperialat.at/dev/filter-dkimsign/"
+DOWNLOAD="https://imperialat.at/releases/filter-dkimsign-0.6.tar.gz"
+MD5SUM="f1ec294c9f1526d07c569e66d2d90d18"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libopensmtpd"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/opensmtpd-filter-dkimsign/slack-desc b/network/opensmtpd-filter-dkimsign/slack-desc
new file mode 100644
index 0000000000..4a66d92236
--- /dev/null
+++ b/network/opensmtpd-filter-dkimsign/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+opensmtpd-filter-dkimsign: opensmtpd-filter-dkimsign (OpenSMTPD filter for DKIM signing)
+opensmtpd-filter-dkimsign:
+opensmtpd-filter-dkimsign:
+opensmtpd-filter-dkimsign: opensmtpd-filter-dkimsign adds a dkim signature to the email message.
+opensmtpd-filter-dkimsign: It supports the rsa and ed25519 signing algorithms.
+opensmtpd-filter-dkimsign:
+opensmtpd-filter-dkimsign: Homepage: https://imperialat.at/dev/filter-dkimsign/
+opensmtpd-filter-dkimsign:
+opensmtpd-filter-dkimsign:
+opensmtpd-filter-dkimsign:
+opensmtpd-filter-dkimsign:
diff --git a/network/opensmtpd/README b/network/opensmtpd/README
index 39e7203c20..fba4cc0dd4 100644
--- a/network/opensmtpd/README
+++ b/network/opensmtpd/README
@@ -3,6 +3,10 @@ as defined by RFC 5321, with some additional standard extensions.
It allows ordinary machines to exchange e-mails with other systems
speaking the SMTP protocol.
+This package conflicts with the stock postfix (or sendmail) package
+included in Slackware and overwrites some of its files,
+so remove the postfix (or sendmail) package before installing opensmtpd
+
You must have smtpd and smtpq users and groups on the system for
privilege separation - something like this should suffice:
@@ -11,20 +15,18 @@ privilege separation - something like this should suffice:
groupadd -g 271 smtpq
useradd -u 271 -g 271 -r -s /bin/false -d /var/empty smtpq
-You will want to add /etc/rc.d/rc.opensmtpd to rc.local so that it
-will start on boot (or perhaps consider symlinking rc.sendmail to
-rc.opensmtpd).
-
-This package conflicts with the stock sendmail package included in
-Slackware and overwrites some of its files, so remove the sendmail
-package before installing opensmtpd.
+You will want to modify rc.local so that OpenSMTPD
+will start on boot something like this:
-Alpine hangs when sending mail using the opensmtp sendmail command and the
-opensmtpd server is down.
+ # start opensmtpd a replacement for sendmail and postfix
+ if [ -x /etc/rc.d/rc.opensmtpd ]; then
+ . /etc/rc.d/rc.opensmtpd start
+ fi
-To prevent this, modify the /etc/pine.conf or the user .pinerc to
-send the mail directly to the server instead of using the
-opensmtpd sendmail command:
+Optional Dependency: LibreSSL
- smtp-server=localhost
+To use the LibreSSL runtime libraries
+ First install LibreSSL
+ then build OpenSMTPD
+For hints on using alpine with OpenSMTPD see the README.alpine file
diff --git a/network/opensmtpd/README.alpine b/network/opensmtpd/README.alpine
new file mode 100644
index 0000000000..e1d149b683
--- /dev/null
+++ b/network/opensmtpd/README.alpine
@@ -0,0 +1,21 @@
+
+Alpine hangs when sending mail using the opensmtp sendmail command and
+the opensmtpd server is down.
+
+To prevent this, modify the /etc/pine.conf or the user .pinerc to
+send the mail directly to the server instead of using the
+opensmtpd sendmail command:
+
+ smtp-server=localhost
+
+If the OpenSMTPD server is down, then alpine will indicate that
+the localhost has refused the connection.
+
+Or modify the sendmail command to have the -t option:
+
+ sendmail-path=/usr/sbin/sendmail -t
+
+And if the OpenSMTPD server is down, then alpine will indicate that
+the sendmail command has gotten an error.
+
+
diff --git a/network/opensmtpd/aliases b/network/opensmtpd/aliases
index ea54878974..85cc8e71ac 100644
--- a/network/opensmtpd/aliases
+++ b/network/opensmtpd/aliases
@@ -1,23 +1,49 @@
-# See aliases(5) for more information
+# Sample aliases file installed in /etc/opensmtpd/aliases
+#
+# Aliases in this file will NOT be expanded in the header from
+# Mail, but WILL be visible over networks or from /usr/libexec/mail.local.
+#
+# >>>>>>>>>> The program "newaliases" must be run after
+# >> NOTE >> this file is updated for any changes to
+# >>>>>>>>>> show through to smtpd.
+#
+
+# Person who should get root's mail. Don't receive mail as root!
+#root: you
# Basic system aliases -- these MUST be present
MAILER-DAEMON: postmaster
postmaster: root
# General redirections for pseudo accounts
-bin: root
daemon: root
named: root
-nobody: root
uucp: root
www: root
ftp-bugs: root
+# Redirections for pseudo accounts that should not receive mail
+bin: /dev/null
+build: /dev/null
+nobody: /dev/null
+sshd: /dev/null
+
# Well-known aliases
manager: root
dumper: root
operator: root
-abuse: postmaster
+
+# RFC 2142: NETWORK OPERATIONS MAILBOX NAMES
+abuse: root
+# noc: root
+security: root
+
+# RFC 2142: SUPPORT MAILBOX NAMES FOR SPECIFIC INTERNET SERVICES
+# hostmaster: root
+# usenet: root
+# news: usenet
+# webmaster: root
+# ftp: root
# trap decode to catch security attacks
decode: root
diff --git a/network/opensmtpd/fix-crash-on-authentication.patch b/network/opensmtpd/fix-crash-on-authentication.patch
deleted file mode 100644
index c20b5e0a0e..0000000000
--- a/network/opensmtpd/fix-crash-on-authentication.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 9b5f70b93e038df5446bd37a4adac5a0380748e7 Mon Sep 17 00:00:00 2001
-From: johannes <johannes.brechtmann@gmail.com>
-Date: Wed, 21 Feb 2018 23:57:11 +0100
-Subject: [PATCH] crypt_checkpass: include HAVE_CRYPT_H definition, add NULL
- check
-
----
- openbsd-compat/crypt_checkpass.c | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/openbsd-compat/crypt_checkpass.c b/openbsd-compat/crypt_checkpass.c
-index dafd2dae..d10b3a57 100644
---- a/openbsd-compat/crypt_checkpass.c
-+++ b/openbsd-compat/crypt_checkpass.c
-@@ -1,5 +1,6 @@
- /* OPENBSD ORIGINAL: lib/libc/crypt/cryptutil.c */
-
-+#include "includes.h"
- #include <errno.h>
- #ifdef HAVE_CRYPT_H
- #include <crypt.h>
-@@ -10,6 +11,8 @@
- int
- crypt_checkpass(const char *pass, const char *goodhash)
- {
-+ char *c;
-+
- if (goodhash == NULL)
- goto fail;
-
-@@ -17,7 +20,11 @@ crypt_checkpass(const char *pass, const char *goodhash)
- if (strlen(goodhash) == 0 && strlen(pass) == 0)
- return 0;
-
-- if (strcmp(crypt(pass, goodhash), goodhash) == 0)
-+ c = crypt(pass, goodhash);
-+ if (c == NULL)
-+ goto fail;
-+
-+ if (strcmp(c, goodhash) == 0)
- return 0;
-
- fail:
diff --git a/network/opensmtpd/openbsd64-020-smtpd.patch b/network/opensmtpd/openbsd64-020-smtpd.patch
deleted file mode 100644
index 8ce7178da8..0000000000
--- a/network/opensmtpd/openbsd64-020-smtpd.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-OpenBSD 6.4 errata 020, August 2, 2019
-
-smtpd can crash on excessively large input, causing a denial of service.
-
---- a/smtpd/smtp_session.c 3 Sep 2018 19:01:29 -0000 1.337
-+++ b/smtpd/smtp_session.c 1 Aug 2019 21:18:53 -0000
-@@ -1904,15 +1904,21 @@ smtp_reply(struct smtp_session *s, char
- {
- va_list ap;
- int n;
-- char buf[LINE_MAX], tmp[LINE_MAX];
-+ char buf[LINE_MAX*2], tmp[LINE_MAX*2];
-
- va_start(ap, fmt);
- n = vsnprintf(buf, sizeof buf, fmt, ap);
- va_end(ap);
-- if (n == -1 || n >= LINE_MAX)
-- fatalx("smtp_reply: line too long");
-+ if (n < 0)
-+ fatalx("smtp_reply: response format error");
- if (n < 4)
- fatalx("smtp_reply: response too short");
-+ if (n >= (int)sizeof buf) {
-+ /* only first three bytes are used by SMTP logic,
-+ * so if _our_ reply does not fit entirely in the
-+ * buffer, it's ok to truncate.
-+ */
-+ }
-
- log_trace(TRACE_SMTP, "smtp: %p: >>> %s", s, buf);
-
diff --git a/network/opensmtpd/openbsd65-029-smptd-tls.patch b/network/opensmtpd/openbsd65-029-smptd-tls.patch
deleted file mode 100644
index a2727decf8..0000000000
--- a/network/opensmtpd/openbsd65-029-smptd-tls.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-OpenBSD 6.5 errata 029, January 30, 2020:
-
-smtpd can crash on opportunistic TLS downgrade, causing a denial of service.
-
---- usr.sbin/smtpd/mta_session.c 23 Dec 2018 16:37:53 -0000 1.115
-+++ usr.sbin/smtpd/mta_session.c 20 Jan 2020 10:36:58 -0000
-@@ -1292,40 +1292,20 @@ mta_io(struct io *io, int evt, void *arg
- break;
-
- case IO_ERROR:
-+ case IO_TLSERROR:
- log_debug("debug: mta: %p: IO error: %s", s, io_error(io));
-- if (!s->ready) {
-- mta_error(s, "IO Error: %s", io_error(io));
-- mta_connect(s);
-- break;
-- }
-- else if (!(s->flags & (MTA_FORCE_TLS|MTA_FORCE_SMTPS|MTA_FORCE_ANYSSL))) {
-- /* error in non-strict SSL negotiation, downgrade to plain */
-- if (s->flags & MTA_TLS) {
-- log_info("smtp-out: Error on session %016"PRIx64
-- ": opportunistic TLS failed, "
-- "downgrading to plain", s->id);
-- s->flags &= ~MTA_TLS;
-- s->flags |= MTA_DOWNGRADE_PLAIN;
-- mta_connect(s);
-- break;
-- }
-- }
-- mta_error(s, "IO Error: %s", io_error(io));
-- mta_free(s);
-- break;
-
-- case IO_TLSERROR:
-- log_debug("debug: mta: %p: TLS IO error: %s", s, io_error(io));
-- if (!(s->flags & (MTA_FORCE_TLS|MTA_FORCE_SMTPS|MTA_FORCE_ANYSSL))) {
-+ if (s->state == MTA_STARTTLS && s->use_smtp_tls) {
- /* error in non-strict SSL negotiation, downgrade to plain */
-- log_info("smtp-out: TLS Error on session %016"PRIx64
-- ": TLS failed, "
-+ log_info("smtp-out: Error on session %016"PRIx64
-+ ": opportunistic TLS failed, "
- "downgrading to plain", s->id);
- s->flags &= ~MTA_TLS;
- s->flags |= MTA_DOWNGRADE_PLAIN;
- mta_connect(s);
- break;
- }
-+
- mta_error(s, "IO Error: %s", io_error(io));
- mta_free(s);
- break;
diff --git a/network/opensmtpd/openbsd65-031-smtpd-envelope.patch b/network/opensmtpd/openbsd65-031-smtpd-envelope.patch
deleted file mode 100644
index cd59f1d6fa..0000000000
--- a/network/opensmtpd/openbsd65-031-smtpd-envelope.patch
+++ /dev/null
@@ -1,199 +0,0 @@
-OpenBSD 6.5 errata 031, February 24, 2020:
-
-An out of bounds read in smtpd allows an attacker to inject arbitrary
-commands into the envelope file which are then executed as root.
-Separately, missing privilege revocation in smtpctl allows arbitrary
-commands to be run with the _smtpq group.
-
---- a/smtpd/makemap.c.orig 2018-01-10 05:06:40.000000000 -0800
-+++ b/smtpd/makemap.c 2020-02-24 15:41:18.278340410 -0800
-@@ -105,8 +105,13 @@ makemap(int prog_mode, int argc, char *a
- int ch, dbputs = 0, Uflag = 0;
- DBTYPE dbtype = DB_HASH;
- char *p;
-+ gid_t gid;
- int fd = -1;
-
-+ gid = getgid();
-+ if (setresgid(gid, gid, gid) == -1)
-+ err(1, "setresgid");
-+
- log_init(1, LOG_MAIL);
-
- mode = prog_mode;
-@@ -180,9 +185,9 @@ makemap(int prog_mode, int argc, char *a
- errx(1, "database name too long");
- }
-
-- execlp("makemap", "makemap", "-d", argv[0], "-o", dbname, "-",
-- (char *)NULL);
-- err(1, "execlp");
-+ execl(PATH_MAKEMAP, "makemap", "-d", argv[0], "-o", dbname,
-+ "-", (char *)NULL);
-+ err(1, "execl");
- }
-
- if (mode == P_NEWALIASES) {
---- a/smtpd/mta_session.c.orig 2020-02-08 10:24:17.692029666 -0800
-+++ b/smtpd/mta_session.c 2020-02-24 15:46:46.121342818 -0800
-@@ -1214,7 +1214,7 @@ mta_io(struct io *io, int evt, void *arg
- if (cont) {
- if (s->replybuf[0] == '\0')
- (void)strlcat(s->replybuf, line, sizeof s->replybuf);
-- else {
-+ else if (len > 4) {
- line = line + 4;
- if (isdigit((int)*line) && *(line + 1) == '.' &&
- isdigit((int)*line+2) && *(line + 3) == '.' &&
-@@ -1229,7 +1229,9 @@ mta_io(struct io *io, int evt, void *arg
- /* last line of a reply, check if we're on a continuation to parse out status and ESC.
- * if we overflow reply buffer or are not on continuation, log entire last line.
- */
-- if (s->replybuf[0] != '\0') {
-+ if (s->replybuf[0] == '\0')
-+ (void)strlcat(s->replybuf, line, sizeof s->replybuf);
-+ else if (len > 4) {
- p = line + 4;
- if (isdigit((int)*p) && *(p + 1) == '.' &&
- isdigit((int)*p+2) && *(p + 3) == '.' &&
-@@ -1238,8 +1240,6 @@ mta_io(struct io *io, int evt, void *arg
- if (strlcat(s->replybuf, p, sizeof s->replybuf) >= sizeof s->replybuf)
- (void)strlcpy(s->replybuf, line, sizeof s->replybuf);
- }
-- else
-- (void)strlcpy(s->replybuf, line, sizeof s->replybuf);
-
- if (s->state == MTA_QUIT) {
- log_info("%016"PRIx64" mta event=closed reason=quit messages=%zu",
---- a/smtpd/smtpctl.c.orig 2018-01-10 05:06:40.000000000 -0800
-+++ b/smtpd/smtpctl.c 2020-02-24 14:57:04.687320914 -0800
-@@ -1116,7 +1116,7 @@ sendmail_compat(int argc, char **argv)
- */
- for (i = 1; i < argc; i++)
- if (strncmp(argv[i], "-bi", 3) == 0)
-- exit(makemap(P_NEWALIASES, argc, argv));
-+ exit(makemap(P_SENDMAIL, argc, argv));
-
- if (!srv_connect())
- offlinefp = offline_file();
---- a/smtpd/smtpd-defines.h.orig 2018-01-10 05:06:40.000000000 -0800
-+++ b/smtpd/smtpd-defines.h 2020-02-24 15:00:29.616322420 -0800
-@@ -46,6 +46,9 @@
- #ifndef PATH_SPOOL
- #define PATH_SPOOL "/var/spool/smtpd"
- #endif
-+#ifndef PATH_MAKEUP
-+#define PATH_MAKEMAP "/usr/sbin/makemap"
-+#endif
-
- #define SUBADDRESSING_DELIMITER "+"
-
---- a/smtpd/smtpd.c.orig 2018-01-10 05:06:40.000000000 -0800
-+++ b/smtpd/smtpd.c 2020-02-24 15:55:55.503346854 -0800
-@@ -109,9 +109,10 @@ static struct mproc *setup_peer(enum smt
- static int imsg_wait(struct imsgbuf *, struct imsg *, int);
-
- static void offline_scan(int, short, void *);
--static int offline_add(char *);
-+static int offline_add(char *, uid_t, gid_t);
- static void offline_done(void);
--static int offline_enqueue(char *);
-+static int offline_enqueue(char *, uid_t, gid_t);
-+
-
- static void purge_task(void);
- static int parent_auth_user(const char *, const char *);
-@@ -136,6 +137,8 @@ struct child {
-
- struct offline {
- TAILQ_ENTRY(offline) entry;
-+ uid_t uid;
-+ gid_t gid;
- char *path;
- };
-
-@@ -1409,7 +1412,8 @@ offline_scan(int fd, short ev, void *arg
- continue;
- }
-
-- if (offline_add(e->fts_name)) {
-+ if (offline_add(e->fts_name, e->fts_statp->st_uid,
-+ e->fts_statp->st_gid)) {
- log_warnx("warn: smtpd: "
- "could not add offline message %s", e->fts_name);
- continue;
-@@ -1429,7 +1433,7 @@ offline_scan(int fd, short ev, void *arg
- }
-
- static int
--offline_enqueue(char *name)
-+offline_enqueue(char *name, uid_t uid, gid_t gid)
- {
- char *path;
- struct stat sb;
-@@ -1491,6 +1495,18 @@ offline_enqueue(char *name)
- _exit(1);
- }
-
-+ if (sb.st_uid != uid) {
-+ log_warnx("warn: smtpd: file %s has bad uid %d",
-+ path, sb.st_uid);
-+ _exit(1);
-+ }
-+
-+ if (sb.st_gid != gid) {
-+ log_warnx("warn: smtpd: file %s has bad gid %d",
-+ path, sb.st_gid);
-+ _exit(1);
-+ }
-+
- pw = getpwuid(sb.st_uid);
- if (pw == NULL) {
- log_warnx("warn: smtpd: getpwuid for uid %d failed",
-@@ -1547,17 +1563,19 @@ offline_enqueue(char *name)
- }
-
- static int
--offline_add(char *path)
-+offline_add(char *path, uid_t uid, gid_t gid)
- {
- struct offline *q;
-
- if (offline_running < OFFLINE_QUEUEMAX)
- /* skip queue */
-- return offline_enqueue(path);
-+ return offline_enqueue(path, uid, gid);
-
- q = malloc(sizeof(*q) + strlen(path) + 1);
- if (q == NULL)
- return (-1);
-+ q->uid = uid;
-+ q->gid = gid;
- q->path = (char *)q + sizeof(*q);
- memmove(q->path, path, strlen(path) + 1);
- TAILQ_INSERT_TAIL(&offline_q, q, entry);
-@@ -1576,7 +1594,8 @@ offline_done(void)
- if ((q = TAILQ_FIRST(&offline_q)) == NULL)
- break; /* all done */
- TAILQ_REMOVE(&offline_q, q, entry);
-- offline_enqueue(q->path);
-+ offline_enqueue(q->path, q->uid, q->gid);
-+
- free(q);
- }
- }
---- a/smtpd/smtpd.h.orig 2018-01-10 05:06:40.000000000 -0800
-+++ b/smtpd/smtpd.h 2020-02-24 15:20:09.043331085 -0800
-@@ -128,8 +128,10 @@
- #define MTA_EXT_DSN 0x400
-
-
--#define P_NEWALIASES 0
--#define P_MAKEMAP 1
-+#define P_SENDMAIL 0
-+#define P_NEWALIASES 1
-+#define P_MAKEMAP 2
-+
-
- struct userinfo {
- char username[SMTPD_VUSERNAME_SIZE];
diff --git a/network/opensmtpd/openbsd66-019-smtpd-exec.patch b/network/opensmtpd/openbsd66-019-smtpd-exec.patch
deleted file mode 100644
index 93ce19dcb1..0000000000
--- a/network/opensmtpd/openbsd66-019-smtpd-exec.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-OpenBSD 6.6 errata 019, January 30, 2020:
-
-An incorrect check allows an attacker to trick mbox delivery into executing
-arbitrary commands as root and lmtp delivery into executing arbitrary commands
-as an unprivileged user.
-
---- usr.sbin/smtpd/smtp_session.c 4 Oct 2019 08:34:29 -0000 1.415
-+++ usr.sbin/smtpd/smtp_session.c 26 Jan 2020 05:56:37 -0000
-@@ -2012,24 +2012,22 @@ smtp_mailaddr(struct mailaddr *maddr, ch
- memmove(maddr->user, p, strlen(p) + 1);
- }
-
-- if (!valid_localpart(maddr->user) ||
-- !valid_domainpart(maddr->domain)) {
-- /* accept empty return-path in MAIL FROM, required for bounces */
-- if (mailfrom && maddr->user[0] == '\0' && maddr->domain[0] == '\0')
-- return (1);
-+ /* accept empty return-path in MAIL FROM, required for bounces */
-+ if (mailfrom && maddr->user[0] == '\0' && maddr->domain[0] == '\0')
-+ return (1);
-
-- /* no user-part, reject */
-- if (maddr->user[0] == '\0')
-- return (0);
--
-- /* no domain, local user */
-- if (maddr->domain[0] == '\0') {
-- (void)strlcpy(maddr->domain, domain,
-- sizeof(maddr->domain));
-- return (1);
-- }
-+ /* no or invalid user-part, reject */
-+ if (maddr->user[0] == '\0' || !valid_localpart(maddr->user))
- return (0);
-+
-+ /* no domain part, local user */
-+ if (maddr->domain[0] == '\0') {
-+ (void)strlcpy(maddr->domain, domain,
-+ sizeof(maddr->domain));
- }
-+
-+ if (!valid_domainpart(maddr->domain))
-+ return (0);
-
- return (1);
- }
diff --git a/network/opensmtpd/opensmtpd.SlackBuild b/network/opensmtpd/opensmtpd.SlackBuild
index 54a4f8e4cf..342996614b 100644
--- a/network/opensmtpd/opensmtpd.SlackBuild
+++ b/network/opensmtpd/opensmtpd.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opensmtpd
# Copyright 2013-2014 Robby Workman, Northport, Alabama, USA
-# Copyright 2015-2020 Richard Narron, California, USA
+# Copyright 2015-2024 Richard Narron, California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opensmtpd
-VERSION=${VERSION:-6.0.3p1}
-BUILD=${BUILD:-6}
+VERSION=${VERSION:-7.5.0p0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,9 +91,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -92,23 +103,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# fix reply buffer overflow
-cat $CWD/openbsd64-020-smtpd.patch | patch -p1
-
-# fix tls downgrade
-cat $CWD/openbsd65-029-smptd-tls.patch | patch -p1
-
-# fix exec
-cat $CWD/openbsd66-019-smtpd-exec.patch | patch -p1
-
-# check null from crypt function
-cat $CWD/fix-crash-on-authentication.patch | patch -p1
-
-# fix smtpctl envelop
-cat $CWD/openbsd65-031-smtpd-envelope.patch | patch -p1
-
-CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \
-CXXFLAGS="$SLKCFLAGS" \
+# pickup files from libressl if it is installed
+CFLAGS="$SLKCFLAGS -I/usr/include/libressl" \
+LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}/libressl -lcrypto -lssl \
+-Wl,-rpath=/usr/lib${LIBDIRSUFFIX}/libressl" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -116,7 +114,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--with-path-socket=/var/run \
--mandir=/usr/man \
- --with-mantype=doc \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-rpath \
--with-path-mbox=/var/spool/mail \
@@ -150,10 +147,16 @@ ln -s smtpctl $PKG/usr/sbin/makemap
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.opensmtpd > $PKG/etc/rc.d/rc.opensmtpd.new
-# Don't clobber the config file
+# copy original smtpd.conf file
+cp -p $PKG/etc/opensmtpd/smtpd.conf $PKG/etc/opensmtpd/smtpd.conf.upstream.default
+
+# Don't clobber the existing config file
mv $PKG/etc/opensmtpd/smtpd.conf $PKG/etc/opensmtpd/smtpd.conf.new
# and reflect the correct path to aliases file
-sed -i "s,/etc/mail/,/etc/opensmtpd/,g" $PKG/etc/opensmtpd/smtpd.conf.new
+# and use mbox instead of maildir
+sed -i -e "s,/etc/mail/,/etc/opensmtpd/,g" \
+ -e "s,maildir alias,mbox alias,g" \
+ $PKG/etc/opensmtpd/smtpd.conf.new
# Create (but don't clobber) the aliases file
cat $CWD/aliases > $PKG/etc/opensmtpd/aliases.new
@@ -175,14 +178,15 @@ chmod 0700 $PKG/var/spool/smtpd/purge
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL LICENSE README.md THANKS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware
+cat $CWD/README.alpine > $PKG/usr/doc/$PRGNAM-$VERSION/README.alpine
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -p -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opensmtpd/opensmtpd.info b/network/opensmtpd/opensmtpd.info
index 0930880299..31413fe623 100644
--- a/network/opensmtpd/opensmtpd.info
+++ b/network/opensmtpd/opensmtpd.info
@@ -1,10 +1,10 @@
PRGNAM="opensmtpd"
-VERSION="6.0.3p1"
-HOMEPAGE="https://www.opensmtpd.org/"
-DOWNLOAD="https://www.opensmtpd.org/archives/opensmtpd-6.0.3p1.tar.gz"
-MD5SUM="66e496bb0f3303d660744f4fa2178765"
+VERSION="7.5.0p0"
+HOMEPAGE="https://opensmtpd.org/"
+DOWNLOAD="https://www.opensmtpd.org/archives/opensmtpd-7.5.0p0.tar.gz"
+MD5SUM="81d1987ab1bdbb04dbbedffb3334cc01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libasr"
+REQUIRES=""
MAINTAINER="Richard Narron"
EMAIL="richard@aaazen.com"
diff --git a/network/opensmtpd/rc.opensmtpd b/network/opensmtpd/rc.opensmtpd
index b75e3c53e4..f3154061c5 100644
--- a/network/opensmtpd/rc.opensmtpd
+++ b/network/opensmtpd/rc.opensmtpd
@@ -10,7 +10,7 @@ smtpd_start() {
smtpd_stop() {
echo "Stopping OpenSMTPD"
- /usr/sbin/smtpctl stop 1>/dev/null 2>/dev/null || /usr/bin/pkill smtpd
+ /usr/bin/pkill -f /usr/sbin/smtpd
}
# Restart smtpd:
@@ -20,6 +20,12 @@ smtpd_restart() {
smtpd_start
}
+# Test the smtpd configuration:
+smtpd_testconf() {
+ echo "testing OpenSMTPD configuration: /usr/sbin/smtpd -n"
+ /usr/sbin/smtpd -n
+}
+
case "$1" in
'start')
smtpd_start
@@ -30,6 +36,9 @@ case "$1" in
'restart')
smtpd_restart
;;
+'testconf')
+ smtpd_testconf
+ ;;
*)
- echo "usage $0 start|stop|restart"
+ echo "usage $0 start|stop|restart|testconf"
esac
diff --git a/network/openssh-krb5/README b/network/openssh-krb5/README
deleted file mode 100644
index 0ca4d8a065..0000000000
--- a/network/openssh-krb5/README
+++ /dev/null
@@ -1,12 +0,0 @@
-openssh-krb5 (Secure Shell daemon and clients - with Kerberos)
-
-ssh (Secure Shell) is a program for logging into a remote machine and
-for executing commands on a remote machine. It is intended to replace
-rlogin and rsh, and provide secure encrypted communications between
-two untrusted hosts over an insecure network.
-
-This package builds openssh with Kerberos support, and it does not
-conflict with the stock Slackware package (in fact, that package needs
-to stay, as this depends on other files contained in it).
-
-You will need to start /etc/rc.d/rc.sshd.krb5 during boot.
diff --git a/network/openssh-krb5/doinst.sh b/network/openssh-krb5/doinst.sh
deleted file mode 100644
index 18db6dbc1e..0000000000
--- a/network/openssh-krb5/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.sshd.krb5.new
-
diff --git a/network/openssh-krb5/openssh-7.4p1-libwrap.diff.gz b/network/openssh-krb5/openssh-7.4p1-libwrap.diff.gz
deleted file mode 100644
index 2e1900a528..0000000000
--- a/network/openssh-krb5/openssh-7.4p1-libwrap.diff.gz
+++ /dev/null
Binary files differ
diff --git a/network/openssh-krb5/openssh-krb5.SlackBuild b/network/openssh-krb5/openssh-krb5.SlackBuild
deleted file mode 100644
index 1cd66566ee..0000000000
--- a/network/openssh-krb5/openssh-krb5.SlackBuild
+++ /dev/null
@@ -1,126 +0,0 @@
-#!/bin/sh
-
-# Copyright 2000 BSDi, Inc. Concord, CA, USA
-# Copyright 2001, 2002, 2003, 2004 Slackware Linux, Inc. Concord, CA, USA
-# Copyright 2006, 2007, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Modified by Leigh Wedding <leigh.wedding@telstra.com> to build with
-# Kerberos support. Note: requires MIT Kerberos to be installed. Generated
-# package also relies in standard Slackware openssh package being installed.
-# Generated package does not overwrite or interfere with the standard
-# Slackware openssh package.
-
-PRGNAM=openssh-krb5
-SRCNAM=openssh
-VERSION=${VERSION:-7.4p1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="-O2 -march=armv4 -mtune=xscale"
-elif [ "$ARCH" = "armel" ]; then
- SLKCFLAGS="-O2 -march=armv4t"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-zcat $CWD/openssh-7.4p1-libwrap.diff.gz | patch -p1
-autoreconf -vif
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr/kerberos \
- --mandir=/usr/kerberos/man \
- --sysconfdir=/etc/ssh \
- --without-pam \
- --with-md5-passwords \
- --with-tcp-wrappers \
- --with-default-path=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/kerberos/bin \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-kerberos5=/usr/kerberos \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Remove un-needed stuff
-rm -r $PKG/usr/kerberos/man/ $PKG/etc/ssh $PKG/var
-rm -f $PKG/usr/kerberos/bin/ssh-{keyscan,keygen,agent,add}
-#for i in ssh-keyscan ssh-keygen ssh-agent ssh-add; do
-# find $PKG -name ${i}\* -exec rm {} \;
-#done
-
-# Rename programs with .krb5 extension so we don't interfere with native
-for i in ssh scp sftp; do
- mv $PKG/usr/kerberos/bin/$i $PKG/usr/kerberos/bin/$i.krb5
-done
-
-# Add init script
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.sshd.krb5 > $PKG/etc/rc.d/rc.sshd.krb5.new
-chmod 0755 $PKG/etc/rc.d/rc.sshd.krb5.new
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openssh-krb5/openssh-krb5.info b/network/openssh-krb5/openssh-krb5.info
deleted file mode 100644
index 0163b7453c..0000000000
--- a/network/openssh-krb5/openssh-krb5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openssh-krb5"
-VERSION="7.4p1"
-HOMEPAGE="http://www.openssh.com/"
-DOWNLOAD="http://slackware.osuosl.org/slackware-14.2/patches/source/openssh/openssh-7.4p1.tar.gz"
-MD5SUM="b2db2a83caf66a208bb78d6d287cdaa3"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="krb5"
-MAINTAINER="Leigh Wedding"
-EMAIL="leigh.wedding@telstra.com"
diff --git a/network/openssh-krb5/rc.sshd.krb5 b/network/openssh-krb5/rc.sshd.krb5
deleted file mode 100644
index 5a324f0c2e..0000000000
--- a/network/openssh-krb5/rc.sshd.krb5
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-# Start/stop/restart the secure shell server:
-
-sshd_start() {
- # Create host keys if needed.
- if [ ! -r /etc/ssh/ssh_host_key ]; then
- /usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ''
- fi
- if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
- /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
- fi
- if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
- /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
- fi
- if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
- /usr/bin/ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''
- fi
- if [ ! -f /etc/ssh/ssh_host_ed25519_key ]; then
- /usr/bin/ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ''
- fi
- /usr/kerberos/sbin/sshd
-}
-
-sshd_stop() {
- killall sshd
-}
-
-sshd_restart() {
- if [ -r /var/run/sshd.pid ]; then
- echo "WARNING: killing listener process only. To kill every sshd process, you must"
- echo " use 'rc.sshd stop'. 'rc.sshd restart' kills only the parent sshd to"
- echo " allow an admin logged in through sshd to use 'rc.sshd restart' without"
- echo " being cut off. If sshd has been upgraded, new connections will now"
- echo " use the new version, which should be a safe enough approach."
- kill `cat /var/run/sshd.pid`
- else
- echo "WARNING: There does not appear to be a parent instance of sshd running."
- echo " If you really want to kill all running instances of sshd (including"
- echo " any sessions currently in use), run '/etc/rc.d/rc.sshd stop' instead."
- exit 1
- fi
- sleep 1
- sshd_start
-}
-
-case "$1" in
-'start')
- sshd_start
- ;;
-'stop')
- sshd_stop
- ;;
-'restart')
- sshd_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
-
diff --git a/network/openssh-krb5/slack-desc b/network/openssh-krb5/slack-desc
deleted file mode 100644
index be6325e2a6..0000000000
--- a/network/openssh-krb5/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openssh-krb5: openssh-krb5 (Secure Shell daemon and clients - with Kerberos)
-openssh-krb5:
-openssh-krb5: ssh (Secure Shell) is a program for logging into a remote machine and
-openssh-krb5: for executing commands on a remote machine. It is intended to replace
-openssh-krb5: rlogin and rsh, and provide secure encrypted communications between
-openssh-krb5: two untrusted hosts over an insecure network. sshd (SSH Daemon) is
-openssh-krb5: the daemon program for ssh. OpenSSH is based on the last free version
-openssh-krb5: of Tatu Ylonen's SSH, further enhanced and cleaned up by Aaron
-openssh-krb5: Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt, and
-openssh-krb5: Dug Song. It has a homepage at http://www.openssh.com/
-openssh-krb5:
diff --git a/network/openvas-cli/README b/network/openvas-cli/README
deleted file mode 100644
index 7ecb115885..0000000000
--- a/network/openvas-cli/README
+++ /dev/null
@@ -1,4 +0,0 @@
-openvas-cli (CLI for OpenVAS)
-
-This is the CLI module for the Open Vulnerability Assessment
-System (OpenVAS).
diff --git a/network/openvas-cli/openvas-cli.SlackBuild b/network/openvas-cli/openvas-cli.SlackBuild
deleted file mode 100644
index f76e48f398..0000000000
--- a/network/openvas-cli/openvas-cli.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openvas-cli
-
-# Copyright 2015,2017 Kent Fritz, Mountain View, CA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openvas-cli
-VERSION=${VERSION:-1.4.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLOCALSTATEDIR=/var \
- -DSYSCONFDIR=/etc \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr
-rmdir $PKG/usr/share
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openvas-cli/openvas-cli.info b/network/openvas-cli/openvas-cli.info
deleted file mode 100644
index 7af2383962..0000000000
--- a/network/openvas-cli/openvas-cli.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openvas-cli"
-VERSION="1.4.5"
-HOMEPAGE="http://www.openvas.org"
-DOWNLOAD="http://wald.intevation.org/frs/download.php/2397/openvas-cli-1.4.5.tar.gz"
-MD5SUM="4b03ea3e851d787ff7596bd3e08b20ba"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openvas-libraries"
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/network/openvas-cli/slack-desc b/network/openvas-cli/slack-desc
deleted file mode 100644
index 63e444a4c8..0000000000
--- a/network/openvas-cli/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openvas-cli: openvas-cli (CLI for OpenVAS)
-openvas-cli:
-openvas-cli: This is the CLI module for the Open Vulnerability Assessment
-openvas-cli: System (OpenVAS).
-openvas-cli:
-openvas-cli: For more information, please refer to the OpenVAS website available
-openvas-cli: at http://www.openvas.org/ .
-openvas-cli:
-openvas-cli:
-openvas-cli:
-openvas-cli:
diff --git a/network/openvas-libraries/README b/network/openvas-libraries/README
deleted file mode 100644
index 066ad36f84..0000000000
--- a/network/openvas-libraries/README
+++ /dev/null
@@ -1,4 +0,0 @@
-openvas-libraries (Libraries used in OpenVAS)
-
-This is the libraries module for the Open Vulnerability Assessment
-System (OpenVAS).
diff --git a/network/openvas-libraries/openvas-libraries.SlackBuild b/network/openvas-libraries/openvas-libraries.SlackBuild
deleted file mode 100644
index bdf8afb040..0000000000
--- a/network/openvas-libraries/openvas-libraries.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openvas-libraries
-
-# Copyright 2014-2015,2017 Kent Fritz, Mountain View, CA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openvas-libraries
-VERSION=${VERSION:-8.0.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLOCALSTATEDIR=/var \
- -DSYSCONFDIR=/etc \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install/strip DESTDIR=$PKG
-cd ..
-
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING COPYING.GPLv2 COPYING.LGPLv2 ChangeLog INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openvas-libraries/openvas-libraries.info b/network/openvas-libraries/openvas-libraries.info
deleted file mode 100644
index 4d0910950c..0000000000
--- a/network/openvas-libraries/openvas-libraries.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openvas-libraries"
-VERSION="8.0.9"
-HOMEPAGE="http://www.openvas.org"
-DOWNLOAD="http://wald.intevation.org/frs/download.php/2433/openvas-libraries-8.0.9.tar.gz"
-MD5SUM="29a7da4958aa578f5ca35148f2ff456b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="hiredis"
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/network/openvas-libraries/slack-desc b/network/openvas-libraries/slack-desc
deleted file mode 100644
index c7e82f2d2e..0000000000
--- a/network/openvas-libraries/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openvas-libraries: openvas-libraries (Libraries used in OpenVAS)
-openvas-libraries:
-openvas-libraries: This is the libraries module for the Open Vulnerability Assessment
-openvas-libraries: System (OpenVAS).
-openvas-libraries:
-openvas-libraries: For more information, please refer to the OpenVAS website available
-openvas-libraries: at http://www.openvas.org/ .
-openvas-libraries:
-openvas-libraries:
-openvas-libraries:
-openvas-libraries:
diff --git a/network/openvas-manager/README b/network/openvas-manager/README
deleted file mode 100644
index 8906e2a1eb..0000000000
--- a/network/openvas-manager/README
+++ /dev/null
@@ -1,4 +0,0 @@
-openvas-manager (Manager for OpenVAS)
-
-This is the manager module for the Open Vulnerability Assessment
-System (OpenVAS).
diff --git a/network/openvas-manager/doinst.sh b/network/openvas-manager/doinst.sh
deleted file mode 100644
index 62615e72a5..0000000000
--- a/network/openvas-manager/doinst.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.openvasmd.new
-config etc/openvas/openvasmd_log.conf.new
-config etc/openvas/pwpolicy.conf.new
diff --git a/network/openvas-manager/openvas-manager.SlackBuild b/network/openvas-manager/openvas-manager.SlackBuild
deleted file mode 100644
index 3bdf8bcb9d..0000000000
--- a/network/openvas-manager/openvas-manager.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openvas-manager
-
-# Copyright 2014-2015,2017 Kent Fritz, Mountain View, CA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openvas-manager
-VERSION=${VERSION:-6.0.11}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLOCALSTATEDIR=/var \
- -DSYSCONFDIR=/etc \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.openvasmd > $PKG/etc/rc.d/rc.openvasmd.new
-chmod 0644 $PKG/etc/rc.d/rc.openvasmd.new
-mv $PKG/etc/openvas/openvasmd_log.conf $PKG/etc/openvas/openvasmd_log.conf.new
-mv $PKG/etc/openvas/pwpolicy.conf $PKG/etc/openvas/pwpolicy.conf.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -r $PKG/usr/share/doc
-cp -a CHANGES COPYING ChangeLog INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openvas-manager/openvas-manager.info b/network/openvas-manager/openvas-manager.info
deleted file mode 100644
index ef14d38440..0000000000
--- a/network/openvas-manager/openvas-manager.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openvas-manager"
-VERSION="6.0.11"
-HOMEPAGE="http://www.openvas.org"
-DOWNLOAD="http://wald.intevation.org/frs/download.php/2445/openvas-manager-6.0.11.tar.gz"
-MD5SUM="a9329a2e2329b2d1b7863d07ea0a8c22"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openvas-libraries"
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/network/openvas-manager/rc.openvasmd b/network/openvas-manager/rc.openvasmd
deleted file mode 100644
index 78595eea78..0000000000
--- a/network/openvas-manager/rc.openvasmd
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/rc.openvasmd
-#
-# Start/stop/restart the OpenVAS Manager Daemon.
-#
-# To make OpenVAS Manager start automatically at boot, make this
-# file executable: chmod 755 /etc/rc.d/rc.openvasmd
-# and add to rc.local:
-# if [ -x /etc/rc.d/rc.openvasmd ]; then
-# . /etc/rc.d/rc.openvasmd start
-# fi
-#
-
-OPENVASMD_PATH=/usr/sbin
-OPENVASMD_BIN=openvasmd
-OPENVASMD_OPTIONS="-a 127.0.0.1 --gnutls-priorities=SECURE128:-VERS-SSL3.0"
-OPENVASMD_CMD="$OPENVASMD_PATH/$OPENVASMD_BIN $OPENVASMD_OPTIONS"
-
-openvasmd_start() {
- echo Starting OpenVAS Manager: $OPENVASMD_CMD
- $OPENVASMD_CMD
-}
-
-openvasmd_stop() {
- echo "Stopping OpenVAS Manager"
- /bin/killall $OPENVASMD_BIN
-}
-
-openvasmd_restart() {
- openvasmd_stop
- openvasmd_start
-}
-
-case "$1" in
-'start')
- openvasmd_start
- ;;
-'stop')
- openvasmd_stop
- ;;
-'restart')
- openvasmd_restart
- ;;
-*)
- echo "usage $0 start|stop|restart|reload"
-esac
diff --git a/network/openvas-manager/slack-desc b/network/openvas-manager/slack-desc
deleted file mode 100644
index 37a73de886..0000000000
--- a/network/openvas-manager/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openvas-manager: openvas-manager (Manager for OpenVAS)
-openvas-manager:
-openvas-manager: This is the manager module for the Open Vulnerability Assessment
-openvas-manager: System (OpenVAS).
-openvas-manager:
-openvas-manager: For more information, please refer to the OpenVAS website available
-openvas-manager: at http://www.openvas.org/ .
-openvas-manager:
-openvas-manager:
-openvas-manager:
-openvas-manager:
diff --git a/network/openvas-scanner/README b/network/openvas-scanner/README
deleted file mode 100644
index 807bb5dab5..0000000000
--- a/network/openvas-scanner/README
+++ /dev/null
@@ -1,4 +0,0 @@
-openvas-scanner (Scanner for OpenVAS)
-
-This is the scanner module for the Open Vulnerability Assessment
-System (OpenVAS).
diff --git a/network/openvas-scanner/doinst.sh b/network/openvas-scanner/doinst.sh
deleted file mode 100644
index 272ee56c16..0000000000
--- a/network/openvas-scanner/doinst.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.openvassd.new
diff --git a/network/openvas-scanner/openvas-scanner.SlackBuild b/network/openvas-scanner/openvas-scanner.SlackBuild
deleted file mode 100644
index 9ac50dd549..0000000000
--- a/network/openvas-scanner/openvas-scanner.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openvas-scanner
-
-# Copyright 2014-2015,2017 Kent Fritz, Mountain View, CA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=openvas-scanner
-VERSION=${VERSION:-5.0.8}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLOCALSTATEDIR=/var \
- -DSYSCONFDIR=/etc \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-mkdir -p $PKG/etc/rc.d
-cat $CWD/rc.openvassd > $PKG/etc/rc.d/rc.openvassd.new
-chmod 0644 $PKG/etc/rc.d/rc.openvassd.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -r $PKG/usr/share
-cp -a CHANGES COPYING COPYING.GPLv2 ChangeLog INSTALL README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/openvas-scanner/openvas-scanner.info b/network/openvas-scanner/openvas-scanner.info
deleted file mode 100644
index c2e10f02ac..0000000000
--- a/network/openvas-scanner/openvas-scanner.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openvas-scanner"
-VERSION="5.0.8"
-HOMEPAGE="http://www.openvas.org"
-DOWNLOAD="http://wald.intevation.org/frs/download.php/2436/openvas-scanner-5.0.8.tar.gz"
-MD5SUM="020fb07e295c9695976bd397cab35926"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openvas-libraries"
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/network/openvas-scanner/rc.openvassd b/network/openvas-scanner/rc.openvassd
deleted file mode 100644
index 4be5cc156d..0000000000
--- a/network/openvas-scanner/rc.openvassd
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/rc.openvassd
-#
-# Start/stop/restart/reload the OpenVAS Scanner Daemon.
-#
-# To make OpenVAS Scanner start automatically at boot, make this
-# file executable: chmod 755 /etc/rc.d/rc.openvassd
-# and add to rc.local:
-# if [ -x /etc/rc.d/rc.openvassd ]; then
-# . /etc/rc.d/rc.openvassd start
-# fi
-#
-
-OPENVASSD_PATH=/usr/sbin
-OPENVASSD_BIN=openvassd
-OPENVASSD_OPTIONS="-a 127.0.0.1 --gnutls-priorities=SECURE128:-VERS-SSL3.0"
-OPENVASSD_CMD="$OPENVASSD_PATH/$OPENVASSD_BIN $OPENVASSD_OPTIONS"
-
-openvassd_start() {
- echo Starting OpenVAS Scanner: $OPENVASSD_CMD
- $OPENVASSD_CMD
-}
-
-openvassd_stop() {
- echo "Stopping OpenVAS Scanner"
- /bin/killall $OPENVASSD_BIN
-}
-
-openvassd_restart() {
- openvassd_stop
- sleep 2
- openvassd_start
-}
-
-openvassd_reload() {
- /bin/killall -HUP $OPENVASSD_BIN
-}
-
-case "$1" in
-'start')
- openvassd_start
- ;;
-'stop')
- openvassd_stop
- ;;
-'restart')
- openvassd_restart
- ;;
-'reload')
- openvassd_reload
- ;;
-*)
- echo "usage $0 start|stop|restart|reload"
-esac
diff --git a/network/openvas-scanner/slack-desc b/network/openvas-scanner/slack-desc
deleted file mode 100644
index 00047336b6..0000000000
--- a/network/openvas-scanner/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-openvas-scanner: openvas-scanner (Scanner for OpenVAS)
-openvas-scanner:
-openvas-scanner: This is the scanner module for the Open Vulnerability Assessment
-openvas-scanner: System (OpenVAS).
-openvas-scanner:
-openvas-scanner: For more information, please refer to the OpenVAS website available
-openvas-scanner: at http://www.openvas.org/ .
-openvas-scanner:
-openvas-scanner:
-openvas-scanner:
-openvas-scanner:
diff --git a/network/openvswitch-utils/README b/network/openvswitch-utils/README
index 1efa3d3dcc..53793d8348 100644
--- a/network/openvswitch-utils/README
+++ b/network/openvswitch-utils/README
@@ -1,20 +1,21 @@
Open vSwitch is a multilayer software switch licensed under the open
source Apache 2 license. The goal is to implement a production quality
-switch platform that supports standard management interfaces and opens the
-forwarding functions to programmatic extension and control.
+switch platform that supports standard management interfaces and opens
+the forwarding functions to programmatic extension and control.
Open vSwitch is well suited to function as a virtual switch in VM
environments. In addition to exposing standard control and visibility
-interfaces to the virtual networking layer, it was designed to support
-distribution across multiple physical servers. Open vSwitch supports
-multiple Linux-based virtualization technologies including Xen/XenServer,
-KVM, and VirtualBox.
+interfaces to the virtual networking layer, it was designed to
+support distribution across multiple physical servers. Open vSwitch
+supports multiple Linux-based virtualization technologies including
+Xen/XenServer, KVM, and VirtualBox.
-Note: This package builds only the Open vSwitch userspace utilities, and
-it is incompatible with 'openvswitch' package found on SlackBuilds.org
-website. The stock Slackware kernel has been shipping Open vSwitch support
-for a while now, and these utilities take this advantage into account
-while providing a different approach to Open vSwitch management.
+Note: This package builds only the Open vSwitch userspace
+utilities, and it is incompatible with 'openvswitch' package found on
+SlackBuilds.org website. The stock Slackware kernel has been shipping
+Open vSwitch support for a while now, and these utilities take this
+advantage into account while providing a different approach to Open
+vSwitch management.
See README.SLACKWARE (which is also installed with the package docs) for
setup, configuration, and usage hints.
diff --git a/network/openvswitch-utils/openvswitch-utils.SlackBuild b/network/openvswitch-utils/openvswitch-utils.SlackBuild
index c20275a51a..e8a64f0664 100644
--- a/network/openvswitch-utils/openvswitch-utils.SlackBuild
+++ b/network/openvswitch-utils/openvswitch-utils.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openvswitch-utils
-# Copyright 2010, 2011, 2013, 2014, 2015, 2016, 2018, 2020 Mario Preksavec, Zagreb, Croatia
+# Copyright 2010, 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openvswitch-utils
-VERSION=${VERSION:-2.14.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.15.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=openvswitch
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -103,9 +113,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.rst LICENSE NEWS NOTICE $CWD/README.SLACKWARE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/openvswitch-utils/openvswitch-utils.info b/network/openvswitch-utils/openvswitch-utils.info
index fc6c13d9b2..5e074837c4 100644
--- a/network/openvswitch-utils/openvswitch-utils.info
+++ b/network/openvswitch-utils/openvswitch-utils.info
@@ -1,10 +1,10 @@
PRGNAM="openvswitch-utils"
-VERSION="2.14.0"
+VERSION="2.15.1"
HOMEPAGE="http://openvswitch.org/"
-DOWNLOAD="http://openvswitch.org/releases/openvswitch-2.14.0.tar.gz"
-MD5SUM="92e464f962c5ebbac73c58ad799fa9d9"
+DOWNLOAD="http://openvswitch.org/releases/openvswitch-2.15.1.tar.gz"
+MD5SUM="2eaee0ffd9caee87bed2d682af7075ac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/openvswitch-utils/rc.openvswitch b/network/openvswitch-utils/rc.openvswitch
index 8022ae3b74..c173da0a92 100644
--- a/network/openvswitch-utils/rc.openvswitch
+++ b/network/openvswitch-utils/rc.openvswitch
@@ -13,9 +13,10 @@
#
DBCONF=/etc/openvswitch/ovs-vswitchd.conf.db
-SOCKET=/var/run/openvswitch/db.sock
-VSPID=/var/run/openvswitch/ovs-vswitchd.pid
-DBPID=/var/run/openvswitch/ovsdb-server.pid
+RUNDIR=/var/run/openvswitch
+SOCKET=$RUNDIR/db.sock
+VSPID=$RUNDIR/ovs-vswitchd.pid
+DBPID=$RUNDIR/ovsdb-server.pid
# Insert kernel driver for Open vSwitch:
/sbin/modprobe openvswitch
@@ -26,6 +27,7 @@ DBPID=/var/run/openvswitch/ovsdb-server.pid
# Start openvswitch:
openvswitch_start() {
echo "Starting openvswitch: /etc/rc.d/rc.openvswitch"
+ mkdir -p $RUNDIR
/usr/sbin/ovsdb-server /etc/openvswitch/ovs-vswitchd.conf.db --remote=punix:$SOCKET \
--detach --pidfile=$DBPID --verbose=ANY:ANY:err
/usr/bin/ovs-vsctl --no-wait --verbose=ANY:ANY:err init
@@ -37,11 +39,11 @@ openvswitch_stop() {
echo "Stopping openvswitch: /etc/rc.d/rc.openvswitch"
if [ -e $VSPID ]; then
pid=$(cat $VSPID)
- /usr/bin/ovs-appctl -t /var/run/openvswitch/ovs-vswitchd.$pid.ctl exit
+ /usr/bin/ovs-appctl -t $RUNDIR/ovs-vswitchd.$pid.ctl exit
fi
if [ -e $DBPID ]; then
pid=$(cat $DBPID)
- /usr/bin/ovs-appctl -t /var/run/openvswitch/ovsdb-server.$pid.ctl exit
+ /usr/bin/ovs-appctl -t $RUNDIR/ovsdb-server.$pid.ctl exit
fi
}
diff --git a/network/opera-developer/README b/network/opera-developer/README
deleted file mode 100644
index 278e158545..0000000000
--- a/network/opera-developer/README
+++ /dev/null
@@ -1,16 +0,0 @@
-opera-developer (A fast and secure web browser)
-
-Opera is a graphical Web browser available on several platforms.
-The desktop version runs on GNU/Linux and FreeBSD. Versions for
-Macintosh and Windows are also available.
-
-This is a Development version of Opera browser, for Stable version
-please see "opera" and for a old version based on
-Presto engine, please see a SlackBuild called "opera-legacy".
-
-NOTE: Since version 46.0.2590.0 Opera's drops 32 bits support, for more:
-https://blogs.opera.com/desktop/2017/05/opera-developer-46-0-2590-0-update/
-
-This suggests: pepperflash-plugin, ffmpeg, opera-developer-ffmpeg-codecs
-
-Changelog: https://blogs.opera.com/desktop/changelog-for-75/#b3953.0
diff --git a/network/opera-developer/doinst.sh b/network/opera-developer/doinst.sh
deleted file mode 100644
index aea0f894eb..0000000000
--- a/network/opera-developer/doinst.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/opera-developer/eula.html b/network/opera-developer/eula.html
deleted file mode 100644
index 339f72dd33..0000000000
--- a/network/opera-developer/eula.html
+++ /dev/null
@@ -1,287 +0,0 @@
- <!DOCTYPE html>
-<html lang="en">
- <head>
-
-
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="msvalidate.01" content="070C6E8E67D398B03BD8D8E9408A7045">
- <meta name="yandex-verification" content="780cc78194f8c462">
-
- <meta name="robots" content="noyaca, noodp">
-
- <meta name="description" content="EULA Opera for computers">
-
-
- <meta property="og:image" content="https://www-static.operacdn.com/static-heap/75/759b5d5a74e1be5fdfd0fd1fed338c9d1c6cbb33/opera-152.png">
- <meta property="og:title" content="EULA Opera for computers | Opera">
- <meta property="og:url" content="https://www.opera.com/eula/computers">
- <meta property="og:description" content="EULA Opera for computers">
- <meta property="og:type" content="website">
-
-
- <title>EULA Opera for computers | Opera</title>
-
-
- <link rel="dns-prefetch" href="//www-static.operacdn.com">
- <link rel="apple-touch-icon" href="https://www-static.operacdn.com/static-heap/91/91051bd6095b8484c359274af1ec222b6bd293d4/opera-57.png">
- <link rel="apple-touch-icon" sizes="57x57" href="https://www-static.operacdn.com/static-heap/91/91051bd6095b8484c359274af1ec222b6bd293d4/opera-57.png">
- <link rel="apple-touch-icon" sizes="72x72" href="https://www-static.operacdn.com/static-heap/1d/1db0d666779ad5dc2bde071f1e64223cbc898079/opera-72.png">
- <link rel="apple-touch-icon" sizes="76x76" href="https://www-static.operacdn.com/static-heap/ca/cab9c89aeabd94f19da89e4aae5fac8077f40288/opera-76.png">
- <link rel="apple-touch-icon" sizes="114x114" href="https://www-static.operacdn.com/static-heap/3e/3eb93f40546e3dd463deb58e5a5b59ace97d8cff/opera-114.png">
- <link rel="apple-touch-icon" sizes="120x120" href="https://www-static.operacdn.com/static-heap/ab/ab7832e9d56e106488f110e871c46f774576b093/opera-120.png">
- <link rel="apple-touch-icon" sizes="144x144" href="https://www-static.operacdn.com/static-heap/5e/5ed11b7f90d7abe5af33392636f1e1fd40f8d40f/opera-144.png">
- <link rel="apple-touch-icon" sizes="152x152" href="https://www-static.operacdn.com/static-heap/75/759b5d5a74e1be5fdfd0fd1fed338c9d1c6cbb33/opera-152.png">
-
-
- <meta name="application-name" content="EULA Opera for computers - Opera">
- <meta name="msapplication-TileColor" content="#FE1B2C">
- <meta name="msapplication-TileImage" content="https://www-static.operacdn.com/static-heap/6a/6aa0021764af934c8431d64fbf508a90ef30846d/opera-windows-144.png">
- <meta name="msapplication-square70x70logo" content="https://www-static.operacdn.com/static-heap/27/27d2de5f321780e481fcd3cf8e7a4800295ed5bd/opera-windows-70.png">
- <meta name="msapplication-square150x150logo" content="https://www-static.operacdn.com/static-heap/05/0556dff691cc07304d9f12204548ab63c3142368/opera-windows-150.png">
- <meta name="msapplication-wide310x150logo" content="https://www-static.operacdn.com/static-heap/42/42554ff6fabadcc22853c011b777923e56a2a94c/opera-windows-310-150.png">
- <meta name="msapplication-square310x310logo" content="https://www-static.operacdn.com/static-heap/99/9938c6221aba7d87edf2ec2795206bf92d4c3d29/opera-windows-310.png">
-
-
- <link rel="alternate" hreflang="id" href="https://www.opera.com/id/eula/computers" />
- <link rel="alternate" hreflang="ms" href="https://www.opera.com/ms/eula/computers" />
- <link rel="alternate" hreflang="cs" href="https://www.opera.com/cs/eula/computers" />
- <link rel="alternate" hreflang="da" href="https://www.opera.com/da/eula/computers" />
- <link rel="alternate" hreflang="de" href="https://www.opera.com/de/eula/computers" />
- <link rel="canonical" hreflang="en" href="https://www.opera.com/eula/computers" />
- <link rel="alternate" hreflang="es" href="https://www.opera.com/es/eula/computers" />
- <link rel="alternate" hreflang="es-419" href="https://www.opera.com/es-419/eula/computers" />
- <link rel="alternate" hreflang="tl" href="https://www.opera.com/tl/eula/computers" />
- <link rel="alternate" hreflang="fr" href="https://www.opera.com/fr/eula/computers" />
- <link rel="alternate" hreflang="it" href="https://www.opera.com/it/eula/computers" />
- <link rel="alternate" hreflang="hu" href="https://www.opera.com/hu/eula/computers" />
- <link rel="alternate" hreflang="nl" href="https://www.opera.com/nl/eula/computers" />
- <link rel="alternate" hreflang="no" href="https://www.opera.com/no/eula/computers" />
- <link rel="alternate" hreflang="pl" href="https://www.opera.com/pl/eula/computers" />
- <link rel="alternate" hreflang="pt" href="https://www.opera.com/pt/eula/computers" />
- <link rel="alternate" hreflang="pt-br" href="https://www.opera.com/pt-br/eula/computers" />
- <link rel="alternate" hreflang="ro" href="https://www.opera.com/ro/eula/computers" />
- <link rel="alternate" hreflang="sk" href="https://www.opera.com/sk/eula/computers" />
- <link rel="alternate" hreflang="fi" href="https://www.opera.com/fi/eula/computers" />
- <link rel="alternate" hreflang="sv" href="https://www.opera.com/sv/eula/computers" />
- <link rel="alternate" hreflang="vi" href="https://www.opera.com/vi/eula/computers" />
- <link rel="alternate" hreflang="tr" href="https://www.opera.com/tr/eula/computers" />
- <link rel="alternate" hreflang="el" href="https://www.opera.com/el/eula/computers" />
- <link rel="alternate" hreflang="bg" href="https://www.opera.com/bg/eula/computers" />
- <link rel="alternate" hreflang="ru" href="https://www.opera.com/ru/eula/computers" />
- <link rel="alternate" hreflang="uk" href="https://www.opera.com/uk/eula/computers" />
- <link rel="alternate" hreflang="he" href="https://www.opera.com/he/eula/computers" />
- <link rel="alternate" hreflang="ar" href="https://www.opera.com/ar/eula/computers" />
- <link rel="alternate" hreflang="hi" href="https://www.opera.com/hi/eula/computers" />
- <link rel="alternate" hreflang="th" href="https://www.opera.com/th/eula/computers" />
- <link rel="alternate" hreflang="ko" href="https://www.opera.com/ko/eula/computers" />
- <link rel="alternate" hreflang="zh-cn" href="https://www.opera.com/zh-cn/eula/computers" />
- <link rel="alternate" hreflang="zh-tw" href="https://www.opera.com/zh-tw/eula/computers" />
- <link rel="alternate" hreflang="ja" href="https://www.opera.com/ja/eula/computers" />
-
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/latin_latinext-634dce27.css">
-
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/header-footer-8618b3a3.css">
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/opera2-3353345c.css">
-
-
-
-
- </head>
- <body>
- <!-- Google Tag Manager -->
-
- <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-Q5SW"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <script>
- (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
- '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
- })(window,document,'script','dataLayer','GTM-Q5SW');
- </script>
-
-<!-- End Google Tag Manager -->
-
- <header id="header" class="ns--hf">
- <div class="hf--primary">
- <div class="hf--width-holder">
- <div class="hf--main-nav" role="navigation">
- <a class="hf--brand" href="/">
- <img src="https://www-static.operacdn.com/static-heap/11/11bb20439edcccff33dbfa6df6f4c9ad564f91e4/logo-header-opera.png" srcset="https://www-static.operacdn.com/static-heap/11/11bb20439edcccff33dbfa6df6f4c9ad564f91e4/logo-header-opera.png 1x, https://www-static.operacdn.com/static-heap/28/2820d98042080cc51dea518980d80293bf732770/logo-header-opera2x.png 2x" alt="Opera">
- </a>
- <div class="hf--menu">
- <input id="hf--menu-switcher" class="hf--hide" type="checkbox">
- <label class="hf--menu-switcher" for="hf--menu-switcher"></label>
- <div>
- <div>
- <ul class="hf--main-nav-items" role="menu">
-
- <li><a href="/computer" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Computer browsers</a></li>
- <li><a href="/mobile" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Mobile apps</a></li>
-
-
- <li class="hf--menu-opposite">
- <a href="//blogs.opera.com/" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Blogs</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
-
-
-
- </header>
-
-
-
- <main class="page">
- <div class="page--content">
-
-
-
-
-
-
-
-
-<section class="top-padding--oneline">
- <div class="content-width"><h1>End User License Agreement</h1>
-<h2>Opera for Computers</h2>
-<p>Last Updated: December 8, 2017</p><p>This end user license agreement (“EULA”) governs your download and/or use of the executable code for the Opera for Computers desktop software application, including any update or upgrade thereto (“Software”). This EULA forms a binding contract between you and Opera Software AS, a Norwegian company with an address at P.O. Box 4214 Nydalen, NO-0401 Oslo, Norway (“Opera”).</p><h3>Terms &amp; Conditions</h3>
-<p><b>1. This is a contract.</b>&nbsp;This EULA constitutes a contract between you and Opera. You may not use the Software if you do not accept the terms in this EULA. By downloading and/or using the Software, you agree to be bound by all the terms and conditions set forth in this EULA. If you are under thirteen (13) years of age, or at least thirteen (13) years of age but a minor where you live, you must have your parent or legal guardian accept this EULA on your behalf and approve your use of the Software.</p><p><b>2. You are only granted a limited license to the Software.</b>&nbsp;Subject to the terms and conditions of this EULA, Opera hereby grants you a personal, limited, non-exclusive, non-transferable, non-sublicensable license to:</p><p>(A) use the executable code version of the Software solely as installed on your personal computer; and</p><p>(B) reproduce and distribute the Software solely as included in an application repository for a desktop open source operating system distribution PROVIDED THAT in all cases the Software is distributed: (i) without modification; (ii) free of charge to end-users; and (iii) with a copy of this EULA. Distribution for embedded open source operating systems is not permitted. For the avoidance of doubt, the Software must be distributed without modification (including as to the default search engine(s) in the Software settings), both at the time of distribution as well as after the Software is installed.</p><p>You may only use the Software as expressly authorized in this Section 2.</p><p><b>3. You must respect our rights in the Software.</b>&nbsp;Unless expressly permitted by law, you may not copy, decompile, reverse engineer, disassemble, attempt to derive the source code of, modify, or create derivative works of the Software. You may not remove, obscure, or alter any copyright notice or other proprietary rights notices affixed to or contained within the Software. You may not separate the component programs of the Software for use on different computers or sublicense, lease, rent, loan, or distribute the Software to any third party. You may not permit, direct or authorize any third party to take any action with respect to the Software which is inconsistent with the terms set forth in this EULA.</p><p><b>4. The Software contains our valuable intellectual property.</b>&nbsp;You acknowledge and agree that the Software, including its sequence, structure, organization, source code and applicable documentation, contains valuable trade secrets and other intellectual property of Opera and its suppliers. The Software is licensed and not sold to you, and no title or ownership to such Software or the intellectual property rights embodied therein is granted to you. The Software is the exclusive property of Opera and its suppliers, and all rights in and to the Software not expressly granted to you in this Agreement are reserved. Nothing in this EULA will be deemed to grant, by implication, estoppel or otherwise, a license under any existing or future patents of Opera, except to the extent necessary for you to use the Software as expressly permitted under this EULA. You acknowledge and agree that any actual or threatened breach of this EULA will constitute immediate, irreparable harm to Opera for which monetary damages would be an inadequate remedy, and that injunctive relief is an appropriate remedy for any such breach or violation.</p><p><b>5. Components from third parties may be delivered along with the Software.</b>&nbsp;The Software is delivered along with certain software components provide by third parties (“Third Party Software”). Opera shall not be responsible for any such Third-Party Software. Third-Party Software, particularly open source software, may be subject to separate license terms included with, or contained in the setup installation segments of such Third-Party Software. The terms set forth in this EULA do not apply to Third-Party Software to the extent they are inconsistent with such Third-Party Software licenses. This EULA governs your use of the Software in executable form. Source code for any open source Third-Party Software delivered along with the Software can be obtained at&nbsp;<a href="http://sourcecode.opera.com" target="_self">http://sourcecode.opera.com</a>&nbsp;or by sending an email message to&nbsp;<a href="mailto:opensource&#x0040;opera.com" target="_self">opensource&#x0040;opera.com</a>.</p><p><b>6. The Software may provide for access to additional services.</b> Various services may be offered where available via or as integrated into the Software (“Services”). By using any such Services, you agreed to the terms of service at&nbsp;<a href="https://www.opera.com/terms" target="_self">https://www.opera.com/terms</a> (“Terms of Service”). The Terms of Service are incorporated into this EULA by this reference. As is more fully explained in the Terms of Service, some Services are offered by Opera, others by third parties (which may be subject to separate terms – please refer to the Terms of Service for more information). Opera reserves the right at any time and from time to time to modify or discontinue, temporarily or permanently, the Services (or any part thereof) with or without notice. You agree that Opera shall not be liable to you or to any third party for any modification, suspension or discontinuance of the Services.</p><p><b>7. Your privacy is important to us.</b>&nbsp;Opera takes the matters of protection and security of its users’ information very seriously and will treat any and all such information in accordance with our privacy statement, which is currently posted at&nbsp;<a href="https://www.opera.com/privacy" target="_self">https://www.opera.com/privacy</a>&nbsp;(“Privacy Statement”). The Privacy Statement is incorporated into this EULA by this reference. You agree to the use of your data in accordance with Opera’s Privacy Statement.</p><p><b>8. Your license to use the Software terminates if you breach this EULA.</b>&nbsp;This EULA will commence upon your download of the Software and continue in perpetuity unless terminated earlier as provided herein. This EULA will immediately terminate upon your breach of any of the terms or conditions set forth herein. Upon the termination of the EULA, you will discontinue all use of the Software, promptly destroy or have destroyed the Software and any copies thereof, and, upon request by Opera, certify in writing that such destruction has taken place. These remedies are cumulative and in addition to any other remedies which may be available. Section 1, as well as Sections 3 through 14 of this EULA shall survive termination.</p><p><b>9. The Software is provided without any warranties or guarantees.</b>&nbsp;THE SOFTWARE IS PROVIDED “AS IS”, AND OPERA DISCLAIMS ALL WARRANTIES WITH REGARD TO THE SOFTWARE WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR USE, SATISFACTORY QUALITY, OR QUIET ENJOYMENT. OPERA DOES NOT WARRANT THAT THE USE OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR FREE OR THAT THE SOFTWARE DOES NOT CONTAIN ANY VIRUSES. THIS WARRANTY DISCLAIMER IS A FUNDAMENTAL ELEMENT OF THE BASIS OF THE BARGAIN BETWEEN YOU AND OPERA. OPERA WOULD NOT PROVIDE THE SOFTWARE ABSENT SUCH DISCLAIMER. NO REPRESENTATIONS OR WARRANTIES ARE MADE BY ANY OF OPERA’S CUSTOMERS OR SUPPLIERS UNDER OR BY VIRTUE OF THIS AGREEMENT. IF YOU ARE DISSATISFIED WITH ANY PORTION OF THE SOFTWARE, OR WITH ANY OF THESE TERMS, YOUR SOLE AND EXCLUSIVE REMEDY IS TO DISCONTINUE USING THE SOFTWARE.</p><p><b>10. Opera is not liable for any damages you may incur.</b>&nbsp;IN NO EVENT SHALL OPERA, ITS AFFILIATES, OR THEIR RESPECTIVE SUPPLIERS OR CUSTOMERS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR INDIRECT DAMAGES OF ANY KIND (INCLUDING WITHOUT LIMITATION DAMAGES FOR INTERRUPTION OF BUSINESS, LOST DATA, LOST PROFITS, OR THE LIKE) REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING WITHOUT LIMITATION NEGLIGENCE), PRODUCT LIABILITY, OR OTHER THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT WILL THE CUMULATIVE LIABILITY OF OPERA ARISING OUT OF OR RELATED TO THIS AGREEMENT EXCEED THE AMOUNT PAID TO OPERA IN RESPECT OF THE SOFTWARE GIVING RISE TO THE CLAIM OR, IF NO FEES WERE PAID, THEN FIVE HUNDRED EUROS. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE FOREGOING EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. THIS LIMITATION OF LIABILITY WILL APPLY NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY SET FORTH HEREIN. THIS LIMITATION OF LIABILITY IS A FUNDAMENTAL ELEMENT OF THE BASIS OF THE BARGAIN BETWEEN YOU AND OPERA. OPERA WOULD NOT PROVIDE THE SOFTWARE TO YOU ABSENT SUCH LIMITATION.</p><p><b>11. This contract is based on Norwegian law.</b>&nbsp;This EULA will be governed by the laws of Norway without giving effect to any conflicts of law principles that may require the application of the laws of a different country. The United Nations Convention on Contracts for the International Sale of Goods does not apply to this Agreement. All actions or proceedings arising under or related to this Agreement must be brought in the Oslo City Court, and you hereby agree to irrevocably submit to the exclusive jurisdiction and venue of any such court in all such actions or proceedings. Notwithstanding this, you agree that Opera shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. If any provision of this EULA is determined by a court of competent jurisdiction to be invalid, illegal, or unenforceable, the remaining provisions of this EULA shall not be affected or impaired thereby.</p><p><b>12. Opera may modify these Terms.</b>&nbsp;Opera may update the terms of this EULA, the Privacy Statement or the Terms of Service. The current version of this EULA is posted at&nbsp;<a href="https://www.opera.com/eula/computers" target="_self">https://www.opera.com/eula/computers</a>, the latest version of the Privacy Statement is posted at&nbsp;<a href="https://www.opera.com/privacy" target="_self">https://www.opera.com/privacy</a>, and the Terms of Service are posted at&nbsp;<a href="https://www.opera.com/terms" target="_self">https://www.opera.com/terms</a>. It is your responsibility to remain informed of any changes as you are bound by the latest version of the EULA, Privacy Statement and Terms of Service.</p><p><b>13. General.</b>&nbsp;You acknowledge and agree that the Software may contain cryptographic functionality the export of which may be restricted under applicable export control law. You will comply with all applicable laws and regulations in your activities with regard to the Software. You will not export or re-export the Software in violation of such laws or regulations or without all required licenses and authorizations. You may not assign or transfer this contract without obtaining Opera’s prior written consent, and any purported assignment or transfer in violation of this restriction will be null and void.</p></div>
-</section>
-
- </div>
- </main>
-
-
- <footer class="ns--hf">
- <div class="hf--top-side">
- <div class="hf--width-holder">
- <div class="hf--language">
- <span class="hf--language-selector-icon"><span class="hf--hide">Select your language:</span></span>
- <span>
- <select class="hf--language-selector" onchange="location=this.options[this.selectedIndex].value;">
- <option data-name="id" value="/id/eula/computers">Bahasa Indonesia</option><option data-name="ms" value="/ms/eula/computers">Bahasa Melayu</option><option data-name="cs" value="/cs/eula/computers">Čeština</option><option data-name="da" value="/da/eula/computers">Dansk</option><option data-name="de" value="/de/eula/computers">Deutsch</option><option data-name="en" value="/eula/computers" selected>English</option><option data-name="es" value="/es/eula/computers">Español</option><option data-name="es-419" value="/es-419/eula/computers">Español (Latinoamérica)</option><option data-name="tl" value="/tl/eula/computers">Filipino</option><option data-name="fr" value="/fr/eula/computers">Français</option><option data-name="it" value="/it/eula/computers">Italiano</option><option data-name="hu" value="/hu/eula/computers">Magyar</option><option data-name="nl" value="/nl/eula/computers">Nederlands</option><option data-name="no" value="/no/eula/computers">Norsk (bokmål)</option><option data-name="pl" value="/pl/eula/computers">Polski</option><option data-name="pt" value="/pt/eula/computers">Português</option><option data-name="pt-br" value="/pt-br/eula/computers">Português (Brasil)</option><option data-name="ro" value="/ro/eula/computers">Română</option><option data-name="sk" value="/sk/eula/computers">Slovenčina</option><option data-name="fi" value="/fi/eula/computers">Suomi</option><option data-name="sv" value="/sv/eula/computers">Svenska</option><option data-name="vi" value="/vi/eula/computers">Tiếng Việt</option><option data-name="tr" value="/tr/eula/computers">Türkçe</option><option data-name="el" value="/el/eula/computers">Ελληνικά</option><option data-name="bg" value="/bg/eula/computers">Български</option><option data-name="ru" value="/ru/eula/computers">Русский</option><option data-name="uk" value="/uk/eula/computers">Українська</option><option data-name="he" value="/he/eula/computers">עברית</option><option data-name="ar" value="/ar/eula/computers">العربية</option><option data-name="hi" value="/hi/eula/computers">हिंदी</option><option data-name="th" value="/th/eula/computers">ไทย</option><option data-name="ko" value="/ko/eula/computers">한국어</option><option data-name="zh-cn" value="/zh-cn/eula/computers">中文(中国)</option><option data-name="zh-tw" value="/zh-tw/eula/computers">中文(台灣)</option><option data-name="ja" value="/ja/eula/computers">日本語</option> </select>
- </span>
- </div> <p class="hf--back">
- <a class="hf--text-uppercase back-to-top" href="#" onclick="return false;">Top</a>
- </p> </div>
- <div class="hf--social">
- <div class="hf--width-holder">
- <p class="hf--social-headline hf--hide">Follow Opera</p>
-
- <div class="hf--social-icons">
- <a class="facebook" href="https://facebook.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Facebook</span>
- </a>
- <a class="twitter" href="https://twitter.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Twitter</span>
- </a>
- <a class="youtube" href="https://www.youtube.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Youtube</span>
- </a>
- <a class="linkedin" href="https://www.linkedin.com/company/opera-software" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">LinkedIn</span>
- </a>
- <a class="instagram" href="https://instagram.com/operabrowser" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Instagram</span>
- </a>
- </div>
- </div>
- </div>
- </div>
- <div class="hf--links">
- <div class="hf--width-holder">
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="https://www.opera.com/download">Download Opera</a></li>
- <li><a class="hf--text-regular" href="//www.opera.com/computer">Computer browsers</a></li>
- <li><a class="hf--text-regular" href="//www.opera.com/mobile">Mobile apps</a></li>
- <li><span class="hf--links-sep"><span class="hf--hide">-</span></span></li>
- <li><a class="hf--text-uppercase" href="//www.opera.com/help">Help &amp; support</a></li>
- <li><a class="hf--text-uppercase" href="//blogs.opera.com/">Opera blogs</a></li>
- <li><a class="hf--text-uppercase last-link" href="//forums.opera.com">Opera forums</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="http://dev.opera.com/">Dev.Opera</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/computer/beta">Beta version</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/computer/neon">Opera Neon</a></li>
- <li><span class="hf--links-sep"><span class="hf--hide">-</span></span></li>
- <li><strong class="hf--text-uppercase">Services</strong></li>
- <li><a class="hf--text-regular" href="https://addons.opera.com">Add-ons</a></li>
- <li><a class="hf--text-regular" href="https://auth.opera.com/account/login">Opera account</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="http://www.operasoftware.com">Opera B2B</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/operators">Operator solutions</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/mobile-oems">OEM solutions</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/content-partners">Partner with Opera</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/blog">Business blog</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="https://www.opera.com/about">About Opera</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/jobs">Jobs</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/company/investors">Investors</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/press">Press info</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/company/contact">Contact us</a></li>
- </ul>
- </div>
- </div>
- <div class="hf--bottom-side hf--width-holder">
- <div class="hf--bottom-wrapper">
- <div class="hf--social">
- <p class="hf--social-headline hf--hide">Follow Opera</p>
-
- <div class="hf--social-icons">
- <a class="facebook" href="https://facebook.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Facebook</span>
- </a>
- <a class="twitter" href="https://twitter.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Twitter</span>
- </a>
- <a class="youtube" href="https://www.youtube.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Youtube</span>
- </a>
- <a class="linkedin" href="https://www.linkedin.com/company/opera-software" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">LinkedIn</span>
- </a>
- <a class="instagram" href="https://instagram.com/operabrowser" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Instagram</span>
- </a>
- </div>
- </div>
- <div class="hf--copyrights">
- <ul class="hf--copyrights-items">
- <li><strong>&copy; Opera Software</strong></li>
- <li><a href="https://www.opera.com/privacy">Privacy</a></li>
- <li><a href="https://www.opera.com/terms">Terms of Use</a></li>
- </ul>
- </div>
- <div class="hf--controls">
- <div class="hf--language">
- <span class="hf--language-selector-icon"><span class="hf--hide">Select your language:</span></span>
- <span>
- <select class="hf--language-selector" onchange="location=this.options[this.selectedIndex].value;">
- <option data-name="id" value="/id/eula/computers">Bahasa Indonesia</option><option data-name="ms" value="/ms/eula/computers">Bahasa Melayu</option><option data-name="cs" value="/cs/eula/computers">Čeština</option><option data-name="da" value="/da/eula/computers">Dansk</option><option data-name="de" value="/de/eula/computers">Deutsch</option><option data-name="en" value="/eula/computers" selected>English</option><option data-name="es" value="/es/eula/computers">Español</option><option data-name="es-419" value="/es-419/eula/computers">Español (Latinoamérica)</option><option data-name="tl" value="/tl/eula/computers">Filipino</option><option data-name="fr" value="/fr/eula/computers">Français</option><option data-name="it" value="/it/eula/computers">Italiano</option><option data-name="hu" value="/hu/eula/computers">Magyar</option><option data-name="nl" value="/nl/eula/computers">Nederlands</option><option data-name="no" value="/no/eula/computers">Norsk (bokmål)</option><option data-name="pl" value="/pl/eula/computers">Polski</option><option data-name="pt" value="/pt/eula/computers">Português</option><option data-name="pt-br" value="/pt-br/eula/computers">Português (Brasil)</option><option data-name="ro" value="/ro/eula/computers">Română</option><option data-name="sk" value="/sk/eula/computers">Slovenčina</option><option data-name="fi" value="/fi/eula/computers">Suomi</option><option data-name="sv" value="/sv/eula/computers">Svenska</option><option data-name="vi" value="/vi/eula/computers">Tiếng Việt</option><option data-name="tr" value="/tr/eula/computers">Türkçe</option><option data-name="el" value="/el/eula/computers">Ελληνικά</option><option data-name="bg" value="/bg/eula/computers">Български</option><option data-name="ru" value="/ru/eula/computers">Русский</option><option data-name="uk" value="/uk/eula/computers">Українська</option><option data-name="he" value="/he/eula/computers">עברית</option><option data-name="ar" value="/ar/eula/computers">العربية</option><option data-name="hi" value="/hi/eula/computers">हिंदी</option><option data-name="th" value="/th/eula/computers">ไทย</option><option data-name="ko" value="/ko/eula/computers">한국어</option><option data-name="zh-cn" value="/zh-cn/eula/computers">中文(中国)</option><option data-name="zh-tw" value="/zh-tw/eula/computers">中文(台灣)</option><option data-name="ja" value="/ja/eula/computers">日本語</option> </select>
- </span>
- </div> <div class="hf--nav">
- <div class="hf--width-holder">
- <p class="hf--back">
- <a class="hf--text-uppercase back-to-top" href="#" onclick="return false;">Top</a>
- </p> </div>
- </div>
- </div>
- </div>
- </div>
- </footer>
- <script src="https://www-static.operacdn.com/static-heap/4d/4d7f76c8987efba7e997c2cead49c858f7966ebb/linkfeedback.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/30/305ba43f6e26911dcc3a6c564473af33b85c804d/browserinfo.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/98/98f88227912fc67b44662e8392f3779e4e6ccab5/opera.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/3d/3d254f1aec48f4b9990a19c04c7355d29c995fd5/promoassets.js"></script>
- </body>
-</html> \ No newline at end of file
diff --git a/network/opera-developer/opera-developer.SlackBuild b/network/opera-developer/opera-developer.SlackBuild
deleted file mode 100644
index 6e775d512b..0000000000
--- a/network/opera-developer/opera-developer.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for opera-developer.
-#
-# Copyright 2016-2021 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=opera-developer
-VERSION=${VERSION:-75.0.3953.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- BITS="i386"
- echo "This package is currently only available for 64bit."
- exit 1
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BITS="i386"
- echo "This package is currently only available for 64bit."
- exit 1
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-${VERSION}
-mkdir -p $PRGNAM-${VERSION}
-ar p $CWD/${PRGNAM}_${VERSION}_${BITS}.deb data.tar.xz | xz -d | tar -xvf- \
- --transform="s,/lib/.*-linux-gnu,/lib$LIBDIRSUFFIX," \
- --exclude="./usr/share/lintian" --exclude="./usr/share/menu" -C $PRGNAM-${VERSION}
-cd $PRGNAM-${VERSION}
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mv usr $PKG
-
-mv $PKG/usr/share/doc $PKG/usr/
-mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/${PRGNAM}-$VERSION
-cd $PKG/usr/doc/${PRGNAM}-$VERSION/
-gzip -dc changelog.gz > ChangeLog; rm -f changelog.gz;
-
-install -Dm644 copyright $PKG/usr/share/licenses/$PRGNAM/copyright
-install -Dm644 $CWD/eula.html $PKG/usr/share/licenses/$PRGNAM/eula.html
-install -Dm644 $CWD/terms.html $PKG/usr/share/licenses/$PRGNAM/terms.html
-install -Dm644 $CWD/privacy.html $PKG/usr/share/licenses/$PRGNAM/privacy.html
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/opera-developer/opera-developer.info b/network/opera-developer/opera-developer.info
deleted file mode 100644
index af4db0af42..0000000000
--- a/network/opera-developer/opera-developer.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="opera-developer"
-VERSION="75.0.3953.0"
-HOMEPAGE="https://www.opera.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://get.geo.opera.com/pub/opera-developer/75.0.3953.0/linux/opera-developer_75.0.3953.0_amd64.deb"
-MD5SUM_x86_64="23a02fbc11fd44d818d4ae1a6b45d61f"
-REQUIRES=""
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
diff --git a/network/opera-developer/privacy.html b/network/opera-developer/privacy.html
deleted file mode 100644
index 2d4a2e52d7..0000000000
--- a/network/opera-developer/privacy.html
+++ /dev/null
@@ -1,353 +0,0 @@
- <!DOCTYPE html>
-<html lang="it">
- <head>
-
-
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="msvalidate.01" content="070C6E8E67D398B03BD8D8E9408A7045">
- <meta name="yandex-verification" content="780cc78194f8c462">
-
-
- <meta name="robots" content="noindex, noyaca, noodp">
-
- <meta name="description" content="Privacy Statement">
-
-
- <meta property="og:image" content="https://www-static.operacdn.com/static-heap/75/759b5d5a74e1be5fdfd0fd1fed338c9d1c6cbb33/opera-152.png">
- <meta property="og:title" content="Privacy Statement | Opera">
- <meta property="og:url" content="https://www.opera.com/it/privacy">
- <meta property="og:description" content="Privacy Statement">
- <meta property="og:type" content="website">
-
-
- <title>Privacy Statement | Opera</title>
-
-
- <link rel="dns-prefetch" href="//www-static.operacdn.com">
- <link rel="apple-touch-icon" href="https://www-static.operacdn.com/static-heap/91/91051bd6095b8484c359274af1ec222b6bd293d4/opera-57.png">
- <link rel="apple-touch-icon" sizes="57x57" href="https://www-static.operacdn.com/static-heap/91/91051bd6095b8484c359274af1ec222b6bd293d4/opera-57.png">
- <link rel="apple-touch-icon" sizes="72x72" href="https://www-static.operacdn.com/static-heap/1d/1db0d666779ad5dc2bde071f1e64223cbc898079/opera-72.png">
- <link rel="apple-touch-icon" sizes="76x76" href="https://www-static.operacdn.com/static-heap/ca/cab9c89aeabd94f19da89e4aae5fac8077f40288/opera-76.png">
- <link rel="apple-touch-icon" sizes="114x114" href="https://www-static.operacdn.com/static-heap/3e/3eb93f40546e3dd463deb58e5a5b59ace97d8cff/opera-114.png">
- <link rel="apple-touch-icon" sizes="120x120" href="https://www-static.operacdn.com/static-heap/ab/ab7832e9d56e106488f110e871c46f774576b093/opera-120.png">
- <link rel="apple-touch-icon" sizes="144x144" href="https://www-static.operacdn.com/static-heap/5e/5ed11b7f90d7abe5af33392636f1e1fd40f8d40f/opera-144.png">
- <link rel="apple-touch-icon" sizes="152x152" href="https://www-static.operacdn.com/static-heap/75/759b5d5a74e1be5fdfd0fd1fed338c9d1c6cbb33/opera-152.png">
-
-
- <meta name="application-name" content="Privacy Statement - Opera">
- <meta name="msapplication-TileColor" content="#FE1B2C">
- <meta name="msapplication-TileImage" content="https://www-static.operacdn.com/static-heap/6a/6aa0021764af934c8431d64fbf508a90ef30846d/opera-windows-144.png">
- <meta name="msapplication-square70x70logo" content="https://www-static.operacdn.com/static-heap/27/27d2de5f321780e481fcd3cf8e7a4800295ed5bd/opera-windows-70.png">
- <meta name="msapplication-square150x150logo" content="https://www-static.operacdn.com/static-heap/05/0556dff691cc07304d9f12204548ab63c3142368/opera-windows-150.png">
- <meta name="msapplication-wide310x150logo" content="https://www-static.operacdn.com/static-heap/42/42554ff6fabadcc22853c011b777923e56a2a94c/opera-windows-310-150.png">
- <meta name="msapplication-square310x310logo" content="https://www-static.operacdn.com/static-heap/99/9938c6221aba7d87edf2ec2795206bf92d4c3d29/opera-windows-310.png">
-
-
- <link rel="alternate" hreflang="id" href="https://www.opera.com/id/privacy" />
- <link rel="alternate" hreflang="ms" href="https://www.opera.com/ms/privacy" />
- <link rel="alternate" hreflang="cs" href="https://www.opera.com/cs/privacy" />
- <link rel="alternate" hreflang="da" href="https://www.opera.com/da/privacy" />
- <link rel="alternate" hreflang="de" href="https://www.opera.com/de/privacy" />
- <link rel="alternate" hreflang="en" href="https://www.opera.com/privacy" />
- <link rel="alternate" hreflang="es" href="https://www.opera.com/es/privacy" />
- <link rel="alternate" hreflang="es-419" href="https://www.opera.com/es-419/privacy" />
- <link rel="alternate" hreflang="tl" href="https://www.opera.com/tl/privacy" />
- <link rel="alternate" hreflang="fr" href="https://www.opera.com/fr/privacy" />
- <link rel="canonical" hreflang="it" href="https://www.opera.com/it/privacy" />
- <link rel="alternate" hreflang="hu" href="https://www.opera.com/hu/privacy" />
- <link rel="alternate" hreflang="nl" href="https://www.opera.com/nl/privacy" />
- <link rel="alternate" hreflang="no" href="https://www.opera.com/no/privacy" />
- <link rel="alternate" hreflang="pl" href="https://www.opera.com/pl/privacy" />
- <link rel="alternate" hreflang="pt" href="https://www.opera.com/pt/privacy" />
- <link rel="alternate" hreflang="pt-br" href="https://www.opera.com/pt-br/privacy" />
- <link rel="alternate" hreflang="ro" href="https://www.opera.com/ro/privacy" />
- <link rel="alternate" hreflang="sk" href="https://www.opera.com/sk/privacy" />
- <link rel="alternate" hreflang="fi" href="https://www.opera.com/fi/privacy" />
- <link rel="alternate" hreflang="sv" href="https://www.opera.com/sv/privacy" />
- <link rel="alternate" hreflang="vi" href="https://www.opera.com/vi/privacy" />
- <link rel="alternate" hreflang="tr" href="https://www.opera.com/tr/privacy" />
- <link rel="alternate" hreflang="el" href="https://www.opera.com/el/privacy" />
- <link rel="alternate" hreflang="bg" href="https://www.opera.com/bg/privacy" />
- <link rel="alternate" hreflang="ru" href="https://www.opera.com/ru/privacy" />
- <link rel="alternate" hreflang="uk" href="https://www.opera.com/uk/privacy" />
- <link rel="alternate" hreflang="he" href="https://www.opera.com/he/privacy" />
- <link rel="alternate" hreflang="ar" href="https://www.opera.com/ar/privacy" />
- <link rel="alternate" hreflang="hi" href="https://www.opera.com/hi/privacy" />
- <link rel="alternate" hreflang="th" href="https://www.opera.com/th/privacy" />
- <link rel="alternate" hreflang="ko" href="https://www.opera.com/ko/privacy" />
- <link rel="alternate" hreflang="zh-cn" href="https://www.opera.com/zh-cn/privacy" />
- <link rel="alternate" hreflang="zh-tw" href="https://www.opera.com/zh-tw/privacy" />
- <link rel="alternate" hreflang="ja" href="https://www.opera.com/ja/privacy" />
-
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/latin_latinext-634dce27.css">
-
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/header-footer-8618b3a3.css">
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/opera2-3353345c.css">
-
-
-
-
- </head>
- <body>
- <!-- Google Tag Manager -->
-
- <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-Q5SW"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <script>
- (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
- '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
- })(window,document,'script','dataLayer','GTM-Q5SW');
- </script>
-
-<!-- End Google Tag Manager -->
-
- <header id="header" class="ns--hf">
- <div class="hf--primary">
- <div class="hf--width-holder">
- <div class="hf--main-nav" role="navigation">
- <a class="hf--brand" href="/it">
- <img src="https://www-static.operacdn.com/static-heap/11/11bb20439edcccff33dbfa6df6f4c9ad564f91e4/logo-header-opera.png" srcset="https://www-static.operacdn.com/static-heap/11/11bb20439edcccff33dbfa6df6f4c9ad564f91e4/logo-header-opera.png 1x, https://www-static.operacdn.com/static-heap/28/2820d98042080cc51dea518980d80293bf732770/logo-header-opera2x.png 2x" alt="Opera">
- </a>
- <div class="hf--menu">
- <input id="hf--menu-switcher" class="hf--hide" type="checkbox">
- <label class="hf--menu-switcher" for="hf--menu-switcher"></label>
- <div>
- <div>
- <ul class="hf--main-nav-items" role="menu">
-
- <li><a href="/it/computer" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Browser per PC</a></li>
- <li><a href="/it/mobile" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">App per dispositivi mobili</a></li>
-
-
- <li class="hf--menu-opposite">
- <a href="//blogs.opera.com/" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Blog</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
-
-
-
- </header>
-
-
-
- <main lang="en" class="page">
- <div class="page--content">
-
-
-
-
-
-
-
-
-<section class="top-padding--none">
- <div class="content-width"><h1>Privacy Statement</h1>
-<p><i>Updated May 6, 2016</i><a id="top"></a>
-</p><h3>Summary</h3>
-<p>We at Opera Software AS (&quot;Opera&quot;) take your privacy seriously. This privacy statement explains what data we collect, how we store and transfer it and how we use it. The exact set of the data we collect, its purpose and your opt-out choices depend on the product or service you use. Please refer to the relevant product or service sections of this privacy statement to learn more specific details.</p><p>Some of the data we collect, either individually or aggregated, may be considered personal. We treat this data in a special way, as required by law.</p><p>We'll always honor your decisions for how your data is used. We have safeguards in place to protect your data from loss, misuse, and unauthorized access, disclosure, alteration, or destruction.</p><p>When we post changes to this privacy statement, we will include the date when the statement was last updated. If we significantly change this statement or how we use your personal information, we will notify you either by prominently posting a notice prior to implementing the change or by sending you a notification directly. We encourage you to respect review this statement periodically.</p><h3>Why do we collect data?</h3>
-<p>We only process your data for purposes that are objectively justified by our products and services. We process this data with respect to your fundamental right to privacy, including the need to protect personal integrity and private life and to ensure that your personal data is of adequate quality. Unless otherwise stated, we determine the purposes for and manners in which your data is collected (in legalese, we act as a &quot;data controller&quot; regarding personal data).</p><p>We collect data to:</p>
-<ul>
-
-<li>Improve, debug, and maintain Opera products and services</li>
-
-<li>Study and personalize user experiences</li>
-
-<li>Fulfill legal requirements</li>
-
-<li>Conduct business analysis and research, and marketing campaigns</li>
-
-<li>Ensure better security and fraud protection</li>
-
-</ul>
-<p>We may also use your data to send personalized information regarding updates, upgrades, enhancements, surveys, recommendations and/or advertisements, if we believe these are relevant for you.</p><h3>What data do we collect?</h3>
-<p>The information we collect may include: personal data, for example your name, email, IP-address, location; and non-personal technical data, for example who manufactured your device, your screen's resolution, your mobile operator's region and code. A complete list of the data we collect and purpose of collection may vary between our products and services. You can find detailed descriptions in the product/service-related sections below.</p><h3>How do we collect data?</h3>
-<p>Generally, we collect data:</p>
-<ul>
-
-<li>When you provide it explicitly to us; for example, when you submit a form on our websites</li>
-
-<li>When you install and run our products, use our services, or visit our websites</li>
-
-<li>When third parties share information with us</li>
-
-</ul>
-<p>Some products may require your personal data to function properly. Wherever technically possible, we'll ask for your consent to collect your personal data and offer you the choice to opt-out. Please read product-specific information to learn how to opt-out.</p><p>When we collect your data, we associate it with a unique ID and a unique device ID that are generated when you install an Opera product or begin using one of our services. These identifiers are anonymized and cannot be linked to you as an individual person. We also take measures to remove any possible connections between these IDs and other types of personal data.</p><p>To collect information automatically, we may use <a href="https://en.wikipedia.org/wiki/HTTP_cookie" target="_self">cookies</a>, <a href="https://en.wikipedia.org/wiki/Web_beacon" target="_self">web beacons</a>, our own data-collection tools or various third-party services.</p><p>Some third-party sites may monitor data traffic from our products and services, such as numbers of hits and the search terms used. We do not make available any personally identifiable information to these services.</p><p>This privacy statement does not cover third-party apps you access and use through our products and services, nor does it cover links to other websites. We do not control the privacy and security practices and policies of these third parties and their sites. We encourage you to read the privacy statements of the third-party apps and websites you use.</p><h3>How do we protect your data?</h3>
-<p>We treat your personal data as required by law. We are a Norwegian company and we follow Norwegian data-security laws as well as other national legislation, as needed. We require that our suppliers successfully pass security assessments and prove their compliance with applicable laws and industry standards.</p><p>Only a limited number of Opera employees have access to the data we collect. We review and update our working procedures regularly to improve your privacy and ensure that our internal policies are followed. We immediately correct any non-conformance regarding these policies.</p><p>Our commitment to your privacy does not extend to third-party products and services you may access from Opera products and services. We encourage you to read the privacy statements of the third-party products and services you use.</p><h3>How do we share your data?</h3>
-<p>We may share your data:</p>
-<ul>
-
-<li>To government bodies and law enforcement agencies to comply with the law, for example in judicial proceedings, by court order or other legal process</li>
-
-<li>To third parties (including professional advisors) to enforce or defend our legal rights, including our terms and conditions</li>
-
-<li>To a third-party purchaser or seller (including professional advisors) in connection with a corporate event such as a merger, business acquisition or insolvency situation</li>
-
-<li>As described elsewhere in this statement</li>
-
-</ul>
-<p>Some of our products and services include third-party technology or code that may use the collected data. We may share anonymized and/or aggregated sets of data with our partners and other trusted third parties.</p><p>Because we are an international company with data-centers around the world, your data may be transferred to countries which do not have the same level of data protection laws as those in the country where you are located. We will ensure that your data is protected to a strict standard.</p><h3>What else should I know?</h3>
-<p>We aim to be transparent as to what data we collect and how we use it. Your rights are not limited to consent and opt-out choices only. If you've provided personal information to us, you may change or modify this information at any time.</p><p>We retain personal data only as long as necessary for processing it in accordance with the purposes described in this statement, or as otherwise necessary to comply with applicable laws. When your data is no longer necessary or relevant for our purposes, or required by applicable laws, we take steps to have it deleted, aggregated or made anonymous.</p><p>You can find out if we hold any personal data about you by contacting us. You may be asked to prove your identification so that we can verify who is making the request. If we hold information about you, you can ask us to correct any mistakes and delete any excessive information.</p><h3>Contact information</h3>
-<p>If you have any questions about this statement or any privacy issues regarding Opera and our products or services, we can be reached&nbsp;by post at:</p><p>
-Opera Software AS<br />
-P.O. Box 4214 Nydalen<br />
-NO-0401 OSLO<br />Norway</p><h1>Privacy policies</h1>
-<p>For privacy policies and questions specifically related to the Opera products and services, please see the appropriate section below:</p>
-<ul>
-
-<li><a href="/it/privacy/computers" target="_self">Opera for computers</a></li>
-
-<li><a href="/it/privacy/operaforandroid" target="_self">Opera for Android</a></li>
-
-<li><a href="/it/privacy/mini" target="_self">Opera Mini</a></li>
-
-<li><a href="/it/privacy/mini/android" target="_self">Opera Mini for Android</a></li>
-
-<li><a href="/it/privacy/mini/ios" target="_self">Opera Mini for iOS</a></li>
-
-<li><a href="/it/privacy/websites" target="_self">Opera websites</a></li>
-
-<li><a href="/it/privacy/services" target="_self">Opera services</a></li>
-
-</ul>
-</div>
-</section>
-
- </div>
- </main>
-
-
- <footer class="ns--hf">
- <div class="hf--top-side">
- <div class="hf--width-holder">
- <div class="hf--language">
- <span class="hf--language-selector-icon"><span class="hf--hide">Seleziona la lingua:</span></span>
- <span>
- <select class="hf--language-selector" onchange="location=this.options[this.selectedIndex].value;">
- <option data-name="id" value="/id/privacy">Bahasa Indonesia</option><option data-name="ms" value="/ms/privacy">Bahasa Melayu</option><option data-name="cs" value="/cs/privacy">Čeština</option><option data-name="da" value="/da/privacy">Dansk</option><option data-name="de" value="/de/privacy">Deutsch</option><option data-name="en" value="/privacy">English</option><option data-name="es" value="/es/privacy">Español</option><option data-name="es-419" value="/es-419/privacy">Español (Latinoamérica)</option><option data-name="tl" value="/tl/privacy">Filipino</option><option data-name="fr" value="/fr/privacy">Français</option><option data-name="it" value="/it/privacy" selected>Italiano</option><option data-name="hu" value="/hu/privacy">Magyar</option><option data-name="nl" value="/nl/privacy">Nederlands</option><option data-name="no" value="/no/privacy">Norsk (bokmål)</option><option data-name="pl" value="/pl/privacy">Polski</option><option data-name="pt" value="/pt/privacy">Português</option><option data-name="pt-br" value="/pt-br/privacy">Português (Brasil)</option><option data-name="ro" value="/ro/privacy">Română</option><option data-name="sk" value="/sk/privacy">Slovenčina</option><option data-name="fi" value="/fi/privacy">Suomi</option><option data-name="sv" value="/sv/privacy">Svenska</option><option data-name="vi" value="/vi/privacy">Tiếng Việt</option><option data-name="tr" value="/tr/privacy">Türkçe</option><option data-name="el" value="/el/privacy">Ελληνικά</option><option data-name="bg" value="/bg/privacy">Български</option><option data-name="ru" value="/ru/privacy">Русский</option><option data-name="uk" value="/uk/privacy">Українська</option><option data-name="he" value="/he/privacy">עברית</option><option data-name="ar" value="/ar/privacy">العربية</option><option data-name="hi" value="/hi/privacy">हिंदी</option><option data-name="th" value="/th/privacy">ไทย</option><option data-name="ko" value="/ko/privacy">한국어</option><option data-name="zh-cn" value="/zh-cn/privacy">中文(中国)</option><option data-name="zh-tw" value="/zh-tw/privacy">中文(台灣)</option><option data-name="ja" value="/ja/privacy">日本語</option> </select>
- </span>
- </div> <p class="hf--back">
- <a class="hf--text-uppercase back-to-top" href="#" onclick="return false;">In alto</a>
- </p> </div>
- <div class="hf--social">
- <div class="hf--width-holder">
- <p class="hf--social-headline hf--hide">Segui Opera</p>
-
- <div class="hf--social-icons">
- <a class="facebook" href="https://facebook.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Facebook</span>
- </a>
- <a class="twitter" href="https://twitter.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Twitter</span>
- </a>
- <a class="youtube" href="https://www.youtube.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Youtube</span>
- </a>
- <a class="linkedin" href="https://www.linkedin.com/company/opera-software" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">LinkedIn</span>
- </a>
- <a class="instagram" href="https://instagram.com/operabrowser" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Instagram</span>
- </a>
- </div>
- </div>
- </div>
- </div>
- <div class="hf--links">
- <div class="hf--width-holder">
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="https://www.opera.com/download">Scarica Opera</a></li>
- <li><a class="hf--text-regular" href="//www.opera.com/computer">Browser per PC</a></li>
- <li><a class="hf--text-regular" href="//www.opera.com/mobile">App per dispositivi mobili</a></li>
- <li><span class="hf--links-sep"><span class="hf--hide">-</span></span></li>
- <li><a class="hf--text-uppercase" href="//www.opera.com/help">Guida e supporto</a></li>
- <li><a class="hf--text-uppercase" href="//blogs.opera.com/">Blog di Opera</a></li>
- <li><a class="hf--text-uppercase last-link" href="//forums.opera.com">Forum di Opera</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="http://dev.opera.com/">Dev.Opera</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/computer/beta">Versione beta</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/computer/neon">Opera Neon</a></li>
- <li><span class="hf--links-sep"><span class="hf--hide">-</span></span></li>
- <li><strong class="hf--text-uppercase">Servizi</strong></li>
- <li><a class="hf--text-regular" href="https://addons.opera.com">Componenti aggiuntivi</a></li>
- <li><a class="hf--text-regular" href="https://auth.opera.com/account/login">Account Opera</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="http://www.operasoftware.com">Opera B2B</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/operators">Soluzioni per operatori</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/mobile-oems">Soluzioni OEM</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/content-partners">Collaborare con Opera</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/blog">Aziende</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="https://www.opera.com/about">Informazioni su Opera</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/jobs">Lavori</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/company/investors">Investitori</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/press">Info stampa</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/company/contact">Contatti</a></li>
- </ul>
- </div>
- </div>
- <div class="hf--bottom-side hf--width-holder">
- <div class="hf--bottom-wrapper">
- <div class="hf--social">
- <p class="hf--social-headline hf--hide">Segui Opera</p>
-
- <div class="hf--social-icons">
- <a class="facebook" href="https://facebook.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Facebook</span>
- </a>
- <a class="twitter" href="https://twitter.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Twitter</span>
- </a>
- <a class="youtube" href="https://www.youtube.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Youtube</span>
- </a>
- <a class="linkedin" href="https://www.linkedin.com/company/opera-software" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">LinkedIn</span>
- </a>
- <a class="instagram" href="https://instagram.com/operabrowser" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Instagram</span>
- </a>
- </div>
- </div>
- <div class="hf--copyrights">
- <ul class="hf--copyrights-items">
- <li><strong>&copy; Opera Software</strong></li>
- <li><a href="https://www.opera.com/privacy">Riservatezza</a></li>
- <li><a href="https://www.opera.com/terms">Termini d'utilizzo</a></li>
- </ul>
- </div>
- <div class="hf--controls">
- <div class="hf--language">
- <span class="hf--language-selector-icon"><span class="hf--hide">Seleziona la lingua:</span></span>
- <span>
- <select class="hf--language-selector" onchange="location=this.options[this.selectedIndex].value;">
- <option data-name="id" value="/id/privacy">Bahasa Indonesia</option><option data-name="ms" value="/ms/privacy">Bahasa Melayu</option><option data-name="cs" value="/cs/privacy">Čeština</option><option data-name="da" value="/da/privacy">Dansk</option><option data-name="de" value="/de/privacy">Deutsch</option><option data-name="en" value="/privacy">English</option><option data-name="es" value="/es/privacy">Español</option><option data-name="es-419" value="/es-419/privacy">Español (Latinoamérica)</option><option data-name="tl" value="/tl/privacy">Filipino</option><option data-name="fr" value="/fr/privacy">Français</option><option data-name="it" value="/it/privacy" selected>Italiano</option><option data-name="hu" value="/hu/privacy">Magyar</option><option data-name="nl" value="/nl/privacy">Nederlands</option><option data-name="no" value="/no/privacy">Norsk (bokmål)</option><option data-name="pl" value="/pl/privacy">Polski</option><option data-name="pt" value="/pt/privacy">Português</option><option data-name="pt-br" value="/pt-br/privacy">Português (Brasil)</option><option data-name="ro" value="/ro/privacy">Română</option><option data-name="sk" value="/sk/privacy">Slovenčina</option><option data-name="fi" value="/fi/privacy">Suomi</option><option data-name="sv" value="/sv/privacy">Svenska</option><option data-name="vi" value="/vi/privacy">Tiếng Việt</option><option data-name="tr" value="/tr/privacy">Türkçe</option><option data-name="el" value="/el/privacy">Ελληνικά</option><option data-name="bg" value="/bg/privacy">Български</option><option data-name="ru" value="/ru/privacy">Русский</option><option data-name="uk" value="/uk/privacy">Українська</option><option data-name="he" value="/he/privacy">עברית</option><option data-name="ar" value="/ar/privacy">العربية</option><option data-name="hi" value="/hi/privacy">हिंदी</option><option data-name="th" value="/th/privacy">ไทย</option><option data-name="ko" value="/ko/privacy">한국어</option><option data-name="zh-cn" value="/zh-cn/privacy">中文(中国)</option><option data-name="zh-tw" value="/zh-tw/privacy">中文(台灣)</option><option data-name="ja" value="/ja/privacy">日本語</option> </select>
- </span>
- </div> <div class="hf--nav">
- <div class="hf--width-holder">
- <p class="hf--back">
- <a class="hf--text-uppercase back-to-top" href="#" onclick="return false;">In alto</a>
- </p> </div>
- </div>
- </div>
- </div>
- </div>
- </footer>
- <script src="https://www-static.operacdn.com/static-heap/4d/4d7f76c8987efba7e997c2cead49c858f7966ebb/linkfeedback.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/30/305ba43f6e26911dcc3a6c564473af33b85c804d/browserinfo.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/98/98f88227912fc67b44662e8392f3779e4e6ccab5/opera.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/3d/3d254f1aec48f4b9990a19c04c7355d29c995fd5/promoassets.js"></script>
- </body>
-</html> \ No newline at end of file
diff --git a/network/opera-developer/slack-desc b/network/opera-developer/slack-desc
deleted file mode 100644
index 810ab1f375..0000000000
--- a/network/opera-developer/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-opera-developer: opera-developer (A fast and secure web browser)
-opera-developer:
-opera-developer: Opera is a graphical Web browser available on several platforms.
-opera-developer: The desktop version runs on GNU/Linux and FreeBSD. Versions for
-opera-developer: Macintosh and Windows are also available.
-opera-developer:
-opera-developer: Homepage: https://www.opera.com/
-opera-developer:
-opera-developer:
-opera-developer:
-opera-developer:
diff --git a/network/opera-developer/terms.html b/network/opera-developer/terms.html
deleted file mode 100644
index 38e4af0aaf..0000000000
--- a/network/opera-developer/terms.html
+++ /dev/null
@@ -1,285 +0,0 @@
- <!DOCTYPE html>
-<html lang="en">
- <head>
-
-
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <meta name="msvalidate.01" content="070C6E8E67D398B03BD8D8E9408A7045">
- <meta name="yandex-verification" content="780cc78194f8c462">
-
- <meta name="robots" content="noyaca, noodp">
-
- <meta name="description" content="These terms of service (“Terms”), along with Opera’s privacy policy located at https://www.opera.com/privacy (“Privacy Policy”), form a binding contract between you and Opera Software AS">
-
-
- <meta property="og:image" content="https://www-static.operacdn.com/static-heap/75/759b5d5a74e1be5fdfd0fd1fed338c9d1c6cbb33/opera-152.png">
- <meta property="og:title" content="Terms of Service | Opera">
- <meta property="og:url" content="https://www.opera.com/terms">
- <meta property="og:description" content="These terms of service (“Terms”), along with Opera’s privacy policy located at https://www.opera.com/privacy (“Privacy Policy”), form a binding contract between you and Opera Software AS">
- <meta property="og:type" content="website">
-
-
- <title>Terms of Service | Opera</title>
-
-
- <link rel="dns-prefetch" href="//www-static.operacdn.com">
- <link rel="apple-touch-icon" href="https://www-static.operacdn.com/static-heap/91/91051bd6095b8484c359274af1ec222b6bd293d4/opera-57.png">
- <link rel="apple-touch-icon" sizes="57x57" href="https://www-static.operacdn.com/static-heap/91/91051bd6095b8484c359274af1ec222b6bd293d4/opera-57.png">
- <link rel="apple-touch-icon" sizes="72x72" href="https://www-static.operacdn.com/static-heap/1d/1db0d666779ad5dc2bde071f1e64223cbc898079/opera-72.png">
- <link rel="apple-touch-icon" sizes="76x76" href="https://www-static.operacdn.com/static-heap/ca/cab9c89aeabd94f19da89e4aae5fac8077f40288/opera-76.png">
- <link rel="apple-touch-icon" sizes="114x114" href="https://www-static.operacdn.com/static-heap/3e/3eb93f40546e3dd463deb58e5a5b59ace97d8cff/opera-114.png">
- <link rel="apple-touch-icon" sizes="120x120" href="https://www-static.operacdn.com/static-heap/ab/ab7832e9d56e106488f110e871c46f774576b093/opera-120.png">
- <link rel="apple-touch-icon" sizes="144x144" href="https://www-static.operacdn.com/static-heap/5e/5ed11b7f90d7abe5af33392636f1e1fd40f8d40f/opera-144.png">
- <link rel="apple-touch-icon" sizes="152x152" href="https://www-static.operacdn.com/static-heap/75/759b5d5a74e1be5fdfd0fd1fed338c9d1c6cbb33/opera-152.png">
-
-
- <meta name="application-name" content="Terms of Service - Opera">
- <meta name="msapplication-TileColor" content="#FE1B2C">
- <meta name="msapplication-TileImage" content="https://www-static.operacdn.com/static-heap/6a/6aa0021764af934c8431d64fbf508a90ef30846d/opera-windows-144.png">
- <meta name="msapplication-square70x70logo" content="https://www-static.operacdn.com/static-heap/27/27d2de5f321780e481fcd3cf8e7a4800295ed5bd/opera-windows-70.png">
- <meta name="msapplication-square150x150logo" content="https://www-static.operacdn.com/static-heap/05/0556dff691cc07304d9f12204548ab63c3142368/opera-windows-150.png">
- <meta name="msapplication-wide310x150logo" content="https://www-static.operacdn.com/static-heap/42/42554ff6fabadcc22853c011b777923e56a2a94c/opera-windows-310-150.png">
- <meta name="msapplication-square310x310logo" content="https://www-static.operacdn.com/static-heap/99/9938c6221aba7d87edf2ec2795206bf92d4c3d29/opera-windows-310.png">
-
-
- <link rel="alternate" hreflang="id" href="https://www.opera.com/id/terms" />
- <link rel="alternate" hreflang="ms" href="https://www.opera.com/ms/terms" />
- <link rel="alternate" hreflang="cs" href="https://www.opera.com/cs/terms" />
- <link rel="alternate" hreflang="da" href="https://www.opera.com/da/terms" />
- <link rel="alternate" hreflang="de" href="https://www.opera.com/de/terms" />
- <link rel="canonical" hreflang="en" href="https://www.opera.com/terms" />
- <link rel="alternate" hreflang="es" href="https://www.opera.com/es/terms" />
- <link rel="alternate" hreflang="es-419" href="https://www.opera.com/es-419/terms" />
- <link rel="alternate" hreflang="tl" href="https://www.opera.com/tl/terms" />
- <link rel="alternate" hreflang="fr" href="https://www.opera.com/fr/terms" />
- <link rel="alternate" hreflang="it" href="https://www.opera.com/it/terms" />
- <link rel="alternate" hreflang="hu" href="https://www.opera.com/hu/terms" />
- <link rel="alternate" hreflang="nl" href="https://www.opera.com/nl/terms" />
- <link rel="alternate" hreflang="no" href="https://www.opera.com/no/terms" />
- <link rel="alternate" hreflang="pl" href="https://www.opera.com/pl/terms" />
- <link rel="alternate" hreflang="pt" href="https://www.opera.com/pt/terms" />
- <link rel="alternate" hreflang="pt-br" href="https://www.opera.com/pt-br/terms" />
- <link rel="alternate" hreflang="ro" href="https://www.opera.com/ro/terms" />
- <link rel="alternate" hreflang="sk" href="https://www.opera.com/sk/terms" />
- <link rel="alternate" hreflang="fi" href="https://www.opera.com/fi/terms" />
- <link rel="alternate" hreflang="sv" href="https://www.opera.com/sv/terms" />
- <link rel="alternate" hreflang="vi" href="https://www.opera.com/vi/terms" />
- <link rel="alternate" hreflang="tr" href="https://www.opera.com/tr/terms" />
- <link rel="alternate" hreflang="el" href="https://www.opera.com/el/terms" />
- <link rel="alternate" hreflang="bg" href="https://www.opera.com/bg/terms" />
- <link rel="alternate" hreflang="ru" href="https://www.opera.com/ru/terms" />
- <link rel="alternate" hreflang="uk" href="https://www.opera.com/uk/terms" />
- <link rel="alternate" hreflang="he" href="https://www.opera.com/he/terms" />
- <link rel="alternate" hreflang="ar" href="https://www.opera.com/ar/terms" />
- <link rel="alternate" hreflang="hi" href="https://www.opera.com/hi/terms" />
- <link rel="alternate" hreflang="th" href="https://www.opera.com/th/terms" />
- <link rel="alternate" hreflang="ko" href="https://www.opera.com/ko/terms" />
- <link rel="alternate" hreflang="zh-cn" href="https://www.opera.com/zh-cn/terms" />
- <link rel="alternate" hreflang="zh-tw" href="https://www.opera.com/zh-tw/terms" />
- <link rel="alternate" hreflang="ja" href="https://www.opera.com/ja/terms" />
-
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/latin_latinext-634dce27.css">
-
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/header-footer-8618b3a3.css">
- <link rel="stylesheet" type="text/css" media="all" href="https://www-static.operacdn.com/extension/opera/design/opera/static/css/opera2-3353345c.css">
-
-
-
-
- </head>
- <body>
- <!-- Google Tag Manager -->
-
- <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-Q5SW"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <script>
- (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
- new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
- j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
- '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
- })(window,document,'script','dataLayer','GTM-Q5SW');
- </script>
-
-<!-- End Google Tag Manager -->
-
- <header id="header" class="ns--hf">
- <div class="hf--primary">
- <div class="hf--width-holder">
- <div class="hf--main-nav" role="navigation">
- <a class="hf--brand" href="/">
- <img src="https://www-static.operacdn.com/static-heap/11/11bb20439edcccff33dbfa6df6f4c9ad564f91e4/logo-header-opera.png" srcset="https://www-static.operacdn.com/static-heap/11/11bb20439edcccff33dbfa6df6f4c9ad564f91e4/logo-header-opera.png 1x, https://www-static.operacdn.com/static-heap/28/2820d98042080cc51dea518980d80293bf732770/logo-header-opera2x.png 2x" alt="Opera">
- </a>
- <div class="hf--menu">
- <input id="hf--menu-switcher" class="hf--hide" type="checkbox">
- <label class="hf--menu-switcher" for="hf--menu-switcher"></label>
- <div>
- <div>
- <ul class="hf--main-nav-items" role="menu">
-
- <li><a href="/computer" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Computer browsers</a></li>
- <li><a href="/mobile" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Mobile apps</a></li>
-
-
- <li class="hf--menu-opposite">
- <a href="//blogs.opera.com/" data-event-action="hf-main-nav-item" data-event-category="hf" role="menuitem">Blogs</a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
-
-
-
- </header>
-
-
-
- <main class="page">
- <div class="page--content">
-
-
-
-
-
-
-
-
-<section class="top-padding--oneline bottom-padding--twolines">
- <div class="content-width"><h1>Terms of Service</h1>
-<p><i>Last updated: December 5, 2017</i></p><p>Opera Software AS and its affiliates offer a number of different services through their respective websites and software. The terms of this document govern your use of those services. Please read this document carefully.</p><p><b>1. This is a contract.</b></p><p>a. These Terms of Service (“Terms”), along with Opera’s Privacy Statement, form a legally-binding contract between you and Opera Software AS a Norwegian company whose principal place of business is Gjerdrumsvei 19, 0484, Oslo, Norway, as well as its affiliates (“Opera” and “we,” “us” and “our”). By using the Services (as defined below), you are agreeing to be legally bound by these Terms. If you don’t agree with these Terms, you must discontinue using the Services.</p><p>b. As used in these Terms, the word “Services” applies to the services provided to you via Opera’s websites, user forums, your user account system, and software applications.</p><p><b>2. We expect you to be a responsible user.</b></p><p>a. You agree that you will not use the Services for any purpose that is unlawful or prohibited by these Terms. You agree to follow all applicable local, state, national, and international laws and regulations. You are solely responsible for all acts or omissions that occur while using any Services, including the content of any transmissions you send through the Services and any content you upload or publish using the Services.</p><p>b. We expect you to respect the rights of others. By using the Services, you agree that you will not upload, transfer, or otherwise make available files, images, code, materials, or other information or content (“Content”) that violates the rights of any third party, including their intellectual property rights, however defined.</p><p>c. You also agree not to upload, transfer, or otherwise make available any Content that is obscene, vulgar, sexually-oriented, hateful, or threatening. Opera strictly forbids unsolicited messaging and unauthorized advertisements while using the Services.</p><p>d. Opera has a zero-tolerance policy against child sexual abuse content and will terminate the access of any user who publishes or distributes child sexual abuse content. Furthermore, we will report such user to the appropriate authorities.</p><p>e. You are responsible for the security of your user account. Certain Services (including use of Opera’s forums) allow you to create a user account to access to certain Services. You are entirely responsible for maintaining the confidentiality of your user account and password. Additionally, you are also responsible for any and all activities that occur under your user account.</p><p>f. You acknowledge that information of any kind presented to you via the Services may be protected by copyright, trademark, patent and/or other proprietary rights and laws. You agree not to violate these laws or infringe these rights in any way.</p><p>g. Certain features of the Services may allow you to publish or send content that can be viewed by others (“User Generated Content”). You agree that Opera is not liable for User Generated Content that is provided by others. Opera has no duty to pre-screen User Generated Content, but Opera has the right to refuse to post, edit, or deliver User Generated Content. Opera reserves the right to remove User Generated Content for any reason, but Opera is not responsible for any failure or delay in removing such material. Opera reserves the right to block any user’s access to any content, website or webpage at our sole discretion.</p><p>h. Opera does not claim ownership of any User Generated Content. However, by submitting User Generated Content on any Service, including any ideas, concepts, know-how, or techniques described therein, you consent to Opera’s unrestricted use of those items.</p><p>i. If you upload any Content or User Generated Content to Opera’s sites, you warrant that you have the necessary rights and authority to do so, including the necessary consent to upload and distribute any personal information about third persons. You agree that you will not upload viruses or other forms of malware.</p><p><b>3. Details.</b> For clarity, and consistent with the rest of these Terms, here are further details on specific Services that may be available through the Opera websites or software applications.</p><p>a. Extension catalog: Opera may offer a portfolio of third party browser extensions and themes (“Add-Ons”) at <a href="https://addons.opera.com/extensions" target="_self">https://addons.opera.com/extensions</a>. Opera exercises no editorial control over the Add-Ons that you access through this Service.</p><p>b. Compression: Opera’s software applications include compression functionality to enable users to boost the download of web content such as webpages and/or videos. This functionality requests web content through Opera’s proxy or compression servers. Your browsing experience may change due to increased loading speeds. Certain webpages may not be available through proxy servers.</p><p>c. News recommendations: Opera’s software applications may include a current news feed feature to help you discover and access news content made available by third parties on the internet. Opera exercises no editorial control over any content that you access through this Service.</p><p>d. Synchronization: Opera allows you to enable synchronization of browser data such as your speed dials between Opera browsers on the devices you are using. This Service requires that you login to a social network service or create an Opera account.</p><p>e. Contextual hints: Opera’s browser for computers may include “Browser Assistant”, a component that provides contextual hints about certain Opera browser features and other useful information which you might be interested in. Browser Assistant is an optional component of the software.</p><p>f. Virtual Private Network: Through Opera’s browser for computers you may have access to a virtual private network (“VPN”). Consistent with other provisions of these terms, you agree not to use the VPN service in a manner that violates applicable law or otherwise infringes any third party’s rights. Opera does not guarantee that VPN service will always be available. The VPN feature is not an end-to-end service and it does not guarantee that any transmissions of information made while using VPN will be secure. Note that certain websites may not be accessible while using VPN.</p><p>g. Snapshot: Opera’s browser for computers may include functions that enable you to easily take screenshots of content viewed through the browser. This feature is for your personal, non-commercial use only. You agree never to use the feature in any way that violates applicable law, or the rights of any third party, including copyrights.</p><p>h. Virtual Reality functions: Opera’s browser for computers may include functions that facilitate access to virtual reality content using your virtual reality hardware. Your use of any virtual reality hardware and related services are governed by separate terms and conditions. Opera is not responsible for your use of your hardware, or for any virtual reality content produced by third parties.</p><p><b>4. The Services are provided without any warranties or guarantees.</b> Opera does not guarantee that your use of the Services will be problem free. Although we work hard to provide the highest quality software and services, we cannot and do not guarantee that they will work perfectly every time or in every respect.</p><p>a. The Services are provided “as is” without warranties of any kind. Opera and/or its respective suppliers hereby disclaim all warranties and conditions with regard to the Services, including all implied warranties and conditions of merchantability, fitness for a particular purpose, title, and non-infringement.</p><p>b. Opera does not represent or warrant that the Services will be uninterrupted or error free, that defects will be corrected, or that the Services or the server that makes them available are free of viruses or other harmful components.</p><p>c. In compliance with local law, certain Services and websites may not be available in some countries.</p><p><b>5. Certain Services are provided by third parties.</b> Some Services accessible through the Opera software applications are provided by other companies (“Third Party Services”). Third Party Services may be subject to separate terms and conditions. These Third Party Services may include the following:</p><p>a. WhatsApp: A messaging service provided by WhatsApp, Inc. Terms of use and other important legal information is available at <a href="https://www.whatsapp.com/legal" target="_blank">https://www.whatsapp.com/legal</a>; and</p><p>b. Messenger: A messaging service provided by Facebook, Inc. with Terms of use available at <a href="https://www.facebook.com/legal/terms" target="_blank">https://www.facebook.com/legal/terms</a>.</p><p><b>6. Your access to the Services is subject to change.</b> Opera reserves the right at any time to modify or discontinue the Services in whole or in part, and to terminate your access to the Services at any time, with or without notice. You agree that Opera shall not be liable to you or to any third party for any modification, suspension or discontinuance of the Services. Opera may also terminate or suspend your user account for inactivity, which is defined as failing to sign-in to the Services for an extended period of time, as determined by Opera. Opera reserves the right to assign its rights and responsibilities under these Terms to any third party.</p><p><b>7. Links to the Third Party Sites are available through the Services.</b> The Services may contain links to other websites (“Third Party Sites”), as well as articles, photographs, text, graphics, pictures, designs, music, sound, video, information, applications, software, and other content or items belonging to or originating from third parties (“Third Party Content”). Opera has no control over and no responsibility for Third Party Sites or Third Party Content. Inclusion of, linking to, or permitting the use or installation of any Third Party Site or any Third Party Content does not imply approval or endorsement thereof by Opera.</p><p><b>8. Opera is not responsible for any damages you may incur as a result of your use of the Services.</b></p><p>a. You agree that Opera shall not be responsible for unauthorized access to or alteration of your transmissions or data, any material or data sent or received or not sent or received, or any transactions entered into through the Services.</p><p>b. You agree that Opera is not responsible or liable for any threatening, defamatory, obscene, offensive, or illegal content or conduct of any other party or any infringement of another’s rights, including intellectual property rights. You specifically agree that Opera is not responsible for any content sent using and/or included in the Services by any third party.</p><p>c. In no event shall Opera and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages, or any damages whatsoever including, without limitation, damages for loss of use, data, or profits, arising out of or in any way connected with the use or performance of the Services, with the delay or inability to use the Services, the provision of or failure to provide any Services, or for any information, software, products, services, and related graphics obtained through the Services, or otherwise arising out of the use of the Services, whether based on contract, tort, negligence, strict liability, or otherwise, even if opera or any of its suppliers has been advised of the possibility of damages. Because some states/jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply in every instance. If you are dissatisfied with any portion of the Services, or with any of these terms, your sole and exclusive remedy is to discontinue using the Services and related websites.</p><p>d. You agree to indemnify and hold Opera, its parents, subsidiaries, affiliates, officers, and employees, harmless from any claim, demand, or damage, including reasonable attorneys’ fees, asserted by any third party due to or arising out of your use of or conduct on the Services.</p><p><b>9. We need you to respect our trademarks.</b> The Opera word mark and the Opera and “O” logos are trademarks of Opera Software AS in Norway, the European Union and other countries. You agree that all of Opera’s trademarks, trade names, service marks and other Opera logos and brand features, and product and service names are trademarks and the property of Opera (the “Opera Marks”). Without Opera’s prior written permission, you agree not to display or use in any manner the Opera Marks.</p><p><b>10. These Terms are based on Norwegian law.</b> These Terms are governed by the laws of Norway without giving effect to any conflicts of law principles that may require the application of the laws of a different country. The United Nations Convention on Contracts for the International Sale of Goods does not apply to these Terms. All actions or proceedings arising under or related to these Terms must be brought in the Oslo City Court, and each party hereby agree to irrevocably submit to the jurisdiction and venue of any such court in all such actions or proceedings. If any provision of these Terms is determined by a court of competent jurisdiction to be invalid, illegal, or unenforceable, the remaining provisions of these Terms shall not be affected or impaired thereby. You may not assign or transfer your rights under these Terms without obtaining Opera’s prior written consent, and any purported assignment or transfer in violation of this section will be null and void.</p><p><b>11. Opera may modify these Terms.</b> Opera may update these Terms or the Privacy Statement from time to time. The current version of these Terms are posted at <a href="https://www.opera.com/terms" target="_self">https://www.opera.com/terms</a>. The Privacy Statement is posted at <a href="https://www.opera.com/privacy" target="_self">https://www.opera.com/privacy</a>. It is your responsibility to remain informed of any changes, because you are legally obligated to abide by the latest versions of these Terms and the Privacy Statement.</p><p><b>12. Notice to rights holders.</b> If you believe that any content accessible via the Services infringes your rights, you may submit a notification to Opera in which you provide the following information: (a) identification of the rights/works that are being infringed upon; (b) identification of the content that is infringing your rights (including URL(s) for the content); (c) your name, address, telephone number, and electronic mail address; (d) a statement that you have a good faith belief that use of the content in the manner complained of is not authorized by the rights holder, its agent, or the law; (e) a statement that the information in the notification is accurate and, under penalty of perjury, that you are authorized to act on behalf of the owner of an exclusive right that is allegedly infringed; and (f) your physical or electronic signature, or that of a person authorized to act on your behalf, of the owner of an exclusive right that is allegedly infringed. Notices may be sent to <a href="mailto:legal&#x0040;opera.com" target="_self">legal&#x0040;opera.com</a>, attention: Content Team.</p></div>
-</section>
-
- </div>
- </main>
-
-
- <footer class="ns--hf">
- <div class="hf--top-side">
- <div class="hf--width-holder">
- <div class="hf--language">
- <span class="hf--language-selector-icon"><span class="hf--hide">Select your language:</span></span>
- <span>
- <select class="hf--language-selector" onchange="location=this.options[this.selectedIndex].value;">
- <option data-name="id" value="/id/terms">Bahasa Indonesia</option><option data-name="ms" value="/ms/terms">Bahasa Melayu</option><option data-name="cs" value="/cs/terms">Čeština</option><option data-name="da" value="/da/terms">Dansk</option><option data-name="de" value="/de/terms">Deutsch</option><option data-name="en" value="/terms" selected>English</option><option data-name="es" value="/es/terms">Español</option><option data-name="es-419" value="/es-419/terms">Español (Latinoamérica)</option><option data-name="tl" value="/tl/terms">Filipino</option><option data-name="fr" value="/fr/terms">Français</option><option data-name="it" value="/it/terms">Italiano</option><option data-name="hu" value="/hu/terms">Magyar</option><option data-name="nl" value="/nl/terms">Nederlands</option><option data-name="no" value="/no/terms">Norsk (bokmål)</option><option data-name="pl" value="/pl/terms">Polski</option><option data-name="pt" value="/pt/terms">Português</option><option data-name="pt-br" value="/pt-br/terms">Português (Brasil)</option><option data-name="ro" value="/ro/terms">Română</option><option data-name="sk" value="/sk/terms">Slovenčina</option><option data-name="fi" value="/fi/terms">Suomi</option><option data-name="sv" value="/sv/terms">Svenska</option><option data-name="vi" value="/vi/terms">Tiếng Việt</option><option data-name="tr" value="/tr/terms">Türkçe</option><option data-name="el" value="/el/terms">Ελληνικά</option><option data-name="bg" value="/bg/terms">Български</option><option data-name="ru" value="/ru/terms">Русский</option><option data-name="uk" value="/uk/terms">Українська</option><option data-name="he" value="/he/terms">עברית</option><option data-name="ar" value="/ar/terms">العربية</option><option data-name="hi" value="/hi/terms">हिंदी</option><option data-name="th" value="/th/terms">ไทย</option><option data-name="ko" value="/ko/terms">한국어</option><option data-name="zh-cn" value="/zh-cn/terms">中文(中国)</option><option data-name="zh-tw" value="/zh-tw/terms">中文(台灣)</option><option data-name="ja" value="/ja/terms">日本語</option> </select>
- </span>
- </div> <p class="hf--back">
- <a class="hf--text-uppercase back-to-top" href="#" onclick="return false;">Top</a>
- </p> </div>
- <div class="hf--social">
- <div class="hf--width-holder">
- <p class="hf--social-headline hf--hide">Follow Opera</p>
-
- <div class="hf--social-icons">
- <a class="facebook" href="https://facebook.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Facebook</span>
- </a>
- <a class="twitter" href="https://twitter.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Twitter</span>
- </a>
- <a class="youtube" href="https://www.youtube.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Youtube</span>
- </a>
- <a class="linkedin" href="https://www.linkedin.com/company/opera-software" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">LinkedIn</span>
- </a>
- <a class="instagram" href="https://instagram.com/operabrowser" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Instagram</span>
- </a>
- </div>
- </div>
- </div>
- </div>
- <div class="hf--links">
- <div class="hf--width-holder">
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="https://www.opera.com/download">Download Opera</a></li>
- <li><a class="hf--text-regular" href="//www.opera.com/computer">Computer browsers</a></li>
- <li><a class="hf--text-regular" href="//www.opera.com/mobile">Mobile apps</a></li>
- <li><span class="hf--links-sep"><span class="hf--hide">-</span></span></li>
- <li><a class="hf--text-uppercase" href="//www.opera.com/help">Help &amp; support</a></li>
- <li><a class="hf--text-uppercase" href="//blogs.opera.com/">Opera blogs</a></li>
- <li><a class="hf--text-uppercase last-link" href="//forums.opera.com">Opera forums</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="http://dev.opera.com/">Dev.Opera</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/computer/beta">Beta version</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/computer/neon">Opera Neon</a></li>
- <li><span class="hf--links-sep"><span class="hf--hide">-</span></span></li>
- <li><strong class="hf--text-uppercase">Services</strong></li>
- <li><a class="hf--text-regular" href="https://addons.opera.com">Add-ons</a></li>
- <li><a class="hf--text-regular" href="https://auth.opera.com/account/login">Opera account</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="http://www.operasoftware.com">Opera B2B</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/operators">Operator solutions</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/mobile-oems">OEM solutions</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/content-partners">Partner with Opera</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/blog">Business blog</a></li>
- </ul>
- <ul class="hf--links-section">
- <li><a class="hf--text-uppercase" href="https://www.opera.com/about">About Opera</a></li>
- <li><a class="hf--text-regular" href="https://www.opera.com/jobs">Jobs</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/company/investors">Investors</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/press">Press info</a></li>
- <li><a class="hf--text-regular" href="http://www.operasoftware.com/company/contact">Contact us</a></li>
- </ul>
- </div>
- </div>
- <div class="hf--bottom-side hf--width-holder">
- <div class="hf--bottom-wrapper">
- <div class="hf--social">
- <p class="hf--social-headline hf--hide">Follow Opera</p>
-
- <div class="hf--social-icons">
- <a class="facebook" href="https://facebook.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Facebook</span>
- </a>
- <a class="twitter" href="https://twitter.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Twitter</span>
- </a>
- <a class="youtube" href="https://www.youtube.com/opera" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Youtube</span>
- </a>
- <a class="linkedin" href="https://www.linkedin.com/company/opera-software" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">LinkedIn</span>
- </a>
- <a class="instagram" href="https://instagram.com/operabrowser" data-event-action="hf-footer-social-item" data-event-category="hf">
- <span class="hf--hide">Instagram</span>
- </a>
- </div>
- </div>
- <div class="hf--copyrights">
- <ul class="hf--copyrights-items">
- <li><strong>&copy; Opera Software</strong></li>
- <li><a href="https://www.opera.com/privacy">Privacy</a></li>
- <li><a href="https://www.opera.com/terms">Terms of Use</a></li>
- </ul>
- </div>
- <div class="hf--controls">
- <div class="hf--language">
- <span class="hf--language-selector-icon"><span class="hf--hide">Select your language:</span></span>
- <span>
- <select class="hf--language-selector" onchange="location=this.options[this.selectedIndex].value;">
- <option data-name="id" value="/id/terms">Bahasa Indonesia</option><option data-name="ms" value="/ms/terms">Bahasa Melayu</option><option data-name="cs" value="/cs/terms">Čeština</option><option data-name="da" value="/da/terms">Dansk</option><option data-name="de" value="/de/terms">Deutsch</option><option data-name="en" value="/terms" selected>English</option><option data-name="es" value="/es/terms">Español</option><option data-name="es-419" value="/es-419/terms">Español (Latinoamérica)</option><option data-name="tl" value="/tl/terms">Filipino</option><option data-name="fr" value="/fr/terms">Français</option><option data-name="it" value="/it/terms">Italiano</option><option data-name="hu" value="/hu/terms">Magyar</option><option data-name="nl" value="/nl/terms">Nederlands</option><option data-name="no" value="/no/terms">Norsk (bokmål)</option><option data-name="pl" value="/pl/terms">Polski</option><option data-name="pt" value="/pt/terms">Português</option><option data-name="pt-br" value="/pt-br/terms">Português (Brasil)</option><option data-name="ro" value="/ro/terms">Română</option><option data-name="sk" value="/sk/terms">Slovenčina</option><option data-name="fi" value="/fi/terms">Suomi</option><option data-name="sv" value="/sv/terms">Svenska</option><option data-name="vi" value="/vi/terms">Tiếng Việt</option><option data-name="tr" value="/tr/terms">Türkçe</option><option data-name="el" value="/el/terms">Ελληνικά</option><option data-name="bg" value="/bg/terms">Български</option><option data-name="ru" value="/ru/terms">Русский</option><option data-name="uk" value="/uk/terms">Українська</option><option data-name="he" value="/he/terms">עברית</option><option data-name="ar" value="/ar/terms">العربية</option><option data-name="hi" value="/hi/terms">हिंदी</option><option data-name="th" value="/th/terms">ไทย</option><option data-name="ko" value="/ko/terms">한국어</option><option data-name="zh-cn" value="/zh-cn/terms">中文(中国)</option><option data-name="zh-tw" value="/zh-tw/terms">中文(台灣)</option><option data-name="ja" value="/ja/terms">日本語</option> </select>
- </span>
- </div> <div class="hf--nav">
- <div class="hf--width-holder">
- <p class="hf--back">
- <a class="hf--text-uppercase back-to-top" href="#" onclick="return false;">Top</a>
- </p> </div>
- </div>
- </div>
- </div>
- </div>
- </footer>
- <script src="https://www-static.operacdn.com/static-heap/4d/4d7f76c8987efba7e997c2cead49c858f7966ebb/linkfeedback.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/30/305ba43f6e26911dcc3a6c564473af33b85c804d/browserinfo.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/98/98f88227912fc67b44662e8392f3779e4e6ccab5/opera.js"></script>
- <script src="https://www-static.operacdn.com/static-heap/3d/3d254f1aec48f4b9990a19c04c7355d29c995fd5/promoassets.js"></script>
- </body>
-</html> \ No newline at end of file
diff --git a/network/opera-legacy/README b/network/opera-legacy/README
deleted file mode 100644
index 35e2c788ed..0000000000
--- a/network/opera-legacy/README
+++ /dev/null
@@ -1,14 +0,0 @@
-opera-legacy (Fast and secure web browser and Internet suite)
-
-opera-legacy is a small, fast, customizable, powerful, and
-user-friendly web browser, as well as an Internet suite, including an
-email client, IRC client, BiTorrent client and web developer tools
-(Opera Dragonfly).
-
-This browser uses a old engine "Presto", for new engine "Blink please
-see "opera" or "opera-developer" SlackBuilds.
-
-This is a old (and unmaintained) version of Opera browser,
-USE AT YOUR OWN RISK!
-
-Optional dependencies: flashplayer-plugin, jdk or openjdk.
diff --git a/network/opera-legacy/doinst.sh b/network/opera-legacy/doinst.sh
deleted file mode 100644
index 0fb9c8b686..0000000000
--- a/network/opera-legacy/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/opera-legacy/opera-legacy.SlackBuild b/network/opera-legacy/opera-legacy.SlackBuild
deleted file mode 100644
index 24d5218bf3..0000000000
--- a/network/opera-legacy/opera-legacy.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for opera-legacy.
-#
-# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=opera-legacy
-VERSION=${VERSION:-12.16.1860}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i686 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-SRCNAM=${SRCNAM:-opera}
-SRCVER=${SRCVER:-12.16-1860}
-
-set -e
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
- OARCH=$ARCH
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
- OARCH=i386
-else
- printf "\n\n$ARCH is not supported...\n"
- exit 1
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-${VERSION}
-tar xf $CWD/$SRCNAM-${SRCVER}.${OARCH}.linux.tar.xz
-mv $SRCNAM-${SRCVER}.${OARCH}.linux $PRGNAM-${VERSION}
-cd $PRGNAM-${VERSION}
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-./install --name $PRGNAM \
- --prefix /usr \
- --repackage $PKG/usr
-
-if [ -n "$LIBDIRSUFFIX" ]; then
- mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
- sed -i "s,/lib/,/lib$LIBDIRSUFFIX/," $PKG/usr/bin/$PRGNAM
-fi
-
-mv $PKG/usr/share/{man,doc} $PKG/usr
-mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/${PRGNAM}-$VERSION
-if [ -f "$PKG/usr/doc/${PRGNAM}-$VERSION/LICENSE" ]; then
- find $PKG/usr/share/$PRGNAM/{defaults,locale/en*} -name license.txt -type l -delete
- mv $PKG/usr/doc/${PRGNAM}-$VERSION/LICENSE $PKG/usr/share/$PRGNAM/defaults/license.txt
- ( cd $PKG/usr/doc/${PRGNAM}-$VERSION/ ; ln -s ../../share/$PRGNAM/defaults/license.txt LICENSE )
-fi
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/opera-legacy/opera-legacy.info b/network/opera-legacy/opera-legacy.info
deleted file mode 100644
index 9870b53649..0000000000
--- a/network/opera-legacy/opera-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="opera-legacy"
-VERSION="12.16.1860"
-HOMEPAGE="https://www.opera.com"
-DOWNLOAD="http://ftp.opera.com/pub/opera/linux/1216/opera-12.16-1860.i386.linux.tar.xz"
-MD5SUM="08545c66ba00a568324b1a393c8782f7"
-DOWNLOAD_x86_64="http://ftp.opera.com/pub/opera/linux/1216/opera-12.16-1860.x86_64.linux.tar.xz"
-MD5SUM_x86_64="ead647964ace52f44ced98adbc568ae7"
-REQUIRES=""
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
diff --git a/network/opera-legacy/slack-desc b/network/opera-legacy/slack-desc
deleted file mode 100644
index 3c83c029ab..0000000000
--- a/network/opera-legacy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-opera-legacy: opera-legacy (Fast and secure web browser and Internet suite)
-opera-legacy:
-opera-legacy: opera-legacy is a small, fast, customizable, powerful, and
-opera-legacy: user-friendly web browser, as well as an Internet suite, including an
-opera-legacy: email client, IRC client, BitTorrent client, web developer tools
-opera-legacy: (Opera Dragonfly).
-opera-legacy:
-opera-legacy: Home page: https://www.opera.com/browser/
-opera-legacy:
-opera-legacy:
-opera-legacy:
diff --git a/network/opera/README b/network/opera/README
index 53a51b667f..6a4894ae98 100644
--- a/network/opera/README
+++ b/network/opera/README
@@ -7,10 +7,3 @@ Macintosh and Windows are also available.
This is a Stable version of Opera browser, for development version
please see "opera-development" and for a old version based on
Presto engine, please see a SlackBuild called "opera-legacy".
-
-NOTE: since version 46.0.2590.0 Opera's drops 32 bits support, for more:
-https://blogs.opera.com/desktop/2017/05/opera-developer-46-0-2590-0-update/
-
-This suggests: pepperflash-plugin, ffmpeg, opera-ffmpeg-codecs.
-
-Changelog: https://blogs.opera.com/desktop/changelog-for-74/#b3911.75
diff --git a/network/opera/opera.SlackBuild b/network/opera/opera.SlackBuild
index 8d6cd55c61..23ef5941f3 100644
--- a/network/opera/opera.SlackBuild
+++ b/network/opera/opera.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for opera.
#
-# Copyright 2016-2021 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2023-2024 Dimitris Zlatanidis, Orestiada, Greece.
+# Copyright 2016-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opera
-VERSION=${VERSION:-74.0.3911.75}
+VERSION=${VERSION:-109.0.5097.45}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,6 +107,8 @@ install -Dm644 $CWD/eula.html $PKG/usr/share/licenses/$PRGNAM/eula.html
install -Dm644 $CWD/terms.html $PKG/usr/share/licenses/$PRGNAM/terms.html
install -Dm644 $CWD/privacy.html $PKG/usr/share/licenses/$PRGNAM/privacy.html
+sed -i '/^TargetEnvironment/d' $PKG/usr/share/applications/$PRGNAM.desktop
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -103,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/opera/opera.info b/network/opera/opera.info
index 01ed0ecb35..302d6b2447 100644
--- a/network/opera/opera.info
+++ b/network/opera/opera.info
@@ -1,10 +1,10 @@
PRGNAM="opera"
-VERSION="74.0.3911.75"
+VERSION="109.0.5097.45"
HOMEPAGE="https://www.opera.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download3.operacdn.com/pub/opera/desktop/74.0.3911.75/linux/opera-stable_74.0.3911.75_amd64.deb"
-MD5SUM_x86_64="d9d3f64c4359507510175badfaad2a16"
+DOWNLOAD_x86_64="https://get.geo.opera.com/pub/opera/desktop/109.0.5097.45/linux/opera-stable_109.0.5097.45_amd64.deb"
+MD5SUM_x86_64="8f42e3889190c6ef7de87101dff70028"
REQUIRES=""
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"
diff --git a/network/otter/otter.SlackBuild b/network/otter/otter.SlackBuild
index fc3fefa5c5..725d8e97c9 100644
--- a/network/otter/otter.SlackBuild
+++ b/network/otter/otter.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for otter
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=otter
-VERSION=${VERSION:-1.0.01}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.03}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=otter-browser
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -107,4 +117,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/otter/otter.info b/network/otter/otter.info
index 261e4f4d93..8c887e0e7f 100644
--- a/network/otter/otter.info
+++ b/network/otter/otter.info
@@ -1,10 +1,10 @@
PRGNAM="otter"
-VERSION="1.0.01"
+VERSION="1.0.03"
HOMEPAGE="https://otter-browser.org/"
-DOWNLOAD="https://github.com/OtterBrowser/otter-browser/archive/v1.0.01/otter-browser-1.0.01.tar.gz"
-MD5SUM="99601d0b230956dc542a04f0df912626"
+DOWNLOAD="https://github.com/OtterBrowser/otter-browser/archive/v1.0.03/otter-browser-1.0.03.tar.gz"
+MD5SUM="6c34113c7a35f810346d5cc2a3b9d66f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/owncloud-client/README b/network/owncloud-client/README
index f33bd42c4b..6d1aeed860 100644
--- a/network/owncloud-client/README
+++ b/network/owncloud-client/README
@@ -1,18 +1,8 @@
-The ownCloud Sync Client is a desktop program you install on your computer.
-You specify one or more directories on the local machine to sync with your
-ownCloud server, and always have your latest files wherever you are. Make
-a change to the files on one computer, it will flow across the others using
-the desktop sync clients.
-
-This package optionally requires the Sphinx package in order to create its
-man pages.
-
-Note: As of version 2.3.3, qt4 support was dropped and this package requires
- qt5-webkit. You will also need to build qtkeychain with qt5.
-
-Note: If you wish to try building this package against qt4 you will need to
- build qtkeychain with qt4, and build this package with BUILD_WITH_QT4
- set to 'yes'. There are no guarantees that this will work.
- For example:
-
- BUILD_WITH_QT4=yes ./owncloud-client.SlackBuild
+The ownCloud Sync Client is a desktop program you install on your
+computer. You specify one or more directories on the local machine
+to sync with your ownCloud server, and always have your latest files
+wherever you are. Make a change to the files on one computer, it will
+flow across the others using the desktop sync clients.
+
+This package optionally requires the Sphinx package in order to create
+its man pages.
diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild
index b5ab05a98d..7a014c6a9d 100644
--- a/network/owncloud-client/owncloud-client.SlackBuild
+++ b/network/owncloud-client/owncloud-client.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for owncloud-client
# Copyright 2013-2018 Christopher Walker Kempner, TX
-# Copyright 2020 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2020-2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=owncloud-client
-VERSION=${VERSION:-2.5.4.11654}
+VERSION=${VERSION:-2.11.1.8946}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=owncloudclient
+SRCNAM=ownCloud
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,14 +85,11 @@ cd build
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DCMAKE_INSTALL_SYSCONFDIR=/etc/$PRGNAM \
+ -DDATADIR=share \
-DCMAKE_BUILD_TYPE="Release" \
- -DBUILD_WITH_QT4=${BUILD_WITH_QT4:-"No"} \
..
make VERBOSE=1
- make doc
make install DESTDIR=$PKG
cd ..
@@ -93,7 +97,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CONTRIBUTING.md COPYING COPYING.documentation ChangeLog README.md \
+cp -a CHANGELOG.md CONTRIBUTING.md COPYING COPYING.documentation README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -107,4 +111,4 @@ cat $CWD/owncloud.desktop > $PKG/usr/share/applications/owncloud.desktop
mv $PKG/etc/ownCloud/sync-exclude.lst $PKG/etc/ownCloud/sync-exclude.lst.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/owncloud-client/owncloud-client.info b/network/owncloud-client/owncloud-client.info
index 5b2da1d1b6..b2e1f344be 100644
--- a/network/owncloud-client/owncloud-client.info
+++ b/network/owncloud-client/owncloud-client.info
@@ -1,10 +1,10 @@
PRGNAM="owncloud-client"
-VERSION="2.5.4.11654"
+VERSION="2.11.1.8946"
HOMEPAGE="https://owncloud.org/"
-DOWNLOAD="https://download.owncloud.com/desktop/stable/owncloudclient-2.5.4.11654.tar.xz"
-MD5SUM="cbc65677623df31956a4c4082a2c68a7"
+DOWNLOAD="https://download.owncloud.com/desktop/ownCloud/stable/2.11.1.8946/source/ownCloud-2.11.1.8946.tar.xz"
+MD5SUM="0143df7cea72bf29874ae429e7a5f6f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit qtkeychain"
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
+REQUIRES="libcloudproviders"
+MAINTAINER="orphaned (no maintainer)"
+EMAIL="nobody@domain.com"
diff --git a/network/owncloud-server/README b/network/owncloud-server/README
index 3e3e9ce0d6..89fde57bca 100644
--- a/network/owncloud-server/README
+++ b/network/owncloud-server/README
@@ -1,8 +1,7 @@
-ownCloud gives you universal access to your files through a web interface
-or WebDAV. It also provides a platform to easily view & sync your contacts,
-calendars and bookmarks across all your devices and enables basic editing
-right on the web.
-
+ownCloud gives you universal access to your files through a web
+interface or WebDAV. It also provides a platform to easily view & sync
+your contacts, calendars and bookmarks across all your devices and
+enables basic editing right on the web.
SlackBuild defaults
-------------------
@@ -34,13 +33,15 @@ Configuration
"LoadModule rewrite_module ..." and "Include /etc/httpd/mod_php.conf",
then restart httpd.
-(3) After installation, you must set up the names that clients will use to
-access the server as "trusted domains".
+(3) After installation, you must set up the names that clients will
+use to access the server as "trusted domains".
-You must also do this if you are upgrading an older owncloud installation.
+You must also do this if you are upgrading an older owncloud
+installation.
-To do this, you will need to edit /srv/httpd/htdocs/owncloud/config/config.php
-as follows (please use your own server name instead of myserver.local or
+To do this, you will need to edit
+/srv/httpd/htdocs/owncloud/config/config.php as follows
+(please use your own server name instead of myserver.local or
owncloud.example.com):
'trusted_domains' =>
@@ -50,7 +51,7 @@ owncloud.example.com):
2 => 'owncloud.example.com',
),
-(4) After installation, **and after every upgrade**, you need to complete
-setup by visiting this page:
+(4) After installation, **and after every upgrade**, you need to
+complete setup by visiting this page:
http://localhost/owncloud/
diff --git a/network/owncloud-server/owncloud-server.SlackBuild b/network/owncloud-server/owncloud-server.SlackBuild
index 49d2565176..bcb6c71e09 100644
--- a/network/owncloud-server/owncloud-server.SlackBuild
+++ b/network/owncloud-server/owncloud-server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Owncloud server
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=owncloud-server
SRCNAM=owncloud
VERSION=${VERSION:-8.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
@@ -34,7 +37,14 @@ DOCROOT=${DOCROOT:-/srv/httpd/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/p0f/README b/network/p0f/README
index 446ebf940c..96b39ac486 100644
--- a/network/p0f/README
+++ b/network/p0f/README
@@ -1,10 +1,10 @@
P0f is a tool that utilizes an array of sophisticated, purely passive
-traffic fingerprinting mechanisms to identify the players behind any
-incidental TCP/IP communications (often as little as a single normal SYN)
-without interfering in any way. Version 3 is a complete rewrite of the
-original codebase, incorporating a significant number of improvements
-to network-level fingerprinting, and introducing the ability to reason
-about application-level payloads (e.g., HTTP).
+traffic fingerprinting mechanisms to identify the players behind
+any incidental TCP/IP communications (often as little as a single
+normal SYN) without interfering in any way. Version 3 is a complete
+rewrite of the original codebase, incorporating a significant number
+of improvements to network-level fingerprinting, and introducing the
+ability to reason about application-level payloads (e.g., HTTP).
To build and install the optional signature and API tools, specify
TOOLS=yes to the SlackBuild, for example
diff --git a/network/p0f/p0f.SlackBuild b/network/p0f/p0f.SlackBuild
index 9478028668..710e016007 100644
--- a/network/p0f/p0f.SlackBuild
+++ b/network/p0f/p0f.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for p0f
@@ -24,26 +24,36 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p0f
VERSION=${VERSION:-3.09b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -111,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pCloudDrive/README b/network/pCloudDrive/README
index d685f34354..1e55bbd985 100644
--- a/network/pCloudDrive/README
+++ b/network/pCloudDrive/README
@@ -7,36 +7,39 @@ pCloud is one of the most secure and easy-to-use cloud storage
services. It's based in Switzerland giving the best level of privacy.
Unlike Dropbox, pCloud gives 10 GB of free cloud storage.
-They have all the features you are familiar with like, download link sharing,
-folder sharing, giving special permissions to people you share with,
-setting passwords and expiration dates and even more.
+They have all the features you are familiar with like, download link
+sharing, folder sharing, giving special permissions to people you
+share with, setting passwords and expiration dates and even more.
-pCloud also put no restrictions on the uploading size so you can upload any type
-of file regardless of its size. There is no upload or download limit either,
-and you can enjoy very high speeds.
+pCloud also put no restrictions on the uploading size so you can
+upload any type of file regardless of its size. There is no upload or
+download limit either, and you can enjoy very high speeds.
-Security is something for which pCloud is particularly famous. pCloud offers
-top-level cloud encryption with its Crypto service designed to secure the most
-sensitive information on any device of yours. All the data locked
-by pCloud Crypto can only be unlocked by the unique key which the account owner
-has, and no one else can even touch the secure data.
+Security is something for which pCloud is particularly famous. pCloud
+offers top-level cloud encryption with its Crypto service designed to
+secure the most sensitive information on any device of yours. All the
+data locked by pCloud Crypto can only be unlocked by the unique key
+which the account owner has, and no one else can even touch the secure
+data.
pCloud features:
- * File management tools available to search and filter the files and folders
+ * File management tools available to search and filter the files and
+ folders
* TLS/SSL encryption to securely transfer the data to pCloud servers
* Automatic sync of all the files and folders across desktop and
-mobile devices for a seamless transition
+ mobile devices for a seamless transition
* Zero-knowledge privacy
- * Client-side encryption to keep the data secure in case your device gets lost
- * Previous versions of data available with pCloud Rewind which keeps everything
-for 30 days in case you remove anything accidentally
+ * Client-side encryption to keep the data secure in case your device
+ gets lost
+ * Previous versions of data available with pCloud Rewind which keeps
+ everything for 30 days in case you remove anything accidentally
* App for Windows, macOS, Linux, iOS, and Android
-Finally, if we talk about the plans of pCloud, you have the freedom to choose
-between two different storage types — 500 GB and 2 TB — with either the annual
-or lifetime subscription.
+Finally, if we talk about the plans of pCloud, you have the freedom
+to choose between two different storage types — 500 GB and 2 TB —
+with either the annual or lifetime subscription.
-This script repackages AppImage.
+This script repackages an AppImage.
-Download link is dynamic, so you will need to download app image manually in
-your web browser.
+The download link is dynamic, so you will need to download app image
+manually in your web browser.
diff --git a/network/pCloudDrive/pCloudDrive.SlackBuild b/network/pCloudDrive/pCloudDrive.SlackBuild
index ed286a3e18..df58d5ae1c 100644
--- a/network/pCloudDrive/pCloudDrive.SlackBuild
+++ b/network/pCloudDrive/pCloudDrive.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pCloudDrive
@@ -24,18 +24,21 @@
# Modifid by slackbuilds.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pCloudDrive
VERSION=${VERSION:-1.8.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
ARCH=$(uname -m)
fi
case "$ARCH" in
- i?86) break ;;
- x86_64) break ;;
+ # do nothing and pass through
+ i?86|x86_64) ;;
*)
echo "$ARCH is not supported for $PRGNAM-$VERSION"
exit 1
@@ -44,7 +47,14 @@ esac
set -e
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +91,4 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/packETH/packETH.SlackBuild b/network/packETH/packETH.SlackBuild
index 67f0251bdc..596cb540e1 100644
--- a/network/packETH/packETH.SlackBuild
+++ b/network/packETH/packETH.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for packETH
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=packETH
-VERSION=${VERSION:-2.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,7 +81,7 @@ sed -i "s|\ -Werror||" cli/Makefile
sed -i 's/^LIBS=/LIBS+=/' Makefile.am
autoreconf -f -i
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -96,11 +103,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING CHANGELOG INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING CHANGELOG README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/packETH/packETH.info b/network/packETH/packETH.info
index e61e66f3cd..35bdd80ecc 100644
--- a/network/packETH/packETH.info
+++ b/network/packETH/packETH.info
@@ -1,8 +1,8 @@
PRGNAM="packETH"
-VERSION="2.1"
+VERSION="3.0"
HOMEPAGE="https://github.com/jemcek/packETH"
-DOWNLOAD="https://github.com/jemcek/packETH/archive/2.1/packETH-2.1.tar.gz"
-MD5SUM="31f72ebe0ff6ae0398d4e0abc04eaa34"
+DOWNLOAD="https://github.com/jemcek/packETH/archive/3.0/packETH-3.0.tar.gz"
+MD5SUM="04cb7a1cff7e64e3dbcc8e050de6e030"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/packit/README b/network/packit/README
index 501d4a4be6..7a3e6ab06a 100644
--- a/network/packit/README
+++ b/network/packit/README
@@ -1,6 +1,7 @@
-Packit (Packet toolkit) is a network auditing tool. Its value is derived from
-its ability to customize, inject, monitor, and manipulate IP traffic. By
-allowing you to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and
-Ethernet header options, Packit can be useful in testing firewalls, intrusion
-detection/prevention systems, port scanning, simulating network traffic, and
-general TCP/IP auditing. Packit is also an excellent tool for learning TCP/IP.
+Packit (Packet toolkit) is a network auditing tool. Its value
+is derived from its ability to customize, inject, monitor, and
+manipulate IP traffic. By allowing you to define (spoof) nearly all
+TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet header options, Packit
+can be useful in testing firewalls, intrusion detection/prevention
+systems, port scanning, simulating network traffic, and general TCP/IP
+auditing. Packit is also an excellent tool for learning TCP/IP.
diff --git a/network/packit/packit.SlackBuild b/network/packit/packit.SlackBuild
index 98091915e4..c8ac330b13 100644
--- a/network/packit/packit.SlackBuild
+++ b/network/packit/packit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Packit (Packet toolkit)
#
@@ -24,10 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=packit
VERSION=${VERSION:-1.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,7 +86,7 @@ for i in $CWD/patches/*.patch; do
patch -p1 --verbose < "$i"
done
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/paho-mqtt-c/README b/network/paho-mqtt-c/README
new file mode 100644
index 0000000000..86399f61a2
--- /dev/null
+++ b/network/paho-mqtt-c/README
@@ -0,0 +1,8 @@
+Eclipse Paho C Client Library for the MQTT Protocol
+
+The Paho C client comprises four variant libraries, shared or static:
+
+ paho-mqtt3a - asynchronous (MQTTAsync)
+ paho-mqtt3as - asynchronous with SSL (MQTTAsync)
+ paho-mqtt3c - "classic" / synchronous (MQTTClient)
+ paho-mqtt3cs - "classic" / synchronous with SSL (MQTTClient)
diff --git a/network/paho-mqtt-c/paho-mqtt-c.SlackBuild b/network/paho-mqtt-c/paho-mqtt-c.SlackBuild
new file mode 100644
index 0000000000..b79c2747b6
--- /dev/null
+++ b/network/paho-mqtt-c/paho-mqtt-c.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for the PAHO MQTT C Library
+
+# Copyright 2022 Wayne Cuddy wcuddyATgmailDOTcom
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2022-06-11
+# - Initial Slackbuild
+#
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=paho-mqtt-c
+SRCNAM=paho.mqtt.c
+VERSION=${VERSION:-1.3.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# No autotools. Use the existing makfile to compile. We'll patch up a
+# few of the directory paths after compilation.
+
+make
+
+# The makefile doesn't create all the necessary directories.
+mkdir -p $PKG/usr $PKG/usr/bin $PKG/usr/lib $PKG/usr/include $PKG/usr/share/man/man1
+
+# override some parameters in the makefile
+prefix=/usr DESTDIR=$PKG LDCONFIG=echo make install-strip
+
+# Make the installed tree "Slackware friendly". I figured this was cleaner
+# than patching the Makefile.
+mv $PKG/usr/lib $PKG/usr/lib64
+mv $PKG/usr/share/man $PKG/usr/man
+rm -rf $PKG/usr/share
+
+mv $PKG/usr/include $PKG/usr/paho-mqtt
+mkdir $PKG/usr/include
+mv $PKG/usr/paho-mqtt $PKG/usr/include
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ docs about.html notice.html edl-v10 epl-v20 README.md LICENSE\
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/paho-mqtt-c/paho-mqtt-c.info b/network/paho-mqtt-c/paho-mqtt-c.info
new file mode 100644
index 0000000000..64ea470ae0
--- /dev/null
+++ b/network/paho-mqtt-c/paho-mqtt-c.info
@@ -0,0 +1,10 @@
+PRGNAM="paho-mqtt-c"
+VERSION="1.3.10"
+HOMEPAGE="https://github.com/eclipse/paho.mqtt.c"
+DOWNLOAD="https://github.com/eclipse/paho.mqtt.c/archive/refs/tags/v1.3.10/paho.mqtt.c-1.3.10.tar.gz"
+MD5SUM="cf0900edfda8fd6214f9070e7f60905b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Wayne Cuddy"
+EMAIL="wcuddyATgmailDOTcom"
diff --git a/network/paho-mqtt-c/slack-desc b/network/paho-mqtt-c/slack-desc
new file mode 100644
index 0000000000..b70ffe008b
--- /dev/null
+++ b/network/paho-mqtt-c/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+paho-mqtt-c: paho-mqtt-c (C MQTT Client Library)
+paho-mqtt-c:
+paho-mqtt-c: This code builds libraries which enable applications to connect to an
+paho-mqtt-c: MQTT broker to publish messages, and to subscribe to topics and
+paho-mqtt-c: receive published messages.
+paho-mqtt-c:
+paho-mqtt-c: Synchronous and various asynchronous programming models are
+paho-mqtt-c: supported.
+paho-mqtt-c:
+paho-mqtt-c: https://github.com/eclipse/paho.mqtt.c
+paho-mqtt-c:
diff --git a/network/palemoon-bin/README b/network/palemoon-bin/README
index ee331b0de8..3f07fa23ec 100644
--- a/network/palemoon-bin/README
+++ b/network/palemoon-bin/README
@@ -2,12 +2,17 @@ Pale Moon is an Open Source, Goanna-based web browser forked from
pre-Australis Mozilla Firefox aiming to be fast, efficient and easy to
use.
-This SlackBuild just repackages the binary package provided by the project.
-It doesn't attempt to build the browser from source.
+This SlackBuild just repackages the binary package provided by the
+project. It doesn't attempt to build the browser from source.
-You can force Pale Moon to use system-provided hunspell instead of its own
-dictionary by passing the USE_SYSTEM_SPELLCHECK=yes variable to the script.
+You can force Pale Moon to use system-provided hunspell instead of its
+own dictionary by passing the USE_SYSTEM_SPELLCHECK=yes variable to
+the script.
If you need to change the GUI language, please visit
https://www.palemoon.org/langpacks.shtml and follow the installation
instructions.
+
+NOTE: 32 bit packages have been discontinued; and 64 bit binaries are
+now released in gtk2 and gtk3 variations. If you desire to use a gtk3
+variation, pass the variable GTK=gtk3 to the script.
diff --git a/network/palemoon-bin/palemoon-bin.SlackBuild b/network/palemoon-bin/palemoon-bin.SlackBuild
index 8044d15638..294ee0f2c8 100644
--- a/network/palemoon-bin/palemoon-bin.SlackBuild
+++ b/network/palemoon-bin/palemoon-bin.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for palemoon-bin
# Copyright 2015 pomfland
# Copyright 2017-2018 Skaendo <skaendo at excite dot com>
-# Copyright 2018 Vasily Sora USA
+# Copyright 2018,2022 Vasily Sora USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,11 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=palemoon-bin
SRCNAM=palemoon
-VERSION=${VERSION:-28.10.0}
+VERSION=${VERSION:-32.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,11 +41,20 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+GTK=${GTK:-gtk2}
+
# We don't need cflags since nothing is being compiled here.
# We do need to check the architecture though and abort when it's not
# supported.
@@ -63,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM-$VERSION.linux-$ARCH.tar.xz
+tar xvf $CWD/$SRCNAM-$VERSION.linux-$ARCH-$GTK.tar.xz
cd $SRCNAM
chown -R root:root .
find -L . \
@@ -112,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/palemoon-bin/palemoon-bin.info b/network/palemoon-bin/palemoon-bin.info
index 44cfbf47df..0cc4e2cddd 100644
--- a/network/palemoon-bin/palemoon-bin.info
+++ b/network/palemoon-bin/palemoon-bin.info
@@ -1,10 +1,10 @@
PRGNAM="palemoon-bin"
-VERSION="28.10.0"
+VERSION="32.5.0"
HOMEPAGE="https://www.palemoon.org/"
-DOWNLOAD="http://linux.palemoon.org/datastore/release/palemoon-28.10.0.linux-i686.tar.xz"
-MD5SUM="66c128fa4ccabc826cdbdaadfb1ef3d4"
-DOWNLOAD_x86_64="http://linux.palemoon.org/datastore/release/palemoon-28.10.0.linux-x86_64.tar.xz"
-MD5SUM_x86_64="28f399a683de466e1468243d6fba2291"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="http://repo.schotynet.org/sources/palemoon-bin/palemoon-32.5.0.linux-x86_64-gtk2.tar.xz"
+MD5SUM_x86_64="433ae2d09c6e8ed2ef1a958eec484d02"
REQUIRES=""
MAINTAINER="khronosschoty"
EMAIL="khronosschoty@posteo.org"
diff --git a/network/palemoon/README b/network/palemoon/README
index 61cdab4bc1..bc814b6490 100644
--- a/network/palemoon/README
+++ b/network/palemoon/README
@@ -39,10 +39,6 @@ This assumes you have dictionaries such as hunspell-en or hunspell-es
installed in /usr/share/hunspell -- the location that a few SlackBuilds
at SBo install them.
-To remove the "AdNauseam" extension from the Pale Moon blocklist, do
-
- ADNAUSEAM=unblock ./palemoon.SlackBuild
-
If your processor doesn't support sse2 instructions or you get
segfaults, try looking in the SlackBuild for the OPTIMIZE build option
(eventually refer to the Pale Moon developers for help).
@@ -53,6 +49,10 @@ passing the variable:
BLACKLIST_JACK=yes ./palemoon.SlackBuild
+ALSA=1 will disable pulse audio and build a pure alsa Pale Moon.
+GLIB-C-1PATCH=1 is a patch that will enable compiling on newer glibc
+(such as is found in Slackware current).
+
To enable debug information, pass the script the parameter
ENABLE_DEBUG=yes
diff --git a/network/palemoon/glib-c-arc4random.c.patch b/network/palemoon/glib-c-arc4random.c.patch
new file mode 100644
index 0000000000..467434614b
--- /dev/null
+++ b/network/palemoon/glib-c-arc4random.c.patch
@@ -0,0 +1,20 @@
+--- a/palemoon-31.3.0.1_Release/platform/ipc/chromium/src/third_party/libevent/arc4random.c 2022-09-27 20:12:40.000000000 -0000
++++ b/palemoon-31.3.0.1_Release/platform/ipc/chromium/src/third_party/libevent/arc4random.c 2022-10-03 10:09:16.859171354 -0000
+@@ -481,7 +481,8 @@
+ }
+ #endif
+
+-#ifndef HAVE_ARC4RANDOM_BUF
++#if defined(_we_have_arc4random_buf) || !defined(XP_SOLARIS)
++#if (__GLIBC__ <= 2 && __GLIBC_MINOR__ < 36) || !defined(XP_LINUX)
+ ARC4RANDOM_EXPORT void
+ arc4random_buf(void *_buf, size_t n)
+ {
+@@ -496,6 +497,7 @@
+ _ARC4_UNLOCK();
+ }
+ #endif
++#endif
+
+ #ifndef ARC4RANDOM_NOUNIFORM
+ /*
diff --git a/network/palemoon/palemoon.SlackBuild b/network/palemoon/palemoon.SlackBuild
index 3fc054c81a..eddee9ec7a 100644
--- a/network/palemoon/palemoon.SlackBuild
+++ b/network/palemoon/palemoon.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pale Moon
-# Copyright 2018,2019 Vasily Sora USA
+# Copyright 2018,2019,2022,2023 Vasily Sora USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +25,15 @@
# Modified by SlackBuilds.org
# Special thanks to Ponce
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=palemoon
-VERSION=${VERSION:-29.0.1}
-SRCNAM1=${SRCNAM1:-Pale-Moon-${VERSION}_Release}
-SRCNAM2=${SRCNAM2:-pale-moon}
-SRCNAM3=${SRCNAM3:-UXP-RELBASE_20210205}
+VERSION=${VERSION:-32.5.0}
+SRCNAM1=${SRCNAM1:-$PRGNAM-${VERSION}_Release}
+SRCNAM2=${SRCNAM2:-uxp-RB_20231030}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +55,8 @@ OUTPUT=${OUTPUT:-/tmp}
OBJ=${OBJ:-obj-$PRGNAM}
GTK=${GTK:-gtk2}
+DOCS="AUTHORS LICENSE README.md SECURITY.md"
+ALSA=${ALSA:-0}
# You can try changing the optimization level to simply "-O2" if your processor
# doesn't support sse2 instructions.
# "-Os" might help if you experience segfaults.
@@ -60,18 +68,13 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -Wno-format-overflow"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-# look into adding this as an option:
-# elif [ "$ARCH" = "x86_64" ]; then
-# SLKCFLAGS="-O2 -D_FORTIFY_SOURCE=2 -fstack-protector --param ssp-buffer-size=4 -fPIE -pie -Wl,-z,relro,-z,now -mindirect-branch=th
-
-
# The default is to build with official branding. This SlackBuild is used to
# produce officially approved third party "contributed builds" of Pale Moon.
# This SlackBuild can also be used to produce unapproved packages -- which
@@ -143,18 +146,15 @@ PATH=$TMP/autoconf-tmp/usr/bin:$PATH
# Build Pale Moon
cd $TMP
-rm -rf $SRCNAM2
-tar -xvf $CWD/$SRCNAM1.tar.gz
-cd $SRCNAM2
-tar -xvf $CWD/$SRCNAM3.tar.gz -C platform --strip-components 1
-
-if [ "${ADNAUSEAM:-block}" = "unblock" ]; then
- patch -p1 < $CWD/adNauseam-unblock.patch
-fi
-
-# Selectively APPLY patch for glibc 2.30+
-if [ "${PATCH_GLIBC:-no}" = "yes" ]; then
- patch -p0 < $CWD/glibc-2.30+.patch
+rm -rf $SRCNAM1
+tar -xvzf $CWD/$SRCNAM1.tar.gz # --transform s/pale-moon/${SRCNAM1}/
+cd $SRCNAM1
+tar -xvzf $CWD/$SRCNAM2.tar.gz --transform s/${SRCNAM2}/platform/
+
+#patch -p1 < $CWD/basilisk-include-limits.patch
+GLIB_C_1PATCH=${GLIB_C_1PATCH:-0}
+if [ $GLIB_C_1PATCH = 1 ]; then
+ patch -p2 < $CWD/glib-c-arc4random.c.patch
fi
chown -R root:root .
@@ -168,7 +168,7 @@ find -L . \
# "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)"
export LANG=C
-export MOZCONFIG="$TMP/$SRCNAM2/.mozconfig"
+export MOZCONFIG="$TMP/$SRCNAM1/.mozconfig"
export MOZILLA_OFFICIAL=1
export MOZ_MAKE_FLAGS=$MAKEFLAGS
export CFLAGS="$SLKCFLAGS"
@@ -179,6 +179,8 @@ export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=
export PYTHON=/usr/bin/python2
+# A stale DBUS_SESSION_BUS_ADDRESS var can cause build failures
+unset DBUS_SESSION_BUS_ADDRESS
# Dev tools are enabled by default in the official binaries, so we should do the same here;
# passing DEVTOOLS=no to the script, however, will disable them.
@@ -215,12 +217,15 @@ for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done
echo "ac_add_options --enable-optimize=\"$OPTIMIZE\"" >> .mozconfig
if ! pkg-config --exists libpulse; then
-echo "ac_add_options --disable-pulseaudio" >> .mozconfig; fi
+ echo "ac_add_options --disable-pulseaudio" >> .mozconfig
+ TAG=${TAG}_alsa
+elif [ $ALSA = 1 ]; then
+ echo "ac_add_options --disable-pulseaudio" >> .mozconfig
+TAG=${TAG}_alsa; fi
if pkg-config --exists jack && [ "${BLACKLIST_JACK:-no}" != "yes" ]; then
echo "ac_add_options --enable-jack" >> .mozconfig; fi
-sed -i 's/.\/platform\/mach/"python2\ .\/platform\/mach"/g' mach
./mach build
## Clean up; and package Pale Moon.
@@ -258,14 +263,15 @@ ln -s /usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/browser/icons/mozicon128.png \
mkdir -p $PKG/usr/share/applications
cat $CWD/palemoon.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- $TMP/$SRCNAM2/platform/LEGAL $TMP/$SRCNAM2/LICENSE $TMP/$SRCNAM2/README.md $TMP/$SRCNAM2/AUTHORS \
- $PKG/usr/doc/$PRGNAM-$VERSION/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/UXP
+for docs in $DOCS; do
+ cp $TMP/${SRCNAM1}/$docs $PKG/usr/doc/$PRGNAM-$VERSION/ || true
+ cp $TMP/${SRCNAM1}/platform/$docs $PKG/usr/doc/$PRGNAM-$VERSION/UXP/ || true
+done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/palemoon/palemoon.info b/network/palemoon/palemoon.info
index f147fef3b5..7b472121b0 100644
--- a/network/palemoon/palemoon.info
+++ b/network/palemoon/palemoon.info
@@ -1,14 +1,14 @@
PRGNAM="palemoon"
-VERSION="29.0.1"
+VERSION="32.5.0"
HOMEPAGE="http://www.palemoon.org/"
-DOWNLOAD="http://repo.khronosschoty.org/Slackware/Pale-Moon/source/Pale-Moon-29.0.1_Release.tar.gz
- http://repo.khronosschoty.org/Slackware/Pale-Moon/source/UXP-RELBASE_20210205.tar.gz \
+DOWNLOAD="http://git.schotynet.org/palemoon/snapshot/palemoon-32.5.0_Release.tar.gz \
+ http://git.schotynet.org/uxp/snapshot/uxp-RB_20231030.tar.gz \
http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz"
-MD5SUM="6fccd342aedf62b9b947de4ccad4d577 \
- 11ba1291ebfe985823e8ac5e81a557e1 \
+MD5SUM="cddcee238979eaa9b9d945acff2b2ed5 \
+ 0c8a09957c2617e128de391278397cd6 \
f2994d302cf736e7e71974edfa51da3c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg"
+REQUIRES=""
MAINTAINER="khronosschoty"
EMAIL="khronosschoty@posteo.org"
diff --git a/network/pastebincl/pastebincl.SlackBuild b/network/pastebincl/pastebincl.SlackBuild
index 4607370297..0e7e908cab 100644
--- a/network/pastebincl/pastebincl.SlackBuild
+++ b/network/pastebincl/pastebincl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pastebincl
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pastebincl
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -108,4 +118,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pdns-recursor/pdns-recursor.SlackBuild b/network/pdns-recursor/pdns-recursor.SlackBuild
index 451d863920..c6aa52d187 100644
--- a/network/pdns-recursor/pdns-recursor.SlackBuild
+++ b/network/pdns-recursor/pdns-recursor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdns-recursor
# Copyright 2019 Dejan Strbac, Zurich, CH
@@ -21,10 +21,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220320 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+# It will break again in 2038.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdns-recursor
-VERSION=${VERSION:-4.1.13}
+VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,9 +74,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220320 bkw: configure script fails on 32-bit because
+# sizeof(time_t) is 4, (y2k38 bug). patch it to ignore this, since
+# it's only 2022 now and we can keep using this on 32-bit for another
+# 15-16 years.
+sed -i '/y2k38/s,as_fn_error,$as_echo,' configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -78,7 +94,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --enable-dns-over-tls
make
make install DESTDIR=$PKG
@@ -104,4 +121,4 @@ cat $CWD/rc.pdns-recursor > $PKG/etc/rc.d/rc.pdns-recursor.new
mv $PKG/etc/recursor.conf-dist $PKG/etc/recursor.conf.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pdns-recursor/pdns-recursor.info b/network/pdns-recursor/pdns-recursor.info
index e61c4f3baf..4cbb7e660e 100644
--- a/network/pdns-recursor/pdns-recursor.info
+++ b/network/pdns-recursor/pdns-recursor.info
@@ -1,8 +1,8 @@
PRGNAM="pdns-recursor"
-VERSION="4.1.13"
+VERSION="4.6.0"
HOMEPAGE="https://www.powerdns.com/recursor.html"
-DOWNLOAD="https://downloads.powerdns.com/releases/pdns-recursor-4.1.13.tar.bz2"
-MD5SUM="e0c711cb443cdca4b2c241966d2fb6ff"
+DOWNLOAD="https://downloads.powerdns.com/releases/pdns-recursor-4.6.0.tar.bz2"
+MD5SUM="ada31148b47231ac61ec504d2b8a5ece"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/network/pdns/README b/network/pdns/README
index e3e92326a9..777b9a7781 100644
--- a/network/pdns/README
+++ b/network/pdns/README
@@ -3,9 +3,9 @@ PowerDNS Authoritative Server is a versatile nameserver which
supports a large number of backends.
Docs are available at:
- https://doc.powerdns.com/authoritative/index.html
+ https://doc.powerdns.com/authoritative/index.html
By default, this PowerDNS SlackBuild includes support for BIND and
SQLite3 backends only. To use other backends, set the modules
variable before calling the build:
- # MODULES="bind gpgsql" ./pdns.SlackBuild
+ # MODULES="bind gpgsql" ./pdns.SlackBuild
diff --git a/network/pdns/pdns.SlackBuild b/network/pdns/pdns.SlackBuild
index 64fab02d78..813d12fe77 100644
--- a/network/pdns/pdns.SlackBuild
+++ b/network/pdns/pdns.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
# Slackware build script for pdns
# Copyright 2018 Dejan Strbac, Zurich, CH
@@ -21,10 +21,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220320 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+# It will break again in 2038.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdns
-VERSION=${VERSION:-4.1.8}
+VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,10 +74,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+# 20220320 bkw: configure script fails on 32-bit because
+# sizeof(time_t) is 4, (y2k38 bug). patch it to ignore this, since
+# it's only 2022 now and we can keep using this on 32-bit for another
+# 15-16 years.
+sed -i '/y2k38/s,as_fn_error,$as_echo,' configure
# Build without database support by default
DEFAULT_MODULES="bind gsqlite3"
@@ -98,10 +113,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS NEWS NOTICE COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NOTICE COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
@@ -111,4 +125,4 @@ cat $CWD/rc.pdns > $PKG/etc/rc.d/rc.pdns.new
mv $PKG/etc/pdns.conf-dist $PKG/etc/pdns.conf.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pdns/pdns.info b/network/pdns/pdns.info
index 72a025f55c..2084a8104f 100644
--- a/network/pdns/pdns.info
+++ b/network/pdns/pdns.info
@@ -1,10 +1,10 @@
PRGNAM="pdns"
-VERSION="4.1.8"
+VERSION="4.6.0"
HOMEPAGE="https://www.powerdns.com/auth.html"
-DOWNLOAD="https://downloads.powerdns.com/releases/pdns-4.1.8.tar.bz2"
-MD5SUM="27ae77c691e79a7eeef1ee54875fe3f7"
+DOWNLOAD="https://downloads.powerdns.com/releases/pdns-4.6.0.tar.bz2"
+MD5SUM="b8af22df3bc0e0d07e3b54e2a136265e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="lua"
MAINTAINER="Dejan Strbac"
EMAIL="me@dejanstrbac.com"
diff --git a/network/pdnsd/README b/network/pdnsd/README
deleted file mode 100644
index f11b7d39ea..0000000000
--- a/network/pdnsd/README
+++ /dev/null
@@ -1,13 +0,0 @@
-pdnsd is a proxy DNS server with permanent caching (the cache contents are
-written to hard disk on exit) that is designed to cope with unreachable or
-down DNS servers (e.g., in dial-in networking).
-
-Add this to /etc/rc.d/rc.local:
-if [ -x /etc/rc.d/rc.pdnsd ]; then
- /etc/rc.d/rc.pdnsd start
-fi
-
-Add this to /etc/rc.d/rc.local_shutdown
-if [ -x /etc/rc.d/rc.pdnsd ]; then
- /etc/rc.d/rc.pdnsd stop
-fi
diff --git a/network/pdnsd/doinst.sh b/network/pdnsd/doinst.sh
deleted file mode 100644
index b09bee1dad..0000000000
--- a/network/pdnsd/doinst.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.pdnsd.new:
-if [ -e etc/rc.d/rc.pdnsd ]; then
- cp -a etc/rc.d/rc.pdnsd etc/rc.d/rc.pdnsd.new.incoming
- cat etc/rc.d/rc.pdnsd.new > etc/rc.d/rc.pdnsd.new.incoming
- mv etc/rc.d/rc.pdnsd.new.incoming etc/rc.d/rc.pdnsd.new
-fi
-
-config etc/rc.d/rc.pdnsd.new
-config etc/pdnsd.conf.new
-
diff --git a/network/pdnsd/pdnsd.SlackBuild b/network/pdnsd/pdnsd.SlackBuild
deleted file mode 100644
index 3e87862a85..0000000000
--- a/network/pdnsd/pdnsd.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pdnsd
-
-# Written by André Geraldo Vieira <andre.geraldo@gmail.com>
-
-PRGNAM=pdnsd
-VERSION=${VERSION:-1.2.7}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-par.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-ipv6 \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-# Install an init script
-mkdir -p $PKG/etc/rc.d/
-cat $CWD/rc.pdnsd > $PKG/etc/rc.d/rc.pdnsd.new
-chmod 0755 $PKG/etc/rc.d/rc.pdnsd.new
-
-# Rename pdnsd.conf.sample to pdnsd.conf.new
-mv $PKG/etc/pdnsd.conf.sample $PKG/etc/pdnsd.conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog* COPYING* INSTALL NEWS PKGBUILD README* THANKS TODO \
- version doc/html doc/txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/pdnsd/pdnsd.info b/network/pdnsd/pdnsd.info
deleted file mode 100644
index a4f6844138..0000000000
--- a/network/pdnsd/pdnsd.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pdnsd"
-VERSION="1.2.7"
-HOMEPAGE="http://members.home.nl/p.a.rombouts/pdnsd/"
-DOWNLOAD="http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.7-par.tar.gz"
-MD5SUM="114b3b21b09b43cbfcccdde726b84c12"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="André Geraldo Vieira"
-EMAIL="andre.geraldo@gmail.com"
diff --git a/network/pdnsd/rc.pdnsd b/network/pdnsd/rc.pdnsd
deleted file mode 100644
index 64115e1cb5..0000000000
--- a/network/pdnsd/rc.pdnsd
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/bash
-#
-# /etc/rc.d/rc.pdnsd
-#
-# Starts the Proxy DNS Daemon
-#
-# description: Proxy DNS Daemon
-# processname: pdnsd
-# config: /etc/pdnsd.conf
-# distribution: Slackware
-# author: André Geraldo Vieira <andre.geraldo@gmail.com>
-#
-# Additional info:
-# 1) put these lines in the /etc/rc.d/rc.local:
-# if [ -x /etc/rc.d/rc.pdnsd ]; then
-# /etc/rc.d/rc.pdnsd start
-# fi
-#
-# 2) put these lines in the /etc/rc.d/rc.local_shutdown:
-# if [ -x /etc/rc.d/rc.pdnsd ]; then
-# /etc/rc.d/rc.pdnsd stop
-# fi
-
-start() {
- if ! [ -r /var/run/pdnsd.pid ]; then
- echo -n 'Starting pdnsd...'
- /usr/sbin/pdnsd -d -p /var/run/pdnsd.pid
- echo 'OK'
- else
- echo 'The PDNSD is already running!'
- fi
-}
-
-stop() {
- if [ -r /var/run/pdnsd.pid ]; then
- echo -n "Shutting down pdnsd... "
- kill -15 `cat /var/run/pdnsd.pid` && rm -f /var/run/pdnsd.pid 2> /dev/null
- echo ' OK'
- else
- echo 'The PDNSD already stopped!'
- fi
-}
-
-restart() {
- stop
- sleep 3
- start
-}
-
-status() {
- if [ -r /var/run/pdnsd.pid ]; then
- pid=`cat /var/run/pdnsd.pid`
- echo "PDNSD (pid $pid) is running."
- else
- echo 'PDNSD is stopped.'
- fi
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- reload|restart)
- restart
- ;;
- status)
- status
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|reload|status}"
- exit 1
- ;;
-esac
-exit 0
-#EOF
diff --git a/network/pdnsd/slack-desc b/network/pdnsd/slack-desc
deleted file mode 100644
index f9b33ef431..0000000000
--- a/network/pdnsd/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-pdnsd: pdnsd (proxy dns server)
-pdnsd:
-pdnsd: pdnsd is a proxy DNS server with permanent caching (the cache contents
-pdnsd: are written to hard disk on exit) that is designed to cope with
-pdnsd: unreachable or down DNS servers (for example in dial-in networking).
-pdnsd: Since version 1.1.0, pdnsd supports negative caching.
-pdnsd:
-pdnsd: pdnsd is licensed under the GNU General Public License (GPL).
-pdnsd:
-pdnsd:
-pdnsd:
diff --git a/network/pebrot/pebrot.SlackBuild b/network/pebrot/pebrot.SlackBuild
index c113d3362e..1c58df432b 100644
--- a/network/pebrot/pebrot.SlackBuild
+++ b/network/pebrot/pebrot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pebrot
@@ -24,10 +24,13 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pebrot
VERSION=${VERSION:-0.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pentadactyl/README b/network/pentadactyl/README
deleted file mode 100644
index 3f658ea1ce..0000000000
--- a/network/pentadactyl/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Pentadactyl is a free browser add-on for Firefox, designed to make browsing
-more efficient and especially more keyboard accessible. Largely inspired by the
-Vim text editor, the appearance and finger feel should be familiar to Vim
-users.
-
-This package will install Pentadactyl for all users on the system. Users will
-be prompted to activate the extension when starting Firefox.
-
-To build the package for a Firefox version different from the installed one,
-start the script setting the FIREFOX variable as in
- FIREFOX=33.0.0
diff --git a/network/pentadactyl/pentadactyl.SlackBuild b/network/pentadactyl/pentadactyl.SlackBuild
deleted file mode 100644
index d2ba85cb86..0000000000
--- a/network/pentadactyl/pentadactyl.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pentadactyl
-
-# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-SRCNAM=dactyl
-PRGNAM=pentadactyl
-SRCVER=1.2pre
-SRCREV=0986c4442f38c69043fac6c608a39ae54d838415
-VERSION=${VERSION:-20161203}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$SRCREV
-unzip $CWD/$SRCNAM-$SRCREV.zip || unzip $CWD/$SRCREV.zip
-cd $SRCNAM-$SRCREV
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sed -i "s/maxVersion=\"41/maxVersion=\"43/g" pentadactyl/install.rdf
-make -C $PRGNAM xpi
-
-# Get the currently installed Firefox version (handle the case where multiple versions
-# are installed by taking the first).
-FIREFOX=`firefox --version | sed "s/[^0-9.]*//"`
-EXT_DIR=/usr/lib$LIBDIRSUFFIX/firefox-$FIREFOX/browser/extensions/pentadactyl\@dactyl.googlecode.com
-
-mkdir -p "$PKG/$EXT_DIR"
-unzip -d "$PKG/$EXT_DIR" downloads/$PRGNAM-$SRCVER.xpi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a HACKING LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_$FIREFOX-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/pentadactyl/pentadactyl.info b/network/pentadactyl/pentadactyl.info
deleted file mode 100644
index e94ccf6cff..0000000000
--- a/network/pentadactyl/pentadactyl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pentadactyl"
-VERSION="20161203"
-HOMEPAGE="https://web.archive.org/web/20171215070637/http://5digits.org/pentadactyl"
-DOWNLOAD="https://github.com/5digits/dactyl/archive/0986c4442f38c69043fac6c608a39ae54d838415.zip"
-MD5SUM="89003251c489eef8b717319a989cfd33"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/network/pentadactyl/slack-desc b/network/pentadactyl/slack-desc
deleted file mode 100644
index e703b54a4d..0000000000
--- a/network/pentadactyl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-pentadactyl: pentadactyl (Vim keybindings for Firefox)
-pentadactyl:
-pentadactyl: Pentadactyl is a free browser add-on for Firefox, designed to make
-pentadactyl: browsing more efficient and especially more keyboard accessible.
-pentadactyl: Largely inspired by the Vim text editor, the appearance and finger
-pentadactyl: feel should be familiar to Vim users.
-pentadactyl:
-pentadactyl:
-pentadactyl:
-pentadactyl:
-pentadactyl:
diff --git a/network/periscope/README b/network/periscope/README
index 175f1bb863..b2237c528c 100644
--- a/network/periscope/README
+++ b/network/periscope/README
@@ -1,7 +1,7 @@
-Periscope is a subtitles searching module written in python that tries to
-find a correct match for a given video file. The subtitles sites are
-handled as plugins and currently support OpenSubtitles, SubtitleSource,
-Podnapisi, Subscene and Subtitulos.
+Periscope is a subtitles searching module written in python that
+tries to find a correct match for a given video file. The subtitles
+sites are handled as plugins and currently support OpenSubtitles,
+SubtitleSource, Podnapisi, Subscene and Subtitulos.
A python/nautilus integration script is copied to the doc directory.
diff --git a/network/periscope/periscope.SlackBuild b/network/periscope/periscope.SlackBuild
index a42bb5080b..92f0f3b75a 100644
--- a/network/periscope/periscope.SlackBuild
+++ b/network/periscope/periscope.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for periscope.
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=periscope
VERSION=${VERSION:-0.2.4}
SRCNAM=python-${PRGNAM}_${VERSION}.orig.tar.gz
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/persepolis/persepolis.SlackBuild b/network/persepolis/persepolis.SlackBuild
index 8d6e7fc440..5091a231f7 100644
--- a/network/persepolis/persepolis.SlackBuild
+++ b/network/persepolis/persepolis.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for persepolis
# Copyright 2018 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=persepolis
VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/persepolis/persepolis.info b/network/persepolis/persepolis.info
index d4a9470284..957562e97d 100644
--- a/network/persepolis/persepolis.info
+++ b/network/persepolis/persepolis.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/persepolisdm/persepolis/archive/3.2.0/persepolis-3.
MD5SUM="9a3bf686da0385f78eadca457a9f43fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-PyQt5 python-requests setproctitle psutil aria2 python-notify2 ffmpeg youtube-dl"
-MAINTAINER="David Woodfall"
+REQUIRES="setproctitle python3-psutil aria2 youtube-dl"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild b/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild
index 357a34a2d0..d19979ab6b 100644
--- a/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild
+++ b/network/pexip-infinity-connect/pexip-infinity-connect.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pexip-infinity-connect
-# Copyright 2020 Igor Alexandrov <igor.alexandrov@outlook.com>
+# Copyright 2020-2021 Igor Alexandrov <igor.alexandrov@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pexip-infinity-connect
-SRCNAM=$(tar -tf $PRGNAM*.t?z | head -1)
-VERSION=${VERSION:-$(echo $SRCNAM | cut -d '_' -f 2 | tr '-' '.')}
+VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCNAM=${PRGNAM}_${VERSION}-53046.187.0_linux-x64.tgz
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,9 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-set -e
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,17 +56,21 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
+set -eu
+
+SRCNAM=$(tar -tf $ARCNAM | head -1)
+
rm -rf $PKG
mkdir -p $TMP $OUTPUT $PKG/{install,opt,usr/{bin,doc/$PRGNAM-$VERSION}}
cd $PKG
-tar -xvf $CWD/$PRGNAM*.t?z
+tar -xvf $CWD/$ARCNAM
mv $SRCNAM opt/$PRGNAM
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
find . -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -74,4 +86,4 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.desktop b/network/pexip-infinity-connect/pexip-infinity-connect.desktop
index aa50e951d4..4734956753 100644
--- a/network/pexip-infinity-connect/pexip-infinity-connect.desktop
+++ b/network/pexip-infinity-connect/pexip-infinity-connect.desktop
@@ -1,11 +1,11 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Pexip Infinity Connect
-Exec=/opt/pexip-infinity-connect/pexip-infinity-connect %u
+Exec=/usr/bin/pexip-infinity-connect %u
Terminal=false
Type=Application
Icon=pexip-infinity-connect
-Categories=Network;Communication;Video
+Categories=Network;
StartupNotify=true
StartupWMClass=pexip infinity connect
MimeType=x-scheme-handler/pexip-provision;x-scheme-handler/pexip-auth;x-scheme-handler/pexip
diff --git a/network/pexip-infinity-connect/pexip-infinity-connect.info b/network/pexip-infinity-connect/pexip-infinity-connect.info
index b4b16b73e4..3459906dcc 100644
--- a/network/pexip-infinity-connect/pexip-infinity-connect.info
+++ b/network/pexip-infinity-connect/pexip-infinity-connect.info
@@ -1,10 +1,10 @@
PRGNAM="pexip-infinity-connect"
-VERSION="1.6.0.52922.63.120"
+VERSION="1.6.2"
HOMEPAGE="https://www.pexip.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://dl.pexip.com/connect/nextgen/1.6/pexip-infinity-connect_1.6.0-52920.61.0_linux-x64.tgz"
-MD5SUM_x86_64="04366b531afd0de6d3258f7c0aa8e08d"
+DOWNLOAD_x86_64="https://dl.pexip.com/connect/nextgen/1.6.2/pexip-infinity-connect_1.6.2-53046.187.0_linux-x64.tgz"
+MD5SUM_x86_64="c297c6621048ad3725a9b685cdb78805"
REQUIRES=""
MAINTAINER="Igor Alexandrov"
EMAIL="igor.alexandrov@outlook.com"
diff --git a/network/pflogsumm/README b/network/pflogsumm/README
index f24365b8ec..b066c78d1e 100644
--- a/network/pflogsumm/README
+++ b/network/pflogsumm/README
@@ -13,6 +13,6 @@ and pflogsumm.pl -help for a terse version.
Please see included sample_cronjob.txt file and manpage for details
on running pflogsumm via crontab and getting stats via email.
-BETA VERSION WARNING: version 1.1.5 is in beta testing right now. If you
-are using postfix 2.9, you need this version as it contains fixes to
-logging changes incorporated in postfix 2.9.
+BETA VERSION WARNING: version 1.1.5 is in beta testing right now.
+If you are using postfix 2.9, you need this version as it contains
+fixes to logging changes incorporated in postfix 2.9.
diff --git a/network/pflogsumm/pflogsumm.SlackBuild b/network/pflogsumm/pflogsumm.SlackBuild
index 811304d098..90197b0864 100644
--- a/network/pflogsumm/pflogsumm.SlackBuild
+++ b/network/pflogsumm/pflogsumm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for pflogsumm
# Home Page http://jimsun.linxnet.com/postfix_contrib.html
@@ -25,13 +25,23 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="pflogsumm"
VERSION=${VERSION:-1.1.5}
ARCH="noarch"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,4 +70,4 @@ gzip -9 $PKG/usr/man/man1/pflogsumm.1
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pfqueue/README b/network/pfqueue/README
index ccae30bfcb..5f680e46d9 100644
--- a/network/pfqueue/README
+++ b/network/pfqueue/README
@@ -7,6 +7,6 @@ It's a real-time queue scanner, that shows per-queue lists of existing
messages; the messages can be shown, deleted, put on hold, released or
requeued.
-Just for example, it may be useful to inspect a traffic jam at a given
-time, to see what is falling into and unexpectedly crowding your deferred
-queue.
+Just for example, it may be useful to inspect a traffic jam at a
+given time, to see what is falling into and unexpectedly crowding your
+deferred queue.
diff --git a/network/pfqueue/pfqueue.SlackBuild b/network/pfqueue/pfqueue.SlackBuild
index 3dd825399d..e0c4de2aed 100644
--- a/network/pfqueue/pfqueue.SlackBuild
+++ b/network/pfqueue/pfqueue.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pfqueue
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pfqueue
VERSION=${VERSION:-0.5.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,8 +104,10 @@ cp -a AUTHORS COPYING ChangeLog NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pgbouncer/pgbouncer.SlackBuild b/network/pgbouncer/pgbouncer.SlackBuild
index 77369a62f3..76d2c1fa09 100644
--- a/network/pgbouncer/pgbouncer.SlackBuild
+++ b/network/pgbouncer/pgbouncer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pgbouncer
@@ -22,27 +22,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pgbouncer
VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -66,9 +72,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -130,4 +136,4 @@ do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pgbouncer/pgbouncer.info b/network/pgbouncer/pgbouncer.info
index f5669a4bca..62dd5529e9 100644
--- a/network/pgbouncer/pgbouncer.info
+++ b/network/pgbouncer/pgbouncer.info
@@ -1,7 +1,7 @@
PRGNAM="pgbouncer"
VERSION="1.5.5"
HOMEPAGE="https://pgbouncer.github.io"
-DOWNLOAD="https://pgbouncer.github.io/downloads/pgbouncer-1.5.5.tar.gz"
+DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/pgbouncer/pgbouncer-1.5.5.tar.gz/e332e41956f9a2d48c4b38fa96d6e0f0/pgbouncer-1.5.5.tar.gz"
MD5SUM="e332e41956f9a2d48c4b38fa96d6e0f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/pgl/README b/network/pgl/README
deleted file mode 100644
index 10bf73bd97..0000000000
--- a/network/pgl/README
+++ /dev/null
@@ -1,4 +0,0 @@
-PeerGuardian is a privacy oriented firewall application.
-It blocks connections to and from hosts specified in huge
-blocklists (thousands or millions of IP ranges). Its origin
-seeds in targeting aggressive IPs while you use P2P.
diff --git a/network/pgl/doinst.sh b/network/pgl/doinst.sh
deleted file mode 100644
index a526f2af13..0000000000
--- a/network/pgl/doinst.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.pgl.new
-config etc/pgl/pglcmd.conf.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/pgl/pgl.SlackBuild b/network/pgl/pgl.SlackBuild
deleted file mode 100644
index 60b6525a7a..0000000000
--- a/network/pgl/pgl.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PeerGuardian
-
-#
-# Script created by Michael Connolly <connollymp3000@gmail.com>
-#
-
-PRGNAM=pgl
-VERSION=${VERSION:-2.2.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e # exit on most errors
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-initddir=/etc/rc.d \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-rmdir $PKG/tmp
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mv $PKG/etc/rc.d/pgl $PKG/etc/rc.d/rc.pgl.new
-mv $PKG/etc/pgl/pglcmd.conf $PKG/etc/pgl/pglcmd.conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/pgl/pgl.info b/network/pgl/pgl.info
deleted file mode 100644
index cc3a34ffe6..0000000000
--- a/network/pgl/pgl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pgl"
-VERSION="2.2.2"
-HOMEPAGE="https://sourceforge.net/projects/peerguardian/"
-DOWNLOAD="https://downloads.sourceforge.net/peerguardian/pgl-2.2.2.tar.gz"
-MD5SUM="c623c92802281f69e51d140c8b1bb171"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Michael Connolly"
-EMAIL="connollymp3000@gmail.com"
diff --git a/network/pgl/slack-desc b/network/pgl/slack-desc
deleted file mode 100644
index 0fe7fd81dc..0000000000
--- a/network/pgl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-pgl: pgl (Privacy-oriented Firewall Application)
-pgl:
-pgl: PeerGuardian actively blocks connections to and from hosts specified
-pgl: in huge, frequently updated blocklists, spanning millions of IP
-pgl: ranges. Its origin lays in targeting aggressive IPs while using
-pgl: P2P services.
-pgl:
-pgl: homepage: https://sourceforge.net/projects/peerguardian/
-pgl:
-pgl:
-pgl:
diff --git a/network/pgpool-II/README b/network/pgpool-II/README
index 53f8fba675..024cc74dae 100644
--- a/network/pgpool-II/README
+++ b/network/pgpool-II/README
@@ -8,5 +8,5 @@ PostgreSQL database client. It has support for:
Docs are available at: http://www.pgpool.net/docs/latest/en/html/
-Note that this SlackBuild comes without a default configuration. Sample config
-files will be dropped in /etc/pgpool.conf.sample-*
+Note that this SlackBuild comes without a default configuration.
+Sample config files will be installed to "/etc/pgpool.conf.sample-*".
diff --git a/network/pgpool-II/pgpool-II.SlackBuild b/network/pgpool-II/pgpool-II.SlackBuild
index 18762c7c43..c7ce12e620 100644
--- a/network/pgpool-II/pgpool-II.SlackBuild
+++ b/network/pgpool-II/pgpool-II.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pgpool-II
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgpool-II
-VERSION=${VERSION:-3.7.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.7.21}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,9 +103,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc/ src/sql/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pgpool-II/pgpool-II.info b/network/pgpool-II/pgpool-II.info
index dac27fce06..8287b03899 100644
--- a/network/pgpool-II/pgpool-II.info
+++ b/network/pgpool-II/pgpool-II.info
@@ -1,8 +1,8 @@
PRGNAM="pgpool-II"
-VERSION="3.7.3"
-HOMEPAGE="http://www.pgpool.net"
-DOWNLOAD="http://www.pgpool.net/download.php?f=pgpool-II-3.7.3.tar.gz"
-MD5SUM="622aca1698b29f735042da52a374afed"
+VERSION="3.7.21"
+HOMEPAGE="https://www.pgpool.net/mediawiki/index.php/Main_Page"
+DOWNLOAD="https://www.pgpool.net/mediawiki/download.php?f=pgpool-II-3.7.21.tar.gz"
+MD5SUM="2326727471f6fd390a7a1d7ec92e4c04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"
diff --git a/network/pgpool-II/slack-desc b/network/pgpool-II/slack-desc
index de51400650..195ba5d4e4 100644
--- a/network/pgpool-II/slack-desc
+++ b/network/pgpool-II/slack-desc
@@ -15,5 +15,5 @@ pgpool-II: Load Balance, Limiting Exceeding Connections and Parallel Query.
pgpool-II:
pgpool-II:
pgpool-II:
-pgpool-II: http://www.pgpool.net
+pgpool-II: https://www.pgpool.net/mediawiki/index.php/Main_Page
pgpool-II:
diff --git a/network/phodav/phodav.SlackBuild b/network/phodav/phodav.SlackBuild
index 1b3c1bcebc..d4652f6c61 100644
--- a/network/phodav/phodav.SlackBuild
+++ b/network/phodav/phodav.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for phodav
-# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=phodav
-VERSION=${VERSION:-2.2}
+VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING NEWS README TODO"
+DOCS="COPYING NEWS README.md TODO"
set -e
@@ -73,21 +83,14 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+meson \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
- --localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ build
-mkdir $PKG/lib
-mv $PKG/usr/lib/udev $PKG/lib/
+DESTDIR=$PKG "${NINJA:=ninja}" -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -103,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/phodav/phodav.info b/network/phodav/phodav.info
index 7b7b8d7050..0ff45a9a36 100644
--- a/network/phodav/phodav.info
+++ b/network/phodav/phodav.info
@@ -1,10 +1,10 @@
PRGNAM="phodav"
-VERSION="2.2"
+VERSION="3.0"
HOMEPAGE="https://wiki.gnome.org/phodav"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/phodav/2.2/phodav-2.2.tar.xz"
-MD5SUM="18dc8890ef3606f2a053054658dbf016"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/phodav/3.0/phodav-3.0.tar.xz"
+MD5SUM="33081519b273385976360bf3047fa704"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libsoup3"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/network/phpmyadmin/README b/network/phpmyadmin/README
index 94a2e36d07..0aa2fa996f 100644
--- a/network/phpmyadmin/README
+++ b/network/phpmyadmin/README
@@ -5,11 +5,12 @@ are supported by the user interface (managing databases, tables, fields,
relations, indexes, users, permissions, etc), while you still have the
ability to directly execute any SQL statement.
-By default, there is only a sample config file included with the package.
-You can either copy that file and edit it according to your taste or you
-can do a graphical setup. Both processes are detailed in the docs.
+By default, there is only a sample config file included with the
+package. You can either copy that file and edit it according to your
+taste or you can do a graphical setup. Both processes are detailed in
+the docs.
You can override DOCROOT, PHPUSER, and PHPGROUP at build time.
They default to DOCROOT=/var/www/htdocs, PHPUSER=root, PHPGROUP=apache.
-For configuration help, you can visit: http://wiki.phpmyadmin.net/pma/Config
+For configuration help, see: http://wiki.phpmyadmin.net/pma/Config
diff --git a/network/phpmyadmin/phpmyadmin.SlackBuild b/network/phpmyadmin/phpmyadmin.SlackBuild
index d8494a6aee..4a036d787f 100644
--- a/network/phpmyadmin/phpmyadmin.SlackBuild
+++ b/network/phpmyadmin/phpmyadmin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for phpmyadmin
# Home Page http://www.phpmyadmin.net/
@@ -27,11 +27,14 @@
# Modified by the SlackBuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="phpmyadmin"
-VERSION=${VERSION:-4.9.1}
+VERSION=${VERSION:-5.2.1}
ARCH="noarch" # hardcode ARCH
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCROOT=${DOCROOT:-/var/www/htdocs}
@@ -40,7 +43,14 @@ PHPGROUP=${PHPGROUP:-apache}
SRCNAM="phpMyAdmin-${VERSION}-all-languages"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/phpmyadmin/phpmyadmin.info b/network/phpmyadmin/phpmyadmin.info
index 59bfcd8d2d..ca5cc736f1 100644
--- a/network/phpmyadmin/phpmyadmin.info
+++ b/network/phpmyadmin/phpmyadmin.info
@@ -1,8 +1,8 @@
PRGNAM="phpmyadmin"
-VERSION="4.9.1"
+VERSION="5.2.1"
HOMEPAGE="http://www.phpmyadmin.net/home_page/index.php"
-DOWNLOAD="https://files.phpmyadmin.net/phpMyAdmin/4.9.1/phpMyAdmin-4.9.1-all-languages.tar.xz"
-MD5SUM="a165109629731f5311ec3171cce50972"
+DOWNLOAD="https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.xz"
+MD5SUM="167836c4fbd76e968fae78913c4bdb7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/phppgadmin/README b/network/phppgadmin/README
new file mode 100644
index 0000000000..e081f4f0ac
--- /dev/null
+++ b/network/phppgadmin/README
@@ -0,0 +1,12 @@
+PhpPgAdmin is a Web-based application written in PHP that can manage one
+or more PostgreSQL databases. It is 100% compatible with PostgreSQL. It
+performs all the standard Data Definition Language (DDL) and Data
+Manipulation Language (DML) statements. It can back up and restore an
+entire cluster, and can manage a Slony replication cluster, all in an
+easy-to-understand interface.
+
+Of course a Postgresql server must be accessible, mod_php enabled and
+package 'php-pgsql' installed.
+
+Please adapt 'config.inc.php', 'phppgadmin.conf' for apache, ...
+to your needs.
diff --git a/network/phppgadmin/doinst.sh b/network/phppgadmin/doinst.sh
new file mode 100644
index 0000000000..9e17dcbecd
--- /dev/null
+++ b/network/phppgadmin/doinst.sh
@@ -0,0 +1,14 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/httpd/conf.d/phppgadmin.conf.new
diff --git a/network/phppgadmin/http-pgadmin.conf b/network/phppgadmin/http-pgadmin.conf
new file mode 100644
index 0000000000..1bd0381933
--- /dev/null
+++ b/network/phppgadmin/http-pgadmin.conf
@@ -0,0 +1,17 @@
+Alias /phppgadmin /usr/share/phppgadmin/
+
+<Directory /usr/share/phppgadmin>
+# SSLRequireSSL
+ Options FollowSymlinks
+ AllowOverride None
+ DirectoryIndex index.php
+ Require ip 127.0.0.1
+</Directory>
+
+<Directory /usr/share/phppgadmin/conf>
+ Require all denied
+</Directory>
+
+<Directory /usr/share/phppgadmin/libraries>
+ Require all denied
+</Directory>
diff --git a/network/phppgadmin/phppgadmin.SlackBuild b/network/phppgadmin/phppgadmin.SlackBuild
new file mode 100644
index 0000000000..86bd57a71b
--- /dev/null
+++ b/network/phppgadmin/phppgadmin.SlackBuild
@@ -0,0 +1,91 @@
+#!/bin/bash
+
+# Slackware build script for phppgadmin
+
+# Copyright 2023 Michel A. Begue <mab974@misouk.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM='phppgadmin'
+VERSION=${VERSION:-7.13.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=phpPgAdmin
+
+DOCROOT=${DOCROOT:-/usr/share}
+PHPUSER=${PHPUSER:-root}
+PHPGROUP=${PHPGROUP:-apache}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG$DOCROOT
+cp -a $TMP/$SRCNAM-$VERSION $PKG$DOCROOT
+( cd $PKG$DOCROOT; ln -s ./$SRCNAM-$VERSION ./$PRGNAM )
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ [A-Z]* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/etc/httpd/conf.d
+cp -a $CWD/http-pgadmin.conf $PKG/etc/httpd/conf.d/phppgadmin.conf.new
+
+chown -R $PHPUSER:$PHPGROUP $PKG$DOCROOT/$SRCNAM-$VERSION
+chmod -R o-rwx $PKG$DOCROOT/$SRCNAM-$VERSION
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-${BUILD}$TAG.$PKGTYPE
diff --git a/network/phppgadmin/phppgadmin.info b/network/phppgadmin/phppgadmin.info
new file mode 100644
index 0000000000..73bfd5f275
--- /dev/null
+++ b/network/phppgadmin/phppgadmin.info
@@ -0,0 +1,10 @@
+PRGNAM="phppgadmin"
+VERSION="7.13.0"
+HOMEPAGE="https://github.com/phppgadmin/phppgadmin"
+DOWNLOAD="https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.tar.gz"
+MD5SUM="8a38dca6bd0bcdc9481c88f1ac0c0f80"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="php-pgsql"
+MAINTAINER="Michel A. Begue"
+EMAIL="mab974@misouk.com"
diff --git a/network/phppgadmin/slack-desc b/network/phppgadmin/slack-desc
new file mode 100644
index 0000000000..9c1fb25d46
--- /dev/null
+++ b/network/phppgadmin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+phppgadmin: phppgadmin (a php webapp for Postgresql)
+phppgadmin:
+phppgadmin: phpPgAdmin is a Web-based application written in PHP that can manage
+phppgadmin: one or more PostgreSQL databases. It is 100% compatible with
+phppgadmin: PostgreSQL. It performs all the standard Data Definition Language
+phppgadmin: (DDL) and Data Manipulation Language (DML) statements. It can back up
+phppgadmin: and restore an entire cluster, and can manage a Slony replication
+phppgadmin: cluster, all in an easy-to-understand interface.
+phppgadmin:
+phppgadmin:
+phppgadmin:
diff --git a/network/pidgin-authorization-blocker/pidgin-authorization-blocker.SlackBuild b/network/pidgin-authorization-blocker/pidgin-authorization-blocker.SlackBuild
index ee78e4323c..9cd8a2cd82 100644
--- a/network/pidgin-authorization-blocker/pidgin-authorization-blocker.SlackBuild
+++ b/network/pidgin-authorization-blocker/pidgin-authorization-blocker.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-authorization-blocker
@@ -6,26 +6,36 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-authorization-blocker
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-birthday-reminder/pidgin-birthday-reminder.SlackBuild b/network/pidgin-birthday-reminder/pidgin-birthday-reminder.SlackBuild
index ee74fdc4dc..7160f124cd 100644
--- a/network/pidgin-birthday-reminder/pidgin-birthday-reminder.SlackBuild
+++ b/network/pidgin-birthday-reminder/pidgin-birthday-reminder.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-birthday-reminder
@@ -6,26 +6,36 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-birthday-reminder
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-extprefs/pidgin-extprefs.SlackBuild b/network/pidgin-extprefs/pidgin-extprefs.SlackBuild
index 25fe22518b..f2f5b4c998 100644
--- a/network/pidgin-extprefs/pidgin-extprefs.SlackBuild
+++ b/network/pidgin-extprefs/pidgin-extprefs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-extprefs
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-extprefs
VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-gfire/pidgin-gfire.SlackBuild b/network/pidgin-gfire/pidgin-gfire.SlackBuild
index a14ec878c0..14d62dafd0 100644
--- a/network/pidgin-gfire/pidgin-gfire.SlackBuild
+++ b/network/pidgin-gfire/pidgin-gfire.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-gfire
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-gfire
VERSION=${VERSION:-0.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
index 2307eb44cc..a220494b4c 100644
--- a/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
+++ b/network/pidgin-musictracker/pidgin-musictracker.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-musictracker
@@ -21,28 +21,38 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220323 bkw: Modified by SlackBuilds.org: fix 32-bit build (it needs
+# --disable-werror).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-musictracker
VERSION=${VERSION:-0.4.22}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -66,13 +76,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS -Wno-error=deprecated-declarations" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
+ --disable-werror \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -83,6 +93,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# cleaup libtool stuff
+rm -f $PKG/usr/lib64/pidgin/musictracker.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -94,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-nudge/README b/network/pidgin-nudge/README
index f9b8e7ff6d..2618e8503d 100644
--- a/network/pidgin-nudge/README
+++ b/network/pidgin-nudge/README
@@ -1,5 +1,5 @@
pidgin-nudge (Shakes Pidgin conversation windows on certain events)
-A gtk pidgin plugin that shakes your conversation window when you receive
-a nudge/buzz/shake/zap/etc. This plugin is developed to shake your
-window similar to the MSN (Windows Live) Messenger client.
+A gtk pidgin plugin that shakes your conversation window when you
+receive a nudge/buzz/shake/zap/etc. This plugin is developed to shake
+your window similar to the MSN (Windows Live) Messenger client.
diff --git a/network/pidgin-nudge/pidgin-nudge.SlackBuild b/network/pidgin-nudge/pidgin-nudge.SlackBuild
index a73f0df8f1..9f0da681c5 100644
--- a/network/pidgin-nudge/pidgin-nudge.SlackBuild
+++ b/network/pidgin-nudge/pidgin-nudge.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-nudge
@@ -6,25 +6,35 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-nudge
VERSION=${VERSION:-0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
@@ -64,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild b/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild
index a73d131ef2..6b4b096bc7 100644
--- a/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild
+++ b/network/pidgin-opensteamworks/pidgin-opensteamworks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-opensteamworks
@@ -6,25 +6,35 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-opensteamworks
VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
@@ -73,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-opensteamworks/pidgin-opensteamworks.info b/network/pidgin-opensteamworks/pidgin-opensteamworks.info
index bc607aab77..ae83f8a441 100644
--- a/network/pidgin-opensteamworks/pidgin-opensteamworks.info
+++ b/network/pidgin-opensteamworks/pidgin-opensteamworks.info
@@ -1,10 +1,10 @@
PRGNAM="pidgin-opensteamworks"
VERSION="1.6.1"
HOMEPAGE="https://github.com/EionRobb/pidgin-opensteamworks"
-DOWNLOAD="https://github.com/EionRobb/pidgin-opensteamworks/archive/1.6.1.tar.gz"
+DOWNLOAD="https://github.com/EionRobb/pidgin-opensteamworks/archive/1.6.1/pidgin-opensteamworks-1.6.1.tar.gz"
MD5SUM="a397dbb2fd1d58769506567bd2aa6f1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib"
+REQUIRES=""
MAINTAINER="Ronny Schmatzler"
EMAIL="schmatzler@hirnschwund.net"
diff --git a/network/pidgin-otr/README b/network/pidgin-otr/README
index 73b1d4024c..8cf6a7dda4 100644
--- a/network/pidgin-otr/README
+++ b/network/pidgin-otr/README
@@ -3,8 +3,9 @@ Off-the-Record (OTR) Messaging for Pidgin
Allows you to have private conversations over instant messaging when
talking on Pidgin by providing:
- Encryption: No one else can read your instant messages.
-- Authentication: You are assured the correspondent is who you think it is.
-- Deniability: The messages you send do not have digital signatures that
- are checkable by a third party.
+- Authentication: You are assured the correspondent is who you think
+ it is.
+- Deniability: The messages you send do not have digital signatures
+ that are checkable by a third party.
- Perfect forward secrecy: If you lose control of your private keys,
no previous conversation is compromised.
diff --git a/network/pidgin-otr/pidgin-otr.SlackBuild b/network/pidgin-otr/pidgin-otr.SlackBuild
index 9f8956f084..41e1ecff5f 100644
--- a/network/pidgin-otr/pidgin-otr.SlackBuild
+++ b/network/pidgin-otr/pidgin-otr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-otr
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-otr
VERSION=${VERSION:-4.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-privacy-please/README b/network/pidgin-privacy-please/README
index f0caf1b04b..b59638f211 100644
--- a/network/pidgin-privacy-please/README
+++ b/network/pidgin-privacy-please/README
@@ -1 +1,2 @@
-pidgin privacy please is a pidgin plugin to stop spammers from annoying you.
+pidgin privacy please is a pidgin plugin to stop spammers from
+annoying you.
diff --git a/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild b/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild
index 625401eb49..063382693d 100644
--- a/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild
+++ b/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-privacy-please
@@ -22,26 +22,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-privacy-please
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -88,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-sipe/README b/network/pidgin-sipe/README
index a6fa874151..39ed142dd9 100644
--- a/network/pidgin-sipe/README
+++ b/network/pidgin-sipe/README
@@ -1,6 +1,6 @@
-This project develops a third-party plugin for the Pidgin multi-protocol
-instant messenger. It implements the extended version of SIP/SIMPLE used by
-various products:
+This project develops a third-party plugin for the Pidgin
+multi-protocol instant messenger. It implements the extended version of
+SIP/SIMPLE used by various products:
* Microsoft Office Communications Server (OCS 2007/2007 R2 and newer)
* Microsoft Live Communications Server (LCS 2003/2005)
diff --git a/network/pidgin-sipe/pidgin-sipe.SlackBuild b/network/pidgin-sipe/pidgin-sipe.SlackBuild
index e59c906f6e..19b3cd155f 100644
--- a/network/pidgin-sipe/pidgin-sipe.SlackBuild
+++ b/network/pidgin-sipe/pidgin-sipe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-sipe.
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-sipe
-VERSION=${VERSION:-1.23.0}
+VERSION=${VERSION:-1.25.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,6 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-quality-check=no \
--build=$ARCH-slackware-linux
make
@@ -89,7 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO \
+ ChangeLog NEWS COPYING README ABOUT-NLS TODO AUTHORS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -97,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-sipe/pidgin-sipe.info b/network/pidgin-sipe/pidgin-sipe.info
index a2cc1045d7..860749b323 100644
--- a/network/pidgin-sipe/pidgin-sipe.info
+++ b/network/pidgin-sipe/pidgin-sipe.info
@@ -1,8 +1,8 @@
PRGNAM="pidgin-sipe"
-VERSION="1.23.0"
+VERSION="1.25.0"
HOMEPAGE="http://sipe.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sipe/pidgin-sipe-1.23.0.tar.xz"
-MD5SUM="75fb9417834bc78114786d78a41bcd37"
+DOWNLOAD="http://downloads.sourceforge.net/sipe/pidgin-sipe-1.25.0.tar.xz"
+MD5SUM="0e742f021dc8c3f17435aea05c3e0314"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/pidgin-sound/README b/network/pidgin-sound/README
index 2b70b52f7d..f4fd62bc73 100644
--- a/network/pidgin-sound/README
+++ b/network/pidgin-sound/README
@@ -1,2 +1,2 @@
-pidgin-sound is a plugin that adds sounds for some sound notifications to
-pidgin (e.g. 'Incoming Filetransfer' or 'Authentication requested')
+pidgin-sound is a plugin that adds sounds for some sound notifications
+to pidgin (e.g. 'Incoming Filetransfer' or 'Authentication requested')
diff --git a/network/pidgin-sound/pidgin-sound.SlackBuild b/network/pidgin-sound/pidgin-sound.SlackBuild
index 2bc4401e62..432f8b5616 100644
--- a/network/pidgin-sound/pidgin-sound.SlackBuild
+++ b/network/pidgin-sound/pidgin-sound.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-sound
# Written by JokerBoy ( mynameisbogdan at yahoo.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-sound
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=pidgin-advanced-sound-notification
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-toobars/pidgin-toobars.SlackBuild b/network/pidgin-toobars/pidgin-toobars.SlackBuild
index 5154b8489c..606218615f 100644
--- a/network/pidgin-toobars/pidgin-toobars.SlackBuild
+++ b/network/pidgin-toobars/pidgin-toobars.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-toobars
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-toobars
VERSION=${VERSION:-1.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-toolbar-shrink/pidgin-toolbar-shrink.SlackBuild b/network/pidgin-toolbar-shrink/pidgin-toolbar-shrink.SlackBuild
index 3e35ad7f17..402d252d79 100644
--- a/network/pidgin-toolbar-shrink/pidgin-toolbar-shrink.SlackBuild
+++ b/network/pidgin-toolbar-shrink/pidgin-toolbar-shrink.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-toolbar-shrink
@@ -6,26 +6,36 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-toolbar-shrink
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-visnotes/pidgin-visnotes.SlackBuild b/network/pidgin-visnotes/pidgin-visnotes.SlackBuild
index 43bbe7c75a..3768f06f2c 100644
--- a/network/pidgin-visnotes/pidgin-visnotes.SlackBuild
+++ b/network/pidgin-visnotes/pidgin-visnotes.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-visnotes
# Written by otzy_007 (oz@oprod.net)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-visnotes
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-whatsapp/pidgin-whatsapp.SlackBuild b/network/pidgin-whatsapp/pidgin-whatsapp.SlackBuild
index bebd38de44..eafb9d544d 100644
--- a/network/pidgin-whatsapp/pidgin-whatsapp.SlackBuild
+++ b/network/pidgin-whatsapp/pidgin-whatsapp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for whatsapp-purple
@@ -6,26 +6,36 @@
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-whatsapp
VERSION=${VERSION:-0.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pidgin-whatsapp/pidgin-whatsapp.info b/network/pidgin-whatsapp/pidgin-whatsapp.info
index e442c22075..ef52c5163d 100644
--- a/network/pidgin-whatsapp/pidgin-whatsapp.info
+++ b/network/pidgin-whatsapp/pidgin-whatsapp.info
@@ -1,7 +1,7 @@
PRGNAM="pidgin-whatsapp"
VERSION="0.8.6"
HOMEPAGE="https://github.com/davidgfnet/whatsapp-purple"
-DOWNLOAD="https://github.com/davidgfnet/whatsapp-purple/archive/v0.8.6.tar.gz"
+DOWNLOAD="https://github.com/davidgfnet/whatsapp-purple/archive/v0.8.6/whatsapp-purple-0.8.6.tar.gz"
MD5SUM="1aff0445ec9960b67082c0992ce21b45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/pirate-get/README b/network/pirate-get/README
index d7f1d087bd..72dc98b7c4 100644
--- a/network/pirate-get/README
+++ b/network/pirate-get/README
@@ -1,6 +1,3 @@
pirate-get is a convenient command line tool (inspired by APT)
to speed up your trip to the Pirate Bay and get your completely
legal torrents more quickly.
-
-NOTE:
-Please install python3 first before installing all other requirements.
diff --git a/network/pirate-get/pirate-get.SlackBuild b/network/pirate-get/pirate-get.SlackBuild
index e9f6928035..6cae707b39 100644
--- a/network/pirate-get/pirate-get.SlackBuild
+++ b/network/pirate-get/pirate-get.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pirate-get
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pirate-get
VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pirate-get/pirate-get.info b/network/pirate-get/pirate-get.info
index df31f2a705..d31219670c 100644
--- a/network/pirate-get/pirate-get.info
+++ b/network/pirate-get/pirate-get.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/c3/e2/735e12e1d0aabcc20dd68cd8
MD5SUM="f1bd3e0d209586d076db3cc01e522158"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 veryprettytable pyperclip"
+REQUIRES="veryprettytable pyperclip"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/plasma-nm-openconnect/README b/network/plasma-nm-openconnect/README
deleted file mode 100644
index 73d9ce36a9..0000000000
--- a/network/plasma-nm-openconnect/README
+++ /dev/null
@@ -1,4 +0,0 @@
-plasma-nm-openconnect (OpenConnect support for plasma-nm)
-
-This package contains the OpenConnect support for KDE's plasma-nm
-networking applet.
diff --git a/network/plasma-nm-openconnect/plasma-nm-openconnect.SlackBuild b/network/plasma-nm-openconnect/plasma-nm-openconnect.SlackBuild
deleted file mode 100644
index 621b554b93..0000000000
--- a/network/plasma-nm-openconnect/plasma-nm-openconnect.SlackBuild
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for plasma-nm-openconnect
-
-# Copyright 2015 Robby Workman, Tuscaloosa, Alabama, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=plasma-nm-openconnect
-VERSION=${VERSION:-0.9.3.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=plasma-nm
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# We'll need a place to put things temporarily
-NOPKG=$PKG/NOPKG
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir build
-cd build
- cmake \
- -DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONF_INSTALL_DIR=/etc/kde \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DKDE4_BUILD_TESTS=OFF \
- -DSITE=\"slackbuilds.org\" \
- ..
- make
- make install DESTDIR=$NOPKG
-cd ..
-
-# This is probably overkill, because we only need a couple of files, but...
-for file in $(find $NOPKG -name "*openconnect*") ; do
- mkdir -p $PKG/$(dirname $file | sed "s,^$NOPKG,,")
- cp -a $file $PKG/$(dirname $file | sed "s,^$NOPKG,,")
-done
-
-# We don't need this any more
-rm -rf $NOPKG $PKG/usr/share/locale
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/plasma-nm-openconnect/plasma-nm-openconnect.info b/network/plasma-nm-openconnect/plasma-nm-openconnect.info
deleted file mode 100644
index a802df6280..0000000000
--- a/network/plasma-nm-openconnect/plasma-nm-openconnect.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="plasma-nm-openconnect"
-VERSION="0.9.3.6"
-HOMEPAGE="https://quickgit.kde.org/?p=plasma-nm.git"
-DOWNLOAD="http://download.kde.org/stable/plasma-nm/plasma-nm-0.9.3.6.tar.xz"
-MD5SUM="ab94be59919eca6bf89fc1930cf3dd39"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openconnect"
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
diff --git a/network/plasma-nm-openconnect/slack-desc b/network/plasma-nm-openconnect/slack-desc
deleted file mode 100644
index 625f0dcf45..0000000000
--- a/network/plasma-nm-openconnect/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-plasma-nm-openconnect: plasma-nm-openconnect (OpenConnect support for plasma-nm)
-plasma-nm-openconnect:
-plasma-nm-openconnect: This package contains the OpenConnect support for KDE's plasma-nm
-plasma-nm-openconnect: networking applet.
-plasma-nm-openconnect:
-plasma-nm-openconnect:
-plasma-nm-openconnect:
-plasma-nm-openconnect:
-plasma-nm-openconnect:
-plasma-nm-openconnect:
-plasma-nm-openconnect:
diff --git a/network/plowshare-modules/plowshare-modules.SlackBuild b/network/plowshare-modules/plowshare-modules.SlackBuild
index 4f9854d34b..c72438e6ea 100644
--- a/network/plowshare-modules/plowshare-modules.SlackBuild
+++ b/network/plowshare-modules/plowshare-modules.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for plowshare-modules
-# Copyright 2017-2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2017-2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# Copyright 2010 Mikhail Cuddy <mikhailcuddy@gmail.com>
# All rights reserved.
#
@@ -23,16 +23,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plowshare-modules
-VERSION=${VERSION:-e94a905}
+VERSION=${VERSION:-c22e296}
SRCNAM=${PRGNAM}-legacy
-SRCVER=${MODVER:-e94a9051f54abb66fd3963933587b2d4057a1614}
+SRCVER=${MODVER:-c22e2962e26c1fcc539b41a37eaab448828842de}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,4 +76,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/plowshare-modules/plowshare-modules.info b/network/plowshare-modules/plowshare-modules.info
index 628166de28..4d2623424a 100644
--- a/network/plowshare-modules/plowshare-modules.info
+++ b/network/plowshare-modules/plowshare-modules.info
@@ -1,8 +1,8 @@
PRGNAM="plowshare-modules"
-VERSION="e94a905"
+VERSION="c22e296"
HOMEPAGE="https://github.com/mcrapet/plowshare-modules-legacy"
-DOWNLOAD="https://github.com/mcrapet/plowshare-modules-legacy/archive/e94a905/plowshare-modules-legacy-e94a9051f54abb66fd3963933587b2d4057a1614.tar.gz"
-MD5SUM="d68a47b14ecd201c6f3e4c24c6c30554"
+DOWNLOAD="https://github.com/mcrapet/plowshare-modules-legacy/archive/c22e296/plowshare-modules-legacy-c22e2962e26c1fcc539b41a37eaab448828842de.tar.gz"
+MD5SUM="4f8b20183bac08d041303340f5b61e51"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="plowshare"
diff --git a/network/plowshare/README b/network/plowshare/README
index ed11f60376..bbb97ce486 100644
--- a/network/plowshare/README
+++ b/network/plowshare/README
@@ -1,19 +1,20 @@
Plowshare is a set of command-line tools (written entirely in Bash shell
script) designed for managing file-sharing websites (aka Hosters).
-Plowshare itself doesn't support any websites. It's just the core engine.
-Support for websites are added via modules. They are available separately
-and it's recommended to be installed by the user rather than system-wide.
-It can be installed/updated by the user to ~/.config/plowshare/modules.d/
-directory using:
+Plowshare itself doesn't support any websites. It's just the
+core engine. Support for websites are added via modules. They are
+available separately and it's recommended to be installed by the user
+rather than system-wide. It can be installed/updated by the user to
+~/.config/plowshare/modules.d/ directory using:
$ plowmod --install
$ plowmod --update
-However, if you'd like them system-wide, please see the plowshare-modules
-SBo package. Modules will be installed to /usr/share/plowshare/modules/
+However, if you'd like them system-wide, please see the
+plowshare-modules SBo package. Modules will be installed to
+/usr/share/plowshare/modules/
-Per INSTALL, either rhino or sunspider (the latter is not available on SBo)
-are optional runtime dependencies. It is stated they are required for some
-sites. However, I have not come across any that didn't work. Let me know
-if it should become a required dependency.
+Per INSTALL, either rhino or sunspider (the latter is not available on
+SBo) are optional runtime dependencies. It is stated they are required
+for some sites. However, I have not come across any that didn't
+work. Let me know if it should become a required dependency.
diff --git a/network/plowshare/plowshare.SlackBuild b/network/plowshare/plowshare.SlackBuild
index 3e7a9aa624..11d0ece151 100644
--- a/network/plowshare/plowshare.SlackBuild
+++ b/network/plowshare/plowshare.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for plowshare
@@ -23,14 +23,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plowshare
VERSION=${VERSION:-2.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pmacct/README b/network/pmacct/README
index 4b088cb71c..9ca7b8da28 100644
--- a/network/pmacct/README
+++ b/network/pmacct/README
@@ -1,7 +1,8 @@
-Pmacct is a small set of multi-purpose passive network monitoring tools.
-It can account, classify, aggregate, replicate and export forwarding-plane
-data, ie. IPv4 and IPv6 traffic; collect and correlate control-plane data via
-BGP and BMP; collect infrastructure data via Streaming Telemetry.
+Pmacct is a small set of multi-purpose passive network monitoring
+tools. It can account, classify, aggregate, replicate and export
+forwarding-plane data, ie. IPv4 and IPv6 traffic; collect and
+correlate control-plane data via BGP and BMP; collect infrastructure
+data via Streaming Telemetry.
-Each component works both as a standalone daemon and as a thread of execution
-for correlation purposes (ie. enrich NetFlow with BGP data).
+Each component works both as a standalone daemon and as a thread of
+execution for correlation purposes (ie. enrich NetFlow with BGP data).
diff --git a/network/pmacct/pmacct.SlackBuild b/network/pmacct/pmacct.SlackBuild
index 24a0add466..1ed93b8cb4 100644
--- a/network/pmacct/pmacct.SlackBuild
+++ b/network/pmacct/pmacct.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PMACCT
@@ -24,10 +24,13 @@
# 02/Apr/2018 * First version
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pmacct
VERSION=${VERSION:-1.7.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,7 +80,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/policyd/policyd.SlackBuild b/network/policyd/policyd.SlackBuild
index 2d80befc9d..4f906e0818 100644
--- a/network/policyd/policyd.SlackBuild
+++ b/network/policyd/policyd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for policyd
@@ -25,10 +25,13 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=policyd
VERSION=${VERSION:-1.82}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,7 +82,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 644 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make CFLAGS+="$SLKCFLAGS" build
+make CFLAGS+="$SLKCFLAGS -fcommon" build
strip --strip-unneeded cleanup stats policyd 2> /dev/null
mkdir -p $PKG/usr/bin
@@ -99,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/policyd2/README b/network/policyd2/README
index a3ad2e7144..64104d2ad0 100644
--- a/network/policyd2/README
+++ b/network/policyd2/README
@@ -1,5 +1,5 @@
-Policyd v2 (codenamed "cluebringer") is a multi-platform policy server for
-popular MTAs. This policy daemon is designed mostly for large scale mail
-hosting environments. The main goal is to implement as many spam combating
-and email compliance features as possible while at the same time maintaining
-the portability, stability and performance.
+Policyd v2 (codenamed "cluebringer") is a multi-platform policy server
+for popular MTAs. This policy daemon is designed mostly for large
+scale mail hosting environments. The main goal is to implement as many
+spam combating and email compliance features as possible while at the
+same time maintaining the portability, stability and performance.
diff --git a/network/policyd2/policyd2.SlackBuild b/network/policyd2/policyd2.SlackBuild
index d0839b2ea6..56e90a62d2 100644
--- a/network/policyd2/policyd2.SlackBuild
+++ b/network/policyd2/policyd2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for policyd2 (a.k.a cluebringer)
# Home Page http://www.policyd.org/
@@ -25,28 +25,38 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="policyd2"
VERSION=${VERSION:-2.0.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="cluebringer"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -156,4 +166,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed s:@DOCROOT@:$(echo $DOCROOT | sed s:/::): $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/polipo/README b/network/polipo/README
index f9c4c2f41b..33007a22ea 100644
--- a/network/polipo/README
+++ b/network/polipo/README
@@ -1,23 +1,25 @@
-Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy, a
-proxy server). While Polipo was designed to be used by one person or a small
-group of people, there is nothing that prevents it from being used by a larger
-group.
+Polipo is a small and fast caching web proxy (a web cache, an HTTP
+proxy, a proxy server). While Polipo was designed to be used by one
+person or a small group of people, there is nothing that prevents it
+from being used by a larger group.
-Polipo has some features that are, as far as I know, unique among currently
-available proxies:
- * Polipo will use HTTP/1.1 pipelining if it believes that the remote server
- supports it, whether the incoming requests are pipelined or come in
- simultaneously on multiple connections (this is more than the simple usage
- of persistent connections, which is done by e.g. Squid); Polipo will cache
- the initial segment of an instance if the download has been interrupted,
- and, if necessary, complete it later using Range requests;
- * Polipo will upgrade client requests to HTTP/1.1 even if they come in as
- HTTP/1.0, and up- or downgrade server replies to the client's capabilities
- (this may involve conversion to or from the HTTP/1.1 chunked encoding);
- * Polipo has complete support for IPv6 (except for scoped (link-local)
- addresses).
- * Polipo can optionally use a technique known as Poor Man's Multiplexing to
- reduce latency even further.
+Polipo has some features that are, as far as I know, unique among
+currently available proxies:
+ * Polipo will use HTTP/1.1 pipelining if it believes that the remote
+ server supports it, whether the incoming requests are pipelined
+ or come in simultaneously on multiple connections (this is more
+ than the simple usage of persistent connections, which is done by
+ e.g. Squid); Polipo will cache the initial segment of an instance
+ if the download has been interrupted, and, if necessary, complete
+ it later using Range requests;
+ * Polipo will upgrade client requests to HTTP/1.1 even if they
+ come in as HTTP/1.0, and up- or downgrade server replies to the
+ client's capabilities (this may involve conversion to or from the
+ HTTP/1.1 chunked encoding);
+ * Polipo has complete support for IPv6 (except for scoped
+ (link-local) addresses).
+ * Polipo can optionally use a technique known as Poor Man's
+ Multiplexing to reduce latency even further.
-In short, Polipo uses a plethora of techniques to make web browsing (seem)
-faster.
+In short, Polipo uses a plethora of techniques to make web browsing
+(seem) faster.
diff --git a/network/polipo/doinst.sh b/network/polipo/doinst.sh
index 22e39ecac9..a3be83cfe3 100644
--- a/network/polipo/doinst.sh
+++ b/network/polipo/doinst.sh
@@ -18,8 +18,11 @@ if [ -e etc/rc.d/rc.polipo ]; then
mv etc/rc.d/rc.polipo.new.incoming etc/rc.d/rc.polipo.new
fi
-if [ -x /usr/bin/install-info ]; then
- chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/polipo.info.gz 2> /dev/null
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
fi
config etc/rc.d/rc.polipo.new
diff --git a/network/polipo/douninst.sh b/network/polipo/douninst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/network/polipo/douninst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/network/polipo/polipo.SlackBuild b/network/polipo/polipo.SlackBuild
index 59c96b34b9..0f9e399932 100644
--- a/network/polipo/polipo.SlackBuild
+++ b/network/polipo/polipo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Polipo
@@ -23,11 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240331 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - handle /usr/info properly in doinst.sh, add douninst.sh
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=polipo
VERSION=${VERSION:-1.1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,9 +82,9 @@ patch -p1 < $CWD/makefile.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} +
make CDEBUGFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
@@ -100,6 +109,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/polipo/polipo.info b/network/polipo/polipo.info
index 7f8de43505..86c583f827 100644
--- a/network/polipo/polipo.info
+++ b/network/polipo/polipo.info
@@ -1,7 +1,7 @@
PRGNAM="polipo"
VERSION="1.1.1"
HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/polipo/"
-DOWNLOAD="https://github.com/jech/polipo/archive/polipo-1.1.1.tar.gz"
+DOWNLOAD="https://github.com/jech/polipo/archive/polipo-1.1.1/polipo-polipo-1.1.1.tar.gz"
MD5SUM="bfbe3222a517d7c4153c4dc7cd9fd2ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/postfix-pgsql/README b/network/postfix-pgsql/README
new file mode 100644
index 0000000000..59211a1702
--- /dev/null
+++ b/network/postfix-pgsql/README
@@ -0,0 +1,7 @@
+Postfix is Wietse Venema's mailer that started life as an alternative to
+the widely-used Sendmail program. It attempts to be fast, easy to
+administer, and secure, while at the same time, being sendmail
+compatible enough to not upset existing users. Thus, the outside has a
+sendmail-ish flavor, but the inside is completely different.
+
+This script adds PostgreSQL support to postfix.
diff --git a/network/postfix-pgsql/doinst.sh b/network/postfix-pgsql/doinst.sh
new file mode 100644
index 0000000000..91aaad7e22
--- /dev/null
+++ b/network/postfix-pgsql/doinst.sh
@@ -0,0 +1,14 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/postfix/dynamicmaps.cf.d/pgsql.cf.new
diff --git a/network/postfix-pgsql/postfix-pgsql.SlackBuild b/network/postfix-pgsql/postfix-pgsql.SlackBuild
new file mode 100644
index 0000000000..770b52557e
--- /dev/null
+++ b/network/postfix-pgsql/postfix-pgsql.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+#
+# Copyright 2006, 2011 Alan Hicks, Lizella, GA
+# Copyright 2010, 2011, 2013, 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2017, 2018 Patrick J. Volkerding, Sebeka, MN USA
+# Copyright 2020, 2021, 2022, 2023, 2024 Eugen Wissner, Mannheim, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=postfix-pgsql
+VERSION=${VERSION:-3.6.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=postfix
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+PGSQLARGS="-I/usr/include/postgresql -DHAS_PGSQL"
+
+### CHANGING BUILT-IN DOCUMENTATION PATH SETTINGS
+#
+# If we try to use postfix-$VERSION in any of these paths, we'll get a compile
+# failure: "error: too many decimal points in number"
+# So we're pretty much forced to leave things as postfix expects them.
+PATHARGS="'-DDEF_HTML_DIR=\"/usr/doc/postfix/html\"' \
+ '-DDEF_MANPAGE_DIR=\"/usr/man\"' \
+ '-DDEF_README_DIR=\"/usr/doc/postfix/readme\"'"
+
+make makefiles dynamicmaps=yes pie=yes shared=yes \
+ shlib_directory=/usr/lib${LIBDIRSUFFIX}/postfix/MAIL_VERSION \
+ CCARGS="$PGSQLARGS $PATHARGS" \
+ AUXLIBS_PGSQL="-lpq -lz -lm" \
+ OPT="$SLKCFLAGS" DEBUG=""
+make
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/postfix/$VERSION
+cp -a lib/postfix-pgsql.so $PKG/usr/lib${LIBDIRSUFFIX}/postfix/$VERSION/
+
+strip --strip-unneeded $PKG/usr/lib${LIBDIRSUFFIX}/postfix/$VERSION/postfix-pgsql.so
+
+mkdir -p $PKG/etc/postfix/dynamicmaps.cf.d
+echo "pgsql postfix-pgsql.so dict_pgsql_open" > $PKG/etc/postfix/dynamicmaps.cf.d/pgsql.cf.new
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/postfix-pgsql/postfix-pgsql.info b/network/postfix-pgsql/postfix-pgsql.info
new file mode 100644
index 0000000000..63998fb4ee
--- /dev/null
+++ b/network/postfix-pgsql/postfix-pgsql.info
@@ -0,0 +1,10 @@
+PRGNAM="postfix-pgsql"
+VERSION="3.6.15"
+HOMEPAGE="https://www.postfix.org/"
+DOWNLOAD="http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.6.15.tar.gz"
+MD5SUM="88471ed95d8f779d16e5c77c000367d5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="postgresql"
+MAINTAINER="Eugene Wissner"
+EMAIL="belka@caraus.de"
diff --git a/network/postfix-pgsql/slack-desc b/network/postfix-pgsql/slack-desc
new file mode 100644
index 0000000000..47ad32def0
--- /dev/null
+++ b/network/postfix-pgsql/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+postfix-pgsql: postfix-pgsql (postfix with support for PostgreSQL)
+postfix-pgsql:
+postfix-pgsql: Postfix attempts to be fast, easy to administer, and secure, while at
+postfix-pgsql: the same time being sendmail compatible enough to not upset existing
+postfix-pgsql: users. Thus, the outside has a sendmail-ish flavor, but the inside is
+postfix-pgsql: completely different.
+postfix-pgsql:
+postfix-pgsql: This script adds PostgreSQL support to postfix.
+postfix-pgsql:
+postfix-pgsql: Homepage: http://www.postfix.org
+postfix-pgsql:
diff --git a/network/postfix/README b/network/postfix/README
deleted file mode 100644
index 80840d5668..0000000000
--- a/network/postfix/README
+++ /dev/null
@@ -1,39 +0,0 @@
-Postfix is Wietse Venema's mailer that started life as an alternative to the
-widely-used Sendmail program. It attempts to be fast, easy to administer, and
-secure, while at the same time, being sendmail compatible enough to not upset
-existing users. Thus, the outside has a sendmail-ish flavor, but the inside is
-completely different.
-
-This script builds postfix with optional support for Dovecot SASL, Cyrus SASL
-can be enabled with:
-
- SASL=cyrus ./postfix.SlackBuild
-
-You can also enable support for MySQL:
-
- DATABASE=mysql ./postfix.SlackBuild
-
-PostgreSQL support can be enabled with:
-
- DATABASE=pgsql ./postfix.SlackBuild
-
-On systems with multiple instances, add major version, eg: DATABASE=pgsql-9.5
-
-This script will find support for BerkleyDB and PCRE automagically; TLS support
-requires openssl package, openssl-solibs alone is not enough. Additionally, this
-script doesn't add postfix user and groups, instead it offers sane defaults that
-won't conflict with system users and groups, and other scripts from the SBo.
-
-Package created with this script will conflict with stock sendmail package, you
-*should* remove sendmail before installing postfix, otherwise sendmail updates
-could break your postfix instance.
-
-When upgrading from an older postfix version, make sure the variables such as
-html_directory and readme_directory in /etc/postfix/main.cf point to the new
-location. These can also be fixed later, afterwards make sure to run:
-
- postfix set-permissions
-
-Furthermore, many of the utilities in postfix have multiple manpages such as
-postconf(5) and postconf(8). Use man -k to find them, and don't forget to
-subscribe to the postfix-users mailing list!
diff --git a/network/postfix/doinst.sh b/network/postfix/doinst.sh
deleted file mode 100644
index 97e6510432..0000000000
--- a/network/postfix/doinst.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-find etc/postfix -type f -name '*.new' \
- | while read new ; do config $new ; done
-
-preserve_perms etc/rc.d/rc.postfix.new
-
-# This is an incompatability with the sendmail package
-( cd usr/lib; rm -f sendmail )
-( cd usr/lib; ln -s /usr/sbin/sendmail sendmail)
-
-# This will set the permissions on all postfix files correctly
-postfix set-permissions
-
-# Symlinks added by makepkg(8)
-
diff --git a/network/postfix/patches/postconf.diff b/network/postfix/patches/postconf.diff
deleted file mode 100644
index c51c1822fe..0000000000
--- a/network/postfix/patches/postconf.diff
+++ /dev/null
@@ -1,31 +0,0 @@
---- postfix-3.0.3/postfix-install.orig 2015-01-29 23:15:30.000000000 +0100
-+++ postfix-3.0.3/postfix-install 2015-10-17 03:57:42.269896095 +0200
-@@ -248,7 +248,7 @@
- case "$junk" in
- *MAIL_VERSION*)
- case "$mail_version" in
-- "") mail_version="`bin/postconf -dhx mail_version`" || exit 1
-+ "") mail_version="`bin/postconf -c conf -dhx mail_version`" || exit 1
- esac
- val=`echo "$junk" | sed 's/MAIL_VERSION$/'"$mail_version/g"` || exit 1
- case "$val" in
-@@ -810,7 +810,7 @@
- # the wrong place when Postfix is being upgraded.
-
- case "$mail_version" in
--"") mail_version="`bin/postconf -dhx mail_version`" || exit 1
-+"") mail_version="`bin/postconf -c conf -dhx mail_version`" || exit 1
- esac
-
- # Undo MAIL_VERSION expansion at the end of a parameter value. If
---- postfix-3.0.3/Makefile.in.orig 2014-09-25 21:16:29.000000000 +0200
-+++ postfix-3.0.3/Makefile.in 2015-10-17 04:01:27.170920308 +0200
-@@ -20,7 +20,7 @@
- EXPAND = sed -e "s;\$${LIB_PREFIX};$(LIB_PREFIX);" \
- -e "s;\$${LIB_SUFFIX};$(LIB_SUFFIX);"
- SHLIB_DIR_OVERRIDE = \
-- $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -dhx shlib_directory`}
-+ $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -c conf -dhx shlib_directory`}
-
- default: update
-
diff --git a/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild
deleted file mode 100644
index 6bf3f38e2d..0000000000
--- a/network/postfix/postfix.SlackBuild
+++ /dev/null
@@ -1,199 +0,0 @@
-#!/bin/sh
-#
-# Copyright 2006, 2011 Alan Hicks, Lizella, GA
-# Copyright 2010, 2011, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Mario Preksavec, Zagreb, Croatia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=postfix
-VERSION=${VERSION:-3.3.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""5
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# Build with dovecot sasl support by default
-SASL=${SASL:-dovecot}
-case "$SASL" in
- dovecot) SASLARGS="-DDEF_SERVER_SASL_TYPE=\\\"dovecot\\\""
- SASLLIBS="" ;;
- cyrus) SASLARGS="-I/usr/include/sasl -DUSE_CYRUS_SASL"
- SASLLIBS="-L/usr/lib${LIBDIRSUFFIX}/sasl2 -lsasl2" ;;
- *) SASLARGS=""
- SASLLIBS="" ;;
-esac
-
-# Build without database support by default
-DATABASE=${DATABASE:-none}
-case "$DATABASE" in
- mysql) DBARGS="-I/usr/include/mysql -DHAS_MYSQL"
- DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/mysql -lmysqlclient -lz -lm" ;;
- pgsql*) PGVER=${DATABASE/pgsql-}
- [ "$PGVER" = "pgsql" ] && PGVER=$(ls /usr/lib${LIBDIRSUFFIX}/postgresql/)
- [ -d "/usr/lib${LIBDIRSUFFIX}/postgresql/$PGVER/lib" ] && {
- DBARGS="-I/usr/include/postgresql -DHAS_PGSQL"
- DBLIBS="-L/usr/lib${LIBDIRSUFFIX}/postgresql/$PGVER/lib -lpq -lz -lm"
- } || echo "PostgreSQL not found" ;;
- *) DBARGS=""
- DBLIBS="" ;;
-esac
-
-# Build without ldap support by default
-LDAP=${LDAP:-no}
-case "$LDAP" in
- yes) LDAPARGS="-DUSE_LDAP_SASL -DHAS_LDAP"
- LDAPLIBS="-lldap -llber" ;;
- *) LDAPARGS=""
- LDAPLIBS="" ;;
-esac
-
-# MySQL compile hack
-if [ $DATABASE == "mysql" ] && [ -f /usr/include/mysql/events.h ]; then
-
-cat << EOF
-
- Postfix will fail to compile with mysql support if a system-wide
- events.h file is not removed (postfix has its own events.h).
- Either disable mysql support or (re)move events.h, eg:
-
- # mv /usr/include/mysql/events.h /usr/include/mysql/events.h.bak
-
-EOF
-
- exit
-fi
-
-# Bail if user or group isn't valid on your system
-if ! grep ^postfix: /etc/passwd 2>&1 > /dev/null; then
-
-cat << EOF
-
- You must have a postfix user to run this script
-
- # groupadd -g 200 postfix
- # useradd -u 200 -d /dev/null -s /bin/false -g postfix postfix
-
-EOF
-
- exit
-elif ! grep ^postdrop: /etc/group 2>&1 > /dev/null; then
-
-cat << EOF
-
- You must have a postdrop group to run this script
-
- # groupadd -g 201 postdrop
-
-EOF
-
- exit
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Use config files from build tree, not system ones
-# This should probably go to upstream...
-patch -p1 <$CWD/patches/postconf.diff
-
-# Postfix does not use a ./configure script
-
-make makefiles shared=yes \
- CCARGS="-DUSE_SASL_AUTH -DUSE_TLS $SASLARGS $DBARGS $LDAPARGS" \
- AUXLIBS="-lssl -lcrypto $SASLLIBS $DBLIBS $LDAPLIBS" \
- OPT="$SLKCFLAGS" DEBUG=""
-
-make non-interactive-package \
- install_root=$PKG \
- tempdir=$TMP/$PRGNAM-temp \
- config_directory=/etc/postfix \
- daemon_directory=/usr/libexec/postfix \
- command_directory=/usr/sbin \
- queue_directory=/var/spool/postfix \
- sendmail_path=/usr/sbin/sendmail \
- newaliases_path=/usr/bin/newaliases \
- mailq_path=/usr/bin/mailq \
- mail_owner=postfix \
- setgid_group=postdrop \
- html_directory=/usr/doc/$PRGNAM-$VERSION/html \
- manpage_directory=/usr/man \
- readme_directory=/usr/doc/$PRGNAM-$VERSION/README_FILES
-
-install -D -m 0644 -oroot -groot $CWD/rc.postfix $PKG/etc/rc.d/rc.postfix.new
-find $PKG/etc/postfix -type f ! -name "*.default" ! -name "*.proto" ! -name "*.out" \
- ! -name "postfix-files" -exec mv {} {}.new \;
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-sed -i 's#\($manpage_directory/man[158]/.\+\.[158]\)\(:.*\)#\1.gz\2#' \
- $PKG/etc/postfix/postfix-files
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AAAREADME COMPATIBILITY COPYRIGHT HISTORY IPv6-ChangeLog LICENSE PORTING \
- RELEASE_NOTES TLS_ACKNOWLEDGEMENTS TLS_CHANGES TLS_LICENSE US_PATENT_6321267 \
- examples implementation-notes $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/postfix/postfix.info b/network/postfix/postfix.info
deleted file mode 100644
index 9809f40eb0..0000000000
--- a/network/postfix/postfix.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="postfix"
-VERSION="3.3.2"
-HOMEPAGE="http://www.postfix.org/"
-DOWNLOAD="http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-3.3.2.tar.gz"
-MD5SUM="4e6ed7056576e0c54cfce6040a0bb0ad"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/network/postfix/rc.postfix b/network/postfix/rc.postfix
deleted file mode 100644
index 6e133ad9ec..0000000000
--- a/network/postfix/rc.postfix
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/bash
-# Copyright 2006, Alan Hicks, Lizella, GA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-
-postfix_start()
-{
- /usr/sbin/postfix start
-}
-
-postfix_stop()
-{
- /usr/sbin/postfix stop
-}
-
-postfix_restart()
-{
- postfix_stop
- postfix_start
-}
-
-postfix_reload()
-{
- /usr/sbin/postfix reload
-}
-
-postfix_status()
-{
- /usr/sbin/postfix status
-}
-
-case $1 in
-'start')
- postfix_start
- ;;
-'stop')
- postfix_stop
- ;;
-'restart')
- postfix_restart
- ;;
-'reload')
- postfix_reload
- ;;
-'status')
- postfix_status
- ;;
-*)
- echo "usage $0 start|stop|restart|reload|status"
-esac
diff --git a/network/postfix/slack-desc b/network/postfix/slack-desc
deleted file mode 100644
index 0e8c796afc..0000000000
--- a/network/postfix/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-postfix: postfix (alternative to the widely-used Sendmail program)
-postfix:
-postfix: Postfix attempts to be fast, easy to administer, and secure, while at
-postfix: the same time being sendmail compatible enough to not upset existing
-postfix: users. Thus, the outside has a sendmail-ish flavor, but the inside is
-postfix: completely different.
-postfix:
-postfix: Packaging script written by Alan Hicks <alan@lizella.net>
-postfix: and the SlackBuilds.org Team <http://www.slackbuilds.org>
-postfix:
-postfix:
diff --git a/network/postgrey/README b/network/postgrey/README
index 6a29bdc92f..036295e194 100644
--- a/network/postgrey/README
+++ b/network/postgrey/README
@@ -1,2 +1,2 @@
-Postgrey is a Postfix policy server implementing greylisting developed by
-David Schweikert.
+Postgrey is a Postfix policy server implementing greylisting developed
+by David Schweikert.
diff --git a/network/postgrey/postgrey.SlackBuild b/network/postgrey/postgrey.SlackBuild
index 0c68baf620..4d03f715b2 100644
--- a/network/postgrey/postgrey.SlackBuild
+++ b/network/postgrey/postgrey.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for postgrey
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=postgrey
VERSION=${VERSION:-1.37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,8 +57,8 @@ POSTGREYGRP=${POSTGREYGRP:-nogroup}
POSTGREYUID=${POSTGREYUID:-98}
POSTGREYGID=${POSTGREYGID:-99}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -119,4 +129,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pounce/README b/network/pounce/README
new file mode 100644
index 0000000000..5e62e85d38
--- /dev/null
+++ b/network/pounce/README
@@ -0,0 +1,19 @@
+pounce(1) is a multi-client, TLS-only IRC bouncer. It maintains a
+persistent connection to an IRC server, acting as a proxy and buffer for
+a number of clients. When a client connects, any messages received
+since it last disconnected will be relayed to it. Unlike some other
+bouncers, pounce uses a single buffer for all IRC messages, which acts
+as a queue from which each client reads messages independently.
+
+pounce speaks regular modern IRC to both servers and clients, using the
+server-time extension to indicate when messages originally occurred.
+Clients identify themselves to pounce by their IRC usernames. See
+QUIRKS(7) for notes on connecting pounce with particular networks and
+clients.
+
+Also included are pounce-notify(1) and pounce-palaver(1)
+
+DEPENDENCIES
+
+pounce requires either libtls or libressl. libtls is the smaller,
+faster build of the two.
diff --git a/network/pounce/pounce.SlackBuild b/network/pounce/pounce.SlackBuild
new file mode 100644
index 0000000000..0da6dc5a65
--- /dev/null
+++ b/network/pounce/pounce.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+
+# slackbuild script for pounce
+# By D Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL (http://www.wtfpl.net)
+#
+# 2023-05-10 11:38:55 +0100 Added rpath. DW.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pounce
+VERSION=${VERSION:-3.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + \
+ -o \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# NOTE in case libressl is installed instead of libtls
+export PKG_CONFIG_PATH=/usr/lib${LIBDIRSUFFIX}/libressl/pkgconfig:$PKG_CONFIG_PATH
+export CFLAGS="$SLKCFLAGS -L/usr/lib${LIBDIRSUFFIX}/libressl"
+export LDFLAGS="-Wl,-rpath=/usr/lib${LIBDIRSUFFIX}/libressl"
+
+./configure \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --enable-notify \
+ --enable-palaver
+
+make all
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+strip --strip-unneeded $PKG/usr/bin/$PRGNAM
+
+gzip -9 $PKG/usr/man/man1/*.1
+gzip -9 -c pounce-palaver.1 > $PKG/usr/man/man1/pounce-palaver.1.gz
+gzip -9 -c pounce-notify.1 > $PKG/usr/man/man1/pounce-notify.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.7 QUIRKS.7 \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pounce/pounce.info b/network/pounce/pounce.info
new file mode 100644
index 0000000000..e31f88a0d5
--- /dev/null
+++ b/network/pounce/pounce.info
@@ -0,0 +1,10 @@
+PRGNAM="pounce"
+VERSION="3.1"
+HOMEPAGE="https://git.causal.agency/pounce/about/"
+DOWNLOAD="https://git.causal.agency/pounce/snapshot/pounce-3.1.tar.gz"
+MD5SUM="db31cc00c084bb803f21615f6ac899c8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libtls"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/pounce/slack-desc b/network/pounce/slack-desc
new file mode 100644
index 0000000000..f869d4ff6c
--- /dev/null
+++ b/network/pounce/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+pounce: pounce (multi-client, TLS-only IRC bouncer)
+pounce:
+pounce: pounce(1) is a multi-client, TLS-only IRC bouncer. It maintains a
+pounce: persistent connection to an IRC server, acting as a proxy and
+pounce: buffer for a number of clients.
+pounce:
+pounce: https://git.causal.agency/pounce/about/
+pounce:
+pounce:
+pounce:
+pounce:
diff --git a/network/pound/README b/network/pound/README
deleted file mode 100644
index 36580138df..0000000000
--- a/network/pound/README
+++ /dev/null
@@ -1,10 +0,0 @@
-The Pound program is a reverse proxy, load balancer and HTTPS front-
-end for Web server(s). Pound was developed to enable distributing the
-the load among several Web-servers supporting FTP, gopher, and HTTP
-data objects, and to allow for a convenient SSL wrapper for those web
-servers that do not offer it natively. Pound is distributed under
-the GPL license.
-
-Be sure to see the README.SLACKWARE file in this directory before
-using pound (it's also installed into the standard documentation
-directory by the build script).
diff --git a/network/pound/README.SLACKWARE b/network/pound/README.SLACKWARE
deleted file mode 100644
index cd4a32f04b..0000000000
--- a/network/pound/README.SLACKWARE
+++ /dev/null
@@ -1,12 +0,0 @@
-README.SLACKWARE
-
-Adding something like this to your /etc/syslog.conf file, and then
-restarting syslogd should enable pound logging to its own files.
-
-# Redirect pound logs
-local6.=info -/var/log/pound/access.log
-local6.notice -/var/log/pound/error.log
-
-You might want to add "local6.none" to the excludes as well, but that's
-your call.
-
diff --git a/network/pound/doinst.sh b/network/pound/doinst.sh
deleted file mode 100644
index cd17973e1e..0000000000
--- a/network/pound/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same permissions on rc.pound.new:
-if [ -e etc/rc.d/rc.pound ]; then
- cp -a etc/rc.d/rc.pound etc/rc.d/rc.pound.new.incoming
- cat etc/rc.d/rc.pound.new > etc/rc.d/rc.pound.new.incoming
- mv etc/rc.d/rc.pound.new.incoming etc/rc.d/rc.pound.new
-else
- # Install executable otherwise - irrelevant unless user starts in rc.local
- chmod 0755 etc/rc.d/rc.pound.new
-fi
-
-config etc/logrotate.d/pound.new
-config etc/pound/pound.cfg.new
-config etc/rc.d/rc.pound.new
-
diff --git a/network/pound/pound.SlackBuild b/network/pound/pound.SlackBuild
deleted file mode 100644
index ba94da6935..0000000000
--- a/network/pound/pound.SlackBuild
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Pound
-
-# Copyright 2008 Thales A. Tsailas (ttsailas@enforcingit.com)
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=pound
-VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-POUNDUSER=${POUNDUSER:-nobody}
-POUNDGROUP=${POUNDGROUP:-nobody}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/Pound-$VERSION.tgz
-mv Pound-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc/pound \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make all
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Fix up some ownership and permissions
-chown -R root:root $PKG
-find $PKG/usr/sbin -type f -exec chmod 0755 {} \;
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README GPL.txt FAQ CHANGELOG $CWD/README.SLACKWARE \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/*
-
-mkdir -p $PKG/var/log/pound
-touch $PKG/var/log/pound/{access,error}.log
-chown -R $POUNDUSER:$POUNDGROUP $PKG/var/log/pound
-
-mkdir -p $PKG/etc/{logrotate.d,pound,rc.d}
-cat $CWD/pound.logrotate > $PKG/etc/logrotate.d/pound.new
-cat $CWD/pound.cfg.new > $PKG/etc/pound/pound.cfg.new
-cat $CWD/rc.pound.new > $PKG/etc/rc.d/rc.pound.new
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/pound/pound.cfg.new b/network/pound/pound.cfg.new
deleted file mode 100644
index de171740fa..0000000000
--- a/network/pound/pound.cfg.new
+++ /dev/null
@@ -1,60 +0,0 @@
-User "nobody"
-Group "nobody"
-#RootJail "/var/pound/jail"
-#Alive 60
-
-## Main listening ports
-#ListenHTTP
-# Address 1.2.3.4
-# Port 80
-# Client 10
-#End
-#ListenHTTPS
-# Address 1.2.3.4
-# Port 443
-# Cert "/etc/pound/pound.pem"
-# Client 20
-#End
-
-## Image server
-#Service
-# URL ".*.(jpg|gif)"
-# BackEnd
-# Address 192.168.0.10
-# Port 80
-# End
-#End
-## Virtual host www.myserver.com
-#Service
-# URL ".*sessid=.*"
-# HeadRequire "Host:.*www.myserver.com.*"
-# BackEnd
-# Address 192.168.0.11
-# Port 80
-# End
-# Session
-# Type URL
-# ID "sessid"
-# TTL 120
-# End
-#End
-
-## Everybody else
-#Service
-# BackEnd
-# Address 192.168.0.20
-# Port 80
-# Priority 5
-# End
-# BackEnd
-# Address 192.168.0.21
-# Port 80
-# Priority 4
-# End
-# Session
-# Type COOKIE
-# ID "userid"
-# TTL 180
-# End
-#End
-
diff --git a/network/pound/pound.info b/network/pound/pound.info
deleted file mode 100644
index e98227acde..0000000000
--- a/network/pound/pound.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pound"
-VERSION="2.6"
-HOMEPAGE="http://www.apsis.ch/pound/"
-DOWNLOAD="http://www.apsis.ch/pound/Pound-2.6.tgz"
-MD5SUM="8c913b527332694943c4c67c8f152071"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Thales A. Tsailas"
-EMAIL="ttsailas@enforcingit.com"
diff --git a/network/pound/pound.logrotate b/network/pound/pound.logrotate
deleted file mode 100644
index 17f3cf3306..0000000000
--- a/network/pound/pound.logrotate
+++ /dev/null
@@ -1,23 +0,0 @@
-
-/var/pound/access.log {
- weekly
- rotate 4
- compress
- notifempty
- postrotate
- /bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
- endscript
-}
-
-/var/pound/error.log {
- weekly
- rotate 4
- compress
- notifempty
- missingok
- postrotate
- /bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
- endscript
-}
-
-
diff --git a/network/pound/rc.pound.new b/network/pound/rc.pound.new
deleted file mode 100644
index 82809221bb..0000000000
--- a/network/pound/rc.pound.new
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-#
-# V 1.1 by Thales A. Tsailas (Modified the fedora Startup Scripts to Slackware Needs)
-# description: Pound is a reverse proxy, load balancer and HTTPS front-end
-# processname: pound
-# config: /etc/pound/pound.cfg
-# pidfile: /var/run/pound_pid.nnn
-
-if [ -f /var/run/pound.pid ]; then
- pid=`cat /var/run/pound.pid`
-else
- pid=-1;
-fi
-
-. /etc/init.d/functions
-
-# This is our service name
-BASENAME=pound
-if [ -L $0 ]; then
- BASENAME=`find $0 -name $BASENAME -printf %l`
- BASENAME=`basename $BASENAME`
-fi
-
-[ -f /etc/pound/pound.cfg ] || exit 1
-
-ROOTJAIL=$(grep -si "^RootJail" /etc/${BASENAME}/${BASENAME}.cfg | cut -d " " -f 2)
-[ "$ROOTJAIL" = "/" ] && ROOTJAIL=""
-
-RETVAL=0
-
-start() {
- echo -n $"Starting $BASENAME: "
- if [ -n "$ROOTJAIL" ]; then
- [ -d $ROOTJAIL/dev ] || mkdir -p $ROOTJAIL/dev
- mount --bind /dev $ROOTJAIL/dev
- fi
- /usr/sbin/$BASENAME
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ]
- return $RETVAL
-}
-
-stop() {
- echo -n $"Shutting down $BASENAME: "
- (cat /var/run/pound*pid* | \
- while read pid; do kill $pid; done) 2> /dev/null
- rm -f /var/run/pound*pid*
- if [ -n "$ROOTJAIL" ]; then
- mount | awk '{ if ($6 ~ /bind/ ) print $3}' | grep "^$ROOTJAIL/dev" | while read i; do
- umount $ROOTJAIL/dev 2> /dev/null
- done
- fi
- usleep 100000
- ! pidof -s $BASENAME > /dev/null
- RETVAL=$?
- [ $RETVAL -eq 0 ] && success
- [ $RETVAL -ne 0 ] && failure
- echo
- [ $RETVAL -eq 0 ] && rm -f /var/run/pound_pid.*
- return $RETVAL
-}
-
-restart() {
- stop
- start
-}
-
-
-condrestart() {
- [ -e /var/lock/subsys/$BASENAME ] && restart || :
-}
-
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- restart
- ;;
- reload)
- restart
- ;;
- condrestart)
- condrestart
- ;;
- status)
- if [ -f /var/run/pound.pid ]; then
- echo -en "pound is running with pid : $pid \n";
- else
- echo -en "pound is not running\n";
- fi
- ;;
- *)
- echo $"Usage: $BASENAME {start|stop|restart|reload|condrestart|status}"
- RETVAL=1
-
-esac
-exit $RETVAL
diff --git a/network/pound/slack-desc b/network/pound/slack-desc
deleted file mode 100644
index d713b85fdf..0000000000
--- a/network/pound/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-pound: pound (reverse proxy and load balancer for http servers)
-pound:
-pound: The Pound program is a reverse proxy, load balancer and HTTPS front-
-pound: end for Web server(s). Pound was developed to enable distributing the
-pound: the load among several Web-servers supporting FTP, gopher, and HTTP
-pound: data objects, and to allow for a convenient SSL wrapper for those web
-pound: servers that do not offer it natively. Pound is distributed under
-pound: the GPL license.
-pound:
-pound: Homepage: http://www.apsis.ch/pound/
-pound:
diff --git a/network/pptp/pptp.SlackBuild b/network/pptp/pptp.SlackBuild
index 0ea1de4b74..6627a0b410 100644
--- a/network/pptp/pptp.SlackBuild
+++ b/network/pptp/pptp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pptp
@@ -23,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pptp
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pptp/pptp.info b/network/pptp/pptp.info
index 93fefabf34..c676283935 100644
--- a/network/pptp/pptp.info
+++ b/network/pptp/pptp.info
@@ -1,8 +1,8 @@
PRGNAM="pptp"
-VERSION="1.8.0"
+VERSION="1.10.0"
HOMEPAGE="http://pptpclient.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pptpclient/pptp-1.8.0.tar.gz"
-MD5SUM="4efce9f263e2c3f38d79d9df222476de"
+DOWNLOAD="http://downloads.sourceforge.net/pptpclient/pptp-1.10.0.tar.gz"
+MD5SUM="8d25341352fdae5ad5b36b9f18254908"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/pptpd/README b/network/pptpd/README
index b22265f73b..97a3fa0e16 100644
--- a/network/pptpd/README
+++ b/network/pptpd/README
@@ -1,2 +1,3 @@
-pptpd (PoPToP) is a Point to Point Tunneling Server that provides a Virtual
-Private Networking (VPN) server which is compatible with Microsoft VPN clients.
+pptpd (PoPToP) is a Point to Point Tunneling Server that provides
+a Virtual Private Networking (VPN) server which is compatible with
+Microsoft VPN clients.
diff --git a/network/pptpd/patches/fix_plugins_patchlevel_h.diff b/network/pptpd/patches/fix_plugins_patchlevel_h.diff
index 9dc2edcaaf..c9d240045e 100644
--- a/network/pptpd/patches/fix_plugins_patchlevel_h.diff
+++ b/network/pptpd/patches/fix_plugins_patchlevel_h.diff
@@ -7,5 +7,5 @@ diff -Nur pptpd-1.4.0.orig/plugins/patchlevel.h pptpd-1.4.0/plugins/patchlevel.h
-#define VERSION "2.4.3"
-#define DATE "13 Jan 2004"
-+#define VERSION "2.4.7"
-+#define DATE "9 Nov 2014"
++#define VERSION "2.4.9"
++#define DATE "4 Jan 2021"
diff --git a/network/pptpd/pptpd.SlackBuild b/network/pptpd/pptpd.SlackBuild
index 9b1bc16774..c6def71ece 100644
--- a/network/pptpd/pptpd.SlackBuild
+++ b/network/pptpd/pptpd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pptpd
-# Copyright 2007-2016 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2007-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pptpd
VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -115,4 +125,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prettyping/README b/network/prettyping/README
new file mode 100644
index 0000000000..c16bdf65fc
--- /dev/null
+++ b/network/prettyping/README
@@ -0,0 +1,7 @@
+Prettyping is a wrapper around the standard ping tool with the
+objective of making the output prettier, more colorful, more compact,
+and easier to read.
+
+Prettyping runs the standard ping in the background and parses its
+output, showing the ping responses in a graphical way at the terminal
+(by using colors and Unicode characters).
diff --git a/network/prettyping/prettyping.SlackBuild b/network/prettyping/prettyping.SlackBuild
new file mode 100644
index 0000000000..9ff09f4896
--- /dev/null
+++ b/network/prettyping/prettyping.SlackBuild
@@ -0,0 +1,73 @@
+#!/bin/bash
+
+# Slackware build script for prettyping
+
+# Copyright 2021 Thibaut Notteboom, Paris, FRANCE
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=prettyping
+VERSION=${VERSION:-1.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+install -Dm755 prettyping $PKG/usr/bin/prettyping
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prettyping/prettyping.info b/network/prettyping/prettyping.info
new file mode 100644
index 0000000000..7aeaf8c18e
--- /dev/null
+++ b/network/prettyping/prettyping.info
@@ -0,0 +1,10 @@
+PRGNAM="prettyping"
+VERSION="1.0.1"
+HOMEPAGE="https://github.com/denilsonsa/prettyping"
+DOWNLOAD="https://github.com/denilsonsa/prettyping/archive/v1.0.1/prettyping-1.0.1.tar.gz"
+MD5SUM="264a496f40b13d81cb0dbb000b06a288"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Thibaut Notteboom"
+EMAIL="thibaut.notteboom@gmail.com"
diff --git a/network/prettyping/slack-desc b/network/prettyping/slack-desc
new file mode 100644
index 0000000000..9d09221979
--- /dev/null
+++ b/network/prettyping/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+prettyping: prettyping (Ping wrapper for pretty output)
+prettyping:
+prettyping: Prettyping is a wrapper around the standard ping tool with the
+prettyping: objective of making the output prettier, more colorful, more compact,
+prettyping: and easier to read.
+prettyping:
+prettyping: Prettyping runs the standard ping in the background and parses its
+prettyping: output, showing the ping responses in a graphical way at the terminal
+prettyping: (by using colors and Unicode characters).
+prettyping:
+prettyping:
diff --git a/network/privoxy/privoxy.SlackBuild b/network/privoxy/privoxy.SlackBuild
index bc9c730052..8ebfd726b4 100644
--- a/network/privoxy/privoxy.SlackBuild
+++ b/network/privoxy/privoxy.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for privoxy
# Copyright (c) 2007 alkos333 <me@alkos333.net>
-# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2023 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=privoxy
-VERSION=${VERSION:-3.0.29}
+VERSION=${VERSION:-3.0.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,15 +39,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -89,14 +93,13 @@ chmod -R u+w,go-w,a+rX-st .
# Put the docs where we tell them to go.
sed -i "/^DOC_DEST/s/= .*/= @docdir@/" GNUmakefile.in
-# The Makefile checks if certain config files exist, and if so, adds a
-# .new suffix. Turn this behavior off. We will do it below.
-sed -i "s/\[ -s \"\$(CONF_DEST)\/\$\$i\" \]/false/" GNUmakefile.in
-
# rc.privoxy generation doesn't work well with $(DESTDIR). Help it along.
sed -i "s/ \/etc\/rc.d\// \$(DESTDIR)\/etc\/rc.d\//g" GNUmakefile.in
mkdir -p $PKG/etc/rc.d
+# Let AC_CHECK_LIB do the brotli autodetection, don't link to it if missing.
+sed -i "/-lbrotlidec/d" configure.in
+
autoreconf -vif
./configure \
--prefix=/usr \
@@ -111,6 +114,7 @@ autoreconf -vif
--with-user=$PRIVOXY_USER \
--with-group=$PRIVOXY_GROUP \
--with-openssl \
+ --with-brotli \
--enable-no-gifs \
--enable-compression \
--enable-large-file-support \
@@ -146,4 +150,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/privoxy/privoxy.info b/network/privoxy/privoxy.info
index d68ce061fd..846feeeb0b 100644
--- a/network/privoxy/privoxy.info
+++ b/network/privoxy/privoxy.info
@@ -1,8 +1,8 @@
PRGNAM="privoxy"
-VERSION="3.0.29"
+VERSION="3.0.34"
HOMEPAGE="https://www.privoxy.org/"
-DOWNLOAD="https://sourceforge.net/projects/ijbswa/files/Sources/3.0.29%20%28stable%29/privoxy-3.0.29-stable-src.tar.gz"
-MD5SUM="493a3a643247e6c8bc60725e9993d4ee"
+DOWNLOAD="https://sourceforge.net/projects/ijbswa/files/Sources/3.0.34%20%28stable%29/privoxy-3.0.34-stable-src.tar.gz"
+MD5SUM="08fba0352666820c8ffbe8a25e76c2c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/profanity/README b/network/profanity/README
index 706f979469..025a283eb3 100644
--- a/network/profanity/README
+++ b/network/profanity/README
@@ -3,3 +3,5 @@ and libstrophe, inspired by Irssi.
libotr (https://otr.cypherpunks.ca/) is an optional dependency for
verifiable end-to-end encryption.
+
+libsignal-protocol-c is an optional dependency for OMEMO support.
diff --git a/network/profanity/profanity.SlackBuild b/network/profanity/profanity.SlackBuild
index 708a1879f8..9e458a875a 100644
--- a/network/profanity/profanity.SlackBuild
+++ b/network/profanity/profanity.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for profanity
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=profanity
-VERSION=${VERSION:-0.5.1}
+VERSION=${VERSION:-0.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/profanity/profanity.info b/network/profanity/profanity.info
index 5d8479bb2e..129fd03a60 100644
--- a/network/profanity/profanity.info
+++ b/network/profanity/profanity.info
@@ -1,8 +1,8 @@
PRGNAM="profanity"
-VERSION="0.5.1"
+VERSION="0.14.0"
HOMEPAGE="http://www.profanity.im/"
-DOWNLOAD="http://www.profanity.im/profanity-0.5.1.tar.gz"
-MD5SUM="1a955de0bd55c111c46838a215866bb8"
+DOWNLOAD="https://github.com/profanity-im/profanity/releases/download/0.14.0/profanity-0.14.0.tar.gz"
+MD5SUM="ecadfd67f43d96841b68781a7254552a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libstrophe"
diff --git a/network/prosody-mod-block-strangers/prosody-mod-block-strangers.SlackBuild b/network/prosody-mod-block-strangers/prosody-mod-block-strangers.SlackBuild
index 88e836d01f..1280f38b36 100644
--- a/network/prosody-mod-block-strangers/prosody-mod-block-strangers.SlackBuild
+++ b/network/prosody-mod-block-strangers/prosody-mod-block-strangers.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-block-strangers
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-block-strangers
VERSION=${VERSION:-hg3023}
REVISION=${REVISION:-38365c1f1fe4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-block-strangers/prosody-mod-block-strangers.info b/network/prosody-mod-block-strangers/prosody-mod-block-strangers.info
index 1c38926b39..47984f06ce 100644
--- a/network/prosody-mod-block-strangers/prosody-mod-block-strangers.info
+++ b/network/prosody-mod-block-strangers/prosody-mod-block-strangers.info
@@ -2,9 +2,9 @@ PRGNAM="prosody-mod-block-strangers"
VERSION="hg3023"
HOMEPAGE="https://modules.prosody.im/mod_block_strangers.html"
DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/38365c1f1fe4.tar.gz"
-MD5SUM="d2932e966d188bd9b884b501104ad7dc"
+MD5SUM="37a1e61479b0f625cd10ed1046dde1a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="prosody"
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.SlackBuild b/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.SlackBuild
index 5cf4aaba7f..64c9edf271 100644
--- a/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.SlackBuild
+++ b/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-cloud-notify
-# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand
+# Copyright 2016-2022 Andrew Clemons, Wellington, New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-cloud-notify
MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
-VERSION=${VERSION:-hg4464}
-REVISION=${REVISION:-ea820de69265}
+VERSION=${VERSION:-hg5216}
+REVISION=${REVISION:-1d9dbe84b6e8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.info b/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.info
index 4722fce5ec..2942b3b99b 100644
--- a/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.info
+++ b/network/prosody-mod-cloud-notify/prosody-mod-cloud-notify.info
@@ -1,8 +1,8 @@
PRGNAM="prosody-mod-cloud-notify"
-VERSION="hg4464"
+VERSION="hg5216"
HOMEPAGE="https://modules.prosody.im/mod_cloud_notify.html"
-DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/ea820de69265.tar.gz"
-MD5SUM="5f97aa5a32954a6f4a2a33004b5b0214"
+DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/1d9dbe84b6e8.tar.gz"
+MD5SUM="1e71af1e02d2d94d42a41a204ad692cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="prosody"
diff --git a/network/prosody-mod-csi/README b/network/prosody-mod-csi/README
deleted file mode 100644
index de0f96f4bc..0000000000
--- a/network/prosody-mod-csi/README
+++ /dev/null
@@ -1,5 +0,0 @@
-prosody-mod-csi (XEP-0352: Client State Indication)
-
-This module implements Client State Indication, a way for mobile
-clients to tell the server that they are sitting in someone's pocket
-and would rather not get some less urgent things pushed to it.
diff --git a/network/prosody-mod-csi/prosody-mod-csi.SlackBuild b/network/prosody-mod-csi/prosody-mod-csi.SlackBuild
deleted file mode 100644
index 56255c2e4d..0000000000
--- a/network/prosody-mod-csi/prosody-mod-csi.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for prosody-mod-csi
-
-# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=prosody-mod-csi
-MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
-VERSION=${VERSION:-hg3396}
-REVISION=${REVISION:-3bf847dbb063}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf Community-Modules-$REVISION
-tar xvf $CWD/Community-Modules-$REVISION.tar.gz || tar xvf $CWD/$REVISION.tar.gz
-cd Community-Modules-$REVISION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/prosody/modules/
-cp -a $MDLNAM $PKG/usr/lib$LIBDIRSUFFIX/prosody/modules/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv \
- $PKG/usr/lib$LIBDIRSUFFIX/prosody/modules/$MDLNAM/README.markdown \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/prosody-mod-csi/prosody-mod-csi.info b/network/prosody-mod-csi/prosody-mod-csi.info
deleted file mode 100644
index 1023cbbef6..0000000000
--- a/network/prosody-mod-csi/prosody-mod-csi.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="prosody-mod-csi"
-VERSION="hg3396"
-HOMEPAGE="https://modules.prosody.im/mod_csi.html"
-DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/3bf847dbb063.tar.gz"
-MD5SUM="05cc757451254dc5fa27abd04dd8c15c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="prosody"
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/network/prosody-mod-csi/slack-desc b/network/prosody-mod-csi/slack-desc
deleted file mode 100644
index d9779e78af..0000000000
--- a/network/prosody-mod-csi/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-prosody-mod-csi: prosody-mod-csi (XEP-0352: Client State Indication)
-prosody-mod-csi:
-prosody-mod-csi: This module implements Client State Indication, a way for mobile
-prosody-mod-csi: clients to tell the server that they are sitting in someones pocket
-prosody-mod-csi: and would rather not get some less urgent things pushed to it.
-prosody-mod-csi:
-prosody-mod-csi:
-prosody-mod-csi:
-prosody-mod-csi:
-prosody-mod-csi: https://modules.prosody.im/mod_csi.html
-prosody-mod-csi:
diff --git a/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.SlackBuild b/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.SlackBuild
index 54f3925743..9ad34f4e10 100644
--- a/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.SlackBuild
+++ b/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-filter-chatstates
# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-filter-chatstates
MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
VERSION=${VERSION:-hg1873}
REVISION=${REVISION:-9283a6bcf512}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.info b/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.info
index 829ca9ef32..16f40c07b3 100644
--- a/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.info
+++ b/network/prosody-mod-filter-chatstates/prosody-mod-filter-chatstates.info
@@ -2,9 +2,9 @@ PRGNAM="prosody-mod-filter-chatstates"
VERSION="hg1873"
HOMEPAGE="https://modules.prosody.im/mod_filter_chatstates.html"
DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/9283a6bcf512.tar.gz"
-MD5SUM="4cc5c574c1c3db6f2ec6b0ae626c69c9"
+MD5SUM="e178bd314060037ddd44dd1b7dcc7330"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="prosody-mod-csi"
+REQUIRES="prosody"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/network/prosody-mod-http-upload/prosody-mod-http-upload.SlackBuild b/network/prosody-mod-http-upload/prosody-mod-http-upload.SlackBuild
index 18fccb9ee2..d2b6f5496d 100644
--- a/network/prosody-mod-http-upload/prosody-mod-http-upload.SlackBuild
+++ b/network/prosody-mod-http-upload/prosody-mod-http-upload.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-http-upload
-# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand
+# Copyright 2016-2021 Andrew Clemons, Wellington, New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-http-upload
MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
-VERSION=${VERSION:-hg4443}
-REVISION=${REVISION:-0a56dc6c61af}
+VERSION=${VERSION:-hg4976}
+REVISION=${REVISION:-75b6e5df65f9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-http-upload/prosody-mod-http-upload.info b/network/prosody-mod-http-upload/prosody-mod-http-upload.info
index 77fc56625a..30def8352a 100644
--- a/network/prosody-mod-http-upload/prosody-mod-http-upload.info
+++ b/network/prosody-mod-http-upload/prosody-mod-http-upload.info
@@ -1,8 +1,8 @@
PRGNAM="prosody-mod-http-upload"
-VERSION="hg4443"
+VERSION="hg4976"
HOMEPAGE="https://modules.prosody.im/mod_http_upload.html"
-DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/0a56dc6c61af.tar.gz"
-MD5SUM="3f35ff98e0b902f0585d8f158b7f4d91"
+DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/75b6e5df65f9.tar.gz"
+MD5SUM="404293dd5b134ece98f95f2e4c7e682b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="prosody"
diff --git a/network/prosody-mod-smacks/README b/network/prosody-mod-smacks/README
deleted file mode 100644
index 504fff1bde..0000000000
--- a/network/prosody-mod-smacks/README
+++ /dev/null
@@ -1,5 +0,0 @@
-prosody-mod-smacks (XEP-0198: Stream Management)
-
-When using XEP-0198 both the client and the server keep a queue of
-the most recently sent stanzas - this is cleared when the other end
-acknowledges they have received the stanzas.
diff --git a/network/prosody-mod-smacks/prosody-mod-smacks.SlackBuild b/network/prosody-mod-smacks/prosody-mod-smacks.SlackBuild
deleted file mode 100644
index 5947657221..0000000000
--- a/network/prosody-mod-smacks/prosody-mod-smacks.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for prosody-mod-smacks
-
-# Copyright 2016-2021 Andrew Clemons, Wellington, New Zealand
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=prosody-mod-smacks
-MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
-VERSION=${VERSION:-hg4463}
-REVISION=${REVISION:-8b8246031a5e}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf Community-Modules-$REVISION
-tar xvf $CWD/Community-Modules-$REVISION.tar.gz || tar xvf $CWD/$REVISION.tar.gz
-cd Community-Modules-$REVISION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/prosody/modules/
-cp -a $MDLNAM $PKG/usr/lib$LIBDIRSUFFIX/prosody/modules/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv \
- $PKG/usr/lib$LIBDIRSUFFIX/prosody/modules/$MDLNAM/README.markdown \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/prosody-mod-smacks/prosody-mod-smacks.info b/network/prosody-mod-smacks/prosody-mod-smacks.info
deleted file mode 100644
index 8d91178a15..0000000000
--- a/network/prosody-mod-smacks/prosody-mod-smacks.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="prosody-mod-smacks"
-VERSION="hg4463"
-HOMEPAGE="https://modules.prosody.im/mod_smacks.html"
-DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/8b8246031a5e.tar.gz"
-MD5SUM="7a1ca43b59c414174c807fc114a59b23"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="prosody"
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/network/prosody-mod-smacks/slack-desc b/network/prosody-mod-smacks/slack-desc
deleted file mode 100644
index f13467b579..0000000000
--- a/network/prosody-mod-smacks/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-prosody-mod-smacks: prosody-mod-smacks (XEP-0198: Stream Management)
-prosody-mod-smacks:
-prosody-mod-smacks: When using XEP-0198 both the client and the server keep a queue of
-prosody-mod-smacks: the most recently sent stanzas - this is cleared when the other end
-prosody-mod-smacks: acknowledges they have received the stanzas.
-prosody-mod-smacks:
-prosody-mod-smacks:
-prosody-mod-smacks:
-prosody-mod-smacks:
-prosody-mod-smacks: https://modules.prosody.im/mod_smacks.html
-prosody-mod-smacks:
diff --git a/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.SlackBuild b/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.SlackBuild
index 39c218ac3e..8de0f01060 100644
--- a/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.SlackBuild
+++ b/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-throttle-presence
# Copyright 2016-2018 Andrew Clemons, Wellington, New Zealand
+# Copyright 2022 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-throttle-presence
MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
VERSION=${VERSION:-hg1925}
REVISION=${REVISION:-552faee596b7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.info b/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.info
index 79f4221da3..68f9b3f136 100644
--- a/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.info
+++ b/network/prosody-mod-throttle-presence/prosody-mod-throttle-presence.info
@@ -2,9 +2,9 @@ PRGNAM="prosody-mod-throttle-presence"
VERSION="hg1925"
HOMEPAGE="https://modules.prosody.im/mod_throttle_presence.html"
DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/552faee596b7.tar.gz"
-MD5SUM="94987f1464834bf1f4b076579be1a16d"
+MD5SUM="abd61c3cd1b26a2d78c23c46e3cbad34"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="prosody-mod-csi"
+REQUIRES="prosody"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/network/prosody-mod-turncredentials/README b/network/prosody-mod-turncredentials/README
index 76b7974ff8..6a32b744d5 100644
--- a/network/prosody-mod-turncredentials/README
+++ b/network/prosody-mod-turncredentials/README
@@ -1,3 +1,4 @@
prosody-mod-turncredentials (XEP-0215: impl for TURN credentials)
-This module provides an implementation for time-limited TURN credentials.
+This module provides an implementation for time-limited TURN
+credentials.
diff --git a/network/prosody-mod-turncredentials/prosody-mod-turncredentials.SlackBuild b/network/prosody-mod-turncredentials/prosody-mod-turncredentials.SlackBuild
index c36ac011e2..24b219b110 100644
--- a/network/prosody-mod-turncredentials/prosody-mod-turncredentials.SlackBuild
+++ b/network/prosody-mod-turncredentials/prosody-mod-turncredentials.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-turncredentials
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-turncredentials
MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
VERSION=${VERSION:-hg4055}
REVISION=${REVISION:-cf1304ad2336}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-turncredentials/prosody-mod-turncredentials.info b/network/prosody-mod-turncredentials/prosody-mod-turncredentials.info
index 863aeb8bf3..209363ee05 100644
--- a/network/prosody-mod-turncredentials/prosody-mod-turncredentials.info
+++ b/network/prosody-mod-turncredentials/prosody-mod-turncredentials.info
@@ -2,7 +2,7 @@ PRGNAM="prosody-mod-turncredentials"
VERSION="hg4055"
HOMEPAGE="https://modules.prosody.im/mod_turncredentials.html"
DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/cf1304ad2336.tar.gz"
-MD5SUM="65f21e5bde5186f0281d731aeadfcb3e"
+MD5SUM="eb89df678299b6a29fe4ba0b5c2dcc24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="prosody"
diff --git a/network/prosody-mod-vcard-muc/README b/network/prosody-mod-vcard-muc/README
index 3fa7fcd5a9..05060bffeb 100644
--- a/network/prosody-mod-vcard-muc/README
+++ b/network/prosody-mod-vcard-muc/README
@@ -1,4 +1,5 @@
prosody-mod-vcard-muc (vCard for MUC rooms)
-This module adds the ability to set vCard for MUC rooms. One of the most
-common use cases is to be able to define an avatar for your own MUC room.
+This module adds the ability to set vCard for MUC rooms. One of the
+most common use cases is to be able to define an avatar for your own
+MUC room.
diff --git a/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.SlackBuild b/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.SlackBuild
index 5117c9a7ab..0b201f8167 100644
--- a/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.SlackBuild
+++ b/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody-mod-vcard-muc
-# Copyright 2019 Andrew Clemons, Wellington, New Zealand
+# Copyright 2019-2022 Andrew Clemons, Wellington, New Zealand
+# Copyright 2023 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody-mod-vcard-muc
MDLNAM=$(echo $PRGNAM | sed 's/prosody-//' | tr '-' '_')
-VERSION=${VERSION:-hg4300}
-REVISION=${REVISION:-3f3b672b7616}
+VERSION=${VERSION:-hg5290}
+REVISION=${REVISION:-dddac5a3f447}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.info b/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.info
index a290e700b1..5fcc7a8363 100644
--- a/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.info
+++ b/network/prosody-mod-vcard-muc/prosody-mod-vcard-muc.info
@@ -1,8 +1,8 @@
PRGNAM="prosody-mod-vcard-muc"
-VERSION="hg4300"
+VERSION="hg5290"
HOMEPAGE="https://modules.prosody.im/mod_vcard_muc.html"
-DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/3f3b672b7616.tar.gz"
-MD5SUM="43354c6458cb9a6ff73c9574a148ec00"
+DOWNLOAD="https://hg.prosody.im/prosody-modules/archive/dddac5a3f447.tar.gz"
+MD5SUM="325626de81a8b2a6f250b02611b27cb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="prosody"
diff --git a/network/prosody/prosody.SlackBuild b/network/prosody/prosody.SlackBuild
index 1b7c390a29..00fc0bc3e4 100644
--- a/network/prosody/prosody.SlackBuild
+++ b/network/prosody/prosody.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for prosody
@@ -24,10 +24,13 @@
#
# Maintained by Gerardo Zamudio <gerardo.zamudio@linux.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=prosody
-VERSION=${VERSION:-0.11.5}
+VERSION=${VERSION:-0.12.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PROSODY_UID=${PROSODY_UID:-274}
PROSODY_GID=${PROSODY_GID:-274}
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -133,4 +143,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/prosody/prosody.info b/network/prosody/prosody.info
index fea2776b34..7844b0f097 100644
--- a/network/prosody/prosody.info
+++ b/network/prosody/prosody.info
@@ -1,8 +1,8 @@
PRGNAM="prosody"
-VERSION="0.11.5"
+VERSION="0.12.3"
HOMEPAGE="http://prosody.im/"
-DOWNLOAD="https://prosody.im/downloads/source/prosody-0.11.5.tar.gz"
-MD5SUM="224b9b49bd1a568a9548590ade253dd6"
+DOWNLOAD="https://prosody.im/downloads/source/prosody-0.12.3.tar.gz"
+MD5SUM="264d51cffd9e1d9c1a02352786eabfca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="luasec luasocket luaexpat lua-filesystem"
diff --git a/network/protonmail-bridge/README b/network/protonmail-bridge/README
index 7865cc13d4..fc62c44680 100644
--- a/network/protonmail-bridge/README
+++ b/network/protonmail-bridge/README
@@ -1,13 +1,12 @@
-The ProtonMail Bridge is an application for paid users that runs on your
-computer in the background and seamlessly encrypts and decrypts your
-mail as it enters and leaves your computer. It allows for full
-integration of your ProtonMail account with any program that supports
-IMAP and SMTP such as Microsoft Outlook, Mozilla Thunderbird and Apple
-Mail.
+Proton Mail Bridge is a desktop application for paid users that runs in
+the background, encrypting and decrypting messages as they enter and
+leave your computer. It allows for full integration of your ProtonMail
+account with any program that supports IMAP and SMTP such as Microsoft
+Outlook, Mozilla Thunderbird and Apple Mail.
Once you've installed and adder your account(s) to the Bridge you will
need to configure your email client. The setup guide for Thunderbird
-can be found here: https://protonmail.com/bridge/thunderbird
+can be found here:
+https://proton.me/support/protonmail-bridge-clients-windows-thunderbird
-This script repackages the Debian binary provided by Proton
-Technologies.
+This script repackages the Debian binary provided by Proton AG.
diff --git a/network/protonmail-bridge/doinst.sh b/network/protonmail-bridge/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/network/protonmail-bridge/doinst.sh
+++ b/network/protonmail-bridge/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/protonmail-bridge/protonmail-bridge.SlackBuild b/network/protonmail-bridge/protonmail-bridge.SlackBuild
index 491a7ca59a..8a8ab342e2 100644
--- a/network/protonmail-bridge/protonmail-bridge.SlackBuild
+++ b/network/protonmail-bridge/protonmail-bridge.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for protonmail-bridge
-# Copyright 2018-2021 Erich Ritz
+# Copyright 2018-2024 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=protonmail-bridge
-VERSION=${VERSION:-1.6.3}
+VERSION=${VERSION:-3.10.0}
DEBVERSION=${DEBVERSION:--1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,6 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
# Upstream only has binary support for x86_64 at present.
if [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
@@ -61,10 +68,17 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Upstream claims "not a bug" https://github.com/ProtonMail/proton-bridge/issues/436
+# so remove SGID bit here. Thanks to sbopkglint for catching it.
+chmod -R g-s .
mv $PKG/usr/lib $PKG/usr/lib64
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs chmod 755 2> /dev/null || true
rm $PKG/usr/bin/protonmail-bridge
-ln -s /usr/lib64/protonmail/bridge/proton-bridge-launcher $PKG/usr/bin/protonmail-bridge
+ln -s /usr/lib64/protonmail/bridge/proton-bridge $PKG/usr/bin/protonmail-bridge
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/protonmail/bridge/* $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -77,4 +91,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/protonmail-bridge/protonmail-bridge.info b/network/protonmail-bridge/protonmail-bridge.info
index b09fd9785e..dbfc012d09 100644
--- a/network/protonmail-bridge/protonmail-bridge.info
+++ b/network/protonmail-bridge/protonmail-bridge.info
@@ -1,10 +1,10 @@
PRGNAM="protonmail-bridge"
-VERSION="1.6.3"
-HOMEPAGE="https://protonmail.com/bridge/"
+VERSION="3.10.0"
+HOMEPAGE="https://proton.me/mail/bridge"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://protonmail.com/download/protonmail-bridge_1.6.3-1_amd64.deb"
-MD5SUM_x86_64="bbd8e2c29dbbe62d3044a064b5a38646"
+DOWNLOAD_x86_64="https://proton.me/download/bridge/protonmail-bridge_3.10.0-1_amd64.deb"
+MD5SUM_x86_64="93a2a675cb5d51be2bcbc616f8a5745b"
REQUIRES=""
MAINTAINER="Erich Ritz"
EMAIL="erich.public@protonmail.com"
diff --git a/network/protonmail-bridge/slack-desc b/network/protonmail-bridge/slack-desc
index 1c57aa04ba..925705b4fa 100644
--- a/network/protonmail-bridge/slack-desc
+++ b/network/protonmail-bridge/slack-desc
@@ -12,7 +12,7 @@ protonmail-bridge: The Bridge is an application that runs on your computer in th
protonmail-bridge: background and seamlessly encrypts and decrypts your mail as it
protonmail-bridge: enters and leaves your computer.
protonmail-bridge:
-protonmail-bridge: Proton Technologies AG (ProtonMail Bridge developers)
+protonmail-bridge: Proton AG (ProtonMail Bridge developers)
protonmail-bridge: <bridge@protonmail.ch>
protonmail-bridge:
protonmail-bridge:
diff --git a/network/protonmail-import-export-app/doinst.sh b/network/protonmail-import-export-app/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/network/protonmail-import-export-app/doinst.sh
+++ b/network/protonmail-import-export-app/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild b/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild
index 757ee6a2df..50ae0ff1be 100644
--- a/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild
+++ b/network/protonmail-import-export-app/protonmail-import-export-app.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for protonmail-import-export-app
-# Copyright 2020-2021 Erich Ritz
+# Copyright 2020-2021 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=protonmail-import-export-app
-VERSION=${VERSION:-1.2.3}
+VERSION=${VERSION:-1.3.3}
DEBVERSION=${DEBVERSION:--1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,6 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
# Upstream only has binary support for x86_64 at present.
if [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
@@ -63,8 +70,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mv $PKG/usr/lib $PKG/usr/lib64
+strip --strip-unneeded $PKG/usr/lib64/protonmail/import-export/proton-ie-launcher
rm $PKG/usr/bin/protonmail-import-export-app
-ln -s /usr/lib64/protonmail/import-export/protonmail-import-export-app $PKG/usr/bin/protonmail-import-export-app
+ln -s /usr/lib64/protonmail/import-export/proton-ie-launcher $PKG/usr/bin/protonmail-import-export-app
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/protonmail/import-export/* $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -77,4 +85,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/protonmail-import-export-app/protonmail-import-export-app.info b/network/protonmail-import-export-app/protonmail-import-export-app.info
index 74ad3dd629..69a8c69be1 100644
--- a/network/protonmail-import-export-app/protonmail-import-export-app.info
+++ b/network/protonmail-import-export-app/protonmail-import-export-app.info
@@ -1,10 +1,10 @@
PRGNAM="protonmail-import-export-app"
-VERSION="1.2.3"
-HOMEPAGE="https://protonmail.com/import-export"
+VERSION="1.3.3"
+HOMEPAGE="https://proton.me/support/import-emails-import-export-app"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://protonmail.com/download/ie/protonmail-import-export-app_1.2.3-1_amd64.deb"
-MD5SUM_x86_64="ac7bf6f9df4881dfeb8dbbfa3db23030"
+DOWNLOAD_x86_64="https://proton.me/download/ie/protonmail-import-export-app_1.3.3-1_amd64.deb"
+MD5SUM_x86_64="0963ded165d36e4a289f9ba3fa0a613a"
REQUIRES=""
MAINTAINER="Erich Ritz"
EMAIL="erich.public@protonmail.com"
diff --git a/network/protonvpn-cli/README b/network/protonvpn-cli/README
index fb79f036ca..39b64af12f 100644
--- a/network/protonvpn-cli/README
+++ b/network/protonvpn-cli/README
@@ -1,4 +1,4 @@
-protonvpn-cli is the official Linux command line tool for connecting to
+protonvpn-cli is the community Linux command line tool for connecting to
the ProtonVPN. It is a full rewrite of the original bash protonvpn-cli
in Python, which adds more features and functionality with the purpose
of improving readability, speed, and reliability.
@@ -22,5 +22,3 @@ Before uninstalling, run
protonvpn configure
to purge the configuration files.
-
-All dependencies must be built with Python3 support.
diff --git a/network/protonvpn-cli/protonvpn-cli.SlackBuild b/network/protonvpn-cli/protonvpn-cli.SlackBuild
index 151a4fbe30..66d4182521 100644
--- a/network/protonvpn-cli/protonvpn-cli.SlackBuild
+++ b/network/protonvpn-cli/protonvpn-cli.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for protonvpn-cli
-# Copyright 2019-2020 Erich Ritz, Scottsdale, Arizona, USA
+# Copyright 2019-2024 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,22 +22,28 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=protonvpn-cli
-SRCNAM=linux-cli
-VERSION=${VERSION:-2.2.6}
+SRCNAM=linux-cli-community
+VERSION=${VERSION:-2.2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
-# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/protonvpn-cli/protonvpn-cli.info b/network/protonvpn-cli/protonvpn-cli.info
index f9f08743e5..f112b73fa1 100644
--- a/network/protonvpn-cli/protonvpn-cli.info
+++ b/network/protonvpn-cli/protonvpn-cli.info
@@ -1,10 +1,10 @@
PRGNAM="protonvpn-cli"
-VERSION="2.2.6"
-HOMEPAGE="https://protonvpn.com/support/linux-vpn-tool/"
-DOWNLOAD="https://github.com/ProtonVPN/linux-cli/archive/v2.2.6/linux-cli-2.2.6.tar.gz"
-MD5SUM="7163ee74df63e85359b62eace7f01bf4"
+VERSION="2.2.12"
+HOMEPAGE="https://github.com/Rafficer/linux-cli-community"
+DOWNLOAD="https://github.com/Rafficer/linux-cli-community/archive/refs/tags/v2.2.12/linux-cli-community-2.2.12.tar.gz"
+MD5SUM="cd9ebf7d3767b8df2156fcbe325c5cae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 docopt python-requests python3-pythondialog Jinja2"
+REQUIRES="python3-docopt python3-pythondialog"
MAINTAINER="Erich Ritz"
EMAIL="erich.public@protonmail.com"
diff --git a/network/protonvpn-cli/slack-desc b/network/protonvpn-cli/slack-desc
index db0231542f..7ad3361d51 100644
--- a/network/protonvpn-cli/slack-desc
+++ b/network/protonvpn-cli/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
protonvpn-cli: protonvpn-cli (ProtonVPN's Linux Command-Line Interface)
protonvpn-cli:
-protonvpn-cli: Official Linux command line tool for connection to the ProtonVPN. It
+protonvpn-cli: Community Linux command line tool for connection to the ProtonVPN. It
protonvpn-cli: is a full rewrite of the original bash protonvpn-cli in Python, which
protonvpn-cli: adds more features and functionality with the purpose of improving
protonvpn-cli: readability, speed, and reliability.
protonvpn-cli:
-protonvpn-cli: Homepage: https://protonvpn.com/support/linux-vpn-tool/
+protonvpn-cli: Homepage: https://github.com/Rafficer/linux-cli-community
protonvpn-cli:
protonvpn-cli:
protonvpn-cli:
diff --git a/network/proxychains/proxychains.SlackBuild b/network/proxychains/proxychains.SlackBuild
index 285c032375..be3f2df062 100644
--- a/network/proxychains/proxychains.SlackBuild
+++ b/network/proxychains/proxychains.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "proxychains".
@@ -25,27 +25,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=proxychains
SRCNAM=proxychains-ng
-VERSION=${VERSION:-4.14}
+VERSION=${VERSION:-4.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,7 +74,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/proxychains/proxychains.info b/network/proxychains/proxychains.info
index 66afb40a26..d5f44eac86 100644
--- a/network/proxychains/proxychains.info
+++ b/network/proxychains/proxychains.info
@@ -1,10 +1,10 @@
PRGNAM="proxychains"
-VERSION="4.14"
+VERSION="4.16"
HOMEPAGE="https://github.com/rofl0r/proxychains-ng/"
-DOWNLOAD="https://github.com/rofl0r/proxychains-ng/archive/v4.14.tar.gz"
-MD5SUM="3232630140fe39d53796775285bb6652"
+DOWNLOAD="https://github.com/rofl0r/proxychains-ng/archive/v4.16/proxychains-ng-4.16.tar.gz"
+MD5SUM="acd5807e89df4cca70270260e85e9373"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/proxymini/README b/network/proxymini/README
index fb4892db17..654abc8b21 100644
--- a/network/proxymini/README
+++ b/network/proxymini/README
@@ -1,4 +1,5 @@
-proxymini is a proxy server that fully supports HTTP, HTTP CONNECT (for HTTPS
-and so on), SOCKS4 (TCP and TCP bind) and SOCKS5 (TCP, TCP bind and UDP).
-It's designed to be small and for being used in trusted environments where
-there is no need of complex or advanced options.
+proxymini is a proxy server that fully supports HTTP, HTTP CONNECT
+(for HTTPS and so on), SOCKS4 (TCP and TCP bind) and SOCKS5 (TCP,
+TCP bind and UDP). It's designed to be small and for being used in
+trusted environments where there is no need of complex or advanced
+options.
diff --git a/network/proxymini/proxymini.SlackBuild b/network/proxymini/proxymini.SlackBuild
index 0447f4c153..7d343837b4 100644
--- a/network/proxymini/proxymini.SlackBuild
+++ b/network/proxymini/proxymini.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for proxymini
# Written by Thomas Morper <thomas@beingboiled.info>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=proxymini
VERSION=${VERSION:-0.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,4 +69,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/proxytunnel/README b/network/proxytunnel/README
index 0e13b1644c..5077135b3c 100644
--- a/network/proxytunnel/README
+++ b/network/proxytunnel/README
@@ -1,4 +1,4 @@
-ProxyTunnel is a program that connects stdin and stdout to a server somewhere
-on the network, through a standard HTTPS proxy. We mostly use it to tunnel
-SSH sessions through HTTP(S) proxies, allowing us to do many things that
-wouldn't be possible without ProxyTunnel.
+ProxyTunnel is a program that connects stdin and stdout to a server
+somewhere on the network, through a standard HTTPS proxy. We mostly
+use it to tunnel SSH sessions through HTTP(S) proxies, allowing us to
+do many things that wouldn't be possible without ProxyTunnel.
diff --git a/network/proxytunnel/proxytunnel.SlackBuild b/network/proxytunnel/proxytunnel.SlackBuild
index 2db3742cf5..1a1a50f8a0 100644
--- a/network/proxytunnel/proxytunnel.SlackBuild
+++ b/network/proxytunnel/proxytunnel.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for proxytunnel
# Written by Michael Bueker (m.bueker@berlin.de)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=proxytunnel
VERSION=${VERSION:-1.9.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -51,7 +61,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make CFLAGS+="$SLKCFLAGS" LDFLAGS+="-lcrypto -lssl"
+make CFLAGS+="$SLKCFLAGS -fcommon" LDFLAGS+="-lcrypto -lssl"
make install PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -73,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/psad/README b/network/psad/README
index 190eb57fcf..c4490f2c0b 100644
--- a/network/psad/README
+++ b/network/psad/README
@@ -2,9 +2,9 @@ psad (Intrusion Detection and Log Analysis with iptables)
psad is a collection of three lightweight system daemons (two main
daemons and one helper daemon) that run on Linux machines and analyze
-iptables log messages to detect port scans and other suspicious traffic.
-A typical deployment is to run psad on the iptables firewall where it has
-the fastest access to log data.
+iptables log messages to detect port scans and other suspicious
+traffic. A typical deployment is to run psad on the iptables firewall
+where it has the fastest access to log data.
You can set email for alerts by setting ALERTSEMAIL:
@@ -44,5 +44,6 @@ on SlackBuilds.
NOTE:
The default option is NOT to download signatures.
We provide a signature file, but may be outdated as time goes by.
-You can download them manually from http://www.cipherdyne.org/psad/signatures
-and place them in /etc/psad
+You can download them manually from:
+http://www.cipherdyne.org/psad/signatures
+...and place them in /etc/psad
diff --git a/network/psad/psad.SlackBuild b/network/psad/psad.SlackBuild
index 61da7bcfc7..6f22528483 100644
--- a/network/psad/psad.SlackBuild
+++ b/network/psad/psad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for psad
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=psad
VERSION=${VERSION:-2.4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ALERTSEMAIL=${ALERTSEMAIL:-root@localhost}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -121,4 +131,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/psi-plus/README b/network/psi-plus/README
index 0990030d70..d3b8765a6e 100644
--- a/network/psi-plus/README
+++ b/network/psi-plus/README
@@ -3,22 +3,14 @@ Development branch of Psi XMPP client by psi-dev@conference.jabber.ru
NOTE This is intended for advanced users and developers.
NOTE This can coexist with the stable psi package.
-In 2009 a Psi fork named Psi+ was started. Project purposes are: implementation
-of new features, writing of patches and plugins for transferring them to
-upstream. As of 2017 the most of active Psi+ developers have become official
-Psi developers, but Psi+ still has a number of unique features. From developers
-point of view Psi+ is just a development branch of Psi IM client which is
-hosted at separate git repositories and for which rolling release development
-model is used.
+In 2009 a Psi fork named Psi+ was started. Project purposes are:
+implementation of new features, writing of patches and plugins for
+transferring them to upstream. As of 2017 the most of active Psi+
+developers have become official Psi developers, but Psi+ still has a
+number of unique features. From developers point of view Psi+ is just a
+development branch of Psi IM client which is hosted at separate git
+repositories and for which rolling release development model is used.
-LATEST COMMIT INFO
-
-Current version of Psi+ is 1.4.409
-
-It is based on:
-* psi: dc3e59ec
-* patches: 770f144
-* plugins: 8792bc3
-* resources: d623f57
-
-https://github.com/psi-plus/psi-plus-snapshots/commit/272f39
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/network/psi-plus/psi-plus.SlackBuild b/network/psi-plus/psi-plus.SlackBuild
index 3173557869..5afe5acb2a 100644
--- a/network/psi-plus/psi-plus.SlackBuild
+++ b/network/psi-plus/psi-plus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for psi-plus
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=psi-plus
-VERSION=${VERSION:-1.4.650}
+VERSION=${VERSION:-1.5.1600}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,8 +39,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/$TAG}
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,20 +80,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure \
- --prefix=/usr \
- --qtdir=/usr/lib$LIBDIRSUFFIX/qt5
-
-QMAKE_CFLAGS="$SLKCFLAGS" \
-QMAKE_CXXFLAGS="$SLKCFLAGS" \
-make
-make install INSTALL_ROOT=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DBUNDLED_USRSCTP=ON \
+ -DBUNDLED_QCA=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -91,4 +106,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/psi-plus/psi-plus.info b/network/psi-plus/psi-plus.info
index 0c31126783..1183d57ba6 100644
--- a/network/psi-plus/psi-plus.info
+++ b/network/psi-plus/psi-plus.info
@@ -1,10 +1,10 @@
PRGNAM="psi-plus"
-VERSION="1.4.650"
+VERSION="1.5.1600"
HOMEPAGE="https://psi-plus.com"
-DOWNLOAD="https://github.com/psi-plus/psi-plus-snapshots/archive/1.4.650/psi-plus-snapshots-1.4.650.tar.gz"
-MD5SUM="c54d2143149d5dd112445072da67cded"
+DOWNLOAD="https://github.com/psi-plus/psi-plus-snapshots/archive/1.5.1600/psi-plus-snapshots-1.5.1600.tar.gz"
+MD5SUM="0ec48977544d9f69375b946b2a012505"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qca-qt5"
-MAINTAINER="Dave Woodfall"
+REQUIRES=""
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/psi/README b/network/psi/README
index 291061cf53..1e204e2e53 100644
--- a/network/psi/README
+++ b/network/psi/README
@@ -1,6 +1,6 @@
-Psi is a free instant messaging application designed for the XMPP network
-(including Google Talk). Fast and lightweight, Psi is fully open-source
-and compatible with Windows, Linux, and Mac OS X.
+Psi is a free instant messaging application designed for the XMPP
+network (including Google Talk). Fast and lightweight, Psi is fully
+open-source and compatible with Windows, Linux, and Mac OS X.
With Psi's full Unicode support and localizations, easy file transfers,
customizable iconsets, and many other great features, you'll learn why
diff --git a/network/psi/psi.SlackBuild b/network/psi/psi.SlackBuild
index bc8b9c2660..6f7f05c0c4 100644
--- a/network/psi/psi.SlackBuild
+++ b/network/psi/psi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for psi
@@ -22,32 +22,46 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=psi
-VERSION=${VERSION:-1.3}
+VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS=""
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
- SLKCFLAGS=""
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -66,7 +80,9 @@ find -L . \
-exec chmod 644 {} \;
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --qtselect=5
# Apply c++ flags
if [ -n "$SLKCFLAGS" ]; then
@@ -91,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/psi/psi.info b/network/psi/psi.info
index 56287321db..1539635931 100644
--- a/network/psi/psi.info
+++ b/network/psi/psi.info
@@ -1,10 +1,10 @@
PRGNAM="psi"
-VERSION="1.3"
+VERSION="1.5"
HOMEPAGE="http://psi-im.org/"
-DOWNLOAD="https://sourceforge.net/projects/psi/files/Psi/1.3/psi-1.3.tar.xz"
-MD5SUM="473c13da3238d72d469d4d1ce1d85466"
+DOWNLOAD="https://sourceforge.net/projects/psi/files/Psi/1.5/psi-1.5.tar.xz"
+MD5SUM="7c89b9140dd667db45523a2a14eb15c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Eugene Wissner"
-EMAIL="belka@caraus.de"
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/network/ptokax/ptokax.SlackBuild b/network/ptokax/ptokax.SlackBuild
index 7739204390..f7a1aff093 100644
--- a/network/ptokax/ptokax.SlackBuild
+++ b/network/ptokax/ptokax.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ptokax
@@ -6,26 +6,36 @@
# Script created by mara <mara@fail.pp.ua>
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ptokax
VERSION=${VERSION:-0.5.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -82,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pubnub-curses/pubnub-curses.SlackBuild b/network/pubnub-curses/pubnub-curses.SlackBuild
index fe6b307c0a..f0725f2563 100644
--- a/network/pubnub-curses/pubnub-curses.SlackBuild
+++ b/network/pubnub-curses/pubnub-curses.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pubnub-curses
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pubnub-curses
SRCNAM=pubnub_curses
VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pulse-sms/pulse-sms.SlackBuild b/network/pulse-sms/pulse-sms.SlackBuild
index 081f3c2731..a7b99df6f1 100644
--- a/network/pulse-sms/pulse-sms.SlackBuild
+++ b/network/pulse-sms/pulse-sms.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pulse SMS
-# Copyright 2020 Ebben Aries
+# Copyright 2020-2023 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pulse-sms
-VERSION=${VERSION:-4.3.0}
+VERSION=${VERSION:-4.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -36,6 +38,11 @@ if [ -z "$ARCH" ]; then
ARCH=$( uname -m )
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
# Upstream only has binary support for x86_64 at present.
if [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
@@ -71,4 +78,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pulse-sms/pulse-sms.info b/network/pulse-sms/pulse-sms.info
index 0d653dacb1..2649fe8728 100644
--- a/network/pulse-sms/pulse-sms.info
+++ b/network/pulse-sms/pulse-sms.info
@@ -1,10 +1,10 @@
PRGNAM="pulse-sms"
-VERSION="4.3.0"
+VERSION="4.5.3"
HOMEPAGE="https://messenger.klinkerapps.com/overview/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/klinker-apps/pulse-sms-desktop/releases/download/v4.3.0/pulse-sms-4.3.0-amd64.deb"
-MD5SUM_x86_64="5e73a41b6cde0dbc0ebbebb199e5db31"
+DOWNLOAD_x86_64="https://github.com/klinker-apps/pulse-sms-desktop/releases/download/v4.5.3/pulse-sms-4.5.3-amd64.deb"
+MD5SUM_x86_64="55612d99de3dc72946ef2a17c5a63880"
REQUIRES=""
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"
diff --git a/network/pure-ftpd/pure-ftpd.SlackBuild b/network/pure-ftpd/pure-ftpd.SlackBuild
index 47bb7b65db..2263ce1277 100644
--- a/network/pure-ftpd/pure-ftpd.SlackBuild
+++ b/network/pure-ftpd/pure-ftpd.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pure-ftpd
# Copyright (c) 2017, Christophe Trussardi, Paris, France
# All rights reserved.
+# Modified to v1.0.51 by glennmcc 2023-09-16
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -21,10 +22,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pure-ftpd
-VERSION=${VERSION:-1.0.49}
+VERSION=${VERSION:-1.0.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,7 +113,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 \
- AUTHORS COPYING ChangeLog FAQ HISTORY INSTALL NEWS README* THANKS pureftpd* \
+ AUTHORS COPYING ChangeLog FAQ HISTORY NEWS README* THANKS pureftpd* \
$PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -114,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pure-ftpd/pure-ftpd.info b/network/pure-ftpd/pure-ftpd.info
index 6fd77ce1e7..37601bbd16 100644
--- a/network/pure-ftpd/pure-ftpd.info
+++ b/network/pure-ftpd/pure-ftpd.info
@@ -1,10 +1,10 @@
PRGNAM="pure-ftpd"
-VERSION="1.0.49"
+VERSION="1.0.51"
HOMEPAGE="http://www.pureftpd.org/"
-DOWNLOAD="https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.49.tar.gz"
-MD5SUM="451879495ba61c1d7dcfca8dd231119f"
+DOWNLOAD="https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.51.tar.gz"
+MD5SUM="b5199142482d64fbd288adc79b98a5c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Christophe Trussardi"
-EMAIL="chris@teria.org"
+MAINTAINER="Glenn McCorkle"
+EMAIL="glennmcc@glennmcc.org"
diff --git a/network/purple-facebook/purple-facebook.SlackBuild b/network/purple-facebook/purple-facebook.SlackBuild
index 3a43430335..ad1bf802a7 100644
--- a/network/purple-facebook/purple-facebook.SlackBuild
+++ b/network/purple-facebook/purple-facebook.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for purple-facebook
# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=purple-facebook
VERSION=${VERSION:-0.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,13 +38,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-facebook/purple-facebook.info b/network/purple-facebook/purple-facebook.info
index 0e5921e0d7..6766df85bb 100644
--- a/network/purple-facebook/purple-facebook.info
+++ b/network/purple-facebook/purple-facebook.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/dequis/purple-facebook/releases/download/v0.9.6/pur
MD5SUM="fe58b39f835fac3e7616c34364d869a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib"
-MAINTAINER="David Woodfall"
+REQUIRES=""
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/purple-googlechat/README b/network/purple-googlechat/README
new file mode 100644
index 0000000000..fd164e0f46
--- /dev/null
+++ b/network/purple-googlechat/README
@@ -0,0 +1,6 @@
+Google Chat Plugin for libpurple
+
+A replacement prpl for Google Chat in Pidgin/libpurple to support the
+proprietary protocol that Google uses for its "Google Chat" service.
+This plugin is written by Eion Robb based on the old Hangouts plugin
+written by Eion Robb and Mike 'Maiku' Ruprecht.
diff --git a/network/purple-googlechat/purple-googlechat.SlackBuild b/network/purple-googlechat/purple-googlechat.SlackBuild
new file mode 100644
index 0000000000..dcddbe48b5
--- /dev/null
+++ b/network/purple-googlechat/purple-googlechat.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for purple-googlechat
+
+# Copyright 2022 Dustin Metcalf - USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=purple-googlechat
+VERSION=${VERSION:-b6b824a4764b}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+echo $PKG
+find $PKG/ -type f -name '*.png' -exec chmod 644 {} +
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-googlechat/purple-googlechat.info b/network/purple-googlechat/purple-googlechat.info
new file mode 100644
index 0000000000..597e2a0788
--- /dev/null
+++ b/network/purple-googlechat/purple-googlechat.info
@@ -0,0 +1,10 @@
+PRGNAM="purple-googlechat"
+VERSION="b6b824a4764b"
+HOMEPAGE="https://github.com/EionRobb/purple-googlechat"
+DOWNLOAD="https://ihacksh.it/slackbuilds/src/purple-googlechat-b6b824a4764b.tar.gz"
+MD5SUM="3d0fb3551095a45acdc54853ff20f1a5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="protobuf-c"
+MAINTAINER="Dustin Metcalf"
+EMAIL="metcalf.nerd+SBo@gmail.com"
diff --git a/network/purple-googlechat/slack-desc b/network/purple-googlechat/slack-desc
new file mode 100644
index 0000000000..07adcfe650
--- /dev/null
+++ b/network/purple-googlechat/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+purple-googlechat: purple-googlechat (googlechat plugin for libpurple)
+purple-googlechat:
+purple-googlechat: A replacement prpl for Google Chat in Pidgin/libpurple to support the
+purple-googlechat: proprietary protocol that Google uses for its "Google Chat" service.
+purple-googlechat: This plugin is written by Eion Robb based on the old Hangouts plugin
+purple-googlechat: written by Eion Robb and Mike 'Maiku' Ruprecht.
+purple-googlechat:
+purple-googlechat: Homepage: https://github.com/EionRobb/purple-googlechat
+purple-googlechat:
+purple-googlechat:
+purple-googlechat:
diff --git a/network/purple-gowhatsapp/purple-gowhatsapp.SlackBuild b/network/purple-gowhatsapp/purple-gowhatsapp.SlackBuild
index eaa0e2516c..bed91b684d 100644
--- a/network/purple-gowhatsapp/purple-gowhatsapp.SlackBuild
+++ b/network/purple-gowhatsapp/purple-gowhatsapp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for purple-gowhatsapp
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=purple-gowhatsapp
VERSION=${VERSION:-0.4.1}
LIBGOGIT=${LIBGOGIT:-gitb84fdd7}
GOWHATSGIT=${GOWHATSGIT:-git64cc8cf}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-hangouts/purple-hangouts.SlackBuild b/network/purple-hangouts/purple-hangouts.SlackBuild
index 83a9d6bfe8..edeb75dac1 100644
--- a/network/purple-hangouts/purple-hangouts.SlackBuild
+++ b/network/purple-hangouts/purple-hangouts.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-certifi
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=purple-hangouts
SRCNAM=EionRobb-$PRGNAM
VERSION=${VERSION:-effc9b41df8c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-hangouts/purple-hangouts.info b/network/purple-hangouts/purple-hangouts.info
index cd9ca2af63..def421fa90 100644
--- a/network/purple-hangouts/purple-hangouts.info
+++ b/network/purple-hangouts/purple-hangouts.info
@@ -1,10 +1,10 @@
PRGNAM="purple-hangouts"
VERSION="effc9b41df8c"
HOMEPAGE="https://bitbucket.org/EionRobb/purple-hangouts"
-DOWNLOAD="https://bitbucket.org/EionRobb/purple-hangouts/get/effc9b41df8c.zip"
+DOWNLOAD="https://slackware.uk/~urchlay/src/effc9b41df8c.zip"
MD5SUM="35cc2a7bf8ae191c04d630783b0f6e55"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="protobuf protobuf-c json-glib"
+REQUIRES="protobuf-c"
MAINTAINER="Marian Marinov"
EMAIL="mm@yuhu.biz"
diff --git a/network/purple-plugin-pack/README b/network/purple-plugin-pack/README
index 5f7d4824f9..fc2ba1b5c7 100644
--- a/network/purple-plugin-pack/README
+++ b/network/purple-plugin-pack/README
@@ -5,13 +5,14 @@ The Purple Plugin Pack was originally created by
Gary Kramelich and Stu Tomlinson as a way to distribute
their ever growing lists of simple Pidgin plugins.
-This includes an optional patch to change the default nickserv identify command
-in the irchelp plugin to:
+This includes an optional patch to change the default nickserv identify
+command in the irchelp plugin to:
/msg nickserv identify <password>
-rather than the '/identify <password>' command that it defaults to, which fails
-on some IRCd's such as e.g. ngircd (also available on slackbuilds.org).
+rather than the '/identify <password>' command that it defaults to,
+which fails on some IRCd's such as e.g. ngircd (also available on
+slackbuilds.org).
To use the patch do:
diff --git a/network/purple-plugin-pack/purple-plugin-pack.SlackBuild b/network/purple-plugin-pack/purple-plugin-pack.SlackBuild
index 00b4eec7ca..0e3167fd5d 100644
--- a/network/purple-plugin-pack/purple-plugin-pack.SlackBuild
+++ b/network/purple-plugin-pack/purple-plugin-pack.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for purple-plugin-pack
# Copyright 2018 Dave Woodfall <dave@slackbuilds.org>
@@ -23,10 +23,13 @@
# Heavily modified by Robby Workman of the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=purple-plugin-pack
VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-plugin-pack/purple-plugin-pack.info b/network/purple-plugin-pack/purple-plugin-pack.info
index 24e796a500..3679ac7953 100644
--- a/network/purple-plugin-pack/purple-plugin-pack.info
+++ b/network/purple-plugin-pack/purple-plugin-pack.info
@@ -1,10 +1,10 @@
PRGNAM="purple-plugin-pack"
VERSION="2.7.0"
-HOMEPAGE="https://bitbucket.org/rekkanoryo/purple-plugin-pack"
-DOWNLOAD="https://bitbucket.org/rekkanoryo/purple-plugin-pack/downloads/purple-plugin-pack-2.7.0.tar.bz2"
+HOMEPAGE="https://sourceforge.net/projects/pidgin/files/purple%20plugin%20pack/"
+DOWNLOAD="https://downloads.sourceforge.net/project/pidgin/purple%20plugin%20pack/2.7.0/purple-plugin-pack-2.7.0.tar.bz2"
MD5SUM="a1ee405e81ad955798af7b2a6a8564fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/purple-teams/README b/network/purple-teams/README
new file mode 100644
index 0000000000..b0effb67a8
--- /dev/null
+++ b/network/purple-teams/README
@@ -0,0 +1,9 @@
+purple-teams (Microsoft Teams plugin for libpurple)
+
+A replacement prpl for Microsoft Teams in Pidgin/libpurple. At the
+moment it's primarily focused at "Teams for Work/School", but let me
+know in an issue if you're interested in "Teams for Personal" Totally
+a work in progress, but it's sending and receiving messages, so good
+enough to ship!
+
+At this time the plugin does not support audio or video calls.
diff --git a/network/purple-teams/purple-teams.SlackBuild b/network/purple-teams/purple-teams.SlackBuild
new file mode 100644
index 0000000000..6a185e4e61
--- /dev/null
+++ b/network/purple-teams/purple-teams.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for purple-teams
+
+# Copyright 2022 Dustin Metcalf - USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=purple-teams
+VERSION=${VERSION:-20230625_9065c077}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+echo $PKG
+find $PKG/ -type f -name '*.png' -exec chmod 644 {} +
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-teams/purple-teams.info b/network/purple-teams/purple-teams.info
new file mode 100644
index 0000000000..3e1a0f07c8
--- /dev/null
+++ b/network/purple-teams/purple-teams.info
@@ -0,0 +1,10 @@
+PRGNAM="purple-teams"
+VERSION="20230625_9065c077"
+HOMEPAGE="https://github.com/EionRobb/purple-teams"
+DOWNLOAD="https://ihacksh.it/slackbuilds/src/purple-teams-20230625_9065c077.tar.gz"
+MD5SUM="6b5b5d332f1c4f1c205597e2dd46b88e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dustin Metcalf"
+EMAIL="metcalf.nerd+SBo@gmail.com"
diff --git a/network/purple-teams/slack-desc b/network/purple-teams/slack-desc
new file mode 100644
index 0000000000..d47363914b
--- /dev/null
+++ b/network/purple-teams/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+purple-teams: purple-teams (Microsoft Teams plugin for libpurple)
+purple-teams:
+purple-teams: A replacement prpl for Microsoft Teams in Pidgin/libpurple. At the
+purple-teams: moment it's primarily focused at "Teams for Work/School", but let me
+purple-teams: know in an issue if you're interested in "Teams for Personal" Totally
+purple-teams: a work in progress, but it's sending and receiving messages, so good
+purple-teams: enough to ship!
+purple-teams:
+purple-teams: Homepage: https://github.com/EionRobb/purple-teams
+purple-teams:
+purple-teams:
diff --git a/network/purple-telegram/purple-telegram.SlackBuild b/network/purple-telegram/purple-telegram.SlackBuild
index ba9cc9385c..1a5d40216c 100644
--- a/network/purple-telegram/purple-telegram.SlackBuild
+++ b/network/purple-telegram/purple-telegram.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for purple-telegram
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=purple-telegram
VERSION=${VERSION:-1.4.1}
SRCNAM=${PRGNAM/*-/}-${PRGNAM/-*}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/purple-telegram/purple-telegram.info b/network/purple-telegram/purple-telegram.info
index 94bf3aa467..af3acfdf35 100644
--- a/network/purple-telegram/purple-telegram.info
+++ b/network/purple-telegram/purple-telegram.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/majn/telegram-purple/releases/download/v1.4.1/teleg
MD5SUM="b6e968643f1f5cb5af2f6315ac8aa513"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libwebp"
+REQUIRES=""
MAINTAINER="Marian Marinov"
EMAIL="mm@yuhu.biz"
diff --git a/network/putty/putty.SlackBuild b/network/putty/putty.SlackBuild
index 7dd7874f0b..d1b9e16dca 100644
--- a/network/putty/putty.SlackBuild
+++ b/network/putty/putty.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PuTTY
@@ -30,10 +30,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=putty
-VERSION=${VERSION:-0.74}
+VERSION=${VERSION:-0.81}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +46,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,19 +93,15 @@ find -L . \
# Create $PKG tree.
mkdir -p $PKG/usr/{bin,man/man1,doc/$PRGNAM-$VERSION/html,share/applications,share/pixmaps}
-cd unix
- CFLAGS="$SLKCFLAGS -Wno-strict-aliasing" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
- # Don't treat all warnings as errors
- sed -i 's/-Werror//' Makefile*
-
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -111,11 +114,10 @@ cp $CWD/putty.desktop $PKG/usr/share/applications/putty.desktop
cp $CWD/putty.png $PKG/usr/share/pixmaps/putty.png
cp -a README LICENCE doc/puttydoc.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/putty/putty.info b/network/putty/putty.info
index eb828e591a..2d491d8ea4 100644
--- a/network/putty/putty.info
+++ b/network/putty/putty.info
@@ -1,8 +1,8 @@
PRGNAM="putty"
-VERSION="0.74"
+VERSION="0.81"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
-DOWNLOAD="https://the.earth.li/~sgtatham/putty/latest/putty-0.74.tar.gz"
-MD5SUM="dbfa58f22a91b22b7489173e9dd09e30"
+DOWNLOAD="https://the.earth.li/~sgtatham/putty/latest/putty-0.81.tar.gz"
+MD5SUM="351ef5e546091003a10b309455659ec4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
diff --git a/network/pyNeighborhood/pyNeighborhood.SlackBuild b/network/pyNeighborhood/pyNeighborhood.SlackBuild
index d5f2d6dcc9..69491226d0 100644
--- a/network/pyNeighborhood/pyNeighborhood.SlackBuild
+++ b/network/pyNeighborhood/pyNeighborhood.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyneighborhood
# Copyright 2011 David Woodfall <dave@slackbuilds.org>
@@ -21,11 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyNeighborhood
SRCNAM=${PRGNAM/N/n}
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pyNeighborhood/pyNeighborhood.info b/network/pyNeighborhood/pyNeighborhood.info
index fbe0d10677..72458c26ea 100644
--- a/network/pyNeighborhood/pyNeighborhood.info
+++ b/network/pyNeighborhood/pyNeighborhood.info
@@ -6,5 +6,5 @@ MD5SUM="32e2c0c5a3cb0fa750922088a18f4c01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/pydio-agent/pydio-agent.SlackBuild b/network/pydio-agent/pydio-agent.SlackBuild
index 9098dafaac..231cb8eef6 100644
--- a/network/pydio-agent/pydio-agent.SlackBuild
+++ b/network/pydio-agent/pydio-agent.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "pydio-agent".
@@ -24,20 +24,30 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pydio-agent
VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pydio-sync/pydio-sync.SlackBuild b/network/pydio-sync/pydio-sync.SlackBuild
index 4d8f2dfa88..02752a4c09 100644
--- a/network/pydio-sync/pydio-sync.SlackBuild
+++ b/network/pydio-sync/pydio-sync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "pydio-sync".
@@ -24,10 +24,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pydio-sync
VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -112,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pydio-sync/pydio-sync.info b/network/pydio-sync/pydio-sync.info
index 87d0e4e1d8..ae386660dc 100644
--- a/network/pydio-sync/pydio-sync.info
+++ b/network/pydio-sync/pydio-sync.info
@@ -5,6 +5,6 @@ DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://s.mos6581.de/static/slackbuilds.org/sources/pydio-sync/pydio-sync-1.2.6.tar.xz"
MD5SUM_x86_64="02ad5bcd2b5c7127b26a4f494473f70b"
-REQUIRES="pydio-agent qt5-webkit"
+REQUIRES="pydio-agent"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/network/pysub-dl/pysub-dl.SlackBuild b/network/pysub-dl/pysub-dl.SlackBuild
index 2eed570959..d9fb4ec925 100644
--- a/network/pysub-dl/pysub-dl.SlackBuild
+++ b/network/pysub-dl/pysub-dl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pysub-dl
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pysub-dl
VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/pysub-dl/pysub-dl.info b/network/pysub-dl/pysub-dl.info
index f136d04c9b..c9829f15df 100644
--- a/network/pysub-dl/pysub-dl.info
+++ b/network/pysub-dl/pysub-dl.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/b6/32/1acd2adf994db1d66b95ec1ee4415cd
MD5SUM="9f65dacadddf21185d38ebac9573466c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests BeautifulSoup"
+REQUIRES="BeautifulSoup"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/python-onedrive/README b/network/python-onedrive/README
index ae3e28af4c..fb7445992f 100644
--- a/network/python-onedrive/README
+++ b/network/python-onedrive/README
@@ -3,4 +3,4 @@ python-onedrive (CLI interface for MS OneDrive)
Python and command-line interface for MS OneDrive (formerly known as
SkyDrive) API v5.0.
-Optional dependencies: PyYAML, python-requests
+Optional dependency: PyYAML
diff --git a/network/python-onedrive/python-onedrive.SlackBuild b/network/python-onedrive/python-onedrive.SlackBuild
index 961b425c98..e47254ab5e 100644
--- a/network/python-onedrive/python-onedrive.SlackBuild
+++ b/network/python-onedrive/python-onedrive.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-onedrive
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python-onedrive
VERSION=${VERSION:-15.10.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/python3-CherryMusic/README b/network/python3-CherryMusic/README
new file mode 100644
index 0000000000..40ce2016fc
--- /dev/null
+++ b/network/python3-CherryMusic/README
@@ -0,0 +1,16 @@
+python3-CherryMusic is a music streaming server based on CherryPy
+and jPlayer. It can be run remotely or on a single computer and is
+designed to handle huge music libraries of 3 TB and more; it also
+works well with small collections. In contrast to MPD, Icecast and
+the like, python3-CherryMusic allows multiple users to log in via
+HTTP/HTTPS using a web browser, browse and search the music database,
+manage playlists and stream music to the browser.
+
+The python3-CherryMusic server runs on Linux, Windows and OS X,
+as long as Python and SQLite are available. To use the web client,
+any device with a modern browser will do.
+
+Optional dependencies are:
+
+ Live transcoding: faad2 For special character search terms:
+ python-unidecode
diff --git a/network/DarTui/doinst.sh b/network/python3-CherryMusic/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/DarTui/doinst.sh
+++ b/network/python3-CherryMusic/doinst.sh
diff --git a/network/python3-CherryMusic/python3-CherryMusic.SlackBuild b/network/python3-CherryMusic/python3-CherryMusic.SlackBuild
new file mode 100644
index 0000000000..ac249c1577
--- /dev/null
+++ b/network/python3-CherryMusic/python3-CherryMusic.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for python3-CherryMusic
+
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-CherryMusic
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-0.41.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+install -D -m644 doc/man/cherrymusic.1 $PKG/usr/man/man1/cherrymusic.1
+install -D -m644 doc/man/cherrymusic.conf.5 $PKG/usr/man/man5/cherrymusic.conf.5
+install -D -m644 doc/man/cherrymusicd.8 $PKG/usr/man/man8/cherrymusicd.8
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/python3-CherryMusic/python3-CherryMusic.info b/network/python3-CherryMusic/python3-CherryMusic.info
new file mode 100644
index 0000000000..9a219db633
--- /dev/null
+++ b/network/python3-CherryMusic/python3-CherryMusic.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-CherryMusic"
+VERSION="0.41.3"
+HOMEPAGE="http://www.fomori.org/cherrymusic/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cherrymusic/CherryMusic-0.41.3.tar.gz"
+MD5SUM="ffb13ab17905d1c806a7e4a1bb1508af"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-CherryPy"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/network/python3-CherryMusic/slack-desc b/network/python3-CherryMusic/slack-desc
new file mode 100644
index 0000000000..b243654fff
--- /dev/null
+++ b/network/python3-CherryMusic/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-CherryMusic: python3-CherryMusic (music streaming server)
+python3-CherryMusic:
+python3-CherryMusic: CherryMusic is a music streaming server based on CherryPy and
+python3-CherryMusic: jPlayer. It can be run remotely or on a single computer and is
+python3-CherryMusic: designed to handle huge music libraries of 3 TB and more; it also
+python3-CherryMusic: works well with small collections. In contrast to MPD, Icecast
+python3-CherryMusic: and the like, CherryMusic allows multiple users to log in via
+python3-CherryMusic: HTTP/HTTPS using a web browser, browse and search the music
+python3-CherryMusic: database, manage playlists and stream music to the browser.
+python3-CherryMusic:
+python3-CherryMusic: Homepage: http://www.fomori.org/cherrymusic/
diff --git a/network/python3-PyRSS2Gen/README b/network/python3-PyRSS2Gen/README
new file mode 100644
index 0000000000..1c7eecca4a
--- /dev/null
+++ b/network/python3-PyRSS2Gen/README
@@ -0,0 +1,6 @@
+python3-PyRSS2Gen is a Python module that makes it easy to generate
+valid RSS feeds. You can use it to generate RSS feeds for web pages
+that don't have them.
+
+There is also RSSLib which looks like it does the same thing in a
+slightly different way.
diff --git a/network/python3-PyRSS2Gen/python3-PyRSS2Gen.SlackBuild b/network/python3-PyRSS2Gen/python3-PyRSS2Gen.SlackBuild
new file mode 100644
index 0000000000..32ee67daea
--- /dev/null
+++ b/network/python3-PyRSS2Gen/python3-PyRSS2Gen.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for python3-PyRSS2Gen
+
+# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
+# Written by Lionel Young <redtricycle@gmail.com>
+# Based on http://slackbuilds.org/template.SlackBuild
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-PyRSS2Gen
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 setup.py build || exit 1
+python3 setup.py install --root=$PKG || exit 1
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README LICENSE PKG-INFO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/python3-PyRSS2Gen/python3-PyRSS2Gen.info b/network/python3-PyRSS2Gen/python3-PyRSS2Gen.info
new file mode 100644
index 0000000000..bab7959823
--- /dev/null
+++ b/network/python3-PyRSS2Gen/python3-PyRSS2Gen.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-PyRSS2Gen"
+VERSION="1.1"
+HOMEPAGE="http://www.dalkescientific.com/Python/PyRSS2Gen.html"
+DOWNLOAD="http://www.dalkescientific.com/Python/PyRSS2Gen-1.1.tar.gz"
+MD5SUM="c56b9453d52b0a70be4f3e95112058aa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/network/python3-PyRSS2Gen/slack-desc b/network/python3-PyRSS2Gen/slack-desc
new file mode 100644
index 0000000000..11573eb970
--- /dev/null
+++ b/network/python3-PyRSS2Gen/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-PyRSS2Gen: python3-PyRSS2Gen (python RSS feed generator)
+python3-PyRSS2Gen:
+python3-PyRSS2Gen: PyRSS2Gen is a Python module that makes it easy to generate valid
+python3-PyRSS2Gen: RSS feeds. You can use it to generate RSS feeds for web pages that
+python3-PyRSS2Gen: don't have them.
+python3-PyRSS2Gen:
+python3-PyRSS2Gen: Home: http://www.dalkescientific.com/Python/PyRSS2Gen.html
+python3-PyRSS2Gen:
+python3-PyRSS2Gen:
+python3-PyRSS2Gen:
+python3-PyRSS2Gen:
diff --git a/network/pyzor/pyzor.SlackBuild b/network/pyzor/pyzor.SlackBuild
index 9e8fb5ba9b..d5171cca8b 100644
--- a/network/pyzor/pyzor.SlackBuild
+++ b/network/pyzor/pyzor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyzor
@@ -26,20 +26,30 @@
# Thanks to Carlos Xavier for a patch with better compatibility against Python 2.7
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyzor
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qTox/README b/network/qTox/README
index 0c2c41d1a7..c76aec374d 100644
--- a/network/qTox/README
+++ b/network/qTox/README
@@ -1,4 +1,4 @@
-qTox is a powerful Tox client that tries to follow the Tox design guidelines
-while running on all major platforms.
+qTox is a powerful Tox client that tries to follow the Tox design
+guidelines while running on all major platforms.
qTox upstream switched toxcore library for the new c-toxcore fork.
diff --git a/network/qTox/qTox.SlackBuild b/network/qTox/qTox.SlackBuild
index aca498cc4f..dba0b5861a 100644
--- a/network/qTox/qTox.SlackBuild
+++ b/network/qTox/qTox.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qTox
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qTox
VERSION=${VERSION:-1.17.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,6 +82,8 @@ find -L . \
# gcc-7 fix
#patch -p1 <$CWD/rawdatabase.h.diff
+sed -e 's|-Werror||' -i CMakeLists.txt
+
mkdir -p build
cd build
cmake \
@@ -98,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qTox/qTox.info b/network/qTox/qTox.info
index fbff231bdc..067e399b27 100644
--- a/network/qTox/qTox.info
+++ b/network/qTox/qTox.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/qTox/qTox/archive/v1.17.3/qTox-1.17.3.tar.gz"
MD5SUM="90a3a03d146ea9656909a4d8dd360c47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="c-toxcore libfilteraudio qt5 ffmpeg qrencode libxkbcommon sqlcipher"
+REQUIRES="c-toxcore libfilteraudio sqlcipher"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/qbittorrent-qt5/README b/network/qbittorrent-qt5/README
deleted file mode 100644
index d95396d99f..0000000000
--- a/network/qbittorrent-qt5/README
+++ /dev/null
@@ -1,14 +0,0 @@
-qBittorrent is a bittorrent client programmed in C++ / Qt5 that uses
-libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
-
-It aims to be a good alternative to all other bittorrent clients out
-there. qBittorrent is fast, stable, and provides unicode supports as
-well as many features.
-
-Note that from version 3.3.15 you will get a warning on startup that
-qbittorrent has a new way of saving things. If you want to backup your
-old config directory first, you will find it here:
-
-~/.config/qBittorrent
-
-You can return to an older version by swapping directories around.
diff --git a/network/qbittorrent-qt5/README.SBo b/network/qbittorrent-qt5/README.SBo
deleted file mode 100644
index 56683cfced..0000000000
--- a/network/qbittorrent-qt5/README.SBo
+++ /dev/null
@@ -1,17 +0,0 @@
-An rc init script is provided and has the following features:
-
-Runs qbittorrent-nox webui under user who started the script.
-
-Usage:
-/etc/rc.d/rc.qbittorrent-nox start [PORT]|stop|restart [PORT]|status
-Port defaults to 8080 if not provided.
-
-To run this script from rc.local you must run it as a non-root user.
-
-Example:
-/bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000"
-
-Program output is sent to /tmp/qbittorrent-nox-$USER
-
-The status command can be run as root, in which case you should see
-all process of qbittorrent-nox, otherwise you will just see $USER's.
diff --git a/network/qbittorrent-qt5/doinst.sh b/network/qbittorrent-qt5/doinst.sh
deleted file mode 100644
index d3350f3157..0000000000
--- a/network/qbittorrent-qt5/doinst.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/rc.d/rc.qbittorrent-nox.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild b/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
deleted file mode 100644
index 40d2d1e8b9..0000000000
--- a/network/qbittorrent-qt5/qbittorrent-qt5.SlackBuild
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qbittorrent-qt5
-
-# Copyright 2019-2020 Donald Cooley South Haven, Indiana USA
-# Copyright 2009-2010 David Woodfall <dave@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=qbittorrent-qt5
-SRCNAM=qBittorrent
-VERSION=${VERSION:-4.3.0.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-release-$VERSION
-tar xvf $CWD/$SRCNAM-release-$VERSION.tar.?z*
-cd $SRCNAM-release-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++14" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install INSTALL_ROOT=$PKG
-make clean
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-gui \
- --build=$ARCH-slackware-linux
-
-make
-mv src/qbittorrent-nox $PKG/usr/bin
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/etc/rc.d
-cp $CWD/rc.qbittorrent-nox.new $PKG/etc/rc.d/.
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS Changelog NEWS TODO COPYING INSTALL README.md \
- $CWD/README.SBo $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/qbittorrent-qt5/qbittorrent-qt5.info b/network/qbittorrent-qt5/qbittorrent-qt5.info
deleted file mode 100644
index 86a629e6a4..0000000000
--- a/network/qbittorrent-qt5/qbittorrent-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qbittorrent-qt5"
-VERSION="4.3.0.1"
-HOMEPAGE="http://qbittorrent.sourceforge.net"
-DOWNLOAD="https://github.com/qbittorrent/qBittorrent/archive/release-4.3.0.1/qBittorrent-release-4.3.0.1.tar.gz"
-MD5SUM="62f17f635592b481ecd56921a96fc767"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libtorrent-rasterbar qt5"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/network/qbittorrent-qt5/rc.qbittorrent-nox.new b/network/qbittorrent-qt5/rc.qbittorrent-nox.new
deleted file mode 100644
index aa916d8096..0000000000
--- a/network/qbittorrent-qt5/rc.qbittorrent-nox.new
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# /etc/rc.d/rc.qbittorrent-nox
-# Runs qbittorrent webui under user who started the script.
-# Usage: /etc/rc.d/rc.qbittorrent-nox start <PORT>|stop|restart <PORT>|status
-# Port defaults to 8080 if not provided.
-#
-# To run this script from rc.local you must run it as a non-root user.
-#
-# Example:
-# /bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000"
-# Program output is sent to /tmp/qbittorrent-nox-$USER
-
-# First some checks to see what's what.
-
-if [ "$USER" = "root" ] && [[ "$1" =~ start ]]; then
- echo "Do not start the daemon as root." >/dev/stderr
- exit 1
-fi
-
-
-if [ -n "$2" ]; then
- UIPORT="$2"
-else
- UIPORT="8080"
-fi
-
-LOG="/tmp/qbittorrent-nox-$USER"
-APP="/usr/bin/qbittorrent-nox"
-
-do_start()
-{
- if [ -n "$(/bin/netstat -nta | awk '{print $4}' \
- | cut -d: -f2 | grep $UIPORT | grep 0.0.0.0)" ]; then
-
- echo "Port $UIPORT is already in use." >/dev/stderr
- exit 1
- fi
-
- $APP --webui-port=$UIPORT 1>$LOG 2>&1 &
-}
-
-do_stop()
-{
- PID="$(pgrep -u $USER qbittorrent-nox)"
-
- if [ -n "$PID" ]; then
- echo "Killing PID $PID"
- kill $PID
- else
- echo "No process found." >/dev/stderr
- fi
-}
-
-do_status()
-{
- echo "Local Address Foreign Address State PID/Program name"
- /bin/netstat -pntl 2>&1 | grep qbittorrent-n \
- | awk '{print $4 " " $5 " " $6 " " $7}'
-}
-
-case "$1" in
- 'start')
- do_start
- ;;
-
- 'stop')
- do_stop
- ;;
- 'restart')
- do_stop
- sleep 1
- do_start
- ;;
- 'status')
- do_status
- ;;
- *)
- echo "Usage: $0 {start <PORT>|stop|restart <PORT>|status}"
- exit 1
- ;;
-esac
diff --git a/network/qbittorrent-qt5/slack-desc b/network/qbittorrent-qt5/slack-desc
deleted file mode 100644
index 9cc8fd0fd8..0000000000
--- a/network/qbittorrent-qt5/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-qbittorrent-qt5: qbittorrent-qt5 (a C++ / Qt5 Bittorrent Client)
-qbittorrent-qt5:
-qbittorrent-qt5: qBittorrent is a bittorrent client programmed in C++ / Qt5 that uses
-qbittorrent-qt5: libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
-qbittorrent-qt5:
-qbittorrent-qt5: It aims to be a good alternative to all other bittorrent clients out
-qbittorrent-qt5: there. qBittorrent is fast, stable, and provides unicode support as
-qbittorrent-qt5: well as many features.
-qbittorrent-qt5:
-qbittorrent-qt5:
-qbittorrent-qt5: Homepage: https://qbittorrent.sourceforge.net
diff --git a/network/qbittorrent/README b/network/qbittorrent/README
index 01571412e3..d95396d99f 100644
--- a/network/qbittorrent/README
+++ b/network/qbittorrent/README
@@ -1,5 +1,9 @@
-qBittorrent is an easy to use, good looking, and featureful but
-lightweight C++ / Qt4 Bittorrent Client.
+qBittorrent is a bittorrent client programmed in C++ / Qt5 that uses
+libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
+
+It aims to be a good alternative to all other bittorrent clients out
+there. qBittorrent is fast, stable, and provides unicode supports as
+well as many features.
Note that from version 3.3.15 you will get a warning on startup that
qbittorrent has a new way of saving things. If you want to backup your
@@ -7,10 +11,4 @@ old config directory first, you will find it here:
~/.config/qBittorrent
-That way you can return to an older version by swapping directories
-around.
-
-This is the last version of qBittorrent that will build with Qt4
-libraries. You might want to embrace the future with Qt5 and newer
-versions of qBittorrent. See the qbittorrent-qt5 SlackBuild for more
-information.
+You can return to an older version by swapping directories around.
diff --git a/network/qbittorrent/README.SBo b/network/qbittorrent/README.SBo
new file mode 100644
index 0000000000..04fd92c833
--- /dev/null
+++ b/network/qbittorrent/README.SBo
@@ -0,0 +1,23 @@
+An rc init script is provided and has the following features:
+
+Runs qbittorrent-nox webui under user who started the script.
+
+Usage:
+/etc/rc.d/rc.qbittorrent-nox start [PORT]|stop|restart [PORT]|status
+Port defaults to 8080 if not provided.
+
+To run this script from rc.local you must run it as a non-root user.
+
+Example:
+/bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000"
+
+Program output is sent to /tmp/qbittorrent-nox-$USER
+
+The status command can be run as root, in which case you should see
+all process of qbittorrent-nox, otherwise you will just see $USER's.
+
+** UPDATE **
+
+An alternative way to run this is with the daemon program (included in
+Slackware since 15.0). Check `man daemon` for details, but you can
+avoid root completely with the daemon approach.
diff --git a/network/qbittorrent/README.nox b/network/qbittorrent/README.nox
deleted file mode 100644
index 15193a85ab..0000000000
--- a/network/qbittorrent/README.nox
+++ /dev/null
@@ -1,17 +0,0 @@
-An rc init script is provided and has the following features:
-
-Runs qbittorrent-nox webui under user who started the script.
-
-Usage:
-/etc/rc.d/rc.qbittorrent-nox start [PORT]|stop|restart [PORT]|status
-Port defaults to 8080 if not provided.
-
-To run this script from rc.local you must run it as a non-root user.
-
-Example:
-/bin/su - david -c /etc/rc.d/rc.qbittorrent-nox start 9000
-
-Program output is sent to /tmp/qbittorrent-nox-$USER
-
-The status command can be run as root, in which case you should see
-all process of qbittorrent-nox, otherwise you will just see $USER's.
diff --git a/network/qbittorrent/qbittorrent.SlackBuild b/network/qbittorrent/qbittorrent.SlackBuild
index e4490f4a59..e6a61244d4 100644
--- a/network/qbittorrent/qbittorrent.SlackBuild
+++ b/network/qbittorrent/qbittorrent.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qbittorrent
-# Copyright 2009-2010 David Woodfall <dave@slackbuilds.org>
+# Copyright 2022 David O'Shaughnessy
+# Copyright 2019-2021 Donald Cooley South Haven, Indiana USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +23,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - BUILD needed to be bumped due to the .desktop file change.
+# - Install README.SBo with correct ownership.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qbittorrent
-SRCNAM=qBittorrent-release
-VERSION=${VERSION:-3.3.16}
+#SRCNAM=qBittorrent
+VERSION=${VERSION:-4.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,56 +72,60 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/release-$VERSION.tar.?z*
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --with-qt4
-
-make
-make install INSTALL_ROOT=$PKG
-make clean
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --with-qt4 \
- --disable-gui
-
-make
-mv src/qbittorrent-nox $PKG/usr/bin
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+# Build graphical version by default
+gui="-DGUI=ON"; [[ "${GUI:-yes}" != "yes" ]] && gui="-DGUI=OFF"
+
+cmake -B build -G "Ninja" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DCMAKE_BUILD_TYPE=Release \
+ $gui \
+ -DSYSTEMD=OFF
+cmake --build build
+DESTDIR=$PKG cmake --install build --strip
+
+# adjust .desktop file to be compliant with Slackware 15.0 supported
+# version of desktop spec (1.4) (SingleMainWindow was added to version
+# 1.5 Desktop Entry Specification).
+# https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
+[[ "${GUI:-yes}" != "yes" ]] || sed -i '/^SingleMainWindow/d' $PKG/usr/share/applications/*.desktop
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/etc/rc.d
cp $CWD/rc.qbittorrent-nox.new $PKG/etc/rc.d/.
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS Changelog NEWS TODO COPYING INSTALL README.md \
- $CWD/README.nox \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS Changelog COPYING COPYING.GPLv? README.md $PKGDOC
+# 20230630 bkw: use cat instead of "cp -a" to install files from $CWD,
+# there's no way to tell what the $CWD ownership/permission is.
+cat $CWD/README.SBo > $PKGDOC/README.SBo
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qbittorrent/qbittorrent.info b/network/qbittorrent/qbittorrent.info
index 061d931f26..06c0e31186 100644
--- a/network/qbittorrent/qbittorrent.info
+++ b/network/qbittorrent/qbittorrent.info
@@ -1,10 +1,10 @@
PRGNAM="qbittorrent"
-VERSION="3.3.16"
-HOMEPAGE="http://qbittorrent.sourceforge.net"
-DOWNLOAD="https://github.com/qbittorrent/qBittorrent/archive/release-3.3.16.tar.gz"
-MD5SUM="28852012dbd3f3bbec400279935b88d1"
+VERSION="4.6.4"
+HOMEPAGE="https://www.qbittorrent.org/"
+DOWNLOAD="https://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-4.6.4/qbittorrent-4.6.4.tar.xz"
+MD5SUM="ffc528cbdf1ab4ff40a51753e5e9b030"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libtorrent-rasterbar-legacy"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+REQUIRES="libtorrent2"
+MAINTAINER="David O'Shaughnessy"
+EMAIL="dev@osh.id.au"
diff --git a/network/qbittorrent/rc.qbittorrent-nox.new b/network/qbittorrent/rc.qbittorrent-nox.new
index 9b78744ba4..aa916d8096 100644
--- a/network/qbittorrent/rc.qbittorrent-nox.new
+++ b/network/qbittorrent/rc.qbittorrent-nox.new
@@ -8,12 +8,12 @@
# To run this script from rc.local you must run it as a non-root user.
#
# Example:
-# /bin/su - david -c /etc/rc.d/rc.qbittorrent-nox start 9000
+# /bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000"
# Program output is sent to /tmp/qbittorrent-nox-$USER
# First some checks to see what's what.
-if [ "$USER" = "root" ] && [ "$1" = "start" ]; then
+if [ "$USER" = "root" ] && [[ "$1" =~ start ]]; then
echo "Do not start the daemon as root." >/dev/stderr
exit 1
fi
diff --git a/network/qbittorrent/slack-desc b/network/qbittorrent/slack-desc
index 2a54c14312..ed330143c3 100644
--- a/network/qbittorrent/slack-desc
+++ b/network/qbittorrent/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-qbittorrent: qbittorrent (a C++ / Qt4 Bittorrent Client)
+qbittorrent: qbittorrent (a C++ / Qt5 Bittorrent Client)
qbittorrent:
-qbittorrent: The qBittorrent project was created in March 2006 with the idea
-qbittorrent: of developing a new Bittorrent client for Linux (and possibly
-qbittorrent: other systems) that would be easy to use, good looking, and
-qbittorrent: featureful but lightweight.
-qbittorrent: qBittorrent is a Free Software released under the GNU GPL license.
-qbittorrent: The author is Christophe Dumez, a French student in an engineer
-qbittorrent: school (UTBM), in IT departement.
+qbittorrent: qBittorrent is a bittorrent client programmed in C++ / Qt5 that uses
+qbittorrent: libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg.
qbittorrent:
-qbittorrent: Homepage: http://qbittorrent.sourceforge.net
+qbittorrent: It aims to be a good alternative to all other bittorrent clients out
+qbittorrent: there. qBittorrent is fast, stable, and provides unicode support as
+qbittorrent: well as many features.
+qbittorrent:
+qbittorrent:
+qbittorrent: Homepage: https://www.qbittorrent.org/
diff --git a/network/qodem/README b/network/qodem/README
new file mode 100644
index 0000000000..577222ae81
--- /dev/null
+++ b/network/qodem/README
@@ -0,0 +1,20 @@
+qodem (BBS-oriented terminal emulator)
+
+qodem is a from-scratch clone implementation of the Qmodem
+communications program made popular in the days when Bulletin Board
+Systems ruled the night. Qodem emulates the dialing directory and
+the terminal screen features of Qmodem over both modem and Internet
+connections.
+
+qodem also emulates ATASCII (Atari 8-bit) and PETSCII (Commodore
+8-bit), and can be used to run a local shell.
+
+Note: qodem-x11 doesn't handle PETSCII correctly. Instead, launch
+qodem in a terminal with the PETSCII font (adjust the size= to your
+taste):
+
+$ urxvt -fn "xft:C64 Pro Mono:size=13" -e qodem
+
+More information on BBSes can be found here, along with an up-to-date
+list of telnet BBSes:
+https://www.telnetbbsguide.com/
diff --git a/network/qodem/doinst.sh b/network/qodem/doinst.sh
new file mode 100644
index 0000000000..12b14570f0
--- /dev/null
+++ b/network/qodem/doinst.sh
@@ -0,0 +1,17 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then
+ ( cd usr/share/fonts/TTF
+ /usr/bin/mkfontscale .
+ /usr/bin/mkfontdir . )
+fi
+
+[ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f
diff --git a/network/qodem/qodem-convert.1 b/network/qodem/qodem-convert.1
new file mode 100644
index 0000000000..e92a4d9bfa
--- /dev/null
+++ b/network/qodem/qodem-convert.1
@@ -0,0 +1,101 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "QODEM-CONVERT" 1 "2023-07-29" "1.0.1" "SlackBuilds.org"
+.SH NAME
+qodem-convert \- convert BBS dialing lists to qodem format
+.\" RST source for qodem-convert(1) man page. Convert with:
+.
+.\" rst2man.py qodem-convert.rst > qodem-convert.1
+.
+.SH SYNOPSIS
+.sp
+qodem\-convert\-syncterm \fBinput.lst\fP \fBoutput.txt\fP
+.sp
+qodem\-convert\-ibbs \fBinput.txt\fP \fBoutput.txt\fP
+.SH DESCRIPTION
+.sp
+These utilities convert BBS dialing lists to the \fBfonebook.txt\fP
+format used by \fBqodem\fP(1).
+.sp
+To convert a \fBsyncterm\fP(1) list, use a command like:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+qodem\-convert\-syncterm ~/.syncterm/syncterm.lst ~/.qodem/fonebook.txt
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+To convert the telnetbbsguide list, first download it from:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+https://www.telnetbbsguide.com/lists/download\-list/
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Get either the Monthly or Daily zip file. Extract it, and find the
+"short form" list, which will have a filename like \fBshort_Jul_23.txt\fP\&.
+Use a command like:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+qodem\-convert\-ibbs short_Jul_23.txt ~/.qodem/fonebook.txt
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SH COPYRIGHT
+.sp
+Public Domain, or CC0 License in jurisdictions that do not recognize
+the public domain.
+.SH AUTHORS
+.sp
+\fBqodem\fP, \fBqodem\-convert\-syncterm\fP, and \fBqodem\-convert\-ibbs\fP were
+written by Autumn Lamonte.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBqodem\fP(1), \fBqodem\-x11\fP(1), \fBsyncterm\fP(1)
+.sp
+The qodem homepage: \fI\%https://qodem.sourceforge.io/\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/qodem/qodem-convert.rst b/network/qodem/qodem-convert.rst
new file mode 100644
index 0000000000..e51935eee0
--- /dev/null
+++ b/network/qodem/qodem-convert.rst
@@ -0,0 +1,67 @@
+.. RST source for qodem-convert(1) man page. Convert with:
+.. rst2man.py qodem-convert.rst > qodem-convert.1
+
+.. |version| replace:: 1.0.1
+.. |date| date::
+
+=============
+qodem-convert
+=============
+
+-----------------------------------------
+convert BBS dialing lists to qodem format
+-----------------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+qodem-convert-syncterm **input.lst** **output.txt**
+
+qodem-convert-ibbs **input.txt** **output.txt**
+
+DESCRIPTION
+===========
+
+These utilities convert BBS dialing lists to the **fonebook.txt**
+format used by **qodem**\(1).
+
+To convert a **syncterm**\(1) list, use a command like::
+
+ qodem-convert-syncterm ~/.syncterm/syncterm.lst ~/.qodem/fonebook.txt
+
+To convert the telnetbbsguide list, first download it from::
+
+ https://www.telnetbbsguide.com/lists/download-list/
+
+Get either the Monthly or Daily zip file. Extract it, and find the
+"short form" list, which will have a filename like **short_Jul_23.txt**.
+Use a command like::
+
+ qodem-convert-ibbs short_Jul_23.txt ~/.qodem/fonebook.txt
+
+COPYRIGHT
+=========
+
+Public Domain, or CC0 License in jurisdictions that do not recognize
+the public domain.
+
+AUTHORS
+=======
+
+**qodem**, **qodem-convert-syncterm**, and **qodem-convert-ibbs** were
+written by Autumn Lamonte.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**qodem**\(1), **qodem-x11**\(1), **syncterm**\(1)
+
+The qodem homepage: https://qodem.sourceforge.io/
diff --git a/network/qodem/qodem-x11.desktop b/network/qodem/qodem-x11.desktop
new file mode 100644
index 0000000000..e1cdcadca8
--- /dev/null
+++ b/network/qodem/qodem-x11.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=Qodem (X11)
+Comment=ANSI-BBS Terminal
+Comment[es]=Emulador de Terminal ANSI-BBS
+Icon=qodem
+Exec=qodem-x11 %u
+Terminal=false
+Categories=TerminalEmulator;Network;Dialup;
+Keywords=BBS;Terminal;Ansi;
diff --git a/network/qodem/qodem.SlackBuild b/network/qodem/qodem.SlackBuild
new file mode 100644
index 0000000000..87c818eec3
--- /dev/null
+++ b/network/qodem/qodem.SlackBuild
@@ -0,0 +1,172 @@
+#!/bin/bash
+
+# Slackware build script for qodem
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Notes:
+# - Package includes both terminal (qodem) and X11 (qodem-x11) binaries.
+# - qodem-x11 always builds with its bundled copy of pdcurses, regardless of
+# whether our PDCurses package is installed. Perfectly OK, just worth
+# mentioning why PDCurses isn't a dependency.
+# - Two choices for ssh support: build with bundled cryptlib (like syncterm
+# does), or run an external ssh command. Upstream's default is the latter,
+# I won't change it. Plus, using the ssh binary has the useful side effect
+# of respecting your ~/.ssh/config.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qodem
+VERSION=${VERSION:-1.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM-v$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# There's no configure option to override use of the system miniupnp
+# library; it'll fall back to its own bundled version if not found.
+# This makes it always use the bundled one, for a reproducible build
+# and to avoid a hidden dependency.
+sed -i '/Q_USE_SYSTEM_UPNP="yes"/s,yes,no,' configure
+
+# Use our flags for sub-makes.
+sed -i -e 's,-ggdb,,' \
+ -e "s,-O0,$SLKCFLAGS," \
+ lib/pdcurses/Makefile \
+ lib/upnp/Makefile
+
+# The X11 build runs external commands in a separate terminal. Change
+# the default terminal to something that actually exists on Slackware.
+# This is just the default (can still be changed in ~/.qodem/qodemrc).
+sed -i 's,x-terminal-emulator,xterm,g' source/{options,help}.c
+
+# Don't repeat myself (much, anyway):
+buildit() {
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
+ "$@"
+ make
+ make install-strip DESTDIR=$PKG
+}
+
+### this builds the terminal binary (qodem):
+buildit
+
+### now start over, prepare to build the x11 binary (qodem-x11):
+make distclean
+
+# we have to build these separately, for parallel builds (-jN, N>1):
+make -C lib/pdcurses
+make -C lib/upnp
+
+# sub-projects built, now we can build qodem-x11:
+buildit --enable-x11
+
+### everything else:
+
+# This script isn't useful. All it would ever do is "exec qodem-x11", since
+# our package includes that.
+rm -f $PKG/usr/bin/x$PRGNAM $PKG/usr/man/man1/x$PRGNAM.1
+
+# There was no documentation for the conversion scripts, so I wrote some:
+cat $CWD/qodem-convert.1 > $PKG/usr/man/man1/qodem-convert.1
+
+# All man pages in place, so:
+gzip -9 $PKG/usr/man/man*/*
+
+# useful-looking stuff in misc/, include in package:
+for i in ibbs syncterm; do
+ cp -a misc/convert_${i}.pl $PKG/usr/bin/qodem-convert-$i
+ ln -s qodem-convert.1.gz $PKG/usr/man/man1/qodem-convert-$i.1.gz
+done
+
+# qodem-x11 doesn't seem to use this font when in PETSCII mode, but
+# it works OK if you run qodem in a terminal using the font:
+mkdir -p $PKG/usr/share/fonts/TTF
+cp -a misc/fonts/C64_Pro_Mono-STYLE.ttf $PKG/usr/share/fonts/TTF
+
+# .desktop files written by SlackBuild author:
+mkdir -p $PKG/usr/share/applications
+install -oroot -groot -m0644 $CWD/$PRGNAM*.desktop $PKG/usr/share/applications
+
+# Upstream provided icons at various sizes:
+cp build/icons/qodem.png build/osx/icons/qodem-64.png
+for png in build/osx/icons/qodem-*.png; do
+ px="$( basename $png .png | cut -d- -f2 )"
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ cat $png > $dir/$PRGNAM.png
+done
+
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# Most of what's in docs/ is developer-oriented, but the PD
+# announcement is the closest thing we've got to a license...
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a C* README* docs/pd_announcement2.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# It works out OK to use the same script for doinst.sh and douninst.sh.
+# Result is that it truly does clean up after itself.
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qodem/qodem.desktop b/network/qodem/qodem.desktop
new file mode 100644
index 0000000000..523db54cde
--- /dev/null
+++ b/network/qodem/qodem.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Name=Qodem (curses)
+Comment=ANSI-BBS Terminal
+Comment[es]=Emulador de Terminal ANSI-BBS
+Icon=qodem
+Exec=qodem %u
+Terminal=true
+Categories=TerminalEmulator;Network;Dialup;
+Keywords=BBS;Terminal;Ansi;
diff --git a/network/qodem/qodem.info b/network/qodem/qodem.info
new file mode 100644
index 0000000000..b542a46e41
--- /dev/null
+++ b/network/qodem/qodem.info
@@ -0,0 +1,10 @@
+PRGNAM="qodem"
+VERSION="1.0.1"
+HOMEPAGE="https://qodem.sourceforge.net/"
+DOWNLOAD="https://gitlab.com/AutumnMeowMeow/qodem/-/archive/v1.0.1/qodem-v1.0.1.tar.gz"
+MD5SUM="57d58342377a7232e7bf66246d6a18e6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/qodem/slack-desc b/network/qodem/slack-desc
new file mode 100644
index 0000000000..12885b8c96
--- /dev/null
+++ b/network/qodem/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qodem: qodem (BBS-oriented terminal emulator)
+qodem:
+qodem: qodem is a from-scratch clone implementation of the Qmodem
+qodem: communications program made popular in the days when Bulletin Board
+qodem: Systems ruled the night. Qodem emulates the dialing directory and
+qodem: the terminal screen features of Qmodem over both modem and Internet
+qodem: connections.
+qodem:
+qodem: qodem also emulates ATASCII (Atari 8-bit) and PETSCII (Commodore
+qodem: 8-bit), and can be used to run a local shell.
+qodem:
diff --git a/network/qtmib/README b/network/qtmib/README
index 37f97e181a..938df0ebb0 100644
--- a/network/qtmib/README
+++ b/network/qtmib/README
@@ -1,10 +1,10 @@
qtmib (graphical SNMP MIB Browser)
-qtmib is an easy-to-use SNMP MIB Browser based on the Qt4 library. It is a
-front-end for net-snmp, and it allows the user to query any SNMP-enabled
-device. It implements SNMPv1 and SNMPv2c, and it is released under the
-GPLv2 license.
+qtmib is an easy-to-use SNMP MIB Browser based on the Qt library. It
+is a front-end for net-snmp, and it allows the user to query any
+SNMP-enabled device. It implements SNMPv1 and SNMPv2c, and it is
+released under the GPLv2 license.
-qtmib supports a large number of MIBs out of the box. It currently tracks
-the netdisco MIB archive. You can also install private MIBs by dropping
-them in the ~/.config/qtmib/mibs directory.
+qtmib supports a large number of MIBs out of the box. It currently
+tracks the netdisco MIB archive. You can also install private MIBs by
+dropping them in the ~/.config/qtmib/mibs directory.
diff --git a/network/qtmib/doinst.sh b/network/qtmib/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/network/qtmib/doinst.sh
+++ b/network/qtmib/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/qtmib/git2tarxz.sh b/network/qtmib/git2tarxz.sh
new file mode 100644
index 0000000000..ad0d4eaa07
--- /dev/null
+++ b/network/qtmib/git2tarxz.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=qtmib
+CLONE_URL=https://github.com/ac0ra/qtmib
+
+# Upstream is a fork from this version. They don't use tags...
+HARDCODED_VER=1.1.1
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR --depth 1
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=1.1.1+${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/network/qtmib/qtmib.SlackBuild b/network/qtmib/qtmib.SlackBuild
index c1ac26ce26..5fe40fe72b 100644
--- a/network/qtmib/qtmib.SlackBuild
+++ b/network/qtmib/qtmib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qtmib
@@ -26,15 +26,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230103 bkw: BUILD=2
+# - one of upstream's icons is the wrong size...
+# - slack-desc, s/Qt4/Qt/ to match the README.
+
+# 20211210 bkw:
+# - update for 1.1.1+20190827_e62ab95 (latest git, supports qt5).
+# - new-style icons.
+
# 20200129 bkw:
# - take over maintenance
# - actually use SLKCFLAGS
# - grammar nitpicks in README, slack-desc
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qtmib
-VERSION=${VERSION:-1.1.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.1.1+20190827_e62ab95}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +55,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,12 +84,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# Yes, we really do have to do this.
+autoreconf -if
+
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -87,6 +105,28 @@ make
make install DESTDIR=$PKG
strip $PKG/usr/bin/*
+# 20230103 bkw: this icon is 256x257 (huh?)
+convert -resize 256x256! src/art/$PRGNAM-256.png x.png
+mv x.png src/art/$PRGNAM-256.png
+
+HICOLOR=$PKG/usr/share/icons/hicolor/
+PIXMAPS=$PKG/usr/share/pixmaps
+for png in src/art/$PRGNAM-*.png; do
+ px="$( basename $png .png | cut -d- -f2 )"
+ size=${px}x${px}
+ dir=$HICOLOR/$size/apps
+ mkdir -p $dir
+ cp -a $png $dir/$PRGNAM.png
+done
+
+# don't install qtmib.svg in scalable/, it looks weird.
+
+mkdir -p $HICOLOR/48x48/apps
+convert -resize 48x48 src/art/$PRGNAM-256.png $HICOLOR/48x48/apps/$PRGNAM.png
+
+rm -f $PIXMAPS/*
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README RELNOTES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,4 +136,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qtmib/qtmib.info b/network/qtmib/qtmib.info
index d82bc975e6..e935f804d2 100644
--- a/network/qtmib/qtmib.info
+++ b/network/qtmib/qtmib.info
@@ -1,10 +1,10 @@
PRGNAM="qtmib"
-VERSION="1.1.1"
-HOMEPAGE="http://qtmib.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/qtmib/files/qtmib/qtmib-1.1.1.tar.bz2"
-MD5SUM="1715ae9c88e1f0d355f9a93b3248455e"
+VERSION="1.1.1+20190827_e62ab95"
+HOMEPAGE="https://github.com/ac0ra/qtmib"
+DOWNLOAD="https://slackware.uk/~urchlay/src/qtmib-1.1.1+20190827_e62ab95.tar.xz"
+MD5SUM="8b84f7a5c069ef012d54ef41d27477f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/qtmib/slack-desc b/network/qtmib/slack-desc
index b38ac5aeef..bc4720a14a 100644
--- a/network/qtmib/slack-desc
+++ b/network/qtmib/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
qtmib: qtmib (graphical SNMP MIB Browser)
qtmib:
-qtmib: qtmib is an easy-to-use SNMP MIB Browser based on the Qt4 library. It
+qtmib: qtmib is an easy-to-use SNMP MIB Browser based on the Qt library. It
qtmib: is a front-end for net-snmp, and it allows the user to query any
qtmib: SNMP-enabled device. It implements SNMPv1 and SNMPv2c, and it is
qtmib: released under the GPLv2 license.
diff --git a/network/quagga/quagga.SlackBuild b/network/quagga/quagga.SlackBuild
index c6e44fe5b5..b22f97c2ff 100644
--- a/network/quagga/quagga.SlackBuild
+++ b/network/quagga/quagga.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Quagga routing suite
# Written by zhilla2_at_gm@il.kkom (spamprotected, figure domain out)
@@ -7,10 +7,13 @@
# Don't forget to set USE_PAM if you use it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=quagga
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,7 +23,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,7 +98,7 @@ USE_PAM=${USE_PAM:-NO}
if [ "$USE_PAM" == 'YES' ]; then
DO_PAM="--with-libpam"
- zcat $CWD/vtysh_user.c.diff.gz | patch -p1
+ cat $CWD/vtysh_user.c.diff.gz | patch -p1
mkdir -p $PKG/etc/pam.d
cat $CWD/quagga.pam > $PKG/etc/pam.d/quagga
else
@@ -96,8 +106,9 @@ else
fi
#./bootstrap.sh
+autoreconf -fi
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -143,6 +154,8 @@ cp -a \
AUTHORS ChangeLog COPYING* README INSTALL REPORTING-BUGS TODO SERVICES \
$PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
@@ -155,4 +168,4 @@ mkdir -p $PKG/etc/logrotate.d
cat $CWD/quagga.logrotate > $PKG/etc/logrotate.d/quagga.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/quagga/quagga.info b/network/quagga/quagga.info
index 442f6f6a18..21efebc7ba 100644
--- a/network/quagga/quagga.info
+++ b/network/quagga/quagga.info
@@ -1,10 +1,10 @@
PRGNAM="quagga"
VERSION="1.2.4"
HOMEPAGE="http://www.nongnu.org/quagga/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/quagga/quagga-1.2.4.tar.gz"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/quagga-1.2.4.tar.gz"
MD5SUM="eced21b054d71c9e1b7c6ac43286a166"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="c-ares"
+REQUIRES=""
MAINTAINER="Wayne Cuddy"
EMAIL="wcuddy@gmail.com"
diff --git a/network/quagga/vtysh_user.c.diff b/network/quagga/vtysh_user.c.diff
new file mode 100644
index 0000000000..7dfad30861
--- /dev/null
+++ b/network/quagga/vtysh_user.c.diff
@@ -0,0 +1,7 @@
+--- old/vtysh/vtysh_user.c.orig 2006-11-03 01:53:58.000000000 +0100
++++ new/vtysh/vtysh_user.c 2006-11-03 01:59:02.000000000 +0100
+@@ -60,2 +60,4 @@ vtysh_pam (const char *user)
+ ret = pam_authenticate (pamh, 0);
++ if (ret != PAM_SUCCESS)
++ printf("Not authenticated. Check /etc/pam.d/quagga.\n");
+ /* printf ("ret %d\n", ret); */
diff --git a/network/quagga/vtysh_user.c.diff.gz b/network/quagga/vtysh_user.c.diff.gz
deleted file mode 100644
index 4bdc3d8455..0000000000
--- a/network/quagga/vtysh_user.c.diff.gz
+++ /dev/null
Binary files differ
diff --git a/network/quassel-qt5/README b/network/quassel-qt5/README
deleted file mode 100644
index d89249ddc3..0000000000
--- a/network/quassel-qt5/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Quassel IRC with Qt5 support is a modern, cross-platform, distributed
-IRC client, meaning that one (or multiple) client(s) can attach to and
-detach from a central core - much like the popular combination of screen
-and a text-based IRC client such as WeeChat, but graphical.
-
-This build creates three binaries - quassel, quasselclient, and
-quasselcore.
-
-Please see the README.SBo file for a fuller description.
diff --git a/network/quassel-qt5/README.SBo b/network/quassel-qt5/README.SBo
deleted file mode 100644
index 205e9cf90e..0000000000
--- a/network/quassel-qt5/README.SBo
+++ /dev/null
@@ -1,19 +0,0 @@
-From the Quassel wiki at:
-http://bugs.quassel-irc.org/projects/quassel-irc/wiki
-
-Quassel is a program to connect to an IRC network. It has the unique
-ability to split the graphical component (quasselclient) from the part
-that handles the IRC connection (quasselcore). This means that you can
-have a remote core permanently connected to one or more IRC networks and
-attach a client from wherever you are without moving around any
-information or settings. However, Quassel can easily behave like any
-other client by combining them into one binary which is referred to as
-"Quassel Mono".
-
-In simpler terms, the "monolithic" client is a response to requests for
-a client that behaves like every other IRC client. The monolithic client
-(GUI) is what makes the connections to the IRC networks. In normal
-operation, the client (GUI) connects to a core, it is completely
-incapable of connecting to anything else. The core receives connections
-from clients, and makes connections to the IRC networks, it also handles
-logging (currently everything gets put in the database).
diff --git a/network/quassel-qt5/quassel-qt5.SlackBuild b/network/quassel-qt5/quassel-qt5.SlackBuild
deleted file mode 100644
index c136a341d9..0000000000
--- a/network/quassel-qt5/quassel-qt5.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for quassel
-
-# Written by crocket (crockabiscuit@gmail.com)
-# Copyright 2017-2019 Donald Cooley South Haven, IN USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=quassel-qt5
-SRCNAM=quassel
-VERSION=${VERSION:-0.13.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . \
-\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
-\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWANT_CORE=ON \
- -DWANT_MONO=ON \
- -DWANT_QTCLIENT=ON \
- -DUSE_QT4=OFF \
- -DWITH_KDE=OFF \
- -DWITH_BUNDLED_ICONS=ON \
- -DWITH_OXYGEN_ICONS=OFF \
- -DWITH_WEBENGINE=ON \
- -DWITH_WEBKIT=OFF \
- -DSTATIC=OFF \
- -DEMBED_DATA=OFF \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README* ChangeLog gpl-2.0.txt gpl-3.0.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/quassel-qt5/quassel-qt5.info b/network/quassel-qt5/quassel-qt5.info
deleted file mode 100644
index fb2b563490..0000000000
--- a/network/quassel-qt5/quassel-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="quassel-qt5"
-VERSION="0.13.1"
-HOMEPAGE="https://quassel-irc.org/"
-DOWNLOAD="https://quassel-irc.org/pub/quassel-0.13.1.tar.bz2"
-MD5SUM="7f9b8074632262a392c1d00936808d03"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qca-qt5"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/network/quassel-qt5/slack-desc b/network/quassel-qt5/slack-desc
deleted file mode 100644
index 84017f9688..0000000000
--- a/network/quassel-qt5/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-quassel-qt5: quassel-qt5 (A modern, cross-platform, distributed IRC client)
-quassel-qt5:
-quassel-qt5: Quassel IRC with Qt5 support is a modern, cross-platform, distributed
-quassel-qt5: IRC client, meaning that one (or multiple) client(s) can attach to and
-quassel-qt5: detach from a central core - much like the popular combination of
-quassel-qt5: screen and a text-based IRC client such as WeeChat, but graphical.
-quassel-qt5:
-quassel-qt5:
-quassel-qt5: https://quassel-irc.org
-quassel-qt5:
-quassel-qt5:
diff --git a/network/quassel/README b/network/quassel/README
index 1d76bcd7e2..7700480c6d 100644
--- a/network/quassel/README
+++ b/network/quassel/README
@@ -1,3 +1,5 @@
+quassel (A modern, cross-platform, distributed IRC client)
+
Quassel IRC is a modern, cross-platform, distributed IRC client, meaning
that one (or multiple) client(s) can attach to and detach from a central
core - much like the popular combination of screen and a text-based IRC
diff --git a/network/quassel/quassel.SlackBuild b/network/quassel/quassel.SlackBuild
index be311d6826..86fa02e958 100644
--- a/network/quassel/quassel.SlackBuild
+++ b/network/quassel/quassel.SlackBuild
@@ -1,32 +1,25 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for quassel
# Written by crocket (crockabiscuit@gmail.com)
# Copyright 2017-2019 Donald Cooley South Haven, IN USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Copyright 2022 B. Watson <urchlay@slackware.uk>
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20220425 bkw: BUILD=2
+# - take over maintenance.
+# - remove useless INSTALL from doc dir.
+# - use .tar.xz download.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=quassel
-VERSION=${VERSION:-0.13.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.14.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,14 +58,17 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# 20220425 bkw: note to self: the -DWITH_WEBKIT=ON is for QtWebKit,
+# part of Slackware's qt5 package. It has nothing to do with webkit2gtk.
mkdir -p build
cd build
@@ -80,7 +80,7 @@ cd build
-DWANT_CORE=ON \
-DWANT_MONO=ON \
-DWANT_QTCLIENT=ON \
- -DUSE_QT4=ON \
+ -DUSE_QT4=OFF \
-DWITH_KDE=ON \
-DWITH_BUNDLED_ICONS=ON \
-DWITH_OXYGEN_ICONS=ON \
@@ -90,16 +90,11 @@ cd build
-DEMBED_DATA=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README* ChangeLog gpl-2.0.txt gpl-3.0.txt \
+cp -a AUTHORS COPYING README* ChangeLog gpl-2.0.txt gpl-3.0.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -108,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/quassel/quassel.info b/network/quassel/quassel.info
index a4e583423a..0367f4e6a8 100644
--- a/network/quassel/quassel.info
+++ b/network/quassel/quassel.info
@@ -1,10 +1,10 @@
PRGNAM="quassel"
-VERSION="0.13.1"
+VERSION="0.14.0"
HOMEPAGE="https://quassel-irc.org/"
-DOWNLOAD="https://quassel-irc.org/pub/quassel-0.13.1.tar.bz2"
-MD5SUM="7f9b8074632262a392c1d00936808d03"
+DOWNLOAD="https://quassel-irc.org/pub/quassel-0.14.0.tar.xz"
+MD5SUM="92b3e9dc27f5d9692445292e83ee728d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/quassel/slack-desc b/network/quassel/slack-desc
index dbb7dda9c1..659711f138 100644
--- a/network/quassel/slack-desc
+++ b/network/quassel/slack-desc
@@ -13,7 +13,7 @@ quassel: meaning that one (or multiple) client(s) can attach to and detach
quassel: from a central core - much like the popular combination of screen and
quassel: a text-based IRC client such as WeeChat, but graphical.
quassel:
+quassel: https://quassel-irc.org
quassel:
quassel:
-quassel: https://quassel-irc.org
quassel:
diff --git a/network/qutebrowser-bin/README b/network/qutebrowser-bin/README
new file mode 100644
index 0000000000..49fca7d063
--- /dev/null
+++ b/network/qutebrowser-bin/README
@@ -0,0 +1,19 @@
+Qutebrowser is a keyboard-focused browser with a minimal GUI. It's based
+on Python and Qt and free software, licensed under the GPL.
+
+It was inspired by other browsers/addons like dwb and
+Vimperator/Pentadactyl.
+
+This SlackBuild installs all needed dependencies in a virtual
+environment subfolder. This comes with an up-to-date Qt/PyQt including a
+pre-compiled QtWebEngine binary, but has a couple of caveats:
+* It only works on 64-bit x86 systems.
+* It comes with a QtWebEngine compiled without proprietary codec support
+ (such as h.264).
+
+qt6 needed for this script can be built without webengine to speed up
+compilation. If such an option is not available, just replace the line
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
+with
+tar xvf $CWD/$SRCNAM-$VERSION.tar.xz --exclude=qtwebengine
+in qt6.SlackBuild.
diff --git a/network/qutebrowser-bin/README.SBo b/network/qutebrowser-bin/README.SBo
new file mode 100644
index 0000000000..b097c0de19
--- /dev/null
+++ b/network/qutebrowser-bin/README.SBo
@@ -0,0 +1,37 @@
+Qutebrowser crashes
+===================
+
+If qutebrowser starts to crash, its cache may be corrupt. This often
+happens after an upgrade. To remove the cache run:
+rm -rf ~/.cache/qutebrowser/
+rm -rf ~/.local/share/qutebrowser/webengine/Application\ Cache/
+rm -rf ~/.local/share/qutebrowser/webengine/GPUCache
+rm -rf ~/.local/share/qutebrowser/webengine/Service\ Worker/CacheStorage
+rm -rf ~/.local/share/qutebrowser/webengine/Service\ Worker/ScriptCache
+
+Widevine support
+================
+
+Widevine DRM support requires libwidevinecdm.so plugin. Qutebrowser
+searches for it in the following directories:
+
+/opt/google/chrome
+/usr/lib/chromium
+/usr/lib64/chromium
+/usr/lib/chromium-browser
+
+Also the path to libwidevinecdm.so can be passed via qt.args setting:
+:set qt.args "['widevine-path=/path/to/libwidevinecdm.so']"
+
+libwidevinecdm.so can be download at
+https://dl.google.com/widevine-cdm/X.X.X.X-linux-x64.zip
+and manually put to one of the above directories. The version "X.X.X.X"
+to download can be found at
+https://dl.google.com/widevine-cdm/versions.txt
+
+libwidevinecdm.so provided by google-chrome from /extra, Alien Bob's
+chromium-widevine-plugin, etc. can be used as well.
+
+To test the Widevine DRM support, go to
+https://shaka-player-demo.appspot.com/demo/
+and play the Sintel video.
diff --git a/network/qutebrowser-bin/doinst.sh b/network/qutebrowser-bin/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/qutebrowser-bin/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/qutebrowser-bin/qutebrowser-bin.SlackBuild b/network/qutebrowser-bin/qutebrowser-bin.SlackBuild
new file mode 100644
index 0000000000..81c434bd9f
--- /dev/null
+++ b/network/qutebrowser-bin/qutebrowser-bin.SlackBuild
@@ -0,0 +1,168 @@
+#!/bin/bash
+
+# Slackware build script for qutebrowser-bin
+
+# Copyright 2019-2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qutebrowser-bin
+VERSION=${VERSION:-3.1.0}
+SSLVERSION=${SSLVERSION:-3.2.1}
+BUILD=${BUILD:-4}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "Only x86_64 is supported."
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/opt $OUTPUT
+cd $PKG/opt
+tar xvf $CWD/qutebrowser-$VERSION.tar.gz
+mv qutebrowser-$VERSION qutebrowser
+cd qutebrowser
+sed -i.bak "s|\(run_venv(venv_dir, 'python', '-m', 'pip', 'install',\)|\1 \
+'--no-index', '--find-links=$CWD/',|" scripts/mkvenv.py
+
+sed -i "/env\['PATH'\] = str(bin_path) + os.pathsep + env\['PATH'\]/d" \
+ scripts/asciidoc2html.py
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 scripts/mkvenv.py --skip-smoke-test
+
+mv scripts/mkvenv.py.bak scripts/mkvenv.py
+
+find ./ -type f -name '*.pyc' -delete
+find ./ -type d -name '__pycache__' -delete
+find ./ -type f -exec sed -i -e "s|$PKG||" {} \;
+find ./ -type f -exec sed -i -e \
+ '1,2 s|^#!/usr/bin/env python.*$|#!/opt/qutebrowser/.venv/bin/python3|' {} \;
+.venv/bin/python3 -m compileall scripts/__init__.py \
+ scripts/setupcommon.py scripts/utils.py -fq
+.venv/bin/python3 -m compileall .venv/lib -fq
+
+find -L .venv/lib -type f -name "*.so" -exec chmod 755 {} \;
+
+.venv/bin/python3 scripts/asciidoc2html.py
+a2x -f manpage doc/qutebrowser.1.asciidoc
+gzip -9 doc/qutebrowser.1
+mkdir -p $PKG/usr/man/man1
+mv doc/qutebrowser.1.gz $PKG/usr/man/man1
+
+mkdir -p $PKG/usr/share/{metainfo,applications,icons/hicolor/scalable/apps,pixmaps,qutebrowser/pdf.js}
+install -m 0644 misc/org.qutebrowser.qutebrowser.appdata.xml \
+ $PKG/usr/share/metainfo/
+install -m 0644 misc/org.qutebrowser.qutebrowser.desktop \
+ $PKG/usr/share/applications
+for res in 16 24 32 48 64 96 128 256 512; do
+ mkdir -p $PKG/usr/share/icons/hicolor/${res}x${res}/apps/;
+ install -m 0644 "qutebrowser/icons/qutebrowser-${res}x${res}.png" \
+"$PKG/usr/share/icons/hicolor/${res}x${res}/apps/qutebrowser.png"
+done
+install -m 0644 "qutebrowser/icons/qutebrowser.svg" \
+ $PKG/usr/share/icons/hicolor/scalable/apps/
+install -m 0644 "qutebrowser/icons/qutebrowser.xpm" $PKG/usr/share/pixmaps/
+
+cp -a misc/userscripts $PKG/usr/share/qutebrowser
+cp -a scripts $PKG/usr/share/qutebrowser
+rm -rf $PKG/usr/share/qutebrowser/scripts/{__pycache__,dev,testbrowser,__init__.py,asciidoc2html.py,setupcommon.py,link_pyqt.py}
+
+mkdir -p $PKG/usr/bin
+install -m 0755 -o root -g root $CWD/wrapper.qutebrowser \
+ $PKG/usr/bin/qutebrowser
+
+find ./ -type f -exec sed -i -e \
+ 's|/usr/share/pdf.js|/usr/share/qutebrowser/pdf.js|' {} \;
+cd $PKG/usr/share/qutebrowser/pdf.js
+unzip $CWD/pdfjs-*-dist.zip
+chown -R root:root $PKG/usr/share/qutebrowser/pdf.js
+find ./ -type f -exec chmod 644 {} \;
+
+cd $TMP
+rm -rf openssl-$SSLVERSION
+tar xvf $CWD/openssl-$SSLVERSION.tar.gz
+cd openssl-$SSLVERSION
+./config \
+ zlib \
+ enable-camellia \
+ enable-seed \
+ enable-rfc3779 \
+ enable-cms \
+ enable-md2 \
+ enable-rc5 \
+ enable-ssl3 \
+ enable-ssl3-method \
+ no-weak-ssl-ciphers \
+ no-mdc2 \
+ no-ec2m \
+ no-sm2 \
+ no-sm4 \
+ no-sse2 \
+ shared
+
+make
+
+mv libcrypto.so.3 libssl.so.3 $PKG/opt/qutebrowser
+cd $PKG/opt/qutebrowser
+ln -s libssl.so.3 libssl.so
+ln -s libcrypto.so.3 libcrypto.so
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/opt/qutebrowser/README.asciidoc $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qutebrowser-bin/qutebrowser-bin.info b/network/qutebrowser-bin/qutebrowser-bin.info
new file mode 100644
index 0000000000..61e6f74757
--- /dev/null
+++ b/network/qutebrowser-bin/qutebrowser-bin.info
@@ -0,0 +1,46 @@
+PRGNAM="qutebrowser-bin"
+VERSION="3.1.0"
+HOMEPAGE="https://qutebrowser.org"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/qutebrowser/qutebrowser/archive/v3.1.0/qutebrowser-3.1.0.tar.gz \
+ https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl \
+ https://files.pythonhosted.org/packages/bb/e1/ed2dd0850446b8697ad28d118df885ad04140c64ace06c4bd559f7c8a94f/setuptools-69.0.2-py3-none-any.whl \
+ https://files.pythonhosted.org/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl \
+ https://files.pythonhosted.org/packages/0b/5a/51f4762b9f314b5577d17704bc1280532a725ba359d6cc177ab6de692035/PyQt6-6.6.1-cp38-abi3-manylinux_2_28_x86_64.whl \
+ https://files.pythonhosted.org/packages/d5/64/7b8983341e4f8748f0d76ebc69c2740cb0d19a49f14f7d83db3b079c4abe/PyQt6_Qt6-6.6.1-py3-none-manylinux_2_28_x86_64.whl \
+ https://files.pythonhosted.org/packages/e2/21/be11813fb40cce933afa2a3e523aa998ca1089f1678bdb5ab11d19b305e2/PyQt6_sip-13.6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl \
+ https://files.pythonhosted.org/packages/36/91/50982f28730c893a8c68b0e92debc761e8a475cf1df686dee22a4c255316/PyQt6_WebEngine-6.6.0-cp37-abi3-manylinux_2_28_x86_64.whl \
+ https://files.pythonhosted.org/packages/45/56/ac52d42ad9949714dffbbaee29717a79273fbeb2ea1f8a0b63a7b6b75f40/PyQt6_WebEngine_Qt6-6.6.1-py3-none-manylinux_2_28_x86_64.whl \
+ https://files.pythonhosted.org/packages/06/26/39fad77ba6fe8bd5b1c5ebe411ea84a768075f40caa5400e889678de39b3/adblock-0.6.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl \
+ https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl \
+ https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl \
+ https://files.pythonhosted.org/packages/de/63/cb7e71984e9159ec5f45b5e81e896c8bdd0e45fe3fc6ce02ab497f0d790e/MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl \
+ https://files.pythonhosted.org/packages/97/9c/372fef8377a6e340b1704768d20daaded98bf13282b5327beb2e2fe2c7ef/pygments-2.17.2-py3-none-any.whl \
+ https://files.pythonhosted.org/packages/7d/39/472f2554a0f1e825bd7c5afc11c817cd7a2f3657460f7159f691fbb37c51/PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl \
+ https://files.pythonhosted.org/packages/d9/66/48866fc6b158c81cc2bfecc04c480f105c6040e8b077bc54c634b4a67926/zipp-3.17.0-py3-none-any.whl \
+ https://files.pythonhosted.org/packages/ff/1d/8f96eb0ce05f20e5d0722a3e910627a26a382c81f40c7292faa91545e43f/asciidoc-10.2.0-py2.py3-none-any.whl \
+ https://www.openssl.org/source/openssl-3.2.1.tar.gz \
+ https://github.com/mozilla/pdf.js/releases/download/v4.0.379/pdfjs-4.0.379-dist.zip"
+MD5SUM_x86_64="a4613158902f61af23c2b38f1ad427aa \
+ 5d2d058044a3ae2800d18e358ddc72ca \
+ f096ed836f4036a11aa277fa16dc09ff \
+ 779d91395ceb12e15e3a585b30b53f9f \
+ 8e724abf93f1861c98705a1eaaf2eabf \
+ bde446baa891d9c22a3ddb1496476aea \
+ 260fb515820b6dc4878df9288a8eea55 \
+ 5086b644a2e12f110878aee8d3282a2b \
+ d8d0d2f0c6ec1dafefac241836a0712b \
+ c8653c10db5900c22054b27a03924988 \
+ 3fc7a89530d68d7ea231ebe779c0db9c \
+ 00ccdb509d3592cc2163b286177d75c8 \
+ c2388278e7f7c4bb11ae830da5a071cc \
+ 05bab8cd38860c62d6e146ec2949fefe \
+ 4d6e421811f9057f61344a07257dbc26 \
+ d93f0b8485000b37800a6de09ed6c1cb \
+ d47ea986a8945257f0f54e92455d198f \
+ c239213887804ba00654884918b37441 \
+ 0e74e78c467097afeb1ddafbc290a05a"
+REQUIRES="qt6"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/qutebrowser-bin/slack-desc b/network/qutebrowser-bin/slack-desc
new file mode 100644
index 0000000000..44be0b27b1
--- /dev/null
+++ b/network/qutebrowser-bin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qutebrowser-bin: qutebrowser-bin (keyboard-focused browser)
+qutebrowser-bin:
+qutebrowser-bin: Qutebrowser is a keyboard-focused browser with a minimal GUI. It's
+qutebrowser-bin: based on Python and Qt and free software, licensed under the GPL.
+qutebrowser-bin:
+qutebrowser-bin: It was inspired by other browsers/addons like dwb and
+qutebrowser-bin: Vimperator/Pentadactyl.
+qutebrowser-bin:
+qutebrowser-bin: This script installs all needed dependencies in a .venv subfolder.
+qutebrowser-bin:
+qutebrowser-bin: Homepage: https://www.qutebrowser.org
diff --git a/network/qutebrowser-bin/wrapper.qutebrowser b/network/qutebrowser-bin/wrapper.qutebrowser
new file mode 100644
index 0000000000..179325561c
--- /dev/null
+++ b/network/qutebrowser-bin/wrapper.qutebrowser
@@ -0,0 +1,3 @@
+#!/bin/bash
+LD_LIBRARY_PATH="/opt/qutebrowser" \
+setsid /opt/qutebrowser/.venv/bin/python3 -m qutebrowser "$@"
diff --git a/network/qutebrowser-tox/README b/network/qutebrowser-tox/README
deleted file mode 100644
index 7b852e17a5..0000000000
--- a/network/qutebrowser-tox/README
+++ /dev/null
@@ -1,15 +0,0 @@
-Qutebrowser is a keyboard-focused browser with a minimal vim-like GUI.
-It's based on Qt and PyQt5 and free software, licensed under the GPL.
-
-It was inspired by other browsers/addons like dwb and
-Vimperator/Pentadactyl.
-
-This SlackBuild installs all needed dependencies in a virtual
-environment subfolder. This comes with an up-to-date Qt/PyQt including a
-pre-compiled QtWebEngine binary, but has a couple of caveats:
-* It only works on 64-bit x86 systems.
-* It comes with a QtWebEngine compiled without proprietary codec support
- (such as h.264).
-
-Before version 1.10.0 this SlackBuild used tox to manage virtualenv,
-hence the name of the SlackBuild.
diff --git a/network/qutebrowser-tox/README.SBo b/network/qutebrowser-tox/README.SBo
deleted file mode 100644
index 829582a8cf..0000000000
--- a/network/qutebrowser-tox/README.SBo
+++ /dev/null
@@ -1,34 +0,0 @@
-Qutebrowser crashes
-===================
-
-If qutebrowser starts to crash, its cache may be corrupt. This often
-happens after an upgrade. To remove the cache run:
-rm -rf ~/.cache/qutebrowser/
-rm -rf ~/.local/share/qutebrowser/webengine/Application\ Cache/
-rm -rf ~/.local/share/qutebrowser/webengine/GPUCache
-rm -rf ~/.local/share/qutebrowser/webengine/Service\ Worker/CacheStorage
-rm -rf ~/.local/share/qutebrowser/webengine/Service\ Worker/ScriptCache
-
-Widevine support
-================
-
-Widevine DRM support requires libwidevinecdm.so plugin. Qutebrowser
-searches for it in the following directories:
-
-/opt/google/chrome
-/usr/lib/chromium
-/usr/lib64/chromium
-/usr/lib/chromium-browser
-
-libwidevinecdm.so can be download at
-https://dl.google.com/widevine-cdm/X.X.X.X-linux-x64.zip
-and manually put to one of the above directories. The version "X.X.X.X"
-to download can be found at
-https://dl.google.com/widevine-cdm/versions.txt
-
-libwidevinecdm.so provided by google-chrome from /extra, Alien Bob's
-chromium-widevine-plugin, etc. can be used as well.
-
-To test the Widevine DRM support, go to
-https://shaka-player-demo.appspot.com/demo/
-and play the Sintel video.
diff --git a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild b/network/qutebrowser-tox/qutebrowser-tox.SlackBuild
deleted file mode 100644
index 08ea84a3f0..0000000000
--- a/network/qutebrowser-tox/qutebrowser-tox.SlackBuild
+++ /dev/null
@@ -1,156 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qutebrowser-tox
-
-# Copyright 2019-2021, Alexander Verbovetsky, Moscow, Russia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=qutebrowser-tox
-VERSION=${VERSION:-2.0.2}
-SSLVERSION=${SSLVERSION:-1.1.1i}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" != "x86_64" ]; then
- echo "Only x86_64 is supported."
- exit 1
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG/opt $OUTPUT
-cd $PKG/opt
-tar xvf $CWD/qutebrowser-$VERSION.tar.gz
-mv qutebrowser-$VERSION qutebrowser
-cd qutebrowser
-sed -i.bak "s|\(run_venv(venv_dir, 'python', '-m', 'pip', 'install',\)|\1 \
-'--no-index', '--find-links=$CWD/',|" scripts/mkvenv.py
-
-sed -i "/env\['PATH'\] = str(bin_path) + os.pathsep + env\['PATH'\]/d" \
- scripts/asciidoc2html.py
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python3 scripts/mkvenv.py --skip-smoke-test
-
-mv scripts/mkvenv.py.bak scripts/mkvenv.py
-
-find ./ -type f -name '*.pyc' -delete
-find ./ -type d -name '__pycache__' -delete
-find ./ -type f -exec sed -i -e "s|$PKG||" {} \;
-find ./ -type f -exec sed -i -e \
- '1,2 s|^#!/usr/bin/env python.*$|#!/opt/qutebrowser/.venv/bin/python3|' {} \;
-.venv/bin/python3 -m compileall scripts/__init__.py \
- scripts/setupcommon.py scripts/utils.py -fq
-.venv/bin/python3 -m compileall .venv/lib -fq
-
-.venv/bin/python3 scripts/asciidoc2html.py
-a2x -f manpage doc/qutebrowser.1.asciidoc
-gzip -9 doc/qutebrowser.1
-mkdir -p $PKG/usr/man/man1
-mv doc/qutebrowser.1.gz $PKG/usr/man/man1
-
-mkdir -p $PKG/usr/share/{metainfo,applications,icons/hicolor/scalable/apps,pixmaps,qutebrowser/pdf.js}
-install -m 0644 misc/org.qutebrowser.qutebrowser.appdata.xml \
- $PKG/usr/share/metainfo/
-install -m 0644 misc/org.qutebrowser.qutebrowser.desktop \
- $PKG/usr/share/applications
-for res in 16 24 32 48 64 96 128 256 512; do
- mkdir -p $PKG/usr/share/icons/hicolor/${res}x${res}/apps/;
- install -m 0644 "icons/qutebrowser-${res}x${res}.png" \
-"$PKG/usr/share/icons/hicolor/${res}x${res}/apps/qutebrowser.png"
-done
-install -m 0644 "icons/qutebrowser.svg" \
- $PKG/usr/share/icons/hicolor/scalable/apps/
-install -m 0644 "icons/qutebrowser.xpm" $PKG/usr/share/pixmaps/
-
-cp -a misc/userscripts $PKG/usr/share/qutebrowser
-cp -a scripts $PKG/usr/share/qutebrowser
-rm -rf $PKG/usr/share/qutebrowser/scripts/{__pycache__,dev,testbrowser,__init__.py,asciidoc2html.py,setupcommon.py,link_pyqt.py}
-
-mkdir -p $PKG/usr/bin
-install -m 0755 -o root -g root $CWD/wrapper.qutebrowser \
- $PKG/usr/bin/qutebrowser
-
-find ./ -type f -exec sed -i -e \
- 's|/usr/share/pdf.js|/usr/share/qutebrowser/pdf.js|' {} \;
-cd $PKG/usr/share/qutebrowser/pdf.js
-unzip $CWD/pdfjs-*-dist.zip
-chown -R root:root $PKG/usr/share/qutebrowser/pdf.js
-find ./ -type f -exec chmod 644 {} \;
-
-cd $TMP
-rm -rf openssl-$SSLVERSION
-tar xvf $CWD/openssl-$SSLVERSION.tar.gz
-cd openssl-$SSLVERSION
-./config \
- zlib \
- enable-camellia \
- enable-seed \
- enable-rfc3779 \
- enable-cms \
- enable-md2 \
- enable-rc5 \
- enable-ssl3 \
- enable-ssl3-method \
- no-weak-ssl-ciphers \
- no-mdc2 \
- no-ec2m \
- no-idea \
- no-sse2 \
- shared
-
-make
-
-mv libcrypto.so.1.1 libssl.so.1.1 $PKG/opt/qutebrowser
-cd $PKG/opt/qutebrowser
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.asciidoc $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/qutebrowser-tox/qutebrowser-tox.info b/network/qutebrowser-tox/qutebrowser-tox.info
deleted file mode 100644
index 20c5ea4f54..0000000000
--- a/network/qutebrowser-tox/qutebrowser-tox.info
+++ /dev/null
@@ -1,44 +0,0 @@
-PRGNAM="qutebrowser-tox"
-VERSION="2.0.2"
-HOMEPAGE="https://qutebrowser.org"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/qutebrowser/qutebrowser/archive/v2.0.2/qutebrowser-2.0.2.tar.gz \
- https://files.pythonhosted.org/packages/de/47/58b9f3e6f611dfd17fb8bd9ed3e6f93b7ee662fb85bdfee3565e8979ddf7/pip-21.0-py3-none-any.whl \
- https://files.pythonhosted.org/packages/f7/30/f963996d7efea5a336455a3c727711469280c318e2711e295007dea04d7e/setuptools-52.0.0-py3-none-any.whl \
- https://files.pythonhosted.org/packages/65/63/39d04c74222770ed1589c0eaba06c05891801219272420b40311cd60c880/wheel-0.36.2-py2.py3-none-any.whl \
- https://files.pythonhosted.org/packages/91/cf/cc705497cdae04c3c0bc34f94b91e31b6585bb65eb561f18473c998caae1/PyQt5-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl \
- https://files.pythonhosted.org/packages/31/24/f887203677955ba4d5d4efe9176ac7ed2bf84efce8c243ab91e63183ad9e/PyQt5_sip-12.8.1-cp37-cp37m-manylinux1_x86_64.whl \
- https://files.pythonhosted.org/packages/e5/c9/e1d49dd3d4d658b19bbe6a111bb70f6454fab8c30047896409801832c03a/PyQtWebEngine-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl \
- https://files.pythonhosted.org/packages/c4/bd/6adfc6fac46a5a570add499a2050435c1734db8c2a64c87a926ceb018907/adblock-0.4.1-cp37-cp37m-manylinux2010_x86_64.whl \
- https://files.pythonhosted.org/packages/c3/aa/cb45262569fcc047bf070b5de61813724d6726db83259222cd7b4c79821a/attrs-20.3.0-py2.py3-none-any.whl \
- https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl \
- https://files.pythonhosted.org/packages/82/70/7bf5f275a738629a7252c30c8461502d3658a75363db9f4f88ddbeb9eeac/importlib_resources-5.1.0-py3-none-any.whl \
- https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl \
- https://files.pythonhosted.org/packages/98/7b/ff284bd8c80654e471b769062a9b43cc5d03e7a615048d96f4619df8d420/MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl \
- https://files.pythonhosted.org/packages/17/e3/c7ea888bd6e9849c60b1f378637850265177ed01297137f544a7ecf7d7ba/Pygments-2.7.4-py3-none-any.whl \
- https://files.pythonhosted.org/packages/7a/a5/393c087efdc78091afa2af9f1378762f9821c9c1d7a22c5753fb5ac5f97a/PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl \
- https://files.pythonhosted.org/packages/41/ad/6a4f1a124b325618a7fb758b885b68ff7b058eec47d9220a12ab38d90b1f/zipp-3.4.0-py3-none-any.whl \
- https://github.com/mozilla/pdf.js/releases/download/v2.6.347/pdfjs-2.6.347-dist.zip \
- https://www.openssl.org/source/openssl-1.1.1i.tar.gz"
-MD5SUM_x86_64="517bdd6b2e2e29179f271b5e93495db7 \
- 617d83434cc86611cb3ba15df4ce5b0f \
- 1f5b1f2d985d260c216647cfbcdce19c \
- 6c222a4df97a3311b4e189a59c47dea0 \
- 527d3122c8fc1d6fd4b290833783ef4e \
- 15ab5559104be2d1ca4c9c7802ed3e9b \
- c8b498076e2d286431edc8bfec056cb5 \
- 7f7154346b20cc04d4107eaa133ddfca \
- e8156a6d3ff4d7c6362c40451cddc897 \
- 1dcd07acf2b1875ed09428e1ddf7e028 \
- 5d2d44d356fe281198da8805400651d7 \
- e36888c21cb0f6716b9987be2972744d \
- ce9334cb93c3fb155b6395458935ad61 \
- dc22e2ea6830211a29e1ad36137b79e0 \
- 11fe109ca339ae11e59a410b85ecd14e \
- bbd9aa1c9d53ed2178157746c7198fae \
- 06c69693d6a493a698b8c70bfc196171 \
- 08987c3cf125202e2b0840035efb392c"
-REQUIRES="libxkbcommon krb5 python3 Pygments"
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
diff --git a/network/qutebrowser-tox/slack-desc b/network/qutebrowser-tox/slack-desc
deleted file mode 100644
index b75e1e0172..0000000000
--- a/network/qutebrowser-tox/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-qutebrowser-tox: qutebrowser-tox (PyQt5 keyboard-driven vim-like browser)
-qutebrowser-tox:
-qutebrowser-tox: Qutebrowser is a keyboard-focused browser with a minimal vim-like GUI.
-qutebrowser-tox: It's based on Qt and PyQt5 and free software, licensed under the GPL.
-qutebrowser-tox:
-qutebrowser-tox: It was inspired by other browsers/addons like dwb and
-qutebrowser-tox: Vimperator/Pentadactyl.
-qutebrowser-tox:
-qutebrowser-tox: This script installs all needed dependencies in a .venv subfolder.
-qutebrowser-tox:
-qutebrowser-tox: Homepage: https://www.qutebrowser.org
diff --git a/network/qutebrowser-tox/wrapper.qutebrowser b/network/qutebrowser-tox/wrapper.qutebrowser
deleted file mode 100644
index 5561a4ac75..0000000000
--- a/network/qutebrowser-tox/wrapper.qutebrowser
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-LD_LIBRARY_PATH="/opt/qutebrowser" \
-setsid /opt/qutebrowser/.venv/bin/python3 -m qutebrowser "$@"
diff --git a/network/qutebrowser/README b/network/qutebrowser/README
index c2a70f0fb8..f5269d0514 100644
--- a/network/qutebrowser/README
+++ b/network/qutebrowser/README
@@ -1,19 +1,53 @@
-qutebrowser (qt5 keyboard driven webbrowser)
+Qutebrowser (qt5 keyboard driven web browser)
-qutebrowser is a keyboard-focused browser with a minimal
+Qutebrowser is a keyboard-focused browser with a minimal
GUI. It's based on Python and PyQt5 and free software,
licensed under the GPL. It was inspired by other
browsers/addons like dwb and Vimperator/Pentadactyl.
-Optional dependency:
+ADBLOCK NOTE:
-qt5-webkit (for the webkit backend)
+If the Python `adblock' library is available, it is now used to
+integrate Brave's Rust adblocker library for improved adblocking based
+on ABP-like filter lists (such as EasyList). If it is unavailable,
+Qutebrowser falls back to host-blocking.
-NOTE:
+There are 36 rust requirements for python-adblock, and they aren't
+available on SBo yet, so the easiest way to install it is with pip3,
+which requires a working network connection.
-pyPEG2 needs building for python3:
+Instructions to install it into ~/.local/lib with pip3:
-PYTHON3=yes ./pyPEG2.SlackBuild
+1. Update llvm to the package in extra/
-If you are using sbopkg you can add this as an option on
-their pages before starting the build queue.
+To update with slackpkg:
+
+Edit /etc/slackpkg/slackpkg.conf and change the order of PRIORITY so
+that `extra' is before `%PKGMAIN' in the list:
+
+ PRIORITY=( extra patches %PKGMAIN pasture testing )
+
+Run `slackpkg upgrade llvm'
+
+Reset PRIORITY back to the default order. The pip3 commands should be
+run as your normal user:
+
+2. Update pip3 to the latest version: pip3 install --user --upgrade pip
+
+3. Install adblock: pip3 install --user adblock
+
+Now start Qutebrowser and check `:version;'. It should list adblock
+with the version number, e.g.:
+
+adblock: 0.4.2
+
+Next, run the update command:
+
+:adblock-update
+
+To see what options there are:
+
+:set content.blocking<TAB>
+
+llvm can be added to /etc/slackpkg/blacklist to keep this version, or
+run the slackpkg command again to revert back to the stock version.
diff --git a/network/qutebrowser/qutebrowser.SlackBuild b/network/qutebrowser/qutebrowser.SlackBuild
index 206fcd5b5b..66a1688230 100644
--- a/network/qutebrowser/qutebrowser.SlackBuild
+++ b/network/qutebrowser/qutebrowser.SlackBuild
@@ -1,30 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qutebrowser
-# Copyright 2017 Dave Woodfall <dave@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# written by Dave Woodfall <dave@slackbuilds.org>
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qutebrowser
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.5.4}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,6 +49,9 @@ find -L . \
make -f misc/Makefile install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
+# shouldn't be executable
+chmod -x $PKG/usr/share/$PRGNAM/userscripts/README.md
+
find $PKG -name \*\.opt-1.pyc -exec rm -f {} \;
install -D -m 0644 icons/qutebrowser.xpm \
@@ -72,4 +68,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/qutebrowser/qutebrowser.info b/network/qutebrowser/qutebrowser.info
index ed94b12ef4..6e55f18a6f 100644
--- a/network/qutebrowser/qutebrowser.info
+++ b/network/qutebrowser/qutebrowser.info
@@ -1,10 +1,10 @@
PRGNAM="qutebrowser"
-VERSION="2.0.2"
-HOMEPAGE="http://qutebrowser.org/"
-DOWNLOAD="https://github.com/qutebrowser/qutebrowser/releases/download/v2.0.2/qutebrowser-2.0.2.tar.gz"
-MD5SUM="506184a80f36fc287bf6e52e65eceac8"
+VERSION="2.5.4"
+HOMEPAGE="https://qutebrowser.org/"
+DOWNLOAD="https://github.com/qutebrowser/qutebrowser/releases/download/v2.5.4/qutebrowser-2.5.4.tar.gz"
+MD5SUM="121f4329ec6b36604da73f7563cea384"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-attrs python3-PyYAML Pygments Jinja2 pyPEG2 python3-PyQtWebEngine python-toml importlib-resources python-zipp"
-MAINTAINER="Dave Woodfall"
+REQUIRES="python3-PyQtWebEngine"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/qutebrowser/slack-desc b/network/qutebrowser/slack-desc
index d0989d4c8a..1c39aaee95 100644
--- a/network/qutebrowser/slack-desc
+++ b/network/qutebrowser/slack-desc
@@ -10,10 +10,10 @@ qutebrowser: qutebrowser (qt5 keyboard driven webbrowser)
qutebrowser:
qutebrowser: qutebrowser is a keyboard-focused browser with a minimal GUI. It's
qutebrowser: based on Python and PyQt5 and free software, licensed under the GPL.
-qutebrowser: It was inspired by other browsers/addons like dwb and
-qutebrowser: Vimperator/Pentadactyl.
qutebrowser:
-qutebrowser: qt5-webkit is an optional dependency for the webkit backend.
+qutebrowser: It was inspired by other browsers/addons like Vimperator/Pentadactyl
+qutebrowser: and dwb.
qutebrowser:
qutebrowser: https://qutebrowser.org
qutebrowser:
+qutebrowser:
diff --git a/network/quvi/README b/network/quvi/README
deleted file mode 100644
index 5fea4d587a..0000000000
--- a/network/quvi/README
+++ /dev/null
@@ -1,4 +0,0 @@
-quvi is a command line tool for parsing video download links. It
-supports Youtube and other video websites. libquvi is a library for
-parsing video download links with C API. It is written in C, and
-intended to be a cross-platform library.
diff --git a/network/quvi/quvi.SlackBuild b/network/quvi/quvi.SlackBuild
deleted file mode 100644
index 57c3f4a19e..0000000000
--- a/network/quvi/quvi.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for quvi
-
-# Made by trebol 2012/12/13
-# Modified by crocket <crockabiscuit@gmail.com
-# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03
-
-PRGNAM=quvi
-VERSION=${VERSION:-0.9.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README ABOUT-NLS VERSION"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do
- ln -s $( readlink $i ).gz $i.gz
- rm $i
-done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/quvi/quvi.info b/network/quvi/quvi.info
deleted file mode 100644
index 268c916084..0000000000
--- a/network/quvi/quvi.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="quvi"
-VERSION="0.9.5"
-HOMEPAGE="http://quvi.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/quvi/quvi-0.9.5.tar.xz"
-MD5SUM="baa1d7b25e9fd173e952e27d4aa4b933"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libquvi"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
diff --git a/network/quvi/slack-desc b/network/quvi/slack-desc
deleted file mode 100644
index 3a5085a4f6..0000000000
--- a/network/quvi/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-quvi: quvi (video download link parser)
-quvi:
-quvi: quvi is a command line tool for parsing video download links. It
-quvi: supports Youtube and other video websites. libquvi is a library for
-quvi: parsing video download links with C API. It is written in C, and
-quvi: intended to be a cross-platform library.
-quvi:
-quvi: homepage: http://quvi.sourceforge.net
-quvi:
-quvi:
-quvi:
diff --git a/network/r2e/README b/network/r2e/README
deleted file mode 100644
index 267f5b87e8..0000000000
--- a/network/r2e/README
+++ /dev/null
@@ -1,15 +0,0 @@
-rss2email is a free tool for delivering news from RSS feeds to your
-email program. This allows you to view RSS feeds in an interface you
-are already familiar with and to apply filters to incoming feeds.
-
-NOTE:
-rss2email has no option for disabling HTTPS certificate verification,
-because Python requires this.
-
-But it is possible to monkeypatch the ssl module to disable
-verification globally for all feeds.
-
-If you want the verification to be disabled pass CERTVER=no to the
-script: CERTVER=no ./r2e.SlackBuild
-
-See README.Slackware for post-installation configuration.
diff --git a/network/r2e/README.Slackware b/network/r2e/README.Slackware
deleted file mode 100644
index 2d0503a968..0000000000
--- a/network/r2e/README.Slackware
+++ /dev/null
@@ -1,14 +0,0 @@
-After installing this package please do the following:
-
- mkdir ~/.rss2email
- r2e new you@yourdomain.com
- r2e add http://yourfeed.yourdomain.com
- r2e run --no-send
-
-To customize rss2email copy /usr/doc/config.py.example to ~/.rss2email
-and edit it to taste.
-
-You will probably want to create a cron job to periodically execute
-"r2e run".
-
-See http://www.allthingsrss.com/rss2email/ for additional information.
diff --git a/network/r2e/doinst.sh b/network/r2e/doinst.sh
deleted file mode 100644
index b8ba97c4b3..0000000000
--- a/network/r2e/doinst.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-if [ -d /etc/r2e ]; then
- cat << EOF > /etc/r2e/README.config
-Starting version 2.71 to customize r2e please edit config.py in your
-user directory ~/.rss2email
-
-File /etc/r2e/config.py is not used anymore. The directory /etc/r2e
-can safely be removed.
-
-See /usr/doc/config.py.example for a full list of available
-configuration variables.
-EOF
-fi
diff --git a/network/r2e/fix-email-header-injection.patch b/network/r2e/fix-email-header-injection.patch
deleted file mode 100644
index 8407d5d0ee..0000000000
--- a/network/r2e/fix-email-header-injection.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Etienne Millon <etienne.millon@gmail.com>
-Date: Fri, 25 May 2012 18:04:08 +0200
-Subject: Fix email header injection
-
-Bug: http://bugs.python.org/issue5871
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526064
----
- rss2email.py | 11 +++++++++--
- 1 file changed, 9 insertions(+), 2 deletions(-)
-
-diff --git a/rss2email.py b/rss2email.py
-index 69998db..a6c3cbe 100755
---- a/rss2email.py
-+++ b/rss2email.py
-@@ -111,9 +111,16 @@ PROXY=""
- CHARSET_LIST='US-ASCII', 'ISO-8859-1', 'UTF-8', 'BIG5', 'ISO-2022-JP'
-
- from email.MIMEText import MIMEText
--from email.Header import Header
-+from email.Header import Header as _Header
- from email.Utils import parseaddr, formataddr
--
-+
-+class Header(_Header):
-+ # Work-around for <http://bugs.python.org/issue5871>
-+ def append(self, s=None, *args, **kwargs):
-+ if s is not None:
-+ s = s.replace('\n', ' ').replace('\r', ' ')
-+ _Header.append(self, s, *args, **kwargs)
-+
- # Note: You can also override the send function.
-
- def send(sender, recipient, subject, body, contenttype, extraheaders=None, smtpserver=None):
diff --git a/network/r2e/r2e.SlackBuild b/network/r2e/r2e.SlackBuild
deleted file mode 100644
index 4811e8e369..0000000000
--- a/network/r2e/r2e.SlackBuild
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for r2e
-
-# Written by Tom Canich <tcanich@canich.net>
-# Released under the BSD
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-# Copyright (c) 2009, Tom Canich, State College, Pennsylvania, USA
-# Copyright 2016, Alexander Verbovetsky, Moscow, Russia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=r2e
-PRGNAMLONG=rss2email
-VERSION=${VERSION:-2.71}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAMLONG-$VERSION
-tar xvf $CWD/$PRGNAMLONG-$VERSION.tar.gz
-chmod -R a=r,a+X,u+w $PRGNAMLONG-$VERSION
-cd $PRGNAMLONG-$VERSION
-chown -R root:root .
-
-patch -p1 < $CWD/remove-newlines.patch
-patch -p1 < $CWD/fix-email-header-injection.patch
-sed --in-place \
- -e 's/http:\/\/rss2email.infogami.com/http:\/\/www.allthingsrss.com\/rss2email\//g' \
- -e 's/__version__ = "2.70"/__version__ = "2.71"/' \
- rss2email.py
-[ "${CERTVER:-yes}" = "no" ] && patch < $CWD/rss2email.certver.patch
-
-mkdir -p $PKG/usr/share/$PRGNAM
-install -m 0644 -o root -g root feedparser.py $PKG/usr/share/$PRGNAM
-install -m 0644 -o root -g root html2text.py $PKG/usr/share/$PRGNAM
-install -m 0644 -o root -g root rss2email.py $PKG/usr/share/$PRGNAM
-
-mkdir -p $PKG/usr/bin
-install -m 0755 -o root -g root $CWD/wrapper.r2e $PKG/usr/bin/r2e
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG config.py.example readme.html $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README.Slackware > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-sed "s%@VERSION@%$VERSION%g" $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/r2e/r2e.info b/network/r2e/r2e.info
deleted file mode 100644
index 4d13aaf2db..0000000000
--- a/network/r2e/r2e.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="r2e"
-VERSION="2.71"
-HOMEPAGE="https://web.archive.org/web/20130114170616/http://www.allthingsrss.com/rss2email/"
-DOWNLOAD="https://web.archive.org/web/20130114074037if_/http://www.allthingsrss.com/rss2email/rss2email-2.71.tar.gz"
-MD5SUM="7d7dbac5aa181b07261516213a312f39"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
diff --git a/network/r2e/remove-newlines.patch b/network/r2e/remove-newlines.patch
deleted file mode 100644
index 7ae7751633..0000000000
--- a/network/r2e/remove-newlines.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: David Watson <dwatson@debian.org>
-Date: Mon, 18 Apr 2011 10:41:04 +0200
-Subject: remove-newlines
-
----
- html2text.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/html2text.py b/html2text.py
-index 0ed4cec..1cd5194 100755
---- a/html2text.py
-+++ b/html2text.py
-@@ -305,6 +305,7 @@ class _html2text(HTMLParser.HTMLParser):
- if has_key(attrs, 'src'):
- attrs['href'] = attrs['src']
- alt = attrs.get('alt', '')
-+ alt = re.sub('\n', ' ', alt)
- i = self.previousIndex(attrs)
- if i is not None:
- attrs = self.a[i]
diff --git a/network/r2e/rss2email.certver.patch b/network/r2e/rss2email.certver.patch
deleted file mode 100644
index b56ce4bcd7..0000000000
--- a/network/r2e/rss2email.certver.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- rss2email.py.orig 2016-09-28 01:57:12.929900342 +0200
-+++ rss2email.py 2016-09-28 01:57:36.316685746 +0200
-@@ -25,6 +25,8 @@
-
- import urllib2
- urllib2.install_opener(urllib2.build_opener())
-+import ssl
-+ssl._create_default_https_context = ssl._create_unverified_context
-
- ### Vaguely Customizable Options ###
-
diff --git a/network/r2e/slack-desc b/network/r2e/slack-desc
deleted file mode 100644
index 9d66917f32..0000000000
--- a/network/r2e/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-r2e: r2e (rss to email gateway)
-r2e:
-r2e: rss2email is a free tool for delivering news from RSS feeds to your
-r2e: email program. This allows you to view RSS feeds in an interface you
-r2e: are already familiar with and to apply filters to incoming feeds.
-r2e:
-r2e: See /usr/doc/r2e-@VERSION@/README.Slackware for post-installation
-r2e: configuration.
-r2e:
-r2e: Homepage: http://www.allthingsrss.com/rss2email/
-r2e:
diff --git a/network/r2e/wrapper.r2e b/network/r2e/wrapper.r2e
deleted file mode 100644
index 5dca09f80f..0000000000
--- a/network/r2e/wrapper.r2e
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-mkdir -p ~/.rss2email
-cd ~/.rss2email
-exec python /usr/share/r2e/rss2email.py feeds.dat $*
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild
index 7b9680604b..59274c56fb 100644
--- a/network/r8168/r8168.SlackBuild
+++ b/network/r8168/r8168.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for r8168
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=r8168
VERSION=${VERSION:-8.048.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+KERNEL="${KERNEL:-"$(uname -r)"}"
+PKGVER="$(printf %s "${VERSION}_$KERNEL" | tr - _)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,9 +82,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-KERNEL="${KERNEL:-"$(uname -r)"}"
-PKGVER="$(printf %s "${VERSION}_$KERNEL" | tr - _)"
-
(
unset ARCH
cd /lib/modules/$KERNEL/build
@@ -97,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/radicale/README b/network/radicale/README
index be71661fe3..662b6b0f99 100644
--- a/network/radicale/README
+++ b/network/radicale/README
@@ -5,3 +5,9 @@ distant accessess for reading, creating, modifying and deleting
multiple calendars through a simplified CalDAV protocol. Data can be
encrypted by SSL, and their access can be restricted thanks to
different authentication methods.
+
+You need a "radicale" user and group prior to building radicale.
+Something like this will suffice for most systems:
+
+ groupadd -g 375 radicale
+ useradd -u 375 -d /var/lib/radicale -s /bin/false -g radicale radicale
diff --git a/network/radicale/doinst.sh b/network/radicale/doinst.sh
index 969cf1a0f8..219f5d0692 100644
--- a/network/radicale/doinst.sh
+++ b/network/radicale/doinst.sh
@@ -22,6 +22,6 @@ preserve_perms() {
config $NEW
}
-for i in etc/radicale/config.new etc/radicale/logging.new; do
- preserve_perms $i
-done
+preserve_perms etc/rc.d/rc.radicale.new
+config etc/radicale/config.new
+config etc/radicale/rights.new
diff --git a/network/radicale/radicale.SlackBuild b/network/radicale/radicale.SlackBuild
index b0927b5380..a08dc21dfe 100644
--- a/network/radicale/radicale.SlackBuild
+++ b/network/radicale/radicale.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for radicale
-# Copyright 2016-2017 Johannes Schoepfer, Germany
+# Copyright 2022 Ruben Schuller
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=radicale
-VERSION=${VERSION:-1.1.6}
+VERSION=${VERSION:-3.1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,11 +38,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+RADICALE_GID=${RADICALE_GID:-375}
+RADICALE_UID=${RADICALE_UID:-375}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -56,11 +69,28 @@ fi
set -e
+if ! getent passwd radicale 1>/dev/null 2>/dev/null; then
+cat << EOF
+ You must have a radicale user to run this script
+
+ # groupadd -g $RADICALE_GID radicale
+ # useradd -u $RADICALE_UID -d /var/lib/$PRGNAM -s /bin/false -g radicale radicale
+EOF
+ exit 1
+elif ! getent group radicale 1>/dev/null 2>/dev/null; then
+cat << EOF
+ You must have a radicale group to run this script
+
+ # groupadd -g $RADICALE_GID radicale
+EOF
+ exit 1
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf Radicale-$VERSION
-tar vxf $CWD/Radicale-$VERSION.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/Radicale-$VERSION.tar.gz || tar xvf v$VERSION.tar.gz
cd Radicale-$VERSION
chown -R root:root .
find -L . \
@@ -69,33 +99,31 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --prefix=/usr --root=$PKG
-install -m0644 -D config $PKG/etc/radicale/config.new
-install -m0644 logging $PKG/etc/radicale/logging.new
-install -m0644 -D radicale.wsgi $PKG/var/lib/radicale/radicale.wsgi
-install -m0644 radicale.fcgi $PKG/var/lib/radicale/radicale.fcgi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp COPYING README schema.sql config logging $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/etc/logrotate.d
-cat << EOF > $PKG/etc/logrotate.d/radicale
-/var/log/radicale {
- rotate 10
- notifempty
- size=1M
- compress
- delaycompress
-}
-EOF
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+install -v -m 0755 -g radicale -o radicale -d $PKG/etc/radicale
+install -v -m 0755 -g radicale -o radicale -d $PKG/var/lib/radicale
+install -v -m 0644 -g radicale -o radicale config $PKG/etc/radicale/config.new
+install -v -m 0644 -g radicale -o radicale rights $PKG/etc/radicale/rights.new
+install -v -m 0755 -g root -o root -d $PKG/etc/rc.d
+install -g root -o root -m 0644 $CWD/rc.radicale $PKG/etc/rc.d/rc.radicale.new
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ radicale.wsgi \
+ Dockerfile \
+ DOCUMENTATION.md \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/radicale/radicale.info b/network/radicale/radicale.info
index 390d4f0595..7f1ce74341 100644
--- a/network/radicale/radicale.info
+++ b/network/radicale/radicale.info
@@ -1,10 +1,10 @@
PRGNAM="radicale"
-VERSION="1.1.6"
+VERSION="3.1.8"
HOMEPAGE="https://radicale.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/R/Radicale/Radicale-1.1.6.tar.gz"
-MD5SUM="ab2c00771d5bfaab218ce6e930d3a113"
+DOWNLOAD="https://github.com/Kozea/Radicale/archive/refs/tags/v3.1.8/radicale-3.1.8.tar.gz"
+MD5SUM="4c886b54c6926c5c463bbb80cf555998"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mod_wsgi"
-MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds@schoepfer.info"
+REQUIRES="python3-passlib python3-bcrypt python3-build python3-defusedxml pytz vobject python3-wheel"
+MAINTAINER="Ruben Schuller"
+EMAIL="sb@rbn.im"
diff --git a/network/radicale/rc.radicale b/network/radicale/rc.radicale
new file mode 100644
index 0000000000..3fb0515ec2
--- /dev/null
+++ b/network/radicale/rc.radicale
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# start/stop/restart radicale
+
+radicale_start() {
+ daemon -n radicale -u radicale -o local1.warning -e "HOME=/var/lib/radicale" -D /var/lib/radicale -- python3 -m radicale
+}
+
+radicale_stop() {
+ daemon -n radicale -u radicale --stop
+}
+
+radicale_restart() {
+ radicale_stop
+ sleep 1
+ radicale_start
+}
+
+case "$1" in
+'start')
+ radicale_start
+ ;;
+'stop')
+ radicale_stop
+ ;;
+'restart')
+ radicale_restart
+ ;;
+*)
+ echo "usage $0 start|stop|restart"
+esac
diff --git a/network/radiusplugin/radiusplugin.SlackBuild b/network/radiusplugin/radiusplugin.SlackBuild
index 3a446c2599..67547e9055 100644
--- a/network/radiusplugin/radiusplugin.SlackBuild
+++ b/network/radiusplugin/radiusplugin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for radiusplugin
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=radiusplugin
VERSION=${VERSION:-2.1a_beta1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/radvd/README b/network/radvd/README
index 42966f1d6c..0623e3ec2d 100644
--- a/network/radvd/README
+++ b/network/radvd/README
@@ -1,18 +1,18 @@
The router advertisement daemon (radvd) is run by Linux or BSD systems
-acting as IPv6 routers. It sends Router Advertisement messages, specified
-by RFC 2461, to a local Ethernet LAN periodically and when requested by a
-node sending a Router Solicitation message. These messages are required
-for IPv6 stateless autoconfiguration.
+acting as IPv6 routers. It sends Router Advertisement messages,
+specified by RFC 2461, to a local Ethernet LAN periodically and
+when requested by a node sending a Router Solicitation message.
+These messages are required for IPv6 stateless autoconfiguration.
-Radvd is dependent upon IPv6 support in the Linux kernel; this comes enabled
-by default with Slackware 14's generic and huge kernels. To enable IPv6
-support manually, you must set the following entry in your custom kernel's
-.config file and recompile: CONFIG_IPV6=m
+Radvd is dependent upon IPv6 support in the Linux kernel; this comes
+enabled by default with Slackware 14's generic and huge kernels.
+To enable IPv6 support manually, you must set the following entry in
+your custom kernel's .config file and recompile: CONFIG_IPV6=m
-Once the slackware package is installed, edit /etc/radvd.conf to reflect
-your current IPv6 configuration. An init script has been provided at
-/etc/rc.d/rc.radvd. To have this start upon each boot, add the following
-lines to your /etc/rc.d/rc.local file:
+Once the slackware package is installed, edit /etc/radvd.conf to
+reflect your current IPv6 configuration. An init script has been
+provided at /etc/rc.d/rc.radvd. To have this start upon each boot, add
+the following lines to your /etc/rc.d/rc.local file:
## Start the radvd daemon:
if [ -x /etc/rc.d/rc.radvd ]; then
/etc/rc.d/rc.radvd start
diff --git a/network/radvd/radvd.SlackBuild b/network/radvd/radvd.SlackBuild
index d456b00a5c..bf68cc6da0 100644
--- a/network/radvd/radvd.SlackBuild
+++ b/network/radvd/radvd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for radvd
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=radvd
-VERSION=${VERSION:-2.15}
+VERSION=${VERSION:-2.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,9 +111,6 @@ mkdir -p $PKG/etc/rc.d
install -D -m 0644 $CWD/rc.radvd.new $PKG/etc/rc.d
install -D -m 0644 $TMP/$PRGNAM-$VERSION/radvd.conf.example $PKG/etc
-mkdir -p $PKG/var/run/radvd
-chown -R daemon:daemon $PKG/var/run/radvd
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYRIGHT INTRO.html README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -113,4 +120,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/radvd/radvd.info b/network/radvd/radvd.info
index 247592f568..b9308cdeb1 100644
--- a/network/radvd/radvd.info
+++ b/network/radvd/radvd.info
@@ -1,8 +1,8 @@
PRGNAM="radvd"
-VERSION="2.15"
+VERSION="2.19"
HOMEPAGE="http://www.litech.org/radvd"
-DOWNLOAD="http://www.litech.org/radvd/dist/radvd-2.15.tar.xz"
-MD5SUM="9793484f124caee88d48384360ef041e"
+DOWNLOAD="https://radvd.litech.org/dist/radvd-2.19.tar.xz"
+MD5SUM="5e84f9df1f1ef517260c68ccfe496d25"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/rclone/README b/network/rclone/README
index fe1d6364a1..ac2ba2936e 100644
--- a/network/rclone/README
+++ b/network/rclone/README
@@ -1,18 +1,10 @@
-Rclone ("rsync for cloud storage") is a command line program to sync
-files and directories to and from different cloud storage providers.
+Rclone is a command-line program to manage files on cloud storage.
+It is a feature-rich alternative to cloud vendors' web storage
+interfaces. Over 40 cloud storage products support rclone including
+S3 object stores, business & consumer file storage services, as well
+as standard transfer protocols.
-Features
-
- MD5/SHA-1 hashes checked at all times for file integrity
- Timestamps preserved on files
- Partial syncs supported on a whole file basis
- Copy mode to just copy new/changed files
- Sync (one way) mode to make a directory identical
- Check mode to check for file hash equality
- Can sync to and from network, e.g. two different cloud accounts
- Optional large file chunking (Chunker)
- Optional encryption (Crypt)
- Optional cache (Cache)
- Optional FUSE mount (rclone mount)
- Multi-threaded downloads to local disk
- Can serve local or remote files over HTTP/WebDav/FTP/SFTP/dlna
+Rclone has powerful cloud equivalents to the unix commands rsync,
+cp, mv, mount, ls, ncdu, tree, rm, and cat. Rclone's familiar syntax
+includes shell pipeline support, and --dry-run protection. It is
+used at the command line, in scripts or via its API.
diff --git a/network/rclone/rclone.SlackBuild b/network/rclone/rclone.SlackBuild
index fd8e3b3cab..4855d2c199 100644
--- a/network/rclone/rclone.SlackBuild
+++ b/network/rclone/rclone.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright 2019-2020 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2019-2024 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2017-2018 Rodrigo Gimenez <estrod[at]zoho[dot]com>
# All rights reserved.
#
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rclone
-VERSION=${VERSION:-1.53.3}
+VERSION=${VERSION:-1.66.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
set -e
@@ -43,8 +46,15 @@ else
exit 1
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-CWD=$(pwd)
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
mkdir -p $TMP $PKG $OUTPUT
@@ -61,20 +71,22 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
rm -rf $PKG
-mkdir -p $PKG/usr/bin/
+mkdir -p $PKG/{usr/bin,opt/$PRGNAM}
+ cp -a rclone $PKG/opt/$PRGNAM
+ ln -s /opt/$PRGNAM/rclone $PKG/usr/bin/$PRGNAM
+
mkdir -p $PKG/usr/man/man1/
-cp rclone $PKG/usr/bin/
cp rclone.1 $PKG/usr/man/man1/
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/ -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-bin.SlackBuild
+cp -a README.* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rclone/rclone.info b/network/rclone/rclone.info
index c20878916e..7ce95fbbcc 100644
--- a/network/rclone/rclone.info
+++ b/network/rclone/rclone.info
@@ -1,10 +1,10 @@
PRGNAM="rclone"
-VERSION="1.53.3"
+VERSION="1.66.0"
HOMEPAGE="https://rclone.org"
-DOWNLOAD="https://github.com/rclone/rclone/releases/download/v1.53.3/rclone-v1.53.3-linux-386.zip"
-MD5SUM="ebed198b49ca4e5227712a05c9b9fa7e"
-DOWNLOAD_x86_64="https://github.com/rclone/rclone/releases/download/v1.53.3/rclone-v1.53.3-linux-amd64.zip"
-MD5SUM_x86_64="fc210fb4bc95ee00c18573f4a5a06246"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/rclone/rclone/releases/download/v1.66.0/rclone-v1.66.0-linux-amd64.zip"
+MD5SUM_x86_64="59a19a5f31c258aacf99970ae7d028cd"
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"
diff --git a/network/rdma-core/optional_pandoc.patch b/network/rdma-core/optional_pandoc.patch
index 1e435a94b2..6fba97e818 100644
--- a/network/rdma-core/optional_pandoc.patch
+++ b/network/rdma-core/optional_pandoc.patch
@@ -1,10 +1,7 @@
-The master "CMakeLists.txt" listed "pandoc" as an optional dependency,
-but subsequent "make install" fails if "pandoc" is missing.
-This patch makes "pandoc" really optional.
-diff -ru rdma-core-25.0.orig/CMakeLists.txt rdma-core-25.0/CMakeLists.txt
---- rdma-core-25.0.orig/CMakeLists.txt 2019-07-26 02:17:21.000000000 +0800
-+++ rdma-core-25.0/CMakeLists.txt 2019-07-31 00:08:41.485085990 +0800
-@@ -602,11 +602,17 @@
+diff -ru rdma-core-51.0.orig/CMakeLists.txt rdma-core-51.0/CMakeLists.txt
+--- rdma-core-51.0.orig/CMakeLists.txt 2024-04-01 05:29:36.000000000 +0000
++++ rdma-core-51.0/CMakeLists.txt 2024-04-12 09:23:05.833329702 +0000
+@@ -723,28 +723,44 @@
add_subdirectory(kernel-headers)
# Libraries
add_subdirectory(libibumad)
@@ -22,15 +19,22 @@ diff -ru rdma-core-25.0.orig/CMakeLists.txt rdma-core-25.0/CMakeLists.txt
# Providers
if (HAVE_COHERENT_DMA)
-@@ -614,13 +620,19 @@
- add_subdirectory(providers/cxgb3) # NO SPARSE
+ add_subdirectory(providers/bnxt_re)
add_subdirectory(providers/cxgb4) # NO SPARSE
add_subdirectory(providers/efa)
+if (PANDOC_FOUND)
add_subdirectory(providers/efa/man)
+endif()
+ add_subdirectory(providers/erdma)
add_subdirectory(providers/hns)
- add_subdirectory(providers/i40iw) # NO SPARSE
++if (PANDOC_FOUND)
+ add_subdirectory(providers/hns/man)
++endif()
+ add_subdirectory(providers/irdma)
+ add_subdirectory(providers/mana)
++if (PANDOC_FOUND)
+ add_subdirectory(providers/mana/man)
++endif()
add_subdirectory(providers/mlx4)
+if (PANDOC_FOUND)
add_subdirectory(providers/mlx4/man)
@@ -40,10 +44,22 @@ diff -ru rdma-core-25.0.orig/CMakeLists.txt rdma-core-25.0/CMakeLists.txt
add_subdirectory(providers/mlx5/man)
+endif()
add_subdirectory(providers/mthca)
- add_subdirectory(providers/nes) # NO SPARSE
add_subdirectory(providers/ocrdma)
-@@ -639,7 +651,9 @@
+ add_subdirectory(providers/qedr)
+@@ -754,15 +770,21 @@
+ add_subdirectory(providers/hfi1verbs)
+ add_subdirectory(providers/ipathverbs)
+ add_subdirectory(providers/rxe)
++if (PANDOC_FOUND)
+ add_subdirectory(providers/rxe/man)
++endif()
+ add_subdirectory(providers/siw)
+
+ add_subdirectory(libibmad)
+ add_subdirectory(libibnetdisc)
++if (PANDOC_FOUND)
add_subdirectory(libibnetdisc/man)
++endif()
add_subdirectory(infiniband-diags)
add_subdirectory(infiniband-diags/scripts)
+if (PANDOC_FOUND)
diff --git a/network/rdma-core/rdma-core.SlackBuild b/network/rdma-core/rdma-core.SlackBuild
index c89fbcdf18..834e4ae362 100644
--- a/network/rdma-core/rdma-core.SlackBuild
+++ b/network/rdma-core/rdma-core.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rdma-core
-# Copyright 2019 GUAN Xin from Beijing
+# Copyright 2019-2023 GUAN Xin from Beijing
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rdma-core
-VERSION=${VERSION:-25.0}
+VERSION=${VERSION:-51.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,6 +95,9 @@ cd build
make install DESTDIR=$PKG
cd ..
+# Remove systemd stuff
+(cd $PKG/usr/lib && rm -r udev/rules.d/60-srp_daemon.rules systemd)
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -111,4 +121,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
)
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rdma-core/rdma-core.info b/network/rdma-core/rdma-core.info
index d212158b1d..bc119b4913 100644
--- a/network/rdma-core/rdma-core.info
+++ b/network/rdma-core/rdma-core.info
@@ -1,8 +1,8 @@
PRGNAM="rdma-core"
-VERSION="25.0"
+VERSION="51.0"
HOMEPAGE="https://github.com/linux-rdma"
-DOWNLOAD="https://github.com/linux-rdma/rdma-core/archive/v25.0/rdma-core-25.0.tar.gz"
-MD5SUM="48b2bec693fec7d1755a5e99a5d3678b"
+DOWNLOAD="https://github.com/linux-rdma/rdma-core/releases/download/v51.0/rdma-core-51.0.tar.gz"
+MD5SUM="ed95d79f782ea00bd7233d453abd60b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/reaver/README b/network/reaver/README
index c7d75af9ef..10d92d96d1 100644
--- a/network/reaver/README
+++ b/network/reaver/README
@@ -1,11 +1,13 @@
-Reaver implements a brute force attack against Wifi Protected Setup (WPS)
-registrar PINs in order to recover WPA/WPA2 passphrases, as described in
+Reaver implements a brute force attack against Wifi Protected Setup
+(WPS) registrar PINs in order to recover WPA/WPA2 passphrases, as
+described in:
http://sviehb.files.wordpress.com/2011/12/viehboeck_wps.pdf.
-Reaver has been designed to be a robust and practical attack against WPS, and
-has been tested against a wide variety of access points and WPS
-implementations.
+Reaver has been designed to be a robust and practical attack against
+WPS, and has been tested against a wide variety of access points and
+WPS implementations.
-On average Reaver will recover the target AP's plain text WPA/WPA2 passphrase
-in 4-10 hours, depending on the AP. In practice, it will generally take half
-this time to guess the correct WPS pin and recover the passphrase.
+On average Reaver will recover the target AP's plain text WPA/WPA2
+passphrase in 4-10 hours, depending on the AP. In practice, it will
+generally take half this time to guess the correct WPS pin and recover
+the passphrase.
diff --git a/network/reaver/reaver.SlackBuild b/network/reaver/reaver.SlackBuild
index ae402a63fe..d9a2f2d818 100644
--- a/network/reaver/reaver.SlackBuild
+++ b/network/reaver/reaver.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for reaver.
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=reaver
SRCNAM=reaver-wps-fork-t6x
VERSION=${VERSION:-1.6.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,7 +89,7 @@ find -L . \
# one more directory
cd src
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -103,4 +113,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/redir/redir.SlackBuild b/network/redir/redir.SlackBuild
index 363cf66cc9..2db60b3afb 100644
--- a/network/redir/redir.SlackBuild
+++ b/network/redir/redir.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for redir
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=redir
VERSION=${VERSION:-3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rejik/README b/network/rejik/README
index 26fa692f19..e280034d69 100644
--- a/network/rejik/README
+++ b/network/rejik/README
@@ -1,8 +1,8 @@
rejik (squid redirector)
-Rejik is redirector for SQUID, based on DBL filters. It is aimed to block:
-ads, porno, warez, banners etc. Primarily targeted for RU-speaking zone
-of internet.
+Rejik is redirector for SQUID, based on DBL filters. It is aimed
+to block: ads, porno, warez, banners etc. Primarily targeted for
+RU-speaking zone of internet.
Add this line to squid.conf to activate redirection:
redirect_program /var/lib/rejik/redirector /etc/squid/redirector.conf
diff --git a/network/rejik/rejik.SlackBuild b/network/rejik/rejik.SlackBuild
index d15d69cbe6..a81891bde4 100644
--- a/network/rejik/rejik.SlackBuild
+++ b/network/rejik/rejik.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Rejik
@@ -22,27 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rejik
TARNAME=redirector
VERSION=${VERSION:-3.2.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -75,6 +85,8 @@ patch -p 0 < $CWD/fixdestdir.patch
# Fix config file for new location
patch -p 0 < $CWD/fixconf.patch
+sed -i "s,CC=gcc ,&$SLKCFLAGS -fcommon ," Makefile
+
DSTDIR=$PKG make
DSTDIR=$PKG make install
@@ -95,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rekonq/README b/network/rekonq/README
deleted file mode 100644
index 372769c8ec..0000000000
--- a/network/rekonq/README
+++ /dev/null
@@ -1 +0,0 @@
-rekonq is a KDE browser based on Webkit.
diff --git a/network/rekonq/rekonq.SlackBuild b/network/rekonq/rekonq.SlackBuild
deleted file mode 100644
index 3fbcbc83b6..0000000000
--- a/network/rekonq/rekonq.SlackBuild
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for "rekonq"
-
-# Written by Branko Grubic <branko.grubic@gmail.com>
-
-PRGNAM=rekonq
-VERSION=${VERSION:-2.4.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake .. \
- -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/rekonq/rekonq.info b/network/rekonq/rekonq.info
deleted file mode 100644
index b52f6d82b1..0000000000
--- a/network/rekonq/rekonq.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rekonq"
-VERSION="2.4.2"
-HOMEPAGE="https://rekonq.kde.org/"
-DOWNLOAD="https://downloads.sourceforge.net/rekonq/rekonq-2.4.2.tar.xz"
-MD5SUM="5d2a5ce7817813f68144203c14419669"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Branko Grubic"
-EMAIL="branko.grubic@gmail.com"
diff --git a/network/rekonq/slack-desc b/network/rekonq/slack-desc
deleted file mode 100644
index b418873c95..0000000000
--- a/network/rekonq/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-rekonq: rekonq (KDE browser based on Webkit)
-rekonq:
-rekonq: rekonq is a KDE browser based on Webkit. Its code is based on
-rekonq: Nokia QtDemoBrowser, just like Arora. Its implementation is going
-rekonq: to embrace KDE technologies to have a full-featured KDE web browser.
-rekonq:
-rekonq:
-rekonq:
-rekonq:
-rekonq:
-rekonq:
diff --git a/network/remmina/README b/network/remmina/README
index 8944283be5..0f479dbd78 100644
--- a/network/remmina/README
+++ b/network/remmina/README
@@ -3,8 +3,9 @@ useful for system administrators and travellers, who need to work
with lots of remote computers in front of either large monitors or
tiny netbooks. Remmina supports multiple network protocols in an
integrated and consistant user interface. Currently RDP, VNC, SPICE,
-NX, XDMCP and SSH are supported.
+and SSH are supported.
Optional support for extra features can be enabled with some switches:
AVAHI=ON (Avahi/Zeroconf, requires avahi, default OFF)
+KWALLET=ON (Use KWallet instead of GNOME Keyring, default ON)
TELEPATHY=ON (Telepathy, default OFF)
diff --git a/network/remmina/remmina.SlackBuild b/network/remmina/remmina.SlackBuild
index 7a89b06188..7100e30948 100644
--- a/network/remmina/remmina.SlackBuild
+++ b/network/remmina/remmina.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for remmina
# Copyright 2013 Luis Henrique
# Copyright 2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# Copyright 2015-2018 Philip van der Hoeven, Almere, The Netherlands
-# Copyright 2019 Tim Danforth, USA
+# Copyright 2019-2023 Tim Danforth, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,14 +25,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=remmina
-VERSION=${VERSION:-1.3.6}
+VERSION=${VERSION:-1.4.33}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DIRNAME=Remmina-$VERSION
+DIRNAME=Remmina-v.$VERSION
AVAHI=${AVAHI:-OFF}
+KWALLET=${KWALLET:-ON}
TELEPATHY=${TELEPATHY:-OFF}
if [ -z "$ARCH" ]; then
@@ -43,7 +47,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,7 +79,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $DIRNAME
-tar xvf $CWD/$DIRNAME.tar.gz
+tar xvf $CWD/$DIRNAME.tar.bz2
cd $DIRNAME
chown -R root:root .
find -L . \
@@ -80,7 +91,7 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lz -lssl -lcrypto" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DWITH_AVAHI=${AVAHI} \
@@ -88,6 +99,7 @@ cd build
-DWITH_VTE=ON \
-DWITH_APPINDICATOR=OFF \
-DWITH_WWW=OFF \
+ -DWITH_KF5WALLET=${KWALLET} \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG
@@ -111,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/remmina/remmina.info b/network/remmina/remmina.info
index 7972591653..8fa24fb064 100644
--- a/network/remmina/remmina.info
+++ b/network/remmina/remmina.info
@@ -1,10 +1,10 @@
PRGNAM="remmina"
-VERSION="1.3.6"
-HOMEPAGE="http://www.remmina.org"
-DOWNLOAD="https://github.com/FreeRDP/Remmina/archive/v1.3.6/Remmina-1.3.6.tar.gz"
-MD5SUM="1b9a800ae970a5b3cc083ae541458ed7"
+VERSION="1.4.33"
+HOMEPAGE="https://www.remmina.org"
+DOWNLOAD="https://gitlab.com/Remmina/Remmina/-/archive/v.1.4.33/Remmina-v.1.4.33.tar.bz2"
+MD5SUM="e3f0be9198e826938223c0e0ef402837"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libsodium vte3 json-glib spice-gtk freerdp"
+REQUIRES="spice-gtk"
MAINTAINER="Tim Danforth"
EMAIL="timdanforth@protonmail.com"
diff --git a/network/remmina/slack-desc b/network/remmina/slack-desc
index 65df4a76e8..264ad6129c 100644
--- a/network/remmina/slack-desc
+++ b/network/remmina/slack-desc
@@ -13,7 +13,7 @@ remmina: useful for system administrators and travellers, who need to work
remmina: with lots of remote computers in front of either large monitors or
remmina: tiny netbooks. Remmina supports multiple network protocols in an
remmina: integrated and consistant user interface. Currently RDP, VNC, SPICE,
-remmina: NX, XDMCP and SSH are supported.
+remmina: and SSH are supported.
remmina:
remmina: homepage: https://remmina.org/
remmina:
diff --git a/network/remotebox/README b/network/remotebox/README
new file mode 100644
index 0000000000..801d9eb894
--- /dev/null
+++ b/network/remotebox/README
@@ -0,0 +1,8 @@
+RemoteBox is an open-source VirtualBox client which means you can
+remotely administer (ie over the network) an installation of
+VirtualBox on a server, including its guests and interact with them
+as if they were running locally. VirtualBox is installed on the
+server machine and RemoteBox runs on the client machine. RemoteBox
+provides a complete Gtk 3 graphical interface with a look and feel
+similar to that of VirtualBox's native GUI and supports the vast
+majority of features.
diff --git a/network/remotebox/doinst.sh b/network/remotebox/doinst.sh
new file mode 100644
index 0000000000..00dd0228da
--- /dev/null
+++ b/network/remotebox/doinst.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/network/remotebox/remotebox.SlackBuild b/network/remotebox/remotebox.SlackBuild
new file mode 100644
index 0000000000..e7fb09d0f1
--- /dev/null
+++ b/network/remotebox/remotebox.SlackBuild
@@ -0,0 +1,86 @@
+#!/bin/bash
+
+# Slackware build script for remotebox
+
+# Copyright 2023 Charadon
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=remotebox
+SRCNAM=RemoteBox
+VERSION=${VERSION:-3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH="noarch"
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Set the locations of Remotebox's files.
+sed -i 's|$Bin/share/remotebox|/usr/share/remotebox|g' remotebox
+
+mkdir -p $PKG/usr/share
+cp -r share/remotebox $PKG/usr/share
+
+install -Dm755 remotebox $PKG/usr/bin/remotebox
+install -Dm644 packagers-readme/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+install -Dm644 share/$PRGNAM/icons/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+install -Dm644 packagers-readme/$PRGNAM.appdata.xml \
+ $PKG/usr/share/appdata/$PRGNAM.appdata.xml
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/COPYING docs/changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/remotebox/remotebox.info b/network/remotebox/remotebox.info
new file mode 100644
index 0000000000..67a2ace890
--- /dev/null
+++ b/network/remotebox/remotebox.info
@@ -0,0 +1,10 @@
+PRGNAM="remotebox"
+VERSION="3.2"
+HOMEPAGE="https://remotebox.knobgoblin.org.uk/"
+DOWNLOAD="https://remotebox.knobgoblin.org.uk/downloads/RemoteBox-3.2.tar.bz2"
+MD5SUM="04a4c2be0802aea1fcae7d14bca0fc71"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="perl-SOAP-Lite perl-Gtk3"
+MAINTAINER="Charadon"
+EMAIL="dev@iotib.net"
diff --git a/network/remotebox/slack-desc b/network/remotebox/slack-desc
new file mode 100644
index 0000000000..d6d6c2a42f
--- /dev/null
+++ b/network/remotebox/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+remotebox: remotebox (An open-source VirtualBox client)
+remotebox:
+remotebox: RemoteBox is an open-source VirtualBox client which means you can
+remotebox: remotely administer (ie over the network) an installation of
+remotebox: VirtualBox on a server, including its guests and interact with them
+remotebox: as if they were running locally. VirtualBox is installed on the
+remotebox: server machine and RemoteBox runs on the client machine. RemoteBox
+remotebox: provides a complete Gtk 3 graphical interface with a look and feel
+remotebox: similar to that of VirtualBox's native GUI and supports the vast
+remotebox: majority of features.
+remotebox:
diff --git a/network/republicanywhere/README b/network/republicanywhere/README
index 0175acc815..fa868466f2 100644
--- a/network/republicanywhere/README
+++ b/network/republicanywhere/README
@@ -1,8 +1,10 @@
-Republic Anywhere is an integrated technology platform that syncs your phone
-number to all your devices and allows you to send and receive text messages from
-your computer. You need a Republic Wireless account to use this.
+Republic Anywhere is an integrated technology platform that syncs your
+phone number to all your devices and allows you to send and receive
+text messages from your computer. You need a Republic Wireless account
+to use this.
-Note: during startup, it looks for /var/lib/dbus/machine-id' (note trailing
-single quote). I'm not sure if that is a bug, but it will work after copying
-/var/lib/dbus/machine-id to /var/lib/dbus/machine-id'. (You will need to escape
-the quote in the cp command.)
+Note: during startup, it looks for /var/lib/dbus/machine-id'
+(note trailing single quote). I'm not sure if that is a bug,
+but it will work after copying /var/lib/dbus/machine-id to
+/var/lib/dbus/machine-id'. (You will need to escape the quote in the
+cp command.)
diff --git a/network/republicanywhere/republicanywhere.SlackBuild b/network/republicanywhere/republicanywhere.SlackBuild
index e13930b9f2..aa6fb65e35 100644
--- a/network/republicanywhere/republicanywhere.SlackBuild
+++ b/network/republicanywhere/republicanywhere.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for republicanywhere.
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=republicanywhere
VERSION=${VERSION:-1.5.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ case "$ARCH" in
exit 1 ;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/resilio-sync/resilio-sync.SlackBuild b/network/resilio-sync/resilio-sync.SlackBuild
index 5db2b30563..ce136ff42e 100644
--- a/network/resilio-sync/resilio-sync.SlackBuild
+++ b/network/resilio-sync/resilio-sync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for resilio-sync
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=resilio-sync
VERSION=${VERSION:-2.6.4.1344}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/retroshare/README b/network/retroshare/README
index 051d64fea0..34f39d7bb9 100644
--- a/network/retroshare/README
+++ b/network/retroshare/README
@@ -7,6 +7,6 @@ web-of-trust to authenticate peers and OpenSSL to encrypt all
communication. RetroShare provides filesharing, chat, messages,
forums and channels.
-To build the "Tor Only" version, use the build option "RETROTOR=yes", e.g.
+To build the "Tor Only" version, use the build option "RETROTOR=yes":
RETROTOR=yes ./retroshare.SlackBuild
diff --git a/network/retroshare/retroshare.SlackBuild b/network/retroshare/retroshare.SlackBuild
index 1861c03e25..870b673b28 100644
--- a/network/retroshare/retroshare.SlackBuild
+++ b/network/retroshare/retroshare.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for retroshare
@@ -17,12 +17,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=retroshare
-VERSION=${VERSION:-0.6.4}
+VERSION=${VERSION:-20220216_3dfcb58}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCNAM=RetroShare
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,7 +33,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,13 +55,14 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,11 +79,14 @@ fi
make
make INSTALL_ROOT=${PKG} install
+mkdir -p $PKG/usr/share/retroshare
+mv $PKG/{qss,sounds,stylesheets} $PKG/usr/share/retroshare/
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt README.md TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSES README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -82,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/retroshare/retroshare.info b/network/retroshare/retroshare.info
index 307a748169..65ab2d2f08 100644
--- a/network/retroshare/retroshare.info
+++ b/network/retroshare/retroshare.info
@@ -1,10 +1,10 @@
PRGNAM="retroshare"
-VERSION="0.6.4"
-HOMEPAGE="http://retroshare.net"
-DOWNLOAD="https://github.com/RetroShare/RetroShare/archive/v0.6.4/RetroShare-0.6.4.tar.gz"
-MD5SUM="392c36bb3171fa26b8702e0a984d5bd6"
+VERSION="20220216_3dfcb58"
+HOMEPAGE="http://retroshare.cc"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/retroshare-20220216_3dfcb58.tar.xz"
+MD5SUM="9e71721b705df11ff3f3c0a0a31493f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 libmicrohttpd libupnp-legacy speex protobuf sqlcipher"
+REQUIRES="libmicrohttpd miniupnpc protobuf3 sqlcipher"
MAINTAINER="Alan Aversa"
EMAIL="aveNOrsa@email.ariSPAMzona.edu"
diff --git a/network/retroshare/slack-desc b/network/retroshare/slack-desc
index 6b69fdd79d..2bcc67a0fb 100644
--- a/network/retroshare/slack-desc
+++ b/network/retroshare/slack-desc
@@ -15,5 +15,5 @@ retroshare: a web-of-trust to authenticate peers and OpenSSL to encrypt all
retroshare: communication. RetroShare provides filesharing, chat, messages,
retroshare: forums and channels.
retroshare:
-retroshare: Project URL: http://retroshare.net
+retroshare: Project URL: http://retroshare.cc
retroshare:
diff --git a/network/rhapsody/README b/network/rhapsody/README
index a3e174d539..fde0ab3bad 100644
--- a/network/rhapsody/README
+++ b/network/rhapsody/README
@@ -1,3 +1,5 @@
+rhapsody (text console IRC client for Unix operating systems)
+
Rhapsody is small, fast, portable and easy to use, yet it is full
featured. The thing that separates it from the crowd is its intuitive
menu driven user interface.
diff --git a/network/rhapsody/rhapsody.SlackBuild b/network/rhapsody/rhapsody.SlackBuild
index 59ea6394d8..f23ad5dce9 100644
--- a/network/rhapsody/rhapsody.SlackBuild
+++ b/network/rhapsody/rhapsody.SlackBuild
@@ -1,15 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rhapsody
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230103 bkw: BUILD=3
+# - use https URL for homepage in info file.
+# - remove useless INSTALL from doc dir.
+
+# 20210923 bkw: fix build on -current, mitigate buffer overflow.
+
+# TODO: see if there's anything to these:
+# https://www.cvedetails.com/cve/CVE-2007-1502/
+# https://www.cvedetails.com/cve/CVE-2007-1503/
+# ...these appear to be the same CVE. Huh.
+# It looks autogenerated, and there's no POC. Pretty much all the
+# buffer overflows would depend on the user typing >1024 characters.
+# The patch below prevents that, at least. There are a bunch of
+# format string warnings from gcc that deserve looking at, but I
+# don't have the time right now.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rhapsody
VERSION=${VERSION:-0.28b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,21 +71,27 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+
+# This patch does:
+# - prevent input buffer overflow if user types/pastes > 1023 chars
+# into the input window.
+# - ignore incoming DCC files, if their names contain a /
+patch -p1 < $CWD/securityfix.diff
./configure -i /usr/bin -d /usr/doc/$PRGNAM-$VERSION
-make LOCALFLAGS="$SLKCFLAGS"
+make LOCALFLAGS="$SLKCFLAGS -fcommon"
strip $PRGNAM
make install \
INSTALLPATH=$PKG/usr/bin \
- INSTDOCSPATH=$PKG/usr/doc/$PRGNAM-$VERSION
+ INSTDOCSPATH=$PKGDOC
-cp README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp README $PKGDOC
+rm -f $PKGDOC/INSTALL
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# Man page borrowed from Ubuntu and modified a bit.
# rhapsody doesn't really need a man page,
@@ -75,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rhapsody/rhapsody.info b/network/rhapsody/rhapsody.info
index 5decd05926..ad0deab6f9 100644
--- a/network/rhapsody/rhapsody.info
+++ b/network/rhapsody/rhapsody.info
@@ -1,10 +1,10 @@
PRGNAM="rhapsody"
VERSION="0.28b"
-HOMEPAGE="http://rhapsody.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/rhapsody/rhapsody_0.28b.tgz"
+HOMEPAGE="https://rhapsody.sourceforge.net/"
+DOWNLOAD="https://downloads.sourceforge.net/rhapsody/rhapsody_0.28b.tgz"
MD5SUM="0792de636a2625a826491e387fcb1305"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/rhapsody/securityfix.diff b/network/rhapsody/securityfix.diff
new file mode 100644
index 0000000000..bb9db0d646
--- /dev/null
+++ b/network/rhapsody/securityfix.diff
@@ -0,0 +1,54 @@
+diff -Naur rhapsody-0.28b/src/dcc.c rhapsody-0.28b.patched/src/dcc.c
+--- rhapsody-0.28b/src/dcc.c 2006-02-24 01:46:19.000000000 -0500
++++ rhapsody-0.28b.patched/src/dcc.c 2021-09-16 15:46:52.830186229 -0400
+@@ -702,7 +702,11 @@
+ FILE *fp;
+ int fd;
+
+- sprintf(filepath, "%s/%s", configuration.dccdlpath, filename);
++ if(strchr(filename, "/")) {
++ vprint_all_attrib(ERROR_COLOR, "DCC File: Filename %s has directory separators, not allowed\n", filename);
++ }
++
++ snprintf(filepath, 1023, "%s/%s", configuration.dccdlpath, filename);
+
+ /* check if the file exists, and if it does, append a timestamp extension */
+ fp = fopen(filepath, "rb");
+@@ -710,13 +714,13 @@
+ if (fp != NULL && configuration.dccduplicates == 1){
+ ct = time(NULL);
+ t = localtime(&ct);
+- sprintf(filestamp, "%s.%04d%02d%02d%02d%02d%02d", filename, t->tm_year + 1900, t->tm_mon, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);
++ snprintf(filestamp, 1023, "%s.%04d%02d%02d%02d%02d%02d", filename, t->tm_year + 1900, t->tm_mon, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);
+ vprint_all_attrib(DCC_COLOR, "DCC file %s exists, saving as %s\n", filename, filestamp);
+- sprintf(filepath, "%s/%s", configuration.dccdlpath, filestamp);
++ snprintf(filepath, 1023, "%s/%s", configuration.dccdlpath, filestamp);
+ fclose(fp);
+ strcpy(filenamex, filestamp);
+ }
+- else strcpy(filenamex, filename);
++ else strncpy(filenamex, filename, 1023);
+
+ //fp = fopen(filepath, "wb");
+ //if (fp == NULL){
+diff -Naur rhapsody-0.28b/src/screen.c rhapsody-0.28b.patched/src/screen.c
+--- rhapsody-0.28b/src/screen.c 2006-02-24 01:46:19.000000000 -0500
++++ rhapsody-0.28b.patched/src/screen.c 2021-09-16 15:39:03.142240866 -0400
+@@ -2294,7 +2294,7 @@
+ void add_input_buffer(inputwin *I, int value){
+ char scratch[MAXDATASIZE];
+
+- if (I->cursorpos < MAXDATASIZE){
++ if (I->cursorpos < MAXDATASIZE - 1){
+ strcpy(scratch, &(I->inputbuffer)[I->cursorpos]);
+ (I->inputbuffer)[I->cursorpos] = value;
+ strcpy(&(I->inputbuffer)[I->cursorpos+1], scratch);
+@@ -2306,7 +2306,7 @@
+ void append_input_buffer(inputwin *I, char *string){
+ char scratch[MAXDATASIZE];
+
+- if (I->cursorpos + strlen(string) < MAXDATASIZE){
++ if (I->cursorpos + strlen(string) < MAXDATASIZE - 1){
+ strcpy(scratch, &(I->inputbuffer)[I->cursorpos]);
+ strcpy(&(I->inputbuffer)[I->cursorpos], string);
+ strcpy(&(I->inputbuffer)[I->cursorpos + strlen(string)], scratch);
diff --git a/network/riot-web/README b/network/riot-web/README
deleted file mode 100644
index 9b9a6376e2..0000000000
--- a/network/riot-web/README
+++ /dev/null
@@ -1,31 +0,0 @@
-riot-web (Riot.im for web)
-
-Riot (formerly known as Vector) is a Matrix web client built using the Matrix
-protocol.
-
-Riot gathers all your conversations and app integrations (e.g. GitHub, Slack)
-into one single app.
-
-Built around group chatrooms, Riot lets you share messages, images, videos
-and files - interact with your tools and access all your different communities
-under one roof.
-
-Another great feature of Riot/Matrix is the federated or decentralised structure.
-Everyone can set up a Matrix server to serve rooms and users can communicate with
-other users on other Matrix servers around the World.
-
-Now with end-to-end encryption using the Olm and Megolm cryptographic ratchets
-, and ensuring that only explicitly authorized devices can participate in a
-conversation.
-
-This is a packaging of the pre-built released version of Riot (on Github).
-
-Riot-web now is needed to run under a web server(e.g. NGINX).
-After building, a start script (in /usr/bin) is set to invoke a simple
-web server (a Python built-in module) listening at port 8000, and then start a
-web browser to access it at localhost:8000. Feel free to change these
-settings.
-
-Type your favourite browser name before running this script, e.g.
-
- BROWSER=firefox ./riot-web.Slackbuild
diff --git a/network/riot-web/doinst.sh b/network/riot-web/doinst.sh
deleted file mode 100644
index 19926c6b1f..0000000000
--- a/network/riot-web/doinst.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-# Riot-web should have a real config to work.
-ln -sf /opt/riot-web/config.sample.json /opt/riot-web/config.json
diff --git a/network/riot-web/riot-web.SlackBuild b/network/riot-web/riot-web.SlackBuild
deleted file mode 100644
index b3a2878311..0000000000
--- a/network/riot-web/riot-web.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for riot-web
-
-# Copyright 2018 David O'Shaughnessy
-# Copyright 2018-2019 MDrights <psychi2009@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=riot-web
-PKGNAM=riot
-VERSION=${VERSION:-1.6.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# which browser to launch the app. default as Firefox if not defined.
-BROWSER=${BROWSER:-firefox}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-# Upstream has binary support for i386 and x86_64.
-if [ "$ARCH" = "x86_64" ]; then
- DEBARCH="amd64"
-elif [ "$ARCH" = "i586" ]; then
- DEBARCH="i386"
-else
- echo "Sorry, the riot-web binary is currently available for i386/x86_64 only."
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-tar xzvf $CWD/${PKGNAM}-v${VERSION}.tar.gz
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Move it.
-mkdir -p $PKG/opt
-mv ${PKGNAM}-v${VERSION} $PKG/opt/${PRGNAM}
-
-# Create a script to let the browser to launch the app.
-mkdir -p $PKG/usr/bin
-echo -e "#!/bin/sh
-cd /opt/riot-web && python3 -m http.server 8000 --bind 127.0.0.1 &
-sleep 5
-$BROWSER http://localhost:8000" \
- > $PKG/usr/bin/riot-web
-
-chmod a+x $PKG/usr/bin/riot-web
-
-# Distribute its desktop file and its icon pics to icon dirs.
-mkdir -p $PKG/usr/share/applications/
-cp $CWD/riot-web.desktop ${PKG}/usr/share/applications/
-
-for dpi in 128 16 24 256 48 64 96 512; do
- PNG="$PKG/usr/share/icons/hicolor/${dpi}x${dpi}/apps/"
- mkdir -p $PNG
- cp $CWD/riot-web.png.${dpi} ${PNG}/riot-web.png
-done
-
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/riot-web/riot-web.desktop b/network/riot-web/riot-web.desktop
deleted file mode 100644
index 5aac9a79a7..0000000000
--- a/network/riot-web/riot-web.desktop
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Name=Riot.im
-Name[zh_CN]=Riot.im 加密聊天室
-Name[zh_HK]=Riot.im 加密聊天室
-Name[zh_TW]=Riot.im 加密聊天室
-Comment=A feature-rich client for Matrix.org
-Comment[zh_CN]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
-Comment[zh_HK]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
-Comment[zh_TW]=一个基于 Matrix.org (邦联化)的端对端加密群聊工具
-Exec=/usr/bin/riot-web
-Terminal=false
-Type=Application
-Icon=riot-web
-StartupWMClass=riot
-Categories=Network;X-Antigfw
diff --git a/network/riot-web/riot-web.info b/network/riot-web/riot-web.info
deleted file mode 100644
index 72fd335d9f..0000000000
--- a/network/riot-web/riot-web.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="riot-web"
-VERSION="1.6.0"
-HOMEPAGE="https://riot.im/"
-DOWNLOAD="https://github.com/vector-im/riot-web/releases/download/v1.6.0/riot-v1.6.0.tar.gz"
-MD5SUM="6261bc00b53d68eea81d3db55952bf8d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="MDrights"
-EMAIL="psychi2009@gmail.com"
diff --git a/network/riot-web/riot-web.png.128 b/network/riot-web/riot-web.png.128
deleted file mode 100644
index 54149b1ae2..0000000000
--- a/network/riot-web/riot-web.png.128
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.16 b/network/riot-web/riot-web.png.16
deleted file mode 100644
index def4ec5eee..0000000000
--- a/network/riot-web/riot-web.png.16
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.24 b/network/riot-web/riot-web.png.24
deleted file mode 100644
index 6fe144ea13..0000000000
--- a/network/riot-web/riot-web.png.24
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.256 b/network/riot-web/riot-web.png.256
deleted file mode 100644
index 563e6d5edc..0000000000
--- a/network/riot-web/riot-web.png.256
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.48 b/network/riot-web/riot-web.png.48
deleted file mode 100644
index 9cd225d402..0000000000
--- a/network/riot-web/riot-web.png.48
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.512 b/network/riot-web/riot-web.png.512
deleted file mode 100644
index 328a723c97..0000000000
--- a/network/riot-web/riot-web.png.512
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.64 b/network/riot-web/riot-web.png.64
deleted file mode 100644
index 20a7a6cff3..0000000000
--- a/network/riot-web/riot-web.png.64
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/riot-web.png.96 b/network/riot-web/riot-web.png.96
deleted file mode 100644
index eb48c2c91e..0000000000
--- a/network/riot-web/riot-web.png.96
+++ /dev/null
Binary files differ
diff --git a/network/riot-web/slack-desc b/network/riot-web/slack-desc
deleted file mode 100644
index 0db4eb3401..0000000000
--- a/network/riot-web/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-riot-web: riot-web (Riot for Desktop)
-riot-web:
-riot-web: Built around group chatrooms, Riot lets you share messages, images,
-riot-web: videos and files - interact with your tools and access all your
-riot-web: different communities under one roof. One single identity and place
-riot-web: for all your teams: no need to switch accounts, work and chat with
-riot-web: people from different organisations in public or private rooms:
-riot-web: from professional projects to school trips, Riot will become the
-riot-web: center of all your discussions!
-riot-web:
-riot-web: This is a repackaging of the pre-built released version of Riot.
diff --git a/network/roger-router/README b/network/roger-router/README
deleted file mode 100644
index fddd2add07..0000000000
--- a/network/roger-router/README
+++ /dev/null
@@ -1,31 +0,0 @@
-Roger-Router (former FFGTK Router Manager)
-
-Fax-Software and Call-Monitor for AVM FRITZ!Box or compatible
-
-
-To install a Fax-printer you can use (as root-user):
-
- sh /usr/share/roger/install-fax.sh
-
-
-Optional Dependencies
-
-There is an optional firefox-plugin "roger-dial". It can be installed by
-calling https://www.tabos.org/wp-content/uploads/tabos/roger-dial-1.8.1.xpi
-from your firefox browser.
-
-
-Groupname and Username
-
-You must have the group 'fax' to run this script, for example:
-
- groupadd -g 273 fax
-
-In order to enable fax transfers, your user must be a member of the
-'fax' group. Use
-
- gpasswd -a <username> fax
-
-as the root user to add the user <username> to the group fax,
-and then log out and log in again as <username>. (Replace <username>
-with the real user name on your system.)
diff --git a/network/roger-router/doinst.sh b/network/roger-router/doinst.sh
deleted file mode 100644
index 401d987795..0000000000
--- a/network/roger-router/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-if [ -e usr/share/glib-2.0/schemas ]; then
- if [ -x /usr/bin/glib-compile-schemas ]; then
- /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
- fi
-fi
diff --git a/network/roger-router/roger-router.SlackBuild b/network/roger-router/roger-router.SlackBuild
deleted file mode 100644
index 76b2461d81..0000000000
--- a/network/roger-router/roger-router.SlackBuild
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for roger-router
-#
-# Copyright 2015 Marek Srejma (sam_web@yahoo.de)
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=roger-router
-VERSION=${VERSION:-1.9.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-bailout() {
- echo " You must have fax group:"
- echo " # groupadd -g 273 fax"
- exit 1
-}
-
-# Bail if group isn't valid on your system
-if ! getent group fax 1>/dev/null 2>/dev/null ; then
- bailout
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-./autogen.sh
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-for d in "." "doc" "roger" "roger-cli"
-do
- sed \
- -e '/^SPANDSP_LIBS\s*=/ s|-L.*/|-L/usr/|' \
- -i ${d}/Makefile
-done
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-sed \
- -e 's|/lib|/lib'${LIBDIRSUFFIX}'|' \
- -e '/^cp\s*/ s|roger-cups|/usr/share/roger/roger-cups|' \
- -e '/^lpadmin/ s|roger-fax.ppd|/usr/share/roger/roger-fax.ppd|' \
- -i $PKG/usr/share/roger/install-fax.sh
-
-# content of /usr/share/roger/install-fax.sh
-mkdir -p $PKG/var/spool/roger/ $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/
-chown lp:fax $PKG/var/spool/roger
-chmod 2770 $PKG/var/spool/roger/
-cp $PKG/usr/share/roger/roger-cups $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/
-chown root:root $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/roger-cups
-chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/cups/backend/roger-cups
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/roger-router/roger-router.info b/network/roger-router/roger-router.info
deleted file mode 100644
index 6b67177d7e..0000000000
--- a/network/roger-router/roger-router.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="roger-router"
-VERSION="1.9.3"
-HOMEPAGE="https://www.tabos.org/"
-DOWNLOAD="https://www.tabos.org/wp-content/uploads/tabos/roger-router-1.9.3.tar.xz"
-MD5SUM="78c4b41b2c3dceb41cb15215f51b0bb8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="speex libpeas spandsp libcapi20 gupnp json-glib"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
diff --git a/network/roger-router/slack-desc b/network/roger-router/slack-desc
deleted file mode 100644
index 961d48d036..0000000000
--- a/network/roger-router/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-roger-router: roger-router (former FFGTK Router Manager)
-roger-router:
-roger-router: Fax-Software and Call-Monitor for AVM FRITZ!Box or compatible
-roger-router:
-roger-router:
-roger-router: https://www.tabos.org/
-roger-router:
-roger-router:
-roger-router:
-roger-router:
-roger-router:
diff --git a/network/roundcubemail/README b/network/roundcubemail/README
new file mode 100644
index 0000000000..813f90e1aa
--- /dev/null
+++ b/network/roundcubemail/README
@@ -0,0 +1,24 @@
+Roundcube webmail is a browser-based multilingual IMAP client with an
+application-like user interface. It provides full functionality you
+expect from an email client. It is fast and only needs a basic
+php capable server and sqlite, mysql or postgresql.
+Use roundcubemail-apache.conf from the doc directory as starting point.
+
+Features:
+ Drag-&-drop message management
+ Full support for MIME and HTML messages
+ Multiple sender identities
+ Full featured address book with groups and LDAP connectors
+ Find-as-you-type address book integration
+ Threaded message listing
+ IDNA and SMTPUTF8 support
+ Spell checking
+ Responsive skin (multi-device support)
+ Shared/global IMAP folders
+ Support for access control lists (ACL)
+ Built-in caching for fast mailbox access
+ Unlimited users and messages
+ Import/export functions
+ Plug-in API for flexible extensions
+ XSS attack protection
+ Support for PGP encryption
diff --git a/network/roundcubemail/doinst.sh b/network/roundcubemail/doinst.sh
new file mode 100644
index 0000000000..11737d58af
--- /dev/null
+++ b/network/roundcubemail/doinst.sh
@@ -0,0 +1,26 @@
+printf "\n" | chroot . /usr/share/roundcubemail/bin/update.sh 1>/dev/null
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/cron.daily/roundcubemail.new
diff --git a/network/roundcubemail/roundcubemail.SlackBuild b/network/roundcubemail/roundcubemail.SlackBuild
new file mode 100644
index 0000000000..81857a2de5
--- /dev/null
+++ b/network/roundcubemail/roundcubemail.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for roundcube
+
+# Copyright 2022-2023 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=roundcubemail
+VERSION=${VERSION:-1.4.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar vxf $CWD/$PRGNAM-$VERSION-complete.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -R \
+ index.php .htaccess SQL bin program installer config skins \
+ public_html plugins vendor temp logs \
+ $PKG/usr/share/$PRGNAM
+chown -R apache $PKG/usr/share/$PRGNAM/{temp,logs}
+# Remove cruft
+find $PKG -type f -name '.gitignore' -delete
+find $PKG -empty -delete
+# cronjob
+mkdir -p $PKG/etc/cron.daily
+cat << EOF > $PKG/etc/cron.daily/$PRGNAM.new
+#!/bin/bash
+/usr/share/$PRGNAM/bin/cleandb.sh 1>/dev/null
+EOF
+chmod 755 $PKG/etc/cron.daily/$PRGNAM.new
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE UPGRADING CHANGELOG \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+# apache example config
+cat << EOF > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-apache.conf
+#<VirtualHost *:443>
+<VirtualHost *:80>
+
+ DocumentRoot /usr/share/$PRGNAM/public_html/
+ ServerName mail.example.org
+
+ <Directory /usr/share/$PRGNAM/>
+ Options None
+ AllowOverride All
+ Require all granted
+
+ #php_value upload_max_filesize 50M
+ #php_value post_max_size 52M
+ #php_value memory_limit 256M
+ #php_value date.timezone "Europe/Berlin"
+ </Directory>
+
+# SSLEngine on
+# SSLCertificateFile /var/lib/dehydrated/certs/mail.example.org/fullchain.pem
+# SSLCertificateKeyFile /var/lib/dehydrated/certs/mail.example.org/privkey.pem
+
+</VirtualHost>
+EOF
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/roundcubemail/roundcubemail.info b/network/roundcubemail/roundcubemail.info
new file mode 100644
index 0000000000..490db962be
--- /dev/null
+++ b/network/roundcubemail/roundcubemail.info
@@ -0,0 +1,10 @@
+PRGNAM="roundcubemail"
+VERSION="1.4.15"
+HOMEPAGE="https://roundcube.net/"
+DOWNLOAD="https://github.com/roundcube/roundcubemail/releases/download/1.4.15/roundcubemail-1.4.15-complete.tar.gz"
+MD5SUM="70da491b8b16514bc39e4c76174f93b4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/network/roundcubemail/slack-desc b/network/roundcubemail/slack-desc
new file mode 100644
index 0000000000..0ecf59c545
--- /dev/null
+++ b/network/roundcubemail/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+roundcubemail: roundcubemail (open source webmail software)
+roundcubemail:
+roundcubemail: Roundcube webmail is a browser-based multilingual IMAP client with an
+roundcubemail: application-like user interface. It provides full functionality you
+roundcubemail: expect from an email client. It is fast and only needs a basic
+roundcubemail: php capable server and sqlite, mysql or postgresql.
+roundcubemail:
+roundcubemail:
+roundcubemail: https://roundcube.net/
+roundcubemail:
+roundcubemail:
diff --git a/network/rspamd/Toolset.cmake.patch b/network/rspamd/Toolset.cmake.patch
deleted file mode 100644
index f70735d899..0000000000
--- a/network/rspamd/Toolset.cmake.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- cmake/Toolset.cmake 2020-09-23 18:31:57.275661294 -0600
-+++ cmake/Toolset.cmake 2020-09-23 18:32:34.812659218 -0600
-@@ -45,10 +45,10 @@
- find_program(GOLD_PATH NAMES "ld.gold" "gold")
-
- if(NOT LINKER_NAME)
-- if(LLD_PATH)
-- set(LINKER_NAME "lld")
-- elseif(GOLD_PATH)
-+ if(GOLD_PATH)
- set(LINKER_NAME "gold")
-+ elseif(LLD_PATH)
-+ set(LINKER_NAME "lld")
- else()
- message(STATUS "Use generic 'ld' as a linker")
- endif()
diff --git a/network/rspamd/rc.rspamd.new b/network/rspamd/rc.rspamd.new
index 8c3e78f908..f68b62cb91 100644
--- a/network/rspamd/rc.rspamd.new
+++ b/network/rspamd/rc.rspamd.new
@@ -10,6 +10,11 @@ CONF=/etc/rspamd/rspamd.conf
DAEMON_ARGS="-c $CONF -u $NAME -g $NAME"
rspamd_start() {
+ if [ ! -d $(dirname $PIDFILE) ]; then
+ mkdir $(dirname $PIDFILE)
+ chown rspamd:rspamd $(dirname $PIDFILE)
+ fi
+
if [ ! -r $CONF ]; then
echo "$CONF does not appear to exist. Abort."
exit 1
@@ -21,7 +26,7 @@ rspamd_start() {
fi
echo "Starting rspamd ..."
- $DAEMON $DAEMON_ARGS
+ $DAEMON $DAEMON_ARGS &
}
rspamd_stop() {
diff --git a/network/rspamd/rspamd.SlackBuild b/network/rspamd/rspamd.SlackBuild
index 60ff15d91d..071fadc54f 100644
--- a/network/rspamd/rspamd.SlackBuild
+++ b/network/rspamd/rspamd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Rspamd
-# Copyright 2018-2020 Ebben Aries <e@dscp.org>
+# Copyright 2018-2024 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220320 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rspamd
-VERSION=${VERSION:-2.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.8.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,18 +40,24 @@ if [ -z "$ARCH" ]; then
esac
fi
-UIDGID=359
-if ! getent group $PRGNAM; then
- echo " You must have the \"$PRGNAM\" group to run this script."
+# 20220320 bkw: please don't make me run the script twice to see
+# both commands: show them both if either is missing.
+group_user_error() {
+ echo " You must have the \"$PRGNAM\" group and user to run this script."
echo " # groupadd -g $UIDGID $PRGNAM"
- exit 1
-elif ! getent passwd $PRGNAM; then
- echo " You must have the \"$PRGNAM\" user to run this script."
echo " # useradd -u $UIDGID -s /bin/false -d /dev/null -g $PRGNAM $PRGNAM"
exit 1
+}
+
+UIDGID=359
+getent group $PRGNAM || group_user_error
+getent passwd $PRGNAM || group_user_error
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,17 +87,12 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Patch to use correct linker
-# https://github.com/rspamd/rspamd/issues/3168#issuecomment-583849873
-patch -p0 < $CWD/Toolset.cmake.patch
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-mkdir -p build
-cd build
- export "PATH=/opt/cmake-202x/bin:$PATH"
+mkdir -p rspamd.build
+cd rspamd.build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -96,27 +102,19 @@ cd build
-DENABLE_STATIC=OFF \
-DENABLE_HYPERSCAN=ON \
-DENABLE_JEMALLOC=ON \
+ -DENABLE_LUAJIT=ON \
-DENABLE_OPTIMIZATION=ON \
-DCMAKE_BUILD_TYPE=Release \
..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip $PKG/usr/man/man*/*
mkdir -p $PKG/var/log/rspamd
chown rspamd:rspamd $PKG/var/log/rspamd
chmod 0755 $PKG/var/log/rspamd
-mkdir -p $PKG/var/run/rspamd
-chown rspamd:rspamd $PKG/var/run/rspamd
-chmod 0750 $PKG/var/run/rspamd
-
mkdir -p $PKG/var/lib/rspamd
chown rspamd:rspamd $PKG/var/lib/rspamd
chmod 0750 $PKG/var/lib/rspamd
@@ -134,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rspamd/rspamd.info b/network/rspamd/rspamd.info
index 8b978a1de4..a533c96955 100644
--- a/network/rspamd/rspamd.info
+++ b/network/rspamd/rspamd.info
@@ -1,10 +1,10 @@
PRGNAM="rspamd"
-VERSION="2.5"
+VERSION="3.8.4"
HOMEPAGE="https://rspamd.com"
-DOWNLOAD="https://github.com/rspamd/rspamd/archive/2.5/rspamd-2.5.tar.gz"
-MD5SUM="9b70be38ca7e17ee89373b764fef1ea7"
+DOWNLOAD="https://github.com/rspamd/rspamd/archive/3.8.4/rspamd-3.8.4.tar.gz"
+MD5SUM="b0277cbdcca54bd6873b1fd2ea7e61de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ragel luajit redis hyperscan cmake-202x libsodium"
+REQUIRES="luajit redis hyperscan"
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"
diff --git a/network/rss2email/4b36e28.patch b/network/rss2email/4b36e28.patch
deleted file mode 100644
index 5b6a050c7e..0000000000
--- a/network/rss2email/4b36e28.patch
+++ /dev/null
@@ -1,239 +0,0 @@
-diff -Naur orig/CHANGELOG new/CHANGELOG
---- orig/CHANGELOG 2020-08-31 18:03:24.000000000 +0300
-+++ new/CHANGELOG 2020-09-05 16:09:45.000000000 +0300
-@@ -1,4 +1,7 @@
- UNRELEASED
-+ * Improve log messages
-+ * Remove documentation of `smtp-ssl-protocol` as this option was dropped in 2016
-+ * Stop forging SMTP and sendmail envelope sender (#134)
-
- v3.12.2 (2020-08-31)
- * Fix bug `AttributeError: 'NoneType' object has no attribute 'close'` (#126)
-diff -Naur orig/r2e.1 new/r2e.1
---- orig/r2e.1 2020-08-31 18:03:24.000000000 +0300
-+++ new/r2e.1 2020-09-05 16:09:45.000000000 +0300
-@@ -253,8 +253,6 @@
- SMTP server
- .IP smtp-ssl
- Connect to the SMTP server using SSL
--.IP smtp-ssl-protocol
--TLS/SSL version to use on STARTTLS when not using 'smtp-ssl'.
- .RE
- .SS IMAP configuration
- .IP imap-auth
-diff -Naur orig/rss2email/__init__.py new/rss2email/__init__.py
---- orig/rss2email/__init__.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/__init__.py 2020-09-05 16:09:45.000000000 +0300
-@@ -26,7 +26,7 @@
- import sys as _sys
-
-
--__version__ = '3.12.2'
-+__version__ = '3.12.1'
- __url__ = 'https://github.com/rss2email/rss2email'
- __author__ = 'The rss2email maintainers'
- __email__ = 'rss2email@tremily.us'
-diff -Naur orig/rss2email/config.py new/rss2email/config.py
---- orig/rss2email/config.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/config.py 2020-09-05 16:09:45.000000000 +0300
-@@ -83,11 +83,11 @@
- # Transfer-Encoding. For local mailing it is safe and
- # convenient to use 8bit.
- ('use-8bit', str(False)),
-- # True: Only use the 'from' address.
-+ # True: Only use the 'from' address. Overrides the use-publisher-email setting.
- # False: Use the email address specified by the feed, when possible.
- ('force-from', str(False)),
-- # True: Use the publisher's email if you can't find the author's.
-- # False: Just use the 'from' email instead.
-+ # True: Use author's email if found, or use publisher's email if found, or use the 'from' setting.
-+ # False: Use author's email if found, or use the 'from' setting.
- ('use-publisher-email', str(False)),
- # If empty, only use the feed email address rather than
- # friendly name plus email address. Available attributes may
-@@ -132,7 +132,7 @@
- # because the old entries will not be recorded under their new
- # link-based ids.
- ('trust-link', str(False)),
-- # If 'trust-guid' or 'trust-link' is True, this settings allows to receive
-+ # If 'trust-guid' or 'trust-link' is True, this setting allows to receive
- # a new email message in reply to the previous one when the post changes.
- ('reply-changes', str(False)),
- # To most correctly encode emails with international
-diff -Naur orig/rss2email/email.py new/rss2email/email.py
---- orig/rss2email/email.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/email.py 2020-09-05 16:09:45.000000000 +0300
-@@ -151,7 +151,7 @@
- message[key] = _Header(value, encoding)
- return message
-
--def smtp_send(sender, recipient, message, config=None, section='DEFAULT'):
-+def smtp_send(recipient, message, config=None, section='DEFAULT'):
- if config is None:
- config = _config.CONFIG
- server = config.get(section, 'smtp-server')
-@@ -190,7 +190,7 @@
- except Exception as e:
- raise _error.SMTPAuthenticationError(
- server=server, username=username)
-- smtp.send_message(message, sender, recipient.split(','))
-+ smtp.send_message(message, config.get(section, 'from'), recipient.split(','))
- smtp.quit()
-
- def imap_send(message, config=None, section='DEFAULT'):
-@@ -345,12 +345,12 @@
- else:
- return bytesio.getvalue()
-
--def sendmail_send(sender, recipient, message, config=None, section='DEFAULT'):
-+def sendmail_send(recipient, message, config=None, section='DEFAULT'):
- if config is None:
- config = _config.CONFIG
- message_bytes = _flatten(message)
- sendmail = config.get(section, 'sendmail')
-- sender_name,sender_addr = _parseaddr(sender)
-+ sender_name,sender_addr = _parseaddr(config.get(section, 'from'))
- _LOG.debug(
- 'sending message to {} via {}'.format(recipient, sendmail))
- try:
-@@ -366,11 +366,11 @@
- except Exception as e:
- raise _error.SendmailError() from e
-
--def send(sender, recipient, message, config=None, section='DEFAULT'):
-+def send(recipient, message, config=None, section='DEFAULT'):
- protocol = config.get(section, 'email-protocol')
- if protocol == 'smtp':
- smtp_send(
-- sender=sender, recipient=recipient, message=message,
-+ recipient=recipient, message=message,
- config=config, section=section)
- elif protocol == 'imap':
- imap_send(message=message, config=config, section=section)
-@@ -378,5 +378,5 @@
- maildir_send(message=message, config=config, section=section)
- else:
- sendmail_send(
-- sender=sender, recipient=recipient, message=message,
-+ recipient=recipient, message=message,
- config=config, section=section)
-diff -Naur orig/rss2email/error.py new/rss2email/error.py
---- orig/rss2email/error.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/error.py 2020-09-05 16:09:45.000000000 +0300
-@@ -42,15 +42,14 @@
-
-
- class TimeoutError (RSS2EmailError):
-- def __init__(self, time_limited_function, message=None):
-- if message is None:
-- if time_limited_function.error is not None:
-- message = (
-- 'error while running time limited function: {}'.format(
-- time_limited_function.error[1]))
-- else:
-- message = '{} second timeout exceeded'.format(
-- time_limited_function.timeout)
-+ def __init__(self, time_limited_function):
-+ if time_limited_function.error is not None:
-+ message = (
-+ 'error while running time limited function in {}: {}'.format(
-+ time_limited_function.name, time_limited_function.error[1]))
-+ else:
-+ message = '{} second timeout exceeded in {}'.format(
-+ time_limited_function.timeout, time_limited_function.name)
- super(TimeoutError, self).__init__(message=message)
- self.time_limited_function = time_limited_function
-
-@@ -148,8 +147,9 @@
- class InvalidFeedConfig (FeedError):
- def __init__(self, setting, feed, message=None, **kwargs):
- if not message:
-- message = "invalid feed configuration {}".format(
-- {setting: getattr(feed, setting)})
-+ message = (
-+ "invalid feed configuration '{setting}' in {feed}".format(
-+ setting=getattr(feed, setting), feed=feed))
- super(InvalidFeedConfig, self).__init__(
- feed=feed, message=message, **kwargs)
- self.setting = setting
-diff -Naur orig/rss2email/feed.py new/rss2email/feed.py
---- orig/rss2email/feed.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/feed.py 2020-09-05 16:09:45.000000000 +0300
-@@ -373,7 +373,7 @@
- kwargs = {}
- if proxy:
- kwargs['handlers'] = [_urllib_request.ProxyHandler({'http':proxy})]
-- f = _util.TimeLimitedFunction(timeout, _feedparser.parse)
-+ f = _util.TimeLimitedFunction('feed {}'.format(self.name), timeout, _feedparser.parse)
- return f(self.url, self.etag, modified=self.modified, **kwargs)
-
- def _process(self, parsed):
-@@ -773,9 +773,9 @@
- if entry.get('summary_detail', None):
- contents.append(entry.summary_detail)
- if self.html_mail:
-- types = ['text/html', 'text/plain']
-+ types = ['application/xhtml+xml', 'text/html', 'text/plain']
- else:
-- types = ['text/plain', 'text/html']
-+ types = ['text/plain', 'text/html', 'application/xhtml+xml']
- for content_type in types:
- for content in contents:
- if content['type'] == content_type:
-@@ -871,7 +871,7 @@
- section = self.section
- if section not in self.config:
- section = 'DEFAULT'
-- _email.send(sender=sender, recipient=self.to, message=message,
-+ _email.send(recipient=self.to, message=message,
- config=self.config, section=section)
-
- def run(self, send=True):
-diff -Naur orig/rss2email/feeds.py new/rss2email/feeds.py
---- orig/rss2email/feeds.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/feeds.py 2020-09-05 16:09:45.000000000 +0300
-@@ -239,11 +239,10 @@
- def load(self, require=False):
- _LOG.debug('load feed configuration from {}'.format(self.configfiles))
- if self.configfiles:
-- self.read_configfiles = self.config.read(self.configfiles)
-+ read_configfiles = self.config.read(self.configfiles)
- else:
-- self.read_configfiles = []
-- _LOG.debug('loaded configuration from {}'.format(
-- self.read_configfiles))
-+ read_configfiles = []
-+ _LOG.debug('loaded configuration from {}'.format(read_configfiles))
- self._load_feeds(require=require)
-
- def _load_feeds(self, require):
-diff -Naur orig/rss2email/util.py new/rss2email/util.py
---- orig/rss2email/util.py 2020-08-31 18:03:24.000000000 +0300
-+++ new/rss2email/util.py 2020-09-05 16:09:45.000000000 +0300
-@@ -35,19 +35,20 @@
- >>> def sleeping_return(sleep, x):
- ... time.sleep(sleep)
- ... return x
-- >>> TimeLimitedFunction(0.5, sleeping_return)(0.1, 'x')
-+ >>> TimeLimitedFunction('sleeping', 0.5, sleeping_return)(0.1, 'x')
- 'x'
-- >>> TimeLimitedFunction(0.5, sleeping_return)(10, 'y')
-+ >>> TimeLimitedFunction('sleeping', 0.5, sleeping_return)(10, 'y')
- Traceback (most recent call last):
- ...
-- rss2email.error.TimeoutError: 0.5 second timeout exceeded
-- >>> TimeLimitedFunction(0.5, time.sleep)('x')
-+ rss2email.error.TimeoutError: 0.5 second timeout exceeded in sleeping
-+ >>> TimeLimitedFunction('sleep', 0.5, time.sleep)('x')
- Traceback (most recent call last):
- ...
-- rss2email.error.TimeoutError: error while running time limited function: a float is required
-+ rss2email.error.TimeoutError: error while running time limited function in sleep: a float is required
- """
-- def __init__(self, timeout, target, **kwargs):
-+ def __init__(self, name, timeout, target, **kwargs):
- super(TimeLimitedFunction, self).__init__(target=target, daemon=True, **kwargs)
-+ self.name = name
- self.timeout = timeout
- self.result = None
- self.error = None
diff --git a/network/rss2email/README b/network/rss2email/README
index cdc9dd0f20..d21b699b77 100644
--- a/network/rss2email/README
+++ b/network/rss2email/README
@@ -1,8 +1,6 @@
-A python script that converts RSS/Atom newsfeeds to email.
+A python script that forward RSS feeds to your email address. This
+allows you to view RSS feeds in an interface you are already familiar
+with and to apply filters to incoming feeds.
-It is the successor to the rss2email by Aaron Swartz, available on SBo
-as r2e.
-
-rss2email requires feedparser to be built with python3 support.
-
-rss2email will conflict with r2e.
+It is the community maintained successor to the rss2email by Aaron
+Swartz.
diff --git a/network/rss2email/rss2email.SlackBuild b/network/rss2email/rss2email.SlackBuild
index f6e181b909..e5aa792998 100644
--- a/network/rss2email/rss2email.SlackBuild
+++ b/network/rss2email/rss2email.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rss2email
-# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rss2email
-VERSION=${VERSION:-3.12.2} # Don't forget to remove the patch below!!!
+VERSION=${VERSION:-3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,9 +70,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-# For ver. 3.12.2 only
-patch -p1 < $CWD/4b36e28.patch
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -91,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rss2email/rss2email.info b/network/rss2email/rss2email.info
index 1b46bee487..8d14e4d856 100644
--- a/network/rss2email/rss2email.info
+++ b/network/rss2email/rss2email.info
@@ -1,10 +1,10 @@
PRGNAM="rss2email"
-VERSION="3.12.2"
+VERSION="3.14"
HOMEPAGE="https://github.com/rss2email/rss2email"
-DOWNLOAD="https://github.com/rss2email/rss2email/archive/v3.12.2/rss2email-3.12.2.tar.gz"
-MD5SUM="9975f0c0f637daaa025d09ae54c33a8c"
+DOWNLOAD="https://github.com/rss2email/rss2email/archive/v3.14/rss2email-3.14.tar.gz"
+MD5SUM="68ed27825b1a7fb7fa7c3396954ed654"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 feedparser html2text"
+REQUIRES="feedparser html2text"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/network/rss2email/slack-desc b/network/rss2email/slack-desc
index 9c4d4fb883..63a31dbb53 100644
--- a/network/rss2email/slack-desc
+++ b/network/rss2email/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
rss2email: rss2email (rss to email gateway)
rss2email:
-rss2email: A python script that converts RSS/Atom newsfeeds to email.
+rss2email: A python script that forward RSS feeds to your email address.
rss2email:
rss2email:
rss2email:
diff --git a/network/rssh/rssh.SlackBuild b/network/rssh/rssh.SlackBuild
index 9cb44f7123..1860038bb8 100644
--- a/network/rssh/rssh.SlackBuild
+++ b/network/rssh/rssh.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rssh
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rssh
VERSION=${VERSION:-2.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rtl8188eu/git2tarxz.sh b/network/rtl8188eu/git2tarxz.sh
new file mode 100644
index 0000000000..268cda111f
--- /dev/null
+++ b/network/rtl8188eu/git2tarxz.sh
@@ -0,0 +1,64 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version number.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Version number example: 0.0.1+20200227_ad7ec17
+
+# Notes:
+
+# Do not use this if you're packaging a release.
+
+# This script doesn't need to be run as root. It does need to be able
+# to write to the current directory it's run from.
+
+# Running this script twice for the same commit will NOT give identical
+# tarballs, even if the contents are identical. This is because tar
+# includes the current time in a newly-created tarball (plus there may
+# be other git-related reasons).
+
+# Once you've generated a tarball, you'll still need a place to host it.
+# Ask on the mailing list, if you don't have your own web server to
+# play with.
+
+# WARNING: this is a nonstandard git2tarxz.sh.
+# The Makefile for rtl8188eu *insists* on being run from an
+# actual git checkout (with .git/ dir), so I'm leaving that
+# stuff in the tarball.
+
+PRGNAM=rtl8188eu
+CLONE_URL=https://github.com/lwfinger/rtl8188eu
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+#rm -rf .git
+#find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=\"$VERSION\""
+echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\""
diff --git a/network/rtl8188eu/rtl8188eu.SlackBuild b/network/rtl8188eu/rtl8188eu.SlackBuild
index 6de8f25f65..d7ccb5fd63 100644
--- a/network/rtl8188eu/rtl8188eu.SlackBuild
+++ b/network/rtl8188eu/rtl8188eu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rtl8188eu
#
# Copyright (c) 2015 m.budiman <mbembi@operamail.com>
@@ -23,29 +23,36 @@
# SUCH DAMAGE.
# -----------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rtl8188eu
-VERSION=${VERSION:-5e6362f3}
+VERSION=${VERSION:-20220203_775137f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
KERNEL=${KERNEL:-$(uname -r)}
PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,16 +70,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-master
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-master
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+export KVER=$KERNEL
env -u ARCH make
install -D -m 0644 rtl8188eufw.bin $PKG/lib/firmware/rtlwifi/rtl8188eufw.bin
@@ -89,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rtl8188eu/rtl8188eu.info b/network/rtl8188eu/rtl8188eu.info
index d1b32ea33f..7feefa4373 100644
--- a/network/rtl8188eu/rtl8188eu.info
+++ b/network/rtl8188eu/rtl8188eu.info
@@ -1,8 +1,8 @@
PRGNAM="rtl8188eu"
-VERSION="5e6362f3"
-HOMEPAGE="https://github.com/lwfinger/"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/rtl8188eu/rtl8188eu-5e6362f3.zip"
-MD5SUM="dcb6af10103a3d90bb5ce9f254843ba6"
+VERSION="20220203_775137f"
+HOMEPAGE="https://github.com/lwfinger/rtl8188eu"
+DOWNLOAD="https://slackware.uk/~urchlay/src/rtl8188eu-20220203_775137f.tar.xz"
+MD5SUM="44d6c4f53e23dd981487c93c63887ebe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/rtl8188fu/README b/network/rtl8188fu/README
new file mode 100644
index 0000000000..06296a3485
--- /dev/null
+++ b/network/rtl8188fu/README
@@ -0,0 +1,4 @@
+rtl8188fu (rtl8188fu / rtl8188ftv wireless network adaptors driver)
+
+Driver for Realtek wireless adaptors using the rtl8188fu chipset,
+including the rtl8188ftv
diff --git a/network/rtl8188fu/conf/disable-random-mac.conf b/network/rtl8188fu/conf/disable-random-mac.conf
new file mode 100644
index 0000000000..0763348bdb
--- /dev/null
+++ b/network/rtl8188fu/conf/disable-random-mac.conf
@@ -0,0 +1,2 @@
+[device]
+wifi.scan-rand-mac-address=no
diff --git a/network/rtl8188fu/conf/r8188eu-blacklist.conf b/network/rtl8188fu/conf/r8188eu-blacklist.conf
new file mode 100644
index 0000000000..483e3418c8
--- /dev/null
+++ b/network/rtl8188fu/conf/r8188eu-blacklist.conf
@@ -0,0 +1 @@
+alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu
diff --git a/network/rtl8188fu/conf/rtl8188fu.conf b/network/rtl8188fu/conf/rtl8188fu.conf
new file mode 100644
index 0000000000..7f3e13b8d3
--- /dev/null
+++ b/network/rtl8188fu/conf/rtl8188fu.conf
@@ -0,0 +1 @@
+options rtl8188fu rtw_power_mgnt=0 rtw_enusbss=0 rtw_ips_mode=0
diff --git a/network/rtl8188fu/conf/rtl8xxxu-blacklist.conf b/network/rtl8188fu/conf/rtl8xxxu-blacklist.conf
new file mode 100644
index 0000000000..483e3418c8
--- /dev/null
+++ b/network/rtl8188fu/conf/rtl8xxxu-blacklist.conf
@@ -0,0 +1 @@
+alias usb:v0BDApF179d*dc*dsc*dp*icFFiscFFipFFin* rtl8188fu
diff --git a/network/rtl8188fu/doinst.sh b/network/rtl8188fu/doinst.sh
new file mode 100644
index 0000000000..b17f2a6739
--- /dev/null
+++ b/network/rtl8188fu/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null
+fi
diff --git a/network/rtl8188fu/rtl8188fu.SlackBuild b/network/rtl8188fu/rtl8188fu.SlackBuild
new file mode 100644
index 0000000000..5d7afce3e2
--- /dev/null
+++ b/network/rtl8188fu/rtl8188fu.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for rtl8188fu
+# Written by Juan M. Lasca <juanmlasca@gmail.com>
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# Based on rtl8812bu.SlackBuild
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rtl8188fu
+VERSION=${VERSION:-1.0+20231018_68ced40}
+COMMIT=68ced40d862d13663294496bac2e9a91ffa0e5c7
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+KERNEL=${KERNEL:-$(uname -r)}
+PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+make
+
+install -D -m0644 rtl8188fu.ko \
+ $PKG/lib/modules/$KERNEL/kernel/drivers/net/wireless/rtl8188fu.ko
+
+mkdir -p $PKG/lib/modprobe.d/
+mkdir -p $PKG/etc/NetworkManager/conf.d/
+
+# disable power management
+cp $CWD/conf/rtl8188fu.conf $PKG/lib/modprobe.d/
+
+# disable MAC address spoofing
+cp $CWD/conf/disable-random-mac.conf $PKG/etc/NetworkManager/conf.d/
+
+# blacklist (alias) for kernel 5.15 and 5.16
+cp $CWD/conf/r8188eu-blacklist.conf $PKG/lib/modprobe.d/
+
+# blacklist (alias) for kernel 6.2 and up
+cp $CWD/conf/rtl8xxxu-blacklist.conf $PKG/lib/modprobe.d/
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$PKGVER
+mkdir -p $PKGDOC
+cp -a LICENSE README.md $PKGDOC
+cat $CWD/README > $PKGDOC/README
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rtl8188fu/rtl8188fu.info b/network/rtl8188fu/rtl8188fu.info
new file mode 100644
index 0000000000..d171f807c5
--- /dev/null
+++ b/network/rtl8188fu/rtl8188fu.info
@@ -0,0 +1,10 @@
+PRGNAM="rtl8188fu"
+VERSION="1.0+20231018_68ced40"
+HOMEPAGE="https://github.com/kelebek333/rtl8188fu"
+DOWNLOAD="https://github.com/kelebek333/rtl8188fu/archive/68ced40/rtl8188fu-68ced40d862d13663294496bac2e9a91ffa0e5c7.tar.gz"
+MD5SUM="5d80f8aa03b281ef759499dd9448ceea"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/network/rtl8188fu/slack-desc b/network/rtl8188fu/slack-desc
new file mode 100644
index 0000000000..8895bfc993
--- /dev/null
+++ b/network/rtl8188fu/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rtl8188fu: rtl8188fu (rtl8188fu / rtl8188ftv wireless network adaptors driver)
+rtl8188fu:
+rtl8188fu: Driver for Realtek wireless adaptors using the rtl8188fu or the
+rtl8188fu: rtl8188ftv chipset.
+rtl8188fu:
+rtl8188fu: For more information, see: https://github.com/kelebek333/rtl8188fu
+rtl8188fu:
+rtl8188fu:
+rtl8188fu:
+rtl8188fu:
+rtl8188fu:
diff --git a/network/rtl8812bu/README b/network/rtl8812bu/README
new file mode 100644
index 0000000000..2b614552c5
--- /dev/null
+++ b/network/rtl8812bu/README
@@ -0,0 +1,15 @@
+rtl8812bu (driver for rtl8812bu wireless network adaptors)
+
+Driver for Realtek wireless adaptors using the rtl8812bu chipset,
+including:
+
+* Cudy WU1200 AC1200 High Gain USB Wi-Fi Adapter
+* TP-Link Archer T3U
+* TP-Link Archer T3U Plus
+* TP-Link Archer T4U V3
+* Linksys WUSB6400M
+* Dlink DWA-181
+* Dlink DWA-182
+
+For more information, visit the project's home page at:
+https://github.com/fastoe/RTL8812BU
diff --git a/network/rtl8812bu/README.md b/network/rtl8812bu/README.md
new file mode 100644
index 0000000000..10533ba069
--- /dev/null
+++ b/network/rtl8812bu/README.md
@@ -0,0 +1,72 @@
+# Realtek RTL8812BU Driver for Linux
+
+[![Build Status](https://github.com/fastoe/RTL8812BU/actions/workflows/rtl8812bu.yml/badge.svg)](https://github.com/fastoe/RTL8812BU/actions)
+
+Driver for 802.11ac USB adapter with RTL8812BU chipset, only STA/Monitor mode is supported, no AP mode.
+
+A few known wireless cards that use this driver include:
+* [Fastoe AC1200 USB Wi-Fi Adapter](https://www.amazon.com/1200Mbps-ChromeBook-802-11ac-Compatible-Raspbian/dp/B081TGWCVB/ref=as_li_ss_tl?m=A9879GOT1YWJ2&marketplaceID=ATVPDKIKX0DER&qid=1581225299&s=merchant-items&sr=1-3&linkCode=ll1&tag=fastoe-20&linkId=5648949a51280f0323dd599dc27dbae4&language=en_US)
+* Cudy WU1200 AC1200 High Gain USB Wi-Fi Adapter
+* TP-Link Archer T3U
+* TP-Link Archer T3U Plus
+* TP-Link Archer T4U V3
+* Linksys WUSB6400M
+* Dlink DWA-181
+* Dlink DWA-182
+
+Currently tested with Linux kernel 4.12.14/4.15.0/5.3.0/5.15.0 on X86_64 platform **only**.
+
+### For Raspberry Pi
+* https://github.com/fastoe/RTL8812BU_for_Raspbian
+
+
+### For kernel 5.11 or later, please clone the v5.13.1 branch:
+```bash
+sudo apt update
+sudo apt install -y build-essential dkms git bc
+git clone -b v5.13.1 https://github.com/fastoe/RTL8812BU.git
+cd RTL8812BU
+make
+sudo make install
+sudo reboot
+```
+
+### For 5.10 kernel, please clone the v5.6.1 branch:
+```bash
+sudo apt update
+sudo apt install -y build-essential dkms git bc
+git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git
+cd RTL8812BU
+make
+sudo make install
+sudo reboot
+```
+
+### For 5.9 and previous versions:
+```bash
+sudo apt update
+sudo apt install -y build-essential dkms git bc
+git clone https://github.com/fastoe/RTL8812BU.git
+cd RTL8812BU
+make
+sudo make install
+sudo reboot
+```
+
+For setting monitor mode:
+
+```bash
+# configure for monitor mode
+sed -i 's/CONFIG_80211W = n/CONFIG_80211W = y/' Makefile
+sed -i 's/CONFIG_WIFI_MONITOR = n/CONFIG_WIFI_MONITOR = y/' Makefile
+
+make
+sudo make install
+sudo ip link set wlx1cbfcea97791 down
+sudo iw wlx1cbfcea97791 set monitor none
+sudo ip link set wlx1cbfcea97791 up
+```
+
+![image](https://www.fastoe.com/images/2020/05/8812bu-monitor-mode.png)
+
+Enjoy!
diff --git a/network/rtl8812bu/doinst.sh b/network/rtl8812bu/doinst.sh
new file mode 100644
index 0000000000..b17f2a6739
--- /dev/null
+++ b/network/rtl8812bu/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x sbin/depmod ]; then
+ chroot . /sbin/depmod -a 1> /dev/null 2> /dev/null
+fi
diff --git a/network/rtl8812bu/git2tarxz.sh b/network/rtl8812bu/git2tarxz.sh
new file mode 100644
index 0000000000..fab3f79ae8
--- /dev/null
+++ b/network/rtl8812bu/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# Create source tarball from git repo. Takes a branch (not a commit or tag)
+# as an argument! Warning, this is different from all the other git2tarxz
+# scripts on SBo!
+
+# Note that this script doesn't need to be run as root. It does need to
+# be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the *branch* to create a
+# tarball of. With no arg, this is used:
+BRANCH=${1:-v5.13.1}
+
+PRGNAM=rtl8812bu
+CLONE_URL=https://github.com/fastoe/RTL8812BU
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone -b $BRANCH $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+# don't want our tarball's version number to start with "v":
+VERTAG=$( echo $BRANCH | sed 's,^v,,' )
+
+VERSION=${VERTAG}+${DATE}_${GIT_SHA}
+
+find . -name .git\* -print0 | xargs -0 rm -rf
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/network/rtl8812bu/rtl8812bu.SlackBuild b/network/rtl8812bu/rtl8812bu.SlackBuild
new file mode 100644
index 0000000000..3993198d61
--- /dev/null
+++ b/network/rtl8812bu/rtl8812bu.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for rtl8812bu
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230124 bkw: Just bought one of these devices today, shocked there
+# was no driver in Slackware or SBo already. So here it is.
+
+# Based on rtl8188eu.SlackBuild and rtl8821ce.SlackBuild.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rtl8812bu
+VERSION=${VERSION:-5.13.1+20230115_36deb90}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+KERNEL=${KERNEL:-$(uname -r)}
+PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+export KVER=$KERNEL
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] ; then
+ # auto detect in the Makefile does not work and sets ARCH to `uname -m`, but
+ # it only builds if it is set to i386
+ ARCH=i386 make
+else
+ env -u ARCH make
+fi
+install -D -m0644 88x2bu.ko \
+ $PKG/lib/modules/$KERNEL/kernel/drivers/net/wireless/88x2bu.ko
+
+# No docs other than the license, so include our own README.
+# Note: don't use $VERSION here, use $PKGVER. The rtl8188eu slackbuild
+# doesn't do this (but it should), the rtl8821ce one does.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$PKGVER
+mkdir -p $PKGDOC
+cp -a LICENSE $PKGDOC
+cat $CWD/README > $PKGDOC/README
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rtl8812bu/rtl8812bu.info b/network/rtl8812bu/rtl8812bu.info
new file mode 100644
index 0000000000..9651127653
--- /dev/null
+++ b/network/rtl8812bu/rtl8812bu.info
@@ -0,0 +1,10 @@
+PRGNAM="rtl8812bu"
+VERSION="5.13.1+20230115_36deb90"
+HOMEPAGE="https://github.com/fastoe/RTL8812BU"
+DOWNLOAD="https://slackware.uk/~urchlay/src/rtl8812bu-5.13.1+20230115_36deb90.tar.xz"
+MD5SUM="2d6832b9925682f111d7b3c0a7e9cf93"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/rtl8812bu/slack-desc b/network/rtl8812bu/slack-desc
new file mode 100644
index 0000000000..638e3b5afe
--- /dev/null
+++ b/network/rtl8812bu/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rtl8812bu: rtl8812bu (driver for rtl8812bu wireless network adaptors)
+rtl8812bu:
+rtl8812bu: Driver for Realtek wireless adaptors using the rtl8812bu chipset.
+rtl8812bu:
+rtl8812bu: For more information, visit the project's home page at:
+rtl8812bu: https://github.com/fastoe/RTL8812BU
+rtl8812bu:
+rtl8812bu:
+rtl8812bu:
+rtl8812bu:
+rtl8812bu:
diff --git a/network/rtl8821ce/rtl8821ce.SlackBuild b/network/rtl8821ce/rtl8821ce.SlackBuild
index 7f0c62e51c..628260a5ac 100644
--- a/network/rtl8821ce/rtl8821ce.SlackBuild
+++ b/network/rtl8821ce/rtl8821ce.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Realtek RTL8821CE Driver
-# Copyright 2020 Andrzej Telszewski, Szczecin
+# Copyright 2022 Andrzej Telszewski, Koszalin
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rtl8821ce
-VERSION=${VERSION:-20201006_fe97b50}
+VERSION=${VERSION:-20211119_ca204c6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
KERNEL=${KERNEL:-$(uname -r)}
KERNELPATH=${KERNELPATH:-/lib/modules/${KERNEL}/build}
@@ -39,9 +42,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKG_VERS-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=${PKG:-$TMP/package-$PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -79,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed $CWD/doinst.sh -e "s%@KERNEL@%$KERNEL%" > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERS-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERS-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rtl8821ce/rtl8821ce.info b/network/rtl8821ce/rtl8821ce.info
index a2c50137c9..8f074f9019 100644
--- a/network/rtl8821ce/rtl8821ce.info
+++ b/network/rtl8821ce/rtl8821ce.info
@@ -1,10 +1,10 @@
PRGNAM="rtl8821ce"
-VERSION="20201006_fe97b50"
+VERSION="20211119_ca204c6"
HOMEPAGE="https://github.com/tomaspinho/rtl8821ce/"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/rtl8821ce/rtl8821ce-20201006_fe97b50.tar.gz"
-MD5SUM="f467f778f099b0f7a1634fe2f8bf0af4"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/rtl8821ce/rtl8821ce-20211119_ca204c6.tar.gz"
+MD5SUM="d40fb08c28810d00a26ed3498a85f2f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+EMAIL="andrzej@telszewski.com"
diff --git a/network/rtl8821ce/slack-desc b/network/rtl8821ce/slack-desc
index 70df3960a0..186d9369c1 100644
--- a/network/rtl8821ce/slack-desc
+++ b/network/rtl8821ce/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
rtl8821ce: rtl8821ce (Realtek RTL8821CE Driver)
rtl8821ce:
-rtl8821ce: Realtek RTL8821CE Driver maintained by Tomás Pinho for Arch Linux.
+rtl8821ce: Realtek RTL8821CE Driver maintained by Tomas Pinho for Arch Linux.
rtl8821ce: Still, can serve Slackers as well!
rtl8821ce:
rtl8821ce: If you experience problems using this driver, please visit
diff --git a/network/rtorrent/README b/network/rtorrent/README
index 6c05b5620f..74e8064101 100644
--- a/network/rtorrent/README
+++ b/network/rtorrent/README
@@ -2,3 +2,5 @@ rtorrent is a BitTorrent client for ncurses, using the libtorrent
library. The client and library is written in C++ with emphasis on speed
and efficiency, while delivering equivalent features to those found in
GUI based clients in an ncurses client.
+
+Optional dependency: xmlrpc-c
diff --git a/network/rtorrent/rtorrent.SlackBuild b/network/rtorrent/rtorrent.SlackBuild
index f5ee018aff..f341ad10bf 100644
--- a/network/rtorrent/rtorrent.SlackBuild
+++ b/network/rtorrent/rtorrent.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rtorrent
# Written by Brian Kysela <brian.kysela@gmail.com> 2009-11-04
@@ -10,26 +10,36 @@
# Updated to 0.8.9 by Brian Kysela 2011-06-22
# Updated to 0.9.0 by Brian Kysela 2011-12-12
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rtorrent
VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -42,6 +52,8 @@ else
LIBDIRSUFFIX=""
fi
+xmlrpcc="" ; [ -x /usr/bin/xmlrpc-c-config ] && xmlrpcc="--with-xmlrpc-c"
+
set -e
rm -rf $PKG
@@ -66,6 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ $xmlrpcc \
+ --disable-debug \
--build=$ARCH-slackware-linux
make
@@ -83,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rtorrent/rtorrent.info b/network/rtorrent/rtorrent.info
index 90c5124f2a..0ea94d858f 100644
--- a/network/rtorrent/rtorrent.info
+++ b/network/rtorrent/rtorrent.info
@@ -1,7 +1,7 @@
PRGNAM="rtorrent"
VERSION="0.9.7"
HOMEPAGE="https://github.com/rakshasa/rtorrent"
-DOWNLOAD="http://rtorrent.net/downloads/rtorrent-0.9.7.tar.gz"
+DOWNLOAD="https://github.com/rakshasa/rtorrent/releases/download/v0.9.7/rtorrent-0.9.7.tar.gz"
MD5SUM="284b833794ce3ab4ddc62cf1a20edeb1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/rubygem-showterm/rubygem-showterm.SlackBuild b/network/rubygem-showterm/rubygem-showterm.SlackBuild
index 79a8ce1197..950ddb982e 100644
--- a/network/rubygem-showterm/rubygem-showterm.SlackBuild
+++ b/network/rubygem-showterm/rubygem-showterm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for showterm
-# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rubygem-showterm
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=showterm
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/rubygem-showterm/rubygem-showterm.info b/network/rubygem-showterm/rubygem-showterm.info
index 99bfce1806..920f42ea43 100644
--- a/network/rubygem-showterm/rubygem-showterm.info
+++ b/network/rubygem-showterm/rubygem-showterm.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-showterm"
-VERSION="0.5.0"
+VERSION="0.6.0"
HOMEPAGE="http://showterm.io/"
-DOWNLOAD="https://rubygems.org/downloads/showterm-0.5.0.gem"
-MD5SUM="b35d010772bdb6ec7e5f12e1625fcb99"
+DOWNLOAD="https://rubygems.org/downloads/showterm-0.6.0.gem"
+MD5SUM="0b89128d74655590f1c1db8b98abb0c6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/s-nail/README b/network/s-nail/README
deleted file mode 100644
index c18e83c0f2..0000000000
--- a/network/s-nail/README
+++ /dev/null
@@ -1,16 +0,0 @@
-S-nail (mail sending and receiving utility)
-
-S-nail provides a simple and friendly environment for sending and
-receiving mail. It is intended to provide the functionality of the
-POSIX mailx command, but is MIME capable and optionally offers
-extensions for line editing, S/MIME, SMTP and POP3, among others. It
-divides incoming mail into its constituent messages and allows the
-user to deal with them in any order. It offers many COMMANDS and
-INTERNAL VARIABLES for manipulating messages and sending mail. It
-offers simple editing capabilities, and increasingly powerful and
-reliable non-interactive scripting capabilities.
-
-NOTE
-
-This package conflicts with Slackware's mailx package. You should
-remove mailx before installing this package.
diff --git a/network/s-nail/doinst.sh b/network/s-nail/doinst.sh
deleted file mode 100644
index b541fb201d..0000000000
--- a/network/s-nail/doinst.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-config etc/nail.rc.new
diff --git a/network/s-nail/s-nail.SlackBuild b/network/s-nail/s-nail.SlackBuild
deleted file mode 100644
index b50c566f5a..0000000000
--- a/network/s-nail/s-nail.SlackBuild
+++ /dev/null
@@ -1,135 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for S-nail
-
-# Copyright 2008, 2009, 2010, 2016 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2018 - 2020 Johannes Schoepfer, Germany
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=s-nail
-VERSION=${VERSION:-14.9.17}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-make \
- VAL_PREFIX=/usr \
- VAL_SYSCONFDIR=/etc \
- VAL_MANDIR=/usr/man \
- VAL_MAIL=/var/spool/mail \
- VAL_MTA=/usr/sbin/sendmail \
- OPT_AUTOCC=0 \
- VAL_SID= \
- VAL_MAILX=mailx \
- VAL_SYSCONFRC=nail.rc \
- VAL_RANDOM="libgetrandom,sysgetrandom,urandom" \
- config
-
-make build
-make test
-make install DESTDIR=$PKG
-
-# Tighten up the perms a bit:
-chmod 4711 $PKG/usr/libexec/mailx-dotlock
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# We put symlinks in /bin since some things still expect '/bin/mail' or '/bin/Mail':
-mkdir -p $PKG/bin
-( cd $PKG/bin
- ln -sf /usr/bin/mailx Mail
- ln -sf /usr/bin/mailx mail
- ln -sf /usr/bin/mailx nail
-)
-
-# Likewise, we make some compat symlinks in /usr/bin:
-( cd $PKG/usr/bin
- ln -sf mailx Mail
- ln -sf mailx mail
- ln -sf mailx nail
-)
-
-mv $PKG/etc/nail.rc $PKG/etc/nail.rc.new
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-# Manpage links:
-( cd $PKG/usr/man/man1
- ln -sf mailx.1.gz mail.1.gz
- ln -sf mailx.1.gz nail.1.gz
- ln -sf mailx.1.gz Mail.1.gz
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING* INSTALL* NEWS* README* THANKS* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/s-nail/s-nail.info b/network/s-nail/s-nail.info
deleted file mode 100644
index 5fa74b7f7a..0000000000
--- a/network/s-nail/s-nail.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="s-nail"
-VERSION="14.9.17"
-HOMEPAGE="https://www.sdaoden.eu/code.html"
-DOWNLOAD="https://www.sdaoden.eu/downloads/s-nail-14.9.17.tar.xz"
-MD5SUM="844524dee4c7c9b5255a2b0cf7159c7a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="%README%"
-MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds@schoepfer.info"
diff --git a/network/s-nail/slack-desc b/network/s-nail/slack-desc
deleted file mode 100644
index ab63a8e702..0000000000
--- a/network/s-nail/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-s-nail: s-nail (mail sending and receiving utility)
-s-nail:
-s-nail: S-nail provides a simple and friendly environment for sending and
-s-nail: receiving mail. It is intended to provide the functionality of the
-s-nail: POSIX mailx command, but is MIME capable and optionally offers
-s-nail: extensions for line editing, S/MIME, SMTP and POP3, among others. It
-s-nail: divides incoming mail into its constituent messages and allows the
-s-nail: user to deal with them in any order. It offers many COMMANDS and
-s-nail: INTERNAL VARIABLES for manipulating messages and sending mail. It
-s-nail: offers simple editing capabilities, and increasingly powerful and
-s-nail: reliable non-interactive scripting capabilities.
diff --git a/network/sabnzbd/README b/network/sabnzbd/README
index fc4c345322..4318d10bf1 100644
--- a/network/sabnzbd/README
+++ b/network/sabnzbd/README
@@ -4,9 +4,9 @@ This requires a sabnzbd user and group which can be created like so:
# groupadd -g 296 sabnzbd
# useradd -d /opt/sabnzbd -s /bin/false -u 296 -g 296 sabnzbd
-SABnzbd can be started with the script /etc/rc.d/rc.sabnzbd at boot.
-It will then run as user sabnzbd. This is intended for server without X usage.
-SABnzbd can be configured by pointing your browser to:
+SABnzbd can be started with the script /etc/rc.d/rc.sabnzbd at boot. It
+will then run as user sabnzbd. This is intended for server without X
+usage. SABnzbd can be configured by pointing your browser to:
http://<hostname>:8080
It can also be started from the application menu/launcher or from the
diff --git a/network/sabnzbd/sabnzbd.SlackBuild b/network/sabnzbd/sabnzbd.SlackBuild
index 408776d4b5..563398bf16 100644
--- a/network/sabnzbd/sabnzbd.SlackBuild
+++ b/network/sabnzbd/sabnzbd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sabnzbd
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sabnzbd
VERSION=${VERSION:-2.3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sabnzbd/sabnzbd.info b/network/sabnzbd/sabnzbd.info
index f8de3b6278..5dd27e47fa 100644
--- a/network/sabnzbd/sabnzbd.info
+++ b/network/sabnzbd/sabnzbd.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/sabnzbd/sabnzbd/releases/download/2.3.9/SABnzbd-2.3
MD5SUM="6845962498a6c3629818e28b32edeac6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-cheetah python-yenc pyOpenSSL unrar par2cmdline"
+REQUIRES="python2-cheetah python2-yenc pyOpenSSL unrar par2cmdline"
MAINTAINER="Kevin Matthew"
EMAIL="kevin@kevinmatthew.com"
diff --git a/network/scapy/scapy.SlackBuild b/network/scapy/scapy.SlackBuild
index 61888c7449..44a2db956e 100644
--- a/network/scapy/scapy.SlackBuild
+++ b/network/scapy/scapy.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for scapy (http://www.secdev.org/projects/scapy/)
#
-# Copyright 2008-2019 Corrado Franco (http://conraid.net)
+# Copyright 2008-2023 Corrado Franco (http://conraid.net)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
@@ -23,10 +23,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scapy
-VERSION=${VERSION:-2.4.3}
+VERSION=${VERSION:-2.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
OUTPUT=${OUTPUT:-/tmp}
PKG=$TMP/package-$PRGNAM
@@ -58,8 +68,13 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed "s|share/man/man1|man/man1|g" -i setup.py
-python setup.py build
-python setup.py install --root=$PKG
+python2 setup.py build
+python2 setup.py install --root=$PKG
+
+if [ -d $PKG/usr/man ]; then
+ find $PKG/usr/man -type f -exec chmod 644 {} \; -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -68,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/scapy/scapy.info b/network/scapy/scapy.info
index 9c53507ecd..417e962fca 100644
--- a/network/scapy/scapy.info
+++ b/network/scapy/scapy.info
@@ -1,8 +1,8 @@
PRGNAM="scapy"
-VERSION="2.4.3"
+VERSION="2.5.0"
HOMEPAGE="http://www.secdev.org/projects/scapy/"
-DOWNLOAD="https://github.com/secdev/scapy/archive/v2.4.3/scapy-2.4.3.tar.gz"
-MD5SUM="c94f3825391c102ca9740e41f4ed2ec0"
+DOWNLOAD="https://github.com/secdev/scapy/archive/v2.5.0/scapy-2.5.0.tar.gz"
+MD5SUM="953cd03bde6fe31e361a83487d75dbcf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/scrcpy/README b/network/scrcpy/README
index e921297b10..e46a4c9985 100644
--- a/network/scrcpy/README
+++ b/network/scrcpy/README
@@ -19,4 +19,4 @@ details.
This SlackBuild uses the prebuilt server instead of compiling it from
source, to minimize dependencies.
-Note: the SlackBuild was tested on Slackware64-14.2 only
+Note: the SlackBuild was tested on Slackware64-15.0 only
diff --git a/network/scrcpy/doinst.sh b/network/scrcpy/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/scrcpy/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/scrcpy/scrcpy.SlackBuild b/network/scrcpy/scrcpy.SlackBuild
index b7b5d586c8..428f363037 100644
--- a/network/scrcpy/scrcpy.SlackBuild
+++ b/network/scrcpy/scrcpy.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for scrcpy
-# Copyright 2021 toolonely <lonely_@tutanota.com>
+# Copyright 2021-2022 toolonely <lonely_@tutanota.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scrcpy
-VERSION=${VERSION:-1.17}
+VERSION=${VERSION:-1.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,8 +94,8 @@ cd build
--strip \
-Db_lto=true \
-Dprebuilt_server=$CWD/scrcpy-server-v$VERSION
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -99,6 +109,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/scrcpy/scrcpy.info b/network/scrcpy/scrcpy.info
index f715e06499..9e9be261dc 100644
--- a/network/scrcpy/scrcpy.info
+++ b/network/scrcpy/scrcpy.info
@@ -1,12 +1,12 @@
PRGNAM="scrcpy"
-VERSION="1.17"
+VERSION="1.24"
HOMEPAGE="https://github.com/Genymobile/scrcpy"
-DOWNLOAD="https://github.com/Genymobile/scrcpy/archive/v1.17/scrcpy-1.17.tar.gz \
- https://github.com/Genymobile/scrcpy/releases/download/v1.17/scrcpy-server-v1.17"
-MD5SUM="6ed058f41b918abe44f0a46b7d187a3f \
- 1de2cadd13e4da6f957aeaed9926adc6"
+DOWNLOAD="https://github.com/Genymobile/scrcpy/archive/v1.24/scrcpy-1.24.tar.gz \
+ https://github.com/Genymobile/scrcpy/releases/download/v1.24/scrcpy-server-v1.24"
+MD5SUM="a06005d880ca863181266820d91ac396 \
+ 23032394c932e4de6a98aaec096fe9c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson ffmpeg SDL2"
+REQUIRES=""
MAINTAINER="toolonely"
EMAIL="lonely_@tutanota.com"
diff --git a/network/seadrive-fuse/README b/network/seadrive-fuse/README
new file mode 100644
index 0000000000..033d287c8f
--- /dev/null
+++ b/network/seadrive-fuse/README
@@ -0,0 +1,6 @@
+SeaDrive daemon with FUSE interface.
+
+The Drive client enables you to access files on the server without
+syncing to local disk. It works like a network drive.
+
+Requires libsearpc.
diff --git a/network/seadrive-fuse/seadrive-fuse.SlackBuild b/network/seadrive-fuse/seadrive-fuse.SlackBuild
new file mode 100644
index 0000000000..0c73e5acb5
--- /dev/null
+++ b/network/seadrive-fuse/seadrive-fuse.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for seadrive-fuse
+
+# Copyright 2022 Fabien Soulier France.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=seadrive-fuse
+VERSION=${VERSION:-2.0.22}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./autogen.sh
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/seadrive-fuse/seadrive-fuse.info b/network/seadrive-fuse/seadrive-fuse.info
new file mode 100644
index 0000000000..9902edc6e7
--- /dev/null
+++ b/network/seadrive-fuse/seadrive-fuse.info
@@ -0,0 +1,10 @@
+PRGNAM="seadrive-fuse"
+VERSION="2.0.22"
+HOMEPAGE="https://www.seafile.com"
+DOWNLOAD="https://github.com/haiwen/seadrive-fuse/archive/v2.0.22/seadrive-fuse-2.0.22.tar.gz"
+MD5SUM="fba497bf6ae0b55943768979eec7446f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libsearpc"
+MAINTAINER="Fabien Soulier"
+EMAIL="fabien.soulier@libertysurf.fr"
diff --git a/network/seadrive-fuse/slack-desc b/network/seadrive-fuse/slack-desc
new file mode 100644
index 0000000000..196e5f8791
--- /dev/null
+++ b/network/seadrive-fuse/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+seadrive-fuse: seadrive-fuse (SeaDrive daemon with FUSE interface)
+seadrive-fuse:
+seadrive-fuse: The Drive client enables you to access files on the server without
+seadrive-fuse: syncing to local disk. It works like a network drive.
+seadrive-fuse:
+seadrive-fuse:
+seadrive-fuse:
+seadrive-fuse:
+seadrive-fuse:
+seadrive-fuse:
+seadrive-fuse:
diff --git a/network/seafile-client/seafile-client.SlackBuild b/network/seafile-client/seafile-client.SlackBuild
deleted file mode 100644
index 205c0af148..0000000000
--- a/network/seafile-client/seafile-client.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for "seafile-client".
-
-# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=seafile-client
-SRCNAM=seafile
-VERSION=${VERSION:-4.4.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/v$VERSION-server.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION-server.tar.gz
-cd $SRCNAM-$VERSION-server
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sh autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-client \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/seafile-client/seafile-client.info b/network/seafile-client/seafile-client.info
deleted file mode 100644
index ef875c1f8f..0000000000
--- a/network/seafile-client/seafile-client.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="seafile-client"
-VERSION="4.4.6"
-HOMEPAGE="http://seafile.com/"
-DOWNLOAD="https://github.com/haiwen/seafile/archive/v4.4.6-server.tar.gz"
-MD5SUM="753db8ec00c8f4e43270afff097a23af"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ccnet libevhtp"
-MAINTAINER="Marcel Saegebarth"
-EMAIL="marc@mos6581.de"
diff --git a/network/seafile-client/slack-desc b/network/seafile-client/slack-desc
deleted file mode 100644
index e41d278faa..0000000000
--- a/network/seafile-client/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-seafile-client: seafile-client (Cloud Storage System)
-seafile-client:
-seafile-client: Seafile is a next-generation open source cloud storage system with
-seafile-client: advanced support for file syncing, privacy protection and teamwork.
-seafile-client:
-seafile-client: Homepage: http://seafile.com/
-seafile-client:
-seafile-client:
-seafile-client:
-seafile-client:
-seafile-client:
diff --git a/network/seafile-server/patch-seafile-controller-pid-path.diff b/network/seafile-server/patch-seafile-controller-pid-path.diff
deleted file mode 100644
index b9698206ea..0000000000
--- a/network/seafile-server/patch-seafile-controller-pid-path.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- controller/seafile-controller.c.orig 2015-02-05 13:00:40.096813074 +0100
-+++ controller/seafile-controller.c 2015-02-05 13:03:44.628487779 +0100
-@@ -576,7 +576,7 @@
- static void
- init_pidfile_path (SeafileController *ctl)
- {
-- char *pid_dir = g_build_filename (topdir, "pids", NULL);
-+ char *pid_dir = g_build_filename (ctl->seafile_dir, "pids", NULL);
- if (!g_file_test(pid_dir, G_FILE_TEST_EXISTS)) {
- if (g_mkdir(pid_dir, 0777) < 0) {
- seaf_warning("failed to create pid dir %s: %s", pid_dir, strerror(errno));
diff --git a/network/seafile-server/seafile-server.SlackBuild b/network/seafile-server/seafile-server.SlackBuild
index 959cbc15c4..a2e8c8c7db 100644
--- a/network/seafile-server/seafile-server.SlackBuild
+++ b/network/seafile-server/seafile-server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "seafile-server".
@@ -24,27 +24,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=seafile-server
SRCNAM=seafile
-VERSION=${VERSION:-4.4.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-8.0.6}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -76,9 +86,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/v$VERSION-server.tar.gz || \
- tar xvf $CWD/$SRCNAM-$VERSION-server.tar.gz
-cd $SRCNAM-$VERSION-server
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -86,8 +95,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cat $CWD/patch-seafile-controller-pid-path.diff | patch -p0
-
sh autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -109,6 +116,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+# rm libtool file
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libseafile.la
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -128,4 +138,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/seafile-server/seafile-server.info b/network/seafile-server/seafile-server.info
index 568008a660..26440aea91 100644
--- a/network/seafile-server/seafile-server.info
+++ b/network/seafile-server/seafile-server.info
@@ -1,8 +1,8 @@
PRGNAM="seafile-server"
-VERSION="4.4.6"
+VERSION="8.0.6"
HOMEPAGE="http://seafile.com/"
-DOWNLOAD="https://github.com/haiwen/seafile/archive/v4.4.6-server.tar.gz"
-MD5SUM="753db8ec00c8f4e43270afff097a23af"
+DOWNLOAD="https://github.com/haiwen/seafile/archive/v8.0.6/seafile-8.0.6.tar.gz"
+MD5SUM="cb23a1b7bcd2a89f5efec87867c5eabb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ccnet libevhtp seahub"
diff --git a/network/seafile-client/README b/network/seafile/README
index 937324eae1..937324eae1 100644
--- a/network/seafile-client/README
+++ b/network/seafile/README
diff --git a/network/seafile/seafile.SlackBuild b/network/seafile/seafile.SlackBuild
new file mode 100644
index 0000000000..0c538f8782
--- /dev/null
+++ b/network/seafile/seafile.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for seafile
+
+# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=seafile
+VERSION=${VERSION:-8.0.4}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+export PYTHON=python3
+
+sh autogen.sh
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-client \
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+rm -f $PKG/usr/lib*/*.la
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/seafile/seafile.info b/network/seafile/seafile.info
new file mode 100644
index 0000000000..90c3ecad50
--- /dev/null
+++ b/network/seafile/seafile.info
@@ -0,0 +1,10 @@
+PRGNAM="seafile"
+VERSION="8.0.4"
+HOMEPAGE="https://seafile.com"
+DOWNLOAD="https://github.com/haiwen/seafile/archive/v8.0.4/seafile-8.0.4.tar.gz"
+MD5SUM="3ed13d669c657ce1c3a02a11c511606e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libevhtp libsearpc"
+MAINTAINER="Marcel Saegebarth"
+EMAIL="marc@mos6581.de"
diff --git a/network/seafile/slack-desc b/network/seafile/slack-desc
new file mode 100644
index 0000000000..cad22d1bb6
--- /dev/null
+++ b/network/seafile/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+seafile: seafile (Cloud Storage System)
+seafile:
+seafile: Seafile is a next-generation open source cloud storage system with
+seafile: advanced support for file syncing, privacy protection and teamwork.
+seafile:
+seafile: Homepage: http://seafile.com/
+seafile:
+seafile:
+seafile:
+seafile:
+seafile:
diff --git a/network/seahub/README b/network/seahub/README
index 9b15cfdd39..1ba72e0083 100644
--- a/network/seahub/README
+++ b/network/seahub/README
@@ -1,11 +1,11 @@
Seahub is the web frontend for Seafile.
-Note:
-This isn't the official "source" tarball, but `seahub' extracted from the binary
-tarball, due to its very weird, and old dependencies.
+Note: This isn't the official "source" tarball, but `seahub' extracted
+from the binary tarball, due to its very weird, and old dependencies.
-Due to the nature of Slackware pkgtools no seafile data from the users is
-removed, but just in case, create a backup before upgrading this package!
+Due to the nature of Slackware pkgtools no seafile data from the users
+is removed, but just in case, create a backup before upgrading this
+package!
This package does not update/upgrade Seafile internal stuff.
Refer to the Seafile manual:
diff --git a/network/seahub/seahub.SlackBuild b/network/seahub/seahub.SlackBuild
index 086d44c1c1..847f145ef4 100644
--- a/network/seahub/seahub.SlackBuild
+++ b/network/seahub/seahub.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "seahub".
@@ -24,26 +24,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=seahub
SRCNAM=seafile-server
VERSION=${VERSION:-4.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ]; then
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ #source is i386, do not change
SRCARCH="i386"
elif [ "$ARCH" = "x86_64" ]; then
SRCARCH="x86-64"
@@ -104,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/secpanel/secpanel.SlackBuild b/network/secpanel/secpanel.SlackBuild
index d5020c0949..cfb4933e27 100644
--- a/network/secpanel/secpanel.SlackBuild
+++ b/network/secpanel/secpanel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Secpanel
@@ -22,14 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=secpanel
VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sendxmpp/README b/network/sendxmpp/README
deleted file mode 100644
index 0424290288..0000000000
--- a/network/sendxmpp/README
+++ /dev/null
@@ -1,5 +0,0 @@
-sendxmpp is a program to send XMPP (Jabber) messages from the command
-line, not unlike mail(1). Messages can be sent both to individual
-recipients and chatrooms.
-
-XMPP is an open, non-proprietary protocol for instant messaging.
diff --git a/network/sendxmpp/patches/01.patch b/network/sendxmpp/patches/01.patch
deleted file mode 100644
index 59b85c0bb0..0000000000
--- a/network/sendxmpp/patches/01.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Restore the ability to send normal messages.
-By Helmut Grohne <helmut@subdivi.de>, 2013-05-29
-
-Normal messages are like headline messages except they are not discarded
-when the contact is unavailable but queued instead.
-
-See https://bugs.debian.org/710285
-
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -49,7 +49,7 @@
- my $VERBOSE = 0;
- my $DEBUG = 0;
- # http://tools.ietf.org/html/rfc3921#section-2 section 2.1.1 - Types of Message
--my @suppported_message_types = qw( chat error groupchat headline );
-+my @suppported_message_types = qw( chat error groupchat headline normal);
- my $message_type = 'chat'; # default message type
-
- # start!
-@@ -642,9 +642,9 @@
-
- Backward compatibility option. You should use B<--message-type=headline> instead. Send a headline type message (not stored in offline messages)
-
--=item B<--messages-type>
-+=item B<--message-type>
-
--Set type of message. Supported types are: B<message chat headline>. Default message type is B<message>. Headline type message can be set also with B<--headline> option, see B<--headline>
-+Set type of message. Supported types are: B<chat error groupchat headline normal>. Default message type is B<chat>. Headline type message can be set also with B<--headline> option, see B<--headline>
-
- =item B<-c>,B<--chatroom>
-
diff --git a/network/sendxmpp/patches/02.patch b/network/sendxmpp/patches/02.patch
deleted file mode 100644
index 1c0dd70210..0000000000
--- a/network/sendxmpp/patches/02.patch
+++ /dev/null
@@ -1,277 +0,0 @@
-From 48f6fe83589b04b77dd4fe52b810f1415aa2835c Mon Sep 17 00:00:00 2001
-From: Lubomir Host <lubomir.host@gmail.com>
-Date: Tue, 7 Oct 2014 19:38:00 +0200
-Subject: [PATCH] Add spaces after comma.
-
----
- sendxmpp | 78 ++++++++++++++++++++++++++++----------------------------
- 1 file changed, 39 insertions(+), 39 deletions(-)
-
-diff --git a/sendxmpp b/sendxmpp
-index 91ae1ef..74d95c0 100755
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -102,7 +102,7 @@ sub main () { # {{{
- $txt .= $_ while (<STDIN>);
- }
-
-- xmpp_send ($cnx,$cmdline,$config,$txt);
-+ xmpp_send ($cnx, $cmdline, $config, $txt);
-
- }
- else {
-@@ -115,7 +115,7 @@ sub main () { # {{{
- # line by line...
- while (<STDIN>) {
- chomp;
-- xmpp_send ($cnx,$cmdline,$config,$_);
-+ xmpp_send ($cnx, $cmdline, $config, $_);
- }
- }
-
-@@ -141,7 +141,7 @@ sub read_config_file ($) { # {{{
- error_exit ("$cfg_file must not be accessible by others")
- if ($mode & 0077);
-
-- open (CFG,"<$cfg_file")
-+ open (CFG, "<$cfg_file")
- or error_exit("cannot open $cfg_file for reading: $!");
-
- my %config;
-@@ -193,7 +193,7 @@ sub read_config_file ($) { # {{{
- unless (scalar(%config));
-
- if ($DEBUG || $VERBOSE) {
-- while (my ($key,$val) = each %config) {
-+ while (my ($key, $val) = each %config) {
- debug_print ("config: '$key' => '$val'");
- }
- }
-@@ -309,7 +309,7 @@ sub parse_cmdline () { # {{{
- );
-
- if ($DEBUG || $VERBOSE) {
-- while (my ($key,$val) = each %dict) {
-+ while (my ($key, $val) = each %dict) {
- debug_print ("cmdline: '$key' => '$val'");
- }
- }
-@@ -319,7 +319,7 @@ sub parse_cmdline () { # {{{
-
- #
- # xmpp_login: login to the xmpp (jabber) server
--# input: hostname,port,username,password,resource,tls,ssl,debug
-+# input: hostname, port, username, password, resource, tls, ssl, debug
- # output: an XMPP connection object
- #
- sub xmpp_login ($$$$$$$$$$$$) { # {{{
-@@ -374,7 +374,7 @@ sub xmpp_login ($$$$$$$$$$$$) { # {{{
- error_exit ("Could not connect to server '$host': ".($cnx->GetErrorCode()||$@)) unless @res;
- }
-
-- xmpp_check_result("Connect",\@res,$cnx);
-+ xmpp_check_result("Connect", \@res, $cnx);
-
- if ($comp) {
- my $sid = $cnx->{SESSION}->{id};
-@@ -385,7 +385,7 @@ sub xmpp_login ($$$$$$$$$$$$) { # {{{
- 'username' => $user,
- 'password' => $pw,
- 'resource' => $res);
-- xmpp_check_result('AuthSend',\@res,$cnx);
-+ xmpp_check_result('AuthSend', \@res, $cnx);
-
- return $cnx;
- } # }}}
-@@ -426,20 +426,20 @@ sub xmpp_send ($$$$) { # {{{
-
- #
- # xmpp_send_raw_xml: send a raw XML packet
--# input: connection,packet
-+# input: connection, packet
- #
- sub xmpp_send_raw_xml ($$) { # {{{
-
-- my ($cnx,$packet) = @_;
-+ my ($cnx, $packet) = @_;
-
- # for some reason, Send does not return anything
- $cnx->Send($packet);
-- xmpp_check_result('Send',0,$cnx);
-+ xmpp_check_result('Send', 0, $cnx);
- } # }}}
-
- #
- # xmpp_send_message: send a message to some xmpp user
--# input: connection,recipient,subject,msg
-+# input: connection, recipient, subject, msg
- #
- sub xmpp_send_message ($$$$$$) { # {{{
-
-@@ -452,16 +452,16 @@ sub xmpp_send_message ($$$$$$) { # {{{
- 'subject' => $subject,
- 'body' => $msg);
-
-- xmpp_check_result('MessageSend',0,$cnx);
-+ xmpp_check_result('MessageSend', 0, $cnx);
- } # }}}
-
- #
- # xmpp_send_chatroom_message: send a message to a chatroom
--# input: connection,resource,subject,recipient,message
-+# input: connection, resource, subject, recipient, message
- #
- sub xmpp_send_chatroom_message ($$$$$) { # {{{
-
-- my ($cnx,$resource,$subject,$rcpt,$msg) = @_;
-+ my ($cnx, $resource, $subject, $rcpt, $msg) = @_;
-
- # set the presence
- my $pres = new Net::XMPP::Presence;
-@@ -476,10 +476,10 @@ sub xmpp_send_chatroom_message ($$$$$) { # {{{
- type => 'groupchat');
-
- $res = $cnx->Send($groupmsg);
-- xmpp_check_result ('Send',$res,$cnx);
-+ xmpp_check_result ('Send', $res, $cnx);
-
- # leave the group
-- $pres->SetPresence (Type=>'unavailable',To=>$rcpt);
-+ $pres->SetPresence (Type=>'unavailable', To=>$rcpt);
- } # }}}
-
- #
-@@ -494,7 +494,7 @@ sub xmpp_logout($) { # {{{
-
- my $cnx = shift;
- $cnx->Disconnect();
-- xmpp_check_result ('Disconnect',0); # well, nothing to check, really
-+ xmpp_check_result ('Disconnect', 0); # well, nothing to check, really
- } # }}}
-
- #
-@@ -518,7 +518,7 @@ sub xmpp_check_result { # {{{
- }
- else {
- my $errmsg = $cnx->GetErrorCode() || '?';
-- error_exit ("Error '$txt': " . join (': ',@$res) . "[$errmsg]", $cnx);
-+ error_exit ("Error '$txt': " . join (': ', @$res) . "[$errmsg]", $cnx);
- }
- } # }}}
-
-@@ -547,7 +547,7 @@ sub debug_print { # {{{
- #
- sub error_exit { # {{{
-
-- my ($err,$cnx) = @_;
-+ my ($err, $cnx) = @_;
- print STDERR "$err\n";
- xmpp_logout ($cnx)
- if ($cnx);
-@@ -594,15 +594,15 @@ unlike L<mail(1)>. Messages can be sent both to individual recipients and chatro
-
- =over
-
--=item B<-f>,B<--file> I<file>
-+=item B<-f>, B<--file> I<file>
-
- Use I<file> configuration file instead of F<~/.sendxmpprc>
-
--=item B<-u>,B<--username> I<user>
-+=item B<-u>, B<--username> I<user>
-
- Use I<user> instead of the one in the configuration file
-
--=item B<-p>,B<--password> I<password>
-+=item B<-p>, B<--password> I<password>
-
- Use I<password> instead of the one in the configuration file
-
-@@ -610,35 +610,35 @@ Use I<password> instead of the one in the configuration file
-
- Instead of specifying username or password, attempt to use system level SSO (e.g. kerberos) if supported.
-
--=item B<-j>,B<--jserver> I<server>
-+=item B<-j>, B<--jserver> I<server>
-
- Use jabber I<server> instead of the one in the configuration file.
-
--=item B<-o>,B<--component> I<componentname>
-+=item B<-o>, B<--component> I<componentname>
-
- Use componentname in connect call. Seems needed for Google talk.
-
--=item B<-r>,B<--resource> I<res>
-+=item B<-r>, B<--resource> I<res>
-
- Use resource I<res> for the sender [default: 'sendxmpp']; when sending to a chatroom, this determines the 'alias'
-
--=item B<-t>,B<--tls>
-+=item B<-t>, B<--tls>
-
- Connect securely, using TLS
-
--=item B<-e>,B<--ssl>
-+=item B<-e>, B<--ssl>
-
- Connect securely, using SSL
-
--=item B<-n>,B<--no-tls-verify>
-+=item B<-n>, B<--no-tls-verify>
-
- Deactivate the verification of SSL certificates. Better way is to use parameter B<--tls-ca-path> with the needed path to CA certificates.
-
--=item B<-a>,B<--tls-ca-path>
-+=item B<-a>, B<--tls-ca-path>
-
- Path to your custom CA certificates, so you can verificate SSL certificates during connecting.
-
--=item B<-l>,B<--headline>
-+=item B<-l>, B<--headline>
-
- Backward compatibility option. You should use B<--message-type=headline> instead. Send a headline type message (not stored in offline messages)
-
-@@ -646,35 +646,35 @@ Backward compatibility option. You should use B<--message-type=headline> instead
-
- Set type of message. Supported types are: B<message chat headline>. Default message type is B<message>. Headline type message can be set also with B<--headline> option, see B<--headline>
-
--=item B<-c>,B<--chatroom>
-+=item B<-c>, B<--chatroom>
-
- Send the message to a chatroom
-
--=item B<-s>,B<--subject> I<subject>
-+=item B<-s>, B<--subject> I<subject>
-
- Set the subject for the message to I<subject> [default: '']; when sending to a chatroom, this will set the subject for the chatroom
-
--=item B<-m>,B<--message> I<message>
-+=item B<-m>, B<--message> I<message>
-
- Read the message from I<message> (a file) instead of stdin
-
--=item B<-i>,B<--interactive>
-+=item B<-i>, B<--interactive>
-
- Work in interactive mode, reading lines from stdin and sending the one-at-time
-
--=item B<-w>,B<--raw>
-+=item B<-w>, B<--raw>
-
- Send raw XML message to jabber server
-
--=item B<-v>,B<--verbose>
-+=item B<-v>, B<--verbose>
-
- Give verbose output about what is happening
-
--=item B<-h>,B<--help>,B<--usage>
-+=item B<-h>, B<--help>, B<--usage>
-
- Show a 'Usage' message
-
--=item B<-d>,B<--debug>
-+=item B<-d>, B<--debug>
-
- Show debugging info while running. B<WARNING>: This will include passwords etc. so be careful with the output! Specify multiple times to increase debug level.
-
diff --git a/network/sendxmpp/patches/03.patch b/network/sendxmpp/patches/03.patch
deleted file mode 100644
index aefabbf41d..0000000000
--- a/network/sendxmpp/patches/03.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 92af6b9bf4a583f6cec00a38d2fd3948654a64bc Mon Sep 17 00:00:00 2001
-From: Lubomir Host <lubomir.host@gmail.com>
-Date: Fri, 23 Jan 2015 00:22:02 +0100
-Subject: [PATCH] Enable SRV record lookup by default
-
----
- sendxmpp | 27 ++++++++++++++-------------
- 1 file changed, 14 insertions(+), 13 deletions(-)
-
-diff --git a/sendxmpp b/sendxmpp
-index 74d95c0..0d7c4ff 100755
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -344,26 +344,27 @@ sub xmpp_login ($$$$$$$$$$$$) { # {{{
- ssl_ca_path => $tls_ca_path,
- ssl => $ssl,
- connectiontype => 'tcpip',
-- componentname => $comp
-+ componentname => $comp,
-+ srv => 1, # enable SRV lookups
- };
-
- if ($sso) {
-- $user = join('@', scalar getpwuid($<), Net::Domain::hostdomain());
-- debug_print "using SSO user $user";
-+ $user = join('@', scalar getpwuid($<), Net::Domain::hostdomain());
-+ debug_print "using SSO user $user";
- }
-
- # use the xmpp domain as the host and enable SRV lookups
-- if (!$host) {
-- if ($user =~ /@(.*)/) {
-- $arghash->{hostname} = $host = $1;
-- $arghash->{srv} = 1;
-- debug_print "enabling SRV lookups";
--
-- } else {
-- error_exit "unable to determine a host to connect to (no cmdline, no config, no SRV possible)";
-- }
-+ if (!$host) {
-+ if ($user =~ /@(.*)/) {
-+ $arghash->{hostname} = $host = $1;
-+ $arghash->{srv} = 1;
-+ debug_print "enabling SRV lookups";
-
-- }
-+ } else {
-+ error_exit "unable to determine a host to connect to (no cmdline, no config, no SRV possible)";
-+ }
-+
-+ }
-
- delete $arghash->{port} unless $port;
- if ($arghash->{port}) {
diff --git a/network/sendxmpp/patches/04.patch b/network/sendxmpp/patches/04.patch
deleted file mode 100644
index b980247794..0000000000
--- a/network/sendxmpp/patches/04.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 17fa8783527fcbfb7624889cdf5de12375517924 Mon Sep 17 00:00:00 2001
-From: Andrey Shertsinger <andrey@shertsinger.ru>
-Date: Thu, 14 May 2015 14:18:46 +0600
-Subject: [PATCH] Fix for support virtual domain user names
-
----
- sendxmpp | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/sendxmpp b/sendxmpp
-index 0d7c4ff..7045c16 100755
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -355,8 +355,10 @@ sub xmpp_login ($$$$$$$$$$$$) { # {{{
-
- # use the xmpp domain as the host and enable SRV lookups
- if (!$host) {
-- if ($user =~ /@(.*)/) {
-- $arghash->{hostname} = $host = $1;
-+ if ($user =~ /([\.\w_#-]+)@(.*)/) {
-+ $arghash->{hostname} = $host = $2;
-+ $arghash->{componentname} = $2;
-+ $user = $1;
- $arghash->{srv} = 1;
- debug_print "enabling SRV lookups";
-
diff --git a/network/sendxmpp/patches/05.patch b/network/sendxmpp/patches/05.patch
deleted file mode 100644
index 363a56017f..0000000000
--- a/network/sendxmpp/patches/05.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From a2f9265d49dc000d5becf65da0ec42a92eac19cb Mon Sep 17 00:00:00 2001
-From: Martin Stefany <martinstefany@users.noreply.github.com>
-Date: Sun, 7 Jun 2015 15:39:12 +0200
-Subject: [PATCH] support '-' (dash) in config file
-
-support options like 'no-tls-verify', 'tls-ca-path' in config file
----
- sendxmpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/sendxmpp b/sendxmpp
-index 0d7c4ff..8b2bebe 100755
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -155,7 +155,7 @@ sub read_config_file ($) { # {{{
-
- #s/\#.*$//; # ignore comments in lines
-
-- if (/^([a-z]+):\s*(.*)$/) {
-+ if (/^([a-z-]+):\s*(.*)$/) {
- $config{$1} = $2;
- }
- # Hugo van der Kooij <hvdkooij AT vanderkooij.org> has account with '#' as username
diff --git a/network/sendxmpp/patches/06.patch b/network/sendxmpp/patches/06.patch
deleted file mode 100644
index 70325685d3..0000000000
--- a/network/sendxmpp/patches/06.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-From 8f8a15614f0dfddc349c101ce4f5d4edb5133815 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <james.le-cuirot@yakara.com>
-Date: Tue, 17 May 2016 12:05:29 +0100
-Subject: [PATCH] Add --http option for connecting over HTTP
-
-This allows the use of HTTP proxies.
----
- sendxmpp | 19 +++++++++++++------
- 1 file changed, 13 insertions(+), 6 deletions(-)
-
-diff --git a/sendxmpp b/sendxmpp
-index fafb0a5..8a9758e 100755
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -28,7 +28,7 @@ use open ':utf8';
- use open ':std';
-
- # subroutines decls
--sub xmpp_login($$$$$$$$$$$$);
-+sub xmpp_login($$$$$$$$$$$$$);
- sub xmpp_send ($$$$);
- sub xmpp_send_raw_xml($$);
- sub xmpp_send_message($$$$$$);
-@@ -82,6 +82,7 @@ sub main () { # {{{
- $$cmdline{'no-tls-verify'} || $$config{'no-tls-verify'},
- $$cmdline{'tls-ca-path'} || $$config{'tls-ca-path'} || '',
- $$cmdline{'ssl'},
-+ $$cmdline{'http'} || $$config{'http'} || 0,
- $$cmdline{'debug'},
- $$cmdline{'sso'}
- ) or error_exit("cannot login: $!");
-@@ -211,7 +212,7 @@ sub parse_cmdline () { # {{{
-
- my ($subject, $file, $resource, $jserver, $port, $username, $password, $sso, $component,
- $message, $chatroom, $headline, $debug, $tls, $ssl,
-- $no_tls_verify, $tls_ca_path,
-+ $no_tls_verify, $tls_ca_path, $http,
- $interactive, $help, $raw, $verbose
- );
- $debug = 0;
-@@ -232,6 +233,7 @@ sub parse_cmdline () { # {{{
- 'no-tls-verify|n' => \$no_tls_verify,
- 'tls-ca-path|a=s' => \$tls_ca_path,
- 'ssl|e' => \$ssl,
-+ 'http' => \$http,
- 'interactive|i' => \$interactive,
- 'help|usage|h' => \$help,
- 'debug|d:i' => sub { $debug = $_[1] ? $_[1] : $debug + 1 },
-@@ -301,6 +303,7 @@ sub parse_cmdline () { # {{{
- 'no-tls-verify' => ($no_tls_verify or 0),
- 'tls-ca-path' => ($tls_ca_path or ''),
- 'ssl' => ($ssl or 0),
-+ 'http' => ($http or 0),
- 'debug' => ($debug or 0),
- 'verbose' => ($verbose or 0),
- 'raw' => ($raw or 0),
-@@ -319,12 +322,12 @@ sub parse_cmdline () { # {{{
-
- #
- # xmpp_login: login to the xmpp (jabber) server
--# input: hostname, port, username, password, resource, tls, ssl, debug
-+# input: hostname, port, username, password, resource, tls, ssl, http, debug
- # output: an XMPP connection object
- #
--sub xmpp_login ($$$$$$$$$$$$) { # {{{
-+sub xmpp_login ($$$$$$$$$$$$$) { # {{{
-
-- my ($host, $port, $user, $pw, $comp, $res, $tls, $no_tls_verify, $tls_ca_path, $ssl, $debug, $sso) = @_;
-+ my ($host, $port, $user, $pw, $comp, $res, $tls, $no_tls_verify, $tls_ca_path, $ssl, $http, $debug, $sso) = @_;
- my $cnx = new Net::XMPP::Client(debuglevel=>$debug);
- error_exit "could not create XMPP client object: $!"
- unless ($cnx);
-@@ -343,7 +346,7 @@ sub xmpp_login ($$$$$$$$$$$$) { # {{{
- ssl_verify => $ssl_verify,
- ssl_ca_path => $tls_ca_path,
- ssl => $ssl,
-- connectiontype => 'tcpip',
-+ connectiontype => $http ? 'http' : 'tcpip',
- componentname => $comp,
- srv => 1, # enable SRV lookups
- };
-@@ -641,6 +644,10 @@ Deactivate the verification of SSL certificates. Better way is to use parameter
-
- Path to your custom CA certificates, so you can verificate SSL certificates during connecting.
-
-+=item B<--http>
-+
-+Connect over HTTP, allowing the use of a proxy.
-+
- =item B<-l>, B<--headline>
-
- Backward compatibility option. You should use B<--message-type=headline> instead. Send a headline type message (not stored in offline messages)
diff --git a/network/sendxmpp/patches/07.patch b/network/sendxmpp/patches/07.patch
deleted file mode 100644
index 600e8a89fc..0000000000
--- a/network/sendxmpp/patches/07.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 9186b8c49e54cf59ace4e5ddf52aa10b1a386fa5 Mon Sep 17 00:00:00 2001
-From: Lubomir Host <lubomir.host@gmail.com>
-Date: Sun, 13 Nov 2016 18:25:44 +0100
-Subject: [PATCH] Remove 'I<something>' markers from configuration example.
-
----
- sendxmpp | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/sendxmpp b/sendxmpp
-index 8a9758e..4d06ab9 100755
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -695,19 +695,19 @@ Show debugging info while running. B<WARNING>: This will include passwords etc.
- You may define a 'F<~/.sendxmpprc>' file with the necessary data for your
- xmpp-account. Since version 1.24 the following format is supported:
-
-- username: I<your_username>
-- jserver: I<jabber_server>
-- port: I<jabber_port>
-- password: I<your_jabber_password>
-- component: I<optional_component_name>
-+ username: <your_username>
-+ jserver: <jabber_server>
-+ port: <jabber_port>
-+ password: <your_jabber_password>
-+ component: <optional_component_name>
-
-
- Example for Google Talk servers:
-
-- username: I<lubomir.host>
-- jserver: I<talk.google.com>
-- password: I<my-secure-password>
-- component: I<gmail.com>
-+ username: <lubomir.host>
-+ jserver: <talk.google.com>
-+ password: <my-secure-password>
-+ component: <gmail.com>
-
- With version 1.23 and older only one-line format is supported:
-
diff --git a/network/sendxmpp/patches/08.patch b/network/sendxmpp/patches/08.patch
deleted file mode 100644
index ca78d3f0d4..0000000000
--- a/network/sendxmpp/patches/08.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-See https://bugs.debian.org/854210
---- a/sendxmpp
-+++ b/sendxmpp
-@@ -299,7 +299,7 @@
- 'interactive' => ($interactive or 0),
- 'tls' => ($tls or 0),
- 'no-tls-verify' => ($no_tls_verify or 0),
-- 'tls-ca-path' => ($tls_ca_path or ''),
-+ 'tls-ca-path' => ($tls_ca_path or '/etc/ssl/certs'),
- 'ssl' => ($ssl or 0),
- 'debug' => ($debug or 0),
- 'verbose' => ($verbose or 0),
diff --git a/network/sendxmpp/sendxmpp.SlackBuild b/network/sendxmpp/sendxmpp.SlackBuild
deleted file mode 100644
index 71e1e1a872..0000000000
--- a/network/sendxmpp/sendxmpp.SlackBuild
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sendxmpp
-
-# Copyright 2019, Alexander Verbovetsky, Moscow Russia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=sendxmpp
-VERSION=${VERSION:-1.24}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-
-for p in $CWD/patches/*.patch; do patch -p1 < $p; done
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-perl Makefile.PL PREFIX=/usr
-make
-make install DESTDIR=$PKG
-
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-
-find $PKG -depth -type d -empty -delete || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a examples Changes README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/sendxmpp/sendxmpp.info b/network/sendxmpp/sendxmpp.info
deleted file mode 100644
index 788f7a2d2f..0000000000
--- a/network/sendxmpp/sendxmpp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sendxmpp"
-VERSION="1.24"
-HOMEPAGE="https://sendxmpp.hostname.sk"
-DOWNLOAD="https://github.com/lhost/sendxmpp/archive/1.24/sendxmpp-1.24.tar.gz"
-MD5SUM="7145fb0d05f4c774b0ecec78bc787117"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="perl-Net-XMPP perl-IO-Socket-SSL perl-net-dns"
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
diff --git a/network/sendxmpp/slack-desc b/network/sendxmpp/slack-desc
deleted file mode 100644
index 23ef92eae0..0000000000
--- a/network/sendxmpp/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-sendxmpp: sendxmpp (send xmpp messages from the command line)
-sendxmpp:
-sendxmpp: sendxmpp is a program to send XMPP (Jabber) messages from the
-sendxmpp: command line, not unlike mail(1). Messages can be sent both to
-sendxmpp: individual recipients and chatrooms.
-sendxmpp:
-sendxmpp: XMPP is an open, non-proprietary protocol for instant messaging.
-sendxmpp:
-sendxmpp: Homepage: https://sendxmpp.hostname.sk
-sendxmpp:
-sendxmpp:
diff --git a/network/serialmail/serialmail.SlackBuild b/network/serialmail/serialmail.SlackBuild
index f560c11b17..e341309b6a 100644
--- a/network/serialmail/serialmail.SlackBuild
+++ b/network/serialmail/serialmail.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for serialmail
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=serialmail
VERSION=${VERSION:-0.75}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,4 +125,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/session/README b/network/session/README
new file mode 100644
index 0000000000..cb5d34b24f
--- /dev/null
+++ b/network/session/README
@@ -0,0 +1,19 @@
+Session is an end-to-end encrypted messenger that minimises sensitive
+metadata, designed and built for people who want absolute privacy
+and freedom from any form of surveillance.
+
+* No Phone Numbers
+
+* No Data Breaches
+
+* No Footprints
+
+* Open Source
+
+* Censorship Resistant
+
+Session has also undergone a security audit by Quarkslab
+
+------------------------------------------------------------------------
+This SlackBuild downloads and installs the official AppImage under
+'/opt'.
diff --git a/network/session/doinst.sh b/network/session/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/session/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/session/session-desktop.desktop b/network/session/session-desktop.desktop
new file mode 100644
index 0000000000..3beaeef9f0
--- /dev/null
+++ b/network/session/session-desktop.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Session
+Exec=session-desktop
+Terminal=false
+Type=Application
+Icon=session-desktop
+StartupWMClass=Session
+X-AppImage-Version=1.10.3
+Comment=Private messaging from your desktop
+Categories=Network;
diff --git a/network/session/session.SlackBuild b/network/session/session.SlackBuild
new file mode 100644
index 0000000000..bdca396271
--- /dev/null
+++ b/network/session/session.SlackBuild
@@ -0,0 +1,92 @@
+#!/bin/bash
+# Slackware build script for Session Messenger
+
+# Copyright 2023 Slackjeff <slackjeff@riseup.net>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#########################################################################
+# ChangeLog
+#
+# IMPORTANT: update this if you change this script!)
+#########################################################################
+# 2.0 04-JULY-2023 UPGRADE (Version: 1.10.8)
+# 2.1 01-AGO-2023 UPGRADE (Version: 1.11.0)
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=session
+VERSION=${VERSION:-1.11.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=${ARCH:-$(uname -m)}
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION."
+ exit 1
+fi
+
+if [ -n "${PRINT_PACKAGE_NAME}" ]; then
+ echo $PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+APPIMGNAM=$PRGNAM-desktop-linux-$ARCH-$VERSION.AppImage
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+mkdir -p $PKG/install
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/share/pixmaps
+mkdir -p $PKG/usr/bin
+mkdir -p $PKG/opt
+
+cd $PKG/opt
+install -m 0755 $CWD/$APPIMGNAM .
+./$APPIMGNAM --appimage-extract
+mv squashfs-root $PRGNAM-$VERSION
+rm -f $APPIMGNAM
+
+chown -R root:root .
+find . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+ln -s "/opt/$PRGNAM-$VERSION/session-desktop-bin" "$PKG/usr/bin/${PRGNAM}-desktop"
+ln -s "/opt/$PRGNAM-$VERSION/session-desktop.png" "$PKG/usr/share/pixmaps/$PRGNAM-desktop.png"
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/$PRGNAM-desktop.desktop > $PKG/usr/share/applications/$PRGNAM-desktop.desktop
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/session/session.info b/network/session/session.info
new file mode 100644
index 0000000000..d36a082e8e
--- /dev/null
+++ b/network/session/session.info
@@ -0,0 +1,10 @@
+PRGNAM="session"
+VERSION="1.11.0"
+HOMEPAGE="https://getsession.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/oxen-io/session-desktop/releases/download/v1.11.0/session-desktop-linux-x86_64-1.11.0.AppImage"
+MD5SUM_x86_64="423f3fb9d0f60617d9983d14749f9c61"
+REQUIRES=""
+MAINTAINER="slackjeff"
+EMAIL="slackjeff@riseup.net"
diff --git a/network/session/slack-desc b/network/session/slack-desc
new file mode 100644
index 0000000000..d96bfe3186
--- /dev/null
+++ b/network/session/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+session: session (Send Messages,Not Metadata.)
+session:
+session: Session is an end-to-end encrypted messenger that minimises sensitive
+session: metadata, designed and built for people who want absolute privacy and
+session: freedom from any form of surveillance.
+session:
+session:
+session:
+session:
+session: https://getsession.org/
+session:
diff --git a/network/sfeed/README b/network/sfeed/README
index 55fc6008ee..b1d49f1024 100644
--- a/network/sfeed/README
+++ b/network/sfeed/README
@@ -1,5 +1,5 @@
-SFeed is a simple RSS and Atom parser.
+Sfeed is a simple RSS and Atom parser.
README.SLACKWARE contains starter tips.
-/usr/doc/sfeed-0.9.21/README contains detailed post-install
+/usr/doc/sfeed-*/README contains detailed post-install
instructions.
diff --git a/network/sfeed/README.SLACKWARE b/network/sfeed/README.SLACKWARE
index 9019edfb92..8b2309ed20 100644
--- a/network/sfeed/README.SLACKWARE
+++ b/network/sfeed/README.SLACKWARE
@@ -1,17 +1,15 @@
-The following instructions are taken from /usr/doc/sfeed-0.9.21/README
-Note that the slackbuild removes /usr/share/doc/sfeed; thus, please
-copy necessary files from /usr/doc/sfeed-0.9.21
+The following instructions are taken from /usr/doc/sfeed-*/README
- Initialize sfeed folders:
mkdir -p "$HOME/.sfeed/feeds"
- Initialize sfeedrc, such as by copying and editing the example file:
-cp /usr/doc/sfeed-0.9.21/sfeedrc.example "$HOME/.sfeed/sfeedrc"
+cp /usr/doc/sfeed-*/sfeedrc.example "$HOME/.sfeed/sfeedrc"
$EDITOR "$HOME/.sfeed/sfeedrc"
- Update feeds:
sfeed_update
- Format feeds. For example, view feeds in HTML (no frames).
-cp /usr/doc/sfeed-0.9.21/style.css "$HOME/.sfeed/style.css"
+cp /usr/doc/sfeed-*/style.css "$HOME/.sfeed/style.css"
sfeed_html $HOME/.sfeed/feeds/* > "$HOME/.sfeed/feeds.html"
diff --git a/network/sfeed/sfeed.SlackBuild b/network/sfeed/sfeed.SlackBuild
index 79f9b381bd..2dac8c1bd4 100644
--- a/network/sfeed/sfeed.SlackBuild
+++ b/network/sfeed/sfeed.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sfeed
-# Copyright 2019-2021 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2019-2023 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sfeed
-VERSION=${VERSION:-0.9.21}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,19 +77,16 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make
-make install PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$PKG
+make install PREFIX=/usr MANPREFIX=/usr/man DOCPREFIX=/usr/doc/sfeed-$VERSION DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Redundant directory
-rm -r $PKG/usr/share/doc/sfeed
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README README.xml sfeedrc.example style.css $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -90,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sfeed/sfeed.info b/network/sfeed/sfeed.info
index 91177d4d1d..37a9bc739e 100644
--- a/network/sfeed/sfeed.info
+++ b/network/sfeed/sfeed.info
@@ -1,10 +1,10 @@
PRGNAM="sfeed"
-VERSION="0.9.21"
-HOMEPAGE="https://codemadness.org/releases/sfeed/"
-DOWNLOAD="https://codemadness.org/releases/sfeed/sfeed-0.9.21.tar.gz"
-MD5SUM="c06fc4b58b81038c804b4d9aacd69edd"
+VERSION="2.0"
+HOMEPAGE="https://codemadness.org/sfeed-simple-feed-parser.html"
+DOWNLOAD="https://codemadness.org/releases/sfeed/sfeed-2.0.tar.gz"
+MD5SUM="02f0af9a09782d3b5a66c34d3e7b0a7b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
+MAINTAINER="Hiltjo Posthuma"
+EMAIL="hiltjo@codemadness.org"
diff --git a/network/sflowtool/sflowtool.SlackBuild b/network/sflowtool/sflowtool.SlackBuild
index 8145e16423..71273e3594 100644
--- a/network/sflowtool/sflowtool.SlackBuild
+++ b/network/sflowtool/sflowtool.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sFlowtool
@@ -24,10 +24,13 @@
# 02/Apr/2018 * First version
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sflowtool
VERSION=${VERSION:-3.41}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sftp-cloudfs/sftp-cloudfs.SlackBuild b/network/sftp-cloudfs/sftp-cloudfs.SlackBuild
index dbbbb7d010..a75ee2da5a 100644
--- a/network/sftp-cloudfs/sftp-cloudfs.SlackBuild
+++ b/network/sftp-cloudfs/sftp-cloudfs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "sftp-cloudfs".
@@ -24,11 +24,14 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sftp-cloudfs
SRCNAM=sftpcloudfs
VERSION=${VERSION:-0.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sftp-cloudfs/sftp-cloudfs.info b/network/sftp-cloudfs/sftp-cloudfs.info
index 3cbaef2b6e..5f4e6e4735 100644
--- a/network/sftp-cloudfs/sftp-cloudfs.info
+++ b/network/sftp-cloudfs/sftp-cloudfs.info
@@ -1,10 +1,10 @@
PRGNAM="sftp-cloudfs"
VERSION="0.19"
HOMEPAGE="https://github.com/Memset/sftpcloudfs/"
-DOWNLOAD="https://github.com/Memset/sftpcloudfs/archive/0.19.tar.gz"
+DOWNLOAD="https://github.com/Memset/sftpcloudfs/archive/0.19/sftpcloudfs-0.19.tar.gz"
MD5SUM="e772f8b114725720f428b4e7e7f19b2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ftp-cloudfs paramiko"
+REQUIRES="ftp-cloudfs python2-paramiko"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/network/shadowsocks-libev/shadowsocks-libev.SlackBuild b/network/shadowsocks-libev/shadowsocks-libev.SlackBuild
index 59467093f9..4e6a6e0477 100644
--- a/network/shadowsocks-libev/shadowsocks-libev.SlackBuild
+++ b/network/shadowsocks-libev/shadowsocks-libev.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shadowsocks-libev
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shadowsocks-libev
VERSION=${VERSION:-3.3.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,8 +105,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/shadowsocks-libev/shadowsocks-libev.info b/network/shadowsocks-libev/shadowsocks-libev.info
index 8c7b668ad9..e76ef1cc20 100644
--- a/network/shadowsocks-libev/shadowsocks-libev.info
+++ b/network/shadowsocks-libev/shadowsocks-libev.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/shadowsocks/shadowsocks-libev/releases/download/v3.
MD5SUM="891392c245ab4702b70f0053bd3eec6b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mbedtls libsodium libev c-ares"
+REQUIRES="mbedtls libev"
MAINTAINER="Cheng Bao"
EMAIL="awabimakoto@gmail.com"
diff --git a/network/shibboleth-sp/README b/network/shibboleth-sp/README
index d52fbb8bd0..dac23a4913 100644
--- a/network/shibboleth-sp/README
+++ b/network/shibboleth-sp/README
@@ -5,4 +5,4 @@ exchange of rich attributes subject to privacy controls.
This package contains the Shibboleth Service Provider runtime libraries,
daemon, default plugins, and Apache module.
-For some basic setup instructions, check the included 'README.SLACKWARE'.
+For some basic setup instructions, check the included README.SLACKWARE.
diff --git a/network/shibboleth-sp/shibboleth-sp.SlackBuild b/network/shibboleth-sp/shibboleth-sp.SlackBuild
index 97dda0ac5e..655ce51e01 100644
--- a/network/shibboleth-sp/shibboleth-sp.SlackBuild
+++ b/network/shibboleth-sp/shibboleth-sp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Shibboleth Service Provider.
-# Copyright 2013-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2013-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shibboleth-sp
-VERSION=${VERSION:-3.0.4}
+VERSION=${VERSION:-3.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -77,7 +87,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -107,6 +117,8 @@ find $PKG/etc/shibboleth/ -name *.pem | while read cfg ; do mv $cfg $cfg.new ; d
chown shibd:shibd $PKG/etc/shibboleth/sp-*.pem.new
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/{,shibboleth/}*.la
+
mv $PKG/usr/share/doc $PKG/usr
mv $PKG/usr/doc/shibboleth-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -117,4 +129,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/shibboleth-sp/shibboleth-sp.info b/network/shibboleth-sp/shibboleth-sp.info
index ab57441716..90147f8d59 100644
--- a/network/shibboleth-sp/shibboleth-sp.info
+++ b/network/shibboleth-sp/shibboleth-sp.info
@@ -1,8 +1,8 @@
PRGNAM="shibboleth-sp"
-VERSION="3.0.4"
+VERSION="3.4.1"
HOMEPAGE="http://shibboleth.net/"
-DOWNLOAD="http://shibboleth.net/downloads/service-provider/3.0.4/shibboleth-sp-3.0.4.tar.gz"
-MD5SUM="dd7fbff4de495197ffeb834df6cebf05"
+DOWNLOAD="https://shibboleth.net/downloads/service-provider/3.4.1/shibboleth-sp-3.4.1.tar.gz"
+MD5SUM="e6bd05784653057b18340de8c4517ce4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="opensaml"
diff --git a/network/shorewall-core/shorewall-core.SlackBuild b/network/shorewall-core/shorewall-core.SlackBuild
index 3979b91135..3bc30222d5 100644
--- a/network/shorewall-core/shorewall-core.SlackBuild
+++ b/network/shorewall-core/shorewall-core.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shorewall-core
@@ -22,16 +22,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shorewall-core
VERSION=${VERSION:-5.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
BASEVERS=$VERSION
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,4 +74,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/shorewall/shorewall.SlackBuild b/network/shorewall/shorewall.SlackBuild
index 729f735a57..d8becb43c8 100644
--- a/network/shorewall/shorewall.SlackBuild
+++ b/network/shorewall/shorewall.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shorewall
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shorewall
VERSION=${VERSION:-5.2.8}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
BASEVERS=$VERSION
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,7 +87,7 @@ do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
# Clean up the extra stuff:
if [ "$1" = "--cleanup" ]; then
diff --git a/network/shorewall6/shorewall6.SlackBuild b/network/shorewall6/shorewall6.SlackBuild
index 234c1390ba..d79a09f8b0 100644
--- a/network/shorewall6/shorewall6.SlackBuild
+++ b/network/shorewall6/shorewall6.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shorewall6
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shorewall6
VERSION=${VERSION:-5.2.8}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
BASEVERS=$VERSION
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,7 +91,7 @@ do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
# Clean up the extra stuff:
if [ "$1" = "--cleanup" ]; then
diff --git a/network/sic/README b/network/sic/README
index c4a96694d5..842025a1bf 100644
--- a/network/sic/README
+++ b/network/sic/README
@@ -1,10 +1,18 @@
-sic (simple irc client)
+sic (simple irc client from suckless.org)
sic is an extremely simple IRC client. It consists of less than 250
lines of code.
-The default host is "irc.oftc.net" and the default port is 6667. You
-can change these by setting IRCHOST and/or IRCPORT in the script's
-environment, e.g.:
+You can control the build via environment variables:
-# IRCHOST=chat.freenode.org IRCPORT=6668 ./sic.SlackBuild
+IRCHOST - sets the default IRC server (default: irc.oftc.net).
+IRCPORT - sets the default port (default: 6667).
+SLASH - set SLASH=yes to change the command prefix from a colon (:) to
+ a slash (/), to make sic work more like other IRC clients.
+
+For even finer-grained control, you can copy config.def.h from the
+sic source to config.h in the SlackBuild directory, and edit it before
+building.
+
+If you want to apply any patches to the sic source, see patches/README
+for instructions.
diff --git a/network/sic/git2tarxz.sh b/network/sic/git2tarxz.sh
new file mode 100644
index 0000000000..c169301276
--- /dev/null
+++ b/network/sic/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=sic
+CLONE_URL=https://git.suckless.org/sic
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+TAG=$( git tag | tail -1 )
+
+VERSION=$TAG+${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/network/sic/patches/README b/network/sic/patches/README
new file mode 100644
index 0000000000..a9c9ce960d
--- /dev/null
+++ b/network/sic/patches/README
@@ -0,0 +1,10 @@
+This directory is for optional patches. Any *.diff files found here
+will be applied to the sic source in ASCIIbetical order, when the
+SlackBuild is run.
+
+If the order of patches matters (if later ones depend on earlier
+ones), name them e.g. 001-foo.diff, 002-bar.diff, etc.
+
+Upstream provides a few patches here:
+
+http://tools.suckless.org/sic/patches/
diff --git a/network/sic/sic.SlackBuild b/network/sic/sic.SlackBuild
index fb4c624018..cc4b1bf885 100644
--- a/network/sic/sic.SlackBuild
+++ b/network/sic/sic.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for sic
# Copyright 2011 Haroldo F. Jardim <email removed>
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,6 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230103 bkw: update for v1.3, strip binary.
+
+# 20210924 bkw:
+# - update for latest git.
+# - add support for SLASH=yes.
+# - add support for user config.h.
+# - add support for patches.
+# - update README to reflect the above.
+
# 20201113 bkw: The original author of this script hasn't been heard
# from since 2011, and it needs some attention (still mentions i486)
# so I'm taking it.
@@ -32,10 +41,13 @@
# - add env vars for default host and port
# - simplify script
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sic
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +57,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,34 +86,65 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.[xg]z
cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *
-sed -i "s/CFLAGS =/CFLAGS +=/" config.mk
+# this is more complex than it has to be: upstream released a a mix
+# of -p0 and -p1 patches.
+for i in $CWD/patches/*.diff; do
+ if [ -e "$i" ]; then
+ P=1
+ patch --dry-run -p0 < $i &>/dev/null && P=0
+ echo "=== Applying $( basename $i ) with -p$P"
+ patch -p$P < $i
+ fi
+done
+
+if [ -e "$CWD/config.h" ]; then
+ # if the user's got his own config.h, use it
+ cat "$CWD/config.h" > config.h
+else
+ # if not, use the upstream default
+ cat config.def.h > config.h
+fi
+
+# IRCHOST IRCPORT SLASH modify the config.h, even overriding what's
+# in the user's custom one. Also fixup the man page.
+if [ -n "$IRCHOST" ]; then
+ sed -i "/DEFAULT_HOST/s,\".*\"\$,\"$IRCHOST\"," config.h
+ sed -i "/default host/s,(.*) *$,($IRCHOST)," $PRGNAM.1
+fi
-[ -n "$IRCHOST" ] && \
- sed -i "/host *= *\"/s,\"[^\"]*\",\"$IRCHOST\"," $PRGNAM.c
+if [ -n "$IRCPORT" ]; then
+ sed -i "/DEFAULT_PORT/s,\".*\"\$,\"$IRCPORT\"," config.h
+ sed -i "/default port/s,(.*) *$,($IRCPORT)," $PRGNAM.1
+fi
-[ -n "$IRCPORT" ] && \
- sed -i "/port *= *\"/s,\"[^\"]*\",\"$IRCPORT\"," $PRGNAM.c
+if [ "${SLASH:-no}" = "yes" ]; then
+ sed -i "s|':'|'/'|" config.h
+ sed -i '/^\.BI :/s,:,/,' $PRGNAM.1
+fi
-CFLAGS="$SLKCFLAGS -Wl,-s" \
+CFLAGS="$SLKCFLAGS" \
DESTDIR=$PKG \
make \
+ VERSION="$VERSION" \
+ CFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
MANPREFIX=/usr/man \
install
+strip $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README config.h $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sic/sic.info b/network/sic/sic.info
index f466828855..d48f3c4b93 100644
--- a/network/sic/sic.info
+++ b/network/sic/sic.info
@@ -1,10 +1,10 @@
PRGNAM="sic"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="http://tools.suckless.org/sic"
-DOWNLOAD="http://dl.suckless.org/tools/sic-1.2.tar.gz"
-MD5SUM="eb099e790c3ce7866df50d3fe1a52c25"
+DOWNLOAD="http://dl.suckless.org/tools/sic-1.3.tar.gz"
+MD5SUM="be0a6fd28738d3c626d70f1b1f33adb5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/sic/slack-desc b/network/sic/slack-desc
index 8a2a71b460..bc34e76761 100644
--- a/network/sic/slack-desc
+++ b/network/sic/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-sic: sic (simple irc client)
+sic: sic (simple irc client from suckless.org)
sic:
sic: sic is an extremely simple IRC client. It consists of less than 250
sic: lines of code.
diff --git a/network/sickrage/README b/network/sickrage/README
deleted file mode 100644
index c8bda973ce..0000000000
--- a/network/sickrage/README
+++ /dev/null
@@ -1,11 +0,0 @@
-sickrage (Automatic Video Library Manager for TV Shows.)
-
-SickRage is an automatic Video Library Manager for TV Shows. It watches for
-new episodes of your favorite shows, and when they are posted it does its
-magic: automatic torrent/nzb searching, downloading, and processing at the
-qualities you want.
-
-NOTE: Requires sickrage user and group.
-(uid/gid assigned by SBo -- see https://slackbuilds.org/uid_gid.txt)
- groupadd -g 324 sickrage
- useradd -u 324 -g sickrage -d /var/lib/sickrage -s /bin/false sickrage
diff --git a/network/sickrage/config.ini b/network/sickrage/config.ini
deleted file mode 100644
index acd3227551..0000000000
--- a/network/sickrage/config.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[General]
-log_dir = /var/log/sickrage
-version_notify = 0
diff --git a/network/sickrage/doinst.sh b/network/sickrage/doinst.sh
deleted file mode 100644
index 3aafce21d5..0000000000
--- a/network/sickrage/doinst.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.sickrage.new
-config etc/sickrage.conf.new
-config var/lib/sickrage/config.ini.new
diff --git a/network/sickrage/rc.sickrage b/network/sickrage/rc.sickrage
deleted file mode 100644
index a5aa2e5fe2..0000000000
--- a/network/sickrage/rc.sickrage
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-# Start/stop/restart sickrage.
-
-# rc.sickrage created by Jeremy Brent Hansen for Slackware
-
-# Set program name in case you want to run sick{beard|rage|gear|etc}
-PROG=${PROG:-sickrage}
-
-# Source SickRage configuration
-if [ -f /etc/${PROG}.conf ]; then
- . /etc/${PROG}.conf
-fi
-
-# Ensure all required variables are set in conf file
-# Edit conf file in /etc/sickrage.conf for any changes
-for var in USERNAME HOMEDIR DATADIR PIDFILE PORT; do
- if [ -z "${!var}" ]; then
- echo "/etc/${PROG}.conf is missing some or all required variables ($var)."
- echo "Please check the file and try again."
- exit 1
- fi
-done
-
-# Check if the pid file exists
-check() {
- STATUS=stopped
- if [ -e $PIDFILE ]; then
- if ps -p $(cat $PIDFILE); then
- STATUS=running
- else
- STATUS=stopped
- fi
- fi
-}
-
-status() {
- if [ $STATUS == "running" ]; then
- echo "${PROG} currently running or not shut down properly."
- echo "PIDfile: $PIDFILE already exists."
- elif [ $STATUS == "stopped" ]; then
- echo "${PROG} not started."
- echo "PIDfile: $PIDFILE does not exist."
- else
- echo "Status unknown."
- fi
-}
-
-start() {
- if [ $STATUS == "running" ]; then
- echo "$PROG already running or not shut down properly."
- else
- echo -n "Starting ${PROG}: "
- su $USERNAME -s /bin/sh -c "python ${HOMEDIR}/SickBeard.py --daemon --pidfile=${PIDFILE} --datadir=${DATADIR} --port=${PORT} &> /dev/null"
- if (( $? == 0 )); then
- echo "Startup Successful"
- else
- echo "Startup Failed. Please try running the following to see the errors."
- echo "su $USERNAME -s /bin/sh -c \"python ${HOMEDIR}/SickBeard.py --daemon --pidfile=${PIDFILE} --datadir=${DATADIR} --port=${PORT}\""
- fi
- fi
-}
-
-stop() {
- if [ $STATUS == "stopped" ]; then
- echo "${PROG} doesn't seem to be running. Please try running"
- echo "$0 start"
- else
- if [ "$EUID" -ne 0 ];then
- echo "Please run as root"
- exit 1
- fi
- PID=$(cat $PIDFILE)
- echo -n $"Shutting down ${PROG}: "
- curl -f http://localhost:${PORT}/home/shutdown/?pid=${PID} &> /dev/null
- if [ $? -gt 0 ]; then
- echo "Normal Shutdown Failed - Attempting to kill the process."
- echo $?
- sleep 7
- kill -9 $PID
- else
- echo "Shutdown Successful"
- fi
- fi
-}
-
-case "$1" in
- start)
- check
- start
- ;;
- stop)
- check
- stop
- ;;
- restart)
- check
- stop
- start
- ;;
- status)
- check
- status
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|status}"
- exit 1
-esac
diff --git a/network/sickrage/sickrage.SlackBuild b/network/sickrage/sickrage.SlackBuild
deleted file mode 100644
index ce499c7080..0000000000
--- a/network/sickrage/sickrage.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sickrage
-# Copyright 2016-2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=sickrage
-SRCNAM=SickRage
-VERSION=${VERSION:-2018.09.17_1}
-SRCVER=$(echo $VERSION | tr _ -)
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-SICKUSER=${SICKUSER:-sickrage}
-SICKGROUP=${SICKGROUP:-sickrage}
-
-# The user and group accounts need to be created manually.
-# For slackbuilds.org, assigned sickrage uid/gid are 324/324.
-# See http://slackbuilds.org/uid_gid.txt
-if ! grep ^$SICKGROUP: /etc/group 2>&1 > /dev/null; then
- echo " You must have a \"$SICKGROUP\" group to run this script."
- echo " # groupadd -g 324 $SICKGROUP"
- exit 1
-elif ! grep ^$SICKUSER: /etc/passwd 2>&1 > /dev/null; then
- echo " You must have a \"$SICKUSER\" user to run this script."
- echo " # useradd -u 324 -g $SICKGROUP -d /var/lib/sickrage -s /bin/false $SICKUSER"
- exit 1
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
-cd $SRCNAM-$SRCVER
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# "Install" sickrage
-echo "Installing sickrage"
-mkdir -p $PKG/usr/share/sickrage
-cp -r ./* $PKG/usr/share/sickrage
-
-# Copy documentation to correct folder
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.txt readme.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/etc/rc.d/
-install -m 0644 $CWD/rc.sickrage $PKG/etc/rc.d/rc.sickrage.new
-install -m 0644 $CWD/sickrage.conf $PKG/etc/sickrage.conf.new
-install -dm 0755 --owner=$SICKUSER $PKG/var/lib/sickrage/
-install -m 0644 --owner=$SICKUSER $CWD/config.ini $PKG/var/lib/sickrage/config.ini.new
-install -dm 0755 --owner=$SICKUSER $PKG/var/log/sickrage/
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/sickrage/sickrage.conf b/network/sickrage/sickrage.conf
deleted file mode 100644
index 1b99f0b756..0000000000
--- a/network/sickrage/sickrage.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-USERNAME=sickrage
-HOMEDIR=/usr/share/sickrage
-DATADIR=/var/lib/sickrage
-PIDFILE=${DATADIR}/sickrage.pid
-PORT=8081
-LOGDIR=/var/log/sickrage \ No newline at end of file
diff --git a/network/sickrage/sickrage.info b/network/sickrage/sickrage.info
deleted file mode 100644
index 203098ff7c..0000000000
--- a/network/sickrage/sickrage.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sickrage"
-VERSION="2018.09.17_1"
-HOMEPAGE="https://sickrage.github.io/"
-DOWNLOAD="https://github.com/SickRage/SickRage/archive/v2018.09.17-1/SickRage-v2018.09.17-1.tar.gz"
-MD5SUM="0a8531dabb84712bd703a06069c11d85"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Kevin Matthew"
-EMAIL="kevin@kevinmatthew.com"
diff --git a/network/sickrage/slack-desc b/network/sickrage/slack-desc
deleted file mode 100644
index 929bbadb3d..0000000000
--- a/network/sickrage/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-sickrage: sickrage (Automatic Video Library Manager for TV Shows.)
-sickrage:
-sickrage: SickRage is an automatic Video Library Manager for TV Shows. It
-sickrage: watches for new episodes of your favorite shows, and when they are
-sickrage: posted it does its magic: automatic torrent/nzb searching,
-sickrage: downloading, and processing at the qualities you want.
-sickrage:
-sickrage: Homepage: https://sickrage.github.io/
-sickrage:
-sickrage:
-sickrage:
diff --git a/network/siege/README b/network/siege/README
index 5ec3a5fccf..0123ce68c9 100644
--- a/network/siege/README
+++ b/network/siege/README
@@ -1,6 +1,7 @@
-Siege is an http regression testing and benchmarking utility. It was designed
-to let web developers measure the performance of their code under duress,
-to see how it will stand up to load on the internet. Siege supports basic
-authentication, cookies, HTTP and HTTPS protocols. It allows the user to hit
-a web server with a configurable number of concurrent simulated users. Those
-users place the webserver "under siege."
+Siege is an http regression testing and benchmarking utility. It was
+designed to let web developers measure the performance of their code
+under duress, to see how it will stand up to load on the internet.
+Siege supports basic authentication, cookies, HTTP and HTTPS
+protocols. It allows the user to hit a web server with a configurable
+number of concurrent simulated users. Those users place the webserver
+"under siege."
diff --git a/network/siege/siege-verbosity.patch b/network/siege/siege-verbosity.patch
new file mode 100644
index 0000000000..fec188f1b2
--- /dev/null
+++ b/network/siege/siege-verbosity.patch
@@ -0,0 +1,28 @@
+From b7900fbc0e929f2f340a44ed2881018a29a9a86f Mon Sep 17 00:00:00 2001
+From: Josue Abarca <jmaslibre@gmail.com>
+Date: Sun, 9 Aug 2020 15:48:15 -0600
+Subject: [PATCH] Allow the command line verbose option to override the
+ configuration file
+
+Since the default configuration file has json_output set to true and
+the json_output monopolizes stdout, superceding verbose, this change
+allows the user to activate the verbose mode using the command line
+parameter even when json_output is set to true in the configuration
+file.
+---
+ src/main.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/main.c b/src/main.c
+index 4bad685..2541cee 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -256,6 +256,8 @@ parse_cmdline(int argc, char *argv[])
+ break;
+ case 'v':
+ my.verbose = TRUE;
++ my.json_output = FALSE;
++ my.quiet = FALSE;
+ break;
+ case 'r':
+ if(strmatch(optarg, "once")){
diff --git a/network/siege/siege.SlackBuild b/network/siege/siege.SlackBuild
index ad9c26d709..1173fc115a 100644
--- a/network/siege/siege.SlackBuild
+++ b/network/siege/siege.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Siege
-# Copyright 2011-2018 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2011-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,39 +11,49 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Originally written by Menno Duursma <druiloor@zonnet.nl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=siege
-VERSION=${VERSION:-4.0.4}
+VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +81,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Allow the command line verbose option to override the configuration file
+# https://github.com/JoeDog/siege/pull/182
+patch -p1 -i $CWD/siege-verbosity.patch
+
+utils/bootstrap
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -103,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/siege/siege.info b/network/siege/siege.info
index 48e21fb9fb..f0c4bee6fc 100644
--- a/network/siege/siege.info
+++ b/network/siege/siege.info
@@ -1,10 +1,10 @@
PRGNAM="siege"
-VERSION="4.0.4"
+VERSION="4.1.1"
HOMEPAGE="http://www.joedog.org/index/siege-home"
-DOWNLOAD="http://download.joedog.org/siege/siege-4.0.4.tar.gz"
-MD5SUM="aed6db62c4bf199f86218bd7b2fda14f"
+DOWNLOAD="https://github.com/JoeDog/siege/archive/v4.1.1/siege-4.1.1.tar.gz"
+MD5SUM="375a584bc1c1085613854c45e6b3ae99"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/network/sieve-connect/sieve-connect.SlackBuild b/network/sieve-connect/sieve-connect.SlackBuild
index fd0f53b022..013d5a0303 100644
--- a/network/sieve-connect/sieve-connect.SlackBuild
+++ b/network/sieve-connect/sieve-connect.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2010-2017 LEVAI Daniel
# All rights reserved.
@@ -27,14 +27,24 @@
# Build script for sieve-connect
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sieve-connect
VERSION=${VERSION:-0.89}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sieve-connect/sieve-connect.info b/network/sieve-connect/sieve-connect.info
index 7502929a30..5111b4a02f 100644
--- a/network/sieve-connect/sieve-connect.info
+++ b/network/sieve-connect/sieve-connect.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/philpennock/sieve-connect/releases/download/v0.89/s
MD5SUM="f74cdfbe5d22e2b310f63010d5b57257"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Authen-SASL perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-net-dns"
+REQUIRES="perl-IO-Socket-INET6 perl-net-dns"
MAINTAINER="LEVAI Daniel"
EMAIL="leva@ecentrum.hu"
diff --git a/network/signal-desktop/signal-desktop.SlackBuild b/network/signal-desktop/signal-desktop.SlackBuild
index 9366d2d75d..935ba82bf3 100644
--- a/network/signal-desktop/signal-desktop.SlackBuild
+++ b/network/signal-desktop/signal-desktop.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for signal-desktop
# Copyright 2018 David O'Shaughnessy
+# Copyright 2022-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=signal-desktop
-VERSION=${VERSION:-1.40.0}
+VERSION=${VERSION:-7.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,6 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
# Upstream only has binary support for x86_64 at present.
if [ "$ARCH" = "x86_64" ]; then
DEBARCH="amd64"
@@ -56,14 +67,15 @@ cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}_$DEBARCH.deb data.tar.xz | tar xJv
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# create soft link for launcher
mkdir -p $PKG/usr/bin
-ln -sf /opt/Signal/$PRGNAM $PKG/usr/bin/$PRGNAM
+ln -sf ../../opt/Signal/$PRGNAM $PKG/usr/bin/$PRGNAM
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $PKG/usr/share/doc/$PRGNAM/* $PKG/opt/Signal/LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
@@ -75,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/signal-desktop/signal-desktop.info b/network/signal-desktop/signal-desktop.info
index 9ab4a56de7..c828a99176 100644
--- a/network/signal-desktop/signal-desktop.info
+++ b/network/signal-desktop/signal-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="signal-desktop"
-VERSION="1.40.0"
+VERSION="7.4.0"
HOMEPAGE="https://signal.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://sourceforge.net/projects/slackbuildsdirectlinks/files/signal-desktop/signal-desktop_1.40.0_amd64.deb"
-MD5SUM_x86_64="4b8274623c6194ef3b07fa085d08f93d"
+DOWNLOAD_x86_64="https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_7.4.0_amd64.deb"
+MD5SUM_x86_64="6bf4be996883f361d25bdff81ffc3120"
REQUIRES=""
-MAINTAINER="David O'Shaughnessy"
-EMAIL="dev@osh.id.au"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/network/silc-toolkit/README b/network/silc-toolkit/README
index ffd678a9da..d5cd7ae5ef 100644
--- a/network/silc-toolkit/README
+++ b/network/silc-toolkit/README
@@ -1,6 +1,6 @@
SILC Toolkit is a package intended for software developers who would
like to develope their own SILC based applications or help in the
-development of the SILC. The Toolkit includes SILC Protocol Core library,
-SILC Crypto library, SILC Key Exchange (SKE) library, SILC Math library,
-SILC Modules (SIM) library, SILC Utility library, SILC Client library and few
-other libraries.
+development of the SILC. The Toolkit includes SILC Protocol Core
+library, SILC Crypto library, SILC Key Exchange (SKE) library, SILC
+Math library, SILC Modules (SIM) library, SILC Utility library, SILC
+Client library and few other libraries.
diff --git a/network/silc-toolkit/silc-toolkit.SlackBuild b/network/silc-toolkit/silc-toolkit.SlackBuild
index 9f8d842836..1649242a25 100644
--- a/network/silc-toolkit/silc-toolkit.SlackBuild
+++ b/network/silc-toolkit/silc-toolkit.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for silc-toolkit
# Written by pyllyukko - pyllyukko AT maimed dot org - http://void.maimed.org/~pyllyukko/
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="silc-toolkit"
VERSION=${VERSION:-1.1.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,8 +82,10 @@ cp -a BSD COPYING CREDITS ChangeLog GPL INSTALL README \
README.MACOSX README.SYMBIAN README.WIN32 TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sipcalc/sipcalc.SlackBuild b/network/sipcalc/sipcalc.SlackBuild
index 299bdb0252..83e05610f2 100644
--- a/network/sipcalc/sipcalc.SlackBuild
+++ b/network/sipcalc/sipcalc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sipcalc
@@ -22,10 +22,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sipcalc
VERSION=${VERSION:-1.1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,4 +116,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sipp/sipp.SlackBuild b/network/sipp/sipp.SlackBuild
index 288eb1c8f1..5fc0c32175 100644
--- a/network/sipp/sipp.SlackBuild
+++ b/network/sipp/sipp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SIPp
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sipp
-VERSION=${VERSION:-3.6.0}
+VERSION=${VERSION:-3.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,23 +79,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --with-gsl \
- --with-openssl \
- --with-pcap \
- --with-rtpstream
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUSE_SSL=1 \
+ -DUSE_PCAP=1 \
+ -DUSE_GSL=1 ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+mkdir -p $PKG/usr/man/man1
+cp -a sipp.1 $PKG/usr/man/man1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -104,4 +112,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sipp/sipp.info b/network/sipp/sipp.info
index 519aa0a9de..d67a67bcae 100644
--- a/network/sipp/sipp.info
+++ b/network/sipp/sipp.info
@@ -1,8 +1,8 @@
PRGNAM="sipp"
-VERSION="3.6.0"
+VERSION="3.7.1"
HOMEPAGE="http://sipp.sourceforge.net"
-DOWNLOAD="https://github.com/SIPp/sipp/releases/download/v3.6.0/sipp-3.6.0.tar.gz"
-MD5SUM="1fd27333d179d786d3f6a67ee451fae9"
+DOWNLOAD="https://github.com/SIPp/sipp/releases/download/v3.7.1/sipp-3.7.1.tar.gz"
+MD5SUM="518fec9bc71602a0e858f07b1192df1c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/sks-keyserver/README b/network/sks-keyserver/README
deleted file mode 100644
index a6311c1b90..0000000000
--- a/network/sks-keyserver/README
+++ /dev/null
@@ -1,26 +0,0 @@
-sks-keyserver (OpenPGP keyserver)
-
-SKS is an OpenPGP keyserver whose goal is to provide easy to deploy,
-decentralized, and highly reliable synchronization. That means that a
-key submitted to one SKS server will quickly be distributed to all key
-servers, and even wildly out-of-date servers, or servers that experience
-spotty connectivity, can fully synchronize with rest of the system.
-
-This SlackBuild will also verify the PGP signature of the package if
-the following conditions are met:
-
-- You have GnuPG installed
-- You have the appropriate public PGP key (0x41259773973A612A)
- in your trustedkeys.gpg keyring
-- You have downloaded the sig file from
- https://bitbucket.org/skskeyserver/sks-keyserver/downloads/sks-${VERSION}.tgz.asc
-
-
-Groupname and username
-
-You must have the 'sks' group and user to run this script,
-for example:
-
- groupadd -r sks -g 295
- useradd -u 295 -g 295 -c "SKS keyserver" -d /var/lib/sks -r -M \
- -e 1970-01-02 -s /sbin/nologin sks
diff --git a/network/sks-keyserver/doinst.sh b/network/sks-keyserver/doinst.sh
deleted file mode 100644
index 63a9093e1c..0000000000
--- a/network/sks-keyserver/doinst.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.sks.new
diff --git a/network/sks-keyserver/rc.sks b/network/sks-keyserver/rc.sks
deleted file mode 100644
index 9869de049e..0000000000
--- a/network/sks-keyserver/rc.sks
+++ /dev/null
@@ -1,60 +0,0 @@
-#************************************************************************#
-#* rc.sks - sample script to start and stop the SKS processes *#
-#* *#
-#* Copyright (C) 2011, 2012, 2013 John Clizbe *#
-#* *#
-#* This file is part of SKS. SKS is free software; you can *#
-#* redistribute it and/or modify it under the terms of the GNU General *#
-#* Public License as published by the Free Software Foundation; either *#
-#* version 2 of the License, or (at your option) any later version. *#
-#* *#
-#* This program is distributed in the hope that it will be useful, but *#
-#* WITHOUT ANY WARRANTY; without even the implied warranty of *#
-#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *#
-#* General Public License for more details. *#
-#* *#
-#* You should have received a copy of the GNU General Public License *#
-#* along with this program; if not, write to the Free Software *#
-#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *#
-#* USA or see <http://www.gnu.org/licenses/>. *#
-#************************************************************************#
-#
-#! /bin/sh
-#
-CLIENT=/usr/bin/sks
-DIR=/var/lib/sks
-STARTOPTS=
-#STARTOPTS will need to be in quotes if it has white space in it
-
-test -e $CLIENT || exit 0
-
-test -d $DIR || exit 0
-
-case "$1" in
- start)
- cd $DIR
- echo -n "Starting SKS:"
- echo -n \ sks_db
- /bin/su -c "$CLIENT db" -s /bin/bash sks &
- echo -n \ sks_recon
- /bin/su -c "$CLIENT recon" -s /bin/bash sks &
- echo "."
- ;;
- stop)
- echo -n "Stopping SKS:"
- killall sks
- while [ "`pidof sks`" ]; do sleep 1; done # wait until SKS processes have exited
- echo "."
- ;;
- restart|force-reload)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "Usage: $0 {start|stop|reload|restart|force-reload}"
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/network/sks-keyserver/sks-keyserver.SlackBuild b/network/sks-keyserver/sks-keyserver.SlackBuild
deleted file mode 100644
index ddebc275ad..0000000000
--- a/network/sks-keyserver/sks-keyserver.SlackBuild
+++ /dev/null
@@ -1,134 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sks-keyserver
-
-# Copyright 2014 pyllyukko
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=sks-keyserver
-VERSION=${VERSION:-1.1.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SKS_USER="sks"
-SKS_GROUP="sks"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-bailout() {
- echo " You must have a ${SKS_USER} user and ${SKS_GROUP} group to run this script."
- echo " Something like this should suffice for most systems:"
- echo " # groupadd -r ${SKS_GROUP} -g 295"
- echo " # useradd -u 295 -g 295 -c \"SKS keyserver\" -d /var/lib/sks -r -M -e 1970-01-02 -s /sbin/nologin ${SKS_USER}"
- exit 1
-}
-
-# Bail if user or group isn't valid on your system
-if ! getent passwd $SKS_USER 1>/dev/null 2>/dev/null; then
- bailout;
-elif ! getent group $SKS_GROUP 1>/dev/null 2>/dev/null; then
- bailout;
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-# The package can be verified with SKS Keyserver Signing Key (0x41259773973A612A)
-# If we have GPG installed, we try to verify the signature.
-if [ -x "/usr/bin/gpg" -a -x "/usr/bin/gpgv" ]
-then
- set +e
- # This will check if we have the correct key in our keyring.
- # For the trustedkeys.gpg, see "man 1 gpgv".
- /usr/bin/gpg --keyring trustedkeys.gpg --no-default-keyring --list-keys 0x41259773973A612A &>/dev/null
- GPG_RET=${?}
- # 2 means we don't have his key, 0 means we do.
- set -e
- # If we have the key and the signature file, we verify the package with GPG
- if [ ${GPG_RET} -eq 0 -a \
- -f "${CWD}/sks-${VERSION}.tgz.asc" ]
- then
- /usr/bin/gpgv "${CWD}/sks-${VERSION}.tgz.asc"
- fi
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf sks-$VERSION
-tar xvf $CWD/sks-$VERSION.tgz
-cd sks-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-cp -v Makefile.local.unused Makefile.local
-
-sed -i -e '/tar xmvfz/a\\tsed -i -e s:uint32:uint32_t: cryptokit-1.7/src/stubs-md5.c' Makefile
-
-make -j1 dep
-make -j1 all
-make install PREFIX=$PKG/usr MANDIR=$PKG/usr/man
-install -D -m 0644 ${CWD}/rc.sks $PKG/etc/rc.d/rc.sks.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCEMENT BUGS CHANGELOG FILES LICENSE README.md TODO UPGRADING VERSION \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/sks-keyserver/sks-keyserver.info b/network/sks-keyserver/sks-keyserver.info
deleted file mode 100644
index 079c5d571a..0000000000
--- a/network/sks-keyserver/sks-keyserver.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="sks-keyserver"
-VERSION="1.1.5"
-HOMEPAGE="https://bitbucket.org/skskeyserver/sks-keyserver"
-DOWNLOAD="https://bitbucket.org/skskeyserver/sks-keyserver/downloads/sks-1.1.5.tgz \
- https://bitbucket.org/skskeyserver/sks-keyserver/downloads/sks-1.1.5.tgz.asc"
-MD5SUM="60bb0ce429e5d223fd4662c286f46e7b \
- 0975cabda0fd36034db8bfc143b23afe"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="camlp4 db46"
-MAINTAINER="pyllyukko"
-EMAIL="pyllyukko AT maimed dot org"
diff --git a/network/sks-keyserver/slack-desc b/network/sks-keyserver/slack-desc
deleted file mode 100644
index 22deef947f..0000000000
--- a/network/sks-keyserver/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-sks-keyserver: sks-keyserver (OpenPGP keyserver)
-sks-keyserver:
-sks-keyserver: SKS is an OpenPGP keyserver whose goal is to provide easy to deploy,
-sks-keyserver: decentralized, and highly reliable synchronization.
-sks-keyserver:
-sks-keyserver:
-sks-keyserver:
-sks-keyserver:
-sks-keyserver:
-sks-keyserver: Homepage: https://bitbucket.org/skskeyserver/sks-keyserver
-sks-keyserver:
diff --git a/network/skype4pidgin/skype4pidgin.SlackBuild b/network/skype4pidgin/skype4pidgin.SlackBuild
index a66958472a..49f9daba45 100644
--- a/network/skype4pidgin/skype4pidgin.SlackBuild
+++ b/network/skype4pidgin/skype4pidgin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for skype4pidgin
#
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=skype4pidgin
VERSION=${VERSION:-1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/skype4pidgin/skype4pidgin.info b/network/skype4pidgin/skype4pidgin.info
index 080f646cc6..f8c1f0232f 100644
--- a/network/skype4pidgin/skype4pidgin.info
+++ b/network/skype4pidgin/skype4pidgin.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/EionRobb/skype4pidgin/archive/1.7/skype4pidgin-1.7.
MD5SUM="6af9359c55f4644fc8848389df582848"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib"
+REQUIRES=""
MAINTAINER="Dominik Drobek"
EMAIL="dominik.drobek (at) o2.pl"
diff --git a/network/skypeforlinux/README b/network/skypeforlinux/README
index f44b58ce67..ca41f8983c 100644
--- a/network/skypeforlinux/README
+++ b/network/skypeforlinux/README
@@ -1,11 +1,11 @@
-Skype is an instant messaging app that provides online text message and
-video chat services. Users may transmit both text and video messages and
-may exchange digital documents such as images, text, and video. Skype allows
-video conference calls.
+Skype is an instant messaging app that provides online text message
+and video chat services. Users may transmit both text and video
+messages and may exchange digital documents such as images, text, and
+video. Skype allows video conference calls.
This script repackages the Debian package provided by Microsoft.
Currently, only the 64bit version is available.
-Note: At the time of writing, the last version known to correctly support
-gksu/sudo method is: 8.18.0.6
+Note: At the time of writing, the last version known to correctly
+support the gksu/sudo method is: 8.18.0.6
diff --git a/network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service b/network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service
deleted file mode 100644
index 74a520e572..0000000000
--- a/network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service
+++ /dev/null
@@ -1,4 +0,0 @@
-[D-BUS Service]
-Name=org.freedesktop.login1
-Exec=/usr/bin/skype-dbus-mock
-User=root
diff --git a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf b/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf
deleted file mode 100644
index 4d8287a7a9..0000000000
--- a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
- <policy user="root">
- <allow own="org.freedesktop.login1"/>
- </policy>
- <policy context="default">
- <allow send_destination="org.freedesktop.login1"/>
- <allow send_interface="org.freedesktop.login1.Manager"/>
- </policy>
-</busconfig>
diff --git a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py b/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py
deleted file mode 100644
index cc220844b4..0000000000
--- a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python
-import os
-from gi.repository import GLib
-import dbus
-import dbus.service
-import dbus.types
-import dbus.mainloop.glib
-
-
-class FakeLoginManager(dbus.service.Object):
-
- @dbus.service.method("org.freedesktop.login1.Manager",
- in_signature='ssss', out_signature='h')
- def Inhibit(self, what, who, why, mode):
- r, w = os.pipe()
- return dbus.types.UnixFd(w)
-
-
-if __name__ == '__main__':
- dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
-
- system_bus = dbus.SystemBus()
- bus_name = dbus.service.BusName("org.freedesktop.login1", system_bus)
- obj = FakeLoginManager(system_bus, '/org/freedesktop/login1')
-
- mainloop = GLib.MainLoop()
- mainloop.run()
diff --git a/network/skypeforlinux/skypeforlinux.SlackBuild b/network/skypeforlinux/skypeforlinux.SlackBuild
index 600dfc1a7b..8172e0fb75 100644
--- a/network/skypeforlinux/skypeforlinux.SlackBuild
+++ b/network/skypeforlinux/skypeforlinux.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for skypeforlinux
-# Copyright 2017, 2018, 2019, 2020 Mario Preksavec, Zagreb, Croatia
+# Copyright 2017, 2024 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=skypeforlinux
-VERSION=${VERSION:-8.65.0.76}
+VERSION=${VERSION:-8.109.0.209}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,10 +61,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
if [ -f $CWD/${PRGNAM}_${VERSION}_amd64.deb ]; then
- ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+ ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.gz | tar -xvz
elif [ -f $CWD/${PRGNAM}-64.deb ]; then
# Support the website download
- ar p $CWD/${PRGNAM}-64.deb data.tar.xz | tar -xvJ
+ ar p $CWD/${PRGNAM}-64.deb data.tar.gz | tar -xvz
VERSION=$(ar p $CWD/${PRGNAM}-64.deb control.tar.gz \
| tar -Ozxf - ./control | awk '/^Version:/{print $NF}')
fi
@@ -67,14 +77,6 @@ find -L . \
rm -rf $PKG/opt
-# https://github.com/maelnor/skype-dbus-mock
-install -Dm 644 $CWD/skype-dbus-mock/skype-dbus-mock.conf \
- $PKG/usr/share/dbus-1/system.d/skype-dbus-mock.conf
-install -Dm 644 $CWD/skype-dbus-mock/org.freedesktop.login1.service \
- $PKG/usr/share/dbus-1/system-services/org.freedesktop.login1.service
-install -Dm 755 $CWD/skype-dbus-mock/skype-dbus-mock.py \
- $PKG/usr/bin/skype-dbus-mock
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/$PRGNAM/LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
@@ -88,4 +90,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/skypeforlinux/skypeforlinux.info b/network/skypeforlinux/skypeforlinux.info
index f7f973d7e6..e7fc326e6f 100644
--- a/network/skypeforlinux/skypeforlinux.info
+++ b/network/skypeforlinux/skypeforlinux.info
@@ -1,10 +1,10 @@
PRGNAM="skypeforlinux"
-VERSION="8.65.0.76"
+VERSION="8.109.0.209"
HOMEPAGE="https://www.skype.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.65.0.76_amd64.deb"
-MD5SUM_x86_64="283a82cefb9dc7ba3baad25e47ce9a82"
+DOWNLOAD_x86_64="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.109.0.209_amd64.deb"
+MD5SUM_x86_64="0b44e0494b00b337e7e31f72c3d826c1"
REQUIRES="%README%"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/slack/slack.SlackBuild b/network/slack/slack.SlackBuild
index 8147f4bd6d..90c0e97523 100644
--- a/network/slack/slack.SlackBuild
+++ b/network/slack/slack.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for slack
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
# Harald Achitz | Stockholm/Sweden | harald.achitz@gmail.com
# Pedro R.M. Júnior | Campinas, SP, Brazil | pedrormjunior@gmail.com
-
+# Ruari Oedegaard | Oslo, Norway | sbo@ruari.com
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,47 +26,37 @@
# <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
+# A trick to find the latest slack package details, using snap meta data
+# curl -sH Snap-Device-Series:\ 16 https://api.snapcraft.io/v2/snaps/info/slack | json_pp
PRGNAM=slack
-VERSION=${VERSION:-4.4.2}
+VERSION=${VERSION:-4.37.101}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SNAPREVISION=${SNAPREVISION:-142}
+SNAPPKG=JUJH91Ved74jd4ZgJCpzMBtYbPOzTlsD_$SNAPREVISION.snap
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i586 ;;
- arm*) export ARCH=arm ;;
- *) export ARCH=$( uname -m ) ;;
+ x86_64) ARCH=x86_64 ;;
+ *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
fi
-DEBARCH=${DEBARCH:-$(uname -m)}
-
-case "$DEBARCH" in
- i?86) DEBARCH="i386" ;;
- x86_64) DEBARCH="amd64" ;;
- *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
-esac
-
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -75,7 +65,11 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-ar p $CWD/${PRGNAM}-desktop-${VERSION}-${DEBARCH}.deb data.tar.xz | tar xJv
+unsquashfs -q -f -d . $CWD/$SNAPPKG usr/lib/slack usr/share/pixmaps/slack.png meta/gui/slack.desktop
+mkdir -p usr/bin usr/share/applications
+ln -s ../../usr/lib/slack/slack usr/bin/slack
+sed 's,\${SNAP},,' meta/gui/slack.desktop > usr/share/applications/slack.desktop
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,12 +77,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mv * $PKG/
-
-## we do not need a debian cron job :^)
-rm -rf $PKG/etc/
-## nor lintian stuff and another copy of LICENSE
-rm -rf $PKG/usr/share/{doc,lintian}
+mv usr $PKG/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $PKG/usr/lib/slack/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -99,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/slack/slack.info b/network/slack/slack.info
index 1149a34c65..5fa332568b 100644
--- a/network/slack/slack.info
+++ b/network/slack/slack.info
@@ -1,10 +1,10 @@
PRGNAM="slack"
-VERSION="4.4.2"
+VERSION="4.37.101"
HOMEPAGE="https://slack.com"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://downloads.slack-edge.com/linux_releases/slack-desktop-4.4.2-amd64.deb"
-MD5SUM_x86_64="bf426603bbaa765566435893764de83e"
+DOWNLOAD_x86_64="https://api.snapcraft.io/api/v1/snaps/download/JUJH91Ved74jd4ZgJCpzMBtYbPOzTlsD_142.snap"
+MD5SUM_x86_64="14567aa40b8d3db83cae4e2af4e89a96"
REQUIRES=""
-MAINTAINER="Pedro R.M. Júnior"
-EMAIL="pedrormjunior@gmail.com"
+MAINTAINER="Ruari Oedegaard"
+EMAIL="sbo@ruari.com"
diff --git a/network/slimjet/README b/network/slimjet/README
deleted file mode 100644
index 3741d6eeca..0000000000
--- a/network/slimjet/README
+++ /dev/null
@@ -1,24 +0,0 @@
-slimjet (Chromium based web browser)
-
-Slimjet is built on top of the Chromium open-source project on which
-Google Chrome is also based. It enjoys the same speed and reliablity
-provided by the underlying blink engine as Google Chrome. However, many
-additional features and options have been added in Slimjet to make it
-more powerful, intelligent and customizable than Chrome. In addition to
-that, Slimjet DOES NOT send any usage statistics back to Google's server
-like Google Chrome, which is a growing concern for many Chrome users due
-to the ubiquitous presence and reach of the advertising empire.
-
-Slimjet is compatible with all extensions and plugins designed for
-Google Chrome available from the Chrome web store.
-
-This SlackBuild does NOT attempt to compile slimjet from source, it
-only repackages the binaries that are provided by the developers.
-
-The MD5SUM and VERSION numbers may be incorrect from time to time due
-to the developers' release scheme. If this occurs, you will have the
-latest release, but it will be numbered incorrectly.
-
-NOTE: Run the wrapper script "flashpeak-slimjet" from the terminal for
-the first time to enable the sand box (admin access required). After
-that, you can run the wrapper script from a desktop shortcut.
diff --git a/network/slimjet/doinst.sh b/network/slimjet/doinst.sh
deleted file mode 100644
index d8b0d0d87b..0000000000
--- a/network/slimjet/doinst.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/network/slimjet/files/slimjet.desktop b/network/slimjet/files/slimjet.desktop
deleted file mode 100644
index 49a73ad3d2..0000000000
--- a/network/slimjet/files/slimjet.desktop
+++ /dev/null
@@ -1,224 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=Slimjet Web Browser
-# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
-# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
-GenericName=Web Browser
-GenericName[ar]=متصفح الشبكة
-GenericName[bg]=Уеб браузър
-GenericName[ca]=Navegador web
-GenericName[cs]=WWW prohlížeč
-GenericName[da]=Browser
-GenericName[de]=Web-Browser
-GenericName[el]=Περιηγητής ιστού
-GenericName[en_GB]=Web Browser
-GenericName[es]=Navegador web
-GenericName[et]=Veebibrauser
-GenericName[fi]=WWW-selain
-GenericName[fr]=Navigateur Web
-GenericName[gu]=વેબ બ્રાઉઝર
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hu]=Webböngésző
-GenericName[it]=Browser Web
-GenericName[ja]=ウェブブラウザ
-GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
-GenericName[ko]=웹 브라우저
-GenericName[lt]=Žiniatinklio naršyklė
-GenericName[lv]=Tīmekļa pārlūks
-GenericName[ml]=വെബ് ബ്രൌസര്‍
-GenericName[mr]=वेब ब्राऊजर
-GenericName[nb]=Nettleser
-GenericName[nl]=Webbrowser
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador da Internet
-GenericName[ro]=Navigator de Internet
-GenericName[ru]=Веб-браузер
-GenericName[sl]=Spletni brskalnik
-GenericName[sv]=Webbläsare
-GenericName[ta]=இணைய உலாவி
-GenericName[th]=เว็บเบราว์เซอร์
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Навігатор Тенет
-GenericName[zh_CN]=网页浏览器
-GenericName[zh_HK]=網頁瀏覽器
-GenericName[zh_TW]=網頁瀏覽器
-# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[fil]=Web Browser
-GenericName[hr]=Web preglednik
-GenericName[id]=Browser Web
-GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
-GenericName[sk]=WWW prehliadač
-GenericName[sr]=Интернет прегледник
-GenericName[te]=మహాతల అన్వేషి
-GenericName[vi]=Bộ duyệt Web
-# Gnome and KDE 3 uses Comment.
-Comment=Access the Internet
-Comment[ar]=الدخول إلى الإنترنت
-Comment[bg]=Достъп до интернет
-Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
-Comment[ca]=Accedeix a Internet
-Comment[cs]=Přístup k internetu
-Comment[da]=Få adgang til internettet
-Comment[de]=Internetzugriff
-Comment[el]=Πρόσβαση στο Διαδίκτυο
-Comment[en_GB]=Access the Internet
-Comment[es]=Accede a Internet.
-Comment[et]=Pääs Internetti
-Comment[fi]=Käytä internetiä
-Comment[fil]=I-access ang Internet
-Comment[fr]=Accéder à Internet
-Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
-Comment[he]=גישה אל האינטרנט
-Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
-Comment[hr]=Pristup Internetu
-Comment[hu]=Internetelérés
-Comment[id]=Akses Internet
-Comment[it]=Accesso a Internet
-Comment[ja]=インターネットにアクセス
-Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
-Comment[ko]=인터넷 연결
-Comment[lt]=Interneto prieiga
-Comment[lv]=Piekļūt internetam
-Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
-Comment[mr]=इंटरनेटमध्ये प्रवेश करा
-Comment[nb]=Gå til Internett
-Comment[nl]=Verbinding maken met internet
-Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
-Comment[pl]=Skorzystaj z internetu
-Comment[pt]=Aceder à Internet
-Comment[pt_BR]=Acessar a internet
-Comment[ro]=Accesaţi Internetul
-Comment[ru]=Доступ в Интернет
-Comment[sk]=Prístup do siete Internet
-Comment[sl]=Dostop do interneta
-Comment[sr]=Приступите Интернету
-Comment[sv]=Gå ut på Internet
-Comment[ta]=இணையத்தை அணுகுதல்
-Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
-Comment[th]=เข้าถึงอินเทอร์เน็ต
-Comment[tr]=İnternet'e erişin
-Comment[uk]=Доступ до Інтернету
-Comment[vi]=Truy cập Internet
-Comment[zh_CN]=访问互联网
-Comment[zh_HK]=連線到網際網路
-Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/flashpeak-slimjet %U
-Terminal=false
-Icon=slimjet
-Type=Application
-Categories=Network;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
-X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
-
-Name[en_US]=Slimjet Web Browser
-
-[X-NewWindow Shortcut Group]
-Name=New Window
-Name[am]=አዲስ መስኮት
-Name[ar]=نافذة جديدة
-Name[bg]=Нов прозорец
-Name[bn]=নতুন উইন্ডো
-Name[ca]=Finestra nova
-Name[cs]=Nové okno
-Name[da]=Nyt vindue
-Name[de]=Neues Fenster
-Name[el]=Νέο Παράθυρο
-Name[en_GB]=New Window
-Name[es]=Nueva ventana
-Name[et]=Uus aken
-Name[fa]=پنجره جدید
-Name[fi]=Uusi ikkuna
-Name[fil]=New Window
-Name[fr]=Nouvelle fenêtre
-Name[gu]=નવી વિંડો
-Name[hi]=नई विंडो
-Name[hr]=Novi prozor
-Name[hu]=Új ablak
-Name[id]=Jendela Baru
-Name[it]=Nuova finestra
-Name[iw]=חלון חדש
-Name[ja]=新規ウインドウ
-Name[kn]=ಹೊಸ ವಿಂಡೊ
-Name[ko]=새 창
-Name[lt]=Naujas langas
-Name[lv]=Jauns logs
-Name[ml]=പുതിയ വിന്‍ഡോ
-Name[mr]=नवीन विंडो
-Name[nl]=Nieuw venster
-Name[no]=Nytt vindu
-Name[pl]=Nowe okno
-Name[pt]=Nova janela
-Name[pt_BR]=Nova janela
-Name[ro]=Fereastră nouă
-Name[ru]=Новое окно
-Name[sk]=Nové okno
-Name[sl]=Novo okno
-Name[sr]=Нови прозор
-Name[sv]=Nytt fönster
-Name[sw]=Dirisha Jipya
-Name[ta]=புதிய சாளரம்
-Name[te]=క్రొత్త విండో
-Name[th]=หน้าต่างใหม่
-Name[tr]=Yeni Pencere
-Name[uk]=Нове вікно
-Name[vi]=Cửa sổ Mới
-Name[zh_CN]=新建窗口
-Name[zh_TW]=開新視窗
-Exec=/usr/bin/flashpeak-slimjet
-TargetEnvironment=Unity
-
-[X-NewIncognito Shortcut Group]
-Name=New Incognito Window
-Name[ar]=نافذة جديدة للتصفح المتخفي
-Name[bg]=Нов прозорец „инкогнито“
-Name[bn]=নতুন ছদ্মবেশী উইন্ডো
-Name[ca]=Finestra d'incògnit nova
-Name[cs]=Nové anonymní okno
-Name[da]=Nyt inkognitovindue
-Name[de]=Neues Inkognito-Fenster
-Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
-Name[en_GB]=New Incognito window
-Name[es]=Nueva ventana de incógnito
-Name[et]=Uus inkognito aken
-Name[fa]=پنجره جدید حالت ناشناس
-Name[fi]=Uusi incognito-ikkuna
-Name[fil]=Bagong Incognito window
-Name[fr]=Nouvelle fenêtre de navigation privée
-Name[gu]=નવી છુપી વિંડો
-Name[hi]=नई गुप्त विंडो
-Name[hr]=Novi anoniman prozor
-Name[hu]=Új Inkognitóablak
-Name[id]=Jendela Penyamaran baru
-Name[it]=Nuova finestra di navigazione in incognito
-Name[iw]=חלון חדש לגלישה בסתר
-Name[ja]=新しいシークレット ウィンドウ
-Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
-Name[ko]=새 시크릿 창
-Name[lt]=Naujas inkognito langas
-Name[lv]=Jauns inkognito režīma logs
-Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
-Name[mr]=नवीन गुप्त विंडो
-Name[nl]=Nieuw incognitovenster
-Name[no]=Nytt inkognitovindu
-Name[pl]=Nowe okno incognito
-Name[pt]=Nova janela de navegação anónima
-Name[pt_BR]=Nova janela anônima
-Name[ro]=Fereastră nouă incognito
-Name[ru]=Новое окно в режиме инкогнито
-Name[sk]=Nové okno inkognito
-Name[sl]=Novo okno brez beleženja zgodovine
-Name[sr]=Нови прозор за прегледање без архивирања
-Name[sv]=Nytt inkognitofönster
-Name[ta]=புதிய மறைநிலைச் சாளரம்
-Name[te]=క్రొత్త అజ్ఞాత విండో
-Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
-Name[tr]=Yeni Gizli pencere
-Name[uk]=Нове вікно в режимі анонімного перегляду
-Name[vi]=Cửa sổ ẩn danh mới
-Name[zh_CN]=新建隐身窗口
-Name[zh_TW]=新增無痕式視窗
-Exec=/usr/bin/flashpeak-slimjet --incognito
-TargetEnvironment=Unity
diff --git a/network/slimjet/slack-desc b/network/slimjet/slack-desc
deleted file mode 100644
index 280629da7c..0000000000
--- a/network/slimjet/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-slimjet: slimjet (Chromium based web browser)
-slimjet:
-slimjet: Slimjet is built on top of the Chromium open-source project. It
-slimjet: enjoys the same speed and reliablity provided by the underlying blink
-slimjet: engine as Google Chrome. However, many additional features and options
-slimjet: have been added in Slimjet to make it more powerful, intelligent and
-slimjet: customizable than Chrome. In addition to that, Slimjet DOES NOT send
-slimjet: any usage statistics back to Google's server like Google Chrome.
-slimjet:
-slimjet: Homepage: https://www.slimjet.com
-slimjet:
diff --git a/network/slimjet/slimjet.SlackBuild b/network/slimjet/slimjet.SlackBuild
deleted file mode 100644
index bd57b25c68..0000000000
--- a/network/slimjet/slimjet.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for slimjet
-
-# Copyright 2017, 2018, 2019, 2020 Skaendo <skaendo@linuxmail.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=slimjet
-VERSION=${VERSION:-26.0.5.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- SRCARCH=i386
-elif [ "$ARCH" = "x86_64" ]; then
- SRCARCH=amd64
-else
- echo "$ARCH is not supported."
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/${PRGNAM}_${SRCARCH}.tar.xz
-cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Install Slimjet Into /opt
-mkdir -p $PKG/opt
-cp -vr ../slimjet $PKG/opt
-
-# Link Binary
-mkdir -p $PKG/usr/bin
-ln -s /opt/slimjet/flashpeak-slimjet $PKG/usr/bin/flashpeak-slimjet
-
-# Link Icons
-mkdir -p $PKG/usr/share/icons/hicolor/{48x48,128x128}/apps
-ln -s /opt/slimjet/product_logo_48.png \
- $PKG/usr/share/icons/hicolor/48x48/apps/slimjet.png
-ln -s /opt/slimjet/product_logo_128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/slimjet.png
-
-# Install .desktop File
-mkdir -p $PKG/usr/share/applications/apps
-cp $CWD/files/$PRGNAM.desktop $PKG/usr/share/applications
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a license.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/README > $PKG/install/README
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/slimjet/slimjet.desktop b/network/slimjet/slimjet.desktop
deleted file mode 100644
index 49a73ad3d2..0000000000
--- a/network/slimjet/slimjet.desktop
+++ /dev/null
@@ -1,224 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=Slimjet Web Browser
-# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
-# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
-GenericName=Web Browser
-GenericName[ar]=متصفح الشبكة
-GenericName[bg]=Уеб браузър
-GenericName[ca]=Navegador web
-GenericName[cs]=WWW prohlížeč
-GenericName[da]=Browser
-GenericName[de]=Web-Browser
-GenericName[el]=Περιηγητής ιστού
-GenericName[en_GB]=Web Browser
-GenericName[es]=Navegador web
-GenericName[et]=Veebibrauser
-GenericName[fi]=WWW-selain
-GenericName[fr]=Navigateur Web
-GenericName[gu]=વેબ બ્રાઉઝર
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hu]=Webböngésző
-GenericName[it]=Browser Web
-GenericName[ja]=ウェブブラウザ
-GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
-GenericName[ko]=웹 브라우저
-GenericName[lt]=Žiniatinklio naršyklė
-GenericName[lv]=Tīmekļa pārlūks
-GenericName[ml]=വെബ് ബ്രൌസര്‍
-GenericName[mr]=वेब ब्राऊजर
-GenericName[nb]=Nettleser
-GenericName[nl]=Webbrowser
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador da Internet
-GenericName[ro]=Navigator de Internet
-GenericName[ru]=Веб-браузер
-GenericName[sl]=Spletni brskalnik
-GenericName[sv]=Webbläsare
-GenericName[ta]=இணைய உலாவி
-GenericName[th]=เว็บเบราว์เซอร์
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Навігатор Тенет
-GenericName[zh_CN]=网页浏览器
-GenericName[zh_HK]=網頁瀏覽器
-GenericName[zh_TW]=網頁瀏覽器
-# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[fil]=Web Browser
-GenericName[hr]=Web preglednik
-GenericName[id]=Browser Web
-GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
-GenericName[sk]=WWW prehliadač
-GenericName[sr]=Интернет прегледник
-GenericName[te]=మహాతల అన్వేషి
-GenericName[vi]=Bộ duyệt Web
-# Gnome and KDE 3 uses Comment.
-Comment=Access the Internet
-Comment[ar]=الدخول إلى الإنترنت
-Comment[bg]=Достъп до интернет
-Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
-Comment[ca]=Accedeix a Internet
-Comment[cs]=Přístup k internetu
-Comment[da]=Få adgang til internettet
-Comment[de]=Internetzugriff
-Comment[el]=Πρόσβαση στο Διαδίκτυο
-Comment[en_GB]=Access the Internet
-Comment[es]=Accede a Internet.
-Comment[et]=Pääs Internetti
-Comment[fi]=Käytä internetiä
-Comment[fil]=I-access ang Internet
-Comment[fr]=Accéder à Internet
-Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
-Comment[he]=גישה אל האינטרנט
-Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
-Comment[hr]=Pristup Internetu
-Comment[hu]=Internetelérés
-Comment[id]=Akses Internet
-Comment[it]=Accesso a Internet
-Comment[ja]=インターネットにアクセス
-Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
-Comment[ko]=인터넷 연결
-Comment[lt]=Interneto prieiga
-Comment[lv]=Piekļūt internetam
-Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
-Comment[mr]=इंटरनेटमध्ये प्रवेश करा
-Comment[nb]=Gå til Internett
-Comment[nl]=Verbinding maken met internet
-Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
-Comment[pl]=Skorzystaj z internetu
-Comment[pt]=Aceder à Internet
-Comment[pt_BR]=Acessar a internet
-Comment[ro]=Accesaţi Internetul
-Comment[ru]=Доступ в Интернет
-Comment[sk]=Prístup do siete Internet
-Comment[sl]=Dostop do interneta
-Comment[sr]=Приступите Интернету
-Comment[sv]=Gå ut på Internet
-Comment[ta]=இணையத்தை அணுகுதல்
-Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
-Comment[th]=เข้าถึงอินเทอร์เน็ต
-Comment[tr]=İnternet'e erişin
-Comment[uk]=Доступ до Інтернету
-Comment[vi]=Truy cập Internet
-Comment[zh_CN]=访问互联网
-Comment[zh_HK]=連線到網際網路
-Comment[zh_TW]=連線到網際網路
-Exec=/usr/bin/flashpeak-slimjet %U
-Terminal=false
-Icon=slimjet
-Type=Application
-Categories=Network;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
-X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
-
-Name[en_US]=Slimjet Web Browser
-
-[X-NewWindow Shortcut Group]
-Name=New Window
-Name[am]=አዲስ መስኮት
-Name[ar]=نافذة جديدة
-Name[bg]=Нов прозорец
-Name[bn]=নতুন উইন্ডো
-Name[ca]=Finestra nova
-Name[cs]=Nové okno
-Name[da]=Nyt vindue
-Name[de]=Neues Fenster
-Name[el]=Νέο Παράθυρο
-Name[en_GB]=New Window
-Name[es]=Nueva ventana
-Name[et]=Uus aken
-Name[fa]=پنجره جدید
-Name[fi]=Uusi ikkuna
-Name[fil]=New Window
-Name[fr]=Nouvelle fenêtre
-Name[gu]=નવી વિંડો
-Name[hi]=नई विंडो
-Name[hr]=Novi prozor
-Name[hu]=Új ablak
-Name[id]=Jendela Baru
-Name[it]=Nuova finestra
-Name[iw]=חלון חדש
-Name[ja]=新規ウインドウ
-Name[kn]=ಹೊಸ ವಿಂಡೊ
-Name[ko]=새 창
-Name[lt]=Naujas langas
-Name[lv]=Jauns logs
-Name[ml]=പുതിയ വിന്‍ഡോ
-Name[mr]=नवीन विंडो
-Name[nl]=Nieuw venster
-Name[no]=Nytt vindu
-Name[pl]=Nowe okno
-Name[pt]=Nova janela
-Name[pt_BR]=Nova janela
-Name[ro]=Fereastră nouă
-Name[ru]=Новое окно
-Name[sk]=Nové okno
-Name[sl]=Novo okno
-Name[sr]=Нови прозор
-Name[sv]=Nytt fönster
-Name[sw]=Dirisha Jipya
-Name[ta]=புதிய சாளரம்
-Name[te]=క్రొత్త విండో
-Name[th]=หน้าต่างใหม่
-Name[tr]=Yeni Pencere
-Name[uk]=Нове вікно
-Name[vi]=Cửa sổ Mới
-Name[zh_CN]=新建窗口
-Name[zh_TW]=開新視窗
-Exec=/usr/bin/flashpeak-slimjet
-TargetEnvironment=Unity
-
-[X-NewIncognito Shortcut Group]
-Name=New Incognito Window
-Name[ar]=نافذة جديدة للتصفح المتخفي
-Name[bg]=Нов прозорец „инкогнито“
-Name[bn]=নতুন ছদ্মবেশী উইন্ডো
-Name[ca]=Finestra d'incògnit nova
-Name[cs]=Nové anonymní okno
-Name[da]=Nyt inkognitovindue
-Name[de]=Neues Inkognito-Fenster
-Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
-Name[en_GB]=New Incognito window
-Name[es]=Nueva ventana de incógnito
-Name[et]=Uus inkognito aken
-Name[fa]=پنجره جدید حالت ناشناس
-Name[fi]=Uusi incognito-ikkuna
-Name[fil]=Bagong Incognito window
-Name[fr]=Nouvelle fenêtre de navigation privée
-Name[gu]=નવી છુપી વિંડો
-Name[hi]=नई गुप्त विंडो
-Name[hr]=Novi anoniman prozor
-Name[hu]=Új Inkognitóablak
-Name[id]=Jendela Penyamaran baru
-Name[it]=Nuova finestra di navigazione in incognito
-Name[iw]=חלון חדש לגלישה בסתר
-Name[ja]=新しいシークレット ウィンドウ
-Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
-Name[ko]=새 시크릿 창
-Name[lt]=Naujas inkognito langas
-Name[lv]=Jauns inkognito režīma logs
-Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
-Name[mr]=नवीन गुप्त विंडो
-Name[nl]=Nieuw incognitovenster
-Name[no]=Nytt inkognitovindu
-Name[pl]=Nowe okno incognito
-Name[pt]=Nova janela de navegação anónima
-Name[pt_BR]=Nova janela anônima
-Name[ro]=Fereastră nouă incognito
-Name[ru]=Новое окно в режиме инкогнито
-Name[sk]=Nové okno inkognito
-Name[sl]=Novo okno brez beleženja zgodovine
-Name[sr]=Нови прозор за прегледање без архивирања
-Name[sv]=Nytt inkognitofönster
-Name[ta]=புதிய மறைநிலைச் சாளரம்
-Name[te]=క్రొత్త అజ్ఞాత విండో
-Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
-Name[tr]=Yeni Gizli pencere
-Name[uk]=Нове вікно в режимі анонімного перегляду
-Name[vi]=Cửa sổ ẩn danh mới
-Name[zh_CN]=新建隐身窗口
-Name[zh_TW]=新增無痕式視窗
-Exec=/usr/bin/flashpeak-slimjet --incognito
-TargetEnvironment=Unity
diff --git a/network/slimjet/slimjet.info b/network/slimjet/slimjet.info
deleted file mode 100644
index 2d5f9599ea..0000000000
--- a/network/slimjet/slimjet.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="slimjet"
-VERSION="26.0.5.0"
-HOMEPAGE="https://www.slimjet.com"
-DOWNLOAD="https://www.slimjetbrowser.com/release/slimjet_i386.tar.xz"
-MD5SUM="01340e4890b6296b33d8eb85d668f874"
-DOWNLOAD_x86_64="https://www.slimjetbrowser.com/release/slimjet_amd64.tar.xz"
-MD5SUM_x86_64="0759295bbe7a4c252ee94b824f1d9196"
-REQUIRES=""
-MAINTAINER="Skaendo"
-EMAIL="skaendo@linuxmail.org"
diff --git a/network/slirp4netns/README b/network/slirp4netns/README
index 88d35cf3bf..2fe0582157 100644
--- a/network/slirp4netns/README
+++ b/network/slirp4netns/README
@@ -1,14 +1,14 @@
slirp4netns
-slirp4netns provides user-mode networking ("slirp") for unprivileged network
-namespaces.
+slirp4netns provides user-mode networking ("slirp") for unprivileged
+network namespaces.
-Starting with Linux 3.8, unprivileged users can create network_namespaces(7)
-along with user_namespaces(7). However, unprivileged network namespaces had
-not been very useful, because creating veth(4) pairs across the host and
-network namespaces still requires the root privileges. (i.e. No internet
-connection)
+Starting with Linux 3.8, unprivileged users can create
+network_namespaces(7) along with user_namespaces(7). However,
+unprivileged network namespaces had not been very useful, because
+creating veth(4) pairs across the host and network namespaces still
+requires the root privileges. (i.e. No internet connection)
-slirp4netns allows connecting a network namespace to the Internet in a
-completely unprivileged way, by connecting a TAP device in a network namespace
-to the usermode TCP/IP stack ("slirp").
+slirp4netns allows connecting a network namespace to the Internet in
+a completely unprivileged way, by connecting a TAP device in a network
+namespace to the usermode TCP/IP stack ("slirp").
diff --git a/network/slirp4netns/slirp4netns.SlackBuild b/network/slirp4netns/slirp4netns.SlackBuild
index e589e0171d..3ebb9aa588 100644
--- a/network/slirp4netns/slirp4netns.SlackBuild
+++ b/network/slirp4netns/slirp4netns.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for slirp4netns
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=slirp4netns
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/slirp4netns/slirp4netns.info b/network/slirp4netns/slirp4netns.info
index c9fd17abca..93a68914d9 100644
--- a/network/slirp4netns/slirp4netns.info
+++ b/network/slirp4netns/slirp4netns.info
@@ -1,10 +1,10 @@
PRGNAM="slirp4netns"
-VERSION="0.4.1"
+VERSION="1.2.2"
HOMEPAGE="https://github.com/rootless-containers/slirp4netns"
-DOWNLOAD="https://github.com/rootless-containers/slirp4netns/archive/v0.4.1/slirp4netns-0.4.1.tar.gz"
-MD5SUM="2511da14fcacff3a4c5d6c501f04e20b"
+DOWNLOAD="https://github.com/rootless-containers/slirp4netns/archive/v1.2.2/slirp4netns-1.2.2.tar.gz"
+MD5SUM="c18a686e1bd34042c08cc8861bcad869"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libslirp"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/network/slowhttptest/README b/network/slowhttptest/README
index 61eaf15d50..95f408733a 100644
--- a/network/slowhttptest/README
+++ b/network/slowhttptest/README
@@ -1,15 +1,15 @@
slowhttptest (stress testing tool/DoS simulator)
-SlowHTTPTest is a highly configurable tool that simulates some Application
-Layer Denial of Service attacks. It works on majority of Linux platforms,
-OSX and Cygwin - a Unix-like environment and command-line interface for
-Microsoft Windows.
+SlowHTTPTest is a highly configurable tool that simulates some
+Application Layer Denial of Service attacks. It works on majority
+of Linux platforms, OSX and Cygwin - a Unix-like environment and
+command-line interface for Microsoft Windows.
It implements most common low-bandwidth Application Layer DoS attacks,
-such as slowloris, Slow HTTP POST, Slow Read attack (based on TCP persist
-timer exploit) by draining concurrent connections pool, as well as Apache
-Range Header attack by causing very significant memory and CPU usage on
-the server.
+such as slowloris, Slow HTTP POST, Slow Read attack (based on TCP
+persist timer exploit) by draining concurrent connections pool, as
+well as Apache Range Header attack by causing very significant memory
+and CPU usage on the server.
Slowloris and Slow HTTP POST DoS attacks rely on the fact that the HTTP
protocol, by design, requires requests to be completely received by the
@@ -27,7 +27,7 @@ and reads the response slowly.
DISCLAIMER: Keep in mind that slowhttptest is of little use as a
script kiddie tool. It cannot be pointed blindly at arbitrary targets,
-like e.g. LOIC. Rather, where it excels is in its breadth of attack
+like e.g. LOIC. Rather, where it excels is in its breadth of attack
options, high customizability and its in-depth analytics. As such, it
will be mostly useful for server administrators trying to stress test
their systems.
diff --git a/network/slowhttptest/slowhttptest.SlackBuild b/network/slowhttptest/slowhttptest.SlackBuild
index b9f4d61921..6975600d5d 100644
--- a/network/slowhttptest/slowhttptest.SlackBuild
+++ b/network/slowhttptest/slowhttptest.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for slowhttptest
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=slowhttptest
-VERSION=${VERSION:-1.7}
+VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/slowhttptest/slowhttptest.info b/network/slowhttptest/slowhttptest.info
index afead4af3a..85f1a4b1b7 100644
--- a/network/slowhttptest/slowhttptest.info
+++ b/network/slowhttptest/slowhttptest.info
@@ -1,8 +1,8 @@
PRGNAM="slowhttptest"
-VERSION="1.7"
+VERSION="1.8.2"
HOMEPAGE="https://github.com/shekyan/slowhttptest"
-DOWNLOAD="https://github.com/shekyan/slowhttptest/archive/v1.7/slowhttptest-1.7.tar.gz"
-MD5SUM="2771a439c4f6d2a750fa884526dda58c"
+DOWNLOAD="https://github.com/shekyan/slowhttptest/archive/v1.8.2/slowhttptest-1.8.2.tar.gz"
+MD5SUM="561fc6ba1bc2ffc478b63d4a122b0486"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/slurm/README b/network/slurm/README
index d12ef6cdeb..df2c788c60 100644
--- a/network/slurm/README
+++ b/network/slurm/README
@@ -22,3 +22,6 @@ Optional dependencies:
HWLOC=yes|no (default: no), requires hwloc
RRDTOOL=yes|no (default: no), requires rrdtool
NUMA auto-detected, requires numactl
+
+Warning for 32-bit users: according to slurm's developers: 32-bit
+support is deprecated, and not tested regularly. Use at your own risk.
diff --git a/network/slurm/slurm.SlackBuild b/network/slurm/slurm.SlackBuild
index 0e0a980c4f..8b7eab0a4f 100644
--- a/network/slurm/slurm.SlackBuild
+++ b/network/slurm/slurm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Slurm
-# Copyright 2015-2019 Emmanuel N. Millan, Mendoza, Argentina.
+# Copyright 2015-2024 Emmanuel N. Millan, Mendoza, Argentina.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220320 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix 32-bit build.
+# - do not install useless INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=slurm
-VERSION=${VERSION:-19.05.5}
+VERSION=${VERSION:-23.11.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DOCS="AUTHORS COPYING DISCLAIMER INSTALL LICENSE.OpenSSL \
+DOCS="AUTHORS COPYING DISCLAIMER LICENSE.OpenSSL \
META NEWS README.rst RELEASE_NOTES"
if [ -z "$ARCH" ]; then
@@ -38,17 +45,25 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# 20220320 bkw: 32-bit is deprecated but may still work.
+DEPRECATED=""
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
+ DEPRECATED="--enable-deprecated"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ DEPRECATED="--enable-deprecated"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
@@ -71,14 +86,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -90,6 +105,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--sysconfdir=/etc \
--enable-static=no \
+ $DEPRECATED \
$HWLOC_SUPPORT \
$RRDTOOL_SUPPORT \
--build=$ARCH-slackware-linux \
@@ -115,9 +131,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/slurm/slurm.info b/network/slurm/slurm.info
index 243a7e4d4d..9feaead676 100644
--- a/network/slurm/slurm.info
+++ b/network/slurm/slurm.info
@@ -1,8 +1,8 @@
PRGNAM="slurm"
-VERSION="19.05.5"
+VERSION="23.11.6"
HOMEPAGE="https://slurm.schedmd.com/"
-DOWNLOAD="https://download.schedmd.com/slurm/slurm-19.05.5.tar.bz2"
-MD5SUM="bb0ade8740e2fbc00dca394995269dae"
+DOWNLOAD="https://download.schedmd.com/slurm/slurm-23.11.6.tar.bz2"
+MD5SUM="ad9fc9cb455a56ab699725d383d1ff30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="munge"
diff --git a/network/smb4k/README b/network/smb4k/README
deleted file mode 100644
index a47fd61932..0000000000
--- a/network/smb4k/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Smb4K is an advanced network neighborhood browser for KDE and a frontend
-to the programs of the Samba software suite. Its purpose is to provide
-a program that's easy to use and has as many features as possible.
diff --git a/network/smb4k/doinst.sh b/network/smb4k/doinst.sh
deleted file mode 100644
index a48fbcfa98..0000000000
--- a/network/smb4k/doinst.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-# Reload messagebus service
-if [ -x etc/rc.d/rc.messagebus ]; then
- chroot . /etc/rc.d/rc.messagebus reload
-fi
-
diff --git a/network/smb4k/find_mount_umount.patch b/network/smb4k/find_mount_umount.patch
deleted file mode 100644
index 35151180d7..0000000000
--- a/network/smb4k/find_mount_umount.patch
+++ /dev/null
@@ -1,366 +0,0 @@
-From 71554140bdaede27b95dbe4c9b5a028a83c83cce Mon Sep 17 00:00:00 2001
-From: Alexander Reinholdt <alexander.reinholdt@kdemail.net>
-Date: Wed, 10 May 2017 10:23:34 +0200
-Subject: Find the mount/umount commands in the helper
-
-Instead of trusting what we get passed in
-CVE-2017-8849
----
- core/smb4kglobal.cpp | 65 +++++++++++++++++++++++++++++++++++-
- core/smb4kglobal.h | 16 ++++++++-
- core/smb4kmounter_p.cpp | 78 ++++----------------------------------------
- helpers/CMakeLists.txt | 6 +++-
- helpers/smb4kmounthelper.cpp | 51 +++++++++++++++++++++++++++--
- 5 files changed, 139 insertions(+), 77 deletions(-)
-
-diff --git a/core/smb4kglobal.cpp b/core/smb4kglobal.cpp
-index 172016f..818a78a 100644
---- a/core/smb4kglobal.cpp
-+++ b/core/smb4kglobal.cpp
-@@ -2,7 +2,7 @@
- smb4kglobal - This is the global namespace for Smb4K.
- -------------------
- begin : Sa Apr 2 2005
-- copyright : (C) 2005-2014 by Alexander Reinholdt
-+ copyright : (C) 2005-2017 by Alexander Reinholdt
- email : alexander.reinholdt@kdemail.net
- ***************************************************************************/
-
-@@ -851,3 +851,66 @@ QStringList Smb4KGlobal::whitelistedMountArguments()
- #endif
-
-
-+const QString Smb4KGlobal::findMountExecutable()
-+{
-+ QString mount;
-+ QStringList paths;
-+ paths << "/bin";
-+ paths << "/sbin";
-+ paths << "/usr/bin";
-+ paths << "/usr/sbin";
-+ paths << "/usr/local/bin";
-+ paths << "/usr/local/sbin";
-+
-+ for (int i = 0; i < paths.size(); ++i)
-+ {
-+#if defined(Q_OS_LINUX)
-+ mount = KGlobal::dirs()->findExe("mount.cifs", paths.at(i));
-+#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
-+ mount = KGlobal::dirs()->findExe("mount_smbfs", paths.at(i));
-+#endif
-+
-+ if (!mount.isEmpty())
-+ {
-+ break;
-+ }
-+ else
-+ {
-+ continue;
-+ }
-+ }
-+
-+ return mount;
-+}
-+
-+
-+const QString Smb4KGlobal::findUmountExecutable()
-+{
-+ // Find the umount program.
-+ QString umount;
-+ QStringList paths;
-+ paths << "/bin";
-+ paths << "/sbin";
-+ paths << "/usr/bin";
-+ paths << "/usr/sbin";
-+ paths << "/usr/local/bin";
-+ paths << "/usr/local/sbin";
-+
-+ for ( int i = 0; i < paths.size(); ++i )
-+ {
-+ umount = KGlobal::dirs()->findExe("umount", paths.at(i));
-+
-+ if (!umount.isEmpty())
-+ {
-+ break;
-+ }
-+ else
-+ {
-+ continue;
-+ }
-+ }
-+
-+ return umount;
-+}
-+
-+
-diff --git a/core/smb4kglobal.h b/core/smb4kglobal.h
-index db1805b..0ef377d 100644
---- a/core/smb4kglobal.h
-+++ b/core/smb4kglobal.h
-@@ -2,7 +2,7 @@
- smb4kglobal - This is the global namespace for Smb4K.
- -------------------
- begin : Sa Apr 2 2005
-- copyright : (C) 2005-2014 by Alexander Reinholdt
-+ copyright : (C) 2005-2017 by Alexander Reinholdt
- email : alexander.reinholdt@kdemail.net
- ***************************************************************************/
-
-@@ -455,6 +455,20 @@ namespace Smb4KGlobal
- */
- KDE_EXPORT QStringList whitelistedMountArguments();
- #endif
-+
-+ /**
-+ * Find the mount executable on the system.
-+ *
-+ * @returns the path of the mount executable.
-+ */
-+ KDE_EXPORT const QString findMountExecutable();
-+
-+ /**
-+ * Find the umount executable on the system.
-+ *
-+ * @returns the path of the umount executable.
-+ */
-+ KDE_EXPORT const QString findUmountExecutable();
- };
-
- #endif
-diff --git a/core/smb4kmounter_p.cpp b/core/smb4kmounter_p.cpp
-index 63a87ed..342052a 100644
---- a/core/smb4kmounter_p.cpp
-+++ b/core/smb4kmounter_p.cpp
-@@ -207,30 +207,7 @@ bool Smb4KMountJob::createMountAction(Smb4KShare *share, Action *action)
- //
- bool Smb4KMountJob::fillArgs(Smb4KShare *share, QMap<QString, QVariant>& map)
- {
-- // Find the mount program.
-- QString mount;
-- QStringList paths;
-- paths << "/bin";
-- paths << "/sbin";
-- paths << "/usr/bin";
-- paths << "/usr/sbin";
-- paths << "/usr/local/bin";
-- paths << "/usr/local/sbin";
--
-- for (int i = 0; i < paths.size(); ++i)
-- {
-- mount = KGlobal::dirs()->findExe("mount.cifs", paths.at(i));
--
-- if (!mount.isEmpty())
-- {
-- map.insert("mh_command", mount);
-- break;
-- }
-- else
-- {
-- continue;
-- }
-- }
-+ const QString mount = findMountExecutable();
-
- if (mount.isEmpty())
- {
-@@ -242,6 +219,8 @@ bool Smb4KMountJob::fillArgs(Smb4KShare *share, QMap<QString, QVariant>& map)
- // Do nothing
- }
-
-+ map.insert("mh_command", mount);
-+
- // Mount arguments.
- QMap<QString, QString> global_options = globalSambaOptions();
- Smb4KCustomOptions *options = Smb4KCustomOptionsManager::self()->findOptions(share);
-@@ -729,30 +708,7 @@ bool Smb4KMountJob::fillArgs(Smb4KShare *share, QMap<QString, QVariant>& map)
- //
- bool Smb4KMountJob::fillArgs(Smb4KShare *share, QMap<QString, QVariant>& map)
- {
-- // Find the mount program.
-- QString mount;
-- QStringList paths;
-- paths << "/bin";
-- paths << "/sbin";
-- paths << "/usr/bin";
-- paths << "/usr/sbin";
-- paths << "/usr/local/bin";
-- paths << "/usr/local/sbin";
--
-- for (int i = 0; i < paths.size(); ++i)
-- {
-- mount = KGlobal::dirs()->findExe("mount_smbfs", paths.at(i));
--
-- if (!mount.isEmpty())
-- {
-- map.insert("mh_command", mount);
-- break;
-- }
-- else
-- {
-- continue;
-- }
-- }
-+ const QString mount = findMountExecutable();
-
- if (mount.isEmpty())
- {
-@@ -764,6 +720,8 @@ bool Smb4KMountJob::fillArgs(Smb4KShare *share, QMap<QString, QVariant>& map)
- // Do nothing
- }
-
-+ map.insert("mh_command", mount);
-+
- // Mount arguments.
- QMap<QString, QString> global_options = globalSambaOptions();
- Smb4KCustomOptions *options = Smb4KCustomOptionsManager::self()->findOptions(share);
-@@ -1253,29 +1211,7 @@ bool Smb4KUnmountJob::createUnmountAction(Smb4KShare *share, Action *action)
- // Do nothing
- }
-
-- // Find the umount program.
-- QString umount;
-- QStringList paths;
-- paths << "/bin";
-- paths << "/sbin";
-- paths << "/usr/bin";
-- paths << "/usr/sbin";
-- paths << "/usr/local/bin";
-- paths << "/usr/local/sbin";
--
-- for ( int i = 0; i < paths.size(); ++i )
-- {
-- umount = KGlobal::dirs()->findExe("umount", paths.at(i));
--
-- if (!umount.isEmpty())
-- {
-- break;
-- }
-- else
-- {
-- continue;
-- }
-- }
-+ const QString umount = findUmountExecutable();
-
- if (umount.isEmpty() && !m_silent)
- {
-diff --git a/helpers/CMakeLists.txt b/helpers/CMakeLists.txt
-index e9e670b..cd4228d 100644
---- a/helpers/CMakeLists.txt
-+++ b/helpers/CMakeLists.txt
-@@ -1,7 +1,11 @@
-+include_directories(
-+ ${CMAKE_SOURCE_DIR}/core
-+ ${CMAKE_BINARY_DIR}/core )
-+
- set( smb4kmounthelper_SRCS smb4kmounthelper.cpp )
-
- kde4_add_executable( mounthelper ${smb4kmounthelper_SRCS} )
--target_link_libraries( mounthelper ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} )
-+target_link_libraries( mounthelper smb4kcore ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} )
- install( TARGETS mounthelper DESTINATION ${LIBEXEC_INSTALL_DIR} )
-
- kde4_install_auth_helper_files( mounthelper net.sourceforge.smb4k.mounthelper root )
-diff --git a/helpers/smb4kmounthelper.cpp b/helpers/smb4kmounthelper.cpp
-index a2f2fed..7959020 100644
---- a/helpers/smb4kmounthelper.cpp
-+++ b/helpers/smb4kmounthelper.cpp
-@@ -29,6 +29,7 @@
-
- // application specific includes
- #include "smb4kmounthelper.h"
-+#include "core/smb4kglobal.h"
-
- // Qt includes
- #include <QProcessEnvironment>
-@@ -43,12 +44,35 @@
- #include <kmountpoint.h>
- #include <kurl.h>
-
-+using namespace Smb4KGlobal;
-+
- KDE4_AUTH_HELPER_MAIN( "net.sourceforge.smb4k.mounthelper", Smb4KMountHelper )
-
-
- ActionReply Smb4KMountHelper::mount(const QVariantMap &args)
- {
- ActionReply reply;
-+
-+ //
-+ // Get the mount executable
-+ //
-+ const QString mount = findMountExecutable();
-+
-+ //
-+ // Check the executable
-+ //
-+ if (mount != args["mh_command"].toString())
-+ {
-+ // Something weird is going on, bail out.
-+ reply.setErrorCode(ActionReply::HelperError);
-+ reply.setErrorDescription(i18n("Wrong executable passed. Bailing out."));
-+ return reply;
-+ }
-+ else
-+ {
-+ // Do nothing
-+ }
-+
- // The mountpoint is a unique and can be used to
- // find the share.
- reply.addData("mh_mountpoint", args["mh_mountpoint"]);
-@@ -75,12 +99,12 @@ ActionReply Smb4KMountHelper::mount(const QVariantMap &args)
- // Set the mount command here.
- QStringList command;
- #if defined(Q_OS_LINUX)
-- command << args["mh_command"].toString();
-+ command << mount;
- command << args["mh_unc"].toString();
- command << args["mh_mountpoint"].toString();
- command << args["mh_options"].toStringList();
- #elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
-- command << args["mh_command"].toString();
-+ command << mount;
- command << args["mh_options"].toStringList();
- command << args["mh_unc"].toString();
- command << args["mh_mountpoint"].toString();
-@@ -161,6 +185,27 @@ ActionReply Smb4KMountHelper::mount(const QVariantMap &args)
- ActionReply Smb4KMountHelper::unmount(const QVariantMap &args)
- {
- ActionReply reply;
-+
-+ //
-+ // Get the umount executable
-+ //
-+ const QString umount = findUmountExecutable();
-+
-+ //
-+ // Check the executable
-+ //
-+ if (umount != args["mh_command"].toString())
-+ {
-+ // Something weird is going on, bail out.
-+ reply.setErrorCode(ActionReply::HelperError);
-+ reply.setErrorDescription(i18n("Wrong executable passed. Bailing out."));
-+ return reply;
-+ }
-+ else
-+ {
-+ // Do nothing
-+ }
-+
- // The mountpoint is a unique and can be used to
- // find the share.
- reply.addData("mh_mountpoint", args["mh_mountpoint"]);
-@@ -208,7 +253,7 @@ ActionReply Smb4KMountHelper::unmount(const QVariantMap &args)
-
- // Set the umount command here.
- QStringList command;
-- command << args["mh_command"].toString();
-+ command << umount;
- command << args["mh_options"].toStringList();
- command << args["mh_mountpoint"].toString();
-
---
-cgit v0.11.2
-
diff --git a/network/smb4k/slack-desc b/network/smb4k/slack-desc
deleted file mode 100644
index 392f44fb1d..0000000000
--- a/network/smb4k/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-smb4k: smb4k (A SMB Share Browser)
-smb4k:
-smb4k: Smb4K is an advanced network neighborhood browser for KDE and a
-smb4k: frontend to the programs of the Samba software suite. Its purpose is
-smb4k: to provide a program that's easy to use and has as many features as
-smb4k: possible.
-smb4k:
-smb4k: Homepage: http://smb4k.sourceforge.net/
-smb4k:
-smb4k:
-smb4k:
diff --git a/network/smb4k/smb4k.SlackBuild b/network/smb4k/smb4k.SlackBuild
deleted file mode 100644
index 03be76ba73..0000000000
--- a/network/smb4k/smb4k.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for smb4k
-
-# Copyright 2008-2013 Roberto Neri, Palermo, Italy
-#
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=smb4k
-VERSION=${VERSION:-1.2.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix for CVE-2017-8849
-patch -p1 < $CWD/find_mount_umount.patch
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONF_INSTALL_DIR=/etc \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv $PKG/etc/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf \
- $PKG/etc/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUGS ChangeLog COPYING README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/smb4k/smb4k.info b/network/smb4k/smb4k.info
deleted file mode 100644
index 4b77a2b7e8..0000000000
--- a/network/smb4k/smb4k.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="smb4k"
-VERSION="1.2.3"
-HOMEPAGE="http://smb4k.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/smb4k/smb4k-1.2.3.tar.xz"
-MD5SUM="1f4723a7891e41a5d86397765c6863d4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="nobody"
-EMAIL="nobody@nowhere"
diff --git a/network/smcroute/README b/network/smcroute/README
index 310894fe2a..0ff354f29c 100644
--- a/network/smcroute/README
+++ b/network/smcroute/README
@@ -1,6 +1,7 @@
SMCRoute (Static Multicast Routing Daemon)
SMCRoute is a daemon and command line tool to manipulate the multicast
-routing table in a UNIX kernel. It can be used as an alternative to dynamic
-multicast routers like mrouted or pimd in situations where (only) static
-multicast routes should be maintained and/or no proper IGMP signaling exists.
+routing table in a UNIX kernel. It can be used as an alternative to
+dynamic multicast routers like mrouted or pimd in situations where
+(only) static multicast routes should be maintained and/or no proper
+IGMP signaling exists.
diff --git a/network/smcroute/smcroute.SlackBuild b/network/smcroute/smcroute.SlackBuild
index a398932fe4..4968f5fd6e 100644
--- a/network/smcroute/smcroute.SlackBuild
+++ b/network/smcroute/smcroute.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SMCRoute
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smcroute
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -97,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/smstools3/destdir.patch b/network/smstools3/destdir.patch
new file mode 100644
index 0000000000..0cdf272b1f
--- /dev/null
+++ b/network/smstools3/destdir.patch
@@ -0,0 +1,97 @@
+diff -Naur a/Makefile b/Makefile
+--- a/Makefile 2007-04-22 11:42:22.000000000 +0000
++++ b/Makefile 2021-04-20 22:48:57.084918445 +0000
+@@ -2,7 +2,7 @@
+
+ # If you change destination of executables, remember to change
+ # startup script (init.d/sms3) too.
+-BINDIR=/usr/local/bin
++BINDIR=/usr/bin
+
+ VERSION=$(shell grep package_version src/version.h | cut -f2)
+
+diff -Naur a/install.sh b/install.sh
+--- a/install.sh 2007-04-22 11:43:17.000000000 +0000
++++ b/install.sh 2021-04-20 23:01:28.251300300 +0000
+@@ -64,7 +64,7 @@
+ echo " Skipped $1, directory already exists"
+ else
+ echo " Creating directory $1"
+- mkdir $1
++ mkdir -p $1
+ fi
+ }
+
+@@ -79,43 +79,28 @@
+ if [ -f src/smsd.exe ]; then
+ forcecopy src/smsd.exe $BINDIR/smsd.exe
+ else
+- forcecopy src/smsd $BINDIR/smsd
++ makedir $DESTDIR/$BINDIR
++ forcecopy src/smsd $DESTDIR/$BINDIR/smsd
+ fi
+-delete $BINDIR/getsms
+-delete $BINDIR/putsms
+
+ echo "Installing some scripts"
+-copy scripts/sendsms $BINDIR/sendsms
+-copy scripts/sms2html $BINDIR/sms2html
+-copy scripts/sms2unicode $BINDIR/sms2unicode
+-copy scripts/unicode2sms $BINDIR/unicode2sms
+-
+-echo "Installing config file"
+-copy examples/smsd.conf.easy /etc/smsd.conf
++copy scripts/sendsms $DESTDIR/$BINDIR/sendsms
++copy scripts/sms2html $DESTDIR/$BINDIR/sms2html
++copy scripts/sms2unicode $DESTDIR/$BINDIR/sms2unicode
++copy scripts/unicode2sms $DESTDIR/$BINDIR/unicode2sms
+
+ echo "Creating minimum spool directories"
+-makedir /var/spool
+-makedir /var/spool/sms
+-makedir /var/spool/sms/incoming
+-makedir /var/spool/sms/outgoing
+-makedir /var/spool/sms/checked
++makedir $DESTDIR/var/spool
++makedir $DESTDIR/var/spool/sms
++makedir $DESTDIR/var/spool/sms/incoming
++makedir $DESTDIR/var/spool/sms/outgoing
++makedir $DESTDIR/var/spool/sms/checked
+
+ echo "Installing start-script"
+-SMS3SCRIPT=scripts/sms3
+-if [ -d /etc/init.d ]; then
+- copy scripts/sms3 /etc/init.d/sms3
+- SMS3SCRIPT=/etc/init.d/sms3
+-elif [ -d /sbin/init.d ]; then
+- copy scripts/sms3 /sbin/init.d/sms3
+- SMS3SCRIPT=/sbin/init.d/sms3
+-else
+- echo " I do not know where to copy scripts/sms3. Please find out yourself."
+-fi
++makedir $DESTDIR/etc/rc.d
++copy scripts/sms3 $DESTDIR/etc/rc.d/rc.sms3.new
++SMS3SCRIPT=/etc/rc.d/rc.sms3
+
+ echo ""
+ echo "Example script files are not installed automatically."
+ echo 'Please dont forget to edit /etc/smsd.conf.'
+-if [ "$BINDIR" != "/usr/local/bin" ]; then
+- echo "You have installed executables to $BINDIR,"
+- echo "you should manually edit $SMS3SCRIPT script."
+-fi
+diff -Naur a/scripts/sms3 b/scripts/sms3
+--- a/scripts/sms3 2010-05-04 09:21:44.000000000 +0000
++++ b/scripts/sms3 2021-04-20 22:48:57.084918445 +0000
+@@ -24,9 +24,9 @@
+ # Logfile can also be defined in here:
+ LOGFILE="/var/log/smsd.log"
+
+-DAEMON=/usr/local/bin/smsd
++DAEMON=/usr/bin/smsd
+ # A program which turns power off for couple of seconds:
+-RESETMODEMS=/usr/local/bin/smsd_resetmodems
++RESETMODEMS=/usr/bin/smsd_resetmodems
+ NAME=smsd
+ PSOPT="-e"
+ ECHO=echo
diff --git a/network/smstools3/doinst.sh b/network/smstools3/doinst.sh
index 859238d1ce..003aac27e2 100644
--- a/network/smstools3/doinst.sh
+++ b/network/smstools3/doinst.sh
@@ -23,6 +23,3 @@ preserve_perms() {
}
preserve_perms etc/rc.d/rc.sms3.new
-#chgrp -R dialout /var/spool/sms
-#chmod -R g+rw /var/spool/sms
-
diff --git a/network/smstools3/fixups2.diff b/network/smstools3/fixups2.diff
deleted file mode 100644
index d99ee9deee..0000000000
--- a/network/smstools3/fixups2.diff
+++ /dev/null
@@ -1,132 +0,0 @@
-diff -Naur a/Makefile b/Makefile
---- a/Makefile 2007-04-22 11:42:22.000000000 +0000
-+++ b/Makefile 2017-08-10 22:14:15.011099622 +0000
-@@ -2,7 +2,7 @@
-
- # If you change destination of executables, remember to change
- # startup script (init.d/sms3) too.
--BINDIR=/usr/local/bin
-+BINDIR=/usr/bin
-
- VERSION=$(shell grep package_version src/version.h | cut -f2)
-
-diff -Naur a/install.sh b/install.sh
---- a/install.sh 2007-04-22 11:43:17.000000000 +0000
-+++ b/install.sh 2017-08-10 22:18:11.561100240 +0000
-@@ -3,9 +3,11 @@
-
- BINDIR=$1
- if [ -z "$BINDIR" ]; then
-- BINDIR=/usr/local/bin
-+ BINDIR=/usr/bin
- fi
-
-+SBINDIR=/usr/sbin
-+
- makepath()
- {
- p="$1"
-@@ -33,10 +35,10 @@
- {
- if [ -f $2 ]; then
- echo " Skipped $2, file already exists"
-- else
-+ else
- echo " $2"
- cp $1 $2
-- fi
-+ fi
- }
-
- forcecopy()
-@@ -64,58 +66,39 @@
- echo " Skipped $1, directory already exists"
- else
- echo " Creating directory $1"
-- mkdir $1
-+ mkdir -p $1
- fi
- }
-
- echo ""
--if [ ! -f src/smsd ] && [ ! -f src/smsd.exe ]; then
-+if [ ! -f src/smsd ] && [ ! -f src/smsd.exe ]; then
- echo 'Please run "make -s install" instead.'
- exit 1
- fi
-
- echo "Installing binary program files"
--makepath $BINDIR
--if [ -f src/smsd.exe ]; then
-- forcecopy src/smsd.exe $BINDIR/smsd.exe
--else
-- forcecopy src/smsd $BINDIR/smsd
--fi
--delete $BINDIR/getsms
--delete $BINDIR/putsms
-+mkdir -p $DESTDIR/$BINDIR
-+mkdir -p $DESTDIR/$SBINDIR
-+forcecopy src/smsd $DESTDIR/$SBINDIR/smsd
-
- echo "Installing some scripts"
--copy scripts/sendsms $BINDIR/sendsms
--copy scripts/sms2html $BINDIR/sms2html
--copy scripts/sms2unicode $BINDIR/sms2unicode
--copy scripts/unicode2sms $BINDIR/unicode2sms
--
--echo "Installing config file"
--copy examples/smsd.conf.easy /etc/smsd.conf
-+copy scripts/sendsms $DESTDIR/$BINDIR/sendsms
-+copy scripts/sms2html $DESTDIR/$BINDIR/sms2html
-+copy scripts/sms2unicode $DESTDIR/$BINDIR/sms2unicode
-+copy scripts/unicode2sms $DESTDIR/$BINDIR/unicode2sms
-
- echo "Creating minimum spool directories"
--makedir /var/spool
--makedir /var/spool/sms
--makedir /var/spool/sms/incoming
--makedir /var/spool/sms/outgoing
--makedir /var/spool/sms/checked
-+makedir $DESTDIR/var/spool
-+makedir $DESTDIR/var/spool/sms
-+makedir $DESTDIR/var/spool/sms/incoming
-+makedir $DESTDIR/var/spool/sms/outgoing
-+makedir $DESTDIR/var/spool/sms/checked
-
- echo "Installing start-script"
--SMS3SCRIPT=scripts/sms3
--if [ -d /etc/init.d ]; then
-- copy scripts/sms3 /etc/init.d/sms3
-- SMS3SCRIPT=/etc/init.d/sms3
--elif [ -d /sbin/init.d ]; then
-- copy scripts/sms3 /sbin/init.d/sms3
-- SMS3SCRIPT=/sbin/init.d/sms3
--else
-- echo " I do not know where to copy scripts/sms3. Please find out yourself."
--fi
-+makedir $DESTDIR/etc/rc.d
-+copy scripts/sms3 $DESTDIR/etc/rc.d/rc.sms3.new
-+SMS3SCRIPT=/etc/rc.d/rc.sms3
-
- echo ""
- echo "Example script files are not installed automatically."
- echo 'Please dont forget to edit /etc/smsd.conf.'
--if [ "$BINDIR" != "/usr/local/bin" ]; then
-- echo "You have installed executables to $BINDIR,"
-- echo "you should manually edit $SMS3SCRIPT script."
--fi
-diff -Naur a/scripts/sms3 b/scripts/sms3
---- a/scripts/sms3 2010-05-04 09:21:44.000000000 +0000
-+++ b/scripts/sms3 2017-08-10 21:58:41.968097184 +0000
-@@ -24,9 +24,9 @@
- # Logfile can also be defined in here:
- LOGFILE="/var/log/smsd.log"
-
--DAEMON=/usr/local/bin/smsd
-+DAEMON=/usr/sbin/smsd
- # A program which turns power off for couple of seconds:
--RESETMODEMS=/usr/local/bin/smsd_resetmodems
-+RESETMODEMS=/usr/bin/smsd_resetmodems
- NAME=smsd
- PSOPT="-e"
- ECHO=echo
diff --git a/network/smstools3/smstools3.SlackBuild b/network/smstools3/smstools3.SlackBuild
index 2564390f94..fa45699844 100644
--- a/network/smstools3/smstools3.SlackBuild
+++ b/network/smstools3/smstools3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smstools3
# Copyright 2010 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=smstools3
VERSION=${VERSION:-3.1.21}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +78,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch --verbose -p1 < $CWD/fixups2.diff
+patch --verbose -p1 <$CWD/destdir.patch
-DESTDIR=$PKG make install
+LFLAGS="-z muldefs" \
+CFLAGS="$SLKCFLAGS" \
+DESTDIR=$PKG \
+BINDIR=$PKG/usr/bin \
+ make install
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -95,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/smstools3/smstools3.info b/network/smstools3/smstools3.info
index a41b978ac3..08cdb6da0a 100644
--- a/network/smstools3/smstools3.info
+++ b/network/smstools3/smstools3.info
@@ -6,5 +6,5 @@ MD5SUM="6a9f038fb38a49cc3a4f8f14a88fb8af"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/smuxi/README b/network/smuxi/README
deleted file mode 100644
index 1c7d0c11a8..0000000000
--- a/network/smuxi/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Smuxi is an open-source, powerful, flexible, and user-friendly chat client
-created by Mirco Bauer and developed by other contributors.
-Inspired by the combination of screen and irssi,
-Smuxi has a detachable server (or like a "normal" client)
-that stays connected when you aren't, and can allow multiple Smuxi frontends
-like the GNOME frontend, or STFL text-based frontend) to be connected and in sync.
-This is similar to screen+irssi or IRC bouncers, but more elegant and powerful.
diff --git a/network/smuxi/slack-desc b/network/smuxi/slack-desc
deleted file mode 100644
index cb05c114c1..0000000000
--- a/network/smuxi/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-smuxi: smuxi (chat client)
-smuxi:
-smuxi: Smuxi is an open-source, powerful, flexible, and user-friendly chat
-smuxi: client created by Mirco Bauer and developed by other contributors.
-smuxi: Inspired by the combination of screen and irssi
-smuxi:
-smuxi: Homepage: https://smuxi.im/
-smuxi:
-smuxi:
-smuxi:
-smuxi:
diff --git a/network/smuxi/smuxi.SlackBuild b/network/smuxi/smuxi.SlackBuild
deleted file mode 100644
index 063f97e9fd..0000000000
--- a/network/smuxi/smuxi.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for smuxi
-
-# Written by James Axl <axlrose112@gmail.com>
-
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=smuxi
-VERSION=${VERSION:-1.0.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-mkdir mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-cp -a BUGS CREDITS FEATURES HACKING LICENSE PROFILING README.md \
- TODO $PKG/usr/doc/$PRGNAM-$VERSION/
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/smuxi/smuxi.info b/network/smuxi/smuxi.info
deleted file mode 100644
index 00f181f260..0000000000
--- a/network/smuxi/smuxi.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="smuxi"
-VERSION="1.0.5"
-HOMEPAGE="https://smuxi.im/"
-DOWNLOAD="https://smuxi.im/jaws/data/files/smuxi-1.0.5.tar.gz"
-MD5SUM="af1a0c7d4a60f97063aa119531942fd1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="stfl log4net nini gtk-sharp dbus-sharp-glib"
-MAINTAINER="jamesaxl"
-EMAIL="axlrose112@gmail.com"
diff --git a/network/sngrep/README b/network/sngrep/README
new file mode 100644
index 0000000000..512a002652
--- /dev/null
+++ b/network/sngrep/README
@@ -0,0 +1,17 @@
+sngrep is a tool for displaying SIP calls message flows from terminal.
+
+It supports live capture to display realtime SIP packets and can also
+be used as PCAP viewer.
+
+The following options are available for compilation:
+
+ENABLE_IPV6: Default is yes, adds IPv6 support. Setting this
+ variable to any value other than yes will disable IPv6 support.
+
+OPENSSL_TLS: Default is yes, uses OpenSSL for TLS support. Setting
+ this variable to any value other than yes results in gnutls being
+ used instead for TLS support.
+
+PCRE2: Default is yes, uses pcre2 for regex support. Setting this
+ variable to any value other than yes results in the use of pcre
+ instead for regex support.
diff --git a/network/sngrep/slack-desc b/network/sngrep/slack-desc
new file mode 100644
index 0000000000..417def5b76
--- /dev/null
+++ b/network/sngrep/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+sngrep: sngrep (SIP analysis tool)
+sngrep:
+sngrep: sngrep is a tool for displaying SIP calls message flows from
+sngrep: terminal.
+sngrep:
+sngrep: It supports live capture to display realtime SIP packets and can
+sngrep: also be used as PCAP viewer.
+sngrep:
+sngrep:
+sngrep:
+sngrep:
diff --git a/network/sngrep/sngrep.SlackBuild b/network/sngrep/sngrep.SlackBuild
new file mode 100644
index 0000000000..c03bab7796
--- /dev/null
+++ b/network/sngrep/sngrep.SlackBuild
@@ -0,0 +1,135 @@
+#!/bin/bash
+
+# Slackware build script for sngrep
+
+# Copyright 2023 Yossi Neiman, mishehu+sbo@shavedgoats.net
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=sngrep
+VERSION=${VERSION:-1.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+# Options. Saying no to OPENSSL_TLS results in gnutls linkage. no to PCRE2 results in PCRE linkage.
+ENABLE_IPV6=${ENABLE_IPV6:-yes}
+OPENSSL_TLS=${OPENSSL_TLS:-yes}
+PCRE2=${PCRE2:-yes}
+COMPOPTIONS=""
+
+if [ "$ENABLE_IPV6" = "yes" ]
+then
+ COMPOPTIONS="$COMPOPTIONS --enable-ipv6"
+fi
+
+if [ "$OPENSSL_TLS" = "yes" ]
+then
+ COMPOPTIONS="$COMPOPTIONS --with-openssl"
+else
+ COMPOPTIONS="$COMPOPTIONS --with-gnutls"
+fi
+
+if [ "$PCRE2" = "yes" ]
+then
+ COMPOPTIONS="$COMPOPTIONS --with-pcre2"
+else
+ COMPOPTIONS="$COMPOPTIONS --with-pcre"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./bootstrap.sh
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-eep \
+ --enable-unicode \
+ --with-zlib \
+ $COMPOPTIONS \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG mandir=/usr/man
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS COPYING LICENSE LICENSE.OpenSSL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sngrep/sngrep.info b/network/sngrep/sngrep.info
new file mode 100644
index 0000000000..44bdf7327b
--- /dev/null
+++ b/network/sngrep/sngrep.info
@@ -0,0 +1,10 @@
+PRGNAM="sngrep"
+VERSION="1.7.0"
+HOMEPAGE="https://github.com/irontec/sngrep"
+DOWNLOAD="https://github.com/irontec/sngrep/releases/download/v1.7.0/sngrep-1.7.0.tar.gz"
+MD5SUM="ee3cc7bd75adeb713411aa678e45ae4c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yossi Neiman"
+EMAIL="mishehu+sbo@shavedgoats.net"
diff --git a/network/sniffjoke/README b/network/sniffjoke/README
index 87020ffa73..445e28db08 100644
--- a/network/sniffjoke/README
+++ b/network/sniffjoke/README
@@ -1,5 +1,6 @@
An internet client running SniffJoke injects in the transmission flow
some packets able to seriously disturb passive analysis like sniffing,
-interception and low level information theft. No server supports needed!
+interception and low level information theft. No server support needed!
-Please read documentation files in /usr/doc/ to set sniffjoke up properly.
+Please read documentation files in /usr/doc/sniffjoke-$VERSION to set
+sniffjoke up properly.
diff --git a/network/sniffjoke/sniffjoke.SlackBuild b/network/sniffjoke/sniffjoke.SlackBuild
index 4b0722ed3d..3250e78b49 100644
--- a/network/sniffjoke/sniffjoke.SlackBuild
+++ b/network/sniffjoke/sniffjoke.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sniffjoke
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sniffjoke
VERSION=${VERSION:-0.4.2_aa2a003}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,8 +54,8 @@ SRCNAM="vecna-sniffjoke"
GITSRCVERSION="aa2a003"
DOCFILES="AUTHORS ChangeLog COPYING README.md doc/*.txt"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -128,4 +138,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sniffjoke/sniffjoke.info b/network/sniffjoke/sniffjoke.info
index a1319bac2a..157711a63c 100644
--- a/network/sniffjoke/sniffjoke.info
+++ b/network/sniffjoke/sniffjoke.info
@@ -1,7 +1,7 @@
PRGNAM="sniffjoke"
VERSION="0.4.2_aa2a003"
HOMEPAGE="http://www.delirandom.net/sniffjoke/"
-DOWNLOAD="http://lukenshiro.altervista.org/sbo-sources/vecna-sniffjoke-aa2a003.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/vecna-sniffjoke-aa2a003.tar.gz"
MD5SUM="c5c071e6ec2ae0a614f7512fb8c102f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/snmpsim/snmpsim.SlackBuild b/network/snmpsim/snmpsim.SlackBuild
index 03b768318c..f58946702c 100644
--- a/network/snmpsim/snmpsim.SlackBuild
+++ b/network/snmpsim/snmpsim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for snmpsim.
@@ -23,14 +23,24 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=snmpsim
VERSION=${VERSION:-0.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/snmptt/snmptt.SlackBuild b/network/snmptt/snmptt.SlackBuild
index 7a9091a570..d95182db55 100644
--- a/network/snmptt/snmptt.SlackBuild
+++ b/network/snmptt/snmptt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for snmptt
@@ -22,12 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=snmptt
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,4 +82,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-noarch-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/snort/README b/network/snort/README
index 6beb0ff2e3..e34479229f 100644
--- a/network/snort/README
+++ b/network/snort/README
@@ -1,14 +1,15 @@
-Snort is an open source network intrusion detection and prevention system.
-It is capable of performing real-time traffic analysis, alerting, blocking
-and packet logging on IP networks. It utilizes a combination of protocol
-analysis and pattern matching in order to detect a anomalies, misuse and
-attacks.
+Snort is an open source network intrusion detection and prevention
+system. It is capable of performing real-time traffic analysis,
+alerting, blocking and packet logging on IP networks. It utilizes
+a combination of protocol analysis and pattern matching in order to
+detect a anomalies, misuse and attacks.
-Snort uses a flexible rules language to describe activity that can be
-considered malicious or anomalous as well as an analysis engine that
-incorporates a modular plugin architecture. Snort is capable of detecting
-and responding in real-time, sending alerts, performing session sniping,
-logging packets, or dropping sessions/packets when deployed in-line.
+Snort uses a flexible rules language to describe activity that can
+be considered malicious or anomalous as well as an analysis engine
+that incorporates a modular plugin architecture. Snort is capable
+of detecting and responding in real-time, sending alerts, performing
+session sniping, logging packets, or dropping sessions/packets when
+deployed in-line.
Snort has three primary functional modes. It can be used as a packet
sniffer like tcpdump(1), a packet logger (useful for network traffic
diff --git a/network/snort/snort.SlackBuild b/network/snort/snort.SlackBuild
index 37e1b34f99..88b11aadaf 100644
--- a/network/snort/snort.SlackBuild
+++ b/network/snort/snort.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2006-2009, Alan Hicks, Lizella, GA,
# Copyright 2009, Thomas York, Beech Grove, In.
@@ -25,26 +25,36 @@
# Modified by the SlackBuilds.org project
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=snort
-VERSION=${VERSION:-2.9.11.1}
+VERSION=${VERSION:-2.9.17}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,7 +73,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+# respecting content-disposition may include cgi params in the filename
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
+if [ ! -e $TARBALL ]; then
+ TARBALL="$(/bin/ls $TARBALL\?* | head -1)"
+fi
+tar xvf $TARBALL
cd $PRGNAM-$VERSION
# The Makefiles do not respect the --libdir setting, which causes the libs to
@@ -87,6 +102,7 @@ if [ "${NON_ETHER:-yes}" = 'no' ]; then
NON_ETHERNET_DECODERS=''
fi
+CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,7 +114,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-pthread \
--enable-linux-smp-stats \
- --enable-zlib \
${NON_ETHERNET_DECODERS} \
--build=$ARCH-slackware-linux
@@ -146,9 +161,11 @@ cp -a COPYING ChangeLog LICENSE RELEASE.NOTES \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/snort/snort.info b/network/snort/snort.info
index 38c8c4110f..38f7e5cd51 100644
--- a/network/snort/snort.info
+++ b/network/snort/snort.info
@@ -1,10 +1,10 @@
PRGNAM="snort"
-VERSION="2.9.11.1"
+VERSION="2.9.17"
HOMEPAGE="https://www.snort.org/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/snort/snort-2.9.11.1.tar.gz"
-MD5SUM="378e3938b2b5c8e358f942d0ffce18cc"
+DOWNLOAD="https://www.snort.org/downloads/archive/snort/snort-2.9.17.tar.gz"
+MD5SUM="3fe89f22def4e9ffda01f07f816e666d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="daq"
+REQUIRES="daq luajit"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/network/sntpc/README b/network/sntpc/README
new file mode 100644
index 0000000000..97fd73a838
--- /dev/null
+++ b/network/sntpc/README
@@ -0,0 +1,4 @@
+sntpc (simple Network Time Protocol client)
+
+This client queries an NTP server for the current time, and sets the
+local clock to the time reported by the server.
diff --git a/network/sntpc/compilefix.diff b/network/sntpc/compilefix.diff
new file mode 100644
index 0000000000..e56b2a70a7
--- /dev/null
+++ b/network/sntpc/compilefix.diff
@@ -0,0 +1,45 @@
+diff -Naur sntpc-20181113_1ca1d00/sntpc.c sntpc-20181113_1ca1d00.patched/sntpc.c
+--- sntpc-20181113_1ca1d00/sntpc.c 2022-01-26 14:17:03.000000000 -0500
++++ sntpc-20181113_1ca1d00.patched/sntpc.c 2022-01-26 14:29:36.384241954 -0500
+@@ -7,9 +7,12 @@
+ #include <strings.h>
+ #include <sys/select.h>
+ #include <sys/socket.h>
++#include <time.h>
+ #include <sys/time.h>
+ #include <unistd.h>
+
++extern uint32_t arc4random(void);
++
+ #define SECONDS_1900_1970 (25567 * 86400U)
+
+ #pragma pack(1)
+@@ -56,10 +59,6 @@
+ errx(1, "Structure size mismatch (got %lu, expected 68)", sizeof(struct ntp_packet_t));
+ }
+
+- if (pledge("stdio inet dns settime", NULL) < 0) {
+- err(1, "pledge");
+- }
+-
+ int ch;
+ while ((ch = getopt(argc, argv, "bhnp:s:t:v")) != -1) {
+ switch (ch) {
+@@ -184,7 +183,7 @@
+
+ time_t local_now = time(NULL);
+ if (verbose) {
+- printf("sntpc: local clock %lld (%.24s)\n", local_now, ctime(&local_now));
++ printf("sntpc: local clock %ld (%.24s)\n", local_now, ctime(&local_now));
+ }
+ if (local_now > seconds_since_1970 && !backwards) {
+ errx(1, "not stepping clock backwards (use -b to allow this)");
+@@ -205,7 +204,7 @@
+ err(1, "settimeofday");
+ }
+ if (verbose) {
+- printf("sntpc: local clock set to %lld (%.24s)\n", new_clock.tv_sec, ctime(&new_clock.tv_sec));
++ printf("sntpc: local clock set to %ld (%.24s)\n", new_clock.tv_sec, ctime(&new_clock.tv_sec));
+ }
+ } else {
+ printf("sntpc: not setting clock because of -n\n");
diff --git a/network/sntpc/git2tarxz.sh b/network/sntpc/git2tarxz.sh
new file mode 100644
index 0000000000..08bbd6a489
--- /dev/null
+++ b/network/sntpc/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number.
+
+# Note that this script doesn't need to be run as root. It does
+# need to be able to write to the current directory it's run from.
+
+# Takes one optional argument, which is the commit or tag to create
+# a tarball of. With no arg, HEAD is used.
+
+PRGNAM=sntpc
+CLONE_URL=https://github.com/ghewgill/sntpc
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+
+VERSION=${DATE}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=$VERSION"
diff --git a/network/sntpc/slack-desc b/network/sntpc/slack-desc
new file mode 100644
index 0000000000..20b8d8bd67
--- /dev/null
+++ b/network/sntpc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+sntpc: sntpc (simple Network Time Protocol client)
+sntpc:
+sntpc: This client queries an NTP server for the current time, and sets the
+sntpc: local clock to the time reported by the server.
+sntpc:
+sntpc:
+sntpc:
+sntpc:
+sntpc:
+sntpc:
+sntpc:
diff --git a/network/sntpc/sntpc.8 b/network/sntpc/sntpc.8
new file mode 100644
index 0000000000..26c7401115
--- /dev/null
+++ b/network/sntpc/sntpc.8
@@ -0,0 +1,98 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "SNTPC" 1 "2022-01-28" "20181113_1ca1d00" "SlackBuilds.org"
+.SH NAME
+sntpc \- Network Time Protocol client
+.\" RST source for sntpc(8) man page. Convert with:
+.
+.\" rst2man.py sntpc.rst > sntpc.8
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+sntpc [\fB\-bhnv\fP] [\fB\-p\fP \fIport\fP] [\fB\-s\fP \fIserver\fP] [\fB\-t\fP \fIthreshold\fP]
+.SH DESCRIPTION
+.sp
+\fBsntpc\fP queries an NTP server for the current time, and sets the
+local clock to the time reported by the server. It\(aqs a standalone
+binary, with no config file and no dependency on the \fIntp\fP package.
+.sp
+\fBsntpc\fP does not run as a daemon like \fBntpd\fP does. To keep
+the time in sync, you can run \fBsntpc\fP from root\(aqs \fBcrontab\fP(1)
+every 30 minutes (or however often it\(aqs necessary).
+.sp
+\fBsntpc\fP requires root access to actually set the local clock,
+although it can be run with \fB\-n\fP by non\-privileged users (e.g. with
+\fB\-v\fP to simply check the local time against the server\(aqs time).
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-b
+Allow time shift backwards (default: forward only).
+.TP
+.B \-h
+Show built\-in help message.
+.TP
+.B \-n
+No set time (dry run).
+.TP
+.B \-p
+Set server port number (default: 123).
+.TP
+.B \-s
+Set server name or IPv4 address (default: pool.ntp.org).
+.TP
+.B \-t
+Set maximum time offset threshold (default: 300 seconds). This can
+be set to a ludicrously high value such as 40000000000 (over 1,000 years)
+to effectively disable the threshold.
+.TP
+.B \-v
+Verbose (default: silent)
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/sntpc\-20181113_1ca1d00/LICENSE.txt for license information.
+.SH AUTHORS
+.sp
+sntpc was written by Greg Hewgill.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBntpd\fP(1)
+.sp
+\fI\%https://www.ntp.org\fP
+.sp
+The sntpc homepage: \fI\%https://github.com/ghewgill/sntpc\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/sntpc/sntpc.SlackBuild b/network/sntpc/sntpc.SlackBuild
new file mode 100644
index 0000000000..13090c2602
--- /dev/null
+++ b/network/sntpc/sntpc.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/bash
+
+# Slackware build script for sntpc
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=sntpc
+VERSION=${VERSION:-20181113_1ca1d00}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod 644 *
+
+# Linux doesn't have BSD's pledge() syscall... also fix compile warnings.
+patch -p1 < $CWD/compilefix.diff
+
+make CFLAGS="$SLKCFLAGS -Wall -Wl,-s" LDFLAGS="-lbsd"
+
+mkdir -p $PKG/usr/sbin $PKG/usr/man/man8
+cp -a $PRGNAM $PKG/usr/sbin
+gzip -9c < $CWD/$PRGNAM.8 > $PKG/usr/man/man8/$PRGNAM.8.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a *.md *.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sntpc/sntpc.info b/network/sntpc/sntpc.info
new file mode 100644
index 0000000000..a3b274fd50
--- /dev/null
+++ b/network/sntpc/sntpc.info
@@ -0,0 +1,10 @@
+PRGNAM="sntpc"
+VERSION="20181113_1ca1d00"
+HOMEPAGE="https://github.com/ghewgill/sntpc"
+DOWNLOAD="https://slackware.uk/~urchlay/src/sntpc-20181113_1ca1d00.tar.xz"
+MD5SUM="21640d86c27e27838966f0b620399cca"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libbsd"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/sntpc/sntpc.rst b/network/sntpc/sntpc.rst
new file mode 100644
index 0000000000..7b326eb1b5
--- /dev/null
+++ b/network/sntpc/sntpc.rst
@@ -0,0 +1,87 @@
+.. RST source for sntpc(8) man page. Convert with:
+.. rst2man.py sntpc.rst > sntpc.8
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20181113_1ca1d00
+.. |date| date::
+
+=====
+sntpc
+=====
+
+----------------------------
+Network Time Protocol client
+----------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+sntpc [**-bhnv**] [**-p** *port*] [**-s** *server*] [**-t** *threshold*]
+
+DESCRIPTION
+===========
+
+**sntpc** queries an NTP server for the current time, and sets the
+local clock to the time reported by the server. It's a standalone
+binary, with no config file and no dependency on the *ntp* package.
+
+**sntpc** does not run as a daemon like **ntpd** does. To keep
+the time in sync, you can run **sntpc** from root's **crontab**\(1)
+every 30 minutes (or however often it's necessary).
+
+**sntpc** requires root access to actually set the local clock,
+although it can be run with **-n** by non-privileged users (e.g. with
+**-v** to simply check the local time against the server's time).
+
+OPTIONS
+=======
+
+-b
+ Allow time shift backwards (default: forward only).
+
+-h
+ Show built-in help message.
+
+-n
+ No set time (dry run).
+
+-p
+ Set server port number (default: 123).
+
+-s
+ Set server name or IPv4 address (default: pool.ntp.org).
+
+-t
+ Set maximum time offset threshold (default: 300 seconds). This can
+ be set to a ludicrously high value such as 40000000000 (over 1,000 years)
+ to effectively disable the threshold.
+
+-v
+ Verbose (default: silent)
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/sntpc-|version|/LICENSE.txt for license information.
+
+AUTHORS
+=======
+
+sntpc was written by Greg Hewgill.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**ntpd**\(1)
+
+https://www.ntp.org
+
+The sntpc homepage: https://github.com/ghewgill/sntpc
diff --git a/network/socat/README b/network/socat/README
deleted file mode 100644
index 828012f25b..0000000000
--- a/network/socat/README
+++ /dev/null
@@ -1,12 +0,0 @@
-socat is a relay for bidirectional data transfer between two
-independent data channels. Each of these data channels may be a file,
-pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX,
-IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection,
-a file descriptor (stdin etc.), the GNU line editor (readline),
-a program, or a combination of two of these. These modes include
-generation of "listening" sockets, named pipes, and pseudo terminals.
-
-socat can use the OpenSSL FIPS module, if it is installed on your system.
-
-Upon install, you may want to read the SECURITY file in the documentation
-directory.
diff --git a/network/socat/slack-desc b/network/socat/slack-desc
deleted file mode 100644
index b0e75054c5..0000000000
--- a/network/socat/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-socat: socat (multipurpose data relay)
-socat:
-socat: socat is a relay for bidirectional data transfer between two
-socat: independent data channels. Each of these data channels may be a file,
-socat: pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX,
-socat: IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection,
-socat: a file descriptor (stdin etc.), the GNU line editor (readline),
-socat: a program, or a combination of two of these. These modes include
-socat: generation of "listening" sockets, named pipes, and pseudo terminals.
-socat:
-socat: Homepage: http://www.dest-unreach.org/socat
diff --git a/network/socat/socat.SlackBuild b/network/socat/socat.SlackBuild
deleted file mode 100644
index eddb6935dc..0000000000
--- a/network/socat/socat.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-# Slackware build script for socat
-
-# Copyright 2009 Andrew Psaltis <ampsaltis@gmail.com>
-# Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc>
-# Copyright 2014-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
-# All rights reserved.
-#
-# 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.
-#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
-# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=socat
-VERSION=${VERSION:-1.7.3.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- BUGREPORTS CHANGES COPYING* DEVELOPMENT EXAMPLES FAQ PORTING \
- README* SECURITY doc/*.{css,html} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/socat/socat.info b/network/socat/socat.info
deleted file mode 100644
index 08d3a5222e..0000000000
--- a/network/socat/socat.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="socat"
-VERSION="1.7.3.3"
-HOMEPAGE="http://www.dest-unreach.org/socat"
-DOWNLOAD="http://www.dest-unreach.org/socat/download/socat-1.7.3.3.tar.bz2"
-MD5SUM="b2a032a47b8b89a18485697fa975154f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/network/social-engineer-toolkit/README b/network/social-engineer-toolkit/README
deleted file mode 100644
index 16eaedd000..0000000000
--- a/network/social-engineer-toolkit/README
+++ /dev/null
@@ -1,6 +0,0 @@
-social-engineer toolkit (SET)
-
-The Social-Engineer Toolkit is an open-source penetration
-testing framework designed for social engineering. SET has
-a number of custom attack vectors that allow you to make a
-believable attack quickly.
diff --git a/network/social-engineer-toolkit/doinst.sh b/network/social-engineer-toolkit/doinst.sh
deleted file mode 100644
index f25bed6fb6..0000000000
--- a/network/social-engineer-toolkit/doinst.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
-if [ -e usr/share/glib-2.0/schemas ]; then
- if [ -x /usr/bin/glib-compile-schemas ]; then
- /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
- fi
-fi
diff --git a/network/social-engineer-toolkit/slack-desc b/network/social-engineer-toolkit/slack-desc
deleted file mode 100644
index 64915dd010..0000000000
--- a/network/social-engineer-toolkit/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-social-engineer-toolkit: social-engineer-toolkit (penetration testing framework)
-social-engineer-toolkit:
-social-engineer-toolkit: The Social-engineer Toolkit is an open-source penetration testing
-social-engineer-toolkit: framework designed for social engineering. SET has a number of
-social-engineer-toolkit: custom attack vectors that allow you to make a believable attack
-social-engineer-toolkit: quickly.
-social-engineer-toolkit:
-social-engineer-toolkit:
-social-engineer-toolkit:
-social-engineer-toolkit:
-social-engineer-toolkit:
diff --git a/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild b/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
deleted file mode 100644
index c25b9c8e9e..0000000000
--- a/network/social-engineer-toolkit/social-engineer-toolkit.SlackBuild
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for social-engineer-toolkit
-
-# Copyright 2016-2017 Andre Fernando, Indonesia
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=social-engineer-toolkit
-VERSION=${VERSION:-7.4.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-SRCDIR=setoolkit
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/bin
-mkdir -p $PKG/usr/share/$SRCDIR
-cp -ar * $PKG/usr/share/$SRCDIR
-(
- cd $PKG
- ln -sf /usr/share/setoolkit/setoolkit $PKG/usr/bin/setoolkit
- ln -sf /usr/share/setoolkit/seautomate $PKG/usr/bin/seautomate
- ln -sf /usr/share/setoolkit/seproxy $PKG/usr/bin/seproxy
- ln -sf /usr/share/setoolkit/seupdate $PKG/usr/bin/seupdate
-)
-
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/social-engineer-toolkit/social-engineer-toolkit.info b/network/social-engineer-toolkit/social-engineer-toolkit.info
deleted file mode 100644
index 05974e66bb..0000000000
--- a/network/social-engineer-toolkit/social-engineer-toolkit.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="social-engineer-toolkit"
-VERSION="7.4.5"
-HOMEPAGE="https://github.com/trustedsec/social-engineer-toolkit/"
-DOWNLOAD="https://github.com/trustedsec/social-engineer-toolkit/archive/7.4.5/social-engineer-toolkit-7.4.5.tar.gz"
-MD5SUM="7903c1eae414c6eef1bd360626db70f1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="pexpect python-requests pyOpenSSL pefile Impacket python-qrcode python3-pillow"
-MAINTAINER="Andre Fernando"
-EMAIL="ando344@gmail.com"
diff --git a/network/sopcast-player/sopcast-player.SlackBuild b/network/sopcast-player/sopcast-player.SlackBuild
index f0294c1e21..7607ea6bea 100644
--- a/network/sopcast-player/sopcast-player.SlackBuild
+++ b/network/sopcast-player/sopcast-player.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sopcast-player
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sopcast-player
VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,4 +77,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sopcast/sopcast.SlackBuild b/network/sopcast/sopcast.SlackBuild
index 183d10b1c0..1cd85bed66 100644
--- a/network/sopcast/sopcast.SlackBuild
+++ b/network/sopcast/sopcast.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sopcast
@@ -22,14 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sopcast
VERSION=${VERSION:-3.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=i586
-ARCH=i486
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/spamassassin/README b/network/spamassassin/README
index 797cee5cae..edaed944de 100644
--- a/network/spamassassin/README
+++ b/network/spamassassin/README
@@ -1,11 +1,12 @@
spamassassin - perl e-mail filter to identify spam
Spamassassin is an intelligent email filter which uses a diverse range
-of tests to identify unsolicited bulk email, more commonly known as Spam.
-These tests are applied to email headers and content to classify email using
-advanced statistical methods. It has a modular architecture that allows
-other technologies to be quickly wielded against spam and is designed for
-easy integration into virtually any email system.
+of tests to identify unsolicited bulk email, more commonly known
+as Spam. These tests are applied to email headers and content to
+classify email using advanced statistical methods. It has a modular
+architecture that allows other technologies to be quickly wielded
+against spam and is designed for easy integration into virtually any
+email system.
Before using, please read README.SLACKWARE file.
diff --git a/network/spamassassin/spamassassin.SlackBuild b/network/spamassassin/spamassassin.SlackBuild
index 135c17f2d7..0a71b0af53 100644
--- a/network/spamassassin/spamassassin.SlackBuild
+++ b/network/spamassassin/spamassassin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spamassassin
@@ -27,20 +27,30 @@
# Thanks to Nishant Limbachia for providing a SQL script to be used with
# spamassassin database, and most of spamassassin dependencies' scripts.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spamassassin
-VERSION=${VERSION:-3.4.4}
+VERSION=${VERSION:-3.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,8 +59,8 @@ SRC_PRGNAM=Mail-SpamAssassin
DOCFILES="Changes CREDITS INSTALL LICENSE NOTICE PACKAGING procmailrc.example \
README sample-nonspam.txt sample-spam.txt TRADEMARK UPGRADE USAGE sql/"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -129,4 +139,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/spamassassin/spamassassin.info b/network/spamassassin/spamassassin.info
index 6b9778b3ef..155af2e77e 100644
--- a/network/spamassassin/spamassassin.info
+++ b/network/spamassassin/spamassassin.info
@@ -1,10 +1,10 @@
PRGNAM="spamassassin"
-VERSION="3.4.4"
+VERSION="3.4.6"
HOMEPAGE="https://spamassassin.apache.org/"
-DOWNLOAD="https://www.eu.apache.org/dist/spamassassin/source/Mail-SpamAssassin-3.4.4.tar.bz2"
-MD5SUM="ce51fe5665d5838c56db6712846b58bb"
+DOWNLOAD="https://downloads.apache.org//spamassassin/source/Mail-SpamAssassin-3.4.6.tar.bz2"
+MD5SUM="0ef3f64ffcdf6f1e96068e19a16ce1be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libwww-perl perl-Crypt-OpenSSL-Bignum perl-Encode-Detect perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-IP-Country perl-Image-Info perl-Mail-DKIM perl-Mail-SPF perl-Net-Ident perl-Net-Server pyzor re2c"
+REQUIRES="libwww-perl perl-Crypt-OpenSSL-Bignum perl-Encode-Detect perl-IO-Socket-INET6 perl-IP-Country perl-Image-Info perl-Mail-DKIM perl-Mail-SPF perl-Net-Ident perl-Net-Server pyzor"
MAINTAINER="Gerardo Zamudio"
EMAIL="gerardo.zamudio@linux.com"
diff --git a/network/spambayes/README b/network/spambayes/README
index 179ca058b7..bbf88951ba 100644
--- a/network/spambayes/README
+++ b/network/spambayes/README
@@ -1,6 +1,7 @@
-SpamBayes uses a different set of algorithm to most statistical spam filters,
-which enables to dramatically lower the number of legitimate mail classified as
-spam, through the introduction of an 'unsure' category.
+SpamBayes uses a different set of algorithm to most statistical spam
+filters, which enables to dramatically lower the number of legitimate
+mail classified as spam, through the introduction of an 'unsure'
+category.
-SpamBayes can be used as a POP3 or an IMAP proxy, as well as a simple mail
-filter for use with procmail.
+SpamBayes can be used as a POP3 or an IMAP proxy, as well as a simple
+mail filter for use with procmail.
diff --git a/network/spambayes/spambayes.SlackBuild b/network/spambayes/spambayes.SlackBuild
index ab404fd66f..4f30f6da97 100644
--- a/network/spambayes/spambayes.SlackBuild
+++ b/network/spambayes/spambayes.SlackBuild
@@ -1,22 +1,32 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spambayes
# Written by Audrius Kažukauskas <audrius@neutrino.lt>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spambayes
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,4 +61,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/spawn-fcgi/spawn-fcgi.SlackBuild b/network/spawn-fcgi/spawn-fcgi.SlackBuild
index 5473a6b503..6659763676 100644
--- a/network/spawn-fcgi/spawn-fcgi.SlackBuild
+++ b/network/spawn-fcgi/spawn-fcgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spawn-fcgi
@@ -23,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spawn-fcgi
VERSION=${VERSION:-1.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/speedometer/README b/network/speedometer/README
index ab83bcedd9..ca63b55c04 100644
--- a/network/speedometer/README
+++ b/network/speedometer/README
@@ -1,4 +1,5 @@
speedometer (Progress monitor for console)
Speedometer is a console bandwidth and file download progress monitor
-with a logarithmic bandwidth display and a simple command-line interface.
+with a logarithmic bandwidth display and a simple command-line
+interface.
diff --git a/network/speedometer/changelog b/network/speedometer/changelog
deleted file mode 100644
index 3ab3448f88..0000000000
--- a/network/speedometer/changelog
+++ /dev/null
@@ -1,153 +0,0 @@
-speedometer (2.8-3) unstable; urgency=medium
-
- * New maintainer. (Closes: #920070)
- * Switch to Python 3, consequently:
- - debian/control: updated dependencies to python3.
- - debian/patches/update-to-python3.patch: added to provide
- python3 support. (Closes: #943229)
- * Using new DH level format. Consequently:
- - debian/compat: removed.
- - debian/control: Changed from 'debhelper' to 'debhelper-compat' in
- Build-Depends field and bumped level to 12.
- * debian/control:
- - Added the field Rules-Requires-Root: no
- - Standards-Version: bumped to 4.4.1 (no changes needed)
- - Switch VCS URLs to salsa.debian.org
- * debian/copyright:
- - Added safe uri (https) to Format.
- - Updated years and rights.
- * debian/rules:
- - Added pybuild support.
- - Updated to reduced format.
- * debian/salsa-ci.yml: added to provide CI tests for Salsa.
- * debian/upstream/metadata: created.
- * debian/upstream.changelog: removed, upstream no longer uses hg repo.
- * debian/watch:
- - migrated to version 4.
- - updated to new repository in Github an using new variables.
-
-
- -- Giovani Augusto Ferreira <giovani@debian.org> Tue, 17 Dec 2019 10:43:07 -0300
-
-speedometer (2.8-2) unstable; urgency=medium
-
- * debian/compat
- - Updae to 9.
- * debian/control
- - (Build-Depends): Update to debhelper 9.
- - (Homepage): Move field.
- - (Standards-Version): Update to 3.9.8.
- - (Vcs-*): Update to anonscm.debian.org.
- * debian/copyright
- - Update URLs.
- * debian/pod2man.mk
- - Make build reproducible (Closes: 782221).
- Patch thanks to Reiner Herrmann <reiner@reiner-h.de>.
-
- -- Jari Aalto <jari.aalto@cante.net> Wed, 19 Oct 2016 18:25:25 +0300
-
-speedometer (2.8-1) unstable; urgency=low
-
- [Jari Aalto]
- * New upstream release
- - Linear scale (Closes: #415397).
- * debian/copyright
- - (Format): Update URL.
- * debian/rules
- - (get-changelog): Add more commentary.
- * debian/upstream.changelog
- - Update.
-
- [tony mancill]
- * Add python-setuptools to Build-Depends
-
- -- Jari Aalto <jari.aalto@cante.net> Fri, 09 Dec 2011 14:30:46 +0200
-
-speedometer (2.7-1) unstable; urgency=low
-
- * New upstream release
- - Fix Python 2.5.4 DeprecationWarning: The popen2 module is deprecated
- (Closes: #583573).
- * debian/compat
- - Update to 8.
- * debian/control
- - (Build-Depends): Update to debhelper 8.
- - (Standards-Version): Update to 3.9.2.
- * debian/copyright
- - Update to DEP5.
- - (Files: *): Correct license to LGPL 2.1.
- * debian/*.mk
- - Minor updates.
- * debian/speedometer.1.pod
- - (top level): Proper starting comment.
- - (DESCRIPTION): Improve documentation to note that
- traffic must be generated (Closes: #583576).
- - (EXAMPLES): Adjust indentation.
- - (SEE ALSO): Add more programs.
- - (AUTHORS): Adjust wording.
- * debian/rules
- - (PKGDIR): New.
- - (get-changelog): New.
- - Cleanup rules handled by dh(1).
-
- -- Jari Aalto <jari.aalto@cante.net> Thu, 21 Apr 2011 19:34:18 +0300
-
-speedometer (2.6-3) unstable; urgency=low
-
- * debian/control
- - (Depends): Update to python-urwid (>= 0.9.9.1), because (0.9.9) is
- not compatible (Closes: #569070). Update to debhelper 7.1 due to
- oveerrides in debian/rules
- - (Standards-Version): update to 3.8.4.
- * debian/rules:
- - (binary-indep): Remove unused commands.
- - (install): remove target.
- - (override_dh_auto_install): New target.
- - (.PHONY): cleanup targets.
-
- -- Jari Aalto <jari.aalto@cante.net> Mon, 22 Feb 2010 16:18:59 +0200
-
-speedometer (2.6-2) unstable; urgency=low
-
- * Move to packaging format: 3.0 (quilt).
- * debian/clean
- - Move content from 'rules' for dh(1) to use.
- * debian/compat
- - Update to 7.
- * debian/control
- - (Build-Depends): update to debhelper 7.
- - (Description): convert examples to bullets.
- - (Depends): add ${misc:Depends} for debhelper,
- add version to dependency python-urwid (>= 0.9.1).
- - (Standards-Version): update to 3.8.3
- * debian/copyright
- - (GPL): Use FSF URL (FSF recommendation).
- * debian/rules
- - Remove rules obsoleted by dh(1).
- * debian/source/format
- - New file.
- * debian/speedometer.1
- - Delete file generated from *.pod source (see debian/rules::man).
- * debian/speedometer.manpages
- - Move content from 'rules' for dh(1) to use.
-
- -- Jari Aalto <jari.aalto@cante.net> Sat, 19 Dec 2009 13:52:03 +0200
-
-speedometer (2.6-1) unstable; urgency=low
-
- * New upstream version. (Closes: #473420).
- * debian/changelog
- - Adjust indentation and layout.
- - Change time to ISO 8601 notation.
- * debian/control
- - (Vcs-*): New fields.
- - (Homepage): move to separate field.
- - (Standards-Version): Update to 3.8.0.
-
- -- Jari Aalto <jari.aalto@cante.net> Sat, 18 Oct 2008 01:07:47 +0300
-
-speedometer (2.4-1) unstable; urgency=low
-
- * Initial release (Closes: #404671)
-
- -- Jari Aalto <jari.aalto@cante.net> Sat, 13 Jan 2007 20:34:25 +0200
diff --git a/network/speedometer/slack-desc b/network/speedometer/slack-desc
index b742df5ad1..e309ea3c8a 100644
--- a/network/speedometer/slack-desc
+++ b/network/speedometer/slack-desc
@@ -13,7 +13,7 @@ speedometer: monitor with a logarithmic bandwidth display and a simple
speedometer: command-line interface.
speedometer:
speedometer:
-speedometer: Homepage: http://excess.org/speedometer/
+speedometer: Homepage: https://excess.org/speedometer/
speedometer:
speedometer:
speedometer:
diff --git a/network/speedometer/speedometer.SlackBuild b/network/speedometer/speedometer.SlackBuild
index 9fb3e89275..2d7397b59b 100644
--- a/network/speedometer/speedometer.SlackBuild
+++ b/network/speedometer/speedometer.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-
-# Slackware build script for speedometer
-
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil
+#!/bin/bash
+#
+# Slackware build script for speedometer.
+#
+# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=speedometer
-VERSION=${VERSION:-2.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release-$VERSION
+tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,7 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -Np1 < $CWD/update-to-python3.patch
python3 setup.py install --root=$PKG --optimize=1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -83,11 +92,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -Dm644 $CWD/changelog $PKG/usr/doc/$PRGNAM-$VERSION/CHANGELOG
+install -Dm644 CHANGELOG LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/speedometer/speedometer.info b/network/speedometer/speedometer.info
index 0bcb7a15fd..bb8a78b6d6 100644
--- a/network/speedometer/speedometer.info
+++ b/network/speedometer/speedometer.info
@@ -1,10 +1,10 @@
PRGNAM="speedometer"
-VERSION="2.8"
-HOMEPAGE="http://excess.org/speedometer/"
-DOWNLOAD="http://excess.org/speedometer/speedometer-2.8.tar.gz"
-MD5SUM="aa52b9253117523202d6ec8c110344ef"
+VERSION="2.9"
+HOMEPAGE="https://excess.org/speedometer/"
+DOWNLOAD="https://github.com/wardi/speedometer/archive/release-2.9/speedometer-release-2.9.tar.gz"
+MD5SUM="8ed83643533af4fdd7aa867c8369f201"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="psutil python3-six python3-urwid"
+REQUIRES="python3-psutil python-urwid"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"
diff --git a/network/speedometer/update-to-python3.patch b/network/speedometer/update-to-python3.patch
deleted file mode 100644
index dfce959f3b..0000000000
--- a/network/speedometer/update-to-python3.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-Description: Update upstream source to Python 3.
- Based on fixes at https://github.com/kenduest/speedometer/
-Author: Giovani Augusto Ferreira <giovani@debian.org>
-Last-Update: 2019-12-08
-
-Index: speedometer/speedometer.py
-===================================================================
---- speedometer.orig/speedometer.py
-+++ speedometer/speedometer.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python3
-
- # speedometer.py
- # Copyright (C) 2001-2011 Ian Ward
-@@ -21,6 +21,8 @@ import os
- import string
- import math
- import re
-+import psutil
-+import six
-
- __usage__ = """Usage: speedometer [options] tap [[-c] tap]...
- Monitor network traffic or speed/progress of a file transfer. At least one
-@@ -76,6 +78,10 @@ units_per_second = 'bytes'
- chart_minimum = 2**5
- chart_maximum = 2**32
-
-+if six.PY3:
-+ def long(*args,**kwargs):
-+ return int(*args,**kwargs)
-+
- graph_scale = None
- def update_scale():
- """
-@@ -400,7 +406,8 @@ class SpeedGraph:
- self.log = []
- self.bar = []
-
-- def get_data(self, (maxcol,maxrow)):
-+ def get_data(self, max_col_row):
-+ maxcol, maxrow = max_col_row
- bar = self.bar[-maxcol:]
- if len(bar) < maxcol:
- bar = [[0]]*(maxcol-len(bar)) + bar
-@@ -409,8 +416,8 @@ class SpeedGraph:
- def selectable(self):
- return False
-
-- def render(self, (maxcol, maxrow), focus=False):
--
-+ def render(self, max_col_row, focus=False):
-+ maxcol, maxrow = max_col_row
- left = max(0, len(self.log)-maxcol)
- pad = maxcol-(len(self.log)-left)
-
-@@ -445,8 +452,8 @@ class SpeedGraph:
- for i in range(left+max(0, ldist-pad),len(l)-rdist+1):
- li = l[i]
- if li == 0: continue
-- if i and l[i-1]>=li: continue
-- if l[i+1]>li: continue
-+ if i and l[i-1] != None and l[i-1]>=li: continue
-+ if li is None or l[i+1]>li: continue
- highs.append((li, -i))
-
- highs.sort()
-@@ -471,7 +478,7 @@ class SpeedGraph:
-
-
- def speed_scale(s):
-- if s <= 0: return 0
-+ if s is None or s <= 0: return 0
- if logarithmic_scale:
- s = math.log(s, 2)
- s = min(graph_range(), max(0, s-graph_min()))
-@@ -498,7 +505,7 @@ def readable_speed(speed):
- if speed == None or speed < 0: speed = 0
-
- units = "B/s ", "KiB/s", "MiB/s", "GiB/s", "TiB/s"
-- step = 1L
-+ step = long(1)
-
- for u in units:
-
-@@ -511,7 +518,7 @@ def readable_speed(speed):
- if speed/step < 1024:
- return "%4d " %(speed/step) + u
-
-- step = step * 1024L
-+ step = step * long(1024)
-
- return "%4d " % (speed/(step/1024)) + units[-1]
-
-@@ -524,7 +531,7 @@ def readable_speed_bits(speed):
-
- speed = speed * 8
- units = "b/s ", "Kib/s", "Mib/s", "Gib/s", "Tib/s"
-- step = 1L
-+ step = long(1)
-
- for u in units:
-
-@@ -537,7 +544,7 @@ def readable_speed_bits(speed):
- if speed/step < 1024:
- return "%4d " %(speed/step) + u
-
-- step = step * 1024L
-+ step = step * long(1024)
-
- return "%4d " % (speed/(step/1024)) + units[-1]
-
-@@ -607,18 +614,12 @@ def network_feed(device,rxtx):
- r = re.compile(r"^\s*" + re.escape(device) + r":(.*)$", re.MULTILINE)
-
- def networkfn(devre=r,rxtx=rxtx):
-- f = open('/proc/net/dev')
-- dev_lines = f.read()
-- f.close()
-- match = devre.search(dev_lines)
-- if not match:
-- return None
--
-- parts = match.group(1).split()
- if rxtx == 'RX':
-- return long(parts[0])
-+ val=psutil.net_io_counters(pernic=True)[device].bytes_recv
- else:
-- return long(parts[8])
-+ val=psutil.net_io_counters(pernic=True)[device].bytes_sent
-+
-+ return long(val)
-
- return networkfn
-
-@@ -728,7 +729,7 @@ def time_as_units(seconds):
- # (multiplicative factor, suffix)
- units = (1,"s"), (60,"m"), (60,"h"), (24,"d"), (7,"w"), (52,"y")
-
-- scale = 1L
-+ scale = long(1)
- topunit = -1
- # find the top unit to use
- for mul, suf in units:
-@@ -757,7 +758,7 @@ def readable_time(seconds, columns=None)
- for value, suf in time_as_units(seconds):
- new_out = out
- if out: new_out = new_out + ' '
-- new_out = new_out + `value` + suf
-+ new_out = new_out + value + suf
- if columns and len(new_out) > columns: break
- out = new_out
-
-@@ -1091,6 +1092,6 @@ def wait_all(cols):
- if __name__ == "__main__":
- try:
- console()
-- except KeyboardInterrupt, err:
-+ except KeyboardInterrupt as err:
- pass
-
-Index: speedometer/setup.py
-===================================================================
---- speedometer.orig/setup.py
-+++ speedometer/setup.py
-@@ -35,7 +35,7 @@ setup_d = {
- 'scripts': ['speedometer.py'],
- 'entry_points': {
- 'console_scripts': ['speedometer = speedometer:console'],},
-- 'install_requires': ['urwid >= 0.9.9.1'],
-+ 'install_requires': ['urwid >= 0.9.9.1', 'psutil', 'six'],
- 'license':"LGPL",
- 'keywords':"network bandwidth monitor system speed download file progress console",
- 'platforms':"Linux",
diff --git a/network/speedtest-cli/README b/network/speedtest-cli/README
index 464b091550..6e5659c968 100644
--- a/network/speedtest-cli/README
+++ b/network/speedtest-cli/README
@@ -1,3 +1,2 @@
-Command line interface for testing internet bandwidth using speedtest.net
-
-Optional dependency: python3
+Command line interface for testing internet bandwidth using
+speedtest.net
diff --git a/network/speedtest-cli/speedtest-cli.SlackBuild b/network/speedtest-cli/speedtest-cli.SlackBuild
index a4c0111069..33afcff2ac 100644
--- a/network/speedtest-cli/speedtest-cli.SlackBuild
+++ b/network/speedtest-cli/speedtest-cli.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for speedtest-cli
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=speedtest-cli
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.1.3}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/speedtest-cli/speedtest-cli.info b/network/speedtest-cli/speedtest-cli.info
index 2f063b47fe..6f2f9c5567 100644
--- a/network/speedtest-cli/speedtest-cli.info
+++ b/network/speedtest-cli/speedtest-cli.info
@@ -1,8 +1,8 @@
PRGNAM="speedtest-cli"
-VERSION="2.1.2"
+VERSION="2.1.3"
HOMEPAGE="https://github.com/sivel/speedtest-cli"
-DOWNLOAD="https://files.pythonhosted.org/packages/5c/c8/296057f78f16721863f9edb5abdb0d2648c5c6932697f29d80d920fdcd91/speedtest-cli-2.1.2.tar.gz"
-MD5SUM="543d38f8939e1716641cc7c00169ca03"
+DOWNLOAD="https://files.pythonhosted.org/packages/85/d2/32c8a30768b788d319f94cde3a77e0ccc1812dca464ad8062d3c4d703e06/speedtest-cli-2.1.3.tar.gz"
+MD5SUM="4bd1cf455e210ce47be1a3290988160b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/sphinx/sphinx.SlackBuild b/network/sphinx/sphinx.SlackBuild
index cc10b1a0a7..e9cc80483a 100644
--- a/network/sphinx/sphinx.SlackBuild
+++ b/network/sphinx/sphinx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Sphinx
# Originally written by Michael Johnson <youngmug@animeneko.net>
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sphinx
VERSION=${VERSION:-2.2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild
index 6561b22050..bf2696d61f 100644
--- a/network/spice-gtk/spice-gtk.SlackBuild
+++ b/network/spice-gtk/spice-gtk.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spice-gtk
-# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org> Pisa, Italy
+
+# Copyright 2013-2023 Matteo Bernardini <ponce@slackbuilds.org> Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spice-gtk
-VERSION=${VERSION:-0.35}
+VERSION=${VERSION:-0.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,7 +69,7 @@ if pkg-config --exists libusbredirhost; then usbredir="en"; else usbredir="dis";
if pkg-config --exists libcacard; then cacard="en"; else cacard="dis"; fi
if pkg-config --exists libphodav-2.0; then phodav="en"; else phodav="dis"; fi
-DOCS="AUTHORS COPYING NEWS README THANKS TODO"
+DOCS="AUTHORS CHANGELOG.md COPYING README.md"
set -e
@@ -67,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -76,37 +87,29 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Disable broken tests
-sed -i 's/ tests//' Makefile.am Makefile.in
-
-export VALAC=$(which valac)
-export VAPIGEN=$(which vapigen)
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
+# Configure, build, and install:
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir meson-build
+cd meson-build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --sysconfdir=/etc \
--localstatedir=/var \
- --disable-static \
- --enable-shared \
- --with-gtk=3.0 \
- --enable-gstaudio=yes \
- --enable-gstvideo=yes \
- --disable-maintainer-mode \
- --enable-vala \
- --disable-celt051 \
- --enable-dbus=yes \
- --${usbredir}able-usbredir \
- --${cacard}able-smartcard \
- --${phodav}able-webdav \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ --buildtype=release \
+ -D gtk_doc=enabled \
+ -D usb-ids-path=/usr/share/hwdata/usb.ids \
+ .. || exit 1
+ "${NINJA:=ninja}" || exit 1
+ DESTDIR=$PKG $NINJA install || exit 1
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -120,6 +123,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+echo "/sbin/setcap CAP_FOWNER=+ep usr/libexec/spice-client-glib-usb-acl-helper" \
+ >> $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/spice-gtk/spice-gtk.info b/network/spice-gtk/spice-gtk.info
index e17de616e8..d66f523ebb 100644
--- a/network/spice-gtk/spice-gtk.info
+++ b/network/spice-gtk/spice-gtk.info
@@ -1,10 +1,10 @@
PRGNAM="spice-gtk"
-VERSION="0.35"
+VERSION="0.42"
HOMEPAGE="https://www.spice-space.org"
-DOWNLOAD="https://www.spice-space.org/download/gtk/spice-gtk-0.35.tar.bz2"
-MD5SUM="a8c919ee4a48dfeab619deb70900d788"
+DOWNLOAD="https://www.spice-space.org/download/gtk/spice-gtk-0.42.tar.xz"
+MD5SUM="68becfc1192a61265e9981621e9d3dc6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opus spice vala"
+REQUIRES="spice"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/network/spice/README b/network/spice/README
index c8f4286b58..c3daadff99 100644
--- a/network/spice/README
+++ b/network/spice/README
@@ -7,5 +7,4 @@ without compromising on the user experience.
libcacard is an optional dependency for virtual smartcard support.
-lz4, opus, gst-libav, and gst-plugins-ugly (with x264 support) are also
-optional dependencies.
+gst-plugins-ugly (with x264 support) is also an optional dependency.
diff --git a/network/spice/spice.SlackBuild b/network/spice/spice.SlackBuild
index e887c96ddf..4a95f53261 100644
--- a/network/spice/spice.SlackBuild
+++ b/network/spice/spice.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spice
-# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=spice
-VERSION=${VERSION:-0.14.1}
+VERSION=${VERSION:-0.15.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,13 +37,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i586"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i586"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -53,7 +63,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+DOCS="AUTHORS CHANGELOG.md COPYING README"
# check if libcacard is there
if pkg-config --exists libcacard ; then
@@ -73,10 +83,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -100,8 +110,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/spice/spice.info b/network/spice/spice.info
index 04a4e89706..1aca0b1790 100644
--- a/network/spice/spice.info
+++ b/network/spice/spice.info
@@ -1,10 +1,10 @@
PRGNAM="spice"
-VERSION="0.14.1"
+VERSION="0.15.2"
HOMEPAGE="https://www.spice-space.org"
-DOWNLOAD="https://www.spice-space.org/download/releases/spice-server/spice-0.14.1.tar.bz2"
-MD5SUM="1e2442b08605a5a17430d1aaa0912c24"
+DOWNLOAD="https://www.spice-space.org/download/releases/spice-server/spice-0.15.2.tar.bz2"
+MD5SUM="1de1e9157a1e2396884017978e7cf086"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opus pyparsing six spice-protocol"
+REQUIRES="spice-protocol"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/network/sqlmap/sqlmap.SlackBuild b/network/sqlmap/sqlmap.SlackBuild
index 287d9a23cc..20dc25a8ae 100644
--- a/network/sqlmap/sqlmap.SlackBuild
+++ b/network/sqlmap/sqlmap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqlmap.
@@ -23,13 +23,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sqlmap
VERSION=${VERSION:-1.4.9}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sqlninja/README b/network/sqlninja/README
index 3d26adcf36..fa8e0c4317 100644
--- a/network/sqlninja/README
+++ b/network/sqlninja/README
@@ -1,16 +1,19 @@
-Sqlninja is a tool targeted to exploit SQL Injection vulnerabilities on a web
-application that uses Microsoft SQL Server as its back-end. Its main goal is
-to provide a remote access on the vulnerable DB server, even in a very hostile
-environment. It should be used by penetration testers to help automate the
-process of taking over a DB Server when a SQL Injection vulnerability has been
+Sqlninja is a tool targeted to exploit SQL Injection vulnerabilities
+on a web application that uses Microsoft SQL Server as its
+back-end. Its main goal is to provide a remote access on the
+vulnerable DB server, even in a very hostile environment. It should
+be used by penetration testers to help automate the process of
+taking over a DB Server when a SQL Injection vulnerability has been
discovered.
-Since version 0.2.5, sqlninja will upload .exe files by default instead of
-.scr ones. If you want to upload .scr files instead, the original sqlninja
-files are distributed inside /usr/lib$LIBDIRSUFFIX/sqlninja/scripts/ .
+Since version 0.2.5, sqlninja will upload .exe files by default
+instead of .scr ones. If you want to upload .scr files instead,
+the original sqlninja files are distributed in:
+/usr/lib$LIBDIRSUFFIX/sqlninja/scripts/
Raul Siles' patch for better Metasploit Framework interaction has been
-discontinued since it was released for an old version of sqlninja only. The
-patch added two new timers ($client_delay (30 secs) and $server_delay (5
-secs)) to use within sqlninja. Since it could be still somehow handy it has
-been included in the package documentation directory.
+discontinued since it was released for an old version of sqlninja
+only. The patch added two new timers ($client_delay (30 secs) and
+$server_delay (5 secs)) to use within sqlninja. Since it could be
+still somehow handy it has been included in the package documentation
+directory.
diff --git a/network/sqlninja/sqlninja.SlackBuild b/network/sqlninja/sqlninja.SlackBuild
index ef4b850990..804731d710 100644
--- a/network/sqlninja/sqlninja.SlackBuild
+++ b/network/sqlninja/sqlninja.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqlninja
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sqlninja
VERSION=${VERSION:-0.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,4 +106,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sqlninja/sqlninja.info b/network/sqlninja/sqlninja.info
index 8195691c7f..a463831b33 100644
--- a/network/sqlninja/sqlninja.info
+++ b/network/sqlninja/sqlninja.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/sqlninja/sqlninja-0.2.5.tgz"
MD5SUM="95acfd9c5bc2305f239596c613d4ffc7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-IO-Socket-SSL perl-Net-Pcap perl-Net-RawIP perl-NetPacket perl-net-dns"
+REQUIRES="perl-Net-Pcap perl-Net-RawIP perl-NetPacket perl-net-dns"
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
diff --git a/network/sqlrelay/README b/network/sqlrelay/README
index aafdf2b8ac..0c9f2df3e1 100644
--- a/network/sqlrelay/README
+++ b/network/sqlrelay/README
@@ -1,7 +1,8 @@
-With SQL Relay, you can speed up and enhance the scalability of database-driven
-web-based applications, access databases from unsupported platforms, throttle
-database access, distribute load over clustered or replicated databases,
-route queries and migrate applications from one database to another.
+With SQL Relay, you can speed up and enhance the scalability of
+database-driven web-based applications, access databases from
+unsupported platforms, throttle database access, distribute load
+over clustered or replicated databases, route queries and migrate
+applications from one database to another.
-Two optional dependencies, postgresql and freetds will be auto detected at
-build time, they can be found on SlackBuilds.org
+Two optional dependencies, postgresql and freetds will be auto
+detected at build time, they can be found on SlackBuilds.org
diff --git a/network/sqlrelay/sqlrelay.SlackBuild b/network/sqlrelay/sqlrelay.SlackBuild
index aa56ae3355..2c25c6217d 100644
--- a/network/sqlrelay/sqlrelay.SlackBuild
+++ b/network/sqlrelay/sqlrelay.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqlrelay
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sqlrelay
-VERSION=${VERSION:-0.65.0}
+VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,6 +104,8 @@ sed -i "s/^\(EXAMPLEDIR = \).*$/\1\${prefix}\/doc\/$PRGNAM-$VERSION\/examples/"
make -j1
make -j1 install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
# Change SysV style init scripts to BSD run control style
mv $PKG/etc/init.d $PKG/etc/rc.d
(cd $PKG/etc/rc.d ; for i in * ; do mv $i rc.$i.new; done)
@@ -119,4 +131,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sqlrelay/sqlrelay.info b/network/sqlrelay/sqlrelay.info
index 99177781f8..67514768c0 100644
--- a/network/sqlrelay/sqlrelay.info
+++ b/network/sqlrelay/sqlrelay.info
@@ -1,8 +1,8 @@
PRGNAM="sqlrelay"
-VERSION="0.65.0"
+VERSION="1.9.2"
HOMEPAGE="http://sqlrelay.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sqlrelay/sqlrelay-0.65.0.tar.gz"
-MD5SUM="231cc46bc32f6c05dc372c2f04cdcd02"
+DOWNLOAD="http://downloads.sourceforge.net/sqlrelay/sqlrelay-1.9.2.tar.gz"
+MD5SUM="8dc0ba3befaf2cf688cd90fd4e3e4120"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rudiments"
diff --git a/network/squid/README b/network/squid/README
index 7756f08719..9c36fcc1b9 100644
--- a/network/squid/README
+++ b/network/squid/README
@@ -1,17 +1,13 @@
Squid is a high-performance proxy caching server for web clients,
-supporting FTP, gopher, and HTTP data objects. Unlike traditional caching
-software, squid handles all requests in a single, non-blocking, I/O-driven
-process.
+supporting FTP, gopher, and HTTP data objects. Unlike traditional
+caching software, squid handles all requests in a single,
+non-blocking, I/O-driven process.
-Squid supports SSL, extensive access controls, and full request logging.
-By using the lightweight Internet Cache Protocol, squid caches can be
-arranged in a hierarchy or mesh for additional bandwidth savings.
+Squid supports SSL, extensive access controls, and full request
+logging. By using the lightweight Internet Cache Protocol, squid
+caches can be arranged in a hierarchy or mesh for additional bandwidth
+savings.
See /usr/doc/squid-*/README.SBo for configuration help.
-Note that the default squid.conf and /etc/logrotate.d/squid files have
-changed in this release, so be sure to merge the changes into place.
-
-To build squid with ICAP client support, specify the option "ICAP=yes",
-for example:
-
- ICAP=yes ./squid.SlackBuild
+Note that the default files in /etc/squid and /etc/logrotate.d may
+change between releases, so be sure to merge the changes into place.
diff --git a/network/squid/README.SBo b/network/squid/README.SBo
index 5dcc214a06..5a93ccda45 100644
--- a/network/squid/README.SBo
+++ b/network/squid/README.SBo
@@ -10,7 +10,7 @@ executable and add the following to /etc/rc.d/rc.local:
==============================================================================
-Uncomment and edit the following lines in /etc/squid.conf:
+Uncomment and edit the following lines in /etc/squid/squid.conf:
http_port <port> <option>
diff --git a/network/squid/doinst.sh b/network/squid/doinst.sh
index 664a873749..b79c23655f 100644
--- a/network/squid/doinst.sh
+++ b/network/squid/doinst.sh
@@ -26,5 +26,6 @@ preserve_perms etc/rc.d/rc.squid.new
preserve_perms etc/squid/mime.conf.new
preserve_perms etc/squid/squid.conf.new
preserve_perms etc/squid/cachemgr.conf.new
+preserve_perms etc/squid/errorpage.css.new
preserve_perms etc/logrotate.d/squid.new
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild
index 2f8ef8fce1..d819c88077 100644
--- a/network/squid/squid.SlackBuild
+++ b/network/squid/squid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for squid
# http://www.squid-cache.org/
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squid
-VERSION=${VERSION:-4.13}
+VERSION=${VERSION:-6.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,11 +83,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-OPT_ICAP=""
-if [ "${ICAP:-no}" = "yes" ]; then
- OPT_ICAP="--enable-icap-client"
-fi
-
# last option is needed on current
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -93,11 +98,34 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-snmp \
--enable-auth \
--enable-auth-basic \
+ --enable-auth-ntlm \
+ --enable-auth-digest \
+ --enable-auth-negotiate \
+ --enable-removal-policies="lru,heap" \
+ --enable-storeio="aufs,ufs,diskd,rock" \
+ --enable-delay-pools \
+ --enable-arp-acl \
+ --with-openssl \
+ --enable-snmp \
--enable-linux-netfilter \
+ --enable-ident-lookups \
+ --enable-useragent-log \
+ --enable-cache-digests \
+ --enable-referer-log \
+ --enable-arp-acl \
+ --enable-htcp \
+ --enable-carp \
+ --enable-epoll \
+ --with-large-files \
+ --enable-arp-acl \
+ --with-default-user=$SQUIDUSER \
--enable-async-io \
- $OPT_ICAP \
- --build=$ARCH-slackware-linux \
- --disable-strict-error-checking
+ --enable-truncate \
+ --enable-icap-client \
+ --enable-ssl-crtd \
+ --disable-arch-native \
+ --disable-strict-error-checking \
+ --enable-wccpv2
make all
make install DESTDIR=$PKG
@@ -125,7 +153,8 @@ sed -e "s,@SQUIDUSER@,$SQUIDUSER," -e "s,@SQUIDGROUP@,$SQUIDGROUP," $CWD/squid.l
> $PKG/etc/logrotate.d/squid.new
( cd $PKG/etc/squid
- for i in mime cachemgr squid ; do mv $i.conf $i.conf.new ; done )
+ for i in mime cachemgr squid ; do mv $i.conf $i.conf.new ; done
+ mv errorpage.css errorpage.css.new )
cp src/squid.conf.documented $PKG/etc/squid/squid.conf.documented
mkdir -p $PKG/var/{cache,lib,run}/squid
@@ -142,4 +171,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/squid/squid.info b/network/squid/squid.info
index b8cace6555..e925b15dca 100644
--- a/network/squid/squid.info
+++ b/network/squid/squid.info
@@ -1,8 +1,8 @@
PRGNAM="squid"
-VERSION="4.13"
+VERSION="6.6"
HOMEPAGE="http://www.squid-cache.org/"
-DOWNLOAD="http://www.squid-cache.org/Versions/v4/squid-4.13.tar.xz"
-MD5SUM="492e54afc15821141ff1d1d9903854d6"
+DOWNLOAD="http://www.squid-cache.org/Versions/v6/squid-6.6.tar.xz"
+MD5SUM="5a41134ee1b7e75f62088acdec92d2ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/squidGuard/README b/network/squidGuard/README
deleted file mode 100644
index 3b76ae4f42..0000000000
--- a/network/squidGuard/README
+++ /dev/null
@@ -1,2 +0,0 @@
-SquidGuard is a URL redirector software used to use blacklists with
-the proxy software Squid.
diff --git a/network/squidGuard/doinst.sh b/network/squidGuard/doinst.sh
deleted file mode 100644
index 0938b3cf5f..0000000000
--- a/network/squidGuard/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/squidguard/squidguard.conf.new
diff --git a/network/squidGuard/rewrite.patch b/network/squidGuard/rewrite.patch
deleted file mode 100644
index 878a2af167..0000000000
--- a/network/squidGuard/rewrite.patch
+++ /dev/null
@@ -1,73 +0,0 @@
---- squidGuard-1.4.orig/src/main.c 2013-12-11 17:42:15.000000000 +1300
-+++ squidGuard-1.4.orig/src/main.c 2013-12-11 19:04:09.000000000 +1300
-@@ -175,7 +175,7 @@
- sgReloadConfig();
- }
- if(failsafe_mode) {
-- puts("");
-+ puts("ERR message=\"squidGuard failsafe mode\"");
- fflush(stdout);
- if(sig_hup){
- sgReloadConfig();
-@@ -184,7 +184,7 @@
- }
- if(parseLine(buf,&squidInfo) != 1){
- sgLogError("Error parsing squid line: %s",buf);
-- puts("");
-+ puts("BH message=\"squidGuard error parsing squid line\"");
- }
- else {
- src = Source;
-@@ -196,14 +196,14 @@
- acl = sgAclCheckSource(src);
- if((redirect = sgAclAccess(src,acl,&squidInfo)) == NULL){
- if(src == NULL || src->cont_search == 0){
-- puts("");
-+ puts("ERR");
- break;
- } else
- if(src->next != NULL){
- src = src->next;
- continue;
- } else {
-- puts("");
-+ puts("ERR");
- break;
- }
- } else {
-@@ -215,9 +215,10 @@
- squidInfo.ident[0] = '-';
- squidInfo.ident[1] = '\0';
- }
-- fprintf(stdout,"%s %s/%s %s %s\n",redirect,squidInfo.src,
-- squidInfo.srcDomain,squidInfo.ident,
-- squidInfo.method);
-+ if (isdigit(redirect[0]) && isdigit(redirect[1]) && isdigit(redirect[2]) && redirect[3]==':') {
-+ fprintf(stdout,"OK status=%c%c%c url=\"%s\"\n", redirect[0], redirect[1], redirect[2], &redirect[4]);
-+ } else
-+ fprintf(stdout,"OK rewrite-url=\"%s\"\n",redirect);
- /* sgLogError("%s %s/%s %s %s\n",redirect,squidInfo.src,squidInfo.srcDomain,squidInfo.ident,squidInfo.method); */
- break;
- }
---- squidGuard-1.4.orig/src/sgDiv.c 2013-12-11 17:42:15.000000000 +1300
-+++ squidGuard-1.4.orig/src/sgDiv.c 2013-12-11 18:58:33.000000000 +1300
-@@ -771,7 +771,7 @@
- }
- sgLogError("Going into emergency mode");
- while(fgets(buf, MAX_BUF, stdin) != NULL){
-- puts("");
-+ puts("ERR");
- fflush(stdout);
- }
- sgLogError("ending emergency mode, stdin empty");
---- squidGuard-1.4.orig/src/sgDiv.c.in 2013-12-11 17:42:15.000000000 +1300
-+++ squidGuard-1.4.orig/src/sgDiv.c.in 2013-12-11 18:58:40.000000000 +1300
-@@ -782,7 +782,7 @@
- }
- sgLogError("Going into emergency mode");
- while(fgets(buf, MAX_BUF, stdin) != NULL){
-- puts("");
-+ puts("ERR");
- fflush(stdout);
- }
- sgLogError("ending emergency mode, stdin empty");
diff --git a/network/squidGuard/slack-desc b/network/squidGuard/slack-desc
deleted file mode 100644
index 4b87692bf6..0000000000
--- a/network/squidGuard/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-squidGuard: squidGuard (URL redirector)
-squidGuard:
-squidGuard: SquidGuard is a URL redirector software used to use blacklists with
-squidGuard: the proxy software Squid.
-squidGuard:
-squidGuard:
-squidGuard:
-squidGuard:
-squidGuard:
-squidGuard:
-squidGuard: Homepage: http://www.squidguard.org
diff --git a/network/squidGuard/squidGuard.SlackBuild b/network/squidGuard/squidGuard.SlackBuild
deleted file mode 100644
index c79c786bb1..0000000000
--- a/network/squidGuard/squidGuard.SlackBuild
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for squidGuard
-
-# Written by Niki Kovacs <info@microlinux.fr>
-#
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=squidGuard
-VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Fixes a buffer overflow problem and prevents squidGuard from going into
-# emergency mode when overlong URLs are encountered (they can be perfectly
-# legal).
-
-# Fixes two bypass problems with URLs having a length closed to the defined
-# MAX_BUF value (4096).
-patch -p1 < $CWD/squidGuard.patch
-
-# Patch to fix compatibility with SquidGuard 3.4
-patch -p1 < $CWD/rewrite.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --with-sg-config=/etc/squidguard/squidguard.conf \
- --with-sg-logdir=/var/log/squidguard \
- --with-sg-dbhome=/var/lib/squidguard \
- --with-squiduser=nobody \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --htmldir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make prefix=$PKG/usr install
-
-mkdir -p $PKG/etc/squidguard
-mkdir -p $PKG/var/lib/squidguard
-mkdir -p $PKG/var/log/squidguard
-cat samples/sample.conf > $PKG/etc/squidguard/squidguard.conf.new
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCE CHANGELOG CONFIGURATION COPYING FAQ GPL INSTALL ISSUES.txt \
- README* samples/ doc/{*.html,*.txt,*.gif} \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/squidGuard/squidGuard.info b/network/squidGuard/squidGuard.info
deleted file mode 100644
index 33defaf45c..0000000000
--- a/network/squidGuard/squidGuard.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="squidGuard"
-VERSION="1.4"
-HOMEPAGE="http://www.squidguard.org"
-DOWNLOAD="http://www.squidguard.org/Downloads/squidGuard-1.4.tar.gz"
-MD5SUM="de834150998c1386c30feae196f16b06"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="squid"
-MAINTAINER="Niki Kovacs"
-EMAIL="info@microlinux.fr"
diff --git a/network/squidGuard/squidGuard.patch b/network/squidGuard/squidGuard.patch
deleted file mode 100644
index 46880baf67..0000000000
--- a/network/squidGuard/squidGuard.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-diff -Nur squidGuard-1.4.orig/src/sg.h.in squidGuard-1.4/src/sg.h.in
---- squidGuard-1.4.orig/src/sg.h.in 2007-11-16 23:58:32.000000000 +0700
-+++ squidGuard-1.4/src/sg.h.in 2015-02-07 22:26:18.632797069 +0700
-@@ -73,7 +73,7 @@
- #define REQUEST_TYPE_REDIRECT 2
- #define REQUEST_TYPE_PASS 3
-
--#define MAX_BUF 4096
-+#define MAX_BUF 12288
-
- #define DEFAULT_LOGFILE "squidGuard.log"
- #define WARNING_LOGFILE "squidGuard.log"
-diff -Nur squidGuard-1.4.orig/src/sgDiv.c.in squidGuard-1.4/src/sgDiv.c.in
---- squidGuard-1.4.orig/src/sgDiv.c.in 2008-07-14 23:02:43.000000000 +0700
-+++ squidGuard-1.4/src/sgDiv.c.in 2015-02-07 22:26:18.632797069 +0700
-@@ -745,7 +745,7 @@
- p++;
- break;
- case 'u': /* Requested URL */
-- strcat(buf, req->orig);
-+ strncat(buf, req->orig, 2048);
- p++;
- break;
- default:
-diff -Nur squidGuard-1.4.orig/src/sgLog.c squidGuard-1.4/src/sgLog.c
---- squidGuard-1.4.orig/src/sgLog.c 2007-11-16 23:58:32.000000000 +0700
-+++ squidGuard-1.4/src/sgLog.c 2015-02-07 22:26:39.122853889 +0700
-@@ -2,7 +2,7 @@
- By accepting this notice, you agree to be bound by the following
- agreements:
-
-- This software product, squidGuard, is copyrighted (C) 1998-2007
-+ This software product, squidGuard, is copyrighted (C) 1998-2009
- by Christine Kronberg, Shalla Secure Services. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify it
-@@ -55,8 +55,8 @@
- char msg[MAX_BUF];
- va_list ap;
- VA_START(ap, format);
-- if(vsprintf(msg, format, ap) > (MAX_BUF - 1))
-- fprintf(stderr,"overflow in vsprintf (sgLog): %s",strerror(errno));
-+ if(vsnprintf(msg, MAX_BUF, format, ap) > (MAX_BUF - 1))
-+ fprintf(stderr,"overflow in vsnprintf (sgLog): %s",strerror(errno));
- va_end(ap);
- date = niso(0);
- if(globalDebug || log == NULL) {
-@@ -87,8 +87,8 @@
- char msg[MAX_BUF];
- va_list ap;
- VA_START(ap, format);
-- if(vsprintf(msg, format, ap) > (MAX_BUF - 1))
-- sgLogFatalError("overflow in vsprintf (sgLogError): %s",strerror(errno));
-+ if(vsnprintf(msg, MAX_BUF, format, ap) > (MAX_BUF - 1))
-+ sgLog(globalErrorLog, "overflow in vsnprintf (sgLogError): %s",strerror(errno));
- va_end(ap);
- sgLog(globalErrorLog,"%s",msg);
- }
-@@ -104,8 +104,8 @@
- char msg[MAX_BUF];
- va_list ap;
- VA_START(ap, format);
-- if(vsprintf(msg, format, ap) > (MAX_BUF - 1))
-- return;
-+ if(vsnprintf(msg, MAX_BUF, format, ap) > (MAX_BUF - 1))
-+ sgLog(globalErrorLog, "overflow in vsnprintf (sgLogError): %s",strerror(errno));
- va_end(ap);
- sgLog(globalErrorLog,"%s",msg);
- sgEmergency();
diff --git a/network/squidanalyzer/README b/network/squidanalyzer/README
index 4689876293..8cc80e2926 100644
--- a/network/squidanalyzer/README
+++ b/network/squidanalyzer/README
@@ -1,3 +1,4 @@
-Squid Analyzer parses Squid proxy access log and reports general statistics
-about hits, bytes, users, networks, top URLs, and top second level domains.
-Statistic reports are oriented toward user and bandwidth control.
+Squid Analyzer parses Squid proxy access log and reports general
+statistics about hits, bytes, users, networks, top URLs, and top
+second level domains. Statistic reports are oriented toward user and
+bandwidth control.
diff --git a/network/squidanalyzer/squidanalyzer.SlackBuild b/network/squidanalyzer/squidanalyzer.SlackBuild
index 3a759a27a5..b1600bda1b 100644
--- a/network/squidanalyzer/squidanalyzer.SlackBuild
+++ b/network/squidanalyzer/squidanalyzer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for squidanalyzer
@@ -24,10 +24,13 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squidanalyzer
VERSION=${VERSION:-5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/squirrelmail/config.php b/network/squirrelmail/config.php.txt
index d901ee1885..d901ee1885 100644
--- a/network/squirrelmail/config.php
+++ b/network/squirrelmail/config.php.txt
diff --git a/network/squirrelmail/config_local.php b/network/squirrelmail/config_local.php.txt
index fb4ee5967a..fb4ee5967a 100644
--- a/network/squirrelmail/config_local.php
+++ b/network/squirrelmail/config_local.php.txt
diff --git a/network/squirrelmail/squirrelmail.SlackBuild b/network/squirrelmail/squirrelmail.SlackBuild
index b3ed6818f2..4ed8d6d18b 100644
--- a/network/squirrelmail/squirrelmail.SlackBuild
+++ b/network/squirrelmail/squirrelmail.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for squirrelmail
@@ -22,17 +22,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squirrelmail
VERSION=${VERSION:-1.4.22}
LOCALEVERSION=${LOCALEVERSION:-1.4.18-20090526}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="squirrelmail-webmail"
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -141,10 +151,10 @@ rm -f plugins/make_archive.pl
mkdir -p $PKG/etc/squirrelmail
-cp $CWD/config.php $PKG/etc/squirrelmail/config.php
+cp $CWD/config.php.txt $PKG/etc/squirrelmail/config.php
ln -sf /etc/squirrelmail/config.php config/config.php
-cp $CWD/config_local.php $PKG/etc/squirrelmail/config_local.php
+cp $CWD/config_local.php.txt $PKG/etc/squirrelmail/config_local.php
ln -sf /etc/squirrelmail/config_local.php config/config_local.php
mv plugins/squirrelspell/sqspell_config.php \
@@ -170,4 +180,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ssh-chat/ssh-chat.SlackBuild b/network/ssh-chat/ssh-chat.SlackBuild
index 8227429ec8..6789a83a8f 100644
--- a/network/ssh-chat/ssh-chat.SlackBuild
+++ b/network/ssh-chat/ssh-chat.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ssh-chat
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ssh-chat
VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,4 +66,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ssh-chat/ssh-chat.info b/network/ssh-chat/ssh-chat.info
index 82a1e31182..d6b45badb5 100644
--- a/network/ssh-chat/ssh-chat.info
+++ b/network/ssh-chat/ssh-chat.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64="https://github.com/shazow/ssh-chat/releases/download/v1.10/ssh-
MD5SUM_x86_64="624d31da8f76331bc03bd07f3ff6fd4c"
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/sshblock/sshblock.SlackBuild b/network/sshblock/sshblock.SlackBuild
index 7bf7cbc82e..e5828b544d 100644
--- a/network/sshblock/sshblock.SlackBuild
+++ b/network/sshblock/sshblock.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sshblock
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sshblock
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sshfp/sshfp.SlackBuild b/network/sshfp/sshfp.SlackBuild
index 2415f1fb6d..40d790dc9f 100644
--- a/network/sshfp/sshfp.SlackBuild
+++ b/network/sshfp/sshfp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "sshfp".
@@ -24,26 +24,36 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sshfp
VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sshfp/sshfp.info b/network/sshfp/sshfp.info
index 4ae6fa9d3e..6d3fc1c2bb 100644
--- a/network/sshfp/sshfp.info
+++ b/network/sshfp/sshfp.info
@@ -1,10 +1,10 @@
PRGNAM="sshfp"
VERSION="1.2.2"
HOMEPAGE="https://github.com/xelerance/sshfp"
-DOWNLOAD="https://github.com/xelerance/sshfp/archive/1.2.2.tar.gz"
+DOWNLOAD="https://github.com/xelerance/sshfp/archive/1.2.2/sshfp-1.2.2.tar.gz"
MD5SUM="3cedcc3463e72196ee2028543d03ebfc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dnspython python-ipcalc ldns"
+REQUIRES="python-ipcalc ldns"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/network/sshfs-fuse/README b/network/sshfs-fuse/README
deleted file mode 100644
index 4b484d5915..0000000000
--- a/network/sshfs-fuse/README
+++ /dev/null
@@ -1,12 +0,0 @@
-sshfs-fuse (ssh file system module for FUSE)
-
-SSHFS (Secure SHell FileSystem) is a file system for Linux capable of
-operating on files on a remote computer using just a secure shell login
-on the remote computer. On the local computer where the SSHFS is mounted,
-the implementation makes use of the FUSE (Filesystem in Userspace)
-kernel module.
-
-The practical effect of this is that the end user can seamlessly interact
-with remote files being securely served over SSH just as if they were
-local files on his/her computer. On the remote computer the SFTP subsystem
-of SSH is used.
diff --git a/network/sshfs-fuse/slack-desc b/network/sshfs-fuse/slack-desc
deleted file mode 100644
index 7e342f6fac..0000000000
--- a/network/sshfs-fuse/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-sshfs-fuse: sshfs-fuse (ssh file system module for FUSE)
-sshfs-fuse:
-sshfs-fuse: This is a filesystem client based on the SSH File Transfer
-sshfs-fuse: Protocol. Since most SSH servers already support this protocol it
-sshfs-fuse: is very easy to set up: i.e. on the server side there's nothing
-sshfs-fuse: to do. On the client side mounting the filesystem is as easy as
-sshfs-fuse: logging into the server with ssh.
-sshfs-fuse:
-sshfs-fuse:
-sshfs-fuse:
-sshfs-fuse:
diff --git a/network/sshfs-fuse/sshfs-fuse.SlackBuild b/network/sshfs-fuse/sshfs-fuse.SlackBuild
deleted file mode 100644
index c473ebeec4..0000000000
--- a/network/sshfs-fuse/sshfs-fuse.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Copyright 2006-2009 Alan Hicks, Lizella, GA
-# Copyright 2012, Michiel van Wessem, Leicester, United Kingdom
-# Copyright 2020, B. Watson
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Now maintained by B. Watson <yalhcru@gmail.com>
-
-# 20201208 bkw: update for v3.7.1.
-# 20200804 bkw: update for v3.7.0.
-# 20200101 bkw:
-# - take over maintenance
-# - update for v3.6.0. too many changes to build old versions.
-
-PRGNAM=sshfs-fuse
-SRCNAM=sshfs
-VERSION=${VERSION:-3.7.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
-cd $SRCNAM-$VERSION
-chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-
-mkdir build
-cd build
- CFLAGS="-Wl,-s $SLKCFLAGS" \
- CXXFLAGS="-Wl,-s $SLKCFLAGS" \
- meson .. \
- --buildtype=release \
- --infodir=/usr/info \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --localstatedir=/var \
- --mandir=/usr/man \
- --prefix=/usr \
- --sysconfdir=/etc
- ninja
- DESTDIR=$PKG ninja install
-cd ..
-
-# Use prebuilt man page, so this build doesn't depend on docutils.
-# Don't use the one installed by ninja, if there was one.
-MANDIR=$PKG/usr/man/man1
-rm -f $MANDIR/$SRCNAM.1
-mkdir -p $MANDIR
-cat $CWD/$SRCNAM.1.gz > $MANDIR/$SRCNAM.1.gz
-
-# We got symlinks for commands, so link the man pages too. Slightly
-# wrong, as the linked commands are in /usr/sbin, but the man page
-# is section 1 (not 8). I can live with it.
-ln -s $SRCNAM.1.gz $MANDIR/mount.fuse.sshfs.1.gz
-ln -s $SRCNAM.1.gz $MANDIR/mount.sshfs.1.gz
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog* README* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/sshfs-fuse/sshfs-fuse.info b/network/sshfs-fuse/sshfs-fuse.info
deleted file mode 100644
index 54bb56b52e..0000000000
--- a/network/sshfs-fuse/sshfs-fuse.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sshfs-fuse"
-VERSION="3.7.1"
-HOMEPAGE="https://github.com/libfuse/sshfs"
-DOWNLOAD="https://github.com/libfuse/sshfs/releases/download/sshfs-3.7.1/sshfs-3.7.1.tar.xz"
-MD5SUM="22ac23d05ca7c56fb568627f086374d0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="meson fuse3"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/network/sshfs-fuse/sshfs.1.gz b/network/sshfs-fuse/sshfs.1.gz
deleted file mode 100644
index 182444d7a1..0000000000
--- a/network/sshfs-fuse/sshfs.1.gz
+++ /dev/null
Binary files differ
diff --git a/network/sshguard/README b/network/sshguard/README
index e20330a6c7..fd59f1d8b6 100644
--- a/network/sshguard/README
+++ b/network/sshguard/README
@@ -1,14 +1,23 @@
-SSHGuard protects hosts from brute-force attacks against SSH and other services.
-It has been written entirely in C and has no external dependencies and no
-configuration file. SSHGuard aggregates system logs and blocks repeat offenders.
-It can read log messages from standard input (suitable for piping from syslog)
-or monitor one or more log files. Log messages are parsed, line-by-line, for
-recognized patterns. If an attack, such as several login failures within a few
-seconds, is detected, the offending IP is blocked. Offenders are unblocked after
-a set interval, but can be semi-permanently banned using the blacklist option.
+sshguard protects hosts from brute-force attacks against SSH and other
+services. It aggregates system logs and blocks repeat offenders using
+one of several firewall backends, including iptables, ipfw, and pf.
+
+sshguard can read log messages from standard input (suitable for piping
+from syslog) or monitor one or more log files. Log messages are parsed,
+line-by-line, for recognized patterns. If an attack, such as several
+login failures within a few seconds, is detected, the offending IP is
+blocked. Offenders are unblocked after a set interval, but can be semi-
+permanently banned using the blacklist option.
IMPORTANT:
-You will need to properly set up "sshguard" chain in iptables. For further
-information PLEASE CONSULT MAN PAGE, installed together with this package.
-The information available on the website tends to be outdated, (it is well
-worth reading anyway).
+
+1. You will need to properly set up an "sshguard" chain in your firewall
+ backend. For further information consult `sshguard-setup(7)`.
+
+2. Starting with version 2.0.0, SSHGuard **requires** a config file
+ to start. `sshguard.conf` as shipped with this SlackBuild provides
+ defaults such that they reassemble the values that were previously
+ specified on the command line in the `rc.sshguard` script.
+
+ See `examples/sshguard.conf.sample` in the doc directory for
+ additional config options.
diff --git a/network/sshguard/doinst.sh b/network/sshguard/doinst.sh
index 8e1f832831..ff3107fbc3 100644
--- a/network/sshguard/doinst.sh
+++ b/network/sshguard/doinst.sh
@@ -19,4 +19,5 @@ preserve_perms() {
config $NEW
}
+config etc/sshguard.conf.new
preserve_perms etc/rc.d/rc.sshguard.new
diff --git a/network/sshguard/rc.sshguard b/network/sshguard/rc.sshguard
index 24c4f29d88..c08033b3c7 100644
--- a/network/sshguard/rc.sshguard
+++ b/network/sshguard/rc.sshguard
@@ -1,45 +1,105 @@
-#!/bin/sh
+#!/bin/bash
+
+declare -r daemon_name=sshguard
+declare -r daemon_prog=/usr/sbin/sshguard
+
+################################################################################
+the_daemon()
+################################################################################
+{
+ daemon --name "${daemon_name}" "${@}"
+}
################################################################################
-sshguard_start() {
+the_damon_start()
################################################################################
- if [ -n "$(pidof sshguard)" ]; then
- echo "sshguard seems to be already running."
- return
- fi
+{
+ if ! the_daemon --running; then
+ echo "Starting ${daemon_name}: ${daemon_prog}"
- /usr/sbin/sshguard -l /var/log/messages 1>/dev/null &
+ the_daemon -- ${daemon_prog}
+ else
+ echo "${daemon_name} seems to be already running."
+ fi
}
################################################################################
-sshguard_stop() {
+the_damon_stop()
################################################################################
- if [ -z "$(pidof sshguard)" ]; then
- echo "sshguard does not seem to be running."
- return
- fi
+{
+ if the_daemon --running; then
+ echo "Stopping ${daemon_name}."
- kill $(pidof sshguard)
+ the_daemon --stop
+ else
+ echo "${daemon_name} does not seem to be running."
+ fi
}
################################################################################
-sshguard_restart() {
+the_damon_restart()
################################################################################
- sshguard_stop
- sleep 1
- sshguard_start
+{
+ if the_daemon --running; then
+ the_damon_stop
+ the_daemon_wait_stopped
+ the_damon_start
+ else
+ echo "${daemon_name} does not seem to be running."
+ fi
}
-case "$1" in
-'start')
- sshguard_start
- ;;
-'stop')
- sshguard_stop
- ;;
-'restart')
- sshguard_restart
- ;;
+################################################################################
+the_daemon_wait_stopped()
+################################################################################
+{
+ # All time values given in a unit of 0.1 second.
+
+ local -r timeout=50
+ local delay=1
+ local delay_sum=0
+ local -r test_expr=(the_daemon --running)
+
+ # Poll (with timeout) for the daemon to exit.
+
+ while "${test_expr[@]}" && [[ ${delay_sum} -lt ${timeout} ]]; do
+ sleep $(echo "${delay} / 10.0" | bc -l)
+ delay_sum=$((delay_sum + delay))
+
+ # Double the delay in each iteration to lower the CPU use.
+
+ delay=$((delay * 2))
+
+ # Adjust next's iteration delay prevent waiting longer than _timeout_
+ # in case the time already waited and the delay to be waited in
+ # the next iteration would be greater than the requested _timeout_.
+
+ if [[ $((delay_sum + delay)) -gt ${timeout} ]]; then
+ delay=$((timeout - delay_sum))
+ fi
+ done
+
+ if "${test_expr[@]}"; then
+ echo "Timeout waiting for ${daemon_name} to stop."
+
+ exit 1
+ fi
+}
+
+case "${1}" in
+start)
+ the_damon_start
+;;
+
+stop)
+ the_damon_stop
+;;
+
+restart)
+ the_damon_restart
+;;
+
*)
- echo "usage: $0 start|stop|restart"
+ echo "usage: ${0} start|stop|restart"
+;;
esac
diff --git a/network/sshguard/slack-desc b/network/sshguard/slack-desc
index 2747ed7241..3ff04458b1 100644
--- a/network/sshguard/slack-desc
+++ b/network/sshguard/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
sshguard: sshguard (SSH brute-force attack protection)
sshguard:
-sshguard: SSHGuard protects hosts from brute-force attacks against SSH and
-sshguard: other services. It aggregates system logs and blocks repeat
-sshguard: offenders. SSHGuard can read log messages from standard input
-sshguard: (suitable for piping from syslog) or monitor one or more log files.
-sshguard: If an attack, such as several login failures within a few seconds,
-sshguard: is detected, the offending IP is blocked.
+sshguard: sshguard protects hosts from brute-force attacks against SSH and other
+sshguard: services. It aggregates system logs and blocks repeat offenders using
+sshguard: one of several firewall backends, including iptables, ipfw, and pf.
sshguard:
sshguard: Homepage: https://www.sshguard.net/
sshguard:
+sshguard:
+sshguard:
+sshguard:
diff --git a/network/sshguard/sshguard.SlackBuild b/network/sshguard/sshguard.SlackBuild
index 77957fcac4..45b565d94a 100644
--- a/network/sshguard/sshguard.SlackBuild
+++ b/network/sshguard/sshguard.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sshguard
-# Copyright 2016 Andrzej Telszewski, Banie
+# Copyright 2022 Andrzej Telszewski, Koszalin
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sshguard
-VERSION=${VERSION:-1.7.0}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,27 +61,25 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+chmod -R a-st,u+rwX,go-w+rX .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --sysconfdir=/etc \
--mandir=/usr/man \
- --with-firewall=iptables \
--build=$ARCH-slackware-linux
make
@@ -83,6 +88,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/etc
+cat $CWD/${PRGNAM}.conf > $PKG/etc/${PRGNAM}.conf.new
+
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
@@ -90,13 +98,13 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/{developers,setup,sshguard.8}.rst examples CHANGELOG.rst COPYING \
- README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/{sshguard-setup.7,sshguard.8}.rst examples COPYING \
+ {CHANGELOG,CONTRIBUTING,README}.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sshguard/sshguard.conf b/network/sshguard/sshguard.conf
new file mode 100644
index 0000000000..07c13b3e45
--- /dev/null
+++ b/network/sshguard/sshguard.conf
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# sshguard.conf -- SSHGuard configuration
+# Based on /usr/doc/sshguard-2.4.2/examples/sshguard.conf.sample
+
+# Full path to backend executable.
+
+BACKEND="/usr/libexec/sshg-fw-iptables"
+
+# Space-separated list of log files to monitor.
+
+FILES="/var/log/messages"
+
+# Do not provide PID file path.
+# It is handled by daemon(1).
+
+PID_FILE=
diff --git a/network/sshguard/sshguard.info b/network/sshguard/sshguard.info
index 06a268516c..efdd417d4b 100644
--- a/network/sshguard/sshguard.info
+++ b/network/sshguard/sshguard.info
@@ -1,10 +1,10 @@
PRGNAM="sshguard"
-VERSION="1.7.0"
+VERSION="2.4.2"
HOMEPAGE="https://www.sshguard.net/"
-DOWNLOAD="https://download.sourceforge.net/project/sshguard/sshguard/1.7.0/sshguard-1.7.0.tar.gz"
-MD5SUM="db251a2e31cb5af203d10c42be33ea9c"
+DOWNLOAD="https://download.sourceforge.net/project/sshguard/sshguard/2.4.2/sshguard-2.4.2.tar.gz"
+MD5SUM="0f83f5e7e1b197fb3bd4e9dfe9e601e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+EMAIL="andrzej@telszewski.com"
diff --git a/network/sshpass/sshpass.SlackBuild b/network/sshpass/sshpass.SlackBuild
index 595700a06c..095b482ac1 100644
--- a/network/sshpass/sshpass.SlackBuild
+++ b/network/sshpass/sshpass.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sshpass
@@ -23,26 +23,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sshpass
VERSION=${VERSION:-1.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sshuttle/sshuttle.SlackBuild b/network/sshuttle/sshuttle.SlackBuild
index 4815edb73c..75a3fd87c8 100644
--- a/network/sshuttle/sshuttle.SlackBuild
+++ b/network/sshuttle/sshuttle.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "sshuttle".
# Yth | Pont-en-Royans, France | yth@ythogtha.org
@@ -25,26 +25,36 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sshuttle
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -52,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -72,15 +85,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
-
-mkdir -p $PKG/usr/man/man8
-cat $TMP/$PRGNAM-$VERSION/Documentation/$PRGNAM.8 | gzip -9c > \
-$PKG/usr/man/man8/$PRGNAM.8.gz
+python3 -m build --no-isolation
+python3 -m installer -d "$PKG" dist/*.whl
+# python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES.rst LICENSE README.rst \
+ *.rst LICENSE README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -88,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sshuttle/sshuttle.info b/network/sshuttle/sshuttle.info
index bf996f1487..c82c310300 100644
--- a/network/sshuttle/sshuttle.info
+++ b/network/sshuttle/sshuttle.info
@@ -1,10 +1,10 @@
PRGNAM="sshuttle"
-VERSION="1.0.5"
+VERSION="1.1.2"
HOMEPAGE="https://github.com/sshuttle/sshuttle"
-DOWNLOAD="https://pypi.python.org/packages/source/s/sshuttle/sshuttle-1.0.5.tar.gz"
-MD5SUM="10c9765f2cc2a3e3e080a4a218428cc4"
+DOWNLOAD="https://pypi.python.org/packages/source/s/sshuttle/sshuttle-1.1.2.tar.gz"
+MD5SUM="1c7bf12ae8ed576b16d1e2b144835863"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES="python3-poetry-core"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"
diff --git a/network/sslh/sslh.SlackBuild b/network/sslh/sslh.SlackBuild
index 1490c14546..0b2eda07c8 100644
--- a/network/sslh/sslh.SlackBuild
+++ b/network/sslh/sslh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sslh
@@ -6,10 +6,13 @@
# Script created by mara <mara@fail.pp.ua>
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sslh
VERSION=${VERSION:-1.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ssllabs-scan/ssllabs-scan.SlackBuild b/network/ssllabs-scan/ssllabs-scan.SlackBuild
index a7616655de..330b372912 100644
--- a/network/ssllabs-scan/ssllabs-scan.SlackBuild
+++ b/network/ssllabs-scan/ssllabs-scan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ssllabs-scan
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ssllabs-scan
VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sslscan/sslscan.SlackBuild b/network/sslscan/sslscan.SlackBuild
index 1c54f3a741..7110db9a7d 100644
--- a/network/sslscan/sslscan.SlackBuild
+++ b/network/sslscan/sslscan.SlackBuild
@@ -1,11 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sslscan
# Copyright (c) 2010 Markus Reichelt, Aachen, DE
# Copyright (c) 2014 Andrew Clemons, Wellington, New Zealand
# Copyright (c) 2015 Andrew Clemons, Leimen, Germany
-# Copyright (c) 2016-2021 Andrew Clemons, Wellington, New Zealand
+# Copyright (c) 2016-2022 Andrew Clemons, Wellington, New Zealand
+# Copyright (c) 2022-2024 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -32,10 +33,13 @@
# Andrew Clemons
# 2014-10-23 - changed to build rbsec's fork from github
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sslscan
-VERSION=${VERSION:-2.0.8}
+VERSION=${VERSION:-2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +49,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,6 +64,8 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
else
SLKCFLAGS="-O2"
fi
@@ -75,7 +85,7 @@ sed -i "s/^GIT_VERSION = .*$/GIT_VERSION = $VERSION/" Makefile
STATIC=${STATIC:-yes}
if [ "$STATIC" = "yes" ] ; then
- OPENSSLVERSION=${OPENSSLVERSION:-3a6e6b1f94ae41e2fd73483464c9c80ddcf30d17}
+ OPENSSLVERSION=${OPENSSLVERSION:-openssl-3.0.12}
tar xf "$CWD/openssl-$OPENSSLVERSION.tar.gz"
mv "openssl-$OPENSSLVERSION" openssl
fi
@@ -92,9 +102,9 @@ mkdir -p $PKG/usr/bin $PKG/usr/man/man1
sed -i "s|share/man|man|" Makefile
if [ "$STATIC" = "yes" ] ; then
- CLFAGS=$SLKCFLAGS make -j1 static
+ CLFAGS=$SLKCFLAGS make static
else
- CLFAGS=$SLKCFLAGS make -j1
+ CLFAGS=$SLKCFLAGS make
fi
make install DESTDIR=$PKG
@@ -102,14 +112,15 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec chmod 0644 {} \;
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Changelog INSTALL LICENSE README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changelog LICENSE README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sslscan/sslscan.info b/network/sslscan/sslscan.info
index 455e42af91..af908d6c42 100644
--- a/network/sslscan/sslscan.info
+++ b/network/sslscan/sslscan.info
@@ -1,10 +1,10 @@
PRGNAM="sslscan"
-VERSION="2.0.8"
+VERSION="2.1.3"
HOMEPAGE="https://github.com/rbsec/sslscan"
-DOWNLOAD="https://github.com/rbsec/sslscan/archive/2.0.8/sslscan-2.0.8.tar.gz \
- https://github.com/openssl/openssl/archive/3a6e6b1f94ae41e2fd73483464c9c80ddcf30d17/openssl-3a6e6b1f94ae41e2fd73483464c9c80ddcf30d17.tar.gz"
-MD5SUM="40dda65370f39662a31a4481d02fcfbb \
- 97f8a55dad018196ee59ef17e62f486e"
+DOWNLOAD="https://github.com/rbsec/sslscan/archive/2.1.3/sslscan-2.1.3.tar.gz \
+ https://github.com/openssl/openssl/archive/openssl-3.0.12/openssl-openssl-3.0.12.tar.gz"
+MD5SUM="68f3e535c7343c0bdb79796d73d51a13 \
+ 1729299909f326bbabad5a5a3543c69b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/sslstrip/README b/network/sslstrip/README
deleted file mode 100644
index 3dc16f6912..0000000000
--- a/network/sslstrip/README
+++ /dev/null
@@ -1,6 +0,0 @@
-sslstrip (HTTPS ssl stripping)
-
-This tool provides a demonstration of the HTTPS stripping attacks.
-It will transparently hijack HTTP traffic on a network, watch for
-HTTPS links and redirects, then map those links into either
-look-alike HTTP links or homograph-similar HTTPS links.
diff --git a/network/sslstrip/slack-desc b/network/sslstrip/slack-desc
deleted file mode 100644
index 9c9d6bc6d4..0000000000
--- a/network/sslstrip/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-sslstrip: sslstrip (HTTPS ssl stripping)
-sslstrip:
-sslstrip: This tool provides a demonstration of the HTTPS stripping attacks.
-sslstrip: It will transparently hijack HTTP traffic on a network, watch for
-sslstrip: HTTPS links and redirects, then map those links into either
-sslstrip: look-alike HTTP links or homograph-similar HTTPS links.
-sslstrip:
-sslstrip: Homepage: http://www.thoughtcrime.org/software/sslstrip/
-sslstrip:
-sslstrip:
-sslstrip:
diff --git a/network/sslstrip/sslstrip.SlackBuild b/network/sslstrip/sslstrip.SlackBuild
deleted file mode 100644
index bab0f3f2b1..0000000000
--- a/network/sslstrip/sslstrip.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sslstrip
-
-# Copyright 2011 Vincent Batts, Vienna, VA, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=sslstrip
-VERSION=${VERSION:-0.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README COPYING \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/sslstrip/sslstrip.info b/network/sslstrip/sslstrip.info
deleted file mode 100644
index a10d8137c4..0000000000
--- a/network/sslstrip/sslstrip.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sslstrip"
-VERSION="0.9"
-HOMEPAGE="http://www.thoughtcrime.org/software/sslstrip/"
-DOWNLOAD="http://www.thoughtcrime.org/software/sslstrip/sslstrip-0.9.tar.gz"
-MD5SUM="944020144e4f5528888b3dfbb107dd78"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="pyOpenSSL python-twisted"
-MAINTAINER="Vincent Batts"
-EMAIL="vbatts@hashbangbash.com"
diff --git a/network/ssmtp/README b/network/ssmtp/README
index 515b0d4d46..bc2832f727 100644
--- a/network/ssmtp/README
+++ b/network/ssmtp/README
@@ -1,8 +1,17 @@
-sSMTP, replaces sendmail on workstations that should send their mail via the
-departmental mailhub from which they pick up their mail (via pop, imap, rsmtp,
-pop_fetch, NFS... or the like). This program accepts mail and sends it to the
-mailhub, optionally replacing the domain in the From: line with a different
-one.
+ssmtp (extremely simple MTA to get mail off the system to a mail hub)
-NOTE:
-After installing, please run /usr/sbin/generate_config /etc/ssmtp/ssmtp.conf
+sSMTP, replaces sendmail on workstations that should send their mail
+via the departmental mailhub from which they pick up their mail (via
+pop, imap, rsmtp, pop_fetch, NFS... or the like). This program accepts
+mail and sends it to the mailhub, optionally replacing the domain in
+the From: line with a different one.
+
+Normally, when using ssmtp, you want to remove the OS's MTA
+package(s), sendmail and/or postfix. In this case, ssmtp will
+be symlinked to /usr/sbin/sendmail, and software that sends mail
+shouldn't have to be modified. If you keep sendmail/postfix installed,
+there's no conflict, but any software that sends mail will have to be
+configured or modified to use /usr/sbin/ssmtp.
+
+NOTE: After installing, you'll want to edit "/etc/ssmtp/ssmtp.conf".
+There's a man page for it (man ssmtp.conf).
diff --git a/network/ssmtp/doinst.sh b/network/ssmtp/doinst.sh
index a96179b56e..ec579a9543 100644
--- a/network/ssmtp/doinst.sh
+++ b/network/ssmtp/doinst.sh
@@ -1,5 +1,17 @@
-if [ ! -e /usr/sbin/sendmail ];then
- ln -s ssmtp /usr/sbin/sendmail
-else
- echo '/usr/sbin/sendmail already exists!'
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+config etc/ssmtp/revaliases.new
+config etc/ssmtp/ssmtp.conf.new
+
+# If there's no sendmail link, take over:
+if [ ! -r usr/sbin/sendmail ]; then
+ ( cd usr/sbin ; ln -sf ssmtp sendmail )
fi
diff --git a/network/ssmtp/patches/01-configure_lcrypto.diff.gz b/network/ssmtp/patches/01-configure_lcrypto.diff.gz
deleted file mode 100644
index a819caf670..0000000000
--- a/network/ssmtp/patches/01-configure_lcrypto.diff.gz
+++ /dev/null
Binary files differ
diff --git a/network/ssmtp/patches/02-configure_in_lcrypto.diff.gz b/network/ssmtp/patches/02-configure_in_lcrypto.diff.gz
deleted file mode 100644
index ea8d2e48f6..0000000000
--- a/network/ssmtp/patches/02-configure_in_lcrypto.diff.gz
+++ /dev/null
Binary files differ
diff --git a/network/ssmtp/patches/03-557741-remote-addr.patch b/network/ssmtp/patches/03-557741-remote-addr.patch
new file mode 100644
index 0000000000..03efa81cd6
--- /dev/null
+++ b/network/ssmtp/patches/03-557741-remote-addr.patch
@@ -0,0 +1,28 @@
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557741
+
+Patch by Victor Sudakov <sudakov@sibptus.tomsk.ru>
+Modified by Anibal Monsalve Salazar <anibal@debian.org>
+
+Index: ssmtp-2.64/ssmtp.c
+===================================================================
+--- ssmtp-2.64.orig/ssmtp.c
++++ ssmtp-2.64/ssmtp.c
+@@ -1421,6 +1421,7 @@ ssmtp() -- send the message (exactly one
+ int ssmtp(char *argv[])
+ {
+ char b[(BUF_SZ + 2)], *buf = b+1, *p, *q;
++ char *remote_addr;
+ #ifdef MD5AUTH
+ char challenge[(BUF_SZ + 1)];
+ #endif
+@@ -1624,6 +1625,10 @@ int ssmtp(char *argv[])
+ outbytes += smtp_write(sock, "From: %s", from);
+ }
+
++ if(remote_addr=getenv("REMOTE_ADDR")) {
++ outbytes += smtp_write(sock, "X-Originating-IP: %s", remote_addr);
++ }
++
+ if(have_date == False) {
+ outbytes += smtp_write(sock, "Date: %s", arpadate);
+ }
diff --git a/network/ssmtp/patches/04-508759-garbage.patch b/network/ssmtp/patches/04-508759-garbage.patch
new file mode 100644
index 0000000000..3e53f8bcb8
--- /dev/null
+++ b/network/ssmtp/patches/04-508759-garbage.patch
@@ -0,0 +1,23 @@
+Common subdirectories: ssmtp-original/debian and ssmtp-2.62/debian
+Common subdirectories: ssmtp-original/md5auth and ssmtp-2.62/md5auth
+Common subdirectories: ssmtp-original/.pc and ssmtp-2.62/.pc
+Index: ssmtp-2.64/ssmtp.c
+===================================================================
+--- ssmtp-2.64.orig/ssmtp.c
++++ ssmtp-2.64/ssmtp.c
+@@ -1674,12 +1674,12 @@ int ssmtp(char *argv[])
+ outbytes += smtp_write(sock, "%s", leadingdot ? b : buf);
+ } else {
+ if (log_level > 0) {
+- log_event(LOG_INFO, "Sent a very long line in chunks");
++ log_event(LOG_INFO, "Sending a partial line");
+ }
+ if (leadingdot) {
+- outbytes += fd_puts(sock, b, sizeof(b));
++ outbytes += fd_puts(sock, b, strlen(b));
+ } else {
+- outbytes += fd_puts(sock, buf, bufsize);
++ outbytes += fd_puts(sock, buf, strlen(buf));
+ }
+ }
+ (void)alarm((unsigned) MEDWAIT);
diff --git a/network/ssmtp/patches/fix-tls1.3-handshake.patch b/network/ssmtp/patches/fix-tls1.3-handshake.patch
new file mode 100644
index 0000000000..a84f45b84a
--- /dev/null
+++ b/network/ssmtp/patches/fix-tls1.3-handshake.patch
@@ -0,0 +1,24 @@
+Subject: Fix TLS 1.3 handshake
+From: Jeff King <peff@peff.net>
+Bug-Debian: https://bugs.debian.org/932605
+Last-Update: 2019-08-13
+
+diff --git a/ssmtp.c b/ssmtp.c
+index 7ab79ab..6b2b9d0 100644
+--- a/ssmtp.c
++++ b/ssmtp.c
+@@ -1291,8 +1291,12 @@ fd_getc() -- Read a character from an fd
+ ssize_t fd_getc(int fd, void *c)
+ {
+ #ifdef HAVE_SSL
+- if(use_tls == True) {
+- return(SSL_read(ssl, c, 1));
++ if(use_tls == True) {
++ int attempt = 3;
++ int ret = 0;
++ while (attempt-- > 0 && ret == 0)
++ ret = SSL_read(ssl, c, 1);
++ return ret;
+ }
+ #endif
+ return(read(fd, c, 1));
diff --git a/network/ssmtp/patches/ssmtp-bug584162-fix.patch b/network/ssmtp/patches/ssmtp-bug584162-fix.patch
new file mode 100644
index 0000000000..17ab1d908e
--- /dev/null
+++ b/network/ssmtp/patches/ssmtp-bug584162-fix.patch
@@ -0,0 +1,120 @@
+Bug-Debian: http://bugs.debian.org/584162
+Reported-By: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: not-needed
+Reviewed-By: Anibal Monsalve Salazar <anibal@debian.org>
+Last-Update: 2014-08-15
+
+From: "Daniel Richard G." <skunk@iSKUNK.ORG>
+Subject: Re: ssmtp: Partial loss of message body, sending message to wrong recipicients
+Date: Thu, 19 Jun 2014 14:44:30 -0400
+
+Attached is a patch against the original 2.64 source that should address
+this bug, and hopefully not break anything. An overview of my changes:
+
+* Added code to standarise() to drop the trailing '\r' if the line
+ originally ended with "\r\n".
+
+* Added a check to header_parse() that effectively converts an "\r\n" in
+ the input into '\n'.
+
+* Added a conditional so that header_parse() doesn't pass the empty
+ string to header_save()---a behavior I observed in testing, at the end
+ of a header block with "\r\n" line endings.
+
+* Simplified the last if(in_header) conditional in header_parse(),
+ because it erroneously assumes that if in_header == True, then c could
+ have some value other than EOF. (See the condition on the previous
+ "while" loop, and the lack of any other way to exit said loop.)
+
+ header_parse() will now properly grab a header if fed a message
+ without a body (i.e. no "\n\n" ending the header block), although this
+ code will still drop a header if there is no newline at the end.
+
+Christoph, thank you for your excellent analysis, and the test cases. I
+made use of them, and with my changes sSMTP appears to do the right
+thing.
+
+Index: ssmtp-2.64/ssmtp.c
+===================================================================
+--- ssmtp-2.64.orig/ssmtp.c
++++ ssmtp-2.64/ssmtp.c
+@@ -375,6 +375,12 @@ bool_t standardise(char *str, bool_t *li
+ if((p = strchr(str, '\n'))) {
+ *p = (char)NULL;
+ *linestart = True;
++
++ /* If the line ended in "\r\n", then drop the '\r' too */
++ sl = strlen(str);
++ if(sl >= 1 && str[sl - 1] == '\r') {
++ str[sl - 1] = (char)NULL;
++ }
+ }
+ return(leadingdot);
+ }
+@@ -768,6 +774,14 @@ void header_parse(FILE *stream)
+ }
+ len++;
+
++ if(l == '\r' && c == '\n') {
++ /* Properly handle input that already has "\r\n"
++ line endings; see https://bugs.debian.org/584162 */
++ l = (len >= 2 ? *(q - 2) : '\n');
++ q--;
++ len--;
++ }
++
+ if(l == '\n') {
+ switch(c) {
+ case ' ':
+@@ -790,7 +804,9 @@ void header_parse(FILE *stream)
+ if((q = strrchr(p, '\n'))) {
+ *q = (char)NULL;
+ }
+- header_save(p);
++ if(len > 0) {
++ header_save(p);
++ }
+
+ q = p;
+ len = 0;
+@@ -800,35 +816,12 @@ void header_parse(FILE *stream)
+
+ l = c;
+ }
+- if(in_header) {
+- if(l == '\n') {
+- switch(c) {
+- case ' ':
+- case '\t':
+- /* Must insert '\r' before '\n's embedded in header
+- fields otherwise qmail won't accept our mail
+- because a bare '\n' violates some RFC */
+-
+- *(q - 1) = '\r'; /* Replace previous \n with \r */
+- *q++ = '\n'; /* Insert \n */
+- len++;
+-
+- break;
+-
+- case '\n':
+- in_header = False;
+-
+- default:
+- *q = (char)NULL;
+- if((q = strrchr(p, '\n'))) {
+- *q = (char)NULL;
+- }
+- header_save(p);
+-
+- q = p;
+- len = 0;
+- }
++ if(in_header && l == '\n') {
++ /* Got EOF while reading the header */
++ if((q = strrchr(p, '\n'))) {
++ *q = (char)NULL;
+ }
++ header_save(p);
+ }
+ (void)free(p);
+ }
diff --git a/network/ssmtp/patches/zzz_fix_warnings.patch b/network/ssmtp/patches/zzz_fix_warnings.patch
new file mode 100644
index 0000000000..936dc0d4c4
--- /dev/null
+++ b/network/ssmtp/patches/zzz_fix_warnings.patch
@@ -0,0 +1,189 @@
+diff -Naur ssmtp-2.64/ssmtp.c ssmtp-2.64.patched/ssmtp.c
+--- ssmtp-2.64/ssmtp.c 2021-09-25 20:31:20.120006571 -0400
++++ ssmtp-2.64.patched/ssmtp.c 2021-09-25 20:42:51.453926150 -0400
+@@ -55,21 +55,21 @@
+
+ #define ARPADATE_LENGTH 32 /* Current date in RFC format */
+ char arpadate[ARPADATE_LENGTH];
+-char *auth_user = (char)NULL;
+-char *auth_pass = (char)NULL;
+-char *auth_method = (char)NULL; /* Mechanism for SMTP authentication */
+-char *mail_domain = (char)NULL;
+-char *from = (char)NULL; /* Use this as the From: address */
++char *auth_user = (char *)NULL;
++char *auth_pass = (char *)NULL;
++char *auth_method = (char *)NULL; /* Mechanism for SMTP authentication */
++char *mail_domain = (char *)NULL;
++char *from = (char *)NULL; /* Use this as the From: address */
+ char *hostname;
+ char *mailhost = "mailhub";
+-char *minus_f = (char)NULL;
+-char *minus_F = (char)NULL;
++char *minus_f = (char *)NULL;
++char *minus_F = (char *)NULL;
+ char *gecos;
+-char *prog = (char)NULL;
++char *prog = (char *)NULL;
+ char *root = NULL;
+ char *tls_cert = "/etc/ssl/certs/ssmtp.pem"; /* Default Certificate */
+-char *uad = (char)NULL;
+-char *config_file = (char)NULL; /* alternate configuration file */
++char *uad = (char *)NULL;
++char *config_file = (char *)NULL; /* alternate configuration file */
+
+ headers_t headers, *ht;
+
+@@ -261,7 +261,7 @@
+
+ p = (str + strlen(str));
+ while(isspace(*--p)) {
+- *p = (char)NULL;
++ *p = '\0';
+ }
+
+ return(p);
+@@ -287,7 +287,7 @@
+ q++;
+
+ if((p = strchr(q, '>'))) {
+- *p = (char)NULL;
++ *p = '\0';
+ }
+
+ #if 0
+@@ -310,7 +310,7 @@
+ q = strip_post_ws(p);
+ if(*q == ')') {
+ while((*--q != '('));
+- *q = (char)NULL;
++ *q = '\0';
+ }
+ (void)strip_post_ws(p);
+
+@@ -363,13 +363,13 @@
+ *linestart = False;
+
+ if((p = strchr(str, '\n'))) {
+- *p = (char)NULL;
++ *p = '\0';
+ *linestart = True;
+
+ /* If the line ended in "\r\n", then drop the '\r' too */
+ sl = strlen(str);
+ if(sl >= 1 && str[sl - 1] == '\r') {
+- str[sl - 1] = (char)NULL;
++ str[sl - 1] = '\0';
+ }
+ }
+ return(leadingdot);
+@@ -390,7 +390,7 @@
+ while(fgets(buf, sizeof(buf), fp)) {
+ /* Make comments invisible */
+ if((p = strchr(buf, '#'))) {
+- *p = (char)NULL;
++ *p = '\0';
+ }
+
+ /* Ignore malformed lines and comments */
+@@ -525,7 +525,7 @@
+ #endif
+
+ /* Ignore missing usernames */
+- if(*str == (char)NULL) {
++ if(*str == '\0') {
+ return;
+ }
+
+@@ -582,7 +582,7 @@
+ }
+
+ /* End of string? */
+- if(*(q + 1) == (char)NULL) {
++ if(*(q + 1) == '\0') {
+ got_addr = True;
+ }
+
+@@ -590,7 +590,7 @@
+ if((*q == ',') && (in_quotes == False)) {
+ got_addr = True;
+
+- *q = (char)NULL;
++ *q = '\0';
+ }
+
+ if(got_addr) {
+@@ -682,7 +682,7 @@
+ if(strncasecmp(ht->string, "From:", 5) == 0) {
+ #if 1
+ /* Hack check for NULL From: line */
+- if(*(p + 6) == (char)NULL) {
++ if(*(p + 6) == '\0') {
+ return;
+ }
+ #endif
+@@ -747,7 +747,7 @@
+ size_t size = BUF_SZ, len = 0;
+ char *p = (char *)NULL, *q;
+ bool_t in_header = True;
+- char l = (char)NULL;
++ char l = '\0';
+ int c;
+
+ while(in_header && ((c = fgetc(stream)) != EOF)) {
+@@ -790,9 +790,9 @@
+ in_header = False;
+
+ default:
+- *q = (char)NULL;
++ *q = '\0';
+ if((q = strrchr(p, '\n'))) {
+- *q = (char)NULL;
++ *q = '\0';
+ }
+ if(len > 0) {
+ header_save(p);
+@@ -809,7 +809,7 @@
+ if(in_header && l == '\n') {
+ /* Got EOF while reading the header */
+ if((q = strrchr(p, '\n'))) {
+- *q = (char)NULL;
++ *q = '\0';
+ }
+ header_save(p);
+ }
+@@ -869,7 +869,7 @@
+ char *rightside;
+ /* Make comments invisible */
+ if((p = strchr(buf, '#'))) {
+- *p = (char)NULL;
++ *p = '\0';
+ }
+
+ /* Ignore malformed lines and comments */
+@@ -1113,7 +1113,7 @@
+
+ /* Init SSL stuff */
+ SSL_CTX *ctx;
+- SSL_METHOD *meth;
++ const SSL_METHOD *meth;
+ X509 *server_cert;
+
+ SSL_load_error_strings();
+@@ -1307,7 +1307,7 @@
+ buf[i++] = c;
+ }
+ }
+- buf[i] = (char)NULL;
++ buf[i] = '\0';
+
+ return(buf);
+ }
+@@ -1739,7 +1739,7 @@
+ j = 0;
+
+ add = 1;
+- while(argv[i][++j] != (char)NULL) {
++ while(argv[i][++j] != '\0') {
+ switch(argv[i][j]) {
+ #ifdef INET6
+ case '6':
diff --git a/network/ssmtp/ssmtp.SlackBuild b/network/ssmtp/ssmtp.SlackBuild
index 68cdd43e76..d75306bc87 100644
--- a/network/ssmtp/ssmtp.SlackBuild
+++ b/network/ssmtp/ssmtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2011-2014 LEVAI Daniel
# Copyright (c) 2020 B. Watson
@@ -24,12 +24,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20210925 bkw: BUILD=4
+# - get rid of unneeded configure lcrypto patches.
+# - add bugfix patches from Debian.
+# - don't install useless INSTALL in doc dir.
+# - fix compiler warnings caused by such brain damage as:
+# char *foo = (char)NULL;
+# - install ssmptd.conf.new and (comment-only) revaliases.new.
+# - *don't* install generate_config script.
+# - fix doinst.sh.
+
# 20200129 bkw: take over maintenance, no script changes yet.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ssmtp
VERSION=${VERSION:-2.64}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +52,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,43 +84,46 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-for diff in "${CWD}"/patches/*.diff.gz;do
- gzip -dc "${diff}" |patch -p0
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+for i in $CWD/patches/*.patch; do
+ patch -p1 < $i
done
+LIBS="-lcrypto" \
+CFLAGS="$SLKCFLAGS -Wl,-s" \
./configure \
- --prefix=/usr \
- --sysconfdir='$(DESTDIR)/etc' \
- --mandir=/usr/man \
- --enable-ssl
+ --prefix=/usr \
+ --sysconfdir='$(DESTDIR)/etc' \
+ --mandir=/usr/man \
+ --enable-ssl
-sed -i -e's,prefix=/usr,prefix=$(DESTDIR)/usr,' \
- -e'/\$(GEN_CONFIG) \$(INSTALLED_CONFIGURATION_FILE)/d' \
- Makefile
-CFLAGS="$SLKCFLAGS" make
-make install DESTDIR=$PKG
-install -D -m644 -o root -g root ssmtp.conf.5 $PKG/usr/man/man5/ssmtp.conf.5
+# Make generate_config non-interactive (just take the defaults).
+# Also don't install it as part of the package. The config file is
+# simple enough to edit, well-commented, and has its own man page.
+sed -i '/^read/d' generate_config
-strip --strip-unneeded $PKG/usr/sbin/ssmtp
-gzip -9 $PKG/usr/man/man8/ssmtp.8 $PKG/usr/man/man5/ssmtp.conf.5
+make
+make install prefix=$PKG/usr DESTDIR=$PKG
+
+gzip -9 $PKG/usr/man/man?/*.*
+
+# upstream wrote this handy man page, but forgot to install it
+mkdir -p $PKG/usr/man/man5
+gzip -9c < ssmtp.conf.5 > $PKG/usr/man/man5/ssmtp.conf.5.gz
+
+for i in $PKG/etc/$PRGNAM/*; do
+ mv $i $i.new
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp README INSTALL COPYING COPYRIGHT TLS $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a README COPY* CHANGE* Change* TLS $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-cp generate_config $PKG/usr/sbin
-chmod 755 $PKG/usr/sbin/generate_config
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-sed -i -e"s,<VERSION>,${VERSION}," $CWD/doinst.sh
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ssmtp/ssmtp.info b/network/ssmtp/ssmtp.info
index 7f071a8d22..3fb15026c2 100644
--- a/network/ssmtp/ssmtp.info
+++ b/network/ssmtp/ssmtp.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/sstp-client/README b/network/sstp-client/README
index 821a637329..59d06a4bcc 100644
--- a/network/sstp-client/README
+++ b/network/sstp-client/README
@@ -1,15 +1,15 @@
SSTP-Client (SSTP client for Linux)
-SSTP is Microsofts Remote Access Solution (RAS) for PPP over SSL. It can be
-used instead of PPTP or L2TP, and is only available with Windows Vista/7
-connecting to a Windows 2008 Server. The advantage of SSTP compared to PPTP
-and L2TP is that it cannot be easily blocked by firewalls since the traffic
-is transmitted over HTTPS on port 443. Windows Vista/7 uses SSTP if PPTP or
-L2TP cannot be established.
+SSTP is Microsofts Remote Access Solution (RAS) for PPP over SSL. It
+can be used instead of PPTP or L2TP, and is only available with
+Windows Vista/7 connecting to a Windows 2008 Server. The advantage of
+SSTP compared to PPTP and L2TP is that it cannot be easily blocked
+by firewalls since the traffic is transmitted over HTTPS on port
+443. Windows Vista/7 uses SSTP if PPTP or L2TP cannot be established.
-SSTP-Client is an SSTP client for Linux. It can be used to establish a SSTP
-connection to a Windows 2008 Server. This software is similar commandline
-and configuration as the pptp-client software.
+SSTP-Client is an SSTP client for Linux. It can be used to establish
+a SSTP connection to a Windows 2008 Server. This software is similar
+commandline and configuration as the pptp-client software.
SSTP-Client features:
diff --git a/network/sstp-client/sstp-client.SlackBuild b/network/sstp-client/sstp-client.SlackBuild
index c58a7efec3..a9835ec5ce 100644
--- a/network/sstp-client/sstp-client.SlackBuild
+++ b/network/sstp-client/sstp-client.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SSTP-Client
-# Copyright 2013, 2016, 2017, 2019 Mario Preksavec, Zagreb, Croatia
+# Copyright 2013, 2023 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sstp-client
-VERSION=${VERSION:-1.0.12}
+VERSION=${VERSION:-1.0.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,6 +82,9 @@ find -L . \
# Set proper examples dir, --docdir overriding does not work
sed -i -e "/^docdir/s:@PACKAGE@:$PRGNAM-$VERSION/examples:" Makefile.in
+# Set PPPD version, plugin dir detection does not work
+PPPD_VERSION=$(pppd --version | awk '{print $NF}')
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -85,6 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-user=nobody \
--enable-group=nogroup \
--enable-ppp-plugin \
+ --with-pppd-plugin-dir=/usr/lib${LIBDIRSUFFIX}/pppd/$PPPD_VERSION \
--build=$ARCH-slackware-linux
make
@@ -102,8 +116,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/sstp-client/sstp-client.info b/network/sstp-client/sstp-client.info
index 30500d0b47..3f8e2b3bbe 100644
--- a/network/sstp-client/sstp-client.info
+++ b/network/sstp-client/sstp-client.info
@@ -1,8 +1,8 @@
PRGNAM="sstp-client"
-VERSION="1.0.12"
+VERSION="1.0.18"
HOMEPAGE="http://sstp-client.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/sstp-client/sstp-client-1.0.12.tar.gz"
-MD5SUM="94c927fc6177b7f0048f4f673d9479fe"
+DOWNLOAD="http://downloads.sourceforge.net/sstp-client/sstp-client-1.0.18.tar.gz"
+MD5SUM="04ec1868f825d3218173a95bc9b9eff2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/ssvnc/Makefile.patch b/network/ssvnc/Makefile.patch
deleted file mode 100644
index b16e4bc5c3..0000000000
--- a/network/ssvnc/Makefile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ssvnc-1.0.30/Makefile.orig 2014-01-26 08:11:30.168836072 +0700
-+++ ssvnc-1.0.30/Makefile 2014-01-26 08:12:03.465391347 +0700
-@@ -24,7 +24,7 @@
- PREFIX ?= /usr/local
- ROOT ?=
- BIN = bin
--LIB = lib/ssvnc
-+LIB ?= lib/ssvnc
- MAN = man
- MANDIR ?= $(MAN)
- APPS ?= share/applications
-@@ -32,7 +32,7 @@
-
-
- VSRC = vnc_unixsrc
--JSRC = ultraftp
-+JSRC ?= ultraftp
- PSRC = vncstorepw
-
- VIEWER = $(VSRC)/vncviewer/vncviewer
diff --git a/network/ssvnc/README b/network/ssvnc/README
deleted file mode 100644
index 372459bb90..0000000000
--- a/network/ssvnc/README
+++ /dev/null
@@ -1,33 +0,0 @@
-The Enhanced TightVNC Viewer, SSVNC, adds encryption security to VNC
-connections.
-
-The package provides a GUI for Windows, Mac OS X, and Unix that
-automatically starts up an STUNNEL SSL tunnel for SSL or ssh/plink for
-SSH connections to any VNC server, such as x11vnc, and then launches the
-VNC Viewer to use the encrypted tunnel.
-
-The x11vnc server has built-in SSL support, however SSVNC can make SSL
-encrypted VNC connections to any VNC Server if they are running an SSL
-tunnel, such as STUNNEL or socat, at their end. SSVNC's SSH tunnel will
-work to any VNC Server host running sshd that you can log into.
-
-The SSVNC Unix vncviewer can also be run without the SSVNC encryption
-GUI as an enhanced replacement for the xvncviewer, xtightvncviewer,
-etc., viewers.
-
-In addition to normal SSL, SSVNC also supports the VeNCrypt SSL/TLS and
-Vino/ANONTLS encryption extensions to VNC on Unix, Mac OS X, and
-Windows. Via the provided SSVNC VeNCrypt bridge, VeNCrypt and ANONTLS
-encryption also works with any third party VNC Viewer (e.g. RealVNC,
-TightVNC, UltraVNC, etc...) you select via 'Change VNC Viewer'.
-
-There is a simplified SSH-Only mode (sshvnc). And an even more
-simplified Terminal-Services mode (tsvnc) for use with x11vnc on the
-remote side.
-
-Note:
-If you don't require or don't wish to build the Java based viewer you
-can ignore the JDK dependency and set the JSRC environment variable to
-the empty string. Here is how I build it:
-
-$ env JSRC="" sh ./ssvnc.SlackBuild
diff --git a/network/ssvnc/doinst.sh b/network/ssvnc/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/ssvnc/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/ssvnc/slack-desc b/network/ssvnc/slack-desc
deleted file mode 100644
index 6892a3f9c8..0000000000
--- a/network/ssvnc/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ssvnc: ssvnc (Adds encryption/security to VNC connections)
-ssvnc:
-ssvnc: The package provides a GUI for Windows, Mac OS X, and Unix that
-ssvnc: automatically starts up an STUNNEL SSL tunnel for SSL or ssh/plink
-ssvnc: for SSH connections to any VNC server, such as x11vnc, and then
-ssvnc: launches the VNC Viewer to use the encrypted tunnel.
-ssvnc: The package also includes an enhanced TightVNCViewer.
-ssvnc:
-ssvnc:
-ssvnc:
-ssvnc:
diff --git a/network/ssvnc/ssvnc.SlackBuild b/network/ssvnc/ssvnc.SlackBuild
deleted file mode 100644
index 6ff2bef0a4..0000000000
--- a/network/ssvnc/ssvnc.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ssvnc
-
-# Copyright 2014 Wayne Cuddy Fairfax, VA (USA)
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are
-# met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=ssvnc
-VERSION=${VERSION:-1.0.30}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch < $CWD/Makefile.patch
-
-make config
-make all
-make ROOT=$PKG PREFIX=/usr install LIB=lib${LIBDIRSUFFIX}/ssvnc
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README* ReleaseNotes $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ssvnc/ssvnc.info b/network/ssvnc/ssvnc.info
deleted file mode 100644
index 5f7804bad3..0000000000
--- a/network/ssvnc/ssvnc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ssvnc"
-VERSION="1.0.30"
-HOMEPAGE="http://www.karlrunge.com/x11vnc/ssvnc.html"
-DOWNLOAD="http://ssvnc.sourceforge.net/dev/ssvnc-1.0.30.src.tar.gz"
-MD5SUM="33d7c2d22d80ed26803275a9a83ddbb5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Wayne Cuddy"
-EMAIL="wcuddy@useunix.net"
diff --git a/network/strongswan/README b/network/strongswan/README
index df3dafaff3..c94b742200 100644
--- a/network/strongswan/README
+++ b/network/strongswan/README
@@ -23,6 +23,8 @@ The following configure options are enabled by default:
--enable-sha3
--enable-files
--enable-lookip
+ --enable-eap-gtc
+ --enable-eap-md5
--enable-eap-identity
--enable-eap-mschapv2
--enable-eap-tls
@@ -47,6 +49,7 @@ The following configure options are enabled by default:
--enable-counters
--enable-farp
--enable-lookip
+ --enable-nm
To disable the above options set the environment variable CONFIG_OPTS
@@ -59,17 +62,19 @@ To override the defaults options set CONFIG_OPTS to your desired set
of configure options.
Example:
-env CONFIG_OPTS="--enable-openssl --enable-unity" sh ./strongswan.SlackBuild
+env CONFIG_OPTS="--enable-openssl --enable-unity" \
+ sh ./strongswan.SlackBuild
To add to the default options without overwriting them set the
EXTRA_CONFIG_OPTS environment variable.
Example:
-env EXTRA_CONFIG_OPTS="--enable-socket-dynamic --enable-dhcp" sh ./strongswan.SlackBuild
+env EXTRA_CONFIG_OPTS="--enable-socket-dynamic --enable-dhcp"\
+ sh ./strongswan.SlackBuild
-Certain use cases may cause issues when bypass-lan is loaded. The SlackBuild script
-disables loading of the bypass-lan module. This can be changed in bypass-lan.conf
-after installation if required.
+Certain use cases may cause issues when bypass-lan is loaded. The
+SlackBuild script disables loading of the bypass-lan module. This can
+be changed in bypass-lan.conf after installation if required.
The list of available options and their descriptions are available here:
diff --git a/network/strongswan/strongswan.SlackBuild b/network/strongswan/strongswan.SlackBuild
index b10ef33b87..be9f4e9a42 100644
--- a/network/strongswan/strongswan.SlackBuild
+++ b/network/strongswan/strongswan.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright 2018-2019, Wayne Cuddy, wcuddyATgmailDOTcom
+# Copyright 2018-2022, Wayne Cuddy, wcuddyATgmailDOTcom
# Copyright 2009-2013, Jonathan Larsen (agentc0re), SLC, UT
# Copyright 2013-2015, Markus Hutmacher, mailing@markhu.de
# All rights reserved.
@@ -23,8 +23,23 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+# 2023-11-17
+# - upgraded upstream to verion 5.9.11
+#
+# 2022-12-25
+# - added configure options in preparation for NetworkManager-Strongswan
+# --enable-eap-gtc
+# --enable-eap-md5
+# --enable-nm
+#
+# 2022-10-09
+# - upgraded upstream version to 5.9.8
+# - removed INSTALL file per sbopkglint
+#
+# 2022-04-16
+# - upgraded upstream version to 5.9.5
+#
# 2020-12-21
-# - upgraded upstream version to 5.9.1
# - continue building bypass-lan but disable it by default so that the
# admin can still enable it if necessary
#
@@ -37,10 +52,13 @@
# - added DEFAULT_CONFIG_OPTS and EXTRA_CONFIG_OPTS
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=strongswan
-VERSION=${VERSION:-5.9.1}
+VERSION=${VERSION:-5.9.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DEFAULT_CONFIG_OPTS="\
--enable-shared \
@@ -57,6 +75,8 @@ DEFAULT_CONFIG_OPTS="\
--enable-sha3 \
--enable-files \
--enable-lookip \
+ --enable-eap-gtc \
+ --enable-eap-md5 \
--enable-eap-identity \
--enable-eap-mschapv2 \
--enable-eap-tls \
@@ -81,6 +101,7 @@ DEFAULT_CONFIG_OPTS="\
--enable-counters \
--enable-farp \
--enable-lookip \
+ --enable-nm \
"
if [ -z "$ARCH" ]; then
@@ -91,7 +112,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -149,7 +177,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -178,4 +206,4 @@ done
# necessary.
sed -i -e 's/load = yes/load = no/' $PKG/etc/strongswan.d/charon/bypass-lan.conf.new
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/strongswan/strongswan.info b/network/strongswan/strongswan.info
index e546dc9c3b..3a9a3ff6d4 100644
--- a/network/strongswan/strongswan.info
+++ b/network/strongswan/strongswan.info
@@ -1,8 +1,8 @@
PRGNAM="strongswan"
-VERSION="5.9.1"
+VERSION="5.9.11"
HOMEPAGE="https://www.strongswan.org"
-DOWNLOAD="https://download.strongswan.org/strongswan-5.9.1.tar.bz2"
-MD5SUM="1f4db969d072e120dc12d1c116a0f658"
+DOWNLOAD="https://download.strongswan.org/strongswan-5.9.11.tar.bz2"
+MD5SUM="673e194cd256af77b46928179f2c81ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/surf/getkbdevice.diff b/network/surf/getkbdevice.diff
deleted file mode 100644
index 14bef9460d..0000000000
--- a/network/surf/getkbdevice.diff
+++ /dev/null
@@ -1,61 +0,0 @@
-diff -Naur surf-2.0/surf.c surf-2.0.patched/surf.c
---- surf-2.0/surf.c 2017-03-28 12:17:45.000000000 -0400
-+++ surf-2.0.patched/surf.c 2017-06-25 01:23:41.445168316 -0400
-@@ -174,6 +174,7 @@
- static void cleanup(void);
-
- /* GTK/WebKit */
-+static GdkDevice *getkbdevice(void);
- static WebKitWebView *newview(Client *c, WebKitWebView *rv);
- static void initwebextensions(WebKitWebContext *wc, Client *c);
- static GtkWidget *createview(WebKitWebView *v, WebKitNavigationAction *a,
-@@ -263,7 +264,6 @@
- void
- setup(void)
- {
-- GdkDisplay *gdpy;
- int i, j;
-
- /* clean up any zombies immediately */
-@@ -281,8 +281,6 @@
-
- gtk_init(NULL, NULL);
-
-- gdpy = gdk_display_get_default();
--
- curconfig = defconfig;
-
- /* dirs and files */
-@@ -290,7 +288,7 @@
- scriptfile = buildfile(scriptfile);
- cachedir = buildpath(cachedir);
-
-- gdkkb = gdk_seat_get_keyboard(gdk_display_get_default_seat(gdpy));
-+ gdkkb = getkbdevice();
-
- if (!stylefile) {
- styledir = buildpath(styledir);
-@@ -329,6 +327,23 @@
- }
- }
-
-+static GdkDevice *
-+getkbdevice(void)
-+{
-+ GList *l, *gdl = gdk_device_manager_list_devices(
-+ gdk_display_get_device_manager(gdk_display_get_default()),
-+ GDK_DEVICE_TYPE_MASTER);
-+ GdkDevice *gd = NULL;
-+
-+ for (l = gdl; l != NULL; l = l->next)
-+ if (gdk_device_get_source(l->data) == GDK_SOURCE_KEYBOARD)
-+ gd = l->data;
-+
-+ g_list_free(gdl);
-+ return gd;
-+}
-+
-+
- void
- sigchld(int unused)
- {
diff --git a/network/surf/options.txt b/network/surf/options.txt
index 6069a9ebac..308ab3bc86 100644
--- a/network/surf/options.txt
+++ b/network/surf/options.txt
@@ -21,13 +21,14 @@ HOMEPAGE
WIDTH
HEIGHT
The default window size for surf to use, when it starts. Default values
- are WIDTH=800 HEIGHT=600.
+ are WIDTH=1280 HEIGHT=1024.
SLACKVER
- The version of Slackware you're building for. If not set, the version
- from /etc/slackware-version will be used. You only need to set this
- if building on Slackware-current (use SLACKVER=current). This is only
- used for the searchengines patch, so it does nothing if PATCH=no.
+ The version of Slackware you're building for. If not set, the
+ version from /etc/slackware-version will be used. You only need to
+ set this if building on Slackware-current (use the latest stable
+ version). This is only used for the searchengines patch, so it does
+ nothing if PATCH=no.
STRICTSSL
If STRICTSSL=yes, refuse untrusted connections (e.g. invalid/unknown
diff --git a/network/surf/patches.txt b/network/surf/patches.txt
index 957465989a..2295c4983e 100644
--- a/network/surf/patches.txt
+++ b/network/surf/patches.txt
@@ -9,7 +9,6 @@ google for foo and bar. Supported engines:
g - google.com
dict - search for a word on thefreedictionary.com
sb - search for packages on slackbuilds.org
- sw - search for official slackware packages on search.slackware.eu
homepage - The browser will start at your home page if called with no
arguments (normally it starts with a blank window).
diff --git a/network/surf/patches/homepage.diff b/network/surf/patches/homepage.diff
index 4e130a6e88..0e8e680891 100644
--- a/network/surf/patches/homepage.diff
+++ b/network/surf/patches/homepage.diff
@@ -1,7 +1,7 @@
-diff -Naur surf-2.0/surf.c surf-2.0.patched/surf.c
---- surf-2.0/surf.c 2017-03-28 12:17:45.000000000 -0400
-+++ surf-2.0.patched/surf.c 2017-06-25 01:33:34.501169322 -0400
-@@ -1751,7 +1751,7 @@
+diff -Naur surf-2.1/surf.c surf-2.1.patched/surf.c
+--- surf-2.1/surf.c 2021-05-09 18:34:33.000000000 -0400
++++ surf-2.1.patched/surf.c 2021-10-20 02:55:17.426198883 -0400
+@@ -2117,7 +2117,7 @@
if (argc > 0)
arg.v = argv[0];
else
diff --git a/network/surf/patches/searchengines.diff b/network/surf/patches/searchengines.diff
index e4577632e0..7666efbad3 100644
--- a/network/surf/patches/searchengines.diff
+++ b/network/surf/patches/searchengines.diff
@@ -1,70 +1,70 @@
-diff -Naur surf-2.0/config.def.h surf-2.0.patched/config.def.h
---- surf-2.0/config.def.h 2017-03-28 12:17:45.000000000 -0400
-+++ surf-2.0.patched/config.def.h 2017-06-25 02:20:53.529174137 -0400
-@@ -153,6 +153,13 @@
+diff -Naur surf-2.1/config.def.h surf-2.1.patched/config.def.h
+--- surf-2.1/config.def.h 2021-05-09 18:34:33.000000000 -0400
++++ surf-2.1.patched/config.def.h 2021-10-20 02:51:08.497221512 -0400
+@@ -179,6 +179,13 @@
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_m, toggle, { .i = Style } },
};
+static SearchEngine searchengines[] = {
+ { "d", "https://duckduckgo.com/html/?q=%s" },
+ { "g", "https://www.google.com/search?q=%s" },
-+ { "dict", "http://www.thefreedictionary.com/%s" },
-+ { "sb", "http://slackbuilds.org/result/?search=%s&sv=@SLACKVER@" },
++ { "dict", "https://www.thefreedictionary.com/%s" },
++ { "sb", "https://slackbuilds.org/result/?search=%s&sv=@SLACKVER@" },
+};
+
/* button definitions */
/* target can be OnDoc, OnLink, OnImg, OnMedia, OnEdit, OnBar, OnSel, OnAny */
static Button buttons[] = {
-diff -Naur surf-2.0/surf.c surf-2.0.patched/surf.c
---- surf-2.0/surf.c 2017-03-28 12:17:45.000000000 -0400
-+++ surf-2.0.patched/surf.c 2017-06-25 02:04:32.517172473 -0400
-@@ -129,6 +129,11 @@
+diff -Naur surf-2.1/surf.c surf-2.1.patched/surf.c
+--- surf-2.1/surf.c 2021-05-09 18:34:33.000000000 -0400
++++ surf-2.1.patched/surf.c 2021-10-20 02:53:48.600206958 -0400
+@@ -130,6 +130,11 @@
} Button;
typedef struct {
-+ char *token;
-+ char *uri;
++ char *token;
++ char *uri;
+} SearchEngine;
+
+typedef struct {
const char *uri;
Parameter config[ParameterLast];
regex_t re;
-@@ -202,6 +207,7 @@
- static void download(Client *c, WebKitURIResponse *r);
+@@ -216,6 +221,7 @@
+ Client *c);
static void closeview(WebKitWebView *v, Client *c);
static void destroywin(GtkWidget* w, Client *c);
+static gchar *parseuri(const gchar *uri);
/* Hotkeys */
static void pasteuri(GtkClipboard *clipboard, const char *text, gpointer d);
-@@ -477,7 +483,7 @@
- url = g_strdup_printf("file://%s", path);
- free(path);
- } else {
-- url = g_strdup_printf("http://%s", uri);
-+ url = parseuri(uri);
- }
-
- setatom(c, AtomUri, url);
-@@ -1461,6 +1467,22 @@
+@@ -576,7 +582,7 @@
+ url = g_strdup_printf("file://%s", path);
+ free(path);
+ } else {
+- url = g_strdup_printf("http://%s", uri);
++ url = parseuri(uri);
+ }
+ if (apath != uri)
+ free(apath);
+@@ -1776,6 +1782,22 @@
gtk_main_quit();
}
+gchar *
+parseuri(const gchar *uri) {
-+ guint i;
++ guint i;
+
-+ for (i = 0; i < LENGTH(searchengines); i++) {
-+ if (searchengines[i].token == NULL || searchengines[i].uri == NULL ||
-+ *(uri + strlen(searchengines[i].token)) != ' ')
-+ continue;
-+ if (g_str_has_prefix(uri, searchengines[i].token))
-+ return g_strdup_printf(searchengines[i].uri,
-+ uri + strlen(searchengines[i].token) + 1);
-+ }
++ for (i = 0; i < LENGTH(searchengines); i++) {
++ if (searchengines[i].token == NULL || searchengines[i].uri == NULL ||
++ *(uri + strlen(searchengines[i].token)) != ' ')
++ continue;
++ if (g_str_has_prefix(uri, searchengines[i].token))
++ return g_strdup_printf(searchengines[i].uri,
++ uri + strlen(searchengines[i].token) + 1);
++ }
+
-+ return g_strdup_printf("http://%s", uri);
++ return g_strdup_printf("http://%s", uri);
+}
+
void
diff --git a/network/surf/surf.SlackBuild b/network/surf/surf.SlackBuild
index 98507c6896..092649000c 100644
--- a/network/surf/surf.SlackBuild
+++ b/network/surf/surf.SlackBuild
@@ -1,11 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for surf
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230115 bkw: BUILD=2, strip library.
+# 20211020 bkw:
+# - updated for v2.1.
+# - rework patches again, can't build old versions no more.
+# - embiggen the default window size to 1280x1024.
+
# 20170625 bkw:
# - updated for v2.0 (webkit2gtk now required).
# - re-work searchengines.diff and homepage.diff for v2.0.
@@ -20,10 +26,13 @@
# - remove patches/startfullscreen.diff as it's integrated into 0.7
# - update homepage.diff and searchengines.diff for 0.7
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=surf
-VERSION=${VERSION:-2.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,17 +74,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Revert upstream commit f9714ab8, which requires gtk+3-3.20.0 or greater.
-# We only have 3.18.9 in Slack 14.2. NB: submission reviewer, please don't
-# move this patch into patches/ (it must always be applied, whether or not
-# PATCH=yes is set).
-patch -p1 < $CWD/getkbdevice.diff
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Add a couple of nice patches from upstream, unless disabled. Note that
# upstream expects users to add patches and edit the source to customize it.
@@ -91,8 +95,8 @@ fi
TERMINAL=${TERMINAL:-rxvt}
# Default geometry
-WIDTH=${WIDTH:-800}
-HEIGHT=${HEIGHT:-600}
+WIDTH=${WIDTH:-1280}
+HEIGHT=${HEIGHT:-1024}
# Homepage (if browser called with no arguments). No effect if PATCH=no
HOMEPAGE="${HOMEPAGE:-https://duckduckgo.com/html/}"
@@ -108,11 +112,11 @@ fi
sed -i \
-e "s,@HOMEPAGE@,$HOMEPAGE,g" \
- -e "s,\<800\>,$WIDTH," \
- -e "s,\<600\>,$HEIGHT," \
$PRGNAM.c
sed -i \
+ -e "s,\<800\>,$WIDTH," \
+ -e "s,\<600\>,$HEIGHT," \
-e "s,\<st\>,$TERMINAL," \
-e "s,@SLACKVER@,$SLACKVER," \
config.def.h
@@ -125,7 +129,7 @@ sed -i \
config.mk
make
-strip $PRGNAM
+strip $PRGNAM *.so
make install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
@@ -168,4 +172,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/surf/surf.info b/network/surf/surf.info
index ae13a4ab0c..7be94266cb 100644
--- a/network/surf/surf.info
+++ b/network/surf/surf.info
@@ -1,10 +1,10 @@
PRGNAM="surf"
-VERSION="2.0"
+VERSION="2.1"
HOMEPAGE="https://surf.suckless.org/"
-DOWNLOAD="https://dl.suckless.org/surf/surf-2.0.tar.gz"
-MD5SUM="11713901fa83c536f3ddfacfc28c3acc"
+DOWNLOAD="https://dl.suckless.org/surf/surf-2.1.tar.gz"
+MD5SUM="b814baf863826cb939a7121eafbb0344"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk dmenu"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/surfraw/surfraw.SlackBuild b/network/surfraw/surfraw.SlackBuild
index 155818de26..15d3609669 100644
--- a/network/surfraw/surfraw.SlackBuild
+++ b/network/surfraw/surfraw.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for surfraw
-# Copyright 2017-2018 Frédéric Galusik Lyon, France
+# Copyright 2017-2022 Frederic Galusik Bordeaux, France
# Copyright 2007 Martin Lefebvre <dadexter@slackadelic.com>
# Copyright 2010-2011 Grigorios Bouzakis <grbzks@xsmail.com>
# Copyright 2014 Glenn Becker <burningc@sdf.org>
@@ -24,14 +24,24 @@
# 20200111 bkw: Modified by SlackBuilds.org (to fix broken man symlinks)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=surfraw
VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/surfraw/surfraw.info b/network/surfraw/surfraw.info
index 428d06108e..8de1c28884 100644
--- a/network/surfraw/surfraw.info
+++ b/network/surfraw/surfraw.info
@@ -6,5 +6,5 @@ MD5SUM="6f771c5f23d4a06913142996461d7f59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Frédéric Galusik"
-EMAIL="slack+SBo@galusik.xyz"
+MAINTAINER="Frederic Galusik"
+EMAIL="f@galusik.fr"
diff --git a/network/suricata/README b/network/suricata/README
deleted file mode 100644
index 86bc3ff21b..0000000000
--- a/network/suricata/README
+++ /dev/null
@@ -1,6 +0,0 @@
-suricata (Network Security Monitoring)
-
-Suricata is a high performance Network IDS, IPS and Network Security
-Monitoring engine. Open Source and owned by a community run non-profit
-foundation, the Open Information Security Foundation (OISF). Suricata
-is developed by the OISF and its supporting vendors.
diff --git a/network/suricata/doinst.sh b/network/suricata/doinst.sh
deleted file mode 100644
index d74b5bd771..0000000000
--- a/network/suricata/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
- fi
-}
-
-CONFIGS="classification.config reference.config suricata.yaml threshold.config"
-for file in $CONFIGS; do
- config etc/suricata/${file}.new
-done
diff --git a/network/suricata/rc.suricata b/network/suricata/rc.suricata
deleted file mode 100644
index e4eb06f1a6..0000000000
--- a/network/suricata/rc.suricata
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-# Start/stop/restart suricata
-# This file written from James Bond <evanton@tut.by>
-
-# This tell suricata which interface to listen on (any for every interface)
-IFACE=${IFACE:-eth0}
-
-# Make sure this matches your IFACE
-PIDFILE=/var/run/suricata_$IFACE.pid
-
-# You probably don't want to change this, but in case you do
-LOGDIR="/var/log/suricata"
-
-# Probably not this either
-CONF=/etc/suricata/suricata.yaml
-
-# Start suricata:
-suricata_start() {
- CMDLINE="/usr/bin/suricata -D -i $IFACE"
- echo "Starting Suricata daemon: $CMDLINE"
- $CMDLINE --pidfile $PIDFILE -l $LOGDIR -c $CONF
- echo
-}
-
-# Stop suricata:
-suricata_stop() {
- echo -n "Stopping Suricata daemon ($IFACE)..."
- kill $(cat $PIDFILE)
- echo
- sleep 1
- rm -f $PIDFILE
-}
-
-# Restart suricata:
-suricata_restart() {
- suricata_stop
- sleep 1
- suricata_start
-}
-
-case "$1" in
-'start')
- suricata_start
- ;;
-'stop')
- suricata_stop
- ;;
-'restart')
- suricata_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/network/suricata/slack-desc b/network/suricata/slack-desc
deleted file mode 100644
index ebad0dcb9d..0000000000
--- a/network/suricata/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-suricata: suricata (Network Security Monitoring)
-suricata:
-suricata: Suricata is a high performance open source Network Security
-suricata: and Intrusion Detection and Prevention Monitoring System for
-suricata: Linux, FreeBSD and Windows. It was designed and owned by a
-suricata: non-profit foundation OISF (Open Information Security Foundation)
-suricata:
-suricata: Homepage: https://suricata-ids.org/
-suricata:
-suricata:
-suricata:
diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild
deleted file mode 100644
index 30ee71dd7c..0000000000
--- a/network/suricata/suricata.SlackBuild
+++ /dev/null
@@ -1,126 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for suricata
-
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=suricata
-VERSION=${VERSION:-4.1.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT $PKG/etc/$PRGNAM
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared=yes \
- --enable-static=no \
- --enable-unix-socket \
- --enable-python \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Fix magic-file path
-sed -i 's/magic-file: \/usr\/share\/file\/magic/magic-file: \/etc\/file\/magic.mgc/' suricata.yaml
-
-# Install config files
-CONFIGS="classification.config reference.config suricata.yaml threshold.config"
-for file in $CONFIGS; do
- install -D -m644 $file $PKG/etc/suricata/${file}.new
-done
-
-# Include the rc.suricata file
-mkdir -p $PKG/etc/rc.d
-install -D -m0644 $CWD/rc.suricata $PKG/etc/rc.d/rc.suricata.new
-
-# Install rules
-install -D -m644 rules/*.rules $PKG/etc/$PRGNAM
-
-# Create directory for logging
-mkdir -p $PKG/var/log/$PRGNAM
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog LICENSE doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/suricata/suricata.info b/network/suricata/suricata.info
deleted file mode 100644
index d99c6664e0..0000000000
--- a/network/suricata/suricata.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="suricata"
-VERSION="4.1.2"
-HOMEPAGE="https://suricata-ids.org/"
-DOWNLOAD="https://www.openinfosecfoundation.org/download/suricata-4.1.2.tar.gz"
-MD5SUM="8d50d031fc3848ad9a6694df97adacbe"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libnet jansson"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/surl/surl.SlackBuild b/network/surl/surl.SlackBuild
index 743b1ef192..9f065462c0 100644
--- a/network/surl/surl.SlackBuild
+++ b/network/surl/surl.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for surl
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230520 bkw: python => python2 (no other changes).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=surl
VERSION=${VERSION:-0.7.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +24,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -28,20 +37,6 @@ OUTPUT=${OUTPUT:-/tmp}
TARBALL=$CWD/${PRGNAM}_$VERSION-1~ppa2~ubuntu13.10.1.tar.gz
SRCDIR=recipe-$VERSION-1~ppa2
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -57,7 +52,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
patch -p1 < $CWD/disable_broken_services.diff
sed -i 's,share/man,man,' setup.py
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -68,4 +63,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/surl/surl.info b/network/surl/surl.info
index bc3564187c..99b44be5f5 100644
--- a/network/surl/surl.info
+++ b/network/surl/surl.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/swaks/swaks.SlackBuild b/network/swaks/swaks.SlackBuild
index a14e6f45fc..3b97ccb05a 100644
--- a/network/swaks/swaks.SlackBuild
+++ b/network/swaks/swaks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for swaks
@@ -22,14 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=swaks
VERSION=${VERSION:-20190914.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/swift/README b/network/swift/README
new file mode 100644
index 0000000000..d0c6f4060b
--- /dev/null
+++ b/network/swift/README
@@ -0,0 +1,5 @@
+swift is a jabber client from the Isode company
+
+Note: swift does not support OMEMO or OTR, as it was designed with
+vendored encryption in mind (not present in the public version). It
+does not support several "modern XMPP" XEPs, so YMMV.
diff --git a/network/swift/doinst.sh b/network/swift/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/swift/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/swift/slack-desc b/network/swift/slack-desc
new file mode 100644
index 0000000000..d672a19e72
--- /dev/null
+++ b/network/swift/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+swift: swift (a Jabber client from Isode)
+swift:
+swift: A jabber client from a commercial company also developing the Isode
+swift: Jabber Server.
+swift:
+swift:
+swift:
+swift:
+swift:
+swift: Homepage: https://swift.im
+swift:
diff --git a/network/swift/swift-4.0.2-boost-1.69-compatibility.patch b/network/swift/swift-4.0.2-boost-1.69-compatibility.patch
new file mode 100644
index 0000000000..a99dc10a2e
--- /dev/null
+++ b/network/swift/swift-4.0.2-boost-1.69-compatibility.patch
@@ -0,0 +1,77 @@
+From a21993d750396d755717df21e331df87af8a0c6a Mon Sep 17 00:00:00 2001
+From: Bruce Stephens <bruce.stephens@isode.com>
+Date: Wed, 9 Jan 2019 16:21:20 +0000
+Subject: [PATCH] Don't assume that tribool has an implicit bool conversion
+
+In boost 1.68.0 the conversion is implicit, but in 1.69.0 it's
+explicit and we must explicitly call it.
+
+Change-Id: I24eb78be7510c89b88342d28c539cad4977f99fd
+---
+ Swiften/Network/PlatformNATTraversalWorker.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Swiften/Network/PlatformNATTraversalWorker.cpp b/Swiften/Network/PlatformNATTraversalWorker.cpp
+index f56de0b78b..eaa13b30d3 100644
+--- a/Swiften/Network/PlatformNATTraversalWorker.cpp
++++ b/Swiften/Network/PlatformNATTraversalWorker.cpp
+@@ -157,7 +157,7 @@ NATTraversalInterface* PlatformNATTraversalWorker::getNATTraversalInterface() co
+ miniUPnPInterface = new MiniUPnPInterface();
+ miniUPnPSupported = miniUPnPInterface->isAvailable();
+ }
+- SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << miniUPnPSupported << std::endl;
++ SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << static_cast<bool>(miniUPnPSupported) << std::endl;
+ if (miniUPnPSupported) {
+ return miniUPnPInterface;
+ }
+@@ -168,7 +168,7 @@ NATTraversalInterface* PlatformNATTraversalWorker::getNATTraversalInterface() co
+ natPMPInterface = new NATPMPInterface();
+ natPMPSupported = natPMPInterface->isAvailable();
+ }
+- SWIFT_LOG(debug) << "NAT-PMP NAT traversal supported: " << natPMPSupported << std::endl;
++ SWIFT_LOG(debug) << "NAT-PMP NAT traversal supported: " << static_cast<bool>(natPMPSupported) << std::endl;
+ if (natPMPSupported) {
+ return natPMPInterface;
+ }
+From bb3bd8a32b220b9c1ffd566da00bcd0ba546156c Mon Sep 17 00:00:00 2001
+From: Miroslaw Stein <miroslaw.stein@isode.com>
+Date: Fri, 18 Jan 2019 14:30:24 +0000
+Subject: [PATCH] Avoid deprecated boost endianess include
+
+As of Boost 1.69.0, boost/detail/endian.h is deprecated in favour of
+boost/predef/other/endian.h, and BOOST_(LITTLE|BIG)_ENDIAN by
+BOOST_ENDIAN_(LITTLE|BIG)_BYTE.
+
+Test-Information:
+
+Unit tests pass on Debian 9
+
+Change-Id: If7076c559a4e35219ff97603f50b80cfbe05b29b
+---
+ Swiften/Base/Platform.h | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/Swiften/Base/Platform.h b/Swiften/Base/Platform.h
+index 4deba2bdda..22dff30b14 100644
+--- a/Swiften/Base/Platform.h
++++ b/Swiften/Base/Platform.h
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2010 Isode Limited.
++ * Copyright (c) 2010-2019 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+@@ -43,9 +43,9 @@
+ #endif
+
+ // Endianness
+-#include <boost/detail/endian.hpp>
+-#if defined(BOOST_LITTLE_ENDIAN)
++#include <boost/predef/other/endian.h>
++#if defined(BOOST_ENDIAN_LITTLE_BYTE)
+ #define SWIFTEN_LITTLE_ENDIAN
+-#elif defined(BOOST_BIG_ENDIAN)
++#elif defined(BOOST_ENDIAN_BIG_BYTE)
+ #define SWIFTEN_BIG_ENDIAN
+ #endif
diff --git a/network/swift/swift-4.0.2-qt-5.11-compatibility.patch b/network/swift/swift-4.0.2-qt-5.11-compatibility.patch
new file mode 100644
index 0000000000..db633945b4
--- /dev/null
+++ b/network/swift/swift-4.0.2-qt-5.11-compatibility.patch
@@ -0,0 +1,35 @@
+From 1d18148c86377787a8c77042b12ea66f20cb2ca9 Mon Sep 17 00:00:00 2001
+From: Tobias Markmann <tm@ayena.de>
+Date: Thu, 21 Jun 2018 13:04:56 +0200
+Subject: Add missing include for QAbstractItemModel
+
+This fixes building Swift with Qt 5.11.
+
+Test-Information:
+
+Builds and tests pass on macOS 10.13.5 with Qt 5.11.0.
+
+Change-Id: I1be2cd081d8a520ec38ab7cca5ada0d7fc39b777
+
+diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.h b/Swift/QtUI/UserSearch/QtUserSearchWindow.h
+index 0714ac1..fe536ab 100644
+--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.h
++++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.h
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2010-2016 Isode Limited.
++ * Copyright (c) 2010-2018 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+@@ -8,6 +8,7 @@
+
+ #include <set>
+
++#include <QAbstractItemModel>
+ #include <QWizard>
+
+ #include <Swiften/Base/Override.h>
+--
+cgit v0.10.2-6-g49f6
+
diff --git a/network/swift/swift-4.0.2-qt-5.15-compatibility.patch b/network/swift/swift-4.0.2-qt-5.15-compatibility.patch
new file mode 100644
index 0000000000..37918db198
--- /dev/null
+++ b/network/swift/swift-4.0.2-qt-5.15-compatibility.patch
@@ -0,0 +1,10 @@
+--- a/Swift/QtUI/Roster/GroupItemDelegate.cpp
++++ b/Swift/QtUI/Roster/GroupItemDelegate.cpp
+@@ -7,6 +7,7 @@
+ #include <Swift/QtUI/Roster/GroupItemDelegate.h>
+
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QPen>
+ #include <QtDebug>
+
diff --git a/network/swift/swift-gcc11.patch b/network/swift/swift-gcc11.patch
new file mode 100644
index 0000000000..4d94c2d105
--- /dev/null
+++ b/network/swift/swift-gcc11.patch
@@ -0,0 +1,13 @@
+diff --git a/Swift/Controllers/ShowProfileController.h b/Swift/Controllers/ShowProfileController.h
+index 0d01ba1a0..5dc7197ff 100644
+--- a/Swift/Controllers/ShowProfileController.h
++++ b/Swift/Controllers/ShowProfileController.h
+@@ -18,6 +18,8 @@
+
+ #include <Swift/Controllers/UIEvents/UIEvent.h>
+
++#include <map>
++
+ namespace Swift {
+ class VCardManager;
+ class ProfileWindow;
diff --git a/network/swift/swift-python3.patch b/network/swift/swift-python3.patch
new file mode 100644
index 0000000000..80580e7c93
--- /dev/null
+++ b/network/swift/swift-python3.patch
@@ -0,0 +1,737 @@
+diff --git a/3rdParty/LibIDN/SConscript b/3rdParty/LibIDN/SConscript
+index 90892b0f8..c99aff8ba 100644
+--- a/3rdParty/LibIDN/SConscript
++++ b/3rdParty/LibIDN/SConscript
+@@ -40,13 +40,13 @@ if env.get("LIBIDN_BUNDLED", False) :
+ if conf.CheckFunc("stricmp") :
+ myenv.Append(CPPDEFINES = [("strcasecmp", "stricmp")])
+ else :
+- print "Error: Cannot find strcasecmp() or stricmp()"
++ print("Error: Cannot find strcasecmp() or stricmp()")
+ Exit(1)
+ if not conf.CheckFunc('strncasecmp') :
+ if conf.CheckFunc("strnicmp") :
+ myenv.Append(CPPDEFINES = [("strncasecmp", "strnicmp")])
+ else :
+- print "Error: Cannot find strncasecmp() or strnicmp()"
++ print("Error: Cannot find strncasecmp() or strnicmp()")
+ Exit(1)
+ conf.Finish()
+
+diff --git a/BuildTools/CheckHeaders.py b/BuildTools/CheckHeaders.py
+index 79ff85c12..752d2573f 100755
+--- a/BuildTools/CheckHeaders.py
++++ b/BuildTools/CheckHeaders.py
+@@ -36,7 +36,7 @@ for line in file.readlines() :
+ continue
+ for forbiddenInclude, ignores in FORBIDDEN_INCLUDES :
+ if forbiddenInclude in line and len([x for x in ignores if x in filename]) == 0 :
+- print "Found " + forbiddenInclude + " include in " + filename
++ print("Found " + forbiddenInclude + " include in " + filename)
+ foundBadHeaders = True
+
+ sys.exit(foundBadHeaders)
+diff --git a/BuildTools/CheckTranslations.py b/BuildTools/CheckTranslations.py
+index 615f81f1e..0617fbac0 100755
+--- a/BuildTools/CheckTranslations.py
++++ b/BuildTools/CheckTranslations.py
+@@ -41,10 +41,10 @@ for filename in os.listdir("Swift/Translations") :
+ translationText = getText(translation.childNodes)
+ translationPlaceholders = set(re.findall("%\d+%?", translationText))
+ if translationPlaceholders != sourcePlaceholders :
+- print "[Error] " + filename + ": Placeholder mismatch in translation '" + sourceText + "'"
++ print("[Error] " + filename + ": Placeholder mismatch in translation '" + sourceText + "'")
+ if not finished :
+- print "[Warning] " + filename + ": Unfinished"
++ print("[Warning] " + filename + ": Unfinished")
+ if language not in desktop_generic_names and language != "en" :
+- print "[Warning] GenericName field missing in desktop entry for " + language
++ print("[Warning] GenericName field missing in desktop entry for " + language)
+ if language not in desktop_comments and language != "en" :
+- print "[Warning] Comment field missing in desktop entry for " + language
++ print("[Warning] Comment field missing in desktop entry for " + language)
+diff --git a/BuildTools/Copyright/find-contribs.py b/BuildTools/Copyright/find-contribs.py
+index ac30afb2b..799ae7b45 100755
+--- a/BuildTools/Copyright/find-contribs.py
++++ b/BuildTools/Copyright/find-contribs.py
+@@ -46,12 +46,12 @@ def print_log(full_log):
+
+ full_swiften_log = subprocess.check_output(["git", "log", "--", "Swiften"])
+
+-print "Contributors for Swiften/ subtree:\n"
++print("Contributors for Swiften/ subtree:\n")
+ print_log(full_swiften_log)
+
+ full_all_log = subprocess.check_output(["git", "log"])
+
+-print "\n\n\n\n"
++print("\n\n\n\n")
+
+-print "Contributors for full tree:\n"
++print("Contributors for full tree:\n")
+ print_log(full_all_log)
+diff --git a/BuildTools/Copyrighter.py b/BuildTools/Copyrighter.py
+index a16050cb1..cfde98f62 100755
+--- a/BuildTools/Copyrighter.py
++++ b/BuildTools/Copyrighter.py
+@@ -122,14 +122,14 @@ def check_copyright(filename, hints) :
+ return True
+ else :
+ if hints :
+- print "Copyright block for " + copyrightSetting.author + " does not cover current year in: " + filename
++ print("Copyright block for " + copyrightSetting.author + " does not cover current year in: " + filename)
+ return False
+ if hints :
+- print "Missing copyright block for " + copyrightSetting.author + " in: " + filename
++ print("Missing copyright block for " + copyrightSetting.author + " in: " + filename)
+ return False
+ else :
+ if hints :
+- print "No copyright found in: " + filename
++ print("No copyright found in: " + filename)
+ return False
+
+ def replace_data_in_file(filename, begin, end, replaceWith) :
+@@ -140,7 +140,7 @@ def replace_data_in_file(filename, begin, end, replaceWith) :
+
+ def set_or_update_copyright(filename) :
+ if check_copyright(filename, False) :
+- print "No update required for file: " + filename
++ print("No update required for file: " + filename)
+ else :
+ copyrightBlocks = parse_file_new(filename)
+ username, email = get_userinfo()
+@@ -161,7 +161,7 @@ def set_or_update_copyright(filename) :
+ replace_data_in_file(filename, lastBlock+1, lastBlock+1, "\n" + str(copyrightSetting))
+
+ def print_help() :
+- print """Usage:
++ print("""Usage:
+ Copyrighter.py check-copyright $filename
+ Cheks for the existence of a copyright comment block.
+
+@@ -172,7 +172,7 @@ def print_help() :
+ A users license configuration can be set via the SWIFT_LICENSE_CONFIG environment variable
+ in the format "$copyright holder|$license", e.g. "Jane Doe|mit". Possible values for
+ $license are default, mit and gpl.
+- """
++ """)
+
+ if sys.argv[1] == "check-copyright" :
+ file = sys.argv[2]
+@@ -183,6 +183,6 @@ elif sys.argv[1] == "set-copyright" :
+ file = sys.argv[2]
+ set_or_update_copyright(file)
+ else :
+- print "Unknown command: " + sys.argv[1]
++ print("Unknown command: " + sys.argv[1])
+ print_help()
+ sys.exit(-1)
+diff --git a/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py b/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
+index dada92095..92f9b28f1 100644
+--- a/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
++++ b/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
+@@ -19,11 +19,11 @@ import time
+
+ swiftWindowBuildsPathPrefix = os.getenv("SWIFT_DIST")
+ if swiftWindowBuildsPathPrefix == None :
+- print "Please set the SWIFT_DIST environment variable to a location containing msi and pdb.gz files."
++ print("Please set the SWIFT_DIST environment variable to a location containing msi and pdb.gz files.")
+ sys.exit(1)
+
+ if len(sys.argv) != 3:
+- print "Usage: python WindowsMinidumpAnalyse.py VERSION MINIDUMP_FILE"
++ print("Usage: python WindowsMinidumpAnalyse.py VERSION MINIDUMP_FILE")
+ sys.exit(1)
+
+ version = sys.argv[1]
+@@ -93,7 +93,7 @@ def printHumanReadableReport():
+ try:
+ shutil.rmtree(working_folder)
+ except:
+- print ""
++ print("")
+
+ # clone local git repository into dedicated directory
+ call(["git", "clone", ".", working_folder], shell=True)
+@@ -120,7 +120,7 @@ assert(len(commit) > 0)
+ if not os.path.exists(symbol_cache_path):
+ os.makedirs(symbol_cache_path)
+
+-#print "Checking out commit {0}.".format(commit)
++#print("Checking out commit {0}.".format(commit))
+ call(["git", "-C", working_folder, "checkout", commit])
+
+ os.chdir(working_folder)
+diff --git a/BuildTools/DocBook/SCons/XSLT.py b/BuildTools/DocBook/SCons/XSLT.py
+index 38e36c533..6a40b62a8 100644
+--- a/BuildTools/DocBook/SCons/XSLT.py
++++ b/BuildTools/DocBook/SCons/XSLT.py
+@@ -8,7 +8,7 @@ import xml.dom.minidom, os, os.path
+ def generate(env) :
+ def generate_actions(source, target, env, for_signature) :
+ if not env.has_key("XSLTSTYLESHEET") :
+- raise SCons.Errors.UserError, "The XSLTSTYLESHEET construction variable must be defined"
++ raise SCons.Errors.UserError("The XSLTSTYLESHEET construction variable must be defined")
+
+ # Process the XML catalog files
+ # FIXME: It's probably not clean to do an ENV assignment globally
+diff --git a/BuildTools/FixIncludes.py b/BuildTools/FixIncludes.py
+index 898494473..e53246455 100755
+--- a/BuildTools/FixIncludes.py
++++ b/BuildTools/FixIncludes.py
+@@ -153,12 +153,12 @@ for line in content[headerStart:headerEnd]:
+ headerGroups[headerType] = [line]
+
+ if containsComplexPreprocessorDirectives:
+- print "Cannot format headers containing preprocessor #if, #pragma, #define or #undef statements!"
++ print("Cannot format headers containing preprocessor #if, #pragma, #define or #undef statements!")
+ exit(1)
+
+ if filename_base.endswith(".h"):
+ if not HeaderType.PRAGMA_ONCE in headerGroups:
+- print "Missing #pragma once!"
++ print("Missing #pragma once!")
+ exit(2)
+ cleanHeaderFile(content, headerStart, headerEnd, headerGroups)
+ elif filename_base.endswith(".cpp") or filename_base.endswith(".mm"):
+diff --git a/BuildTools/GetBuildVersion.py b/BuildTools/GetBuildVersion.py
+index 70fdc5ce5..be7cc03e6 100755
+--- a/BuildTools/GetBuildVersion.py
++++ b/BuildTools/GetBuildVersion.py
+@@ -16,6 +16,6 @@ if only_major :
+ if version_match :
+ print version_match.group(1)
+ else :
+- print "0"
++ print("0")
+ else :
+ print Version.getBuildVersion(os.path.dirname(sys.argv[0]) + "/..", sys.argv[1])
+diff --git a/BuildTools/Gource/GetGravatars.py b/BuildTools/Gource/GetGravatars.py
+index d1f40a4d6..17198aa13 100755
+--- a/BuildTools/Gource/GetGravatars.py
++++ b/BuildTools/Gource/GetGravatars.py
+@@ -5,7 +5,7 @@ import subprocess, os, sys, hashlib, urllib
+ GRAVATAR_URL = "http://www.gravatar.com/avatar/%(id)s?d=404"
+
+ if len(sys.argv) != 2 :
+- print "Usage: " + sys.argv[0] + " <output-dir>"
++ print("Usage: " + sys.argv[0] + " <output-dir>")
+ sys.exit(-1)
+
+ output_dir = sys.argv[1]
+@@ -18,32 +18,32 @@ for line in p.stdout.readlines() :
+ authors[author_components[0]] = author_components[1]
+ p.stdin.close()
+ if p.wait() != 0 :
+- print "Error"
++ print("Error")
+ sys.exit(-1)
+
+ # Get & save the avatars
+ if not os.path.isdir(output_dir) :
+ os.makedirs(output_dir)
+ for email, name in authors.items() :
+- print "Processing avatar for " + name + " <" + email + ">"
++ print("Processing avatar for " + name + " <" + email + ">")
+ filename = os.path.join(output_dir, name + ".png")
+ if os.path.isfile(filename) :
+- print "-> Already there. Skipping."
++ print("-> Already there. Skipping.")
+ continue
+
+ m = hashlib.md5()
+ m.update(email)
+ url = GRAVATAR_URL % {"id" : m.hexdigest()}
+- print "- Downloading " + url
++ print("- Downloading " + url)
+ f = urllib.urlopen(url)
+ input = None
+ if f.getcode() == 200 :
+ input = f.read()
+ f.close()
+ if input :
+- print "- Saving file " + filename
++ print("- Saving file " + filename)
+ f = open(filename, "w")
+ f.write(input)
+ f.close()
+ else :
+- print "- No Gravatar found"
++ print("- No Gravatar found")
+diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
+index 6d63d5bcf..e40bfb855 100644
+--- a/BuildTools/SCons/SConstruct
++++ b/BuildTools/SCons/SConstruct
+@@ -7,9 +7,9 @@ root = Dir("../..").abspath
+
+ # Override SConscript to handle tests
+ oldSConscript = SConscript
+-def SConscript(*arguments, **keywords) :
+- if not keywords.get("test_only", False) or env["TEST"] :
+- return apply(oldSConscript, arguments, keywords)
++def SConscript(*args, **kwargs) :
++ if not kwargs.get("test_only", False) or env["TEST"] :
++ return oldSConscript(*args, **kwargs)
+ env.SConscript = SConscript
+
+ ################################################################################
+@@ -142,11 +142,11 @@ conf = Configure(conf_env, custom_tests = {
+ })
+
+ if not conf.CheckCXX() or not conf.CheckCC() :
+- print "Error: You need a working compiler"
++ print("Error: You need a working compiler")
+ Exit(1)
+
+ if not conf.CheckCpp11Support() :
+- print "Error: You need a compiler with support for the C++11 standard"
++ print("Error: You need a compiler with support for the C++11 standard")
+ Exit(1)
+
+
+@@ -170,7 +170,7 @@ if (not zlib_okay) and conf.CheckLib("z") :
+ if zlib_okay :
+ env["ZLIB_FLAGS"] = zlib_flags
+ elif not env.get("zlib_bundled_enable", True) :
+- print "Error: Zlib not found and zlib_bundled_enable is false"
++ print("Error: Zlib not found and zlib_bundled_enable is false")
+ Exit(1)
+ else :
+ env["ZLIB_BUNDLED"] = True
+@@ -238,7 +238,7 @@ if not env.get("boost_force_bundled") and allLibsPresent :
+ # FIXME: Remove this workaround when UUID is available in most distros
+ env["BOOST_BUNDLED_UUID_ONLY"] = True
+ elif not env.get("boost_bundled_enable", True) :
+- print "Error: Boost not found and boost_bundled_enable is false"
++ print("Error: Boost not found and boost_bundled_enable is false")
+ Exit(1)
+ else :
+ env["BOOST_BUNDLED"] = True
+@@ -373,7 +373,7 @@ if env.get("try_expat", True) and not env.get("HAVE_LIBXML",0) :
+ # Bundled expat
+ bundledExpat = False
+ if not env.get("HAVE_EXPAT", 0) and not env.get("HAVE_LIBXML", 0) :
+- print "Expat or LibXML not found. Using bundled Expat"
++ print("Expat or LibXML not found. Using bundled Expat")
+ SConscript("#/3rdParty/Expat/SConscript")
+ env["HAVE_EXPAT"] = 1
+ env["EXPAT_BUNDLED"] = True
+@@ -424,10 +424,10 @@ if not env.get("HAVE_ICU", False) and not env.get("HAVE_LIBIDN", False) :
+ env["HAVE_LIBIDN"] = 1
+ env["LIBIDN_BUNDLED"] = 1
+ elif env.get("need_idn", True):
+- print "Error: ICU and LIBIDN not found, and libidn_bundled_enable is false"
++ print("Error: ICU and LIBIDN not found, and libidn_bundled_enable is false")
+ Exit(1)
+ else:
+- print "Proceeding without an IDN library because need_idn was false. This will break all internal binaries"
++ print("Proceeding without an IDN library because need_idn was false. This will break all internal binaries")
+
+ # Unbound
+ if env["unbound"] :
+@@ -514,7 +514,7 @@ if not env.get("lua_force_bundled", False) and conf.CheckLibWithHeader(env["lua_
+ if lua_version > 0 :
+ env["LUA_FLAGS"]["LUA_VERSION"] = str(lua_version // 100) + "." + str(lua_version % 100)
+ else :
+- print "Warning: Unable to determine Lua version. Not installing Lua libraries."
++ print("Warning: Unable to determine Lua version. Not installing Lua libraries.")
+ env["LUA_FLAGS"].update(lua_flags)
+ else :
+ env["LUA_BUNDLED"] = 1
+@@ -666,7 +666,7 @@ try :
+ except SCons.Errors.StopError:
+ env["HAVE_QT"] = False
+ except Exception as e:
+- print "Info: %s" % str(e)
++ print("Info: %s" % str(e))
+ env["HAVE_QT"] = False
+
+ ################################################################################
+@@ -688,7 +688,7 @@ try:
+ if not env.GetOption("clean") and env.get("install_git_hooks", True) :
+ env.Install("#/.git/hooks", Glob("#/BuildTools/Git/Hooks/*"))
+ except TypeError:
+- print "You seem to be using Swift in a Git submodule. Not installing hooks."
++ print("You seem to be using Swift in a Git submodule. Not installing hooks.")
+
+
+ ################################################################################
+@@ -752,7 +752,7 @@ modules.append("QA")
+ env["PROJECTS"] = [m for m in modules if m not in ["Documentation", "QA", "SwifTools"] and not m.startswith("3rdParty")]
+ for stage in ["flags", "build"] :
+ env["SCONS_STAGE"] = stage
+- SConscript(dirs = map(lambda x : root + "/" + x, modules))
++ SConscript(dirs = list(map(lambda x : root + "/" + x, modules)))
+
+ # SLOCCount
+ if ARGUMENTS.get("sloccount", False) :
+@@ -764,9 +764,9 @@ if ARGUMENTS.get("sloccount", False) :
+ # Print summary
+ ################################################################################
+
+-print
+-print " Build Configuration"
+-print " -------------------"
++print("")
++print(" Build Configuration")
++print(" -------------------")
+
+ parsers = []
+ if env.get("HAVE_LIBXML", 0):
+@@ -775,14 +775,14 @@ if env.get("HAVE_EXPAT", 0):
+ parsers.append("Expat")
+ if env.get("EXPAT_BUNDLED", False) :
+ parsers.append("(Bundled)")
+-print " Projects: " + ' '.join(env["PROJECTS"])
+-print ""
+-print " XML Parsers: " + ' '.join(parsers)
++print(" Projects: " + ' '.join(env["PROJECTS"]))
++print("")
++print(" XML Parsers: " + ' '.join(parsers))
+
+-print " TLS Support: " + (env.get("HAVE_OPENSSL",0) and "OpenSSL" or env.get("HAVE_SECURETRANSPORT",0) and "Secure Transport" or env.get("HAVE_SCHANNEL", 0) and "Schannel" or "Disabled")
+-print " DNSSD Support: " + (env.get("HAVE_BONJOUR") and "Bonjour" or (env.get("HAVE_AVAHI") and "Avahi" or "Disabled"))
+-print
++print(" TLS Support: " + (env.get("HAVE_OPENSSL",0) and "OpenSSL" or env.get("HAVE_SECURETRANSPORT",0) and "Secure Transport" or env.get("HAVE_SCHANNEL", 0) and "Schannel" or "Disabled"))
++print(" DNSSD Support: " + (env.get("HAVE_BONJOUR") and "Bonjour" or (env.get("HAVE_AVAHI") and "Avahi" or "Disabled")))
++print("")
+
+ if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) and not env.get("HAVE_SCHANNEL", 0) and not env.get("HAVE_SECURETRANSPORT", 0):
+- print "Error: A working TLS backend is required. Please check the documentation for more information."
++ print("Error: A working TLS backend is required. Please check the documentation for more information.")
+ Exit(1)
+diff --git a/BuildTools/SCons/Tools/AppBundle.py b/BuildTools/SCons/Tools/AppBundle.py
+index 337e83f7c..31cfef109 100644
+--- a/BuildTools/SCons/Tools/AppBundle.py
++++ b/BuildTools/SCons/Tools/AppBundle.py
+@@ -34,7 +34,7 @@ def generate(env) :
+ """
+ for key, value in infoDict.items() :
+ plist += "<key>" + key + "</key>\n"
+- plist += "<string>" + value.encode("utf-8") + "</string>\n"
++ plist += "<string>" + value + "</string>\n"
+ if handlesXMPPURIs :
+ plist += """<key>CFBundleURLTypes</key>
+ <array>
+@@ -50,7 +50,7 @@ def generate(env) :
+
+ if sparklePublicDSAKey :
+ plist += "<key>SUPublicDSAKeyFile</key>"
+- plist += "<string>" + sparklePublicDSAKey.name.encode("utf-8") + "</string>"
++ plist += "<string>" + sparklePublicDSAKey.name + "</string>"
+ env.Install(resourcesDir, sparklePublicDSAKey)
+ plist += """</dict>
+ </plist>
+diff --git a/BuildTools/SCons/Tools/InstallWithSymLinks.py b/BuildTools/SCons/Tools/InstallWithSymLinks.py
+index 23d12ed80..495519210 100644
+--- a/BuildTools/SCons/Tools/InstallWithSymLinks.py
++++ b/BuildTools/SCons/Tools/InstallWithSymLinks.py
+@@ -74,21 +74,21 @@ def scons_copytree(src, dst, symlinks=False):
+ else:
+ shutil.copy2(srcname, dstname)
+ # XXX What about devices, sockets etc.?
+- except (IOError, os.error), why:
++ except (IOError, os.error) as why:
+ errors.append((srcname, dstname, str(why)))
+ # catch the CopytreeError from the recursive copytree so that we can
+ # continue with other files
+- except CopytreeError, err:
++ except CopytreeError as err:
+ errors.extend(err.args[0])
+ try:
+ shutil.copystat(src, dst)
+ except WindowsError:
+ # can't copy file access times on Windows
+ pass
+- except OSError, why:
++ except OSError as why:
+ errors.extend((src, dst, str(why)))
+ if errors:
+- raise CopytreeError, errors
++ raise CopytreeError(errors)
+
+
+ def symlinkBuilderImpl(target, source, env):
+diff --git a/BuildTools/SCons/Tools/qt4.py b/BuildTools/SCons/Tools/qt4.py
+index d5c14e20c..c97e751bc 100644
+--- a/BuildTools/SCons/Tools/qt4.py
++++ b/BuildTools/SCons/Tools/qt4.py
+@@ -137,23 +137,23 @@ class _Automoc:
+ out_sources = source[:]
+
+ for obj in source:
+- if isinstance(obj,basestring): # big kludge!
+- print "scons: qt4: '%s' MAYBE USING AN OLD SCONS VERSION AND NOT CONVERTED TO 'File'. Discarded." % str(obj)
++ if isinstance(obj,str): # big kludge!
++ print("scons: qt4: '%s' MAYBE USING AN OLD SCONS VERSION AND NOT CONVERTED TO 'File'. Discarded." % str(obj))
+ continue
+ if not obj.has_builder():
+ # binary obj file provided
+ if debug:
+- print "scons: qt: '%s' seems to be a binary. Discarded." % str(obj)
++ print("scons: qt: '%s' seems to be a binary. Discarded." % str(obj))
+ continue
+ cpp = obj.sources[0]
+ if not splitext(str(cpp))[1] in cxx_suffixes:
+ if debug:
+- print "scons: qt: '%s' is no cxx file. Discarded." % str(cpp)
++ print("scons: qt: '%s' is no cxx file. Discarded." % str(cpp) )
+ # c or fortran source
+ continue
+ #cpp_contents = comment.sub('', cpp.get_contents())
+ try:
+- cpp_contents = cpp.get_contents()
++ cpp_contents = str(cpp.get_contents())
+ except: continue # may be an still not generated source
+ h=None
+ for h_ext in header_extensions:
+@@ -163,12 +163,12 @@ class _Automoc:
+ h = find_file(hname, (cpp.get_dir(),), env.File)
+ if h:
+ if debug:
+- print "scons: qt: Scanning '%s' (header of '%s')" % (str(h), str(cpp))
++ print("scons: qt: Scanning '%s' (header of '%s')" % (str(h), str(cpp)))
+ #h_contents = comment.sub('', h.get_contents())
+- h_contents = h.get_contents()
++ h_contents = str(h.get_contents())
+ break
+ if not h and debug:
+- print "scons: qt: no header for '%s'." % (str(cpp))
++ print("scons: qt: no header for '%s'." % (str(cpp)))
+ if h and q_object_search.search(h_contents):
+ # h file with the Q_OBJECT macro found -> add moc_cpp
+ moc_cpp = env.Moc4(h)
+@@ -176,14 +176,14 @@ class _Automoc:
+ out_sources.append(moc_o)
+ #moc_cpp.target_scanner = SCons.Defaults.CScan
+ if debug:
+- print "scons: qt: found Q_OBJECT macro in '%s', moc'ing to '%s'" % (str(h), str(moc_cpp))
++ print("scons: qt: found Q_OBJECT macro in '%s', moc'ing to '%s'" % (str(h), str(moc_cpp)))
+ if cpp and q_object_search.search(cpp_contents):
+ # cpp file with Q_OBJECT macro found -> add moc
+ # (to be included in cpp)
+ moc = env.Moc4(cpp)
+ env.Ignore(moc, moc)
+ if debug:
+- print "scons: qt: found Q_OBJECT macro in '%s', moc'ing to '%s'" % (str(cpp), str(moc))
++ print("scons: qt: found Q_OBJECT macro in '%s', moc'ing to '%s'" % (str(cpp), str(moc)))
+ #moc.source_scanner = SCons.Defaults.CScan
+ # restore the original env attributes (FIXME)
+ objBuilder.env = objBuilderEnv
+@@ -344,7 +344,7 @@ def generate(env):
+ else:
+ result.append(itemPath)
+ return result
+- contents = node.get_contents()
++ contents = str(node.get_contents())
+ includes = [included[1] for included in qrcinclude_re.findall(contents)]
+ qrcpath = os.path.dirname(node.path)
+ dirs = [included for included in includes if os.path.isdir(os.path.join(qrcpath,included))]
+diff --git a/BuildTools/SCons/Tools/textfile.py b/BuildTools/SCons/Tools/textfile.py
+index cc5866693..c19bdf917 100644
+--- a/BuildTools/SCons/Tools/textfile.py
++++ b/BuildTools/SCons/Tools/textfile.py
+@@ -107,7 +107,7 @@ def _action(target, source, env):
+ # write the file
+ try:
+ fd = open(target[0].get_path(), "wb")
+- except (OSError,IOError), e:
++ except (OSError,IOError) as e:
+ raise SCons.Errors.UserError("Can't write target file %s" % target[0])
+ # separate lines by 'linesep' only if linesep is not empty
+ lsep = None
+diff --git a/BuildTools/SCons/Version.py b/BuildTools/SCons/Version.py
+index f215a5d6d..9021831f2 100644
+--- a/BuildTools/SCons/Version.py
++++ b/BuildTools/SCons/Version.py
+@@ -6,7 +6,7 @@ def getGitBuildVersion(root, project) :
+ return tag.rstrip()[len(project)+1:]
+ tag = git("describe --tags --match \"" + project + "-*\"", root)
+ if tag :
+- m = re.match(project + "-(.*)-(.*)-(.*)", tag)
++ m = re.match(project + "-(.*)-(.*)-(.*)", tag.decode('utf-8'))
+ if m :
+ return m.group(1) + "-dev" + m.group(2)
+ return None
+@@ -17,7 +17,7 @@ def git(cmd, root) :
+ gitVersion = p.stdout.read()
+ # error = p.stderr.read()
+ # if error:
+- # print "Git error: " + error
++ # print("Git error: " + error)
+ p.stdin.close()
+ if p.wait() == 0 :
+ return gitVersion
+@@ -163,7 +163,7 @@ class convertToWindowsVersionTest(unittest.TestCase):
+ ('3.0alpha-dev524', (3, 0, 524)),
+ ('3.0alpha-dev515', (3, 0, 515)),
+ ]
+- windowsVersionMapping = list(map(lambda (x,y): (x, convertToWindowsVersion(x)), versionStringsWithOldVersions))
++ windowsVersionMapping = list(map(lambda x,y: (x, convertToWindowsVersion(x)), versionStringsWithOldVersions))
+
+ def testThatBetaIsHigherThanAlpha(self):
+ self.assertTrue(convertToWindowsVersion("3.0beta0") > convertToWindowsVersion("3.0alpha0"))
+@@ -194,8 +194,8 @@ if __name__ == '__main__':
+ if len(sys.argv) == 1:
+ unittest.main()
+ elif len(sys.argv) == 2:
+- print convertToWindowsVersion(sys.argv[1])
++ print (convertToWindowsVersion(sys.argv[1]))
+ sys.exit(0)
+ else:
+- print "Error: Simply run the script without arguments or pass a single argument."
++ print ("Error: Simply run the script without arguments or pass a single argument.")
+ sys.exit(-1)
+diff --git a/BuildTools/scons2ninja.py b/BuildTools/scons2ninja.py
+index 6c77c8897..855a1339e 100755
+--- a/BuildTools/scons2ninja.py
++++ b/BuildTools/scons2ninja.py
+@@ -429,7 +429,7 @@ for line in f.stdout :
+ previous_filename = filename
+
+ if f.wait() != 0 :
+- print "Error calling '" + scons_generate_cmd + "'"
++ print("Error calling '" + scons_generate_cmd + "'")
+ print f.stderr.read()
+ exit(-1)
+
+diff --git a/Slimber/SConscript b/Slimber/SConscript
+index a41fe0b6d..fa5aa53b2 100644
+--- a/Slimber/SConscript
++++ b/Slimber/SConscript
+@@ -11,10 +11,10 @@ elif env["PLATFORM"] != "darwin" :
+ env["PROJECTS"].remove("Slimber")
+
+ if not "Slimber" in env["PROJECTS"] and env["SCONS_STAGE"] == "flags" :
+- print "Bonjour missing. Not building Slimber."
++ print("Bonjour missing. Not building Slimber.")
+
+ if not env.get("HAVE_QT", False) and "Slimber" in env["PROJECTS"] :
+- print "Qt missing. Not building Slimber."
++ print("Qt missing. Not building Slimber.")
+ env["PROJECTS"].remove("Slimber")
+
+ if "Slimber" in env["PROJECTS"] :
+diff --git a/Sluift/SConscript b/Sluift/SConscript
+index de9cab618..af54ece20 100644
+--- a/Sluift/SConscript
++++ b/Sluift/SConscript
+@@ -3,7 +3,7 @@ import Version, os.path
+ Import(["env"])
+
+ if env["SCONS_STAGE"] == "build" and not GetOption("help") and not env.get("HAVE_LUA", 0) :
+- print "Warning: Lua was not found. Sluift will not be built."
++ print("Warning: Lua was not found. Sluift will not be built.")
+ if "Sluift" in env["PROJECTS"] :
+ env["PROJECTS"].remove("Sluift")
+
+diff --git a/Swift/Packaging/SConscript b/Swift/Packaging/SConscript
+index 3aa791fa8..556c59652 100644
+--- a/Swift/Packaging/SConscript
++++ b/Swift/Packaging/SConscript
+@@ -25,5 +25,5 @@ if env["SCONS_STAGE"] == "build" :
+ target='$HELP2MAN_DEBIAN_DIR/swift-im.1', source='#/Swift/QtUI/swift-im',
+ action = Action('$HELP2MAN --no-discard-stderr -m "Swift Manual" -S "Swift" -n "swift-im" -N $SOURCE > $TARGET', cmdstr = "$HELP2MANSTR"))
+ else:
+- print "Enabled help2man but help2man is not in the PATH of the current environment."
++ print("Enabled help2man but help2man is not in the PATH of the current environment.")
+ Exit(1)
+diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
+index 54f0450c0..cc51340b3 100644
+--- a/Swift/QtUI/SConscript
++++ b/Swift/QtUI/SConscript
+@@ -22,7 +22,7 @@ Import("env")
+ myenv = env.Clone()
+
+ # Disable warnings that affect Qt
+-myenv["CXXFLAGS"] = filter(lambda x : x != "-Wfloat-equal", myenv["CXXFLAGS"])
++myenv["CXXFLAGS"] = list(filter(lambda x : x != "-Wfloat-equal", myenv["CXXFLAGS"]))
+ if "clang" in env["CC"] :
+ myenv.Append(CXXFLAGS = ["-Wno-float-equal", "-Wno-shorten-64-to-32", "-Wno-missing-prototypes", "-Wno-unreachable-code", "-Wno-disabled-macro-expansion", "-Wno-unused-private-field", "-Wno-extra-semi", "-Wno-duplicate-enum", "-Wno-missing-variable-declarations", "-Wno-conversion", "-Wno-undefined-reinterpret-cast"])
+
+@@ -496,16 +496,16 @@ if env["PLATFORM"] == "win32" :
+ def signToolAction(target = None, source = None, env = None):
+ signresult = 0
+ for x in range (1, 4) :
+- print "Attemping to sign the packages [%s]" % x
++ print("Attemping to sign the packages [%s]" % x)
+ signresult = env.Execute('signtool.exe sign /fd SHA256 /f "${SIGNTOOL_KEY_PFX}" /t "${SIGNTOOL_TIMESTAMP_URL}" /d "Swift Installer" ' + str(target[0]))
+ if signresult != 1 :
+ break
+ #If all 3 attemps to sign the package failed, stop the build.
+ if signresult == 1 :
+- print "Error: The build has failed to sign the installer package"
++ print("Error: The build has failed to sign the installer package")
+ Exit(1)
+ if signresult == 2 :
+- print "Signing was completed with warnings."
++ print("Signing was completed with warnings.")
+
+ myenv.AddPostAction(lightTask, signToolAction)
+
+diff --git a/Swift/SConscript b/Swift/SConscript
+index b211435ac..30b09e008 100644
+--- a/Swift/SConscript
++++ b/Swift/SConscript
+@@ -7,17 +7,17 @@ SConscript("Controllers/SConscript")
+ if env["SCONS_STAGE"] == "build" :
+ if not GetOption("help") and not env.get("HAVE_QT", 0) :
+ if "Swift" in env["PROJECTS"] :
+- print "Warning: Swift requires Qt. Not building the Swift Qt application."
++ print("Warning: Swift requires Qt. Not building the Swift Qt application.")
+ env["PROJECTS"].remove("Swift")
+ elif not GetOption("help") and env["target"] == "native" and "Swift" in env["PROJECTS"] :
+ try :
+ SConscript("QtUI/SConscript")
+ except Exception as e:
+- print "Warning: %s" % str(e)
++ print("Warning: %s" % str(e))
+ env["PROJECTS"].remove("Swift")
+ if "Swift" in env["PROJECTS"] and env["BOOST_1_64_DETECTED"] and not env.get("allow_boost_1_64") and not env.GetOption("clean") :
+ #Version 1.64 has some issues with the serialization of boost::optional, see https://svn.boost.org/trac10/ticket/13050
+- print "Boost 1.64 has been detected. It is not recommended to use this version due to a regression within the library. Swift has been removed from the current build. You can still use this version by setting allow_boost_1_64 to true, but recent chats and highlighting rules will reset."
++ print("Boost 1.64 has been detected. It is not recommended to use this version due to a regression within the library. Swift has been removed from the current build. You can still use this version by setting allow_boost_1_64 to true, but recent chats and highlighting rules will reset.")
+ env["PROJECTS"].remove("Swift")
+ if env["help2man"]:
+ SConscript("Packaging/SConscript")
+\ No newline at end of file
+diff --git a/BuildTools/SCons/Tools/Flags.py b/BuildTools/SCons/Tools/Flags.py
+index fe0cfcc54..7e0a9723b 100644
+--- a/BuildTools/SCons/Tools/Flags.py
++++ b/BuildTools/SCons/Tools/Flags.py
+@@ -4,7 +4,7 @@ def generate(env) :
+ def useFlags(env, flags) :
+ for flag in flags :
+ if flag in env :
+- env[flag] = env[flag] + flags[flag]
++ env[flag] = list(env[flag]) + flags[flag]
+ else :
+ env[flag] = flags[flag]
+ env.AddMethod(useFlags, "UseFlags")
+diff --git a/BuildTools/SCons/Tools/qt4.py b/BuildTools/SCons/Tools/qt4.py
+index d5c14e20c..a19e35e2a 100644
+--- a/BuildTools/SCons/Tools/qt4.py
++++ b/BuildTools/SCons/Tools/qt4.py
+@@ -46,7 +47,7 @@ import SCons.Tool
+ import SCons.Util
+ import SCons.SConf
+
+-class ToolQtWarning(SCons.Warnings.Warning):
++class ToolQtWarning(SCons.Warnings.SConsWarning):
+ pass
+
+ class GeneratedMocFileNotIncluded(ToolQtWarning):
+diff --git a/BuildTools/SCons/Tools/textfile.py b/BuildTools/SCons/Tools/textfile.py
+index cc5866693..ac9b83f9f 100644
+--- a/BuildTools/SCons/Tools/textfile.py
++++ b/BuildTools/SCons/Tools/textfile.py
+@@ -106,7 +106,7 @@ def _action(target, source, env):
+
+ # write the file
+ try:
+- fd = open(target[0].get_path(), "wb")
++ fd = open(target[0].get_path(), "w")
+ except (OSError,IOError) as e:
+ raise SCons.Errors.UserError("Can't write target file %s" % target[0])
+ # separate lines by 'linesep' only if linesep is not empty
diff --git a/network/swift/swift.SlackBuild b/network/swift/swift.SlackBuild
new file mode 100644
index 0000000000..632f294eb2
--- /dev/null
+++ b/network/swift/swift.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for swift
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=swift
+VERSION=${VERSION:-4.0.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+set -x
+patch -p1 -i $CWD/swift-4.0.2-boost-1.69-compatibility.patch
+#patch -p1 -i $CWD/swift-4.0.2-qt-5.11-compatibility.patch
+patch -p1 -i $CWD/swift-4.0.2-qt-5.15-compatibility.patch
+patch -p1 -i $CWD/swift-python3.patch
+patch -p1 -i $CWD/swift-gcc11.patch
+sed -i 's/fd.write(_do_subst(s, subs).encode("utf-8"))/fd.write(_do_subst(s, subs))/g' BuildTools/SCons/Tools/textfile.py
+scons \
+ max_jobs=1 \
+ optimize=1 \
+ debug=0 \
+ swiften_dll=1 \
+ cflags="${SLKCFLAGS} -fpermissive" \
+ cxxflags="${SLKCFLAGS} -fpermissive" \
+ install_root=$PKG/usr \
+ prefix=/usr \
+ SWIFT_INSTALLDIR=$PKG/usr \
+ SWIFTEN_INSTALLDIR=$PKG/usr \
+ $PKG \
+ Swift Swiften
+
+if [ -n "${LIBDIRSUFFIX}" ] ; then
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+fi
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING COPYING.gpl DEVELOPMENT.md README.md COPYING.dependencies COPYING.thirdparty Documentation/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/swift/swift.info b/network/swift/swift.info
new file mode 100644
index 0000000000..fd0b5baae3
--- /dev/null
+++ b/network/swift/swift.info
@@ -0,0 +1,10 @@
+PRGNAM="swift"
+VERSION="4.0.3"
+HOMEPAGE="https://swift.im"
+DOWNLOAD="https://swift.im/git/swift/snapshot/swift-4.0.3.tar.bz2"
+MD5SUM="a2e2f93c9b23f8af334910c42d519c7a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="avahi"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.swift_2023-09-23@lockywolf.net"
diff --git a/network/sylpheed/README b/network/sylpheed/README
index 3b53515173..7e6fecd0b5 100644
--- a/network/sylpheed/README
+++ b/network/sylpheed/README
@@ -1,5 +1,5 @@
-Sylpheed is a simple, lightweight but featureful, and easy-to-use e-mail
-client (mailer, MUA).
+Sylpheed is a simple, lightweight but featureful, and easy-to-use
+e-mail client (mailer, MUA).
Sylpheed has the following features:
diff --git a/network/sylpheed/sylpheed.SlackBuild b/network/sylpheed/sylpheed.SlackBuild
index 812659644a..eb0b55c8cd 100644
--- a/network/sylpheed/sylpheed.SlackBuild
+++ b/network/sylpheed/sylpheed.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for sylpheed
#
@@ -24,20 +24,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sylpheed
VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -47,8 +57,8 @@ DOCS="ABOUT-NLS AUTHORS COPYING COPYING.LIB
set -e
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,10 +79,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Thanks to archlinux!
+sed -i 's|enchant/|enchant-2/|g' src/compose.c
+sed -i 's| enchant| enchant-2|g' configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -88,6 +102,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
# Install desktop file and icon (we'll use the largest icon available by
# default - that way, it will scale down just fine for users who need a
@@ -113,4 +128,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/syncterm/0002-use-sched-yield-53264f2b.diff b/network/syncterm/0002-use-sched-yield-53264f2b.diff
new file mode 100644
index 0000000000..7b18f3659e
--- /dev/null
+++ b/network/syncterm/0002-use-sched-yield-53264f2b.diff
@@ -0,0 +1,38 @@
+diff --git a/3rdp/build/GNUmakefile b/3rdp/build/GNUmakefile
+index fdf54565834a6a418f7267f4f8bf2269b80eab41..804dd76feb1a2d3b0278686f5326f7c2302e5fde 100644
+--- a/3rdp/build/GNUmakefile
++++ b/3rdp/build/GNUmakefile
+@@ -67,7 +67,7 @@
+ $(CRYPT_IDIR): | $(3RDPODIR)
+ $(QUIET)$(IFNOTEXIST) mkdir $(CRYPT_IDIR)
+
+-$(CRYPTLIB_BUILD): $(3RDP_ROOT)$(DIRSEP)dist/cryptlib.zip $(3RDP_ROOT)$(DIRSEP)build/terminal-params.patch $(3RDP_ROOT)$(DIRSEP)build/cl-mingw32-static.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ranlib.patch $(3RDP_ROOT)$(DIRSEP)build/cl-win32-noasm.patch $(3RDP_ROOT)$(DIRSEP)build/cl-zz-country.patch $(3RDP_ROOT)$(DIRSEP)build/cl-algorithms.patch $(3RDP_ROOT)$(DIRSEP)build/cl-allow-duplicate-ext.patch $(3RDP_ROOT)$(DIRSEP)build/cl-macosx-minver.patch $(3RDP_ROOT)$(DIRSEP)build/cl-endian.patch $(3RDP_ROOT)$(DIRSEP)build/cl-cryptodev.patch $(3RDP_ROOT)$(DIRSEP)build/cl-posix-me-gently.patch $(3RDP_ROOT)$(DIRSEP)build/cl-tpm-linux.patch $(3RDP_ROOT)$(DIRSEP)build/cl-PAM-noprompts.patch $(3RDP_ROOT)$(DIRSEP)build/cl-zlib.patch $(3RDP_ROOT)$(DIRSEP)build/Dynamic-linked-static-lib.patch $(3RDP_ROOT)$(DIRSEP)build/SSL-fix.patch $(3RDP_ROOT)$(DIRSEP)build/cl-bigger-maxattribute.patch $(3RDP_ROOT)$(DIRSEP)build/cl-vcxproj.patch $(3RDP_ROOT)$(DIRSEP)build/cl-mingw-vcver.patch $(3RDP_ROOT)$(DIRSEP)build/cl-win32-build-fix.patch $(3RDP_ROOT)$(DIRSEP)build/cl-gcc-non-const-time-val.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-odbc.patch $(3RDP_ROOT)$(DIRSEP)build/cl-noasm-defines.patch $(3RDP_ROOT)$(DIRSEP)build/cl-bn-noasm64-fix.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-RSA-suites.patch $(3RDP_ROOT)$(DIRSEP)build/cl-fix-ECC-RSA.patch $(3RDP_ROOT)$(DIRSEP)build/cl-prefer-ECC.patch $(3RDP_ROOT)$(DIRSEP)build/cl-prefer-ECC-harder.patch $(3RDP_ROOT)$(DIRSEP)build/cl-more-RSA-ECC-fixes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-DH-key-init.patch $(3RDP_ROOT)$(DIRSEP)build/cl-clear-GCM-flag.patch $(3RDP_ROOT)$(DIRSEP)build/cl-use-ssh-ctr.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ssh-list-ctr-modes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ssh-incCtr.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ssl-suite-blocksizes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-tpm.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-via-aes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-fix-ssh-ecc-ephemeral.patch $(3RDP_ROOT)$(DIRSEP)/build/cl-just-use-cc.patch $(3RDP_ROOT)$(DIRSEP)/build/cl-learn-numbers.patch | $(CRYPT_SRC) $(CRYPT_IDIR)
++$(CRYPTLIB_BUILD): $(3RDP_ROOT)$(DIRSEP)dist/cryptlib.zip $(3RDP_ROOT)$(DIRSEP)build/terminal-params.patch $(3RDP_ROOT)$(DIRSEP)build/cl-mingw32-static.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ranlib.patch $(3RDP_ROOT)$(DIRSEP)build/cl-win32-noasm.patch $(3RDP_ROOT)$(DIRSEP)build/cl-zz-country.patch $(3RDP_ROOT)$(DIRSEP)build/cl-algorithms.patch $(3RDP_ROOT)$(DIRSEP)build/cl-allow-duplicate-ext.patch $(3RDP_ROOT)$(DIRSEP)build/cl-macosx-minver.patch $(3RDP_ROOT)$(DIRSEP)build/cl-endian.patch $(3RDP_ROOT)$(DIRSEP)build/cl-cryptodev.patch $(3RDP_ROOT)$(DIRSEP)build/cl-posix-me-gently.patch $(3RDP_ROOT)$(DIRSEP)build/cl-tpm-linux.patch $(3RDP_ROOT)$(DIRSEP)build/cl-PAM-noprompts.patch $(3RDP_ROOT)$(DIRSEP)build/cl-zlib.patch $(3RDP_ROOT)$(DIRSEP)build/Dynamic-linked-static-lib.patch $(3RDP_ROOT)$(DIRSEP)build/SSL-fix.patch $(3RDP_ROOT)$(DIRSEP)build/cl-bigger-maxattribute.patch $(3RDP_ROOT)$(DIRSEP)build/cl-vcxproj.patch $(3RDP_ROOT)$(DIRSEP)build/cl-mingw-vcver.patch $(3RDP_ROOT)$(DIRSEP)build/cl-win32-build-fix.patch $(3RDP_ROOT)$(DIRSEP)build/cl-gcc-non-const-time-val.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-odbc.patch $(3RDP_ROOT)$(DIRSEP)build/cl-noasm-defines.patch $(3RDP_ROOT)$(DIRSEP)build/cl-bn-noasm64-fix.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-RSA-suites.patch $(3RDP_ROOT)$(DIRSEP)build/cl-fix-ECC-RSA.patch $(3RDP_ROOT)$(DIRSEP)build/cl-prefer-ECC.patch $(3RDP_ROOT)$(DIRSEP)build/cl-prefer-ECC-harder.patch $(3RDP_ROOT)$(DIRSEP)build/cl-more-RSA-ECC-fixes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-DH-key-init.patch $(3RDP_ROOT)$(DIRSEP)build/cl-clear-GCM-flag.patch $(3RDP_ROOT)$(DIRSEP)build/cl-use-ssh-ctr.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ssh-list-ctr-modes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ssh-incCtr.patch $(3RDP_ROOT)$(DIRSEP)build/cl-ssl-suite-blocksizes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-tpm.patch $(3RDP_ROOT)$(DIRSEP)build/cl-no-via-aes.patch $(3RDP_ROOT)$(DIRSEP)build/cl-fix-ssh-ecc-ephemeral.patch $(3RDP_ROOT)$(DIRSEP)/build/cl-just-use-cc.patch $(3RDP_ROOT)$(DIRSEP)/build/cl-learn-numbers.patch $(3RDP_ROOT)/build/cl-linux-yield.patch | $(CRYPT_SRC) $(CRYPT_IDIR)
+ @echo Creating $@ ...
+ $(QUIET)-rm -rf $(CRYPT_SRC)/*
+ $(QUIET)unzip -oa $(3RDPDISTDIR)$(DIRSEP)cryptlib.zip -d $(CRYPT_SRC)
+@@ -112,6 +112,7 @@
+ $(QUIET)patch -p0 -d $(CRYPT_SRC) < cl-fix-ssh-ecc-ephemeral.patch
+ $(QUIET)patch -p0 -d $(CRYPT_SRC) < cl-just-use-cc.patch
+ $(QUIET)patch -p0 -d $(CRYPT_SRC) < cl-learn-numbers.patch
++ $(QUIET)patch -p0 -d $(CRYPT_SRC) < cl-linux-yield.patch
+ ifeq ($(CC),mingw32-gcc)
+ $(QUIET)cd $(CRYPT_SRC) && env - PATH="$(PATH)" CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" make directories
+ $(QUIET)cd $(CRYPT_SRC) && env - PATH="$(PATH)" CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)" make toolscripts
+diff --git a/3rdp/build/cl-linux-yield.patch b/3rdp/build/cl-linux-yield.patch
+new file mode 100644
+index 0000000000000000000000000000000000000000..8cdfc8eafd3fd85f39bf0f8b519f25a31078fee4
+--- /dev/null
++++ b/3rdp/build/cl-linux-yield.patch
+@@ -0,0 +1,11 @@
++--- old/thread.h 2021-10-19 12:34:08.766649958 -0700
+++++ kernel/thread.h 2021-10-19 12:34:43.794072316 -0700
++@@ -3005,7 +3005,7 @@
++ #endif /* Slowaris 5.7 / 7.x or newer */
++ #elif defined( _AIX ) || defined( __Android__ ) || defined( __CYGWIN__ ) || \
++ ( defined( __hpux ) && ( OSVERSION >= 11 ) ) || \
++- defined( __NetBSD__ ) || defined( __QNX__ ) || defined( __UCLIBC__ )
+++ defined( __NetBSD__ ) || defined( __QNX__ ) || defined( __UCLIBC__ ) || defined(__linux__)
++ #define THREAD_YIELD() sched_yield()
++ #elif defined( __XMK__ )
++ /* The XMK underlying scheduling object is the process context, for which
diff --git a/network/syncterm/README b/network/syncterm/README
new file mode 100644
index 0000000000..1a86f0e9f7
--- /dev/null
+++ b/network/syncterm/README
@@ -0,0 +1,22 @@
+syncterm (BBS-oriented terminal emulator)
+
+syncterm is a terminal emulator that connects to a host via
+dialup modem, raw TCP, telnet, ssh, or rsync. Its user interface is
+similar to ProComm. It's intended for use with BBSes (bulletin board
+systems), and includes support for nonstandard ASCII variants such as
+Atari 8-bit (ATASCII), Commodore 8-bit (PETSCII), and "IBM ANSI" as
+used by MS-DOS.
+
+syncterm can also be used as a local terminal (e.g. like xterm),
+by creating a dialing list entry with address "shell:", command
+"/bin/bash -login" or similar.
+
+Some of the documentation is found only on the website:
+http://syncterm.bbsdev.net/
+
+More information on BBSes can be found here, along with an up-to-date
+list of telnet BBSes:
+https://www.telnetbbsguide.com/
+
+Atari users can download a sycterm.lst full of Atari BBSes here:
+http://sfhqbbs.org/ataribbslist.php
diff --git a/network/syncterm/doinst.sh b/network/syncterm/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/syncterm/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/syncterm/extract-icns.sh b/network/syncterm/extract-icns.sh
new file mode 100644
index 0000000000..07c3f41873
--- /dev/null
+++ b/network/syncterm/extract-icns.sh
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+# 20230728 bkw: Extract PNG icons from a mac .icns file, for use
+# with a SlackBuilds.org script.
+
+# They get written to a directory called icons/, with filenames like
+# 32.png, 64.png, etc (the pixel size). After extracting them, you
+# should 'git add icons/*' if you're using git (otherwise, include
+# icons/ in your submission tarball).
+
+# The SlackBuild should include code to install them; see
+# syncterm.SlackBuild for an example. Don't forget to include a
+# doinst.sh.
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# Feel free to use this as part of your own SlackBuild.
+
+# Note that this script shouldn't be included in the package!
+
+die() {
+ echo "$( basename $0 ): $@" 1>&2
+ exit 1
+}
+
+if [ "$1" = "" -o "$2" != "" ]; then
+ die "one argument required, path to *.icns file."
+fi
+
+if ! which icns2png &>/dev/null; then
+ die "icns2png not found in \$PATH. Install libicns."
+fi
+
+if [ -e icons ]; then
+ die "icons/ already exists, not overwriting."
+fi
+
+mkdir -p icons
+cd icons || die "can't create or cd to icons/ dir."
+
+icns2png -x -d 32 "$1" || die "can't extract any icons."
+count=0
+for png in *x32.png; do
+ [ -e $png ] || break
+ size="$( echo $png | cut -d_ -f2 | cut -dx -f1 )"
+ mv $png $size.png
+ : $(( count++ ))
+done
+
+if [ "$count" = "0" ]; then
+ rm -rf ../icons
+ die "failed to extract any icons."
+fi
+
+echo "extracted $count icons:"
+ls
diff --git a/network/syncterm/icons/128.png b/network/syncterm/icons/128.png
new file mode 100644
index 0000000000..eacbee1f6f
--- /dev/null
+++ b/network/syncterm/icons/128.png
Binary files differ
diff --git a/network/syncterm/icons/16.png b/network/syncterm/icons/16.png
new file mode 100644
index 0000000000..0be1847afa
--- /dev/null
+++ b/network/syncterm/icons/16.png
Binary files differ
diff --git a/network/syncterm/icons/32.png b/network/syncterm/icons/32.png
new file mode 100644
index 0000000000..887b027dfd
--- /dev/null
+++ b/network/syncterm/icons/32.png
Binary files differ
diff --git a/network/syncterm/icons/48.png b/network/syncterm/icons/48.png
new file mode 100644
index 0000000000..df9d91f83c
--- /dev/null
+++ b/network/syncterm/icons/48.png
Binary files differ
diff --git a/network/syncterm/manpage.diff b/network/syncterm/manpage.diff
new file mode 100644
index 0000000000..7bffad39db
--- /dev/null
+++ b/network/syncterm/manpage.diff
@@ -0,0 +1,55 @@
+diff -Naur syncterm-1.1/src/syncterm/syncterm.man.in syncterm-1.1.patched/src/syncterm/syncterm.man.in
+--- syncterm-1.1/src/syncterm/syncterm.man.in 2020-06-26 19:40:21.000000000 -0400
++++ syncterm-1.1.patched/src/syncterm/syncterm.man.in 2023-07-27 16:48:25.575523339 -0400
+@@ -1,11 +1,14 @@
+-.TH SYNCTERM 1 "27 May 2007"
++.TH SYNCTERM 1 "27 Jul 2023"
+ .SH NAME
+ syncterm \- BBS terminal program
+ .SH SYNOPSIS
+ \fBsyncterm\fP [\-e\fIdly\fP] [\-i\fIifc\fP] [\-l\fIlns\fP] [\-t|\-r|\-h] [\-s] [\fIURL\fP]
+ .SH DESCRIPTION
+ \fBSyncTERM\fP is a terminal program designed specifically for connecting to
+-a Bulletin Board System (\fBBBS\fP)
++a Bulletin Board System (\fBBBS\fP).
++.LP
++[\fIURL\fP] may be an actual URL, a hostname, or the name of
++an entry from the dialing list.
+ .SS Options
+ .IP \fB\-e\fIdly\fR
+ Specify the "escape delay" in milliseconds for curses(3) mode. Since curses
+@@ -96,7 +99,7 @@
+ Specifies the default scheme for \fIURL\fP to be telnet://
+ .IP \fB\-r\fP
+ Specifies the default scheme for \fIURL\fP to be rlogin://
+-.IP \fB\-r\fP
++.IP \fB\-h\fP
+ Specifies the default scheme for \fIURL\fP to be ssh://
+ .IP \fB\-4\fP
+ Only resolve IPv4 addresses
+@@ -112,7 +115,7 @@
+ run-time linking is employed using dlopen(). Using this, it is possible to
+ build a version which will use SDL, and X11 if they are present, but
+ not fail to run if they are not.
+-.SH TEXT MODE CAVAETS
++.SH TEXT MODE CAVEATS
+ When running in one of the text modes such as curses or ANSI, many of the
+ control functions are modified since there is no reliable way to use extra
+ modifier keys. As a result, CTRL-S and CTRL-Q can not be sent to the remote
+@@ -130,12 +133,12 @@
+ a traditional screen mode. As such, filler will be added around the terminal
+ screen. For some display sizes, unpredictable results may occur.
+ .SH FILES
+-.IP \fC%%DESTDIR%%%%PREFIX%%/etc/syncterm.lst\fR
+-The system wide dialing directory.
++.IP /etc/syncterm.lst\fR
++The system wide dialing directory [note: doesn't seem to be used in SyncTERM 1.1].
+ .IP \fC~/.syncterm/syncterm.lst\fR
+-The users dialing directory
++The user's dialing directory
+ .IP \fC~/.syncterm/syncterm.ini\fR
+-The users SyncTERM configuration file
++The user's SyncTERM configuration file
+ .IP \fClibSDL.so\fR
+ When this file exists in the library path, SyncTERM will support the use of SDL
+ for input and output. This file is part of the Simple Directmedia Layer
diff --git a/network/syncterm/slack-desc b/network/syncterm/slack-desc
new file mode 100644
index 0000000000..d0822aa581
--- /dev/null
+++ b/network/syncterm/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+syncterm: syncterm (BBS-oriented terminal emulator)
+syncterm:
+syncterm: syncterm is a terminal emulator that connects to a host via
+syncterm: dialup modem, raw TCP, telnet, ssh, or rsync. Its user interface is
+syncterm: similar to ProComm. It's intended for use with BBSes (bulletin board
+syncterm: systems), and includes support for nonstandard ASCII variants such as
+syncterm: Atari 8-bit (ATASCII), Commodore 8-bit (PETSCII), and "IBM ANSI" as
+syncterm: used by MS-DOS.
+syncterm:
+syncterm:
+syncterm:
diff --git a/network/syncterm/syncterm.SlackBuild b/network/syncterm/syncterm.SlackBuild
new file mode 100644
index 0000000000..4f746b2568
--- /dev/null
+++ b/network/syncterm/syncterm.SlackBuild
@@ -0,0 +1,159 @@
+#!/bin/bash
+
+# Slackware build script for syncterm
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Issues:
+# 1. Figure out why shell: doesn't work on the command line (though
+# it does, with the ^D "quick connect" option, or by adding it to
+# the dialing list).
+# 2. How do we use /etc/syncterm.lst? strace shows that syncterm reads it,
+# but entries there don't show up in the dialing list (not even if there's
+# no user list). If I could get the system list to work, I'd include an
+# entry there for a local shell (to work around issue #1). But probably
+# nobody much cares about using this as an xterm or konsole replacement...
+# Neither of these issues are going to prevent me from submitting this.
+
+# Note: phigan on #atari tells me they're "almost ready" to release 1.2,
+# so this may get updated soon.
+
+# 20240218 bkw: BUILD=2
+# - add compile fix for -current.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=syncterm
+VERSION=${VERSION:-1.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-src.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# Man page: Fix path to dialing list and a couple typos. The path
+# baked into the binary really is /etc/syncterm.lst (not /usr/etc)...
+# although I don't see a way to make syncterm actually use the
+# system-wide dialing list.
+patch -p1 < $CWD/manpage.diff
+
+# 20240218 bkw: fix compilation on -current (or so I am assured). Doesn't
+# hurt anything on 15.0. Patch originally from:
+# https://raw.github.com/nullman/config/master/common/.nixos/pkgs/syncterm/0002-use-sched-yield-53264f2b.diff
+# ...brought to my attention by Joshua E. Roybal via email.
+patch -p1 < $CWD/0002-use-sched-yield-53264f2b.diff
+
+# This is a big hassle: -O3 is hardcoded in a makefile... which is
+# inside a zip file. To force our flags, we have to extract the zip
+# file, mod the makefile, then re-zip it. Using -0 with zip means
+# "store" (for speed).
+cd 3rdp/dist
+unzip -oa cryptlib.zip
+rm -f cryptlib.zip
+sed -i "s,-O3,$SLKCFLAGS," makefile
+zip -0r cryptlib.zip *
+cd -
+
+# Rest of the flags:
+sed -i "s,-O2,$SLKCFLAGS," src/build/Common.gmake
+sed -i "s,-O3,\"$SLKCFLAGS\"," 3rdp/build/GNUmakefile
+
+# Top-level source directory:
+cd src/$PRGNAM
+
+# Lots of make options here:
+# - RELEASE=1 means binary already stripped, man page already gzipped.
+# - WITHOUT_PORTAUDIO=1 to avoid a hidden dependency on portaudio. I
+# see no advantage to using portaudio anyway (SDL audio works fine).
+# - INSTALL_DATA: install man page with usual Slackware permissions.
+# - SRC_ROOT has to be set because the makefile is dumb...
+# - Use -j1 as the compile always fails if -jN where N>1.
+make -j1 \
+ PREFIX=/usr \
+ MANPREFIX=/usr \
+ SYSTEM_LIST_DIR=/etc \
+ SRC_ROOT="$( realpath .. )" \
+ USE_SDL=1 \
+ USE_SDL_AUDIO=1 \
+ WITHOUT_PORTAUDIO=1 \
+ VERBOSE=1 \
+ RELEASE=1 \
+ DESTDIR=$PKG \
+ INSTALL_DATA="install -m 0644" \
+ all install
+
+# Compile the terminfo entries. Have to run the binary we just built,
+# let's not do it as root.
+su nobody -s /bin/sh -c "$PKG/usr/bin/$PRGNAM -T" | \
+ tic -o $PKG/usr/share/terminfo -
+
+# The 64x64 icon was installed by 'make install', above.
+# Other icons extracted from the Mac .icns file:
+# sh extract-icns.sh /tmp/SBo/syncterm-1.1/src/syncterm/SyncTERM.icns
+# If you're copying this code for use in your own SlackBuild, please
+# don't change the "cat" to "cp -a", below: files copied from $CWD
+# might be owned by anybody (not necessarily root), and have wrong
+# permissions; using "cat >" takes care of both.
+# Also, please don't rewrite this to call icns2png in your script.
+# Otherwise you'd have to add libicns to REQUIRES.
+for png in $CWD/icons/*.png; do
+ px="$( basename $png | cut -d. -f1 )"
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ cat $png > $dir/$PRGNAM.png
+done
+
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a Install-Mozilla.txt CHANGES LICENCE gpl.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/syncterm/syncterm.info b/network/syncterm/syncterm.info
new file mode 100644
index 0000000000..188f5794d3
--- /dev/null
+++ b/network/syncterm/syncterm.info
@@ -0,0 +1,10 @@
+PRGNAM="syncterm"
+VERSION="1.1"
+HOMEPAGE="http://syncterm.bbsdev.net/"
+DOWNLOAD="https://downloads.sourceforge.net/project/syncterm/syncterm/syncterm-1.1/syncterm-1.1-src.tgz"
+MD5SUM="f528a1fdbe87a69a52582582d99e4032"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/syncthing/syncthing.SlackBuild b/network/syncthing/syncthing.SlackBuild
index 850ebef29c..c95bf6a272 100644
--- a/network/syncthing/syncthing.SlackBuild
+++ b/network/syncthing/syncthing.SlackBuild
@@ -1,5 +1,7 @@
-#!/bin/sh
+#!/bin/bash
+
# Slackware build script for syncthing
+
# Copyright 2015 Lionel Young, United States
# Copyright 2016 Sebastian Arcus, United Kingdom
# All rights reserved.
@@ -21,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=syncthing
-VERSION=${VERSION:-1.9.0}
+VERSION=${VERSION:-1.27.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +48,14 @@ else
exit 1
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,10 +101,10 @@ cat $CWD/syncthing.logrotate > $PKG/etc/logrotate.d/syncthing.new
mkdir -p -m 750 $PKG/var/lib/syncthing/config
mkdir -p -m 750 $PKG/var/log/syncthing
mkdir -p -m 750 $PKG/var/run/syncthing
-chown -R syncthing.syncthing $PKG/var/{lib,run,log}/syncthing
+chown -R syncthing:syncthing $PKG/var/{lib,run,log}/syncthing
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt extra/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -100,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/syncthing/syncthing.info b/network/syncthing/syncthing.info
index eced0acfb1..5a459b7d92 100644
--- a/network/syncthing/syncthing.info
+++ b/network/syncthing/syncthing.info
@@ -1,10 +1,10 @@
PRGNAM="syncthing"
-VERSION="1.9.0"
+VERSION="1.27.3"
HOMEPAGE="https://syncthing.net"
-DOWNLOAD="https://github.com/syncthing/syncthing/releases/download/v1.9.0/syncthing-linux-386-v1.9.0.tar.gz"
-MD5SUM="f5d974047b4e5208ff343e36e156470d"
-DOWNLOAD_x86_64="https://github.com/syncthing/syncthing/releases/download/v1.9.0/syncthing-linux-amd64-v1.9.0.tar.gz"
-MD5SUM_x86_64="2318ea72b7e8c5ae1ef75319f4ed6e7b"
+DOWNLOAD="https://github.com/syncthing/syncthing/releases/download/v1.27.3/syncthing-linux-386-v1.27.3.tar.gz"
+MD5SUM="77e848ed29495480fd2b5da39a5c0b78"
+DOWNLOAD_x86_64="https://github.com/syncthing/syncthing/releases/download/v1.27.3/syncthing-linux-amd64-v1.27.3.tar.gz"
+MD5SUM_x86_64="e24685e31b730d62eadc50b26abbc7e9"
REQUIRES=""
MAINTAINER="Sebastian Arcus"
-EMAIL="s.arcus@open-t.co.uk"
+EMAIL="s [dot] arcus [at] open-t [dot] co [dot] uk"
diff --git a/network/synergy/010_include_dns_sd.diff b/network/synergy/010_include_dns_sd.diff
deleted file mode 100644
index 535acb9bce..0000000000
--- a/network/synergy/010_include_dns_sd.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/gui/gui.pro.orig 2015-05-27 01:56:21.000000000 +1000
-+++ src/gui/gui.pro 2015-06-09 16:52:57.664552976 +1000
-@@ -4,6 +4,8 @@
- TARGET = synergy
- DEPENDPATH += . \
- res
-+CONFIG += link_pkgconfig
-+PKGCONFIG += avahi-compat-libdns_sd
- INCLUDEPATH += . \
- src
- FORMS += res/MainWindowBase.ui \
diff --git a/network/synergy/020_toolchain_commands.diff b/network/synergy/020_toolchain_commands.diff
deleted file mode 100644
index b5fb3fe705..0000000000
--- a/network/synergy/020_toolchain_commands.diff
+++ /dev/null
@@ -1,41 +0,0 @@
---- ext/toolchain/commands1.py.orig 2017-03-04 00:05:27.000000000 +1000
-+++ ext/toolchain/commands1.py 2020-02-12 09:12:23.304443034 +1000
-@@ -967,16 +967,17 @@
- if sys.version_info < (2, 4):
- raise Exception("Python 2.4 or greater required.")
-
-- p = subprocess.Popen(
-- ["git", "log", "--pretty=format:%h", "-n", "1"],
-- stdout=subprocess.PIPE, stderr=subprocess.PIPE)
--
-- stdout, stderr = p.communicate()
--
-- if p.returncode != 0:
-- raise Exception('Could not get revision, git error: ' + str(p.returncode))
--
-- return stdout.strip()
-+# p = subprocess.Popen(
-+# ["git", "log", "--pretty=format:%h", "-n", "1"],
-+# stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-+#
-+# stdout, stderr = p.communicate()
-+#
-+# if p.returncode != 0:
-+# raise Exception('Could not get revision, git error: ' + str(p.returncode))
-+#
-+# return stdout.strip()
-+ return "1.8.8"
-
- def getGitBranchName(self):
- if sys.version_info < (2, 4):
---- src/gui/src/AboutDialog.cpp.orig 2017-03-04 00:05:27.000000000 +1000
-+++ src/gui/src/AboutDialog.cpp 2020-02-12 09:47:52.648113058 +1000
-@@ -29,7 +29,7 @@
-
- m_versionChecker.setApp(synergyApp);
- QString version = m_versionChecker.getVersion();
-- version = version + '-' + VERSION_STAGE + '-' + VERSION_REVISION;
-+ version = version + '-' + VERSION_STAGE;
- m_pLabelSynergyVersion->setText(version);
-
- QString buildDateString = QString::fromLocal8Bit(__DATE__).simplified();
diff --git a/network/synergy/synergy.SlackBuild b/network/synergy/synergy.SlackBuild
index 21d6a34f49..83d53f68fc 100644
--- a/network/synergy/synergy.SlackBuild
+++ b/network/synergy/synergy.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "synergy".
# Copyright 2013-2016 Marcel Saegebarth <marc@mos6581.de>
-# Copyright 2020 Christoph Willing Brisbane, Australia
+# Copyright 2020-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,27 +25,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=synergy
SRCNAM=synergy-core
-VERSION=${VERSION:-1.8.8}
+VERSION=${VERSION:-1.14.6.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -66,8 +76,6 @@ cd $TMP
rm -rf $SRCNAM-$VERSION-stable
tar xvf $CWD/$SRCNAM-$VERSION-stable.tar.gz
cd $SRCNAM-$VERSION-stable
-patch -p0 < $CWD/010_include_dns_sd.diff
-patch -p0 < $CWD/020_toolchain_commands.diff
chown -R root:root .
find -L . \
@@ -76,26 +84,32 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sh hm.sh configure --generator=1 --release
-CXXFLAGS="$SLKCFLAGS" sh hm.sh build
+#Remove the submodule pugixml
+sed -i.remove-sub-pugixml -e '/pugixml/ s/^/#/' src/lib/synergy/CMakeLists.txt
+sed -i.add-lib-pugixml -e '/target_link_libraries(synlib arch/ s/target_link_libraries(synlib arch \(.*\))/target_link_libraries(synlib arch \1 pugixml)/' src/lib/synergy/CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=false \
+ -DSYNERGY_VERSION_STAGE:STRING=stable \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+ install -s -m 0755 bin/synergyd $PKG/usr/bin/
+cd ..
# installation not implemented
mkdir -p $PKG/usr/bin $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1 \
$PKG/usr/share/icons/hicolor/256x256 $PKG/usr/share/applications
-for file in synergy synergyc synergyd synergys syntool usynergy ; do
- install -s -m 0755 $TMP/$SRCNAM-$VERSION-stable/bin/$file $PKG/usr/bin
-done
-
for file in synergy.conf.example synergy.conf.example-advanced synergy.conf.example-basic ; do
install -m 0644 $TMP/$SRCNAM-$VERSION-stable/doc/$file $PKG/usr/doc/$PRGNAM-$VERSION
done
-for file in COMPILE ChangeLog INSTALL LICENSE README ; do
- install -m 0644 $TMP/$SRCNAM-$VERSION-stable/$file $PKG/usr/doc/$PRGNAM-$VERSION
-done
-
for file in synergyc.man synergys.man ; do
install -m 0644 $TMP/$SRCNAM-$VERSION-stable/doc/$file $PKG/usr/man/man1
done
@@ -108,6 +122,9 @@ $PKG/usr/share/icons/hicolor/256x256
install -D -m 0644 $TMP/$SRCNAM-$VERSION-stable/res/synergy.desktop \
$PKG/usr/share/applications
+for file in ChangeLog LICENSE README.md ; do
+ install -m 0644 $TMP/$SRCNAM-$VERSION-stable/$file $PKG/usr/doc/$PRGNAM-$VERSION
+done
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -115,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/synergy/synergy.info b/network/synergy/synergy.info
index 495e3aa017..f8499de372 100644
--- a/network/synergy/synergy.info
+++ b/network/synergy/synergy.info
@@ -1,10 +1,10 @@
PRGNAM="synergy"
-VERSION="1.8.8"
+VERSION="1.14.6.19"
HOMEPAGE="http://synergy-project.org/"
-DOWNLOAD="https://github.com/symless/synergy-core/archive/v1.8.8-stable/synergy-core-1.8.8-stable.tar.gz"
-MD5SUM="ad0514cc4dbfbc90aabc75c7ff17f0f3"
+DOWNLOAD="https://github.com/symless/synergy-core/archive/1.14.6.19-stable/synergy-core-1.14.6.19-stable.tar.gz"
+MD5SUM="7a992527f20c874a3c73fec20feace28"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="avahi"
+REQUIRES="avahi pugixml"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/network/t38modem/README b/network/t38modem/README
deleted file mode 100644
index d9f5eb211b..0000000000
--- a/network/t38modem/README
+++ /dev/null
@@ -1,21 +0,0 @@
-What is t38modem?
-
- * From your fax or voice application view point it's a fax/voice modem pool.
- * From IP network view point it's a H.323/SIP endpoint with T.38 fax support.
- * From your view point it's a gateway between an application and IP network.
-
-After installation update the /etc/rc.d/rc.t38modem.conf file with your SIP
-account details and add the following to your /etc/rc.d/rc.local script:
-
- if [ -x /etc/rc.d/rc.t38modem ]; then
- /etc/rc.d/rc.t38modem start
- fi
-
-Optionally, you can add the following to your /etc/rc.d/rc.local_shutdown:
-
- if [ -x /etc/rc.d/rc.t38modem ]; then
- /etc/rc.d/rc.t38modem stop
- fi
-
-If you are using this package with Asterisk there is a sample resetmodem script
-that can be placed in the your /var/spool/hylafax/etc directory.
diff --git a/network/t38modem/doinst.sh b/network/t38modem/doinst.sh
deleted file mode 100644
index 29b7e602de..0000000000
--- a/network/t38modem/doinst.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.t38modem.new
-config etc/rc.d/rc.t38modem.conf.new
-
diff --git a/network/t38modem/rc.t38modem b/network/t38modem/rc.t38modem
deleted file mode 100644
index 158debc2ef..0000000000
--- a/network/t38modem/rc.t38modem
+++ /dev/null
@@ -1,152 +0,0 @@
-#!/bin/sh
-
-#############################
-# READ T38MODEM CONFIG FILE #
-#############################
-
-# Get the configuration information from /etc/rc.d/rc.t38modem.conf:
-. /etc/rc.d/rc.t38modem.conf
-
-###########
-# LOGGING #
-###########
-
-# If possible, log events in /var/log/messages:
-if [ -f /var/run/syslogd.pid -a -x /usr/bin/logger ]; then
- LOGGER=/usr/bin/logger
-else # output to stdout/stderr:
- LOGGER=/bin/cat
-fi
-
-MAXMODEMS=6
-
-# Function to return PID of modem instance:
-modem_pid() {
- PID=$(ps -C t38modem -o pid,cmd | grep ${1} | grep -v grep | awk '{print $1}')
- echo "$PID"
-}
-
-# Function to start modem interface:
-modem_up() {
- i=0
- while [ $i -lt $MAXMODEMS ]; do
- if [ "${MODEMNAME[$i]}" = "${1}" ]; then
- PID=$(modem_pid "${1}")
- if [ -n "$PID" ]; then
- echo "Modem "${1}" already up..."
- else
- echo "Starting t38modem on ${1}..."
- # Build PTTY name
- PTTY=${PTTY[$i]}
- if [ -z "${PTTY}" ]; then
- PTTY="+/dev/${MODEMNAME[$i]}"
- fi
- # Start t38modem
- nohup \
- /usr/bin/t38modem \
- --no-h323 \
- --sip-t38-udptl-redundancy ${T38_REDUNDANCY[$i]} \
- --sip-listen udp\$*:${LISTEN_PORT[$i]} \
- --sip-register ${SIP_ACCOUNT[$i]}@${SIP_SERVER[$i]},${SIP_PASSWORD[$i]} \
- --ptty ${PTTY} \
- --force-fax-mode \
- --route "modem:.*=sip:<dn>@${SIP_SERVER[$i]}" \
- --route "sip:.*=modem:<dn>" \
- > /dev/null 2>&1 &
- fi
- break
- fi
- i=$(($i+1))
- done
-}
-
-# Function to stop modem interface:
-modem_down() {
- PID=$(modem_pid "${1}")
- if [ -n "$PID" ]; then
- echo "Stopping t38modem for modem ${1}..."
- kill $PID
- fi
-}
-
-# Function to report status on modem interface:
-modem_status() {
- PID=$(modem_pid "${1}")
- echo -n "Modem ${1}: "
- if [ -n "$PID" ]; then
- echo "up"
- else
- echo "down"
- fi
-}
-
-# Function to bring modems up:
-start() {
- for i in ${MODEMNAME[@]} ; do
- modem_up $i
- done
-}
-
-# Function to take modems down:
-stop() {
- for i in ${MODEMNAME[@]} ; do
- modem_down $i
- done
-}
-
-# Function to query modem states:
-status() {
- for i in ${MODEMNAME[@]} ; do
- modem_status $i
- done
-}
-
-############
-### MAIN ###
-############
-
-case "$1" in
-'start')
- start
- ;;
-'stop')
- stop
- ;;
-'restart')
- stop
- sleep 5
- start
- ;;
-'status')
- status
- ;;
-*_start)
- MODEM=$(echo $1 | /bin/cut -d '_' -f 1)
- modem_up $MODEM
- ;;
-*_stop)
- MODEM=$(echo $1 | /bin/cut -d '_' -f 1)
- modem_down $MODEM
- ;;
-*_restart)
- MODEM=$(echo $1 | /bin/cut -d '_' -f 1)
- modem_down $MODEM
- sleep 5
- modem_up $MODEM
- ;;
-*_status)
- MODEM=$(echo $1 | /bin/cut -d '_' -f 1)
- modem_status $MODEM
- ;;
-*_up)
- MODEM=$(echo $1 | /bin/cut -d '_' -f 1)
- modem_up $MODEM
- ;;
-*_down)
- MODEM=$(echo $1 | /bin/cut -d '_' -f 1)
- modem_down $MODEM
- ;;
-*)
- echo "usage: $0 start|stop|restart|status"
-esac
-
diff --git a/network/t38modem/rc.t38modem.conf b/network/t38modem/rc.t38modem.conf
deleted file mode 100644
index bb05c85527..0000000000
--- a/network/t38modem/rc.t38modem.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-#####################################################
-# Must be set to the number of modems in the config #
-#####################################################
-
-# Config information for modem0:
-MODEMNAME[0]="ttyx0"
-PTTY[0]=""
-SIP_SERVER[0]=
-SIP_ACCOUNT[0]=
-SIP_PASSWORD[0]=
-LISTEN_PORT[0]=5060
-T38_REDUNDANCY[0]=3
-
-# Config information for modem1:
-MODEMNAME[1]="ttyx1"
-PTTY[1]=""
-SIP_SERVER[1]=
-SIP_ACCOUNT[1]=
-SIP_PASSWORD[1]=
-LISTEN_PORT[1]=5061
-T38_REDUNDANCY[1]=3
-
-# Config information for modem2:
-MODEMNAME[2]="ttyx2"
-PTTY[2]=""
-SIP_SERVER[2]=
-SIP_ACCOUNT[2]=
-SIP_PASSWORD[2]=
-LISTEN_PORT[2]=5062
-T38_REDUNDANCY[2]=3
-
-# Config information for modem3:
-MODEMNAME[3]="ttyx3"
-PTTY[3]=""
-SIP_SERVER[3]=
-SIP_ACCOUNT[3]=
-SIP_PASSWORD[3]=
-LISTEN_PORT[3]=5063
-T38_REDUNDANCY[3]=3
-
diff --git a/network/t38modem/resetmodem b/network/t38modem/resetmodem
deleted file mode 100644
index 661cec143c..0000000000
--- a/network/t38modem/resetmodem
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/bash
-
-# This script can be used to unwedge a stuck t38modem virtual modem. In order
-# to use this script, you'll need to do the following:
-#
-# Use the /etc/rc.d/rc.t38modem script provided to start/stop t38modem. This
-# will allow you to start up multiple virtual modems using a separate t38modem
-# process for each line. You can then start/stop/restart an individual modem
-# line without interrupting the other ongoing faxes.
-#
-# Using visudo, add the following to /etc/sudoers:
-#
-# # Hylafax system commands
-# uucp ALL=(ALL) NOPASSWD: /etc/rc.d/rc.t38modem
-#
-# Copy this file to the /var/spool/hylafax/etc and set its execute bit:
-#
-# cp /usr/doc/hylafax-3.15/Hylafax/resetmodem /var/spool/hylafax/etc
-# chmod +x /var/spool/hylafax/etc/resetmodem
-#
-
-DEV=$(basename $1)
-
-if [ "$DEV" = "ttyx0" -o "$DEV" = "ttyx1" -o "$DEV" = "ttyx2" -o "$DEV" = "ttyx3" ]; then
- sudo /etc/rc.d/rc.t38modem "${DEV}_restart"
-fi
-
-
diff --git a/network/t38modem/slack-desc b/network/t38modem/slack-desc
deleted file mode 100644
index 032acfd2f1..0000000000
--- a/network/t38modem/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-t38modem: t38modem (H.323/SIP endpoint with T.38 fax support)
-t38modem:
-t38modem: What is t38modem?
-t38modem: * From your fax or voice application view point it's a fax/voice
-t38modem: modem pool
-t38modem: * From IP network view point it's a H.323/SIP endpoint with T.38 fax
-t38modem: support
-t38modem: * From your view point it's a gateway between an application and IP
-t38modem: network
-t38modem:
-t38modem: Homepage: https://github.com/T38Modem/t38modem
diff --git a/network/t38modem/t38modem.SlackBuild b/network/t38modem/t38modem.SlackBuild
deleted file mode 100644
index 489b096299..0000000000
--- a/network/t38modem/t38modem.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for t38modem
-
-# Copyright 2015-2020 Chris Walker Kempner, TX
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=t38modem
-VERSION=${VERSION:-3.15}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-PTLIBDIR=/usr/share/ptlib \
-OPALDIR=$TMP/opal-${OPALVER:-3.10.15} \
- make USE_UNIX98_PTY=1 USE_LEGACY_PTY=1 USE_OPAL=1
-
-# Install binaries, READMEs, etc.,
-mkdir -p $PKG/usr/bin
-install -o root -g root t38modem $PKG/usr/bin
-
-mkdir -p $PKG/etc/rc.d
-install -o root -g root $CWD/rc.t38modem \
- $PKG/etc/rc.d/rc.t38modem.new
-install -o root -g root -m 600 $CWD/rc.t38modem.conf \
- $PKG/etc/rc.d/rc.t38modem.conf.new
-
-# Strip binaries and libraries
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/HylaFAX
-cp -a \
- $TMP/$PRGNAM-$VERSION/Changes.txt \
- $TMP/$PRGNAM-$VERSION/ReadMe.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- $CWD/resetmodem \
- $TMP/$PRGNAM-$VERSION/HylaFAX/config.ttyx \
- $PKG/usr/doc/$PRGNAM-$VERSION/HylaFAX
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/t38modem/t38modem.info b/network/t38modem/t38modem.info
deleted file mode 100644
index 09a7c9dc50..0000000000
--- a/network/t38modem/t38modem.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="t38modem"
-VERSION="3.15"
-HOMEPAGE="https://github.com/T38Modem/t38modem"
-DOWNLOAD="https://github.com/T38Modem/t38modem/archive/3.15/t38modem-3.15.zip"
-MD5SUM="c340d2b6657ba81eaaab4a816367bbe0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="t38modem-opal"
-MAINTAINER="Chris Walker"
-EMAIL="kris240376@gmail.com"
diff --git a/network/t50/t50.SlackBuild b/network/t50/t50.SlackBuild
index 4974b5c28b..f9fd763898 100644
--- a/network/t50/t50.SlackBuild
+++ b/network/t50/t50.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for t50
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=t50
VERSION=${VERSION:-5.4.1_rc1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERS=$(echo $VERSION | tr _ -)
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tahoe-lafs/README b/network/tahoe-lafs/README
deleted file mode 100644
index 3395839764..0000000000
--- a/network/tahoe-lafs/README
+++ /dev/null
@@ -1,15 +0,0 @@
-Tahoe, the Least-Authority File Store.
-
-Tahoe-LAFS is a secure, decentralized, file store. All of the source code
-is available under a choice of two Free Software, Open Source licences.
-
-The file store is encrypted and spread over multiple peers in such a way
-that it remains available even when some of the peers are unavailable,
-malfunctioning, or malicious.
-
-Tahoe-LAFS now features native Tor and I2P support.
-
-Optional Dependency
-
-In case you'd like proper documentation to be build Sphinx needs to be
-installed at build time.
diff --git a/network/tahoe-lafs/slack-desc b/network/tahoe-lafs/slack-desc
deleted file mode 100644
index 97dfb4e23e..0000000000
--- a/network/tahoe-lafs/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-tahoe-lafs: tahoe-lafs (Secure File Store)
-tahoe-lafs:
-tahoe-lafs: Tahoe, the Least-Authority File Store.
-tahoe-lafs: Tahoe-LAFS is a secure, decentralized, file store. The file store
-tahoe-lafs: is encrypted and spread over multiple peers in such a way that it
-tahoe-lafs: remains available even when some of the peers are unavailable,
-tahoe-lafs: malfunctioning, or malicious.
-tahoe-lafs:
-tahoe-lafs: Homepage: https://tahoe-lafs.org/
-tahoe-lafs:
-tahoe-lafs:
diff --git a/network/tahoe-lafs/tahoe-lafs.SlackBuild b/network/tahoe-lafs/tahoe-lafs.SlackBuild
deleted file mode 100644
index 96abf4ec72..0000000000
--- a/network/tahoe-lafs/tahoe-lafs.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tahoe-lafs
-
-# Copyright 2009 Marco Bonetti <sid77@slackware.it>
-# Copyright 2011-2017 Markus Reichelt, Aachen, DE
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=tahoe-lafs
-VERSION=${VERSION:-1.12.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 -o -perm 440 \
- -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1
-cp -a COPYING.* *.txt NEWS.* README.* CREDITS docs misc $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mv $PKG/usr/doc/$PRGNAM-$VERSION/docs/man/man1/tahoe.1 $PKG/usr/man/man1
-gzip -9 $PKG/usr/man/man1/tahoe.1
-rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/docs/man
-
-if [ -e /usr/bin/sphinx-build ]; then
- cd $TMP/$PRGNAM-$VERSION/docs
- make html
- cp -a _build/html $PKG/usr/doc/$PRGNAM-$VERSION
- rm $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,objects.inv}
- rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/docs
- rm -drf $PKG/usr/doc/$PRGNAM-$VERSION/html/_sources
-fi
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/tahoe-lafs/tahoe-lafs.info b/network/tahoe-lafs/tahoe-lafs.info
deleted file mode 100644
index c6c3e9ed92..0000000000
--- a/network/tahoe-lafs/tahoe-lafs.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tahoe-lafs"
-VERSION="1.12.1"
-HOMEPAGE="https://tahoe-lafs.org/"
-DOWNLOAD="https://tahoe-lafs.org/downloads/tahoe-lafs-1.12.1.tar.bz2"
-MD5SUM="617d9f33705570ae79795835dff8ff0d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="txtorcon txi2p simplejson pycrypto pycryptopp zfec service_identity foolscap Nevow"
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
diff --git a/network/tailscale/README b/network/tailscale/README
new file mode 100644
index 0000000000..a040087e56
--- /dev/null
+++ b/network/tailscale/README
@@ -0,0 +1,18 @@
+Tailscale is a zero config VPN for building secure networks.
+Install on any device in minutes. Remote access from any
+network or physical location.
+
+The service has two parts: tailscaled (daemon) and tailscale.
+Both must run. I use this from a terminal:
+
+daemon --user root tailscaled $exec && tailscale up
+
+The first time, a url will pop up to authenticate.
+
+Once the daemon is running, there's no need to restart it
+until your next session. You can simply run
+
+tailscale up
+tailscale down
+
+to connect and disconnect.
diff --git a/network/tailscale/doinst.sh b/network/tailscale/doinst.sh
new file mode 100644
index 0000000000..57c1cdfc42
--- /dev/null
+++ b/network/tailscale/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
diff --git a/network/tailscale/slack-desc b/network/tailscale/slack-desc
new file mode 100644
index 0000000000..572266ea2c
--- /dev/null
+++ b/network/tailscale/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tailscale: tailscale (vpn service)
+tailscale:
+tailscale: Tailscale is a zero config VPN for building secure networks. Install
+tailscale: on any device in minutes. Remote access from any network or physical
+tailscale: location.
+tailscale:
+tailscale:
+tailscale:
+tailscale:
+tailscale: Homepage: https://tailscale.com/
+tailscale:
diff --git a/network/tailscale/tailscale.SlackBuild b/network/tailscale/tailscale.SlackBuild
new file mode 100644
index 0000000000..638c7df5c1
--- /dev/null
+++ b/network/tailscale/tailscale.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for brave-browser
+
+# Copyright 2023-2024 Andrew Payne <phalange@komputermatrix.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tailscale
+DAEMON=tailscaled
+VERSION=${VERSION:-1.62.1}
+ARCHSTR=amd64
+BINDIR=$PRGNAM"_"$VERSION"_"$ARCHSTR
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# Abort build if architecture is not 64-bit.
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar -xf $CWD/$BINDIR.tgz
+tar -xf $CWD/$PRGNAM-$VERSION.tar.gz
+
+chown -R root:root .
+find -L . \
+\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+-o -perm 511 \) -exec chmod 755 {} \; -o \
+\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/etc/default/$DAEMON
+cp -a $TMP/$PRGNAM-$VERSION/$BINDIR/systemd/$DAEMON.defaults $PKG/etc/default/$DAEMON/
+
+mkdir -p $PKG/lib/systemd/system
+cp -a $TMP/$PRGNAM-$VERSION/$BINDIR/systemd/$DAEMON.service $PKG/lib/systemd/system/
+
+mkdir -p $PKG/opt/$PRGNAM
+cp -a $TMP/$PRGNAM-$VERSION/$BINDIR/$DAEMON $PKG/opt/$PRGNAM/
+
+mkdir -p $PKG/usr/{bin,sbin}
+ln -s /opt/$PRGNAM/$DAEMON $PKG/usr/sbin/$DAEMON
+cp -a $TMP/$PRGNAM-$VERSION/$BINDIR/$PRGNAM $PKG/opt/$PRGNAM/
+ln -s /opt/$PRGNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a \
+ $TMP/$PRGNAM-$VERSION/$PRGNAM-$VERSION/{AUTHORS,CODE_OF_CONDUCT.md,LICENSE,PATENTS,README.md,SECURITY.md} \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tailscale/tailscale.info b/network/tailscale/tailscale.info
new file mode 100644
index 0000000000..ad384e2488
--- /dev/null
+++ b/network/tailscale/tailscale.info
@@ -0,0 +1,12 @@
+PRGNAM="tailscale"
+VERSION="1.62.1"
+HOMEPAGE="https://tailscale.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://pkgs.tailscale.com/stable/tailscale_1.62.1_amd64.tgz \
+ https://github.com/tailscale/tailscale/archive/refs/tags/v1.62.1/tailscale-1.62.1.tar.gz"
+MD5SUM_x86_64="5e8a3b17eddd4954d165c005a9c09967 \
+ 7c8acd55eb0b85c05b6b80568a39b9d2"
+REQUIRES=""
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/network/tcpbench/README b/network/tcpbench/README
new file mode 100644
index 0000000000..3f3179452c
--- /dev/null
+++ b/network/tcpbench/README
@@ -0,0 +1,2 @@
+OpenBSD tcpbench ported to to GNU/Linux. TCP/UDP benchmarking and
+measurement tool for unidirectional streams.
diff --git a/network/tcpbench/slack-desc b/network/tcpbench/slack-desc
new file mode 100644
index 0000000000..3cbc87e161
--- /dev/null
+++ b/network/tcpbench/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tcpbench: tcpbench (TCP/UDP benchmark)
+tcpbench:
+tcpbench: OpenBSD tcpbench ported to to GNU/Linux. TCP/UDP benchmarking and
+tcpbench: measurement tool for unidirectional streams.
+tcpbench:
+tcpbench:
+tcpbench:
+tcpbench:
+tcpbench:
+tcpbench: https://github.com/bluhm/tcpbench-portable
+tcpbench:
diff --git a/network/tcpbench/tcpbench.SlackBuild b/network/tcpbench/tcpbench.SlackBuild
new file mode 100644
index 0000000000..2a1c810f23
--- /dev/null
+++ b/network/tcpbench/tcpbench.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for tcpbench
+
+# Copyright 2024 Alexander Bluhm, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tcpbench
+VERSION=${VERSION:-2.02}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+make
+BINDIR=/usr/bin \
+MANDIR=/usr/man/man \
+make install DESTDIR=$PKG
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tcpbench/tcpbench.info b/network/tcpbench/tcpbench.info
new file mode 100644
index 0000000000..c249d99ccc
--- /dev/null
+++ b/network/tcpbench/tcpbench.info
@@ -0,0 +1,10 @@
+PRGNAM="tcpbench"
+VERSION="2.02"
+HOMEPAGE="https://github.com/bluhm/tcpbench-portable"
+DOWNLOAD="https://github.com/bluhm/tcpbench-portable/releases/download/v2.02/tcpbench-2.02.tar.gz"
+MD5SUM="cf2af2000e34f8e5183961c32ff1d285"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libbsd pkgconf"
+MAINTAINER="Alexander Bluhm"
+EMAIL="alexander.bluhm@gmx.net"
diff --git a/network/tcpflow/README b/network/tcpflow/README
index b4421a9e36..80cc7672dd 100644
--- a/network/tcpflow/README
+++ b/network/tcpflow/README
@@ -1,12 +1,14 @@
-tcpflow is a program that captures data transmitted as part of TCP connections
-(flows), and stores the data in a way that is convenient for protocol analysis
-and debugging. Each TCP flow is stored in its own file. Thus, the typical TCP
-flow will be stored in two files, one for each direction. tcpflow can also
-process stored 'tcpdump' packet flows.
+tcpflow is a program that captures data transmitted as part of TCP
+connections (flows), and stores the data in a way that is convenient
+for protocol analysis and debugging. Each TCP flow is stored in its
+own file. Thus, the typical TCP flow will be stored in two files,
+one for each direction. tcpflow can also process stored 'tcpdump'
+packet flows.
-tcpflow is similar to 'tcpdump', in that both process packets from the wire or
-from a stored file. But it's different in that it reconstructs the actual data
-streams and stores each flow in a separate file for later analysis.
+tcpflow is similar to 'tcpdump', in that both process packets from the
+wire or from a stored file. But it's different in that it reconstructs
+the actual data streams and stores each flow in a separate file for
+later analysis.
-tcpflow understands sequence numbers and will correctly reconstruct data
-streams regardless of retransmissions or out-of-order delivery.
+tcpflow understands sequence numbers and will correctly reconstruct
+data streams regardless of retransmissions or out-of-order delivery.
diff --git a/network/tcpflow/tcpflow.SlackBuild b/network/tcpflow/tcpflow.SlackBuild
index 420da604d6..d244e44e45 100644
--- a/network/tcpflow/tcpflow.SlackBuild
+++ b/network/tcpflow/tcpflow.SlackBuild
@@ -1,34 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tcpflow
-# Copyright 2016 Barry J. Grundy <bgrundy@linuxleo.com>
+# Copyright 2016-2022 Barry J. Grundy <bgrundy@linuxleo.com>
# All rights reserved.
#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
+# Redistribution and use of this script, with or without
+# modification, is permitted provided that the following conditions
+# are met:
#
# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Initial Slackbuild v1.5.0 August, 2016
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS
+# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Updated for v1.6.1, May 2022
# Barry J. Grundy <bgrundy(at)linuxleo.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tcpflow
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,7 +99,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog INSTALL TODO.txt doc $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog TODO.txt doc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/docs/Makefile*
@@ -98,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tcpflow/tcpflow.info b/network/tcpflow/tcpflow.info
index b9a1dbe959..0278833556 100644
--- a/network/tcpflow/tcpflow.info
+++ b/network/tcpflow/tcpflow.info
@@ -1,8 +1,8 @@
PRGNAM="tcpflow"
-VERSION="1.5.0"
+VERSION="1.6.1"
HOMEPAGE="https://github.com/simsong/tcpflow/"
-DOWNLOAD="http://digitalcorpora.org/downloads/tcpflow/tcpflow-1.5.0.tar.gz"
-MD5SUM="a2fa359d2f8b74297d276771f2f805ce"
+DOWNLOAD="https://github.com/simsong/tcpflow/releases/download/tcpflow-1.6.1/tcpflow-1.6.1.tar.gz"
+MD5SUM="4946a730747260cbd69e23bb0659b45b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/tcptunnel/tcptunnel.SlackBuild b/network/tcptunnel/tcptunnel.SlackBuild
index 3f85fa60b3..65312951aa 100644
--- a/network/tcptunnel/tcptunnel.SlackBuild
+++ b/network/tcptunnel/tcptunnel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tcptunnel
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tcptunnel
VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -93,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
# Make the package
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tdlib/README b/network/tdlib/README
new file mode 100644
index 0000000000..f1a491f20a
--- /dev/null
+++ b/network/tdlib/README
@@ -0,0 +1,9 @@
+Tdlib is the official Telegram library for the Telegram protocol.
+It can be used to implement unofficial Telegram clients.
+
+In particular, it is required for the Emacs package telega.el to
+work.
+
+NOTE: the build uses a commit, but the version is accurate. The
+reason is that although tdlib developers designate versions, they
+do not write them in github tags.
diff --git a/network/tdlib/slack-desc b/network/tdlib/slack-desc
new file mode 100644
index 0000000000..554e0aa871
--- /dev/null
+++ b/network/tdlib/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tdlib: tdlib (bindings for the Telegram protocol)
+tdlib:
+tdlib: Tdlib is the official Telegram library for the Telegram protocol.
+tdlib: It can be used to implement unofficial Telegram clients.
+tdlib:
+tdlib: In particular, it is required for the Emacs package telega.el to
+tdlib: work.
+tdlib:
+tdlib:
+tdlib:
+tdlib:
diff --git a/network/tdlib/tdlib.SlackBuild b/network/tdlib/tdlib.SlackBuild
new file mode 100644
index 0000000000..36033e2afc
--- /dev/null
+++ b/network/tdlib/tdlib.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for tdlib
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tdlib
+VERSION=${VERSION:-1.8.21}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TARNAM=td
+COMMIT=3870c29b158b75ca5e48e0eebd6b5c3a7994a000
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $TARNAM-$COMMIT
+tar xvf $CWD/$TARNAM-$COMMIT.tar.gz
+cd $TARNAM-$COMMIT
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ example \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tdlib/tdlib.info b/network/tdlib/tdlib.info
new file mode 100644
index 0000000000..bbce8cf5ca
--- /dev/null
+++ b/network/tdlib/tdlib.info
@@ -0,0 +1,10 @@
+PRGNAM="tdlib"
+VERSION="1.8.21"
+HOMEPAGE="https://github.com/tdlib/td/"
+DOWNLOAD="https://github.com/tdlib/td/archive/3870c29b158b75ca5e48e0eebd6b5c3a7994a000/td-3870c29b158b75ca5e48e0eebd6b5c3a7994a000.tar.gz"
+MD5SUM="1f605225e804f4986895a6ab062a9c43"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.tdlib_2023-11-10@lockywolf.net"
diff --git a/network/EarthReader-Web/doinst.sh b/network/teams/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/EarthReader-Web/doinst.sh
+++ b/network/teams/doinst.sh
diff --git a/network/teams/fix_glibc-2.35.patch b/network/teams/fix_glibc-2.35.patch
new file mode 100644
index 0000000000..8741cf5486
--- /dev/null
+++ b/network/teams/fix_glibc-2.35.patch
@@ -0,0 +1,9 @@
+--- usr/bin/teams.old 2022-03-21 18:53:40.958533543 -0300
++++ usr/bin/teams 2022-03-21 18:54:01.813813567 -0300
+@@ -8,5 +8,5 @@
+
+ mkdir -p "$TEAMS_LOGS"
+
+-nohup "$TEAMS_PATH" "$@" --disable-namespace-sandbox --disable-setuid-sandbox > "$TEAMS_LOGS/teams-startup.log" 2>&1 &
++nohup "$TEAMS_PATH" "$@" --disable-namespace-sandbox --disable-setuid-sandbox --disable-seccomp-filter-sandbox > "$TEAMS_LOGS/teams-startup.log" 2>&1 &
+
diff --git a/network/teams/slack-desc b/network/teams/slack-desc
index a26e534dd3..8120f85e15 100644
--- a/network/teams/slack-desc
+++ b/network/teams/slack-desc
@@ -9,7 +9,7 @@
teams: teams (Microsoft Teams for Linux)
teams:
teams: Microsoft Teams for Linux is your chat-centered workspace in Office
-teams: 365. Instantly access all your team’s content from a single place
+teams: 365. Instantly access all your team's content from a single place
teams: where messages, files, people and tools live together.
teams:
teams: Homepage: https://teams.microsoft.com/downloads
diff --git a/network/teams/teams.SlackBuild b/network/teams/teams.SlackBuild
index 76e834007d..a8b8ff9c73 100644
--- a/network/teams/teams.SlackBuild
+++ b/network/teams/teams.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for teams
-# Copyright 2020 Mario Preksavec, Zagreb, Croatia
+# Copyright 2020, 2022 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teams
-VERSION=${VERSION:-1.3.00.958}
+VERSION=${VERSION:-1.5.00.23861}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,14 +62,29 @@ mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}_amd64.deb data.tar.xz | tar -xvJ
+# Fix the issue with GLIBC 2.35 on Slackware 15.0
+# Upstream issue, not Slackware issue.
+patch -p0 < $CWD/fix_glibc-2.35.patch
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr
+ for i in share/teams/LICENSE* ; do ln -s ../../$i $PKG/usr/doc/$PRGNAM-$VERSION/ ; done
+)
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/teams/teams.info b/network/teams/teams.info
index 7c821d73ff..098d2e3dc3 100644
--- a/network/teams/teams.info
+++ b/network/teams/teams.info
@@ -1,10 +1,10 @@
PRGNAM="teams"
-VERSION="1.3.00.958"
+VERSION="1.5.00.23861"
HOMEPAGE="https://teams.microsoft.com/downloads"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.3.00.958_amd64.deb"
-MD5SUM_x86_64="a99569f085aa19f911a8d69182c312cf"
+DOWNLOAD_x86_64="https://mirror.slackware.hr/sources/teams/teams_1.5.00.23861_amd64.deb"
+MD5SUM_x86_64="952ec5dc6976d39a33a06f23767c3104"
REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/teamviewer/README b/network/teamviewer/README
index 2e4fd6bd22..679b349dd7 100644
--- a/network/teamviewer/README
+++ b/network/teamviewer/README
@@ -4,8 +4,8 @@ fast and secure remote access to Linux, Windows PCs, and Macs.
You must give execute permission on /etc/rc.d/rc.teamviewerd and run
/etc/rc.d/rc.teamviewerd start prior launching TeamViewer application
-To make this process repeated on every boot sequence, add this line
-in your /etc/rc.d/rc.local:
+To make this process repeated on every boot sequence, add this line in
+your /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.teamviewerd ]; then
/etc/rc.d/rc.teamviewerd start
@@ -13,11 +13,15 @@ fi
NOTE:
1. Newer version of Teamviewer can establish remote control connections
-to older version (version 3 and above), but not in the opposite direction.
-The same things goes to meetings (version 7 and above).
+to older version (version 3 and above), but not in the opposite
+direction. The same things goes to meetings (version 7 and above).
2. Always stop teamviewerd service and remove the old version before
-attempting to upgrade as the path and configs may change on each major release.
+attempting to upgrade as the path and configs may change on each major
+release.
-3. Starting from Teamviewer 13, it has come up with native 64 client package, so
-no multilib is required to use. It uses Qt as a foundation.
+3. Starting from Teamviewer 13, it has come up with native 64 client
+package, so no multilib is required to use. It uses Qt as a foundation.
+
+4. The GUI client only seems to work in runlevel 4. Using runlevel 3 +
+startx/startwayland doesn't work.
diff --git a/network/teamviewer/doinst.sh b/network/teamviewer/doinst.sh
index e8edc2ff3f..2ac42c06ac 100644
--- a/network/teamviewer/doinst.sh
+++ b/network/teamviewer/doinst.sh
@@ -27,3 +27,10 @@ preserve_perms etc/rc.d/rc.teamviewerd.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/teamviewer/rc.teamviewerd b/network/teamviewer/rc.teamviewerd
index ae65dcf100..f5812f3945 100644
--- a/network/teamviewer/rc.teamviewerd
+++ b/network/teamviewer/rc.teamviewerd
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# /etc/rc.d/rc.teamviewerd
#
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index 39e04fe074..b1819a9c35 100644
--- a/network/teamviewer/teamviewer.SlackBuild
+++ b/network/teamviewer/teamviewer.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for teamviewer
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2022-2024 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +26,13 @@
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teamviewer
-VERSION=${VERSION:-15.14.5}
+VERSION=${VERSION:-15.52.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,25 +86,30 @@ else
ar p $CWD/teamviewer_${VERSION}_${DEBARCH}.deb data.tar.xz | tar xJv
fi
+# make all symbolic links relative
+# (code from https://unix.stackexchange.com/a/100955/16829)
+( cd $PKG
+for link in $(find . -lname '/*'); do
+ target=$(readlink "$link")
+ link=${link#./}
+ root=$(echo $link | sed -E 's|[^/](.[^/]*)|..|g'); root=${root#/}; root=${root%..}
+ rm "$link"
+ ln -s "$root${target#/}" "$link"
+done
+)
+
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+# we do not strip te libicudata library as it prevents the package from working.
+find $PKG -print0 | xargs -0 file | grep -v -e 'libicudata' | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Remove the dangling symlink first
-rm -f $PKG/usr/bin/teamviewer
-
-# Re-create the generic executable
-( cd $PKG/usr/bin; ln -s /opt/teamviewer/tv_bin/script/teamviewer teamviewer )
-
# Link icon to /usr/share/pixmaps
mkdir -p $PKG/usr/share/pixmaps
-( ln -sf /opt/teamviewer/tv_bin/desktop/teamviewer_256.png $PKG/usr/share/pixmaps/TeamViewer.png )
+ln -s ../../../opt/teamviewer/tv_bin/desktop/teamviewer_256.png $PKG/usr/share/pixmaps/TeamViewer.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -103,10 +119,6 @@ mv $PKG/usr/share/applications/com.teamviewer.TeamViewer.desktop $PKG/usr/share/
# We don't need apt
rm -rf $PKG/etc/apt/
-# Move docs to official place
-mv $PKG/opt/teamviewer/doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/opt/teamviewer/doc/
-
mkdir -p $PKG/etc/rc.d/
install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new
@@ -115,4 +127,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/teamviewer/teamviewer.info b/network/teamviewer/teamviewer.info
index d7802aab14..4718349a69 100644
--- a/network/teamviewer/teamviewer.info
+++ b/network/teamviewer/teamviewer.info
@@ -1,10 +1,10 @@
PRGNAM="teamviewer"
-VERSION="15.14.5"
+VERSION="15.52.3"
HOMEPAGE="https://www.teamviewer.com/"
-DOWNLOAD="https://dl.tvcdn.de/download/linux/version_15x/teamviewer_15.14.5_i386.deb"
-MD5SUM="49295c6c7cab605e8ac6c2f3d4ab1118"
-DOWNLOAD_x86_64="https://dl.tvcdn.de/download/linux/version_15x/teamviewer_15.14.5_amd64.deb"
-MD5SUM_x86_64="e364da3834a4e4413cae17e16e9dfa1c"
-REQUIRES="qt5-webkit"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
+DOWNLOAD="https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.52.3_i386.deb"
+MD5SUM="2a7e6d6b4928c594ba91735d643f8fad"
+DOWNLOAD_x86_64="https://dl.teamviewer.com/download/linux/version_15x/teamviewer_15.52.3_amd64.deb"
+MD5SUM_x86_64="31556dcdf43ce4e0aed3dd091d2bda41"
+REQUIRES="libminizip"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/network/telegram-cli/README b/network/telegram-cli/README
deleted file mode 100644
index 0dd579cc55..0000000000
--- a/network/telegram-cli/README
+++ /dev/null
@@ -1 +0,0 @@
-Command-line interface for Telegram.
diff --git a/network/telegram-cli/libreadline.patch b/network/telegram-cli/libreadline.patch
deleted file mode 100644
index f06df0b68f..0000000000
--- a/network/telegram-cli/libreadline.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/configure b/configure
-index fa7e189..9beaf07 100755
---- a/configure
-+++ b/configure
-@@ -4622,11 +4622,7 @@ LIBS=$ac_check_lib_save_LIBS
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_save_prompt" >&5
- $as_echo "$ac_cv_lib_readline_rl_save_prompt" >&6; }
--if test "x$ac_cv_lib_readline_rl_save_prompt" = xyes; then :
-- EXTRA_LIBS="${EXTRA_LIBS} -lreadline" ;
--else
-- as_fn_error $? "no libreadline found" "$LINENO" 5
--fi
-+EXTRA_LIBS="${EXTRA_LIBS} -lreadline" ;
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libconfig" >&5
diff --git a/network/telegram-cli/slack-desc b/network/telegram-cli/slack-desc
deleted file mode 100644
index 96201efe7c..0000000000
--- a/network/telegram-cli/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-telegram-cli: telegram-cli (command-line interface for Telegram.)
-telegram-cli:
-telegram-cli: Command-line interface for Telegram.
-telegram-cli:
-telegram-cli:
-telegram-cli:
-telegram-cli:
-telegram-cli:
-telegram-cli:
-telegram-cli:
-telegram-cli:
diff --git a/network/telegram-cli/telegram-cli.SlackBuild b/network/telegram-cli/telegram-cli.SlackBuild
deleted file mode 100644
index 87e3838b08..0000000000
--- a/network/telegram-cli/telegram-cli.SlackBuild
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for telegram-cli
-
-# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=telegram-cli
-VERSION=${VERSION:-1.4.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=tg
-SRCVERSION=6547c0b21b977b327b3c5e8142963f4bc246187a
-
-# Git modules
-MODULENAM=(tgl tl-parser)
-MODULEVERSION=(ffb04caca71de0cddf28cd33a4575922900a59ed 36bf1902ff3476c75d0b1f42b34a91e944123b3c)
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$SRCVERSION
-tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz || tar xvf $CWD/$SRCVERSION.tar.gz
-cd $SRCNAM-$SRCVERSION
-
-rm -rf ${MODULENAM[0]}
-tar xvf $CWD/${MODULENAM[0]}-${MODULEVERSION[0]}.tar.gz || tar xvf $CWD/${MODULEVERSION[0]}.tar.gz
-mv ${MODULENAM[0]}-${MODULEVERSION[0]} ${MODULENAM[0]}
-
-( cd ${MODULENAM[0]}
- rm -rf ${MODULENAM[1]}
- tar xvf $CWD/${MODULENAM[1]}-${MODULEVERSION[1]}.tar.gz || tar xvf $CWD/${MODULEVERSION[1]}.tar.gz
- mv ${MODULENAM[1]}-${MODULEVERSION[1]} ${MODULENAM[1]}
-)
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-patch -p1 < $CWD/libreadline.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-
-install -Dm755 bin/telegram-cli $PKG/usr/bin/telegram-cli
-install -Dm644 tg-server.pub $PKG/etc/telegram-cli/server.pub
-chmod 644 README-Cygwin.md
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG \
- LICENSE \
- README-Cygwin.md \
- README-LUA \
- README-PY.md \
- README.es \
- README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/telegram-cli/telegram-cli.info b/network/telegram-cli/telegram-cli.info
deleted file mode 100644
index 9e96ba702e..0000000000
--- a/network/telegram-cli/telegram-cli.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="telegram-cli"
-VERSION="1.4.1"
-HOMEPAGE="https://github.com/vysheng/tg"
-DOWNLOAD="https://github.com/vysheng/tg/archive/6547c0b21b977b327b3c5e8142963f4bc246187a.tar.gz \
- https://github.com/vysheng/tgl/archive/ffb04caca71de0cddf28cd33a4575922900a59ed.tar.gz \
- https://github.com/vysheng/tl-parser/archive/36bf1902ff3476c75d0b1f42b34a91e944123b3c.tar.gz"
-MD5SUM="599bdbdccdf632251eb696ad7732f4e3 \
- 284a0f059a30d2c04ca5dcdd6643a491 \
- 854f4d66a29a6ab530a11acbcef5542e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libconfig lua jansson"
-MAINTAINER="Azure Zanculmarktum"
-EMAIL="zanculmarktum@gmail.com"
diff --git a/network/telegram/README b/network/telegram/README
index 1bab2085c8..24724fba9f 100644
--- a/network/telegram/README
+++ b/network/telegram/README
@@ -1,6 +1,4 @@
Telegram
-Telegram is a cloud-based mobile and desktop messaging app with a focus on
-security and speed.
-
-NOTE: Telegram x86 (32 bit) stays at 2.4.4
+Telegram is a cloud-based mobile and desktop messaging app with a
+focus on security and speed.
diff --git a/network/telegram/telegram.SlackBuild b/network/telegram/telegram.SlackBuild
index 7ca74cb573..a11760559c 100644
--- a/network/telegram/telegram.SlackBuild
+++ b/network/telegram/telegram.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Telegram
@@ -25,12 +25,15 @@
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=telegram
SRCNAM=tsetup
SRCDIR=Telegram
-VERSION=${VERSION:-2.6.1}
+VERSION=${VERSION:-4.16.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -38,7 +41,11 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,11 +53,9 @@ OUTPUT=${OUTPUT:-/tmp}
case "$ARCH" in
x86_64)
SRC="${SRCNAM}"
- LIBDIRSUFFIX="64"
;;
i586)
SRC="${SRCNAM}32"
- LIBDIRSUFFIX=""
VERSION=2.4.4
;;
*)
@@ -97,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/telegram/telegram.info b/network/telegram/telegram.info
index 4e0477f125..e50a9dc192 100644
--- a/network/telegram/telegram.info
+++ b/network/telegram/telegram.info
@@ -1,10 +1,10 @@
PRGNAM="telegram"
-VERSION="2.6.1"
+VERSION="4.16.8"
HOMEPAGE="https://telegram.org"
-DOWNLOAD="https://updates.tdesktop.com/tlinux32/tsetup32.2.4.4.tar.xz"
-MD5SUM="857865fb0baa7aabadf3a6136f8276ba"
-DOWNLOAD_x86_64="https://updates.tdesktop.com/tlinux/tsetup.2.6.1.tar.xz"
-MD5SUM_x86_64="4cf3a3e59d1840f1f16eb0c8a691c8ca"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://updates.tdesktop.com/tlinux/tsetup.4.16.8.tar.xz"
+MD5SUM_x86_64="ee1a670cc7e8da43aba7a78d38b20eaf"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/telegram/telegram.png b/network/telegram/telegram.png
index ee0756db5e..e127f0f355 100644
--- a/network/telegram/telegram.png
+++ b/network/telegram/telegram.png
Binary files differ
diff --git a/network/tgt/tgt.SlackBuild b/network/tgt/tgt.SlackBuild
index b3ea1b3ef4..b36e4f1464 100644
--- a/network/tgt/tgt.SlackBuild
+++ b/network/tgt/tgt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tgt
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tgt
VERSION=${VERSION:-1.0.79}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/thorium-browser/README b/network/thorium-browser/README
new file mode 100644
index 0000000000..4b4ef9dcf2
--- /dev/null
+++ b/network/thorium-browser/README
@@ -0,0 +1 @@
+Thorium (The fastest browser on Earth)
diff --git a/network/Flootty/doinst.sh b/network/thorium-browser/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/Flootty/doinst.sh
+++ b/network/thorium-browser/doinst.sh
diff --git a/network/thorium-browser/slack-desc b/network/thorium-browser/slack-desc
new file mode 100644
index 0000000000..e150a0f6ae
--- /dev/null
+++ b/network/thorium-browser/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+thorium-browser: thorium-browser (The fastest browser on Earth.)
+thorium-browser:
+thorium-browser: Chromium fork for Linux, Windows, MacOS, Android, and Raspberry Pi
+thorium-browser: named after radioactive element No. 90.
+thorium-browser:
+thorium-browser: Compiler optimizations include SSE4.2, AVX, AES, and modifications
+thorium-browser: to CFLAGS, LDFLAGS, thinLTO flags, import_instr_limit flags, and
+thorium-browser: PGO, as well as other compiler flags.
+thorium-browser: LLVM LOOP optimizations as -mllvm flags.
+thorium-browser:
+thorium-browser: Homepage: https://thorium.rocks/
diff --git a/network/thorium-browser/thorium-browser.SlackBuild b/network/thorium-browser/thorium-browser.SlackBuild
new file mode 100644
index 0000000000..db4d193cba
--- /dev/null
+++ b/network/thorium-browser/thorium-browser.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for thorium-browser
+
+# Copyright 2023 Martin Rodriguez, Guadalajara Mexico
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=thorium-browser
+VERSION=${VERSION:-122.0.6261.132}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+case "$ARCH" in
+ x86_64) DEBARCH="amd64" ;;
+ *) echo "Package for $ARCH architecture is not available." ; exit 1 ;;
+esac
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $PKG
+ar p $CWD/${PRGNAM}_${VERSION}_$DEBARCH.deb data.tar.xz | tar xJv || exit 1
+cd ..
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Make sure top-level perms are correct:
+chmod 0755 .
+
+# This needs to be setuid root:
+chmod 4711 $PKG/opt/chromium.org/thorium/chrome-sandbox
+
+# The cron job is for Debian/Ubuntu only:
+rm -rf $PKG/etc
+
+# Strip binaries and libraries
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr/man
+
+# Install a .desktop launcher:
+sed -i -e "s#Icon=thorium-browser#Icon=/opt/chromium.org/thorium/product_logo_256.png#" \
+ $PKG/usr/share/applications/thorium-browser.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/thorium-browser/thorium-browser.info b/network/thorium-browser/thorium-browser.info
new file mode 100644
index 0000000000..cc4bb4be0b
--- /dev/null
+++ b/network/thorium-browser/thorium-browser.info
@@ -0,0 +1,10 @@
+PRGNAM="thorium-browser"
+VERSION="122.0.6261.132"
+HOMEPAGE="https://thorium.rocks/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/Alex313031/thorium/releases/download/M122.0.6261.132/thorium-browser_122.0.6261.132_amd64.deb"
+MD5SUM_x86_64="5e02eb86b7657c1c592ff242f1a8cf12"
+REQUIRES=""
+MAINTAINER="Martin Rodriguez"
+EMAIL="slackmart@gmail.com"
diff --git a/network/thrift/README b/network/thrift/README
index eb5db97653..be9b57369b 100644
--- a/network/thrift/README
+++ b/network/thrift/README
@@ -1,11 +1,13 @@
-Apache Thrift is a software framework for scalable cross-language services
-development. It combines a software stack with a code generation engine to
-build services that work efficiently and seamlessly among C++, Java, Python,
-PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml.
+Apache Thrift is a software framework for scalable cross-language
+services development. It combines a software stack with a code
+generation engine to build services that work efficiently and
+seamlessly among C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell,
+C#, Cocoa, Smalltalk, and OCaml.
-Other languages are not included because either they are not included in a
-standard installation of Slackware, or because the standard way of installing
-Thrift for that language is not via system packages; for example:
+Other languages are not included because either they are not included
+in a standard installation of Slackware, or because the standard way
+of installing Thrift for that language is not via system packages;
+for example:
- Perl: install from CPAN
- PHP: bundle the Thrift source in your application
- Ruby: install with 'gem'
@@ -14,5 +16,9 @@ You will still need the Thrift compiler from this package.
There are usage examples for more langauges at
http://wiki.apache.org/thrift/ThriftUsage
-libevent is an optional dependency; if it is installed, a C++ non-blocking
-server library will be built.
+libevent is an optional dependency; if it is installed, a C++
+non-blocking server library will be built.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
diff --git a/network/thrift/thrift.SlackBuild b/network/thrift/thrift.SlackBuild
index f76fb6b52c..7f9289fd58 100644
--- a/network/thrift/thrift.SlackBuild
+++ b/network/thrift/thrift.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Apache Thrift
@@ -16,26 +16,36 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=thrift
-VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.14.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -74,22 +84,26 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--with-c-glib \
--without-ruby \
+ --without-rs \
--without-php \
--without-php_extension \
--disable-tests \
--build=$ARCH-slackware-linux
+export GO111MODULE="off"
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES LICENSE NOTICE README.md \
+ CHANGES.md CONTRIBUTING.md LANGUAGES.md LICENSE NOTICE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/thrift/thrift.info b/network/thrift/thrift.info
index ec2179291c..be6bb9c634 100644
--- a/network/thrift/thrift.info
+++ b/network/thrift/thrift.info
@@ -1,8 +1,8 @@
PRGNAM="thrift"
-VERSION="0.9.2"
+VERSION="0.14.2"
HOMEPAGE="http://thrift.apache.org"
-DOWNLOAD="http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz"
-MD5SUM="89f63cc4d0100912f4a1f8a9dee63678"
+DOWNLOAD="http://archive.apache.org/dist/thrift/0.14.2/thrift-0.14.2.tar.gz"
+MD5SUM="284a48df355aa3910687ee9b894d3ae8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/thttpd/README b/network/thttpd/README
index 786fa7a4aa..b265263b91 100644
--- a/network/thttpd/README
+++ b/network/thttpd/README
@@ -2,15 +2,15 @@ thttpd is a simple, small, portable, fast, and secure HTTP server.
Simple: It handles only the minimum necessary to implement HTTP/1.1.
Well, maybe a little more than the minimum. Small: It has a very
small run-time size, since it does not fork and is very careful about
-memory allocation. Portable: It compiles cleanly on most any
-Unix-like OS. Fast: In typical use it's about as fast as the best
-full-featured servers. Secure: It goes to great lengths to protect
-the web server machine against attacks and breakins from other sites.
+memory allocation. Portable: It compiles cleanly on most any Unix-like
+OS. Fast: In typical use it's about as fast as the best full-featured
+servers. Secure: It goes to great lengths to protect the web server
+machine against attacks and breakins from other sites.
Notes:
-By default the directory to serve through HTTP will be '/var/www/thttpd',
-if you want to change it execute the SalckBuild as:
+By default the directory to serve through HTTP will be
+'/var/www/thttpd'. If you want to change it, execute the SlackBuild as:
# WEBDIR='/opt/www' sh thttpd.SlackBuild
To build and use this package the user/group 'thttpd' is required to
diff --git a/network/thttpd/thttpd.SlackBuild b/network/thttpd/thttpd.SlackBuild
index e8f412a54c..31e062b2a3 100644
--- a/network/thttpd/thttpd.SlackBuild
+++ b/network/thttpd/thttpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for thttpd
@@ -24,10 +24,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=thttpd
VERSION=${VERSION:-2.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,6 +61,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -162,7 +175,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a FILES INSTALL README TODO scripts $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a FILES README TODO scripts $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -180,4 +193,4 @@ mv $PKG/usr/man/man1/htpasswd.1.gz $PKG/usr/man/man1/htpasswd-$PRGNAM.1.gz
mv $PKG/usr/sbin/htpasswd $PKG/usr/sbin/htpasswd-$PRGNAM
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tightvnc/README b/network/tightvnc/README
deleted file mode 100644
index e6132561f5..0000000000
--- a/network/tightvnc/README
+++ /dev/null
@@ -1,15 +0,0 @@
-tightvnc (VNC viewing application)
-
-TightVNC is a free remote control software package. With TightVNC, you can
-see the desktop of a remote machine and control it with your local mouse and
-keyboard, just like you would do it sitting in the front of that computer.
-
-TightVNC is:
-
-* free for both personal and commercial usage, with full source code available
-* useful in administration, tech support, education, and many other purposes
-* cross-platform, available for Windows and Unix, with Java client included
-* compatible with standard VNC software, conforming to RFB protocol specs
-
-TightVNC also ships with Xvnc, a headless X server that speaks the VNC
-protocol.
diff --git a/network/tightvnc/slack-desc b/network/tightvnc/slack-desc
deleted file mode 100644
index 11b1fc7f38..0000000000
--- a/network/tightvnc/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-tightvnc: tightvnc (VNC viewing application)
-tightvnc:
-tightvnc: TightVNC is a free remote control software package. With TightVNC, you
-tightvnc: can see the desktop of a remote machine and control it with your local
-tightvnc: mouse and keyboard, just like you would do it sitting in the front of
-tightvnc: that computer.
-tightvnc:
-tightvnc:
-tightvnc:
-tightvnc:
-tightvnc:
diff --git a/network/tightvnc/tightvnc.SlackBuild b/network/tightvnc/tightvnc.SlackBuild
deleted file mode 100644
index d6219e6301..0000000000
--- a/network/tightvnc/tightvnc.SlackBuild
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tightvnc
-
-# Copyright 2014 Richard Ellis (USA)
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=tightvnc
-VERSION=${VERSION:-1.3.10}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf vnc_unixsrc/
-tar xvf $CWD/$PRGNAM-${VERSION}_unixsrc.tar.bz2
-cd vnc_unixsrc/
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-xmkmf
-make World
-
-cd Xvnc
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-make -j1
-
-cd ..
-
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-./vncinstall $PKG/usr/bin $PKG/usr/man/
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION/Xvnc
-cp -a README tightvncserver.conf $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Xvnc/README $PKG/usr/doc/$PRGNAM-${VERSION}/Xvnc/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/tightvnc/tightvnc.info b/network/tightvnc/tightvnc.info
deleted file mode 100644
index 9a7f164cf5..0000000000
--- a/network/tightvnc/tightvnc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tightvnc"
-VERSION="1.3.10"
-HOMEPAGE="http://www.tightvnc.com/"
-DOWNLOAD="http://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_unixsrc.tar.bz2"
-MD5SUM="397b35faad32d5246b6d44b142f8304f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Richard Ellis"
-EMAIL="rellis@dp100.com"
diff --git a/network/tinc/README b/network/tinc/README
index 2878c5d551..c9ee36e370 100644
--- a/network/tinc/README
+++ b/network/tinc/README
@@ -2,8 +2,9 @@ tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and
encryption to create a secure private network between hosts on the
Internet.
-tinc is Free Software and licensed under the GNU General Public License
-version 2 or later. Because the VPN appears to the IP level network code
-as a normal network device, there is no need to adapt any existing software.
-This allows VPN sites to share information with each other over the
-Internet without exposing any information to others.
+tinc is Free Software and licensed under the GNU General Public
+License version 2 or later. Because the VPN appears to the IP level
+network code as a normal network device, there is no need to adapt
+any existing software. This allows VPN sites to share information
+with each other over the Internet without exposing any information
+to others.
diff --git a/network/tinc/tinc.SlackBuild b/network/tinc/tinc.SlackBuild
index 377d327691..caf34eeaab 100644
--- a/network/tinc/tinc.SlackBuild
+++ b/network/tinc/tinc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tinc
@@ -31,10 +31,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tinc
VERSION=${VERSION:-1.0.36}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +47,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -117,4 +127,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tinyirc/README b/network/tinyirc/README
index 47008dec66..98b30dab40 100644
--- a/network/tinyirc/README
+++ b/network/tinyirc/README
@@ -6,5 +6,6 @@ it have any color, but it works, and it's tiny. It's a bare bones
IRC client which has no editing capabilities other than backspace to
correct typing.
-This SlackBuild sets the default IRC server to chat.freenode.org, when
-tinyirc is run without a server argument.
+This SlackBuild sets the default IRC server to irc.libera.chat, port
+6667, when tinyirc is run without a server argument. However, you can
+change this by setting SERVER and/or PORT in the environment.
diff --git a/network/tinyirc/slack-desc b/network/tinyirc/slack-desc
index 51060e7c9b..84e94f629d 100644
--- a/network/tinyirc/slack-desc
+++ b/network/tinyirc/slack-desc
@@ -12,7 +12,7 @@ tinyirc: A very small, stripped down IRC client. It doesn't have most of the
tinyirc: more advanced commands in the ircII family of IRC clients, nor does it
tinyirc: have any color, but it works, and it's tiny.
tinyirc:
-tinyirc:
+tinyirc: Default server and port: @SERVER@:@PORT@
tinyirc:
tinyirc:
tinyirc:
diff --git a/network/tinyirc/tinyirc.SlackBuild b/network/tinyirc/tinyirc.SlackBuild
index 1abc53e2cf..db57c728b0 100644
--- a/network/tinyirc/tinyirc.SlackBuild
+++ b/network/tinyirc/tinyirc.SlackBuild
@@ -1,15 +1,22 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tinyirc
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210925 bkw: BUILD=2, change default server to libera since
+# freenode has become a bad joke. Also add SERVER and PORT env vars,
+# since someone might not agree with me.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tinyirc
VERSION=${VERSION:-1.1_4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=${VERSION%_*}.dfsg.1
DEBVER=${VERSION#*_}
@@ -22,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,10 +69,13 @@ for i in $( cat debian/patches/series ); do
patch -p1 < debian/patches/$i
done
+SERVER="${SERVER:-irc.libera.chat}"
+PORT="${PORT:-6667}"
+
# Change the default server and port to something people actually use.
make $PRGNAM \
- SERVER="chat.freenode.net" \
- PORT=6667 \
+ SERVER="$SERVER" \
+ PORT="$PORT" \
CFLAGS="$SLKCFLAGS -DPOSIX -DDO_CTCP -DCURSES -DHAVE_NCURSES" \
LIBS=-lncurses \
CC=${CC:-gcc}
@@ -69,6 +83,9 @@ make $PRGNAM \
mkdir -p $PKG/usr/bin
install -m0755 -s $PRGNAM $PKG/usr/bin
+# Derp!
+sed -i 's|left, left|left, right|' debian/$PRGNAM.1.pod
+
mkdir -p $PKG/usr/man/man1
pod2man -cSlackBuilds.org -s1 -r1.1 -nTINYIRC debian/$PRGNAM.1.pod | \
gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz
@@ -81,7 +98,9 @@ cp -a COPYING announce *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed -e "s,@SERVER@,$SERVER," \
+ -e "s,@PORT@,$PORT," \
+ $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tinyirc/tinyirc.info b/network/tinyirc/tinyirc.info
index 6325f142f8..85a4f188db 100644
--- a/network/tinyirc/tinyirc.info
+++ b/network/tinyirc/tinyirc.info
@@ -1,12 +1,12 @@
PRGNAM="tinyirc"
VERSION="1.1_4"
HOMEPAGE="https://github.com/nlaredo/tinyirc/"
-DOWNLOAD="http://deb.debian.org/debian/pool/main/t/tinyirc/tinyirc_1.1.dfsg.1.orig.tar.gz \
- http://deb.debian.org/debian/pool/main/t/tinyirc/tinyirc_1.1.dfsg.1-4.debian.tar.xz"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/t/tinyirc/tinyirc_1.1.dfsg.1.orig.tar.gz \
+ https://deb.debian.org/debian/pool/main/t/tinyirc/tinyirc_1.1.dfsg.1-4.debian.tar.xz"
MD5SUM="b655596125a525d54f82dba6a96a84b7 \
e2c989de71c7324bc86fb6aa45a4d8a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/tinyproxy/README b/network/tinyproxy/README
index 3b2d1e25ac..8c6e908bd7 100644
--- a/network/tinyproxy/README
+++ b/network/tinyproxy/README
@@ -1,7 +1,8 @@
tinyproxy (lightweight HTTP proxy)
-tinyproxy is a lightweight HTTP proxy licensed under the GPL. Designed from
-the ground up to be fast and yet small, it is an ideal solution for sites
-where a full-featured HTTP proxy is required, but the system resources
-required to run a more demanding HTTP proxy are unavailable. tinyproxy is
-fully compatible with all existing web browsers
+tinyproxy is a lightweight HTTP proxy licensed under the GPL.
+Designed from the ground up to be fast and yet small, it is an ideal
+solution for sites where a full-featured HTTP proxy is required,
+but the system resources required to run a more demanding HTTP proxy
+are unavailable. tinyproxy is fully compatible with all existing web
+browsers
diff --git a/network/tinyproxy/tinyproxy.SlackBuild b/network/tinyproxy/tinyproxy.SlackBuild
index 1941ed8d77..d47e579a14 100644
--- a/network/tinyproxy/tinyproxy.SlackBuild
+++ b/network/tinyproxy/tinyproxy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tinyproxy
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tinyproxy
VERSION=${VERSION:-1.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -111,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tixati/tixati.SlackBuild b/network/tixati/tixati.SlackBuild
index 132c608c68..e74e550dfd 100644
--- a/network/tixati/tixati.SlackBuild
+++ b/network/tixati/tixati.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tixati
-# Copyright 2015-2021 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tixati
-VERSION=${VERSION:-2.78_1}
+VERSION=${VERSION:-3.19_1}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tixati/tixati.info b/network/tixati/tixati.info
index 5403092742..9a0a237b44 100644
--- a/network/tixati/tixati.info
+++ b/network/tixati/tixati.info
@@ -1,10 +1,10 @@
PRGNAM="tixati"
-VERSION="2.78_1"
+VERSION="3.19_1"
HOMEPAGE="https://www.tixati.com/"
-DOWNLOAD="https://download2.tixati.com/download/tixati-2.78-1.i686.manualinstall.tar.gz"
-MD5SUM="227f8d87b5ebfe7bfe3e0b9ed5841c82"
-DOWNLOAD_x86_64="https://download2.tixati.com/download/tixati-2.78-1.x86_64.manualinstall.tar.gz"
-MD5SUM_x86_64="256b842726851370f9359a5a2c815165"
+DOWNLOAD="https://download2.tixati.com/download/tixati-3.19-1.i686.manualinstall.tar.gz"
+MD5SUM="a158f57f9ddf46c04b0b124a8deab266"
+DOWNLOAD_x86_64="https://download2.tixati.com/download/tixati-3.19-1.x86_64.manualinstall.tar.gz"
+MD5SUM_x86_64="4b7c80172ae7910c9a0db3b009082022"
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/tmate/README b/network/tmate/README
index 8a704c4bfd..32453d49bc 100644
--- a/network/tmate/README
+++ b/network/tmate/README
@@ -1,5 +1,6 @@
-tmate is a fork of tmux. It provides instant terminal sharing (either read-write
-or read-only) through the server at tmate.io, or through your own server.
+tmate is a fork of tmux. It provides instant terminal sharing (either
+read-write or read-only) through the server at tmate.io, or through
+your own server.
You can think of tmate as a reverse ssh tunnel accessible from anywhere.
diff --git a/network/tmate/tmate.SlackBuild b/network/tmate/tmate.SlackBuild
index 62847d8aa5..6daeb9ec20 100644
--- a/network/tmate/tmate.SlackBuild
+++ b/network/tmate/tmate.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tmate
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tmate
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tnfs-fuse/COPYING b/network/tnfs-fuse/COPYING
new file mode 100644
index 0000000000..b2c3b59099
--- /dev/null
+++ b/network/tnfs-fuse/COPYING
@@ -0,0 +1,23 @@
+License for tnfs-fuse:
+
+The MIT License
+
+Copyright (c) 2012 Radu Cristescu
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/network/tnfs-fuse/README b/network/tnfs-fuse/README
new file mode 100644
index 0000000000..d7eb799f87
--- /dev/null
+++ b/network/tnfs-fuse/README
@@ -0,0 +1,8 @@
+tnfs-fuse (client for trivial network filesystem)
+
+TNFS is a simplified Internet file transfer protocol, designed for
+limited resource usage and ease of implementation on small systems,
+such as 8-bit computers. It's simpler than NFS, SMB, or FTP. It's
+similar to TFTP, but has features TFTP lacks.
+
+This package is the Linux (and Mac, *BSD, etc) client.
diff --git a/network/tnfs-fuse/libdir.diff b/network/tnfs-fuse/libdir.diff
new file mode 100644
index 0000000000..9b1d0f5fa5
--- /dev/null
+++ b/network/tnfs-fuse/libdir.diff
@@ -0,0 +1,19 @@
+diff -Naur spectranet-tnfs-fuse-fd46ffca3281db4a0c60c04dc83c9cf2cb80bc9e/tnfs-fuse.py spectranet-tnfs-fuse-fd46ffca3281db4a0c60c04dc83c9cf2cb80bc9e.patched/tnfs-fuse.py
+--- spectranet-tnfs-fuse-fd46ffca3281db4a0c60c04dc83c9cf2cb80bc9e/tnfs-fuse.py 2013-01-27 13:02:20.000000000 -0500
++++ spectranet-tnfs-fuse-fd46ffca3281db4a0c60c04dc83c9cf2cb80bc9e.patched/tnfs-fuse.py 2022-07-18 14:47:20.902204356 -0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+
+ # The MIT License
+ #
+@@ -22,6 +22,9 @@
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ # THE SOFTWARE.
+
++import sys
++sys.path.insert(0, '@LIBDIR@')
++
+ import fuse
+ fuse.fuse_python_api = (0, 2)
+
diff --git a/network/tnfs-fuse/slack-desc b/network/tnfs-fuse/slack-desc
new file mode 100644
index 0000000000..a211837aa1
--- /dev/null
+++ b/network/tnfs-fuse/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tnfs-fuse: tnfs-fuse (client for trivial network filesystem)
+tnfs-fuse:
+tnfs-fuse: TNFS is a simplified Internet file transfer protocol, designed for
+tnfs-fuse: limited resource usage and ease of implementation on small systems,
+tnfs-fuse: such as 8-bit computers. It's simpler than NFS, SMB, or FTP. It's
+tnfs-fuse: similar to TFTP, but has features TFTP lacks.
+tnfs-fuse:
+tnfs-fuse: This package is the Linux (and Mac, *BSD, etc) client.
+tnfs-fuse:
+tnfs-fuse:
+tnfs-fuse:
diff --git a/network/tnfs-fuse/tnfs-client.1 b/network/tnfs-fuse/tnfs-client.1
new file mode 100644
index 0000000000..86475abdca
--- /dev/null
+++ b/network/tnfs-fuse/tnfs-client.1
@@ -0,0 +1,108 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "TNFS-CLIENT" 1 "2022-08-24" "20130127_fd46ff" "SlackBuilds.org"
+.SH NAME
+tnfs-client \- trivial network filesystem client
+.\" RST source for tnfs-client(1) man page. Convert with:
+.
+.\" rst2man.py tnfs-client.rst > tnfs-client.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+\fBtnfs\-client\fP [\fIhost\fP [\fIport\fP]]
+.SH DESCRIPTION
+.sp
+TNFS is a simplified Internet file transfer protocol, designed for
+simplicity and ease of implementation on small systems, such as 8\-bit
+computers. It\(aqs simpler than NFS, SMB, or FTP. It\(aqs similar to TFTP,
+but has features TFTP lacks.
+.sp
+\fBtnfs\-client\fP is a simple client for the TNFS protocol. It uses UDP
+port 16384 by default (standard for TNFS).
+.sp
+\fBtnfs\-client\fP doesn\(aqt mount the TNFS share as a directory (see
+\fBtnfs\-fuse\fP(1) for that). It has a textmode user interface similar
+to \fBftp\fP(1).
+.sp
+If \fBhost\fP is omitted, the default host is \fIvexed4.alioth.net\fP\&. If
+\fBport\fP is omitted, the default port is \fI16384\fP\&.
+.SH COMMANDS
+.sp
+The client supports these commands:
+.INDENT 0.0
+.TP
+.B \fBls\fP [\fI\-l\fP]
+List contents of current directory. With \fI\-l\fP, show details.
+.TP
+.B \fBdir\fP [\fI\-l\fP]
+Synonym for \fBls\fP\&.
+.TP
+.B \fBcd\fP \fIpath\fP
+Change working directory on server to \fIpath\fP\&.
+.TP
+.B \fBpwd\fP
+Print current working directory on server.
+.TP
+.B \fBget\fP \fIremote\-filename\fP [\fIlocal\-filename\fP]
+Download a file.
+.TP
+.B \fBput\fP \fIlocal\-filename\fP [\fIremote\-filename\fP]
+Upload a file.
+.TP
+.B \fBmkdir\fP \fIpath\fP
+Create a directory.
+.TP
+.B \fBrmdir\fP \fIpath\fP
+Delete a directory (which must be empty).
+.TP
+.B \fBquit\fP
+Exit the client.
+.UNINDENT
+.sp
+Note that there\(aqs no \fBrm\fP command, or any other way to delete
+a file. There\(aqs also no \fBlcd\fP command; you can\(aqt change the local
+working directory, so make sure you\(aqre in the right place before you
+start the client.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/tnfs\-fuse\-20130127_fd46ff/COPYING for license information.
+.SH AUTHORS
+.sp
+tnfs\-client was written by Radu Cristescu.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBtnfs\-fuse\fP(1), \fBtnfsd\fP(1), \fBfuse\fP(8)
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/tnfs-fuse/tnfs-client.rst b/network/tnfs-fuse/tnfs-client.rst
new file mode 100644
index 0000000000..216eb6a76d
--- /dev/null
+++ b/network/tnfs-fuse/tnfs-client.rst
@@ -0,0 +1,97 @@
+.. RST source for tnfs-client(1) man page. Convert with:
+.. rst2man.py tnfs-client.rst > tnfs-client.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20130127_fd46ff
+.. |date| date::
+
+===========
+tnfs-client
+===========
+
+---------------------------------
+trivial network filesystem client
+---------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+**tnfs-client** [*host* [*port*]]
+
+DESCRIPTION
+===========
+
+TNFS is a simplified Internet file transfer protocol, designed for
+simplicity and ease of implementation on small systems, such as 8-bit
+computers. It's simpler than NFS, SMB, or FTP. It's similar to TFTP,
+but has features TFTP lacks.
+
+**tnfs-client** is a simple client for the TNFS protocol. It uses UDP
+port 16384 by default (standard for TNFS).
+
+**tnfs-client** doesn't mount the TNFS share as a directory (see
+**tnfs-fuse**\(1) for that). It has a textmode user interface similar
+to **ftp**\(1).
+
+If **host** is omitted, the default host is *vexed4.alioth.net*. If
+**port** is omitted, the default port is *16384*.
+
+COMMANDS
+========
+
+The client supports these commands:
+
+**ls** [*-l*]
+ List contents of current directory. With *-l*, show details.
+
+**dir** [*-l*]
+ Synonym for **ls**.
+
+**cd** *path*
+ Change working directory on server to *path*.
+
+**pwd**
+ Print current working directory on server.
+
+**get** *remote-filename* [*local-filename*]
+ Download a file.
+
+**put** *local-filename* [*remote-filename*]
+ Upload a file.
+
+**mkdir** *path*
+ Create a directory.
+
+**rmdir** *path*
+ Delete a directory (which must be empty).
+
+**quit**
+ Exit the client.
+
+Note that there's no **rm** command, or any other way to delete
+a file. There's also no **lcd** command; you can't change the local
+working directory, so make sure you're in the right place before you
+start the client.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/tnfs-fuse-|version|/COPYING for license information.
+
+AUTHORS
+=======
+
+tnfs-client was written by Radu Cristescu.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**tnfs-fuse**\(1), **tnfsd**\(1), **fuse**\(8)
diff --git a/network/tnfs-fuse/tnfs-fuse.1 b/network/tnfs-fuse/tnfs-fuse.1
new file mode 100644
index 0000000000..c1c939b013
--- /dev/null
+++ b/network/tnfs-fuse/tnfs-fuse.1
@@ -0,0 +1,99 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "TNFS-FUSE" 1 "2022-08-24" "20130127_fd46ff" "SlackBuilds.org"
+.SH NAME
+tnfs-fuse \- trivial network filesystem client
+.\" RST source for tnfs-fuse(1) man page. Convert with:
+.
+.\" rst2man.py tnfs-fuse.rst > tnfs-fuse.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+tnfs\-fuse \fBdirectory\fP \fB\-o address=host\fP[:\fIport\fP]
+.SH DESCRIPTION
+.sp
+TNFS is a simplified Internet file transfer protocol, designed for
+simplicity and ease of implementation on small systems, such as 8\-bit
+computers. It\(aqs simpler than NFS, SMB, or FTP. It\(aqs similar to TFTP,
+but has features TFTP lacks.
+.sp
+\fBtnfs\-fuse\fP is a client for the TNFS protocol. It uses UDP port
+16384 by default (standard for TNFS).
+.sp
+When working with mounted TNFS directories, some error messages will
+be wrong, e.g. instead of "Permission denied", you may get "Bad file
+descriptor".
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \fB\-o address=host\fP[:\fIport\fP]
+The hostname or IP address of the TNFS server to mount. If \fI:port\fP is
+not given, the default TNFS port (16384) is used.
+.TP
+.B \fB\-o ro\fP
+Mount read\-only.
+.UNINDENT
+.sp
+\fBtnfs\-fuse\fP supports the full set of \fBfuse\fP options. See
+\fBfuse\fP(8) or \fBtnfs\-fuse \-\-help\fP for the list.
+.SH EXAMPLE
+.sp
+To mount the TNFS server at \fBfujinet.online\fP:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+mkdir fujinet
+tnfs\-fuse fujinet \-o address=fujinet.online
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Now the contents of the TNFS server are visible under fujinet/ (or
+whatever name you chose). You might also want to add \fB\-o ro\fP to mount
+read\-only.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/tnfs\-fuse\-20130127_fd46ff/COPYING for license information.
+.SH AUTHORS
+.sp
+tnfs\-fuse was written by Radu Cristescu.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBtnfs\-client\fP(1), \fBtnfsd\fP(1), \fBfuse\fP(8)
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/tnfs-fuse/tnfs-fuse.SlackBuild b/network/tnfs-fuse/tnfs-fuse.SlackBuild
new file mode 100644
index 0000000000..adac24633b
--- /dev/null
+++ b/network/tnfs-fuse/tnfs-fuse.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for tnfs-fuse
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20220824 bkw: BUILD=2
+# - fix man page: this client does *not* use TCP, I don't know what
+# I was smoking when I wrote that...
+# - tnfs_client.py, the library, is also an executable. include
+# symlink to /usr/bin and man page for it.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tnfs-fuse
+VERSION=${VERSION:-20130127_fd46ff}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCVER="$( echo $VERSION | cut -d_ -f2 )"
+SRCNAM="spectranet-tnfs-fuse"
+
+# I didn't make a separate build for python-fuse, because it would
+# conflict with the existing python-fusepy. No idea why there are
+# two incompatible fuse modules for python, and don't care either.
+# This python-fuse will get installed in a private directory so it
+# won't stomp on python-fusepy.
+LIBNAM="python-fuse"
+LIBVER="1.0.5"
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+LIBDIR=/usr/lib$LIBDIRSUFFIX/$PRGNAM
+PKGLIB=$PKG/$LIBDIR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+TOPDIR="$(pwd)"
+tar xvf $CWD/$SRCNAM-$SRCVER*.tar.gz
+tar xvf $CWD/$LIBNAM-$LIBVER.tar.gz
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# first the library. remember, private directory.
+cd $LIBNAM-$LIBVER
+python2 setup.py install --root=$PKG
+mkdir -p $PKGLIB
+mv $PKG/usr/lib*/python*/site-packages/* $PKGLIB
+rm -rf $PKG/usr/lib*/python*
+strip $PKGLIB/*/*.so
+
+# now the application (which also has a library)
+cd $TOPDIR/$SRCNAM-$SRCVER*
+patch -p1 < $CWD/libdir.diff
+mkdir -p $PKG/usr/bin
+sed "s,@LIBDIR@,$LIBDIR," < $PRGNAM.py > $PKG/usr/bin/$PRGNAM
+chmod 755 $PKG/usr/bin/$PRGNAM
+install -m0755 tnfs_client.py $PKGLIB
+ln -s ../lib$LIBDIRSUFFIX/$PRGNAM/tnfs_client.py $PKG/usr/bin/tnfs-client
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# upstream didn't include a separate license, so copy/paste the comments.
+cat $CWD/COPYING > $PKGDOC/COPYING
+
+# man pages written for this SlackBuild.
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+gzip -9c < $CWD/tnfs-client.1 > $PKG/usr/man/man1/tnfs-client.1.gz
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tnfs-fuse/tnfs-fuse.info b/network/tnfs-fuse/tnfs-fuse.info
new file mode 100644
index 0000000000..dc184ba8e3
--- /dev/null
+++ b/network/tnfs-fuse/tnfs-fuse.info
@@ -0,0 +1,12 @@
+PRGNAM="tnfs-fuse"
+VERSION="20130127_fd46ff"
+HOMEPAGE="https://github.com/Uplink03/spectranet-tnfs-fuse"
+DOWNLOAD="https://github.com/Uplink03/spectranet-tnfs-fuse/archive/fd46ff/spectranet-tnfs-fuse-fd46ffca3281db4a0c60c04dc83c9cf2cb80bc9e.tar.gz \
+ https://github.com/libfuse/python-fuse/archive/v1.0.5/python-fuse-1.0.5.tar.gz"
+MD5SUM="d544ceb6cea5df8efa53859bc7c3dba7 \
+ 6b79b1dc0be30f21d62996f408cfd397"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/tnfs-fuse/tnfs-fuse.rst b/network/tnfs-fuse/tnfs-fuse.rst
new file mode 100644
index 0000000000..66b1862132
--- /dev/null
+++ b/network/tnfs-fuse/tnfs-fuse.rst
@@ -0,0 +1,82 @@
+.. RST source for tnfs-fuse(1) man page. Convert with:
+.. rst2man.py tnfs-fuse.rst > tnfs-fuse.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20130127_fd46ff
+.. |date| date::
+
+=========
+tnfs-fuse
+=========
+
+---------------------------------
+trivial network filesystem client
+---------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+tnfs-fuse **directory** **-o address=host**\[:*port*]
+
+DESCRIPTION
+===========
+
+TNFS is a simplified Internet file transfer protocol, designed for
+simplicity and ease of implementation on small systems, such as 8-bit
+computers. It's simpler than NFS, SMB, or FTP. It's similar to TFTP,
+but has features TFTP lacks.
+
+**tnfs-fuse** is a client for the TNFS protocol. It uses UDP port
+16384 by default (standard for TNFS).
+
+When working with mounted TNFS directories, some error messages will
+be wrong, e.g. instead of "Permission denied", you may get "Bad file
+descriptor".
+
+OPTIONS
+=======
+
+**-o address=host**\[:*port*]
+ The hostname or IP address of the TNFS server to mount. If *:port* is
+ not given, the default TNFS port (16384) is used.
+
+**-o ro**
+ Mount read-only.
+
+**tnfs-fuse** supports the full set of **fuse** options. See
+**fuse**\(8) or **tnfs-fuse --help** for the list.
+
+EXAMPLE
+=======
+
+To mount the TNFS server at **fujinet.online**::
+
+ mkdir fujinet
+ tnfs-fuse fujinet -o address=fujinet.online
+
+Now the contents of the TNFS server are visible under fujinet/ (or
+whatever name you chose). You might also want to add **-o ro** to mount
+read-only.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/tnfs-fuse-|version|/COPYING for license information.
+
+AUTHORS
+=======
+
+tnfs-fuse was written by Radu Cristescu.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**tnfs-client**\(1), **tnfsd**\(1), **fuse**\(8)
diff --git a/network/tnfsd/COPYING b/network/tnfsd/COPYING
new file mode 100644
index 0000000000..e6bf05a125
--- /dev/null
+++ b/network/tnfsd/COPYING
@@ -0,0 +1,41 @@
+This information copied from the C sources.
+
+License for all tnfsd source files except strlcat.c and strlcpy.c:
+
+ The MIT License
+
+ Copyright (c) 2010 Dylan Smith
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+License for strlcat.c and strlcpy.c:
+
+ Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
+
+ 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.
diff --git a/network/tnfsd/README b/network/tnfsd/README
new file mode 100644
index 0000000000..1bbf964283
--- /dev/null
+++ b/network/tnfsd/README
@@ -0,0 +1,48 @@
+tnfsd (trivial network filesystem server)
+
+TNFS is a simplified Internet file transfer protocol, designed for
+limited resource usage and ease of implementation on small systems,
+such as 8-bit computers. It's simpler than NFS, SMB, or FTP. It's
+similar to TFTP, but has features TFTP lacks.
+
+Since tnfsd has no access control other than file permissions, and
+since we generally don't want clients to have write access, this
+package uses a dedicated user/group for the daemon, and another group
+to control local write access to the shared directory.
+
+Before running this SlackBuild, you must create the tnfsd user and
+the tnfsd and tnfs-files groups. Use these commands:
+
+ groupadd -g 375 tnfsd
+ groupadd -g 376 tnfs-files
+ useradd -u 375 -d /var/tnfs -c "TNFS Daemon User" \
+ -M -g tnfsd tnfsd -s /bin/false
+
+After the package is installed, add any users you want to the tnfs-files
+group. These users will be able to create files in the /var/tnfs
+directory. Example:
+
+ usermod -a -G tnfs-files joeblow
+
+After the above command, the user joeblow will have to log out and
+back in, to join the new group. Once this is done, the user can
+copy files to /var/tnfs (or ~tnfs) and they will be visible to TNFS
+clients.
+
+TNFS uses UDP port 16384, so make sure you allow incoming traffic if
+you have firewall rules.
+
+This package includes the server and an init script for running
+tnfsd as a system daemon. To start tnfsd at boot, first edit
+/etc/rc.d/rc.tnfsd, read the comments, and change the default user and
+directory if needed. Then add this to /etc/rc.d/rc.local:
+
+ [ -x /etc/rc.d/rc.tnfsd ] && /etc/rc.d/rc.tnfsd start
+
+Depending on how you're using tnfsd, it might make more sense to start
+the service as needed, as an unprivileged user, instead of running it
+as a system daemon.
+
+Usage logging is a compile-time option. By default, it's enabled. If
+you find it too chatty, you can rebuild this with USAGELOG=no set in
+the environment.
diff --git a/network/tnfsd/doinst.sh b/network/tnfsd/doinst.sh
new file mode 100644
index 0000000000..c033d262ca
--- /dev/null
+++ b/network/tnfsd/doinst.sh
@@ -0,0 +1,22 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.tnfsd.new
diff --git a/network/tnfsd/git2tarxz.sh b/network/tnfsd/git2tarxz.sh
new file mode 100644
index 0000000000..751a3f6bc9
--- /dev/null
+++ b/network/tnfsd/git2tarxz.sh
@@ -0,0 +1,75 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version number.
+
+# This is not a generic git2tarxz script, it's specific to tnfsd.
+# Upstream doesn't use tags for version bumps, so the version number
+# is extracted from main.c. Also, the repo contains a bunch of
+# other stuff unrelated to tnfs, which we don't include in our
+# tarball.
+
+# Takes one optional argument, which is the commit or tag to create a
+# tarball of. With no arg, HEAD is used.
+
+# Version number example: 0.0.1+20200227_ad7ec17
+
+# Notes:
+
+# Do not use this if you're packaging a release.
+
+# This script doesn't need to be run as root. It does need to be able
+# to write to the current directory it's run from.
+
+# Running this script twice for the same commit will NOT give identical
+# tarballs, even if the contents are identical. This is because tar
+# includes the current time in a newly-created tarball (plus there may
+# be other git-related reasons).
+
+# Once you've generated a tarball, you'll still need a place to host it.
+# Ask on the mailing list, if you don't have your own web server to
+# play with.
+
+## Config:
+PRGNAM=tnfsd
+CLONE_URL=https://github.com/FujiNetWIFI/spectranet/
+## End of config.
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+if [ "$1" != "" ]; then
+ git reset --hard "$1" || exit 1
+fi
+
+GIT_SHA=$( git rev-parse --short HEAD )
+
+# the version hardcoded in main.c includes the date, so
+# don't use this.
+#DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
+#VERSION=${DATE}_${GIT_SHA}
+
+VERMAIN="$( grep 'const *char *\*version' tnfs/tnfsd/main.c | cut -d'"' -f2 )"
+VERSION=${VERMAIN}_${GIT_SHA}
+
+rm -rf .git
+find . -name .gitignore -print0 | xargs -0 rm -f
+
+rm -rf tnfs/tnfsd/{vscode_sample,bin/*}
+mv tnfs/*.{md,txt} tnfs/tnfsd
+
+cd "$CWD"
+rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
+mv $GITDIR/tnfs/tnfsd $PRGNAM-$VERSION
+rm -rf $GITDIR
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
+
+echo
+echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
+echo "VERSION=\"$VERSION\""
+echo "MD5SUM=\"$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )\""
diff --git a/network/tnfsd/rc.tnfsd b/network/tnfsd/rc.tnfsd
new file mode 100644
index 0000000000..392856115a
--- /dev/null
+++ b/network/tnfsd/rc.tnfsd
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+# rc.tnfsd, part of SBo tnfsd build, by B. Watson. WTFPL.
+
+# To start tnfsd at boot, make this script executable, then add this code
+# to /etc/rc.d/rc.local:
+# [ -x /etc/rc.d/rc.tnfsd ] && /etc/rc.d/rc.tnfsd start
+
+# tnfsd will chroot to $TNFS_ROOT and set its user ID to $TNFS_USER,
+# and its group ID to $TNFS_USER's primary group. Since there's no
+# other form of access control, make sure the $TNFS_USER can't wrote
+# to $TNFS_ROOT, unless you want to allow everyone who can connect
+# to write/delete/overwrite everything in $TNFS_ROOT. By default,
+# /var/tnfs is owned by root:tnfs-files.
+
+TNFS_USER=tnfsd
+TNFS_ROOT=/var/tnfs
+
+# Log gets overwritten on startup (no rotation).
+TNFS_LOG=/var/log/tnfsd.log
+
+# If you don't need the log at all. But if tnfsd fails to start, you
+# won't see any error messages from it...
+#TNFS_LOG=/dev/null
+
+kill_tnfsd() {
+ /usr/bin/killall tnfsd && sleep 1
+}
+
+start_tnfsd() {
+ echo "Starting tnfsd."
+ kill_tnfsd &>/dev/null
+ /usr/bin/tnfsd "$TNFS_ROOT" -c "$TNFS_USER" >"$TNFS_LOG" </dev/null 2>&1 &
+}
+
+stop_tnfsd() {
+ echo "Stopping tnfsd."
+ kill_tnfsd
+}
+
+case "$1" in
+ ""|start) start_tnfsd ;;
+ stop) stop_tnfsd ;;
+ restart) stop_tnfsd ; start_tnfsd ;;
+ *) echo "Usage: $0 stop|start|restart" 1&>2; exit 1 ;;
+esac
+
+exit 0
diff --git a/network/tnfsd/remove_broken_tcp_support.diff b/network/tnfsd/remove_broken_tcp_support.diff
new file mode 100644
index 0000000000..010f04baf4
--- /dev/null
+++ b/network/tnfsd/remove_broken_tcp_support.diff
@@ -0,0 +1,168 @@
+diff -Naur tnfsd-23.0207.1_95c5b55/config.h tnfsd-23.0207.1_95c5b55.patched/config.h
+--- tnfsd-23.0207.1_95c5b55/config.h 2023-02-08 13:35:32.000000000 -0500
++++ tnfsd-23.0207.1_95c5b55.patched/config.h 2023-02-08 13:37:37.069280883 -0500
+@@ -28,7 +28,6 @@
+ #define MAX_DHND_PER_CONN 8 /* max open directories per client */
+ #define MAX_CLIENTS 4096 /* maximum number of UDP clients */
+ #define MAX_CLIENTS_PER_IP 4096 /* maximum number of UDP clients from single IP */
+-#define MAX_TCP_CONN 256 /* Maximum number of TCP clients */
+ #define SESSION_TIMEOUT 21600 /* Sessions are thrown out after no contact for this many seconds. 0 = no timeout */
+ #define TNFS_HEADERSZ 4 /* minimum header size */
+ #define TNFS_MAX_PAYLOAD (MAXMSGSZ - TNFS_HEADERSZ - 1) /* Maximum usuable payload in a UDP datagram (-1 for status byte) */
+diff -Naur tnfsd-23.0207.1_95c5b55/datagram.c tnfsd-23.0207.1_95c5b55.patched/datagram.c
+--- tnfsd-23.0207.1_95c5b55/datagram.c 2023-02-08 13:35:32.000000000 -0500
++++ tnfsd-23.0207.1_95c5b55.patched/datagram.c 2023-02-08 13:40:57.701262001 -0500
+@@ -50,7 +50,6 @@
+ #include "tnfs_file.h"
+
+ int sockfd; /* UDP global socket file descriptor */
+-int tcplistenfd; /* TCP listening socket file descriptor */
+
+ tnfs_cmdfunc dircmd[NUM_DIRCMDS] =
+ {&tnfs_opendir, &tnfs_readdir, &tnfs_closedir,
+@@ -141,23 +140,6 @@
+ if (bind(sockfd, (struct sockaddr *)&servaddr, sizeof(servaddr)) < 0)
+ die("Unable to bind");
+
+- /* Create the TCP socket */
+- tcplistenfd = socket(AF_INET, SOCK_STREAM, 0);
+- if (tcplistenfd < 0)
+- {
+- die("Unable to create TCP socket");
+- }
+-
+- memset(&servaddr, 0, sizeof(servaddr));
+- servaddr.sin_family = AF_INET;
+- servaddr.sin_addr.s_addr = htons(INADDR_ANY);
+- servaddr.sin_port = htons(TNFSD_PORT);
+- if (bind(tcplistenfd, (struct sockaddr *)&servaddr,
+- sizeof(servaddr)) < 0)
+- {
+- die("Unable to bind TCP socket");
+- }
+- listen(tcplistenfd, 5);
+ }
+
+ void tnfs_mainloop()
+@@ -165,25 +147,13 @@
+ int readyfds, i;
+ fd_set fdset;
+ fd_set errfdset;
+- int tcpsocks[MAX_TCP_CONN];
+-
+- memset(&tcpsocks, 0, sizeof(tcpsocks));
+
+ while (1)
+ {
+ FD_ZERO(&fdset);
+
+- /* add UDP socket and TCP listen socket to fdset */
++ /* add UDP socket to fdset */
+ FD_SET(sockfd, &fdset);
+- FD_SET(tcplistenfd, &fdset);
+-
+- for (i = 0; i < MAX_TCP_CONN; i++)
+- {
+- if (tcpsocks[i])
+- {
+- FD_SET(tcpsocks[i], &fdset);
+- }
+- }
+
+ FD_COPY(&fdset, &errfdset);
+ if ((readyfds = select(FD_SETSIZE, &fdset, NULL, &errfdset, NULL)) != 0)
+@@ -199,55 +169,10 @@
+ {
+ tnfs_handle_udpmsg();
+ }
+- /* Incoming TCP connection? */
+- else if (FD_ISSET(tcplistenfd, &fdset))
+- {
+- tcp_accept(&tcpsocks[0]);
+- }
+- else
+- {
+- for (i = 0; i < MAX_TCP_CONN; i++)
+- {
+- if (tcpsocks[i])
+- {
+- if (FD_ISSET(tcpsocks[i], &fdset))
+- {
+- tnfs_handle_tcpmsg(tcpsocks[i]);
+- }
+- }
+- }
+- }
+ }
+ }
+ }
+
+-void tcp_accept(int *socklist)
+-{
+- int acc_fd, i;
+- struct sockaddr_in cli_addr;
+- socklen_t cli_len = sizeof(cli_addr);
+- int *fdptr;
+-
+- acc_fd = accept(tcplistenfd, (struct sockaddr *)&cli_addr, &cli_len);
+- if (acc_fd < 1)
+- {
+- fprintf(stderr, "WARNING: unable to accept TCP connection\n");
+- return;
+- }
+-
+- fdptr = socklist;
+- for (i = 0; i < MAX_TCP_CONN; i++)
+- {
+- if (*fdptr == 0)
+- {
+- *fdptr = acc_fd;
+- return;
+- }
+- }
+-
+- /* tell the client 'too many connections' */
+-}
+-
+ void tnfs_handle_udpmsg()
+ {
+ socklen_t len;
+@@ -273,15 +198,6 @@
+ *(rxbuf + rxbytes) = 0;
+ }
+
+-void tnfs_handle_tcpmsg(int cli_fd)
+-{
+- char buf[255];
+- int sz;
+-
+- sz = read(cli_fd, buf, sizeof(buf));
+- printf("DEBUG: rx of tcpmsg: %d bytes: %s\n", sz, buf);
+-}
+-
+ void tnfs_decode(struct sockaddr_in *cliaddr, int rxbytes, unsigned char *rxbuf)
+ {
+ Header hdr;
+diff -Naur tnfsd-23.0207.1_95c5b55/datagram.h tnfsd-23.0207.1_95c5b55.patched/datagram.h
+--- tnfsd-23.0207.1_95c5b55/datagram.h 2023-02-08 13:35:32.000000000 -0500
++++ tnfsd-23.0207.1_95c5b55.patched/datagram.h 2023-02-08 13:39:55.229267881 -0500
+@@ -51,8 +51,6 @@
+ void tnfs_sockinit();
+ void tnfs_mainloop();
+ void tnfs_handle_udpmsg();
+-void tcp_accept(int *fdlist);
+-void tnfs_handle_tcpmsg(int cli_fd);
+ void tnfs_decode(struct sockaddr_in *cliaddr,
+ int rxbytes, unsigned char *rxbuf);
+ void tnfs_invalidsession(Header *hdr);
+diff -Naur tnfsd-23.0207.1_95c5b55/tnfs.h tnfsd-23.0207.1_95c5b55.patched/tnfs.h
+--- tnfsd-23.0207.1_95c5b55/tnfs.h 2023-02-08 13:35:32.000000000 -0500
++++ tnfsd-23.0207.1_95c5b55.patched/tnfs.h 2023-02-08 13:40:15.637265960 -0500
+@@ -136,7 +136,6 @@
+ #endif
+ int lastmsgsz; /* last message's size inc. hdr */
+ uint8_t lastseqno; /* last sequence number */
+- uint8_t isTCP; /* uses the TCP transport */
+ } Session;
+
+ typedef struct _header
diff --git a/network/tnfsd/slack-desc b/network/tnfsd/slack-desc
new file mode 100644
index 0000000000..267872fd63
--- /dev/null
+++ b/network/tnfsd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tnfsd: tnfsd (trivial network filesystem server)
+tnfsd:
+tnfsd: TNFS is a simplified Internet file transfer protocol, designed for
+tnfsd: simplicity and ease of implementation on small systems, such as 8-bit
+tnfsd: computers. It's simpler than NFS, SMB, or FTP. It's similar to TFTP,
+tnfsd: but has features TFTP lacks.
+tnfsd:
+tnfsd: TNFS uses UDP port 16384, so make sure you allow incoming traffic if
+tnfsd: you have firewall rules.
+tnfsd:
+tnfsd:
diff --git a/network/tnfsd/tnfsd.1 b/network/tnfsd/tnfsd.1
new file mode 100644
index 0000000000..b8f41d2ed7
--- /dev/null
+++ b/network/tnfsd/tnfsd.1
@@ -0,0 +1,103 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "TNFSD" 1 "2023-02-08" "23.0207.1_95c5b55" "SlackBuilds.org"
+.SH NAME
+tnfsd \- trivial network filesystem daemon
+.\" RST source for tnfsd(1) man page. Convert with:
+.
+.\" rst2man.py tnfsd.rst > tnfsd.1
+.
+.SH SYNOPSIS
+.sp
+tnfsd \fBdirectory\fP [\fB\-c\fP \fIusername\fP]
+.SH DESCRIPTION
+.sp
+TNFS is a simplified Internet file transfer protocol, designed for
+simplicity and ease of implementation on small systems, such as 8\-bit
+computers. It\(aqs simpler than NFS, SMB, or FTP. It\(aqs similar to TFTP,
+but has features TFTP lacks.
+.sp
+\fBtnfsd\fP is the server for the TNFS protocol. It listens for clients
+on UDP port 16384. In theory, the protocol supports TCP connections,
+but this hasn\(aqt been implemented yet.
+.sp
+The mandatory \fBdirectory\fP option is the root of the TNFS filesystem
+tree.
+.sp
+The \fB\-c\fP \fIusername\fP option requires \fBtnfsd\fP to be run as
+\fIroot\fP\&. If given, \fBtnfsd\fP will \fBchroot\fP(2) to the \fIdirectory\fP,
+then drop its root privileges and run as the \fIusername\fP user instead.
+.sp
+Even without \fBchroot\fP, \fBtnfsd\fP will not deliberately allow access
+to files outside the \fIdirectory\fP\&. The \fB\-c\fP option is a safety net,
+in case there\(aqs a bug in \fBtnfsd\fP that allows such access (currently,
+no such bug is known of).
+.sp
+Note that \fBtnfsd\fP can be started by a normal user, since it uses an
+unprivileged UDP port. The \fB\-c\fP option won\(aqt work in this case.
+.sp
+\fBtnfsd\fP logs various information to standard error. If compiled with
+\fI\-DUSAGE_LOG\fP, the log includes all mount, umount, and file transfer
+requests including the client IP addresses.
+.SH LIMITATIONS
+.sp
+\fBtnfsd\fP is designed to be simple, so the following list of
+limitations should not be read as complaints or feature requests.
+.sp
+There is no way to run multiple \fBtnfsd\fP instances on the same
+host, not even on a multi\-homed host. The default UDP port cannot
+be changed; neither can the IP address used for binding (which is
+\fI0.0.0.0\fP, aka \fIINADDR_ANY\fP). Also, there\(aqs no concept of virtual
+hosts. If you \fIreally\fP want to run multiple instances, use containers
+or virtual machines.
+.sp
+There\(aqs no way to limit which hosts may access \fBtnfsd\fP using any
+mechanism such as \fBtcpd\fP(8). Firewall rules may be used instead,
+e.g. \fBiptables\fP(8).
+.sp
+There isn\(aqt a way to share a directory read\-only with the current
+\fBtnfsd\fP implementation. However, filesystem permissions can be used
+to prevent the daemon from writing to the shared directory.
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/tnfsd\-23.0207.1_95c5b55/COPYING for license information.
+.SH AUTHORS
+.sp
+tnfsd was written by Dylan Smith.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+\fBtnfs\-fuse\fP(1), \fBfujinet\-pc\fP(1)
+.sp
+/usr/doc/tnfsd\-23.0207.1_95c5b55/tnfs\-protocol.md
+.\" Generated by docutils manpage writer.
+.
diff --git a/network/tnfsd/tnfsd.SlackBuild b/network/tnfsd/tnfsd.SlackBuild
new file mode 100644
index 0000000000..cc841748c9
--- /dev/null
+++ b/network/tnfsd/tnfsd.SlackBuild
@@ -0,0 +1,144 @@
+#!/bin/bash
+
+# Slackware build script for tnfsd
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230208 bkw: update for v23.0207.1_95c5b55.
+# - this is a security update, see:
+# https://forums.atariage.com/topic/347648-tnfsd-directory-listing-vulnerability/
+# - use self-hosted source, with the non-tnfsd-related stuff removed.
+
+# 20220818 bkw: BUILD=2
+# - remove TCP support entirely. it's incomplete & thoroughly broken.
+# - mention UDP port 16384 in slack-desc.
+
+# Note to self: tnfs-perl/tnfsd.pl looks interesting, but it lacks
+# the ability to chroot and set a new user ID. Leave it out of
+# the package. The tnfs-fuseclient/ is empty except a README, and
+# tnfsd.test/ looks like an ancient version from 2010.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tnfsd
+VERSION=${VERSION:-23.0207.1_95c5b55}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+uid_gid_err() {
+ cat <<EOF
+Before running this SlackBuild, you must create the tnfsd user and
+the tnfsd and tnfs-files groups. Use these commands:
+
+ groupadd -g 375 tnfsd
+ groupadd -g 376 tnfs-files
+ useradd -u 375 -d /var/tnfs -c "TNFS Daemon User" \
+ -M -g tnfsd tnfsd -s /bin/false
+EOF
+ exit 1
+}
+
+chkgrp() {
+ getent group "$1" &>/dev/null || uid_gid_err
+}
+
+chkuser() {
+ getent passwd "$1" &>/dev/null || uid_gid_err
+}
+
+chkgrp tnfsd
+chkgrp tnfs-files
+chkuser tnfsd
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# 20220818 bkw: After messing with this for a while, I've discovered
+# that TCP *just doesn't work*. It'll listen and accept TCP
+# connections, but it never actually *does* anything with data
+# received via TCP (reads and discards it). Also, it never notices
+# when a TCP connection is closed, instead getting stuck in an
+# infinite loop eating 100% of one core... and logging massive
+# amounts of debug messages to stdout (like 2-3GB per minute). Since
+# it's non-functional anyway, this patch just dikes out TCP support
+# completely. So far as I know, there are no TNFS clients which use
+# TCP anyway.
+# 20230208 bkw: reworked this patch for the new source.
+patch -p1 < $CWD/remove_broken_tcp_support.diff
+
+[ "${USAGELOG:-yes}" = "yes" ] && SLKCFLAGS+=" -DUSAGELOG"
+sed -i "s,-Wall,& $SLKCFLAGS," Makefile
+mkdir -p bin
+make OS=LINUX
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+PKGBIN=$PKG/usr/bin
+PKGMAN1=$PKG/usr/man/man1
+PKGRCD=$PKG/etc/rc.d
+PKGVAR=$PKG/var/tnfs
+mkdir -p $PKGDOC $PKGBIN $PKGMAN1 $PKGRCD $PKGVAR
+install -s -m0755 bin/tnfsd $PKGBIN/tnfsd
+cp -a *.md *.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKGVAR
+chown root:tnfs-files $PKGVAR
+chmod 1775 $PKGVAR
+
+# upstream license only exists in C comments, so I included this:
+cat $CWD/COPYING > $PKGDOC/COPYING
+
+# man page written for this SlackBuild.
+gzip -9c < $CWD/$PRGNAM.1 > $PKGMAN1/$PRGNAM.1.gz
+
+install -oroot -groot -m0755 $CWD/rc.$PRGNAM $PKGRCD/rc.$PRGNAM.new
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tnfsd/tnfsd.info b/network/tnfsd/tnfsd.info
new file mode 100644
index 0000000000..a8cb27219e
--- /dev/null
+++ b/network/tnfsd/tnfsd.info
@@ -0,0 +1,10 @@
+PRGNAM="tnfsd"
+VERSION="23.0207.1_95c5b55"
+HOMEPAGE="https://github.com/FujiNetWIFI/spectranet/"
+DOWNLOAD="https://slackware.uk/~urchlay/src/tnfsd-23.0207.1_95c5b55.tar.xz"
+MD5SUM="667313c10c9d809e33ad58c6a59998b7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/tnfsd/tnfsd.rst b/network/tnfsd/tnfsd.rst
new file mode 100644
index 0000000000..23dcb6b28b
--- /dev/null
+++ b/network/tnfsd/tnfsd.rst
@@ -0,0 +1,95 @@
+.. RST source for tnfsd(1) man page. Convert with:
+.. rst2man.py tnfsd.rst > tnfsd.1
+
+.. |version| replace:: 23.0207.1_95c5b55
+.. |date| date::
+
+=====
+tnfsd
+=====
+
+---------------------------------
+trivial network filesystem daemon
+---------------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+tnfsd **directory** [**-c** *username*]
+
+DESCRIPTION
+===========
+
+TNFS is a simplified Internet file transfer protocol, designed for
+simplicity and ease of implementation on small systems, such as 8-bit
+computers. It's simpler than NFS, SMB, or FTP. It's similar to TFTP,
+but has features TFTP lacks.
+
+**tnfsd** is the server for the TNFS protocol. It listens for clients
+on UDP port 16384. In theory, the protocol supports TCP connections,
+but this hasn't been implemented yet.
+
+The mandatory **directory** option is the root of the TNFS filesystem
+tree.
+
+The **-c** *username* option requires **tnfsd** to be run as
+*root*. If given, **tnfsd** will **chroot**\(2) to the *directory*,
+then drop its root privileges and run as the *username* user instead.
+
+Even without **chroot**, **tnfsd** will not deliberately allow access
+to files outside the *directory*. The **-c** option is a safety net,
+in case there's a bug in **tnfsd** that allows such access (currently,
+no such bug is known of).
+
+Note that **tnfsd** can be started by a normal user, since it uses an
+unprivileged UDP port. The **-c** option won't work in this case.
+
+**tnfsd** logs various information to standard error. If compiled with
+*-DUSAGE_LOG*, the log includes all mount, umount, and file transfer
+requests including the client IP addresses.
+
+LIMITATIONS
+===========
+
+**tnfsd** is designed to be simple, so the following list of
+limitations should not be read as complaints or feature requests.
+
+There is no way to run multiple **tnfsd** instances on the same
+host, not even on a multi-homed host. The default UDP port cannot
+be changed; neither can the IP address used for binding (which is
+*0.0.0.0*, aka *INADDR_ANY*). Also, there's no concept of virtual
+hosts. If you *really* want to run multiple instances, use containers
+or virtual machines.
+
+There's no way to limit which hosts may access **tnfsd** using any
+mechanism such as **tcpd**\(8). Firewall rules may be used instead,
+e.g. **iptables**\(8).
+
+There isn't a way to share a directory read-only with the current
+**tnfsd** implementation. However, filesystem permissions can be used
+to prevent the daemon from writing to the shared directory.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/tnfsd-|version|/COPYING for license information.
+
+AUTHORS
+=======
+
+tnfsd was written by Dylan Smith.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+**tnfs-fuse**\(1), **fujinet-pc**\(1)
+
+/usr/doc/tnfsd-|version|/tnfs-protocol.md
diff --git a/network/tnftp/tnftp.SlackBuild b/network/tnftp/tnftp.SlackBuild
index 6c1dac60e8..58b3004221 100644
--- a/network/tnftp/tnftp.SlackBuild
+++ b/network/tnftp/tnftp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tnftp
@@ -21,8 +21,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+# 20230912 bkw: update for v20230507.
+# 20210926 bkw: update for v20210827.
# 20201024 bkw: update for v20200705.
# 20180629 bkw:
# - Take over maintenance.
@@ -30,10 +32,13 @@
# - Build with optional SOCKS support if dante is installed.
# - Script simplification.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tnftp
-VERSION=${VERSION:-20200705}
+VERSION=${VERSION:-20230507}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +48,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,6 +122,7 @@ gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mv $PKG/usr/bin/$PRGNAM $PKG/usr/bin/$PRGNAM.ipv6
ln -s $PRGNAM.ipv6 $PKG/usr/bin/$PRGNAM
+ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.ipv6.1.gz
# 2nd build, with socks but no ipv6, if dante is installed and
# the user hasn't set SOCKS=no. Only the binary needs to be
@@ -123,6 +133,7 @@ if [ "${SOCKS:-yes}" = "yes" -a -e /usr/include/socks.h ]; then
runconfig --disable-ipv6 --with-socks
make
install -s src/$PRGNAM $PKG/usr/bin/$PRGNAM.socks
+ ln -s $PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.socks.1.gz
else
WITHSOCKS="without"
fi
@@ -135,4 +146,4 @@ mkdir -p $PKG/install
sed "s,@WITHSOCKS@,$WITHSOCKS," $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tnftp/tnftp.info b/network/tnftp/tnftp.info
index 61ac2b566b..0057348131 100644
--- a/network/tnftp/tnftp.info
+++ b/network/tnftp/tnftp.info
@@ -1,10 +1,10 @@
PRGNAM="tnftp"
-VERSION="20200705"
-HOMEPAGE="ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp"
-DOWNLOAD="ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/tnftp-20200705.tar.gz"
-MD5SUM="fc6a6bfa3d14005b3275b5508c47b8e9"
+VERSION="20230507"
+HOMEPAGE="https://ftp.netbsd.org/pub/NetBSD/misc/lukemftp"
+DOWNLOAD="https://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/tnftp-20230507.tar.gz"
+MD5SUM="c95e9a8f8808122c5d8ada43bd5db2c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/tntnet/doinst.sh b/network/tntnet/doinst.sh
index 6a3d11314c..8a616bc76c 100644
--- a/network/tntnet/doinst.sh
+++ b/network/tntnet/doinst.sh
@@ -11,17 +11,4 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-config etc/tntnet/mime.conf.new
-config etc/tntnet/tntnet.conf.new
-preserve_perms etc/rc.d/rc.tntnet.new
+config etc/tntnet/tntnet.xml.new
diff --git a/network/tntnet/tntnet.SlackBuild b/network/tntnet/tntnet.SlackBuild
index ea6d7f1d7d..6d3f05a714 100644
--- a/network/tntnet/tntnet.SlackBuild
+++ b/network/tntnet/tntnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tntnet
@@ -21,26 +21,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tntnet
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-3.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,10 +95,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mv $PKG/etc/$PRGNAM/$PRGNAM.xml{,.new}
sed -i "s|www-data|apache|" $PKG/etc/$PRGNAM/$PRGNAM.xml.new
-install -m 0755 -D $PKG/etc/init.d/$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-rm -fr $PKG/etc/init.d
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -98,7 +108,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+ AUTHORS ChangeLog COPYING INSTALL README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -107,4 +117,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tntnet/tntnet.info b/network/tntnet/tntnet.info
index d320231b69..6b2651354e 100644
--- a/network/tntnet/tntnet.info
+++ b/network/tntnet/tntnet.info
@@ -1,8 +1,8 @@
PRGNAM="tntnet"
-VERSION="2.2.1"
+VERSION="3.0"
HOMEPAGE="http://www.tntnet.org/"
-DOWNLOAD="http://www.tntnet.org/download/tntnet-2.2.1.tar.gz"
-MD5SUM="febe799675c1b8b2f7259bad30cf6f23"
+DOWNLOAD="http://www.tntnet.org/download/tntnet-3.0.tar.gz"
+MD5SUM="7119835c4cf978ab321e48ca10bbe421"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cxxtools"
diff --git a/network/tokodon/README b/network/tokodon/README
new file mode 100644
index 0000000000..d84bd1b3a3
--- /dev/null
+++ b/network/tokodon/README
@@ -0,0 +1,8 @@
+tokodon (Mastodon client for Plasma and Plasma Mobile)
+
+A modern client for Mastodon and other decentralized servers that
+implement its API (such as Pixelfed).
+
+NOTE: This is the latest supported version for Slackware 15.0 unless
+libraries/kirigami-addons can be updated, which requires Plasma
+Framework in Slackware to be updated to 5.91 or higher.
diff --git a/network/tokodon/doinst.sh b/network/tokodon/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/tokodon/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/tokodon/slack-desc b/network/tokodon/slack-desc
new file mode 100644
index 0000000000..18a81c984d
--- /dev/null
+++ b/network/tokodon/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tokodon: tokodon (Mastodon client for Plasma and Plasma Mobile)
+tokodon:
+tokodon: A modern client for Mastodon and other decentralized servers that
+tokodon: implement its API (such as Pixelfed).
+tokodon:
+tokodon: HOMEPAGE: https://github.com/KDE/tokodon
+tokodon:
+tokodon:
+tokodon:
+tokodon:
+tokodon:
diff --git a/network/tokodon/tokodon.SlackBuild b/network/tokodon/tokodon.SlackBuild
new file mode 100644
index 0000000000..4de5ded079
--- /dev/null
+++ b/network/tokodon/tokodon.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for tokodon
+
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tokodon
+VERSION=${VERSION:-22.09}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+#
+sed -i 's|KWindowSystem::updateStartupId(view);|view->show();|' src/main.cpp
+sed -i 's|KWindowSystem::activateWindow(view)|view->raise();|' src/main.cpp
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=${LIBDIRSUFFIX} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tokodon/tokodon.info b/network/tokodon/tokodon.info
new file mode 100644
index 0000000000..036bc82274
--- /dev/null
+++ b/network/tokodon/tokodon.info
@@ -0,0 +1,10 @@
+PRGNAM="tokodon"
+VERSION="22.09"
+HOMEPAGE="https://github.com/KDE/tokodon"
+DOWNLOAD="https://github.com/KDE/tokodon/archive/refs/tags/v22.09/tokodon-22.09.tar.gz"
+MD5SUM="71c1826bb9a6d0c5f042d46613c1f594"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="kirigami-addons"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/network/toot/README b/network/toot/README
new file mode 100644
index 0000000000..43f98fab03
--- /dev/null
+++ b/network/toot/README
@@ -0,0 +1 @@
+Toot is a python-based command line and TUI client for Mastodon servers.
diff --git a/network/toot/slack-desc b/network/toot/slack-desc
new file mode 100644
index 0000000000..adcd81fc00
--- /dev/null
+++ b/network/toot/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+toot: toot (a Mastodon CLI client)
+toot:
+toot: Toot is a CLI and TUI tool for interacting with Mastodon instances
+toot: from the command line.
+toot:
+toot:
+toot:
+toot:
+toot:
+toot:
+toot:
diff --git a/network/toot/toot.SlackBuild b/network/toot/toot.SlackBuild
new file mode 100644
index 0000000000..9d054974c0
--- /dev/null
+++ b/network/toot/toot.SlackBuild
@@ -0,0 +1,72 @@
+#!/bin/bash
+
+# Slackware build script for toot
+
+# Copyright 2022-2024, Kevin Bryant <sultmhoor+SB@gmail.com>, Michigan, US
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=toot
+VERSION=${VERSION:-0.41.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=${ARCH:-noarch}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT $PKG/usr/man
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+rm -rf $PKG/usr/man
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/toot/toot.info b/network/toot/toot.info
new file mode 100644
index 0000000000..3f62da853f
--- /dev/null
+++ b/network/toot/toot.info
@@ -0,0 +1,10 @@
+PRGNAM="toot"
+VERSION="0.41.1"
+HOMEPAGE="https://github.com/ihabunek/toot"
+DOWNLOAD="https://github.com/ihabunek/toot/releases/download/0.41.1/toot-0.41.1.tar.gz"
+MD5SUM="a6dfd7c8e5bb78571049be71d4eb5445"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="BeautifulSoup4 python3-wcwidth python-urwid python3-tomlkit"
+MAINTAINER="Kevin Bryant"
+EMAIL="sultmhoor+SB@gmail.com"
diff --git a/network/tor-browser/README b/network/tor-browser/README
index 76b4b72012..ca607830de 100644
--- a/network/tor-browser/README
+++ b/network/tor-browser/README
@@ -3,9 +3,4 @@ without needing to install any software.
It can run off a USB flash drive, comes with a pre-configured web
browser to protect your anonymity, and is self-contained.
-By default, this package will build en-US version.
-If you want to build other language, eg. France, download the
-appropriate source and run :
-PRGLANG=fr ./tor-browser.SlackBuild
-
-Tor Browser 9.x is based on Firefox 68.2-ESR Release
+Tor Browser 13.x is based on Firefox 115.6-ESR Release
diff --git a/network/tor-browser/tor-browser.SlackBuild b/network/tor-browser/tor-browser.SlackBuild
index d03c7f39b9..66004f1b3c 100644
--- a/network/tor-browser/tor-browser.SlackBuild
+++ b/network/tor-browser/tor-browser.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tor-browser
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,31 +22,32 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tor-browser
-VERSION=${VERSION:-10.0.12}
-PRGLANG=${PRGLANG:-en-US}
+VERSION=${VERSION:-13.0.14}
+PRGLANG=${PRGLANG:-ALL}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i586 ;;
+ i?86) ARCH=i686 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
- SRCARCH=64
-else
- SRCARCH=32
-fi
-
set -e
rm -rf $PKG
@@ -60,11 +61,11 @@ install -m 0755 $CWD/tor-browser.sh $PKG/usr/bin/tor-browser
sed -i "s/REPL_NAME/$PRGNAM/g" $PKG/usr/bin/tor-browser
sed -i "s/REPL_VERSION/$VERSION/g" $PKG/usr/bin/tor-browser
-sed -i "s/REPL_LANGUAGE/${PRGLANG}/g" $PKG/usr/bin/tor-browser
+sed -i "s/ARCH/$ARCH/g" $PKG/usr/bin/tor-browser
# We have to copy the original source into the package
mkdir -p $PKG/opt/$PRGNAM
-install -m 0644 $CWD/${PRGNAM}-linux${SRCARCH}-${VERSION}_${PRGLANG}.tar.xz $PKG/opt/$PRGNAM
+install -m 0644 $CWD/${PRGNAM}-linux-${ARCH}-${VERSION}.tar.xz $PKG/opt/$PRGNAM
mkdir -p $PKG/usr/share/pixmaps
install -m 0644 $CWD/mozicon128.png $PKG/usr/share/pixmaps/tor-browser.png
@@ -80,4 +81,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tor-browser/tor-browser.info b/network/tor-browser/tor-browser.info
index 619f92da6e..ff2a8b2cc8 100644
--- a/network/tor-browser/tor-browser.info
+++ b/network/tor-browser/tor-browser.info
@@ -1,10 +1,10 @@
PRGNAM="tor-browser"
-VERSION="10.0.12"
+VERSION="13.0.14"
HOMEPAGE="https://www.torproject.org"
-DOWNLOAD="https://dist.torproject.org/torbrowser/10.0.12/tor-browser-linux32-10.0.12_en-US.tar.xz"
-MD5SUM="96efc9440ab47b0d823b98b0f49c5f8d"
-DOWNLOAD_x86_64="https://dist.torproject.org/torbrowser/10.0.12/tor-browser-linux64-10.0.12_en-US.tar.xz"
-MD5SUM_x86_64="ca7aa8de50fc811554bf3de48e9e4924"
+DOWNLOAD="https://dist.torproject.org/torbrowser/13.0.14/tor-browser-linux-i686-13.0.14.tar.xz"
+MD5SUM="71433c289914ae1b155751a63a29a1d5"
+DOWNLOAD_x86_64="https://www.torproject.org/dist/torbrowser/13.0.14/tor-browser-linux-x86_64-13.0.14.tar.xz"
+MD5SUM_x86_64="8d42e9e03a4684b3dd7aef39bb22a20c"
REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/tor-browser/tor-browser.sh b/network/tor-browser/tor-browser.sh
index 5986909059..10f9fad0dd 100644
--- a/network/tor-browser/tor-browser.sh
+++ b/network/tor-browser/tor-browser.sh
@@ -24,9 +24,7 @@ set -e
# filled by the SLACKBUILD
NAME='REPL_NAME'
VERSION='REPL_VERSION'
-LANGUAGE="REPL_LANGUAGE"
-
-ARCH=$(getconf LONG_BIT)
+ARCH='ARCH'
notify() {
local title="$1"
@@ -46,7 +44,7 @@ notify() {
update() {
echo "$0: Extracting files to $INSTALL_DIRECTORY." >> $LOG_FILE
rm -rf $INSTALL_DIRECTORY/*
- tar --strip-components=1 -xJf /opt/$NAME/tor-browser-linux${ARCH}-${VERSION}_${LANGUAGE}.tar.xz \
+ tar --strip-components=1 -xJf /opt/$NAME/tor-browser-linux-${ARCH}-${VERSION}.tar.xz \
-C $INSTALL_DIRECTORY >> $LOG_FILE 2>&1 || notify "Error" \
"The tor-browser archive could not be extracted to your home directory. \
\nCheck permissions of $INSTALL_DIRECTORY. \
diff --git a/network/tor/README b/network/tor/README
index 425c746d6f..69be208d9c 100644
--- a/network/tor/README
+++ b/network/tor/README
@@ -30,7 +30,6 @@ torsocks is an optional dependency. See README.SLACKWARE for more
information.
optional dependencies:
-- zstd for better compression ratios.
- nacl may provide faster performance on 32-bit systems.
Take a look at README.SLACKWARE for important notes and read also very
diff --git a/network/tor/rc.tor b/network/tor/rc.tor
index 11daf8a95a..53ab0ed110 100644
--- a/network/tor/rc.tor
+++ b/network/tor/rc.tor
@@ -34,6 +34,8 @@ else
fi
tor_start() {
+ mkdir -p /var/run/tor
+ chown tor.tor /var/run/tor
if [ -n "$MAX_FILEDESCRIPTORS" ]; then
echo -n "Raising maximum number of filedescriptors (ulimit -n) to $MAX_FILEDESCRIPTORS"
if ulimit -n "$MAX_FILEDESCRIPTORS" ; then
diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild
index 20a1f978dc..156451c169 100644
--- a/network/tor/tor.SlackBuild
+++ b/network/tor/tor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for tor
#
@@ -26,10 +26,13 @@
# Updated by Fernando Lopez Jr. fernando.lopezjr@gmail.com
# Updated by Markus Reichelt slackbuilds@mareichelt.de
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tor
-VERSION=${VERSION:-0.4.5.6}
+VERSION=${VERSION:-0.4.8.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Select tor's default user/group
TOR_USER=${TOR_USER:-tor}
@@ -45,7 +48,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -129,7 +139,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/spec
-cp -a ChangeLog INSTALL LICENSE README ReleaseNotes \
+cp -a ChangeLog INSTALL LICENSE README.md ReleaseNotes \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -139,4 +149,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tor/tor.info b/network/tor/tor.info
index 5729b62251..837fc16dce 100644
--- a/network/tor/tor.info
+++ b/network/tor/tor.info
@@ -1,10 +1,10 @@
PRGNAM="tor"
-VERSION="0.4.5.6"
+VERSION="0.4.8.7"
HOMEPAGE="https://www.torproject.org/"
-DOWNLOAD="https://dist.torproject.org/tor-0.4.5.6.tar.gz"
-MD5SUM="22a04ef62c714b7d9d8928ebe238e4c4"
+DOWNLOAD="https://dist.torproject.org/tor-0.4.8.7.tar.gz"
+MD5SUM="ce259834ed76e3e65a25438cc42b6281"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
+MAINTAINER="MDrights"
+EMAIL="psychi2009@gmail.com"
diff --git a/network/tornado/tornado.SlackBuild b/network/tornado/tornado.SlackBuild
index c0674de47a..236c89d74e 100644
--- a/network/tornado/tornado.SlackBuild
+++ b/network/tornado/tornado.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Tornado
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tornado
VERSION=${VERSION:-5.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tornado/tornado.info b/network/tornado/tornado.info
index c43e7254fe..b8432da1e4 100644
--- a/network/tornado/tornado.info
+++ b/network/tornado/tornado.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v5.1.1/tornado-5.1.1.tar
MD5SUM="44ca12963dccbc11a97aa0cc92e9bb93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="backports-abc python-certifi futures singledispatch"
+REQUIRES="backports-abc singledispatch"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
diff --git a/network/torsocks/torsocks.SlackBuild b/network/torsocks/torsocks.SlackBuild
index e3e38ad8a1..bbb95eb27b 100644
--- a/network/torsocks/torsocks.SlackBuild
+++ b/network/torsocks/torsocks.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for torsocks
# Written by Vincent Batts, vbatts@hashbangbash.com
+# 20240331 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - get generic GNU INSTALL file out of doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=torsocks
VERSION=${VERSION:-2.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -47,9 +57,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
# Fix a hardcoded lib path.
sed -i -e 's|@prefix@/lib|@libdir@|' src/Makefile.am
@@ -80,7 +90,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog INSTALL LICENSE README.md gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog LICENSE README.md gpl-2.0.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -88,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/torsocks/torsocks.info b/network/torsocks/torsocks.info
index e7f8206bd4..9fcc61149f 100644
--- a/network/torsocks/torsocks.info
+++ b/network/torsocks/torsocks.info
@@ -1,7 +1,7 @@
PRGNAM="torsocks"
VERSION="2.3.0"
HOMEPAGE="https://gitweb.torproject.org/torsocks.git"
-DOWNLOAD="https://github.com/dgoulet/torsocks/archive/v2.3.0.tar.gz"
+DOWNLOAD="https://github.com/dgoulet/torsocks/archive/v2.3.0/torsocks-2.3.0.tar.gz"
MD5SUM="df9a10bc13cbdce04e799c56671fcba5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/toxcore/README b/network/toxcore/README
index 04c079aee5..12a1970334 100644
--- a/network/toxcore/README
+++ b/network/toxcore/README
@@ -1,9 +1,11 @@
-Tox is a free (as in liberty and price) peer to peer, distributed, multimedia
-messenger. Tox can provide a superior instant messaging experience than current
-market offerings by using existing technologies such as dispersed networking
-and strong cryptography. Files can be shared as fast as you and your partner's
-Internet connection allows, audio calls are instantaneous, and there are no
-arbitrary limits to how many people you can have in a group conversation.
+Tox is a free (as in liberty and price) peer to peer, distributed,
+multimedia messenger. Tox can provide a superior instant
+messaging experience than current market offerings by using
+existing technologies such as dispersed networking and strong
+cryptography. Files can be shared as fast as you and your partner's
+Internet connection allows, audio calls are instantaneous, and there
+are no arbitrary limits to how many people you can have in a group
+conversation.
Additional libconfig dependency is needed for tox-bootstrapd daemon,
together with:
diff --git a/network/toxcore/toxcore.SlackBuild b/network/toxcore/toxcore.SlackBuild
index 33769a32d5..25c2b7e803 100644
--- a/network/toxcore/toxcore.SlackBuild
+++ b/network/toxcore/toxcore.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for toxcore
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=toxcore
VERSION=${VERSION:-20160928_dcf2aaa}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DAEMON=${DAEMON:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -109,8 +119,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL.md README.md docs $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/toxcore/toxcore.info b/network/toxcore/toxcore.info
index ab5c56f264..080d52107a 100644
--- a/network/toxcore/toxcore.info
+++ b/network/toxcore/toxcore.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://mirror.slackware.hr/sources/toxcore/toxcore-20160928_dcf2aaa.ta
MD5SUM="16b52c159cff280af101240fabaaa21b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libsodium opus"
+REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/network/transgui/dup-obj-status.patch b/network/transgui/dup-obj-status.patch
new file mode 100644
index 0000000000..04967efd01
--- /dev/null
+++ b/network/transgui/dup-obj-status.patch
@@ -0,0 +1,49 @@
+From 8d63a310cbdc99ff8d565e2429c0740a8be5c3cb Mon Sep 17 00:00:00 2001
+From: Kuzz <Kuzz@ThinkPad.localdomain>
+Date: Wed, 29 Jul 2020 21:24:21 +0300
+Subject: [PATCH] Deduplicate RequestInfo params. #1325
+
+---
+ rpc.pas | 17 ++++++++++++++---
+ 1 file changed, 14 insertions(+), 3 deletions(-)
+
+diff --git a/rpc.pas b/rpc.pas
+index 2cbfeee0..7f9254c8 100644
+--- a/rpc.pas
++++ b/rpc.pas
+@@ -816,21 +816,32 @@ function TRpc.RequestInfo(TorrentId: integer; const Fields: array of const; cons
+ req, args: TJSONObject;
+ _fields: TJSONArray;
+ i: integer;
++ sl: TStringList;
+ begin
+ Result:=nil;
+ req:=TJSONObject.Create;
++ sl:=TStringList.Create;
+ try
+ req.Add('method', 'torrent-get');
+ args:=TJSONObject.Create;
+ if TorrentId <> 0 then
+ args.Add('ids', TJSONArray.Create([TorrentId]));
+- _fields:=TJSONArray.Create(Fields);
+- for i:=Low(ExtraFields) to High(ExtraFields) do
+- _fields.Add(ExtraFields[i]);
++ _fields:=TJSONArray.Create;
++ for i:=Low(Fields) to High(Fields) do
++ if (Fields[i].VType=vtAnsiString) then
++ sl.Add(String(Fields[i].VAnsiString));
++ sl.AddStrings(ExtraFields);
++ sl.Sort;
++ for i:=sl.Count-2 downto 0 do
++ if (sl[i]=sl[i+1]) then
++ sl.Delete(i+1);
++ for i:=0 to sl.Count-1 do
++ _fields.Add(sl[i]);
+ args.Add('fields', _fields);
+ req.Add('arguments', args);
+ Result:=SendRequest(req);
+ finally
++ sl.Free;
+ req.Free;
+ end;
+ end;
diff --git a/network/transgui/transgui.SlackBuild b/network/transgui/transgui.SlackBuild
index 14885b94dd..ca7ad023fc 100644
--- a/network/transgui/transgui.SlackBuild
+++ b/network/transgui/transgui.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for transgui
-# Copyright 2016-2019 Jeremy Brent Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2016-2023 Jeremy Brent Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=transgui
VERSION=${VERSION:-5.18.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +79,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix "Duplicate object member: status" error
+# Thanks to Ku33ma
+# https://github.com/transmission-remote-gui/transgui/pull/1329
+patch -p1 < $CWD/dup-obj-status.patch
+
# Build transgui
lazbuild "transgui.lpi" --lazarusdir=/usr/share/lazarus --widgetset=gtk2
@@ -97,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/translate-shell/README b/network/translate-shell/README
index 0f422b9d78..9b0307ae35 100644
--- a/network/translate-shell/README
+++ b/network/translate-shell/README
@@ -12,4 +12,4 @@ Recommended Dependencies:
for readline-style editing and history in the interactive shell
Recommended Fonts:
- * https://github.com/soimort/translate-shell/wiki/Writing-Systems-and-Fonts#unicode-fonts
+https://github.com/soimort/translate-shell/wiki/Writing-Systems-and-Fonts#unicode-fonts
diff --git a/network/translate-shell/translate-shell.SlackBuild b/network/translate-shell/translate-shell.SlackBuild
index dfc622e051..47817dea45 100644
--- a/network/translate-shell/translate-shell.SlackBuild
+++ b/network/translate-shell/translate-shell.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for translate-shell
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=translate-shell
VERSION=${VERSION:-0.9.6.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/translate/translate.SlackBuild b/network/translate/translate.SlackBuild
index 5d68e006ca..efdb7d28e1 100644
--- a/network/translate/translate.SlackBuild
+++ b/network/translate/translate.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for translate
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=translate
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/translate/translate.info b/network/translate/translate.info
index ccf165e509..a4e09be129 100644
--- a/network/translate/translate.info
+++ b/network/translate/translate.info
@@ -1,10 +1,10 @@
PRGNAM="translate"
-VERSION="2.0.0"
+VERSION="3.6.1"
HOMEPAGE="https://github.com/terryyin/google-translate-python"
-DOWNLOAD="https://pypi.python.org/packages/source/t/translate/translate-2.0.0.tar.gz"
-MD5SUM="587508223d5baa7aaae8161dd3d26b8f"
+DOWNLOAD="https://files.pythonhosted.org/packages/d1/9d/692066b9e26176a93ce627bf467bca48f198eb0e036337a5180d566c9561/translate-3.6.1.tar.gz"
+MD5SUM="3ebcafb25c270e785c5f18580c4ad0c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-libretranslatepy python3-lxml click"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/transmission-qt4/README b/network/transmission-qt4/README
deleted file mode 100644
index 2fdfaa20f7..0000000000
--- a/network/transmission-qt4/README
+++ /dev/null
@@ -1,10 +0,0 @@
-transmission-qt4 (bittorrent client)
-
-Transmission is a lightweight open source BitTorrent client, providing
-useful functionality without feature bloat. It consists of a daemon, a
-GTK+, Qt and CLI client.
-
-This is an older release of transmission, and only the Qt4 client is
-provided. For the rest of the components (the GTK+ client, the daemon,
-and the command-line client), install the main transmission package.
-It's safe to install both transmission and transmission-qt4.
diff --git a/network/transmission-qt4/doinst.sh b/network/transmission-qt4/doinst.sh
deleted file mode 100644
index 19ad22754d..0000000000
--- a/network/transmission-qt4/doinst.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/transmission-qt4/slack-desc b/network/transmission-qt4/slack-desc
deleted file mode 100644
index 5dca7159e2..0000000000
--- a/network/transmission-qt4/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-transmission-qt4: transmission-qt4 (bittorrent client)
-transmission-qt4:
-transmission-qt4: Transmission is a lightweight open source BitTorrent client,
-transmission-qt4: providing useful functionality without feature bloat.
-transmission-qt4: It consists of a daemon, a GTK+, Qt and CLI client.
-transmission-qt4:
-transmission-qt4: This is an older release of transmission. Only the Qt4 client is
-transmission-qt4: provided.
-transmission-qt4:
-transmission-qt4: Homepage: http://transmissionbt.com/
-transmission-qt4:
diff --git a/network/transmission-qt4/transmission-qt4.SlackBuild b/network/transmission-qt4/transmission-qt4.SlackBuild
deleted file mode 100644
index 0fe8bab7ba..0000000000
--- a/network/transmission-qt4/transmission-qt4.SlackBuild
+++ /dev/null
@@ -1,147 +0,0 @@
-#!/bin/sh
-# Slackware build script for transmission
-
-# Copyright 2007 Vasilis Papavasileiou <email removed>
-# Copyright 2008-2011 Iskar Enev <email removed>
-# Copyright 2011-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2015 B. Watson <yalhcru@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# 20200525 bkw: new build, forked from the previous
-# transmission.SlackBuild. This will go away when Slack 15 releases.
-
-PRGNAM=transmission-qt4
-VERSION=${VERSION:-2.94}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=transmission
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-DOCS="AUTHORS COPYING INSTALL NEWS README"
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-mkdir -p $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
-cd $SRCNAM-$VERSION
-chown -R root:root .
-
-sed -i -e 's%-g -O3 -funroll-loops %%g' configure.ac
-sed -i -e 's%-ggdb3 %%g' configure.ac
-
-# fix for -current (does no harm on stable). ref:
-# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13b5e88c6e9c7bd2698d844cb5ed127ed809f7e
-rm -f m4/glib-gettext.m4
-
-# Thanks Larry Hajali
-autoreconf -ivf
-
-CC=gcc CXX=g++ \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --disable-static \
- --verbose \
- --with-gtk=no \
- --disable-cli \
- --disable-daemon \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
-
-# build libraries (but don't install them). this also wastefully builds
-# the tools, which we aren't going to install.
-make
-
-# build and install the Qt client
-# Fix hard-coded path of man file of Qt client
-sed -i "s|share/man/|man/|" qt/qtr.pro
-
-# Needed when using Qt4
-# https://trac.transmissionbt.com/ticket/5700#comment:2
-echo "QMAKE_CXXFLAGS += -std=c++11" >> qt/qtr.pro
-
-cd qt
- qmake \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- qtr.pro
- sed -i -e 's% -g % %g' Makefile
- make
-
- make install \
- INSTALL_ROOT=$PKG/usr \
- INSTALL_PROGRAM="install -m0755 -p -s"
- gzip -9 $PKG/usr/man/man1/*.1
-
- mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
-
- # thanks to b1101 for catching this:
- sed -i '/^Icon/s|transmission$|&-qt|' transmission-qt.desktop
-
- install -m644 transmission-qt.desktop $PKG/usr/share/applications/transmission-qt.desktop
- install -m644 icons/transmission.png $PKG/usr/share/pixmaps/transmission-qt.png
-cd -
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/transmission-qt4/transmission-qt4.info b/network/transmission-qt4/transmission-qt4.info
deleted file mode 100644
index 9d175a2bcc..0000000000
--- a/network/transmission-qt4/transmission-qt4.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="transmission-qt4"
-VERSION="2.94"
-HOMEPAGE="http://www.transmissionbt.com/"
-DOWNLOAD="https://github.com/transmission/transmission-releases/raw/master/transmission-2.94.tar.xz"
-MD5SUM="c92829294edfa391c046407eeb16358a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/network/transmission-remote-gtk/README b/network/transmission-remote-gtk/README
index c47f4be41c..f780e8205b 100644
--- a/network/transmission-remote-gtk/README
+++ b/network/transmission-remote-gtk/README
@@ -1,10 +1,11 @@
transmission-remote-gtk (transmission remote control GUI)
transmission-remote-gtk is a cross-platform application for remote
-management of the Transmission BitTorrent client using its RPC interface.
+management of the Transmission BitTorrent client using its RPC
+interface.
- * Remotely add (file/url), start, stop, remove, remove & delete, verify,
- reannounce torrents.
+ * Remotely add (file/url), start, stop, remove, remove & delete,
+ verify, reannounce torrents.
* Works as a .torrent handler (eg. from a web browser).
* Set torrent properties such as speed, seed, peer limits, file
priorities, add/edit/remove trackers.
@@ -15,8 +16,6 @@ management of the Transmission BitTorrent client using its RPC interface.
Optional dependencies, detected at compile time:
GeoIP - used to display country flags next to IP addresses.
-libappindicator3 - used for integration with KDE's taskbar.
-libmrss - used for built-in RSS reader.
-If you want to build without libnotify (desktop notifications) support,
-set NOTIFY=no in the script's environment.
+If you want to build without libappindicator (systray and
+notification) support, set NOTIFY=no in the script's environment.
diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
index 4daa00e722..738a1af006 100644
--- a/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
+++ b/network/transmission-remote-gtk/transmission-remote-gtk.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for transmission-remote-gtk
# Copyright 2012-2016 Chris Walker Copperas Cove, TX
-# Copyright 2020 B. Watson <yalhcru@gmail.com>
+# Copyright 2020-2023 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -32,6 +32,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230713 bkw: update for v1.6.0.
+# - new hard dep libsoup3.
+# - no more optional mrss dep (upstream dropped the RSS reader).
+
+# 20220623 bkw: update for v1.5.1.
+# 20210926 bkw: BUILD=2, make NOTIFY=no also disable libappindicator.
# 20200526 bkw:
# - take over maintenance
# - update for v1.4.1
@@ -43,26 +49,33 @@
# no longer accurate (several more added) and I can't be bothered
# to keep it up-to-date.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=transmission-remote-gtk
-VERSION=${VERSION:-1.4.1}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -87,31 +100,43 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-[ "${NOTIFY:-yes}" = "no" ] && NOTIFYOPT="--without-libnotify"
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $NOTIFYOPT \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
+# 20230713 bkw: mangle the meson.build so it works with Slackware
+# 15.0's meson-0.59.x. Eventually this will become difficult or
+# impossible, hopefully by then we have a new Slackware release with a
+# new enough meson.
+sed -i -e '/meson_version:/s,0.60.0,0.59.0,' \
+ -e "s/'ayatana-appindicator3-0.1', //" \
+ meson.build
+
+[ "${NOTIFY:-yes}" = "no" ] && NOTIFYOPT="-Dlibappindicator=disabled"
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ $NOTIFYOPT \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
-make V=1
-make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
# 20200526 bkw: lots of optional deps, let the slack-desc keep track of them
-ldd $PKG/usr/bin/$PRGNAM > ldd.tmp
-for i in libnotify libappindicator3 libmrss GeoIP; do
+objdump -p $PKG/usr/bin/$PRGNAM | grep NEEDED > ldd.tmp
+for i in libappindicator GeoIP; do
opts+="$i:"
grep -q $i ldd.tmp && opts+="yes " || opts+="no "
done
-# 20200526 bkw: this doesn't belong in a package
-rm -f $PKG/usr/share/applications/mimeinfo.cache
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -121,4 +146,4 @@ sed "s,@opts@,$opts," $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/transmission-remote-gtk/transmission-remote-gtk.info b/network/transmission-remote-gtk/transmission-remote-gtk.info
index 0a7fb4be88..86a5bc7dfb 100644
--- a/network/transmission-remote-gtk/transmission-remote-gtk.info
+++ b/network/transmission-remote-gtk/transmission-remote-gtk.info
@@ -1,10 +1,10 @@
PRGNAM="transmission-remote-gtk"
-VERSION="1.4.1"
+VERSION="1.6.0"
HOMEPAGE="https://github.com/transmission-remote-gtk/transmission-remote-gtk/"
-DOWNLOAD="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/1.4.1/transmission-remote-gtk-1.4.1.tar.xz"
-MD5SUM="5955f2d80e51c14fa6bf137c9c2bac74"
+DOWNLOAD="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/1.6.0/transmission-remote-gtk-1.6.0.tar.xz"
+MD5SUM="cd284fab5d3919e11f3d0415d7b75078"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="transmission json-glib"
+REQUIRES="transmission libsoup3"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/transmission/README b/network/transmission/README
index 6b73e94c74..9c54e443bf 100644
--- a/network/transmission/README
+++ b/network/transmission/README
@@ -1,20 +1,17 @@
transmission (bittorrent client)
Transmission is a lightweight open source BitTorrent client, providing
-useful functionality without feature bloat. It consists of a daemon, a
-GTK+ client, and CLI client [*].
+useful functionality without feature bloat. It consists of a daemon
+and GTK+, Qt, and CLI clients.
-By default, all 3 components are built. Specific parts can be disabled
-by setting one or more environment variables:
+By default, everything but the Qt client is built. It can be enabled
+by exporting QT=yes in the environment. The other parts can be
+disabled by exporting one or more environment variables:
GTK=no
CLI=no
DAEMON=no
-At least one component must be enabled (so all 3 set to "no" won't work).
+Hint: if you use QT=yes, you probably also want GTK=no.
-[*] If you're wondering about the Qt client that was in the previous
- version of transmission: It's no longer possible to build on
- Slackware 14.2 as of transmission-3.0.0, due to outdated g++ and
- libstdc++. If you don't mind using an older version of transmission
- (2.94), you can install transmission-qt4 to get a Qt GUI.
+At least one component must be enabled (all 4 set to "no" won't work).
diff --git a/network/transmission/slack-desc b/network/transmission/slack-desc
index b6a5284dc1..30f5ac84ba 100644
--- a/network/transmission/slack-desc
+++ b/network/transmission/slack-desc
@@ -10,10 +10,10 @@ transmission: transmission (bittorrent client)
transmission:
transmission: Transmission is a lightweight open source BitTorrent client,
transmission: providing useful functionality without feature bloat.
-transmission: It consists of a daemon, a GTK+, Qt and CLI client.
+transmission: It consists of a daemon and GTK+, Qt, and CLI clients.
transmission:
transmission: This package built with options:
transmission: @opts@
transmission:
-transmission: Homepage: http://transmissionbt.com/
+transmission: Homepage: https://transmissionbt.com/
transmission:
diff --git a/network/transmission/transmission.SlackBuild b/network/transmission/transmission.SlackBuild
index e29bb915e2..5ccebeb9b7 100644
--- a/network/transmission/transmission.SlackBuild
+++ b/network/transmission/transmission.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for transmission
# Copyright 2007 Vasilis Papavasileiou <email removed>
# Copyright 2008-2011 Iskar Enev <email removed>
# Copyright 2011-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2015 B. Watson <yalhcru@gmail.com>
+# Copyright 2015 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,6 +24,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231219 bkw: update for v4.0.5, minor man page tweaks.
+# 20230912 bkw: update for v4.0.4.
+# 20230510 bkw: update for v4.0.3. remove the warning about D-Bus from README,
+# it no longer applies (transmission-gtk works without it).
+# 20230320 bkw: update for v4.0.2. add -DREBUILD_WEB=OFF to allow building
+# without using the network, if nodejs is installed. thanks
+# to Ruben Schuller for pointing this out.
+# 20230208 bkw: update for v4.0.0, which has only been out for about 5 hours.
+# - Disable the qt5 UI by default. There's no reason to build both GUIs
+# by default. User can still say GTK=no QT=yes to get only the qt UI.
+# 20210926 bkw: BUILD=2, restore Qt5 build. 15.0 not yet released, but "soon".
# 20200525 bkw: update for v3.00.
# Drop Qt GUI and QT=yes, due to 14.2's old gcc/libstdc++.
# It will come back when 15.0 releases.
@@ -38,10 +49,13 @@
# transmission-qt, transmission-cli, and/or transmission-daemon.
# But disabling them all is no good.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=transmission
-VERSION=${VERSION:-3.00}
+VERSION=${VERSION:-4.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,13 +65,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS COPYING NEWS.md README.md"
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -74,42 +90,30 @@ fi
set -e
-# 20200525 bkw: I had to drop the Qt client, let's make sure the user
-# knows that.
-if [ "${QT:-no}" != "no" ]; then
- cat <<EOF 1>&2
-
-**********************************************************************
-The Qt GUI in this version of transmission can't be built on Slackware
-14.2. If you don't mind using an older version of transmission, you
-can install transmission-qt4 to get a Qt GUI.
-**********************************************************************
-
-EOF
- exit 1
-fi
-
GTK="${GTK:-yes}"
-#QT="${QT:-yes}"
+QT="${QT:-no}"
CLI="${CLI:-yes}"
DAEMON="${DAEMON:-yes}"
-if [ "$GTK" != "yes" -a "$CLI" != "yes" -a "$DAEMON" != "yes" ]; then
+if [ "$GTK" != "yes" -a "$CLI" != "yes" -a "$DAEMON" != "yes" -a "$QT" != "yes" ]; then
cat <<EOF 1>&2
******************************************************************
Can't build transmission with everything disabled, at least one of
-GTK CLI DAEMON must be 'yes'.
+GTK CLI QT DAEMON must be 'yes'.
******************************************************************
EOF
exit 1
fi
-# anything but lowercase "yes" is considered a no!
-[ "$GTK" != "yes" ] && GTKOPT="no" || GTKOPT="yes"
-[ "$CLI" != "yes" ] && CLIOPT="dis" || CLIOPT="en"
-[ "$DAEMON" != "yes" ] && DAEMOPT="dis" || DAEMOPT="en"
+# Anything but lowercase "yes" is considered a no!
+# cmake didn't used to be case-sensitive about on and off.
+# It feels like BDSM, and not in a good way.
+[ "$QT" != "yes" ] && QTOPT="OFF" || QTOPT="ON"
+[ "$GTK" != "yes" ] && GTKOPT="OFF" || GTKOPT="ON"
+[ "$CLI" != "yes" ] && CLIOPT="OFF" || CLIOPT="ON"
+[ "$DAEMON" != "yes" ] && DAEMOPT="OFF" || DAEMOPT="ON"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -122,77 +126,44 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-sed -i -e 's%-g -O3 -funroll-loops %%g' configure.ac
-sed -i -e 's%-ggdb3 %%g' configure.ac
-
-# fix for -current (does no harm on stable). ref:
-# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13b5e88c6e9c7bd2698d844cb5ed127ed809f7e
-rm -f m4/glib-gettext.m4
-
-# Thanks Larry Hajali
-autoreconf -ivf
-
-CC=gcc CXX=g++ \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --disable-static \
- --verbose \
- --with-gtk=$GTKOPT \
- --${CLIOPT}able-cli \
- --${DAEMOPT}able-daemon \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
-
-# Build daemon, GTK and cli client (unless disabled). This also builds
-# the tools (transmission-create and friends).
-make
-make install-strip DESTDIR=$PKG
-
-if false; then
-# As of 3.0.0, transmission-qt can't be built on Slackware 14.2.
-# Needs a newer g++ and libstdc++ than we have.
-# Left here for reference when 15.0 comes out.
-#if [ "$QT" = "yes" ]; then
-
- # build the Qt client (transmission-qt) unless disabled
- # Fix hard-coded path of man file of Qt client
- sed -i "s|share/man/|man/|" qt/qtr.pro
-
- # Needed when using Qt4
- # https://trac.transmissionbt.com/ticket/5700#comment:2
- echo "QMAKE_CXXFLAGS += -std=c++11" >> qt/qtr.pro
-
- cd $TMP/$PRGNAM-$VERSION/qt
- qmake-qt5 \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- qtr.pro
- sed -i -e 's% -g % %g' Makefile
- make
- INSTALL_ROOT=$PKG/usr make install
-
- mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps
- install -m644 transmission-qt.desktop $PKG/usr/share/applications/transmission-qt.desktop
- install -m644 icons/transmission.png $PKG/usr/share/pixmaps/transmission-qt.png
- cd -
-fi
+# 20231219 bkw: make the man pages slightly nicer looking: replace
+# 'BSD General Commands Manual' with 'SlackBuilds.org', and replace
+# the 'BSD' at the bottom with the version number.
+for i in $( find . -maxdepth 2 -name 'transmission*.1' ); do
+ sed -i -e '/^\.Os/d' \
+ -e '/^\.Dt/s,1 *$,\\\&1 "SlackBuilds.org",' \
+ -e '/^\.Dt/a.Os '$VERSION \
+ $i
+done
+
+mkdir -p build
+cd build
+ cmake \
+ -DREBUILD_WEB=OFF \
+ -DENABLE_DAEMON=$DAEMOPT \
+ -DENABLE_QT=$QTOPT \
+ -DENABLE_GTK=$GTKOPT \
+ -DENABLE_CLI=$CLIOPT \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
gzip -9 $PKG/usr/man/man?/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-#sed "s,@opts@,GTK=$GTK QT=$QT CLI=$CLI DAEMON=$DAEMON," $CWD/slack-desc > $PKG/install/slack-desc
-sed "s,@opts@,GTK=$GTK CLI=$CLI DAEMON=$DAEMON," $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@opts@,GTK=$GTK QT=$QT CLI=$CLI DAEMON=$DAEMON," \
+ $CWD/slack-desc \
+ > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/transmission/transmission.info b/network/transmission/transmission.info
index 7c8faf5cc6..89363cfcd1 100644
--- a/network/transmission/transmission.info
+++ b/network/transmission/transmission.info
@@ -1,10 +1,10 @@
PRGNAM="transmission"
-VERSION="3.00"
-HOMEPAGE="http://www.transmissionbt.com/"
-DOWNLOAD="https://github.com/transmission/transmission-releases/raw/master/transmission-3.00.tar.xz"
-MD5SUM="a23a32672b83c89b9b61e90408f53d98"
+VERSION="4.0.5"
+HOMEPAGE="https://www.transmissionbt.com/"
+DOWNLOAD="https://github.com/transmission/transmission/releases/download/4.0.5/transmission-4.0.5.tar.xz"
+MD5SUM="d3cda868215246644c429b18a30f7e47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/tribler/README b/network/tribler/README
deleted file mode 100644
index 3d6c901e68..0000000000
--- a/network/tribler/README
+++ /dev/null
@@ -1,12 +0,0 @@
-tribler (anonymous search engine, video streaming, bittorrent client)
-
-Tribler is a Bittorrent-based video streaming client. You can watch
-video files, while you are still downloading them. It relies on VLC
-for playback of videos. Tribler also includes fast keyword search and
-thumbnail-based navigation. Tribler does not require websites or any
-central server to find and watch interesting content.
-
-Without vlc installed, tribler is a fully functional torrent client
-and search engine. If you want to stream videos, you will need vlc
-installed. This is an optional runtime dependency; you don't need to
-rebuild tribler if you decide to install vlc later on.
diff --git a/network/tribler/doinst.sh b/network/tribler/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/tribler/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/tribler/git2tarxz.sh b/network/tribler/git2tarxz.sh
deleted file mode 100644
index a8cec7dc06..0000000000
--- a/network/tribler/git2tarxz.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# get git tag of of Tribler project release, turn into a src tarball.
-# needed because their source archive release is broken (it's
-# missing some of its own python libraries).
-
-PRGNAM=tribler
-VERSION=6.4.0
-
-GITURL="https://github.com/Tribler/tribler.git"
-
-OUTDIR=$PRGNAM-$VERSION
-TARBALL=$OUTDIR.tar.xz
-
-rm -rf $OUTDIR $TARBALL
-
-git clone --branch v$VERSION --recursive --depth 1 "$GITURL" $OUTDIR
-find $OUTDIR -name '.git*' -print0 | xargs -0 rm -rf
-
-# there is absolutely no reason to include a giant windows executable.
-rm -f $OUTDIR/ffmpeg.exe
-
-tar cvfJ $TARBALL $OUTDIR
-
-# a reminder to myself...
-md5sum $TARBALL
-echo "Don't forget to update the MD5SUM= line in the .info file"
diff --git a/network/tribler/slack-desc b/network/tribler/slack-desc
deleted file mode 100644
index 78da2bd272..0000000000
--- a/network/tribler/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-tribler: tribler (anonymous video streaming and bittorrent client)
-tribler:
-tribler: Tribler is a Bittorrent-based video streaming client. You can watch
-tribler: video files, while you are still downloading them. It relies on VLC
-tribler: for playback of videos. Tribler also includes fast keyword search
-tribler: and thumbnail-based navigation. Tribler does not require websites
-tribler: or any central server to find and watch interesting content.
-tribler:
-tribler:
-tribler:
-tribler:
diff --git a/network/tribler/squelch_dht_exceptions.diff b/network/tribler/squelch_dht_exceptions.diff
deleted file mode 100644
index fbc9dba39f..0000000000
--- a/network/tribler/squelch_dht_exceptions.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur tribler-6.4.0/Tribler/Core/Libtorrent/LibtorrentDownloadImpl.py tribler-6.4.0.patched/Tribler/Core/Libtorrent/LibtorrentDownloadImpl.py
---- tribler-6.4.0/Tribler/Core/Libtorrent/LibtorrentDownloadImpl.py 2014-12-21 02:24:05.000000000 -0500
-+++ tribler-6.4.0.patched/Tribler/Core/Libtorrent/LibtorrentDownloadImpl.py 2014-12-21 03:45:45.000000000 -0500
-@@ -845,7 +845,7 @@
- public = self.tdef and not isinstance(self.tdef, TorrentDefNoMetainfo) and not self.tdef.is_private()
-
- result = self.tracker_status.copy()
-- result['[DHT]'] = [dht_peers, 'Working' if ltsession.is_dht_running() and public else 'Disabled']
-+ result['[DHT]'] = [dht_peers, 'Working' if dht_peers > 0 else 'Not Working']
- result['[PeX]'] = [pex_peers, 'Working' if not self.get_anon_mode() else 'Disabled']
- return result
-
diff --git a/network/tribler/tribler.SlackBuild b/network/tribler/tribler.SlackBuild
deleted file mode 100644
index 3919ff1354..0000000000
--- a/network/tribler/tribler.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for tribler
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-# Notes:
-
-# The squelch_dht_exceptions patch is my own. I'm not a Python expert so if
-# you've got a better solution, please let me know.
-
-# Python dependency hell. Of the stuff in REQUIRES=, only gmpy could be
-# optional. However if it's not installed, the application complains about it,
-# and says upstream doesn't actually test their fallback code much.
-
-# I didn't list vlc as a required dep, because without vlc installed, tribler
-# is still a perfectly usable search engine and torrent client. Also vlc
-# can be installed later and will work (it's a runtime dep).
-
-# Don't be put off by the use of a tarball made from a git checkout. The
-# release zipfile on upstream's site is incomplete (is missing the dispersy/
-# subdirectory, for one thing). My source is from their v6.4.0 git tag, not
-# from HEAD. See git2tarxz.sh.
-
-PRGNAM=tribler
-VERSION=${VERSION:-6.4.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# This patch stops tribler from spewing 20 or so lines of stack trace
-# every second.
-patch -p1 < $CWD/squelch_dht_exceptions.diff
-
-B=Tribler/Main/Build
-mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications \
- $PKG/usr/man/man1 $PKG/usr/bin
-cat $B/Ubuntu/${PRGNAM}_big.xpm > $PKG/usr/share/pixmaps/$PRGNAM.xpm
-gzip -9c < $B/Ubuntu/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-
-# make .desktop file validate.
-sed \
- -e 's,Application;,,' \
- -e '/\(Categories\|MimeType\)/s,$,;,' \
- $B/Ubuntu/$PRGNAM.desktop \
- > $PKG/usr/share/applications/$PRGNAM.desktop
-
-# Upstream's wrapper script wants to redirect stdout to a temp file, and
-# never cleans them up. So /tmp would end up with lots of log files that
-# nobody cares about. I'm getting rid of the redirect, so it just goes
-# to stdout. Users who need the debug output can launch it from a terminal
-# like any other GUI application.
-sed 's, *>.*,,' debian/bin/$PRGNAM > $PKG/usr/bin/$PRGNAM
-chmod 755 $PKG/usr/bin/$PRGNAM
-
-# ditch this stuff, we don't need it in the installed package.
-rm -rf $B debian mac win
-
-# no compiling, pure python.
-mkdir -p $PKG/usr/share/$PRGNAM
-cp -a * $PKG/usr/share/$PRGNAM
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/tribler/tribler.info b/network/tribler/tribler.info
deleted file mode 100644
index a9f6fb0f92..0000000000
--- a/network/tribler/tribler.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="tribler"
-VERSION="6.4.0"
-HOMEPAGE="https://www.tribler.org/"
-DOWNLOAD="https://slackware.uk/~urchlay/src/tribler-6.4.0.tar.xz"
-MD5SUM="979de2e5a22a4c5f13d3e78c77a8bbb2"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxPython apsw python-twisted pyasn1 pycrypto python-requests netifaces gmpy libtorrent-rasterbar PyXML"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/trojita/trojita.SlackBuild b/network/trojita/trojita.SlackBuild
index 0b9f72d426..9a994c0c98 100644
--- a/network/trojita/trojita.SlackBuild
+++ b/network/trojita/trojita.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for trojita
# Written by Chris Farrell <timcowchip@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trojita
-VERSION=${VERSION:-0.7}
+VERSION=${VERSION:-20201106_b4f24d7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,6 +62,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Building with ragel 7 is broken ATM, see https://bugs.kde.org/show_bug.cgi?id=426061
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@@ -59,6 +70,7 @@ cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DWITH_RAGEL=OFF \
.
make VERBOSE=1
make install DESTDIR=$PKG
@@ -75,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/trojita/trojita.info b/network/trojita/trojita.info
index 20fda82343..79886cf2df 100644
--- a/network/trojita/trojita.info
+++ b/network/trojita/trojita.info
@@ -1,10 +1,10 @@
PRGNAM="trojita"
-VERSION="0.7"
+VERSION="20201106_b4f24d7"
HOMEPAGE="http://trojita.flaska.net/index.html"
-DOWNLOAD="http://downloads.sourceforge.net/trojita/trojita-0.7.tar.xz"
-MD5SUM="b2b5720be888ec6298a88798b113ad5f"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/trojita-20201106_b4f24d7.tar.xz"
+MD5SUM="a1c8978a37ebd817ce0f12a92994986a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit"
+REQUIRES=""
MAINTAINER="Chris Farrell"
EMAIL="timcowchip@gmail.com"
diff --git a/network/ttcp/README b/network/ttcp/README
index 6ae0c95767..1aff114242 100644
--- a/network/ttcp/README
+++ b/network/ttcp/README
@@ -1,9 +1,10 @@
-TTCP is a benchmarking tool for determining TCP and UDP performance
+TTCP is a benchmarking tool for determining TCP and UDP performance
between 2 systems.
The program was created at the US Army Ballistics Research Lab (BRL)
and is in the public domain. Feel free to distribute this program,
-but please do leave the credit notices in the source and man page intact.
+but please do leave the credit notices in the source and man page
+intact.
How to get TCP performance numbers:
receiver: host1 $ ttcp -r -s
diff --git a/network/ttcp/ttcp.SlackBuild b/network/ttcp/ttcp.SlackBuild
index a13b8ee084..998c98e370 100644
--- a/network/ttcp/ttcp.SlackBuild
+++ b/network/ttcp/ttcp.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ttcp
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ttcp
VERSION=${VERSION:-1.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,4 +81,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ttdnsd/README b/network/ttdnsd/README
index 2f24e6238c..cc9a454851 100644
--- a/network/ttdnsd/README
+++ b/network/ttdnsd/README
@@ -1,30 +1,35 @@
-ttdnsd accepts DNS requests via UDP and forwards the to a resolving nameserver
-via TCP. The actual requests are really just forwarded so one has complete
-access to the nameserver ttdnsd is talking to. -- It's not a very complicated
-process. If there are no problems with the setup it could go as smoothly as
-connecting to the 'net using a mobile broadband dongle.
+ttdnsd accepts DNS requests via UDP and forwards the to a resolving
+nameserver via TCP. The actual requests are really just forwarded so
+one has complete access to the nameserver ttdnsd is talking to.
-ttdnsd only connects to the resolving nameserver after receiving a request via
-UDP. For each connection ttdnsd randomly selects one of the nameservers it
-knows about. The connection will be used for forwarding multiple requests in a
-pipelined fashion and is kept open only until no more requests are received
-via UDP. This pipelining is required to overcome the initial connection
-overhead time which is quite long when using Tor.
+It's not a very complicated process. If there are no problems with the
+setup it could go as smoothly as connecting to the 'net using a mobile
+broadband dongle.
-To run this service at system startup, edit your rc.local and add this code:
+ttdnsd only connects to the resolving nameserver after receiving
+a request via UDP. For each connection ttdnsd randomly selects one
+of the nameservers it knows about. The connection will be used for
+forwarding multiple requests in a pipelined fashion and is kept open
+only until no more requests are received via UDP. This pipelining is
+required to overcome the initial connection overhead time which is
+quite long when using Tor.
+
+To run this service at system startup, edit your rc.local and add this
+code:
if [ -x /etc/rc.d/rc.ttdsnd ]; then
/etc/rc.d/rc.ttdsnd start
fi
-after the similar code used to start the Tor service. To stop the service add
-this to your rc.local_shutdown:
+...after the similar code used to start the Tor service. To stop the
+service add this to your rc.local_shutdown:
if [ -x /etc/rc.d/rc.ttdsnd ]; then
/etc/rc.d/rc.ttdsnd stop
fi
-before the Tor shutdown routines. Remember that this package acts like a DNS
-resolver so it listens by default on port 53. If you're going to run another
-DNS server like bind either as a cache to this server or in parallel, remember
-to modify ttdnsd default port or it will not start.
+...before the Tor shutdown routines. Remember that this package acts
+like a DNS resolver so it listens by default on port 53. If you're
+going to run another DNS server like bind either as a cache to this
+server or in parallel, remember to modify ttdnsd default port or it
+will not start.
diff --git a/network/ttdnsd/ttdnsd.SlackBuild b/network/ttdnsd/ttdnsd.SlackBuild
index f418235f0c..5d176de5f4 100644
--- a/network/ttdnsd/ttdnsd.SlackBuild
+++ b/network/ttdnsd/ttdnsd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ttdnsd.
#
@@ -22,20 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ttdnsd
VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tucan/tucan.SlackBuild b/network/tucan/tucan.SlackBuild
index 6336d4e7ac..22c92128c1 100644
--- a/network/tucan/tucan.SlackBuild
+++ b/network/tucan/tucan.SlackBuild
@@ -1,15 +1,25 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tucan
# Written by Nai (bluedbs@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tucan
VERSION=${VERSION:-0.3.10}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,4 +60,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tunctl/README b/network/tunctl/README
index 86724ecd5e..174ef4f7eb 100644
--- a/network/tunctl/README
+++ b/network/tunctl/README
@@ -1,4 +1,4 @@
-tunctl is used to set up and maintain persistent TUN/TAP network interfaces,
-enabling user applications to simulate network traffic. Such interfaces
-is useful for VPN software, virtualization, emulation, simulation, and a
-number of other applications.
+tunctl is used to set up and maintain persistent TUN/TAP network
+interfaces, enabling user applications to simulate network
+traffic. Such interfaces is useful for VPN software, virtualization,
+emulation, simulation, and a number of other applications.
diff --git a/network/tunctl/tunctl.SlackBuild b/network/tunctl/tunctl.SlackBuild
index 57b881ec63..27818f6f2b 100644
--- a/network/tunctl/tunctl.SlackBuild
+++ b/network/tunctl/tunctl.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tunctl
# Written by Murat D. Kadirov <banderols@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tunctl
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/turbolift/README b/network/turbolift/README
index 9e9bb2247a..8482ae887f 100644
--- a/network/turbolift/README
+++ b/network/turbolift/README
@@ -1,7 +1,8 @@
OpenStack Swift -Cloud Files- Uploader.
-If you have found yourself in a situation where you needed or wanted to upload
-a whole bunch of files to Cloud Files quickly, this is what you are looking for.
+If you have found yourself in a situation where you needed or wanted
+to upload a whole bunch of files to Cloud Files quickly, this is what
+you are looking for.
-Turbolift is an assistant for uploading files to the the Rackspace Cloud Files
-Repository with a bunch of options.
+Turbolift is an assistant for uploading files to the the Rackspace
+Cloud Files Repository with a bunch of options.
diff --git a/network/turbolift/turbolift.SlackBuild b/network/turbolift/turbolift.SlackBuild
index ca623ad52c..3d2803a9d3 100644
--- a/network/turbolift/turbolift.SlackBuild
+++ b/network/turbolift/turbolift.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for turbolift
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=turbolift
VERSION=${VERSION:-2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/turbolift/turbolift.info b/network/turbolift/turbolift.info
index a5313a33a0..f847d95c26 100644
--- a/network/turbolift/turbolift.info
+++ b/network/turbolift/turbolift.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/t/turbolift/turbolift-2.1.3.ta
MD5SUM="3ce022b9719e76b2b8b15546369ad7b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests PrettyTable"
+REQUIRES="PrettyTable"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/tut/README b/network/tut/README
new file mode 100644
index 0000000000..25651bcfc1
--- /dev/null
+++ b/network/tut/README
@@ -0,0 +1,7 @@
+Tut is a TUI for Mastodon with vim inspired keys. The program contains
+most of the features from the web client.
+
+Within tut, press "C" (no quotations) to create a new toot and "N" to
+focus on notifications.
+
+Tut also provides mouse support (see the github page for more details).
diff --git a/network/tut/modules.txt b/network/tut/modules.txt
new file mode 100644
index 0000000000..e4f82b433b
--- /dev/null
+++ b/network/tut/modules.txt
@@ -0,0 +1,90 @@
+# github.com/RasmusLindroth/go-mastodon v0.0.21
+## explicit
+github.com/RasmusLindroth/go-mastodon
+# github.com/adrg/xdg v0.4.0
+## explicit
+github.com/adrg/xdg
+# github.com/atotto/clipboard v0.1.4
+## explicit
+github.com/atotto/clipboard
+# github.com/gdamore/tcell/v2 v2.5.4
+## explicit
+github.com/gdamore/tcell/v2
+# github.com/gen2brain/beeep v0.0.0-20220909211152-5a9ec94374f6
+## explicit
+github.com/gen2brain/beeep
+# github.com/gobwas/glob v0.2.3
+## explicit
+github.com/gobwas/glob
+# github.com/icza/gox v0.0.0-20230117093757-93f961aa2755
+## explicit
+github.com/icza/gox/timex
+# github.com/microcosm-cc/bluemonday v1.0.21
+## explicit
+github.com/microcosm-cc/bluemonday
+# github.com/pelletier/go-toml/v2 v2.0.6
+## explicit
+github.com/pelletier/go-toml/v2
+# github.com/rivo/tview v0.0.0-20230104153304-892d1a2eb0da
+## explicit
+github.com/rivo/tview
+# github.com/rivo/uniseg v0.4.3
+## explicit; go 1.18
+github.com/rivo/uniseg
+# github.com/spf13/pflag v1.0.5
+## explicit
+github.com/spf13/pflag
+# golang.org/x/exp v0.0.0-20230125214544-b3c2aaf6208d
+## explicit; go 1.18
+golang.org/x/exp/slices
+# golang.org/x/net v0.5.0
+## explicit
+golang.org/x/net/html
+# mvdan.cc/xurls/v2 v2.4.0
+## explicit
+mvdan.cc/xurls/v2
+# github.com/aymerick/douceur v0.2.0
+## explicit
+github.com/aymerick/douceur/parser
+# github.com/gdamore/encoding v1.0.0
+## explicit
+github.com/gdamore/encoding
+# github.com/go-toast/toast v0.0.0-20190211030409-01e6764cf0a4
+## explicit
+github.com/go-toast/toast
+# github.com/godbus/dbus/v5 v5.1.0
+## explicit
+github.com/godbus/dbus/v5
+# github.com/gorilla/css v1.0.0
+## explicit
+github.com/gorilla/css/scanner
+# github.com/gorilla/websocket v1.5.0
+## explicit
+github.com/gorilla/websocket
+# github.com/lucasb-eyer/go-colorful v1.2.0
+## explicit
+github.com/lucasb-eyer/go-colorful
+# github.com/mattn/go-runewidth v0.0.14
+## explicit
+github.com/mattn/go-runewidth
+# github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
+## explicit
+github.com/nu7hatch/gouuid
+# github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af
+## explicit
+github.com/tadvi/systray
+# github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80
+## explicit
+github.com/tomnomnom/linkheader
+# golang.org/x/sys v0.4.0
+## explicit; go 1.17
+golang.org/x/sys/unix
+golang.org/x/sys/windows/
+golang.org/x/sys/windows/registry
+# golang.org/x/term v0.4.0
+## explicit
+golang.org/x/term
+# golang.org/x/text v0.6.0
+## explicit
+golang.org/x/text/encoding
+golang.org/x/text/transform
diff --git a/network/tut/slack-desc b/network/tut/slack-desc
new file mode 100644
index 0000000000..33288d18f2
--- /dev/null
+++ b/network/tut/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tut: tut (a Mastodon TUI)
+tut:
+tut: tut is a TUI for Mastodon with vim inspired keys.
+tut:
+tut:
+tut:
+tut:
+tut:
+tut:
+tut:
+tut:
diff --git a/network/tut/tut.SlackBuild b/network/tut/tut.SlackBuild
new file mode 100644
index 0000000000..1f285068cc
--- /dev/null
+++ b/network/tut/tut.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for tut
+
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tut
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+
+mkdir -p vendor
+cat $CWD/modules.txt > vendor/modules.txt
+for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
+do
+ NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename)
+ DIR=vendor/$DIR
+ tar xvf $CWD/$NAME-*.tar.gz
+ mkdir -p $(dirname $DIR)
+ mv $NAME-* $DIR
+done
+
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CGO_CFLAGS="$SLKCFLAGS" \
+CGO_CXXFLAGS="$SLKCFLAGS" \
+go build -mod vendor
+
+# Install tut
+install -Dm755 $PRGNAM $PKG/usr/bin/$PRGNAM
+
+# Install config files
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp config.example.toml $PKG/usr/doc/$PRGNAM-$VERSION/config.example.toml
+cp config/toot.tmpl $PKG/usr/doc/$PRGNAM-$VERSION/toot.tmpl
+cp config/user.tmpl $PKG/usr/doc/$PRGNAM-$VERSION/user.tmpl
+
+# Install themes
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/themes
+cp config/themes/* $PKG/usr/doc/$PRGNAM-$VERSION/themes
+
+# Install and compress man pages
+for i in {1,5,7};
+do
+ mkdir -p $PKG/usr/man/man$i
+ cp -r docs/man/tut.$i $PKG/usr/man/man$i/tut.$i
+done
+gzip -9 $PKG/usr/man/man[0-9]/$PRGNAM.[0-9]
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/tut/tut.info b/network/tut/tut.info
new file mode 100644
index 0000000000..a44535b358
--- /dev/null
+++ b/network/tut/tut.info
@@ -0,0 +1,68 @@
+PRGNAM="tut"
+VERSION="2.0.1"
+HOMEPAGE="https://github.com/RasmusLindroth/tut"
+DOWNLOAD="https://github.com/RasmusLindroth/tut/archive/refs/tags/2.0.1/tut-2.0.1.tar.gz \
+ https://github.com/RasmusLindroth/go-mastodon/archive/v0.0.21/go-mastodon-0.0.21.tar.gz \
+ https://github.com/adrg/xdg/archive/v0.4.0/xdg-0.4.0.tar.gz \
+ https://github.com/atotto/clipboard/archive/v0.1.4/clipboard-0.1.4.tar.gz \
+ https://github.com/gdamore/tcell/archive/v2.5.4/tcell-2.5.4.tar.gz \
+ https://github.com/gen2brain/beeep/archive/5a9ec94/beeep-5a9ec94374f60b2b12acc4b615be802c8563a157.tar.gz \
+ https://github.com/gobwas/glob/archive/v0.2.3/glob-0.2.3.tar.gz \
+ https://github.com/icza/gox/archive/93f961a/gox-93f961aa27557b111564e0889e52eb9dd94b81a9.tar.gz \
+ https://github.com/microcosm-cc/bluemonday/archive/v1.0.21/bluemonday-1.0.21.tar.gz \
+ https://github.com/pelletier/go-toml/archive/v2.0.6/go-toml-2.0.6.tar.gz \
+ https://github.com/rivo/tview/archive/892d1a2/tview-892d1a2eb0daab1296492b2087fff46240799382.tar.gz \
+ https://github.com/rivo/uniseg/archive/v0.4.3/uniseg-0.4.3.tar.gz \
+ https://github.com/spf13/pflag/archive/v1.0.5/pflag-1.0.5.tar.gz \
+ https://github.com/golang/exp/archive/b3c2aaf/exp-b3c2aaf6208dd245d356334775d544edb2fa3040.tar.gz \
+ https://github.com/golang/net/archive/v0.5.0/net-0.5.0.tar.gz \
+ https://github.com/mvdan/xurls/archive/v2.4.0/xurls-2.4.0.tar.gz \
+ https://github.com/aymerick/douceur/archive/v0.2.0/douceur-0.2.0.tar.gz \
+ https://github.com/gdamore/encoding/archive/v1.0.0/encoding-1.0.0.tar.gz \
+ https://github.com/go-toast/toast/archive/01e6764/toast-01e6764cf0a44209189b7981cdc34284936f6891.tar.gz \
+ https://github.com/godbus/dbus/archive/v5.1.0/dbus-5.1.0.tar.gz \
+ https://github.com/gorilla/css/archive/v1.0.0/css-1.0.0.tar.gz \
+ https://github.com/gorilla/websocket/archive/v1.5.0/websocket-1.5.0.tar.gz \
+ https://github.com/lucasb-eyer/go-colorful/archive/v1.2.0/go-colorful-1.2.0.tar.gz \
+ https://github.com/mattn/go-runewidth/archive/v0.0.14/go-runewidth-0.0.14.tar.gz \
+ https://github.com/nu7hatch/gouuid/archive/179d4d0/gouuid-179d4d0c4d8d407a32af483c2354df1d2c91e6c3.tar.gz \
+ https://github.com/tadvi/systray/archive/11a2b8f/systray-11a2b8fa57afff744b2e66a9b05f173c78f20dc6.tar.gz \
+ https://github.com/tomnomnom/linkheader/archive/02ca582/linkheader-02ca5825eb8097f10d9cc53da78481a85ad84e04.tar.gz \
+ https://github.com/golang/sys/archive/v0.4.0/sys-0.4.0.tar.gz \
+ https://github.com/golang/term/archive/v0.4.0/term-0.4.0.tar.gz \
+ https://github.com/golang/text/archive/v0.6.0/text-0.6.0.tar.gz"
+MD5SUM="7192cf56bfeb294fad290eb98e0a1e64 \
+ 910805b0bcbc402c021ab9e90dfe3dbe \
+ 8bc50248d26e66e5e29e65f3f051342a \
+ 9020b8bb980f0b59e12f7c4e0dc53a88 \
+ 0c62c60df9d5def197b42b03455ae530 \
+ 0e254919fc79e73a4ff09c45689e1ab8 \
+ 5d6cceb33b2e69ec12b5fb8c1f57cafe \
+ 938a1fbb88141d94d356a447025dd242 \
+ bc87b962386014b2ebffefcf19958f58 \
+ 2a91e4190a1d0bb7348c83e29e26e03e \
+ 4e785a105923de0b560cefe68794e28c \
+ 5fb9fa6f45d1bd701f0eca1e699d3c1d \
+ b31b2da1e91e337f3afdd49c8851b1a0 \
+ 5567341126e060622851745978b5397c \
+ cea041eef3f83f69cef05835fe23c4e2 \
+ 0ce250780135f41fcb4d84123c1582fe \
+ 48d2b40c0bc69a5c19b5fad8a8d1ab1b \
+ fbadc383bc1ace79fa769fe2de36b87b \
+ c8b7381250dc50b40879d08a3bfea178 \
+ d456df1207b7ba6a073d9ab1dd82ad2d \
+ adb82396cd821ca82a8d96b68552e748 \
+ 11f202db2e908f83270784cf85032b4b \
+ 191fe5cfcb58e480ff4045c82a06091a \
+ c41abbf9dc5def08ef8e6999efbe2c8c \
+ 3c71dda45c74b210d6b86cdcaebd3ed6 \
+ aa33e322338a67f3b3950bc0f77397e4 \
+ 972d6a64ac3a22ae16ac80447bccd06f \
+ 2450b5e79ce8b41cb65a6d99af8bf89f \
+ 44d06b8aa75102668295863b1f94632e \
+ 0811ecc6a90a1a52ed96a0ff843bd343"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/network/twine/twine.SlackBuild b/network/twine/twine.SlackBuild
index 0cfbc94f61..77ff78a50d 100644
--- a/network/twine/twine.SlackBuild
+++ b/network/twine/twine.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for twine
-# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=twine
-VERSION=${VERSION:-3.1.1}
+VERSION=${VERSION:-5.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -82,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/twine/twine.info b/network/twine/twine.info
index a5949c4cce..129d42dbd5 100644
--- a/network/twine/twine.info
+++ b/network/twine/twine.info
@@ -1,10 +1,10 @@
PRGNAM="twine"
-VERSION="3.1.1"
+VERSION="5.0.0"
HOMEPAGE="https://github.com/pypa/twine"
-DOWNLOAD="https://files.pythonhosted.org/packages/7e/2f/e2a91a8ab97e8c9830ce297132631aef5dcd599f076123d1ebb26f1941b6/twine-3.1.1.tar.gz"
-MD5SUM="faf033a3458de37df6cdecceb6da2c2b"
+DOWNLOAD="https://files.pythonhosted.org/packages/d3/cc/8025ad5102a5c754023092143b8b511e184ec087dfbfb357d7d88fb82bff/twine-5.0.0.tar.gz"
+MD5SUM="692f628c3708beca5f9073b0988e8f8f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="tqdm pkginfo requests-toolbelt readme_renderer python-zipp python-keyring"
+REQUIRES="pkginfo requests-toolbelt readme_renderer python3-keyring python-importlib_metadata python3-rfc3986 python3-rich"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/twinkle/README b/network/twinkle/README
new file mode 100644
index 0000000000..25868e0e96
--- /dev/null
+++ b/network/twinkle/README
@@ -0,0 +1,4 @@
+Twinkle is a softphone for your voice over IP and instant messaging
+communcations using the SIP protocol. You can use it for direct IP
+phone to IP phone communication or in a network using a SIP proxy
+to route your calls and messages.
diff --git a/network/twinkle/doinst.sh b/network/twinkle/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/twinkle/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/twinkle/slack-desc b/network/twinkle/slack-desc
new file mode 100644
index 0000000000..62e4efc693
--- /dev/null
+++ b/network/twinkle/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+twinkle: twinkle (softphone for voice over IP)
+twinkle:
+twinkle: Twinkle is a softphone for your voice over IP and instant messaging
+twinkle: communcations using the SIP protocol. You can use it for direct IP
+twinkle: phone to IP phone communication or in a network using a SIP proxy
+twinkle: to route your calls and messages.
+twinkle:
+twinkle: http://twinkle.dolezel.info/
+twinkle:
+twinkle:
+twinkle:
diff --git a/network/twinkle/twinkle.SlackBuild b/network/twinkle/twinkle.SlackBuild
new file mode 100644
index 0000000000..77aca3ed37
--- /dev/null
+++ b/network/twinkle/twinkle.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for twinkle
+
+# Copyright 2008 Mauro Giachero
+# Copyright 2022-2023 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=twinkle
+VERSION=${VERSION:-1.10.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+# iLBC from SBo is not recognized
+#-DWITH_ILBC=On \
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_ZRTP=On \
+ -DWITH_SPEEX=On \
+ -DWITH_GSM=On \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ NEWS README.md sip.protocol AUTHORS THANKS TODO COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/twinkle/twinkle.info b/network/twinkle/twinkle.info
new file mode 100644
index 0000000000..739106f04d
--- /dev/null
+++ b/network/twinkle/twinkle.info
@@ -0,0 +1,10 @@
+PRGNAM="twinkle"
+VERSION="1.10.3"
+HOMEPAGE="http://twinkle.dolezel.info/"
+DOWNLOAD="https://github.com/LubosD/twinkle/archive/refs/tags/v1.10.3/twinkle-1.10.3.tar.gz"
+MD5SUM="1bc38c16af7b78ac047646766083888a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libzrtpcpp gsm"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/network/twitter/twitter.SlackBuild b/network/twitter/twitter.SlackBuild
index 96a206bcb3..828245900c 100644
--- a/network/twitter/twitter.SlackBuild
+++ b/network/twitter/twitter.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for twitter
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=twitter
-VERSION=${VERSION:-1.18.0}
+VERSION=${VERSION:-1.19.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/twitter/twitter.info b/network/twitter/twitter.info
index 2f978c65e6..a0d126b34a 100644
--- a/network/twitter/twitter.info
+++ b/network/twitter/twitter.info
@@ -1,8 +1,8 @@
PRGNAM="twitter"
-VERSION="1.18.0"
+VERSION="1.19.3"
HOMEPAGE="https://mike.verdone.ca/twitter/"
-DOWNLOAD="https://files.pythonhosted.org/packages/8a/9d/cea0ec784ba05d56fbd8a56a674ca12d9b012487528ce91e0064b19224f7/twitter-1.18.0.tar.gz"
-MD5SUM="22aa581b0c463963ae577e62e1a72158"
+DOWNLOAD="https://files.pythonhosted.org/packages/39/ae/1df3708172d04371b1a3efd9d1d790ec4c5eef6da548a9ef85d86f216ab1/twitter-1.19.3.tar.gz"
+MD5SUM="cba038224bb5e20a15463d8794623e4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild
index 96c5837ac5..c0422ed525 100644
--- a/network/uTox/uTox.SlackBuild
+++ b/network/uTox/uTox.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uTox
#
@@ -18,10 +18,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uTox
VERSION=${VERSION:-0.18.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uTox/uTox.info b/network/uTox/uTox.info
index de041273db..7728394bfe 100644
--- a/network/uTox/uTox.info
+++ b/network/uTox/uTox.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/uTox/uTox/releases/download/v0.18.1/uTox-0.18.1-ful
MD5SUM="add2df145292ffe0a30965bdf3e8a3d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="c-toxcore libfilteraudio check"
+REQUIRES="c-toxcore libfilteraudio"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/network/ubertooth/README b/network/ubertooth/README
index 6fe36e831f..3332d759e2 100644
--- a/network/ubertooth/README
+++ b/network/ubertooth/README
@@ -1,6 +1,6 @@
-Project Ubertooth is an open source wireless development platform suitable for
-Bluetooth experimentation. Ubertooth ships with a capable BLE (Bluetooth Smart)
-sniffer and can sniff some data from Basic Rate (BR) Bluetooth Classic
-connections.
+Project Ubertooth is an open source wireless development platform
+suitable for Bluetooth experimentation. Ubertooth ships with a capable
+BLE (Bluetooth Smart) sniffer and can sniff some data from Basic Rate
+(BR) Bluetooth Classic connections.
ubertooth-specan-ui requires PySide2
diff --git a/network/ubertooth/ubertooth.SlackBuild b/network/ubertooth/ubertooth.SlackBuild
index 8ca1ed36f8..9dea75916b 100644
--- a/network/ubertooth/ubertooth.SlackBuild
+++ b/network/ubertooth/ubertooth.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ubertooth
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ubertooth
VERSION=${VERSION:-2020.12.R1}
+SRCVERSION=$(echo $VERSION |tr . -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-${VERSION//./-}
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -98,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ubertooth/ubertooth.info b/network/ubertooth/ubertooth.info
index 781e286c17..122a587f46 100644
--- a/network/ubertooth/ubertooth.info
+++ b/network/ubertooth/ubertooth.info
@@ -1,7 +1,7 @@
PRGNAM="ubertooth"
VERSION="2020.12.R1"
HOMEPAGE="https://github.com/greatscottgadgets/ubertooth"
-DOWNLOAD="https://github.com/greatscottgadgets/ubertooth/archive/2020-12-R1/ubertooth-2020.12.R1.tar.gz"
+DOWNLOAD="https://github.com/greatscottgadgets/ubertooth/archive/2020-12-R1/ubertooth-2020-12-R1.tar.gz"
MD5SUM="4dd2d6539cfc694f3d63424c65b28394"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/ucarp/ucarp.SlackBuild b/network/ucarp/ucarp.SlackBuild
index 815e891e40..3e7d283ae7 100644
--- a/network/ucarp/ucarp.SlackBuild
+++ b/network/ucarp/ucarp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ucarp
@@ -30,10 +30,13 @@
# Patch release to correct a bug that prevents the '-o' flag from working.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ucarp
VERSION=${VERSION:-1.5.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +46,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,7 +89,7 @@ find -L . \
patch -p1 <$CWD/getopt.patch
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -106,4 +116,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ucspi-ssl/README b/network/ucspi-ssl/README
deleted file mode 100644
index b48310e67e..0000000000
--- a/network/ucspi-ssl/README
+++ /dev/null
@@ -1,5 +0,0 @@
-ucspi-ssl (ssl tcp client-server command-line tools)
-
-sslserver and sslclient are command-line tools for building SSL
-client-server applications. They conform to the UNIX Client-Server
-Program Interface, UCSPI.
diff --git a/network/ucspi-ssl/slack-desc b/network/ucspi-ssl/slack-desc
deleted file mode 100644
index ba1a1878d5..0000000000
--- a/network/ucspi-ssl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ucspi-ssl: ucspi-ssl (ssl tcp client-server command-line tools)
-ucspi-ssl:
-ucspi-ssl: sslserver and sslclient are command-line tools for building SSL
-ucspi-ssl: client-server applications. They conform to the UNIX Client-Server
-ucspi-ssl: Program Interface, UCSPI.
-ucspi-ssl:
-ucspi-ssl:
-ucspi-ssl:
-ucspi-ssl:
-ucspi-ssl:
-ucspi-ssl:
diff --git a/network/ucspi-ssl/ucspi-ssl-0.70.SlackBuild.patch b/network/ucspi-ssl/ucspi-ssl-0.70.SlackBuild.patch
deleted file mode 100644
index 73d22f1857..0000000000
--- a/network/ucspi-ssl/ucspi-ssl-0.70.SlackBuild.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff -ur ucspi-ssl-0.70.old/package/command-ln ucspi-ssl-0.70/package/command-ln
---- ucspi-ssl-0.70.old/package/command-ln 2005-07-17 18:59:02.000000000 -0500
-+++ ucspi-ssl-0.70/package/command-ln 2009-05-16 20:28:13.000000000 -0500
-@@ -1,5 +1,3 @@
--/package/host/superscript.com/command
--/usr/local/bin
-
- Directories to soft link commands into, one per line.
- The first empty line terminates the list.
-Only in ucspi-ssl-0.70/package: command-ln~
-diff -ur ucspi-ssl-0.70.old/package/upgrade ucspi-ssl-0.70/package/upgrade
---- ucspi-ssl-0.70.old/package/upgrade 2009-05-16 20:20:29.000000000 -0500
-+++ ucspi-ssl-0.70/package/upgrade 2009-05-16 20:19:25.000000000 -0500
-@@ -62,14 +62,14 @@
-
- [ "X$targets" = "X" ] && barf "no targets"
-
--version="`head -1 package/version`"
--here="`pwd`"
--command="`echo $here | sed -e 's/-'$version'$//'`/command"
--package="`basename $here | sed -e 's/-'$version'$//'`"
--echo "symlink $package -> $package-$version"
--safe rm -f $package
--safe ln -s $package-$version $package
--safe mv -f $package ..
-+#version="`head -1 package/version`"
-+#here="`pwd`"
-+#command="`echo $here | sed -e 's/-'$version'$//'`/command"
-+#package="`basename $here | sed -e 's/-'$version'$//'`"
-+#echo "symlink $package -> $package-$version"
-+#safe rm -f $package
-+#safe ln -s $package-$version $package
-+#safe mv -f $package ..
-
- commands=
- for i in $targets
-diff -ur ucspi-ssl-0.70.old/src/conf-cadir ucspi-ssl-0.70/src/conf-cadir
---- ucspi-ssl-0.70.old/src/conf-cadir 2005-07-17 18:59:02.000000000 -0500
-+++ ucspi-ssl-0.70/src/conf-cadir 2009-05-16 20:13:51.000000000 -0500
-@@ -1,4 +1,4 @@
--/usr/local/ssl/certs
-+/etc/ssl/certs
-
- This is the ucspi-ssl CA directory.
- An empty name means no certificate directory is compiled in.
-diff -ur ucspi-ssl-0.70.old/src/conf-dhfile ucspi-ssl-0.70/src/conf-dhfile
---- ucspi-ssl-0.70.old/src/conf-dhfile 2005-07-17 18:59:02.000000000 -0500
-+++ ucspi-ssl-0.70/src/conf-dhfile 2009-05-16 20:23:04.000000000 -0500
-@@ -1,3 +1,3 @@
--/usr/local/ssl/pem/dh1024.pem
-+/etc/ssl/pem/dh1024.pem
-
- This is the sslserver DH parameter file.
-diff -ur ucspi-ssl-0.70.old/src/conf-tcpbin ucspi-ssl-0.70/src/conf-tcpbin
---- ucspi-ssl-0.70.old/src/conf-tcpbin 2005-07-17 18:59:02.000000000 -0500
-+++ ucspi-ssl-0.70/src/conf-tcpbin 2009-05-16 20:17:25.000000000 -0500
-@@ -1,4 +1,4 @@
--/usr/local/bin
-+/usr/bin
-
- This is the ucspi-tcp bin directory. The ucspi-tcp executables
- should appear in it.
diff --git a/network/ucspi-ssl/ucspi-ssl.SlackBuild b/network/ucspi-ssl/ucspi-ssl.SlackBuild
deleted file mode 100644
index e8ec09b575..0000000000
--- a/network/ucspi-ssl/ucspi-ssl.SlackBuild
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ucspi-ssl
-
-# Written by David Miller dave@frop.net
-# This script is released into the public domain
-
-PRGNAM=ucspi-ssl
-VERSION=${VERSION:-0.70}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-mv host/superscript.com/net/$PRGNAM-$VERSION ./
-rm -r host
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-echo gcc $SLKCFLAGS > src/conf-cc
-echo $PKG/usr/bin > package/command-cp
-
-patch -p1 < $CWD/$PRGNAM-$VERSION.SlackBuild.patch
-
-./package/compile
-./package/install
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a package/README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/ucspi-ssl/ucspi-ssl.info b/network/ucspi-ssl/ucspi-ssl.info
deleted file mode 100644
index 051f50dcd2..0000000000
--- a/network/ucspi-ssl/ucspi-ssl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ucspi-ssl"
-VERSION="0.70"
-HOMEPAGE="http://www.superscript.com/ucspi-ssl/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/ucspi-ssl-0.70.tar.gz"
-MD5SUM="22a2ebd0c6905726811c615286bac875"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Miller"
-EMAIL="dave@frop.net"
diff --git a/network/ucspi-tcp/README b/network/ucspi-tcp/README
index fd31488d97..dc236642eb 100644
--- a/network/ucspi-tcp/README
+++ b/network/ucspi-tcp/README
@@ -6,6 +6,6 @@ it provides useful environment variables, resource limits, and access
control features. tcpclient makes a TCP connection and runs a program of
your choice. It sets up the same environment variables as tcpserver.
-Also included are recordio, a tool that monitors all the input and output
-of a server, and several sample clients built on top of tcpclient: who@,
-date@, finger@, http@, tcpcat, and mconnect.
+Also included are recordio, a tool that monitors all the input
+and output of a server, and several sample clients built on top of
+tcpclient: who@, date@, finger@, http@, tcpcat, and mconnect.
diff --git a/network/ucspi-tcp/ucspi-tcp.SlackBuild b/network/ucspi-tcp/ucspi-tcp.SlackBuild
index b79cd54e0f..39947370ad 100644
--- a/network/ucspi-tcp/ucspi-tcp.SlackBuild
+++ b/network/ucspi-tcp/ucspi-tcp.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ucspi-tcp
# Written by David Miller dave@frop.net
# This script is released into the public domain
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ucspi-tcp
VERSION=${VERSION:-0.88}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -66,4 +76,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/udns/udns.SlackBuild b/network/udns/udns.SlackBuild
index a5254927d0..fc39e5fb56 100644
--- a/network/udns/udns.SlackBuild
+++ b/network/udns/udns.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for udns
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=udns
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,4 +112,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/udpbench/README b/network/udpbench/README
new file mode 100644
index 0000000000..8ae64ff080
--- /dev/null
+++ b/network/udpbench/README
@@ -0,0 +1,3 @@
+Measure UDP send and receive performance. Be very careful that the
+data is reliable. Avoid unnecessary system calls that may affect
+the result.
diff --git a/network/udpbench/slack-desc b/network/udpbench/slack-desc
new file mode 100644
index 0000000000..35f8932e73
--- /dev/null
+++ b/network/udpbench/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+udpbench: udpbench (UDP network benchmarking tool)
+udpbench:
+udpbench: Measure UDP send and receive performance. Be very careful that the
+udpbench: data is reliable. Avoid unnecessary system calls that may affect
+udpbench: the result.
+udpbench:
+udpbench:
+udpbench:
+udpbench:
+udpbench: https://github.com/bluhm/udpbench
+udpbench:
diff --git a/network/udpbench/udpbench.SlackBuild b/network/udpbench/udpbench.SlackBuild
new file mode 100644
index 0000000000..95aa0c85c1
--- /dev/null
+++ b/network/udpbench/udpbench.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for udpbench
+
+# Copyright 2024 Alexander Bluhm, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=udpbench
+VERSION=${VERSION:-1.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+make
+BINDIR=/usr/bin \
+MANDIR=/usr/man/man \
+make install DESTDIR=$PKG
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/udpbench/udpbench.info b/network/udpbench/udpbench.info
new file mode 100644
index 0000000000..78b37a2244
--- /dev/null
+++ b/network/udpbench/udpbench.info
@@ -0,0 +1,10 @@
+PRGNAM="udpbench"
+VERSION="1.10"
+HOMEPAGE="https://github.com/bluhm/udpbench"
+DOWNLOAD="https://github.com/bluhm/udpbench/releases/download/v1.10/udpbench-1.10.tar.gz"
+MD5SUM="af96d4cb8e8910c571032bf58b99c5ca"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libbsd pkgconf"
+MAINTAINER="Alexander Bluhm"
+EMAIL="alexander.bluhm@gmx.net"
diff --git a/network/udpcast/README b/network/udpcast/README
index 9ec666a3ef..f56989ef6a 100644
--- a/network/udpcast/README
+++ b/network/udpcast/README
@@ -1,3 +1,3 @@
-Udpcast is a commandline program for transmitting or receiving files over
-the network using the UDP protocol. This way, you get a higher bandwidth
-than via TCP and you can send it to many clients at once.
+Udpcast is a commandline program for transmitting or receiving files
+over the network using the UDP protocol. This way, you get a higher
+bandwidth than via TCP and you can send it to many clients at once.
diff --git a/network/udpcast/udpcast.SlackBuild b/network/udpcast/udpcast.SlackBuild
index 2f3860c312..ec74d0a0d4 100644
--- a/network/udpcast/udpcast.SlackBuild
+++ b/network/udpcast/udpcast.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for udpcast
-# Copyright 2007-2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2007-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,24 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=udpcast
-VERSION=${VERSION:-20120424}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20200328}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,9 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix missing include
-patch -p1 -i $CWD/udpcast_include.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/udpcast/udpcast.info b/network/udpcast/udpcast.info
index 4e5a0c1769..62d21ff6f4 100644
--- a/network/udpcast/udpcast.info
+++ b/network/udpcast/udpcast.info
@@ -1,10 +1,10 @@
PRGNAM="udpcast"
-VERSION="20120424"
+VERSION="20200328"
HOMEPAGE="http://udpcast.linux.lu"
-DOWNLOAD="http://udpcast.linux.lu/download/udpcast-20120424.tar.gz"
-MD5SUM="b9b67a577ca5659a93bcb9e43f298fb2"
+DOWNLOAD="http://udpcast.linux.lu/download/udpcast-20200328.tar.gz"
+MD5SUM="e862a18c3facd59ea016752ee1e6a85a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/network/udpcast/udpcast_include.patch b/network/udpcast/udpcast_include.patch
deleted file mode 100644
index b911950408..0000000000
--- a/network/udpcast/udpcast_include.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/console.h 2013-02-21 16:12:39.418426558 +0100
-+++ b/console.h 2013-02-21 16:12:26.998596846 +0100
-@@ -6,6 +6,8 @@
- #include <winbase.h>
- #endif /* __MINGW32__ */
-
-+#include <sys/select.h>
-+
- #define prepareConsole udpc_prepareConsole
- #define getConsoleFd udpc_getConsoleFd
- #define restoreConsole udpc_restoreConsole
diff --git a/network/udpxy/udpxy.SlackBuild b/network/udpxy/udpxy.SlackBuild
index 7cdfc69d81..ac545b2b78 100644
--- a/network/udpxy/udpxy.SlackBuild
+++ b/network/udpxy/udpxy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for udpxy
@@ -24,26 +24,36 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=udpxy
VERSION=${VERSION:-1.0.23_9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -89,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ufw/README b/network/ufw/README
index 4bd36b3621..54d8cd35bf 100644
--- a/network/ufw/README
+++ b/network/ufw/README
@@ -1,17 +1,17 @@
-Ufw (Uncomplicated Firewall) is program for managing a netfilter firewall.
-It provides a command line interface and aims to be uncomplicated and easy
-to use.
+Ufw (Uncomplicated Firewall) is program for managing a netfilter
+firewall. It provides a command line interface and aims to be
+uncomplicated and easy to use.
-Add the following code to /etc/rc.local to start Ufw at boot time:
+Add the following code to /etc/rc.d/rc.local to start Ufw at boot time:
if [ -x /lib/ufw/ufw-init ]; then
/lib/ufw/ufw-init start
fi
-Ufw comes with a number of common application profiles. Create additional
-application profiles under /etc/ufw/applications.d. Each profile should
-contain a list of rules which include a title, description, and port(s) or
-port range.
+Ufw comes with a number of common application profiles. Create
+additional application profiles under /etc/ufw/applications.d.
+Each profile should contain a list of rules which include a title,
+description, and port(s) or port range.
A custom application profile should look similar to this:
diff --git a/network/ufw/ufw.SlackBuild b/network/ufw/ufw.SlackBuild
index 5fd512f1d9..f3b65a2a13 100644
--- a/network/ufw/ufw.SlackBuild
+++ b/network/ufw/ufw.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ufw
@@ -6,6 +6,7 @@
# Copyright 2013 Ricardson Williams <ricardsonwilliams@gmail.com>
# Copyright 2014-2015 Rodolfo Gouveia <rgouveia@cosmico.net>
# Copyright 2016 Brenton Earl <brent@exitstatusone.com>
+# Copyright 2023 Jay Lanagan <j@lngn.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +26,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ufw
-VERSION=${VERSION:-0.36}
+VERSION=${VERSION:-0.36.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,25 +42,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -73,22 +67,31 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 --verbose < $CWD/ufw.conf.patch
-patch -p1 --verbose < $CWD/ufw-0.35-fix-iptables-path.patch
-# Python3 support
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Compress and link manpages, if any:
+if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.*
+ )
+ done
+ )
+fi
+
+mkdir -p $PKG/etc/rc.d
+cat $TMP/$PRGNAM-$VERSION/doc/initscript.example > $PKG/etc/rc.d/rc.ufw
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog* COPYING README* TODO doc/*.example $PKG/usr/doc/$PRGNAM-$VERSION
@@ -99,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ufw/ufw.conf.patch b/network/ufw/ufw.conf.patch
index 0b085ae82b..eda9b184e1 100644
--- a/network/ufw/ufw.conf.patch
+++ b/network/ufw/ufw.conf.patch
@@ -1,5 +1,5 @@
---- ufw-0.33.orig/conf/ufw.conf 2012-08-18 05:12:49.000000000 +0800
-+++ ufw-0.33/conf/ufw.conf 2013-07-16 04:18:44.365425697 +0800
+--- a/conf/ufw.conf
++++ b/conf/ufw.conf
@@ -3,7 +3,7 @@
# Set to yes to start on boot. If setting this remotely, be sure to add a rule
@@ -9,3 +9,4 @@
# Please use the 'ufw' command to set the loglevel. Eg: 'ufw logging medium'.
# See 'man ufw' for details.
+
diff --git a/network/ufw/ufw.info b/network/ufw/ufw.info
index 1d396dca15..b2d57c2680 100644
--- a/network/ufw/ufw.info
+++ b/network/ufw/ufw.info
@@ -1,10 +1,10 @@
PRGNAM="ufw"
-VERSION="0.36"
+VERSION="0.36.2"
HOMEPAGE="https://launchpad.net/ufw"
-DOWNLOAD="https://launchpad.net/ufw/0.36/0.36/+download/ufw-0.36.tar.gz"
-MD5SUM="6d8ab1506da21ae003f4628f93d05781"
+DOWNLOAD="https://launchpad.net/ufw/0.36/0.36.2/+download/ufw-0.36.2.tar.gz"
+MD5SUM="4a1c52b7da2b25e66e91b5f16a7d032d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Brenton Earl"
-EMAIL="brent@exitstatusone.com"
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/network/uget-chrome-wrapper/README b/network/uget-chrome-wrapper/README
index a1cabbad2a..598d48f19c 100644
--- a/network/uget-chrome-wrapper/README
+++ b/network/uget-chrome-wrapper/README
@@ -1,2 +1,3 @@
-Integrate the famous FOSS uGet Download Manager with Google Chrome in Linux systems.
-With this tool, uGet can interrupt and catch your downloads from Google Chrome.
+Integrate the famous FOSS uGet Download Manager with Google Chrome
+in Linux systems. With this tool, uGet can interrupt and catch your
+downloads from Google Chrome.
diff --git a/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild b/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild
index 467a59ee09..7cbc686736 100644
--- a/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild
+++ b/network/uget-chrome-wrapper/uget-chrome-wrapper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uget-chrome-wrapper
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uget-chrome-wrapper
VERSION=${VERSION:-2.0.4}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uget-chrome-wrapper/uget-chrome-wrapper.info b/network/uget-chrome-wrapper/uget-chrome-wrapper.info
index eefd9cad37..d4172b424a 100644
--- a/network/uget-chrome-wrapper/uget-chrome-wrapper.info
+++ b/network/uget-chrome-wrapper/uget-chrome-wrapper.info
@@ -9,6 +9,6 @@ MD5SUM="d824ef742a548a5613caadbad78475f2 \
4806bc4553389cc0610e642b12510246"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="uget python3"
+REQUIRES="uget"
MAINTAINER="Macius Kuzmin"
EMAIL="szczecinska.duma@gmail.com"
diff --git a/network/uget-integrator/README b/network/uget-integrator/README
index 020cffc26f..f2399f5d95 100644
--- a/network/uget-integrator/README
+++ b/network/uget-integrator/README
@@ -1,13 +1,15 @@
-Integrate the famous FOSS uGet Download Manager with Google Chrome in Linux systems.
-With this tool, uGet can interrupt and catch your downloads from Google Chrome.
+Integrate the famous FOSS uGet Download Manager with Google Chrome
+in Linux systems. With this tool, uGet can interrupt and catch your
+downloads from Google Chrome.
-after you install uget-integrator you must install your browsers extension:
+After you install uget-integrator, you must install your browser's
+extension.
-for chrome/chromium/vivaldi:
+For chrome/chromium/vivaldi:
https://chrome.google.com/webstore/detail/uget-integration/efjgjleilhflffpbnkaofpmdnajdpepi
-for firefox:
+For firefox:
https://addons.mozilla.org/en-US/firefox/addon/ugetintegration/
-for opera:
+For opera:
https://addons.opera.com/en/extensions/details/uget-integration
diff --git a/network/uget-integrator/uget-integrator.SlackBuild b/network/uget-integrator/uget-integrator.SlackBuild
index 9f3746442c..2600a8f189 100644
--- a/network/uget-integrator/uget-integrator.SlackBuild
+++ b/network/uget-integrator/uget-integrator.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uget-integrator
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uget-integrator
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uget-integrator/uget-integrator.info b/network/uget-integrator/uget-integrator.info
index ad584b4e30..c250109431 100644
--- a/network/uget-integrator/uget-integrator.info
+++ b/network/uget-integrator/uget-integrator.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/ugetdm/uget-integrator/archive/v1.0.0/uget-integrat
MD5SUM="fc08f3efd2c60c730ae02b45c26123c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="uget python3"
+REQUIRES="uget"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/network/uget/README b/network/uget/README
index d69d37d419..5d0677faef 100644
--- a/network/uget/README
+++ b/network/uget/README
@@ -5,11 +5,11 @@ uGet is a Free and Open Source download manager.
It allows for queuing downloads, file type-based classification of
downloads, and is lightweight.
-By default, uGet uses curl for downloads. If desired, uGet can use aria2
-instead. To do this, install aria2, then launch uGet and choose "Edit =>
-Settings => Plug-in => Plug-in matching order", and select "aria2". There's
-no need to rebuild uGet after installing aria2: it's an optional run-time
-dependency.
+By default, uGet uses curl for downloads. If desired, uGet can use
+aria2 instead. To do this, install aria2, then launch uGet and choose
+"Edit => Settings => Plug-in => Plug-in matching order", and select
+"aria2". There's no need to rebuild uGet after installing aria2: it's
+an optional run-time dependency.
uGet can be compiled without support for notifications, since some users
find them annoying. To do this, pass LIBNOTIFY=no to the script.
@@ -21,7 +21,7 @@ pass GSTREAMER=no to the script.
If you're upgrading from uGet 1.x, run "uget-gtk-1to2" to convert your
old settings in ~/.config/uGet to the format used by uGet 2.x.
-The status line at the top of the uGet window is intended to announce new
-releases of uGet, but it's currently "stuck" and claims that 2.0.8 is a
-"new stable release". Upstream is working on the problem; please just
-ignore the status line for now.
+The status line at the top of the uGet window is intended to announce
+new releases of uGet, but it's currently "stuck" and claims that 2.0.8
+is a "new stable release". Upstream is working on the problem; please
+just ignore the status line for now.
diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild
index 5efd0c72e8..faf76f9149 100644
--- a/network/uget/uget.SlackBuild
+++ b/network/uget/uget.SlackBuild
@@ -1,11 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uget
# Originally written by Morten Juhl-Johansen Zölde-Fejér <email removed>
-# Updated and now maintained by B. Watson <yalhcru@gmail.com>
+# Updated and now maintained by B. Watson <urchlay@slackware.uk>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210926 bkw: BUILD=2, fix build on -current/15.0
# 20200223 bkw: update for 2.2.3_1
# 20191130 bkw: update for 2.2.2
# 20180612 bkw: update for 2.2.1
@@ -35,10 +36,13 @@
# - install developer docs doc/*.txt
# - don't install empty AUTHORS and ChangeLog
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uget
VERSION=${VERSION:-2.2.3_1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Tarball filename version number doesn't match top-level dir inside
# tarball, and neither matches VERSION 'cause we can't use hyphens.
@@ -55,7 +59,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,6 +100,8 @@ GSTREAMER="${GSTREAMER:-yes}"
[ "$LIBNOTIFY" = "no" ] && NOTIFYFLAG="--disable-notify"
[ "$GSTREAMER" = "no" ] && GSTFLAG="--disable-gstreamer"
+SLKCFLAGS+=" -fcommon"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -115,4 +125,4 @@ sed -e "s,@A,$GSTREAMER," \
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uget/uget.info b/network/uget/uget.info
index 0d9e4c2c4d..be53c23c2f 100644
--- a/network/uget/uget.info
+++ b/network/uget/uget.info
@@ -1,10 +1,10 @@
PRGNAM="uget"
VERSION="2.2.3_1"
HOMEPAGE="https://ugetdm.com"
-DOWNLOAD="http://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.3/uget-2.2.3-1.tar.gz"
+DOWNLOAD="https://downloads.sourceforge.net/project/urlget/uget%20%28stable%29/2.2.3/uget-2.2.3-1.tar.gz"
MD5SUM="ac623b972ec13909a05bc5d098c5254a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/unbound/README b/network/unbound/README
index 96200ae268..52fdc7c21a 100644
--- a/network/unbound/README
+++ b/network/unbound/README
@@ -13,9 +13,3 @@ not conflict with anything else on SlackBuilds:
groupadd -g 304 unbound
useradd -r -u 304 -g unbound -d /etc/unbound/ -s /sbin/nologin -c \
'Unbound DNS resolver' unbound
-
-Optional DNSCrypt support is provided. To enable:
-
- DNSCRYPT=yes ./unbound.SlackBuild
-
-This will require libsodium which is available at SlackBuilds
diff --git a/network/unbound/README.SLACKWARE b/network/unbound/README.SLACKWARE
new file mode 100644
index 0000000000..f3718b1e61
--- /dev/null
+++ b/network/unbound/README.SLACKWARE
@@ -0,0 +1,64 @@
+--------
+Welcome and background
+--------
+
+Unbound SlackBuild script was rewritten as of version 1.16.2.
+
+As of version 1.16.2 rc.unbound script was made from scratch
+to work like other SysVinit scripts. The previous versions
+included Red Hat style init script. If for some reason you still
+want to use that one, it can be found from the source tarball
+contrib directory. It's not supported by this SlackBuild, though.
+
+--------
+Configuration
+--------
+
+The main configuration file is located at /etc/unbound/unbound.conf.
+
+To make the setup as easy as possible, the SlackBuild makes some
+changes to the original file so you don't have to spend time
+changing some obvious settings, like disabling systemd socket
+activation and other stuff that's required for proper functionality
+on Slackware. The upstream configuration file is saved to
+unbound.conf.upstream.
+
+Threading is supported by Unbound but disabled by default. The
+script will set num-threads to the value of nproc. Just uncomment
+num-threads in unbound.conf to enable threading.
+
+By default, we turn on "remote control" which enables the
+functionality of unbound-control command. Despite its name, it
+binds to localhost (by default) and cannot be used by unprivileged
+users as certificate files aren't readable by them. It also allows
+logrotating to work properly.
+
+The logs are kept in /var/log/unbound/. The default settings log
+just very basic things (i.e. unbound started or stopped).
+
+The script also installs a logrotate script to /etc/logrotate.d
+
+As for resolving and caching, you'll probably want to add
+something like this to your /etc/resolv.conf:
+
+ nameserver ::1
+ nameserver 127.0.0.1
+ options trust-ad
+
+--------
+Automatic starting/stopping upon system start/shutdown
+--------
+
+To start Unbound automatically when system is booted,
+add the following lines to /etc/rc.d/rc.local:
+
+ if [ -x /etc/rc.d/rc.unbound ]; then
+ /etc/rc.d/rc.unbound start
+ fi
+
+To stop Unbound on system shutdown, add following lines
+to /etc/rc.d/rc.local_shutdown
+
+ if [ -x /etc/rc.d/rc.unbound ]; then
+ /etc/rc.d/rc.unbound stop
+ fi
diff --git a/network/unbound/doinst.sh b/network/unbound/doinst.sh
index 2914d5783b..a1aece44fe 100644
--- a/network/unbound/doinst.sh
+++ b/network/unbound/doinst.sh
@@ -24,3 +24,29 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.unbound.new
config etc/unbound/unbound.conf.new
+config etc/logrotate.d/unbound.new
+
+if [ -r /etc/logrotate.d/unbound ] && [ $(stat -c "%U:%G" "/etc/logrotate.d/unbound") != "root:root" ]; then
+ echo "Incorrect permissions detected on /etc/logrotate.d/unbound !"
+ echo "This will prevent Unbound logrotate script from working."
+ echo ""
+ echo "Previous Unbound SlackBuild scripts didn't set this correctly."
+ echo ""
+ echo "To fix it, simply run:"
+ echo "# chown root:root /etc/logrotate.d/unbound"
+fi
+
+echo "----------------------------"
+echo "As of Unbound SlackBuild 1.18.0-2 DNSSEC is enabled by default."
+echo
+echo "You have two options:"
+echo
+echo "1) Run the following command to setup the root trust anchor (RECOMMENDED!)"
+echo "# sudo -u unbound unbound-anchor -f /etc/resolv.conf -R -a /var/lib/unbound/root.key"
+echo
+echo "2) Disable DNSSEC and unbound-anchor functionality."
+echo "Edit /etc/unbound/unbound.conf, and erase or comment the following line:"
+echo 'auto-trust-anchor-file: "/var/lib/unbound/root.key"'
+echo
+echo "This is a suitable option if you plan to use Unbound simply as a forwarding resolver."
+echo "----------------------------"
diff --git a/network/unbound/rc.unbound b/network/unbound/rc.unbound
index 49a6c991e8..3c31faf4ef 100644
--- a/network/unbound/rc.unbound
+++ b/network/unbound/rc.unbound
@@ -1,118 +1,147 @@
-#!/bin/sh
+#!/bin/bash
#
-# unbound This shell script takes care of starting and stopping
-# unbound (DNS server).
-#
-# chkconfig: - 14 86
-# description: unbound is a Domain Name Server (DNS) \
-# that is used to resolve host names to IP addresses.
-
-### BEGIN INIT INFO
-# Provides: unbound
-# Required-Start: $network $local_fs
-# Required-Stop: $network $local_fs
-# Default-Start:
-# Default-Stop: 0 1 2 3 4 5 6
-# Should-Start: $syslog
-# Should-Stop: $syslog
-# Short-Description: unbound recursive Domain Name Server.
-# Description: unbound is a Domain Name Server (DNS)
-# that is used to resolve host names to IP addresses.
-### END INIT INFO
+# Slackware initialization script for Unbound.
-# Source function library.
-. /etc/rc.d/init.d/functions
-exec="/usr/sbin/unbound"
-config="/etc/unbound/unbound.conf"
-pidfile="/var/run/unbound/unbound.pid"
-piddir=`dirname $pidfile`
+UNBOUND=/usr/sbin/unbound
+CONFIG=/etc/unbound/unbound.conf
+PIDFILE=/run/unbound/unbound.pid
+LOGDIR=/var/log/unbound
+KEYFILE=/var/lib/unbound/root.key
-[ -x /usr/sbin/dnssec-configure ] && [ -r "$config" ] &&
- [ /etc/sysconfig/dnssec -nt "$config" ] && \
- /usr/sbin/dnssec-configure -u --norestart --dnssec="$DNSSEC" --dlv="$DLV"
+# Unbound-control is useful but I'm not going to cram it
+# down your throat. Set this to "yes" to disable unbound-control
+# initial setup. Note that you'll need to disable control port
+# in unbound.conf so Unbound will actually start.
+DISABLE_UNBOUND_CONTROL="no"
-start() {
- [ -x $exec ] || exit 5
- [ -f $config ] || exit 6
- # /var/run could (and should) be tmpfs
- [ -d $piddir ] || mkdir $piddir
+# As part of the initial checks, the script makes sure that
+# $LOGDIR exists. It's mostly for cases where admin accidentally
+# deletes the entire log folder rather than individual logs.
+# If you don't use logging at all, have a custom setup or
+# just want to skip these checks, set this to "yes".
+DISABLE_LOGDIR_CHECKS="no"
- if [ -f /var/lib/unbound/root.anchor -a -f /usr/sbin/unbound-anchor ]
- then
- /sbin/runuser --command="/usr/sbin/unbound-anchor -a /var/lib/unbound/root.anchor -c /etc/unbound/icannbundle.pem" --shell /bin/sh unbound
+initchecks() {
+ # If auto-trust-anchor-file is enabled and the keyfile doesn't exists in
+ # /var/lib/unbound, we won't start the daemon. Most(?) errors can be caught
+ # by /usr/sbin/unbound executable but this one actually allows Unbound to start -
+ # - only for it to crash a moment later. Running unbound-checkconf on every start up
+ # would be useful, but it would make noise every time the daemon starts up.
+ if [ ! -z "$(unbound-checkconf -o auto-trust-anchor-file)" ] && [ ! -e "$KEYFILE" ]; then
+ echo "ERROR: $KEYFILE not found, yet auto-trust-anchor-file is enabled in $CONFIG"
+ echo "ERROR: Refusing to start because Unbound would crash."
+ echo "ERROR: Please generate Unbound Anchor file with the following command:"
+ echo " # sh /etc/rc.d/rc.unbound generate-key"
+ echo
+ echo "...or comment out auto-trust-anchor-file in $CONFIG."
+ exit 1
+ fi
+ # Look out for a stale pidfile. If there's one, remove it.
+ # This shouldn't be necessary unless the system was shutdown uncleanly
+ # or if Unbound crashes.
+ if [ -e $PIDFILE ] && [ ! $(pidof unbound) ]; then
+ echo "Looks like Unbound isn't running but there's a stale pid file."
+ echo "Removing $PIDFILE"
+ rm -vf $PIDFILE
+ fi
+ # Check that /run/unbound exists. If not, create and chown it.
+ if [ ! -e $(dirname $PIDFILE) ]; then
+ mkdir -p $(dirname $PIDFILE)
+ chown unbound:unbound $(dirname $PIDFILE)
fi
-
- if [ ! -f /etc/unbound/unbound_control.key ]
+ # Run the initial setup for unbound-control unless it's disabled.
+ # Mostly relevant for the first time run.
+ if [ ! -e $(dirname $CONFIG)/unbound_server.pem ] && [ "$DISABLE_UNBOUND_CONTROL" == "no" ]; then
+ echo "Unbound-control: unbound_server.pem not found."
+ echo "This is normal for the first run."
+ echo "Running initial setup to generate certificates: /usr/sbin/unbound-control-setup"
+ /usr/sbin/unbound-control-setup || exit 1
+ echo "Actually... no need to do anything. It's enabled by default on Slackware :-)"
+ fi
+ # Deleted the entire log directory by accident? Oh well, bound to happen.
+ # Let's fix that right away.
+ if [ "$DISABLE_LOGDIR_CHECKS" == "no" ]
then
- echo -n $"Generating unbound control key and certificate: "
- /usr/sbin/unbound-control-setup -d /etc/unbound/ > /dev/null 2> /dev/null
- chgrp unbound /etc/unbound/unbound_*key /etc/unbound/unbound_*pem
- [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && \
- [ -x /sbin/restorecon ] && /sbin/restorecon /etc/unbound/*
- echo
- else
- # old init script created these as root instead of unbound.
- if [ -G /etc/unbound/unbound_control.key ]
- then
- chgrp unbound /etc/unbound/unbound_*key /etc/unbound/unbound_*pem
- [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && \
- [ -x /sbin/restorecon ] && /sbin/restorecon /etc/unbound/*
- echo
+ if [ ! -d "$LOGDIR" ]; then
+ echo -n "Unbound log directory not found. Attempting to recreate it... "
+ mkdir $LOGDIR && echo "Success!"
+ fi
+ if [ $(stat -c "%U:%G" "$LOGDIR") != "unbound:unbound" ]; then
+ echo -n "Fixing permissions on the log folder $LOGDIR... "
+ chown -R unbound:unbound $LOGDIR && echo "Success!"
fi
fi
+}
+anchorkeygen() {
+ echo "Generating Unbound Anchor keyfile..."
+ sudo -u unbound unbound-anchor -f /etc/resolv.conf -R -a /var/lib/unbound/root.key
+ echo "Done"
+}
- unbound-checkconf $config > /dev/null
- RETVAL=$?
- if [ $RETVAL != 0 ]
- then
- echo "Error in /etc/unbound/unbound.conf, aborted"
- exit 6
- fi
-
- echo -n $"Starting unbound: "
+checkconfig() {
+ echo "Checking Unbound configuration file: $CONFIG"
+ echo "This will run the command: /usr/sbin/unbound-checkconf"
+ echo "-----START unbound-checkconf output-----"
+ /usr/sbin/unbound-checkconf
+ echo "-----END unbound-checkconf output-----"
- # if not running, start it up here
- daemon --pidfile=$pidfile $exec -c $config
- echo
}
-stop() {
- echo -n $"Stopping unbound: "
- # stop it here, often "killproc unbound"
- killproc -p $pidfile unbound
- echo
+start() {
+ initchecks
+ if [ -r $PIDFILE ]; then
+ echo 'Unbound is already running!'
+ return
+ else
+ echo "Starting Unbound..."
+ $UNBOUND -c $CONFIG || echo "Failed to start! The error messages above might help."
+ fi
}
-restart() {
- unbound-checkconf $config > /dev/null
- RETVAL=$?
- if [ $RETVAL != 0 ]
- then
- echo "Error in /etc/unbound/unbound.conf, aborted"
- exit 6
+stop() {
+ if [ ! -r $PIDFILE ]; then
+ echo 'Unbound is not running.'
+ return
fi
- stop
- start
+ echo "Stopping Unbound..."
+ kill `cat $PIDFILE`
+ rm -f $PIDFILE
}
reload() {
- restart
+ if [ ! -r $PIDFILE ]; then
+ echo 'Unbound is not running.'
+ return
+ fi
+ echo "Sending SIGHUP to Unbound..."
+ kill -HUP `cat $PIDFILE`
}
case "$1" in
- start)
+ 'start')
start
;;
- stop)
+ 'stop')
stop
;;
- restart)
- restart
+ 'restart')
+ stop
+ sleep 1
+ start
+ ;;
+ 'generate-key')
+ anchorkeygen
+ ;;
+ 'check-config')
+ checkconfig
+ ;;
+ 'reload')
+ reload
;;
*)
- echo $"Usage: $0 {start|stop|restart}"
- exit 2
+ echo "Usage: $0 {start|stop|reload|restart|generate-key|check-config}"
+ exit 1
+ ;;
esac
-exit $?
diff --git a/network/unbound/root.hints b/network/unbound/root.hints
new file mode 100644
index 0000000000..280ab06683
--- /dev/null
+++ b/network/unbound/root.hints
@@ -0,0 +1,92 @@
+; This file holds the information on root name servers needed to
+; initialize cache of Internet domain name servers
+; (e.g. reference this file in the "cache . <file>"
+; configuration file of BIND domain name servers).
+;
+; This file is made available by InterNIC
+; under anonymous FTP as
+; file /domain/named.cache
+; on server FTP.INTERNIC.NET
+; -OR- RS.INTERNIC.NET
+;
+; last update: March 25, 2024
+; related version of root zone: 2024032501
+;
+; FORMERLY NS.INTERNIC.NET
+;
+. 3600000 NS A.ROOT-SERVERS.NET.
+A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
+A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:ba3e::2:30
+;
+; FORMERLY NS1.ISI.EDU
+;
+. 3600000 NS B.ROOT-SERVERS.NET.
+B.ROOT-SERVERS.NET. 3600000 A 170.247.170.2
+B.ROOT-SERVERS.NET. 3600000 AAAA 2801:1b8:10::b
+;
+; FORMERLY C.PSI.NET
+;
+. 3600000 NS C.ROOT-SERVERS.NET.
+C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
+C.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2::c
+;
+; FORMERLY TERP.UMD.EDU
+;
+. 3600000 NS D.ROOT-SERVERS.NET.
+D.ROOT-SERVERS.NET. 3600000 A 199.7.91.13
+D.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2d::d
+;
+; FORMERLY NS.NASA.GOV
+;
+. 3600000 NS E.ROOT-SERVERS.NET.
+E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
+E.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:a8::e
+;
+; FORMERLY NS.ISC.ORG
+;
+. 3600000 NS F.ROOT-SERVERS.NET.
+F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
+F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
+;
+; FORMERLY NS.NIC.DDN.MIL
+;
+. 3600000 NS G.ROOT-SERVERS.NET.
+G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
+G.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:12::d0d
+;
+; FORMERLY AOS.ARL.ARMY.MIL
+;
+. 3600000 NS H.ROOT-SERVERS.NET.
+H.ROOT-SERVERS.NET. 3600000 A 198.97.190.53
+H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::53
+;
+; FORMERLY NIC.NORDU.NET
+;
+. 3600000 NS I.ROOT-SERVERS.NET.
+I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
+I.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fe::53
+;
+; OPERATED BY VERISIGN, INC.
+;
+. 3600000 NS J.ROOT-SERVERS.NET.
+J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
+J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:c27::2:30
+;
+; OPERATED BY RIPE NCC
+;
+. 3600000 NS K.ROOT-SERVERS.NET.
+K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
+K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
+;
+; OPERATED BY ICANN
+;
+. 3600000 NS L.ROOT-SERVERS.NET.
+L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
+L.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:9f::42
+;
+; OPERATED BY WIDE
+;
+. 3600000 NS M.ROOT-SERVERS.NET.
+M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
+M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
+; End of file \ No newline at end of file
diff --git a/network/unbound/unbound.SlackBuild b/network/unbound/unbound.SlackBuild
index b35d89548b..9a2dc3ce59 100644
--- a/network/unbound/unbound.SlackBuild
+++ b/network/unbound/unbound.SlackBuild
@@ -1,7 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for unbound
+# Slackware build script for Unbound
+# Copyright 2024 Badchay <badchay@protonmail.com>
+# All rights reserved.
# Copyright 2020 Gerardo Zamudio <gerardo.zamudio@linux.com> Mexico City, Mexico
# All rights reserved.
#
@@ -22,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unbound
-VERSION=${VERSION:-1.10.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.19.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,6 +83,12 @@ if ! grep -q ^"$UB_USER": /etc/passwd ; then
exit 1
fi
+# This needs to be set. Otherwise Unbound will build
+# against Python 2 on Slackware 15.0.
+# Setting this to "3" allows Unbound to build with
+# Python 3.9 and 3.11, depending which one is installed.
+UNB_PY_VERSION=${UNB_PY_VERSION:-3}
+
set -e
rm -rf $PKG
@@ -86,14 +104,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-if [ "${DNSCRYPT:-no}" == "yes" ]; then
- DNSCRYPT="--enable-dnscrypt"
-else
- DNSCRYPT=""
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+PYTHON_VERSION="$UNB_PY_VERSION" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -103,14 +116,23 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-libevent \
--with-ssl \
+ --enable-dnscrypt \
+ --disable-static \
+ --enable-sha2 \
+ --enable-subnet \
+ --with-pythonmodule \
+ --with-pyunbound \
--with-username=$UB_USER \
- --with-pidfile=/var/run/unbound/unbound.pid \
+ --with-pidfile=/run/unbound/unbound.pid \
+ --with-rootkey-file=/var/lib/unbound/root.key \
--build=$ARCH-slackware-linux \
- $DNSCRYPT
+ --host=$ARCH-slackware-linux \
make
make install DESTDIR=$PKG
+rm -f --verbose $PKG/usr/lib${LIBDIRSUFFIX}/libunbound.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -118,17 +140,67 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/CREDITS doc/FEATURES doc/LICENSE doc/README* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/var/run/unbound
-chown $USER:$GROUP $PKG/var/run/unbound/
-install -m 0640 -D doc/example.conf.in $PKG/etc/unbound/unbound.conf.new
+cp -a doc/README* doc/FEATURES doc/CREDITS doc/TODO $PKG/usr/doc/$PRGNAM-$VERSION
+
+# Shorten the Changelog and restore its timestamp
+head -n 500 doc/Changelog > $PKG/usr/doc/$PRGNAM-$VERSION/Changelog
+touch -r doc/Changelog $PKG/usr/doc/$PRGNAM-$VERSION/Changelog
+
+# Save the upstream unbound.conf and set some reasonable defaults:
+# 1) Set the default log path to /var/log/unbound/
+# 2) Enable Unbound control interface. It's used for logrotate script
+# but also gives you the power to control your process without
+# restarts/reloads. It binds to localhost and cannot be used by
+# unprivileged users.
+# 3) Change timestamps to ASCII format (from Epoch).
+# 4) Turn off chroot.
+# 5) Disable systemd socket activation.
+# 6) Set num-threads to $(nproc).
+# 7) Use root-hints file.
+# 8) Set DNS prefetch to "yes".
+# 9) Harden against out of zone rrsets (harden-glue).
+# 10) Harden against receiving dnssec-stripped data (harden-dnssec-stripped).
+# 11) Enable aggressive NSEC, root-key-sentinel and RFC8145 (trust anchor
+# signaling).
+cp -a $PKG/etc/unbound/unbound.conf $PKG/etc/unbound/unbound.conf.upstream
+sed -i \
+-e 's/# control-interface:/control-interface:/g' \
+-e 's/# control-enable: no/control-enable: yes/g' \
+-e 's/# log-time-ascii: no/log-time-ascii: yes/g' \
+-e 's/# use-systemd: no/use-systemd: no/g' \
+-e 's/# logfile: ""/logfile: "\/var\/log\/unbound\/unbound.log"/g' \
+-e 's/# chroot: "\/etc\/unbound"/chroot: ""/g' \
+-e 's/# num-threads: 1/num-threads: '$(nproc)' # Set to the value of nproc by SlackBuild/g' \
+-e 's/# root-hints: ""/root-hints: "\/var\/lib\/unbound\/root.hints"/g' \
+-e 's/# prefetch: no/prefetch: yes/g' \
+-e 's/# harden-glue: yes/harden-glue: yes/g' \
+-e 's/# harden-dnssec-stripped: yes/harden-dnssec-stripped: yes/g' \
+-e 's/# aggressive-nsec: yes/aggressive-nsec: yes/g' \
+-e 's/# trust-anchor-signaling: yes/trust-anchor-signaling: yes/g' \
+-e 's/# root-key-sentinel: yes/root-key-sentinel: yes/g' \
+-e '/# auto-trust-anchor-file: ".*/a\ auto-trust-anchor-file: "/var/lib/unbound/root.key"' \
+$PKG/etc/unbound/unbound.conf \
+
+mkdir -p $PKG/run/unbound
+mkdir -p $PKG/var/log/unbound
+mkdir -p $PKG/var/lib/unbound
+mkdir -p $PKG/etc/logrotate.d
+
+chown $UB_USER:$UB_GROUP $PKG/run/unbound/
+chown $UB_USER:$UB_GROUP $PKG/var/log/unbound/
+chown $UB_USER:$UB_GROUP $PKG/var/lib/unbound/
+
+cp -a $CWD/unbound.logrotate $PKG/etc/logrotate.d/unbound.new
+cp -a $CWD/root.hints $PKG/var/lib/unbound/root.hints
+chown $UB_USER:$UB_GROUP $PKG/var/lib/unbound/root.hints
+chown root:root $PKG/etc/logrotate.d/unbound.new
+mv $PKG/etc/unbound/unbound.conf $PKG/etc/unbound/unbound.conf.new
install -m 0644 -D $CWD/rc.unbound $PKG/etc/rc.d/rc.unbound.new
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/unbound/unbound.info b/network/unbound/unbound.info
index 467b1fbcc6..d17666a509 100644
--- a/network/unbound/unbound.info
+++ b/network/unbound/unbound.info
@@ -1,10 +1,10 @@
PRGNAM="unbound"
-VERSION="1.10.0"
+VERSION="1.19.3"
HOMEPAGE="https://nlnetlabs.nl/projects/unbound/about/"
-DOWNLOAD="https://nlnetlabs.nl/downloads/unbound/unbound-1.10.0.tar.gz"
-MD5SUM="0754392baee77c18fd8295b5e51e6fd8"
+DOWNLOAD="https://www.nlnetlabs.nl/downloads/unbound/unbound-1.19.3.tar.gz"
+MD5SUM="00bf61460c87c2542bcb68d52a2e5195"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ldns"
-MAINTAINER="Gerardo Zamudio"
-EMAIL="gerardo.zamudio@linux.com"
+REQUIRES=""
+MAINTAINER="Badchay"
+EMAIL="badchay@protonmail.com"
diff --git a/network/unbound/unbound.logrotate b/network/unbound/unbound.logrotate
new file mode 100644
index 0000000000..a00c8f0951
--- /dev/null
+++ b/network/unbound/unbound.logrotate
@@ -0,0 +1,11 @@
+/var/log/unbound/unbound.log {
+ su unbound unbound
+ notifempty
+ missingok
+ rotate 7
+ postrotate
+ # Try using unbound-control to start a new log
+ # On fail, fall back to using a HUP signal
+ /usr/sbin/unbound-control log_reopen || bash /etc/rc.d/rc.unbound reload
+ endscript
+}
diff --git a/network/unicornscan/unicornscan.SlackBuild b/network/unicornscan/unicornscan.SlackBuild
index 7c625a8490..d6aa2c22ea 100644
--- a/network/unicornscan/unicornscan.SlackBuild
+++ b/network/unicornscan/unicornscan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unicornscan
# Happy Birthday Jack! :)
@@ -23,29 +23,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unicornscan
VERSION=${VERSION:-0.4.7_2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(echo $VERSION | tr _ -)
SHORTVER=$(echo $VERSION | sed 's/_.*//')
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -114,4 +124,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/unicornscan/unicornscan.info b/network/unicornscan/unicornscan.info
index 22affc3aeb..adecec5e28 100644
--- a/network/unicornscan/unicornscan.info
+++ b/network/unicornscan/unicornscan.info
@@ -1,10 +1,10 @@
PRGNAM="unicornscan"
VERSION="0.4.7_2"
HOMEPAGE="https://sectools.org/tool/unicornscan/"
-DOWNLOAD="ftp://sourceforge.mirrorservice.org/sites/downloads.sourceforge.net/o/os/osace/unicornscan/unicornscan%20-%200.4.7%20source/unicornscan-0.4.7-2.tar.bz2"
+DOWNLOAD="https://sourceforge.net/projects/osace/files/unicornscan/unicornscan%20-%200.4.7%20source/unicornscan-0.4.7-2.tar.bz2"
MD5SUM="4c5f272eb38c333c0094c32317edf758"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="postgresql GeoIP php-pgsql"
+REQUIRES="GeoIP php-pgsql"
MAINTAINER="Robert E. Lee"
EMAIL="robert_at_loveathome.us"
diff --git a/network/uredir/README b/network/uredir/README
new file mode 100644
index 0000000000..561e234c61
--- /dev/null
+++ b/network/uredir/README
@@ -0,0 +1,12 @@
+uredir (userspace UDP port redirector)
+
+uredir is a small tool to redirect UDP traffic. It can be used as a
+poor man's filtering tool, e.g. for small multihomed embedded systems
+without a built-in firewall.
+
+uredir forwards packets to a specified destination, remembering the
+sender's address. Any packets received from the destination are in
+turn forwarded to the sender.
+
+uredir can be run standalone or via inetd. See uredir's man page for
+details.
diff --git a/network/uredir/slack-desc b/network/uredir/slack-desc
new file mode 100644
index 0000000000..f65eb0c5ec
--- /dev/null
+++ b/network/uredir/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+uredir: uredir (userspace UDP port redirector)
+uredir:
+uredir: uredir is a small tool to redirect UDP traffic. It can be used as a
+uredir: poor man's filtering tool, e.g. for small multihomed embedded systems
+uredir: without a built-in firewall.
+uredir:
+uredir: uredir forwards packets to a specified destination, remembering the
+uredir: sender's address. Any packets received from the destination are in
+uredir: turn forwarded to the sender.
+uredir:
+uredir:
diff --git a/network/uredir/uredir.SlackBuild b/network/uredir/uredir.SlackBuild
new file mode 100644
index 0000000000..70b51e4b0b
--- /dev/null
+++ b/network/uredir/uredir.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for uredir
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=uredir
+VERSION=${VERSION:-3.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# This thing depends on a library nothing else uses, just bundle it.
+LIBNAM=libuev
+LIBVER=${LIBVER:-2.4.0}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+TOPDIR="$(pwd)"
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$LIBNAM-$LIBVER.tar.xz
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# First the library (static build):
+cd $LIBNAM-$LIBVER
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --enable-static \
+ --disable-shared \
+ --prefix="$TOPDIR/libinst" \
+ --disable-doxygen-doc \
+ --disable-examples \
+ --build=$ARCH-slackware-linux
+make
+make install-strip
+
+# Now use it to build the main program:
+cd $TOPDIR/$PRGNAM-$VERSION
+
+PKG_CONFIG_PATH="$TOPDIR/libinst/lib/pkgconfig:$PKG_CONFIG_PATH" \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*.?
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uredir/uredir.info b/network/uredir/uredir.info
new file mode 100644
index 0000000000..ad848d55fc
--- /dev/null
+++ b/network/uredir/uredir.info
@@ -0,0 +1,12 @@
+PRGNAM="uredir"
+VERSION="3.3"
+HOMEPAGE="https://github.com/troglobit/uredir"
+DOWNLOAD="https://github.com/troglobit/uredir/releases/download/v3.3/uredir-3.3.tar.gz \
+ https://github.com/troglobit/libuev/releases/download/v2.4.0/libuev-2.4.0.tar.xz"
+MD5SUM="a42ee27e84de2e08e35ee733508bb6ea \
+ 707fac6253f3a4f662ec3848798ae63f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/urlgrabber/README b/network/urlgrabber/README
index 748e0faf99..f3ca7d636c 100644
--- a/network/urlgrabber/README
+++ b/network/urlgrabber/README
@@ -1,7 +1,7 @@
-urlgrabber is a pure python package that drastically simplifies the fetching of
-files. It is designed to be used in programs that need common (but not
-necessarily simple) url-fetching features. It is extremely simple to drop into
-an existing program and provides a clean interface to protocol-independant
-file-access. Best of all, urlgrabber takes care of all those pesky
-file-fetching details, and lets you focus on whatever it is that your program
-is written to do!
+urlgrabber is a pure python package that drastically simplifies the
+fetching of files. It is designed to be used in programs that need
+common (but not necessarily simple) url-fetching features. It is
+extremely simple to drop into an existing program and provides a clean
+interface to protocol-independent file-access. Best of all, urlgrabber
+takes care of all those pesky file-fetching details, and lets you
+focus on whatever it is that your program is written to do!
diff --git a/network/urlgrabber/urlgrabber.SlackBuild b/network/urlgrabber/urlgrabber.SlackBuild
index b629712bab..74a5811ee2 100644
--- a/network/urlgrabber/urlgrabber.SlackBuild
+++ b/network/urlgrabber/urlgrabber.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urlgrabber
@@ -25,10 +25,13 @@
# modified by Javier Rojas to fit urlgrabber
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=urlgrabber
VERSION=${VERSION:-3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/urlscan/README b/network/urlscan/README
index b108ec74b6..c3273d2e2a 100644
--- a/network/urlscan/README
+++ b/network/urlscan/README
@@ -1,8 +1,7 @@
-
-Urlscan parses an email message or file and scans it for URLs and email addresses.
-It then displays the URLs and their context within the message,
-and allows you to choose one or more URLs to send to your Web browser.
-Alternatively, it send a list of all URLs to stdout.
+Urlscan parses an email message or file and scans it for URLs and
+email addresses. It then displays the URLs and their context within
+the message, and allows you to choose one or more URLs to send to your
+Web browser. Alternatively, it send a list of all URLs to stdout.
Relative to urlview, urlscan has the following additional features:
@@ -17,11 +16,14 @@ Relative to urlview, urlscan has the following additional features:
* Incremental case-insensitive search with /.
* Execute an arbitrary function (for example, copy URL to clipboard)
instead of opening URL in a browser.
-* Use l to cycle through whether URLs are opened using the Python webbrowser module (default),
- xdg-open (if installed) or opened by a function passed on the command line with --run.
+* Use l to cycle through whether URLs are opened using the Python
+ webbrowser module (default), xdg-open (if installed) or opened by
+ a function passed on the command line with --run.
* Configure colors and keybindings via ~/.config/urlscan/config.json.
Generate default config file for editing by running urlscan -g.
Cycle through available palettes with p.
-* Copy URL to clipboard with C or to primary selection with P. Requires xsel or xclip.
-* Run a command with the selected URL as the argument or pipe the selected URL to a command.
+* Copy URL to clipboard with C or to primary selection with P.
+ Requires xsel or xclip.
+* Run a command with the selected URL as the argument or pipe the
+ selected URL to a command.
* Show complete help menu with F1. Hide header on startup with --nohelp.
diff --git a/network/urlscan/urlscan.SlackBuild b/network/urlscan/urlscan.SlackBuild
index 3ab9b11d11..87f2633700 100644
--- a/network/urlscan/urlscan.SlackBuild
+++ b/network/urlscan/urlscan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urlscan
# Copyright 2020 abooksigun <abooksigun09@gmail.com>
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=urlscan
VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/urlscan/urlscan.info b/network/urlscan/urlscan.info
index 8ca34f658a..26329755bd 100644
--- a/network/urlscan/urlscan.info
+++ b/network/urlscan/urlscan.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/firecat53/urlscan/archive/0.9.5/urlscan-0.9.5.tar.g
MD5SUM="6b9434208dbcfd12dd4dde74b4b41b21"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-urwid"
+REQUIRES="python-urwid"
MAINTAINER="abooksigun"
EMAIL="abooksigun09@gmail.com"
diff --git a/network/urlview/README b/network/urlview/README
index a89983e2c4..79360f7388 100644
--- a/network/urlview/README
+++ b/network/urlview/README
@@ -2,9 +2,9 @@ urlview is a curses program for extracting URLs from text files and
displaying a menu from which you can select a specific URL to view using
your favorite browser program.
-It was originally part of mutt. See /etc/urlview.conf on how to configure
-mutt, tin, or your default browser.
+It was originally part of mutt. See /etc/urlview.conf on how to
+configure mutt, tin, or your default browser.
-Please be aware that /etc/urlview.conf and /usr/bin/url_handler.sh are
-configuration files, so they are not overwritten on upgrades. Be sure to
-merge/move the .new files after each upgrade.
+Please be aware that /etc/urlview.conf and /usr/bin/url_handler.sh are
+configuration files, so they are not overwritten on upgrades. Be sure
+to merge/move the .new files after each upgrade.
diff --git a/network/urlview/urlview.SlackBuild b/network/urlview/urlview.SlackBuild
index 4e3beb4772..c85b2b77c6 100644
--- a/network/urlview/urlview.SlackBuild
+++ b/network/urlview/urlview.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for urlview
# (C) 2007 Michael Wagner <lapinours@web.de>
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=urlview
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/urlwatch/README b/network/urlwatch/README
index 79df2edbaf..35a5465268 100644
--- a/network/urlwatch/README
+++ b/network/urlwatch/README
@@ -5,6 +5,3 @@ The change notification will include the URL that has changed and
a unified diff of what has changed.
Optional dependencies: chump
-
-NOTE:
-Please install python3 first before installing all other requirements.
diff --git a/network/urlwatch/urlwatch.SlackBuild b/network/urlwatch/urlwatch.SlackBuild
index 40544787b4..ecbfa90494 100644
--- a/network/urlwatch/urlwatch.SlackBuild
+++ b/network/urlwatch/urlwatch.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urlwatch
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=urlwatch
-VERSION=${VERSION:-2.12}
+VERSION=${VERSION:-2.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,7 +88,7 @@ mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING CHANGELOG.md README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/urlwatch/urlwatch.info b/network/urlwatch/urlwatch.info
index aa22192376..1928730232 100644
--- a/network/urlwatch/urlwatch.info
+++ b/network/urlwatch/urlwatch.info
@@ -1,10 +1,10 @@
PRGNAM="urlwatch"
-VERSION="2.12"
+VERSION="2.28"
HOMEPAGE="https://thp.io/2008/urlwatch/"
-DOWNLOAD="https://files.pythonhosted.org/packages/26/33/b8e646660776965f46bc8de7f3182e1a18d369da6206954a8556c32ae246/urlwatch-2.12.tar.gz"
-MD5SUM="92bd607954eb8ce43166a114c3ab6bf2"
+DOWNLOAD="https://files.pythonhosted.org/packages/ef/6d/28df22a0912d40e294cfde709ead82e36441018ff9c0137c9e768ce9084e/urlwatch-2.28.tar.gz"
+MD5SUM="a6cd0d5e84c2f4748a7e3b5da2bd9ed6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-PyYAML minidb python-requests python-keyring python3-appdirs pycodestyle"
+REQUIRES="minidb python3-keyring pycodestyle"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/uudeview/README b/network/uudeview/README
index 788e19beab..4ab3d1aa98 100644
--- a/network/uudeview/README
+++ b/network/uudeview/README
@@ -1,8 +1,8 @@
-UUDeview is a program that helps you transmit and receive binary files over
-the Internet, using electronic mail or newsgroups The UUDeview package
-includes both an encoder and a decoder. The decoder automatically detects
-the type of encoding used, offering MIME's Base64 and BinHex as well as the
-popular uuencoding and the less frequently used xxencoding methods.
-Recently, support for the popular yEnc encoding was also added. The encoder
-runs the other way around and encodes a binary file for sending it by mail
-or news.
+UUDeview is a program that helps you transmit and receive binary
+files over the Internet, using electronic mail or newsgroups The
+UUDeview package includes both an encoder and a decoder. The decoder
+automatically detects the type of encoding used, offering MIME's
+Base64 and BinHex as well as the popular uuencoding and the less
+frequently used xxencoding methods. Recently, support for the popular
+yEnc encoding was also added. The encoder runs the other way around
+and encodes a binary file for sending it by mail or news.
diff --git a/network/uudeview/patches/025_CAN-2004-2265.diff b/network/uudeview/patches/025_CAN-2004-2265.diff
new file mode 100644
index 0000000000..d89ef9a098
--- /dev/null
+++ b/network/uudeview/patches/025_CAN-2004-2265.diff
@@ -0,0 +1,42 @@
+Description: CAN-2004-2265
+ Fix possible (but highly unlikely) race in temporary file generation
+ (CAN-2004-2265), by passing the "x" (O_EXCL) flag to fopen when opening
+ such files. (Closes: #320541)
+ 0.5.20-2.1
+Author: Steinar H. Gunderson <sesse@debian.org>
+Bug-Debian: http://bugs.debian.org/320541
+
+--- a/unix/uudeview.c
++++ b/unix/uudeview.c
+@@ -454,7 +454,7 @@ proc_stdin (void)
+ return 0;
+ }
+
+- if ((target = fopen (stdfile, "wb")) == NULL) {
++ if ((target = fopen (stdfile, "wbx")) == NULL) {
+ fprintf (stderr, "proc_stdin: cannot open temp file %s for writing: %s\n",
+ stdfile, strerror (errno));
+ _FP_free (stdfile);
+--- a/uulib/uunconc.c
++++ b/uulib/uunconc.c
+@@ -1325,9 +1325,9 @@ UUDecode (uulist *data)
+ return UURET_NODATA;
+
+ if (data->uudet == PT_ENCODED)
+- mode = "wt"; /* open text files in text mode */
++ mode = "wtx"; /* open text files in text mode */
+ else
+- mode = "wb"; /* otherwise in binary */
++ mode = "wbx"; /* otherwise in binary */
+
+ if ((data->binfile = tempnam (NULL, "uu")) == NULL) {
+ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
+@@ -1502,7 +1502,7 @@ UUDecode (uulist *data)
+ progress.action = 0;
+ return UURET_NOMEM;
+ }
+- if ((datain = fopen (data->binfile, "rb")) == NULL) {
++ if ((datain = fopen (data->binfile, "rbx")) == NULL) {
+ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
+ uustring (S_NOT_OPEN_FILE),
+ data->binfile, strerror (uu_errno = errno));
diff --git a/network/uudeview/patches/034_do_not_ignore_special_chars.diff b/network/uudeview/patches/034_do_not_ignore_special_chars.diff
new file mode 100644
index 0000000000..4ee32469fb
--- /dev/null
+++ b/network/uudeview/patches/034_do_not_ignore_special_chars.diff
@@ -0,0 +1,22 @@
+Description: Don't ignore special chars when parsing MIME.
+ 0.5.20-3
+Author: Chris Hanson
+Bug-Debian: https://bugs.debian.org/341440
+
+--- a/uulib/uuscan.c
++++ b/uulib/uuscan.c
+@@ -387,10 +387,10 @@ ParseValue (char *attribute)
+ *attribute != '(' && *attribute != ')' &&
+ *attribute != '<' && *attribute != '>' &&
+ *attribute != '@' && *attribute != ',' &&
+- /* *attribute != ';' && */ *attribute != ':' &&
+- *attribute != '\\' &&*attribute != '"' &&
+- *attribute != '/' && /* *attribute != '[' &&
+- *attribute != ']' && */ *attribute != '?' &&
++ *attribute != ';' && *attribute != ':' &&
++ *attribute != '\\' && *attribute != '"' &&
++ *attribute != '/' && *attribute != '[' &&
++ *attribute != ']' && *attribute != '?' &&
+ *attribute != '=' && length < 255) {
+ *ptr++ = *attribute++;
+ length++;
diff --git a/network/uudeview/patches/037_CVE-2008-2266_symlink.diff b/network/uudeview/patches/037_CVE-2008-2266_symlink.diff
new file mode 100644
index 0000000000..7a74e4792c
--- /dev/null
+++ b/network/uudeview/patches/037_CVE-2008-2266_symlink.diff
@@ -0,0 +1,182 @@
+Description: Fixed a classical tempfile symlink attack vulnerability in libuu.
+ See Version: 0.5.20-3.1.
+Author: Nico Golde <nion@debian.org>
+Bug-Debian: http://bugs.debian.org/480972
+
+--- a/uulib/uunconc.c
++++ b/uulib/uunconc.c
+@@ -1311,6 +1311,11 @@ UUDecode (uulist *data)
+ char *mode, *ntmp;
+ uufile *iter;
+ size_t bytes;
++#ifdef HAVE_MKSTEMP
++ int tmpfd;
++ const char *tmpprefix = "uuXXXXXX";
++ char *tmpdir = NULL;
++#endif /* HAVE_MKSTEMP */
+
+ if (data == NULL || data->thisfile == NULL)
+ return UURET_ILLVAL;
+@@ -1329,13 +1334,35 @@ UUDecode (uulist *data)
+ else
+ mode = "wbx"; /* otherwise in binary */
+
++#ifdef HAVE_MKSTEMP
++ if ((getuid()==geteuid()) && (getgid()==getegid())) {
++ tmpdir=getenv("TMPDIR");
++ }
++
++ if (!tmpdir) {
++ tmpdir = "/tmp";
++ }
++ data->binfile = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
++
++ if (!data->binfile) {
++#else
+ if ((data->binfile = tempnam (NULL, "uu")) == NULL) {
++#endif /* HAVE_MKSTEMP */
+ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
+ uustring (S_NO_TEMP_NAME));
+ return UURET_NOMEM;
+ }
+
++#ifdef HAVE_MKSTEMP
++ strcpy(data->binfile, tmpdir);
++ strcat(data->binfile, "/");
++ strcat(data->binfile, tmpprefix);
++
++ if ((tmpfd = mkstemp(data->binfile)) == -1 ||
++ (dataout = fdopen(tmpfd, mode)) == NULL) {
++#else
+ if ((dataout = fopen (data->binfile, mode)) == NULL) {
++#endif /* HAVE_MKSTEMP */
+ /*
+ * we couldn't create a temporary file. Usually this means that TMP
+ * and TEMP aren't set
+@@ -1343,6 +1370,12 @@ UUDecode (uulist *data)
+ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
+ uustring (S_WR_ERR_TARGET),
+ data->binfile, strerror (uu_errno = errno));
++#ifdef HAVE_MKSTEMP
++ if (tmpfd != -1) {
++ unlink(data->binfile);
++ close(tmpfd);
++ }
++#endif /* HAVE_MKSTEMP */
+ _FP_free (data->binfile);
+ data->binfile = NULL;
+ uu_errno = errno;
+@@ -1499,7 +1532,13 @@ UUDecode (uulist *data)
+ */
+
+ if (data->uudet == BH_ENCODED && data->binfile) {
++#ifdef HAVE_MKSTEMP
++ ntmp = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
++
++ if (ntmp == NULL) {
++#else
+ if ((ntmp = tempnam (NULL, "uu")) == NULL) {
++#endif /* HAVE_MKSTEMP */
+ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
+ uustring (S_NO_TEMP_NAME));
+ progress.action = 0;
+@@ -1513,15 +1552,31 @@ UUDecode (uulist *data)
+ free (ntmp);
+ return UURET_IOERR;
+ }
++
++#ifdef HAVE_MKSTEMP
++ strcpy(ntmp, tmpdir);
++ strcat(ntmp, "/");
++ strcat(ntmp, tmpprefix);
++ if ((tmpfd = mkstemp(ntmp)) == -1 ||
++ (dataout = fdopen(tmpfd, "wb")) == NULL) {
++#else
+ if ((dataout = fopen (ntmp, "wb")) == NULL) {
++#endif /* HAVE_MKSTEMP */
+ UUMessage (uunconc_id, __LINE__, UUMSG_ERROR,
+ uustring (S_NOT_OPEN_TARGET),
+ ntmp, strerror (uu_errno = errno));
+ progress.action = 0;
+ fclose (datain);
++#ifdef HAVE_MKSTEMP
++ if (tmpfd != -1) {
++ unlink(ntmp);
++ close(tmpfd);
++ }
++#endif /* HAVE_MKSTEMP */
+ free (ntmp);
+ return UURET_IOERR;
+ }
++
+ /*
+ * read fork lengths. remember they're in Motorola format
+ */
+--- a/uulib/configure.in
++++ b/uulib/configure.in
+@@ -41,6 +41,7 @@ AC_CHECK_HEADERS(io.h sys/time.h)
+ AC_CHECK_FUNCS(gettimeofday)
+
+ AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,_FP_tempnam))
++AC_CHECK_FUNCS([mkstemp])
+
+ #
+ # strerror might be internally defined. this would cause a
+--- a/unix/uudeview.c
++++ b/unix/uudeview.c
+@@ -443,18 +443,45 @@ proc_stdin (void)
+ FILE *target;
+ size_t bytes;
+ int res;
++#ifdef HAVE_MKSTEMP
++ int tmpfd;
++ const char *tmpprefix = "uuXXXXXX";
++ char *tmpdir = NULL;
++#endif /* HAVE_MKSTEMP */
+
+ if (stdinput) {
+ fprintf (stderr, "proc_stdin: cannot process stdin twice\n");
+ return 0;
+ }
+
++#ifdef HAVE_MKSTEMP
++ if ((getuid()==geteuid()) && (getgid()==getegid())) {
++ tmpdir=getenv("TMPDIR");
++ }
++
++ if (!tmpdir) {
++ tmpdir = "/tmp";
++ }
++ stdfile = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
++
++ if (!stdfile) {
++#else
+ if ((stdfile = tempnam (NULL, "uu")) == NULL) {
++#endif
+ fprintf (stderr, "proc_stdin: cannot get temporary file\n");
+ return 0;
+ }
+
++#ifdef HAVE_MKSTEMP
++ strcpy(stdfile, tmpdir);
++ strcat(stdfile, "/");
++ strcat(stdfile, tmpprefix);
++
++ if ((tmpfd = mkstemp(stdfile)) == -1 ||
++ (target = fdopen(tmpfd, "wbx")) == NULL) {
++#else
+ if ((target = fopen (stdfile, "wbx")) == NULL) {
++#endif
+ fprintf (stderr, "proc_stdin: cannot open temp file %s for writing: %s\n",
+ stdfile, strerror (errno));
+ _FP_free (stdfile);
+--- a/configure.in
++++ b/configure.in
+@@ -510,6 +510,7 @@ AC_CHECK_HEADERS(io.h sys/time.h)
+ AC_CHECK_FUNCS(getcwd popen gettimeofday isatty)
+
+ AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,_FP_tempnam))
++AC_CHECK_FUNCS([mkstemp])
+
+ #
+ # strerror might be internally defined. this would cause a
diff --git a/network/uudeview/patches/043_string_format_issue.diff b/network/uudeview/patches/043_string_format_issue.diff
new file mode 100644
index 0000000000..7cbc584f5b
--- /dev/null
+++ b/network/uudeview/patches/043_string_format_issue.diff
@@ -0,0 +1,24 @@
+Description: Fix potential security issue (arbitrary string being passed
+ as a format string to fprintf).
+Author: Andrew Shadura <andrewsh@debian.org>
+
+--- a/unix/uuenview.c
++++ b/unix/uuenview.c
+@@ -310,7 +310,7 @@ SendMkCommand (char **rcptlist, char *to
+ }
+
+ if ((*rcptlist = (char *) malloc (strlen (towhom) + 16)) == NULL) {
+- fprintf (stderr, "error: Out of memory allocating %d bytes\n",
++ fprintf (stderr, "error: Out of memory allocating %zd bytes\n",
+ strlen (towhom)+16);
+ _FP_free (command);
+ return NULL;
+@@ -483,7 +483,7 @@ AttachFiles (char *towhom, char *subject
+ if (_FP_stristr (input, "multipart") != NULL) {
+ /* it is already a multipart posting. grab the boundary */
+ if ((ptr = _FP_stristr (input, "boundary=")) != NULL) {
+- fprintf(thepipe, input);
++ fprintf(thepipe, "%s", input);
+ strcpy (boundary, ParseValue (ptr));
+ hadmulti = 1;
+ }
diff --git a/network/uudeview/patches/049_glibc_2.27.diff b/network/uudeview/patches/049_glibc_2.27.diff
new file mode 100644
index 0000000000..1c41fd5c3c
--- /dev/null
+++ b/network/uudeview/patches/049_glibc_2.27.diff
@@ -0,0 +1,20 @@
+Description: Remove a hack for Sun that causes FTBFS with glibc >= 2.27
+Author: Adrian Bunk <bunk@debian.org>
+
+--- uudeview-0.5.20.orig/tcl/uutcl.c
++++ uudeview-0.5.20/tcl/uutcl.c
+@@ -48,14 +48,6 @@
+ #include <tcl.h>
+ #endif
+
+-/*
+- * The following variable is a special hack that is needed in order for
+- * Sun shared libraries to be used for Tcl.
+- */
+-
+-extern int matherr();
+-int *tclDummyMathPtr = (int *) matherr;
+-
+ #include <uudeview.h>
+ #include <uuint.h>
+ #include <fptools.h>
diff --git a/network/uudeview/uudeview.SlackBuild b/network/uudeview/uudeview.SlackBuild
index f550902a6b..f9b72291be 100644
--- a/network/uudeview/uudeview.SlackBuild
+++ b/network/uudeview/uudeview.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uudeview
@@ -7,26 +7,38 @@
# Released into the public domain
# V1 - Slackware 13.37 - November 13, 2011
+# 20220319 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix build on 32-bit.
+# - fix Tcl/Tk autodetection on 64-bit.
+# - add some security patches from Debian.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uudeview
VERSION=${VERSION:-0.5.20}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -50,9 +62,14 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
+
+# 20220319 bkw: These patches came from: https://packages.debian.org/sid/uudeview
+for i in $CWD/patches/*.diff; do
+ patch -p1 < $i
+done
# NOTE - uudeview does not honor the DESTDIR variable, which is why the $PKG
# location is prefixed below when running configure
@@ -62,6 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=$PKG/usr \
--mandir=$PKG/usr/man \
+ --enable-tcl=/usr/lib$LIBDIRSUFFIX \
+ --enable-tk=/usr/lib$LIBDIRSUFFIX \
--build=$ARCH-slackware-linux
make
@@ -83,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uwsgi/README b/network/uwsgi/README
index 237dee5845..1f418583da 100644
--- a/network/uwsgi/README
+++ b/network/uwsgi/README
@@ -10,6 +10,5 @@ uWSGI is designed to be fully modular. This means that different
plugins can be used in order to add compatibility with tons of different
technology on top of the same core.
-This script builds plugins for Python 2.x, Python 3.x (optional, pass
-PYTHON3=yes to enable; requires python3 to be installed), Perl PSGI, and
+This script builds plugins for Python 2.x, Python 3.x, Perl PSGI, and
Ruby Rack.
diff --git a/network/uwsgi/uwsgi.SlackBuild b/network/uwsgi/uwsgi.SlackBuild
index 1fb3e662f3..90795bf5ca 100644
--- a/network/uwsgi/uwsgi.SlackBuild
+++ b/network/uwsgi/uwsgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uwsgi
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uwsgi
-VERSION=${VERSION:-2.0.15}
+VERSION=${VERSION:-2.0.25.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,17 +59,19 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-# Build Python 2.x plugin.
-PYTHON=${PYTHON:-yes}
+# Python2 plugin.
+PYTHON2=${PYTHON2:-yes}
-# Set this to "yes" if you want to build a plugin for Python 3.x. Requires
-# python3 to be installed.
-PYTHON3=${PYTHON3:-no}
+# Python3 plugin.
+PYTHON3=${PYTHON3:-yes}
# Perl PSGI plugin.
PSGI=${PSGI:-yes}
@@ -92,7 +104,7 @@ EOF
# Build uWSGI core.
CFLAGS="$SLKCFLAGS" \
-python uwsgiconfig.py --build package
+python3 uwsgiconfig.py --build package
install -D -m 0755 uwsgi $PKG/usr/bin/uwsgi
# Create directory for plugins.
@@ -105,17 +117,20 @@ sed -i "s|= /usr|= $PKG/usr|" buildconf/package.ini
PLUGINS="cache ping rpc corerouter fastrouter http ugreen signal syslog"
# Decide which language plugins to build.
-[ "$PYTHON" = "yes" ] && PLUGINS="$PLUGINS python"
[ "$PSGI" = "yes" ] && PLUGINS="$PLUGINS psgi"
[ "$RACK" = "yes" ] && PLUGINS="$PLUGINS rack"
# Build plugins.
for PLUGIN in $PLUGINS ; do
CFLAGS="$SLKCFLAGS" \
- python uwsgiconfig.py --plugin plugins/$PLUGIN package
+ python3 uwsgiconfig.py --plugin plugins/$PLUGIN package
done
-
-# Use python3 to build plugin for it.
+# Use python2 to build python2 plugin
+if [ "$PYTHON2" = "yes" ]; then
+ CFLAGS="$SLKCFLAGS" \
+ python2 uwsgiconfig.py --plugin plugins/python package python
+fi
+# Use python3 to build python3 plugin
if [ "$PYTHON3" = "yes" ]; then
CFLAGS="$SLKCFLAGS" \
python3 uwsgiconfig.py --plugin plugins/python package python3
@@ -123,7 +138,7 @@ fi
# Create a few symlinks for automatic plugin loading.
( cd $PKG/usr/bin
- [ "$PYTHON" = "yes" ] && ln -sf uwsgi uwsgi_python || true
+ [ "$PYTHON2" = "yes" ] && ln -sf uwsgi uwsgi_python || true
[ "$PYTHON3" = "yes" ] && ln -sf uwsgi uwsgi_python3 || true
[ "$PSGI" = "yes" ] && ln -sf uwsgi uwsgi_psgi || true
[ "$RACK" = "yes" ] && ln -sf uwsgi uwsgi_rack || true
@@ -140,4 +155,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/uwsgi/uwsgi.info b/network/uwsgi/uwsgi.info
index 99428dd085..b77f7f8f47 100644
--- a/network/uwsgi/uwsgi.info
+++ b/network/uwsgi/uwsgi.info
@@ -1,8 +1,8 @@
PRGNAM="uwsgi"
-VERSION="2.0.15"
+VERSION="2.0.25.1"
HOMEPAGE="https://uwsgi-docs.readthedocs.io/"
-DOWNLOAD="https://projects.unbit.it/downloads/uwsgi-2.0.15.tar.gz"
-MD5SUM="fc50bd9e83b7602fa474b032167010a7"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/u/uwsgi/uwsgi-2.0.25.1.tar.gz"
+MD5SUM="920deefc852522a0563b2a1351b12b5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/vacuum-im/README b/network/vacuum-im/README
deleted file mode 100644
index e834ad94fc..0000000000
--- a/network/vacuum-im/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Vacuum IM - it is a free cross-platform Jabber-client
-written in Qt4. The fundamental difference from other
-cross-platform client is open, modular architecture,
-which allows the user to customize the functionality
-to meet specific needs, as well as use of the existing
-modules to develop your own.
-
diff --git a/network/vacuum-im/clientinfo.patch b/network/vacuum-im/clientinfo.patch
deleted file mode 100644
index 619f00d7db..0000000000
--- a/network/vacuum-im/clientinfo.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Index: src/plugins/clientinfo/clientinfo.cpp
-===================================================================
---- src/plugins/clientinfo/clientinfo.cpp (revision 1887)
-+++ src/plugins/clientinfo/clientinfo.cpp (working copy)
-@@ -2,6 +2,8 @@
-
- #include <QDir>
- #include <QProcess>
-+#include <QFile>
-+#include <QIODevice>
- #include <QFileInfo>
- #include <QTextStream>
-
-@@ -434,8 +436,23 @@
- }
- }
-
-+// Slackware detect
- if (osver.isEmpty())
- {
-+ QFile slackwarever("/etc/slackware-version");
-+ if (!slackwarever.open(QIODevice::ReadOnly | QIODevice::Text));
-+ QTextStream slackin(&slackwarever);
-+ while (!slackin.atEnd())
-+ {
-+ QString slackline = slackin.readLine();
-+ QString slackprocess_line(slackline);
-+ osver.append(slackprocess_line);
-+ }
-+ slackwarever.close();
-+ }
-+
-+ if (osver.isEmpty())
-+ {
- utsname buf;
- if (uname(&buf) != -1)
- {
diff --git a/network/vacuum-im/doinst.sh b/network/vacuum-im/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/vacuum-im/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/vacuum-im/slack-desc b/network/vacuum-im/slack-desc
deleted file mode 100644
index daed5906c5..0000000000
--- a/network/vacuum-im/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-vacuum-im: vacuum-im (free cross-platform Jabber-client)
-vacuum-im:
-vacuum-im: written in Qt4. The fundamental difference from other
-vacuum-im: cross-platform client is open, modular architecture,
-vacuum-im: which allows the user to customize the functionality
-vacuum-im: to meet specific needs, as well as use of the existing
-vacuum-im: modules to develop your own.
-vacuum-im:
-vacuum-im: homepage: http://www.vacuum-im.org
-vacuum-im:
-vacuum-im:
diff --git a/network/vacuum-im/vacuum-im.SlackBuild b/network/vacuum-im/vacuum-im.SlackBuild
deleted file mode 100644
index f1aa966a37..0000000000
--- a/network/vacuum-im/vacuum-im.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for vacuum-im
-
-# Copyright 2013-2016 Oleg A. Deordiev Ukraine
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=vacuum-im
-SRCNAM=vacuum
-VERSION=${VERSION:-1.2.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Add capabilities to read file /etc/slackware-version
-# for determine slackware version
-patch -p0 < $CWD/clientinfo.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DINSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/$SRCNAM $PKG/usr/doc/$PRGNAM-$VERSION
-rm -fr $PKG/usr/share/doc
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/vacuum-im/vacuum-im.info b/network/vacuum-im/vacuum-im.info
deleted file mode 100644
index 3a003de8e3..0000000000
--- a/network/vacuum-im/vacuum-im.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vacuum-im"
-VERSION="1.2.5"
-HOMEPAGE="http://www.vacuum-im.org"
-DOWNLOAD="https://github.com/Vacuum-IM/vacuum-im/archive/1.2.5/vacuum-im-1.2.5.tar.gz"
-MD5SUM="2004a882c95207b3244aadf77e822b9a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Oleg A. Deordiev"
-EMAIL="admin@ifconfig.com.ua"
diff --git a/network/valknut/README b/network/valknut/README
deleted file mode 100644
index 432b9006fe..0000000000
--- a/network/valknut/README
+++ /dev/null
@@ -1 +0,0 @@
-Valknut is an open source cross platform client for the Direct Connect network.
diff --git a/network/valknut/dcoptions.patch b/network/valknut/dcoptions.patch
deleted file mode 100644
index 1d218cc2ed..0000000000
--- a/network/valknut/dcoptions.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- valknut/dcoptions.cpp.orig 2014-12-02 20:28:59.039798842 +0100
-+++ valknut/dcoptions.cpp 2014-12-02 22:25:06.352312671 +0100
-@@ -808,15 +808,18 @@
- {
- PushButton_GETINTERNETIP->setEnabled(false);
-
-- QHttpRequestHeader header( "GET", "/ip.php" );
-- header.setValue( "Host", "wxdcgui.sourceforge.net" );
-+ //QHttpRequestHeader header( "GET", "/ip.php" );
-+ QHttpRequestHeader header( "GET", "/" );
-+ //header.setValue( "Host", "wxdcgui.sourceforge.net" );
-+ header.setValue( "Host", "www.myip.se" );
- QString useragent = QString("Valknut/") + PACKAGE_VERSION;
- //printf("User-Agent=%s\n", useragent.toAscii().constData());
- header.setValue( "User-Agent", useragent );
-
- m_pHttp = new QHttp();
- connect( m_pHttp, SIGNAL(done(bool)), this, SLOT(slotGotInternetIP(bool)) );
-- m_pHttp->setHost( "wxdcgui.sourceforge.net" );
-+ //m_pHttp->setHost( "wxdcgui.sourceforge.net" );
-+ m_pHttp->setHost( "www.myip.se" );
- m_pHttp->request( header );
- }
-
-@@ -834,20 +837,25 @@
- else
- {
- QString html = QString(m_pHttp->readAll());
-- int start = html.indexOf("&lt;ip&gt;");
-- int end = html.indexOf("&lt;/ip&gt;",start);
--
-+
-+ int start = html.indexOf("<b>");
-+ // We need the 2nd "bold" (<b>) attribute
-+ start = html.indexOf("<b>",start+3);
-+ int end = html.indexOf("</b>",start);
-+
- if ( ( start == -1 ) || ( end < start ) )
- {
- QMessageBox::warning(
- this,
- tr("Get Internet IP"),
-- tr("Unexpected response from ") + "http://wxdcgui.sourceforge.net"
-+ tr("Unexpected response from ") + "http://www.myip.se"
-+ // tr("Unexpected response from ") + "http://wxdcgui.sourceforge.net"
- );
- }
- else
- {
-- start += 10;
-+ //start += 10; // wxgui.sourceforge.net
-+ start += 21; // www.myip.se
- QString ip = html.mid( start, end - start );
-
- if ( QHostAddress().setAddress(ip) )
diff --git a/network/valknut/doinst.sh b/network/valknut/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/valknut/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/valknut/main.patch b/network/valknut/main.patch
deleted file mode 100644
index 8106bbd384..0000000000
--- a/network/valknut/main.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- valknut/main.cpp.orig 2013-09-29 13:55:16.194456921 +0200
-+++ valknut/main.cpp 2013-09-29 13:55:30.942159705 +0200
-@@ -338,7 +338,7 @@
- delete dbg;
- printf("exit\n");
- delete qApp;
-- _exit(0);
-+ exit(0);
- }
-
- #ifndef WIN32
diff --git a/network/valknut/slack-desc b/network/valknut/slack-desc
deleted file mode 100644
index a922461f1e..0000000000
--- a/network/valknut/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-valknut: valknut (Neomodus DC Client)
-valknut:
-valknut: Valknut is an open source cross platform client for the
-valknut: Direct Connect network.
-valknut:
-valknut:
-valknut:
-valknut:
-valknut:
-valknut: Website: http://wxdcgui.sourceforge.net/
-valknut:
diff --git a/network/valknut/valknut.SlackBuild b/network/valknut/valknut.SlackBuild
deleted file mode 100644
index 84745603f2..0000000000
--- a/network/valknut/valknut.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for valknut
-
-# Copyright 2014 Kevin Paulus <goarilla@gmail.com>, Belgium
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=valknut
-VERSION=${VERSION:-0.4.9}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Main patch
-patch -p0 < "$CWD"/main.patch valknut/main.cpp
-
-# Dcoptions (myip) patch
-patch -p0 < "$CWD"/dcoptions.patch valknut/dcoptions.cpp
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib"${LIBDIRSUFFIX}" \
- --mandir=/usr/man \
- --sysconfdir=/etc \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR="$PKG"
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-rm $PKG/usr/share/valknut/COPYING
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/valknut/valknut.info b/network/valknut/valknut.info
deleted file mode 100644
index 5ff1233ab6..0000000000
--- a/network/valknut/valknut.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="valknut"
-VERSION="0.4.9"
-HOMEPAGE="http://wxdcgui.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/project/wxdcgui/valknut-qt4/0.4.9/valknut-0.4.9.tar.bz2"
-MD5SUM="c25d68c447cb9deb4262befdde9fccea"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="dclib"
-MAINTAINER="Kevin Paulus"
-EMAIL="goarilla@gmail.com"
diff --git a/network/varnish/README b/network/varnish/README
index d8c1194ce9..4d742ff527 100644
--- a/network/varnish/README
+++ b/network/varnish/README
@@ -4,5 +4,3 @@ HTTP and configure it to cache the contents.
Varnish is free software licensed under a two-clause BSD licence, also
known as the FreeBSD licence. The project was initiated in 2005.
-
-Homepage: https://www.varnish-cache.org/
diff --git a/network/varnish/rc.varnishd b/network/varnish/rc.varnishd
index b6354687f7..b8e0d16c5a 100644
--- a/network/varnish/rc.varnishd
+++ b/network/varnish/rc.varnishd
@@ -33,11 +33,13 @@ VARNISH_OPTS="-f $CONF \
-T $ADMIN_IP:${ADMIN_PORT} \
-a $HTTP_IP:${HTTP_PORT} \
-t $DEFAULT_TTL \
- -w${MIN_THREADS},${MAX_THREADS},${THREAD_TIMEOUT} \
-P $PID"
-VARNISH_PARAMS="-p http_headers=$HTTP_HEADERS \
- -p connect_timeout=$CONNECT_TIMEOUT"
+VARNISH_PARAMS="-p http_max_hdr=$HTTP_HEADERS \
+ -p thread_pool_min=${MIN_THREADS} \
+ -p thread_pool_max=${MAX_THREADS} \
+ -p thread_pool_timeout=${THREAD_TIMEOUT} \
+ -p connect_timeout=$CONNECT_TIMEOUT"
varnish_start() {
if [ -e $PID ];then
@@ -51,7 +53,7 @@ varnish_start() {
fi
ulimit -n $FILE_DESCRIPTORS
echo "starting varnish..."
- $BIN $VARNISH_OPTS $VARNISH_PARAMS
+ $BIN $VARNISH_OPTS $VARNISH_PARAMS
}
varnish_stop() {
echo "stopping varnish..."
diff --git a/network/varnish/varnish.SlackBuild b/network/varnish/varnish.SlackBuild
index 269f74dff2..2b76da61da 100644
--- a/network/varnish/varnish.SlackBuild
+++ b/network/varnish/varnish.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for varnish-cache
# Written by Matt Schurenko <matt.schurenko@gmail.com>
# Updated by Emmanuel N. Millan
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=varnish
-VERSION=${VERSION:-6.5.0}
+VERSION=${VERSION:-7.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,6 +55,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
+#patch -p1 -i $CWD/0051cbe3b9cc24586e0ad99cff72041c6df944b8.patch
+#patch -p1 -i $CWD/f04d7df6e6d5b350740e01d24749a3930390b7a0.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -68,6 +80,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -83,9 +97,9 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/varnish/
-cp $PKG/usr/doc/$PRGNAM-$VERSION/example.vcl $PKG/etc/varnish/default.vcl.new
+cat $PKG/usr/doc/$PRGNAM-$VERSION/example.vcl > $PKG/etc/varnish/default.vcl.new
mkdir -p $PKG/etc/rc.d/
-cp -p $CWD/rc.varnishd $PKG/etc/rc.d/rc.varnishd.new
+cat $CWD/rc.varnishd > $PKG/etc/rc.d/rc.varnishd.new
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/varnish/varnish.info b/network/varnish/varnish.info
index 6c4841b69b..92c8b03f7c 100644
--- a/network/varnish/varnish.info
+++ b/network/varnish/varnish.info
@@ -1,8 +1,8 @@
PRGNAM="varnish"
-VERSION="6.5.0"
+VERSION="7.5.0"
HOMEPAGE="https://www.varnish-cache.org/"
-DOWNLOAD="https://varnish-cache.org/_downloads/varnish-6.5.0.tgz"
-MD5SUM="9cf1b50bee82119cc2cf315277534d35"
+DOWNLOAD="https://varnish-cache.org/downloads/varnish-7.5.0.tgz"
+MD5SUM="160a9a1f5cb8bae594490567ee39bd4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Sphinx"
diff --git a/network/vblade/vblade.SlackBuild b/network/vblade/vblade.SlackBuild
index 7209a570f4..4382e0fc17 100644
--- a/network/vblade/vblade.SlackBuild
+++ b/network/vblade/vblade.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vblade
#
@@ -19,10 +19,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vblade
-VERSION=${VERSION:-21}
+VERSION=${VERSION:-25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,7 +35,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,9 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -89,4 +99,4 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vblade/vblade.info b/network/vblade/vblade.info
index 0ffe7fec3e..9728d1d56d 100644
--- a/network/vblade/vblade.info
+++ b/network/vblade/vblade.info
@@ -1,8 +1,8 @@
PRGNAM="vblade"
-VERSION="21"
+VERSION="25"
HOMEPAGE="http://aoetools.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/aoetools/vblade-21.tgz"
-MD5SUM="0a2a257737a808d8f2fbfa5de3172337"
+DOWNLOAD="https://github.com/OpenAoE/vblade/archive/vblade-25/vblade-vblade-25.tar.gz"
+MD5SUM="e1a98724eebed5fd1cb5f625f7ca236c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/vcspull/vcspull.SlackBuild b/network/vcspull/vcspull.SlackBuild
index 14ac5140e9..b857eb09b0 100644
--- a/network/vcspull/vcspull.SlackBuild
+++ b/network/vcspull/vcspull.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vcspull
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vcspull
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-1.25.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,17 +79,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE PKG-INFO README.rst doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE PKG-INFO README.md docs/*.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vcspull/vcspull.info b/network/vcspull/vcspull.info
index b43f48fc92..21e3561389 100644
--- a/network/vcspull/vcspull.info
+++ b/network/vcspull/vcspull.info
@@ -1,10 +1,10 @@
PRGNAM="vcspull"
-VERSION="0.9.0"
+VERSION="1.25.0"
HOMEPAGE="https://github.com/tony/vcspull/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/vcspull-0.9.0.tar.gz"
-MD5SUM="30a82abdff974446aa3b96a7734043af"
+DOWNLOAD="https://files.pythonhosted.org/packages/75/d7/f4e3c1c71a5a6df182b71a4dd657e4f4ea3fb0a906c7e464a2c0b82b2a25/vcspull-1.25.0.tar.gz"
+MD5SUM="90c2d41337157407f77314eb2b32dbd4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="kaptan PyYAML argcomplete colorama"
+REQUIRES="python3-libvcs colorama"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/vde2/vde2.SlackBuild b/network/vde2/vde2.SlackBuild
index f0d9d64035..938256d74c 100644
--- a/network/vde2/vde2.SlackBuild
+++ b/network/vde2/vde2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vde2
@@ -24,10 +24,13 @@
# Modified by Antonio Hernández Blas <hba.nihilismus@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vde2
VERSION=${VERSION:-2.3.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,6 +81,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch to build against openssl-1.1.x - thanks archlinux!
+patch -p1 < $CWD/vde_cryptcab-compile-against-openssl-1.1.0.patch
+
EXPERIMENTAL=${EXPERIMENTAL:-false}
OPTIONS=""
@@ -113,6 +126,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/rc.d
install -m 0755 $CWD/rc.vde2 $PKG/etc/rc.d/rc.vde2
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
@@ -130,4 +145,4 @@ do
done
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vde2/vde_cryptcab-compile-against-openssl-1.1.0.patch b/network/vde2/vde_cryptcab-compile-against-openssl-1.1.0.patch
new file mode 100644
index 0000000000..227312eabb
--- /dev/null
+++ b/network/vde2/vde_cryptcab-compile-against-openssl-1.1.0.patch
@@ -0,0 +1,92 @@
+--- a/src/vde_cryptcab/cryptcab.c 2011-11-23 16:41:17.000000000 +0000
++++ b/src/vde_cryptcab/cryptcab.c 2017-03-20 22:54:20.452975075 +0000
+@@ -22,7 +22,7 @@
+ exit(1);
+ }
+
+-static EVP_CIPHER_CTX ctx;
++static EVP_CIPHER_CTX *ctx;
+ static int ctx_initialized = 0;
+ static int encryption_disabled = 0;
+ static int nfd;
+@@ -30,6 +30,10 @@
+ static struct vde_open_args open_args={.port=0,.group=NULL,.mode=0700};
+ static int verbose = 0;
+
++#if OPENSSL_VERSION_NUMBER < 0x10100000
++#define EVP_CIPHER_CTX_reset(x) EVP_CIPHER_CTX_cleanup(x)
++#endif
++
+ void vc_printlog(int priority, const char *format, ...)
+ {
+ va_list arg;
+@@ -103,19 +107,21 @@
+ }
+
+ if (!ctx_initialized) {
+- EVP_CIPHER_CTX_init (&ctx);
++ ctx = EVP_CIPHER_CTX_new ();
++ if (!ctx)
++ return -1;
+ ctx_initialized = 1;
+ }
+
+- EVP_EncryptInit (&ctx, EVP_bf_cbc (), p->key, p->iv);
+- if (EVP_EncryptUpdate (&ctx, dst, &olen, src, len) != 1)
++ EVP_EncryptInit (ctx, EVP_bf_cbc (), p->key, p->iv);
++ if (EVP_EncryptUpdate (ctx, dst, &olen, src, len) != 1)
+ {
+ fprintf (stderr,"error in encrypt update\n");
+ olen = -1;
+ goto cleanup;
+ }
+
+- if (EVP_EncryptFinal (&ctx, dst + olen, &tlen) != 1)
++ if (EVP_EncryptFinal (ctx, dst + olen, &tlen) != 1)
+ {
+ fprintf (stderr,"error in encrypt final\n");
+ olen = -1;
+@@ -124,7 +130,7 @@
+ olen += tlen;
+
+ cleanup:
+- EVP_CIPHER_CTX_cleanup(&ctx);
++ EVP_CIPHER_CTX_reset(ctx);
+ return olen;
+ }
+
+@@ -138,19 +144,21 @@
+ }
+
+ if (!ctx_initialized) {
+- EVP_CIPHER_CTX_init (&ctx);
++ ctx = EVP_CIPHER_CTX_new ();
++ if (!ctx)
++ return -1;
+ ctx_initialized = 1;
+ }
+
+- EVP_DecryptInit (&ctx, EVP_bf_cbc (), p->key, p->iv);
+- if (EVP_DecryptUpdate (&ctx, dst, &olen, src, len) != 1)
++ EVP_DecryptInit (ctx, EVP_bf_cbc (), p->key, p->iv);
++ if (EVP_DecryptUpdate (ctx, dst, &olen, src, len) != 1)
+ {
+ fprintf (stderr,"error in decrypt update\n");
+ olen = -1;
+ goto cleanup;
+ }
+
+- if (EVP_DecryptFinal (&ctx, dst + olen, &tlen) != 1)
++ if (EVP_DecryptFinal (ctx, dst + olen, &tlen) != 1)
+ {
+ fprintf (stderr,"error in decrypt final\n");
+ olen = -1;
+@@ -159,7 +167,7 @@
+ olen += tlen;
+
+ cleanup:
+- EVP_CIPHER_CTX_cleanup(&ctx);
++ EVP_CIPHER_CTX_reset (ctx);
+ return olen;
+ }
+
diff --git a/network/vdirsyncer/README b/network/vdirsyncer/README
new file mode 100644
index 0000000000..2ef8216db4
--- /dev/null
+++ b/network/vdirsyncer/README
@@ -0,0 +1,7 @@
+Vdirsyncer is a command-line tool for synchronizing calendars and
+addressbooks between a variety of servers and the local filesystem.
+
+It can also be used to synchronize calendars and/or addressbooks
+between two servers directly.
+
+It aims to be for calendars & contacts what OfflineIMAP is for emails.
diff --git a/network/vdirsyncer/slack-desc b/network/vdirsyncer/slack-desc
new file mode 100644
index 0000000000..60656df86c
--- /dev/null
+++ b/network/vdirsyncer/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+vdirsyncer: vdirsyncer (cli tool to sync calendars and adessbooks)
+vdirsyncer:
+vdirsyncer: Vdirsyncer is a command-line tool for synchronizing calendars and
+vdirsyncer: addressbooks between a variety of servers and the local filesystem.
+vdirsyncer:
+vdirsyncer: It aims to be for calendars and contacts what OfflineIMAP
+vdirsyncer: is for emails.
+vdirsyncer:
+vdirsyncer:
+vdirsyncer:
+vdirsyncer:
diff --git a/network/vdirsyncer/vdirsyncer.SlackBuild b/network/vdirsyncer/vdirsyncer.SlackBuild
new file mode 100644
index 0000000000..42cb7e5cb4
--- /dev/null
+++ b/network/vdirsyncer/vdirsyncer.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for vdirsyncer
+
+# Copyright 2022 Tonus Paris
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vdirsyncer
+VERSION=${VERSION:-0.19.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+ python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.rst docs/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+chmod =755 $PKG/usr/doc/$PRGNAM-$VERSION/tutorials
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Remove empty directory
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/_static/
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vdirsyncer/vdirsyncer.info b/network/vdirsyncer/vdirsyncer.info
new file mode 100644
index 0000000000..98f279ade4
--- /dev/null
+++ b/network/vdirsyncer/vdirsyncer.info
@@ -0,0 +1,10 @@
+PRGNAM="vdirsyncer"
+VERSION="0.19.2"
+HOMEPAGE="https://github.com/pimutils/vdirsyncer"
+DOWNLOAD="https://files.pythonhosted.org/packages/81/fb/6fbb7f1d102a59db275811a0de756d6f5bb55c624ba4bdf918b3fbd2ddc0/vdirsyncer-0.19.2.tar.gz"
+MD5SUM="243ecfc93cdcf61908fc786af4017540"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="click click-log click-threading requests-toolbelt python-urwid python3-aiohttp python3-aiostream python3-atomicwrites"
+MAINTAINER="Tonus"
+EMAIL="tonus1@free.fr"
diff --git a/network/verlihub/README b/network/verlihub/README
index a722cfe6f2..982153614b 100644
--- a/network/verlihub/README
+++ b/network/verlihub/README
@@ -1,9 +1,10 @@
Verlihub - Direct Connect server
-Verlihub is a Direct Connect protocol server that runs on Linux OS, written
-in C++; Many features are available: MySQL database, very low use of CPU,
-RAM & Bandwidth, deflood integrated protection, plugins (LUA, forbidden,
-ip-log, funny, messenger & chatroom) and MORE, MORE AND MORE...
+Verlihub is a Direct Connect protocol server that runs on Linux OS,
+written in C++; Many features are available: MySQL database, very low
+use of CPU, RAM & Bandwidth, deflood integrated protection, plugins
+(LUA, forbidden, ip-log, funny, messenger & chatroom) and MORE, MORE
+AND MORE...
-If you don't want to run verlihub as root and still use port 411, get the
-optional dependency authbind.
+If you don't want to run verlihub as root and still use port 411, get
+the optional dependency authbind.
diff --git a/network/verlihub/verlihub-gcc7.patch b/network/verlihub/verlihub-gcc7.patch
new file mode 100644
index 0000000000..4b2ede4d42
--- /dev/null
+++ b/network/verlihub/verlihub-gcc7.patch
@@ -0,0 +1,18 @@
+diff -Naur verlihub-0.9.8e-r2.orig/src/script_api.cpp verlihub-0.9.8e-r2/src/script_api.cpp
+--- verlihub-0.9.8e-r2.orig/src/script_api.cpp 2009-05-16 16:42:07.000000000 +0200
++++ verlihub-0.9.8e-r2/src/script_api.cpp 2017-06-01 20:33:58.923440440 +0200
+@@ -218,12 +218,12 @@
+ cServerDC *server = GetCurrentVerlihub();
+ if(!server) {
+ cerr << "Server verlihub is unfortunately not running or not found." << endl;
+- return false;
++ return NULL;
+ }
+ cUser *usr = GetUser((char *) server->mC.hub_security.c_str());
+ printf("%p\n", usr);
+ printf("%p", usr->mxConn);
+- if ((!usr) || (usr && !usr->mxConn)) return false;
++ if ((!usr) || (usr && !usr->mxConn)) return NULL;
+ cout << "here" << endl;
+ if (!server->mP.ParseForCommands(command_line, usr->mxConn)) {
+ // unknown command
diff --git a/network/verlihub/verlihub.SlackBuild b/network/verlihub/verlihub.SlackBuild
index 25c0729a42..7610c91df4 100644
--- a/network/verlihub/verlihub.SlackBuild
+++ b/network/verlihub/verlihub.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for verlihub
@@ -22,28 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=verlihub
VERSION=${VERSION:-0.9.8e_r2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=${SRCVER:-0.9.8e-r2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +81,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://gcc.gnu.org/gcc-7/porting_to.html
+patch -p1 < $CWD/verlihub-gcc7.patch
+
patch -p1 < $CWD/verlihub-header.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -96,8 +109,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/verm/README b/network/verm/README
deleted file mode 100644
index 86aef43f9a..0000000000
--- a/network/verm/README
+++ /dev/null
@@ -1,21 +0,0 @@
-Verm is a WORM (write-once, read-many) file store to make it easy to reliably
-store and replicate files.
-
-This script requires a 'verm' user/group to exist before running.
-
-The recommended UID/GID is 346. You can create these like so:
- groupadd -g 346 verm
- useradd -u 346 -g 346 -m -d /var/lib/verm verm
-
-The following can be used to start/stop verm automatically:
-/etc/rc.d/rc.local
- if [ -x /etc/rc.d/rc.verm ]; then
- /etc/rc.d/rc.verm start
- fi
-
-/etc/rc.d/rc.local_shutdown
- if [ -x /etc/rc.d/rc.verm ]; then
- /etc/rc.d/rc.verm stop
- fi
-
-NOTE: google-go-lang is only needed at compile time - not needed for runtime.
diff --git a/network/verm/doinst.sh b/network/verm/doinst.sh
deleted file mode 100644
index 52dac08ac3..0000000000
--- a/network/verm/doinst.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
- fi
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-config etc/logrotate.d/verm.new
-preserve_perms etc/rc.d/rc.verm.new
diff --git a/network/verm/rc.verm b/network/verm/rc.verm
deleted file mode 100644
index ca4895df18..0000000000
--- a/network/verm/rc.verm
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-PORT=${PORT:-3404}
-LISTEN=${LISTEN:-localhost}
-PIDDIR=/var/run/verm
-LOGDIR=/var/log/verm
-PIDFILE=$PIDDIR/verm.pid
-
-. /etc/rc.d/init.d/functions
-
-runuser() {
- su "$@"
-}
-
-verm_start() {
- mkdir -p $PIDDIR $LOGDIR
- chown -R verm:verm $PIDDIR $LOGDIR
- action "Starting verm: " daemon --pidfile $PIDFILE --user verm "bash -c 'verm -port \"$PORT\" -listen \"$LISTEN\" >> $LOGDIR/verm.log 2>> $LOGDIR/verm_err.log & echo \$! > $PIDFILE'"
-}
-
-verm_stop() {
- action "Stopping verm: " killproc -p $PIDFILE "verm"
-}
-
-verm_restart() {
- verm_stop
- verm_start
-}
-
-case "$1" in
-'start')
- verm_start
- ;;
-'stop')
- verm_stop
- ;;
-'restart')
- verm_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/network/verm/slack-desc b/network/verm/slack-desc
deleted file mode 100644
index 95fe0c0c88..0000000000
--- a/network/verm/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-verm: verm (An immutable, WORM filestore accessible by HTTP)
-verm:
-verm: Verm is a WORM (write-once, read-many) file store to make it easy to
-verm: reliably store and replicate files.
-verm:
-verm:
-verm: https://github.com/willbryant/verm
-verm:
-verm:
-verm:
-verm:
diff --git a/network/verm/verm.SlackBuild b/network/verm/verm.SlackBuild
deleted file mode 100644
index 7cf47f213e..0000000000
--- a/network/verm/verm.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for verm
-
-# Copyright 2016-2018 Andrew Clemons, Wellington New Zealand
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=verm
-VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-VERM_UID=${VERM_UID:-346}
-VERM_GID=${VERM_GID:-346}
-VERM_PORT=${VERM_PORT:-3404}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Bail out if user or group isn't valid on your system
-# For slackbuilds.org, assigned verm uid/gid are 346/346
-# See http://slackbuilds.org/uid_gid.txt
-if ! getent group verm > /dev/null 2>&1 ; then
- echo " You must have a verm group to run this script."
- echo " # groupadd -g $VERM_GID verm"
- exit 1
-elif ! getent passwd verm > /dev/null 2>&1 ; then
- echo " You must have a verm user to run this script."
- echo " # useradd -u $VERM_UID -g $VERM_GID -m -d /var/lib/verm verm"
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-SRCDIR="$(pwd)"
-export GOPATH="$SRCDIR"
-mkdir -p src/github.com/willbryant
-( cd src/github.com/willbryant && ln -s "$GOPATH" verm)
-
-go build -ldflags "-X main.compiled_version=$VERSION -X main.compiled_root_data_directory=/var/lib/verm" "github.com/willbryant/verm"
-
-mkdir -p $PKG/usr/bin
-install -m0755 -oroot -groot verm $PKG/usr/bin
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-mkdir -p $PKG/etc/rc.d
-
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-sed "s/@VERM_PORT/$VERM_PORT/" $CWD/rc.verm > $PKG/etc/rc.d/rc.verm.new
-chmod 0755 $PKG/etc/rc.d/rc.verm.new
-
-mkdir -p $PKG/etc/logrotate.d
-cat $CWD/verm.logrotate > $PKG/etc/logrotate.d/verm.new
-
-mkdir -p $PKG/var/log/verm
-chown -R verm:verm $PKG/var/log/verm
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/verm/verm.info b/network/verm/verm.info
deleted file mode 100644
index dbe359a680..0000000000
--- a/network/verm/verm.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="verm"
-VERSION="1.5.1"
-HOMEPAGE="https://github.com/willbryant/verm"
-DOWNLOAD="https://github.com/willbryant/verm/archive/1.5.1/verm-1.5.1.tar.gz"
-MD5SUM="18b7c847dda5c52a74bb49ecd35a447a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="google-go-lang"
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/network/verm/verm.logrotate b/network/verm/verm.logrotate
deleted file mode 100644
index 66f131207d..0000000000
--- a/network/verm/verm.logrotate
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/verm/*.log {
- su verm verm
- rotate 12
- weekly
- compress
- missingok
- notifempty
- copytruncate
-}
diff --git a/network/viber/README b/network/viber/README
index ad9e2bb245..c7c9e2f810 100644
--- a/network/viber/README
+++ b/network/viber/README
@@ -1,6 +1,8 @@
-Viber is a mobile application that allows you to make phone calls
-and send text messages to all other Viber users for free!
+Viber: Free and secure calls and messages to anyone, anywhere.
-Viber is available over WiFi or 3G.
+With Viber on your desktop, you can send and receive messages, enjoy
+group calls, create stickers, and more, as your devices seamlessly sync.
-There's only available the 64bit version.
+NOTE!
+Viber for Desktop is synced to your mobile account. To activate Viber
+for Desktop, you will need an active Viber account on your mobile phone.
diff --git a/network/viber/slack-desc b/network/viber/slack-desc
index 126fc3cb47..c37dccfc3e 100644
--- a/network/viber/slack-desc
+++ b/network/viber/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-viber: viber (mobile messaging application)
-viber:
-viber: Viber is a mobile application that allows you to make phone
-viber: calls and send text messages to all other Viber users for free!
-viber:
+viber: viber (Free and secure calls and messages)
viber:
+viber: With Viber on your desktop, you can send and receive messages,
+viber: enjoy group calls, create stickers, and more, as your devices
+viber: seamlessly sync.
viber:
+viber: https://www.viber.com/
viber:
viber:
viber:
diff --git a/network/viber/viber.SlackBuild b/network/viber/viber.SlackBuild
index 0283403e20..81a497720a 100644
--- a/network/viber/viber.SlackBuild
+++ b/network/viber/viber.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Viber
+# Copyright 2023 Petar Petrov, slackalaxy@gmail.com
# Copyright 2009-2017 Roberto Metere, Newcastle Upon Tyne, UK
# All rights reserved.
#
@@ -22,69 +23,66 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=viber
-VERSION=${VERSION:-7.0.0.1035}
+VERSION=${VERSION:-21.0.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
-case "$(uname -m)" in
- i?86) DEBARCH="i386" ; LIBDIRSUFFIX="" ; ARCH=i386 ;;
- x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
- *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
-esac
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH architecture is unsupported." >/dev/stderr
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -eu
-
-# Get the real version
-REAL_VER=$(ar p ${PRGNAM}.deb control.tar.gz | tar zxO ./control | grep Version | awk '{print $2}' | cut -d- -f1)
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/${PRGNAM}.deb data.tar.xz | xz -d | tar xv
-# Move to standard place
-mv $PKG/opt/viber/* $PKG/usr/share/viber
-rm -r $PKG/opt
-# Fix desktop launcher
-sed -i 's/\/opt\/viber\/Viber/\/usr\/bin\/ViberPC/' $PKG/usr/share/applications/viber.desktop
-
-#
-# Make a shell launcher
-#
-# In my opinion, it's a bug... that is, Viber must be called from installation path
-# or with complete path to installation path, because it looks for other files.
-# Any symbolic link or hard copy of main binary to /usr/bin would yield a
-# non-working launcher.
-#
-# ViberPC is the name of the window (it is better to call it as such for a better
-# integration with docks, like cairo-dock)
-# Anyway for compatibility with previous version a link to /usr/bin/viber is created.
-#
-mkdir -p $PKG/usr/bin
-printf "#!/bin/sh\n/usr/share/viber/Viber\n" > $PKG/usr/bin/ViberPC
-ln -s ViberPC $PKG/usr/bin/viber
-
-# Adjust ownerships and permissions
+ar p $CWD/$PRGNAM.deb data.tar.xz | xz -d | tar xv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-chmod +x $PKG/usr/bin/ViberPC
-cd
-mkdir -p $PKG/usr/doc/$PRGNAM-$REAL_VER
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$REAL_VER/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/bin
+cd $PKG/usr/bin
+ln -s ../../opt/viber/Viber .
+
+# make libs executable
+find $PKG -name *.so -exec chmod 755 {} \;
+find $PKG -name *.so.* -exec chmod 755 {} \;
+
+# fix path
+sed -i 's:/opt/viber/::' $PKG/usr/share/applications/$PRGNAM.desktop
+sed -i 's:/usr/share/pixmaps/viber.png:viber:' $PKG/usr/share/applications/$PRGNAM.desktop
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$REAL_VER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/viber/viber.info b/network/viber/viber.info
index 53c5a04a16..efc5945b88 100644
--- a/network/viber/viber.info
+++ b/network/viber/viber.info
@@ -1,10 +1,10 @@
PRGNAM="viber"
-VERSION="7.0.0.1035"
-HOMEPAGE="https://www.viber.com/products/linux"
+VERSION="21.0.0.1"
+HOMEPAGE="https://www.viber.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"
-MD5SUM_x86_64="4e6f4759fbaef187765190c8d6adaa72"
-REQUIRES="qt5"
-MAINTAINER="Roberto Metere"
-EMAIL="roberto@metere.it"
+MD5SUM_x86_64="7e93a64efebd9112df3ac7f8dc0c4580"
+REQUIRES="snappy tslib"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/network/vimb/vimb.SlackBuild b/network/vimb/vimb.SlackBuild
index b96b5c2545..e62c7acc5b 100644
--- a/network/vimb/vimb.SlackBuild
+++ b/network/vimb/vimb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vimb
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vimb
-VERSION=${VERSION:-3.2.0}
+VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,9 +92,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vimb/vimb.info b/network/vimb/vimb.info
index 8f03b4d82b..d5c1cb95aa 100644
--- a/network/vimb/vimb.info
+++ b/network/vimb/vimb.info
@@ -1,8 +1,8 @@
PRGNAM="vimb"
-VERSION="3.2.0"
+VERSION="3.7.0"
HOMEPAGE="https://fanglingsu.github.io/vimb"
-DOWNLOAD="https://github.com/fanglingsu/vimb/archive/3.2.0/vimb-3.2.0.tar.gz"
-MD5SUM="c0848041b6f6d618d5d4d0e169c1ea5c"
+DOWNLOAD="https://github.com/fanglingsu/vimb/archive/3.7.0/vimb-3.7.0.tar.gz"
+MD5SUM="4052a71111eb31e5b5a39a75c460d441"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk"
diff --git a/network/vimfx/README b/network/vimfx/README
new file mode 100644
index 0000000000..b67bb891b4
--- /dev/null
+++ b/network/vimfx/README
@@ -0,0 +1,19 @@
+VimFx is a Firefox extension which adds short, Vim-style keyboard
+shortcuts for browsing and navigation, for a near mouseless
+experience.
+
+One of key tenets of VimFx is that the standard Firefox features are
+always preferable to re-implementing similar functionality.
+
+VimFx is a legacy extension as opposite to WebExtensions. It works on
+modern versions of Firefox thanks to a shim called LegacyFox, which is
+also included in this script. Unlike WebExtensions this legacy one
+works on incompletely loaded, blank, and system pages.
+
+This script will install VimFx for all users on the system. When
+starting Firefox, users will see a yellow warning triangle above the
+hamburger menu (a button with three horizontal lines) and will be
+prompted to activate the extension.
+
+README.SBo contains details on building the package for a Firefox
+different from the stock Slackware mozilla-firefox.
diff --git a/network/vimfx/README.SBo b/network/vimfx/README.SBo
new file mode 100644
index 0000000000..4118b56713
--- /dev/null
+++ b/network/vimfx/README.SBo
@@ -0,0 +1,19 @@
+To build the package for a Firefox different from the stock Slackware
+mozilla-firefox, pass to the script the variable FFDIR that contains
+the Firefox installation directory as in
+FFDIR=/usr/lib64/firefox-latest
+
+In this case it may also be advisable to update LegacyFox, check the
+release list on the VimFx homepage. The LegacyFox version can be
+passed to the script in the variable LFVERSION.
+
+For non ESR Firefox the VimFx xpi-file
+$FFDIR/browser/extensions/VimFx-unlisted@akhodakivskiy.github.com.xpi
+must be copied or symlinked to the directory
+~/.mozilla/firefox/<profile name>/extensions/
+for every Firefox user (and for every profile).
+
+Also, for non ESR Firefox the about:addons page shows a red banner
+with the text "VimFx could not be verified for use in Firefox and has
+been disabled". It is wrong and can be ignored; VimFx will work
+regardless.
diff --git a/network/vimfx/slack-desc b/network/vimfx/slack-desc
new file mode 100644
index 0000000000..8b00563a99
--- /dev/null
+++ b/network/vimfx/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+vimfx: vimfx (Vim keybindings for Firefox)
+vimfx:
+vimfx: VimFx is a Firefox extension which adds short, Vim-style keyboard
+vimfx: shortcuts for browsing and navigation, for a near mouseless
+vimfx: experience.
+vimfx:
+vimfx: One of key tenets of VimFx is that the standard Firefox features are
+vimfx: always preferable to re-implementing similar functionality.
+vimfx:
+vimfx: Homepage: https://github.com/akhodakivskiy/VimFx
+vimfx:
diff --git a/network/vimfx/vimfx.SlackBuild b/network/vimfx/vimfx.SlackBuild
new file mode 100644
index 0000000000..ba98c70c6b
--- /dev/null
+++ b/network/vimfx/vimfx.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for vimfx
+
+# Copyright 2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vimfx
+VERSION=${VERSION:-0.27.1}
+LFVERSION=${LFVERSION:-3.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+fi
+
+FFDIR=${FFDIR:-/usr/lib${LIBDIRSUFFIX}/firefox}
+
+set -e
+
+case $FFDIR in
+ /*) if ! /usr/bin/pathchk -p -- "$FFDIR"; then
+ echo "invalid FFDIR"
+ exit 1
+ fi
+ ;;
+ *) echo "FFDIR isn't an absolute path"
+ exit 1
+ ;;
+esac
+
+rm -rf $PKG
+mkdir -p $TMP $PKG$FFDIR/browser/extensions $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/*v$LFVERSION*.tar.gz
+mv *v$LFVERSION* $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make install DESTDIR=$PKG$FFDIR
+
+install -m 0644 -o root -g root $CWD/VimFx.xpi \
+ $PKG$FFDIR/browser/extensions/VimFx-unlisted@akhodakivskiy.github.com.xpi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat README > $PKG/usr/doc/$PRGNAM-$VERSION/README-LegacyFox
+cd $CWD
+for f in CHANGELOG.md PEOPLE.md README.md $PRGNAM.SlackBuild; do \
+ cat $f > $PKG/usr/doc/$PRGNAM-$VERSION/$f; done
+
+mkdir -p $PKG/install
+cat slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vimfx/vimfx.info b/network/vimfx/vimfx.info
new file mode 100644
index 0000000000..ddcf2b425e
--- /dev/null
+++ b/network/vimfx/vimfx.info
@@ -0,0 +1,18 @@
+PRGNAM="vimfx"
+VERSION="0.27.1"
+HOMEPAGE="https://github.com/akhodakivskiy/VimFx"
+DOWNLOAD="https://github.com/akhodakivskiy/VimFx/releases/download/v0.27.1/VimFx.xpi \
+ https://raw.githubusercontent.com/akhodakivskiy/VimFx/v0.27.1/README.md \
+ https://raw.githubusercontent.com/akhodakivskiy/VimFx/v0.27.1/CHANGELOG.md \
+ https://raw.githubusercontent.com/akhodakivskiy/VimFx/v0.27.1/PEOPLE.md \
+ https://git.gir.st/LegacyFox.git/snapshot/v3.3.tar.gz"
+MD5SUM="66567d440fb1f37cd61ae594446548e3 \
+ 237b1aac5c13b65297d7a19cd29ddb6b \
+ d30337da8ffade3fad582f3bb927ab8f \
+ 34b9e545905fa6d00e2421a6c1a81a5a \
+ 3e2e2fc0c42d6f008706e74754d01731"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/vivaldi/README b/network/vivaldi/README
index 011f935eb1..a6b095a1b1 100644
--- a/network/vivaldi/README
+++ b/network/vivaldi/README
@@ -1,8 +1,7 @@
vivaldi (web browser).
-A Browser for Our Friends. An advanced browser made with the power user
-in mind. Finally you can surf your way.
+Experience the web in a whole new way with Vivaldi.
-Vivaldi for ARM/ARM64 can be downloaded from:
-
- https://vivaldi.com/download/archive
+Vivaldi is a browser that has the features you need, a style that fits
+and values you can stand by. Your browser matters. Take control with
+Vivaldi.
diff --git a/network/vivaldi/README.SBo b/network/vivaldi/README.SBo
index 13e8edce7d..91f83743fa 100644
--- a/network/vivaldi/README.SBo
+++ b/network/vivaldi/README.SBo
@@ -1,4 +1,38 @@
-This SlackBuild used to support a variable CUSTOM_CSS that made it
-possible to customize the user interface using a css file.
+# Proprietary media support
-Now the same can be done via vivaldi://experiments/
+Vivaldi does not directly bundle any library with support for
+"proprietary media" (H.264/AAC), since this would make redistribution of
+the output package difficult (due to software patent licensing).
+Instead, the script '/opt/vivaldi/update-ffmpeg' fetches a suitable lib
+from a third party (and verifies it). This can be run in two ways.
+
+## System-wide install
+
+The recommended method is for the user to run it as root (with no
+arguments) immediately after installing (or upgrading) Vivaldi, but
+before first run. The file will then be placed in '/var/opt/vivaldi' and
+found by Vivaldi when you launch it afterwards.
+
+Files installed this way will even be cleaned up automatically on
+uninstall by 'douninst.sh'. Alternatively running 'update-ffmpeg' again
+(as root) with '--undo' will also remove the lib and associated
+directories.
+
+## Per-user install
+
+If you do not run the 'update-ffmpeg' as root before first run, Vivaldi
+will call this script itself, automatically on first launch (with the
+option '--user'). In this case the lib will be installed into
+'~/.local/lib/vivaldi' (for each user who launches Vivaldi) and will
+then be available, from the next restart (of the browser).
+
+If you wish to remove the file from '~/.local/lib/vivaldi', you can run
+'update-ffmpeg' as follows:
+
+ /opt/vivaldi/update-ffmpeg --user --undo
+
+Alternatively look in '~/.local/lib/vivaldi' and remove the files
+manually.
+
+NOTE: Keep in mind the lib will be automatically reinstalled in
+'~/.local/lib/vivaldi' if any user on the system launches Vivaldi again.
diff --git a/network/vivaldi/douninst.sh b/network/vivaldi/douninst.sh
new file mode 100644
index 0000000000..879cbcec64
--- /dev/null
+++ b/network/vivaldi/douninst.sh
@@ -0,0 +1,11 @@
+# Remove any lib fetched by '/opt/vivaldi/update-ffmpeg' that was
+# installed system-wide into '/var/opt'
+rm -f /var/opt/vivaldi/media-codecs-*/libffmpeg.so
+if [ -d /var/opt/vivaldi ]; then
+ # This removes directory trees that are empty or only populated by other
+ # empty directories.
+ find /var/opt/vivaldi -depth -type d -empty -exec rmdir {} \;
+ # '/var/opt' is not part of the default Slackware install, so we will
+ # remove it, if it is now empty (following the above).
+ rmdir --ignore-fail-on-non-empty /var/opt
+fi
diff --git a/network/vivaldi/slack-desc b/network/vivaldi/slack-desc
index fb2335b9c7..9d1efaa13e 100644
--- a/network/vivaldi/slack-desc
+++ b/network/vivaldi/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
vivaldi: vivaldi (web browser)
vivaldi:
-vivaldi: A Browser for Our Friends.
+vivaldi: Experience the web in a whole new way with Vivaldi.
vivaldi:
-vivaldi: An advanced browser made with the power user in mind. Finally you
-vivaldi: can surf your way.
+vivaldi: Vivaldi is a browser that has the features you need, a style that fits
+vivaldi: and values you can stand by. Your browser matters. Take control with
+vivaldi: Vivaldi.
vivaldi:
vivaldi: Home Page: https://vivaldi.com
vivaldi:
vivaldi:
-vivaldi:
diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild
index 094f1848b3..0b8ba3e053 100644
--- a/network/vivaldi/vivaldi.SlackBuild
+++ b/network/vivaldi/vivaldi.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for vivaldi.
#
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia
-# Copyright 2019-2021, Ruari Oedegaard, Oslo, Norway
+# Copyright 2019-2024, Ruari Oedegaard, Oslo, Norway
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,30 +24,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vivaldi
-VERSION=${VERSION:-3.6.2165.36}
-FFMPEG_VERSION="87.0.4280.66"
-WIDEVINE_VERSION="4.10.1582.2"
+VERSION=${VERSION:-6.6.3271.61}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-case "$ARCH" in
- i?86) BITS="i386" ; WBITS="ia32" ; PBITS="x86" ;;
- x86_64) BITS="amd64" ; WBITS="x64" ; PBITS="x64" ;;
- arm*) BITS="armhf" ;;
- *) echo "$ARCH is not supported."
- exit 1 ;;
-esac
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,21 +53,7 @@ set -e
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM
-ar p $CWD/${PRGNAM}-stable_${VERSION}-*_${BITS}.deb data.tar.xz | tar xvJ ./opt ./usr
-ar p $CWD/chromium-codecs-ffmpeg-extra_${FFMPEG_VERSION}-*_${BITS}.deb \
- data.tar.xz | tar xOJ ./usr/lib/chromium-browser/libffmpeg.so \
- > opt/vivaldi/libffmpeg.so.${VERSION%\.*\.*}
-
-if [ "x$BITS" = "xarmhf" ] ; then
- echo "This script doesn't support installing Widevine on ARM."
-elif [ "x$BITS" = "xi386" ] ; then
- rm -f opt/vivaldi/WidevineCdm
- mkdir -p opt/vivaldi/WidevineCdm/_platform_specific/linux_${PBITS}
- unzip -oq $CWD/${WIDEVINE_VERSION}-linux-${WBITS}.zip \
- -d opt/vivaldi/WidevineCdm
- mv opt/vivaldi/WidevineCdm/libwidevinecdm.so \
- opt/vivaldi/WidevineCdm/_platform_specific/linux_${PBITS}
-fi
+ar p $CWD/${PRGNAM}-stable_${VERSION}-*.deb data.tar.xz | tar xJ ./opt ./usr
chown -R root:root .
find -L . \
@@ -80,13 +62,26 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-rm -r opt/vivaldi/cron
+rm -r opt/vivaldi/cron usr/share/doc
mv opt usr $PKG/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-ln -sf /opt/vivaldi/vivaldi $PKG/usr/bin/vivaldi
+# Create relative symlinks (first removing any potentially non-relative
+# ones).
+
+rm -f $PKG/usr/bin/vivaldi* $PKG/opt/vivaldi/WidevineCdm
+ln -s ../../opt/vivaldi/vivaldi $PKG/usr/bin/vivaldi
+ln -s ../../opt/vivaldi/vivaldi $PKG/usr/bin/vivaldi-stable
+
+# This following may appear as a broken/dangling symlink but it actually
+# can be used by Vivaldi as a fallback source for Widevine in cases
+# where, Google Chrome is also installed (it bundles Widevine at the
+# linked location) and the components system in the browser
+# (vivaldi://components) is non-functional.
+
+ln -s ../google/chrome/WidevineCdm $PKG/opt/vivaldi/WidevineCdm
for res in 16 22 24 32 48 64 128 256; do
install -Dm644 "$PKG/opt/vivaldi/product_logo_${res}.png" \
@@ -99,16 +94,15 @@ sed \
> $PKG/usr/share/applications/vivaldi.desktop
rm $PKG/usr/share/applications/vivaldi-stable.desktop
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-gzip -dc $PKG/usr/share/doc/vivaldi-stable/changelog.gz > \
- $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
-rm -rf $PKG/usr/share/doc
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+for doc in README README.SBo $PRGNAM.SlackBuild; do
+ install -Dm644 $CWD/$doc $PKG/usr/doc/$PRGNAM-$VERSION/$doc
+done
+lynx -dump file://$CWD/${VERSION}.html > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vivaldi/vivaldi.info b/network/vivaldi/vivaldi.info
index 7c44886add..2dddcfae85 100644
--- a/network/vivaldi/vivaldi.info
+++ b/network/vivaldi/vivaldi.info
@@ -1,16 +1,12 @@
PRGNAM="vivaldi"
-VERSION="3.6.2165.36"
+VERSION="6.6.3271.61"
HOMEPAGE="https://vivaldi.com"
-DOWNLOAD="https://downloads.vivaldi.com/stable/vivaldi-stable_3.6.2165.36-1_i386.deb \
- https://launchpadlibrarian.net/507638697/chromium-codecs-ffmpeg-extra_87.0.4280.66-0ubuntu0.16.04.1_i386.deb \
- https://dl.google.com/widevine-cdm/4.10.1582.2-linux-ia32.zip"
-MD5SUM="1420ce17875cc70263cc0283061b76e1 \
- 1deb6d72767d3d01a21d34b49cd85263 \
- 247a331a4d5bceb9f20366a39136a4fa"
-DOWNLOAD_x86_64="https://downloads.vivaldi.com/stable/vivaldi-stable_3.6.2165.36-1_amd64.deb \
- https://launchpadlibrarian.net/507640811/chromium-codecs-ffmpeg-extra_87.0.4280.66-0ubuntu0.16.04.1_amd64.deb"
-MD5SUM_x86_64="fbac551f1fead80f650dd34a20add6ab \
- 6e530490e349daade1f6b0ee0b3ee4dc"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://downloads.vivaldi.com/stable/vivaldi-stable_6.6.3271.61-1_amd64.deb \
+ https://update.vivaldi.com/update/1.0/relnotes/6.6.3271.61.html"
+MD5SUM_x86_64="8f5399008b3ce407841768b2e88d84cf \
+ 5dcbd276bf780eb1106b8ac254e2a223"
REQUIRES=""
MAINTAINER="Ruari Oedegaard"
EMAIL="sbo@ruari.com"
diff --git a/network/vmware-horizon-client/README b/network/vmware-horizon-client/README
index 87bcbbceb5..5548d422ea 100644
--- a/network/vmware-horizon-client/README
+++ b/network/vmware-horizon-client/README
@@ -1,18 +1,21 @@
-The VMware Horizon Client for Linux, allowing you to use your Slackware box as a
-thin client and lets you connect to your company's Virtual Desktop
-Infrastructure using the proprietary VMware View 6 PCoIP protocol.
+The VMware Horizon Client for Linux, allowing you to use your
+Slackware box as a thin client and lets you connect to your company's
+Virtual Desktop Infrastructure using the proprietary VMware View 6
+PCoIP protocol.
-*ATTENTION*: This build script installs binary, proprietary software. Only use
-it if you need the proprietary parts and you are ok with installing and using
-proprietary software. By installing this SlackBuild you agree to the EULA you'll
-find installed in /usr/doc/vmware-horizon-client-4.3.0/. If you do not agree,
-uninstall the package.
+*ATTENTION*: This build script installs binary, proprietary
+software. Only use it if you need the proprietary parts and you are
+OK with installing and using proprietary software. By installing
+this SlackBuild you agree to the EULA you'll find installed in
+/usr/doc/vmware-horizon-client-4.3.0/. If you do not agree, uninstall
+the package.
-This SlackBuild installs multiple components. At the moment only the PCoIP and
-the Smart Card component seem to work. USB redirection and Virtual Printing
-won't work.
+This SlackBuild installs multiple components. At the moment only the
+PCoIP and the Smart Card component seem to work. USB redirection and
+Virtual Printing won't work.
-To deactivate one of the working components, use the installation options
+To deactivate one of the working components, use the installation
+options
PCOIP="NO"
@@ -20,9 +23,9 @@ and
SMARTCRD="NO"
-You could try to activate USB support by setting USB="YES". But there will be a
-problem with libcrypto. If you find a fix, please email me.
+You could try to activate USB support by setting USB="YES". But there
+will be a problem with libcrypto. If you find a fix, please email me.
-This application is a 32bit application. It won't work on a Slackware64 system
-without multilib capability. But it has been tested and works with a multilib
-setup.
+This application is a 32bit application. It won't work on a
+Slackware64 system without multilib capability. But it has been tested
+and works with a multilib setup.
diff --git a/network/vmware-horizon-client/vmware-horizon-client.SlackBuild b/network/vmware-horizon-client/vmware-horizon-client.SlackBuild
index 15f2e2a220..d8c70d3605 100644
--- a/network/vmware-horizon-client/vmware-horizon-client.SlackBuild
+++ b/network/vmware-horizon-client/vmware-horizon-client.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vmware-horizon-client
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vmware-horizon-client
VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ARCH=i486
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=i586
_BUILD=2769709
# Install PCOIP component
@@ -43,7 +46,14 @@ RTAV=${RTAV:-YES}
echo $PCOIP
break
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -157,4 +167,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vnstat/README b/network/vnstat/README
index 8d2164349a..73cbc51c7a 100644
--- a/network/vnstat/README
+++ b/network/vnstat/README
@@ -8,25 +8,5 @@ so vnStat can be used without root permissions.
This program is open source (GPL) and can be installed in 'single' and
'root' mode.
-Note that you can run vnstat either from cron or as a daemon from /etc/rc.d.
-
-To run vnstat from cron, add the following line to your crontab:
- 0-55/5 * * * * if [[ -x /usr/bin/vnstat && $(ls /var/lib/vnstat/ | wc -l) -ge 1 ]]; then /usr/bin/vnstat -u; fi
-
-To run vnstat from /etc/rc.d:
- chmod +x /etc/rc.d/rc.vnstat
-
-Note that to have vnstat start automatically this way it should be called from
-rc.local (and optionally rc.local_shutdown) like so:
-
- In rc.local:
- # Start vnstat
- if [ -x /etc/rc.d/rc.vnstat ]; then
- /etc/rc.d/rc.vnstat start
- fi
-
- In rc.local_shutdown:
- # Stop vnstat
- if [ -x /etc/rc.d/rc.vnstat ]; then
- /etc/rc.d/rc.vnstat stop
- fi
+Note that you can run vnstat either from cron or as a daemon from
+/etc/rc.d. See README.SBo for post-install configuration.
diff --git a/network/vnstat/README.SBo b/network/vnstat/README.SBo
new file mode 100644
index 0000000000..31fc8fdf3d
--- /dev/null
+++ b/network/vnstat/README.SBo
@@ -0,0 +1,21 @@
+To run vnstat from cron, add the following line to your crontab:
+
+ 0-55/5 * * * * if [[ -x /usr/bin/vnstat && $(ls /var/lib/vnstat/ | wc -l) -ge 1 ]]; then /usr/bin/vnstat -u; fi
+
+To run vnstat from /etc/rc.d:
+ chmod +x /etc/rc.d/rc.vnstat
+
+Note that to have vnstat start automatically this way it should be
+called from rc.local (and optionally rc.local_shutdown) like so:
+
+ In rc.local:
+ # Start vnstat
+ if [ -x /etc/rc.d/rc.vnstat ]; then
+ /etc/rc.d/rc.vnstat start
+ fi
+
+ In rc.local_shutdown:
+ # Stop vnstat
+ if [ -x /etc/rc.d/rc.vnstat ]; then
+ /etc/rc.d/rc.vnstat stop
+ fi
diff --git a/network/vnstat/vnstat.SlackBuild b/network/vnstat/vnstat.SlackBuild
index f58df4c10b..829a53c1ca 100644
--- a/network/vnstat/vnstat.SlackBuild
+++ b/network/vnstat/vnstat.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vnstat
# Copyright 2017-2019 Michiel van Wessem, Manchester, United Kingdom.
-# Copyright 2019-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2019-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vnstat
-VERSION=${VERSION:-2.6}
+VERSION=${VERSION:-2.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -108,4 +115,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vnstat/vnstat.info b/network/vnstat/vnstat.info
index 9802ad57be..09eb1780d8 100644
--- a/network/vnstat/vnstat.info
+++ b/network/vnstat/vnstat.info
@@ -1,8 +1,8 @@
PRGNAM="vnstat"
-VERSION="2.6"
+VERSION="2.12"
HOMEPAGE="https://humdi.net/vnstat/"
-DOWNLOAD="https://humdi.net/vnstat/vnstat-2.6.tar.gz"
-MD5SUM="fe2928a81243cc8a532a357f97221736"
+DOWNLOAD="https://humdi.net/vnstat/vnstat-2.12.tar.gz"
+MD5SUM="98bab6e04f123cfd9f605c579bce8ae7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild
index e99eeb10dc..52f8b6d5bb 100644
--- a/network/vpnc/vpnc.SlackBuild
+++ b/network/vpnc/vpnc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vpnc
@@ -34,26 +34,36 @@
# Modified by the SlackBuilds.org Project.
# sources are from http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vpnc
VERSION=${VERSION:-r550}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -112,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vrrpd/README b/network/vrrpd/README
index 9dbf7a280e..d0ce0adc19 100644
--- a/network/vrrpd/README
+++ b/network/vrrpd/README
@@ -1,34 +1,35 @@
-VRRP daemon (vrrpd) is an RFC 2338 compliant implementation of the
-Virtual Router Redundancy Protocol (VRRP). The Virtual Router Redundancy
-Protocol is designed to eliminate the single point of failure associated
-with statically routed networks by automatically providing failover using
-multiple LAN paths through alternate routers.
+VRRP daemon (vrrpd) is an RFC 2338 compliant implementation of
+the Virtual Router Redundancy Protocol (VRRP). The Virtual Router
+Redundancy Protocol is designed to eliminate the single point of
+failure associated with statically routed networks by automatically
+providing failover using multiple LAN paths through alternate routers.
-As specified in RFC 2338, VRRP uses an election protocol that dynamically
-assigns responsibility for a virtual router to one of the VRRP routers on
-a LAN. When a VRRP router controls the IP address(es) associated with a
-virtual router, it is called the Master. The Master continues to forward
-packets sent to these IP addresses until it has a problem that causes the
-VRRP routers to hold an election. The election process provides dynamic
-failover by electing a new Master should the existing Master become
-unavailable.
+As specified in RFC 2338, VRRP uses an election protocol that
+dynamically assigns responsibility for a virtual router to one of the
+VRRP routers on a LAN. When a VRRP router controls the IP address(es)
+associated with a virtual router, it is called the Master. The Master
+continues to forward packets sent to these IP addresses until it has a
+problem that causes the VRRP routers to hold an election. The election
+process provides dynamic failover by electing a new Master should the
+existing Master become unavailable.
-The virtual router associated with each alternate path under VRRP uses the
-same IP address and MAC address as the routers for other paths. As a result,
-the host's gateway information does not change, no matter what path is used.
-Because of this design, VRRP-based redundancy significantly reduces
-administrative overhead when compared to redundancy schemes that require
-hosts to be configured with multiple default gateways.
+The virtual router associated with each alternate path under VRRP uses
+the same IP address and MAC address as the routers for other paths. As
+a result, the host's gateway information does not change, no matter
+what path is used. Because of this design, VRRP-based redundancy
+significantly reduces administrative overhead when compared to
+redundancy schemes that require hosts to be configured with multiple
+default gateways.
-The primary function of the Virtual Router Redundancy Protocol is to provide
-routing redundancy for specific IP addresses. In addition to this primary
-function, RFC 2338 also states that the protocol should:
+The primary function of the Virtual Router Redundancy Protocol is to
+provide routing redundancy for specific IP addresses. In addition to
+this primary function, RFC 2338 also states that the protocol should:
* Minimize the duration of black holes.
- * Minimize the steady state bandwidth overhead and processing complexity.
- * Function over a variety of multiaccess LAN technologies that support IP
- traffic.
- * Provide for election of multiple virtual routers on a network for load
- balancing.
+ * Minimize the steady state bandwidth overhead and processing
+ complexity.
+ * Function over a variety of multiaccess LAN technologies that support
+ IP traffic.
+ * Provide for election of multiple virtual routers on a network for
+ load balancing.
* Support multiple logical IP subnets on a single LAN segment.
-
diff --git a/network/vrrpd/vrrpd.SlackBuild b/network/vrrpd/vrrpd.SlackBuild
index e64cade1af..d0a05408fb 100644
--- a/network/vrrpd/vrrpd.SlackBuild
+++ b/network/vrrpd/vrrpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vrrpd
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vrrpd
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vuze/vuze.SlackBuild b/network/vuze/vuze.SlackBuild
index d7fca4f6b4..05cecc6abc 100644
--- a/network/vuze/vuze.SlackBuild
+++ b/network/vuze/vuze.SlackBuild
@@ -1,21 +1,31 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Azureus/Vuze
# Written by Chris Lawrence <selivanow@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vuze
VERSION=${VERSION:-4604}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -26,7 +36,7 @@ if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
ARCHIVE=Vuze_${VERSION}_linux-$ARCH.tar.bz2
else
- ARCH=i486
+ ARCH=i586
LIBDIRSUFFIX=""
ARCHIVE=Vuze_${VERSION}_linux.tar.bz2
fi
@@ -66,4 +76,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/vuze/vuze.info b/network/vuze/vuze.info
index 6b9b9b712d..93f97ef96f 100644
--- a/network/vuze/vuze.info
+++ b/network/vuze/vuze.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/project/azureus/vuze/Vuze_4604/Vuze_4
MD5SUM="a771446146ddb5c13132858d36ff22cc"
DOWNLOAD_x86_64="http://downloads.sourceforge.net/project/azureus/vuze/Vuze_4604/Vuze_4604_linux-x86_64.tar.bz2"
MD5SUM_x86_64="6797e922a255a80ff435f98b2b87a3a6"
-REQUIRES="jdk xulrunner"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Chris Lawrence"
EMAIL="selivanow@gmail.com"
diff --git a/network/w3af/README b/network/w3af/README
index 24143b24cc..6c29bc35b0 100644
--- a/network/w3af/README
+++ b/network/w3af/README
@@ -1,5 +1,5 @@
-w3af is a Web Application Attack and Audit Framework. The project's goal is
-to create a framework to find and exploit web application vulnerabilities
-that is easy to use and extend.
+w3af is a Web Application Attack and Audit Framework. The project's
+goal is to create a framework to find and exploit web application
+vulnerabilities that is easy to use and extend.
Take a look at README.SLACKWARE for additional information.
diff --git a/network/w3af/w3af.SlackBuild b/network/w3af/w3af.SlackBuild
index 8385a5a80b..2d825037e2 100644
--- a/network/w3af/w3af.SlackBuild
+++ b/network/w3af/w3af.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for w3af.
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=w3af
VERSION=${VERSION:-1.0}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION="1.0-stable"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/w3af/w3af.info b/network/w3af/w3af.info
index 0ff05405b3..48f2ac0d7f 100644
--- a/network/w3af/w3af.info
+++ b/network/w3af/w3af.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/project/w3af/w3af/w3af%201.0-stable/w
MD5SUM="4ac1fb2cfcbbefb8c0caa813dd822723"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SOAPpy graphviz lxml nltk pyOpenSSL pygtksourceview pysvn scapy"
+REQUIRES="SOAPpy graphviz python2-lxml python3-nltk pyOpenSSL pygtksourceview pysvn scapy"
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"
diff --git a/network/w3m/README b/network/w3m/README
index 3230f813a3..9246f5d791 100644
--- a/network/w3m/README
+++ b/network/w3m/README
@@ -1,29 +1,23 @@
w3m is a World Wide Web (WWW) text based client.
-Help is avaliable in English, German and Japanese. There is
-an option menu which can be configured for the chosen
-lanugage.
-
-It will display hypertext markup language (HTML) documents
-containing links to files residing on the local system, as
-well as files residing on remote systems. It can display
-HTML tables, frames, and images, and supports tabbed
-browsing. In addition, it can be used as a "pager" in much
-the same manner as "more" or "less". w3m can display images
-in both the framebuffer, in supported terminals, and the X
-server.
-
-Supported consoles for image display are st, urxvt
-(rxvt-unicode) and termite (via a patch), including inside
-screen (untested with tmux).
+Help is avaliable in English, German and Japanese. There is an option
+menu which can be configured for the chosen lanugage.
-Optional dependency: compface
+It will display hypertext markup language (HTML) documents containing
+links to files residing on the local system, as well as files residing
+on remote systems. It can display HTML tables, frames, and images, and
+supports tabbed browsing. In addition, it can be used as a "pager" in
+much the same manner as "more" or "less". w3m can display images in
+both the framebuffer, in supported terminals, and the X server.
-(Compface converts 48x48x1 images to and from a compressed
-format. The purpose is to allow the inclusion of face
-images within mail headers using the field name 'X-face:'.)
+Supported consoles for image display are st, urxvt (rxvt-unicode) and
+termite (via a patch), including inside screen (untested with tmux).
+Optional dependency: compface
+(Compface converts 48x48x1 images to and from a compressed format. The
+purpose is to allow the inclusion of face images within mail headers
+using the field name 'X-face:'.)
SlackBuild Options:
@@ -32,14 +26,13 @@ NOMAILER=1 disable w3mmailer
GUIBROWSER=/path/to/browser set the GUI browser
EDITOR=/path/to/editor set external editor
-EG:
+E.G.:
NOMOUSE=1 ./w3m.SlackBuild
NOMAILER=1 ./w3m.SlackBuild
GUIBROWSER=/usr/bin/qutebrowser ./w3m.SlackBuild
-Or combine any of them together. By default GUIBROWSER
-is set to /usr/bin/firefox. EDITOR will be picked up from
-the environment if set.
+Or combine any of them together. By default GUIBROWSER is set to
+/usr/bin/firefox. EDITOR will be picked up from the environment if set.
These are also settable via the options menu.
diff --git a/network/w3m/doinst.sh b/network/w3m/doinst.sh
deleted file mode 100644
index 17f9dccd7e..0000000000
--- a/network/w3m/doinst.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-config etc/w3m/config.new
-config etc/w3m/mailcap.new
diff --git a/network/w3m/patches/w3m-0.5.2-gc72.patch b/network/w3m/patches/w3m-0.5.2-gc72.patch
deleted file mode 100644
index f2df44f06b..0000000000
--- a/network/w3m/patches/w3m-0.5.2-gc72.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naurb w3m-0.5.2.orig/main.c w3m-0.5.2/main.c
---- w3m-0.5.2.orig/main.c 2007-05-31 10:19:50.000000000 +0900
-+++ w3m-0.5.2/main.c 2009-11-09 08:20:02.184953443 +0900
-@@ -312,7 +312,11 @@
- lock = 0;
- }
- }
-+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
-+ else if (orig_GC_warn_proc = GC_get_warn_proc())
-+#else
- else if (orig_GC_warn_proc)
-+#endif
- orig_GC_warn_proc(msg, arg);
- else
- fprintf(stderr, msg, (unsigned long)arg);
-@@ -842,7 +846,11 @@
- mySignal(SIGPIPE, SigPipe);
- #endif
-
-+#if GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 2
-+ GC_set_warn_proc(wrap_GC_warn_proc);
-+#else
- orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
-+#endif
- err_msg = Strnew();
- if (load_argc == 0) {
- /* no URL specified */
diff --git a/network/w3m/patches/w3m-0.5.3-button.patch b/network/w3m/patches/w3m-0.5.3-button.patch
deleted file mode 100644
index a645e25637..0000000000
--- a/network/w3m/patches/w3m-0.5.3-button.patch
+++ /dev/null
@@ -1,439 +0,0 @@
-Description: Support the button element as defined in HTML 4.01
-Origin: upstream, http://www.sic.med.tohoku.ac.jp/~satodai/w3m-dev/201009.month/4411.html
-Bug-Debian: http://bugs.debian.org/136810
-
-Index: file.c
-===================================================================
-RCS file: /cvsroot/w3m/w3m/file.c,v
-retrieving revision 1.264
-diff -u -r1.264 file.c
---- w3m.orig/file.c 3 Aug 2010 10:02:16 -0000 1.264
-+++ w3m/file.c 17 Sep 2010 12:18:55 -0000
-@@ -2467,6 +2467,7 @@
- bcopy((void *)&obuf->anchor, (void *)&obuf->bp.anchor,
- sizeof(obuf->anchor));
- obuf->bp.img_alt = obuf->img_alt;
-+ obuf->bp.input_alt = obuf->input_alt;
- obuf->bp.in_bold = obuf->in_bold;
- obuf->bp.in_italic = obuf->in_italic;
- obuf->bp.in_under = obuf->in_under;
-@@ -2484,6 +2485,7 @@
- bcopy((void *)&obuf->bp.anchor, (void *)&obuf->anchor,
- sizeof(obuf->anchor));
- obuf->img_alt = obuf->bp.img_alt;
-+ obuf->input_alt = obuf->bp.input_alt;
- obuf->in_bold = obuf->bp.in_bold;
- obuf->in_italic = obuf->bp.in_italic;
- obuf->in_under = obuf->bp.in_under;
-@@ -2727,7 +2729,7 @@
- Str line = obuf->line, pass = NULL;
- char *hidden_anchor = NULL, *hidden_img = NULL, *hidden_bold = NULL,
- *hidden_under = NULL, *hidden_italic = NULL, *hidden_strike = NULL,
-- *hidden_ins = NULL, *hidden = NULL;
-+ *hidden_ins = NULL, *hidden_input, *hidden = NULL;
-
- #ifdef DEBUG
- if (w3m_debug) {
-@@ -2759,6 +2761,12 @@
- hidden = hidden_img;
- }
- }
-+ if (obuf->input_alt.in) {
-+ if ((hidden_input = has_hidden_link(obuf, HTML_INPUT_ALT)) != NULL) {
-+ if (!hidden || hidden_input < hidden)
-+ hidden = hidden_input;
-+ }
-+ }
- if (obuf->in_bold) {
- if ((hidden_bold = has_hidden_link(obuf, HTML_B)) != NULL) {
- if (!hidden || hidden_bold < hidden)
-@@ -2810,6 +2818,8 @@
- Strcat_charp(line, "</a>");
- if (obuf->img_alt && !hidden_img)
- Strcat_charp(line, "</img_alt>");
-+ if (obuf->input_alt.in && !hidden_input)
-+ Strcat_charp(line, "</input_alt>");
- if (obuf->in_bold && !hidden_bold)
- Strcat_charp(line, "</b>");
- if (obuf->in_italic && !hidden_italic)
-@@ -3020,6 +3030,18 @@
- Strcat_charp(tmp, "\">");
- push_tag(obuf, tmp->ptr, HTML_IMG_ALT);
- }
-+ if (!hidden_input && obuf->input_alt.in) {
-+ Str tmp;
-+ if (obuf->input_alt.hseq > 0)
-+ obuf->input_alt.hseq = - obuf->input_alt.hseq;
-+ tmp = Sprintf("<INPUT_ALT hseq=\"%d\" fid=\"%d\" name=\"%s\" type=\"%s\" value=\"%s\">",
-+ obuf->input_alt.hseq,
-+ obuf->input_alt.fid,
-+ obuf->input_alt.name->ptr,
-+ obuf->input_alt.type->ptr,
-+ obuf->input_alt.value->ptr);
-+ push_tag(obuf, tmp->ptr, HTML_INPUT_ALT);
-+ }
- if (!hidden_bold && obuf->in_bold)
- push_tag(obuf, "<B>", HTML_B);
- if (!hidden_italic && obuf->in_italic)
-@@ -3730,6 +3752,63 @@
- }
-
- Str
-+process_button(struct parsed_tag *tag)
-+{
-+ Str tmp = NULL;
-+ char *p, *q, *r, *qq = NULL;
-+ int qlen, v;
-+
-+ if (cur_form_id < 0) {
-+ char *s = "<form_int method=internal action=none>";
-+ tmp = process_form(parse_tag(&s, TRUE));
-+ }
-+ if (tmp == NULL)
-+ tmp = Strnew();
-+
-+ p = "submit";
-+ parsedtag_get_value(tag, ATTR_TYPE, &p);
-+ q = NULL;
-+ parsedtag_get_value(tag, ATTR_VALUE, &q);
-+ r = "";
-+ parsedtag_get_value(tag, ATTR_NAME, &r);
-+
-+ v = formtype(p);
-+ if (v == FORM_UNKNOWN)
-+ return NULL;
-+
-+ if (!q) {
-+ switch (v) {
-+ case FORM_INPUT_SUBMIT:
-+ case FORM_INPUT_BUTTON:
-+ q = "SUBMIT";
-+ break;
-+ case FORM_INPUT_RESET:
-+ q = "RESET";
-+ break;
-+ }
-+ }
-+ if (q) {
-+ qq = html_quote(q);
-+ qlen = strlen(q);
-+ }
-+
-+ // Strcat_charp(tmp, "<pre_int>");
-+ Strcat(tmp, Sprintf("<input_alt hseq=\"%d\" fid=\"%d\" type=%s "
-+ "name=\"%s\" value=\"%s\">",
-+ cur_hseq++, cur_form_id, p, html_quote(r), qq));
-+ return tmp;
-+}
-+
-+Str
-+process_n_button(void)
-+{
-+ Str tmp = Strnew();
-+ Strcat_charp(tmp, "</input_alt>");
-+ // Strcat_charp(tmp, "</pre_int>");
-+ return tmp;
-+}
-+
-+Str
- process_select(struct parsed_tag *tag)
- {
- Str tmp = NULL;
-@@ -4859,7 +4938,35 @@
- if (i > obuf->bottom_margin)
- obuf->bottom_margin = i;
- }
-+ if (parsedtag_get_value(tag, ATTR_HSEQ, &hseq)) {
-+ obuf->input_alt.hseq = hseq;
-+ }
-+ if (parsedtag_get_value(tag, ATTR_FID, &i)) {
-+ obuf->input_alt.fid = i;
-+ }
-+ if (parsedtag_get_value(tag, ATTR_TYPE, &p)) {
-+ obuf->input_alt.type = Strnew_charp(p);
-+ }
-+ if (parsedtag_get_value(tag, ATTR_VALUE, &p)) {
-+ obuf->input_alt.value = Strnew_charp(p);
-+ }
-+ if (parsedtag_get_value(tag, ATTR_NAME, &p)) {
-+ obuf->input_alt.name = Strnew_charp(p);
-+ }
-+ obuf->input_alt.in = 1;
- return 0;
-+ case HTML_N_INPUT_ALT:
-+ if (obuf->input_alt.in) {
-+ if (!close_effect0(obuf, HTML_INPUT_ALT))
-+ push_tag(obuf, "</input_alt>", HTML_N_INPUT_ALT);
-+ obuf->input_alt.hseq = 0;
-+ obuf->input_alt.fid = -1;
-+ obuf->input_alt.in = 0;
-+ obuf->input_alt.type = NULL;
-+ obuf->input_alt.name = NULL;
-+ obuf->input_alt.value = NULL;
-+ }
-+ return 1;
- case HTML_TABLE:
- close_anchor(h_env, obuf);
- obuf->table_level++;
-@@ -4968,6 +5075,16 @@
- case HTML_INPUT:
- close_anchor(h_env, obuf);
- tmp = process_input(tag);
-+ if (tmp)
-+ HTMLlineproc1(tmp->ptr, h_env);
-+ return 1;
-+ case HTML_BUTTON:
-+ tmp = process_button(tag);
-+ if (tmp)
-+ HTMLlineproc1(tmp->ptr, h_env);
-+ return 1;
-+ case HTML_N_BUTTON:
-+ tmp = process_n_button();
- if (tmp)
- HTMLlineproc1(tmp->ptr, h_env);
- return 1;
-@@ -5680,6 +5797,21 @@
- putHmarker(buf->hmarklist, currentLn(buf),
- hpos, hseq - 1);
- }
-+ else if (hseq < 0) {
-+ int h = -hseq - 1;
-+ int hpos = pos;
-+ if (*str == '[')
-+ hpos++;
-+ if (buf->hmarklist &&
-+ h < buf->hmarklist->nmark &&
-+ buf->hmarklist->marks[h].invalid) {
-+ buf->hmarklist->marks[h].pos = hpos;
-+ buf->hmarklist->marks[h].line = currentLn(buf);
-+ buf->hmarklist->marks[h].invalid = 0;
-+ hseq = -hseq;
-+ }
-+ }
-+
- if (!form->target)
- form->target = buf->baseTarget;
- if (a_textarea &&
-@@ -6747,6 +6879,12 @@
- obuf->nobr_level = 0;
- bzero((void *)&obuf->anchor, sizeof(obuf->anchor));
- obuf->img_alt = 0;
-+ obuf->input_alt.hseq = 0;
-+ obuf->input_alt.fid = -1;
-+ obuf->input_alt.in = 0;
-+ obuf->input_alt.type = NULL;
-+ obuf->input_alt.name = NULL;
-+ obuf->input_alt.value = NULL;
- obuf->in_bold = 0;
- obuf->in_italic = 0;
- obuf->in_under = 0;
-@@ -6782,6 +6920,15 @@
- push_tag(obuf, "</img_alt>", HTML_N_IMG_ALT);
- obuf->img_alt = NULL;
- }
-+ if (obuf->input_alt.in) {
-+ push_tag(obuf, "</input_alt>", HTML_N_INPUT_ALT);
-+ obuf->input_alt.hseq = 0;
-+ obuf->input_alt.fid = -1;
-+ obuf->input_alt.in = 0;
-+ obuf->input_alt.type = NULL;
-+ obuf->input_alt.name = NULL;
-+ obuf->input_alt.value = NULL;
-+ }
- if (obuf->in_bold) {
- push_tag(obuf, "</b>", HTML_N_B);
- obuf->in_bold = 0;
-Index: fm.h
-===================================================================
-RCS file: /cvsroot/w3m/w3m/fm.h,v
-retrieving revision 1.149
-diff -u -r1.149 fm.h
---- w3m.orig/fm.h 20 Aug 2010 09:47:09 -0000 1.149
-+++ w3m/fm.h 17 Sep 2010 12:18:55 -0000
-@@ -562,6 +562,13 @@
- #define INIT_BUFFER_WIDTH ((_INIT_BUFFER_WIDTH > 0) ? _INIT_BUFFER_WIDTH : 0)
- #define FOLD_BUFFER_WIDTH (FoldLine ? (INIT_BUFFER_WIDTH + 1) : -1)
-
-+struct input_alt_attr {
-+ int hseq;
-+ int fid;
-+ int in;
-+ Str type, name, value;
-+};
-+
- typedef struct {
- int pos;
- int len;
-@@ -569,6 +576,7 @@
- long flag;
- Anchor anchor;
- Str img_alt;
-+ struct input_alt_attr input_alt;
- char fontstat[FONTSTAT_SIZE];
- short nobr_level;
- Lineprop prev_ctype;
-@@ -591,6 +599,7 @@
- short nobr_level;
- Anchor anchor;
- Str img_alt;
-+ struct input_alt_attr input_alt;
- char fontstat[FONTSTAT_SIZE];
- char fontstat_stack[FONT_STACK_SIZE][FONTSTAT_SIZE];
- int fontstat_sp;
-Index: html.c
-===================================================================
-RCS file: /cvsroot/w3m/w3m/html.c,v
-retrieving revision 1.32
-diff -u -r1.32 html.c
---- w3m.orig/html.c 14 Aug 2010 01:29:40 -0000 1.32
-+++ w3m/html.c 17 Sep 2010 12:18:55 -0000
-@@ -56,6 +56,9 @@
- ATTR_CORE
- };
- #define MAXA_INPUT MAXA_CORE + 12
-+unsigned char ALST_BUTTON[] =
-+ { ATTR_TYPE, ATTR_VALUE, ATTR_NAME, ATTR_CORE };
-+#define MAXA_BUTTON MAXA_CORE + 3
- unsigned char ALST_TEXTAREA[] =
- { ATTR_COLS, ATTR_ROWS, ATTR_NAME, ATTR_READONLY, ATTR_CORE };
- #define MAXA_TEXTAREA MAXA_CORE + 4
-@@ -247,24 +250,24 @@
- {"/bdo", NULL, 0, TFLG_END}, /* 121 HTML_N_BDO */
- {"big", ALST_NOP, MAXA_NOP, 0}, /* 122 HTML_BIG */
- {"/big", NULL, 0, TFLG_END}, /* 123 HTML_N_BIG */
-- {"button", ALST_NOP, MAXA_NOP, 0}, /* 124 HTML_BUTTON */
-- {"fieldset", ALST_NOP, MAXA_NOP, 0}, /* 125 HTML_FIELDSET */
-- {"/fieldset", NULL, 0, TFLG_END}, /* 126 HTML_N_FIELDSET */
-- {"iframe", ALST_NOP, MAXA_NOP, 0}, /* 127 HTML_IFRAME */
-- {"label", ALST_NOP, MAXA_NOP, 0}, /* 128 HTML_LABEL */
-- {"/label", NULL, 0, TFLG_END}, /* 129 HTML_N_LABEL */
-- {"legend", ALST_NOP, MAXA_NOP, 0}, /* 130 HTML_LEGEND */
-- {"/legend", NULL, 0, TFLG_END}, /* 131 HTML_N_LEGEND */
-- {"noscript", ALST_NOP, MAXA_NOP, 0}, /* 132 HTML_NOSCRIPT */
-- {"/noscript", NULL, 0, TFLG_END}, /* 133 HTML_N_NOSCRIPT */
-- {"object", ALST_NOP, MAXA_NOP, 0}, /* 134 HTML_OBJECT */
-- {"optgroup", ALST_NOP, MAXA_NOP, 0}, /* 135 HTML_OPTGROUP */
-- {"/optgroup", NULL, 0, TFLG_END}, /* 136 HTML_N_OPTGROUP */
-- {"param", ALST_NOP, MAXA_NOP, 0}, /* 137 HTML_PARAM */
-- {"small", ALST_NOP, MAXA_NOP, 0}, /* 138 HTML_SMALL */
-- {"/small", NULL, 0, TFLG_END}, /* 139 HTML_N_SMALL */
-+ {"button", ALST_BUTTON, MAXA_BUTTON, 0}, /* 124 HTML_BUTTON */
-+ {"/button", NULL, 0, TFLG_END}, /* 125 HTML_N_BUTTON */
-+ {"fieldset", ALST_NOP, MAXA_NOP, 0}, /* 126 HTML_FIELDSET */
-+ {"/fieldset", NULL, 0, TFLG_END}, /* 127 HTML_N_FIELDSET */
-+ {"iframe", ALST_NOP, MAXA_NOP, 0}, /* 128 HTML_IFRAME */
-+ {"label", ALST_NOP, MAXA_NOP, 0}, /* 129 HTML_LABEL */
-+ {"/label", NULL, 0, TFLG_END}, /* 130 HTML_N_LABEL */
-+ {"legend", ALST_NOP, MAXA_NOP, 0}, /* 131 HTML_LEGEND */
-+ {"/legend", NULL, 0, TFLG_END}, /* 132 HTML_N_LEGEND */
-+ {"noscript", ALST_NOP, MAXA_NOP, 0}, /* 133 HTML_NOSCRIPT */
-+ {"/noscript", NULL, 0, TFLG_END}, /* 134 HTML_N_NOSCRIPT */
-+ {"object", ALST_NOP, MAXA_NOP, 0}, /* 135 HTML_OBJECT */
-+ {"optgroup", ALST_NOP, MAXA_NOP, 0}, /* 136 HTML_OPTGROUP */
-+ {"/optgroup", NULL, 0, TFLG_END}, /* 137 HTML_N_OPTGROUP */
-+ {"param", ALST_NOP, MAXA_NOP, 0}, /* 138 HTML_PARAM */
-+ {"small", ALST_NOP, MAXA_NOP, 0}, /* 139 HTML_SMALL */
-+ {"/small", NULL, 0, TFLG_END}, /* 140 HTML_N_SMALL */
-
-- {NULL, NULL, 0, 0}, /* 140 Undefined */
- {NULL, NULL, 0, 0}, /* 141 Undefined */
- {NULL, NULL, 0, 0}, /* 142 Undefined */
- {NULL, NULL, 0, 0}, /* 143 Undefined */
-Index: html.h
-===================================================================
-RCS file: /cvsroot/w3m/w3m/html.h,v
-retrieving revision 1.31
-diff -u -r1.31 html.h
---- w3m.orig/html.h 14 Aug 2010 01:29:40 -0000 1.31
-+++ w3m/html.h 17 Sep 2010 12:18:55 -0000
-@@ -214,21 +214,22 @@
- #define HTML_BIG 122
- #define HTML_N_BIG 123
- #define HTML_BUTTON 124
--#define HTML_FIELDSET 125
--#define HTML_N_FIELDSET 126
--#define HTML_IFRAME 127
--#define HTML_LABEL 128
--#define HTML_N_LABEL 129
--#define HTML_LEGEND 130
--#define HTML_N_LEGEND 131
--#define HTML_NOSCRIPT 132
--#define HTML_N_NOSCRIPT 133
--#define HTML_OBJECT 134
--#define HTML_OPTGROUP 135
--#define HTML_N_OPTGROUP 136
--#define HTML_PARAM 137
--#define HTML_SMALL 138
--#define HTML_N_SMALL 139
-+#define HTML_N_BUTTON 125
-+#define HTML_FIELDSET 126
-+#define HTML_N_FIELDSET 127
-+#define HTML_IFRAME 128
-+#define HTML_LABEL 129
-+#define HTML_N_LABEL 130
-+#define HTML_LEGEND 131
-+#define HTML_N_LEGEND 132
-+#define HTML_NOSCRIPT 133
-+#define HTML_N_NOSCRIPT 134
-+#define HTML_OBJECT 135
-+#define HTML_OPTGROUP 136
-+#define HTML_N_OPTGROUP 137
-+#define HTML_PARAM 138
-+#define HTML_SMALL 139
-+#define HTML_N_SMALL 140
-
- /* pseudo tag */
- #define HTML_SELECT_INT 160
-Index: proto.h
-===================================================================
-RCS file: /cvsroot/w3m/w3m/proto.h,v
-retrieving revision 1.104
-diff -u -r1.104 proto.h
---- w3m.orig/proto.h 25 Jul 2010 09:55:05 -0000 1.104
-+++ w3m/proto.h 17 Sep 2010 12:18:55 -0000
-@@ -207,6 +207,8 @@
- extern Str process_img(struct parsed_tag *tag, int width);
- extern Str process_anchor(struct parsed_tag *tag, char *tagbuf);
- extern Str process_input(struct parsed_tag *tag);
-+extern Str process_button(struct parsed_tag *tag);
-+extern Str process_n_button(void);
- extern Str process_select(struct parsed_tag *tag);
- extern Str process_n_select(void);
- extern void feed_select(char *str);
-Index: table.c
-===================================================================
-RCS file: /cvsroot/w3m/w3m/table.c,v
-retrieving revision 1.58
-diff -u -r1.58 table.c
---- w3m.orig/table.c 9 Aug 2010 11:59:19 -0000 1.58
-+++ w3m/table.c 17 Sep 2010 12:18:55 -0000
-@@ -2878,6 +2878,14 @@
- tmp = process_input(tag);
- feed_table1(tbl, tmp, mode, width);
- break;
-+ case HTML_BUTTON:
-+ tmp = process_button(tag);
-+ feed_table1(tbl, tmp, mode, width);
-+ break;
-+ case HTML_N_BUTTON:
-+ tmp = process_n_button();
-+ feed_table1(tbl, tmp, mode, width);
-+ break;
- case HTML_SELECT:
- tmp = process_select(tag);
- if (tmp)
-Index: tagtable.tab
-===================================================================
-RCS file: /cvsroot/w3m/w3m/tagtable.tab,v
-retrieving revision 1.14
-diff -u -r1.14 tagtable.tab
---- w3m.orig/tagtable.tab 14 Aug 2010 01:29:40 -0000 1.14
-+++ w3m/tagtable.tab 17 Sep 2010 12:18:55 -0000
-@@ -176,6 +176,7 @@
- big HTML_BIG
- /big HTML_N_BIG
- button HTML_BUTTON
-+/button HTML_N_BUTTON
- fieldset HTML_FIELDSET
- /fieldset HTML_N_FIELDSET
- iframe HTML_IFRAME
diff --git a/network/w3m/patches/w3m-0.5.3-gdk-pixbuf.patch b/network/w3m/patches/w3m-0.5.3-gdk-pixbuf.patch
deleted file mode 100644
index d41a699633..0000000000
--- a/network/w3m/patches/w3m-0.5.3-gdk-pixbuf.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- a/w3mimg/x11/x11_w3mimg.c 2004-11-08 18:14:06.000000000 +0100
-+++ b/w3mimg/x11/x11_w3mimg.c 2012-05-19 06:31:08.908783927 +0200
-@@ -14,7 +14,7 @@
- #elif defined(USE_GDKPIXBUF)
- #if defined(USE_GTK2)
- #include <glib-object.h>
--#include <gdk/gdk.h>
-+#include <gdk-pixbuf/gdk-pixbuf.h>
- #include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
- #else
- #include <gdk-pixbuf/gdk-pixbuf-xlib.h>
---- a/w3mimg/fb/fb_gdkpixbuf.c 2004-11-08 18:14:06.000000000 +0100
-+++ b/w3mimg/fb/fb_gdkpixbuf.c 2012-05-20 05:06:07.744816661 +0200
-@@ -6,7 +6,7 @@
- #include "config.h"
- #if defined(USE_GTK2)
- #include <glib-object.h>
--#include <gdk/gdk.h>
-+#include <gdk-pixbuf/gdk-pixbuf.h>
- #endif
- #include <gdk-pixbuf/gdk-pixbuf.h>
- #include "fb.h"
---- a/acinclude.m4 2011-01-04 10:22:18.000000000 +0100
-+++ b/acinclude.m4 2012-05-20 05:15:36.158981506 +0200
-@@ -705,8 +705,8 @@ AC_DEFUN([AC_W3M_IMAGE],
- IMGTARGETS="x11"
- AC_DEFINE(USE_GDKPIXBUF)
- AC_DEFINE(USE_GTK2)
-- IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`"
-- IMGX11LDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`"
-+ IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`"
-+ IMGX11LDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0`"
- elif test x"$have_gdkpixbuf" = xyes; then
- AC_DEFINE(USE_W3MIMG_X11)
- IMGOBJS="$IMGOBJS x11/x11_w3mimg.o"
-@@ -740,8 +740,8 @@ AC_DEFUN([AC_W3M_IMAGE],
- IMGTARGETS="${IMGTARGETS} fb"
- AC_DEFINE(USE_GDKPIXBUF)
- AC_DEFINE(USE_GTK2)
-- IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gtk+-2.0`"
-- IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gtk+-2.0`"
-+ IMGFBCFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0`"
-+ IMGFBLDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0`"
- elif test x"$have_gdkpixbuf" = xyes; then
- AC_DEFINE(USE_W3MIMG_FB)
- IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o"
diff --git a/network/w3m/patches/w3m-0.5.3-glibc214.patch b/network/w3m/patches/w3m-0.5.3-glibc214.patch
deleted file mode 100644
index 84ab9d7d88..0000000000
--- a/network/w3m/patches/w3m-0.5.3-glibc214.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- a/istream.c.~1.27.~ 2011-01-04 18:22:22.000000000 +0900
-+++ a/istream.c 2011-06-24 08:15:23.522990618 +0900
-@@ -22,8 +22,8 @@
- static void basic_close(int *handle);
- static int basic_read(int *handle, char *buf, int len);
-
--static void file_close(struct file_handle *handle);
--static int file_read(struct file_handle *handle, char *buf, int len);
-+static void file_close(struct afile_handle *handle);
-+static int file_read(struct afile_handle *handle, char *buf, int len);
-
- static int str_read(Str handle, char *buf, int len);
-
-@@ -114,7 +114,7 @@
- stream = New(union input_stream);
- init_base_stream(&stream->base, STREAM_BUF_SIZE);
- stream->file.type = IST_FILE;
-- stream->file.handle = New(struct file_handle);
-+ stream->file.handle = New(struct afile_handle);
- stream->file.handle->f = f;
- if (closep)
- stream->file.handle->close = closep;
-@@ -658,13 +658,13 @@
- }
-
- static void
--file_close(struct file_handle *handle)
-+file_close(struct afile_handle *handle)
- {
- handle->close(handle->f);
- }
-
- static int
--file_read(struct file_handle *handle, char *buf, int len)
-+file_read(struct afile_handle *handle, char *buf, int len)
- {
- return fread(buf, 1, len, handle->f);
- }
---- a/istream.h.~1.12.~ 2003-10-21 01:41:56.000000000 +0900
-+++ a/istream.h 2011-06-24 08:15:54.392991144 +0900
-@@ -20,7 +20,7 @@
-
- typedef struct stream_buffer *StreamBuffer;
-
--struct file_handle {
-+struct afile_handle {
- FILE *f;
- void (*close) ();
- };
-@@ -53,7 +53,7 @@
-
- struct file_stream {
- struct stream_buffer stream;
-- struct file_handle *handle;
-+ struct afile_handle *handle;
- char type;
- char iseos;
- int (*read) ();
diff --git a/network/w3m/patches/w3m-0.5.3-underlinking.patch b/network/w3m/patches/w3m-0.5.3-underlinking.patch
deleted file mode 100644
index 1b034b46cb..0000000000
--- a/network/w3m/patches/w3m-0.5.3-underlinking.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Description: Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5
-Author: Martin Pitt <martin.pitt@ubuntu.com>
-Bug: https://sourceforge.net/tracker/?func=detail&aid=3126430&group_id=39518&atid=425441
-
---- w3m-0.5.3.orig/Makefile.in 2011-01-04 18:22:18.000000000 +0900
-+++ w3m-0.5.3/Makefile.in 2011-02-06 12:05:40.000000000 +0900
-@@ -199,7 +199,7 @@
- $(CC) $(CFLAGS) -DDUMMY -c -o $@ $?
-
- $(IMGDISPLAY): w3mimgdisplay.o $(ALIB) w3mimg/w3mimg.a
-- $(IMGLINK) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) $(IMGLDFLAGS)
-+ $(IMGLINK) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) -lX11 $(IMGLDFLAGS)
-
- w3mimgdisplay.o: w3mimgdisplay.c w3mimg/w3mimg.h
- $(CC) $(CFLAGS) $(IMGCFLAGS) -o $@ -c $(srcdir)/w3mimgdisplay.c
diff --git a/network/w3m/w3m.SlackBuild b/network/w3m/w3m.SlackBuild
index 416eba172e..022239d2ba 100644
--- a/network/w3m/w3m.SlackBuild
+++ b/network/w3m/w3m.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for w3m
# Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc>
@@ -23,12 +23,13 @@
# Much appreciation to the debian maintainers for keeping w3m alive and
# patched https://packages.debian.org/stretch/w3m
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=w3m
-VERSION=${VERSION:-0.5.3_37}
-PATCHVERSION=$(echo $VERSION | sed "s/_/-/g")
-SRCVERSION=${SRCVERSION:-0.5.3}
+VERSION=${VERSION:-0.5.3+git20230121}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,17 +70,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$VERSION
# source
-tar xvf $CWD/${PRGNAM}_${SRCVERSION}.orig.tar.gz
-cd $PRGNAM-$SRCVERSION
-# patches
-tar xvf $CWD/${PRGNAM}_$PATCHVERSION.debian.tar.xz
-
-# patches from debian
-while read patch; do
- patch -p1 --verbose < debian/patches/$patch
-done < debian/patches/series
+tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.xz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -104,7 +105,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-unicode \
--enable-nls \
--enable-m17n \
- --with-imagelib="gtk2 gdk-pixbuf2 imlib2" \
+ --with-imagelib="gtk2 gdk-pixbuf2" \
--with-termlib="terminfo ncurses" \
$mouse \
$mailer \
@@ -124,19 +125,11 @@ find Bonus -type f | while read f; do
done
mkdir -p $PKG/etc/w3m
-install -m 644 debian/w3mconfig $PKG/etc/w3m/config.new
-install -m 644 debian/mailcap $PKG/etc/w3m/mailcap.new
DOCS="ChangeLog NEWS doc* ABOUT-NLS README TODO"
-DEBDOCS="changelog copyright mailcap w3mconfig"
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/debian
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-for doc in $DEBDOCS; do
- cp -a debian/$doc $PKG/usr/doc/$PRGNAM-$VERSION/debian
-done
-
mv $PKG/usr/doc/$PRGNAM-$VERSION/examples/Bonus/README \
$PKG/usr/doc/$PRGNAM-$VERSION/examples/Bonus/README.ja
@@ -174,7 +167,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/w3m/w3m.info b/network/w3m/w3m.info
index 308f707d11..bc33b0bb43 100644
--- a/network/w3m/w3m.info
+++ b/network/w3m/w3m.info
@@ -1,12 +1,10 @@
PRGNAM="w3m"
-VERSION="0.5.3_37"
-HOMEPAGE="http://w3m.sourceforge.net/"
-DOWNLOAD="http://deb.debian.org/debian/pool/main/w/w3m/w3m_0.5.3.orig.tar.gz \
- http://deb.debian.org/debian/pool/main/w/w3m/w3m_0.5.3-37.debian.tar.xz"
-MD5SUM="1b845a983a50b8dec0169ac48479eacc \
- 2d7fb8723f68a0dde14203e38a008a6e"
+VERSION="0.5.3+git20230121"
+HOMEPAGE="https://w3m.sourceforge.net/"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/w/w3m/w3m_0.5.3+git20230121.orig.tar.xz"
+MD5SUM="32d66f63a695915961a276f9c02a992b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="imlib2"
-MAINTAINER="Dave Woodfall"
+REQUIRES=""
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/wakeonlan/wakeonlan.SlackBuild b/network/wakeonlan/wakeonlan.SlackBuild
index 8b0c3eaad3..90df9c426e 100644
--- a/network/wakeonlan/wakeonlan.SlackBuild
+++ b/network/wakeonlan/wakeonlan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wakeonlan
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wakeonlan
VERSION=${VERSION:-0.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wakeonlan/wakeonlan.info b/network/wakeonlan/wakeonlan.info
index 41c393af24..df492a4c92 100644
--- a/network/wakeonlan/wakeonlan.info
+++ b/network/wakeonlan/wakeonlan.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/w/wakeonlan/wakeonlan-0.2.2.ta
MD5SUM="738cf2e3c01de8ff393d0863f5172383"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/waterfox/README b/network/waterfox/README
deleted file mode 100644
index b3c73f191f..0000000000
--- a/network/waterfox/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Waterfox was one of the first widely distributed 64-Bit browsers on
-the Web and quickly gained a loyal following. At one time, Waterfox
-had one thing in mind - speed. But now Waterfox also attempts to be an
-ethical, user-oriented browser.
-
-Features:
-
- Disabled Encrypted Media Extensions (EME)
- Disabled Web Runtime (deprecated as of 2015)
- Removed Pocket
- Removed Telemetry
- Removed data collection
- Removed startup profiling
- Allow running of all 64-Bit NPAPI plugins
- Allow running of unsigned extensions
- Removal of Sponsored Tiles on New Tab Page
- Addition of Duplicate Tab option
- Locale selector in about:preferences > General
-
-Waterfox is only available for the x86-64 architecture.
-
-This SlackBuild just repackages the binary package provided by the project.
-It doesn't attempt to build the browser from source.
diff --git a/network/waterfox/doinst.sh b/network/waterfox/doinst.sh
deleted file mode 100644
index 9a8ded3c60..0000000000
--- a/network/waterfox/doinst.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
diff --git a/network/waterfox/slack-desc b/network/waterfox/slack-desc
deleted file mode 100644
index bdaed00ed4..0000000000
--- a/network/waterfox/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-waterfox: waterfox (Web browser)
-waterfox:
-waterfox: Waterfox was one of the first widely distributed 64-Bit browsers on
-waterfox: the Web and quickly gained a loyal following. At one time, Waterfox
-waterfox: had one thing in mind - speed. But now Waterfox also attempts to be an
-waterfox: ethical, user-oriented browser.
-waterfox:
-waterfox:
-waterfox:
-waterfox: Homepage: https://www.waterfox.net
-waterfox:
diff --git a/network/waterfox/waterfox.SlackBuild b/network/waterfox/waterfox.SlackBuild
deleted file mode 100644
index abdd1ecfa0..0000000000
--- a/network/waterfox/waterfox.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for waterfox
-# Copyright 2017-2020 Donald Cooley South Haven, Indiana USA
-
-# Based on the pale moon SlackBuilds by:
-# Copyright 2015 pomfland
-# Copyright 2017 skaendo <skaendo at excite dot com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=waterfox
-SRCNAM=waterfox-classic
-VERSION=${VERSION:-2020.02.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Check and then abort if the architecture is not 64-bit.
-if [ "$ARCH" != "x86_64" ]; then
- echo "$ARCH is unsupported"
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM-$VERSION.en-US.linux-$ARCH.tar.?z*
-cd $SRCNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Install waterfox into /opt
-mkdir -p $PKG/opt/waterfox
-cp -vr * $PKG/opt/waterfox
-
-# Link Waterfox binary to /usr/bin
-mkdir -p $PKG/usr/bin
-ln -s /opt/waterfox/waterfox $PKG/usr/bin/waterfox
-
-# Install .desktop file
-mkdir -p $PKG/usr/share/applications
-cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
-
-# Icon
-mkdir -p $PKG/usr/share/pixmaps/
-#cp $PKG/opt/$PRGNAM/browser/icons/mozicon128.png $PKG/usr/share/pixmaps/waterfox-icon.png
-cp $PKG/opt/$PRGNAM/browser/chrome/icons/default/default128.png $PKG/usr/share/pixmaps/waterfox-icon.png
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/waterfox/waterfox.desktop b/network/waterfox/waterfox.desktop
deleted file mode 100644
index 66c468c68f..0000000000
--- a/network/waterfox/waterfox.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=Waterfox Web Browser
-Comment=Browse the World Wide Web
-Keywords=Internet;WWW;Browser;Web;Explorer
-Exec=waterfox %u
-Terminal=false
-X-MultipleArgs=false
-Type=Application
-Icon=waterfox
-Categories=Network;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
-StartupNotify=true
diff --git a/network/waterfox/waterfox.info b/network/waterfox/waterfox.info
deleted file mode 100644
index 6a5736d48a..0000000000
--- a/network/waterfox/waterfox.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="waterfox"
-VERSION="2020.02.1"
-HOMEPAGE="https://www.waterfox.net"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://storage-waterfox.netdna-ssl.com/releases/linux64/installer/waterfox-classic-2020.02.1.en-US.linux-x86_64.tar.bz2"
-MD5SUM_x86_64="20b4a4bce5eb61adf850996fdd8265ad"
-REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/network/wavemon/wavemon.SlackBuild b/network/wavemon/wavemon.SlackBuild
index 79885a0040..4b77204663 100644
--- a/network/wavemon/wavemon.SlackBuild
+++ b/network/wavemon/wavemon.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Wavemon Copyright 2012 Vliegendehuiskat, Netherlands
@@ -6,10 +6,13 @@
# Written by Nick Warne <warne.nick@gmail.com> 2019...
# Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wavemon
-VERSION=${wavemon-0.9.3}
+VERSION=${VERSION:-0.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/weathercli/weathercli.SlackBuild b/network/weathercli/weathercli.SlackBuild
index a8071cde86..12cd688468 100644
--- a/network/weathercli/weathercli.SlackBuild
+++ b/network/weathercli/weathercli.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for weathercli
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weathercli
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/webalizer/README b/network/webalizer/README
index a4fd77e826..227ae436b6 100644
--- a/network/webalizer/README
+++ b/network/webalizer/README
@@ -1,3 +1,5 @@
The Webalizer is a fast, free web server log file analysis program.
It produces highly detailed, easily configurable usage reports in
HTML format, for viewing with a standard web browser.
+
+Optional at build-time detected dependency: GeoIP
diff --git a/network/webalizer/gcc10.patch b/network/webalizer/gcc10.patch
new file mode 100644
index 0000000000..66f4363d5d
--- /dev/null
+++ b/network/webalizer/gcc10.patch
@@ -0,0 +1,19 @@
+diff -Naur webalizer-2.23-08.orig/dns_resolv.c webalizer-2.23-08/dns_resolv.c
+--- webalizer-2.23-08.orig/dns_resolv.c 2013-02-26 06:37:27.000000000 +0100
++++ webalizer-2.23-08/dns_resolv.c 2021-03-23 20:18:10.825092000 +0100
+@@ -78,11 +78,11 @@
+
+ struct dns_child child[MAXCHILD]; /* DNS child pipe data */
+
+-DNODEPTR host_table[MAXHASH]; /* hostname/ip hash table */
++extern DNODEPTR host_table[MAXHASH]; /* hostname/ip hash table */
+
+-char buffer[BUFSIZE]; /* log file record buffer */
+-char tmp_buf[BUFSIZE]; /* used to temp save above */
+-struct utsname system_info; /* system info structure */
++extern char buffer[BUFSIZE]; /* log file record buffer */
++extern char tmp_buf[BUFSIZE]; /* used to temp save above */
++extern struct utsname system_info; /* system info structure */
+
+ int raiseSigChild = 1;
+
diff --git a/network/webalizer/slack-desc b/network/webalizer/slack-desc
index 3da9de19b0..98a31f2654 100644
--- a/network/webalizer/slack-desc
+++ b/network/webalizer/slack-desc
@@ -12,7 +12,7 @@ webalizer: The Webalizer is a fast, free web server log file analysis program.
webalizer: It produces highly detailed, easily configurable usage reports in
webalizer: HTML format, for viewing with a standard web browser.
webalizer:
-webalizer: Homepage: http://webalizer.com/
+webalizer: https://webalizer.net/
webalizer:
webalizer:
webalizer:
diff --git a/network/webalizer/webalizer.SlackBuild b/network/webalizer/webalizer.SlackBuild
index a4fa981af5..e6d3e5469f 100644
--- a/network/webalizer/webalizer.SlackBuild
+++ b/network/webalizer/webalizer.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for webalizer
-# Copyright 2010, Steven King <kingrst@gmail.com>
+# Copyright 2010, Steven King
+# Copyright 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,28 +23,41 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install man pages to /usr/man/man1 (not /usr/man)!
+# - fix download URL.
+# - i486 => i586.
+# - no INSTALL in doc dor.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=webalizer
VERSION=${VERSION:-2.23_08}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRC_VERSION=$(printf $VERSION | tr _ -)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,9 +81,11 @@ cd $PRGNAM-$SRC_VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} +
+
+patch -p1 < $CWD/gcc10.patch
CFLAGS="$SLKCFLAGS" \
CXFLAGS="$SLKCFLAGS" \
@@ -82,17 +98,18 @@ CXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make MANDIR=/usr/man
-make install MANDIR=/usr/man DESTDIR=$PKG
+make MANDIR=/usr/man/man1
+make install MANDIR=/usr/man/man1 DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES Copyright COPYING DNS.README README README.FIRST INSTALL \
+ CHANGES Copyright COPYING DNS.README README README.FIRST \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -101,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/webalizer/webalizer.info b/network/webalizer/webalizer.info
index 6f5f21f680..fc51dda7c1 100644
--- a/network/webalizer/webalizer.info
+++ b/network/webalizer/webalizer.info
@@ -1,10 +1,10 @@
PRGNAM="webalizer"
VERSION="2.23_08"
-HOMEPAGE="http://webalizer.com"
-DOWNLOAD="ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.23-08-src.tgz"
+HOMEPAGE="https://webalizer.net/"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/webalizer-2.23-08-src.tgz"
MD5SUM="00f1f18bd5ed462ea43bf98d867e7966"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="GeoIP"
-MAINTAINER="Steven King"
-EMAIL="kingrst@gmail.com"
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/network/webex/README b/network/webex/README
new file mode 100644
index 0000000000..2b187d9e76
--- /dev/null
+++ b/network/webex/README
@@ -0,0 +1,5 @@
+The all new Webex App is one easy-to-use and secure app you can use to
+call, message, meet, and get work done.
+
+This script will repackage the debian binary. Cisco doesn't version
+their downloads, so the MD5SUM and VERSION numbers might not match.
diff --git a/network/Free-Cinema/doinst.sh b/network/webex/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/Free-Cinema/doinst.sh
+++ b/network/webex/doinst.sh
diff --git a/network/webex/slack-desc b/network/webex/slack-desc
new file mode 100644
index 0000000000..03d7a771a5
--- /dev/null
+++ b/network/webex/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+webex: webex (Webex for Linux)
+webex:
+webex: The all new Webex App is one easy-to-use and secure app you can use to
+webex: call, message, meet, and get work done.
+webex:
+webex: Homepage: https://www.webex.com
+webex:
+webex:
+webex:
+webex:
+webex:
diff --git a/network/webex/webex.SlackBuild b/network/webex/webex.SlackBuild
new file mode 100644
index 0000000000..4e80deb996
--- /dev/null
+++ b/network/webex/webex.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for webex
+
+# Copyright 2022-2023 Eugene Wissner, Mannheim, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - +x permission for shared libs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=webex
+VERSION=${VERSION:-43.11.0.27795}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH=$( uname -m )
+fi
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH architecture is unsupported." >/dev/stderr
+ exit 1
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+ar p $CWD/Webex.deb data.tar.xz | tar xJv || exit 1
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+# Install a .desktop launcher:
+# * Version should be the version of the desktop entry specification, not application version.
+# * "Application" category is deprecated.
+mkdir -p $PKG/usr/share/applications
+cat $PKG/opt/Webex/bin/webex.desktop | ruby -ne '
+ unless $_.start_with? %q{Version=}
+ puts $_.sub(/^Comment=.+/, %q{Comment=Video conferencing})
+ .sub(/^Categories=.+/, %q{Categories=Network})
+ end
+' > $PKG/usr/share/applications/webex.desktop
+
+rm $PKG/opt/Webex/bin/webex.desktop
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -type f -a -name '*.so*' -exec chmod 755 {} +
+
+# Link the binary:
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin; ln -s ../../opt/Webex/bin/CiscoCollabHost webex )
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/webex/webex.info b/network/webex/webex.info
new file mode 100644
index 0000000000..6c167e3a62
--- /dev/null
+++ b/network/webex/webex.info
@@ -0,0 +1,10 @@
+PRGNAM="webex"
+VERSION="43.11.0.27795"
+HOMEPAGE="https://www.webex.com"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://binaries.webex.com/WebexDesktop-Ubuntu-Official-Package/Webex.deb"
+MD5SUM_x86_64="e85297138729c7504ab5bd82592880da"
+REQUIRES=""
+MAINTAINER="Eugene Wissner"
+EMAIL="belka@caraus.de"
diff --git a/network/webhook/README b/network/webhook/README
index cd7cfb6f51..dc45c82167 100644
--- a/network/webhook/README
+++ b/network/webhook/README
@@ -1,24 +1,26 @@
-webhook is a lightweight configurable tool written in Go, that allows you to
-easily create HTTP endpoints (hooks) on your server, which you can use to
-execute configured commands. You can also pass data from the HTTP request
-(such as headers, payload or query variables) to your commands. webhook also
-allows you to specify rules which have to be satisfied in order for the hook
-to be triggered.
+webhook is a lightweight configurable tool written in Go, that allows
+you to easily create HTTP endpoints (hooks) on your server, which you
+can use to execute configured commands. You can also pass data from
+the HTTP request (such as headers, payload or query variables) to your
+commands. webhook also allows you to specify rules which have to be
+satisfied in order for the hook to be triggered.
-For example, if you're using Github or Bitbucket, you can use webhook to set
-up a hook that runs a redeploy script for your project on your staging server,
-whenever you push changes to the master branch of your project.
+For example, if you're using Github or Bitbucket, you can use webhook
+to set up a hook that runs a redeploy script for your project on your
+staging server, whenever you push changes to the master branch of your
+project.
If you use Mattermost or Slack, you can set up an "Outgoing webhook
-integration" or "Slash command" to run various commands on your server, which
-can then report back directly to you or your channels using the "Incoming
-webhook integrations", or the appropriate response body.
+integration" or "Slash command" to run various commands on your
+server, which can then report back directly to you or your channels
+using the "Incoming webhook integrations", or the appropriate response
+body.
webhook aims to do nothing more than it should do, and that is:
1. receive the request,
2. parse the headers, payload and query variables,
3. check if the specified rules for the hook are satisfied,
-4. and finally, pass the specified arguments to the specified command via
- command line arguments or via environment variables.
+4. and finally, pass the specified arguments to the specified command
+ via command line arguments or via environment variables.
Everything else is the responsibility of the command's author.
diff --git a/network/webhook/doinst.sh b/network/webhook/doinst.sh
index ae9c074d0d..e950dd1594 100644
--- a/network/webhook/doinst.sh
+++ b/network/webhook/doinst.sh
@@ -19,7 +19,7 @@ preserve_perms() {
config $NEW
}
-preserve_perms /etc/rc.d/rc.webhook.new
-config /etc/webhook/hooks.json.new
-config /etc/default/webhook.new
-config /etc/logrotate.d/webhook.new
+preserve_perms etc/rc.d/rc.webhook.new
+config etc/webhook/hooks.json.new
+config etc/default/webhook.new
+config etc/logrotate.d/webhook.new
diff --git a/network/webhook/webhook.SlackBuild b/network/webhook/webhook.SlackBuild
index 2c09945c72..e8b3dacf02 100644
--- a/network/webhook/webhook.SlackBuild
+++ b/network/webhook/webhook.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for webhook
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=webhook
VERSION=${VERSION:-2.6.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,7 +73,7 @@ mv $PRGNAM/vendor $PRGNAM-$VERSION/build/src
mkdir -p $PRGNAM-$VERSION/build/src/github.com/adnanh
mv $PRGNAM $PRGNAM-$VERSION/build/src/github.com/adnanh
cd $PRGNAM-$VERSION
-GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM
+GO111MODULE=auto GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM
strip -s $PKG/usr/sbin/webhook
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -82,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/weechat/README b/network/weechat/README
index b67241d043..0acafadeb3 100644
--- a/network/weechat/README
+++ b/network/weechat/README
@@ -1,13 +1,27 @@
-WeeChat is a light, fast, multilingual, curses-based multiplatform IRC client.
+weechat: weechat (IRC client)
+
+WeeChat is a light, fast, multilingual, curses-based multiplatform
+IRC client.
WeeChat supports:
- DCC files and chats, multi-server connections, background connections,
- IPv6, SSL, proxy, auto-reconnection, DCC2, nicklist, window splitting,
- FIFO pipe for remote control, Aspell, JavaScript, Perl, Python, Ruby,
- nick auto-completion, lag indication, auto-logging and client upgrades
- without dropping connections.
+- DCC files and chats, multi-server connections, background connections.
+- IPv6, SSL, proxy, auto-reconnection, DCC2, nicklist, window splitting.
+- FIFO pipe for remote control; Aspell; scripting in Perl, Python 3,
+ Ruby, Tcl, Scheme, Lua[1], JavaScript[2], PHP[3]; nick
+ auto-completion; lag indication; auto-logging; and client upgrades
+ without dropping connections.
+
+WeeChat will be built with support for Perl, Python 3, Guile, Ruby,
+and Tcl scripting[1]. Once WeeChat is running, you can install scripts
+using the built-in script manager ("/help script" to get started).
+
+[1] To enable Lua scripting, install one of these optional dependencies:
+ lua53, lua52, or lua. The highest-numbered version of lua will be
+ used, if multiple versions are installed.
-WeeChat will be built with support for Perl, Python and Ruby scripting.
+[2] JavaScript is not currently supported in this build of WeeChat. It
+ also isn't supported in Debian's set of weechat packages, for what
+ that's worth.
-WeeChat documentation and manpages will not be built by default. They can be
-enabled by setting DOC=ON, provided that ruby/rubygem-asciidoctor is installed.
+[3] PHP is not supported in this SlackBuild because Slackware's php
+ package isn't built with --enable-embed.
diff --git a/network/weechat/doinst.sh b/network/weechat/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/network/weechat/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/weechat/slack-desc b/network/weechat/slack-desc
index 5a6a83cdc6..e474469472 100644
--- a/network/weechat/slack-desc
+++ b/network/weechat/slack-desc
@@ -11,9 +11,9 @@ weechat:
weechat: WeeChat is a fast & light multilingual curses-based multiplatform
weechat: IRC client written from scratch and released under the GPL.
weechat:
-weechat: Homepage: http://www.weechat.org
-weechat:
+weechat: Homepage: https://www.weechat.org
weechat:
+weechat: This package was built @WITHLUA@ lua scripting support.
weechat:
weechat:
weechat:
diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild
index 1c1b8d79a7..d0fa7ad59c 100644
--- a/network/weechat/weechat.SlackBuild
+++ b/network/weechat/weechat.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Originally written by hollywoodb (hollywoodb@fastmail.fm)
-# Maintained 2011-2016 by sero (firebird209 at gmail dot com)
-# Maintained 2017-2021 by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Originally written by hollywoodb (email removed)
+# Maintained 2011-2016 by sero (email removed)
+# Maintained 2017-2021 by Benjamin Trigona-Harany (email removed)
+# Maintained 2021-? by B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,34 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240213 bkw: update for v4.2.1.
+# 20231219 bkw: update for v4.1.2.
+# 20231111 bkw: update for v4.1.1.
+# 20230907 bkw: update for v4.0.4.
+# 20230104 bkw: update for v3.7.1.
+
+# 20211019 bkw:
+# - take over maintenance.
+# - update for v3.3.
+# - always docs/manpages, now that Slackware has rubygem-asciidoctor.
+# - add doinst.sh, since we have .desktop and icons.
+# - include old-style icon.
+# - mention optional lua deps.
+# - mention the fact that Tcl and Guile are supported scripting langs.
+# - get rid of external stylesheets/fonts/JS in HTML docs, as this
+# is a privacy issue.
+
+# I considered including the contents of Debian's weechat-scripts
+# package here, but weechat's set up to download scripts from a remote
+# server, not a local directory, so probly nobody'd ever use them.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weechat
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-4.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +60,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,14 +89,42 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# 20211019 bkw: patch from Debian: Build html documentation without
+# requiring data (javascript, fonts) on external websites (potential
+# privacy breach). Patch was slightly modified for Slackware.
+# 20230104 bkw: patch updated, used as-is from Debian this time.
+# 20240213 bkw: patch no longer applies, it's a one-liner, just use sed.
+sed -i 's,icons=font,icons=text,' doc/CMakeLists.txt
+
+# 20211019 bkw: hardcoded paths suck.
+DOC=/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/$DOC
+sed -i \
+ '/install(/s,\(DESTINATION\) *"\$.DATAROOTDIR.*,\1 '$DOC'/html),' \
+ doc/CMakeLists.txt
+
+# 20211019 bkw:
+# -DENABLE_PHP=OFF because Slackware's php isn't built with --enable-embed.
+# -DENABLE_JAVASCRIPT=OFF because neither SBo nor Slackware provides a
+# v8 package. Looks like this is where you'd get the source: https://v8.dev/
+
+# lua isn't auto-disabled if it's missing, so help it out a little.
+LUAOPT=OFF; WITHLUA=WITHOUT
+for i in lua5.3 lua5.2 lua; do
+ if [ -x /usr/bin/$i ]; then
+ LUAOPT=ON; WITHLUA=WITH
+ fi
+done
+
+# Everything else is autodetected and/or included in a full Slackware
+# install. Have to enable "incomplete docs" in 4.0.x, so it won't
+# complain about disabled plugins.
mkdir build
cd build
@@ -75,38 +132,30 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_MAN=OFF \
- -DENABLE_LUA=OFF \
+ -DENABLE_LUA="$LUAOPT" \
-DENABLE_JAVASCRIPT=OFF \
-DENABLE_PHP=OFF \
- -DENABLE_PYTHON=ON \
- -DENABLE_DOC=${DOC:-OFF} \
- -DENABLE_MAN=${DOC:-OFF} \
+ -DENABLE_DOC=ON \
+ -DENABLE_DOC_INCOMPLETE=ON \
+ -DENABLE_MAN=ON \
+ -DMANDIR=/usr/man \
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release \
..
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+gzip -9 $PKG/usr/man/man1/* $PKG/usr/man/*/man1/*
-if [ -e $PKG/usr/share/man ]; then
- mv $PKG/usr/share/man $PKG/usr/man
- find $PKG/usr/man -type f -exec gzip -9 {} \;
-fi
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/32x32/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-if [ -e $PKG/usr/share/doc/$PRGNAM ]; then
- mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
-fi
-cp -a \
- AUTHORS.adoc COPYING ChangeLog.adoc README.adoc ReleaseNotes.adoc \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a *.adoc COPYING $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@WITHLUA@,$WITHLUA," $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/weechat/weechat.info b/network/weechat/weechat.info
index cbbc7bbaca..85db3dc94f 100644
--- a/network/weechat/weechat.info
+++ b/network/weechat/weechat.info
@@ -1,10 +1,10 @@
PRGNAM="weechat"
-VERSION="3.0.1"
-HOMEPAGE="http://www.weechat.org"
-DOWNLOAD="http://weechat.org/files/src/weechat-3.0.1.tar.bz2"
-MD5SUM="620af5d5438ae5c141aa0e01a70cabe4"
+VERSION="4.2.1"
+HOMEPAGE="https://www.weechat.org"
+DOWNLOAD="https://weechat.org/files/src/weechat-4.2.1.tar.xz"
+MD5SUM="1d6fe2613e1e33a3cb8fc11a0c6d322a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/weetwit/weetwit.SlackBuild b/network/weetwit/weetwit.SlackBuild
index ae12d5564a..c6e83d5fd0 100644
--- a/network/weetwit/weetwit.SlackBuild
+++ b/network/weetwit/weetwit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for weetwit
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weetwit
VERSION=${VERSION:-0.10.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wego/README b/network/wego/README
new file mode 100644
index 0000000000..80aa78d7db
--- /dev/null
+++ b/network/wego/README
@@ -0,0 +1,4 @@
+wego is a weather app for the terminal.
+
+Usage requires registering for an API (ex. OpenWeatherMap).
+See the github page for more details.
diff --git a/network/wego/modules.txt b/network/wego/modules.txt
new file mode 100644
index 0000000000..4d9a71a0fc
--- /dev/null
+++ b/network/wego/modules.txt
@@ -0,0 +1,18 @@
+# github.com/mattn/go-colorable v0.1.13
+## explicit
+github.com/mattn/go-colorable
+# github.com/mattn/go-runewidth v0.0.14
+## explicit
+github.com/mattn/go-runewidth
+# github.com/schachmat/ingo v0.0.0-20170403011506-a4bdc0729a3f
+## explicit
+github.com/schachmat/ingo
+# github.com/mattn/go-isatty v0.0.19
+## explicit
+github.com/mattn/go-isatty
+# github.com/rivo/uniseg v0.4.4
+## explicit; go 1.18
+github.com/rivo/uniseg
+# golang.org/x/sys v0.8.0
+## explicit; go 1.17
+golang.org/x/sys/unix
diff --git a/network/wego/slack-desc b/network/wego/slack-desc
new file mode 100644
index 0000000000..aaf253caeb
--- /dev/null
+++ b/network/wego/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+wego: wego (Go weather app)
+wego:
+wego: wego is a weather app for the terminal.
+wego:
+wego:
+wego:
+wego:
+wego:
+wego:
+wego:
+wego:
diff --git a/network/wego/wego.SlackBuild b/network/wego/wego.SlackBuild
new file mode 100644
index 0000000000..daf93fb7b0
--- /dev/null
+++ b/network/wego/wego.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for wego
+
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=wego
+VERSION=${VERSION:-2.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+mkdir -p vendor
+cat $CWD/modules.txt > vendor/modules.txt
+for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
+do
+ NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename)
+ DIR=vendor/$DIR
+ tar xvf $CWD/$NAME-*.tar.gz
+ mkdir -p $(dirname $DIR)
+ mv $NAME-* $DIR
+done
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CGO_CFLAGS="$SLKCFLAGS" \
+CGO_CXXFLAGS="$SLKCFLAGS" \
+go build -mod vendor
+
+install -Dm755 wego $PKG/usr/bin/wego
+strip --strip-unneeded $PKG/usr/bin/wego
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wego/wego.info b/network/wego/wego.info
new file mode 100644
index 0000000000..6469f342fd
--- /dev/null
+++ b/network/wego/wego.info
@@ -0,0 +1,22 @@
+PRGNAM="wego"
+VERSION="2.2"
+HOMEPAGE="https://github.com/schachmat/wego"
+DOWNLOAD="https://github.com/schachmat/wego/archive/2.2/wego-2.2.tar.gz \
+ https://github.com/mattn/go-colorable/archive/v0.1.13/go-colorable-0.1.13.tar.gz \
+ https://github.com/mattn/go-runewidth/archive/v0.0.14/go-runewidth-0.0.14.tar.gz \
+ https://github.com/schachmat/ingo/archive/a4bdc07/ingo-a4bdc0729a3fda62cc4069b6e490fc657fd54e33.tar.gz \
+ https://github.com/mattn/go-isatty/archive/v0.0.19/go-isatty-0.0.19.tar.gz \
+ https://github.com/rivo/uniseg/archive/v0.4.4/uniseg-0.4.4.tar.gz \
+ https://github.com/golang/sys/archive/v0.8.0/sys-0.8.0.tar.gz"
+MD5SUM="c62b99d7bfc2901dedf571de859799c3 \
+ ac74020d881d4966e33ab6580f509aeb \
+ c41abbf9dc5def08ef8e6999efbe2c8c \
+ 6077da012ebc665f84b9baf79b56c0b6 \
+ e10ea58c2288fbef0d8ea37dea93718a \
+ 4e272ceb8899ee895e425f16347d10a6 \
+ 4bd786fbbcf550e794db58cc7ece443c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/network/weighmail/README b/network/weighmail/README
index 8503b63316..0067d0e43d 100644
--- a/network/weighmail/README
+++ b/network/weighmail/README
@@ -1,6 +1,7 @@
An application to label your Gmail messages according to size.
-Weighmail is a program that analyzes your Gmail and applies labels to your
-messages according to their size. This is useful if you are close to reaching
-your quota as it allows you to quickly identify large messages. You have
-complete control over the rules used to create the labels.
+Weighmail is a program that analyzes your Gmail and applies labels to
+your messages according to their size. This is useful if you are close
+to reaching your quota as it allows you to quickly identify large
+messages. You have complete control over the rules used to create the
+labels.
diff --git a/network/weighmail/weighmail.SlackBuild b/network/weighmail/weighmail.SlackBuild
index 4a898f3fb9..76ba7f42cd 100644
--- a/network/weighmail/weighmail.SlackBuild
+++ b/network/weighmail/weighmail.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for weighmail
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weighmail
VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wendzelnntpd/README b/network/wendzelnntpd/README
new file mode 100644
index 0000000000..ec444c9b28
--- /dev/null
+++ b/network/wendzelnntpd/README
@@ -0,0 +1,12 @@
+WendzelNNTPd is an IPv6-ready Usenet server (NNTP daemon) with the
+main goal to maximize usability on the console level. WendzelNNTPd
+achieves this by breaking down complicated things into an easy-to-use
+configuration file and tool. The server is portable (Linux/*BSD/
+*nix), supports AUTHINFO authentication, contains support for Access
+Control Lists (ACL), Role-based Access Control (RBAC) and supports
+invisible newsgroups. It currently supports MySQL and SQLite backends.
+
+Note: This package is compiled without MYSQL support and uses
+ sqlite3 instead.
+ If you want to use MySQL instead of sqlite3, remove the
+ "MYSQL=NO" before ./configure in wendzelnntpd.Slackbuild.
diff --git a/network/wendzelnntpd/doinst.sh b/network/wendzelnntpd/doinst.sh
new file mode 100644
index 0000000000..203ca9ad9f
--- /dev/null
+++ b/network/wendzelnntpd/doinst.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+UDBFILE=/var/spool/news/wendzelnntpd/usenet.db
+
+config() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
+ if [ -e ${OLD} ]; then
+ cp -a ${OLD} ${NEW}.incoming
+ cat ${NEW} > ${NEW}.incoming
+ mv ${NEW}.incoming ${NEW}
+ fi
+ config ${NEW}
+}
+
+# Keep same perms when installing rc.httpd.new:
+preserve_perms etc/rc.d/rc.wendzelnntpd.new
+
+# Backup old Usenet DB file if existent; if necessary, this allows to provide multiple copies; because after 2x replacing an existing with a .new file, we would lose all postings! However, replacing an existing usenet.db file is necessary since the database format might change and an old file might become incompatible with a newer one.
+if [ -f $UDBFILE ]; then mv $UDBFILE ${UDBFILE}.`date +"%m-%d-%y-%H:%M"`.bkp; chmod 0600 ${UDBFILE}.`date +"%m-%d-%y-%H:%M"`.bkp; echo "***Your old usenet database was backuped!***"; fi
+
+# install config file
+config var/spool/news/wendzelnntpd/usenet.db.new
+
+# Handle config files. Unless this is a fresh installation, the
+# admin will have to move the .new files into place to complete
+# the package installation, as we don't want to clobber files that
+# may contain local customizations.
+config etc/wendzelnntpd.conf.new
+
+# create a first standard newsgroup so that server is directly usable after install
+/usr/sbin/wendzelnntpadm addgroup alt.wendzelnntpd.test y
diff --git a/network/wendzelnntpd/slack-desc b/network/wendzelnntpd/slack-desc
new file mode 100644
index 0000000000..fa06852729
--- /dev/null
+++ b/network/wendzelnntpd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+wendzelnntpd: wendzelnntpd (Easy-to-use NNTP Server)
+wendzelnntpd:
+wendzelnntpd: WendzelNNTPd is an IPv6-ready Usenet server (NNTP daemon) with the
+wendzelnntpd: main goal to maximize usability on the console level. WendzelNNTPd
+wendzelnntpd: achieves this by breaking down complicated things into an easy-to-use
+wendzelnntpd: configuration file and tool. The server is portable (Linux/*BSD/
+wendzelnntpd: *nix), supports AUTHINFO authentication, contains support for Access
+wendzelnntpd: Control Lists (ACL), Role-based Access Control (RBAC) and supports
+wendzelnntpd: invisible newsgroups. It currently supports MySQL and SQLite backends.
+wendzelnntpd: Note: This package is compiled without MYSQL support and uses
+wendzelnntpd: sqlite3 instead.
diff --git a/network/wendzelnntpd/wendzelnntpd.SlackBuild b/network/wendzelnntpd/wendzelnntpd.SlackBuild
new file mode 100644
index 0000000000..2dc13cab8e
--- /dev/null
+++ b/network/wendzelnntpd/wendzelnntpd.SlackBuild
@@ -0,0 +1,155 @@
+#!/bin/bash
+
+# Slackware build script for WendzelNNTPd
+#
+# Copyright 2021 Steffen Wendzel, https://www.wendzel.de
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# This script was written using the one from slackbuilds.org as a reference.
+# Thanks to Patrick Volkerding and Adis Nezirovic for the original work.
+
+# 20230515 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - define and use SLKCFLAGS
+# - get rid of duplicate *broken* PRINT_PACKAGE_NAME section
+# - use correct TMP
+# - include SlackBuild in doc dir
+# - fix doc dir permissions
+# - get rid of useless INSTALL from doc dir
+# - symlink index.html -> docs.html (identical files)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=wendzelnntpd
+VERSION=${VERSION:-2.1.2}
+TGZ_DIRNAME=cdpxe-WendzelNNTPd-5ea53d6 # for v2.1.2
+BUILD=${BUILD:-4}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-${PRGNAM}
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $TMP
+rm -rf $TGZ_DIRNAME
+tar -xvf $CWD/v$VERSION.tar.gz
+cd $TGZ_DIRNAME
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# Configure:
+CFLAGS="$SLKCFLAGS" \
+MYSQL=NO \
+DESTDIR=/usr \
+CONFDIR=/etc \
+ ./configure
+
+# Build and install:
+make
+
+# spool dir + usenet database
+mkdir -p $PKG/var/spool/news/wendzelnntpd
+
+# og-rwx since the passwords are stored in the database too!
+install -d -m 0700 -o 0 -g 0 $PKG/var/spool/news/wendzelnntpd
+cp database/usenet.db $PKG/var/spool/news/wendzelnntpd/usenet.db.new
+chmod 600 $PKG/var/spool/news/wendzelnntpd/usenet.db.new
+
+# add the rc.d script ; also fix URL of the deamon binary
+mkdir -p $PKG/etc/rc.d
+cat scripts/startup/init.d_script | sed 's/^DAEMON=.*$/DAEMON=\/usr\/sbin\/wendzelnntpd/' > $PKG/etc/rc.d/rc.wendzelnntpd.new
+chmod 644 $PKG/etc/rc.d/rc.wendzelnntpd.new
+
+# add the binaries
+mkdir -p $PKG/usr/sbin
+chmod 0755 $PKG/usr/sbin/
+cp -v bin/wendzelnntpd bin/wendzelnntpadm $PKG/usr/sbin/
+chmod 755 $PKG/usr/sbin/*
+
+# rename config file to .new
+cp -v wendzelnntpd.conf $PKG/etc/wendzelnntpd.conf.new
+chmod 644 $PKG/etc/wendzelnntpd.conf.new
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+# add version number to doc directory and also put it in /usr/doc
+# instead of /usr/share/doc
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -vr docs/docs $PKGDOC
+cp -v docs/docs.pdf $PKGDOC/docs.pdf
+cp -v AUTHOR CHANGELOG HISTORY README.md LICENSE \
+ database/usenet.db_struct database/mysql_db_struct.sql \
+ $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# 20230515 bkw: duplicate file, use symlink
+rm -f $PKGDOC/docs/index.html
+ln -s docs.html $PKGDOC/docs/index.html
+
+# Strip binaries:
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+# This is kept for the case that wendzelnntpd will contain a manpage in the future.
+#find $PKG/usr/man -type f -exec gzip -9 {} \;
+#for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wendzelnntpd/wendzelnntpd.info b/network/wendzelnntpd/wendzelnntpd.info
new file mode 100644
index 0000000000..53e888a969
--- /dev/null
+++ b/network/wendzelnntpd/wendzelnntpd.info
@@ -0,0 +1,10 @@
+PRGNAM="wendzelnntpd"
+VERSION="2.1.2"
+HOMEPAGE="https://cdpxe.github.io/WendzelNNTPd/"
+DOWNLOAD="https://downloads.sourceforge.net/project/wendzelnntpd/v2.1.2/v2.1.2.tar.gz"
+MD5SUM="3cbeeca74d5e6ddb7e3bb99e99f86ddf"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steffen Wendzel"
+EMAIL="wendzel@hs-worms.de"
diff --git a/network/whalebird/README b/network/whalebird/README
new file mode 100644
index 0000000000..f138e940fa
--- /dev/null
+++ b/network/whalebird/README
@@ -0,0 +1,4 @@
+Whalebird is an Electron based Mastodon, Pleroma and Misskey client.
+
+This SlackBuild repackages the upstream rpm package. This rpm is only
+available for 64-bit systems.
diff --git a/network/whalebird/doinst.sh b/network/whalebird/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/whalebird/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/whalebird/slack-desc b/network/whalebird/slack-desc
new file mode 100644
index 0000000000..aabc50859c
--- /dev/null
+++ b/network/whalebird/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+whalebird: whalebird (Mastondon, Pleroma and Misskey client)
+whalebird:
+whalebird: Whalebird is an Electron based Mastodon, Pleroma and Misskey client.
+whalebird:
+whalebird: Homepage https://whalebird.social
+whalebird:
+whalebird:
+whalebird:
+whalebird:
+whalebird:
+whalebird:
diff --git a/network/whalebird/whalebird.SlackBuild b/network/whalebird/whalebird.SlackBuild
new file mode 100644
index 0000000000..d62a3b3377
--- /dev/null
+++ b/network/whalebird/whalebird.SlackBuild
@@ -0,0 +1,91 @@
+#!/bin/bash
+
+# Slackware build script for whalebird
+
+# Copyright 2024- Antonio Leal, Porto Salvo, Oeiras, Portugal
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=whalebird
+VERSION=${VERSION:-6.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=Whalebird
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "$ARCH is not supported for $PRGNAM-$VERSION." >&2
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $PKG
+bsdtar -xvf $CWD/${SRCNAM}-${VERSION}-linux-${ARCH}.rpm
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Fix sbopkglint gripes - icon resolution directory should be 310x150 rather than 310x310
+mv $PKG/usr/share/icons/hicolor/310x310 $PKG/usr/share/icons/hicolor/310x150
+
+# Remove extraneous /usr/lib directory (it only contains /usr/lib/.build-id)
+rm -r $PKG/usr/lib/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ $PKG/opt/Whalebird/LICENSE.electron.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/whalebird/whalebird.info b/network/whalebird/whalebird.info
new file mode 100644
index 0000000000..d92c1e92f9
--- /dev/null
+++ b/network/whalebird/whalebird.info
@@ -0,0 +1,10 @@
+PRGNAM="whalebird"
+VERSION="6.1.0"
+HOMEPAGE="https://whalebird.social"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/h3poteto/whalebird-desktop/releases/download/v6.1.0/Whalebird-6.1.0-linux-x86_64.rpm"
+MD5SUM_x86_64="c9b2fa4ee6cef61b4b84a6d59571fea9"
+REQUIRES=""
+MAINTAINER="Antonio Leal"
+EMAIL="antonioleal@yahoo.com"
diff --git a/network/wifi-radar/README b/network/wifi-radar/README
index 6609097e64..583a7f1442 100644
--- a/network/wifi-radar/README
+++ b/network/wifi-radar/README
@@ -1,8 +1,9 @@
-WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles on GNU/Linux.
+WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles on
+GNU/Linux.
-It enables you to scan for available networks and create profiles for your
-preferred networks. You can drag and drop your preferred networks to arrange
-the profile priority.
+It enables you to scan for available networks and create profiles for
+your preferred networks. You can drag and drop your preferred networks
+to arrange the profile priority.
WiFi Radar is tested to work with an Intel iwlagn 6300 on Slackware but
should work just the same for any iwconfig interface.
diff --git a/network/wifi-radar/wifi-radar.SlackBuild b/network/wifi-radar/wifi-radar.SlackBuild
index e4805217b7..76a088e43a 100644
--- a/network/wifi-radar/wifi-radar.SlackBuild
+++ b/network/wifi-radar/wifi-radar.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wifi-radar
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wifi-radar
VERSION=${VERSION:-2.0.s10}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wifi-radar/wifi-radar.info b/network/wifi-radar/wifi-radar.info
index 5172e442fd..f79b531c33 100644
--- a/network/wifi-radar/wifi-radar.info
+++ b/network/wifi-radar/wifi-radar.info
@@ -6,5 +6,5 @@ MD5SUM="f29993d2af69e0c23e6a188f83a77578"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/network/wifite/wifite.SlackBuild b/network/wifite/wifite.SlackBuild
index c46f6f85e7..23cb180d56 100644
--- a/network/wifite/wifite.SlackBuild
+++ b/network/wifite/wifite.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wifite
@@ -22,15 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wifite
VERSION=${VERSION:-20150525_edbdedd}
COMMIT=${COMMIT:-edbdedd149254f58a99d2f53e5e9b8105c4c61bb}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,4 +65,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wildfly/README b/network/wildfly/README
index 13ea6db2fc..c7f40c6ac5 100644
--- a/network/wildfly/README
+++ b/network/wildfly/README
@@ -1,12 +1,21 @@
-WildFly is a free, open source, Java EE certified platform for developing and
-deploying enterprise Java applications, Web applications, and Portals,
-WildFly Application Server provides the full range of Java EE 7 features as
-well as extended enterprise services including clustering, caching, and
-persistence.
+WildFly is a free, open source, Java EE certified platform
+for developing and deploying enterprise Java applications, Web
+applications, and Portals, WildFly Application Server provides the
+full range of Jakarta EE 10 features as well as extended enterprise
+services including clustering, caching, and persistence.
-WildFly requires a "wildfly" user and group; create these before running the
-SlackBuild script. Examples:
+WildFly requires a "wildfly" user and group; create these before
+running the SlackBuild script. Examples:
# groupadd -g 282 -r wildfly
# useradd -u 282 -M -r -s /bin/bash -d /usr/share/wildfly \
-c "WildFly Application Server" -g wildfly wildfly
+
+Read the documentation https://docs.wildfly.org
+
+This script created a default installation so the application
+is available at http://localhost:8080 and the administration
+console at http://localhost:9990/console.
+To connect to the console, you need to create an admin user with
+
+# /sbin/add-user.sh -m -u wildfly -p **secret**
diff --git a/network/wildfly/rc.wildfly b/network/wildfly/rc.wildfly
index 4ca3936bb6..4c13f4e2fe 100644
--- a/network/wildfly/rc.wildfly
+++ b/network/wildfly/rc.wildfly
@@ -2,7 +2,7 @@
# Start/stop/restart wildfly.
-# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -36,20 +36,22 @@ export LAUNCH_WILDFLY_IN_BACKGROUND=yes
# define the script to use to start standalone wildfly
WILDFLY_START_STANDALONE=${WILDFLY_START_STANDALONE:-"$WILDFLY_HOME/bin/standalone.sh "}
+WILDFLY_START_DOMAIN=${WILDFLY_START_DOMAIN:-"$WILDFLY_HOME/bin/domain.sh "}
# define the script to use to shutdown wildfly
# change host and port as need
WILDFLY_STOP_STANDALONE=${WILDFLY_STOP_STANDALONE:-"$WILDFLY_HOME/bin/jboss-cli.sh --connect controller=127.0.0.1:9990 command=:shutdown"}
+WILDFLY_STOP_DOMAIN=${WILDFLY_STOP_DOMAIN:-"$WILDFLY_HOME/bin/jboss-cli.sh --connect controller=127.0.0.1:9990 command=/host=primary:shutdown"}
# define log file
-WILDFLY_CONSOLE="/var/log/wildfly/wildfly.log"
-WILDFLY_DOMAIN_CONSOLE="/var/log/wildfly/wildfly_domain.log"
+WILDFLY_CONSOLE="/var/log/wildfly/standalone/console.log"
+WILDFLY_DOMAIN_CONSOLE="/var/log/wildfly/domain/console.log"
if [ -n "$WILDFLY_CONSOLE" -a ! -d "$WILDFLY_CONSOLE" ]; then
# ensure the file exists
touch $WILDFLY_CONSOLE
if [ "$WILDFLYUS" != "RUNASIS" ]; then
- chown -R $WILDFLYUS.$WILDFLYUS $WILDFLY_CONSOLE
+ chown -R $WILDFLYUS:$WILDFLYUS $WILDFLY_CONSOLE
fi
fi
@@ -66,7 +68,7 @@ if [ -n "$WILDFLY_DOMAIN_CONSOLE" -a ! -d "$WILDFLY_DOMAIN_CONSOLE" ]; then
# ensure the file exists
touch $WILDFLY_DOMAIN_CONSOLE
if [ "$WILDFLYUS" != "RUNASIS" ]; then
- chown -R $WILDFLYUS.$WILDFLYUS $WILDFLY_DOMAIN_CONSOLE
+ chown -R $WILDFLYUS:$WILDFLYUS $WILDFLY_DOMAIN_CONSOLE
fi
fi
@@ -82,6 +84,9 @@ WILDFLY_DOMAIN_CONSOLE=${WILDFLY_DOMAIN_CONSOLE:-"/dev/null"}
CMD_START_STANDALONE="cd $WILDFLY_HOME/bin; $WILDFLY_START_STANDALONE"
CMD_STOP_STANDALONE="cd $WILDFLY_HOME/bin; $WILDFLY_STOP_STANDALONE"
+CMD_START_DOMAIN="cd $WILDFLY_HOME/bin; $WILDFLY_START_DOMAIN"
+CMD_STOP_DOMAIN="cd $WILDFLY_HOME/bin; $WILDFLY_STOP_DOMAIN"
+
if [ "$WILDFLYUS" = "RUNASIS" ]; then
SUBIT=""
else
diff --git a/network/wildfly/slack-desc b/network/wildfly/slack-desc
index 1bdf5cf2eb..aefdbb391d 100644
--- a/network/wildfly/slack-desc
+++ b/network/wildfly/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-wildfly: wildfly (Application Runtime)
+wildfly: wildfly (Application Server)
wildfly:
-wildfly: WildFly is a free, open source, Java EE 7 platform for
+wildfly: WildFly is a free, open source, Jakarta EE 10 platform for
wildfly: developing and deploying enterprise Java applications, Web
-wildfly: applications, and Portals, Wildfly provides the full
-wildfly: range of Java EE 7 features as well as extended enterprise services
+wildfly: applications, and Portals, Wildfly provides the full range of
+wildfly: Jakarta EE 10 features as well as extended enterprise services
wildfly: including clustering, caching, and persistence.
wildfly:
wildfly:
diff --git a/network/wildfly/wildfly.SlackBuild b/network/wildfly/wildfly.SlackBuild
index 57d6b5aafd..1d12665839 100644
--- a/network/wildfly/wildfly.SlackBuild
+++ b/network/wildfly/wildfly.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for WildFly
-# Copyright 2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,16 +21,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wildfly
-VERSION=${VERSION:-18.0.0}
+VERSION=${VERSION:-30.0.1}
MINORVER=${MINORVER:-.Final}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,7 +64,7 @@ tar xvzf $CWD/$PRGNAM-$VERSION$MINORVER.tar.gz
mkdir -p $PKG/usr/share/$PRGNAM
mv $TMP/$PRGNAM-$VERSION$MINORVER/* $PKG/usr/share/$PRGNAM
cd $PKG/usr/share/$PRGNAM
-chown -R root:root .
+chown -R wildfly:wildfly .
# Move the docs to our standard location first
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -81,8 +91,16 @@ cd $PKG/var/lib/$PRGNAM/domain
ln -sf ../../../../etc/$PRGNAM/domain/configuration configuration
mkdir -p $PKG/var/{log,tmp}/$PRGNAM/standalone
cd $PKG/var/lib/$PRGNAM/standalone
+mv $PKG/var/lib/$PRGNAM/standalone/tmp/* $PKG/var/tmp/$PRGNAM/standalone/
+rm -rf $PKG/var/lib/$PRGNAM/standalone/tmp
ln -sf ../../../log/$PRGNAM/standalone log
ln -sf ../../../tmp/$PRGNAM/standalone tmp
+mkdir -p $PKG/var/{log,tmp}/$PRGNAM/domain
+cd $PKG/var/lib/$PRGNAM/domain
+mv $PKG/var/lib/$PRGNAM/domain/tmp/* $PKG/var/tmp/$PRGNAM/domain/
+rm -rf $PKG/var/lib/$PRGNAM/domain/tmp
+ln -sf ../../../log/$PRGNAM/domain log
+ln -sf ../../../tmp/$PRGNAM/domain tmp
mv $PKG/usr/share/$PRGNAM/bin/standalone.conf $PKG/etc/$PRGNAM/standalone/
mv $PKG/usr/share/$PRGNAM/bin/domain.conf $PKG/etc/$PRGNAM/domain/
@@ -122,19 +140,10 @@ chmod 0755 $PKG/usr/share/$PRGNAM/bin/*.sh
mkdir -p $PKG/sbin
cd $PKG/sbin
-ln -sf ../usr/share/$PRGNAM/bin/add-user.sh
-ln -sf ../usr/share/$PRGNAM/bin/appclient.sh
-ln -sf ../usr/share/$PRGNAM/bin/common.sh
-ln -sf ../usr/share/$PRGNAM/bin/domain.sh
-ln -sf ../usr/share/$PRGNAM/bin/elytron-tool.sh
-ln -sf ../usr/share/$PRGNAM/bin/jboss-cli.sh
-ln -sf ../usr/share/$PRGNAM/bin/jconsole.sh
-ln -sf ../usr/share/$PRGNAM/bin/jdr.sh
-ln -sf ../usr/share/$PRGNAM/bin/standalone.sh
-ln -sf ../usr/share/$PRGNAM/bin/vault.sh
-ln -sf ../usr/share/$PRGNAM/bin/wsconsume.sh
-ln -sf ../usr/share/$PRGNAM/bin/wsprovide.sh
-
+for filename in ../usr/share/$PRGNAM/bin/*.sh; do
+ echo $filename
+ ln -sf $filename
+done
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
@@ -157,4 +166,4 @@ for cf in $( find etc/$PRGNAM/ -type f ); do
echo "config $cf.new" >> install/doinst.sh
done
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wildfly/wildfly.info b/network/wildfly/wildfly.info
index 9d886aa01b..dbc73de7e2 100644
--- a/network/wildfly/wildfly.info
+++ b/network/wildfly/wildfly.info
@@ -1,10 +1,10 @@
PRGNAM="wildfly"
-VERSION="18.0.0"
+VERSION="30.0.1"
HOMEPAGE="https://wildfly.org"
-DOWNLOAD="http://download.jboss.org/wildfly/18.0.0.Final/wildfly-18.0.0.Final.tar.gz"
-MD5SUM="b63ad9031786eb70b473a72bac49e952"
+DOWNLOAD="https://github.com/wildfly/wildfly/releases/download/30.0.1.Final/wildfly-30.0.1.Final.tar.gz"
+MD5SUM="c6d6ac6d8adfd41ec88cb0cc45adf4d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk17"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/network/windscribe/doinst.sh b/network/windscribe/doinst.sh
index 50669a07b6..b4c067fd2e 100644
--- a/network/windscribe/doinst.sh
+++ b/network/windscribe/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
diff --git a/network/windscribe/open_source_licenses.txt b/network/windscribe/open_source_licenses.txt
new file mode 100644
index 0000000000..9c5b1fce3f
--- /dev/null
+++ b/network/windscribe/open_source_licenses.txt
@@ -0,0 +1,1137 @@
+Windscribe uses the following open source software:
+- Markus F.X.J. Oberhumer's LZO (GPLv2)
+- Qt framework (LGPLv3)
+- Michal Trojnara's Stunnel (GPL)
+- Daniel Stenberg's c-ares (MIT)
+- Jason A. Donenfeld's Wireguard (MIT)
+- Jason A. Donenfeld's Wintun (GPLv2)
+- OpenVPN (GPLv2)
+- OpenVPN Technologies, Inc's TAP-Win32/TAP-Win64 (GPLv2)
+- NSIS zlib/libpng
+- OpenSSL Project's OpenSSL + SSLeay
+
+
+============================ LICENSES BELOW ==============================
+
+LZO
+http://www.oberhumer.com/opensource/lzo/
+##########################################
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+-----------------------------------------------------------------------------
+
+Qt
+https://www.qt.io/
+##########################################
+The Qt Toolkit is Copyright (C) 2018 The Qt Company Ltd. and other contributors.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
+-----------------------------------------------------------------------------
+
+Stunnel
+https://www.stunnel.org/
+##########################################
+Copyright (C) 1998-2021 Michal Trojnara
+
+This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
+
+Linking stunnel statically or dynamically with other modules is making a combined work based on stunnel. Thus, the terms and conditions of the GNU General Public License cover the whole combination.
+
+In addition, as a special exception, the copyright holder of stunnel gives you permission to combine stunnel with free software programs or libraries that are released under the GNU LGPL and with code included in the standard release of OpenSSL under the OpenSSL License (or modified versions of such code, with unchanged license). You may copy and distribute such a system following the terms of the GNU GPL for stunnel and the licenses of the other code concerned.
+
+Note that people who make modified versions of stunnel are not obligated to grant this special exception for their modified versions; it is their choice whether to do so. The GNU General Public License gives permission to release a modified version without this exception; this exception also makes it possible to release a modified version which carries forward this exception.
+
+-----------------------------------------------------------------------------
+
+c-ares
+https://github.com/c-ares/c-ares
+##########################################
+Copyright (c) 2007 - 2018, Daniel Stenberg with many contributors, see AUTHORS file.
+
+Copyright 1998 by the Massachusetts Institute of Technology.
+
+Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
+
+-----------------------------------------------------------------------------
+
+Wireguard
+https://www.wireguard.com/
+##########################################
+Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+-----------------------------------------------------------------------------
+
+Wintun
+https://www.wintun.net/
+##########################################
+This program is Copyright (C) 2018-2021 WireGuard LLC.
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+
+-----------------------------------------------------------------------------
+
+OpenVPN
+https://github.com/OpenVPN/openvpn
+##########################################
+OpenVPN (TM) -- An Open Source VPN daemon
+
+Copyright (C) 2002-2021 OpenVPN Inc <sales@openvpn.net>
+
+This distribution contains multiple components, some
+of which fall under different licenses. By using OpenVPN
+or any of the bundled components enumerated below, you
+agree to be bound by the conditions of the license for
+each respective component.
+
+OpenVPN trademark
+-----------------
+
+ "OpenVPN" is a trademark of OpenVPN Inc
+
+
+OpenVPN license:
+----------------
+
+ OpenVPN is distributed under the GPL license version 2 (see Below).
+
+ Special exception for linking OpenVPN with OpenSSL:
+
+ In addition, as a special exception, OpenVPN Inc gives
+ permission to link the code of this program with the OpenSSL
+ library (or with modified versions of OpenSSL that use the same
+ license as OpenSSL), and distribute linked combinations including
+ the two. You must obey the GNU General Public License in all
+ respects for all of the code used other than OpenSSL. If you modify
+ this file, you may extend this exception to your version of the
+ file, but you are not obligated to do so. If you do not wish to
+ do so, delete this exception statement from your version.
+
+LZO license:
+------------
+
+ LZO is Copyright (C) Markus F.X.J. Oberhumer,
+ and is licensed under the GPL.
+
+ Special exception for linking OpenVPN with both OpenSSL and LZO:
+
+ Hereby I grant a special exception to the OpenVPN project
+ (http://openvpn.net/) to link the LZO library with
+ the OpenSSL library (http://www.openssl.org).
+
+ Markus F.X.J. Oberhumer
+
+TAP-Win32/TAP-Win64 Driver license:
+-----------------------------------
+
+ This device driver was inspired by the CIPE-Win32 driver by
+ Damion K. Wilson.
+
+ The source and object code of the TAP-Win32/TAP-Win64 driver
+ is Copyright (C) 2002-2018 OpenVPN Inc, and is released under
+ the GPL version 2.
+
+Windows DDK Samples:
+--------------------
+
+ The Windows binary distribution includes devcon.exe, a
+ Microsoft DDK sample which is redistributed under the terms
+ of the DDK EULA.
+
+NSIS License:
+-------------
+
+ Copyright (C) 2002-2003 Joost Verburg
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute
+ it freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented;
+ you must not claim that you wrote the original software.
+ If you use this software in a product, an acknowledgment in the
+ product documentation would be appreciated but is not required.
+ 2. Altered versions must be plainly marked as such,
+ and must not be misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any distribution.
+
+OpenSSL License:
+----------------
+
+ The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
+ the OpenSSL License and the original SSLeay license apply to the toolkit.
+ See below for the actual license texts. Actually both licenses are BSD-style
+ Open Source licenses. In case of any license issues related to OpenSSL
+ please contact openssl-core@openssl.org.
+
+/* ====================================================================
+ * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. All advertising materials mentioning features or use of this
+ * software must display the following acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
+ *
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * openssl-core@openssl.org.
+ *
+ * 5. Products derived from this software may not be called "OpenSSL"
+ * nor may "OpenSSL" appear in their names without prior written
+ * permission of the OpenSSL Project.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This product includes cryptographic software written by Eric Young
+ * (eay@cryptsoft.com). This product includes software written by Tim
+ * Hudson (tjh@cryptsoft.com).
+ *
+ */
+
+ Original SSLeay License
+ -----------------------
+
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
+ * All rights reserved.
+ *
+ * This package is an SSL implementation written
+ * by Eric Young (eay@cryptsoft.com).
+ * The implementation was written so as to conform with Netscapes SSL.
+ *
+ * This library is free for commercial and non-commercial use as long as
+ * the following conditions are aheared to. The following conditions
+ * apply to all code found in this distribution, be it the RC4, RSA,
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
+ * included with this distribution is covered by the same copyright terms
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
+ *
+ * Copyright remains Eric Young's, and as such any Copyright notices in
+ * the code are not to be removed.
+ * If this package is used in a product, Eric Young should be given attribution
+ * as the author of the parts of the library used.
+ * This can be in the form of a textual message at program startup or
+ * in documentation (online or textual) provided with the package.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * "This product includes cryptographic software written by
+ * Eric Young (eay@cryptsoft.com)"
+ * The word 'cryptographic' can be left out if the rouines from the library
+ * being used are not cryptographic related :-).
+ * 4. If you include any Windows specific code (or a derivative thereof) from
+ * the apps directory (application code) you must include an acknowledgement:
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * The licence and distribution terms for any publically available version or
+ * derivative of this code cannot be changed. i.e. this code cannot simply be
+ * copied and put under another distribution licence
+ * [including the GNU Public Licence.]
+ */
+
+GNU Public License (GPL)
+------------------------
+
+ OpenVPN, LZO, and the TAP-Win32 distributions are
+ licensed under the GPL version 2 (see COPYRIGHT.GPL).
+
+ In the Windows binary distribution of OpenVPN, the
+ GPL is reproduced below.
+
+-----------------------------------------------------------------------------
+
+TAP-Win32/TAP-Win64
+https://github.com/OpenVPN/tap-windows6
+##########################################
+The source and object code of the tap-windows6 project
+is Copyright (C) 2002-2014 OpenVPN Technologies, Inc. The
+NSIS installer is Copyright (C) 2014 OpenVPN Technologies,
+Inc. and (C) 2012 Alon Bar-Lev. The installer.dll MSI helper
+is Copyright (C) 2018-2019 WireGuard LLC. All are released
+under the GPL version 2. See COPYRIGHT.GPL for the full GPL
+license. The licensors also make the following statement
+borrowed from the SPICE project:
+
+With respect to binaries built using the Microsoft(R)
+Windows Driver Kit (WDK), GPLv2 does not extend to any code
+contained in or derived from the WDK ("WDK Code"). As to
+WDK Code, by using or distributing such binaries you agree
+to be bound by the Microsoft Software License Terms for the
+WDK. All WDK Code is considered by the GPLv2 licensors to
+qualify for the special exception stated in section 3 of
+GPLv2 (commonly known as the system library exception).
+
+The tap-windows.h file has been released under the MIT
+license (see COPYRIGHT.MIT) as well as under GPLv2 (see
+COPYRIGHT.GPL). This has been done to allow the use of the
+header file in non-GPLv2 compatible projects.
+
+-----------------------------------------------------------------------------
+
+NSIS zlib/libpng
+https://nsis.sourceforge.io/License
+##########################################
+This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
+
+The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
+Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
+This notice may not be removed or altered from any source distribution.
+
+-----------------------------------------------------------------------------
+
+OpenSSL Project's OpenSSL + SSLeay
+https://www.openssl.org/
+##########################################
+/* ====================================================================
+ * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. All advertising materials mentioning features or use of this
+ * software must display the following acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
+ *
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * openssl-core@openssl.org.
+ *
+ * 5. Products derived from this software may not be called "OpenSSL"
+ * nor may "OpenSSL" appear in their names without prior written
+ * permission of the OpenSSL Project.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This product includes cryptographic software written by Eric Young
+ * (eay@cryptsoft.com). This product includes software written by Tim
+ * Hudson (tjh@cryptsoft.com).
+ *
+ */
diff --git a/network/windscribe/rc.windscribe b/network/windscribe/rc.windscribe
index 8341cd89c1..dc3b523ffd 100644
--- a/network/windscribe/rc.windscribe
+++ b/network/windscribe/rc.windscribe
@@ -2,9 +2,9 @@
-PRGNAM=windscribe
+PRGNAM=helper
PID=/var/run/$PRGNAM.pid
-DAEMON=/usr/bin/windscribe
+DAEMON=/opt/windscribe/helper
#
@@ -13,12 +13,12 @@ DAEMON=/usr/bin/windscribe
windscribe_start()
{
if [ -s $PID ]; then
- echo "$PRGNAM is already running: $(cat $PID)"
+ echo "Windscribe is already running: $(cat $PID)"
exit 1
fi
if [ -x $DAEMON ]; then
- $DAEMON start
+ $DAEMON &
pidof $DAEMON > $PID
fi
}
@@ -29,10 +29,10 @@ windscribe_start()
windscribe_stop()
{
if [ -s $PID ]; then
- $DAEMON stop
+ kill $(cat $PID)
rm -rf $PID
else
- echo "$PRGNAM is not running."
+ echo "Windscribe is not running."
fi
}
@@ -52,9 +52,9 @@ windscribe_restart()
windscribe_status()
{
if [ -s $PID ]; then
- echo "$PRGNAM is running: $(cat $PID)"
+ echo "Windscribe is running: $(cat $PID)"
else
- echo "$PRGNAM is not running."
+ echo "Windscribe is not running."
fi
}
diff --git a/network/windscribe/windscribe.SlackBuild b/network/windscribe/windscribe.SlackBuild
index 215c2b719f..633915265c 100644
--- a/network/windscribe/windscribe.SlackBuild
+++ b/network/windscribe/windscribe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Windscribe.
#
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Pouria Rezaei <Pouria.rz@outlook.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=windscribe
-VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-52}
+VERSION=${VERSION:-2.9.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,8 +52,6 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
if [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
BITS="amd64"
else
echo "Package for $(uname -m) architecture is not available."
@@ -54,21 +61,31 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${VERSION}
-mkdir -p $PRGNAM-${VERSION}
-cd $PKG
-rpm2cpio $CWD/$PRGNAM-cli-${VERSION}-${BUILD}.${ARCH}.rpm | cpio -idmv
-rm -rf usr/lib
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
-mkdir -p usr/doc/$PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+rpm2cpio $CWD/${PRGNAM}_${VERSION}_${ARCH}.rpm | cpio -idmv
+rm -fR etc/{systemd,windscribe/update-systemd-resolved} usr/local
+
+mv * $PKG/
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/polkit-1 $PKG/usr/share/
+chmod 644 $PKG/usr/share/applications/windscribe.desktop
+chmod 644 $PKG/usr/share/icons/hicolor/*/apps/windscribe.png
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/rc.d/
-cp $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
+install -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
cd $PKG
-/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/windscribe/windscribe.info b/network/windscribe/windscribe.info
index 8ebf338b0c..c29e8824a0 100644
--- a/network/windscribe/windscribe.info
+++ b/network/windscribe/windscribe.info
@@ -1,10 +1,10 @@
PRGNAM="windscribe"
-VERSION="1.4"
+VERSION="2.9.9"
HOMEPAGE="https://www.windscribe.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://assets.staticnetcontent.com/desktop/linux/windscribe-cli-1.4-52.x86_64.rpm"
-MD5SUM_x86_64="8b04995a4030d4f1c14550dcfe630a34"
+DOWNLOAD_x86_64="https://github.com/Windscribe/Desktop-App/releases/download/v2.9.9/windscribe_2.9.9_x86_64.rpm"
+MD5SUM_x86_64="1a4a27e99d31e82d7fcff3794dc30137"
REQUIRES=""
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"
diff --git a/network/wire/wire.SlackBuild b/network/wire/wire.SlackBuild
index 55b408e762..3c7eb878a3 100644
--- a/network/wire/wire.SlackBuild
+++ b/network/wire/wire.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wire
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wire
-VERSION=${VERSION:-3.21.2936}
+VERSION=${VERSION:-3.26.2941}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -113,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wire/wire.info b/network/wire/wire.info
index 110d37e313..e0d4d681aa 100644
--- a/network/wire/wire.info
+++ b/network/wire/wire.info
@@ -1,10 +1,10 @@
PRGNAM="wire"
-VERSION="3.21.2936"
+VERSION="3.26.2941"
HOMEPAGE="https://wire.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://wire-app.wire.com/linux/Wire-3.21.2936_amd64.deb"
-MD5SUM_x86_64="6cf8943a11a08776d3a2aa47db2ab644"
+DOWNLOAD_x86_64="https://wire-app.wire.com/linux/Wire-3.26.2941_amd64.deb"
+MD5SUM_x86_64="51c67571c8cc8ee37f322cbb90e6a5c3"
REQUIRES=""
MAINTAINER="David O'Shaughnessy"
EMAIL="dev@osh.id.au"
diff --git a/network/wireguard-linux-compat/README b/network/wireguard-linux-compat/README
deleted file mode 100644
index 5db7f66f25..0000000000
--- a/network/wireguard-linux-compat/README
+++ /dev/null
@@ -1,12 +0,0 @@
-WireGuard is a VPN that uses state-of-the-art cryptography. It is
-designed as a general purpose VPN for running on embedded interfaces
-and super computers alike, fit for many different circumstances.
-
-This script only builds the WireGuard kernel module. Userspace
-tools are also required to configure and use WireGuard tunnels. Refer
-to the wireguard-tools script on SlackBuilds.
-
-NOTE: Slackware-current contains the WireGuard module as of
-kernel 5.10.1. If running an up to date -current, installing this
-module is no longer required. You will most likely still want to
-install the wireguard-tools SlackBuilds package.
diff --git a/network/wireguard-linux-compat/doinst.sh b/network/wireguard-linux-compat/doinst.sh
deleted file mode 100644
index d335d682c8..0000000000
--- a/network/wireguard-linux-compat/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x sbin/depmod ]; then
- chroot . /sbin/depmod -a @KERNEL@ 1> /dev/null 2> /dev/null
-fi
diff --git a/network/wireguard-linux-compat/slack-desc b/network/wireguard-linux-compat/slack-desc
deleted file mode 100644
index 625f285323..0000000000
--- a/network/wireguard-linux-compat/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-wireguard-linux-compat: wireguard-linux-compat (WireGuard kernel module)
-wireguard-linux-compat:
-wireguard-linux-compat: WireGuard is a VPN that uses state-of-the-art cryptography. It is
-wireguard-linux-compat: designed as a general purpose VPN for running on embedded interfaces
-wireguard-linux-compat: and super computers alike, fit for many different circumstances.
-wireguard-linux-compat:
-wireguard-linux-compat: https://www.wireguard.com/
-wireguard-linux-compat:
-wireguard-linux-compat:
-wireguard-linux-compat:
-wireguard-linux-compat:
diff --git a/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild b/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild
deleted file mode 100644
index c205fdcd73..0000000000
--- a/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for the WireGuard kernel module
-
-# Copyright 2017-2019 David Spencer, Baildon, West Yorkshire, U.K.
-# Copyright 2020-2021 Anj Duvnjak
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=wireguard-linux-compat
-VERSION=${VERSION:-1.0.20210219}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-KERNEL="${KERNEL:-"$(uname -r)"}"
-PKGVER="$(printf %s "${VERSION}_$KERNEL" | tr - _)"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Although counterintuitive, setting DEPMOD true prevents it executing
-# Instead depmod will run as part of doinst.sh
-
-cd src
- env -u ARCH CFLAGS="$SLKCFLAGS" make \
- KERNELRELEASE="$KERNEL"
- env -u ARCH make install \
- KERNELRELEASE="$KERNEL" \
- DESTDIR=$PKG \
- INSTALL_MOD_PATH=$PKG \
- DEPMOD="true"
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/wireguard-linux-compat/wireguard-linux-compat.info b/network/wireguard-linux-compat/wireguard-linux-compat.info
deleted file mode 100644
index eb59f72278..0000000000
--- a/network/wireguard-linux-compat/wireguard-linux-compat.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wireguard-linux-compat"
-VERSION="1.0.20210219"
-HOMEPAGE="https://www.wireguard.com/"
-DOWNLOAD="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-1.0.20210219.tar.xz"
-MD5SUM="8f177b685c7a18ea51ae7f4132cfb444"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Anj Duvnjak"
-EMAIL="alvind11@hotmail.com"
diff --git a/network/wireguard-tools/README b/network/wireguard-tools/README
deleted file mode 100644
index 4d373f18ed..0000000000
--- a/network/wireguard-tools/README
+++ /dev/null
@@ -1,20 +0,0 @@
-WireGuard is a VPN that uses state-of-the-art cryptography. It is
-designed as a general purpose VPN for running on embedded interfaces
-and super computers alike, fit for many different circumstances.
-
-WireGuard userspace tools require WireGuard support in the kernel (or
-as a kernel module). Refer to the wireguard-linux-compat script on
-Slackbuilds to build the associated kernel module package.
-
-openresolv is an optional runtime dependency -- you need it if you want
-to use to use wg-quick's DNS option.
-
-The wg-quick script needs at least nft 0.7 installed, if using nft.
-Slackware 14.2 ships with nftables 0.6. As such the build script
-will patch wg-quick to always fall back to iptables.
-
-If you have nftables 0.7 or newer installed (i.e. you are running
--current or a modified 14.2 installation), you may want to leave
-wg-quick unpatched by setting NEW_NFT as follows -:
-
-NEW_NFT=yes ./wireguard-tools.SlackBuild
diff --git a/network/wireguard-tools/slack-desc b/network/wireguard-tools/slack-desc
deleted file mode 100644
index 987bf40a55..0000000000
--- a/network/wireguard-tools/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-wireguard-tools: wireguard-tools (Userspace tools to configure and use WireGuard)
-wireguard-tools:
-wireguard-tools: WireGuard is a VPN that uses state-of-the-art cryptography. It is
-wireguard-tools: designed as a general purpose VPN for running on embedded interfaces
-wireguard-tools: and super computers alike, fit for many different circumstances.
-wireguard-tools:
-wireguard-tools: https://www.wireguard.com/
-wireguard-tools:
-wireguard-tools:
-wireguard-tools:
-wireguard-tools:
diff --git a/network/wireguard-tools/wireguard-tools.SlackBuild b/network/wireguard-tools/wireguard-tools.SlackBuild
deleted file mode 100644
index ca8eb17c8e..0000000000
--- a/network/wireguard-tools/wireguard-tools.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for WireGuard userspace tools
-
-# Copyright 2017-2019 David Spencer, Baildon, West Yorkshire, U.K.
-# Copyright 2020-2021 Anj Duvnjak
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=wireguard-tools
-VERSION=${VERSION:-1.0.20210223}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-PKGVER="$(printf %s "${VERSION}" | tr - _)"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-
-NEW_NFT=${NEW_NFT:-no}
-[[ $NEW_NFT != "no" ]] || sed -i 's/type -p nft/false/g' src/wg-quick/linux.bash ;
-
-
-# If you want this, you can have it :)
-SYSTEMD="${SYSTEMD:-no}"
-
-cd src
- env -u ARCH CFLAGS="$SLKCFLAGS" make
- env -u ARCH make install \
- MANDIR=/usr/man \
- DESTDIR=$PKG \
- WITH_WGQUICK=yes \
- WITH_SYSTEMDUNITS="$SYSTEMD"
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/wireguard-tools/wireguard-tools.info b/network/wireguard-tools/wireguard-tools.info
deleted file mode 100644
index ad15d72d15..0000000000
--- a/network/wireguard-tools/wireguard-tools.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wireguard-tools"
-VERSION="1.0.20210223"
-HOMEPAGE="https://www.wireguard.com/"
-DOWNLOAD="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-1.0.20210223.tar.xz"
-MD5SUM="36ade3363607bed3b215b6e35233cb88"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wireguard-linux-compat"
-MAINTAINER="Anj Duvnjak"
-EMAIL="alvind11@hotmail.com"
diff --git a/network/wireshark/README b/network/wireshark/README
index 0b16ad486d..7b9f4a600b 100644
--- a/network/wireshark/README
+++ b/network/wireshark/README
@@ -1,29 +1,33 @@
-Wireshark (aka Ethereal) is a free packet sniffer computer application. It
-is used for network troubleshooting, analysis, software and communications
-protocol development, and education. In June 2006, the project was renamed
-from Ethereal due to trademark issues.
-
-The functionality Wireshark provides is very similar to tcpdump, but it has
-a graphical front-end and many more information sorting and filtering
-options. It allows the user to see all traffic being passed over the network
-(usually an Ethernet network but support is being added for others) by
-putting the network interface into promiscuous mode.
-
-Wireshark uses the cross-platform Qt5 widget toolkit. Its powerful features
-make it the tool of choice for network troubleshooting, protocol development,
-and education worldwide.
-
-If you use a filesystem that supports posix capabilities, an easy way to
-start wireshark as a normal user, while still providing it with all of the
-access permissions it requires, is by issuing the following command:
- $ setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
-
-One may also test if things are ok running this command as a normal user:
+Wireshark (aka Ethereal) is a free packet sniffer computer
+application. It is used for network troubleshooting, analysis,
+software and communications protocol development, and education.
+In June 2006, the project was renamed from Ethereal due to trademark
+issues.
+
+The functionality Wireshark provides is very similar to tcpdump, but
+it has a graphical front-end and many more information sorting and
+filtering options. It allows the user to see all traffic being passed
+over the network (usually an Ethernet network but support is being
+added for others) by putting the network interface into promiscuous
+mode.
+
+Wireshark uses the cross-platform Qt5 widget toolkit. Its powerful
+features make it the tool of choice for network troubleshooting,
+protocol development, and education worldwide.
+
+If you use a filesystem that supports posix capabilities, an easy way
+to start wireshark as a normal user, while still providing it with
+all of the access permissions it requires, is by issuing the following
+command as root:
+ # setcap cap_net_raw,cap_net_admin=ep /usr/bin/dumpcap
+
+One may also test if things are ok running this command as a normal
+user:
$ dumpcap -L
-You may also create a special group (wireshark) and include users allowed
-to monitor networks in that group:
+You may also create a special group (wireshark) and include users
+allowed to monitor networks in that group:
# groupadd wireshark
# usermod -a -G wireshark <user>
@@ -32,8 +36,8 @@ to monitor networks in that group:
# setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
$ newgrp wireshark
-Other users not in the group wireshark can still open files with previously
-saved monitorings and inspect them.
+Other users not in the group wireshark can still open files with
+previously saved monitorings and inspect them.
You will need to remove any already-installed wireshark package before
building this one or else the new one will not work (the new build will
@@ -41,17 +45,13 @@ link libraries present in the old package, which will then be removed
when upgrading).
Optional dependencies:
-- krb5
-- nghttp2
- spandsp
- snappy
-- lz4
- libsmi
- libminizip
- libilbc
-- opus
-NOTE: Wireshark 3.0 no longer support legacy GTK+ UI.
+NOTE: Wireshark 3.0 no longer supports legacy GTK+ UI.
NOTE: Although lua is listed as a requirement, it's possible to build
using lua52. This may be needed for some third-party Lua plugins (but,
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index dc751b3fbc..dee353ae35 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wireshark
# Copyright 2008-2014 Michiel van Wessem, Leicester, United Kingdom
-# Copyright 2017-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# Originally written by Jick Nan (jick.nan@gmail.com)
# All rights reserved.
#
@@ -27,12 +27,15 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Mario Preksavec <mario@slackware.hr>
-# Modified by B. Watson <yalhcru@gmail.com> to add lua52 support.
+# Modified by B. Watson <urchlay@slackware.uk> to add lua52 support.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wireshark
-VERSION=${VERSION:-3.4.3}
+VERSION=${VERSION:-4.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,8 +97,6 @@ else
echo "=== Building with lua (v5.1)"
fi
-patch -p1 < $CWD/wireshark.patch
-
mkdir -p build
cd build
cmake \
@@ -101,6 +106,7 @@ cd build
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DUSE_qt6=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -113,19 +119,25 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/include/$PRGNAM/{epan/{crypt,dfilter,dissectors,ftypes,wmem},wiretap,wsutil}
-install -m644 ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
- for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem; do
+install -m644 include/ws_diag_control.h include/ws_symbol_export.h $PKG/usr/include/$PRGNAM
+ for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes; do
install -m644 $d/*.h $PKG/usr/include/$PRGNAM/$d
done
mkdir -p $PKG/usr/share/applications
-cp $PRGNAM.desktop $PKG/usr/share/applications
+cp resources/freedesktop/org.wireshark.Wireshark.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/share/mime/packages
+cp resources/freedesktop/org.wireshark.Wireshark-mime.xml $PKG/usr/share/mime/packages
+
+mkdir -p $PKG/usr/share/metainfo
+cp resources/freedesktop/org.wireshark.Wireshark.metainfo.xml $PKG/usr/share/metainfo
# Remove any .la files
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS* COPYING ChangeLog INSTALL NEWS README* doc/READM* \
+cp -a AUTHORS* COPYING ChangeLog NEWS README* doc/READM* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -134,4 +146,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wireshark/wireshark.info b/network/wireshark/wireshark.info
index b56007b259..c3f620160f 100644
--- a/network/wireshark/wireshark.info
+++ b/network/wireshark/wireshark.info
@@ -1,10 +1,10 @@
PRGNAM="wireshark"
-VERSION="3.4.3"
+VERSION="4.2.4"
HOMEPAGE="https://www.wireshark.org/"
-DOWNLOAD="https://1.as.dl.wireshark.org/src/wireshark-3.4.3.tar.xz"
-MD5SUM="7988932a5e3930fa6035b8f8b584f0d8"
+DOWNLOAD="https://2.na.dl.wireshark.org/src/wireshark-4.2.4.tar.xz"
+MD5SUM="cebb012489563a8eb9c3829cdcb0579c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 lua python3 c-ares"
+REQUIRES="lua"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/network/wireshark/wireshark.patch b/network/wireshark/wireshark.patch
deleted file mode 100644
index 2d64c04fb1..0000000000
--- a/network/wireshark/wireshark.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- wireshark-3.2.0/sharkd_session.c.orig 2019-12-24 07:18:33.288976163 +0700
-+++ wireshark-3.2.0/sharkd_session.c 2019-12-24 07:18:52.448168808 +0700
-@@ -16,6 +16,7 @@
- #include <stdarg.h>
- #include <string.h>
- #include <errno.h>
-+#include <stdint.h>
-
- #include <glib.h>
-
diff --git a/network/wmget/README b/network/wmget/README
index 045a6c0deb..dec999299d 100644
--- a/network/wmget/README
+++ b/network/wmget/README
@@ -1,11 +1,9 @@
+wmget is a dock app for the GNU Window Maker window manager which
+makes it more convenient to perform long downloads in the background.
-wmget is a dock app for the GNU Window Maker window manager which makes it more
-convenient to perform long downloads in the background.
-
-This is useful if you tend to have dozens of windows open at a time and tend to
-do a lot of routine downloading. Just copy the link from your browser, middle-
-click on the wmget dockapp, and the download will start. No download windows or
-terminals required, and you can monitor the progress and stop the transfer if
-desired without opening or raising any windows or even changing desktops.
-
-NOTE: This SlackBuild Script PATCH for fixing a compile problem.
+This is useful if you tend to have dozens of windows open at a time
+and tend to do a lot of routine downloading. Just copy the link from
+your browser, middle-click on the wmget dockapp, and the download will
+start. No download windows or terminals required, and you can monitor
+the progress and stop the transfer if desired without opening or
+raising any windows or even changing desktops.
diff --git a/network/wmget/wmget.SlackBuild b/network/wmget/wmget.SlackBuild
index e648d951a4..6a293da726 100644
--- a/network/wmget/wmget.SlackBuild
+++ b/network/wmget/wmget.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wmget
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmget
VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wmnd/README b/network/wmnd/README
index a346f7e3e1..479b9edccc 100644
--- a/network/wmnd/README
+++ b/network/wmnd/README
@@ -1,3 +1,5 @@
+wmnd (WindowMaker Network Devices DockApp)
+
WMND is a dockapp for monitoring network interfaces under WindowMaker
and other compatible window managers. WMND currently works on Linux,
FreeBSD, NetBSD, Solaris, OpenSolaris, Darwin and IRIX.
@@ -8,6 +10,6 @@ display modes and can also monitor remote interfaces through SNMP.
An optional dep is "Trend" (not on SBo) which can be used to zoom in on
the bars inside the dockapp.
-Note: This dockapp has an automatically generated RC file in
-~/.wmnd FIXME You can see an example of how to customize it in
-/usr/doc/wmnd-0.4.17/examples/wmndrc
+Note: This dockapp uses a config file "~/.wmndrc". If it's not found,
+an empty one is created. You can see an example of how to customize it
+in: /usr/doc/wmnd-0.4.18/examples/wmndrc
diff --git a/network/wmnd/wmnd.SlackBuild b/network/wmnd/wmnd.SlackBuild
index a996f95b74..3f5fa43554 100644
--- a/network/wmnd/wmnd.SlackBuild
+++ b/network/wmnd/wmnd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wmnd
#
@@ -25,8 +25,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20210926 bkw: update for v0.4.18.
# 20160816 bkw:
# - take over maintenance
# - BUILD=2
@@ -36,10 +37,13 @@
# - don't install INSTALL in docdir
# - fix path to example config in man page
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmnd
-VERSION=${VERSION:-0.4.17}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.4.18}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -49,7 +53,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,14 +85,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
sed -i \
- "s,/usr/share/doc/$PRGNAM/,/usr/doc/$PRGNAM-$VERSION/${PRGNAM}rc," \
+ -e "s,/usr/share/doc/$PRGNAM/,/usr/doc/$PRGNAM-$VERSION/${PRGNAM}rc," \
+ -e "s,it's outer,its outer," \
doc/$PRGNAM.1
CFLAGS="$SLKCFLAGS" \
@@ -104,7 +110,7 @@ make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog* COPYING examples/${PRGNAM}rc NEWS README THANKS TODO \
+cp -a ChangeLog* examples/${PRGNAM}rc *.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -112,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wmnd/wmnd.info b/network/wmnd/wmnd.info
index ab516c2634..6e87b4aade 100644
--- a/network/wmnd/wmnd.info
+++ b/network/wmnd/wmnd.info
@@ -1,10 +1,10 @@
PRGNAM="wmnd"
-VERSION="0.4.17"
-HOMEPAGE="http://www.thregr.org/~wavexx/software/wmnd/"
-DOWNLOAD="http://www.thregr.org/~wavexx/software/wmnd/releases/wmnd-0.4.17.tar.gz"
-MD5SUM="dbf6d6c42ab3e036388d261d2e7bea16"
+VERSION="0.4.18"
+HOMEPAGE="https://www.thregr.org/~wavexx/software/wmnd/"
+DOWNLOAD="https://www.thregr.org/~wavexx/software/wmnd/releases/wmnd-0.4.18.tar.gz"
+MD5SUM="729d0208a7acc5ff185735f51020eefe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/wmnotify/README b/network/wmnotify/README
index 0ae836bf12..b2cdbbd4b5 100644
--- a/network/wmnotify/README
+++ b/network/wmnotify/README
@@ -13,12 +13,12 @@ bell. For simplicity reasons, wmnotify doesn't support multiple POP3
accounts.
But by starting a new instance of wmnotify and specifying an alternate
-configuration file on the command line, you can effectively check multiple
-POP3 accounts.
+configuration file on the command line, you can effectively check
+multiple POP3 accounts.
-NOTE: There's a patch inside the package to replace the non-stop animation
- to a static image for incomming e-mails. Just edit the building script
- and set the "PATCH" variable to "yes" or pass a parameter to the build
- script:
+NOTE: There's a patch inside the package to replace the non-stop
+animation to a static image for incomming e-mails. Just edit the
+building script and set the "PATCH" variable to "yes" or pass a
+parameter to the build script:
PATCH=yes ./wmnotify.SlackBuild
diff --git a/network/wmnotify/wmnotify.SlackBuild b/network/wmnotify/wmnotify.SlackBuild
index d5c1dd4f4f..7cf30cbc15 100644
--- a/network/wmnotify/wmnotify.SlackBuild
+++ b/network/wmnotify/wmnotify.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wmnotify
@@ -22,27 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmnotify
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PATCH=${PATCH:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wol/wol.SlackBuild b/network/wol/wol.SlackBuild
index 6924eaac03..0f41e2b836 100644
--- a/network/wol/wol.SlackBuild
+++ b/network/wol/wol.SlackBuild
@@ -1,32 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wol
# Written by Brian Muramatsu (btmura@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wol
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
@@ -84,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wp-cli/README b/network/wp-cli/README
index 2d60038e8c..8371a06419 100644
--- a/network/wp-cli/README
+++ b/network/wp-cli/README
@@ -1,4 +1,3 @@
-
WP-CLI is a set of command-line tools for managing WordPress
installations.
@@ -6,8 +5,7 @@ WP-CLI need phar extension to build and to work
Enable the phar extension in your php.ini and
disable the readonly setting for the phar extension:
- Set phar.readonly to Off
+ Set phar.readonly to Off
Also disable open_basedir
because likely to cause errors with wp-cli
-
diff --git a/network/wp-cli/wp-cli.SlackBuild b/network/wp-cli/wp-cli.SlackBuild
index ac1e8df938..e68654632f 100644
--- a/network/wp-cli/wp-cli.SlackBuild
+++ b/network/wp-cli/wp-cli.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for wp-cli
#
-# Copyright 2016-2020 Corrado Franco (https://corradofranco.it)
+# Copyright 2016-2023 Corrado Franco (https://corradofranco.it)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
@@ -24,16 +24,22 @@
# <http://www.gnu.org/licenses/>.
#
-CWD=$(pwd)
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wp-cli
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,14 +52,14 @@ mkdir -p $PKG $OUTPUT
install -Dm755 $CWD/$PRGNAM-$VERSION.phar $PKG/usr/bin/wp
# Install bash completion
-install -Dm644 $CWD/files/wp-completion.bash $PKG/etc/bash_completion.d/wp
+install -Dm644 $CWD/files/wp-completion.bash $PKG/usr/share/bash-completion/completions/wp
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $CWD/files/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION || true
+cp $CWD/files/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wp-cli/wp-cli.info b/network/wp-cli/wp-cli.info
index fbe573dcfa..d8b1e3338f 100644
--- a/network/wp-cli/wp-cli.info
+++ b/network/wp-cli/wp-cli.info
@@ -1,8 +1,8 @@
PRGNAM="wp-cli"
-VERSION="2.4.0"
+VERSION="2.10.0"
HOMEPAGE="http://wp-cli.org/"
-DOWNLOAD="https://github.com/wp-cli/wp-cli-bundle/releases/download/v2.4.0/wp-cli-2.4.0.phar"
-MD5SUM="dedd5a662b80cda66e9e25d44c23b25c"
+DOWNLOAD="https://github.com/wp-cli/wp-cli/releases/download/v2.10.0/wp-cli-2.10.0.phar"
+MD5SUM="6710e90c3ed173925acd35ce5fe5aaf9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="composer"
diff --git a/network/wpa-cute/README b/network/wpa-cute/README
new file mode 100644
index 0000000000..bbaab47a47
--- /dev/null
+++ b/network/wpa-cute/README
@@ -0,0 +1,2 @@
+wpa-cute is a qt graphical wpa_supplicant front end. It is a fork from
+wpa_gui, shipped with wpa_supplicant version 2.6.
diff --git a/network/deis/doinst.sh b/network/wpa-cute/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/network/deis/doinst.sh
+++ b/network/wpa-cute/doinst.sh
diff --git a/network/wpa-cute/slack-desc b/network/wpa-cute/slack-desc
new file mode 100644
index 0000000000..fd6f6d4552
--- /dev/null
+++ b/network/wpa-cute/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+wpa-cute: wpa-cute (graphical wpa_supplicant front end)
+wpa-cute:
+wpa-cute:
+wpa-cute: wpa-cute is a qt graphical wpa_supplicant front end.
+wpa-cute: It is a fork from wpa_gui, shipped with wpa_supplicant version 2.6.
+wpa-cute:
+wpa-cute:
+wpa-cute: Homepage: https://github.com/loh-tar/wpa-cute
+wpa-cute:
+wpa-cute:
+wpa-cute:
diff --git a/network/wpa-cute/wpa-cute.SlackBuild b/network/wpa-cute/wpa-cute.SlackBuild
new file mode 100644
index 0000000000..0eef3b9316
--- /dev/null
+++ b/network/wpa-cute/wpa-cute.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for wpa-cute
+
+# Copyright 2022-2024, Alexander Verbovetsky, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=wpa-cute
+VERSION=${VERSION:-0.8.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+cd src
+qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" wpa_gui.pro
+make
+
+install -sDm755 wpa-cute $PKG/usr/bin/wpa-cute
+install -Dm644 icons/wpa_gui.svg $PKG/usr/share/pixmaps/wpa-cute.svg
+install -Dm644 wpa-cute.desktop $PKG/usr/share/applications/wpa-cute.desktop
+
+cd ..
+mkdir -p $PKG/usr/man/man8
+cat doc/wpa-cute.8 | gzip -9 > $PKG/usr/man/man8/wpa-cute.8.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTIONS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wpa-cute/wpa-cute.info b/network/wpa-cute/wpa-cute.info
new file mode 100644
index 0000000000..1604f7ae31
--- /dev/null
+++ b/network/wpa-cute/wpa-cute.info
@@ -0,0 +1,10 @@
+PRGNAM="wpa-cute"
+VERSION="0.8.5"
+HOMEPAGE="https://github.com/loh-tar/wpa-cute"
+DOWNLOAD="https://github.com/loh-tar/wpa-cute/archive/v0.8.5/wpa-cute-0.8.5.tar.gz"
+MD5SUM="f5a1827d37d89df5fc190c8b3264bde1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/network/wput/README b/network/wput/README
index 6c1fd72a3d..bdc9324ad7 100644
--- a/network/wput/README
+++ b/network/wput/README
@@ -1,5 +1,5 @@
-wput - A utility for putting files using the FTP protocol from the
- command line.
+wput (wget-like FTP uploader)
-wput is a tiny program that looks like wget and is designed to upload
-files or whole directories to remote ftp-servers.
+wput is a tiny program that looks like wget and is designed to upload
+files or whole directories to remote FTP servers. It uses ~/.netrc for
+login names and passwords.
diff --git a/network/wput/doinst.sh b/network/wput/doinst.sh
new file mode 100644
index 0000000000..40da7bd48e
--- /dev/null
+++ b/network/wput/doinst.sh
@@ -0,0 +1,11 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+config etc/wputrc.new
diff --git a/network/wput/manpages.diff b/network/wput/manpages.diff
new file mode 100644
index 0000000000..ca30238907
--- /dev/null
+++ b/network/wput/manpages.diff
@@ -0,0 +1,86 @@
+diff -Naur wput-0.6.2+git20130413/doc/wdel.1 wput-0.6.2+git20130413.patched/doc/wdel.1
+--- wput-0.6.2+git20130413/doc/wdel.1 2013-07-14 18:05:50.000000000 -0400
++++ wput-0.6.2+git20130413.patched/doc/wdel.1 2021-09-26 15:51:18.582864729 -0400
+@@ -12,7 +12,7 @@
+ .PP
+ Wdel supports connections through proxies, allowing you to use it in an
+ environment that can access the internet only via a proxy or to provide
+-anonymity by hiding your ip\-address to the server.
++anonymity by hiding your ip\-address from the server.
+ For SOCKSv5\-proxies Wdel supports also listening mode, allowing you to use
+ port-mode ftp through a proxy (useful if the remote ftp is behind a firewall
+ or a gateway).
+@@ -40,7 +40,7 @@
+ Many options can be set in a wputrc file. For its documentation consult the
+ sample file provided by Wput.
+ .PP
+-wput(1) describes all setable options. Not all apply for wdel too though.
++wput(1) describes all settable options. Not all apply for wdel too though.
+ .SH "AUTHOR"
+ .IX Header "AUTHOR"
+ Wdel is written by Hagen Fritsch <fritsch+wdel-man@in.tum.de>
+diff -Naur wput-0.6.2+git20130413/doc/wput.1 wput-0.6.2+git20130413.patched/doc/wput.1
+--- wput-0.6.2+git20130413/doc/wput.1 2021-09-26 15:50:42.259868954 -0400
++++ wput-0.6.2+git20130413.patched/doc/wput.1 2021-09-26 16:00:43.263799042 -0400
+@@ -20,7 +20,7 @@
+ .PP
+ Wput supports connections through proxies, allowing you to use it in an
+ environment that can access the internet only via a proxy or to provide
+-anonymity by hiding your ip\-address to the server.
++anonymity by hiding your ip\-address from the server.
+ For SOCKSv5\-proxies Wput supports also listening mode, allowing you to use
+ port-mode ftp through a proxy (useful if the remote ftp is behind a firewall
+ or a gateway).
+@@ -30,6 +30,11 @@
+ .PP
+ The upload-rate of Wput can be restricted, so that Wput won't eat all available
+ bandwidth.
++.PP
++Wput does not prompt for any usernames or passwords. It uses \fB~/.netrc\fR
++for login credentials. See \fBnetrc\fR(5). It's also possible to include
++the username and password in the URL, though this is highly discouraged
++since the password would be visible in \fBps\fR output.
+ .SS "URL\-Input\-Handling"
+ URLs are recognized by the ftp://\-prefix
+ .PP
+@@ -77,7 +82,7 @@
+
+ Do \fBnot\fR do things like \fIfind | wput ftp://host/ \-i \-\fR!
+ Wput would upload all files from the current directory (since the first output
+-of find will be '.') and afterwards each file again (since find postes its name to Wput. And further problematic is that Wput will upload each directory that
++of find will be '.') and afterwards each file again (since find posts its name to Wput. And further problematic is that Wput will upload each directory that
+ is given by find and since find itself recurses all directories, the files
+ would be uploaded three times (or even more often for further subdirectories).
+ Use \fIwput ftp://host/\fR to upload everything from the local directory.
+@@ -86,7 +91,7 @@
+ .TP
+ .BR \-I " \fIcommand\fP, " \-\-input\-pipe= \fIcommand\fP
+ If no file/directory can be "guessed" (see "Guessing Local File") from the URL,
+-the output of \fIcommand\fB is taken as file-input. command is invoked as follows:
++the output of \fIcommand\fR is taken as file-input. command is invoked as follows:
+
+ \& command ftp "username" "ip/hostname" port "remote_directory" "remote_filename"
+
+@@ -145,6 +150,7 @@
+ specified as a hostname or \s-1IP\s0 address. This option can be
+ useful if your machine is bound to multiple
+ IPs.
++.TP
+ .BR \-\-force\-tls
+ If this flag is specified and Wput is linked with the OpenSSL-library, the flag
+ enforces the usage of TLS: If no TLS\-connection can be established the process
+@@ -262,11 +268,13 @@
+ install]) and use this debug-dump.
+
+ .SH "SEE ALSO"
++.BR \fBnetrc\fR(5)
++.PP
+ .IX Header "SEE ALSO"
+ Many options can be set in a wputrc file. For its documentation consult the
+ sample file provided by Wput.
+ .PD 0
+-There are some USAGE.* files in the doc/ directory of Wput. These contain
++There are some USAGE.* files in \fB/usr/doc/wput-@VERSION@\fR. These contain
+ further information and samples on how to use Wput.
+
+ .SH "AUTHOR"
diff --git a/network/wput/slack-desc b/network/wput/slack-desc
index 57415caf83..4ae6ad2eed 100644
--- a/network/wput/slack-desc
+++ b/network/wput/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-wput: wput (utility for putting files using the FTP protocol)
+wput: wput (wget-like FTP uploader)
wput:
wput: wput is a tiny program that looks like wget and is designed to upload
-wput: files or whole directories to remote ftp-servers.
-wput:
+wput: files or whole directories to remote FTP servers. It uses ~/.netrc for
+wput: login names and passwords.
wput:
wput:
wput:
diff --git a/network/wput/wput.SlackBuild b/network/wput/wput.SlackBuild
index 604d70765a..c930ea0488 100644
--- a/network/wput/wput.SlackBuild
+++ b/network/wput/wput.SlackBuild
@@ -1,28 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wput
-# Originally written by Chris Abela <chris.abela@maltats.com> May 2009
-
-# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Originally written by Chris Abela <email removed>.
+# Formerly maintained by Ryan P.C. McQuen.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20210926 bkw:
+# - update for v0.6.2+git20130413_11, for parity with Debian.
+# - install /etc/wputrc.new (also add doinst.sh).
+# - relicense as WTFPL with permission from Ryan P.C. McQuen (he's the one
+# who added the license; the original author didn't include one).
+# - add mention of ~/.netrc to the man page and our README.
# 20180103 bkw: update for v0.6.2. Which is from 9+ years ago...
@@ -31,10 +22,13 @@
# - i486 => i586
# - minor tweaks
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wput
-VERSION=${VERSION:-0.6.2}
+VERSION=${VERSION:-0.6.2+git20130413_11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,43 +63,66 @@ fi
set -e
+TARVER=${VERSION%_*}
+DEBVER=${VERSION#*_}
+
rm -rf $PKG
-mkdir -p $TMP $OUTPUT $PKG/usr/bin $PKG/usr/man/man1
+mkdir -p $TMP $OUTPUT $PKG
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$TARVER
+tar xvf $CWD/${PRGNAM}_${TARVER}.orig.tar.bz2
+cd $PRGNAM-$TARVER
+tar xvf $CWD/${PRGNAM}_${TARVER}-${DEBVER}.debian.tar.xz
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Apply all of Debian's patches. These include security fixes, compile
+# fixes, typo/spelling fixes, etc.
+for i in $( cat debian/patches/series ); do
+ patch -p1 < debian/patches/$i
+done
+
+# Further typo/grammar/spelling fixes for man pages. Also mention
+# netrc(5) in wput.1, since it's not obvious.
+patch -p1 < $CWD/manpages.diff
+
+sed -i "s,@VERSION@,$VERSION," doc/*.1
+
+# Note to self: on 64-bit, we can ignore this warning from configure:
+# checking Large File System support: no
+# What it really means is that, on 64-bit, we don't need any extra
+# CFLAGS to enable large file (64-bit off_t) support. On 32-bit,
+# we get "yes", and the appropriate flags are used automatically.
+# If this were to fail on 32-bit, wput wouldn't be able to handle
+# files >= 2GB. Quite possibly, nobody would ever notice...
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=$PKG/usr \
+ --prefix=/usr \
+ --mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
-# Maximum compression for the man file:
-sed -i 's/gzip/gzip -9/' doc/Makefile
-# Unable to set --datadir for configure script:
-sed -i 's/^datadir *= $(prefix)\/share/datadir = $(prefix)/' Makefile
-
make
-make install
+make install DESTDIR=$PKG
strip $PKG/usr/bin/$PRGNAM
+# The shipped wputrc has everything commented out, so there's no reason
+# not to install it in /etc (used to be in the doc dir).
+mkdir -p $PKG/etc
+cp -a doc/wputrc $PKG/etc/wputrc.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS C* TODO doc/USAGE.* doc/passwordfile doc/wputrc \
+cp -a ABOUT-NLS C* TODO doc/USAGE.* doc/passwordfile \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wput/wput.info b/network/wput/wput.info
index 9091147f16..404ef75bd0 100644
--- a/network/wput/wput.info
+++ b/network/wput/wput.info
@@ -1,10 +1,12 @@
PRGNAM="wput"
-VERSION="0.6.2"
-HOMEPAGE="http://wput.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/wput/files/wput/0.6.2/wput-0.6.2.tgz"
-MD5SUM="a14c4c13d91d04d6119bdc977e8a8bdf"
+VERSION="0.6.2+git20130413_11"
+HOMEPAGE="https://wput.sourceforge.net/"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/w/wput/wput_0.6.2+git20130413.orig.tar.bz2 \
+ https://deb.debian.org/debian/pool/main/w/wput/wput_0.6.2+git20130413-11.debian.tar.xz"
+MD5SUM="8b4ff475940532ae086d37e3ba548b49 \
+ 3854d64196d39b119720e15dec01b4ce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/wrk/README b/network/wrk/README
index 3194c9b6ce..47874b9c33 100644
--- a/network/wrk/README
+++ b/network/wrk/README
@@ -1,11 +1,12 @@
wrk (HTTP benchmarking tool)
-A modern HTTP benchmarking tool capable of generating significant load when run
-on a single multi-core CPU. It combines a multithreaded design with scalable
-event notification systems such as epoll and kqueue.
+A modern HTTP benchmarking tool capable of generating significant
+load when run on a single multi-core CPU. It combines a multithreaded
+design with scalable event notification systems such as epoll and
+kqueue.
An optional LuaJIT script can perform HTTP request generation, response
processing, and custom reporting.
-Note: Lua and LuaJIT are not required here; wrk is statically-linked against
-the LuaJIT version bundled in the upstream tarball.
+Note: Lua and LuaJIT are not required here; wrk is statically-linked
+against the LuaJIT version bundled in the upstream tarball.
diff --git a/network/wrk/wrk.SlackBuild b/network/wrk/wrk.SlackBuild
index 8f08b38ac5..157d1a326c 100644
--- a/network/wrk/wrk.SlackBuild
+++ b/network/wrk/wrk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wrk.
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wrk
VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wrk/wrk.info b/network/wrk/wrk.info
index 03be669eef..38cbe22a3b 100644
--- a/network/wrk/wrk.info
+++ b/network/wrk/wrk.info
@@ -1,7 +1,7 @@
PRGNAM="wrk"
VERSION="3.1.1"
HOMEPAGE="https://github.com/wg/wrk"
-DOWNLOAD="https://github.com/wg/wrk/archive/3.1.1.tar.gz"
+DOWNLOAD="https://github.com/wg/wrk/archive/3.1.1/wrk-3.1.1.tar.gz"
MD5SUM="bf25e174845bad36fefd66f9be71889e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/wsdd2/README b/network/wsdd2/README
index f5e8736ab7..d164e3196a 100644
--- a/network/wsdd2/README
+++ b/network/wsdd2/README
@@ -1,19 +1,21 @@
-wsdd2 (WSD/LLMNR Descovery/Name Service Daemon)
+wsdd2 (WSD/LLMNR Discovery/Name Service Daemon)
-Provides samba share descovery for clients who don't support netbios
+Provides samba share discovery for clients who don't support netbios
or are running ip6 (which netbios does not support).
-Effectively this allows modern windows computers to find samba
-shares, and allows you to avoid smb1/smb2 for which there are many
-exploits in the wild. This is based on the NETGEAR implimentation.
+This is based on the NETGEAR implimentation.
NOTE: make sure you allow local ip6 connections in your samba config
otherwise there will be no shares found. if you use "hosts allow"
-then add fc00::/7 fe80::/64 ::1
+in smb.conf then add fc00::/7 fe80::/64 ::1
to the list of your local ip4 addresses so that local ip6 pcs can
use your shares.
-NOTE2: make sure ports 5357 (tcp) and 3702 (udp) are open if you
-are using a firewall.
+NOTE2: The following ports/addresses also need to be open if you are
+using a firewall:
+tcp port 3702 (unicast), and
+udp ports 3702 ( multicast on ports 239.255.255.250 / ff02::c )
+tcp port 5355 (unicast), and
+udp on ports 224.0.0.252 / ff02::1:3 (multicast)
to get wsdd2 to run automatically on startup add the following lines
in /etc/rc.d/rc.local
@@ -26,6 +28,7 @@ fi
and to stop it on shutdown, add the following to
samba section in /etc/rc.d/rc.local_shutdown
+#stop wsdd2 daemon
if [ -x /etc/rc.d/rc.wsdd2 ]; then
/etc/rc.d/rc.wsdd2 stop
fi
diff --git a/network/wsdd2/rc.wsdd2 b/network/wsdd2/rc.wsdd2
index 594e1faab5..1fcf58f995 100644
--- a/network/wsdd2/rc.wsdd2
+++ b/network/wsdd2/rc.wsdd2
@@ -6,7 +6,7 @@
#
# To make wsdd2 start automatically at boot make sure this
# file is executable, and add the following entry to rc.local
-# after the samba test (uncommented)
+# (uncommented)
# if [ -x /etc/rc.d/rc.wsdd2 ]; then
# /etc/rc.d/rc.wsdd2 start
diff --git a/network/wsdd2/slack-desc b/network/wsdd2/slack-desc
index 31fade9c60..41cfbcc117 100644
--- a/network/wsdd2/slack-desc
+++ b/network/wsdd2/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-wsdd2: wsdd2 (WSD/LLMNR Descovery/Name Service Daemon)
+wsdd2: wsdd2 (WSD/LLMNR Discovery/Name Service Daemon)
wsdd2:
wsdd2: Provides samba share browsing for clients who don't support netbios
wsdd2: or are running ip6 (which netbios does not support).
-wsdd2: Effectively this allows modern windows computers to find samba
-wsdd2: shares, and allows you to avoid smb1/smb2 for which there are many
-wsdd2: exploits in the wild. This is based on the NETGEAR implimentation.
+wsdd2: This is based on the NETGEAR implimentation.
wsdd2:
-wsdd2: Don't forget to allow local ip6 connections in your smb.conf file.
+wsdd2: Don't forget to allow local ip6 connections in your smb.conf file,
+wsdd2: specifically, fc00::/7 fe80::/64 ::1
+wsdd2: Also in your firewall, make sure ports 3702 and 5355 are open.
wsdd2:
-wsdd2: Home Page https://github/Andy2244/wsdd2
+wsdd2: Home Page https://github.com/Netgear/wsdd2
diff --git a/network/wsdd2/wsdd2.SlackBuild b/network/wsdd2/wsdd2.SlackBuild
index deff03a691..072cf3d55d 100644
--- a/network/wsdd2/wsdd2.SlackBuild
+++ b/network/wsdd2/wsdd2.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wsdd2
-# Copyright 2020 Tim Dickson Scotland
+# Copyright 2020,2022 Tim Dickson Scotland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wsdd2
-VERSION=${VERSION:-1.8.3.2}
+VERSION=${VERSION:-1.8.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,12 +81,15 @@ find -L . \
#we are going to have to fix Makefile as we don't want systemd stuff
sed -i "/systemd/d" Makefile
-make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
-make install DESTDIR=$PKG MANINSTALLDIR="usr/man" INSTALLPREFIX="usr"
+#patch the source to remove generally useless warning
+# ie. warning about missing (entirely optional) parameters in smb.conf
+patch wsdd2.c <${CWD}/wsdd2.patch
+#note: hopefully upstream will fix this. https://github.com/Netgear/wsdd2/issues/39
+make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
+make install debug_W=-1 debug_L=-1 DESTDIR=$PKG MANDIR="/usr/man" INSTALLPREFIX="usr"
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -95,5 +108,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/wsdd2/wsdd2.info b/network/wsdd2/wsdd2.info
index 1fbfb16814..a839c31ffe 100644
--- a/network/wsdd2/wsdd2.info
+++ b/network/wsdd2/wsdd2.info
@@ -1,10 +1,10 @@
PRGNAM="wsdd2"
-VERSION="1.8.3.2"
-HOMEPAGE="https://github.com/Andy2244/wsdd2"
-DOWNLOAD="https://github.com/Andy2244/wsdd2/archive/1.8.3.2/wsdd2-1.8.3.2.tar.gz"
-MD5SUM="6ddc3411776bf102309f8edcde34115a"
+VERSION="1.8.7"
+HOMEPAGE="https://github.com/Netgear/wsdd2"
+DOWNLOAD="https://github.com/Netgear/wsdd2/archive/1.8.7/wsdd2-1.8.7.tar.gz"
+MD5SUM="6f59c63f07c8f42f05469d8020c0a604"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES=""
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/network/wsdd2/wsdd2.patch b/network/wsdd2/wsdd2.patch
new file mode 100644
index 0000000000..aec9c4baaa
--- /dev/null
+++ b/network/wsdd2/wsdd2.patch
@@ -0,0 +1,11 @@
+--- wsdd2.c 2021-08-09 20:22:46.000000000 +0100
++++ wsdd2u.c 2022-04-22 11:22:12.125000000 +0100
+@@ -601,7 +601,7 @@
+
+ char buf[PAGE_SIZE];
+ if (!fgets(buf, sizeof(buf), pp) || !buf[0] || buf[0] == '\n') {
+- DEBUG(0, W, "cannot read %s from testparm", name);
++ DEBUG(1, W, "cannot read %s from testparm", name);
+ result = strdup(_default);
+ } else { // trim whitespace
+ char *p;
diff --git a/network/wvdial/README b/network/wvdial/README
index b3332bc689..2aeeef889f 100644
--- a/network/wvdial/README
+++ b/network/wvdial/README
@@ -1,4 +1,4 @@
-WvDial is a program that makes it easy to connect your Linux workstation
-to the Internet via modem lines. It will automatically detect your modem, and it
-can log into almost any Internet provider's server without any special
-configuration.
+WvDial is a program that makes it easy to connect your Linux
+workstation to the Internet via modem lines. It will automatically
+detect your modem, and it can log into almost any Internet provider's
+server without any special configuration.
diff --git a/network/wvdial/wvdial.SlackBuild b/network/wvdial/wvdial.SlackBuild
index 21e5e634cd..38bad74d12 100644
--- a/network/wvdial/wvdial.SlackBuild
+++ b/network/wvdial/wvdial.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wvdial
# Previously maintained by Vincent Batts, vbatts@batts.mine.nu (Thank you!)
# Currently maintained by Moritz Wilhelmy, moritz+slackware@wzff.de
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wvdial
VERSION=${VERSION:-1.61}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -77,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/x11spice/README b/network/x11spice/README
new file mode 100644
index 0000000000..1883e4c9b0
--- /dev/null
+++ b/network/x11spice/README
@@ -0,0 +1,17 @@
+x11spice connects a running X server as a Spice server.
+
+It owes a debt to the excellent x11vnc project, from the libvncserver
+project. That project proved that this could be done, and done well.
+Some of the logic, notably that of scan.c, was inspired by the code
+in x11vnc.
+
+Example: launch a spice server on a remote pc (where x11spice is
+installed) via ssh, redirect the output locally and connect to it with
+spicy
+
+ ssh $remote_host -L 5900:localhost:5900 \
+ "x11spice --allow-control --display :0 --password=whatever"
+
+and then locally
+
+ spicy -h localhost -p 5900
diff --git a/network/x11spice/slack-desc b/network/x11spice/slack-desc
new file mode 100644
index 0000000000..e47dfab248
--- /dev/null
+++ b/network/x11spice/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+x11spice: x11spice (export X via spice)
+x11spice:
+x11spice: x11spice connects a running X server as a Spice server.
+x11spice:
+x11spice: It owes a debt to the excellent x11vnc project, from the libvncserver
+x11spice: project. That project proved that this could be done, and done well.
+x11spice: Some of the logic, notably that of scan.c, was inspired by the code
+x11spice: in x11vnc.
+x11spice:
+x11spice: homepage: https://gitlab.freedesktop.org/spice/x11spice
+x11spice:
diff --git a/network/x11spice/x11spice.SlackBuild b/network/x11spice/x11spice.SlackBuild
new file mode 100644
index 0000000000..ccc39649e7
--- /dev/null
+++ b/network/x11spice/x11spice.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for x11spice
+
+# Copyright 2018-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=x11spice
+VERSION=${VERSION:-20230803_33a9af7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+DOCS="AUTHORS COPYING ChangeLog NEWS README"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+autoreconf -vi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/x11spice/x11spice.info b/network/x11spice/x11spice.info
new file mode 100644
index 0000000000..4ebda8d76a
--- /dev/null
+++ b/network/x11spice/x11spice.info
@@ -0,0 +1,10 @@
+PRGNAM="x11spice"
+VERSION="20230803_33a9af7"
+HOMEPAGE="https://gitlab.freedesktop.org/spice/x11spice"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/x11spice-20230803_33a9af7.tar.xz"
+MD5SUM="ad829eb4184cf5d5cdfdfb6e84ba8274"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="spice"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/network/x11vnc/README b/network/x11vnc/README
index a6e28943c9..956624d509 100644
--- a/network/x11vnc/README
+++ b/network/x11vnc/README
@@ -1,7 +1,7 @@
-x11vnc allows one to view remotely and interact with real X displays
-(i.e. a display corresponding to a physical monitor, keyboard, and mouse)
-with any VNC viewer. In this way it plays the role for Unix/X11 that
-WinVNC plays for Windows.
+x11vnc allows one to view remotely and interact with real X displays
+(i.e. a display corresponding to a physical monitor, keyboard, and
+mouse) with any VNC viewer. In this way it plays the role for Unix/X11
+that WinVNC plays for Windows.
It has built-in SSL encryption and authentication, UNIX account and
password support, server-side scaling, single port HTTPS and VNC, mDNS
diff --git a/network/x11vnc/gcc10.patch b/network/x11vnc/gcc10.patch
new file mode 100644
index 0000000000..4934633860
--- /dev/null
+++ b/network/x11vnc/gcc10.patch
@@ -0,0 +1,42 @@
+From a48b0b1cd887d7f3ae67f525d7d334bd2feffe60 Mon Sep 17 00:00:00 2001
+From: Alexander Tsoy <alexander@tsoy.me>
+Date: Tue, 28 Jan 2020 22:21:01 +0300
+Subject: [PATCH] Fix build with -fno-common
+
+GCC 10 defaults to -fno-common
+---
+ src/util.c | 3 +++
+ src/util.h | 6 +++---
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/src/util.c b/src/util.c
+index a82a1a4..6a52ebf 100644
+--- a/src/util.c
++++ b/src/util.c
+@@ -47,6 +47,9 @@ int hxl = 0;
+ #ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
+ MUTEX(x11Mutex);
+ MUTEX(scrollMutex);
++MUTEX(clientMutex);
++MUTEX(inputMutex);
++MUTEX(pointerMutex);
+ #endif
+
+ int nfix(int i, int n);
+diff --git a/src/util.h b/src/util.h
+index 35c1afd..99b5dd1 100644
+--- a/src/util.h
++++ b/src/util.h
+@@ -102,9 +102,9 @@ extern struct timeval _mysleep;
+ #ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
+ extern MUTEX(x11Mutex);
+ extern MUTEX(scrollMutex);
+-MUTEX(clientMutex);
+-MUTEX(inputMutex);
+-MUTEX(pointerMutex);
++extern MUTEX(clientMutex);
++extern MUTEX(inputMutex);
++extern MUTEX(pointerMutex);
+ #endif
+
+ #define X_INIT INIT_MUTEX(x11Mutex)
diff --git a/network/x11vnc/x11vnc.SlackBuild b/network/x11vnc/x11vnc.SlackBuild
index 53048bb837..dca9d17bea 100644
--- a/network/x11vnc/x11vnc.SlackBuild
+++ b/network/x11vnc/x11vnc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for x11vnc.
# Original script for version 0.9.3 10/11/2007
@@ -32,10 +32,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x11vnc
VERSION=${VERSION:-0.9.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +48,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,6 +88,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/gcc10.patch
+
autoreconf -i
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -107,4 +119,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/x2goclient/x2goclient.SlackBuild b/network/x2goclient/x2goclient.SlackBuild
index 488474a305..8fb5f09e1a 100644
--- a/network/x2goclient/x2goclient.SlackBuild
+++ b/network/x2goclient/x2goclient.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for x2goclient
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x2goclient
-VERSION=${VERSION:-4.1.2.1}
+VERSION=${VERSION:-4.1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -97,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/x2goclient/x2goclient.info b/network/x2goclient/x2goclient.info
index 699c3abc5d..c360e03d0d 100644
--- a/network/x2goclient/x2goclient.info
+++ b/network/x2goclient/x2goclient.info
@@ -1,8 +1,8 @@
PRGNAM="x2goclient"
-VERSION="4.1.2.1"
+VERSION="4.1.2.2"
HOMEPAGE="http://www.x2go.org"
-DOWNLOAD="https://code.x2go.org/releases/source/x2goclient/x2goclient-4.1.2.1.tar.gz"
-MD5SUM="0ed3b974ffec4e3bb1db40fb0be7b6d0"
+DOWNLOAD="https://code.x2go.org/releases/source/x2goclient/x2goclient-4.1.2.2.tar.gz"
+MD5SUM="1390b794b0a10f0a885dd7cf00f2acef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nx-libs"
diff --git a/network/x2goserver/README b/network/x2goserver/README
index 36b61c6c01..bdcddf1f05 100644
--- a/network/x2goserver/README
+++ b/network/x2goserver/README
@@ -14,16 +14,19 @@ This script requires a 'x2gouser' user/group to exist before running.
You can create these using:
groupadd -g 290 x2gouser
- useradd -u 290 -g 290 -c "X2Go Remote Desktop" -M -d /var/lib/x2go -s /bin/false x2gouser
+ useradd -u 290 -g 290 -c "X2Go Remote Desktop" -M \
+ -d /var/lib/x2go -s /bin/false x2gouser
groupadd -g 291 x2goprint
- useradd -u 291 -g 291 -c "X2Go Remote Desktop" -m -d /var/spool/x2goprint -s /bin/false x2goprint
+ useradd -u 291 -g 291 -c "X2Go Remote Desktop" -m \
+ -d /var/spool/x2goprint -s /bin/false x2goprint
chown x2goprint:x2goprint /var/spool/x2goprint
chmod 0770 /var/spool/x2goprint
Before running the server, you have to initialize the internal database:
x2godbadmin --createdb
-If you want to run the server at boot include it in your /etc/rc.d/rc.local:
+If you want to run the server at boot include it in your
+/etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.x2goserver ]; then
/etc/rc.d/rc.x2goserver start
diff --git a/network/x2goserver/x2goserver.SlackBuild b/network/x2goserver/x2goserver.SlackBuild
index ba82397547..caa42c4eaa 100644
--- a/network/x2goserver/x2goserver.SlackBuild
+++ b/network/x2goserver/x2goserver.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for x2goserver
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=x2goserver
-VERSION=${VERSION:-20190625_b3ec119}
+VERSION=${VERSION:-20201227_08aa5e6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/x2goserver/x2goserver.info b/network/x2goserver/x2goserver.info
index 9e20cd4df2..7dfbf73d3a 100644
--- a/network/x2goserver/x2goserver.info
+++ b/network/x2goserver/x2goserver.info
@@ -1,8 +1,8 @@
PRGNAM="x2goserver"
-VERSION="20190625_b3ec119"
+VERSION="20201227_08aa5e6"
HOMEPAGE="http://www.x2go.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/x2goserver-20190625_b3ec119.tar.xz"
-MD5SUM="031e3d92dfd06f22de3052360c524367"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/x2goserver-20201227_08aa5e6.tar.xz"
+MD5SUM="46aad829313b85218841e1f818244a06"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nx-libs perl-Config-Simple perl-File-ReadBackwards perl-DBD-SQLite perl-Capture-Tiny perl-Try-Tiny perl-Unix-Syslog perl-file-basedir perl-Switch"
diff --git a/network/xaric/xaric.SlackBuild b/network/xaric/xaric.SlackBuild
index c729e5fbd8..4daad2c0a1 100644
--- a/network/xaric/xaric.SlackBuild
+++ b/network/xaric/xaric.SlackBuild
@@ -1,17 +1,25 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xaric
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210926 bkw:
+# - update for v0.13.9.
+# - minor man page fixes.
+# - change default server to irc.libera.chat. Nobody should ever connect
+# to the ruins of freenode, not even by accident.
# 20201122 bkw: BUILD=2, install icons to the right place.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xaric
-VERSION=${VERSION:-0.13.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.13.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,10 +64,17 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-sed -i 's,/usr/local,/usr,' $PRGNAM.1
+# Do not connect to that lunatic's network by default.
+sed -i 's,irc\.freenode\.net,irc.libera.chat,' defaults.h
+
+# Clean up man page a bit.
+sed -i -e 's,/usr/local,/usr,' \
+ -e '/^\\fB\\-b/s,^,.TP\n,' \
+ -e '/-L file/s,$, [\\fInickname\\fP] [\\fIirc\\-server\\fP ...],' \
+ -e 's,\<wont\>,won'\''t,' \
+ $PRGNAM.1
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -94,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xaric/xaric.info b/network/xaric/xaric.info
index 2472aa7845..bb6739b7c3 100644
--- a/network/xaric/xaric.info
+++ b/network/xaric/xaric.info
@@ -1,10 +1,10 @@
PRGNAM="xaric"
-VERSION="0.13.7"
+VERSION="0.13.9"
HOMEPAGE="https://xaric.org/"
-DOWNLOAD="http://xaric.org/software/xaric/releases/xaric-0.13.7.tar.gz"
-MD5SUM="46f4460dfab17819dd6d7e543be75206"
+DOWNLOAD="https://xaric.org/software/xaric/releases/xaric-0.13.9.tar.gz"
+MD5SUM="09555effce003019724d2e0e123885e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/xbuffy/xbuffy.SlackBuild b/network/xbuffy/xbuffy.SlackBuild
index 25c4cae4a3..80c24997b2 100644
--- a/network/xbuffy/xbuffy.SlackBuild
+++ b/network/xbuffy/xbuffy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xbuffy
# $Id: xbuffy.SlackBuild,v 1.1 2018/08/09 15:22:52 pomf Exp pomf $
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xbuffy
VERSION=${VERSION:-3.3.bl.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -111,4 +121,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xdman/README b/network/xdman/README
index 86f6c702c4..16b865c23e 100644
--- a/network/xdman/README
+++ b/network/xdman/README
@@ -1,25 +1,5 @@
-xdman (download manager)
-
-Xtreme Download Manager is a powerful tool to increase download speed
-up-to 500%, save videos from video sharing sites and integration with
-ANY browser.
-
-For Browser integration.
-
-Firefox:
-https://subhra74.github.io/xdm-firefox/firefox.html
-
-Chrome | Chromium | Opera | Vivaldi:
-https://chrome.google.com/webstore/detail/xdm-browser-monitor/bgpkelneombgembocnickiddlbebmica
-
-For other browsers, go to Tools/Browser Integration.
-
-Some features present in Xtreme Download Manager are:
-
- * Superfast speed;
- * Save video from any website;
- * Supports any browser;
- * Runs on any Operating system;
- * Free, No-Adware and Open source.
-
-Note: p7zip is build-time dependency, not runtime dependency.
+xdman is an open source download manager and accelerator.
+It can resume broken or dead downloads and save videos from
+popular streaming websites.It also integrates with
+Google Chrome, Mozilla Firefox, Opera, Vivaldi and
+other Chroumium and Firefox based browsers.
diff --git a/network/xdman/changelog b/network/xdman/changelog
new file mode 100644
index 0000000000..31a8185eaa
--- /dev/null
+++ b/network/xdman/changelog
@@ -0,0 +1,20 @@
+Changelog for xdman SlackBuild Script
+--------------------------------------------------------------------
+
+25/05/2023:
+
+Submitted to slackbuilds.org
+
+26/05/2023:
+
+Resubmitted to SBo.
+Fixed the SlackBuild script and added the url for
+the license file in the info file.
+
+27/05/2023:
+
+Added to SBo
+
+29/09/2023:
+
+updated to version 8.0.29
diff --git a/network/xdman/doinst.sh b/network/xdman/doinst.sh
index aea0f894eb..5b35a0a29e 100644
--- a/network/xdman/doinst.sh
+++ b/network/xdman/doinst.sh
@@ -6,8 +6,9 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+# If other icon themes are installed, then add to/modify this as needed
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
diff --git a/network/xdman/slack-desc b/network/xdman/slack-desc
index 225bfb6c6f..0cf34a6575 100644
--- a/network/xdman/slack-desc
+++ b/network/xdman/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-xdman: xdman (download manager)
+xdman: xdman (Xtreme Download Manager)
xdman:
-xdman: Xtreme Download Manager is a powerful tool to increase download speed
-xdman: up-to 500%, save videos from video sharing sites and integration
-xdman: with ANY browser.
-xdman:
-xdman: Home page: https://sourceforge.net/projects/xdman
+xdman: xdman is an open source download manager and accelerator.
+xdman: It can resume broken or dead downloads and save videos from
+xdman: popular streaming websites.It also integrates very nicely
+xdman: with Firefox and Chrome.
xdman:
xdman:
+xdman: Homepage:https://github.com/subhra74
xdman:
xdman:
diff --git a/network/xdman/xdm-app.desktop b/network/xdman/xdm-app.desktop
new file mode 100644
index 0000000000..5009de519b
--- /dev/null
+++ b/network/xdman/xdm-app.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Exec=env GTK_USE_PORTAL=1 /opt/xdman/xdm-app %U
+Type=Application
+Terminal=false
+Name=Xtreme Download Manager
+Comment=Download Manager
+Categories=Network;
+Icon=/opt/xdman/xdm-logo.svg
+MimeType=application/xdm-app;x-scheme-handler/xdm-app;
+StartupNotify=true
diff --git a/network/xdman/xdman b/network/xdman/xdman
deleted file mode 100644
index 7958054e1a..0000000000
--- a/network/xdman/xdman
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-if [ $EUID -eq 0 ];then
- echo "It's not recomended to run XDM as root, as it can cause problems"
-fi
-java -Dsun.java2d.xrender=false -jar /opt/xdman/xdman.jar
diff --git a/network/xdman/xdman.SlackBuild b/network/xdman/xdman.SlackBuild
index 3e7e25c0d8..83820b7e34 100644
--- a/network/xdman/xdman.SlackBuild
+++ b/network/xdman/xdman.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-#
-# Slackware build script for xdman.
-#
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#!/bin/bash
+
+# Slackware build script for xdman
+
+# Copyright 2023 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,59 +22,50 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xdman
-VERSION=${VERSION:-2018.7.2.8}
+VERSION=${VERSION:-8.0.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+sys_arch=${sys_arch:-$(uname -m)}
+SRCNAM=${SRCNAM:-xdman_gtk_}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+case "$sys_arch" in
+ x86_64)
+ DEBARCH=amd64
+ ARCH=x86_64
+ LIBDIRSUFFIX="64"
+ ;;
+ *) echo "This program will not build on $sys_arch platform" && exit 1 ;;
+esac
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
-
-SRCNAM=${SRCNAM:-xdm-2018}
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-
-mkdir -p $PRGNAM-$VERSION
-
-if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- tar xvf $CWD/$SRCNAM-x86.tar.xz -C $PRGNAM-$VERSION
-elif [ "$ARCH" = "x86_64" ]; then
- tar xvf $CWD/$SRCNAM-x64.tar.xz -C $PRGNAM-$VERSION
-else
- echo "$ARCH is not supported."
- exit 1
-fi
-
+rm -rf $PRGNAM-$VERSION
+mkdir -pv $PRGNAM-$VERSION
+ar -x $CWD/$SRCNAM${VERSION}_${DEBARCH}.deb --output $TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+tar xvf data.tar.xz -C $PKG
+cd .. && cd $PKG
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -82,22 +73,40 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-7z x -y install.sh
-install -d -m755 $PKG/opt/xdman
-install -D -m644 xdman.jar $PKG/opt/xdman/xdman.jar
-install -D -m775 $CWD/xdman $PKG/opt/xdman
-install -D -m644 xdman.desktop $PKG/usr/share/applications/xdman.desktop
-install -D -m644 icon.png $PKG/usr/share/pixmaps/icon.png
+chmod 0750 $PKG/opt/xdman/libmscordaccore.so
+chmod 0750 $PKG/opt/xdman/libhostfxr.so
+chmod 0750 $PKG/opt/xdman/libmscordbi.so
+chmod 0750 $PKG/opt/xdman/libcoreclr.so
+chmod 0750 $PKG/opt/xdman/libSystem.Globalization.Native.so
+chmod 0750 $PKG/opt/xdman/SQLite.Interop.dll
+chmod 0750 $PKG/opt/xdman/libSystem.Native.so
+chmod 0750 $PKG/opt/xdman/libhostpolicy.so
+chmod 0750 $PKG/opt/xdman/libcoreclrtraceptprovider.so
+chmod 0750 $PKG/opt/xdman/libSystem.Security.Cryptography.Native.OpenSsl.so
+chmod 0750 $PKG/opt/xdman/createdump
+chmod 0750 $PKG/opt/xdman/libSystem.Net.Security.Native.so
+chmod 0750 $PKG/opt/xdman/libSystem.IO.Compression.Native.so
+chmod 0750 $PKG/opt/xdman/libdbgshim.so
+chmod 0750 $PKG/opt/xdman/libclrjit.so
+
+cd ..
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -rvf $PKG/usr/share/applications/xdm-app.destop
+install -m0644 $CWD/xdm-app.desktop -t $PKG/usr/share/applications/
+
+enscript -B -o $TMP/GPL-2.0.ps $CWD/gpl-2.0.txt
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a $TMP/GPL-2.0.ps $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xdman/xdman.info b/network/xdman/xdman.info
index ebd90cd3b8..568341b8a6 100644
--- a/network/xdman/xdman.info
+++ b/network/xdman/xdman.info
@@ -1,10 +1,12 @@
PRGNAM="xdman"
-VERSION="2018.7.2.8"
-HOMEPAGE="https://sourceforge.net/projects/xdman"
-DOWNLOAD="https://sourceforge.net/projects/xdman/files/xdm-2018-x86.tar.xz"
-MD5SUM="e4c83df8298682def2fa44944b183d0e"
-DOWNLOAD_x86_64="https://sourceforge.net/projects/xdman/files/xdm-2018-x64.tar.xz"
-MD5SUM_x86_64="a92cf4d15fa79964b8480f44e6bd93fd"
-REQUIRES="jdk p7zip"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
+VERSION="8.0.29"
+HOMEPAGE="https://github.com/subhra74"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/subhra74/xdm/releases/download/8.0.29/xdman_gtk_8.0.29_amd64.deb \
+ https://www.gnu.org/licenses/gpl-2.0.txt"
+MD5SUM_x86_64="3a67fa5716036948e044296e34e5347e \
+ b234ee4d69f5fce4486a80fdaf4a4263"
+REQUIRES="yt-dlp"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/network/xinetd/README b/network/xinetd/README
index 8c50f8775b..84a8eae259 100644
--- a/network/xinetd/README
+++ b/network/xinetd/README
@@ -1,22 +1,24 @@
-Xinetd is a powerful inetd replacement. Xinetd has access control mechanisms,
-extensive logging capabilities, the ability to make services available based
-on time, can place limits on the number of servers that can be started,
-and has a configurable defence mechanisms to protect against port scanners,
-among other things.
+xinetd (a better inetd)
-Before starting xinetd, you may wish to switch inetd off if it is running.
-To do this:
+Xinetd is a powerful inetd replacement. Xinetd has access control
+mechanisms, extensive logging capabilities, the ability to make
+services available based on time, can place limits on the number of
+servers that can be started, and has configurable defence mechanisms
+to protect against port scanners, among other things.
-Do a "ps x" as root and look up the pid of inetd. Then do "kill <pid of inetd>"
+Before starting xinetd, you may wish to switch inetd off if it is
+running. To do this: killall inetd
-Stop inetd from starting at boot: chmod 0644 /etc/rc.d/rc.inetd
-Start xinetd on boot by adding the following lines to /etc/rc.d/rc.local:
+Stop inetd from starting at boot: chmod 0644 /etc/rc.d/rc.inetd
+
+Start xinetd on boot by adding the following lines to
+/etc/rc.d/rc.local:
if [ ! -x /etc/rc.d/rc.inetd ] && [ -x /etc/rc.d/rc.xinetd ]; then
/etc/rc.d/rc.xinetd start
fi
+
Ensure that /etc/rc.d/{rc.local,rc.xinetd} have executable permissions.
Alternatively, you can avoid all of the edits to rc.local:
mv /etc/rc.d/rc.xinetd /etc/rc.d/rc.inetd
-
diff --git a/network/xinetd/slack-desc b/network/xinetd/slack-desc
index 51563e374d..5e7b2cadf7 100644
--- a/network/xinetd/slack-desc
+++ b/network/xinetd/slack-desc
@@ -11,7 +11,7 @@ xinetd:
xinetd: Xinetd is a powerful inetd replacement. Xinetd has access control
xinetd: mechanisms, extensive logging capabilities, the ability to make
xinetd: services available based on time, can place limits on the number of
-xinetd: servers that can be started, and has a configurable defence mechanisms
+xinetd: servers that can be started, and has configurable defence mechanisms
xinetd: to protect against port scanners, among other things.
xinetd:
xinetd: Homepage: http://xinetd.org
diff --git a/network/xinetd/xinetd.SlackBuild b/network/xinetd/xinetd.SlackBuild
index cd3713d13a..4da22df787 100644
--- a/network/xinetd/xinetd.SlackBuild
+++ b/network/xinetd/xinetd.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xinetd
# Copyright 2012 Chris Abela, Malta
-# Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-# Copyright 2017-2019 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014 Ryan P.C. McQuen, WA
+# Copyright 2017-2019 Aaditya
+# Copyright 2023 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +25,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231222 bkw:
+# - take over maintenance.
+# - fix #@$@% github download URL.
+# - tweak README and slack-desc slightly.
+# Note: I'm taking this over just to keep it from being removed from SBo.
+# I don't use it, and I'm not likely to spend much time on it. If you see
+# that I've let this get out of date and would like to take over maintenance,
+# please do (just email me).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xinetd
VERSION=${VERSION:-2.3.15.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +50,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,15 +79,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
./autogen.sh
@@ -87,34 +100,26 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
-# Install the Slackware init script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.xinetd > $PKG/etc/rc.d/rc.xinetd.new
chmod 0755 $PKG/etc/rc.d/rc.xinetd.new
-# Backup config files
mv "$PKG/etc/xinetd.conf" "$PKG/etc/xinetd.conf.new"
for file in "$PKG"/etc/xinetd.d/*; do
mv "${file}" "${file}.new"
done
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG COPYRIGHT README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGELOG COPYRIGHT README.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xinetd/xinetd.info b/network/xinetd/xinetd.info
index 9b81acc6ea..6c4591d74e 100644
--- a/network/xinetd/xinetd.info
+++ b/network/xinetd/xinetd.info
@@ -1,10 +1,10 @@
PRGNAM="xinetd"
VERSION="2.3.15.4"
HOMEPAGE="https://github.com/openSUSE/xinetd"
-DOWNLOAD="https://github.com/openSUSE/xinetd/archive/2.3.15.4.tar.gz"
+DOWNLOAD="https://github.com/openSUSE/xinetd/archive/2.3.15.4/xinetd-2.3.15.4.tar.gz"
MD5SUM="c2ca87367a7017a8f736a32e18be38e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Aaditya Bagga"
-EMAIL="aaditya_gnulinux@zoho.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/xl2tpd/README b/network/xl2tpd/README
index 212a1a374f..0fd9ad3548 100644
--- a/network/xl2tpd/README
+++ b/network/xl2tpd/README
@@ -1,20 +1,20 @@
-xl2tpd is an implementation of the Layer 2 Tunnelling Protocol (RFC 2661).
-L2TP allows you to tunnel PPP over UDP. Some ISPs use L2TP to tunnel user
-sessions from dial-in servers (modem banks, ADSL DSLAMs) to back-end PPP
-servers. Another important application is Virtual Private Networks where
-the IPsec protocol is used to secure the L2TP connection (L2TP/IPsec,
-RFC 3193). The L2TP/IPsec protocol is mainly used by Windows and
-Mac OS X clients. On Linux, xl2tpd can be used in combination with IPsec
-implementations such as Openswan.
+xl2tpd is an implementation of the Layer 2 Tunnelling Protocol
+(RFC 2661). L2TP allows you to tunnel PPP over UDP. Some ISPs use
+L2TP to tunnel user sessions from dial-in servers (modem banks, ADSL
+DSLAMs) to back-end PPP servers. Another important application is
+Virtual Private Networks where the IPsec protocol is used to secure
+the L2TP connection (L2TP/IPsec, RFC 3193). The L2TP/IPsec protocol
+is mainly used by Windows and Mac OS X clients. On Linux, xl2tpd can
+be used in combination with IPsec implementations such as Openswan.
Example configuration files for such a setup are included in this RPM.
xl2tpd works by opening a pseudo-tty for communicating with pppd.
It runs completely in userspace but supports kernel mode L2TP.
-xl2tpd supports IPsec SA Reference tracking to enable overlapping internak
-NAT'ed IP's by different clients (eg all clients connecting from their
-linksys internal IP 192.168.1.101) as well as multiple clients behind
-the same NAT router.
+xl2tpd supports IPsec SA Reference tracking to enable overlapping
+internak NAT'ed IP's by different clients (eg all clients connecting
+from their linksys internal IP 192.168.1.101) as well as multiple
+clients behind the same NAT router.
xl2tpd supports the pppol2tp kernel mode operations on 2.6.23 or higher,
or via a patch in contrib for 2.4.x kernels. Note that kernel mode and
diff --git a/network/xl2tpd/xl2tpd.SlackBuild b/network/xl2tpd/xl2tpd.SlackBuild
index ea6583de6f..ca3dab80af 100644
--- a/network/xl2tpd/xl2tpd.SlackBuild
+++ b/network/xl2tpd/xl2tpd.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xl2tpd
# written by gshep <shepelev.georgy@googlemail.com>
# modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xl2tpd
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.3.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -111,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xl2tpd/xl2tpd.info b/network/xl2tpd/xl2tpd.info
index 83b8a78347..e2595f92d1 100644
--- a/network/xl2tpd/xl2tpd.info
+++ b/network/xl2tpd/xl2tpd.info
@@ -1,8 +1,8 @@
PRGNAM="xl2tpd"
-VERSION="1.3.2"
+VERSION="1.3.16"
HOMEPAGE="http://www.xelerance.com/software/xl2tpd/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/xl2tpd-1.3.2.tar.gz"
-MD5SUM="d1e44ad0055a02ac89a32b2a6eeb0719"
+DOWNLOAD="https://github.com/xelerance/xl2tpd/archive/v1.3.16/xl2tpd-1.3.16.tar.gz"
+MD5SUM="6b2fb8f7f1666ae0b80f0e178f04c944"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/xmrig/README b/network/xmrig/README
new file mode 100644
index 0000000000..347099144c
--- /dev/null
+++ b/network/xmrig/README
@@ -0,0 +1,100 @@
+XMRig is a high performance, open source, cross platform RandomX,
+KawPow, CryptoNight and GhostRider unified CPU/GPU miner and
+RandomX benchmark. Official binaries are available for Windows,
+Linux, macOS and FreeBSD.
+
+Mining Backends:
+* CPU (x64/ARMv7/ARMv8)
+* OpenCL for AMD GPUs
+(CUDA for NVIDIA GPUs requires an external CUDA plugin "xmrig-cuda"
+as a dependency; for the time being, you will have to compile this
+yourself)
+
+Usage:
+The preferred way to configure the miner is the JSON config file,
+as it is more flexible and human friendly. The command line interface
+does not cover all features, such as mining profiles for different
+algorithms. Important options can be changed during runtime without
+miner restart by editing the config file or executing API calls.
+
+Config File:
+An online wizard (located at https://xmrig.com/wizard) can be used
+to help create an initial configuration for the miner. The resulting
+config file must be placed as either .xmrig.json or .config/xmrig.json
+in your user home directory.
+
+Donations:
+Donations are the percentage of your hashing power that you want to
+donate to the developer, and are used to support XMRig Development.
+Default donation 1% (1 minute in 100 minutes) can be increased via
+command line option --donate-level or disabled in the source code.
+Alternatively, pass the option "DONATE=no" to the script to disable
+donations altogether (although a one-time donation to the developers
+is recommended if you choose to do this).
+
+Algorithms:
+Various algorithms can be enabled/disabled by passing variables to the
+script (VAR=yes/no ./feather.SlackBuild) These algorithms include:
+WITH_CN_LITE=yes|no (default: yes)
+ (disable all CryptoNight-Lite algorithms (cn-lite/*))
+WITH_CN_HEAVY=yes|no (default: yes)
+ (disable all CryptoNight-Heavy algorithms (cn-heavy/*))
+WITH_CN_PICO=yes|no (default: yes)
+ (disable CryptoNight-Pico algorithms (cn-pico and cn-pico/tlo))
+WITH_CN_FEMTO=yes|no (default: yes)
+ (disable CryptoNight-UPX2 algorithm)
+WITH_RANDOMX=yes|no (default: yes)
+ (disable RandomX algorithms (rx/*))
+WITH_ARGON2=yes|no (default: yes)
+ (disable Argon2 algorithms (argon2/*)
+WITH_KAWPOW=yes|no (default: yes)
+ (disable KawPow algorithm (kawpow)
+WITH_GHOSTRIDER=yes|no (default: yes)
+ (disable GhostRider algorithm (gr)
+
+Features:
+Various features can be enabled/disabled by passing variables to the
+script (VAR=yes/no ./feather.SlackBuild) These features include:
+WITH_HWLOC=yes|no (default: yes)
+ (disable hwloc support. Disabling this feature is not recommended
+ in most cases. This feature adds an external dependency to
+ libhwloc (1.10.0+))
+WITH_LIBCPUID=yes|no (default: yes)
+ (disable built-in libcpuid support. This feature is always disabled
+ if hwloc is enabled. If both hwloc and libcpuid are disabled, auto
+ configuration for CPU will be very limited.)
+WITH_HTTP=yes|no (default: yes)
+ (disable built-in HTTP support. This feature is used for HTTP API
+ and daemon (solo mining) support)
+WITH_TLS=yes|no (default: yes)
+ (disable SSL/TLS support (secure connections to pool). This feature
+ adds an external dependency to OpenSSL (included in Slackware by
+ default))
+WITH_ASM=yes|no (default: yes)
+ (disable assembly optimisations for modern CryptoNight algorithms)
+WITH_EMBEDDED_CONFIG=yes|no (default: no)
+ (enable embedded config support)
+WITH_OPENCL=yes|no (default: yes)
+ (disable OpenCL backend)
+WITH_CUDA=yes|no (default: no)
+ (enable NVIDIA CUDA backend; requires xmrig-cuda dependency)
+WITH_NVML=yes|no (default: no)
+ (disable NVML (NVIDIA Management Library) support. This feature is
+ only available if CUDA is enabled)
+WITH_MSR=yes|no (default: yes)
+ (disable MSR mod & 1st-gen Ryzen fix)
+WITH_ADL=yes|no (default: yes)
+ (disable ADL (AMD Display Library) or sysfs support. Tihs feature
+ is only available if OpenCL is enabled)
+WITH_PROFILING=yes|no (default: no)
+ (enable profiling for developers)
+WITH_SSE4_1=yes|no (default: yes)
+ (disable SSE 4.1 for Blake2)
+WITH_BENCHMARK=yes|no (default: yes)
+ (disable builtin RandomX benchmark and stress test)
+WITH_SECURE_JIT=yes|no (default: no)
+ (enable secure access to JIT memory. Off by default on all OS,
+ except for macOS with ARM CPU)
+WITH_DMI=yes|no (default: yes)
+ (disable DMI/SMBIOS reader)
+
diff --git a/network/xmrig/donate.patch b/network/xmrig/donate.patch
new file mode 100644
index 0000000000..e2ca7ef48e
--- /dev/null
+++ b/network/xmrig/donate.patch
@@ -0,0 +1,13 @@
+--- donate.h 2023-07-03 06:42:00.000000000 +0100
++++ donate0.h 2023-07-19 13:30:36.907129259 +0100
+@@ -37,8 +37,8 @@
+ * If you plan on changing donations to 0%, please consider making a one-off donation to my wallet:
+ * XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
+ */
+-constexpr const int kDefaultDonateLevel = 1;
+-constexpr const int kMinimumDonateLevel = 1;
++constexpr const int kDefaultDonateLevel = 0;
++constexpr const int kMinimumDonateLevel = 0;
+
+
+ #endif // XMRIG_DONATE_H
diff --git a/network/xmrig/slack-desc b/network/xmrig/slack-desc
new file mode 100644
index 0000000000..3bd5fc5aa6
--- /dev/null
+++ b/network/xmrig/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+xmrig: xmrig (unified CPU/GPU cryptocurrency miner)
+xmrig:
+xmrig: XMRig is a high performance, open source, cross platform RandomX,
+xmrig: KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX
+xmrig: benchmark. Official binaries are available for Windows, Linux, macOS
+xmrig: and FreeBSD.
+xmrig:
+xmrig: Homepage: https://xmrig.com/
+xmrig:
+xmrig:
+xmrig:
diff --git a/network/xmrig/xmrig.SlackBuild b/network/xmrig/xmrig.SlackBuild
new file mode 100644
index 0000000000..6f182923cd
--- /dev/null
+++ b/network/xmrig/xmrig.SlackBuild
@@ -0,0 +1,162 @@
+#!/bin/bash
+
+# Slackware build script for xmrig
+
+# Copyright 2023-2024 Bloyburt
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=xmrig
+VERSION=${VERSION:-6.21.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Donations can be enabled/disabled here
+[ "${DONATE:-yes}" = no ] && patch src/donate.h < $CWD/donate.patch
+
+# Algorithms can be enabled/disabled here
+[ "${WITH_CN_LITE:-yes}" = no ] && WITH_CN_LITE='-DWITH_CN_LITE=OFF'
+[ "${WITH_CN_HEAVY:-yes}" = no ] && WITH_CN_HEAVY='-DWITH_CN_HEAVY=OFF'
+[ "${WITH_CN_PICO:-yes}" = no ] && WITH_CN_PICO='-DWITH_CN_PICO=OFF'
+[ "${WITH_CN_FEMTO:-yes}" = no ] && WITH_CN_FEMTO='-DWITH_CN_FEMTO=OFF'
+[ "${WITH_RANDOMX:-yes}" = no ] && WITH_RANDOMX='-DWITH_RANDOMX=OFF'
+[ "${WITH_ARGON2:-yes}" = no ] && WITH_ARGON2='-DWITH_ARGON2=OFF'
+[ "${WITH_KAPOW:-yes}" = no ] && WITH_KAPOW='-DWITH_KAPOW=OFF'
+[ "${WITH_GHOSTRIDER:-yes}" = no ] && WITH_GHOSTRIDER='-DWITH_GHOSTRIDER=OFF'
+
+# Features can be enabled/disabled here
+[ "${WITH_HWLOC:-yes}" = no ] && WITH_HWLOC='-DWITH_HWLOC=OFF'
+[ "${WITH_LIBCPUID:-yes}" = no ] && WITH_LIBCPUID='-DWITH_LIBCPUID=OFF'
+[ "${WITH_HTTP:-yes}" = no ] && WITH_HTTP='-DWITH_HTTP=OFF'
+[ "${WITH_TLS:-yes}" = no ] && WITH_TLS='-DWITH_TLS=OFF'
+[ "${WITH_ASM:-yes}" = no ] && WITH_ASM='-DWITH_ASM=OFF'
+[ "${WITH_EMBEDDED_CONFIG:-no}" = yes ] && WITH_EMBEDDED_CONFIG='-DWITH_EMBEDDED_CONFIG=ON'
+[ "${WITH_OPENCL:-yes}" = no ] && WITH_OPENCL='-DWITH_OPENCL=OFF'
+[ "${WITH_CUDA:-no}" = yes ] && WITH_CUDA='-DWITH_CUDA=ON'
+[ "${WITH_NVML:-no}" = yes ] && WITH_NVML='-DWITH_NVML=ON'
+[ "${WITH_MSR:-yes}" = no ] && WITH_MSR='-DWITH_MSR=OFF'
+[ "${WITH_ADL:-yes}" = no ] && WITH_ADL='-DWITH_ADL=OFF'
+[ "${WITH_PROFILING:-no}" = yes ] && WITH_PROFILING='-DWITH_PROFILING=ON'
+[ "${WITH_SSE4_1:-yes}" = no ] && WITH_SSE4_1='-DWITH_SSE4_1=OFF'
+[ "${WITH_BENCHMARK:-yes}" = no ] && WITH_BENCHMARK='-DWITH_BENCHMARK=OFF'
+[ "${WITH_SECURE_JIT:-no}" = yes ] && WITH_SECURE_JIT='-DWITH_SECURE_JIT=ON'
+[ "${WITH_DMI:-yes}" = no ] && WITH_DMI='-DWITH_DMI=OFF'
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ $WITH_CN_LITE \
+ $WITH_CN_HEAVY \
+ $WITH_CN_PICO \
+ $WITH_CN_FEMTO \
+ $WITH_RANDOMX \
+ $WITH_ARGON2 \
+ $WITH_KAPOW \
+ $WITH_GHOSTRIDER \
+ $WITH_HWLOC \
+ $WITH_LIBCPUID \
+ $WITH_HTTP \
+ $WITH_TLS \
+ $WITH_ASM \
+ $WITH_EMBEDDED_CONFIG \
+ $WITH_OPENCL \
+ $WITH_CUDA \
+ $WITH_NVML \
+ $WITH_MSR \
+ $WITH_ADL \
+ $WITH_PROFILING \
+ $WITH_SSE4_1 \
+ $WITH_BENCHMARK \
+ $WITH_SECURE_JIT \
+ $WITH_DMI \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+cd ..
+
+mkdir -p $PKG/usr/bin
+cp -a build/$PRGNAM $PKG/usr/bin/$PRGNAM
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xmrig/xmrig.info b/network/xmrig/xmrig.info
new file mode 100644
index 0000000000..e2ea65a269
--- /dev/null
+++ b/network/xmrig/xmrig.info
@@ -0,0 +1,10 @@
+PRGNAM="xmrig"
+VERSION="6.21.1"
+HOMEPAGE="https://xmrig.com/"
+DOWNLOAD="https://github.com/xmrig/xmrig/archive/v6.21.1/xmrig-6.21.1.tar.gz"
+MD5SUM="072d9a86308243368a89c43c2e5d7ed4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="%README% hwloc"
+MAINTAINER="Bloyburt"
+EMAIL="alexpen@startmail.com"
diff --git a/network/xnetload/README b/network/xnetload/README
index e1514e205f..477199e9c2 100644
--- a/network/xnetload/README
+++ b/network/xnetload/README
@@ -1,8 +1,8 @@
Xnetload displays a count and a graph of the traffic over a specified
network connection.
-It either displays bytes/second or packets/second, based on the capabilities
-of the kernel. On 2.1.x and later kernels (including the 2.2.x and 2.4.x
-series) it displays bytes/s. It requires the /proc file system, or rather
-/proc/net/dev which is only found in Linux. So AFAIK this program is Linux
-specific.
+It either displays bytes/second or packets/second, based on the
+capabilities of the kernel. On 2.1.x and later kernels (including the
+2.2.x and 2.4.x series) it displays bytes/s. It requires the /proc
+file system, or rather /proc/net/dev which is only found in Linux.
+So AFAIK this program is Linux specific.
diff --git a/network/xnetload/xnetload.SlackBuild b/network/xnetload/xnetload.SlackBuild
index 426552c8ac..83a631d761 100644
--- a/network/xnetload/xnetload.SlackBuild
+++ b/network/xnetload/xnetload.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xnetload
@@ -6,26 +6,36 @@
# Released into the public domain June 9, 2009
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xnetload
VERSION=${VERSION:-1.11.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,5 +82,5 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xtables-addons/README b/network/xtables-addons/README
index 5cd17a5da5..597f4dc18b 100644
--- a/network/xtables-addons/README
+++ b/network/xtables-addons/README
@@ -1,8 +1,12 @@
xtables-addons (additions for iptables/xtables)
-Xtables-addons is the proclaimed successor to patch-o-matic(-ng).
-It contains extensions that are not in the main Xtables package,
-including TARPIT and SYSRQ.
+Xtables-addons is a set of additional extensions for the Xtables packet
+filter that is present in the Linux kernel (which is loosely known by
+its administrative commands iptables/ip6tables/etc.).
+
+Xtables-addons succeeds the older patch-o-matic and patch-o-matic-ng
+packages. Likewise, it contains extensions that were not, or are not
+yet, accepted in the main kernel/iptables packages.
This package builds some kernel modules, so it will need to be
rebuilt any time you change kernels.
diff --git a/network/xtables-addons/slack-desc b/network/xtables-addons/slack-desc
index 6d42731891..15538736eb 100644
--- a/network/xtables-addons/slack-desc
+++ b/network/xtables-addons/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
xtables-addons: xtables-addons (additions for iptables/xtables)
xtables-addons:
-xtables-addons: Xtables-addons is the proclaimed successor to
-xtables-addons: patch-o-matic(-ng). It contains extensions that
-xtables-addons: were not accepted in the main Xtables package.
+xtables-addons: Xtables-addons is a set of additional extensions for the Xtables
+xtables-addons: packet filter that is present in the Linux kernel (which is loosely
+xtables-addons: known by its administrative commands iptables/ip6tables/etc.).
xtables-addons:
-xtables-addons: Homepage: http://xtables-addons.sf.net/
+xtables-addons: Homepage: https://inai.de/projects/xtables-addons/
xtables-addons:
xtables-addons:
xtables-addons:
diff --git a/network/xtables-addons/xtables-addons.SlackBuild b/network/xtables-addons/xtables-addons.SlackBuild
index ca6a849131..f55c27abb3 100644
--- a/network/xtables-addons/xtables-addons.SlackBuild
+++ b/network/xtables-addons/xtables-addons.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xtables-addons
-# Copyright 2008-2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2008-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xtables-addons
-VERSION=${VERSION:-2.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.18}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
KERNEL=${KERNEL:-$(uname -r)}
PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,9 +104,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/xtables-addons/xtables-addons.info b/network/xtables-addons/xtables-addons.info
index 46577b4eba..acca5bb4bb 100644
--- a/network/xtables-addons/xtables-addons.info
+++ b/network/xtables-addons/xtables-addons.info
@@ -1,8 +1,8 @@
PRGNAM="xtables-addons"
-VERSION="2.14"
-HOMEPAGE="http://xtables-addons.sf.net/"
-DOWNLOAD="http://download.sourceforge.net/xtables-addons/xtables-addons-2.14.tar.xz"
-MD5SUM="ebb073119a5f250dbfe6b855fcad56fd"
+VERSION="3.18"
+HOMEPAGE="https://inai.de/projects/xtables-addons/"
+DOWNLOAD="https://inai.de/files/xtables-addons/xtables-addons-3.18.tar.xz"
+MD5SUM="755471b1dc6808f274f914fa11552698"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/yadifa/README b/network/yadifa/README
index 6eace606e7..41b0ded884 100644
--- a/network/yadifa/README
+++ b/network/yadifa/README
@@ -22,7 +22,7 @@ To add yadifa user in system run as root:
In order to run YADIFA during boot process, add to /etc/rc.d/rc.local :
if [ -x /etc/rc.d/rc.yadifa ]; then
- /etc/rc.d/rc.yadifa start
+ /etc/rc.d/rc.yadifa start
fi
By default this package compiles as shared binaries, but if required
diff --git a/network/yadifa/rc.yadifa b/network/yadifa/rc.yadifa
index 63a35376ed..fdc1cecf6e 100644
--- a/network/yadifa/rc.yadifa
+++ b/network/yadifa/rc.yadifa
@@ -5,6 +5,10 @@
do_start() {
if [ -x /usr/sbin/yadifad ]; then
+ if [ ! -d /run/yadifa ]; then
+ mkdir -p /run/yadifa
+ chown yadifa:yadifa /run/yadifa
+ fi
echo -n "Starting YADIFA DNS Server: /usr/sbin/yadifad -c /etc/yadifa/yadifad.conf --daemon... "
/usr/sbin/yadifad -c /etc/yadifa/yadifad.conf --daemon 2> /dev/null
echo "done."
diff --git a/network/yadifa/yadifa.SlackBuild b/network/yadifa/yadifa.SlackBuild
index 717dea1e5e..d284cd8108 100644
--- a/network/yadifa/yadifa.SlackBuild
+++ b/network/yadifa/yadifa.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for YADIFA, Authoritative DNS server
@@ -22,26 +22,29 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yadifa
-VERSION=${VERSION:-2.4.0}
-VSUFFIX=${VSUFFIX:-9809}
+VERSION=${VERSION:-2.5.3}
+VSUFFIX=${VSUFFIX:-10333}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION-$VSUFFIX | tr _ -)
if ! grep -q "^yadifa:" /etc/group; then
- echo "$0: Error: $PRGNAM group (yadifa) doesn't exist."
- echo "$0: Try creating one with:"
- echo " # groupadd -g 332 yadifa"
- exit 1
+ echo "$0: Error: $PRGNAM group (yadifa) doesn't exist."
+ echo "$0: Try creating one with:"
+ echo " # groupadd -g 332 yadifa"
+ exit 1
fi
if ! grep -q "^yadifa:" /etc/passwd; then
- echo "$0: Error: $PRGNAM user (yadifa) doesn't exist."
- echo "$0: Try creating one with:"
- echo " # useradd -u 332 -d /var/lib/yadifa -g yadifa -s /bin/false yadifa"
- exit 1
+ echo "$0: Error: $PRGNAM user (yadifa) doesn't exist."
+ echo "$0: Try creating one with:"
+ echo " # useradd -u 332 -d /var/lib/yadifa -g yadifa -s /bin/false yadifa"
+ exit 1
fi
if [ -z "$ARCH" ]; then
@@ -52,7 +55,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -128,9 +138,6 @@ install --mode=755 $CWD/doinst.sh $PKG/install/doinst.sh
mkdir -p $PKG/etc/rc.d
install --mode=755 $CWD/rc.yadifa $PKG/etc/rc.d/rc.yadifa.new
-mkdir -p $PKG/var/run/yadifa
-chown yadifa:yadifa $PKG/var/run/yadifa
-
mkdir -p $PKG/var/log/yadifa
chown yadifa:yadifa $PKG/var/log/yadifa
@@ -145,8 +152,9 @@ install --mode=644 $CWD/zones.conf $PKG/etc/yadifa/zones.conf.new
mkdir -p $PKG/etc/logrotate.d
install --mode=644 $CWD/yadifa.logrotate $PKG/etc/logrotate.d/yadifa.new
-# remove empty file
+# remove empty files
rm -rf $PKG/etc/yadifa/yadifad.conf
+rm -rf $PKG/etc/yadifa/yakeyrolld.conf
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/yadifa/yadifa.info b/network/yadifa/yadifa.info
index a160056cfe..93d83aeca8 100644
--- a/network/yadifa/yadifa.info
+++ b/network/yadifa/yadifa.info
@@ -1,8 +1,8 @@
PRGNAM="yadifa"
-VERSION="2.4.0"
+VERSION="2.5.3"
HOMEPAGE="https://www.yadifa.eu"
-DOWNLOAD="https://www.yadifa.eu/sites/default/files/releases/yadifa-2.4.0-9809.tar.gz"
-MD5SUM="af12001a6169533bc546aa7bfdac9c29"
+DOWNLOAD="https://www.yadifa.eu/sites/default/files/releases/yadifa-2.5.3-10333.tar.gz"
+MD5SUM="107fe4bf6eb6d1c8da8bd185bcec5d46"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/yadifa/yadifa.logrotate b/network/yadifa/yadifa.logrotate
index 93cdd2ee13..a920e093ca 100644
--- a/network/yadifa/yadifa.logrotate
+++ b/network/yadifa/yadifa.logrotate
@@ -1,6 +1,8 @@
/var/log/yadifa/*.log {
daily
rotate 14
+ create 0644 yadifa yadifa
+ su yadifa yadifa
notifempty
missingok
compress
diff --git a/network/yandex-browser-beta/README b/network/yandex-browser-beta/README
deleted file mode 100644
index 25b4949a43..0000000000
--- a/network/yandex-browser-beta/README
+++ /dev/null
@@ -1,4 +0,0 @@
-yandex-browser-beta (The web browser from Yandex)
-
-Yandex Browser is a browser that combines a minimal design with
-sophisticated technology to make the web faster, safer, and easier.
diff --git a/network/yandex-browser-beta/doinst.sh b/network/yandex-browser-beta/doinst.sh
deleted file mode 100644
index e4e6459838..0000000000
--- a/network/yandex-browser-beta/doinst.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
diff --git a/network/yandex-browser-beta/slack-desc b/network/yandex-browser-beta/slack-desc
deleted file mode 100644
index 7dd9a7af1a..0000000000
--- a/network/yandex-browser-beta/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-yandex-browser-beta: yandex-browser-beta (The web browser from Yandex)
-yandex-browser-beta:
-yandex-browser-beta: Yandex Browser is a browser that combines a minimal design with
-yandex-browser-beta: sophisticated technology to make the web faster, safer, and easier.
-yandex-browser-beta:
-yandex-browser-beta: Home Page: https://browser.yandex.com/
-yandex-browser-beta:
-yandex-browser-beta:
-yandex-browser-beta:
-yandex-browser-beta:
-yandex-browser-beta:
diff --git a/network/yandex-browser-beta/yandex-browser-beta.SlackBuild b/network/yandex-browser-beta/yandex-browser-beta.SlackBuild
deleted file mode 100644
index 662a11f5d0..0000000000
--- a/network/yandex-browser-beta/yandex-browser-beta.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for yandex-browser-beta.
-#
-# Copyright 2017-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=yandex-browser-beta
-VERSION=${VERSION:-19.12.3.332}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- BITS="i386"
- echo "This package is currently only available for 64bit."
- exit 1
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BITS="i386"
- echo "This package is currently only available for 64bit."
- exit 1
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="amd64"
-else
- echo "Package for $ARCH architecture is not available."
- exit 1
-fi
-
-SRCVER=${SRCVER:-$VERSION-1}
-
-set -e
-
-rm -rf $PKG $TMP/$PRGNAM
-mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
-
-cd $TMP/$PRGNAM
-ar p $CWD/${PRGNAM}_${SRCVER}_${BITS}.deb data.tar.xz | tar xvJ
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-rm -r etc usr/share/gnome-control-center
-cp -dr --no-preserve=ownership opt usr $PKG/
-
-chmod 4755 $PKG/opt/yandex/browser-beta/yandex_browser-sandbox
-chown root $PKG/opt/yandex/browser-beta/yandex_browser-sandbox
-
-install -D -m0644 $PKG/opt/yandex/browser-beta/product_logo_128.png $PKG/usr/share/pixmaps/$PRGNAM.png
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-gzip -dc $PKG/usr/share/doc/$PRGNAM/changelog.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
-rm -rf $PKG/usr/share/doc
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mv $PKG/usr/share/man $PKG/usr/
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/yandex-browser-beta/yandex-browser-beta.info b/network/yandex-browser-beta/yandex-browser-beta.info
deleted file mode 100644
index 741e564b42..0000000000
--- a/network/yandex-browser-beta/yandex-browser-beta.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="yandex-browser-beta"
-VERSION="19.12.3.332"
-HOMEPAGE="https://browser.yandex.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="http://repo.yandex.ru/yandex-browser/deb/pool/main/y/yandex-browser-beta/yandex-browser-beta_19.12.3.332-1_amd64.deb"
-MD5SUM_x86_64="f8f4be3913abaf37d2eb45530ebe177c"
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/network/yate/README b/network/yate/README
index 70293624b8..ec6dd4c5f3 100644
--- a/network/yate/README
+++ b/network/yate/README
@@ -1,10 +1,11 @@
-Yate is a next-generation telephony engine; while currently focused on Voice
-over Internet Protocol (VoIP) and PSTN, its power lies in its ability to be
-easily extended. Voice, video, data and instant messenging can all be unified
-under Yate's flexible routing engine, maximizing communications efficiency
-and minimizing infrastructure costs for businesses.
+Yate is a next-generation telephony engine; while currently focused
+on Voice over Internet Protocol (VoIP) and PSTN, its power lies in
+its ability to be easily extended. Voice, video, data and instant
+messenging can all be unified under Yate's flexible routing engine,
+maximizing communications efficiency and minimizing infrastructure
+costs for businesses.
-Optional dependencies: postgresql, speex, amrnb
+Optional dependencies: postgresql, amrnb
To build with SSE2 instructions, set the option SSE2=yes:
diff --git a/network/yate/yate.SlackBuild b/network/yate/yate.SlackBuild
index 820212106e..c0d4fca208 100644
--- a/network/yate/yate.SlackBuild
+++ b/network/yate/yate.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yate
#
# Michales (clavisound) Michaloudes korgie@gmail.com <2013, 2017>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yate
-VERSION=${VERSION:-5.5.0_1}
+VERSION=${VERSION:-6.4.0_1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(echo $VERSION | tr _ -)
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,7 +84,6 @@ make -j1
make install DESTDIR=$PKG
rm -rf $PKG/usr/lib/menu
-rmdir --ignore-fail-on-non-empty $PKG/usr/lib
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -95,4 +104,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/yate/yate.info b/network/yate/yate.info
index 9aa13d48fd..3fe98a9018 100644
--- a/network/yate/yate.info
+++ b/network/yate/yate.info
@@ -1,10 +1,10 @@
PRGNAM="yate"
-VERSION="5.5.0_1"
+VERSION="6.4.0_1"
HOMEPAGE="http://yate.null.ro/"
-DOWNLOAD="http://yate.null.ro/tarballs/yate5/yate-5.5.0-1.tar.gz"
-MD5SUM="c433b3df08a5993e16fadaac279e39a0"
+DOWNLOAD="http://yate.null.ro/tarballs/yate6/yate-6.4.0-1.tar.gz"
+MD5SUM="6bb5d706ebe601ad8fcbb950f45b69d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
diff --git a/network/yle-dl/README b/network/yle-dl/README
index 9e7a4d78cc..22d3ad5ec1 100644
--- a/network/yle-dl/README
+++ b/network/yle-dl/README
@@ -1,5 +1,8 @@
yle-dl is a tool for downloading media files from the video streaming
services of the Finnish national broadcasting company Yle.
-Dependencies python-configargparse and python-requests need to be built with
-Python 3 support.
+xattr is an optional dependency. It adds support for writing metadata
+to extended attributes of video files.
+
+python3-psutil is an optional dependency. It adds support for detecting
+if the destination filesystem requires a restricted character set.
diff --git a/network/yle-dl/yle-dl.SlackBuild b/network/yle-dl/yle-dl.SlackBuild
index 91299e4d50..3fd8edb8af 100644
--- a/network/yle-dl/yle-dl.SlackBuild
+++ b/network/yle-dl/yle-dl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yle-dl
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yle-dl
-VERSION=${VERSION:-20210212}
+VERSION=${VERSION:-20240130}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +38,18 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -69,14 +65,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python3 setup.py install --root=$PKG
+python3 -m build --wheel --no-isolation
+
+python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ChangeLog COPYING README.fi README.md \
+ ChangeLog COPYING README.fi.md README.md README.sv.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -84,4 +82,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/yle-dl/yle-dl.info b/network/yle-dl/yle-dl.info
index 4445a4ab55..a8a5fb60e2 100644
--- a/network/yle-dl/yle-dl.info
+++ b/network/yle-dl/yle-dl.info
@@ -1,10 +1,10 @@
PRGNAM="yle-dl"
-VERSION="20210212"
+VERSION="20240130"
HOMEPAGE="https://aajanki.github.io/yle-dl/"
-DOWNLOAD="https://github.com/aajanki/yle-dl/archive/20210212/yle-dl-20210212.tar.gz"
-MD5SUM="afe636dc51baa133fa79c17c231c99e0"
+DOWNLOAD="https://github.com/aajanki/yle-dl/archive/20240130/yle-dl-20240130.tar.gz"
+MD5SUM="4ea36e5fab2dd1b255e39d7a7bff3dcd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg lxml python3 python3-attrs python-configargparse python-requests"
+REQUIRES="python3-lxml python3-configargparse"
MAINTAINER="Markus Rinne"
EMAIL="markus.ka.rinne@gmail.com"
diff --git a/network/yoda/README b/network/yoda/README
deleted file mode 100644
index 1db7e41eb6..0000000000
--- a/network/yoda/README
+++ /dev/null
@@ -1 +0,0 @@
-Multiple repositories management.
diff --git a/network/yoda/doinst.sh b/network/yoda/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/yoda/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/yoda/slack-desc b/network/yoda/slack-desc
deleted file mode 100644
index cfff2745ac..0000000000
--- a/network/yoda/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-yoda: yoda (Multiple repositories management)
-yoda:
-yoda: Multiple repositories management.
-yoda:
-yoda: Homepage: https://github.com/Numergy/yoda
-yoda:
-yoda:
-yoda:
-yoda:
-yoda:
-yoda:
diff --git a/network/yoda/yoda.SlackBuild b/network/yoda/yoda.SlackBuild
deleted file mode 100644
index ceb5dd5194..0000000000
--- a/network/yoda/yoda.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for yoda
-
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=yoda
-VERSION=${VERSION:-0.1.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/yoda/yoda.info b/network/yoda/yoda.info
deleted file mode 100644
index c89ef5b8b8..0000000000
--- a/network/yoda/yoda.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="yoda"
-VERSION="0.1.5"
-HOMEPAGE="https://github.com/Numergy/yoda"
-DOWNLOAD="https://pypi.python.org/packages/source/y/yoda/yoda-0.1.5.tar.gz"
-MD5SUM="061e633a900c5f6557e8ce13f71e0f71"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="PyYAML PyColorizer PrettyTable argcomplete"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/you-get/setup.patch b/network/you-get/setup.patch
new file mode 100644
index 0000000000..c07de8362a
--- /dev/null
+++ b/network/you-get/setup.patch
@@ -0,0 +1,25 @@
+--- you-get-0.4.1555/setup.orig 2022-02-19 21:42:45.164326941 +0200
++++ you-get-0.4.1555/setup.py 2022-02-19 21:51:29.199363227 +0200
+@@ -5,7 +5,7 @@
+
+ PROJ_METADATA = '%s.json' % PROJ_NAME
+
+-import os, json, imp
++import os, json
+ here = os.path.abspath(os.path.dirname(__file__))
+ proj_info = json.loads(open(os.path.join(here, PROJ_METADATA), encoding='utf-8').read())
+ try:
+@@ -13,12 +13,11 @@
+ except:
+ README = ""
+ CHANGELOG = open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8').read()
+-VERSION = imp.load_source('version', os.path.join(here, 'src/%s/version.py' % PACKAGE_NAME)).__version__
+
+ from setuptools import setup, find_packages
+ setup(
+ name = proj_info['name'],
+- version = VERSION,
++ version = '0.4.1620',
+
+ author = proj_info['author'],
+ author_email = proj_info['author_email'],
diff --git a/network/you-get/you-get.SlackBuild b/network/you-get/you-get.SlackBuild
index ad58723991..076f6c5069 100644
--- a/network/you-get/you-get.SlackBuild
+++ b/network/you-get/you-get.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for you-get
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=you-get
-VERSION=${VERSION:-0.4.1500}
+VERSION=${VERSION:-0.4.1620}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +79,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/setup.patch
+
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -83,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/you-get/you-get.info b/network/you-get/you-get.info
index 8331c1e6fd..fbedbaacf5 100644
--- a/network/you-get/you-get.info
+++ b/network/you-get/you-get.info
@@ -1,10 +1,10 @@
PRGNAM="you-get"
-VERSION="0.4.1500"
+VERSION="0.4.1620"
HOMEPAGE="http://www.soimort.org/you-get/"
-DOWNLOAD="https://files.pythonhosted.org/packages/b3/eb/e24fa3352fa27e1be3b7f8b3d158a3b12f6ee294c09614eb61b5d85fa054/you-get-0.4.1500.tar.gz"
-MD5SUM="f1145217fc4a4f9407d24aa25a4828e8"
+DOWNLOAD="https://github.com/soimort/you-get/releases/download/v0.4.1620/you-get-0.4.1620.tar.gz"
+MD5SUM="98cba7d92ce5831b7eea5650f8eedf3f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/network/youtube-dl-gui/README b/network/youtube-dl-gui/README
index ee8c9b9b5b..e7373480c4 100644
--- a/network/youtube-dl-gui/README
+++ b/network/youtube-dl-gui/README
@@ -1 +1,2 @@
-A cross platform front-end GUI of the popular youtube-dl written in wxPython.
+A cross platform front-end GUI of the popular youtube-dl written in
+wxPython.
diff --git a/network/youtube-dl-gui/doinst.sh b/network/youtube-dl-gui/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/network/youtube-dl-gui/doinst.sh
+++ b/network/youtube-dl-gui/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/youtube-dl-gui/youtube-dl-gui.SlackBuild b/network/youtube-dl-gui/youtube-dl-gui.SlackBuild
index 7ee727270f..da5d45fc67 100644
--- a/network/youtube-dl-gui/youtube-dl-gui.SlackBuild
+++ b/network/youtube-dl-gui/youtube-dl-gui.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for youtube-dl-gui
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240331 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add gtk-update-icon-cache to doinst.sh.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=youtube-dl-gui
VERSION=${VERSION:-0.3.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/youtube-dl-gui/youtube-dl-gui.info b/network/youtube-dl-gui/youtube-dl-gui.info
index f1077c0794..2e5c85d627 100644
--- a/network/youtube-dl-gui/youtube-dl-gui.info
+++ b/network/youtube-dl-gui/youtube-dl-gui.info
@@ -1,7 +1,7 @@
PRGNAM="youtube-dl-gui"
VERSION="0.3.8"
HOMEPAGE="https://github.com/MrS0m30n3/youtube-dl-gui"
-DOWNLOAD="https://github.com/MrS0m30n3/youtube-dl-gui/archive/0.3.8.tar.gz"
+DOWNLOAD="https://github.com/MrS0m30n3/youtube-dl-gui/archive/0.3.8/youtube-dl-gui-0.3.8.tar.gz"
MD5SUM="ddd774b5a0b0abb8f21b5bba2a80139f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/network/youtube-dl-server/youtube-dl-server.SlackBuild b/network/youtube-dl-server/youtube-dl-server.SlackBuild
index d8debfacd5..4643daa0bf 100644
--- a/network/youtube-dl-server/youtube-dl-server.SlackBuild
+++ b/network/youtube-dl-server/youtube-dl-server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for youtube-dl-server
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=youtube-dl-server
SRCNAM=$(echo $PRGNAM | tr - _)
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,7 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -84,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/youtube-dl/README b/network/youtube-dl/README
index 523d072dda..28e3e9f8a6 100644
--- a/network/youtube-dl/README
+++ b/network/youtube-dl/README
@@ -4,5 +4,3 @@ interpreter, version 2.6, 2.7, or 3.2+, and it is not platform
specific. It should work on your Unix box, on Windows or on
Mac OS X. It is released to the public domain, which means you
can modify it, redistribute it or use it however you like.
-
-Optional dependency: python3
diff --git a/network/youtube-dl/doinst.sh b/network/youtube-dl/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/network/youtube-dl/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/network/youtube-dl/setup.patch b/network/youtube-dl/setup.patch
index 3d35bf5abb..8efe6fe530 100644
--- a/network/youtube-dl/setup.patch
+++ b/network/youtube-dl/setup.patch
@@ -1,5 +1,5 @@
---- youtube-dl-2018.06.25/setup.py.orig 2018-06-30 08:56:35.007072725 +0200
-+++ youtube-dl-2018.06.25/setup.py 2018-06-30 08:56:54.365073186 +0200
+--- youtube-dl-2021.12.17+20230618_07af47960/setup.py.orig 2023-06-20 20:26:26.955075970 +0300
++++ youtube-dl-2021.12.17+20230618_07af47960/setup.py 2023-06-20 20:40:25.308003694 +0300
@@ -59,10 +59,10 @@
params = py2exe_params
else:
@@ -8,7 +8,7 @@
- ('etc/fish/completions', ['youtube-dl.fish']),
- ('share/doc/youtube_dl', ['README.txt']),
- ('share/man/man1', ['youtube-dl.1'])
-+ ('/etc/bash_completion.d', ['youtube-dl.bash-completion']),
++ ('/usr/share/bash-completion/completions', ['youtube-dl.bash-completion']),
+ ('/etc/fish/completions', ['youtube-dl.fish']),
+ ('doc/youtube_dl', ['README.txt']),
+ ('man/man1', ['youtube-dl.1'])
diff --git a/network/youtube-dl/slack-desc b/network/youtube-dl/slack-desc
index 96f5c77fe3..29efeb4334 100644
--- a/network/youtube-dl/slack-desc
+++ b/network/youtube-dl/slack-desc
@@ -9,9 +9,9 @@
youtube-dl: youtube-dl (YouTube video download utility)
youtube-dl:
youtube-dl: youtube-dl is a small command-line program to download videos
-youtube-dl: from YouTube.com. It's licensed under the MIT License.
+youtube-dl: from YouTube.com and a few more sites.
youtube-dl:
-youtube-dl: Homepage: http://www.yt-dl.org/
+youtube-dl: Homepage: https://github.com/ytdl-org/youtube-dl
youtube-dl:
youtube-dl:
youtube-dl:
diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1
new file mode 100644
index 0000000000..9161f3b727
--- /dev/null
+++ b/network/youtube-dl/youtube-dl.1
@@ -0,0 +1,2522 @@
+.\" Automatically generated by Pandoc 3.1.3
+.\"
+.\" Define V font for inline verbatim, using C font in formats
+.\" that render this, and otherwise B font.
+.ie "\f[CB]x\f[]"x" \{\
+. ftr V B
+. ftr VI BI
+. ftr VB B
+. ftr VBI BI
+.\}
+.el \{\
+. ftr V CR
+. ftr VI CI
+. ftr VB CB
+. ftr VBI CBI
+.\}
+.TH "YOUTUBE-DL" "1" "" "" ""
+.hy
+.SH NAME
+.PP
+youtube-dl - download videos from youtube.com or other video platforms
+.SH SYNOPSIS
+.PP
+\f[B]youtube-dl\f[R] [OPTIONS] URL [URL\&...]
+.SH DESCRIPTION
+.PP
+\f[B]youtube-dl\f[R] is a command-line program to download videos from
+YouTube.com and a few more sites.
+It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is
+not platform specific.
+It should work on your Unix box, on Windows or on macOS.
+It is released to the public domain, which means you can modify it,
+redistribute it or use it however you like.
+.SH OPTIONS
+.TP
+-h, \[en]help
+Print this help text and exit
+.TP
+\[en]version
+Print program version and exit
+.TP
+-U, \[en]update
+Update this program to latest version.
+Make sure that you have sufficient permissions (run with sudo if needed)
+.TP
+-i, \[en]ignore-errors
+Continue on download errors, for example to skip unavailable videos in a
+playlist
+.TP
+\[en]abort-on-error
+Abort downloading of further videos (in the playlist or the command
+line) if an error occurs
+.TP
+\[en]dump-user-agent
+Display the current browser identification
+.TP
+\[en]list-extractors
+List all supported extractors
+.TP
+\[en]extractor-descriptions
+Output descriptions of all supported extractors
+.TP
+\[en]force-generic-extractor
+Force extraction to use the generic extractor
+.TP
+\[en]default-search \f[I]PREFIX\f[R]
+Use this prefix for unqualified URLs.
+For example \[lq]gvsearch2:\[rq] downloads two videos from google videos
+for youtube- dl \[lq]large apple\[rq].
+Use the value \[lq]auto\[rq] to let youtube-dl guess
+(\[lq]auto_warning\[rq] to emit a warning when guessing).
+\[lq]error\[rq] just throws an error.
+The default value \[lq]fixup_error\[rq] repairs broken URLs, but emits
+an error if this is not possible instead of searching.
+.TP
+\[en]ignore-config
+Do not read configuration files.
+When given in the global configuration file /etc/youtube-dl.conf: Do not
+read the user configuration in \[ti]/.config/youtube-dl/config
+(%APPDATA%/youtube-dl/config.txt on Windows)
+.TP
+\[en]config-location \f[I]PATH\f[R]
+Location of the configuration file; either the path to the config or its
+containing directory.
+.TP
+\[en]flat-playlist
+Do not extract the videos of a playlist, only list them.
+.TP
+\[en]mark-watched
+Mark videos watched (YouTube only)
+.TP
+\[en]no-mark-watched
+Do not mark videos watched (YouTube only)
+.TP
+\[en]no-color
+Do not emit color codes in output
+.SS Network Options:
+.TP
+\[en]proxy \f[I]URL\f[R]
+Use the specified HTTP/HTTPS/SOCKS proxy.
+To enable SOCKS proxy, specify a proper scheme.
+For example socks5://127.0.0.1:1080/.
+Pass in an empty string (\[en]proxy \[lq]\[lq]) for direct connection
+.TP
+\[en]socket-timeout \f[I]SECONDS\f[R]
+Time to wait before giving up, in seconds
+.TP
+\[en]source-address \f[I]IP\f[R]
+Client-side IP address to bind to
+.TP
+-4, \[en]force-ipv4
+Make all connections via IPv4
+.TP
+-6, \[en]force-ipv6
+Make all connections via IPv6
+.SS Geo Restriction:
+.TP
+\[en]geo-verification-proxy \f[I]URL\f[R]
+Use this proxy to verify the IP address for some geo-restricted sites.
+The default proxy specified by \[en]proxy (or none, if the option is not
+present) is used for the actual downloading.
+.TP
+\[en]geo-bypass
+Bypass geographic restriction via faking X-Forwarded-For HTTP header
+.TP
+\[en]no-geo-bypass
+Do not bypass geographic restriction via faking X-Forwarded-For HTTP
+header
+.TP
+\[en]geo-bypass-country \f[I]CODE\f[R]
+Force bypass geographic restriction with explicitly provided two-letter
+ISO 3166-2 country code
+.TP
+\[en]geo-bypass-ip-block \f[I]IP_BLOCK\f[R]
+Force bypass geographic restriction with explicitly provided IP block in
+CIDR notation
+.SS Video Selection:
+.TP
+\[en]playlist-start \f[I]NUMBER\f[R]
+Playlist video to start at (default is 1)
+.TP
+\[en]playlist-end \f[I]NUMBER\f[R]
+Playlist video to end at (default is last)
+.TP
+\[en]playlist-items \f[I]ITEM_SPEC\f[R]
+Playlist video items to download.
+Specify indices of the videos in the playlist separated by commas like:
+\[lq]\[en] playlist-items 1,2,5,8\[rq] if you want to download videos
+indexed 1, 2, 5, 8 in the playlist.
+You can specify range: \[rq] \[en]playlist-items 1-3,7,10-13\[rq], it
+will download the videos at index 1, 2, 3, 7, 10, 11, 12 and 13.
+.TP
+\[en]match-title \f[I]REGEX\f[R]
+Download only matching titles (regex or caseless sub-string)
+.TP
+\[en]reject-title \f[I]REGEX\f[R]
+Skip download for matching titles (regex or caseless sub-string)
+.TP
+\[en]max-downloads \f[I]NUMBER\f[R]
+Abort after downloading NUMBER files
+.TP
+\[en]min-filesize \f[I]SIZE\f[R]
+Do not download any videos smaller than SIZE (e.g.\ 50k or 44.6m)
+.TP
+\[en]max-filesize \f[I]SIZE\f[R]
+Do not download any videos larger than SIZE (e.g.\ 50k or 44.6m)
+.TP
+\[en]date \f[I]DATE\f[R]
+Download only videos uploaded in this date
+.TP
+\[en]datebefore \f[I]DATE\f[R]
+Download only videos uploaded on or before this date (i.e.\ inclusive)
+.TP
+\[en]dateafter \f[I]DATE\f[R]
+Download only videos uploaded on or after this date (i.e.\ inclusive)
+.TP
+\[en]min-views \f[I]COUNT\f[R]
+Do not download any videos with less than COUNT views
+.TP
+\[en]max-views \f[I]COUNT\f[R]
+Do not download any videos with more than COUNT views
+.TP
+\[en]match-filter \f[I]FILTER\f[R]
+Generic video filter.
+Specify any key (see the \[lq]OUTPUT TEMPLATE\[rq] for a list of
+available keys) to match if the key is present, !key to check if the key
+is not present, key > NUMBER (like \[lq]comment_count > 12\[rq], also
+works with >=, <, <=, !=, =) to compare against a number, key =
+`LITERAL' (like \[lq]uploader = `Mike Smith'\[rq], also works with !=)
+to match against a string literal and & to require multiple matches.
+Values which are not known are excluded unless you put a question mark
+(?)
+after the operator.
+For example, to only match videos that have been liked more than 100
+times and disliked less than 50 times (or the dislike functionality is
+not available at the given service), but who also have a description,
+use \[en]match-filter \[lq]like_count > 100 & dislike_count <?
+50 & description\[rq] .
+.TP
+\[en]no-playlist
+Download only the video, if the URL refers to a video and a playlist.
+.TP
+\[en]yes-playlist
+Download the playlist, if the URL refers to a video and a playlist.
+.TP
+\[en]age-limit \f[I]YEARS\f[R]
+Download only videos suitable for the given age
+.TP
+\[en]download-archive \f[I]FILE\f[R]
+Download only videos not listed in the archive file.
+Record the IDs of all downloaded videos in it.
+.TP
+\[en]include-ads
+Download advertisements as well (experimental)
+.SS Download Options:
+.TP
+-r, \[en]limit-rate \f[I]RATE\f[R]
+Maximum download rate in bytes per second (e.g.\ 50K or 4.2M)
+.TP
+-R, \[en]retries \f[I]RETRIES\f[R]
+Number of retries (default is 10), or \[lq]infinite\[rq].
+.TP
+\[en]fragment-retries \f[I]RETRIES\f[R]
+Number of retries for a fragment (default is 10), or \[lq]infinite\[rq]
+(DASH, hlsnative and ISM)
+.TP
+\[en]skip-unavailable-fragments
+Skip unavailable fragments (DASH, hlsnative and ISM)
+.TP
+\[en]abort-on-unavailable-fragment
+Abort downloading when some fragment is not available
+.TP
+\[en]keep-fragments
+Keep downloaded fragments on disk after downloading is finished;
+fragments are erased by default
+.TP
+\[en]buffer-size \f[I]SIZE\f[R]
+Size of download buffer (e.g.\ 1024 or 16K) (default is 1024)
+.TP
+\[en]no-resize-buffer
+Do not automatically adjust the buffer size.
+By default, the buffer size is automatically resized from an initial
+value of SIZE.
+.TP
+\[en]http-chunk-size \f[I]SIZE\f[R]
+Size of a chunk for chunk-based HTTP downloading (e.g.\ 10485760 or 10M)
+(default is disabled).
+May be useful for bypassing bandwidth throttling imposed by a webserver
+(experimental)
+.TP
+\[en]playlist-reverse
+Download playlist videos in reverse order
+.TP
+\[en]playlist-random
+Download playlist videos in random order
+.TP
+\[en]xattr-set-filesize
+Set file xattribute ytdl.filesize with expected file size
+.TP
+\[en]hls-prefer-native
+Use the native HLS downloader instead of ffmpeg
+.TP
+\[en]hls-prefer-ffmpeg
+Use ffmpeg instead of the native HLS downloader
+.TP
+\[en]hls-use-mpegts
+Use the mpegts container for HLS videos, allowing to play the video
+while downloading (some players may not be able to play it)
+.TP
+\[en]external-downloader \f[I]COMMAND\f[R]
+Use the specified external downloader.
+Currently supports aria2c,avconv,axel,c url,ffmpeg,httpie,wget
+.TP
+\[en]external-downloader-args \f[I]ARGS\f[R]
+Give these arguments to the external downloader
+.SS Filesystem Options:
+.TP
+-a, \[en]batch-file \f[I]FILE\f[R]
+File containing URLs to download (`-' for stdin), one URL per line.
+Lines starting with `#', `;' or `]' are considered as comments and
+ignored.
+.TP
+\[en]id
+Use only video ID in file name
+.TP
+-o, \[en]output \f[I]TEMPLATE\f[R]
+Output filename template, see the \[lq]OUTPUT TEMPLATE\[rq] for all the
+info
+.TP
+\[en]output-na-placeholder \f[I]PLACEHOLDER\f[R]
+Placeholder value for unavailable meta fields in output filename
+template (default is \[lq]NA\[rq])
+.TP
+\[en]autonumber-start \f[I]NUMBER\f[R]
+Specify the start value for %(autonumber)s (default is 1)
+.TP
+\[en]restrict-filenames
+Restrict filenames to only ASCII characters, and avoid \[lq]&\[rq] and
+spaces in filenames
+.TP
+-w, \[en]no-overwrites
+Do not overwrite files
+.TP
+-c, \[en]continue
+Force resume of partially downloaded files.
+By default, youtube-dl will resume downloads if possible.
+.TP
+\[en]no-continue
+Do not resume partially downloaded files (restart from beginning)
+.TP
+\[en]no-part
+Do not use .part files - write directly into output file
+.TP
+\[en]no-mtime
+Do not use the Last-modified header to set the file modification time
+.TP
+\[en]write-description
+Write video description to a .description file
+.TP
+\[en]write-info-json
+Write video metadata to a .info.json file
+.TP
+\[en]write-annotations
+Write video annotations to a .annotations.xml file
+.TP
+\[en]load-info-json \f[I]FILE\f[R]
+JSON file containing the video information (created with the
+\[lq]\[en]write- info-json\[rq] option)
+.TP
+\[en]cookies \f[I]FILE\f[R]
+File to read cookies from and dump cookie jar in
+.TP
+\[en]cache-dir \f[I]DIR\f[R]
+Location in the filesystem where youtube-dl can store some downloaded
+information permanently.
+By default $XDG_CACHE_HOME/youtube-dl or \[ti]/.cache/youtube-dl .
+At the moment, only YouTube player files (for videos with obfuscated
+signatures) are cached, but that may change.
+.TP
+\[en]no-cache-dir
+Disable filesystem caching
+.TP
+\[en]rm-cache-dir
+Delete all filesystem cache files
+.SS Thumbnail Options:
+.TP
+\[en]write-thumbnail
+Write thumbnail image to disk
+.TP
+\[en]write-all-thumbnails
+Write all thumbnail image formats to disk
+.TP
+\[en]list-thumbnails
+Simulate and list all available thumbnail formats
+.SS Verbosity / Simulation Options:
+.TP
+-q, \[en]quiet
+Activate quiet mode
+.TP
+\[en]no-warnings
+Ignore warnings
+.TP
+-s, \[en]simulate
+Do not download the video and do not write anything to disk
+.TP
+\[en]skip-download
+Do not download the video
+.TP
+-g, \[en]get-url
+Simulate, quiet but print URL
+.TP
+-e, \[en]get-title
+Simulate, quiet but print title
+.TP
+\[en]get-id
+Simulate, quiet but print id
+.TP
+\[en]get-thumbnail
+Simulate, quiet but print thumbnail URL
+.TP
+\[en]get-description
+Simulate, quiet but print video description
+.TP
+\[en]get-duration
+Simulate, quiet but print video length
+.TP
+\[en]get-filename
+Simulate, quiet but print output filename
+.TP
+\[en]get-format
+Simulate, quiet but print output format
+.TP
+-j, \[en]dump-json
+Simulate, quiet but print JSON information.
+See the \[lq]OUTPUT TEMPLATE\[rq] for a description of available keys.
+.TP
+-J, \[en]dump-single-json
+Simulate, quiet but print JSON information for each command-line
+argument.
+If the URL refers to a playlist, dump the whole playlist information in
+a single line.
+.TP
+\[en]print-json
+Be quiet and print the video information as JSON (video is still being
+downloaded).
+.TP
+\[en]newline
+Output progress bar as new lines
+.TP
+\[en]no-progress
+Do not print progress bar
+.TP
+\[en]console-title
+Display progress in console titlebar
+.TP
+-v, \[en]verbose
+Print various debugging information
+.TP
+\[en]dump-pages
+Print downloaded pages encoded using base64 to debug problems (very
+verbose)
+.TP
+\[en]write-pages
+Write downloaded intermediary pages to files in the current directory to
+debug problems
+.TP
+\[en]print-traffic
+Display sent and read HTTP traffic
+.TP
+-C, \[en]call-home
+Contact the youtube-dl server for debugging
+.TP
+\[en]no-call-home
+Do NOT contact the youtube-dl server for debugging
+.SS Workarounds:
+.TP
+\[en]encoding \f[I]ENCODING\f[R]
+Force the specified encoding (experimental)
+.TP
+\[en]no-check-certificate
+Suppress HTTPS certificate validation
+.TP
+\[en]prefer-insecure
+Use an unencrypted connection to retrieve information about the video.
+(Currently supported only for YouTube)
+.TP
+\[en]user-agent \f[I]UA\f[R]
+Specify a custom user agent
+.TP
+\[en]referer \f[I]URL\f[R]
+Specify a custom referer, use if the video access is restricted to one
+domain
+.TP
+\[en]add-header \f[I]FIELD:VALUE\f[R]
+Specify a custom HTTP header and its value, separated by a colon `:'.
+You can use this option multiple times
+.TP
+\[en]bidi-workaround
+Work around terminals that lack bidirectional text support.
+Requires bidiv or fribidi executable in PATH
+.TP
+\[en]sleep-interval \f[I]SECONDS\f[R]
+Number of seconds to sleep before each download when used alone or a
+lower bound of a range for randomized sleep before each download
+(minimum possible number of seconds to sleep) when used along with
+\[en]max-sleep-interval.
+.TP
+\[en]max-sleep-interval \f[I]SECONDS\f[R]
+Upper bound of a range for randomized sleep before each download
+(maximum possible number of seconds to sleep).
+Must only be used along with \[en]min- sleep-interval.
+.SS Video Format Options:
+.TP
+-f, \[en]format \f[I]FORMAT\f[R]
+Video format code, see the \[lq]FORMAT SELECTION\[rq] for all the info
+.TP
+\[en]all-formats
+Download all available video formats
+.TP
+\[en]prefer-free-formats
+Prefer free video formats unless a specific one is requested
+.TP
+-F, \[en]list-formats
+List all available formats of requested videos
+.TP
+\[en]youtube-skip-dash-manifest
+Do not download the DASH manifests and related data on YouTube videos
+.TP
+\[en]merge-output-format \f[I]FORMAT\f[R]
+If a merge is required (e.g.
+bestvideo+bestaudio), output to given container format.
+One of mkv, mp4, ogg, webm, flv.
+Ignored if no merge is required
+.SS Subtitle Options:
+.TP
+\[en]write-sub
+Write subtitle file
+.TP
+\[en]write-auto-sub
+Write automatically generated subtitle file (YouTube only)
+.TP
+\[en]all-subs
+Download all the available subtitles of the video
+.TP
+\[en]list-subs
+List all available subtitles for the video
+.TP
+\[en]sub-format \f[I]FORMAT\f[R]
+Subtitle format, accepts formats preference, for example: \[lq]srt\[rq]
+or \[lq]ass/srt/best\[rq]
+.TP
+\[en]sub-lang \f[I]LANGS\f[R]
+Languages of the subtitles to download (optional) separated by commas,
+use \[en]list-subs for available language tags
+.SS Authentication Options:
+.TP
+-u, \[en]username \f[I]USERNAME\f[R]
+Login with this account ID
+.TP
+-p, \[en]password \f[I]PASSWORD\f[R]
+Account password.
+If this option is left out, youtube-dl will ask interactively.
+.TP
+-2, \[en]twofactor \f[I]TWOFACTOR\f[R]
+Two-factor authentication code
+.TP
+-n, \[en]netrc
+Use .netrc authentication data
+.TP
+\[en]video-password \f[I]PASSWORD\f[R]
+Video password (vimeo, youku)
+.SS Adobe Pass Options:
+.TP
+\[en]ap-mso \f[I]MSO\f[R]
+Adobe Pass multiple-system operator (TV provider) identifier, use
+\[en]ap-list-mso for a list of available MSOs
+.TP
+\[en]ap-username \f[I]USERNAME\f[R]
+Multiple-system operator account login
+.TP
+\[en]ap-password \f[I]PASSWORD\f[R]
+Multiple-system operator account password.
+If this option is left out, youtube-dl will ask interactively.
+.TP
+\[en]ap-list-mso
+List all supported multiple-system operators
+.SS Post-processing Options:
+.TP
+-x, \[en]extract-audio
+Convert video files to audio-only files (requires ffmpeg/avconv and
+ffprobe/avprobe)
+.TP
+\[en]audio-format \f[I]FORMAT\f[R]
+Specify audio format: \[lq]best\[rq], \[lq]aac\[rq], \[lq]flac\[rq],
+\[lq]mp3\[rq], \[lq]m4a\[rq], \[lq]opus\[rq], \[lq]vorbis\[rq], or
+\[lq]wav\[rq]; \[lq]best\[rq] by default; No effect without -x
+.TP
+\[en]audio-quality \f[I]QUALITY\f[R]
+Specify ffmpeg/avconv audio quality, insert a value between 0 (better)
+and 9 (worse) for VBR or a specific bitrate like 128K (default 5)
+.TP
+\[en]recode-video \f[I]FORMAT\f[R]
+Encode the video to another format if necessary (currently supported:
+mp4|flv|ogg|webm|mkv|avi)
+.TP
+\[en]postprocessor-args \f[I]ARGS\f[R]
+Give these arguments to the postprocessor
+.TP
+-k, \[en]keep-video
+Keep the video file on disk after the post-processing; the video is
+erased by default
+.TP
+\[en]no-post-overwrites
+Do not overwrite post-processed files; the post-processed files are
+overwritten by default
+.TP
+\[en]embed-subs
+Embed subtitles in the video (only for mp4, webm and mkv videos)
+.TP
+\[en]embed-thumbnail
+Embed thumbnail in the audio as cover art
+.TP
+\[en]add-metadata
+Write metadata to the video file
+.TP
+\[en]metadata-from-title \f[I]FORMAT\f[R]
+Parse additional metadata like song title / artist from the video title.
+The format syntax is the same as \[en]output.
+Regular expression with named capture groups may also be used.
+The parsed parameters replace existing values.
+Example: \[en]metadata-from-title \[lq]%(artist)s - %(title)s\[rq]
+matches a title like \[lq]Coldplay - Paradise\[rq].
+Example (regex): \[en]metadata-from-title \[lq](?P.+?)
+- (?P
+.RS
+\&.+)\[rq]
+.RE
+.TP
+\[en]xattrs
+Write metadata to the video file\[cq]s xattrs (using dublin core and xdg
+standards)
+.TP
+\[en]fixup \f[I]POLICY\f[R]
+Automatically correct known faults of the file.
+One of never (do nothing), warn (only emit a warning), detect_or_warn
+(the default; fix file if we can, warn otherwise)
+.TP
+\[en]prefer-avconv
+Prefer avconv over ffmpeg for running the postprocessors
+.TP
+\[en]prefer-ffmpeg
+Prefer ffmpeg over avconv for running the postprocessors (default)
+.TP
+\[en]ffmpeg-location \f[I]PATH\f[R]
+Location of the ffmpeg/avconv binary; either the path to the binary or
+its containing directory.
+.TP
+\[en]exec \f[I]CMD\f[R]
+Execute a command on the file after downloading and post-processing,
+similar to find\[cq]s -exec syntax.
+Example: \[en]exec `adb push {} /sdcard/Music/ && rm {}'
+.TP
+\[en]convert-subs \f[I]FORMAT\f[R]
+Convert the subtitles to other format (currently supported:
+srt|ass|vtt|lrc)
+.SH CONFIGURATION
+.PP
+You can configure youtube-dl by placing any supported command line
+option to a configuration file.
+On Linux and macOS, the system wide configuration file is located at
+\f[V]/etc/youtube-dl.conf\f[R] and the user wide configuration file at
+\f[V]\[ti]/.config/youtube-dl/config\f[R].
+On Windows, the user wide configuration file locations are
+\f[V]%APPDATA%\[rs]youtube-dl\[rs]config.txt\f[R] or
+\f[V]C:\[rs]Users\[rs]<user name>\[rs]youtube-dl.conf\f[R].
+Note that by default configuration file may not exist so you may need to
+create it yourself.
+.PP
+For example, with the following configuration file youtube-dl will
+always extract the audio, not copy the mtime, use a proxy and save all
+videos under \f[V]Movies\f[R] directory in your home directory:
+.IP
+.nf
+\f[C]
+# Lines starting with # are comments
+
+# Always extract audio
+-x
+
+# Do not copy the mtime
+--no-mtime
+
+# Use this proxy
+--proxy 127.0.0.1:3128
+
+# Save all videos under Movies directory in your home directory
+-o \[ti]/Movies/%(title)s.%(ext)s
+\f[R]
+.fi
+.PP
+Note that options in configuration file are just the same options aka
+switches used in regular command line calls thus there \f[B]must be no
+whitespace\f[R] after \f[V]-\f[R] or \f[V]--\f[R], e.g.\ \f[V]-o\f[R] or
+\f[V]--proxy\f[R] but not \f[V]- o\f[R] or \f[V]-- proxy\f[R].
+.PP
+You can use \f[V]--ignore-config\f[R] if you want to disable the
+configuration file for a particular youtube-dl run.
+.PP
+You can also use \f[V]--config-location\f[R] if you want to use custom
+configuration file for a particular youtube-dl run.
+.SS Authentication with \f[V].netrc\f[R] file
+.PP
+You may also want to configure automatic credentials storage for
+extractors that support authentication (by providing login and password
+with \f[V]--username\f[R] and \f[V]--password\f[R]) in order not to pass
+credentials as command line arguments on every youtube-dl execution and
+prevent tracking plain text passwords in the shell command history.
+You can achieve this using a \f[V].netrc\f[R]
+file (https://stackoverflow.com/tags/.netrc/info) on a per extractor
+basis.
+For that you will need to create a \f[V].netrc\f[R] file in your
+\f[V]$HOME\f[R] and restrict permissions to read/write by only you:
+.IP
+.nf
+\f[C]
+touch $HOME/.netrc
+chmod a-rwx,u+rw $HOME/.netrc
+\f[R]
+.fi
+.PP
+After that you can add credentials for an extractor in the following
+format, where \f[I]extractor\f[R] is the name of the extractor in
+lowercase:
+.IP
+.nf
+\f[C]
+machine <extractor> login <login> password <password>
+\f[R]
+.fi
+.PP
+For example:
+.IP
+.nf
+\f[C]
+machine youtube login myaccount\[at]gmail.com password my_youtube_password
+machine twitch login my_twitch_account_name password my_twitch_password
+\f[R]
+.fi
+.PP
+To activate authentication with the \f[V].netrc\f[R] file you should
+pass \f[V]--netrc\f[R] to youtube-dl or place it in the configuration
+file.
+.PP
+On Windows you may also need to setup the \f[V]%HOME%\f[R] environment
+variable manually.
+For example:
+.IP
+.nf
+\f[C]
+set HOME=%USERPROFILE%
+\f[R]
+.fi
+.SH OUTPUT TEMPLATE
+.PP
+The \f[V]-o\f[R] option allows users to indicate a template for the
+output file names.
+.PP
+\f[B]tl;dr:\f[R] navigate me to examples.
+.PP
+The basic usage is not to set any template arguments when downloading a
+single file, like in
+\f[V]youtube-dl -o funny_video.flv \[dq]https://some/video\[dq]\f[R].
+However, it may contain special sequences that will be replaced when
+downloading each video.
+The special sequences may be formatted according to python string
+formatting
+operations (https://docs.python.org/2/library/stdtypes.html#string-formatting).
+For example, \f[V]%(NAME)s\f[R] or \f[V]%(NAME)05d\f[R].
+To clarify, that is a percent symbol followed by a name in parentheses,
+followed by formatting operations.
+Allowed names along with sequence type are:
+.IP \[bu] 2
+\f[V]id\f[R] (string): Video identifier
+.IP \[bu] 2
+\f[V]title\f[R] (string): Video title
+.IP \[bu] 2
+\f[V]url\f[R] (string): Video URL
+.IP \[bu] 2
+\f[V]ext\f[R] (string): Video filename extension
+.IP \[bu] 2
+\f[V]alt_title\f[R] (string): A secondary title of the video
+.IP \[bu] 2
+\f[V]display_id\f[R] (string): An alternative identifier for the video
+.IP \[bu] 2
+\f[V]uploader\f[R] (string): Full name of the video uploader
+.IP \[bu] 2
+\f[V]license\f[R] (string): License name the video is licensed under
+.IP \[bu] 2
+\f[V]creator\f[R] (string): The creator of the video
+.IP \[bu] 2
+\f[V]release_date\f[R] (string): The date (YYYYMMDD) when the video was
+released
+.IP \[bu] 2
+\f[V]timestamp\f[R] (numeric): UNIX timestamp of the moment the video
+became available
+.IP \[bu] 2
+\f[V]upload_date\f[R] (string): Video upload date (YYYYMMDD)
+.IP \[bu] 2
+\f[V]uploader_id\f[R] (string): Nickname or id of the video uploader
+.IP \[bu] 2
+\f[V]channel\f[R] (string): Full name of the channel the video is
+uploaded on
+.IP \[bu] 2
+\f[V]channel_id\f[R] (string): Id of the channel
+.IP \[bu] 2
+\f[V]location\f[R] (string): Physical location where the video was
+filmed
+.IP \[bu] 2
+\f[V]duration\f[R] (numeric): Length of the video in seconds
+.IP \[bu] 2
+\f[V]view_count\f[R] (numeric): How many users have watched the video on
+the platform
+.IP \[bu] 2
+\f[V]like_count\f[R] (numeric): Number of positive ratings of the video
+.IP \[bu] 2
+\f[V]dislike_count\f[R] (numeric): Number of negative ratings of the
+video
+.IP \[bu] 2
+\f[V]repost_count\f[R] (numeric): Number of reposts of the video
+.IP \[bu] 2
+\f[V]average_rating\f[R] (numeric): Average rating give by users, the
+scale used depends on the webpage
+.IP \[bu] 2
+\f[V]comment_count\f[R] (numeric): Number of comments on the video
+.IP \[bu] 2
+\f[V]age_limit\f[R] (numeric): Age restriction for the video (years)
+.IP \[bu] 2
+\f[V]is_live\f[R] (boolean): Whether this video is a live stream or a
+fixed-length video
+.IP \[bu] 2
+\f[V]start_time\f[R] (numeric): Time in seconds where the reproduction
+should start, as specified in the URL
+.IP \[bu] 2
+\f[V]end_time\f[R] (numeric): Time in seconds where the reproduction
+should end, as specified in the URL
+.IP \[bu] 2
+\f[V]format\f[R] (string): A human-readable description of the format
+.IP \[bu] 2
+\f[V]format_id\f[R] (string): Format code specified by
+\f[V]--format\f[R]
+.IP \[bu] 2
+\f[V]format_note\f[R] (string): Additional info about the format
+.IP \[bu] 2
+\f[V]width\f[R] (numeric): Width of the video
+.IP \[bu] 2
+\f[V]height\f[R] (numeric): Height of the video
+.IP \[bu] 2
+\f[V]resolution\f[R] (string): Textual description of width and height
+.IP \[bu] 2
+\f[V]tbr\f[R] (numeric): Average bitrate of audio and video in KBit/s
+.IP \[bu] 2
+\f[V]abr\f[R] (numeric): Average audio bitrate in KBit/s
+.IP \[bu] 2
+\f[V]acodec\f[R] (string): Name of the audio codec in use
+.IP \[bu] 2
+\f[V]asr\f[R] (numeric): Audio sampling rate in Hertz
+.IP \[bu] 2
+\f[V]vbr\f[R] (numeric): Average video bitrate in KBit/s
+.IP \[bu] 2
+\f[V]fps\f[R] (numeric): Frame rate
+.IP \[bu] 2
+\f[V]vcodec\f[R] (string): Name of the video codec in use
+.IP \[bu] 2
+\f[V]container\f[R] (string): Name of the container format
+.IP \[bu] 2
+\f[V]filesize\f[R] (numeric): The number of bytes, if known in advance
+.IP \[bu] 2
+\f[V]filesize_approx\f[R] (numeric): An estimate for the number of bytes
+.IP \[bu] 2
+\f[V]protocol\f[R] (string): The protocol that will be used for the
+actual download
+.IP \[bu] 2
+\f[V]extractor\f[R] (string): Name of the extractor
+.IP \[bu] 2
+\f[V]extractor_key\f[R] (string): Key name of the extractor
+.IP \[bu] 2
+\f[V]epoch\f[R] (numeric): Unix epoch when creating the file
+.IP \[bu] 2
+\f[V]autonumber\f[R] (numeric): Number that will be increased with each
+download, starting at \f[V]--autonumber-start\f[R]
+.IP \[bu] 2
+\f[V]playlist\f[R] (string): Name or id of the playlist that contains
+the video
+.IP \[bu] 2
+\f[V]playlist_index\f[R] (numeric): Index of the video in the playlist
+padded with leading zeros according to the total length of the playlist
+.IP \[bu] 2
+\f[V]playlist_id\f[R] (string): Playlist identifier
+.IP \[bu] 2
+\f[V]playlist_title\f[R] (string): Playlist title
+.IP \[bu] 2
+\f[V]playlist_uploader\f[R] (string): Full name of the playlist uploader
+.IP \[bu] 2
+\f[V]playlist_uploader_id\f[R] (string): Nickname or id of the playlist
+uploader
+.PP
+Available for the video that belongs to some logical chapter or section:
+.IP \[bu] 2
+\f[V]chapter\f[R] (string): Name or title of the chapter the video
+belongs to
+.IP \[bu] 2
+\f[V]chapter_number\f[R] (numeric): Number of the chapter the video
+belongs to
+.IP \[bu] 2
+\f[V]chapter_id\f[R] (string): Id of the chapter the video belongs to
+.PP
+Available for the video that is an episode of some series or programme:
+.IP \[bu] 2
+\f[V]series\f[R] (string): Title of the series or programme the video
+episode belongs to
+.IP \[bu] 2
+\f[V]season\f[R] (string): Title of the season the video episode belongs
+to
+.IP \[bu] 2
+\f[V]season_number\f[R] (numeric): Number of the season the video
+episode belongs to
+.IP \[bu] 2
+\f[V]season_id\f[R] (string): Id of the season the video episode belongs
+to
+.IP \[bu] 2
+\f[V]episode\f[R] (string): Title of the video episode
+.IP \[bu] 2
+\f[V]episode_number\f[R] (numeric): Number of the video episode within a
+season
+.IP \[bu] 2
+\f[V]episode_id\f[R] (string): Id of the video episode
+.PP
+Available for the media that is a track or a part of a music album:
+.IP \[bu] 2
+\f[V]track\f[R] (string): Title of the track
+.IP \[bu] 2
+\f[V]track_number\f[R] (numeric): Number of the track within an album or
+a disc
+.IP \[bu] 2
+\f[V]track_id\f[R] (string): Id of the track
+.IP \[bu] 2
+\f[V]artist\f[R] (string): Artist(s) of the track
+.IP \[bu] 2
+\f[V]genre\f[R] (string): Genre(s) of the track
+.IP \[bu] 2
+\f[V]album\f[R] (string): Title of the album the track belongs to
+.IP \[bu] 2
+\f[V]album_type\f[R] (string): Type of the album
+.IP \[bu] 2
+\f[V]album_artist\f[R] (string): List of all artists appeared on the
+album
+.IP \[bu] 2
+\f[V]disc_number\f[R] (numeric): Number of the disc or other physical
+medium the track belongs to
+.IP \[bu] 2
+\f[V]release_year\f[R] (numeric): Year (YYYY) when the album was
+released
+.PP
+Each aforementioned sequence when referenced in an output template will
+be replaced by the actual value corresponding to the sequence name.
+Note that some of the sequences are not guaranteed to be present since
+they depend on the metadata obtained by a particular extractor.
+Such sequences will be replaced with placeholder value provided with
+\f[V]--output-na-placeholder\f[R] (\f[V]NA\f[R] by default).
+.PP
+For example for \f[V]-o %(title)s-%(id)s.%(ext)s\f[R] and an mp4 video
+with title \f[V]youtube-dl test video\f[R] and id
+\f[V]BaW_jenozKcj\f[R], this will result in a
+\f[V]youtube-dl test video-BaW_jenozKcj.mp4\f[R] file created in the
+current directory.
+.PP
+For numeric sequences you can use numeric related formatting, for
+example, \f[V]%(view_count)05d\f[R] will result in a string with view
+count padded with zeros up to 5 characters, like in \f[V]00042\f[R].
+.PP
+Output templates can also contain arbitrary hierarchical path,
+e.g.\ \f[V]-o \[aq]%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s\[aq]\f[R]
+which will result in downloading each video in a directory corresponding
+to this path template.
+Any missing directory will be automatically created for you.
+.PP
+To use percent literals in an output template use \f[V]%%\f[R].
+To output to stdout use \f[V]-o -\f[R].
+.PP
+The current default template is \f[V]%(title)s-%(id)s.%(ext)s\f[R].
+.PP
+In some cases, you don\[cq]t want special characters such as 中, spaces,
+or &, such as when transferring the downloaded filename to a Windows
+system or the filename through an 8bit-unsafe channel.
+In these cases, add the \f[V]--restrict-filenames\f[R] flag to get a
+shorter title.
+.SS Output template and Windows batch files
+.PP
+If you are using an output template inside a Windows batch file then you
+must escape plain percent characters (\f[V]%\f[R]) by doubling, so that
+\f[V]-o \[dq]%(title)s-%(id)s.%(ext)s\[dq]\f[R] should become
+\f[V]-o \[dq]%%(title)s-%%(id)s.%%(ext)s\[dq]\f[R].
+However you should not touch \f[V]%\f[R]\[cq]s that are not plain
+characters, e.g.\ environment variables for expansion should stay
+intact:
+\f[V]-o \[dq]C:\[rs]%HOMEPATH%\[rs]Desktop\[rs]%%(title)s.%%(ext)s\[dq]\f[R].
+.SS Output template examples
+.PP
+Note that on Windows you may need to use double quotes instead of
+single.
+.IP
+.nf
+\f[C]
+$ youtube-dl --get-filename -o \[aq]%(title)s.%(ext)s\[aq] BaW_jenozKc
+youtube-dl test video \[aq]\[aq]_ä↭𝕐.mp4 # All kinds of weird characters
+
+$ youtube-dl --get-filename -o \[aq]%(title)s.%(ext)s\[aq] BaW_jenozKc --restrict-filenames
+youtube-dl_test_video_.mp4 # A simple file name
+
+# Download YouTube playlist videos in separate directory indexed by video order in a playlist
+$ youtube-dl -o \[aq]%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s\[aq] https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re
+
+# Download all playlists of YouTube channel/user keeping each playlist in separate directory:
+$ youtube-dl -o \[aq]%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s\[aq] https://www.youtube.com/user/TheLinuxFoundation/playlists
+
+# Download Udemy course keeping each chapter in separate directory under MyVideos directory in your home
+$ youtube-dl -u user -p password -o \[aq]\[ti]/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s\[aq] https://www.udemy.com/java-tutorial/
+
+# Download entire series season keeping each series and each season in separate directory under C:/MyVideos
+$ youtube-dl -o \[dq]C:/MyVideos/%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s\[dq] https://videomore.ru/kino_v_detalayah/5_sezon/367617
+
+# Stream the video being downloaded to stdout
+$ youtube-dl -o - BaW_jenozKc
+\f[R]
+.fi
+.SH FORMAT SELECTION
+.PP
+By default youtube-dl tries to download the best available quality,
+i.e.\ if you want the best quality you \f[B]don\[cq]t need\f[R] to pass
+any special options, youtube-dl will guess it for you by
+\f[B]default\f[R].
+.PP
+But sometimes you may want to download in a different format, for
+example when you are on a slow or intermittent connection.
+The key mechanism for achieving this is so-called \f[I]format
+selection\f[R] based on which you can explicitly specify desired format,
+select formats based on some criterion or criteria, setup precedence and
+much more.
+.PP
+The general syntax for format selection is \f[V]--format FORMAT\f[R] or
+shorter \f[V]-f FORMAT\f[R] where \f[V]FORMAT\f[R] is a \f[I]selector
+expression\f[R], i.e.\ an expression that describes format or formats
+you would like to download.
+.PP
+\f[B]tl;dr:\f[R] navigate me to examples.
+.PP
+The simplest case is requesting a specific format, for example with
+\f[V]-f 22\f[R] you can download the format with format code equal to
+22.
+You can get the list of available format codes for particular video
+using \f[V]--list-formats\f[R] or \f[V]-F\f[R].
+Note that these format codes are extractor specific.
+.PP
+You can also use a file extension (currently \f[V]3gp\f[R],
+\f[V]aac\f[R], \f[V]flv\f[R], \f[V]m4a\f[R], \f[V]mp3\f[R],
+\f[V]mp4\f[R], \f[V]ogg\f[R], \f[V]wav\f[R], \f[V]webm\f[R] are
+supported) to download the best quality format of a particular file
+extension served as a single file, e.g.\ \f[V]-f webm\f[R] will download
+the best quality format with the \f[V]webm\f[R] extension served as a
+single file.
+.PP
+You can also use special names to select particular edge case formats:
+.IP \[bu] 2
+\f[V]best\f[R]: Select the best quality format represented by a single
+file with video and audio.
+.IP \[bu] 2
+\f[V]worst\f[R]: Select the worst quality format represented by a single
+file with video and audio.
+.IP \[bu] 2
+\f[V]bestvideo\f[R]: Select the best quality video-only format
+(e.g.\ DASH video).
+May not be available.
+.IP \[bu] 2
+\f[V]worstvideo\f[R]: Select the worst quality video-only format.
+May not be available.
+.IP \[bu] 2
+\f[V]bestaudio\f[R]: Select the best quality audio only-format.
+May not be available.
+.IP \[bu] 2
+\f[V]worstaudio\f[R]: Select the worst quality audio only-format.
+May not be available.
+.PP
+For example, to download the worst quality video-only format you can use
+\f[V]-f worstvideo\f[R].
+.PP
+If you want to download multiple videos and they don\[cq]t have the same
+formats available, you can specify the order of preference using
+slashes.
+Note that slash is left-associative, i.e.\ formats on the left hand side
+are preferred, for example \f[V]-f 22/17/18\f[R] will download format 22
+if it\[cq]s available, otherwise it will download format 17 if it\[cq]s
+available, otherwise it will download format 18 if it\[cq]s available,
+otherwise it will complain that no suitable formats are available for
+download.
+.PP
+If you want to download several formats of the same video use a comma as
+a separator, e.g.\ \f[V]-f 22,17,18\f[R] will download all these three
+formats, of course if they are available.
+Or a more sophisticated example combined with the precedence feature:
+\f[V]-f 136/137/mp4/bestvideo,140/m4a/bestaudio\f[R].
+.PP
+You can also filter the video formats by putting a condition in
+brackets, as in \f[V]-f \[dq]best[height=720]\[dq]\f[R] (or
+\f[V]-f \[dq][filesize>10M]\[dq]\f[R]).
+.PP
+The following numeric meta fields can be used with comparisons
+\f[V]<\f[R], \f[V]<=\f[R], \f[V]>\f[R], \f[V]>=\f[R], \f[V]=\f[R]
+(equals), \f[V]!=\f[R] (not equals):
+.IP \[bu] 2
+\f[V]filesize\f[R]: The number of bytes, if known in advance
+.IP \[bu] 2
+\f[V]width\f[R]: Width of the video, if known
+.IP \[bu] 2
+\f[V]height\f[R]: Height of the video, if known
+.IP \[bu] 2
+\f[V]tbr\f[R]: Average bitrate of audio and video in KBit/s
+.IP \[bu] 2
+\f[V]abr\f[R]: Average audio bitrate in KBit/s
+.IP \[bu] 2
+\f[V]vbr\f[R]: Average video bitrate in KBit/s
+.IP \[bu] 2
+\f[V]asr\f[R]: Audio sampling rate in Hertz
+.IP \[bu] 2
+\f[V]fps\f[R]: Frame rate
+.PP
+Also filtering work for comparisons \f[V]=\f[R] (equals),
+\f[V]\[ha]=\f[R] (starts with), \f[V]$=\f[R] (ends with), \f[V]*=\f[R]
+(contains) and following string meta fields:
+.IP \[bu] 2
+\f[V]ext\f[R]: File extension
+.IP \[bu] 2
+\f[V]acodec\f[R]: Name of the audio codec in use
+.IP \[bu] 2
+\f[V]vcodec\f[R]: Name of the video codec in use
+.IP \[bu] 2
+\f[V]container\f[R]: Name of the container format
+.IP \[bu] 2
+\f[V]protocol\f[R]: The protocol that will be used for the actual
+download, lower-case (\f[V]http\f[R], \f[V]https\f[R], \f[V]rtsp\f[R],
+\f[V]rtmp\f[R], \f[V]rtmpe\f[R], \f[V]mms\f[R], \f[V]f4m\f[R],
+\f[V]ism\f[R], \f[V]http_dash_segments\f[R], \f[V]m3u8\f[R], or
+\f[V]m3u8_native\f[R])
+.IP \[bu] 2
+\f[V]format_id\f[R]: A short description of the format
+.IP \[bu] 2
+\f[V]language\f[R]: Language code
+.PP
+Any string comparison may be prefixed with negation \f[V]!\f[R] in order
+to produce an opposite comparison, e.g.\ \f[V]!*=\f[R] (does not
+contain).
+.PP
+Note that none of the aforementioned meta fields are guaranteed to be
+present since this solely depends on the metadata obtained by particular
+extractor, i.e.\ the metadata offered by the video hoster.
+.PP
+Formats for which the value is not known are excluded unless you put a
+question mark (\f[V]?\f[R]) after the operator.
+You can combine format filters, so
+\f[V]-f \[dq][height <=? 720][tbr>500]\[dq]\f[R] selects up to 720p
+videos (or videos where the height is not known) with a bitrate of at
+least 500 KBit/s.
+.PP
+You can merge the video and audio of two formats into a single file
+using \f[V]-f <video-format>+<audio-format>\f[R] (requires ffmpeg or
+avconv installed), for example \f[V]-f bestvideo+bestaudio\f[R] will
+download the best video-only format, the best audio-only format and mux
+them together with ffmpeg/avconv.
+.PP
+Format selectors can also be grouped using parentheses, for example if
+you want to download the best mp4 and webm formats with a height lower
+than 480 you can use \f[V]-f \[aq](mp4,webm)[height<480]\[aq]\f[R].
+.PP
+Since the end of April 2015 and version 2015.04.26, youtube-dl uses
+\f[V]-f bestvideo+bestaudio/best\f[R] as the default format selection
+(see #5447 (https://github.com/ytdl-org/youtube-dl/issues/5447),
+#5456 (https://github.com/ytdl-org/youtube-dl/issues/5456)).
+If ffmpeg or avconv are installed this results in downloading
+\f[V]bestvideo\f[R] and \f[V]bestaudio\f[R] separately and muxing them
+together into a single file giving the best overall quality available.
+Otherwise it falls back to \f[V]best\f[R] and results in downloading the
+best available quality served as a single file.
+\f[V]best\f[R] is also needed for videos that don\[cq]t come from
+YouTube because they don\[cq]t provide the audio and video in two
+different files.
+If you want to only download some DASH formats (for example if you are
+not interested in getting videos with a resolution higher than 1080p),
+you can add \f[V]-f bestvideo[height<=?1080]+bestaudio/best\f[R] to your
+configuration file.
+Note that if you use youtube-dl to stream to \f[V]stdout\f[R] (and most
+likely to pipe it to your media player then), i.e.\ you explicitly
+specify output template as \f[V]-o -\f[R], youtube-dl still uses
+\f[V]-f best\f[R] format selection in order to start content delivery
+immediately to your player and not to wait until \f[V]bestvideo\f[R] and
+\f[V]bestaudio\f[R] are downloaded and muxed.
+.PP
+If you want to preserve the old format selection behavior (prior to
+youtube-dl 2015.04.26), i.e.\ you want to download the best available
+quality media served as a single file, you should explicitly specify
+your choice with \f[V]-f best\f[R].
+You may want to add it to the configuration file in order not to type it
+every time you run youtube-dl.
+.SS Format selection examples
+.PP
+Note that on Windows you may need to use double quotes instead of
+single.
+.IP
+.nf
+\f[C]
+# Download best mp4 format available or any other best if no mp4 available
+$ youtube-dl -f \[aq]bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best\[aq]
+
+# Download best format available but no better than 480p
+$ youtube-dl -f \[aq]bestvideo[height<=480]+bestaudio/best[height<=480]\[aq]
+
+# Download best video only format but no bigger than 50 MB
+$ youtube-dl -f \[aq]best[filesize<50M]\[aq]
+
+# Download best format available via direct link over HTTP/HTTPS protocol
+$ youtube-dl -f \[aq](bestvideo+bestaudio/best)[protocol\[ha]=http]\[aq]
+
+# Download the best video format and the best audio format without merging them
+$ youtube-dl -f \[aq]bestvideo,bestaudio\[aq] -o \[aq]%(title)s.f%(format_id)s.%(ext)s\[aq]
+\f[R]
+.fi
+.PP
+Note that in the last example, an output template is recommended as
+bestvideo and bestaudio may have the same file name.
+.SH VIDEO SELECTION
+.PP
+Videos can be filtered by their upload date using the options
+\f[V]--date\f[R], \f[V]--datebefore\f[R] or \f[V]--dateafter\f[R].
+They accept dates in two formats:
+.IP \[bu] 2
+Absolute dates: Dates in the format \f[V]YYYYMMDD\f[R].
+.IP \[bu] 2
+Relative dates: Dates in the format
+\f[V](now|today)[+-][0-9](day|week|month|year)(s)?\f[R]
+.PP
+Examples:
+.IP
+.nf
+\f[C]
+# Download only the videos uploaded in the last 6 months
+$ youtube-dl --dateafter now-6months
+
+# Download only the videos uploaded on January 1, 1970
+$ youtube-dl --date 19700101
+
+$ # Download only the videos uploaded in the 200x decade
+$ youtube-dl --dateafter 20000101 --datebefore 20091231
+\f[R]
+.fi
+.SH FAQ
+.SS How do I update youtube-dl?
+.PP
+If you\[cq]ve followed our manual installation
+instructions (https://ytdl-org.github.io/youtube-dl/download.html), you
+can simply run \f[V]youtube-dl -U\f[R] (or, on Linux,
+\f[V]sudo youtube-dl -U\f[R]).
+.PP
+If you have used pip, a simple \f[V]sudo pip install -U youtube-dl\f[R]
+is sufficient to update.
+.PP
+If you have installed youtube-dl using a package manager like
+\f[I]apt-get\f[R] or \f[I]yum\f[R], use the standard system update
+mechanism to update.
+Note that distribution packages are often outdated.
+As a rule of thumb, youtube-dl releases at least once a month, and often
+weekly or even daily.
+Simply go to https://yt-dl.org to find out the current version.
+Unfortunately, there is nothing we youtube-dl developers can do if your
+distribution serves a really outdated version.
+You can (and should) complain to your distribution in their bugtracker
+or support forum.
+.PP
+As a last resort, you can also uninstall the version installed by your
+package manager and follow our manual installation instructions.
+For that, remove the distribution\[cq]s package, with a line like
+.IP
+.nf
+\f[C]
+sudo apt-get remove -y youtube-dl
+\f[R]
+.fi
+.PP
+Afterwards, simply follow our manual installation
+instructions (https://ytdl-org.github.io/youtube-dl/download.html):
+.IP
+.nf
+\f[C]
+sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
+sudo chmod a+rx /usr/local/bin/youtube-dl
+hash -r
+\f[R]
+.fi
+.PP
+Again, from then on you\[cq]ll be able to update with
+\f[V]sudo youtube-dl -U\f[R].
+.SS youtube-dl is extremely slow to start on Windows
+.PP
+Add a file exclusion for \f[V]youtube-dl.exe\f[R] in Windows Defender
+settings.
+.SS I\[cq]m getting an error \f[V]Unable to extract OpenGraph title\f[R] on YouTube playlists
+.PP
+YouTube changed their playlist format in March 2014 and later on, so
+you\[cq]ll need at least youtube-dl 2014.07.25 to download all YouTube
+videos.
+.PP
+If you have installed youtube-dl with a package manager, pip, setup.py
+or a tarball, please use that to update.
+Note that Ubuntu packages do not seem to get updated anymore.
+Since we are not affiliated with Ubuntu, there is little we can do.
+Feel free to report
+bugs (https://bugs.launchpad.net/ubuntu/+source/youtube-dl/+filebug) to
+the Ubuntu packaging
+people (mailto:ubuntu-motu@lists.ubuntu.com?subject=outdated%20version%20of%20youtube-dl)
+- all they have to do is update the package to a somewhat recent
+version.
+See above for a way to update.
+.SS I\[cq]m getting an error when trying to use output template: \f[V]error: using output template conflicts with using title, video ID or auto number\f[R]
+.PP
+Make sure you are not using \f[V]-o\f[R] with any of these options
+\f[V]-t\f[R], \f[V]--title\f[R], \f[V]--id\f[R], \f[V]-A\f[R] or
+\f[V]--auto-number\f[R] set in command line or in a configuration file.
+Remove the latter if any.
+.SS Do I always have to pass \f[V]-citw\f[R]?
+.PP
+By default, youtube-dl intends to have the best options (incidentally,
+if you have a convincing case that these should be different, please
+file an issue where you explain that (https://yt-dl.org/bug)).
+Therefore, it is unnecessary and sometimes harmful to copy long option
+strings from webpages.
+In particular, the only option out of \f[V]-citw\f[R] that is regularly
+useful is \f[V]-i\f[R].
+.SS Can you please put the \f[V]-b\f[R] option back?
+.PP
+Most people asking this question are not aware that youtube-dl now
+defaults to downloading the highest available quality as reported by
+YouTube, which will be 1080p or 720p in some cases, so you no longer
+need the \f[V]-b\f[R] option.
+For some specific videos, maybe YouTube does not report them to be
+available in a specific high quality format you\[cq]re interested in.
+In that case, simply request it with the \f[V]-f\f[R] option and
+youtube-dl will try to download it.
+.SS I get HTTP error 402 when trying to download a video. What\[cq]s this?
+.PP
+Apparently YouTube requires you to pass a CAPTCHA test if you download
+too much.
+We\[cq]re considering to provide a way to let you solve the
+CAPTCHA (https://github.com/ytdl-org/youtube-dl/issues/154), but at the
+moment, your best course of action is pointing a web browser to the
+youtube URL, solving the CAPTCHA, and restart youtube-dl.
+.SS Do I need any other programs?
+.PP
+youtube-dl works fine on its own on most sites.
+However, if you want to convert video/audio, you\[cq]ll need
+avconv (https://libav.org/) or ffmpeg (https://www.ffmpeg.org/).
+On some sites - most notably YouTube - videos can be retrieved in a
+higher quality format without sound.
+youtube-dl will detect whether avconv/ffmpeg is present and
+automatically pick the best option.
+.PP
+Videos or video formats streamed via RTMP protocol can only be
+downloaded when rtmpdump (https://rtmpdump.mplayerhq.hu/) is installed.
+Downloading MMS and RTSP videos requires either
+mplayer (https://mplayerhq.hu/) or mpv (https://mpv.io/) to be
+installed.
+.SS I have downloaded a video but how can I play it?
+.PP
+Once the video is fully downloaded, use any video player, such as
+mpv (https://mpv.io/), vlc (https://www.videolan.org/) or
+mplayer (https://www.mplayerhq.hu/).
+.SS I extracted a video URL with \f[V]-g\f[R], but it does not play on another machine / in my web browser.
+.PP
+It depends a lot on the service.
+In many cases, requests for the video (to download/play it) must come
+from the same IP address and with the same cookies and/or HTTP headers.
+Use the \f[V]--cookies\f[R] option to write the required cookies into a
+file, and advise your downloader to read cookies from that file.
+Some sites also require a common user agent to be used, use
+\f[V]--dump-user-agent\f[R] to see the one in use by youtube-dl.
+You can also get necessary cookies and HTTP headers from JSON output
+obtained with \f[V]--dump-json\f[R].
+.PP
+It may be beneficial to use IPv6; in some cases, the restrictions are
+only applied to IPv4.
+Some services (sometimes only for a subset of videos) do not restrict
+the video URL by IP address, cookie, or user-agent, but these are the
+exception rather than the rule.
+.PP
+Please bear in mind that some URL protocols are \f[B]not\f[R] supported
+by browsers out of the box, including RTMP.
+If you are using \f[V]-g\f[R], your own downloader must support these as
+well.
+.PP
+If you want to play the video on a machine that is not running
+youtube-dl, you can relay the video content from the machine that runs
+youtube-dl.
+You can use \f[V]-o -\f[R] to let youtube-dl stream a video to stdout,
+or simply allow the player to download the files written by youtube-dl
+in turn.
+.SS ERROR: no fmt_url_map or conn information found in video info
+.PP
+YouTube has switched to a new video info format in July 2011 which is
+not supported by old versions of youtube-dl.
+See above for how to update youtube-dl.
+.SS ERROR: unable to download video
+.PP
+YouTube requires an additional signature since September 2012 which is
+not supported by old versions of youtube-dl.
+See above for how to update youtube-dl.
+.SS Video URL contains an ampersand and I\[cq]m getting some strange output \f[V][1] 2839\f[R] or \f[V]\[aq]v\[aq] is not recognized as an internal or external command\f[R]
+.PP
+That\[cq]s actually the output from your shell.
+Since ampersand is one of the special shell characters it\[cq]s
+interpreted by the shell preventing you from passing the whole URL to
+youtube-dl.
+To disable your shell from interpreting the ampersands (or any other
+special characters) you have to either put the whole URL in quotes or
+escape them with a backslash (which approach will work depends on your
+shell).
+.PP
+For example if your URL is
+https://www.youtube.com/watch?t=4&v=BaW_jenozKc you should end up with
+following command:
+.PP
+\f[V]youtube-dl \[aq]https://www.youtube.com/watch?t=4&v=BaW_jenozKc\[aq]\f[R]
+.PP
+or
+.PP
+\f[V]youtube-dl https://www.youtube.com/watch?t=4\[rs]&v=BaW_jenozKc\f[R]
+.PP
+For Windows you have to use the double quotes:
+.PP
+\f[V]youtube-dl \[dq]https://www.youtube.com/watch?t=4&v=BaW_jenozKc\[dq]\f[R]
+.SS ExtractorError: Could not find JS function u\[cq]OF\[cq]
+.PP
+In February 2015, the new YouTube player contained a character sequence
+in a string that was misinterpreted by old versions of youtube-dl.
+See above for how to update youtube-dl.
+.SS HTTP Error 429: Too Many Requests or 402: Payment Required
+.PP
+These two error codes indicate that the service is blocking your IP
+address because of overuse.
+Usually this is a soft block meaning that you can gain access again
+after solving CAPTCHA.
+Just open a browser and solve a CAPTCHA the service suggests you and
+after that pass cookies to youtube-dl.
+Note that if your machine has multiple external IPs then you should also
+pass exactly the same IP you\[cq]ve used for solving CAPTCHA with
+\f[V]--source-address\f[R].
+Also you may need to pass a \f[V]User-Agent\f[R] HTTP header of your
+browser with \f[V]--user-agent\f[R].
+.PP
+If this is not the case (no CAPTCHA suggested to solve by the service)
+then you can contact the service and ask them to unblock your IP
+address, or - if you have acquired a whitelisted IP address already -
+use the \f[V]--proxy\f[R] or \f[V]--source-address\f[R] options to
+select another IP address.
+.SS SyntaxError: Non-ASCII character
+.PP
+The error
+.IP
+.nf
+\f[C]
+File \[dq]youtube-dl\[dq], line 2
+SyntaxError: Non-ASCII character \[aq]\[rs]x93\[aq] ...
+\f[R]
+.fi
+.PP
+means you\[cq]re using an outdated version of Python.
+Please update to Python 2.6 or 2.7.
+.SS What is this binary file? Where has the code gone?
+.PP
+Since June 2012
+(#342 (https://github.com/ytdl-org/youtube-dl/issues/342)) youtube-dl is
+packed as an executable zipfile, simply unzip it (might need renaming to
+\f[V]youtube-dl.zip\f[R] first on some systems) or clone the git
+repository, as laid out above.
+If you modify the code, you can run it by executing the
+\f[V]__main__.py\f[R] file.
+To recompile the executable, run \f[V]make youtube-dl\f[R].
+.SS The exe throws an error due to missing \f[V]MSVCR100.dll\f[R]
+.PP
+To run the exe you need to install first the Microsoft Visual C++ 2010
+Service Pack 1 Redistributable Package
+(x86) (https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe).
+.SS On Windows, how should I set up ffmpeg and youtube-dl? Where should I put the exe files?
+.PP
+If you put youtube-dl and ffmpeg in the same directory that you\[cq]re
+running the command from, it will work, but that\[cq]s rather
+cumbersome.
+.PP
+To make a different directory work - either for ffmpeg, or for
+youtube-dl, or for both - simply create the directory (say,
+\f[V]C:\[rs]bin\f[R], or
+\f[V]C:\[rs]Users\[rs]<User name>\[rs]bin\f[R]), put all the executables
+directly in there, and then set your PATH environment
+variable (https://www.java.com/en/download/help/path.xml) to include
+that directory.
+.PP
+From then on, after restarting your shell, you will be able to access
+both youtube-dl and ffmpeg (and youtube-dl will be able to find ffmpeg)
+by simply typing \f[V]youtube-dl\f[R] or \f[V]ffmpeg\f[R], no matter
+what directory you\[cq]re in.
+.SS How do I put downloads into a specific folder?
+.PP
+Use the \f[V]-o\f[R] to specify an output template, for example
+\f[V]-o \[dq]/home/user/videos/%(title)s-%(id)s.%(ext)s\[dq]\f[R].
+If you want this for all of your downloads, put the option into your
+configuration file.
+.SS How do I download a video starting with a \f[V]-\f[R]?
+.PP
+Either prepend \f[V]https://www.youtube.com/watch?v=\f[R] or separate
+the ID from the options with \f[V]--\f[R]:
+.IP
+.nf
+\f[C]
+youtube-dl -- -wNyEUrxzFU
+youtube-dl \[dq]https://www.youtube.com/watch?v=-wNyEUrxzFU\[dq]
+\f[R]
+.fi
+.SS How do I pass cookies to youtube-dl?
+.PP
+Use the \f[V]--cookies\f[R] option, for example
+\f[V]--cookies /path/to/cookies/file.txt\f[R].
+.PP
+In order to extract cookies from browser use any conforming browser
+extension for exporting cookies.
+For example, Get cookies.txt
+LOCALLY (https://chrome.google.com/webstore/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc)
+(for Chrome) or
+cookies.txt (https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/)
+(for Firefox).
+.PP
+Note that the cookies file must be in Mozilla/Netscape format and the
+first line of the cookies file must be either
+\f[V]# HTTP Cookie File\f[R] or \f[V]# Netscape HTTP Cookie File\f[R].
+Make sure you have correct newline
+format (https://en.wikipedia.org/wiki/Newline) in the cookies file and
+convert newlines if necessary to correspond with your OS, namely
+\f[V]CRLF\f[R] (\f[V]\[rs]r\[rs]n\f[R]) for Windows and \f[V]LF\f[R]
+(\f[V]\[rs]n\f[R]) for Unix and Unix-like systems (Linux, macOS, etc.).
+\f[V]HTTP Error 400: Bad Request\f[R] when using \f[V]--cookies\f[R] is
+a good sign of invalid newline format.
+.PP
+Passing cookies to youtube-dl is a good way to workaround login when a
+particular extractor does not implement it explicitly.
+Another use case is working around
+CAPTCHA (https://en.wikipedia.org/wiki/CAPTCHA) some websites require
+you to solve in particular cases in order to get access (e.g.\ YouTube,
+CloudFlare).
+.SS How do I stream directly to media player?
+.PP
+You will first need to tell youtube-dl to stream media to stdout with
+\f[V]-o -\f[R], and also tell your media player to read from stdin (it
+must be capable of this for streaming) and then pipe former to latter.
+For example, streaming to vlc (https://www.videolan.org/) can be
+achieved with:
+.IP
+.nf
+\f[C]
+youtube-dl -o - \[dq]https://www.youtube.com/watch?v=BaW_jenozKcj\[dq] | vlc -
+\f[R]
+.fi
+.SS How do I download only new videos from a playlist?
+.PP
+Use download-archive feature.
+With this feature you should initially download the complete playlist
+with \f[V]--download-archive /path/to/download/archive/file.txt\f[R]
+that will record identifiers of all the videos in a special file.
+Each subsequent run with the same \f[V]--download-archive\f[R] will
+download only new videos and skip all videos that have been downloaded
+before.
+Note that only successful downloads are recorded in the file.
+.PP
+For example, at first,
+.IP
+.nf
+\f[C]
+youtube-dl --download-archive archive.txt \[dq]https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re\[dq]
+\f[R]
+.fi
+.PP
+will download the complete \f[V]PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re\f[R]
+playlist and create a file \f[V]archive.txt\f[R].
+Each subsequent run will only download new videos if any:
+.IP
+.nf
+\f[C]
+youtube-dl --download-archive archive.txt \[dq]https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re\[dq]
+\f[R]
+.fi
+.SS Should I add \f[V]--hls-prefer-native\f[R] into my config?
+.PP
+When youtube-dl detects an HLS video, it can download it either with the
+built-in downloader or ffmpeg.
+Since many HLS streams are slightly invalid and ffmpeg/youtube-dl each
+handle some invalid cases better than the other, there is an option to
+switch the downloader if needed.
+.PP
+When youtube-dl knows that one particular downloader works better for a
+given website, that downloader will be picked.
+Otherwise, youtube-dl will pick the best downloader for general
+compatibility, which at the moment happens to be ffmpeg.
+This choice may change in future versions of youtube-dl, with
+improvements of the built-in downloader and/or ffmpeg.
+.PP
+In particular, the generic extractor (used when your website is not in
+the list of supported sites by
+youtube-dl (https://ytdl-org.github.io/youtube-dl/supportedsites.html)
+cannot mandate one specific downloader.
+.PP
+If you put either \f[V]--hls-prefer-native\f[R] or
+\f[V]--hls-prefer-ffmpeg\f[R] into your configuration, a different
+subset of videos will fail to download correctly.
+Instead, it is much better to file an issue (https://yt-dl.org/bug) or a
+pull request which details why the native or the ffmpeg HLS downloader
+is a better choice for your use case.
+.SS Can you add support for this anime video site, or site which shows current movies for free?
+.PP
+As a matter of policy (as well as legality), youtube-dl does not include
+support for services that specialize in infringing copyright.
+As a rule of thumb, if you cannot easily find a video that the service
+is quite obviously allowed to distribute (i.e.\ that has been uploaded
+by the creator, the creator\[cq]s distributor, or is published under a
+free license), the service is probably unfit for inclusion to
+youtube-dl.
+.PP
+A note on the service that they don\[cq]t host the infringing content,
+but just link to those who do, is evidence that the service should
+\f[B]not\f[R] be included into youtube-dl.
+The same goes for any DMCA note when the whole front page of the service
+is filled with videos they are not allowed to distribute.
+A \[lq]fair use\[rq] note is equally unconvincing if the service shows
+copyright-protected videos in full without authorization.
+.PP
+Support requests for services that \f[B]do\f[R] purchase the rights to
+distribute their content are perfectly fine though.
+If in doubt, you can simply include a source that mentions the
+legitimate purchase of content.
+.SS How can I speed up work on my issue?
+.PP
+(Also known as: Help, my important issue not being solved!)
+The youtube-dl core developer team is quite small.
+While we do our best to solve as many issues as possible, sometimes that
+can take quite a while.
+To speed up your issue, here\[cq]s what you can do:
+.PP
+First of all, please do report the issue at our issue
+tracker (https://yt-dl.org/bugs).
+That allows us to coordinate all efforts by users and developers, and
+serves as a unified point.
+Unfortunately, the youtube-dl project has grown too large to use
+personal email as an effective communication channel.
+.PP
+Please read the bug reporting instructions below.
+A lot of bugs lack all the necessary information.
+If you can, offer proxy, VPN, or shell access to the youtube-dl
+developers.
+If you are able to, test the issue from multiple computers in multiple
+countries to exclude local censorship or misconfiguration issues.
+.PP
+If nobody is interested in solving your issue, you are welcome to take
+matters into your own hands and submit a pull request (or coerce/pay
+somebody else to do so).
+.PP
+Feel free to bump the issue from time to time by writing a small comment
+(\[lq]Issue is still present in youtube-dl version \&...from France, but
+fixed from Belgium\[rq]), but please not more than once a month.
+Please do not declare your issue as \f[V]important\f[R] or
+\f[V]urgent\f[R].
+.SS How can I detect whether a given URL is supported by youtube-dl?
+.PP
+For one, have a look at the list of supported sites.
+Note that it can sometimes happen that the site changes its URL scheme
+(say, from https://example.com/video/1234567 to
+https://example.com/v/1234567 ) and youtube-dl reports an URL of a
+service in that list as unsupported.
+In that case, simply report a bug.
+.PP
+It is \f[I]not\f[R] possible to detect whether a URL is supported or
+not.
+That\[cq]s because youtube-dl contains a generic extractor which matches
+\f[B]all\f[R] URLs.
+You may be tempted to disable, exclude, or remove the generic extractor,
+but the generic extractor not only allows users to extract videos from
+lots of websites that embed a video from another service, but may also
+be used to extract video from a service that it\[cq]s hosting itself.
+Therefore, we neither recommend nor support disabling, excluding, or
+removing the generic extractor.
+.PP
+If you want to find out whether a given URL is supported, simply call
+youtube-dl with it.
+If you get no videos back, chances are the URL is either not referring
+to a video or unsupported.
+You can find out which by examining the output (if you run youtube-dl on
+the console) or catching an \f[V]UnsupportedError\f[R] exception if you
+run it from a Python program.
+.SH Why do I need to go through that much red tape when filing bugs?
+.PP
+Before we had the issue template, despite our extensive bug reporting
+instructions, about 80% of the issue reports we got were useless, for
+instance because people used ancient versions hundreds of releases old,
+because of simple syntactic errors (not in youtube-dl but in general
+shell usage), because the problem was already reported multiple times
+before, because people did not actually read an error message, even if
+it said \[lq]please install ffmpeg\[rq], because people did not mention
+the URL they were trying to download and many more simple, easy-to-avoid
+problems, many of whom were totally unrelated to youtube-dl.
+.PP
+youtube-dl is an open-source project manned by too few volunteers, so
+we\[cq]d rather spend time fixing bugs where we are certain none of
+those simple problems apply, and where we can be reasonably confident to
+be able to reproduce the issue without asking the reporter repeatedly.
+As such, the output of \f[V]youtube-dl -v YOUR_URL_HERE\f[R] is really
+all that\[cq]s required to file an issue.
+The issue template also guides you through some basic steps you can do,
+such as checking that your version of youtube-dl is current.
+.SH DEVELOPER INSTRUCTIONS
+.PP
+Most users do not need to build youtube-dl and can download the
+builds (https://ytdl-org.github.io/youtube-dl/download.html) or get them
+from their distribution.
+.PP
+To run youtube-dl as a developer, you don\[cq]t need to build anything
+either.
+Simply execute
+.IP
+.nf
+\f[C]
+python -m youtube_dl
+\f[R]
+.fi
+.PP
+To run the test, simply invoke your favorite test runner, or execute a
+test file directly; any of the following work:
+.IP
+.nf
+\f[C]
+python -m unittest discover
+python test/test_download.py
+nosetests
+\f[R]
+.fi
+.PP
+See item 6 of new extractor tutorial for how to run extractor specific
+test cases.
+.PP
+If you want to create a build of youtube-dl yourself, you\[cq]ll need
+.IP \[bu] 2
+python
+.IP \[bu] 2
+make (only GNU make is supported)
+.IP \[bu] 2
+pandoc
+.IP \[bu] 2
+zip
+.IP \[bu] 2
+nosetests
+.SS Adding support for a new site
+.PP
+If you want to add support for a new site, first of all \f[B]make
+sure\f[R] this site is \f[B]not dedicated to copyright
+infringement\f[R].
+youtube-dl does \f[B]not support\f[R] such sites thus pull requests
+adding support for them \f[B]will be rejected\f[R].
+.PP
+After you have ensured this site is distributing its content legally,
+you can follow this quick list (assuming your service is called
+\f[V]yourextractor\f[R]):
+.IP " 1." 4
+Fork this repository (https://github.com/ytdl-org/youtube-dl/fork)
+.IP " 2." 4
+Check out the source code with:
+.RS 4
+.IP
+.nf
+\f[C]
+ git clone git\[at]github.com:YOUR_GITHUB_USERNAME/youtube-dl.git
+\f[R]
+.fi
+.RE
+.IP " 3." 4
+Start a new git branch with
+.RS 4
+.IP
+.nf
+\f[C]
+ cd youtube-dl
+ git checkout -b yourextractor
+\f[R]
+.fi
+.RE
+.IP " 4." 4
+Start with this simple template and save it to
+\f[V]youtube_dl/extractor/yourextractor.py\f[R]:
+.RS 4
+.IP
+.nf
+\f[C]
+# coding: utf-8
+from __future__ import unicode_literals
+
+from .common import InfoExtractor
+
+
+class YourExtractorIE(InfoExtractor):
+ _VALID_URL = r\[aq]https?://(?:www\[rs].)?yourextractor\[rs].com/watch/(?P<id>[0-9]+)\[aq]
+ _TEST = {
+ \[aq]url\[aq]: \[aq]https://yourextractor.com/watch/42\[aq],
+ \[aq]md5\[aq]: \[aq]TODO: md5 sum of the first 10241 bytes of the video file (use --test)\[aq],
+ \[aq]info_dict\[aq]: {
+ \[aq]id\[aq]: \[aq]42\[aq],
+ \[aq]ext\[aq]: \[aq]mp4\[aq],
+ \[aq]title\[aq]: \[aq]Video title goes here\[aq],
+ \[aq]thumbnail\[aq]: r\[aq]re:\[ha]https?://.*\[rs].jpg$\[aq],
+ # TODO more properties, either as:
+ # * A value
+ # * MD5 checksum; start the string with md5:
+ # * A regular expression; start the string with re:
+ # * Any Python type (for example int or float)
+ }
+ }
+
+ def _real_extract(self, url):
+ video_id = self._match_id(url)
+ webpage = self._download_webpage(url, video_id)
+
+ # TODO more code goes here, for example ...
+ title = self._html_search_regex(r\[aq]<h1>(.+?)</h1>\[aq], webpage, \[aq]title\[aq])
+
+ return {
+ \[aq]id\[aq]: video_id,
+ \[aq]title\[aq]: title,
+ \[aq]description\[aq]: self._og_search_description(webpage),
+ \[aq]uploader\[aq]: self._search_regex(r\[aq]<div[\[ha]>]+id=\[dq]uploader\[dq][\[ha]>]*>([\[ha]<]+)<\[aq], webpage, \[aq]uploader\[aq], fatal=False),
+ # TODO more properties (see youtube_dl/extractor/common.py)
+ }
+\f[R]
+.fi
+.RE
+.IP " 5." 4
+Add an import in
+\f[V]youtube_dl/extractor/extractors.py\f[R] (https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/extractors.py).
+.IP " 6." 4
+Run
+\f[V]python test/test_download.py TestDownload.test_YourExtractor\f[R].
+This \f[I]should fail\f[R] at first, but you can continually re-run it
+until you\[cq]re done.
+If you decide to add more than one test (actually, test case) then
+rename \f[V]_TEST\f[R] to \f[V]_TESTS\f[R] and make it into a list of
+dictionaries.
+The tests will then be named \f[V]TestDownload.test_YourExtractor\f[R],
+\f[V]TestDownload.test_YourExtractor_1\f[R],
+\f[V]TestDownload.test_YourExtractor_2\f[R], etc.
+Note:
+.RS 4
+.IP \[bu] 2
+the test names use the extractor class name \f[B]without the trailing
+\f[VB]IE\f[B]\f[R]
+.IP \[bu] 2
+tests with \f[V]only_matching\f[R] key in test\[cq]s dict are not
+counted.
+.RE
+.IP " 7." 4
+Have a look at
+\f[V]youtube_dl/extractor/common.py\f[R] (https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/common.py)
+for possible helper methods and a detailed description of what your
+extractor should and may
+return (https://github.com/ytdl-org/youtube-dl/blob/7f41a598b3fba1bcab2817de64a08941200aa3c8/youtube_dl/extractor/common.py#L94-L303).
+Add tests and code for as many as you want.
+.IP " 8." 4
+Make sure your code follows youtube-dl coding conventions and check the
+code with
+flake8 (https://flake8.pycqa.org/en/latest/index.html#quickstart):
+.RS 4
+.IP
+.nf
+\f[C]
+ $ flake8 youtube_dl/extractor/yourextractor.py
+\f[R]
+.fi
+.RE
+.IP " 9." 4
+Make sure your code works under all Python (https://www.python.org/)
+versions claimed supported by youtube-dl, namely 2.6, 2.7, and 3.2+.
+.IP "10." 4
+When the tests pass, add (https://git-scm.com/docs/git-add) the new
+files and commit (https://git-scm.com/docs/git-commit) them and
+push (https://git-scm.com/docs/git-push) the result, like this:
+.RS 4
+.IP
+.nf
+\f[C]
+$ git add youtube_dl/extractor/extractors.py
+$ git add youtube_dl/extractor/yourextractor.py
+$ git commit -m \[aq][yourextractor] Add new extractor\[aq]
+$ git push origin yourextractor
+\f[R]
+.fi
+.RE
+.IP "11." 4
+Finally, create a pull
+request (https://help.github.com/articles/creating-a-pull-request).
+We\[cq]ll then review and merge it.
+.PP
+In any case, thank you very much for your contributions!
+.SS youtube-dl coding conventions
+.PP
+This section introduces a guide lines for writing idiomatic, robust and
+future-proof extractor code.
+.PP
+Extractors are very fragile by nature since they depend on the layout of
+the source data provided by 3rd party media hosters out of your control
+and this layout tends to change.
+As an extractor implementer your task is not only to write code that
+will extract media links and metadata correctly but also to minimize
+dependency on the source\[cq]s layout and even to make the code foresee
+potential future changes and be ready for that.
+This is important because it will allow the extractor not to break on
+minor layout changes thus keeping old youtube-dl versions working.
+Even though this breakage issue is easily fixed by emitting a new
+version of youtube-dl with a fix incorporated, all the previous versions
+become broken in all repositories and distros\[cq] packages that may not
+be so prompt in fetching the update from us.
+Needless to say, some non rolling release distros may never receive an
+update at all.
+.SS Mandatory and optional metafields
+.PP
+For extraction to work youtube-dl relies on metadata your extractor
+extracts and provides to youtube-dl expressed by an information
+dictionary (https://github.com/ytdl-org/youtube-dl/blob/7f41a598b3fba1bcab2817de64a08941200aa3c8/youtube_dl/extractor/common.py#L94-L303)
+or simply \f[I]info dict\f[R].
+Only the following meta fields in the \f[I]info dict\f[R] are considered
+mandatory for a successful extraction process by youtube-dl:
+.IP \[bu] 2
+\f[V]id\f[R] (media identifier)
+.IP \[bu] 2
+\f[V]title\f[R] (media title)
+.IP \[bu] 2
+\f[V]url\f[R] (media download URL) or \f[V]formats\f[R]
+.PP
+In fact only the last option is technically mandatory (i.e.\ if you
+can\[cq]t figure out the download location of the media the extraction
+does not make any sense).
+But by convention youtube-dl also treats \f[V]id\f[R] and
+\f[V]title\f[R] as mandatory.
+Thus the aforementioned metafields are the critical data that the
+extraction does not make any sense without and if any of them fail to be
+extracted then the extractor is considered completely broken.
+.PP
+Any
+field (https://github.com/ytdl-org/youtube-dl/blob/7f41a598b3fba1bcab2817de64a08941200aa3c8/youtube_dl/extractor/common.py#L188-L303)
+apart from the aforementioned ones are considered \f[B]optional\f[R].
+That means that extraction should be \f[B]tolerant\f[R] to situations
+when sources for these fields can potentially be unavailable (even if
+they are always available at the moment) and \f[B]future-proof\f[R] in
+order not to break the extraction of general purpose mandatory fields.
+.SS Example
+.PP
+Say you have some source dictionary \f[V]meta\f[R] that you\[cq]ve
+fetched as JSON with HTTP request and it has a key \f[V]summary\f[R]:
+.IP
+.nf
+\f[C]
+meta = self._download_json(url, video_id)
+\f[R]
+.fi
+.PP
+Assume at this point \f[V]meta\f[R]\[cq]s layout is:
+.IP
+.nf
+\f[C]
+{
+ ...
+ \[dq]summary\[dq]: \[dq]some fancy summary text\[dq],
+ ...
+}
+\f[R]
+.fi
+.PP
+Assume you want to extract \f[V]summary\f[R] and put it into the
+resulting info dict as \f[V]description\f[R].
+Since \f[V]description\f[R] is an optional meta field you should be
+ready that this key may be missing from the \f[V]meta\f[R] dict, so that
+you should extract it like:
+.IP
+.nf
+\f[C]
+description = meta.get(\[aq]summary\[aq]) # correct
+\f[R]
+.fi
+.PP
+and not like:
+.IP
+.nf
+\f[C]
+description = meta[\[aq]summary\[aq]] # incorrect
+\f[R]
+.fi
+.PP
+The latter will break extraction process with \f[V]KeyError\f[R] if
+\f[V]summary\f[R] disappears from \f[V]meta\f[R] at some later time but
+with the former approach extraction will just go ahead with
+\f[V]description\f[R] set to \f[V]None\f[R] which is perfectly fine
+(remember \f[V]None\f[R] is equivalent to the absence of data).
+.PP
+Similarly, you should pass \f[V]fatal=False\f[R] when extracting
+optional data from a webpage with \f[V]_search_regex\f[R],
+\f[V]_html_search_regex\f[R] or similar methods, for instance:
+.IP
+.nf
+\f[C]
+description = self._search_regex(
+ r\[aq]<span[\[ha]>]+id=\[dq]title\[dq][\[ha]>]*>([\[ha]<]+)<\[aq],
+ webpage, \[aq]description\[aq], fatal=False)
+\f[R]
+.fi
+.PP
+With \f[V]fatal\f[R] set to \f[V]False\f[R] if \f[V]_search_regex\f[R]
+fails to extract \f[V]description\f[R] it will emit a warning and
+continue extraction.
+.PP
+You can also pass \f[V]default=<some fallback value>\f[R], for example:
+.IP
+.nf
+\f[C]
+description = self._search_regex(
+ r\[aq]<span[\[ha]>]+id=\[dq]title\[dq][\[ha]>]*>([\[ha]<]+)<\[aq],
+ webpage, \[aq]description\[aq], default=None)
+\f[R]
+.fi
+.PP
+On failure this code will silently continue the extraction with
+\f[V]description\f[R] set to \f[V]None\f[R].
+That is useful for metafields that may or may not be present.
+.SS Provide fallbacks
+.PP
+When extracting metadata try to do so from multiple sources.
+For example if \f[V]title\f[R] is present in several places, try
+extracting from at least some of them.
+This makes it more future-proof in case some of the sources become
+unavailable.
+.SS Example
+.PP
+Say \f[V]meta\f[R] from the previous example has a \f[V]title\f[R] and
+you are about to extract it.
+Since \f[V]title\f[R] is a mandatory meta field you should end up with
+something like:
+.IP
+.nf
+\f[C]
+title = meta[\[aq]title\[aq]]
+\f[R]
+.fi
+.PP
+If \f[V]title\f[R] disappears from \f[V]meta\f[R] in future due to some
+changes on the hoster\[cq]s side the extraction would fail since
+\f[V]title\f[R] is mandatory.
+That\[cq]s expected.
+.PP
+Assume that you have some another source you can extract \f[V]title\f[R]
+from, for example \f[V]og:title\f[R] HTML meta of a \f[V]webpage\f[R].
+In this case you can provide a fallback scenario:
+.IP
+.nf
+\f[C]
+title = meta.get(\[aq]title\[aq]) or self._og_search_title(webpage)
+\f[R]
+.fi
+.PP
+This code will try to extract from \f[V]meta\f[R] first and if it fails
+it will try extracting \f[V]og:title\f[R] from a \f[V]webpage\f[R].
+.SS Regular expressions
+.SS Don\[cq]t capture groups you don\[cq]t use
+.PP
+Capturing group must be an indication that it\[cq]s used somewhere in
+the code.
+Any group that is not used must be non capturing.
+.SS Example
+.PP
+Don\[cq]t capture id attribute name here since you can\[cq]t use it for
+anything anyway.
+.PP
+Correct:
+.IP
+.nf
+\f[C]
+r\[aq](?:id|ID)=(?P<id>\[rs]d+)\[aq]
+\f[R]
+.fi
+.PP
+Incorrect:
+.IP
+.nf
+\f[C]
+r\[aq](id|ID)=(?P<id>\[rs]d+)\[aq]
+\f[R]
+.fi
+.SS Make regular expressions relaxed and flexible
+.PP
+When using regular expressions try to write them fuzzy, relaxed and
+flexible, skipping insignificant parts that are more likely to change,
+allowing both single and double quotes for quoted values and so on.
+.SS Example
+.PP
+Say you need to extract \f[V]title\f[R] from the following HTML code:
+.IP
+.nf
+\f[C]
+<span style=\[dq]position: absolute; left: 910px; width: 90px; float: right; z-index: 9999;\[dq] class=\[dq]title\[dq]>some fancy title</span>
+\f[R]
+.fi
+.PP
+The code for that task should look similar to:
+.IP
+.nf
+\f[C]
+title = self._search_regex(
+ r\[aq]<span[\[ha]>]+class=\[dq]title\[dq][\[ha]>]*>([\[ha]<]+)\[aq], webpage, \[aq]title\[aq])
+\f[R]
+.fi
+.PP
+Or even better:
+.IP
+.nf
+\f[C]
+title = self._search_regex(
+ r\[aq]<span[\[ha]>]+class=([\[dq]\[rs]\[aq]])title\[rs]1[\[ha]>]*>(?P<title>[\[ha]<]+)\[aq],
+ webpage, \[aq]title\[aq], group=\[aq]title\[aq])
+\f[R]
+.fi
+.PP
+Note how you tolerate potential changes in the \f[V]style\f[R]
+attribute\[cq]s value or switch from using double quotes to single for
+\f[V]class\f[R] attribute:
+.PP
+The code definitely should not look like:
+.IP
+.nf
+\f[C]
+title = self._search_regex(
+ r\[aq]<span style=\[dq]position: absolute; left: 910px; width: 90px; float: right; z-index: 9999;\[dq] class=\[dq]title\[dq]>(.*?)</span>\[aq],
+ webpage, \[aq]title\[aq], group=\[aq]title\[aq])
+\f[R]
+.fi
+.SS Long lines policy
+.PP
+There is a soft limit to keep lines of code under 80 characters long.
+This means it should be respected if possible and if it does not make
+readability and code maintenance worse.
+.PP
+For example, you should \f[B]never\f[R] split long string literals like
+URLs or some other often copied entities over multiple lines to fit this
+limit:
+.PP
+Correct:
+.IP
+.nf
+\f[C]
+\[aq]https://www.youtube.com/watch?v=FqZTN594JQw&list=PLMYEtVRpaqY00V9W81Cwmzp6N6vZqfUKD4\[aq]
+\f[R]
+.fi
+.PP
+Incorrect:
+.IP
+.nf
+\f[C]
+\[aq]https://www.youtube.com/watch?v=FqZTN594JQw&list=\[aq]
+\[aq]PLMYEtVRpaqY00V9W81Cwmzp6N6vZqfUKD4\[aq]
+\f[R]
+.fi
+.SS Inline values
+.PP
+Extracting variables is acceptable for reducing code duplication and
+improving readability of complex expressions.
+However, you should avoid extracting variables used only once and moving
+them to opposite parts of the extractor file, which makes reading the
+linear flow difficult.
+.SS Example
+.PP
+Correct:
+.IP
+.nf
+\f[C]
+title = self._html_search_regex(r\[aq]<title>([\[ha]<]+)</title>\[aq], webpage, \[aq]title\[aq])
+\f[R]
+.fi
+.PP
+Incorrect:
+.IP
+.nf
+\f[C]
+TITLE_RE = r\[aq]<title>([\[ha]<]+)</title>\[aq]
+# ...some lines of code...
+title = self._html_search_regex(TITLE_RE, webpage, \[aq]title\[aq])
+\f[R]
+.fi
+.SS Collapse fallbacks
+.PP
+Multiple fallback values can quickly become unwieldy.
+Collapse multiple fallback values into a single expression via a list of
+patterns.
+.SS Example
+.PP
+Good:
+.IP
+.nf
+\f[C]
+description = self._html_search_meta(
+ [\[aq]og:description\[aq], \[aq]description\[aq], \[aq]twitter:description\[aq]],
+ webpage, \[aq]description\[aq], default=None)
+\f[R]
+.fi
+.PP
+Unwieldy:
+.IP
+.nf
+\f[C]
+description = (
+ self._og_search_description(webpage, default=None)
+ or self._html_search_meta(\[aq]description\[aq], webpage, default=None)
+ or self._html_search_meta(\[aq]twitter:description\[aq], webpage, default=None))
+\f[R]
+.fi
+.PP
+Methods supporting list of patterns are: \f[V]_search_regex\f[R],
+\f[V]_html_search_regex\f[R], \f[V]_og_search_property\f[R],
+\f[V]_html_search_meta\f[R].
+.SS Trailing parentheses
+.PP
+Always move trailing parentheses after the last argument.
+.SS Example
+.PP
+Correct:
+.IP
+.nf
+\f[C]
+ lambda x: x[\[aq]ResultSet\[aq]][\[aq]Result\[aq]][0][\[aq]VideoUrlSet\[aq]][\[aq]VideoUrl\[aq]],
+ list)
+\f[R]
+.fi
+.PP
+Incorrect:
+.IP
+.nf
+\f[C]
+ lambda x: x[\[aq]ResultSet\[aq]][\[aq]Result\[aq]][0][\[aq]VideoUrlSet\[aq]][\[aq]VideoUrl\[aq]],
+ list,
+)
+\f[R]
+.fi
+.SS Use convenience conversion and parsing functions
+.PP
+Wrap all extracted numeric data into safe functions from
+\f[V]youtube_dl/utils.py\f[R] (https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/utils.py):
+\f[V]int_or_none\f[R], \f[V]float_or_none\f[R].
+Use them for string to number conversions as well.
+.PP
+Use \f[V]url_or_none\f[R] for safe URL processing.
+.PP
+Use \f[V]try_get\f[R] for safe metadata extraction from parsed JSON.
+.PP
+Use \f[V]unified_strdate\f[R] for uniform \f[V]upload_date\f[R] or any
+\f[V]YYYYMMDD\f[R] meta field extraction, \f[V]unified_timestamp\f[R]
+for uniform \f[V]timestamp\f[R] extraction, \f[V]parse_filesize\f[R] for
+\f[V]filesize\f[R] extraction, \f[V]parse_count\f[R] for count meta
+fields extraction, \f[V]parse_resolution\f[R], \f[V]parse_duration\f[R]
+for \f[V]duration\f[R] extraction, \f[V]parse_age_limit\f[R] for
+\f[V]age_limit\f[R] extraction.
+.PP
+Explore
+\f[V]youtube_dl/utils.py\f[R] (https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/utils.py)
+for more useful convenience functions.
+.SS More examples
+.SS Safely extract optional description from parsed JSON
+.IP
+.nf
+\f[C]
+description = try_get(response, lambda x: x[\[aq]result\[aq]][\[aq]video\[aq]][0][\[aq]summary\[aq]], compat_str)
+\f[R]
+.fi
+.SS Safely extract more optional metadata
+.IP
+.nf
+\f[C]
+video = try_get(response, lambda x: x[\[aq]result\[aq]][\[aq]video\[aq]][0], dict) or {}
+description = video.get(\[aq]summary\[aq])
+duration = float_or_none(video.get(\[aq]durationMs\[aq]), scale=1000)
+view_count = int_or_none(video.get(\[aq]views\[aq]))
+\f[R]
+.fi
+.SH EMBEDDING YOUTUBE-DL
+.PP
+youtube-dl makes the best effort to be a good command-line program, and
+thus should be callable from any programming language.
+If you encounter any problems parsing its output, feel free to create a
+report (https://github.com/ytdl-org/youtube-dl/issues/new).
+.PP
+From a Python program, you can embed youtube-dl in a more powerful
+fashion, like this:
+.IP
+.nf
+\f[C]
+from __future__ import unicode_literals
+import youtube_dl
+
+ydl_opts = {}
+with youtube_dl.YoutubeDL(ydl_opts) as ydl:
+ ydl.download([\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]])
+\f[R]
+.fi
+.PP
+Most likely, you\[cq]ll want to use various options.
+For a list of options available, have a look at
+\f[V]youtube_dl/YoutubeDL.py\f[R] (https://github.com/ytdl-org/youtube-dl/blob/3e4cedf9e8cd3157df2457df7274d0c842421945/youtube_dl/YoutubeDL.py#L137-L312).
+For a start, if you want to intercept youtube-dl\[cq]s output, set a
+\f[V]logger\f[R] object.
+.PP
+Here\[cq]s a more complete example of a program that outputs only errors
+(and a short message after the download is finished), and
+downloads/converts the video to an mp3 file:
+.IP
+.nf
+\f[C]
+from __future__ import unicode_literals
+import youtube_dl
+
+
+class MyLogger(object):
+ def debug(self, msg):
+ pass
+
+ def warning(self, msg):
+ pass
+
+ def error(self, msg):
+ print(msg)
+
+
+def my_hook(d):
+ if d[\[aq]status\[aq]] == \[aq]finished\[aq]:
+ print(\[aq]Done downloading, now converting ...\[aq])
+
+
+ydl_opts = {
+ \[aq]format\[aq]: \[aq]bestaudio/best\[aq],
+ \[aq]postprocessors\[aq]: [{
+ \[aq]key\[aq]: \[aq]FFmpegExtractAudio\[aq],
+ \[aq]preferredcodec\[aq]: \[aq]mp3\[aq],
+ \[aq]preferredquality\[aq]: \[aq]192\[aq],
+ }],
+ \[aq]logger\[aq]: MyLogger(),
+ \[aq]progress_hooks\[aq]: [my_hook],
+}
+with youtube_dl.YoutubeDL(ydl_opts) as ydl:
+ ydl.download([\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]])
+\f[R]
+.fi
+.SH BUGS
+.PP
+Bugs and suggestions should be reported in the issue tracker:
+<https://github.com/ytdl-org/youtube-dl/issues> (<https://yt-dl.org/bug>
+is an alias for this).
+Unless you were prompted to or there is another pertinent reason
+(e.g.\ GitHub fails to accept the bug report), please do not send bug
+reports via personal email.
+For discussions, join us in the IRC channel
+#youtube-dl (irc://chat.freenode.net/#youtube-dl) on freenode
+(webchat (https://webchat.freenode.net/?randomnick=1&channels=youtube-dl)).
+.SS Opening a bug report or suggestion
+.PP
+Be sure to follow instructions provided \f[B]below\f[R] and \f[B]in the
+issue tracker\f[R].
+Complete the appropriate issue template fully.
+Consider whether your problem is covered by an existing issue: if so,
+follow the discussion there.
+Avoid commenting on existing duplicate issues as such comments do not
+add to the discussion of the issue and are liable to be treated as spam.
+.PP
+\f[B]Please include the full output of youtube-dl when run with
+\f[VB]-v\f[B]\f[R], i.e.\ \f[B]add\f[R] \f[V]-v\f[R] flag to \f[B]your
+command line\f[R], copy the \f[B]whole\f[R] output and post it in the
+issue body wrapped in \[ga]\[ga]\[ga] for better formatting.
+It should look similar to this:
+.IP
+.nf
+\f[C]
+$ youtube-dl -v <your command line>
+[debug] System config: []
+[debug] User config: []
+[debug] Command-line args: [u\[aq]-v\[aq], u\[aq]https://www.youtube.com/watch?v=BaW_jenozKcj\[aq]]
+[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
+[debug] youtube-dl version 2015.12.06
+[debug] Git HEAD: 135392e
+[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
+[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
+[debug] Proxy map: {}
+\&...
+\f[R]
+.fi
+.PP
+\f[B]Do not post screenshots of verbose logs; only plain text is
+acceptable.\f[R]
+.PP
+The output (including the first lines) contains important debugging
+information.
+Issues without the full output are often not reproducible and therefore
+do not get solved in short order, if ever.
+.PP
+Finally please review your issue to avoid various common mistakes (you
+can and should use this as a checklist) listed below.
+.SS Is the description of the issue itself sufficient?
+.PP
+We often get issue reports that are hard to understand.
+To avoid subsequent clarifications, and to assist participants who are
+not native English speakers, please elaborate on what feature you are
+requesting, or what bug you want to be fixed.
+.PP
+Make sure that it\[cq]s obvious
+.IP \[bu] 2
+What the problem is
+.IP \[bu] 2
+How it could be fixed
+.IP \[bu] 2
+How your proposed solution would look
+.PP
+If your report is shorter than two lines, it is almost certainly missing
+some of these, which makes it hard for us to respond to it.
+We\[cq]re often too polite to close the issue outright, but the missing
+info makes misinterpretation likely.
+As a committer myself, I often get frustrated by these issues, since the
+only possible way for me to move forward on them is to ask for
+clarification over and over.
+.PP
+For bug reports, this means that your report should contain the
+\f[I]complete\f[R] output of youtube-dl when called with the
+\f[V]-v\f[R] flag.
+The error message you get for (most) bugs even says so, but you would
+not believe how many of our bug reports do not contain this information.
+.PP
+If your server has multiple IPs or you suspect censorship, adding
+\f[V]--call-home\f[R] may be a good idea to get more diagnostics.
+If the error is \f[V]ERROR: Unable to extract ...\f[R] and you cannot
+reproduce it from multiple countries, add \f[V]--dump-pages\f[R]
+(warning: this will yield a rather large output, redirect it to the file
+\f[V]log.txt\f[R] by adding \f[V]>log.txt 2>&1\f[R] to your
+command-line) or upload the \f[V].dump\f[R] files you get when you add
+\f[V]--write-pages\f[R] somewhere (https://gist.github.com/).
+.PP
+\f[B]Site support requests must contain an example URL\f[R].
+An example URL is a URL you might want to download, like
+\f[V]https://www.youtube.com/watch?v=BaW_jenozKc\f[R].
+There should be an obvious video present.
+Except under very special circumstances, the main page of a video
+service (e.g.\ \f[V]https://www.youtube.com/\f[R]) is \f[I]not\f[R] an
+example URL.
+.SS Is the issue already documented?
+.PP
+Make sure that someone has not already opened the issue you\[cq]re
+trying to open.
+Search at the top of the window or browse the GitHub
+Issues (https://github.com/ytdl-org/youtube-dl/search?type=Issues) of
+this repository.
+Initially, at least, use the search term \f[V]-label:duplicate\f[R] to
+focus on active issues.
+If there is an issue, feel free to write something along the lines of
+\[lq]This affects me as well, with version 2015.01.01.
+Here is some more information on the issue: \&...\[rq].
+While some issues may be old, a new post into them often spurs rapid
+activity.
+.SS Are you using the latest version?
+.PP
+Before reporting any issue, type \f[V]youtube-dl -U\f[R].
+This should report that you\[cq]re up-to-date.
+About 20% of the reports we receive are already fixed, but people are
+using outdated versions.
+This goes for feature requests as well.
+.SS Why are existing options not enough?
+.PP
+Before requesting a new feature, please have a quick peek at the list of
+supported
+options (https://github.com/ytdl-org/youtube-dl/blob/master/README.md#options).
+Many feature requests are for features that actually exist already!
+Please, absolutely do show off your work in the issue report and detail
+how the existing similar options do \f[I]not\f[R] solve your problem.
+.SS Is there enough context in your bug report?
+.PP
+People want to solve problems, and often think they do us a favor by
+breaking down their larger problems (e.g.\ wanting to skip already
+downloaded files) to a specific request (e.g.\ requesting us to look
+whether the file exists before downloading the info page).
+However, what often happens is that they break down the problem into two
+steps: One simple, and one impossible (or extremely complicated one).
+.PP
+We are then presented with a very complicated request when the original
+problem could be solved far easier, e.g.\ by recording the downloaded
+video IDs in a separate file.
+To avoid this, you must include the greater context where it is
+non-obvious.
+In particular, every feature request that does not consist of adding
+support for a new site should contain a use case scenario that explains
+in what situation the missing feature would be useful.
+.SS Does the issue involve one problem, and one problem only?
+.PP
+Some of our users seem to think there is a limit of issues they can or
+should open.
+There is no limit of issues they can or should open.
+While it may seem appealing to be able to dump all your issues into one
+ticket, that means that someone who solves one of your issues cannot
+mark the issue as closed.
+Typically, reporting a bunch of issues leads to the ticket lingering
+since nobody wants to attack that behemoth, until someone mercifully
+splits the issue into multiple ones.
+.PP
+In particular, every site support request issue should only pertain to
+services at one site (generally under a common domain, but always using
+the same backend technology).
+Do not request support for vimeo user videos, White house podcasts, and
+Google Plus pages in the same issue.
+Also, make sure that you don\[cq]t post bug reports alongside feature
+requests.
+As a rule of thumb, a feature request does not include outputs of
+youtube-dl that are not immediately related to the feature at hand.
+Do not post reports of a network error alongside the request for a new
+video service.
+.SS Is anyone going to need the feature?
+.PP
+Only post features that you (or an incapacitated friend you can
+personally talk to) require.
+Do not post features because they seem like a good idea.
+If they are really useful, they will be requested by someone who
+requires them.
+.SS Is your question about youtube-dl?
+.PP
+It may sound strange, but some bug reports we receive are completely
+unrelated to youtube-dl and relate to a different, or even the
+reporter\[cq]s own, application.
+Please make sure that you are actually using youtube-dl.
+If you are using a UI for youtube-dl, report the bug to the maintainer
+of the actual application providing the UI.
+On the other hand, if your UI for youtube-dl fails in some way you
+believe is related to youtube-dl, by all means, go ahead and report the
+bug.
+.SH COPYRIGHT
+.PP
+youtube-dl is released into the public domain by the copyright holders.
+.PP
+This README file was originally written by Daniel
+Bolton (https://github.com/dbbolton) and is likewise released into the
+public domain.
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index 91c3d2645c..6cd1b232de 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for youtube-dl
# Copyright 2010 GPLeo <gpleomail@gmail.com>
# Copyright 2010-2012 byteframe <byteframe@gmail.com>
-# Copyright 2015-2021 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=youtube-dl
-VERSION=${VERSION:-2021.02.10}
+VERSION=${VERSION:-2021.12.17+20240122_dc512e3a8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,27 +69,34 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -C $PRGNAM-$VERSION --strip-components 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -C $PRGNAM-$VERSION --strip-components 1
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
# setup.py patch
patch -p1 < $CWD/setup.patch
-python setup.py install --root=$PKG
+# 20230627 bkw: building the man page would require pandoc or pandoc-bin.
+# Easier to just include the prebuilt manpage in the SBo repo.
+cat $CWD/$PRGNAM.1 > $PRGNAM.1
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+# 20230627 bkw: Unusual for a python build, we need this for the man page
+# and shell completions. It also installs the all-in-one youtube-dl
+# 'frozen' binary, which we don't want, but setup.py will overwrite that.
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
+
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
+
+gzip $PKG/usr/man/man*/*
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# 20230627 bkw: this empty dir gets created, but we don't need it.
+rmdir $PKG/usr/doc/youtube_dl
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md LICENSE AUTHORS ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
@@ -90,7 +104,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/youtube-dl/youtube-dl.info b/network/youtube-dl/youtube-dl.info
index 6e6c349755..31283cb3ac 100644
--- a/network/youtube-dl/youtube-dl.info
+++ b/network/youtube-dl/youtube-dl.info
@@ -1,10 +1,10 @@
PRGNAM="youtube-dl"
-VERSION="2021.02.10"
-HOMEPAGE="http://www.yt-dl.org/"
-DOWNLOAD="https://yt-dl.org/downloads/2021.02.10/youtube-dl-2021.02.10.tar.gz"
-MD5SUM="83f3ebba8842ffd6d962140514ad7936"
+VERSION="2021.12.17+20240122_dc512e3a8"
+HOMEPAGE="https://github.com/ytdl-org/youtube-dl"
+DOWNLOAD="https://downloads.sourceforge.net/project/dslackw/src/youtube-dl/youtube-dl-2021.12.17%2B20240122_dc512e3a8.tar.xz"
+MD5SUM="2d69b297389b1a890811d01fb772b49f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/network/youtube-upload/youtube-upload.SlackBuild b/network/youtube-upload/youtube-upload.SlackBuild
index 261103bfa8..5ee1fcd93f 100644
--- a/network/youtube-upload/youtube-upload.SlackBuild
+++ b/network/youtube-upload/youtube-upload.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "youtube-upload".
@@ -24,26 +24,36 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=youtube-upload
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/youtube-upload/youtube-upload.info b/network/youtube-upload/youtube-upload.info
index 7706a92636..e71d44f433 100644
--- a/network/youtube-upload/youtube-upload.info
+++ b/network/youtube-upload/youtube-upload.info
@@ -1,10 +1,10 @@
PRGNAM="youtube-upload"
VERSION="0.8.0"
HOMEPAGE="https://github.com/tokland/youtube-upload/"
-DOWNLOAD="https://github.com/tokland/youtube-upload/archive/0.8.0.tar.gz"
+DOWNLOAD="https://github.com/tokland/youtube-upload/archive/0.8.0/youtube-upload-0.8.0.tar.gz"
MD5SUM="71c7c31f340b3b3ae30ffbe8dd23b0c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="progressbar google-api-python-client six"
+REQUIRES="progressbar google-api-python-client"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/network/yt-dlp/README b/network/yt-dlp/README
new file mode 100644
index 0000000000..d734d0d4a5
--- /dev/null
+++ b/network/yt-dlp/README
@@ -0,0 +1,34 @@
+yt-dlp (download videos from youtube)
+
+yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The
+main focus of this project is adding new features and patches while
+also keeping up to date with the original project.
+
+yt-dlp has several optional runtime dependencies, which aren't
+required for most common use cases. They don't have to be installed
+before yt-dlp is built, and can be installed after yt-dlp (which won't
+need a rebuild).
+
+mutagen: Required for embedding thumbnails in mp4 files (the
+--embed-thumbnail option).
+
+phantomjs: Used in extractors where JavaScript needs to be run. It's
+not clear to the SlackBuild author which content providers need this;
+YouTube does not.
+
+python3-websockets: Required for downloading over WebSocket ("ws://"
+and "wss://" URLs). If you've never heard of the WebSocket protocol,
+you probably don't need this.
+
+pycryptodomex: For decrypting AES-128 HLS streams and various other
+data. It's not clear to the SlackBuild author what content providers
+use AES-128. YouTube does not, that I've ever seen.
+
+secretstorage: For --cookies-from-browser to access the Gnome keyring
+while decrypting cookies of Chromium-based browsers on Linux.
+
+xattr: For the --xattrs and --xattr-set-filesize option.
+
+If you do not have the necessary dependencies for a task you are
+attempting, yt-dlp will warn you. All the currently available
+dependencies are visible at the top of the --verbose output.
diff --git a/network/yt-dlp/slack-desc b/network/yt-dlp/slack-desc
new file mode 100644
index 0000000000..a57ef03f5b
--- /dev/null
+++ b/network/yt-dlp/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+yt-dlp: yt-dlp (download videos from youtube)
+yt-dlp:
+yt-dlp: yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The
+yt-dlp: main focus of this project is adding new features and patches while
+yt-dlp: also keeping up to date with the original project.
+yt-dlp:
+yt-dlp:
+yt-dlp:
+yt-dlp:
+yt-dlp:
+yt-dlp:
diff --git a/network/yt-dlp/yt-dlp.1 b/network/yt-dlp/yt-dlp.1
new file mode 100644
index 0000000000..93f52b4056
--- /dev/null
+++ b/network/yt-dlp/yt-dlp.1
@@ -0,0 +1,3324 @@
+.\"t
+.\" Automatically generated by Pandoc 2.9.2.1
+.\"
+.TH "yt-dlp" "1" "" "" ""
+.hy
+.SH NAME
+.PP
+yt-dlp - A youtube-dl fork with additional features and patches
+.SH SYNOPSIS
+.PP
+\f[B]yt-dlp\f[R] [OPTIONS] URL [URL...]
+.SH DESCRIPTION
+.PP
+yt-dlp is a youtube-dl (https://github.com/ytdl-org/youtube-dl) fork
+based on the now inactive
+youtube-dlc (https://github.com/blackjack4494/yt-dlc).
+The main focus of this project is adding new features and patches while
+also keeping up to date with the original project
+.SH OPTIONS
+.SS General Options:
+.TP
+-h, --help
+Print this help text and exit
+.TP
+--version
+Print program version and exit
+.TP
+-U, --update
+Update this program to the latest version
+.TP
+--no-update
+Do not check for updates (default)
+.TP
+--update-to \f[I][CHANNEL]\[at][TAG]\f[R]
+Upgrade/downgrade to a specific version.
+CHANNEL can be a repository as well.
+CHANNEL and TAG default to \[dq]stable\[dq] and \[dq]latest\[dq]
+respectively if omitted; See \[dq]UPDATE\[dq] for details.
+Supported channels: stable, nightly, master
+.TP
+-i, --ignore-errors
+Ignore download and postprocessing errors.
+The download will be considered successful even if the postprocessing
+fails
+.TP
+--no-abort-on-error
+Continue with next video on download errors; e.g.
+to skip unavailable videos in a playlist (default)
+.TP
+--abort-on-error
+Abort downloading of further videos if an error occurs (Alias:
+--no-ignore-errors)
+.TP
+--dump-user-agent
+Display the current user-agent and exit
+.TP
+--list-extractors
+List all supported extractors and exit
+.TP
+--extractor-descriptions
+Output descriptions of all supported extractors and exit
+.TP
+--use-extractors \f[I]NAMES\f[R]
+Extractor names to use separated by commas.
+You can also use regexes, \[dq]all\[dq], \[dq]default\[dq] and
+\[dq]end\[dq] (end URL matching); e.g.
+--ies \[dq]holodex.*,end,youtube\[dq].
+Prefix the name with a \[dq]-\[dq] to exclude it, e.g.
+--ies default,-generic.
+Use --list-extractors for a list of extractor names.
+(Alias: --ies)
+.TP
+--default-search \f[I]PREFIX\f[R]
+Use this prefix for unqualified URLs.
+E.g.
+\[dq]gvsearch2:python\[dq] downloads two videos from google videos for
+the search term \[dq]python\[dq].
+Use the value \[dq]auto\[dq] to let yt-dlp guess (\[dq]auto_warning\[dq]
+to emit a warning when guessing).
+\[dq]error\[dq] just throws an error.
+The default value \[dq]fixup_error\[dq] repairs broken URLs, but emits
+an error if this is not possible instead of searching
+.TP
+--ignore-config
+Don\[aq]t load any more configuration files except those given by
+--config-locations.
+For backward compatibility, if this option is found inside the system
+configuration file, the user configuration is not loaded.
+(Alias: --no-config)
+.TP
+--no-config-locations
+Do not load any custom configuration files (default).
+When given inside a configuration file, ignore all previous
+--config-locations defined in the current file
+.TP
+--config-locations \f[I]PATH\f[R]
+Location of the main configuration file; either the path to the config
+or its containing directory (\[dq]-\[dq] for stdin).
+Can be used multiple times and inside other configuration files
+.TP
+--flat-playlist
+Do not extract the videos of a playlist, only list them
+.TP
+--no-flat-playlist
+Fully extract the videos of a playlist (default)
+.TP
+--live-from-start
+Download livestreams from the start.
+Currently only supported for YouTube (Experimental)
+.TP
+--no-live-from-start
+Download livestreams from the current time (default)
+.TP
+--wait-for-video \f[I]MIN[-MAX]\f[R]
+Wait for scheduled streams to become available.
+Pass the minimum number of seconds (or range) to wait between retries
+.TP
+--no-wait-for-video
+Do not wait for scheduled streams (default)
+.TP
+--mark-watched
+Mark videos watched (even with --simulate)
+.TP
+--no-mark-watched
+Do not mark videos watched (default)
+.TP
+--color \f[I][STREAM:]POLICY\f[R]
+Whether to emit color codes in output, optionally prefixed by the STREAM
+(stdout or stderr) to apply the setting to.
+Can be one of \[dq]always\[dq], \[dq]auto\[dq] (default),
+\[dq]never\[dq], or \[dq]no_color\[dq] (use non color terminal
+sequences).
+Can be used multiple times
+.TP
+--compat-options \f[I]OPTS\f[R]
+Options that can help keep compatibility with youtube-dl or youtube-dlc
+configurations by reverting some of the changes made in yt-dlp.
+See \[dq]Differences in default behavior\[dq] for details
+.TP
+--alias \f[I]ALIASES OPTIONS\f[R]
+Create aliases for an option string.
+Unless an alias starts with a dash \[dq]-\[dq], it is prefixed with
+\[dq]--\[dq].
+Arguments are parsed according to the Python string formatting
+mini-language.
+E.g.
+--alias get-audio,-X \[dq]-S=aext:{0},abr -x --audio-format {0}\[dq]
+creates options \[dq]--get-audio\[dq] and \[dq]-X\[dq] that takes an
+argument (ARG0) and expands to \[dq]-S=aext:ARG0,abr -x --audio-format
+ARG0\[dq].
+All defined aliases are listed in the --help output.
+Alias options can trigger more aliases; so be careful to avoid defining
+recursive options.
+As a safety measure, each alias may be triggered a maximum of 100 times.
+This option can be used multiple times
+.SS Network Options:
+.TP
+--proxy \f[I]URL\f[R]
+Use the specified HTTP/HTTPS/SOCKS proxy.
+To enable SOCKS proxy, specify a proper scheme, e.g.
+socks5://user:pass\[at]127.0.0.1:1080/.
+Pass in an empty string (--proxy \[dq]\[dq]) for direct connection
+.TP
+--socket-timeout \f[I]SECONDS\f[R]
+Time to wait before giving up, in seconds
+.TP
+--source-address \f[I]IP\f[R]
+Client-side IP address to bind to
+.TP
+-4, --force-ipv4
+Make all connections via IPv4
+.TP
+-6, --force-ipv6
+Make all connections via IPv6
+.TP
+--enable-file-urls
+Enable file:// URLs.
+This is disabled by default for security reasons.
+.SS Geo-restriction:
+.TP
+--geo-verification-proxy \f[I]URL\f[R]
+Use this proxy to verify the IP address for some geo-restricted sites.
+The default proxy specified by --proxy (or none, if the option is not
+present) is used for the actual downloading
+.TP
+--xff \f[I]VALUE\f[R]
+How to fake X-Forwarded-For HTTP header to try bypassing geographic
+restriction.
+One of \[dq]default\[dq] (only when known to be useful),
+\[dq]never\[dq], an IP block in CIDR notation, or a two-letter ISO
+3166-2 country code
+.SS Video Selection:
+.TP
+-I, --playlist-items \f[I]ITEM_SPEC\f[R]
+Comma separated playlist_index of the items to download.
+You can specify a range using \[dq][START]:[STOP][:STEP]\[dq].
+For backward compatibility, START-STOP is also supported.
+Use negative indices to count from the right and negative STEP to
+download in reverse order.
+E.g.
+\[dq]-I 1:3,7,-5::2\[dq] used on a playlist of size 15 will download the
+items at index 1,2,3,7,11,13,15
+.TP
+--min-filesize \f[I]SIZE\f[R]
+Abort download if filesize is smaller than SIZE, e.g.
+50k or 44.6M
+.TP
+--max-filesize \f[I]SIZE\f[R]
+Abort download if filesize is larger than SIZE, e.g.
+50k or 44.6M
+.TP
+--date \f[I]DATE\f[R]
+Download only videos uploaded on this date.
+The date can be \[dq]YYYYMMDD\[dq] or in the format
+[now|today|yesterday][-N[day|week|month|year]].
+E.g.
+\[dq]--date today-2weeks\[dq] downloads only videos uploaded on the same
+day two weeks ago
+.TP
+--datebefore \f[I]DATE\f[R]
+Download only videos uploaded on or before this date.
+The date formats accepted is the same as --date
+.TP
+--dateafter \f[I]DATE\f[R]
+Download only videos uploaded on or after this date.
+The date formats accepted is the same as --date
+.TP
+--match-filters \f[I]FILTER\f[R]
+Generic video filter.
+Any \[dq]OUTPUT TEMPLATE\[dq] field can be compared with a number or a
+string using the operators defined in \[dq]Filtering Formats\[dq].
+You can also simply specify a field to match if the field is present,
+use \[dq]!field\[dq] to check if the field is not present, and
+\[dq]&\[dq] to check multiple conditions.
+Use a \[dq]\[dq] to escape \[dq]&\[dq] or quotes if needed.
+If used multiple times, the filter matches if atleast one of the
+conditions are met.
+E.g.
+--match-filter !is_live --match-filter \[dq]like_count>?100 &
+description\[ti]=\[aq](?i)& dogs\[dq] matches only videos that are not
+live OR those that have a like count more than 100 (or the like field is
+not available) and also has a description that contains the phrase
+\[dq]cats & dogs\[dq] (caseless).
+Use \[dq]--match-filter -\[dq] to interactively ask whether to download
+each video
+.TP
+--no-match-filters
+Do not use any --match-filter (default)
+.TP
+--break-match-filters \f[I]FILTER\f[R]
+Same as \[dq]--match-filters\[dq] but stops the download process when a
+video is rejected
+.TP
+--no-break-match-filters
+Do not use any --break-match-filters (default)
+.TP
+--no-playlist
+Download only the video, if the URL refers to a video and a playlist
+.TP
+--yes-playlist
+Download the playlist, if the URL refers to a video and a playlist
+.TP
+--age-limit \f[I]YEARS\f[R]
+Download only videos suitable for the given age
+.TP
+--download-archive \f[I]FILE\f[R]
+Download only videos not listed in the archive file.
+Record the IDs of all downloaded videos in it
+.TP
+--no-download-archive
+Do not use archive file (default)
+.TP
+--max-downloads \f[I]NUMBER\f[R]
+Abort after downloading NUMBER files
+.TP
+--break-on-existing
+Stop the download process when encountering a file that is in the
+archive
+.TP
+--break-per-input
+Alters --max-downloads, --break-on-existing, --break-match-filter, and
+autonumber to reset per input URL
+.TP
+--no-break-per-input
+--break-on-existing and similar options terminates the entire download
+queue
+.TP
+--skip-playlist-after-errors \f[I]N\f[R]
+Number of allowed failures until the rest of the playlist is skipped
+.SS Download Options:
+.TP
+-N, --concurrent-fragments \f[I]N\f[R]
+Number of fragments of a dash/hlsnative video that should be downloaded
+concurrently (default is 1)
+.TP
+-r, --limit-rate \f[I]RATE\f[R]
+Maximum download rate in bytes per second, e.g.
+50K or 4.2M
+.TP
+--throttled-rate \f[I]RATE\f[R]
+Minimum download rate in bytes per second below which throttling is
+assumed and the video data is re-extracted, e.g.
+100K
+.TP
+-R, --retries \f[I]RETRIES\f[R]
+Number of retries (default is 10), or \[dq]infinite\[dq]
+.TP
+--file-access-retries \f[I]RETRIES\f[R]
+Number of times to retry on file access error (default is 3), or
+\[dq]infinite\[dq]
+.TP
+--fragment-retries \f[I]RETRIES\f[R]
+Number of retries for a fragment (default is 10), or \[dq]infinite\[dq]
+(DASH, hlsnative and ISM)
+.TP
+--retry-sleep \f[I][TYPE:]EXPR\f[R]
+Time to sleep between retries in seconds (optionally) prefixed by the
+type of retry (http (default), fragment, file_access, extractor) to
+apply the sleep to.
+EXPR can be a number, linear=START[:END[:STEP=1]] or
+exp=START[:END[:BASE=2]].
+This option can be used multiple times to set the sleep for the
+different retry types, e.g.
+--retry-sleep linear=1::2 --retry-sleep fragment:exp=1:20
+.TP
+--skip-unavailable-fragments
+Skip unavailable fragments for DASH, hlsnative and ISM downloads
+(default) (Alias: --no-abort-on-unavailable-fragments)
+.TP
+--abort-on-unavailable-fragments
+Abort download if a fragment is unavailable (Alias:
+--no-skip-unavailable-fragments)
+.TP
+--keep-fragments
+Keep downloaded fragments on disk after downloading is finished
+.TP
+--no-keep-fragments
+Delete downloaded fragments after downloading is finished (default)
+.TP
+--buffer-size \f[I]SIZE\f[R]
+Size of download buffer, e.g.
+1024 or 16K (default is 1024)
+.TP
+--resize-buffer
+The buffer size is automatically resized from an initial value of
+--buffer-size (default)
+.TP
+--no-resize-buffer
+Do not automatically adjust the buffer size
+.TP
+--http-chunk-size \f[I]SIZE\f[R]
+Size of a chunk for chunk-based HTTP downloading, e.g.
+10485760 or 10M (default is disabled).
+May be useful for bypassing bandwidth throttling imposed by a webserver
+(experimental)
+.TP
+--playlist-random
+Download playlist videos in random order
+.TP
+--lazy-playlist
+Process entries in the playlist as they are received.
+This disables n_entries, --playlist-random and --playlist-reverse
+.TP
+--no-lazy-playlist
+Process videos in the playlist only after the entire playlist is parsed
+(default)
+.TP
+--xattr-set-filesize
+Set file xattribute ytdl.filesize with expected file size
+.TP
+--hls-use-mpegts
+Use the mpegts container for HLS videos; allowing some players to play
+the video while downloading, and reducing the chance of file corruption
+if download is interrupted.
+This is enabled by default for live streams
+.TP
+--no-hls-use-mpegts
+Do not use the mpegts container for HLS videos.
+This is default when not downloading live streams
+.TP
+--download-sections \f[I]REGEX\f[R]
+Download only chapters that match the regular expression.
+A \[dq]\f[I]\[dq] prefix denotes time-range instead of chapter. Negative
+timestamps are calculated from the end. \[dq]\f[R]from-url\[dq] can be
+used to download between the \[dq]start_time\[dq] and \[dq]end_time\[dq]
+extracted from the URL.
+Needs ffmpeg.
+This option can be used multiple times to download multiple sections,
+e.g.
+--download-sections \[dq]*10:15-inf\[dq] --download-sections
+\[dq]intro\[dq]
+.TP
+--downloader \f[I][PROTO:]NAME\f[R]
+Name or path of the external downloader to use (optionally) prefixed by
+the protocols (http, ftp, m3u8, dash, rstp, rtmp, mms) to use it for.
+Currently supports native, aria2c, avconv, axel, curl, ffmpeg, httpie,
+wget.
+You can use this option multiple times to set different downloaders for
+different protocols.
+E.g.
+--downloader aria2c --downloader \[dq]dash,m3u8:native\[dq] will use
+aria2c for http/ftp downloads, and the native downloader for dash/m3u8
+downloads (Alias: --external-downloader)
+.TP
+--downloader-args \f[I]NAME:ARGS\f[R]
+Give these arguments to the external downloader.
+Specify the downloader name and the arguments separated by a colon
+\[dq]:\[dq].
+For ffmpeg, arguments can be passed to different positions using the
+same syntax as --postprocessor-args.
+You can use this option multiple times to give different arguments to
+different downloaders (Alias: --external-downloader-args)
+.SS Filesystem Options:
+.TP
+-a, --batch-file \f[I]FILE\f[R]
+File containing URLs to download (\[dq]-\[dq] for stdin), one URL per
+line.
+Lines starting with \[dq]#\[dq], \[dq];\[dq] or \[dq]]\[dq] are
+considered as comments and ignored
+.TP
+--no-batch-file
+Do not read URLs from batch file (default)
+.TP
+-P, --paths \f[I][TYPES:]PATH\f[R]
+The paths where the files should be downloaded.
+Specify the type of file and the path separated by a colon \[dq]:\[dq].
+All the same TYPES as --output are supported.
+Additionally, you can also provide \[dq]home\[dq] (default) and
+\[dq]temp\[dq] paths.
+All intermediary files are first downloaded to the temp path and then
+the final files are moved over to the home path after download is
+finished.
+This option is ignored if --output is an absolute path
+.TP
+-o, --output \f[I][TYPES:]TEMPLATE\f[R]
+Output filename template; see \[dq]OUTPUT TEMPLATE\[dq] for details
+.TP
+--output-na-placeholder \f[I]TEXT\f[R]
+Placeholder for unavailable fields in \[dq]OUTPUT TEMPLATE\[dq]
+(default: \[dq]NA\[dq])
+.TP
+--restrict-filenames
+Restrict filenames to only ASCII characters, and avoid \[dq]&\[dq] and
+spaces in filenames
+.TP
+--no-restrict-filenames
+Allow Unicode characters, \[dq]&\[dq] and spaces in filenames (default)
+.TP
+--windows-filenames
+Force filenames to be Windows-compatible
+.TP
+--no-windows-filenames
+Make filenames Windows-compatible only if using Windows (default)
+.TP
+--trim-filenames \f[I]LENGTH\f[R]
+Limit the filename length (excluding extension) to the specified number
+of characters
+.TP
+-w, --no-overwrites
+Do not overwrite any files
+.TP
+--force-overwrites
+Overwrite all video and metadata files.
+This option includes --no-continue
+.TP
+--no-force-overwrites
+Do not overwrite the video, but overwrite related files (default)
+.TP
+-c, --continue
+Resume partially downloaded files/fragments (default)
+.TP
+--no-continue
+Do not resume partially downloaded fragments.
+If the file is not fragmented, restart download of the entire file
+.TP
+--part
+Use .part files instead of writing directly into output file (default)
+.TP
+--no-part
+Do not use .part files - write directly into output file
+.TP
+--mtime
+Use the Last-modified header to set the file modification time (default)
+.TP
+--no-mtime
+Do not use the Last-modified header to set the file modification time
+.TP
+--write-description
+Write video description to a .description file
+.TP
+--no-write-description
+Do not write video description (default)
+.TP
+--write-info-json
+Write video metadata to a .info.json file (this may contain personal
+information)
+.TP
+--no-write-info-json
+Do not write video metadata (default)
+.TP
+--write-playlist-metafiles
+Write playlist metadata in addition to the video metadata when using
+--write-info-json, --write-description etc.
+(default)
+.TP
+--no-write-playlist-metafiles
+Do not write playlist metadata when using --write-info-json,
+--write-description etc.
+.TP
+--clean-info-json
+Remove some internal metadata such as filenames from the infojson
+(default)
+.TP
+--no-clean-info-json
+Write all fields to the infojson
+.TP
+--write-comments
+Retrieve video comments to be placed in the infojson.
+The comments are fetched even without this option if the extraction is
+known to be quick (Alias: --get-comments)
+.TP
+--no-write-comments
+Do not retrieve video comments unless the extraction is known to be
+quick (Alias: --no-get-comments)
+.TP
+--load-info-json \f[I]FILE\f[R]
+JSON file containing the video information (created with the
+\[dq]--write-info-json\[dq] option)
+.TP
+--cookies \f[I]FILE\f[R]
+Netscape formatted file to read cookies from and dump cookie jar in
+.TP
+--no-cookies
+Do not read/dump cookies from/to file (default)
+.TP
+--cookies-from-browser \f[I]BROWSER[+KEYRING][:PROFILE][::CONTAINER]\f[R]
+The name of the browser to load cookies from.
+Currently supported browsers are: brave, chrome, chromium, edge,
+firefox, opera, safari, vivaldi.
+Optionally, the KEYRING used for decrypting Chromium cookies on Linux,
+the name/path of the PROFILE to load cookies from, and the CONTAINER
+name (if Firefox) (\[dq]none\[dq] for no container) can be given with
+their respective seperators.
+By default, all containers of the most recently accessed profile are
+used.
+Currently supported keyrings are: basictext, gnomekeyring, kwallet,
+kwallet5, kwallet6
+.TP
+--no-cookies-from-browser
+Do not load cookies from browser (default)
+.TP
+--cache-dir \f[I]DIR\f[R]
+Location in the filesystem where yt-dlp can store some downloaded
+information (such as client ids and signatures) permanently.
+By default ${XDG_CACHE_HOME}/yt-dlp
+.TP
+--no-cache-dir
+Disable filesystem caching
+.TP
+--rm-cache-dir
+Delete all filesystem cache files
+.SS Thumbnail Options:
+.TP
+--write-thumbnail
+Write thumbnail image to disk
+.TP
+--no-write-thumbnail
+Do not write thumbnail image to disk (default)
+.TP
+--write-all-thumbnails
+Write all thumbnail image formats to disk
+.TP
+--list-thumbnails
+List available thumbnails of each video.
+Simulate unless --no-simulate is used
+.SS Internet Shortcut Options:
+.TP
+--write-link
+Write an internet shortcut file, depending on the current platform
+(.url, .webloc or .desktop).
+The URL may be cached by the OS
+.TP
+--write-url-link
+Write a .url Windows internet shortcut.
+The OS caches the URL based on the file path
+.TP
+--write-webloc-link
+Write a .webloc macOS internet shortcut
+.TP
+--write-desktop-link
+Write a .desktop Linux internet shortcut
+.SS Verbosity and Simulation Options:
+.TP
+-q, --quiet
+Activate quiet mode.
+If used with --verbose, print the log to stderr
+.TP
+--no-quiet
+Deactivate quiet mode.
+(Default)
+.TP
+--no-warnings
+Ignore warnings
+.TP
+-s, --simulate
+Do not download the video and do not write anything to disk
+.TP
+--no-simulate
+Download the video even if printing/listing options are used
+.TP
+--ignore-no-formats-error
+Ignore \[dq]No video formats\[dq] error.
+Useful for extracting metadata even if the videos are not actually
+available for download (experimental)
+.TP
+--no-ignore-no-formats-error
+Throw error when no downloadable video formats are found (default)
+.TP
+--skip-download
+Do not download the video but write all related files (Alias:
+--no-download)
+.TP
+-O, --print \f[I][WHEN:]TEMPLATE\f[R]
+Field name or output template to print to screen, optionally prefixed
+with when to print it, separated by a \[dq]:\[dq].
+Supported values of \[dq]WHEN\[dq] are the same as that of
+--use-postprocessor (default: video).
+Implies --quiet.
+Implies --simulate unless --no-simulate or later stages of WHEN are
+used.
+This option can be used multiple times
+.TP
+--print-to-file \f[I][WHEN:]TEMPLATE FILE\f[R]
+Append given template to the file.
+The values of WHEN and TEMPLATE are same as that of --print.
+FILE uses the same syntax as the output template.
+This option can be used multiple times
+.TP
+-j, --dump-json
+Quiet, but print JSON information for each video.
+Simulate unless --no-simulate is used.
+See \[dq]OUTPUT TEMPLATE\[dq] for a description of available keys
+.TP
+-J, --dump-single-json
+Quiet, but print JSON information for each url or infojson passed.
+Simulate unless --no-simulate is used.
+If the URL refers to a playlist, the whole playlist information is
+dumped in a single line
+.TP
+--force-write-archive
+Force download archive entries to be written as far as no errors occur,
+even if -s or another simulation option is used (Alias:
+--force-download-archive)
+.TP
+--newline
+Output progress bar as new lines
+.TP
+--no-progress
+Do not print progress bar
+.TP
+--progress
+Show progress bar, even if in quiet mode
+.TP
+--console-title
+Display progress in console titlebar
+.TP
+--progress-template \f[I][TYPES:]TEMPLATE\f[R]
+Template for progress outputs, optionally prefixed with one of
+\[dq]download:\[dq] (default), \[dq]download-title:\[dq] (the console
+title), \[dq]postprocess:\[dq], or \[dq]postprocess-title:\[dq].
+The video\[aq]s fields are accessible under the \[dq]info\[dq] key and
+the progress attributes are accessible under \[dq]progress\[dq] key.
+E.g.
+--console-title --progress-template
+\[dq]download-title:%(info.id)s-%(progress.eta)s\[dq]
+.TP
+-v, --verbose
+Print various debugging information
+.TP
+--dump-pages
+Print downloaded pages encoded using base64 to debug problems (very
+verbose)
+.TP
+--write-pages
+Write downloaded intermediary pages to files in the current directory to
+debug problems
+.TP
+--print-traffic
+Display sent and read HTTP traffic
+.SS Workarounds:
+.TP
+--encoding \f[I]ENCODING\f[R]
+Force the specified encoding (experimental)
+.TP
+--legacy-server-connect
+Explicitly allow HTTPS connection to servers that do not support RFC
+5746 secure renegotiation
+.TP
+--no-check-certificates
+Suppress HTTPS certificate validation
+.TP
+--prefer-insecure
+Use an unencrypted connection to retrieve information about the video
+(Currently supported only for YouTube)
+.TP
+--add-headers \f[I]FIELD:VALUE\f[R]
+Specify a custom HTTP header and its value, separated by a colon
+\[dq]:\[dq].
+You can use this option multiple times
+.TP
+--bidi-workaround
+Work around terminals that lack bidirectional text support.
+Requires bidiv or fribidi executable in PATH
+.TP
+--sleep-requests \f[I]SECONDS\f[R]
+Number of seconds to sleep between requests during data extraction
+.TP
+--sleep-interval \f[I]SECONDS\f[R]
+Number of seconds to sleep before each download.
+This is the minimum time to sleep when used along with
+--max-sleep-interval (Alias: --min-sleep-interval)
+.TP
+--max-sleep-interval \f[I]SECONDS\f[R]
+Maximum number of seconds to sleep.
+Can only be used along with --min-sleep-interval
+.TP
+--sleep-subtitles \f[I]SECONDS\f[R]
+Number of seconds to sleep before each subtitle download
+.SS Video Format Options:
+.TP
+-f, --format \f[I]FORMAT\f[R]
+Video format code, see \[dq]FORMAT SELECTION\[dq] for more details
+.TP
+-S, --format-sort \f[I]SORTORDER\f[R]
+Sort the formats by the fields given, see \[dq]Sorting Formats\[dq] for
+more details
+.TP
+--format-sort-force
+Force user specified sort order to have precedence over all fields, see
+\[dq]Sorting Formats\[dq] for more details (Alias: --S-force)
+.TP
+--no-format-sort-force
+Some fields have precedence over the user specified sort order (default)
+.TP
+--video-multistreams
+Allow multiple video streams to be merged into a single file
+.TP
+--no-video-multistreams
+Only one video stream is downloaded for each output file (default)
+.TP
+--audio-multistreams
+Allow multiple audio streams to be merged into a single file
+.TP
+--no-audio-multistreams
+Only one audio stream is downloaded for each output file (default)
+.TP
+--prefer-free-formats
+Prefer video formats with free containers over non-free ones of same
+quality.
+Use with \[dq]-S ext\[dq] to strictly prefer free containers
+irrespective of quality
+.TP
+--no-prefer-free-formats
+Don\[aq]t give any special preference to free containers (default)
+.TP
+--check-formats
+Make sure formats are selected only from those that are actually
+downloadable
+.TP
+--check-all-formats
+Check all formats for whether they are actually downloadable
+.TP
+--no-check-formats
+Do not check that the formats are actually downloadable
+.TP
+-F, --list-formats
+List available formats of each video.
+Simulate unless --no-simulate is used
+.TP
+--merge-output-format \f[I]FORMAT\f[R]
+Containers that may be used when merging formats, separated by
+\[dq]/\[dq], e.g.
+\[dq]mp4/mkv\[dq].
+Ignored if no merge is required.
+(currently supported: avi, flv, mkv, mov, mp4, webm)
+.SS Subtitle Options:
+.TP
+--write-subs
+Write subtitle file
+.TP
+--no-write-subs
+Do not write subtitle file (default)
+.TP
+--write-auto-subs
+Write automatically generated subtitle file (Alias:
+--write-automatic-subs)
+.TP
+--no-write-auto-subs
+Do not write auto-generated subtitles (default) (Alias:
+--no-write-automatic-subs)
+.TP
+--list-subs
+List available subtitles of each video.
+Simulate unless --no-simulate is used
+.TP
+--sub-format \f[I]FORMAT\f[R]
+Subtitle format; accepts formats preference, e.g.
+\[dq]srt\[dq] or \[dq]ass/srt/best\[dq]
+.TP
+--sub-langs \f[I]LANGS\f[R]
+Languages of the subtitles to download (can be regex) or \[dq]all\[dq]
+separated by commas, e.g.
+--sub-langs \[dq]en.*,ja\[dq].
+You can prefix the language code with a \[dq]-\[dq] to exclude it from
+the requested languages, e.g.
+--sub-langs all,-live_chat.
+Use --list-subs for a list of available language tags
+.SS Authentication Options:
+.TP
+-u, --username \f[I]USERNAME\f[R]
+Login with this account ID
+.TP
+-p, --password \f[I]PASSWORD\f[R]
+Account password.
+If this option is left out, yt-dlp will ask interactively
+.TP
+-2, --twofactor \f[I]TWOFACTOR\f[R]
+Two-factor authentication code
+.TP
+-n, --netrc
+Use .netrc authentication data
+.TP
+--netrc-location \f[I]PATH\f[R]
+Location of .netrc authentication data; either the path or its
+containing directory.
+Defaults to \[ti]/.netrc
+.TP
+--netrc-cmd \f[I]NETRC_CMD\f[R]
+Command to execute to get the credentials for an extractor.
+.TP
+--video-password \f[I]PASSWORD\f[R]
+Video-specific password
+.TP
+--ap-mso \f[I]MSO\f[R]
+Adobe Pass multiple-system operator (TV provider) identifier, use
+--ap-list-mso for a list of available MSOs
+.TP
+--ap-username \f[I]USERNAME\f[R]
+Multiple-system operator account login
+.TP
+--ap-password \f[I]PASSWORD\f[R]
+Multiple-system operator account password.
+If this option is left out, yt-dlp will ask interactively
+.TP
+--ap-list-mso
+List all supported multiple-system operators
+.TP
+--client-certificate \f[I]CERTFILE\f[R]
+Path to client certificate file in PEM format.
+May include the private key
+.TP
+--client-certificate-key \f[I]KEYFILE\f[R]
+Path to private key file for client certificate
+.TP
+--client-certificate-password \f[I]PASSWORD\f[R]
+Password for client certificate private key, if encrypted.
+If not provided, and the key is encrypted, yt-dlp will ask interactively
+.SS Post-Processing Options:
+.TP
+-x, --extract-audio
+Convert video files to audio-only files (requires ffmpeg and ffprobe)
+.TP
+--audio-format \f[I]FORMAT\f[R]
+Format to convert the audio to when -x is used.
+(currently supported: best (default), aac, alac, flac, m4a, mp3, opus,
+vorbis, wav).
+You can specify multiple rules using similar syntax as --remux-video
+.TP
+--audio-quality \f[I]QUALITY\f[R]
+Specify ffmpeg audio quality to use when converting the audio with -x.
+Insert a value between 0 (best) and 10 (worst) for VBR or a specific
+bitrate like 128K (default 5)
+.TP
+--remux-video \f[I]FORMAT\f[R]
+Remux the video into another container if necessary (currently
+supported: avi, flv, gif, mkv, mov, mp4, webm, aac, aiff, alac, flac,
+m4a, mka, mp3, ogg, opus, vorbis, wav).
+If target container does not support the video/audio codec, remuxing
+will fail.
+You can specify multiple rules; e.g.
+\[dq]aac>m4a/mov>mp4/mkv\[dq] will remux aac to m4a, mov to mp4 and
+anything else to mkv
+.TP
+--recode-video \f[I]FORMAT\f[R]
+Re-encode the video into another format if necessary.
+The syntax and supported formats are the same as --remux-video
+.TP
+--postprocessor-args \f[I]NAME:ARGS\f[R]
+Give these arguments to the postprocessors.
+Specify the postprocessor/executable name and the arguments separated by
+a colon \[dq]:\[dq] to give the argument to the specified
+postprocessor/executable.
+Supported PP are: Merger, ModifyChapters, SplitChapters, ExtractAudio,
+VideoRemuxer, VideoConvertor, Metadata, EmbedSubtitle, EmbedThumbnail,
+SubtitlesConvertor, ThumbnailsConvertor, FixupStretched, FixupM4a,
+FixupM3u8, FixupTimestamp and FixupDuration.
+The supported executables are: AtomicParsley, FFmpeg and FFprobe.
+You can also specify \[dq]PP+EXE:ARGS\[dq] to give the arguments to the
+specified executable only when being used by the specified
+postprocessor.
+Additionally, for ffmpeg/ffprobe, \[dq]_i\[dq]/\[dq]_o\[dq] can be
+appended to the prefix optionally followed by a number to pass the
+argument before the specified input/output file, e.g.
+--ppa \[dq]Merger+ffmpeg_i1:-v quiet\[dq].
+You can use this option multiple times to give different arguments to
+different postprocessors.
+(Alias: --ppa)
+.TP
+-k, --keep-video
+Keep the intermediate video file on disk after post-processing
+.TP
+--no-keep-video
+Delete the intermediate video file after post-processing (default)
+.TP
+--post-overwrites
+Overwrite post-processed files (default)
+.TP
+--no-post-overwrites
+Do not overwrite post-processed files
+.TP
+--embed-subs
+Embed subtitles in the video (only for mp4, webm and mkv videos)
+.TP
+--no-embed-subs
+Do not embed subtitles (default)
+.TP
+--embed-thumbnail
+Embed thumbnail in the video as cover art
+.TP
+--no-embed-thumbnail
+Do not embed thumbnail (default)
+.TP
+--embed-metadata
+Embed metadata to the video file.
+Also embeds chapters/infojson if present unless
+--no-embed-chapters/--no-embed-info-json are used (Alias:
+--add-metadata)
+.TP
+--no-embed-metadata
+Do not add metadata to file (default) (Alias: --no-add-metadata)
+.TP
+--embed-chapters
+Add chapter markers to the video file (Alias: --add-chapters)
+.TP
+--no-embed-chapters
+Do not add chapter markers (default) (Alias: --no-add-chapters)
+.TP
+--embed-info-json
+Embed the infojson as an attachment to mkv/mka video files
+.TP
+--no-embed-info-json
+Do not embed the infojson as an attachment to the video file
+.TP
+--parse-metadata \f[I][WHEN:]FROM:TO\f[R]
+Parse additional metadata like title/artist from other fields; see
+\[dq]MODIFYING METADATA\[dq] for details.
+Supported values of \[dq]WHEN\[dq] are the same as that of
+--use-postprocessor (default: pre_process)
+.TP
+--replace-in-metadata \f[I][WHEN:]FIELDS REGEX REPLACE\f[R]
+Replace text in a metadata field using the given regex.
+This option can be used multiple times.
+Supported values of \[dq]WHEN\[dq] are the same as that of
+--use-postprocessor (default: pre_process)
+.TP
+--xattrs
+Write metadata to the video file\[aq]s xattrs (using dublin core and xdg
+standards)
+.TP
+--concat-playlist \f[I]POLICY\f[R]
+Concatenate videos in a playlist.
+One of \[dq]never\[dq], \[dq]always\[dq], or \[dq]multi_video\[dq]
+(default; only when the videos form a single show).
+All the video files must have same codecs and number of streams to be
+concatable.
+The \[dq]pl_video:\[dq] prefix can be used with \[dq]--paths\[dq] and
+\[dq]--output\[dq] to set the output filename for the concatenated
+files.
+See \[dq]OUTPUT TEMPLATE\[dq] for details
+.TP
+--fixup \f[I]POLICY\f[R]
+Automatically correct known faults of the file.
+One of never (do nothing), warn (only emit a warning), detect_or_warn
+(the default; fix file if we can, warn otherwise), force (try fixing
+even if file already exists)
+.TP
+--ffmpeg-location \f[I]PATH\f[R]
+Location of the ffmpeg binary; either the path to the binary or its
+containing directory
+.TP
+--exec \f[I][WHEN:]CMD\f[R]
+Execute a command, optionally prefixed with when to execute it,
+separated by a \[dq]:\[dq].
+Supported values of \[dq]WHEN\[dq] are the same as that of
+--use-postprocessor (default: after_move).
+Same syntax as the output template can be used to pass any field as
+arguments to the command.
+If no fields are passed, %(filepath,_filename|)q is appended to the end
+of the command.
+This option can be used multiple times
+.TP
+--no-exec
+Remove any previously defined --exec
+.TP
+--convert-subs \f[I]FORMAT\f[R]
+Convert the subtitles to another format (currently supported: ass, lrc,
+srt, vtt) (Alias: --convert-subtitles)
+.TP
+--convert-thumbnails \f[I]FORMAT\f[R]
+Convert the thumbnails to another format (currently supported: jpg, png,
+webp).
+You can specify multiple rules using similar syntax as --remux-video
+.TP
+--split-chapters
+Split video into multiple files based on internal chapters.
+The \[dq]chapter:\[dq] prefix can be used with \[dq]--paths\[dq] and
+\[dq]--output\[dq] to set the output filename for the split files.
+See \[dq]OUTPUT TEMPLATE\[dq] for details
+.TP
+--no-split-chapters
+Do not split video based on chapters (default)
+.TP
+--remove-chapters \f[I]REGEX\f[R]
+Remove chapters whose title matches the given regular expression.
+The syntax is the same as --download-sections.
+This option can be used multiple times
+.TP
+--no-remove-chapters
+Do not remove any chapters from the file (default)
+.TP
+--force-keyframes-at-cuts
+Force keyframes at cuts when downloading/splitting/removing sections.
+This is slow due to needing a re-encode, but the resulting video may
+have fewer artifacts around the cuts
+.TP
+--no-force-keyframes-at-cuts
+Do not force keyframes around the chapters when cutting/splitting
+(default)
+.TP
+--use-postprocessor \f[I]NAME[:ARGS]\f[R]
+The (case sensitive) name of plugin postprocessors to be enabled, and
+(optionally) arguments to be passed to it, separated by a colon
+\[dq]:\[dq].
+ARGS are a semicolon \[dq];\[dq] delimited list of NAME=VALUE.
+The \[dq]when\[dq] argument determines when the postprocessor is
+invoked.
+It can be one of \[dq]pre_process\[dq] (after video extraction),
+\[dq]after_filter\[dq] (after video passes filter), \[dq]video\[dq]
+(after --format; before --print/--output), \[dq]before_dl\[dq] (before
+each video download), \[dq]post_process\[dq] (after each video download;
+default), \[dq]after_move\[dq] (after moving video file to it\[aq]s
+final locations), \[dq]after_video\[dq] (after downloading and
+processing all formats of a video), or \[dq]playlist\[dq] (at end of
+playlist).
+This option can be used multiple times to add different postprocessors
+.SS SponsorBlock Options:
+.PP
+Make chapter entries for, or remove various segments (sponsor,
+introductions, etc.) from downloaded YouTube videos using the
+SponsorBlock API (https://sponsor.ajay.app)
+.TP
+--sponsorblock-mark \f[I]CATS\f[R]
+SponsorBlock categories to create chapters for, separated by commas.
+Available categories are sponsor, intro, outro, selfpromo, preview,
+filler, interaction, music_offtopic, poi_highlight, chapter, all and
+default (=all).
+You can prefix the category with a \[dq]-\[dq] to exclude it.
+See [1] for description of the categories.
+E.g.
+--sponsorblock-mark all,-preview [1]
+https://wiki.sponsor.ajay.app/w/Segment_Categories
+.TP
+--sponsorblock-remove \f[I]CATS\f[R]
+SponsorBlock categories to be removed from the video file, separated by
+commas.
+If a category is present in both mark and remove, remove takes
+precedence.
+The syntax and available categories are the same as for
+--sponsorblock-mark except that \[dq]default\[dq] refers to
+\[dq]all,-filler\[dq] and poi_highlight, chapter are not available
+.TP
+--sponsorblock-chapter-title \f[I]TEMPLATE\f[R]
+An output template for the title of the SponsorBlock chapters created by
+--sponsorblock-mark.
+The only available fields are start_time, end_time, category,
+categories, name, category_names.
+Defaults to \[dq][SponsorBlock]: %(category_names)l\[dq]
+.TP
+--no-sponsorblock
+Disable both --sponsorblock-mark and --sponsorblock-remove
+.TP
+--sponsorblock-api \f[I]URL\f[R]
+SponsorBlock API location, defaults to https://sponsor.ajay.app
+.SS Extractor Options:
+.TP
+--extractor-retries \f[I]RETRIES\f[R]
+Number of retries for known extractor errors (default is 3), or
+\[dq]infinite\[dq]
+.TP
+--allow-dynamic-mpd
+Process dynamic DASH manifests (default) (Alias:
+--no-ignore-dynamic-mpd)
+.TP
+--ignore-dynamic-mpd
+Do not process dynamic DASH manifests (Alias: --no-allow-dynamic-mpd)
+.TP
+--hls-split-discontinuity
+Split HLS playlists to different formats at discontinuities such as ad
+breaks
+.TP
+--no-hls-split-discontinuity
+Do not split HLS playlists to different formats at discontinuities such
+as ad breaks (default)
+.TP
+--extractor-args \f[I]IE_KEY:ARGS\f[R]
+Pass ARGS arguments to the IE_KEY extractor.
+See \[dq]EXTRACTOR ARGUMENTS\[dq] for details.
+You can use this option multiple times to give arguments for different
+extractors
+.SH To update to nightly from stable executable/binary:
+.PP
+yt-dlp --update-to nightly
+.SH To install nightly with pip:
+.PP
+python -m pip install -U --pre yt-dlp
+.IP
+.nf
+\f[C]
+
+**Note**: The manpages, shell completion (autocomplete) files etc. are available inside the [source tarball](https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.tar.gz)
+
+## DEPENDENCIES
+Python versions 3.8+ (CPython and PyPy) are supported. Other versions and implementations may or may not work correctly.
+
+<!-- Python 3.5+ uses VC++14 and it is already embedded in the binary created
+<!x-- https://www.microsoft.com/en-us/download/details.aspx?id=26999 --x>
+On windows, [Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)](https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe) is also necessary to run yt-dlp. You probably already have this, but if the executable throws an error due to missing \[ga]MSVCR100.dll\[ga] you need to install it manually.
+-->
+
+While all the other dependencies are optional, \[ga]ffmpeg\[ga] and \[ga]ffprobe\[ga] are highly recommended
+
+### Strongly recommended
+
+* [**ffmpeg** and **ffprobe**](https://www.ffmpeg.org) - Required for [merging separate video and audio files](#format-selection) as well as for various [post-processing](#post-processing-options) tasks. License [depends on the build](https://www.ffmpeg.org/legal.html)
+
+ There are bugs in ffmpeg that causes various issues when used alongside yt-dlp. Since ffmpeg is such an important dependency, we provide [custom builds](https://github.com/yt-dlp/FFmpeg-Builds#ffmpeg-static-auto-builds) with patches for some of these issues at [yt-dlp/FFmpeg-Builds](https://github.com/yt-dlp/FFmpeg-Builds). See [the readme](https://github.com/yt-dlp/FFmpeg-Builds#patches-applied) for details on the specific issues solved by these builds
+
+ **Important**: What you need is ffmpeg *binary*, **NOT** [the python package of the same name](https://pypi.org/project/ffmpeg)
+
+### Networking
+* [**certifi**](https://github.com/certifi/python-certifi)\[rs]* - Provides Mozilla\[aq]s root certificate bundle. Licensed under [MPLv2](https://github.com/certifi/python-certifi/blob/master/LICENSE)
+* [**brotli**](https://github.com/google/brotli)\[rs]* or [**brotlicffi**](https://github.com/python-hyper/brotlicffi) - [Brotli](https://en.wikipedia.org/wiki/Brotli) content encoding support. Both licensed under MIT <sup>[1](https://github.com/google/brotli/blob/master/LICENSE) [2](https://github.com/python-hyper/brotlicffi/blob/master/LICENSE) </sup>
+* [**websockets**](https://github.com/aaugustin/websockets)\[rs]* - For downloading over websocket. Licensed under [BSD-3-Clause](https://github.com/aaugustin/websockets/blob/main/LICENSE)
+* [**requests**](https://github.com/psf/requests)\[rs]* - HTTP library. For HTTPS proxy and persistent connections support. Licensed under [Apache-2.0](https://github.com/psf/requests/blob/main/LICENSE)
+
+### Metadata
+
+* [**mutagen**](https://github.com/quodlibet/mutagen)\[rs]* - For \[ga]--embed-thumbnail\[ga] in certain formats. Licensed under [GPLv2+](https://github.com/quodlibet/mutagen/blob/master/COPYING)
+* [**AtomicParsley**](https://github.com/wez/atomicparsley) - For \[ga]--embed-thumbnail\[ga] in \[ga]mp4\[ga]/\[ga]m4a\[ga] files when \[ga]mutagen\[ga]/\[ga]ffmpeg\[ga] cannot. Licensed under [GPLv2+](https://github.com/wez/atomicparsley/blob/master/COPYING)
+* [**xattr**](https://github.com/xattr/xattr), [**pyxattr**](https://github.com/iustin/pyxattr) or [**setfattr**](http://savannah.nongnu.org/projects/attr) - For writing xattr metadata (\[ga]--xattr\[ga]) on **Mac** and **BSD**. Licensed under [MIT](https://github.com/xattr/xattr/blob/master/LICENSE.txt), [LGPL2.1](https://github.com/iustin/pyxattr/blob/master/COPYING) and [GPLv2+](http://git.savannah.nongnu.org/cgit/attr.git/tree/doc/COPYING) respectively
+
+### Misc
+
+* [**pycryptodomex**](https://github.com/Legrandin/pycryptodome)\[rs]* - For decrypting AES-128 HLS streams and various other data. Licensed under [BSD-2-Clause](https://github.com/Legrandin/pycryptodome/blob/master/LICENSE.rst)
+* [**phantomjs**](https://github.com/ariya/phantomjs) - Used in extractors where javascript needs to be run. Licensed under [BSD-3-Clause](https://github.com/ariya/phantomjs/blob/master/LICENSE.BSD)
+* [**secretstorage**](https://github.com/mitya57/secretstorage)\[rs]* - For \[ga]--cookies-from-browser\[ga] to access the **Gnome** keyring while decrypting cookies of **Chromium**-based browsers on **Linux**. Licensed under [BSD-3-Clause](https://github.com/mitya57/secretstorage/blob/master/LICENSE)
+* Any external downloader that you want to use with \[ga]--downloader\[ga]
+
+### Deprecated
+
+* [**avconv** and **avprobe**](https://www.libav.org) - Now **deprecated** alternative to ffmpeg. License [depends on the build](https://libav.org/legal)
+* [**sponskrub**](https://github.com/faissaloo/SponSkrub) - For using the now **deprecated** [sponskrub options](#sponskrub-options). Licensed under [GPLv3+](https://github.com/faissaloo/SponSkrub/blob/master/LICENCE.md)
+* [**rtmpdump**](http://rtmpdump.mplayerhq.hu) - For downloading \[ga]rtmp\[ga] streams. ffmpeg can be used instead with \[ga]--downloader ffmpeg\[ga]. Licensed under [GPLv2+](http://rtmpdump.mplayerhq.hu)
+* [**mplayer**](http://mplayerhq.hu/design7/info.html) or [**mpv**](https://mpv.io) - For downloading \[ga]rstp\[ga]/\[ga]mms\[ga] streams. ffmpeg can be used instead with \[ga]--downloader ffmpeg\[ga]. Licensed under [GPLv2+](https://github.com/mpv-player/mpv/blob/master/Copyright)
+
+To use or redistribute the dependencies, you must agree to their respective licensing terms.
+
+The standalone release binaries are built with the Python interpreter and the packages marked with **\[rs]*** included.
+
+If you do not have the necessary dependencies for a task you are attempting, yt-dlp will warn you. All the currently available dependencies are visible at the top of the \[ga]--verbose\[ga] output
+
+
+## COMPILE
+
+### Standalone PyInstaller Builds
+To build the standalone executable, you must have Python and \[ga]pyinstaller\[ga] (plus any of yt-dlp\[aq]s [optional dependencies](#dependencies) if needed). Once you have all the necessary dependencies installed, simply run \[ga]pyinst.py\[ga]. The executable will be built for the same architecture (x86/ARM, 32/64 bit) as the Python used.
+
+ python3 -m pip install -U pyinstaller -r requirements.txt
+ python3 devscripts/make_lazy_extractors.py
+ python3 pyinst.py
+
+On some systems, you may need to use \[ga]py\[ga] or \[ga]python\[ga] instead of \[ga]python3\[ga].
+
+\[ga]pyinst.py\[ga] accepts any arguments that can be passed to \[ga]pyinstaller\[ga], such as \[ga]--onefile/-F\[ga] or \[ga]--onedir/-D\[ga], which is further [documented here](https://pyinstaller.org/en/stable/usage.html#what-to-generate).
+
+**Note**: Pyinstaller versions below 4.4 [do not support](https://github.com/pyinstaller/pyinstaller#requirements-and-tested-platforms) Python installed from the Windows store without using a virtual environment.
+
+**Important**: Running \[ga]pyinstaller\[ga] directly **without** using \[ga]pyinst.py\[ga] is **not** officially supported. This may or may not work correctly.
+
+### Platform-independent Binary (UNIX)
+You will need the build tools \[ga]python\[ga] (3.8+), \[ga]zip\[ga], \[ga]make\[ga] (GNU), \[ga]pandoc\[ga]\[rs]* and \[ga]pytest\[ga]\[rs]*.
+
+After installing these, simply run \[ga]make\[ga].
+
+You can also run \[ga]make yt-dlp\[ga] instead to compile only the binary without updating any of the additional files. (The build tools marked with **\[rs]*** are not needed for this)
+
+### Standalone Py2Exe Builds (Windows)
+
+While we provide the option to build with [py2exe](https://www.py2exe.org), it is recommended to build [using PyInstaller](#standalone-pyinstaller-builds) instead since the py2exe builds **cannot contain \[ga]pycryptodomex\[ga]/\[ga]certifi\[ga] and needs VC++14** on the target computer to run.
+
+If you wish to build it anyway, install Python and py2exe, and then simply run \[ga]setup.py py2exe\[ga]
+
+ py -m pip install -U py2exe -r requirements.txt
+ py devscripts/make_lazy_extractors.py
+ py setup.py py2exe
+
+### Related scripts
+
+* **\[ga]devscripts/update-version.py\[ga]** - Update the version number based on current date.
+* **\[ga]devscripts/set-variant.py\[ga]** - Set the build variant of the executable.
+* **\[ga]devscripts/make_changelog.py\[ga]** - Create a markdown changelog using short commit messages and update \[ga]CONTRIBUTORS\[ga] file.
+* **\[ga]devscripts/make_lazy_extractors.py\[ga]** - Create lazy extractors. Running this before building the binaries (any variant) will improve their startup performance. Set the environment variable \[ga]YTDLP_NO_LAZY_EXTRACTORS=1\[ga] if you wish to forcefully disable lazy extractor loading.
+
+Note: See their \[ga]--help\[ga] for more info.
+
+### Forking the project
+If you fork the project on GitHub, you can run your fork\[aq]s [build workflow](.github/workflows/build.yml) to automatically build the selected version(s) as artifacts. Alternatively, you can run the [release workflow](.github/workflows/release.yml) or enable the [nightly workflow](.github/workflows/release-nightly.yml) to create full (pre-)releases.
+
+# CONFIGURATION
+
+You can configure yt-dlp by placing any supported command line option to a configuration file. The configuration is loaded from the following locations:
+
+1. **Main Configuration**:
+ * The file given by \[ga]--config-location\[ga]
+1. **Portable Configuration**: (Recommended for portable installations)
+ * If using a binary, \[ga]yt-dlp.conf\[ga] in the same directory as the binary
+ * If running from source-code, \[ga]yt-dlp.conf\[ga] in the parent directory of \[ga]yt_dlp\[ga]
+1. **Home Configuration**:
+ * \[ga]yt-dlp.conf\[ga] in the home path given by \[ga]-P\[ga]
+ * If \[ga]-P\[ga] is not given, the current directory is searched
+1. **User Configuration**:
+ * \[ga]${XDG_CONFIG_HOME}/yt-dlp.conf\[ga]
+ * \[ga]${XDG_CONFIG_HOME}/yt-dlp/config\[ga] (recommended on Linux/macOS)
+ * \[ga]${XDG_CONFIG_HOME}/yt-dlp/config.txt\[ga]
+ * \[ga]${APPDATA}/yt-dlp.conf\[ga]
+ * \[ga]${APPDATA}/yt-dlp/config\[ga] (recommended on Windows)
+ * \[ga]${APPDATA}/yt-dlp/config.txt\[ga]
+ * \[ga]\[ti]/yt-dlp.conf\[ga]
+ * \[ga]\[ti]/yt-dlp.conf.txt\[ga]
+ * \[ga]\[ti]/.yt-dlp/config\[ga]
+ * \[ga]\[ti]/.yt-dlp/config.txt\[ga]
+
+ See also: [Notes about environment variables](#notes-about-environment-variables)
+1. **System Configuration**:
+ * \[ga]/etc/yt-dlp.conf\[ga]
+ * \[ga]/etc/yt-dlp/config\[ga]
+ * \[ga]/etc/yt-dlp/config.txt\[ga]
+
+E.g. with the following configuration file yt-dlp will always extract the audio, not copy the mtime, use a proxy and save all videos under \[ga]YouTube\[ga] directory in your home directory:
+\f[R]
+.fi
+.SH Lines starting with # are comments
+.SH Always extract audio
+.PP
+-x
+.SH Do not copy the mtime
+.PP
+--no-mtime
+.SH Use this proxy
+.PP
+--proxy 127.0.0.1:3128
+.SH Save all videos under YouTube directory in your home directory
+.PP
+-o \[ti]/YouTube/%(title)s.%(ext)s
+.IP
+.nf
+\f[C]
+**Note**: Options in configuration file are just the same options aka switches used in regular command line calls; thus there **must be no whitespace** after \[ga]-\[ga] or \[ga]--\[ga], e.g. \[ga]-o\[ga] or \[ga]--proxy\[ga] but not \[ga]- o\[ga] or \[ga]-- proxy\[ga]. They must also be quoted when necessary as-if it were a UNIX shell.
+
+You can use \[ga]--ignore-config\[ga] if you want to disable all configuration files for a particular yt-dlp run. If \[ga]--ignore-config\[ga] is found inside any configuration file, no further configuration will be loaded. For example, having the option in the portable configuration file prevents loading of home, user, and system configurations. Additionally, (for backward compatibility) if \[ga]--ignore-config\[ga] is found inside the system configuration file, the user configuration is not loaded.
+
+### Configuration file encoding
+
+The configuration files are decoded according to the UTF BOM if present, and in the encoding from system locale otherwise.
+
+If you want your file to be decoded differently, add \[ga]# coding: ENCODING\[ga] to the beginning of the file (e.g. \[ga]# coding: shift-jis\[ga]). There must be no characters before that, even spaces or BOM.
+
+### Authentication with netrc
+
+You may also want to configure automatic credentials storage for extractors that support authentication (by providing login and password with \[ga]--username\[ga] and \[ga]--password\[ga]) in order not to pass credentials as command line arguments on every yt-dlp execution and prevent tracking plain text passwords in the shell command history. You can achieve this using a [\[ga].netrc\[ga] file](https://stackoverflow.com/tags/.netrc/info) on a per-extractor basis. For that you will need to create a \[ga].netrc\[ga] file in \[ga]--netrc-location\[ga] and restrict permissions to read/write by only you:
+\f[R]
+.fi
+.PP
+touch ${HOME}/.netrc chmod a-rwx,u+rw ${HOME}/.netrc
+.IP
+.nf
+\f[C]
+After that you can add credentials for an extractor in the following format, where *extractor* is the name of the extractor in lowercase:
+\f[R]
+.fi
+.PP
+machine login password
+.IP
+.nf
+\f[C]
+E.g.
+\f[R]
+.fi
+.PP
+machine youtube login myaccount\[at]gmail.com password
+my_youtube_password machine twitch login my_twitch_account_name password
+my_twitch_password
+.IP
+.nf
+\f[C]
+To activate authentication with the \[ga].netrc\[ga] file you should pass \[ga]--netrc\[ga] to yt-dlp or place it in the [configuration file](#configuration).
+
+The default location of the .netrc file is \[ga]\[ti]\[ga] (see below).
+
+As an alternative to using the \[ga].netrc\[ga] file, which has the disadvantage of keeping your passwords in a plain text file, you can configure a custom shell command to provide the credentials for an extractor. This is done by providing the \[ga]--netrc-cmd\[ga] parameter, it shall output the credentials in the netrc format and return \[ga]0\[ga] on success, other values will be treated as an error. \[ga]{}\[ga] in the command will be replaced by the name of the extractor to make it possible to select the credentials for the right extractor.
+
+E.g. To use an encrypted \[ga].netrc\[ga] file stored as \[ga].authinfo.gpg\[ga]
+\f[R]
+.fi
+.PP
+yt-dlp --netrc-cmd \[aq]gpg --decrypt \[ti]/.authinfo.gpg\[aq]
+https://www.youtube.com/watch?v=BaW_jenozKc
+.IP
+.nf
+\f[C]
+
+### Notes about environment variables
+* Environment variables are normally specified as \[ga]${VARIABLE}\[ga]/\[ga]$VARIABLE\[ga] on UNIX and \[ga]%VARIABLE%\[ga] on Windows; but is always shown as \[ga]${VARIABLE}\[ga] in this documentation
+* yt-dlp also allow using UNIX-style variables on Windows for path-like options; e.g. \[ga]--output\[ga], \[ga]--config-location\[ga]
+* If unset, \[ga]${XDG_CONFIG_HOME}\[ga] defaults to \[ga]\[ti]/.config\[ga] and \[ga]${XDG_CACHE_HOME}\[ga] to \[ga]\[ti]/.cache\[ga]
+* On Windows, \[ga]\[ti]\[ga] points to \[ga]${HOME}\[ga] if present; or, \[ga]${USERPROFILE}\[ga] or \[ga]${HOMEDRIVE}${HOMEPATH}\[ga] otherwise
+* On Windows, \[ga]${USERPROFILE}\[ga] generally points to \[ga]C:\[rs]Users\[rs]<user name>\[ga] and \[ga]${APPDATA}\[ga] to \[ga]${USERPROFILE}\[rs]AppData\[rs]Roaming\[ga]
+
+# OUTPUT TEMPLATE
+
+The \[ga]-o\[ga] option is used to indicate a template for the output file names while \[ga]-P\[ga] option is used to specify the path each type of file should be saved to.
+
+
+The simplest usage of \[ga]-o\[ga] is not to set any template arguments when downloading a single file, like in \[ga]yt-dlp -o funny_video.flv \[dq]https://some/video\[dq]\[ga] (hard-coding file extension like this is _not_ recommended and could break some post-processing).
+
+It may however also contain special sequences that will be replaced when downloading each video. The special sequences may be formatted according to [Python string formatting operations](https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting), e.g. \[ga]%(NAME)s\[ga] or \[ga]%(NAME)05d\[ga]. To clarify, that is a percent symbol followed by a name in parentheses, followed by formatting operations.
+
+The field names themselves (the part inside the parenthesis) can also have some special formatting:
+
+1. **Object traversal**: The dictionaries and lists available in metadata can be traversed by using a dot \[ga].\[ga] separator; e.g. \[ga]%(tags.0)s\[ga], \[ga]%(subtitles.en.-1.ext)s\[ga]. You can do Python slicing with colon \[ga]:\[ga]; E.g. \[ga]%(id.3:7:-1)s\[ga], \[ga]%(formats.:.format_id)s\[ga]. Curly braces \[ga]{}\[ga] can be used to build dictionaries with only specific keys; e.g. \[ga]%(formats.:.{format_id,height})#j\[ga]. An empty field name \[ga]%()s\[ga] refers to the entire infodict; e.g. \[ga]%(.{id,title})s\[ga]. Note that all the fields that become available using this method are not listed below. Use \[ga]-j\[ga] to see such fields
+
+1. **Arithmetic**: Simple arithmetic can be done on numeric fields using \[ga]+\[ga], \[ga]-\[ga] and \[ga]*\[ga]. E.g. \[ga]%(playlist_index+10)03d\[ga], \[ga]%(n_entries+1-playlist_index)d\[ga]
+
+1. **Date/time Formatting**: Date/time fields can be formatted according to [strftime formatting](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) by specifying it separated from the field name using a \[ga]>\[ga]. E.g. \[ga]%(duration>%H-%M-%S)s\[ga], \[ga]%(upload_date>%Y-%m-%d)s\[ga], \[ga]%(epoch-3600>%H-%M-%S)s\[ga]
+
+1. **Alternatives**: Alternate fields can be specified separated with a \[ga],\[ga]. E.g. \[ga]%(release_date>%Y,upload_date>%Y|Unknown)s\[ga]
+
+1. **Replacement**: A replacement value can be specified using a \[ga]&\[ga] separator according to the [\[ga]str.format\[ga] mini-language](https://docs.python.org/3/library/string.html#format-specification-mini-language). If the field is *not* empty, this replacement value will be used instead of the actual field content. This is done after alternate fields are considered; thus the replacement is used if *any* of the alternative fields is *not* empty. E.g. \[ga]%(chapters&has chapters|no chapters)s\[ga], \[ga]%(title&TITLE={:>20}|NO TITLE)s\[ga]
+
+1. **Default**: A literal default value can be specified for when the field is empty using a \[ga]|\[ga] separator. This overrides \[ga]--output-na-placeholder\[ga]. E.g. \[ga]%(uploader|Unknown)s\[ga]
+
+1. **More Conversions**: In addition to the normal format types \[ga]diouxXeEfFgGcrs\[ga], yt-dlp additionally supports converting to \[ga]B\[ga] = **B**ytes, \[ga]j\[ga] = **j**son (flag \[ga]#\[ga] for pretty-printing, \[ga]+\[ga] for Unicode), \[ga]h\[ga] = HTML escaping, \[ga]l\[ga] = a comma separated **l**ist (flag \[ga]#\[ga] for \[ga]\[rs]n\[ga] newline-separated), \[ga]q\[ga] = a string **q**uoted for the terminal (flag \[ga]#\[ga] to split a list into different arguments), \[ga]D\[ga] = add **D**ecimal suffixes (e.g. 10M) (flag \[ga]#\[ga] to use 1024 as factor), and \[ga]S\[ga] = **S**anitize as filename (flag \[ga]#\[ga] for restricted)
+
+1. **Unicode normalization**: The format type \[ga]U\[ga] can be used for NFC [Unicode normalization](https://docs.python.org/3/library/unicodedata.html#unicodedata.normalize). The alternate form flag (\[ga]#\[ga]) changes the normalization to NFD and the conversion flag \[ga]+\[ga] can be used for NFKC/NFKD compatibility equivalence normalization. E.g. \[ga]%(title)+.100U\[ga] is NFKC
+
+To summarize, the general syntax for a field is:
+\f[R]
+.fi
+.PP
+%(name[.keys][addition][>strf][,alternate][&replacement][|default])[flags][width][.precision][length]type
+.IP
+.nf
+\f[C]
+Additionally, you can set different output templates for the various metadata files separately from the general output template by specifying the type of file followed by the template separated by a colon \[ga]:\[ga]. The different file types supported are \[ga]subtitle\[ga], \[ga]thumbnail\[ga], \[ga]description\[ga], \[ga]annotation\[ga] (deprecated), \[ga]infojson\[ga], \[ga]link\[ga], \[ga]pl_thumbnail\[ga], \[ga]pl_description\[ga], \[ga]pl_infojson\[ga], \[ga]chapter\[ga], \[ga]pl_video\[ga]. E.g. \[ga]-o \[dq]%(title)s.%(ext)s\[dq] -o \[dq]thumbnail:%(title)s\[rs]%(title)s.%(ext)s\[dq]\[ga] will put the thumbnails in a folder with the same name as the video. If any of the templates is empty, that type of file will not be written. E.g. \[ga]--write-thumbnail -o \[dq]thumbnail:\[dq]\[ga] will write thumbnails only for playlists and not for video.
+
+<a id=\[dq]outtmpl-postprocess-note\[dq]/>
+
+**Note**: Due to post-processing (i.e. merging etc.), the actual output filename might differ. Use \[ga]--print after_move:filepath\[ga] to get the name after all post-processing is complete.
+
+The available fields are:
+
+ - \[ga]id\[ga] (string): Video identifier
+ - \[ga]title\[ga] (string): Video title
+ - \[ga]fulltitle\[ga] (string): Video title ignoring live timestamp and generic title
+ - \[ga]ext\[ga] (string): Video filename extension
+ - \[ga]alt_title\[ga] (string): A secondary title of the video
+ - \[ga]description\[ga] (string): The description of the video
+ - \[ga]display_id\[ga] (string): An alternative identifier for the video
+ - \[ga]uploader\[ga] (string): Full name of the video uploader
+ - \[ga]license\[ga] (string): License name the video is licensed under
+ - \[ga]creator\[ga] (string): The creator of the video
+ - \[ga]timestamp\[ga] (numeric): UNIX timestamp of the moment the video became available
+ - \[ga]upload_date\[ga] (string): Video upload date in UTC (YYYYMMDD)
+ - \[ga]release_timestamp\[ga] (numeric): UNIX timestamp of the moment the video was released
+ - \[ga]release_date\[ga] (string): The date (YYYYMMDD) when the video was released in UTC
+ - \[ga]release_year\[ga] (numeric): Year (YYYY) when the video or album was released
+ - \[ga]modified_timestamp\[ga] (numeric): UNIX timestamp of the moment the video was last modified
+ - \[ga]modified_date\[ga] (string): The date (YYYYMMDD) when the video was last modified in UTC
+ - \[ga]uploader_id\[ga] (string): Nickname or id of the video uploader
+ - \[ga]channel\[ga] (string): Full name of the channel the video is uploaded on
+ - \[ga]channel_id\[ga] (string): Id of the channel
+ - \[ga]channel_follower_count\[ga] (numeric): Number of followers of the channel
+ - \[ga]channel_is_verified\[ga] (boolean): Whether the channel is verified on the platform
+ - \[ga]location\[ga] (string): Physical location where the video was filmed
+ - \[ga]duration\[ga] (numeric): Length of the video in seconds
+ - \[ga]duration_string\[ga] (string): Length of the video (HH:mm:ss)
+ - \[ga]view_count\[ga] (numeric): How many users have watched the video on the platform
+ - \[ga]concurrent_view_count\[ga] (numeric): How many users are currently watching the video on the platform.
+ - \[ga]like_count\[ga] (numeric): Number of positive ratings of the video
+ - \[ga]dislike_count\[ga] (numeric): Number of negative ratings of the video
+ - \[ga]repost_count\[ga] (numeric): Number of reposts of the video
+ - \[ga]average_rating\[ga] (numeric): Average rating give by users, the scale used depends on the webpage
+ - \[ga]comment_count\[ga] (numeric): Number of comments on the video (For some extractors, comments are only downloaded at the end, and so this field cannot be used)
+ - \[ga]age_limit\[ga] (numeric): Age restriction for the video (years)
+ - \[ga]live_status\[ga] (string): One of \[dq]not_live\[dq], \[dq]is_live\[dq], \[dq]is_upcoming\[dq], \[dq]was_live\[dq], \[dq]post_live\[dq] (was live, but VOD is not yet processed)
+ - \[ga]is_live\[ga] (boolean): Whether this video is a live stream or a fixed-length video
+ - \[ga]was_live\[ga] (boolean): Whether this video was originally a live stream
+ - \[ga]playable_in_embed\[ga] (string): Whether this video is allowed to play in embedded players on other sites
+ - \[ga]availability\[ga] (string): Whether the video is \[dq]private\[dq], \[dq]premium_only\[dq], \[dq]subscriber_only\[dq], \[dq]needs_auth\[dq], \[dq]unlisted\[dq] or \[dq]public\[dq]
+ - \[ga]media_type\[ga] (string): The type of media as classified by the site, e.g. \[dq]episode\[dq], \[dq]clip\[dq], \[dq]trailer\[dq]
+ - \[ga]start_time\[ga] (numeric): Time in seconds where the reproduction should start, as specified in the URL
+ - \[ga]end_time\[ga] (numeric): Time in seconds where the reproduction should end, as specified in the URL
+ - \[ga]extractor\[ga] (string): Name of the extractor
+ - \[ga]extractor_key\[ga] (string): Key name of the extractor
+ - \[ga]epoch\[ga] (numeric): Unix epoch of when the information extraction was completed
+ - \[ga]autonumber\[ga] (numeric): Number that will be increased with each download, starting at \[ga]--autonumber-start\[ga], padded with leading zeros to 5 digits
+ - \[ga]video_autonumber\[ga] (numeric): Number that will be increased with each video
+ - \[ga]n_entries\[ga] (numeric): Total number of extracted items in the playlist
+ - \[ga]playlist_id\[ga] (string): Identifier of the playlist that contains the video
+ - \[ga]playlist_title\[ga] (string): Name of the playlist that contains the video
+ - \[ga]playlist\[ga] (string): \[ga]playlist_id\[ga] or \[ga]playlist_title\[ga]
+ - \[ga]playlist_count\[ga] (numeric): Total number of items in the playlist. May not be known if entire playlist is not extracted
+ - \[ga]playlist_index\[ga] (numeric): Index of the video in the playlist padded with leading zeros according the final index
+ - \[ga]playlist_autonumber\[ga] (numeric): Position of the video in the playlist download queue padded with leading zeros according to the total length of the playlist
+ - \[ga]playlist_uploader\[ga] (string): Full name of the playlist uploader
+ - \[ga]playlist_uploader_id\[ga] (string): Nickname or id of the playlist uploader
+ - \[ga]webpage_url\[ga] (string): A URL to the video webpage which if given to yt-dlp should allow to get the same result again
+ - \[ga]webpage_url_basename\[ga] (string): The basename of the webpage URL
+ - \[ga]webpage_url_domain\[ga] (string): The domain of the webpage URL
+ - \[ga]original_url\[ga] (string): The URL given by the user (or same as \[ga]webpage_url\[ga] for playlist entries)
+
+All the fields in [Filtering Formats](#filtering-formats) can also be used
+
+Available for the video that belongs to some logical chapter or section:
+
+ - \[ga]chapter\[ga] (string): Name or title of the chapter the video belongs to
+ - \[ga]chapter_number\[ga] (numeric): Number of the chapter the video belongs to
+ - \[ga]chapter_id\[ga] (string): Id of the chapter the video belongs to
+
+Available for the video that is an episode of some series or programme:
+
+ - \[ga]series\[ga] (string): Title of the series or programme the video episode belongs to
+ - \[ga]season\[ga] (string): Title of the season the video episode belongs to
+ - \[ga]season_number\[ga] (numeric): Number of the season the video episode belongs to
+ - \[ga]season_id\[ga] (string): Id of the season the video episode belongs to
+ - \[ga]episode\[ga] (string): Title of the video episode
+ - \[ga]episode_number\[ga] (numeric): Number of the video episode within a season
+ - \[ga]episode_id\[ga] (string): Id of the video episode
+
+Available for the media that is a track or a part of a music album:
+
+ - \[ga]track\[ga] (string): Title of the track
+ - \[ga]track_number\[ga] (numeric): Number of the track within an album or a disc
+ - \[ga]track_id\[ga] (string): Id of the track
+ - \[ga]artist\[ga] (string): Artist(s) of the track
+ - \[ga]genre\[ga] (string): Genre(s) of the track
+ - \[ga]album\[ga] (string): Title of the album the track belongs to
+ - \[ga]album_type\[ga] (string): Type of the album
+ - \[ga]album_artist\[ga] (string): List of all artists appeared on the album
+ - \[ga]disc_number\[ga] (numeric): Number of the disc or other physical medium the track belongs to
+
+Available only when using \[ga]--download-sections\[ga] and for \[ga]chapter:\[ga] prefix when using \[ga]--split-chapters\[ga] for videos with internal chapters:
+
+ - \[ga]section_title\[ga] (string): Title of the chapter
+ - \[ga]section_number\[ga] (numeric): Number of the chapter within the file
+ - \[ga]section_start\[ga] (numeric): Start time of the chapter in seconds
+ - \[ga]section_end\[ga] (numeric): End time of the chapter in seconds
+
+Available only when used in \[ga]--print\[ga]:
+
+ - \[ga]urls\[ga] (string): The URLs of all requested formats, one in each line
+ - \[ga]filename\[ga] (string): Name of the video file. Note that the [actual filename may differ](#outtmpl-postprocess-note)
+ - \[ga]formats_table\[ga] (table): The video format table as printed by \[ga]--list-formats\[ga]
+ - \[ga]thumbnails_table\[ga] (table): The thumbnail format table as printed by \[ga]--list-thumbnails\[ga]
+ - \[ga]subtitles_table\[ga] (table): The subtitle format table as printed by \[ga]--list-subs\[ga]
+ - \[ga]automatic_captions_table\[ga] (table): The automatic subtitle format table as printed by \[ga]--list-subs\[ga]
+
+ Available only after the video is downloaded (\[ga]post_process\[ga]/\[ga]after_move\[ga]):
+
+ - \[ga]filepath\[ga]: Actual path of downloaded video file
+
+Available only in \[ga]--sponsorblock-chapter-title\[ga]:
+
+ - \[ga]start_time\[ga] (numeric): Start time of the chapter in seconds
+ - \[ga]end_time\[ga] (numeric): End time of the chapter in seconds
+ - \[ga]categories\[ga] (list): The [SponsorBlock categories](https://wiki.sponsor.ajay.app/w/Types#Category) the chapter belongs to
+ - \[ga]category\[ga] (string): The smallest SponsorBlock category the chapter belongs to
+ - \[ga]category_names\[ga] (list): Friendly names of the categories
+ - \[ga]name\[ga] (string): Friendly name of the smallest category
+ - \[ga]type\[ga] (string): The [SponsorBlock action type](https://wiki.sponsor.ajay.app/w/Types#Action_Type) of the chapter
+
+Each aforementioned sequence when referenced in an output template will be replaced by the actual value corresponding to the sequence name. E.g. for \[ga]-o %(title)s-%(id)s.%(ext)s\[ga] and an mp4 video with title \[ga]yt-dlp test video\[ga] and id \[ga]BaW_jenozKc\[ga], this will result in a \[ga]yt-dlp test video-BaW_jenozKc.mp4\[ga] file created in the current directory.
+
+**Note**: Some of the sequences are not guaranteed to be present since they depend on the metadata obtained by a particular extractor. Such sequences will be replaced with placeholder value provided with \[ga]--output-na-placeholder\[ga] (\[ga]NA\[ga] by default).
+
+**Tip**: Look at the \[ga]-j\[ga] output to identify which fields are available for the particular URL
+
+For numeric sequences you can use [numeric related formatting](https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting); e.g. \[ga]%(view_count)05d\[ga] will result in a string with view count padded with zeros up to 5 characters, like in \[ga]00042\[ga].
+
+Output templates can also contain arbitrary hierarchical path, e.g. \[ga]-o \[dq]%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s\[dq]\[ga] which will result in downloading each video in a directory corresponding to this path template. Any missing directory will be automatically created for you.
+
+To use percent literals in an output template use \[ga]%%\[ga]. To output to stdout use \[ga]-o -\[ga].
+
+The current default template is \[ga]%(title)s [%(id)s].%(ext)s\[ga].
+
+In some cases, you don\[aq]t want special characters such as \[u4E2D], spaces, or &, such as when transferring the downloaded filename to a Windows system or the filename through an 8bit-unsafe channel. In these cases, add the \[ga]--restrict-filenames\[ga] flag to get a shorter title.
+
+#### Output template examples
+
+\[ga]\[ga]\[ga]bash
+$ yt-dlp --print filename -o \[dq]test video.%(ext)s\[dq] BaW_jenozKc
+test video.webm # Literal name with correct extension
+
+$ yt-dlp --print filename -o \[dq]%(title)s.%(ext)s\[dq] BaW_jenozKc
+youtube-dl test video \[aq]\[aq]_\[:a]\[u21AD]\[u1D550].webm # All kinds of weird characters
+
+$ yt-dlp --print filename -o \[dq]%(title)s.%(ext)s\[dq] BaW_jenozKc --restrict-filenames
+youtube-dl_test_video_.webm # Restricted file name
+
+# Download YouTube playlist videos in separate directory indexed by video order in a playlist
+$ yt-dlp -o \[dq]%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s\[dq] \[dq]https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re\[dq]
+
+# Download YouTube playlist videos in separate directories according to their uploaded year
+$ yt-dlp -o \[dq]%(upload_date>%Y)s/%(title)s.%(ext)s\[dq] \[dq]https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re\[dq]
+
+# Prefix playlist index with \[dq] - \[dq] separator, but only if it is available
+$ yt-dlp -o \[dq]%(playlist_index&{} - |)s%(title)s.%(ext)s\[dq] BaW_jenozKc \[dq]https://www.youtube.com/user/TheLinuxFoundation/playlists\[dq]
+
+# Download all playlists of YouTube channel/user keeping each playlist in separate directory:
+$ yt-dlp -o \[dq]%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s\[dq] \[dq]https://www.youtube.com/user/TheLinuxFoundation/playlists\[dq]
+
+# Download Udemy course keeping each chapter in separate directory under MyVideos directory in your home
+$ yt-dlp -u user -p password -P \[dq]\[ti]/MyVideos\[dq] -o \[dq]%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s\[dq] \[dq]https://www.udemy.com/java-tutorial\[dq]
+
+# Download entire series season keeping each series and each season in separate directory under C:/MyVideos
+$ yt-dlp -P \[dq]C:/MyVideos\[dq] -o \[dq]%(series)s/%(season_number)s - %(season)s/%(episode_number)s - %(episode)s.%(ext)s\[dq] \[dq]https://videomore.ru/kino_v_detalayah/5_sezon/367617\[dq]
+
+# Download video as \[dq]C:\[rs]MyVideos\[rs]uploader\[rs]title.ext\[dq], subtitles as \[dq]C:\[rs]MyVideos\[rs]subs\[rs]uploader\[rs]title.ext\[dq]
+# and put all temporary files in \[dq]C:\[rs]MyVideos\[rs]tmp\[dq]
+$ yt-dlp -P \[dq]C:/MyVideos\[dq] -P \[dq]temp:tmp\[dq] -P \[dq]subtitle:subs\[dq] -o \[dq]%(uploader)s/%(title)s.%(ext)s\[dq] BaW_jenoz --write-subs
+
+# Download video as \[dq]C:\[rs]MyVideos\[rs]uploader\[rs]title.ext\[dq] and subtitles as \[dq]C:\[rs]MyVideos\[rs]uploader\[rs]subs\[rs]title.ext\[dq]
+$ yt-dlp -P \[dq]C:/MyVideos\[dq] -o \[dq]%(uploader)s/%(title)s.%(ext)s\[dq] -o \[dq]subtitle:%(uploader)s/subs/%(title)s.%(ext)s\[dq] BaW_jenozKc --write-subs
+
+# Stream the video being downloaded to stdout
+$ yt-dlp -o - BaW_jenozKc
+\f[R]
+.fi
+.SH FORMAT SELECTION
+.PP
+By default, yt-dlp tries to download the best available quality if you
+\f[B]don\[aq]t\f[R] pass any options.
+This is generally equivalent to using
+\f[C]-f bestvideo*+bestaudio/best\f[R].
+However, if multiple audiostreams is enabled
+(\f[C]--audio-multistreams\f[R]), the default format changes to
+\f[C]-f bestvideo+bestaudio/best\f[R].
+Similarly, if ffmpeg is unavailable, or if you use yt-dlp to stream to
+\f[C]stdout\f[R] (\f[C]-o -\f[R]), the default becomes
+\f[C]-f best/bestvideo+bestaudio\f[R].
+.PP
+\f[B]Deprecation warning\f[R]: Latest versions of yt-dlp can stream
+multiple formats to the stdout simultaneously using ffmpeg.
+So, in future versions, the default for this will be set to
+\f[C]-f bv*+ba/b\f[R] similar to normal downloads.
+If you want to preserve the \f[C]-f b/bv+ba\f[R] setting, it is
+recommended to explicitly specify it in the configuration options.
+.PP
+The general syntax for format selection is \f[C]-f FORMAT\f[R] (or
+\f[C]--format FORMAT\f[R]) where \f[C]FORMAT\f[R] is a \f[I]selector
+expression\f[R], i.e.
+an expression that describes format or formats you would like to
+download.
+.PP
+The simplest case is requesting a specific format; e.g.
+with \f[C]-f 22\f[R] you can download the format with format code equal
+to 22.
+You can get the list of available format codes for particular video
+using \f[C]--list-formats\f[R] or \f[C]-F\f[R].
+Note that these format codes are extractor specific.
+.PP
+You can also use a file extension (currently \f[C]3gp\f[R],
+\f[C]aac\f[R], \f[C]flv\f[R], \f[C]m4a\f[R], \f[C]mp3\f[R],
+\f[C]mp4\f[R], \f[C]ogg\f[R], \f[C]wav\f[R], \f[C]webm\f[R] are
+supported) to download the best quality format of a particular file
+extension served as a single file, e.g.
+\f[C]-f webm\f[R] will download the best quality format with the
+\f[C]webm\f[R] extension served as a single file.
+.PP
+You can use \f[C]-f -\f[R] to interactively provide the format selector
+\f[I]for each video\f[R]
+.PP
+You can also use special names to select particular edge case formats:
+.IP \[bu] 2
+\f[C]all\f[R]: Select \f[B]all formats\f[R] separately
+.IP \[bu] 2
+\f[C]mergeall\f[R]: Select and \f[B]merge all formats\f[R] (Must be used
+with \f[C]--audio-multistreams\f[R], \f[C]--video-multistreams\f[R] or
+both)
+.IP \[bu] 2
+\f[C]b*\f[R], \f[C]best*\f[R]: Select the best quality format that
+\f[B]contains either\f[R] a video or an audio or both (ie;
+\f[C]vcodec!=none or acodec!=none\f[R])
+.IP \[bu] 2
+\f[C]b\f[R], \f[C]best\f[R]: Select the best quality format that
+\f[B]contains both\f[R] video and audio.
+Equivalent to \f[C]best*[vcodec!=none][acodec!=none]\f[R]
+.IP \[bu] 2
+\f[C]bv\f[R], \f[C]bestvideo\f[R]: Select the best quality
+\f[B]video-only\f[R] format.
+Equivalent to \f[C]best*[acodec=none]\f[R]
+.IP \[bu] 2
+\f[C]bv*\f[R], \f[C]bestvideo*\f[R]: Select the best quality format that
+\f[B]contains video\f[R].
+It may also contain audio.
+Equivalent to \f[C]best*[vcodec!=none]\f[R]
+.IP \[bu] 2
+\f[C]ba\f[R], \f[C]bestaudio\f[R]: Select the best quality
+\f[B]audio-only\f[R] format.
+Equivalent to \f[C]best*[vcodec=none]\f[R]
+.IP \[bu] 2
+\f[C]ba*\f[R], \f[C]bestaudio*\f[R]: Select the best quality format that
+\f[B]contains audio\f[R].
+It may also contain video.
+Equivalent to \f[C]best*[acodec!=none]\f[R] (Do not
+use! (https://github.com/yt-dlp/yt-dlp/issues/979#issuecomment-919629354))
+.IP \[bu] 2
+\f[C]w*\f[R], \f[C]worst*\f[R]: Select the worst quality format that
+contains either a video or an audio
+.IP \[bu] 2
+\f[C]w\f[R], \f[C]worst\f[R]: Select the worst quality format that
+contains both video and audio.
+Equivalent to \f[C]worst*[vcodec!=none][acodec!=none]\f[R]
+.IP \[bu] 2
+\f[C]wv\f[R], \f[C]worstvideo\f[R]: Select the worst quality video-only
+format.
+Equivalent to \f[C]worst*[acodec=none]\f[R]
+.IP \[bu] 2
+\f[C]wv*\f[R], \f[C]worstvideo*\f[R]: Select the worst quality format
+that contains video.
+It may also contain audio.
+Equivalent to \f[C]worst*[vcodec!=none]\f[R]
+.IP \[bu] 2
+\f[C]wa\f[R], \f[C]worstaudio\f[R]: Select the worst quality audio-only
+format.
+Equivalent to \f[C]worst*[vcodec=none]\f[R]
+.IP \[bu] 2
+\f[C]wa*\f[R], \f[C]worstaudio*\f[R]: Select the worst quality format
+that contains audio.
+It may also contain video.
+Equivalent to \f[C]worst*[acodec!=none]\f[R]
+.PP
+For example, to download the worst quality video-only format you can use
+\f[C]-f worstvideo\f[R].
+It is however recommended not to use \f[C]worst\f[R] and related
+options.
+When your format selector is \f[C]worst\f[R], the format which is worst
+in all respects is selected.
+Most of the time, what you actually want is the video with the smallest
+filesize instead.
+So it is generally better to use \f[C]-S +size\f[R] or more rigorously,
+\f[C]-S +size,+br,+res,+fps\f[R] instead of \f[C]-f worst\f[R].
+See Sorting Formats for more details.
+.PP
+You can select the n\[aq]th best format of a type by using
+\f[C]best<type>.<n>\f[R].
+For example, \f[C]best.2\f[R] will select the 2nd best combined format.
+Similarly, \f[C]bv*.3\f[R] will select the 3rd best format that contains
+a video stream.
+.PP
+If you want to download multiple videos, and they don\[aq]t have the
+same formats available, you can specify the order of preference using
+slashes.
+Note that formats on the left hand side are preferred; e.g.
+\f[C]-f 22/17/18\f[R] will download format 22 if it\[aq]s available,
+otherwise it will download format 17 if it\[aq]s available, otherwise it
+will download format 18 if it\[aq]s available, otherwise it will
+complain that no suitable formats are available for download.
+.PP
+If you want to download several formats of the same video use a comma as
+a separator, e.g.
+\f[C]-f 22,17,18\f[R] will download all these three formats, of course
+if they are available.
+Or a more sophisticated example combined with the precedence feature:
+\f[C]-f 136/137/mp4/bestvideo,140/m4a/bestaudio\f[R].
+.PP
+You can merge the video and audio of multiple formats into a single file
+using \f[C]-f <format1>+<format2>+...\f[R] (requires ffmpeg installed);
+e.g.
+\f[C]-f bestvideo+bestaudio\f[R] will download the best video-only
+format, the best audio-only format and mux them together with ffmpeg.
+.PP
+\f[B]Deprecation warning\f[R]: Since the \f[I]below\f[R] described
+behavior is complex and counter-intuitive, this will be removed and
+multistreams will be enabled by default in the future.
+A new operator will be instead added to limit formats to single
+audio/video
+.PP
+Unless \f[C]--video-multistreams\f[R] is used, all formats with a video
+stream except the first one are ignored.
+Similarly, unless \f[C]--audio-multistreams\f[R] is used, all formats
+with an audio stream except the first one are ignored.
+E.g.
+\f[C]-f bestvideo+best+bestaudio --video-multistreams --audio-multistreams\f[R]
+will download and merge all 3 given formats.
+The resulting file will have 2 video streams and 2 audio streams.
+But \f[C]-f bestvideo+best+bestaudio --no-video-multistreams\f[R] will
+download and merge only \f[C]bestvideo\f[R] and \f[C]bestaudio\f[R].
+\f[C]best\f[R] is ignored since another format containing a video stream
+(\f[C]bestvideo\f[R]) has already been selected.
+The order of the formats is therefore important.
+\f[C]-f best+bestaudio --no-audio-multistreams\f[R] will download only
+\f[C]best\f[R] while \f[C]-f bestaudio+best --no-audio-multistreams\f[R]
+will ignore \f[C]best\f[R] and download only \f[C]bestaudio\f[R].
+.SS Filtering Formats
+.PP
+You can also filter the video formats by putting a condition in
+brackets, as in \f[C]-f \[dq]best[height=720]\[dq]\f[R] (or
+\f[C]-f \[dq][filesize>10M]\[dq]\f[R] since filters without a selector
+are interpreted as \f[C]best\f[R]).
+.PP
+The following numeric meta fields can be used with comparisons
+\f[C]<\f[R], \f[C]<=\f[R], \f[C]>\f[R], \f[C]>=\f[R], \f[C]=\f[R]
+(equals), \f[C]!=\f[R] (not equals):
+.IP \[bu] 2
+\f[C]filesize\f[R]: The number of bytes, if known in advance
+.IP \[bu] 2
+\f[C]filesize_approx\f[R]: An estimate for the number of bytes
+.IP \[bu] 2
+\f[C]width\f[R]: Width of the video, if known
+.IP \[bu] 2
+\f[C]height\f[R]: Height of the video, if known
+.IP \[bu] 2
+\f[C]aspect_ratio\f[R]: Aspect ratio of the video, if known
+.IP \[bu] 2
+\f[C]tbr\f[R]: Average bitrate of audio and video in KBit/s
+.IP \[bu] 2
+\f[C]abr\f[R]: Average audio bitrate in KBit/s
+.IP \[bu] 2
+\f[C]vbr\f[R]: Average video bitrate in KBit/s
+.IP \[bu] 2
+\f[C]asr\f[R]: Audio sampling rate in Hertz
+.IP \[bu] 2
+\f[C]fps\f[R]: Frame rate
+.IP \[bu] 2
+\f[C]audio_channels\f[R]: The number of audio channels
+.IP \[bu] 2
+\f[C]stretched_ratio\f[R]: \f[C]width:height\f[R] of the video\[aq]s
+pixels, if not square
+.PP
+Also filtering work for comparisons \f[C]=\f[R] (equals),
+\f[C]\[ha]=\f[R] (starts with), \f[C]$=\f[R] (ends with), \f[C]*=\f[R]
+(contains), \f[C]\[ti]=\f[R] (matches regex) and following string meta
+fields:
+.IP \[bu] 2
+\f[C]url\f[R]: Video URL
+.IP \[bu] 2
+\f[C]ext\f[R]: File extension
+.IP \[bu] 2
+\f[C]acodec\f[R]: Name of the audio codec in use
+.IP \[bu] 2
+\f[C]vcodec\f[R]: Name of the video codec in use
+.IP \[bu] 2
+\f[C]container\f[R]: Name of the container format
+.IP \[bu] 2
+\f[C]protocol\f[R]: The protocol that will be used for the actual
+download, lower-case (\f[C]http\f[R], \f[C]https\f[R], \f[C]rtsp\f[R],
+\f[C]rtmp\f[R], \f[C]rtmpe\f[R], \f[C]mms\f[R], \f[C]f4m\f[R],
+\f[C]ism\f[R], \f[C]http_dash_segments\f[R], \f[C]m3u8\f[R], or
+\f[C]m3u8_native\f[R])
+.IP \[bu] 2
+\f[C]language\f[R]: Language code
+.IP \[bu] 2
+\f[C]dynamic_range\f[R]: The dynamic range of the video
+.IP \[bu] 2
+\f[C]format_id\f[R]: A short description of the format
+.IP \[bu] 2
+\f[C]format\f[R]: A human-readable description of the format
+.IP \[bu] 2
+\f[C]format_note\f[R]: Additional info about the format
+.IP \[bu] 2
+\f[C]resolution\f[R]: Textual description of width and height
+.PP
+Any string comparison may be prefixed with negation \f[C]!\f[R] in order
+to produce an opposite comparison, e.g.
+\f[C]!*=\f[R] (does not contain).
+The comparand of a string comparison needs to be quoted with either
+double or single quotes if it contains spaces or special characters
+other than \f[C]._-\f[R].
+.PP
+\f[B]Note\f[R]: None of the aforementioned meta fields are guaranteed to
+be present since this solely depends on the metadata obtained by
+particular extractor, i.e.
+the metadata offered by the website.
+Any other field made available by the extractor can also be used for
+filtering.
+.PP
+Formats for which the value is not known are excluded unless you put a
+question mark (\f[C]?\f[R]) after the operator.
+You can combine format filters, so
+\f[C]-f \[dq]bv[height<=?720][tbr>500]\[dq]\f[R] selects up to 720p
+videos (or videos where the height is not known) with a bitrate of at
+least 500 KBit/s.
+You can also use the filters with \f[C]all\f[R] to download all formats
+that satisfy the filter, e.g.
+\f[C]-f \[dq]all[vcodec=none]\[dq]\f[R] selects all audio-only formats.
+.PP
+Format selectors can also be grouped using parentheses; e.g.
+\f[C]-f \[dq](mp4,webm)[height<480]\[dq]\f[R] will download the best
+pre-merged mp4 and webm formats with a height lower than 480.
+.SS Sorting Formats
+.PP
+You can change the criteria for being considered the \f[C]best\f[R] by
+using \f[C]-S\f[R] (\f[C]--format-sort\f[R]).
+The general format for this is \f[C]--format-sort field1,field2...\f[R].
+.PP
+The available fields are:
+.IP \[bu] 2
+\f[C]hasvid\f[R]: Gives priority to formats that have a video stream
+.IP \[bu] 2
+\f[C]hasaud\f[R]: Gives priority to formats that have an audio stream
+.IP \[bu] 2
+\f[C]ie_pref\f[R]: The format preference
+.IP \[bu] 2
+\f[C]lang\f[R]: The language preference
+.IP \[bu] 2
+\f[C]quality\f[R]: The quality of the format
+.IP \[bu] 2
+\f[C]source\f[R]: The preference of the source
+.IP \[bu] 2
+\f[C]proto\f[R]: Protocol used for download
+(\f[C]https\f[R]/\f[C]ftps\f[R] > \f[C]http\f[R]/\f[C]ftp\f[R] >
+\f[C]m3u8_native\f[R]/\f[C]m3u8\f[R] > \f[C]http_dash_segments\f[R]>
+\f[C]websocket_frag\f[R] > \f[C]mms\f[R]/\f[C]rtsp\f[R] >
+\f[C]f4f\f[R]/\f[C]f4m\f[R])
+.IP \[bu] 2
+\f[C]vcodec\f[R]: Video Codec (\f[C]av01\f[R] > \f[C]vp9.2\f[R] >
+\f[C]vp9\f[R] > \f[C]h265\f[R] > \f[C]h264\f[R] > \f[C]vp8\f[R] >
+\f[C]h263\f[R] > \f[C]theora\f[R] > other)
+.IP \[bu] 2
+\f[C]acodec\f[R]: Audio Codec (\f[C]flac\f[R]/\f[C]alac\f[R] >
+\f[C]wav\f[R]/\f[C]aiff\f[R] > \f[C]opus\f[R] > \f[C]vorbis\f[R] >
+\f[C]aac\f[R] > \f[C]mp4a\f[R] > \f[C]mp3\f[R] > \f[C]ac4\f[R] >
+\f[C]eac3\f[R] > \f[C]ac3\f[R] > \f[C]dts\f[R] > other)
+.IP \[bu] 2
+\f[C]codec\f[R]: Equivalent to \f[C]vcodec,acodec\f[R]
+.IP \[bu] 2
+\f[C]vext\f[R]: Video Extension (\f[C]mp4\f[R] > \f[C]mov\f[R] >
+\f[C]webm\f[R] > \f[C]flv\f[R] > other).
+If \f[C]--prefer-free-formats\f[R] is used, \f[C]webm\f[R] is preferred.
+.IP \[bu] 2
+\f[C]aext\f[R]: Audio Extension (\f[C]m4a\f[R] > \f[C]aac\f[R] >
+\f[C]mp3\f[R] > \f[C]ogg\f[R] > \f[C]opus\f[R] > \f[C]webm\f[R] >
+other).
+If \f[C]--prefer-free-formats\f[R] is used, the order changes to
+\f[C]ogg\f[R] > \f[C]opus\f[R] > \f[C]webm\f[R] > \f[C]mp3\f[R] >
+\f[C]m4a\f[R] > \f[C]aac\f[R]
+.IP \[bu] 2
+\f[C]ext\f[R]: Equivalent to \f[C]vext,aext\f[R]
+.IP \[bu] 2
+\f[C]filesize\f[R]: Exact filesize, if known in advance
+.IP \[bu] 2
+\f[C]fs_approx\f[R]: Approximate filesize
+.IP \[bu] 2
+\f[C]size\f[R]: Exact filesize if available, otherwise approximate
+filesize
+.IP \[bu] 2
+\f[C]height\f[R]: Height of video
+.IP \[bu] 2
+\f[C]width\f[R]: Width of video
+.IP \[bu] 2
+\f[C]res\f[R]: Video resolution, calculated as the smallest dimension.
+.IP \[bu] 2
+\f[C]fps\f[R]: Framerate of video
+.IP \[bu] 2
+\f[C]hdr\f[R]: The dynamic range of the video (\f[C]DV\f[R] >
+\f[C]HDR12\f[R] > \f[C]HDR10+\f[R] > \f[C]HDR10\f[R] > \f[C]HLG\f[R] >
+\f[C]SDR\f[R])
+.IP \[bu] 2
+\f[C]channels\f[R]: The number of audio channels
+.IP \[bu] 2
+\f[C]tbr\f[R]: Total average bitrate in KBit/s
+.IP \[bu] 2
+\f[C]vbr\f[R]: Average video bitrate in KBit/s
+.IP \[bu] 2
+\f[C]abr\f[R]: Average audio bitrate in KBit/s
+.IP \[bu] 2
+\f[C]br\f[R]: Average bitrate in KBit/s,
+\f[C]tbr\f[R]/\f[C]vbr\f[R]/\f[C]abr\f[R]
+.IP \[bu] 2
+\f[C]asr\f[R]: Audio sample rate in Hz
+.PP
+\f[B]Deprecation warning\f[R]: Many of these fields have (currently
+undocumented) aliases, that may be removed in a future version.
+It is recommended to use only the documented field names.
+.PP
+All fields, unless specified otherwise, are sorted in descending order.
+To reverse this, prefix the field with a \f[C]+\f[R].
+E.g.
+\f[C]+res\f[R] prefers format with the smallest resolution.
+Additionally, you can suffix a preferred value for the fields, separated
+by a \f[C]:\f[R].
+E.g.
+\f[C]res:720\f[R] prefers larger videos, but no larger than 720p and the
+smallest video if there are no videos less than 720p.
+For \f[C]codec\f[R] and \f[C]ext\f[R], you can provide two preferred
+values, the first for video and the second for audio.
+E.g.
+\f[C]+codec:avc:m4a\f[R] (equivalent to
+\f[C]+vcodec:avc,+acodec:m4a\f[R]) sets the video codec preference to
+\f[C]h264\f[R] > \f[C]h265\f[R] > \f[C]vp9\f[R] > \f[C]vp9.2\f[R] >
+\f[C]av01\f[R] > \f[C]vp8\f[R] > \f[C]h263\f[R] > \f[C]theora\f[R] and
+audio codec preference to \f[C]mp4a\f[R] > \f[C]aac\f[R] >
+\f[C]vorbis\f[R] > \f[C]opus\f[R] > \f[C]mp3\f[R] > \f[C]ac3\f[R] >
+\f[C]dts\f[R].
+You can also make the sorting prefer the nearest values to the provided
+by using \f[C]\[ti]\f[R] as the delimiter.
+E.g.
+\f[C]filesize\[ti]1G\f[R] prefers the format with filesize closest to 1
+GiB.
+.PP
+The fields \f[C]hasvid\f[R] and \f[C]ie_pref\f[R] are always given
+highest priority in sorting, irrespective of the user-defined order.
+This behaviour can be changed by using \f[C]--format-sort-force\f[R].
+Apart from these, the default order used is:
+\f[C]lang,quality,res,fps,hdr:12,vcodec:vp9.2,channels,acodec,size,br,asr,proto,ext,hasaud,source,id\f[R].
+The extractors may override this default order, but they cannot override
+the user-provided order.
+.PP
+Note that the default has \f[C]vcodec:vp9.2\f[R]; i.e.
+\f[C]av1\f[R] is not preferred.
+Similarly, the default for hdr is \f[C]hdr:12\f[R]; i.e.
+dolby vision is not preferred.
+These choices are made since DV and AV1 formats are not yet fully
+compatible with most devices.
+This may be changed in the future as more devices become capable of
+smoothly playing back these formats.
+.PP
+If your format selector is \f[C]worst\f[R], the last item is selected
+after sorting.
+This means it will select the format that is worst in all respects.
+Most of the time, what you actually want is the video with the smallest
+filesize instead.
+So it is generally better to use
+\f[C]-f best -S +size,+br,+res,+fps\f[R].
+.PP
+\f[B]Tip\f[R]: You can use the \f[C]-v -F\f[R] to see how the formats
+have been sorted (worst to best).
+.SS Format Selection examples
+.IP
+.nf
+\f[C]
+# Download and merge the best video-only format and the best audio-only format,
+# or download the best combined format if video-only format is not available
+$ yt-dlp -f \[dq]bv+ba/b\[dq]
+
+# Download best format that contains video,
+# and if it doesn\[aq]t already have an audio stream, merge it with best audio-only format
+$ yt-dlp -f \[dq]bv*+ba/b\[dq]
+
+# Same as above
+$ yt-dlp
+
+# Download the best video-only format and the best audio-only format without merging them
+# For this case, an output template should be used since
+# by default, bestvideo and bestaudio will have the same file name.
+$ yt-dlp -f \[dq]bv,ba\[dq] -o \[dq]%(title)s.f%(format_id)s.%(ext)s\[dq]
+
+# Download and merge the best format that has a video stream,
+# and all audio-only formats into one file
+$ yt-dlp -f \[dq]bv*+mergeall[vcodec=none]\[dq] --audio-multistreams
+
+# Download and merge the best format that has a video stream,
+# and the best 2 audio-only formats into one file
+$ yt-dlp -f \[dq]bv*+ba+ba.2\[dq] --audio-multistreams
+
+
+# The following examples show the old method (without -S) of format selection
+# and how to use -S to achieve a similar but (generally) better result
+
+# Download the worst video available (old method)
+$ yt-dlp -f \[dq]wv*+wa/w\[dq]
+
+# Download the best video available but with the smallest resolution
+$ yt-dlp -S \[dq]+res\[dq]
+
+# Download the smallest video available
+$ yt-dlp -S \[dq]+size,+br\[dq]
+
+
+
+# Download the best mp4 video available, or the best video if no mp4 available
+$ yt-dlp -f \[dq]bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] / bv*+ba/b\[dq]
+
+# Download the best video with the best extension
+# (For video, mp4 > mov > webm > flv. For audio, m4a > aac > mp3 ...)
+$ yt-dlp -S \[dq]ext\[dq]
+
+
+
+# Download the best video available but no better than 480p,
+# or the worst video if there is no video under 480p
+$ yt-dlp -f \[dq]bv*[height<=480]+ba/b[height<=480] / wv*+ba/w\[dq]
+
+# Download the best video available with the largest height but no better than 480p,
+# or the best video with the smallest resolution if there is no video under 480p
+$ yt-dlp -S \[dq]height:480\[dq]
+
+# Download the best video available with the largest resolution but no better than 480p,
+# or the best video with the smallest resolution if there is no video under 480p
+# Resolution is determined by using the smallest dimension.
+# So this works correctly for vertical videos as well
+$ yt-dlp -S \[dq]res:480\[dq]
+
+
+
+# Download the best video (that also has audio) but no bigger than 50 MB,
+# or the worst video (that also has audio) if there is no video under 50 MB
+$ yt-dlp -f \[dq]b[filesize<50M] / w\[dq]
+
+# Download largest video (that also has audio) but no bigger than 50 MB,
+# or the smallest video (that also has audio) if there is no video under 50 MB
+$ yt-dlp -f \[dq]b\[dq] -S \[dq]filesize:50M\[dq]
+
+# Download best video (that also has audio) that is closest in size to 50 MB
+$ yt-dlp -f \[dq]b\[dq] -S \[dq]filesize\[ti]50M\[dq]
+
+
+
+# Download best video available via direct link over HTTP/HTTPS protocol,
+# or the best video available via any protocol if there is no such video
+$ yt-dlp -f \[dq](bv*+ba/b)[protocol\[ha]=http][protocol!*=dash] / (bv*+ba/b)\[dq]
+
+# Download best video available via the best protocol
+# (https/ftps > http/ftp > m3u8_native > m3u8 > http_dash_segments ...)
+$ yt-dlp -S \[dq]proto\[dq]
+
+
+
+# Download the best video with either h264 or h265 codec,
+# or the best video if there is no such video
+$ yt-dlp -f \[dq](bv*[vcodec\[ti]=\[aq]\[ha]((he|a)vc|h26[45])\[aq]]+ba) / (bv*+ba/b)\[dq]
+
+# Download the best video with best codec no better than h264,
+# or the best video with worst codec if there is no such video
+$ yt-dlp -S \[dq]codec:h264\[dq]
+
+# Download the best video with worst codec no worse than h264,
+# or the best video with best codec if there is no such video
+$ yt-dlp -S \[dq]+codec:h264\[dq]
+
+
+
+# More complex examples
+
+# Download the best video no better than 720p preferring framerate greater than 30,
+# or the worst video (still preferring framerate greater than 30) if there is no such video
+$ yt-dlp -f \[dq]((bv*[fps>30]/bv*)[height<=720]/(wv*[fps>30]/wv*)) + ba / (b[fps>30]/b)[height<=720]/(w[fps>30]/w)\[dq]
+
+# Download the video with the largest resolution no better than 720p,
+# or the video with the smallest resolution available if there is no such video,
+# preferring larger framerate for formats with the same resolution
+$ yt-dlp -S \[dq]res:720,fps\[dq]
+
+
+
+# Download the video with smallest resolution no worse than 480p,
+# or the video with the largest resolution available if there is no such video,
+# preferring better codec and then larger total bitrate for the same resolution
+$ yt-dlp -S \[dq]+res:480,codec,br\[dq]
+\f[R]
+.fi
+.SH MODIFYING METADATA
+.PP
+The metadata obtained by the extractors can be modified by using
+\f[C]--parse-metadata\f[R] and \f[C]--replace-in-metadata\f[R]
+.PP
+\f[C]--replace-in-metadata FIELDS REGEX REPLACE\f[R] is used to replace
+text in any metadata field using python regular
+expression (https://docs.python.org/3/library/re.html#regular-expression-syntax).
+Backreferences (https://docs.python.org/3/library/re.html?highlight=backreferences#re.sub)
+can be used in the replace string for advanced use.
+.PP
+The general syntax of \f[C]--parse-metadata FROM:TO\f[R] is to give the
+name of a field or an output template to extract data from, and the
+format to interpret it as, separated by a colon \f[C]:\f[R].
+Either a python regular
+expression (https://docs.python.org/3/library/re.html#regular-expression-syntax)
+with named capture groups, a single field name, or a similar syntax to
+the output template (only \f[C]%(field)s\f[R] formatting is supported)
+can be used for \f[C]TO\f[R].
+The option can be used multiple times to parse and modify various
+fields.
+.PP
+Note that these options preserve their relative order, allowing
+replacements to be made in parsed fields and viceversa.
+Also, any field thus created can be used in the output template and will
+also affect the media file\[aq]s metadata added when using
+\f[C]--embed-metadata\f[R].
+.PP
+This option also has a few special uses:
+.IP \[bu] 2
+You can download an additional URL based on the metadata of the
+currently downloaded video.
+To do this, set the field \f[C]additional_urls\f[R] to the URL that you
+want to download.
+E.g.
+\f[C]--parse-metadata \[dq]description:(?P<additional_urls>https?://www\[rs].vimeo\[rs].com/\[rs]d+)\[dq]\f[R]
+will download the first vimeo video found in the description
+.IP \[bu] 2
+You can use this to change the metadata that is embedded in the media
+file.
+To do this, set the value of the corresponding field with a
+\f[C]meta_\f[R] prefix.
+For example, any value you set to \f[C]meta_description\f[R] field will
+be added to the \f[C]description\f[R] field in the file - you can use
+this to set a different \[dq]description\[dq] and \[dq]synopsis\[dq].
+To modify the metadata of individual streams, use the \f[C]meta<n>_\f[R]
+prefix (e.g.
+\f[C]meta1_language\f[R]).
+Any value set to the \f[C]meta_\f[R] field will overwrite all default
+values.
+.PP
+\f[B]Note\f[R]: Metadata modification happens before format selection,
+post-extraction and other post-processing operations.
+Some fields may be added or changed during these steps, overriding your
+changes.
+.PP
+For reference, these are the fields yt-dlp adds by default to the file
+metadata:
+.PP
+.TS
+tab(@);
+l l.
+T{
+Metadata fields
+T}@T{
+From
+T}
+_
+T{
+\f[C]title\f[R]
+T}@T{
+\f[C]track\f[R] or \f[C]title\f[R]
+T}
+T{
+\f[C]date\f[R]
+T}@T{
+\f[C]upload_date\f[R]
+T}
+T{
+\f[C]description\f[R], \f[C]synopsis\f[R]
+T}@T{
+\f[C]description\f[R]
+T}
+T{
+\f[C]purl\f[R], \f[C]comment\f[R]
+T}@T{
+\f[C]webpage_url\f[R]
+T}
+T{
+\f[C]track\f[R]
+T}@T{
+\f[C]track_number\f[R]
+T}
+T{
+\f[C]artist\f[R]
+T}@T{
+\f[C]artist\f[R], \f[C]creator\f[R], \f[C]uploader\f[R] or
+\f[C]uploader_id\f[R]
+T}
+T{
+\f[C]genre\f[R]
+T}@T{
+\f[C]genre\f[R]
+T}
+T{
+\f[C]album\f[R]
+T}@T{
+\f[C]album\f[R]
+T}
+T{
+\f[C]album_artist\f[R]
+T}@T{
+\f[C]album_artist\f[R]
+T}
+T{
+\f[C]disc\f[R]
+T}@T{
+\f[C]disc_number\f[R]
+T}
+T{
+\f[C]show\f[R]
+T}@T{
+\f[C]series\f[R]
+T}
+T{
+\f[C]season_number\f[R]
+T}@T{
+\f[C]season_number\f[R]
+T}
+T{
+\f[C]episode_id\f[R]
+T}@T{
+\f[C]episode\f[R] or \f[C]episode_id\f[R]
+T}
+T{
+\f[C]episode_sort\f[R]
+T}@T{
+\f[C]episode_number\f[R]
+T}
+T{
+\f[C]language\f[R] of each stream
+T}@T{
+the format\[aq]s \f[C]language\f[R]
+T}
+.TE
+.PP
+\f[B]Note\f[R]: The file format may not support some of these fields
+.SS Modifying metadata examples
+.IP
+.nf
+\f[C]
+# Interpret the title as \[dq]Artist - Title\[dq]
+$ yt-dlp --parse-metadata \[dq]title:%(artist)s - %(title)s\[dq]
+
+# Regex example
+$ yt-dlp --parse-metadata \[dq]description:Artist - (?P<artist>.+)\[dq]
+
+# Set title as \[dq]Series name S01E05\[dq]
+$ yt-dlp --parse-metadata \[dq]%(series)s S%(season_number)02dE%(episode_number)02d:%(title)s\[dq]
+
+# Prioritize uploader as the \[dq]artist\[dq] field in video metadata
+$ yt-dlp --parse-metadata \[dq]%(uploader|)s:%(meta_artist)s\[dq] --embed-metadata
+
+# Set \[dq]comment\[dq] field in video metadata using description instead of webpage_url,
+# handling multiple lines correctly
+$ yt-dlp --parse-metadata \[dq]description:(?s)(?P<meta_comment>.+)\[dq] --embed-metadata
+
+# Do not set any \[dq]synopsis\[dq] in the video metadata
+$ yt-dlp --parse-metadata \[dq]:(?P<meta_synopsis>)\[dq]
+
+# Remove \[dq]formats\[dq] field from the infojson by setting it to an empty string
+$ yt-dlp --parse-metadata \[dq]video::(?P<formats>)\[dq] --write-info-json
+
+# Replace all spaces and \[dq]_\[dq] in title and uploader with a \[ga]-\[ga]
+$ yt-dlp --replace-in-metadata \[dq]title,uploader\[dq] \[dq][ _]\[dq] \[dq]-\[dq]
+\f[R]
+.fi
+.SH EXTRACTOR ARGUMENTS
+.PP
+Some extractors accept additional arguments which can be passed using
+\f[C]--extractor-args KEY:ARGS\f[R].
+\f[C]ARGS\f[R] is a \f[C];\f[R] (semicolon) separated string of
+\f[C]ARG=VAL1,VAL2\f[R].
+E.g.
+\f[C]--extractor-args \[dq]youtube:player-client=android_embedded,web;include_live_dash\[dq] --extractor-args \[dq]funimation:version=uncut\[dq]\f[R]
+.PP
+Note: In CLI, \f[C]ARG\f[R] can use \f[C]-\f[R] instead of \f[C]_\f[R];
+e.g.
+\f[C]youtube:player-client\[dq]\f[R] becomes
+\f[C]youtube:player_client\[dq]\f[R]
+.PP
+The following extractors use this feature:
+.SS youtube
+.IP \[bu] 2
+\f[C]lang\f[R]: Prefer translated metadata (\f[C]title\f[R],
+\f[C]description\f[R] etc) of this language code (case-sensitive).
+By default, the video primary language metadata is preferred, with a
+fallback to \f[C]en\f[R] translated.
+See
+youtube.py (https://github.com/yt-dlp/yt-dlp/blob/c26f9b991a0681fd3ea548d535919cec1fbbd430/yt_dlp/extractor/youtube.py#L381-L390)
+for list of supported content language codes
+.IP \[bu] 2
+\f[C]skip\f[R]: One or more of \f[C]hls\f[R], \f[C]dash\f[R] or
+\f[C]translated_subs\f[R] to skip extraction of the m3u8 manifests, dash
+manifests and auto-translated
+subtitles (https://github.com/yt-dlp/yt-dlp/issues/4090#issuecomment-1158102032)
+respectively
+.IP \[bu] 2
+\f[C]player_client\f[R]: Clients to extract video data from.
+The main clients are \f[C]web\f[R], \f[C]android\f[R] and \f[C]ios\f[R]
+with variants \f[C]_music\f[R], \f[C]_embedded\f[R],
+\f[C]_embedscreen\f[R], \f[C]_creator\f[R] (e.g.
+\f[C]web_embedded\f[R]); and \f[C]mweb\f[R], \f[C]mweb_embedscreen\f[R]
+and \f[C]tv_embedded\f[R] (agegate bypass) with no variants.
+By default, \f[C]ios,android,web\f[R] is used, but \f[C]tv_embedded\f[R]
+and \f[C]creator\f[R] variants are added as required for age-gated
+videos.
+Similarly, the music variants are added for \f[C]music.youtube.com\f[R]
+urls.
+You can use \f[C]all\f[R] to use all the clients, and \f[C]default\f[R]
+for the default clients.
+.IP \[bu] 2
+\f[C]player_skip\f[R]: Skip some network requests that are generally
+needed for robust extraction.
+One or more of \f[C]configs\f[R] (skip client configs),
+\f[C]webpage\f[R] (skip initial webpage), \f[C]js\f[R] (skip js player).
+While these options can help reduce the number of requests needed or
+avoid some rate-limiting, they could cause some issues.
+See #860 (https://github.com/yt-dlp/yt-dlp/pull/860) for more details
+.IP \[bu] 2
+\f[C]player_params\f[R]: YouTube player parameters to use for player
+requests.
+Will overwrite any default ones set by yt-dlp.
+.IP \[bu] 2
+\f[C]comment_sort\f[R]: \f[C]top\f[R] or \f[C]new\f[R] (default) -
+choose comment sorting mode (on YouTube\[aq]s side)
+.IP \[bu] 2
+\f[C]max_comments\f[R]: Limit the amount of comments to gather.
+Comma-separated list of integers representing
+\f[C]max-comments,max-parents,max-replies,max-replies-per-thread\f[R].
+Default is \f[C]all,all,all,all\f[R]
+.RS 2
+.IP \[bu] 2
+E.g.
+\f[C]all,all,1000,10\f[R] will get a maximum of 1000 replies total, with
+up to 10 replies per thread.
+\f[C]1000,all,100\f[R] will get a maximum of 1000 comments, with a
+maximum of 100 replies total
+.RE
+.IP \[bu] 2
+\f[C]formats\f[R]: Change the types of formats to return.
+\f[C]dashy\f[R] (convert HTTP to DASH), \f[C]duplicate\f[R] (identical
+content but different URLs or protocol; includes \f[C]dashy\f[R]),
+\f[C]incomplete\f[R] (cannot be downloaded completely - live dash and
+post-live m3u8)
+.IP \[bu] 2
+\f[C]innertube_host\f[R]: Innertube API host to use for all API
+requests; e.g.
+\f[C]studio.youtube.com\f[R], \f[C]youtubei.googleapis.com\f[R].
+Note that cookies exported from one subdomain will not work on others
+.IP \[bu] 2
+\f[C]innertube_key\f[R]: Innertube API key to use for all API requests
+.IP \[bu] 2
+\f[C]raise_incomplete_data\f[R]: \f[C]Incomplete Data Received\f[R]
+raises an error instead of reporting a warning
+.SS youtubetab (YouTube playlists, channels, feeds, etc.)
+.IP \[bu] 2
+\f[C]skip\f[R]: One or more of \f[C]webpage\f[R] (skip initial webpage
+download), \f[C]authcheck\f[R] (allow the download of playlists
+requiring authentication when no initial webpage is downloaded.
+This may cause unwanted behavior, see
+#1122 (https://github.com/yt-dlp/yt-dlp/pull/1122) for more details)
+.IP \[bu] 2
+\f[C]approximate_date\f[R]: Extract approximate \f[C]upload_date\f[R]
+and \f[C]timestamp\f[R] in flat-playlist.
+This may cause date-based filters to be slightly off
+.SS generic
+.IP \[bu] 2
+\f[C]fragment_query\f[R]: Passthrough any query in mpd/m3u8 manifest
+URLs to their fragments if no value is provided, or else apply the query
+string given as \f[C]fragment_query=VALUE\f[R].
+Does not apply to ffmpeg
+.IP \[bu] 2
+\f[C]variant_query\f[R]: Passthrough the master m3u8 URL query to its
+variant playlist URLs if no value is provided, or else apply the query
+string given as \f[C]variant_query=VALUE\f[R]
+.IP \[bu] 2
+\f[C]hls_key\f[R]: An HLS AES-128 key URI \f[I]or\f[R] key (as hex), and
+optionally the IV (as hex), in the form of \f[C](URI|KEY)[,IV]\f[R];
+e.g.
+\f[C]generic:hls_key=ABCDEF1234567980,0xFEDCBA0987654321\f[R].
+Passing any of these values will force usage of the native HLS
+downloader and override the corresponding values found in the m3u8
+playlist
+.IP \[bu] 2
+\f[C]is_live\f[R]: Bypass live HLS detection and manually set
+\f[C]live_status\f[R] - a value of \f[C]false\f[R] will set
+\f[C]not_live\f[R], any other value (or no value) will set
+\f[C]is_live\f[R]
+.SS funimation
+.IP \[bu] 2
+\f[C]language\f[R]: Audio languages to extract, e.g.
+\f[C]funimation:language=english,japanese\f[R]
+.IP \[bu] 2
+\f[C]version\f[R]: The video version to extract - \f[C]uncut\f[R] or
+\f[C]simulcast\f[R]
+.SS crunchyrollbeta (Crunchyroll)
+.IP \[bu] 2
+\f[C]format\f[R]: Which stream type(s) to extract (default:
+\f[C]adaptive_hls\f[R]).
+Potentially useful values include \f[C]adaptive_hls\f[R],
+\f[C]adaptive_dash\f[R], \f[C]vo_adaptive_hls\f[R],
+\f[C]vo_adaptive_dash\f[R], \f[C]download_hls\f[R],
+\f[C]download_dash\f[R], \f[C]multitrack_adaptive_hls_v2\f[R]
+.IP \[bu] 2
+\f[C]hardsub\f[R]: Preference order for which hardsub versions to
+extract, or \f[C]all\f[R] (default: \f[C]None\f[R] = no hardsubs), e.g.
+\f[C]crunchyrollbeta:hardsub=en-US,None\f[R]
+.SS vikichannel
+.IP \[bu] 2
+\f[C]video_types\f[R]: Types of videos to download - one or more of
+\f[C]episodes\f[R], \f[C]movies\f[R], \f[C]clips\f[R],
+\f[C]trailers\f[R]
+.SS niconico
+.IP \[bu] 2
+\f[C]segment_duration\f[R]: Segment duration in milliseconds for HLS-DMC
+formats.
+Use it at your own risk since this feature \f[B]may result in your
+account termination.\f[R]
+.SS youtubewebarchive
+.IP \[bu] 2
+\f[C]check_all\f[R]: Try to check more at the cost of more requests.
+One or more of \f[C]thumbnails\f[R], \f[C]captures\f[R]
+.SS gamejolt
+.IP \[bu] 2
+\f[C]comment_sort\f[R]: \f[C]hot\f[R] (default), \f[C]you\f[R] (cookies
+needed), \f[C]top\f[R], \f[C]new\f[R] - choose comment sorting mode (on
+GameJolt\[aq]s side)
+.SS hotstar
+.IP \[bu] 2
+\f[C]res\f[R]: resolution to ignore - one or more of \f[C]sd\f[R],
+\f[C]hd\f[R], \f[C]fhd\f[R]
+.IP \[bu] 2
+\f[C]vcodec\f[R]: vcodec to ignore - one or more of \f[C]h264\f[R],
+\f[C]h265\f[R], \f[C]dvh265\f[R]
+.IP \[bu] 2
+\f[C]dr\f[R]: dynamic range to ignore - one or more of \f[C]sdr\f[R],
+\f[C]hdr10\f[R], \f[C]dv\f[R]
+.SS niconicochannelplus
+.IP \[bu] 2
+\f[C]max_comments\f[R]: Maximum number of comments to extract - default
+is \f[C]120\f[R]
+.SS tiktok
+.IP \[bu] 2
+\f[C]api_hostname\f[R]: Hostname to use for mobile API requests, e.g.
+\f[C]api-h2.tiktokv.com\f[R]
+.IP \[bu] 2
+\f[C]app_version\f[R]: App version to call mobile APIs with - should be
+set along with \f[C]manifest_app_version\f[R], e.g.
+\f[C]20.2.1\f[R]
+.IP \[bu] 2
+\f[C]manifest_app_version\f[R]: Numeric app version to call mobile APIs
+with, e.g.
+\f[C]221\f[R]
+.SS rokfinchannel
+.IP \[bu] 2
+\f[C]tab\f[R]: Which tab to download - one of \f[C]new\f[R],
+\f[C]top\f[R], \f[C]videos\f[R], \f[C]podcasts\f[R], \f[C]streams\f[R],
+\f[C]stacks\f[R]
+.SS twitter
+.IP \[bu] 2
+\f[C]api\f[R]: Select one of \f[C]graphql\f[R] (default),
+\f[C]legacy\f[R] or \f[C]syndication\f[R] as the API for tweet
+extraction.
+Has no effect if logged in
+.SS stacommu, wrestleuniverse
+.IP \[bu] 2
+\f[C]device_id\f[R]: UUID value assigned by the website and used to
+enforce device limits for paid livestream content.
+Can be found in browser local storage
+.SS twitch
+.IP \[bu] 2
+\f[C]client_id\f[R]: Client ID value to be sent with GraphQL requests,
+e.g.
+\f[C]twitch:client_id=kimne78kx3ncx6brgo4mv6wki5h1ko\f[R]
+.SS nhkradirulive (NHK \[u3089]\[u3058]\[u308B]\[u2605]\[u3089]\[u3058]\[u308B] LIVE)
+.IP \[bu] 2
+\f[C]area\f[R]: Which regional variation to extract.
+Valid areas are: \f[C]sapporo\f[R], \f[C]sendai\f[R], \f[C]tokyo\f[R],
+\f[C]nagoya\f[R], \f[C]osaka\f[R], \f[C]hiroshima\f[R],
+\f[C]matsuyama\f[R], \f[C]fukuoka\f[R].
+Defaults to \f[C]tokyo\f[R]
+.SS nflplusreplay
+.IP \[bu] 2
+\f[C]type\f[R]: Type(s) of game replays to extract.
+Valid types are: \f[C]full_game\f[R], \f[C]full_game_spanish\f[R],
+\f[C]condensed_game\f[R] and \f[C]all_22\f[R].
+You can use \f[C]all\f[R] to extract all available replay types, which
+is the default
+.PP
+\f[B]Note\f[R]: These options may be changed/removed in the future
+without concern for backward compatibility
+.SH INSTALLATION
+.PP
+You can install yt-dlp using the binaries,
+pip (https://pypi.org/project/yt-dlp) or one using a third-party package
+manager.
+See the wiki (https://github.com/yt-dlp/yt-dlp/wiki/Installation) for
+detailed instructions
+.SS UPDATE
+.PP
+You can use \f[C]yt-dlp -U\f[R] to update if you are using the release
+binaries
+.PP
+If you installed with
+pip (https://github.com/yt-dlp/yt-dlp/wiki/Installation#with-pip),
+simply re-run the same command that was used to install the program
+.PP
+For other third-party package managers, see the
+wiki (https://github.com/yt-dlp/yt-dlp/wiki/Installation#third-party-package-managers)
+or refer their documentation
+.PP
+.PP
+There are currently three release channels for binaries:
+\f[C]stable\f[R], \f[C]nightly\f[R] and \f[C]master\f[R].
+.IP \[bu] 2
+\f[C]stable\f[R] is the default channel, and many of its changes have
+been tested by users of the \f[C]nightly\f[R] and \f[C]master\f[R]
+channels.
+.IP \[bu] 2
+The \f[C]nightly\f[R] channel has releases scheduled to build every day
+around midnight UTC, for a snapshot of the project\[aq]s new patches and
+changes.
+This is the \f[B]recommended channel for regular users\f[R] of yt-dlp.
+The \f[C]nightly\f[R] releases are available from
+yt-dlp/yt-dlp-nightly-builds (https://github.com/yt-dlp/yt-dlp-nightly-builds/releases)
+or as development releases of the \f[C]yt-dlp\f[R] PyPI package (which
+can be installed with pip\[aq]s \f[C]--pre\f[R] flag).
+.IP \[bu] 2
+The \f[C]master\f[R] channel features releases that are built after each
+push to the master branch, and these will have the very latest fixes and
+additions, but may also be more prone to regressions.
+They are available from
+yt-dlp/yt-dlp-master-builds (https://github.com/yt-dlp/yt-dlp-master-builds/releases).
+.PP
+When using \f[C]--update\f[R]/\f[C]-U\f[R], a release binary will only
+update to its current channel.
+\f[C]--update-to CHANNEL\f[R] can be used to switch to a different
+channel when a newer version is available.
+\f[C]--update-to [CHANNEL\[at]]TAG\f[R] can also be used to upgrade or
+downgrade to specific tags from a channel.
+.PP
+You may also use \f[C]--update-to <repository>\f[R]
+(\f[C]<owner>/<repository>\f[R]) to update to a channel on a completely
+different repository.
+Be careful with what repository you are updating to though, there is no
+verification done for binaries from different repositories.
+.PP
+Example usage: * \f[C]yt-dlp --update-to master\f[R] switch to the
+\f[C]master\f[R] channel and update to its latest release *
+\f[C]yt-dlp --update-to stable\[at]2023.07.06\f[R] upgrade/downgrade to
+release to \f[C]stable\f[R] channel tag \f[C]2023.07.06\f[R] *
+\f[C]yt-dlp --update-to 2023.10.07\f[R] upgrade/downgrade to tag
+\f[C]2023.10.07\f[R] if it exists on the current channel *
+\f[C]yt-dlp --update-to example/yt-dlp\[at]2023.09.24\f[R]
+upgrade/downgrade to the release from the \f[C]example/yt-dlp\f[R]
+repository, tag \f[C]2023.09.24\f[R]
+.PP
+\f[B]Important\f[R]: Any user experiencing an issue with the
+\f[C]stable\f[R] release should install or update to the
+\f[C]nightly\f[R] release before submitting a bug report:
+.IP
+.nf
+\f[C]
+
+
+# PLUGINS
+
+Note that **all** plugins are imported even if not invoked, and that **there are no checks** performed on plugin code. **Use plugins at your own risk and only if you trust the code!**
+
+Plugins can be of \[ga]<type>\[ga]s \[ga]extractor\[ga] or \[ga]postprocessor\[ga].
+- Extractor plugins do not need to be enabled from the CLI and are automatically invoked when the input URL is suitable for it.
+- Extractor plugins take priority over builtin extractors.
+- Postprocessor plugins can be invoked using \[ga]--use-postprocessor NAME\[ga].
+
+
+Plugins are loaded from the namespace packages \[ga]yt_dlp_plugins.extractor\[ga] and \[ga]yt_dlp_plugins.postprocessor\[ga].
+
+In other words, the file structure on the disk looks something like:
+
+ yt_dlp_plugins/
+ extractor/
+ myplugin.py
+ postprocessor/
+ myplugin.py
+
+yt-dlp looks for these \[ga]yt_dlp_plugins\[ga] namespace folders in many locations (see below) and loads in plugins from **all** of them.
+
+See the [wiki for some known plugins](https://github.com/yt-dlp/yt-dlp/wiki/Plugins)
+
+## Installing Plugins
+
+Plugins can be installed using various methods and locations.
+
+1. **Configuration directories**:
+ Plugin packages (containing a \[ga]yt_dlp_plugins\[ga] namespace folder) can be dropped into the following standard [configuration locations](#configuration):
+ * **User Plugins**
+ * \[ga]${XDG_CONFIG_HOME}/yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga] (recommended on Linux/macOS)
+ * \[ga]${XDG_CONFIG_HOME}/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
+ * \[ga]${APPDATA}/yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga] (recommended on Windows)
+ * \[ga]${APPDATA}/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
+ * \[ga]\[ti]/.yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga]
+ * \[ga]\[ti]/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
+ * **System Plugins**
+ * \[ga]/etc/yt-dlp/plugins/<package name>/yt_dlp_plugins/\[ga]
+ * \[ga]/etc/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
+2. **Executable location**: Plugin packages can similarly be installed in a \[ga]yt-dlp-plugins\[ga] directory under the executable location (recommended for portable installations):
+ * Binary: where \[ga]<root-dir>/yt-dlp.exe\[ga], \[ga]<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
+ * Source: where \[ga]<root-dir>/yt_dlp/__main__.py\[ga], \[ga]<root-dir>/yt-dlp-plugins/<package name>/yt_dlp_plugins/\[ga]
+
+3. **pip and other locations in \[ga]PYTHONPATH\[ga]**
+ * Plugin packages can be installed and managed using \[ga]pip\[ga]. See [yt-dlp-sample-plugins](https://github.com/yt-dlp/yt-dlp-sample-plugins) for an example.
+ * Note: plugin files between plugin packages installed with pip must have unique filenames.
+ * Any path in \[ga]PYTHONPATH\[ga] is searched in for the \[ga]yt_dlp_plugins\[ga] namespace folder.
+ * Note: This does not apply for Pyinstaller/py2exe builds.
+
+
+\[ga].zip\[ga], \[ga].egg\[ga] and \[ga].whl\[ga] archives containing a \[ga]yt_dlp_plugins\[ga] namespace folder in their root are also supported as plugin packages.
+* e.g. \[ga]${XDG_CONFIG_HOME}/yt-dlp/plugins/mypluginpkg.zip\[ga] where \[ga]mypluginpkg.zip\[ga] contains \[ga]yt_dlp_plugins/<type>/myplugin.py\[ga]
+
+Run yt-dlp with \[ga]--verbose\[ga] to check if the plugin has been loaded.
+
+## Developing Plugins
+
+See the [yt-dlp-sample-plugins](https://github.com/yt-dlp/yt-dlp-sample-plugins) repo for a template plugin package and the [Plugin Development](https://github.com/yt-dlp/yt-dlp/wiki/Plugin-Development) section of the wiki for a plugin development guide.
+
+All public classes with a name ending in \[ga]IE\[ga]/\[ga]PP\[ga] are imported from each file for extractors and postprocessors repectively. This respects underscore prefix (e.g. \[ga]_MyBasePluginIE\[ga] is private) and \[ga]__all__\[ga]. Modules can similarly be excluded by prefixing the module name with an underscore (e.g. \[ga]_myplugin.py\[ga]).
+
+To replace an existing extractor with a subclass of one, set the \[ga]plugin_name\[ga] class keyword argument (e.g. \[ga]class MyPluginIE(ABuiltInIE, plugin_name=\[aq]myplugin\[aq])\[ga] will replace \[ga]ABuiltInIE\[ga] with \[ga]MyPluginIE\[ga]). Since the extractor replaces the parent, you should exclude the subclass extractor from being imported separately by making it private using one of the methods described above.
+
+If you are a plugin author, add [yt-dlp-plugins](https://github.com/topics/yt-dlp-plugins) as a topic to your repository for discoverability.
+
+See the [Developer Instructions](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#developer-instructions) on how to write and test an extractor.
+
+# EMBEDDING YT-DLP
+
+yt-dlp makes the best effort to be a good command-line program, and thus should be callable from any programming language.
+
+Your program should avoid parsing the normal stdout since they may change in future versions. Instead they should use options such as \[ga]-J\[ga], \[ga]--print\[ga], \[ga]--progress-template\[ga], \[ga]--exec\[ga] etc to create console output that you can reliably reproduce and parse.
+
+From a Python program, you can embed yt-dlp in a more powerful fashion, like this:
+
+\[ga]\[ga]\[ga]python
+from yt_dlp import YoutubeDL
+
+URLS = [\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]]
+with YoutubeDL() as ydl:
+ ydl.download(URLS)
+\f[R]
+.fi
+.PP
+Most likely, you\[aq]ll want to use various options.
+For a list of options available, have a look at
+\f[C]yt_dlp/YoutubeDL.py\f[R] or \f[C]help(yt_dlp.YoutubeDL)\f[R] in a
+Python shell.
+If you are already familiar with the CLI, you can use
+\f[C]devscripts/cli_to_api.py\f[R] (https://github.com/yt-dlp/yt-dlp/blob/master/devscripts/cli_to_api.py)
+to translate any CLI switches to \f[C]YoutubeDL\f[R] params.
+.PP
+\f[B]Tip\f[R]: If you are porting your code from youtube-dl to yt-dlp,
+one important point to look out for is that we do not guarantee the
+return value of \f[C]YoutubeDL.extract_info\f[R] to be json
+serializable, or even be a dictionary.
+It will be dictionary-like, but if you want to ensure it is a
+serializable dictionary, pass it through
+\f[C]YoutubeDL.sanitize_info\f[R] as shown in the example below
+.SS Embedding examples
+.SS Extracting information
+.IP
+.nf
+\f[C]
+import json
+import yt_dlp
+
+URL = \[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]
+
+# \[u2139]\[uFE0F] See help(yt_dlp.YoutubeDL) for a list of available options and public functions
+ydl_opts = {}
+with yt_dlp.YoutubeDL(ydl_opts) as ydl:
+ info = ydl.extract_info(URL, download=False)
+
+ # \[u2139]\[uFE0F] ydl.sanitize_info makes the info json-serializable
+ print(json.dumps(ydl.sanitize_info(info)))
+\f[R]
+.fi
+.SS Download using an info-json
+.IP
+.nf
+\f[C]
+import yt_dlp
+
+INFO_FILE = \[aq]path/to/video.info.json\[aq]
+
+with yt_dlp.YoutubeDL() as ydl:
+ error_code = ydl.download_with_info_file(INFO_FILE)
+
+print(\[aq]Some videos failed to download\[aq] if error_code
+ else \[aq]All videos successfully downloaded\[aq])
+\f[R]
+.fi
+.SS Extract audio
+.IP
+.nf
+\f[C]
+import yt_dlp
+
+URLS = [\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]]
+
+ydl_opts = {
+ \[aq]format\[aq]: \[aq]m4a/bestaudio/best\[aq],
+ # \[u2139]\[uFE0F] See help(yt_dlp.postprocessor) for a list of available Postprocessors and their arguments
+ \[aq]postprocessors\[aq]: [{ # Extract audio using ffmpeg
+ \[aq]key\[aq]: \[aq]FFmpegExtractAudio\[aq],
+ \[aq]preferredcodec\[aq]: \[aq]m4a\[aq],
+ }]
+}
+
+with yt_dlp.YoutubeDL(ydl_opts) as ydl:
+ error_code = ydl.download(URLS)
+\f[R]
+.fi
+.SS Filter videos
+.IP
+.nf
+\f[C]
+import yt_dlp
+
+URLS = [\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]]
+
+def longer_than_a_minute(info, *, incomplete):
+ \[dq]\[dq]\[dq]Download only videos longer than a minute (or with unknown duration)\[dq]\[dq]\[dq]
+ duration = info.get(\[aq]duration\[aq])
+ if duration and duration < 60:
+ return \[aq]The video is too short\[aq]
+
+ydl_opts = {
+ \[aq]match_filter\[aq]: longer_than_a_minute,
+}
+
+with yt_dlp.YoutubeDL(ydl_opts) as ydl:
+ error_code = ydl.download(URLS)
+\f[R]
+.fi
+.SS Adding logger and progress hook
+.IP
+.nf
+\f[C]
+import yt_dlp
+
+URLS = [\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]]
+
+class MyLogger:
+ def debug(self, msg):
+ # For compatibility with youtube-dl, both debug and info are passed into debug
+ # You can distinguish them by the prefix \[aq][debug] \[aq]
+ if msg.startswith(\[aq][debug] \[aq]):
+ pass
+ else:
+ self.info(msg)
+
+ def info(self, msg):
+ pass
+
+ def warning(self, msg):
+ pass
+
+ def error(self, msg):
+ print(msg)
+
+
+# \[u2139]\[uFE0F] See \[dq]progress_hooks\[dq] in help(yt_dlp.YoutubeDL)
+def my_hook(d):
+ if d[\[aq]status\[aq]] == \[aq]finished\[aq]:
+ print(\[aq]Done downloading, now post-processing ...\[aq])
+
+
+ydl_opts = {
+ \[aq]logger\[aq]: MyLogger(),
+ \[aq]progress_hooks\[aq]: [my_hook],
+}
+
+with yt_dlp.YoutubeDL(ydl_opts) as ydl:
+ ydl.download(URLS)
+\f[R]
+.fi
+.SS Add a custom PostProcessor
+.IP
+.nf
+\f[C]
+import yt_dlp
+
+URLS = [\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]]
+
+# \[u2139]\[uFE0F] See help(yt_dlp.postprocessor.PostProcessor)
+class MyCustomPP(yt_dlp.postprocessor.PostProcessor):
+ def run(self, info):
+ self.to_screen(\[aq]Doing stuff\[aq])
+ return [], info
+
+
+with yt_dlp.YoutubeDL() as ydl:
+ # \[u2139]\[uFE0F] \[dq]when\[dq] can take any value in yt_dlp.utils.POSTPROCESS_WHEN
+ ydl.add_post_processor(MyCustomPP(), when=\[aq]pre_process\[aq])
+ ydl.download(URLS)
+\f[R]
+.fi
+.SS Use a custom format selector
+.IP
+.nf
+\f[C]
+import yt_dlp
+
+URLS = [\[aq]https://www.youtube.com/watch?v=BaW_jenozKc\[aq]]
+
+def format_selector(ctx):
+ \[dq]\[dq]\[dq] Select the best video and the best audio that won\[aq]t result in an mkv.
+ NOTE: This is just an example and does not handle all cases \[dq]\[dq]\[dq]
+
+ # formats are already sorted worst to best
+ formats = ctx.get(\[aq]formats\[aq])[::-1]
+
+ # acodec=\[aq]none\[aq] means there is no audio
+ best_video = next(f for f in formats
+ if f[\[aq]vcodec\[aq]] != \[aq]none\[aq] and f[\[aq]acodec\[aq]] == \[aq]none\[aq])
+
+ # find compatible audio extension
+ audio_ext = {\[aq]mp4\[aq]: \[aq]m4a\[aq], \[aq]webm\[aq]: \[aq]webm\[aq]}[best_video[\[aq]ext\[aq]]]
+ # vcodec=\[aq]none\[aq] means there is no video
+ best_audio = next(f for f in formats if (
+ f[\[aq]acodec\[aq]] != \[aq]none\[aq] and f[\[aq]vcodec\[aq]] == \[aq]none\[aq] and f[\[aq]ext\[aq]] == audio_ext))
+
+ # These are the minimum required fields for a merged format
+ yield {
+ \[aq]format_id\[aq]: f\[aq]{best_video[\[dq]format_id\[dq]]}+{best_audio[\[dq]format_id\[dq]]}\[aq],
+ \[aq]ext\[aq]: best_video[\[aq]ext\[aq]],
+ \[aq]requested_formats\[aq]: [best_video, best_audio],
+ # Must be + separated list of protocols
+ \[aq]protocol\[aq]: f\[aq]{best_video[\[dq]protocol\[dq]]}+{best_audio[\[dq]protocol\[dq]]}\[aq]
+ }
+
+
+ydl_opts = {
+ \[aq]format\[aq]: format_selector,
+}
+
+with yt_dlp.YoutubeDL(ydl_opts) as ydl:
+ ydl.download(URLS)
+\f[R]
+.fi
+.SH NEW FEATURES
+.IP \[bu] 2
+Forked from
+\f[B]yt-dlc\[at]f9401f2\f[R] (https://github.com/blackjack4494/yt-dlc/commit/f9401f2a91987068139c5f757b12fc711d4c0cee)
+and merged with
+\f[B]youtube-dl\[at]be008e6\f[R] (https://github.com/ytdl-org/youtube-dl/commit/be008e657d79832642e2158557c899249c9e31cd)
+(exceptions (https://github.com/yt-dlp/yt-dlp/issues/21))
+.IP \[bu] 2
+\f[B]SponsorBlock Integration\f[R]: You can mark/remove sponsor sections
+in YouTube videos by utilizing the
+SponsorBlock (https://sponsor.ajay.app) API
+.IP \[bu] 2
+\f[B]Format Sorting\f[R]: The default format sorting options have been
+changed so that higher resolution and better codecs will be now
+preferred instead of simply using larger bitrate.
+Furthermore, you can now specify the sort order using \f[C]-S\f[R].
+This allows for much easier format selection than what is possible by
+simply using \f[C]--format\f[R] (examples)
+.IP \[bu] 2
+\f[B]Merged with animelover1984/youtube-dl\f[R]: You get most of the
+features and improvements from
+animelover1984/youtube-dl (https://github.com/animelover1984/youtube-dl)
+including \f[C]--write-comments\f[R], \f[C]BiliBiliSearch\f[R],
+\f[C]BilibiliChannel\f[R], Embedding thumbnail in mp4/ogg/opus, playlist
+infojson etc.
+Note that NicoNico livestreams are not available.
+See #31 (https://github.com/yt-dlp/yt-dlp/pull/31) for details.
+.IP \[bu] 2
+\f[B]YouTube improvements\f[R]:
+.RS 2
+.IP \[bu] 2
+Supports Clips, Stories (\f[C]ytstories:<channel UCID>\f[R]), Search
+(including filters)\f[B]*\f[R], YouTube Music Search, Channel-specific
+search, Search prefixes (\f[C]ytsearch:\f[R],
+\f[C]ytsearchdate:\f[R])\f[B]*\f[R], Mixes, and Feeds (\f[C]:ytfav\f[R],
+\f[C]:ytwatchlater\f[R], \f[C]:ytsubs\f[R], \f[C]:ythistory\f[R],
+\f[C]:ytrec\f[R], \f[C]:ytnotif\f[R])
+.IP \[bu] 2
+Fix for n-sig based
+throttling (https://github.com/ytdl-org/youtube-dl/issues/29326)
+\f[B]*\f[R]
+.IP \[bu] 2
+Supports some (but not all) age-gated content without cookies
+.IP \[bu] 2
+Download livestreams from the start using \f[C]--live-from-start\f[R]
+(\f[I]experimental\f[R])
+.IP \[bu] 2
+Channel URLs download all uploads of the channel, including shorts and
+live
+.RE
+.IP \[bu] 2
+\f[B]Cookies from browser\f[R]: Cookies can be automatically extracted
+from all major web browsers using
+\f[C]--cookies-from-browser BROWSER[+KEYRING][:PROFILE][::CONTAINER]\f[R]
+.IP \[bu] 2
+\f[B]Download time range\f[R]: Videos can be downloaded partially based
+on either timestamps or chapters using \f[C]--download-sections\f[R]
+.IP \[bu] 2
+\f[B]Split video by chapters\f[R]: Videos can be split into multiple
+files based on chapters using \f[C]--split-chapters\f[R]
+.IP \[bu] 2
+\f[B]Multi-threaded fragment downloads\f[R]: Download multiple fragments
+of m3u8/mpd videos in parallel.
+Use \f[C]--concurrent-fragments\f[R] (\f[C]-N\f[R]) option to set the
+number of threads used
+.IP \[bu] 2
+\f[B]Aria2c with HLS/DASH\f[R]: You can use \f[C]aria2c\f[R] as the
+external downloader for DASH(mpd) and HLS(m3u8) formats
+.IP \[bu] 2
+\f[B]New and fixed extractors\f[R]: Many new extractors have been added
+and a lot of existing ones have been fixed.
+See the changelog or the list of supported sites
+.IP \[bu] 2
+\f[B]New MSOs\f[R]: Philo, Spectrum, SlingTV, Cablevision, RCN etc.
+.IP \[bu] 2
+\f[B]Subtitle extraction from manifests\f[R]: Subtitles can be extracted
+from streaming media manifests.
+See
+commit/be6202f (https://github.com/yt-dlp/yt-dlp/commit/be6202f12b97858b9d716e608394b51065d0419f)
+for details
+.IP \[bu] 2
+\f[B]Multiple paths and output templates\f[R]: You can give different
+output templates and download paths for different types of files.
+You can also set a temporary path where intermediary files are
+downloaded to using \f[C]--paths\f[R] (\f[C]-P\f[R])
+.IP \[bu] 2
+\f[B]Portable Configuration\f[R]: Configuration files are automatically
+loaded from the home and root directories.
+See CONFIGURATION for details
+.IP \[bu] 2
+\f[B]Output template improvements\f[R]: Output templates can now have
+date-time formatting, numeric offsets, object traversal etc.
+See output template for details.
+Even more advanced operations can also be done with the help of
+\f[C]--parse-metadata\f[R] and \f[C]--replace-in-metadata\f[R]
+.IP \[bu] 2
+\f[B]Other new options\f[R]: Many new options have been added such as
+\f[C]--alias\f[R], \f[C]--print\f[R], \f[C]--concat-playlist\f[R],
+\f[C]--wait-for-video\f[R], \f[C]--retry-sleep\f[R],
+\f[C]--sleep-requests\f[R], \f[C]--convert-thumbnails\f[R],
+\f[C]--force-download-archive\f[R], \f[C]--force-overwrites\f[R],
+\f[C]--break-match-filter\f[R] etc
+.IP \[bu] 2
+\f[B]Improvements\f[R]: Regex and other operators in
+\f[C]--format\f[R]/\f[C]--match-filter\f[R], multiple
+\f[C]--postprocessor-args\f[R] and \f[C]--downloader-args\f[R], faster
+archive checking, more format selection options, merge
+multi-video/audio, multiple \f[C]--config-locations\f[R],
+\f[C]--exec\f[R] at different stages, etc
+.IP \[bu] 2
+\f[B]Plugins\f[R]: Extractors and PostProcessors can be loaded from an
+external file.
+See plugins for details
+.IP \[bu] 2
+\f[B]Self updater\f[R]: The releases can be updated using
+\f[C]yt-dlp -U\f[R], and downgraded using \f[C]--update-to\f[R] if
+required
+.IP \[bu] 2
+\f[B]Automated builds\f[R]: Nightly/master builds can be used with
+\f[C]--update-to nightly\f[R] and \f[C]--update-to master\f[R]
+.PP
+See changelog or commits (https://github.com/yt-dlp/yt-dlp/commits) for
+the full list of changes
+.PP
+Features marked with a \f[B]*\f[R] have been back-ported to youtube-dl
+.SS Differences in default behavior
+.PP
+Some of yt-dlp\[aq]s default options are different from that of
+youtube-dl and youtube-dlc:
+.IP \[bu] 2
+yt-dlp supports only Python 3.8+, and \f[I]may\f[R] remove support for
+more versions as they become
+EOL (https://devguide.python.org/versions/#python-release-cycle); while
+youtube-dl still supports Python 2.6+ and
+3.2+ (https://github.com/ytdl-org/youtube-dl/issues/30568#issue-1118238743)
+.IP \[bu] 2
+The options \f[C]--auto-number\f[R] (\f[C]-A\f[R]), \f[C]--title\f[R]
+(\f[C]-t\f[R]) and \f[C]--literal\f[R] (\f[C]-l\f[R]), no longer work.
+See removed options for details
+.IP \[bu] 2
+\f[C]avconv\f[R] is not supported as an alternative to \f[C]ffmpeg\f[R]
+.IP \[bu] 2
+yt-dlp stores config files in slightly different locations to
+youtube-dl.
+See CONFIGURATION for a list of correct locations
+.IP \[bu] 2
+The default output template is \f[C]%(title)s [%(id)s].%(ext)s\f[R].
+There is no real reason for this change.
+This was changed before yt-dlp was ever made public and now there are no
+plans to change it back to \f[C]%(title)s-%(id)s.%(ext)s\f[R].
+Instead, you may use \f[C]--compat-options filename\f[R]
+.IP \[bu] 2
+The default format sorting is different from youtube-dl and prefers
+higher resolution and better codecs rather than higher bitrates.
+You can use the \f[C]--format-sort\f[R] option to change this to any
+order you prefer, or use \f[C]--compat-options format-sort\f[R] to use
+youtube-dl\[aq]s sorting order
+.IP \[bu] 2
+The default format selector is \f[C]bv*+ba/b\f[R].
+This means that if a combined video + audio format that is better than
+the best video-only format is found, the former will be preferred.
+Use \f[C]-f bv+ba/b\f[R] or \f[C]--compat-options format-spec\f[R] to
+revert this
+.IP \[bu] 2
+Unlike youtube-dlc, yt-dlp does not allow merging multiple audio/video
+streams into one file by default (since this conflicts with the use of
+\f[C]-f bv*+ba\f[R]).
+If needed, this feature must be enabled using
+\f[C]--audio-multistreams\f[R] and \f[C]--video-multistreams\f[R].
+You can also use \f[C]--compat-options multistreams\f[R] to enable both
+.IP \[bu] 2
+\f[C]--no-abort-on-error\f[R] is enabled by default.
+Use \f[C]--abort-on-error\f[R] or
+\f[C]--compat-options abort-on-error\f[R] to abort on errors instead
+.IP \[bu] 2
+When writing metadata files such as thumbnails, description or infojson,
+the same information (if available) is also written for playlists.
+Use \f[C]--no-write-playlist-metafiles\f[R] or
+\f[C]--compat-options no-playlist-metafiles\f[R] to not write these
+files
+.IP \[bu] 2
+\f[C]--add-metadata\f[R] attaches the \f[C]infojson\f[R] to
+\f[C]mkv\f[R] files in addition to writing the metadata when used with
+\f[C]--write-info-json\f[R].
+Use \f[C]--no-embed-info-json\f[R] or
+\f[C]--compat-options no-attach-info-json\f[R] to revert this
+.IP \[bu] 2
+Some metadata are embedded into different fields when using
+\f[C]--add-metadata\f[R] as compared to youtube-dl.
+Most notably, \f[C]comment\f[R] field contains the \f[C]webpage_url\f[R]
+and \f[C]synopsis\f[R] contains the \f[C]description\f[R].
+You can use \f[C]--parse-metadata\f[R] to modify this to your liking or
+use \f[C]--compat-options embed-metadata\f[R] to revert this
+.IP \[bu] 2
+\f[C]playlist_index\f[R] behaves differently when used with options like
+\f[C]--playlist-reverse\f[R] and \f[C]--playlist-items\f[R].
+See #302 (https://github.com/yt-dlp/yt-dlp/issues/302) for details.
+You can use \f[C]--compat-options playlist-index\f[R] if you want to
+keep the earlier behavior
+.IP \[bu] 2
+The output of \f[C]-F\f[R] is listed in a new format.
+Use \f[C]--compat-options list-formats\f[R] to revert this
+.IP \[bu] 2
+Live chats (if available) are considered as subtitles.
+Use \f[C]--sub-langs all,-live_chat\f[R] to download all subtitles
+except live chat.
+You can also use \f[C]--compat-options no-live-chat\f[R] to prevent any
+live chat/danmaku from downloading
+.IP \[bu] 2
+YouTube channel URLs download all uploads of the channel.
+To download only the videos in a specific tab, pass the tab\[aq]s URL.
+If the channel does not show the requested tab, an error will be raised.
+Also, \f[C]/live\f[R] URLs raise an error if there are no live videos
+instead of silently downloading the entire channel.
+You may use \f[C]--compat-options no-youtube-channel-redirect\f[R] to
+revert all these redirections
+.IP \[bu] 2
+Unavailable videos are also listed for YouTube playlists.
+Use \f[C]--compat-options no-youtube-unavailable-videos\f[R] to remove
+this
+.IP \[bu] 2
+The upload dates extracted from YouTube are in UTC when
+available (https://github.com/yt-dlp/yt-dlp/blob/89e4d86171c7b7c997c77d4714542e0383bf0db0/yt_dlp/extractor/youtube.py#L3898-L3900).
+Use \f[C]--compat-options no-youtube-prefer-utc-upload-date\f[R] to
+prefer the non-UTC upload date.
+.IP \[bu] 2
+If \f[C]ffmpeg\f[R] is used as the downloader, the downloading and
+merging of formats happen in a single step when possible.
+Use \f[C]--compat-options no-direct-merge\f[R] to revert this
+.IP \[bu] 2
+Thumbnail embedding in \f[C]mp4\f[R] is done with mutagen if possible.
+Use \f[C]--compat-options embed-thumbnail-atomicparsley\f[R] to force
+the use of AtomicParsley instead
+.IP \[bu] 2
+Some internal metadata such as filenames are removed by default from the
+infojson.
+Use \f[C]--no-clean-infojson\f[R] or
+\f[C]--compat-options no-clean-infojson\f[R] to revert this
+.IP \[bu] 2
+When \f[C]--embed-subs\f[R] and \f[C]--write-subs\f[R] are used
+together, the subtitles are written to disk and also embedded in the
+media file.
+You can use just \f[C]--embed-subs\f[R] to embed the subs and
+automatically delete the separate file.
+See #630
+(comment) (https://github.com/yt-dlp/yt-dlp/issues/630#issuecomment-893659460)
+for more info.
+\f[C]--compat-options no-keep-subs\f[R] can be used to revert this
+.IP \[bu] 2
+\f[C]certifi\f[R] will be used for SSL root certificates, if installed.
+If you want to use system certificates (e.g.
+self-signed), use \f[C]--compat-options no-certifi\f[R]
+.IP \[bu] 2
+yt-dlp\[aq]s sanitization of invalid characters in filenames is
+different/smarter than in youtube-dl.
+You can use \f[C]--compat-options filename-sanitization\f[R] to revert
+to youtube-dl\[aq]s behavior
+.IP \[bu] 2
+yt-dlp tries to parse the external downloader outputs into the standard
+progress output if possible (Currently implemented:
+[STRIKEOUT:aria2c] (https://github.com/yt-dlp/yt-dlp/issues/5931)).
+You can use \f[C]--compat-options no-external-downloader-progress\f[R]
+to get the downloader output as-is
+.IP \[bu] 2
+yt-dlp versions between 2021.09.01 and 2023.01.02 applies
+\f[C]--match-filter\f[R] to nested playlists.
+This was an unintentional side-effect of
+8f18ac (https://github.com/yt-dlp/yt-dlp/commit/8f18aca8717bb0dd49054555af8d386e5eda3a88)
+and is fixed in
+d7b460 (https://github.com/yt-dlp/yt-dlp/commit/d7b460d0e5fc710950582baed2e3fc616ed98a80).
+Use \f[C]--compat-options playlist-match-filter\f[R] to revert this
+.IP \[bu] 2
+yt-dlp versions between 2021.11.10 and 2023.06.21 estimated
+\f[C]filesize_approx\f[R] values for fragmented/manifest formats.
+This was added for convenience in
+f2fe69 (https://github.com/yt-dlp/yt-dlp/commit/f2fe69c7b0d208bdb1f6292b4ae92bc1e1a7444a),
+but was reverted in
+0dff8e (https://github.com/yt-dlp/yt-dlp/commit/0dff8e4d1e6e9fb938f4256ea9af7d81f42fd54f)
+due to the potentially extreme inaccuracy of the estimated values.
+Use \f[C]--compat-options manifest-filesize-approx\f[R] to keep
+extracting the estimated values
+.IP \[bu] 2
+yt-dlp uses modern http client backends such as \f[C]requests\f[R].
+Use \f[C]--compat-options prefer-legacy-http-handler\f[R] to prefer the
+legacy http handler (\f[C]urllib\f[R]) to be used for standard http
+requests.
+.IP \[bu] 2
+The sub-module \f[C]swfinterp\f[R] is removed.
+.PP
+For ease of use, a few more compat options are available:
+.IP \[bu] 2
+\f[C]--compat-options all\f[R]: Use all compat options (Do NOT use)
+.IP \[bu] 2
+\f[C]--compat-options youtube-dl\f[R]: Same as
+\f[C]--compat-options all,-multistreams,-playlist-match-filter,-manifest-filesize-approx\f[R]
+.IP \[bu] 2
+\f[C]--compat-options youtube-dlc\f[R]: Same as
+\f[C]--compat-options all,-no-live-chat,-no-youtube-channel-redirect,-playlist-match-filter,-manifest-filesize-approx\f[R]
+.IP \[bu] 2
+\f[C]--compat-options 2021\f[R]: Same as
+\f[C]--compat-options 2022,no-certifi,filename-sanitization,no-youtube-prefer-utc-upload-date\f[R]
+.IP \[bu] 2
+\f[C]--compat-options 2022\f[R]: Same as
+\f[C]--compat-options playlist-match-filter,no-external-downloader-progress,prefer-legacy-http-handler,manifest-filesize-approx\f[R].
+Use this to enable all future compat options
+.SH DEPRECATED OPTIONS
+.PP
+These are all the deprecated options and the current alternative to
+achieve the same effect
+.SS Almost redundant options
+.PP
+While these options are almost the same as their new counterparts, there
+are some differences that prevents them being redundant
+.IP
+.nf
+\f[C]
+-j, --dump-json --print \[dq]%()j\[dq]
+-F, --list-formats --print formats_table
+--list-thumbnails --print thumbnails_table --print playlist:thumbnails_table
+--list-subs --print automatic_captions_table --print subtitles_table
+\f[R]
+.fi
+.SS Redundant options
+.PP
+While these options are redundant, they are still expected to be used
+due to their ease of use
+.IP
+.nf
+\f[C]
+--get-description --print description
+--get-duration --print duration_string
+--get-filename --print filename
+--get-format --print format
+--get-id --print id
+--get-thumbnail --print thumbnail
+-e, --get-title --print title
+-g, --get-url --print urls
+--match-title REGEX --match-filter \[dq]title \[ti]= (?i)REGEX\[dq]
+--reject-title REGEX --match-filter \[dq]title !\[ti]= (?i)REGEX\[dq]
+--min-views COUNT --match-filter \[dq]view_count >=? COUNT\[dq]
+--max-views COUNT --match-filter \[dq]view_count <=? COUNT\[dq]
+--break-on-reject Use --break-match-filter
+--user-agent UA --add-header \[dq]User-Agent:UA\[dq]
+--referer URL --add-header \[dq]Referer:URL\[dq]
+--playlist-start NUMBER -I NUMBER:
+--playlist-end NUMBER -I :NUMBER
+--playlist-reverse -I ::-1
+--no-playlist-reverse Default
+--no-colors --color no_color
+\f[R]
+.fi
+.SS Not recommended
+.PP
+While these options still work, their use is not recommended since there
+are other alternatives to achieve the same
+.IP
+.nf
+\f[C]
+--force-generic-extractor --ies generic,default
+--exec-before-download CMD --exec \[dq]before_dl:CMD\[dq]
+--no-exec-before-download --no-exec
+--all-formats -f all
+--all-subs --sub-langs all --write-subs
+--print-json -j --no-simulate
+--autonumber-size NUMBER Use string formatting, e.g. %(autonumber)03d
+--autonumber-start NUMBER Use internal field formatting like %(autonumber+NUMBER)s
+--id -o \[dq]%(id)s.%(ext)s\[dq]
+--metadata-from-title FORMAT --parse-metadata \[dq]%(title)s:FORMAT\[dq]
+--hls-prefer-native --downloader \[dq]m3u8:native\[dq]
+--hls-prefer-ffmpeg --downloader \[dq]m3u8:ffmpeg\[dq]
+--list-formats-old --compat-options list-formats (Alias: --no-list-formats-as-table)
+--list-formats-as-table --compat-options -list-formats [Default] (Alias: --no-list-formats-old)
+--youtube-skip-dash-manifest --extractor-args \[dq]youtube:skip=dash\[dq] (Alias: --no-youtube-include-dash-manifest)
+--youtube-skip-hls-manifest --extractor-args \[dq]youtube:skip=hls\[dq] (Alias: --no-youtube-include-hls-manifest)
+--youtube-include-dash-manifest Default (Alias: --no-youtube-skip-dash-manifest)
+--youtube-include-hls-manifest Default (Alias: --no-youtube-skip-hls-manifest)
+--geo-bypass --xff \[dq]default\[dq]
+--no-geo-bypass --xff \[dq]never\[dq]
+--geo-bypass-country CODE --xff CODE
+--geo-bypass-ip-block IP_BLOCK --xff IP_BLOCK
+\f[R]
+.fi
+.SS Developer options
+.PP
+These options are not intended to be used by the end-user
+.IP
+.nf
+\f[C]
+--test Download only part of video for testing extractors
+--load-pages Load pages dumped by --write-pages
+--youtube-print-sig-code For testing youtube signatures
+--allow-unplayable-formats List unplayable formats also
+--no-allow-unplayable-formats Default
+\f[R]
+.fi
+.SS Old aliases
+.PP
+These are aliases that are no longer documented for various reasons
+.IP
+.nf
+\f[C]
+--avconv-location --ffmpeg-location
+--clean-infojson --clean-info-json
+--cn-verification-proxy URL --geo-verification-proxy URL
+--dump-headers --print-traffic
+--dump-intermediate-pages --dump-pages
+--force-write-download-archive --force-write-archive
+--load-info --load-info-json
+--no-clean-infojson --no-clean-info-json
+--no-split-tracks --no-split-chapters
+--no-write-srt --no-write-subs
+--prefer-unsecure --prefer-insecure
+--rate-limit RATE --limit-rate RATE
+--split-tracks --split-chapters
+--srt-lang LANGS --sub-langs LANGS
+--trim-file-names LENGTH --trim-filenames LENGTH
+--write-srt --write-subs
+--yes-overwrites --force-overwrites
+\f[R]
+.fi
+.SS Sponskrub Options
+.PP
+Support for SponSkrub (https://github.com/faissaloo/SponSkrub) has been
+deprecated in favor of the \f[C]--sponsorblock\f[R] options
+.IP
+.nf
+\f[C]
+--sponskrub --sponsorblock-mark all
+--no-sponskrub --no-sponsorblock
+--sponskrub-cut --sponsorblock-remove all
+--no-sponskrub-cut --sponsorblock-remove -all
+--sponskrub-force Not applicable
+--no-sponskrub-force Not applicable
+--sponskrub-location Not applicable
+--sponskrub-args Not applicable
+\f[R]
+.fi
+.SS No longer supported
+.PP
+These options may no longer work as intended
+.IP
+.nf
+\f[C]
+--prefer-avconv avconv is not officially supported by yt-dlp (Alias: --no-prefer-ffmpeg)
+--prefer-ffmpeg Default (Alias: --no-prefer-avconv)
+-C, --call-home Not implemented
+--no-call-home Default
+--include-ads No longer supported
+--no-include-ads Default
+--write-annotations No supported site has annotations now
+--no-write-annotations Default
+--compat-options seperate-video-versions No longer needed
+\f[R]
+.fi
+.SS Removed
+.PP
+These options were deprecated since 2014 and have now been entirely
+removed
+.IP
+.nf
+\f[C]
+-A, --auto-number -o \[dq]%(autonumber)s-%(id)s.%(ext)s\[dq]
+-t, -l, --title, --literal -o \[dq]%(title)s-%(id)s.%(ext)s\[dq]
+\f[R]
+.fi
+.SH CONTRIBUTING
+.PP
+See CONTRIBUTING.md for instructions on Opening an Issue and
+Contributing code to the project
+.SH WIKI
+.PP
+See the Wiki (https://github.com/yt-dlp/yt-dlp/wiki) for more
+information
diff --git a/network/yt-dlp/yt-dlp.SlackBuild b/network/yt-dlp/yt-dlp.SlackBuild
new file mode 100644
index 0000000000..856b1eb1d0
--- /dev/null
+++ b/network/yt-dlp/yt-dlp.SlackBuild
@@ -0,0 +1,93 @@
+#!/bin/bash
+
+# Slackware build script for yt-dlp
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note: I honestly prefer the standalone executable version of this,
+# which I keep in ~/bin. It allows me to run "yt-dlp -U" as my user to
+# get the latest version. However, since it's listed as a dependency
+# for clipgrab, haruna, xdman, ytfzf, and an optional dependency for
+# pipe-viewer, it has to exist on SBo.
+
+# 20240313 bkw:
+# - updated for v2024.03.10
+# - build method changed (python3 -m build, rather than setup.py)
+# - upstream managed to lose the man page, so include the man page
+# from the previous version (should be OK for now at least).
+# - switch to github archive/ URL, since pythonhosted.org doesn't have
+# this version (yet?). filename still has the version number in it.
+
+# 20240217 bkw: switched to pythonhosted.org source tarball, thanks
+# to Jeremy Hansen for finding this. Filename now has the version
+# number in it, so no more caching problems for the download. Build
+# had to change slightly as there's no more CONTRIBUTING file.
+# 20240216 bkw: updated for v2023.12.30
+# 20231219 bkw: updated for v2023.11.16
+# 20231031 bkw: updated for v2023.10.13
+# 20230904 bkw: BUILD=2, silence complaints from 'pip3 check'
+# 20230711 bkw: updated for v2023.07.06
+# 20230623 bkw: updated for v2023.06.22, added version check
+# 20230402 bkw: updated for v2023.03.04
+# 20230222 bkw: updated for v2023.02.17
+# 20230104 bkw: updated for v2023.01.02
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=yt-dlp
+VERSION=${VERSION:-2024.03.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# no need for CFLAGS or LIBDIRSUFFIX. actually this would be noarch,
+# except for the lib vs. lib64 python problem.
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+# AUTHORS is 0 bytes in 2022.01.21 (still is, in 2023.03.04).
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE *.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/yt-dlp/yt-dlp.info b/network/yt-dlp/yt-dlp.info
new file mode 100644
index 0000000000..ce2ce121a3
--- /dev/null
+++ b/network/yt-dlp/yt-dlp.info
@@ -0,0 +1,10 @@
+PRGNAM="yt-dlp"
+VERSION="2024.03.10"
+HOMEPAGE="https://github.com/yt-dlp/yt-dlp"
+DOWNLOAD="https://github.com/yt-dlp/yt-dlp/archive/2024.03.10/yt-dlp-2024.03.10.tar.gz"
+MD5SUM="1a7525eabc062011fea20ce97a93f0ac"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-build python3-hatchling"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/network/ytfzf/README b/network/ytfzf/README
new file mode 100644
index 0000000000..d6706d1dc9
--- /dev/null
+++ b/network/ytfzf/README
@@ -0,0 +1,10 @@
+ytfzf (Script to watch youtube videos from the terminal)
+
+ytfzf is a script to search, download and play YouTube videos by
+making use of mpv and youtube-dl under the hood. ytfzf also features
+support for video history, allows choosing the media format and can
+queue multiple tracks.
+
+Optional dependencies include dmenu for the -D option and ueberzugpp
+for thumbnails. Alternative thumbnail viewers include chafa, imv,
+mpv, and kitty, though they require special configuration to use.
diff --git a/network/ytfzf/slack-desc b/network/ytfzf/slack-desc
new file mode 100644
index 0000000000..85adc7c510
--- /dev/null
+++ b/network/ytfzf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ytfzf: ytfzf (Script to watch youtube videos from the terminal)
+ytfzf:
+ytfzf: ytfzf is a script to search, download and play YouTube videos by
+ytfzf: making use of mpv and youtube-dl under the hood. ytfzf also features
+ytfzf: support for video history, allows choosing the media format and can
+ytfzf: queue multiple tracks.
+ytfzf:
+ytfzf:
+ytfzf:
+ytfzf: Homepage: https://github.com/pystardust/ytfzf
+ytfzf:
diff --git a/network/ytfzf/ytfzf.SlackBuild b/network/ytfzf/ytfzf.SlackBuild
new file mode 100644
index 0000000000..d4e13627e2
--- /dev/null
+++ b/network/ytfzf/ytfzf.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/bash
+
+# Slackware build script for ytfzf
+
+# Copyright 2023-2024 Samuel Young, MO, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ytfzf
+VERSION=${VERSION:-2.6.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make install doc addons \
+ DESTDIR=$PKG \
+ PREFIX=/usr \
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ MANDIR=/usr/man \
+ LICENSEDIR=/usr/doc/$PRGNAM-$VERSION
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+cp -a \
+ README.md CONTRIBUTING.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/ytfzf/ytfzf.info b/network/ytfzf/ytfzf.info
new file mode 100644
index 0000000000..c3eec16ca9
--- /dev/null
+++ b/network/ytfzf/ytfzf.info
@@ -0,0 +1,10 @@
+PRGNAM="ytfzf"
+VERSION="2.6.2"
+HOMEPAGE="https://github.com/pystardust/ytfzf"
+DOWNLOAD="https://github.com/pystardust/ytfzf/archive/v2.6.2/ytfzf-2.6.2.tar.gz"
+MD5SUM="b52c07da4c6b6609cdc315f2e1e5f137"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="fzf jq mpv yt-dlp"
+MAINTAINER="Samuel Young"
+EMAIL="samyoung12788@gmail.com"
diff --git a/network/yturl/README b/network/yturl/README
deleted file mode 100644
index cbf181691a..0000000000
--- a/network/yturl/README
+++ /dev/null
@@ -1,6 +0,0 @@
-yturl (get direct URLs to YouTube videos)
-
-yturl is a simple command-line utility written in Python. It converts
-youtube URLs or video IDs into directly-watchable URLs. Example use:
-
-mpv "$(yturl 'http://www.youtube.com/watch?v=KxaCOHT0pmI')"
diff --git a/network/yturl/slack-desc b/network/yturl/slack-desc
deleted file mode 100644
index e02591739e..0000000000
--- a/network/yturl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-yturl: yturl (get direct URLs to YouTube videos)
-yturl:
-yturl: yturl is a simple command-line utility written in Python. It converts
-yturl: youtube URLs or video IDs into directly-watchable URLs. Example use:
-yturl:
-yturl: mpv "$(yturl 'http://www.youtube.com/watch?v=KxaCOHT0pmI')"
-yturl:
-yturl:
-yturl:
-yturl:
-yturl:
diff --git a/network/yturl/yturl.1 b/network/yturl/yturl.1
deleted file mode 100644
index fe3c5eb244..0000000000
--- a/network/yturl/yturl.1
+++ /dev/null
@@ -1,180 +0,0 @@
-.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
-.\"
-.\" Standard preamble:
-.\" ========================================================================
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Vb \" Begin verbatim text
-.ft CW
-.nf
-.ne \\$1
-..
-.de Ve \" End verbatim text
-.ft R
-.fi
-..
-.\" Set up some character translations and predefined strings. \*(-- will
-.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
-.\" double quote, and \*(R" will give a right double quote. \*(C+ will
-.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
-.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
-.\" nothing in troff, for use with C<>.
-.tr \(*W-
-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
-.ie n \{\
-. ds -- \(*W-
-. ds PI pi
-. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
-. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
-. ds L" ""
-. ds R" ""
-. ds C` ""
-. ds C' ""
-'br\}
-.el\{\
-. ds -- \|\(em\|
-. ds PI \(*p
-. ds L" ``
-. ds R" ''
-. ds C`
-. ds C'
-'br\}
-.\"
-.\" Escape single quotes in literal strings from groff's Unicode transform.
-.ie \n(.g .ds Aq \(aq
-.el .ds Aq '
-.\"
-.\" If the F register is turned on, we'll generate index entries on stderr for
-.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
-.\" entries marked with X<> in POD. Of course, you'll have to process the
-.\" output yourself in some meaningful fashion.
-.\"
-.\" Avoid warning from groff about undefined register 'F'.
-.de IX
-..
-.nr rF 0
-.if \n(.g .if rF .nr rF 1
-.if (\n(rF:(\n(.g==0)) \{
-. if \nF \{
-. de IX
-. tm Index:\\$1\t\\n%\t"\\$2"
-..
-. if !\nF==2 \{
-. nr % 0
-. nr F 2
-. \}
-. \}
-.\}
-.rr rF
-.\"
-.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
-.\" Fear. Run. Save yourself. No user-serviceable parts.
-. \" fudge factors for nroff and troff
-.if n \{\
-. ds #H 0
-. ds #V .8m
-. ds #F .3m
-. ds #[ \f1
-. ds #] \fP
-.\}
-.if t \{\
-. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
-. ds #V .6m
-. ds #F 0
-. ds #[ \&
-. ds #] \&
-.\}
-. \" simple accents for nroff and troff
-.if n \{\
-. ds ' \&
-. ds ` \&
-. ds ^ \&
-. ds , \&
-. ds ~ ~
-. ds /
-.\}
-.if t \{\
-. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
-. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
-. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
-. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
-. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
-. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
-.\}
-. \" troff and (daisy-wheel) nroff accents
-.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
-.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
-.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
-.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
-.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
-.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
-.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
-.ds ae a\h'-(\w'a'u*4/10)'e
-.ds Ae A\h'-(\w'A'u*4/10)'E
-. \" corrections for vroff
-.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
-.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
-. \" for low resolution devices (crt and lpr)
-.if \n(.H>23 .if \n(.V>19 \
-\{\
-. ds : e
-. ds 8 ss
-. ds o a
-. ds d- d\h'-1'\(ga
-. ds D- D\h'-1'\(hy
-. ds th \o'bp'
-. ds Th \o'LP'
-. ds ae ae
-. ds Ae AE
-.\}
-.rm #[ #] #H #V #F C
-.\" ========================================================================
-.\"
-.IX Title "YTURL 1"
-.TH YTURL 1 "2015-09-10" "1.20.0" "SlackBuilds.org"
-.\" For nroff, turn off justification. Always turn off hyphenation; it makes
-.\" way too many mistakes in technical documents.
-.if n .ad l
-.nh
-.SH "NAME"
-yturl \- Get direct URLs to YouTube videos.
-.SH "SYNOPSIS"
-.IX Header "SYNOPSIS"
-yturl [\-h] [\-q \s-1QUALITY\s0] videoID/url
-.PP
-videoID/url is a YouTube url or bare video \s-1ID.\s0
-.SH "DESCRIPTION"
-.IX Header "DESCRIPTION"
-By default, yturl prints the media \s-1URL\s0 to standard output.
-.PP
-.Vb 3
-\& $ yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq
-\& Using itag 43.
-\& http://r2\-\-\-sn\-uphxqvujvh\-30al.googlevideo.com/videoplayback?source=[...]
-.Ve
-.PP
-This means that you can do something like the following to watch it in
-mpv:
-.PP
-.Vb 1
-\& $ mpv "$(yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq)"
-.Ve
-.PP
-(also works with vlc, but for some reason not with mplayer)
-.PP
-Or something like the following to download it (using curl):
-.PP
-.Vb 1
-\& $ curl \-Lo bill "$(yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq)"
-.Ve
-.SH "OPTIONS"
-.IX Header "OPTIONS"
-.IP "\-h, \-\-help" 4
-.IX Item "-h, --help"
-show help message and exit
-.IP "\-q \s-1QUALITY,\s0 \-\-quality \s-1QUALITY\s0" 4
-.IX Item "-q QUALITY, --quality QUALITY"
-specify quality, can be \*(L"low\*(R", \*(L"medium\*(R", \*(L"high\*(R", or an itag (see
-http://en.wikipedia.org/wiki/YouTube#Quality_and_formats)
diff --git a/network/yturl/yturl.SlackBuild b/network/yturl/yturl.SlackBuild
deleted file mode 100644
index 5755385294..0000000000
--- a/network/yturl/yturl.SlackBuild
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for yturl
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-# 20180215 bkw: upgrade to 2.0.2.
-
-# 20170302 bkw: use long-format github URL
-
-# 20160727 bkw: upgrade to 2.0.1.
-
-# 20150910 bkw: upgrade to 1.20.0.
-# ARCH=noarch, there's no object code in the package.
-# Add DESCRIPTION section to man page.
-
-# 20150120 bkw: upgrade to 1.17.0. The old download URL was broken,
-# wonder how long for?
-# Use "python setup.py" since upstream has started requiring it.
-# Get rid of unused SLKCFLAGS and LIBDIRSUFFIX variables.
-
-# 20140316 bkw:
-# Updated to 1.16 release, use tar.gz instead of zip file. From now on
-# I'll track the releases instead of just grabbing current git... unless
-# youtube API changes break the release and upstream takes a long time to
-# make a new release.
-
-PRGNAM=yturl
-VERSION=${VERSION:-2.0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-mkdir -p $PKG/usr/man/man1
-gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/yturl/yturl.info b/network/yturl/yturl.info
deleted file mode 100644
index 7a1b97baeb..0000000000
--- a/network/yturl/yturl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="yturl"
-VERSION="2.0.2"
-HOMEPAGE="https://github.com/cdown/yturl"
-DOWNLOAD="https://github.com/cdown/yturl/archive/2.0.2/yturl-2.0.2.tar.gz"
-MD5SUM="022a18a8c0bb2882829d53f3a1533b5d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="six"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/network/yturl/yturl.pod b/network/yturl/yturl.pod
deleted file mode 100644
index 51a47b4a19..0000000000
--- a/network/yturl/yturl.pod
+++ /dev/null
@@ -1,50 +0,0 @@
-# POD source for yturl man page. Convert with:
-# pod2man --stderr -s1 -cSlackBuilds.org -r1.20.0 yturl.pod > yturl.1
-
-=pod
-
-=head1 NAME
-
-yturl - Get direct URLs to YouTube videos.
-
-=head1 SYNOPSIS
-
-yturl [-h] [-q QUALITY] videoID/url
-
-videoID/url is a YouTube url or bare video ID.
-
-=head1 DESCRIPTION
-
-By default, yturl prints the media URL to standard output.
-
- $ yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ'
- Using itag 43.
- http://r2---sn-uphxqvujvh-30al.googlevideo.com/videoplayback?source=[...]
-
-This means that you can do something like the following to watch it in
-mpv:
-
- $ mpv "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"
-
-(also works with vlc, but for some reason not with mplayer)
-
-Or something like the following to download it (using curl):
-
- $ curl -Lo bill "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"
-
-=head1 OPTIONS
-
-=over 4
-
-=item -h, --help
-
-show help message and exit
-
-=item -q QUALITY, --quality QUALITY
-
-specify quality, can be "low", "medium", "high", or an itag (see
-http://en.wikipedia.org/wiki/YouTube#Quality_and_formats)
-
-=back
-
-=cut
diff --git a/network/zabbix_agent2/README b/network/zabbix_agent2/README
new file mode 100644
index 0000000000..e5f26a7986
--- /dev/null
+++ b/network/zabbix_agent2/README
@@ -0,0 +1,19 @@
+zabbix_agent2 is the new generation Linux agent written on golang.
+Used to monitor Linux boxes and send the data to the zabbix server.
+
+Zabbix offers advanced monitoring, alerting and visualization
+features, including distributed monitoring, auto-discovery,
+notifications, etcetera.
+
+zabbix_agent2 needs to run under its own user/group. This has been
+assigned to the following by SlackBuilds.org, but feel free to change
+it on your system for consistency with local assignments.
+ User: zabbixagent UID: 266 GID: 266
+ group: zabbixagent GID: 266
+
+You can pass alternate values for the user and group using
+ZABBIXAGENTUSER and ZABBIXAGENTGROUP variables when running the build
+script.
+
+For some important post-build and basic configuration instructions,
+see the included README.SLACKWARE file.
diff --git a/network/zabbix_agent2/README.SLACKWARE b/network/zabbix_agent2/README.SLACKWARE
new file mode 100644
index 0000000000..13fd88d3e8
--- /dev/null
+++ b/network/zabbix_agent2/README.SLACKWARE
@@ -0,0 +1,75 @@
+README.Slackware
+================
+
+This file contains some specific instructions to complete the
+installation of zabbix_agent2 on Slackware.
+
+0) Before running the SlackBuild script
+---------------------------------------
+
+0.1) zabbix group & user
+
+Before running the zabbix_agent2.SlackBuild script, you will need to create
+the 'zabbix' user and group as well as 'zabbixagent' user. The script won't
+run if these do not exist.
+
+The suggested UID and GID is 228 for 'zabbix' and 266 for 'zabbixagent',
+but you can change this as needed:
+
+ # groupadd -g 228 zabbix
+ # useradd -u 266 -g zabbix -d /dev/null -s /bin/false zabbixagent
+
+1) Configuring zabbix_agent2
+----------------------------
+
+A standard configuration file is installed as /etc/zabbix/zabbix_agent2.conf
+
+At least the following lines need to be configured:
+ For passive checks:
+ Server=<ip_of_your_zabbix_server>
+ For active checks
+ Hostname=<hostname_of_your_zabbix_agent>
+ ServerActive=<ip_of_your_zabbix_server>
+
+2) Start & Stop scripts for zabbix agent daemon
+-----------------------------------------------
+
+2.1) Automatic startup and shutdown
+
+If you want to start zabbix_agent2 on system bootup, include these lines in
+your /etc/rc.d/rc.local:
+
+ # Start zabbix_agent2
+ if [ -x /etc/rc.d/rc.zabbix_agent2]; then
+ echo "Starting zabbix agent daemon..."
+ /etc/rc.d/rc.zabbix_agent2 start
+ fi
+
+To guarantee a clean shutdown of zabbix_agent2, include this in
+/etc/rc.d/rc.local_shutdown:
+
+ # Stop zabbix_agent2
+ if [ -x /etc/rc.d/rc.zabbix_agent2 ]; then
+ echo "Stopping zabbix agent daemon..."
+ /etc/rc.d/rc.zabbix_agent2 stop
+ fi
+
+2.2) Make /etc/rc.d/rc.zabbix_agent2 executable
+
+Additionally, you'll have to set the rc script to be executable just like
+any other Slackware rc script:
+
+ # chmod +x /etc/rc.d/rc.zabbix_agent2
+
+3) Starting zabbix agent daemon
+-------------------------------
+
+Now you are ready to start zabbix_agent2 by calling the startup script:
+
+ # /etc/rc.d/rc.zabbix_agent2 start
+
+You can check the log file (/var/log/zabbix/zabbig_agent2.log) in case of
+problems.
+
+Zabbix uses ports 10050 & 10051 to communicate, so make sure these aren't
+blocked on your network.
diff --git a/network/zabbix_agent2/doinst.sh b/network/zabbix_agent2/doinst.sh
new file mode 100644
index 0000000000..21efb95b2d
--- /dev/null
+++ b/network/zabbix_agent2/doinst.sh
@@ -0,0 +1,28 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+preserve_perms etc/rc.d/rc.zabbix_agent2.new
+config etc/zabbix/zabbix_agent2.conf.new
+config var/log/zabbix/zabbix_agent2.log.new
+rm -f var/log/zabbix/zabbix_agent2.log.new
diff --git a/network/zabbix_agent2/rc.zabbix_agent2 b/network/zabbix_agent2/rc.zabbix_agent2
new file mode 100644
index 0000000000..842014dfe8
--- /dev/null
+++ b/network/zabbix_agent2/rc.zabbix_agent2
@@ -0,0 +1,78 @@
+#!/bin/sh
+
+# Usage: ./rc.zabbix_agent2 {start|stop|restart}
+
+PRGNAM=zabbix_agent2
+PRGDIR=/usr/sbin/
+PIDDIR=/var/run/zabbixagent/
+LOGDIR=/var/log/zabbix/
+DATE=$(date +%a\ %b\ %d\ %T\ %Y)
+RETVAL=0
+
+prg_start() {
+ echo -n "Starting $PRGNAM ... "
+ if [ -r ${PIDDIR}${PRGNAM}.pid ]; then
+ if $(! /sbin/pidof $PRGNAM > /dev/null 2>&1 ) ; then
+ echo "Removing an old ${PIDDIR}${PRGNAM}.pid"
+ rm -f ${PIDDIR}${PRGNAM}.pid
+ fi
+ fi
+ mkdir -p ${PIDDIR}
+ su -s /bin/sh -c "${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1 &" @ZABBIXAGENTUSER@
+ RETVAL=$?
+
+ if [ $RETVAL -eq 0 ]; then
+ touch /var/lock/$PRGNAM
+ sleep 2
+ echo "done"
+ else
+ echo "failed"
+ fi
+ return $RETVAL
+}
+
+prg_stop() {
+ echo -n "Stopping $PRGNAM ... "
+ if [ -r ${PIDDIR}${PRGNAM}.pid ]; then
+ killall $PRGNAM
+ # Give it some time to die gracefully
+ for second in 0 1 2 3 4 5 6 7 8 9 10 ; do
+ if $(! /sbin/pidof $PRGNAM > /dev/null 2>&1 ) ; then
+ rm -f ${PIDDIR}${PRGNAM}.pid
+ break;
+ fi
+ sleep 1
+ done
+
+ if [ "$second" = "10" ]; then
+ echo "\nWARNING: $PRGNAM did not exit!"
+ sleep 10
+ else
+ echo "$DATE EXIT: $PRGNAM stopped by user: $USER (UID: $EUID)" >> ${LOGDIR}${PRGNAM}.log
+ echo "done"
+ fi
+ fi
+ rm -f /var/lock/$PRGNAM
+ return $RETVAL
+}
+
+# How were we called:
+case "$1" in
+ start)
+ prg_start
+ ;;
+ stop)
+ prg_stop
+ ;;
+ restart|reload)
+ prg_stop
+ # Wait a few seconds before restarting
+ sleep 10
+ prg_start
+ ;;
+ *)
+ echo "Usage: $(basename $0) {start|stop|restart}"
+ RETVAL=1
+esac
+
+#EOF
diff --git a/network/zabbix_agent2/slack-desc b/network/zabbix_agent2/slack-desc
new file mode 100644
index 0000000000..459d342ebf
--- /dev/null
+++ b/network/zabbix_agent2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+zabbix_agent2: zabbix_agent2 (Linux GO agent for zabbix_server)
+zabbix_agent2:
+zabbix_agent2: Zabbix offers advanced monitoring, alerting and visualization
+zabbix_agent2: features, including distributed monitoring, auto-discovery,
+zabbix_agent2: notifications etc.
+zabbix_agent2:
+zabbix_agent2: This is the new agent2 daemon that communicates with the
+zabbix_agent2: zabbix_server for local resource monitoring.
+zabbix_agent2:
+zabbix_agent2: https://www.zabbix.com/
+zabbix_agent2:
diff --git a/network/zabbix_agent2/zabbix_agent2.SlackBuild b/network/zabbix_agent2/zabbix_agent2.SlackBuild
new file mode 100644
index 0000000000..60f61016f1
--- /dev/null
+++ b/network/zabbix_agent2/zabbix_agent2.SlackBuild
@@ -0,0 +1,168 @@
+#!/bin/bash
+
+# Slackware build script for zabbix_agent2
+
+# Copyright 2013-2014 Michal Bialozor, Gdansk, Pomorskie, POLAND
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zabbix_agent2
+VERSION=${VERSION:-6.4.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+PRGSHORT=zabbix
+
+# ZABBIXUSER is owner of log directory, this is required for running the agent on the same host as server
+ZABBIXUSER=${ZABBIXUSER:-zabbix}
+ZABBIXGROUP=${ZABBIXGROUP:-zabbix}
+ZABBIXUID=${ZABBIXUID:-228}
+ZABBIXGID=${ZABBIXGID:-228}
+
+ZABBIXAGENTUSER=${ZABBIXAGENTUSER:-zabbixagent}
+ZABBIXAGENTGROUP=${ZABBIXAGENTGROUP:-zabbixagent}
+ZABBIXAGENTUID=${ZABBIXAGENTUID:-266}
+ZABBIXAGENTGID=${ZABBIXAGENTGID:-266}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+# Bail out if user or group isn't valid on your system
+# For slackbuilds.org, assigned zabbixagent uid/gid are 266/266 and assigned zabbix uid/gid are 228/228
+# See http://slackbuilds.org/uid_gid.txt
+if [ "$(grep ^$ZABBIXAGENTUSER: /etc/passwd)" = "" -o "$(grep ^$ZABBIXAGENTUSER: /etc/passwd)" = "" -o \
+ "$(grep ^$ZABBIXGROUP: /etc/group)" = "" ] ; then
+ echo " You must have a \"$ZABBIXGROUP\" group as well as \"$ZABBIXUSER\" and \"$ZABBIXAGENTUSER\" users to run this script."
+ echo " # groupadd -g $ZABBIXGID $ZABBIXGROUP"
+ echo " # useradd -u $ZABBIXUID -g $ZABBIXGROUP -d /dev/null -s /bin/false $ZABBIXUSER"
+ echo " # useradd -u $ZABBIXAGENTUID -g $ZABBIXGROUP -d /dev/null -s /bin/false $ZABBIXAGENTUSER"
+ exit 1
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGSHORT-$VERSION
+tar xvf $CWD/$PRGSHORT-$VERSION.tar.gz
+cd $PRGSHORT-$VERSION
+chown -R root:root .
+
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/zabbix \
+ --localstatedir=/var/lib \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --with-libpcre2 \
+ --enable-agent2 \
+ --with-openssl \
+ --enable-ipv6 \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+# Initial log file
+mkdir -p $PKG/var/log/$PRGSHORT
+chown $ZABBIXUSER:$ZABBIXGROUP $PKG/var/log/$PRGSHORT
+chmod g+w $PKG/var/log/$PRGSHORT
+#touch $PKG/var/log/$PRGSHORT/$PRGNAM.log.new
+#chown $ZABBIXAGENTUSER:$ZABBIXUSER $PKG/var/log/$PRGSHORT/$PRGNAM.log.new
+
+# Dir for pid-file
+mkdir -p $PKG/var/run/$PRGNAM
+chown -R $ZABBIXAGENTUSER:$ZABBIXGROUP $PKG/var/run/$PRGNAM
+chmod g+w $PKG/var/run/$PRGNAM
+
+# Configuration file
+sed -e "s,# PidFile=/tmp/zabbix_agent2.pid,PidFile=/var/run/$PRGNAM/zabbix_agent2.pid," \
+ -e "s,# LogFile=/tmp/zabbix_agent2.log,LogFile=/var/log/$PRGSHORT/$PRGNAM.log," \
+ -e "s,Include=./zabbix_agent2.d/plugins.d/\*.conf,Include=/etc/$PRGSHORT/zabbix_agent2.d/plugins.d/*.conf," \
+ $PKG/etc/$PRGSHORT/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new
+# remove uneeded old agent conf
+rm -rf $PKG/etc/$PRGSHORT/zabbix_agentd.* $PKG/etc/$PRGSHORT/$PRGNAM.d/ $PKG/etc/$PRGSHORT/$PRGNAM.conf
+
+# Init script
+mkdir -p $PKG/etc/rc.d
+sed "s|@ZABBIXAGENTUSER@|$ZABBIXAGENTUSER|" $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
+
+# Documentation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+
+# Installation scripts
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zabbix_agent2/zabbix_agent2.info b/network/zabbix_agent2/zabbix_agent2.info
new file mode 100644
index 0000000000..051d035e6d
--- /dev/null
+++ b/network/zabbix_agent2/zabbix_agent2.info
@@ -0,0 +1,10 @@
+PRGNAM="zabbix_agent2"
+VERSION="6.4.11"
+HOMEPAGE="https://www.zabbix.com"
+DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
+MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="zux"
+EMAIL="zux@pie-dabas.net"
diff --git a/network/zabbix_agentd/README b/network/zabbix_agentd/README
index 6f30449868..cc7fdd2f1c 100644
--- a/network/zabbix_agentd/README
+++ b/network/zabbix_agentd/README
@@ -1,27 +1,25 @@
zabbix_agentd is the Linux agent daemon used to monitor Linux boxes
and send the data to the zabbix server.
-Zabbix offers advanced monitoring, alerting and visualization features,
-including distributed monitoring, auto-discovery, notifications, etcetera.
+Zabbix offers advanced monitoring, alerting and visualization
+features, including distributed monitoring, auto-discovery,
+notifications, etcetera.
-zabbix_agentd needs to run under its own user/group. This has been assigned
-to the following by SlackBuilds.org, but feel free to change it on your
-system for consistency with local assignments.
+zabbix_agentd needs to run under its own user/group. This has been
+assigned to the following by SlackBuilds.org, but feel free to change
+it on your system for consistency with local assignments.
User: zabbixagent UID: 266 GID: 266
group: zabbixagent GID: 266
You can pass alternate values for the user and group using
-ZABBIXAGENTUSER and ZABBIXAGENTGROUP variables when running the build script.
+ZABBIXAGENTUSER and ZABBIXAGENTGROUP variables when running the build
+script.
-zabbix_agentd needs another user/group to cooperate with other Zabbix deamons,
-like zabbix_server or zabbix_proxy. This has been assigned to the following
-by SlackBuilds.org, but feel free to change it on your system for consistency
-with local assignments.
- User: zabbix UID: 228 GID: 228
+zabbix_agentd uses group zabbix to write log file
+ (if you also have zabbix_server installed, it uses the same directory
+ for log file)
group: zabbix GID: 228
-You can pass alternate values for the user and group using
-ZABBIXUSER and ZABBIXGROUP variables when running the build script.
For some important post-build and basic configuration instructions,
see the included README.SLACKWARE file.
diff --git a/network/zabbix_agentd/README.SLACKWARE b/network/zabbix_agentd/README.SLACKWARE
index a41c2ef1e2..1016693f9e 100644
--- a/network/zabbix_agentd/README.SLACKWARE
+++ b/network/zabbix_agentd/README.SLACKWARE
@@ -26,9 +26,11 @@ but you can change this as needed:
A standard configuration file is installed as /etc/zabbix/zabbix_agentd.conf
At least the following lines need to be configured:
-
+ For passive items:
Server=<ip_of_your_zabbix_server>
+ For active items:
Hostname=<hostname_of_your_zabbix_agent>
+ ServerActive=<ip_of_your_zabbix_server>
2) Start & Stop scripts for zabbix agent daemon
-----------------------------------------------
diff --git a/network/zabbix_agentd/rc.zabbix_agentd b/network/zabbix_agentd/rc.zabbix_agentd
index bd300d999d..13876fc4df 100644
--- a/network/zabbix_agentd/rc.zabbix_agentd
+++ b/network/zabbix_agentd/rc.zabbix_agentd
@@ -4,7 +4,7 @@
PRGNAM=zabbix_agentd
PRGDIR=/usr/sbin/
-PIDDIR=/var/run/zabbix/
+PIDDIR=/var/run/zabbix_agentd/
LOGDIR=/var/log/zabbix/
DATE=$(date +%a\ %b\ %d\ %T\ %Y)
RETVAL=0
diff --git a/network/zabbix_agentd/zabbix_agentd.SlackBuild b/network/zabbix_agentd/zabbix_agentd.SlackBuild
index cd9b8c58d9..c3597c05c7 100644
--- a/network/zabbix_agentd/zabbix_agentd.SlackBuild
+++ b/network/zabbix_agentd/zabbix_agentd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zabbix_agentd
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zabbix_agentd
-VERSION=${VERSION:-4.4.7}
+VERSION=${VERSION:-6.4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -47,7 +50,14 @@ ZABBIXAGENTGROUP=${ZABBIXAGENTGROUP:-zabbixagent}
ZABBIXAGENTUID=${ZABBIXAGENTUID:-266}
ZABBIXAGENTGID=${ZABBIXAGENTGID:-266}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -103,6 +113,9 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --with-libpcre2 \
+ --with-openssl \
+ --enable-ipv6 \
--enable-agent \
--build=$ARCH-slackware-linux
@@ -123,16 +136,16 @@ touch $PKG/var/log/$PRGSHORT/$PRGNAM.log.new
chown $ZABBIXAGENTUSER:$ZABBIXUSER $PKG/var/log/$PRGSHORT/$PRGNAM.log.new
# Dir for pid-file
-mkdir -p $PKG/var/run/$PRGSHORT
-chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/run/$PRGSHORT
-chmod g+w $PKG/var/run/$PRGSHORT
+mkdir -p $PKG/var/run/$PRGNAM
+chown -R $ZABBIXAGENTUSER:$ZABBIXGROUP $PKG/var/run/$PRGNAM
+chmod g+w $PKG/var/run/$PRGNAM
# Configuration file
-sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \
- -e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \
+sed -e "s,# PidFile=/tmp/zabbix_agentd.pid,PidFile=/var/run/$PRGNAM/$PRGNAM.pid," \
+ -e "s,LogFile=/tmp/zabbix_agentd.log,LogFile=/var/log/$PRGSHORT/$PRGNAM.log," \
$PKG/etc/$PRGSHORT/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new
rm -rf $PKG/etc/$PRGSHORT/zabbix_agent.conf.d $PKG/etc/$PRGSHORT/zabbix_agent.conf \
- $PKG/etc/$PRGSHORT/$PRGNAM.conf
+ $PKG/etc/$PRGSHORT/$PRGNAM.conf $PKG/etc/$PRGSHORT/$PRGNAM.conf.d/
# Init script
mkdir -p $PKG/etc/rc.d
@@ -140,7 +153,7 @@ sed "s|@ZABBIXAGENTUSER@|$ZABBIXAGENTUSER|" $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -150,4 +163,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zabbix_agentd/zabbix_agentd.info b/network/zabbix_agentd/zabbix_agentd.info
index 61da085d68..5e88ead7f2 100644
--- a/network/zabbix_agentd/zabbix_agentd.info
+++ b/network/zabbix_agentd/zabbix_agentd.info
@@ -1,10 +1,10 @@
PRGNAM="zabbix_agentd"
-VERSION="4.4.7"
+VERSION="6.4.11"
HOMEPAGE="https://www.zabbix.com"
-DOWNLOAD="https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/4.4.7/zabbix-4.4.7.tar.gz"
-MD5SUM="24e5a166694db45ebb461757074fb02d"
+DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
+MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES=""
MAINTAINER="zux"
EMAIL="zux@pie-dabas.net"
diff --git a/network/zabbix_frontend/README b/network/zabbix_frontend/README
new file mode 100644
index 0000000000..ee888a2951
--- /dev/null
+++ b/network/zabbix_frontend/README
@@ -0,0 +1,10 @@
+Zabbix offers advanced monitoring, alerting and visualization
+features, including distributed monitoring, auto-discovery,
+notifications, etcetera.
+
+Frontend component is now provided as an individual package
+as it can be installed on a seperate host.
+
+For some important post-build and basic configuration instructions,
+see the included README.SLACKWARE file.
+
diff --git a/network/zabbix_frontend/README.SLACKWARE b/network/zabbix_frontend/README.SLACKWARE
new file mode 100644
index 0000000000..1f09f0fea6
--- /dev/null
+++ b/network/zabbix_frontend/README.SLACKWARE
@@ -0,0 +1,41 @@
+README.Slackware
+================
+
+This file contains some specific instructions to complete the
+installation of zabbix_frontend on Slackware.
+
+
+You will need to have a working installation of httpd for zabbix_frontend
+to run. Frontend does not have to be on the same box as
+zabbix_server, but they need to be able to communicate.
+
+
+Very complete documentation is available online at:
+ https://www.zabbix.com/documentation/
+
+
+1) Configuring apache
+----------------------------
+
+Edit /etc/httpd/httpd.conf and enable mod_php by uncommenting this line:
+
+ Include /etc/httpd/mod_php.conf
+
+And bellow it add this line:
+
+ Include /etc/httpd/extra/zabbix.conf
+
+And also replace this line:
+ <IfModule dir_module>
+ DirectoryIndex index.html
+ </IfModule>
+
+with this:
+
+ <IfModule dir_module>
+ DirectoryIndex index.html index.php
+ </IfModule>
+
+
+Now your Zabbix frontend should be available at address http://<YOUR IP>/zabbix
+There you can finish the setup wizard
diff --git a/network/zabbix_frontend/apache.conf b/network/zabbix_frontend/apache.conf
new file mode 100644
index 0000000000..e3dda4608c
--- /dev/null
+++ b/network/zabbix_frontend/apache.conf
@@ -0,0 +1,58 @@
+# Define /zabbix alias, this is the default
+<IfModule mod_alias.c>
+ Alias /zabbix /usr/share/zabbix
+</IfModule>
+
+
+<Directory "/usr/share/zabbix">
+ Options FollowSymLinks
+ AllowOverride None
+ Require all granted
+
+ <IfModule mod_php7.c>
+ php_value max_execution_time 300
+ php_value memory_limit 128M
+ php_value post_max_size 16M
+ php_value upload_max_filesize 2M
+ php_value max_input_time 300
+ php_value max_input_vars 10000
+ php_value always_populate_raw_post_data -1
+ # php_value date.timezone Europe/Riga
+ </IfModule>
+</Directory>
+
+<Directory "/usr/share/zabbix/conf">
+ Require all denied
+ <files *.php>
+ Require all denied
+ </files>
+</Directory>
+
+<Directory "/usr/share/zabbix/app">
+ Require all denied
+ <files *.php>
+ Require all denied
+ </files>
+</Directory>
+
+<Directory "/usr/share/zabbix/include">
+ Require all denied
+ <files *.php>
+ Require all denied
+ </files>
+</Directory>
+
+<Directory "/usr/share/zabbix/local">
+ Require all denied
+ <files *.php>
+ Require all denied
+ </files>
+</Directory>
+
+<Directory "/usr/share/zabbix/vendor">
+ Require all denied
+ <files *.php>
+ Require all denied
+ </files>
+</Directory>
+
diff --git a/network/zabbix_frontend/doinst.sh b/network/zabbix_frontend/doinst.sh
new file mode 100644
index 0000000000..95cf3f096e
--- /dev/null
+++ b/network/zabbix_frontend/doinst.sh
@@ -0,0 +1,25 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ -e $OLD ]; then
+ cp -a $OLD ${NEW}.incoming
+ cat $NEW > ${NEW}.incoming
+ mv ${NEW}.incoming $NEW
+ fi
+ config $NEW
+}
+
+config etc/httpd/extra/zabbix.conf.new
diff --git a/network/zabbix_frontend/slack-desc b/network/zabbix_frontend/slack-desc
new file mode 100644
index 0000000000..a86c0f5b7a
--- /dev/null
+++ b/network/zabbix_frontend/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+zabbix_frontend: zabbix_frontend (enterprise-class distributed monitoring solution)
+zabbix_frontend:
+zabbix_frontend: Zabbix offers advanced monitoring, alerting and visualization
+zabbix_frontend: features, including distributed monitoring, auto-discovery,
+zabbix_frontend: notifications etc.
+zabbix_frontend:
+zabbix_frontend: This package contains the frontend component of Zabbix
+zabbix_frontend:
+zabbix_frontend:
+zabbix_frontend: https://www.zabbix.com/
+zabbix_frontend:
diff --git a/network/zabbix_frontend/zabbix_frontend.SlackBuild b/network/zabbix_frontend/zabbix_frontend.SlackBuild
new file mode 100644
index 0000000000..09be652e40
--- /dev/null
+++ b/network/zabbix_frontend/zabbix_frontend.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for zabbix_server
+
+# Copyright 2013-2014 Michal Bialozor, Gdansk, Pomorskie, POLAND
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zabbix_frontend
+VERSION=${VERSION:-6.4.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+
+ARCH="noarch"
+
+PRGSHORT=zabbix
+
+DOCROOT=${DOCROOT:-/usr/share/zabbix/}
+PHPUSER=${PHPUSER:-root}
+PHPGROUP=${PHPGROUP:-apache}
+
+ZABBIXUSER=${ZABBIXUSER:-zabbix}
+ZABBIXGROUP=${ZABBIXGROUP:-zabbix}
+ZABBIXUID=${ZABBIXUID:-228}
+ZABBIXGID=${ZABBIXGID:-228}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGSHORT-$VERSION
+tar xvf $CWD/$PRGSHORT-$VERSION.tar.gz
+cd $PRGSHORT-$VERSION
+chown -R root:root .
+
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+# Install "frontend" to $DOCROOT/
+mkdir -p $PKG/$DOCROOT/
+cp -a ui/* $PKG/$DOCROOT/
+chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT
+
+
+
+#install apache conf
+echo $CWD
+mkdir -p $PKG/etc/httpd/extra/
+cp $CWD/apache.conf $PKG/etc/httpd/extra/zabbix.conf.new
+
+# Documentation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
+
+# Installation scripts
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zabbix_frontend/zabbix_frontend.info b/network/zabbix_frontend/zabbix_frontend.info
new file mode 100644
index 0000000000..0096647da4
--- /dev/null
+++ b/network/zabbix_frontend/zabbix_frontend.info
@@ -0,0 +1,10 @@
+PRGNAM="zabbix_frontend"
+VERSION="6.4.11"
+HOMEPAGE="https://www.zabbix.com"
+DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
+MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="zux"
+EMAIL="zux@pie-dabas.net"
diff --git a/network/zabbix_java_gateway/README b/network/zabbix_java_gateway/README
index b4a92e1ad9..763f40b3be 100644
--- a/network/zabbix_java_gateway/README
+++ b/network/zabbix_java_gateway/README
@@ -1,5 +1,6 @@
-Zabbix offers advanced monitoring, alerting and visualization features,
-including distributed monitoring, auto-discovery, notifications, etcetera.
+Zabbix offers advanced monitoring, alerting and visualization
+features, including distributed monitoring, auto-discovery,
+notifications, etcetera.
zabbix_java_gateway needs to run under its own user/group. This has been
assigned to the following by SlackBuilds.org, but feel free to change it
diff --git a/network/zabbix_java_gateway/README.SLACKWARE b/network/zabbix_java_gateway/README.SLACKWARE
index 335e9a1ccd..19af301efe 100644
--- a/network/zabbix_java_gateway/README.SLACKWARE
+++ b/network/zabbix_java_gateway/README.SLACKWARE
@@ -32,7 +32,7 @@ running:
A standard configuration file is installed as /etc/zabbix/zabbix_java_gateway.conf
-You will need to change at least the following lines:
+If installed on the same host as the server/proxy, configuration should work out of the box
2) Start & Stop scripts for zabbix java gateway
-----------------------------------------------
@@ -67,6 +67,9 @@ any other Slackware rc script:
3) Starting zabbix server
-------------------------
-Now you are ready to start zabbix_server by calling the startup script:
+Now you are ready to start zabbix_java_gateway by calling the startup script:
# /etc/rc.d/rc.zabbix_java_gateway start
+
+
+Don't forget to configure Zabbix server/proxy yo use this java gateway (StartJavaPollers= and JavaGateway=)
diff --git a/network/zabbix_java_gateway/java-gateway.patch b/network/zabbix_java_gateway/java-gateway.patch
new file mode 100644
index 0000000000..5ee278e272
--- /dev/null
+++ b/network/zabbix_java_gateway/java-gateway.patch
@@ -0,0 +1,79 @@
+diff -urN 5.4.orig/src/zabbix_java/lib/logback.xml 5.4/src/zabbix_java/lib/logback.xml
+--- 5.4.orig/src/zabbix_java/lib/logback.xml 2021-02-03 14:46:36.510530149 +0200
++++ 5.4/src/zabbix_java/lib/logback.xml 2021-02-03 16:08:48.139648517 +0200
+@@ -2,10 +2,10 @@
+
+ <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+
+- <file>/tmp/zabbix_java.log</file>
++ <file>/var/log/zabbix/zabbix_java_gateway.log</file>
+
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+- <fileNamePattern>/tmp/zabbix_java.log.%i</fileNamePattern>
++ <fileNamePattern>/var/log/zabbix/zabbix_java_gateway.log.%i</fileNamePattern>
+ <minIndex>1</minIndex>
+ <maxIndex>3</maxIndex>
+ </rollingPolicy>
+diff -urN 5.4.orig/src/zabbix_java/settings.sh 5.4/src/zabbix_java/settings.sh
+--- 5.4.orig/src/zabbix_java/settings.sh 2021-02-03 14:46:36.510530149 +0200
++++ 5.4/src/zabbix_java/settings.sh 2021-02-03 17:30:37.637881653 +0200
+@@ -24,7 +24,7 @@
+ # Default:
+ # PID_FILE=
+
+-PID_FILE="/tmp/zabbix_java.pid"
++PID_FILE="/var/run/zabbix/zabbix_java_gateway.pid"
+
+ ### Option: zabbix.startPollers
+ # Number of worker threads to start.
+diff -urN 5.4.orig/src/zabbix_java/shutdown.sh 5.4/src/zabbix_java/shutdown.sh
+--- 5.4.orig/src/zabbix_java/shutdown.sh 2021-02-03 14:46:36.510530149 +0200
++++ 5.4/src/zabbix_java/shutdown.sh 2021-02-03 14:54:19.090352858 +0200
+@@ -1,7 +1,14 @@
+ #!/bin/sh
+
+-cd `dirname $0`
+-. ./settings.sh
++if [ -r /etc/zabbix/zabbix_java_gateway.conf ]; then
++ . /etc/zabbix/zabbix_java_gateway.conf
++fi
++
++if [ -z $GATEWAY_HOME ]; then
++ GATEWAY_HOME="/usr/share/zabbix_java_gateway"
++fi
++
++cd $GATEWAY_HOME
+
+ if [ -n "$PID_FILE" ]; then
+ if [ -f "$PID_FILE" ]; then
+diff -urN 5.4.orig/src/zabbix_java/startup.sh 5.4/src/zabbix_java/startup.sh
+--- 5.4.orig/src/zabbix_java/startup.sh 2021-02-03 14:46:36.510530149 +0200
++++ 5.4/src/zabbix_java/startup.sh 2021-02-03 15:51:17.466224873 +0200
+@@ -1,7 +1,12 @@
+ #!/bin/sh
+
+-cd `dirname $0`
+-. ./settings.sh
++if [ -r /etc/zabbix/zabbix_java_gateway.conf ]; then
++ . /etc/zabbix/zabbix_java_gateway.conf
++fi
++
++if [ -z $GATEWAY_HOME ]; then
++ GATEWAY_HOME="/usr/share/zabbix_java_gateway"
++fi
+
+ if [ -n "$PID_FILE" -a -f "$PID_FILE" ]; then
+ PID=`cat "$PID_FILE"`
+@@ -15,9 +20,9 @@
+ JAVA=${JAVA:-java}
+
+ JAVA_OPTIONS="$JAVA_OPTIONS -server"
+-if [ -z "$PID_FILE" ]; then
+- JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=logback-console.xml"
+-fi
++JAVA_OPTIONS="$JAVA_OPTIONS -Dlogback.configurationFile=/etc/zabbix/zabbix_java_gateway_logback.xml"
++
++cd $GATEWAY_HOME
+
+ CLASSPATH="lib"
+ for jar in lib/*.jar bin/*.jar; do
diff --git a/network/zabbix_java_gateway/rc.zabbix_java_gateway b/network/zabbix_java_gateway/rc.zabbix_java_gateway
index ac65aad421..8ccb974cc3 100644
--- a/network/zabbix_java_gateway/rc.zabbix_java_gateway
+++ b/network/zabbix_java_gateway/rc.zabbix_java_gateway
@@ -17,8 +17,7 @@ prg_start() {
rm -f ${PIDDIR}${PRGNAM}.pid
fi
fi
- mkdir -p ${PIDDIR}
- ${PRGDIR}${PRGNAM} >> ${LOGDIR}${PRGNAM}.log 2>&1
+ ${PRGDIR}${PRGNAM}_startup >> ${LOGDIR}${PRGNAM}.log 2>&1
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
@@ -67,7 +66,7 @@ case "$1" in
restart|reload)
prg_stop
# Wait a few seconds before restarting
- sleep 10
+ sleep 2
prg_start
;;
*)
diff --git a/network/zabbix_java_gateway/slack-desc b/network/zabbix_java_gateway/slack-desc
index 822bf8dd9c..116c9c02af 100644
--- a/network/zabbix_java_gateway/slack-desc
+++ b/network/zabbix_java_gateway/slack-desc
@@ -12,8 +12,8 @@ zabbix_java_gateway: Zabbix offers advanced monitoring, alerting and visualizati
zabbix_java_gateway: features, including distributed monitoring, auto-discovery,
zabbix_java_gateway: notifications etc.
zabbix_java_gateway:
-zabbix_java_gateway: https://www.zabbix.com/
-zabbix_java_gateway:
-zabbix_java_gateway:
+zabbix_java_gateway: Java gateway adds functionality to monitor JAVA applications by
+zabbix_java_gateway: communicating with JMX
zabbix_java_gateway:
+zabbix_java_gateway: https://www.zabbix.com/
zabbix_java_gateway:
diff --git a/network/zabbix_java_gateway/zabbix_java_gateway.SlackBuild b/network/zabbix_java_gateway/zabbix_java_gateway.SlackBuild
index 7c8b0784cc..538f59357d 100644
--- a/network/zabbix_java_gateway/zabbix_java_gateway.SlackBuild
+++ b/network/zabbix_java_gateway/zabbix_java_gateway.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zabbix_server
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zabbix_java_gateway
-VERSION=${VERSION:-4.4.7}
+VERSION=${VERSION:-6.4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -46,7 +49,14 @@ ZABBIXGROUP=${ZABBIXGROUP:-zabbix}
ZABBIXUID=${ZABBIXUID:-228}
ZABBIXGID=${ZABBIXGID:-228}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -103,6 +113,10 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-java \
--build=$ARCH-slackware-linux
+patch -p1 < $CWD/java-gateway.patch
+
+
+
make
make install DESTDIR=$PKG
@@ -127,14 +141,32 @@ sed -e "s,PID_FILE=\"/tmp/zabbix_java.pid\",PID_FILE=/var/run/$PRGSHORT/$PRGNAM.
cp $CWD/zabbix_java_gateway_logback.xml $PKG/etc/$PRGSHORT/
rm -f $PKG/usr/sbin/zabbix_java/settings.sh
+# Binaries
+mkdir -p $PKG/usr/sbin
+sed -e "s,GATEWAY_HOME=\"/usr/sbin/zabbix_java\",GATEWAY_HOME=\"/usr/share/zabbix_java_gateway\"," \
+ $PKG/usr/sbin/zabbix_java/startup.sh > $PKG/usr/sbin/$PRGNAM\_startup
+chmod 755 $PKG/usr/sbin/$PRGNAM\_startup
+rm $PKG/usr/sbin/zabbix_java/startup.sh
+
+sed -e "s,GATEWAY_HOME=\"/usr/sbin/zabbix_java\",GATEWAY_HOME=\"/usr/share/zabbix_java_gateway\"," \
+ $PKG/usr/sbin/zabbix_java/shutdown.sh > $PKG/usr/sbin/$PRGNAM\_shutdown
+chmod 755 $PKG/usr/sbin/$PRGNAM\_shutdown
+rm $PKG/usr/sbin/zabbix_java/shutdown.sh
+
+#mkdir -p $PKG/usr/share/zabbix_java_gateway
+mkdir -p $PKG/usr/share/
+mv $PKG/usr/sbin/zabbix_java $PKG/usr/share/zabbix_java_gateway
+#rm $PKG/usr/sbin/zabbix_java/
+
# Init script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
cp $CWD/$PRGNAM $PKG/usr/sbin/$PRGNAM
+chmod 755 $PKG/usr/sbin/$PRGNAM
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -144,4 +176,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zabbix_java_gateway/zabbix_java_gateway.info b/network/zabbix_java_gateway/zabbix_java_gateway.info
index a7ba6ccf87..716a63ac39 100644
--- a/network/zabbix_java_gateway/zabbix_java_gateway.info
+++ b/network/zabbix_java_gateway/zabbix_java_gateway.info
@@ -1,10 +1,10 @@
PRGNAM="zabbix_java_gateway"
-VERSION="4.4.7"
+VERSION="6.4.11"
HOMEPAGE="https://www.zabbix.com"
-DOWNLOAD="https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/4.4.7/zabbix-4.4.7.tar.gz"
-MD5SUM="24e5a166694db45ebb461757074fb02d"
+DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
+MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="zux"
EMAIL="zux@pie-dabas.net"
diff --git a/network/zabbix_proxy/README b/network/zabbix_proxy/README
index b5eb9aa9dd..d040bc15bc 100644
--- a/network/zabbix_proxy/README
+++ b/network/zabbix_proxy/README
@@ -1,16 +1,17 @@
Zabbix Proxies may greatly simplify maintenance of Zabbix environment
and increase performance of the central Zabbix server.
-Also, use of Zabbix Proxies is the easiest way of implementing centralized
-and distributed monitoring, when all Agents and Proxies report to one
-Zabbix server and all data is collected centrally.
+Also, use of Zabbix Proxies is the easiest way of implementing
+centralized and distributed monitoring, when all Agents and Proxies
+report to one Zabbix server and all data is collected centrally.
-Zabbix offers advanced monitoring, alerting and visualization features,
-including distributed monitoring, auto-discovery, notifications, etcetera.
+Zabbix offers advanced monitoring, alerting and visualization
+features, including distributed monitoring, auto-discovery,
+notifications, etcetera.
-zabbix_proxy needs to run under its own user/group. This has been assigned
-to the following by SlackBuilds.org, but feel free to change it on your
-system for consistency with local assignments.
+zabbix_proxy needs to run under its own user/group. This has been
+assigned to the following by SlackBuilds.org, but feel free to change
+it on your system for consistency with local assignments.
User: zabbix UID: 228 GID: 228
group: zabbix GID: 228
diff --git a/network/zabbix_proxy/README.SLACKWARE b/network/zabbix_proxy/README.SLACKWARE
index d9ccd5e4ad..8294fd8ad0 100644
--- a/network/zabbix_proxy/README.SLACKWARE
+++ b/network/zabbix_proxy/README.SLACKWARE
@@ -42,7 +42,7 @@ On your MariaDB server, connect with full privileges:
Create the zabbix database & user:
- mysql> create database zabbix_proxy character set utf8;
+ mysql> create database zabbix_proxy character set utf8mb4 collate utf8mb4_bin;
mysql> use mysql;
mysql> grant all on zabbix_proxy.* to zabbix_proxy@<your_zabbix_proxy> identified by '<your_password>';
mysql> flush privileges;
@@ -67,7 +67,7 @@ A standard configuration file is installed as /etc/zabbix/zabbix_proxy.conf
You will need to change at least the following lines:
- Server=<ip_of_your_zabbix_proxy>
+ Server=<ip_of_your_zabbix_server>
Hostname=<hostname_of_your_zabbix_proxy>
DBHost=<your_mysql_server> (Change if MariaDB is not on localhost)
diff --git a/network/zabbix_proxy/rc.zabbix_proxy b/network/zabbix_proxy/rc.zabbix_proxy
index ff169bc023..ed118f9d35 100644
--- a/network/zabbix_proxy/rc.zabbix_proxy
+++ b/network/zabbix_proxy/rc.zabbix_proxy
@@ -75,5 +75,5 @@ case "$1" in
RETVAL=1
esac
-exit $RETVAL
+#exit $RETVAL
#EOF
diff --git a/network/zabbix_proxy/zabbix_proxy.SlackBuild b/network/zabbix_proxy/zabbix_proxy.SlackBuild
index e756aa423d..c8842f45ca 100644
--- a/network/zabbix_proxy/zabbix_proxy.SlackBuild
+++ b/network/zabbix_proxy/zabbix_proxy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zabbix_proxy
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zabbix_proxy
-VERSION=${VERSION:-4.4.7}
+VERSION=${VERSION:-6.4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +45,14 @@ ZABBIXGROUP=${ZABBIXGROUP:-zabbix}
ZABBIXUID=${ZABBIXUID:-228}
ZABBIXGID=${ZABBIXGID:-228}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,8 +111,17 @@ CXXFLAGS="$SLKCFLAGS" \
--with-mysql \
--with-libcurl \
--with-net-snmp \
- --with-ssh2 \
+ --with-libxml2 \
+ --with-ssh \
--with-ldap \
+ --with-libpcre2 \
+ --with-openssl \
+ --enable-ipv6 \
+ --with-unixodbc \
+ --with-zlib \
+ --with-libpthread \
+ --with-libevent \
+ --with-iconv \
--build=$ARCH-slackware-linux
make
@@ -135,7 +154,7 @@ sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \
-e "s,# DBSocket=/tmp/,DBSocket=/var/run/mysql/," \
-e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \
$PKG/etc/$PRGSHORT/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new
-rm -f $PKG/etc/$PRGSHORT/$PRGNAM.conf
+rm -rf $PKG/etc/$PRGSHORT/$PRGNAM.conf $PKG/etc/$PRGSHORT/$PRGNAM.conf.d
# Init script
mkdir -p $PKG/etc/rc.d
@@ -143,7 +162,7 @@ cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -153,4 +172,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zabbix_proxy/zabbix_proxy.info b/network/zabbix_proxy/zabbix_proxy.info
index da13ccd813..b56fd5d9a7 100644
--- a/network/zabbix_proxy/zabbix_proxy.info
+++ b/network/zabbix_proxy/zabbix_proxy.info
@@ -1,10 +1,10 @@
PRGNAM="zabbix_proxy"
-VERSION="4.4.7"
+VERSION="6.4.11"
HOMEPAGE="https://www.zabbix.com"
-DOWNLOAD="https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/4.4.7/zabbix-4.4.7.tar.gz"
-MD5SUM="24e5a166694db45ebb461757074fb02d"
+DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
+MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="unixODBC"
MAINTAINER="zux"
EMAIL="zux@pie-dabas.net"
diff --git a/network/zabbix_server/README b/network/zabbix_server/README
index e5c11daa57..9c343bb231 100644
--- a/network/zabbix_server/README
+++ b/network/zabbix_server/README
@@ -1,9 +1,10 @@
-Zabbix offers advanced monitoring, alerting and visualization features,
-including distributed monitoring, auto-discovery, notifications, etcetera.
+Zabbix offers advanced monitoring, alerting and visualization
+features, including distributed monitoring, auto-discovery,
+notifications, etcetera.
-zabbix_server needs to run under its own user/group. This has been assigned
-to the following by SlackBuilds.org, but feel free to change it on your
-system for consistency with local assignments.
+zabbix_server needs to run under its own user/group. This has been
+assigned to the following by SlackBuilds.org, but feel free to change
+it on your system for consistency with local assignments.
User: zabbix UID: 228 GID: 228
group: zabbix GID: 228
diff --git a/network/zabbix_server/README.SLACKWARE b/network/zabbix_server/README.SLACKWARE
index 71d5cee738..240f9b4269 100644
--- a/network/zabbix_server/README.SLACKWARE
+++ b/network/zabbix_server/README.SLACKWARE
@@ -4,14 +4,17 @@ README.Slackware
This file contains some specific instructions to complete the
installation of zabbix_server on Slackware.
-zabbix-java has been moved to a separate package - zabbix-java-gateway
+zabbix-java has been moved to a separate package - zabbix_java_gateway
+
+Frontend is now also in a seperate package - zabbix_frontend as it might be installed on a seperate machine
+
You will need to have a working installation of httpd and MariaDB (*) for
zabbix_server to run. MariaDB server does not have to be on the same box as
zabbix_server, but they need to be able to communicate and you will need at
least the MariaDB client on the box that will run zabbix_server.
-(*) zabbix can work with MySQL and its forks, Oracle, PostgreSQL and IBM DB2
+(*) zabbix can work with MySQL and its forks and PostgreSQL
databases, but these instructions are for MariaDB, as it is included with
Slackware.
@@ -45,7 +48,7 @@ On your MariaDB server, connect with full privileges:
Create the zabbix database & user:
- mysql> create database zabbix character set utf8 collate utf8_bin;
+ mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> use mysql;
mysql> grant all privileges on zabbix.* to zabbix@<your_zabbix_server> identified by '<your_password>';
mysql> flush privileges;
@@ -62,37 +65,12 @@ On your zabbix server, connect to the new database:
In MariaDB, create the schema & add initial data:
mysql> source schema.sql;
- mysql> source data.sql;
mysql> source images.sql;
+ mysql> source data.sql;
mysql> quit
-1.2) Configure PHP
-
-zabbix requires some parameters in /etc/php.ini to be altered:
-
- - post_max_size = 16M Default = 8M
- - max_execution_time = 300 Default = 30
- - max_input_time = 300 Default = 60
- - date.timezone Needs to be set (default = blank)
- - always_populate_raw_post_data = -1
-
-After changing the php.ini file, you'll need to restart httpd for the
-changes to have effect:
-
- # /etc/rc.d/rc.httpd restart
-1.3) Configure httpd
-
-zabbix requires php enabled in /etc/httpd/httpd.conf
-
-uncomment the line:
- Include /etc/httpd/mod_php.conf
-
-add index.php to the DirectoryIndex parameter
- Directory index.html index.php
-
-
-1.4) zabbix_server configuration file
+1.2) zabbix_server configuration file
A standard configuration file is installed as /etc/zabbix/zabbix_server.conf
@@ -139,10 +117,3 @@ Now you are ready to start zabbix_server by calling the startup script:
# /etc/rc.d/rc.zabbix_server start
-Once zabbix_server has started and configured correctly, you should be able
-to access it by pointing your browser at:
-
- http://(ip-of-your-zabbix-server)/zabbix/
-
-From here on, you can follow the manual to start the initial configuration
-and set up all the items to monitor.
diff --git a/network/zabbix_server/rc.zabbix_server b/network/zabbix_server/rc.zabbix_server
index 04011cca4f..01d0975ba5 100644
--- a/network/zabbix_server/rc.zabbix_server
+++ b/network/zabbix_server/rc.zabbix_server
@@ -74,6 +74,3 @@ case "$1" in
echo "Usage: $(basename $0) {start|stop|restart }"
RETVAL=1
esac
-
-exit $RETVAL
-#EOF
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild
index b157f3d0b8..1f573dab73 100644
--- a/network/zabbix_server/zabbix_server.SlackBuild
+++ b/network/zabbix_server/zabbix_server.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zabbix_server
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zabbix_server
-VERSION=${VERSION:-4.4.7}
+VERSION=${VERSION:-6.4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,16 +40,23 @@ fi
PRGSHORT=zabbix
-DOCROOT=${DOCROOT:-/var/www/htdocs}
-PHPUSER=${PHPUSER:-root}
-PHPGROUP=${PHPGROUP:-apache}
+#DOCROOT=${DOCROOT:-/var/www/htdocs}
+#PHPUSER=${PHPUSER:-root}
+#PHPGROUP=${PHPGROUP:-apache}
ZABBIXUSER=${ZABBIXUSER:-zabbix}
ZABBIXGROUP=${ZABBIXGROUP:-zabbix}
ZABBIXUID=${ZABBIXUID:-228}
ZABBIXGID=${ZABBIXGID:-228}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,6 +103,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig \
./configure \
--prefix=/usr \
--sysconfdir=/etc/zabbix \
@@ -105,10 +116,18 @@ CXXFLAGS="$SLKCFLAGS" \
--with-mysql \
--with-libcurl \
--with-net-snmp \
- --with-ssh2 \
+ --with-ssh \
--with-ldap \
- --with-ipv6 \
+ --enable-ipv6 \
--with-libxml2 \
+ --with-openssl \
+ --enable-ipv6 \
+ --with-unixodbc \
+ --with-libpcre2 \
+ --with-zlib \
+ --with-libpthread \
+ --with-libevent \
+ --with-iconv \
--build=$ARCH-slackware-linux
make
@@ -120,11 +139,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Install "frontend" to $DOCROOT/zabbix
-mkdir -p $PKG/$DOCROOT/$PRGSHORT
-cp -a frontends/php/* $PKG/$DOCROOT/$PRGSHORT/
-chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGSHORT
-
# Database scripts
mkdir -p $PKG/usr/share/$PRGNAM/database/mysql
cp -a database/mysql $PKG/usr/share/$PRGNAM/database/
@@ -145,7 +159,11 @@ sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \
-e "s,# DBSocket=/tmp/,DBSocket=/var/run/mysql/," \
-e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \
$PKG/etc/$PRGSHORT/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new
-rm -f $PKG/etc/$PRGSHORT/$PRGNAM.conf
+rm -f $PKG/etc/$PRGSHORT/$PRGNAM.conf
+rm -rf $PKG/etc/$PRGSHORT/$PRGNAM.conf.d
+rm -rf $PKG/etc/$PRGSHORT/alertscripts/
+rm -rf $PKG/etc/$PRGSHORT/externalscripts/
+
# Init script
mkdir -p $PKG/etc/rc.d
@@ -153,7 +171,7 @@ cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
@@ -163,4 +181,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info
index 29456fc927..c686cad35a 100644
--- a/network/zabbix_server/zabbix_server.info
+++ b/network/zabbix_server/zabbix_server.info
@@ -1,10 +1,10 @@
PRGNAM="zabbix_server"
-VERSION="4.4.7"
+VERSION="6.4.11"
HOMEPAGE="https://www.zabbix.com"
-DOWNLOAD="https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/4.4.7/zabbix-4.4.7.tar.gz"
-MD5SUM="24e5a166694db45ebb461757074fb02d"
+DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz"
+MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="unixODBC"
MAINTAINER="zux"
EMAIL="zux@pie-dabas.net"
diff --git a/network/zeek/zeek.SlackBuild b/network/zeek/zeek.SlackBuild
index 0835328123..ea2b1cdfaa 100644
--- a/network/zeek/zeek.SlackBuild
+++ b/network/zeek/zeek.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Zeek
-# Copyright 2018-2020 Michael Edie Orlando, FL USA
+# Copyright 2018-2024 Michael Edie, Tampa, FL USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zeek
-VERSION=${VERSION:-3.0.11}
+VERSION=${VERSION:-6.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,17 +72,24 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
chown -R root:root .
-find -L . \
+# -L bails out because of a loop
+find . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+make distclean
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/opt/$PRGNAM
+ --prefix=/opt/$PRGNAM \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man
make
make install DESTDIR=$PKG
@@ -82,11 +99,16 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
BIN="zeek zeek-config zeekctl zeek-cut capstats trace-summary"
mkdir -p $PKG/usr/bin
-for i in $BIN
- do ln -sf /opt/$PRGNAM/bin/$i $PKG/usr/bin/$i
-done
+(
+ cd $PKG/usr/bin
+ for i in $BIN
+ do ln -sf ../../opt/$PRGNAM/bin/$i $i
+ done
+)
+
+find -L $PKG -type l 2>&1 | grep loop | iconv -t 8859_1//TRANSLIT |
+ cut -d"'" -f2 | xargs rm -v || true
-mv $PKG/opt/$PRGNAM/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -98,5 +120,6 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+rm -f opt/zeek/include/zeek/builtin-plugins/spicy-plugin/usr/lib$LIBDIRSUFFIX/zeek-spicy
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zeek/zeek.info b/network/zeek/zeek.info
index 3decfa026d..e3f6119155 100644
--- a/network/zeek/zeek.info
+++ b/network/zeek/zeek.info
@@ -1,8 +1,8 @@
PRGNAM="zeek"
-VERSION="3.0.11"
+VERSION="6.0.3"
HOMEPAGE="https://www.zeek.org"
-DOWNLOAD="https://download.zeek.org/zeek-3.0.11.tar.gz"
-MD5SUM="c254fb1f9180bd1f42cd3e96d4ecd8bc"
+DOWNLOAD="https://download.zeek.org/zeek-6.0.3.tar.gz"
+MD5SUM="8cf75e403e8072b25140c2d56a294c4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/zmap/README b/network/zmap/README
index 982c0520c5..43877cd48c 100644
--- a/network/zmap/README
+++ b/network/zmap/README
@@ -1,9 +1,9 @@
zmap (network scanner)
ZMap is a fast network scanner designed for Internet-wide network
-surveys. On a typical desktop computer with a gigabit Ethernet connection,
-ZMap is capable scanning the entire public IPv4 address space in under
-five minutes.
+surveys. On a typical desktop computer with a gigabit Ethernet
+connection, ZMap is capable scanning the entire public IPv4 address
+space in under five minutes.
ZMap can be used to study protocol adoption over time, monitor service
availability and help us better understand large systems distributed
diff --git a/network/zmap/zmap.SlackBuild b/network/zmap/zmap.SlackBuild
index dfb4dd75c1..f0ac1914d5 100644
--- a/network/zmap/zmap.SlackBuild
+++ b/network/zmap/zmap.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zmap
-# Copyright 2015-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zmap
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,7 +98,7 @@ rm -rf $PKG/usr/share
mkdir -p $PKG/etc/zmap/
cp conf/zmap.conf $PKG/etc/zmap/zmap.conf.new
-cp conf/blacklist.conf $PKG/etc/zmap/blacklist.conf.new
+cp conf/blocklist.conf $PKG/etc/zmap/blocklist.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION
@@ -103,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zmap/zmap.info b/network/zmap/zmap.info
index f0e1a5bfe1..16608501b4 100644
--- a/network/zmap/zmap.info
+++ b/network/zmap/zmap.info
@@ -1,8 +1,8 @@
PRGNAM="zmap"
-VERSION="2.1.1"
+VERSION="3.0.0"
HOMEPAGE="https://zmap.io"
-DOWNLOAD="https://github.com/zmap/zmap/archive/v2.1.1/zmap-2.1.1.tar.gz"
-MD5SUM="a37555ac2beda1dc6f3754b411be545e"
+DOWNLOAD="https://github.com/zmap/zmap/archive/v3.0.0/zmap-3.0.0.tar.gz"
+MD5SUM="e1fca7020b86e05959a2b68ff87afd45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="byacc gengetopt"
diff --git a/network/znc/README b/network/znc/README
index b292fde987..07c8719581 100644
--- a/network/znc/README
+++ b/network/znc/README
@@ -12,7 +12,8 @@ to IRC servers. If you do not wish to include OpenSSL support in ZNC,
simply run the build script like this:
WITH_SSL=no ./znc.SlackBuild
-IPv6 support is also enabled by default; to disable it, run the script as:
+IPv6 support is also enabled by default; to disable it, run the script
+like this:
WITH_IPV6=no ./znc.SlackBuild
This is intended to be run as a nonprivileged user - by default, the
diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild
index c2e5d583c6..4ed3b47eed 100644
--- a/network/znc/znc.SlackBuild
+++ b/network/znc/znc.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ZNC
# Copyright 2007-2013 Sean Donner (sean.donner@gmail.com)
-# Copyright 2017, 2018, 2020 Mario Preksavec, Zagreb, Croatia
+# Copyright 2017, 2024 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=znc
-VERSION=${VERSION:-1.7.5}
+VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ZNC_USER=${ZNC_USER:-znc}
WITH_SSL=${WITH_SSL:-yes}
@@ -39,19 +42,26 @@ WITH_TCL=${WITH_TCL:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -136,7 +146,6 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --build=$ARCH-slackware-linux \
$do_openssl \
$do_ipv6 \
$do_perl \
@@ -173,4 +182,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/znc/znc.info b/network/znc/znc.info
index f5e72f4b13..5d089154e8 100644
--- a/network/znc/znc.info
+++ b/network/znc/znc.info
@@ -1,8 +1,8 @@
PRGNAM="znc"
-VERSION="1.7.5"
+VERSION="1.9.0"
HOMEPAGE="https://wiki.znc.in/ZNC"
-DOWNLOAD="https://znc.in/releases/archive/znc-1.7.5.tar.gz"
-MD5SUM="7df60c25e8aa61866b5be54994a78e2a"
+DOWNLOAD="https://znc.in/releases/archive/znc-1.9.0.tar.gz"
+MD5SUM="28c948af16e4b9307760d9fa951abf74"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/zoom-linux/doinst.sh b/network/zoom-linux/doinst.sh
index f355da8d41..9a8ded3c60 100644
--- a/network/zoom-linux/doinst.sh
+++ b/network/zoom-linux/doinst.sh
@@ -1,7 +1,3 @@
-if [ -x /usr/bin/xdg-mime ]; then
- /usr/bin/xdg-mime install /usr/share/mime/packages/zoom-linux.xml
-fi
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -9,9 +5,3 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/network/zoom-linux/slack-desc b/network/zoom-linux/slack-desc
index 3b2bfaadeb..99a5379e41 100644
--- a/network/zoom-linux/slack-desc
+++ b/network/zoom-linux/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
zoom-linux: zoom-linux (Video conferencing client)
zoom-linux:
-zoom-linux: Stay connected wherever you go – start or join a 100-person
+zoom-linux: Stay connected wherever you go - start or join a 100-person
zoom-linux: meeting with crystal-clear, face-to-face video, high quality
-zoom-linux: screen sharing, and instant messaging – for free!
+zoom-linux: screen sharing, and instant messaging - for free!
zoom-linux:
zoom-linux: Join any meeting and host unlimited 1:1 meetings for free.
zoom-linux: Free group meetings are limited to 40 minutes.
diff --git a/network/zoom-linux/zoom-linux.SlackBuild b/network/zoom-linux/zoom-linux.SlackBuild
index 9d90c841db..4263ee5520 100644
--- a/network/zoom-linux/zoom-linux.SlackBuild
+++ b/network/zoom-linux/zoom-linux.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for zoom-linux
#
-# Copyright 2018-2020 Ebben Aries <slackbuilds@dscp.org>
+# Copyright 2018-2023 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zoom-linux
-VERSION=${VERSION:-5.4.53391.1108} # may be overridden by source!
+VERSION=${VERSION:-6.0.0.4563} # may be overridden by source!
SRCNAM=zoom
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,16 +67,16 @@ case "$ARCH" in
;;
esac
-VERSION=$(tar JxOf $SRC.tar.xz zoom/version.txt)
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRC.tar.xz
-cd $SRCNAM
+cd $PKG
+tar xvf $CWD/$SRC.pkg.tar.xz
+# don't want these
+rm -vrf .INSTALL .MTREE .PKGINFO
+rm -rf usr/bin/zoom usr/share/doc
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -74,29 +84,30 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/opt/$PRGNAM
-cp -a * $PKG/opt/$PRGNAM
-
-mkdir -p $PKG/usr/bin
cd $PKG/usr/bin
-ln -sf /opt/zoom-linux/ZoomLauncher zoom-linux
+ln -sf ../../opt/zoom/ZoomLauncher zoom-linux
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# remove old stuff that might be confused with games/zoom
+rm -fv $PKG/usr/share/applications/Zoom.desktop
+rm -fv $PKG/usr/share/mime/packages/zoom.xml
+rm -fv $PKG/usr/share/pixmaps/Zoom.png
-mkdir -p $PKG/usr/share/applications/
-install -D -m644 $CWD/zoom-linux.desktop $PKG/usr/share/applications/
+# add our own files
+install -m 0644 $CWD/zoom-linux.desktop -t $PKG/usr/share/applications/
+install -m 0644 $CWD/zoom-linux.png -t $PKG/usr/share/pixmaps/
+install -m 0644 $CWD/zoom-linux.xml -t $PKG/usr/share/mime/packages/
-mkdir -p $PKG/usr/share/pixmaps/
-cp $CWD/zoom-linux.png $PKG/usr/share/pixmaps/
-cp $CWD/application-x-zoom.png $PKG/usr/share/pixmaps/
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/mime/packages/
-cp $CWD/zoom-linux.xml $PKG/usr/share/mime/packages/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION
+chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/zoom-linux/zoom-linux.desktop b/network/zoom-linux/zoom-linux.desktop
index 78f2426252..84dc0a257a 100644
--- a/network/zoom-linux/zoom-linux.desktop
+++ b/network/zoom-linux/zoom-linux.desktop
@@ -5,8 +5,7 @@ Exec=/usr/bin/zoom-linux %U
Icon=zoom-linux
Terminal=false
Type=Application
-Encoding=UTF-8
-Categories=Network;Application;
+Categories=Network;
StartupWMClass=zoom
MimeType=x-scheme-handler/zoommtg;application/x-zoom;
X-KDE-Protocols=zoommtg
diff --git a/network/zoom-linux/zoom-linux.info b/network/zoom-linux/zoom-linux.info
index a957316d6a..f1b77a4e27 100644
--- a/network/zoom-linux/zoom-linux.info
+++ b/network/zoom-linux/zoom-linux.info
@@ -1,10 +1,10 @@
PRGNAM="zoom-linux"
-VERSION="5.5.7011.0206"
+VERSION="6.0.0.4563"
HOMEPAGE="https://www.zoom.us/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://d11yldzmag5yn.cloudfront.net/prod/5.5.7011.0206/zoom_x86_64.tar.xz"
-MD5SUM_x86_64="8b8a25f97ad197603ec62ea68687afd7"
+DOWNLOAD_x86_64="https://cdn.zoom.us/prod/6.0.0.4563/zoom_x86_64.pkg.tar.xz"
+MD5SUM_x86_64="0c53fed4b3eb7ad942708e02a468021a"
REQUIRES=""
MAINTAINER="Ebben Aries"
EMAIL="slackbuilds@dscp.org"
diff --git a/network/zsync/slack-desc b/network/zsync/slack-desc
index 13705bc452..ee8c8ed579 100644
--- a/network/zsync/slack-desc
+++ b/network/zsync/slack-desc
@@ -8,10 +8,10 @@
|-----handy-ruler------------------------------------------------------|
zsync: zsync (client-side implementation of the rsync algorithm)
zsync:
-zsync: zsync is a file transfer program. It allows you to download a file from
-zsync: a remote web server, where you have a copy of an older version of the
-zsync: file on your computer already. zsync downloads only the new parts of
-zsync: the file. It uses the same algorithm as rsync.
+zsync: zsync is a file transfer program. It allows you to download a file
+zsync: from a remote web server, where you have a copy of an older version of
+zsync: the file on your computer already. zsync downloads only the new parts
+zsync: of the file. It uses the same algorithm as rsync.
zsync:
zsync: The zsync web site is at http://zsync.moria.org.uk/
zsync:
diff --git a/network/zsync/zsync.SlackBuild b/network/zsync/zsync.SlackBuild
index ad5b7ecdaf..8a7f33bbbe 100644
--- a/network/zsync/zsync.SlackBuild
+++ b/network/zsync/zsync.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zsync
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zsync
VERSION=${VERSION:-0.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE