@@ -419,47 +419,54 @@ def get_package_info(cls, package_url):
419
419
class UtilLinuxDirectoryListedSource (DirectoryListedSource ):
420
420
source_url = "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/"
421
421
is_nested = True
422
+ # Source archive ex: util-linux-1.2.3.tar.gz
422
423
source_archive_regex = re .compile (r"^(util-linux-)(?P<version>[\w.-]*)(.tar.gz)$" )
423
424
ignored_files_and_dir = []
424
425
425
426
426
427
class BusyBoxDirectoryListedSource (DirectoryListedSource ):
427
428
source_url = "https://www.busybox.net/downloads/"
429
+ # Source archive ex: busybox-1.2.3.tar.bz2
428
430
source_archive_regex = re .compile (r"^(busybox-)(?P<version>[\w.-]*)(.tar.bz2)$" )
429
431
is_nested = False
430
432
ignored_files_and_dir = []
431
433
432
434
433
435
class UclibcDirectoryListedSource (DirectoryListedSource ):
434
436
source_url = "https://www.uclibc.org/downloads/"
437
+ # Source archive ex: uClibc-1.2.3.tar.gz
435
438
source_archive_regex = re .compile (r"^(uClibc-)(?P<version>[\w.-]*)(.tar.gz)$" )
436
439
is_nested = False
437
440
ignored_files_and_dir = []
438
441
439
442
440
443
class UclibcNGDirectoryListedSource (DirectoryListedSource ):
441
444
source_url = "https://downloads.uclibc-ng.org/releases/"
445
+ # Source archive ex: uClibc-ng-1.2.3.tar.gz
442
446
source_archive_regex = re .compile (r"^(uClibc-ng-)(?P<version>[\w.-]*)(.tar.gz)$" )
443
447
is_nested = True
444
448
ignored_files_and_dir = []
445
449
446
450
447
451
class Bzip2DirectoryListedSource (DirectoryListedSource ):
448
452
source_url = "https://sourceware.org/pub/bzip2/"
453
+ # Source archive ex: bzip2-1.2.3.tar.gz
449
454
source_archive_regex = re .compile (r"^(bzip2-)(?P<version>[\w.-]*)(.tar.gz)$" )
450
455
is_nested = False
451
456
ignored_files_and_dir = []
452
457
453
458
454
459
class OpenSSHDirectoryListedSource (DirectoryListedSource ):
455
460
source_url = "https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/"
461
+ # Source archive ex: openssh-1.2.3.tar.gz
456
462
source_archive_regex = re .compile (r"^(openssh-)(?P<version>[\w.-]*)(.tgz|.tar.gz)$" )
457
463
is_nested = False
458
464
ignored_files_and_dir = []
459
465
460
466
461
467
class DnsmasqDirectoryListedSource (DirectoryListedSource ):
462
468
source_url = "https://thekelleys.org.uk/dnsmasq/"
469
+ # Source archive ex: dnsmasq-1.2.3.tar.gz
463
470
source_archive_regex = re .compile (
464
471
r"^(dnsmasq-)(?P<version>[\w.-]*)(.tar.xz|.tar.gz)$"
465
472
)
@@ -469,13 +476,15 @@ class DnsmasqDirectoryListedSource(DirectoryListedSource):
469
476
470
477
class EbtablesDirectoryListedSource (DirectoryListedSource ):
471
478
source_url = "https://www.netfilter.org/pub/ebtables/"
479
+ # Source archive ex: ebtables-1.2.3.tar.gz
472
480
source_archive_regex = re .compile (r"^(ebtables-)(?P<version>[\w.-]*)(.tar.gz)$" )
473
481
is_nested = False
474
482
ignored_files_and_dir = []
475
483
476
484
477
485
class HostapdDirectoryListedSource (DirectoryListedSource ):
478
486
source_url = "https://w1.fi/releases/"
487
+ # Source archive ex: hostapd-1.2.3.tar.gz
479
488
source_archive_regex = re .compile (r"^(hostapd-)(?P<version>[\w.-]*)(.tar.gz)$" )
480
489
is_nested = False
481
490
ignored_files_and_dir = []
@@ -484,6 +493,7 @@ class HostapdDirectoryListedSource(DirectoryListedSource):
484
493
class Iproute2DirectoryListedSource (DirectoryListedSource ):
485
494
source_url = "https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/"
486
495
source_archive_regex = re .compile (
496
+ # Source archive ex: iproute2-1.2.3.tar.gz
487
497
r"^(iproute2-)(?P<version>[\w.-]*)(.tar.xz|.tar.gz)$"
488
498
)
489
499
is_nested = False
@@ -492,27 +502,31 @@ class Iproute2DirectoryListedSource(DirectoryListedSource):
492
502
493
503
class IptablesDirectoryListedSource (DirectoryListedSource ):
494
504
source_url = "https://www.netfilter.org/pub/iptables/"
505
+ # Source archive ex: iptables-1.2.3.tar.bz2
495
506
source_archive_regex = re .compile (r"^(iptables-)(?P<version>[\w.-]*)(.tar.bz2)$" )
496
507
is_nested = False
497
508
ignored_files_and_dir = []
498
509
499
510
500
511
class LibnlDirectoryListedSource (DirectoryListedSource ):
501
512
source_url = "https://www.infradead.org/~tgr/libnl/files/"
513
+ # Source archive ex: libnl-1.2.3.tar.gz
502
514
source_archive_regex = re .compile (r"^(libnl-)(?P<version>[\w.-]*)(.tar.gz)$" )
503
515
is_nested = False
504
516
ignored_files_and_dir = []
505
517
506
518
507
519
class LighttpdDirectoryListedSource (DirectoryListedSource ):
508
520
source_url = "https://download.lighttpd.net/lighttpd/releases-1.4.x/"
521
+ # Source archive ex: lighttpd-1.2.3.tar.gz
509
522
source_archive_regex = re .compile (r"^(lighttpd-)(?P<version>[\w.-]*)(.tar.gz)$" )
510
523
is_nested = False
511
524
ignored_files_and_dir = []
512
525
513
526
514
527
class NftablesDirectoryListedSource (DirectoryListedSource ):
515
528
source_url = "https://www.netfilter.org/pub/nftables/"
529
+ # Source archive ex: nftables-1.2.3.tar.bz2
516
530
source_archive_regex = re .compile (
517
531
r"^(nftables-)(?P<version>[\w.-]*)(.tar.xz|.tar.bz2)$"
518
532
)
@@ -522,6 +536,7 @@ class NftablesDirectoryListedSource(DirectoryListedSource):
522
536
523
537
class WpaSupplicantDirectoryListedSource (DirectoryListedSource ):
524
538
source_url = "https://w1.fi/releases/"
539
+ # Source archive ex: wpa_supplicant-1.2.3.tar.gz
525
540
source_archive_regex = re .compile (
526
541
r"^(wpa_supplicant-)(?P<version>[\w.-]*)(.tar.gz)$"
527
542
)
@@ -531,20 +546,23 @@ class WpaSupplicantDirectoryListedSource(DirectoryListedSource):
531
546
532
547
class SyslinuxDirectoryListedSource (DirectoryListedSource ):
533
548
source_url = "https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/"
549
+ # Source archive ex: syslinux-1.2.3.tar.gz
534
550
source_archive_regex = re .compile (r"^(syslinux-)(?P<version>[\w.-]*)(.tar.gz)$" )
535
551
is_nested = False
536
552
ignored_files_and_dir = []
537
553
538
554
539
555
class SyslinuxDirectoryListedSource (DirectoryListedSource ):
540
556
source_url = "https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/"
557
+ # Source archive ex: syslinux-1.2.3.tar.gz
541
558
source_archive_regex = re .compile (r"^(syslinux-)(?P<version>[\w.-]*)(.tar.gz)$" )
542
559
is_nested = False
543
560
ignored_files_and_dir = []
544
561
545
562
546
563
class ToyboxDirectoryListedSource (DirectoryListedSource ):
547
564
source_url = "http://www.landley.net/toybox/downloads/"
565
+ # Source archive ex: toybox-1.2.3.tar.gz
548
566
source_archive_regex = re .compile (
549
567
r"^(toybox-)(?P<version>[\w.-]*)(.tar.gz|.tar.bz2)$"
550
568
)
@@ -554,6 +572,7 @@ class ToyboxDirectoryListedSource(DirectoryListedSource):
554
572
555
573
class DropbearDirectoryListedSource (DirectoryListedSource ):
556
574
source_url = "https://matt.ucc.asn.au/dropbear/releases/"
575
+ # Source archive ex: dropbear-1.2.3.tar.bz2
557
576
source_archive_regex = re .compile (
558
577
r"^(dropbear-)(?P<version>[\w.-]*)(.tar.bz2|_i386.deb)$"
559
578
)
@@ -572,26 +591,30 @@ class DropbearDirectoryListedSource(DirectoryListedSource):
572
591
573
592
class SambaDirectoryListedSource (DirectoryListedSource ):
574
593
source_url = "https://download.samba.org/pub/samba/stable/"
594
+ # Source archive ex: samba-1.2.3.tar.gz
575
595
source_archive_regex = re .compile (r"^(samba-)(?P<version>[\w.-]*)(.tar.gz)$" )
576
596
is_nested = False
577
597
ignored_files_and_dir = []
578
598
579
599
580
600
class MtdUtilsDirectoryListedSource (DirectoryListedSource ):
581
601
source_url = "https://infraroot.at/pub/mtd/"
602
+ # Source archive ex: mtd-utils-1.2.3.tar.bz2
582
603
source_archive_regex = re .compile (r"^(mtd-utils-)(?P<version>[\w.-]*)(.tar.bz2)$" )
583
604
is_nested = False
584
605
ignored_files_and_dir = []
585
606
586
607
587
608
class BareboxDirectoryListedSource (DirectoryListedSource ):
588
609
source_url = "https://www.barebox.org/download/"
610
+ # Source archive ex: barebox-1.2.3.tar.bz2
589
611
source_archive_regex = re .compile (r"^(barebox-)(?P<version>[\w.-]*)(.tar.bz2)$" )
590
612
is_nested = False
591
613
ignored_files_and_dir = []
592
614
593
615
class LinuxDirectoryListedSource (DirectoryListedSource ):
594
616
source_url = "https://cdn.kernel.org/pub/linux/kernel/"
617
+ # Source archive ex: linux-1.2.3.tar.gz
595
618
source_archive_regex = re .compile (r"^(linux-)(?P<version>[\w.-]*)(.tar.gz)$" )
596
619
is_nested = True
597
620
ignored_files_and_dir = [
@@ -610,6 +633,7 @@ class LinuxDirectoryListedSource(DirectoryListedSource):
610
633
611
634
class E2fsprogsDirectoryListedSource (DirectoryListedSource ):
612
635
source_url = "https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/"
636
+ # Source archive ex: e2fsprogs-1.2.3.tar.gz
613
637
source_archive_regex = re .compile (r"^(e2fsprogs-)(?P<version>[\w.-]*)(.tar.gz)$" )
614
638
is_nested = True
615
639
ignored_files_and_dir = ["testing/" ]
0 commit comments