Browse Source

Вс 18 окт 2020 11:35:27 MSK

Mike Tatarko 9 months ago
parent
commit
0bfd84e7d3
42 changed files with 1047 additions and 185 deletions
  1. 4 3
      media-sound/ec/Manifest
  2. 1 0
      media-sound/ec/ec-9999.ebuild
  3. 16 16
      media-sound/ec/files/ec.diff
  4. 7 6
      media-sound/ec/files/ec.service
  5. 12 0
      media-sound/ec/files/ec.socket
  6. 7 9
      net-dns/knot-resolver/Manifest
  7. BIN
      net-dns/knot-resolver/data.mdb
  8. 1 1
      net-dns/knot-resolver/files/kresd.confd
  9. 10 10
      net-dns/knot-resolver/files/kresd.initd
  10. 5 5
      net-dns/knot-resolver/files/kresd.logrotate
  11. 1 1
      net-dns/knot-resolver/files/kresd.service
  12. 1 1
      net-dns/knot-resolver/files/kresd.tmpfilesd
  13. 0 86
      net-dns/knot-resolver/knot-resolver-4.0.0.ebuild
  14. 14 41
      net-dns/knot-resolver/knot-resolver-3.0.0.ebuild
  15. BIN
      net-dns/knot-resolver/lock.mdb
  16. 24 0
      net-mail/davmail/Manifest
  17. 69 0
      net-mail/davmail/davmail-4.8.0-r1.ebuild
  18. 61 0
      net-mail/davmail/davmail-5.3.1.ebuild
  19. 61 0
      net-mail/davmail/davmail-5.4.0.ebuild
  20. 12 0
      net-mail/davmail/files/abadonna-davmail.desktop
  21. BIN
      net-mail/davmail/files/davmail.png
  22. 27 0
      net-mail/davmail/metadata.xml
  23. 3 0
      net-mail/nylas/Manifest
  24. 12 0
      net-mail/nylas/metadata.xml
  25. 51 0
      net-mail/nylas/nylas-2.2.2.ebuild
  26. 3 3
      net-voip/baresip/Manifest
  27. 0 1
      net-voip/baresip/baresip-0.6.3.ebuild
  28. 0 1
      net-voip/baresip/baresip-9999.ebuild
  29. 1 1
      net-voip/baresip/files/01-modules-alsa-pthread-condition.patch
  30. 1 0
      net-vpn/miredo/Manifest
  31. 58 0
      net-vpn/miredo/miredo-9999.ebuild
  32. 6 0
      net-wireless/gnuradio/Manifest
  33. 18 0
      net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch
  34. 50 0
      net-wireless/gnuradio/files/gnuradio-wxpy3.0-compat.patch
  35. 228 0
      net-wireless/gnuradio/gnuradio-3.8.1.0-r2.ebuild
  36. 31 0
      net-wireless/gnuradio/metadata.xml
  37. 5 0
      sys-apps/policycoreutils/Manifest
  38. 13 0
      sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
  39. 27 0
      sys-apps/policycoreutils/metadata.xml
  40. 176 0
      sys-apps/policycoreutils/policycoreutils-3.0.ebuild
  41. 1 0
      sys-process/prelockd/Manifest
  42. 30 0
      sys-process/prelockd/prelockd-9999.ebuild

+ 4 - 3
media-sound/ec/Manifest

@@ -1,3 +1,4 @@
-AUX ec.diff 10531 SHA256 0db64c6eaacddf71846d82f2d380f01c6d483fc8d3a776baded03c8f9cd6d619 SHA512 67a8b2f9e2cd88648c6da94b1d6c36ca5dddf699f79afbf66531a66ea8df494b022a8626c398f0e1b8223e90f862ba78fef04046c85ec58b3fdcc8bfee59889f WHIRLPOOL 8eae43527916e00348451281962d3a0688da639c467e18ff08de16087363acbd4d2af87ea7c20bea2abb2808277a8cb40a94104505d29cc6dfd3ce6c7d9a2eb0
-AUX ec.service 296 SHA256 1bbc58b78a9fa49abe3bc00aa9f5309ea67157cb9d81a94b74ffa7da899abf06 SHA512 e1e7858b0c303b93e9bc36f4543ab5814834bc0cbcf672ac212b9bca3447d846f3376fdb57e850b578418484d18cf4ed4ff56fbd569a10c627697d5cf4fad084 WHIRLPOOL 9c37a6bcd6adbfae1338d534b2fdba1c8f506514006c451cde4224157264cea3b2e4cbe689f245ba29cfe5756a8563e13285d762bd15e30db68c3231a124f124
-EBUILD ec-9999.ebuild 646 SHA256 f7dc4e23210a3f11f422a7da2cfd7669fc8beb7b85e036cf3a0a1a213f776275 SHA512 7724660b56ca49bb0c8f5395b9791d66e2aa78d50094041fea1327d1e5ea95ea2a7eaf65df2b01287d9408c436924b93a0f829544eb661bf14a70a02e43d6ad8 WHIRLPOOL 3218b2825cfdeca19ee742088bd8a880cfcad4b51cce33b785dd09e98dbed0708b44fd87067660a67ce62ba76593c72685c0927d3dd90e42cc69123003333033
+AUX ec.diff 10531 SHA256 536c636eeca10cb9ab06cda6257e659dff2e89ea83bebfe877ac23d0773f3b7f SHA512 aa7d39e3f8aadfb9f92e7119713c5e52d68e0e3a361d8df2c86cd9b243fa98009446716c56098b8bf2a1c6c93326065af67bbe4c84fa31facb2916a1f21aaac8 WHIRLPOOL 5388ae37201d4568f6565324410493823bfeeb737b3d952629b5b68d6463804dc48ddc20faf819a1033e7a72f0dbc2b8d9283882fde2398720f30004aacc35d1
+AUX ec.service 330 SHA256 9d8e4939133f80afc86bd96168cfee9c71816be268c9b7c9d8e124575378cdce SHA512 4aa7e8068354c703d890a04a9b06f1da46d894ce26c99ebf37eab24c5e3205f6036a484c96d1bb557e02c938b03a1230cfd974ce54f38046089481eacb1c187f WHIRLPOOL 79d42a17ec66d842ee6b39f3421d9dc50969ecd6a08b5dc72e276eaec0ab22dc27c680a6a5d8e164e6f8fe55ada2e3ab1a19d979a16605d80d6de698d57f6bc1
+AUX ec.socket 207 SHA256 4f3119a1d52a065f675e9ad4174c8d75ad21a9a58d36a09574638b705b913b4d SHA512 288a616eb535b84538edd6853455d27dfb32b0affc5f24c33c2640803295219dd6ba94d2312a8bac114625ba2da1fd456bc31b07280f3097e89336cd91e0f153 WHIRLPOOL 366fb84352b42a3e062e5f008e467d1763f1d5c1f26cf0df88d9c6dc17d95448ca531a0c0da78f0a06280d197a87324e471d8d7dc7397342a096f74e7c128f0b
+EBUILD ec-9999.ebuild 678 SHA256 78e4def63ad5f2423f1aa1fab67ec69dad0b35c8131239cef53d6a1b20f94eeb SHA512 e0ae483f0ae57976ad583035e7b530551405443150d24a6c587d0d6dc9867b5b86a31087e6d5b07da0c7e1cf08f36aabe209a4b14993a9df7f15c719bbccdb09 WHIRLPOOL ac881691a8654c582309197e38e658311ea721c8edb5208b4182addd90c556ee12dbfb427f109c5dcf8349f99fbf5c3f1c24460764c0b354e8685cb098a6b071

+ 1 - 0
media-sound/ec/ec-9999.ebuild

@@ -30,4 +30,5 @@ src_install () {
     dobin ec_hw
     insinto "/lib/systemd/system"
     doins ${FILESDIR}/ec.service
+    doins ${FILESDIR}/ec.socket
 }

+ 16 - 16
media-sound/ec/files/ec.diff

