Compare commits

...

8 Commits

14 changed files with 80 additions and 342 deletions

23
dualsensectl/PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=dualsensectl
pkgver=0.5
pkgrel=1
pkgdesc='Tool for controlling Sony PlayStation 5 DualSense controller on Linux'
arch=(x86_64)
conflicts=(dualsensectl-git)
url='https://github.com/nowrep/dualsensectl'
license=(GPL-2.0-only)
depends=(dbus hidapi glibc systemd-libs)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('e4fa6b0d8a98b7034cec2682063a776d8a053403c3f1083640ff7d171fccb29c7cee58285b7a067cdd3a6613e383d0b204ddb2ea67033f50b209f262c11d3fc6')
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}

View File

@@ -3,26 +3,33 @@
pkgname=e1000e-no-nvm-checksum-dkms pkgname=e1000e-no-nvm-checksum-dkms
_modname=e1000e _modname=e1000e
pkgver=6.6 pkgver=3.8.7
pkgrel=1 pkgrel=1
pkgdesc="Intel e1000e Ethernet adapter driver (latest version from Intel) (DKMS version)" pkgdesc="Intel e1000e Ethernet adapter driver (latest version from Intel) (DKMS version)"
license=('GPL') license=(GPL-2.0-only)
arch=('any') arch=(any)
depends=('dkms') depends=(dkms)
conflicts=('e1000e-dkms') conflicts=(e1000e-dkms)
optdepends=('linux-headers: build the module against Arch kernel [requires at least one set of kernel headers]' optdepends=('linux-headers: build the module against Arch kernel [requires at least one set of kernel headers]'
'linux-ck-headers: build the module against Linux-ck kernel [requires at least one set of kernel headers]' 'linux-ck-headers: build the module against Linux-ck kernel [requires at least one set of kernel headers]'
'linux-lts-headers: build the module against LTS Arch kernel [requires at least one set of kernel headers]') 'linux-lts-headers: build the module against LTS Arch kernel [requires at least one set of kernel headers]')
url='http://sourceforge.net/projects/e1000/' url='http://sourceforge.net/projects/e1000/'
source=("e1000e_6_6.tar.gz" source=("http://downloads.sourceforge.net/project/e1000/${_modname}%20historic%20archive/${pkgver}/${_modname}-${pkgver}.tar.gz"
'dkms.conf.in') 'dkms.conf.in'
b2sums=('ea4d7b6d67ea55f551c538b5e04661e1ae08de9361b69904950b640a8c1d538fd8fa5d0d557d158a65e2aabd6a2937adda28f3450f4968e2419572f9161843da' 'e1000e-3.8.7_coalesce_interface.patch'
'a4c9362d067b8e411718018b3a27895ce24b51975a28766310bd9788cc0e49b2acb352019bd6be61b019cfd304eb1684e8877adade8cfd89380a27a0891e7e81') 'e1000e-no-nvm-checksum.patch')
b2sums=('b308c5797fc30d1342ea4d627e41fde1b65ff2ef7e26e6d38deeb2ee5295f1a4b5db56c88ecef59d5a2f00cc6d39942b4ae213a5f1e8f7c897cda19c5e848829'
'a4c9362d067b8e411718018b3a27895ce24b51975a28766310bd9788cc0e49b2acb352019bd6be61b019cfd304eb1684e8877adade8cfd89380a27a0891e7e81'
'ff2c252905e55c68519c046f119c3295958a73e443f561af3457f85f5d5cb97949ef60d6bfb9de6911d8f85948bd8d00c6c25ba3991a2cec96a374e766d9947b'
'a771245d8a67723dc108ea9f1c7b8696e5be9d3c7eff619577e92673b1ab950d1d6928b8f96a0562ea07de25092c087af61a0e19fc95ee717929118b9a99fd98')
package() { package() {
install -dm755 "${pkgdir}/usr/src/${_modname}-${pkgver}/" cd $_modname-$pkgver
for i in "${srcdir}/${_modname}/"*; do patch -Np1 < $srcdir/e1000e-3.8.7_coalesce_interface.patch
install -D -m644 "${i}" "${pkgdir}/usr/src/${_modname}-${pkgver}/" patch -Np1 < $srcdir/e1000e-no-nvm-checksum.patch
install -dm755 "$pkgdir"/usr/src/$_modname-$pkgver/
for i in src/*; do
install -Dm644 "$i" "$pkgdir"/usr/src/$_modname-$pkgver/
done done
sed "s/#MODULE_VERSION#/${pkgver}/" "${srcdir}/dkms.conf.in" > "${pkgdir}/usr/src/${_modname}-${pkgver}/dkms.conf" sed "s/#MODULE_VERSION#/$pkgver/" $srcdir/dkms.conf.in > "$pkgdir"/usr/src/$_modname-$pkgver/dkms.conf
} }

View File

@@ -0,0 +1,25 @@
diff -rauN e1000e-3.8.7/src/ethtool.c e1000e-3.8.7_coalesce_interface_patch/src/ethtool.c
--- e1000e-3.8.7/src/ethtool.c 2020-06-30 12:11:13.000000000 +0200
+++ e1000e-3.8.7_coalesce_interface_patch/src/ethtool.c 2023-09-07 16:46:35.000000000 +0200
@@ -2421,7 +2421,9 @@
#endif /* HAVE_ETHTOOL_SET_PHYS_ID */
static int e1000_get_coalesce(struct net_device *netdev,
- struct ethtool_coalesce *ec)
+ struct ethtool_coalesce *ec,
+ struct kernel_ethtool_coalesce *kec,
+ struct netlink_ext_ack *kack)
{
struct e1000_adapter *adapter = netdev_priv(netdev);
@@ -2434,7 +2436,9 @@
}
static int e1000_set_coalesce(struct net_device *netdev,
- struct ethtool_coalesce *ec)
+ struct ethtool_coalesce *ec,
+ struct kernel_ethtool_coalesce *kec,
+ struct netlink_ext_ack *kack)
{
struct e1000_adapter *adapter = netdev_priv(netdev);

View File

@@ -0,0 +1,12 @@
diff --color -rauN e1000e-3.8.7/src/nvm.c e1000e-3.8.7_no_nvm_check/src/nvm.c
--- e1000e-3.8.7/src/nvm.c 2020-06-30 12:11:13.596416913 +0200
+++ e1000e-3.8.7_no_nvm_check/src/nvm.c 2023-10-13 23:29:43.013504316 +0200
@@ -561,7 +561,7 @@
if (checksum != (u16)NVM_SUM) {
e_dbg("NVM Checksum Invalid\n");
- return -E1000_ERR_NVM;
+ //return -E1000_ERR_NVM;
}
return 0;

View File

@@ -1,77 +0,0 @@
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Daniel Seymour <dannyseeless@gmail.com>
pkgbase=jellyfin
pkgname=(jellyfin jellyfin-web jellyfin-server)
pkgver=10.8.0alpha5
pkgrel=1
pkgdesc='The Free Software Media System'
arch=('i686' 'x86_64' 'armv6h')
url='https://github.com/jellyfin/jellyfin'
license=('GPL2')
makedepends=('dotnet-sdk>=5' 'npm' 'git')
source=("jellyfin-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin/archive/v10.8.0-alpha5.tar.gz"
"jellyfin-web-$pkgver.tar.gz::https://github.com/jellyfin/jellyfin-web/archive/v10.8.0-alpha5.tar.gz"
'jellyfin.conf'
'jellyfin.service'
'jellyfin.sysusers'
'jellyfin.tmpfiles')
b2sums=('6ac9536f3bf0d316061625cc9cb229885ad6ccd457a38ebd51a4f17d641a7aa551bf2273b29654a5a3a15ee7f971d3df12a15c8ef8856c819ba36a3b958d5108'
'd06e3a721611bbe0c55be8f9da9b58950663ffa5e728605b97fd1518f69892f1fa91ae4947c8ac17c0629264dc814d315cfb0dc8ce7f63b273d6f27782201d85'
'687d46dc6ba548d536dfe0efe5d265c56d6e681ff0c5d6e211c46a5383d6e350dcdbb943d17a30395e468e56deedc741c126c78206c3577564eb0df1c3351929'
'cbfe2e55eb32a70fcf7f875ff5314aaf2c58650ba60e4aa241cb348cbbb8108592905cf209cd9ebe8790dfc5d755347e5226ef58ee64c82f296ec90b580e7c10'
'0abe73da344e379a9c19efe4e656144a8d4056fccafba0f94f8c79154eeeb488127936c8c7f1cde011bbb53b757aea1f3d2f8d5cdb17293e8b8a1a9fb8b04f90'
'5756d26274c359ea48a5841e0a96319c6f5359fd4f81ed2f1f97dcf8e93f5afbefd2be4ca1bed70569a78149e9b292d07bf7971401ae3fbea1354568c7583ad8')
build(){
# Build jellyfin-web
cd jellyfin-web-10.8.0-alpha5
#yarn install --cache-folder "$srcdir"/yarn-cache
npm install --cache "${srcdir}/npm-cache"
# Build jellyfin-server
cd ../jellyfin-10.8.0-alpha5
# Disable dotnet telemetry
export DOTNET_CLI_TELEMETRY_OPTOUT=1
dotnet build --configuration Release Jellyfin.Server
# Ideally, this would be run in package() with the --output variable pointing
# to "$pkgdir"/usr/lib/jellyfin, but this step fails in fakeroot.
# The makepkg output looks like
# Restore completed in 56.84 ms for /aur/jellyfin-git/src/jellyfin/Jellyfin.Server/Jellyfin.Server.csproj.
# ==> ERROR: A failure occurred in package().
# without indicating any sort of failure.
dotnet publish --configuration Release Jellyfin.Server --output "$PWD"/publish
# Clean up the runtimes folder (keep linux-*)
rm -rfv publish/runtimes/{alpine-*,osx*,tizen-*,win*}
}
package_jellyfin() {
depends=("jellyfin-web=$pkgver" "jellyfin-server=$pkgver")
}
package_jellyfin-server() {
pkgdesc="Jellyfin server component"
depends=('dotnet-runtime>=5' 'aspnet-runtime>=5' 'ffmpeg' 'sqlite')
backup=('etc/conf.d/jellyfin')
mkdir -p "$pkgdir"/usr/lib
cp -dr --no-preserve='ownership' jellyfin-10.8.0-alpha5/publish "$pkgdir"/usr/lib/jellyfin
install -Dm 644 jellyfin.service -t "$pkgdir"/usr/lib/systemd/system/
install -Dm 644 jellyfin.sysusers "$pkgdir"/usr/lib/sysusers.d/jellyfin.conf
install -Dm 644 jellyfin.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/jellyfin.conf
install -Dm 644 jellyfin.conf "$pkgdir"/etc/conf.d/jellyfin
}
package_jellyfin-web() {
pkgdesc="Jellyfin web client"
mkdir -p "$pkgdir"/usr/lib/jellyfin
cp -r jellyfin-web-10.8.0-alpha5/dist "$pkgdir"/usr/lib/jellyfin/jellyfin-web
}
# vim: ts=2 sw=2 et:

View File

@@ -1,6 +0,0 @@
# Data directory
JELLYFIN_DATA_DIRECTORY="/var/lib/jellyfin"
# Cache directory
JELLYFIN_CACHE_DIRECTORY="/var/cache/jellyfin"
# Additional options for the binary
JELLYFIN_ADD_OPTS=""

View File

@@ -1,13 +0,0 @@
[Unit]
Description=Jellyfin Media Server
After=network.target
[Service]
User=jellyfin
EnvironmentFile=/etc/conf.d/jellyfin
ExecStart=/usr/bin/dotnet /usr/lib/jellyfin/jellyfin.dll --datadir ${JELLYFIN_DATA_DIRECTORY} --cachedir ${JELLYFIN_CACHE_DIRECTORY} ${JELLYFIN_ADD_OPTS}
Restart=on-abort
TimeoutSec=20
[Install]
WantedBy=multi-user.target

View File

@@ -1 +0,0 @@
u jellyfin - "Jellyfin Media Server" /var/lib/jellyfin

View File

@@ -1,2 +0,0 @@
d /var/cache/jellyfin 0755 jellyfin jellyfin -
d /var/lib/jellyfin 0755 jellyfin jellyfin -

View File

@@ -1,22 +0,0 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
# Contributor: Dan Elkouby <streetwalrus@codewalr.us>
pkgname=longoverdue-anonfunc
pkgver=0.5.4
pkgrel=2
pkgdesc="System service update management made easy"
arch=('any')
url="https://github.com/an0nfunc/$pkgname"
license=('MIT')
depends=('python' 'python-click' 'lsof')
source=("https://github.com/an0nfunc/longoverdue/archive/v$pkgver.tar.gz")
b2sums=('c4ff90c7945426cb7c52b658ec07ebc8548fde6454d6b034fb5fdc6a48ff131fad6e40be4acf15b74af471429259b106b4db966750974ac3c74b0a03d099991a')
package() {
cd "$srcdir/longoverdue-$pkgver"
sed "s/Depends = longoverdue/Depends = $pkgname/g" -i longoverdue.hook
install -Dm 644 longoverdue.hook $pkgdir/usr/share/libalpm/hooks/longoverdue.hook
install -Dm 755 longoverdue.py $pkgdir/usr/bin/longoverdue
}

View File

@@ -1,42 +0,0 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=nginx-mainline-mod-vts
pkgver=0.1.18
pkgrel=1
_modname="nginx-module-vts"
pkgdesc='Nginx virtual host traffic status module (module for mainline nginx)'
arch=('x86_64')
depends=("nginx-mainline")
makedepends=('nginx-mainline-src')
url="https://github.com/vozlt/nginx-module-vts"
license=('BSD')
source=($pkgname-$pkgver.tar.gz::https://github.com/vozlt/nginx-module-vts/archive/v$pkgver.tar.gz)
b2sums=('700f48ec3ae7b38d4498b1ca6f7e08069befb4b76a20cc0619d16e613c1efb387eace906901fcb098159bc20acfc8723d98aec690e11deaff949f5612dd414f9')
prepare() {
mkdir -p build
cd build
ln -sf /usr/src/nginx/auto
ln -sf /usr/src/nginx/src
}
build() {
cd build
/usr/src/nginx/configure --with-compat --add-dynamic-module=../$_modname-$pkgver
make modules
}
package() {
install -Dm644 "$srcdir"/$_modname-$pkgver/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
cd build/objs
for mod in ngx_*.so; do
install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
done
}

View File

@@ -1,64 +0,0 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
# Contributor: Iacopo Isimbaldi <isiachi@rhye.it>
# Contributor: Lubomir Krajcovic <lubomir.krajcovic(AT)gmail(DOT)com>
# Contributor: Vladimir Kutyavin <vlkut(AT)bk(DOT)ru>
pkgname=xtables-addons-dkms
pkgver=3.7
pkgrel=1
pkgdesc="Successor to patch-o-matic(-ng). Contains extensions that were not accepted in the main Xtables. DKMS flavor for kernels >= 3.7."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://xtables-addons.sourceforge.net/"
depends=('dkms' 'iptables')
optdepends=('perl-text-csv-xs: required for building GeoIP database'
'unzip: required for building GeoIP database')
makedepends=()
conflicts=(xtables-addons xtables-addons-git xtables-addons-multikernel)
replaces=(xtables-addons xtables-addons-git xtables-addons-multikernel)
source=(dkms.conf https://sourceforge.net/projects/${pkgname%-dkms}/files/Xtables-addons/${pkgname%-dkms}-${pkgver}.tar{.xz,.asc})
sha256sums=('c8989ec1ab0c3aaebf557fd19bc0391173a77fb5e7f8b3afc63d3f6593b3b5af'
'045ee3fcfe5d6edb95483cf49e2446ff8cab4bb79411018b18354138b70c5eb5'
'SKIP')
validpgpkeys=("2F8BFE96D14F8B560FBC1F1DA28BDFEEB5A2B2FF")
prepare() {
# go to builddir
cd "${srcdir}/xtables-addons-${pkgver}"
# disable install-exec-hook (avoids useless calling of depmod -a at 'make install' stage)
sed -i 's/^install-exec-hook:$/dont-run:/' Makefile.am
# disable building of xt_ECHO (it's an example module, and it breaks the build)
sed -i 's/^build_ECHO=.*$/build_ECHO=n/' mconfig
}
build() {
cd "${srcdir}/xtables-addons-${pkgver}"
./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--docdir=/usr/share/doc \
--libexecdir=/usr/lib/iptables \
--with-xtlibdir=/usr/lib/iptables \
--without-kbuild
make
}
package() {
cp "${srcdir}/dkms.conf" "${srcdir}/xtables-addons-${pkgver}"
sed -i -e "s/@VERSION@/${pkgver}/" "${srcdir}/xtables-addons-${pkgver}/dkms.conf"
install -dm 755 "${pkgdir}"/usr/src
cp -dr --no-preserve='ownership' "${srcdir}/xtables-addons-${pkgver}" "${pkgdir}/usr/src/xtables-addons-${pkgver}"
cd "${srcdir}/xtables-addons-${pkgver}"
make DESTDIR="${pkgdir}" install
}

View File

@@ -1,102 +0,0 @@
PACKAGE_VERSION="@VERSION@"
# Items below here should not have to change with each driver version
PACKAGE_NAME="xtables-addons"
BDIR="$dkms_tree/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
MAKEARGS=" -C $kernel_source_dir M=${BDIR}/extensions XA_ABSTOPSRCDIR=${BDIR} XA_TOPSRCDIR=${BDIR} V=1"
CLEAN="make ${MAKEARGS} clean"
MAKE="make ${MAKEARGS} modules ; find ${BDIR} -name '*.ko' -exec mv -v {} ${BDIR} \;"
AUTOINSTALL="yes"
# Automatically generated rules below
####
BUILT_MODULE_LOCATION[0]=""
BUILT_MODULE_NAME[0]="xt_ACCOUNT"
DEST_MODULE_LOCATION[0]="/updates"
BUILT_MODULE_LOCATION[1]=""
BUILT_MODULE_NAME[1]="compat_xtables"
DEST_MODULE_LOCATION[1]="/updates"
BUILT_MODULE_LOCATION[2]=""
BUILT_MODULE_NAME[2]="xt_pknock"
DEST_MODULE_LOCATION[2]="/updates"
BUILT_MODULE_LOCATION[3]=""
BUILT_MODULE_NAME[3]="xt_CHAOS"
DEST_MODULE_LOCATION[3]="/updates"
BUILT_MODULE_LOCATION[4]=""
BUILT_MODULE_NAME[4]="xt_DELUDE"
DEST_MODULE_LOCATION[4]="/updates"
BUILT_MODULE_LOCATION[5]=""
BUILT_MODULE_NAME[5]="xt_DHCPMAC"
DEST_MODULE_LOCATION[5]="/updates"
BUILT_MODULE_LOCATION[6]=""
BUILT_MODULE_NAME[6]="xt_DNETMAP"
DEST_MODULE_LOCATION[6]="/updates"
BUILT_MODULE_LOCATION[7]=""
BUILT_MODULE_NAME[7]="xt_IPMARK"
DEST_MODULE_LOCATION[7]="/updates"
BUILT_MODULE_LOCATION[8]=""
BUILT_MODULE_NAME[8]="xt_LOGMARK"
DEST_MODULE_LOCATION[8]="/updates"
BUILT_MODULE_LOCATION[9]=""
BUILT_MODULE_NAME[9]="xt_SYSRQ"
DEST_MODULE_LOCATION[9]="/updates"
BUILT_MODULE_LOCATION[10]=""
BUILT_MODULE_NAME[10]="xt_TARPIT"
DEST_MODULE_LOCATION[10]="/updates"
BUILT_MODULE_LOCATION[11]=""
BUILT_MODULE_NAME[11]="xt_condition"
DEST_MODULE_LOCATION[11]="/updates"
BUILT_MODULE_LOCATION[12]=""
BUILT_MODULE_NAME[12]="xt_fuzzy"
DEST_MODULE_LOCATION[12]="/updates"
BUILT_MODULE_LOCATION[13]=""
BUILT_MODULE_NAME[13]="xt_geoip"
DEST_MODULE_LOCATION[13]="/updates"
BUILT_MODULE_LOCATION[14]=""
BUILT_MODULE_NAME[14]="xt_iface"
DEST_MODULE_LOCATION[14]="/updates"
BUILT_MODULE_LOCATION[15]=""
BUILT_MODULE_NAME[15]="xt_ipp2p"
DEST_MODULE_LOCATION[15]="/updates"
BUILT_MODULE_LOCATION[16]=""
BUILT_MODULE_NAME[16]="xt_ipv4options"
DEST_MODULE_LOCATION[16]="/updates"
BUILT_MODULE_LOCATION[17]=""
BUILT_MODULE_NAME[17]="xt_length2"
DEST_MODULE_LOCATION[17]="/updates"
BUILT_MODULE_LOCATION[18]=""
BUILT_MODULE_NAME[18]="xt_lscan"
DEST_MODULE_LOCATION[18]="/updates"
BUILT_MODULE_LOCATION[19]=""
BUILT_MODULE_NAME[19]="xt_psd"
DEST_MODULE_LOCATION[19]="/updates"
BUILT_MODULE_LOCATION[20]=""
BUILT_MODULE_NAME[20]="xt_quota2"
DEST_MODULE_LOCATION[20]="/updates"
#BUILT_MODULE_LOCATION[21]=""
#BUILT_MODULE_NAME[21]="xt_ECHO"
#DEST_MODULE_LOCATION[21]="/updates"