32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
|
|
. ../APKBUILD-data.template
|
|
|
|
pkgrel=0
|
|
source="
|
|
level1.gz::http://list.iblocklist.com/?list=ydxerpxkpcfqjaybcssw&fileformat=p2p&archiveformat=gz
|
|
level2.gz::http://list.iblocklist.com/?list=gyisgnzbhppbvsphucsw&fileformat=p2p&archiveformat=gz
|
|
level3.gz::http://list.iblocklist.com/?list=uwnukjqktoggdknzrhgh&fileformat=p2p&archiveformat=gz
|
|
badpeers.gz::http://list.iblocklist.com/?list=cwworuawihqvocglcoss&fileformat=p2p&archiveformat=gz
|
|
"
|
|
_rx_installdir="/etc/redxen/transmission/blocklists"
|
|
_rx_fperm=444 # Public, static resources
|
|
|
|
package() {
|
|
gzip -d > level1 < level1.gz
|
|
gzip -d > level2 < level2.gz
|
|
gzip -d > level3 < level3.gz
|
|
gzip -d > badpeers < badpeers.gz
|
|
cat level1 level2 level3 badpeers > blocklist
|
|
rx_install blocklist
|
|
}
|
|
|
|
|
|
sha512sums="
|
|
6e06bbfcbda2bd8bab83832cf9a05917f3e7f10bd9b77108707c2ee0893800960f694bc6bcea63f1602d9bade62713ed6294ce214291c0f554b864611b4634c3 level1.gz
|
|
f28b0bdb67f8253bf21b07b8794e08fc3a6eac96afa194c0183ac480790accc954e9c1e439bc187085c41d066e43139fae37cc4653cad281e9bbaf9ad5ff63ff level2.gz
|
|
1c0774ff1e0a19efbf83eaca84a266e8530a985c25e0f6629feaa7301c6b1c28d42c8491266e73b9bf73e9cf31622e3d0d9ccc320f832e489050323f8f2191e9 level3.gz
|
|
c3c010764a624cd6eecf71c793347f33e9e51145bb901e4d4746b3ff4153dfd784b212178ba175cea4f0a9e3bcf81d8fa3d6f58f58d4400a49b3b300a8ef6020 badpeers.gz
|
|
"
|