@@ -6,7 +6,7 @@ diff -urN ec.a/asound.conf ec/asound.conf
      slave {
          format S16_LE
 -        rate 16000
-+        rate 32000
++        rate 48000
          channels 1
          pcm {
              type file
@@ -23,7 +23,7 @@ diff -urN ec.a/asound.conf ec/asound.conf
 -        infile "/tmp/ec.output"
 -        rate 16000
 +        infile "/run/ec/output"
-+        rate 32000
++        rate 48000
          format S16_LE
          channels 2
      }
@@ -36,8 +36,8 @@ diff -urN ec.a/pulse.default.pa ec/pulse.default.pa
  #load-module module-pipe-sink
 -load-module module-pipe-sink sink_name=ec format=s16 rate=16000 channels=1 file=/tmp/ec.input
 -load-module module-pipe-source source_name=ec format=s16 rate=16000 channels=2 file=/tmp/ec.output
-+load-module module-pipe-sink sink_name=ec format=s16 rate=32000 channels=1 file=/run/ec/input
-+load-module module-pipe-source source_name=ec format=s16 rate=32000 channels=2 file=/run/ec/output
++load-module module-pipe-sink sink_name=ec format=s16 rate=48000 channels=1 file=/run/ec/input
++load-module module-pipe-source source_name=ec format=s16 rate=48000 channels=2 file=/run/ec/output
  
  ### Automatically load driver modules depending on the hardware available
  #.ifexists module-udev-detect.so
@@ -59,8 +59,8 @@ diff -urN ec.a/README.md ec/README.md
  
 -    # terminal #2, play 16k fs, 16 bits, 1 channel raw audio
 -    cat 16k_s16le_mono_audio.raw > /tmp/ec.input
-+    # terminal #2, play 32k fs, 16 bits, 1 channel raw audio
-+    cat 32k_s16le_mono_audio.raw > /run/ec/input
++    # terminal #2, play 48k fs, 16 bits, 1 channel raw audio
++    cat 48k_s16le_mono_audio.raw > /run/ec/input
  
      # terminal #3, record
 -    cat /tmp/ec.output > 16k_s16le_stereo_audio.raw
@@ -88,8 +88,8 @@ diff -urN ec.a/README.md ec/README.md
  ```
 -pacmd load-module module-pipe-sink sink_name=ec.sink format=s16 rate=16000 channels=1 file=/tmp/ec.input
 -pacmd load-module module-pipe-source source_name=ec.source format=s16 rate=16000 channels=2 file=/tmp/ec.output
-+pacmd load-module module-pipe-sink sink_name=ec.sink format=s16 rate=32000 channels=1 file=/run/ec/input
-+pacmd load-module module-pipe-source source_name=ec.source format=s16 rate=32000 channels=2 file=/run/ec/output
++pacmd load-module module-pipe-sink sink_name=ec.sink format=s16 rate=48000 channels=1 file=/run/ec/input
++pacmd load-module module-pipe-source source_name=ec.source format=s16 rate=48000 channels=2 file=/run/ec/output
  pacmd set-default-sink ec.sink
  pacmd set-default-source ec.source
  
@@ -98,7 +98,7 @@ diff -urN ec.a/README.md ec/README.md
  
      # terminal #3, record
 -    cat /tmp/ec.output > 16k_s16le_4_channels.raw
-+    cat /run/ec/output > 32k_s16le_4_channels.raw
++    cat /run/ec/output > 48k_s16le_4_channels.raw
      ```
 -    `ec_hw` uses channel 7 as playback audio, remove the playback from channels 0,1,2,3 and writes processed audio to the FIFO `/tmp/ec.output`
 +    `ec_hw` uses channel 7 as playback audio, remove the playback from channels 0,1,2,3 and writes processed audio to the FIFO `/run/ec/output`
@@ -113,7 +113,7 @@ diff -urN ec.a/src/ec.c ec/src/ec.c
      " -i PCM            playback PCM (default)\n"
      " -o PCM            capture PCM (default)\n"
 -    " -r rate           sample rate (16000)\n"
-+    " -r rate           sample rate (32000)\n"
++    " -r rate           sample rate (48000)\n"
      " -c channels       recording channels (2)\n"
      " -b size           buffer size (262144)\n"
      " -d delay          system delay between playback and capture (0)\n"
@@ -139,7 +139,7 @@ diff -urN ec.a/src/ec.c ec/src/ec.c
 -        .rate = 16000,
 +        .playback_fifo = "/run/ec/input",
 +        .out_fifo = "/run/ec/output",
-+        .rate = 32000,
++        .rate = 48000,
          .rec_channels = 2,
          .ref_channels = 1,
          .out_channels = 2,
@@ -151,7 +151,7 @@ diff -urN ec.a/src/ec_hw.c ec/src/ec_hw.c
      " -i PCM            playback PCM (default)\n"
      // " -o PCM            capture PCM (default)\n"
 -    " -r rate           sample rate (16000)\n"
-+    " -r rate           sample rate (32000)\n"
++    " -r rate           sample rate (48000)\n"
      " -c channels       input channels\n"
      " -b size           buffer size (262144)\n"
      // " -d delay          system delay between playback and capture (0)\n"
@@ -173,7 +173,7 @@ diff -urN ec.a/src/ec_hw.c ec/src/ec_hw.c
 -        .rate = 16000,
 +        .playback_fifo = "/run/ec/input",
 +        .out_fifo = "/run/ec/output",
-+        .rate = 32000,
++        .rate = 48000,
          .rec_channels = 0,
          .ref_channels = 1,
          .out_channels = 0,
@@ -185,7 +185,7 @@ diff -urN ec.a/util/aec_kws.py ec/util/aec_kws.py
  
  def main():
 -    src = Source('/tmp/ec.output', rate=16000, channels=2)
-+    src = Source('/run/ec/output', rate=32000, channels=2)
++    src = Source('/run/ec/output', rate=48000, channels=2)
      ch0 = ChannelPicker(channels=src.channels, pick=1)
      kws = KWS(sensitivity=0.7)
  
@@ -197,7 +197,7 @@ diff -urN ec.a/util/aec_ns_kws_alexa.py ec/util/aec_ns_kws_alexa.py
  
  def main():
 -    src = Source('/tmp/ec.output', rate=16000, channels=2)
-+    src = Source('/run/ec/output', rate=32000, channels=2)
++    src = Source('/run/ec/output', rate=48000, channels=2)
      ch0 = ChannelPicker(channels=src.channels, pick=1)
      ns = NS()
      kws = KWS(model='alexa', sensitivity=0.7)
@@ -209,7 +209,7 @@ diff -urN ec.a/util/raw2wav.py ec/util/raw2wav.py
  
  channels = 2 if len(sys.argv) < 2 else int(sys.argv[1])
 -rate = 16000 if len(sys.argv) < 5 else int(sys.argv[4])
-+rate = 32000 if len(sys.argv) < 5 else int(sys.argv[4])
++rate = 48000 if len(sys.argv) < 5 else int(sys.argv[4])
      
  
  with open('/tmp/playback.raw', 'rb') as raw:

+ 7 - 6
media-sound/ec/files/ec.service

@@ -1,18 +1,19 @@
 [Unit]
 Description=Echo canceller voice-engine
-Requires=sound.targer
+#Requires=sound.targer
 After=sound.target
 
 [Service]
 Type=simple
 User=root
 Group=audio
-ExecStart=/usr/bin/ec -r 32000 -c 2
-ExecStop=/usr/bin/killall ec
-Restart=on-failure
-RestartSec=1ms
+EnvironmentFile=/etc/ec.conf
+ExecStart=/usr/bin/ec $OPTIONS
+ExecStop=/bin/kill -s TERM $MAINPID
+Restart=always
+RestartSec=10ms
 RuntimeDirectory=ec
 UMask=0117
 
 [Install]
-WantedBy=sound.target
+WantedBy=multi-user.target

+ 12 - 0
media-sound/ec/files/ec.socket

@@ -0,0 +1,12 @@
+[Unit]
+Description=Echo canceller voice-engine socket
+Before=sockets.target
+
+[Socket]
+SocketMode=0666
+ListenFIFO=/run/ec/input
+ListenFIFO=/run/ec/output
+Service=ec.service
+
+[Install]
+WantedBy=sockets.target

+ 7 - 9
net-dns/knot-resolver/Manifest

@@ -1,12 +1,10 @@
 AUX kresd-control.socket 243 SHA256 76c77dee085208353c17cc87884b1fedfc9c1d547201ac67bf6889a678e6cc02 SHA512 e5a67c9625c8fb8f4978fc358d0cea565f508254392d3ce11c9a97240d0e599e8545e7602cf2c0a8dbaabf1475d2fd887b8c2be5adc508148dc249dc5768fed8 WHIRLPOOL 964e918079d216aec3aa20523e15d377c2f70bcd2c6965366317b06f671e4298076333da72a142fc1f728135454208007074324eb0632b931b3f219cedfb80a8
 AUX kresd-tls.socket 214 SHA256 c0b2adda372450429b037c6fa4b049ceec955136747dd9c184827ded2f49989a SHA512 69b99f35293478ee0a45a837bbf27a8bb3e867e257cd57f8fc9f4e8f16ba94bb874a47fa3e3fad059e8830feda0b7488ba6cdd0b9c59747d5349c074852c23d4 WHIRLPOOL 7fe0313e0d36d8129f3c70d0fd0fc3c98b6ae99ad66ba9dff926c513e3544e633d0ddd4b2c0e75ecd35b4ce13e455b9ee7851f0ef6d220dbf518c9e56a1721cd
-AUX kresd.confd 203 SHA256 9f42a1c8dc1c03a87327db168ca59554cbb9ca405eda9a079f341c30210d7f8d SHA512 a0fce143045bc9ab81be099a13890c01d1295065f9130808e1e7f571b6877329cbb1c40de377d09ddc404edc63bc71aa1586b54877feab0bc20c67245a050d96 WHIRLPOOL 5fc30863760374919a47d8a7ed2ec28337ffed36912821a0badcb98ba7cf4b849af6293cbd43b800068c65b5c84dad9ab36b249ede09e02ba9f13584f039c9f8
-AUX kresd.initd 854 SHA256 3146610d682adc29caf5185743a5810af9981fee538b97ffde2fbc59c3134c2e SHA512 50a5f288207df3440dd71b0ca7f799fd58d4db95dfe9f091521d048277f7d32007bdabb8bd7c80e874f71182753e3d9b922fbfea40a66d60f92f49b92fe102ac WHIRLPOOL b43a5730fa7bf83755e1455c5c09dad37c576c584a70a74e0960adc966a57b84f03230c36e485a25b0781ff5f3125a99312a866b95ab92b9d35f2690c916fa05
-AUX kresd.logrotate 117 SHA256 a2a99e8972eaf2f56c9d2e27dbf982710fddb62a0f1db4656bf1738539091dc6 SHA512 f2eef1d7551c56c7de8465bd8dcb67aefa8929e53bef51f2992d8cb2bb2126983d270e87aae5e1966a14d69ad0c63ad26acc8448296dc291f7339f564a466e38 WHIRLPOOL bcd6224ed1fae14892e6f12c15752a839be4ca84e8395d35b2901289848dcc38c964d3d43ee0f03af8105eda1638e3e7cc5fc82546de2bd8a4321be180f311fa
-AUX kresd.service 296 SHA256 d85f58dc7594d036fd5a9d6daec68bdde298f05a1a0ae7bd62e404c51fa41c5f SHA512 b3be0ede5725c5f16455b44e10948ba941424b635495173d6f734b5e8d2b186a5771816cef92590aa304ecebfa2337e9a5385d89a9ecb3e1e429fcce1954db7e WHIRLPOOL b95672fa517d20d6239cf5a1d6ea6eef4efd01b41970623c92923f8500199b1200d5f49aeb344059a69055bd8e9f8d1822cea8d6592c99284356c17070050193
+AUX kresd.confd 215 SHA256 2871d590a31893fdb5910f6a0e2c7a3dcd362679cf7ed57db32f2c37d0a5fe10 SHA512 7a0c896260de8e4a26d93b0535c70204deeea87ed428b65799e029652307b74bb6fbde0b87aedd8ef5bc49edea4bd1f2afe103793b1e4b44efe2049df5d3c98c WHIRLPOOL 20c900e9492576ff253d55af5eed43acd7f2f9f2ea76b1ad9241121644e139d63091bc8df018be4d416483cb5b987ed55192f0a03e4493d7a040a7960536a7c0
+AUX kresd.initd 906 SHA256 45add1241aaf4e23d1f97e5f1ffb23445c8be256fcc46365897d6daa5f319b82 SHA512 700f5c754b807ee707841c3012cddffe9496f5d89167e21f7749a27f220601c3b22647f69d5f8bbf8a67f9f7c4d3c66215f777cd819ed6473de9a160a656ab0e WHIRLPOOL 19675f6972fd0d3cac6a48ab0ae4dd34b9d906c41d4c3c5d3fb239afd7db1d4133082ee8926436b335b75e069f4f183f7c7c7fea14e7c31cec4882f375bb453e
+AUX kresd.logrotate 128 SHA256 2a5b4622a9d86658d9f7e0dddd5af2c58a399bed2185dddd0767a9597fb0ca55 SHA512 c22b69b18c5fcb96faca1a99dc55e6cacfbea683b94400b3cbec94818ecbbc61aeb8a228d8fca6deb3a797617b6828b19a4f6cfe469fbf58d50dae1a8afa1e3c WHIRLPOOL 4900fa0ef2e9ad76618decde8d9f73cce43eb57e48e89878802be8870ded49d72f74100068d5aa21fde639e661ff1a906a81b9fbba87195884d2b857966131e6
+AUX kresd.service 304 SHA256 13c1f98eaecd2b1c39512f361f926a7ea07db9d85adc796a3a8b501ce1333b17 SHA512 259d18fe1b001e7de70f12f78561450edcbb1126dadbebce9209efd272399ada0c82530c1bf22311c19332fdd4dfed877e73ab526a759756de7a94b8cd2b86c5 WHIRLPOOL c490a8315d8caa3d4008454f110b2f135730c961a0a10ec5affef4db6c5663bdf4d4298dda93b99a13fcb16537983b330d58610a46930418cd6a279068829b76
 AUX kresd.socket 249 SHA256 f6c76d2200485983e838116ade443ea12f8982c60b7748e14ed63fd142eccace SHA512 8d3ae925b15698c68f86b2b2023f2012e32e50f5d47343c1eaa617bfaa232601dca256dcd2eea590d0f7f9533048ee7a3ac5005b55da64077b7d0f698330def5 WHIRLPOOL b8964205b9d146a0406afbd85f8ea86a9ec957971e23fb8d04875396c7d2ab7f8116c7893b7190684f3788b6ed6beade152490d363a9c84cad25084084d360d5
-AUX kresd.tmpfilesd 34 SHA256 0962f660f5055daada8b974cb1d3f914765a47eb170e1068d1c782a25d58c095 SHA512 774831f70c84742a02f2ab98ccd5c999e1594e2c227d2bc832b616b6e6028da1f57a05e521eae693701a96eb6ee417dca2fae5720dbeda719a87136472ecdd00 WHIRLPOOL 3116d069618227ff74ca822d16b8af96623e106e26227e71c5831d51724f4dae8809c0d0b6f6c6274bcad9f4116101edfc459633391950cda74bffe437d78424
-DIST knot-resolver-3.0.0.tar.xz 1703464 SHA256 68a0137e0e15061ee7dec53a2e424aa3266611720db3843853c6e7774a414f40 SHA512 044b5269d69e1f9b502709910533f00b060a53524c1ad1d19b78ec6fd474edef5cddfcc6e3a4123d1ab67b3e21fcde5891b463cd67b78da2fa69226bf1d34fa1 WHIRLPOOL 39fdaf2d83252d83591737052b8257da80f19eb705ff1aa1544187b602eee1029c56d8f04de026244b9f5510acde0cddf8f9d57242ac47031eb3940f2c19127b
-DIST knot-resolver-4.0.0.tar.xz 1641980 SHA256 37161d931e64535ce38c33b9635f06a43cd1541945bf2c79a55e37f230de1631 SHA512 e4c7e21ec36b5a733adf9f8e3751bbc347ce9ce7af8d71e8d5f3a7a87da673db753490c5257466e8433cd5fff1651046c8500ee59e91be8e55b1a16614eaf53a WHIRLPOOL 3cb856b0cebbc617197ac7efca79591b97e7cb2b41051a144a1b01328863dc68ff2924b5070a52dd5609f9488b99492954b49d3448380094a8859059408cce15
-EBUILD knot-resolver-3.0.0.ebuild 2034 SHA256 0be55f6180b7a2cdd67a8bc9e2805a2e215e40641c9c99a2032acd9725085179 SHA512 75652ac378c82ee115e9e4109e41b36ec4f2d9b32fd625c46c4e5c10772f11a0ccc82dc05c7718902d0e6a1e4111f3aa2cc2b808097981ba47e7c28dd426cbfe WHIRLPOOL 27b3a1e3457b4301414f12ec5080d3c7ca4cc31ffda90cc21ba861a1b82983d30253b5c118cba9586de051255d5536cb01ad84b2ac1411fe738eb3d309d9fad6
-EBUILD knot-resolver-4.0.0.ebuild 2034 SHA256 0be55f6180b7a2cdd67a8bc9e2805a2e215e40641c9c99a2032acd9725085179 SHA512 75652ac378c82ee115e9e4109e41b36ec4f2d9b32fd625c46c4e5c10772f11a0ccc82dc05c7718902d0e6a1e4111f3aa2cc2b808097981ba47e7c28dd426cbfe WHIRLPOOL 27b3a1e3457b4301414f12ec5080d3c7ca4cc31ffda90cc21ba861a1b82983d30253b5c118cba9586de051255d5536cb01ad84b2ac1411fe738eb3d309d9fad6
+AUX kresd.tmpfilesd 50 SHA256 d7f36a45ca2f045568144143bf7d688b7bb51e84fad83fd34a11992384e0acdf SHA512 70f1e5015dee001e9bc6802bb2aac35f9023768daffd815804c853766a9f4859b3aecf1c9ce2f148f71a831d2c24718ce5c307139b8970689857c8e051411fee WHIRLPOOL 4c27ecbd7ca10dc58411f3614ce19dea6cb7ecafe10ff6a6e1c4ccf8a807b24504276e0e82a0764a5a867c35ab1b72777a858896f2990c97b379a3e383e2b885
+DIST knot-resolver-4.2.2.tar.xz 1680220 SHA256 03b68dff16429aed7a5b0cea7189276c8056e8ecd567b678c2595d48d9a51458 SHA512 53a7cb9419f090609c3ca31f606d40c6b023a1356de79899bc867b0511cc23474ac66af0dbd78cca0a48759ddf95cab6762bb17b24b4d1a376ad8cfdd4042fda WHIRLPOOL e6efd2879c4a3c042672e54e83ac21533c6d543da10df013adc86942c47e33d40def0a7e932422baa8b4a8e2942ce24c8d5fe1e7e0ddc85fd584e9d83df76b58
+EBUILD knot-resolver-4.2.2.ebuild 1471 SHA256 3f46e784fff5c83fcf316dc63b2ce26ca045e0eaa8efa1ee25df746c5a25f63c SHA512 93912976ae92b4a2de453bb5ab45c6cec713d2681fd1ee994c71bfa426c2784a5232afa2214d9e06a46b1ce9d7237b33156309f854898210dfc06a5784b3f271 WHIRLPOOL fb3338dd5c9a9038834331b38e12fa49bd499a93886a59e9f067649aa4ff1d9b8f03d7ef0c1bd28fcf20213deb6d7ee98cd5881200b367c7c29781fbaf53ee38

BIN
net-dns/knot-resolver/data.mdb


+ 1 - 1
net-dns/knot-resolver/files/kresd.confd

@@ -1,7 +1,7 @@
 # Config file for /etc/init.d/kresd
 
 # Config file path.
-#config="/etc/kresd/config"
+#config="/etc/knot-resolver/kresd.conf"
 
 # Cache (working) directory.
 #cachedir="/var/cache/kresd"

+ 10 - 10
net-dns/knot-resolver/files/kresd.initd

@@ -3,15 +3,15 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-: ${config:="/etc/kresd/config"}
+: ${config:="/etc/knot-resolver/kresd.conf"}
 : ${cachedir:="/var/cache/kresd"}
 : ${logfile:="/var/log/kresd.log"}
-: ${runas_user:="kresd:kresd"}
+: ${runas_user:="knot-resolver:knot-resolver"}
 
 if [ "${SVCNAME}" = "kresd" ]; then
-	pidfile="/run/kresd.pid"
+    pidfile="/run/kresd.pid"
 else
-	pidfile="/run/kresd_${SVCNAME#*.}.pid"
+    pidfile="/run/kresd_${SVCNAME#*.}.pid"
 fi
 
 # Note: Do not change --forks=1, it's buggy.
@@ -23,15 +23,15 @@ command_args="--quiet --forks=1 --config=$config $cachedir"
 command_background="yes"
 required_files="$config"
 start_stop_daemon_args="
-	--chdir=$cachedir
-	--stdout=$logfile
-	--stderr=$logfile"
+    --chdir=$cachedir
+    --stdout=$logfile
+    --stderr=$logfile"
 
 depend() {
-	need net
-	provide dns
+    need net
+    provide dns
 }
 
 start_pre() {
-	checkpath -d -m 750 -o "${runas_user}" "$cachedir"
+    checkpath -d -m 750 -o "${runas_user}" "$cachedir"
 }

+ 5 - 5
net-dns/knot-resolver/files/kresd.logrotate

@@ -1,7 +1,7 @@
 /var/log/kresd.log {
-	notifempty
-	missingok
-	postrotate
-		/etc/init.d/kresd --quiet --ifstarted restart
-	endscript
+    notifempty
+    missingok
+    postrotate
+	/etc/init.d/kresd --quiet --ifstarted restart
+    endscript
 }

+ 1 - 1
net-dns/knot-resolver/files/kresd.service

@@ -8,7 +8,7 @@ RefuseManualStart=true
 Type=notify
 WorkingDirectory=/run/kresd
 ExecStart=/usr/sbin/kresd -c /etc/kresd/config
-User=kresd
+User=knot-resolver
 Restart=on-failure
 
 [Install]

+ 1 - 1
net-dns/knot-resolver/files/kresd.tmpfilesd

@@ -1 +1 @@
-d /run/kresd 0750 kresd kresd - -
+d /run/kresd 0750 knot-resolver knot-resolver - -

+ 0 - 86
net-dns/knot-resolver/knot-resolver-4.0.0.ebuild

@@ -1,86 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit eutils flag-o-matic systemd user
-
-DESCRIPTION="A caching full DNS resolver implementation written in C and LuaJIT"
-HOMEPAGE="https://www.knot-resolver.cz/"
-SRC_URI="https://secure.nic.cz/files/${PN}/${P}.tar.xz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="go hardened memcached redis systemd test"
-
-RDEPEND="
-	>=net-dns/knot-2.7.1
-	>=dev-libs/libuv-1.7.0
-	dev-libs/jansson
-	dev-lang/luajit:2
-	dev-lua/luasocket
-	dev-lua/luasec
-	go? ( >=dev-lang/go-1.5.0 )
-	memcached? ( dev-libs/libmemcached )
-	redis? ( >=dev-libs/hiredis-0.11.0 )
-	systemd? ( sys-apps/systemd )"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	test? ( dev-util/cmocka )"
-
-pkg_setup() {
-	enewgroup kresd
-	enewuser kresd -1 -1 /etc/kresd kresd
-}
-
-src_prepare() {
-	sed -i 's~ -D_FORTIFY_SOURCE=2~~g' ./config.mk \
-		|| die "sed fix failed. Uh-oh..."
-
-	sed -i 's~^LIBDIR.*~LIBDIR ?= $(PREFIX)/'$(get_libdir)~'' ./config.mk \
-		|| die "sed fix failed. Uh-oh..."
-
-	eapply_user
-}
-
-src_compile() {
-	append-cflags -DNDEBUG
-	emake \
-		PREFIX="${EPREFIX}/usr" \
-		ETCDIR="${EPREFIX}/etc/kresd" \
-		HAS_go=$(usex go) \
-		HAS_libmemcached=$(usex memcached) \
-		HAS_hiredis=$(usex redis) \
-		HAS_libsystemd=$(usex systemd) \
-		HAS_cmocka=$(usex test) \
-		HARDENING=$(usex hardened) \
-		|| die 'emake failed'
-}
-
-src_test() {
-	emake check
-}
-
-src_install() {
-	emake \
-		PREFIX="${EPREFIX}/usr" \
-		ETCDIR="${EPREFIX}/etc/kresd" \
-		DESTDIR="${D}" install \
-			|| die 'emake install failed'
-
-	newconfd "${FILESDIR}"/kresd.confd kresd
-	newinitd "${FILESDIR}"/kresd.initd kresd
-
-	systemd_dounit "${FILESDIR}"/kresd.service
-	systemd_dounit "${FILESDIR}"/kresd.socket
-	systemd_dounit "${FILESDIR}"/kresd-control.socket
-	systemd_dounit "${FILESDIR}"/kresd-tls.socket
-	systemd_newtmpfilesd "${FILESDIR}"/kresd.tmpfilesd kresd.conf
-
-	dosym /etc/kresd/config.personal /etc/kresd/config
-
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/kresd.logrotate kresd
-}

+ 14 - 41
net-dns/knot-resolver/knot-resolver-3.0.0.ebuild

@@ -4,83 +4,56 @@
 
 EAPI=6
 
-inherit eutils flag-o-matic systemd user
+inherit eutils meson systemd user
 
 DESCRIPTION="A caching full DNS resolver implementation written in C and LuaJIT"
 HOMEPAGE="https://www.knot-resolver.cz/"
 SRC_URI="https://secure.nic.cz/files/${PN}/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 IUSE="go hardened memcached redis systemd test"
 
 RDEPEND="
-	>=net-dns/knot-2.7.1
+	>=net-dns/knot-2.8
 	>=dev-libs/libuv-1.7.0
 	dev-libs/jansson
 	dev-lang/luajit:2
 	dev-lua/luasocket
 	dev-lua/luasec
+	dev-db/lmdb
+	net-libs/gnutls
 	go? ( >=dev-lang/go-1.5.0 )
 	memcached? ( dev-libs/libmemcached )
 	redis? ( >=dev-libs/hiredis-0.11.0 )
 	systemd? ( sys-apps/systemd )"
 
 DEPEND="${RDEPEND}
+	dev-util/ninja
+	>=dev-util/meson-0.46
 	virtual/pkgconfig
 	test? ( dev-util/cmocka )"
 
 pkg_setup() {
-	enewgroup kresd
-	enewuser kresd -1 -1 /etc/kresd kresd
-}
-
-src_prepare() {
-	sed -i 's~ -D_FORTIFY_SOURCE=2~~g' ./config.mk \
-		|| die "sed fix failed. Uh-oh..."
-
-	sed -i 's~^LIBDIR.*~LIBDIR ?= $(PREFIX)/'$(get_libdir)~'' ./config.mk \
-		|| die "sed fix failed. Uh-oh..."
-
-	eapply_user
-}
-
-src_compile() {
-	append-cflags -DNDEBUG
-	emake \
-		PREFIX="${EPREFIX}/usr" \
-		ETCDIR="${EPREFIX}/etc/kresd" \
-		HAS_go=$(usex go) \
-		HAS_libmemcached=$(usex memcached) \
-		HAS_hiredis=$(usex redis) \
-		HAS_libsystemd=$(usex systemd) \
-		HAS_cmocka=$(usex test) \
-		HARDENING=$(usex hardened) \
-		|| die 'emake failed'
-}
-
-src_test() {
-	emake check
+	enewgroup knot-resolver
+	enewuser knot-resolver -1 -1 /etc/kresd knot-resolver
 }
 
 src_install() {
-	emake \
-		PREFIX="${EPREFIX}/usr" \
-		ETCDIR="${EPREFIX}/etc/kresd" \
-		DESTDIR="${D}" install \
-			|| die 'emake install failed'
+	meson_src_install
+
+	mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${PF}
 
 	newconfd "${FILESDIR}"/kresd.confd kresd
 	newinitd "${FILESDIR}"/kresd.initd kresd
-
 	systemd_dounit "${FILESDIR}"/kresd.service
 	systemd_dounit "${FILESDIR}"/kresd.socket
 	systemd_dounit "${FILESDIR}"/kresd-control.socket
 	systemd_dounit "${FILESDIR}"/kresd-tls.socket
 	systemd_newtmpfilesd "${FILESDIR}"/kresd.tmpfilesd kresd.conf
 
-	dosym /etc/kresd/config.personal /etc/kresd/config
-
 	insinto /etc/logrotate.d
 	newins "${FILESDIR}"/kresd.logrotate kresd
+
+	fowners knot-resolver:knot-resolver /etc/${PN}/
 }

BIN
net-dns/knot-resolver/lock.mdb


+ 24 - 0
net-mail/davmail/Manifest

@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX abadonna-davmail.desktop 255 BLAKE2B d7b1b54e3bb93a114b766b9b2d7ed99a77e2f89a3508e47584ccbb9bee6789fb388ebdcc4ff8df46f10c19200340edb746ac75da2cb0b519b6fc0ffbd4b9cbe3 SHA512 0123fcb8b93617e8c973be955cc00b4c5d5f0ab09459810e582c7383098bfe808f3ded218a4e1c9254d2ab24d7cf805192cc558c09abc657bdb2adeb455c6496
+AUX davmail.png 4688 BLAKE2B b9064f5891f741d675ba3698e129d6a837c3aab524c810b1c23c71584b848ff1e7d1812cb0208e7a814dc5091738ad9c177b146aa60ab2b39b9814ae3e0f4893 SHA512 9ee6d30e2f4aee26bc7a7af5f231f4d47ee611279cc5721f91d715d70d1cf28784e7fad77adc1116e4e974470fafe4263cea6870af3a468f0815dce4e99c47c5
+DIST davmail-5.3.1-3079.zip 5734114 BLAKE2B d1007dd4c26c203926ef195e716176bfbf60e02bbebeedc92282533e07d62175cba241c4cc30a764cf86e8a4640e759ea093481e1d3e91304092b78fb58f2c21 SHA512 a938fcaee6a0c4f8376fefe4b4302f3315c341750298162b6a8da7175ed72c1da75b287277ebc3bfa71bd5a5d0e1d5e73f123dc58d2cae3821ed8b760a4c969e
+DIST davmail-5.4.0-3135.zip 6311121 BLAKE2B 29ec02acb84c4b3ffb1774a5d9b3a228ce7ba3fd3085cccd0b3dfbcab081a40c3ade3f089dd5df6388314ef77c3fb75b303dacef3dbf6e6a0d5695cc374bd0cb SHA512 0cf0464c1d4edbd1060dbedccd8cf5a588ef0093ebf2ef0dcf97adc25eaaf189b37808d0725104b82c6a6d23b6d1f842341ed47d73074e9aabff1ce0cc28f066
+DIST davmail-linux-x86-4.8.0-2479.tgz 6554557 BLAKE2B e4c491dfa987dccc1f64ce2be4a9be2a5a705a81352e359580939b6ed285e619bb0afde9d6161aef0ed87c7f8a895e24a2505194da2baa4b6eba7990f64d0043 SHA512 73657be729ab200ea431724241f3500f576f87c3f8d5f34e0505ed5e17b35a3e9c1d684627d3e63718c11d729b91b1962cbf4767584810b8301903d38f52a81f
+DIST davmail-linux-x86_64-4.8.0-2479.tgz 6700895 BLAKE2B eef9b684f83efea356353387c362ec38b32ac5445ac67bca6ddf84a7908a03fdc54f3466ed162f4ed0542e95f6b2844aaca153aa3ff5d31772c4ee19daf2fe89 SHA512 979846ff80c3993403d7f0d3b5dda1eba06350b668bf3a721d9df2fcc20783dcd3e621e281aa6d6a5d51feea341f8f04bf3d7a60a3d3bdec503e09300886a278
+EBUILD davmail-4.8.0-r1.ebuild 1429 BLAKE2B 56297b6a8653f964542e360ac0d187749fac973140e5055eba57755da41da64a0fa1ee4dc1b52b6ff0f134d9ca79b144eeba69f5f16aa309c8c854ac81a5de3f SHA512 7482e81b8c69839fcfa6700b10ddbc27cbd617b6502d2a2ce6bbc4a7d9fb592e7c0c4e71686438e82c39d9f5d35bec2607d166746bea18f691a352f118051587
+EBUILD davmail-5.3.1.ebuild 1130 BLAKE2B cbaf660dbf777602fbc97cf302caa291d6c5224f869932a4a9cebff254a7190d4d8e79ede3d14ba88fc8815a701cbf0771be45c5935885fb72aeee0ae841d5a7 SHA512 9777e61389098b4e1c0e7aaf34a738679453d992511a21a0e8b2fbf65f3e439d13b514259ccb93ed6c3aebf8e942876a5e4da8370aef08728b86319c80916949
+EBUILD davmail-5.4.0.ebuild 1127 BLAKE2B 0e0a877a3f067dc4d934fcfc14d338315ee18256deda5ec3a300706fe947e35dbc122984b367f4f14a7cecc2c00d91405de2eff0e3e50fd0e835dc35acdf9eaf SHA512 2948032d2c0db25b202ef1f96ba79ad603564d78f6ea88330e876135c3880663feacaebee0f94e11d41e14f2ebb535c2ae32b1cd59fb3fc497e49f8a927bcc0e
+MISC metadata.xml 1575 BLAKE2B 9d5162084d243ded1f9e523661d35161153a9e0ebce11d0290705bb1f4f9408ee2436111f199af70f74daa8126c453abb04d455262ecca9eb386bcfd99e920e5 SHA512 5b608f4572babe176fad05d6dbc3df6d68f001028e1e2ab63adc8834008f0dfe9c598354e6dcf68400b1bb442023c0c50a0d132e653c6ba47a15cee4131bea56
+-----BEGIN PGP SIGNATURE-----
+
+iQEzBAEBCAAdFiEEzfm7NkTmpHiZ9WT/wvhF5/ZqZbYFAl3OnzIACgkQwvhF5/Zq
+Zbbawgf7BROhdRHQF4xpleUoXRQOYi+DN+iU2KlBq9qCwB5m/L+XiixCh5zJ1CY1
+oDI1+de8sVJF7qevGDEWIdXV6KmWb20Q3m4HONA14NoXK1RhwJuOukXnXU4CCDEG
+Vr85xKglT09ByCRvpUPmDDyDy6yt7PeOUPvcar+dNA6ie+BnDxW9RbdFN29mog2l
+RrDoQFObNmrCyDrsRJyh0xf1FA4Uru0T6yx/S/5ShiFwZRQ0bYlL9Es5RoA7eCZd
+kH7lE759euuRkPVEFhu8BHdob8n/rMEkoF/7gGOOtT7AyfZOceq30CEZu6aGNqMM
+mV4P5nSjGh4TonXJT5Zcxym/RuhTMA==
+=Kr4G
+-----END PGP SIGNATURE-----

+ 69 - 0
net-mail/davmail/davmail-4.8.0-r1.ebuild

@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit user linux-info
+
+DESCRIPTION="DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
+HOMEPAGE="http://davmail.sourceforge.net/"
+REV="2479"
+MY_PN="${PN}"
+MY_P="${MY_PN}-${PV}"
+KERNEL="linux"
+
+URL_32="mirror://sourceforge/${MY_PN}/${MY_PN}-linux-x86-${PV}-${REV}.tgz"
+URL_64="mirror://sourceforge/${MY_PN}/${MY_PN}-linux-x86_64-${PV}-${REV}.tgz"
+
+SRC_URI="
+	amd64? ( "${URL_64}" )
+	x86? ( "${URL_32}" )
+"
+ARCH="
+	amd64? ( "x86_64" )
+	x86? ( "x86" )
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	unpack ${A}
+	mv "${WORKDIR}"/"${MY_PN}"/"${MY_PN}"-linux-"${ARCH}"-"${PV}"-"${REV}"/ "${WORKDIR}"/"${PN}"
+}
+
+src_install () {
+
+	local TARGETDIR="/opt/davmail"
+	dodir "${TARGETDIR}"
+	insinto "${TARGETDIR}"/
+
+	doins -r "${S}"/"${MY_PN}"-"${KERNEL}"-"${ARCH}"-"${PV}"-"${REV}"/* || die "Install failed!"
+
+	fowners root:users -R "${TARGETDIR}" || die "Could not change ownership of /opt/davmail directory."
+
+	insinto /usr/share/pixmaps
+
+	return
+}
+
+pkg_postinst() {
+	chmod 755 /opt/davmail/davmail.sh || die "Could not set file permissions on davmail.sh file"
+
+	return
+}
+
+pkg_postrm() {
+	xdg-desktop-menu uninstall "${FILESDIR}"/abadonna-davmail.desktop || die "Could not de-register a menu item"
+
+	return
+}

+ 61 - 0
net-mail/davmail/davmail-5.3.1.ebuild

@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit user linux-info
+
+DESCRIPTION="DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
+HOMEPAGE="http://davmail.sourceforge.net/"
+KERNEL="linux"
+REV="3079"
+
+SRC_URI="https://downloads.sourceforge.net/project/davmail/davmail/5.3.1/davmail-5.3.1-3079.zip"
+
+MY_PN="${PN}"
+MY_P="${MY_PN}-${PV}"
+
+ARCH="amd64"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	unpack ${A}
+}
+
+src_install () {
+
+	local TARGETDIR="/opt/davmail"
+	dodir "${TARGETDIR}"
+	insinto "${TARGETDIR}"/
+
+	doins -r "${S}"/* || die "Install failed!"
+
+	fowners root:users -R "${TARGETDIR}" || die "Could not change ownership of /opt/davmail directory."
+
+	insinto /usr/share/pixmaps
+
+	return
+}
+
+pkg_postinst() {
+	chmod 755 /opt/davmail/davmail || die "Could not set file permissions on davmail file"
+
+	return
+}
+
+pkg_postrm() {
+	xdg-desktop-menu uninstall "${FILESDIR}"/abadonna-davmail.desktop || die "Could not de-register a menu item"
+
+	return
+}

+ 61 - 0
net-mail/davmail/davmail-5.4.0.ebuild

@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit user linux-info
+
+DESCRIPTION="DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway"
+HOMEPAGE="http://davmail.sourceforge.net/"
+KERNEL="linux"
+REV="3135"
+
+SRC_URI="https://sourceforge.net/projects/davmail/files/davmail/5.4.0/davmail-5.4.0-3135.zip"
+
+MY_PN="${PN}"
+MY_P="${MY_PN}-${PV}"
+
+ARCH="amd64"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	unpack ${A}
+}
+
+src_install () {
+
+	local TARGETDIR="/opt/davmail"
+	dodir "${TARGETDIR}"
+	insinto "${TARGETDIR}"/
+
+	doins -r "${S}"/* || die "Install failed!"
+
+	fowners root:users -R "${TARGETDIR}" || die "Could not change ownership of /opt/davmail directory."
+
+	insinto /usr/share/pixmaps
+
+	return
+}
+
+pkg_postinst() {
+	chmod 755 /opt/davmail/davmail || die "Could not set file permissions on davmail file"
+
+	return
+}
+
+pkg_postrm() {
+	xdg-desktop-menu uninstall "${FILESDIR}"/abadonna-davmail.desktop || die "Could not de-register a menu item"
+
+	return
+}

+ 12 - 0
net-mail/davmail/files/abadonna-davmail.desktop

@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=DavMail
+GenericName=DavMail
+Comment=DavMail Exchange Gateway
+Exec=/opt/davmail/davmail.sh
+Icon=/usr/share/pixmaps/davmail.png
+NoDisplay=false
+Path[$e]=/opt/davmail
+Terminal=false
+Type=Application
+Categories=Network;Games;
+Version=1.0

BIN
net-mail/davmail/files/davmail.png


+ 27 - 0
net-mail/davmail/metadata.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>oz.tiram@gmail.com</email>
+    <name>Oz Tiram</name>
+    <description>Proxied maintainer</description>
+  </maintainer>
+  <longdescription lang="en">
+    DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
+    Ever wanted to get rid of Outlook ? DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange
+    gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or
+    Apple iCal) with an Exchange server, even from the internet or behind a firewall through
+    Outlook Web Access.
+    DavMail now includes an LDAP gateway to Exchange global address book and user personal
+    contacts to allow recipient address completion in mail compose window and full calendar
+    support with attendees free/busy display.
+    The main goal of DavMail is to provide standard compliant protocols in front of proprietary
+    Exchange. This means LDAP for global address book, SMTP to send messages, IMAP to browse
+    messages on the server in any folder, POP to retrieve inbox messages only, Caldav for
+    calendar support and Carddav for personal contacts sync.
+    Thus any standard compliant client can be used with Microsoft Exchange.
+    DavMail gateway is implemented in java and should run on any platform. Releases are tested
+    on Windows, Linux (Ubuntu) and Mac OSX. Tested successfully with the Iphone
+    (gateway running on a server).
+  </longdescription>
+</pkgmetadata>

+ 3 - 0
net-mail/nylas/Manifest

@@ -0,0 +1,3 @@
+DIST nylas-2.2.2-amd64.deb 75572646 SHA256 30cee93d7d0a8ca92694aa798e146d9ef06038ec1ccae599fa00f4f61e821729 SHA512 a0e2d86ddb46c2d55699b628f88d81bc4baa8364064a151d3e77fab8777149eaeb8d86c4021c6ee102492a9fb5531181a2ac665799194d3d75753505238020f0 WHIRLPOOL 084b1c61d6fccaed966e0bf6a332c31dc1efce539c0db0cfa2eb778ddc06d29b548d300baee84debd23ad9f4fa3b6c9d709139f46bea1930edfd7b36720a7acf
+EBUILD nylas-2.2.2.ebuild 865 SHA256 7cf0cb2cfd80b27802079855869787594792c68d92cba56a80ad18814b763659 SHA512 749659279e0ad0cc98b0e40266df25ec7278006bee266951e1c3a7b114ff159709c90d98e8ea2694cfe67a9b623f57cb6267ef17b6fe6224bb7f7274d792b002 WHIRLPOOL 84f2a3ea006b651041aedd43de69a61860ff4cec312c5bf959779abcf0eeb52e12ad0750c58ff697ffdb1c18de0b5d2da546dac4fda21fd83354dd7b96238809
+MISC metadata.xml 399 SHA256 6545324984bd8afbf7d4fd6b1bb73d5f91fdecf8b27e17cf8be3e822adf6ff47 SHA512 9c4f432e8ec6c7790b4ab29c9572acfb5f149add6e7803734cfd748de59f57dc0f3e3bb6aa89175e39a3b291ea4aa298ddc1fdc1805bcac443a0693f7d2f7fbf WHIRLPOOL 2cde61c40ac942da44df5c0b1f12f78cb8e827ff476998551c358ef3344cc5d97009817ce78e0d67be483d67f9a272f2a61102e676832155e3cad5c43ccefa59

+ 12 - 0
net-mail/nylas/metadata.xml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>oz.tiram@gmail.com</email>
+    <name>Oz Tiram</name>
+    <description>Proxied maintainer</description>
+  </maintainer>
+  <longdescription lang="en">
+  The best email app for people and teams at work
+  </longdescription>
+</pkgmetadata>

+ 51 - 0
net-mail/nylas/nylas-2.2.2.ebuild

@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils unpacker gnome2-utils xdg
+
+DESCRIPTION="The best email app for people and teams at work"
+HOMEPAGE="https://github.com/nylas-mail-lives/nylas-mail"
+
+DEB_NAME="nylas-${PV}-amd64.deb"
+SRC_URI="
+	amd64? ( https://github.com/nylas-mail-lives/nylas-mail/releases/download/${PV}-4alpha/nylas-${PV}-amd64.deb )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="(
+	gnome-base/libgnome-keyring
+	)"
+
+S=${WORKDIR}
+
+src_unpack() {
+	unpack_deb ${DEB_NAME}
+}
+
+src_install() {
+	insinto /usr/
+	doins -r usr/*
+	fperms +x /usr/bin/nylas-mail
+}
+
+pkg_preinst() {
+	xdg_pkg_preinst
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_pkg_postrm
+	gnome2_icon_cache_update
+}

+ 3 - 3
net-voip/baresip/Manifest

@@ -1,4 +1,4 @@
 AUX 00-stub.patch 161 SHA256 e8b8212c2b686c8d6f7cd789ce26ab0af00faa6f38ff932370cd5b711cb6aa0d SHA512 ce7fe215142e629a493f1e33724bf5e635e97a674c0ed84a7a113de13b8469ed0b1acae5cd87d14050c9f2ea8ed17cce00c9af0a2fe2712e3c7fb9259b6e68b8 WHIRLPOOL e952f99f90ac558bd70eb6bd62649040d2774cac1cc71d7446807cfb4176e5dc224397e9e46c6331bd96a5c83fb13f97cfdc33ffedfcec904669f321d86f5ee2
-AUX 01-modules-alsa-pthread-condition.patch 1609 SHA256 91debc6e2080c9acadea9fed353f57237bff6fcc83bf9dde4d5e6ca156758a6c SHA512 d0723771f6c031477082cf16d1df172895e81e6c529b252f6cdbbc4a2fd7c32be1e0aa2bf7054984964c4c7c051c8d23771e5a2e01e6af242393d4a7a0f61d8a WHIRLPOOL 576bb2cb816e8ce2ccec666787c552da83b534ae7ca6f7981160c4bc36581a4ae92d8496f4ab6da3186cd461bf1ab0396333e8bb3e6fccad823de78130aa427f
-EBUILD baresip-0.6.3.ebuild 1303 SHA256 51b92b32cb8cdeee3cff03079bc010202e7d9e6585ef57236da03b899958c4fb SHA512 ce8d79e383bbbed88c4495bc05d30178ba1fb0115862db52144ed592f2103bb178059e7555262a6f768d020c635d34e6ec6f01db5b6aeec116f8a4369f144404 WHIRLPOOL aab559724ff604e224e32bcd5ceb09d2be132948389169fa3ae55238003074d7926969a76db9f9e90075f26e5c1096951e32b6871631fec7c8a941d67bc971cb
-EBUILD baresip-9999.ebuild 1303 SHA256 51b92b32cb8cdeee3cff03079bc010202e7d9e6585ef57236da03b899958c4fb SHA512 ce8d79e383bbbed88c4495bc05d30178ba1fb0115862db52144ed592f2103bb178059e7555262a6f768d020c635d34e6ec6f01db5b6aeec116f8a4369f144404 WHIRLPOOL aab559724ff604e224e32bcd5ceb09d2be132948389169fa3ae55238003074d7926969a76db9f9e90075f26e5c1096951e32b6871631fec7c8a941d67bc971cb
+AUX 01-modules-alsa-pthread-condition.patch 1618 SHA256 1c8a44dc938a56d154386e6200f12fd7618666bc710c35bf8381d1fc5da0a354 SHA512 24021a5e19373cec5bd33186b51579cb3736a77cbc55496cb3d55449495a92525e33bb90ac34b2143e4a7641ee7a20054f04d069f18ba8070559a0404dcb66f6 WHIRLPOOL 44bcbd6975a4e5145ac8655ab686dd5700e17caaae0d6769bfc597546a599f0425200e4f1c4fd2114c7f3865cea927743bffd09b04bab9d9c2a076920429b4a0
+AUX 02-48000Hz-fifo-module.patch 20115 SHA256 098215c1dda24c5b15af7a8c5d5c1f26678b517583e6b22b4204e37d23d6c680 SHA512 d0ede7e758b428f2e035c3d3323104b36d56acaea72d8016ae202eca53b685020343837ac33f94738308131377a9948c14d5364f21097b315924664a22780b15 WHIRLPOOL 6b2799c4d59a94c9105039202839037713714ad8d5b3c0b0d11e121431d9f92f23b7b241d09d1373844f7c2737fd46eff613a8505143ff2379a4873b3194ea01
+EBUILD baresip-9999.ebuild 1302 SHA256 90d8deffd8f3b32c339e8fc20c3832329a8ded1532ee5683f77bd4f93537eff6 SHA512 746df803b1b90c0988b84291405dfffb8474cb865b2039ebca6a06e86e864e1368567332034d1837ee6e83e16c331a34c2667373b02174bed294b7bbbbf22965 WHIRLPOOL f5cbc96de60ee085fd8bb57a12b5e688a27e8acb10077235b3800990a9fb049d7c35a6ee66c7f6517985c4641aa0d037796fbb2750ae6ed44c5b5c73bb72a04e

+ 0 - 1
net-voip/baresip/baresip-0.6.3.ebuild

@@ -1 +0,0 @@
-baresip-9999.ebuild

+ 0 - 1
net-voip/baresip/baresip-9999.ebuild

@@ -48,7 +48,6 @@ DEPEND="
     x11-libs/libXau
     x11-libs/libXdmcp
     x11-libs/libxcb
-
     media-libs/libtheora
     media-libs/x264
     media-libs/x265

+ 1 - 1
net-voip/baresip/files/01-modules-alsa-pthread-condition.patch

@@ -6,7 +6,7 @@ diff -urN a/modules/alsa/alsa_src.c b/modules/alsa/alsa_src.c
  	const struct ausrc *as;  /* pointer to base-class (inheritance) */
  	pthread_t thread;
 +	pthread_cond_t termcond;    /* termination cond. var */
- 	bool run;
+ 	volatile bool run;
  	snd_pcm_t *read;
  	void *sampv;
 @@ -39,7 +40,18 @@

+ 1 - 0
net-vpn/miredo/Manifest

@@ -0,0 +1 @@
+EBUILD miredo-9999.ebuild 1317 SHA256 bbb4716af06834858ba8de24f1f3e77aa9cfe74eee701ac4d86592a12af93835 SHA512 26a5af6efb90515435d3a2932c851a76eca15b9380e80d446884cdfd297c618838dbabac9bf5e492fe550aa7f81194c793d665fa2c483a09a1417563adb4b01c WHIRLPOOL 04122e633c6de38164a54afd049ec2dff6a275b12bb5d03398a3986af3ab9688986338cbe7618a81bfe9630c2a319f7aceb17e187bc4a8087ead12f70553c2b5

+ 58 - 0
net-vpn/miredo/miredo-9999.ebuild

@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Copyright 2016-2019 Jan Chren (rindeal)
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools systemd git-r3
+
+DESCRIPTION="Miredo is an open-source Teredo IPv6 tunneling software"
+HOMEPAGE="http://www.remlab.net/miredo/"
+EGIT_REPO_URI="https://git.remlab.net/git/miredo.git"
+if [[ ${PV} == 9999 ]] ; then
+    EGIT_BRANCH="master"
+else
+    TAG="${PV}"
+fi
+LICENSE="GPL-2.0-or-later"
+SLOT="0/6"
+KEYWORDS="~x86 ~amd64"
+IUSE="+caps +client nls assert judy"
+RDEPEND="sys-devel/gettext
+	sys-apps/iproute2
+	virtual/udev
+	caps? ( sys-libs/libcap )
+	judy? ( dev-libs/judy )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+	local -r -- CONFIG_CHECK="~IPV6 ~TUN"
+}
+
+src_prepare() {
+	default
+	# the following step is normally done in `autogen.sh`
+	cp "${EPREFIX}"/usr/share/gettext/gettext.h "${S}"/include
+	eautoreconf
+}
+
+src_configure() {
+	local econf_args=(
+		--disable-static
+		--enable-miredo-user="miredo"
+		--with-runstatedir="/run"
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+		$(use_enable assert)
+		$(use_with caps libcap)
+		$(use_enable client teredo-client)
+		$(use_enable nls)
+	)
+	econf "${econf_args[@]}"
+}
+
+src_install() {
+	default
+#	prune_libtool_files
+#	rrmdir "${ED}/run"
+	insinto /etc/miredo
+	doins misc/miredo-server.conf
+}

