├── systemd ├── loader.conf ├── splash-arch.bmp ├── systemd-user.pam ├── arch.conf ├── systemd-binfmt.hook ├── systemd-tmpfiles.hook ├── systemd-sysctl.hook ├── systemd-sysusers.hook ├── systemd-update.hook ├── systemd-hwdb.hook ├── systemd-catalog.hook ├── systemd-udev-reload.hook ├── systemd-daemon-reload.hook ├── initcpio-hook-udev ├── initcpio-install-udev ├── systemd-hook ├── systemd.install └── 0001-Use-Arch-Linux-device-access-groups.patch ├── docker ├── docker │ ├── docker.sysusers │ └── disableresolution.patch ├── python-websocket-client-git │ └── PKGBUILD ├── python-dockerpty-git │ └── PKGBUILD ├── python-texttable-git │ └── PKGBUILD ├── python-docker-py-git │ └── PKGBUILD ├── docker-compose │ └── PKGBUILD ├── runc │ └── PKGBUILD └── docker-compose-git │ └── PKGBUILD ├── libvirt ├── Changelog └── libvirt.install ├── victoriametrics ├── victoriametrics.default ├── victoriametrics.service └── PKGBUILD ├── exim ├── exim.sysusers ├── exim.logrotate ├── exim.tmpfiles ├── exim@.service ├── exim.socket ├── exim-submission.socket ├── exim.service ├── exim-submission@.service ├── aliases ├── dmarc_api_change.patch ├── keys │ └── pgp │ │ └── A986F3A6BD6377D8730958DEBCE58C8CE41F32DF.asc └── PKGBUILD ├── nut ├── nut.sysusers ├── nut.tmpfiles ├── nut-no-libdummy.patch ├── nut-lowspeed-buffer-size.patch ├── nut-snmp-usb-order.patch ├── PKGBUILD └── nut-openssl-1.1.patch ├── vim ├── luacheck │ ├── bin.sh │ └── PKGBUILD ├── vint │ ├── python-ansicolor │ │ └── PKGBUILD │ └── vint │ │ └── PKGBUILD ├── vimpager-nfnty-git │ └── PKGBUILD ├── neovim-qt │ └── PKGBUILD └── neovim-git │ └── PKGBUILD ├── ntp ├── ntp.sysusers ├── ntpdate.service ├── ntpd.service ├── ntp-4.2.8.p18-fix-build.patch ├── ntp.conf ├── noroot.patch └── PKGBUILD ├── kea ├── kea │ ├── tmpfiles-kea.conf │ ├── kea-dhcp4.service │ ├── kea-dhcp6.service │ ├── kea-dhcp-ddns.service │ └── kea-ctrl-agent.service ├── log4cplus-git │ └── PKGBUILD └── kea-git │ └── PKGBUILD ├── qemu ├── 65-kvm.rules ├── qemu-ga.service └── qemu.install ├── kodi ├── kodi │ ├── cpuinfo │ ├── cheat-sse-build.patch │ ├── 10160.patch │ ├── fix-python-lib-path.patch │ └── fix-ftpparse.patch └── kodi-git │ └── kodi.install ├── heka ├── heka │ ├── install.sh │ ├── heka.service │ └── PKGBUILD └── heka-git │ ├── install.sh │ ├── heka.service │ └── PKGBUILD ├── ethereum ├── go-ethereum │ ├── geth-user.service │ └── PKGBUILD ├── rocksdb │ └── PKGBUILD ├── openethereum │ └── PKGBUILD ├── lighthouse │ └── PKGBUILD └── prysm │ ├── PKGBUILD │ └── memsize.patch ├── spotify ├── spotify.protocol └── PKGBUILD ├── ulogd-git ├── ulogd.logrotate ├── ulogd.service ├── ulogd.conf └── PKGBUILD ├── prometheus ├── prometheus-exporter-node │ ├── install.sh │ ├── prometheus-exporter-node.service │ └── PKGBUILD ├── prometheus │ └── PKGBUILD └── prometheus-git │ └── PKGBUILD ├── grafana ├── grafana │ ├── package_json.patch │ └── PKGBUILD └── grafana-git │ └── PKGBUILD ├── telldus ├── telldus-core-git │ ├── telldusd.service │ ├── pthread.patch │ ├── PKGBUILD │ ├── bin.patch │ └── uucp.patch ├── python-tellcore-py-git │ └── PKGBUILD └── python2-telldus-git │ └── PKGBUILD ├── protonmail-bridge ├── protonmail-bridge.desktop └── PKGBUILD ├── python-pydbus └── PKGBUILD ├── dejavu ├── python2-pydub │ └── PKGBUILD └── dejavu-git │ └── PKGBUILD ├── protonmail-bridge-nogui ├── bridge.service └── PKGBUILD ├── elasticsearch ├── python-elasticsearch │ └── PKGBUILD └── python-elasticsearch-git │ └── PKGBUILD ├── qt5-styleplugins ├── qt5-styleplugins │ ├── install.sh │ └── PKGBUILD └── qt5-styleplugins-git │ └── PKGBUILD ├── nvme-cli └── PKGBUILD ├── tini ├── tini │ └── PKGBUILD └── tini-git │ └── PKGBUILD ├── xcursor-breeze-snow-small └── PKGBUILD ├── libretro ├── retroarch │ └── PKGBUILD ├── retroarch-git │ └── PKGBUILD ├── libretro-mednafen-psx-git │ └── PKGBUILD ├── libretro-desmume-git │ └── PKGBUILD └── libretro-pcsx-rearmed-git │ └── PKGBUILD ├── tmux ├── tmux │ ├── ixon.patch │ ├── pane_is_dead.patch │ └── PKGBUILD └── tmux-git │ ├── ixon.patch │ └── PKGBUILD ├── acoustid ├── acoustid-server-git │ ├── libchromaprint.patch │ ├── admin.patch │ └── PKGBUILD ├── python-audioread-git │ └── PKGBUILD ├── python-pyacoustid-git │ └── PKGBUILD ├── pg_acoustid-git │ └── PKGBUILD └── acoustid-index-git │ └── PKGBUILD ├── lua51-luajson └── PKGBUILD ├── ovmf ├── 60-edk2-ovmf-x86_64.json └── PKGBUILD ├── python-xlib-git └── PKGBUILD ├── python-magic-git └── PKGBUILD ├── python-mpd2-git └── PKGBUILD ├── i3ipc ├── i3ipc-python-git │ └── PKGBUILD └── i3ipc-glib-git │ └── PKGBUILD ├── python-evdev-git └── PKGBUILD ├── fio-git └── PKGBUILD ├── waifu2x-converter-cpp ├── waifu2x-converter-cpp │ └── PKGBUILD └── waifu2x-converter-cpp-git │ └── PKGBUILD ├── python-imagehash-git └── PKGBUILD ├── python-pyuserinput-git └── PKGBUILD ├── wm ├── j4-dmenu-desktop-git │ └── PKGBUILD ├── sxhkd-git │ └── PKGBUILD └── bspwm-git │ └── PKGBUILD ├── rspamd ├── rspamd │ └── PKGBUILD └── rspamd-git │ └── PKGBUILD ├── simple-mtpfs-git └── PKGBUILD ├── alacritty ├── launch_delay.patch └── PKGBUILD ├── solaar-git └── PKGBUILD ├── namebench ├── namebench-git │ └── PKGBUILD └── namebench2 │ └── PKGBUILD ├── LICENSE ├── lego └── PKGBUILD ├── cadvisor ├── cadvisor │ └── PKGBUILD └── cadvisor-git │ └── PKGBUILD ├── dvorak-nfnty-git └── PKGBUILD ├── beignet-git └── PKGBUILD ├── shotcut ├── shotcut-git │ └── PKGBUILD └── mlt-git │ └── PKGBUILD ├── ranger-git └── PKGBUILD ├── dislocker-git └── PKGBUILD ├── influxdb └── PKGBUILD ├── infiniband ├── rdma-core │ └── PKGBUILD └── rdma-core-git │ └── PKGBUILD └── mpd-git └── PKGBUILD /systemd/loader.conf: -------------------------------------------------------------------------------- 1 | default arch 2 | -------------------------------------------------------------------------------- /docker/docker/docker.sysusers: -------------------------------------------------------------------------------- 1 | g docker - - 2 | -------------------------------------------------------------------------------- /libvirt/Changelog: -------------------------------------------------------------------------------- 1 | https://libvirt.org/news.html 2 | -------------------------------------------------------------------------------- /victoriametrics/victoriametrics.default: -------------------------------------------------------------------------------- 1 | ARGS="" 2 | -------------------------------------------------------------------------------- /exim/exim.sysusers: -------------------------------------------------------------------------------- 1 | u exim 79 "Exim MTA" /var/spool/exim 2 | -------------------------------------------------------------------------------- /nut/nut.sysusers: -------------------------------------------------------------------------------- 1 | u nut - "Network UPS Tools" /var/lib/nut 2 | m nut uucp 3 | -------------------------------------------------------------------------------- /vim/luacheck/bin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec /usr/share/lua/5.3/luacheck/bin/luacheck "$@" 3 | -------------------------------------------------------------------------------- /ntp/ntp.sysusers: -------------------------------------------------------------------------------- 1 | g ntp 87 - 2 | u ntp 87 "Network Time Protocol" /var/lib/ntp /bin/false 3 | -------------------------------------------------------------------------------- /kea/kea/tmpfiles-kea.conf: -------------------------------------------------------------------------------- 1 | d /run/kea 0750 root root - 2 | d /run/lock/kea 0750 root root - 3 | -------------------------------------------------------------------------------- /systemd/splash-arch.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nfnty/pkgbuilds/HEAD/systemd/splash-arch.bmp -------------------------------------------------------------------------------- /qemu/65-kvm.rules: -------------------------------------------------------------------------------- 1 | KERNEL=="vhost-net", GROUP="kvm", MODE="0660", TAG+="uaccess", OPTIONS+="static_node=vhost-net" 2 | -------------------------------------------------------------------------------- /exim/exim.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/exim/*log { 2 | su exim exim 3 | missingok 4 | notifempty 5 | delaycompress 6 | } 7 | -------------------------------------------------------------------------------- /exim/exim.tmpfiles: -------------------------------------------------------------------------------- 1 | d /var/spool/exim 0770 root exim - - 2 | d /var/spool/exim/db 0770 exim exim - - 3 | d /var/log/exim 0770 root exim - - 4 | -------------------------------------------------------------------------------- /kodi/kodi/cpuinfo: -------------------------------------------------------------------------------- 1 | processor : 1 2 | vendor_id : KodiCheat 3 | model name : KodiCheat SSE 4 | flags : sse sse2 pni ssse3 sse4_1 sse4_2 avx avx2 5 | -------------------------------------------------------------------------------- /systemd/systemd-user.pam: -------------------------------------------------------------------------------- 1 | # Used by systemd --user instances. 2 | 3 | account include system-login 4 | session required pam_loginuid.so 5 | session include system-login 6 | -------------------------------------------------------------------------------- /exim/exim@.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Exim Mail Daemon per-connection server 3 | 4 | [Service] 5 | ExecStart=-/usr/bin/exim -bs 6 | StandardInput=socket 7 | StandardError=syslog 8 | -------------------------------------------------------------------------------- /exim/exim.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Exim Mail Transfer Agent 3 | Conflicts=exim.service 4 | 5 | [Socket] 6 | ListenStream=25 7 | Accept=yes 8 | 9 | [Install] 10 | WantedBy=sockets.target 11 | -------------------------------------------------------------------------------- /nut/nut.tmpfiles: -------------------------------------------------------------------------------- 1 | d /run/nut 0700 nut nut - 2 | d /var/lib/nut 0700 nut nut - 3 | z /etc/nut/upsd.conf 0640 root nut - 4 | z /etc/nut/upsd.users 0640 root nut - 5 | z /etc/nut/upsmon.conf 0640 root nut - 6 | 7 | -------------------------------------------------------------------------------- /exim/exim-submission.socket: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Exim Mail Transfer Agent (message submission) 3 | Conflicts=exim.service 4 | 5 | [Socket] 6 | ListenStream=587 7 | Accept=yes 8 | 9 | [Install] 10 | WantedBy=sockets.target 11 | -------------------------------------------------------------------------------- /heka/heka/install.sh: -------------------------------------------------------------------------------- 1 | post_install() { 2 | groupadd --gid 533 heka >/dev/null 3 | useradd --uid 533 --gid heka --home-dir / --shell /usr/bin/false heka >/dev/null 4 | } 5 | 6 | post_remove() { 7 | userdel heka >/dev/null 8 | } 9 | -------------------------------------------------------------------------------- /qemu/qemu-ga.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=QEMU Guest Agent 3 | ConditionPathExists=/dev/virtio-ports/org.qemu.guest_agent.0 4 | 5 | [Service] 6 | ExecStart=/usr/bin/qemu-ga 7 | 8 | [Install] 9 | WantedBy=multi-user.target 10 | -------------------------------------------------------------------------------- /ethereum/go-ethereum/geth-user.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Geth 3 | After=network.target 4 | 5 | [Service] 6 | ExecStart=/usr/bin/geth 7 | KillSignal=SIGINT 8 | Restart=on-failure 9 | 10 | [Install] 11 | WantedBy=default.target 12 | -------------------------------------------------------------------------------- /exim/exim.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Exim Mail Daemon 3 | 4 | [Service] 5 | PIDFile=/run/exim.pid 6 | ExecStart=/usr/bin/exim -bdf -q30m 7 | ExecReload=/bin/kill -HUP $MAINPID 8 | 9 | [Install] 10 | WantedBy=multi-user.target 11 | -------------------------------------------------------------------------------- /heka/heka-git/install.sh: -------------------------------------------------------------------------------- 1 | post_install() { 2 | groupadd --gid 533 heka >/dev/null 3 | useradd --uid 533 --gid heka --home-dir / --shell /usr/bin/false heka >/dev/null 4 | } 5 | 6 | post_remove() { 7 | userdel heka >/dev/null 8 | } 9 | -------------------------------------------------------------------------------- /spotify/spotify.protocol: -------------------------------------------------------------------------------- 1 | [Protocol] 2 | exec=/usr/bin/spotify -uri "%u" 3 | protocol=spotify 4 | input=none 5 | output=none 6 | helper=true 7 | listing=false 8 | reading=false 9 | writing=false 10 | makedir=false 11 | deleting=false 12 | -------------------------------------------------------------------------------- /libvirt/libvirt.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | if [[ -f /etc/libvirt/qemu/networks/default.xml ]] 3 | then 4 | UUID=$(/usr/bin/uuidgen) 5 | sed -i "s||$UUID|" /etc/libvirt/qemu/networks/default.xml 6 | fi 7 | } 8 | -------------------------------------------------------------------------------- /qemu/qemu.install: -------------------------------------------------------------------------------- 1 | # Arg 1: the new package version 2 | post_install() { 3 | # trigger events on modules files when already loaded 4 | for _f in /sys/devices/virtual/misc/vhost-net; do 5 | [[ -e "$_f" ]] && udevadm trigger "$_f" 6 | done 7 | : 8 | } 9 | -------------------------------------------------------------------------------- /ulogd-git/ulogd.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/ulogd.log /var/log/ulogd.syslogemu { 2 | missingok 3 | notifempty 4 | sharedscripts 5 | create 0640 root root 6 | 7 | postrotate 8 | systemctl reload ulogd.service || true 9 | endscript 10 | } 11 | -------------------------------------------------------------------------------- /systemd/arch.conf: -------------------------------------------------------------------------------- 1 | ## This is just an example config file. 2 | ## Please edit the paths and kernel parameters according to your system. 3 | 4 | title Arch Linux 5 | linux /vmlinuz-linux 6 | initrd /initramfs-linux.img 7 | options root=PARTUUID=XXXX rootfstype=XXXX add_efi_memmap 8 | -------------------------------------------------------------------------------- /ulogd-git/ulogd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Netfilter Ulogd daemon 3 | Before=network-pre.target 4 | Wants=network-pre.target 5 | 6 | [Service] 7 | ExecStart=/usr/bin/ulogd 8 | 9 | ExecReload=/usr/bin/kill --signal HUP "${MAINPID}" 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /systemd/systemd-binfmt.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/lib/binfmt.d/*.conf 6 | 7 | [Action] 8 | Description = Registering binary formats... 9 | When = PostTransaction 10 | Exec = /usr/share/libalpm/scripts/systemd-hook binfmt 11 | -------------------------------------------------------------------------------- /systemd/systemd-tmpfiles.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/lib/tmpfiles.d/*.conf 6 | 7 | [Action] 8 | Description = Creating temporary files... 9 | When = PostTransaction 10 | Exec = /usr/share/libalpm/scripts/systemd-hook tmpfiles 11 | -------------------------------------------------------------------------------- /ntp/ntpdate.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=One-Shot Network Time Service 3 | After=network.target nss-lookup.target 4 | Before=ntpd.service 5 | 6 | [Service] 7 | Type=oneshot 8 | PrivateTmp=true 9 | ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp 10 | 11 | [Install] 12 | WantedBy=multi-user.target 13 | -------------------------------------------------------------------------------- /systemd/systemd-sysctl.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/lib/sysctl.d/*.conf 6 | 7 | [Action] 8 | Description = Applying kernel sysctl settings... 9 | When = PostTransaction 10 | Exec = /usr/share/libalpm/scripts/systemd-hook sysctl 11 | -------------------------------------------------------------------------------- /systemd/systemd-sysusers.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Target = usr/lib/sysusers.d/*.conf 6 | 7 | [Action] 8 | Description = Creating system user accounts... 9 | When = PostTransaction 10 | Exec = /usr/share/libalpm/scripts/systemd-hook sysusers 11 | -------------------------------------------------------------------------------- /systemd/systemd-update.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/ 7 | 8 | [Action] 9 | Description = Arming ConditionNeedsUpdate... 10 | When = PostTransaction 11 | Exec = /usr/share/libalpm/scripts/systemd-hook update 12 | -------------------------------------------------------------------------------- /ntp/ntpd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Network Time Service 3 | After=network.target nss-lookup.target 4 | Conflicts=systemd-timesyncd.service 5 | 6 | [Service] 7 | Type=forking 8 | PrivateTmp=true 9 | ExecStart=/usr/bin/ntpd -g -u ntp:ntp 10 | Restart=always 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /prometheus/prometheus-exporter-node/install.sh: -------------------------------------------------------------------------------- 1 | post_install() { 2 | groupadd --gid 535 prometheus-exporter >/dev/null 3 | useradd --uid 535 --gid prometheus-exporter --home-dir / --shell /usr/bin/false prometheus-exporter >/dev/null 4 | } 5 | 6 | post_remove() { 7 | userdel prometheus-exporter >/dev/null 8 | } 9 | -------------------------------------------------------------------------------- /systemd/systemd-hwdb.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/udev/hwdb.d/* 7 | 8 | [Action] 9 | Description = Updating udev hardware database... 10 | When = PostTransaction 11 | Exec = /usr/share/libalpm/scripts/systemd-hook hwdb 12 | -------------------------------------------------------------------------------- /systemd/systemd-catalog.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/systemd/catalog/* 7 | 8 | [Action] 9 | Description = Updating journal message catalog... 10 | When = PostTransaction 11 | Exec = /usr/share/libalpm/scripts/systemd-hook catalog 12 | -------------------------------------------------------------------------------- /grafana/grafana/package_json.patch: -------------------------------------------------------------------------------- 1 | diff --git a/package.json b/package.json 2 | index 1ca5b27f15..898118354d 100644 3 | --- a/package.json 4 | +++ b/package.json 5 | @@ -275,6 +275,6 @@ 6 | "puppeteer": "node_modules/puppeteer-core" 7 | }, 8 | "engines": { 9 | - "node": ">=10 <11" 10 | + "node": ">=10" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /systemd/systemd-udev-reload.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/udev/rules.d/* 7 | 8 | [Action] 9 | Description = Reloading device manager configuration... 10 | When = PostTransaction 11 | Exec = /usr/share/libalpm/scripts/systemd-hook udev-reload 12 | -------------------------------------------------------------------------------- /telldus/telldus-core-git/telldusd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Telldus-core service telldusd 3 | After=basic.target 4 | 5 | [Service] 6 | Type=forking 7 | PIDFile=/run/telldusd.pid 8 | 9 | ExecStart=/usr/bin/telldusd 10 | 11 | ExecReload=/usr/bin/kill --signal HUP "${MAINPID}" 12 | 13 | [Install] 14 | WantedBy=multi-user.target 15 | -------------------------------------------------------------------------------- /systemd/systemd-daemon-reload.hook: -------------------------------------------------------------------------------- 1 | [Trigger] 2 | Type = File 3 | Operation = Install 4 | Operation = Upgrade 5 | Operation = Remove 6 | Target = usr/lib/systemd/system/* 7 | 8 | [Action] 9 | Description = Reloading system manager configuration... 10 | When = PostTransaction 11 | Exec = /usr/share/libalpm/scripts/systemd-hook daemon-reload 12 | -------------------------------------------------------------------------------- /prometheus/prometheus-exporter-node/prometheus-exporter-node.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Prometheus exporter node 3 | After=network.target 4 | 5 | [Service] 6 | User=prometheus-exporter 7 | Group=prometheus-exporter 8 | 9 | Restart=on-failure 10 | 11 | ExecStart=/usr/bin/prometheus-exporter-node 12 | 13 | [Install] 14 | WantedBy=multi-user.target 15 | -------------------------------------------------------------------------------- /heka/heka/heka.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=heka - data collector and processor daemon 3 | After=network.target auditd.service 4 | 5 | [Service] 6 | User=heka 7 | Group=heka 8 | 9 | Restart=on-failure 10 | 11 | ExecStart=/usr/bin/hekad -config=/etc/heka/conf.d/ 12 | 13 | ExecReload=/usr/bin/kill --signal HUP "${MAINPID}" 14 | 15 | [Install] 16 | WantedBy=multi-user.target 17 | -------------------------------------------------------------------------------- /heka/heka-git/heka.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=heka - data collector and processor daemon 3 | After=network.target auditd.service 4 | 5 | [Service] 6 | User=heka 7 | Group=heka 8 | 9 | Restart=on-failure 10 | 11 | ExecStart=/usr/bin/hekad -config=/etc/heka/conf.d/ 12 | 13 | ExecReload=/usr/bin/kill --signal HUP "${MAINPID}" 14 | 15 | [Install] 16 | WantedBy=multi-user.target 17 | -------------------------------------------------------------------------------- /exim/exim-submission@.service: -------------------------------------------------------------------------------- 1 | # It doesn't make sense for this to be separate from exim@.service 2 | # However, I couldn't think of a way to have two .socket files point 3 | # to it ([Socket] Service= is rejected if Accept=yes is set). 4 | 5 | [Unit] 6 | Description=Exim Mail Daemon per-connection server (message submission) 7 | 8 | [Service] 9 | ExecStart=-/usr/bin/exim -bs 10 | StandardInput=socket 11 | StandardError=syslog 12 | -------------------------------------------------------------------------------- /kodi/kodi-git/kodi.install: -------------------------------------------------------------------------------- 1 | post_install() { 2 | update_icons 3 | } 4 | 5 | post_upgrade() { 6 | update_icons 7 | } 8 | 9 | post_remove() { 10 | update_icons 11 | } 12 | 13 | update_icons() { 14 | type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor 15 | type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications 16 | return 0 17 | } 18 | -------------------------------------------------------------------------------- /kea/kea/kea-dhcp4.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ISC Kea IPv4 DHCP daemon 3 | Documentation=man:kea-dhcp4(8) 4 | Wants=network-online.target 5 | After=network-online.target 6 | After=time-sync.target 7 | 8 | [Service] 9 | Environment="KEA_PIDFILE_DIR=/run" 10 | Environment="KEA_CONTROL_SOCKET_DIR=/run/kea" 11 | Environment="KEA_LOCKFILE_DIR=/run/lock/kea" 12 | ExecStart=/usr/bin/kea-dhcp4 -c /etc/kea/kea-dhcp4.conf 13 | 14 | [Install] 15 | WantedBy=multi-user.target 16 | -------------------------------------------------------------------------------- /kea/kea/kea-dhcp6.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ISC Kea IPv6 DHCP daemon 3 | Documentation=man:kea-dhcp6(8) 4 | Wants=network-online.target 5 | After=network-online.target 6 | After=time-sync.target 7 | 8 | [Service] 9 | Environment="KEA_PIDFILE_DIR=/run" 10 | Environment="KEA_CONTROL_SOCKET_DIR=/run/kea" 11 | Environment="KEA_LOCKFILE_DIR=/run/lock/kea" 12 | ExecStart=/usr/bin/kea-dhcp6 -c /etc/kea/kea-dhcp6.conf 13 | 14 | [Install] 15 | WantedBy=multi-user.target 16 | -------------------------------------------------------------------------------- /kea/kea/kea-dhcp-ddns.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ISC Kea dynamic DNS daemon 3 | Documentation=man:kea-dhcp-ddns(8) 4 | Wants=network-online.target 5 | After=network-online.target 6 | After=time-sync.target 7 | 8 | [Service] 9 | Environment="KEA_PIDFILE_DIR=/run" 10 | Environment="KEA_CONTROL_SOCKET_DIR=/run/kea" 11 | Environment="KEA_LOCKFILE_DIR=/run/lock/kea" 12 | ExecStart=/usr/bin/kea-dhcp-ddns -c /etc/kea/kea-dhcp-ddns.conf 13 | 14 | [Install] 15 | WantedBy=multi-user.target 16 | -------------------------------------------------------------------------------- /kea/kea/kea-ctrl-agent.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=ISC Kea control agent daemon 3 | Documentation=man:kea-ctrl-agent(8) 4 | Wants=network-online.target 5 | After=network-online.target 6 | After=time-sync.target 7 | 8 | [Service] 9 | Environment="KEA_PIDFILE_DIR=/run" 10 | Environment="KEA_CONTROL_SOCKET_DIR=/run/kea" 11 | Environment="KEA_LOCKFILE_DIR=/run/lock/kea" 12 | ExecStart=/usr/bin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf 13 | 14 | [Install] 15 | WantedBy=multi-user.target 16 | -------------------------------------------------------------------------------- /protonmail-bridge/protonmail-bridge.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Version=1.1 4 | Name=ProtonMail Bridge 5 | GenericName=ProtonMail Bridge for Linux 6 | Comment=The Bridge is an application that runs on your computer in the background and seamlessly encrypts and decrypts your mail as it enters and leaves your computer. 7 | Icon=/opt/protonmail-bridge/logo.svg 8 | Exec=/usr/bin/protonmail-bridge 9 | Terminal=false 10 | Categories=Office;Email;Network 11 | StartupWMClass=protonmail-bridge 12 | 13 | -------------------------------------------------------------------------------- /telldus/telldus-core-git/pthread.patch: -------------------------------------------------------------------------------- 1 | diff --git a/telldus-core/client/CMakeLists.txt b/telldus-core/client/CMakeLists.txt 2 | index 3336d29..f6a98bc 100644 3 | --- a/telldus-core/client/CMakeLists.txt 4 | +++ b/telldus-core/client/CMakeLists.txt 5 | @@ -4,6 +4,9 @@ ENDIF(COMMAND cmake_policy) 6 | 7 | FIND_PACKAGE( SignTool REQUIRED ) 8 | 9 | +SET(CMAKE_C_FLAGS "-pthread") 10 | +SET(CMAKE_CXX_FLAGS "-pthread") 11 | + 12 | ######## Non configurable options ######## 13 | SET( telldus-core_SRCS 14 | CallbackDispatcher.cpp 15 | -------------------------------------------------------------------------------- /python-pydbus/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-pydbus') 3 | _srcname='pydbus' 4 | pkgdesc='Pythonic DBus library' 5 | pkgver='0.3' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/LEW21/${_srcname}" 9 | license=('LGPL2') 10 | 11 | depends=('python') 12 | makedepends=('git' 'python-setuptools') 13 | 14 | source=("${_srcname}::git+${url}.git#tag=v${pkgver}") 15 | sha512sums=('SKIP') 16 | 17 | package() { 18 | cd "${srcdir}/${_srcname}" 19 | 20 | python setup.py install --root="${pkgdir}" --optimize=1 21 | } 22 | -------------------------------------------------------------------------------- /kodi/kodi/cheat-sse-build.patch: -------------------------------------------------------------------------------- 1 | --- a/cmake/modules/FindSSE.cmake 2017-08-22 09:29:22.000000000 +0200 2 | +++ b/cmake/modules/FindSSE.cmake 2018-01-06 19:36:32.716303559 +0100 3 | @@ -4,7 +4,7 @@ 4 | 5 | if(CMAKE_SYSTEM_NAME MATCHES "Linux") 6 | if(CPU MATCHES "x86_64" OR CPU MATCHES "i.86") 7 | - exec_program(cat ARGS "/proc/cpuinfo" OUTPUT_VARIABLE CPUINFO) 8 | + exec_program(cat ARGS "/build/kodi/src/cpuinfo" OUTPUT_VARIABLE CPUINFO) 9 | 10 | string(REGEX REPLACE "^.*(sse).*$" "\\1" _SSE_THERE ${CPUINFO}) 11 | string(COMPARE EQUAL "sse" "${_SSE_THERE}" _SSE_TRUE) 12 | -------------------------------------------------------------------------------- /ulogd-git/ulogd.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | logfile="/var/log/ulogd.log" 3 | loglevel=5 4 | rmem=131071 5 | bufsize=150000 6 | 7 | plugin="/usr/lib/ulogd/ulogd_inppkt_NFLOG.so" 8 | plugin="/usr/lib/ulogd/ulogd_raw2packet_BASE.so" 9 | plugin="/usr/lib/ulogd/ulogd_filter_IP2STR.so" 10 | plugin="/usr/lib/ulogd/ulogd_filter_PRINTPKT.so" 11 | plugin="/usr/lib/ulogd/ulogd_output_LOGEMU.so" 12 | plugin="/usr/lib/ulogd/ulogd_filter_IFINDEX.so" 13 | 14 | stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU 15 | 16 | [log1] 17 | group=1 18 | 19 | [emu1] 20 | file=/var/log/ulogd.syslogemu 21 | -------------------------------------------------------------------------------- /nut/nut-no-libdummy.patch: -------------------------------------------------------------------------------- 1 | diff --git a/drivers/Makefile.am b/drivers/Makefile.am 2 | index 99614ca..42b3611 100644 3 | --- a/drivers/Makefile.am 4 | +++ b/drivers/Makefile.am 5 | @@ -267,5 +267,6 @@ dist_noinst_HEADERS = apc-mib.h apc-hid.h baytech-mib.h bcmxcp.h \ 6 | 7 | # Define a dummy library so that Automake builds rules for the 8 | # corresponding object files. This library is not actually built, 9 | -EXTRA_LIBRARIES = libdummy.a 10 | -libdummy_a_SOURCES = main.c dstate.c serial.c 11 | +EXTRA_LIBRARIES = 12 | +#EXTRA_LIBRARIES = libdummy.a 13 | +#libdummy_a_SOURCES = main.c dstate.c serial.c 14 | 15 | -------------------------------------------------------------------------------- /dejavu/python2-pydub/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python2-pydub') 3 | _srcname='pydub' 4 | pkgdesc='Manipulate audio with a simple and easy high level interface' 5 | pkgver='0.16.3' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/jiaaro/${_srcname}" 9 | license=('MIT') 10 | 11 | depends=('python2') 12 | makedepends=('git' 'python2-setuptools') 13 | 14 | source=("${_srcname}::git+${url}.git#tag=v${pkgver}") 15 | sha512sums=('SKIP') 16 | 17 | package() { 18 | cd "${srcdir}/${_srcname}" 19 | 20 | python2 setup.py install --root="${pkgdir}" --optimize=1 21 | } 22 | -------------------------------------------------------------------------------- /protonmail-bridge-nogui/bridge.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Desktop-Bridge: Protonmail Bridge - ProtonMail IMAP and SMTP Bridge 3 | 4 | [Service] 5 | Type=simple 6 | ExecStart=/usr/bin/protonmail-bridge --noninteractive 7 | Restart=always 8 | KillMode=process 9 | 10 | # The following is an alternative way to run the bridge in interactive cli mode encapsulated within a named screen session. 11 | # Can be added to bridge.service 12 | # ExecStart=/usr/bin/screen -Dm -S bridgedaemon sh -c "sleep 5; protonmail-bridge -c" 13 | # ExecStop=/usr/bin/screen -X -S bridgedaemon quit 14 | 15 | [Install] 16 | WantedBy=default.target 17 | -------------------------------------------------------------------------------- /systemd/initcpio-hook-udev: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ash 2 | 3 | run_earlyhook() { 4 | kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf 5 | systemd-tmpfiles --prefix=/dev --create --boot 6 | /usr/lib/systemd/systemd-udevd --daemon --resolve-names=never 7 | udevd_running=1 8 | } 9 | 10 | run_hook() { 11 | msg ":: Triggering uevents..." 12 | udevadm trigger --action=add --type=subsystems 13 | udevadm trigger --action=add --type=devices 14 | udevadm settle 15 | } 16 | 17 | run_cleanuphook() { 18 | udevadm control --exit 19 | udevadm info --cleanup-db 20 | } 21 | 22 | # vim: set ft=sh ts=4 sw=4 et: 23 | -------------------------------------------------------------------------------- /elasticsearch/python-elasticsearch/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-elasticsearch') 3 | _srcname='elasticsearch-py' 4 | pkgdesc='Official Python low-level client for Elasticsearch' 5 | pkgver='5.0.1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/elastic/${_srcname}" 9 | license=('Apache') 10 | 11 | depends=('python' 'python-urllib3') 12 | makedepends=('git' 'python-setuptools') 13 | 14 | source=("${_srcname}::git+${url}.git#tag=${pkgver}") 15 | sha512sums=('SKIP') 16 | 17 | package() { 18 | cd "${srcdir}/${_srcname}" 19 | 20 | python setup.py install --root="${pkgdir}" --optimize=1 21 | } 22 | -------------------------------------------------------------------------------- /nut/nut-lowspeed-buffer-size.patch: -------------------------------------------------------------------------------- 1 | http://bugs.gentoo.org/show_bug.cgi?id=318937 2 | http://boxster.ghz.cc/projects/nut/changeset/2407 3 | 4 | Respun from nut-2.4.3-lowspeed-buffer-size.patch 5 | 6 | Index: a/drivers/libhid.c 7 | =================================================================== 8 | --- a/drivers/libhid.c 9 | +++ b/drivers/libhid.c 10 | @@ -477,7 +477,7 @@ 11 | */ 12 | int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize) 13 | { 14 | - unsigned char buf[SMALLBUF]; 15 | + unsigned char buf[8]; /* Maximum size for low-speed USB devices */ 16 | int itemCount = 0; 17 | int buflen, r, i; 18 | HIDData_t *pData; 19 | 20 | -------------------------------------------------------------------------------- /qt5-styleplugins/qt5-styleplugins/install.sh: -------------------------------------------------------------------------------- 1 | _5_0_0_2_changes() { 2 | echo ':: Upstream added a gtk2 platform theme' 3 | # shellcheck disable=SC2016 4 | echo ' unexport `QT_STYLE_OVERRIDE`' 5 | # shellcheck disable=SC2016 6 | echo ' export `QT_QPA_PLATFORMTHEME=gtk2`' 7 | } 8 | 9 | post_upgrade() { 10 | local versions=( 11 | '5.0.0-2' 12 | ) 13 | local version 14 | for version in "${versions[@]}"; do 15 | if [[ "$( vercmp "${version}" "${2}" )" -eq 1 ]]; then 16 | # shellcheck disable=SC2091 17 | "$( printf '_%s_changes' "${version}" | perl -p -e 's/\.|-/_/g' )" 18 | fi 19 | done 20 | } 21 | -------------------------------------------------------------------------------- /nvme-cli/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('nvme-cli') 3 | _srcname='nvme-cli' 4 | pkgdesc='NVMe management command line interface' 5 | pkgver='1.5' 6 | _commit='121dc80e99ff6e90fb79d57f6ca81527b73364fa' 7 | pkgrel='1' 8 | arch=('x86_64') 9 | url="https://github.com/linux-nvme/${_srcname}" 10 | license=('GPL2') 11 | 12 | makedepends=('git') 13 | 14 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 15 | sha512sums=('SKIP') 16 | 17 | build() { 18 | cd "${srcdir}/${_srcname}" 19 | 20 | make PREFIX='/usr' 21 | } 22 | 23 | package() { 24 | cd "${srcdir}/${_srcname}" 25 | 26 | make PREFIX='/usr' SBINDIR='/usr/bin' DESTDIR="${pkgdir}" install 27 | } 28 | -------------------------------------------------------------------------------- /vim/vint/python-ansicolor/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-ansicolor') 3 | _srcname='ansicolor' 4 | pkgdesc='A library to produce ansi color output and colored highlighting and diffing' 5 | pkgver='0.2.4' 6 | _commit='597338e9f371b10a091719159a4b8e1bff6a4d53' 7 | pkgrel='1' 8 | arch=('any') 9 | url="https://github.com/numerodix/${_srcname}" 10 | license=('Apache') 11 | 12 | depends=('python') 13 | makedepends=('git' 'python-setuptools') 14 | 15 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 16 | sha512sums=('SKIP') 17 | 18 | package() { 19 | cd "${srcdir}/${_srcname}" 20 | 21 | python setup.py install --root="${pkgdir}" --optimize=1 22 | } 23 | -------------------------------------------------------------------------------- /vim/vint/vint/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('vint') 3 | _srcname='vint' 4 | pkgdesc='Fast and Highly Extensible Vim script Language Lint implemented by Python' 5 | pkgver='0.3.18' 6 | _commit='aa0648cf1272c47ec808fc92737849f082fb53e9' 7 | pkgrel='1' 8 | arch=('any') 9 | url="https://github.com/Kuniwak/${_srcname}" 10 | license=('MIT') 11 | 12 | depends=('python' 'python-yaml' 'python-chardet' 'python-ansicolor') 13 | makedepends=('git' 'python-setuptools') 14 | 15 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 16 | sha512sums=('SKIP') 17 | 18 | package() { 19 | cd "${srcdir}/${_srcname}" 20 | 21 | python setup.py install --root="${pkgdir}" --optimize=1 22 | } 23 | -------------------------------------------------------------------------------- /ntp/ntp-4.2.8.p18-fix-build.patch: -------------------------------------------------------------------------------- 1 | diff -Nru a/sntp/m4/openldap-thread-check.m4 b/sntp/m4/openldap-thread-check.m4 2 | --- a/sntp/m4/openldap-thread-check.m4 2024-05-19 18:38:30 +0000 3 | +++ b/sntp/m4/openldap-thread-check.m4 2024-05-19 18:38:30 +0000 4 | @@ -262,10 +262,8 @@ 5 | dnl save the flags 6 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[ 7 | #include 8 | -#ifndef NULL 9 | -#define NULL (void*)0 10 | -#endif 11 | -]], [[pthread_detach(NULL);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no]) 12 | +pthread_t thread; 13 | +]], [[pthread_detach(thread);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no]) 14 | ]) 15 | 16 | if test $ol_cv_func_pthread_detach = no ; then 17 | -------------------------------------------------------------------------------- /victoriametrics/victoriametrics.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Fast, cost-effective and scalable time series database 3 | Documentation=https://victoriametrics.github.io/ 4 | After=network.target 5 | 6 | [Service] 7 | DynamicUser=true 8 | LogsDirectory=victoriametrics 9 | StateDirectory=victoriametrics 10 | 11 | AmbientCapabilities= 12 | CapabilityBoundingSet= 13 | LockPersonality=true 14 | ProtectControlGroups=true 15 | ProtectKernelModules=true 16 | ProtectKernelTunables=true 17 | 18 | User=victoriametrics 19 | Group=victoriametrics 20 | EnvironmentFile=/etc/default/victoriametrics 21 | ExecStart=/usr/bin/victoria-metrics -storageDataPath /var/lib/victoriametrics $ARGS 22 | LimitNOFILE=65536 23 | LimitNPROC=32000 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /exim/aliases: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/mail/aliases 3 | # 4 | # NOTE: Make sure you run 'newaliases' after modifying this file 5 | # 6 | 7 | # Basic system aliases -- these MUST be present. 8 | MAILER-DAEMON: postmaster 9 | postmaster: root 10 | hostmaster: root 11 | webmaster: hostmaster 12 | ftpmaster: hostmaster 13 | admin: hostmaster 14 | administrator: hostmaster 15 | 16 | # General redirections for pseudo accounts. 17 | bin: root 18 | daemon: root 19 | games: root 20 | ingres: root 21 | nobody: root 22 | system: root 23 | toor: root 24 | uucp: root 25 | 26 | # Well-known aliases. 27 | manager: root 28 | dumper: root 29 | operator: root 30 | abuse: root 31 | 32 | # trap decode to catch security attacks 33 | decode: root 34 | 35 | # Person who should get root's mail 36 | #root: 37 | -------------------------------------------------------------------------------- /tini/tini/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('tini') 3 | _srcname='tini' 4 | # shellcheck disable=SC2016 5 | pkgdesc='A tiny but valid `init` for containers' 6 | pkgver='0.19.0' 7 | _commit='de40ad007797e0dcd8b7126f27bb87401d224240' 8 | pkgrel='1' 9 | arch=('i686' 'x86_64') 10 | url="https://github.com/krallin/${_srcname}" 11 | license=('MIT') 12 | 13 | depends=('glibc') 14 | makedepends=('git' 'cmake' 'gcc') 15 | 16 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 17 | sha512sums=('SKIP') 18 | 19 | build() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | cmake -DCMAKE_INSTALL_PREFIX='/usr' . 23 | make 24 | } 25 | 26 | package() { 27 | cd "${srcdir}/${_srcname}" 28 | 29 | make DESTDIR="${pkgdir}" install 30 | rm "${pkgdir}/usr/bin/tini-static" 31 | } 32 | -------------------------------------------------------------------------------- /vim/luacheck/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('luacheck') 3 | _srcname='luacheck' 4 | pkgdesc='A tool for linting and static analysis of Lua code' 5 | pkgver='0.21.2' 6 | _commit='cf102ac22128eb8cfea1d5be6ee956cb1b5b26d1' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/mpeterv/${_srcname}" 10 | license=('MIT') 11 | 12 | depends=('lua' 'lua-filesystem') 13 | makedepends=('git') 14 | 15 | source=( 16 | "${_srcname}::git+${url}.git#commit=${_commit}" 17 | 'bin.sh' 18 | ) 19 | sha512sums=( 20 | 'SKIP' 21 | 'SKIP' 22 | ) 23 | 24 | package() { 25 | cd "${srcdir}/${_srcname}" 26 | 27 | lua install.lua "${pkgdir}/usr/share/lua/5.3/${_srcname}" 28 | 29 | install -D --mode='755' "${srcdir}/bin.sh" "${pkgdir}/usr/bin/${_srcname}" 30 | } 31 | -------------------------------------------------------------------------------- /ntp/ntp.conf: -------------------------------------------------------------------------------- 1 | # Please consider joining the pool: 2 | # 3 | # http://www.pool.ntp.org/join.html 4 | # 5 | # For additional information see: 6 | # - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon 7 | # - http://support.ntp.org/bin/view/Support/GettingStarted 8 | # - the ntp.conf man page 9 | 10 | # Associate to Arch's NTP pool 11 | server 0.arch.pool.ntp.org 12 | server 1.arch.pool.ntp.org 13 | server 2.arch.pool.ntp.org 14 | server 3.arch.pool.ntp.org 15 | 16 | # By default, the server allows: 17 | # - all queries from the local host 18 | # - only time queries from remote hosts, protected by rate limiting and kod 19 | restrict default kod limited nomodify nopeer noquery notrap 20 | restrict 127.0.0.1 21 | restrict ::1 22 | 23 | # Location of drift file 24 | driftfile /var/lib/ntp/ntp.drift 25 | -------------------------------------------------------------------------------- /ntp/noroot.patch: -------------------------------------------------------------------------------- 1 | diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c 2 | index a517391..7339b3d 100644 3 | --- a/ntpd/ntpd.c 4 | +++ b/ntpd/ntpd.c 5 | @@ -844,22 +844,6 @@ 6 | isc_error_setfatal(library_fatal_error); 7 | isc_error_setunexpected(library_unexpected_error); 8 | 9 | - /* MPE lacks the concept of root */ 10 | -# if defined(HAVE_GETUID) && !defined(MPE) 11 | - uid = getuid(); 12 | - if (uid && !HAVE_OPT( SAVECONFIGQUIT ) 13 | -# if defined(HAVE_TRUSTEDBSD_MAC) 14 | - /* We can run as non-root if the mac_ntpd policy is enabled. */ 15 | - && mac_is_present("ntpd") != 1 16 | -# endif 17 | - ) { 18 | - msyslog_term = TRUE; 19 | - msyslog(LOG_ERR, 20 | - "must be run as root, not uid %ld", (long)uid); 21 | - exit(1); 22 | - } 23 | -# endif 24 | - 25 | /* 26 | * Enable the Multi-Media Timer for Windows? 27 | */ 28 | -------------------------------------------------------------------------------- /xcursor-breeze-snow-small/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('xcursor-breeze-snow-small') 3 | _srcname='breeze-snow-small' 4 | pkgdesc='Breeze snow cursor theme' 5 | pkgver='2.0' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/nfnty/${_srcname}" 9 | license=('GPL2' 'LGPL3') 10 | 11 | makedepends=('git' 'inkscape' 'xorg-xcursorgen') 12 | 13 | source=("${_srcname}::git+${url}.git") 14 | sha512sums=('SKIP') 15 | 16 | build() { 17 | cd "${srcdir}/${_srcname}" 18 | 19 | ./build.sh 20 | } 21 | 22 | package() { 23 | cd "${srcdir}/${_srcname}" 24 | 25 | install --directory --mode=755 "${pkgdir}/usr/share/icons" 26 | cp --recursive "Breeze_Snow_Small" "${pkgdir}/usr/share/icons/" 27 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}/usr/share/icons/Breeze_Snow_Small" 28 | } 29 | -------------------------------------------------------------------------------- /libretro/retroarch/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('retroarch') 3 | _srcname='RetroArch' 4 | pkgdesc='Reference frontend for the libretro API' 5 | pkgver='1.2.2' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/libretro/${_srcname}" 9 | license=('GPL3') 10 | 11 | depends=('libgl' 'alsa-lib' 'freetype2' 'libxml2' 'nvidia-cg-toolkit') 12 | makedepends=('git') 13 | 14 | source=("${_srcname}::git+${url}.git#tag=v${pkgver}") 15 | sha512sums=('SKIP') 16 | 17 | build() { 18 | cd "${srcdir}/${_srcname}" 19 | 20 | ./configure --prefix='/usr' 21 | 22 | make 23 | } 24 | 25 | package() { 26 | cd "${srcdir}/${_srcname}" 27 | 28 | make DESTDIR="${pkgdir}" install 29 | 30 | install --mode='755' --target-directory="${pkgdir}/usr/bin" tools/retroarch-joyconfig 31 | } 32 | -------------------------------------------------------------------------------- /tmux/tmux/ixon.patch: -------------------------------------------------------------------------------- 1 | diff --git a/client.c b/client.c 2 | index 3203412..7a00379 100644 3 | --- a/client.c 4 | +++ b/client.c 5 | @@ -316,6 +316,7 @@ client_main(struct event_base *base, int argc, char **argv, int flags, 6 | fatal("tcgetattr failed"); 7 | cfmakeraw(&tio); 8 | tio.c_iflag = ICRNL|IXANY; 9 | + tio.c_iflag &= ~(IXON|IXOFF); 10 | tio.c_oflag = OPOST|ONLCR; 11 | #ifdef NOKERNINFO 12 | tio.c_lflag = NOKERNINFO; 13 | diff --git a/window.c b/window.c 14 | index 236d243..5d407c3 100644 15 | --- a/window.c 16 | +++ b/window.c 17 | @@ -868,6 +868,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv, 18 | #ifdef IUTF8 19 | tio2.c_iflag |= IUTF8; 20 | #endif 21 | + tio2.c_iflag &= ~(IXON|IXOFF); 22 | if (tcsetattr(STDIN_FILENO, TCSANOW, &tio2) != 0) 23 | fatal("tcgetattr failed"); 24 | 25 | -------------------------------------------------------------------------------- /acoustid/acoustid-server-git/libchromaprint.patch: -------------------------------------------------------------------------------- 1 | --- chromaprint.py 2016-07-23 03:21:17.000000000 +0200 2 | +++ chromaprint.py 2016-07-23 03:43:57.742889651 +0200 3 | @@ -20,12 +20,12 @@ 4 | 5 | def _guess_lib_name(): 6 | if sys.platform == 'darwin': 7 | - return ('libchromaprint.0.dylib',) 8 | + return ('libchromaprint.1.dylib', 'libchromaprint.0.dylib') 9 | elif sys.platform == 'win32': 10 | return ('chromaprint.dll', 'libchromaprint.dll') 11 | elif sys.platform == 'cygwin': 12 | - return ('libchromaprint.dll.a', 'cygchromaprint-0.dll') 13 | - return ('libchromaprint.so.0',) 14 | + return ('libchromaprint.dll.a', 'cygchromaprint-1.dll', 'cygchromaprint-0.dll') 15 | + return ('libchromaprint.so.1', 'libchromaprint.so.0') 16 | 17 | for name in _guess_lib_name(): 18 | try: 19 | -------------------------------------------------------------------------------- /tmux/tmux-git/ixon.patch: -------------------------------------------------------------------------------- 1 | diff --git a/client.c b/client.c 2 | index 3203412..7a00379 100644 3 | --- a/client.c 4 | +++ b/client.c 5 | @@ -316,6 +316,7 @@ client_main(struct event_base *base, int argc, char **argv, int flags, 6 | fatal("tcgetattr failed"); 7 | cfmakeraw(&tio); 8 | tio.c_iflag = ICRNL|IXANY; 9 | + tio.c_iflag &= ~(IXON|IXOFF); 10 | tio.c_oflag = OPOST|ONLCR; 11 | #ifdef NOKERNINFO 12 | tio.c_lflag = NOKERNINFO; 13 | diff --git a/window.c b/window.c 14 | index 236d243..5d407c3 100644 15 | --- a/window.c 16 | +++ b/window.c 17 | @@ -868,6 +868,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv, 18 | #ifdef IUTF8 19 | tio2.c_iflag |= IUTF8; 20 | #endif 21 | + tio2.c_iflag &= ~(IXON|IXOFF); 22 | if (tcsetattr(STDIN_FILENO, TCSANOW, &tio2) != 0) 23 | fatal("tcgetattr failed"); 24 | 25 | -------------------------------------------------------------------------------- /lua51-luajson/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Jan Alexander Steffens (heftig) 2 | # Contributor: Luca P 3 | 4 | pkgbase=luajson 5 | pkgname=(lua51-luajson) 6 | pkgver=1.3.4 7 | pkgrel=3 8 | pkgdesc="JSON parser/encoder for Lua" 9 | url="http://luaforge.net/projects/luajson/" 10 | arch=(any) 11 | license=(MIT) 12 | makedepends=(lua51-lpeg) 13 | source=(https://github.com/harningt/$pkgbase/archive/$pkgver.tar.gz) 14 | md5sums=('66ef8d00bcaeec91b25433a697090bc8') 15 | 16 | package_lua51-luajson() { 17 | pkgdesc+=" 5.1" 18 | depends=(lua51-lpeg) 19 | 20 | cd $pkgbase-$pkgver 21 | make PREFIX=/usr DESTDIR="$pkgdir" \ 22 | INSTALL_LMOD='$(INSTALL_TOP)/share/lua/5.1' \ 23 | INSTALL_CMOD='$(INSTALL_TOP)/lib/lua/5.1' install 24 | install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE 25 | } 26 | -------------------------------------------------------------------------------- /ovmf/60-edk2-ovmf-x86_64.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "OVMF UEFI firmware for x86_64", 3 | "interface-types": [ 4 | "uefi" 5 | ], 6 | "mapping": { 7 | "device": "flash", 8 | "executable": { 9 | "filename": "/usr/share/ovmf/x64/OVMF_CODE.fd", 10 | "format": "raw" 11 | }, 12 | "nvram-template": { 13 | "filename": "/usr/share/ovmf/x64/OVMF_VARS.fd", 14 | "format": "raw" 15 | } 16 | }, 17 | "targets": [ 18 | { 19 | "architecture": "x86_64", 20 | "machines": [ 21 | "pc-i440fx-*", 22 | "pc-q35-*" 23 | ] 24 | } 25 | ], 26 | "features": [ 27 | "acpi-s3", 28 | "amd-sev", 29 | "verbose-dynamic" 30 | ], 31 | "tags": [ 32 | 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /python-xlib-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-xlib-git') 3 | _srcname='python3-xlib' 4 | pkgdesc='X11 interface for Python3' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/LiuLang/${_srcname}" 9 | license=('GPL2') 10 | 11 | depends=('python') 12 | makedepends=('git' 'python-setuptools') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | python setup.py install --root="${pkgdir}" --optimize=1 32 | } 33 | -------------------------------------------------------------------------------- /systemd/initcpio-install-udev: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | build() { 4 | local rules tool 5 | 6 | add_binary /usr/lib/systemd/systemd-udevd 7 | add_binary /usr/bin/udevadm 8 | add_binary /usr/bin/systemd-tmpfiles 9 | 10 | for rules in 50-udev-default.rules 60-persistent-storage.rules 64-btrfs.rules 80-drivers.rules; do 11 | add_file "/usr/lib/udev/rules.d/$rules" 12 | done 13 | for tool in ata_id scsi_id; do 14 | add_file "/usr/lib/udev/$tool" 15 | done 16 | 17 | add_runscript 18 | } 19 | 20 | help() { 21 | cat <&2 " Skipped: Current root is not booted." 6 | exit 0 7 | fi 8 | } 9 | 10 | udevd_live() { 11 | if [ ! -d /run/udev ]; then 12 | echo >&2 " Skipped: Device manager is not running." 13 | exit 0 14 | fi 15 | } 16 | 17 | case $1 in 18 | catalog) /usr/bin/journalctl --update-catalog ;; 19 | hwdb) /usr/bin/systemd-hwdb --usr update ;; 20 | update) touch -c /usr ;; 21 | sysusers) /usr/bin/systemd-sysusers ;; 22 | tmpfiles) /usr/bin/systemd-tmpfiles --create ;; 23 | 24 | daemon-reload) systemd_live; /usr/bin/systemctl daemon-reload ;; 25 | udev-reload) udevd_live; /usr/bin/udevadm control --reload ;; 26 | binfmt) systemd_live; /usr/lib/systemd/systemd-binfmt ;; 27 | sysctl) systemd_live; /usr/lib/systemd/systemd-sysctl ;; 28 | 29 | *) echo >&2 " Invalid operation '$1'"; exit 1 ;; 30 | esac 31 | 32 | exit 0 33 | -------------------------------------------------------------------------------- /acoustid/python-pyacoustid-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-pyacoustid-git') 3 | _srcname='pyacoustid' 4 | pkgdesc='Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/beetbox/${_srcname}" 9 | license=('MIT') 10 | 11 | depends=('python' 'chromaprint') 12 | makedepends=('git' 'python-setuptools') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | python setup.py install --root="${pkgdir}" --optimize=1 32 | } 33 | -------------------------------------------------------------------------------- /acoustid/pg_acoustid-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('pg_acoustid-git') 3 | _srcname='pg_acoustid' 4 | pkgdesc='AcoustID utility functions for PostgreSQL' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://bitbucket.org/acoustid/${_srcname}" 9 | license=('custom:postgresql') 10 | 11 | depends=('postgresql') 12 | makedepends=('git') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | make 32 | } 33 | 34 | package() { 35 | cd "${srcdir}/${_srcname}" 36 | 37 | make DESTDIR="${pkgdir}" install 38 | } 39 | -------------------------------------------------------------------------------- /python-imagehash-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-imagehash-git') 3 | _srcname='imagehash' 4 | pkgdesc='A Python Perceptual Image Hashing Module' 5 | pkgver='r98' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/JohannesBuchner/${_srcname}" 9 | license=('custom:BSD') 10 | 11 | depends=('python' 'python-numpy' 'python-scipy' 'python-pillow' 'python-pywavelets') 12 | makedepends=('git' 'python-setuptools') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | python setup.py install --root="${pkgdir}" --optimize=1 32 | } 33 | -------------------------------------------------------------------------------- /python-pyuserinput-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-pyuserinput-git') 3 | _srcname='PyUserInput' 4 | pkgdesc='A module for cross-platform control of the mouse and keyboard in python that is simple to install and use' 5 | pkgver='r260' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/PyUserInput/${_srcname}" 9 | license=('GPL3') 10 | 11 | depends=('python' 'python-xlib') 12 | makedepends=('git' 'python-setuptools') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | python setup.py install --root="${pkgdir}" --optimize=1 32 | } 33 | -------------------------------------------------------------------------------- /telldus/python2-telldus-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python2-telldus-git') 3 | _srcname='telldus' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Python 2 bindings for Telldus Technologies TellStick' 7 | arch=('any') 8 | url="https://github.com/telldus/${_srcname}" 9 | license=('LGPL2') 10 | 11 | depends=('python2' 'telldus-core') 12 | makedepends=('git' 'python2-setuptools') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=( 17 | "${_srcname}::git+${url}.git" 18 | ) 19 | sha512sums=( 20 | 'SKIP' 21 | ) 22 | 23 | pkgver() { 24 | cd "${srcdir}/${_srcname}" 25 | 26 | printf 'r%s.%s.%s\n' \ 27 | "$( git rev-list --count 'HEAD' )" \ 28 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 29 | "$( git rev-parse --short 'HEAD' )" 30 | } 31 | 32 | package() { 33 | cd "${srcdir}/${_srcname}/bindings/python/native" 34 | 35 | python2 setup.py install --root="${pkgdir}" --optimize=1 36 | } 37 | -------------------------------------------------------------------------------- /wm/j4-dmenu-desktop-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('j4-dmenu-desktop-git') 3 | _srcname='j4-dmenu-desktop' 4 | pkgdesc='A fast desktop menu' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/enkore/${_srcname}" 9 | license=('GPL3') 10 | 11 | depends=('dmenu') 12 | makedepends=('git' 'cmake') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | cmake -DCMAKE_INSTALL_PREFIX='/usr' . 32 | make 33 | } 34 | 35 | package() { 36 | cd "${srcdir}/${_srcname}" 37 | 38 | make DESTDIR="${pkgdir}" install 39 | } 40 | -------------------------------------------------------------------------------- /docker/python-docker-py-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('python-docker-py-git') 3 | _srcname='docker-py' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='An API client for docker written in Python' 7 | arch=('any') 8 | url="https://github.com/docker/${_srcname}" 9 | license=('Apache') 10 | 11 | depends=( 12 | 'python' 13 | 'python-six' 14 | 'python-requests' 15 | 'python-websocket-client' 16 | ) 17 | makedepends=('git' 'python-setuptools') 18 | provides=("${pkgname[0]%-git}") 19 | conflicts=("${pkgname[0]%-git}") 20 | 21 | source=("${_srcname}::git+${url}.git") 22 | sha512sums=('SKIP') 23 | 24 | pkgver() { 25 | cd "${srcdir}/${_srcname}" 26 | 27 | printf 'r%s.%s.%s\n' \ 28 | "$( git rev-list --count 'HEAD' )" \ 29 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 30 | "$( git rev-parse --short 'HEAD' )" 31 | } 32 | 33 | package() { 34 | cd "${srcdir}/${_srcname}" 35 | 36 | python setup.py install --root="${pkgdir}" --optimize=1 37 | } 38 | -------------------------------------------------------------------------------- /ethereum/lighthouse/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('lighthouse') 3 | _srcname='lighthouse' 4 | pkgdesc='An open-source Ethereum 2.0 client, written in Rust and maintained by Sigma Prime' 5 | pkgver='8.0.1' 6 | _commit='ced49dd265e01ecbf02b12073bbfde3873058abe' 7 | pkgrel='1' 8 | arch=('x86_64') 9 | url="https://github.com/sigp/${_srcname}" 10 | license=('Apache') 11 | 12 | depends=('openssl') 13 | makedepends=('git' 'rust' 'cmake' 'clang' 'protobuf' 'postgresql-libs') 14 | provides=("${pkgname[0]%-git}") 15 | conflicts=("${pkgname[0]%-git}") 16 | 17 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 18 | sha512sums=('SKIP') 19 | 20 | build() { 21 | cd "${srcdir}/${_srcname}" 22 | 23 | env CARGO_INCREMENTAL=0 cargo build --release 24 | } 25 | 26 | package() { 27 | cd "${srcdir}/${_srcname}" 28 | 29 | install -D --mode=755 target/release/lighthouse "${pkgdir}/usr/bin/lighthouse" 30 | install -D --mode=644 LICENSE "${pkgdir}/usr/share/licenses/${_srcname}/LICENSE" 31 | } 32 | -------------------------------------------------------------------------------- /vim/vimpager-nfnty-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('vimpager-nfnty-git') 3 | _srcname='vimpager' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Vim as pager with escape sequences stripped' 7 | arch=('any') 8 | url='https://github.com/nfnty/vimpager' 9 | license=('MIT') 10 | 11 | makedepends=('git') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | source=("${_srcname}::git+${url}.git") 16 | sha512sums=('SKIP') 17 | 18 | pkgver() { 19 | cd "${srcdir}/${_srcname}" 20 | 21 | printf 'r%s.%s.%s\n' \ 22 | "$( git rev-list --count 'HEAD' )" \ 23 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 24 | "$( git rev-parse --short 'HEAD' )" 25 | } 26 | 27 | package() { 28 | cd "${srcdir}/${_srcname}" 29 | install -D default.sh "${pkgdir}/usr/bin/pager" 30 | install -D man.sh "${pkgdir}/usr/bin/pager-man" 31 | install -D diff.sh "${pkgdir}/usr/bin/pager-diff" 32 | install -D gitlog.sh "${pkgdir}/usr/bin/pager-gitlog" 33 | } 34 | -------------------------------------------------------------------------------- /rspamd/rspamd/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('rspamd') 3 | _srcname='rspamd' 4 | pkgdesc='Rapid spam filtering system' 5 | pkgver='2.2' 6 | _commit='f87b6eb3145f9d68d55a6df2e678b620d470127c' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/vstakhov/${_srcname}" 10 | license=('Apache') 11 | 12 | depends=('openssl' 'libevent' 'glib2' 'gmime' 'luajit' 'sqlite' 'hiredis' 'file' 'gd' 'icu' 'libsodium') 13 | makedepends=('git' 'cmake' 'pkgconfig' 'ragel') 14 | 15 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 16 | sha512sums=('SKIP') 17 | 18 | build() { 19 | cd "${srcdir}/${_srcname}" 20 | 21 | cmake \ 22 | -DCMAKE_INSTALL_PREFIX='/usr' \ 23 | -DCONFDIR='/etc/rspamd' \ 24 | -DRUNDIR='/run/rspamd' \ 25 | -DDBDIR='/var/lib/rspamd' \ 26 | -DLOGDIR='/var/log/rspamd' \ 27 | -DWANT_SYSTEMD_UNITS='ON' \ 28 | . 29 | 30 | make 31 | } 32 | 33 | package() { 34 | cd "${srcdir}/${_srcname}" 35 | 36 | make DESTDIR="${pkgdir}" install 37 | } 38 | -------------------------------------------------------------------------------- /acoustid/acoustid-server-git/admin.patch: -------------------------------------------------------------------------------- 1 | diff --git a/acoustid/web/views/user.py b/acoustid/web/views/user.py 2 | index 262dc88..25e2f78 100644 3 | --- a/acoustid/web/views/user.py 4 | +++ b/acoustid/web/views/user.py 5 | @@ -47,13 +47,9 @@ def login(): 6 | return redirect(url_for('general.index')) 7 | errors = list(request.args.getlist('error')) 8 | if request.method == 'POST': 9 | - login_method = request.form.get('login') 10 | - if login_method == 'musicbrainz': 11 | - return musicbrainz_login() 12 | - elif login_method == 'google': 13 | - return google_login() 14 | - elif login_method == 'openid': 15 | - return openid_login() 16 | + user = find_or_create_musicbrainz_user('admin') 17 | + logger.info('MusicBrainz user %s "%s" logged in', user.id, user.name) 18 | + return login_user_and_redirect(user.id, return_url=request.values.get('return_url')) 19 | return render_template('login.html', errors=errors, 20 | return_url=request.values.get('return_url')) 21 | 22 | -------------------------------------------------------------------------------- /simple-mtpfs-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('simple-mtpfs-git') 3 | _srcname='simple-mtpfs' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Simple MTP fuse filesystem driver' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/phatina/${_srcname}" 9 | license=('GPL2') 10 | 11 | depends=('libmtp' 'fuse' 'gcc-libs') 12 | makedepends=('git') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | autoreconf --install --force --warnings='all' 32 | ./configure --prefix='/usr' 33 | 34 | make 35 | } 36 | 37 | package() { 38 | cd "${srcdir}/${_srcname}" 39 | 40 | make DESTDIR="${pkgdir}" install 41 | } 42 | -------------------------------------------------------------------------------- /alacritty/launch_delay.patch: -------------------------------------------------------------------------------- 1 | diff --git a/alacritty/src/display.rs b/alacritty/src/display.rs 2 | index e02381e..4cae43f 100644 3 | --- a/alacritty/src/display.rs 4 | +++ b/alacritty/src/display.rs 5 | @@ -118,6 +118,7 @@ pub struct Display { 6 | renderer: QuadRenderer, 7 | glyph_cache: GlyphCache, 8 | meter: Meter, 9 | + first_update: bool, 10 | } 11 | 12 | impl Display { 13 | @@ -240,6 +241,7 @@ impl Display { 14 | size_info, 15 | urls: Urls::new(), 16 | highlighted_url: None, 17 | + first_update: true, 18 | }) 19 | } 20 | 21 | @@ -298,6 +300,11 @@ impl Display { 22 | config: &Config, 23 | update_pending: DisplayUpdate, 24 | ) { 25 | + if self.first_update { 26 | + std::thread::sleep(std::time::Duration::from_millis(400)); 27 | + self.first_update = false; 28 | + } 29 | + 30 | // Update font size and cell dimensions 31 | if let Some(font) = update_pending.font { 32 | self.update_glyph_cache(config, font); 33 | -------------------------------------------------------------------------------- /tini/tini-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('tini-git') 3 | _srcname='tini' 4 | # shellcheck disable=SC2016 5 | pkgdesc='A tiny but valid `init` for containers' 6 | pkgver='r192' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/krallin/${_srcname}" 10 | license=('MIT') 11 | 12 | depends=('glibc') 13 | makedepends=('git' 'cmake' 'gcc') 14 | provides=("${pkgname[0]%-git}") 15 | conflicts=("${pkgname[0]%-git}") 16 | 17 | source=("${_srcname}::git+${url}.git") 18 | sha512sums=('SKIP') 19 | 20 | pkgver() { 21 | cd "${srcdir}/${_srcname}" 22 | 23 | printf 'r%s.%s.%s\n' \ 24 | "$( git rev-list --count 'HEAD' )" \ 25 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 26 | "$( git rev-parse --short 'HEAD' )" 27 | } 28 | 29 | build() { 30 | cd "${srcdir}/${_srcname}" 31 | 32 | cmake -DCMAKE_INSTALL_PREFIX='/usr' . 33 | make 34 | } 35 | 36 | package() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | make DESTDIR="${pkgdir}" install 40 | rm "${pkgdir}/usr/bin/tini-static" 41 | } 42 | -------------------------------------------------------------------------------- /tmux/tmux/pane_is_dead.patch: -------------------------------------------------------------------------------- 1 | diff --git a/server-fn.c b/server-fn.c 2 | index 53d6a7c..31979d2 100644 3 | --- a/server-fn.c 4 | +++ b/server-fn.c 5 | @@ -312,18 +312,15 @@ server_destroy_pane(struct window_pane *wp, int hooks) 6 | if (options_get_number(w->options, "remain-on-exit")) { 7 | if (old_fd == -1) 8 | return; 9 | - screen_write_start(&ctx, wp, &wp->base); 10 | - screen_write_scrollregion(&ctx, 0, screen_size_y(ctx.s) - 1); 11 | - screen_write_cursormove(&ctx, 0, screen_size_y(ctx.s) - 1); 12 | - screen_write_linefeed(&ctx, 1); 13 | - memcpy(&gc, &grid_default_cell, sizeof gc); 14 | - gc.attr |= GRID_ATTR_BRIGHT; 15 | - screen_write_puts(&ctx, &gc, "Pane is dead"); 16 | - screen_write_stop(&ctx); 17 | - wp->flags |= PANE_REDRAW; 18 | 19 | if (hooks && cmd_find_from_pane(&fs, wp) == 0) 20 | hooks_run(hooks_get(fs.s), NULL, &fs, "pane-died"); 21 | + 22 | + if (wp->mode != &window_copy_mode) { 23 | + if (window_pane_set_mode(wp, &window_copy_mode) != 0) 24 | + return; 25 | + window_copy_init_from_pane(wp, 0); 26 | + } 27 | return; 28 | } 29 | 30 | -------------------------------------------------------------------------------- /wm/sxhkd-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('sxhkd-git') 3 | _srcname='sxhkd' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Simple X hotkey daemon' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/baskerville/${_srcname}" 9 | license=('custom:BSD') 10 | 11 | depends=('libxcb' 'xcb-util-keysyms') 12 | makedepends=('git' 'xcb-util') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | make PREFIX='/usr' 32 | } 33 | 34 | package() { 35 | cd "${srcdir}/${_srcname}" 36 | 37 | make PREFIX='/usr' DESTDIR="${pkgdir}" install 38 | install -D --mode=644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE" 39 | } 40 | -------------------------------------------------------------------------------- /acoustid/acoustid-index-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('acoustid-index-git') 3 | _srcname='acoustid-index' 4 | pkgdesc='AcoustID Index' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://bitbucket.org/acoustid/${_srcname}" 9 | license=('MIT') 10 | 11 | depends=('qt4' 'icu') 12 | makedepends=('git' 'cmake') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | mkdir --parents "${srcdir}/build" 30 | cd "${srcdir}/build" 31 | 32 | cmake \ 33 | -DCMAKE_INSTALL_PREFIX='/usr' \ 34 | "${srcdir}/${_srcname}" 35 | 36 | make 37 | } 38 | 39 | package() { 40 | cd "${srcdir}/build" 41 | 42 | make DESTDIR="${pkgdir}" install 43 | } 44 | -------------------------------------------------------------------------------- /dejavu/dejavu-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('dejavu-git') 3 | _srcname='dejavu' 4 | pkgdesc='Audio fingerprinting and recognition in Python ' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/worldveil/${_srcname}" 9 | license=('MIT') 10 | 11 | depends=( 12 | 'python2' 13 | 'python2-pyaudio' 14 | 'ffmpeg' 15 | 'python2-pydub' 16 | 'python2-numpy' 17 | 'python2-scipy' 18 | 'python2-matplotlib' 19 | 'mysql-python' 20 | ) 21 | makedepends=('git' 'python2-setuptools') 22 | provides=("${pkgname[0]%-git}") 23 | conflicts=("${pkgname[0]%-git}") 24 | 25 | source=("${_srcname}::git+${url}.git") 26 | sha512sums=('SKIP') 27 | 28 | pkgver() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | printf 'r%s.%s.%s\n' \ 32 | "$( git rev-list --count 'HEAD' )" \ 33 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 34 | "$( git rev-parse --short 'HEAD' )" 35 | } 36 | 37 | package() { 38 | cd "${srcdir}/${_srcname}" 39 | 40 | python2 setup.py install --root="${pkgdir}" --optimize=1 41 | } 42 | -------------------------------------------------------------------------------- /solaar-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('solaar-git') 3 | _srcname='Solaar' 4 | pkgdesc='Linux devices manager for the Logitech Unifying Receiver' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/pwr/${_srcname}" 9 | license=('GPL2') 10 | 11 | depends=('python' 'python-pyudev' 'python-gobject' 'pygtk') 12 | makedepends=('git' 'python-setuptools') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | python setup.py install --root="${pkgdir}" --optimize=1 32 | 33 | install -D --mode='644' rules.d/42-logitech-unify-permissions.rules \ 34 | "${pkgdir}/usr/lib/udev/rules.d/42-logitech-unify-permissions.rules" 35 | } 36 | -------------------------------------------------------------------------------- /namebench/namebench-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('namebench-git') 3 | _srcname='namebench' 4 | pkgdesc='DNS benchmarking tool' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://github.com/mwiora/${_srcname}" 9 | license=('Apache') 10 | 11 | depends=('python2' 'python2-dnspython' 'python2-graphy' 'python2-httplib2' 'python2-jinja' 'python2-simplejson') 12 | makedepends=('git') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | package() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | export NO_THIRD_PARTY='true' 32 | python2 setup.py install --root="${pkgdir}" --optimize=1 33 | 34 | install --directory "${pkgdir}/usr/share" 35 | mv "${pkgdir}/usr/namebench" "${pkgdir}/usr/share/" 36 | } 37 | -------------------------------------------------------------------------------- /vim/neovim-qt/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('neovim-qt') 3 | _srcname='neovim-qt' 4 | pkgdesc='Neovim client library and GUI, in Qt5' 5 | pkgver='0.1.1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/equalsraf/${_srcname}" 9 | license=('ISC') 10 | 11 | depends=('neovim' 'qt5-base' 'msgpack-c' 'libxkbcommon-x11') 12 | makedepends=('git' 'cmake') 13 | 14 | source=("${_srcname}::git+${url}.git#tag=v${pkgver}") 15 | sha512sums=('SKIP') 16 | 17 | build() { 18 | mkdir --parents "${srcdir}/build" 19 | cd "${srcdir}/build" 20 | 21 | cmake \ 22 | -G 'Unix Makefiles' \ 23 | -DCMAKE_INSTALL_PREFIX='/usr' \ 24 | -DCMAKE_BUILD_TYPE='Release' \ 25 | -DUSE_SYSTEM_MSGPACK='ON' \ 26 | "${srcdir}/${_srcname}" 27 | 28 | make 29 | } 30 | 31 | package() { 32 | cd "${srcdir}/${_srcname}" 33 | 34 | install --directory "${pkgdir}/usr/"{,bin} 35 | install "${srcdir}/build/bin/nvim-qt" "${pkgdir}/usr/bin/nvim-qt" 36 | cp --recursive "${srcdir}/build/lib" "${pkgdir}/usr/" 37 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}" 38 | } 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 nfnty 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /libretro/retroarch-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('retroarch-git') 3 | _srcname='RetroArch' 4 | pkgdesc='Reference frontend for the libretro API' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/libretro/${_srcname}" 9 | license=('GPL3') 10 | 11 | depends=('libgl' 'alsa-lib' 'freetype2' 'libxml2' 'nvidia-cg-toolkit') 12 | makedepends=('git') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | ./configure --prefix='/usr' 32 | 33 | make 34 | } 35 | 36 | package() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | make DESTDIR="${pkgdir}" install 40 | 41 | install --mode='755' --target-directory="${pkgdir}/usr/bin" tools/retroarch-joyconfig 42 | } 43 | -------------------------------------------------------------------------------- /wm/bspwm-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('bspwm-git') 3 | _srcname='bspwm' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='A tiling window manager based on binary space partitioning' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/nfnty/${_srcname}" 9 | license=('custom:BSD') 10 | 11 | depends=('libxcb' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms') 12 | optdepends=('jansson') 13 | makedepends=('git' 'jansson') 14 | provides=("${pkgname[0]%-git}") 15 | conflicts=("${pkgname[0]%-git}") 16 | 17 | source=("${_srcname}::git+${url}.git#branch=json") 18 | sha512sums=('SKIP') 19 | 20 | pkgver() { 21 | cd "${srcdir}/${_srcname}" 22 | 23 | printf 'r%s.%s.%s\n' \ 24 | "$( git rev-list --count 'HEAD' )" \ 25 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 26 | "$( git rev-parse --short 'HEAD' )" 27 | } 28 | 29 | build() { 30 | cd "${srcdir}/${_srcname}" 31 | 32 | make PREFIX='/usr' 33 | } 34 | 35 | package() { 36 | cd "${srcdir}/${_srcname}" 37 | 38 | make PREFIX='/usr' DESTDIR="${pkgdir}" install 39 | install -D --mode=644 LICENSE "${pkgdir}/usr/share/licenses/${_srcname}/LICENSE" 40 | } 41 | -------------------------------------------------------------------------------- /namebench/namebench2/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('namebench2') 3 | _srcname='namebench' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Provides personalized DNS server recommendations based on your browsing history' 7 | arch=('any') 8 | url='https://github.com/google/namebench' 9 | license=('Apache') 10 | 11 | depends=('') 12 | makedepends=('git' 'go') 13 | 14 | source=("${_srcname}::git+${url}.git") 15 | sha256sums=('SKIP') 16 | 17 | pkgver() { 18 | cd "${srcdir}/${_srcname}" 19 | 20 | printf 'r%s.%s.%s\n' \ 21 | "$( git rev-list --count 'HEAD' )" \ 22 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 23 | "$( git rev-parse --short 'HEAD' )" 24 | } 25 | 26 | prepare() { 27 | export GOPATH="${srcdir}/gopath" 28 | go get -v "github.com/mattn/go-sqlite3" 29 | go get -v "code.google.com/p/go.net/publicsuffix" 30 | go get -v "github.com/miekg/dns" 31 | } 32 | 33 | build() { 34 | cd "${srcdir}/${_srcname}" 35 | export GOPATH="${srcdir}/gopath" 36 | go build namebench.go 37 | } 38 | 39 | package() { 40 | cd "${srcdir}/${_srcname}" 41 | install -D namebench "${pkgdir}/usr/bin/namebench" 42 | } 43 | -------------------------------------------------------------------------------- /qt5-styleplugins/qt5-styleplugins-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('qt5-styleplugins-git') 3 | _srcname='qtstyleplugins' 4 | pkgdesc='Additional style plugins for Qt5' 5 | pkgver='r36' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://code.qt.io/cgit/qt/${_srcname}" 9 | license=('LGPL') 10 | 11 | depends=('qt5-base' 'gtk2' 'libx11') 12 | makedepends=('git') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+https://code.qt.io/qt/${_srcname}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | qmake PREFIX='/usr' \ 32 | LIBDIR='/usr/lib' \ 33 | QMAKE_CFLAGS_RELEASE="${CFLAGS}" \ 34 | QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" 35 | make 36 | } 37 | 38 | package() { 39 | cd "${srcdir}/${_srcname}" 40 | 41 | make INSTALL_ROOT="${pkgdir}" install 42 | } 43 | -------------------------------------------------------------------------------- /kea/log4cplus-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('log4cplus-git') 3 | _srcname='log4cplus' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/log4cplus/${_srcname}" 9 | license=('custom:BSD' 'Apache') 10 | 11 | depends=('gcc-libs') 12 | makedepends=('git' 'gcc-libs') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | autoreconf --install --force --warnings='all' 32 | ./configure --prefix='/usr' --with-working-locale 33 | 34 | make 35 | } 36 | 37 | package() { 38 | cd "${srcdir}/${_srcname}" 39 | 40 | make DESTDIR="${pkgdir}" install 41 | } 42 | -------------------------------------------------------------------------------- /lego/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('lego') 3 | _srcname='lego' 4 | pkgdesc='Let'"'"'s Encrypt client and ACME library written in Go' 5 | pkgver='4.8.0' 6 | _commit='175164fb47979f5aec53c3f511d264dd0191ca8e' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/go-acme/${_srcname}" 10 | license=('MIT') 11 | 12 | makedepends=('git' 'go') 13 | 14 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 15 | sha512sums=('SKIP') 16 | 17 | _url_go="${url#*//}" 18 | 19 | prepare() { 20 | cd "${srcdir}" 21 | export GOPATH="${srcdir}/gopath" 22 | 23 | rm --recursive "${GOPATH}" &> /dev/null || true 24 | mkdir --parents "${GOPATH}/src/${_url_go}" 25 | rmdir "${GOPATH}/src/${_url_go}" 26 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 27 | 28 | cd "${GOPATH}/src/${_url_go}" 29 | go get -v -d ./... 30 | } 31 | 32 | build() { 33 | cd "${srcdir}" 34 | export GOPATH="${srcdir}/gopath" 35 | 36 | cd "${GOPATH}/src/${_url_go}" 37 | go install -v ./... 38 | } 39 | 40 | package() { 41 | cd "${srcdir}" 42 | export GOPATH="${srcdir}/gopath" 43 | 44 | install -D --mode='755' "${GOPATH}/bin/lego" "${pkgdir}/usr/bin/lego" 45 | } 46 | -------------------------------------------------------------------------------- /waifu2x-converter-cpp/waifu2x-converter-cpp-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('waifu2x-converter-cpp-git') 3 | _srcname='waifu2x-converter-cpp' 4 | pkgdesc='Image Super-Resolution for Anime-Style Art' 5 | pkgver='r718' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/DeadSix27/${_srcname}" 9 | license=('MIT') 10 | 11 | depends=('opencv' 'ocl-icd') 12 | makedepends=('git' 'cmake' 'opencl-headers') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | cmake \ 32 | -DCMAKE_INSTALL_PREFIX='/usr' \ 33 | -DCMAKE_BUILD_TYPE='Release' \ 34 | -DINSTALL_MODELS='ON' \ 35 | -DOPENCV_PREFIX='/usr' \ 36 | . 37 | make 38 | } 39 | 40 | package() { 41 | cd "${srcdir}/${_srcname}" 42 | 43 | make DESTDIR="${pkgdir}" install 44 | } 45 | -------------------------------------------------------------------------------- /cadvisor/cadvisor/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('cadvisor') 3 | _srcname='cadvisor' 4 | pkgdesc='Analyzes resource usage and performance characteristics of running containers' 5 | pkgver='0.53.0' 6 | _commit='85d18c6139a3f1fd48120c49ae44eac5aa352d86' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/google/${_srcname}" 10 | license=('Apache') 11 | 12 | makedepends=('git' 'make' 'go') 13 | 14 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 15 | sha512sums=('SKIP') 16 | 17 | _url_go="${url#*//}" 18 | 19 | prepare() { 20 | cd "${srcdir}" 21 | export GOPATH="${srcdir}/gopath" 22 | 23 | mkdir --parents "${GOPATH}/src/${_url_go}" 24 | rm --recursive "${GOPATH}/src/${_url_go}" 25 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 26 | 27 | cd "${GOPATH}/src/${_url_go}" 28 | git remote set-url origin "${url}" 29 | } 30 | 31 | build() { 32 | cd "${srcdir}" 33 | export GOPATH="${srcdir}/gopath" 34 | 35 | cd "${GOPATH}/src/${_url_go}" 36 | make GO_FLAGS='-v' build 37 | } 38 | 39 | package() { 40 | export GOPATH="${srcdir}/gopath" 41 | cd "${GOPATH}/src/${_url_go}" 42 | 43 | install -D --mode='755' _output/cadvisor "${pkgdir}/usr/bin/cadvisor" 44 | } 45 | -------------------------------------------------------------------------------- /tmux/tmux/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('tmux') 3 | _srcname='tmux' 4 | pkgdesc='Terminal multiplexer' 5 | pkgver='2.3' 6 | _commit='52869ed182482c26163799a7215139f4d81b6fca' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/tmux/${_srcname}" 10 | license=('ISC') 11 | 12 | depends=('ncurses' 'libevent' 'libutempter') 13 | makedepends=('git') 14 | 15 | source=( 16 | "${_srcname}::git+${url}.git#commit=${_commit}" 17 | 'git+https://github.com/przepompownia/tmux-bash-completion.git' 18 | 'ixon.patch' 19 | 'pane_is_dead.patch' 20 | ) 21 | sha512sums=( 22 | 'SKIP' 23 | 'SKIP' 24 | 'SKIP' 25 | 'SKIP' 26 | ) 27 | 28 | prepare() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | git apply "${srcdir}/ixon.patch" 32 | git apply "${srcdir}/pane_is_dead.patch" 33 | } 34 | 35 | build() { 36 | cd "${srcdir}/${_srcname}" 37 | 38 | ./autogen.sh 39 | ./configure --prefix='/usr' 40 | 41 | make 42 | } 43 | 44 | package() { 45 | cd "${srcdir}/${_srcname}" 46 | 47 | make DESTDIR="${pkgdir}" install 48 | 49 | install -D --mode='644' "${srcdir}/tmux-bash-completion/completions/tmux" \ 50 | "${pkgdir}/usr/share/bash-completion/completions/tmux" 51 | } 52 | -------------------------------------------------------------------------------- /ethereum/go-ethereum/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Justin Kromlinger 2 | 3 | pkgname=go-ethereum 4 | pkgver=1.16.7 5 | pkgrel=1 6 | pkgdesc='Official Go implementation of the Ethereum protocol' 7 | arch=('x86_64') 8 | url='https://geth.ethereum.org/' 9 | license=('GPL-3.0-only') 10 | depends=('glibc') 11 | makedepends=('git' 'go') 12 | provides=('geth') 13 | conflicts=('geth') 14 | replaces=('geth') 15 | source=("git+https://github.com/ethereum/go-ethereum.git#tag=v${pkgver}" 16 | 'geth-user.service') 17 | sha256sums=('659864a0274cef6357fe801cad56352f1af42e2cb90bccf93b5dfd46998a9b5b' 18 | '806ab43221f0c203e663a78afced694786a5adb033f06fab07d07904384d7645') 19 | 20 | build() { 21 | cd ${pkgname} 22 | 23 | export CGO_LDFLAGS="${LDFLAGS}" 24 | export GOFLAGS="-buildmode=pie" 25 | make all 26 | } 27 | 28 | package() { 29 | cd ${pkgname} 30 | 31 | install -Dm755 -t "${pkgdir}"/usr/bin build/bin/* 32 | install -Dm644 ../geth-user.service \ 33 | "${pkgdir}/usr/lib/systemd/user/geth.service" 34 | install -Dm644 build/deb/ethereum/completions/bash/geth -t "$pkgdir"/usr/share/bash-completion/completions 35 | install -Dm644 build/deb/ethereum/completions/zsh/_geth -t "$pkgdir"/usr/share/zsh/site-functions 36 | } 37 | -------------------------------------------------------------------------------- /dvorak-nfnty-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('dvorak-nfnty-git') 3 | _srcname='dvorak-nfnty' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Customized dvorak layout for console and Xorg' 7 | arch=('any') 8 | url='https://github.com/nfnty/dvorak-nfnty' 9 | license=('MIT') 10 | 11 | makedepends=('git' 'gzip') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | source=("${_srcname}::git+${url}.git") 16 | sha512sums=('SKIP') 17 | 18 | pkgver() { 19 | cd "${srcdir}/${_srcname}" 20 | 21 | printf 'r%s.%s.%s\n' \ 22 | "$( git rev-list --count 'HEAD' )" \ 23 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 24 | "$( git rev-parse --short 'HEAD' )" 25 | } 26 | 27 | build() { 28 | cd "${srcdir}/${_srcname}" 29 | 30 | for path_file in kbd/*.map; do 31 | gzip --stdout "${path_file}" > "${path_file}.gz" 32 | done 33 | } 34 | 35 | package() { 36 | cd "${srcdir}/${_srcname}" 37 | 38 | install -D --mode=644 --target-directory="${pkgdir}/usr/share/kbd/keymaps" kbd/*.map.gz 39 | 40 | cd xkb 41 | for directory in *; do 42 | install -D --mode=644 --target-directory="${pkgdir}/usr/share/xkeyboard-config-2/${directory}" "${directory}/"* 43 | done 44 | } 45 | -------------------------------------------------------------------------------- /i3ipc/i3ipc-glib-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('i3ipc-glib-git') 3 | _srcname='i3ipc-glib' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='A C interface library to i3wm' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/acrisci/${_srcname}" 9 | license=('GPL3') 10 | 11 | depends=('glib2' 'json-glib') 12 | optdepends=( 13 | 'i3ipc-lua: Lua language bindings' 14 | 'i3ipc-python: Python language bindings' 15 | 'i3ipc-gjs: JavaScript language bindings' 16 | ) 17 | makedepends=('git' 'libxcb' 'xcb-proto' 'gobject-introspection' 'gtk-doc') 18 | provides=("${pkgname[0]%-git}") 19 | conflicts=("${pkgname[0]%-git}") 20 | 21 | source=("${_srcname}::git+${url}.git") 22 | sha512sums=('SKIP') 23 | 24 | pkgver() { 25 | cd "${srcdir}/${_srcname}" 26 | 27 | printf 'r%s.%s.%s\n' \ 28 | "$( git rev-list --count 'HEAD' )" \ 29 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 30 | "$( git rev-parse --short 'HEAD' )" 31 | } 32 | 33 | build() { 34 | cd "${srcdir}/${_srcname}" 35 | 36 | gtkdocize 37 | autoreconf --install --force --warnings='all' 38 | ./configure --prefix='/usr' 39 | 40 | make 41 | } 42 | 43 | package() { 44 | cd "${srcdir}/${_srcname}" 45 | 46 | make DESTDIR="${pkgdir}" install 47 | } 48 | -------------------------------------------------------------------------------- /ethereum/prysm/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('prysm') 3 | _srcname='prysm' 4 | pkgdesc='Go implementation of the Ethereum 2.0 blockchain' 5 | pkgver='5.1.0' 6 | _commit='b8cd77945df2b8fa8fe50520df0495309a52c2f3' 7 | pkgrel='1' 8 | arch=('x86_64') 9 | url="https://github.com/prysmaticlabs/${_srcname}" 10 | license=('GPL3') 11 | 12 | makedepends=('git' 'go') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=( 17 | "${_srcname}::git+${url}.git#commit=${_commit}" 18 | 'memsize.patch' 19 | ) 20 | sha512sums=( 21 | 'SKIP' 22 | 'SKIP' 23 | ) 24 | 25 | prepare() { 26 | cd "${srcdir}/${_srcname}" 27 | 28 | git apply "${srcdir}/memsize.patch" 29 | } 30 | 31 | build() { 32 | cd "${srcdir}/${_srcname}" 33 | 34 | export CGO_CPPFLAGS="${CPPFLAGS}" 35 | export CGO_CFLAGS="${CFLAGS}" 36 | export CGO_CXXFLAGS="${CXXFLAGS}" 37 | export CGO_LDFLAGS="${LDFLAGS}" 38 | export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" 39 | 40 | mkdir output 41 | go build -o output -tags=blst_enabled -v ./... 42 | } 43 | 44 | package() { 45 | cd "${srcdir}/${_srcname}" 46 | 47 | cd output 48 | for target in *; do 49 | install -D --mode=755 "${target}" "${pkgdir}/usr/bin/prysm-${target}" 50 | done 51 | } 52 | -------------------------------------------------------------------------------- /docker/docker-compose/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('docker-compose') 3 | _srcname='compose' 4 | pkgver='1.4.2' 5 | pkgrel='1' 6 | pkgdesc='Define and run complex applications using Docker' 7 | arch=('any') 8 | url="https://github.com/docker/${_srcname}" 9 | license=('Apache') 10 | 11 | depends=( 12 | 'python' 13 | 'python-docopt' 14 | 'python-yaml' 15 | 'python-requests' 16 | 'python-texttable' 17 | 'python-websocket-client' 18 | 'python-docker-py' 19 | 'python-dockerpty' 20 | 'python-six' 21 | 'python-jsonschema' 22 | 'python-setuptools' 23 | ) 24 | makedepends=('git') 25 | 26 | source=("${_srcname}::git+${url}.git#tag=${pkgver}") 27 | sha512sums=('SKIP') 28 | 29 | prepare() { 30 | cd "${srcdir}/${_srcname}" 31 | 32 | # Remove upper bound on requirements 33 | sed --regexp-extended --in-place 's/==(\s*[0-9]+(\.[0-9]+)*)/>=\1/g' requirements.txt 34 | sed --regexp-extended --in-place "s/, < [0-9]+(\.[0-9]+)*//g" setup.py 35 | } 36 | 37 | package() { 38 | cd "${srcdir}/${_srcname}" 39 | 40 | python setup.py install --root="${pkgdir}" --optimize=1 41 | 42 | install -D --mode=644 LICENSE "${pkgdir}/usr/share/licenses/${_srcname}/LICENSE" 43 | install -D --mode=644 contrib/completion/bash/docker-compose "${pkgdir}/usr/share/bash-completion/completions/docker-compose" 44 | } 45 | -------------------------------------------------------------------------------- /rspamd/rspamd-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('rspamd-git') 3 | _srcname='rspamd' 4 | pkgdesc='Rapid spam filtering system' 5 | pkgver='r13428' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/vstakhov/${_srcname}" 9 | license=('Apache') 10 | 11 | depends=('openssl' 'libevent' 'glib2' 'gmime' 'luajit' 'sqlite' 'hiredis' 'file' 'icu') 12 | makedepends=('git' 'cmake' 'pkgconfig' 'ragel' 'ninja') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | cmake \ 32 | -G Ninja \ 33 | -DCMAKE_INSTALL_PREFIX='/usr' \ 34 | -DCONFDIR='/etc/rspamd' \ 35 | -DRUNDIR='/run/rspamd' \ 36 | -DDBDIR='/var/lib/rspamd' \ 37 | -DLOGDIR='/var/log/rspamd' \ 38 | -DWANT_SYSTEMD_UNITS='ON' \ 39 | . 40 | 41 | cmake --build . 42 | } 43 | 44 | package() { 45 | cd "${srcdir}/${_srcname}" 46 | 47 | DESTDIR="${pkgdir}/" cmake --build . --target install 48 | } 49 | -------------------------------------------------------------------------------- /beignet-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('beignet-git') 3 | _srcname='beignet' 4 | pkgdesc='OpenCL Library for Intel Ivy Bridge and newer GPUs' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('x86_64') 8 | url='http://cgit.freedesktop.org/beignet' 9 | license=('LGPL2') 10 | 11 | depends=('libdrm' 'libxfixes' 'glu' 'libsm' 'libxext' 'mesa' 'ncurses' 'ocl-icd' 'llvm') 12 | makedepends=('git' 'clang' 'cmake' 'python2') 13 | provides=("${pkgname[0]%-git}" 'opencl-intel' 'opencl-headers' 'opencl-headers12') 14 | conflicts=("${pkgname[0]%-git}" 'opencl-intel' 'opencl-headers' 'opencl-headers12') 15 | 16 | source=("${_srcname}::git+git://anongit.freedesktop.org/beignet") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | cmake \ 32 | -DCMAKE_INSTALL_PREFIX='/usr' \ 33 | -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ 34 | -DCMAKE_BUILD_TYPE='RELEASE' \ 35 | -DPYTHON_EXECUTABLE:FILEPATH='/usr/bin/python2' \ 36 | . 37 | make 38 | } 39 | 40 | package() { 41 | cd "${srcdir}/${_srcname}" 42 | 43 | make DESTDIR="${pkgdir}" install 44 | } 45 | -------------------------------------------------------------------------------- /libretro/libretro-mednafen-psx-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('libretro-mednafen-psx-git') 3 | _srcname='mednafen-psx-libretro' 4 | pkgdesc='libretro: Mednafen PSX' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/libretro/${_srcname}" 9 | license=('GPL2') 10 | 11 | makedepends=('git') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | _corename="${_srcname//-/_}" 16 | source=( 17 | "${_srcname}::git+${url}.git" 18 | "https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/${_corename}.info" 19 | ) 20 | sha512sums=( 21 | 'SKIP' 22 | 'db9156e622fe5c1bf859ab1d452ba4a1976bdfa8257eec0aa6b42d801716649fc67ee08a2c492219cc8c09223e29ede4a8ae2029352f4dac63098b712e5316fc' 23 | ) 24 | 25 | pkgver() { 26 | cd "${srcdir}/${_srcname}" 27 | 28 | printf 'r%s.%s.%s\n' \ 29 | "$( git rev-list --count 'HEAD' )" \ 30 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 31 | "$( git rev-parse --short 'HEAD' )" 32 | } 33 | 34 | build() { 35 | cd "${srcdir}/${_srcname}" 36 | 37 | make 38 | } 39 | 40 | package() { 41 | cd "${srcdir}/${_srcname}" 42 | 43 | install -D --mode='644' "${_corename}.so" "${pkgdir}/usr/lib/libretro/${_corename}.so" 44 | install -D --mode='644' "${srcdir}/${_corename}.info" "${pkgdir}/usr/lib/libretro/${_corename}.info" 45 | } 46 | -------------------------------------------------------------------------------- /tmux/tmux-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('tmux-git') 3 | _srcname='tmux' 4 | pkgdesc='Terminal multiplexer' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/tmux/${_srcname}" 9 | license=('ISC') 10 | 11 | depends=('ncurses' 'libevent' 'libutempter') 12 | makedepends=('git') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=( 17 | "${_srcname}::git+${url}.git" 18 | 'git+https://github.com/przepompownia/tmux-bash-completion.git' 19 | 'ixon.patch' 20 | ) 21 | sha512sums=( 22 | 'SKIP' 23 | 'SKIP' 24 | 'SKIP' 25 | ) 26 | 27 | pkgver() { 28 | cd "${srcdir}/${_srcname}" 29 | 30 | printf 'r%s.%s.%s\n' \ 31 | "$( git rev-list --count 'HEAD' )" \ 32 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 33 | "$( git rev-parse --short 'HEAD' )" 34 | } 35 | 36 | prepare() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | git apply "${srcdir}/ixon.patch" 40 | } 41 | 42 | build() { 43 | cd "${srcdir}/${_srcname}" 44 | 45 | ./autogen.sh 46 | ./configure --prefix='/usr' 47 | 48 | make 49 | } 50 | 51 | package() { 52 | cd "${srcdir}/${_srcname}" 53 | 54 | make DESTDIR="${pkgdir}" install 55 | 56 | install -D --mode='644' "${srcdir}/tmux-bash-completion/completions/tmux" \ 57 | "${pkgdir}/usr/share/bash-completion/completions/tmux" 58 | } 59 | -------------------------------------------------------------------------------- /libretro/libretro-desmume-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('libretro-desmume-git') 3 | _srcname='desmume' 4 | pkgdesc='libretro: Desmume' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/libretro/${_srcname}" 9 | license=('GPL2') 10 | 11 | makedepends=('git') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | source=( 16 | "${_srcname}::git+${url}.git" 17 | "https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/${_srcname}_libretro.info" 18 | ) 19 | sha512sums=( 20 | 'SKIP' 21 | 'd6ab5ea169a3f0554a92fb63497e6575e4eb46ab445c701c5deaf6b0ce09f182c8df4533c40ff1a9677187f97ad09d98d8a5267ad09e7423b3ae7b3bb034710d' 22 | ) 23 | 24 | pkgver() { 25 | cd "${srcdir}/${_srcname}" 26 | 27 | printf 'r%s.%s.%s\n' \ 28 | "$( git rev-list --count 'HEAD' )" \ 29 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 30 | "$( git rev-parse --short 'HEAD' )" 31 | } 32 | 33 | build() { 34 | cd "${srcdir}/${_srcname}/desmume" 35 | 36 | make -f Makefile.libretro 37 | } 38 | 39 | package() { 40 | cd "${srcdir}/${_srcname}/desmume" 41 | 42 | install -D --mode='644' "${_srcname}_libretro.so" "${pkgdir}/usr/lib/libretro/${_srcname}_libretro.so" 43 | install -D --mode='644' "${srcdir}/${_srcname}_libretro.info" "${pkgdir}/usr/lib/libretro/${_srcname}_libretro.info" 44 | } 45 | -------------------------------------------------------------------------------- /libretro/libretro-pcsx-rearmed-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('libretro-pcsx-rearmed-git') 3 | _srcname='pcsx_rearmed' 4 | pkgdesc='libretro: PCSX-ReARMed' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/libretro/${srcname}" 9 | license=('GPL2') 10 | 11 | makedepends=('git') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | source=( 16 | "${_srcname}::git+${url}.git" 17 | "https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/${_srcname}_libretro.info" 18 | ) 19 | sha512sums=( 20 | 'SKIP' 21 | 'fb5922ef2c38bf5eecfc78109a1ec9e4048243bcd4fde49810cb2b91667561be9f628a76f93d9890913f5a1a874bf2bcdc266e76373c2c0011c261a9169bcd98' 22 | ) 23 | 24 | pkgver() { 25 | cd "${srcdir}/${_srcname}" 26 | 27 | printf 'r%s.%s.%s\n' \ 28 | "$( git rev-list --count 'HEAD' )" \ 29 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 30 | "$( git rev-parse --short 'HEAD' )" 31 | } 32 | 33 | build() { 34 | cd "${srcdir}/${_srcname}" 35 | 36 | make -f Makefile.libretro 37 | } 38 | 39 | package() { 40 | cd "${srcdir}/${_srcname}" 41 | 42 | install -D --mode='644' "${_srcname}_libretro.so" "${pkgdir}/usr/lib/libretro/${_srcname}_libretro.so" 43 | install -D --mode='644' "${srcdir}/${_srcname}_libretro.info" "${pkgdir}/usr/lib/libretro/${_srcname}_libretro.info" 44 | } 45 | -------------------------------------------------------------------------------- /prometheus/prometheus-exporter-node/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('prometheus-exporter-node') 3 | _srcname='node_exporter' 4 | pkgdesc='Prometheus exporter for machine metrics' 5 | pkgver='0.18.1' 6 | _commit='3db77732e925c08f675d7404a8c46466b2ece83e' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/prometheus/${_srcname}" 10 | license=('Apache') 11 | 12 | makedepends=('git' 'go') 13 | 14 | source=( 15 | "${_srcname}::git+${url}.git#commit=${_commit}" 16 | 'prometheus-exporter-node.service' 17 | ) 18 | sha512sums=( 19 | 'SKIP' 20 | 'SKIP' 21 | ) 22 | 23 | install='install.sh' 24 | 25 | _url_go="${url#*//}" 26 | 27 | prepare() { 28 | cd "${srcdir}" 29 | export GOPATH="${srcdir}/gopath" 30 | 31 | mkdir --parents "${GOPATH}/src/${_url_go}" 32 | rm --recursive "${GOPATH}/src/${_url_go}" 33 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 34 | } 35 | 36 | build() { 37 | cd "${srcdir}" 38 | export GOPATH="${srcdir}/gopath" 39 | 40 | cd "${GOPATH}/src/${_url_go}" 41 | make build 42 | } 43 | 44 | package() { 45 | cd "${srcdir}" 46 | export GOPATH="${srcdir}/gopath" 47 | 48 | install -D "${GOPATH}/src/${_url_go}/node_exporter" "${pkgdir}/usr/bin/prometheus-exporter-node" 49 | install -D --mode='644' "${srcdir}/prometheus-exporter-node.service" \ 50 | "${pkgdir}/usr/lib/systemd/system/prometheus-exporter-node.service" 51 | } 52 | -------------------------------------------------------------------------------- /kodi/kodi/10160.patch: -------------------------------------------------------------------------------- 1 | diff --git a/xbmc/filesystem/DllLibCurl.h b/xbmc/filesystem/DllLibCurl.h 2 | index 1bdaae1..9e78a91 100644 3 | --- a/xbmc/filesystem/DllLibCurl.h 4 | +++ b/xbmc/filesystem/DllLibCurl.h 5 | @@ -52,7 +52,7 @@ namespace XCURL 6 | virtual CURLMcode multi_fdset(CURLM *multi_handle, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd)=0; 7 | virtual CURLMcode multi_timeout(CURLM *multi_handle, long *timeout)=0; 8 | virtual CURLMsg* multi_info_read(CURLM *multi_handle, int *msgs_in_queue)=0; 9 | - virtual void multi_cleanup(CURL_HANDLE * handle )=0; 10 | + virtual CURLMcode multi_cleanup(CURLM * handle )=0; 11 | virtual struct curl_slist* slist_append(struct curl_slist *, const char *)=0; 12 | virtual void slist_free_all(struct curl_slist *)=0; 13 | }; 14 | @@ -77,7 +77,7 @@ namespace XCURL 15 | DEFINE_METHOD5(CURLMcode, multi_fdset, (CURLM *p1, fd_set *p2, fd_set *p3, fd_set *p4, int *p5)) 16 | DEFINE_METHOD2(CURLMcode, multi_timeout, (CURLM *p1, long *p2)) 17 | DEFINE_METHOD2(CURLMsg*, multi_info_read, (CURLM *p1, int *p2)) 18 | - DEFINE_METHOD1(void, multi_cleanup, (CURLM *p1)) 19 | + DEFINE_METHOD1(CURLMcode, multi_cleanup, (CURLM *p1)) 20 | DEFINE_METHOD2(struct curl_slist*, slist_append, (struct curl_slist * p1, const char * p2)) 21 | DEFINE_METHOD1(void, slist_free_all, (struct curl_slist * p1)) 22 | DEFINE_METHOD1(const char *, easy_strerror, (CURLcode p1)) 23 | -------------------------------------------------------------------------------- /cadvisor/cadvisor-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('cadvisor-git') 3 | _srcname='cadvisor' 4 | pkgdesc='Analyzes resource usage and performance characteristics of running containers' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/google/${_srcname}" 9 | license=('Apache') 10 | 11 | makedepends=('git' 'make' 'go' 'godep') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | source=("${_srcname}::git+${url}.git") 16 | sha512sums=('SKIP') 17 | 18 | pkgver() { 19 | cd "${srcdir}/${_srcname}" 20 | 21 | printf 'r%s.%s.%s\n' \ 22 | "$( git rev-list --count 'HEAD' )" \ 23 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 24 | "$( git rev-parse --short 'HEAD' )" 25 | } 26 | 27 | prepare() { 28 | cd "${srcdir}" 29 | export GOPATH="${srcdir}/gopath" 30 | 31 | mkdir --parents "${GOPATH}/src/${_url_go}" 32 | rm --recursive "${GOPATH}/src/${_url_go}" 33 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 34 | 35 | cd "${GOPATH}/src/${_url_go}" 36 | git remote set-url origin "${url}" 37 | } 38 | 39 | build() { 40 | cd "${srcdir}" 41 | export GOPATH="${srcdir}/gopath" 42 | 43 | cd "${GOPATH}/src/${_url_go}" 44 | make build 45 | } 46 | 47 | package() { 48 | export GOPATH="${srcdir}/gopath" 49 | cd "${GOPATH}/src/${_url_go}" 50 | 51 | install -D --mode='755' cadvisor "${pkgdir}/usr/bin/cadvisor" 52 | } 53 | -------------------------------------------------------------------------------- /docker/docker/disableresolution.patch: -------------------------------------------------------------------------------- 1 | diff --git a/daemon/network.go b/daemon/network.go 2 | index 0896378906..4ab7ad55b5 100644 3 | --- a/daemon/network.go 4 | +++ b/daemon/network.go 5 | @@ -12,7 +12,6 @@ import ( 6 | 7 | "github.com/containerd/log" 8 | "github.com/docker/docker/api/types/backend" 9 | - containertypes "github.com/docker/docker/api/types/container" 10 | "github.com/docker/docker/api/types/events" 11 | "github.com/docker/docker/api/types/filters" 12 | networktypes "github.com/docker/docker/api/types/network" 13 | @@ -815,8 +814,6 @@ func buildCreateEndpointOptions(c *container.Container, n *libnetwork.Network, e 14 | var createOptions []libnetwork.EndpointOption 15 | var genericOptions = make(options.Generic) 16 | 17 | - nwName := n.Name() 18 | - 19 | if epConfig != nil { 20 | if ipam := epConfig.IPAMConfig; ipam != nil { 21 | var ipList []net.IP 22 | @@ -877,9 +874,7 @@ func buildCreateEndpointOptions(c *container.Container, n *libnetwork.Network, e 23 | createOptions = append(createOptions, libnetwork.CreateOptionService(svcCfg.Name, svcCfg.ID, vip, portConfigs, svcCfg.Aliases[nwID])) 24 | } 25 | 26 | - if !containertypes.NetworkMode(nwName).IsUserDefined() { 27 | - createOptions = append(createOptions, libnetwork.CreateOptionDisableResolution()) 28 | - } 29 | + createOptions = append(createOptions, libnetwork.CreateOptionDisableResolution()) 30 | 31 | epOpts, err := buildPortsRelatedCreateEndpointOptions(c, n, sb) 32 | if err != nil { 33 | -------------------------------------------------------------------------------- /prometheus/prometheus/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('prometheus') 3 | _srcname='prometheus' 4 | pkgdesc='Monitoring system and time series database' 5 | pkgver='2.14.0' 6 | _commit='edeb7a44cbf745f1d8be4ea6f215e79e651bfe19' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/prometheus/${_srcname}" 10 | license=('Apache') 11 | 12 | depends=('glibc') 13 | makedepends=('git' 'go-pie' 'yarn') 14 | 15 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 16 | sha512sums=('SKIP') 17 | 18 | _url_go="${url#*//}" 19 | 20 | prepare() { 21 | cd "${srcdir}" 22 | export GOPATH="${srcdir}/gopath" 23 | 24 | mkdir --parents "${GOPATH}/src/${_url_go}" 25 | rm --recursive "${GOPATH}/src/${_url_go}" 26 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 27 | 28 | cd "${GOPATH}/src/${_url_go}" 29 | git remote set-url origin "${url}" 30 | } 31 | 32 | build() { 33 | cd "${srcdir}" 34 | export GOPATH="${srcdir}/gopath" 35 | 36 | cd "${GOPATH}/src/${_url_go}" 37 | make build 38 | } 39 | 40 | package() { 41 | cd "${srcdir}" 42 | export GOPATH="${srcdir}/gopath" 43 | 44 | install --directory "${pkgdir}/"{"etc/${_srcname}",usr/bin,"var/lib/${_srcname}"} 45 | cp "${GOPATH}/src/${_url_go}/"{prometheus,promtool} "${pkgdir}/usr/bin/" 46 | 47 | cd "${GOPATH}/src/${_url_go}" 48 | cp config/testdata/conf.good.yml "${pkgdir}/etc/${_srcname}/config.yml" 49 | 50 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}" 51 | } 52 | -------------------------------------------------------------------------------- /shotcut/shotcut-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('shotcut-git') 3 | _srcname='shotcut' 4 | pkgdesc='Video editor' 5 | pkgver='r4252' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url='https://github.com/mltframework/shotcut' 9 | license=('GPL3') 10 | 11 | depends=( 12 | 'qt5-base' 13 | 'qt5-declarative' 14 | 'qt5-graphicaleffects' 15 | 'qt5-multimedia' 16 | 'qt5-quickcontrols' 17 | 'qt5-webkit' 18 | 'qt5-websockets' 19 | 'qt5-x11extras' 20 | 'mlt-git' 21 | 'movit' 22 | 'ffmpeg' 23 | 'libx264' 24 | 'libvpx' 25 | 'lame' 26 | 'frei0r-plugins' 27 | 'ladspa' 28 | ) 29 | makedepends=('git' 'qt5-tools') 30 | provides=("${pkgname[0]%-git}") 31 | conflicts=("${pkgname[0]%-git}") 32 | 33 | source=("${_srcname}::git+${url}.git") 34 | sha512sums=('SKIP') 35 | 36 | pkgver() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | printf 'r%s.%s.%s\n' \ 40 | "$( git rev-list --count 'HEAD' )" \ 41 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 42 | "$( git rev-parse --short 'HEAD' )" 43 | } 44 | 45 | build() { 46 | cd "${srcdir}/${_srcname}" 47 | 48 | qmake PREFIX='/usr' \ 49 | QMAKE_CFLAGS_RELEASE="${CFLAGS}" \ 50 | QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \ 51 | SHOTCUT_VERSION="${pkgver}" 52 | make 53 | 54 | cd translations 55 | lrelease ./*.ts 56 | } 57 | 58 | package() { 59 | cd "${srcdir}/${_srcname}" 60 | 61 | make INSTALL_ROOT="${pkgdir}" install 62 | } 63 | -------------------------------------------------------------------------------- /ranger-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('ranger-git') 3 | _srcname='ranger' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='A simple, vim-like file manager' 7 | arch=('any') 8 | url="https://github.com/ranger/${_srcname}" 9 | license=('GPL3') 10 | 11 | depends=('python') 12 | optdepends=( 13 | 'file: for determining file types' 14 | 'python-chardet: in case of encoding detection problems' 15 | 'sudo: to use the "run as root"-feature' 16 | 'libcaca: for ASCII-art image previews' 17 | 'highlight: for syntax highlighting of code' 18 | 'atool: for previews of archives' 19 | 'w3m: for previews of images and html pages' 20 | 'lynx: for previews of html pages' 21 | 'elinks: for previews of html pages' 22 | 'poppler: for pdf previews' 23 | 'transmission-cli: for viewing bittorrent information' 24 | 'mediainfo: for viewing information about media files' 25 | 'perl-image-exiftool: for viewing information about media files' 26 | ) 27 | makedepends=('git' 'python-setuptools') 28 | provides=("${pkgname[0]%-git}") 29 | conflicts=("${pkgname[0]%-git}") 30 | 31 | source=("${_srcname}::git+${url}.git") 32 | sha256sums=('SKIP') 33 | 34 | pkgver() { 35 | cd "${srcdir}/${_srcname}" 36 | 37 | printf 'r%s.%s.%s\n' \ 38 | "$( git rev-list --count 'HEAD' )" \ 39 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 40 | "$( git rev-parse --short 'HEAD' )" 41 | } 42 | 43 | package() { 44 | cd "${srcdir}/${_srcname}" 45 | 46 | python setup.py install --root="${pkgdir}" --optimize=1 47 | } 48 | -------------------------------------------------------------------------------- /nut/nut-snmp-usb-order.patch: -------------------------------------------------------------------------------- 1 | The code that generates the SNMP and USB headers to compile against does not 2 | have a deterministic order, leading to different results at times. 3 | 4 | Signed-off-by: Robin H. Johnson 5 | 6 | diff -Nuar --exclude .libs --exclude '*.o' --exclude core nut-2.7.1.orig/tools/nut-snmpinfo.py nut-2.7.1/tools/nut-snmpinfo.py 7 | --- nut-2.7.1.orig/tools/nut-snmpinfo.py 2014-01-04 19:08:19.117150636 -0800 8 | +++ nut-2.7.1/tools/nut-snmpinfo.py 2013-07-26 12:41:11.000000000 -0700 9 | @@ -78,7 +78,9 @@ 10 | output_file.write( "/* SNMP IDs device table */\n" ) 11 | output_file.write( "static snmp_device_id_t snmp_device_table[] = {\n" ) 12 | 13 | -for filename in glob.glob('../drivers/*-mib.c'): 14 | +mibs = glob.glob('../drivers/*-mib.c') 15 | +mibs.sort() 16 | +for filename in mibs: 17 | list_of_line = open(filename,'r').read().split(';') 18 | for line in list_of_line: 19 | if "mib2nut_info_t" in line: 20 | diff -Nuar --exclude .libs --exclude '*.o' --exclude core nut-2.7.1.orig/tools/nut-usbinfo.pl nut-2.7.1/tools/nut-usbinfo.pl 21 | --- nut-2.7.1.orig/tools/nut-usbinfo.pl 2014-01-04 19:12:45.595949760 -0800 22 | +++ nut-2.7.1/tools/nut-usbinfo.pl 2013-11-17 11:27:38.000000000 -0800 23 | @@ -75,7 +75,12 @@ 24 | 25 | ################# MAIN ################# 26 | 27 | -find(\&find_usbdevs,$scanPath); 28 | +find({ 29 | + wanted => \&find_usbdevs, 30 | + follow => 1, 31 | + preprocess => sub { return sort @_ }, 32 | + }, 33 | + $scanPath); 34 | &gen_usb_files; 35 | 36 | ################# SUB METHOD ################# 37 | 38 | 39 | -------------------------------------------------------------------------------- /acoustid/acoustid-server-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('acoustid-server-git') 3 | _srcname='acoustid-server' 4 | pkgdesc='AcoustID Server' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('any') 8 | url="https://bitbucket.org/acoustid/${_srcname}" 9 | license=('MIT') 10 | 11 | depends=('python2' 'postgresql-libs' 'chromaprint') 12 | makedepends=('git' 'python2-setuptools' 'python2-pip' 'python2-virtualenv') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=( 17 | "${_srcname}::git+${url}.git" 18 | 'libchromaprint.patch' 19 | 'admin.patch' 20 | ) 21 | sha512sums=( 22 | 'SKIP' 23 | 'SKIP' 24 | 'SKIP' 25 | ) 26 | 27 | pkgver() { 28 | cd "${srcdir}/${_srcname}" 29 | 30 | printf 'r%s.%s.%s\n' \ 31 | "$( git rev-list --count 'HEAD' )" \ 32 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 33 | "$( git rev-parse --short 'HEAD' )" 34 | } 35 | 36 | prepare() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | git apply "${srcdir}/admin.patch" 40 | } 41 | 42 | package() { 43 | install --directory --mode='755' "${pkgdir}/opt/${_srcname}" 44 | cp --recursive "${srcdir}/${_srcname}/"* "${pkgdir}/opt/${_srcname}/" 45 | 46 | cd "${pkgdir}/opt/${_srcname}" 47 | virtualenv2 e 48 | # shellcheck disable=SC1091 49 | source e/bin/activate 50 | pip install --requirement requirements.txt 51 | 52 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}/opt/${_srcname}" 53 | 54 | cd e/lib/python2.7/site-packages 55 | patch --input="${srcdir}/libchromaprint.patch" 56 | } 57 | -------------------------------------------------------------------------------- /docker/runc/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Morten Linderud 2 | # Contributor: Sébastien "Seblu" Luttringer 3 | 4 | pkgname=runc 5 | pkgver=1.0.0rc93+72+g1820c425 6 | pkgrel=1 7 | pkgdesc='CLI tool for managing OCI compliant containers' 8 | arch=(x86_64) 9 | url='https://runc.io/' 10 | license=(Apache) 11 | depends=(libseccomp) 12 | makedepends=(git go go-md2man) 13 | _commit=1820c425479645db40e38f6c96bee970845699d6 #refs/tags/v1.0.0-rc93^{} 14 | source=("git+https://github.com/opencontainers/runc.git#commit=$_commit") 15 | # source=("git+https://github.com/opencontainers/runc.git#tag=v1.0.0-rc92?signed") 16 | validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4" 17 | "C9C370B246B09F6DBCFC744C34401015D1D2D386") 18 | sha256sums=('SKIP') 19 | 20 | pkgver() { 21 | cd runc 22 | git describe | sed 's/^v//;s/-//;s/-/+/g' 23 | } 24 | 25 | prepare() { 26 | mkdir -p src/github.com/opencontainers 27 | cp -r runc src/github.com/opencontainers/ 28 | } 29 | 30 | build() { 31 | cd src/github.com/opencontainers/runc 32 | export GOPATH="$srcdir" 33 | export BUILDTAGS='seccomp apparmor' 34 | export CGO_CPPFLAGS="${CPPFLAGS}" 35 | export CGO_CFLAGS="${CFLAGS}" 36 | export CGO_CXXFLAGS="${CXXFLAGS}" 37 | export CGO_LDFLAGS="${LDFLAGS}" 38 | export GOFLAGS="-trimpath -mod=readonly -modcacherw" 39 | make runc man 40 | } 41 | 42 | package() { 43 | cd src/github.com/opencontainers/runc 44 | 45 | install -Dm755 runc "$pkgdir/usr/bin/runc" 46 | install -Dm644 contrib/completions/bash/runc \ 47 | "$pkgdir/usr/share/bash-completion/completions/runc" 48 | 49 | install -d "$pkgdir/usr/share/man/man8" 50 | install -m644 man/man8/*.8 "$pkgdir/usr/share/man/man8" 51 | } 52 | -------------------------------------------------------------------------------- /docker/docker-compose-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('docker-compose-git') 3 | _srcname='compose' 4 | pkgver='r5440' 5 | pkgrel='1' 6 | pkgdesc='Define and run complex applications using Docker' 7 | arch=('any') 8 | url="https://github.com/docker/${_srcname}" 9 | license=('Apache') 10 | 11 | depends=( 12 | 'python' 13 | 'python-docopt' 14 | 'python-yaml' 15 | 'python-requests' 16 | 'python-texttable' 17 | 'python-websocket-client' 18 | 'python-docker-py' 19 | 'python-dockerpty' 20 | 'python-six' 21 | 'python-jsonschema' 22 | 'python-setuptools' 23 | ) 24 | makedepends=('git') 25 | provides=("${pkgname[0]%-git}") 26 | conflicts=("${pkgname[0]%-git}") 27 | 28 | source=("${_srcname}::git+${url}.git") 29 | sha512sums=('SKIP') 30 | 31 | pkgver() { 32 | cd "${srcdir}/${_srcname}" 33 | 34 | printf 'r%s.%s.%s\n' \ 35 | "$( git rev-list --count 'HEAD' )" \ 36 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 37 | "$( git rev-parse --short 'HEAD' )" 38 | } 39 | 40 | prepare() { 41 | cd "${srcdir}/${_srcname}" 42 | 43 | # Remove upper bound on requirements 44 | sed --regexp-extended --in-place 's/==(\s*[0-9]+(\.[0-9]+)*)/>=\1/g' requirements.txt 45 | sed --regexp-extended --in-place "s/, < [0-9]+(\.[0-9]+)*//g" setup.py 46 | } 47 | 48 | package() { 49 | cd "${srcdir}/${_srcname}" 50 | 51 | python setup.py install --root="${pkgdir}" --optimize=1 52 | 53 | install -D --mode=644 LICENSE "${pkgdir}/usr/share/licenses/${_srcname}/LICENSE" 54 | install -D --mode=644 contrib/completion/bash/docker-compose "${pkgdir}/usr/share/bash-completion/completions/docker-compose" 55 | } 56 | -------------------------------------------------------------------------------- /dislocker-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Based on dislocker PKGBUILD maintained by: Rafal Malachowicz 2 | # Based on dislocker PKGBUILD maintained by: mrxx 3 | 4 | _pkgname=dislocker 5 | pkgname=$_pkgname-git 6 | pkgver=0.7.3.r37.g845e20c 7 | pkgrel=1 8 | pkgdesc="FUSE driver to read/write Windows' BitLocker-ed volumes" 9 | arch=('i686' 'x86_64') 10 | url="https://github.com/Aorimn/dislocker" 11 | license=('GPL2') 12 | depends=('mbedtls' 'fuse3' 'ruby') 13 | makedepends=('git' 'cmake') 14 | provides=($_pkgname) 15 | conflicts=($_pkgname) 16 | optdepends=('ntfs-3g: NTFS file system support') 17 | source=('git+https://github.com/Aorimn/dislocker.git') 18 | sha512sums=('SKIP') 19 | 20 | pkgver() { 21 | cd "$srcdir/${_pkgname}" 22 | git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^v//' 23 | } 24 | 25 | build() { 26 | cd "$srcdir/${_pkgname}" 27 | 28 | cmake -DCMAKE_INSTALL_PREFIX=/usr \ 29 | -Dlibdir=/usr/lib \ 30 | -D WARN_FLAGS:STRING="-Wall -Wextra" \ 31 | . 32 | sed -i 's/^#include "mbedtls\/config.h"/#include "mbedtls\/mbedtls_config.h"/;' include/dislocker/ssl_bindings.h 33 | sed -i 's/^# define SHA256(input, len, output) mbedtls_sha256_ret(input, len, output, 0)/# define SHA256(input, len, output) mbedtls_sha256(input, len, output, 0)/' include/dislocker/ssl_bindings.h 34 | make 35 | } 36 | 37 | package() { 38 | cd "${srcdir}/${_pkgname}" 39 | make DESTDIR="${pkgdir}/" install 40 | 41 | install -Dm644 README.md ${pkgdir}/usr/share/doc/${_pkgname}/README 42 | install -Dm644 CHANGELOG.md ${pkgdir}/usr/share/doc/${_pkgname}/CHANGELOG 43 | install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE 44 | } 45 | -------------------------------------------------------------------------------- /prometheus/prometheus-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('prometheus-git') 3 | _srcname='prometheus' 4 | pkgdesc='Monitoring system and time series database' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/prometheus/${_srcname}" 9 | license=('Apache') 10 | 11 | makedepends=('git' 'go') 12 | provides=("${pkgname[0]%-git}") 13 | conflicts=("${pkgname[0]%-git}") 14 | 15 | source=("${_srcname}::git+${url}.git") 16 | sha512sums=('SKIP') 17 | 18 | _url_go="${url#*//}" 19 | 20 | pkgver() { 21 | cd "${srcdir}/${_srcname}" 22 | 23 | printf 'r%s.%s.%s\n' \ 24 | "$( git rev-list --count 'HEAD' )" \ 25 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 26 | "$( git rev-parse --short 'HEAD' )" 27 | } 28 | 29 | prepare() { 30 | cd "${srcdir}" 31 | export GOPATH="${srcdir}/gopath" 32 | 33 | mkdir --parents "${GOPATH}/src/${_url_go}" 34 | rm --recursive "${GOPATH}/src/${_url_go}" 35 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 36 | 37 | cd "${GOPATH}/src/${_url_go}" 38 | git remote set-url origin "${url}" 39 | } 40 | 41 | build() { 42 | cd "${srcdir}" 43 | export GOPATH="${srcdir}/gopath" 44 | 45 | cd "${GOPATH}/src/${_url_go}" 46 | make build 47 | } 48 | 49 | package() { 50 | cd "${srcdir}" 51 | export GOPATH="${srcdir}/gopath" 52 | 53 | install --directory "${pkgdir}/"{"etc/${_srcname}",usr/bin,"var/lib/${_srcname}"} 54 | cp "${GOPATH}/src/${_url_go}/"{prometheus,promtool} "${pkgdir}/usr/bin/" 55 | 56 | cd "${GOPATH}/src/${_url_go}" 57 | cp config/testdata/conf.good.yml "${pkgdir}/etc/${_srcname}/config.yml" 58 | 59 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}" 60 | } 61 | -------------------------------------------------------------------------------- /influxdb/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('influxdb') 3 | _srcname='influxdb' 4 | pkgdesc='Scalable datastore for metrics, events, and real-time analytics' 5 | pkgver='1.2.2' 6 | _commit='1bcf3ae74c6b9c4897dab68d513d056277eb24f7' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/influxdata/${_srcname}" 10 | license=('MIT') 11 | 12 | makedepends=('git' 'go') 13 | 14 | source=("${_srcname}::git+${url}.git#commit=${_commit}") 15 | sha512sums=('SKIP') 16 | 17 | _url_go="${url#*//}" 18 | 19 | prepare() { 20 | cd "${srcdir}" 21 | export GOPATH="${srcdir}/gopath" 22 | 23 | mkdir --parents "${GOPATH}/src/${_url_go}" 24 | rm --recursive "${GOPATH}/src/${_url_go}" 25 | mv "${_srcname}" "${GOPATH}/src/${_url_go}" 26 | 27 | cd "${GOPATH}/src/${_url_go}" 28 | git remote set-url origin "${url}" 29 | 30 | go get github.com/sparrc/gdm 31 | "${GOPATH}/bin/gdm" restore 32 | } 33 | 34 | build() { 35 | cd "${srcdir}" 36 | export GOPATH="${srcdir}/gopath" 37 | 38 | cd "${GOPATH}/src/${_url_go}" 39 | go install -v -ldflags="\ 40 | -X main.version=${pkgver} \ 41 | -X main.branch=$( git rev-parse --abbrev-ref HEAD ) \ 42 | -X main.commit=$( git rev-parse HEAD ) \ 43 | -X main.buildtime=$( date --utc --iso-8601=seconds )" \ 44 | ./... 45 | } 46 | 47 | package() { 48 | cd "${srcdir}" 49 | export GOPATH="${srcdir}/gopath" 50 | 51 | install --directory "${pkgdir}/"{"etc/${_srcname}",usr,"var/lib/${_srcname}"} 52 | install -D --target-directory="${pkgdir}/usr/bin" "${GOPATH}/bin/influx"* 53 | 54 | cd "${GOPATH}/src/${_url_go}" 55 | cp etc/config.sample.toml "${pkgdir}/etc/${_srcname}/config.toml" 56 | 57 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}" 58 | } 59 | -------------------------------------------------------------------------------- /kodi/kodi/fix-python-lib-path.patch: -------------------------------------------------------------------------------- 1 | --- a/project/cmake/scripts/linux/Install.cmake 2017-03-20 17:17:49.000000000 +0100 2 | +++ b/project/cmake/scripts/linux/Install.cmake 2017-05-20 15:42:09.608550173 +0200 3 | @@ -199,7 +199,7 @@ 4 | install(PROGRAMS ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/bt/__init__.py 5 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/bt/bt.py 6 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/bt/hid.py 7 | - DESTINATION lib/python2.7/dist-packages/${APP_NAME_LC}/bt 8 | + DESTINATION lib/python2.7/site-packages/${APP_NAME_LC}/bt 9 | COMPONENT kodi-eventclients-common) 10 | 11 | # Install kodi-eventclients-common PS3 python files 12 | @@ -208,7 +208,7 @@ 13 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/ps3/sixaxis.py 14 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/ps3/sixpair.py 15 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/ps3/sixwatch.py 16 | - DESTINATION lib/python2.7/dist-packages/${APP_NAME_LC}/ps3 17 | + DESTINATION lib/python2.7/site-packages/${APP_NAME_LC}/ps3 18 | COMPONENT kodi-eventclients-common) 19 | 20 | # Install kodi-eventclients-common python files 21 | @@ -218,7 +218,7 @@ 22 | "${CORE_SOURCE_DIR}/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py" 23 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/xbmcclient.py 24 | ${CORE_SOURCE_DIR}/tools/EventClients/lib/python/zeroconf.py 25 | - DESTINATION lib/python2.7/dist-packages/${APP_NAME_LC} 26 | + DESTINATION lib/python2.7/site-packages/${APP_NAME_LC} 27 | COMPONENT kodi-eventclients-common) 28 | 29 | # Install kodi-eventclients-common icons 30 | -------------------------------------------------------------------------------- /telldus/telldus-core-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('telldus-core-git') 3 | _srcname='telldus' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Driver and tools for controlling a Telldus Technologies TellStick' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/telldus/${_srcname}" 9 | license=('LGPL2') 10 | 11 | depends=('libftdi-compat' 'confuse') 12 | makedepends=('gcc' 'cmake' 'make' 'git' 'doxygen') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=( 17 | "${_srcname}::git+${url}.git" 18 | 'telldusd.service' 19 | 'pthread.patch' 20 | 'uucp.patch' 21 | 'bin.patch' 22 | ) 23 | sha512sums=( 24 | 'SKIP' 25 | 'SKIP' 26 | 'SKIP' 27 | 'SKIP' 28 | 'SKIP' 29 | ) 30 | 31 | backup=('etc/tellstick.conf') 32 | 33 | pkgver() { 34 | cd "${srcdir}/${_srcname}" 35 | 36 | printf 'r%s.%s.%s\n' \ 37 | "$( git rev-list --count 'HEAD' )" \ 38 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 39 | "$( git rev-parse --short 'HEAD' )" 40 | } 41 | 42 | prepare() { 43 | cd "${srcdir}/${_srcname}" 44 | 45 | git apply "${srcdir}/pthread.patch" 46 | git apply "${srcdir}/uucp.patch" 47 | git apply "${srcdir}/bin.patch" 48 | } 49 | 50 | build() { 51 | cd "${srcdir}/${_srcname}/telldus-core" 52 | 53 | export CXXFLAGS="${CXXFLAGS} -Wno-narrowing" 54 | cmake \ 55 | -DCMAKE_INSTALL_PREFIX=/usr \ 56 | -DFORCE_COMPILE_FROM_TRUNK=TRUE \ 57 | -DSTATE_INSTALL_DIR='/var/lib/telldus' \ 58 | . 59 | make -j1 60 | } 61 | 62 | package() { 63 | cd "${srcdir}/${_srcname}/telldus-core" 64 | 65 | make DESTDIR="${pkgdir}" install 66 | 67 | install -D --mode=644 \ 68 | "${srcdir}/telldusd.service" \ 69 | "${pkgdir}/usr/lib/systemd/system/telldusd.service" 70 | } 71 | -------------------------------------------------------------------------------- /shotcut/mlt-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('mlt-git') 3 | _srcname='mlt' 4 | pkgdesc='Multimedia Framework' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/mltframework/${_srcname}" 9 | license=('GPL2') 10 | 11 | optdepends=( 12 | 'sdl_image: for SDL plugin' 13 | 'libsamplerate: for libavresample plugin' 14 | 'sox: for SOX (Audio Swiss Army Knife) plugin' 15 | 'ffmpeg: for ffmpeg plugin' 16 | 'vid.stab: for video stabilize plugin' 17 | 'gtk2: Gtk plugin' 18 | 'qt5-svg: for Qt5 plugins' 19 | 'jack: for JACK sound output plugin' 20 | 'libexif: for auto rotate plugin' 21 | 'frei0r-plugins: for additional effects' 22 | 'movit: opengl plugin' 23 | ) 24 | makedepends=( 25 | 'ladspa' 26 | 'frei0r-plugins' 27 | 'libdv' 28 | 'sdl_image' 29 | 'libsamplerate' 30 | 'sox' 31 | 'ffmpeg' 32 | 'vid.stab' 33 | 'qt5-svg' 34 | 'jack' 35 | 'libexif' 36 | 'python2' 37 | 'swig' 38 | 'git' 39 | 'movit' 40 | ) 41 | provides=("${pkgname[0]%-git}") 42 | conflicts=("${pkgname[0]%-git}") 43 | 44 | source=("${_srcname}::git+${url}.git") 45 | sha512sums=('SKIP') 46 | 47 | pkgver() { 48 | cd "${srcdir}/${_srcname}" 49 | 50 | printf 'r%s.%s.%s\n' \ 51 | "$( git rev-list --count 'HEAD' )" \ 52 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 53 | "$( git rev-parse --short 'HEAD' )" 54 | } 55 | 56 | build() { 57 | cd "${srcdir}/${_srcname}" 58 | 59 | ./configure \ 60 | --prefix='/usr' \ 61 | --avformat-swscale \ 62 | --enable-gpl \ 63 | --enable-gpl3 \ 64 | --qt-libdir='/usr/lib' \ 65 | --qt-includedir='/usr/include/qt' 66 | 67 | make 68 | } 69 | 70 | package() { 71 | cd "${srcdir}/${_srcname}" 72 | 73 | make DESTDIR="${pkgdir}" install 74 | } 75 | -------------------------------------------------------------------------------- /kodi/kodi/fix-ftpparse.patch: -------------------------------------------------------------------------------- 1 | --- a/xbmc/filesystem/FTPParse.cpp 2017-05-24 22:49:32.000000000 +0200 2 | +++ b/xbmc/filesystem/FTPParse.cpp 2017-07-15 14:15:54.908823456 +0200 3 | @@ -34,7 +34,7 @@ 4 | m_time = 0; 5 | } 6 | 7 | -string CFTPParse::getName() 8 | +std::string CFTPParse::getName() 9 | { 10 | return m_name; 11 | } 12 | @@ -59,16 +59,16 @@ 13 | return m_time; 14 | } 15 | 16 | -void CFTPParse::setTime(string str) 17 | +void CFTPParse::setTime(std::string str) 18 | { 19 | /* Variables used to capture patterns via the regexes */ 20 | - string month; 21 | - string day; 22 | - string year; 23 | - string hour; 24 | - string minute; 25 | - string second; 26 | - string am_or_pm; 27 | + std::string month; 28 | + std::string day; 29 | + std::string year; 30 | + std::string hour; 31 | + std::string minute; 32 | + std::string second; 33 | + std::string am_or_pm; 34 | 35 | /* time struct used to set the time_t variable */ 36 | struct tm time_struct = {}; 37 | @@ -338,21 +338,21 @@ 38 | return day_of_week; 39 | } 40 | 41 | -int CFTPParse::FTPParse(string str) 42 | +int CFTPParse::FTPParse(std::string str) 43 | { 44 | /* Various variable to capture patterns via the regexes */ 45 | - string permissions; 46 | - string link_count; 47 | - string owner; 48 | - string group; 49 | - string size; 50 | - string date; 51 | - string name; 52 | - string type; 53 | - string stuff; 54 | - string facts; 55 | - string version; 56 | - string file_id; 57 | + std::string permissions; 58 | + std::string link_count; 59 | + std::string owner; 60 | + std::string group; 61 | + std::string size; 62 | + std::string date; 63 | + std::string name; 64 | + std::string type; 65 | + std::string stuff; 66 | + std::string facts; 67 | + std::string version; 68 | + std::string file_id; 69 | 70 | /* Regex for standard Unix listing formats */ 71 | pcrecpp::RE unix_re("^([-bcdlps])" // type 72 | -------------------------------------------------------------------------------- /victoriametrics/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Giovanni Harting <539@idlegandalf.com> 2 | # Contributor: KawaiDesu 3 | 4 | pkgname=victoriametrics 5 | _capname=VictoriaMetrics 6 | pkgver=1.93.7 7 | pkgrel=1 8 | pkgdesc="Fast, cost-effective and scalable time series database" 9 | arch=('x86_64') 10 | url="https://victoriametrics.github.io" 11 | license=('Apache') 12 | depends=('glibc') 13 | makedepends=('go') 14 | backup=('etc/default/victoriametrics') 15 | source=("https://github.com/VictoriaMetrics/VictoriaMetrics/archive/refs/tags/v$pkgver.tar.gz" 16 | "victoriametrics.service" 17 | "victoriametrics.default") 18 | b2sums=('59d84a8b3543e036a5680f7cd67be7570bfd1d3f2360aaae66f37c18775af80841103a90483251aa333a96fbe4a73382ad7f05c4f72bdfe5d290ee95af3edf81' 19 | 'dfe05a39758258ad3298332dc18f35544cbf40c3257208823321f9631581ab9bfc7465018eb02a9990d3df852887e4715478abe7816354effd781a9c13026168' 20 | '4405dc19795d2cbfa515e4750a2cad77c13611293176ff5aeec597f9905494902bd4496c1e90f1efe2d484e383adb39d034167673b9fe7de8b307b8cedf17b7f') 21 | 22 | build() { 23 | cd "$_capname-$pkgver" 24 | 25 | CGO_ENABLED=1 GOOS=linux GOARCH=amd64 GO111MODULE=on CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ 26 | go build -trimpath \ 27 | -buildmode=pie \ 28 | -mod=readonly \ 29 | -modcacherw \ 30 | -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ 31 | -o bin/victoria-metrics \ 32 | ./app/victoria-metrics 33 | } 34 | 35 | check() { 36 | cd "$_capname-$pkgver" 37 | 38 | go test ./app/victoria-metrics 39 | } 40 | 41 | package() { 42 | install -Dm 755 "${srcdir}/${_capname}-${pkgver}"/bin/victoria-metrics -t "${pkgdir}"/usr/bin/ 43 | install -Dm 644 victoriametrics.service -t "${pkgdir}"/usr/lib/systemd/system/ 44 | install -Dm 644 victoriametrics.default "${pkgdir}"/etc/default/victoriametrics 45 | } 46 | -------------------------------------------------------------------------------- /heka/heka/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('heka') 3 | _srcname='heka' 4 | pkgdesc='Data collection and processing made easy' 5 | pkgver='0.10.0' 6 | pkgrel='7' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/mozilla-services/${_srcname}" 9 | license=('MPL2') 10 | 11 | depends=('geoip') 12 | makedepends=( 13 | 'cmake' 14 | 'gcc' 15 | 'git' 16 | 'go' 17 | 'make' 18 | 'mercurial' 19 | 'patch' 20 | ) 21 | optdepends=('geoip-database-extra: GeoIpDecoder') 22 | 23 | source=( 24 | "${_srcname}::git+${url}.git#tag=v${pkgver}" 25 | 'heka.service' 26 | 'cmake.patch' 27 | ) 28 | sha512sums=( 29 | 'SKIP' 30 | 'SKIP' 31 | 'SKIP' 32 | ) 33 | 34 | install='install.sh' 35 | 36 | prepare() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | git apply "${srcdir}/cmake.patch" 40 | } 41 | 42 | build() { 43 | path_build="${srcdir}/build" 44 | mkdir --parents "${path_build}" 45 | cd "${path_build}" 46 | 47 | export GOPATH="${path_build}/heka" 48 | export LD_LIBRARY_PATH="${GOPATH}/lib" 49 | export DYLD_LIBRARY_PATH="${GOPATH}/lib" 50 | export GOBIN="${GOPATH}/bin" 51 | export PATH="${GOBIN}:${PATH}" 52 | export CTEST_OUTPUT_ON_FAILURE=1 53 | 54 | cmake \ 55 | -DCMAKE_INSTALL_PREFIX='/usr' \ 56 | -DCMAKE_BUILD_TYPE='release' \ 57 | -DHEKA_PATH='/usr/share/heka' \ 58 | "${srcdir}/${_srcname}" 59 | make 60 | } 61 | 62 | package() { 63 | path_build="${srcdir}/build" 64 | cd "${path_build}" 65 | 66 | export GOPATH="${path_build}/heka" 67 | export GOBIN="${GOPATH}/bin" 68 | export PATH="${GOBIN}:${PATH}" 69 | 70 | make DESTDIR="${pkgdir}" install 71 | 72 | install --owner='533' --group='533' --mode='750' --directory "${pkgdir}/var/cache/hekad" 73 | install --directory "${pkgdir}/etc/heka/conf.d" 74 | install -D --mode='644' "${srcdir}/heka.service" "${pkgdir}/usr/lib/systemd/system/heka.service" 75 | } 76 | -------------------------------------------------------------------------------- /vim/neovim-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('neovim-git') 3 | _srcname='neovim' 4 | pkgdesc='Vim-fork focused on extensibility and agility' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('x86_64') 8 | url="https://github.com/nfnty/${_srcname}" 9 | license=('custom:neovim') 10 | 11 | depends=('libtermkey' 'libuv' 'libvterm' 'msgpack-c' 'unibilium') 12 | optdepends=( 13 | 'python2-neovim: for Python 2 plugin support (see :help provider-python)' 14 | 'python-neovim: for Python 3 plugin support (see :help provider-python)' 15 | 'xclip: for clipboard support (or xsel) (see :help provider-clipboard)' 16 | 'xsel: for clipboard support (or xclip) (see :help provider-clipboard)' 17 | ) 18 | makedepends=('git' 'cmake' 'gperf' 'luajit' 'lua51-mpack' 'lua51-lpeg' 'clang') 19 | provides=("${pkgname[0]%-git}") 20 | conflicts=("${pkgname[0]%-git}") 21 | 22 | source=("${_srcname}::git+${url}.git") 23 | sha512sums=('SKIP') 24 | 25 | options=('strip' '!debug') 26 | 27 | pkgver() { 28 | cd "${srcdir}/${_srcname}" 29 | 30 | printf 'r%s.%s.%s\n' \ 31 | "$( git rev-list --count 'HEAD' )" \ 32 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 33 | "$( git rev-parse --short 'HEAD' )" 34 | } 35 | 36 | build() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | mkdir build 40 | cd build 41 | 42 | export CC='/usr/bin/clang' 43 | export CXX='/usr/bin/clang++' 44 | export CFLAGS='-march=x86-64' 45 | export CXXFLAGS='-march=x86-64' 46 | # export DEBUG_CFLAGS='-g' 47 | # export DEBUG_CXXFLAGS='-g' 48 | cmake \ 49 | -G 'Unix Makefiles' \ 50 | -DCMAKE_BUILD_TYPE='Release' \ 51 | -DCMAKE_INSTALL_PREFIX='/usr' \ 52 | .. 53 | 54 | make 55 | } 56 | 57 | check() { 58 | cd "${srcdir}/${_srcname}/build" 59 | ./bin/nvim --version 60 | ./bin/nvim --headless -u NONE -i NONE -c ':quit' 61 | } 62 | 63 | package() { 64 | cd "${srcdir}/${_srcname}/build" 65 | 66 | make DESTDIR="${pkgdir}" install 67 | } 68 | -------------------------------------------------------------------------------- /telldus/telldus-core-git/bin.patch: -------------------------------------------------------------------------------- 1 | diff --git a/telldus-core/service/CMakeLists.txt b/telldus-core/service/CMakeLists.txt 2 | index b2c8999f..b3787f5d 100644 3 | --- a/telldus-core/service/CMakeLists.txt 4 | +++ b/telldus-core/service/CMakeLists.txt 5 | @@ -254,7 +254,7 @@ IF (UNIX) 6 | ENDIF (UNIX) 7 | 8 | IF (UNIX AND NOT APPLE) 9 | - INSTALL(TARGETS ${telldus-service_TARGET} RUNTIME DESTINATION sbin) 10 | + INSTALL(TARGETS ${telldus-service_TARGET} RUNTIME DESTINATION bin) 11 | INSTALL(FILES tellstick.conf 12 | DESTINATION ${SYSCONF_INSTALL_DIR} 13 | ) 14 | diff --git a/telldus-core/tdadmin/CMakeLists.txt b/telldus-core/tdadmin/CMakeLists.txt 15 | index 16c2bc76..e846ecd4 100644 16 | --- a/telldus-core/tdadmin/CMakeLists.txt 17 | +++ b/telldus-core/tdadmin/CMakeLists.txt 18 | @@ -56,7 +56,7 @@ IF (UNIX) 19 | ENDIF (GENERATE_MAN) 20 | ENDIF (UNIX) 21 | 22 | -INSTALL(TARGETS tdadmin RUNTIME DESTINATION sbin) 23 | +INSTALL(TARGETS tdadmin RUNTIME DESTINATION bin) 24 | 25 | IF (UNIX AND NOT APPLE AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 26 | SET(UDEV_RULES_DIR "/etc/udev/rules.d" CACHE PATH "The directory where udev store its rules" ) 27 | diff --git a/telldus-core/tdadmin/udev.sh b/telldus-core/tdadmin/udev.sh 28 | index 3b935d78..074c7dc7 100755 29 | --- a/telldus-core/tdadmin/udev.sh 30 | +++ b/telldus-core/tdadmin/udev.sh 31 | @@ -2,8 +2,8 @@ 32 | 33 | if [ "${ID_VENDOR_ID}" = "1781" ]; then 34 | if [ "${ACTION}" = "add" ]; then 35 | - @CMAKE_INSTALL_PREFIX@/sbin/tdadmin controller connect --pid=${ID_MODEL_ID} --vid=${ID_VENDOR_ID} --serial=${ID_SERIAL_SHORT} 36 | + @CMAKE_INSTALL_PREFIX@/bin/tdadmin controller connect --pid=${ID_MODEL_ID} --vid=${ID_VENDOR_ID} --serial=${ID_SERIAL_SHORT} 37 | elif [ "${ACTION}" = "remove" ]; then 38 | - @CMAKE_INSTALL_PREFIX@/sbin/tdadmin controller disconnect --pid=${ID_MODEL_ID} --vid=${ID_VENDOR_ID} --serial=${ID_SERIAL_SHORT} 39 | + @CMAKE_INSTALL_PREFIX@/bin/tdadmin controller disconnect --pid=${ID_MODEL_ID} --vid=${ID_VENDOR_ID} --serial=${ID_SERIAL_SHORT} 40 | fi 41 | fi 42 | -------------------------------------------------------------------------------- /grafana/grafana/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('grafana') 3 | _srcname='grafana' 4 | _pkgbasename="${pkgname[0]%-git}" 5 | pkgdesc='Feature rich metrics dashboard and graph editor' 6 | pkgver='6.5.0' 7 | _commit='24a5d2fe8b3eb9111861b11f5b718da52717c6cd' 8 | pkgrel='1' 9 | arch=('i686' 'x86_64') 10 | url="https://github.com/grafana/${_srcname}" 11 | license=('Apache') 12 | 13 | makedepends=('git' 'go' 'npm' 'python2' 'yarn') 14 | 15 | source=( 16 | "${_srcname}::git+${url}.git" 17 | 'package_json.patch' 18 | ) 19 | sha512sums=( 20 | 'SKIP' 21 | 'SKIP' 22 | ) 23 | 24 | _url_go="${url#*//}" 25 | 26 | prepare() { 27 | cd "${srcdir}/${_srcname}" 28 | export GOPATH="${srcdir}/gopath" 29 | 30 | mkdir --parents "${GOPATH}/src/${_url_go}" 31 | rm --recursive "${GOPATH}/src/${_url_go}" 32 | ln --symbolic --relative --force "${srcdir}/${_srcname}" "${GOPATH}/src/${_url_go}" 33 | 34 | cd "${GOPATH}/src/${_url_go}" 35 | git remote set-url origin "${url}" 36 | go run build.go setup 37 | git checkout --quiet "${_commit}" 38 | git apply "${srcdir}/package_json.patch" 39 | 40 | npm install 41 | } 42 | 43 | build() { 44 | cd "${srcdir}/${_srcname}" 45 | export GOPATH="${srcdir}/gopath" 46 | 47 | cd "${GOPATH}/src/${_url_go}" 48 | go run build.go build 49 | 50 | yarn install 51 | npm run build release 52 | } 53 | 54 | package() { 55 | cd "${srcdir}/${_srcname}" 56 | export GOPATH="${srcdir}/gopath" 57 | 58 | install --directory "${pkgdir}/"{"etc/${_pkgbasename}",usr/bin,"usr/share/${_pkgbasename}","var/lib/${_pkgbasename}"} 59 | install --target-directory="${pkgdir}/usr/bin" bin/linux-amd64/grafana-cli bin/linux-amd64/grafana-server 60 | 61 | install -D --mode='644' conf/defaults.ini "${pkgdir}/usr/share/${_pkgbasename}/conf/defaults.ini" 62 | install -D --mode='644' conf/sample.ini "${pkgdir}/etc/${_pkgbasename}/grafana.ini" 63 | 64 | for dir in vendor public tools; do 65 | cp --recursive "${dir}" "${pkgdir}/usr/share/${_pkgbasename}/" 66 | done 67 | 68 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}" 69 | } 70 | -------------------------------------------------------------------------------- /heka/heka-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('heka-git') 3 | _srcname='heka' 4 | pkgdesc='Data collection and processing made easy' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/nfnty/${_srcname}" 9 | license=('MPL2') 10 | 11 | depends=('geoip') 12 | makedepends=( 13 | 'cmake' 14 | 'gcc' 15 | 'git' 16 | 'go' 17 | 'make' 18 | 'mercurial' 19 | 'patch' 20 | ) 21 | optdepends=('geoip-database-extra: GeoIpDecoder') 22 | provides=("${pkgname[0]%-git}") 23 | conflicts=("${pkgname[0]%-git}") 24 | 25 | source=( 26 | "${_srcname}::git+${url}.git" 27 | 'heka.service' 28 | ) 29 | sha512sums=( 30 | 'SKIP' 31 | 'SKIP' 32 | ) 33 | 34 | install='install.sh' 35 | 36 | pkgver() { 37 | cd "${srcdir}/${_srcname}" 38 | 39 | printf 'r%s.%s.%s\n' \ 40 | "$( git rev-list --count 'HEAD' )" \ 41 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 42 | "$( git rev-parse --short 'HEAD' )" 43 | } 44 | 45 | build() { 46 | path_build="${srcdir}/build" 47 | mkdir --parents "${path_build}" 48 | cd "${path_build}" 49 | 50 | export GOPATH="${path_build}/heka" 51 | export LD_LIBRARY_PATH="${GOPATH}/lib" 52 | export DYLD_LIBRARY_PATH="${GOPATH}/lib" 53 | export GOBIN="${GOPATH}/bin" 54 | export PATH="${GOBIN}:${PATH}" 55 | export CTEST_OUTPUT_ON_FAILURE=1 56 | export GO111MODULE='off' 57 | 58 | cmake \ 59 | -DCMAKE_INSTALL_PREFIX='/usr' \ 60 | -DCMAKE_BUILD_TYPE='release' \ 61 | -DHEKA_PATH='/usr/share/heka' \ 62 | -DINCLUDE_SANDBOX='OFF' \ 63 | "${srcdir}/${_srcname}" 64 | make 65 | } 66 | 67 | package() { 68 | path_build="${srcdir}/build" 69 | cd "${path_build}" 70 | 71 | export GOPATH="${path_build}/heka" 72 | export GOBIN="${GOPATH}/bin" 73 | export PATH="${GOBIN}:${PATH}" 74 | 75 | make DESTDIR="${pkgdir}" install 76 | 77 | install --owner='533' --group='533' --mode='750' --directory "${pkgdir}/var/cache/hekad" 78 | install --directory "${pkgdir}/etc/heka/conf.d" 79 | install -D --mode='644' "${srcdir}/heka.service" "${pkgdir}/usr/lib/systemd/system/heka.service" 80 | } 81 | -------------------------------------------------------------------------------- /telldus/telldus-core-git/uucp.patch: -------------------------------------------------------------------------------- 1 | diff --git a/telldus-core/service/SettingsConfuse.cpp b/telldus-core/service/SettingsConfuse.cpp 2 | index 0503041..285c92a 100644 3 | --- a/telldus-core/service/SettingsConfuse.cpp 4 | +++ b/telldus-core/service/SettingsConfuse.cpp 5 | @@ -396,7 +396,7 @@ bool readConfig(cfg_t **cfg) { 6 | 7 | cfg_opt_t opts[] = { 8 | CFG_STR(const_cast("user"), const_cast("nobody"), CFGF_NONE), 9 | - CFG_STR(const_cast("group"), const_cast("plugdev"), CFGF_NONE), 10 | + CFG_STR(const_cast("group"), const_cast("uucp"), CFGF_NONE), 11 | CFG_STR(const_cast("deviceNode"), const_cast("/dev/tellstick"), CFGF_NONE), 12 | CFG_STR(const_cast("ignoreControllerConfirmation"), const_cast("false"), CFGF_NONE), 13 | CFG_SEC(const_cast("device"), device_opts, CFGF_MULTI), 14 | diff --git a/telldus-core/service/tellstick.conf b/telldus-core/service/tellstick.conf 15 | index fed9c66..eba48cc 100644 16 | --- a/telldus-core/service/tellstick.conf 17 | +++ b/telldus-core/service/tellstick.conf 18 | @@ -1,5 +1,5 @@ 19 | user = "nobody" 20 | -group = "plugdev" 21 | +group = "uucp" 22 | ignoreControllerConfirmation = "false" 23 | device { 24 | id = 1 25 | diff --git a/telldus-core/tdadmin/05-tellstick.rules b/telldus-core/tdadmin/05-tellstick.rules 26 | index b450b35..685ad97 100644 27 | --- a/telldus-core/tdadmin/05-tellstick.rules 28 | +++ b/telldus-core/tdadmin/05-tellstick.rules 29 | @@ -1,3 +1,3 @@ 30 | -ATTRS{idVendor}=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="plugdev", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="@CMAKE_INSTALL_PREFIX@/share/telldus-core/helpers/udev.sh" 31 | +ATTRS{idVendor}=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="uucp", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="@CMAKE_INSTALL_PREFIX@/share/telldus-core/helpers/udev.sh" 32 | ENV{ID_VENDOR_ID}=="1781", SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_VENDOR_ID}="$attr{idVendor}", ENV{ID_MODEL_ID}="$attr{idProduct}", ENV{ID_SERIAL_SHORT}="$attr{serial}", RUN+="@CMAKE_INSTALL_PREFIX@/share/telldus-core/helpers/udev.sh" 33 | 34 | -------------------------------------------------------------------------------- /ntp/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: 2 | # Contributor: Lukas Fleischer 3 | # Contributor: Christian Heusel 4 | # Contributor: Gaetan Bisson 5 | # Contributor: kevin 6 | 7 | pkgname=ntp 8 | _pkgname=ntp #-dev 9 | _pkgver=4.2.8p18 10 | pkgver=${_pkgver/p/.p} 11 | pkgrel=1 12 | pkgdesc='Network Time Protocol reference implementation' 13 | url='https://www.ntp.org/' 14 | license=('custom') 15 | arch=('x86_64') 16 | depends=('openssl' 'perl' 'libcap' 'libedit') 17 | backup=('etc/ntp.conf') 18 | source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz" 19 | ntp-4.2.8.p18-fix-build.patch 20 | 'ntp.conf' 21 | 'ntpd.service' 22 | 'ntpdate.service' 23 | 'noroot.patch' 24 | 'ntp.sysusers') 25 | sha256sums=('cf84c5f3fb1a295284942624d823fffa634144e096cfc4f9969ac98ef5f468e5' 26 | '9c4afa0daed5fd3cc9544ec808b2bb1dd959e5d40c4cae307b7025b16885903c' 27 | 'abccefe0b3a65cd375d5071ce780be8d2d205439aa6d34bcd3c56de6e80ba821' 28 | '1edd7e7916766b4aebb4d96a5da4b0a1086f43d3e0e4ffc90c2e4f92bd13ce7e' 29 | '63b0f8c03905daecad3f901664db70a608519b6ca4f4e7b159ab2c971cffacf4' 30 | 'SKIP' 31 | 'f839a3b6d8e64fcd9332274131b4d5aa0b2c272db072dc310af1735ef286746a') 32 | options=('!emptydirs') 33 | 34 | prepare() { 35 | cd "${_pkgname}-${_pkgver}" 36 | 37 | patch --strip=1 --input="${srcdir}/noroot.patch" 38 | patch -Np1 < ../ntp-4.2.8.p18-fix-build.patch 39 | autoreconf -fiv 40 | } 41 | 42 | build() { 43 | cd "${_pkgname}-${_pkgver}" 44 | 45 | ./configure --prefix=/usr --libexecdir=/usr/lib --enable-linuxcaps --enable-ntp-signd 46 | make 47 | } 48 | 49 | package() { 50 | cd "${_pkgname}-${_pkgver}" 51 | 52 | make DESTDIR="${pkgdir}" install 53 | 54 | install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf 55 | install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service 56 | install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service 57 | install -Dm644 ../ntp.sysusers "${pkgdir}"/usr/lib/sysusers.d/ntp.conf 58 | install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 59 | 60 | install -d -o 87 "${pkgdir}"/var/lib/ntp 61 | echo > "${pkgdir}/var/lib/ntp/.placeholder" 62 | } 63 | -------------------------------------------------------------------------------- /grafana/grafana-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('grafana-git') 3 | _srcname='grafana' 4 | _pkgbasename="${pkgname[0]%-git}" 5 | pkgdesc='Feature rich metrics dashboard and graph editor' 6 | pkgver='r9117' 7 | pkgrel='1' 8 | arch=('i686' 'x86_64') 9 | url="https://github.com/grafana/${_srcname}" 10 | license=('Apache') 11 | 12 | makedepends=('git' 'go' 'npm' 'python2') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | _url_go="${url#*//}" 20 | 21 | pkgver() { 22 | export GOPATH="${srcdir}/gopath" 23 | cd "${GOPATH}/src/${_url_go}" 24 | 25 | printf 'r%s.%s.%s\n' \ 26 | "$( git rev-list --count 'HEAD' )" \ 27 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 28 | "$( git rev-parse --short 'HEAD' )" 29 | } 30 | 31 | prepare() { 32 | cd "${srcdir}/${_srcname}" 33 | export GOPATH="${srcdir}/gopath" 34 | 35 | mkdir --parents "${GOPATH}/src/${_url_go}" 36 | rm --recursive "${GOPATH}/src/${_url_go}" 37 | ln --symbolic --relative --force "${srcdir}/${_srcname}" "${GOPATH}/src/${_url_go}" 38 | 39 | cd "${GOPATH}/src/${_url_go}" 40 | git remote set-url origin "${url}" 41 | go run build.go setup 42 | "${GOPATH}/bin/govendor" sync 43 | 44 | npm install 45 | } 46 | 47 | build() { 48 | cd "${srcdir}/${_srcname}" 49 | export GOPATH="${srcdir}/gopath" 50 | 51 | cd "${GOPATH}/src/${_url_go}" 52 | go run build.go build 53 | 54 | npm run build 55 | } 56 | 57 | package() { 58 | cd "${srcdir}/${_srcname}" 59 | export GOPATH="${srcdir}/gopath" 60 | 61 | install --directory "${pkgdir}/"{"etc/${_pkgbasename}",usr/bin,"usr/share/${_pkgbasename}","var/lib/${_pkgbasename}"} 62 | install --target-directory="${pkgdir}/usr/bin" bin/grafana-cli bin/grafana-server 63 | 64 | install -D --mode='644' conf/defaults.ini "${pkgdir}/usr/share/${_pkgbasename}/conf/defaults.ini" 65 | install -D --mode='644' conf/sample.ini "${pkgdir}/etc/${_pkgbasename}/grafana.ini" 66 | 67 | install --directory "${pkgdir}/usr/share/${_pkgbasename}/vendor" 68 | cp --recursive vendor/phantomjs "${pkgdir}/usr/share/${_pkgbasename}/vendor/" 69 | cp --recursive public_gen "${pkgdir}/usr/share/${_pkgbasename}/public" 70 | 71 | chmod --recursive 'u=rwX,g=rX,o=rX' "${pkgdir}" 72 | } 73 | -------------------------------------------------------------------------------- /alacritty/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Christian Rebischke 2 | # Maintainer: Jiachen YANG 3 | # Contributor: kpcyrd 4 | # Contributor: quininer 5 | pkgname='alacritty' 6 | pkgdesc="A cross-platform, GPU-accelerated terminal emulator" 7 | pkgver=0.5.0 8 | pkgrel=3 9 | arch=('x86_64') 10 | url="https://github.com/alacritty/alacritty" 11 | license=('Apache') 12 | makedepends=('git' 'rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils' 'gdb' 'libxcb') 13 | depends=('freetype2' 'fontconfig' 'libxi' 'libxcursor' 'libxrandr') 14 | checkdepends=('ttf-dejavu') # for monospace fontconfig test 15 | optdepends=('ncurses: for alacritty terminfo database') 16 | source=("git+https://github.com/alacritty/alacritty.git#tag=v${pkgver}?signed" 17 | "launch_delay.patch" 18 | "4275.patch") 19 | validpgpkeys=('4DAA67A9EA8B91FCC15B699C85CDAE3C164BA7B4') # Christian Dürr 20 | sha256sums=('SKIP' 21 | 'SKIP' 22 | '2379ff743b6616fb0d61bfb1800a58a6e25d33f8e7b62a859cbe57ac83056aef') 23 | 24 | prepapre() { 25 | cd "$pkgname" 26 | patch -p1 < "${srcdir}/4275.patch" 27 | patch --strip=1 --input="${srcdir}/launch_delay.patch" 28 | } 29 | 30 | build(){ 31 | cd "$pkgname" 32 | env CARGO_INCREMENTAL=0 cargo build --release --locked 33 | } 34 | 35 | check(){ 36 | cd "$pkgname" 37 | env CARGO_INCREMENTAL=0 cargo test --release --locked 38 | } 39 | 40 | package() { 41 | cd "$pkgname" 42 | desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "extra/linux/Alacritty.desktop" 43 | install -D -m755 "target/release/alacritty" "$pkgdir/usr/bin/alacritty" 44 | install -D -m644 "extra/alacritty.man" "$pkgdir/usr/share/man/man1/alacritty.1" 45 | install -D -m644 "extra/linux/io.alacritty.Alacritty.appdata.xml" "$pkgdir/usr/share/appdata/io.alacritty.Alacritty.appdata.xml" 46 | install -D -m644 "alacritty.yml" "$pkgdir/usr/share/doc/alacritty/example/alacritty.yml" 47 | install -D -m644 "extra/completions/alacritty.bash" "$pkgdir/usr/share/bash-completion/completions/alacritty" 48 | install -D -m644 "extra/completions/_alacritty" "$pkgdir/usr/share/zsh/site-functions/_alacritty" 49 | install -D -m644 "extra/completions/alacritty.fish" "$pkgdir/usr/share/fish/vendor_completions.d/alacritty.fish" 50 | install -D -m644 "extra/logo/alacritty-term.svg" "$pkgdir/usr/share/pixmaps/Alacritty.svg" 51 | } 52 | -------------------------------------------------------------------------------- /ulogd-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('ulogd-git') 3 | _srcname='ulogd' 4 | pkgdesc='Userspace logging daemon for netfilter/iptables related logging' 5 | pkgver='r1' 6 | pkgrel='1' 7 | arch=('i686' 'x86_64') 8 | url='http://www.netfilter.org/projects/ulogd/index.html' 9 | license=('GPL2') 10 | 11 | depends=( 12 | 'libmnl' 13 | 'libnetfilter_acct' 14 | 'libnetfilter_conntrack' 15 | 'libnetfilter_log' 16 | 'libnfnetlink' 17 | ) 18 | makedepends=( 19 | 'git' 20 | 'libmariadbclient' 21 | 'libpcap' 22 | 'libdbi' 23 | 'postgresql-libs' 24 | 'sqlite' 25 | 'jansson' 26 | ) 27 | optdepends=( 28 | 'libmariadbclient: MySQL databases support' 29 | 'sqlite: SQLite3 databases support' 30 | 'postgresql-libs: PostgreSQL databases support' 31 | 'libdbi: DBI abstraction databases support' 32 | 'libpcap: PCAP output support' 33 | 'jansson: JSON output support' 34 | ) 35 | provides=("${pkgname[0]%-git}") 36 | conflicts=("${pkgname[0]%-git}") 37 | 38 | source=( 39 | "${_srcname}::git+git://git.netfilter.org/ulogd2" 40 | 'ulogd.service' 41 | 'ulogd.logrotate' 42 | 'ulogd.conf' 43 | ) 44 | sha512sums=( 45 | 'SKIP' 46 | 'SKIP' 47 | 'SKIP' 48 | 'SKIP' 49 | ) 50 | 51 | backup=('etc/ulogd.conf') 52 | 53 | pkgver() { 54 | cd "${srcdir}/${_srcname}" 55 | 56 | printf 'r%s.%s.%s\n' \ 57 | "$( git rev-list --count 'HEAD' )" \ 58 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 59 | "$( git rev-parse --short 'HEAD' )" 60 | } 61 | 62 | build() { 63 | cd "${srcdir}/${_srcname}" 64 | 65 | autoreconf --install --force --warnings='all' 66 | ./configure \ 67 | --prefix='/usr' \ 68 | --sbindir='/usr/bin' \ 69 | --sysconfdir='/etc' \ 70 | --with-mysql \ 71 | --with-pgsql \ 72 | --with-dbi 73 | 74 | make 75 | } 76 | 77 | package() { 78 | cd "${srcdir}/${_srcname}" 79 | 80 | make DESTDIR="${pkgdir}" install 81 | 82 | install --directory "${pkgdir}/usr/share/doc/ulogd" 83 | install --mode='644' ulogd.conf doc/*.{table,sql} "${pkgdir}/usr/share/doc/ulogd/" 84 | 85 | cd "${srcdir}" 86 | install -D --mode='644' ulogd.service "${pkgdir}/usr/lib/systemd/system/ulogd.service" 87 | install -D --mode='644' ulogd.logrotate "${pkgdir}/etc/logrotate.d/ulogd" 88 | install -D --mode='644' ulogd.conf "${pkgdir}/etc/ulogd.conf" 89 | } 90 | -------------------------------------------------------------------------------- /protonmail-bridge-nogui/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: kausban 2 | # Contributor: Ali Molaei 3 | # Contributor: Lenovsky 4 | # Contributor: aimileus 5 | 6 | # Minimal fork of https://aur.archlinux.org/packages/protonmail-bridge/ 7 | # Compiled with 'nogui' option 8 | # Included is a user systemd service. Try: systemctl status --user bridge.service 9 | # You can login and register accounts using the interactive cli: protonmail-bridge --cli 10 | # Once you have everything configured and automated. You can enable and use bridge.service to run bridge in background. 11 | 12 | # The following is an alternative way to run the bridge in interactive cli mode encapsulated within a named screen session. 13 | # Can be added to bridge.service 14 | # ExecStart=/usr/bin/screen -Dm -S bridgedaemon sh -c "sleep 5; protonmail-bridge -c" 15 | # ExecStop=/usr/bin/screen -X -S bridgedaemon quit 16 | 17 | pkgname=protonmail-bridge-nogui 18 | pkgver=2.3.0 19 | pkgrel=1 20 | pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP" 21 | arch=('x86_64') 22 | url="https://github.com/ProtonMail/proton-bridge" 23 | license=('GPL3') 24 | makedepends=('go' 'gcc' 'git') 25 | depends=('libsecret') 26 | optdepends=('org.freedesktop.secrets: Applications that support Freedesktop secrets api' 27 | 'gnome-keyring: support for gnome keyring' 28 | 'pass: support for password-store') 29 | conflicts=('protonmail-bridge-bin' 'protonmail-bridge') 30 | options=('!emptydirs' '!strip') 31 | source=("git+https://github.com/ProtonMail/proton-bridge.git#tag=v${pkgver}" 32 | "bridge.service") 33 | sha256sums=('SKIP' 34 | '6b2fd1e042b55dc6d0ffe5eb44e82ffd233452b4571ef571132600e7ec0d5d82') 35 | 36 | prepare() { 37 | cd "${srcdir}"/proton-bridge/ 38 | export PATH=$PATH:$(go env GOPATH)/bin/ 39 | make clean 40 | } 41 | 42 | build() { 43 | cd "${srcdir}"/proton-bridge/ 44 | export PATH=$PATH:$(go env GOPATH)/bin/ 45 | make build-nogui 46 | } 47 | 48 | package() { 49 | install -Dm644 "${srcdir}"/bridge.service -t "${pkgdir}"/usr/lib/systemd/user/ 50 | cd "${srcdir}"/proton-bridge/ 51 | install -Dm644 ./LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"/ 52 | install -Dm644 ./Changelog.md -t "${pkgdir}"/usr/share/doc/"${pkgbame}"/ 53 | install -Dm755 ./proton-bridge "${pkgdir}"/usr/bin/protonmail-bridge 54 | } 55 | -------------------------------------------------------------------------------- /protonmail-bridge/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ali Molaei 2 | # Contributor: Lenovsky 3 | # Contributor: aimileus 4 | 5 | pkgname=protonmail-bridge 6 | pkgver=2.3.0 7 | pkgrel=1 8 | pkgdesc="Integrate ProtonMail paid account with any program that supports IMAP and SMTP" 9 | arch=('x86_64') 10 | url="https://protonmail.com/bridge" 11 | license=('GPL3') 12 | makedepends=('go' 'gcc' 'git') 13 | depends=('hicolor-icon-theme' 'libsecret' 'ttf-dejavu' 'libgl') 14 | optdepends=( 15 | 'org.freedesktop.secrets: Applications that support Freedesktop secrets api' 16 | 'gnome-keyring: gnome-keyring support' 17 | 'pass: pass support' 18 | ) 19 | conflicts=('protonmail-bridge-bin') 20 | options=('!emptydirs' '!strip') 21 | 22 | # Source to compile from tar.gz file 23 | source=("protonmail-bridge_${pkgver}.tar.gz::https://github.com/ProtonMail/proton-bridge/archive/refs/tags/v${pkgver}.tar.gz" 24 | "protonmail-bridge.desktop") 25 | 26 | # Source to compile to a specific tag 27 | #source=("git+https://github.com/ProtonMail/proton-bridge.git#tag=v${pkgver}" 28 | # "protonmail-bridge.desktop") 29 | 30 | # Source to compile to a specific commit 31 | #source=("git+https://github.com/ProtonMail/proton-bridge.git#commit=a219ecf3cbe4fa31517136131fc585e93b86c3dd" 32 | # "protonmail-bridge.desktop") 33 | 34 | sha256sums=('174abd106ca9b261dec0cb853c796a8aefd7cdb82006089482445558430b0d61' 35 | '226bc140ec5c34cfdff42b33058d045446a4006518d2660db932c7f51632b48a') 36 | 37 | prepare() { 38 | cd proton-bridge-${pkgver}/ 39 | # sed -i s/1.8.0+git/1.8.1+git/ Makefile 40 | export PATH=$PATH:$(go env GOPATH)/bin/ 41 | make clean 42 | } 43 | 44 | build(){ 45 | export PATH=$PATH:$(go env GOPATH)/bin/ 46 | cd ${srcdir}/proton-bridge-${pkgver}/ 47 | make build 48 | } 49 | 50 | package() { 51 | mkdir -p "${pkgdir}"/opt 52 | mkdir -p "${pkgdir}"/usr/bin 53 | cp -r proton-bridge-${pkgver}/cmd/Desktop-Bridge/deploy/linux/ "${pkgdir}"/opt/protonmail-bridge 54 | install -D -m644 "${pkgdir}"/opt/protonmail-bridge/LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"/ 55 | install -D -m644 "${pkgdir}"/opt/protonmail-bridge/logo.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/"${pkgname}".svg 56 | install -D -m644 "${srcdir}"/protonmail-bridge.desktop -t "${pkgdir}"/usr/share/applications/ 57 | ln -s "/opt/protonmail-bridge/proton-bridge" "$pkgdir/usr/bin/protonmail-bridge" 58 | } 59 | -------------------------------------------------------------------------------- /exim/dmarc_api_change.patch: -------------------------------------------------------------------------------- 1 | diff --git a/src/src/EDITME b/src/src/EDITME 2 | index 80bd07817..28d3d538e 100644 3 | --- a/src/src/EDITME 4 | +++ b/src/src/EDITME 5 | @@ -602,14 +602,17 @@ DISABLE_MAL_MKS=yes 6 | 7 | # Uncomment the following line to add DMARC checking capability, implemented 8 | # using libopendmarc libraries. You must have SPF and DKIM support enabled also. 9 | -# Library version libopendmarc-1.4.1-1.fc33.x86_64 (on Fedora 33) is known broken; 10 | -# 1.3.2-3 works. I seems that the OpenDMARC project broke their API. 11 | # SUPPORT_DMARC=yes 12 | # CFLAGS += -I/usr/local/include 13 | # LDFLAGS += -lopendmarc 14 | # Uncomment the following if you need to change the default. You can 15 | # override it at runtime (main config option dmarc_tld_file) 16 | # DMARC_TLD_FILE=/etc/exim/opendmarc.tlds 17 | +# 18 | +# Library version libopendmarc-1.4.1-1.fc33.x86_64 (on Fedora 33) is known broken; 19 | +# 1.3.2-3 works. It seems that the OpenDMARC project broke their API. 20 | +# Use this option if you need to build with an old library (1.3.x) 21 | +# DMARC_API=100300 22 | 23 | # Uncomment the following line to add ARC (Authenticated Received Chain) 24 | # support. You must have SPF and DKIM support enabled also. 25 | diff --git a/src/src/config.h.defaults b/src/src/config.h.defaults 26 | index 25ab75506..221705224 100644 27 | --- a/src/src/config.h.defaults 28 | +++ b/src/src/config.h.defaults 29 | @@ -150,6 +150,7 @@ Do not put spaces between # and the 'define'. 30 | #define SUPPORT_CRYPTEQ 31 | #define SUPPORT_DANE 32 | #define SUPPORT_DMARC 33 | +#define DMARC_API 100400 34 | #define DMARC_TLD_FILE "/etc/exim/opendmarc.tlds" 35 | #define SUPPORT_I18N 36 | #define SUPPORT_I18N_2008 37 | diff --git a/src/src/dmarc.c b/src/src/dmarc.c 38 | index 17bba9d75..ad0c26c91 100644 39 | --- a/src/src/dmarc.c 40 | +++ b/src/src/dmarc.c 41 | @@ -459,7 +459,12 @@ if (!dmarc_abort && !sender_host_authenticated) 42 | vs == PDKIM_VERIFY_INVALID ? DMARC_POLICY_DKIM_OUTCOME_TMPFAIL : 43 | DMARC_POLICY_DKIM_OUTCOME_NONE; 44 | libdm_status = opendmarc_policy_store_dkim(dmarc_pctx, US sig->domain, 45 | - dkim_result, US""); 46 | +/* The opendmarc project broke its API in a way we can't detect * easily. 47 | + * The EDITME provides a DMARC_API variable */ 48 | +#if DMARC_API >= 100400 49 | + sig->selector, 50 | +#endif 51 | + dkim_result, US""); 52 | DEBUG(D_receive) 53 | debug_printf("DMARC adding DKIM sender domain = %s\n", sig->domain); 54 | if (libdm_status != DMARC_PARSE_OKAY) 55 | -------------------------------------------------------------------------------- /systemd/systemd.install: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sd_booted() { 4 | [[ -d run/systemd/system && ! -L run/systemd/system ]] 5 | } 6 | 7 | add_journal_acls() { 8 | # ignore errors, since the filesystem might not support ACLs 9 | setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx var/log/journal/ 2>/dev/null 10 | : 11 | } 12 | 13 | post_common() { 14 | systemd-sysusers 15 | journalctl --update-catalog 16 | } 17 | 18 | _216_2_changes() { 19 | echo ':: Coredumps are handled by systemd by default. Collection behavior can be' 20 | echo ' tuned in /etc/systemd/coredump.conf.' 21 | } 22 | 23 | _219_2_changes() { 24 | if mkdir -m2755 var/log/journal/remote 2>/dev/null; then 25 | chgrp systemd-journal-remote var/log/journal/remote 26 | fi 27 | } 28 | 29 | _219_4_changes() { 30 | if ! systemctl is-enabled -q remote-fs.target; then 31 | systemctl enable -q remote-fs.target 32 | fi 33 | } 34 | 35 | _230_1_changes() { 36 | echo ':: systemd-bootchart is no longer included with systemd' 37 | } 38 | 39 | _232_8_changes() { 40 | # paper over possible effects of CVE-2016-10156 41 | local stamps=(/var/lib/systemd/timers/*.timer) 42 | 43 | if [[ -f ${stamps[0]} ]]; then 44 | chmod 0644 "${stamps[@]}" 45 | fi 46 | } 47 | 48 | _233_75_3_changes() { 49 | # upstream installs services to /etc, which we remove 50 | # to keep bus activation we re-enable systemd-resolved 51 | if systemctl is-enabled -q systemd-resolved.service; then 52 | systemctl reenable systemd-resolved.service 2>/dev/null 53 | fi 54 | } 55 | 56 | post_install() { 57 | systemd-machine-id-setup 58 | 59 | post_common "$@" 60 | 61 | add_journal_acls 62 | 63 | # enable some services by default, but don't track them 64 | systemctl enable getty@tty1.service remote-fs.target 65 | 66 | echo ":: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your" 67 | echo " bootloader to replace sysvinit with systemd, or install systemd-sysvcompat" 68 | 69 | # group 'systemd-journal-remote' is created by systemd-sysusers 70 | mkdir -m2755 var/log/journal/remote 71 | chgrp systemd-journal-remote var/log/journal/remote 72 | } 73 | 74 | post_upgrade() { 75 | post_common "$@" 76 | 77 | # don't reexec if the old version is 231-1 or 231-2. 78 | # https://github.com/systemd/systemd/commit/bd64d82c1c 79 | if [[ $1 != 231-[12] ]] && sd_booted; then 80 | systemctl --system daemon-reexec 81 | fi 82 | 83 | local v upgrades=( 84 | 216-2 85 | 219-2 86 | 219-4 87 | 230-1 88 | 232-8 89 | 233.75-3 90 | ) 91 | 92 | for v in "${upgrades[@]}"; do 93 | if [[ $(vercmp "$v" "$2") -eq 1 ]]; then 94 | "_${v//[.-]/_}_changes" 95 | fi 96 | done 97 | } 98 | 99 | # vim:set ts=2 sw=2 et: 100 | -------------------------------------------------------------------------------- /exim/keys/pgp/A986F3A6BD6377D8730958DEBCE58C8CE41F32DF.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP PUBLIC KEY BLOCK----- 2 | 3 | mQENBFWABsQBCADTFfb9EHGGiDel/iFzU0ag1RuoHfL/09z1y7iQlLynOAQTRRNw 4 | CWezmqpDp6zDFOf1Ldp0EdEQtUXva5g2lm3o56o+mnXrEQr11uZIcsfGIck7yV/y 5 | /17I7ApgXMPg/mcjifOTM9C7+Ptghf3jUhj4ErYMFQLelBGEZZifnnAoHLOEAH70 6 | DENCI08PfYRRG6lZDB09nPW7vVG8RbRUWjQyxQUWwXuq4gQohSFDqF4NE8zDHE/D 7 | gPJ/yFy+wFr2ab90DsE7vOYb42y95keKtTBp98/Y7/2xbzi8EYrXC+291dwZELMH 8 | nYLF5sO/fDcrDdwrde2cbZ+wtpJwtSYPNvVxABEBAAG0HkplcmVteSBIYXJyaXMg 9 | PGpnaEByZWRoYXQuY29tPokBTgQTAQgAOBYhBKmG86a9Y3fYcwlY3rzljIzkHzLf 10 | BQJeFjLkAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJELzljIzkHzLfAa8I 11 | AMbrIA28i3/L3+Wl24vNnO01kM5vgvC+4EFMop2ChBcGF8xJpTHB9Iwrq+oyRhgU 12 | BH6Z9c7jRivEmre+vA5G12im0bgGXZug8Qr62Eufn+YseX51Mdb0ryRX94jniAhe 13 | N/CUBZNSpQQUUrwywABlD52LhCYQjjeUCS+FWoveQUQqMfH5H56vF61jP9frdza7 14 | NjEwHBJhhly0eL70inub88WdHoGyqsa87oqr2hgwhkF90I2RBJijIZmOtbPds+Cb 15 | iRsaEh//d5n9vZyH6abnfmRhpxlzt3a8OPFI820X4YrF+o7vnRxza2Xg/sVkIUvU 16 | 0wUQKqpQ3qxVUsRtkVamqyS0JkplcmVteSBIYXJyaXMgKG5vbmUpIDxqZ2hAd2l6 17 | bWFpbC5vcmc+iQFOBBMBCAA4FiEEqYbzpr1jd9hzCVjevOWMjOQfMt8FAl4WMuMC 18 | GwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQvOWMjOQfMt946ggAvqDr2jvV 19 | nGIN2Njnjl2iiKyw4dYdFzNhZgjTaryiV90BftUDxRsBuTVFUC6XU+B13MEgSK0z 20 | RDyI5NpEH+JTW539gWlmz2k2WTTmoBsm/js1ELoAjGr/i32SByqm0fo3JPctn/lc 21 | 7oTo0muGYvB5xWhTHRlcT9zGTRUb/6ucabVLiJUrcGhS1OqDGq7nvYQpFZdfDj7h 22 | yyrCKrq6YUPRvoq3aWw/o6aPUN8gmJj+h4pB5dMbbNKm7umz4O3RHWceO9JCGYxf 23 | C4uh0k85bgIVb4wtaljBW90YZRU/5zIjD6r2b6rluY55rLulsyT7xAqe14eE1AlR 24 | B1og/s4rUtRf8LQySmVyZW15IEhhcnJpcyAoRXhpbSBNVEEgTWFpbnRhaW5lcikg 25 | PGpnaEBleGltLm9yZz6JAU4EEwEIADgWIQSphvOmvWN32HMJWN685YyM5B8y3wUC 26 | XiRStgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRC85YyM5B8y352oB/9s 27 | sqX5/NKBFe1bwcAsAMMDFPBwkpsX7JKj4/rQbk0YZOpilqNs/ERH5akJrU7ikMqz 28 | ddTwfJlDHUWEGyRiVTKiIVd8XKWWIbANe/kh4p2H1U8iJayFm5Egl7wOYZyUfba9 29 | Qp0zZmREw+yljEgaklYue8UYT/3sKImxbf19mi199azNv2cjEFQ86w2cqGsDdzWm 30 | fyQ3k+HJ87LkJTA7XGbGVNikOIDHBc356Y2KnGmN79itMfQkVYN3xOXj+bwN8WlM 31 | l1qF/GRwXixC978NT9odugHgpJGYPJGrIWP4NfnCnWx90dfr+CnDBBbcz6U/TDGz 32 | SCFoUmwpE2Hl1CTabZQ+uQENBFWABsQBCADphLHaKToRuR/E7THerBiCjDatwCaE 33 | TOKOTY2zRBQpaQ32p/F2XIGLS8Cc27+grZSKQ6ZX0ZN47O+AFyFHF8DH90IXZFpJ 34 | R3Rb8zgXT8jnLX08DM31eECZHnRzFhGlOmq6WAUlqB3GKCPUCY2c4eTRXyoXLteT 35 | xrXCYoj45y/YmvlZrlonBNjPBAyHiO/LNz+V7fZtNsN7N/XGrnLbcdNfNd+SD1EN 36 | mbLJ8RvyymxguTyB/ka9JdjHHIoQEJ6L166B3hhfCHpt8iC0GPZkti9IMl0NoJ02 37 | 9jJm3Jq1qEceEBn5H5QMGn6Fq64iXwTsO1TMNUwpWx8pjvV7wVIxjI8ZABEBAAGJ 38 | AR8EGAECAAkFAlWABsQCGwwACgkQvOWMjOQfMt9N6Af8CS2CTrMQFdhkGEtBXmL4 39 | ifD8UHFkBRBGmM8ZL2fWUBTZXT8mrdRMOK6tcPnKWaCvWvKr0knt970j/DyAgFmH 40 | 8hgOi3yctigFecVDjjilAeCJMq38s1tYKYiLDbBdHWtdkA9uHZwq3lfd3QxcEEO3 41 | QamQF+dO7h8gAOXlG+po87Hm+E0wz4swIB8+S37Jzrx9uu0LSFDfJCTK+TIKGa5U 42 | n8LxPxyq9WnnNDh72zK7BiRidk/s40KcNod83NM4Hn/sbGfyLa8sS0F3ME0S+ocS 43 | MOiu/ZHHOiwpLYNbwTJ7stZxGsrguWeT9P+amxbA/YlK95LedstwvN+WcHZ7d++A 44 | rg== 45 | =QTRL 46 | -----END PGP PUBLIC KEY BLOCK----- 47 | -------------------------------------------------------------------------------- /ovmf/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Thomas Bächler 2 | pkgname=ovmf 3 | pkgver=r26214.20d2e5a125 4 | epoch=1 5 | pkgrel=2 6 | arch=('any') 7 | pkgdesc="Tianocore UEFI firmware for qemu." 8 | url="http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK2" 9 | license=('custom') 10 | makedepends=('git' 'python' 'iasl' 'nasm' 'subversion' 'perl-libwww' 'bc') 11 | _commit=edk2-stable201905 12 | _openssl_ver=1.1.1b 13 | source=(edk2::git+https://github.com/tianocore/edk2#commit=$_commit 14 | https://www.openssl.org/source/openssl-$_openssl_ver.tar.gz{,.asc} 15 | 60-edk2-ovmf-x86_64.json) 16 | sha256sums=('SKIP' 17 | '5c557b023230413dfb0756f3137a13e6d726838ccd1430888ad15bfb2b43ea4b' 18 | 'SKIP' 19 | 'b8f189f09593298c53e8b2afceadb17610b047fde51f4658e7373caeb3d0b856') 20 | validpgpkeys=(8657ABB260F056B1E5190839D9C4D26D0E604491) 21 | options=(!makeflags) 22 | _toolchain_opt=GCC5 23 | 24 | pkgver() { 25 | cd "${srcdir}"/edk2 26 | printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" 27 | } 28 | 29 | prepare() { 30 | cd "${srcdir}" 31 | # edk2 uses python everywhere, but expects python2 32 | #mkdir -p bin 33 | #ln -sf /usr/bin/python2 bin/python 34 | rm -rf $srcdir/edk2/CryptoPkg/Library/OpensslLib/openssl 35 | ln -sf $srcdir/openssl-$_openssl_ver $srcdir/edk2/CryptoPkg/Library/OpensslLib/openssl 36 | } 37 | 38 | build() { 39 | if [ "$CARCH" != "x86_64" ]; then 40 | error "This package must be built under the x86_64 architecture." 41 | false 42 | fi 43 | export PATH="${srcdir}/bin:$PATH" 44 | cd "${srcdir}/"edk2 45 | make -C BaseTools 46 | export EDK_TOOLS_PATH="${srcdir}"/edk2/BaseTools 47 | . edksetup.sh BaseTools 48 | 49 | ./BaseTools/BinWrappers/PosixLike/build -t $_toolchain_opt -a X64 -p OvmfPkg/OvmfPkgX64.dsc -n $(nproc) -b RELEASE -D FD_SIZE_2MB -D NETWORK_IP6_ENABLE -D TPM2_ENABLE -D SECURE_BOOT_ENABLE -D HTTP_BOOT_ENABLE -D TLS_ENABLE 50 | 51 | # build fails for 32bit binary 52 | # ./BaseTools/BinWrappers/PosixLike/build -t $_toolchain_opt -a IA32 -p OvmfPkg/OvmfPkgIa32.dsc -n $(nproc) -b RELEASE -D FD_SIZE_2MB 53 | } 54 | 55 | package() { 56 | #install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/ia32/OVMF_CODE.fd 57 | #install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/ia32/OVMF_VARS.fd 58 | install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_CODE.fd 59 | install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_VARS.fd 60 | install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/ovmf/License.txt 61 | install -D -m644 "${srcdir}"/60-edk2-ovmf-x86_64.json "${pkgdir}"/usr/share/qemu/firmware/60-edk2-ovmf-x86_64.json 62 | } 63 | -------------------------------------------------------------------------------- /kea/kea-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('kea-git') 3 | _srcname='kea' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='DHCPv4/DHCPv6 server' 7 | arch=('i686' 'x86_64') 8 | url='http://kea.isc.org' 9 | license=('MPL2.0') 10 | 11 | depends=( 12 | 'boost-libs' 13 | 'openssl' 14 | 'log4cplus' 15 | 'libmariadbclient' 16 | 'postgresql-libs' 17 | ) 18 | optdepends=( 19 | 'mariadb: Lease information database' 20 | 'postgresql: Lease information database' 21 | ) 22 | makedepends=( 23 | 'git' 24 | 'boost' 25 | 'openssl' 26 | 'log4cplus' 27 | 'gcc' 28 | 'make' 29 | 'automake' 30 | 'libtool' 31 | 'autoconf' 32 | 'libmariadbclient' 33 | 'postgresql-libs' 34 | 'postgresql' 35 | 'python' 36 | 'perl' 37 | 'gawk' 38 | 'libxslt' 39 | 'docbook-xsl' 40 | 'elinks' 41 | ) 42 | provides=("${pkgname[0]%-git}") 43 | conflicts=("${pkgname[0]%-git}") 44 | 45 | source=("${_srcname}::git+https://github.com/isc-projects/kea.git") 46 | sha512sums=('SKIP') 47 | 48 | pkgver() { 49 | cd "${srcdir}/${_srcname}" 50 | 51 | printf 'r%s.%s.%s\n' \ 52 | "$( git rev-list --count 'HEAD' )" \ 53 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 54 | "$( git rev-parse --short 'HEAD' )" 55 | } 56 | 57 | prepare() { 58 | cd "${srcdir}/${_srcname}" 59 | 60 | # /var/kea -> /var/lib/kea 61 | # shellcheck disable=SC2016 62 | find . -path './.git' -prune -or -type f -exec sed --in-place \ 63 | --expression='s|/var/kea/kea-|/var/kea/|g' \ 64 | --expression='s|/var/kea|/var/lib/kea|g' \ 65 | --expression='s|@localstatedir@/@PACKAGE@|@localstatedir@/lib/@PACKAGE@|g' \ 66 | --expression='s|\$(localstatedir)/\$(PACKAGE)|\$(localstatedir)/lib/\$(PACKAGE)|g' \ 67 | '{}' '+' 68 | 69 | # /var/log -> /var/log/kea 70 | # shellcheck disable=SC2016 71 | find . -path './.git' -prune -or -type f -exec sed --in-place \ 72 | --expression='s|/var/log/kea-|/var/log/|g' \ 73 | --expression='s|/var/log|/var/log/kea|g' \ 74 | --expression='s|\${localstatedir}/log/|\${localstatedir}/log/\${PACKAGE_NAME}|g' \ 75 | --expression='s|@localstatedir@/log/kea-|@localstatedir@/log/|g' \ 76 | --expression='s|@localstatedir@/log|@localstatedir@/log/@PACKAGE@|g' \ 77 | '{}' '+' 78 | } 79 | 80 | build() { 81 | cd "${srcdir}/${_srcname}" 82 | 83 | autoreconf --install --force --warnings='all' 84 | # shellcheck disable=SC2016 85 | ./configure \ 86 | --prefix='/usr' \ 87 | --sbindir='${exec_prefix}/bin' \ 88 | --sysconfdir='/etc' \ 89 | --localstatedir='/var' \ 90 | --with-openssl \ 91 | --with-dhcp-mysql \ 92 | --with-dhcp-pgsql \ 93 | --enable-generate-docs 94 | 95 | make 96 | } 97 | 98 | package() { 99 | cd "${srcdir}/${_srcname}" 100 | 101 | make DESTDIR="${pkgdir}" install 102 | 103 | rmdir "${pkgdir}/var/run"{/kea,} 104 | } 105 | -------------------------------------------------------------------------------- /infiniband/rdma-core/PKGBUILD: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | # shellcheck disable=SC2034,SC2154,SC2164 3 | pkgname=('rdma-core') 4 | _srcname='rdma-core' 5 | pkgdesc='RDMA core userspace libraries and daemons' 6 | pkgver='30.0' 7 | _tag="v${pkgver}" 8 | pkgrel='1' 9 | arch=('x86_64') 10 | url="https://github.com/linux-rdma/${_srcname}" 11 | license=('GPL2' 'custom:OpenIB.org BSD (MIT variant)') 12 | 13 | depends=('libnl' 'ethtool') 14 | makedepends=('git' 'cmake' 'gcc' 'libsystemd' 'systemd' 'pkg-config' 'ninja' 'bash' 'pandoc' 'python' 'python-docutils') 15 | _provides=('rdma' 'ibacm' 'libiwpm' 'libibcm' 'libibumad' 'libibverbs' 16 | 'librdmacm' 'libcxgb3' 'libcxgb4' 'libmlx4' 'libmlx5' 'libmthca' 'libnes' 'libocrdma' 17 | 'srptools' 'infiniband-diags' 'libibmad') 18 | provides=("${_provides[@]}") 19 | conflicts=("${_provides[@]}") 20 | replaces=("${_provides[@]}") 21 | backup=('etc/rdma/'{'rmda.conf','mlx4.conf','sriov-vfs'}) 22 | 23 | source=("${_srcname}::git+${url}.git#tag=${_tag}?signed") 24 | sha512sums=('SKIP') 25 | validpgpkeys=('921AFFAF83A9D7FD38CAA681E4637B88367258A7' # leon@leon.nu 26 | '42D25385C1A1C02B8B1B1C6F801BDDB825988F64') # nicolas@morey-chaisemartin.com 27 | 28 | prepare() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | find redhat -type f -exec sed --in-place \ 32 | --expression='s|/usr/libexec|/usr/lib/rdma|g' \ 33 | --expression='s|/usr/sbin|/usr/bin|g' \ 34 | --expression='s|/sbin|/usr/bin|g' \ 35 | '{}' '+' 36 | } 37 | 38 | build() { 39 | cd "${srcdir}/${_srcname}" 40 | 41 | mkdir build 42 | cd build 43 | cmake \ 44 | -GNinja \ 45 | -DENABLE_VALGRIND=0 \ 46 | -DCMAKE_BUILD_TYPE='Release' \ 47 | -DCMAKE_INSTALL_PREFIX='/usr' \ 48 | -DCMAKE_INSTALL_RUNDIR='/run' \ 49 | -DCMAKE_INSTALL_SBINDIR='/usr/bin' \ 50 | -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ 51 | -DCMAKE_INSTALL_LIBEXECDIR='/usr/lib/rdma' \ 52 | -DCMAKE_INSTALL_SYSCONFDIR='/etc' \ 53 | -DCMAKE_INSTALL_PERLDIR='/usr/share/perl5/vendor_perl' \ 54 | .. 55 | ninja 56 | } 57 | 58 | package() { 59 | cd "${srcdir}/${_srcname}/build" 60 | export DESTDIR="${pkgdir}" 61 | ninja install 62 | 63 | rm --recursive "${pkgdir}/etc/init.d" 64 | 65 | cd "${srcdir}/${_srcname}/redhat" 66 | install -D --mode=0644 rdma.conf "${pkgdir}/etc/rdma/rdma.conf" 67 | install -D --mode=0755 rdma.kernel-init "${pkgdir}/usr/lib/rdma/rdma-init-kernel" 68 | install -D --mode=0755 rdma.mlx4-setup.sh "${pkgdir}/usr/lib/rdma/mlx4-setup.sh" 69 | install -D --mode=0644 rdma.mlx4.conf "${pkgdir}/etc/rdma/mlx4.conf" 70 | install -D --mode=0644 rdma.mlx4.sys.modprobe "${pkgdir}/usr/lib/modprobe.d/libmlx4.conf" 71 | install -D --mode=0755 rdma.modules-setup.sh "${pkgdir}/usr/lib/dracut/modules.d/05rdma/module-setup.sh" 72 | install -D --mode=0644 rdma.service "${pkgdir}/usr/lib/systemd/system/rdma.service" 73 | install -D --mode=0755 rdma.sriov-init "${pkgdir}/usr/lib/rdma/rdma-set-sriov-vf" 74 | install -D --mode=0644 rdma.sriov-vfs "${pkgdir}/etc/rdma/sriov-vfs" 75 | install -D --mode=0644 rdma.udev-rules "${pkgdir}/usr/lib/udev/rules.d/98-rdma.rules" 76 | 77 | cd "${srcdir}/${_srcname}" 78 | install -D --mode=0644 COPYING.BSD_MIT "${pkgdir}/usr/share/licenses/${pkgname[0]%-git}/COPYING.BSD_MIT" 79 | } 80 | -------------------------------------------------------------------------------- /infiniband/rdma-core-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | # shellcheck disable=SC2034,SC2154,SC2164 3 | pkgname=('rdma-core-git') 4 | _srcname='rdma-core' 5 | pkgdesc='RDMA core userspace libraries and daemons' 6 | pkgver='r6882' 7 | pkgrel='1' 8 | arch=('x86_64') 9 | url="https://github.com/linux-rdma/${_srcname}" 10 | license=('GPL2' 'custom:OpenIB.org BSD (MIT variant)') 11 | 12 | depends=('libnl' 'ethtool') 13 | makedepends=('git' 'cmake' 'gcc' 'libsystemd' 'systemd' 'pkg-config' 'ninja' 'bash' 'pandoc' 'python' 'python-docutils') 14 | _provides=('rdma' 'ibacm' 'libiwpm' 'libibcm' 'libibumad' 'libibverbs' 15 | 'librdmacm' 'libcxgb3' 'libcxgb4' 'libmlx4' 'libmlx5' 'libmthca' 'libnes' 'libocrdma' 16 | 'srptools' 'infiniband-diags' 'libibmad') 17 | provides=("${pkgname[0]%-git}" "${_provides[@]}") 18 | conflicts=("${pkgname[0]%-git}" "${_provides[@]}") 19 | replaces=("${_provides[@]}") 20 | backup=('etc/rdma/'{'rmda.conf','mlx4.conf','sriov-vfs'}) 21 | 22 | source=("${_srcname}::git+${url}.git") 23 | sha512sums=('SKIP') 24 | 25 | pkgver() { 26 | cd "${srcdir}/${_srcname}" 27 | 28 | printf 'r%s.%s.%s\n' \ 29 | "$( git rev-list --count 'HEAD' )" \ 30 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 31 | "$( git rev-parse --short 'HEAD' )" 32 | } 33 | 34 | prepare() { 35 | cd "${srcdir}/${_srcname}" 36 | 37 | find redhat -type f -exec sed --in-place \ 38 | --expression='s|/usr/libexec|/usr/lib/rdma|g' \ 39 | --expression='s|/usr/sbin|/usr/bin|g' \ 40 | --expression='s|/sbin|/usr/bin|g' \ 41 | '{}' '+' 42 | } 43 | 44 | build() { 45 | cd "${srcdir}/${_srcname}" 46 | 47 | mkdir build 48 | cd build 49 | cmake \ 50 | -GNinja \ 51 | -DENABLE_VALGRIND=0 \ 52 | -DCMAKE_BUILD_TYPE='Release' \ 53 | -DCMAKE_INSTALL_PREFIX='/usr' \ 54 | -DCMAKE_INSTALL_RUNDIR='/run' \ 55 | -DCMAKE_INSTALL_SBINDIR='/usr/bin' \ 56 | -DCMAKE_INSTALL_LIBDIR='/usr/lib' \ 57 | -DCMAKE_INSTALL_LIBEXECDIR='/usr/lib/rdma' \ 58 | -DCMAKE_INSTALL_SYSCONFDIR='/etc' \ 59 | -DCMAKE_INSTALL_PERLDIR='/usr/share/perl5/vendor_perl' \ 60 | .. 61 | ninja 62 | } 63 | 64 | package() { 65 | cd "${srcdir}/${_srcname}/build" 66 | export DESTDIR="${pkgdir}" 67 | ninja install 68 | 69 | rm --recursive "${pkgdir}/etc/init.d" 70 | 71 | cd "${srcdir}/${_srcname}/redhat" 72 | install -D --mode=0644 rdma.conf "${pkgdir}/etc/rdma/rdma.conf" 73 | install -D --mode=0755 rdma.kernel-init "${pkgdir}/usr/lib/rdma/rdma-init-kernel" 74 | install -D --mode=0755 rdma.mlx4-setup.sh "${pkgdir}/usr/lib/rdma/mlx4-setup.sh" 75 | install -D --mode=0644 rdma.mlx4.conf "${pkgdir}/etc/rdma/mlx4.conf" 76 | install -D --mode=0644 rdma.mlx4.sys.modprobe "${pkgdir}/usr/lib/modprobe.d/libmlx4.conf" 77 | install -D --mode=0755 rdma.modules-setup.sh "${pkgdir}/usr/lib/dracut/modules.d/05rdma/module-setup.sh" 78 | install -D --mode=0644 rdma.service "${pkgdir}/usr/lib/systemd/system/rdma.service" 79 | install -D --mode=0755 rdma.sriov-init "${pkgdir}/usr/lib/rdma/rdma-set-sriov-vf" 80 | install -D --mode=0644 rdma.sriov-vfs "${pkgdir}/etc/rdma/sriov-vfs" 81 | install -D --mode=0644 rdma.udev-rules "${pkgdir}/usr/lib/udev/rules.d/98-rdma.rules" 82 | 83 | cd "${srcdir}/${_srcname}" 84 | install -D --mode=0644 COPYING.BSD_MIT "${pkgdir}/usr/share/licenses/${pkgname[0]%-git}/COPYING.BSD_MIT" 85 | } 86 | -------------------------------------------------------------------------------- /systemd/0001-Use-Arch-Linux-device-access-groups.patch: -------------------------------------------------------------------------------- 1 | From 34e4b4953cb99642e9144d97823edf32b06ffe93 Mon Sep 17 00:00:00 2001 2 | Message-Id: <34e4b4953cb99642e9144d97823edf32b06ffe93.1520376078.git.jan.steffens@gmail.com> 3 | From: "Jan Alexander Steffens (heftig)" 4 | Date: Tue, 6 Mar 2018 23:39:47 +0100 5 | Subject: [PATCH] Use Arch Linux' device access groups 6 | MIME-Version: 1.0 7 | Content-Type: text/plain; charset=UTF-8 8 | Content-Transfer-Encoding: 8bit 9 | 10 | cdrom → optical 11 | dialout → uucp 12 | tape → storage 13 | --- 14 | rules/50-udev-default.rules.in | 14 +++++++------- 15 | sysusers.d/basic.conf.in | 6 +++--- 16 | 2 files changed, 10 insertions(+), 10 deletions(-) 17 | 18 | diff --git a/rules/50-udev-default.rules.in b/rules/50-udev-default.rules.in 19 | index 191f56f42..f81c4d0fc 100644 20 | --- a/rules/50-udev-default.rules.in 21 | +++ b/rules/50-udev-default.rules.in 22 | @@ -22,7 +22,7 @@ SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620" 23 | SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620" 24 | SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620" 25 | SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty" 26 | -KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout" 27 | +KERNEL=="tty[A-Z]*[0-9]|ttymxc[0-9]*|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="uucp" 28 | 29 | SUBSYSTEM=="mem", KERNEL=="mem|kmem|port", GROUP="kmem", MODE="0640" 30 | 31 | @@ -57,13 +57,13 @@ KERNEL=="irlpt[0-9]*", GROUP="lp" 32 | SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", GROUP="lp" 33 | 34 | SUBSYSTEM=="block", GROUP="disk" 35 | -SUBSYSTEM=="block", KERNEL=="sr[0-9]*", GROUP="cdrom" 36 | -SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom" 37 | -KERNEL=="sch[0-9]*", GROUP="cdrom" 38 | -KERNEL=="pktcdvd[0-9]*", GROUP="cdrom" 39 | -KERNEL=="pktcdvd", GROUP="cdrom" 40 | +SUBSYSTEM=="block", KERNEL=="sr[0-9]*", GROUP="optical" 41 | +SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="optical" 42 | +KERNEL=="sch[0-9]*", GROUP="optical" 43 | +KERNEL=="pktcdvd[0-9]*", GROUP="optical" 44 | +KERNEL=="pktcdvd", GROUP="optical" 45 | 46 | -SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="tape" 47 | +SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="storage" 48 | SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="0", GROUP="disk" 49 | KERNEL=="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*|nrawqft[0-9]*", GROUP="disk" 50 | KERNEL=="loop-control", GROUP="disk", OPTIONS+="static_node=loop-control" 51 | diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in 52 | index 8e358c02d..33e513a36 100644 53 | --- a/sysusers.d/basic.conf.in 54 | +++ b/sysusers.d/basic.conf.in 55 | @@ -24,14 +24,14 @@ g utmp - - - 56 | 57 | # Hardware access groups 58 | g audio - - - 59 | -g cdrom - - - 60 | -g dialout - - - 61 | g disk - - - 62 | g input - - - 63 | g kvm - - - 64 | g lp - - - 65 | +g optical - - - 66 | g render - - - 67 | -g tape - - - 68 | +g storage - - - 69 | +g uucp - - - 70 | g video - - - 71 | 72 | # Default group for normal users 73 | -- 74 | 2.16.2 75 | 76 | -------------------------------------------------------------------------------- /mpd-git/PKGBUILD: -------------------------------------------------------------------------------- 1 | # shellcheck disable=SC2034,SC2154,SC2164 2 | pkgname=('mpd-git') 3 | _srcname='MPD' 4 | pkgver='r1' 5 | pkgrel='1' 6 | pkgdesc='Daemon for playing music of various formats.' 7 | arch=('i686' 'x86_64') 8 | url="https://github.com/MaxKellermann/${_srcname}" 9 | license=('GPL2') 10 | 11 | depends=('libsamplerate' 'sqlite' 'libpulse' 'libvorbis' 'yajl' 'libmpdclient' 'icu') 12 | makedepends=('git' 'boost' 'doxygen') 13 | provides=("${pkgname[0]%-git}") 14 | conflicts=("${pkgname[0]%-git}") 15 | 16 | source=("${_srcname}::git+${url}.git") 17 | sha512sums=('SKIP') 18 | 19 | pkgver() { 20 | cd "${srcdir}/${_srcname}" 21 | 22 | printf 'r%s.%s.%s\n' \ 23 | "$( git rev-list --count 'HEAD' )" \ 24 | "$( git log --max-count='1' --pretty='format:%ct' )" \ 25 | "$( git rev-parse --short 'HEAD' )" 26 | } 27 | 28 | build() { 29 | cd "${srcdir}/${_srcname}" 30 | 31 | autoreconf --install --force --warnings='all' 32 | ./configure \ 33 | --prefix='/usr' \ 34 | --sysconfdir='/etc' \ 35 | --enable-eventfd \ 36 | --enable-signalfd \ 37 | --disable-poll \ 38 | --enable-epoll \ 39 | --enable-database \ 40 | --enable-libmpdclient \ 41 | --disable-expat \ 42 | --disable-upnp \ 43 | --disable-adplug \ 44 | --disable-alsa \ 45 | --disable-roar \ 46 | --disable-ao \ 47 | --disable-audiofile \ 48 | --disable-zlib \ 49 | --disable-bzip2 \ 50 | --disable-cdio-paranoia \ 51 | --disable-curl \ 52 | --disable-smbclient \ 53 | --disable-nfs \ 54 | --disable-debug \ 55 | --disable-documentation \ 56 | --disable-dsd \ 57 | --disable-ffmpeg \ 58 | --disable-fifo \ 59 | --disable-flac \ 60 | --disable-fluidsynth \ 61 | --disable-gme \ 62 | --disable-httpd-output \ 63 | --disable-id3 \ 64 | --enable-inotify \ 65 | --disable-ipv6 \ 66 | --disable-iso9660 \ 67 | --disable-jack \ 68 | --enable-largefile \ 69 | --disable-despotify \ 70 | --disable-soundcloud \ 71 | --disable-lame-encoder \ 72 | --disable-libwrap \ 73 | --enable-lsr \ 74 | --disable-soxr \ 75 | --disable-mad \ 76 | --disable-mikmod \ 77 | --disable-mms \ 78 | --disable-modplug \ 79 | --disable-mpc \ 80 | --disable-mpg123 \ 81 | --disable-openal \ 82 | --disable-opus \ 83 | --disable-oss \ 84 | --disable-osx \ 85 | --disable-pipe-output \ 86 | --enable-pulse \ 87 | --disable-recorder-output \ 88 | --disable-sidplay \ 89 | --disable-shine-encoder \ 90 | --disable-shout \ 91 | --disable-sndfile \ 92 | --disable-solaris-output \ 93 | --enable-sqlite \ 94 | --disable-systemd-daemon \ 95 | --enable-tcp \ 96 | --disable-test \ 97 | --disable-twolame-encoder \ 98 | --enable-un \ 99 | --enable-vorbis \ 100 | --disable-vorbis-encoder \ 101 | --disable-wave-encoder \ 102 | --disable-wavpack \ 103 | --disable-werror \ 104 | --disable-wildmidi \ 105 | --disable-zzip \ 106 | --enable-icu \ 107 | --disable-neighbor-plugins \ 108 | --disable-aac \ 109 | --disable-daemon \ 110 | --with-zeroconf='no' 111 | 112 | make 113 | } 114 | 115 | package() { 116 | cd "${srcdir}/${_srcname}" 117 | 118 | make DESTDIR="${pkgdir}" install 119 | } 120 | -------------------------------------------------------------------------------- /ethereum/prysm/memsize.patch: -------------------------------------------------------------------------------- 1 | diff --git a/deps.bzl b/deps.bzl 2 | index da7c8c7d0..72d0fda7b 100644 3 | --- a/deps.bzl 4 | +++ b/deps.bzl 5 | @@ -912,12 +912,6 @@ def prysm_deps(): 6 | sum = "h1:bBLctRc7kr01YGvaDfgLbTwjFNW5jdp5y5rj8XXBHfY=", 7 | version = "v0.0.0-20230517082657-f9840df7b83e", 8 | ) 9 | - go_repository( 10 | - name = "com_github_fjl_memsize", 11 | - importpath = "github.com/fjl/memsize", 12 | - sum = "h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c=", 13 | - version = "v0.0.0-20190710130421-bcb5799ab5e5", 14 | - ) 15 | go_repository( 16 | name = "com_github_flosch_pongo2_v4", 17 | importpath = "github.com/flosch/pongo2/v4", 18 | diff --git a/go.mod b/go.mod 19 | index 482659fb5..a35c2e6b7 100644 20 | --- a/go.mod 21 | +++ b/go.mod 22 | @@ -18,7 +18,6 @@ require ( 23 | github.com/dustin/go-humanize v1.0.0 24 | github.com/emicklei/dot v0.11.0 25 | github.com/ethereum/go-ethereum v1.13.5 26 | - github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 27 | github.com/fsnotify/fsnotify v1.6.0 28 | github.com/ghodss/yaml v1.0.0 29 | github.com/go-yaml/yaml v2.1.0+incompatible 30 | diff --git a/go.sum b/go.sum 31 | index c15dec2fc..de8075ae0 100644 32 | --- a/go.sum 33 | +++ b/go.sum 34 | @@ -272,8 +272,6 @@ github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= 35 | github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= 36 | github.com/ferranbt/fastssz v0.0.0-20210120143747-11b9eff30ea9 h1:9VDpsWq096+oGMDTT/SgBD/VgZYf4pTF+KTPmZ+OaKM= 37 | github.com/ferranbt/fastssz v0.0.0-20210120143747-11b9eff30ea9/go.mod h1:DyEu2iuLBnb/T51BlsiO3yLYdJC6UbGMrIkqK1KmQxM= 38 | -github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c= 39 | -github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= 40 | github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= 41 | github.com/flynn/noise v1.1.0 h1:KjPQoQCEFdZDiP03phOvGi11+SVVhBG2wOWAorLsstg= 42 | github.com/flynn/noise v1.1.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag= 43 | diff --git a/runtime/debug/BUILD.bazel b/runtime/debug/BUILD.bazel 44 | index db34de5e7..bd3d7bdce 100644 45 | --- a/runtime/debug/BUILD.bazel 46 | +++ b/runtime/debug/BUILD.bazel 47 | @@ -18,7 +18,6 @@ go_library( 48 | importpath = "github.com/prysmaticlabs/prysm/v5/runtime/debug", 49 | visibility = ["//visibility:public"], 50 | deps = [ 51 | - "@com_github_fjl_memsize//memsizeui:go_default_library", 52 | "@com_github_prometheus_client_golang//prometheus:go_default_library", 53 | "@com_github_prometheus_client_golang//prometheus/promauto:go_default_library", 54 | "@com_github_sirupsen_logrus//:go_default_library", 55 | diff --git a/runtime/debug/debug.go b/runtime/debug/debug.go 56 | index ab79ec4be..45c6994c5 100644 57 | --- a/runtime/debug/debug.go 58 | +++ b/runtime/debug/debug.go 59 | @@ -37,7 +37,6 @@ import ( 60 | "sync" 61 | "time" 62 | 63 | - "github.com/fjl/memsize/memsizeui" 64 | log "github.com/sirupsen/logrus" 65 | "github.com/urfave/cli/v2" 66 | ) 67 | @@ -45,8 +44,6 @@ import ( 68 | // Handler is the global debugging handler. 69 | var Handler = new(HandlerT) 70 | 71 | -// Memsize is the memsizeui Handler(?). 72 | -var Memsize memsizeui.Handler 73 | var ( 74 | // PProfFlag to enable pprof HTTP server. 75 | PProfFlag = &cli.BoolFlag{ 76 | @@ -351,7 +348,6 @@ func Setup(ctx *cli.Context) error { 77 | } 78 | 79 | func startPProf(address string) { 80 | - http.Handle("/memsize/", http.StripPrefix("/memsize", &Memsize)) 81 | log.WithField("addr", fmt.Sprintf("http://%s/debug/pprof", address)).Info("Starting pprof server") 82 | go func() { 83 | srv := &http.Server{ 84 | -------------------------------------------------------------------------------- /nut/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Maxime Gauduin 2 | # Contributor: Florian Bruhin 3 | # Contributor: Alex Reznichenko 4 | # Contributor: Roman Kyrylych 5 | # Contributor: Giuseppe Lucarelli 6 | # Contributor: Dan Ziemba 7 | 8 | pkgname=nut 9 | pkgver=2.7.4 10 | pkgrel=3 11 | pkgdesc='A collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware' 12 | arch=(x86_64) 13 | url=https://networkupstools.org/ 14 | license=( 15 | GPL2 16 | GPL3 17 | ) 18 | depends=( 19 | gcc-libs 20 | glibc 21 | libtool 22 | libusb-compat 23 | neon 24 | net-snmp 25 | openssl 26 | ) 27 | makedepends=( 28 | asciidoc 29 | gd 30 | git 31 | python 32 | ) 33 | optdepends=('gd: CGI support') 34 | provides=(network-ups-tools) 35 | conflicts=(network-ups-tools) 36 | replaces=(network-ups-tools) 37 | options=(!makeflags) 38 | backup=( 39 | etc/nut/hosts.conf 40 | etc/nut/nut.conf 41 | etc/nut/ups.conf 42 | etc/nut/upsd.conf 43 | etc/nut/upsd.users 44 | etc/nut/upsmon.conf 45 | etc/nut/upssched.conf 46 | etc/nut/upsstats.html 47 | etc/nut/upsstats-single.html 48 | ) 49 | source=( 50 | git+https://github.com/networkupstools/nut.git#tag=0b4bfddbc609c59ac0a117c758e6893635121166 51 | nut.sysusers 52 | nut.tmpfiles 53 | nut-lowspeed-buffer-size.patch 54 | nut-no-libdummy.patch 55 | nut-openssl-1.1.patch 56 | nut-snmp-usb-order.patch 57 | ) 58 | sha256sums=('SKIP' 59 | '3001e24969545136361670c5d615684d2b37830525e090c2ab3bcfa90d90e4ac' 60 | 'c924ccaae9ec75ee7795c872e1708d10201402642a6d5de2304cc644744bbcc5' 61 | '40d6fc328ad2e127f580bb359bd5c2fb721a2c6cf1860334be96c18552d6f8f7' 62 | 'b35a8d28fde10668e8e54e97be9c5505f296c989e67da847c5abf1acab6a219b' 63 | '717e116aa93f42ccca901de920da3ff97407672003f721b4976caf525f3e5f08' 64 | 'c2c7d3b72f94f9c7987ab047bba466923c63ddb80b468485f100b1e44997ec84') 65 | 66 | pkgver() { 67 | cd nut 68 | 69 | git describe --tags | sed 's/^v//' 70 | } 71 | 72 | prepare() { 73 | cd nut 74 | 75 | git cherry-pick -n eea0c5e9e5566c36a8b1e364ed4909231901a8f5 76 | patch -Np1 -i ../nut-lowspeed-buffer-size.patch 77 | patch -Np1 -i ../nut-no-libdummy.patch 78 | patch -Np1 -i ../nut-openssl-1.1.patch 79 | patch -Np1 -i ../nut-snmp-usb-order.patch 80 | 81 | ./autogen.sh 82 | } 83 | 84 | build() { 85 | cd nut 86 | 87 | export CXXFLAGS="${CXXFLAGS} -std=c++14" 88 | ./configure \ 89 | --prefix=/usr \ 90 | --datadir=/usr/share/nut \ 91 | --sbindir=/usr/bin \ 92 | --sysconfdir=/etc/nut \ 93 | --disable-static \ 94 | --with-user=nut \ 95 | --with-group=nut \ 96 | --with-altpidpath=/run/nut \ 97 | --with-cgipath=/usr/share/nut/cgi \ 98 | --with-drvpath=/usr/lib/nut \ 99 | --with-htmlpath=/usr/share/nut/html \ 100 | --with-pidpath=/run/nut \ 101 | --with-statepath=/var/lib/nut \ 102 | --with-systemdsystemunitdir=/usr/lib/systemd/system \ 103 | --with-udev-dir=/usr/lib/udev \ 104 | --with-cgi \ 105 | --with-dev \ 106 | --with-doc=html-single \ 107 | --with-libltdl \ 108 | --with-neon \ 109 | --with-openssl \ 110 | --with-serial \ 111 | --with-snmp \ 112 | --with-usb \ 113 | --without-avahi \ 114 | --without-doc \ 115 | --without-ipmi \ 116 | --without-freeipmi \ 117 | --without-powerman \ 118 | --without-wrap 119 | make -j1 120 | } 121 | 122 | package() { 123 | make DESTDIR="${pkgdir}" -C nut install 124 | find "${pkgdir}"/etc/nut -name *.sample -exec rename '.sample' '' {} \; 125 | 126 | install -Dm 644 nut.sysusers "${pkgdir}"/usr/lib/sysusers.d/nut.conf 127 | install -Dm 644 nut.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/nut.conf 128 | } 129 | 130 | # vim: ts=2 sw=2 et: 131 | -------------------------------------------------------------------------------- /nut/nut-openssl-1.1.patch: -------------------------------------------------------------------------------- 1 | From da1f5aa699f54e0f6977ab64a3bc2f90a51c3104 Mon Sep 17 00:00:00 2001 2 | From: Arjen de Korte 3 | Date: Mon, 27 Nov 2017 21:10:13 +0100 4 | Subject: [PATCH] Add support for openssl-1.1.0 5 | 6 | --- a/clients/upsclient.c 7 | +++ b/clients/upsclient.c 8 | @@ -299,11 +299,6 @@ 9 | { 10 | #ifdef WITH_OPENSSL 11 | int ret, ssl_mode = SSL_VERIFY_NONE; 12 | -#if OPENSSL_VERSION_NUMBER >= 0x10000000L 13 | - const SSL_METHOD *ssl_method; 14 | -#else 15 | - SSL_METHOD *ssl_method; 16 | -#endif 17 | #elif defined(WITH_NSS) /* WITH_OPENSSL */ 18 | SECStatus status; 19 | #endif /* WITH_OPENSSL | WITH_NSS */ 20 | @@ -315,22 +310,32 @@ 21 | } 22 | 23 | #ifdef WITH_OPENSSL 24 | - 25 | - SSL_library_init(); 26 | - SSL_load_error_strings(); 27 | 28 | - ssl_method = TLSv1_client_method(); 29 | +#if OPENSSL_VERSION_NUMBER < 0x10100000L 30 | + SSL_load_error_strings(); 31 | + SSL_library_init(); 32 | 33 | - if (!ssl_method) { 34 | - return 0; 35 | - } 36 | + ssl_ctx = SSL_CTX_new(SSLv23_client_method()); 37 | +#else 38 | + ssl_ctx = SSL_CTX_new(TLS_client_method()); 39 | +#endif 40 | 41 | - ssl_ctx = SSL_CTX_new(ssl_method); 42 | if (!ssl_ctx) { 43 | upslogx(LOG_ERR, "Can not initialize SSL context"); 44 | return -1; 45 | } 46 | 47 | +#if OPENSSL_VERSION_NUMBER < 0x10100000L 48 | + /* set minimum protocol TLSv1 */ 49 | + SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); 50 | +#else 51 | + ret = SSL_CTX_set_min_proto_version(ssl_ctx, TLS1_VERSION); 52 | + if (ret != 1) { 53 | + upslogx(LOG_ERR, "Can not set minimum protocol to TLSv1"); 54 | + return -1; 55 | + } 56 | +#endif 57 | + 58 | if (!certpath) { 59 | if (certverify == 1) { 60 | upslogx(LOG_ERR, "Can not verify certificate if any is specified"); 61 | @@ -737,7 +742,7 @@ 62 | switch(res) 63 | { 64 | case 1: 65 | - upsdebugx(3, "SSL connected"); 66 | + upsdebugx(3, "SSL connected (%s)", SSL_get_version(ups->ssl)); 67 | break; 68 | case 0: 69 | upslog_with_errno(1, "SSL_connect do not accept handshake."); 70 | --- a/clients/upssched.c 71 | +++ b/clients/upssched.c 72 | @@ -794,7 +794,7 @@ 73 | } 74 | 75 | if (!strcmp(cmd, "EXECUTE")) { 76 | - if (ca1 == '\0') { 77 | + if (ca1[0] == '\0') { 78 | upslogx(LOG_ERR, "Empty EXECUTE command argument"); 79 | return; 80 | } 81 | --- a/m4/nut_check_libopenssl.m4 82 | +++ b/m4/nut_check_libopenssl.m4 83 | @@ -58,7 +58,7 @@ 84 | 85 | dnl check if openssl is usable 86 | AC_CHECK_HEADERS(openssl/ssl.h, [nut_have_openssl=yes], [nut_have_openssl=no], [AC_INCLUDES_DEFAULT]) 87 | - AC_CHECK_FUNCS(SSL_library_init, [], [nut_have_openssl=no]) 88 | + AC_CHECK_FUNCS(SSL_CTX_new, [], [nut_have_openssl=no]) 89 | 90 | if test "${nut_have_openssl}" = "yes"; then 91 | nut_with_ssl="yes" 92 | --- a/server/netssl.c 93 | +++ b/server/netssl.c 94 | @@ -274,7 +274,7 @@ 95 | { 96 | case 1: 97 | client->ssl_connected = 1; 98 | - upsdebugx(3, "SSL connected"); 99 | + upsdebugx(3, "SSL connected (%s)", SSL_get_version(client->ssl)); 100 | break; 101 | 102 | case 0: 103 | @@ -370,13 +370,7 @@ 104 | { 105 | #ifdef WITH_NSS 106 | SECStatus status; 107 | -#elif defined(WITH_OPENSSL) 108 | -#if OPENSSL_VERSION_NUMBER >= 0x10000000L 109 | - const SSL_METHOD *ssl_method; 110 | -#else 111 | - SSL_METHOD *ssl_method; 112 | -#endif 113 | -#endif /* WITH_NSS|WITH_OPENSSL */ 114 | +#endif /* WITH_NSS */ 115 | 116 | if (!certfile) { 117 | return; 118 | @@ -386,18 +380,29 @@ 119 | 120 | #ifdef WITH_OPENSSL 121 | 122 | +#if OPENSSL_VERSION_NUMBER < 0x10100000L 123 | SSL_load_error_strings(); 124 | SSL_library_init(); 125 | 126 | - if ((ssl_method = TLSv1_server_method()) == NULL) { 127 | + ssl_ctx = SSL_CTX_new(SSLv23_server_method()); 128 | +#else 129 | + ssl_ctx = SSL_CTX_new(TLS_server_method()); 130 | +#endif 131 | + 132 | + if (!ssl_ctx) { 133 | ssl_debug(); 134 | - fatalx(EXIT_FAILURE, "TLSv1_server_method failed"); 135 | + fatalx(EXIT_FAILURE, "SSL_CTX_new failed"); 136 | } 137 | 138 | - if ((ssl_ctx = SSL_CTX_new(ssl_method)) == NULL) { 139 | +#if OPENSSL_VERSION_NUMBER < 0x10100000L 140 | + /* set minimum protocol TLSv1 */ 141 | + SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3); 142 | +#else 143 | + if (SSL_CTX_set_min_proto_version(ssl_ctx, TLS1_VERSION) != 1) { 144 | ssl_debug(); 145 | - fatalx(EXIT_FAILURE, "SSL_CTX_new failed"); 146 | + fatalx(EXIT_FAILURE, "SSL_CTX_set_min_proto_version(TLS1_VERSION)"); 147 | } 148 | +#endif 149 | 150 | if (SSL_CTX_use_certificate_chain_file(ssl_ctx, certfile) != 1) { 151 | ssl_debug(); 152 | -------------------------------------------------------------------------------- /spotify/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Ashley Whetter <(firstname) @ awhetter.co.uk> 2 | # Co-Maintainer: NicoHood 3 | # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161 4 | # Contributor: Eothred 5 | 6 | pkgname=spotify 7 | pkgver=1.1.84.716 8 | epoch=1 9 | _commit=gc5f8b819-2 10 | pkgrel=4 11 | pkgdesc='A proprietary music streaming service' 12 | arch=('x86_64') 13 | license=('custom') 14 | url='https://www.spotify.com' 15 | depends=('alsa-lib>=1.0.14' 'gtk3' 'libxss' 'desktop-file-utils' 'openssl' 'nss' 'at-spi2-atk' 'libcurl-gnutls' 'libsm') 16 | optdepends=('ffmpeg4.4: Adds support for playback of local files' 17 | 'zenity: Adds support for importing local files' 18 | 'libnotify: Desktop notifications') 19 | options=('!strip') 20 | 21 | # NOTE: We switched from stable to testing on 18th march, as the spotify 22 | # stable repository is always outdated. Testing seems to be in sync with snap: 23 | # https://snapcraft.io/spotify 24 | # http://repository.spotify.com/dists/testing/Release 25 | # http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages 26 | # http://repository.spotify.com/dists/testing/Release.gpg 27 | source=('spotify.protocol' 28 | 'LICENSE' 29 | "${pkgname}-${pkgver}-${_commit}-x86_64.deb::http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_${pkgver}.${_commit}_amd64.deb" 30 | # GPG signature check 31 | "${pkgname}-${pkgver}-${pkgrel}-Release::http://repository.spotify.com/dists/testing/Release" 32 | "${pkgname}-${pkgver}-${pkgrel}-Release.sig::http://repository.spotify.com/dists/testing/Release.gpg" 33 | "${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages::http://repository.spotify.com/dists/testing/non-free/binary-amd64/Packages") 34 | sha512sums=('999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20' 35 | '2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615' 36 | '9ba6c2d155f683b9a38222d58a2a53a2a5f4b422ed1c0d603af87919ba8a68309aea3354278fd1d5d8142a1568d93b7e83b14c041e749b0c39f3bc155a633ef8' 37 | 'SKIP' 38 | 'SKIP' 39 | 'SKIP') 40 | # Import key with: 41 | # curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | gpg --import - 42 | validpgpkeys=('F9A211976ED662F00E59361E5E3C45D7B312C643' 43 | 'E27409F51D1B66337F2D2F417A3A762FAFD4A51F') # Spotify Public Repository Signing Key 44 | # Old Keys: 45 | # 8FD3D9A8D3800305A9FFF259D1742AD60D811D58 46 | # 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 47 | # 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45 48 | 49 | prepare() { 50 | # Validate hashes from the PGP signed "Release" file 51 | echo "$(grep non-free/binary-amd64/Packages ${pkgname}-${pkgver}-${pkgrel}-Release | tail -n 2 | head -n 1 | awk '{print $1}') ${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages" \ 52 | > "${pkgname}-${pkgver}-x86_64-Packages.sha256" 53 | sha256sum -c "${pkgname}-${pkgver}-x86_64-Packages.sha256" 54 | 55 | echo "$(grep SHA512 ${pkgname}-${pkgver}-${pkgrel}-x86_64-Packages | head -n 1 | awk '{print $2}') ${pkgname}-${pkgver}-${_commit}-x86_64.deb" \ 56 | > "${pkgname}-${pkgver}-x86_64.deb.sha512" 57 | sha512sum -c "${pkgname}-${pkgver}-x86_64.deb.sha512" 58 | } 59 | 60 | package() { 61 | cd "${srcdir}" 62 | 63 | tar -xzf data.tar.gz --no-same-owner -C "${pkgdir}" 64 | 65 | # Enable spotify to open URLs from the webapp 66 | sed -i 's/^Exec=.*/Exec=spotify --uri=%U/' "${pkgdir}"/usr/share/spotify/spotify.desktop 67 | 68 | install -Dm644 "${pkgdir}"/usr/share/spotify/spotify.desktop "${pkgdir}"/usr/share/applications/spotify.desktop 69 | install -Dm644 "${pkgdir}"/usr/share/spotify/icons/spotify-linux-512.png "${pkgdir}"/usr/share/pixmaps/spotify-client.png 70 | 71 | for size in 22 24 32 48 64 128 256 512; do 72 | install -Dm644 "${pkgdir}/usr/share/spotify/icons/spotify-linux-$size.png" \ 73 | "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/spotify.png" 74 | done 75 | 76 | # Move spotify binary to its proper location 77 | mkdir -p "${pkgdir}"/opt/spotify 78 | mv "${pkgdir}/usr/share/spotify" "${pkgdir}/opt/" 79 | 80 | # Symlink spotify binary which is located in /opt 81 | ln -sf /opt/spotify/spotify "${pkgdir}/usr/bin/spotify" 82 | 83 | # Copy protocol file for KDE 84 | install -Dm644 "${srcdir}/spotify.protocol" "${pkgdir}/usr/share/kservices5/spotify.protocol" 85 | 86 | # Install license 87 | # https://www.spotify.com/legal/end-user-agreement 88 | install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 89 | 90 | # Fix permissions 91 | chmod -R go-w "${pkgdir}" 92 | } 93 | -------------------------------------------------------------------------------- /exim/PKGBUILD: -------------------------------------------------------------------------------- 1 | # Maintainer: Felix Yan 2 | # Contributor: Bartłomiej Piotrowski 3 | # Contributor: Lukas Fleischer 4 | # Contributor: Angel Velasquez 5 | # Contributor: judd 6 | 7 | pkgname=exim 8 | pkgver=4.96 9 | pkgrel=2 10 | pkgdesc='Message Transfer Agent' 11 | arch=('x86_64') 12 | url='https://www.exim.org/' 13 | license=('GPL') 14 | backup=('etc/mail/aliases' 'etc/mail/exim.conf' 'etc/logrotate.d/exim') 15 | depends=('gdbm' 'libldap' 'libidn' 'libidn2' 'libnsl' 'libspf2' 'libxcrypt' 'openssl' 'pam' 'pcre2' 'sqlite' 'opendmarc') 16 | provides=('smtp-server' 'smtp-forwarder') 17 | conflicts=('smtp-server' 'smtp-forwarder') 18 | source=("https://ftp.exim.org/pub/exim/exim4/exim-$pkgver.tar.bz2"{,.asc} 19 | aliases 20 | exim.logrotate 21 | exim.Makefile 22 | exim-submission@.service 23 | exim.service 24 | exim@.service 25 | exim.socket 26 | exim-submission.socket 27 | exim.sysusers 28 | dmarc_api_change.patch 29 | exim.tmpfiles) 30 | sha512sums=('675dcb13dac449edede61926e7af6dcc3ff3a455c053d413a35c873b926dfc4d63540ba7d52347516c6a9b4b60a3627b449685210ddfba0a4c61ec7a0a0b8333' 31 | 'SKIP' 32 | '6494d9aae71a630935f3946a136855aadede54fd10b7b3cd7df47972d320ae142410076871e839f6caca8e02ec136604464b0b9c593721db243d8edf75c2f17f' 33 | 'd8e3b466e0bba8175cfe762058dec49018495a260aa5efd139f4ef435284c305958cbd7fc514e81042146368b749ae38f0bf276fc0b4b91918ef33126900aa81' 34 | 'SKIP' 35 | 'dc28698f15e8eaa4614ae81fc8cb76d92fed1110ce02f7a6ee8feace418dbb194711eb2d4dd444cf818628c11721e21d80b7b974879ab6ddd78cc717cce17c2f' 36 | 'b3c3b18652df435cb87d647cfd4f19e182fbf12b0b56f9c91f72b27ae5a819fb3d8c4c25445c5a3c184f70a0c181925fabda891f2057b8a917070d6c40529b8d' 37 | '11c8133ee15b3e5193c9b1c59aed66c81b6e045dd23310bede9fcde6c88905db5ef08afdb798b53b75a7465915ea1247e980edf95db07a7f9b7bb58ce95fbb5a' 38 | 'db621116907ceb573e6f34581f47c91f751bff593054d7ddc32397b34c7f2405bec184bdb0589d2ac457fa3a61bcba072761e3a6293a99c9c764d2d9fd6069ae' 39 | '4a233761793e3510e9efa5aad3a6098c41b757f13133a7ea825680f2b393aba8d7935f16bf1dd065dde884fe7ba45639a8d398333a7d9bf0a6b72f88c8f2a09d' 40 | '87a16aa7bd60a8df0da8131bb811825232f25e934b9326460a2f8f0f8e0f44c53d71b1225ecfee8d30c8714f6e9f85f5f0821e346a7751d43683b406376d605b' 41 | 'SKIP' 42 | 'f8a34fea0a65d0992732bc444bbb334d060de7d91d9cca6f00bc950ba289afa813783517dd3999437f89bc194290785805df7081606a65abb1db3fd3b3aa94ca') 43 | validpgpkeys=('C693A034E1ED6EE954CAE2DA13DAD99C7E41519C' # Phil Pennock 44 | 'ACBB4324393ADE3515DA2DDA4D1E900E14C1CC04' # Phil Pennock 45 | 'E5CA331D44AB8E4C806FDBEE26101B62F69376CE' # Heiko Schlittermann (Exim MTA Maintainer) 46 | 'A986F3A6BD6377D8730958DEBCE58C8CE41F32DF') # Jeremy Harris 47 | 48 | prepare() { 49 | cd $pkgname-$pkgver 50 | 51 | patch --strip=2 --input="${srcdir}/dmarc_api_change.patch" 52 | } 53 | 54 | build() { 55 | cd $pkgname-$pkgver 56 | 57 | cp ../$pkgname.Makefile Local/Makefile 58 | make 59 | } 60 | 61 | package() { 62 | cd $pkgname-$pkgver 63 | 64 | install -Dm0644 ../exim.logrotate "$pkgdir"/etc/logrotate.d/exim 65 | install -Dm0644 doc/exim.8 "$pkgdir"/usr/share/man/man8/exim.8 66 | 67 | install -Dm0644 ../exim.sysusers "$pkgdir"/usr/lib/sysusers.d/exim.conf 68 | install -Dm0644 ../exim.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/exim.conf 69 | 70 | cd build-Linux-* 71 | for i in exicyclog exim_checkaccess exim_dumpdb exim_lock exim_tidydb \ 72 | exipick exiqsumm exigrep exim_dbmbuild exim exim_fixdb eximstats exinext \ 73 | exiqgrep exiwhat; do 74 | install -Dm0755 "$i" "$pkgdir"/usr/bin/$i 75 | done 76 | chmod u+s "$pkgdir"/usr/bin/exim 77 | 78 | cd ../src 79 | sed -e "s|/etc/aliases|/etc/mail/aliases|g" \ 80 | -e "s|SYSTEM_ALIASES_FILE|/etc/mail/aliases|g" \ 81 | configure.default | install -Dm0644 /dev/stdin "$pkgdir"/etc/mail/exim.conf 82 | 83 | install -Dm0644 "$srcdir"/aliases "$pkgdir"/etc/mail/aliases 84 | 85 | cd "$pkgdir"/usr/bin 86 | for i in mailq newaliases rmail rsmtp runq sendmail; do 87 | ln -s exim "$i" 88 | done 89 | 90 | # fhs compliancy 91 | ln -s ../bin/exim ../lib/sendmail 92 | 93 | install -Dm0644 "$srcdir"/exim-submission@.service \ 94 | "$pkgdir"/usr/lib/systemd/system/exim-submission@.service 95 | install -Dm0644 "$srcdir"/exim.service \ 96 | "$pkgdir"/usr/lib/systemd/system/exim.service 97 | install -Dm0644 "$srcdir"/exim@.service \ 98 | "$pkgdir"/usr/lib/systemd/system/exim@.service 99 | install -Dm0644 "$srcdir"/exim.socket \ 100 | "$pkgdir"/usr/lib/systemd/system/exim.socket 101 | install -Dm0644 "$srcdir"/exim-submission.socket \ 102 | "$pkgdir"/usr/lib/systemd/system/exim-submission.socket 103 | } 104 | --------------------------------------------------------------------------------