fb7f99efe2
Unmaintained is a name which on multiple occasions have seen lead to confusion with people having the impression that unmaintained is for all unmaintained devices, which is not how we're really using it. Many devices in testing do not actually have a maintainer, yet there has been no push to move these out of there and into unmaintained. I think this is a result of that unmaintained was introduced not to keep unmaintained ports but rather a place to store ports that have a better replacement but where the inferior one still holds some sort of value, such as for debugging purposes. These ports also are not necessarily entirely unmaintained and see more fixes than many ports in testing. While one approach to solving this problem could be to simply moving all unmaintained ports to unmaintained, I think this comes with some problems: It would require an initial effort to figure out which ports are indeed unmaintained and which just don't have a maintained noted in the package, and given how many ports there are in testing this would be a big endeavour. It would also require continuous work on moving ports into unmaintained as the maintainers go silent if we are to keep testing and unmaintained's state consistent with reality. Additionally, just because a port doesn't have a maintainer on paper doens't mean that there aren't people who aren't willing to fix it up if there are issues that arise. As such, I think the way to go is renaming unmaintained to better reflect the original intent. Thanks to Luca Weiss for suggesting "archive", and to Arnav Singh for suggesting that "archived" would match the other category names better.
62 lines
2 KiB
Text
62 lines
2 KiB
Text
# Archived: Downstream port, only for testing. Use mainline port (samsung-klte)!
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-samsung-klte-downstream
|
|
pkgdesc="Samsung Galaxy S5 (SM-G900F)"
|
|
pkgver=1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="
|
|
cpufrequtils
|
|
linux-samsung-klte-downstream
|
|
mkbootimg
|
|
msm-fb-refresher
|
|
postmarketos-base
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
cpufreq.start
|
|
deviceinfo
|
|
fstab.android
|
|
NetworkManager-klte.conf
|
|
"
|
|
install="$pkgname.post-install"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
# Disable v4l udev rules (video4linux), because without the camera
|
|
# firmware blobs this makes udev helper hang (#1033).
|
|
mkdir -p "$pkgdir"/etc/udev/rules.d
|
|
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
|
|
|
# NetworkManager configuration - ignore unsupported devices and set default dhcp client
|
|
install -Dm644 "$startdir"/NetworkManager-klte.conf \
|
|
"$pkgdir"/etc/NetworkManager/conf.d/10-klte.conf
|
|
|
|
# Power/battery saver, prevent device from overheating
|
|
install -Dm755 "$startdir"/cpufreq.start "$pkgdir"/etc/local.d/cpufreq.start
|
|
|
|
# fstab with android mountpoints
|
|
install -Dm644 "$startdir"/fstab.android "$pkgdir"/etc/fstab.android
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wi-Fi firmware"
|
|
depends="firmware-samsung-klte-wifi"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c66e0c57e911b644cf6c340ea19ce0a9399b8e9e6cb0da38f612e0f8b3d0812ad109cd7b7506184e840a653397a64e3e57fdc71ab8b0fc52733bf74365b9c0e7 cpufreq.start
|
|
b10ac1e13451401f35395054f4ab0f1aacb1ad6e517765fbda588ff422fd1483b2fbea870e7ba9afb9b69bd3205698b8b24a518823731229bd57fc9141c50135 deviceinfo
|
|
6648d792ffd9fc002e45834fe12a77d20935a8936246d4a06f1835a4370c2de1cb3191650d02c21d637cfe68a5a7286a5c9e5f9c00b9c56c299176b210f6af3f fstab.android
|
|
3753dcd8c25cfbbdd8f087a3168537df1334f0d33f36bc8923ec3d225ceb88121aa8d1670d6c6a2baab3d7067c86a43571695ce22e3b47076f97fcb53d1d7e6f NetworkManager-klte.conf
|
|
"
|