+ 6 - 0
net-wireless/gnuradio/Manifest

@@ -0,0 +1,6 @@
+AUX gnuradio-3.7.13.5-boost-1.70-asio.patch 769 SHA256 639c86ceeb96c5ed28d0bdfd9833682e5c05bf883a6c988c93d99abd7896a5bc SHA512 b3270301945489ac6cb301f30c28bea4b9d59ee7cb2a0e5a162e8ff514e0173d849236db8c3e60fa028a9df2304fc22ce73b7eabb525e567867ad72d7cd46dd7 WHIRLPOOL f37acd8247d0dd79ae6295bc2de204ca458d9148968d81185bd2b6a036688e6a6a386cfa4d3ec88ca99576fcb259fb38050d90dd875dbbc75baa0873da8c8562
+AUX gnuradio-wxpy3.0-compat.patch 2202 SHA256 7a436b2cbb3f99f77634dfc5e901a5de743e94939cb9106760e800853846e6ad SHA512 6d06c76394954eb63784ef6edca06a8611f59c3bea0355c7a0623a56054d0466d83770ce4afd9d9be484543c3859d20209c858506f3d789a3818d549df95de3f WHIRLPOOL aa9d577db182ff1cae3b29662e6c6e833765507a98503cecec82d719d8e4d246955ee14be6d567309fd1991b93d2ad8979766063420adfbe58f6d6a442f44979
+DIST 0002-boost_qualify_placeholders_with_their_full_namespace.patch.bz2 6933 SHA256 79eb7efcfacb20352821f19c37815e0cf8a1e2488a784b56bba3b07ca570b654 SHA512 f42f997a92592d3caf7e29e50bfb5733ab94988743eb3231c78b31272c5cde840f5abd984e1c6b1f928828a6be84eb5d17c3455207509f48652ed160a4f6c7ae WHIRLPOOL 6349e3f509b175c865132dc397d916ae7a2aff69c3127a15a7b14907bd65f8a9ae3c8e70973c593525e1c26be2a2b2800987698549f299243b4c649b32917ff1
+DIST gnuradio-3.8.1.0.tar.xz 2436488 SHA256 2372f501e86536981e71806d9b0f0b7e7879429418d7ad30f18e7779db2d5d3f SHA512 81e68db79b0927830a86d21f851f183becfad3e9b8b9b8379698c0d96d3f906b9b1b9292198829ce3d3c73fc29547e42a2532db62218d0b534bf02bf7a02fdde WHIRLPOOL 376e4ca7b07340cfc130b137762b66ad20ac9744676919c19f33005191d116deb787d5af431af9a25f6d577f6aa18fac8f1de6005cce2a70c9958295d6212657
+EBUILD gnuradio-3.8.1.0-r2.ebuild 6176 SHA256 3fd1af04fab876bc66a33b0416cc3f0cc0544229027a310f71a0d13275352a26 SHA512 b0f415b6fe5078123cc7c2bd089a439a7da23a6670e98ca6f2a1f97b9ef8b7869d69f9aa06be68f837d138246348b34a6451f0cd31072476fa967c2cde815f92 WHIRLPOOL fec58eee8607dffa5bfd7ad3861843b1ac588973bda229b732e9afe735afe1a166f38869c0d05b8b78708cd68358bcd7f27127bc6f562c9ef2d40ce8b814816b
+MISC metadata.xml 1864 SHA256 8abc17bc6754e1ed448bdc0409a9e15d6ff0af188a1fac308c8ed6f84888365e SHA512 93a9d4bf34b36a2b30c4be255e97d0f5cd220643357ec43bc59f4f46f9fca9f825df17add6245cf46710a328f1f48e81513be60a1f880c4bcd6c857e3f403d0b WHIRLPOOL 46523caf5abf142448787349c66cc8963c05ff76fad6273ca8ca50ae8fc2565eb0379934c6f10b7f0a4d5ef51f1a8c3afe00daad7698a4c600a1f3d5069acfde

+ 18 - 0
net-wireless/gnuradio/files/gnuradio-3.7.13.5-boost-1.70-asio.patch

@@ -0,0 +1,18 @@
+Bug: https://bugs.gentoo.org/683380
+Patch adapted from FreeBSD:
+https://svnweb.freebsd.org/ports/head/comms/gnuradio/files/patch-gr-blocks_lib_socket__pdu__impl.cc?view=markup&pathrev=499093
+
+--- a/gr-blocks/lib/socket_pdu_impl.cc
++++ b/gr-blocks/lib/socket_pdu_impl.cc
+@@ -165,7 +165,11 @@
+     void
+     socket_pdu_impl::start_tcp_accept()
+     {
++#if (BOOST_VERSION >= 107000)
++      tcp_connection::sptr new_connection = tcp_connection::make(d_io_service, d_rxbuf.size(), d_tcp_no_delay);
++#else
+       tcp_connection::sptr new_connection = tcp_connection::make(d_acceptor_tcp->get_io_service(), d_rxbuf.size(), d_tcp_no_delay);
++#endif
+ 
+       d_acceptor_tcp->async_accept(new_connection->socket(),
+         boost::bind(&socket_pdu_impl::handle_tcp_accept, this,

+ 50 - 0
net-wireless/gnuradio/files/gnuradio-wxpy3.0-compat.patch

@@ -0,0 +1,50 @@
+Description: Update for wxPython 3.0
+ wx.InitAllImageHandlers() issues a deprecation warning with wxPython 3.0
+ and is a no-op with wxPython 2.8.
+ Deprecated constants like wxSAVE are gone from the C++ API, so wx.SAVE, etc
+ are also likely to go from wxPython soon.
+ The alias "wx.Color" is gone in wxPython 3.0 - only "wx.Colour" is now
+ supported, so update docstring to use the correct class name.
+Author: Olly Betts <olly@survex.com>
+Forwarded: no
+Last-Update: 2014-08-21
+
+--- a/gr-wxgui/python/wxgui/plot.py
++++ b/gr-wxgui/python/wxgui/plot.py
+@@ -522,7 +522,7 @@
+                     self,
+                     "Choose a file with extension bmp, gif, xbm, xpm, png, or jpg", ".", "",
+                     "BMP files (*.bmp)|*.bmp|XBM files (*.xbm)|*.xbm|XPM file (*.xpm)|*.xpm|PNG files (*.png)|*.png|JPG files (*.jpg)|*.jpg",
+-                    wx.SAVE|wx.OVERWRITE_PROMPT
++                    wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT
+                     )
+             try:
+                 while 1:
+@@ -1820,7 +1820,6 @@
+ 
+     class MyApp(wx.App):
+         def OnInit(self):
+-            wx.InitAllImageHandlers()
+             frame = TestFrame(None, -1, "PlotCanvas")
+             #frame.Show(True)
+             self.SetTopWindow(frame)
+--- a/gr-wxgui/python/wxgui/plotter/gltext.py
++++ b/gr-wxgui/python/wxgui/plotter/gltext.py
+@@ -50,7 +50,7 @@
+         """
+         text (String)         - Text
+         font (wx.Font)        - Font to draw with (None = System default)
+-        foreground (wx.Color) - Color of the text
++        foreground (wx.Colour)- Color of the text
+                 or (wx.Bitmap)- Bitmap to overlay the text with
+         centered (bool)       - Center the text
+ 
+@@ -317,7 +317,7 @@
+             text (string)           - displayed text
+             font (wx.Font)          - if None, system default font will be used with font_size
+             font_size (int)         - font size in points
+-            foreground (wx.Color)   - Color of the text
++            foreground (wx.Colour)  - Color of the text
+                     or (wx.Bitmap)  - Bitmap to overlay the text with
+             centered (bool)         - should the text drawn centered towards position?
+ 

+ 228 - 0
net-wireless/gnuradio/gnuradio-3.8.1.0-r2.ebuild

@@ -0,0 +1,228 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+CMAKE_BUILD_TYPE="None"
+inherit cmake python-single-r1 virtualx xdg-utils desktop
+
+DESCRIPTION="Toolkit that provides signal processing blocks to implement software radios"
+HOMEPAGE="https://www.gnuradio.org/"
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+
+if [[ ${PV} =~ "9999" ]]; then
+	EGIT_REPO_URI="https://github.com/gnuradio/gnuradio.git"
+	EGIT_BRANCH="maint-3.8"
+	inherit git-r3
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/gnuradio/gnuradio/releases/download/v${PV}/${P}.tar.xz
+		https://dev.gentoo.org/~fordfrog/distfiles/0002-boost_qualify_placeholders_with_their_full_namespace.patch.bz2"
+	KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+IUSE="+audio +alsa +analog +digital channels doc dtv examples fec +filter grc jack modtool oss performance-counters portaudio +qt5 sdl test trellis uhd vocoder +utils wavelet zeromq"
+
+#RESTRICT="!test? ( test )"
+#Tests are known broken right now
+RESTRICT="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	audio? ( || ( alsa oss jack portaudio ) )
+	alsa? ( audio )
+	jack? ( audio )
+	oss? ( audio )
+	portaudio? ( audio )
+	analog? ( filter )
+	channels? ( filter analog qt5 )
+	digital? ( filter analog )
+	dtv? ( filter analog fec )
+	modtool? ( utils )
+	qt5? ( filter )
+	trellis? ( analog digital )
+	uhd? ( filter analog )
+	vocoder? ( filter analog )
+	wavelet? ( analog )
+"
+
+RDEPEND="${PYTHON_DEPS}
+	$(python_gen_cond_dep 'dev-libs/boost:0=[python,${PYTHON_USEDEP}]')
+	dev-libs/log4cpp
+	$(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
+	sci-libs/fftw:3.0=
+	sci-libs/mpir
+	sci-libs/volk
+	alsa? ( media-libs/alsa-lib:= )
+	fec? (
+		sci-libs/gsl
+		sci-libs/scipy
+	)
+	filter? ( sci-libs/scipy )
+	grc? (
+		$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]')
+		x11-libs/gtk+:3[introspection]
+		x11-libs/pango[introspection]
+	)
+	jack? ( virtual/jack )
+	portaudio? ( >=media-libs/portaudio-19_pre )
+	qt5? (
+		$(python_gen_cond_dep 'dev-python/PyQt5[opengl,${PYTHON_USEDEP}]')
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		x11-libs/qwt:6[qt5(+)]
+		dev-qt/qtwidgets:5
+	)
+	sdl? ( >=media-libs/libsdl-1.2.0 )
+	trellis? ( sci-libs/scipy )
+	uhd? (
+		$(python_gen_cond_dep '>=net-wireless/uhd-3.9.6:=[${PYTHON_SINGLE_USEDEP}]')
+	)
+	utils? (
+		$(python_gen_cond_dep 'dev-python/click[${PYTHON_USEDEP}]
+		dev-python/click-plugins[${PYTHON_USEDEP}]
+		dev-python/mako[${PYTHON_USEDEP}]
+		dev-python/matplotlib[${PYTHON_USEDEP}]')
+	)
+	vocoder? (
+		media-sound/gsm
+		>=media-libs/codec2-0.8.1
+	)
+	wavelet? ( sci-libs/gsl
+			dev-libs/gmp
+			sci-libs/lapack
+			)
+	zeromq? ( >=net-libs/zeromq-2.1.11 )
+"
+
+#That's right, it can't build if gnuradio 3.7 is installed
+#Both due to build failure, and then file collision due to bundled volk
+DEPEND="${RDEPEND}
+	!<net-wireless/gnuradio-3.8
+	app-text/docbook-xml-dtd:4.2
+	>=dev-lang/swig-3.0.5
+	virtual/pkgconfig
+	doc? (
+		>=app-doc/doxygen-1.5.7.1
+	)
+	grc? ( x11-misc/xdg-utils )
+	oss? ( virtual/os-headers )
+	test? ( >=dev-util/cppunit-1.9.14 )
+	zeromq? ( net-libs/cppzmq )
+"
+
+PATCHES=(
+	"${WORKDIR}/0002-boost_qualify_placeholders_with_their_full_namespace.patch"
+)
+
+src_prepare() {
+	xdg_environment_reset #534582
+
+	use !alsa && sed -i 's#version.h#version-nonexistent.h#' cmake/Modules/FindALSA.cmake
+	use !jack && sed -i 's#jack.h#jack-nonexistent.h#' cmake/Modules/FindJACK.cmake
+	use !oss && sed -i 's#soundcard.h#oss-nonexistent.h#g' cmake/Modules/FindOSS.cmake
+	use !portaudio && sed -i 's#portaudio.h#portaudio-nonexistent.h#g' cmake/Modules/FindPORTAUDIO.cmake
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	mycmakeargs=(
+		-DENABLE_DEFAULT=OFF
+		-DENABLE_VOLK=OFF
+		-DENABLE_INTERNAL_VOLK=OFF
+		-DENABLE_GNURADIO_RUNTIME=ON
+		-DENABLE_PYTHON=ON
+		-DENABLE_GR_BLOCKS=ON
+		-DENABLE_GR_FFT=ON
+		-DENABLE_GR_AUDIO=ON
+		-DENABLE_GR_ANALOG="$(usex analog)"
+		-DENABLE_GR_CHANNELS="$(usex channels)"
+		-DENABLE_GR_DIGITAL="$(usex digital)"
+		-DENABLE_DOXYGEN="$(usex doc)"
+		-DENABLE_GR_DTV="$(usex dtv)"
+		-DENABLE_GR_FEC="$(usex fec)"
+		-DENABLE_GR_FILTER="$(usex filter)"
+		-DENABLE_GRC="$(usex grc)"
+		-DENABLE_GR_MODTOOL="$(usex modtool)"
+		-DENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)"
+		-DENABLE_TESTING="$(usex test)"
+		-DENABLE_GR_TRELLIS="$(usex trellis)"
+		-DENABLE_GR_UHD="$(usex uhd)"
+		-DENABLE_GR_UTILS="$(usex utils)"
+		-DENABLE_GR_VOCODER="$(usex vocoder)"
+		-DENABLE_GR_WAVELET="$(usex wavelet)"
+		-DENABLE_GR_QTGUI="$(usex qt5)"
+		-DENABLE_GR_VIDEO_SDL="$(usex sdl)"
+		-DENABLE_GR_ZEROMQ="$(usex zeromq)"
+		-DSYSCONFDIR="${EPREFIX}"/etc
+		-DPYTHON_EXECUTABLE="${PYTHON}"
+		-DGR_PYTHON_DIR="$(python_get_sitedir)"
+		-DGR_PKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use examples ; then
+		dodir /usr/share/doc/${PF}/
+		mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die
+		docompress -x /usr/share/doc/${PF}/examples
+	else
+	# It seems that the examples are always installed
+		rm -rf "${ED}"/usr/share/${PN}/examples || die
+	fi
+
+	if use doc || use examples; then
+		#this doesn't appear useful
+		rm -rf "${ED}"/usr/share/doc/${PF}/xml || die
+	fi
+
+	# Remove duplicated icons, MIME and desktop files and installation script
+	rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die
+	rm -f "${ED}"/usr/libexec/${PN}/grc_setup_freedesktop || die
+
+	# Install icons, menu items and mime-types for GRC
+	if use grc ; then
+		local fd_path="${S}/grc/scripts/freedesktop"
+		insinto /usr/share/mime/packages
+		doins "${fd_path}/${PN}-grc.xml"
+
+		domenu "${fd_path}/"*.desktop
+		doicon "${fd_path}/"*.png
+	fi
+
+	python_fix_shebang "${ED}"
+	# Remove incorrectly byte-compiled Python files and replace
+	find "${ED}"/usr/lib64 -name "*.py[co]" -exec rm {} \; || die
+	python_optimize
+}
+
+src_test()
+{
+	virtx cmake_src_test
+}
+
+pkg_postinst()
+{
+	if use grc ; then
+		xdg_desktop_database_update
+		xdg_icon_cache_update
+		xdg_mimeinfo_database_update
+	fi
+}
+
+pkg_postrm()
+{
+	if use grc ; then
+		xdg_desktop_database_update
+		xdg_icon_cache_update
+		xdg_mimeinfo_database_update
+	fi
+}

+ 31 - 0
net-wireless/gnuradio/metadata.xml

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>radio@gentoo.org</email>
+		<name>Radio</name>
+	</maintainer>
+	<use>
+		<flag name="analog">enable analog signal processing blocks</flag>
+		<flag name="atsc">enable ATSC (HDTV) transmitter and receiver blocks</flag>
+		<flag name="audio">enable blocks to connect to audio sources (mic-in) and sinks (speaker-out) ports on a computer</flag>
+		<flag name="channels">enable channel mode blocks</flag>
+		<flag name="digital">enable digital signal processing blocks</flag>
+		<flag name="dtv">enable digital tv signal processing blocks</flag>
+		<flag name="fcd">enable Funcube Dongle source block</flag>
+		<flag name="fec">enable block for convolutional encoding using the CCSDS standard polynomial ("Voyager")</flag>
+		<flag name="filter">enable filter signal processing blocks</flag>
+		<flag name="grc">enable GNU Radio Companion graphical tool to design signal processing flow graphs</flag>
+		<flag name="log">enable logging to console and files</flag>
+		<flag name="modtool">enable modtool for editing GNU Radio modules and components</flag>
+		<flag name="noaa">enable NOAA POES HRPT receiver blocks</flag>
+		<flag name="pager">enable pager signal processing blocks</flag>
+		<flag name="performance-counters">enable block performance counters</flag>
+		<flag name="trellis">enable trellis blocks for FSM</flag>
+		<flag name="uhd">install UHD source and sink blocks</flag>
+		<flag name="utils">install scripts to enable viewing and analysis of files produced by flow graphs</flag>
+		<flag name="vocoder">enable blocks for audio voice encoders</flag>
+		<flag name="wavelet">enable wavelet signal processing blocks</flag>
+		<flag name="zeromq">enable zeromq message passing blocks</flag>
+	</use>
+</pkgmetadata>

+ 5 - 0
sys-apps/policycoreutils/Manifest

@@ -0,0 +1,5 @@
+AUX policycoreutils-2.7-0001-newrole-not-suid.patch 351 SHA256 5146c50018858ae42ec1be492db8aa5f9ca837df81871481240709e72bc3aafa SHA512 41c37a0711011ebdaafee01b357438ac3219b34b6c9e6ebe182c863d61c899e4819ae71bd9adf4b52bee37750c99b5b1cd40c6a92f119899bd227251d37ccd99 WHIRLPOOL 9a5496d01b53fc39c45153fc2adc658aee8bfb9074534f2ae31b61491227c606de51d335636b536d15d0f2963772fe3ba6e0c0c21ced38f2b673e217127ddb77
+DIST policycoreutils-3.0.tar.gz 2818089 SHA256 3379c9bd722e36be9bf8856c6fa373bfa9b33305ac9da5fc807cfe7fa605f489 SHA512 d8d25db48c1caef69228e87d7ebb2c0f075e44e4ff6bf18a26af341d948b81375b33945128cd0410ffebc64ca478fd19a207295189c716c95e6a3c586e9f053d WHIRLPOOL 3891549179f1637095e0054dcb2ec581a3099b96b366eef159c6edeb418ae83bcb49433b478d67c3e6f7ef14169b1ff2c5c8b119f405c676983dc738bbcaa6cc
+DIST policycoreutils-extra-1.36.tar.bz2 8830 SHA256 2dfbe799bbbf150e68fab7e168fd71b94505c992623f30c71873213447506e8f SHA512 c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3 WHIRLPOOL c9772dba472b9b466181204f5bd5fb13d839042c53c84db38999a8b077b0dee1e9e78089b7b5fe4bc4076a1ad1c420528354404b292abd428a73e6f95312d0c4
+EBUILD policycoreutils-3.0.ebuild 4774 SHA256 ebe02dd38c1d15a3e047e4b0570aedc04bc94acf3c17abaffe56e63fac160965 SHA512 1181bdb1a5cafb594ad2f2425ebc222bad2bdf3440907cfd689db9e6b27a2931fbc21b619cfc7447f406c1087f38bf88b6042d142f6775585ca75399bf69576e WHIRLPOOL b25bbaea0a4e3c0a30053199d3978840e7693e4193dc701c302db89007f88ac7fbfe13e9d343e8b0779071b3d8d63fe1ee5695dc97a46c89ddc48fc9b6b7bff0
+MISC metadata.xml 1117 SHA256 4b5df713eb05f5d1610a5de599ae97ba21335de28b889ea5128ab52d7819f925 SHA512 1f8703b31ced13b4e15311ecc9d4e03c085eb580e61394e8781744a9c33794e0f10144617415e69b703f5716ca5fd15ad6db14fe93a95c9b5d46c429542beac5 WHIRLPOOL 86f2ca768507b5d12de4d43348bd61f84ee1851beda15e6bc4e69906c31983ab7e4975b472ce041855960252fead92cbf5b8ee889e43b0e017dca77d30706a0c

+ 13 - 0
sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch

@@ -0,0 +1,13 @@
+diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile
+index bdefbb8..9cff135 100644
+--- policycoreutils/newrole/Makefile
++++ policycoreutils/newrole/Makefile
+@@ -49,7 +49,7 @@ ifeq ($(NAMESPACE_PRIV),y)
+ 	IS_SUID=y
+ endif
+ ifeq ($(IS_SUID),y)
+-	MODE := 4555
++	MODE := 0555
+ 	override LDLIBS += -lcap-ng
+ else
+ 	MODE := 0555

+ 27 - 0
sys-apps/policycoreutils/metadata.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>selinux@gentoo.org</email>
+		<name>SELinux Team</name>
+	</maintainer>
+	<longdescription>
+		Policycoreutils contains the policy core utilities that are required
+		for basic operation of a SELinux system.  These utilities include
+		load_policy to load policies, setfiles to label filesystems, newrole
+		to switch roles, and run_init to run /etc/init.d scripts in the proper
+		context.
+
+		Gentoo-specific tools include rlpkg for relabeling packages by name,
+		avc_toggle to toggle between enforcing and permissive modes, and
+		avc_enforcing to query the current mode of the system, enforcing or
+		permissive.
+	</longdescription>
+	<use>
+		<flag name="audit">Enable support for <pkg>sys-process/audit</pkg> and use the audit_* functions (like audit_getuid instead of getuid())</flag>
+	</use>
+	<upstream>
+		<remote-id type="cpe">cpe:/a:redhat:policycoreutils</remote-id>
+		<remote-id type="github">SELinuxProject/selinux</remote-id>
+	</upstream>
+</pkgmetadata>

+ 176 - 0
sys-apps/policycoreutils/policycoreutils-3.0.ebuild

@@ -0,0 +1,176 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20191204"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
+	SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
+	S1="${WORKDIR}/${MY_P}/${PN}"
+	S2="${WORKDIR}/policycoreutils-extra"
+	S="${S1}"
+else
+	SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
+		https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
+	KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+	S1="${WORKDIR}/${MY_P}"
+	S2="${WORKDIR}/policycoreutils-extra"
+	S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+	>=sys-libs/libcap-1.10-r10:=
+	>=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+	sys-libs/libcap-ng:=
+	>=sys-libs/libsepol-${SEPOL_VER}:=
+	>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+	sys-devel/gettext
+	dev-python/ipy[${PYTHON_USEDEP}]
+	dbus? (
+		sys-apps/dbus
+		dev-libs/dbus-glib:=
+	)
+	audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+	pam? ( sys-libs/pam:= )
+	${PYTHON_DEPS}"
+
+### libcgroup -> seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+	app-misc/pax-utils
+	!<sys-apps/openrc-0.14"
+
+PDEPEND="sys-apps/semodule-utils
+	sys-apps/selinux-python"
+
+src_unpack() {
+	# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
+	default
+	if [[ ${PV} == 9999 ]] ; then
+		git-r3_src_unpack
+	fi
+}
+
+src_prepare() {
+	S="${S1}"
+	cd "${S}" || die "Failed to switch to ${S}"
+	if [[ ${PV} != 9999 ]] ; then
+		# If needed for live ebuilds please use /etc/portage/patches
+		eapply "${FILESDIR}/policycoreutils-2.7-0001-newrole-not-suid.patch"
+	fi
+
+	# rlpkg is more useful than fixfiles
+	sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+		|| die "fixfiles sed 1 failed"
+	sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+		|| die "fixfiles sed 2 failed"
+
+	eapply_user
+
+	sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove Werror"
+
+	python_copy_sources
+	# Our extra code is outside the regular directory, so set it to the extra
+	# directory. We really should optimize this as it is ugly, but the extra
+	# code is needed for Gentoo at the same time that policycoreutils is present
+	# (so we cannot use an additional package for now).
+	S="${S2}"
+	python_copy_sources
+}
+
+src_compile() {
+	building() {
+		emake -C "${BUILD_DIR}" \
+			AUDIT_LOG_PRIVS="y" \
+			AUDITH="$(usex audit y n)" \
+			PAMH="$(usex pam y n)" \
+			INOTIFYH="$(usex dbus y n)" \
+			SESANDBOX="n" \
+			CC="$(tc-getCC)" \
+			LIBDIR="\$(PREFIX)/$(get_libdir)"
+	}
+	S="${S1}" # Regular policycoreutils
+	python_foreach_impl building
+	S="${S2}" # Extra set
+	python_foreach_impl building
+}
+
+src_install() {
+	# Python scripts are present in many places. There are no extension modules.
+	installation-policycoreutils() {
+		einfo "Installing policycoreutils"
+		emake -C "${BUILD_DIR}" DESTDIR="${D}" \
+			AUDIT_LOG_PRIVS="y" \
+			AUDITH="$(usex audit y n)" \
+			PAMH="$(usex pam y n)" \
+			INOTIFYH="$(usex dbus y n)" \
+			SESANDBOX="n" \
+			CC="$(tc-getCC)" \
+			LIBDIR="\$(PREFIX)/$(get_libdir)" \
+			install
+		python_optimize
+	}
+
+	installation-extras() {
+		einfo "Installing policycoreutils-extra"
+		emake -C "${BUILD_DIR}" \
+			DESTDIR="${D}" \
+			install
+		python_optimize
+	}
+
+	S="${S1}" # policycoreutils
+	python_foreach_impl installation-policycoreutils
+	S="${S2}" # extras
+	python_foreach_impl installation-extras
+	S="${S1}" # back for later
+
+	# remove redhat-style init script
+	rm -fR "${D}/etc/rc.d" || die
+
+	# compatibility symlinks
+	use split-usr && dosym /sbin/setfiles /usr/sbin/setfiles
+	bashcomp_alias setsebool getsebool
+
+	# location for policy definitions
+	dodir /var/lib/selinux
+	keepdir /var/lib/selinux
+
+	# Set version-specific scripts
+	for pyscript in rlpkg; do
+	  python_replicate_script "${ED}/usr/sbin/${pyscript}"
+	done
+}
+
+pkg_postinst() {
+	for POLICY_TYPE in ${POLICY_TYPES} ; do
+		# There have been some changes to the policy store, rebuilding now.
+		# https://marc.info/?l=selinux&m=143757277819717&w=2
+		einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+		semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild policy store ${POLICY_TYPE}"
+	done
+}

+ 1 - 0
sys-process/prelockd/Manifest

@@ -0,0 +1 @@
+EBUILD prelockd-9999.ebuild 799 SHA256 ddee90b7c1637a485f680849101a7d311415a9723b76720b2728267bd79fde20 SHA512 948fac1f9a3cc8d25325f9857d0965c3262f6727cd062be3d079b1a33185bf8facfe758deb0167096cec7cf7b319110f25ea1eb1533ba2125e891ddae18274c8 WHIRLPOOL 4d159d1772ff84446aba62843f776c22fdbaed5d84b1be03876dc8aa032b65be68c212d4a11d2698b0b11f5aed5b1ab6d33760e1d2c3fac7991dc5c647ae4567

+ 30 - 0
sys-process/prelockd/prelockd-9999.ebuild

@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/hakavlad/prelockd.git"
+	inherit git-r3
+#else
+#	SRC_URI="
+#		"
+#	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
+#fi
+
+#inherit toolchain-autoconf
+
+DESCRIPTION="Daemon that locks memory mapped binaries and libraries in memory"
+HOMEPAGE="https://github.com/hakavlad/prelockd"
+
+LICENSE="MIT"
+SLOT="${PV}"
+#IUSE="emacs"
+
+#BDEPEND=">=sys-devel/m4-1.4.16
+#	>=dev-lang/perl-5.6"
+#RDEPEND="${BDEPEND}
+#	!~sys-devel/${P}:2.5
+#	>=sys-devel/autoconf-wrapper-13"
+#[[ ${PV} == "9999" ]] && BDEPEND+=" >=sys-apps/texinfo-4.3"
+#PDEPEND="emacs? ( app-emacs/autoconf-mode )"