summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/abduco/Manifest7
-rw-r--r--app-misc/abduco/abduco-0.5.ebuild49
-rw-r--r--app-misc/abduco/abduco-0.6.ebuild50
-rw-r--r--app-misc/abduco/metadata.xml19
-rw-r--r--app-misc/abook/Manifest6
-rw-r--r--app-misc/abook/abook-0.6.1-r1.ebuild52
-rw-r--r--app-misc/abook/abook-0.6.1.ebuild46
-rw-r--r--app-misc/abook/metadata.xml12
-rw-r--r--app-misc/acdctl/Manifest5
-rw-r--r--app-misc/acdctl/acdctl-1.1.ebuild21
-rw-r--r--app-misc/acdctl/metadata.xml10
-rw-r--r--app-misc/activylircd/Manifest6
-rw-r--r--app-misc/activylircd/activylircd-0.4.ebuild33
-rw-r--r--app-misc/activylircd/files/activylircd-0.4-linking.patch25
-rw-r--r--app-misc/activylircd/metadata.xml13
-rw-r--r--app-misc/actkbd/Manifest8
-rw-r--r--app-misc/actkbd/actkbd-0.2.8-r2.ebuild48
-rw-r--r--app-misc/actkbd/files/actkbd-0.2.7-amd64.patch38
-rw-r--r--app-misc/actkbd/files/actkbd.confd12
-rw-r--r--app-misc/actkbd/files/actkbd.initd31
-rw-r--r--app-misc/actkbd/metadata.xml9
-rw-r--r--app-misc/aldo/Manifest5
-rw-r--r--app-misc/aldo/aldo-0.7.7.ebuild22
-rw-r--r--app-misc/aldo/metadata.xml5
-rw-r--r--app-misc/anki/Manifest19
-rw-r--r--app-misc/anki/anki-2.0.31.ebuild70
-rw-r--r--app-misc/anki/anki-2.0.33.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.34.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.35.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.36.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.41.ebuild64
-rw-r--r--app-misc/anki/anki-2.0.43.ebuild68
-rw-r--r--app-misc/anki/anki-2.0.47.ebuild68
-rw-r--r--app-misc/anki/metadata.xml21
-rw-r--r--app-misc/asciinema/Manifest5
-rw-r--r--app-misc/asciinema/asciinema-1.4.0.ebuild32
-rw-r--r--app-misc/asciinema/metadata.xml11
-rw-r--r--app-misc/astrolog-ephemeris/Manifest5
-rw-r--r--app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild23
-rw-r--r--app-misc/astrolog-ephemeris/metadata.xml8
-rw-r--r--app-misc/astrolog/Manifest7
-rw-r--r--app-misc/astrolog/astrolog-5.40-r1.ebuild68
-rw-r--r--app-misc/astrolog/astrolog-5.40-r2.ebuild68
-rw-r--r--app-misc/astrolog/astrolog-5.40-r3.ebuild70
-rw-r--r--app-misc/astrolog/metadata.xml5
-rw-r--r--app-misc/away/Manifest6
-rw-r--r--app-misc/away/away-0.9.5-r1.ebuild38
-rw-r--r--app-misc/away/away-0.9.5-r2.ebuild41
-rw-r--r--app-misc/away/metadata.xml5
-rw-r--r--app-misc/banner/Manifest6
-rw-r--r--app-misc/banner/banner-1.3.3.ebuild19
-rw-r--r--app-misc/banner/files/banner-1.3.3-ctype.h.patch11
-rw-r--r--app-misc/banner/metadata.xml8
-rw-r--r--app-misc/bb/Manifest14
-rw-r--r--app-misc/bb/bb-1.3.0_rc1-r3.ebuild63
-rw-r--r--app-misc/bb/bb-1.3.0_rc1-r4.ebuild66
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-disable-pulse.patch23
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch15
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch396
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch25
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-noattr.patch15
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch55
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-protos.patch16
-rw-r--r--app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch35
-rw-r--r--app-misc/bb/metadata.xml11
-rw-r--r--app-misc/beancounter/Manifest5
-rw-r--r--app-misc/beancounter/beancounter-0.8.10-r1.ebuild32
-rw-r--r--app-misc/beancounter/metadata.xml9
-rw-r--r--app-misc/beanstalkd/Manifest9
-rw-r--r--app-misc/beanstalkd/beanstalkd-1.10.ebuild50
-rw-r--r--app-misc/beanstalkd/files/conf14
-rw-r--r--app-misc/beanstalkd/files/conf-1.920
-rw-r--r--app-misc/beanstalkd/files/init24
-rw-r--r--app-misc/beanstalkd/files/init-1.925
-rw-r--r--app-misc/beanstalkd/metadata.xml14
-rw-r--r--app-misc/beep/Manifest6
-rw-r--r--app-misc/beep/beep-1.3-r2.ebuild34
-rw-r--r--app-misc/beep/files/beep-1.3-Makefile.patch26
-rw-r--r--app-misc/beep/metadata.xml8
-rw-r--r--app-misc/bfm/Manifest9
-rw-r--r--app-misc/bfm/bfm-1.2-r1.ebuild65
-rw-r--r--app-misc/bfm/bfm-1.2-r2.ebuild64
-rw-r--r--app-misc/bfm/files/1.2-build.xml75
-rw-r--r--app-misc/bfm/files/1.2-r2-build.xml75
-rw-r--r--app-misc/bfm/files/1.2-r2-package.patch313
-rw-r--r--app-misc/bfm/metadata.xml16
-rw-r--r--app-misc/bfr/Manifest7
-rw-r--r--app-misc/bfr/bfr-1.6-r2.ebuild21
-rw-r--r--app-misc/bfr/bfr-1.6-r3.ebuild23
-rw-r--r--app-misc/bfr/files/bfr-1.6-perl.patch28
-rw-r--r--app-misc/bfr/metadata.xml8
-rw-r--r--app-misc/bgrep/Manifest5
-rw-r--r--app-misc/bgrep/bgrep-0_p20110121.ebuild45
-rw-r--r--app-misc/bgrep/metadata.xml7
-rw-r--r--app-misc/bijiben/Manifest7
-rw-r--r--app-misc/bijiben/bijiben-3.24.0.ebuild39
-rw-r--r--app-misc/bijiben/bijiben-3.24.2.ebuild40
-rw-r--r--app-misc/bijiben/metadata.xml11
-rw-r--r--app-misc/binclock/Manifest5
-rw-r--r--app-misc/binclock/binclock-1.5.ebuild32
-rw-r--r--app-misc/binclock/metadata.xml9
-rw-r--r--app-misc/binwalk/Manifest7
-rw-r--r--app-misc/binwalk/binwalk-2.1.1.ebuild41
-rw-r--r--app-misc/binwalk/binwalk-9999.ebuild39
-rw-r--r--app-misc/binwalk/files/0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch67
-rw-r--r--app-misc/binwalk/metadata.xml23
-rw-r--r--app-misc/birthday/Manifest6
-rw-r--r--app-misc/birthday/birthday-1.6.2-r1.ebuild31
-rw-r--r--app-misc/birthday/birthday-1.6.2.ebuild34
-rw-r--r--app-misc/birthday/metadata.xml11
-rw-r--r--app-misc/blink1/Manifest4
-rw-r--r--app-misc/blink1/blink1-1.98.ebuild99
-rw-r--r--app-misc/blink1/metadata.xml16
-rw-r--r--app-misc/bottlerocket/Manifest5
-rw-r--r--app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild44
-rw-r--r--app-misc/bottlerocket/metadata.xml5
-rw-r--r--app-misc/boxes/Manifest7
-rw-r--r--app-misc/boxes/boxes-1.1.2-r1.ebuild40
-rw-r--r--app-misc/boxes/boxes-1.1.2-r2.ebuild40
-rw-r--r--app-misc/boxes/boxes-1.1.2-r3.ebuild39
-rw-r--r--app-misc/boxes/metadata.xml11
-rw-r--r--app-misc/brewtarget/Manifest5
-rw-r--r--app-misc/brewtarget/brewtarget-2.3.1.ebuild56
-rw-r--r--app-misc/brewtarget/metadata.xml11
-rw-r--r--app-misc/btail/Manifest5
-rw-r--r--app-misc/btail/btail-0.3.ebuild41
-rw-r--r--app-misc/btail/metadata.xml5
-rw-r--r--app-misc/byobu/Manifest7
-rw-r--r--app-misc/byobu/byobu-5.122.ebuild43
-rw-r--r--app-misc/byobu/byobu-5.123.ebuild43
-rw-r--r--app-misc/byobu/metadata.xml23
-rw-r--r--app-misc/c_rehash/Manifest6
-rw-r--r--app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild34
-rw-r--r--app-misc/c_rehash/c_rehash-1.7-r1.ebuild31
-rw-r--r--app-misc/c_rehash/metadata.xml11
-rw-r--r--app-misc/ca-certificates/Manifest15
-rw-r--r--app-misc/ca-certificates/ca-certificates-20161130.3.30-r1.ebuild184
-rw-r--r--app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild188
-rw-r--r--app-misc/ca-certificates/ca-certificates-20170717.3.32.1.ebuild190
-rw-r--r--app-misc/ca-certificates/ca-certificates-20170717.3.33.ebuild190
-rw-r--r--app-misc/ca-certificates/files/ca-certificates-20150426-root.patch49
-rw-r--r--app-misc/ca-certificates/metadata.xml17
-rw-r--r--app-misc/cadubi/Manifest6
-rw-r--r--app-misc/cadubi/cadubi-1.3.ebuild29
-rw-r--r--app-misc/cadubi/files/cadubi-1.3-helpfile.patch11
-rw-r--r--app-misc/cadubi/metadata.xml5
-rw-r--r--app-misc/calendar/Manifest6
-rw-r--r--app-misc/calendar/calendar-0.9.1-r1.ebuild33
-rw-r--r--app-misc/calendar/calendar-0.9.1.ebuild25
-rw-r--r--app-misc/calendar/metadata.xml11
-rw-r--r--app-misc/carbon-c-relay/Manifest13
-rw-r--r--app-misc/carbon-c-relay/carbon-c-relay-2.5.ebuild36
-rw-r--r--app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild36
-rw-r--r--app-misc/carbon-c-relay/carbon-c-relay-3.1-r1.ebuild33
-rw-r--r--app-misc/carbon-c-relay/files/carbon-c-relay.confd15
-rw-r--r--app-misc/carbon-c-relay/files/carbon-c-relay.confd-r115
-rw-r--r--app-misc/carbon-c-relay/files/carbon-c-relay.initd70
-rw-r--r--app-misc/carbon-c-relay/files/carbon-c-relay.initd-r174
-rw-r--r--app-misc/carbon-c-relay/metadata.xml10
-rw-r--r--app-misc/cbrpager/Manifest7
-rw-r--r--app-misc/cbrpager/cbrpager-0.9.20.ebuild26
-rw-r--r--app-misc/cbrpager/cbrpager-0.9.22.ebuild27
-rw-r--r--app-misc/cbrpager/metadata.xml11
-rw-r--r--app-misc/cbview/Manifest5
-rw-r--r--app-misc/cbview/cbview-0.06-r1.ebuild25
-rw-r--r--app-misc/cbview/metadata.xml5
-rw-r--r--app-misc/cdargs/Manifest8
-rw-r--r--app-misc/cdargs/cdargs-1.35-r2.ebuild70
-rw-r--r--app-misc/cdargs/files/50cdargs-gentoo.el8
-rw-r--r--app-misc/cdargs/files/cdargs-1.35-format_security.patch100
-rw-r--r--app-misc/cdargs/files/cdargs-1.35-tinfo.patch20
-rw-r--r--app-misc/cdargs/metadata.xml8
-rw-r--r--app-misc/cdcat/Manifest5
-rw-r--r--app-misc/cdcat/cdcat-0.3.ebuild47
-rw-r--r--app-misc/cdcat/metadata.xml5
-rw-r--r--app-misc/cdctl/Manifest10
-rw-r--r--app-misc/cdctl/cdctl-0.15.ebuild34
-rw-r--r--app-misc/cdctl/cdctl-0.16.ebuild29
-rw-r--r--app-misc/cdctl/files/cdctl-0.15-Makefile.in.patch56
-rw-r--r--app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch13
-rw-r--r--app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch55
-rw-r--r--app-misc/cdctl/metadata.xml8
-rw-r--r--app-misc/cdircmp/Manifest5
-rw-r--r--app-misc/cdircmp/cdircmp-0.3-r1.ebuild38
-rw-r--r--app-misc/cdircmp/metadata.xml5
-rw-r--r--app-misc/cdspeed/Manifest5
-rw-r--r--app-misc/cdspeed/cdspeed-0.4-r1.ebuild34
-rw-r--r--app-misc/cdspeed/metadata.xml5
-rw-r--r--app-misc/chkcrontab/Manifest6
-rw-r--r--app-misc/chkcrontab/chkcrontab-1.6.ebuild26
-rw-r--r--app-misc/chkcrontab/chkcrontab-1.7.ebuild26
-rw-r--r--app-misc/chkcrontab/metadata.xml15
-rw-r--r--app-misc/ckb/Manifest6
-rw-r--r--app-misc/ckb/ckb-0.2.6-r1.ebuild45
-rw-r--r--app-misc/ckb/files/ckb.initd29
-rw-r--r--app-misc/ckb/metadata.xml11
-rw-r--r--app-misc/ckermit/Manifest7
-rw-r--r--app-misc/ckermit/ckermit-8.0.211-r4.ebuild75
-rw-r--r--app-misc/ckermit/files/ckermit-8.0.211-build-wart.patch23
-rw-r--r--app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch78
-rw-r--r--app-misc/ckermit/metadata.xml8
-rw-r--r--app-misc/clockywock/Manifest6
-rw-r--r--app-misc/clockywock/clockywock-0.3.1a.ebuild32
-rw-r--r--app-misc/clockywock/files/clockywock-0.3.1a-makefile.patch10
-rw-r--r--app-misc/clockywock/metadata.xml8
-rw-r--r--app-misc/cmatrix/Manifest8
-rw-r--r--app-misc/cmatrix/cmatrix-1.2a-r3.ebuild50
-rw-r--r--app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch28
-rw-r--r--app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch48
-rw-r--r--app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch33
-rw-r--r--app-misc/cmatrix/metadata.xml7
-rw-r--r--app-misc/color/Manifest7
-rw-r--r--app-misc/color/color-1.2-r1.ebuild38
-rw-r--r--app-misc/color/color-1.2-r2.ebuild39
-rw-r--r--app-misc/color/files/1.2-ldflags.patch23
-rw-r--r--app-misc/color/metadata.xml14
-rw-r--r--app-misc/colordiff/Manifest7
-rw-r--r--app-misc/colordiff/colordiff-1.0.16.ebuild39
-rw-r--r--app-misc/colordiff/colordiff-1.0.18.ebuild41
-rw-r--r--app-misc/colordiff/metadata.xml8
-rw-r--r--app-misc/conmux/Manifest9
-rw-r--r--app-misc/conmux/conmux-0.15.1-r3.ebuild63
-rw-r--r--app-misc/conmux/files/conmux-registry.confd4
-rw-r--r--app-misc/conmux/files/conmux-registry.initd31
-rw-r--r--app-misc/conmux/files/conmux.confd14
-rw-r--r--app-misc/conmux/files/conmux.initd39
-rw-r--r--app-misc/conmux/metadata.xml17
-rw-r--r--app-misc/countrycodes/Manifest8
-rw-r--r--app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild32
-rw-r--r--app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild34
-rw-r--r--app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild32
-rw-r--r--app-misc/countrycodes/files/1.0.5-Makefile.patch42
-rw-r--r--app-misc/countrycodes/metadata.xml8
-rw-r--r--app-misc/cpipe/Manifest4
-rw-r--r--app-misc/cpipe/cpipe-3.0.3.ebuild32
-rw-r--r--app-misc/cpipe/metadata.xml11
-rw-r--r--app-misc/crunch/Manifest5
-rw-r--r--app-misc/crunch/crunch-3.6.ebuild29
-rw-r--r--app-misc/crunch/metadata.xml11
-rw-r--r--app-misc/cstream/Manifest7
-rw-r--r--app-misc/cstream/cstream-3.0.0.ebuild23
-rw-r--r--app-misc/cstream/cstream-3.1.1.ebuild23
-rw-r--r--app-misc/cstream/metadata.xml18
-rw-r--r--app-misc/cw/Manifest9
-rw-r--r--app-misc/cw/cw-1.0.16-r3.ebuild62
-rw-r--r--app-misc/cw/files/1.0.16-collision.patch34
-rw-r--r--app-misc/cw/files/1.0.16-format-security.patch16
-rw-r--r--app-misc/cw/files/1.0.16-ldflags.patch18
-rw-r--r--app-misc/cw/files/1.0.16-path.patch19
-rw-r--r--app-misc/cw/metadata.xml11
-rw-r--r--app-misc/cwiid/Manifest7
-rw-r--r--app-misc/cwiid/cwiid-20110107-r2.ebuild76
-rw-r--r--app-misc/cwiid/files/60-cwiid.rules2
-rw-r--r--app-misc/cwiid/files/cwiid-20110107-underlinking.patch31
-rw-r--r--app-misc/cwiid/metadata.xml5
-rw-r--r--app-misc/dailystrips/Manifest6
-rw-r--r--app-misc/dailystrips/dailystrips-1.0.28-r2.ebuild32
-rw-r--r--app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild30
-rw-r--r--app-misc/dailystrips/metadata.xml8
-rw-r--r--app-misc/datefudge/Manifest6
-rw-r--r--app-misc/datefudge/datefudge-1.17.ebuild35
-rw-r--r--app-misc/datefudge/files/datefudge-1.17-bsd.patch58
-rw-r--r--app-misc/datefudge/metadata.xml4
-rw-r--r--app-misc/dateutils/Manifest7
-rw-r--r--app-misc/dateutils/dateutils-0.4.1.ebuild32
-rw-r--r--app-misc/dateutils/dateutils-0.4.2.ebuild31
-rw-r--r--app-misc/dateutils/metadata.xml11
-rw-r--r--app-misc/datovka/Manifest9
-rw-r--r--app-misc/datovka/datovka-3.0.3-r1.ebuild27
-rw-r--r--app-misc/datovka/datovka-4.7.1.ebuild47
-rw-r--r--app-misc/datovka/datovka-4.9.2.ebuild46
-rw-r--r--app-misc/datovka/metadata.xml12
-rw-r--r--app-misc/ddate/Manifest5
-rw-r--r--app-misc/ddate/ddate-0.2.1.ebuild28
-rw-r--r--app-misc/ddate/metadata.xml7
-rw-r--r--app-misc/ddccontrol-db/Manifest5
-rw-r--r--app-misc/ddccontrol-db/ddccontrol-db-20061014_p20121105.ebuild37
-rw-r--r--app-misc/ddccontrol-db/metadata.xml9
-rw-r--r--app-misc/ddccontrol/Manifest5
-rw-r--r--app-misc/ddccontrol/ddccontrol-0.4.2_p20140105-r2.ebuild78
-rw-r--r--app-misc/ddccontrol/metadata.xml12
-rw-r--r--app-misc/ddcutil/Manifest4
-rw-r--r--app-misc/ddcutil/ddcutil-0.8.4.ebuild104
-rw-r--r--app-misc/ddcutil/metadata.xml34
-rw-r--r--app-misc/delay/Manifest7
-rw-r--r--app-misc/delay/delay-1.6-r2.ebuild30
-rw-r--r--app-misc/delay/files/delay-1.6-headers.patch10
-rw-r--r--app-misc/delay/files/delay-1.6-tinfo.patch16
-rw-r--r--app-misc/delay/metadata.xml8
-rw-r--r--app-misc/detachtty/Manifest6
-rw-r--r--app-misc/detachtty/detachtty-9-r1.ebuild29
-rw-r--r--app-misc/detachtty/detachtty-9.ebuild26
-rw-r--r--app-misc/detachtty/metadata.xml18
-rw-r--r--app-misc/detox/Manifest10
-rw-r--r--app-misc/detox/detox-1.2.0-r3.ebuild46
-rw-r--r--app-misc/detox/files/detox-1.2.0-LDFLAGS.patch18
-rw-r--r--app-misc/detox/files/detox-1.2.0-change-default-sequence-to-use-utf8-table.patch17
-rw-r--r--app-misc/detox/files/detox-1.2.0-format-security.patch72
-rw-r--r--app-misc/detox/files/detox-1.2.0-install-missing-file.patch18
-rw-r--r--app-misc/detox/files/detox-1.2.0-parallel.patch29
-rw-r--r--app-misc/detox/metadata.xml11
-rw-r--r--app-misc/devtodo/Manifest9
-rw-r--r--app-misc/devtodo/devtodo-0.1.20-r3.ebuild70
-rw-r--r--app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch32
-rw-r--r--app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch10
-rw-r--r--app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff85
-rw-r--r--app-misc/devtodo/files/devtodo.bash-completion43
-rw-r--r--app-misc/devtodo/metadata.xml8
-rw-r--r--app-misc/digitemp/Manifest7
-rw-r--r--app-misc/digitemp/digitemp-3.5.0-r2.ebuild75
-rw-r--r--app-misc/digitemp/digitemp-3.7.1.ebuild75
-rw-r--r--app-misc/digitemp/metadata.xml26
-rw-r--r--app-misc/dnetc/Manifest17
-rw-r--r--app-misc/dnetc/dnetc-2.9107.516.ebuild93
-rw-r--r--app-misc/dnetc/dnetc-2.9108.517.ebuild93
-rw-r--r--app-misc/dnetc/dnetc-2.9109.518.ebuild93
-rw-r--r--app-misc/dnetc/dnetc-2.9110.519.ebuild93
-rw-r--r--app-misc/dnetc/dnetc-2.9110.519b.ebuild95
-rw-r--r--app-misc/dnetc/files/dnetc.confd18
-rw-r--r--app-misc/dnetc/files/dnetc.initd88
-rw-r--r--app-misc/dnetc/metadata.xml11
-rw-r--r--app-misc/dtach/Manifest8
-rw-r--r--app-misc/dtach/dtach-0.8-r1.ebuild25
-rw-r--r--app-misc/dtach/dtach-0.9.ebuild19
-rw-r--r--app-misc/dtach/files/dtach-0.8-CVE-2012-3368.patch35
-rw-r--r--app-misc/dtach/metadata.xml12
-rw-r--r--app-misc/dvorak7min/Manifest5
-rw-r--r--app-misc/dvorak7min/dvorak7min-1.6.1.ebuild31
-rw-r--r--app-misc/dvorak7min/metadata.xml5
-rw-r--r--app-misc/dvorakng/Manifest5
-rw-r--r--app-misc/dvorakng/dvorakng-0.6.0.ebuild35
-rw-r--r--app-misc/dvorakng/metadata.xml8
-rw-r--r--app-misc/dvtm/Manifest8
-rw-r--r--app-misc/dvtm/dvtm-0.14.ebuild68
-rw-r--r--app-misc/dvtm/dvtm-0.15.ebuild67
-rw-r--r--app-misc/dvtm/dvtm-9999.ebuild68
-rw-r--r--app-misc/dvtm/metadata.xml8
-rw-r--r--app-misc/editor-wrapper/Manifest5
-rw-r--r--app-misc/editor-wrapper/editor-wrapper-4.ebuild31
-rw-r--r--app-misc/editor-wrapper/files/editor-wrapper-4.sh17
-rw-r--r--app-misc/editor-wrapper/metadata.xml12
-rw-r--r--app-misc/egads/Manifest5
-rw-r--r--app-misc/egads/egads-0.9.5.ebuild49
-rw-r--r--app-misc/egads/metadata.xml8
-rw-r--r--app-misc/eid-viewer-bin/Manifest7
-rw-r--r--app-misc/eid-viewer-bin/eid-viewer-bin-4.0.7_p184.ebuild33
-rw-r--r--app-misc/eid-viewer-bin/eid-viewer-bin-4.1.9.ebuild29
-rw-r--r--app-misc/eid-viewer-bin/metadata.xml21
-rw-r--r--app-misc/elasticsearch/Manifest13
-rw-r--r--app-misc/elasticsearch/elasticsearch-5.5.2.ebuild67
-rw-r--r--app-misc/elasticsearch/elasticsearch-5.6.2.ebuild67
-rwxr-xr-xapp-misc/elasticsearch/files/elasticsearch-systemd-pre-exec7
-rw-r--r--app-misc/elasticsearch/files/elasticsearch.conf60
-rw-r--r--app-misc/elasticsearch/files/elasticsearch.init95
-rw-r--r--app-misc/elasticsearch/files/elasticsearch.service53
-rw-r--r--app-misc/elasticsearch/files/elasticsearch.sysctl.d1
-rw-r--r--app-misc/elasticsearch/files/elasticsearch.tmpfiles.d1
-rw-r--r--app-misc/elasticsearch/metadata.xml16
-rw-r--r--app-misc/email2trac/Manifest9
-rw-r--r--app-misc/email2trac/email2trac-2.6.2-r1.ebuild39
-rw-r--r--app-misc/email2trac/email2trac-2.8.4.ebuild39
-rw-r--r--app-misc/email2trac/email2trac-2.8.8.ebuild39
-rw-r--r--app-misc/email2trac/metadata.xml16
-rw-r--r--app-misc/emelfm2/Manifest6
-rw-r--r--app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild87
-rw-r--r--app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild87
-rw-r--r--app-misc/emelfm2/metadata.xml16
-rw-r--r--app-misc/empty/Manifest6
-rw-r--r--app-misc/empty/empty-0.6.20b.ebuild33
-rw-r--r--app-misc/empty/files/empty-respect-LDFLAGS.patch11
-rw-r--r--app-misc/empty/metadata.xml11
-rw-r--r--app-misc/enum/Manifest5
-rw-r--r--app-misc/enum/enum-1.1-r1.ebuild34
-rw-r--r--app-misc/enum/metadata.xml11
-rw-r--r--app-misc/esekeyd/Manifest5
-rw-r--r--app-misc/esekeyd/esekeyd-1.2.7.ebuild14
-rw-r--r--app-misc/esekeyd/metadata.xml8
-rw-r--r--app-misc/evemu/Manifest7
-rw-r--r--app-misc/evemu/evemu-2.6.0.ebuild43
-rw-r--r--app-misc/evemu/evemu-2.7.0.ebuild43
-rw-r--r--app-misc/evemu/metadata.xml8
-rw-r--r--app-misc/evtest/Manifest14
-rw-r--r--app-misc/evtest/evtest-1.29.ebuild36
-rw-r--r--app-misc/evtest/evtest-1.30.ebuild39
-rw-r--r--app-misc/evtest/evtest-1.31.ebuild37
-rw-r--r--app-misc/evtest/files/evtest-1.30-autoconf.patch33
-rw-r--r--app-misc/evtest/files/evtest-1.30-xml.patch40
-rw-r--r--app-misc/evtest/metadata.xml7
-rw-r--r--app-misc/fdupes/Manifest14
-rw-r--r--app-misc/fdupes/fdupes-1.5.1.ebuild40
-rw-r--r--app-misc/fdupes/fdupes-1.6.1-r1.ebuild29
-rw-r--r--app-misc/fdupes/fdupes-1.6.1.ebuild29
-rw-r--r--app-misc/fdupes/fdupes-9999.ebuild34
-rw-r--r--app-misc/fdupes/files/fdupes-1.50_pre2-compare-file.patch58
-rw-r--r--app-misc/fdupes/files/fdupes-1.50_pre2-typo.patch12
-rw-r--r--app-misc/fdupes/files/fdupes-1.51-fix-stdin-lvalue.patch20
-rw-r--r--app-misc/fdupes/files/fdupes-1.51-makefile.patch23
-rw-r--r--app-misc/fdupes/files/fdupes-9999-gentoo.patch14
-rw-r--r--app-misc/fdupes/metadata.xml11
-rw-r--r--app-misc/fdutils/Manifest6
-rw-r--r--app-misc/fdutils/fdutils-5.5.20060227.ebuild55
-rw-r--r--app-misc/fdutils/metadata.xml5
-rw-r--r--app-misc/figlet/Manifest6
-rw-r--r--app-misc/figlet/figlet-2.2.5.ebuild39
-rw-r--r--app-misc/figlet/files/figlet.bashcomp51
-rw-r--r--app-misc/figlet/metadata.xml8
-rw-r--r--app-misc/freemind/Manifest5
-rw-r--r--app-misc/freemind/freemind-1.0.1-r2.ebuild121
-rw-r--r--app-misc/freemind/metadata.xml17
-rw-r--r--app-misc/freeplane/Manifest4
-rw-r--r--app-misc/freeplane/freeplane-1.5.18.ebuild49
-rw-r--r--app-misc/freeplane/metadata.xml14
-rw-r--r--app-misc/fslint/Manifest5
-rw-r--r--app-misc/fslint/fslint-2.46.ebuild79
-rw-r--r--app-misc/fslint/metadata.xml8
-rw-r--r--app-misc/fslurp/Manifest6
-rw-r--r--app-misc/fslurp/files/fslurp-2.1.4-makefile.patch47
-rw-r--r--app-misc/fslurp/fslurp-2.1.4.ebuild27
-rw-r--r--app-misc/fslurp/metadata.xml16
-rw-r--r--app-misc/fsniper/Manifest7
-rw-r--r--app-misc/fsniper/files/fsniper-1.3.1-format-security.patch26
-rw-r--r--app-misc/fsniper/files/fsniper-1.3.1-umask.patch18
-rw-r--r--app-misc/fsniper/fsniper-1.3.1-r2.ebuild37
-rw-r--r--app-misc/fsniper/metadata.xml11
-rw-r--r--app-misc/fujiplay/Manifest6
-rw-r--r--app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch75
-rw-r--r--app-misc/fujiplay/fujiplay-1.33.ebuild49
-rw-r--r--app-misc/fujiplay/metadata.xml5
-rw-r--r--app-misc/g15composer/Manifest11
-rw-r--r--app-misc/g15composer/files/g15composer-3.1.confd17
-rw-r--r--app-misc/g15composer/files/g15composer-3.1.initd48
-rw-r--r--app-misc/g15composer/files/g15composer-3.2.confd17
-rw-r--r--app-misc/g15composer/files/g15composer-3.2.initd48
-rw-r--r--app-misc/g15composer/g15composer-3.1.ebuild41
-rw-r--r--app-misc/g15composer/g15composer-3.2.ebuild41
-rw-r--r--app-misc/g15composer/metadata.xml14
-rw-r--r--app-misc/g15daemon/Manifest16
-rw-r--r--app-misc/g15daemon/files/20g15daemon15
-rw-r--r--app-misc/g15daemon/files/99-g15daemon.rules1
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.2.7.confd9
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch11
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch340
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch11
-rw-r--r--app-misc/g15daemon/files/g15daemon-1.9.5.3.initd45
-rw-r--r--app-misc/g15daemon/files/g15daemon-hotplug15
-rw-r--r--app-misc/g15daemon/files/g15daemon.conf27
-rw-r--r--app-misc/g15daemon/g15daemon-1.9.5.3-r13.ebuild160
-rw-r--r--app-misc/g15daemon/g15daemon-1.9.5.3-r21.ebuild162
-rw-r--r--app-misc/g15daemon/g15daemon-9999.ebuild174
-rw-r--r--app-misc/g15daemon/metadata.xml14
-rw-r--r--app-misc/g15macro/Manifest7
-rw-r--r--app-misc/g15macro/files/g15macro-1.0.3-Makefile.am.patch13
-rw-r--r--app-misc/g15macro/files/g15macro-1.0.3-configure.in.patch10
-rw-r--r--app-misc/g15macro/g15macro-1.0.3-r1.ebuild42
-rw-r--r--app-misc/g15macro/metadata.xml14
-rw-r--r--app-misc/g15message/Manifest5
-rw-r--r--app-misc/g15message/g15message-1.0.0.ebuild25
-rw-r--r--app-misc/g15message/metadata.xml14
-rw-r--r--app-misc/g15mpd/Manifest7
-rw-r--r--app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch18
-rw-r--r--app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch34
-rw-r--r--app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild38
-rw-r--r--app-misc/g15mpd/metadata.xml8
-rw-r--r--app-misc/g15stats/Manifest7
-rw-r--r--app-misc/g15stats/files/g15stats-1.9.7.confd20
-rw-r--r--app-misc/g15stats/files/g15stats-1.9.7.initd23
-rw-r--r--app-misc/g15stats/g15stats-1.9.7.ebuild48
-rw-r--r--app-misc/g15stats/metadata.xml14
-rw-r--r--app-misc/gcal/Manifest5
-rw-r--r--app-misc/gcal/gcal-3.6.3.ebuild32
-rw-r--r--app-misc/gcal/metadata.xml20
-rw-r--r--app-misc/gcalcli/Manifest13
-rw-r--r--app-misc/gcalcli/files/gcalcli-oauth2client.patch30
-rw-r--r--app-misc/gcalcli/gcalcli-3.2.ebuild30
-rw-r--r--app-misc/gcalcli/gcalcli-3.3.2.ebuild30
-rw-r--r--app-misc/gcalcli/gcalcli-3.4.0.ebuild35
-rw-r--r--app-misc/gcalcli/gcalcli-4.0.0_alpha3-r1.ebuild37
-rw-r--r--app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild34
-rw-r--r--app-misc/gcalcli/metadata.xml11
-rw-r--r--app-misc/gcstar/Manifest7
-rw-r--r--app-misc/gcstar/files/gcstar-1.4.0-man.patch26
-rw-r--r--app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch23
-rw-r--r--app-misc/gcstar/gcstar-1.7.0.ebuild113
-rw-r--r--app-misc/gcstar/metadata.xml22
-rw-r--r--app-misc/geekcode/Manifest6
-rw-r--r--app-misc/geekcode/files/geekcode-1.7.3-exit.patch10
-rw-r--r--app-misc/geekcode/geekcode-1.7.3-r1.ebuild30
-rw-r--r--app-misc/geekcode/metadata.xml11
-rw-r--r--app-misc/geneweb/Manifest15
-rw-r--r--app-misc/geneweb/files/geneweb-6.07-gentoo.patch30
-rw-r--r--app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch68
-rw-r--r--app-misc/geneweb/files/geneweb-6.08-parallellbuild.patch31
-rw-r--r--app-misc/geneweb/files/geneweb-6.08-r1-gentoo.patch30
-rw-r--r--app-misc/geneweb/files/geneweb.confd6
-rw-r--r--app-misc/geneweb/files/geneweb.initd19
-rw-r--r--app-misc/geneweb/geneweb-6.07.ebuild84
-rw-r--r--app-misc/geneweb/geneweb-6.08-r1.ebuild76
-rw-r--r--app-misc/geneweb/metadata.xml21
-rw-r--r--app-misc/gentoo/Manifest5
-rw-r--r--app-misc/gentoo/gentoo-0.20.7.ebuild67
-rw-r--r--app-misc/gentoo/metadata.xml11
-rw-r--r--app-misc/geoclue/Manifest11
-rw-r--r--app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch16
-rw-r--r--app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch79
-rw-r--r--app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch73
-rw-r--r--app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch44
-rw-r--r--app-misc/geoclue/geoclue-0.12.99.ebuild71
-rw-r--r--app-misc/geoclue/geoclue-2.4.7.ebuild59
-rw-r--r--app-misc/geoclue/metadata.xml25
-rw-r--r--app-misc/getopt/Manifest9
-rw-r--r--app-misc/getopt/files/getopt-1.1.4-irix.patch17
-rw-r--r--app-misc/getopt/files/getopt-1.1.5-libintl.patch11
-rw-r--r--app-misc/getopt/files/getopt-1.1.5-setlocale.patch12
-rw-r--r--app-misc/getopt/files/getopt-1.1.6-longrename.patch70
-rw-r--r--app-misc/getopt/getopt-1.1.6.ebuild64
-rw-r--r--app-misc/getopt/metadata.xml12
-rw-r--r--app-misc/glastree/Manifest6
-rw-r--r--app-misc/glastree/files/glastree-posix-make.patch16
-rw-r--r--app-misc/glastree/glastree-1.04.ebuild28
-rw-r--r--app-misc/glastree/metadata.xml5
-rw-r--r--app-misc/glcdprocdriver/Manifest5
-rw-r--r--app-misc/glcdprocdriver/glcdprocdriver-0.0.6.ebuild29
-rw-r--r--app-misc/glcdprocdriver/metadata.xml12
-rw-r--r--app-misc/glimpse/Manifest9
-rw-r--r--app-misc/glimpse/files/glimpse-4.18.5-makefile.patch42
-rw-r--r--app-misc/glimpse/files/glimpse-4.18.6-makefile.patch42
-rw-r--r--app-misc/glimpse/glimpse-4.18.5.ebuild54
-rw-r--r--app-misc/glimpse/glimpse-4.18.6-r1.ebuild60
-rw-r--r--app-misc/glimpse/metadata.xml5
-rw-r--r--app-misc/gnote/Manifest9
-rw-r--r--app-misc/gnote/gnote-3.22.1.ebuild70
-rw-r--r--app-misc/gnote/gnote-3.24.0.ebuild71
-rw-r--r--app-misc/gnote/gnote-3.24.1.ebuild71
-rw-r--r--app-misc/gnote/metadata.xml11
-rw-r--r--app-misc/gnuit/Manifest6
-rw-r--r--app-misc/gnuit/files/gnuit-4.9.5-format-security.patch16
-rw-r--r--app-misc/gnuit/gnuit-4.9.5-r2.ebuild38
-rw-r--r--app-misc/gnuit/metadata.xml8
-rw-r--r--app-misc/gnutu/Manifest5
-rw-r--r--app-misc/gnutu/gnutu-2.5-r1.ebuild20
-rw-r--r--app-misc/gnutu/metadata.xml16
-rw-r--r--app-misc/go-jira/Manifest15
-rw-r--r--app-misc/go-jira/go-jira-0.1.14.ebuild50
-rw-r--r--app-misc/go-jira/go-jira-1.0.10.ebuild29
-rw-r--r--app-misc/go-jira/metadata.xml11
-rw-r--r--app-misc/golly/Manifest7
-rw-r--r--app-misc/golly/golly-2.7-r1.ebuild50
-rw-r--r--app-misc/golly/golly-2.8.ebuild58
-rw-r--r--app-misc/golly/metadata.xml11
-rw-r--r--app-misc/goobook/Manifest5
-rw-r--r--app-misc/goobook/goobook-1.9.ebuild48
-rw-r--r--app-misc/goobook/metadata.xml16
-rw-r--r--app-misc/gourmet/Manifest10
-rw-r--r--app-misc/gourmet/files/desktop-entry.patch10
-rw-r--r--app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch56
-rw-r--r--app-misc/gourmet/files/no-docs-0.17.0.patch10
-rw-r--r--app-misc/gourmet/files/tostring-to-tobytes.patch26
-rw-r--r--app-misc/gourmet/gourmet-0.17.4-r1.ebuild60
-rw-r--r--app-misc/gourmet/gourmet-0.17.4-r2.ebuild62
-rw-r--r--app-misc/gourmet/metadata.xml48
-rw-r--r--app-misc/grabcartoons/Manifest7
-rw-r--r--app-misc/grabcartoons/files/2.8.4-fix-install-paths.patch32
-rw-r--r--app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild33
-rw-r--r--app-misc/grabcartoons/grabcartoons-9999.ebuild33
-rw-r--r--app-misc/grabcartoons/metadata.xml8
-rw-r--r--app-misc/gramps/Manifest5
-rw-r--r--app-misc/gramps/gramps-4.2.5.ebuild45
-rw-r--r--app-misc/gramps/metadata.xml97
-rw-r--r--app-misc/graphlcd-base/Manifest10
-rw-r--r--app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch312
-rw-r--r--app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch75
-rw-r--r--app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild47
-rw-r--r--app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild44
-rw-r--r--app-misc/graphlcd-base/metadata.xml15
-rw-r--r--app-misc/grc/Manifest16
-rw-r--r--app-misc/grc/files/conf.configure27
-rw-r--r--app-misc/grc/files/grc-1.4-ipv6.patch16
-rw-r--r--app-misc/grc/files/grc-1.4-support-more-files.patch53
-rw-r--r--app-misc/grc/files/grc-1.9-bash.patch26
-rw-r--r--app-misc/grc/files/grc-1.9-configure.patch46
-rw-r--r--app-misc/grc/files/grc-1.9-domain-match.patch22
-rw-r--r--app-misc/grc/files/grc-1.9-python3.patch41
-rw-r--r--app-misc/grc/grc-1.11-r1.ebuild47
-rw-r--r--app-misc/grc/grc-1.5.ebuild41
-rw-r--r--app-misc/grc/grc-1.9.ebuild53
-rw-r--r--app-misc/grc/metadata.xml11
-rw-r--r--app-misc/gtk-sunlight/Manifest5
-rw-r--r--app-misc/gtk-sunlight/gtk-sunlight-0.4.2.ebuild26
-rw-r--r--app-misc/gtk-sunlight/metadata.xml8
-rw-r--r--app-misc/gtypist/Manifest14
-rw-r--r--app-misc/gtypist/files/50gtypist-gentoo.el6
-rw-r--r--app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch18
-rw-r--r--app-misc/gtypist/gtypist-2.8.5-r1.ebuild67
-rw-r--r--app-misc/gtypist/gtypist-2.9.1.ebuild67
-rw-r--r--app-misc/gtypist/gtypist-2.9.2.ebuild67
-rw-r--r--app-misc/gtypist/gtypist-2.9.5.ebuild69
-rw-r--r--app-misc/gtypist/metadata.xml12
-rw-r--r--app-misc/hachoir-metadata/Manifest5
-rw-r--r--app-misc/hachoir-metadata/hachoir-metadata-1.3.3-r1.ebuild61
-rw-r--r--app-misc/hachoir-metadata/metadata.xml11
-rw-r--r--app-misc/hachoir-subfile/Manifest5
-rw-r--r--app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild29
-rw-r--r--app-misc/hachoir-subfile/metadata.xml10
-rw-r--r--app-misc/hachoir-urwid/Manifest5
-rw-r--r--app-misc/hachoir-urwid/hachoir-urwid-1.1-r1.ebuild30
-rw-r--r--app-misc/hachoir-urwid/metadata.xml10
-rw-r--r--app-misc/hatools/Manifest5
-rw-r--r--app-misc/hatools/hatools-2.14.ebuild17
-rw-r--r--app-misc/hatools/metadata.xml8
-rw-r--r--app-misc/hddled/Manifest5
-rw-r--r--app-misc/hddled/hddled-0.3.ebuild40
-rw-r--r--app-misc/hddled/metadata.xml8
-rw-r--r--app-misc/hello/Manifest9
-rw-r--r--app-misc/hello/hello-2.10.ebuild19
-rw-r--r--app-misc/hello/hello-2.8.ebuild27
-rw-r--r--app-misc/hello/hello-2.9.ebuild27
-rw-r--r--app-misc/hello/metadata.xml8
-rw-r--r--app-misc/hexcompare/Manifest6
-rw-r--r--app-misc/hexcompare/files/hexcompare-1.0.4-Makefile.patch14
-rw-r--r--app-misc/hexcompare/hexcompare-1.0.4.ebuild28
-rw-r--r--app-misc/hexcompare/metadata.xml11
-rw-r--r--app-misc/hilite/Manifest5
-rw-r--r--app-misc/hilite/hilite-1.5-r1.ebuild33
-rw-r--r--app-misc/hilite/metadata.xml11
-rw-r--r--app-misc/hivex/Manifest7
-rw-r--r--app-misc/hivex/hivex-1.3.11-r1.ebuild116
-rw-r--r--app-misc/hivex/hivex-1.3.14.ebuild102
-rw-r--r--app-misc/hivex/metadata.xml8
-rw-r--r--app-misc/i2bits/Manifest5
-rw-r--r--app-misc/i2bits/i2bits-0.0.2.ebuild26
-rw-r--r--app-misc/i2bits/i2bits-0.1.0.ebuild14
-rw-r--r--app-misc/i2bits/metadata.xml11
-rw-r--r--app-misc/icdiff/Manifest5
-rw-r--r--app-misc/icdiff/files/icdiff-1.7.3-dont-check-changelog.patch16
-rw-r--r--app-misc/icdiff/icdiff-1.7.3.ebuild27
-rw-r--r--app-misc/icdiff/metadata.xml11
-rw-r--r--app-misc/ifp-line/Manifest6
-rw-r--r--app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch30
-rw-r--r--app-misc/ifp-line/ifp-line-0.3.ebuild42
-rw-r--r--app-misc/ifp-line/metadata.xml11
-rw-r--r--app-misc/ignuit/Manifest5
-rw-r--r--app-misc/ignuit/ignuit-2.24.3.ebuild52
-rw-r--r--app-misc/ignuit/metadata.xml5
-rw-r--r--app-misc/iguanaIR/Manifest5
-rw-r--r--app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild48
-rw-r--r--app-misc/iguanaIR/metadata.xml8
-rw-r--r--app-misc/inputlircd/Manifest13
-rw-r--r--app-misc/inputlircd/files/inputlircd-linux-4.4-fix.patch13
-rw-r--r--app-misc/inputlircd/files/inputlircd.conf2
-rw-r--r--app-misc/inputlircd/files/inputlircd.init13
-rw-r--r--app-misc/inputlircd/files/inputlircd.init.217
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild33
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre11.ebuild21
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild33
-rw-r--r--app-misc/inputlircd/inputlircd-0.0.1_pre15-r2.ebuild36
-rw-r--r--app-misc/inputlircd/metadata.xml8
-rw-r--r--app-misc/interceptty/Manifest6
-rw-r--r--app-misc/interceptty/interceptty-0.6-r1.ebuild21
-rw-r--r--app-misc/interceptty/interceptty-0.6.ebuild18
-rw-r--r--app-misc/interceptty/metadata.xml7
-rw-r--r--app-misc/irtrans-irclient/Manifest6
-rw-r--r--app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild66
-rw-r--r--app-misc/irtrans-irclient/metadata.xml19
-rw-r--r--app-misc/irtrans-irserver/Manifest8
-rw-r--r--app-misc/irtrans-irserver/files/irtrans-server.confd12
-rw-r--r--app-misc/irtrans-irserver/files/irtrans-server.initd21
-rw-r--r--app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild83
-rw-r--r--app-misc/irtrans-irserver/metadata.xml21
-rw-r--r--app-misc/jail/Manifest9
-rw-r--r--app-misc/jail/files/jail-1.9-gentoo.patch130
-rw-r--r--app-misc/jail/files/jail-1.9-ldflags.patch11
-rw-r--r--app-misc/jail/files/jail-1.9-multiuser-rsa.patch44
-rw-r--r--app-misc/jail/files/jail-1.9-wrongshell.patch11
-rw-r--r--app-misc/jail/jail-2.0.ebuild69
-rw-r--r--app-misc/jail/metadata.xml23
-rw-r--r--app-misc/jira-cli/Manifest4
-rw-r--r--app-misc/jira-cli/jira-cli-2.1.5.ebuild46
-rw-r--r--app-misc/jira-cli/metadata.xml8
-rw-r--r--app-misc/jitac/Manifest5
-rw-r--r--app-misc/jitac/jitac-0.3.0.ebuild43
-rw-r--r--app-misc/jitac/metadata.xml8
-rw-r--r--app-misc/jot/Manifest5
-rw-r--r--app-misc/jot/jot-9.0-r1.ebuild23
-rw-r--r--app-misc/jot/metadata.xml11
-rw-r--r--app-misc/joy2key/Manifest6
-rw-r--r--app-misc/joy2key/joy2key-1.6.3-r1.ebuild27
-rw-r--r--app-misc/joy2key/joy2key-1.6.3.ebuild26
-rw-r--r--app-misc/joy2key/metadata.xml8
-rw-r--r--app-misc/joymouse/Manifest5
-rw-r--r--app-misc/joymouse/joymouse-0.5.ebuild25
-rw-r--r--app-misc/joymouse/metadata.xml11
-rw-r--r--app-misc/jq/Manifest8
-rw-r--r--app-misc/jq/files/jq-1.5-dynamic-link.patch13
-rw-r--r--app-misc/jq/files/jq-1.5-heap_buffer_overflow_in_tokenadd.patch34
-rw-r--r--app-misc/jq/files/jq-1.5-remove-automagic-dep-on-oniguruma.patch58
-rw-r--r--app-misc/jq/jq-1.5-r3.ebuild60
-rw-r--r--app-misc/jq/metadata.xml14
-rw-r--r--app-misc/kanatest/Manifest8
-rw-r--r--app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch23
-rw-r--r--app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch13
-rw-r--r--app-misc/kanatest/files/kanatest-0.4.8-cflags.patch13
-rw-r--r--app-misc/kanatest/kanatest-0.4.8.ebuild40
-rw-r--r--app-misc/kanatest/metadata.xml8
-rw-r--r--app-misc/khal/Manifest16
-rw-r--r--app-misc/khal/khal-0.8.4.ebuild43
-rw-r--r--app-misc/khal/khal-0.9.0.ebuild43
-rw-r--r--app-misc/khal/khal-0.9.3.ebuild43
-rw-r--r--app-misc/khal/khal-0.9.4.ebuild43
-rw-r--r--app-misc/khal/khal-0.9.5.ebuild43
-rw-r--r--app-misc/khal/khal-0.9.6.ebuild44
-rw-r--r--app-misc/khal/khal-0.9.7.ebuild44
-rw-r--r--app-misc/khal/metadata.xml10
-rw-r--r--app-misc/klavaro/Manifest9
-rw-r--r--app-misc/klavaro/files/klavaro-3.0.1-datadir.patch27
-rw-r--r--app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch11
-rw-r--r--app-misc/klavaro/files/klavaro-3.0.1-static.patch8
-rw-r--r--app-misc/klavaro/files/klavaro-desktop-keywords.patch11
-rw-r--r--app-misc/klavaro/klavaro-3.0.1.ebuild43
-rw-r--r--app-misc/klavaro/metadata.xml8
-rw-r--r--app-misc/ktoblzcheck/Manifest5
-rw-r--r--app-misc/ktoblzcheck/ktoblzcheck-1.48.ebuild40
-rw-r--r--app-misc/ktoblzcheck/metadata.xml10
-rw-r--r--app-misc/lcd4linux/Manifest12
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-autoconf-2.65.patch20
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-missing-header.patch12
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-mpd.patch374
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-nordtsc.patch187
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-usbdebug.patch121
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-warnings.patch64
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2.initd22
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r4.ebuild174
-rw-r--r--app-misc/lcd4linux/metadata.xml14
-rw-r--r--app-misc/lcdproc/Manifest13
-rw-r--r--app-misc/lcdproc/files/0.5.1-LCDd.initd21
-rw-r--r--app-misc/lcdproc/files/0.5.1-lcdproc.initd20
-rw-r--r--app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd21
-rw-r--r--app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild183
-rw-r--r--app-misc/lcdproc/lcdproc-0.5.5.ebuild191
-rw-r--r--app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild195
-rw-r--r--app-misc/lcdproc/metadata.xml29
-rw-r--r--app-misc/leave/Manifest7
-rw-r--r--app-misc/leave/files/README9
-rw-r--r--app-misc/leave/files/leave-fix-makefile.diff20
-rw-r--r--app-misc/leave/leave-20100918.ebuild33
-rw-r--r--app-misc/leave/metadata.xml8
-rw-r--r--app-misc/ledit/Manifest5
-rw-r--r--app-misc/ledit/ledit-2.03.ebuild41
-rw-r--r--app-misc/ledit/metadata.xml8
-rw-r--r--app-misc/lfm/Manifest6
-rw-r--r--app-misc/lfm/files/lfm-2.3-no-doc.patch12
-rw-r--r--app-misc/lfm/lfm-2.3-r1.ebuild21
-rw-r--r--app-misc/lfm/metadata.xml5
-rw-r--r--app-misc/linux-logo/Manifest12
-rw-r--r--app-misc/linux-logo/files/gentoo-alt.logo39
-rw-r--r--app-misc/linux-logo/files/gentoo-linux.logo82
-rw-r--r--app-misc/linux-logo/files/linux-logo-5.11.conf28
-rw-r--r--app-misc/linux-logo/files/linux-logo.init.d36
-rw-r--r--app-misc/linux-logo/files/linux-logo.service9
-rw-r--r--app-misc/linux-logo/files/linux_logo_creator12
-rw-r--r--app-misc/linux-logo/files/logo-config7
-rw-r--r--app-misc/linux-logo/linux-logo-5.11-r3.ebuild76
-rw-r--r--app-misc/linux-logo/metadata.xml17
-rw-r--r--app-misc/linuxspa/Manifest7
-rw-r--r--app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch12
-rw-r--r--app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild38
-rw-r--r--app-misc/linuxspa/linuxspa-0.7.1-r2.ebuild40
-rw-r--r--app-misc/linuxspa/metadata.xml9
-rw-r--r--app-misc/lirc/Manifest36
-rw-r--r--app-misc/lirc/files/irexec-confd9
-rw-r--r--app-misc/lirc/files/irexec-initd-0.8.6-r227
-rw-r--r--app-misc/lirc/files/irexec-initd-0.9.4a-r227
-rw-r--r--app-misc/lirc/files/irexec.service10
-rw-r--r--app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch26
-rw-r--r--app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch18
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-add-zotac-support.patch658
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-atiusb_kfifo.patch14
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-fixed-font.patch20
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-kernel-2.6.39-fixes.patch67
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-kernel-3.3.0-fixes.patch50
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch12
-rw-r--r--app-misc/lirc/files/lirc-0.9.0-kernel-3.8-fixes.patch80
-rw-r--r--app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch27
-rw-r--r--app-misc/lirc/files/lirc.service11
-rw-r--r--app-misc/lirc/files/lircd-0.8.6-r251
-rw-r--r--app-misc/lirc/files/lircd.conf.422
-rw-r--r--app-misc/lirc/files/lircm.service11
-rw-r--r--app-misc/lirc/files/lircmd19
-rw-r--r--app-misc/lirc/files/lircmd-0.10.0.conf4
-rw-r--r--app-misc/lirc/files/lircmd-0.9.4a-r219
-rw-r--r--app-misc/lirc/files/lircmd.conf4
-rw-r--r--app-misc/lirc/files/modprobed.lirc22
-rw-r--r--app-misc/lirc/lirc-0.10.0_rc2.ebuild151
-rw-r--r--app-misc/lirc/lirc-0.9.0-r6.ebuild428
-rw-r--r--app-misc/lirc/lirc-0.9.4a-r2.ebuild136
-rw-r--r--app-misc/lirc/lirc-0.9.4c.ebuild150
-rw-r--r--app-misc/lirc/lirc-0.9.4d.ebuild150
-rw-r--r--app-misc/lirc/metadata.xml27
-rw-r--r--app-misc/livecd-tools/Manifest8
-rw-r--r--app-misc/livecd-tools/livecd-tools-2.2.ebuild41
-rw-r--r--app-misc/livecd-tools/livecd-tools-2.3.ebuild41
-rw-r--r--app-misc/livecd-tools/livecd-tools-9999.ebuild44
-rw-r--r--app-misc/livecd-tools/metadata.xml8
-rw-r--r--app-misc/lockfile-progs/Manifest8
-rw-r--r--app-misc/lockfile-progs/files/Makefile55
-rw-r--r--app-misc/lockfile-progs/lockfile-progs-0.1.16.ebuild24
-rw-r--r--app-misc/lockfile-progs/lockfile-progs-0.1.17.ebuild34
-rw-r--r--app-misc/lockfile-progs/metadata.xml5
-rw-r--r--app-misc/logitech-applet/Manifest7
-rw-r--r--app-misc/logitech-applet/files/40-logitech_applet.rules6
-rw-r--r--app-misc/logitech-applet/files/logitech-applet-0.4_pre1-mx300-mx518.patch139
-rw-r--r--app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild33
-rw-r--r--app-misc/logitech-applet/metadata.xml8
-rw-r--r--app-misc/logserial/Manifest6
-rw-r--r--app-misc/logserial/files/logserial-0.4.2-gentoo.patch30
-rw-r--r--app-misc/logserial/logserial-0.4.2.ebuild31
-rw-r--r--app-misc/logserial/metadata.xml13
-rw-r--r--app-misc/lsx/Manifest5
-rw-r--r--app-misc/lsx/lsx-0.1-r1.ebuild46
-rw-r--r--app-misc/lsx/metadata.xml6
-rw-r--r--app-misc/ltunify/Manifest5
-rw-r--r--app-misc/ltunify/ltunify-0.2-r1.ebuild34
-rw-r--r--app-misc/ltunify/metadata.xml8
-rw-r--r--app-misc/lxsplit/Manifest5
-rw-r--r--app-misc/lxsplit/lxsplit-0.2.4.ebuild23
-rw-r--r--app-misc/lxsplit/metadata.xml11
-rw-r--r--app-misc/matew/Manifest5
-rw-r--r--app-misc/matew/matew-1.9.ebuild34
-rw-r--r--app-misc/matew/metadata.xml11
-rw-r--r--app-misc/mc/Manifest13
-rw-r--r--app-misc/mc/files/mc-4.8.13-tinfo.patch39
-rw-r--r--app-misc/mc/files/mc-4.8.16-makedev.patch28
-rw-r--r--app-misc/mc/files/mc-4.8.18-html.patch29
-rw-r--r--app-misc/mc/mc-4.8.15.ebuild101
-rw-r--r--app-misc/mc/mc-4.8.18-r1.ebuild103
-rw-r--r--app-misc/mc/mc-4.8.19.ebuild107
-rw-r--r--app-misc/mc/mc-9999.ebuild103
-rw-r--r--app-misc/mc/metadata.xml23
-rw-r--r--app-misc/media-player-info/Manifest7
-rw-r--r--app-misc/media-player-info/media-player-info-22.ebuild36
-rw-r--r--app-misc/media-player-info/media-player-info-23.ebuild36
-rw-r--r--app-misc/media-player-info/metadata.xml8
-rw-r--r--app-misc/mediacrush-cli/Manifest6
-rw-r--r--app-misc/mediacrush-cli/mediacrush-cli-1.1.2.ebuild45
-rw-r--r--app-misc/mediacrush-cli/mediacrush-cli-9999.ebuild44
-rw-r--r--app-misc/mediacrush-cli/metadata.xml11
-rw-r--r--app-misc/mencal/Manifest5
-rw-r--r--app-misc/mencal/mencal-3.0.ebuild23
-rw-r--r--app-misc/mencal/metadata.xml5
-rw-r--r--app-misc/mepl/Manifest8
-rw-r--r--app-misc/mepl/files/gcc433.patch16
-rw-r--r--app-misc/mepl/files/mepl-0.45-gcc433.patch16
-rw-r--r--app-misc/mepl/mepl-0.45-r1.ebuild29
-rw-r--r--app-misc/mepl/mepl-0.45.ebuild35
-rw-r--r--app-misc/mepl/metadata.xml5
-rw-r--r--app-misc/metadata.xml36
-rw-r--r--app-misc/metromap/Manifest5
-rw-r--r--app-misc/metromap/metadata.xml8
-rw-r--r--app-misc/metromap/metromap-0.1.4-r1.ebuild51
-rw-r--r--app-misc/mime-types/Manifest5
-rw-r--r--app-misc/mime-types/metadata.xml12
-rw-r--r--app-misc/mime-types/mime-types-9.ebuild21
-rw-r--r--app-misc/misterhouse/Manifest9
-rw-r--r--app-misc/misterhouse/files/misterhouse.conf12
-rw-r--r--app-misc/misterhouse/files/misterhouse.init18
-rw-r--r--app-misc/misterhouse/metadata.xml8
-rw-r--r--app-misc/misterhouse/misterhouse-2.103-r1.ebuild49
-rw-r--r--app-misc/misterhouse/misterhouse-2.105-r1.ebuild51
-rw-r--r--app-misc/mmv/Manifest6
-rw-r--r--app-misc/mmv/metadata.xml8
-rw-r--r--app-misc/mmv/mmv-1.01b_p18.ebuild49
-rw-r--r--app-misc/mosquitto/Manifest9
-rw-r--r--app-misc/mosquitto/files/mosquitto24
-rw-r--r--app-misc/mosquitto/files/mosquitto-1.4.10-conditional-tests.patch43
-rw-r--r--app-misc/mosquitto/files/mosquitto-1.4.8-conditional-tests.patch41
-rw-r--r--app-misc/mosquitto/files/mosquitto-1.4.9-conditional-tests.patch43
-rw-r--r--app-misc/mosquitto/files/mosquitto.service12
-rw-r--r--app-misc/mosquitto/metadata.xml18
-rw-r--r--app-misc/mosquitto/mosquitto-1.4.14.ebuild96
-rw-r--r--app-misc/mouseremote/Manifest10
-rw-r--r--app-misc/mouseremote/files/mouseremote-0.90-fix-warnings.diff23
-rw-r--r--app-misc/mouseremote/files/mouseremote-0.90-gentoo.diff66
-rw-r--r--app-misc/mouseremote/files/mouseremote-0.90-makefile.diff20
-rw-r--r--app-misc/mouseremote/files/mouseremote.conf13
-rw-r--r--app-misc/mouseremote/files/mouseremote.start28
-rw-r--r--app-misc/mouseremote/metadata.xml5
-rw-r--r--app-misc/mouseremote/mouseremote-0.90-r2.ebuild71
-rw-r--r--app-misc/mswinurl_launcher/Manifest4
-rw-r--r--app-misc/mswinurl_launcher/metadata.xml11
-rw-r--r--app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild54
-rw-r--r--app-misc/mtail/Manifest7
-rw-r--r--app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch52
-rw-r--r--app-misc/mtail/metadata.xml15
-rw-r--r--app-misc/mtail/mtail-1.1.1-r3.ebuild30
-rw-r--r--app-misc/muttprint/Manifest9
-rw-r--r--app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch12
-rw-r--r--app-misc/muttprint/files/muttprint-0.73-manuals.patch140
-rw-r--r--app-misc/muttprint/files/muttprint-0.73-pod-encoding.patch36
-rw-r--r--app-misc/muttprint/files/muttprint-0.73-warning.patch20
-rw-r--r--app-misc/muttprint/metadata.xml20
-rw-r--r--app-misc/muttprint/muttprint-0.73-r4.ebuild77
-rw-r--r--app-misc/mvcase/Manifest7
-rw-r--r--app-misc/mvcase/files/mvcase-0.1-flags.patch25
-rw-r--r--app-misc/mvcase/files/mvcase-0.1-includes.patch25
-rw-r--r--app-misc/mvcase/metadata.xml5
-rw-r--r--app-misc/mvcase/mvcase-0.1-r1.ebuild34
-rw-r--r--app-misc/neofetch/Manifest11
-rw-r--r--app-misc/neofetch/metadata.xml23
-rw-r--r--app-misc/neofetch/neofetch-3.0.1.ebuild32
-rw-r--r--app-misc/neofetch/neofetch-3.1.0.ebuild22
-rw-r--r--app-misc/neofetch/neofetch-3.2.0.ebuild22
-rw-r--r--app-misc/neofetch/neofetch-3.3.0.ebuild22
-rw-r--r--app-misc/neofetch/neofetch-9999.ebuild21
-rw-r--r--app-misc/no-more-secrets/Manifest3
-rw-r--r--app-misc/no-more-secrets/metadata.xml11
-rw-r--r--app-misc/no-more-secrets/no-more-secrets-9999.ebuild40
-rw-r--r--app-misc/note/Manifest5
-rw-r--r--app-misc/note/metadata.xml9
-rw-r--r--app-misc/note/note-1.3.3-r1.ebuild55
-rw-r--r--app-misc/nullmodem/Manifest5
-rw-r--r--app-misc/nullmodem/metadata.xml21
-rw-r--r--app-misc/nullmodem/nullmodem-0.0.6.ebuild18
-rw-r--r--app-misc/nut/Manifest5
-rw-r--r--app-misc/nut/metadata.xml8
-rw-r--r--app-misc/nut/nut-20.1.ebuild28
-rw-r--r--app-misc/ondir/Manifest5
-rw-r--r--app-misc/ondir/metadata.xml8
-rw-r--r--app-misc/ondir/ondir-0.2.2-r1.ebuild39
-rw-r--r--app-misc/oneko/Manifest9
-rw-r--r--app-misc/oneko/files/oneko-1.2-include.patch10
-rw-r--r--app-misc/oneko/metadata.xml8
-rw-r--r--app-misc/oneko/oneko-1.2-r2.ebuild72
-rw-r--r--app-misc/openastro-data/Manifest6
-rw-r--r--app-misc/openastro-data/metadata.xml19
-rw-r--r--app-misc/openastro-data/openastro-data-1.6.ebuild23
-rw-r--r--app-misc/openastro-data/openastro-data-1.7.ebuild23
-rw-r--r--app-misc/openastro/Manifest8
-rw-r--r--app-misc/openastro/metadata.xml23
-rw-r--r--app-misc/openastro/openastro-1.1.48.ebuild33
-rw-r--r--app-misc/openastro/openastro-1.1.49.ebuild33
-rw-r--r--app-misc/openastro/openastro-1.1.50.ebuild33
-rw-r--r--app-misc/pal/Manifest11
-rw-r--r--app-misc/pal/files/0.4.3-ldflags.patch8
-rw-r--r--app-misc/pal/files/0.4.3-strip.patch17
-rw-r--r--app-misc/pal/files/fix-Wformat-security-errors.patch64
-rw-r--r--app-misc/pal/files/pal-0.4.3-pkg_config.patch14
-rw-r--r--app-misc/pal/files/pal-0.4.3-prefix.patch44
-rw-r--r--app-misc/pal/metadata.xml13
-rw-r--r--app-misc/pal/pal-0.4.3-r1.ebuild54
-rw-r--r--app-misc/pal/pal-0.4.3-r2.ebuild61
-rw-r--r--app-misc/pax-utils/Manifest16
-rw-r--r--app-misc/pax-utils/files/0001-lddtree.py-work-around-pyelftools-API-change.patch29
-rw-r--r--app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch65
-rw-r--r--app-misc/pax-utils/files/pax-utils-1.2.2-scanelf-fix-out-of-bounds-access-in-ia64.patch72
-rw-r--r--app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch181
-rw-r--r--app-misc/pax-utils/metadata.xml12
-rw-r--r--app-misc/pax-utils/pax-utils-1.1.6-r1.ebuild61
-rw-r--r--app-misc/pax-utils/pax-utils-1.1.6.ebuild57
-rw-r--r--app-misc/pax-utils/pax-utils-1.1.7.ebuild56
-rw-r--r--app-misc/pax-utils/pax-utils-1.2.2-r1.ebuild58
-rw-r--r--app-misc/pax-utils/pax-utils-1.2.2-r2.ebuild62
-rw-r--r--app-misc/pax-utils/pax-utils-1.2.2.ebuild56
-rw-r--r--app-misc/pdfpc/Manifest9
-rw-r--r--app-misc/pdfpc/metadata.xml8
-rw-r--r--app-misc/pdfpc/pdfpc-3.1.1.ebuild29
-rw-r--r--app-misc/pdfpc/pdfpc-4.0.7.ebuild43
-rw-r--r--app-misc/pdfpc/pdfpc-4.0.8.ebuild43
-rw-r--r--app-misc/perltrash/Manifest5
-rw-r--r--app-misc/perltrash/metadata.xml5
-rw-r--r--app-misc/perltrash/perltrash-0.3-r1.ebuild21
-rw-r--r--app-misc/pet/Manifest18
-rw-r--r--app-misc/pet/metadata.xml22
-rw-r--r--app-misc/pet/pet-0.2.3-r1.ebuild58
-rw-r--r--app-misc/pet/pet-0.2.3.ebuild62
-rw-r--r--app-misc/pfm/Manifest5
-rw-r--r--app-misc/pfm/metadata.xml11
-rw-r--r--app-misc/pfm/pfm-2.12.3.ebuild26
-rw-r--r--app-misc/physlock/Manifest7
-rw-r--r--app-misc/physlock/metadata.xml18
-rw-r--r--app-misc/physlock/physlock-0.5.ebuild22
-rw-r--r--app-misc/physlock/physlock-11-r1.ebuild27
-rw-r--r--app-misc/pip/Manifest5
-rw-r--r--app-misc/pip/metadata.xml8
-rw-r--r--app-misc/pip/pip-1.2-r2.ebuild24
-rw-r--r--app-misc/pipeworks/Manifest6
-rw-r--r--app-misc/pipeworks/metadata.xml13
-rw-r--r--app-misc/pipeworks/pipeworks-0.4-r1.ebuild28
-rw-r--r--app-misc/pipeworks/pipeworks-0.4.ebuild25
-rw-r--r--app-misc/plod/Manifest7
-rw-r--r--app-misc/plod/files/plodrc2
-rw-r--r--app-misc/plod/metadata.xml5
-rw-r--r--app-misc/plod/plod-1.9-r1.ebuild34
-rw-r--r--app-misc/plod/plod-1.9-r2.ebuild42
-rw-r--r--app-misc/ps3pf_utils/Manifest9
-rw-r--r--app-misc/ps3pf_utils/metadata.xml8
-rw-r--r--app-misc/ps3pf_utils/ps3pf_utils-2.1.1.ebuild20
-rw-r--r--app-misc/ps3pf_utils/ps3pf_utils-2.2.0.ebuild21
-rw-r--r--app-misc/ps3pf_utils/ps3pf_utils-2.3.ebuild21
-rw-r--r--app-misc/pwsafe/Manifest11
-rw-r--r--app-misc/pwsafe/files/pwsafe-0.2.0-XChangeProperty.patch22
-rw-r--r--app-misc/pwsafe/files/pwsafe-0.2.0-cvs-1.57.patch48
-rw-r--r--app-misc/pwsafe/files/pwsafe-0.2.0-fake-readline.patch107
-rw-r--r--app-misc/pwsafe/files/pwsafe-0.2.0-man-page-option-syntax.patch30
-rw-r--r--app-misc/pwsafe/files/pwsafe-0.2.0-printf.patch43
-rw-r--r--app-misc/pwsafe/metadata.xml27
-rw-r--r--app-misc/pwsafe/pwsafe-0.2.0-r2.ebuild41
-rw-r--r--app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild43
-rw-r--r--app-misc/pysmssend/Manifest6
-rw-r--r--app-misc/pysmssend/metadata.xml8
-rw-r--r--app-misc/pysmssend/pysmssend-1.48-r1.ebuild48
-rw-r--r--app-misc/pysmssend/pysmssend-9999.ebuild59
-rw-r--r--app-misc/pystopwatch/Manifest5
-rw-r--r--app-misc/pystopwatch/metadata.xml8
-rw-r--r--app-misc/pystopwatch/pystopwatch-2012.12.24.1-r1.ebuild35
-rw-r--r--app-misc/qlcplus/Manifest5
-rw-r--r--app-misc/qlcplus/metadata.xml11
-rw-r--r--app-misc/qlcplus/qlcplus-4.10.5b-r1.ebuild55
-rw-r--r--app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild59
-rw-r--r--app-misc/ranger/Manifest8
-rw-r--r--app-misc/ranger/metadata.xml18
-rw-r--r--app-misc/ranger/ranger-1.8.1.ebuild37
-rw-r--r--app-misc/ranger/ranger-1.9.0_beta5.ebuild48
-rw-r--r--app-misc/ranger/ranger-9999.ebuild43
-rw-r--r--app-misc/razertool/Manifest5
-rw-r--r--app-misc/razertool/metadata.xml16
-rw-r--r--app-misc/razertool/razertool-0.0.7-r4.ebuild67
-rw-r--r--app-misc/realpath/Manifest13
-rw-r--r--app-misc/realpath/files/realpath-1.14-no-po4a.patch12
-rw-r--r--app-misc/realpath/files/realpath-1.15-prefix.patch39
-rw-r--r--app-misc/realpath/files/realpath-1.16-nonls.patch29
-rw-r--r--app-misc/realpath/files/realpath-1.17-build.patch43
-rw-r--r--app-misc/realpath/metadata.xml12
-rw-r--r--app-misc/realpath/realpath-1.17.ebuild68
-rw-r--r--app-misc/realpath/realpath-1.18.ebuild74
-rw-r--r--app-misc/recoll/Manifest9
-rw-r--r--app-misc/recoll/metadata.xml30
-rw-r--r--app-misc/recoll/recoll-1.22.4.ebuild129
-rw-r--r--app-misc/recoll/recoll-1.23.2.ebuild133
-rw-r--r--app-misc/recoll/recoll-1.23.3.ebuild123
-rw-r--r--app-misc/regex-markup/Manifest6
-rw-r--r--app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch29
-rw-r--r--app-misc/regex-markup/metadata.xml5
-rw-r--r--app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild36
-rw-r--r--app-misc/regionset/Manifest7
-rw-r--r--app-misc/regionset/metadata.xml5
-rw-r--r--app-misc/regionset/regionset-0.1-r1.ebuild35
-rw-r--r--app-misc/regionset/regionset-0.2.ebuild40
-rw-r--r--app-misc/remind/Manifest5
-rw-r--r--app-misc/remind/metadata.xml8
-rw-r--r--app-misc/remind/remind-03.01.15.ebuild43
-rw-r--r--app-misc/reptyr/Manifest6
-rw-r--r--app-misc/reptyr/metadata.xml15
-rw-r--r--app-misc/reptyr/reptyr-0.6.2.ebuild39
-rw-r--r--app-misc/resolve-march-native/Manifest6
-rw-r--r--app-misc/resolve-march-native/metadata.xml11
-rw-r--r--app-misc/resolve-march-native/resolve-march-native-0.9.2.ebuild19
-rw-r--r--app-misc/resolve-march-native/resolve-march-native-0.9.ebuild18
-rw-r--r--app-misc/rioutil/Manifest7
-rw-r--r--app-misc/rioutil/files/75-rio.rules38
-rw-r--r--app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch15
-rw-r--r--app-misc/rioutil/metadata.xml8
-rw-r--r--app-misc/rioutil/rioutil-1.5.0-r2.ebuild34
-rw-r--r--app-misc/rl/Manifest5
-rw-r--r--app-misc/rl/metadata.xml13
-rw-r--r--app-misc/rl/rl-0.2.7-r1.ebuild31
-rw-r--r--app-misc/rlwrap/Manifest8
-rw-r--r--app-misc/rlwrap/metadata.xml18
-rw-r--r--app-misc/rlwrap/rlwrap-0.42-r1.ebuild21
-rw-r--r--app-misc/rlwrap/rlwrap-0.42.ebuild26
-rw-r--r--app-misc/rlwrap/rlwrap-0.43.ebuild21
-rw-r--r--app-misc/rox-filer/Manifest7
-rw-r--r--app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch15
-rw-r--r--app-misc/rox-filer/files/rox.desktop9
-rw-r--r--app-misc/rox-filer/metadata.xml37
-rw-r--r--app-misc/rox-filer/rox-filer-2.11.ebuild70
-rw-r--r--app-misc/rq/Manifest111
-rw-r--r--app-misc/rq/metadata.xml11
-rw-r--r--app-misc/rq/rq-0.10.4.ebuild148
-rw-r--r--app-misc/rundeck-bin/Manifest7
-rw-r--r--app-misc/rundeck-bin/files/rundeck-bin-2.6.8-profile.patch55
-rw-r--r--app-misc/rundeck-bin/files/rundeckd.initd16
-rw-r--r--app-misc/rundeck-bin/metadata.xml15
-rw-r--r--app-misc/rundeck-bin/rundeck-bin-2.6.8.ebuild49
-rw-r--r--app-misc/rundeck-cli-bin/Manifest6
-rw-r--r--app-misc/rundeck-cli-bin/metadata.xml19
-rw-r--r--app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.11.ebuild26
-rw-r--r--app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.8.ebuild26
-rw-r--r--app-misc/scope/Manifest5
-rw-r--r--app-misc/scope/metadata.xml13
-rw-r--r--app-misc/scope/scope-0.04-r1.ebuild22
-rw-r--r--app-misc/screen/Manifest15
-rw-r--r--app-misc/screen/files/screen-4.3.0-no-utempter.patch14
-rw-r--r--app-misc/screen/files/screen-4.5.1-texinfo.patch13
-rw-r--r--app-misc/screen/files/screenrc356
-rw-r--r--app-misc/screen/metadata.xml36
-rw-r--r--app-misc/screen/screen-4.4.0.ebuild153
-rw-r--r--app-misc/screen/screen-4.5.1.ebuild160
-rw-r--r--app-misc/screen/screen-4.6.0.ebuild158
-rw-r--r--app-misc/screen/screen-4.6.1.ebuild158
-rw-r--r--app-misc/screen/screen-9999.ebuild148
-rw-r--r--app-misc/screenfetch/Manifest14
-rw-r--r--app-misc/screenfetch/metadata.xml14
-rw-r--r--app-misc/screenfetch/screenfetch-2.7.7.ebuild27
-rw-r--r--app-misc/screenfetch/screenfetch-3.2.2.ebuild30
-rw-r--r--app-misc/screenfetch/screenfetch-3.6.5.ebuild30
-rw-r--r--app-misc/screenfetch/screenfetch-3.7.0.ebuild30
-rw-r--r--app-misc/screenfetch/screenfetch-3.8.0.ebuild35
-rw-r--r--app-misc/screenfetch/screenfetch-9999.ebuild35
-rw-r--r--app-misc/screenie/Manifest6
-rw-r--r--app-misc/screenie/files/screenie-CVE-2008-5371.patch26
-rw-r--r--app-misc/screenie/metadata.xml23
-rw-r--r--app-misc/screenie/screenie-1.30.0-r1.ebuild26
-rw-r--r--app-misc/scrub/Manifest7
-rw-r--r--app-misc/scrub/metadata.xml13
-rw-r--r--app-misc/scrub/scrub-2.5.2.ebuild16
-rw-r--r--app-misc/scrub/scrub-2.6.1.ebuild16
-rw-r--r--app-misc/sl/Manifest5
-rw-r--r--app-misc/sl/metadata.xml17
-rw-r--r--app-misc/sl/sl-5.02.ebuild39
-rw-r--r--app-misc/sleepyhead/Manifest15
-rw-r--r--app-misc/sleepyhead/files/common_gui.patch12
-rw-r--r--app-misc/sleepyhead/files/gitfix.patch15
-rw-r--r--app-misc/sleepyhead/files/prs1-64fix.patch13
-rw-r--r--app-misc/sleepyhead/files/prs1-code8fix.patch12
-rw-r--r--app-misc/sleepyhead/metadata.xml11
-rw-r--r--app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild52
-rw-r--r--app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild49
-rw-r--r--app-misc/sleepyhead/sleepyhead-0.9.3.ebuild50
-rw-r--r--app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild53
-rw-r--r--app-misc/sleepyhead/sleepyhead-9999.ebuild47
-rw-r--r--app-misc/slmon/Manifest7
-rw-r--r--app-misc/slmon/files/slmon-0.5.13-invalid-free.patch18
-rw-r--r--app-misc/slmon/files/slmon-0.5.13-make-382.patch11
-rw-r--r--app-misc/slmon/metadata.xml8
-rw-r--r--app-misc/slmon/slmon-0.5.13.ebuild41
-rw-r--r--app-misc/smtm/Manifest5
-rw-r--r--app-misc/smtm/metadata.xml5
-rw-r--r--app-misc/smtm/smtm-1.6.10-r1.ebuild32
-rw-r--r--app-misc/socnetv/Manifest6
-rw-r--r--app-misc/socnetv/files/socnetv-2.2-deps.patch10
-rw-r--r--app-misc/socnetv/metadata.xml19
-rw-r--r--app-misc/socnetv/socnetv-2.2.ebuild45
-rw-r--r--app-misc/solaar/Manifest5
-rw-r--r--app-misc/solaar/metadata.xml8
-rw-r--r--app-misc/solaar/solaar-0.9.2-r3.ebuild58
-rw-r--r--app-misc/sonypid/Manifest5
-rw-r--r--app-misc/sonypid/metadata.xml5
-rw-r--r--app-misc/sonypid/sonypid-1.9.ebuild28
-rw-r--r--app-misc/spacenavd/Manifest16
-rw-r--r--app-misc/spacenavd/files/99-space-navigator.rules5
-rw-r--r--app-misc/spacenavd/files/99-space-navigator.rules-r16
-rw-r--r--app-misc/spacenavd/files/99-space-navigator.rules-r26
-rw-r--r--app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch67
-rw-r--r--app-misc/spacenavd/files/spacenavd-0.5-destdir.patch16
-rw-r--r--app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch13
-rw-r--r--app-misc/spacenavd/files/spacenavd.service8
-rw-r--r--app-misc/spacenavd/files/spnavd27
-rw-r--r--app-misc/spacenavd/metadata.xml28
-rw-r--r--app-misc/spacenavd/spacenavd-0.5-r5.ebuild81
-rw-r--r--app-misc/spacenavd/spacenavd-0.5-r6.ebuild80
-rw-r--r--app-misc/spacenavd/spacenavd-0.6.ebuild78
-rw-r--r--app-misc/specto/Manifest6
-rw-r--r--app-misc/specto/files/specto-0.4.1-icon-theme.patch30
-rw-r--r--app-misc/specto/metadata.xml12
-rw-r--r--app-misc/specto/specto-0.4.1-r1.ebuild39
-rw-r--r--app-misc/sphinx/Manifest14
-rw-r--r--app-misc/sphinx/files/searchd.rc31
-rw-r--r--app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch22
-rw-r--r--app-misc/sphinx/metadata.xml12
-rw-r--r--app-misc/sphinx/sphinx-0.9.9.ebuild70
-rw-r--r--app-misc/sphinx/sphinx-2.0.10.ebuild100
-rw-r--r--app-misc/sphinx/sphinx-2.1.9.ebuild89
-rw-r--r--app-misc/sphinx/sphinx-2.2.11.ebuild91
-rw-r--r--app-misc/splitvt/Manifest7
-rw-r--r--app-misc/splitvt/files/1.6.6-ldflags.patch23
-rw-r--r--app-misc/splitvt/metadata.xml8
-rw-r--r--app-misc/splitvt/splitvt-1.6.6-r2.ebuild46
-rw-r--r--app-misc/srm/Manifest9
-rw-r--r--app-misc/srm/files/srm-1.2.11-cflags.patch23
-rw-r--r--app-misc/srm/files/srm-1.2.15-cflags.patch10
-rw-r--r--app-misc/srm/metadata.xml11
-rw-r--r--app-misc/srm/srm-1.2.11-r2.ebuild36
-rw-r--r--app-misc/srm/srm-1.2.15.ebuild36
-rw-r--r--app-misc/supercat/Manifest5
-rw-r--r--app-misc/supercat/metadata.xml8
-rw-r--r--app-misc/supercat/supercat-0.5.5-r1.ebuild23
-rw-r--r--app-misc/symlinks/Manifest7
-rw-r--r--app-misc/symlinks/metadata.xml15
-rw-r--r--app-misc/symlinks/symlinks-1.4-r2.ebuild34
-rw-r--r--app-misc/symlinks/symlinks-1.4-r3.ebuild36
-rw-r--r--app-misc/symlinks/symlinks-1.4.ebuild27
-rw-r--r--app-misc/tails-installer/Manifest8
-rw-r--r--app-misc/tails-installer/files/fix-desktop-file.patch28
-rw-r--r--app-misc/tails-installer/files/sgdisk.patch29
-rw-r--r--app-misc/tails-installer/metadata.xml11
-rw-r--r--app-misc/tails-installer/tails-installer-4.4.11.ebuild48
-rw-r--r--app-misc/tails-installer/tails-installer-4.4.8.ebuild48
-rw-r--r--app-misc/task/Manifest6
-rw-r--r--app-misc/task/files/0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch23
-rw-r--r--app-misc/task/metadata.xml11
-rw-r--r--app-misc/task/task-2.5.1-r1.ebuild58
-rw-r--r--app-misc/taskd/Manifest8
-rw-r--r--app-misc/taskd/files/config17
-rw-r--r--app-misc/taskd/files/taskd.confd1
-rw-r--r--app-misc/taskd/files/taskd.initd15
-rw-r--r--app-misc/taskd/files/taskd.logrotate8
-rw-r--r--app-misc/taskd/metadata.xml8
-rw-r--r--app-misc/taskd/taskd-1.1.0-r1.ebuild84
-rw-r--r--app-misc/tasque/Manifest5
-rw-r--r--app-misc/tasque/metadata.xml16
-rw-r--r--app-misc/tasque/tasque-0.1.12.ebuild52
-rw-r--r--app-misc/tdfsb/Manifest9
-rw-r--r--app-misc/tdfsb/files/tdfsb-0.0.10-asneeded.patch23
-rw-r--r--app-misc/tdfsb/files/tdfsb-0.0.10-debugging.patch28
-rw-r--r--app-misc/tdfsb/files/tdfsb-0.0.10-format-security.patch26
-rw-r--r--app-misc/tdfsb/metadata.xml4
-rw-r--r--app-misc/tdfsb/tdfsb-0.0.10-r1.ebuild43
-rw-r--r--app-misc/tdfsb/tdfsb-0.0.10.ebuild42
-rw-r--r--app-misc/tdl/Manifest10
-rw-r--r--app-misc/tdl/files/1.5.2-ldflags.patch13
-rw-r--r--app-misc/tdl/files/tdl-1.5.2-list.c.patch34
-rw-r--r--app-misc/tdl/files/tdl-1.5.2-main.c.patch178
-rw-r--r--app-misc/tdl/files/tdl-1.5.2-man.patch507
-rw-r--r--app-misc/tdl/metadata.xml13
-rw-r--r--app-misc/tdl/tdl-1.5.2-r2.ebuild75
-rw-r--r--app-misc/tek/Manifest4
-rw-r--r--app-misc/tek/metadata.xml11
-rw-r--r--app-misc/tek/tek-1.3.0.ebuild44
-rw-r--r--app-misc/terminal-colors/Manifest5
-rw-r--r--app-misc/terminal-colors/metadata.xml8
-rw-r--r--app-misc/terminal-colors/terminal-colors-2.2.ebuild25
-rw-r--r--app-misc/timestamp/Manifest6
-rw-r--r--app-misc/timestamp/metadata.xml8
-rw-r--r--app-misc/timestamp/timestamp-1.1-r1.ebuild22
-rw-r--r--app-misc/timestamp/timestamp-1.1.ebuild19
-rw-r--r--app-misc/timew/Manifest3
-rw-r--r--app-misc/timew/metadata.xml8
-rw-r--r--app-misc/timew/timew-1.0.0.ebuild25
-rw-r--r--app-misc/tkpasman/Manifest6
-rw-r--r--app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch22
-rw-r--r--app-misc/tkpasman/metadata.xml5
-rw-r--r--app-misc/tkpasman/tkpasman-2.2b.ebuild39
-rw-r--r--app-misc/tmate/Manifest7
-rw-r--r--app-misc/tmate/metadata.xml11
-rw-r--r--app-misc/tmate/tmate-2.2.0-r1.ebuild52
-rw-r--r--app-misc/tmate/tmate-2.2.1.ebuild52
-rw-r--r--app-misc/tmux-mem-cpu-load/Manifest6
-rw-r--r--app-misc/tmux-mem-cpu-load/metadata.xml7
-rw-r--r--app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-2.2.1-r1.ebuild28
-rw-r--r--app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild25
-rw-r--r--app-misc/tmux/Manifest20
-rw-r--r--app-misc/tmux/files/tmux-2.0-flags.patch18
-rw-r--r--app-misc/tmux/files/tmux-2.3-flags.patch15
-rw-r--r--app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch63
-rw-r--r--app-misc/tmux/files/tmux-2.4-flags.patch15
-rw-r--r--app-misc/tmux/files/tmux.vim1
-rw-r--r--app-misc/tmux/metadata.xml20
-rw-r--r--app-misc/tmux/tmux-2.2.ebuild85
-rw-r--r--app-misc/tmux/tmux-2.3-r1.ebuild90
-rw-r--r--app-misc/tmux/tmux-2.5-r2.ebuild83
-rw-r--r--app-misc/tmux/tmux-2.5.ebuild93
-rw-r--r--app-misc/tmux/tmux-2.6.ebuild89
-rw-r--r--app-misc/tmux/tmux-9999.ebuild94
-rw-r--r--app-misc/todo/Manifest5
-rw-r--r--app-misc/todo/files/todo-2.10-fix-bash-completion.patch12
-rw-r--r--app-misc/todo/metadata.xml11
-rw-r--r--app-misc/todo/todo-2.10-r1.ebuild35
-rw-r--r--app-misc/todo/todo-2.10.ebuild33
-rw-r--r--app-misc/toilet/Manifest5
-rw-r--r--app-misc/toilet/metadata.xml8
-rw-r--r--app-misc/toilet/toilet-0.3.ebuild28
-rw-r--r--app-misc/towitoko/Manifest5
-rw-r--r--app-misc/towitoko/metadata.xml9
-rw-r--r--app-misc/towitoko/towitoko-2.0.7-r2.ebuild37
-rw-r--r--app-misc/tpconfig/Manifest8
-rw-r--r--app-misc/tpconfig/files/tpconfig22
-rw-r--r--app-misc/tpconfig/files/tpconfig.conf4
-rw-r--r--app-misc/tpconfig/metadata.xml5
-rw-r--r--app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild25
-rw-r--r--app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild25
-rw-r--r--app-misc/tpipe/Manifest5
-rw-r--r--app-misc/tpipe/metadata.xml11
-rw-r--r--app-misc/tpipe/tpipe-1.6-r1.ebuild29
-rw-r--r--app-misc/tprint/Manifest5
-rw-r--r--app-misc/tprint/metadata.xml9
-rw-r--r--app-misc/tprint/tprint-1.1.0-r1.ebuild34
-rw-r--r--app-misc/tracker/Manifest9
-rw-r--r--app-misc/tracker/metadata.xml30
-rw-r--r--app-misc/tracker/tracker-1.10.5.ebuild248
-rw-r--r--app-misc/tracker/tracker-1.12.2.ebuild249
-rw-r--r--app-misc/tracker/tracker-1.12.3.ebuild249
-rw-r--r--app-misc/trash-cli/Manifest9
-rw-r--r--app-misc/trash-cli/metadata.xml28
-rw-r--r--app-misc/trash-cli/trash-cli-0.12.9.14-r2.ebuild20
-rw-r--r--app-misc/trash-cli/trash-cli-0.16.12.29.ebuild19
-rw-r--r--app-misc/trash-cli/trash-cli-0.17.1.14.ebuild18
-rw-r--r--app-misc/ttyload/Manifest3
-rw-r--r--app-misc/ttyload/metadata.xml12
-rw-r--r--app-misc/ttyload/ttyload-0.5.3.ebuild36
-rw-r--r--app-misc/ttyrec/Manifest8
-rw-r--r--app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch19
-rw-r--r--app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch19
-rw-r--r--app-misc/ttyrec/metadata.xml12
-rw-r--r--app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild29
-rw-r--r--app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild27
-rw-r--r--app-misc/ttysnoop/Manifest7
-rw-r--r--app-misc/ttysnoop/files/pinkbyte_masking.patch41
-rw-r--r--app-misc/ttysnoop/files/ttysnoop-makefile.patch36
-rw-r--r--app-misc/ttysnoop/metadata.xml8
-rw-r--r--app-misc/ttysnoop/ttysnoop-0.12d.ebuild44
-rw-r--r--app-misc/unfoo/Manifest5
-rw-r--r--app-misc/unfoo/metadata.xml14
-rw-r--r--app-misc/unfoo/unfoo-1.0.8.ebuild50
-rw-r--r--app-misc/uptimed/Manifest7
-rw-r--r--app-misc/uptimed/files/uptimed.init-r118
-rw-r--r--app-misc/uptimed/files/uptimed.service10
-rw-r--r--app-misc/uptimed/metadata.xml11
-rw-r--r--app-misc/uptimed/uptimed-0.4.0-r1.ebuild53
-rw-r--r--app-misc/utimer/Manifest6
-rw-r--r--app-misc/utimer/metadata.xml18
-rw-r--r--app-misc/utimer/utimer-0.4-r1.ebuild31
-rw-r--r--app-misc/utimer/utimer-0.4.ebuild32
-rw-r--r--app-misc/vcp/Manifest6
-rw-r--r--app-misc/vcp/metadata.xml8
-rw-r--r--app-misc/vcp/vcp-2.2-r1.ebuild35
-rw-r--r--app-misc/vcp/vcp-2.2-r2.ebuild37
-rw-r--r--app-misc/vifm/Manifest9
-rw-r--r--app-misc/vifm/metadata.xml33
-rw-r--r--app-misc/vifm/vifm-0.7.2.ebuild64
-rw-r--r--app-misc/vifm/vifm-0.8.2.ebuild95
-rw-r--r--app-misc/vifm/vifm-0.9.ebuild96
-rw-r--r--app-misc/vit/Manifest7
-rw-r--r--app-misc/vit/files/vit-allow-nonsudo-install.patch36
-rw-r--r--app-misc/vit/files/vit-fix-man-installs.patch19
-rw-r--r--app-misc/vit/metadata.xml13
-rw-r--r--app-misc/vit/vit-1.2-r1.ebuild36
-rw-r--r--app-misc/vit/vit-9999.ebuild40
-rw-r--r--app-misc/vittk/Manifest8
-rw-r--r--app-misc/vittk/files/vittk-1.1.1-dirs.patch66
-rw-r--r--app-misc/vittk/files/vittk-1.3-configure.patch32
-rw-r--r--app-misc/vittk/files/vittk-1.3-makefile.patch87
-rw-r--r--app-misc/vittk/metadata.xml10
-rw-r--r--app-misc/vittk/vittk-1.3.ebuild32
-rw-r--r--app-misc/vlock/Manifest9
-rw-r--r--app-misc/vlock/files/vlock-2.2.2-asneeded.patch11
-rw-r--r--app-misc/vlock/files/vlock-2.2.2-test_process.patch28
-rw-r--r--app-misc/vlock/metadata.xml8
-rw-r--r--app-misc/vlock/vlock-2.2.3-r1.ebuild53
-rw-r--r--app-misc/vlock/vlock-2.2.3.ebuild52
-rw-r--r--app-misc/vzstats/Manifest9
-rw-r--r--app-misc/vzstats/metadata.xml23
-rw-r--r--app-misc/vzstats/vzstats-0.3.2.ebuild30
-rw-r--r--app-misc/vzstats/vzstats-0.4.ebuild30
-rw-r--r--app-misc/vzstats/vzstats-0.5.1.ebuild30
-rw-r--r--app-misc/wcd/Manifest14
-rw-r--r--app-misc/wcd/files/wcd-5.2.5-gentoo.patch72
-rw-r--r--app-misc/wcd/files/wcd-5.3.4-gentoo.patch67
-rw-r--r--app-misc/wcd/files/wcd-6.0.1-gentoo.patch67
-rw-r--r--app-misc/wcd/metadata.xml8
-rw-r--r--app-misc/wcd/wcd-5.2.7.ebuild44
-rw-r--r--app-misc/wcd/wcd-5.3.4.ebuild50
-rw-r--r--app-misc/wcd/wcd-6.0.0.ebuild50
-rw-r--r--app-misc/wcd/wcd-6.0.1.ebuild44
-rw-r--r--app-misc/webcomics-collector/Manifest5
-rw-r--r--app-misc/webcomics-collector/metadata.xml5
-rw-r--r--app-misc/webcomics-collector/webcomics-collector-0.7.3-r1.ebuild37
-rw-r--r--app-misc/when/Manifest5
-rw-r--r--app-misc/when/metadata.xml8
-rw-r--r--app-misc/when/when-1.1.36.ebuild41
-rw-r--r--app-misc/wipe/Manifest6
-rw-r--r--app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch19
-rw-r--r--app-misc/wipe/metadata.xml11
-rw-r--r--app-misc/wipe/wipe-2.3.1.ebuild39
-rw-r--r--app-misc/worker/Manifest7
-rw-r--r--app-misc/worker/metadata.xml15
-rw-r--r--app-misc/worker/worker-2.19.6.ebuild54
-rw-r--r--app-misc/worker/worker-3.8.3.ebuild54
-rw-r--r--app-misc/workrave/Manifest6
-rw-r--r--app-misc/workrave/files/workrave-1.10.6-automagic-gstreamer.patch23
-rw-r--r--app-misc/workrave/metadata.xml22
-rw-r--r--app-misc/workrave/workrave-1.10.16.ebuild106
-rw-r--r--app-misc/wyrd/Manifest5
-rw-r--r--app-misc/wyrd/metadata.xml15
-rw-r--r--app-misc/wyrd/wyrd-1.4.6-r1.ebuild34
-rw-r--r--app-misc/xmind/Manifest14
-rw-r--r--app-misc/xmind/files/xmind-3.4.0-config.ini20
-rw-r--r--app-misc/xmind/files/xmind-wrapper8
-rw-r--r--app-misc/xmind/files/xmind-wrapper-3.5.38
-rw-r--r--app-misc/xmind/files/xmind-wrapper-3.7.08
-rw-r--r--app-misc/xmind/metadata.xml8
-rw-r--r--app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild88
-rw-r--r--app-misc/xmind/xmind-3.7.1.ebuild92
-rw-r--r--app-misc/xmind/xmind-3.7.2.ebuild92
-rw-r--r--app-misc/yagtd/Manifest5
-rw-r--r--app-misc/yagtd/metadata.xml13
-rw-r--r--app-misc/yagtd/yagtd-0.3.4-r1.ebuild34
-rw-r--r--app-misc/yq/Manifest5
-rw-r--r--app-misc/yq/metadata.xml11
-rw-r--r--app-misc/yq/yq-2.1.2.ebuild24
-rw-r--r--app-misc/yq/yq-2.3.0.ebuild24
-rw-r--r--app-misc/ytree/Manifest6
-rw-r--r--app-misc/ytree/files/ytree-1.94-bindir.patch11
-rw-r--r--app-misc/ytree/metadata.xml7
-rw-r--r--app-misc/ytree/ytree-1.99_p1.ebuild38
-rw-r--r--app-misc/yworklog/Manifest5
-rw-r--r--app-misc/yworklog/metadata.xml9
-rw-r--r--app-misc/yworklog/yworklog-0.0.7.ebuild25
-rw-r--r--app-misc/zisofs-tools/Manifest5
-rw-r--r--app-misc/zisofs-tools/metadata.xml5
-rw-r--r--app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild28
-rw-r--r--app-misc/zygrib/Manifest12
-rw-r--r--app-misc/zygrib/files/zygrib-8.0.1-libs.patch20
-rw-r--r--app-misc/zygrib/files/zygrib.desktop11
-rw-r--r--app-misc/zygrib/metadata.xml10
-rw-r--r--app-misc/zygrib/zygrib-8.0.1.ebuild67
1414 files changed, 45252 insertions, 0 deletions
diff --git a/app-misc/abduco/Manifest b/app-misc/abduco/Manifest
new file mode 100644
index 000000000000..a336fd2ae9ab
--- /dev/null
+++ b/app-misc/abduco/Manifest
@@ -0,0 +1,7 @@
+DIST abduco-0.5.tar.gz 15790 SHA256 bf22226a4488355a7001a5dabbd1e8e3b7e7645efd1519274b956fcb8bcff086 SHA512 e0772b8eecc1fb6f16c7516a6956825b9bda4149f00f56b34e68ec3544f74c2270ba8cc2642599de26ae34d11ed78b8bba70497bfc9a79f3008f50de02ce49d8 WHIRLPOOL ffce64702323cba434768bb4864b9f8bd0e5a6768f3fd5a821081eee77dcffea33c8ab920e39471fb644ca2ff03214d04808d55804889a278417c5d6d76d3f79
+DIST abduco-0.6.tar.gz 15829 SHA256 c90909e13fa95770b5afc3b59f311b3d3d2fdfae23f9569fa4f96a3e192a35f4 SHA512 3b70a5cc10f0a2743dcbdf6eebdcfcee0e4f4ff8c6ce0bf0aa9f55c3fa85ab43aa659997735e063eab36aba69f91be7bb5519f3f632bff1b9098f5179165c1f2 WHIRLPOOL 116ac3855e25ebb406d5a6d8702eb4115ee98f783113424cad67e2fab95efdb08ea641aac5f72107955ce31759dd10760ebfd14f1b21c583eea47bce7e056a16
+EBUILD abduco-0.5.ebuild 850 SHA256 3b8d73acf6c08215d1b8dda40d847429c484795c583292ec7a0f8bb71478c1d5 SHA512 9635efe7b043c02b3fbeee37ae1b6f3c35cd95782d4dcd7d00e0550d95b49f283419eda86f94f58849b76b2b2ca082efaeb3bd1483901d74fb94f4931ae313a2 WHIRLPOOL 8d9afe32c8b3acf070d2c3965a2ac672fa3c02e9e9fa4125d6f41cfef4d458502c0c55c4adf7ca9e438e232444386f881f70e2f1b1f23eb60d8bde3019f3ad75
+EBUILD abduco-0.6.ebuild 840 SHA256 e26064b704e24401dd8f855d1af6aec75ba04d1539a16955223a8ccd9f7a1b0b SHA512 ca7b46ee13e03afa73a60f8b301b91720fef4e6aefa457cbb4e42ad3ca897f8e6a587e133f974fac6b729c9a40f0673ab2ed6e788cf677d7970edc273217f336 WHIRLPOOL 91ede9e5e198c0941e407edada1a7a49c4000722b281c361e98f6f43f744ec1f1dc70a7e4a181547baacf457944d4733195460ceb731dd772bb7585b56769f76
+MISC ChangeLog 2922 SHA256 673127d8483490b11728ff64cce306ef76180e46fd5f161d850594ad90c64554 SHA512 0842ad9680ade429bfabb61ca9a9588308c5c5cf4b93fd4fc9352e8fcc8697ce1f8c2a1f633a3254891453d2297cf6f23cebe98ee6dbc17586ecebb3cb38533d WHIRLPOOL 8da1f7169208ed3532f4ab9d7327d495e1a0e85295973150723c1e812f9384c6a1e158e9687f1e1a6d2739502b27814daf78793bf3e7b16c47eb7d08ea532639
+MISC ChangeLog-2015 869 SHA256 0720cfb8e6b5f858212382d8ac6933844c972ac9ef06e3a12e0901a7fae0ab2a SHA512 1f0d81ef1c674d7efcd1ca84a068ecfef971d440e333b57ea25ec5fd1f15a8847ea9dee91106ed4e8e25930361a4c3b9aab24925332b020f38d309b851494411 WHIRLPOOL 3c90bcae27cb4b46a9a559c005d723d08d17684acc0c83d73d5dfa8a56fd412fc5fec669fd0480ce4396470142362887859115b90c2f91f829efeb133ddca5db
+MISC metadata.xml 808 SHA256 9d6fa9ff949478c802b2f74a33f12ba3be1cb33f3a2b8f1dd06196a61c1df89c SHA512 683ee33b44b4b6ff3c7d265a4a66b81285b1b65c94ab3264fdb502c3bb5108ae81e39b8c560675b77037ff1b8bbe46cfa714b53847bde86b1f7f590df9788e46 WHIRLPOOL 0d7edbcc76e624a6304788303f0506dc549ce2aea32f03ce90a44f2bc99542742efcad2a30a5748783ca8724a49aa2c7b3387a580e049dd677c804e296176217
diff --git a/app-misc/abduco/abduco-0.5.ebuild b/app-misc/abduco/abduco-0.5.ebuild
new file mode 100644
index 000000000000..569c89575b42
--- /dev/null
+++ b/app-misc/abduco/abduco-0.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils savedconfig toolchain-funcs
+
+DESCRIPTION="lightweight session manager with {de,at}tach support"
+HOMEPAGE="http://www.brain-dump.org/projects/abduco/"
+SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ sed -e 's:^PREFIX.*:PREFIX = /usr:' \
+ -e 's/-Os//' \
+ -e '/^CC/d' \
+ -i config.mk || die
+
+ sed -e "s/VERSION/${PV}/g" \
+ -i ${PN}.1 || die
+
+ sed -e '/@echo CC/d' \
+ -e 's|@${CC}|$(CC)|g' \
+ -i Makefile || die
+
+ restore_config config.def.h
+ epatch_user
+
+ tc-export CC
+}
+
+src_test() {
+ ./testsuite.sh || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README.md
+ doman ${PN}.1
+
+ save_config config.def.h
+}
diff --git a/app-misc/abduco/abduco-0.6.ebuild b/app-misc/abduco/abduco-0.6.ebuild
new file mode 100644
index 000000000000..43df63cf6123
--- /dev/null
+++ b/app-misc/abduco/abduco-0.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="lightweight session manager with {de,at}tach support"
+HOMEPAGE="http://www.brain-dump.org/projects/abduco/"
+SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ sed -e 's:^PREFIX.*:PREFIX = /usr:' \
+ -e 's/-Os//' \
+ -e '/^CC/d' \
+ -i config.mk || die
+
+ sed -e "s/VERSION/${PV}/g" \
+ -i ${PN}.1 || die
+
+ sed -e '/@echo CC/d' \
+ -e 's|@${CC}|$(CC)|g' \
+ -i Makefile || die
+
+ restore_config config.def.h
+
+ tc-export CC
+
+ default
+}
+
+src_test() {
+ ./testsuite.sh || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README.md
+ doman ${PN}.1
+
+ save_config config.def.h
+}
diff --git a/app-misc/abduco/metadata.xml b/app-misc/abduco/metadata.xml
new file mode 100644
index 000000000000..b5007ff63a3f
--- /dev/null
+++ b/app-misc/abduco/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>hendrik@consetetur.de</email>
+ <name>Hendrik v. Raven (lorem_ipsum)</name>
+</maintainer>
+<maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+<longdescription lang="en">
+ abduco provides session management i.e. it allows programs to be run independently from its controlling terminal. That is programs can be detached - run in the background - and then later reattached. Together with dvtm it provides a simpler and cleaner alternative to tmux or screen.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/abook/Manifest b/app-misc/abook/Manifest
new file mode 100644
index 000000000000..3ba2a564bb45
--- /dev/null
+++ b/app-misc/abook/Manifest
@@ -0,0 +1,6 @@
+DIST abook-0.6.1.tar.gz 319558 SHA256 f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9 SHA512 993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66 WHIRLPOOL 5257a6000707ea58f21fa95841edcfcdb8a1f4921fa452b8aefdbd9bd2eecba01078d116d0e79316bde5b484a721640ffc501c0402a6601803c9312e1e4a2e6a
+EBUILD abook-0.6.1-r1.ebuild 963 SHA256 1bb9628a8988f067fb35e4edc4459fae963ce30b625110c61fd30d809fd8f2ca SHA512 a1fee2e2e935dee101b29ca3d148b56c6760bccd858bfae9592fc9ed9e648803386cab5dbbfadb71248ad2082fcd819fabdece90d6dac6ca32b679fba35df6ba WHIRLPOOL 2b3bc969bf89cbee2cb3d860b0ffb4c017a27cf8af89bdadf8030f25395c218c2b73018d8b1aef77a9dee378b1b3d79507a0032ad4eccaba66c15ac96b3579ca
+EBUILD abook-0.6.1.ebuild 961 SHA256 9aef0c9d6d9542b10c7f6429f07b370724ec309e907bcc583a7954b9698026db SHA512 e79e18762afecda642e07011ab4cb2cdc9ff52903b28648b77a8fbf5abb86f0779fda94ab5a08b1e1c471956b42abf4a074bbfb006268ff1e282a1418ce0c907 WHIRLPOOL 262caffd2b92d6f004fe477c62c0f56e25d042a0944737622a87b6116ae9cfbed95a13df420de64803627820a283746d041920652fd1848c675bea071caa4033
+MISC ChangeLog 3775 SHA256 57dda9132048abc14285f78f0945d69b2aafaa2cda61fdc528c90b67ab06925c SHA512 5327a35088a2dd9317159db57423e557cc33459d80352d34fdec5b87e033df3fa7d2a915ee5ec1ebb7a560b8b376546dbf5fc9e9480e31e339335efa8f6a55ad WHIRLPOOL c7508cd87f946b14eaf631b34e2709f1574e30846eacc6a22119d0dabfe39a7684373a5f575d7c1cde8791dacdaff64b65248167b1ea0c5a5f1c8c3329ea77e8
+MISC ChangeLog-2015 7683 SHA256 9e9a26aae28c19703ab22d8987a1b91d4a7da7a28b40798441f420380d921ffc SHA512 79c9c3a49fb9990286e38efc467cf199595a41478df05a8220e8764418344d9a5e072ca0eadb17bf4e0d7e20d48e30d17c71b0aeeb900ed05f6ccf6fe57498c3 WHIRLPOOL 979ab328881b870d501fbd6c5ffa7a5b44ec021f4dfaebf7db7f5d2b56d5096103eade3c98b75405dd7e5749d0c58868944b253de908f70cdc8b6b872ea83d44
+MISC metadata.xml 423 SHA256 9e0c73390726f8a6a52c3e3dab823cbd9e1cc49782aabd998d5e8aee06e716b3 SHA512 1c7a4d398dcf82207508d4d05eac280df7561abe860a67b673b52ff9be46faabfed38a80c6224f712a8a8c73a04f9b68be33d3d128a5f58a5e9441e2f93abea8 WHIRLPOOL 0b27b8ff94a9eaf71d4eb9b3adbcd36a0f01de6986a0b61bb6fbda1bb77e348626d1b9e87bfd6d1c92af28032cea30f4293ac13f143d34ccc8e05a75c08645c8
diff --git a/app-misc/abook/abook-0.6.1-r1.ebuild b/app-misc/abook/abook-0.6.1-r1.ebuild
new file mode 100644
index 000000000000..4d1dccd13b8f
--- /dev/null
+++ b/app-misc/abook/abook-0.6.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+MY_P="${P/_/}"
+DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client"
+HOMEPAGE="http://abook.sourceforge.net/"
+SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="
+ sys-libs/ncurses
+ sys-libs/readline
+ dev-libs/libvformat
+ nls? ( virtual/libintl )"
+
+DEPEND="nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( BUGS ChangeLog FAQ README TODO sample.abookrc )
+
+src_prepare() {
+ default
+
+ # TODO: do the right thing and find out whats wrong with Makefile.in
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-curses \
+ --with-readline \
+ --enable-vformat \
+ $(use_enable nls)
+}
+
+src_compile() {
+ # bug 570428
+ emake CFLAGS="${CFLAGS} -std=gnu89"
+}
+
+src_install() {
+ default
+}
diff --git a/app-misc/abook/abook-0.6.1.ebuild b/app-misc/abook/abook-0.6.1.ebuild
new file mode 100644
index 000000000000..63f75d43f870
--- /dev/null
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools
+
+MY_P="${P/_/}"
+DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client"
+HOMEPAGE="http://abook.sourceforge.net/"
+SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
+IUSE="nls"
+
+RDEPEND="sys-libs/ncurses
+ sys-libs/readline
+ dev-libs/libvformat
+ nls? ( virtual/libintl )"
+DEPEND="nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # TODO: do the right thing and find out whats wrong with Makefile.in
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-curses \
+ --with-readline \
+ --enable-vformat \
+ $(use_enable nls)
+}
+
+src_compile() {
+ # bug 570428
+ emake CFLAGS="${CFLAGS} -std=gnu89"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc BUGS ChangeLog FAQ README TODO sample.abookrc
+}
diff --git a/app-misc/abook/metadata.xml b/app-misc/abook/metadata.xml
new file mode 100644
index 000000000000..6a92d05f0ab5
--- /dev/null
+++ b/app-misc/abook/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="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <longdescription>abook is a text-based addressbook program for the mutt mail client.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">abook</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/acdctl/Manifest b/app-misc/acdctl/Manifest
new file mode 100644
index 000000000000..a06c7dd6c440
--- /dev/null
+++ b/app-misc/acdctl/Manifest
@@ -0,0 +1,5 @@
+DIST acdctl-1.1.tar.bz2 10827 SHA256 d6c6d83672682d5d803431010bce3112becf5c6a42e1918da3f814b1e3af4f43 SHA512 3a41aba7b6385f4d823694bfd387036759b7d47355f2d69e92de9e80bb9491aeaf5e060cf6695ae5ec23ba7580e203c13210b7d2bc5aaf796adf52925557043d WHIRLPOOL fbf479865dc9ee1851e425f32b48fa1ba45b23956ed0bd110e2609d070350b08f06b24367e84b293d9455bcc8b36558a6b0ddb37cbc125eec1ef3f6452242eff
+EBUILD acdctl-1.1.ebuild 439 SHA256 f923b8cf000c0d10fd09762e0b4ba92623fdebdbb2c45c2e1d7624bc5fb51f58 SHA512 0a42d1b05672dcdbdb529e46573f0ac12b95803237644c67de8ef0b60f89121f061ab317abea6c872445bb12365489ee979737470b606f65e145b3d67dc48cf4 WHIRLPOOL 5059b025c5d29cf0760f211969af3ace0fbd953bc57363036f20f0bdd14a11714f1caceca54dd6d1edb5fdc04c5bf901c2b4b3ae1d05a86c84cc9135f0db0daf
+MISC ChangeLog 2515 SHA256 b9c451fd649c00cb7a974fd4116f798f13ae9f9b66bc55bc16c336adff5a93e3 SHA512 e865b4e0d35d79d634c16b348c1c0381dcd40ab0cd58e595b76a2e4f7fd410716c6100da645db7f9bcefe3b4ed1f9ae304ad64e127c00452dd02c6fa40bc5532 WHIRLPOOL 9551602626d1657056e3546c2052d96f6765e736cb566d7f74e29865c6e1fbd8dc50cc095c64a85165b4b164820a5e865ee0cf20c359d238761f9e680a6da49f
+MISC ChangeLog-2015 878 SHA256 5638c77dc7eb05a013fd32b2860ca693b9b0cec1ca4a56b5f321829439d95d52 SHA512 3d2b66b38a9781441c0c9d31c8e9e1a59e44379d10266b85bd2319bd9b0b4826fc9a3a7400a6e30f29b2247f9d49147c67509eb0fb0030eaddead8ed340adcbe WHIRLPOOL 60e726d9aff2bc747edfdd85e2e9135970297f2c5c88a74ca5faacf0f6f7dbb5387af63901fcc84dee0ca7b30f038d1881a2ed246b1d0c4cf46d5772b45a52d9
+MISC metadata.xml 373 SHA256 4b4a6a9704aa1f781a30258da41223161d5a572c5def6114b3adc48aa5defc03 SHA512 67c365f43ba3e1afc711315248dfec34e462e719e7ceb799e343c5ca15e189683f52553e3bfdce9c438d4d7b2cbcac84b56f17d5c3665e301f58ef3530286272 WHIRLPOOL 963a414ac510414b69fbf87dbe4e7369417f0cd47145b9fc0bde3e07cd80961357e95ec20749378050cb7d9507bbaa83fc1a20be377453840605853f432493d8
diff --git a/app-misc/acdctl/acdctl-1.1.ebuild b/app-misc/acdctl/acdctl-1.1.ebuild
new file mode 100644
index 000000000000..4126ca2c4c52
--- /dev/null
+++ b/app-misc/acdctl/acdctl-1.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="Apple Cinema Display Control"
+HOMEPAGE="http://www.technocage.com/~caskey/acdctl/"
+SRC_URI="http://www.technocage.com/~caskey/acdctl/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc"
+IUSE=""
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dobin acdctl
+ dodoc CHANGELOG README
+}
diff --git a/app-misc/acdctl/metadata.xml b/app-misc/acdctl/metadata.xml
new file mode 100644
index 000000000000..7c59a4536f13
--- /dev/null
+++ b/app-misc/acdctl/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ acdctl is a command-line utility to control the otherwise inaccessible
+ brightness levels of an Apple Cinema Display on any system with libusb
+ support.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/activylircd/Manifest b/app-misc/activylircd/Manifest
new file mode 100644
index 000000000000..ad78abe0d02a
--- /dev/null
+++ b/app-misc/activylircd/Manifest
@@ -0,0 +1,6 @@
+AUX activylircd-0.4-linking.patch 832 SHA256 7cbd54b9142b939143a39039ab47219dbabdd836a9e5346a69eff457a65efb10 SHA512 7d8bd50d0f08bdaf729f25d1dcd9824c4fcd02e342d4c380a8973e684dd41d0506766024de605879dbe8dce1f4cf93396dbc09a63baa2fb1bb6ab4d0e268ce45 WHIRLPOOL f1e00625c05a10b5e34b4929902826f42b511e3c077ad5608af75129ea637cc5542569cb21eedba6de9617da8e17c991dd400ec234436ced0da53a4f910ed65c
+DIST activylircd-0.4.tgz 26900 SHA256 d9475ca9009d0af83c1c88352b0aba39a485dd4b469950fbc005010f6e966d3f SHA512 2440f4b858d945ae7103d14d6aeea6e16461713da60eaadc0767843d218d12554efc99607231503aabcbb853cd26cd205c4c783083b7c77d6d3a5e3f9cbd2cb7 WHIRLPOOL 4dc995d80e189b2093aec1f9fb18328990048c38131c5a77d4331fccfc99b75e347c0170da854869697b7653f2e98f300c5aadb6eea05054c263cbcb2549c1cf
+EBUILD activylircd-0.4.ebuild 647 SHA256 93fbff6f185c5bebd19668051005166f9395e46f87d2a59e218afae2fe4a9208 SHA512 98cb97272c856c7d631d3dbb657f4e7a64ad30dfffa2191255bebdceb2857840e34b4fb97990b0ddc4e40d6859b434bcdb16eb83fff0231ff4f7a3604f422a38 WHIRLPOOL e0924912c81ff4e3f42a1659e5a5d394cb905839cde75f90f7ea159d9fc254d793eec59c32895f27670a23ffa0a5833bf8dcc6a03e64ce135d63833e3c419206
+MISC ChangeLog 2600 SHA256 1809b81bc4b1a0283aa7e5b6f839283b57bd7fa9d9da0be2d249a9b94795b47a SHA512 c40189ddef51c9a02ddb6077a1e443053670097c66a744d4c84e5aabacadcc75457ff42bb52466fe4dcaeb3e886a45593f6b4732808a3652db7578a4815833fc WHIRLPOOL 9a4a98f71c5c0f8091a8a953fda1def655f8a7afe19daac3a1c8b2ad5bafb4dd6157940da395ab3b31c45b6bce0496b2c0e51f65a3012411e5f140c35940918f
+MISC ChangeLog-2015 947 SHA256 1e3d4f358a0ab8c8a7c48ad6bbab31c1178004723be949753a98a7d4c6d16afe SHA512 0555fceda513efeda5bace481d41909eec23f67952028995bde5be6c732f1aee897747ddcb8a393e5db360be150c64f08b5f332fc6fd1f72266635649af72bb8 WHIRLPOOL 48789c6989c0b80a0204a5591efae540f0752a303d7e1785f76fd88f428ea999610b41b41c79064af24c0f5fcf30b7b60ad058c6a5e962230010bbc6050dfae3
+MISC metadata.xml 404 SHA256 cea57be23604867a1b7fe3af42812291b5ac51eb7f7cc3953a04006d19089abd SHA512 f977c708b660df61e959d436c6d7cbff74605180747877cd16d1e5b845845a3e50c71d653fc0dbab844d7be6b98a9931181b877c40359eef87a3c449467325a6 WHIRLPOOL 608b43e3a65fb9c2d31a75e7ec7e28c40d420f8f5f1c33abc0578cea16298a7fac5e9c06c9c16ebbbaa0cc73cff24419e4c78c5b856322b367d77ee197ebf90f
diff --git a/app-misc/activylircd/activylircd-0.4.ebuild b/app-misc/activylircd/activylircd-0.4.ebuild
new file mode 100644
index 000000000000..f3a5bbc52f26
--- /dev/null
+++ b/app-misc/activylircd/activylircd-0.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="ACTIVYLIRCD lirc daemon for activy remote control"
+HOMEPAGE="http://www.htpc-forum.de/"
+SRC_URI="http://www.htpc-forum.de/download/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libX11
+ x11-libs/libXtst"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-linking.patch" # Bug #277656
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dosbin activylircd
+ dobin key2xd eventmapper key2lircd key2xd
+ dodoc key2x.conf README
+}
diff --git a/app-misc/activylircd/files/activylircd-0.4-linking.patch b/app-misc/activylircd/files/activylircd-0.4-linking.patch
new file mode 100644
index 000000000000..8ebd721fd38e
--- /dev/null
+++ b/app-misc/activylircd/files/activylircd-0.4-linking.patch
@@ -0,0 +1,25 @@
+Index: activylircd-0.4/Makefile
+===================================================================
+--- activylircd-0.4.orig/Makefile
++++ activylircd-0.4/Makefile
+@@ -14,16 +14,16 @@ names.h: /usr/include/linux/input.h genn
+ ./gennames $< > $@
+
+ activylircd: activylircd.c /usr/include/linux/input.h names.h Makefile
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ key2lircd: key2lircd.c /usr/include/linux/input.h names.h Makefile
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ eventmapper: eventmapper.c /usr/include/linux/input.h names.h Makefile
+- $(CC) $(CFLAGS) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ key2xd: key2xd.c Makefile
+- $(CC) $(CFLAGS) -o $@ -lX11 -lXtst $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lX11 -lXtst
+
+ install: $(PROG)
+ install -v -t /usr/bin $(PROG)
diff --git a/app-misc/activylircd/metadata.xml b/app-misc/activylircd/metadata.xml
new file mode 100644
index 000000000000..ce520de033a1
--- /dev/null
+++ b/app-misc/activylircd/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>vdr@helmutauer.de</email>
+ <name>Helmut Auer</name>
+ <description>Proxy maintaining</description>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/actkbd/Manifest b/app-misc/actkbd/Manifest
new file mode 100644
index 000000000000..b2139c6f034b
--- /dev/null
+++ b/app-misc/actkbd/Manifest
@@ -0,0 +1,8 @@
+AUX actkbd-0.2.7-amd64.patch 1188 SHA256 de3b3e37e69f835ae9982ec9a8fa44394dbc0b0d06fbdda46ebfa1896c5e1c4c SHA512 921b5f654aabe06eb0589cf1b22bf44e3c7c662b088104dff8d439929ffa05fc6f658619bc54f5b0fa813a396ae740f05a121515af8f546395250a55a722dab0 WHIRLPOOL 10e5c933127162f123abf4a25d54a2cb5a25814d571cdcbabd1089509e86ba8cd63341e7b4af82d399e3efbb8586042225dea7a061a37ea34722b101c99e4eac
+AUX actkbd.confd 276 SHA256 6b95694397bf7721146b44cc0a4f38a608c53cf4ef570dc6dc21d1a35722e2aa SHA512 2128c4c3e1754014e7e1e446ce6d8753045d517c500a957ceb0e761d60c0141c6fc26f427891d2937c5cb56c60759b9045ba21418d2f57bd8dca11c10ade18bf WHIRLPOOL 34fdf307fccf1dafd3e351aaf0a04997f5682474c92cdfdff293c27d33e768ba4deb7e6ac009da3f8722bb78c19aec412b5e9b22c17cb0ad406265cb26142ba5
+AUX actkbd.initd 782 SHA256 f78ec72a14a0dba1378b0e7419e3858e254139ab4fcbcc0d445094b998456975 SHA512 1d5d0e62a09562d7274807f18d8a34735b4ddb47bc2cb99374a8b62ffef8d5e553a682e273b57ef99460b1850730520e9f12b1ffeab8c39ddaec50595e100b8e WHIRLPOOL 4e9a2d688e32b6fbc36544c5fa9fa34f56b7938529aafbe51cb8c0fec76cd51845bc50843460084e8472fc4e941f0ab345a85c85864ee0b0c94011196db918e8
+DIST actkbd-0.2.8.tar.bz2 23192 SHA256 95ea643b8e1b6bd8b9bc342d4a01eb4639498e15329aa42329f7cc83cb3cebc6 SHA512 307d97b2854be801f1a4a8a8fbc408d3c83efd40f5bb35ea463b154fc0c9761fcb83a99905cd2730a24122ff222f60f31c4ac0163600ba463d4713846de2bf72 WHIRLPOOL cf1288351bb8ccc7306289cf7227483d5a7c13905cfa24af905c568ce135aa4cee7085141d8e4812aa09a045cd8448ae15973224b6bd9d5e7d8c5c568db750dd
+EBUILD actkbd-0.2.8-r2.ebuild 1197 SHA256 4c22faa8c02e79d56488acedbb88223c8463394d48a10b7943e9189f312a9b95 SHA512 3971370b2d2b9cafb4d9570ef65a233fa392a95d8378429dacc57f78e1f89fc8aab8413466d163fce84d071929f219abb0ae886e7cfa20071113171fc982f0c1 WHIRLPOOL 584a290b98d6731efc145eaab181b22a84b3274e1c56d5f966fa859897ebc3032ce94eda0775391ea7613a90beb994166ba2ad88e5d34fbc5fa772052a93eab9
+MISC ChangeLog 3027 SHA256 4dc1c61cf91e67e91038d7c89fab48d306c0cdaf9e2e9f67fed4f5bbb933b747 SHA512 6a5947d6fe10524917023337972b1a9839078fb552b40c39d9b840082f971dba40fee7bc8298971681a20b2d60372cc41803910a7094be040d8e94c6cbebca9e WHIRLPOOL 11e24a38fc7f0b080268336eda755403cd9eba8e6af6b924f308cf21163c75cd0e4207d0c46ef3ed175f6e29efe9ba9b5d97b4683fb307daf35b5b11c3ac2cb3
+MISC ChangeLog-2015 1998 SHA256 567accb9184851cebc2ac7a21822f1459f96ba9c5b900ba4d505e8c05970785d SHA512 6b5d99d31b6112841d100a3f92066d21ab73fb92a3905f580c5fa0b91d1657ad075be1d51844b4b2fb05faf838c634cfe6e533ed1ef115eeff27b4dd49d53b1b WHIRLPOOL 724447937f71e82c90226481943aa78f58b3a82603612f1913589b4cbc6fd7beacdf1e6c5e8f14852760c0ad70e62be3352232b0375dee21aff83af1c136b8ed
+MISC metadata.xml 351 SHA256 5c496814e80eddaff612ab5557fc83c0e383600478eef36ee0229c67bc36f308 SHA512 f40d5dc16d267d0bf0171d927157805a4b31a3e2816eb128d3b9e6f0aded5b45b1865c1e06ceccf56618f68a15682fc3f416e7af49af007073b50fdb383359cd WHIRLPOOL ec923eee19cf6812cc94e28cd1c0bbbb4ce2cd09c0f1ef5e873212c26a76b1c9e0fd46a9acd23f4dc89c3452cdd42b1ae5ec6dcee945b7196c7057bf21424fc4
diff --git a/app-misc/actkbd/actkbd-0.2.8-r2.ebuild b/app-misc/actkbd/actkbd-0.2.8-r2.ebuild
new file mode 100644
index 000000000000..0b926c6873fa
--- /dev/null
+++ b/app-misc/actkbd/actkbd-0.2.8-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info eutils toolchain-funcs
+
+DESCRIPTION="A keyboard shortcut daemon"
+HOMEPAGE="http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/"
+SRC_URI="http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+CONFIG_CHECK="~INPUT_EVDEV"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.2.7-amd64.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin actkbd
+ dodoc AUTHORS ChangeLog FAQ README TODO
+ docinto samples
+ dodoc samples/actkbd.conf
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+}
+
+pkg_postinst() {
+ elog
+ elog "System-wide configuration file is /etc/actkbd.conf."
+ elog "Use actkbd.conf from usr/share/doc/${PF}/samples as a template."
+ elog "You need to create the config and set right input device from"
+ elog "/dev/input/event* in /etc/conf.d/actkbd"
+ elog
+ elog "To obtain keycodes for pressed combinations/keys just run:"
+ elog " # actkbd -s -d /dev/input/event<MYDEVICENUMBER>"
+}
diff --git a/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch b/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch
new file mode 100644
index 000000000000..b962d7e861a7
--- /dev/null
+++ b/app-misc/actkbd/files/actkbd-0.2.7-amd64.patch
@@ -0,0 +1,38 @@
+# Try to fix pointer assigned to int and vice-versa problems. Written by Joe Pelkey.
+
+diff -ru actkbd-0.2.7.orig/actkbd.h actkbd-0.2.7/actkbd.h
+--- actkbd-0.2.7.orig/actkbd.h 2006-05-02 13:24:01.000000000 -0400
++++ actkbd-0.2.7/actkbd.h 2006-10-27 03:37:37.000000000 -0400
+@@ -122,7 +122,7 @@
+ typedef struct _attr_t attr_t;
+ struct _attr_t {
+ int type; /* Attribute type */
+- void *opt; /* Options for this attribute */
++ int opt; /* Options for this attribute */
+ attr_t *next; /* The next node */
+ };
+
+diff -ru actkbd-0.2.7.orig/config.c actkbd-0.2.7/config.c
+--- actkbd-0.2.7.orig/config.c 2006-08-20 07:05:36.000000000 -0400
++++ actkbd-0.2.7/config.c 2006-10-27 03:55:21.000000000 -0400
+@@ -107,7 +107,7 @@
+ strtolower(attrs);
+ while ((tmp = strsep(&attrs, ", \t")) != NULL) {
+ int type = -1;
+- void *opt = NULL;
++ int opt = 0;
+ char *num = NULL;
+
+ if (strlen(tmp) == 0)
+@@ -174,9 +174,9 @@
+
+ errno = 0;
+ if (strlen(num) > 0) {
+- opt = (void *)((int)strtol(num, (char **)NULL, 10));
++ opt = ((int)strtol(num, (char **)NULL, 10));
+ } else {
+- opt = (void *)((int)(-1));
++ opt = ((int)(-1));
+ }
+
+ if (((int)opt < 0) &&
diff --git a/app-misc/actkbd/files/actkbd.confd b/app-misc/actkbd/files/actkbd.confd
new file mode 100644
index 000000000000..5c67b5151717
--- /dev/null
+++ b/app-misc/actkbd/files/actkbd.confd
@@ -0,0 +1,12 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Configuration file
+CONFIG="/etc/actkbd.conf"
+
+# Event provider providing the keypress events
+EVENT_DEVICE="/dev/input/<DEVICE>"
+
+# PID
+PIDFILE="/var/run/actkbd.pid"
+
diff --git a/app-misc/actkbd/files/actkbd.initd b/app-misc/actkbd/files/actkbd.initd
new file mode 100644
index 000000000000..bb03870adb2f
--- /dev/null
+++ b/app-misc/actkbd/files/actkbd.initd
@@ -0,0 +1,31 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+checkconfig() {
+ if [ ! -f ${CONFIG} ] ; then
+ eerror "Config file \"${CONFIG}\" does not exist. Create it prior launching the daemon."
+ return 1
+ fi
+ if [ ! -c ${EVENT_DEVICE} ] ; then
+ eerror "Device \"${EVENT_DEVICE}\" is not valid pointer to input provider."
+ return 1
+ fi
+}
+
+depend() {
+ before acpid
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting actkbd"
+ start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec /usr/bin/actkbd -- -c "${CONFIG}" -D -q -x -l -p "${PIDFILE}" -d "${EVENT_DEVICE}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping actkbd"
+ start-stop-daemon --stop --quiet --pidfile ${PIDFILE} --exec /usr/bin/actkbd
+ eend $?
+}
diff --git a/app-misc/actkbd/metadata.xml b/app-misc/actkbd/metadata.xml
new file mode 100644
index 000000000000..80d57fa74097
--- /dev/null
+++ b/app-misc/actkbd/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+actkbd is a simple daemon that binds actions to keyboard events. It recognises
+key combinations and can handle press, repeat and release events.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/aldo/Manifest b/app-misc/aldo/Manifest
new file mode 100644
index 000000000000..f1d5f69facd5
--- /dev/null
+++ b/app-misc/aldo/Manifest
@@ -0,0 +1,5 @@
+DIST aldo-0.7.7.tar.bz2 112000 SHA256 f1b8849d09267fff3c1f5122097d90fec261291f51b1e075f37fad8f1b7d9f92 SHA512 b68f9bd96210f17b6a37bc49f114bba70b75357967580cb4644454789b70285439f15bedb55fb93aa1bc0e5027c46a65679fcefb6a66332ca37d866d9c169e0b WHIRLPOOL ff7e569cb674a331eeb3208c08762aa70a699796212ca7774c8101c079cad6ad8d1048571563a64520e34ba86cbf82d14677d29e34a564f4216679e7e276c290
+EBUILD aldo-0.7.7.ebuild 439 SHA256 a336fe2967e7b0c502736b2f579bbeab7b0e4e30fefe03e9353fc785afe45e87 SHA512 706620fe80a4c1fddf2f803cf122589c2adab7a864581cfa8ec0717c105644eed48599ef3e502e0a8e216baa19f50d312db97f4782376829a1b72cb0e46125b5 WHIRLPOOL 3030b0083166ebf1e71a300b308f0156929183ccb59a7fb04fb13c5ff807786360686a376f1c24d837a74147c0eb9e61eeaa31ac599056603f4a88e806bb5472
+MISC ChangeLog 2513 SHA256 bd6cff9a43dd3c4948ec95c5352e758577469c7fedc52d80f468ee38c49db451 SHA512 8aaef93c4032c5f41621ca55f46e907a629d2ed555a78ef8a8e0c85f4af9dd3c89592be6d5c1a77416c98ff794c2b5651df7b01c272d652f6356e192dae7c637 WHIRLPOOL 039d282eea51410782c88295a9d8a2610f5db087d8f0cd3b583f78973e5f3f8272e3c59f9b0cc5fdf79dc280a7a39704cb903e5f40a33c3962feb579eab4279f
+MISC ChangeLog-2015 3481 SHA256 782c54032aec3ec76f22a9436ec976263a3d3acae9e1720f02fcaeec8e4a437a SHA512 0801826f049e63699d1f4fb83e0e6eafe7a0ba9ef97ebb83ce904cb04cc7e9984fe0b4a129514623a54b373bf80b8b80e0586e26ec4cd14d7fd07237ef87cff2 WHIRLPOOL 137bd0502998171b73ee7f95c65060eae820cd62a4653696b0cee79363ccb47099ae84fd384d5bf99106a993c895075f2c021b080f8d86effa52af1fdbd6f864
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/aldo/aldo-0.7.7.ebuild b/app-misc/aldo/aldo-0.7.7.ebuild
new file mode 100644
index 000000000000..cbcc5836f711
--- /dev/null
+++ b/app-misc/aldo/aldo-0.7.7.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A morse tutor"
+HOMEPAGE="http://www.nongnu.org/aldo"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/libao-0.8.5"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}"
+}
diff --git a/app-misc/aldo/metadata.xml b/app-misc/aldo/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/aldo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/anki/Manifest b/app-misc/anki/Manifest
new file mode 100644
index 000000000000..37c19969dc4a
--- /dev/null
+++ b/app-misc/anki/Manifest
@@ -0,0 +1,19 @@
+DIST anki-2.0.31.tgz 3329290 SHA256 4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f SHA512 3e6e29247d83b026ece6974007c848822360a812838dbb718cf3f1423fc9d015236b027944cd99f3b419e0fe4fe6cb2390d185f00646af727ec8e76f4aa3cbb8 WHIRLPOOL 42b1ecf2cc856c15ad1fe690d45e8051a8b79ef0b850e701a6a8a510a56cc4e6711bf4c8acc8ae9add7a3c761788005979c9a6398a71e1b28c9821043d5f6053
+DIST anki-2.0.33.tgz 3376646 SHA256 b9fe2c35a68e90f3fa31f5c67f3447a7e1033d1c909baa381a1525ce5e71b9b4 SHA512 ac2df1ac94e5aa4cc04c17d41b8f96788b5f321860bc20b4a167d5ee0161ca4f7f586fda08ac9910a706ec3e7d1bd692d2e74f3de56997c9ce480122396e0d6d WHIRLPOOL fdddc9c51f2226373bdf5c6547a3b643b94aac37d68cf1e1430ee9355d4f5b11ae3e4cca218d65e7a76a0921f8d2e3e0676c2022aef4e49998e596531ce93848
+DIST anki-2.0.34.tgz 3411136 SHA256 ce70f10efb7deabb5cf5e6e003a3ee0b22a2d37ed24ac6c4d8f4e079b8ae5ff8 SHA512 289e937be7174b24b5213166d5d434a265ebef313815dbe105de6e21c83c6cf0cba93000e489b050fc5a04fc80bac25a71e7a42adad55bf2a1a2a246890dacdd WHIRLPOOL 3b3f2f9292b917dbde23825d75f2dde1219c3992538f29fea11a5c3bb6223abbf86a8593c50c0ee6d2ab783a23c38c5358c768a280a1cfbf6af01097e5070da2
+DIST anki-2.0.35.tgz 3410475 SHA256 bb8a229b85f551e2f69829f9ec8485633b739c701dabd0067acb06fe3b1af3b4 SHA512 4877e564bf052220b6ba8b59d18d7a1a3a326b01339dfdf85cc13513c6f54a8927f3fad2861f6edff0db691ea208dd1a481afa3f412d7b4af4ee94d645ee6e6e WHIRLPOOL 04166b0764c1f3e8aeee33b1a3b0a70510b3be8e34e9bee8b43ca0cbbfb416e03ff19b1fe714aa7c2e7970dfca86524bfa4d739e86a4ac1bdc07a765cd1b1d08
+DIST anki-2.0.36.tgz 3410538 SHA256 fb208230cdc50ea02d53f521cf03926c627fff7cf731b7d29dc733d3ab04171c SHA512 34ef4c06a21c786d9a82f41bd2bc8308a12860f17d0cbb45466ac7f0e3867b669f8bae65442bb74af51ad906393b790b049c82f2bfa0871cb465d96dd057e147 WHIRLPOOL dd3c8f5ae28e14ee4c0f8d8142d87a4bc308f8c877c82aa23c3785d88e512da68105ca5f55d683b2886bdafe70abd0e375465744fa7d7e22f6f8935b2f70aae4
+DIST anki-2.0.41.tgz 3422038 SHA256 f9e8498d62cda2c2892ca2141ec1a318159499c6b280edeaf8c2b95e97e3ab4e SHA512 b5f58fdd690cca84fbe26f6b626d04e638b9d814a51fa6bad33f86eccc3c8d41712594a60a6621b1103fe974350a6ecffcd4e5cc1702eb3d79d3187fe30b8872 WHIRLPOOL 08b0e8beae817ccca10f392d4bd8be1d560860a4768515e5b3023b792288680651baae2669532b66aac65c2afe1fc4d18ca0cddb9282b6f5159a31d670624810
+DIST anki-2.0.43.tgz 3422113 SHA256 009b91568f944bfd14886428ca7de550158043d16438257211e0569285241a7b SHA512 e50ee4cf6fd7be266b6d38682e28a06b51cc42a2667f35fbafa755152d47bbadb2fbd2baa771d13e73f39973a4102d626fbe7327a5de05efbc3700d7a2c9909c WHIRLPOOL 2b7ffa788d65b8fd4b489556b3a66a5e6f2bdcd1807d94a02a64995dfad1d6a8f2821cabd5bfaa760d222b5c05aa99e8a87eb6fefc72f60568136e414e3907e9
+DIST anki-2.0.47.tgz 3422231 SHA256 fbb5356d642a94a2cb2fb7f949e6db7c8acbe322f38a18c0603ff88f5bd4eb18 SHA512 5e4bbaac6d60506f43adfec1c4ff83285ac423405bfba57b566e7a9d632a22cf0f9ca7fe3eff3ce56c516a6cbb0112e5251319f11ba984d74bffd2c25e04c64a WHIRLPOOL dddef926f3754c1c3686e903dee539a9d84692dc6619cea7f9a71e2256cd5dcced113ce2d7da8cecf13a9ff8c36942a1216c72c5744a496e1792e70dd4750cf8
+EBUILD anki-2.0.31.ebuild 1548 SHA256 8442f14b8f1e7a7acd3a1a0db7e05675f331d86380ae7a87085140b38c1429ea SHA512 c53dadfb9ed9106915de6f456de56975688578f01617e928e043c79271ee573150d64b0f010d6026423833a065faf63e24410bf42859920911258ea49093aca4 WHIRLPOOL f5b01e8ec14eb8de471dff010252f601f4e765a4195d0be0f04172e592d6d1ceff528f2edc5de23ff1323e40ab3eb3ec94c68aee6df11ad0039c4b80c5981371
+EBUILD anki-2.0.33.ebuild 1294 SHA256 074500a6dda66ade956f5ff4bbd48654c29e244c4b133bae256a58f925466cc0 SHA512 1a2abf48874cb5facea0c85ad10278d7a6e90d7c0d23e5fc9e7de203f12a221450673ed11f54d8f1f400368691b2d8d64c7c15bbe7596fa01a497e42c1a838cd WHIRLPOOL 5fa35e35c0ea6df92598304a4b1e43a5ddc3389628aa7aa83021f384d1d712fad36050f41b907f3f32a9af25956bef93023bbc88769b95e230c19f9b2d1af44f
+EBUILD anki-2.0.34.ebuild 1296 SHA256 597f7736a74f30326978f26d0f1ef901195e4d9ab2c014de8771a136015d6118 SHA512 88a5c498fa2ff9aeda8ccbce9ad2ba515e1e3a088531e00310052298fa60eae6b40ec640418ff37c9f451f11dfc87971e71a3c8c628ab4271ff2702003468aef WHIRLPOOL 827343c2a166dce006bbbf24476ce21d8842caf5cde344df14db28298c870af65091251ca992b4ff108981141dc5cb3af13604eb0bcae6dfd3dec84b6e4132fa
+EBUILD anki-2.0.35.ebuild 1296 SHA256 597f7736a74f30326978f26d0f1ef901195e4d9ab2c014de8771a136015d6118 SHA512 88a5c498fa2ff9aeda8ccbce9ad2ba515e1e3a088531e00310052298fa60eae6b40ec640418ff37c9f451f11dfc87971e71a3c8c628ab4271ff2702003468aef WHIRLPOOL 827343c2a166dce006bbbf24476ce21d8842caf5cde344df14db28298c870af65091251ca992b4ff108981141dc5cb3af13604eb0bcae6dfd3dec84b6e4132fa
+EBUILD anki-2.0.36.ebuild 1296 SHA256 597f7736a74f30326978f26d0f1ef901195e4d9ab2c014de8771a136015d6118 SHA512 88a5c498fa2ff9aeda8ccbce9ad2ba515e1e3a088531e00310052298fa60eae6b40ec640418ff37c9f451f11dfc87971e71a3c8c628ab4271ff2702003468aef WHIRLPOOL 827343c2a166dce006bbbf24476ce21d8842caf5cde344df14db28298c870af65091251ca992b4ff108981141dc5cb3af13604eb0bcae6dfd3dec84b6e4132fa
+EBUILD anki-2.0.41.ebuild 1325 SHA256 8cc264ebd7463771924eb24b270c1c8d214a5eb7846f193f364001e60efa93da SHA512 5dc09ba11eb492f6d77ed90cd113e29bca357f6d49b357481e1c99ec73d22bbcf0423db9abf1dda8dc0488927455970007c851ce188738625cadde6a46f3a5bc WHIRLPOOL cfcea3408aed60ad119e9f8022f8b1897135c8816c7955ebd64620dffae322e805ac848538abfd309db07c548096146048c01223072e4e6f50dda0c98b952a0e
+EBUILD anki-2.0.43.ebuild 1407 SHA256 4f8789898944ca0f2ece43f55050fd73cdea3d8636e83ee46d13cd249e116526 SHA512 6d52decb78cfd69476ec57e135b00fe77dd83fdd51af9ca92938e8208016fd381296d287e4213be50ed4243e6680b12606a792d8a8916f150899a60665464fb9 WHIRLPOOL f11a4d1845c878189676774fec9f6591cc3739d62c46852a6a5ad8352e505dafaa566536c0d88e2c358845359dc978612f494535aad0e8abfd7c922ac61240c9
+EBUILD anki-2.0.47.ebuild 1407 SHA256 4f8789898944ca0f2ece43f55050fd73cdea3d8636e83ee46d13cd249e116526 SHA512 6d52decb78cfd69476ec57e135b00fe77dd83fdd51af9ca92938e8208016fd381296d287e4213be50ed4243e6680b12606a792d8a8916f150899a60665464fb9 WHIRLPOOL f11a4d1845c878189676774fec9f6591cc3739d62c46852a6a5ad8352e505dafaa566536c0d88e2c358845359dc978612f494535aad0e8abfd7c922ac61240c9
+MISC ChangeLog 3476 SHA256 79612fb9bb0d638c26f9f6c77fa331ad8002e5907bb7b7220f9eba2a0a8e68d6 SHA512 7374e6b0b7ca10d36454b3b60e94d6dc495e72d16d67c66475b240668a3f8be1b05f17689554316240749969ad2553adaa4b1dd8a71ff27af488dd4f66d372d5 WHIRLPOOL 1d28a2a5d4b41eccc58e56bc30f8b83908ab620ee71f8f326c183ef4a12280671e0efba7677e81710ffba3135247fd129795df24ca34c00c316e7e9edb5d74e7
+MISC ChangeLog-2015 13597 SHA256 f169f73f5e36840c9b281c98f2d420597ea86866573b224c12c87f054be9c23b SHA512 8a148eca4be6552c783d903eea48cab5ea7f6a4bca1b9c9f3d80a3fe80f989855943069c99a7f361d3ee85b98d2f8f94d4a751fc7a456292fe7ffa02105cce22 WHIRLPOOL fd93017f71140b91cad14d2a30d2c1dd30e355c95db551c03e64aae79dced66f3ad4fd12e54ae8516c87b4a8ff85f074cb23bd8b5eb545c9dc5b7dbe9a1bc43c
+MISC metadata.xml 647 SHA256 d7e3745ca759b3a639d07405aa61afcdbe2fbf9544b35c2b8a4a69da471c0016 SHA512 411bf74e025678e91d050615c1edf332a05cbf9d51bf5b14a2bb10b27208551487946670b6368f0bad6567a02534d984a0a1ca026b1c96b391f48b80567fb932 WHIRLPOOL a658a19d653a6d068011402f904fbee2d88a58726fc23fa714e889600567b6d5a26479426e9ded1e766f5d7512c46b43b058b4dcd9a7cc4c20fe9f404de0ef7a
diff --git a/app-misc/anki/anki-2.0.31.ebuild b/app-misc/anki/anki-2.0.31.ebuild
new file mode 100644
index 000000000000..b382762b9710
--- /dev/null
+++ b/app-misc/anki/anki-2.0.31.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+}
+
+pkg_preinst() {
+ if has_version "<app-misc/anki-2" ; then
+ elog "Anki 2 is a rewrite of Anki with many new features and"
+ elog "a new database format. On the first run your decks are"
+ elog "converted to the new format and a backup of your Anki-1"
+ elog "decks is created. Please read the following:"
+ elog "http://ankisrs.net/anki2.html"
+ fi
+}
diff --git a/app-misc/anki/anki-2.0.33.ebuild b/app-misc/anki/anki-2.0.33.ebuild
new file mode 100644
index 000000000000..810ea6120f91
--- /dev/null
+++ b/app-misc/anki/anki-2.0.33.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/anki-2.0.34.ebuild b/app-misc/anki/anki-2.0.34.ebuild
new file mode 100644
index 000000000000..8aba24bbdc44
--- /dev/null
+++ b/app-misc/anki/anki-2.0.34.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/anki-2.0.35.ebuild b/app-misc/anki/anki-2.0.35.ebuild
new file mode 100644
index 000000000000..8aba24bbdc44
--- /dev/null
+++ b/app-misc/anki/anki-2.0.35.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/anki-2.0.36.ebuild b/app-misc/anki/anki-2.0.36.ebuild
new file mode 100644
index 000000000000..8aba24bbdc44
--- /dev/null
+++ b/app-misc/anki/anki-2.0.36.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="http://ichi2.net/anki/"
+SRC_URI="http://ankisrs.net/download/mirror/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/anki-2.0.41.ebuild b/app-misc/anki/anki-2.0.41.ebuild
new file mode 100644
index 000000000000..3c0f5a7aa1e6
--- /dev/null
+++ b/app-misc/anki/anki-2.0.41.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net"
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> ${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit]
+ >=dev-python/httplib2-0.7.4
+ dev-python/beautifulsoup:python-2
+ dev-python/send2trash
+ recording? ( media-sound/lame
+ >=dev-python/pyaudio-0.2.4 )
+ sound? ( media-video/mplayer )
+ latex? ( app-text/texlive
+ app-text/dvipng )"
+DEPEND=""
+
+pkg_setup(){
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true;
+}
+
+src_compile() {
+ true;
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/anki-2.0.43.ebuild b/app-misc/anki/anki-2.0.43.ebuild
new file mode 100644
index 000000000000..feccd2b7074f
--- /dev/null
+++ b/app-misc/anki/anki-2.0.43.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net"
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> ${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit,${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ recording? (
+ media-sound/lame
+ >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
+ )
+ sound? ( media-video/mplayer )
+ latex? (
+ app-text/texlive
+ app-text/dvipng
+ )"
+DEPEND=""
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true
+}
+
+src_compile() {
+ true
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/anki-2.0.47.ebuild b/app-misc/anki/anki-2.0.47.ebuild
new file mode 100644
index 000000000000..feccd2b7074f
--- /dev/null
+++ b/app-misc/anki/anki-2.0.47.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A spaced-repetition memory training program (flash cards)"
+HOMEPAGE="https://apps.ankiweb.net"
+SRC_URI="https://apps.ankiweb.net/downloads/current/${P}-source.tgz -> ${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="latex +recording +sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/PyQt4[X,svg,webkit,${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ recording? (
+ media-sound/lame
+ >=dev-python/pyaudio-0.2.4[${PYTHON_USEDEP}]
+ )
+ sound? ( media-video/mplayer )
+ latex? (
+ app-text/texlive
+ app-text/dvipng
+ )"
+DEPEND=""
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ rm -r thirdparty || die
+ sed -i -e "s/updates=True/updates=False/" \
+ aqt/profiles.py || die
+}
+
+# Nothing to configure or compile
+src_configure() {
+ true
+}
+
+src_compile() {
+ true
+}
+
+src_install() {
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ doman ${PN}.1
+
+ dodoc README README.development
+ python_domodule aqt anki
+ python_doscript anki/anki
+
+ # Localization files go into the anki directory:
+ python_moduleinto anki
+ python_domodule locale
+}
diff --git a/app-misc/anki/metadata.xml b/app-misc/anki/metadata.xml
new file mode 100644
index 000000000000..ee6762e9528d
--- /dev/null
+++ b/app-misc/anki/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <longdescription lang="en">
+ Anki is a program designed to help you remember facts
+ (such as words and phrases in a foreign language) as
+ quickly, easily and efficiently as possible.
+ </longdescription>
+ <use>
+ <flag name="recording">
+ Enable support for audio recording
+ </flag>
+ <flag name="sound">
+ Enable support for adding sound to cards
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/asciinema/Manifest b/app-misc/asciinema/Manifest
new file mode 100644
index 000000000000..884af57596ef
--- /dev/null
+++ b/app-misc/asciinema/Manifest
@@ -0,0 +1,5 @@
+DIST asciinema-1.4.0.tar.gz 35264 SHA256 841a55b0f51988d5e155e99badbd6ce5cf3b43cca2ba15cd20c971a19719dc9a SHA512 23c67a462acdbbbed495e6cc3e0e22ed028effcc945af30b5925854e216c6f74bb1b416d9b0001726732ae8be510796e996bbca69b225c20422143e5ed1aca5c WHIRLPOOL 42cce226c8d94cc957e3e719eebbb887a696aec987f7ff02972a6ec74d6cc249a79fb804089d95e05341952816f6cc5ef5591f43eb1c411c746b804d2d5bb126
+EBUILD asciinema-1.4.0.ebuild 713 SHA256 295e18d88c6612dfa41c06a71405bfc31ec02857028eb569e4eb90bd98b23501 SHA512 2d1fd33eda04f63a60191c1ab8e2fe7289fb1c8925bfe589e1a69107c39c1ed1ddbaca22019468a6667080b3dcccb231b9a03aba158bf511d2b6ca835ed16bce WHIRLPOOL 72dea6f5352e3cd7a12054837edbac7d4b8ffa984c59b973ab6d7897bcf19e50d877f7799aa54f911f049ebfe3b80db1c1f56a8c634193c0509f244d0cf34994
+MISC ChangeLog 3525 SHA256 0e3cc1dfa9b0a8a22e023db375a644b58e39df69271f8008c90c54022ec60825 SHA512 ae6d130f52ccad092d39b6e90232ad51b80f32295de8fea0ee9ed3843a203c4a7ef7caf152d6c47db22672c49226d760d3e245bc2626929d37ce2fece7e44e90 WHIRLPOOL 7cbd1fcd19fd1fc19a516a2ffc708534ed438af5568c0bcd24552f973f4649461b3cd4dbe936ea861571d89ddcb4ff39eecdf37e931980eb23c72ad4d6526340
+MISC ChangeLog-2015 994 SHA256 fc34d4820ef1d125a930d742137fcac956c9d1f4900a6861a9602f81c82e54c2 SHA512 566be4f0284dad1512124e8344ac470d8c11788989c90db88eb16588680721a7c171ebd3a661d91baaae89fc9270dc3aca86e5948e62c2947275ac8d9cb2d71f WHIRLPOOL ea5563b28a978323171094364da372a7837229e0fd8500e19c93f49ff534cd6cfc8f69b030925c4d26b13798670831f223ceb50b81b12430233c782d35281c68
+MISC metadata.xml 352 SHA256 66e0c518d4d5870b111f17c8ba9e876e293ed2a5b766f568e4adb70f908a4eb7 SHA512 382168389e0950d78c6df79b6ad6dcf8bdf54fc9f877b23dd1e69c3983e931590c82a26694279b83834121af33a4aa8915a9c1907da2bd617b895a2cb4c31d74 WHIRLPOOL 34fa42d653bea0cf9b6b26e8bd53730a1ef501434fb49a5bfcc525be8e3257d5cb60f6cc725a2873858406ec8b62e115b828a7fc8b0af5e8b59260a09c5f538c
diff --git a/app-misc/asciinema/asciinema-1.4.0.ebuild b/app-misc/asciinema/asciinema-1.4.0.ebuild
new file mode 100644
index 000000000000..207d700d9a1b
--- /dev/null
+++ b/app-misc/asciinema/asciinema-1.4.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Command line recorder for asciinema.org service"
+HOMEPAGE="https://asciinema.org/ https://pypi.python.org/pypi/asciinema"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="test"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+DOCS=( CHANGELOG.md CONTRIBUTING.md README.md doc/asciicast-v1.md )
+
+python_test() {
+ nosetests || die
+}
+
+src_install() {
+ distutils-r1_src_install
+ doman man/asciinema.1
+}
diff --git a/app-misc/asciinema/metadata.xml b/app-misc/asciinema/metadata.xml
new file mode 100644
index 000000000000..fa9c8379fce5
--- /dev/null
+++ b/app-misc/asciinema/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">asciinema/asciinema</remote-id>
+ <remote-id type="pypi">asciinema</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/astrolog-ephemeris/Manifest b/app-misc/astrolog-ephemeris/Manifest
new file mode 100644
index 000000000000..6dbf7570109f
--- /dev/null
+++ b/app-misc/astrolog-ephemeris/Manifest
@@ -0,0 +1,5 @@
+DIST ephemall.zip 4604012 SHA256 d1a6de1de067af81c17500fbce52861f3e2a0a6925ecf599e55397d6f9684910 SHA512 e7822cecb87466987107e84aae64d292dad31de9d2c268886869a37ea9e99bf81b2a530129c0f6538c6b55ad46b185e16ee0c5b0d8858acfe189f19e2595c6da WHIRLPOOL 1ad7e6fe584ad3b23d40dcebebfe60d4fe9b82ff11ee32bdeb1ae15a3dbf82a9520ae2a2cdab345aeed39704604f4c3df38bf93fd831240340cd6cdc6b1285ac
+EBUILD astrolog-ephemeris-5.40.ebuild 611 SHA256 151c6014b29e51124cff18b5f50dc7ef5b0b4e3a8e3109937f47bedc9fb452db SHA512 80f1e03067e187d8b9d96c50b9ee433f565f6117a813d0d523fff0ab082eb0ee03e111626ad5152a3bbc6049d1e599287ac68fddf8a179dc1cfcf1186939528d WHIRLPOOL 5370914da174a6362ffbea010bb3bbabbe64d5d619eb9bc57de6e381e2541bc202a79862df2e12830ecdf3b204c7ecb1b5edefbc7442e4d4175493eb6a23ddbd
+MISC ChangeLog 2582 SHA256 e775c9c2131ab6ffe7b5501b6f7c9e3209e99a5b3ed9b4f766244518324f437e SHA512 faf5b99259de384658901efda60783611a772311238727e28d814ae49b00fff8ab482c71f70d9c3ba074a8479e7c8b8436f70aa436e9f9c7bd03826a5d1b3eb3 WHIRLPOOL b6ef36084de9163f5ccd26c583a34599df6f2ed7cc81d4bbfc7855bc81539a30008e17bccb920ceec029498d427844fd5d9ad19206e5bdb7e7ec95d78a96c59c
+MISC ChangeLog-2015 1211 SHA256 ad704b2b0620280dd83b255e3a275a0e6a1d5979089c7f80ac0adc39836228e1 SHA512 da8a66b32d3c275ca74b80158de08a056a521a8f9ec4b5df13a5f215f74d81ab16f95dbb2ba469448e3f5174adcef2c4f9db37dc60488a574bcaea5d04af54e5 WHIRLPOOL 3d2ab6a4af8c1b643b84ab7f3f94219075332106c351d90c1cc91f04004f991eb8f359c81a958ecac0e5b476071c58e179d89a3d6654bc58345968916ef23b62
+MISC metadata.xml 249 SHA256 d92f4663e317d15aa310d71020356d744cc23e6d8bc8a52ef44a2331a3c37adb SHA512 29a9c1817fd4299246d5fa995b73b9f1996b112b70f468139cf9cd8f07077d831e0788d3b93aaba67bb38dce5850830c27543fccbddbac02b0da4ff899def519 WHIRLPOOL b995ffbeda7d1119f53cf016f0ed502521258c348735fe3b362dc082e0f76cf1a09c0848bcfd8b8bc97d6afc6104628f9c3d116a1a8f4c393b1fcc2471f6ddfe
diff --git a/app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild b/app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild
new file mode 100644
index 000000000000..e161e7bdf2a3
--- /dev/null
+++ b/app-misc/astrolog-ephemeris/astrolog-ephemeris-5.40.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="ephemeris files for optional extended accuracy of astrolog's calculations"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ephem/ephemall.zip"
+
+LICENSE="astrolog"
+SLOT="0"
+# works fine on x86 - runs probably on other architectures, too
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+RDEPEND="app-misc/astrolog"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_install() {
+ dodir /usr/share/astrolog
+ cp * "${D}"/usr/share/astrolog || die "cp failed"
+}
diff --git a/app-misc/astrolog-ephemeris/metadata.xml b/app-misc/astrolog-ephemeris/metadata.xml
new file mode 100644
index 000000000000..0c6991d7902b
--- /dev/null
+++ b/app-misc/astrolog-ephemeris/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/astrolog/Manifest b/app-misc/astrolog/Manifest
new file mode 100644
index 000000000000..79c6f484a372
--- /dev/null
+++ b/app-misc/astrolog/Manifest
@@ -0,0 +1,7 @@
+DIST ast54unx.shr 1465432 SHA256 6700d393a421c16076d1aad37f171fde6293f1c062ec6a6ee07a884182287736 SHA512 824fcea1891dafc77692e84a36cc97a8afd90ad93d772edab8437e89869cdc912002f628fd86eecc8182ba4f1ad02cb98f42a30fde425bf94cf59f852b4eda1a WHIRLPOOL 6538f1e1d41a1a23dc476ffbe3f153d43e22829614ecbb71fa5c4f2b31b9ee799291ef7ac55283875f8e07324f9e416bb9f8092a97e354017796f7ff4fd42edd
+EBUILD astrolog-5.40-r1.ebuild 2095 SHA256 4884bfec34c8fc54021086d58087710111905b863a887d1f5bbbe3d5d8c3ce0c SHA512 3d7766d07a6c0df8c3e71e65524805eff84a4ae177612274e8731ec5b5fdb9f3df1717c93346dbf64971422bdb02127fbe1faf9b451abc8de1260d7b8814f8a8 WHIRLPOOL f3aac92349826a55c7917fa47f618d3d6d4a36b0e6287899ae0816e39e208f1880ac1a0f3db130e27b47687f4c214059c7b3dadbaf48b72e6c75c8a66778f916
+EBUILD astrolog-5.40-r2.ebuild 2093 SHA256 fba60999e4c79a619391970b69b6066702b06034920e7d0945c36230d942869a SHA512 d92361442fd0733d94add2d2a132589fe02d71b60e1263da0ee539fede76558545d3ffed8dfe5120307032031e1e9a46e4658cab9c2d2b46ebe633d1bbac84ed WHIRLPOOL 0e9dec774e1293536bed39befff496f0336c845e7a95de512cbd090407ea7814b19bc6b1878df70306bd541c173a400cda6a35fbcb96fc4c5e2f4fbd707a289e
+EBUILD astrolog-5.40-r3.ebuild 2128 SHA256 fd68f14c531c0e2749bda69e889450a66cebb4c8cda80d6106b1e798aee6578c SHA512 278e7ac93f8fd3e71c8291bf63cf19ff0dac00f78288b9dbcaf6f80107e2cc88d1f00c01521f08be3af8cb26f2d2d2147b578a6ceee0b2f11a13cb42aa6ffed8 WHIRLPOOL 45493d573f71d30f734e76040c6d52872a0b316d5a4b8003bf5595c03fc307e5262b619e6abddf765bb9ffcdfa37a6132460412bda1359424979193a264603b8
+MISC ChangeLog 2570 SHA256 1d39f73e00fd058ab8cbbab55983eef0bcb912e4b28f20aff723c725044f4f7f SHA512 ff9f90532aeb88fc3dfe0cf698f424da8073ab697827215b4aa831d1e96d46ad6315e65b35daf30897dd8503e4ebf766ee1c37e2ba33928124e26f80a3cb6f9b WHIRLPOOL f127dbc7af9404ca54aa4d60721a6e8ab0c187e0fc17185440880fce7bf32f155064e88237ecc8684313b869451b95605fd444b6689b3b99489e8e6b0c2e8279
+MISC ChangeLog-2015 2656 SHA256 da94fd21fc1342f62a873681653833d6ecdc4456e0ba686dc6a27980be995881 SHA512 f183e109d11e54aecd43c8a90e88614b596aea8049af596f2efcdd0d292b1255851c371b1e2b563a3ded5e25468c38d8d27c63d7decacca9819857943f865107 WHIRLPOOL d6bc339e794cf75613431a163dd80d83bebff4811ac79251aac50fe9fdbeefe7f805eb6158d76152168a50766d8dd3b1696f33f3463e5d082dfddf9d2a12cd39
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/astrolog/astrolog-5.40-r1.ebuild b/app-misc/astrolog/astrolog-5.40-r1.ebuild
new file mode 100644
index 000000000000..6fe1978c6375
--- /dev/null
+++ b/app-misc/astrolog/astrolog-5.40-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="A many featured astrology chart calculation program"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
+LICENSE="astrolog"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ sh "${DISTDIR}"/ast54unx.shr || die
+}
+
+src_prepare() {
+ # remove stripping of created binary, dump hardcoded CFLAGS,
+ # respect CC (bug #243606), and CFLAGS (bug #240057)
+ sed \
+ -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
+ -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
+ -i Makefile || die
+
+ # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
+ sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
+
+ # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
+ #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
+
+ # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
+ # and remove the "#define X11" and "#define MOUSE" from astrolog.h
+ use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile
+ sed -i -e "s:#define X11:/*#define X11:g" astrolog.h
+ sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h )
+
+ # any user may have an own astrolog configfile
+ #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin astrolog
+ dodoc Helpfile.540 README.1ST README.540 Update.540
+ insinto /usr/share/astrolog
+ doins astrolog.dat
+}
+
+pkg_postinst() {
+ ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat"
+ ewarn "astrolog looks in current dir for a file astrolog.dat before"
+ ewarn "using the file in /usr/share/astrolog"
+ ewarn "If you want extended accuracy of astrolog's calculations you"
+ ewarn "can emerge the optional package \"astrolog-ephemeris\" which"
+ ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files"
+}
diff --git a/app-misc/astrolog/astrolog-5.40-r2.ebuild b/app-misc/astrolog/astrolog-5.40-r2.ebuild
new file mode 100644
index 000000000000..99247e390a4c
--- /dev/null
+++ b/app-misc/astrolog/astrolog-5.40-r2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="A many featured astrology chart calculation program"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
+LICENSE="astrolog"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ sh "${DISTDIR}"/ast54unx.shr || die
+}
+
+src_prepare() {
+ # remove stripping of created binary, dump hardcoded CFLAGS,
+ # respect CC (bug #243606), and CFLAGS (bug #240057)
+ sed \
+ -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
+ -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
+ -i Makefile || die
+
+ # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
+ sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
+
+ # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
+ #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
+
+ # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
+ # and remove the "#define X11" and "#define MOUSE" from astrolog.h
+ use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile
+ sed -i -e "s:#define X11:/*#define X11:g" astrolog.h
+ sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h )
+
+ # any user may have an own astrolog configfile
+ #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin astrolog
+ dodoc Helpfile.540 README.1ST README.540 Update.540
+ insinto /usr/share/astrolog
+ doins astrolog.dat
+}
+
+pkg_postinst() {
+ ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat"
+ ewarn "astrolog looks in current dir for a file astrolog.dat before"
+ ewarn "using the file in /usr/share/astrolog"
+ ewarn "If you want extended accuracy of astrolog's calculations you"
+ ewarn "can emerge the optional package \"astrolog-ephemeris\" which"
+ ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files"
+}
diff --git a/app-misc/astrolog/astrolog-5.40-r3.ebuild b/app-misc/astrolog/astrolog-5.40-r3.ebuild
new file mode 100644
index 000000000000..d75e36445013
--- /dev/null
+++ b/app-misc/astrolog/astrolog-5.40-r3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A many featured astrology chart calculation program"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
+LICENSE="astrolog"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ sh "${DISTDIR}"/ast54unx.shr || die
+}
+
+src_prepare() {
+ default
+
+ # remove stripping of created binary, dump hardcoded CFLAGS,
+ # respect CC (bug #243606), and CFLAGS (bug #240057)
+ sed \
+ -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
+ -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
+ -i Makefile || die
+
+ # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
+ sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
+
+ # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
+ #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
+
+ # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
+ # and remove the "#define X11" and "#define MOUSE" from astrolog.h
+ use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile || die
+ sed -i -e "s:#define X11:/*#define X11:g" astrolog.h || die
+ sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h || die)
+
+ # any user may have an own astrolog configfile
+ #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin astrolog
+ dodoc Helpfile.540 README.1ST README.540 Update.540
+ insinto /usr/share/astrolog
+ doins astrolog.dat
+}
+
+pkg_postinst() {
+ elog "There is a sample config file /usr/share/astrolog/astrolog.dat"
+ elog "astrolog looks in current dir for a file astrolog.dat before"
+ elog "using the file in /usr/share/astrolog"
+ elog "If you want extended accuracy of astrolog's calculations you"
+ elog "can emerge the optional package \"astrolog-ephemeris\" which"
+ elog "needs ~4.7 MB additional diskspace for the ephemeris-files"
+}
diff --git a/app-misc/astrolog/metadata.xml b/app-misc/astrolog/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/astrolog/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/away/Manifest b/app-misc/away/Manifest
new file mode 100644
index 000000000000..c4c9fa048d09
--- /dev/null
+++ b/app-misc/away/Manifest
@@ -0,0 +1,6 @@
+DIST away-0.9.5.tar.bz2 16909 SHA256 d8ca7d4f63634b8093e90f99b4cdf99920a13ae905c61c21095c07edd9d0ec7a SHA512 9cb0ab5caf80e337ce524ec88ee0ffc5305080be807494ababd122d7c5a00b7e79711537d74d930eb3768a71a31156e9abe5e0d9d424a201a9af31aa1bbc1c2a WHIRLPOOL 436f12d6e44263c999398e58188711af4ef91162e9105e18f9262e581d7d70228fea36cd722b7db63dab519310a80534ce921c306584144bf47b9d1ff47d7491
+EBUILD away-0.9.5-r1.ebuild 846 SHA256 52ad38fbc4dcdb44f4844be3cc3af7bbf98e7a7faab4b5ecf0f6a06c85e7554b SHA512 1ed2bf3c0a588bd5400c17f71859049b2c24dccaf3f00ac4c8374cf07838542a4e8069d1874b16143ce70daf0857d63adb3677c87d4cdbeb0b4c057ce50714e4 WHIRLPOOL 1d188bafb3db6e319ed6a0fde26198a61c47253f39b3e0f04ffa63f4edf0810f6cb3fe8f18bb9071a69f4b06a357bb7e95a759f9ffb9a59000249440904a099f
+EBUILD away-0.9.5-r2.ebuild 811 SHA256 e25992a81b5303c2e31319274fbe2f22668b11daf1a2dfc36e5963c69e6ff70b SHA512 937f62d6dda240ca6e0e14264da32a19f3dd0e209f54e7ae5da85fa47ede297fa57763938d286a255c3628ec8a30ca2f8236a1ee7771ab4d2651e1b57793a67d WHIRLPOOL cb6cac27700b7a7029e857b283c50c42c438d7b691c5def925d05720488013a20a83d699b516540336574b5b0489aacdb4e3bf2d9844979247b2a8f608bbfd94
+MISC ChangeLog 2519 SHA256 1357a6c5ec0a9cafac8c304c2604be279b36290c60cf3f13c6248ca4d57cf4b9 SHA512 a4c499639d80f4c0e3b830c23b512ddb956308238856ada75714783d019cc69b89e0653d29a94ad804668ac1eb47abbe49d97ba31ffc032ba5b16757e95c4b00 WHIRLPOOL cf689fa59efa88c46d3915bf4d680dac4d8bf73e7498aceecd0f858ac356b45f11c7bed003584b950ae8c946cd4a353d5e087078b79287241e027ca7c6cdc23b
+MISC ChangeLog-2015 2278 SHA256 adc5136d1c5eb329b151c84190210ec0c77faa001bf4a15284473ade732bc10e SHA512 8f87b12ace9cec3bf5b310859f121991bcae323b806270bc77c4822854101491e9444db8024a54334cd6838ecd86a18ee2dd95c32f3dbf9a1be92121202fda8d WHIRLPOOL d17bd81dcbd21b2bea4dbd2b306a7c331a35cf513a567e7310dd35fa7b91e9be86649f6ac4b61aa67fcb80eb050f77759c291a6da78517b3d68e4a5bc3af34b1
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/away/away-0.9.5-r1.ebuild b/app-misc/away/away-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..1b481dedd1b0
--- /dev/null
+++ b/app-misc/away/away-0.9.5-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit pam toolchain-funcs flag-o-matic
+
+DESCRIPTION="Terminal locking program with few additional features"
+HOMEPAGE="http://unbeatenpath.net/software/away/"
+SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/pam-0.75"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e '/-o \$(BINARY)/d' \
+ -e 's:LIBS:LDLIBS:' \
+ "${S}"/Makefile || die "Makefile fix failed"
+}
+src_compile() {
+ append-flags -pthread
+
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin away || die "dobin failed"
+
+ pamd_mimic_system away auth
+
+ doman doc/*
+ dodoc BUGS AUTHORS NEWS README TODO data/awayrc || die "dodoc failed"
+}
diff --git a/app-misc/away/away-0.9.5-r2.ebuild b/app-misc/away/away-0.9.5-r2.ebuild
new file mode 100644
index 000000000000..ed55ee02ecef
--- /dev/null
+++ b/app-misc/away/away-0.9.5-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pam toolchain-funcs flag-o-matic
+
+DESCRIPTION="Terminal locking program with few additional features"
+HOMEPAGE="http://unbeatenpath.net/software/away/"
+SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/pam-0.75"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e '/-o \$(BINARY)/d' \
+ -e 's:LIBS:LDLIBS:' \
+ "${S}"/Makefile || die "Makefile fix failed"
+
+}
+
+src_compile() {
+ append-flags -pthread
+
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dobin away
+
+ pamd_mimic_system away auth
+
+ doman doc/*
+ dodoc BUGS AUTHORS NEWS README TODO data/awayrc
+}
diff --git a/app-misc/away/metadata.xml b/app-misc/away/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/away/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/banner/Manifest b/app-misc/banner/Manifest
new file mode 100644
index 000000000000..1d976a25b548
--- /dev/null
+++ b/app-misc/banner/Manifest
@@ -0,0 +1,6 @@
+AUX banner-1.3.3-ctype.h.patch 158 SHA256 b7d4b18dfe16ff7c23611a5b643dd69d51cb20b1cd48b793c8a622b63eb637eb SHA512 84fa0555f3fd6c41c3cdf06db92711e9be4c08e32b182ffdcd1385cccdf0d9056a7e3c61431e4a73d660b3314f763ad7e109f0b84105bd555e0c5d60a63746d8 WHIRLPOOL 38c85f787b931069ff7febd5fb737d0eefc2af0bf00e39e1443c406090a8fd08a262bd20f286086b6c9ef785c57a5c3962e90d94b479b1aa8796bd40982bad61
+DIST banner-1.3.3.tar.gz 114237 SHA256 bbc0c166da751d2055f76fde7a268a1ea008e4b6f949b767ab79ff07d47a4bda SHA512 38f16f2a25bd7fb270056ebe43691c989a808891ecc75e4f794456d1752a07002efb7ba7b90a2000a40704e6b6f11760b47a3fe59deeb05ff3578f0d982f7d96 WHIRLPOOL bea44375446950d737e4f7472d8f9305eb640f339e1c846f43e407bd0a26da95194e97029e52fa126d50ce6f757279ee939763aafa7ee5cef19229a308bafbf3
+EBUILD banner-1.3.3.ebuild 492 SHA256 926c0897da6f9e8e9f2096c96f73fe11763394bb0212f0ae465bb7ee53051489 SHA512 b25184eae18eb9918ad8873d38a5002d2cf7e9fdaebd1439a6d18014aede27ee87a3598d0a7e5a8a881d437de476f45b4f739013d949d59129b4d54ab476a4f2 WHIRLPOOL 713da1c6630eaf5dd890de857ab89fdb415b9ae190c912ce67c72ac90638d4a4f34e368b2ff854a64d8e181faefb3572ae6b9c0fa4086d882603ff1080e3b82b
+MISC ChangeLog 2459 SHA256 150f0a97f4418238d085dabca61ad7b2d1240028c8861d4d5dd211ac55e66cb5 SHA512 4171ad633a7c365bdfb87bdcf980e283a8ec1369fb26c4b6b2862140d142ed694461df3ee4ae92a4c893913b97a9ee4cfb7280ce6f7c14063d04b791af0a8f86 WHIRLPOOL a81a487a0ca07b3ef48244b56977f52299e26b16fa852a2a2533742c5048efdf4e55c61951afcb364ba108b9d13b3796b1241a8933dfde696c9f3fcef7b7825b
+MISC ChangeLog-2015 4580 SHA256 7351836ed0fd751e62c0d89e4600210efb93c43f653f8a59e699f72aa06b455a SHA512 429994a09b7cc249abc21907ccad34b05f9bba07753ccf1040cd5e3b55c14f3d967061351775fabd076520242467da5983fa3a28ae2f0f89b21e5d533992b435 WHIRLPOOL 45405e370a8c3aa2787f5a86f126bfb9bcfd0ce4dbd351bd34a1fefd26b8aec571ded88eed7b00b84364c34506d87f00b05a291db33842e3ee33a0ab56658ea7
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/app-misc/banner/banner-1.3.3.ebuild b/app-misc/banner/banner-1.3.3.ebuild
new file mode 100644
index 000000000000..827111bf412c
--- /dev/null
+++ b/app-misc/banner/banner-1.3.3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="The well known banner program for Linux"
+HOMEPAGE="http://cedar-solutions.com"
+SRC_URI="http://cedar-solutions.com/ftp/software/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+DEPEND="!games-misc/bsd-games"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ctype.h.patch
+}
diff --git a/app-misc/banner/files/banner-1.3.3-ctype.h.patch b/app-misc/banner/files/banner-1.3.3-ctype.h.patch
new file mode 100644
index 000000000000..c89e1b3fe8d1
--- /dev/null
+++ b/app-misc/banner/files/banner-1.3.3-ctype.h.patch
@@ -0,0 +1,11 @@
+--- a/banner.c
++++ b/banner.c
+@@ -126,6 +126,8 @@
+ #include <string.h>
+ #endif
+
++#include <ctype.h> /* isspace() toupper() */
++
+ #include "letters.h"
+
+
diff --git a/app-misc/banner/metadata.xml b/app-misc/banner/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/app-misc/banner/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/bb/Manifest b/app-misc/bb/Manifest
new file mode 100644
index 000000000000..c2dbee1a85e5
--- /dev/null
+++ b/app-misc/bb/Manifest
@@ -0,0 +1,14 @@
+AUX bb-1.3.0_rc1-disable-pulse.patch 803 SHA256 d2b40446ea228618d819801bd88944b38000b97ce954d3ed3cb1acdbd8351d24 SHA512 97f5255b19ea80c68eaa53aa6c9db55ad5e38e9749db24ba035ab5894cd5f9675dc0bbe695ec78d3e41037d771f669b9cf792feb41c0acc615b53cdf9eefbc1f WHIRLPOOL 9dd3d61f09274997aa3c625d4f8d0c5cdc00e3a805dbdb3c357111e2cb32c46e25961c4fc9dbd73b84ae6fa663d568eb721737704cbd450b758f70f920cdb49d
+AUX bb-1.3.0_rc1-fix-protos.patch 369 SHA256 44fbe09a7ec1dd12f07e99aadec010eaffda8ada7fd836386956979906b49bc2 SHA512 0f078053b9fed2a20cdd02b606ab7172ac3210f975ee3965a7a8699acd9b8c9a12e1c8119cc916a408db8df5572ce5d1b6d78a1956f055261b74abc4ce9fb960 WHIRLPOOL e5740fe664bcaff28a07b451b48381fe31b055eaa6772306386c11ceb70195efb743b0307c0768d24bb309b4716d609954c9c31be70bc57330dc4377bfe4a106
+AUX bb-1.3.0_rc1-m4-stuff.patch 16358 SHA256 44681b92cb690581892803a21c971f1137e39b023e2c95aa6bc16921addf6ff2 SHA512 cfa47a1aa4c602b789c9b6d8fd9b163639971f270c66030a4219b65169ddc83ed5c917665195c6533afb45364ac1d8a45879d341421e9e9c5e8ea44edb57087d WHIRLPOOL a6a741685e7d0de873ea88851b6129e66be133bb1c4e99c7894b4eb7f0ff2d0b9c27ba1f9cccb2e916bf7d120b59ee7058465cedcf059cb999e120faf06343a7
+AUX bb-1.3.0_rc1-messager-overlap.patch 1623 SHA256 c8db5f70a14373e5a29afd04406e2ff9b307a605c2531aeb5d41b704d24861e8 SHA512 745dd6e5ed1bd1760509183ea4884f575b035165f6c0b9be804dbb28378ed39c899562c75aa1db8e006bff23734181fd5604092adae31de71685b728f78a173b WHIRLPOOL c07fedd2ae6415b8de6b560c863811ba16efd28063dd0bec45e9faaa2d5cf3637e6da5f2a9c6c7d0224e79cc1845b4e518b9b95aaaa81895b385323c973dbdc6
+AUX bb-1.3.0_rc1-noattr.patch 509 SHA256 53463b5dca4b5b1240a39e4b41055e7583447d6c551131b1012ab559c61a6b29 SHA512 e7c4831d8286db8afa0710a11d150e254d6fc738f91d45be6aaeddfcbdf4c530c1cc21091f967d9ba8ef6a399321d6c3ccf194d686a1a77861c72eb60454726c WHIRLPOOL 82cf1ab1f688a082bb97274aee386edf751aa8c3cfcd71ae0658018f5aa27d66d5b54a3dd7f257df2e3bec67adfb48b88e35b284e5f2d9334c09c0bdc9795ac0
+AUX bb-1.3.0_rc1-printf-cleanup.patch 2885 SHA256 12c5ede2a13eba22801261b16675dd0c2c3b5d0b68114f441da8ac4411d83235 SHA512 c7181ace0914f9aac7963c473019058fe4d7340337fc19d06ae252bb6bfb2c96b9883915a903f419fb706916796906497c77ad4180d9d861a2a255959b1507de WHIRLPOOL f5beb4d095249b1a390373ba1027028efc9204ee9afd28f7073a9e2a322461ef18efd7bba2d91ae34be0755ba29bf72df2707af7a42248e3e9b44ffe6e468876
+AUX bb-1.3.0_rc1-protos.patch 297 SHA256 d5a7822116e4a2246772cd45f5a0df8ab5f61d97cb4505e8e54aece0c46cd5e1 SHA512 5e59bb912f1a5187e6a23fc9a66ddbed6e48c12074fd4d74b19fb88bc94aa39b8df27d62cfe8f7856a9e434f2be15261522a4150cb0f92588b53c99e33b853de WHIRLPOOL 01fe0d46951f72d31b31987f47373a9c726643b8a6f50eb7b6bad41f20d289f3ed05a57b4bbdfb190bd95eb149daeb5448b26ad7428089ea5301e2aa69f4873f
+AUX bb-1.3.0_rc1-zbuff-fault.patch 1105 SHA256 f0e759752c40df22b70feb97997b374f154f0d8d5960091fcfe5b75e6bb3ec9a SHA512 10159f628d993058074d6c97001acad2bc4c71df4331cea2f0d6c1b8bd8c578e230d2cc2e4313457c75252108ab136a1ccc8a626a760fcd4e024b6a370ed1e59 WHIRLPOOL ff029ea55109e54ed8cee9ea63c361444cd8da4a9bcf55f5d20c8e83735d474013199c4f1cbf2692a2a644686ff6c5b55e6a2148ca88e59b7142c92f29da6116
+DIST bb-1.3rc1.tar.gz 1416292 SHA256 793d88c872793b6dab444cf5bab24f283ecb2f3502f1479ebbe41dd8e90b81c4 SHA512 f05eb741f1189038a5a63016437f8eaeb25eb001307561bfe8827701bc246873fec14462e586d5966dcd1c74cddaf346f4670254b712713625e139300817c0a9 WHIRLPOOL 3e56032a2dc593eb91418deb6ca13d641177068755b5ee5c7d836ff0e444e4f4a0f3453d3d841f7a6f4dae007b3188cccb2fc478aad6dc2f94684ac5221023c7
+EBUILD bb-1.3.0_rc1-r3.ebuild 1799 SHA256 698f9a8c5975b270b5a8b985fcebd584a255a290affe255f24f82ab5df504fbe SHA512 8ea1fe26660536ac59f49d8d7769eaf80e38e12bee8109915700f540c18f215ae779fe8f3825d0c1f19a0164fbcca9cea1170ca11a9ddbbc71fca642b0f264f0 WHIRLPOOL 7c6f01141fda0ee606339c96f8434ed59bbabd6d22674611ec9c853175f1505baf6ca1a7302eceec343225bfbc1044da191742cd42f83c35399e4a568e061263
+EBUILD bb-1.3.0_rc1-r4.ebuild 1952 SHA256 245b13df8e5fec80f9731361a2e1fc7ebb39b30c15ef5ed8a5e1be4e32703c0e SHA512 03ff0c98c1d052fbfd971da49f98377d249bc3e730907edb3f928f91470b85dcf954bc63d7286223764826cdd8e713225cf9c5d8929eb59209b04e7cc5fc1a28 WHIRLPOOL 881afd9e612099009929aaa7330df06f0761b849be752609ece3c5a383c678c6c5d0e01ea31738fa75c7f5a11959e5c385186728456887afc1e50da4741cf1b7
+MISC ChangeLog 2946 SHA256 ba0889713295ca85cb7f7ee74ca9f482dc36646af20cf8cfd53118401bec6186 SHA512 ce08dfc47203b79dabac54884b3c53ce3ac1bd51a7427274d0b9065dab51c1b2287b050f9a87f72baeb3249ac683fae7a7376f3e67fd662dda22da6d462a5dac WHIRLPOOL f94a016bbfa615bbd1092b2e208ccb57714fec3ad21e809da94da8c90901dc0b3fa41a401fa8374ccd20e2136b1a389ce4931340b0d1029f84a5b3c75669b7a4
+MISC ChangeLog-2015 1797 SHA256 0a3dad3197551f4709a459adda2f2fae8302ad136c75274f1bb453606e02834b SHA512 cb0da2495db769a430d60755bc353681676a5a59bf4d7b9a891c9ee9e6d96b337b00c2c434136389e5e7dfbb989681315c018d4f0023d33972f85c44f75b9daf WHIRLPOOL f55ce84d68124e29b8cde7b317bfd43ee777bb99a029f197f62648de2778a219d7dcbdf19210104449d0a64889ff97868633c03b3d894af298bb15a7b1e17d37
+MISC metadata.xml 331 SHA256 9bce04f65a7500677b2e6a4de9591fb01a33d9152a61c8fa74df9790c60eed62 SHA512 12b5d682065c1178989edc16c08b82bd57833e161e647fa81dfee06a55c2147b5229093196b2157bc8ca421c9fd459ce015fb5dac2de1e35e1ad908d2120e0ed WHIRLPOOL a033266490a01222f893143f7740f9a480d507cf4cc5ab822a81d817152409a919f79663bccc85e29243ae81e2804ded84354d1b11c71251947f9092a0c7176f
diff --git a/app-misc/bb/bb-1.3.0_rc1-r3.ebuild b/app-misc/bb/bb-1.3.0_rc1-r3.ebuild
new file mode 100644
index 000000000000..467732903e63
--- /dev/null
+++ b/app-misc/bb/bb-1.3.0_rc1-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils versionator
+
+MY_P="${PN}-$(get_version_component_range 1-2)$(get_version_component_range 4-4)"
+
+DESCRIPTION="Demonstration program for visual effects of aalib"
+HOMEPAGE="http://aa-project.sourceforge.net/"
+SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mikmod"
+
+DEPEND="media-libs/aalib:=
+ dev-libs/lzo:=
+ mikmod? ( media-libs/libmikmod:= )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-noattr.patch"
+ epatch "${FILESDIR}/${P}-fix-protos.patch"
+ epatch "${FILESDIR}"/${P}-messager-overlap.patch
+ epatch "${FILESDIR}"/${P}-zbuff-fault.patch
+ epatch "${FILESDIR}"/${P}-printf-cleanup.patch
+ epatch "${FILESDIR}"/${P}-m4-stuff.patch
+
+ # unbundle lzo, #515286
+ rm -v README.LZO minilzo.{c,h} mylzo.h || die
+ sed -e 's/minilzo.c//' \
+ -e 's/minilzo.h//' \
+ -e 's/README.LZO//' \
+ -i Makefile.am || die
+ echo 'bb_LDADD = -llzo2' >> Makefile.am || die
+ # update code
+ sed -e 's,#include "minilzo.h",#include <lzo/lzo1x.h>,' \
+ -e 's,int size = image,lzo_uint size = image,' \
+ -i image.c || die
+
+ # rename binary and manpage bb -> bb-aalib
+
+ mv bb.1 bb-aalib.1 || die
+ sed -e 's/bb/bb-aalib/' \
+ -i bb-aalib.1
+ sed -e 's/bin_PROGRAMS = bb/bin_PROGRAMS = bb-aalib/' \
+ -e 's/man_MANS = bb.1/man_MANS = bb-aalib.1/' \
+ -e 's/bb_SOURCES/bb_aalib_SOURCES/' \
+ -e 's/bb_LDADD/bb_aalib_LDADD/' \
+ -i Makefile.am || die
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+pkg_postinst() {
+ elog "bb binary has been renamed to bb-aalib to avoid a naming conflict with sys-apps/busybox."
+}
diff --git a/app-misc/bb/bb-1.3.0_rc1-r4.ebuild b/app-misc/bb/bb-1.3.0_rc1-r4.ebuild
new file mode 100644
index 000000000000..51619fefdd36
--- /dev/null
+++ b/app-misc/bb/bb-1.3.0_rc1-r4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils versionator
+
+MY_P="${PN}-$(get_version_component_range 1-2)$(get_version_component_range 4-4)"
+
+DESCRIPTION="Demonstration program for visual effects of aalib"
+HOMEPAGE="http://aa-project.sourceforge.net/"
+SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="mikmod"
+
+DEPEND="media-libs/aalib:=
+ dev-libs/lzo:=
+ mikmod? ( media-libs/libmikmod:=[openal] )
+"
+# media-libs/libmikmod[openal] is due to bug #516964
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-noattr.patch
+ epatch "${FILESDIR}"/${P}-fix-protos.patch
+ epatch "${FILESDIR}"/${P}-messager-overlap.patch
+ epatch "${FILESDIR}"/${P}-zbuff-fault.patch
+ epatch "${FILESDIR}"/${P}-printf-cleanup.patch
+ epatch "${FILESDIR}"/${P}-m4-stuff.patch
+ epatch "${FILESDIR}"/${P}-protos.patch
+ epatch "${FILESDIR}"/${P}-disable-pulse.patch
+
+ # unbundle lzo, #515286
+ rm -v README.LZO minilzo.{c,h} mylzo.h || die
+ sed -e 's/minilzo.c//' \
+ -e 's/minilzo.h//' \
+ -e 's/README.LZO//' \
+ -i Makefile.am || die
+ echo 'bb_LDADD = -llzo2' >> Makefile.am || die
+ # update code
+ sed -e 's,#include "minilzo.h",#include <lzo/lzo1x.h>,' \
+ -e 's,int size = image,lzo_uint size = image,' \
+ -i image.c || die
+
+ # rename binary and manpage bb -> bb-aalib
+
+ mv bb.1 bb-aalib.1 || die
+ sed -e 's/bb/bb-aalib/' \
+ -i bb-aalib.1
+ sed -e 's/bin_PROGRAMS = bb/bin_PROGRAMS = bb-aalib/' \
+ -e 's/man_MANS = bb.1/man_MANS = bb-aalib.1/' \
+ -e 's/bb_SOURCES/bb_aalib_SOURCES/' \
+ -e 's/bb_LDADD/bb_aalib_LDADD/' \
+ -i Makefile.am || die
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+pkg_postinst() {
+ elog "bb binary has been renamed to bb-aalib to avoid a naming conflict with sys-apps/busybox."
+}
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-disable-pulse.patch b/app-misc/bb/files/bb-1.3.0_rc1-disable-pulse.patch
new file mode 100644
index 000000000000..dcc00c642335
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-disable-pulse.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/516964
+diff --git a/main.c b/main.c
+index c0648b4..a9fac57 100644
+--- a/main.c
++++ b/main.c
+@@ -160,6 +160,17 @@ main (int argc, char *argv[])
+ aa_flush (context);
+ if (tolower (aa_getkey (context, 1)) != 'n')
+ {
++ /* Unfortunately recently added native pulseaudio
++ * driver in libmikmod does not allow you to
++ * call 'MikMod_Update' in a non-blocking way.
++ *
++ * It's a known limitation of simple pulseaudio API
++ * thus we derevisted pulseaudio driver to fallback
++ * on alsa, oss or whatever used to work for user.
++ */
++ drv_pulseaudio.Name = NULL;
++ drv_pulseaudio.Version = NULL;
++
+ MikMod_RegisterAllDrivers ();
+ MikMod_RegisterLoader (&load_s3m);
+ /*md_mode |= DMODE_SOFT_MUSIC; */
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch b/app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch
new file mode 100644
index 000000000000..577f306c8169
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-fix-protos.patch
@@ -0,0 +1,15 @@
+Fixes warning:
+main.c: In function 'load_song':
+main.c:56:23: warning: incompatible implicit declaration of built-in function 'strlen'
+diff --git a/main.c b/main.c
+index ae852a7..417ff62 100644
+--- a/main.c
++++ b/main.c
+@@ -21,6 +21,7 @@
+ * 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
++#include <string.h>
+ #include <unistd.h>
+ #include "timers.h"
+ #include "bb.h"
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch b/app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch
new file mode 100644
index 000000000000..0fa98f8162f5
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-m4-stuff.patch
@@ -0,0 +1,396 @@
+Fix aclocal failure on libmikmod-less systems
+
+commit 55b86efdc3e2a1febb593169b10ab252c75fdb10
+Author: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Tue Feb 7 10:59:09 2012 +0300
+
+ bb-1.3.0_rc1: bundle m4 source
+
+diff --git m4/aalib.m4 m4/aalib.m4
+new file mode 100644
+index 0000000..991fbda
+--- /dev/null
++++ m4/aalib.m4
+@@ -0,0 +1,169 @@
++# Configure paths for AALIB
++# Jan Hubicka 4/22/2001
++# stolen from Sam Lantinga 9/21/99
++# stolen from Manish Singh
++# stolen back from Frank Belew
++# stolen from Manish Singh
++# Shamelessly stolen from Owen Taylor
++
++dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
++dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
++dnl
++AC_DEFUN([AM_PATH_AALIB],
++[dnl
++dnl Get the cflags and libraries from the aalib-config script
++dnl
++AC_ARG_WITH(aalib-prefix,[ --with-aalib-prefix=PFX Prefix where AALIB is installed (optional)],
++ aalib_prefix="$withval", aalib_prefix="")
++AC_ARG_WITH(aalib-exec-prefix,[ --with-aalib-exec-prefix=PFX Exec prefix where AALIB is installed (optional)],
++ aalib_exec_prefix="$withval", aalib_exec_prefix="")
++AC_ARG_ENABLE(aalibtest, [ --disable-aalibtest Do not try to compile and run a test AALIB program],
++ , enable_aalibtest=yes)
++
++ if test x$aalib_exec_prefix != x ; then
++ aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix"
++ if test x${AALIB_CONFIG+set} != xset ; then
++ AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config
++ fi
++ fi
++ if test x$aalib_prefix != x ; then
++ aalib_args="$aalib_args --prefix=$aalib_prefix"
++ if test x${AALIB_CONFIG+set} != xset ; then
++ AALIB_CONFIG=$aalib_prefix/bin/aalib-config
++ fi
++ fi
++
++ AC_PATH_PROG(AALIB_CONFIG, aalib-config, no)
++ min_aalib_version=ifelse([$1], ,0.11.0,$1)
++ AC_MSG_CHECKING(for AALIB - version >= $min_aalib_version)
++ no_aalib=""
++ if test "$AALIB_CONFIG" = "no" ; then
++ no_aalib=yes
++ else
++ AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
++ AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
++
++ aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
++ aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
++ aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
++ if test "x$enable_aalibtest" = "xyes" ; then
++ ac_save_CFLAGS="$CFLAGS"
++ ac_save_LIBS="$LIBS"
++ CFLAGS="$CFLAGS $AALIB_CFLAGS"
++ LIBS="$LIBS $AALIB_LIBS"
++dnl
++dnl Now check if the installed AALIB is sufficiently new. (Also sanity
++dnl checks the results of aalib-config to some extent
++dnl
++ rm -f conf.aalibtest
++ AC_TRY_RUN([
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include "aalib.h"
++
++char*
++my_strdup (char *str)
++{
++ char *new_str;
++
++ if (str)
++ {
++ new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
++ strcpy (new_str, str);
++ }
++ else
++ new_str = NULL;
++
++ return new_str;
++}
++
++int main (int argc, char *argv[])
++{
++ int major, minor, micro;
++ char *tmp_version;
++
++ /* This hangs on some systems (?)
++ system ("touch conf.aalibtest");
++ */
++ { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); }
++
++ /* HP/UX 9 (%@#!) writes to sscanf strings */
++ tmp_version = my_strdup("$min_aalib_version");
++ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
++ printf("%s, bad version string\n", "$min_aalib_version");
++ exit(1);
++ }
++
++ if (($aalib_major_version > major) ||
++ (($aalib_major_version == major) && ($aalib_minor_version > minor)) ||
++ (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro)))
++ {
++ return 0;
++ }
++ else
++ {
++ printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version);
++ printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro);
++ printf("*** best to upgrade to the required version.\n");
++ printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n");
++ printf("*** to point to the correct copy of aalib-config, and remove the file\n");
++ printf("*** config.cache before re-running configure\n");
++ return 1;
++ }
++}
++
++],, no_aalib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
++ CFLAGS="$ac_save_CFLAGS"
++ LIBS="$ac_save_LIBS"
++ fi
++ fi
++ if test "x$no_aalib" = x ; then
++ AC_MSG_RESULT(yes)
++ ifelse([$2], , :, [$2])
++ else
++ AC_MSG_RESULT(no)
++ if test "$AALIB_CONFIG" = "no" ; then
++ echo "*** The aalib-config script installed by AALIB could not be found"
++ echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in"
++ echo "*** your path, or set the AALIB_CONFIG environment variable to the"
++ echo "*** full path to aalib-config."
++ else
++ if test -f conf.aalibtest ; then
++ :
++ else
++ echo "*** Could not run AALIB test program, checking why..."
++ CFLAGS="$CFLAGS $AALIB_CFLAGS"
++ LIBS="$LIBS $AALIB_LIBS"
++ AC_TRY_LINK([
++#include <stdio.h>
++#include "AALIB.h"
++], [ return 0; ],
++ [ echo "*** The test program compiled, but did not run. This usually means"
++ echo "*** that the run-time linker is not finding AALIB or finding the wrong"
++ echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your"
++ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
++ echo "*** to the installed location Also, make sure you have run ldconfig if that"
++ echo "*** is required on your system"
++ echo "***"
++ echo "*** If you have an old version installed, it is best to remove it, although"
++ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
++ [ echo "*** The test program failed to compile or link. See the file config.log for the"
++ echo "*** exact error that occured. This usually means AALIB was incorrectly installed"
++ echo "*** or that you have moved AALIB since it was installed. In the latter case, you"
++ echo "*** may want to edit the aalib-config script: $AALIB_CONFIG" ])
++ CFLAGS="$ac_save_CFLAGS"
++ LIBS="$ac_save_LIBS"
++ fi
++ fi
++ AALIB_CFLAGS=""
++ AALIB_LIBS=""
++ ifelse([$3], , :, [$3])
++ fi
++ AC_SUBST(AALIB_CFLAGS)
++ AC_SUBST(AALIB_LIBS)
++ rm -f conf.aalibtest
++])
+diff --git m4/libmikmod.m4 m4/libmikmod.m4
+new file mode 100644
+index 0000000..18feebe
+--- /dev/null
++++ m4/libmikmod.m4
+@@ -0,0 +1,207 @@
++# Configure paths for libmikmod
++#
++# Derived from glib.m4 (Owen Taylor 97-11-3)
++# Improved by Chris Butler
++#
++
++dnl AM_PATH_LIBMIKMOD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
++dnl Test for libmikmod, and define LIBMIKMOD_CFLAGS, LIBMIKMOD_LIBS and
++dnl LIBMIKMOD_LDADD
++dnl
++AC_DEFUN([AM_PATH_LIBMIKMOD],
++[dnl
++dnl Get the cflags and libraries from the libmikmod-config script
++dnl
++AC_ARG_WITH(libmikmod-prefix,[ --with-libmikmod-prefix=PFX Prefix where libmikmod is installed (optional)],
++ libmikmod_config_prefix="$withval", libmikmod_config_prefix="")
++AC_ARG_WITH(libmikmod-exec-prefix,[ --with-libmikmod-exec-prefix=PFX Exec prefix where libmikmod is installed (optional)],
++ libmikmod_config_exec_prefix="$withval", libmikmod_config_exec_prefix="")
++AC_ARG_ENABLE(libmikmodtest, [ --disable-libmikmodtest Do not try to compile and run a test libmikmod program],
++ , enable_libmikmodtest=yes)
++
++ if test x$libmikmod_config_exec_prefix != x ; then
++ libmikmod_config_args="$libmikmod_config_args --exec-prefix=$libmikmod_config_exec_prefix"
++ if test x${LIBMIKMOD_CONFIG+set} != xset ; then
++ LIBMIKMOD_CONFIG=$libmikmod_config_exec_prefix/bin/libmikmod-config
++ fi
++ fi
++ if test x$libmikmod_config_prefix != x ; then
++ libmikmod_config_args="$libmikmod_config_args --prefix=$libmikmod_config_prefix"
++ if test x${LIBMIKMOD_CONFIG+set} != xset ; then
++ LIBMIKMOD_CONFIG=$libmikmod_config_prefix/bin/libmikmod-config
++ fi
++ fi
++
++ AC_PATH_PROG(LIBMIKMOD_CONFIG, libmikmod-config, no)
++ min_libmikmod_version=ifelse([$1], ,3.1.5,$1)
++ AC_MSG_CHECKING(for libmikmod - version >= $min_libmikmod_version)
++ no_libmikmod=""
++ if test "$LIBMIKMOD_CONFIG" = "no" ; then
++ no_libmikmod=yes
++ else
++ LIBMIKMOD_CFLAGS=`$LIBMIKMOD_CONFIG $libmikmod_config_args --cflags`
++ LIBMIKMOD_LIBS=`$LIBMIKMOD_CONFIG $libmikmod_config_args --libs`
++ LIBMIKMOD_LDADD=`$LIBMIKMOD_CONFIG $libmikmod_config_args --ldadd`
++ libmikmod_config_major_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \
++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'`
++ libmikmod_config_minor_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \
++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'`
++ libmikmod_config_micro_version=`$LIBMIKMOD_CONFIG $libmikmod_config_args --version | \
++ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'`
++ if test "x$enable_libmikmodtest" = "xyes" ; then
++ ac_save_CFLAGS="$CFLAGS"
++ ac_save_LIBS="$LIBS"
++ AC_LANG_SAVE
++ AC_LANG_C
++ CFLAGS="$CFLAGS $LIBMIKMOD_CFLAGS $LIBMIKMOD_LDADD"
++ LIBS="$LIBMIKMOD_LIBS $LIBS"
++dnl
++dnl Now check if the installed libmikmod is sufficiently new. (Also sanity
++dnl checks the results of libmikmod-config to some extent
++dnl
++ rm -f conf.mikmodtest
++ AC_TRY_RUN([
++#include <mikmod.h>
++#include <stdio.h>
++#include <stdlib.h>
++
++char* my_strdup (char *str)
++{
++ char *new_str;
++
++ if (str) {
++ new_str = malloc ((strlen (str) + 1) * sizeof(char));
++ strcpy (new_str, str);
++ } else
++ new_str = NULL;
++
++ return new_str;
++}
++
++int main()
++{
++ int major,minor,micro;
++ int libmikmod_major_version,libmikmod_minor_version,libmikmod_micro_version;
++ char *tmp_version;
++
++ system("touch conf.mikmodtest");
++
++ /* HP/UX 9 (%@#!) writes to sscanf strings */
++ tmp_version = my_strdup("$min_libmikmod_version");
++ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
++ printf("%s, bad version string\n", "$min_libmikmod_version");
++ exit(1);
++ }
++
++ libmikmod_major_version=(MikMod_GetVersion() >> 16) & 255;
++ libmikmod_minor_version=(MikMod_GetVersion() >> 8) & 255;
++ libmikmod_micro_version=(MikMod_GetVersion() ) & 255;
++
++ if ((libmikmod_major_version != $libmikmod_config_major_version) ||
++ (libmikmod_minor_version != $libmikmod_config_minor_version) ||
++ (libmikmod_micro_version != $libmikmod_config_micro_version))
++ {
++ printf("\n*** 'libmikmod-config --version' returned %d.%d.%d, but libmikmod (%d.%d.%d)\n",
++ $libmikmod_config_major_version, $libmikmod_config_minor_version, $libmikmod_config_micro_version,
++ libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
++ printf ("*** was found! If libmikmod-config was correct, then it is best\n");
++ printf ("*** to remove the old version of libmikmod. You may also be able to fix the error\n");
++ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
++ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
++ printf("*** required on your system.\n");
++ printf("*** If libmikmod-config was wrong, set the environment variable LIBMIKMOD_CONFIG\n");
++ printf("*** to point to the correct copy of libmikmod-config, and remove the file config.cache\n");
++ printf("*** before re-running configure\n");
++ }
++ else if ((libmikmod_major_version != LIBMIKMOD_VERSION_MAJOR) ||
++ (libmikmod_minor_version != LIBMIKMOD_VERSION_MINOR) ||
++ (libmikmod_micro_version != LIBMIKMOD_REVISION))
++ {
++ printf("*** libmikmod header files (version %d.%d.%d) do not match\n",
++ LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION);
++ printf("*** library (version %d.%d.%d)\n",
++ libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
++ }
++ else
++ {
++ if ((libmikmod_major_version > major) ||
++ ((libmikmod_major_version == major) && (libmikmod_minor_version > minor)) ||
++ ((libmikmod_major_version == major) && (libmikmod_minor_version == minor) && (libmikmod_micro_version >= micro)))
++ {
++ return 0;
++ }
++ else
++ {
++ printf("\n*** An old version of libmikmod (%d.%d.%d) was found.\n",
++ libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);
++ printf("*** You need a version of libmikmod newer than %d.%d.%d.\n",
++ major, minor, micro);
++ printf("***\n");
++ printf("*** If you have already installed a sufficiently new version, this error\n");
++ printf("*** probably means that the wrong copy of the libmikmod-config shell script is\n");
++ printf("*** being found. The easiest way to fix this is to remove the old version\n");
++ printf("*** of libmikmod, but you can also set the LIBMIKMOD_CONFIG environment to point to the\n");
++ printf("*** correct copy of libmikmod-config. (In this case, you will have to\n");
++ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
++ printf("*** so that the correct libraries are found at run-time))\n");
++ }
++ }
++ return 1;
++}
++],, no_libmikmod=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
++ CFLAGS="$ac_save_CFLAGS"
++ LIBS="$ac_save_LIBS"
++ AC_LANG_RESTORE
++ fi
++ fi
++ if test "x$no_libmikmod" = x ; then
++ AC_MSG_RESULT([yes, `$LIBMIKMOD_CONFIG --version`])
++ ifelse([$2], , :, [$2])
++ else
++ AC_MSG_RESULT(no)
++ if test "$LIBMIKMOD_CONFIG" = "no" ; then
++ echo "*** The libmikmod-config script installed by libmikmod could not be found"
++ echo "*** If libmikmod was installed in PREFIX, make sure PREFIX/bin is in"
++ echo "*** your path, or set the LIBMIKMOD_CONFIG environment variable to the"
++ echo "*** full path to libmikmod-config."
++ else
++ if test -f conf.mikmodtest ; then
++ :
++ else
++ echo "*** Could not run libmikmod test program, checking why..."
++ CFLAGS="$CFLAGS $LIBMIKMOD_CFLAGS"
++ LIBS="$LIBS $LIBMIKMOD_LIBS"
++ AC_LANG_SAVE
++ AC_LANG_C
++ AC_TRY_LINK([
++#include <mikmod.h>
++#include <stdio.h>
++], [ return (MikMod_GetVersion()!=0); ],
++ [ echo "*** The test program compiled, but did not run. This usually means"
++ echo "*** that the run-time linker is not finding libmikmod or finding the wrong"
++ echo "*** version of libmikmod. If it is not finding libmikmod, you'll need to set your"
++ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
++ echo "*** to the installed location. Also, make sure you have run ldconfig if that"
++ echo "*** is required on your system."
++ echo "***"
++ echo "*** If you have an old version installed, it is best to remove it, although"
++ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
++ [ echo "*** The test program failed to compile or link. See the file config.log for the"
++ echo "*** exact error that occured. This usually means libmikmod was incorrectly installed"
++ echo "*** or that you have moved libmikmod since it was installed. In the latter case, you"
++ echo "*** may want to edit the libmikmod-config script: $LIBMIKMOD_CONFIG" ])
++ CFLAGS="$ac_save_CFLAGS"
++ LIBS="$ac_save_LIBS"
++ AC_LANG_RESTORE
++ fi
++ fi
++ LIBMIKMOD_CFLAGS=""
++ LIBMIKMOD_LIBS=""
++ LIBMIKMOD_LDADD=""
++ ifelse([$3], , :, [$3])
++ fi
++ AC_SUBST(LIBMIKMOD_CFLAGS)
++ AC_SUBST(LIBMIKMOD_LIBS)
++ AC_SUBST(LIBMIKMOD_LDADD)
++ rm -f conf.mikmodtest
++])
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch b/app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch
new file mode 100644
index 000000000000..e46b75fd5815
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-messager-overlap.patch
@@ -0,0 +1,25 @@
+messager.c: fix memory overlap (fixes artefacts in scrolling text)
+
+==363== Source and destination overlap in memcpy(0xa066240, 0xa0662b8, 240)
+==363== at 0x4C2B220: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:838)
+==363== by 0x407D97: newline (messager.c:43)
+==363== by 0x407EE6: put (messager.c:54)
+==363== by 0x40806E: messager (messager.c:77)
+==363== by 0x403009: bb (bb.c:258)
+==363== by 0x407C06: main (main.c:202)
+
+diff --git a/messager.c b/messager.c
+index 95cc410..964080b 100644
+--- a/messager.c
++++ b/messager.c
+@@ -40,8 +40,8 @@ static void newline()
+ start = 0;
+ cursor_y++, cursor_x = 0;
+ if (cursor_y >= aa_scrheight(context)) {
+- memcpy(context->textbuffer + start * aa_scrwidth(context), context->textbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1));
+- memcpy(context->attrbuffer + start * aa_scrwidth(context), context->attrbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1));
++ memmove(context->textbuffer + start * aa_scrwidth(context), context->textbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1));
++ memmove(context->attrbuffer + start * aa_scrwidth(context), context->attrbuffer + (start + 1) * aa_scrwidth(context), aa_scrwidth(context) * (aa_scrheight(context) - start - 1));
+ memset(context->textbuffer + aa_scrwidth(context) * (aa_scrheight(context) - 1), ' ', aa_scrwidth(context));
+ memset(context->attrbuffer + aa_scrwidth(context) * (aa_scrheight(context) - 1), 0, aa_scrwidth(context));
+ cursor_y--;
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-noattr.patch b/app-misc/bb/files/bb-1.3.0_rc1-noattr.patch
new file mode 100644
index 000000000000..7a6f9474a71e
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-noattr.patch
@@ -0,0 +1,15 @@
+# remove __attribute__
+
+--- timers.h Thu Apr 26 18:04:22 2001
++++ timers.h Sun Dec 9 18:44:31 2007
+@@ -49,8 +49,8 @@
+ extern tl_group *syncgroup, *asyncgroup;
+ void tl_sleep (int);
+ void tl_allegromode (int mode); /*Just for djgpp */
+-int tl_lookup_timer (tl_timer * t) REGISTERS (3);
+-void tl_reset_timer (tl_timer * t) REGISTERS (3);
++int tl_lookup_timer (tl_timer * t);
++void tl_reset_timer (tl_timer * t);
+
+ struct timeemulator *tl_create_emulator(void);
+ void tl_free_emulator(struct timeemulator *t);
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch b/app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch
new file mode 100644
index 000000000000..da113795124b
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-printf-cleanup.patch
@@ -0,0 +1,55 @@
+zoom.c: cleanup protos
+
+x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -march=core2 -pipe -I/usr/include -pthread -D_REENTRANT -D SOUNDDIR=\"/usr/share/bb\" -c zoom.c
+zoom.c: In function 'mkrealloc_table':
+zoom.c:245:113: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
+zoom.c:251:113: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
+zoom.c:260:113: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
+zoom.c: In function 'moveoldpoints':
+zoom.c:590:3: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
+zoom.c:596:3: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
+diff --git a/zoom.c b/zoom.c
+index 7450095..b86cc8b 100644
+--- a/zoom.c
++++ b/zoom.c
+@@ -241,13 +241,13 @@ static /*INLINE */ void mkrealloc_table(register number_t * pos, realloc_t * rea
+ #endif
+ if (dyndata == NULL) {
+ fprintf(stderr, "XaoS fatal error:Could not allocate memory for"
+- "temporary dynamical data of size:%i\n"
++ "temporary dynamical data of size:%li\n"
+ "I am unable to handle this problem so please resize to lower window\n", (size) * (DSIZE + 1) * sizeof(struct dyn_data) + size * sizeof(int) + size * sizeof(int));
+ return;
+ }
+ if (best == NULL) {
+ fprintf(stderr, "XaoS fatal error:Could not allocate memory for"
+- "temporary dynamical data of size:%i\n"
++ "temporary dynamical data of size:%li\n"
+ "I am unable to handle this problem so please resize to lower window\n", (size) * (DSIZE + 1) * sizeof(struct dyn_data) + size * sizeof(int) + size * sizeof(int));
+ #ifndef HAVE_ALLOCA
+ free(dyndata);
+@@ -256,7 +256,7 @@ static /*INLINE */ void mkrealloc_table(register number_t * pos, realloc_t * rea
+ }
+ if (best1 == NULL) {
+ fprintf(stderr, "XaoS fatal error:Could not allocate memory for"
+- "temporary dynamical data of size:%i\n"
++ "temporary dynamical data of size:%li\n"
+ "I am unable to handle this problem so please resize to lower window\n", (size) * (DSIZE + 1) * sizeof(struct dyn_data) + size * sizeof(int) + size * sizeof(int));
+ #ifndef HAVE_ALLOCA
+ free(dyndata);
+@@ -586,13 +586,13 @@ static /*INLINE */ void moveoldpoints(void)
+ #endif
+ if (size == NULL) {
+ fprintf(stderr, "XaoS fratal error:Could not allocate memory for"
+- "temporary dynamical data of size:%i\n"
++ "temporary dynamical data of size:%li\n"
+ "I am unable to handle this problem so please resize to lower window\n", 2 * d->width * sizeof(int));
+ return;
+ }
+ if (start == NULL) {
+ fprintf(stderr, "XaoS fratal error:Could not allocate memory for"
+- "temporary dynamical data of size:%i\n"
++ "temporary dynamical data of size:%li\n"
+ "I am unable to handle this problem so please resize to lower window\n", 2 * d->width * sizeof(int));
+ #ifndef HAVE_ALLOCA
+ free(size);
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-protos.patch b/app-misc/bb/files/bb-1.3.0_rc1-protos.patch
new file mode 100644
index 000000000000..aa3fc021e5c1
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-protos.patch
@@ -0,0 +1,16 @@
+diff --git a/bb.c b/bb.c
+index 95850ef..a394d00 100644
+--- a/bb.c
++++ b/bb.c
+@@ -27,2 +27,3 @@
+ #include <aalib.h>
++#include <time.h>
+ #include "bb.h"
+diff --git a/main.c b/main.c
+index 417ff62..c0648b4 100644
+--- a/main.c
++++ b/main.c
+@@ -23,2 +23,3 @@
+
++#include <ctype.h>
+ #include <string.h>
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch b/app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch
new file mode 100644
index 000000000000..b3e882ed55e9
--- /dev/null
+++ b/app-misc/bb/files/bb-1.3.0_rc1-zbuff-fault.patch
@@ -0,0 +1,35 @@
+tex.c: Fix out-of-bounds zbuff clearing
+
+> zbuff = (int *) malloc(X_s * Y_s * sizeof(int));
+> memset(zbuff, 0x55, (X_s * Y_s * sizeof(long)));
+
+Ouch! amd64: sizeof(long) == 8; sizeof (int) == 4
+
+Valgrind says:
+==4525== Invalid write of size 4
+==4525== at 0x4C2C3AF: memset (mc_replace_strmem.c:967)
+==4525== by 0x4122E0: clear_zbuff (tex.c:95)
+==4525== by 0x4144D8: disp3d (tex.c:292)
+==4525== by 0x40F3C6: scene5 (scene5.c:206)
+==4525== by 0x4031BC: bb (bb.c:325)
+==4525== by 0x407C56: main (main.c:202)
+==4525== Address 0xac9ef00 is 0 bytes after a block of size 34,992 alloc'd
+==4525== at 0x4C2996D: malloc (vg_replace_malloc.c:263)
+==4525== by 0x412283: set_zbuff (tex.c:85)
+==4525== by 0x40F347: scene5 (scene5.c:196)
+==4525== by 0x4031BC: bb (bb.c:325)
+==4525== by 0x407C56: main (main.c:202)
+
+diff --git a/tex.c b/tex.c
+index 9f2f99d..b390510 100644
+--- a/tex.c
++++ b/tex.c
+@@ -92,7 +92,7 @@ void unset_zbuff()
+
+ static inline void clear_zbuff()
+ {
+- memset(zbuff, 0x55, (X_s * Y_s * sizeof(long)));
++ memset(zbuff, 0x55, (X_s * Y_s * sizeof(int)));
+ }
+
+
diff --git a/app-misc/bb/metadata.xml b/app-misc/bb/metadata.xml
new file mode 100644
index 000000000000..401e82106a05
--- /dev/null
+++ b/app-misc/bb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">aa-project</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/beancounter/Manifest b/app-misc/beancounter/Manifest
new file mode 100644
index 000000000000..c81f47980e96
--- /dev/null
+++ b/app-misc/beancounter/Manifest
@@ -0,0 +1,5 @@
+DIST beancounter_0.8.10.tar.gz 88658 SHA256 342a29110128daf6d4dc97dc5a8275d484154d8a75362df6804c953c7cfa7bbe SHA512 6d1270f0846987fe73480e0f6b46d1c27971d70ffe2622dee9a907f852249f7d30459003cc560c95dff9e6c973a88e81c4f6f63af8f8aa278861962bba703c1b WHIRLPOOL 2108f5d8d2852d098e748ad96b4dd69c71bd47a5584243e0e9643e10bfd75276672a3cc1b932d334e6be7c81e7c4150b81c71290d3848e81096a73f585241b1d
+EBUILD beancounter-0.8.10-r1.ebuild 878 SHA256 cd7ea38f19a22d2a36781b1cdffa2290aa4039bc36ebc19884e50e9a2a4ad784 SHA512 467645c90cfeb26bb6a011e422c3e7def9e000aec30fb90aaef0a6e5e852303cee4da4a351af75317de84c79582057b829d70f801528221e3f303c60ab49e83f WHIRLPOOL ef380071bb9b7f61b19052c9ead1daf5b3edc2fec35d5c38d8f1c43ebe659dbf2e896452b98c241999aa149565d211c8712b6259cc41e3021154c09b480929a4
+MISC ChangeLog 2707 SHA256 71f011cdfcc3356ec8188ec8f224af7bdc43eecabd5adde4ae97a86d78108be8 SHA512 ddd83c840e57d536d4730491c4265a4ddee7d674a8e9162b10e9019302704e2ca3679c7d6bbbbcb9349bf4e2f1e90e4d98e20effd08bbdd4156bb1148566d552 WHIRLPOOL b20a04b8ba696ab60b4ba5784b1880144db227bfded91085c8a2aa04659f91f5092d37f3bd97071681570511745d3f361a37a97b093b8e6d052de59e1d3eb4f2
+MISC ChangeLog-2015 2562 SHA256 e68d4309df05f7051b76f945e74dc8d4ad646209b3a346671264d6cae61cdaf3 SHA512 32d3cdac79a8bbff131d7d36bbb2c3140f9aa37b3d1fad6a7f29af49c94fbf3b2d931863c75ebdd4cde447043f72548582cc74dec3415c4ad9e2eb585b062341 WHIRLPOOL 766c0526082774fd148cbc715e4f918ad3bfc9c23d52a47689401f3897c5ac35aebfb2a9d8c8bfa4712c6267f0d49a4174868f0d5e9d703c30b33ca5085260e3
+MISC metadata.xml 323 SHA256 4c4c9206a190f49a9f6fb13ab8c72a889e89a8167ca3a65dd04efa3eb27ebef4 SHA512 45dbc118728f97578e8c3f89eef2facb9c8b1e0acd3fcd8fbf2f502ff2b60eb0e7eb7553ff90915d12835f6c04982c281bb75f7ffb66d45199530a1d7c3410bf WHIRLPOOL b7a9f26eca3799a70b3f28d4b8ea0f18fdabe74b037740c8b512e979b19b993b3c6a768dd8b07d3486e62f298f0970d4ebfe0fadb10197a78dddce737c0d9197
diff --git a/app-misc/beancounter/beancounter-0.8.10-r1.ebuild b/app-misc/beancounter/beancounter-0.8.10-r1.ebuild
new file mode 100644
index 000000000000..cfcb888f6d28
--- /dev/null
+++ b/app-misc/beancounter/beancounter-0.8.10-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="Finance performance calculation engine with full data acquisition, SQL support"
+HOMEPAGE="http://dirk.eddelbuettel.com/code/beancounter.html"
+SRC_URI="http://eddelbuettel.com/dirk/code/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="mysql postgres sqlite"
+
+DEPEND="dev-perl/Date-Manip
+ dev-perl/Statistics-Descriptive
+ dev-perl/Finance-YahooQuote
+ dev-perl/libwww-perl
+ mysql? ( dev-perl/DBD-mysql )
+ sqlite? ( dev-perl/DBD-SQLite )
+ postgres? ( dev-perl/DBD-Pg )"
+
+RDEPEND="${DEPEND} dev-perl/DBI"
+mydoc="README example.beancounterrc beancounter_*.txt "
+
+src_install() {
+ perl-module_src_install
+ # rm unwanted READMEs
+ rm "${D}"usr/share/doc/${PF}/{README.Debian,README.non-gnu} || die
+}
diff --git a/app-misc/beancounter/metadata.xml b/app-misc/beancounter/metadata.xml
new file mode 100644
index 000000000000..055dc06115a6
--- /dev/null
+++ b/app-misc/beancounter/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ Finance performance calculation engine with data acquisition (Yahoo! Finance)
+ and SQL backend support.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/beanstalkd/Manifest b/app-misc/beanstalkd/Manifest
new file mode 100644
index 000000000000..0731ef0ca252
--- /dev/null
+++ b/app-misc/beanstalkd/Manifest
@@ -0,0 +1,9 @@
+AUX conf 292 SHA256 04cc39cb8fdb9a20c03912a87bc368f1888b426d08da9b6f41fa8cba4e8f9b07 SHA512 56c3fe690e513f0e96ef486dbee3dc862409321935be03977d38a47641e7b8fd87c2b2a29d444320a1554689df497b5aee204922f2059a1e2d1139b8fce6291a WHIRLPOOL dc98836531dc0ddf2b3a509021826fcfdd9db7c43fbfeff7b584eb1b2fbfb9cece2ead3e61d55d1b8f48850e7e652ddbcdfe0ace029203fcea51329f538c9325
+AUX conf-1.9 385 SHA256 a735fcc32f1f9d2f0f6f12800d89868138f3780db228494aa321006f72f84daa SHA512 981dc0dca903f8ebdd3cc80368650d42f02bf194ccd12e64d2d4cc273ae13ec42da69341529750bca7232d7bcb3df67a02aa3db6179c4835682e86fabef689f0 WHIRLPOOL b434477e6bf15169e55f42fe12ed8b8d89853c0082066083f5629002b31525ef801ccb5bd271d18e72d2f112a5d31d8d935e5fbae18e0d1603e6c6e9f27593e1
+AUX init 477 SHA256 d2ccb5f7be3ac1e0f876f32bd47237f376e3b716d6a5b4c54e8d72821b2ebcf2 SHA512 cbeaeac8a993711822086a761b624783bbf4ff11cff5c569a4c0cd3e6e174fe36904a661155c1460f7b43e0b2d6b631cd9e290d76138520021a702567b0494dd WHIRLPOOL 6f2479d47d6dc13ea39680edc58abfda1cfb743da12f5f1a6de0001a2ea5374866a2c8f12a6de177e0dd2d1000ea4625041a60d3a7d373472aac88ebe697aeca
+AUX init-1.9 511 SHA256 075257735916e9e8e613d6b32dbb47c2dc07c4917fab8a387b80b4cf73ef447d SHA512 7e16023709e72724f411953b2d042c6bb369be7c0a9c891d3e03ea12d4c175ce82e57466c8b2c2bf8611cb1f5aee9c76ae5adad0ad38e99c93525d732715546a WHIRLPOOL 65e06a52991659bd3d253b0c72e617915b30d77fa4c999aa0e5f478a7a8bf23b1ec421b520dddd0b06fe0b67201553fd666c889a4dd6efb61a7c0efcd9cc7396
+DIST beanstalkd-1.10.tar.gz 66243 SHA256 923b1e195e168c2a91adcc75371231c26dcf23868ed3e0403cd4b1d662a52d59 SHA512 db85e4a32c686330e50d64d497a39bb9806de42a2c2d2c84eb260ae8cfad91b4c99eef6a8f0ab3e62d0ca71a31837778ec68a4299899ac5a9d94a5a4403d673b WHIRLPOOL 3074fb2df0aa835d46d95a90a573bfe2afd1d316da6c9739d37d1eafb85b987ef12c3113f2bc51afed014e151e5eb064922b46c16a92e3113480b1c5ec8dc50c
+EBUILD beanstalkd-1.10.ebuild 1074 SHA256 400c08a247fd76f03c302753f68988ea7efac8d04c802c649efa7df2b463ab51 SHA512 193a42c77ad21219125c1ff7d0e9d7044e050cdec7538f63abd77e5cba8cbb7d9f920a9a74536a140a83945e00b5a3927420c83349731adabe2cad78203b3e65 WHIRLPOOL 5f1a229a7fa0de3389dfd815ed3a0b57f2a273d91b66cffb9fc6fef23b8ae7fd9fc32ee083bd2479870fb77efb57ed906a388245dfc1909884591f60554fcd69
+MISC ChangeLog 3050 SHA256 c1af20e4a81f443e18a02cdd7de446e3abeedef36083b85d642d114e046d8baa SHA512 e2eae3592822f13ccbb2b0253515a6f8065505c5a8c60fae846029210fd86a550acc9784a526443112640956b200f833ad537e56f5dfe5009fae7b744e382945 WHIRLPOOL 89b60cc75fd111e2134659f21e4dafb17274740d53508fc6d9aed4603e872312b47e8b68552206d02197149a8c2534c70ce7fc9fdc6c2fea312854ac6b0cc7bf
+MISC ChangeLog-2015 5863 SHA256 e33dae1f4062b4108a7fccb9ce64f4328f3ddd105b97d4e37da16f8ffb74d219 SHA512 0af8b7fa8e907cb317de444da3ac317f285c6776fee083aeef24dd139d2431357e03b5114e47f6452fd51aae9261af94b4f72bcfb5691de81014a51eb9b14e05 WHIRLPOOL 4b0960c27e31fed8afcf0491942697ba27565a849571e24ae1bfb546e809c98d47516033ad16916776faa8450a1358e46a1043161a7ab917b665af44629566d5
+MISC metadata.xml 436 SHA256 056e10ec74d6e099d0e3f904f7a38963bc2a7cae11782f80368fa5c77beb1b3f SHA512 7766293e42fb4786e971b259480f4e697745d23db9b332e24c7edda52d8ccbc2ebdb1ed1b1c9265f22d9ec698fc144acd6e7576cef66f3a33db8a4f102b08140 WHIRLPOOL 3111fa95f72580a6739f191fd646a637dcf1f418425b446aa8917bd9871b8811ecc536e68d656aeb313105313ff9784f7431a96ca52d02ea0fd75681fa0980aa
diff --git a/app-misc/beanstalkd/beanstalkd-1.10.ebuild b/app-misc/beanstalkd/beanstalkd-1.10.ebuild
new file mode 100644
index 000000000000..425c18c7b37e
--- /dev/null
+++ b/app-misc/beanstalkd/beanstalkd-1.10.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils systemd toolchain-funcs user
+
+DESCRIPTION="A simple, fast work queue"
+HOMEPAGE="http://kr.github.io/beanstalkd/"
+SRC_URI="https://github.com/kr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~mips x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos"
+
+RDEPEND=""
+DEPEND=""
+
+IUSE=""
+
+DOCS=( README News docs/protocol.txt )
+
+pkg_setup() {
+ enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon
+}
+
+src_prepare() {
+ sed -i -e "s/CFLAGS=/CFLAGS?=/" \
+ -e "s/LDLIBS/LDFLAGS/" \
+ -e "s/LDFLAGS=/LDFLAGS?=/" Makefile
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" LD="$(tc-getLD)"
+}
+
+src_install() {
+ dobin beanstalkd
+
+ DATADIR=/var/lib/${PN}
+ dodir ${DATADIR}
+ fowners beanstalk:daemon ${DATADIR}
+
+ doman doc/"${PN}".1
+
+ newconfd "${FILESDIR}/conf-1.9" beanstalkd
+ newinitd "${FILESDIR}/init-1.9" beanstalkd
+
+ systemd_dounit "${S}/adm/systemd/${PN}".{service,socket}
+}
diff --git a/app-misc/beanstalkd/files/conf b/app-misc/beanstalkd/files/conf
new file mode 100644
index 000000000000..c646326bf271
--- /dev/null
+++ b/app-misc/beanstalkd/files/conf
@@ -0,0 +1,14 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+BEANSTALKD_BINARY="/usr/bin/beanstalkd"
+PIDFILE="/var/run/beanstalkd.pid"
+
+# User to run as
+USER="beanstalk"
+
+# Port to listen on
+PORT="11300"
+
+# Address to listen on
+ADDR="127.0.0.1"
diff --git a/app-misc/beanstalkd/files/conf-1.9 b/app-misc/beanstalkd/files/conf-1.9
new file mode 100644
index 000000000000..0b35cb874076
--- /dev/null
+++ b/app-misc/beanstalkd/files/conf-1.9
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+BEANSTALKD_BINARY="/usr/bin/beanstalkd"
+PIDFILE="/run/beanstalkd.pid"
+
+# User to run as
+USER="beanstalk"
+
+# Port to listen on
+PORT="11300"
+
+# Address to listen on
+ADDR="127.0.0.1"
+
+# Datadir (where to store queue)
+DATADIR="/var/lib/beanstalkd"
+
+# Max job size
+JOB_SIZE="65536"
diff --git a/app-misc/beanstalkd/files/init b/app-misc/beanstalkd/files/init
new file mode 100644
index 000000000000..2dddc9d6d6f4
--- /dev/null
+++ b/app-misc/beanstalkd/files/init
@@ -0,0 +1,24 @@
+#!/sbin/openrc-run
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting beanstalkd"
+ /sbin/start-stop-daemon --start \
+ --pidfile ${PIDFILE} \
+ --exec ${BEANSTALKD_BINARY} \
+ -- -d -p ${PORT} -l ${ADDR} -u ${USER}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping beanstalkd"
+ start-stop-daemon --stop --quiet \
+ --pidfile ${PIDFILE} \
+ --exec ${BEANSTALKD_BINARY}
+ eend $?
+}
diff --git a/app-misc/beanstalkd/files/init-1.9 b/app-misc/beanstalkd/files/init-1.9
new file mode 100644
index 000000000000..14dae315e170
--- /dev/null
+++ b/app-misc/beanstalkd/files/init-1.9
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of MIT
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting beanstalkd"
+ /sbin/start-stop-daemon --start \
+ --background \
+ --pidfile ${PIDFILE} --make-pidfile \
+ --exec ${BEANSTALKD_BINARY} \
+ -- -b ${DATADIR} -p ${PORT} -l ${ADDR} -u ${USER} -z ${JOB_SIZE}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping beanstalkd"
+ start-stop-daemon --stop --quiet \
+ --pidfile ${PIDFILE} \
+ --exec ${BEANSTALKD_BINARY}
+ eend $?
+}
diff --git a/app-misc/beanstalkd/metadata.xml b/app-misc/beanstalkd/metadata.xml
new file mode 100644
index 000000000000..f0352343e9be
--- /dev/null
+++ b/app-misc/beanstalkd/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <longdescription lang="en">
+beanstalked is a fast distributed workqueue service
+</longdescription>
+ <upstream>
+ <remote-id type="github">kr/beanstalkd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/beep/Manifest b/app-misc/beep/Manifest
new file mode 100644
index 000000000000..8f143edfd943
--- /dev/null
+++ b/app-misc/beep/Manifest
@@ -0,0 +1,6 @@
+AUX beep-1.3-Makefile.patch 516 SHA256 98e2f54404a83a0fc87e6bae2dfe66f771bfaa09f7c4bee546e10a079dcd049b SHA512 b21f788780a13bbef436b80ec020b8727b9c1a8ddac3552cb8bf05d7ab937851d05d72279b53b51dd0ae1f99e44f55caa494b7e61b59800d91dd186497b65009 WHIRLPOOL d200aaed55b504aaff157ed75a09d5f5a4232fa983956c2fb082edae2e409c4e702070e50a3abc636de3be3582e771041b2546ddb1bab0268a99b248c3e5bbfa
+DIST beep-1.3.tar.gz 19344 SHA256 59acef7a987de5557cefd1a904666cc2691f132929af39e65450b182a581ec2d SHA512 3f71146202208fa0c0cda360d125dd972ea003cf8cd62da21d67eb544c92f7b82640e7ce7c3835cbc65c75909a882edfa54dbd8d8b748d6f243711ea331477fd WHIRLPOOL 23ddc6e456803b82bf84b1022e5eed39488db6f4cd4410e77e55545b3e4c6256979dfc5587367c8206ea069ac4fedc4d5fa81406ea66c6c0c79fb9b428c339c7
+EBUILD beep-1.3-r2.ebuild 639 SHA256 db70b21d5b43acab7961040dda32cbd724b11092640b71ad60d1249d6e85d617 SHA512 8efda568f0faa4471f495c243ab64fa0fc360ad6e05fb7752b615a8ecd527a44667a2829eab35413cb0642805abd387e0033dedca05affc5269f68178fbbe485 WHIRLPOOL a6c32ed548908d063b5359847a27423c27a8b853278c591e98fb44824faa2fe1980e8aa92af59602b84c0505078861f21fb2d5bde03d685e2a1281375626678b
+MISC ChangeLog 4818 SHA256 6c7995b60cc63e3a3092b1e5040305663f2d4053552d7e894c2336bd9f1649f0 SHA512 7e20818bcad05c1ae72d83565f7cfcf278801999f454572ea8416c137e235876c2d6ce3566a2e10582e281ebd4bf165afa2caac4eadae259ee6bc84c03bfa2e0 WHIRLPOOL 6d651909103ffe138cd13b67e0fa03a987bb615a9d4eaa2cbc72d0806bcf2faf1b58d26aec874405e7d0014a9008eae4ff6b0af96f07e8e564b0a8f762b4eaaa
+MISC ChangeLog-2015 2832 SHA256 b7106168e972fa1a507884501eef7fef54030cacd9e5f2a8fcf6bbd363665771 SHA512 08edaf4fb2a408ba49342f6400e2b4e95226875571f35c105181af51ad09bfb344cb43b74e05ebb6e0006a23a42080fda776f003c90fbca7a326ff6f4a95caf2 WHIRLPOOL 2cd952155f1c9a3182efad28307a74331ef38507c54cf45bec81c3e324fc4ab722e05f5da9d0a13831bb45bc4ad2fd051a80963b82e9f9fd8c1fddd7a7453f1e
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/beep/beep-1.3-r2.ebuild b/app-misc/beep/beep-1.3-r2.ebuild
new file mode 100644
index 000000000000..ce846fdf1f04
--- /dev/null
+++ b/app-misc/beep/beep-1.3-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="The advanced PC speaker beeper"
+HOMEPAGE="http://www.johnath.com/beep"
+SRC_URI="http://www.johnath.com/beep/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86"
+IUSE="suid"
+
+PATCHES=( "${FILESDIR}/${P}-Makefile.patch" )
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_install() {
+ dobin beep
+ if use suid; then
+ fowners :audio /usr/bin/beep
+ fperms 4710 /usr/bin/beep
+ else
+ fperms 0711 /usr/bin/beep
+ fi
+ unpack "./${PN}.1.gz"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-misc/beep/files/beep-1.3-Makefile.patch b/app-misc/beep/files/beep-1.3-Makefile.patch
new file mode 100644
index 000000000000..f4b891e8b824
--- /dev/null
+++ b/app-misc/beep/files/beep-1.3-Makefile.patch
@@ -0,0 +1,26 @@
+--- a/Makefile 2002-03-29 09:37:22.000000000 -0800
++++ b/Makefile 2009-03-27 22:19:18.000000000 -0700
+@@ -1,17 +1,18 @@
+-CC=gcc
+-FLAGS=-Wall
++CC ?= gcc
++LDFLAGS ?=
++CFLAGS ?= -Wall
+ EXEC_NAME=beep
+ INSTALL_DIR=/usr/bin
+ MAN_FILE=beep.1.gz
+-MAN_DIR=/usr/man/man1
++MAN_DIR=/usr/share/man/man1
+
+ default : beep
+
+ clean :
+- rm ${EXEC_NAME}
++ rm -f ${EXEC_NAME}
+
+ beep : beep.c
+- ${CC} ${FLAGS} -o ${EXEC_NAME} beep.c
++ ${CC} ${CFLAGS} ${LDFLAGS} -o ${EXEC_NAME} beep.c
+
+ install :
+ cp ${EXEC_NAME} ${INSTALL_DIR}
diff --git a/app-misc/beep/metadata.xml b/app-misc/beep/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/beep/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/bfm/Manifest b/app-misc/bfm/Manifest
new file mode 100644
index 000000000000..4e3094384678
--- /dev/null
+++ b/app-misc/bfm/Manifest
@@ -0,0 +1,9 @@
+AUX 1.2-build.xml 2000 SHA256 535e9706e9c0cd4689122f5e9be812ab3b0c5d10ee5c7ef4490c443447a786d2 SHA512 7e8a950311e072e1f846a81995c666da30ba178aa9682f4f0b73cd9d2f5f1e08ece5bfee88cc5ef6c7b5636b88ffa3811dd125c8457a02abae5a3902ddce17bb WHIRLPOOL cc65ac62992ed41745ac644eb21cf5e03f88928e7b9d20dc3172aafbc4a71a336dd7034b385fd026be2ca5ffd577fd80d227f97d0cb8fb65cc68e69cd99fc640
+AUX 1.2-r2-build.xml 2020 SHA256 26426fbdcb4124ad8e0228be7e4509031cda490d819ee9a896bb8fa165fe4e61 SHA512 422208eb70459b94b6d5eb831c5796cfe178b2042dd6aee4fc0c1ed15949b46eac5e817460ba3391fbaad7f287e6260f6ed436e49d84ab41fac2453518aae6a4 WHIRLPOOL eeac4014afcf2981281c07e4889bcfb2e6170d4659775d139b33545eb18b133b446dac0cef0a0baf12165f67fb80d91ba741585e2ede1b229288aaf6138dc662
+AUX 1.2-r2-package.patch 10235 SHA256 0da63f53f6bba17550becddc2916e2cb4660c83044b79070bd5c9eef10e36dd8 SHA512 9b754c0dac3f7f8763acc80ae9fe618dca32df319dc2b928ec856debc4f539f6f39fa6dde92eb871dcccb9197f7aecbac6b65b7705d476c0b73e6611e979dbce WHIRLPOOL 5e5524b0830c7697b8dad83f9f8771240ab28243ed6c1da2d17061d14f248797316a5c1a9281448ed8d6349a2825d146d3b3c4457d6ac8ad01f8023e1b0860c0
+DIST bfm-1.2.tar.gz 193924 SHA256 09294fb40e515198095b1df0744bb4eb0cd0aebe36df81827871e73d9df7bd6b SHA512 39a9a250a8f3cf3b148c31a9fa5a89ac9a5873884dc1a98840b2f21879b30bd7cc6cc5dd9c5f7e657090a56276dbef2a72594e095aec8c05f3e003f89e91daee WHIRLPOOL 43df53a85d6ba6697f510f9cc940859cdf7f14915675b8f7cca2da176380a8ef5f18bc34e8d0b9cd6adba22888e36ecbd15d0360243ead101fa62a453387428a
+EBUILD bfm-1.2-r1.ebuild 1507 SHA256 d0bfe654f69a129ad1d1fee3e3ce7883ac5e10c994a36f9970b8a6c8141a50bb SHA512 1f491bf6518f3f8629f91af392aaac991d96489ed2072e92eeb37a331528f065e8b124cd99247ad1d8270bb757d4bb3902f3a41683c10f16c591869f891f428f WHIRLPOOL 3fd4b62234f5a2f7461d32c8c3ba47eea45438aa3ae7b72592a062716f16636c0239b2c7fa8e5a8584a2fa412d31d135a773682be79de4ba1846729cf6affed6
+EBUILD bfm-1.2-r2.ebuild 1342 SHA256 83e6c34f8c33d171039eebdb955d7006bc5af2e353486f9e3a6734129aab4297 SHA512 847c1da49ca1d39301a46fc522f8c1c2143cff3ba613413a3aba8c624908aef2401931285b1a003be73bcd7610f6b94bd9a84351fd1fbb74718e952167f5d677 WHIRLPOOL 2b2b84a43780a8dc2536ed081a45c0bab16dea4305b456ac4f39f5117654412586c6423e0c1f6db1671c12dac5f9bb8064ac5f276e0ffde6b418eb458cadf835
+MISC ChangeLog 2541 SHA256 150d3823403ca00ac2a99154632cc22b5cca43929ce70a3cded499a743d948d1 SHA512 7872092f230ae39095a6d2fec0c9e84935cb4bd42eb5277c805e99dd0ff1faf97c778f0787191b4e015ee9c0400094be26a9307bcaab0488cdac180451ab4112 WHIRLPOOL de9b63a9e0dbd0e9b8219dd5b2694dd3207679ec769ef90a66daf84925b8776a5e6e02abb52f9639321e857456d4c4e218ed8e45d5e9967a8d77c38280f69273
+MISC ChangeLog-2015 2023 SHA256 c53cb1999c24df58cd4495d483d62ddd239f8b0bbeeaeadaee320f3d9fedf564 SHA512 5f2cdafb6f949e6524c8d459164a44df13890db33af8d4a2163ba5ccac1e97e23c49aa8cdaf11a52c49dca4e98c39da499d512315db3437b43b4d21e8a7a9d9c WHIRLPOOL 8097c47bb6854227d1a4bfc121c5b66017af2add11dcf5bb20c4b8bce17ebb6bdf103861677276ad72f7046981f5202e3267e44d7ebe9efb49663c807fb77b15
+MISC metadata.xml 550 SHA256 d03cac0f7f89b0294a0cecfe322329e645b8a305cbf9c1a2727f1f163f6cb534 SHA512 755c28c22ed330af89b04ee96ed3912016dc473813b8730bca2eea7548c4e9f4953a7f645512e46627b4e9a6bddb243fe8e41a4a489325a4bd13209b4d83cfdd WHIRLPOOL 32a855eae04441cfc6805cc34d441c0afa5fde2708d800a6eee588621c851924cebe409209c3a1db0ada6b5ec477b2e144e09485d8736e166a6dc591325c0b4b
diff --git a/app-misc/bfm/bfm-1.2-r1.ebuild b/app-misc/bfm/bfm-1.2-r1.ebuild
new file mode 100644
index 000000000000..aaeaa2a4f0e8
--- /dev/null
+++ b/app-misc/bfm/bfm-1.2-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="File manager and first person shooter written in Java3D, shoot to remove files"
+HOMEPAGE="http://bfm.webhop.net"
+SRC_URI="http://bfm.webhop.net/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/sun-java3d-bin-1.3"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ cp "${FILESDIR}/${PV}-build.xml" ./build.xml
+
+ mkdir "${S}/lib" && cd "${S}/lib"
+ if has_version dev-java/sun-java3d-bin; then
+ java-pkg_jar-from sun-java3d-bin
+ elif has_version dev-java/blackdown-java3d-bin; then
+ java-pkg_jar-from blackdown-java3d-bin
+ fi
+}
+
+EANT_DOC_TARGET=""
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ local java3d=""
+ if has_version dev-java/blackdown-java3d-bin; then
+ java3d="blackdown-java3d-bin"
+ elif has_version dev-java/sun-java3d-bin; then
+ java3d="sun-java3d-bin"
+ fi
+
+ java-pkg_dolauncher ${PN} --main Bfm
+
+ insinto /etc/bfm
+ doins "${S}/bfm.conf"
+
+ if use doc; then
+ dodoc README ChangeLog bindings NEWS || die
+ java-pkg_dohtml -r docs/*
+ fi
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "A system wide config file has been installed to /etc/bfm/bfm.conf"
+ elog "Copy the file to ~/.bfm/bfm.conf to set local settings"
+ echo
+ ewarn "Be sure to run bfm in safe mode if you don't want to delete files"
+}
diff --git a/app-misc/bfm/bfm-1.2-r2.ebuild b/app-misc/bfm/bfm-1.2-r2.ebuild
new file mode 100644
index 000000000000..b28cee6a8636
--- /dev/null
+++ b/app-misc/bfm/bfm-1.2-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="File manager and first person shooter written in Java3D, shoot to remove files"
+HOMEPAGE="http://bfm.webhop.net"
+SRC_URI="http://bfm.webhop.net/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+CDEPEND="dev-java/sun-java3d-bin:0"
+
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.4
+ ${CDEPEND}"
+
+java_prepare() {
+ cp "${FILESDIR}"/${PVR}-build.xml ./build.xml || die
+
+ mkdir lib || die
+ pushd lib
+ java-pkg_jar-from sun-java3d-bin
+ popd
+
+ epatch "${FILESDIR}"/${PVR}-package.patch
+
+ mkdir -p net/webhop/bfm || die
+ mv src/* net/webhop/bfm/ || die
+}
+
+EANT_DOC_TARGET="docs"
+
+src_install() {
+ local java3d="sun-java3d-bin"
+
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher ${PN} --main net.webhop.bfm.Bfm
+
+ insinto /etc/bfm
+ doins "${S}/bfm.conf"
+
+ if use doc; then
+ dodoc README ChangeLog bindings NEWS
+ java-pkg_dohtml -r docs/*
+ fi
+
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "A system wide config file has been installed to /etc/bfm/bfm.conf"
+ elog "Copy the file to ~/.bfm/bfm.conf to set local settings"
+ echo
+ ewarn "Be sure to run bfm in safe mode if you don't want to delete files"
+}
diff --git a/app-misc/bfm/files/1.2-build.xml b/app-misc/bfm/files/1.2-build.xml
new file mode 100644
index 000000000000..85d9b447e4dc
--- /dev/null
+++ b/app-misc/bfm/files/1.2-build.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+
+<project name="bfm" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="dist.dir" value="dist" />
+ <property name="lib.dir" value="lib" />
+ <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" />
+ <property name="target.jdk" value="1.4" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- classpath -->
+ <path id="refcp">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ classpathref="refcp" />
+
+ <copy todir="${build.dir}">
+ <fileset file="${src.dir}/data" />
+ </copy>
+ <copy todir="${build.dir}/data">
+ <fileset dir="${src.dir}/data" />
+ </copy>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}"
+ manifest="${src.dir}/data/manifest" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames=""
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <!-- zip the sources -->
+ <target name="sourcezip">
+ <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
+ <zipfileset dir="${src.dir}" />
+ </zip>
+ </target>
+
+</project>
diff --git a/app-misc/bfm/files/1.2-r2-build.xml b/app-misc/bfm/files/1.2-r2-build.xml
new file mode 100644
index 000000000000..3c056688129d
--- /dev/null
+++ b/app-misc/bfm/files/1.2-r2-build.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+
+<project name="bfm" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="net" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="dist.dir" value="dist" />
+ <property name="lib.dir" value="lib" />
+ <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" />
+ <property name="target.jdk" value="1.4" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- classpath -->
+ <path id="refcp">
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ classpathref="refcp" />
+
+ <copy todir="${build.dir}">
+ <fileset file="${src.dir}/webhop/bfm/data" />
+ </copy>
+ <copy todir="${build.dir}/net/webhop/bfm/data">
+ <fileset dir="${src.dir}/webhop/bfm/data" />
+ </copy>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}"
+ manifest="${src.dir}/webhop/bfm/data/manifest" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="."
+ packagenames="*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+ <!-- zip the sources -->
+ <target name="sourcezip">
+ <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
+ <zipfileset dir="${src.dir}" />
+ </zip>
+ </target>
+
+</project>
diff --git a/app-misc/bfm/files/1.2-r2-package.patch b/app-misc/bfm/files/1.2-r2-package.patch
new file mode 100644
index 000000000000..7b3db3a4415d
--- /dev/null
+++ b/app-misc/bfm/files/1.2-r2-package.patch
@@ -0,0 +1,313 @@
+diff -urN a/src/Bfm.java b/src/Bfm.java
+--- a/src/Bfm.java 2005-02-22 03:07:39.000000000 +0100
++++ b/src/Bfm.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import javax.swing.*;
+ import com.sun.j3d.utils.universe.*;
+diff -urN a/src/Blood.java b/src/Blood.java
+--- a/src/Blood.java 2005-01-08 23:45:41.000000000 +0100
++++ b/src/Blood.java 2013-06-10 08:37:16.978094948 +0200
+@@ -26,6 +26,8 @@
+ A big thank to Andrew for letting us use his code!
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import com.sun.j3d.utils.image.*;
+diff -urN a/src/DroppedDynamite.java b/src/DroppedDynamite.java
+--- a/src/DroppedDynamite.java 2004-12-31 14:23:44.000000000 +0100
++++ b/src/DroppedDynamite.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Dynamite.java b/src/Dynamite.java
+--- a/src/Dynamite.java 2005-02-18 21:24:29.000000000 +0100
++++ b/src/Dynamite.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Explotion.java b/src/Explotion.java
+--- a/src/Explotion.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/Explotion.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/FSDefault.java b/src/FSDefault.java
+--- a/src/FSDefault.java 2005-01-04 16:02:08.000000000 +0100
++++ b/src/FSDefault.java 2013-06-10 08:37:16.978094948 +0200
+@@ -20,6 +20,8 @@
+ /* FS stands for FileShape but is actually an transformgroup
+ containing the visuall shape of the FileObjet*/
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSDocument.java b/src/FSDocument.java
+--- a/src/FSDocument.java 2005-01-04 16:02:08.000000000 +0100
++++ b/src/FSDocument.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSPicture.java b/src/FSPicture.java
+--- a/src/FSPicture.java 2005-02-22 02:29:54.000000000 +0100
++++ b/src/FSPicture.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FSVideo.java b/src/FSVideo.java
+--- a/src/FSVideo.java 2005-01-04 16:02:08.000000000 +0100
++++ b/src/FSVideo.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/FileObject.java b/src/FileObject.java
+--- a/src/FileObject.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/FileObject.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/GrapplingHook.java b/src/GrapplingHook.java
+--- a/src/GrapplingHook.java 2005-01-03 06:03:50.000000000 +0100
++++ b/src/GrapplingHook.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Hud.java b/src/Hud.java
+--- a/src/Hud.java 2005-02-21 19:14:18.000000000 +0100
++++ b/src/Hud.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import java.awt.*;
+ import javax.media.j3d.*;
+diff -urN a/src/OpenDialog.java b/src/OpenDialog.java
+--- a/src/OpenDialog.java 2005-02-21 18:36:44.000000000 +0100
++++ b/src/OpenDialog.java 2013-06-10 08:37:16.978094948 +0200
+@@ -16,6 +16,9 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
++
++package net.webhop.bfm;
++
+ import javax.swing.plaf.*;
+ import java.awt.*;
+ import java.awt.event.*;
+diff -urN a/src/Pattern.java b/src/Pattern.java
+--- a/src/Pattern.java 2004-12-31 14:22:27.000000000 +0100
++++ b/src/Pattern.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.vecmath.*;
+
+ public abstract class Pattern {
+diff -urN a/src/PatternCircle.java b/src/PatternCircle.java
+--- a/src/PatternCircle.java 2004-12-31 14:22:27.000000000 +0100
++++ b/src/PatternCircle.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.vecmath.*;
+
+ public class PatternCircle extends Pattern {
+diff -urN a/src/PhysicsHandler.java b/src/PhysicsHandler.java
+--- a/src/PhysicsHandler.java 2005-02-21 18:36:44.000000000 +0100
++++ b/src/PhysicsHandler.java 2013-06-10 08:37:16.978094948 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/Player.java b/src/Player.java
+--- a/src/Player.java 2005-02-21 18:30:54.000000000 +0100
++++ b/src/Player.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.universe.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Rocket.java b/src/Rocket.java
+--- a/src/Rocket.java 2004-12-31 14:22:27.000000000 +0100
++++ b/src/Rocket.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/RocketLauncher.java b/src/RocketLauncher.java
+--- a/src/RocketLauncher.java 2005-01-08 01:22:40.000000000 +0100
++++ b/src/RocketLauncher.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Room.java b/src/Room.java
+--- a/src/Room.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/Room.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import java.io.*;
+diff -urN a/src/RoomObject.java b/src/RoomObject.java
+--- a/src/RoomObject.java 2005-02-20 23:55:12.000000000 +0100
++++ b/src/RoomObject.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+
+ public abstract class RoomObject extends BranchGroup {
+diff -urN a/src/Shotgun.java b/src/Shotgun.java
+--- a/src/Shotgun.java 2005-01-08 01:22:40.000000000 +0100
++++ b/src/Shotgun.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/SniperRifle.java b/src/SniperRifle.java
+--- a/src/SniperRifle.java 2005-02-20 18:16:14.000000000 +0100
++++ b/src/SniperRifle.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Spear.java b/src/Spear.java
+--- a/src/Spear.java 2005-01-03 02:00:41.000000000 +0100
++++ b/src/Spear.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+diff -urN a/src/Wall.java b/src/Wall.java
+--- a/src/Wall.java 2005-01-03 20:40:55.000000000 +0100
++++ b/src/Wall.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import java.awt.*;
+ import com.sun.j3d.utils.geometry.*;
+ import javax.media.j3d.*;
+diff -urN a/src/Weapon.java b/src/Weapon.java
+--- a/src/Weapon.java 2005-02-21 18:36:44.000000000 +0100
++++ b/src/Weapon.java 2013-06-10 08:37:16.974761615 +0200
+@@ -17,6 +17,8 @@
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++package net.webhop.bfm;
++
+ import javax.media.j3d.*;
+ import javax.vecmath.*;
+ import com.sun.j3d.utils.picking.*;
diff --git a/app-misc/bfm/metadata.xml b/app-misc/bfm/metadata.xml
new file mode 100644
index 000000000000..46e235531ce3
--- /dev/null
+++ b/app-misc/bfm/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+
+<longdescription>
+ BFM, the Brutal File Manager is a combined file manager and first
+ person shooter game. The basic idea is to represent different folders
+ on your computer as rooms in a 3D environment. Then, armed to your
+ teeths you go through these rooms and delete files by shooting at them.
+</longdescription>
+
+</pkgmetadata>
diff --git a/app-misc/bfr/Manifest b/app-misc/bfr/Manifest
new file mode 100644
index 000000000000..349066a03d08
--- /dev/null
+++ b/app-misc/bfr/Manifest
@@ -0,0 +1,7 @@
+AUX bfr-1.6-perl.patch 326 SHA256 d26184e6f5abe07d93e39e2e491e56d32f3c78307c01488f38fae3c0469569de SHA512 8f65f5113b60a6cbe692b9b2cbf02a7a7b3f046a6a5203cc05cae7a08e1344afd5ababa41608d334d5d1f04afb0eb2bf705622056c5620626805eec41351ffc3 WHIRLPOOL 2d3c77451da6aa9b4ef78d494582a59693d2d89d441ecfbc9a2e528c73522d5ca3fc1fda3925ca4a259ab6e239f4fdd1371f37a1afd44a11b33efc3b9ea06748
+DIST bfr-1.6.tar.bz2 81002 SHA256 9e1168f00a166cb99eb36f9a0ba4f8418919b4ffb9f1841b917426b9b5764d39 SHA512 19939218029219cc328e3efb8e799bb8c755ccff7b8cb81ba0c735d499a48f581aa42322045fdbd153dcfdb8792e84d9fddbfba9e9c5d94675e2830163936762 WHIRLPOOL 336e88b51a45ff065c9dd3ce691574670633b106c4a818441a339463b69562a9cc910ee06bf39e7f57088541b02fe29c46399de87db0bb56d1e8ccc178c62780
+EBUILD bfr-1.6-r2.ebuild 460 SHA256 8b68b24d7d040ca9a38e268a5fc14979c72a9aca182a23e6095636e820ab9b56 SHA512 7a1863a503b5c7c0c8cb644cfdc6082bf3cd971b33e3e9d2f7dce6d7a37c07d9a09bb4e87d9b7388d75bdca7f1fb2dc7ba89777e6062d6d5b27f6cbb91c864fc WHIRLPOOL 16ef0c111e1191e9acf2e91cb65777ea50aee67549a7d78d8ed9dba0de5f115b2c93725f107f783cbad03806bcd631a81d227f53f7792ae32d83e1dc19a9dec6
+EBUILD bfr-1.6-r3.ebuild 486 SHA256 067f3d6beafd409839bee1688dfe67b57fc869fc1364568b8a9eb3d7c7751418 SHA512 e85a1a75106c0e7ae1fdcd0777bfc9ffc5bf8e97f21ee609f937f17fdaf1450a43204902ceeac246c710cf777dc6b08f49e0108a5c76f55ce92b2524757eb362 WHIRLPOOL 34712c4eb5607c85fd764151b417c71109da13cc354f75138379c4ab1764f19a3cb9cab7f320b70130deb548704a4919b47d795c9528f92b0ebfa0c49a7a39a6
+MISC ChangeLog 2444 SHA256 fae7227aa6a833ea8be70412b6531a9a74b4494300527b94d2159c528da8965b SHA512 c8d199c69e0ed3939f0e7f96c169e5e6e64de7048c655d265f375745ed4ecb55ac244757512ef42cab555c6cae396d087234f8613adfd674bff5959c859802da WHIRLPOOL 43c454faef31aa81fa041302b529c379254a128cfedad7b9bafda76da6665ed09110e4e9886c20d6e1393a9500ed4d6acf2889faaa5c10b4e1223c1ad10118b0
+MISC ChangeLog-2015 3295 SHA256 bb7807f62ac9ec5c2fae851e20e8cb1300e1038524af3a6328742ea7013f1840 SHA512 acb123bffc014aaf25773e62730e55502f31b5a4f157f3bf8a5a32d145ca1dd88f746be5e77b81ca536ef200995492c6b49e5a7c61b04c22826cae8f7a444d5a WHIRLPOOL 9c60bea6b2198f641f5b628c8d6cdbe8a7e5214d5bcf4bb363865672002d1b9a6a619ae9820c9b25fdcb3b603f1258575c19d97db3860128f043aba05285288b
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/bfr/bfr-1.6-r2.ebuild b/app-misc/bfr/bfr-1.6-r2.ebuild
new file mode 100644
index 000000000000..891d67b0da5f
--- /dev/null
+++ b/app-misc/bfr/bfr-1.6-r2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="General-purpose command-line pipe buffer"
+HOMEPAGE="http://www.glines.org/software/bfr"
+SRC_URI="http://www.glines.org/bin/pk/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ppc64 sparc x86"
+
+DEPEND="dev-lang/perl"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-perl.patch
+ tc-export CC
+}
diff --git a/app-misc/bfr/bfr-1.6-r3.ebuild b/app-misc/bfr/bfr-1.6-r3.ebuild
new file mode 100644
index 000000000000..8a27acb19cf6
--- /dev/null
+++ b/app-misc/bfr/bfr-1.6-r3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="General-purpose command-line pipe buffer"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="http://www.glines.org/bin/pk/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="dev-lang/perl"
+
+PATCHES=( "${FILESDIR}/${P}-perl.patch" )
+
+src_configure() {
+ tc-export CC
+ default
+}
diff --git a/app-misc/bfr/files/bfr-1.6-perl.patch b/app-misc/bfr/files/bfr-1.6-perl.patch
new file mode 100644
index 000000000000..b2483fd54eb8
--- /dev/null
+++ b/app-misc/bfr/files/bfr-1.6-perl.patch
@@ -0,0 +1,28 @@
+--- old/bfr.pod 2004-03-03 15:38:53.000000000 +0100
++++ new/bfr.pod 2014-10-12 06:53:49.011697801 +0200
+@@ -176,8 +176,12 @@
+
+ =back
+
++=back
++
+ =head2 BUFPLAY SPECIFIC OPTIONS
+
++=over 2
++
+ =item
+
+ B<-s> | B<--speed>
+@@ -226,8 +230,12 @@
+
+ =back
+
++=back
++
+ =head2 DEBUG SPECIFIC OPTIONS
+
++=over 2
++
+ =item
+
+ B<-d> | B<--debug>
diff --git a/app-misc/bfr/metadata.xml b/app-misc/bfr/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/bfr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/bgrep/Manifest b/app-misc/bgrep/Manifest
new file mode 100644
index 000000000000..d61d4e63c2e6
--- /dev/null
+++ b/app-misc/bgrep/Manifest
@@ -0,0 +1,5 @@
+DIST tmbinc-bgrep-49b098b.tar.gz 3386 SHA256 036e2843cc33170e8ee9aa640055f7e4c37d7268ace59fd23cfa19d420752c70 SHA512 18a0161fe23a04d36bbfe67712a90b3d30c4cca95fed023773b0a1eda5fc1c284996d9669eec256a9aacc7019297f96c3d4fe69c240595bcdcc3a8b7c1bea990 WHIRLPOOL e6f9ac1efb5730d4e32bb707148bd331adadaccd3a468a3157705f2667c0797677ece018f8c20db1df0862cf7a1d351716c0ae845d60e826b786d0aab88102fb
+EBUILD bgrep-0_p20110121.ebuild 802 SHA256 d97537853746198d2e6a3f86927956dd9086247dce94970206475439f716c210 SHA512 80116928aed3848cc394c084ee948e15ef9c95bb3ff8ae32ce34edeaa1459ba0eb2bb575ba95b8d13366599edfcb594b07ca741ab0fff94e587c0af30f4e7ddf WHIRLPOOL d6c50303b95f8f2aa073596d420e7a21b2ab6059b96f641ad9f518a399e7f821b6dd03723b0cecdcdb69c8698de7a6e53b0ca4de61546fde35705aaf2458c706
+MISC ChangeLog 2302 SHA256 c0dad09a6fdf0b85a464043a3490a0bfce8b4afdc9258b8aee60f7e123aa9970 SHA512 2c17dc8801b1110c6720b0c5300cd49859acc41fe9b4e9d566a0a29017b35a58a4ee7df779a7a35cd02bc2f1e18b947523712d2c1a73c2d9bda1777fd9f29468 WHIRLPOOL 8adeedb3e25dbf2079674aa0f592c826adb388f75d64f421ebfa065e678ff13a988fed38e1c34799d3d3a1f01ae596e25888b09f6a293518a3429dac5d48c14f
+MISC ChangeLog-2015 478 SHA256 118305b871c9e14bc96dd9fe45ab4f81782e4ed022fad778bc0c70f392e9cdfa SHA512 0bcba5788e1842e993845bb1d42a62032ba52e005ee7edd10f32b3fbb085dda490658e98ac6a88555bf241f6eb1c41422ce35e6f89a15604440d82c82a533259 WHIRLPOOL 633c2d63833e63115e14ae08421193898e6bcccc2d4bc0ef589ce0317ed72cc46afdef392cf2ae323e94b44aa3189c9e88b8f15c022532a75c5a4be64b16367c
+MISC metadata.xml 220 SHA256 a08f6047dccef6fc17c1d8b901bc98b073490e40943fd9ebd58bb31d77acbf1f SHA512 be16f2417515008d47237f4a9de2584a23d02c4f7805b7b14887032db3ea5a9f6b1d6eabef07e415307f18ac4a1c08565a068a55cab9167532c0080395f207bd WHIRLPOOL 83802c5ccf2a589c4dea85dfa4b9984256cad72a92e8a3f0e506569d3ddb9f75916bc0c05c4bc8453a5b4947a87b1da32a4e3eac68e87f1f6746cdb1a537a2e6
diff --git a/app-misc/bgrep/bgrep-0_p20110121.ebuild b/app-misc/bgrep/bgrep-0_p20110121.ebuild
new file mode 100644
index 000000000000..c40227345447
--- /dev/null
+++ b/app-misc/bgrep/bgrep-0_p20110121.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+GITHUB_USER="tmbinc"
+GITHUB_HASH="49b098be9548d174023ad05c10f6af9d02b8e18e"
+MY_P="${GITHUB_USER}-${PN}-${GITHUB_HASH:0:7}"
+
+inherit toolchain-funcs
+
+DESCRIPTION="grep-like tool to search for binary strings"
+HOMEPAGE="https://github.com/tmbinc/bgrep/"
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${GITHUB_HASH} -> ${MY_P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+RDEPEND=""
+DEPEND="test? ( dev-lang/perl )"
+
+src_prepare() {
+ sed -i -e "s|/tmp/|${T}/|g" \
+ test/bgrep-test.sh || die
+}
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_test() {
+ cd test
+ ./bgrep-test.sh || die
+}
+
+src_install() {
+ dobin bgrep
+ dodoc README
+}
diff --git a/app-misc/bgrep/metadata.xml b/app-misc/bgrep/metadata.xml
new file mode 100644
index 000000000000..961705194bb8
--- /dev/null
+++ b/app-misc/bgrep/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">tmbinc/bgrep</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/bijiben/Manifest b/app-misc/bijiben/Manifest
new file mode 100644
index 000000000000..6a40e1a791ac
--- /dev/null
+++ b/app-misc/bijiben/Manifest
@@ -0,0 +1,7 @@
+DIST bijiben-3.24.0.tar.xz 830884 SHA256 2582c083e18b51c1c5743376c2adc1f8c68a1b912d14171a9d655ffe3d31abb6 SHA512 aba794d275b05f2267b7dfdd3f3933c5197d3596e06e72b0ae3d1f9855310761e5ff1b42ec7088fe7c90f55a6ffc64f6c508d72edc389d74256a9bcec90767d1 WHIRLPOOL b52996d7f7f061aa58548d7f199566f624ce6b154d2e4441f7b5d8a84478bc4c459339e9cd18338b171405025cded66c16d38dac736ac74b198b23999319956c
+DIST bijiben-3.24.2.tar.xz 843548 SHA256 14687441988948c5a98ecc3810476519494d2c1838afefd5f016a96fc3d99a6e SHA512 e5571c793fc75b1038a024f0f73b539079ca4415c7f4fd0756314a14baa1fe679d9513bf8c291aa20170f35616be409ebd0360e3d3ec8f962f2d3d143e02185e WHIRLPOOL bd511bd94c964c6a4c2959f379f2d55b57eaf171305e6b32451952428a67c60a5b708ce1ee5403a9adcb6292fb0a0f8e23e4c6f37e41c238006c0683f4a07e4f
+EBUILD bijiben-3.24.0.ebuild 857 SHA256 c14c02b63559723ec08d505ecd06121e302e355998c57877c324ae1a934500fc SHA512 8356398ceefc060a72632e6f77bd0221e152e25060da61e7223cf4b4d0080512e0474136cd2dd268aa8dbeee34ec18337b26a91a0127d4104d387aa02b88389d WHIRLPOOL 8f434c5a1e2cde70e1216210b94f5de8464af0278e208e98879147d5f887b1ebc69c5e7effe1c378805dd94947150056a4e7ac8ff06bf315d1321cabe76cba44
+EBUILD bijiben-3.24.2.ebuild 916 SHA256 b71c113d44547322fe16eb43c7771e9babf7788b8825914891c207051e25e407 SHA512 aa04609147c328e517dd678048500d2f9e6412d60edfa2e6fec3c6184a525faf84e9315a13acde4324643bb3e1b7291e470e4f0eab219e55261f7b857c3f768d WHIRLPOOL 88927d84aa6e7d38255bcec9ab674451d4be82ac8b46295802035da79f400e182ec671cd47fd8f08d332185a7656635b6a436828b69edf12f48d38bb1f6fcc8c
+MISC ChangeLog 4537 SHA256 6904e29c98fdba47211c1d88bb2c028910142ebe51824553fd6ab6650b4b5473 SHA512 48009c1072c5ae8d609c3f2b18d72b54c24f4dd8675bd3b7ded22fd6b60d6bc030f58694a9b702dba1e4f0c37d05a1ede201e2b25bb95db93d57820adab1ad45 WHIRLPOOL c21b7d4a95e85e247e911a558fb1251c003826ed13336ac783b050675678c95c66f9d2a6203fd2b55046b2d90d42aa94853f13d2c08e6c3bd8ba139dc4634970
+MISC ChangeLog-2015 3248 SHA256 b951925fd6fd1fc227ea11a1d364ece88998ada325a2d8a1dca4a7d4c3ac0025 SHA512 e572c555e6470558b089678fb52daa6561ec01c3ada4d8161fbb280e7884d98dd2ee3f77a666d61a9a37483faec7424534bb189e95f23ef64887a7188a9c025f WHIRLPOOL d5d8a113418090f53fa2a3294e647d108affa1b1ff4444a3b520c67411bdc67f7ed8a03e1c8b7b16a7933d4085215093a72b6661c5a372de95979571e57dda02
+MISC metadata.xml 363 SHA256 55e49b9d005195e624311affcb49f58dc2df0e3f7efe0360d3cf1e539a785df4 SHA512 e891b4270a6c2c77ffe9e5efd945c6e6d7fc058e6315fac0793fbf86ca68251fa9a3d2fce796419fce6be1ca0fca215d50b77e9a4da6667475d0e0a155bcc747 WHIRLPOOL 177379d036c1bde78960fb4546abe8fec17a7d99cbe80419fcca377e61219cfbb00be3f5b865058469f46c2739e8f428cdf4d2332be14579f8c5aac0c0ba7767
diff --git a/app-misc/bijiben/bijiben-3.24.0.ebuild b/app-misc/bijiben/bijiben-3.24.0.ebuild
new file mode 100644
index 000000000000..fc573ec4adc4
--- /dev/null
+++ b/app-misc/bijiben/bijiben-3.24.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Note editor designed to remain simple to use"
+HOMEPAGE="https://wiki.gnome.org/Apps/Bijiben"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="zeitgeist"
+
+RDEPEND="
+ >=dev-libs/glib-2.28:2
+ >=x11-libs/gtk+-3.11.4:3
+ >=gnome-extra/evolution-data-server-3.13.90:=
+ >=net-libs/webkit-gtk-2.10.0:4
+ net-libs/gnome-online-accounts:=
+ dev-libs/libxml2
+ >=app-misc/tracker-1:=
+ sys-apps/util-linux
+ zeitgeist? ( gnome-extra/zeitgeist )
+"
+DEPEND="${RDEPEND}
+ app-text/yelp-tools
+ dev-libs/appstream-glib
+ dev-util/gdbus-codegen
+ >=dev-util/intltool-0.50.1
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+# Needed if eautoreconf:
+# sys-devel/autoconf-archive
+
+src_configure() {
+ gnome2_src_configure $(use_enable zeitgeist)
+}
diff --git a/app-misc/bijiben/bijiben-3.24.2.ebuild b/app-misc/bijiben/bijiben-3.24.2.ebuild
new file mode 100644
index 000000000000..2054bf240250
--- /dev/null
+++ b/app-misc/bijiben/bijiben-3.24.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Note editor designed to remain simple to use"
+HOMEPAGE="https://wiki.gnome.org/Apps/Bijiben"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="zeitgeist"
+
+# XXX: raise glib dependency when Gnome 3.26 enters tree
+RDEPEND="
+ >=dev-libs/glib-2.28:2
+ >=x11-libs/gtk+-3.11.4:3
+ >=gnome-extra/evolution-data-server-3.13.90:=
+ >=net-libs/webkit-gtk-2.10.0:4
+ net-libs/gnome-online-accounts:=
+ dev-libs/libxml2
+ >=app-misc/tracker-1:=
+ sys-apps/util-linux
+ zeitgeist? ( gnome-extra/zeitgeist )
+"
+DEPEND="${RDEPEND}
+ app-text/yelp-tools
+ dev-libs/appstream-glib
+ dev-util/gdbus-codegen
+ >=dev-util/intltool-0.50.1
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+# Needed if eautoreconf:
+# sys-devel/autoconf-archive
+
+src_configure() {
+ gnome2_src_configure $(use_enable zeitgeist)
+}
diff --git a/app-misc/bijiben/metadata.xml b/app-misc/bijiben/metadata.xml
new file mode 100644
index 000000000000..ef0e02cae353
--- /dev/null
+++ b/app-misc/bijiben/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+<use>
+ <flag name="zeitgeist">Build the plugin to inject events to <pkg>gnome-extra/zeitgeist</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/binclock/Manifest b/app-misc/binclock/Manifest
new file mode 100644
index 000000000000..c2ae76d29173
--- /dev/null
+++ b/app-misc/binclock/Manifest
@@ -0,0 +1,5 @@
+DIST binclock-1.5.tar.gz 12301 SHA256 3b34033aef01771235e87848ddc92ef23dc2c989902f2ea1cb652b91e43f3df5 SHA512 f3650c8befb999a7e6261bc72ee4f81be670fe95899efc742112102c4107ebbbb25d015d57a702630ce2104cf8c738953c7fe70f24814514d8a2705240000e75 WHIRLPOOL 73b8ccdf94177e8959a83da9b0a3d9745e85c5672e2a4e3ef4d64a7394252697fc648040cf8486e519efb73c769be858ab5ae76445da3ea3bb2a370dccd1e3bd
+EBUILD binclock-1.5.ebuild 732 SHA256 d054f4e7f91f37b48a5acf00610ec7559cd4f5b79312e73d25438f87fcc185a0 SHA512 6a0acd2fcf9778e2f1e7b85e0c6b8f816b24b0fb7c999f2d53195764c9b30a095f24f8abd6b9533ab923ca63df406367468162eb556f71f73234a6ea7c104378 WHIRLPOOL 9a1a52ed047341ffda4f8683749945598d9bba551cdf5a5d9bb7f5de3a8b4baee0f579b6b1bcfb0a2ce8d23f8949b1bc23e18ed57bcddf4d38c1d84b8ecb3bc4
+MISC ChangeLog 2426 SHA256 2288caf78eb8a86971123e74165a0f0ffc0af743f434c38eaf2fdc98dbc64528 SHA512 148a8d02c07887c9b2a85a678616c1bf54bb3fa346409aeaa91c7e564c44e0a284888802e7833c36aada2be97cb43237900cb1a64f7c21de4ae178c66dae136d WHIRLPOOL 181c197b33b69e132418d3faaec41ced947f78d6d71b195ec0320c2dc8f0697131f596487fda80fd8d35f85349d6db4a3d1e2d7a15ebaec77a8bf852fde51c5c
+MISC ChangeLog-2015 2481 SHA256 1cf03f81ab2903406a5fe79185d8911de378337bb1764626565f64a91d538415 SHA512 dbb9bc38048e3afc857962a3053cb6d74672e1135503ba831d959c37524b333d02f32e05f8c92ecd1b1a9279e307758ed383e330f0f739a53742482b51f475b3 WHIRLPOOL c34c9a942d91f6799db942724e3038eca7dde37a57d7dd5910f30ea125dcbd812c3035753ab85889f3d9e813b2c2aa559d9b25207cad4e4d2b52e2e51bd1ba80
+MISC metadata.xml 352 SHA256 f8c5e4fc06b8ec3f143ffaa0a0f71275a2a7668d8d07dfc81d314a4b7fa5c295 SHA512 f4fb925a021543b198c3fb8d4a53e5d1c5450fd7f49cd76c99d9252e1c52747359c327fa99ea3a1a8882d51949b298c39c368049f86b7890c84dccaa6746226c WHIRLPOOL 5dd92c7c95bef8840b2d87eda19aac3b21c9bc3bf37d1a2a4cc82919cb3d6659fcc7916ef83d1d05ea7f61b7de47ca1f0550410d242e1ca3dbf0b4aef913d7ef
diff --git a/app-misc/binclock/binclock-1.5.ebuild b/app-misc/binclock/binclock-1.5.ebuild
new file mode 100644
index 000000000000..3e80505179b1
--- /dev/null
+++ b/app-misc/binclock/binclock-1.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Displays a binary clock in your terminal"
+HOMEPAGE="http://www.ngolde.de/binclock/"
+SRC_URI="http://www.ngolde.de/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=">=sys-apps/sed-4"
+
+src_prepare() {
+ sed -i -e s/strip/true/ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin binclock || die "dobin failed"
+ doman doc/binclock.1 || die "doman failed"
+ dodoc CHANGELOG README binclockrc || die "dodoc failed"
+}
diff --git a/app-misc/binclock/metadata.xml b/app-misc/binclock/metadata.xml
new file mode 100644
index 000000000000..0ca0fe608d0d
--- /dev/null
+++ b/app-misc/binclock/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription>binclock displays a binary clock in your terminal.</longdescription>
+</pkgmetadata>
diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest
new file mode 100644
index 000000000000..85d64b5048aa
--- /dev/null
+++ b/app-misc/binwalk/Manifest
@@ -0,0 +1,7 @@
+AUX 0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch 2295 SHA256 60d15dd80a2555380e0b6643e1bcdfab4263d5c6188b7620d324b713f84a9b5f SHA512 ad0a89521948ea381fef71c53f2a85e692ac46666fd93a18955f568fca583f5b5685a024152cd774a33df30e9b965513a57139d43db8357836e145d22710c006 WHIRLPOOL 5bd1d00d4a8c6cff6a9028c861cbafcdb4b06934171eaeb09190816cbd9f31d35c58233624fca439600c3dea6152eefbb00e05ab3c890c366eeb1916627c3f33
+DIST binwalk-2.1.1.tar.gz 263977 SHA256 1b70a5b03489d29f60fef18008a2164974234874faab48a4f47ec53d461d284a SHA512 373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168 WHIRLPOOL 3cb8faedd02c6a4859467c285efe00e73ea3e52c48ce2b55e0344853e8a5b7884f9d15eb502ab16bba7262e38dfdb0cbcfadc7d3af4015e4357d9d2d248e6113
+EBUILD binwalk-2.1.1.ebuild 1099 SHA256 0f8f77999cecaf9afa9a49d92ad3b45d86762de4c45c6c6ba999fa4378ebfd61 SHA512 afcff195011fa4c8cfb56d82b0984057c51e15919243260b6830ae093ffe11aeb6f22a69602ea61e14d6603db0c224bfa2c17b4b23affd752a3db13f50dcdfa4 WHIRLPOOL 22e19c6fa420b6517d0e19f82d90dcbb2ca3a394410ea3715f2a4bff0cb45fc7ffbdabbdf18446150ba61ec77e2dd25d411c94e74d6054bd42a801b6591b240a
+EBUILD binwalk-9999.ebuild 1010 SHA256 1b688e70225df59d0267e0fff12fd57990abbcb715ae9fd407719a37d5f825d4 SHA512 112d781d9aa9e513df88669b9552677a786e4dd1de435eaba983439699167fc2ac185e221a82627dd676ac3f3711c78e79531568447bcf5bb15eaa87b227084c WHIRLPOOL d515f0e668ee5edc4032fd8c769fbab7ceb1c0111b837bbdc629330e91502447e31c74ca8665ad816a24dd6c103617a7ce274ea90233f0d255aa0fc9bd2fe378
+MISC ChangeLog 2527 SHA256 e55fb3e896c9cd38f37baf47ae89998032a83360a8c55c81a1a64b75b30ede13 SHA512 97ecfcd9f4622279a173b58acb90efa70c4005e18c06412635fd7e445f436437701d599a452a0c0280882a094ffd48d515ae46449acc84f31203fb434819d9a4 WHIRLPOOL a5a93c63f9c8740ea98598380e687cf18b7065c0094cddd4651d5883f22cbd8420b2c0081caf5347861c46d9b03b63be692e89e7299b63a4989ea3fe988daac1
+MISC ChangeLog-2015 5465 SHA256 f363ee47e84936bf80c047360e4e81faa02937c022a33dbbdd699d1af07fa02b SHA512 0dd251e78b8652e910da14ad0b05ebe1fdc62830675bf7f9a5341d16169aaa58b3316ddd5a864bc3a379ee83991f48619c657344a349760ca89179d6f41b9b3b WHIRLPOOL 64db2ea313ccb792dbb8435d658878dea83cf88d9c9711100c490473b2fe549ba2a90567b6202c7b21779434943c9226fce86a1fe6dc0cd17f0e77664c8ffa4a
+MISC metadata.xml 1048 SHA256 15dfbab87582f53dab8252374a85bd91f0c790e9772833c400cb02585c0b7378 SHA512 21f3a889f181898140303550591b01df8aaa39ae61cd1fa14f1451742ad5ac750495afcb26c52ae3373972ad4098238959fac10bc462b18f5623ef8cf92770b4 WHIRLPOOL db0f17cbd5500336908cce9e20339676365c8b895277f7ccda017ff747520ebae5c131fd2a9c04ae3f72bffcdb6f9d23f02639c58f1b8e633055c84dad916108
diff --git a/app-misc/binwalk/binwalk-2.1.1.ebuild b/app-misc/binwalk/binwalk-2.1.1.ebuild
new file mode 100644
index 000000000000..5bd6562744d1
--- /dev/null
+++ b/app-misc/binwalk/binwalk-2.1.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/devttys0/binwalk.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/devttys0/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 x86"
+fi
+
+DESCRIPTION="A tool for identifying files embedded inside firmware images"
+HOMEPAGE="https://github.com/devttys0/binwalk"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="graph"
+
+RDEPEND="
+ $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7)
+ graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] )
+"
+
+PATCHES=( "${FILESDIR}"/0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch )
+
+python_install_all() {
+ local DOCS=( API.md INSTALL.md README.md )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "binwalk has many optional dependencies to automatically"
+ elog "extract/decompress data, see INSTALL.md for more details."
+ fi
+}
diff --git a/app-misc/binwalk/binwalk-9999.ebuild b/app-misc/binwalk/binwalk-9999.ebuild
new file mode 100644
index 000000000000..4b5c50dcc0bc
--- /dev/null
+++ b/app-misc/binwalk/binwalk-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/devttys0/binwalk.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/devttys0/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A tool for identifying files embedded inside firmware images"
+HOMEPAGE="https://github.com/devttys0/binwalk"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="graph"
+
+RDEPEND="
+ $(python_gen_cond_dep 'dev-python/backports-lzma[${PYTHON_USEDEP}]' python2_7)
+ graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] )
+"
+
+python_install_all() {
+ local DOCS=( API.md INSTALL.md README.md )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "binwalk has many optional dependencies to automatically"
+ elog "extract/decompress data, see INSTALL.md for more details."
+ fi
+}
diff --git a/app-misc/binwalk/files/0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch b/app-misc/binwalk/files/0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch
new file mode 100644
index 000000000000..708498060bc7
--- /dev/null
+++ b/app-misc/binwalk/files/0001-Added-check-for-backports.lzma-when-importing-lzma-m.patch
@@ -0,0 +1,67 @@
+From 95bce4edcc6e92c9517b80ccb1fb956f591e0738 Mon Sep 17 00:00:00 2001
+From: Craig Heffner <heffnercj@gmail.com>
+Date: Tue, 5 Jan 2016 13:28:24 -0500
+Subject: [PATCH] Added check for backports.lzma when importing lzma module
+
+---
+ src/binwalk/modules/compression.py | 5 ++++-
+ src/binwalk/plugins/lzmaextract.py | 6 +++++-
+ src/binwalk/plugins/lzmavalid.py | 5 ++++-
+ 3 files changed, 13 insertions(+), 3 deletions(-)
+
+diff --git a/src/binwalk/modules/compression.py b/src/binwalk/modules/compression.py
+index 97ca68d..e919f7e 100644
+--- a/src/binwalk/modules/compression.py
++++ b/src/binwalk/modules/compression.py
+@@ -2,11 +2,14 @@
+
+ import os
+ import zlib
+-import lzma
+ import struct
+ import binwalk.core.compat
+ import binwalk.core.common
+ from binwalk.core.module import Option, Kwarg, Module
++try:
++ import lzma
++except ImportError:
++ from backports import lzma
+
+ class LZMAHeader(object):
+ def __init__(self, **kwargs):
+diff --git a/src/binwalk/plugins/lzmaextract.py b/src/binwalk/plugins/lzmaextract.py
+index 137b4cc..93f6240 100755
+--- a/src/binwalk/plugins/lzmaextract.py
++++ b/src/binwalk/plugins/lzmaextract.py
+@@ -12,7 +12,11 @@ class LZMAExtractPlugin(binwalk.core.plugin.Plugin):
+ # lzma package in Python 2.0 decompress() does not handle multiple
+ # compressed streams, only first stream is extracted.
+ # backports.lzma package could be used to keep consistent behaviour.
+- import lzma
++ try:
++ import lzma
++ except ImportError:
++ from backports import lzma
++
+ self.decompressor = lzma.decompress
+
+ # If the extractor is enabled for the module we're currently loaded
+diff --git a/src/binwalk/plugins/lzmavalid.py b/src/binwalk/plugins/lzmavalid.py
+index a343656..62e15b9 100644
+--- a/src/binwalk/plugins/lzmavalid.py
++++ b/src/binwalk/plugins/lzmavalid.py
+@@ -17,7 +17,10 @@ class LZMAPlugin(binwalk.core.plugin.Plugin):
+
+ def init(self):
+ try:
+- import lzma
++ try:
++ import lzma
++ except ImportError:
++ from backports import lzma
+ self.decompressor = lzma.decompress
+ except ImportError as e:
+ self.decompressor = None
+--
+2.12.2
+
diff --git a/app-misc/binwalk/metadata.xml b/app-misc/binwalk/metadata.xml
new file mode 100644
index 000000000000..4dac81d24622
--- /dev/null
+++ b/app-misc/binwalk/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <longdescription lang="en">Binwalk is a tool for searching a given binary image for embedded files.
+ Specifically, it is designed for identifying files embedded inside of firmware
+ images. Binwalk uses the libmagic library, so it is compatible with magic
+ signatures created for the Unix file utility.
+ Binwalk also includes a custom magic signature file which contains improved
+ signatures for files that are commonly found in firmware images such as
+ compressed/archived files, firmware headers, Linux kernels, bootloaders,
+ filesystems, etc.</longdescription>
+ <upstream>
+ <remote-id type="google-code">binwalk</remote-id>
+ <remote-id type="github">devttys0/binwalk</remote-id>
+ </upstream>
+ <use>
+ <flag name="graph">Enable support for generating entropy graphs</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/birthday/Manifest b/app-misc/birthday/Manifest
new file mode 100644
index 000000000000..2483dde6ebae
--- /dev/null
+++ b/app-misc/birthday/Manifest
@@ -0,0 +1,6 @@
+DIST birthday-1.6.2.tar.bz2 85617 SHA256 355ad07ad3312d8f5c5b54c71596ac3a0e706c539167900d73cb65df30c8e2f4 SHA512 5081cd9f875260758d209165803715d3eb19e2256344172cb3ea01f87f859215ce68e29174c22eec467bdb6eebc11627a71674321bb9b96db9562d13cdc80882 WHIRLPOOL 226a0293a2a3b91dfd6eae09680a7e2df56de1c2329332574c2d4eb5be9520106309cccead7c71439d5b9f3149798d25321c167eda2ead3f972630698cd6665b
+EBUILD birthday-1.6.2-r1.ebuild 711 SHA256 8dbbaa4aee154ad14011a59d170b9c27d754427e787a4e213e0f2861566f3932 SHA512 5e4a0442541c083e8acf9e7247a9dace9461906c2fa5e1225e9b9c769ba92196e57eca36b554725354b68d819548f105b1623a683038df8fa6f1173d76fd55ef WHIRLPOOL a4292075185a8b19dbceca6c5248c3291e985e8dd8c0ef8ebad7d43c782f64ded2cb86b520141ae15622c15f90f4eccfe0f75a99880e42a438d583448fb2f386
+EBUILD birthday-1.6.2.ebuild 813 SHA256 e7bae80b456c6ecf18e284213e9bc2bb9135be26e3d7b8cc785e8e155fb32261 SHA512 48e2f5a7ab3a05008128803596af6be46227838614182c46f795de598539c9ea5adc7c22becb030d7f8bc47b69eac67ac2f2f77b1689863bd8958e9e2c653f28 WHIRLPOOL ca55cb1e915a042451a124945111c48b4cee8afb50a9889cc3d19f86ff5ff09ef952634dc83fda14b12dc54efa243916e874161d602a236155d031c19358c6c5
+MISC ChangeLog 3013 SHA256 36d63d6d1a30ff058ead875f5b5adf18b71fbfb92cd4a4a390b1e6666b62ec05 SHA512 c9addcdbbceb7779260e88dab8671715cdee67af170e3fc056d058b03200f34b47baa1b466b88107af1c364a40452cb97b51c4421a62bf32d209308e92a8bae1 WHIRLPOOL 242ac642445e34b2dd96fab1e075e09d47cae2f44eb1d9ac99fe14968ae879893fc2864988f07c7746498e89c0b303d961a84236cafcaeb02f80dc4bae2ffd4a
+MISC ChangeLog-2015 1990 SHA256 fc485e4a37fe6f34d544ec0a415ace63439c7d04838dc5f75d2df06d2e50f7da SHA512 7b9def7f5c695cb51067391acf14076dae60786d81442914f2ae2e5cb9ddc8f48686fb7cea82d6fd71b8a9ca700356a47f6247aaece87535308c3e91eca59e1f WHIRLPOOL 45660a75f281ba8fc49a698bd8b1f85b48903a90bd2f2cad68b5112da98ef5a59b64fb94955fc44b104dbdd08e759eac0931c5bbcf0854187f84ab3f262071e3
+MISC metadata.xml 343 SHA256 f634e0102d90da6c00bdca7d60675224622222dd050dbe5b0d7bcc8227cc14cf SHA512 1090fa6925bc056aba45841ccfdd8df241414eb187cb7a8d95379a65c3ef950849cf9e42d8f4dac1d44d2e7ae65f51d9498cee5e523a535ece88e553a75a1261 WHIRLPOOL 7f492df79a79fca8e981940970873cb44405c526dcc299e65261a5629a509b183708a0244229fadb4b1a18e0ed60ee939be72dd19f37ae156dc5c074087ac4af
diff --git a/app-misc/birthday/birthday-1.6.2-r1.ebuild b/app-misc/birthday/birthday-1.6.2-r1.ebuild
new file mode 100644
index 000000000000..caf191e6de43
--- /dev/null
+++ b/app-misc/birthday/birthday-1.6.2-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Displays a list of events happening in the near future"
+HOMEPAGE="https://sourceforge.net/projects/birthday/"
+SRC_URI="mirror://sourceforge/birthday/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ # Don't strip, install in correct share dir and respect CFLAGS
+ sed \
+ -e "s:install -s:install:g" -e "s:#SHARE:SHARE:g" -e "s:-O2:${CFLAGS}:g" \
+ -i Makefile || die
+ sed \
+ -e 's:grep -v:grep --binary-files=text -v:g' \
+ -i runtest.sh || die
+
+ default
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
diff --git a/app-misc/birthday/birthday-1.6.2.ebuild b/app-misc/birthday/birthday-1.6.2.ebuild
new file mode 100644
index 000000000000..cfdfb29b5b28
--- /dev/null
+++ b/app-misc/birthday/birthday-1.6.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Displays a list of events happening in the near future"
+HOMEPAGE="https://sourceforge.net/projects/birthday/"
+SRC_URI="mirror://sourceforge/birthday/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Don't strip, install in correct share dir and respect CFLAGS
+ sed \
+ -e "s:install -s:install:g" -e "s:#SHARE:SHARE:g" -e "s:-O2:${CFLAGS}:g" \
+ -i Makefile || die
+ sed \
+ -e 's:grep -v:grep --binary-files=text -v:g' \
+ -i runtest.sh || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/app-misc/birthday/metadata.xml b/app-misc/birthday/metadata.xml
new file mode 100644
index 000000000000..6461f9f10b33
--- /dev/null
+++ b/app-misc/birthday/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">birthday</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/blink1/Manifest b/app-misc/blink1/Manifest
new file mode 100644
index 000000000000..a2417e8ba517
--- /dev/null
+++ b/app-misc/blink1/Manifest
@@ -0,0 +1,4 @@
+DIST blink1-1.98.tar.gz 29439933 SHA256 2bbf8848c3c656ab8fb01035fd31103a321fbee20164691cf67e3706c4b50b16 SHA512 2057e3ccf149dbdaaea2d09dabaa95317125d65151dc79c675365f55e85a3d0988232fd5ff404bdcfd127ebc266495afa04fb1b3fd0e4ac931bb711b0bb63568 WHIRLPOOL 24872d94ce246e3f64b096462496ead02b14ed2dd19e6ca1fc1b6f03e5c12069e18cde9e5ace5c4ed49ee7d7a35a3d61542a06019242a43d953ab0a2a820f7c2
+EBUILD blink1-1.98.ebuild 2580 SHA256 afac1acabae3ec263aff557d65fc68223c7535a6373055c970c1f3731d74957b SHA512 5675d112620eed4d8647203c52671e0b24a87678c070858828375e84086a3f7959958ce144b921d94e79d28518885e71d159922592de980eb712ee75ade7d950 WHIRLPOOL bd241c5687d5675b3f0b56c039d012131ac0924763e7a4a76fac663ed1e8e0c3d855a5891c22c719e05b825629bd0afbb624125f5ad19d1513b74f0ca5f3176c
+MISC ChangeLog 358 SHA256 4b6c2a01f8da5855d923ad8fd48cdd7661cf29cf68feb9170cd43018b7ef278a SHA512 aaabbe75cce4459fcc335269edb087fd967452833249257e2d812a0770a42be9a72d86dad142b15658fdf48a9621aacf4715dd8c2aabbd22c4009eeeefa70413 WHIRLPOOL 9293f7126888debed9ee37b28de0b239c96dc2f2c29ffc9f250dbfdf6d9fbba2bc2498806c73f05775fe96908ab0fe16b0d1dac6e1adcc8a2ae7ae8eaf27fe49
+MISC metadata.xml 666 SHA256 6ea287190090f1c7567adcbc40725dd02473d90419361f8873f0ed92037986e3 SHA512 ced241a306659febebb8d3c9c8e4d59ccb90da7b0aff9ae8298d7c428bb1bf202022767af7c03bdbdd04c420d53658909ef8d2e9e546315ab668ca38343b61e7 WHIRLPOOL f641c8bce667adae494579fe0ed858e15ab199d236e554a3833aa512fdc337ae14b09eb53806ca99e0df5286a9fb97206e01f00a9ce125ebc5640d87062653b9
diff --git a/app-misc/blink1/blink1-1.98.ebuild b/app-misc/blink1/blink1-1.98.ebuild
new file mode 100644
index 000000000000..db7709ef64d0
--- /dev/null
+++ b/app-misc/blink1/blink1-1.98.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit linux-info
+
+DESCRIPTION="blink(1) USB RGB LED status light control suite"
+HOMEPAGE="https://blink1.thingm.com/"
+
+## github release tarball
+MY_PV=${PV/_rc/rc}
+MY_P="${PN}-${MY_PV}"
+SRC_URI="https://github.com/todbot/blink1/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+## selfmade tarball
+#MY_PVR=${PVR/_rc/rc}
+#MY_P="${PN}-${MY_PVR}"
+#SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
+
+## github commit tarball
+#MY_GIT_COMMIT="1e9c012bd79cb99a53a22980fbaa6f97801e7c03"
+#MY_P="todbot-${PN}-${MY_GIT_COMMIT:0:7}"
+#SRC_URI="https://github.com/todbot/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="CC-BY-SA-3.0"
+IUSE="doc examples +tool mini-tool server"
+
+RDEPEND="dev-libs/hidapi
+ virtual/libusb:1
+ virtual/libudev
+ sys-apps/attr
+ sys-libs/libcap"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ ## check for USB HID kernel support
+ linux-info_pkg_setup
+ CONFIG_CHECK="USB_HID"
+ check_extra_config
+ ## check for acceptable USE flag settings
+ if ! ( use tool || use mini-tool || use server ); then
+ eerror "At least one of the following USE flags must be enabled:"
+ eerror "tool, mini-tool, server"
+ die "unacceptable USE flag settings"
+ fi
+}
+
+src_compile() {
+ if use tool; then
+ pushd commandline &>/dev/null
+ # USBLIB_TYPE=HIDAPI
+ # USBLIB_TYPE=HIDAPI_HIDRAW
+ # USBLIB_TYPE=HIDDATA
+ emake OS=linux USBLIB_TYPE=HIDAPI blink1-tool || die "emake blink1-tool failed"
+ popd &>/dev/null
+ fi
+ if use mini-tool; then
+ pushd commandline/blink1-mini-tool &>/dev/null
+ emake OS=linux blink1-mini-tool || die "emake blink1-mini-tool failed"
+ popd &>/dev/null
+ fi
+ if use server; then
+ pushd commandline &>/dev/null
+ emake OS=linux blink1-tiny-server || die "emake blink1-tiny-server failed"
+ popd &>/dev/null
+ fi
+}
+
+src_install() {
+ if use doc; then
+ dodoc docs/README.md
+ fi
+ if use tool; then
+ if use doc; then
+ dodoc docs/{blink1-tool.md,blink1-tool-tips.md,blink1-hid-commands.md,blink1-mk2-tricks.md}
+ fi
+ if use examples; then
+ insinto /usr/share/doc/"${PF}"/examples
+ doins commandline/scripts/{README.md,blink1-*.sh}
+ docompress -x /usr/share/doc/"${PF}"/examples
+ fi
+ dobin commandline/blink1-tool
+ fi
+ if use mini-tool; then
+ dobin commandline/blink1-mini-tool/blink1-mini-tool
+ fi
+ if use server; then
+ if use doc; then
+ dodoc docs/{app-url-api.md,app-url-api-examples.md}
+ fi
+ dobin commandline/blink1-tiny-server
+ fi
+}
diff --git a/app-misc/blink1/metadata.xml b/app-misc/blink1/metadata.xml
new file mode 100644
index 000000000000..0e55ab8d1425
--- /dev/null
+++ b/app-misc/blink1/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">todbot/blink1</remote-id>
+ </upstream>
+ <use>
+ <flag name="tool">Build and install command-line tool blink1-tool</flag>
+ <flag name="mini-tool">Build and install command-line mini-tool blink1-mini-tool (normally used for embedded devices)</flag>
+ <flag name="server">Build and install REST API server (currently hard-coded to TCP port 8080)</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/bottlerocket/Manifest b/app-misc/bottlerocket/Manifest
new file mode 100644
index 000000000000..79882b7c8bce
--- /dev/null
+++ b/app-misc/bottlerocket/Manifest
@@ -0,0 +1,5 @@
+DIST bottlerocket-0.04c.tar.gz 40533 SHA256 deb8fbf8856f87af15fa9883e07b1fddb2aa78f6b4c7d119ae4bd664dc1d19ae SHA512 37673bd9a519307f0ae3003f3a458dbb99d4fd0c96ebaa664f4967fe45b20c1132828c3c7a31e769157e6034c43c9cdcd1ecac8c6791812d2a04e93d4c0c6888 WHIRLPOOL 838f4267ea55a70fff2a50d457e90d2597ff6254383ae7d420075cb32782a8544a6491c9109e42f066c8408f14ed08654756f783184fb667471a7c7a4dcf12e6
+EBUILD bottlerocket-0.04c-r1.ebuild 881 SHA256 2dcf5030b48b86747a6fe67320a43a6ca74cdb3c146341f8e081ad5a10bf8c3e SHA512 1b022113885a17a16c3ff555cdad77b4f498b8b4eced10f9636998883c0cd046f813bea88d51bf19d4a096a19c475079a3ea97d286e1419f39d7ae73966dc33f WHIRLPOOL 0a679afe684de58ef0281554fb9c52b91fb1e276788c954524b42d2aa7667a2065c052d894a809f9d3362e7867b1c940e3c8256015a6cb6838a7077ef4d57510
+MISC ChangeLog 2543 SHA256 c7e81725905efb99dda6d72eb801739be9c5bb4da26524a851befe2fad0704f9 SHA512 bb8ba6a5a87235cb656329666aaeeee126e3edc62d2c1075d4b52863062c6edf58b7e3efe430ec41ff0df915e381acdf88fda5d17ce8aaff39bf8dc3630ab257 WHIRLPOOL 432cf887021b2953f4e0504dd20378e23b382605543584af527c1b6d08fcd36546b02b246269cf0617e0602ad6245fd2bf8ae606243e9fa7c810886566b0c686
+MISC ChangeLog-2015 1638 SHA256 56e6fd4220e049f5b9b29c4f3852ba78128bfba2f6b9da5cc094c1efef7ac9ae SHA512 f50392bfef398b3fe0b8142cc9b99712b1a7cbe711797e14d1b5d9e30b498084098fa500a715e408b059d64f5d496fa100e7d2fefaa616b24c9db8e2455c00fb WHIRLPOOL dc1f6f42a8df606f87d94406a973970b21e3117fdfa0bc73a8f901a1a5010d0911df70b45c6dd1148972044866012f1fd5c25091d95e4615c6fc99a8044c0782
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
new file mode 100644
index 000000000000..4bebb91dd777
--- /dev/null
+++ b/app-misc/bottlerocket/bottlerocket-0.04c-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="CLI interface to the X-10 Firecracker Kit"
+HOMEPAGE="http://www.linuxha.com/bottlerocket/"
+SRC_URI="http://www.linuxha.com/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+src_prepare() {
+ # inset LDFLAGS
+ sed -i Makefile.in \
+ -e 's| -O2 ||g' \
+ -e '/ -o br /s|${CFLAGS}|& $(LDFLAGS)|g' \
+ || die "sed Makefile.in"
+}
+
+src_configure() {
+ econf --with-x10port=/dev/firecracker
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall"
+ dodoc README
+}
+
+pkg_postinst() {
+ elog
+ elog "Be sure to create a /dev/firecracker symlink to the"
+ elog "serial port that has the Firecracker serial interface"
+ elog "installed on it."
+ elog
+}
diff --git a/app-misc/bottlerocket/metadata.xml b/app-misc/bottlerocket/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/bottlerocket/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/boxes/Manifest b/app-misc/boxes/Manifest
new file mode 100644
index 000000000000..38e9a3d950d5
--- /dev/null
+++ b/app-misc/boxes/Manifest
@@ -0,0 +1,7 @@
+DIST boxes-1.1.2.tar.gz 101658 SHA256 4d5e536be91b476ee48640bef9122f3114b16fe2da9b9906947308b94682c5fe SHA512 10efb5f62d94003532e2f32d6a0f7c76dd86c7cfaf150f35c24516dc6684f5e3909ecd5fd48c1c64f25f874cb1364bdf3d959a2fb837bfe74c2d879a35f443dd WHIRLPOOL 4017bca428dc6d5cd55a3eb240432ef00a468c21d6d3e3a66a8ec51105b5933d8949006cdefe61d9c1689a663afee6cce8b093c6e5a70368bcd23482aa31f0f3
+EBUILD boxes-1.1.2-r1.ebuild 861 SHA256 c7808e891cbcbec07cbbcd4b060ceb8934e97cd38ed8a95259a8a3129fa14a74 SHA512 c528b010b53d79d63eb9c5094975e86134960c606030577be41f1d18238b2d1104d2e8ed795b87710f103af00015ed5b0eb7b05af5503382d69c5da8fd7cc013 WHIRLPOOL 19edc9ba8d5f780cbfbe7811c5a151fe3072372a97f6586ada162935e6a54d6bff3a02a6f8331e6b20d8e9138406e3bd523f90ac94d9a4296c56fec3ab1a697d
+EBUILD boxes-1.1.2-r2.ebuild 869 SHA256 50f1890cf19896ec3a51cbb04800b71962c67fe6c1c5d22e862281d43e610433 SHA512 93ae9c4536ccae41faf5d0e7635a1071b44b97cebb82e243caa6661ba5ce2537f4bbc8e6617fb822c0545c661d0d99a05d4acfc72199a45adaf836e0afb1fc23 WHIRLPOOL 338848485ddc633b9f524406b33025af4faf3649ba5c3a0bfd59638c16c577b2e22071a5f4cf879c79c784df08cab6b56146840dd4dca2161483ff895b2dd996
+EBUILD boxes-1.1.2-r3.ebuild 865 SHA256 0b99bb3db3db0d1539c108677c424888baf43fb567286acfa71af650f1747f3d SHA512 81690b190e92686877552b49ad1e0d974b74b6e822cf6c101b4e5de85c7b256be6b00a4e3fbf6f04c09f0e3e328aeac4d941bdef33f78bdfaf935895103d554f WHIRLPOOL d80a40b3818a8832bdab72c919551747e3012f62f67728898e9f644100b70ef2645f96387bbe205de419cdd4a509da1a7b9a8bae0d386b4040b457bc38355f03
+MISC ChangeLog 2904 SHA256 ea52d98a10495cf078b81586552ea8585f9018fec11e5e2eb44fb0d985edea8c SHA512 4dd52af1fb80c03161da0493ca09eea577a09787729366f7272cefa824d282a5228e9857d45b0f154d9ee54198807ca74b07a8628a089d3209d5b1f648f56d79 WHIRLPOOL d28f8a0cf3c051f4a156c062c79532dcd98c635302ac7baa29831c8dae9a7ca8770bf282003d3d14d7dcc342177555684864eaeef775c7bc42b24bb70b5a4122
+MISC ChangeLog-2015 5311 SHA256 d86191920e7a4176df3bbcd77af728d28fb6695304b960d39b3a34d17ecc4aa2 SHA512 d7a7a52340d640445d0a08ce9ad1c06f6b28ea8823950e4b90e1fa6c6ca3ddcd060d3e9138e07e3706fdba94f1b52cc9fa94373e6135c08b6103c31ccff3b48e WHIRLPOOL 21533de4fa7b81321e7ceb10f836fd2cc76f44e3677e2006aa1bb9aef16156cc3bd04c055e6aa413ef4bacd11d04efe1a66b191aa7aa8442d3410e281f7fd240
+MISC metadata.xml 357 SHA256 00262a26c5d496075eb55315405fadbf5a93649dcbdfce66afb609a13af038a9 SHA512 37d5831d4633bd9f5d3d113841f6300adb8945827fd113bb9366181e11bd0234f7804f7bbb1b930e40a5a0a55e402b4561c8765d9d747100021c2e4ec5ba2074 WHIRLPOOL eca0b64b6d34136ef53efea654ab38865d5f1d827fea49f67d369b5de756a0973d2d18ffc0fd5317fe10a5ea8e9464fe46a5b419b6688a8eb7a82c71d6c39c28
diff --git a/app-misc/boxes/boxes-1.1.2-r1.ebuild b/app-misc/boxes/boxes-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..396033fe7e9d
--- /dev/null
+++ b/app-misc/boxes/boxes-1.1.2-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Draw any kind of boxes around your text"
+HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes"
+SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+
+src_prepare() {
+ append-cflags -Iregexp -I. -ansi -std=c99
+ append-ldflags -Lregexp
+ sed \
+ -e 's:STRIP=true:STRIP=false:g' \
+ -i src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin src/boxes
+ doman doc/boxes.1
+ dodoc README.md
+ insinto /usr/share/boxes
+ doins boxes-config
+}
diff --git a/app-misc/boxes/boxes-1.1.2-r2.ebuild b/app-misc/boxes/boxes-1.1.2-r2.ebuild
new file mode 100644
index 000000000000..78245bb48fea
--- /dev/null
+++ b/app-misc/boxes/boxes-1.1.2-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Draw any kind of boxes around your text"
+HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes"
+SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+
+src_prepare() {
+ append-cflags -Iregexp -I. -ansi -std=c99
+ append-ldflags -Lregexp
+ sed \
+ -e 's:STRIP=true:STRIP=false:g' \
+ -i src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin src/boxes
+ doman doc/boxes.1
+ dodoc README.md
+ insinto /usr/share
+ newins boxes-config boxes
+}
diff --git a/app-misc/boxes/boxes-1.1.2-r3.ebuild b/app-misc/boxes/boxes-1.1.2-r3.ebuild
new file mode 100644
index 000000000000..737c507427ac
--- /dev/null
+++ b/app-misc/boxes/boxes-1.1.2-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Draw any kind of boxes around your text"
+HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes"
+SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="
+ sys-devel/flex
+ sys-devel/bison"
+
+src_prepare() {
+ default
+ append-cflags -Iregexp -I. -ansi -std=c99
+ append-ldflags -Lregexp
+ sed \
+ -e 's:STRIP=true:STRIP=false:g' \
+ -i src/Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin src/boxes
+ doman doc/boxes.1
+ insinto /usr/share
+ newins boxes-config boxes
+ einstalldocs
+}
diff --git a/app-misc/boxes/metadata.xml b/app-misc/boxes/metadata.xml
new file mode 100644
index 000000000000..3ec0f95910a9
--- /dev/null
+++ b/app-misc/boxes/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ascii-boxes/boxes</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/brewtarget/Manifest b/app-misc/brewtarget/Manifest
new file mode 100644
index 000000000000..1aae53460764
--- /dev/null
+++ b/app-misc/brewtarget/Manifest
@@ -0,0 +1,5 @@
+DIST brewtarget_2.3.1.orig.tar.xz 9449200 SHA256 1541856e9f835d896045ea3f0aeaf9ed254c8225e9fe0e540a0b4e5bd467ceb0 SHA512 2ff29496df6df1b4507594905f5b3cdedd472a3e767c5f5dda00d306d092a7bec6f9d67350a830416f0ab457553339ba2f9dd2ea8476ed1dfa7dd4c49adda086 WHIRLPOOL c9e539cd91ebb9d48cecf3a2f21cc5522fcd5b04f99d07a32c98af117949cad467621b09ad26e0ca16c91dce411f70ec5523fd98d98e9f28d6efe44e2c27886d
+EBUILD brewtarget-2.3.1.ebuild 1246 SHA256 054e0a03c7893b75853ee929b415fdac9a9f7b7b8c07df14236de9caf1bd84b4 SHA512 b6409e126ed6e94d0511f08749c56e5a4e774ddacdc6ccf64ca5ce68c27502a5a8b6eb37118301bec44396664b2754d2e76c072879623d2f675d2cc12e0bcc30 WHIRLPOOL 5638a6116d00b72019b952f44daeb5d14bc66178db1ccb65c88e178bf19e6fed382f56d650a6031be134056345baea3816195acbc66e483a63ddb4c7b0e49027
+MISC ChangeLog 2859 SHA256 8663a72182cb0f4f69d5e53383ee21dc1b8bfb241df12d2cd49baefb28256cf6 SHA512 2d7328e18b2913b5599b0804cd5464451305431728b9ccc8b0b5407488748bc68c330b82e26f29fcd0e56769145a69850cf4d906ffdb52ee0d3a8c40cf2b0a53 WHIRLPOOL 465c22307fd05e209164c79a4b3e480cebeab93fc36a4c88f1660ac9a8d58c329c43b284f92203333c8dd9177eb18491a0ecd91788315a998902b5ce31352339
+MISC ChangeLog-2015 1670 SHA256 00bbff5e35b12eb23e0b393d9027dcde090693e38d3269bfcde83b7e5b428d41 SHA512 01864df258e932792cc0f9283ee3d04886715474925cab1882a3bc594c1b3c70447e7e6203a38416be2e3c6993dd6007dc3a97f27272c89cd86b44f7c4b7a04d WHIRLPOOL f266beb47e45888829ada855f58d47a57c04552dc8381a6bb71b15a2a7f5aa576c80a2e0c9d79016e82c528b0e6cc3ba5a94dcfada7e8ee4e3a7580fb25c389c
+MISC metadata.xml 333 SHA256 54fe3a196bf35865d69edf0446ad63e01d0342e3c6cbacca87686d4f1750f787 SHA512 e51f8f143455d51148898350c95b321226c7bd931a585234bce000cf1b2f2762b465f2af764288cc4ddde13abf825f8571e4a6ed7f9e73fbb315030d51cb45aa WHIRLPOOL e39a7747c787c51a224a47e16e740646ddac4062e5ae952b6860c7e8586c5639c45e0c533e694df835d02cf537b68adfa0154683f3435355ad6a8f4f08a525a1
diff --git a/app-misc/brewtarget/brewtarget-2.3.1.ebuild b/app-misc/brewtarget/brewtarget-2.3.1.ebuild
new file mode 100644
index 000000000000..320d5b9daa7c
--- /dev/null
+++ b/app-misc/brewtarget/brewtarget-2.3.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PLOCALES="ca cs da de el en es et eu fr gl hu it lv nb nl pl pt ru sr sv tr zh"
+
+inherit cmake-utils l10n
+
+DESCRIPTION="Application to create and manage beer recipes"
+HOMEPAGE="http://www.brewtarget.org/"
+SRC_URI="https://github.com/Brewtarget/${PN}/releases/download/v${PV}/${PN}_${PV}.orig.tar.xz"
+
+LICENSE="GPL-3 WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtsvg:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+remove_locale() {
+ sed -i -e "/bt_${1}\.ts/d" CMakeLists.txt || die
+}
+
+src_prepare() {
+ l10n_find_plocales_changes "${S}/translations" bt_ .ts
+ l10n_for_each_disabled_locale_do remove_locale
+
+ # Tests are bogus, don't build them
+ sed -i -e '/Qt5Test/d' CMakeLists.txt || die
+ sed -i -e '/=Tests=/,/=Installs=/d' src/CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DDO_RELEASE_BUILD=ON
+ -DNO_MESSING_WITH_FLAGS=ON
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-misc/brewtarget/metadata.xml b/app-misc/brewtarget/metadata.xml
new file mode 100644
index 000000000000..398588962207
--- /dev/null
+++ b/app-misc/brewtarget/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pesa@gentoo.org</email>
+ <name>Davide Pesavento</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Brewtarget/brewtarget</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/btail/Manifest b/app-misc/btail/Manifest
new file mode 100644
index 000000000000..e913d1ce6cdb
--- /dev/null
+++ b/app-misc/btail/Manifest
@@ -0,0 +1,5 @@
+DIST btail-0.3.tgz 7402 SHA256 0bcf19b49ad2071a7fd31bbc12327c132c1419d67519ea67d97241d436f71b1c SHA512 1b27b6fff41b5e69119526115d5c3d239d106303923796121829729617765354cbd3f769b95c8fd32cd5a181475c3cde0ffe2accaae44ae461966df46bb990ee WHIRLPOOL 882dcb45ae21750c6d3487e6885d798e2356567d55f27b8269c5037033aef6268cacd7c076e69bf95925770943a256433b96b0715c96d6101850cc9384f0371d
+EBUILD btail-0.3.ebuild 738 SHA256 4b40f8f61b84270b830215d0f5a50b147ce13b82ede71865fec29532d1f61cf2 SHA512 ad817a50faca01ffbc851511ea91558b87c571182aab2f8efdf683c5cb6e64b4bde5acecd6ab14f34262adeece7aae872c621f713bc6c3b32d1d8b976d9b48b4 WHIRLPOOL 5f936744df8d28ec83835ecc44b705948b98302c3fbc90afb660dde3b49dfa67d16363dc862b8031fa6fac96ee47de993a69ab0a7d851eb0d6c38fc6b1b20567
+MISC ChangeLog 2512 SHA256 a39b5b358ad95063248d3610b40f890f0f08604d12b439ec986eb30373eff094 SHA512 76974b2920b01d8890b8cd7227a2f0124f960eb9bc8947868ef36c48960de41b0aa93b96352aba21388181c6b178c40e14ce6de77e72f822b6f0b2f8c42951b9 WHIRLPOOL d81bde8b73c4eed4841e06cc1497704f9c1151cf95f6c89b5a2aa5d398cc0acc042da0dd1aeb15da57a1a083602e3ccd3a8ab48b07258f7bbb8ba1519fd3c2cc
+MISC ChangeLog-2015 1058 SHA256 21876b1d5a26a4769886e8da6288e9e3bbb499dbd4dac0934bee78bcd0b3ec6a SHA512 d22736ab14a6c3d652b8e08b671c19bb507f9a8b9d7f34b9f25d59056369cfd33be6ded0eefc4e4a97c6932176e60225d4e600f7925d99158a5b4630b104ba55 WHIRLPOOL f2ca1dc88187df45d8ceb0d8cdc8240f225b4984d1f5352473212bd2bfde2aa32309e849f41433a998bca3cd48e4e70ec7175d209bccb4feabf0620b41b08eb3
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/btail/btail-0.3.ebuild b/app-misc/btail/btail-0.3.ebuild
new file mode 100644
index 000000000000..7a7acc3d203f
--- /dev/null
+++ b/app-misc/btail/btail-0.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Bayesian logfile filter"
+HOMEPAGE="http://www.vanheusden.com/btail/"
+SRC_URI="${HOMEPAGE}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/gdbm"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i Makefile \
+ -e '/^LDFLAGS/s:=:+=:g' \
+ -e '/$(CC)/s:-Wall:$(CFLAGS) &:g' \
+ || die
+ sed -i conf.cpp \
+ -e '/Configline/s:):, line):g' \
+ || die
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ dobin blearn btail
+ dodoc readme.txt btail.conf license.txt
+}
diff --git a/app-misc/btail/metadata.xml b/app-misc/btail/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/btail/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/byobu/Manifest b/app-misc/byobu/Manifest
new file mode 100644
index 000000000000..1a970025fdfd
--- /dev/null
+++ b/app-misc/byobu/Manifest
@@ -0,0 +1,7 @@
+DIST byobu_5.122.orig.tar.gz 581198 SHA256 0e5f14db8340712cf5b1049002c5b7f2a116ca28e6df418cb7500d3c4fa43234 SHA512 df090d964dfc9b9667fa357f828e021788e0c43ed6849c9f0d4f0a95e8cc431e3cb74ce4569e96187a78f640a5fb91d5eda8cc1f2619d83cf2ad79c82a8c1f10 WHIRLPOOL bf58f3b3784ba8587242f4bebefb0a4c0adc66a604d452c2f37d5f8479a8e21867ae79b32c2ea9203aca1e7c1bd0a8e92d28d4c864fc43a9a0a8dcb5d10d790c
+DIST byobu_5.123.orig.tar.gz 581421 SHA256 2e5a5425368d2f74c0b8649ce88fc653420c248f6c7945b4b718f382adc5a67d SHA512 915ad330e85a4405ad808a6f03205c468800c0942507fc0183a883bb0b33be4023b5ef9d7a63b3fce328f771ac1a4952735ee6119a26d6a5f2b01afec7a04059 WHIRLPOOL a3c35f42828e3fc492d2873f67f9094d8b6a73db594acb7b50616bed5a1638415ea1526345ef12b0b79e65e461900fdd6caaded597f8ccfcb400b082ad7a3ac3
+EBUILD byobu-5.122.ebuild 944 SHA256 485a0b948ce7c1e687f267c60e805cf2df2ad899514b64e3ac92435d9aed2adb SHA512 68e5edd4db0a5afba31ce4c984e3c1a95c84a16e7e5f8fef9afe6be77126c596e9e288f339f3994eb00c4d7f56514e5e2ce13e61a7cd0542542835aaee903d85 WHIRLPOOL dc82ff78c16e7d03589c82f46d51e3750749c920912bc55fd3c2127cb2f683f065c789b2a1ab97ee1c7f433c7c6f94700ba033810b533430038955def1ef6ee2
+EBUILD byobu-5.123.ebuild 946 SHA256 97b528071cb6a2e83196a56dfe0496c697b664885b67599c9aef9e6d598b5e70 SHA512 468978f2398a70477a5b62df314507b44891b29fe4df4f8424f5be639238f9f997a39debeedfc3ddf30a60f447147fdb2d50707d2c98d6f7b73fb3836773e115 WHIRLPOOL d0b5ace176ff5643f2e20c1a281e2f3b9b0bdd46243cf4f139e735907d35247d54ffc8d8cf7497d1dc288e3df74559dc8dc71450c25542dfca13deaf04553780
+MISC ChangeLog 3620 SHA256 6b22e5926089414b3b95997a64e06a78475903d5bac7a669ee95bd0dde05d452 SHA512 99b113f79ccd3f6e6227817c21f9ee000edbaddcf3463a73d3656e852b3a797dcdafb973834b3e846531c9c3ffc9a2066f7c3e49cdad8cfb63c6bec6bf9c77a1 WHIRLPOOL 05aaeaa0f116e34113acb91e21ccc2bf4865917ed85fbb48c2fcad1058a985814ab27befe7b722a4969a7a635b0ea1ab9dcc454b1e0a60267b553d46c0c21406
+MISC ChangeLog-2015 12471 SHA256 531852cf207b4352df24e8e700c030bc47a0d99f33bb9600f068a1c8be507cd1 SHA512 9e326973776877400b25d66b6588eda51b8c14d0f88a61f9bf1acc7c3af085f4e190c4ed1f1db7474a58c36997626dfb286dfa138def952be626703fb67e2063 WHIRLPOOL a20bd396a7ff709971e1848c9f010411502f8b09f945c128a2bf2f8a4ed0b7659abaaedf1a8390de743465882a3be26dc1cf0b804704b86ce9608240b058405d
+MISC metadata.xml 981 SHA256 12ed9e6f289257b9736de831582aad543b658b80e1835de42ed0a3def0a721f4 SHA512 6056ce18301ef9147fce0922c07ef455c416d75b78e23bc0aca9154e1765f167ebffbafc8e330f4878f0b575483131d417354f14e392568c91ef04087cf87d0b WHIRLPOOL 64ab86e527a04173c76dd9c21fba8c0ca577761f7fe58401b3181aa5d696188b88de6e35463e19724bf62658fce5d7d269ac092fe790c5c9b6a208e27a025a98
diff --git a/app-misc/byobu/byobu-5.122.ebuild b/app-misc/byobu/byobu-5.122.ebuild
new file mode 100644
index 000000000000..33c36ce0cdc5
--- /dev/null
+++ b/app-misc/byobu/byobu-5.122.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
+HOMEPAGE="http://byobu.co"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="screen"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/newt[${PYTHON_USEDEP}]
+ screen? ( app-misc/screen )
+ !screen? ( app-misc/tmux )"
+
+src_prepare() {
+ default
+
+ python_fix_shebang .
+
+ # Set default system backend to screen
+ if use screen ; then
+ sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
+ fi
+}
+
+src_install() {
+ default
+
+ # Create symlinks for backends
+ dosym ${PN} /usr/bin/${PN}-screen
+ dosym ${PN} /usr/bin/${PN}-tmux
+
+ docompress -x /usr/share/doc/${PN}
+}
diff --git a/app-misc/byobu/byobu-5.123.ebuild b/app-misc/byobu/byobu-5.123.ebuild
new file mode 100644
index 000000000000..f67cbf99d559
--- /dev/null
+++ b/app-misc/byobu/byobu-5.123.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
+HOMEPAGE="http://byobu.co"
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="screen"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/newt[${PYTHON_USEDEP}]
+ screen? ( app-misc/screen )
+ !screen? ( app-misc/tmux )"
+
+src_prepare() {
+ default
+
+ python_fix_shebang .
+
+ # Set default system backend to screen
+ if use screen ; then
+ sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
+ fi
+}
+
+src_install() {
+ default
+
+ # Create symlinks for backends
+ dosym ${PN} /usr/bin/${PN}-screen
+ dosym ${PN} /usr/bin/${PN}-tmux
+
+ docompress -x /usr/share/doc/${PN}
+}
diff --git a/app-misc/byobu/metadata.xml b/app-misc/byobu/metadata.xml
new file mode 100644
index 000000000000..0d5f7a14d142
--- /dev/null
+++ b/app-misc/byobu/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription>
+Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.
+It was originally designed to provide elegant enhancements to the otherwise
+functional, plain, practical GNU Screen, for the Ubuntu server distribution.
+Byobu now includes an enhanced profiles, convenient keybindings, configuration
+utilities, and toggle-able system status notifications for both the GNU Screen
+window manager and the more modern Tmux terminal multiplexer, and works on most
+Linux, BSD, and Mac distributions.
+</longdescription>
+ <use>
+ <flag name="screen">Use <pkg>app-misc/screen</pkg> as the default backend</flag>
+ </use>
+ <upstream>
+ <remote-id type="launchpad">byobu</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/c_rehash/Manifest b/app-misc/c_rehash/Manifest
new file mode 100644
index 000000000000..1855ba7259d0
--- /dev/null
+++ b/app-misc/c_rehash/Manifest
@@ -0,0 +1,6 @@
+DIST openssl-1.0.2g-8.tar.gz 21497 SHA256 69e153c62a9a583a097c713be78fb19a7c494b248f1f502f7d47309109a2e105 SHA512 1b8c0cf8d21f2c9f2f32b4442e02a0832ab9cf9d4ec9943b20ec8363df916bfb218da26b9cbc79783090dea01a9b04accd797c3dada893ac767565ab32047eeb WHIRLPOOL 21e4f5ca6d38b31962d55f8e85d3f9e21615aa9f701567058d5638e0422f072cde4ea4227d3a426b20b4434392d2e3cfe85420c94d7d4d8de69639adcb00065e
+DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1
+EBUILD c_rehash-1.0.2g_p8.ebuild 1037 SHA256 c0b75bd9104bfe53570e7ccaed5d8851686472b966eb23700613fbbba69ee8b8 SHA512 f13e9af911a18df0ccfa4e1c1c6edee75b7eb4e2af81a86dda43d1c3eec71893f78190a8aae0469c65369ba8a92b686d012ffffbcb3774e86b67d6f4ed957612 WHIRLPOOL 4c152c23b5b68f32e1819805a1df805caa8f0d240e9424fd3d376964c93a16a553748d95a338cd710d40dd77280fb43d52dccd75e0d54ccb91d815f1221443ef
+EBUILD c_rehash-1.7-r1.ebuild 1000 SHA256 deaeae9e05b78258084eeb2513b4f1505a59488b6d9dd9ae6c37827ea180d138 SHA512 69ec809562afec3fdb0b1200742e8c8cf642ccfb8815e293e32c119e4d0dbc6273b61bd22298e86432ac87996e58a3e6328facae17d9e5da8246a403b86e0056 WHIRLPOOL b907ed973d486e0f46ba8ce5ddd11a44b730e5ad3dd61780f9f6acd5e59ac6e8f35ecd71360991ff2b73266c8ce66ecd6a29baacb4e20ad5f35bf6c3d491f910
+MISC ChangeLog 2967 SHA256 e0d334d8823c791336365a723efeb1508c89fc20f7ed7c185af4c19e04efe335 SHA512 6f137de26fc6b3b76c14242314481672371c4b03461e59549b9b4cb855e642d20f753055efecce33d133c689f90e00857752a6a5f872f3a4cfeef41d51bf69f8 WHIRLPOOL 42fc9ddbcd3e955a92f530c65262425d147f715093f8f98fefad0dae75f8325f88ba0fba687fda8fd0aecbe8ab66bc72796f813bbc62eb8f70b68086772cdc92
+MISC metadata.xml 339 SHA256 65ffabfb3dfb0d78313b9a3a3279069cee07fa88835ca8ecb0fc7a3c5bc1c7c3 SHA512 611bcd575733b05ac99027ea49a79c29fa969eeccf75b12cfda6e77a42b2241e414951b25b089eeac7fd2255d42872b38c68fc5d004880b5dfe7a89c73e8f64c WHIRLPOOL a3715979957df6bb7d34fdba29dcf0cc95d14f733a9894da393a1e7d82ffbe0c235230677cecc84be61e17924444fc23b91b9f91b89ec46c342a0ce09669e0b7
diff --git a/app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild b/app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild
new file mode 100644
index 000000000000..67cefbdc05a5
--- /dev/null
+++ b/app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+MY_P="openssl-${PV/_p/-}"
+
+DESCRIPTION="c_rehash script written in POSIX shell for OpenSSL"
+HOMEPAGE="https://www.openssl.org/ https://github.com/pld-linux/openssl/"
+SRC_URI="https://github.com/pld-linux/openssl/archive/auto/th/${MY_P}.tar.gz"
+
+LICENSE="openssl"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="libressl"
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl:0 )
+"
+
+S="${WORKDIR}/openssl-auto-th-${MY_P}"
+
+src_prepare() {
+ SSL_CNF_DIR="/etc/ssl"
+ sed -i \
+ -e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
+ -e '1iOPENSSL=openssl' \
+ openssl-c_rehash.sh || die #416717
+}
+
+src_install() {
+ newbin openssl-c_rehash.sh c_rehash
+}
diff --git a/app-misc/c_rehash/c_rehash-1.7-r1.ebuild b/app-misc/c_rehash/c_rehash-1.7-r1.ebuild
new file mode 100644
index 000000000000..76eec085b028
--- /dev/null
+++ b/app-misc/c_rehash/c_rehash-1.7-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="c_rehash script from OpenSSL"
+HOMEPAGE="http://www.openssl.org/"
+SRC_URI="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_rehash.sh?rev=${PV} -> openssl-c_rehash.sh.${PV}"
+
+LICENSE="openssl"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE=""
+
+RDEPEND="!<dev-libs/openssl-1.0.2d-r1:0"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ SSL_CNF_DIR="/etc/ssl"
+ sed \
+ -e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
+ -e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
+ "${DISTDIR}"/openssl-c_rehash.sh.${PV} \
+ > "${WORKDIR}"/c_rehash || die #416717
+}
+
+src_install() {
+ dobin "${WORKDIR}"/c_rehash
+}
diff --git a/app-misc/c_rehash/metadata.xml b/app-misc/c_rehash/metadata.xml
new file mode 100644
index 000000000000..c481526f1340
--- /dev/null
+++ b/app-misc/c_rehash/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pld-linux/openssl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ca-certificates/Manifest b/app-misc/ca-certificates/Manifest
new file mode 100644
index 000000000000..a539f7bc6184
--- /dev/null
+++ b/app-misc/ca-certificates/Manifest
@@ -0,0 +1,15 @@
+AUX ca-certificates-20150426-root.patch 1336 SHA256 0200f41d2c68b5fb0c19783ddd80d806540e136d10f9d4ee4ff3a79b48d70e73 SHA512 4e68e6068921e9ed54bda68af422a491cb530b60ffbb85fe1986a403cd9023522c179b5afcf65e22c223a665163d1c2d1993322d652053b72e3fe07efe692d59 WHIRLPOOL 8647dd9f392f12400a6bb328b72832e225e40438ef75123c13e98e747a4c8d90dcd4567969bab36d2347e29f374fd0db452ad7fb7a9db79877fba127116a7efc
+DIST ca-certificates_20161130.tar.xz 298656 SHA256 04bca9e142a90a834aca0311f7ced237368d71fee7bd5c9f68ef7f4611aee471 SHA512 8395f27d2369d694b069e1bb250b06df05f732bd9f4a4dc8652091e9c96ad1a84003e28f59cb9e13fdfd22ca5818f495d80149692e74b2d63e34db4f6a95ee9f WHIRLPOOL 6903848f030a0da80e18e5d6a075c9a4ef390d67d748ff27cbadef4b1bf5866b9d7d96960f780f6bbff3f7b9720c31ee4d7a089238041bcb4d5de52fe0e46224
+DIST ca-certificates_20170717.tar.xz 293028 SHA256 e487639b641fa75445174734dd6e9d600373e3248b3d86a7e3c6d0f6977decd2 SHA512 dfeb5a19bb33bcb127a159b73fcc63b41c99827d77eb4a6069def0cffc7ae8dd10dab97c1ddfdd5b70d0c93e650a51ed5dcd03908516e7ca8b3022bf46eeb7e6 WHIRLPOOL 3b0877a7e85efccef67f92e0f6eb066e98b42982fd68ba92da131d2f96d4c235685ac913d038e2af621cb9cada5cf1409a871b8557d49539d722e10171e2aa7a
+DIST nss-3.30.2.tar.gz 9499119 SHA256 0d4a77ff26bcee79fa8afe0125e0df6ae9e798b6b36782fa29e28febf7cfce24 SHA512 02f14bc000cbde42268c4b6f42df80680b010d1491643ef9b11e0bac31a286a2e7fa251c40cb4ac70b64883a1b90efc64440ef9d797357f8a47cd37195fc5500 WHIRLPOOL b1039f227a55ed9ab592b7e1ea0856c8cf91b8d298ef07d9d0f56d1956319b15c12224f023a100d106101c49dafb16e8231680667d2c7d0b8f8b2bbf6ad3ec8e
+DIST nss-3.30.tar.gz 9500552 SHA256 a8c0000dae5e992f6563972e26dbfefc50d006dd845c43b8ca24ea50169ff3a9 SHA512 c21e9b5e4b689ea8cbc6f4d7913df43e2a78c4435e0ce092f2ce00e46079ce2268e17ec8527b283ac69eff3d96ff0165a5b42b6579bfe0a720115ff2938260d3 WHIRLPOOL bc0a59484010a5771b515dde1440ccca8a63b167d3d8839b3606460fdf9d2dc3ab7d889173c88edb7d685d39ad3614c4cbc66284d0faced47cdcc01a69997d9a
+DIST nss-3.32.1.tar.gz 9494609 SHA256 4de59ca7f5bf4a56fbcfdbb4a054f254ba9f408f56476957404a091048624652 SHA512 b377aba822c2955d801022eba1636b71943a64f6e74d5611c2625910d230059383c4dbdedd65e70b356eaea33aeefdd24de3b31d7a4823d921ea475af3dd9da8 WHIRLPOOL 4c15b4ba85ce10787b9ee541d20a829a99aed5628b59f7e7e3045ec694d6d8a0a83bc730ae4d74148cf7c425f59debfd1574cb1b036c1407d1f9d4896647d9cf
+DIST nss-3.33.tar.gz 9578033 SHA256 98f0dabd36408e83dd3a11727336cc3cdfee4cbdd9aede2b2831eb2389c284e4 SHA512 82adc0b73805ba5e73b9bf350fffa383a8b4396c05f49edb360a53319b4ad26d928a135bee245f9da009d162129db4441a96ef05346dadac20922b21284468b0 WHIRLPOOL c11129bce97990a41a3118e62d79481fbd38cad51356a6b6c1b0af7efe2f27b3d5d51a8e987287c1cdff77ccee14a3e96d5bbb76e92f9a81b2f50988de250dea
+DIST nss-cacert-class1-class3.patch 22950 SHA256 6bba29cee34276e2ca6436dabedfeba2b61fb46668c5d5ceabf0c871574649bf SHA512 a5aa740bf110a3f0262e3f1ef2fc739ac2b44f042e220039d48aee8e97cd764d5c10718220364f4098aba955882bd02cadb5481512388971a8290312f88a7df0 WHIRLPOOL 1246223b01292604e5609bb9c580f092dc5937bf8c98f6891b099e8bab960e03612b6617e30a55d6ff8817d88f190e03812fe8f89f84f25c20970493dc2f7700
+EBUILD ca-certificates-20161130.3.30-r1.ebuild 5957 SHA256 1170f2cf15ebeb6246fb8e8306ec3a2f30dc395473814ba29f486b8f10237523 SHA512 9daed98f9c1b864f6fb5aaa9172820ca660f0c794b9a68a82dd90979630c7f0d66682fd27896d679fcdfcd0048fbac77ce25b133db65f0e03c73628276649477 WHIRLPOOL ed4cbd382c9f91db90ab72856d954b929032bcea350c856083b3682239a8d33a2815bb164004137f33fa86786593b471707cca53fee913854156fe57e096942e
+EBUILD ca-certificates-20161130.3.30.2.ebuild 6252 SHA256 c913c9bc87dedd440bcf5ec81a813a9be6cab4e600487ddee44bff2a717b5ac7 SHA512 103c83cbd4275f17581a8d85c53c907373d737ba5c86b389ae986b3692d8559f6da1cea9c47678164a0fed7ba20970c15c91db6c2277f5903066d29ed2aa9aca WHIRLPOOL 3fc151f5dbf795f2eb9c8b0d62a16aac11f04d57c011646aaa3deba8f532d771e42306098e53df1a2b1da7f5da14333b68b7ca2c9054c588bb01e2cfdd519f26
+EBUILD ca-certificates-20170717.3.32.1.ebuild 6278 SHA256 6a119d901acd84ee15e09f3331f0179fc59abaf134479346babab2ea4a8b43ce SHA512 394207e7ac8970d6b0724ec1bb3d7c233724d4c2f9a05a8c7a475b2d40e08483e940ad185ca6eea023c5d6bff6868b0aa10c4f642eccb6238ffa71ef9505df94 WHIRLPOOL e706d2d9404b81c1b193e3a7c0a61a3465e9d2b3912713196773362b08106aa1fb29f0e5d7138c1bb349fe90390f4a597c93a43291dff8d00b2bcdb63dbbfe9a
+EBUILD ca-certificates-20170717.3.33.ebuild 6278 SHA256 6a119d901acd84ee15e09f3331f0179fc59abaf134479346babab2ea4a8b43ce SHA512 394207e7ac8970d6b0724ec1bb3d7c233724d4c2f9a05a8c7a475b2d40e08483e940ad185ca6eea023c5d6bff6868b0aa10c4f642eccb6238ffa71ef9505df94 WHIRLPOOL e706d2d9404b81c1b193e3a7c0a61a3465e9d2b3912713196773362b08106aa1fb29f0e5d7138c1bb349fe90390f4a597c93a43291dff8d00b2bcdb63dbbfe9a
+MISC ChangeLog 13827 SHA256 03be314bd258d19e70f073f6041d41e923f368948cd6972a2d2974a8626cba81 SHA512 45905a654eb2f3927c7146a616938fec5345fe5e8dd5d21c02598731870caeb210f89f099d2f130e1d98f4c2b1c7c82a78841172ba0e930e208a944064ded770 WHIRLPOOL 2c89a74ef968ba4d445414547dec2dd152cdcbef4a29fe128d4e197d1ac7b82cd99f83853b0d0bae0165dd7f6c7239e5664847d84e2dd4a18a503f64e04caa6c
+MISC ChangeLog-2015 18522 SHA256 79448844b1ba037ee3e6776a0fb72f52f4183900673949aeb28c7b2922f7b739 SHA512 9878595d40dfe3e6eb2acaf5d63eaaf8ed626abd7c2a57621feb26b1bd470ff45457b0abae297fe5fcf335bd968a73a4b051b72471cb671f81539d17f1919bf7 WHIRLPOOL b9d6560a5791537e4a18a9d66463fecdd2f631c3f73dbda40596438b4e4dbcac40a36a321b149d704b883ecf96039275ec2df7104a69b9234c971cba801b7347
+MISC metadata.xml 530 SHA256 dbed1b656a18288075b648dcb24e50fe2d13aaae7c73c87195693d0ed5b53b39 SHA512 3ceccbf31537b511152ebf9f00a4d862de8f0839b2aed48c5d64887a424e5df450113d4547dca46639ea9e1fe038fd765aae1ac1d7fb1fea1c7c7fffcfefc5e7 WHIRLPOOL 8c263af062ff38a797444ae7333e6c5f8f80f905fdb3e11060b3c4ae2f4a16699a58e8096d59cf2bf22bf3f3c9e0de87c8c42ef307278ca4352c1118a8e88cb5
diff --git a/app-misc/ca-certificates/ca-certificates-20161130.3.30-r1.ebuild b/app-misc/ca-certificates/ca-certificates-20161130.3.30-r1.ebuild
new file mode 100644
index 000000000000..7d330280280a
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20161130.3.30-r1.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# The Debian ca-certificates package merely takes the CA database as it exists
+# in the nss package and repackages it for use by openssl.
+#
+# The issue with using the compiled debs directly is two fold:
+# - they do not update frequently enough for us to rely on them
+# - they pull the CA database from nss tip of tree rather than the release
+#
+# So we take the Debian source tools and combine them with the latest nss
+# release to produce (largely) the same end result. The difference is that
+# now we know our cert database is kept in sync with nss and, if need be,
+# can be sync with nss tip of tree more frequently to respond to bugs.
+
+# When triaging bugs from users, here's some handy tips:
+# - To see what cert is hitting errors, use openssl:
+# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
+# Focus on the errors written to stderr.
+#
+# - Look at the upstream log as to why certs were added/removed:
+# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
+#
+# - If people want to add/remove certs, tell them to file w/mozilla:
+# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit eutils python-any-r1
+
+if [[ ${PV} == *.* ]] ; then
+ # Compile from source ourselves.
+ PRECOMPILED=false
+ inherit versionator
+
+ DEB_VER=$(get_version_component_range 1)
+ NSS_VER=$(get_version_component_range 2-)
+ RTM_NAME="NSS_${NSS_VER//./_}_RTM"
+else
+ # Debian precompiled version.
+ PRECOMPILED=true
+ inherit unpacker
+fi
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
+NMU_PR=""
+if ${PRECOMPILED} ; then
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
+else
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
+ https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
+ cacert? (
+ https://dev.gentoo.org/~axs/distfiles/nss-cacert-class1-class3.patch
+ )"
+fi
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="insecure_certs"
+${PRECOMPILED} || IUSE+=" cacert"
+
+DEPEND=""
+if ${PRECOMPILED} ; then
+ DEPEND+=" !<sys-apps/portage-2.1.10.41"
+fi
+# c_rehash: we run `c_rehash`
+# debianutils: we run `run-parts`
+RDEPEND="${DEPEND}
+ app-misc/c_rehash
+ sys-apps/debianutils"
+
+if ! ${PRECOMPILED}; then
+ DEPEND+=" ${PYTHON_DEPS}"
+fi
+
+S=${WORKDIR}
+
+pkg_setup() {
+ # For the conversion to having it in CONFIG_PROTECT_MASK,
+ # we need to tell users about it once manually first.
+ [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
+ || ewarn "You should run update-ca-certificates manually after etc-update"
+}
+
+src_unpack() {
+ ${PRECOMPILED} || default
+
+ # Do all the work in the image subdir to avoid conflicting with source
+ # dirs in $WORKDIR. Need to perform everything in the offset #381937
+ mkdir -p "image/${EPREFIX}"
+ cd "image/${EPREFIX}" || die
+
+ ${PRECOMPILED} && unpacker_src_unpack
+}
+
+src_prepare() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ mkdir -p usr/sbin
+ cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
+
+ if use cacert ; then
+ pushd "${S}"/nss-${NSS_VER} >/dev/null
+ epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
+ popd >/dev/null
+ fi
+ fi
+
+ epatch "${FILESDIR}"/${PN}-20150426-root.patch
+ local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
+ sed -i \
+ -e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
+ -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
+ usr/sbin/update-ca-certificates || die
+}
+
+src_compile() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ python_setup
+ local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
+ # Grab the database from the nss sources.
+ cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
+ emake -C "${d}"
+
+ # Now move the files to the same places that the precompiled would.
+ mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
+ if use cacert ; then
+ mkdir -p "${c}"/cacert.org
+ mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
+ fi
+ mv "${d}"/*.crt "${c}"/mozilla/ || die
+ else
+ mv usr/share/doc/{ca-certificates,${PF}} || die
+ fi
+
+ if ! use insecure_certs ; then
+ # Remove untrusted certs from StartCom and WoSign (bug #598072)
+ rm "${c}"/mozilla/StartCom* || die
+ rm "${c}"/mozilla/WoSign* || die
+ # and from Symantec (bug #613714)
+ rm "${c}"/mozilla/Symantec* || die
+ fi
+
+ (
+ echo "# Automatically generated by ${CATEGORY}/${PF}"
+ echo "# $(date -u)"
+ echo "# Do not edit."
+ cd "${c}"
+ find * -name '*.crt' | LC_ALL=C sort
+ ) > etc/ca-certificates.conf
+
+ sh usr/sbin/update-ca-certificates --root "${S}/image" || die
+}
+
+src_install() {
+ cp -pPR image/* "${D}"/ || die
+ if ! ${PRECOMPILED} ; then
+ cd ca-certificates
+ doman sbin/*.8
+ dodoc debian/README.* examples/ca-certificates-local/README
+ fi
+
+ echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
+ doenvd 98ca-certificates
+}
+
+pkg_postinst() {
+ if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
+ # if the user has local certs, we need to rebuild again
+ # to include their stuff in the db.
+ # However it's too overzealous when the user has custom certs in place.
+ # --fresh is to clean up dangling symlinks
+ "${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
+ fi
+
+ if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
+ ewarn "Removing the following broken symlinks:"
+ ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
+ fi
+}
diff --git a/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild b/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild
new file mode 100644
index 000000000000..2fac1bf79439
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild
@@ -0,0 +1,188 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# The Debian ca-certificates package merely takes the CA database as it exists
+# in the nss package and repackages it for use by openssl.
+#
+# The issue with using the compiled debs directly is two fold:
+# - they do not update frequently enough for us to rely on them
+# - they pull the CA database from nss tip of tree rather than the release
+#
+# So we take the Debian source tools and combine them with the latest nss
+# release to produce (largely) the same end result. The difference is that
+# now we know our cert database is kept in sync with nss and, if need be,
+# can be sync with nss tip of tree more frequently to respond to bugs.
+
+# When triaging bugs from users, here's some handy tips:
+# - To see what cert is hitting errors, use openssl:
+# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
+# Focus on the errors written to stderr.
+#
+# - Look at the upstream log as to why certs were added/removed:
+# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
+#
+# - If people want to add/remove certs, tell them to file w/mozilla:
+# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit eutils python-any-r1
+
+if [[ ${PV} == *.* ]] ; then
+ # Compile from source ourselves.
+ PRECOMPILED=false
+ inherit versionator
+
+ DEB_VER=$(get_version_component_range 1)
+ NSS_VER=$(get_version_component_range 2-)
+ RTM_NAME="NSS_${NSS_VER//./_}_RTM"
+else
+ # Debian precompiled version.
+ PRECOMPILED=true
+ inherit unpacker
+fi
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
+NMU_PR=""
+if ${PRECOMPILED} ; then
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
+else
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
+ https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
+ cacert? (
+ https://dev.gentoo.org/~axs/distfiles/nss-cacert-class1-class3.patch
+ )"
+fi
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="insecure_certs"
+${PRECOMPILED} || IUSE+=" cacert"
+
+DEPEND=""
+if ${PRECOMPILED} ; then
+ DEPEND+=" !<sys-apps/portage-2.1.10.41"
+fi
+# c_rehash: we run `c_rehash`
+# debianutils: we run `run-parts`
+RDEPEND="${DEPEND}
+ app-misc/c_rehash
+ sys-apps/debianutils"
+
+if ! ${PRECOMPILED}; then
+ DEPEND+=" ${PYTHON_DEPS}"
+fi
+
+S=${WORKDIR}
+
+pkg_setup() {
+ # For the conversion to having it in CONFIG_PROTECT_MASK,
+ # we need to tell users about it once manually first.
+ [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
+ || ewarn "You should run update-ca-certificates manually after etc-update"
+}
+
+src_unpack() {
+ ${PRECOMPILED} || default
+
+ # Do all the work in the image subdir to avoid conflicting with source
+ # dirs in $WORKDIR. Need to perform everything in the offset #381937
+ mkdir -p "image/${EPREFIX}"
+ cd "image/${EPREFIX}" || die
+
+ ${PRECOMPILED} && unpacker_src_unpack
+}
+
+src_prepare() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ mkdir -p usr/sbin
+ cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
+
+ if use cacert ; then
+ pushd "${S}"/nss-${NSS_VER} >/dev/null
+ epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
+ popd >/dev/null
+ fi
+ fi
+
+ epatch "${FILESDIR}"/${PN}-20150426-root.patch
+ local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
+ sed -i \
+ -e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
+ -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
+ usr/sbin/update-ca-certificates || die
+}
+
+src_compile() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ python_setup
+ local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
+ # Grab the database from the nss sources.
+ cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
+ emake -C "${d}"
+
+ # Now move the files to the same places that the precompiled would.
+ mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
+ if use cacert ; then
+ mkdir -p "${c}"/cacert.org
+ mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
+ fi
+ mv "${d}"/*.crt "${c}"/mozilla/ || die
+ else
+ mv usr/share/doc/{ca-certificates,${PF}} || die
+ fi
+
+ if ! use insecure_certs ; then
+ elog "To prevent applications relying on system's trusted root certificate store"
+ elog "from using CAs where at least one major browser vendor Gentoo is following"
+ elog "has decided to apply trust level restrictions, the following"
+ elog "certificate(s) were removed:"
+ # Remove untrusted certs from StartCom and WoSign (bug #598072)
+ elog "$(find "${c}" -type f \( \
+ -iname '*startcom*' \
+ -o -iname '*wosign*' \
+ \) -printf '%P removed; see https://bugs.gentoo.org/598072 for details\n' -delete)"
+ fi
+
+ (
+ echo "# Automatically generated by ${CATEGORY}/${PF}"
+ echo "# $(date -u)"
+ echo "# Do not edit."
+ cd "${c}"
+ find * -name '*.crt' | LC_ALL=C sort
+ ) > etc/ca-certificates.conf
+
+ sh usr/sbin/update-ca-certificates --root "${S}/image" || die
+}
+
+src_install() {
+ cp -pPR image/* "${D}"/ || die
+ if ! ${PRECOMPILED} ; then
+ cd ca-certificates
+ doman sbin/*.8
+ dodoc debian/README.* examples/ca-certificates-local/README
+ fi
+
+ echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
+ doenvd 98ca-certificates
+}
+
+pkg_postinst() {
+ if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
+ # if the user has local certs, we need to rebuild again
+ # to include their stuff in the db.
+ # However it's too overzealous when the user has custom certs in place.
+ # --fresh is to clean up dangling symlinks
+ "${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
+ fi
+
+ if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
+ ewarn "Removing the following broken symlinks:"
+ ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
+ fi
+}
diff --git a/app-misc/ca-certificates/ca-certificates-20170717.3.32.1.ebuild b/app-misc/ca-certificates/ca-certificates-20170717.3.32.1.ebuild
new file mode 100644
index 000000000000..7778372001e5
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20170717.3.32.1.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# The Debian ca-certificates package merely takes the CA database as it exists
+# in the nss package and repackages it for use by openssl.
+#
+# The issue with using the compiled debs directly is two fold:
+# - they do not update frequently enough for us to rely on them
+# - they pull the CA database from nss tip of tree rather than the release
+#
+# So we take the Debian source tools and combine them with the latest nss
+# release to produce (largely) the same end result. The difference is that
+# now we know our cert database is kept in sync with nss and, if need be,
+# can be sync with nss tip of tree more frequently to respond to bugs.
+
+# When triaging bugs from users, here's some handy tips:
+# - To see what cert is hitting errors, use openssl:
+# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
+# Focus on the errors written to stderr.
+#
+# - Look at the upstream log as to why certs were added/removed:
+# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
+#
+# - If people want to add/remove certs, tell them to file w/mozilla:
+# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit eutils python-any-r1
+
+if [[ ${PV} == *.* ]] ; then
+ # Compile from source ourselves.
+ PRECOMPILED=false
+ inherit versionator
+
+ DEB_VER=$(get_version_component_range 1)
+ NSS_VER=$(get_version_component_range 2-)
+ RTM_NAME="NSS_${NSS_VER//./_}_RTM"
+else
+ # Debian precompiled version.
+ PRECOMPILED=true
+ inherit unpacker
+fi
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="https://packages.debian.org/sid/ca-certificates"
+NMU_PR=""
+if ${PRECOMPILED} ; then
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
+else
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
+ https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
+ cacert? (
+ https://dev.gentoo.org/~axs/distfiles/nss-cacert-class1-class3.patch
+ )"
+fi
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="insecure_certs"
+${PRECOMPILED} || IUSE+=" cacert"
+
+DEPEND=""
+if ${PRECOMPILED} ; then
+ DEPEND+=" !<sys-apps/portage-2.1.10.41"
+fi
+# c_rehash: we run `c_rehash`
+# debianutils: we run `run-parts`
+RDEPEND="${DEPEND}
+ app-misc/c_rehash
+ sys-apps/debianutils"
+
+if ! ${PRECOMPILED}; then
+ DEPEND+=" ${PYTHON_DEPS}"
+fi
+
+S=${WORKDIR}
+
+pkg_setup() {
+ # For the conversion to having it in CONFIG_PROTECT_MASK,
+ # we need to tell users about it once manually first.
+ [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
+ || ewarn "You should run update-ca-certificates manually after etc-update"
+}
+
+src_unpack() {
+ ${PRECOMPILED} || default
+
+ # Do all the work in the image subdir to avoid conflicting with source
+ # dirs in $WORKDIR. Need to perform everything in the offset #381937
+ mkdir -p "image/${EPREFIX}"
+ cd "image/${EPREFIX}" || die
+
+ ${PRECOMPILED} && unpacker_src_unpack
+}
+
+src_prepare() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ mkdir -p usr/sbin
+ cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
+
+ if use cacert ; then
+ pushd "${S}"/nss-${NSS_VER} >/dev/null
+ epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
+ popd >/dev/null
+ fi
+ fi
+
+ default
+ eapply -p2 "${FILESDIR}"/${PN}-20150426-root.patch
+ local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
+ sed -i \
+ -e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
+ -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
+ usr/sbin/update-ca-certificates || die
+}
+
+src_compile() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ python_setup
+ local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
+ # Grab the database from the nss sources.
+ cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
+ emake -C "${d}"
+
+ # Now move the files to the same places that the precompiled would.
+ mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
+ if use cacert ; then
+ mkdir -p "${c}"/cacert.org
+ mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
+ fi
+ mv "${d}"/*.crt "${c}"/mozilla/ || die
+ else
+ mv usr/share/doc/{ca-certificates,${PF}} || die
+ fi
+
+ if ! use insecure_certs ; then
+ elog "To prevent applications relying on system's trusted root certificate store"
+ elog "from using CAs where at least one major browser vendor Gentoo is following"
+ elog "has decided to apply trust level restrictions, the following"
+ elog "certificate(s) were removed:"
+ # Remove untrusted certs from StartCom and WoSign (bug #598072)
+ elog "$(find "${c}" -type f \( \
+ -iname '*startcom*' \
+ -o -iname '*wosign*' \
+ \) -printf '%P removed; see https://bugs.gentoo.org/598072 for details\n' -delete)"
+ fi
+
+ (
+ echo "# Automatically generated by ${CATEGORY}/${PF}"
+ echo "# $(date -u)"
+ echo "# Do not edit."
+ cd "${c}"
+ find * -name '*.crt' | LC_ALL=C sort
+ ) > etc/ca-certificates.conf
+
+ sh usr/sbin/update-ca-certificates --root "${S}/image" || die
+}
+
+src_install() {
+ cp -pPR image/* "${D}"/ || die
+ if ! ${PRECOMPILED} ; then
+ cd ca-certificates
+ doman sbin/*.8
+ dodoc debian/README.* examples/ca-certificates-local/README
+ fi
+
+ echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
+ doenvd 98ca-certificates
+}
+
+pkg_postinst() {
+ if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
+ # if the user has local certs, we need to rebuild again
+ # to include their stuff in the db.
+ # However it's too overzealous when the user has custom certs in place.
+ # --fresh is to clean up dangling symlinks
+ "${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
+ fi
+
+ if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
+ ewarn "Removing the following broken symlinks:"
+ ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
+ fi
+}
diff --git a/app-misc/ca-certificates/ca-certificates-20170717.3.33.ebuild b/app-misc/ca-certificates/ca-certificates-20170717.3.33.ebuild
new file mode 100644
index 000000000000..7778372001e5
--- /dev/null
+++ b/app-misc/ca-certificates/ca-certificates-20170717.3.33.ebuild
@@ -0,0 +1,190 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# The Debian ca-certificates package merely takes the CA database as it exists
+# in the nss package and repackages it for use by openssl.
+#
+# The issue with using the compiled debs directly is two fold:
+# - they do not update frequently enough for us to rely on them
+# - they pull the CA database from nss tip of tree rather than the release
+#
+# So we take the Debian source tools and combine them with the latest nss
+# release to produce (largely) the same end result. The difference is that
+# now we know our cert database is kept in sync with nss and, if need be,
+# can be sync with nss tip of tree more frequently to respond to bugs.
+
+# When triaging bugs from users, here's some handy tips:
+# - To see what cert is hitting errors, use openssl:
+# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
+# Focus on the errors written to stderr.
+#
+# - Look at the upstream log as to why certs were added/removed:
+# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
+#
+# - If people want to add/remove certs, tell them to file w/mozilla:
+# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit eutils python-any-r1
+
+if [[ ${PV} == *.* ]] ; then
+ # Compile from source ourselves.
+ PRECOMPILED=false
+ inherit versionator
+
+ DEB_VER=$(get_version_component_range 1)
+ NSS_VER=$(get_version_component_range 2-)
+ RTM_NAME="NSS_${NSS_VER//./_}_RTM"
+else
+ # Debian precompiled version.
+ PRECOMPILED=true
+ inherit unpacker
+fi
+
+DESCRIPTION="Common CA Certificates PEM files"
+HOMEPAGE="https://packages.debian.org/sid/ca-certificates"
+NMU_PR=""
+if ${PRECOMPILED} ; then
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
+else
+ SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
+ https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
+ cacert? (
+ https://dev.gentoo.org/~axs/distfiles/nss-cacert-class1-class3.patch
+ )"
+fi
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="insecure_certs"
+${PRECOMPILED} || IUSE+=" cacert"
+
+DEPEND=""
+if ${PRECOMPILED} ; then
+ DEPEND+=" !<sys-apps/portage-2.1.10.41"
+fi
+# c_rehash: we run `c_rehash`
+# debianutils: we run `run-parts`
+RDEPEND="${DEPEND}
+ app-misc/c_rehash
+ sys-apps/debianutils"
+
+if ! ${PRECOMPILED}; then
+ DEPEND+=" ${PYTHON_DEPS}"
+fi
+
+S=${WORKDIR}
+
+pkg_setup() {
+ # For the conversion to having it in CONFIG_PROTECT_MASK,
+ # we need to tell users about it once manually first.
+ [[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
+ || ewarn "You should run update-ca-certificates manually after etc-update"
+}
+
+src_unpack() {
+ ${PRECOMPILED} || default
+
+ # Do all the work in the image subdir to avoid conflicting with source
+ # dirs in $WORKDIR. Need to perform everything in the offset #381937
+ mkdir -p "image/${EPREFIX}"
+ cd "image/${EPREFIX}" || die
+
+ ${PRECOMPILED} && unpacker_src_unpack
+}
+
+src_prepare() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ mkdir -p usr/sbin
+ cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
+
+ if use cacert ; then
+ pushd "${S}"/nss-${NSS_VER} >/dev/null
+ epatch "${DISTDIR}"/nss-cacert-class1-class3.patch
+ popd >/dev/null
+ fi
+ fi
+
+ default
+ eapply -p2 "${FILESDIR}"/${PN}-20150426-root.patch
+ local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
+ sed -i \
+ -e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
+ -e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
+ usr/sbin/update-ca-certificates || die
+}
+
+src_compile() {
+ cd "image/${EPREFIX}" || die
+ if ! ${PRECOMPILED} ; then
+ python_setup
+ local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
+ # Grab the database from the nss sources.
+ cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
+ emake -C "${d}"
+
+ # Now move the files to the same places that the precompiled would.
+ mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
+ if use cacert ; then
+ mkdir -p "${c}"/cacert.org
+ mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
+ fi
+ mv "${d}"/*.crt "${c}"/mozilla/ || die
+ else
+ mv usr/share/doc/{ca-certificates,${PF}} || die
+ fi
+
+ if ! use insecure_certs ; then
+ elog "To prevent applications relying on system's trusted root certificate store"
+ elog "from using CAs where at least one major browser vendor Gentoo is following"
+ elog "has decided to apply trust level restrictions, the following"
+ elog "certificate(s) were removed:"
+ # Remove untrusted certs from StartCom and WoSign (bug #598072)
+ elog "$(find "${c}" -type f \( \
+ -iname '*startcom*' \
+ -o -iname '*wosign*' \
+ \) -printf '%P removed; see https://bugs.gentoo.org/598072 for details\n' -delete)"
+ fi
+
+ (
+ echo "# Automatically generated by ${CATEGORY}/${PF}"
+ echo "# $(date -u)"
+ echo "# Do not edit."
+ cd "${c}"
+ find * -name '*.crt' | LC_ALL=C sort
+ ) > etc/ca-certificates.conf
+
+ sh usr/sbin/update-ca-certificates --root "${S}/image" || die
+}
+
+src_install() {
+ cp -pPR image/* "${D}"/ || die
+ if ! ${PRECOMPILED} ; then
+ cd ca-certificates
+ doman sbin/*.8
+ dodoc debian/README.* examples/ca-certificates-local/README
+ fi
+
+ echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
+ doenvd 98ca-certificates
+}
+
+pkg_postinst() {
+ if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
+ # if the user has local certs, we need to rebuild again
+ # to include their stuff in the db.
+ # However it's too overzealous when the user has custom certs in place.
+ # --fresh is to clean up dangling symlinks
+ "${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
+ fi
+
+ if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
+ ewarn "Removing the following broken symlinks:"
+ ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
+ fi
+}
diff --git a/app-misc/ca-certificates/files/ca-certificates-20150426-root.patch b/app-misc/ca-certificates/files/ca-certificates-20150426-root.patch
new file mode 100644
index 000000000000..6e41ac39e874
--- /dev/null
+++ b/app-misc/ca-certificates/files/ca-certificates-20150426-root.patch
@@ -0,0 +1,49 @@
+add a --root option so we can generate with DESTDIR installs
+
+--- a/image/usr/sbin/update-ca-certificates
++++ b/image/usr/sbin/update-ca-certificates
+@@ -30,6 +30,8 @@ LOCALCERTSDIR=/usr/local/share/ca-certificates
+ CERTBUNDLE=ca-certificates.crt
+ ETCCERTSDIR=/etc/ssl/certs
+ HOOKSDIR=/etc/ca-certificates/update.d
++ROOT=""
++RELPATH=""
+
+ while [ $# -gt 0 ];
+ do
+@@ -59,13 +61,25 @@ do
+ --hooksdir)
+ shift
+ HOOKSDIR="$1";;
++ --root|-r)
++ shift
++ # Needed as c_rehash wants to read the files directly.
++ # This gets us from $CERTSCONF to $CERTSDIR.
++ RELPATH="../../.."
++ ROOT=$(readlink -f "$1");;
+ --help|-h|*)
+- echo "$0: [--verbose] [--fresh]"
++ echo "$0: [--verbose] [--fresh] [--root <dir>]"
+ exit;;
+ esac
+ shift
+ done
+
++CERTSCONF="$ROOT$CERTSCONF"
++CERTSDIR="$ROOT$CERTSDIR"
++LOCALCERTSDIR="$ROOT$LOCALCERTSDIR"
++ETCCERTSDIR="$ROOT$ETCCERTSDIR"
++HOOKSDIR="$ROOT$HOOKSDIR"
++
+ if [ ! -s "$CERTSCONF" ]
+ then
+ fresh=1
+@@ -94,7 +107,7 @@ add() {
+ -e 's/,/_/g').pem"
+ if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ]
+ then
+- ln -sf "$CERT" "$PEM"
++ ln -sf "${RELPATH}${CERT#$ROOT}" "$PEM"
+ echo "+$PEM" >> "$ADDED"
+ fi
+ # Add trailing newline to certificate, if it is missing (#635570)
diff --git a/app-misc/ca-certificates/metadata.xml b/app-misc/ca-certificates/metadata.xml
new file mode 100644
index 000000000000..f516f0769776
--- /dev/null
+++ b/app-misc/ca-certificates/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+<use>
+ <flag name="cacert">
+ Include root certs from CAcert (http://www.cacert.org/) and
+ Software in the Public Interest (http://www.spi-inc.org/)
+ </flag>
+ <flag name="insecure_certs">
+ Install certs which are known to *not* being trustworthy.
+ </flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/cadubi/Manifest b/app-misc/cadubi/Manifest
new file mode 100644
index 000000000000..38722630f3bc
--- /dev/null
+++ b/app-misc/cadubi/Manifest
@@ -0,0 +1,6 @@
+AUX cadubi-1.3-helpfile.patch 347 SHA256 3359a421a5042befe667017e591f3418f71981e4de2b0f5180fcd47ab4f8ef99 SHA512 2dbc3eaab66d57712c80344802701e354c9dc3602d02deaf19e19c352e398732a7a59ee671bc47159679f728e55ee17447c99edc51b6f54f6dca1dc3956eccae WHIRLPOOL d3fe1e3a1c4295fb2313269102f948df4dd57e64061892df7b4686fc33d29b01d46d2f84926e23a5c51f402b202ac3bba1f29206729fb484c89aaf9a5d9a81ce
+DIST cadubi-1.3.tar.gz 12559 SHA256 ca8b6ea305e0eccb11add7fc165beeee7ef33f9f0106e84efa1b364f082df0ab SHA512 e3b5190850bd4d579934bd5825db2b8bde5a46158862ec66b8604999344138477c0fb3fad34dc186ed9dd67dfbdcacf12763f76adbdfbd0cc4dbf6b51ad53bc7 WHIRLPOOL cfe4f3ad450c29386daf497d002135973fd76d919730c87fc86ed04fa8ae8fd98c9bdf3932448e7bdfad8368d7ce9aea797bfab29c830f14c704d680bac3fd25
+EBUILD cadubi-1.3.ebuild 622 SHA256 617c03135dd2a26f982aaafd7b875a63352a9887ace7f1f3e4aca1a341a05a70 SHA512 7bcc7b96ec6e348dc2c6b72429525c537417ae7839c7962734974197ddaf000403e9dd6958cf78b075ef6ce4d553283dbb18a2d996197dc00d61e7f2dbe0b340 WHIRLPOOL 6c631ac2d8d30309ca142d5749a2b9da78faadb88b99ddb846dfc69c3d16294957c6cd2b2327d0a1308359f149ad7fe9ac96634a525f36d393e760fb69ca1a5b
+MISC ChangeLog 2549 SHA256 fc1f5eb5339f3e5e46efec35a6d9833746d69bc7b66521fd894752e826ea49f1 SHA512 c6a76e5a52b3ca8bb3b0c08db93abe4609fe79825dd60cbfbce562c09c2a9304acaf5c7b8d0f9b34de7b447866bab5832cde35937d6be293e3077e4bfdf4ce26 WHIRLPOOL 7f5fa0a15b5d43e8e927bd616510b3ca0a998dbb93333aeb7e4d7e1e6c34b55a1ba35337e54ce5c9b8b3a4a63f9375c51269ff68539d56c25d28661f61a094bf
+MISC ChangeLog-2015 1105 SHA256 86b28deb02ce562349c087ddd78dd1208cfea57ecec4c23b054c10c69fa3b227 SHA512 cceb71cb4b877c2a7a25f6b3988905451dec84fd5c6f7fe86a45cf8b60d407b9e87139d1e360f5ef4d489c2e9323d65234520715ec4efbc908e7ebecec3de22c WHIRLPOOL 7a0d7b46d6bd658c1b0c66106ef263512a80ccf93d0e6e1687e38dddbe27e2a5e123a2e4111f918f1792dd333dcf6517fb06adc548a82d86a76593e74abeed1c
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/cadubi/cadubi-1.3.ebuild b/app-misc/cadubi/cadubi-1.3.ebuild
new file mode 100644
index 000000000000..99c18986c64d
--- /dev/null
+++ b/app-misc/cadubi/cadubi-1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils multilib
+
+DESCRIPTION="CADUBI is an application that allows you to draw ASCII-Art images"
+HOMEPAGE="http://langworth.com/CadubiProject"
+SRC_URI="http://langworth.com/downloads/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ >=dev-perl/TermReadKey-2.21"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-helpfile.patch
+}
+
+src_install() {
+ dobin cadubi || die
+ insinto /usr/$(get_libdir)/${PN}
+ doins help.txt
+ dodoc README
+}
diff --git a/app-misc/cadubi/files/cadubi-1.3-helpfile.patch b/app-misc/cadubi/files/cadubi-1.3-helpfile.patch
new file mode 100644
index 000000000000..0d6a2e1fa5c9
--- /dev/null
+++ b/app-misc/cadubi/files/cadubi-1.3-helpfile.patch
@@ -0,0 +1,11 @@
+--- cadubi.orig 2004-03-29 22:36:24.280138064 +0200
++++ cadubi 2004-03-29 22:39:34.473224320 +0200
+@@ -18,7 +18,7 @@
+ # (sorry guys, i wrote this years before i had the remotest clue as to
+ # what the hell i was doing)
+ use FindBin qw($Bin);
+-$HELPFILE = "$Bin/help.txt";
++$HELPFILE = "$Bin/../lib/cadubi/help.txt";
+
+ # other stuff
+ $DEBUG = 0;
diff --git a/app-misc/cadubi/metadata.xml b/app-misc/cadubi/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/cadubi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/calendar/Manifest b/app-misc/calendar/Manifest
new file mode 100644
index 000000000000..229c0cb9b335
--- /dev/null
+++ b/app-misc/calendar/Manifest
@@ -0,0 +1,6 @@
+DIST calendar-0.9.1.tar.bz2 65225 SHA256 73cecf20f3f65996bc4f8585d8edfb8b3c2d5f6191aa85c0e0c8ee099d094bbe SHA512 c8f373ad06265720ab6ba1edb9066cb5474806d023bf0cb3a35876c5bad72de8bac8ab58c2b6d3a9f418d20d04b1811e256abce9296c9c8547c9b7f8005adfb3 WHIRLPOOL ea4e2738675ee8933fce2f57a09156ce03720b4f2d2a8153b85d988c96f9b8ef068aaf74981c475b72403beae9d1a2bf31b695b80c2ab0daa0d9314d77015360
+EBUILD calendar-0.9.1-r1.ebuild 637 SHA256 504233444bdcce71d6c3372ed3e4bf2be65129cf1d35adf83bf43cde663be828 SHA512 a4c9de7325a74cc93e11de66f54b8d4c5ed1d845bcbf3fccb437aeed0190da6658b065ac93c7e5ee8167dcb8a0f658ce0bb274de940d2583a3a8f3947ff93f03 WHIRLPOOL 6837668da5898961124f4b69448d6a132d840c7351b65f26f8db23cc8368518471dc39cb05d7aa986399ac2b49965ad814866bd5e68d5f3961edb09e2ee29bed
+EBUILD calendar-0.9.1.ebuild 641 SHA256 c0a1b01c35351408c6f230c53cf9dca5f3d6a2a9cc34d72594bb0ba2f6607b39 SHA512 24d3ca5ae255af3344c3ca2f9ff02af292ca388c7377d2f585e5be00ef6c4753f1ed2e81077138183be9b86eab087fe0861254fa1d3d651f9e4c42e2fc1d7651 WHIRLPOOL 4599e8723adb02ea916c53267274fb7f79c27dc917a4fa322a2e58caff513f25820fbd1e1bd1d50ed5177b0e86255f734fc1a84e2461401a88f0b23433b79078
+MISC ChangeLog 2976 SHA256 e45ac2cc0d8112f5cd517866b79a9a2eec20757e5be6033414af5fbabf29ae55 SHA512 750a7990da7b4cd978407e4bf6b4ac80b27fbeda1bb884e3245ff1d9e3d32770bc30b5937e7665cfc6145679ae6562e8f6a73fc64981eeaa5264a36d1d7d328f WHIRLPOOL aa393ec1b8e126d1d9162f5de36c943fe90cca9c23d72e5bfa0e7ddfe4515a212f78c2b63dbfb87b093d1e773dbc8ef3de3cfc3d5da3d80b68064bfe25e46422
+MISC ChangeLog-2015 1965 SHA256 da63cde4db10f43eb0b71d54f62b5977bb6e8ec066989ed2a9a5167571563fa0 SHA512 af365ffe1f597e5ffa90c57d8362919a0592edb4ad74af649791ec296e5e73a26af53c1df8e3794db9d4ebf4c587a32aeb921d448837444e2d8427155f54ff8d WHIRLPOOL 7d5d40ef51534c6f7ecc42bbff286b2d2248e023fb2bea53770dabd95dcea17d0b3c51340e61a38326543721d5ba032004c9662e7133910473fcf1d6137d93ad
+MISC metadata.xml 346 SHA256 e6ec1fff95fb2657a09b77bd0d56583e845a54bc180b28d6f7a903edbc728f24 SHA512 9fb15d47c1b5ea5eba7614339ed44e8812550589416f8fdb5aa02dfc899c95b782526577f97a24e024c0298e09af634b8a3dc27474755728d81866100c8d066d WHIRLPOOL 0250e3ccd1112d444e909a50901b63c915da91b06ee0329ff344ce443d5ebd7ead0b90c12a70610c3d0c3cf50a172d8daa0b0cd3dc202875a10995101e14d6cb
diff --git a/app-misc/calendar/calendar-0.9.1-r1.ebuild b/app-misc/calendar/calendar-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..2b4f7f69342c
--- /dev/null
+++ b/app-misc/calendar/calendar-0.9.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Standard unix calendar program for Linux, ported from OpenBSD"
+HOMEPAGE="http://bsdcalendar.sourceforge.net/"
+SRC_URI="http://bsdcalendar.sourceforge.net/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+DOCS=( README )
+
+src_compile() {
+ tc-export CC
+ emake
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+
+ insinto "/usr/share"
+ doins -r "${PN}s"
+
+ mv "${D}/usr/share/${PN}s" "${D}/usr/share/${PN}" || die
+
+ einstalldocs
+}
diff --git a/app-misc/calendar/calendar-0.9.1.ebuild b/app-misc/calendar/calendar-0.9.1.ebuild
new file mode 100644
index 000000000000..70fdb97478fe
--- /dev/null
+++ b/app-misc/calendar/calendar-0.9.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Standard unix calendar program for Linux, ported from OpenBSD"
+HOMEPAGE="http://bsdcalendar.sourceforge.net/"
+SRC_URI="http://bsdcalendar.sourceforge.net/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+src_compile() {
+ tc-export CC
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodoc README || die
+ cp -R "${S}/calendars" "${D}/usr/share/calendar" || die "cp failed"
+ dobin calendar || die "dobin failed"
+ doman calendar.1 || die
+}
diff --git a/app-misc/calendar/metadata.xml b/app-misc/calendar/metadata.xml
new file mode 100644
index 000000000000..11d4b7f60eb2
--- /dev/null
+++ b/app-misc/calendar/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">bsdcalendar</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/carbon-c-relay/Manifest b/app-misc/carbon-c-relay/Manifest
new file mode 100644
index 000000000000..f76a6b36ce96
--- /dev/null
+++ b/app-misc/carbon-c-relay/Manifest
@@ -0,0 +1,13 @@
+AUX carbon-c-relay.confd 362 SHA256 59585da9b3c72eb569bb5a736350e8fd7c397955682cf301fd3e261e658523f5 SHA512 39c4838e39c494ac70573f1d7202d7bf359a01903877eabac60f5576c288372897c72393322a3d991ae6bfc75f8275c178ead912321836f570b6535b9c53fa8e WHIRLPOOL 67edfb327a9d6d653ecc0e6319616be839cd5f8181aa88a93d486514620426c5ef8590f659501336a55754c1525fae4c92a61a9942ebc5a4746c0be29f20032b
+AUX carbon-c-relay.confd-r1 365 SHA256 9d75f37ce665f68eac89d8475b8063905a399707bea3867137a0c9578ea340f8 SHA512 a432cf28c86ec45c807eeb5a7b506e7dcc6155c138aea5dc60eb8bcf5036ac0efc3a81fbc044af34dab5f05f250635892c5e706dfd69cc1087f0c283c3aa9393 WHIRLPOOL fd5e5302f62dcabfe13134577fc21de304c22114e018e5ae798f00c1dbb80161915f2904f1be02171f08e52b08a22e2d262e1375bbbaeb4e0fc2073b3e9613af
+AUX carbon-c-relay.initd 1678 SHA256 c3296fc3944080e88059967646f4d88a1bbd8b3e2c4fa9a0b2e9224c73ec4613 SHA512 5a3415395affe6c4e315c650733d8e335d5fa8e490ffeba8dc7c944976f3b68ca14e801175a2136499b00fa6adf403428ae509cb9c3596b6a3188ef20d09c575 WHIRLPOOL dc413e1b2fb77919e688bf5ec91e4afa434ca6fdb466f432621bc7455f7dac7ad5b45753a11bcf5a64e06941569fce26c611d541bf91910b72d58c8b096e0bcc
+AUX carbon-c-relay.initd-r1 1801 SHA256 43e6fb5e6c83490c190db1cf6ef46423d7ad29f9d46cc3820927e21480ec8371 SHA512 5cf3c424a8be6bb55a80b58ce590838fec8ed26f8f407e8561c1e3ea094e80ad4021d153b3d816ab6d4e6589494d9ce621fe14196e223ef3a092d0aa26a63399 WHIRLPOOL 27aa131bf56d8dfef83fb6d4b0d7f8c87563ba40e5ab808d96edb8e921ede6da8f2a580990e5f024f7e2cd4af3faaee910dcd34f11d1521d97735bc852630a80
+DIST carbon-c-relay-2.5.tar.gz 102119 SHA256 6d3c538aacd08e9798e294d56b98854fdafe1b3a1d0d8118a406a2d8fe6aad5b SHA512 0b3b04003cda761816ea4bbe9d441366438c8507702f157504b21b66c9ef9b1e135239e6627d3dd3d371c023d71f2cd97ba45bc2ff6296a4998e06bdda219ea3 WHIRLPOOL dc73f9e001217ebbc84bc603fe94bdbf34a8039c65f3d1612c31a2e5de0fe8cb6a5c9db5bb7e79681daf567033b5ee2534a844f9e6d3315ca50f2ab0f1d5befa
+DIST carbon-c-relay-3.0.tar.gz 153479 SHA256 5ae673ed0091a814bc8d6081ff14cfbbda7582fa0c8ccf1a5cf438ba84c2b585 SHA512 046dd19be1791eaf2b50bd7029f0bbe8ad0805113faf9a80b37571c42d76c0f7661a9273876de8cd5bf1d13fdc8133a8eaf9def28dd8077bf667225726797fdc WHIRLPOOL f349475179f762a226c87c87fe12e5b43be4fbff36ed12292c5461e65cbf1a814108daa4e0bd6946b077c230656372e6190fc657136cf6e4fa541e4636dc9b8d
+DIST carbon-c-relay-3.1.tar.gz 271011 SHA256 d21203a63fefa7c226f8170da204832d8e519001004f0f6fb44546c5eb147389 SHA512 8c8062e4fa9ec22281b1848923dc73b39c4617b0c6297f57f69080a7aedf07ef8d5c6e0bebbd5ef0faf3a1255ab155475bc40aeee582838d604da1cc2e43ca4e WHIRLPOOL bdc4d238398ac6b981e432bef3c1f4c9d181d1540a0af1e573bb6e8bb0a42deb0e4b504b6b727019e4667aa8188d476e261e0bdbe5b469345f7b17a39b966b6c
+EBUILD carbon-c-relay-2.5.ebuild 763 SHA256 3b1788afdd5dab301b221b01cee8807a1f4e63742e0b0ad9b1680624ec58edaa SHA512 f8836f0b85480498ec316e1e356e2c06038f7cd98f80519d7734b3ec4d41113a6ba0f67a4740b2244ccbbf60a643c94dcd9be20d15efa44bfe60f362c9b8d770 WHIRLPOOL 40e0a34012176a16bab0a0f6c889e871ee2c42b8c5c3fa2b41e844a2d4f9dd58507878e5e6ae813b82fda8a3fffc8f0f6c26e575f23f6c002973b148665aeaac
+EBUILD carbon-c-relay-3.0.ebuild 763 SHA256 3b1788afdd5dab301b221b01cee8807a1f4e63742e0b0ad9b1680624ec58edaa SHA512 f8836f0b85480498ec316e1e356e2c06038f7cd98f80519d7734b3ec4d41113a6ba0f67a4740b2244ccbbf60a643c94dcd9be20d15efa44bfe60f362c9b8d770 WHIRLPOOL 40e0a34012176a16bab0a0f6c889e871ee2c42b8c5c3fa2b41e844a2d4f9dd58507878e5e6ae813b82fda8a3fffc8f0f6c26e575f23f6c002973b148665aeaac
+EBUILD carbon-c-relay-3.1-r1.ebuild 765 SHA256 1b639164a894f48e08f93f0bdd0cfad22b3e832fa452933d7cc75af1511206ce SHA512 ab94696270aa31b1c4b48320aa211a4488f613a28497c6d08c502a9e14e642ea89d08233f6f128b7ddb5ef31e361bbe7053e91118d1fdbd4b40a9d1e12ce59fa WHIRLPOOL bfbbce605c246811000140600e9e3a8a818b040dd00d286555ef4f4e96be49bf99b1757b5b8417e0255f94c6fba7fa7c283a943cbf3c4bc36334b30775d2eee5
+MISC ChangeLog 5651 SHA256 225cfa30da5b142e679f76ae622e5ebfe44d3c0e0f5c121e2e5f3770bcfa965d SHA512 4e64882411923e4f7e288988f590d4a3975413c2f1bb8baf16cc1146763eec60efc0cb28e05d8d9c9a23ec08f8a712aaefc537f66af3806106677e464281289b WHIRLPOOL 4324b314f2145d9177a844548bd8eb679d5ca9bba2d39e29cabb55a6b49217e633b41e2c899fc53386e1f41fe533b274d2f83e847c9081643a00200cc4e875fb
+MISC ChangeLog-2015 2171 SHA256 b82d3b5c6ce6bd8756f7d98dd2b905f5a341cdc744064db88cd72fff94f2f8f0 SHA512 4948557084548138e005af3a72428c07aec2dd7ee1535e834a3a30ac1ddf7c6f638181bc7074dd4544da22da4397f6ab434f50bf2aa0c494f3ab11b92dac3d76 WHIRLPOOL 5f7325c694d1fadc31d831f62c3413d289c7c092af61f5ca53944a759203badf7f2c9c5a35b36d47738dde31162508220c07304d2752b56ed7a07b2bb9002d28
+MISC metadata.xml 313 SHA256 24ccb0b4ebc32dcd26652eee575bd2834175813c338dbdb203b45e828676d0de SHA512 df24381507480f808a47e0b8477f9f407d85a113fd6a8f6a100fd96fc2011f3a6d7cfc7bcf520e3254f604878b5bdd1672d92fc4969da0becc5e96da520d2ad7 WHIRLPOOL a54cfdcec88940275365ae60407b6fdddc384755dc0cc5e000222f859bf14c33e7a7b59f9615ca75d68c6f91a43f1243ef529cdcda20c21a360a1dfb750e96b6
diff --git a/app-misc/carbon-c-relay/carbon-c-relay-2.5.ebuild b/app-misc/carbon-c-relay/carbon-c-relay-2.5.ebuild
new file mode 100644
index 000000000000..963456421ce6
--- /dev/null
+++ b/app-misc/carbon-c-relay/carbon-c-relay-2.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs user
+
+DESCRIPTION="Enhanced C version of Carbon relay, aggregator and rewriter"
+HOMEPAGE="https://github.com/grobian/carbon-c-relay"
+SRC_URI="https://github.com/grobian/carbon-c-relay/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+pkg_preinst() {
+ enewgroup carbon
+ enewuser carbon -1 -1 -1 carbon
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ newbin relay ${PN}
+ dodoc ChangeLog.md
+ doman ${PN}.1
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
diff --git a/app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild b/app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild
new file mode 100644
index 000000000000..963456421ce6
--- /dev/null
+++ b/app-misc/carbon-c-relay/carbon-c-relay-3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs user
+
+DESCRIPTION="Enhanced C version of Carbon relay, aggregator and rewriter"
+HOMEPAGE="https://github.com/grobian/carbon-c-relay"
+SRC_URI="https://github.com/grobian/carbon-c-relay/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+pkg_preinst() {
+ enewgroup carbon
+ enewuser carbon -1 -1 -1 carbon
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ newbin relay ${PN}
+ dodoc ChangeLog.md
+ doman ${PN}.1
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
diff --git a/app-misc/carbon-c-relay/carbon-c-relay-3.1-r1.ebuild b/app-misc/carbon-c-relay/carbon-c-relay-3.1-r1.ebuild
new file mode 100644
index 000000000000..b8caef32bf9c
--- /dev/null
+++ b/app-misc/carbon-c-relay/carbon-c-relay-3.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user
+
+DESCRIPTION="Enhanced C version of Carbon relay, aggregator and rewriter"
+HOMEPAGE="https://github.com/grobian/carbon-c-relay"
+SRC_URI="https://github.com/grobian/carbon-c-relay/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+pkg_preinst() {
+ enewgroup carbon
+ enewuser carbon -1 -1 -1 carbon
+}
+
+src_install() {
+ default
+ # rename too generic name
+ mv "${ED}"/usr/bin/{relay,${PN}} || die
+ dodoc ChangeLog.md
+
+ newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
+}
diff --git a/app-misc/carbon-c-relay/files/carbon-c-relay.confd b/app-misc/carbon-c-relay/files/carbon-c-relay.confd
new file mode 100644
index 000000000000..d2824644d3c0
--- /dev/null
+++ b/app-misc/carbon-c-relay/files/carbon-c-relay.confd
@@ -0,0 +1,15 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# routing file to read
+#ROUTES_FILE=/etc/carbon-c-relay.conf
+
+# where to store the PID-file
+#PIDFILE=/run/carbon-c-relay.pid
+
+# user and group to run carbon-c-relay as
+#USER=carbon
+#GROUP=carbon
+
+# any options to use when starting the relay
+#EXTRA_OPTS=
diff --git a/app-misc/carbon-c-relay/files/carbon-c-relay.confd-r1 b/app-misc/carbon-c-relay/files/carbon-c-relay.confd-r1
new file mode 100644
index 000000000000..5233eec2d2a1
--- /dev/null
+++ b/app-misc/carbon-c-relay/files/carbon-c-relay.confd-r1
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# routing file to read
+#ROUTES_FILE=/etc/carbon-c-relay.conf
+
+# where to store the logfile
+#LOGFILE=/var/log/carbon-c-relay.log
+
+# user and group to run carbon-c-relay as
+#USER=carbon
+#GROUP=carbon
+
+# any options to use when starting the relay
+#EXTRA_OPTS=
diff --git a/app-misc/carbon-c-relay/files/carbon-c-relay.initd b/app-misc/carbon-c-relay/files/carbon-c-relay.initd
new file mode 100644
index 000000000000..8d39afe05d49
--- /dev/null
+++ b/app-misc/carbon-c-relay/files/carbon-c-relay.initd
@@ -0,0 +1,70 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_commands="configtest"
+extra_started_commands="reload"
+
+description="Lightweight graphite metrics router and aggregator."
+description_configtest="Run carbon-c-relay's internal config check."
+description_reload="Reload the carbon-c-relay configuration without losing connections."
+
+routes_config=${ROUTES_FILE:-/etc/${SVCNAME}.conf}
+
+command="/usr/bin/carbon-c-relay"
+command_args="-f ${routes_config} ${EXTRA_OPTS}"
+pidfile=${PIDFILE:-/run/${SVCNAME}.pid}
+user=${USER:-carbon}
+group=${GROUP:-carbon}
+
+depend() {
+ need net
+ use dns
+}
+
+start_pre() {
+ if [ "${RC_CMD}" != "restart" ]; then
+ configtest || return 1
+ fi
+ touch /var/log/${SVCNAME}.log
+ chown ${user}:${group} /var/log/${SVCNAME}.log
+}
+
+stop_pre() {
+ if [ "${RC_CMD}" = "restart" ]; then
+ configtest || return 1
+ fi
+}
+
+stop_post() {
+ rm -f ${pidfile}
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --background --make-pidfile --pidfile ${pidfile} \
+ --stdout /var/log/${SVCNAME}.log \
+ --stderr /var/log/${SVCNAME}.log \
+ --user ${user} --group ${group} \
+ --exec ${command} -- ${command_args}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec ${command} --pidfile ${pidfile}
+ eend $?
+}
+
+reload() {
+ configtest || return 1
+ ebegin "Refreshing ${SVCNAME}'s configuration"
+ kill -HUP $(< ${pidfile}) &>/dev/null
+ eend $? "Failed to reload ${SVCNAME}"
+}
+
+configtest() {
+ ebegin "Checking ${SVCNAME}'s configuration"
+ ${command} -f "${routes_config}" -t < /dev/null > /dev/null
+ eend $? "failed, please correct errors above"
+}
diff --git a/app-misc/carbon-c-relay/files/carbon-c-relay.initd-r1 b/app-misc/carbon-c-relay/files/carbon-c-relay.initd-r1
new file mode 100644
index 000000000000..1e2734941cc1
--- /dev/null
+++ b/app-misc/carbon-c-relay/files/carbon-c-relay.initd-r1
@@ -0,0 +1,74 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_commands="configtest"
+extra_started_commands="reload"
+
+description="Lightweight graphite metrics router and aggregator."
+description_configtest="Run carbon-c-relay's internal config check."
+description_reload="Reload the carbon-c-relay configuration without losing connections."
+
+routes_config=${ROUTES_FILE:-/etc/${SVCNAME}.conf}
+
+command="/usr/bin/carbon-c-relay"
+command_args="-f ${routes_config} ${EXTRA_OPTS}"
+pidfile="/run/carbon-c-relay/${SVCNAME}.pid"
+logfile=${LOGFILE:-/var/log/${SVCNAME}.log}
+user=${USER:-carbon}
+group=${GROUP:-carbon}
+
+depend() {
+ need net
+ use dns
+}
+
+start_pre() {
+ if [ "${RC_CMD}" != "restart" ]; then
+ configtest || return 1
+ fi
+ touch "${logfile}"
+ mkdir -p "${pidfile%/*}"
+ chown ${user}:${group} "${logfile}" "${pidfile%/*}"
+}
+
+stop_pre() {
+ if [ "${RC_CMD}" = "restart" ]; then
+ configtest || return 1
+ fi
+}
+
+stop_post() {
+ rm -f "${pidfile}"
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --pidfile "${pidfile}" \
+ --user ${user} --group ${group} \
+ --exec ${command} -- -D -P "${pidfile}" -l "${logfile}" \
+ ${command_args}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ # migration path
+ local pfile=${pidfile}
+ [[ -e /run/carbon-c-relay.pid ]] && pfile="/run/carbon-c-relay.pid"
+ start-stop-daemon --stop --exec ${command} --pidfile "${pfile}"
+ eend $?
+}
+
+reload() {
+ configtest || return 1
+ ebegin "Refreshing ${SVCNAME}'s configuration"
+ kill -HUP $(< "${pidfile}") &>/dev/null
+ eend $? "Failed to reload ${SVCNAME}"
+}
+
+configtest() {
+ ebegin "Checking ${SVCNAME}'s configuration"
+ ${command} -f "${routes_config}" -t < /dev/null > /dev/null
+ eend $? "failed, please correct errors above"
+}
diff --git a/app-misc/carbon-c-relay/metadata.xml b/app-misc/carbon-c-relay/metadata.xml
new file mode 100644
index 000000000000..976dd3f22c14
--- /dev/null
+++ b/app-misc/carbon-c-relay/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grobian@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">grobian/carbon-c-relay</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/cbrpager/Manifest b/app-misc/cbrpager/Manifest
new file mode 100644
index 000000000000..02085741552c
--- /dev/null
+++ b/app-misc/cbrpager/Manifest
@@ -0,0 +1,7 @@
+DIST cbrpager-0.9.20.tar.gz 157732 SHA256 8838c53c49d2982c4d716ff5f241cf7168d5c4c5888cd73db21e73402dd5db39 SHA512 6756ce243a4cd7496ae75ff05c8d8cd5de23b6f284b5f214812b3569df8ff9e75fa6157f3d649b30193814669a868ac61fbc1579f9793446aa9882decb9e4191 WHIRLPOOL fbbb5fa10df4f13100df44f194ad234932b87dd77943de1d92e9af636f2e4702619def2a2600b44a4b71986ad9f156123dfdc31b909699838d4f4c5994c31c7b
+DIST cbrpager-0.9.22.tar.gz 146216 SHA256 1852303374d7777f2a5f395fda97d78f970fa87c854ee048495a901922b7dd84 SHA512 dc4bcf14528e6708a3ff0fc3b7e3163dfb9d6063f1cf40545b4f804915afedd9db4cd461834de7ee92fcd4b2f302b7f2ed0d9ae022e220dd8e6c95ccabea34d5 WHIRLPOOL eb0b85d419c78a06793ec4c8f99f476971647200f1a78573b807bcf2edb95f029e2e7093a62aec1d8bf78b92c3c9c54714af15ad17fe6997358e36db1eafba70
+EBUILD cbrpager-0.9.20.ebuild 633 SHA256 2fc7023c6f74d90d071a80548f8de1308c5e1dd4c91fdbb7be5e538ac22c9d6a SHA512 a852ddb8d3077bf5f063f27e2c5b442e6d0c3173f9e47616f5d5c001f410a5638eddd653c6e72bd2c6d4e5f93ae6e4368e1916a8123b593dc51734015e5d0367 WHIRLPOOL ab2b3e8c899c0900be0fbd3a1bbf953e3034f8e0e73703f980a65b4d97f36975e4306a0aa11dcba65772acd48bdac01a3849e40f2f1241b360ae4ca9a8c96f95
+EBUILD cbrpager-0.9.22.ebuild 637 SHA256 4f3529a9ed3589fd9a3d61ebd19fe3f981d56a864a5982c49b9279e63e64ca90 SHA512 51576f684fabc14a7ff1aa4faa9e8ae76f016173c874a3a08ff913c0547a2c888023ba47109ee03b03090b7e64498dda95629c28cef40e56d052d4cc008dfccd WHIRLPOOL 656a22cf4e2c33b613ec825bc25b82d48039403f6d4af638d6bc3cb2eef568c924632b00654238983d46b9a0c6b1bdde47f3fe1824902f4657274c56f2eb7744
+MISC ChangeLog 2237 SHA256 f3a147123a70b8313b8ea5647d3e7ec26ba0901c3189984e500467a725e5f330 SHA512 3ab0ce9abe844074b4dbb8f817afc32bf19488f2cfb1f5a6568c7cf41832557bfe9d87ebad15b9176dcc0c8401c0afd500ddb27d4efc926dc28654b3b369f0dc WHIRLPOOL 4a008467dc150569ee108495f69c2801a4ad4b3f823ca2017b3ff3a0cb6fa1ae77414601c904eb045980ff727c282168c694ad152e5487bf4c554d6e1e8a6c1c
+MISC ChangeLog-2015 2998 SHA256 b316f3a1d2ed1daf2ba7b8862999d8909f9eead8cf11d0b8f7074d18c00c26c7 SHA512 ba46c7f0f4f17e0a4666610ea057204d85837070a61dc7e6cb1a04015d4fe0c1b2f95deb11efbc9ff3e51bc95456073752f880b49fbb7a2aafa65e714caba377 WHIRLPOOL c28b2bf2bac9514fb4f037e125c7167ea899722ed95110d35621ada2d8f5ea7d65b76dfe5b8867a2f7faf50e7be3f0e63a692a3edf69a431ce487fc21be44f5d
+MISC metadata.xml 321 SHA256 783e2a5eda1cb06dc9f88515430757333b25180cb3932b504763536dc5b4020a SHA512 78b81a6c1d3bc153ce6b9e5f3a7169daf841de3705a956721cba492f952f0baa2e5db340d87f0ea18e9d2f2a2a5fcccaac2ff72f095ccc90b48bf3a23857d5e4 WHIRLPOOL d1222366110689901820a0221893f4464b2abe5aed20546abd1afc5c3458b076b0b93fb54a1a9904356a2a79ff82468f721455ee011d10a0baa35a7782c95a94
diff --git a/app-misc/cbrpager/cbrpager-0.9.20.ebuild b/app-misc/cbrpager/cbrpager-0.9.20.ebuild
new file mode 100644
index 000000000000..b2152a59b8da
--- /dev/null
+++ b/app-misc/cbrpager/cbrpager-0.9.20.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=3
+inherit eutils base
+
+DESCRIPTION="a simple comic book pager"
+HOMEPAGE="http://cbrpager.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="|| ( app-arch/unrar app-arch/rar )
+ >=gnome-base/libgnomeui-2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_install() {
+ base_src_install
+ dodoc AUTHORS ChangeLog CONTRIBUTORS NEWS README TODO || die
+ make_desktop_entry ${PN} "CBR Pager" ${PN} "Graphics;Viewer;Amusement;GTK"
+}
diff --git a/app-misc/cbrpager/cbrpager-0.9.22.ebuild b/app-misc/cbrpager/cbrpager-0.9.22.ebuild
new file mode 100644
index 000000000000..0b183e40451b
--- /dev/null
+++ b/app-misc/cbrpager/cbrpager-0.9.22.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=3
+
+inherit eutils base
+
+DESCRIPTION="a simple comic book pager"
+HOMEPAGE="http://cbrpager.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="|| ( app-arch/unrar app-arch/rar )
+ >=gnome-base/libgnomeui-2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_install() {
+ base_src_install
+ dodoc AUTHORS ChangeLog CONTRIBUTORS NEWS README TODO || die
+ make_desktop_entry ${PN} "CBR Pager" ${PN} "Graphics;Viewer;Amusement;GTK"
+}
diff --git a/app-misc/cbrpager/metadata.xml b/app-misc/cbrpager/metadata.xml
new file mode 100644
index 000000000000..bcf8ff6b0728
--- /dev/null
+++ b/app-misc/cbrpager/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">cbrpager</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/cbview/Manifest b/app-misc/cbview/Manifest
new file mode 100644
index 000000000000..0aee19e4ea03
--- /dev/null
+++ b/app-misc/cbview/Manifest
@@ -0,0 +1,5 @@
+DIST cbview-0.06.tar.gz 16351 SHA256 79107627ea70c43410c293d8b99554457d6244d9f50dd2425e39c215f2cc94bc SHA512 4a680243a8c31fafad8826d1ead6d21fcce3642beef9ed82b19a7a75d78e7af32cd8d7800de15bd2b9a59241f81a295b7da8f7a80fa482b41fb589a274bfea06 WHIRLPOOL fdf40271b6cee78974eff621682a10fcb61277d7bc60b1685b00e72cfdc98c61350ab5b7bda957080b23370c4feb44e10b93ee90d6d67ede8ff8d91cb8a95899
+EBUILD cbview-0.06-r1.ebuild 494 SHA256 e40aaeaf9aecea31072cec15322595d060b67dd3413d552d3d7b173fede5da71 SHA512 5b5cd0a0f4f2177b3c90513b9be70c39edf5cdfdd9f1e2d3a128247df0aed9e5fca9e37c537c347a4a5699e2e32f1c4d57d21051ff9dedf3d3803637c24d4762 WHIRLPOOL 3763e80ac19fe2a84a2120f289f2b8ae4b4d8a031d7c7172e90a65b4492cb8e77028bb99d82d302f1d9b81574e5dbe622143057570abd7792837e8662c3554dc
+MISC ChangeLog 2517 SHA256 1f93f6c77e6dd6be9e5332588709eed80dc07af998f894c7fa6d84718ed0bfff SHA512 f5a98e03c39fc603c163d593a39b4b237449310bbafcc49abeba9a18d85670d10901a8affc4e69f134710d25cd9b86713be3407acf33f8fee4f20689d085abd3 WHIRLPOOL a5f88233498404eea241c8c2afe7587aac3b32e679eb403550c542bc044567c6c2ff77bb41c1c00f0e994edc2cafb69f9d2c910b325cb336c1eeee342d4c19f2
+MISC ChangeLog-2015 627 SHA256 157436e1524d12205c7075dc99a843d0b8ecda5024c7e8216964a150c618a2e3 SHA512 7ea837d69c551375e324a1f74b543bbde2c6cf69baaad0f753eae8c342981710ce3dbb33324ad5f31728accf572ad29d0072ad5374ea3fd767a83541ede1dc3f WHIRLPOOL 25023fa704dc92780916922cf080b5d79e5eaa72bf8e3fbab745774cb6d6ee4b9c465658406ef75a1085b80e217ef83dd6839dc526f1b07ef5b5da0bcab29221
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/cbview/cbview-0.06-r1.ebuild b/app-misc/cbview/cbview-0.06-r1.ebuild
new file mode 100644
index 000000000000..9e3c8db7a9c6
--- /dev/null
+++ b/app-misc/cbview/cbview-0.06-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="viewer/converter for CBR/CBZ comic book archives"
+HOMEPAGE="http://elvine.org/code/cbview/"
+SRC_URI="http://elvine.org/code/cbview/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-perl/Gtk2
+ dev-perl/String-ShellQuote
+ app-arch/unrar
+ app-arch/unzip"
+
+src_install() {
+ dobin cbview
+ dodoc README TODO
+}
diff --git a/app-misc/cbview/metadata.xml b/app-misc/cbview/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/cbview/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/cdargs/Manifest b/app-misc/cdargs/Manifest
new file mode 100644
index 000000000000..47ca25681d9d
--- /dev/null
+++ b/app-misc/cdargs/Manifest
@@ -0,0 +1,8 @@
+AUX 50cdargs-gentoo.el 270 SHA256 8b285e6cc17a2721284b6421aaa2033f8c995186787c642b9a94ae7f4f606786 SHA512 ee6765ea4222102678d482a3728e2ba3aac0b0709b6148b7d7755421e00125be0b15a41bce2d8fce4340865a10863f519d5c87729aa66ec9216e9618cf059f75 WHIRLPOOL 86d1b3c18c608bb1624423b443a100f8d495acefe5c2291fa67193bffbfc53172b4ea6b337c0da7c30caa6c101cf50e8dc77e93c07069b1f54b3016ae0355f0d
+AUX cdargs-1.35-format_security.patch 4482 SHA256 bde5a8eeee294f67c92aed98e9595b6afb76c862a9655873c33e9b2676caf8a1 SHA512 379d220d9d257af5e260a4234653520d08078c2a89d30216f9d6c1b77e6aa18ff82d1c609203ceebd78ba238077acf0eda34d2a1e00fb059db6ba7a9fedfe3ff WHIRLPOOL d9dad346a812f8df8327d248eefeea9c693507332a7891a6e5d211584e3c9bce9ff5b5ca8e637d43c69bb0cd8087778cdd8d073f9cf3300577b0713221759349
+AUX cdargs-1.35-tinfo.patch 624 SHA256 958959a89d00fc0613b1edbe7a5caa0275f90fa22592b38e9ef0788def48d7f2 SHA512 3f332d2f76c71affa92ab30b527621dafae09655b71839598784498fb7b07e5967907d6977bb2321ea7043a9c82d6dc2273c3bb5bf0fa7a8d4b11635442640b6 WHIRLPOOL 091e1d69ed4efd8cd32bddce2618823adbc2794a81d554969fa5be6883be416716c3965b5621e56d43e7a6cf4b98f839ae0282c71abed31e2f02a66b737401f7
+DIST cdargs-1.35.tar.gz 74103 SHA256 ee35a8887c2379c9664b277eaed9b353887d89480d5749c9ad957adf9c57ed2c SHA512 13df5d18de6f62309a0ecccc0dd95508d81d1955f87cfd2962360d3b7d74c5cdc2b0d2e00f7a4f1e7556bfbcbd3e2ecf4847a1a48ab47442e6d2d5a36db0cf0c WHIRLPOOL 1003ba9df179ee37684ab9e63d6ac15d8c6963a481304d75b322d04afafa0fbb105cc27af1e14247b8f92e67d08125ba7a626ae9a1ecec0e8a792787097a7ee6
+EBUILD cdargs-1.35-r2.ebuild 1516 SHA256 ad8c050f1a861da886bd9969e6165d60454db8246d6ac5ca5e3c4467a9442443 SHA512 0224c478dc7e7b038094904159d0313969e18ca82f0d2c2825d0390751809836dc5c9abc2111542d12b76d2215048ee3783d6a2cfec17a6b5fc4427d678bb346 WHIRLPOOL fa679fa0893a0a5a8677dacb7fdb0dcc6a5f2b7c6a6122c0b5035cdfe2ab7b0dc6851d29b18861996676bb47f6a489df30c61b76ce9faf3cfef5124d6f54c0eb
+MISC ChangeLog 2531 SHA256 3bb5380345d69a8d3cf3aa1f46ba2176c55d95e1cf3e9e43c29f01b27bd41505 SHA512 95d4a836942e2457d48c8949a280a440650750e0ad35018b610a5cf94fa42f54ab392e582827a76b42632f2e2d91bff36739e175ee22f04bd96372319f4abbe9 WHIRLPOOL 8558942e6adc507ae6941a6d20071fbf4505f3c083f9011c23c6b321fe7aff3dded56e71b2f85514d2fe7a2f744ff65214e23ea4ca230273de23cf3ad42f8c2d
+MISC ChangeLog-2015 3291 SHA256 1faba6b4b3fe143d5d2c5c71522b06d23c2d1f8747e7342ec7cc2911208ac0c1 SHA512 daa6efbc51575b44b6bce00ad5cf76c9dff63bbebce06d83bc5389c4b38d3f894f0fc981dfbc54608da0ed2497742d6085c216a9337f90e0c16c55f12673485c WHIRLPOOL 388babaa5ca358902745bf709e64a090d69e5b771f3ccba759d88241fa115e7003b659526528858cbf6db4669ce26a282a10b1e9c88d90398bc2f8649836e92b
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/cdargs/cdargs-1.35-r2.ebuild b/app-misc/cdargs/cdargs-1.35-r2.ebuild
new file mode 100644
index 000000000000..c679856b7ba8
--- /dev/null
+++ b/app-misc/cdargs/cdargs-1.35-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools elisp-common eutils
+
+DESCRIPTION="Bookmarks and browser for the shell builtin cd command"
+HOMEPAGE="http://www.skamphausen.de/cgi-bin/ska/CDargs"
+SRC_URI="http://www.skamphausen.de/software/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE="emacs"
+
+DEPEND="
+ sys-libs/ncurses
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format_security.patch
+ "${FILESDIR}"/${P}-tinfo.patch
+ )
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_compile() {
+ default
+
+ use emacs && elisp-compile contrib/cdargs.el
+}
+
+src_install() {
+ default
+
+ cd "${S}/contrib" || die
+ insinto /usr/share/cdargs
+ doins cdargs-bash.sh cdargs-tcsh.csh
+ if use emacs ; then
+ elisp-install ${PN} cdargs.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+
+ echo
+ elog "Add the following line to your ~/.bashrc to enable cdargs helper"
+ elog "functions/aliases in your environment:"
+ elog "[ -f /usr/share/cdargs/cdargs-bash.sh ] && \\ "
+ elog " source /usr/share/cdargs/cdargs-bash.sh"
+ elog
+ elog "Users of tcshell will find cdargs-tcsh.csh there with a reduced"
+ elog "feature set. See INSTALL file in the documentation directory for"
+ elog "more information."
+ echo
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/cdargs/files/50cdargs-gentoo.el b/app-misc/cdargs/files/50cdargs-gentoo.el
new file mode 100644
index 000000000000..f9203b308ce0
--- /dev/null
+++ b/app-misc/cdargs/files/50cdargs-gentoo.el
@@ -0,0 +1,8 @@
+
+;;; app-misc/cdargs site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'cdargs "cdargs"
+ "Change the current working directory using a bookmarks file." t)
+(defalias 'cv 'cdargs)
+(autoload 'cdargs-edit "cdargs" "Simply open the bookmarks file" t)
diff --git a/app-misc/cdargs/files/cdargs-1.35-format_security.patch b/app-misc/cdargs/files/cdargs-1.35-format_security.patch
new file mode 100644
index 000000000000..978a8e92c088
--- /dev/null
+++ b/app-misc/cdargs/files/cdargs-1.35-format_security.patch
@@ -0,0 +1,100 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
+<head>
+<title>cdargs.git - cdargs</title>
+<meta name='generator' content='cgit v0.10.2'/>
+<meta name='robots' content='index, nofollow'/>
+<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
+<link rel='shortcut icon' href='/favicon.ico'/>
+<link rel='alternate' title='Atom feed' href='http://pkgs.fedoraproject.org/cgit/cdargs.git/atom/cdargs-1.35_format_security.patch?h=master' type='application/atom+xml'/>
+</head>
+<body>
+<script src="https://apps.fedoraproject.org/fedmenu/js/jquery-1.11.2.min.js"></script>
+<script src="https://apps.fedoraproject.org/fedmenu/js/fedmenu.js"></script>
+
+<script>
+ var base = 'https://apps.fedoraproject.org/';
+ var tokens = window.location.href.split('/');
+ var repo = null;
+ if (tokens.length > 4 && tokens[4] != '') {
+ repo = tokens[4].split('.')[0];
+ }
+ fedmenu({
+ 'url': base + 'js/data.js',
+ 'mimeType': 'application/javascript',
+ 'position': 'bottom-right',
+ 'package': repo,
+ });
+</script>
+<div id='cgit'><table id='header'>
+<tr>
+<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
+<td class='main'><a href='/cgit/'>index</a> : <a title='cdargs.git' href='/cgit/cdargs.git/'>cdargs.git</a></td><td class='form'><form method='get' action=''>
+<select name='h' onchange='this.form.submit();'>
+<option value='f10'>f10</option>
+<option value='f11'>f11</option>
+<option value='f12'>f12</option>
+<option value='f13'>f13</option>
+<option value='f14'>f14</option>
+<option value='f15'>f15</option>
+<option value='f16'>f16</option>
+<option value='f17'>f17</option>
+<option value='f18'>f18</option>
+<option value='f19'>f19</option>
+<option value='f20'>f20</option>
+<option value='f21'>f21</option>
+<option value='f22'>f22</option>
+<option value='f7'>f7</option>
+<option value='f8'>f8</option>
+<option value='f9'>f9</option>
+<option value='master' selected='selected'>master</option>
+</select> <input type='submit' name='' value='switch'/></form></td></tr>
+<tr><td class='sub'>cdargs</td><td class='sub right'>Jesse Keating</td></tr></table>
+<table class='tabs'><tr><td>
+<a href='/cgit/cdargs.git/'>summary</a><a href='/cgit/cdargs.git/refs/'>refs</a><a href='/cgit/cdargs.git/log/cdargs-1.35_format_security.patch'>log</a><a class='active' href='/cgit/cdargs.git/tree/cdargs-1.35_format_security.patch'>tree</a><a href='/cgit/cdargs.git/commit/cdargs-1.35_format_security.patch'>commit</a><a href='/cgit/cdargs.git/diff/cdargs-1.35_format_security.patch'>diff</a><a href='/cgit/cdargs.git/stats/cdargs-1.35_format_security.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/cdargs.git/log/cdargs-1.35_format_security.patch'>
+<select name='qt'>
+<option value='grep'>log msg</option>
+<option value='author'>author</option>
+<option value='committer'>committer</option>
+<option value='range'>range</option>
+</select>
+<input class='txt' type='text' size='10' name='q' value=''/>
+<input type='submit' value='search'/>
+</form>
+</td></tr></table>
+<div class='path'>path: <a href='/cgit/cdargs.git/tree/'>root</a>/<a href='/cgit/cdargs.git/tree/cdargs-1.35_format_security.patch'>cdargs-1.35_format_security.patch</a></div><div class='content'>blob: 3ddc550e607e9f908b891c7e3626ee256484607e (<a href='/cgit/cdargs.git/plain/cdargs-1.35_format_security.patch'>plain</a>)
+<table summary='blob content' class='blob'>
+<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
+<a id='n2' href='#n2'>2</a>
+<a id='n3' href='#n3'>3</a>
+<a id='n4' href='#n4'>4</a>
+<a id='n5' href='#n5'>5</a>
+<a id='n6' href='#n6'>6</a>
+<a id='n7' href='#n7'>7</a>
+<a id='n8' href='#n8'>8</a>
+<a id='n9' href='#n9'>9</a>
+<a id='n10' href='#n10'>10</a>
+<a id='n11' href='#n11'>11</a>
+<a id='n12' href='#n12'>12</a>
+<a id='n13' href='#n13'>13</a>
+</pre></td>
+<td class='lines'><pre><code>diff --git a/src/cdargs.cc b/src/cdargs.cc
+index e505e4e..1fdfeb8 100644
+--- a/src/cdargs.cc
++++ b/src/cdargs.cc
+@@ -1301,7 +1301,7 @@ void helpscreen(void) {
+
+ void fatal_exit(char* msg) {
+ endwin();
+- fprintf(stderr, msg);
++ fprintf(stderr, "%s", msg);
+ exit(1);
+ }
+
+</code></pre></td></tr></table>
+</div> <!-- class=content -->
+<div class='footer'>generated by cgit v0.10.2 at 2015-06-21 13:46:50 (GMT)</div>
+</div> <!-- id=cgit -->
+</body>
+</html>
diff --git a/app-misc/cdargs/files/cdargs-1.35-tinfo.patch b/app-misc/cdargs/files/cdargs-1.35-tinfo.patch
new file mode 100644
index 000000000000..d85a3b9b685c
--- /dev/null
+++ b/app-misc/cdargs/files/cdargs-1.35-tinfo.patch
@@ -0,0 +1,20 @@
+ configure.in | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index a21d664..263929e 100644
+--- a/configure.in
++++ b/configure.in
+@@ -8,10 +8,11 @@ dnl if test "$has_curses" = "false" ; then
+ dnl AC_MSG_ERROR([Fatal error: couldn't find ncurses/curses.])
+ dnl fi
+
++PKG_CHECK_MODULES([NCURSES], [ncurses],[CURSES_LIB=${NCURSES_LIBS}],[
+ MP_WITH_CURSES
+ if test "x$CURSES_LIB" = "x" ; then
+ AC_MSG_ERROR([Fatal error: couldn't find ncurses/curses.])
+-fi
++fi])
+ AC_SUBST(CURSES_LIB)
+
+ AC_OUTPUT(Makefile contrib/Makefile doc/Makefile src/Makefile m4/Makefile cdargs.spec)
diff --git a/app-misc/cdargs/metadata.xml b/app-misc/cdargs/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/cdargs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/cdcat/Manifest b/app-misc/cdcat/Manifest
new file mode 100644
index 000000000000..30e3bad82e99
--- /dev/null
+++ b/app-misc/cdcat/Manifest
@@ -0,0 +1,5 @@
+DIST cdcat-0.3.tar.gz 7464 SHA256 b7c0ff819e572fa5b9c160a0d2fac391995c96c3bb5d61cc64ed63d17139a651 SHA512 6d30a22c29a1846a3899f384bcc395444af77b62024cb9f45da877819614c3f1ff495e03f7d7b498716fe4725c569c88a14480a37fc4e4fef5cfd9a640e4cfa3 WHIRLPOOL 68a0604bb6afe71c8c5836421f68a0d21fd0620865531add222e478a375ba8040d7a52b58c2b44b1e2502deeb5a07c7fbe2935432fb6a4a3049d3a312b500f78
+EBUILD cdcat-0.3.ebuild 1212 SHA256 cc3f0e49b555f198c7c82fd0249a2c176b33740f54f2886b4f33ebf0dbab1dbc SHA512 bbed8c988d199c4d169bfb886013b8a4a2a5b52cb11d03a51deb4f66ae4d7c6396ea0e3654b30e4ceececc78e56224f35c4ea24c61bef97dd11e87fd857fd63f WHIRLPOOL b72fb5ec4b5012af6196a1f8c87f176cca75db1571b3491a49d6e576a85c31a82c44f0f8fff3e758f9865cd1e1f29a95306c30e432cf005af7f975291a26b64b
+MISC ChangeLog 2645 SHA256 c2199e142bf165b1e8d7dffe3b22afd40f04cde1eb1e3deb809fa660adc54834 SHA512 c682980e73b030f7b479547b7246876ed9999a13977565fd1c9cef42073ca1f2a8b3353c69517b8816c2ccd4f819b18717fc41c0687f86125afadf154cfbbfe0 WHIRLPOOL eade880714bf1ab096706a2a010fe1390286206bf0e1152b6f32c1e11ccaed236c5c6b1d8020599bce45bf3e849006ccd492a902955d7275e4799f5097f84bcd
+MISC ChangeLog-2015 2041 SHA256 0389f24b9ae65e9732b6bc1ff0de97d83641a9a604df63cc03bba2d650a1fb52 SHA512 5874f6e707b2cf7fc9c22c7dd8baa64e3a7583407b138923168599d538727fd88cfa6b79890b59f1b1abeb1212e4c8b9920f2cbc6871e6c3042b85150052d2bc WHIRLPOOL 65fbe2a5c226ff833dfb7c1270c1a7507cfaa336d682edc8296c2ca0d58becd763be1c3126b4056845d48e24432e63c32064ce89c4a3389b7aa0efd4ebbdd2ab
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/cdcat/cdcat-0.3.ebuild b/app-misc/cdcat/cdcat-0.3.ebuild
new file mode 100644
index 000000000000..496a064140db
--- /dev/null
+++ b/app-misc/cdcat/cdcat-0.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="simple yet effective CD indexing program"
+# original src went away: SRC_URI="http://littledragon.home.ro/unix/${P}.tar.gz"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="https://dev.gentoo.org/~centic/cdcat/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="virtual/cdrtools
+ !app-backup/cdbkup"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # workaround install.sh ignoring --man_prefix
+ sed -i 's:^MAN_PREFIX:#:' install.sh
+
+ # fix path to cd index files to be FHS-compliant
+ sed -i 's:/mnt/ext/cd:/var/lib/cdcat:' src/cdcat.pl
+
+ # work around problem with isoinfo -di
+ sed -i 's:isoinfo -di:isoinfo -d -i:' src/cdcat.pl
+}
+
+src_install() {
+ # workaround install.sh ignoring --man_prefix
+ export MAN_PREFIX="${D}/usr/share/man"
+ dodir /usr/share/man/man1
+
+ # create index files path
+ dodir /var/lib/cdcat
+ chgrp cdrom "${D}"/var/lib/cdcat
+ chmod g+ws,o+w "${D}"/var/lib/cdcat
+
+ # now use the included install.sh
+ ./install.sh --prefix="${D}/usr" \
+ --man_prefix="${D}/usr/share/man" || die "Install script failed."
+
+ insinto /etc
+ doins doc/cdcat.conf || die
+}
diff --git a/app-misc/cdcat/metadata.xml b/app-misc/cdcat/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/cdcat/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/cdctl/Manifest b/app-misc/cdctl/Manifest
new file mode 100644
index 000000000000..0b1043aee48b
--- /dev/null
+++ b/app-misc/cdctl/Manifest
@@ -0,0 +1,10 @@
+AUX cdctl-0.15-Makefile.in.patch 1437 SHA256 0b326ed6a090da952132fcc6ebda7224f06f4073ad62d1aeec7a771df698fb93 SHA512 c83243336a36b289ad5262a30b70d7db3bff0662a21e900f5a8696f784326ca4ffd709634c144f304970d0deb3f7e2fc9e0a947d465906db36c318df05883dd3 WHIRLPOOL c7f85d630168728e8c385c0651c6b2c76a3fbe0e80b80d589fadf659c483be036a19c8fd3199229492722f4c6a8d27550f0d9fb9ddcaf2c6c8c9081ef02d6c98
+AUX cdctl-0.15-cdc_ioctls.patch 646 SHA256 949983dc4d763b8d3750ab7e3d58bf98c6549f64e334a9b6772b7df4078f1d03 SHA512 354241683f3bc4cf25101a984053473ea2fb67b445d09bb09eba2b657380a5393d918d892ee8c20e5fa8de77018931bca27b8dc0880f6fb3ad4ec1715fd51e75 WHIRLPOOL 98cb495e64e39e6d350d0a02cc97305b05763c5a208496e2d2ca103666195f5cea499603216552cfa5519d495f77e243bd04d67f2921356ecc804acde42778a0
+AUX cdctl-0.16-Makefile.in.patch 1474 SHA256 2950eeb1b1569a89c630a092c03c58218d43adb9b071253fce0e1b5e80da877d SHA512 78d9c1a4b1e3c29fb9b83d6b9250e07157715fa70a00798f6bf49e0af2c2269dfec816df76f1818d401992b793504e8049df836bc0d8a73ab2f0488f4689b5e2 WHIRLPOOL 083d6305045855f2b2e47515e62ebd7608073befa93ced21893b667b21046c80628def729affdc0abb5c2624334d4589e97a9c100f5d4070dc4abc44a4a49c62
+DIST cdctl-0.15.tar.gz 44163 SHA256 6e9b6cbc6824c5fab7e7a45878605296ad8c62692cac6db468d5e42296d51e39 SHA512 7bcaec8f52cafbe84d87dcb740a952520ceccb197b1491a88bb03d6a993a6385d424f67386a7175bb30c5c8b3ac02abf31c2e8843c1cd7d1d808eee70a5906f4 WHIRLPOOL 4e7782421f142a8cc442837ca40c1969cca3467850b701f90bc6e0d9589c7d9ab216dc94dec2633c361b327cf1c37e1e0863480108e925446a6badac5e127b48
+DIST cdctl-0.16.tar.gz 34121 SHA256 b98c17accd72fdc12dd4cd4dfe9f198b961e44c6bc15f62085e71766858eaa7f SHA512 e1c341cf0acabc28c8aedb3265e65ffe90668b83eb44d23577049cc81a160ab0ec8b6e813cf8ffe20aaf83b4d056a8f07c2e958f5a6086db3843b84b36e060b4 WHIRLPOOL 842bd397d8afb3e85e41bb9f6b097324fe9b86f7afcc16524f52fd98f08037e95a031135162c52c3b0790dbd907d68aa015b62f05a20eb925897098fb15dab48
+EBUILD cdctl-0.15.ebuild 692 SHA256 0405f8e6b750fba7552aa05c0628aa8ceaff31b55f7781f701df50c94182ec83 SHA512 7fb15680883b9108c8eb7d95e77ca0625267c6d7c51f5a7489c0422f23b949c7f67108d24a2e18887896bac59eff3e77c70cfa19b5a8937681cea9f840f349ba WHIRLPOOL 208c288d19c64330223dbb9417ab24d91a7c2142f3b62725a893e51829fe3f9b46e5019f5530a4331af5fa515b63bbf827abfbb609ded0733af41204db331b9d
+EBUILD cdctl-0.16.ebuild 535 SHA256 b6f17acaf7ce9c2a0684461af36d4186cb6c14e53fd262a4918ead0d6878dabb SHA512 d4044b97a1b319304916f57f2c8fe381073c381453cf207a189aa953bf74cdb4ac97fd5ae722fd07a1c11ceaaddaf29c13d83e78dbdf5d41301d74b2879123bf WHIRLPOOL aca0808a4fa9e3f4a8f90c8eb5633c0153754a66e5b0094b359104ab0b29bfd06b0b19929caaafec177b37c040f26afb8294035891404e790b53ef8bd278a795
+MISC ChangeLog 2674 SHA256 73518e21c78c7d66bd1302e9fe592b88739c36667411e98f407e5114f4314d9f SHA512 6981e98e649d4ab1e2c423b3fbda46404763eaeb880479a7e96c0de0edf4e0c5e6aff174d462cbfcee477c2476aa0d629168e3d8e5db693a11c9d520194e09ee WHIRLPOOL 16c1c37c48fb06e388373872ec00be59901ef9f446f4a40b871b8d41b843ec7a1451e83e071a83445671222e2934b535c6b3b69c276a7d6c34f5586b953a0162
+MISC ChangeLog-2015 1807 SHA256 28cef65d175a7fd81d09a18bb56e81c091821c90870d12cdc3e8f8e9f9d3210f SHA512 dffcd6041d35263f910ec030956065e0fb5f3874a6c2cc6d2fecacf145e2092e749db42587f59faf70d38d888063b8326f9636a3a6b5f45b13a9b55d969a5103 WHIRLPOOL 2474e39408bf15a46249afca8ff37c983a2a61bc525c56a7987c29c4ee8dd42de2b1f89c2588d48b4a798d2a9c7be039aa21e197a7119fac82e1df06efe6f9bc
+MISC metadata.xml 242 SHA256 747f3c10fb0d5b0642de3deb96eb68a5adb7e0d43eb8ba13f8f8060385dfa6f9 SHA512 289f7a2af6d7c9dc7733456dd71cdc014bd0dd13d84d76605aa3ae4ba4bc39cab188b744309c974c14a2780662761ba2670a44037b40f07394e65c55c985ac6d WHIRLPOOL 0192e4f7d60bb9d0ccf8bdc60f3b9338a854cfeeceb080efee70a498085efe7ba5d24bd92a103cee2ebbd001133ba273df4e8b3f7e2b30efa9eb267e77dcce24
diff --git a/app-misc/cdctl/cdctl-0.15.ebuild b/app-misc/cdctl/cdctl-0.15.ebuild
new file mode 100644
index 000000000000..103a50ff0759
--- /dev/null
+++ b/app-misc/cdctl/cdctl-0.15.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utility to control your cd/dvd drive"
+HOMEPAGE="http://cdctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cdctl/${P}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="x86 ppc amd64 ppc64"
+IUSE=""
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Makefile.in.patch
+ epatch "${FILESDIR}"/${P}-cdc_ioctls.patch
+}
+
+src_compile() {
+ econf
+ emake CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc NEWS NUTSANDBOLTS PUBLICKEY README
+}
diff --git a/app-misc/cdctl/cdctl-0.16.ebuild b/app-misc/cdctl/cdctl-0.16.ebuild
new file mode 100644
index 000000000000..3dff479be49b
--- /dev/null
+++ b/app-misc/cdctl/cdctl-0.16.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils autotools toolchain-funcs
+
+DESCRIPTION="Utility to control your cd/dvd drive"
+HOMEPAGE="http://cdctl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cdctl/${P}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.16-Makefile.in.patch
+
+ eautoreconf
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
diff --git a/app-misc/cdctl/files/cdctl-0.15-Makefile.in.patch b/app-misc/cdctl/files/cdctl-0.15-Makefile.in.patch
new file mode 100644
index 000000000000..6d8e11502fcc
--- /dev/null
+++ b/app-misc/cdctl/files/cdctl-0.15-Makefile.in.patch
@@ -0,0 +1,56 @@
+--- Makefile.in.orig 2003-02-20 21:57:38.000000000 -0800
++++ Makefile.in 2003-02-20 22:27:10.000000000 -0800
+@@ -2,10 +2,12 @@
+ CFLAGS=-Wall -g
+ BINS=cdctl sndreset
+ OBJS=cdctl.o version.o ioctls.o iso_header.o
+-DOCS=NEWS NUTSANDBOLTS LICENSE PUBLICKEY README SEGFAULTS
++DOCS=NEWS NUTSANDBOLTS LICENSE PUBLICKEY README
+ MANS=cdctl.1
+ MOS=cdctl.mo
+
++prefix = @prefix@
++exec_prefix = @exec_prefix@
+ bindir = @bindir@
+ mandir = @mandir@
+ datadir = @datadir@
+@@ -16,6 +18,10 @@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = $(INSTALL) -m 644
+
++DESTDIR =
++
++man1dir = $(mandir)/man1
++
+ all: $(BINS)
+
+ cdctl: $(OBJS)
+@@ -26,21 +32,21 @@
+ version.o: version.c
+ iso_header.o: iso_header.c
+
+-install: install-bins install-docs install-mans install-mos
++install: install-bins install-mans install-mos
+
+ install-bins: $(BINS)
+- $(INSTALL) -s $(BINS) $(bindir)
+-
+-install-docs: $(DOCS)
+- $(INSTALL_DATA) $(DOCS) $(datadir)
++ $(INSTALL) -d $(DESTDIR)$(bindir)
++ $(INSTALL) $(BINS) $(DESTDIR)$(bindir)
+
+ install-mans: $(MANS)
+- $(INSTALL_DATA) $(MANS) $(mandir)
++ $(INSTALL) -d $(DESTDIR)$(man1dir)
++ $(INSTALL_DATA) $(MANS) $(DESTDIR)$(man1dir)
+
+ # FIXME: need to deal with other languages besides German
+
+ install-mos: cdctl.mo
+- $(INSTALL_DATA) $(MOS) $(localedir)/de/LC_MESSAGES
++ $(INSTALL) -d $(DESTDIR)$(localedir)/de/LC_MESSAGES
++ $(INSTALL_DATA) $(MOS) $(DESTDIR)$(localedir)/de/LC_MESSAGES
+
+ cdctl.mo: cdctl.po
+ msgfmt cdctl.po -o cdctl.mo
diff --git a/app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch b/app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch
new file mode 100644
index 000000000000..8e440955907b
--- /dev/null
+++ b/app-misc/cdctl/files/cdctl-0.15-cdc_ioctls.patch
@@ -0,0 +1,13 @@
+diff -Naurp cdctl-0.15-orig/cdctl.c cdctl-0.15/cdctl.c
+--- cdctl-0.15-orig/cdctl.c 2006-08-08 23:18:44.000000000 +0200
++++ cdctl-0.15/cdctl.c 2006-08-08 23:19:33.000000000 +0200
+@@ -337,7 +337,9 @@ int do_print_capabilities(int cdrom) {
+ printf("Can report media change: %i\n", (ret & CDC_MEDIA_CHANGED)?1:0);
+ printf("Can play audio discs : %i\n", (ret & CDC_PLAY_AUDIO)?1:0);
+ printf("Can do a hard reset : %i\n", (ret & CDC_RESET)?1:0);
++#ifdef CDC_IOCTLS
+ printf("Has non-standard ioctls: %i\n", (ret & CDC_IOCTLS)?1:0);
++#endif
+ printf("Can report drive status: %i\n", (ret & CDC_DRIVE_STATUS)?1:0);
+
+ #ifdef CDROM_CHANGER_NSLOTS
diff --git a/app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch b/app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch
new file mode 100644
index 000000000000..f6f4ad3abdcf
--- /dev/null
+++ b/app-misc/cdctl/files/cdctl-0.16-Makefile.in.patch
@@ -0,0 +1,55 @@
+--- cdctl/Makefile.in
++++ cdctl/Makefile.in
+@@ -1,8 +1,8 @@
+ CC=gcc
+-CFLAGS=-Wall -g
++CFLAGS:=-Wall -g
+ BINS=cdctl sndreset
+ OBJS=cdctl.o version.o ioctls.o iso_header.o
+-DOCS=NEWS NUTSANDBOLTS LICENSE PUBLICKEY README SEGFAULTS
++DOCS=NEWS NUTSANDBOLTS LICENSE PUBLICKEY README
+ # NOTE: all man pages are installed in $(mandir)/man1 -- see install-mans
+ MANS=cdctl.1
+ MOS=cdctl.mo
+@@ -22,6 +22,8 @@
+ INSTALL_DIR = $(INSTALL) -d
+ INSTALL_DATA = $(INSTALL) -m 644
+
++DESTDIR =
++
+ all: $(BINS)
+
+ cdctl: $(OBJS)
+@@ -35,25 +37,21 @@
+ indent:
+ indent -kr -cdb -sc *.c
+
+-install: install-bins install-docs install-mans install-mos
++install: install-bins install-mans install-mos
+
+ install-bins: $(BINS)
+- $(INSTALL_DIR) $(bindir)
+- $(INSTALL) -s $(BINS) $(bindir)
+-
+-install-docs: $(DOCS)
+- $(INSTALL_DIR) $(docdir)
+- $(INSTALL_DATA) $(DOCS) $(docdir)
++ $(INSTALL_DIR) $(DESTDIR)$(bindir)
++ $(INSTALL) $(BINS) $(DESTDIR)$(bindir)
+
+ install-mans: $(MANS)
+- $(INSTALL_DIR) $(mandir)/man1
+- $(INSTALL_DATA) $(MANS) $(mandir)/man1
++ $(INSTALL_DIR) $(DESTDIR)/$(mandir)/man1
++ $(INSTALL_DATA) $(MANS) $(DESTDIR)$(mandir)/man1
+
+ # FIXME: need to deal with other languages besides German
+
+ install-mos: cdctl.mo
+- $(INSTALL_DIR) $(localedir)/de/LC_MESSAGES
+- $(INSTALL_DATA) $(MOS) $(localedir)/de/LC_MESSAGES
++ $(INSTALL_DIR) $(DESTDIR)$(localedir)/de/LC_MESSAGES
++ $(INSTALL_DATA) $(MOS) $(DESTDIR)$(localedir)/de/LC_MESSAGES
+
+ cdctl.mo: cdctl.po
+ msgfmt cdctl.po -o cdctl.mo
diff --git a/app-misc/cdctl/metadata.xml b/app-misc/cdctl/metadata.xml
new file mode 100644
index 000000000000..0526b0e7ce4d
--- /dev/null
+++ b/app-misc/cdctl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">cdctl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/cdircmp/Manifest b/app-misc/cdircmp/Manifest
new file mode 100644
index 000000000000..346c11c00bee
--- /dev/null
+++ b/app-misc/cdircmp/Manifest
@@ -0,0 +1,5 @@
+DIST cdircmp-0.3.tar.gz 17253 SHA256 b66d8fbcb90f84c4ac1a735ad744b0d5905fbb0a04d5ecf6e14c058be805fe19 SHA512 66fa27a3c06aa4bd6584da2c6a38ad0798f5f10eb9b021080c473d03733bd2dba344549e95c22485bf72536a03a4e91a7497192296b6c297166e47a679cf0079 WHIRLPOOL 6c4ec8a3e5e6352aa1108b343ecd3865757e6304bfced30735a7efcfc6393334330f80a70c0a2103170379ab50d3acdf64c92fe6067989f4e9f78bd3630fbdfc
+EBUILD cdircmp-0.3-r1.ebuild 750 SHA256 20e13d9a8d08201c68fb7d6b31b6a34c1d53581909bd55d4a3c88c80a218158f SHA512 34cfcebb8172ca0fc716733c5cbbb89fc0fe2eedc139406cca20a592f0120762cb8f2784d9690b8bb1a60ede03662b382805587649bb2d0ba8ce42676236781d WHIRLPOOL 6b524de053a0e000eb82b3bdbfae6b88bdcc3c8bb712cf81fc9bc856d1b933aaf5f4f84b23e805419d4a5d22560731d8114f16741d3a6c1bbdf9603cf00ecac0
+MISC ChangeLog 2524 SHA256 7de0ae2ab0fe06e1de4018377bb6b55b7da88e576cc15b5b80ed3dbcd8cb8d50 SHA512 40d1d3576665e0fbe24d10db2fe34a043898ce0228b66f06b80eeb6ba9eaf64b953e50b92fadeda2289f3a05a93ba0a83dccb828ae7e315625baff540508a5a9 WHIRLPOOL 6a5c8f88a5af305dd97d2502dfeed887069ad5fc059dd3dfe48094a841018941e994ac1642fcc5f8cf9619af42438333baf6b8030afbff68855912097eab30f1
+MISC ChangeLog-2015 2034 SHA256 8606e6d2fbcc681434c92f0e6b908f2d239410ac104ba16e300fb7d15f0d6ce0 SHA512 f294ed8358442efc91b48c76e507575519489843f4088105d0734b53e541e96e1a1474816272d93e7bd011aca6f72e2cb852f24da404ef0f93b64cf94fb7cdda WHIRLPOOL 483fb12ecda1a86da2457fe176828736599b7f7dd29c30292799465c4e4e220b8546a0d4503314066f71051c63457ea052ae600332d4373d2b3bc6a1af4249a2
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/cdircmp/cdircmp-0.3-r1.ebuild b/app-misc/cdircmp/cdircmp-0.3-r1.ebuild
new file mode 100644
index 000000000000..b2576f017b87
--- /dev/null
+++ b/app-misc/cdircmp/cdircmp-0.3-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Compare directories and select files to copy"
+HOMEPAGE="http://home.hccnet.nl/paul.schuurmans/"
+SRC_URI="http://home.hccnet.nl/paul.schuurmans/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/ncurses-5.4"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog README
+
+ dobin ${PN} || die "dobin failed"
+}
diff --git a/app-misc/cdircmp/metadata.xml b/app-misc/cdircmp/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/cdircmp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/cdspeed/Manifest b/app-misc/cdspeed/Manifest
new file mode 100644
index 000000000000..22cccd01c479
--- /dev/null
+++ b/app-misc/cdspeed/Manifest
@@ -0,0 +1,5 @@
+DIST cdspeed-0.4.tar.gz 3696 SHA256 b8d4214731345b2259460c5572e51162090585c5f1114cfff5a3ae2e620e3fa1 SHA512 2f656c0a8269a568f10a499efb6414c217369d42dc6fee393ccfdbb69b89ab6e01dae2e3901049081a29b7a2bed857591f9ff8b2855aa6e325b85aecba2e2b37 WHIRLPOOL a7213f272e353de9f84e820ebbcd9c6049d132f09bed4734dddaf8e0b661f8ad46ba1909b36fdbb721a6b79218c57b83524ebe376cb1580e4bdf4ef116de458a
+EBUILD cdspeed-0.4-r1.ebuild 691 SHA256 508347aa8680ace6d4bc27e296c815093885607048dce4d97b68be3a0078539c SHA512 6a66a0206ab6628bde4b24878390249830e327c3e07e5917107e7df1d0660ed3d956d46e813f33f39ff6610ddf16b0a0e08d8c0d43ff18b358e27ff345313536 WHIRLPOOL 558560bccf95a9159cfdca4b2aa6b40cf299ed51b9f3ad36bc4386e0b5a84e61d99c2cdb9e98111534d3d12f28d702ccd3b9449d27179fb0ab7336f86e91c8b4
+MISC ChangeLog 2524 SHA256 aaf9c031be1789451db832855caeb5ffc2187439a7752fb56f2db426059a9f12 SHA512 ca12e276f2e5c292b0384faf65e3bd3b0a5cb84299b3eb1e827eda3cd9f625f425a99cae80c04bfd05e6489a04036bb8a28fa949bb3b8742856bdf52b146e15f WHIRLPOOL 9ed330a54b1d35f9d1d461b78472e7514c9e8db6f2542b07efe633d9ec8b0f6f60c845d06b9cbed4b2d7fc26a81bdc82988fd768e868d18870e07178d3629af8
+MISC ChangeLog-2015 3381 SHA256 b0b5c7335e384a2331d3022f157ed01f025f87765e07203d47cb1ac64ed89227 SHA512 fdd087f1dd91c8632e0a756ec8751f676851b22564da78c53f00c2edcbf8622a5b693c180cf8c6452b256a6e0c531c4cf3d36cd23008019228a438daf612d6cb WHIRLPOOL 67c7d68596dd7dbb2d52e007b141bb6776ceeffa3025c2b9d2799325e07d08a7263f68623f193dcc6cfa7e239ac89a4963e81020f083859e0475d8b205275511
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/cdspeed/cdspeed-0.4-r1.ebuild b/app-misc/cdspeed/cdspeed-0.4-r1.ebuild
new file mode 100644
index 000000000000..9701b686d358
--- /dev/null
+++ b/app-misc/cdspeed/cdspeed-0.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Change the speed of your CD drive"
+HOMEPAGE="http://linuxfocus.org/~guido/"
+SRC_URI="http://linuxfocus.org/~guido/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~hppa ~mips ppc x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND=""
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -Wall -Wno-unused" CC=$(tc-getCC) \
+ || die "emake failed"
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" install || die "emake install"
+ dodoc README
+}
diff --git a/app-misc/cdspeed/metadata.xml b/app-misc/cdspeed/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/cdspeed/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/chkcrontab/Manifest b/app-misc/chkcrontab/Manifest
new file mode 100644
index 000000000000..daef2426af10
--- /dev/null
+++ b/app-misc/chkcrontab/Manifest
@@ -0,0 +1,6 @@
+DIST chkcrontab-1.6.tar.gz 24701 SHA256 be7436d5ece4ad6390365f6edf0f1dc59dfd655a9de3b4699884343ceb150f2e SHA512 249061ecf7c8dc2d2275dcda3048fd00fc2ca85d39dabb2de61a3ab415243bbd1a61222be8c0ddfa66eb36577bb2efb27ba4a0c2a013559dee126c95cc73bd1b WHIRLPOOL 13995293e761930d0d900c3e7fa5b7695fad3416ade96fc34be415a448ca5e5969f5b82889d46041ed801ca2f13e5154a01698d753898ee9027bd9a2c8e6e29f
+DIST chkcrontab-1.7.tar.gz 25088 SHA256 1725172dbdea26f1aef915b9acd7100605e49f8675761900bc0992a227d767b9 SHA512 5236b1996a8d4f5d3861bf3d8a1bafafa271237965721ea4ff61e6712ee4546b9d0484483a0dac25f9d920904f899f2930b46df16d656083b422d95a1d6de0c0 WHIRLPOOL bf89b4a126e3244e2b02ec594e57cc50df802be75427148c326d132e1fcbd3df5346301093860d664ca221cc85e78c65768c2a43108f09de11a7c1fdad8a46fc
+EBUILD chkcrontab-1.6.ebuild 528 SHA256 1f2ea7ecb053fcdc64a635382fab22d50f8c83b42856ca8b791f7e65e832bc0a SHA512 4b032d1dfa0247d66f1c65a528176c816cc6ac8cb1f3e37e553547f41f0e8ea2050ad62f8497d5e059e47e0a6d796c95b252f1f4647c8cb60a47935785f5dbdd WHIRLPOOL 368e1c7f959a91337ff7db90ae04cfab013451ec1dfded712909b9846d00b4e6e7cab5cdd48130033a896072a7c0154a2c093e739d9184ca13aff4eb44bf1952
+EBUILD chkcrontab-1.7.ebuild 540 SHA256 e41e0c6138023044dcecc0b5c95ebf19dddf461028fe2150b8383bbcb622df86 SHA512 37ee9cc6d9fb562e2e1e520e2d75ea858703c75713ef05cbefacd37ddb7c6a5c1980e11c7a8ae819c2dd080ef2a5e64ed4cc41e440485cc33f0fc40215943976 WHIRLPOOL 28292de3218c9283cc5f22fbe04085239151ffbbe3ea76d189e8dbd03dbb3e4fe9f13fd10133b61d6b612afde1187c9fa141b160da7d7a2eb2a5ecdca3789568
+MISC ChangeLog 700 SHA256 db47152974a7fef4ab19036be8a61f535699c85f5316f6cf56e83dcf97fd2720 SHA512 c6bef5f7d78704b9df97e735b48a5240ac947934eb1ad23edb3705e80511bc847167aabe00b32bfb82df40a680ff2202e8601de758937eb1c730bf48e0c1c291 WHIRLPOOL 472eab35cf5982a9e7418078df18344627a900982e26ea65f1458a2394fcf4233f2d9efee71611db62add8e2a2e5942c9dcc734b0ed7fcc0620309e3c7fc7ef1
+MISC metadata.xml 463 SHA256 12acc6d8aa1569c29105b9e54d78a9268bca7526c8db4f912c214497ae0c6b5c SHA512 d181e1a0b06519224d4e6b13b7157bd9741000c676e7f47c72dd27eb475d991a32480393bd62a599fb0a833908bae96b810fbdb17723723067edc6af3b3ab0ca WHIRLPOOL 348a6615dbf4e2e3ed4eb887302ba2c5c5b6e67fa791da1c7b6949c24fd5951b2459bf08621358f4c58f5197aaa6b973ed917968f099ab4bd5d1f7505127375f
diff --git a/app-misc/chkcrontab/chkcrontab-1.6.ebuild b/app-misc/chkcrontab/chkcrontab-1.6.ebuild
new file mode 100644
index 000000000000..bd45b594bf28
--- /dev/null
+++ b/app-misc/chkcrontab/chkcrontab-1.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool to detect crontab errors"
+HOMEPAGE="https://github.com/lyda/chkcrontab"
+SRC_URI="https://github.com/lyda/chkcrontab/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ doman doc/${PN}.1
+ distutils-r1_python_install_all
+}
diff --git a/app-misc/chkcrontab/chkcrontab-1.7.ebuild b/app-misc/chkcrontab/chkcrontab-1.7.ebuild
new file mode 100644
index 000000000000..90a33181737b
--- /dev/null
+++ b/app-misc/chkcrontab/chkcrontab-1.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tool to detect crontab errors"
+HOMEPAGE="https://github.com/lyda/chkcrontab"
+SRC_URI="https://github.com/lyda/chkcrontab/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE="test"
+
+python_test() {
+ esetup.py test || die
+}
+
+python_install_all() {
+ doman doc/${PN}.1
+ distutils-r1_python_install_all
+}
diff --git a/app-misc/chkcrontab/metadata.xml b/app-misc/chkcrontab/metadata.xml
new file mode 100644
index 000000000000..d69c349ca9a7
--- /dev/null
+++ b/app-misc/chkcrontab/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hydrapolic@gmail.com</email>
+ <name>Tomáš Mózes</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lyda/chkcrontab</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ckb/Manifest b/app-misc/ckb/Manifest
new file mode 100644
index 000000000000..65b9831c8f2b
--- /dev/null
+++ b/app-misc/ckb/Manifest
@@ -0,0 +1,6 @@
+AUX ckb.initd 659 SHA256 44add360f36d5df6b3a4ec182180feff98e2f4983b69216ec3e4a2464f724ca5 SHA512 45c98f5b3cf2868fd7a5b0a015222b1dc6608847d380a1a3ccc95fab306bfde642a74e5dafe1545b380516fb4d41e30d76b9c1f826882dae28a0332f6c3b40ad WHIRLPOOL 725b1e0fbcfba1e1d6f3b510b0fe6e9c9365600fac1329cee66e9568121d6c3804030718ed96e7a5d04fe915701bfe2cfcf04b4933221a092fc1810871f8e7af
+DIST ckb-0.2.6.tar.gz 526737 SHA256 924b22b7dd94f7ad6f0686859a05b0cb5df0aa12133bb9d277f2f1bd47672d91 SHA512 6d92b0e82865748d9731943462d2cb89c3ea0dea4170f8aebcf5e1ed491c5d635dcd69a4f1f385ab891846f2b3437e2cb154f5dae5f5446cf52e557ebf6343a6 WHIRLPOOL d739de63be05cdd24a417e619156e99df2c1ca32fb51a660ef2484609e83a7019296826173ee7268539a65d4b2f48ca6d10b4588756fc1c6e7a22a2f71edc646
+EBUILD ckb-0.2.6-r1.ebuild 1011 SHA256 54678080967d2021c12ee4a5fac1a0de43ec436863a139e6ca69bcbd272ddbdf SHA512 61f134be4dfda266a6ae4469126a6b8adc45adde59d42a550a90bc9c2208268806c312ab31a0e3b0cc95ea8c9745e51f20f32703b91723cdbc56ff13221f07f2 WHIRLPOOL d4d3d8fb2c649b092772763a46aee276b7a4a9b60c808f49de646949b0b692d35c0cae5c1663fe94965afa744fc97824e90310ae2654c45a653c475a3dcab70e
+MISC ChangeLog 4057 SHA256 22d4d072c7c1ad18a2de5501d38ee168a0a5806c495d5ab32733ee2af59e008b SHA512 cb2bc4ec3795dc885b75405c3001a78204cae0a96f79923ab613d02c8a1603de0aaefe19f54b1800f53eaaf9824981c2c14c2b4b1fbc69a2155989b482780ada WHIRLPOOL 296b04e20f47765cc85f00d69b1343374646097bc44eec53b5ff1f86fdb7ea64f3193355cfcb47da0d61bf8e48b098cd9c0be2b61b154d120e3863887fcac4f6
+MISC ChangeLog-2015 592 SHA256 73f989d1f321406e6d9a10b829b03a1bb1af43933b1beb07b59822b89c824a74 SHA512 be7855aa4c3da9fa9cc181c5ef3d7b8e54546d46161ab6ec71832df7bc0ee8a3f5aecf1697d66c4abeadcb85d9e4f68815f8b84bb7efa7cd34d0cb24b68e9ccf WHIRLPOOL a5fa411d84440ede00cb944137fab6f8b4f420a510ac96f63a2d606a5725cc773208c20e3692d9d3394607116f7aed9199f03577eb7d53bdae9bca9bde68ea60
+MISC metadata.xml 319 SHA256 d8b37a10ff8fbbe936a2ec45b5d373be9cff9dc21bd8092970749ca13e8111d9 SHA512 62f3e5ae4cdf822445aac43dfb6a42da92230a79f007b15c5af65a802741338ff5008fe4ac9afb14bca120e23a2b947c92f8e132d0b3f5c36a43efd7a22c3183 WHIRLPOOL f82fe2516d198b0042f3efcad4e22e214adcfbec689e9aa7398ba06176f8d77c60a06d9d25f8d77e15c90b7b1f749820c72399af0b66fabfc93628ea5ff80766
diff --git a/app-misc/ckb/ckb-0.2.6-r1.ebuild b/app-misc/ckb/ckb-0.2.6-r1.ebuild
new file mode 100644
index 000000000000..7bb8d1c6bc51
--- /dev/null
+++ b/app-misc/ckb/ckb-0.2.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit qmake-utils systemd
+
+DESCRIPTION="Corsair K65/K70/K95 Driver"
+HOMEPAGE="https://github.com/ccMSC/ckb"
+SRC_URI="https://github.com/ccMSC/ckb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-libs/quazip-0.7.2[qt5]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md BUILD.md DAEMON.md )
+
+src_prepare() {
+ sed -i -e "s/-Werror=all//" src/ckb-daemon/ckb-daemon.pro || die
+ sed -i -e "/quazip/d" -e "s/^.*QUAZIP_STATIC/LIBS += -lquazip5/" src/ckb/ckb.pro || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ dobin bin/ckb bin/ckb-daemon
+ dodir /usr/bin/ckb-animations
+ exeinto /usr/bin/ckb-animations
+ doexe bin/ckb-animations/*
+
+ newinitd "${FILESDIR}"/ckb.initd ckb-daemon
+ domenu usr/ckb.desktop
+ doicon usr/ckb.png
+ systemd_dounit service/systemd/ckb-daemon.service
+}
diff --git a/app-misc/ckb/files/ckb.initd b/app-misc/ckb/files/ckb.initd
new file mode 100644
index 000000000000..76af0fd8438b
--- /dev/null
+++ b/app-misc/ckb/files/ckb.initd
@@ -0,0 +1,29 @@
+#!/sbin/openrc-run
+## Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+extra_started_commands="reload"
+command="/usr/bin/ckb-daemon"
+description="Controller for Corsair Keyboard Driver"
+pidfile="/run/ckb.pid"
+logfile="/var/run/ckb.log"
+
+start() {
+ ebegin "Starting Corsair Keyboard Driver"
+ start-stop-daemon --start --exec "${command}" --pidfile "${pidfile}" --background \
+ --stdout "${logfile}" --stderr "${logfile}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Corsair Keyboard Driver"
+ start-stop-daemon --stop --exec "${command}" --pidfile "${pidfile}"
+ eend $?
+
+}
+
+reload() {
+ stop
+ sleep 3
+ start
+}
diff --git a/app-misc/ckb/metadata.xml b/app-misc/ckb/metadata.xml
new file mode 100644
index 000000000000..cb945f500083
--- /dev/null
+++ b/app-misc/ckb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ccMSC/ckb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ckermit/Manifest b/app-misc/ckermit/Manifest
new file mode 100644
index 000000000000..0378e85c3dfa
--- /dev/null
+++ b/app-misc/ckermit/Manifest
@@ -0,0 +1,7 @@
+AUX ckermit-8.0.211-build-wart.patch 728 SHA256 22eb8c620c83d42d3c4529c384125b479b6b8dd18ab493fe8b12bf89de51866b SHA512 ab58d330153f8c86b737a7050dab6b77861451b2439010fcd45ebdd6656b8eb5f9d5cd87ad502d934ce3e906c73e68730b053da8155076408a0bff2b38011730 WHIRLPOOL 03f9e34134cafc0b0fa05905779934db8665350a8d09dd4b530242788efded92053345c71e05ca3dbf71e3b9aa3bff291e1d0a1f011867c4a9365bc0a8280803
+AUX ckermit-8.0.211-cleanup.patch 2038 SHA256 b3cbcce96dcb0a1b6a25ea05ba19dab7aa75448e57cd98921de73ef39936eee8 SHA512 987a1acb9a9af63443eaf9cd1fe11bd422736f1c9d552a36c5f6c57033e445d243c3ba47ee24597e432873d7424ad12b0e5578e587b4f0db8d06ebd28a551ca7 WHIRLPOOL c90b8262f0ca1c1bd7e111fc24f472efea292f53ca98417d99b5c64e657fd2787032f2f316294da55fb426c198c4a7cea0e811927db5aa6c5daf6ec77f002b85
+DIST cku211.tar.gz 2878523 SHA256 39e7cd4892502344a635952843487d9b4bfa98e59d1e1acad5ef8aa969abba93 SHA512 470bf56d5b5f30721d0030ff89a5cd845f365dba81d097942524cc04dd620070678d278d1009fb67bae3cb875715808cbbfc7c0358b9671f30c65ce1d9bd35ad WHIRLPOOL 160aee04d5f5c425ebb2011b71923257deb154cf1ca7070208cd8a2253189ff5529940c3b1deb7fc5280f5d9ff8f699dff8ebab3881584439b96da251b0c9435
+EBUILD ckermit-8.0.211-r4.ebuild 1955 SHA256 c6252edf74892f313061f7aa2b3714a805fac9d5069a2b5ff87a3dd2d8364b5d SHA512 67536adb24b301c2ebd62671f7bc8999b06b80b5f84ef9f648d746ffdc53cf3aa41eabb718411105aa9c1b06a8fa898b4c05be0613055aa7227e730164e03fd3 WHIRLPOOL 569d41b957cc8373ce2587a5303517377f1f3774d113bb5484be092aaa9267f8fa69e5904becb80a3066bbfa4b609dc07a80c89d0d5444594270c13c6ea3b54c
+MISC ChangeLog 2862 SHA256 e3df57f0200ae1f21442b674b502fd4ad94173b152c0207cf8965aced22fc6bd SHA512 85528b5f2f9b8676c43e2d1294b86258f3159c046d5fda4f305323acbaf5da44066131af4493b8af7652b9b76e312b1ae50d2a4c6db6fc7e0196544ff71f5b25 WHIRLPOOL d5a400de80aa490e8c35d356af600d4f73ef19267db107eb52439d7b246ecc86d2f3c6dc331f3f1913364e1ce514774a01c3e58efe8c46b4c357fbfc6b63623c
+MISC ChangeLog-2015 5523 SHA256 07bf8d59ddeb64d4fbeb481ecad1c996a0c576ca766ce12608668d37a91d5839 SHA512 53837dd4b208ae2b8d0b49df75edfd475319e6f860b60234b0178ea4e35735e41a33f0c305c5153dd9dffc8c13a4d54895b274de1f82325c5ca4fa53070b6af9 WHIRLPOOL 4fea2dc3fffd413dccb3bc73e74d9a3c137e85c0b793113ee5180d373572d64103e80d5c80b13afecbebbaf4af5ab8e46146fa27d21cfb9ccc8105f7592803b2
+MISC metadata.xml 251 SHA256 f1fef60010c6627c49d4dc901c2615773ffa49fae82a96ff7f213ac312ae95f1 SHA512 b3e4656ceb318c1dc3f8150664734711c9af7b589d5afa1aafe4ef063fb73157e8946a0d845ba02c54d759057597f5c1543b2fdaa93457c91a83b3ea31aec372 WHIRLPOOL 2f4908f71a393da634570fa296a013b34611b1f556e091745a5ed66c95264a64bc6c6fd7213ed248a6e9e8e8de66ba293131e3400dc9abe0ea01c94d26d8b88a
diff --git a/app-misc/ckermit/ckermit-8.0.211-r4.ebuild b/app-misc/ckermit/ckermit-8.0.211-r4.ebuild
new file mode 100644
index 000000000000..e129da2a6c12
--- /dev/null
+++ b/app-misc/ckermit/ckermit-8.0.211-r4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit versionator eutils flag-o-matic toolchain-funcs
+
+# Columbia University only uses the third component, e.g. cku211.tar.gz for
+# what we would call 8.0.211.
+MY_P="cku$( get_version_component_range 3 ${PV} )"
+
+DESCRIPTION="combined serial and network communication software package"
+SRC_URI="ftp://kermit.columbia.edu/kermit/archives/${MY_P}.tar.gz"
+HOMEPAGE="http://www.kermitproject.org/"
+
+LICENSE="Kermit"
+SLOT="0"
+KEYWORDS="amd64 arm ~hppa ppc ppc64 x86"
+IUSE="ncurses"
+
+DEPEND="ncurses? ( >=sys-libs/ncurses-5.2:= )"
+RDEPEND="${DEPEND}
+ net-dialup/lrzsz"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cleanup.patch
+ epatch "${FILESDIR}"/${P}-build-wart.patch
+ tc-export_build_env BUILD_CC
+ sed -i -r \
+ -e 's:"(CC2?) = gcc":"\1=$(CC)":g' \
+ -e 's:"CFLAGS = -O:"CFLAGS = $(CFLAGS):' \
+ makefile || die
+}
+
+ck_use() {
+ use $1 && append-cppflags $2 && libs+=" $3"
+}
+src_compile() {
+ # we don't enable any of the telnet/ftp authentication stuff
+ # since there are other packages which do these things better
+ # USE="kerberos pam shadow ssl zlib"
+ append-cppflags -DNO_AUTHENTICATION -DNOLOGIN -DNOFTP
+
+ local libs
+ ck_use ncurses -DCK_NCURSES -lncurses
+ append-cppflags -DHAVE_PTMX -D_XOPEN_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE #202840
+ append-cppflags -DHAVE_CRYPT_H
+ emake \
+ CC="$(tc-getCC)" \
+ KFLAGS="${CPPFLAGS}" \
+ LIBS="-lcrypt -lresolv ${libs}" \
+ LNKFLAGS="${LDFLAGS}" \
+ linuxa
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1
+ emake \
+ DESTDIR="${ED}" \
+ BINDIR=/usr/bin \
+ MANDIR="${ED}"/usr/share/man/man1 \
+ MANEXT=1 \
+ install
+ dodoc *.txt
+
+ # make the correct symlink
+ rm "${ED}"/usr/bin/kermit-sshsub || die
+ dosym kermit /usr/bin/kermit-sshsub
+
+ # the ckermit.ini script is calling the wrong kermit binary --
+ # the one from ${D}
+ sed -i "s:${D}::g" "${ED}"/usr/bin/ckermit.ini
+}
diff --git a/app-misc/ckermit/files/ckermit-8.0.211-build-wart.patch b/app-misc/ckermit/files/ckermit-8.0.211-build-wart.patch
new file mode 100644
index 000000000000..59f28a9e5cc7
--- /dev/null
+++ b/app-misc/ckermit/files/ckermit-8.0.211-build-wart.patch
@@ -0,0 +1,23 @@
+the wart util is used at build time only, so use BUILD_* so we can cross-compile
+
+--- a/makefile
++++ b/makefile
+@@ -1406,12 +1406,17 @@
+
+ ckctel.$(EXT): ckcsym.h ckcdeb.h ckcker.h ckcnet.h ckctel.h ckclib.h
+
++BUILD_CC ?= $(CC)
++BUILD_CFLAGS ?= $(CFLAGS)
++BUILD_CPPFLAGS ?= $(CPPFLAGS)
++BUILD_LDFLAGS ?= $(LDFLAGS)
+ wart: ckwart.$(EXT)
+- $(CC) $(LNKFLAGS) -o wart ckwart.$(EXT) $(LIBS)
++ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o wart ckwart.$(EXT) $(BUILD_LDFLAGS)
+
+ ckcmdb.$(EXT): ckcmdb.c ckcdeb.h ckcsym.h ckclib.h
+
+ ckwart.$(EXT): ckwart.c
++ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o $@ -c $<
+
+ ckudia.$(EXT): ckudia.c ckcker.h ckcdeb.h ckucmd.h ckcasc.h ckcsym.h ckcsig.h \
+ ckcnet.h ckctel.h ckclib.h
diff --git a/app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch b/app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch
new file mode 100644
index 000000000000..5b7c1ed6b951
--- /dev/null
+++ b/app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch
@@ -0,0 +1,78 @@
+clean up missing prototypes and broken printfs
+
+--- a/ckcmai.c
++++ b/ckcmai.c
+@@ -623,6 +623,8 @@ ACKNOWLEDGMENTS:
+ #include "ckntap.h"
+ #endif /* NT */
+
++#include <time.h>
++
+ #ifndef NOSERVER
+ /* Text message definitions.. each should be 256 chars long, or less. */
+ #ifdef MINIX
+--- a/ckufio.c
++++ b/ckufio.c
+@@ -40,6 +40,7 @@ char *ckzv = "UNIX File support, 8.0.200, 4 Mar 2004";
+ #include "ckcsym.h"
+ #include "ckcdeb.h"
+ #include "ckcasc.h"
++#include "ckuusr.h"
+
+ #ifndef NOCSETS
+ #include "ckcxla.h"
+@@ -1803,6 +1804,8 @@ zxin(n,s,x) int n, x; char *s; {
+ return(fread(s, sizeof (char), x, fp[n]));
+ }
+
++extern int ttwait(int fd, int secs);
++
+ /*
+ Z I N F I L L -- Buffered file input.
+
+--- a/ckutio.c
++++ b/ckutio.c
+@@ -1808,6 +1808,11 @@ ttgwsiz() {
+ #endif /* NONAWS */
+ }
+
++#ifdef CK_NAWS /* Negotiate About Window Size */
++#ifdef RLOGCODE
++_PROTOTYP( int rlog_naws, (void) );
++#endif /* RLOGCODE */
++#endif /* CK_NAWS */
+
+ #ifndef NOSIGWINCH
+ #ifdef SIGWINCH
+--- a/ckuus5.c
++++ b/ckuus5.c
+@@ -7747,7 +7747,7 @@ doshow(x) int x; {
+ printf(" --bannerfile=%s\n",bannerfile ? bannerfile : "(null)");
+ printf(" --cdfile:%s\n",cdmsgstr ? cdmsgstr : "(null)");
+ printf(" --cdmessage:%d\n",srvcdmsg);
+- printf(" --helpfile:%d\n",helpfile);
++ printf(" --helpfile:%s\n",helpfile ? helpfile : "(null)");
+ if (inserver) {
+ printf("\n");
+ break;
+--- a/ckuus7.c
++++ b/ckuus7.c
+@@ -2981,7 +2981,7 @@ dopurge() { /* Do the PURGE command */
+ if (n < tokeep) { /* Not deleting any */
+ count = 0;
+ if (listing)
+- printf(" Matches = %d: Not enough to purge.\n");
++ printf(" Matches = %d: Not enough to purge.\n", n);
+ goto xpurge;
+ }
+
+--- a/ckuusx.c
++++ b/ckuusx.c
+@@ -56,7 +56,6 @@
+ #include <termcap.h>
+ #endif /* NOHTERMCAP */
+ #endif /* BSD44 */
+-#else /* !BSD44 */
+ #ifdef linux
+ #include <term.h>
+ #endif /* linux */
diff --git a/app-misc/ckermit/metadata.xml b/app-misc/ckermit/metadata.xml
new file mode 100644
index 000000000000..e248196b07c4
--- /dev/null
+++ b/app-misc/ckermit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/clockywock/Manifest b/app-misc/clockywock/Manifest
new file mode 100644
index 000000000000..0b44a620fb91
--- /dev/null
+++ b/app-misc/clockywock/Manifest
@@ -0,0 +1,6 @@
+AUX clockywock-0.3.1a-makefile.patch 260 SHA256 d88df6dfcb5dd2f77032907cb6ec0c4a83a6ffe399cedc53aae2a74c0eb85021 SHA512 64993df817a54437c4c09f8f69612318c0f1a769d14790a9880984bea6634d08ebef389f10db70fd88ef8525e1d523589d50c5fe5c704f2f8a84eec0484f3798 WHIRLPOOL c9c2af9d4ead1874cb8df701e78cc6baaf332208063233aeb28678e6df941c941e37895b328aa438a6b6a4493504f7c8ab8c59f209c6f51f52f1b1511956d2d6
+DIST clockywock-0.3.1a.tar.gz 15004 SHA256 278c01e0adf650b21878e593b84b3594b21b296d601ee0f73330126715a4cce4 SHA512 1d4f6e0a2e9cd8f459346aa4778ed4da0f1ce8e2b0b8bfed97a90c286d79199cefa609976c6d6139f1acdaccfc07f5f84e46d2f54e397ff8e9b2b450d06399a9 WHIRLPOOL 9e65dc9ca1716d81d59b8b4b7fea2a131ec50606f7420b2ca3f69988f618657237fab150ab02e40d3229e66e6b59fd4a384d277acbeca2158e5dc3cb3c0eb806
+EBUILD clockywock-0.3.1a.ebuild 577 SHA256 fb04d2a6d7d49f53e078aef6ea288d15a2bc9cdbdc4201112d6bc2eefeda680b SHA512 295d8883389d7b2ce621c4987c9dfbde59d6c7ab4b3bb76a3f42f95d24bb7cff0fc85fecb060b485698a8c1e65ef5d14a26e517b7aff83ce4042c60a476db718 WHIRLPOOL 66cadf377c7f47593dd5dfc5f73eb5fb52610e460e46e532a5e5b53f69e99b777c8fced0215c1d5bbb1b268a6f17725951552fc1b13be8ee4949ee343b113daa
+MISC ChangeLog 2230 SHA256 8d0e0481f3f11de75f2965e6bf786eb43467c1a1bcf46c161a8846e0c526a6fc SHA512 a400a498b27e18dc0eae965e89c8f7f6bb70e885fc6578792bf0e9595d139f5c45e789b7ecee9d5c6e41a53253c12aa2a71525986d7536cbf5f2ea9e60128a9b WHIRLPOOL 08234a2e3698188620ce90878a1365fd38404e4ddcf73d8d8150a6979bdf80e57f91f3cdce331ae12460cf1987ef6c981f09f30f58d8c45723d2fa30c785a9b7
+MISC ChangeLog-2015 2996 SHA256 f9ca980225dd95a52a9248fd8e554d4b1b3b6eb2e498bd224d9163d952882cd2 SHA512 e58f97d74a41ac1e1f4d637e480d3ad2d2138c2899dbc31c281d99dcd94733151f60d83bb1563b130417212a26d1bfeb4d070a055350a2d4b61421f919cbf01d WHIRLPOOL 4c9c00ff4a7f5b8b1cc43101752c8f27f20636edcb47d73b3a9cf6f1ec3bdaa3d0a3421a7bc357d4e61761d27adbbc79bd95e71ad05e81bdeccf6ce76627e845
+MISC metadata.xml 247 SHA256 fb925313d1ae70feaa6db91150f34a2157b48e884e8f47d773640af149e3744b SHA512 96c55c2979dd6a4c4761fce9b5a0be387b11fcf197ef903d8680ae82f01a2caea93b1238bed1ac96d3eb250744e2149a507e0424ac017b4324f0806a54e72c4a WHIRLPOOL 142b4295733faec48b0ca9eb6d3561799ff743481aabf2b74ecf6d717d972b4961979c7b6bf32b9840cb34e47d22fe2befb9b0ef8ec0d3f28f6416069128d3c7
diff --git a/app-misc/clockywock/clockywock-0.3.1a.ebuild b/app-misc/clockywock/clockywock-0.3.1a.ebuild
new file mode 100644
index 000000000000..737417c6f1e3
--- /dev/null
+++ b/app-misc/clockywock/clockywock-0.3.1a.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit base toolchain-funcs
+
+DESCRIPTION="ncurses based analog clock"
+HOMEPAGE="http://soomka.com/clockywock"
+SRC_URI="http://soomka.com/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+
+src_prepare() {
+ # Respect compiler
+ tc-export CXX
+
+ base_src_prepare
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.7
+ dodoc README CREDITS
+}
diff --git a/app-misc/clockywock/files/clockywock-0.3.1a-makefile.patch b/app-misc/clockywock/files/clockywock-0.3.1a-makefile.patch
new file mode 100644
index 000000000000..30bb487c6402
--- /dev/null
+++ b/app-misc/clockywock/files/clockywock-0.3.1a-makefile.patch
@@ -0,0 +1,10 @@
+--- Makefile
++++ Makefile
+@@ -1,5 +1,6 @@
++LIBS += -lncurses -lpthread
+ all:
+- g++ -O3 -Wall -o clockywock clockywock.cpp -lncurses -lpthread
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o clockywock clockywock.cpp $(LIBS)
+
+ # install is done completely lazily
+ install:
diff --git a/app-misc/clockywock/metadata.xml b/app-misc/clockywock/metadata.xml
new file mode 100644
index 000000000000..5b159fbcadd1
--- /dev/null
+++ b/app-misc/clockywock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/cmatrix/Manifest b/app-misc/cmatrix/Manifest
new file mode 100644
index 000000000000..7b6569562c28
--- /dev/null
+++ b/app-misc/cmatrix/Manifest
@@ -0,0 +1,8 @@
+AUX cmatrix-1.2a-fontdir.patch 1794 SHA256 54b5722ee9d235221675732d039959029fe1bc007797323d387c9f976f754379 SHA512 fe3ffc7919576c2f1fe16240ed6915431fcbe569c16b629cfbb78d082c47c44b95808c89bec7b09201902a19f780577f0dc382d4da7275f2f096c034efeeb14a WHIRLPOOL 53b15fc6fec68eaaa3167126bc5b34479da350d2c64a19e44b3b5b030a219d813935d95d70af7580a5ffaea6a41e63aa17c1bdb026fefa4a8fc0763a5e4eec34
+AUX cmatrix-1.2a-gentoo.patch 3034 SHA256 a3c9646fe96da2a8509460c9afdb6ad85d1b704d01393d41825a1897fb49ff80 SHA512 a72651c778fae74d0b05f59a7a94bf7a9807be0367dbceef9086d9a94da0062ab9f727c6708f5a573450c8e28fcbf729828ff4c8813b68a0fbfbf9106f451c92 WHIRLPOOL 559bde7d7217656f1ec695860336963e0864240a619a169dc82f429271ca6d195c3e0bc6439858893e9b0699565c216f411698de7b817cdaa8b7c043b46abd22
+AUX cmatrix-1.2a-tinfo.patch 827 SHA256 1c1dc9a06d8d103925d4b09f191feff7de15ac9531a77c10e7d404b2d0984eb7 SHA512 cadf16edbdb2c43716de77b00bca725faa8802ab9cb6a4d5665bd20f3e1b0bf5aa5ac4b6d36c57573aa24985fe2abce4cef40b31ee288c1f13f87e31bab1922b WHIRLPOOL 89f233320ed7d1a8eb7261a88d9e37153f4420e3aed4089a20a6e84b2be5e2d8653cd07536d10c3cbc13e87428db36d5ea7a4330f593d0bf708b9a5827a7d68b
+DIST cmatrix-1.2a.tar.gz 74376 SHA256 1fa6e6caea254b6fe70a492efddc1b40ad7ccb950a5adfd80df75b640577064c SHA512 a653a840378da87877bda1b48fc4087e7789b548e0f943ae15b81b5dc7a847aed28c69d2ad955bd467f38d6a08b0960349490b61c30260767e7d1560bb542d82 WHIRLPOOL 35df82e9aa1c52d59ec89130b275f02457e80750c705c372469a0d3f69484ab853b6ee416126a1130c3450dab580f5ee2aef2091a1ece5af4b352e115ee576f3
+EBUILD cmatrix-1.2a-r3.ebuild 972 SHA256 63eaf794dd30b5bc5377da5e710a8114c8d6cc42ea983fd87665b366cd86ca95 SHA512 fa9d5f7121b8c62a2df9e50eea0be0393c66449fe807c6bfa9ff02d2d2c6b19977ca2e34a3486124caf4eac3d66dea7c874e50cc25b0c2bd8e173ba7d6ca73d4 WHIRLPOOL 7e8a2c5f0742e2ead21a893d3ec0210fb656b17b764c6e970cc6992b301bf3d34e62b62203658c124f25a39cbb1e7761ac95df66fdd8959a0481f0d76c8305ae
+MISC ChangeLog 3509 SHA256 47ee060e0d1d982ee143d607a1c8b2241fb6b03a1c3c66a4d15da7b265fd645b SHA512 e673ffeab7a8af5bb12e85637ed34df9f02b4dbb1dc6ad355143932c18f4517417a4a251b55f61fa0d6fdf18481d0965db516d7e23ef8f68ab755fd83cabacb8 WHIRLPOOL e9fe0e2aba6f8d7f0e1aa0d43c38c82e935ff5c8819b8142391cb61dec0d1f92a6c40d2de0f3a8817eb67bce17b3ff8739b892db74f0c0bdda3ee136d7b649d7
+MISC ChangeLog-2015 3191 SHA256 31720951a9bbcaa1aea4005933570d6f7cbb1463d45007c12082340bb715339b SHA512 9cec1091a7b5559875a2c5445591abacc224e8211f0983fb8976a15ff52c5ed86ed8f0961b4f84f5eb25fbdb8f97df0680121b64351837aa71a1f4be5b301c76 WHIRLPOOL d706ba937b7170b456d5f2767f8307f4c9694072e9f12443b1163bdd880753519276d9fb6513d6a33fca94571d33b04d58d8149c3c7c8b988022d493ff831571
+MISC metadata.xml 210 SHA256 a9714c72567ba42610a3071be51707c7c137e15b8c51243b1c5a21b4d379a235 SHA512 267d83ef7ae9579f44c22fe568d6d2064e426acdd07c00a69c735801e588ae0fb1988ae60199e349d444ddb5393a6a0a6836df89b2205fc85e25144ecbf56148 WHIRLPOOL a9d2232ad6b2ed51513acb5432f83a3b604f37497ac85f58882414e7da80b5ed05d57c4c892aa98d2db97826fd8b72331f19b82a02406d0d7ded9da73bb0ef54
diff --git a/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild b/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild
new file mode 100644
index 000000000000..d3d8c549c732
--- /dev/null
+++ b/app-misc/cmatrix/cmatrix-1.2a-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="An ncurses based app to show a scrolling screen from the Matrix"
+HOMEPAGE="http://www.asty.org/cmatrix"
+SRC_URI="http://www.asty.org/${PN}/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
+IUSE="X"
+
+DEPEND="
+ X? ( x11-apps/mkfontdir )
+ sys-libs/ncurses:0="
+
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-tinfo.patch
+)
+
+src_prepare() {
+ default
+
+ use X && eapply "${FILESDIR}"/${P}-fontdir.patch
+
+ eautoreconf
+}
+
+src_install() {
+ dodir /usr/share/consolefonts
+ dodir /usr/lib/kbd/consolefonts
+ use X && dodir /usr/share/fonts/misc
+
+ default
+}
+
+pkg_postinst() {
+ if use X; then
+ if [[ -d "${ROOT}"usr/share/fonts/misc ]] ; then
+ einfo ">>> Running mkfontdir on ${ROOT}usr/share/fonts/misc"
+ mkfontdir "${ROOT}"usr/share/fonts/misc
+ fi
+ fi
+}
diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch
new file mode 100644
index 000000000000..6e69841b5e01
--- /dev/null
+++ b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch
@@ -0,0 +1,28 @@
+diff -Naru cmatrix-1.2a.orig/Makefile.am cmatrix-1.2a/Makefile.am
+--- cmatrix-1.2a.orig/Makefile.am 2008-12-24 02:37:43.000000000 +0000
++++ cmatrix-1.2a/Makefile.am 2008-12-24 02:50:08.000000000 +0000
+@@ -18,20 +18,9 @@
+ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \
+ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \
+ fi
+- @if test -d /usr/lib/X11/fonts/misc; then \
+- echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
+- echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
+- echo " Done. If this is the first time you have installed CMatrix you will"; \
++ @if test -d /usr/share/fonts/misc; then \
++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/share/fonts/misc..."; \
++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/share/fonts/misc; \
++ echo " If this is the first time you have installed CMatrix you will"; \
+ echo " probably have to restart X window in order to use the mtx.pcf font."; \
+- else \
+- if test -d /usr/X11R6/lib/X11/fonts/misc; then \
+- echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
+- echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
+- echo " Done. If this is the first time you have installed CMatrix you will"; \
+- echo " probably have to restart X window in order to use the mtx.pcf font."; \
+- fi \
+ fi
diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch
new file mode 100644
index 000000000000..5f88cd0fa876
--- /dev/null
+++ b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch
@@ -0,0 +1,48 @@
+diff -urN cmatrix-1.2a.old/Makefile.am cmatrix-1.2a/Makefile.am
+--- cmatrix-1.2a.old/Makefile.am Sun Mar 31 17:17:17 2002
++++ cmatrix-1.2a/Makefile.am Sat Jul 6 05:32:06 2002
+@@ -9,30 +9,28 @@
+
+ install-data-local:
+ @if test -d /usr/share/consolefonts; then \
+- echo " Installing matrix fonts in /usr/share/consolefonts..."; \
+- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \
+- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \
++ echo " Installing matrix fonts in $(DESTDIR)/usr/share/consolefonts..."; \
++ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/share/consolefonts; \
++ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/share/consolefonts; \
+ fi
+ @if test -d /usr/lib/kbd/consolefonts; then \
+- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \
+- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \
+- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \
++ echo " Installing matrix fonts in $(DESTDIR)/usr/lib/kbd/consolefonts..."; \
++ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \
++ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \
+ fi
+ @if test -d /usr/lib/X11/fonts/misc; then \
+- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
+- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \
+- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \
++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
++ echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
+ echo " Done. If this is the first time you have installed CMatrix you will"; \
+ echo " probably have to restart X window in order to use the mtx.pcf font."; \
+ else \
+ if test -d /usr/X11R6/lib/X11/fonts/misc; then \
+- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
+- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
+- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \
+- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \
++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
++ echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
+ echo " Done. If this is the first time you have installed CMatrix you will"; \
+ echo " probably have to restart X window in order to use the mtx.pcf font."; \
+ fi \
diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch
new file mode 100644
index 000000000000..60720c7da8b9
--- /dev/null
+++ b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch
@@ -0,0 +1,33 @@
+--- a/configure.in
++++ b/configure.in
+@@ -8,9 +8,7 @@
+ AC_PROG_INSTALL
+ AC_PROG_MAKE_SET
+
+-dnl Checks for libraries.
+-dnl Replace `main' with a function in -lncurses:
+-AC_CHECK_LIB(ncurses, main)
++PKG_PROG_PKG_CONFIG
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+@@ -26,18 +24,7 @@
+
+ AC_CHECK_HEADERS(curses.h ncurses.h)
+
+-CURSES_LIB_NAME=""
+-AC_CHECK_LIB(ncurses, tgetent, CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses)
+-
+-if eval "test x$CURSES_LIB_NAME = x"
+-then
+- AC_CHECK_LIB(curses, tgetent, CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses)
+-fi
+-
+-if eval "test x$CURSES_LIB_NAME = x"
+-then
+- AC_CHECK_LIB(termcap, tgetent, CURSES_LIB="-ltermcap" CURSES_LIB_NAME=termcap)
+-fi
++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS";CURSES_LIB_NAME=ncurses])
+
+ if eval "test x$CURSES_LIB_NAME = x"
+ then
diff --git a/app-misc/cmatrix/metadata.xml b/app-misc/cmatrix/metadata.xml
new file mode 100644
index 000000000000..fed47a353275
--- /dev/null
+++ b/app-misc/cmatrix/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type='person'>
+<email>jer@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/color/Manifest b/app-misc/color/Manifest
new file mode 100644
index 000000000000..8fac6953e5ba
--- /dev/null
+++ b/app-misc/color/Manifest
@@ -0,0 +1,7 @@
+AUX 1.2-ldflags.patch 404 SHA256 bd816f6dce14438c690f50875299325aebcc5056408d4941c0a2eb5a39db63ef SHA512 44c774102cf9800b38d0831be640758a802cb2fdc2949036617ee23a47565944d514ecbee6532d2f426c766aef48814f362f7e0cb27ce8b280295af106426380 WHIRLPOOL 8003efb17de2b41af8660a65b990c4379090bcaa4ac088c96f3dd09de2d0d13e87458041eb20be2f75682f6a4bb87197dea9a653174ef0982ad74de4865e0877
+DIST color-1.2.tar.gz 10040 SHA256 7862fffb3d948b47435803461732f7dea4af64c2714219df7f929e20cb818bd9 SHA512 58f7d379bca3352b2e39eab83d2fa5891df86c45722541eb810becce813c8e866f28b856ed244a75b173f0dab5dbdc84ceb91d96175dcd2484e29abb98ba87ac WHIRLPOOL 9fbde967107e278ef2a65418cce3011bf4c7ab78b6a2d620e83d2524362b1456edd45479c9dc4308a5a69c0721f90bb061842589086297afce0652250890b5ae
+EBUILD color-1.2-r1.ebuild 928 SHA256 cafa3ea99d4588c99dced3d0f81b4f3cdc38c4bc260fb822f153b18588124c83 SHA512 7f0243170bcc20ee29f9cde198a2e8c77fb46b2a1b22f0e32bdfc0f1046671773ca8ebb87927f5ba1bce8688bee879e490a69de2dfeb58fa4586a630e688b403 WHIRLPOOL 97f5910adef16bb3a3665bc69d9c4cf439886632235707370ace144983d0bb5572fe4800f0d9cde19251612b64318a72a318d4fbd3a8af525ed2872f3d359cac
+EBUILD color-1.2-r2.ebuild 906 SHA256 1acc11c6589359b8128fe53d2a576463ec1e50168b45a244c9a6b2d82256eba3 SHA512 3305932ee6e4e7ed87f8b40ae8069e40a6e0979da7dc5d5c20fef37c43bfd35fd6fccea3439de76bf2eebfa8dfa727537e4ce55e6c65c92321403f2b2a60d645 WHIRLPOOL 5b403f83b9a3115db8e187bf5b3653256dc1256a4b6052b889a4c7f070419706645821c671b1ad6f54a6ec47be62e34652c50eeb550bd63ac3385b5e422da733
+MISC ChangeLog 2449 SHA256 3278b17bac4fd5ae47c7cc73d4771b77fadf7b82412bd145e6f86a0e70cf56c7 SHA512 461f7bfa3ad0c2bee4f25fd21520a5f55523e72251ee5db969ab556d4ff9a48c5276991693d3a7998e51c7b57055e7d408f7d9c0f59c6bc86f276b4fedb2c002 WHIRLPOOL b2486aa62951e7a646f796868d2821eba37750867b965ec1c61ca4032203e00ce62db3572babfdf2bcecb73d170afeeb045adb3d7a61b8d6f31464236afe5386
+MISC ChangeLog-2015 3076 SHA256 cf871e605c8f64a374411d64f6199f1f86512e2aeb9f74afd6f8708b7a47b98b SHA512 fb2b0002405b6d0ee0ff8c57390f362c85fce980412529ff5a9b4aeafa4c8349cffd31145ce96950b95bf879c7542f74e8e8d618e450aa554da8ea9687555762 WHIRLPOOL 876410203fb7e9000d76e2173e2ab41571840017446fa848a82fae3c2b9c8561ab930c7ae477f012e96eeb4c89e20b0abd3e36152489926447b1e57ba246f1ac
+MISC metadata.xml 588 SHA256 ce094a4de517da03839ff34f84e0fa16a77c9c0f61b725e1f6330e742ad68d3a SHA512 eb169977c0c6512fc4a6bdd31083a0175bc2c5688f6eafc36807dd82494e2bea9dd263f3c2982ac059f50589cbcfbaf03b1e49eff20f7fc99c1f1b76c5f0fae6 WHIRLPOOL b05229e033e2b94a1f49d25672df47c065b7871ffb9aeb8416cf24695d631e219a70f52b3c32829b25075ad90b071457bdda3e9df0616f28624075af68cb3569
diff --git a/app-misc/color/color-1.2-r1.ebuild b/app-misc/color/color-1.2-r1.ebuild
new file mode 100644
index 000000000000..5a0666ada122
--- /dev/null
+++ b/app-misc/color/color-1.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Easily add ANSI colouring to shell scripts"
+HOMEPAGE="http://www.runslinux.net/?page_id=10"
+SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-ldflags.patch
+ tc-export CC
+}
+
+src_install() {
+ dobin color || die "dobin failed"
+ dodoc CHANGELOG README || die
+
+ # symlink for british users.
+ dosym color /usr/bin/colour || die
+}
+
+pkg_postinst() {
+ elog "For information on using colour in your shell scripts,"
+ elog "run \`color\` without any arguments."
+ elog
+ elog "To see all the colours available, use this command"
+ elog " $ color --list"
+ elog
+ elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}."
+}
diff --git a/app-misc/color/color-1.2-r2.ebuild b/app-misc/color/color-1.2-r2.ebuild
new file mode 100644
index 000000000000..e14fb8433a05
--- /dev/null
+++ b/app-misc/color/color-1.2-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Easily add ANSI colouring to shell scripts"
+HOMEPAGE="http://www.runslinux.net/?page_id=10"
+SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ eapply "${FILESDIR}"/${PV}-ldflags.patch
+ default
+ tc-export CC
+}
+
+src_install() {
+ dobin color
+ dodoc CHANGELOG README
+
+ # symlink for british users.
+ dosym color /usr/bin/colour
+}
+
+pkg_postinst() {
+ elog "For information on using colour in your shell scripts,"
+ elog "run \`color\` without any arguments."
+ elog
+ elog "To see all the colours available, use this command"
+ elog " $ color --list"
+ elog
+ elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}."
+}
diff --git a/app-misc/color/files/1.2-ldflags.patch b/app-misc/color/files/1.2-ldflags.patch
new file mode 100644
index 000000000000..9c95eda73b0e
--- /dev/null
+++ b/app-misc/color/files/1.2-ldflags.patch
@@ -0,0 +1,23 @@
+diff --git a/Makefile b/Makefile
+index 79c5b33..452e091 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,4 @@
+-CC = cc
++CC ?= cc
+ #CFLAGS = -W -Wall -O2 -g
+ INCLUDE = $(wildcard *.h)
+ OBJS = color.o
+@@ -6,8 +6,11 @@ EXE = color
+
+ all: $(EXE)
+
++OBJS: color.c
++ $(CC) $(CFLAGS) -c $^ $@
++
+ $(EXE): $(OBJS)
+- $(CC) $(CFLAGS) -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^
+
+ install: all
+ cp $(EXE) /usr/local/bin
diff --git a/app-misc/color/metadata.xml b/app-misc/color/metadata.xml
new file mode 100644
index 000000000000..7a2823d5e0fc
--- /dev/null
+++ b/app-misc/color/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Color is a nifty little utility that you can call from shell scripts,
+ that will let you easily use ANSI escape codes (for colors, bold,
+ underline, etc) to your shell scripts without having to memorize escape
+ sequences and type it every time you want a little red...
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/colordiff/Manifest b/app-misc/colordiff/Manifest
new file mode 100644
index 000000000000..1f8a70e06a64
--- /dev/null
+++ b/app-misc/colordiff/Manifest
@@ -0,0 +1,7 @@
+DIST colordiff-1.0.16.tar.gz 21542 SHA256 eaf1cfe17dd0e820d38a0b24b0a402eba68b32e9bf9e7791ca2d1831029f138b SHA512 41b4eb0c90b19f358b6d9154158ece51fe5169fc24e2ea9a4c50ac98218a173fc054b76a69e3c63967f98a0e5d50b7eb29b706780bcfbb3f17a4f45cce1d6d4a WHIRLPOOL 26e9fd2e005a03053cc4c63aaa63f0bfae8d19efc834f77592e6b33d1490c1adf5c771637b2db74fbe5c66d323dd853ac06a1fa1dd6076a948cb1e7ad51df68e
+DIST colordiff-1.0.18.tar.gz 21695 SHA256 29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0 SHA512 53eb855b2554ca736146983adb522c8c06e4cfb9eb27bf9acb659c210b2af8101dba76ae392cf14db62fab61e3e5d3b664196c0f6432d47acdfa0846c799aa83 WHIRLPOOL 08aca61054644346a6bd0335a4f76c80a922a2ff92aa0d4a0be11b4b7905425788f52f0337a13e098a630b111365f2f105fa983490d69d1826e6660b4c5f606d
+EBUILD colordiff-1.0.16.ebuild 943 SHA256 7941c8ec860caa6e8e0db60f8b9e3debd671d256b61ec1fae2655ac095af0b99 SHA512 98e930c983abeaf8c4b279e6b0eb4283c09defa7ae4adf72e1b7f05b501faa2dd704d30e14921a1f91a91e0ea5d59dc5883d2cb7fded677a233049547938a9ce WHIRLPOOL 6ab3f5a062e508e9efeefa875c9444a87e429d6c9809256d1a8294e5561533e35eee801f93f191dc25fc8f14630a1c21a8395d7968d43877c3874dc65a2b3eac
+EBUILD colordiff-1.0.18.ebuild 962 SHA256 a60af8d6a15cca269d35ff5496e26bef1636e5d5a6ab2e190daf25caaddcfcee SHA512 82c884f074943ab4ad42c4b18cf69beb6f465144fc2eb91cda3827e12d1cd5e440be29d329777679199cbf831531d2399ef0151af315d57c28300085585f6f61 WHIRLPOOL 10a999ab2c2adcba26020e91bb488725f8f6f1d11af545123dc994b4fd689c9069032aad8f0048a7d52f33179cc9409bac0d68e07097e0420acb27253146840a
+MISC ChangeLog 3370 SHA256 9b69a3da4a85566ca3da60f92400be18118908bf70156959b2c62f809ce7fc27 SHA512 e51025de364e202c94217bc10cba5402b2c0c1d856bbff1a48860a1849bd82f3beada3893a0e37611ea6cd3a6fd84200afc4d68a10711b76f7ba832a7d7d458f WHIRLPOOL cd2efbe1a80dd4bc2cd2ff2f541d4950eb1f3874b86f30e02b766888a703c73c7a874e74ae782613096378ffa2eeaddc9aaf9cebd3020f6eb4baec4bdd445c63
+MISC ChangeLog-2015 14396 SHA256 35d4ffddd8d732bc7c881e74d182410923e07698f880ceb9f7286218144102ea SHA512 147bf3e928e0a622df34bddab6a7ad3deceabda9b73ebc582b75f6519e599a74d9855fae4d87670d32a9febfac64592bca0fc71991413126885f7c2e36d8b0f5 WHIRLPOOL 048a57ccc3ec850ad3099a7cf4d98014b13aba3d2ac98c6ebf3339a26d57ed2ecb2d39dad94b4c96da41200d943bb662883868391ac542bc5a1cb834848cd1ab
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/colordiff/colordiff-1.0.16.ebuild b/app-misc/colordiff/colordiff-1.0.16.ebuild
new file mode 100644
index 000000000000..c789f0c661b5
--- /dev/null
+++ b/app-misc/colordiff/colordiff-1.0.16.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit prefix
+
+DESCRIPTION="Colorizes output of diff"
+HOMEPAGE="http://www.colordiff.org/"
+SRC_URI="http://www.colordiff.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ sys-apps/diffutils"
+
+src_prepare() {
+ # set proper etcdir for Gentoo Prefix
+ sed \
+ -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" \
+ -i "${S}/colordiff.pl" || die "sed etcdir failed"
+ eprefixify "${S}"/colordiff.pl
+}
+
+# This package has a makefile, but we don't want to run it
+src_compile() { :; }
+
+src_install() {
+ newbin ${PN}{.pl,}
+ dobin cdiff.sh
+ insinto /etc
+ doins colordiffrc{,-lightbg,-gitdiff}
+ dodoc BUGS CHANGES README
+ doman {cdiff,colordiff}.1
+}
diff --git a/app-misc/colordiff/colordiff-1.0.18.ebuild b/app-misc/colordiff/colordiff-1.0.18.ebuild
new file mode 100644
index 000000000000..4088935eb660
--- /dev/null
+++ b/app-misc/colordiff/colordiff-1.0.18.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit prefix
+
+DESCRIPTION="Colorizes output of diff"
+HOMEPAGE="http://www.colordiff.org/"
+SRC_URI="http://www.colordiff.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ sys-apps/diffutils"
+
+src_prepare() {
+ default
+
+ # set proper etcdir for Gentoo Prefix
+ sed \
+ -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" \
+ -i "${S}/colordiff.pl" || die "sed etcdir failed"
+ eprefixify "${S}"/colordiff.pl
+}
+
+# This package has a makefile, but we don't want to run it
+src_compile() { :; }
+
+src_install() {
+ newbin ${PN}{.pl,}
+ dobin cdiff.sh
+ insinto /etc
+ doins colordiffrc{,-lightbg,-gitdiff}
+ dodoc BUGS CHANGES README
+ doman {cdiff,colordiff}.1
+}
diff --git a/app-misc/colordiff/metadata.xml b/app-misc/colordiff/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/colordiff/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/conmux/Manifest b/app-misc/conmux/Manifest
new file mode 100644
index 000000000000..c5ed53874200
--- /dev/null
+++ b/app-misc/conmux/Manifest
@@ -0,0 +1,9 @@
+AUX conmux-registry.confd 120 SHA256 de73b8d55f90bda498a3f42a86b79289738a3a6846b81c44fe043c59d68928cc SHA512 aeae7f7d127d67e5ae96a63fbd694624d599fd329698ea72bd0fb5a4a0d29df3d60c5bdd750431acf13a36f53960af477b483a48324540eda5a4b55b266c081c WHIRLPOOL cdae2d4f3c9a1a9c782585dac955fbb29715ab7f4e96bbe5003fa944e3c191d5dce7b26d3708f89336f71fa41129b36d3a0603ebfc71f9e1706ce8ce6b48dd15
+AUX conmux-registry.initd 886 SHA256 cfe6b219fbe4868b8f4a8d35c9e51fd6e93c397a8d8cf3c78d08af64b8b536a6 SHA512 cbe93f419d244eef30e5662d34de9afb683ba9e69107fb3d5a78e2c6f31b5868ec6e4b35ab23597650d9593ad60c91d9c839e85c6589ebf5e17a70129dd2b3a3 WHIRLPOOL 661cc018f867e1eece6276b8800880a55624dc1c57f9e194909619198768ed699ad6a45037423c0fa6e2bfad546a94055aea19d0b6ee48e1ce208af120ee99e6
+AUX conmux.confd 432 SHA256 5f0f89ed25233677e52017573c188c48b6a9cccfe1dba3ad4338341ee844cf96 SHA512 50c6640f231e878817f31f399e8345d82c26bacbc8648d78b444eb572e7fad4c19d1f5b517474c412031dc65345723bffe95358542a6dd4af99a3007d12a7bc0 WHIRLPOOL 23ee4f04118b7536ea12e4c30b39d340ff11271784fc5cf3ed552a742ef0a035d07877a80f9c30751be7869d91a96e9aa2c46127df4ea053a6549bfdb559988c
+AUX conmux.initd 892 SHA256 7fdf4c64461c7549b6577a8b33c10050d39f1095f78a1e7c4bec401aa39aa447 SHA512 68a15b73bef6ee90504fe5a910d587ae6aad5735082af3dda3f390b66d87ac121fc8b1a846d7fce0432b6d4f06a9c355d881303f9586ea6497c64c0080798098 WHIRLPOOL 1d5a7694dc68d4f76a84e9d0084f824685a3afb2f34a5aeddee715ac9741303ce677567b27dafa5751e3e5201a2d626afcc417b0edb17df5507c2bfc2b98e9a8
+DIST conmux-0.15.1.tar.gz 50713 SHA256 52e0e8d8ae2ad679e498f2a8c0a01ec536738e9daf09d88f9e256c349c5e9cb7 SHA512 8138d6d10b4382709828277503d1c23c52fd43109ebad79073be9003c39a9e62c2b7d9d6e78a9e81797c22871985e50a58df0d538ff63e3f580c9a229b520107 WHIRLPOOL 0d6ea7183063d5a3dee4e884ad4de9d694fa0c8116e94f8bee9ed80f26e5ed009a8ec889365b90efe34ffbb2e3f9c3c28a408924fb8b9c68a8c63ecfa0e5325b
+EBUILD conmux-0.15.1-r3.ebuild 1993 SHA256 3c5ad7d9ab9cb05d926b416de9eb61c39b1dc0cbf8a088747c7126434db5e94c SHA512 e400f8f46f8a78c01d9bf90959351d5e681efde1398970bfc1d906c62c6584255c3bcb678f48d5caba32737988933fe434309f06f1fb9f8d48ba8f579a5d0643 WHIRLPOOL 23e5c91cea8249ab6bd876b28a6935b1cc18d23b562e2866c1a9a367c7261cc814e850f974fc08f64f36bfef299dd3df93e1eac25104bf8dee4d17385740c64c
+MISC ChangeLog 2624 SHA256 b8eef4fcc9117ba045d052075968f2c93284e2ecf160a575013d54f45c9e0842 SHA512 2944c13b89c0db8b5239d352c439933d2a98b8c4c13dc5ffc1c58b2e86cabde350a045ec09db23e684f460a6f04af8e1c1b3600348e942008757821964f5b4b6 WHIRLPOOL 4e0519946b7c9b7c9704bd78c97d8a57b06adb811efb70edf9aeb6acdff32fffb7993223309eda7d5912970f3df753788faa0368a2b1f2993811b2d35b5de0a0
+MISC ChangeLog-2015 1885 SHA256 9a1905c8415137138f6e69f7ed28ff9eb2dc7a5f17aaec49bb9a39260670fb41 SHA512 4464f8f32cae609309faba1c5739e8e3cfac2b04b2e3835ee65641d3dd7a44621809d39620bab39103d47459614a28868af95ea478b0ba042a0df10a8dc1e922 WHIRLPOOL beb202824c8bee8d44fb9c6c2c1b783c72e78ee21487054f2a22379f7e737e61ca035db83c691f03fa706a586d4644507893f8daa46d9f891726d1568ab4e95b
+MISC metadata.xml 610 SHA256 4f7b7d9359746fb35f02d0bbd9f8de05bdc605b21e76c2ff66dca15e5ae959d4 SHA512 c1bbd52895ee9a132f52fbe92a4e74f469f47fd70b78440bda8ffb4ac6c6b0878da144cf9efe551c45480eb242e76ff75a4e2e61a5359d342c214733e48d48f1 WHIRLPOOL 928264bee2b88396e19ad56e09c3be950604f53e05750397b8072afbce12d3bfa4d9375bacc8aee57848bcca32c6803d534f57b74a520263ab8ab5c22aa88b20
diff --git a/app-misc/conmux/conmux-0.15.1-r3.ebuild b/app-misc/conmux/conmux-0.15.1-r3.ebuild
new file mode 100644
index 000000000000..e77e2b81776c
--- /dev/null
+++ b/app-misc/conmux/conmux-0.15.1-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A console multiplexor"
+HOMEPAGE="https://github.com/autotest/autotest"
+SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips x86"
+IUSE=""
+
+RDEPEND="dev-perl/IO-Multiplex
+ dev-perl/URI"
+DEPEND=""
+
+src_prepare() {
+ # manual installation of drivers and helpers
+ sed -i -e "/include/d" Makefile || die "Failed to fix Makefile"
+}
+
+src_install() {
+ perl_set_version
+ emake BASE="${D}/usr" install
+ # helpers and drivers have been removed in src_prepare
+ insinto /usr/share/${PN}/
+ doins -r drivers/ helpers/
+ fperms -R 0750 /usr/share/${PN}/{drivers,helpers}/
+ dodir /etc/${PN}
+ # no need to have the init script in /sbin
+ rm "${D}"/usr/sbin/start || die "failed to remove init script"
+ # console is too generic. Make it conmux-console instead
+ mv "${D}"/usr/bin/console "${D}"/usr/bin/${PN}-console || \
+ die "failed to rename console to conmux-console"
+ # Fix up directory for the module
+ perl_set_version
+ dodir ${VENDOR_LIB}/${PN}
+ mv "${D}"/usr/lib/Conmux.pm "${D}"/${VENDOR_LIB}/. || \
+ die "failed to move the Conmux.pm module"
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newinitd "${FILESDIR}"/${PN}-registry.initd ${PN}-registry
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ newconfd "${FILESDIR}"/${PN}-registry.confd ${PN}-registry
+ dodoc README
+}
+
+pkg_postinst() {
+ elog ""
+ elog "If you have more than one serial ports and you want to use all"
+ elog "of them with conmux, copy and paste the 'conmux' init.d and conf.d"
+ elog "files as many times as you want, pointing each conf.d file to the"
+ elog "device's configuration file."
+ elog ""
+ elog "See /etc/conf.d/conmux and"
+ elog "https://github.com/autotest/autotest/wiki/Conmux-OriginalDocumentation"
+ elog "https://github.com/autotest/autotest/wiki/Conmux-Howto"
+ elog "for more information"
+ elog ""
+}
diff --git a/app-misc/conmux/files/conmux-registry.confd b/app-misc/conmux/files/conmux-registry.confd
new file mode 100644
index 000000000000..ac7bd8c20d5e
--- /dev/null
+++ b/app-misc/conmux/files/conmux-registry.confd
@@ -0,0 +1,4 @@
+# Port for Registry listener
+CONMAX_REGISTRY_PORT="63000"
+# Log file
+CONMAX_REGISTRY_LOG="/var/log/conmux-registry.log"
diff --git a/app-misc/conmux/files/conmux-registry.initd b/app-misc/conmux/files/conmux-registry.initd
new file mode 100644
index 000000000000..3e3179a224ab
--- /dev/null
+++ b/app-misc/conmux/files/conmux-registry.initd
@@ -0,0 +1,31 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+checkconfig() {
+ # Set sane defaults
+ if [ -z ${CONMUX_REGISTRY_PORT} ]; then
+ CONMUX_REGISTRY_PORT="63000"
+ fi
+ if [ -z ${CONMUX_REGISTRY_LOG} ]; then
+ CONMUX_REGISTRY_LOG="/var/log/conmux-registry.log"
+ fi
+}
+
+start() {
+ checkconfig
+ # Make sure conmux finds everything
+ export PATH="${PATH}:/usr/share/conmux/drivers:/usr/share/conmux/helpers"
+ ebegin "Starting conmux registry daemon"
+ [ -e ${CONMUX_REGISTRY_LOG} ] && rm ${CONMUX_REGISTRY_LOG}
+ touch ${CONMUX_REGISTRY_LOG}
+ start-stop-daemon -b -m --start -p /run/conmux-registry.pid \
+ --exec /usr/sbin/conmux-registry -- ${CONMUX_REGISTRY_PORT} \
+ ${CONMUX_REGISTRY_LOG}
+}
+
+stop() {
+ ebegin "Stopping conmux registry daemon"
+ start-stop-daemon --stop --pidfile /run/conmux-registry.pid
+ eend $?
+}
diff --git a/app-misc/conmux/files/conmux.confd b/app-misc/conmux/files/conmux.confd
new file mode 100644
index 000000000000..7f983c9ac409
--- /dev/null
+++ b/app-misc/conmux/files/conmux.confd
@@ -0,0 +1,14 @@
+# Configuration file
+# It should point to a valid device configuration file
+# eg CONMUX_CONFIG="/etc/conmux/deviceA.cf
+#
+# See https://github.com/autotest/autotest/wiki/Conmux-Howto
+# and https://github.com/autotest/autotest/wiki/Conmux-OriginalDocumentation
+# for examples
+#
+# Default value is empty so the init script will fail and force you
+# to create a new config
+#
+CONMUX_CONFIG=""
+# Log file
+CONMUX_LOG="/var/log/conmux.log"
diff --git a/app-misc/conmux/files/conmux.initd b/app-misc/conmux/files/conmux.initd
new file mode 100644
index 000000000000..b74fd28b969c
--- /dev/null
+++ b/app-misc/conmux/files/conmux.initd
@@ -0,0 +1,39 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use net
+ need conmux-registry
+}
+
+checkconfig() {
+ if [ ! -f ${CONMUX_CONFIG} ]; then
+ eerror ""
+ eerror "No conmux configuration file was found!"
+ eerror "Please read the conmux README file."
+ eerror ""
+ return 1
+ fi
+ # Sane default
+ if [ -z ${CONMUX_LOG} ]; then
+ CONMUX_LOG="/var/log/conmux.log"
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || exit 1
+ # Make sure conmux finds everything
+ export PATH="${PATH}:/usr/share/conmux/drivers:/usr/share/conmux/helpers"
+ ebegin "Starting conmux daemon"
+ start-stop-daemon -m -b --start -1 ${CONMUX_LOG} \
+ -2 ${CONMUX_LOG} -p /run/${SVCNAME}.pid \
+ --exec /usr/sbin/conmux -- ${CONMUX_CONFIG}
+}
+
+stop() {
+ ebegin "Stopping conmux daemon"
+ start-stop-daemon --stop --pidfile /run/${SVCNAME}.pid
+ eend $?
+}
diff --git a/app-misc/conmux/metadata.xml b/app-misc/conmux/metadata.xml
new file mode 100644
index 000000000000..41c74b92fdb7
--- /dev/null
+++ b/app-misc/conmux/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <longdescription lang="en">
+CONMUX is a console abstractor. Presenting any console with a
+consistent location, naming and semantic. Access to the console,
+and hardreset of the machine is the same regardless of the underlying
+access methodology.
+</longdescription>
+ <upstream>
+ <remote-id type="github">autotest/autotest</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/countrycodes/Manifest b/app-misc/countrycodes/Manifest
new file mode 100644
index 000000000000..3794c1cca1a0
--- /dev/null
+++ b/app-misc/countrycodes/Manifest
@@ -0,0 +1,8 @@
+AUX 1.0.5-Makefile.patch 1034 SHA256 ff3d17ddece39233524f688abb8324fa760ba3b0b4bf8f9e7c5d7a08d50b2b5c SHA512 a0416ee6b6b7416d9f0f1d379b2b4a86fb0b0ca6df2dd5f0bf3d4e54ba1fa3213da1561a38b1757d2f98b4cf96df1ff74cdea1b7e05587c7250d77353f522832 WHIRLPOOL ecd6a30aeb2590d54e9eb41b2a79a4dd3bda203b6529b4b3017603a53c11ed57dfffbd762029532c82b4cce6618485bf7ecb65285a0208f99f8c185b60482124
+DIST countrycodes-1.0.5.tar.gz 18621 SHA256 e56e10442c7353c39cd9e57fa747df279ae39a84a89336644a58c29de5b2b39b SHA512 d62beaaccdbc8f7e14f3edf0044aeeef6375a3deffc0e4246a49fb8209ed7256208c878f811950c5c3bfda729988a46c173aecec72ee66e8843932d97064f035 WHIRLPOOL e00e5d39080b25e8c599bf9c549dc24d9ee2393ffb52f5d9e98fcdf1479e4ac3599853e2e5f7893aaaaee7f0881e3a6cd0d9ab88e8157674b09c98adc33e7ae7
+EBUILD countrycodes-1.0.5-r1.ebuild 779 SHA256 fc6eeec3e42e69f39888c9d6cfb1c069821be5a7cbfd411acdd2a0c245395bb1 SHA512 df6a20cdb6634bded9ff057623280d36989df3337bbde00b175fe8d75f095d2e3c02740c5e13994a188d7916fa5227b92f835368aad4a1e9dab6ff7c913d0ac9 WHIRLPOOL c9fbd8893814126c1b3c1e6f2f32d64efb15a2687045ac3635f5bb42be5e56565a7a701830703192b5810f6f7a6a121c42e56f247e2177ab9970f9125fd2edcb
+EBUILD countrycodes-1.0.5-r2.ebuild 740 SHA256 95ae85caf22498f6da0f790f19181fe185308221a0a7608ce6fa9b543b59019f SHA512 d086a6445262ac67c4785d42f05d9067adeda4f7b8a1457f487393ca8bcd7db5556d7df20ddaf4a2fe7e2ec3d5abbc62ec4b1680138fad05d7bfce83b7d19e12 WHIRLPOOL fd0cf7fb6533cedae34096ed4ad5f004f31a634e59243fdf1c66a87a36911b8ef24303fd9e744e9eb3fbc19196e8bec9e156364dfb070fbb4d5f9b888183c78e
+EBUILD countrycodes-1.0.5-r3.ebuild 723 SHA256 a0607db136cc8ed0c4460b71bb089df5e274731d3a8ec8d7ee79d7d76965474d SHA512 87f426e2ac6beeb3b13053139bdd89edf880479a693e718cf83b8bf8de092f601f35e2fedd4b7d2fa63c7bc20af193e1b45ec215ff2a702c3539eaee4a1f7023 WHIRLPOOL d6838a9d340a2c55baf1e7e9008b2e5c3e89bbe71931b9a346283ee627d198afaf320f68a3ee4ced7e8309a18b057313aba38aa77e9e2ef25047c6aa2d1452a5
+MISC ChangeLog 2699 SHA256 3483bf9a08a13637f09a0a83013b11e719e25d1f6396965920c4c15f571c5479 SHA512 9437c0711ce02fcdee89ea55ab8c759541aa04ec022c137b218e206a0ffbe24fb8210ad601d4f77d5dc56e2ede708e583520b4029c791de702ad5554bf927eab WHIRLPOOL ad884422cdb001114350142c02093be287b417199e17a4773a8dfb0858c3fd7d30fba1d4dc1370e95b36e4d0b5b49ac8ad6b7be3635339a48bb9bde2492fb6db
+MISC ChangeLog-2015 3348 SHA256 1d4d120a4b2c1aff4eff892504e7c72912e17063da8900e53e9ab878247e93fe SHA512 830c413ae69f75093badf9ce5bf2d5a50e9fe8efb01f5341aac82c999a4e76e0482e338a92ceae9f2acd7d851eed34f5606c10a25dda41dd89d43b29e11d9765 WHIRLPOOL e85c9b6a11ca263a20b36ada288c13625fe4fb9d1d0bdca3de535fb13dcd2eb064401be8625ec3b4533d7041560a58b0f08b03879697e5de3422dca6280069ea
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild
new file mode 100644
index 000000000000..211e7bbf46fe
--- /dev/null
+++ b/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="An ISO 3166 country code finder"
+HOMEPAGE="http://www.grigna.com/diego/linux/countrycodes/"
+SRC_URI="http://www.grigna.com/diego/linux/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~ia64 ~mips ppc ppc64 sparc x86"
+IUSE=""
+
+S="${WORKDIR}"/${P}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-Makefile.patch
+ tc-export CC
+}
+
+src_install() {
+ emake \
+ prefix="${D}/usr" \
+ mandir="${D}/usr/share/man/man1" install || die "make install failed"
+ dosym iso3166 /usr/bin/countrycodes || die
+ dosym iso3166.1 /usr/share/man/man1/countrycodes || die
+ dodoc ../doc/{Changelog,README} || die
+ prepman
+}
diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild
new file mode 100644
index 000000000000..b9140b6b2c8f
--- /dev/null
+++ b/app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="An ISO 3166 country code finder"
+HOMEPAGE="http://www.grigna.com/diego/linux/countrycodes/"
+SRC_URI="http://www.grigna.com/diego/linux/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}"/${P}/src
+
+PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch )
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ emake \
+ prefix="${D}/usr" \
+ mandir="${D}/usr/share/man/man1" install
+ dosym iso3166 /usr/bin/countrycodes
+ dosym iso3166.1 /usr/share/man/man1/countrycodes
+ dodoc ../doc/{Changelog,README}
+ prepman
+}
diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild
new file mode 100644
index 000000000000..a1ccc0e0d3ac
--- /dev/null
+++ b/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="An ISO 3166 country code finder"
+HOMEPAGE="http://www.grigna.com/diego/linux/countrycodes/"
+SRC_URI="http://www.grigna.com/diego/linux/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+S="${WORKDIR}"/${P}/src
+
+PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch )
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ emake \
+ prefix="${D}/usr" \
+ mandir="${D}/usr/share/man/man1" install
+ dosym iso3166 /usr/bin/countrycodes
+ dosym iso3166.1 /usr/share/man/man1/countrycodes
+ dodoc ../doc/{Changelog,README}
+}
diff --git a/app-misc/countrycodes/files/1.0.5-Makefile.patch b/app-misc/countrycodes/files/1.0.5-Makefile.patch
new file mode 100644
index 000000000000..677e59acc5c0
--- /dev/null
+++ b/app-misc/countrycodes/files/1.0.5-Makefile.patch
@@ -0,0 +1,42 @@
+diff --git a/Makefile b/Makefile
+index 9330578..3ff7319 100644
+--- a/Makefile
++++ b/Makefile
+@@ -26,13 +26,13 @@ BINMODE=755
+ LOGDIRMODE=700
+
+ # Compiler to use
+-CC=gcc
++CC ?= gcc
+
+ # Compiler warnings
+-WARNINGS= -pedantic -Wall
++WARNINGS=
+
+ # Compiler flags
+-CCOPTS = -O2 -fomit-frame-pointer
++CCOPTS = ${CFLAGS}
+
+ # The makefile standards document I read says that I have to put it here...
+ SHELL = /bin/sh
+@@ -61,7 +61,7 @@ PROGRAM = iso3166
+ all: $(PROGRAM)
+
+ $(PROGRAM): $(ISO3166OBJ)
+- $(CC) $(CCOPTS) $(ISO3166OBJ) -o $@
++ $(CC) $(CCOPTS) $(LDFLAGS) $(ISO3166OBJ) -o $@
+
+ clean:
+ rm -f $(ISO3166OBJ) core defines.h $(PROGRAM)
+@@ -70,8 +70,10 @@ strip:
+ strip $(PROGRAM)
+
+ install:
+- $(INSTALL) -g root -m $(BINMODE) -o root -s ${srcdir}/$(PROGRAM) ${bindir}
++ mkdir -p ${bindir}
++ $(INSTALL) -g root -m $(BINMODE) -o root ${srcdir}/$(PROGRAM) ${bindir}
+ @echo "Installing man page..."
++ mkdir -p ${mandir}
+ @$(SEDBIN) $(SEDCMDS) ${docdir}/iso3166.1.in > ${mandir}/iso3166.1
+ @chown 0.0 ${mandir}/iso3166.1
+ @echo
diff --git a/app-misc/countrycodes/metadata.xml b/app-misc/countrycodes/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/countrycodes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/cpipe/Manifest b/app-misc/cpipe/Manifest
new file mode 100644
index 000000000000..4a45f0d569f6
--- /dev/null
+++ b/app-misc/cpipe/Manifest
@@ -0,0 +1,4 @@
+DIST cpipe-3.0.3.tar.gz 16392 SHA256 3803a71233a4cd8dd3bfba5a52d3320ed037740cf3a45b07cc30d8be457ea1cc SHA512 255e3833ddaf27af1768e650a47d0565224ddd22137636ae0fae491a4d03f523b74a76f26b261c71442a7509f42eee64b75fbcf7078641a64b66a2590bb803b3 WHIRLPOOL e9bba8ff169055c41e71f536eb99155a2f4396c4f078fa3f0f6e6087ecd0029f8a5f04f4a9e1a27d385d187f472ffce5f9b001d3975fba54e27ef5d422c88ba1
+EBUILD cpipe-3.0.3.ebuild 656 SHA256 e2dba42fff6f225f30ea029b6fdc064876a893643f39c54e6af15802bdca88af SHA512 759dfd3af82aed48d535931d33fcb0070c9ecbea713ae2d095805cac25efe49fbd6b0012b11099719da334d242c57e734fedb1d4f2ace9ae946c2ec0f7411775 WHIRLPOOL 4c45f1d5a6ecccf74c8577df6654d3e5b449381107268c8397e473f07ebd587c0c6daa4380a05a3e49ba0f2843d81869f7158c8652e7170ed8cd1989b781111b
+MISC ChangeLog 548 SHA256 b903cf67a17a403db73bc48878956060493730e2e5fff1124c75d2a170e3f902 SHA512 87801f96c1c8b6524d7b381dac90003d00ed75e5ca5891057597e5d13e74a37b929f73bb2e546a9a512be3f89bd7d2f764800e96fa1137bd32f35b02061819c0 WHIRLPOOL 4fc5483f1978b45d24a9f2c83f127bd1f90dc88aab10b7f23045dba0665b371acf099c3c8189f636516f08f23bbd3f85d2ccc59d167da1b2b351cd04127296b8
+MISC metadata.xml 330 SHA256 44bdb3de46b640d4071cc99568d39d356958e8d8be4d514db1c4492d53c6de36 SHA512 5d888afdae9cd65ef26799a4c311dd11bbe8cbea93d6e8ba4e92086cce3df5708be39ea4c20a1ea0bd76d9e06846dd1f48af120f0812f4be75e9ae1f43e669bb WHIRLPOOL 161a69d01e2c4a39ce9f73a5896b7183c90b7111ebc1647e4e37e3b9212843a4a59b54e8f135aea96aad4f38acf99c87d16f198310010d75e8264b5a61a60e35
diff --git a/app-misc/cpipe/cpipe-3.0.3.ebuild b/app-misc/cpipe/cpipe-3.0.3.ebuild
new file mode 100644
index 000000000000..6e1c286b1d2d
--- /dev/null
+++ b/app-misc/cpipe/cpipe-3.0.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Counting pipe, measures data transfered over pipe"
+HOMEPAGE="https://github.com/HaraldKi/cpipe"
+SRC_URI="https://github.com/HaraldKi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s/CFLAGS =/CFLAGS =${CFLAGS} /" \
+ -e "s/-lm/-lm ${LDFLAGS}/" \
+ -e "s/744/644/" makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+}
diff --git a/app-misc/cpipe/metadata.xml b/app-misc/cpipe/metadata.xml
new file mode 100644
index 000000000000..449e6b0b1299
--- /dev/null
+++ b/app-misc/cpipe/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">HaraldKi/cpipe</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/crunch/Manifest b/app-misc/crunch/Manifest
new file mode 100644
index 000000000000..fe962197c06d
--- /dev/null
+++ b/app-misc/crunch/Manifest
@@ -0,0 +1,5 @@
+DIST crunch-3.6.tgz 38635 SHA256 6a8f6c3c7410cc1930e6854d1dadc6691bfef138760509b33722ff2de133fe55 SHA512 85a2a12bb481988ab27a19602122abc29bb307de0af279132dcc0565dfc4ba44ab9f7ca15d876001f2e6dcf7be77ed50168cb066fc6a65bf06ec5cf9d798e81f WHIRLPOOL 79a27e8af6472f4ab5a604e42a25e80aa957dbdee91478bc228df9d5fe45864cc468a3f3aadc0883d025fa804c16fd3e2ca836ea113ad6373b73114141ea153f
+EBUILD crunch-3.6.ebuild 545 SHA256 6a333eb7c1fd19c14f513708d1d9604089af66ecf27e927b37cf2725168a527c SHA512 c83c126094ee74ac88229b3abcef02a81f722eee51605e0e9be8233faffb11a4c3a9c3aa5219b7d915de01f31fca160d6c285f6e847fa4af34f7d3ca2722d01f WHIRLPOOL 7c3391f279fa2cc2d92a99f4e9259d8480379fb3a6089e419e033862abf84ca18a479e751588c247ea337e4e387715fabe76d66c231585ef9fd9e4406dda9d32
+MISC ChangeLog 2444 SHA256 504d646073061e25a98b3089327e59e3782697d28f5ace1f4e5847048cbdfa8c SHA512 719d5c7f9b414b2634482d40bcecb27bf2817165a2293737fbd045a2b835e5c09d618eed943731062b490d01d57a13a2aec4923a9e93c4a2dc06ade7f3f3e786 WHIRLPOOL d0915286f8723ad4a594f1d6ea886bb58feda23404b54f51f37a63c2b99aff9b9febf5f1f985e85382baa4cc688f33f4586374deeb3234aa2d1e168276be924a
+MISC ChangeLog-2015 612 SHA256 d1057b71a756b131538f98af32f2767a35f9e5bcf17310afb86f58f787ed842e SHA512 a32ad12b1e7bde1b9de1798bdd1697cd8b843c1375af0d3d09849532c90ec05c2ed3a79530187a9c2579c6299f3b184fa76a05975422e19f0d30f3284194ceec WHIRLPOOL 05d4bf8374aae503a2e61cf33fe52467f72f04c0c2908701e0e3a8fe2aaf15d8be072aaa76dd2aeca6629b12eb9713b53bbc43315279407af76e4619f3354dca
+MISC metadata.xml 332 SHA256 f12e924ca8f28e4cd634d8a3a978cf208378c1abd286c30a2af405006b743834 SHA512 b537452a244bd1d52508d75606efc72d276f6cc502e3bf1840758cb73d9fa907aed0d97545504a67bc49ff72e700c6a487e4d874560698db4850af66b4184b68 WHIRLPOOL 604f05b2afed882a3d49b94236c9aec643d156ffb8911be2b720176325832e818bac4d13f38e5ddb7be1f0bb86e56cad35295774dd0448dc0b1083849575b569
diff --git a/app-misc/crunch/crunch-3.6.ebuild b/app-misc/crunch/crunch-3.6.ebuild
new file mode 100644
index 000000000000..7488fad701ea
--- /dev/null
+++ b/app-misc/crunch/crunch-3.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A wordlist generator"
+HOMEPAGE="https://sourceforge.net/projects/crunch-wordlist/"
+SRC_URI="mirror://sourceforge/crunch-wordlist/crunch-wordlist/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~x86"
+
+src_prepare() {
+ epatch_user
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install(){
+ dobin crunch
+ doman crunch.1
+ insinto /usr/share/crunch
+ doins charset.lst
+}
diff --git a/app-misc/crunch/metadata.xml b/app-misc/crunch/metadata.xml
new file mode 100644
index 000000000000..da39990215bb
--- /dev/null
+++ b/app-misc/crunch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">crunch-wordlist</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/cstream/Manifest b/app-misc/cstream/Manifest
new file mode 100644
index 000000000000..471328c5d346
--- /dev/null
+++ b/app-misc/cstream/Manifest
@@ -0,0 +1,7 @@
+DIST cstream-3.0.0.tar.gz 98286 SHA256 3261202434d22256bb55fbcbafdfda5fac84c9c1e5589ba2c4ded45d3dad9bfc SHA512 53d72766071b64c81f16531e894d88c2559524e539c92616737b4c7d32c268771db2657afa5e2ad62a778e9dabaf3529f83067a12824e499767e5e9cf5f07387 WHIRLPOOL 2caa8a1cf9dbe646dc5a385404b377af61992f4441d879497d1745ba4cbf67afb8606185af29cba62811ddbde8a6dbff242e1a18d3b4e0573b71ecdcab3092af
+DIST cstream-3.1.1.tar.gz 96609 SHA256 95ad4a41932edda121684eaed2435a11a26104c8193cffca0f892573acc095ae SHA512 8d6364da622711f6888fd221b2f36f5da23d2a562d5a797d58d7ef361415481de8ab9ae55ae856d47c2d0141d570e22a61ab0ce9954c043877196df168f2f43a WHIRLPOOL efebe40cf26b8defffc12ce2f6a280cc628b62314c50f22bbe73bd23bd7fa4f26484722e0c3d2b3de5d5d7828399660bcc12abdcd8be0e8a00f5b752db88df1b
+EBUILD cstream-3.0.0.ebuild 478 SHA256 d782fa75f64b93aced531f825808586d6b5966e024039a5fb526b733a750006c SHA512 ec4d21d0f0afd8b2a39b657b0b2e85ae2a089b826819c8f3ac407ddae54f8df63159f17e5e06625df7adb9f37a2ecec75b99c23501bc297b7009128a5532de73 WHIRLPOOL 89844f443dfa910fe6027b795d5d0afdeb1691d6b796aaaa7b78fa78fc65a51b2af82a1dcbbf6465c00e744c324056ff861e741a40cb7c3e59dbb487661b6b3f
+EBUILD cstream-3.1.1.ebuild 591 SHA256 c577e53ebb1c9703ead49a54251456fcc97b7e89c1b06b97cf39b030b0fec144 SHA512 334e07b032050808dac5980418a465de20808e2508bf4ddae762faa06cf79cf45e4821d875e839d6d3452833e2a73717e670c09b4105e95991e21e63f4e64642 WHIRLPOOL ad0d24b25db74188a4fd2d36428c9b8569d4a349dee5f5411833904b4bdb33c2d151cf8b577388103f539108437d8733253615d4254317f36fa06ce394e8b832
+MISC ChangeLog 2967 SHA256 a8012fad8b8f941fb10c1cd717f2a2a8a4b5149b7fe3d0e7d09f92d86efc295e SHA512 aef5dee7ba04168f5f47bb7a945fadb4641e91b68de9c5256c5294ec19c702e3d312942f7056360853e15e783ca3f5eee5f32ad09c606c64e3fe0b60eeb7a93f WHIRLPOOL 103844465bfea576fccbd6b6aed581385b12ca4ce98a813bbfba4f17e1b09f3b0d94f85047fbdc483bf11325c23256d83a6942bc65a73d2fb137c437c5ba0cf1
+MISC ChangeLog-2015 1217 SHA256 986f3b4a2a61b48cefc9bb6a185b1c1d87a9f47a0b1fa0b6229ae1677dd2ff13 SHA512 c9e28e218b4a61b0b414ddd2f01c0b6d77e61ab35a74e778f7abb5d83bae1392d631dcd85274e48191b84323473cf97fef530a6e1e927d9110736decd88342c4 WHIRLPOOL d67a71214b448af48428dfe95a2c057bc074c92f9823f505acd7ecc4b917cdc41b90767c66b99cf9db813b20857540a36bf89ac372f7e8008611cf7710d086c3
+MISC metadata.xml 1733 SHA256 f72a5a4a08941bf5c8a79fc16984f4bf32d761d0770e670207802db4ac4712ae SHA512 c3609fb6e7fa87dcdd924cdad07d5d9121ace333ca87fac64ae701d97f74a09d4f6788cf82793f8ce579f54b6872fe379d9f758da170ae80d770c1306106b882 WHIRLPOOL a27842b7507afa49dda12e5b2fb9e481c5b475916bd186caf8810c8312dc40860b0d18a7368228679602ed834f4be44e0869d690defb4edc877a92228c2960a4
diff --git a/app-misc/cstream/cstream-3.0.0.ebuild b/app-misc/cstream/cstream-3.0.0.ebuild
new file mode 100644
index 000000000000..8b05f357d5b3
--- /dev/null
+++ b/app-misc/cstream/cstream-3.0.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit autotools
+
+DESCRIPTION="general-purpose stream-handling tool like UNIX dd"
+HOMEPAGE="http://www.cons.org/cracauer/cstream.html"
+SRC_URI="http://www.cons.org/cracauer/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+src_prepare() {
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/app-misc/cstream/cstream-3.1.1.ebuild b/app-misc/cstream/cstream-3.1.1.ebuild
new file mode 100644
index 000000000000..06c9ef47f30b
--- /dev/null
+++ b/app-misc/cstream/cstream-3.1.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+AT_M4DIR="auxdir"
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils
+
+DESCRIPTION="general-purpose stream-handling tool like UNIX dd"
+HOMEPAGE="http://www.cons.org/cracauer/cstream.html"
+SRC_URI="http://www.cons.org/cracauer/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ # this file does not regenerated automatically by autotools-utils eclass
+ rm auxdir/missing || die 'failed to remove auxdir/missing'
+
+ autotools-utils_src_prepare
+}
diff --git a/app-misc/cstream/metadata.xml b/app-misc/cstream/metadata.xml
new file mode 100644
index 000000000000..ecf62c4184c9
--- /dev/null
+++ b/app-misc/cstream/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription lang="en">
+cstream is a general-purpose stream-handling tool like UNIX dd, usually used in commandline-constructed pipes.
+Features:
+ - Sane commandline switch syntax.
+ - Exact throughput limiting, on the incoming side. Timing variance in previous reads are counterbalanced in the following reads.
+ - Precise throughput reporting. Either at the end of the transmission or everytime SIGUSR1 is received. Quite useful to ask lengthy operations how much data has been transferred yet, i.e. when writing tapes. Reports are done in bytes/sec and if appropriate in KB/sec or MB/sec, where 1K = 1024.
+ - SIGHUP causes a clean shutdown before EOF on input, timing information is displayed.
+ - Build-in support to write its PID to a file, for painless sending of these signals.
+ - Build-in support for fifos. Example usage is a 'pseudo-device', something that sinks or delivers data at an appropriate rate, but looks like a file, i.e. if you test soundcard software. See the manpage for examples.
+ - Built-in data creation and sink, no more redirection of /dev/null and /dev/zero. These special devices speed varies greatly among operating systems, redirecting from it isn't appropriate benchmarking and a waste of resources anyway.
+ - Accepts 'k', 'm' and 'g' character after number for "kilo, mega, giga" bytes for overall data size limit.
+ - "gcc -Wall" clean source code, serious effort taken to avoid undefined behavior in ANSI C or POSIX, except long long is required. Limiting and reporting works on data amounts &gt; 4 GB.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/cw/Manifest b/app-misc/cw/Manifest
new file mode 100644
index 000000000000..268f9b769877
--- /dev/null
+++ b/app-misc/cw/Manifest
@@ -0,0 +1,9 @@
+AUX 1.0.16-collision.patch 1367 SHA256 27a60b8495990c8207e402649cb4cfd4f9b93d40c5762e7f310c00717d3ff6c6 SHA512 2f5e2dc0eb6af383207cd514a5e42bd1cd03f8748a8c1c66d0d83b7a5abd2fafc108a2207ff96bef5b74b9044c21fbe185e3b47a090d11387c7d1bb8f7684e76 WHIRLPOOL 27127aa75c7af200d1b3db147d73e7e48dc14ac0fa386474a30dfa308ac976827deb676223f174bafdbb7c07b0c7b09e902c743418071183baabe8bd905b3d98
+AUX 1.0.16-format-security.patch 412 SHA256 6057fe46108f3842bbfa2b403abd251574bae3d1a010cab09a94e5d5842fb815 SHA512 604a22a47e36933d4b2788c1acfe1930e2935dac14dbad5a717ce69b26463bdffcc54aa74bf5dfc22631b3a587ca56bda359d86cebf9fa1ad7c7a235fb71a5db WHIRLPOOL 1861eb8e82b14972e365092da4cc62b1ff16f0287d76809a9c73fe20d7a965ceba37caed919dba8e06c5884d0673b122a08ad9ab38e8ad074b2ec52116a5b155
+AUX 1.0.16-ldflags.patch 486 SHA256 b825a9da47e5a06434f23ac092ede9b1e89956f966f342dd50bd6e463230c1a5 SHA512 75883411ef18c739e6f86ba53a5b515e8081ac10d1b3e894de9bee4dd0040620f0fe09786085acd325669475d0d1e99b4d46554a68ebffcad18e50cb281cabfe WHIRLPOOL c60879612503e49c5f0801903dad41194189597b774b35918fc414d013466b5282317bd9ed9021ebd289f108d32262446a098ad820c9073a25a891c8f764c99a
+AUX 1.0.16-path.patch 550 SHA256 f423c7f4464be0bc248230bfdec7ca9a5a18a4c0fc03e7755372e1265e54f513 SHA512 2d8c1cf55e0d2d725aae4c3bd4f8300402b036e934218135ac840f9f891424458a79a9c2432bd4fa47255c30f096c3752a1a5897854f82da438398d5c671af23 WHIRLPOOL bf672bb810c6cee5c02fe88ae9cfb2e4a67c565cd9b337fcd8b2651b68b54f00b29e7e19fb32a89929c6b5e2446efef9810b5c1f604c3b97ad33edb547de6a0d
+DIST cw-1.0.16.tar.bz2 76035 SHA256 a12738f13f3ee90b0bd0c875b4d0bd345d51dced6efd5a14dd82a4705c78fbe4 SHA512 6a5da4e4dbb4d042d8b4e1e0727039f3103f9d7124a6f7c37ac094d7fee0ae10d9bacc6739fc133ca9fb682501bcafecd39a660abfe19fbf1fd9bf7ec06cfa32 WHIRLPOOL 1e5188ac6a9c5985c0169a6a932e1fd7dec242a1e9dcf2409c0bf54161733feb26fb500ec0308d062dbffe595946d7adffe74a19a849420733931f092143cd1c
+EBUILD cw-1.0.16-r3.ebuild 1552 SHA256 8b2e2cdb7cfdeee9a9965b4618059418b23255c3f1f064f7bb0e3ae8d56dce9e SHA512 d298a475374013aad061c6555c14ec9b819ca34f24f2eb511951ea5ac4baf14a248e8235bcf5ee7904244f8fa6ef5b5211da16aaca0a305d8644ea51f0a87378 WHIRLPOOL 7f206556ff0d00b1c4faa80fbfb207a21dabf642bf837ba601bce2c31cdad50917ea9fe36f8098dc89c8c56683c57e9fed89daad5ba4f26de1ce2ee5a5f82fed
+MISC ChangeLog 2545 SHA256 eeee4f95c8fc534bddd3eb62ed076620ad3265cad5b4589e5fc17e3decaaba48 SHA512 7ba06537a0712d2a88d9e4d70d0bc18c98d616133502751607f5d90b5c4144c18a0dd6ffb43c93d444a5773c71b742eccf5398fac82d6e7ab002cc4d19c3c715 WHIRLPOOL 7df0c7cd55f80ca92e19b81195046eee358f11ad8bbf735432957f44211c54be2671526efa2b95ec3a10681daa783e1ea0be6e2685386233d64a5cbe7468368f
+MISC ChangeLog-2015 4680 SHA256 0a021ef0a9c9a6b6b88d4c107a87ff7b0f809bf6ca542c13a41f2fa50d39f7dd SHA512 b74dbe149ab2791d2b06b1a080995e4e98cf334d1c8852fc98eb4d5f0c41b595f02fbbbfe5afe015ec56fee3c6c2a5ef7f12153a6f6a3560ad8ad35e1d8c34dc WHIRLPOOL d698f9a1bd4a489eb56e53e6cb9cbd043f480d48538c6fa19c8b3bbf315da9d25d74cb7ca36111c7837a4e06beb8a551317d402e447f83a8acf36911c765b96b
+MISC metadata.xml 343 SHA256 63b59ce2b4fe39a3f1714649772fe2bd11c62cd0fad24e4bd05f00f67981956c SHA512 d0aa39ed1e7fe08244130357fe59579405e1f2d08675bf3979fc1d3944033da32f58926a5857e3a526417709af1351fb443f91657ce4e7b3da0aa8405a60b3a1 WHIRLPOOL cca860f4b724a3b550a600910334a3ec90e4c875f016164170288b47de99ed234267559cfd58764f748edd5a4e39eb080362c98e8a6cc829981d2582b091270e
diff --git a/app-misc/cw/cw-1.0.16-r3.ebuild b/app-misc/cw/cw-1.0.16-r3.ebuild
new file mode 100644
index 000000000000..5a667b143f95
--- /dev/null
+++ b/app-misc/cw/cw-1.0.16-r3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A non-intrusive real-time ANSI color wrapper for common unix-based commands"
+HOMEPAGE="http://cwrapper.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cwrapper/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-ldflags.patch \
+ "${FILESDIR}"/${PV}-path.patch \
+ "${FILESDIR}"/${PV}-collision.patch \
+ "${FILESDIR}"/${PV}-format-security.patch
+ tc-export CC
+}
+
+src_compile() {
+ emake local
+}
+
+src_install() {
+ insinto /usr/share/cw
+ doins etc/*
+
+ exeinto /usr/libexec/cw
+ doexe def/*
+
+ doman man/cwu*
+ newman man/cw.* color-wrapper
+ dodoc CHANGES CONTRIB INSTALL README PLATFORM doc/README*
+
+ dobin bin/{cwu,colorcfg}
+ # app-misc/color currently conflicts; hopefully 'colors' is safe
+ newbin bin/color colors
+ # media-radio/unixcw currently conflicts;
+ newbin bin/cw color-wrapper
+}
+
+pkg_postinst() {
+ ebegin "Updating definition files"
+ cwu /usr/libexec/cw /usr/bin/color-wrapper # >/dev/null
+ eend $?
+
+ elog "To enable color-wrapper, as your user, run:"
+ elog " colorcfg [1|2|3]"
+ elog "to add relevant environment variables to your ~/.bash_profile"
+ elog "Run colorcfg without options to see what [1|2|3] means."
+ elog
+ elog "After sourcing your ~/.bash_profile, commands for which definitions"
+ elog "are provided should have colored output."
+ elog
+ elog "To enable/disable colored output, run: 'colors [on|off]'."
+}
diff --git a/app-misc/cw/files/1.0.16-collision.patch b/app-misc/cw/files/1.0.16-collision.patch
new file mode 100644
index 000000000000..52bb8cab8f3b
--- /dev/null
+++ b/app-misc/cw/files/1.0.16-collision.patch
@@ -0,0 +1,34 @@
+diff --git a/src/cw.c b/src/cw.c
+index d7b4875..a7811d8 100644
+--- a/src/cw.c
++++ b/src/cw.c
+@@ -1336,7 +1336,7 @@ unsigned char is_cwfile(char *file){
+ s=strlen(buf);
+ if(buf[s]=='\n')s--;
+ if(buf[s]=='\r')s--;
+- if(s>4&&!strncmp(buf,"#!",2)&&!strncmp(buf+(s-4),"/cw",3))return(1);
++ if(s>15&&!strncmp(buf,"#!",2)&&!strncmp(buf+(s-15),"/color-wrapper",14))return(1);
+ return(0);
+ }
+ /* sets left and right borders. */
+diff --git a/src/cwu.c b/src/cwu.c
+index 823618d..63f566b 100644
+--- a/src/cwu.c
++++ b/src/cwu.c
+@@ -37,12 +37,12 @@ signed int main(signed int argc,char **argv){
+ if(argc>1&&!strcmp(argv[1],"-v"))
+ cwuexit(1,"cwu (color wrapper directive updater) v"VERSION);
+ if(argc<2)
+- cwuexit(1,"syntax: cwu <definitions directory> <cw binary path>");
++ cwuexit(1,"syntax: cwu <definitions directory> <color-wrapper binary path>");
+ if(argc<3)cwuexit(1,"no path provided to update with.");
+- if(strncmp(argv[2]+(strlen(argv[2])-3),"/cw",3))
+- cwuexit(1,"cw binary path doesn't end with `/cw'.");
++ if(strncmp(argv[2]+(strlen(argv[2])-14),"/color-wrapper",14))
++ cwuexit(1,"cw binary path doesn't end with `/color-wrapper'.");
+ if(access(argv[2],X_OK))
+- cwuexit(1,"cw binary does not exist or is not executable.");
++ cwuexit(1,"color-wrapper binary does not exist or is not executable.");
+ globcw(argv[1],argv[2]);
+ cwuexit(0,0);
+ exit(0);
diff --git a/app-misc/cw/files/1.0.16-format-security.patch b/app-misc/cw/files/1.0.16-format-security.patch
new file mode 100644
index 000000000000..20f0b1d06b1e
--- /dev/null
+++ b/app-misc/cw/files/1.0.16-format-security.patch
@@ -0,0 +1,16 @@
+ src/cw.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cw.c b/src/cw.c
+index d7b4875..3ec1ac1 100644
+--- a/src/cw.c
++++ b/src/cw.c
+@@ -643,7 +643,7 @@ void sighandler(signed int sig){
+ else if(sig==SIGUSR1)ext=1;
+ else if(sig==SIGALRM)ext=2;
+ else if(sig==SIGPIPE||sig==SIGINT){
+- fprintf(stderr,pal2[16]);
++ fprintf(stderr,"%s", pal2[16]);
+ fflush(stderr);
+ cwexit(0,0);
+ }
diff --git a/app-misc/cw/files/1.0.16-ldflags.patch b/app-misc/cw/files/1.0.16-ldflags.patch
new file mode 100644
index 000000000000..46037312c6c3
--- /dev/null
+++ b/app-misc/cw/files/1.0.16-ldflags.patch
@@ -0,0 +1,18 @@
+diff --git a/Makefile.in b/Makefile.in
+index 9a6e4ec..e510493 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -19,11 +19,11 @@ all:
+
+ cw:
+ @$(ECHO) "* Compiling cw(color wrapper)..."
+- @$(CC) src/cw.c -o bin/cw @CFLAGS@ @LIBS@ @DEFS@
++ $(CC) $(CFLAGS) $(LDFLAGS) src/cw.c -o bin/cw @CFLAGS@ @LIBS@ @DEFS@
+
+ cwu:
+ @$(ECHO) "* Compiling cwu(color wrapper directive updater)..."
+- @$(CC) src/cwu.c -o bin/cwu @CFLAGS@
++ $(CC) $(CFLAGS) $(LDFLAGS) src/cwu.c -o bin/cwu
+
+ local: cw cwu
+
diff --git a/app-misc/cw/files/1.0.16-path.patch b/app-misc/cw/files/1.0.16-path.patch
new file mode 100644
index 000000000000..f62b5bd994d4
--- /dev/null
+++ b/app-misc/cw/files/1.0.16-path.patch
@@ -0,0 +1,19 @@
+diff --git a/bin/colorcfg b/bin/colorcfg
+index cf73b50..3e78c73 100755
+--- a/bin/colorcfg
++++ b/bin/colorcfg
+@@ -10,13 +10,7 @@ echo "[ cw/color wrapper: user setup script. ]"
+ if test -x "${HOME}/.cw/bin/colorcfg";then
+ CWLIB="${HOME}/.cw/def"
+ else
+- SED="`which sed 2>/dev/null`"
+- if test -z "$SED";then
+- CWLIB="/usr/local/lib/cw"
+- echo "(NOTE: using static cw library path, this could be invalid)"
+- else
+- CWLIB="`echo \"$0/lib/cw\"|sed \"s/\/bin\/colorcfg//g\"`"
+- fi
++ CWLIB="/usr/libexec/cw"
+ fi
+
+ echo "[ cw library path: $CWLIB ]"
diff --git a/app-misc/cw/metadata.xml b/app-misc/cw/metadata.xml
new file mode 100644
index 000000000000..e5ef85998d9b
--- /dev/null
+++ b/app-misc/cw/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">cwrapper</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/cwiid/Manifest b/app-misc/cwiid/Manifest
new file mode 100644
index 000000000000..f1e16f89ed6b
--- /dev/null
+++ b/app-misc/cwiid/Manifest
@@ -0,0 +1,7 @@
+AUX 60-cwiid.rules 91 SHA256 d33d4d013170d7c6e03f937262be8af189d85f95f1ca945cdcd1617d276f899e SHA512 c663b8912d0f1651c490f00ce725452f9fe1689b6bf97859b2d79206dedee8d77e4eb21e675b8db3c2e40108d6e41196eeaba145a80d4ffdacfa44809ef7d871 WHIRLPOOL 36285adbc6dd0345b90946eeb3791ea0f17c7304c38ffbf4c732160ee07cc18e0292133d49c77f9a35c0cec15fd2234e81a13e1465683cfbe282a6db9976207a
+AUX cwiid-20110107-underlinking.patch 733 SHA256 ad49aa99e7c80e51a5fc33af09f610ad890ce3ec5d6f078345be42f8dbb779e1 SHA512 c263474fb26126219163debf90a9a2a0990eae8cbd2942cf9301c9fba6cc50a849c002da7c004a0ccee9ac2f18b724d8d0da1c9402539388409fe3a59b27e996 WHIRLPOOL d3da00beef8549b4aa8a97f2d337e9b8cd69bb5296f9f77faad684b819d06f34b98774364e4e7d08b63e69659a9999f5443569b33e06ac4c71b9242e447cb013
+DIST cwiid-20110107.tar.bz2 81184 SHA256 7df682dd200eb703b2485ceb86f9834a4bc608c191e1431c3f9d2b58e4865a6f SHA512 b9cde716f7bc67697cf6fafd62f324cf343afc734845d8c3f608e0ad9abe245570e59dbda10a0d3a50b0439a8cc8db0bcf71d592c6d4b733c3955426a97cb46f WHIRLPOOL 5b92fb20c91eef290d334a39bbe0a258a62ca20311cdb65346f21a42b4dbeb271cdd2e326ed1d11c129893edf1131ab590472a911a6a7df32a559a88abd49134
+EBUILD cwiid-20110107-r2.ebuild 1712 SHA256 48a8ae62b7938cab1fc211e927fd3bab750b87078ebc0e05e01e53a797ca5bd9 SHA512 0c221be5bbebb55ff08a3313749157abc0549331d72d8c3e0cb636f94bcc76b082c4f1be1ef6b19116deaa7962e8a65945de05f848917c9596e72d283195e011 WHIRLPOOL cf29fe2f7c7472381fd7bb7f7faf0155ef504d79b333ab56a0144cc137e1643eff1f3691a63a176565dd869aafa503a1d4976526617a2255f3d3a0835a8176ce
+MISC ChangeLog 2652 SHA256 511a9a85f87dc5dcc27689fab0c57ca6abaabf266ec8279b2d8996fb06db1d78 SHA512 fa5a973f71bffa90fb854bf3561d6e5cf91e24e2a7b569c564213f9b7a1af887b8f70c4a837e3ce4972665c2cdc27acf66c9768bad3fba23c610f40b0708c5e7 WHIRLPOOL 2dc23455aa49513a95eaa5190d4851e4f181f0129a11607f3ab3d5945a4197f9188707e95b0671bf61e5ff987664d9b60a33cb9c20767ab4672cbb41dcb4d9e8
+MISC ChangeLog-2015 1650 SHA256 1d3267ab4ed46ce5d44434661abb85393f5df1d85f34e5a6946abe141f218dff SHA512 33cac97bde0691617689b7945177d9b6d23e0ce7582fe8f65ba427bbddd61d507ec011404c196af221d48955cae21bc766da59e735d6e96b26791ff07dd65797 WHIRLPOOL 85e13f26e6bcb87ecddb9115b32620b6904331c46a7386925b04855f637a0584d184e129d740a6307d1cc58831560442cca9fd77b835f7b2f896b856214f8055
+MISC metadata.xml 167 SHA256 5fe493e76bba84455c54b3a46adfae5a1bfe01c764ef0d9e5f6d3e8a1d142188 SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 WHIRLPOOL dc6c3dfc7fd7f0d76c97f0786cb76a55b8564f8437f96d4ccebf985817b9f6dcc4c61830aa5df80d725e4a54b281ea2e03d6b0859214af081112cba15025e64b
diff --git a/app-misc/cwiid/cwiid-20110107-r2.ebuild b/app-misc/cwiid/cwiid-20110107-r2.ebuild
new file mode 100644
index 000000000000..453aeb73acbd
--- /dev/null
+++ b/app-misc/cwiid/cwiid-20110107-r2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/abstrakraft/cwiid.git"
+ SRC_URI=""
+ KEYWORDS=""
+ inherit git
+else
+ # git archive --prefix=cwiid-$(date +%Y%m%d)/ \
+ # --format=tar HEAD | bzip2 > cwiid-$(date +%Y%m%d).tar.bz2
+ SRC_URI="https://dev.gentoo.org/~lxnay/cwiid/cwiid-${PV}.tar.bz2"
+ KEYWORDS="~x86 ~amd64"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils linux-mod autotools python-single-r1
+
+DESCRIPTION="Library, input driver, and utilities for the Nintendo Wiimote"
+HOMEPAGE="http://abstrakraft.org/cwiid"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="python"
+
+DEPEND="virtual/awk
+ sys-apps/sed
+ sys-devel/bison
+ >=sys-devel/flex-2.5.35
+ virtual/pkgconfig
+ python? ( ${PYTHON_DEPS} )"
+
+RDEPEND="net-wireless/bluez
+ x11-libs/gtk+:2
+ python? ( ${PYTHON_DEPS} )"
+
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+pkg_setup() {
+ CONFIG_CHECK="~BT_L2CAP ~INPUT_UINPUT"
+ linux-mod_pkg_setup
+ use python && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ if [[ ${PV} == "9999" ]]; then
+ git_src_unpack
+ else
+ unpack ${A}
+ fi
+}
+
+src_prepare() {
+ # Fix broken build system
+ sed -i "s:--disable-ldconfig:--without-ldconfig:g" "${S}"/configure.ac || die
+ sed -i "s:enable_ldconfig:with_ldconfig:g" "${S}"/configure.ac || die
+ epatch "${FILESDIR}"/${P}-underlinking.patch
+ eautoreconf
+}
+src_configure() {
+ econf $(use_with python) --without-ldconfig || die "configure failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ insinto /lib/udev/rules.d
+ doins "${FILESDIR}/60-${PN}.rules"
+}
diff --git a/app-misc/cwiid/files/60-cwiid.rules b/app-misc/cwiid/files/60-cwiid.rules
new file mode 100644
index 000000000000..80689062a871
--- /dev/null
+++ b/app-misc/cwiid/files/60-cwiid.rules
@@ -0,0 +1,2 @@
+# make possible to use cwiid device as user
+KERNEL=="uinput", MODE="0660", GROUP="plugdev"
diff --git a/app-misc/cwiid/files/cwiid-20110107-underlinking.patch b/app-misc/cwiid/files/cwiid-20110107-underlinking.patch
new file mode 100644
index 000000000000..b60f379fc9cc
--- /dev/null
+++ b/app-misc/cwiid/files/cwiid-20110107-underlinking.patch
@@ -0,0 +1,31 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Aug 14 23:04:03 UTC 2012
+Subject: build system
+
+fix build for linkers that don't permit underlinking
+
+--- configure.ac
++++ configure.ac
+@@ -69,6 +69,8 @@
+ AC_MSG_ERROR([linux/uinput.h]),
+ [#include <linux/input.h>])
+
++PKG_CHECK_MODULES([BLUETOOTH], [bluez])
++
+ AC_ISC_POSIX
+
+ AC_ARG_WITH(cwiid-config-dir,AC_HELP_STRING([--with-cwiid-config-dir],
+--- wmdemo/Makefile.in
++++ wmdemo/Makefile.in
+@@ -6,9 +6,9 @@
+
+ SOURCES = wmdemo.c
+
+-CFLAGS += -I@top_builddir@/libcwiid
++CFLAGS += -I@top_builddir@/libcwiid @BLUETOOTH_CFLAGS@
+ LDFLAGS += -L@top_builddir@/libcwiid
+-LDLIBS += -lcwiid
++LDLIBS += -lcwiid @BLUETOOTH_LIBS@
+ INST_DIR = @bindir@
+
+ include $(COMMON)/include/app.mak
diff --git a/app-misc/cwiid/metadata.xml b/app-misc/cwiid/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/app-misc/cwiid/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/dailystrips/Manifest b/app-misc/dailystrips/Manifest
new file mode 100644
index 000000000000..985df8934a26
--- /dev/null
+++ b/app-misc/dailystrips/Manifest
@@ -0,0 +1,6 @@
+DIST dailystrips-1.0.28.tar.gz 58713 SHA256 dc54d8559d378fb4115a5605cff5d0e45a69f6ed1539f4aa31d6e13231c362ca SHA512 a5388d5bd45ce1b8b22420c3d53bbbf4d26fec9737c6edca3b579126443e4f88ae5a7ce5c6770264ca96ea1488ab69b73831ab6bbd20e0f68854fb08714565cb WHIRLPOOL 19abde3f088c549f829c9f2f55c58c5ae2c8a045c5c4c37e03b1cae6a20faed98e52650d973e1ac93e4605899427deba4c5628e674cc4ff5130876ad05b2f020
+EBUILD dailystrips-1.0.28-r2.ebuild 810 SHA256 9499ce379c32c1e547791b2c5335f5309b2bc6a482dd54696a732cf3171dfbac SHA512 ef444ddf3c8caee991aae8e23fe013b84be795640243ff10f6c3c5af61ec09e4c21a732661c1576dbc752766ff2b2b2c322a6fbe9083f95b7256740fc405a618 WHIRLPOOL bac9476b442bf28279c69d52eaf27162533819d6a32580c38430c19193fb22f91da9ec69efc231df3c753ffe56ad6d7283ae0d1e700b311e6240fbe80ab03a02
+EBUILD dailystrips-1.0.28-r3.ebuild 752 SHA256 8583c68e73608c101e1bdd59aab0d43683a09342b93c518af06e6dbc3b3b3aed SHA512 52fd790664043171c0627e84a3a285336d29a20673677b398181f39db9786859cfb0626044fba3b4cfbe289db3cf5f4e2d404f832511b47ccd13eea8657edf66 WHIRLPOOL 357d5ff38735ac6c2b81a78ebb84aea462bfee49ed9d7103d86cbe0984d7a931bfff5b1742e595a679184bf165e31e6b293091de56387b041feb9b99961c969d
+MISC ChangeLog 2542 SHA256 5be8cb4b11151596cf079018bf557104e23918eb9994bdd0b1d6ee0361a2cc06 SHA512 7e894531b40ab078ce03662ec7a297d66baf7d2aa210cc2abeab0ac6e9d41c515e4cb128685858db9ba5ae634314ddfb8ae2905fa8f7e7f3b8c0bc4bf6655348 WHIRLPOOL 98ac05546aff526166c55937bc8e47fbd9f694cf75c89499c38657bef7f9e5d6f166b42177fcbcac849905c9cb22d196954ed62ef01a17c88f444f34c5616c0d
+MISC ChangeLog-2015 3161 SHA256 b8cdce4571497cb408701ad6f228195f1cf9b49b221ee7ac4d218f3e4c5c73e7 SHA512 045289d3db2318082ed3c69f1ee1809ee314d09cf17f37e65518da9104f127a5ce20efbd0e9a65a103c7e552ea86c253e48219c1e60af8ede5c3847f580fa4df WHIRLPOOL f37eac05e17a18ce40692cb3fd50ea1c47843637385f10b2b7f25c96e60f087caa2b91ff8999c7d6f931add81feb209771ead03fc96d3f15d9664cc4f3166927
+MISC metadata.xml 248 SHA256 2d248ffc347bc733a37d201dfdf76a146d84634ead379c5986693a1af1e6c7ee SHA512 d08bc57fb26bc08dd2c8eb96219fcf98dd63b1e9ac4725dd0bc246ec90db63ed13cf9653d94ad11789ae3efc933d9ed9781bbb4db6f439c5596bac12011b7552 WHIRLPOOL bdcad488325f8238e4b1a6d5f1de05020dc4e841147880c73815c805d8f98ffce1c187ff68e43358c1db0e8876e47a7becee105f6b2cab8eee6ea1246c22f495
diff --git a/app-misc/dailystrips/dailystrips-1.0.28-r2.ebuild b/app-misc/dailystrips/dailystrips-1.0.28-r2.ebuild
new file mode 100644
index 000000000000..d60512a65711
--- /dev/null
+++ b/app-misc/dailystrips/dailystrips-1.0.28-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="dailystrips automatically downloads your favorite online comics from the web"
+HOMEPAGE="http://dailystrips.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dailystrips/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/libwww-perl-5.50
+ dev-perl/DateTime
+ dev-perl/TimeDate"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:/usr/share/dailystrips/strips.def:/etc/strips.def:" \
+ dailystrips \
+ || die "sed dailystrips failed"
+}
+
+src_install() {
+ dobin dailystrips dailystrips-clean dailystrips-update \
+ || die "dobin failed"
+ dodoc BUGS CHANGELOG CONTRIBUTORS README* TODO
+ insinto /etc
+ doins strips.def || die "doins failed"
+}
diff --git a/app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild b/app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild
new file mode 100644
index 000000000000..1926018367f7
--- /dev/null
+++ b/app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="dailystrips automatically downloads your favorite online comics from the web"
+HOMEPAGE="http://dailystrips.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dailystrips/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/libwww-perl-5.50
+ dev-perl/DateTime
+ dev-perl/TimeDate"
+
+src_prepare() {
+ sed -i -e "s:/usr/share/dailystrips/strips.def:/etc/strips.def:" \
+ dailystrips || die "sed dailystrips failed"
+ default
+}
+
+src_install() {
+ dobin dailystrips dailystrips-clean dailystrips-update
+ dodoc BUGS CHANGELOG CONTRIBUTORS README* TODO
+ insinto /etc
+ doins strips.def
+}
diff --git a/app-misc/dailystrips/metadata.xml b/app-misc/dailystrips/metadata.xml
new file mode 100644
index 000000000000..5f283232f3b3
--- /dev/null
+++ b/app-misc/dailystrips/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">dailystrips</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/datefudge/Manifest b/app-misc/datefudge/Manifest
new file mode 100644
index 000000000000..1fe08e297137
--- /dev/null
+++ b/app-misc/datefudge/Manifest
@@ -0,0 +1,6 @@
+AUX datefudge-1.17-bsd.patch 2751 SHA256 8aa05941e1ad690dc2a8b0266fbd9b39d8e24c6d77c2b56fcd31e732e25dda80 SHA512 390ff54428a4ffbdf5cc383aa6229f3ed7be7070d62567a0a04bf169efb6e7fe21c756d34d7865f51523a26204e6014edf936800523723d5f8370997f06dd858 WHIRLPOOL 8f48fb8f853c259424170a0dcd96cfcd6b14ad9f6107b90a08a217461a8ddb6d127ac861cdf244beea34694cd268407b22384889feb152286b9ae73978aac4df
+DIST datefudge_1.17.tar.gz 12606 SHA256 ff6c566ef6d587dce27396c15b178fafc3c3d8a0275dd6bbd5523b88badabec4 SHA512 6d335f2c1f42792756d3a81264be0bdf4cde5efab86bec5b62de9ccb2488deaff67e4a4f6c7984fa7a5336156df2d76e366bf486436052d2c5ee5ff88067335e WHIRLPOOL 1c107cea05910b900e249338969cf89448cd81e6de61ae1731df37160ffb399912c45d25d1f3f1bf95d0bb7f8d42139916bf13f5a37e4b68362d16f10bc9d718
+EBUILD datefudge-1.17.ebuild 972 SHA256 cde79199c78f96e9f52890d2693ed38c41930b1e5da21dad82568c5264816a96 SHA512 5490d0eeed9d1c2ac6a1f2aff174f8b5411876983bbcf1e8194f8d882617563d3a2ffac14e5e0b4d4a72727ea0b85b08c5461a90366626f264667fb049e67b86 WHIRLPOOL 55fb77baef7268860f59cb45f6d6f5a54c3f32f977bd1c115e2b81cefb040ebf26c3f55ca0464c5ab8f03fe871d486b690bc7165bb843148ce5a945292c39794
+MISC ChangeLog 2334 SHA256 285bc118938530d3f4083a70e3e9a921b7d077c5d5dc8fbdbf04ba6f5d8fb918 SHA512 05df138ef2947774eae1034cf3b3afd72944e1cccd8e5d560562c99e20fc373b5923c0d6b17900160bb4dcfe0f226ff77c492d99ead1ff78e0d6b2adf24da7b8 WHIRLPOOL be69a8f98ef47812b98dffbb3639b836e0574f7aa4f8b621fcf84d94d8f920823b5c8d9cdcb021776dce3b5670da54708b337f09724c262cf2a200eefe4fa34f
+MISC ChangeLog-2015 3232 SHA256 427d4340f7b5ce35e4d0bad00e87441c27876c4f59e0ab390cdfa8bf39768841 SHA512 f148f7b8122fa13da23b99ac6e4294152e8229fd380fa448a64356dfc4413acdd4e89b0dc3f47564901b54e12cccbb6994acdc7ce1bc3927c7b22c4d04bb5bd8 WHIRLPOOL d4acc9b2a390a1c7e0a96bbc343f95e215ebe68bb2cc1d25655eb88653d77a88e33584b3b25114ffa7c72c990a1f4fce24051565b78e09eb53e019f0628ce450
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/app-misc/datefudge/datefudge-1.17.ebuild b/app-misc/datefudge/datefudge-1.17.ebuild
new file mode 100644
index 000000000000..d26c1c7f125a
--- /dev/null
+++ b/app-misc/datefudge/datefudge-1.17.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit multilib toolchain-funcs eutils
+
+DESCRIPTION="A program (and preload library) to fake system date"
+HOMEPAGE="https://packages.qa.debian.org/d/datefudge.html"
+SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+src_prepare() {
+ use userland_BSD && epatch "${FILESDIR}"/${P}-bsd.patch
+ sed -i \
+ -e '/dpkg-parsechangelog/d' \
+ -e "s:usr/lib:usr/$(get_libdir):" \
+ Makefile || die
+
+ if use prefix; then
+ sed -i -e '/-o root -g root/d' Makefile || die
+ fi
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" VERSION="${PV}"
+}
+
+src_install() {
+ emake DESTDIR="${ED}" VERSION="${PV}" install
+ dodoc debian/changelog README
+}
diff --git a/app-misc/datefudge/files/datefudge-1.17-bsd.patch b/app-misc/datefudge/files/datefudge-1.17-bsd.patch
new file mode 100644
index 000000000000..2f2a7dac9be3
--- /dev/null
+++ b/app-misc/datefudge/files/datefudge-1.17-bsd.patch
@@ -0,0 +1,58 @@
+diff --git a/Makefile b/Makefile
+index b2f81bb..35da75e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -12,17 +12,17 @@ compile all: datefudge datefudge.so
+
+ install: datefudge datefudge.so datefudge.1
+ install -d $(DESTDIR)/usr/lib/datefudge/
+- $(INSTALL_PROGRAM) -o root -g root -m 644 datefudge.so $(DESTDIR)/usr/lib/datefudge/datefudge.so
++ $(INSTALL_PROGRAM) -o root -g wheel -m 644 datefudge.so $(DESTDIR)/usr/lib/datefudge/datefudge.so
+ install -d $(DESTDIR)/usr/bin/
+- $(INSTALL_PROGRAM) -o root -g root -m 755 datefudge $(DESTDIR)/usr/bin
++ $(INSTALL_PROGRAM) -o root -g wheel -m 755 datefudge $(DESTDIR)/usr/bin
+ install -d $(DESTDIR)/usr/share/man/man1
+- install -o root -g root -m 644 datefudge.1 $(DESTDIR)/usr/share/man/man1
++ install -o root -g wheel -m 644 datefudge.1 $(DESTDIR)/usr/share/man/man1
+
+ datefudge: datefudge.sh
+ sed -e 's,@VERSION@,$(VERSION),g' < $< > $@
+
+ datefudge.so: datefudge.o
+- $(CC) $(LDFLAGS) -o $@ -shared $< -ldl -lc
++ $(CC) $(LDFLAGS) -o $@ -shared $< -lc
+
+ datefudge.o: datefudge.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+@@ -39,8 +39,8 @@ test: compile
+ export TZ=UTC ;\
+ ret1=1; ret2=1 ;\
+ for i in 1 2; do \
+- export DATEFUDGE=`LC_ALL=C date --date='yesterday 0:00' +%s` ;\
+- dt=`LC_ALL=C LD_PRELOAD=$(CURDIR)/datefudge.so date --date=12:15 +%F.%T` ;\
++ export DATEFUDGE=`LC_ALL=C date -v-1d -v0H -v0M +%s` ;\
++ dt=`LC_ALL=C LD_PRELOAD=$(CURDIR)/datefudge.so date -v12H -v15M +%F.%T` ;\
+ exp="1970-01-02.12:15:00" ;\
+ [ "$$dt" != "$$exp" ] || { echo "OK"; ret1=0; break; } ;\
+ echo "failed: expected: $$exp, actual: $$dt" ;\
+@@ -49,7 +49,7 @@ test: compile
+ echo -n "Running a simple perl localtime() test... " ;\
+ pscr='@t=localtime(time);$$t[5]+=1900;$$t[4]++;printf "%04d-%02d-%02d\n",$$t[5],$$t[4],$$t[3];';\
+ for i in 1 2; do \
+- export DATEFUDGE=`LC_ALL=C date --date='yesterday 0:00' +%s` ;\
++ export DATEFUDGE=`LC_ALL=C date -v-1d -v0H -v0M +%s` ;\
+ dt=`LD_PRELOAD=$(CURDIR)/datefudge.so perl -e "$$pscr"` ;\
+ exp="1970-01-02" ;\
+ [ "$$dt" != "$$exp" ] || { echo "OK"; ret2=0; break; } ;\
+diff --git a/datefudge.c b/datefudge.c
+index 8c86652..fc7e3d6 100644
+--- a/datefudge.c
++++ b/datefudge.c
+@@ -14,7 +14,6 @@
+ #include <stdlib.h>
+ #include <dlfcn.h>
+ #include <assert.h>
+-#include <features.h>
+ #include <unistd.h>
+ #include <time.h>
+ #include <sys/time.h>
diff --git a/app-misc/datefudge/metadata.xml b/app-misc/datefudge/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/app-misc/datefudge/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/app-misc/dateutils/Manifest b/app-misc/dateutils/Manifest
new file mode 100644
index 000000000000..d4a465950f75
--- /dev/null
+++ b/app-misc/dateutils/Manifest
@@ -0,0 +1,7 @@
+DIST dateutils-0.4.1.tar.xz 611460 SHA256 6ccce48975fc4d3af2e27c7893e181c46ab5df1cb37e4a428b4b521a77d55278 SHA512 c13461de6dad483b0014692a2319a7bf9ed1677415b8ee168131b397086f75725eb8b4e833d8b4a22f4aa726d6aca74be2597c2e07ef75a036cfea9bf67ccf1b WHIRLPOOL 2b6770306363f2653b0ddbdb12badc19927179dab707f5460c48f3219b96a475b5a0b6d451de5bba0f6567c7d348c40a6a2fdcf2afecc1e42034c832f7bc0177
+DIST dateutils-0.4.2.tar.xz 620196 SHA256 ecdae892584098ee9d8f5b14bd555fd63e09d1199cb75aac6b02f09c7e2eb46b SHA512 0b6e98bd9402dc3629122c3d68ab54df547ce779806661cc01df3625ab7cedb429d943ef46e151653283c1ac6c557f4bf14b3b5adaafbcac1d0a86c6d12895fd WHIRLPOOL 2de8ca88d0ce36f2b2f4af4af8e57a02adc5230cf937345c9e58704c7887b2d03427ad3aa076a54e6bce2ece8dc7320c9219c7e391c7227dc04d8d77825b80ef
+EBUILD dateutils-0.4.1.ebuild 613 SHA256 c647a8f3ca18d138b3c5bbcf57e21f14c56f19ef4a97b364a051e65d49b6f997 SHA512 d1b489a9ae82c30cf2f5160d86dffee4e1b180361d50e440f2f59d392d82056e65fe9d1c04906c65836de1293a026bee5c1cc8674454d92d7ba00e609b3e361a WHIRLPOOL 3527ea19600c98940dcaa99a2f36ea86f7d43c92c6a6bbdd377e461dcbeb76b0242ee4ca7f2813ce8b393113120b853bed5fd6d53343a252bf9841acf8eae860
+EBUILD dateutils-0.4.2.ebuild 609 SHA256 eb21f3908f16ca9c1a9434d78ab851f469540c205c810e1c2d2f9e303e85e5f9 SHA512 a6d34dcf92bd0de32e8fd6debdcd8ebd6bfb368ffdf9f0285e1be385ce154e774b31c2ff72fdb22492fb567d13aab2d286b220be250752395b72cf8a57d112ea WHIRLPOOL 4732d99866a67a9f4d4828c888a7b4e8e23579ae6883e0979b9972c9e7214c50840f86879496611845ebd487cef9cd5c8173bdd70e0c5e4d2afe3e1d8c148336
+MISC ChangeLog 4143 SHA256 4100b89889ab8b2822b5882406479686fed6f0cb142b3146e17ccfa9e9a90a30 SHA512 351283880d8ebc04ddc7df4c9cfbebb814367cc0fbf7085ea7f887f0e105e834b93755bd55850ca54b80238c5c347b2e18ce784efe60b8e7dcddee319b7e00c2 WHIRLPOOL 630c099248f6f2f2db2f97a7cf7fe677fbb244f828cd9c983e83b7d8c5a1114a46b1a3ba1823b6019025e2958b51855f4f87a1efc4c00c11b211d0ce1054d2c9
+MISC ChangeLog-2015 3488 SHA256 7e33c6c4b6f912855a878f94529de381c881b1833edaefd54ac5b789a65394be SHA512 9e6d06629619fb2337d077bf51b628cce1445aabc20b2c618911c2eae1126cdbfc2cfcd9a538a367592d3f0e01fe6e751c685f3323beedb6d118fbf42a088028 WHIRLPOOL 7fd6d64b3263671b7e84b074677dc3582b32e500f11eb7d582781178002aaaed774ca8ed4f6221d97c7fb10ae0874f90b93003894963975cf34b3b18e968cd04
+MISC metadata.xml 333 SHA256 dc4c49d493d5b55baae1a696607fcff3d04156afebd2239e177371f251aac0c8 SHA512 a1308350546b711fdddab0b90f257fcffa15f74855d9a08172b0a38d4d859b748150e17270b1534dc97d949143be5f39d8822dfcfc030b2a60f601c3551b9172 WHIRLPOOL 041249797f20972f828e7db1d6c1bff7dfae0a5290013ec1315b1dc0c0a279ba4acb5e77d5778e0825226e55f19a59114d2eb8dc47043bf113740460f2ceba85
diff --git a/app-misc/dateutils/dateutils-0.4.1.ebuild b/app-misc/dateutils/dateutils-0.4.1.ebuild
new file mode 100644
index 000000000000..f9a24de86d03
--- /dev/null
+++ b/app-misc/dateutils/dateutils-0.4.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="command line date and time utilities"
+HOMEPAGE="https://hroptatyr.github.com/dateutils/"
+SRC_URI="https://bitbucket.org/hroptatyr/${PN}/downloads/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/xz-utils
+ sys-libs/timezone-data"
+
+# bug 429810
+RDEPEND="!sys-fabric/dapl"
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_test() {
+ # parallel tests failure
+ emake CFLAGS="${CFLAGS}" -j1 check
+}
diff --git a/app-misc/dateutils/dateutils-0.4.2.ebuild b/app-misc/dateutils/dateutils-0.4.2.ebuild
new file mode 100644
index 000000000000..63d7c2a12439
--- /dev/null
+++ b/app-misc/dateutils/dateutils-0.4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="command line date and time utilities"
+HOMEPAGE="https://hroptatyr.github.com/dateutils/"
+SRC_URI="https://bitbucket.org/hroptatyr/${PN}/downloads/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/xz-utils
+ sys-libs/timezone-data"
+
+# bug 429810
+RDEPEND="!sys-fabric/dapl"
+
+src_configure() {
+ econf --docdir=/usr/share/doc/${PF}
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_test() {
+ # parallel tests failure
+ emake CFLAGS="${CFLAGS}" -j1 check
+}
diff --git a/app-misc/dateutils/metadata.xml b/app-misc/dateutils/metadata.xml
new file mode 100644
index 000000000000..62a5cc9281a0
--- /dev/null
+++ b/app-misc/dateutils/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="bitbucket">hroptatyr/dateutils</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/datovka/Manifest b/app-misc/datovka/Manifest
new file mode 100644
index 000000000000..dfc3284fbd94
--- /dev/null
+++ b/app-misc/datovka/Manifest
@@ -0,0 +1,9 @@
+DIST datovka-3.0.3.tar.gz 671555 SHA256 96bbc89fb2fe0c6a306d80260945b1b4eb089a061f9e324139b9a238d8588c3c SHA512 c3dfa23125849fb1c5691a4ad6077fedd307b8c0417c72e014876f56c1185a2da73478927fb594cac45ada77a71a3798f57a75032a4d83cd81c194fe3257397d WHIRLPOOL 4ab43452a51130ce021fd23e292f6922cd6d16670b8e65f270747b75b35b8fd085962fe6086ed3ae8f0797e4e764e5e403b7694dd82396a7c1d2b4dacb81262f
+DIST datovka-4.7.1.tar.xz 2347736 SHA256 65d10486505b06edf12de24dc79c1ae702a3ebefb35bc0b8fa6f301f657d2236 SHA512 b086f74bfc13bda0631d7dec3fc2523fcf6395e6874542f04173ddd7315ee6fbfa55e60b8d3e3b5dc7e6c2f0ce56c97fff9d9d1947ddfce5ad1613ac30af9d8a WHIRLPOOL 21f137cccc2b6612c7a4b98228297c5e5d0e519d2e10d2013f25db57baa0c3b09b658b51c5895f95abfb7aa988146ef423aa210f4705fad14d098c1159a194d9
+DIST datovka-4.9.2.tar.xz 2373540 SHA256 b1d10acdc6f6347f0b976f4c6f3ebdf25feb7f1a9bbdc745cd8a813ae2bc2f5d SHA512 a906a032d138be33f6011c9e5869c5c8ae44f305279fc531e6e21e7911a04d3f3f2a360d561f0553c581806fe3ac8344dbb30bcdc604e79db37fc948f12a7e1a WHIRLPOOL 00becd3917cf4584ca4fa26aabbb5be245cae1545f5a9e0bb51020137523b33f89a3a6cf913bbe92f25cfba59e1afbd1ef79b6829ebeb235b78d83c7e709268c
+EBUILD datovka-3.0.3-r1.ebuild 664 SHA256 841a499205c586b7cad5188405368f0622b53c85e27e1c88931ea58148f03665 SHA512 9531c13e5ecc9d26fbee745f7399132b18adf3c595dcf91ac0cb5ea55252614ba53e54b55f54f6fefd3e34d286dc08b95dc67a27d551c3e01b2e6a472c398b0c WHIRLPOOL db272f3dd43c7c06ff43570ab61cff11c1191bd837dbe5c9a4306028e2b7545459b6d9463789efb652c4d74ea48fe61095bc60601904c886519268bf9a2101be
+EBUILD datovka-4.7.1.ebuild 982 SHA256 7d3e790ef9b17576c214419707390cb08409d141aa4e374f9d2c29552c8114d6 SHA512 93b130ac994704500718e7729b2f1965ac93227c2b215d3b67c39b08446741e5c23099ce27e88e99b92b255b3f11dde4dea85626987abd94465e7bc60c938e30 WHIRLPOOL f55c51143e0749ed1d6f92a38227e545065625cf8bb39e1749a6002930845854799cead9d38288989e5c2234e05dba57025e57d8149a4470884d50c842f8195e
+EBUILD datovka-4.9.2.ebuild 989 SHA256 06c367ad0491bd18b64d295142900f3c121a09f134bf7ed787ff55f1530b5c1b SHA512 48753345ccb14d1328ba38211f7577b370e1c9835bb5d51bbfde8a60df02eba182eb4166fcb2deff1f6f0161e3724187910bdba59a56f55c0ca62d8698be7275 WHIRLPOOL aab8b1d15bed2a23d3ba2634d102a10a196fd64299d692ccdceefc7bd08b7eac30dee35093bf4745ab7eb8e53f8d233d4aa0d3db283382d101c8eaba1b50eeda
+MISC ChangeLog 2349 SHA256 da0b07941fcfdc9b2930a3d628f920fc4df6ea7331c656f0170e68c6fca0c6a6 SHA512 d54b36920293e1dbbad8e3b2c5f7457e4167b04ef88f5e6adc637ad0602dc9677fbbd09e07815ab549a752c640082708f0e9cc49a9742a66a5567a058134ce04 WHIRLPOOL ca78c8f207d1ab32ff74d1cbd74a54a43ed7981517dd361b85646173a0ec2da515d0eff4e7fba667a0ed201210783b43982b1e1fcdb75ee4b814c19dc407d69e
+MISC ChangeLog-2015 2899 SHA256 0742f603c58e8d11b0339ae0303f030473011b907671c073e0bf795278f3dfbc SHA512 9df70c3c5d696bbaff956ad5e1328cce2d8e9f6049d99391622ff88fc34a6563ca92043f7d7224e408990c6e46e25d219bb6b80744bd0db31792ec4c1e183008 WHIRLPOOL 18915dacef226791149fed63f9d9fc3f37104d68140a6210806db3dbe913b7b3b07681f1171c199634a0568752d08acb15d7b3ff28b2e64fff9517be1259c2aa
+MISC metadata.xml 444 SHA256 664fa26c4c1d956bfe8d95b29f5048d71e36971e6a5a5e3ca21f837989d441e0 SHA512 d656cab5b89d7f10ee5c7046081697b248e9ac57752a1056a16c3d7e4b423e71ebc9c91528a5b99f0773f5247af90d1647c2877d5ea1793acb78e3af60a73fc6 WHIRLPOOL cbbaf2f1c74cc1c06dda6d5c6e5ec70eab778e59d8b956de64dd7743f1f674025985722c284a7381afd17b132ae0e6c750f75294ba13f818396accb4a4cb41ad
diff --git a/app-misc/datovka/datovka-3.0.3-r1.ebuild b/app-misc/datovka/datovka-3.0.3-r1.ebuild
new file mode 100644
index 000000000000..24c42c3aa1e3
--- /dev/null
+++ b/app-misc/datovka/datovka-3.0.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="GUI to access Czech eGov \"Datove schranky\""
+HOMEPAGE="https://labs.nic.cz/page/969/datovka/"
+SRC_URI="https://www.nic.cz/public_media/datove_schranky/releases/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/pyopenssl[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ media-fonts/dejavu
+ >=net-libs/dslib-3.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
diff --git a/app-misc/datovka/datovka-4.7.1.ebuild b/app-misc/datovka/datovka-4.7.1.ebuild
new file mode 100644
index 000000000000..26f6ff8da71b
--- /dev/null
+++ b/app-misc/datovka/datovka-4.7.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="GUI to access Czech eGov \"Datove schranky\""
+HOMEPAGE="https://labs.nic.cz/cs/datovka.html"
+SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# minimum Qt version required
+QT_PV="5.3.2:5"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.1
+ >=dev-qt/qtcore-${QT_PV}
+ >=dev-qt/qtgui-${QT_PV}
+ >=dev-qt/qtnetwork-${QT_PV}
+ >=dev-qt/qtprintsupport-${QT_PV}
+ >=dev-qt/qtsql-${QT_PV}[sqlite]
+ >=dev-qt/qtwidgets-${QT_PV}
+ >=net-libs/libisds-0.10.5
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-qt/linguist-tools-${QT_PV}
+"
+
+src_configure() {
+ lrelease datovka.pro
+ eqmake5 PREFIX="/usr" DISABLE_VERSION_CHECK_BY_DEFAULT=1
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+
+ docompress -x \
+ /usr/share/doc/datovka/AUTHORS \
+ /usr/share/doc/datovka/COPYING
+ dodoc ChangeLog
+}
diff --git a/app-misc/datovka/datovka-4.9.2.ebuild b/app-misc/datovka/datovka-4.9.2.ebuild
new file mode 100644
index 000000000000..249b0b29141e
--- /dev/null
+++ b/app-misc/datovka/datovka-4.9.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils
+
+DESCRIPTION="GUI to access the Czech eGov system of Datove schranky"
+HOMEPAGE="https://labs.nic.cz/cs/datovka.html"
+SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# minimum Qt version required
+QT_PV="5.3.2:5"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2
+ >=dev-qt/qtcore-${QT_PV}
+ >=dev-qt/qtgui-${QT_PV}
+ >=dev-qt/qtnetwork-${QT_PV}
+ >=dev-qt/qtprintsupport-${QT_PV}
+ >=dev-qt/qtsql-${QT_PV}[sqlite]
+ >=dev-qt/qtsvg-${QT_PV}
+ >=dev-qt/qtwidgets-${QT_PV}
+ >=net-libs/libisds-0.10.7
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-qt/linguist-tools-${QT_PV}
+"
+
+DOCS=( ChangeLog README )
+
+src_configure() {
+ lrelease datovka.pro
+ eqmake5 PREFIX="/usr" DISABLE_VERSION_CHECK_BY_DEFAULT=1 TEXT_FILES_INST_DIR="/usr/share/${PN}/"
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+ einstalldocs
+}
diff --git a/app-misc/datovka/metadata.xml b/app-misc/datovka/metadata.xml
new file mode 100644
index 000000000000..2cdc78ef9a4e
--- /dev/null
+++ b/app-misc/datovka/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<longdescription>
+ A GUI for accessing ISDS (InformaÄní systém datových schránek
+ / Data Box Information System) SOAP services as defined in Czech ISDS Act
+ (300/2008 Coll.) and implied documents.
+</longdescription>
+<maintainer type="person">
+ <email>amynka@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/ddate/Manifest b/app-misc/ddate/Manifest
new file mode 100644
index 000000000000..4141d6a6a6a4
--- /dev/null
+++ b/app-misc/ddate/Manifest
@@ -0,0 +1,5 @@
+DIST ddate-0.2.1.tar.gz 7757 SHA256 7602ccf2065e88ffe57a37db3e33eaa51e61f4e4f722b03842162d91f9726bf6 SHA512 377ae4be0ddd2386de726603116ec64a524f2f4263cb30d2cd8f10024659f5fee552cf13de45cbaad36c93d2dfd16c0667993d67a37ba2276a96ca052265c714 WHIRLPOOL 27acbf78448f1bfbfac5184a453b9a73481260c2b6190be0b0545b204d2522d4a0fcac6b4258e0a7fb85768466a38f41bc7bd1a1c5417ed62f2b91f650e87fb2
+EBUILD ddate-0.2.1.ebuild 638 SHA256 f6dc1776c0b3e68c267124a12048bbeca8144dc2098d5939f69afb8c3a3b637e SHA512 34ea86d679a1cdcb5994340727cf38d2342fcdcbd6317af309cccae2e7b8fe3400ed9f21a2b8228a566c383669175fdb4c76379d02d677afbe943f2884a845ff WHIRLPOOL 73ce6da2226b675d70e2f36095be0f44a2348f1567e494ff049bf6c9f43dae6f12602a1886c8402a2a92a0a513e4fd5b133e3239cf858ade89c00fc46229d82c
+MISC ChangeLog 2636 SHA256 09ee7b77c9c7b5d25413f3f673e02935a5cc2e6331385d5c6de550c2b56b5b40 SHA512 3ec349dcfe8338fd5ef896cce4a5ac3bc4e6b9c41d0bc281768555fde58511669c1b7b3757ee77979061faab9459b7f981f1adec74dbe00d7624b0e683468f44 WHIRLPOOL 05685a3952bea94185c6acc12d13114bb6cd3ab4f078f926ceda7d6b407c7af9c04080599b70a6cccfdf9f61d64fff64cfeb6ee5185118c32bf709faac68b4d3
+MISC ChangeLog-2015 424 SHA256 239b94ea9235d68c86aa754596fa6e694da48c594aa336c8e75aba2b0dac9359 SHA512 21a10bc1844d2d9b210fdb9c3ce5f6c79d04af75b8777171bef13a1a273741f0726115442d03199232d06ca0bec864b08c623f0e6e6b808b77693dfe4e79d5ee WHIRLPOOL 22bb18c9c57b7103164981a3f3c75b5407144477d5cc083a4ede63a53860604689adcd3ab30d26f1dbc994a0f7a8640f54a2ccafb1f5611a8d107c7a37102eed
+MISC metadata.xml 219 SHA256 a3f81d1fdc862a7e77bd8aa79b7d76fd4468e59bc6540be47b9210f4acf09b1b SHA512 6e64ad59ba9b06e33a75001a02ac552d3e5127ddfadeb4a06afa90d334718ec1516c71c6195538cb3fbca9998acff0239ce70a6a9b1d8dc393a1ff02fc24f168 WHIRLPOOL cd59010587292d1da1cc47ca8b1a8dc9cc2fc0ba83ebffd8ee3567775b567d7c7a6147dd205771e87993228a1ae866d3ab3b75e4c25c4c3bcdbe2bdf143a642c
diff --git a/app-misc/ddate/ddate-0.2.1.ebuild b/app-misc/ddate/ddate-0.2.1.ebuild
new file mode 100644
index 000000000000..15f0af09a9fe
--- /dev/null
+++ b/app-misc/ddate/ddate-0.2.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="Perpetual date converter from gregorian to poee calendar"
+HOMEPAGE="https://github.com/bo0ts/ddate"
+SRC_URI="https://github.com/bo0ts/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="!<sys-apps/util-linux-2.20
+ !<sys-apps/util-linux-2.23[ddate]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e '/gzip/d' CMakeLists.txt || die
+}
+
+src_install() {
+ dobin "${CMAKE_BUILD_DIR}"/${PN}
+ doman ${PN}.1
+ dodoc README.org
+}
diff --git a/app-misc/ddate/metadata.xml b/app-misc/ddate/metadata.xml
new file mode 100644
index 000000000000..62bf9ab7eebb
--- /dev/null
+++ b/app-misc/ddate/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">bo0ts/ddate</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ddccontrol-db/Manifest b/app-misc/ddccontrol-db/Manifest
new file mode 100644
index 000000000000..fc7d299ff174
--- /dev/null
+++ b/app-misc/ddccontrol-db/Manifest
@@ -0,0 +1,5 @@
+DIST ddccontrol-db-20061014_p20121105.tar.gz 62043 SHA256 6da0e41af98549a0cda31323dba6a4b87dbc08d5575f8c6b7c49379b88f4fd2e SHA512 323c2ac498f634d20a183ea96e67868b8f3e8bb26da0133b91848b06accbef5605b3d5ca56b4861a8d28d9da9a28b11579a2e1fcc248624835190cdb01943c80 WHIRLPOOL e6ddfbb369be0cfb2904f7d7ec91de2d8a6b3428f2461f491b3b85b2bab1f97fd2814436b57872d22d0d4434e24e0a9733e70af8719959b66fc48850eac4174a
+EBUILD ddccontrol-db-20061014_p20121105.ebuild 788 SHA256 988cfc280929b4d80d27da3d6439511cfe52f9596716a32490d3bff330cea9ad SHA512 8ccbdb0f3b5e5449fd07f8b6f76f362388479c7ab11ef4e10a20846eea003f0c7a85696f65ca40dd845b7535eab4f66360fa0cb54e8182f687ebd53201dd79ce WHIRLPOOL a72158881004349e6be1f1ced7228e60ec6e8571cca9e1ed0dfbdcedcef197248161c3e3c0d010ac4f8e9835609a7ac9a55101c033175f8fcd2fd1ad10e3d13e
+MISC ChangeLog 3401 SHA256 3a2cd96505ae33bd4cb3586c6ca96b403b4f87ee8c0b7a7124d502b1302787fb SHA512 f62177fa1bf526a300b8f91ca7eca5a4622dccc460c2f426b0f4e2a5fda2a01412004b7ddc61e2f31d9ce3905a43419a8e1ef1738cb5ac98c4a914fc2d759be2 WHIRLPOOL 2fc240dc8da32844e23286aaf2a3741fa4558c6b148cfcb8c0bb559d35b33ef343387c695c7a051e989b8c5308c441986d523bc128ba14ef00f44afbe463d301
+MISC ChangeLog-2015 3894 SHA256 df31fab8d9e82a0eb92f0d4153754bd303b9d8e6d969443a0c25943a29c3120b SHA512 1ea652082060b437e9f6c43a2075662deccbeb6236b629f74000cef7fa97eaadc7f05610075161d9a5c40709881b92124f2552da690338be3cea28d7af293ad0 WHIRLPOOL 1b61c726fe4c6cb9ff9fe0d7118cd3f90c3418ca2c250e5fb6dc41d958fbdd7077b1170ae7a597a3913b983338af4c08b44aab381278e83d11785925232eae5d
+MISC metadata.xml 318 SHA256 567effd9d433ae82799fc1edc84905327811422ff7a666b7c09d578d11c526aa SHA512 3ea6d2450579fd400199cc8c06193b9a0070c0efd4ed8016268d7e097ad35f5e0987fb1b6326076b736094df0c5976e33f1e4ef94ccccd789de6662f547d46ed WHIRLPOOL 4eaf2293c51e16c0b00de3cf2106948174f4df0c6576505b43c815efa1297e4f9e3497fd5cd668182b37923f42a75a232aba17d54b36664c0b6e7f0973de0d97
diff --git a/app-misc/ddccontrol-db/ddccontrol-db-20061014_p20121105.ebuild b/app-misc/ddccontrol-db/ddccontrol-db-20061014_p20121105.ebuild
new file mode 100644
index 000000000000..aa4bd4bb42ea
--- /dev/null
+++ b/app-misc/ddccontrol-db/ddccontrol-db-20061014_p20121105.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools
+
+DESCRIPTION="DDCControl monitor database"
+HOMEPAGE="http://ddccontrol.sourceforge.net/"
+COMMIT_ID="130da80af5cd5d2897ffeed63362262262c6944f"
+SRC_URI="https://github.com/ddccontrol/ddccontrol-db/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+S=${WORKDIR}/${PN}-${COMMIT_ID}
+
+RDEPEND="nls? ( sys-devel/gettext )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ dev-perl/XML-Parser"
+
+src_prepare(){
+ touch db/options.xml.h ABOUT-NLS config.rpath || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/app-misc/ddccontrol-db/metadata.xml b/app-misc/ddccontrol-db/metadata.xml
new file mode 100644
index 000000000000..c4fc6138be3c
--- /dev/null
+++ b/app-misc/ddccontrol-db/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">ddccontrol/ddccontrol-db</remote-id>
+ <remote-id type="sourceforge">ddccontrol</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ddccontrol/Manifest b/app-misc/ddccontrol/Manifest
new file mode 100644
index 000000000000..75e0eae581d5
--- /dev/null
+++ b/app-misc/ddccontrol/Manifest
@@ -0,0 +1,5 @@
+DIST ddccontrol-0.4.2_p20140105.tar.gz 177771 SHA256 14026465b1c1b3bd0fecfe3f199139f1365317a0974844c82aa783f2125e064c SHA512 7a28e9b81ee14e0431c57d372c8d43f861f61c35b441111e1f42d1aa62c333b0cc6a101dcb39d30e9661aaa85a02d755e4adef3a9b20a6952e1599e3ac12c72f WHIRLPOOL 55083597ab4e7e78d5315f114b257f3bfbadd1712ad5bd27e88d3b18ca694554ec51542b2b9a88bd7e21ffbdc7d4f82b80f1d43b5f16f90bdcc2edfb2421c7a6
+EBUILD ddccontrol-0.4.2_p20140105-r2.ebuild 2001 SHA256 cb186ec849076531f2125b8d7a4ea4c66cbca13b11d3c8c04fbcf0e7b814bb20 SHA512 de8abd28fc1061f67d3b6c54b4d78bf2210dc52a8046b35ff49bcfe0dfc36e60086e5074a12b5a7caa913ec53d45b51f3983d4ce9f368aa6126a292b668d79a1 WHIRLPOOL df9c931b5623fc8a67ba0fe1126d21e318965f76a1122155d1bd3180239720db9bdc2e7102afd5887f4c9c80fa397f6a46d24f2991ea8dd33e4f49928e859d5f
+MISC ChangeLog 3479 SHA256 bd488686e5734e94ecc72994892a3b2cf33f9624064b36acb03afba62c3e1d8e SHA512 a4c841983ca1bddbdd0b397996a878b0242dbeebcfff88dd31e5559d63b9c79354f6b7fb81212bf8b36692f67a7fb32dd6dbf4b64d4c44c51ff4f911a0d74bd5 WHIRLPOOL 1afd42e94e7cd28f7449a6ef83106337a2d1b7274cc7a6a6adbab5b701907072676c026dcc8163277d9c8210a137f6d43f4b422ee4ac1ef26260869e271a1844
+MISC ChangeLog-2015 7514 SHA256 932fa1555d2f49b78aaf53e4fd74f5410e944ac858bed715ce251aacedcd3a61 SHA512 1212d76e67980017e07ecce53a196178fd1d255130113124745391c05f9800f2739bfc135985b95965207d3d11d8add53b69b2cf1796ab8ea9f0a97a710b0b9b WHIRLPOOL 375002300068532a0ff0bff56525cdc625a604c576f4ade41de569f7957226672fca1c8efffdaa98f3870f1f78445432b4cfaa1c39b1c04e0ac010f2248c6822
+MISC metadata.xml 417 SHA256 180a65e4076c734a22d3d3302b8faac5719df6f344fa38e813c2c367ccd1ef3a SHA512 8e2d095bfa5e56a10f9187894c34d1b8a4e6b3562c10c29ce374f5efde918f1d097e2678f044a838b31778bd7f9333c7fa7c41d2f9fc2011d263d4ea0831bf04 WHIRLPOOL fcb1e1fe4026911d6ad2e849c756ebbc0b5e3ebc9a897c0a25c40b555c50debb0a8b1c73edd95279d36a08483c6d2136d4ab567cf2ff38e740221f86f73865d4
diff --git a/app-misc/ddccontrol/ddccontrol-0.4.2_p20140105-r2.ebuild b/app-misc/ddccontrol/ddccontrol-0.4.2_p20140105-r2.ebuild
new file mode 100644
index 000000000000..db327eab6eee
--- /dev/null
+++ b/app-misc/ddccontrol/ddccontrol-0.4.2_p20140105-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils autotools
+
+DESCRIPTION="DDCControl allows control of monitor parameters via DDC"
+HOMEPAGE="http://ddccontrol.sourceforge.net/"
+COMMIT_ID="9d89d8c0b959a4da62ecc50fb2aeb23142d4bfb4"
+SRC_URI="https://github.com/ddccontrol/ddccontrol/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc gtk nls +pci static-libs video_cards_fglrx"
+S=${WORKDIR}/${PN}-${COMMIT_ID}
+
+RDEPEND="app-misc/ddccontrol-db
+ dev-libs/libxml2:2
+ gtk? ( x11-libs/gtk+:2 )
+ nls? ( sys-devel/gettext )
+ pci? ( sys-apps/pciutils )
+ video_cards_fglrx? ( x11-libs/amd-adl-sdk )"
+DEPEND="${RDEPEND}
+ dev-perl/XML-Parser
+ dev-util/intltool
+ sys-kernel/linux-headers
+ doc? (
+ >=app-text/docbook-xsl-stylesheets-1.65.1
+ >=dev-libs/libxslt-1.1.6
+ app-text/htmltidy
+ )"
+
+src_prepare() {
+ sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467574
+ sed -i '/;Application/d' src/gddccontrol/gddccontrol.desktop.in || die
+
+ # ppc/ppc64 do not have inb/outb/ioperm
+ # they also do not have (sys|asm)/io.h
+ if ! use amd64 && ! use x86 ; then
+ local card
+ for card in sis intel810 ; do
+ sed -r -i \
+ -e "/${card}.Po/d" \
+ -e "s~${card}[^[:space:]]*~ ~g" \
+ src/ddcpci/Makefile.{am,ini} || die
+ done
+ sed -i \
+ -e '/sis_/d' \
+ -e '/i810_/d' \
+ src/ddcpci/main.c || die
+ fi
+
+ ## Save for a rainy day or future patching
+ touch config.rpath ABOUT-NLS
+ eautoreconf
+ intltoolize --force || die "intltoolize failed"
+}
+
+src_configure() {
+ # amdadl broken, bug #527268
+ econf \
+ --htmldir='$(datarootdir)'/doc/${PF}/html \
+ --disable-gnome-applet \
+ --disable-amdadl \
+ $(use_enable doc) \
+ $(use_enable gtk gnome) \
+ $(use_enable nls) \
+ $(use_enable pci ddcpci) \
+ $(use_enable static-libs static) \
+ $(use_enable video_cards_fglrx amdadl)
+}
+
+src_install() {
+ default
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/app-misc/ddccontrol/metadata.xml b/app-misc/ddccontrol/metadata.xml
new file mode 100644
index 000000000000..e58743247549
--- /dev/null
+++ b/app-misc/ddccontrol/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-needed -->
+ <use>
+ <flag name="pci">enable direct PCI memory access (the setuid ddcpci util)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ddccontrol/ddccontrol</remote-id>
+ <remote-id type="sourceforge">ddccontrol</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
new file mode 100644
index 000000000000..56d3d5e93d1e
--- /dev/null
+++ b/app-misc/ddcutil/Manifest
@@ -0,0 +1,4 @@
+DIST ddcutil-0.8.4.tar.gz 558405 SHA256 7bfa9bd1dad7aac1853cf1070d2becf47156c158b84ae874cd77e8fd7d4e44d5 SHA512 e7bf78295a008607ef520e055873acc0bac6d94b850a6ea1f7d4a4ea9e080d23b4b7d82e5725a220ff120ab1523aa320265ba22671982625c10088521c72a14c WHIRLPOOL 3637a3a03a5a4d402f1ca3dcf0ecee8cd361735cff1ffce4a2e862ad9c87fe12cd09a782c5c2b6bfd53e94547eecf29c344ce918217931593e07a4a207bf241a
+EBUILD ddcutil-0.8.4.ebuild 2943 SHA256 975d16e78aff3742fd91b7f92489d447f63536cf326884310e95bea34956087e SHA512 0d2266c92a30e11e7aa4c71e1a80fc77a5cbc370aed40025881d1764462479c7cc2e7894aac838adf4e95aeac2f7b5c49000ee81b0e6783376c98da70a5be5b1 WHIRLPOOL dd50001bcc6361a403bc485efe9b4c0b4448025dd33dc5b17a432b5b0925223d16a8021856fd4fbe95ce2efae18bf648d1cffb36e3d20ce24a1f01cbb542ca2a
+MISC ChangeLog 756 SHA256 3ff29933fd30bc81aadf45bd7a3c9047fe3721cc22c10728fe0254e7055bfeef SHA512 aefb3bc91b67c481b94cb5518b89c6fa56dc7326e5bc7dcf277d1b940f818832dfde0b209a5747c71252dca36a54d736ec392cf53a4a45ee8fc730cf39ec13e3 WHIRLPOOL e914df41a8773052f089504b9b6cec2c66379616f913eef9d54e9c312ed02f7199c2c0465ae10d4def07b94559255eb105b292e3ce5f9b4b10a7a0be1a88c837
+MISC metadata.xml 1277 SHA256 4ef015ffaacdc3e15213d066501a4709e3629a7d3e8ae7b31a50ad4a03ca42f7 SHA512 e71e364fddc851248f3c87be147b2ac046326172a2726b0614c60136a99223ce12d30999140c35534ff86d024023f80f8a7149a8fe59a8d6bfb2771468b514af WHIRLPOOL 8845c3281a2d3cc5122743d1a99363c47c38a28d2ec288d74eda45e4191266ba7aaab44a8fb894f3b9bfd407fc9848d4d4f2d071eb8cb51639c0542d69076130
diff --git a/app-misc/ddcutil/ddcutil-0.8.4.ebuild b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
new file mode 100644
index 000000000000..5942efa23a3e
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Binary drivers need special instructions compared to the open source counterparts.
+# If a user switches drivers, they will need to set different use flags for
+# Xorg or Wayland or Mesa, so this will trigger the rebuild against
+# the different drivers.
+# Remove ATI/AMD driver since it's masked for removal.
+# Will most likely need to set this for AMDGPU when in portage.
+IUSE="usb-monitor user-permissions video_cards_nvidia"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libX11
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils )"
+DEPEND="virtual/pkgconfig
+ ${RDEPEND}"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ # Python API is still very experimental.
+ local myeconfargs=(
+ $(use_enable usb-monitor usb)
+ --disable-swig
+ --enable-lib
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ einfo "To allow non-root users access to USB monitors, add those users"
+ einfo "to the video group: usermod -aG video user"
+ einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
+ einfo "the monitor to activate the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/usb/"
+ fi
+
+ udev_reload
+ fi
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
new file mode 100644
index 000000000000..3eec1aa83b5c
--- /dev/null
+++ b/app-misc/ddcutil/metadata.xml
@@ -0,0 +1,34 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>j.scruggs@gmail.com</email>
+ <name>Jonathan Scruggs</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ ddcutil primarily uses DDC/CI (Display Data Channel Command Interface)
+ to communicate with monitors implementing MCCS (Monitor Control Command
+ Set) over I2C. Normally, the video driver for the monitor exposes the
+ I2C channel as devices named /dev/i2c-n. Alternatively, there is initial
+ support for monitors (such as Apple displays) that implement MCCS using
+ a USB connection.
+ </longdescription>
+ <use>
+ <flag name="user-permissions">
+ Adds a udev rules to allow non-root users in the i2c group to
+ access the /dev/i2c-* devices. If usb-monitor is selected, users
+ will need to be added to the video group to access the USB monitor.
+ Otherwise, only root will be able to use ddcutil.
+ </flag>
+ <flag name="usb-monitor">
+ Adds support for monitors attached via USB.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">rockowitz/ddcutil</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/delay/Manifest b/app-misc/delay/Manifest
new file mode 100644
index 000000000000..f894849f9ea3
--- /dev/null
+++ b/app-misc/delay/Manifest
@@ -0,0 +1,7 @@
+AUX delay-1.6-headers.patch 156 SHA256 b5636d9652c488c573e5e53cf66efb7cf191b95cfc5e9e608d6992e795426e09 SHA512 5482c96f6c2f9ce5f0183751d36360a22b3bfc7e29c23ba13022e51f0f2569b77014be4544c95e7b76cb3947118b36ae5dd94afb26c1951bc7f4b0746d120ac1 WHIRLPOOL 5ea4ed98bf328fd0e9c22883410046ebe260ce0b98352b6bc490b8777ad04f3bb63692d42c554fe60e341a327aa3b4474bc2312a1c91bc01a7f2d2daddcc2b43
+AUX delay-1.6-tinfo.patch 352 SHA256 cc55dd42383c6de72c246f9154258a76a531bbff0200a9adfbff262c91b5b465 SHA512 462e098e1a03ad1743fc758ca7ffabaeea07c430c24e5db6daffb786494176f91b1e6d99a34e867237ecd97fa4be8def415a14db6c53c9ea7b6ab4af3cf600a2 WHIRLPOOL a5aba228096b2bda3a4855e9f7517e27a5bfa5fb75db30919049ad7a03031c700b7a5065e59784a83552f2760eb252c6a5e60743315d565537c2359381d6ba38
+DIST delay-1.6.tar.gz 69860 SHA256 3097a25fc0d0091402fc9dbc6aa395fd5141028bcdc99baa5d3438ca04f78ca2 SHA512 45d34b768082ff2e4a73f1af63239f6b9e418f1cb46e5945606c0e8830ba2b8c14eeb21d7e0776ef669d2834ed6dcc66c3ddb0225c182c77e85b18b5b28d5d43 WHIRLPOOL 836b7baafc377a2a53df1507ed5da667b30d7551393a77be729ff2ecf89ce6792b818d14807a7f76034046b22daf7ca8e441348832ada85809ebc6c14df7f16b
+EBUILD delay-1.6-r2.ebuild 673 SHA256 05a7a5ab08812417163a214c19bd4586458fe84f2976b1e3c6ccc9c947f9b6e1 SHA512 e6b6793e62416615f02e0d5759626babbaf0bc9d5d472dcd4cdbbe8bf0d0c65ca078743ee1223997541302d5e279079bde17723c08654e2e26a370aaa85a3560 WHIRLPOOL d4f8ed645a298dec64059b835233b0b9ad49f0e1c6fd15dff0681e4387a4c6d389163628a7faaa853db015b20d1cd62ec656769267c0d876820c279aaf940921
+MISC ChangeLog 2485 SHA256 c45bada00178eeb7c04466f73d795799b53a1cf4a8023b0dd0ceba057259fbdc SHA512 13cdd33b74394f6c43feec971721bf95a0f191f655caa250afc728b93d5b0795f687e0b198b0ed89e510dbebc7608a4c86147fc2cbe2f0751f7cc7d71eb37ff9 WHIRLPOOL 26660e5be80b916ef1712aa2cd366365d7912e518bacf0b54ba57eb0277772c88f50e67cfb06537c66ea3843ec5e4db7826ced7ed0e90b7b7eb48474bf93dd07
+MISC ChangeLog-2015 4274 SHA256 69f93349d4e5c7429873409c46d8ece471f88705b4584171ca83c3c7d3cde15d SHA512 de8e0bb650a3f63a021f13112659fab67538a0b2cac96b7bb1e291b8c1065da4abc571246692a220bdffa1e9753516bd0f8025f9f152e0db770c9a8fd10295d5 WHIRLPOOL cb1ff7d37120c4c25a4a1db59d6280b980f5c812bfc3db797db9163b3ac9f3fd539a660df1da8b70ecbb11f62d864dd88a17c5a17fa28192799db2d01c898fc0
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/delay/delay-1.6-r2.ebuild b/app-misc/delay/delay-1.6-r2.ebuild
new file mode 100644
index 000000000000..b68aedca8b27
--- /dev/null
+++ b/app-misc/delay/delay-1.6-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="Sleeplike program that counts down the number of seconds specified"
+HOMEPAGE="http://onegeek.org/~tom/software/delay/"
+SRC_URI="http://onegeek.org/~tom/software/delay/dl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-headers.patch \
+ "${FILESDIR}"/${P}-tinfo.patch
+
+ mv configure.in configure.ac || die
+
+ eautoreconf
+}
diff --git a/app-misc/delay/files/delay-1.6-headers.patch b/app-misc/delay/files/delay-1.6-headers.patch
new file mode 100644
index 000000000000..5098435d7652
--- /dev/null
+++ b/app-misc/delay/files/delay-1.6-headers.patch
@@ -0,0 +1,10 @@
+--- a/delay.c
++++ b/delay.c
+@@ -17,6 +17,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <time.h>
+ #include <sys/time.h>
+ #include <unistd.h>
diff --git a/app-misc/delay/files/delay-1.6-tinfo.patch b/app-misc/delay/files/delay-1.6-tinfo.patch
new file mode 100644
index 000000000000..37a7fb27cdc6
--- /dev/null
+++ b/app-misc/delay/files/delay-1.6-tinfo.patch
@@ -0,0 +1,16 @@
+--- a/configure.in
++++ b/configure.in
+@@ -35,8 +35,11 @@
+ AC_STRUCT_TM
+ AC_STRUCT_TM_GMTOFF
+
+-AC_CHECK_LIB(curses, initscr)
+-AC_CHECK_HEADERS(curses.h)
++PKG_CHECK_MODULES([ncurses],[ncurses],[
++ LIBS="$LIBS $ncurses_LIBS"
++ AC_DEFINE([HAVE_CURSES_H])
++ AC_DEFINE([HAVE_LIBCURSES])],
++ [AC_MSG_ERROR([ncurses not found])])
+
+ AC_OUTPUT(Makefile)
+
diff --git a/app-misc/delay/metadata.xml b/app-misc/delay/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/delay/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/detachtty/Manifest b/app-misc/detachtty/Manifest
new file mode 100644
index 000000000000..fc12a748560d
--- /dev/null
+++ b/app-misc/detachtty/Manifest
@@ -0,0 +1,6 @@
+DIST detachtty_9.tar.gz 13081 SHA256 bf1d6c2e16d3b83b46d6307c820d4bd02c1fe7b8ff773bd14faef66675957492 SHA512 8ae7edc1a1c7727eb4d32a1a4327932e374ac838b441f34aee99cfe83e922f1d70383ab0aab2299808f28fea6229f5c122a7624b7ff992ab92b9c3f53483d035 WHIRLPOOL c54d6b46b06444c2f39d7d427604afb278f87db6e7981ae5f9f33db1a930ed55210dae038ba550d9b6f4e6aa988ebb0ec897f3448356ea6f1d9e5acfd0bbd10c
+EBUILD detachtty-9-r1.ebuild 628 SHA256 9c070f881a747719977b3d9b7d36dc1dc8ac684c4f43cc090a79eedee3a71b8c SHA512 f38c5d0a24d483ab5328163d0d72f6a506c32f5f79e698cad18eb699c77c42bd59d88fe15bc9958bca65c9d7f897786f2528ba1b8d6e08fea3346c5e1e3552a1 WHIRLPOOL ec252ac3e9751fe55e290583084b74350e337fe9db30a82cd8fa3ecc718cb90a8753dfef37978ec2b5069a0e3b498d8b096e17b85f6853c16f13e3034b1fc048
+EBUILD detachtty-9.ebuild 640 SHA256 e020afda0dad7baaa3b0e2e6451732971606d605ef7f0212e3406543229af160 SHA512 5bffe311ff44c8088f362770ceab7f3b30a0a667d3d707089f71cdf4e7df6aefd4945e416841258a3ef44b4fb0fe38be92fb99638d23b2f1843427b124685bd7 WHIRLPOOL d1f0c1f3a5ad1be383db2c3cbe528ca68c354ea0b0afde0b04168b12f901e8f831c8d061a1ec82fe17f34dbeb4559867ac85342828bd94e2c1c3190c5d317107
+MISC ChangeLog 2425 SHA256 6bec1ceb852fd9ed057c0adf8aab4e7f889e0ac6b263c561abae59578f818a8f SHA512 ce49b9c26723d0881b72ef9da29e962bed41cbab23c439882415ab365e50980787e792c3d2d708adfc4f4aae6589acb4b82ff0c173836e7518128bdff90235d3 WHIRLPOOL 9e7cef0af66e8d238a92a206cba01fc0e539d8bb1d1b557246d9a52b5535996a061bba44ed45cea085be401a54c2e88cd48ece1eceec988a4dc51d7318816d31
+MISC ChangeLog-2015 1686 SHA256 595e0e28be4c762bd073ecaa8d494fbed7ac6ac5edfd2f0a7e91b12bcb05a4a3 SHA512 0ce1b7f9b333eaf2b23588b952635bdc6e7ecf0343d9d936adb89f327cc4e3b2dc0a6c205579e70b0c17aaad7c0341bd10332660839fa268aa8ab8c64a333293 WHIRLPOOL 28a5a23856571215813c2b970453cc1bb9e2be0109e3e81cf8d53cef71da4c5dacd6e8676af175a9e081e686768396b3a555d7e434af693740d217612973ff49
+MISC metadata.xml 703 SHA256 2b3916e28f7bf18fe47a0d2f9f6b9a4bd33aeff2aec7ce6424d7b47ef596e4b6 SHA512 00e9860010346c6dbad86cd3dd2eaea29f1e91df559b7f5b7dd634a48a0875830a46cab665efd3e3e87eafd6566ecec6ed6e4a691fdc48ebea327f527a312794 WHIRLPOOL cbb65a470c38f7cac50887282835ff6060c1da43863b4736ad7f44871e07aace5502a4358e5a239d27f8dd1202b91146ee1bae235364c3cb87a1b0bfbd3ea7f0
diff --git a/app-misc/detachtty/detachtty-9-r1.ebuild b/app-misc/detachtty/detachtty-9-r1.ebuild
new file mode 100644
index 000000000000..4872c27d12f6
--- /dev/null
+++ b/app-misc/detachtty/detachtty-9-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+MY_P="${P/-/_}"
+
+DESCRIPTION="Attach/detach from interactive processes across the network"
+HOMEPAGE="http://packages.debian.org/unstable/admin/detachtty"
+SRC_URI="mirror://debian/pool/main/d/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DOCS=( INSTALL README )
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin "${PN}" attachtty
+ doman "${PN}.1"
+ dosym detachtty.1 /usr/share/man/man1/attachtty.1
+ einstalldocs
+}
diff --git a/app-misc/detachtty/detachtty-9.ebuild b/app-misc/detachtty/detachtty-9.ebuild
new file mode 100644
index 000000000000..b24b044ecb56
--- /dev/null
+++ b/app-misc/detachtty/detachtty-9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+MY_P="${P/-/_}"
+
+DESCRIPTION="Attach/detach from interactive processes across the network"
+HOMEPAGE="http://packages.debian.org/unstable/admin/detachtty"
+SRC_URI="mirror://debian/pool/main/d/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dobin detachtty attachtty || die
+ doman detachtty.1 || die
+ dosym detachtty.1 /usr/share/man/man1/attachtty.1
+ dodoc INSTALL README || die
+}
diff --git a/app-misc/detachtty/metadata.xml b/app-misc/detachtty/metadata.xml
new file mode 100644
index 000000000000..d83290efbddf
--- /dev/null
+++ b/app-misc/detachtty/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+</maintainer>
+<maintainer type="project">
+ <email>common-lisp@gentoo.org</email>
+ <name>Gentoo Common Lisp Project</name>
+</maintainer>
+<longdescription>
+detachtty is a utility that lets you run interactive programs non-interactively.
+Reattaching can be done locally or over the network. detachtty is similar in
+concept to GNU Screen but is better suited toward scrolling interfaces (not
+full-screen, random-access based applications).
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/detox/Manifest b/app-misc/detox/Manifest
new file mode 100644
index 000000000000..231974712201
--- /dev/null
+++ b/app-misc/detox/Manifest
@@ -0,0 +1,10 @@
+AUX detox-1.2.0-LDFLAGS.patch 501 SHA256 81302dfb3e792686cb467d7e5889e7c871df927f12770beb4703b713263a1bdc SHA512 a3d59bef705d763be2831d03ccfef5fd69859a8e6f6900a1b6558135d2fa38a7844c16276bedab1b5af15f3e287cada615ea4c83f4c6737919c7c55daa7e55bf WHIRLPOOL cd092bbd4ee7781a901fb2d7dade8a530b433690389d9d021593fada96d2d5791fc31ba77e8bd37c23f3e0a314b744f77921ee4c20d72ba049f900ccb0b134c2
+AUX detox-1.2.0-change-default-sequence-to-use-utf8-table.patch 379 SHA256 0312a07812d9cacf836b7270ac00248014cb80a8483654dd8c2f8da03378448b SHA512 8804afdb7a5b37b01d2e16d68ae2e7b381cdfe75fd10de7a20388079bce9f137765e11b4e1d8d4cdabc6e521af7deb3309d84e42308e4c9108edb9537cb2706e WHIRLPOOL 29599d9234dab852a76c63b3f6afb57809e7970dfcbd9144cb87fcf98b62a3fd501fe998cf8ad4f32452e2968e1b837b8b35d6548fdcb51c91afc6573b3223b1
+AUX detox-1.2.0-format-security.patch 1964 SHA256 3765b9e74768caa47a94b60e3b5144affc41b89956b1f76056929bf97aa20554 SHA512 c0ce9ac00500399a28bc4d2bc4dff5c20386817d154c2185ebf29df1544ff400199d2884139f7f68c3f5e260d1742877f0b8b53787d8a585f9ff04028f878a2a WHIRLPOOL 0cb4ae947394d23bcb9c3a0f2020e6c965f91a0411f683c613fc6f2d7db7d9779df0c86badea6c65260aca6f20b10ef276b99d78f0e7e36ae68dada87b190322
+AUX detox-1.2.0-install-missing-file.patch 642 SHA256 8efdebceceaecd3f543595a2ac1ff362232f92397a70bd6d2046d5128f826e81 SHA512 32f83f700a508729c27941ae627c544dd2ba1900a647285d4160038e69dbad8f1205c5056daa9c5c19a56a70a6e528db187a59d56dfcfee7d772eb0fd809d087 WHIRLPOOL e888676013fa249425a563fa30568459baf6ad06448150a02a1c9491847a359ae1a9542c923c52f05c90a02ca759c592520ddb12cc9b7e9833b1f7be8af1ec94
+AUX detox-1.2.0-parallel.patch 1120 SHA256 a5e06bf299e127e172f4cd58937b9e20f746313e15d4b0ff5e1d03cce3f509c4 SHA512 5a9c964cd46a1cd4463460a400226a80a9c1705bd60655362ca02950a06acacbafed1c039793eb6445988e91a47888dbf1c643bf8c34003e7c34a02398f58855 WHIRLPOOL d950af36e5462144e6cb51c260560d4c9417c6659dfa21fd39e2aeeb29cfd396a432bd3dc20acd1345a853726163d17a681e637a5fb118ccf425912f8a20dd9b
+DIST detox-1.2.0.tar.bz2 86118 SHA256 abfad90ee7d3e0fc53ce3b9da3253f9a800cdd92e3f8cc12a19394a7b1dcdbf8 SHA512 48c0060ed0538c26aeba444bf327f1e52ea47d0e696577deeb43304dfb960ee5abe984651948bfc67c51d7f15f9051df2a208acfe53a5778a7471460e87f639a WHIRLPOOL f8169f10e1713e3b2fd3ea736b22d0c024d6698bb2e80c30124bbf70be0afb764d496df5fba4f5b68383327590b2c90dd0ebb2481c0b62859ceb26a820265657
+EBUILD detox-1.2.0-r3.ebuild 972 SHA256 8eaa73c07520531f9aaa8fdc90a0ebc0af469e2291ccf427a8632d190d42d675 SHA512 6daffbe667fc692b837b0b66f17294464b7f5d9886a790c15bc4e93ddeb84d05bde89526029790dc484fdb6bb4939ed8517aa4840e92af5d63341e26be645b19 WHIRLPOOL eef7f17d5933c4710cb87623b34289392b2184701b64ddd46faa3700496521efedefd1fb97b16046cc52ade073aaad7b1294278623145b0ded2cc43f1de9a736
+MISC ChangeLog 2661 SHA256 ff63be6e98cc36bf7e548f807a1246881d8b181c0c7fdaaa9e55e2f4fd63ebd6 SHA512 2cbc1584ccc71d826b1f020c66b4d5ea56ae5ebf57c2c09227220e36c176adcf75491c11c518a76ba2f086bad9dc357c3dd96ada841cfec76fa3141398404003 WHIRLPOOL 90d11238fd2809fefb701b3280fe6974abcc8043d08daa23c4ed8bf2f59e89aab7e8053f263c9ec153e18a47c90978bdb80e2d924ee6511afa8660f08e874611
+MISC ChangeLog-2015 5596 SHA256 9686b086710d8ac78f1b5d297c230e5b8f69e3696df54a180681e50bf2d07513 SHA512 d74b841a2e3602da96f39556d5f27c2c6e89a582849101328151ca700394e81694d6bb792cb92e12a47d493d2b9ca0735171ca744cefdc0b05c45e5e5ac0197f WHIRLPOOL 5001e10551347f0d4ff7e60713e197c996394c66855d1011ec0de9e4794c0e8e786880b03d20d7bf7c68af2a00119a5a3ba710e6745fbcba52923cf2ea082862
+MISC metadata.xml 340 SHA256 929f963b2455e4076bfcaaff5f30770364ca46a91256decfc376d1c0ada2dd19 SHA512 22cb6a81a6b5001f6ebeae252400eb4a7568a6baf028413d1eeaccad3de9b7b2e5c4d5a3f9e0cd4c87567a2135e7a4e7d0796d2efc377f2f26ddf0b555713943 WHIRLPOOL dafd7b7498f2cb1a883bf49c612128612408bb4fe71a1d2142547865c9a464a24e2d34b4cb799aeb38cce3ec7b4982652402be959139d078d221664bd93f077b
diff --git a/app-misc/detox/detox-1.2.0-r3.ebuild b/app-misc/detox/detox-1.2.0-r3.ebuild
new file mode 100644
index 000000000000..cbae89b41864
--- /dev/null
+++ b/app-misc/detox/detox-1.2.0-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P="${PN}-${PV/_/-}"
+
+DESCRIPTION="Safely remove spaces and strange characters from filenames"
+HOMEPAGE="http://detox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~mips ppc x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"/${MY_P}
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-devel/bison"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-parallel.patch
+ "${FILESDIR}"/${P}-LDFLAGS.patch
+ "${FILESDIR}"/${P}-change-default-sequence-to-use-utf8-table.patch
+ "${FILESDIR}"/${P}-install-missing-file.patch
+ "${FILESDIR}"/${P}-format-security.patch
+ )
+
+src_prepare() {
+ sed \
+ -e 's:Fl c Ar:Fl f Ar:g' \
+ -i ${PN}.1 || die
+ epatch "${PATCHES[@]}"
+ sed \
+ -e '/detoxrc.sample/d' \
+ -i Makefile.in || die
+}
+
+src_configure() {
+ econf --with-popt="${EPREFIX}/usr"
+}
diff --git a/app-misc/detox/files/detox-1.2.0-LDFLAGS.patch b/app-misc/detox/files/detox-1.2.0-LDFLAGS.patch
new file mode 100644
index 000000000000..3f0daa088010
--- /dev/null
+++ b/app-misc/detox/files/detox-1.2.0-LDFLAGS.patch
@@ -0,0 +1,18 @@
+https://sourceforge.net/tracker/index.php?func=detail&aid=2166388&group_id=101612&atid=630105
+
+--- Makefile.in 2008-10-14 16:37:22 +0000
++++ Makefile.in 2008-10-14 16:38:17 +0000
+@@ -70,10 +70,10 @@
+ #
+
+ detox: ${detoxOBJS}
+- ${CC} -o detox ${detoxOBJS} ${L_OPT}
++ ${CC} ${LDFLAGS} -o detox ${detoxOBJS} ${L_OPT}
+
+ inline-detox: ${inline-detoxOBJS}
+- ${CC} -o inline-detox ${inline-detoxOBJS} ${L_OPT}
++ ${CC} ${LDFLAGS} -o inline-detox ${inline-detoxOBJS} ${L_OPT}
+
+ #
+ # Special Source Compiles
+
diff --git a/app-misc/detox/files/detox-1.2.0-change-default-sequence-to-use-utf8-table.patch b/app-misc/detox/files/detox-1.2.0-change-default-sequence-to-use-utf8-table.patch
new file mode 100644
index 000000000000..2e54642f45b9
--- /dev/null
+++ b/app-misc/detox/files/detox-1.2.0-change-default-sequence-to-use-utf8-table.patch
@@ -0,0 +1,17 @@
+# Patch from Teemu Likonen <tlikonen@iki.fi>
+# to change the default sequence to use utf8 instead of iso8859-1
+--- detox-1.2.0/detoxrc~ 2006-07-03 19:45:54.000000000 +0300
++++ detox-1.2.0/detoxrc 2009-05-28 15:34:26.497832449 +0300
+@@ -32,10 +32,10 @@
+ #
+
+ #
+-# Basically just ISO8859_1
++# Basically just utf_8
+ #
+ sequence default {
+- iso8859_1;
++ utf_8;
+ safe;
+ wipeup;
+ };
diff --git a/app-misc/detox/files/detox-1.2.0-format-security.patch b/app-misc/detox/files/detox-1.2.0-format-security.patch
new file mode 100644
index 000000000000..c03a98aa046c
--- /dev/null
+++ b/app-misc/detox/files/detox-1.2.0-format-security.patch
@@ -0,0 +1,72 @@
+ parse_options_getopt.c | 8 ++++----
+ parse_options_popt.c | 8 ++++----
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/parse_options_getopt.c b/parse_options_getopt.c
+index 1f80966..ea2b266 100644
+--- a/parse_options_getopt.c
++++ b/parse_options_getopt.c
+@@ -98,9 +98,9 @@ struct detox_options *parse_options_getopt(int argc, char **argv)
+ #endif
+ switch (optcode) {
+ case 'h':
+- printf(usage_message);
++ printf("%s", usage_message);
+ printf("\n");
+- printf(help_message);
++ printf("%s", help_message);
+ exit(EXIT_SUCCESS);
+
+ case 'f':
+@@ -138,7 +138,7 @@ struct detox_options *parse_options_getopt(int argc, char **argv)
+ exit(EXIT_SUCCESS);
+
+ case '?':
+- printf(usage_message);
++ printf("%s", usage_message);
+ exit(EXIT_SUCCESS);
+
+ case 0:
+@@ -195,7 +195,7 @@ struct detox_options *parse_options_getopt(int argc, char **argv)
+ }
+ else {
+ #ifndef INLINE_MODE
+- printf(usage_message);
++ printf("%s", usage_message);
+ exit(EXIT_FAILURE);
+ #endif
+ }
+diff --git a/parse_options_popt.c b/parse_options_popt.c
+index 60dad7a..370c3cc 100644
+--- a/parse_options_popt.c
++++ b/parse_options_popt.c
+@@ -94,9 +94,9 @@ struct detox_options *parse_options_popt(int argc, const char **argv)
+ while ((c = poptGetNextOpt(optCon)) >= 0) {
+ switch (c) {
+ case 'h':
+- printf(usage_message);
++ printf("%s", usage_message);
+ printf("\n");
+- printf(help_message);
++ printf("%s", help_message);
+ exit(EXIT_SUCCESS);
+
+ case 'f':
+@@ -142,7 +142,7 @@ struct detox_options *parse_options_popt(int argc, const char **argv)
+ break;
+
+ case '?':
+- printf(usage_message);
++ printf("%s", usage_message);
+ exit(EXIT_SUCCESS);
+
+ }
+@@ -177,7 +177,7 @@ struct detox_options *parse_options_popt(int argc, const char **argv)
+
+ #ifndef INLINE_MODE
+ if (i == 0) {
+- fprintf(stderr, usage_message);
++ fprintf(stderr, "%s", usage_message);
+ exit(EXIT_FAILURE);
+ }
+ #endif
diff --git a/app-misc/detox/files/detox-1.2.0-install-missing-file.patch b/app-misc/detox/files/detox-1.2.0-install-missing-file.patch
new file mode 100644
index 000000000000..97863268bc48
--- /dev/null
+++ b/app-misc/detox/files/detox-1.2.0-install-missing-file.patch
@@ -0,0 +1,18 @@
+# Patch by Nelson A. de Oliveira <naoliv@debian.org>
+#
+# Patch upstream Makefile to install missing safe.tbl (#566785)
+
+--- detox-1.2.0/Makefile.in 2010-06-20 23:41:34.000000000 -0300
++++ detox-1.2.0/Makefile.in 2010-06-20 23:42:34.000000000 -0300
+@@ -147,6 +147,11 @@
+ else \
+ echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \
+ fi
++ @if [ ! -f ${DESTDIR}${datadir}/detox/safe.tbl ]; then \
++ ${INSTALL} -m 644 safe.tbl ${DESTDIR}${datadir}/detox; \
++ else \
++ echo "${DESTDIR}${datadir}/detox/safe.tbl exists, skipping"; \
++ fi
+
+ install-unsafe-config: install-base
+ ${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}
diff --git a/app-misc/detox/files/detox-1.2.0-parallel.patch b/app-misc/detox/files/detox-1.2.0-parallel.patch
new file mode 100644
index 000000000000..73abd73d61b3
--- /dev/null
+++ b/app-misc/detox/files/detox-1.2.0-parallel.patch
@@ -0,0 +1,29 @@
+https://sourceforge.net/tracker/index.php?func=detail&aid=2166387&group_id=101612&atid=630105
+
+--- Makefile.in 2008-10-14 16:39:34 +0000
++++ Makefile.in 2008-10-14 16:38:51 +0000
+@@ -131,7 +131,7 @@
+ ${INSTALL} -m 644 detox.1 ${DESTDIR}${mandir}/man1
+ ${INSTALL} -m 644 detoxrc.5 detox.tbl.5 ${DESTDIR}${mandir}/man5
+
+-install-safe-config:
++install-safe-config: install-base
+ @if [ ! -f ${DESTDIR}${sysconfdir}/detoxrc ]; then \
+ ${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}; \
+ else \
+@@ -148,12 +148,12 @@
+ echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \
+ fi
+
+-install-unsafe-config:
++install-unsafe-config: install-base
+ ${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}
+ ${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox
+ ${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox
+
+-install-sample-config:
++install-sample-config: install-base
+ ${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}/detoxrc.sample
+ ${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox/iso8859_1.tbl.sample
+ ${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox/unicode.tbl.sample
+
diff --git a/app-misc/detox/metadata.xml b/app-misc/detox/metadata.xml
new file mode 100644
index 000000000000..f86cf813cf30
--- /dev/null
+++ b/app-misc/detox/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">detox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/devtodo/Manifest b/app-misc/devtodo/Manifest
new file mode 100644
index 000000000000..8b4894ba9ac7
--- /dev/null
+++ b/app-misc/devtodo/Manifest
@@ -0,0 +1,9 @@
+AUX devtodo-0.1.20-bashcom_spaces.patch 1077 SHA256 12f8052ee77ef30454e7137a43ea07e5729d6b89ba26ca885c324619609f4e0f SHA512 8e2934b40fba0397fc21ca9084ddb0c6f65fd9715656dd520fd90ece7c04be2d5733e52a568d1786e9a7fea3dc58f4eb4ce988ace6dc8fa23a8b9a192b6fa54b WHIRLPOOL ded05bdebde748ace4d735f643d8e43ffe39cf22876969220ce1cb336bd5676d59cf6be39009408b6bcb629658bc3e89a240330fa136f5cbef683298d65c379c
+AUX devtodo-0.1.20-gcc43.patch 217 SHA256 79411f409ef0b23c24dcdc8405b9ccf7b227cfcd4a20689738c279ca4da9da56 SHA512 2a34a52467f61704031dc1ab568c5909fa165d6f4fcf007726611e80437b805fe70a16d3ed6080d5ad83dd934a05fdf3de46a0a84e5679efbdd0ca2e41b8a99c WHIRLPOOL c6119d0716bfc772821951f46eb25fa1502cc60384ea7a9d176276fd3777dcef8a1fe5375a17f7ec7130aa73043e9dd0659e34eda98bc25e27fe97e08eef0a92
+AUX devtodo-0.1.20-gentoo.diff 3744 SHA256 a9295879eb5395d0528a86dc685cd4d6986d59f205187a7eec800488377e1d3d SHA512 f2a6de30807c2ec718725491d92f4906c50b944eff389e15d17cb2982127112d443e08096b6923ca76ca720832afc1fd561bd55a327ffa435e1e21abda07abbb WHIRLPOOL c7ab20cfb4ba394357644c98432d75df244278114fd8a038d72a7268507281ea4219b06cb7e0b5ba93efbf7b7a147e3ed80f7142887392ad9a6450cf48a18c3f
+AUX devtodo.bash-completion 1424 SHA256 d01efa706f01fd716b624dd89c76b4d3e1c38ed13b230a98c337e76c05035b46 SHA512 6139218a2bc4d06f2af23fc04247e8fa3d70eaf3affe326dbb8b1bbbb880f2534f1c1bf4c54079231bed7c1c64465705deb5a5cb1a0f4ca5415ccddae726b20b WHIRLPOOL 5e212281add9d45eb4e2cb73d3ca0037bcf7e8b3c8bc1c90054f21efc16682aa48ed66e1b2d79b42610c7d9eb98a9f93ee15d8462928ffa4be4001ceae1fa2a7
+DIST devtodo-0.1.20.tar.gz 390935 SHA256 379c6ac4499fc97e9676075188f7217e324e7ece3fb6daeda7bf7969c7093e09 SHA512 58cff0455c735af4530fc9321d1eade8272dd5759eeb8a688a641c9be11830b87be116801e3cd1d90a27e070775fa00d7b4d6b3399eba7aad5c752bfda9c28fb WHIRLPOOL f34a354eda2968684c87b5f8586315de6aeafce62ea7859f028b00a28a383dd5b887841cb26c25d549cbf1eb2dad811a8017a65cc4976ba737d5921096274d5b
+EBUILD devtodo-0.1.20-r3.ebuild 1678 SHA256 029ce0eb285e3412a36dfc287cfd1f6783cb73b9b6e03904bc88fcec22cec221 SHA512 4f5de8e5e1c034cba934df1e488e86933b118d5288ea6a17863d5ef297050dabc5928424746d28096087e8666b617ed99cab4cbcd701924830775cf09b1dd714 WHIRLPOOL 19aaa8ce909c1bea19b87e9e183039de8827dfde8233b93bbea107f730741663be6d474980f3a56d1a3e8f925f447fb25e5977e243b6e579456f74bcb44b0ebc
+MISC ChangeLog 3049 SHA256 f7efc3edbfa35641f7c76a5e60e1179b5e869ee9e157c826f1ef08fc13a35f5a SHA512 e68f78bb667d692cc94d8eaf9c79f775ac1ffd0efe2f241c7b3794f14309e2918f38cd200e2021530c2919aae680738f3eef228c43d48b6184bcc6056f735140 WHIRLPOOL 9a239880ec0ef493a860452080e130c52427a8eb9bf7e9d5f1a6e3775167e0547af99f9355ebcb23bbc940a92e8d5f8cd6a9984104b0be057867f4b7dd8fa662
+MISC ChangeLog-2015 15622 SHA256 bd1885fd31b764ea7654ab4941f9f3f6e5e00b73925c0686b5314dbb2c255fc1 SHA512 c9c6a8c41d3916b6ccd79f12e8c17a528c4459388c9b721c3523d8e323552a964c38d0a4e9bc7be465005698fd2c45f477e1f1de8dd46786bbae4f52e4efb702 WHIRLPOOL 82e08d3ef9e5cc888209a03d792502c3819e50eaad930c52f6097d43147fda80b7ebd0b29cc0bf10447a2b52282c691b51d6d64da0938b09dd0f0a65d6ccb582
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/devtodo/devtodo-0.1.20-r3.ebuild b/app-misc/devtodo/devtodo-0.1.20-r3.ebuild
new file mode 100644
index 000000000000..41dc7c7ac58b
--- /dev/null
+++ b/app-misc/devtodo/devtodo-0.1.20-r3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit autotools-utils bash-completion-r1 eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="A nice command line todo list for developers"
+HOMEPAGE="http://swapoff.org/DevTodo"
+SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+RDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+ >=sys-libs/readline-4.1:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog QuickStart README doc/scripts.sh doc/scripts.tcsh doc/todorc.example )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.diff
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-bashcom_spaces.patch
+)
+
+src_prepare() {
+ # fix regex.h issue on case-insensitive file-systems #332235
+ sed \
+ -e 's/Regex.h/DTRegex.h/' \
+ -i util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die
+ mv util/{,DT}Regex.h || die
+
+ sed \
+ -e "/^LIBS/s:$: $($(tc-getPKG_CONFIG) --libs ncursesw):g" \
+ -i src/Makefile.am || die
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ replace-flags -O[23] -O1
+
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}/etc/devtodo"
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ newbashcomp contrib/${PN}.bash-completion ${PN}
+ rm contrib/${PN}.bash-completion || die 'rm failed'
+
+ bashcomp_alias devtodo tda tdd tde tdr todo
+
+ dodoc -r contrib
+}
+
+pkg_postinst() {
+ elog "Because of a conflict with app-misc/tdl, the tdl symbolic link"
+ elog "and manual page have been removed."
+}
diff --git a/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch b/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch
new file mode 100644
index 000000000000..8567ab4b0562
--- /dev/null
+++ b/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch
@@ -0,0 +1,32 @@
+ contrib/devtodo.bash-completion | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/contrib/devtodo.bash-completion b/contrib/devtodo.bash-completion
+index 07139b0..c058dad 100644
+--- a/contrib/devtodo.bash-completion
++++ b/contrib/devtodo.bash-completion
+@@ -15,20 +15,20 @@ _devtodo() {
+ --purge"
+
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
+- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
++ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
+ return 0
+ fi
+
+ case "${prev}" in
+ -p|--priority)
+ COMPREPLY=( $(compgen -W "default veryhigh high medium low verylow" \
+- -- ${cur}) )
++ -- "${cur}") )
+ ;;
+ --database-loaders)
+- COMPREPLY=( $(compgen -W "xml binary" -- ${cur}) )
++ COMPREPLY=( $(compgen -W "xml binary" -- "${cur}") )
+ ;;
+ -l|--link|--*database)
+- COMPREPLY=( $(compgen -f -- ${cur}) )
++ _filedir
+ ;;
+ *)
+ COMPREPLY=()
diff --git a/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch b/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch
new file mode 100644
index 000000000000..f9f920545805
--- /dev/null
+++ b/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch
@@ -0,0 +1,10 @@
+--- devtodo-0.1.20.orig/src/todoterm.cc
++++ devtodo-0.1.20/src/todoterm.cc
+@@ -2,6 +2,7 @@
+ #include "todoterm.h"
+
+ #ifdef USETERMCAP
++#include <cstdlib>
+ #include <iostream>
+ #include <string>
+ #include <stdexcept>
diff --git a/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff b/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff
new file mode 100644
index 000000000000..05c36a31880c
--- /dev/null
+++ b/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff
@@ -0,0 +1,85 @@
+--- devtodo-0.1.20.orig/doc/devtodo.1.in 2004-12-17 10:21:09.135350872 -0500
++++ devtodo-0.1.20/doc/devtodo.1.in 2004-12-17 10:21:34.050210242 -0500
+@@ -20,9 +20,6 @@
+ .TP
+ \fBtdd \fI<indices>\fP\fP
+ Mark the specified items as being done.
+-.TP
+-\fBtdl [\-g \fI<index>\fP] \fI<database>\fP\fP
+-Link the specified devtodo database into the current one, optionally grafting it as a child of the specified index.
+ .SH "DESCRIPTION"
+ .LP
+ \fBtodo\fP is a program aimed specifically at programmers (but usable by anybody at the terminal) to aid in day\-to\-day development.
+@@ -372,6 +369,10 @@
+ .TP
+ \fB~/.todorc\fR
+ User-specific options are specified in this file. Please refer to the section \fBTODORC\fR for more information.
++.SH "BUGS"
++.LP
++Because of a conflict with app-misc/tdl, the tdl symbolic link and the tdl manual page have been removed.
++See \fIhttp://bugs.gentoo.org/show_bug.cgi?id=55371\fR for more information.
+ .SH "AUTHORS"
+ .LP
+ Alec Thomas \fI<alec@swapoff.org>\fR
+--- devtodo-0.1.20.orig/doc/Makefile.am 2004-12-17 10:21:09.135350872 -0500
++++ devtodo-0.1.20/doc/Makefile.am 2004-12-17 10:21:34.050210242 -0500
+@@ -1,5 +1,5 @@
+ man_MANS=devtodo.1
+-manlinks=tda tdr tdd tde tdl todo
++manlinks=tda tdr tdd tde todo
+
+ install-data-local:
+ mkdir -p $(DESTDIR)$(mandir)/man1
+--- devtodo-0.1.20.orig/src/TodoDB.cc 2004-12-17 10:21:09.136350706 -0500
++++ devtodo-0.1.20/src/TodoDB.cc 2004-12-17 10:21:34.054209577 -0500
+@@ -949,7 +948,11 @@
+ if (out.bad())
+ throw exception("couldn't open TODO for generation");
+
+- if (titleText != "") wraptext(out, titleText, 0, options.columns);
++ if (titleText != "") {
++ wraptext(out, titleText, 0, options.columns);
++ out << endl << endl;
++ }
++
+ if (options.verbose > 1)
+ cout << "todo: generating using format '" << options.format["verbose-generated"] << "'" << endl;
+ filterView();
+--- devtodo-0.1.20/contrib/devtodo.bash-completion {cset 9b4d9f02-fdb7-4641-b07f-7359b794d6b0}
++++ devtodo-0.1.20/contrib/devtodo.bash-completion {local clone}
+@@ -35,6 +35,6 @@ _devtodo() {
+ ;;
+ esac
+ }
+-complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd tdl
++complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd
+
+ # vim: set ft=sh tw=80 sw=4 et :
+--- devtodo-0.1.20/src/support.cc {cset 5f5bd9cb-18fb-4046-bff5-4f3dbd781e47}
++++ devtodo-0.1.20/src/support.cc {local clone}
+@@ -289,11 +289,10 @@ enum { Help = -100, Remove, Version, Tit
+ << "Where <arguments> can be any of the following:" << endl;
+ args.displayHelp(cout, options.columns);
+ cout << endl
+- << "In addition, there are five convenience symlinks. These are 'tda', 'tdr'," << endl
+- << "'tdd', 'tde', and 'tdl'. For 'tde', 'tdd' and 'tdr' supply an index to edit," << endl
++ << "In addition, there are four convenience symlinks. These are 'tda', 'tdr'," << endl
++ << "'tdd', and 'tde'. For 'tde', 'tdd' and 'tdr' supply an index to edit," << endl
+ << "mark done and remove respectively. For 'tda' supply the text of the todo item" << endl
+- << "item and optionally the priority. For 'tdl' supply the path to another todo" << endl
+- << "file to link in to the current todo file." << endl
++ << "item and optionally the priority." << endl
+ << "eg. tde 1" << endl;
+ exit(0);
+ break;
+--- devtodo-0.1.20/src/Makefile.am 2007-09-17 12:12:55.000000000 +0200
++++ devtodo-0.1.20/src/Makefile.am 2007-09-17 12:13:43.000000000 +0200
+@@ -1,7 +1,7 @@
+ bin_PROGRAMS=devtodo
+ devtodo_SOURCES=Todo.cc Todo.h TodoDB.cc TodoDB.h support.cc support.h \
+ main.cc todoterm.cc todoterm.h Loaders.cc Loaders.h todorl.h
+-binlinks=tda tdr tdd tdl tde todo
++binlinks=tda tdr tdd tde todo
+
+ devtodo_LDADD=../util/libutil.la
+ INCLUDES=-I../util
diff --git a/app-misc/devtodo/files/devtodo.bash-completion b/app-misc/devtodo/files/devtodo.bash-completion
new file mode 100644
index 000000000000..9e2869a9e5d6
--- /dev/null
+++ b/app-misc/devtodo/files/devtodo.bash-completion
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# bash command-line completion for devtodo
+# Author: Aaron Walker <ka0ttic@gentoo.org>
+
+_devtodo() {
+ local cur prev opts
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ opts="-v --verbose -a --add -g --graft -l --link -R --reparent
+ -p --priority -e --edit --remove -d --done -D --not-done
+ --global-database -G --global --database -T --TODO -A --all
+ -f --filter --colour --force-colour --mono --help --version
+ --title --date-format --format --use-format --sort --paranoid
+ --database-loaders --backup -s --summary -c --comment --timeout
+ --purge"
+
+ if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+ return 0
+ fi
+
+ case "${prev}" in
+ -p|--priority)
+ COMPREPLY=( $(compgen -W "default veryhigh high medium low verylow" \
+ -- ${cur}) )
+ ;;
+ --database-loaders)
+ COMPREPLY=( $(compgen -W "xml binary" -- ${cur}) )
+ ;;
+ -l|--link|--*database)
+ COMPREPLY=( $(compgen -f -- ${cur}) )
+ ;;
+ *)
+ COMPREPLY=()
+ ;;
+ esac
+}
+complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd
+
+# vim: set ft=sh tw=80 sw=4 et :
diff --git a/app-misc/devtodo/metadata.xml b/app-misc/devtodo/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/devtodo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/digitemp/Manifest b/app-misc/digitemp/Manifest
new file mode 100644
index 000000000000..b94da554936e
--- /dev/null
+++ b/app-misc/digitemp/Manifest
@@ -0,0 +1,7 @@
+DIST digitemp-3.5.0.tar.gz 267947 SHA256 e185ef9b84501b28568160eb5a5cc3b98b72c0791aff9c128ff6d0cd23b711e8 SHA512 59055a97ae35cdc86bb893a755975b688d3be9185e717f5da0024d664e6c93dd5a7f10f1230772c3bc1bc76a088392da083ba63d28e054727b9f68ce31de64d3 WHIRLPOOL d10bda164dee77a8f0c90330a2799a1f37d4c2f8b8c9709df1fa91939ccbc93f660c5184dadbb52f9d5cf80acf7fbd018e93d7f46283e5a5a6195bb257e4928f
+DIST digitemp-3.7.1.tar.gz 144870 SHA256 6fa4d965350d5501b6ca73ee8a09276ca4f65b6d85dae62f0a796239bae5000e SHA512 e5eaf576b544c61049a358dece7dc96d9793b751ef08645060f3b2c1a2006e2906c3aa3f97de3dab46818290d664d2e784a948b2495b538a200b6d71b03173d2 WHIRLPOOL 0448de6833a1b182ba1fc78f7aaa4fb1fde5dd6b10d027a66008aee3893e09c3ed82bc09ae4ab5efedf875cab0a537a0b78c277d43f93e4766d8d895678c38d5
+EBUILD digitemp-3.5.0-r2.ebuild 1823 SHA256 6644e70677f4a23c972be5da168143358ad4beecf649d1f0670377144546a51e SHA512 bc45b25d1e34dbc2a822c5bc2e16dbbdab79935a5c6e37c0b629e3f62a834f0a17c7840468a2eed2ab9956f274b3cf3e8b1527ebc59c8722826d70d4a8cc50c3 WHIRLPOOL fd66a045b76b4f193105f0c549d39eae595d78a1fda8e8fb5572175c3d2a079af3f3b95effff82ee99450dce32f0ba5a516090939e15466b2bcd4d7ead29b7cd
+EBUILD digitemp-3.7.1.ebuild 1843 SHA256 95f968d49ae0aaa88c0d8fcae398a8dd2ae6820d29b2f33037aa93843b0b363b SHA512 1393cfc7cf65a4d694ec351e532e1414a0b58b71df6dda398a8abbb626735dfdc5575b36a2cfe09d3e21127e2809e9ea0d917872a842fd3cf9b71d6b6c0553c8 WHIRLPOOL 6d3646a6089867e605a48f23a4cca2058742cb6d3c7f0ee71e2e6b0f424312b62b0872f11b2ae49825b35361ed00812fb8bbd160f370a306fb848ae5fdcc9643
+MISC ChangeLog 2737 SHA256 743466ff5028a69c9c2d580e63404c622644ab2ec8e74921acd8508bd76e9d6e SHA512 c9bd9882603695b362be2d7cdc30495b96bdd617f3191d37699a37f16c0f1abccee026ba61b26a60a875123a92924a9060c58871b00cc286368b6da9371a2e18 WHIRLPOOL b426ad64824012d65a80eb58c68c13b8a114c795a99f624cda54764b7936ae07cc4b9537acf9b15da73370b8617d672edbd85e7f0573e2d4edca6ba5447525dd
+MISC ChangeLog-2015 3937 SHA256 90dfc8dbfc7ff05b3fae29230158aecd47555c925491c1e4f06aec992cd427e6 SHA512 bbd237fdd17629d37c116bf00809c81580f53a075e6978b2a20798de85899d967220464b2175017565835bb2c605963cb532f61e633fae9685ea58d152dc0e22 WHIRLPOOL 5caf0fab261832454e3e5c404edd042d16ce396027ec3217c4b01ed113e0212806a7fb685670989cb4de9ba0dbbb94b1bd120afc0e844f8ef793e98920929df9
+MISC metadata.xml 1112 SHA256 b61f2d28b132489ac17412f7e25603910ee4ac00e59f98a93e7c08b4e2aef9e7 SHA512 6a56d338898a9eb1dccc73bcf8155352bd8214287126fe9d3b0d71212f3fa315056299e15072c807d9976160781dabdba5bcaedd5207bf3df7784e77a7f44ff9 WHIRLPOOL c83c5cb4d4eb32cb1ee892edc2281d63cbf4d027b176c1416a25eac1915a82744af224d5445b79de6d0ef5d1e20f9a298db3249ddaa88633fa5afa1d5bbc6417
diff --git a/app-misc/digitemp/digitemp-3.5.0-r2.ebuild b/app-misc/digitemp/digitemp-3.5.0-r2.ebuild
new file mode 100644
index 000000000000..b53b52df73d2
--- /dev/null
+++ b/app-misc/digitemp/digitemp-3.5.0-r2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol"
+HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/"
+SRC_URI="http://www.digitemp.com/software/linux/${P}.tar.gz"
+
+IUSE="ds9097 ds9097u ds2490"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+DEPEND="ds2490? ( virtual/libusb:0 )"
+
+targets() {
+ # default is to compile to the ds9097u.
+ if ! ( use ds9097 || use ds9097u || use ds2490 ); then
+ echo ds9097u
+ fi
+ for target in ds9097 ds9097u ds2490; do
+ if use ${target}; then
+ echo ${target}
+ fi
+ done
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:-O2:${CFLAGS}:" \
+ -e "/^LIBS/s:=:= ${LDFLAGS}:" Makefile
+ # default is to compile to the ds9097u.
+ if ! ( use ds9097 || use ds9097u || use ds2490 ); then
+ ewarn "If you don't choose a component to install, we default to ds9097u"
+ fi
+}
+
+src_compile() {
+ local targets=$(targets)
+
+ for target in $targets; do
+ emake clean
+ emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed"
+ done
+}
+
+src_install() {
+ for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do
+ dobin digitemp_${target} && \
+ dosym digitemp_${target} /usr/bin/digitemp
+ done
+
+ if [[ $(targets|wc -l) -ge 1 ]]; then
+ echo
+ ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}"
+ ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*"
+ echo
+ fi
+
+ dodoc README FAQ TODO
+
+ for example in perl python rrdb; do
+ insinto "/usr/share/doc/${PF}/${example}_examples"
+ doins -r ${example}/*
+ done
+}
+
+pkg_postinst() {
+ echo
+ elog "Examples of using digitemp with python, perl, and rrdtool are"
+ elog "located in /usr/share/doc/${PF}/"
+ echo
+}
diff --git a/app-misc/digitemp/digitemp-3.7.1.ebuild b/app-misc/digitemp/digitemp-3.7.1.ebuild
new file mode 100644
index 000000000000..477651f361f4
--- /dev/null
+++ b/app-misc/digitemp/digitemp-3.7.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Temperature logging and reporting using Maxim's iButtons and 1-Wire protocol"
+HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/"
+SRC_URI="https://github.com/bcl/digitemp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+IUSE="ds9097 ds9097u ds2490"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="ds2490? ( virtual/libusb:0 )"
+
+targets() {
+ # default is to compile to the ds9097u.
+ if ! ( use ds9097 || use ds9097u || use ds2490 ); then
+ echo ds9097u
+ fi
+ for target in ds9097 ds9097u ds2490; do
+ if use ${target}; then
+ echo ${target}
+ fi
+ done
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:-O2:${CFLAGS}:" \
+ -e "/^LIBS/s:=:= ${LDFLAGS}:" Makefile
+ # default is to compile to the ds9097u.
+ if ! ( use ds9097 || use ds9097u || use ds2490 ); then
+ ewarn "If you don't choose a component to install, we default to ds9097u"
+ fi
+}
+
+src_compile() {
+ local targets=$(targets)
+
+ for target in $targets; do
+ emake clean
+ emake CC="$(tc-getCC)" LOCK="no" ${target} || die "emake ${target} failed"
+ done
+}
+
+src_install() {
+ for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do
+ dobin digitemp_${target} && \
+ dosym digitemp_${target} /usr/bin/digitemp
+ done
+
+ if [[ $(targets|wc -l) -ge 1 ]]; then
+ echo
+ ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}"
+ ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*"
+ echo
+ fi
+
+ dodoc README FAQ TODO
+
+ for example in perl python rrdb; do
+ insinto "/usr/share/doc/${PF}/${example}_examples"
+ doins -r ${example}/*
+ done
+}
+
+pkg_postinst() {
+ echo
+ elog "Examples of using digitemp with python, perl, and rrdtool are"
+ elog "located in /usr/share/doc/${PF}/"
+ echo
+}
diff --git a/app-misc/digitemp/metadata.xml b/app-misc/digitemp/metadata.xml
new file mode 100644
index 000000000000..b6ca52ee6bae
--- /dev/null
+++ b/app-misc/digitemp/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <longdescription>
+DigiTemp is a simple to use program for reading values from 1-wire devices. Its
+main use is for reading temperature sensors, but it also reads counters, and
+understands the 1-wire hubs with devices on different branches of the network.
+DigiTemp now supports the following 1-wire temperature sensors: DS18S20 (and
+DS1820), DS18B20, DS1822, the DS2438 Smart Battery Monitor, DS2422 and DS2423
+Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs), and the AAG TAI-8540
+humidity sensor.
+ </longdescription>
+ <use>
+ <flag name="ds2490">Build support for the ds2490 sensor</flag>
+ <flag name="ds9097">Build support for the ds9097 sensor</flag>
+ <flag name="ds9097u">Build support for the ds9097u sensor</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">bcl/digitemp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/dnetc/Manifest b/app-misc/dnetc/Manifest
new file mode 100644
index 000000000000..59a2d53d3797
--- /dev/null
+++ b/app-misc/dnetc/Manifest
@@ -0,0 +1,17 @@
+AUX dnetc.confd 403 SHA256 4ed7f825ca76270969f6dd0ef856caeaca2b9acd3f2f48614b9195d104483d80 SHA512 c088d9d02d55e3c99b3d6095487e061804bca1c571637d46a4234253d0ef8efe3ed22c93db2c48ad2e70223c96a3307c825d94114d87609bc764503b4f95e5ef WHIRLPOOL ffb1aec97622ad8fd104868e5967f8bc9e5c7cf81a5f63be101306c5a4f750df99d599eca20cc81db55ceeb7518c86cbb82a41c4e2e2f777f07e403be40b505f
+AUX dnetc.initd 2013 SHA256 6f0d469eaee27b2b843b59dcb2d708ab294db64e53529e7e0391fe11ab30937a SHA512 c3f23a7913331c318042517a517e29679a585bbf92f4da91aada528cbfe60f068959b2b7804658b14597734ddea23c6f2881cd8a150be8f5d4bf69c873214d29 WHIRLPOOL 36677c82c449e9b7b23171f57955555e7945107e151ebf34ffe6cb38132a145a432deb968a00475b42b95361bba5b2f39543d124d2d330923721b2988e0970f0
+DIST dnetc516-linux-sparc-v7.tar.gz 881743 SHA256 39441cf0c7b21cd1af1636698eb96769ffc46bc68331d5c4975d8485cfb8c352 SHA512 d70410773a14fe7237e0c542f45ab69f840dfd484622923da3abf723ffacf82bf94ecaa1d2089ab9326121ed4b3562ace7b267ed57bbf2c0971793b25fd30958 WHIRLPOOL 8f9628bb3521770044e4ecc33c4d7a5deb3602e1727d465eb0a8ffd95eff6908f97f174ecb852bf6f54a1ea83bf9185d1a97e8f9778a17fc2a60b769cda0e9c1
+DIST dnetc517-linux-amd64.tar.gz 645416 SHA256 5a2c7cf2ef50c5b895cb43751d94148523e0cc8283f3663601b10a7f83ddce38 SHA512 b22b59af2352a95156ea4b584f48d82e4b64080130d922bbb1797b2c62f7c401ec1263f2f0bd57103134f8fc76ef41a7e09d7da083ef0b46c44be4239005c21b WHIRLPOOL 4ec29bdf6a5d3dd1ba394ce12d6da8052577465f93e6f3ab4069ad6b51fe08e5aebcc3f108ee561a0a3319e8335a45e971fbbacfa67eb353a5664259acf56882
+DIST dnetc517-linux-x86-elf-uclibc.tar.gz 676398 SHA256 3245bb10705383983e9764340688ffe0fd74cbe69810ae3c9ef426b8df81e067 SHA512 7b56fa8c6819fd7060612c13c8fb17ca1e949abbca965b7599bb072751acd1d0e95f1a90fb67172c6d406b54e0c52549582489802e538670bdb6d12f8354e2a7 WHIRLPOOL 6906d777329615952b0d5c91730666089161e02a71d3a91cb5e9ea4364cce85047b58859f2cf6612a1b922745652a1fd0af0cb22f0e72ef47e9eab162d945489
+DIST dnetc518-linux-amd64.tar.gz 644073 SHA256 bc3f802079f07986b9b294834b5f97bdb43b061b17cc5e9ba9d22189896beda7 SHA512 95ad5144fbb1356806f6fd6f499891b36a0ea7c75794ada40cba9146c830adfd20044d8d3f3689186c9317b477aa95a6aae5d711c19534059b06b5d33367d785 WHIRLPOOL 134b479568d7feb05f74462155b72eb5a32f903a7b91dfa2587c845770583f6f62297356cb4514b238397729af8fb38a3fde4fcf6228953606e0b3f61389f9ab
+DIST dnetc518-linux-ppc-uclibc.tar.gz 717889 SHA256 2c8eda515d7976353fd3e3e6f11ac36b87af3158d0c4e472c1b58bde82182dd9 SHA512 c0d7592b1a5c98001355e71a1d31bc67bfef6b4c5f73c8e200717424ae4ea5c62558c413753e079f4e0b6bacdb921b395f46c168673e82049dcb69a0512d11eb WHIRLPOOL 39f0b46e799c8dfff713406c1991e4e729b74932e0177ed5808c3d68a8ec56b9fdab4aa931315e3b5372e2bcc3356d38e9df74f78beb68ee7da082762a22e089
+DIST dnetc519-linux-x86-elf-uclibc.tar.gz 676925 SHA256 185790bc3a1c0eb0a00e1aadf119b531ced6f931ef47bf134d6092fc55d096f0 SHA512 87519867e8e993d7b6520d73133196d34391d0694d8d8bbc372bac4e0b21ceb1a22fcd000bd2f29841695ee7232c4584eb1b19a690f723320df023c52a581395 WHIRLPOOL 873e329bba87122c2180d44a6df1a7ee50a2f1edcd7d631a9c0c5db0aa294ba936bf1aa945171d7962cc9455a08003ca946cf307f010c8cda0b5deeda8600993
+DIST dnetc519b-linux-amd64.tar.gz 648333 SHA256 ed6535ffea6c2fb627f6957559a8b27a48f785ac1678239a456194edf5e25354 SHA512 ea7899772ee8c5fbfbe96b6ec69b1a3237fe5ae96b17bb7e11e387fb833b471f3cce8809cf3c9987dfe33c7ca7082db560c36898094ace3e547077b7a5afc324 WHIRLPOOL b3d91208a9634b837f0e369a467bcd829770d4af7c18e1b0fefbb469c45574c6f09cdb0431ee35c7d00f2e20dd95a53561a262586b9be98d687531d8ad8c105a
+EBUILD dnetc-2.9107.516.ebuild 2690 SHA256 387cc1e8a7d5a28ab371404a83405b936b058acf5d7bed2a3e0d6ed49a395474 SHA512 c052c46f1aa734c8ac3a0dc92326e7c9ba6171b82c8e874c253515477066ee0ddbc2145497fb2dd56992affa4afdcfc6c5f4c83fed8c8c78cee1649d044bafa3 WHIRLPOOL a1d7e028e3b847241c8c95ebae96ee39d5102c5f7651d1d6dde36a52e1b27782f4d8725440f7462ef0bcef5116032b57901b4af24aa4397e9292c388eb55414f
+EBUILD dnetc-2.9108.517.ebuild 2682 SHA256 7145b5a93171da77d2105a2010cdcc941f0e196622664051cbab48e289de6305 SHA512 7134f249034c68baaca4f2cc9987de67faa938c3cbdea5bd969d7ec98dec9404c775832445cbf6b1febec356c5ce08bd284100902abbccd821d6bc1fedd04f25 WHIRLPOOL 15538fcb9ada0a4ce4672f465730ae698ebc17bbd8f40eedd0aeab7d557e84fa97bd12048af96e0c6698da98b381811b67cee1f16aacdd313a527d30bee16273
+EBUILD dnetc-2.9109.518.ebuild 2684 SHA256 d34cd11956b0c8956c7d259375e98b95e90d85cfed164b2ffb57527cfac0156d SHA512 8e9936bb3bca2fb51e6671984861d58aa7d1998251f25245239aec14d36be71df2d973c9109a5bb5ac5ba8adb7d024b7bffb49e63069ff2ab5b265cf9b03d13b WHIRLPOOL 072844418664eb3c57912807b16a735058a169687f4ad8110ca0d7fb496d2a41c1da7e9abe4141acd992affbefa28e458c8f362b7970011f96ec43c2c852470e
+EBUILD dnetc-2.9110.519.ebuild 2684 SHA256 d201081c3c9eea73a8914e5f2ecf995c7d8751fa207f5abc36ecb2c8dafc4181 SHA512 c267a5f62af380e4b6e8f9515d8b4fa046fffc5302fb6d47dc850bef3a882bd458416058b548ed867f4a6c4b811181293bd4c058fa0a20cdc8ca619982021567 WHIRLPOOL 1c87b299137f6119d91aa240ff26831c30cc816e6205c3276767d540e81552402b717f8cf4d5c3e5bfbe485bdc6f374159626c655b2c0fb581e4ad7a790dd9f5
+EBUILD dnetc-2.9110.519b.ebuild 2651 SHA256 2ff15eda4e8c54386476ca8f8302b9166a2ca514433d029dd53b2be8f9efc455 SHA512 3c1a3120dd66cdabc6e41951e8fb6721449c094aa60448d151eacd20f440eb769f11faed0e724dc1b95d6629656d809b40949e85c0db8ff5bc003f8b5c5e6ade WHIRLPOOL 16024f57b43b10ba8c7f27529a58321884a364d8b1776dd50b11edf7db00d64f758b95731cfe670478d86030112876f2673649dab91a11d6027270651a69d4e0
+MISC ChangeLog 2952 SHA256 fa47dcf388e6fb463f2cb44e18d4050f1689e7e177f4263d3d9eb40c7e6bce39 SHA512 472f0bde7cea16884dc658249cdb5589762da67365fe5102520e73b018404000836723b2f0daa19e702eb420eeab27578ee722f5a137b0e09ba51a9a3a1f44c4 WHIRLPOOL 40c0891f2604575bb5b316f29b012d54b4b487df782a817d37aeb62730776543a4445dda509b06eae836288b2bf2744a36aaaf80ad8e54ede81d6ce44815589e
+MISC ChangeLog-2015 12943 SHA256 97dd9270aacad63faff870d564aba5b3cf6be0e6faed39879f9b787b32ea9cde SHA512 53082bf39c9040f60d06cfb719d072022c9c6e55c6409cfa7ff5a6ae79fc7624cb9257cd7ab859d0842f50453f96169f01d8e60f3befec8f9e74abcc06ea31d8 WHIRLPOOL abc0b1375f60360316c7bb9d2ce049faff73e99f14b3fac26cdf5a0ca71b63334967893c925d4a4bdfd60cccf5aa56407f8846be16e8fb015d397e9ad2d14fe5
+MISC metadata.xml 357 SHA256 fed862e579347355d301d71a72b1f306bf57c494c30296fe61531fc288e8ec8c SHA512 6986582029e81ab7b8eec22c707c03c1996d0837ca9b4e7a0c31782be3f9c59a7d89c53980fdac00bb2a49555a774933704ac3fe390785840d072ac7ac9ac33d WHIRLPOOL 8f6d3d1dfa4f59c9f04220323fb2377552aaf8d982977295e2632e2a25019c36c6e6c59c81671e46c7e546cdbba90426feaf6872dd838d4127e4c6b5bd6d0847
diff --git a/app-misc/dnetc/dnetc-2.9107.516.ebuild b/app-misc/dnetc/dnetc-2.9107.516.ebuild
new file mode 100644
index 000000000000..bebbc0923b3b
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9107.516.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit user
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
+#SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
+#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
+SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
+SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
+
+LICENSE="distributed.net GPL-2"
+SLOT="0"
+KEYWORDS="~sparc" # x86,amd64,ppc not available for this version
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="net-dns/bind-tools"
+
+QA_PRESTRIPPED="opt/distributed.net/dnetc"
+
+S=${WORKDIR}/dnetc
+
+src_prepare() {
+ binname=""
+ if use amd64; then
+ binname=dnetc${MIN_PV}-linux-amd64
+ elif use x86; then
+ binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
+ elif use ppc; then
+ binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
+ fi
+ [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
+ mv "${binname}" dnetc || die "$binname binary is missing"
+}
+
+src_install() {
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+
+ newinitd "${FILESDIR}"/dnetc.initd dnetc
+ newconfd "${FILESDIR}"/dnetc.confd dnetc
+
+ keepdir /var/spool/dnetc
+}
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ source /etc/conf.d/dnetc
+
+ if [ -e /opt/distributed.net/dnetc.ini ]; then
+ # use ini file
+ /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
+ elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
+ # email adress from config
+ /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
+ fi
+
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+
+ enewgroup dnetc
+ enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_postinst() {
+ chown -Rf dnetc:dnetc /opt/distributed.net
+ chmod 0555 /opt/distributed.net/dnetc
+
+ elog "To run distributed.net client in the background at boot:"
+ elog " rc-update add dnetc default"
+ elog ""
+ elog "Either configure your email address in /etc/conf.d/dnetc"
+ elog "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ elog "All files has not been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/dnetc-2.9108.517.ebuild b/app-misc/dnetc/dnetc-2.9108.517.ebuild
new file mode 100644
index 000000000000..b8ef427428da
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9108.517.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit user
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
+SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
+#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
+#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
+SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
+
+LICENSE="distributed.net GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86" # ppc not available for this version
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="net-dns/bind-tools"
+
+QA_PRESTRIPPED="opt/distributed.net/dnetc"
+
+S=${WORKDIR}/dnetc
+
+src_prepare() {
+ binname=""
+ if use amd64; then
+ binname=dnetc${MIN_PV}-linux-amd64
+ elif use x86; then
+ binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
+ elif use ppc; then
+ binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
+ fi
+ [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
+ mv "${binname}" dnetc || die "$binname binary is missing"
+}
+
+src_install() {
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+
+ newinitd "${FILESDIR}"/dnetc.initd dnetc
+ newconfd "${FILESDIR}"/dnetc.confd dnetc
+
+ keepdir /var/spool/dnetc
+}
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ source /etc/conf.d/dnetc
+
+ if [ -e /opt/distributed.net/dnetc.ini ]; then
+ # use ini file
+ /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
+ elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
+ # email adress from config
+ /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
+ fi
+
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+
+ enewgroup dnetc
+ enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_postinst() {
+ chown -Rf dnetc:dnetc /opt/distributed.net
+ chmod 0555 /opt/distributed.net/dnetc
+
+ elog "To run distributed.net client in the background at boot:"
+ elog " rc-update add dnetc default"
+ elog ""
+ elog "Either configure your email address in /etc/conf.d/dnetc"
+ elog "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ elog "All files has not been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/dnetc-2.9109.518.ebuild b/app-misc/dnetc/dnetc-2.9109.518.ebuild
new file mode 100644
index 000000000000..071accd0bdd1
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9109.518.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit user
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
+SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
+SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
+#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
+SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
+
+LICENSE="distributed.net GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc" # x86 not available for this version
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="net-dns/bind-tools"
+
+QA_PRESTRIPPED="opt/distributed.net/dnetc"
+
+S=${WORKDIR}/dnetc
+
+src_prepare() {
+ binname=""
+ if use amd64; then
+ binname=dnetc${MIN_PV}-linux-amd64
+ elif use x86; then
+ binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
+ elif use ppc; then
+ binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
+ fi
+ [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
+ mv "${binname}" dnetc || die "$binname binary is missing"
+}
+
+src_install() {
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+
+ newinitd "${FILESDIR}"/dnetc.initd dnetc
+ newconfd "${FILESDIR}"/dnetc.confd dnetc
+
+ keepdir /var/spool/dnetc
+}
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ source /etc/conf.d/dnetc
+
+ if [ -e /opt/distributed.net/dnetc.ini ]; then
+ # use ini file
+ /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
+ elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
+ # email adress from config
+ /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
+ fi
+
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+
+ enewgroup dnetc
+ enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_postinst() {
+ chown -Rf dnetc:dnetc /opt/distributed.net
+ chmod 0555 /opt/distributed.net/dnetc
+
+ elog "To run distributed.net client in the background at boot:"
+ elog " rc-update add dnetc default"
+ elog ""
+ elog "Either configure your email address in /etc/conf.d/dnetc"
+ elog "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ elog "All files has not been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/dnetc-2.9110.519.ebuild b/app-misc/dnetc/dnetc-2.9110.519.ebuild
new file mode 100644
index 000000000000..3785ad20a0bd
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9110.519.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit user
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
+#SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
+#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
+#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
+SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
+
+LICENSE="distributed.net GPL-2"
+SLOT="0"
+KEYWORDS="~x86" # ppc,amd64 not available for this version
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="net-dns/bind-tools"
+
+QA_PRESTRIPPED="opt/distributed.net/dnetc"
+
+S=${WORKDIR}/dnetc
+
+src_prepare() {
+ binname=""
+ if use amd64; then
+ binname=dnetc${MIN_PV}-linux-amd64
+ elif use x86; then
+ binname=dnetc${MIN_PV}-linux-x86-elf-uclibc
+ elif use ppc; then
+ binname=dnetc${MIN_PV}-linux-ppc-elf-uclibc
+ fi
+ [[ -z "${binname}" ]] && die "Name of dnetc binary for this platform undefined"
+ mv "${binname}" dnetc || die "$binname binary is missing"
+}
+
+src_install() {
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+
+ newinitd "${FILESDIR}"/dnetc.initd dnetc
+ newconfd "${FILESDIR}"/dnetc.confd dnetc
+
+ keepdir /var/spool/dnetc
+}
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ source /etc/conf.d/dnetc
+
+ if [ -e /opt/distributed.net/dnetc.ini ]; then
+ # use ini file
+ /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
+ elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
+ # email adress from config
+ /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
+ fi
+
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+
+ enewgroup dnetc
+ enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_postinst() {
+ chown -Rf dnetc:dnetc /opt/distributed.net
+ chmod 0555 /opt/distributed.net/dnetc
+
+ elog "To run distributed.net client in the background at boot:"
+ elog " rc-update add dnetc default"
+ elog ""
+ elog "Either configure your email address in /etc/conf.d/dnetc"
+ elog "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ elog "All files has not been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/dnetc-2.9110.519b.ebuild b/app-misc/dnetc/dnetc-2.9110.519b.ebuild
new file mode 100644
index 000000000000..59faa0435084
--- /dev/null
+++ b/app-misc/dnetc/dnetc-2.9110.519b.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit user
+
+MAJ_PV=${PV:0:6}
+MIN_PV=${PV:7:9}
+
+DESCRIPTION="distributed.net client"
+HOMEPAGE="http://www.distributed.net"
+#SRC_URI_x86="x86? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-x86-elf-uclibc.tar.gz )"
+SRC_URI_amd64="amd64? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-amd64.tar.gz )"
+#SRC_URI_ppc="ppc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-ppc-uclibc.tar.gz )"
+#SRC_URI_sparc="sparc? ( http://http.distributed.net/pub/dcti/v${MAJ_PV}/dnetc${MIN_PV}-linux-sparc-v7.tar.gz )"
+SRC_URI="${SRC_URI_amd64} ${SRC_URI_ppc} ${SRC_URI_x86} ${SRC_URI_sparc}"
+
+LICENSE="distributed.net GPL-2"
+SLOT="0"
+KEYWORDS="~amd64" # ppc,x86 not available for this version
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND=""
+RDEPEND="net-dns/bind-tools"
+
+QA_PREBUILT="opt/distributed.net/dnetc"
+
+getS() {
+ case $ARCH in
+ amd64) suffix=amd64 ;;
+ x86) suffix=x86-elf-uclibc ;;
+ ppc) suffix=ppc-elf-uclibc ;;
+ esac
+ echo dnetc${MIN_PV:0:3}-linux-${suffix}
+}
+
+src_prepare() {
+ export S="${WORKDIR}/$(getS)"
+ cd "${S}"
+ [[ -x dnetc ]] || die "Name of dnetc directory/binary for this platform undefined"
+}
+
+src_install() {
+ export S="${WORKDIR}/$(getS)"
+ cd "${S}"
+ exeinto /opt/distributed.net
+ doexe dnetc
+
+ doman dnetc.1
+ dodoc docs/CHANGES.txt docs/dnetc.txt docs/readme.*
+
+ newinitd "${FILESDIR}"/dnetc.initd dnetc
+ newconfd "${FILESDIR}"/dnetc.confd dnetc
+
+ keepdir /var/spool/dnetc
+}
+
+pkg_preinst() {
+ if [ -e /opt/distributed.net/dnetc ] && [ -e /etc/init.d/dnetc ]; then
+ einfo "flushing old buffers"
+ source /etc/conf.d/dnetc
+
+ if [ -e /opt/distributed.net/dnetc.ini ]; then
+ # use ini file
+ /opt/distributed.net/dnetc -quiet -ini /opt/distributed.net/dnetc.ini -flush
+ elif [ ! -e /opt/distributed.net/dnetc.ini ] && [ ! -z ${EMAIL} ]; then
+ # email adress from config
+ /opt/distributed.net/dnetc -quiet -flush -e ${EMAIL}
+ fi
+
+ einfo "removing old buffer files"
+ rm -f /opt/distributed.net/buff*
+ fi
+
+ enewgroup dnetc
+ enewuser dnetc -1 -1 /opt/distributed.net dnetc
+}
+
+pkg_postinst() {
+ chown -Rf dnetc:dnetc /opt/distributed.net
+ chmod 0555 /opt/distributed.net/dnetc
+
+ elog "To run distributed.net client in the background at boot:"
+ elog " rc-update add dnetc default"
+ elog ""
+ elog "Either configure your email address in /etc/conf.d/dnetc"
+ elog "or create the configuration file /opt/distributed.net/dnetc.ini"
+}
+
+pkg_postrm() {
+ if [ -d /opt/distributed.net ]; then
+ elog "All files has not been removed from /opt/distributed.net"
+ fi
+}
diff --git a/app-misc/dnetc/files/dnetc.confd b/app-misc/dnetc/files/dnetc.confd
new file mode 100644
index 000000000000..f6f0da6b7e2d
--- /dev/null
+++ b/app-misc/dnetc/files/dnetc.confd
@@ -0,0 +1,18 @@
+# configuration file for dnetc
+
+# Startup will look for configuration files in the following places, using the
+# first one that it finds:
+# 1. /etc/dnetc.conf
+# 2. /opt/distributed.net/dnetc.ini
+
+# Values specified here will override those found in any client configuration
+# file.
+
+# email adress
+EMAIL=
+
+# buffer base dir
+BUFFER_BASE_DIR=/var/spool/dnetc
+
+# keyserver address
+KEYSERVER_ADDRESS=
diff --git a/app-misc/dnetc/files/dnetc.initd b/app-misc/dnetc/files/dnetc.initd
new file mode 100644
index 000000000000..f3a512074912
--- /dev/null
+++ b/app-misc/dnetc/files/dnetc.initd
@@ -0,0 +1,88 @@
+#!/sbin/openrc-run
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+opts="${opts} reload fetch flush"
+
+depend() {
+ use net
+}
+
+processOpts() {
+ local retVal=1
+
+ DNETPATH="/opt/distributed.net"
+ DNETBIN="${DNETPATH}/dnetc"
+
+ STARTOPTS="--start --chuid dnetc:dnetc --quiet \
+ --exec ${DNETBIN}"
+
+ DNETOPTS="-quiet"
+
+ if [ -e /etc/dnetc.ini ] ; then
+ retVal=0
+ DNETOPTS="${DNETOPTS} -ini /etc/dnetc.ini"
+ elif [ -e ${DNETPATH}/dnetc.ini ]; then
+ retVal=0
+ DNETOPTS="${DNETOPTS} -ini ${DNETPATH}/dnetc.ini"
+ elif [ ! -z ${EMAIL} ]; then
+ retVal=0
+ fi
+
+ # override ini settings with values in /etc/conf.d/dnetc
+
+ DNETOPTS="${DNETOPTS} ${EMAIL:+-e ${EMAIL}}"
+ if [ ! -z ${BUFFER_BASE_DIR} ] ; then
+ local buff_in="${BUFFER_BASE_DIR:+${BUFFER_BASE_DIR}/}buff-in"
+ local buff_out="${BUFFER_BASE_DIR:+${BUFFER_BASE_DIR}/}buff-out"
+ DNETOPTS="${DNETOPTS} -inbase ${buff_in}"
+ DNETOPTS="${DNETOPTS} -outbase ${buff_out}"
+ fi
+ DNETOPTS="${DNETOPTS} ${KEYSERVER_ADDRESS:+-a ${KEYSERVER_ADDRESS}}"
+
+ # fair group cpu scheduler
+ uidpath="/sys/kernel/uids/`id -u dnetc`"
+ [ -d $uidpath ] && echo 2 >$uidpath/cpu_share
+ unset uidpath
+
+ if [ ${retVal} -ne 0 ] ; then
+ eerror "Need some sort of configuration. Check /etc/conf.d/dnetc."
+ fi
+
+ return ${retVal}
+}
+
+start() {
+ processOpts || return 1
+ ebegin "Starting distributed.net client"
+ start-stop-daemon ${STARTOPTS} -- ${DNETOPTS}
+ eend ${?}
+}
+
+stop() {
+ processOpts || return 1
+ ebegin "Stopping distributed.net client"
+ start-stop-daemon --stop --quiet --exec ${DNETBIN} --
+ eend ${?}
+}
+
+reload() {
+ processOpts || return 1
+ ebegin "Reloading distributed.net client"
+ start-stop-daemon --stop --quiet --signal HUP --exec ${DNETBIN}
+ eend ${?}
+}
+
+fetch() {
+ processOpts || return 1
+ ebegin "Fetching distributed.net client buffers"
+ ${DNETBIN} ${DNETOPTS} -fetch
+ eend ${?}
+}
+
+flush() {
+ processOpts || return 1
+ ebegin "Flushing distributed.net client buffers"
+ ${DNETBIN} ${DNETOPTS} -flush
+ eend ${?}
+}
diff --git a/app-misc/dnetc/metadata.xml b/app-misc/dnetc/metadata.xml
new file mode 100644
index 000000000000..40c9f16e0287
--- /dev/null
+++ b/app-misc/dnetc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <longdescription>
+ a distributed client for the distributed.net cracking challenges.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/dtach/Manifest b/app-misc/dtach/Manifest
new file mode 100644
index 000000000000..309318084d3f
--- /dev/null
+++ b/app-misc/dtach/Manifest
@@ -0,0 +1,8 @@
+AUX dtach-0.8-CVE-2012-3368.patch 1040 SHA256 2366af67282d85b1a84739db2d4b186c9038d02712baf15367bd51c5d8871499 SHA512 64ab0e8384e4f04e43b8565440b0ec3f0d43b87e142cd15dda0eec2b320aa3e8ed437524dcdbd390b83f4cb39c13df3575318be4de5f8eec50fb710c9ec1170b WHIRLPOOL 0b098b5726f8da149911f39f988b9ba4c907286bbc4717356b47ebdd7135b97456f754ebd9513f24beb49ea363690d8596a1a677bdb25ce09c9bf0f8b698f21f
+DIST dtach-0.8.tar.gz 55472 SHA256 16614ebddf8ab2811d3dc0e7f329c7de88929ac6a9632d4cb4aef7fe11b8f2a9 SHA512 ad0a788d10a5e1e1be4c353b64e1e4a0dc8c888492a638b2442d7c59ef31d67975357116435a1059141bfc2c82a3a6e9e490faa87cf81e5fc3bc7457a99c1193 WHIRLPOOL 271236b493a36e159081570c1a2bea41cc58e151a9cdfd99d2a4f27486dd62d4c1955a4b858b356ef0d6613e1a9c5c8958ca3bd143e0fb07a12f3cb92370f989
+DIST dtach-0.9.tar.gz 60608 SHA256 32e9fd6923c553c443fab4ec9c1f95d83fa47b771e6e1dafb018c567291492f3 SHA512 28c13dc8c96c16b9c6153a3a11fdeb4a4bc72e84e1f2575043b047cd8e600a47232f29544ffd87d82e2575623ec2e999a26e23e9eac25ec81c7722bdf98cfb18 WHIRLPOOL d86a11d15fb9c2995cb7f7613a2cc45f6da8321fba5678034fd4d68c563f33e8962570e66e7d37a4145b520dfad7b267b5c00fb3c11325888ce46a082b91584f
+EBUILD dtach-0.8-r1.ebuild 472 SHA256 60e14153059e06c867eaef2e9646b334197e943461615538d3ec164154dda895 SHA512 cddc92673cb9ab6153c477c2a77f95584edcb4a7140c5e275ddb9ad64773c56084e9609d06c9a00cb226ac3cbe71842114b6fd3522e0db6b624f4adb1fdd216a WHIRLPOOL 2ea60d02f9b9fea4067ca8a9ffd09765dccb3ea863447fc59150401ac664002110c2549d7d84e7af33321d039cceff1e18cbe357c9b6128d2b5d39a1d9cf54d5
+EBUILD dtach-0.9.ebuild 426 SHA256 2ee78548556199005d0777b824ebb14a26d17249f22c76bd37699df6ba347758 SHA512 d41a8fa01af851a15660a10cd37cbdf44c31e72d62b715cb5657d2ed1e2ebad4cbf7fbed9ceb2b56b0dcd08ef2bd0f3a5a30d186c5792ee0924906202a815d1f WHIRLPOOL cb4424a8452beba777dce08b36b5f8317152be225db76eb258f51d17722838f00373b66a35912420f51826747bb223b01a84f43cf748285bfd672120e3eb12c0
+MISC ChangeLog 2588 SHA256 570f0a8482b851130be0ac4ad30c847b9b9c1f8cee585b4cb9668f8319f3a228 SHA512 f7a228060143c6b5bcc62da3e7aebf53fe88a0450332a478b21969b336034d3197be0f7b3b1bb0b375f5c766d46f7cd7bebf9d2a99c7f37248ac114735f9555a WHIRLPOOL 245e1140b1972574c428395dec5bfea4508209182e33d6a33d4464fa604aba6938719458bcb9e7f3e72ea924574446c3ae932c9e52d7cdd652d58587b82490bb
+MISC ChangeLog-2015 2708 SHA256 993c8c4d60f33d1208353f0fa2cd5ed65142e37b4d9b817c08ef3a1836cd4f7b SHA512 c46d16693711662258fe183e3da66fa000bae93cb881541f692c03f9d1cb60d88a919a35315f9a0adfeb1c0fc9f1bceca33e971284aa991a8df1311d7058d565 WHIRLPOOL 729c283e5c3036ec7fce0011077e367cb168717b0a4b0c54f49ed2b9936c199b93eac31a8795241b33cbf8dfcfa80f411ae935cb7efa298982cbc1de9e765d7f
+MISC metadata.xml 393 SHA256 45aa097170c23fed7c8f308c057aaca4cad3b809a84420e59b5d807cf2397278 SHA512 39071ddc8ee3913fb6898bbf5ce5488c76f6a7fa5f3f3905359a228d432cc76fe0336c0640d0fcd26c1be97abc220626c4258c5cd1de280a50d033b57d84aaa7 WHIRLPOOL 9f5fc145dcae4d6e6381830692fbd8695c88e912b1dbc404717fa025de85ccf068f79eb97404c4e2e4283fca61216fcd6397f1856c2221dadee39602e134a818
diff --git a/app-misc/dtach/dtach-0.8-r1.ebuild b/app-misc/dtach/dtach-0.8-r1.ebuild
new file mode 100644
index 000000000000..34e56870b850
--- /dev/null
+++ b/app-misc/dtach/dtach-0.8-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Emulates the detach feature of screen"
+HOMEPAGE="http://dtach.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha amd64 ~arm ppc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-CVE-2012-3368.patch
+}
+
+src_install() {
+ dobin dtach
+ doman dtach.1
+ dodoc README
+}
diff --git a/app-misc/dtach/dtach-0.9.ebuild b/app-misc/dtach/dtach-0.9.ebuild
new file mode 100644
index 000000000000..b7176d6205f8
--- /dev/null
+++ b/app-misc/dtach/dtach-0.9.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Emulates the detach feature of screen"
+HOMEPAGE="http://dtach.sourceforge.net/ https://github.com/crigler/dtach"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
+IUSE=""
+
+src_install() {
+ dobin dtach
+ doman dtach.1
+ dodoc README
+}
diff --git a/app-misc/dtach/files/dtach-0.8-CVE-2012-3368.patch b/app-misc/dtach/files/dtach-0.8-CVE-2012-3368.patch
new file mode 100644
index 000000000000..82d5f0e1e159
--- /dev/null
+++ b/app-misc/dtach/files/dtach-0.8-CVE-2012-3368.patch
@@ -0,0 +1,35 @@
+Fix error handling for read from stdin in attach.c
+
+attach.c did not correctly handle a read from stdin when read returned
+an error. The code assigned the return value of read to pkt.len (an
+unsigned char) before checking the value. This prevented the error check
+from working correctly, since an unsigned integer can never be < 0.
+
+A packet with an invalid length was then sent to the master, which then
+sent 255 bytes of garbage to the program.
+
+Fix the bug in attach.c and the unchecked packet length bug in master.c.
+
+Report and initial patch by Enrico Scholz.
+
+--- attach.c 2012/07/01 21:26:10 1.12
++++ attach.c 2012/07/01 21:44:34 1.13
+@@ -237,12 +237,16 @@
+ /* stdin activity */
+ if (n > 0 && FD_ISSET(0, &readfds))
+ {
++ ssize_t len;
++
+ pkt.type = MSG_PUSH;
+ memset(pkt.u.buf, 0, sizeof(pkt.u.buf));
+- pkt.len = read(0, pkt.u.buf, sizeof(pkt.u.buf));
++ len = read(0, pkt.u.buf, sizeof(pkt.u.buf));
+
+- if (pkt.len <= 0)
++ if (len <= 0)
+ exit(1);
++
++ pkt.len = len;
+ process_kbd(s, &pkt);
+ n--;
+ }
diff --git a/app-misc/dtach/metadata.xml b/app-misc/dtach/metadata.xml
new file mode 100644
index 000000000000..b49e8d43f1e8
--- /dev/null
+++ b/app-misc/dtach/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="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">dtach</remote-id>
+ <remote-id type="github">crigler/dtach</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/dvorak7min/Manifest b/app-misc/dvorak7min/Manifest
new file mode 100644
index 000000000000..901b3d26e37e
--- /dev/null
+++ b/app-misc/dvorak7min/Manifest
@@ -0,0 +1,5 @@
+DIST dvorak7min-1.6.1.tar.gz 53115 SHA256 f0b5be8b44782904717adea087fc936cd4941d6885fe5d8d0a60a5c8467f15c5 SHA512 17ed601f298673a51d73b2efeb1555d91337f34cfbcc099a71c11de38fecdb29747de9533abec9028c3abc9f04dc9090e4452bba1c53cdac8d65e86a760e8a7a WHIRLPOOL 2758b6cfefd858f7bcffa82efacb7dcb85daf8cffad03dd8bb4bf99ee4745f2903fd295b50334d01e3c5f2ebf347dcbc37c6e3805f9d1ed1bee3c392f2a466d0
+EBUILD dvorak7min-1.6.1.ebuild 605 SHA256 64b7fd0b2c45ce30aec1aac804e65cb1f9056352e039743a6dfd9a80dc391a9d SHA512 84a1760af7ea02ef465350dbe74d5960f76f5f7d1d301979c41463fff3096aecd2577dcdc70545618efdaef554c84daae1aa54b139d9a517b6edb69a2a192d98 WHIRLPOOL 12c77cef209331db500e1787e9d51aba240df391c3924abbd7b84e967b74af8b1a89308c676cc742c35dfecd917205c10d5ebf57c063410fe678155379fdb375
+MISC ChangeLog 2531 SHA256 1fa3f1c3ee24aa8b5b50a246a2d956e36ee28a1a00d103f483d573e9fd44400b SHA512 5a38439d495cb95bef93fbb5ea143b611a871d83c941ef5d8b57652f577ba7a29ea07b2029f478ea3e50e8bf175083d16d507d52b014cdc7959188d4b512141e WHIRLPOOL 5f57938c72e4413a59c320ad39241d59eecfaa9eb011063bcf486dcd47613c439092beca2c86725fd50ab399b6456d2d2b2907a6bd7ddeb91e9c363e0a1782d8
+MISC ChangeLog-2015 1702 SHA256 4e3dd69d5fb0e75a4c088a1284c58b31a3e9fbe65629c8e2003cb96fa1cd1013 SHA512 d59b64edb07838d8bafc166c8fbeb53558507e1a57aa287057ef21a85c9c05919a0be40aa5e263ba1d08dc5aeb5171e81410ac20068f076f2035d70e106e51d8 WHIRLPOOL ce47cea887a683251447ef8bd1dc93e1b4741af77996e4b62b7f247b91374992846b1183e377e562f6536abfd2bfae6c4870839903480b462a34f0d21f5a716e
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/dvorak7min/dvorak7min-1.6.1.ebuild b/app-misc/dvorak7min/dvorak7min-1.6.1.ebuild
new file mode 100644
index 000000000000..64c731780400
--- /dev/null
+++ b/app-misc/dvorak7min/dvorak7min-1.6.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple ncurses-based typing tutor for learning the Dvorak keyboard layout"
+HOMEPAGE="http://www.linalco.com/comunidad.html"
+SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+src_prepare() {
+ emake clean
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ PROF="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ChangeLog README
+}
diff --git a/app-misc/dvorak7min/metadata.xml b/app-misc/dvorak7min/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/dvorak7min/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/dvorakng/Manifest b/app-misc/dvorakng/Manifest
new file mode 100644
index 000000000000..e7da66d46b1e
--- /dev/null
+++ b/app-misc/dvorakng/Manifest
@@ -0,0 +1,5 @@
+DIST dvorakng-0.6.0rc1.tar.bz2 28994 SHA256 b85eb695d422562274aa39e85dec8911dcbffe6eb72d1e4d38f70afde27e0036 SHA512 87f0bb2199188093ea4223d7dc47232f53b266aa9498170b643c25e724f547fa1ce5d0e1d4e7f275c712f6ec4850d825827b66f84407f186eb80b73ac973ded7 WHIRLPOOL 78361363f4444bbd9cc86df9aebc79469f0909b6862d8856c21f61463aa702649c94ed6498b874a9773b1009a3934c85cc30de9bb3062c2ceb54c83d285e594f
+EBUILD dvorakng-0.6.0.ebuild 653 SHA256 0b0c2ceb887e8b1318f50ed744b8bc82193c322fcc53c66ef543687cde9c6026 SHA512 cf8e588e09d8e2e0232eba7f24183a0fe03f7f961cc38d68778ec74ec101f29818749130a8dead61d20f0a8c6ad8e0ab1842bbc5935b6dfcfbb60aa2ccbbec7d WHIRLPOOL 4f9abaf38a12680b30971fc9eac16ae192bd94d1806068ae3fa343402832deee8d6b8915ec9ebe36ba001e6afbe446349170a424c2cabf4dbbaef83173852903
+MISC ChangeLog 2709 SHA256 1c416c504dea13bfa8b5ff2c7823e3a2891dd0c630919a736f144320f3ea013e SHA512 064e102b1e48794f65407205fe32f143ae0997cba0c113a3d8fc26d4728b6c930b7dfe5a8920864e6472f3ca32c08ff9398ca1efb4e27cfefb6d54e228cf8ebb WHIRLPOOL 7d45d7fa08f6bf046fb26c3f96452f3a205af8c336b23d8b6768c83f81819973a31d08f4a6d5e32448c975dec81fb33edbd5e7136d7ed940166a955cb5975995
+MISC ChangeLog-2015 1318 SHA256 97d147d64334c2e250b208fef656d165ef70ea0151be6264196c3450896b82fc SHA512 cedccfb1e347a65512fa5a3e8a1cd9d0b1cf5a7d0be376d810d0f8d4b6fe966abade26190b48a00927cdab59b74c25b6ab9a2bc6522993ffea7de882ea3eed39 WHIRLPOOL 594f956915e2e997d64d7bd64781b9adc9bdddf4b5dc28641c320702643f627c9fcd5184e8449863e03f8e0e62aa961c87d866303325f95ee387836bbaacbbd1
+MISC metadata.xml 243 SHA256 58107b36be9487120787ead1cbd75a56d17fd0be6ba5846e21e3ed25bff05328 SHA512 0c6d3c4fec9011d1fb2db62b4acd032700b92ace835ef852dcab0acabcac02cd155aa002020432329b972be82159606072244b1421d2d80da09c919e952f1c41 WHIRLPOOL 68cfcd502852c986a80fa4d9cd4e9f2dc8aefe0c451ffbf8d8e9cb355fb460f9b933d20261f163cf8ec106f1b34aced853cdb4cadd4f8d31dfaa92619c432811
diff --git a/app-misc/dvorakng/dvorakng-0.6.0.ebuild b/app-misc/dvorakng/dvorakng-0.6.0.ebuild
new file mode 100644
index 000000000000..b99e9273b654
--- /dev/null
+++ b/app-misc/dvorakng/dvorakng-0.6.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Dvorak typing tutor"
+HOMEPAGE="http://freshmeat.net/projects/dvorakng/?topic_id=71%2C861"
+SRC_URI="http://www.free.of.pl/n/nopik/${P}rc1.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+RDEPEND="
+ sys-libs/ncurses:*
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ emake \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README TODO
+}
diff --git a/app-misc/dvorakng/metadata.xml b/app-misc/dvorakng/metadata.xml
new file mode 100644
index 000000000000..0cd94576171d
--- /dev/null
+++ b/app-misc/dvorakng/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="freshmeat">dvorakng</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/dvtm/Manifest b/app-misc/dvtm/Manifest
new file mode 100644
index 000000000000..dc442cc915cb
--- /dev/null
+++ b/app-misc/dvtm/Manifest
@@ -0,0 +1,8 @@
+DIST dvtm-0.14.tar.gz 35893 SHA256 8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a SHA512 d47f55b4ce47582f665ac5b5d86bb9137722f65b157bdd80aaaf45a2cd8d783a3b0718886c7a7ea1d900762359316c2d76816460dac03484e122d43c64f57dd6 WHIRLPOOL 1ca474b4ad5f9d7fa7106ec0c180d32e06cd2d02be1e3a3392a7c6373ecf00d5abba26e8e4d2ed67d8784533db10951bebc408cad9c068e7270407beb339706e
+DIST dvtm-0.15.tar.gz 40511 SHA256 8f2015c05e2ad82f12ae4cf12b363d34f527a4bbc8c369667f239e4542e1e510 SHA512 48a0c8fd6a50fe5d43414d0223c9f4b9920a31d42fe3bfc428ce1ae7d0e41a41ebe2597eae0824c7c76bfb0e32a13e440c8d5fcdb1886d55d6791fa3fe3fd77b WHIRLPOOL 2025dfc087408108ac9fc6fc8952f760324d3ecc900b9b820b4beb6cebd31d4f2a9b9a7191981fb403a987ff2caf536a8f6103ee8d918a36ea414f41a06d69c3
+EBUILD dvtm-0.14.ebuild 1512 SHA256 181b81a10f37cd832f21a602b6fe20060170b82cf40ab03f75856fa4297b34cc SHA512 06b8a86b770fd2d3040a057a118eefccc35b1b8f533a7e2bf621c58c76eb63251132444d24687fd087d7ad31f85f2892a39c4ea437b115a1976d04279990d8af WHIRLPOOL 47d2791a94bfab4c95743288133d92f0de8ece34efcfbaacabcf0e6eb95f311d04b2908215d0a439657aae135765c592b89eee8f2d4dc18d035c445cff681bd7
+EBUILD dvtm-0.15.ebuild 1504 SHA256 2e7337f18f51093cfcb380a6f641e5298d111b90a4ce1bd0792b953128fdbf30 SHA512 03ed855a95d142ec3f60863d0c372a2ba842542210f259e1e070ae68261f5f3318ba074101cf51e5b202af1ab86d5e7e34ec2f5d34b070e5b7ea34fffc57e244 WHIRLPOOL c049ec3ae3f2e3a8ba005849d7e6cd65eee36455bbbfbff1cca3016fdaef9cb16762d3819cb73e8903fc1b14e11f66d0a6a37ab04e217674aa7346b5db8801c1
+EBUILD dvtm-9999.ebuild 1517 SHA256 fb6517547054e315e54b95053572f11770ebc451d3b90c61de602af1e2d81ef4 SHA512 090804b22e245494715fb17a5539cc4562528728a1dce94f447bb8db53f4291e5d86d99fb2fb9dfb72786fc222f2ff71d7ce554b22d2a837e4b0507fcfb6884a WHIRLPOOL c4cd08f0bb1155f5e36c49a2ea69a20d4c3f924f4d0d8c98c93718625bb16d9c9e9e256bcde62641373ec9da44ccc01c072113839eef842d95ca8b25b4283458
+MISC ChangeLog 3530 SHA256 c8d008c95957e93436ad24dc57beff1b7ecc5e66460e06c8f4ab06ebdbef9c0e SHA512 f026b7d4233ddef2b133cc3cd8476544aebbef51bc2ae9f84d972e2c86e3c251b2e1a79300637c8a4f1ddf093e5ebad89b8039121b81aa27dfbed1470389fa51 WHIRLPOOL b92b1c4f2042d4eae7b02316b607b0bb3b2e2534c560349bfd7d1efa61eedcbe7a377da20b998a60f298e1b717b0b4d2c48959bd43a4439a1fac426f38cb3fca
+MISC ChangeLog-2015 2873 SHA256 b6da2eb819b7fc50bdc76ce7233c66cd21a639040e03c0bd3acc3ddf6cbdfca6 SHA512 58e6eab8b636701b8394ac5d09086435e47f0f0a9220a01e1c6d90ec22abc2650c2cb8b4b67d925d819d4e4ce7caffb5abb423ab20036ca03423cd94ae0a0f4a WHIRLPOOL 6a45fd88fa0e99604ca2650c388459ee9c195552a736112a060f21b980434e511d12c2f6eca8056df059cc99fbd1d6d3528454cd8ec105177e656758df78c81e
+MISC metadata.xml 266 SHA256 76cc9d0b53488ed4cb6c14c37b32f0d5ee6a337e209f13dcdacdfbc0c8750bba SHA512 4da13e3e2134d06372d9bdc1de80cef972ac5db82e7ee8b3cfe620712610fd863c9037a6b8c84ee7a6c8eb8f0cb52568f040474eddb73a7afa07b5a53f512ac5 WHIRLPOOL 8361293f9fb11196804aafba7dff1ac177d9a5fe90d232ec69186838edd7796fd30f7ed56091753e04a68ac71b32be6c700b402fc1c7cb0774a71ffb90f349a7
diff --git a/app-misc/dvtm/dvtm-0.14.ebuild b/app-misc/dvtm/dvtm-0.14.ebuild
new file mode 100644
index 000000000000..23b0266b9305
--- /dev/null
+++ b/app-misc/dvtm/dvtm-0.14.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Dynamic virtual terminal manager"
+HOMEPAGE="http://www.brain-dump.org/projects/dvtm/"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://repo.or.cz/dvtm.git"
+ KEYWORDS="arm"
+else
+ SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+ KEYWORDS="amd64 arm x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="unicode"
+
+DEPEND="sys-libs/ncurses[unicode?]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ sed -i \
+ -e 's|FLAGS =|FLAGS +=|' \
+ -e 's|-I/usr/local/include||' \
+ -e 's|-L/usr/local/lib||' \
+ -e 's|-Os||' \
+ config.mk || die "sed config.mk failed"
+ use unicode || {
+ sed -i \
+ -e 's|-lncursesw|-lncurses|' \
+ config.mk || die "sed config.mk failed"
+ }
+ sed -i \
+ -e '/strip/d' \
+ -e 's:@tic :@tic -o ${DESTDIR}${PREFIX}/share/terminfo :g' \
+ Makefile || die "sed Makefile failed"
+
+ restore_config config.h
+}
+
+src_compile() {
+ local msg=""
+ use savedconfig && msg=", please check the configfile"
+ emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ insinto /usr/share/${PN}
+ newins config.h ${PF}.config.h
+
+ dodoc README
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ elog "This ebuild has support for user defined configs"
+ elog "Please read this ebuild for more details and re-emerge as needed"
+ elog "if you want to add or remove functionality for ${PN}"
+}
diff --git a/app-misc/dvtm/dvtm-0.15.ebuild b/app-misc/dvtm/dvtm-0.15.ebuild
new file mode 100644
index 000000000000..06ed45d16863
--- /dev/null
+++ b/app-misc/dvtm/dvtm-0.15.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Dynamic virtual terminal manager"
+HOMEPAGE="http://www.brain-dump.org/projects/dvtm/"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://repo.or.cz/dvtm.git"
+else
+ SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="unicode"
+
+DEPEND="sys-libs/ncurses:0[unicode?]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ sed -i \
+ -e 's|FLAGS =|FLAGS +=|' \
+ -e 's|-I/usr/local/include||' \
+ -e 's|-L/usr/local/lib||' \
+ -e 's|-Os||' \
+ config.mk || die "sed config.mk failed"
+ use unicode || {
+ sed -i \
+ -e 's|-lncursesw|-lncurses|' \
+ config.mk || die "sed config.mk failed"
+ }
+ sed -i \
+ -e '/strip/d' \
+ -e 's:@tic :@tic -o ${DESTDIR}${PREFIX}/share/terminfo :g' \
+ Makefile || die "sed Makefile failed"
+
+ restore_config config.h
+}
+
+src_compile() {
+ local msg=""
+ use savedconfig && msg=", please check the configfile"
+ emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ insinto /usr/share/${PN}
+ newins config.h ${PF}.config.h
+
+ dodoc README.md
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ elog "This ebuild has support for user defined configs"
+ elog "Please read this ebuild for more details and re-emerge as needed"
+ elog "if you want to add or remove functionality for ${PN}"
+}
diff --git a/app-misc/dvtm/dvtm-9999.ebuild b/app-misc/dvtm/dvtm-9999.ebuild
new file mode 100644
index 000000000000..77565fbdbd03
--- /dev/null
+++ b/app-misc/dvtm/dvtm-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="Dynamic virtual terminal manager"
+HOMEPAGE="http://www.brain-dump.org/projects/dvtm/"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://repo.or.cz/dvtm.git"
+ KEYWORDS=""
+else
+ SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="unicode"
+
+DEPEND="sys-libs/ncurses:0[unicode?]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ sed -i \
+ -e 's|FLAGS =|FLAGS +=|' \
+ -e 's|-I/usr/local/include||' \
+ -e 's|-L/usr/local/lib||' \
+ -e 's|-Os||' \
+ config.mk || die "sed config.mk failed"
+ use unicode || {
+ sed -i \
+ -e 's|-lncursesw|-lncurses|' \
+ config.mk || die "sed config.mk failed"
+ }
+ sed -i \
+ -e '/strip/d' \
+ -e 's:@tic :@tic -o ${DESTDIR}${PREFIX}/share/terminfo :g' \
+ Makefile || die "sed Makefile failed"
+
+ restore_config config.h
+}
+
+src_compile() {
+ local msg=""
+ use savedconfig && msg=", please check the configfile"
+ emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ insinto /usr/share/${PN}
+ newins config.h ${PF}.config.h
+
+ dodoc README.md
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ elog "This ebuild has support for user defined configs"
+ elog "Please read this ebuild for more details and re-emerge as needed"
+ elog "if you want to add or remove functionality for ${PN}"
+}
diff --git a/app-misc/dvtm/metadata.xml b/app-misc/dvtm/metadata.xml
new file mode 100644
index 000000000000..6dde16e5c4b6
--- /dev/null
+++ b/app-misc/dvtm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chithanh@gentoo.org</email>
+ <name>Chí-Thanh Christopher Nguyễn</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/editor-wrapper/Manifest b/app-misc/editor-wrapper/Manifest
new file mode 100644
index 000000000000..6dc391c7fba4
--- /dev/null
+++ b/app-misc/editor-wrapper/Manifest
@@ -0,0 +1,5 @@
+AUX editor-wrapper-4.sh 405 SHA256 47ea2eb09201d5b8d018173faf9646a0a7c2cbbbbbe3a477766834ed6bdaecd0 SHA512 b29f54c662494f9ed0d26c44a8a9a85e22d0d3d70c870fdb8eda3fe1a97ed188e5b8299ed524a5e00f7cb1a3603be340e544192e75b98daa6afda6b2c185faa8 WHIRLPOOL 3157d43e9744d3b10267174acaa13f75b251c7b78e50b3173f867cc26cad9776d1498b55640a7fd984adc2a78d6bd765662fade480a4b4379dfcb0078d1b2d98
+EBUILD editor-wrapper-4.ebuild 912 SHA256 ad2f89b7ef139d0eac7182179dcd159968f4f46fa343ab07639d0d6c4e76b07e SHA512 03668099c3b848c3cdb13ad0824f222b9dad2e2520375eb44c4e3803430ee9ed5367dcbd83d80c574cdb0dd24ac38d2dea889742bbe374cd5877ab3370b5f3b3 WHIRLPOOL 4bbb110cacd446c9a3b5af79162f8e324dd56b74615db730fe4d197a12d7d165f4e724831213050a70042c9efe4e8f2ff2f57549ee8712cabe599e4904e7f4c4
+MISC ChangeLog 2623 SHA256 9e4188d58ffe61bc6d5d9bc7b52dc767f122f7d27c85aa5989ee13de1158a055 SHA512 afc0344ca11f38ceb1a8d046104f96ea085807c37f6e32362d961147a6509f1fe58eaacc589b95187fd8997e7a84422fa5d760d8596b3cf745625046107ca405 WHIRLPOOL 62b1b3a0d353d1760408e0f0551f3bd98dc58ea49f6e6b0bea94545b84c0f2b6e466dbba597f6f8c5c057c215c4d86ae1dafcdbd18b26cecc0a7a5c6883c3631
+MISC ChangeLog-2015 4872 SHA256 93afd58ab4628e3f7119dffa939c806b7b3e987e66b38156b680f8dacf75da8d SHA512 4244f1febd7098fb1c29603e0c9744e9580f2b69f8d44c4e965b9012450e4b0fe284c5edcecd5556e2d52b1ed06df4b3efea506d02a71606035a38d0f62729f1 WHIRLPOOL 54e866c058f8966ec797f8ef14f7a454ae47a387218e6c63ef2bc7104834a31c2107caf74a502681aad9e5213dfd8a0312d2c5e570b90198a4fde0eda6587401
+MISC metadata.xml 367 SHA256 082bfddc3c668c7803ab85efbfa9b540301113aa6c8a9f8e6f33f5bdb7e88ef0 SHA512 f566d335cb37d8d951e7b86e3f4a3bafa5ed2d1b270d5d730c6e9576230848e64849f7ebf0a133a7572847faf0c075f0158f125c3f29d941b598b46ca0c7f4c3 WHIRLPOOL 2437b45d55b1e78aff7ae930f7c3be4006c522340bfc72b5c05e248c4004fa9b947e0bd0b7455cfefedc63996b9879ffdbfb9d167b91ce1d20e9e9352dc4852d
diff --git a/app-misc/editor-wrapper/editor-wrapper-4.ebuild b/app-misc/editor-wrapper/editor-wrapper-4.ebuild
new file mode 100644
index 000000000000..aa73fb35f8f8
--- /dev/null
+++ b/app-misc/editor-wrapper/editor-wrapper-4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="Wrapper scripts that will execute EDITOR or PAGER"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_prepare() {
+ sed -e 's/@VAR@/EDITOR/g' "${FILESDIR}/${P}.sh" >editor || die
+ sed -e 's/@VAR@/PAGER/g' "${FILESDIR}/${P}.sh" >pager || die
+ if use prefix ; then
+ sed -i \
+ -e "s:#!/bin/sh:#!/usr/bin/env sh:" \
+ -e "s: /etc/profile: \"${EPREFIX}/etc/profile\":" \
+ editor pager || die
+ fi
+}
+
+src_install() {
+ exeinto /usr/libexec
+ doexe editor pager
+}
diff --git a/app-misc/editor-wrapper/files/editor-wrapper-4.sh b/app-misc/editor-wrapper/files/editor-wrapper-4.sh
new file mode 100644
index 000000000000..b58f1a8b9eeb
--- /dev/null
+++ b/app-misc/editor-wrapper/files/editor-wrapper-4.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Copyright 2009-2011 Gentoo Foundation
+# Distributed under the terms of the MIT/X11 license
+
+# Wrapper script, executes ${@VAR@} with arguments $@
+
+if [ -z "${@VAR@}" ]; then
+ # Try to get @VAR@ from system profile
+ @VAR@=$(. /etc/profile >/dev/null 2>&1; echo "${@VAR@}")
+fi
+
+if [ -z "${@VAR@}" ]; then
+ echo "$0: The @VAR@ variable must be set" >&2
+ exit 1
+fi
+
+exec ${@VAR@} "$@"
diff --git a/app-misc/editor-wrapper/metadata.xml b/app-misc/editor-wrapper/metadata.xml
new file mode 100644
index 000000000000..4a19a14fba9d
--- /dev/null
+++ b/app-misc/editor-wrapper/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="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+<maintainer type="project">
+ <email>emacs@gentoo.org</email>
+ <name>Gentoo Emacs project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/egads/Manifest b/app-misc/egads/Manifest
new file mode 100644
index 000000000000..5b4dc4cdb897
--- /dev/null
+++ b/app-misc/egads/Manifest
@@ -0,0 +1,5 @@
+DIST egads-0.9.5.tar.gz 302708 SHA256 606d68e284540d357115d7c2d2952d22a2b293fe77f00599396aeeb5b47e36a1 SHA512 b3138d31165f25c4b4b83b72eeee5fd0ea80e2d89a1a67f1d6d40c82afd849ef76ebdb5e71165eb80c00c971dd0bb4e9660fcb70ffedb7e14a003be90ce91e7b WHIRLPOOL 90f2795416878f3af3205d251e2a9628c6fa5a0ba37ef467b5b51f10de2a4ea75a459e999bf2972c1c5c7a13f8340468e044641194ae67170cbe1ccbd3b59adb
+EBUILD egads-0.9.5.ebuild 1048 SHA256 140b7bb2eb542b68fc4dcfc6842baa59154fdb26252db7da61a32cd69e1601c6 SHA512 6bf5a143d07da7e7f574e8cfb1d5634d3a2bcbf97cbc9ea8e9fda0f3f228864fdec9deef405cbf49f7d4f7a9b6ab502806bac38be5360cb477a9d4cf170fbfb2 WHIRLPOOL cada4c0183d2f9de793969fcc4c56889b90df12f985c43108dec6f4d454182e9c7ac2913139d2f1845ea9044f03c2334933c7e03c6e17f4e44e69949c26963b9
+MISC ChangeLog 2170 SHA256 c9d1fd469fe7165ae79596e1380e575293c5f5c9e5d5d4cf158eafafe5967d3e SHA512 79b830fead2062bc57f80fa8aa9d4c3e99c18ce9ceb0ed3a478a295b0b2933541a9d463b672067e629a151bb3020caf9245970269b6dcd3a6dc7a468baf38278 WHIRLPOOL 0260133cfb5d851f370f11261272818065383a22aeac3b0367060628c309cf7c76b9cabf8ffe45572fe24ba0715512a7dd7123c6a669834936c06c5efa2a99a3
+MISC ChangeLog-2015 1425 SHA256 611a07a3c53609563dc2b2d34520abf4d069cded7d8a466153352b25defce56c SHA512 d6ce9d39ff5919d0b2ceff8d9d0ddbf3223bbae6efe431b10b9b2aa18c53b8a0783a5c9a8469da9b576542a7e6bbb75ce4a24df728895a678dbc74761149c9d6 WHIRLPOOL 1cc881c488a69a24f3b60cfb55cbd5a2a2fcfaf164e0f96a31286049e2120f5d1a43e70ae671ff5dc9143178b4675ca3dd0d3c075c3e339a303b367f997312a4
+MISC metadata.xml 268 SHA256 972faf76e6638f2159ef3c7dafdcfef26d582070e6f0064d9136d1c6b2bee905 SHA512 ffda1db3fd6ac952f41a970e2e496c6a9fd0b12ed11cdf363fd269c3b00f627c6e70421fd545aad61d69594af2e5f43d8ebc197232a39b596d012818fe758850 WHIRLPOOL 759c32dcdde671d2fda0269ee9326f6d0f0e44966f767ac7becc40e6efb5429237b683cb23867d76a8d13dde79fe257e090ef890761b20f9792172a90369296d
diff --git a/app-misc/egads/egads-0.9.5.ebuild b/app-misc/egads/egads-0.9.5.ebuild
new file mode 100644
index 000000000000..e4c4d575e56b
--- /dev/null
+++ b/app-misc/egads/egads-0.9.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Entropy Gathering And Distribution System"
+HOMEPAGE="http://www.securesoftware.com/download_${PN}.htm"
+SRC_URI="http://www.securesoftware.com/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~ppc x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+egadsdatadir=/var/run/egads
+
+src_unpack() {
+ unpack ${A}
+ sed -i \
+ -e '/^BINDIR/d' \
+ -e '/^LIBDIR/d' \
+ -e '/^INCLUDEDIR/d' \
+ "${S}"/Makefile.in || die "Failed to fix Makefile.in"
+ tc-export CC AR RANLIB
+}
+
+src_compile() {
+ econf \
+ --with-egads-datadir="${egadsdatadir}" \
+ --with-bindir=/usr/sbin \
+ || die
+ emake LIBDIR="/usr/$(get_libdir)" || die
+}
+
+src_install() {
+ keepdir ${egadsdatadir}
+ fperms +t ${egadsdatadir}
+ # NOT parallel safe, and no DESTDIR support
+ emake -j1 install \
+ BINDIR="${D}"/usr/sbin \
+ LIBDIR="${D}"/usr/$(get_libdir) \
+ INCLUDEDIR="${D}"/usr/include \
+ || die
+ dodoc README* doc/*.txt
+ dohtml doc/*.html
+}
diff --git a/app-misc/egads/metadata.xml b/app-misc/egads/metadata.xml
new file mode 100644
index 000000000000..a4e0d354f696
--- /dev/null
+++ b/app-misc/egads/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/eid-viewer-bin/Manifest b/app-misc/eid-viewer-bin/Manifest
new file mode 100644
index 000000000000..931eedae80aa
--- /dev/null
+++ b/app-misc/eid-viewer-bin/Manifest
@@ -0,0 +1,7 @@
+DIST eid-viewer-4.0.7_p184.tar.gz 9908119 SHA256 923962eecd907ac8e123fecbedd6c5988352e557ec0c4b95df4eac11433cd7be SHA512 65b93e86e0175ca9aea8b5fb237aaa8b3fcab838d7507db335e163a6927e1c214248764b96c61eb3bbec6caf19440f7b7cd60dff79482ad249e23770b51fafa9 WHIRLPOOL 735ac73bec1a674e3338fefb378d0cb2e601e019463db60efb9d205e3a840c911f77bda46ba0e0304eaac43bb4b57b80869fbed7b5af534ce347d507e2c0e59f
+DIST eid-viewer-4.1.9.tar.gz 9924753 SHA256 8ff4e0a1c435efa63e08e5dd5d3e10c442ccc36299910f5d03f2243a0995092f SHA512 536387f93e0fee3f39145a888df93b58fdf4e92389ea5eee99c41713f2eef22e136ef674c7c59790e8484d2353820c4b6b104ea45dd41036fcdeb5f7754fb52f WHIRLPOOL 59a0d0aa478d2392f57d5f7fff288fa0fb0ce8cb34da9b1beac7e8866bd27f2ad2279540a368b0d9ba94c606028f93d97287e3a14058a66087d3f3d4f8e6a08b
+EBUILD eid-viewer-bin-4.0.7_p184.ebuild 733 SHA256 c0e4a7333a11669bb599eb4a1cbeb5854239cd599dfdb4fdc0d440952d7083e4 SHA512 4b55021119f833e959a85914585844b05025d6438fb8f6c63af628fa69fd107c4de1fbeedc4223be07ba3b8d29483ba3b62491ca7a6a910a66f392ba82d61c50 WHIRLPOOL 255144cc49eff5b3b88f80ca0ffdb2182268ef0d5cfed1ee1f81f1ebef4a02d2b0e77fb546effa047352b80310206f29ef4a3eec7b633a439f1323961b729b2a
+EBUILD eid-viewer-bin-4.1.9.ebuild 633 SHA256 5d04cbeb9b8166651c91cf58c122425d526e9c24123bfffa6d8c4b297967ed72 SHA512 3c5273bc3888e72f4ea33111ad84f7a45a5afe92b80ceda6b44ded0325b219cd9512d780007951271f59928e7bcd7bc6b78fef4c6c8966332b833578f9c5112b WHIRLPOOL 9fb8d8ef9b367f0a77ef16a3404b25705d9506dd0c72a72af7be4cab5044dd55beb172dd9efa1ccb37e09ee901fc4e47308acc6a9a20b21186b7a6a281916a64
+MISC ChangeLog 2810 SHA256 e060a9a1cc456aeedcb90a466c85a83a201b370e47639af25ef3e5897c0aac8e SHA512 9de835a1257fb85f0d37f31d1480f84e7150a4dcbcce0ebdb31cc097258debd2082516cbb1cd4cbed1369d2a26ad8bf0de5475b05e602c0ebfba413dea787982 WHIRLPOOL f27b1d2a827ba9ee7e7c02dc5efb9e5d7b4da325669e82dbd1bb3f2bb795b35ab626cf0c94186bc53c389634ee37ab7b7e38e4a496c1b035666314d051260960
+MISC ChangeLog-2015 909 SHA256 06625097436559f9194abaa2870e7bd1f7591d98480128adb2e1caae554902bf SHA512 22341ba4132c50685230c9e1be5058a0a0a902e0969ba25f54f39eb15dc03263dca41643de1b0c491930869071c939cd267d51f4516511c108e36dade5b56f2a WHIRLPOOL d75ed87e2fc644134049ca6929491c5c90d89685c0193a8329bb6d3f1bef8e3fc6750978f396bb2a0cca2bb9a1616477b2b92321935b1d92ee1e9a538c34373a
+MISC metadata.xml 1107 SHA256 ffdc27e4c16e073ac1c5e01f6b35b2ed504012337d18aff3931c0f8afed34541 SHA512 98c909228ab14eb599f6f6b9da05b5c9fa4945283e08c654b5dd43f6d242bbfe2b929ee78533d4cc9e6dcc50d92bbd9cbaf99e67a8c888616a172d33588039f3 WHIRLPOOL e922807a8592800e1630ae9ae1c95bfbc637c20ea38171859e3520541c7b478e8d257ed388163b1ba106adc792b233c4de58130d1291a69c6909de468a5cda43
diff --git a/app-misc/eid-viewer-bin/eid-viewer-bin-4.0.7_p184.ebuild b/app-misc/eid-viewer-bin/eid-viewer-bin-4.0.7_p184.ebuild
new file mode 100644
index 000000000000..0cea01094a4a
--- /dev/null
+++ b/app-misc/eid-viewer-bin/eid-viewer-bin-4.0.7_p184.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_PN="eid-viewer"
+MY_PV="${PV%%_p*}"
+#MY_PV="${PV/_p/-}"
+MY_P="${MY_PN}-${MY_PV}"
+
+SLOT="0"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Graphical interface to the Belgian Electronic Identity Card"
+
+SRC_URI="http://eid.belgium.be/en/binaries/eid-viewer-4%2E0%2E7-184%2Esrc%2Etar_tcm406-250014.gz -> eid-viewer-4.0.7_p184.tar.gz"
+HOMEPAGE="http://eid.belgium.be"
+
+RDEPEND="
+ virtual/jre:*
+ sys-apps/pcsc-lite"
+DEPEND="${RDEPEND}"
+
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i -e 's:icons:pixmaps:' Makefile.in || die
+ sed -i -e 's:Application;::' eid-viewer.desktop.sh.in || die
+}
diff --git a/app-misc/eid-viewer-bin/eid-viewer-bin-4.1.9.ebuild b/app-misc/eid-viewer-bin/eid-viewer-bin-4.1.9.ebuild
new file mode 100644
index 000000000000..34372ac5cbb2
--- /dev/null
+++ b/app-misc/eid-viewer-bin/eid-viewer-bin-4.1.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P="${P/-bin/}"
+SLOT="0"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="Graphical interface to the Belgian Electronic Identity Card"
+
+SRC_URI="https://downloads.services.belgium.be/eid/${MY_P}-v${PV}.src.tar.gz -> ${MY_P}.tar.gz"
+HOMEPAGE="http://eid.belgium.be"
+
+RDEPEND="
+ virtual/jre:*
+ sys-apps/pcsc-lite"
+DEPEND="${RDEPEND}"
+
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i -e 's:icons:pixmaps:' Makefile.in || die
+ sed -i -e 's:Application;::' eid-viewer.desktop.sh.in || die
+}
diff --git a/app-misc/eid-viewer-bin/metadata.xml b/app-misc/eid-viewer-bin/metadata.xml
new file mode 100644
index 000000000000..7a2a8b3dbd4a
--- /dev/null
+++ b/app-misc/eid-viewer-bin/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>vincent.hardy.be@gmail.com</email>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+</maintainer>
+<longdescription>
+eid-mw is Belgian Electronic Identity Card (eID) middleware supplied by the Belgian Federal Government.
+
+With your eID, you can:
+- identify yourself when necessary. All you have to do is insert the card in the reader. All your details then appear automatically on the PC screen.
+- authenticate yourself. This is a way of checking that you are who you say you are. That can be handy on the internet or to enable your children to chat in safety.
+- place a legally binding electronic signature on electronic documents.
+
+These three functions form the basis of the countless applications for your eID. Go to http://welcome-to-e-belgium.be/en/ and check out what can you do with it? and discover all the things you can use the eID for.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest
new file mode 100644
index 000000000000..07f1ae48e8db
--- /dev/null
+++ b/app-misc/elasticsearch/Manifest
@@ -0,0 +1,13 @@
+AUX elasticsearch-systemd-pre-exec 221 SHA256 cfe5d1afe9e7395c47d2a39ab85058ae6295fe9d094a8e25dc80a10c78e0b7f2 SHA512 1dc41303da367122779759fc1967540357a21aac6df4f5d8761d36dc643673df660b47e5c1b595ecf9316265fe7684ddcb5290df8369379c1bdbc8c933726644 WHIRLPOOL ae0548c7cc96c7ba91af04af02dd395ebc0a8290200168c014594b71d24954afc4be9d0182de3a4fc6de4a3e893daf42954926351dd1e96ed75c7692b089066c
+AUX elasticsearch.conf 2077 SHA256 ec51be1e6aade76dafebb63183693c4ab2de0e4111d5f358b31ff4ecc75a0b7c SHA512 d386f409e7c7d7e654b43ba42298d0c8d14f0973a656582c06e21dc5e1a93088367725c1ef1644d0bde553912297f1693fca9b461f51ac823be3140f56f9dd5a WHIRLPOOL 24e3fcecd818c0ec2625eb6fa01ff4d3656466334eb157e0675a1a0fcd678a3e407e66ed4cbf4c74fd848e7eed3fe43b11d417cc9d41c6597ab76e5f4ad835cf
+AUX elasticsearch.init 2503 SHA256 d5a3225da5d00eaa6d8dd97bcd31503b8814cbc4e0a8b29e5a7c290ac03bb7bd SHA512 55369ea6fc19979a722528afead2a4a19912fd212db450e4fb840c88d0a868faaa87ff8fe33a8a12370559f68b729771ee4b5fdbf066a263a97bb7944d68b9b6 WHIRLPOOL cc6f72a296f8d612845fe624b29bea4d669ab9a0a5c2ca44f598dac6fff32695c64d19eb7c49a21a9f6bee3d49aaf881ebe348edea50d41e98eb355214a27ab8
+AUX elasticsearch.service 1718 SHA256 444bf14b63eb2a702afa313d5d0e8a2c322bfceac742fe38844e44c02698bb2a SHA512 98530c01f41a2d98254033a1a292075abc6086e0608062dfbe28385e4f57da390a9c43521bfce72193c2b710e58e590f08f514257b8150140dbb9ade40ef5470 WHIRLPOOL f34e6c906a13e67b23d66de67466b6545eda413bea150b6da383e59eb4947720e8969ba3617320c3446522a788dc4bb5831c4cc1a1a99343c5b85d2397f3d2c7
+AUX elasticsearch.sysctl.d 24 SHA256 d2130d8587c6a8860d51903b5c2f70703da61cddeb42d526fcda20fd0ec9e99c SHA512 9f3d8238edff6704bea06b6535ee8915f4a3c9bdc8389d9d4943bcfa49161b61f9a1ca49dbcc415580438f4396fbc3d58eef301554f9426287606a755ada715c WHIRLPOOL fadf47db434ba8a1533be79adb7c3045315fca661900608f50a608ec6ccd5ab34032e9a15f6b8ec5fc754ef1123ba44c68d93483c2bef8530c8523a925c9b3bd
+AUX elasticsearch.tmpfiles.d 67 SHA256 61f8ff72a46c7da10a076af305ea545765bd149e221e838ba80c38faa6b5609a SHA512 e64c29879a43ad8cd2c272366e62c99b512f49d3cbfe669991c857c5c852aef28d3244040210da54a2f5b346a83e78e385ea86cb97daca76afafe549b80719a0 WHIRLPOOL 11a4e3a3f3fb52331f8f4ed6f0d1e6074601b0fcde818b4f71d36881276f8049dc81bb14a33c1e343623814c8d6e706f37a33456681fc6874d8c77307c963743
+DIST elasticsearch-5.5.2.tar.gz 33485703 SHA256 0870e2c0c72e6eda976effa07aa1cdd06a9500302320b5c22ed292ce21665bf1 SHA512 62048f15b43e38a61e3a19a1599c25cd0d9009cc1172db5b450b04dec349ecd313b1f20e3d1c7ed1c101ae3e6f6c6d2cdf004a9713ad803576277f93e3adbdb9 WHIRLPOOL 3a71cef2858b76b11e1693907e745912a83f23e26c35a3456c6324fc19c317c53d4404e20134b034e41e162c1ea8d58c38bbd4afe0394d886ab32f6b698172ec
+DIST elasticsearch-5.6.2.tar.gz 33766495 SHA256 ef505373fdd85c762dedef0b067ce7b089e177568a57b31e5b4126d8acd47653 SHA512 a20cd6607cc9fd94b37c8592b2aaaede4136349d66175581ccba999bc5a64038387680f471fca600afc2b538e4aecbb9d3ee1f82aa327853d072feff2f950319 WHIRLPOOL 322999b483f7cd84716efb329542ea59228e93cc0a1ef86d5612230a0637ecff44063e488f48e673ffadda0cbcba026374bb2251de6cc8f6a8ce2699399864a2
+EBUILD elasticsearch-5.5.2.ebuild 1618 SHA256 ee4a9297fab6f32f75d8df993f3cce07906328c3b4ce5fb499c495237c989096 SHA512 0018a5cecab2293bfe43581fcc67bd395e669ed2913a1e40676de420763415ab090589a742b127730ca6b8a467f06f10f3f3d1c2bec87db479909cb1a668f62f WHIRLPOOL 233680704ea7848404d497901ef2ddf723ba4f35915653abb341eda4b03dd378ac37b5950a82e164f2ef6f6ccdccc124d44421e06e9618ecbfcb0ca7d905540b
+EBUILD elasticsearch-5.6.2.ebuild 1618 SHA256 ee4a9297fab6f32f75d8df993f3cce07906328c3b4ce5fb499c495237c989096 SHA512 0018a5cecab2293bfe43581fcc67bd395e669ed2913a1e40676de420763415ab090589a742b127730ca6b8a467f06f10f3f3d1c2bec87db479909cb1a668f62f WHIRLPOOL 233680704ea7848404d497901ef2ddf723ba4f35915653abb341eda4b03dd378ac37b5950a82e164f2ef6f6ccdccc124d44421e06e9618ecbfcb0ca7d905540b
+MISC ChangeLog 8202 SHA256 1531683acbf9c20038e964e166b7b748c2ec4f12bb8f219d75cc685b7dc8825b SHA512 54cb8dc75318bc52e9c947cec07f8926fc1f022429e9b784b21b51faba3022c6f07f50dc065e9e90529b30941ced47e9a0c03e801328f7e694f6881b0a89e6bb WHIRLPOOL 2d1c8f0e9be37b76175dda86322581da84e07c6745d7b57dfad300f10e3ecd250a7abc90e1737d699b0844961864fbb10a3be00951dbc29d503ca3abd50cab65
+MISC ChangeLog-2015 5203 SHA256 8aa86f4c8b0c8a0c2d099ff71b4886f6e7be91d4e10e22d6f49d8ba1ab0ee7be SHA512 2326fb4073b91dc0a39d18ca0a81257c8995ce7afa0d53e31db1851dd45b3b3a94f7bfa9dda00a82b5ecaf16ad022e9236a07aebe9f2ee6f3b9b024b179039ed WHIRLPOOL 03f3e445a6f763d6e42d6d13b336ab10b4ee1d64c9119f8da2e03710b180db180e8abb702241edcdc56009992bea3a1ba0395eb096e61fb97930298099e4c4ff
+MISC metadata.xml 493 SHA256 d5758f4d01ca56bdfc258e4935a6cdb891f186c7ca36b96f783065fb23dc68ff SHA512 ce03769abc314d3bf561ff5820a8c8582196e9e6755e1e695dcf1224afbc04b609fdec7a1499d2d7a3aa0a350ad9fea94e0e3b46eff7c3c6150a524edd28d399 WHIRLPOOL a69393456ad8bcfd9f698131a0b6e0bca5d220101b0f3d8a91b716f92bbfe1c5e205bac3bbdb6e5f6e7764a30abfb6a0215440c11f288b3aa40ec6c5506cf608
diff --git a/app-misc/elasticsearch/elasticsearch-5.5.2.ebuild b/app-misc/elasticsearch/elasticsearch-5.5.2.ebuild
new file mode 100644
index 000000000000..b2ac22fbd6cd
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-5.5.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
+HOMEPAGE="https://www.elastic.co/products/elasticsearch"
+SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="virtual/jre:1.8"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
+}
+
+src_prepare() {
+ rm -v bin/*.{bat,exe} LICENSE.txt || die
+
+ default
+}
+
+src_install() {
+ keepdir /etc/${PN}
+ keepdir /etc/${PN}/scripts
+
+ insinto /etc/${PN}
+ doins config/*
+ rm -rv config || die
+
+ insinto /usr/share/${PN}
+ doins -r ./*
+
+ exeinto /usr/share/${PN}/bin
+ doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
+
+ chmod +x "${ED}"/usr/share/${PN}/bin/* || die
+
+ keepdir /var/{lib,log}/${PN}
+ dodir /usr/share/${PN}/plugins
+
+ systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
+
+ insinto /etc/sysctl.d
+ newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
+
+ newinitd "${FILESDIR}/${PN}.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+ systemd_newunit "${FILESDIR}"/${PN}.service "${PN}.service"
+}
+
+pkg_postinst() {
+ elog
+ elog "You may create multiple instances of ${PN} by"
+ elog "symlinking the init script:"
+ elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
+ elog
+ elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
+ elog "from /etc/elasticsearch into the configuration directory of the instance:"
+ elog "/etc/${PN}/instance"
+ elog
+}
diff --git a/app-misc/elasticsearch/elasticsearch-5.6.2.ebuild b/app-misc/elasticsearch/elasticsearch-5.6.2.ebuild
new file mode 100644
index 000000000000..b2ac22fbd6cd
--- /dev/null
+++ b/app-misc/elasticsearch/elasticsearch-5.6.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
+HOMEPAGE="https://www.elastic.co/products/elasticsearch"
+SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="virtual/jre:1.8"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
+}
+
+src_prepare() {
+ rm -v bin/*.{bat,exe} LICENSE.txt || die
+
+ default
+}
+
+src_install() {
+ keepdir /etc/${PN}
+ keepdir /etc/${PN}/scripts
+
+ insinto /etc/${PN}
+ doins config/*
+ rm -rv config || die
+
+ insinto /usr/share/${PN}
+ doins -r ./*
+
+ exeinto /usr/share/${PN}/bin
+ doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
+
+ chmod +x "${ED}"/usr/share/${PN}/bin/* || die
+
+ keepdir /var/{lib,log}/${PN}
+ dodir /usr/share/${PN}/plugins
+
+ systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
+
+ insinto /etc/sysctl.d
+ newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
+
+ newinitd "${FILESDIR}/${PN}.init" "${PN}"
+ newconfd "${FILESDIR}/${PN}.conf" "${PN}"
+ systemd_newunit "${FILESDIR}"/${PN}.service "${PN}.service"
+}
+
+pkg_postinst() {
+ elog
+ elog "You may create multiple instances of ${PN} by"
+ elog "symlinking the init script:"
+ elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
+ elog
+ elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
+ elog "from /etc/elasticsearch into the configuration directory of the instance:"
+ elog "/etc/${PN}/instance"
+ elog
+}
diff --git a/app-misc/elasticsearch/files/elasticsearch-systemd-pre-exec b/app-misc/elasticsearch/files/elasticsearch-systemd-pre-exec
new file mode 100755
index 000000000000..a51d639bf7d4
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch-systemd-pre-exec
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# CONF_FILE setting was removed
+if [ ! -z "$CONF_FILE" ]; then
+ echo "CONF_FILE setting is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed."
+ exit 1
+fi
diff --git a/app-misc/elasticsearch/files/elasticsearch.conf b/app-misc/elasticsearch/files/elasticsearch.conf
new file mode 100644
index 000000000000..444ec53ae335
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch.conf
@@ -0,0 +1,60 @@
+################################
+# Elasticsearch
+################################
+
+# Elasticsearch home directory
+#ES_HOME=/usr/share/elasticsearch
+
+# Elasticsearch Java path
+#JAVA_HOME=
+
+# Elasticsearch configuration directory
+#CONF_DIR=/etc/elasticsearch
+
+# Elasticsearch data directory
+#DATA_DIR=/var/lib/elasticsearch
+
+# Elasticsearch logs directory
+#LOG_DIR=/var/log/elasticsearch
+
+# Elasticsearch PID directory
+#PID_DIR=/run/elasticsearch
+
+# Additional Java OPTS
+#ES_JAVA_OPTS=
+
+################################
+# Elasticsearch service
+################################
+
+# When executing the init script, this user will be used to run the elasticsearch service.
+# The default value is 'elasticsearch' and is declared in the init.d file.
+# Note that this setting is only used by the init script. If changed, make sure that
+# the configured user can read and write into the data, work, plugins and log directories.
+# For systemd service, the user is usually configured in file /usr/lib/systemd/system/elasticsearch.service
+#ES_USER=elasticsearch
+#ES_GROUP=elasticsearch
+
+# The number of seconds to wait before checking if Elasticsearch started successfully as a daemon process
+#ES_STARTUP_SLEEP_TIME=5
+
+################################
+# System properties
+################################
+
+# Specifies the maximum file descriptor number that can be opened by this process
+# When using Systemd, this setting is ignored and the LimitNOFILE defined in
+# /usr/lib/systemd/system/elasticsearch.service takes precedence
+#MAX_OPEN_FILES=65536
+
+# The maximum number of bytes of memory that may be locked into RAM
+# Set to "unlimited" if you use the 'bootstrap.memory_lock: true' option
+# in elasticsearch.yml.
+# When using Systemd, the LimitMEMLOCK property must be set
+# in /usr/lib/systemd/system/elasticsearch.service
+#MAX_LOCKED_MEMORY=unlimited
+
+# Maximum number of VMA (Virtual Memory Areas) a process can own
+# When using Systemd, this setting is ignored and the 'vm.max_map_count'
+# property is set at boot time in /usr/lib/sysctl.d/elasticsearch.conf
+#MAX_MAP_COUNT=262144
diff --git a/app-misc/elasticsearch/files/elasticsearch.init b/app-misc/elasticsearch/files/elasticsearch.init
new file mode 100644
index 000000000000..a9200d58ca0b
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch.init
@@ -0,0 +1,95 @@
+#!/sbin/openrc-run
+
+name="Elasticsearch"
+description="Elasticsearch Server"
+
+ES_INSTANCE=${SVCNAME#*.}
+PID_DIR=${PID_DIR:="/run/elasticsearch"}
+
+if [ -n "${ES_INSTANCE}" ] && [ ${SVCNAME} != "elasticsearch" ]; then
+ PIDFILE="${PID_DIR}/elasticsearch.${ES_INSTANCE}.pid"
+ ES_BASE_PATH="/var/lib/elasticsearch/${ES_INSTANCE}"
+ CONF_DIR="/etc/elasticsearch/${ES_INSTANCE}"
+ LOG_DIR="/var/log/elasticsearch/${ES_INSTANCE}"
+else
+ PIDFILE="${PID_DIR}/elasticsearch.pid"
+ ES_BASE_PATH="/var/lib/elasticsearch/_default"
+ CONF_DIR="/etc/elasticsearch"
+ LOG_DIR="/var/log/elasticsearch/_default"
+fi
+
+ES_HOME=${ES_HOME:="/usr/share/elasticsearch"}
+ES_USER=${ES_USER:="elasticsearch"}
+ES_GROUP=${ES_GROUP:="elasticsearch"}
+ES_STARTUP_SLEEP_TIME=${ES_STARTUP_TIME:=5}
+MAX_OPEN_FILES=${MAX_OPEN_FILES:=65536}
+MAX_MAP_COUNT=${MAX_MAP_COUNT:=262144}
+
+DATA_DIR=${DATA_DIR:="${ES_BASE_PATH}/data"}
+
+if [ -f "${CONF_DIR}/elasticsearch.in.sh" ]; then
+ ES_INCLUDE="${CONF_DIR}/elasticsearch.in.sh"
+fi
+
+export ES_INCLUDE
+export JAVA_HOME
+export JAVA_OPTS
+export ES_JVM_OPTIONS
+export ES_JAVA_OPTS
+export ES_STARTUP_SLEEP_TIME
+
+server_command="/usr/share/elasticsearch/bin/elasticsearch"
+server_args="-d -p ${PIDFILE} -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR}"
+
+depend() {
+ use net
+}
+
+start() {
+ local conf
+ local conf_file
+ for conf in elasticsearch.yml; do
+ conf_file="${CONF_DIR}/${conf}"
+ if [ ! -f "${conf_file}" ]; then
+ eerror "${conf_file} must be copied into place"
+ return 1
+ fi
+ done
+
+ if [ -n "${MAX_MAP_COUNT}" -a -f /proc/sys/vm/max_map_count ]; then
+ sysctl -q -w vm.max_map_count=${MAX_MAP_COUNT}
+ fi
+
+ ebegin "Starting ${SVCNAME}"
+
+ if [ -n "${MAX_LOCKED_MEMORY}" ]; then
+ ulimit -l "${MAX_LOCKED_MEMORY}"
+ fi
+
+ if [ -n "${MAX_OPEN_FILES}" ]; then
+ ulimit -n "${MAX_OPEN_FILES}"
+ fi
+
+ checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/var/lib/elasticsearch"
+ checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/var/log/elasticsearch"
+ checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${PID_DIR}"
+ checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${ES_BASE_PATH}"
+ checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${LOG_DIR}"
+
+ start-stop-daemon --start \
+ --background \
+ --chdir "${ES_HOME}" \
+ --user="${ES_USER}" \
+ --pidfile="${PIDFILE}" \
+ --exec ${server_command} -- ${server_args}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop \
+ --pidfile=${PIDFILE} \
+ --user="${ES_USER}" \
+ --retry=TERM/20
+ eend $?
+}
diff --git a/app-misc/elasticsearch/files/elasticsearch.service b/app-misc/elasticsearch/files/elasticsearch.service
new file mode 100644
index 000000000000..927acef5ee88
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch.service
@@ -0,0 +1,53 @@
+[Unit]
+Description=Elasticsearch
+Documentation=http://www.elastic.co
+Wants=network.target
+After=network.target
+
+[Service]
+Environment=ES_HOME=/usr/share/elasticsearch
+Environment=CONF_DIR=/etc/elasticsearch
+Environment=DATA_DIR=/var/lib/elasticsearch
+Environment=LOG_DIR=/var/log/elasticsearch
+Environment=PID_DIR=/run/elasticsearch
+EnvironmentFile=-/etc/conf.d/elasticsearch
+
+WorkingDirectory=/usr/share/elasticsearch
+
+User=elasticsearch
+Group=elasticsearch
+
+ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec
+
+ExecStart=/usr/share/elasticsearch/bin/elasticsearch \
+ -p ${PID_DIR}/elasticsearch.pid \
+ -Edefault.path.home=${ES_HOME} \
+ -Edefault.path.logs=${LOG_DIR} \
+ -Edefault.path.data=${DATA_DIR} \
+ -Edefault.path.conf=${CONF_DIR}
+
+StandardOutput=journal
+StandardError=inherit
+
+# Specifies the maximum file descriptor number that can be opened by this process
+LimitNOFILE=65536
+
+# Specifies the maximum number of bytes of memory that may be locked into RAM
+# Set to "infinity" if you use the 'bootstrap.memory_lock: true' option
+# in elasticsearch.yml and 'MAX_LOCKED_MEMORY=unlimited' in /etc/conf.d/elasticsearch
+#LimitMEMLOCK=infinity
+
+# Disable timeout logic and wait until process is stopped
+TimeoutStopSec=0
+
+# SIGTERM signal is used to stop the Java process
+KillSignal=SIGTERM
+
+# Java process is never killed
+SendSIGKILL=no
+
+# When a JVM receives a SIGTERM signal it exits with code 143
+SuccessExitStatus=143
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/elasticsearch/files/elasticsearch.sysctl.d b/app-misc/elasticsearch/files/elasticsearch.sysctl.d
new file mode 100644
index 000000000000..62ea54d86975
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch.sysctl.d
@@ -0,0 +1 @@
+vm.max_map_count=262144
diff --git a/app-misc/elasticsearch/files/elasticsearch.tmpfiles.d b/app-misc/elasticsearch/files/elasticsearch.tmpfiles.d
new file mode 100644
index 000000000000..d079f28b9954
--- /dev/null
+++ b/app-misc/elasticsearch/files/elasticsearch.tmpfiles.d
@@ -0,0 +1 @@
+d /var/run/elasticsearch 0755 elasticsearch elasticsearch - -
diff --git a/app-misc/elasticsearch/metadata.xml b/app-misc/elasticsearch/metadata.xml
new file mode 100644
index 000000000000..2d9963a03f57
--- /dev/null
+++ b/app-misc/elasticsearch/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hydrapolic@gmail.com</email>
+ <name>Tomáš Mózes</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>erkiferenc@gmail.com</email>
+ <name>Ferenc Erki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/email2trac/Manifest b/app-misc/email2trac/Manifest
new file mode 100644
index 000000000000..e6911a5fbc0c
--- /dev/null
+++ b/app-misc/email2trac/Manifest
@@ -0,0 +1,9 @@
+DIST email2trac-2.6.2.tar.gz 104732 SHA256 4d1ccd12e18a303d3700eeb5449eb330ddbc13ed66103df79fffed950fd9243f SHA512 69b596b4c60ccc40b53ddfce5c13d5d7f27ac1fc5674e1cb3fbf84b083c2abc77d36879d665924a62b826e7d3a52d0ead1e1d693a55aae5edfc092998e01a0df WHIRLPOOL ac92802ab7fc0c0b6e0daddd3f723f1b21b2772f63dc9a6194db78572fc039c0d4f3602f1dc55caf5cc9387d481c9bf2aabb7961fb91147060ecce48926e13d5
+DIST email2trac-2.8.4.tar.gz 107791 SHA256 2673ea60f355c812d890346c1eaa9d0a65c791d214bf545b171ed66a8feceafb SHA512 f0bfd00442d50090f9cc582849026b08bb091bc72223b4569597c2ffdb57759206500da65390dc1609a24e521e137aee072d1ee3412391bf0e4b778933ff2165 WHIRLPOOL 18b35e889fc52e488dc88b7ef73302d8497961bf2710e3353b3d21c3514191bfdc4ec7d99ff9ad2c92cb9626d2db2f5dbca92e03963fe4b90e29d35f308118f4
+DIST email2trac-2.8.8.tar.gz 108366 SHA256 a22e1a45b3682723f1ed45afe48b2b5b1543392f829ad7e236d6ad318324bb63 SHA512 8b13d22b50367337e5ed939dc689e0fbde4a63e1932351cab6aac2da7878fd37c9a09ff6e9f9aa4a1f709f24f2808de5d25b494813e292f61ee9be973c601da5 WHIRLPOOL 4ada4d9ad0e6824b99a8259e1cf633b57a8607e5742163d4a1062ed84733ae6bebe5c4e3d7dd2935cfab856c3329bc37984a2860025cf97379a43580938415c9
+EBUILD email2trac-2.6.2-r1.ebuild 981 SHA256 3afbdbb7623a550c90df4f7cddc3ce620c9c6cb755c4f6c5a3dd5b2ae2af1ee6 SHA512 6a8baee10560e563f1b09de0b042b8b06ff3254212e2f35a3ef07bce79327167a7d7ca85afe89acf0656bcdce5affb2ab999880227ebae7b35ba3d4cd238ad8c WHIRLPOOL 3c8ff21b41e924fba413abf827aebb52b97800ab2d8ed39347d0b772a9d84f7c9fa4df6245b738c4e6bb5c2f4d6bb74c55f9e15a29fab0ee083aa200276285dc
+EBUILD email2trac-2.8.4.ebuild 981 SHA256 1046966f7d900e96238e3fad4309883d929674c7374a68ef9def9d75a08f002e SHA512 56fc3b70aabae2ff8872b940a92d0c6144d0a96e2e1a5fba88b992dd4a703810fc7a55a2516af7911049e0d635f4d5ff3c62730150e0efc6e0632044df93596f WHIRLPOOL 1c458a2a542623b8a61ca39a80240cac9e9aea6a8480e123a684fbe2a811bba345358530b5b4cdf677f980b75d6a6e52beafe16163d0bf8535e36fb83c25094f
+EBUILD email2trac-2.8.8.ebuild 981 SHA256 1046966f7d900e96238e3fad4309883d929674c7374a68ef9def9d75a08f002e SHA512 56fc3b70aabae2ff8872b940a92d0c6144d0a96e2e1a5fba88b992dd4a703810fc7a55a2516af7911049e0d635f4d5ff3c62730150e0efc6e0632044df93596f WHIRLPOOL 1c458a2a542623b8a61ca39a80240cac9e9aea6a8480e123a684fbe2a811bba345358530b5b4cdf677f980b75d6a6e52beafe16163d0bf8535e36fb83c25094f
+MISC ChangeLog 2713 SHA256 4922383b1346178ae77d4d0b90be0416aed1ab235507ab97575d3cfd00bad99e SHA512 8003259cf21250f0a6303608a2b8ee0db05370028690c5be2859c913c8b5c359d2e29bd50d5de1981f95eaefd91c9d7613e919df33cbea3a7be6d3aee9fd25ce WHIRLPOOL d69c9179fcb62677f243280c204939363674e339970a672d791109733d56a4ea5cb983433cb36cbcdcbd8ecdcd08a67bcc054b0a7c06a2c25e8074c2f854ff67
+MISC ChangeLog-2015 2369 SHA256 655f99d52dc5357d7df590f69e574c3afd561e98b8c966590711f0b4e63d2e87 SHA512 bba87b1e8887e3f5d206a3304d3c41906a94d0cf9f1d4be4c75bd1b718375aed121d38e24b8328dbe80ec24e43d19727c3b2bc04adcc74712f5b81f0567ab284 WHIRLPOOL 619bb84199284961e4705b44c8f42a22e8ebf7f1304029abe04422c998b7e23be3cacb3458d51f93536ccd9ebd020ce0433b127c9bd72e731007b8824346d5a8
+MISC metadata.xml 469 SHA256 6b56639537815ff0da6d30cffae7717701c08c955ef95fcd0b239d006feb9b39 SHA512 1a2c1f355e3e685bf0891acd41850a71a65976a22b0d2be8be155ef7010d64a7ea1090acfd6c7b4caa96c5f1865cb89b411275a1e9f22a82ef1787c70f9c2af2 WHIRLPOOL 3a836fa1a27aa0105e610a9c06f8d409e7cd9fe0e1ac2452ea9daf3ce7ce4f48671aaa4bac6da1b3d234fac26ff9d8c584e6829e7a87b3b8dfe1e35aa4b718a3
diff --git a/app-misc/email2trac/email2trac-2.6.2-r1.ebuild b/app-misc/email2trac/email2trac-2.6.2-r1.ebuild
new file mode 100644
index 000000000000..8ab769b33c37
--- /dev/null
+++ b/app-misc/email2trac/email2trac-2.6.2-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Utilities to convert emails to trac tickets"
+HOMEPAGE="https://oss.trac.surfsara.nl/email2trac"
+SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ <www-apps/trac-1.1[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+ einfo "You can set the following variables in make.conf:"
+ einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
+ einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
+
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in || die 'sed failed'
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/${PN}/ \
+ --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
+ --with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
+}
diff --git a/app-misc/email2trac/email2trac-2.8.4.ebuild b/app-misc/email2trac/email2trac-2.8.4.ebuild
new file mode 100644
index 000000000000..7c7443a662c4
--- /dev/null
+++ b/app-misc/email2trac/email2trac-2.8.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Utilities to convert emails to trac tickets"
+HOMEPAGE="https://oss.trac.surfsara.nl/email2trac"
+SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ <www-apps/trac-1.2[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+ einfo "You can set the following variables in make.conf:"
+ einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
+ einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
+
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in || die 'sed failed'
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/${PN}/ \
+ --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
+ --with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
+}
diff --git a/app-misc/email2trac/email2trac-2.8.8.ebuild b/app-misc/email2trac/email2trac-2.8.8.ebuild
new file mode 100644
index 000000000000..7c7443a662c4
--- /dev/null
+++ b/app-misc/email2trac/email2trac-2.8.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Utilities to convert emails to trac tickets"
+HOMEPAGE="https://oss.trac.surfsara.nl/email2trac"
+SRC_URI="ftp://ftp.sara.nl/pub/outgoing/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ <www-apps/trac-1.2[${PYTHON_USEDEP}]"
+
+pkg_setup() {
+ einfo "You can set the following variables in make.conf:"
+ einfo " - EMAIL2TRAC_TRAC_USER (default: apache)"
+ einfo " - EMAIL2TRAC_MTA_USER (default: nobody)"
+
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/^CFLAGS/s:=:&${CFLAGS} :" \
+ -e "s:\$(CC):& ${LDFLAGS} :" \
+ Makefile.in || die 'sed failed'
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/${PN}/ \
+ --with-trac_user=${EMAIL2TRAC_TRAC_USER:-apache} \
+ --with-mta_user=${EMAIL2TRAC_MTA_USER:-nobody}
+}
diff --git a/app-misc/email2trac/metadata.xml b/app-misc/email2trac/metadata.xml
new file mode 100644
index 000000000000..e2500e65d776
--- /dev/null
+++ b/app-misc/email2trac/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lukas@dzunko.sk</email>
+ <name>Lukas Dzunko</name>
+ </maintainer>
+<maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/emelfm2/Manifest b/app-misc/emelfm2/Manifest
new file mode 100644
index 000000000000..946f3f62300d
--- /dev/null
+++ b/app-misc/emelfm2/Manifest
@@ -0,0 +1,6 @@
+DIST emelfm2-0.9.1.tar.bz2 1217126 SHA256 bfb94ff4e40c0a9c0d2a6aeb0efa22e177accbf6abd3096226d93daecd23642f SHA512 bd3a1ad2338c80d6824a2a84736470ecfa7e93f455cc8e3243944833807fe9b3544e2fea6bd6ccbddaf0188ad89ce616ed146271f6ffabec80f5dfb2f1ad6f57 WHIRLPOOL 4eaa1d95396a23c5f00ef66784f9f124f8c79e5dfe820f8bc556037109d799f5b1d30ef25a51183116ba955c931c0ec161d0e8aa3d92b79f33f0baaba7edf21d
+EBUILD emelfm2-0.9.1-r1.ebuild 1971 SHA256 9760ee20b55e1af6a4553b356b014cdafcbf057fd2bd11851f1168b0d00cd0b4 SHA512 fd716b9b814d9630b8c44fc8b7603d44ebc7ee48f9b0dc22e848353e2a1a26ca39490dffe8da27b1b091cdf1fb7761d135b40e3f3946a83985a294756639769c WHIRLPOOL 71531b9c3cc4187046609d98ce8021eb5b3d62fc34cd79acd44d1be658681b65ea4447fb97a6b568eb29b2d00e052d215a3fe3ff34a795e51408d709a4489ee8
+EBUILD emelfm2-0.9.1-r2.ebuild 2019 SHA256 bb4a8cae726308c4d24025131811a14bed64979d84b9908fde7fb124bc7cca1d SHA512 89c900f5e5b9f29a3fdabae42d37e1616c76bc11779a101f4601feb3146e8b08cdac3df1d9d7c386d64d1bd61d31a6fea495f9e3b909ed77f95b5f948fef956f WHIRLPOOL bd4928f55d6f53ef7fa1de777d4bdeb03aa320756644cf3802824d0fc75b589772ac98b8ac1d25a1bccc8dbe4d4d94ec23dfcea59f0cb5e565a78b33b20117b0
+MISC ChangeLog 4082 SHA256 fbd47502cdb5466314afee1046b039bda7eb6c2d4a15e937f8a18a9ff6d8ebfa SHA512 02487474cbd1b8822561ad193e29ab53b84025fbe417fd8dfd554940846debb39aea2c7811bf1e8f7b79f82427b78a867bc0765dc91bccf2f0f3f32262badf18 WHIRLPOOL c39f78a88095f21140a65f2233121df7149154fced70a50d77afcfac06fe2b6738f52e9da3d3821923438ffa85f5e749e1a735b1ae065d84dc1f5fbea331d64d
+MISC ChangeLog-2015 6611 SHA256 14a5e06730a76a911633e58c0ed07554686ecde9646e551d42ddf637f433fe75 SHA512 12b38479a99f1ce0a1e4609901835e2e5560f14399018dba14017949b0f5a583d2d053079c25fe64a003f79b6c8daa6660edb50ca7e2aa978c8e9277fb004f66 WHIRLPOOL 3669c8b06e3302e58b781393c1da0653d8fe4e235226172b35b21a6112b9e9d8b5f58eab9e72040fc097677cb0fdbc62b0820e2a92e6feac70296c32d1f5f595
+MISC metadata.xml 472 SHA256 4b81ae24eba65347f30ea82b093e747138b520c054ae2ba225d748a290d5013a SHA512 7f388f3867a249b22c8fbf0508f31219ca77fe0c445195d5791b26ff85ac78de4eb0050ad9ee7bfbfa6639b54005a659ab164572c102d8308d64a1f19f69e2aa WHIRLPOOL e35e3930d25b7ac68d2d793d9c32479462f5c2a1593f0204e4f3c861253c14d25a2abb3a2d5a5d5e461d3bd8e66f9afc4800f73c00cdac9ca8bc4ba832d47a9f
diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..6c74bb99d21a
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.9.1-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="A file manager that implements the popular two-pane design"
+HOMEPAGE="http://emelfm2.net/"
+SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
+IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
+
+EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
+IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.26:2
+ !gtk3? ( >=x11-libs/gtk+-2.12:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ acl? ( sys-apps/acl )
+ gimp? ( media-gfx/gimp )
+ policykit? ( sys-auth/polkit )
+ spell? ( >=app-text/gtkspell-2.0.14:2 )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ udisks? ( sys-fs/udisks:2 )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+RESTRICT="test"
+
+src_prepare() {
+ sed -i \
+ -e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
+ -e 's:@$(CC):$(CC):g' \
+ -e 's:dbus-glib-1::' \
+ Makefile || die
+
+ local lingua
+ for lingua in ${EMELFM2_LINGUAS[@]}; do
+ use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+ done
+}
+
+src_configure() {
+ myemelconf=(
+ $(usex acl WITH_ACL=1 WITH_ACL=0)
+ $(usex ansi WITH_OUTPUTSTYLES=1 WITH_OUTPUTSTYLES=0)
+ $(usex gimp WITH_THUMBS=1 WITH_THUMBS=0)
+ $(usex gtk3 'GTK3=1 GTK2=0' 'GTK3=0 GTK2=1')
+ $(usex kernel_linux WITH_KERNELFAM=1 WITH_KERNELFAM=0)
+ $(usex nls I18N=1 I18N=0)
+ $(usex policykit WITH_POLKIT=1 WITH_POLKIT=0)
+ $(usex spell EDITOR_SPELLCHECK=1 EDITOR_SPELLCHECK=0)
+ $(usex udisks WITH_UDISKS=1 WITH_UDISKS=0)
+ DOCS_VERSION=1
+ STRIP=0
+ WITH_TRANSPARENCY=1
+ )
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ LIB_DIR="/usr/$(get_libdir)" \
+ PREFIX="/usr" \
+ ${myemelconf[@]}
+}
+
+src_install() {
+ emake \
+ LIB_DIR="${D}/usr/$(get_libdir)" \
+ PREFIX="${D}/usr" \
+ ${myemelconf[@]} \
+ install \
+ $(usex nls install_i18n '')
+
+ newicon icons/${PN}_48.png ${PN}.png
+}
diff --git a/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
new file mode 100644
index 000000000000..e3fc45f7773b
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.9.1-r2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="A file manager that implements the popular two-pane design"
+HOMEPAGE="http://emelfm2.net/"
+SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="acl ansi gimp gtk3 kernel_linux nls policykit spell udisks"
+
+EMELFM2_LINGUAS=( de fr ja pl ru zh_CN )
+IUSE+=" ${EMELFM2_LINGUAS[@]/#/linguas_}"
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.26:2
+ !gtk3? ( >=x11-libs/gtk+-2.12:2 )
+ gtk3? ( x11-libs/gtk+:3 )
+ acl? ( sys-apps/acl )
+ gimp? ( media-gfx/gimp )
+ policykit? ( sys-auth/polkit )
+ spell? ( >=app-text/gtkspell-2.0.14:2 )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ udisks? ( sys-fs/udisks:2 )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+RESTRICT="test"
+
+src_prepare() {
+ sed -i \
+ -e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
+ -e 's:@$(CC):$(CC):g' \
+ -e 's:dbus-glib-1::' \
+ Makefile || die
+
+ local lingua
+ for lingua in ${EMELFM2_LINGUAS[@]}; do
+ use linguas_${lingua} || mv po/${lingua}.po{,.unwanted}
+ done
+}
+
+src_configure() {
+ myemelconf=(
+ $(usex acl WITH_ACL=1 WITH_ACL=0)
+ $(usex ansi WITH_OUTPUTSTYLES=1 WITH_OUTPUTSTYLES=0)
+ $(usex gimp WITH_THUMBS=1 WITH_THUMBS=0)
+ $(usex gtk3 'GTK3=1 GTK2=0' 'GTK3=0 GTK2=1')
+ $(usex kernel_linux WITH_KERNELFAM=1 WITH_KERNELFAM=0)
+ $(usex nls I18N=1 I18N=0)
+ $(usex policykit WITH_POLKIT=1 WITH_POLKIT=0)
+ $(usex spell EDITOR_SPELLCHECK=1 EDITOR_SPELLCHECK=0)
+ $(usex udisks WITH_UDISKS=1 WITH_UDISKS=0)
+ DOCS_VERSION=1
+ STRIP=0
+ WITH_TRANSPARENCY=1
+ )
+}
+
+src_compile() {
+ tc-export CC
+ emake \
+ LIB_DIR="/usr/$(get_libdir)" \
+ PREFIX="/usr" \
+ ${myemelconf[@]}
+}
+
+src_install() {
+ emake \
+ LIB_DIR="${D}/usr/$(get_libdir)" \
+ PREFIX="${D}/usr" \
+ XDG_DESKTOP_DIR="${D}/usr/share/applications" \
+ ${myemelconf[@]} \
+ install $(usex nls install_i18n '')
+
+ newicon icons/${PN}_48.png ${PN}.png
+}
diff --git a/app-misc/emelfm2/metadata.xml b/app-misc/emelfm2/metadata.xml
new file mode 100644
index 000000000000..deb4bffc46fa
--- /dev/null
+++ b/app-misc/emelfm2/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+<email>desktop-misc@gentoo.org</email>
+<name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="ansi">
+ Add support for ANSI escape sequences
+ </flag>
+ <flag name="gtk3">
+ Use <pkg>x11-libs/gtk+</pkg>:3 instead of <pkg>x11-libs/gtk+</pkg>:2
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/empty/Manifest b/app-misc/empty/Manifest
new file mode 100644
index 000000000000..775a2b699654
--- /dev/null
+++ b/app-misc/empty/Manifest
@@ -0,0 +1,6 @@
+AUX empty-respect-LDFLAGS.patch 234 SHA256 6bf33c4d3346aed4ffa49c45d1eaccac768b32c0d522bdaa692dde24f66728f5 SHA512 a3d15d1ca8eb4c422080c24121cd1164ab534a374911fe8500980a3ea92e6bb90d6f8eeb6e1e0d86e49d901f344f2c79c386e8904f3d5f8b2b23c7e8c74463de WHIRLPOOL 29abd8a7e77336eace944a0450a1302e1fbd67ef0e7209af40d9381ab907302ec9232373a7e4c0588c514da71b30a2fe3a5d70f8e3847207d4bd5067589beae9
+DIST empty-0.6.20b.tgz 16269 SHA256 7e6636e400856984c4405ce7bd0843aaa3329fa3efd20c58df8400a9eaa35f09 SHA512 bdeda29ecde0bc7ee0432656f0497154e04dbad26aba62a0fe76ded394ddeefe2bfd921594a2dae44459b62ab4767d3b12a7a86216dfda56b6d77035a8b05c3d WHIRLPOOL d8004ed6b88a95e3f37416f40da0936cfb082f416ac0ac7c34e052767802faac0f9ad94e1e5e922c3cbdbe9affd0192232a4dccc04aed8bb34234932184ab76e
+EBUILD empty-0.6.20b.ebuild 574 SHA256 42c29ce64bf4f70b358f9e0caff3dd42a797b9a35c7c66dbd1d18b6739d24613 SHA512 64204416242302c0319cf9fa65c4a92fbd58a2e206de2c3d04f7fb6d9de46d34c1fcfd118b53268b56a0cfcc5d302c330e18e7d08d32a9803b1c42bb1e6936fb WHIRLPOOL 3588af1f0cc73f7bc1f0d9b4df316ceff66eb36e8e6ed1e0b77354e64eb03d21e71249871d09a31988284717f5d195325ff15b7fd5f214b0f368359945dc6f9b
+MISC ChangeLog 2241 SHA256 f27bc146a9a4ca5f1f76fae7a08d750ff36c0b22df29dfbb1e7151b951c3f762 SHA512 34d2127f6a3447dc115564a04c8fef2879ea7182bd606c2256551ee9d6c1654d0ca77867ec1febd506eb427fee480962d4e93c4580b7ab0eb82b7a87bcf183a8 WHIRLPOOL ffdd0e4b9b0f2ac61d488d70ffe76863a0f7038aeedfabf5f95f0684e5a6a68e2d75619c3951235b42d3cb4a492933911cb3192bd944aad3b633b47a9c7c50a8
+MISC ChangeLog-2015 1467 SHA256 70d176ca2c93aeff5448ef2fc4c94d31677b42c7717f5410e45b6f9d9f8d23f3 SHA512 968906159e82f425c41cfd54ee1bcb5fe55336ff787bd4cfa2fc14678e5cc4191b4a3e82256e694498379cd2e717ee9f5f3a07f262ce08a4ed1b40df2e3a4a19 WHIRLPOOL d35a3fdc242f13bf2d1a63d358ef79f0f160b0fc10176b0fd6eecaee5d5caa85b1074f3979c97511d7b95bf231744a99af46caa48a0ca6b73658063d65b8dd9e
+MISC metadata.xml 322 SHA256 a2a6baeac3c5bf1a7cdba8531e1eea9825310bfa41825f060973fe39ff624c68 SHA512 f447d9015f3958c33d9035ef5e2b2377f9872a265dcaf37088cc52781f742aeed7665425ad9cbd86d5a00c5336b0c685ed25f5e203f657babf942d940e42f9d3 WHIRLPOOL 35de0538d5b478588bf6d2c9135b2ea0f532a0be12fa97160a106b5b853e4a274fdb2872c7be5ecdd7eae21ec4b9c61549d8f7f4e12b4dc92353fd6d781f215c
diff --git a/app-misc/empty/empty-0.6.20b.ebuild b/app-misc/empty/empty-0.6.20b.ebuild
new file mode 100644
index 000000000000..529bce144e10
--- /dev/null
+++ b/app-misc/empty/empty-0.6.20b.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Small shell utility, similar to expect(1)"
+HOMEPAGE="http://empty.sourceforge.net"
+SRC_URI="mirror://sourceforge/empty/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND=""
+RDEPEND="virtual/logger"
+
+src_prepare() {
+ eapply "${FILESDIR}/${PN}-respect-LDFLAGS.patch"
+ eapply_user
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin empty
+ doman empty.1
+ dodoc README
+ dodoc -r examples
+}
diff --git a/app-misc/empty/files/empty-respect-LDFLAGS.patch b/app-misc/empty/files/empty-respect-LDFLAGS.patch
new file mode 100644
index 000000000000..f839afcf28c9
--- /dev/null
+++ b/app-misc/empty/files/empty-respect-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- empty-0.6.18b/Makefile
++++ empty-0.6.18b/Makefile
+@@ -16,7 +16,7 @@
+ PREFIX = /usr/local
+
+ all:
+- ${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
++ ${CC} ${CFLAGS} ${LDFLAGS} empty.c ${LIBS} -o empty
+
+ FreeBSD: all
+ NetBSD: all
diff --git a/app-misc/empty/metadata.xml b/app-misc/empty/metadata.xml
new file mode 100644
index 000000000000..c81989e291eb
--- /dev/null
+++ b/app-misc/empty/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">empty</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/enum/Manifest b/app-misc/enum/Manifest
new file mode 100644
index 000000000000..3b24807e3d11
--- /dev/null
+++ b/app-misc/enum/Manifest
@@ -0,0 +1,5 @@
+DIST enum-1.1.tar.bz2 100815 SHA256 9ba7fda59f183ca4dfd4b5f6654af8a0d36bbe3a846a16be764d8a32869ee480 SHA512 06396c5286c1e7b725c7cd7952713e21eaf917d586a3f069f2faedbf2fd191f2703ac7e67db563a54978542809552c71eda6a238a22fd2a8928d134ec471e931 WHIRLPOOL 706e1566d6ab73e9e774caff7305012b018afddf893b00c06b37dc0ef55b7e36b7a4ab5e3023f5233798bf660bdcc110f538eea2a38d78f9cc61dd34e2adf523
+EBUILD enum-1.1-r1.ebuild 604 SHA256 2c7e1dad2605669cfce81790d26908934d86cf0ca9f036569525f12fd601fd14 SHA512 6e382754401a11308dfbb6c1d74698397aab204fac86f58b8b6470a0bf64a9b43475c1ae40a92a53c8b4613b7780fbff015d5bf4dab8f5ac99bb6f31f5530236 WHIRLPOOL f21b090efb922d34eaa203fd324888c38b82bf2a5f4a29cad65e80ed85648d457e753d07d998ce05c09abc22b03aa618f2fb14450682387a2d66a64b0c841c2d
+MISC ChangeLog 2481 SHA256 b0cbd2fe81af29327fed9fd933f8f273c18537a053956b0e2284d96bfc8d6421 SHA512 ce61dc658938de520d604b1bf963f96ba3ce376523e02db2444da2f22e1d2b6e7b962d334b44d590f0aa8f8190c908a7ec75b0be8c92176eb56d606220852951 WHIRLPOOL 22b224647a0982bf1072db41208823404de76aed83f25a0b982f4c8a579e347b379e15f11d575f5a68ff648d39560db4f0ebab87b6b745760181817b1dff9f82
+MISC ChangeLog-2015 965 SHA256 a898ed31d26a6dbc10381d3a6ba53bf9aa178ef9e1ced58b51e8687243de11af SHA512 cbe719ebefd388fef8ba9bf83561ae274a36ae631ef1cd8a830fc98039851557fe8b5710838ed883f8c895859d23a542d5252d7311323ea0ebd30ece8fc35aac WHIRLPOOL 6833be37a243daeebee35cf140afaf37df3ea5a64fe61990fde61b763f16d808cb730fc1721e463c470fa9be92af2f96cfb30c407eefa21c31506d7ae47aa9b8
+MISC metadata.xml 327 SHA256 a9289d8a03de294506b1e30d36e657739d478a825f3fa6169a8f84601e254254 SHA512 e76ec4d0ea0a8a0c914f41578a52cd0a31942e75f13c3b0f3bd290a86c989f93cae9f5d76ab085acca6a5bc16cfb52429478034a48b9daadc4c95162b11f40ee WHIRLPOOL dcc7092917c44718ffa9da28cac7bab8e193060c840eb8c36d28c505beb1f320b7531b35d8ee283ac44b6db436c9725a4a1172db57eae6e5bcb0e80c669abfa3
diff --git a/app-misc/enum/enum-1.1-r1.ebuild b/app-misc/enum/enum-1.1-r1.ebuild
new file mode 100644
index 000000000000..d125d71a5035
--- /dev/null
+++ b/app-misc/enum/enum-1.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Replacement for GNU seq and BSD jot"
+HOMEPAGE="https://github.com/hartwork/enum"
+SRC_URI="https://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ default
+
+ # Remove bundled getopt
+ rm -rv thirdparty || die
+}
+
+src_configure() {
+ econf \
+ --disable-doc-rebuild \
+ --disable-dependency-tracking
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog
+}
diff --git a/app-misc/enum/metadata.xml b/app-misc/enum/metadata.xml
new file mode 100644
index 000000000000..9001d44827fc
--- /dev/null
+++ b/app-misc/enum/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">hartwork/enum</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/esekeyd/Manifest b/app-misc/esekeyd/Manifest
new file mode 100644
index 000000000000..2a1e2afab635
--- /dev/null
+++ b/app-misc/esekeyd/Manifest
@@ -0,0 +1,5 @@
+DIST esekeyd-1.2.7.tar.gz 104502 SHA256 58bdac994be805d9c11b21065427c8f53684d38a1b44bb02b175fc4ee594cc56 SHA512 dc15623e0ffdd4cc7f3834b2becabf54ce61ea5190fd44734b2aa426db3d936cb5e3caada82357d6ed41db6eba41e9f792e453e2bb93c0fe62d87ac29651c89a WHIRLPOOL 75498558448fb7cf91ce79bdec21e6f3a14a582206398065e66e583ffe038bfc61e7541f3312f680492f9de600275274a6e4027c43c4b203fbbec01ea3afc94f
+EBUILD esekeyd-1.2.7.ebuild 414 SHA256 a9f9238a84a9b90e492f9db1637fa517e2b0a67dfc6408443ed24b56e5b5336d SHA512 d7cc489d0150a677215cd8f6ef880baf366cfb698807459d1f125a863d1e09c662f56bc248b5fbdf8483b4910890cae5243c207c3e8e74fc98ef5815f1ed3703 WHIRLPOOL 625bcd2a32696a2e1d7230918a488b1530a30f1dcf3aa4abc41c4730811f5f833fcc91dff33c316730e0e6f5f8472114c1b86aec4d258aabed90a61efb7dc4da
+MISC ChangeLog 2522 SHA256 aca945ccf3c197f8f3d12bfdb06f3f760298d170a617176a1c9b7d29856b3e7a SHA512 7ca8ca35442483ff96c09b1fd3e4ef43f2770789951978763159844ea85e9bcb62367a1261110a9171dc99583a96c2f08ea39ab38f7f489960449ffbb4ac1a9f WHIRLPOOL 311ef8ea99169675ea934fbd06e8246403ecdea31b6bc9c517665cc9e5a72d5d505f43d638e56391333223bcd319bf3e6993e9e5c0b2e438b064f277dd706f24
+MISC ChangeLog-2015 1835 SHA256 13772bff04fb9261f0864e6712a35c44fdbd1934398aefb89cf92fbf069fd15a SHA512 64dc72cd6e74ef041137e58849a9af3fd49a4c5b6e467e6d218db58349ee2db81085dc72f85f3027d4dd164b770d35c3e7aa6d5fea948bb7a867ad370f71f453 WHIRLPOOL 19fc2eaa1d5590d80afb5671c2063254c227b950f7b19d335b8f49c9acd6afd4f99fb2e69aca0028c9c1182339399a54d815c37741d114ff8a8489eb08ce8631
+MISC metadata.xml 242 SHA256 8f424d6a5cddf0ec93c3732a9036706275bd0e929e18f2ed5991a02c403c2455 SHA512 32c1c40f1795067c1b672cee155ba355441626501a25d253710e81f1bc973709dfefe6b02c52b1ae51a0202cb9ae0ea8a6e5ed9f3d617ca93d0745f38bc7b35e WHIRLPOOL 92b79aab5d0295c8795aab6183988f32d89a8bf2c96ce4c57dd3c6032b0df174529e051518f4b5a1d582293a290427756fc66ca8b11d00036993b01764bd243b
diff --git a/app-misc/esekeyd/esekeyd-1.2.7.ebuild b/app-misc/esekeyd/esekeyd-1.2.7.ebuild
new file mode 100644
index 000000000000..1afe1e9d064c
--- /dev/null
+++ b/app-misc/esekeyd/esekeyd-1.2.7.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Multimedia key daemon that uses the Linux event interface"
+HOMEPAGE="http://freshmeat.net/projects/esekeyd/"
+SRC_URI="http://www.burghardt.pl/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86"
+
+DOCS=( AUTHORS ChangeLog examples/example.conf NEWS README TODO )
diff --git a/app-misc/esekeyd/metadata.xml b/app-misc/esekeyd/metadata.xml
new file mode 100644
index 000000000000..32efe0b7f32a
--- /dev/null
+++ b/app-misc/esekeyd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="freshmeat">esekeyd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/evemu/Manifest b/app-misc/evemu/Manifest
new file mode 100644
index 000000000000..e63705daddbd
--- /dev/null
+++ b/app-misc/evemu/Manifest
@@ -0,0 +1,7 @@
+DIST evemu-2.6.0.tar.xz 507032 SHA256 ed81dd4552ffeb92c346b47e56b249c67f1cb37d5b31fc073ea0ad4858ae3dcc SHA512 8dd3be18abc6e36a79b91e6099116048e4fd45a96531a5c2773c84618d6ba7089ee8734b51b9309462c393dc7c3a83d87438bcbdcd5876803165a4ea439aff83 WHIRLPOOL a1369b512c15b50a6ad90749cd2b24b488b65b445fa687fa823a1b7654d19fc363d1fd8105f86aa61992a4770137718346c06a1858e9f842891ec0237a85d2fd
+DIST evemu-2.7.0.tar.xz 509308 SHA256 78c9400d55eeeb5ab75161360543f9376438c4da4934cb34cdda5b46021ae379 SHA512 a8b09717f84df440c230bb65d3d50d81ce6a722a7cdb281981792435ea591186c28dbec215a0314542e0e36bab06bb1800851bbe32cf2a0e7712adaeaceaeb76 WHIRLPOOL 7c9173ba05b165f0fb716d2fcdbb5c5d8ee4adf93b1db06ddaf78c9e01e0a38aed2789134d246830bb953023f372b06d757dd7aa4b38cc50d032eba4d67f63af
+EBUILD evemu-2.6.0.ebuild 1028 SHA256 044fdbf46302bdd866b72905de563f4caafbc9a471d9d076d7237ca0ae9a1843 SHA512 0af553fc116b596a2a521dfeab5771102461e2e600759fed72bcd0510af69e7929e0d84825aea2d15492c201df2b506959b242c2a06f2a6453556c70ecaa7a20 WHIRLPOOL 64811ded7d0a3de9053e97c88c609d61564b8c57221cdb15e1e6029758f809d582f23a63218841d17b02c4a7fe251ad9f48a3783dcf60cbc280f30d24a9ebf29
+EBUILD evemu-2.7.0.ebuild 1028 SHA256 044fdbf46302bdd866b72905de563f4caafbc9a471d9d076d7237ca0ae9a1843 SHA512 0af553fc116b596a2a521dfeab5771102461e2e600759fed72bcd0510af69e7929e0d84825aea2d15492c201df2b506959b242c2a06f2a6453556c70ecaa7a20 WHIRLPOOL 64811ded7d0a3de9053e97c88c609d61564b8c57221cdb15e1e6029758f809d582f23a63218841d17b02c4a7fe251ad9f48a3783dcf60cbc280f30d24a9ebf29
+MISC ChangeLog 4252 SHA256 e9122d79927c63ef2d2d364d0c4022a9c12e4aaf6f392ea19d045de9b6e677bd SHA512 85863ece8c6791089a1f165b758363d1a9e7db52978063dfd2a27f39227482df634e06bbb72584c805de8033d3c9705fb48f4a6436f970c81830a7ee184b8a5e WHIRLPOOL 9e6d4785ec0f8fc6159947fa2c729e088a8f3c6ac909c363bbd45c754422687976567845be0459af94c01d6c8d7d05330b4aab0326bf89b09dc9a8d3bbef01bf
+MISC ChangeLog-2015 1365 SHA256 08d870279939d8451b7d8de89611259be1b0ea430cc08076e9d1c2407aaaf8d0 SHA512 46b43b24cfd4b308e4ad363ad9b11cca73f45ed73e3190eb9addb36740495c99d024079b86cb4a025ae042a27035c6237d4d941d9c42acc432271b39130f5a68 WHIRLPOOL 2cac2389ca161f6dea60808243868852b2dbab7edfc42fe6dcf9737d74dd2fd049c7e56af868d31bca7946dc4b29c8a5f0df3344195405809b3b436c5ff54ed0
+MISC metadata.xml 246 SHA256 92d5540a2f0904365eafb8ce96e6320cfc14e08f22e124d721521ef77ddbf6f6 SHA512 ca07e0609b698c2b53062b71008fee49b91af78fc2ef25997311e37985d79283d333f5b842257a16e7dee36ce34c07d405e1f93742f341f10ca70904e9f9a4e6 WHIRLPOOL d15a33750d6ada278082c675223992c98cccf98af92ec04ab5b908816381ab6965714988fac87a795265973c6fb81a588a08c385ac6fb66046d14d119e0c236c
diff --git a/app-misc/evemu/evemu-2.6.0.ebuild b/app-misc/evemu/evemu-2.6.0.ebuild
new file mode 100644
index 000000000000..8ac8d69567ec
--- /dev/null
+++ b/app-misc/evemu/evemu-2.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit ltprune python-single-r1
+
+DESCRIPTION="tools and bindings for kernel evdev device emulation, data capture, and replay"
+HOMEPAGE="https://www.freedesktop.org/wiki/Evemu/"
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )
+ >=dev-libs/libevdev-1.2.99.902"
+DEPEND="app-arch/xz-utils
+ ${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable python python-bindings)
+}
+
+src_test() {
+ if use python ; then
+ if [[ ! ${EUID} -eq 0 ]] || has sandbox $FEATURES || has usersandbox $FEATURES ; then
+ ewarn "Tests require userpriv, sandbox, and usersandbox to be disabled in FEATURES."
+ else
+ emake check
+ fi
+ fi
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/app-misc/evemu/evemu-2.7.0.ebuild b/app-misc/evemu/evemu-2.7.0.ebuild
new file mode 100644
index 000000000000..8ac8d69567ec
--- /dev/null
+++ b/app-misc/evemu/evemu-2.7.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit ltprune python-single-r1
+
+DESCRIPTION="tools and bindings for kernel evdev device emulation, data capture, and replay"
+HOMEPAGE="https://www.freedesktop.org/wiki/Evemu/"
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )
+ >=dev-libs/libevdev-1.2.99.902"
+DEPEND="app-arch/xz-utils
+ ${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable python python-bindings)
+}
+
+src_test() {
+ if use python ; then
+ if [[ ! ${EUID} -eq 0 ]] || has sandbox $FEATURES || has usersandbox $FEATURES ; then
+ ewarn "Tests require userpriv, sandbox, and usersandbox to be disabled in FEATURES."
+ else
+ emake check
+ fi
+ fi
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/app-misc/evemu/metadata.xml b/app-misc/evemu/metadata.xml
new file mode 100644
index 000000000000..78e64a5cf1ad
--- /dev/null
+++ b/app-misc/evemu/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/evtest/Manifest b/app-misc/evtest/Manifest
new file mode 100644
index 000000000000..4cfbaa03f0d9
--- /dev/null
+++ b/app-misc/evtest/Manifest
@@ -0,0 +1,14 @@
+AUX evtest-1.30-autoconf.patch 974 SHA256 da089331a221c07c8a9a28b7434952716b81718401fde2187abfdd3788b1e5ce SHA512 7b4fc165bd5d9dccd34ad47bcab017da08e4efb47783925c75a68de4dde32a873018a19089b01e845ea55769d943b3eaddb962a2bd99fb1e62d4444c28c3630e WHIRLPOOL 4ccab8e4d92268811e1c41d3cd0ff67fd83e07c9582b4f471b8c4b8db23f0c4e603736e630f90c6cbcf8b6e78e4cf02853bceda282a27e834b61e3de2e4af553
+AUX evtest-1.30-xml.patch 1362 SHA256 2dd064c870497fa81f3bc1f9b7ea6d3241b454a10ad0cdaefda810f08165e14b SHA512 b558f97af8f14e7d316990f7657a7429b26b0df2d54a5adf849ee3237d1613e0d629f36f72963b31baa7fdf78db8bda0e687ff5925cb86a8afd0dbc4058b3c30 WHIRLPOOL 11a5f2756fb7582c62053c958e19a22c97f45acc43c92279536348ed3cb9cab6d2637e655e57d26fc83ae90d8760926b4945e777bc9c68130ef29c9788b2f55c
+DIST evtest-1.29-mans.tar.xz 2108 SHA256 8f5c92bb15671fd1acc3a4e66c8218115ff8f6365c4fc3ca491a728bdeff3231 SHA512 d32786fde7ca20cad445b6cce35f603fff8d39f51e6a0f7569f4cc020def77240686b3a12a969c5176c5cfc0e34270f169c4429cb9e6aa5f0684fa2c50abdf85 WHIRLPOOL ff6322a3c45e178dffa3d4c1d9768d587c7533566bc41f75d5d9eaa0ce41bc4579ba9f644a29751996a7eacca4babd47564bab6708abc8ff53c17a7779918d42
+DIST evtest-1.29.tar.bz2 21930 SHA256 6373c66e72cd461879f9fc6ee19b5b508ae1d6d365660a00cb8bcee7f415bb90 SHA512 ddbda6f1a34363a844b3e2e206afec6f6aed18c2b8c97f6e5bc9c57c1585fc00ee99ded8aded2d2674e58cfaf48c8028953059cc3024e04253f4cd961a1da2e1 WHIRLPOOL f9d1fb7e4036878e901d5da10ebe4a9a0bc01238224953322aaa9c0116e61d90a23bcbc8d1ae08d52b31188878d3f2ea13aa5cc6ccdc1819841d4a6b05a817fb
+DIST evtest-1.30-mans.tar.gz 2112 SHA256 bb66750d9871caac02c48aa309774e7043e2ff5a2fcf4188d424625583c41800 SHA512 470ac504091f9826023dd2cc62a1c0169f98bf2d6e9c4c3986e3719d67d02bb587023aa347a3fb26b0d06efae8eccdd05d88ae74556f3819416a6f6c905c4618 WHIRLPOOL fcdba792eb614bb47f35063dd8554a35e2ebd4e3a8413f3b39c54a468e8eb3d0b2bc249c7f24e763a23b3042dd55561364158ca03c9d9e272ab3aeb556db3fc1
+DIST evtest-1.30.tar.gz 25556 SHA256 68ec133d4c7834c682269cbf3c35c53ec5630a275368a8a470f461e9acceb1b7 SHA512 ea995c37c0cf8dd8a4c493895bd039e4adac5056a06e9e0275e879ca1e774e98b5cf42bc77f1ad34225b15282cc4edb6dc088cb6fb16f82250bc35fb3975c4bf WHIRLPOOL 7654c986ad4626a73ecc33e560da79d00eb1db362ede63d6d87dc84dace70091f3a08217fe92270a40583903f04da781e76e6a6fe126ce3897bc935486868da7
+DIST evtest-1.31-mans.tar.gz 1661 SHA256 38a96a8a6c6790353678aaf90336b2b0efe7b13bf2552a705336d07df05a866b SHA512 b3cd5cc8aaf6620a3243318ae42e807a8819a25082606707787ab8b1ac75f1f6dfc8b544d38a74b489d348981489153c33841ba0b0466ace3e3a83b031754321 WHIRLPOOL aa2490d4c69725d9adfc89a49942728aacf02941c0a85d9f99deb6aefd2a4e6b5a69ec5b1541b9883f2218a18151a617cb02418bd36ad3f25be209efcdeb74a6
+DIST evtest-1.31.tar.gz 17968 SHA256 c95a688ff2f116dbbb42bbe7f30175624d78895e35ad6daf4960abd0b7f92e3b SHA512 1657d880c531c6c8407bf7a66ab159a5992c9ab70b840e600e91ad3a7429a07ec2c2f3bca6848614ebbad01a4a5993e43e4388705455f9d31f8b60b06c04a7c4 WHIRLPOOL 97b6299cbdae15596c3ebf29f9a7ff3b68e58cfd3d25c7f066f2387ac08ea112cdf5a3e5e68406f15e849531dc7ff2b9f06b730bf8a9c1f4d39c7e96f64c7b4c
+EBUILD evtest-1.29.ebuild 965 SHA256 3d1a10d9546757185a6caaec22f2b7fdb43f33ef5d476308ba4e697d9e2ebe3f SHA512 87ebd6668836aeab05065eb76d56f14c42ff28985d5ab57b5668dddafc4811e7ae2648042d50db85281bba7e32900da0c64c60c5e115bffaae46f43b641c803f WHIRLPOOL 6e57fffad870125ca25075fee19429fd187a0c57970952d216d47e4964c2582f2455412558245e2f59e5f821e0f734c14479ce40855275df9790615f7b69f0d1
+EBUILD evtest-1.30.ebuild 1137 SHA256 2ad030eb34f5a0b2a067ead2a402df1f19250e86ab13a05655fd38e2f7a85e0d SHA512 43300763245c9d70a104185f20f38b70390d2a978d6fc9dfd7f5c10309c4869d61abc04b15c9452fd8281f612e0892262b767e335b61e4ecec672d270b791877 WHIRLPOOL de075a777bbef0964aff67a65d611d94646159d2816ccc212138a23ef594af06923ee0b29d2ef1b0ffb3ac16e89bbce5a5ac3d80aad775511349d1469c24a56c
+EBUILD evtest-1.31.ebuild 1014 SHA256 966c844eb29083dc4505aa591b45c2d6fed07dcea38b2768bc14b8dd38c8860c SHA512 e6e3ae4b6cb3a246ca0c8953ddec187907b3300e535dce3255f1abbbcb9eaf965761cf11886e2acb5846d390073fe0661bd4af610f1ccec3d2be574335a027a8 WHIRLPOOL 28ef55b293633f61624a2323935dbfd19099c9963d77b135807604f88d776dfcc149fb1e2f9417641c2b91dc26e35720cd4f29037c51651300031df80b7e0243
+MISC ChangeLog 3163 SHA256 a03370cbfe176e6b5e22894cf165b7ccc513a42829f4c7e3e3c222de59093a14 SHA512 67406766c6ada72f3ba63acc4f1561d9f22a5daabc6faf2aefb65354ea61d3796636c61ef466da40102a3d85842336aa95bebd3d31f7f0e8469f0dd76dabf729 WHIRLPOOL 65acfcfda71dd5841c3615703a68131d652ce55dc02d4f03fa6cf5e34c60d39d430e57ca3db162041bf3ed03e6e64b91d054d84ab4bc65819b8ea90af17b3f3f
+MISC ChangeLog-2015 1564 SHA256 5be32fbadfe0a1fef454a77ddf126677c950820bc278c3d8e933984cc701c715 SHA512 cd6c905cfeef6dc0d6ccb7a99d485f41bd1df835d18a01536654907aca660830853431dc1d6697b56ce102a00c4be3919bbccd88ed6e2b2ea80d6b2148a7e066 WHIRLPOOL 927a9823b91b3d712070d3eae94e7cec4bd97693807891f20b01dab25b5ef9de82f9c4a54c380bcd74021a7289c7799239d2f417e2759872cf7197e63da80084
+MISC metadata.xml 214 SHA256 d6339a92715ade5f609951c445c03024adbfecbca53a9cb232c6838c8ded201e SHA512 ac8342ba1f8eaf027f23e677b348b4da59f5d6b0d9ddf434def5413c6f7c9b3d803fe2c8141fd7aaf8c8d9ac2a0fe800e3d0c41017c28dbd9104e34f83ca24f7 WHIRLPOOL 5c05dce3362f17da9c9478ea9ad10b392d6fb5ec493b4904abff61ebc4e4b838fd5f77abfbea0f9ccd334027105ada679f392cd1a0940d3a28f0c6af1c99e375
diff --git a/app-misc/evtest/evtest-1.29.ebuild b/app-misc/evtest/evtest-1.29.ebuild
new file mode 100644
index 000000000000..e5ee7c50722e
--- /dev/null
+++ b/app-misc/evtest/evtest-1.29.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="test program for capturing input device events"
+HOMEPAGE="https://cgit.freedesktop.org/evtest/"
+SRC_URI="https://cgit.freedesktop.org/evtest/snapshot/${P}.tar.bz2
+ mirror://gentoo/${P}-mans.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm x86"
+IUSE="+xml"
+
+# We bundled the man pages ourselves to avoid xmlto/asciidoc.
+# We need libxml2 for the capture tool. While at runtime,
+# we have a file that can be used with xsltproc, we don't
+# directly need it ourselves, so don't depend on libxslt.
+RDEPEND="xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # No pretty configure flag :/
+ sed -i -r \
+ -e "s:HAVE_LIBXML=(yes|no):HAVE_LIBXML=$(usex xml):g" \
+ configure.ac || die
+
+ # We pre-compile the man pages.
+ export XMLTO=/bin/true ASCIIDOC=/bin/true
+
+ eautoreconf
+}
diff --git a/app-misc/evtest/evtest-1.30.ebuild b/app-misc/evtest/evtest-1.30.ebuild
new file mode 100644
index 000000000000..cbc2f0a66a97
--- /dev/null
+++ b/app-misc/evtest/evtest-1.30.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="test program for capturing input device events"
+HOMEPAGE="https://cgit.freedesktop.org/evtest/"
+SRC_URI="https://cgit.freedesktop.org/evtest/snapshot/${PN}-${P}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/${P}-mans.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
+IUSE="+xml"
+
+# We bundled the man pages ourselves to avoid xmlto/asciidoc.
+# We need libxml2 for the capture tool. While at runtime,
+# we have a file that can be used with xsltproc, we don't
+# directly need it ourselves, so don't depend on libxslt.
+# tar zcf ${P}-mans.tar.gz *.1 --transform=s:^:evtest-${P}/:
+RDEPEND="xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.30-autoconf.patch
+ epatch "${FILESDIR}"/${PN}-1.30-xml.patch
+ eautoreconf
+}
+
+src_configure() {
+ # We pre-compile the man pages.
+ XMLTO=/bin/true ASCIIDOC=/bin/true \
+ econf $(use_enable xml)
+}
diff --git a/app-misc/evtest/evtest-1.31.ebuild b/app-misc/evtest/evtest-1.31.ebuild
new file mode 100644
index 000000000000..74195303d4bd
--- /dev/null
+++ b/app-misc/evtest/evtest-1.31.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="test program for capturing input device events"
+HOMEPAGE="https://cgit.freedesktop.org/evtest/"
+SRC_URI="https://cgit.freedesktop.org/evtest/snapshot/${PN}-${P}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/${P}-mans.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+# We bundled the man pages ourselves to avoid xmlto/asciidoc.
+# We need libxml2 for the capture tool. While at runtime,
+# we have a file that can be used with xsltproc, we don't
+# directly need it ourselves, so don't depend on libxslt.
+# tar zcf ${P}-mans.tar.gz *.1 --transform=s:^:evtest-${P}/:
+RDEPEND=""
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ # We pre-compile the man pages.
+ XMLTO=$(type -P true) ASCIIDOC=$(type -P true) \
+ econf
+}
diff --git a/app-misc/evtest/files/evtest-1.30-autoconf.patch b/app-misc/evtest/files/evtest-1.30-autoconf.patch
new file mode 100644
index 000000000000..940c1316fd6f
--- /dev/null
+++ b/app-misc/evtest/files/evtest-1.30-autoconf.patch
@@ -0,0 +1,33 @@
+From d3864018ef09ef38e1733110e2643735067bc02f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sun, 6 Jan 2013 14:49:40 -0500
+Subject: [PATCH] use newer config headers macro
+
+With newer automake, it throws an error:
+configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
+ You should use the 'AC_CONFIG_HEADERS' macro instead.
+
+The newer macro has been around a long time, so there's no need to
+worry about backwards compat here.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index ebf657f..9980c5a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,7 @@ AC_PREREQ([2.57])
+ AC_INIT(evtest,[1.30], [https://bugzilla.freedesktop.org/enter_bug.cgi?product=evtest], evtest)
+ AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AC_PROG_CC
+ AC_PROG_INSTALL
+
+--
+1.8.0.2
+
diff --git a/app-misc/evtest/files/evtest-1.30-xml.patch b/app-misc/evtest/files/evtest-1.30-xml.patch
new file mode 100644
index 000000000000..1fe3e6c7c34b
--- /dev/null
+++ b/app-misc/evtest/files/evtest-1.30-xml.patch
@@ -0,0 +1,40 @@
+From 92ecfec7b0a9c1f8d952d20e8a0cde5930f9264f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sun, 6 Jan 2013 15:09:26 -0500
+Subject: [PATCH] add a configure flag to control xml behavior
+
+The default behavior (autodetection) is unchanged.
+This adds a knob for distros to control directly.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ configure.ac | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9980c5a..e973733 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,11 +5,15 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
+ AC_CONFIG_HEADERS(config.h)
+ AC_PROG_CC
+ AC_PROG_INSTALL
++PKG_PROG_PKG_CONFIG
+
+-PKG_CHECK_MODULES(XML, libxml-2.0, [HAVE_LIBXML=yes], [HAVE_LIBXML=no])
+-if test x$HAVE_LIBXML = "xno"; then
+- AC_MSG_WARN([libxml headers not available. Cannot build evtest-capture.])
+-fi
++AC_ARG_ENABLE([xml], [AS_HELP_STRING([--disable-xml], [Disable support for xml (evtest-capture)])])
++AS_IF([test "x$enable_xml" != "xno"], [
++ PKG_CHECK_MODULES(XML, libxml-2.0, [HAVE_LIBXML=yes], [HAVE_LIBXML=no])
++ AS_IF([test "x$enable_xml$HAVE_LIBXML" = "xyesno"], [
++ AC_MSG_ERROR([libxml headers not available. Cannot build evtest-capture.])
++ ])
++])
+ AM_CONDITIONAL(HAVE_LIBXML, [test "x$HAVE_LIBXML" = "xyes"])
+
+ AC_PATH_PROG(XSLTPROC, [xsltproc])
+--
+1.8.0.2
+
diff --git a/app-misc/evtest/metadata.xml b/app-misc/evtest/metadata.xml
new file mode 100644
index 000000000000..1021f53d6e8c
--- /dev/null
+++ b/app-misc/evtest/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>vapier@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/fdupes/Manifest b/app-misc/fdupes/Manifest
new file mode 100644
index 000000000000..222109c09447
--- /dev/null
+++ b/app-misc/fdupes/Manifest
@@ -0,0 +1,14 @@
+AUX fdupes-1.50_pre2-compare-file.patch 2002 SHA256 a4e7bf30c18c81a3a5f5d37b0bf22354860512b1feb6a2307fa8a0c905b76ffb SHA512 53a61081cf4f0cde8ec98926edea6a6d46864b0b48f30c2112148f1aa92971b3127dd04a55689a9ba408d52a43ff0a6ebccbe5f1ff918e83943c942beca086a3 WHIRLPOOL 0633b1a6bc23a946a0f446596870fd1a0f35dbf6578a8df6205b07153f50f8807704b5f1e6c05b8706c4621ff4e28706334a5caf593927bf644e29a1fc152be3
+AUX fdupes-1.50_pre2-typo.patch 675 SHA256 414555ab71bf985da76d5b7163870ff069ec8116ea1561e48f32309caef53980 SHA512 fdc313c2bfa44c17bc30f2f001f06b818eeea7fddc0b2c6a600b4694cbaeb53aa4fcfd93a7fe6eb0b6d48297b1a8654481f8efa57e2a78908e75b35df5959619 WHIRLPOOL 252fde3e9a853ec76c66bad35b5cb84f65ad54d486c67e57ef041b080af8c529d16d2c0889562586574013f903e6e204dde5b1f1d9da7e2107394bce32f54843
+AUX fdupes-1.51-fix-stdin-lvalue.patch 585 SHA256 3876811b02651160560d8710660623b50390c68f3e949b2cb2636c4aa7c42b6e SHA512 87ddc27a1125a5500be9120781d7b7b695f638af6219498e200d375bca5b98f009d25905ca7d72dde7ebea2bd58a4e23db48843eef5dabeff6cb95194e9bc7c1 WHIRLPOOL b30832ce803c38a6569874b8c95138e1341e134300682a7ccb97fd93ff205456f09cb3ffe9e4fd156f43c8c5339c784885f70f31802abe46a13bb114cc2a42c6
+AUX fdupes-1.51-makefile.patch 779 SHA256 96d8eb5023b0b96eff7a88c1a5686c35ab8dd67e3d5ae14a80636da4d82b0971 SHA512 965b8eda17f52b822657373f3aa6d624900477c43d50fd507f853ffe10764184dac6c0f46cf40cbe371eec69f12434a63b49759c94512896640c9001641d0a8d WHIRLPOOL 87c08a67af5da2357302837904272cdad692b168ce9883f8221c807d05efea4f0b688449bfe4864c31feaac1a3c4d2779388a6fe29b63e9ec2500fe4ffbcc7ae
+AUX fdupes-9999-gentoo.patch 426 SHA256 95e557b2cee0f048c877afed11068a847080bdad1eb15032a78cf2047b698833 SHA512 86482e46a6e2b3800f34122ef44ca830c065360fce5806962fcc49b2d9a6a76f65b52e89283e150ce5b885f038b70d992f753fecbb38694f2485a08e221f1216 WHIRLPOOL d379e62e6b77548a0b2e86c2d8f25671c05c71e586d63f68cc73997f484bf15c2827cf240f198577514985f7e46be526bc469c6d5f59cec4f7abe3289eb91740
+DIST fdupes-1.51.tar.gz 48942 SHA256 87dbc85b7b9cdb9626e713dd8078bd7487bceb58d47ceaff5404a9e6fd062881 SHA512 7cbc414f25427793317667b8d5494f7247a08ba402855929de77d1db01eb3dce41ea608f8dcca047c4a7856e02b10261982cf2acd7f6a79ab726b3009c710a8d WHIRLPOOL 49c4ac195270972246e54f1249749afde889926067e6a3c88f14dbe738b1ba40c085c4b6c9fc0bcbb3fa83de0bf21c54a24eea91307143083648b333c50d7305
+DIST fdupes-1.6.1.tar.gz 20869 SHA256 9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea SHA512 6c6662b70068c2f48f4be64a6830c81a66852d650391d0756f20b9ac0df7d70c1a32918bd7cbd50e19de524d9ebc09ea338c19636e1807b071eb96b325e641db WHIRLPOOL 811daccb06f2061b9ad2b6c86a2126c0ea1a496f1fd712dbebb1be0427c8cf35d03f001f810af92ecc57f4c5af98a32df8ce26231fbd0b7b8cb203e5f5662e4f
+EBUILD fdupes-1.5.1.ebuild 961 SHA256 17b74bdcc4ff93b684c717e50b34586c89ad92b4ec1fb7417889acad4a1e7c33 SHA512 07c76d4c55477f6403da7792e827e67ac4150d04c8387b001a6a3ea52c879f41e8f11ea0746a499cf4380f0148628d6a354a87b065d286ebe60e5d5b89571801 WHIRLPOOL 02dc472f54dd477b4886c168293dc7a868662b9c5c07fb00570a16c66502c0f3935ce29f54bbd10105f8130592b98909e58157e49cc9d95507f3c8d5477cbf04
+EBUILD fdupes-1.6.1-r1.ebuild 684 SHA256 53f061fadb8fbbef662fa461d3636dd69c77f454ea2a029c6447e92f02d52cc6 SHA512 84434c700455f906ecc95f8386117c338cad2150bbd7b5fabf5a9e4251618a0831410aa2e9c817e4a6971d2aee1477da44e5e1d76f5444422177469c1678f4f7 WHIRLPOOL f65d5461c8be4680503db4e7fb2f5df70da762e35431b824fbf0b209ec0cc952784df3c08c8d5b377d20b4578bdbdacf09e22869ada993f76cae3a003878cd13
+EBUILD fdupes-1.6.1.ebuild 707 SHA256 2f49676b8320b21494c670d9fb00d8ba7999166a653cb483f6840d16520b26e2 SHA512 0be0c0134f22a83e3e862b828d151fc20ef76635e33a77a4c6c0e93eb2a4197951be64c64a698466e61b3238aa06edac4593bcf727fc7d54c50597b22c3a5278 WHIRLPOOL 0ab82735599a14315269dae417c738b36d142a9dc47b0352666bd23d87a4f9df817ce68e97e5b8db7bb91e65eebcb4b0710a47b5e20ce145f9df1162dbf46c7e
+EBUILD fdupes-9999.ebuild 676 SHA256 ba1aff6952ecb9bc8bb8bc438855078f27e64ebdef98207b15793ef786ee1777 SHA512 f04df62de8ddd45ad72015f8d346f15f4b81c066be0ff53e0f301ff5eb370ecc74192e2e03265f3fe729059cd1d330623eacca57177b1d8b9e777f8a090608d5 WHIRLPOOL e6a5d7283b42fbfb73526707486fe420154e1a19d3efd6c0d777037437e536755f59b057837bba33b027ae7cc325a00455eaabb2132bbc166c22a544f79513cf
+MISC ChangeLog 3704 SHA256 85a8b16ebfe63898aab5635c8758a4187b2880a1286ce68e7b010607bfda64cd SHA512 cf30cb6da466af8f2e2e01ce7fb54848de701ace06b5b1a35a6e23c9f662d633932d6b89d54e77d3e9cfbf884a130e6b8bc134c1a281c0b04a07b5dfeb6b4572 WHIRLPOOL d084c4cebeea88e3335c48f9ddf900ebe71d8d98c5f29ac00a67862263dd43eb787facfaee623fb4cfc36c31ee99a15078f448c4901eba36ef297e88a06d0b6f
+MISC ChangeLog-2015 7718 SHA256 aaed42bf47e0c3de228085de4c2f6e655d77d52df27ac507222b2125d475d399 SHA512 68cb5bfe9385cc0007eb31c6c193626354e3e8527f2ecdc2e72d657c8112ee63911d09fe6da981dd247455fdf7037df8d56aee20d6242457d76b9e347cf4b1a5 WHIRLPOOL ef9cb3cd36b3fa801f8837c0ea5b557e93f08955720843c89cdae28cc71cef42935a4ccfa60557b6afa6b2b44f027b0269752c6fb597a544bd6ad95873281c25
+MISC metadata.xml 353 SHA256 8d595edd30765ccdf3fb316186afa65f0f47e5645e2060885427bd5d53daa285 SHA512 a918f701cfd176d6281ce0703be9ced24bba96090d0c6ed0647e20909cc420336506c943cd5e82050ebba4618dba28b8543afc9baa394c35e5bcdd3d7ffebb8c WHIRLPOOL 2a49ad54f37f3ded8ba1763ad2b4ab08997bfc7b238b72e9da23f9e569241b101185c51f5eca47584711532b9ec950d138405cead9d01206f53787fa6e05559c
diff --git a/app-misc/fdupes/fdupes-1.5.1.ebuild b/app-misc/fdupes/fdupes-1.5.1.ebuild
new file mode 100644
index 000000000000..ac75fedd87d6
--- /dev/null
+++ b/app-misc/fdupes/fdupes-1.5.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_P="${PN}-${PV/_pre/-PR}"
+MY_P="${MY_P/5\.1/51}"
+
+DESCRIPTION="Identify/delete duplicate files residing within specified directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
+SRC_URI="https://github.com/adrianlopezroche/${PN}/archive/${P/5\.1/51}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-1.51-makefile.patch \
+ "${FILESDIR}"/${PN}-1.50_pre2-compare-file.patch \
+ "${FILESDIR}"/${PN}-1.50_pre2-typo.patch \
+ "${FILESDIR}"/${PN}-1.51-fix-stdin-lvalue.patch
+
+ append-lfs-flags
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin fdupes
+ doman fdupes.1
+ dodoc CHANGES CONTRIBUTORS README TODO
+}
diff --git a/app-misc/fdupes/fdupes-1.6.1-r1.ebuild b/app-misc/fdupes/fdupes-1.6.1-r1.ebuild
new file mode 100644
index 000000000000..b127dfcbd858
--- /dev/null
+++ b/app-misc/fdupes/fdupes-1.6.1-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Identify/delete duplicate files residing within specified directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
+SRC_URI="https://github.com/adrianlopezroche/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+src_prepare() {
+ default
+ append-lfs-flags
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-misc/fdupes/fdupes-1.6.1.ebuild b/app-misc/fdupes/fdupes-1.6.1.ebuild
new file mode 100644
index 000000000000..2858047c4d5b
--- /dev/null
+++ b/app-misc/fdupes/fdupes-1.6.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Identify/delete duplicate files residing within specified directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
+SRC_URI="https://github.com/adrianlopezroche/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+src_prepare() {
+ append-lfs-flags
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin fdupes
+ doman fdupes.1
+ dodoc CHANGES CONTRIBUTORS README TODO
+}
diff --git a/app-misc/fdupes/fdupes-9999.ebuild b/app-misc/fdupes/fdupes-9999.ebuild
new file mode 100644
index 000000000000..f27d34c2d82a
--- /dev/null
+++ b/app-misc/fdupes/fdupes-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic git-r3 toolchain-funcs
+
+MY_P="${PN}-${PV/_pre/-PR}"
+
+DESCRIPTION="Identify/delete duplicate files residing within specified directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes"
+EGIT_REPO_URI="https://github.com/adrianlopezroche/fdupes.git"
+
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS=""
+SRC_URI=""
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+DOCS=( CHANGES CONTRIBUTORS README )
+
+src_configure() {
+ append-lfs-flags
+ tc-export CC
+}
+
+src_install() {
+ emake PREFIX="/usr" DESTDIR="${D}" install
+ einstalldocs
+}
diff --git a/app-misc/fdupes/files/fdupes-1.50_pre2-compare-file.patch b/app-misc/fdupes/files/fdupes-1.50_pre2-compare-file.patch
new file mode 100644
index 000000000000..fa9e2a34a893
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.50_pre2-compare-file.patch
@@ -0,0 +1,58 @@
+diff -urNp fdupes-1.50-PR2.orig/fdupes.c fdupes-1.50-PR2/fdupes.c
+--- fdupes-1.50-PR2.orig/fdupes.c 2009-01-31 20:11:49.577968848 +0530
++++ fdupes-1.50-PR2/fdupes.c 2009-01-31 22:01:11.872219443 +0530
+@@ -492,7 +492,10 @@ file_t **checkmatch(filetree_t **root, f
+ else {
+ if (checktree->file->crcpartial == NULL) {
+ crcsignature = getcrcpartialsignature(checktree->file->d_name);
+- if (crcsignature == NULL) return NULL;
++ if (crcsignature == NULL) {
++ errormsg ("cannot read file %s\n", checktree->file->d_name);
++ return NULL;
++ }
+
+ checktree->file->crcpartial = (char*) malloc(strlen(crcsignature)+1);
+ if (checktree->file->crcpartial == NULL) {
+@@ -504,7 +507,10 @@ file_t **checkmatch(filetree_t **root, f
+
+ if (file->crcpartial == NULL) {
+ crcsignature = getcrcpartialsignature(file->d_name);
+- if (crcsignature == NULL) return NULL;
++ if (crcsignature == NULL) {
++ errormsg ("cannot read file %s\n", file->d_name);
++ return NULL;
++ }
+
+ file->crcpartial = (char*) malloc(strlen(crcsignature)+1);
+ if (file->crcpartial == NULL) {
+@@ -577,8 +583,8 @@ file_t **checkmatch(filetree_t **root, f
+
+ int confirmmatch(FILE *file1, FILE *file2)
+ {
+- unsigned char c1 = 0;
+- unsigned char c2 = 0;
++ unsigned char c1[CHUNK_SIZE];
++ unsigned char c2[CHUNK_SIZE];
+ size_t r1;
+ size_t r2;
+
+@@ -586,14 +592,13 @@ int confirmmatch(FILE *file1, FILE *file
+ fseek(file2, 0, SEEK_SET);
+
+ do {
+- r1 = fread(&c1, sizeof(c1), 1, file1);
+- r2 = fread(&c2, sizeof(c2), 1, file2);
++ r1 = fread(c1, 1, sizeof(c1), file1);
++ r2 = fread(c2, 1, sizeof(c2), file2);
+
+- if (c1 != c2) return 0; /* file contents are different */
+- } while (r1 && r2);
++ if (r1 != r2) return 0; /* file lengths are different */
++ if (memcmp (c1, c2, r1)) return 0; /* file contents are different */
++ } while (r2);
+
+- if (r1 != r2) return 0; /* file lengths are different */
+-
+ return 1;
+ }
+
diff --git a/app-misc/fdupes/files/fdupes-1.50_pre2-typo.patch b/app-misc/fdupes/files/fdupes-1.50_pre2-typo.patch
new file mode 100644
index 000000000000..1615a15f49b1
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.50_pre2-typo.patch
@@ -0,0 +1,12 @@
+diff -urNp fdupes-1.50-PR2.orig/fdupes.1 fdupes-1.50-PR2/fdupes.1
+--- fdupes-1.50-PR2.orig/fdupes.1 2009-01-31 20:11:49.581967819 +0530
++++ fdupes-1.50-PR2/fdupes.1 2009-01-31 20:32:46.383969471 +0530
+@@ -84,7 +84,7 @@ If fdupes returns with an error message
+ .B fdupes: error invoking md5sum
+ it means the program has been compiled to use an external
+ program to calculate MD5 signatures (otherwise, fdupes uses
+-interal routines for this purpose), and an error has occurred
++internal routines for this purpose), and an error has occurred
+ while attempting to execute it. If this is the case, the
+ specified program should be properly installed prior
+ to running fdupes.
diff --git a/app-misc/fdupes/files/fdupes-1.51-fix-stdin-lvalue.patch b/app-misc/fdupes/files/fdupes-1.51-fix-stdin-lvalue.patch
new file mode 100644
index 000000000000..65c06e3f1ddf
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.51-fix-stdin-lvalue.patch
@@ -0,0 +1,20 @@
+This is a combination of upstream's fe2d8334 and 03abad. See
+https://bugs.gentoo.org/show_bug.cgi?id=574610.
+
+diff -Naur fdupes-1.51.orig/fdupes.c fdupes-1.51/fdupes.c
+--- fdupes-1.51.orig/fdupes.c 2013-04-20 14:02:18.000000000 -0400
++++ fdupes-1.51/fdupes.c 2016-02-29 02:45:36.360804360 -0500
+@@ -1164,7 +1164,12 @@
+ }
+ else
+ {
+- stdin = freopen("/dev/tty", "r", stdin);
++ if (freopen("/dev/tty", "r", stdin) == 0)
++ {
++ errormsg("could not open terminal for input\n");
++ exit(1);
++ }
++
+ deletefiles(files, 1, stdin);
+ }
+ }
diff --git a/app-misc/fdupes/files/fdupes-1.51-makefile.patch b/app-misc/fdupes/files/fdupes-1.51-makefile.patch
new file mode 100644
index 000000000000..138914239a90
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-1.51-makefile.patch
@@ -0,0 +1,23 @@
+--- fdupes-1.50-PR2/Makefile.orig 2010-11-19 19:05:18.152330536 -0800
++++ fdupes-1.50-PR2/Makefile 2010-11-19 19:06:00.998659992 -0800
+@@ -72,9 +72,9 @@
+ # Make Configuration
+ #
+ CC = gcc
+-COMPILER_OPTIONS = -Wall -O -g
++COMPILER_OPTIONS = -Wall
+
+-CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(OMIT_GETOPT_LONG) $(FILEOFFSET_64BIT)
++CFLAGS += $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(OMIT_GETOPT_LONG) $(FILEOFFSET_64BIT)
+
+ INSTALL_PROGRAM = $(INSTALL) -c -m 0755
+ INSTALL_DATA = $(INSTALL) -c -m 0644
+@@ -94,7 +94,7 @@
+ all: fdupes
+
+ fdupes: $(OBJECT_FILES)
+- $(CC) $(CFLAGS) -o fdupes $(OBJECT_FILES)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o fdupes $(OBJECT_FILES)
+
+ installdirs:
+ test -d $(BIN_DIR) || $(MKDIR) $(BIN_DIR)
diff --git a/app-misc/fdupes/files/fdupes-9999-gentoo.patch b/app-misc/fdupes/files/fdupes-9999-gentoo.patch
new file mode 100644
index 000000000000..4c6edda50e04
--- /dev/null
+++ b/app-misc/fdupes/files/fdupes-9999-gentoo.patch
@@ -0,0 +1,14 @@
+--- a/Makefile
++++ b/Makefile
+@@ -71,9 +71,9 @@
+ # Make Configuration
+ #
+ CC ?= gcc
+-COMPILER_OPTIONS = -Wall -O -g
++COMPILER_OPTIONS = -Wall
+
+-CFLAGS= $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(OMIT_GETOPT_LONG) $(FILEOFFSET_64BIT)
++CFLAGS += $(COMPILER_OPTIONS) -I. -DVERSION=\"$(VERSION)\" $(OMIT_GETOPT_LONG) $(FILEOFFSET_64BIT)
+
+ INSTALL_PROGRAM = $(INSTALL) -c -m 0755
+ INSTALL_DATA = $(INSTALL) -c -m 0644
diff --git a/app-misc/fdupes/metadata.xml b/app-misc/fdupes/metadata.xml
new file mode 100644
index 000000000000..4a5652d5b09e
--- /dev/null
+++ b/app-misc/fdupes/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">adrianlopezroche/fdupes</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/fdutils/Manifest b/app-misc/fdutils/Manifest
new file mode 100644
index 000000000000..21306802ae64
--- /dev/null
+++ b/app-misc/fdutils/Manifest
@@ -0,0 +1,6 @@
+DIST fdutils_5.5-20060227-6.debian.tar.gz 54489 SHA256 51fae03acb4f087b09c076dc3ec4e7b31362f1e1a9fa7b2b17d6dade1cd512fb SHA512 db6759bd2b98ae65bca39cf5b09fdb250371e02daa7665d8d21f93c3ab968cfe345cecb20faedaf2600104b22e2fb4df6868860dac3ead0ffb28d2141c8d7149 WHIRLPOOL f34a8d5d98a5b89544270dad4c3198881062aef7bec99e2dbfc186bfeab2e24f5ac741b487fac8136d7bddce907527645116d26d21f5f1af9e6d4f6c581196e8
+DIST fdutils_5.5-20060227.orig.tar.gz 222915 SHA256 a867b381adc3596ca9a0c9139773bef18a38ceb5fa0e7401af46813c3a4b8d58 SHA512 a25d23827b9178a9a54d0012ad20248072e07aa5798bb3661fd0412d2441239b7bbf1778b5e34acb1a09a25a76e44c1801b706a242ce3b2337c06757e0ac02dd WHIRLPOOL 4baa17276258669d950a0b3199db23521ebcd63ebe069f9ad94ec1903dd62e142314ad411c6d40a7323f5cc4869f3fab147ca3eb930f4ae0c7dcaaea3362c442
+EBUILD fdutils-5.5.20060227.ebuild 1344 SHA256 0a6a351328ac8d0f08e8e8b8ad15a56044fbc2420178a2ccdf8b50b9c44b0b63 SHA512 d7c7c3a6467d782d6f185248a3bb24bb795ee927b9e3d9b0faf9629df239f6307477da04282ac70671385c425ca4e95d7bede9d12d1bc77a99261238305ab1c3 WHIRLPOOL 550b4b904301efd6efb87ba0dbe381f5ce9e3c95eb54ac53df4d48663cbf0ee0f1248d1dee998cd11a28c2d4c15167b1eb460556133a678cdea225f57cf4534d
+MISC ChangeLog 2788 SHA256 a341ee34f9199090f434d59ad8844e3b04e540c062c8a37571d13ced2cbeffa9 SHA512 436c5e1589640f61e2e4a7091cf320a074332aefcba831b83bd522a94c86b314b331615319a58730be4502af3e3621c2cae8e1232b6be5f4d42c674121d64324 WHIRLPOOL 5db4d4bb2b4ebf3a6d0f6840299f9ee4ad5d675f4385193fb1e98eef48abdfeaa32e866237b00d16f0de8f2aa01e1fcf0177bf8b34b0fdb43759c26a7c734719
+MISC ChangeLog-2015 3943 SHA256 7af4814c528fef0e0ded1b9b3a83fe587a6c9d259c35304dd37d31aa41ff85db SHA512 32904bd815bde304793d5b223abd425f84d8c95a7d5d3208439780c3d9feb4496fd574a514fea8509f02e7b721e8d86f1655fd050a20b4844d0fee0f05c88539 WHIRLPOOL 0d772cd4cfb449a5158522ef8e64e734f29cca3b1bdf1b3b9792302f48acb6210acde9ec95fc0c804644478ef66258496ede477e1030cc164d73bdf1cc1da2af
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/fdutils/fdutils-5.5.20060227.ebuild b/app-misc/fdutils/fdutils-5.5.20060227.ebuild
new file mode 100644
index 000000000000..4583e0b166a9
--- /dev/null
+++ b/app-misc/fdutils/fdutils-5.5.20060227.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+MY_P=${PN}_5.5-20060227
+
+DESCRIPTION="utilities for configuring and debugging the Linux floppy driver"
+HOMEPAGE="http://fdutils.linux.lu/"
+SRC_URI="mirror://debian/pool/main/f/${PN}/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/f/${PN}/${MY_P}-6.debian.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE="doc"
+
+RDEPEND=">=sys-fs/mtools-4"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ virtual/os-headers
+ doc? ( virtual/texi2dvi )"
+
+S=${WORKDIR}/${PN}-5.5-20060227
+
+src_prepare() {
+ local d="${WORKDIR}"/debian/patches
+ EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
+ sed -i -e 's:{LDFLAFS}:(LDFLAGS):' src/Makefile.in || die #337721
+ # The build sets up config.h and uses some symbols, but forgots to
+ # actually include it in most places.
+ sed -i '1i#include "../config.h"' src/*.c || die #580060
+}
+
+src_configure() {
+ econf --enable-fdmount-floppy-only
+}
+
+src_compile() {
+ emake -j1 $(use doc || echo compile)
+}
+
+src_install() {
+ dodir /etc
+ use doc && dodir /usr/share/info
+
+ emake -j1 DESTDIR="${D}" install
+
+ # The copy in sys-apps/man-pages is more recent
+ rm -f "${ED}"/usr/share/man/man4/fd.4 || die
+
+ # Rename to match binary
+ mv "${ED}"/usr/share/man/man1/{makefloppies,MAKEFLOPPIES}.1 || die
+}
diff --git a/app-misc/fdutils/metadata.xml b/app-misc/fdutils/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/fdutils/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/figlet/Manifest b/app-misc/figlet/Manifest
new file mode 100644
index 000000000000..6b28f468ad8b
--- /dev/null
+++ b/app-misc/figlet/Manifest
@@ -0,0 +1,6 @@
+AUX figlet.bashcomp 1376 SHA256 7c0467807bde7cddecf275ae91e57e38dedd38029f9232794e9fefc774efab5a SHA512 1a9d06139bbb105c9d909d1e7bfb64b04d6ccba6e0ebfa0968f75264da5582c2f449ad5759f36ec90bf068e69005c2eac2d0565765b02a13044531601b7b9d18 WHIRLPOOL e6d4f8d1a21bca90833e961de6d8b0dbdbdb7f775e2feb9f4b3f87f17d1f2b10ecddf9b68e9de8a30e034f3f9a28483a242c0a46bfdd978ebd101420be05c967
+DIST figlet-2.2.5.tar.gz 233201 SHA256 bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d SHA512 bb9610fd89a51dd3e65c485653fe1292f47dbca7cb9a05af4ce317f5d776bb346ae455aec07fc37c290f6658639920fd7c431c1135a0f4d456a21c0bd25f99fb WHIRLPOOL bc5408f6e530adc099c1ef1798b5bbdf992f8614ba6e8b14d7cbc2c42232e62c9fa54e47fb8a2991e5e86b3fba4d43f1f9356c5dee77ff07d89dfbc16b60bdd8
+EBUILD figlet-2.2.5.ebuild 944 SHA256 22b00860171c19ec50e7eb7a127891eaf0a9ec8fcce6ac168fafb677a94c8851 SHA512 7b5d84e084d4a2be3ab5410d5fd5a5f8d7045e1309ba79a22891c81dc4b057f5409d667e941c20e2cf14973067d96c99966ad1ec87721c4b950d5047236d01db WHIRLPOOL 02b128af4442bbbe472564029aea75983cf8be15abb9dcfefe7dd746bebd963996083d27b0d09edce7317c96ce5debcf7a57d4540e07d7c0dc1694ee23b59b42
+MISC ChangeLog 2197 SHA256 cda3e1198d193d9ff13af8642b73ba35da29c71569435a856323047924ccb1b0 SHA512 dd5a5651e9b538925d28d5c9f8a268497f1381aacfb5d91419cb2df7878ab8c90437d4cdc969b87f5b08d79a2b5f37182285b1014472e07bb78d57d0d94e520f WHIRLPOOL 6efb90e4c62ad83af68a0c41756670223dfbb67e4869446fbfacdb06ee3e0bbca5a437af7f403b1127d6da088302603174e28a3681f5a1031191082800b553c1
+MISC ChangeLog-2015 6495 SHA256 dc95412696b0f556bf37503f9cd38a7a4fc7ee330c9f7a03cecc94668d931619 SHA512 bcdeab4c07dede1b3626411fce9671495d4b3a68bcec14904ab3eb4bd85c34da7da8df95d839195420b887e434fa89bf49d981890181ec53557b2a886bfa76a5 WHIRLPOOL f49b39a9aa1802da76ef54759da399cd84cfa6b526894b5b1d8f294581373185c18594c2a4a5b6cf33b12907f8edc2ec1055e8f31f4a4cf0ba4c073fbecfb341
+MISC metadata.xml 246 SHA256 d61c676b5ed6785326e01c2375db336d581a16c4e45c0efb984aff2a0051cc8d SHA512 b3031a1aebae4ba6c0ee7cde343073f46f22d3a13d5118e9e657c12a6f24e3dfb94132123726ce10a2c965b1d5c401af1341046f378d23130375540a1b465968 WHIRLPOOL 3c1c20a8dee39e7e6678c9c9c13f1e5d22b839f2067a8599836910011552899032ae7dd5378a8760bdf622e5d51c35b3ebf4d36f32e2121c8501a7de551c8cf6
diff --git a/app-misc/figlet/figlet-2.2.5.ebuild b/app-misc/figlet/figlet-2.2.5.ebuild
new file mode 100644
index 000000000000..fe9880b239ed
--- /dev/null
+++ b/app-misc/figlet/figlet-2.2.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="program for making large letters out of ordinary text"
+HOMEPAGE="http://www.figlet.org/"
+SRC_URI="ftp://ftp.figlet.org/pub/figlet/program/unix/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+src_compile() {
+ emake clean
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ prefix="${EPREFIX}/usr" \
+ all
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ BINDIR="${EPREFIX}/usr/bin" \
+ MANDIR="${EPREFIX}/usr/share/man" \
+ prefix="${EPREFIX}/usr" \
+ install
+
+ doman chkfont.6 figlet.6 figlist.6 showfigfonts.6
+ dodoc README figfont.txt
+
+ dobashcomp "${FILESDIR}"/figlet.bashcomp
+}
diff --git a/app-misc/figlet/files/figlet.bashcomp b/app-misc/figlet/files/figlet.bashcomp
new file mode 100644
index 000000000000..be3762ceb7e0
--- /dev/null
+++ b/app-misc/figlet/files/figlet.bashcomp
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# bash command-line completion for figlet
+# author: Aaron Walker <ka0ttic@gentoo.org>
+
+_figlet() {
+ local cur prev opts x
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ opts="-f -d -c -l -r -x -t -w -p -n -D -E -C -N -s -S -k -W -o \
+ -m -v -I -L -R -X"
+
+ if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then
+ COMPREPLY=( $(compgen -W "${opts}" -- $cur) )
+ return 0
+ fi
+
+ case "${prev}" in
+ -f)
+ COMPREPLY=( $(compgen -f -- $cur) \
+ $(compgen -W "$(\
+ for x in /usr/share/figlet/*.flf ; do \
+ [[ -f ${x} ]] && { local y=${x##*/} ; echo ${y%.*} ; } \
+ done)" -- $cur) )
+ ;;
+ -d)
+ COMPREPLY=( $(compgen -d -S '/' -- $cur) )
+ ;;
+ -C)
+ COMPREPLY=( $(compgen -f -- $cur) \
+ $(compgen -W "$(\
+ for x in /usr/share/figlet/*.flc ; do \
+ [[ -f ${x} ]] && { local y=${x##*/} ; echo ${y%.*} ; } \
+ done)" -- $cur) )
+ ;;
+ -m)
+ COMPREPLY=( $(compgen -W "$(\
+ for ((x = 1 ; x < 64 ; x++)) ; do \
+ echo ${x} ; \
+ done)" ) )
+ ;;
+ -I)
+ COMPREPLY=( $(compgen -W "-1 0 1 2 3 4" -- $cur) )
+ ;;
+ esac
+}
+complete -o filenames -F _figlet figlet
+
+# vim: set ft=sh tw=80 sw=4 et :
diff --git a/app-misc/figlet/metadata.xml b/app-misc/figlet/metadata.xml
new file mode 100644
index 000000000000..19c1b181c570
--- /dev/null
+++ b/app-misc/figlet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>mr_bones_@gentoo.org</email>
+<name>Michael Sterrett</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/freemind/Manifest b/app-misc/freemind/Manifest
new file mode 100644
index 000000000000..8638c639134f
--- /dev/null
+++ b/app-misc/freemind/Manifest
@@ -0,0 +1,5 @@
+DIST freemind-src-1.0.1.tar.gz 31617138 SHA256 018285126b27eae7392b8c3bfb513f25bd70b9907440e5eb8209f20b4fbd8619 SHA512 f3b7bd526da3075e883292fc88dd5b01f5b0112c58cfeae25a6be9c7dbf4a5444839821e3e2554303032d832b4520fa742894c09ded2705270f51aca98167fb5 WHIRLPOOL 5c3e1c795060bb92bced84fcf785c721c0ecf2ea8fcd8440cfe4935255bb4685c78dc4ad5991ee425a3c7d37589a8698ee9e1b3e4c63d362bc172edbe4e281da
+EBUILD freemind-1.0.1-r2.ebuild 3041 SHA256 4e8a390015f14ee5bbc5076ec1577affe4831eb9975ea23465fe84bf1fedfff2 SHA512 e5cfa780adc91cf4dda6aba410458711f3b9b5de0fd1f977a359ad406ca0ad9d1dd154fc3249ba34cafd11ef312f458065cd01151ef3cbf636b646a37432e412 WHIRLPOOL b9dff36f784cae4afbe763d652f3996fbc426e72e263a94d7a068b7e545711c87fb758e8f34cf6c8749f258a013c4288f1377c893e1a53d40dbd983406b400cd
+MISC ChangeLog 2957 SHA256 9e704d407321b1de7d44ade1e9604594d1fbda3c3920528486ba70be8c80ff51 SHA512 2134d58eaccf7497506ad7a78b107112045c05abf15889f98bb4239b9882d3e82a1e8a3f8583157563e080ce36ca06346cb388ec3de20a107c44881eca660cc2 WHIRLPOOL 337ca02b5f6b09a542db66b07e5c6ee65b094aaae13144108becee7a8cd4cd4efa641e9b560e04c7ba5ce4b6094037efd52b24bec85d85fd59bd2213dde5c530
+MISC ChangeLog-2015 12051 SHA256 c3f7fbf2e1b8217042491cf3eda417093b041c0b0b9e48097825bbc80fdfd3bf SHA512 a2f278195afae2254eaa4d3d2af0d41292c20934facd55d34c9fd7258a952b1f7216610776b794647bd01c991f8cfa03d01dcd698075cc67a3d6e24fcdc228a0 WHIRLPOOL 6e29465592ddcc3ef11e5cdbaa7fac5fb3651e8d4b778d7817f777fae78e92133ce66130dfd31209ddc51f11979c71cd1453bf2814c640b72351a65ee698faa0
+MISC metadata.xml 643 SHA256 bb4552970de23143cb509d162bb941de0634e992e29ac9ed468e8afed4704ee1 SHA512 2075eb39f587784119d83827cd4614dab2146bac37440ed3b8430fcb29fb4b0a1f53470e72f64ba875908e0b64a894074627e7beb6aa5d29d1893afa47445788 WHIRLPOOL 8af0ec2f6029967e033c7d652b76e55a33510cb695cd0cc72b464611740c13b8ae462b10bed2af91fa16880c3b3ccda906e4ec9b577120e799cc47870be5dadc
diff --git a/app-misc/freemind/freemind-1.0.1-r2.ebuild b/app-misc/freemind/freemind-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..41a1ca8b39f9
--- /dev/null
+++ b/app-misc/freemind/freemind-1.0.1-r2.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Mind-mapping software written in Java"
+HOMEPAGE="http://freemind.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="groovy latex pdf svg"
+
+CDEPEND="
+ dev-java/javahelp:0
+ dev-java/jgoodies-forms:0
+ dev-java/jibx:0
+ dev-java/jortho:0
+ >=dev-java/simplyhtml-0.13.1:0
+ groovy? ( dev-java/groovy )
+ latex? ( dev-java/hoteqn:0 )
+ pdf? (
+ dev-java/batik:1.8
+ dev-java/fop:0
+ )
+ svg? (
+ dev-java/batik:1.8
+ dev-java/fop:0
+ )"
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.6
+ pdf? ( dev-java/avalon-framework:4.2 )
+ svg? ( dev-java/avalon-framework:4.2 )"
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${PN}"
+
+java_prepare() {
+ chmod +x check_for_duplicate_resources.sh || die
+
+ # someone got it all wrong (set/unset vs. bool)
+ sed -i -e 's|<property name="include_latex" value="false"/>||' plugins/build.xml || die
+
+ # disable dmg build on Mac OS X
+ sed -i -e 's:<antcall target="dist_\(macos\|icon\)"/>::p' 'build.xml' || die
+
+ use groovy || rm plugins/build_scripting.xml || die
+ use latex || rm plugins/build_latex.xml || die
+ use pdf || use svg || rm plugins/build_svg.xml || die
+ # not compatible with releases of jmapviewer
+ rm plugins/build_map.xml || die
+
+ rm -v $(find "${WORKDIR}" -name '*.jar' -o -name '*.zip') || die
+}
+
+src_configure() {
+ local build_files=( $(find "${S}" -name 'build*.xml') )
+ JAVA_PKG_BSFIX_NAME="${build_files[@]##*/}"
+ JAVA_ANT_REWRITE_CLASSPATH="yes"
+ JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
+ JAVA_ANT_ENCODING="utf-8"
+ java-ant-2_src_configure
+}
+
+src_compile() {
+ local svg_deps svg_build_deps
+ if use pdf || use svg; then
+ svg_deps="batik-1.8,fop"
+ svg_build_deps=":$(java-pkg_getjars --build-only avalon-framework-4.2)"
+ fi
+ EANT_GENTOO_CLASSPATH="
+ jgoodies-forms,jibx,javahelp,jortho,simplyhtml
+ $(usex groovy groovy '')
+ $(usex latex hoteqn '')
+ ${svg_deps}"
+ EANT_GENTOO_CLASSPATH_EXTRA="lib/bindings.jar${svg_build_deps}"
+ EANT_BUILD_TARGET="dist"
+ EANT_DOC_TARGET="doc"
+ EANT_ANT_TASKS="jibx"
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ cd "${WORKDIR}"/bin/dist || die
+ local dest="/usr/share/${PN}/"
+
+ java-pkg_dojar lib/*.jar
+
+ if use doc; then
+ java-pkg_dojavadoc doc/javadoc
+ rm -r doc/javadoc
+ fi
+
+ insinto "${dest}"
+ doins -r accessories browser doc plugins patterns.xml
+
+ # register plugins for java-dep-check
+ local plugins="help"
+ use groovy && plugins+=" script"
+ use latex && plugins+=" latex"
+ if use pdf || use svg; then
+ plugins+=" svg"
+ fi
+ local plugin
+ for plugin in ${plugins}; do
+ java-pkg_regjar "${ED}"${dest}/plugins/${plugin}/*jar
+ done
+
+ java-pkg_dolauncher ${PN} --java_args "-Dfreemind.base.dir=${EPREFIX}${dest}" \
+ --pwd "${EPREFIX}${dest}" --main freemind.main.FreeMindStarter
+
+ newicon "${S}/images/FreeMindWindowIcon.png" freemind.png
+
+ make_desktop_entry freemind Freemind freemind Utility
+}
diff --git a/app-misc/freemind/metadata.xml b/app-misc/freemind/metadata.xml
new file mode 100644
index 000000000000..7218d43e0873
--- /dev/null
+++ b/app-misc/freemind/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <use>
+ <flag name="groovy">Build plugin for scripting via Groovy</flag>
+ <flag name="latex">Build plugin for inserting mathematical formulas in LaTeX syntax</flag>
+ <flag name="pdf">Build plugin for exporting mindmaps to SVG and PDF</flag>
+ <flag name="svg">Build plugin for exporting mindmaps to SVG and PDF</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">freemind</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/freeplane/Manifest b/app-misc/freeplane/Manifest
new file mode 100644
index 000000000000..33e8dc13e8f0
--- /dev/null
+++ b/app-misc/freeplane/Manifest
@@ -0,0 +1,4 @@
+DIST freeplane-1.5.18-gradle-cache.tar.xz 23290912 SHA256 888cd2a542ee3f82a7459795528272fa9963fcc9ffae467af777202c00c876e9 SHA512 db9fa368c829b7cffad0aa863823e75efe06be0c7b8480f3be3bfe53adac28a6f1d51a8b0bb91958eecafd1dd61d81c0ef15193ba4e20ebe87f55450b599aece WHIRLPOOL de7076a6d2907c4503f77fd2d64e1b99c1939718e9fb68abc588bfa1bfc127e36eede8b0f76e27a6c5e4892c56a33a954cab80ee5df30c0e8140b86365768ab3
+DIST freeplane_src-1.5.18.tar.gz 13233435 SHA256 539fb7114ecaca0d4f01ae5910e84376ce18ba7fb25ff28359b19d34e4325e13 SHA512 c7feaf957e1d67cb8e71e0b8aa1193c291b5cbc482f932397baeb8f296062378864e5004b59740d716b5c833b5404732ce17d7551ab0a3b663d3fda44327bccb WHIRLPOOL e28c707ffee2ef79491dd350dae1e2f32ec39735650e2ba828381e71c781d3b66b4ce1bd1047fe17fde659ea1f11dbca2089544d3191fdfd289741ce392e1b90
+EBUILD freeplane-1.5.18.ebuild 1346 SHA256 20fc38ed9005013882f96d4177b2a42c02d1bd71edee8ea2d749b15dae5c9688 SHA512 d2508c040c5cac008ae2be86b7bf9164a7711bdc837f748f3f9121cc190d577540414b8de9b586be65a88e0afd22944a0e0210f845866dfc3fb4bcd8feaac082 WHIRLPOOL 33dfe46cd93f3019caea887b4723bbd4d6f6b43f0a396be206e5abafc06c887e3fa723c91b0f6fc237a0ec47e14864af5e5e36f4fbb83ebbcd790a071edcb7f2
+MISC metadata.xml 624 SHA256 1aaa7ac3169f34b4e55a1792e20c5be2378b683980c45d68f95e123da772fb65 SHA512 6f1492a2425291717a9f01e06e0480b3ee04fe566b0f5506f102fef49a34e3f2421a8471e6801f50f531e13d1781c68f0c45724fa9d8e52c98d0d33e3b04fb20 WHIRLPOOL 78e688ef9fc26b761803e3d75df8f265a726010404a0c5a3cbbeee5f2df6200c7bb3ce755087bfe10b3122e6d6ea1c2277991efb3a6b3b9081c569414192e73d
diff --git a/app-misc/freeplane/freeplane-1.5.18.ebuild b/app-misc/freeplane/freeplane-1.5.18.ebuild
new file mode 100644
index 000000000000..fdec42967700
--- /dev/null
+++ b/app-misc/freeplane/freeplane-1.5.18.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc"
+
+VIRTUALX_REQUIRED="test"
+
+inherit java-utils-2 virtualx
+
+DESCRIPTION="Java application for Mind Mapping, Knowledge and Project Management"
+HOMEPAGE="https://www.freeplane.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}%20stable/${PN}_src-${PV}.tar.gz
+ https://dev.gentoo.org/~xmw/distfiles/freeplane-1.5.18-gradle-cache.tar.xz"
+#generate cache file by disabling --offline, ebuild clean test and
+#tar cvJf /var/cache/distfiles/freeplane-1.5.18-gradle-cache.tar.xz -C /var/tmp/portage/app-misc/freeplane-1.5.18/work .gradle/caches/modules-2
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.8"
+DEPEND="${DEPEND}
+ >=virtual/jdk-1.8
+ dev-java/gradle-bin"
+
+src_compile() {
+ GRADLE="gradle --gradle-user-home ${WORKDIR}/.gradle --console rich --no-daemon"
+ GRADLE="${GRADLE} --offline"
+ ${GRADLE} build -x check -x test || die
+}
+
+src_test() {
+ virtx ${GRADLE} check test || die
+}
+
+src_install() {
+ cd BUILD || die
+ sed -e "/freepath=/s:=.*:=${EROOT}usr/share/${PN}:" \
+ -i freeplane.sh
+ newbin freeplane.sh freeplane
+
+ insinto /usr/share/${PN}
+ doins framework.jar freeplanelauncher.jar \
+ freeplane.policy props.xargs init.xargs *.l4j.ini
+ doins -r core doc fwdir plugins resources
+}
diff --git a/app-misc/freeplane/metadata.xml b/app-misc/freeplane/metadata.xml
new file mode 100644
index 000000000000..14c857935b2c
--- /dev/null
+++ b/app-misc/freeplane/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <longdescription lang="en">
+Freeplane is a free and open source software application that supports thinking, sharing information and getting things done at work, in school and at home. The software can be used for mind mapping and analyzing the information contained in mind maps.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">freeplane</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/fslint/Manifest b/app-misc/fslint/Manifest
new file mode 100644
index 000000000000..fd7791229822
--- /dev/null
+++ b/app-misc/fslint/Manifest
@@ -0,0 +1,5 @@
+DIST fslint-2.46.tar.xz 135988 SHA256 f15daebfecfd2eea0d3b48a0193e25974b71dcf1e4b4a33d5a3dcfb7bb9c90cc SHA512 7b6122b5920d37548cfb05bb986cc29a86c7de9f549375923299c23fe19cbc8c6a521feafcf6df6fe0562dae8b6a4e804f24fdf5a833ea2b68308be41a96b696 WHIRLPOOL 2ec6e5e494f140ad3af6b159e0838253851b2b87478b6208030eec7c3c6b178311822b1e45703e6c55bc236ab9e308b2c16e178ea1c4577695c1e34f9e85efe0
+EBUILD fslint-2.46.ebuild 2137 SHA256 a23e61bad875b862cfc6da00d07fd69ac022dad8bd4844c93cd3812bec600ef6 SHA512 b8244fbd2c91a810bca8b29a63d0a3fbfe9eec21934682d89989b1d7569338cf2b9ff8f266808b2bf7bdd4d0ebf23a416b1ffa9bd1c1a4066fd72790f68f7902 WHIRLPOOL 579c605ba0a57f969165d9c6506c8b93e0c3d2b45f780819c1b25f7c8bf9d9502be88c05013e20a5d46f12662f008e9aaea9ca80e1f5d0fd47555cfdd90170c5
+MISC ChangeLog 3274 SHA256 95b40938880d81169a43888bf2bd090b723ccc98b4e59145c8cf1b7112c4731a SHA512 1cc1ab97abfd7f3476c888c9d0f5f7a15fb331fefff6b8192e4a1ea68019e7168dd812cd88ef0ad271023396338ddfe4088e25340bfff03275a4371487bb7da1 WHIRLPOOL d606e3e72b470dfec72972700391fca56bec1c80a24a9b20a09047af90ff524f27538c673653bf5f4452123cb5ce63fa84e83f6e489893d1cad99f0a754b5d13
+MISC ChangeLog-2015 2291 SHA256 c9cfa07dfa4a1b0a92d69e7fb4e651f0608b7b8feb0560ef9cd0142b0babb771 SHA512 d3b1ee413784f3ee00e4243bd6ef5f00906d425e8cc77d9f66858f0dbbfc8b35049b285e8d01e7ae953f5f6e6b45ca677500f8580409a43378f10bfdb11968fe WHIRLPOOL 4d0a983b7255fea7bfc507367119f3896a5d615e7fa2ba80cc90476a5f8965f7e2d7827e350da90b16600ca99c6370bcd42873184fa578cfbe3b5bdff8215fd3
+MISC metadata.xml 250 SHA256 0c8855ea8254caab4a93052bb9ee7f39a48cf4512f1e4b136def6a0773d2e8f0 SHA512 aba0ad6bb553b7f17cc5865b37e6ab4d7cb932b9384937bd8e2c8b254f9ba39afa3b1df70b83974c58076339fbf62b60f26d69f789e349f02b1d89dea299ce3a WHIRLPOOL 18e9e5b90627b878c57f1789ba7c9bd38725792250f58ba8210b8e9257894ff8af3539369a556ccf1f93eb16bd123b5f66dff85adf3363b00bcef08bc591bc57
diff --git a/app-misc/fslint/fslint-2.46.ebuild b/app-misc/fslint/fslint-2.46.ebuild
new file mode 100644
index 000000000000..6e119a86e0a1
--- /dev/null
+++ b/app-misc/fslint/fslint-2.46.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+# The eutils eclass is still needed for doicon() and domenu().
+inherit eutils python-r1
+
+DESCRIPTION="A utility to find various forms of lint on a filesystem"
+HOMEPAGE="http://www.pixelbeat.org/fslint/"
+SRC_URI="${HOMEPAGE}${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ gnome-base/libglade:2.0"
+
+DEPEND="nls? ( sys-devel/gettext:* )"
+
+src_prepare() {
+ default
+
+ # Change some paths to make ${PN}-gui run with our filesystem layout.
+ # These commands are taken from the debian/rules file.
+ sed -e "s:^liblocation=.*$:liblocation='${EROOT}usr/share/${PN}':" \
+ -e "s:^locale_base=.*$:locale_base=None:" \
+ -i "${PN}-gui" \
+ || die "failed to fix liblocation and locale_base in ${PN}-gui"
+}
+
+src_install() {
+ # The commands below roughly follow debian/rules.
+ python_foreach_impl python_doscript "${PN}-gui"
+
+ insinto "/usr/share/${PN}"
+ doins "${PN}.glade" "${PN}_icon.png"
+
+ exeinto "/usr/share/${PN}/${PN}"
+ doexe "${PN}"/find*
+ doexe "${PN}/${PN}"
+ doexe "${PN}/zipdir"
+
+ exeinto "/usr/share/${PN}/${PN}/fstool"
+ doexe "${PN}/fstool/dir_size" "${PN}/fstool/edu" "${PN}/fstool/lS"
+ python_scriptinto "/usr/share/${PN}/${PN}/fstool"
+ python_foreach_impl python_doscript "${PN}/fstool/dupwaste"
+
+ exeinto "/usr/share/${PN}/${PN}/supprt"
+ doexe "${PN}"/supprt/get*
+
+ python_scriptinto "/usr/share/${PN}/${PN}/supprt"
+ python_foreach_impl python_doscript "${PN}/supprt/md5sum_approx"
+
+ doexe "${PN}/supprt/fslver"
+
+ exeinto "/usr/share/${PN}/${PN}/supprt/rmlint"
+ doexe "${PN}"/supprt/rmlint/*.sh
+ python_scriptinto "/usr/share/${PN}/${PN}/supprt/rmlint"
+ python_foreach_impl python_doscript "${PN}/supprt/rmlint/fixdup"
+ python_foreach_impl python_doscript "${PN}/supprt/rmlint/merge_hardlinks"
+
+ doicon "${PN}_icon.png"
+ domenu "${PN}.desktop"
+
+ dodoc doc/{FAQ,NEWS,README,TODO}
+ doman man/*.1
+
+ if use nls; then
+ cd po || die
+ emake DESTDIR="${D}" install
+ fi
+}
diff --git a/app-misc/fslint/metadata.xml b/app-misc/fslint/metadata.xml
new file mode 100644
index 000000000000..6e883e5321c1
--- /dev/null
+++ b/app-misc/fslint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">pixelb/fslint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/fslurp/Manifest b/app-misc/fslurp/Manifest
new file mode 100644
index 000000000000..df5f1d98a9a3
--- /dev/null
+++ b/app-misc/fslurp/Manifest
@@ -0,0 +1,6 @@
+AUX fslurp-2.1.4-makefile.patch 1017 SHA256 0389ef0fac0164174b1df8d001154d0b8fddd589c15e3499213b07e139c98e36 SHA512 87bdfc820f9b50bc155933e2dbafe94a0e66162516787ec4ef9be7ded578cc919ed22b5e9728965eba77471a1b79b64be459ebfe9efd9d16aa4af1bd3d74403f WHIRLPOOL 8836c20a6e40796403859e3bc014e9039b552fe34bb6c1b5591e2e7eea0f3c668e504aa054978038da1420a02c1fabd552f279dda70cace461c9bec6d394be02
+DIST fslurp-2.1.4.tgz 33524 SHA256 4120675d38ff09c2d59a55192738e3bdfd3430a818504177c873ed04380087c0 SHA512 db209da30735de88245b5a79b65e441a426c793464a8607231156e9a5bea47884edbdf16e5ef83eaed6a4212835d0cac763ed0ed012d06757d2902ef01d88c6e WHIRLPOOL e0f8470cec0882f499602f37c6d526d9287d9fd4980d9b10b71e46dec9a623b96568c9a22ce36e1e4d2f67ffde08bb8a2c14d98d9b9c62a09cc92738d2c3c911
+EBUILD fslurp-2.1.4.ebuild 519 SHA256 9b047d87d1336f4acbb13deb77b61bea71a1673671f5d8a9557a5cf6853dbd1c SHA512 e3a57a79da20e739259c16ce56a5c73dbfaf7a5175da8889b0651060bef7e55879a3e453c0753cfb7579a710e92cfa149176569ac4470e2364bd7f6915e41d04 WHIRLPOOL d14441102879eac239d942051ad3ea3166868c3324188d4483236c68deacc2dff5402db06f062cd1196437048cd9f05c1926a52777e15dc4d9d78a6d7f7b66bc
+MISC ChangeLog 3084 SHA256 2057ab222233e6f61e0e47c8eb566f93e447718b0b258b0d9521122368538238 SHA512 10ea79168eaebe0d3128297f469f9d257a835999ce5a974a65ab4d3178d1db377e4a999b911f666a98e7854afb8d9414e7a34c900f48391a3b9b6b541e2f1e32 WHIRLPOOL ee3997c9ec5fde5c229fd4112b2c51e24291566384a9153bc85cbbbd904d95d317797e1ac1507537920f9c86a2c6009babcc275c4f5729a9d98d4e40a5fb79c5
+MISC ChangeLog-2015 1398 SHA256 894f0ba49b46cbb6e1d674dd34e5d10eb056be696f086880b4cea24799b28441 SHA512 9eb1670ab5f39701866018bbf1d8df88adf7ad41ed245a7e0f12f31cc3e6c7421b71965f569bd7dcff8dec87f7b20363bf2ccff0e42e2ab46f168d2591e10d52 WHIRLPOOL 80f9f2e69f87f0270016be1dcaedacae6c50cf7a5a1549e9e26fa8bd192869497e9709c014defbb0463ac9da138d8b73bea068f926133c6072af180907c12774
+MISC metadata.xml 574 SHA256 05f3fa2b9640d7feab0e26c22147d1468598245edce5c949668cce9b59a9cbe3 SHA512 3448d23525dd7ea5bb0fd57625cc38759098a3a7ed3f428cc5d94003fa18e0d861b369120f3e616fcc98b9253c42d795e5e28e709676bc5136406230e8b69822 WHIRLPOOL 650507f5a5db139b3862edc6efa2bbb589f1cdcf8896f3f36b646d2ff8c84e3a48f745048bb23548445ade3404ba6c959b0e161cf036d9cb35a7ce57cae8c75c
diff --git a/app-misc/fslurp/files/fslurp-2.1.4-makefile.patch b/app-misc/fslurp/files/fslurp-2.1.4-makefile.patch
new file mode 100644
index 000000000000..f231c170a4a2
--- /dev/null
+++ b/app-misc/fslurp/files/fslurp-2.1.4-makefile.patch
@@ -0,0 +1,47 @@
+--- fslurp-2.1.4/Makefile
++++ fslurp-2.1.4/Makefile
+@@ -51,35 +51,35 @@
+ INCLUDES = fslurp.h fronius.h
+ SIMINCLUDES = simulator.h
+
+-DEBUGFLAGS = -g
+-CFLAGS = -c -Wall $(DEBUGFLAGS)
++#DEBUGFLAGS = -g
++CFLAGS += -c -Wall $(DEBUGFLAGS)
+
+-LDFLAGS = -lm
++LIBS = -lm
+
+ VERSION := fslurp-$(shell tail -1 version)
+
+ all: $(TARGETS)
+
+ fslurp: $(FSLURP_OBJS)
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ simSolarNet2i1s: \
+ $(SIMSOLARNET2I1S_OBJS)
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ simSolarNet1i0s: \
+ $(SIMSOLARNET1I0S_OBJS)
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ simSolarNet0i0s: \
+ $(SIMSOLARNET0I0S_OBJS)
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ simIFCEasy: $(SIMIFCEASY_OBJS)
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ sim422IGTL: $(SIM422IGTL_OBJS)
+- $(CC) $(LDFLAGS) $^ -o $@
++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
+
+ test: $(TARGETS) clean
+ ./testcase.sh
diff --git a/app-misc/fslurp/fslurp-2.1.4.ebuild b/app-misc/fslurp/fslurp-2.1.4.ebuild
new file mode 100644
index 000000000000..b1e3a45e6a79
--- /dev/null
+++ b/app-misc/fslurp/fslurp-2.1.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Read and display data from Fronius IG and IG Plus inverters"
+HOMEPAGE="http://fslurp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc History README TODO
+}
diff --git a/app-misc/fslurp/metadata.xml b/app-misc/fslurp/metadata.xml
new file mode 100644
index 000000000000..43980587e9e8
--- /dev/null
+++ b/app-misc/fslurp/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <longdescription lang="en">
+ fslurp is a program to pull the data from a Fronius Interface Card easy
+ that works with most Fronius IG and IG Plus inverters. It supports both
+ human-readable output and delimited (CSV-style) output.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">fslurp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/fsniper/Manifest b/app-misc/fsniper/Manifest
new file mode 100644
index 000000000000..c0047ffd7a6c
--- /dev/null
+++ b/app-misc/fsniper/Manifest
@@ -0,0 +1,7 @@
+AUX fsniper-1.3.1-format-security.patch 992 SHA256 d11bfc8a4bd9f0d5be771d5084949b07f67a7808c7bc8a6443dd037001d3a961 SHA512 1956600123b92f76b1cf94a3867e5671c08876e5d16e211141725ab81f95a0b4ea48bc9f80e3f55bb658055c43cc3b0df42870ee53301adf5db7d5310e39092b WHIRLPOOL d64000eaa2ca102afa34dd429bb7a745cd1f30b38da8e8efdadde421aa8d9e0431d4d357e8bc3461b9476179c4b7dfeba0856793e3a2fe949d0a5f9b346fe695
+AUX fsniper-1.3.1-umask.patch 663 SHA256 37a510bfb6ff48d77dcc0a29e1445966f5920ed45573a8624b0d8e876e52ab55 SHA512 8532ff2624355fb4e3057442190416b02c9c8f03629ab23def757e122e411673a1826c5a6e8495007e38258bb453fa88af516a6e6b9dd56e8fc8a6a991cf371d WHIRLPOOL 4430b3c2d938c91bd47ef44287b64c83f80d39683338b70d7de6bdef0d0dfd907880f6b023af81290214605f236fbde8811788e16e262dc0496fe6cf98afa310
+DIST fsniper-1.3.1.tar.gz 282700 SHA256 e65a34221fc05eb7ececcd2fb783e3418de032f89082e09be3a8f75f6b056e6b SHA512 285b56ca239fb9c2c0319c8c5d24e368cda89d547bae25f69b528167c6fa5ebaab31f7fa178cb6b02735168043150605724ac14cc65e7347c6e49e2dc1e5ba87 WHIRLPOOL 8eb15c409baa1166e5b12fca29cc7a4b2e131d56664ef9966cf51574647eed2203386da9118cc65a678f1004e579422d4c23c155021284fec4d7e921ab3f717d
+EBUILD fsniper-1.3.1-r2.ebuild 622 SHA256 db86303430d506d48549a1494be9eda96891e338a09d37655e114769e4cb7204 SHA512 bdadd37e313e849865569258ed29b43192a34aa93096f8ff1c7547acbb3c2f768597c26f7d414ea3a4b871c07909eb0843f1511e454eb2931b2caf706756986c WHIRLPOOL d702ad7cc6d8f873e13e5324a824711a32ea4662541e922123a9bc2842ee31d17e598a5b118f081f4a04a0a94d4474ce22464adc4920c05d626a0fc34a67b1cd
+MISC ChangeLog 2513 SHA256 bcb17a2f10ab52b3c3952fc12c052f03f98814b6fa3b3b8e4bfd91acb76d6cd9 SHA512 25e674b23c7f3b4aa21a2f2eaff667ace9e9e50497ba0229ee44d18a9dc4f7c3a54872acbde656fc5d9275b67e1702e7a6c2680eb51d85e0799e57166f7ff2ed WHIRLPOOL ad397e11c884203c03b79b1168998d7ee47cdb551fecdb214bb5a3b9573518769c423d0ce2aae3c9a319ada03c76b3e5acc9e1d40d84023e093d12590b0e7d87
+MISC ChangeLog-2015 1732 SHA256 3b9c99aeeac25fb4c901acf22643168d0b9d26ab017fd4dc0f2c09e235d1b76e SHA512 380bfafd5f5b73e79878245d2225651ffd26902c2e7bc2cd14bf69b7a5672334fc7c22883ef66fec1cd7fadf18419081ff4af0e3b55a9f0580b943726f2e11b9 WHIRLPOOL 31663b90f0ee39de424b6f0a1ed8751863fcb459f5c26976100940b6f0829523ef3493be3092083382771b25d4af066ca368f4b5c28b181e48827a3a03c83131
+MISC metadata.xml 352 SHA256 e879ecaacfc409eee41dea674d8818de1581cabfadd69f36f4addfb3714bad79 SHA512 03ad4670d0169a04bf038deca3fbe594d487168ef110914541a74c4f97f958bf112411143dfa7c22856f65e37a645ec6ab4be038aa3108d15416c3a264723da9 WHIRLPOOL ea6748730dd695349d9b1a029da908704094ed7e2f0c197ca14eba3083f06520b792533bbfefafc2d9840bb83805fac27f60f1985f8588b5dc0e1863e026bfac
diff --git a/app-misc/fsniper/files/fsniper-1.3.1-format-security.patch b/app-misc/fsniper/files/fsniper-1.3.1-format-security.patch
new file mode 100644
index 000000000000..70c9460f97d2
--- /dev/null
+++ b/app-misc/fsniper/files/fsniper-1.3.1-format-security.patch
@@ -0,0 +1,26 @@
+From d15abeb19d1692698e0ec8a9f4a764a210e57a2b Mon Sep 17 00:00:00 2001
+From: Jakub Hrozek <jhrozek@redhat.com>
+Date: Tue, 3 Dec 2013 10:50:29 +0100
+Subject: [PATCH] Fix an error message
+
+This patch fixes https://bugzilla.redhat.com/show_bug.cgi?id=1037073
+---
+ src/handle_event.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/handle_event.c b/src/handle_event.c
+index 22f35f10ea3a6083c2ef933f794b529b8879a1ed..cac004b76917c192ad9bf8801062d701e4dc18c6 100644
+--- a/src/handle_event.c
++++ b/src/handle_event.c
+@@ -313,7 +313,7 @@ void handle_event(struct inotify_event* event, int writefd)
+ if (sysret == 127)
+ {
+ temp = malloc(27 + strlen(handler->value) + 20 + 1);
+- sprintf("Could not execute handler \"%s\", trying next one.\n", handler->value);
++ sprintf(temp, "Could not execute handler \"%s\", trying next one.\n", handler->value);
+ write_out(writefd, temp);
+
+ free(temp);
+--
+1.8.4.2
+
diff --git a/app-misc/fsniper/files/fsniper-1.3.1-umask.patch b/app-misc/fsniper/files/fsniper-1.3.1-umask.patch
new file mode 100644
index 000000000000..39aecaa3e0d1
--- /dev/null
+++ b/app-misc/fsniper/files/fsniper-1.3.1-umask.patch
@@ -0,0 +1,18 @@
+X-Git-Url: http://code.l3ib.org/?p=fsniper.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=cd49dffebe4b4c728b62c28c1381c4fb6f5ad87d;hp=03a8d701d6f9802ba346b591429e58741ca53479;hb=82cb0b46c48485fd4f6231ce3169c7be87d1ea07;hpb=2bbeb5d6e6b55bb9692c043fcdbeab15d9723c9e
+
+diff --git a/src/main.c b/src/main.c
+index 03a8d70..cd49dff 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -153,7 +153,10 @@ char *get_pid_filename()
+ void write_pid_file(char *pidfilename)
+ {
+ FILE *pidfile;
++ mode_t umask_old;
++ umask_old = umask(0177);
+ pidfile = fopen(pidfilename, "w");
++ umask(umask_old);
+ fprintf(pidfile, "%d", getpid());
+ fclose(pidfile);
+ }
+
diff --git a/app-misc/fsniper/fsniper-1.3.1-r2.ebuild b/app-misc/fsniper/fsniper-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..55bfb55850f4
--- /dev/null
+++ b/app-misc/fsniper/fsniper-1.3.1-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Monitors a given set of directories for new files"
+HOMEPAGE="https://github.com/l3ib/fsniper"
+SRC_URI="http://projects.l3ib.org/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="
+ dev-libs/libpcre
+ sys-apps/file"
+
+RDEPEND="
+ ${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${P}-umask.patch
+)
+
+DOCS=( AUTHORS COPYING NEWS README example.conf )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+}
diff --git a/app-misc/fsniper/metadata.xml b/app-misc/fsniper/metadata.xml
new file mode 100644
index 000000000000..c1c4c23f9f38
--- /dev/null
+++ b/app-misc/fsniper/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">l3ib/fsniper</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/fujiplay/Manifest b/app-misc/fujiplay/Manifest
new file mode 100644
index 000000000000..0a661355e293
--- /dev/null
+++ b/app-misc/fujiplay/Manifest
@@ -0,0 +1,6 @@
+AUX fujiplay-1.33-unterminated-strings.patch 3142 SHA256 1ce5665ecd16392226fed503c83a648f1d86e42074c019452efad0741192679c SHA512 5e2383ec7f65dce4060b85ad2759f29ad65793b98a77543d098e1ded1895a5996f3d104b27a6f3a0f06dfc6b10d483a3bd9e771207006e73b9995dc3300c5280 WHIRLPOOL 73a94715a6b5fdcef8e9915a9afc6f2131422cf1ee03e897c2864e333ac1a33b036b82d56ba8ada232992cb61804e293d08e3d91770b5564e3a5283eeed32bd4
+DIST fujiplay.tgz 12588 SHA256 d65c473b799532169d6ff362c24ee81f98efa2d2031bbcb8b638606701e75438 SHA512 168ce95b6926da2438fb858b2537060877145b28638217214f72833fcc75b76dd7e5bba9ed0ca966cd2f7f1c31ca3302ee4662907bf743c393314d615d795149 WHIRLPOOL 67cb3d43d94be6ae9348ca0de1b58fc32fdddce4d5648716f17bcaef4a87e926ce3151fd7edef37125bcb53def6a35f4cf7e1dcd0eb2b204cb7907a8e4cb308e
+EBUILD fujiplay-1.33.ebuild 1078 SHA256 1c7def26ed634dea00250f0cd0f203a677131cc13a18f89cee89d9e938448db0 SHA512 ff237c0570d258155de3042543c5d8179476074ea973c54504e7994aa96b6f23787047ffe39c747f2ab156b3c8540ee505ef57a79c731e0630778237619cce86 WHIRLPOOL 4b3774c2d6c8cd312b81b65b4da59a296ed6447e2c320263e5e302b38bb736bf52f34ff54402de920703d6a1931da0fe8c2874998eed7fecae961a9a87617d56
+MISC ChangeLog 2574 SHA256 532213e97c99fde89e6002b94a53b5f306bf7f7b8ae93461e49959385b4c8884 SHA512 ee1cf77ed28e980b011cc278f827f6effad3bc4ef3e9f0be93579e00655663dc78d5a48bf6518277c8aebd816765b18294d9cf7a58bc10b5fdf548dab7e80ba4 WHIRLPOOL 6bcea703222ad89aa475d64929029e5e96493f9f425c7ee500ebcbb410e1b45abd5047309658e49b368cd5b2c6f62fb1592aeda5cf823c35860874023f77f167
+MISC ChangeLog-2015 1404 SHA256 94f4f6dcd784f9d201a7719e6ac80c9569f937087b069880e5b13a07fc403717 SHA512 5ae07d8b4a1b7942ade5d374c4a68ee3630fc22404ae6cddc52a75e8f1a72fe2903370b0da9fab3d87a6ffa93afd931b2c5d56aa48d02f8e4c0045349ee6278a WHIRLPOOL 6ef229b666599fd11c0026e7a319bba555a2e9c16b7083f9e4a1673e973958da2c98635b56cfa5497a8d5b686e3cf4c05c609ff92296da0ef2a8c0935fe442a3
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch
new file mode 100644
index 000000000000..7f03c696c20e
--- /dev/null
+++ b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch
@@ -0,0 +1,75 @@
+--- fujiplay.c 1999-02-23 10:30:31.000000000 +0100
++++ fujiplay.c 2006-08-05 00:50:08.000000000 +0200
+@@ -759,40 +759,38 @@
+ return 1;
+ }
+
+-const char *Usage = "\
+-Usage: fujiplay [OPTIONS] PICTURES... (download)
+- charge NUMBER (recharge the flash)
+- shoot (take picture)
+- preview (preview to standard output)
+- upload FILES...
+- delete FILES...
+- setid STRING (set camera ID)
+- setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto)
+- setdate gmt|local|YYYYMMDDHHMMSS
+-Options:
+- -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0)
+- -D DEVICE Select another device file (default is /dev/fujifilm)
+- -L List command set
+- -7 DS-7 compatibility mode (experimental)
+- -d Delete pictures after successful download
+- -f Force (overwrite existing files)
+- -p Assume picture numbers instead of frame numbers
+- -h Display this help message
+- -v Version information
+-Pictures:
+- all All pictures
+- last Last picture
+- 4 Only picture 4
+- 2-10 Pictures between 2 and 10
+-Files:
+- DSCxxxxx.JPG Files to delete or to upload into the camera
+-";
+-
+-const char *Copyright = "\
+-Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $
+-Written by Thierry Bousch <bousch@topo.math.u-psud.fr>
+-Public domain. Absolutely no warranty.
+-";
++const char *Usage = "\n" \
++"Usage: fujiplay [OPTIONS] PICTURES... (download) \n" \
++" charge NUMBER (recharge the flash) \n" \
++" shoot (take picture) \n" \
++" preview (preview to standard output) \n" \
++" upload FILES... \n" \
++" delete FILES... \n" \
++" setid STRING (set camera ID) \n" \
++" setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto) \n" \
++" setdate gmt|local|YYYYMMDDHHMMSS \n" \
++"Options: \n" \
++" -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0) \n" \
++" -D DEVICE Select another device file (default is /dev/fujifilm) \n" \
++" -L List command set \n" \
++" -7 DS-7 compatibility mode (experimental) \n" \
++" -d Delete pictures after successful download \n" \
++" -f Force (overwrite existing files) \n" \
++" -p Assume picture numbers instead of frame numbers \n" \
++" -h Display this help message \n" \
++" -v Version information \n" \
++"Pictures: \n" \
++" all All pictures \n" \
++" last Last picture \n" \
++" 4 Only picture 4 \n" \
++" 2-10 Pictures between 2 and 10 \n" \
++"Files: \n" \
++" DSCxxxxx.JPG Files to delete or to upload into the camera \n";
++
++const char *Copyright = "\n" \
++"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n" \
++"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n" \
++"Public domain. Absolutely no warranty.\n";
+
+ static void sigint_handler (int sig)
+ {
diff --git a/app-misc/fujiplay/fujiplay-1.33.ebuild b/app-misc/fujiplay/fujiplay-1.33.ebuild
new file mode 100644
index 000000000000..458cb23190cb
--- /dev/null
+++ b/app-misc/fujiplay/fujiplay-1.33.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)"
+HOMEPAGE="http://topo.math.u-psud.fr/~bousch/fujiplay.html"
+SRC_URI="http://topo.math.u-psud.fr/~bousch/${PN}.tgz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-unterminated-strings.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dobin fujiplay yycc2ppm || die
+ dodoc README fujiplay.lsm mx700-commands.html
+ emake all clean
+}
+
+pkg_postinst() {
+ ln -s /dev/ttyS0 /dev/fujifilm
+ elog "A symbolic link /dev/ttyS0 -> /dev/fujifilm was created."
+ elog "You may want to create a serial group to allow non-root"
+ elog "members R/W access to the serial device."
+ echo
+}
+
+pkg_postrm() {
+ rm -f /dev/fujifilm
+ echo
+ elog "The symbolic link /dev/fujifilm was removed."
+ echo
+}
diff --git a/app-misc/fujiplay/metadata.xml b/app-misc/fujiplay/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/fujiplay/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/g15composer/Manifest b/app-misc/g15composer/Manifest
new file mode 100644
index 000000000000..f18a88546e18
--- /dev/null
+++ b/app-misc/g15composer/Manifest
@@ -0,0 +1,11 @@
+AUX g15composer-3.1.confd 695 SHA256 1f070d07b3a4956b7dfe584bdb25043d340314e8916cb2e00afa9060cf5488e6 SHA512 58c137d67f83a00a18f80ece66f3b41a402371d680a6527367df12bf574b4a1450ef130bab055d7940ce7b94534103108fa63cb0b97c585f0d69a67a14ec7bbb WHIRLPOOL 2c03f2a54605e7f8f0b4e605eacf083620df38f0293a20ab9402c5a1bf939267ddb9cfb6f37be0e2139022619cb968435fc8dfd2b6238f0d061cc767c1985c5f
+AUX g15composer-3.1.initd 1249 SHA256 a415e35c04fb759ef88e95ade8a45f37167aabd904d27da0fa24a19d48267659 SHA512 1e63a8ec482874df65a7685b0eb671be264b1228fdf53a6cf6f3efcc18b7b0a7d511572f99318013bb86b099e66827e44bcb060ba1d13b2af4699e4a9f6b02eb WHIRLPOOL 9f57b5d9a8e6f72e9411313c3ab1fd903b5a3af2f4d0952f9e6db7e9c92fcc0404649de81ee23e21dbdd9f8aa7ae0c9b59f970f5d5b2ce045df6cf17d5e460ef
+AUX g15composer-3.2.confd 695 SHA256 1f070d07b3a4956b7dfe584bdb25043d340314e8916cb2e00afa9060cf5488e6 SHA512 58c137d67f83a00a18f80ece66f3b41a402371d680a6527367df12bf574b4a1450ef130bab055d7940ce7b94534103108fa63cb0b97c585f0d69a67a14ec7bbb WHIRLPOOL 2c03f2a54605e7f8f0b4e605eacf083620df38f0293a20ab9402c5a1bf939267ddb9cfb6f37be0e2139022619cb968435fc8dfd2b6238f0d061cc767c1985c5f
+AUX g15composer-3.2.initd 1249 SHA256 a415e35c04fb759ef88e95ade8a45f37167aabd904d27da0fa24a19d48267659 SHA512 1e63a8ec482874df65a7685b0eb671be264b1228fdf53a6cf6f3efcc18b7b0a7d511572f99318013bb86b099e66827e44bcb060ba1d13b2af4699e4a9f6b02eb WHIRLPOOL 9f57b5d9a8e6f72e9411313c3ab1fd903b5a3af2f4d0952f9e6db7e9c92fcc0404649de81ee23e21dbdd9f8aa7ae0c9b59f970f5d5b2ce045df6cf17d5e460ef
+DIST g15composer-3.1.tar.bz2 104109 SHA256 d8f34c1711e95f8ca3ddd9fd5f557a51bb23b79099fbf2fddb96bdcd03067988 SHA512 e4b0ddef2dfbfd3a8a392ebe9e53a59638cbb7aee7a007b8a20be388f074d54a27ed509a5805fadc9ffd708c027ec4c331dfab96905bee1c37690a5585198ad8 WHIRLPOOL 3921267bfd884860d4228a8ec5546a536547c1a78bb287bd9dfe0d78029a4006bf87a8f47c6eeca4b9b22dcd05f565ca990d688dcdbe119706e9cec4857a5e90
+DIST g15composer-3.2.tar.bz2 105805 SHA256 0ae3fdac1dd5858bb7185ae5a50a6ff1c657a29d02b44c8a73f1c38cec17b035 SHA512 95b033e2bb957ef4a2f3d3e2954a11454af7d8576e037f723d2a7d45a7dadde4908540ff0a66b387209e689217ba0e6677dcee1e647b792c402f250371518bc1 WHIRLPOOL 4553fd85ff8627f8c31ec66799f39138c63b487c4a584e726e6a2f5f58f1ff9405afff4c5b7d1b020ac1a4fbd25b678fa5c043e2d099409238e01ba1a8a71729
+EBUILD g15composer-3.1.ebuild 953 SHA256 209b599226dc0f1abadf127fc20b5506c0327f068c3427feb91e4e5b39f5c15b SHA512 87424355d798593aa3e16d4e48dba98f2deed25185efb9f9f59a1e4c44f827f5bc20bf818ec7b0b75faa997b76bd696e1c2ee4769929a56d6590fde8ad8870c7 WHIRLPOOL 5aadd5c5f3b183e0161a37f816873664bc4ebf961eac1e391e2708734169a64d8d4213e7dbbb70727f41271219f0b1954153081a096b9619b849d3c307561207
+EBUILD g15composer-3.2.ebuild 956 SHA256 3d982d0b67e21ac10f30e7d7e5509d60862001d3a15c9dae9aa672651efd4829 SHA512 5c705bd75729e867e86de2dded127c2783abb876442be63bebbe7c22c70300a9547c94bcf644467aedd7b10b7b0d3ff07351476e32ecac1d6d045d517c6d99ab WHIRLPOOL b95589b246b82c8d5f226edb7e60797484c856a5d36faf9e1a484689c731d78620d31e5a4117afd0b01081de8d379bd75f8b204959820cb28ff56cbe230be920
+MISC ChangeLog 2533 SHA256 7ba3d6ae89da4af926b78a6aabc6070dcc9852aedbb799e9e7ba2af918b11be6 SHA512 105cc76b2087e69c78bb16367dbb3f72ccd8273185f9eae606ac59754205a07a737dc73433ec2b6b234b157b4f5ac2d94f1f475a4392feaec68222a878d2e93e WHIRLPOOL 9d30ce1e844761d8cf6d884764fa12c3dd35479d68b1c2adf8a1bdcf8785eb7288ac33e10a5eeac1126a0cbac852a9ec7d6197b7046816817ebfc4e74e3fd340
+MISC ChangeLog-2015 4010 SHA256 29e58bb1f435bd3dccfe1a398546e3ec4b073889055450258465348a387fdcaf SHA512 75a73230ab9aa161b4cc4d18abb5ecc1e1c53ddf3cb61fb852ea95037de37f878c5706d32a908f24eb25a502565d80157c3580c354680b9c9e952c9ce454c03f WHIRLPOOL 9f2cbb5c300ecd9ec85d4bdfe5119da28f2251dc56c117ad4d9ac2bde74fb477eb7f94876c7a9efdf8486e71f37aafa8f2a0f68ccca07953f5518d5e94cc7e7a
+MISC metadata.xml 408 SHA256 f15f645720f0908d277ac56f394af2d074465e160bf04bf85f2fbaa005fb8134 SHA512 e4da283d6a210afc06b392ed61be935a1a1dfa0d886c0f3e6e82bd5e78323e080e911ef7eee9ff2e6ab98ced93804ab8f48433b9f0f630d8c68a62f91a3e780d WHIRLPOOL 740c63a74eb283fd6a374f3ba2e22be805e13361414f0aa5ca3f33f1e08b4e652f178183b765f4f847973545b8363f0f115cc99b1efd4dcd04bea0e5ca269d22
diff --git a/app-misc/g15composer/files/g15composer-3.1.confd b/app-misc/g15composer/files/g15composer-3.1.confd
new file mode 100644
index 000000000000..f42ab956e242
--- /dev/null
+++ b/app-misc/g15composer/files/g15composer-3.1.confd
@@ -0,0 +1,17 @@
+# /etc/conf.d/g15composer: Configuration for the g15composer
+
+# The CONTROL_FIFO is the name of the FIFO that g15composer listens to.
+# It does not create a screen on the display, but allows programs to
+# create their own non-virtual screens.
+# Please make sure the file specified does not exist.
+CONTROL_FIFO="/var/run/g15composer"
+
+# Set the user who owns the CONTROL_FIFO.
+# As this is also the user as whom g15composer is run,
+# it has to be someone who can create further message channels
+# This should be the user who runs the LCD clients
+FIFO_USER=
+
+# Set the grop which owns the CONTROL_FIFO.
+# The users who want to display screens on the LCD need to be in this group.
+FIFO_GROUP=users
diff --git a/app-misc/g15composer/files/g15composer-3.1.initd b/app-misc/g15composer/files/g15composer-3.1.initd
new file mode 100644
index 000000000000..0d7c24f85609
--- /dev/null
+++ b/app-misc/g15composer/files/g15composer-3.1.initd
@@ -0,0 +1,48 @@
+#!/sbin/openrc-run
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/${SVCNAME}.pid
+
+depend() {
+ need g15daemon
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+
+ if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then
+ eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}"
+ eend 1
+ return 1
+ fi
+ if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then
+ eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove."
+ eend 1
+ return 1
+ fi
+ if [ ! -p "${CONTROL_FIFO}" ] ; then
+ einfo "Creating FIFO at ${CONTROL_FIFO}"
+ mkfifo -m660 "${CONTROL_FIFO}"
+ else
+ einfo "Reusing FIFO at ${CONTROL_FIFO}"
+ fi
+
+ chown ${FIFO_USER} "${CONTROL_FIFO}"
+ chgrp ${FIFO_GROUP} "${CONTROL_FIFO}"
+ start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
+ /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stoping ${SVCNAME}"
+ start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer
+ if [ -p "${CONTROL_FIFO}" ] ; then
+ einfo "Removing FIFO at ${CONTROL_FIFO}"
+ rm -f "${CONTROL_FIFO}"
+ else
+ ewarn "FIFO at ${CONTROL_FIFO} was lost"
+ fi
+ eend $?
+}
diff --git a/app-misc/g15composer/files/g15composer-3.2.confd b/app-misc/g15composer/files/g15composer-3.2.confd
new file mode 100644
index 000000000000..f42ab956e242
--- /dev/null
+++ b/app-misc/g15composer/files/g15composer-3.2.confd
@@ -0,0 +1,17 @@
+# /etc/conf.d/g15composer: Configuration for the g15composer
+
+# The CONTROL_FIFO is the name of the FIFO that g15composer listens to.
+# It does not create a screen on the display, but allows programs to
+# create their own non-virtual screens.
+# Please make sure the file specified does not exist.
+CONTROL_FIFO="/var/run/g15composer"
+
+# Set the user who owns the CONTROL_FIFO.
+# As this is also the user as whom g15composer is run,
+# it has to be someone who can create further message channels
+# This should be the user who runs the LCD clients
+FIFO_USER=
+
+# Set the grop which owns the CONTROL_FIFO.
+# The users who want to display screens on the LCD need to be in this group.
+FIFO_GROUP=users
diff --git a/app-misc/g15composer/files/g15composer-3.2.initd b/app-misc/g15composer/files/g15composer-3.2.initd
new file mode 100644
index 000000000000..0d7c24f85609
--- /dev/null
+++ b/app-misc/g15composer/files/g15composer-3.2.initd
@@ -0,0 +1,48 @@
+#!/sbin/openrc-run
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/${SVCNAME}.pid
+
+depend() {
+ need g15daemon
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+
+ if [ -z "${FIFO_USER}" -o -z "${FIFO_GROUP}" ] ; then
+ eerror "Please set the FIFO_USER and FIFO_GROUP variables in /etc/conf.d/${SVCNAME}"
+ eend 1
+ return 1
+ fi
+ if [ -e "${CONTROL_FIFO}" -a ! -p "${CONTROL_FIFO}" ] ; then
+ eerror "${CONTROL_FIFO} exists and is not a FIFO. Please remove."
+ eend 1
+ return 1
+ fi
+ if [ ! -p "${CONTROL_FIFO}" ] ; then
+ einfo "Creating FIFO at ${CONTROL_FIFO}"
+ mkfifo -m660 "${CONTROL_FIFO}"
+ else
+ einfo "Reusing FIFO at ${CONTROL_FIFO}"
+ fi
+
+ chown ${FIFO_USER} "${CONTROL_FIFO}"
+ chgrp ${FIFO_GROUP} "${CONTROL_FIFO}"
+ start-stop-daemon --start --background --pidfile ${PIDFILE} --make-pidfile --exec \
+ /usr/bin/g15composer -- -b -u "${FIFO_USER}" -g "${FIFO_GROUP}" "${CONTROL_FIFO}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stoping ${SVCNAME}"
+ start-stop-daemon --stop --pidfile ${PIDFILE} --name g15composer
+ if [ -p "${CONTROL_FIFO}" ] ; then
+ einfo "Removing FIFO at ${CONTROL_FIFO}"
+ rm -f "${CONTROL_FIFO}"
+ else
+ ewarn "FIFO at ${CONTROL_FIFO} was lost"
+ fi
+ eend $?
+}
diff --git a/app-misc/g15composer/g15composer-3.1.ebuild b/app-misc/g15composer/g15composer-3.1.ebuild
new file mode 100644
index 000000000000..d7ad0563b24a
--- /dev/null
+++ b/app-misc/g15composer/g15composer-3.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15"
+HOMEPAGE="http://g15tools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="truetype examples"
+
+DEPEND="app-misc/g15daemon
+ >=dev-libs/libg15render-1.2[truetype?]
+ truetype? ( media-libs/freetype )"
+
+src_configure() {
+ econf \
+ $(use_enable truetype ttf)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ newinitd "${FILESDIR}/${P}.initd" ${PN}
+ newconfd "${FILESDIR}/${P}.confd" ${PN}
+
+ dodoc AUTHORS README ChangeLog
+
+ if use examples ; then
+ exeinto "/usr/share/${PN}"
+ doexe examples/*
+ fi
+}
+
+pkg_postinst() {
+ elog "Set the user to run g15composer in /etc/conf.d/g15composer before starting the service."
+}
diff --git a/app-misc/g15composer/g15composer-3.2.ebuild b/app-misc/g15composer/g15composer-3.2.ebuild
new file mode 100644
index 000000000000..73aeda34f331
--- /dev/null
+++ b/app-misc/g15composer/g15composer-3.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="A library to render text and shapes into a buffer usable by the Logitech G15"
+HOMEPAGE="http://g15tools.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="truetype examples"
+
+DEPEND="app-misc/g15daemon
+ >=dev-libs/libg15render-1.2[truetype?]
+ truetype? ( media-libs/freetype )"
+
+src_configure() {
+ econf \
+ $(use_enable truetype ttf)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ newinitd "${FILESDIR}/${P}.initd" ${PN}
+ newconfd "${FILESDIR}/${P}.confd" ${PN}
+
+ dodoc AUTHORS README ChangeLog
+
+ if use examples ; then
+ exeinto "/usr/share/${PN}"
+ doexe examples/*
+ fi
+}
+
+pkg_postinst() {
+ elog "Set the user to run g15composer in /etc/conf.d/g15composer before starting the service."
+}
diff --git a/app-misc/g15composer/metadata.xml b/app-misc/g15composer/metadata.xml
new file mode 100644
index 000000000000..da7ba4ad6e9d
--- /dev/null
+++ b/app-misc/g15composer/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">g15tools</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/g15daemon/Manifest b/app-misc/g15daemon/Manifest
new file mode 100644
index 000000000000..9d6c7cd14f52
--- /dev/null
+++ b/app-misc/g15daemon/Manifest
@@ -0,0 +1,16 @@
+AUX 20g15daemon 173 SHA256 27be8c2dfa6b4b09203b783b64615947434087d405363141b62dd12bdb17bad6 SHA512 daee2c432860dd3147209724417cbf04ec1ed0c8e882900900722420cbe67d88f32efc81422e04221e54796b66d69e050135b72a96baf40137da58023202d3ca WHIRLPOOL 5ad5f7fd2b4da69d64ba90d5334d8cbe5d8e8fdcc66ff4fa862cb8636a95337a9104a97dfabbd84a4b78710def245a2789a5d18d819ac6428c5413893e429646
+AUX 99-g15daemon.rules 90 SHA256 dab916b3cb839bb55f4b6f599f83de2c4dbdd87005394f737dc59ab4df7d4e84 SHA512 f3ff958bb4e0344b600328fcab86674ce14d852287ec2e083751d0eb855a0591aa17fdae767de4517bcd8a1fa542ab9b559ee79fe284207d2872b8901f2c77f7 WHIRLPOOL 68345a96a004a0a6e1a4aa93f5f91581e210621b9e4b3c2e42de12c57dbd112de6a698ea08b2bab00392d953031fe1765c2b959e42780f5c963e4593708d52e5
+AUX g15daemon-1.2.7.confd 329 SHA256 a7977e03f0faaed85f659b077fddc3a589c2e2d4386df1e9afc89133c25bc613 SHA512 ea94ab43c78566c570a510cccb6860ade6c26a281956b6e37ea746eb06608a5a00ed55773752c7aad44bf86cdfec5788e9f1137667fd5030d54b20b97811b43a WHIRLPOOL e3a3a79d94fdbc6a325ad31f61d0e8350d74f3fe8e1f233a1cd475beae52d838d17503c716e4fba975abc8d8bd6c9b588ef6b5a7f3ef5cede7a45150e2133dc0
+AUX g15daemon-1.9.5.3-forgotten-open-mode.patch 639 SHA256 0d97a53d63052d2da325b39b6186330432fbf1a16be3e09eef4f250410f79e38 SHA512 dc603a576eaf6bd8512827de712c3ba6a116905d5f6c692dccda1b499a3bab8480a785155d3b0189b41e2dff099fc5896cb958bcc83357ff54333a82f4b6ca93 WHIRLPOOL b2e8194e4bc32426b498a4852e744c57c5c928c24f331c3629718ca4153438d190ce71f7dcfd418216a7b1527f6703141a2aee375b3a11c0122dd406861a5b5e
+AUX g15daemon-1.9.5.3-g510-keys.patch 14095 SHA256 dacdcd566502a0b6c49e30c2fe535c660f2f845d8a410a4ac1c8c25fd7bb87f3 SHA512 ac43f573175a8842ac571fe4d30fe2b2bb901d46da75fb9a7fe591b6a144df6308c5aecb65319667e01a316414cbccf44dbb492412e0d28bd9fb1cd09ce9bb75 WHIRLPOOL 4b9b7c7f9eea7c35f874bff245901e9024b8a313a1feb38094b65109ffb5b57e1b3f7365ae63eb477760981cd939c7e644dc4287fe6ee873d0e636cdacd7614c
+AUX g15daemon-1.9.5.3-overflow-fix.patch 619 SHA256 0c9c888c4f2e26cf51981714e917e963b371ed2b8d84c6e00b4c13df371afeda SHA512 e5f4494c0890ce985391d5a07d809e7168f765549c17b55457d93436ce816074aa97f991b894067badacf5e0bcc7f482d6b7e1623b0157a04d728f2ca4b1bf27 WHIRLPOOL 56a2674397e61c3c065e3ebe47b1da3617b3a91024ff213b5bbc4eb34ba85b98dc370842b331c7cb4d119355e98421b1f4b19cd700dbf120ca817f8646c99733
+AUX g15daemon-1.9.5.3.initd 955 SHA256 3fad6371f206be83cbaa9b904f494bbe7828d1da6ef5ec3ea202bc5959f2b402 SHA512 a2e21fe65f730e0a3f0062da07a9896884329e3d3b2cb89ce41b96f33851868c0c27281fc87a13eb7bb7ba934175df19dddfd78b695339b4a89512c42951fd1a WHIRLPOOL 29e7c22c305387ef9ee2b7f378410c46c4bd9fa74fb90fe70f36b1c68204a7f00da94342211bc1143d0960b05f5be0c36758e90b23cb418a123be461182b6875
+AUX g15daemon-hotplug 224 SHA256 ff7fc4857cab25ab57c9ceca9e4c1f9ca365fc140da21e8cfa9788ee9544ba38 SHA512 6384aa8267a665b0b26f45f7339856647374ad5b1860f299b2e19afb0209b8637919f00b3638affbe4fb86adaf115eb93e814b70c17d52f1c878d840e1e464e8 WHIRLPOOL 80c477f97bebb55815746d6361da04139661da111e63497ee7d2c057074a76a67fff479d7beb47bc7acb77667348eb436372afd5bef16d1efb06114ce32d6d5b
+AUX g15daemon.conf 516 SHA256 94a79cea3ac0fa566cd6515e32eec22bb6a26e353c83608767dc65d1a2404037 SHA512 e575fd8a91c87f226481ae406a1b66de6d8eb66f061b0ce7f2b89ce63f7bda88470eac50adcc9de97ef866970ee835af8a1bb0402a2e4b4d214251d0b8ebe25c WHIRLPOOL 2b94c324074a8936343bc22bd9d58e2b58a4b9220000b6544d901ff718b2e055bd363e0202fd72fb212520cb8be7e325af3be3ac7423922c0f481339c8813d92
+DIST g15daemon-1.9.5.3.tar.gz 414603 SHA256 40ff07a4186c1fd01ea23d1753a2cb3bef25f92cc496ddddc6abde6a574cd60a SHA512 7a1770d08d1d4155866bba3b676d33bf943363f4519af41a13ab6ec73cc5d6c536b173977b3e3583b594b149b7f01ffbc51123a4678c2a249a51ff0b42c8b69a WHIRLPOOL 216e8d7ef3a79064e161e7b579271946215cbd49566672dccf9c69e0d478b1bf19b8b19334eb180c129bef03e900bd7fb532ba524a5cfd384f6abd9162ae3eb1
+EBUILD g15daemon-1.9.5.3-r13.ebuild 3834 SHA256 4f3ef9be8cc4f1767cb8fc691a03148bb0f98c08528babf9642b7b2bbe27c066 SHA512 9a97a513aa527990654adc6c962c984971d49252d33602ea57f0a4a9752490994f47e1cc2be83751bfde6fe13aee4f80fbd23ea67e73ef1aac45698863347b77 WHIRLPOOL 369bd3270c707e625ca6ab8de7c7a94e6ecda68e7729b1c5ed3103ecca32a6f6be3efbf746df97d17a936ce81b909596d8c346825b475f2421e9fc237d2e5d9f
+EBUILD g15daemon-1.9.5.3-r21.ebuild 3851 SHA256 fdccea040cf709c095f7e7b1d8152eafa6b594bf5cf6c539845dd1fc720414d2 SHA512 8223ca5034c6306cdeb9b592342035f1409f0287f85ada6360af2054d01e43f328816da72c435d2bb282816ac50931fe7e906ec95df329f8d164188fc7d1c9a5 WHIRLPOOL 98d463dfceba0336706cf2c2ac31380324b30cf37abde5b755f1008eb1bf41507fe83c0cfc8e445be284541765d5edec5fafb9f8e8be491eec40c5ff63c9d43d
+EBUILD g15daemon-9999.ebuild 4191 SHA256 3a8682f1fc64033d12135c0566b0b5f0033fa10e0e08d1279be71cac6d52dc2c SHA512 7b7518b1276a447be1c0a68141efb8f750e7402fb7dd0950bdf69d7dccd5a9022d10fb449a7b3de5047cd62350299de15c0e50bda585a1da2224f3d1860cc460 WHIRLPOOL d3dada86312e81db912b303736734fedb79529df32a70b878a1d59e1d9c22f5997ae526c46e1a4a5a746b813fb587b21dac81a04a19251ccf4ba1fb6f915ecd0
+MISC ChangeLog 3613 SHA256 8902167abbf85d80ae891a713d782eb174f35a34a564c1878c53edf4826a7038 SHA512 32c81f23bb0c54ad67c8de58944a16c4eed11e861ea8b5c9b4cd55c76448a543a88da844ec5c3f1d3f2d781a1e791d84e9fbc92bc68ab9e95ffceb8b3db7d758 WHIRLPOOL e215625b289ad45527e32b43bd7106274acb5e1e08697a31491cb4293daf1da794efd36816812e0195704d4da8846fbf35363f2b5c0d68b25bde3aa75b13eea1
+MISC ChangeLog-2015 10995 SHA256 df2fa949350acf8bfb19fe50baab37a99b2fc426a0e3ca2fba4777459a6aa6a0 SHA512 31858d810c653c16052f03d6ad7371ae1e1be287c7286f75b7e3bd35fcfe4e0ff19d77b9e837b823a204b6f14987c13cbd7701f6b7bed86b1359d5ed12c3f891 WHIRLPOOL 4553193d88a3d41729d31dddfc9a9b819d5cf7b179f2c90f0e69c40d8b9b75792150899edfb1cc41f33ff11624bdb388b786fe79d391a40023315b9dc1867584
+MISC metadata.xml 409 SHA256 514a297b9e32650b16ad8c11ba2093833cc78a4b44b303e6fe5bc6a14841b5a6 SHA512 f37883d9542d61a9abcc2596e88d80aa41aac439b1366239c7fa234c00776ce837cf19c8b2d153333c22e050380d7add26b7531423ef02e655157d39a72b121e WHIRLPOOL a8898028adeabb634eee02191065d3bd04260be8489f82a031dc407cfa48d6e060ce77b2f8620e310e2b990fd4b2ffc44bd3d42bf5aeb1e6d26e65b4723786bf
diff --git a/app-misc/g15daemon/files/20g15daemon b/app-misc/g15daemon/files/20g15daemon
new file mode 100644
index 000000000000..ee1422537f25
--- /dev/null
+++ b/app-misc/g15daemon/files/20g15daemon
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. "${PM_FUNCTIONS}"
+
+case "$1" in
+ hibernate|suspend)
+ /etc/init.d/g15daemon stop
+ ;;
+ thaw|resume)
+ /etc/init.d/g15daemon start
+ ;;
+ *)
+ exit $NA
+ ;;
+esac
diff --git a/app-misc/g15daemon/files/99-g15daemon.rules b/app-misc/g15daemon/files/99-g15daemon.rules
new file mode 100644
index 000000000000..d491d683684f
--- /dev/null
+++ b/app-misc/g15daemon/files/99-g15daemon.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="usb", ATTR{product}=="G15 Gaming Keyboard", RUN+="/usr/bin/g15daemon-hotplug"
diff --git a/app-misc/g15daemon/files/g15daemon-1.2.7.confd b/app-misc/g15daemon/files/g15daemon-1.2.7.confd
new file mode 100644
index 000000000000..08ea97f49763
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-1.2.7.confd
@@ -0,0 +1,9 @@
+# /etc/conf.d/g15daemon: Configuration for the g15daemon
+
+# Key to switch the client-screens. Default is the MR key,
+# Set to "yes" to use L1 key instead (black round key below the LCD, above the multimedia keys).
+CLIENT_SWITCH_L1="no"
+
+# Set to "yes" to switch off the lcd backlight when stopping g15daemon.
+BACKLIGHT_OFF="no"
+
diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch
new file mode 100644
index 000000000000..b475f1d58d69
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-forgotten-open-mode.patch
@@ -0,0 +1,11 @@
+--- ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2008-01-26 06:02:07.000000000 +0100
++++ ./g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2009-02-01 17:00:55.203009264 +0100
+@@ -356,7 +356,7 @@
+ config_items_t * item=NULL;
+ char line[1024];
+
+- config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC);
++ config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC,0664);
+ if(config_fd){
+ snprintf(line,1024,"# G15Daemon Configuration File\n# any items entered before a [section] header\n# will be in the Global config space\n# comments you wish to keep should start with a semicolon';'\n");
+ write(config_fd,line,strlen(line));
diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch
new file mode 100644
index 000000000000..e00836766795
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-g510-keys.patch
@@ -0,0 +1,340 @@
+From https://sourceforge.net/tracker/?func=detail&aid=3152167&group_id=167869&atid=844658
+
+diff -aNru trunk/g15daemon-wip/plugins/g15_plugin_uinput.c mod/g15daemon-wip/plugins/g15_plugin_uinput.c
+--- trunk/g15daemon-wip/plugins/g15_plugin_uinput.c 2011-06-26 06:50:50.000000000 +0000
++++ mod/g15daemon-wip/plugins/g15_plugin_uinput.c 2011-06-26 06:51:42.000000000 +0000
+@@ -164,146 +164,195 @@
+
+ static void g15_process_keys(g15daemon_t *masterlist, unsigned int currentkeys, unsigned int lastkeys)
+ {
+- /* 'G' keys */
+- if((currentkeys & G15_KEY_G1) && !(lastkeys & G15_KEY_G1))
+- keydown(GKEY_OFFSET);
+- else if(!(currentkeys & G15_KEY_G1) && (lastkeys & G15_KEY_G1))
+- keyup(GKEY_OFFSET);
+-
+- if((currentkeys & G15_KEY_G2) && !(lastkeys & G15_KEY_G2))
+- keydown(GKEY_OFFSET+1);
+- else if(!(currentkeys & G15_KEY_G2) && (lastkeys & G15_KEY_G2))
+- keyup(GKEY_OFFSET+1);
+-
+- if((currentkeys & G15_KEY_G3) && !(lastkeys & G15_KEY_G3))
+- keydown(GKEY_OFFSET+2);
+- else if(!(currentkeys & G15_KEY_G3) && (lastkeys & G15_KEY_G3))
+- keyup(GKEY_OFFSET+2);
+-
+- if((currentkeys & G15_KEY_G4) && !(lastkeys & G15_KEY_G4))
+- keydown(GKEY_OFFSET+3);
+- else if(!(currentkeys & G15_KEY_G4) && (lastkeys & G15_KEY_G4))
+- keyup(GKEY_OFFSET+3);
+-
+- if((currentkeys & G15_KEY_G5) && !(lastkeys & G15_KEY_G5))
+- keydown(GKEY_OFFSET+4);
+- else if(!(currentkeys & G15_KEY_G5) && (lastkeys & G15_KEY_G5))
+- keyup(GKEY_OFFSET+4);
+-
+- if((currentkeys & G15_KEY_G6) && !(lastkeys & G15_KEY_G6))
+- keydown(GKEY_OFFSET+5);
+- else if(!(currentkeys & G15_KEY_G6) && (lastkeys & G15_KEY_G6))
+- keyup(GKEY_OFFSET+5);
+-
+- if((currentkeys & G15_KEY_G7) && !(lastkeys & G15_KEY_G7))
+- keydown(GKEY_OFFSET+6);
+- else if(!(currentkeys & G15_KEY_G7) && (lastkeys & G15_KEY_G7))
+- keyup(GKEY_OFFSET+6);
+-
+- if((currentkeys & G15_KEY_G8) && !(lastkeys & G15_KEY_G8))
+- keydown(GKEY_OFFSET+7);
+- else if(!(currentkeys & G15_KEY_G8) && (lastkeys & G15_KEY_G8))
+- keyup(GKEY_OFFSET+7);
+-
+- if((currentkeys & G15_KEY_G9) && !(lastkeys & G15_KEY_G9))
+- keydown(GKEY_OFFSET+8);
+- else if(!(currentkeys & G15_KEY_G9) && (lastkeys & G15_KEY_G9))
+- keyup(GKEY_OFFSET+8);
+-
+- if((currentkeys & G15_KEY_G10) && !(lastkeys & G15_KEY_G10))
+- keydown(GKEY_OFFSET+9);
+- else if(!(currentkeys & G15_KEY_G10) && (lastkeys & G15_KEY_G10))
+- keyup(GKEY_OFFSET+9);
+-
+- if((currentkeys & G15_KEY_G11) && !(lastkeys & G15_KEY_G11))
+- keydown(GKEY_OFFSET+10);
+- else if(!(currentkeys & G15_KEY_G11) && (lastkeys & G15_KEY_G11))
+- keyup(GKEY_OFFSET+10);
+-
+- if((currentkeys & G15_KEY_G12) && !(lastkeys & G15_KEY_G12))
+- keydown(GKEY_OFFSET+11);
+- else if(!(currentkeys & G15_KEY_G12) && (lastkeys & G15_KEY_G12))
+- keyup(GKEY_OFFSET+11);
+-
+- if((currentkeys & G15_KEY_G13) && !(lastkeys & G15_KEY_G13))
+- keydown(GKEY_OFFSET+12);
+- else if(!(currentkeys & G15_KEY_G13) && (lastkeys & G15_KEY_G13))
+- keyup(GKEY_OFFSET+12);
+-
+- if((currentkeys & G15_KEY_G14) && !(lastkeys & G15_KEY_G14))
+- keydown(GKEY_OFFSET+13);
+- else if(!(currentkeys & G15_KEY_G14) && (lastkeys & G15_KEY_G14))
+- keyup(GKEY_OFFSET+13);
+-
+- if((currentkeys & G15_KEY_G15) && !(lastkeys & G15_KEY_G15))
+- keydown(GKEY_OFFSET+14);
+- else if(!(currentkeys & G15_KEY_G15) && (lastkeys & G15_KEY_G15))
+- keyup(GKEY_OFFSET+14);
+-
+- if((currentkeys & G15_KEY_G16) && !(lastkeys & G15_KEY_G16))
+- keydown(GKEY_OFFSET+15);
+- else if(!(currentkeys & G15_KEY_G16) && (lastkeys & G15_KEY_G16))
+- keyup(GKEY_OFFSET+15);
+-
+- if((currentkeys & G15_KEY_G17) && !(lastkeys & G15_KEY_G17))
+- keydown(GKEY_OFFSET+16);
+- else if(!(currentkeys & G15_KEY_G17) && (lastkeys & G15_KEY_G17))
+- keyup(GKEY_OFFSET+16);
+-
+- if((currentkeys & G15_KEY_G18) && !(lastkeys & G15_KEY_G18))
+- keydown(GKEY_OFFSET+17);
+- else if(!(currentkeys & G15_KEY_G18) && (lastkeys & G15_KEY_G18))
+- keyup(GKEY_OFFSET+17);
+-
+- /* 'M' keys */
+-
+- if((currentkeys & G15_KEY_M1) && !(lastkeys & G15_KEY_M1))
+- keydown(MKEY_OFFSET);
+- else if(!(currentkeys & G15_KEY_M1) && (lastkeys & G15_KEY_M1))
+- keyup(MKEY_OFFSET);
+-
+- if((currentkeys & G15_KEY_M2) && !(lastkeys & G15_KEY_M2))
+- keydown(MKEY_OFFSET+1);
+- else if(!(currentkeys & G15_KEY_M2) && (lastkeys & G15_KEY_M2))
+- keyup(MKEY_OFFSET+1);
+-
+- if((currentkeys & G15_KEY_M3) && !(lastkeys & G15_KEY_M3))
+- keydown(MKEY_OFFSET+2);
+- else if(!(currentkeys & G15_KEY_M3) && (lastkeys & G15_KEY_M3))
+- keyup(MKEY_OFFSET+2);
+-
+- if((currentkeys & G15_KEY_MR) && !(lastkeys & G15_KEY_MR))
+- keydown(MKEY_OFFSET+3);
+- else if(!(currentkeys & G15_KEY_MR) && (lastkeys & G15_KEY_MR))
+- keyup(MKEY_OFFSET+3);
+-
+- if(map_Lkeys){
+- /* 'L' keys... */
+- if((currentkeys & G15_KEY_L1) && !(lastkeys & G15_KEY_L1))
+- keydown(LKEY_OFFSET);
+- else if(!(currentkeys & G15_KEY_L1) && (lastkeys & G15_KEY_L1))
+- keyup(LKEY_OFFSET);
+-
+- if((currentkeys & G15_KEY_L2) && !(lastkeys & G15_KEY_L2))
+- keydown(LKEY_OFFSET+1);
+- else if(!(currentkeys & G15_KEY_L2) && (lastkeys & G15_KEY_L2))
+- keyup(LKEY_OFFSET+1);
+-
+- if((currentkeys & G15_KEY_L3) && !(lastkeys & G15_KEY_L3))
+- keydown(LKEY_OFFSET+2);
+- else if(!(currentkeys & G15_KEY_L3) && (lastkeys & G15_KEY_L3))
+- keyup(LKEY_OFFSET+2);
+-
+- if((currentkeys & G15_KEY_L4) && !(lastkeys & G15_KEY_L4))
+- keydown(LKEY_OFFSET+3);
+- else if(!(currentkeys & G15_KEY_L4) && (lastkeys & G15_KEY_L4))
+- keyup(LKEY_OFFSET+3);
+-
+- if((currentkeys & G15_KEY_L5) && !(lastkeys & G15_KEY_L5))
+- keydown(LKEY_OFFSET+4);
+- else if(!(currentkeys & G15_KEY_L5) && (lastkeys & G15_KEY_L5))
+- keyup(LKEY_OFFSET+4);
++ if(!(currentkeys & G15_KEY_LIGHT))
++ {
++ /* 'G' keys */
++ if((currentkeys & G15_KEY_G1) && !(lastkeys & G15_KEY_G1))
++ keydown(GKEY_OFFSET);
++ else if(!(currentkeys & G15_KEY_G1) && (lastkeys & G15_KEY_G1))
++ keyup(GKEY_OFFSET);
++
++ if((currentkeys & G15_KEY_G2) && !(lastkeys & G15_KEY_G2))
++ keydown(GKEY_OFFSET+1);
++ else if(!(currentkeys & G15_KEY_G2) && (lastkeys & G15_KEY_G2))
++ keyup(GKEY_OFFSET+1);
++
++ if((currentkeys & G15_KEY_G3) && !(lastkeys & G15_KEY_G3))
++ keydown(GKEY_OFFSET+2);
++ else if(!(currentkeys & G15_KEY_G3) && (lastkeys & G15_KEY_G3))
++ keyup(GKEY_OFFSET+2);
++
++ if((currentkeys & G15_KEY_G4) && !(lastkeys & G15_KEY_G4))
++ keydown(GKEY_OFFSET+3);
++ else if(!(currentkeys & G15_KEY_G4) && (lastkeys & G15_KEY_G4))
++ keyup(GKEY_OFFSET+3);
++
++ if((currentkeys & G15_KEY_G5) && !(lastkeys & G15_KEY_G5))
++ keydown(GKEY_OFFSET+4);
++ else if(!(currentkeys & G15_KEY_G5) && (lastkeys & G15_KEY_G5))
++ keyup(GKEY_OFFSET+4);
++
++ if((currentkeys & G15_KEY_G6) && !(lastkeys & G15_KEY_G6))
++ keydown(GKEY_OFFSET+5);
++ else if(!(currentkeys & G15_KEY_G6) && (lastkeys & G15_KEY_G6))
++ keyup(GKEY_OFFSET+5);
++
++ if((currentkeys & G15_KEY_G7) && !(lastkeys & G15_KEY_G7))
++ keydown(GKEY_OFFSET+6);
++ else if(!(currentkeys & G15_KEY_G7) && (lastkeys & G15_KEY_G7))
++ keyup(GKEY_OFFSET+6);
++
++ if((currentkeys & G15_KEY_G8) && !(lastkeys & G15_KEY_G8))
++ keydown(GKEY_OFFSET+7);
++ else if(!(currentkeys & G15_KEY_G8) && (lastkeys & G15_KEY_G8))
++ keyup(GKEY_OFFSET+7);
++
++ if((currentkeys & G15_KEY_G9) && !(lastkeys & G15_KEY_G9))
++ keydown(GKEY_OFFSET+8);
++ else if(!(currentkeys & G15_KEY_G9) && (lastkeys & G15_KEY_G9))
++ keyup(GKEY_OFFSET+8);
++
++ if((currentkeys & G15_KEY_G10) && !(lastkeys & G15_KEY_G10))
++ keydown(GKEY_OFFSET+9);
++ else if(!(currentkeys & G15_KEY_G10) && (lastkeys & G15_KEY_G10))
++ keyup(GKEY_OFFSET+9);
++
++ if((currentkeys & G15_KEY_G11) && !(lastkeys & G15_KEY_G11))
++ keydown(GKEY_OFFSET+10);
++ else if(!(currentkeys & G15_KEY_G11) && (lastkeys & G15_KEY_G11))
++ keyup(GKEY_OFFSET+10);
++
++ if((currentkeys & G15_KEY_G12) && !(lastkeys & G15_KEY_G12))
++ keydown(GKEY_OFFSET+11);
++ else if(!(currentkeys & G15_KEY_G12) && (lastkeys & G15_KEY_G12))
++ keyup(GKEY_OFFSET+11);
++
++ if((currentkeys & G15_KEY_G13) && !(lastkeys & G15_KEY_G13))
++ keydown(GKEY_OFFSET+12);
++ else if(!(currentkeys & G15_KEY_G13) && (lastkeys & G15_KEY_G13))
++ keyup(GKEY_OFFSET+12);
++
++ if((currentkeys & G15_KEY_G14) && !(lastkeys & G15_KEY_G14))
++ keydown(GKEY_OFFSET+13);
++ else if(!(currentkeys & G15_KEY_G14) && (lastkeys & G15_KEY_G14))
++ keyup(GKEY_OFFSET+13);
++
++ if((currentkeys & G15_KEY_G15) && !(lastkeys & G15_KEY_G15))
++ keydown(GKEY_OFFSET+14);
++ else if(!(currentkeys & G15_KEY_G15) && (lastkeys & G15_KEY_G15))
++ keyup(GKEY_OFFSET+14);
++
++ if((currentkeys & G15_KEY_G16) && !(lastkeys & G15_KEY_G16))
++ keydown(GKEY_OFFSET+15);
++ else if(!(currentkeys & G15_KEY_G16) && (lastkeys & G15_KEY_G16))
++ keyup(GKEY_OFFSET+15);
++
++ if((currentkeys & G15_KEY_G17) && !(lastkeys & G15_KEY_G17))
++ keydown(GKEY_OFFSET+16);
++ else if(!(currentkeys & G15_KEY_G17) && (lastkeys & G15_KEY_G17))
++ keyup(GKEY_OFFSET+16);
++
++ if((currentkeys & G15_KEY_G18) && !(lastkeys & G15_KEY_G18))
++ keydown(GKEY_OFFSET+17);
++ else if(!(currentkeys & G15_KEY_G18) && (lastkeys & G15_KEY_G18))
++ keyup(GKEY_OFFSET+17);
++
++ /* 'M' keys */
++
++ if((currentkeys & G15_KEY_M1) && !(lastkeys & G15_KEY_M1))
++ keydown(MKEY_OFFSET);
++ else if(!(currentkeys & G15_KEY_M1) && (lastkeys & G15_KEY_M1))
++ keyup(MKEY_OFFSET);
++
++ if((currentkeys & G15_KEY_M2) && !(lastkeys & G15_KEY_M2))
++ keydown(MKEY_OFFSET+1);
++ else if(!(currentkeys & G15_KEY_M2) && (lastkeys & G15_KEY_M2))
++ keyup(MKEY_OFFSET+1);
++
++ if((currentkeys & G15_KEY_M3) && !(lastkeys & G15_KEY_M3))
++ keydown(MKEY_OFFSET+2);
++ else if(!(currentkeys & G15_KEY_M3) && (lastkeys & G15_KEY_M3))
++ keyup(MKEY_OFFSET+2);
++
++ if((currentkeys & G15_KEY_MR) && !(lastkeys & G15_KEY_MR))
++ keydown(MKEY_OFFSET+3);
++ else if(!(currentkeys & G15_KEY_MR) && (lastkeys & G15_KEY_MR))
++ keyup(MKEY_OFFSET+3);
++
++ if(map_Lkeys){
++ /* 'L' keys... */
++ if((currentkeys & G15_KEY_L1) && !(lastkeys & G15_KEY_L1))
++ keydown(LKEY_OFFSET);
++ else if(!(currentkeys & G15_KEY_L1) && (lastkeys & G15_KEY_L1))
++ keyup(LKEY_OFFSET);
++
++ if((currentkeys & G15_KEY_L2) && !(lastkeys & G15_KEY_L2))
++ keydown(LKEY_OFFSET+1);
++ else if(!(currentkeys & G15_KEY_L2) && (lastkeys & G15_KEY_L2))
++ keyup(LKEY_OFFSET+1);
++
++ if((currentkeys & G15_KEY_L3) && !(lastkeys & G15_KEY_L3))
++ keydown(LKEY_OFFSET+2);
++ else if(!(currentkeys & G15_KEY_L3) && (lastkeys & G15_KEY_L3))
++ keyup(LKEY_OFFSET+2);
++
++ if((currentkeys & G15_KEY_L4) && !(lastkeys & G15_KEY_L4))
++ keydown(LKEY_OFFSET+3);
++ else if(!(currentkeys & G15_KEY_L4) && (lastkeys & G15_KEY_L4))
++ keyup(LKEY_OFFSET+3);
++
++ if((currentkeys & G15_KEY_L5) && !(lastkeys & G15_KEY_L5))
++ keydown(LKEY_OFFSET+4);
++ else if(!(currentkeys & G15_KEY_L5) && (lastkeys & G15_KEY_L5))
++ keyup(LKEY_OFFSET+4);
++ }
+ }
++ else
++ {
++ // G15_KEY_LIGHT - Key modifier for Logitech G510 Media Keys implementation
++
++ // XF86AudioPlay
++ if((currentkeys & G15_KEY_G1) && !(lastkeys & G15_KEY_G1))
++ keydown(KEY_PLAYPAUSE);
++ else if(!(currentkeys & G15_KEY_G1) && (lastkeys & G15_KEY_G1))
++ keyup(KEY_PLAYPAUSE);
++
++ // XF86AudioStop
++ if((currentkeys & G15_KEY_G2) && !(lastkeys & G15_KEY_G2))
++ keydown(KEY_STOPCD);
++ else if(!(currentkeys & G15_KEY_G2) && (lastkeys & G15_KEY_G2))
++ keyup(KEY_STOPCD);
++
++ // XF86AudioPrev
++ if((currentkeys & G15_KEY_G3) && !(lastkeys & G15_KEY_G3))
++ keydown(KEY_PREVIOUSSONG);
++ else if(!(currentkeys & G15_KEY_G3) && (lastkeys & G15_KEY_G3))
++ keyup(KEY_PREVIOUSSONG);
++
++ // XF86AudioNext
++ if((currentkeys & G15_KEY_G4) && !(lastkeys & G15_KEY_G4))
++ keydown(KEY_NEXTSONG);
++ else if(!(currentkeys & G15_KEY_G4) && (lastkeys & G15_KEY_G4))
++ keyup(KEY_NEXTSONG);
++
++ // XF86AudioMute
++ if((currentkeys & G15_KEY_G5) && !(lastkeys & G15_KEY_G5))
++ keydown(KEY_MUTE);
++ else if(!(currentkeys & G15_KEY_G5) && (lastkeys & G15_KEY_G5))
++ keyup(KEY_MUTE);
++
++ // XF86AudioRaiseVolume
++ if((currentkeys & G15_KEY_G6) && !(lastkeys & G15_KEY_G6))
++ keydown(KEY_VOLUMEUP);
++ else if(!(currentkeys & G15_KEY_G6) && (lastkeys & G15_KEY_G6))
++ keyup(KEY_VOLUMEUP);
++
++ // XF86AudioLowerVolume
++ if((currentkeys & G15_KEY_G7) && !(lastkeys & G15_KEY_G7))
++ keydown(KEY_VOLUMEDOWN);
++ else if(!(currentkeys & G15_KEY_G7) && (lastkeys & G15_KEY_G7))
++ keyup(KEY_VOLUMEDOWN);
++ }
+ }
+
+
diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch b/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch
new file mode 100644
index 000000000000..71cbf914d839
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3-overflow-fix.patch
@@ -0,0 +1,11 @@
+--- ./g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c 2008-01-25 05:45:05.000000000 +0100
++++ ./g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c 2011-02-14 22:51:55.203009264 +0100
+@@ -217,7 +217,7 @@
+ if(poll(pfd,1,100)>0){
+ if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) {
+ memset(packet,0,sizeof(packet));
+- msgret = recv(sock, packet, 10 , MSG_OOB);
++ msgret = recv(sock, packet, sizeof(packet), MSG_OOB);
+ if (msgret < 1) {
+ return -1;
+ }
diff --git a/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd b/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd
new file mode 100644
index 000000000000..aa4d82c9d6b6
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-1.9.5.3.initd
@@ -0,0 +1,45 @@
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Init script for g15daemon
+
+pidfile="/var/run/g15daemon.pid"
+command="/usr/sbin/g15daemon"
+start_stop_daemon_args="--wait 30"
+command_args=""
+
+depend() {
+ after hotplug
+ after usb
+ after modules
+}
+
+start_pre() {
+ # Does the input device already exist?
+ if [ -e "/proc/modules" ] ; then
+ if [ ! -e "/dev/input/uinput" ] && [ ! -e "/dev/uinput" ] ; then
+ # We can load modules, but uinput device does not exist
+ einfo "Loading uinput module"
+ /sbin/modprobe uinput > /dev/null 2> /dev/null \
+ || return 1
+ fi
+ fi
+
+ if [ "${CLIENT_SWITCH_L1}" = "yes" ] ; then
+ command_args="--switch"
+ fi
+}
+
+stop() {
+ ebegin "Stopping g15daemon"
+ local KILLOPT="-k"
+ if [ $BACKLIGHT_OFF = "yes" ]; then
+ KILLOPT="-K"
+ fi
+ while [ -f "${pidfile}" ] && kill -0 $(cat ${pidfile}) ; do
+ ${command} ${KILLOPT}
+ sleep 1
+ done
+ eend $?
+}
diff --git a/app-misc/g15daemon/files/g15daemon-hotplug b/app-misc/g15daemon/files/g15daemon-hotplug
new file mode 100644
index 000000000000..2ae8be0bde01
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon-hotplug
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+export IN_HOTPLUG=1
+
+case "$ACTION" in
+ "add")
+ /etc/init.d/g15daemon --quiet restart
+ ;;
+ "remove")
+ /etc/init.d/g15daemon --quiet stop
+ ;;
+ *)
+ exit 0
+ ;;
+esac
diff --git a/app-misc/g15daemon/files/g15daemon.conf b/app-misc/g15daemon/files/g15daemon.conf
new file mode 100644
index 000000000000..2d2bfc3cabde
--- /dev/null
+++ b/app-misc/g15daemon/files/g15daemon.conf
@@ -0,0 +1,27 @@
+# G15Daemon Configuration File
+# any items entered before a [section] header
+# will be in the Global config space
+# comments you wish to keep should start with a semicolon';'
+
+[Global]
+Use MR as Cycle Key: Off
+
+[PLUGIN_LOAD_ORDER]
+0: g15plugin_uinput.so
+1: g15plugin_clock.so
+2: g15plugin_tcpserver.so
+TotalPlugins: 3
+
+[PLUGINS]
+Linux UINPUT Keyboard Output: Load
+Clock: Load
+LCDServer: Load
+
+[Keyboard OS Mapping (uinput)]
+device: /dev/input/uinput
+Lkeys.mapped: 0
+
+[Clock]
+24hrFormat: On
+ShowDate: Off
+Digital: On
diff --git a/app-misc/g15daemon/g15daemon-1.9.5.3-r13.ebuild b/app-misc/g15daemon/g15daemon-1.9.5.3-r13.ebuild
new file mode 100644
index 000000000000..d5f349cd4d0a
--- /dev/null
+++ b/app-misc/g15daemon/g15daemon-1.9.5.3-r13.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+GENTOO_DEPEND_ON_PERL="no"
+
+inherit eutils linux-info perl-module python-r1 base
+
+DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="perl python static-libs"
+
+DEPEND="virtual/libusb:0
+ >=dev-libs/libg15-1.2.4
+ >=dev-libs/libg15render-1.2
+ perl? (
+ dev-lang/perl
+ dev-perl/GDGraph
+ >=dev-perl/Inline-0.4
+ )
+ python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-forgotten-open-mode.patch"
+ "${FILESDIR}/${P}-overflow-fix.patch"
+)
+uinput_check() {
+ ebegin "Checking for uinput support"
+ local rc=1
+ linux_config_exists && linux_chkconfig_present INPUT_UINPUT
+ rc=$?
+
+ if [[ $rc -ne 0 ]] ; then
+ eerror "To use g15daemon, you need to compile your kernel with uinput support."
+ eerror "Please enable uinput support in your kernel config, found at:"
+ eerror
+ eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
+ eerror
+ eerror "Once enabled, you should have the /dev/input/uinput device."
+ eerror "g15daemon will not work without the uinput device."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ uinput_check
+}
+
+src_unpack() {
+ unpack ${A}
+ if use perl; then
+ unpack "./${P}/lang-bindings/perl-G15Daemon-0.2.tar.gz"
+ fi
+ if use python; then
+ unpack "./${P}/lang-bindings/pyg15daemon-0.0.tar.bz2"
+ fi
+}
+
+src_prepare() {
+ if use perl; then
+ perl-module_src_prepare
+ sed -i \
+ -e '1i#!/usr/bin/perl' \
+ "${S}"/contrib/testbindings.pl
+ else
+ # perl-module_src_prepare always calls base_src_prepare
+ base_src_prepare
+ fi
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(use_enable static-libs static)
+
+ if use perl; then
+ cd "${WORKDIR}/G15Daemon-0.2"
+ perl-module_src_configure
+ fi
+}
+
+src_compile() {
+ default
+
+ if use perl; then
+ cd "${WORKDIR}/G15Daemon-0.2"
+ perl-module_src_compile
+ fi
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ # remove odd docs installed my make
+ rm "${ED}/usr/share/doc/${PF}/"{LICENSE,README.usage}
+
+ insinto /usr/share/${PN}/contrib
+ doins contrib/xmodmaprc
+ doins contrib/xmodmap.sh
+ if use perl; then
+ doins contrib/testbindings.pl
+ fi
+
+ newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
+ newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
+ dobin "${FILESDIR}/g15daemon-hotplug"
+ insinto /lib/udev/rules.d
+ doins "${FILESDIR}/99-g15daemon.rules"
+
+ insinto /etc
+ doins "${FILESDIR}"/g15daemon.conf
+
+ # Gentoo bug #301340, debian bug #611649
+ exeinto /usr/lib/pm-utils/sleep.d
+ doexe "${FILESDIR}"/20g15daemon
+
+ if use perl; then
+ ebegin "Installing Perl Bindings (G15Daemon.pm)"
+ cd "${WORKDIR}/G15Daemon-0.2"
+ docinto perl
+ perl-module_src_install
+ fi
+
+ if use python; then
+ ebegin "Installing Python Bindings (g15daemon.py)"
+ cd "${WORKDIR}/pyg15daemon"
+
+ python_foreach_impl python_domodule g15daemon.py
+
+ docinto python
+ dodoc AUTHORS
+ fi
+}
+
+pkg_postinst() {
+ elog "To use g15daemon, you need to add g15daemon to the default runlevel."
+ elog "This can be done with:"
+ elog "# /sbin/rc-update add g15daemon default"
+ elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
+ elog ""
+ elog "To have all new keys working in X11, you'll need create a "
+ elog "specific xmodmap in your home directory or edit the existent one."
+ elog ""
+ elog "Create the xmodmap:"
+ elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
+ elog ""
+ elog "Adding keycodes to an existing xmodmap:"
+ elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
+}
diff --git a/app-misc/g15daemon/g15daemon-1.9.5.3-r21.ebuild b/app-misc/g15daemon/g15daemon-1.9.5.3-r21.ebuild
new file mode 100644
index 000000000000..c6635310b014
--- /dev/null
+++ b/app-misc/g15daemon/g15daemon-1.9.5.3-r21.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+GENTOO_DEPEND_ON_PERL="no"
+
+inherit eutils linux-info perl-module python-r1 base
+
+DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="perl python static-libs"
+
+DEPEND="virtual/libusb:0
+ >=dev-libs/libg15-9999
+ >=dev-libs/libg15render-1.2
+ perl? (
+ dev-lang/perl
+ dev-perl/GDGraph
+ >=dev-perl/Inline-0.4
+ )
+ python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-forgotten-open-mode.patch"
+ "${FILESDIR}/${P}-overflow-fix.patch"
+ "${FILESDIR}/${P}-g510-keys.patch"
+)
+
+uinput_check() {
+ ebegin "Checking for uinput support"
+ local rc=1
+ linux_config_exists && linux_chkconfig_present INPUT_UINPUT
+ rc=$?
+
+ if [[ $rc -ne 0 ]] ; then
+ eerror "To use g15daemon, you need to compile your kernel with uinput support."
+ eerror "Please enable uinput support in your kernel config, found at:"
+ eerror
+ eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
+ eerror
+ eerror "Once enabled, you should have the /dev/input/uinput device."
+ eerror "g15daemon will not work without the uinput device."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ uinput_check
+}
+
+src_unpack() {
+ unpack ${A}
+ if use perl; then
+ unpack "./${P}/lang-bindings/perl-G15Daemon-0.2.tar.gz"
+ fi
+ if use python; then
+ unpack "./${P}/lang-bindings/pyg15daemon-0.0.tar.bz2"
+ fi
+}
+
+src_prepare() {
+ if use perl; then
+ perl-module_src_prepare
+ sed -i \
+ -e '1i#!/usr/bin/perl' \
+ "${S}"/contrib/testbindings.pl
+ else
+ # perl-module_src_prepare always calls base_src_prepare
+ base_src_prepare
+ fi
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(use_enable static-libs static)
+
+ if use perl; then
+ cd "${WORKDIR}/G15Daemon-0.2"
+ perl-module_src_configure
+ fi
+}
+
+src_compile() {
+ default
+
+ if use perl; then
+ cd "${WORKDIR}/G15Daemon-0.2"
+ perl-module_src_compile
+ fi
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ # remove odd docs installed my make
+ rm "${ED}/usr/share/doc/${PF}/"{LICENSE,README.usage}
+
+ insinto /usr/share/${PN}/contrib
+ doins contrib/xmodmaprc
+ doins contrib/xmodmap.sh
+ if use perl; then
+ doins contrib/testbindings.pl
+ fi
+
+ newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
+ newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
+ dobin "${FILESDIR}/g15daemon-hotplug"
+ insinto /lib/udev/rules.d
+ doins "${FILESDIR}/99-g15daemon.rules"
+
+ insinto /etc
+ doins "${FILESDIR}"/g15daemon.conf
+
+ # Gentoo bug #301340, debian bug #611649
+ exeinto /usr/lib/pm-utils/sleep.d
+ doexe "${FILESDIR}"/20g15daemon
+
+ if use perl; then
+ ebegin "Installing Perl Bindings (G15Daemon.pm)"
+ cd "${WORKDIR}/G15Daemon-0.2"
+ docinto perl
+ perl-module_src_install
+ fi
+
+ if use python; then
+ ebegin "Installing Python Bindings (g15daemon.py)"
+ cd "${WORKDIR}/pyg15daemon"
+
+ python_foreach_impl python_domodule g15daemon.py
+
+ docinto python
+ dodoc AUTHORS
+ fi
+}
+
+pkg_postinst() {
+ elog "To use g15daemon, you need to add g15daemon to the default runlevel."
+ elog "This can be done with:"
+ elog "# /sbin/rc-update add g15daemon default"
+ elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
+ elog ""
+ elog "To have all new keys working in X11, you'll need create a "
+ elog "specific xmodmap in your home directory or edit the existent one."
+ elog ""
+ elog "Create the xmodmap:"
+ elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
+ elog ""
+ elog "Adding keycodes to an existing xmodmap:"
+ elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
+}
diff --git a/app-misc/g15daemon/g15daemon-9999.ebuild b/app-misc/g15daemon/g15daemon-9999.ebuild
new file mode 100644
index 000000000000..7d4ce15ed275
--- /dev/null
+++ b/app-misc/g15daemon/g15daemon-9999.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+GENTOO_DEPEND_ON_PERL="no"
+ESVN_PROJECT=${PN}/trunk
+ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/trunk/${PN}-wip"
+
+inherit eutils linux-info perl-module python-r1 base subversion autotools
+
+DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+[[ ${PV} = *9999* ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="perl python static-libs"
+
+DEPEND="virtual/libusb:0
+ >=dev-libs/libg15-9999
+ >=dev-libs/libg15render-9999
+ perl? (
+ dev-lang/perl
+ dev-perl/GDGraph
+ >=dev-perl/Inline-0.4
+ )
+ python? ( ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.9.5.3-g510-keys.patch"
+)
+# "${FILESDIR}/${PN}-1.9.5.3-forgotten-open-mode.patch"
+# "${FILESDIR}/${PN}-1.9.5.3-overflow-fix.patch"
+
+uinput_check() {
+ ebegin "Checking for uinput support"
+ local rc=1
+ linux_config_exists && linux_chkconfig_present INPUT_UINPUT
+ rc=$?
+
+ if [[ $rc -ne 0 ]] ; then
+ eerror "To use g15daemon, you need to compile your kernel with uinput support."
+ eerror "Please enable uinput support in your kernel config, found at:"
+ eerror
+ eerror "Device Drivers -> Input Device ... -> Miscellaneous devices -> User level driver support."
+ eerror
+ eerror "Once enabled, you should have the /dev/input/uinput device."
+ eerror "g15daemon will not work without the uinput device."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ uinput_check
+}
+
+src_unpack() {
+ if [[ ${PV} = *9999* ]]; then
+ subversion_src_unpack
+ else
+ unpack ${A}
+ fi
+ if use perl; then
+ unpack "./${P}/lang-bindings/perl-G15Daemon-0.2.tar.gz"
+ fi
+ if use python; then
+ unpack "./${P}/lang-bindings/pyg15daemon-0.0.tar.bz2"
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} = *9999* ]]; then
+ subversion_wc_info
+ fi
+ if use perl; then
+ perl-module_src_prepare
+ sed -i \
+ -e '1i#!/usr/bin/perl' \
+ "${S}"/contrib/testbindings.pl
+ else
+ # perl-module_src_prepare always calls base_src_prepare
+ base_src_prepare
+ fi
+ if [[ ${PV} = *9999* ]]; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(use_enable static-libs static)
+
+ if use perl; then
+ cd "${WORKDIR}/G15Daemon-0.2"
+ perl-module_src_configure
+ fi
+}
+
+src_compile() {
+ default
+
+ if use perl; then
+ cd "${WORKDIR}/G15Daemon-0.2"
+ perl-module_src_compile
+ fi
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ # remove odd docs installed my make
+ rm "${ED}/usr/share/doc/${PF}/"{LICENSE,README.usage}
+
+ insinto /usr/share/${PN}/contrib
+ doins contrib/xmodmaprc
+ doins contrib/xmodmap.sh
+ if use perl; then
+ doins contrib/testbindings.pl
+ fi
+
+ newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
+ newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
+ dobin "${FILESDIR}/g15daemon-hotplug"
+ insinto /lib/udev/rules.d
+ doins "${FILESDIR}/99-g15daemon.rules"
+
+ insinto /etc
+ doins "${FILESDIR}"/g15daemon.conf
+
+ # Gentoo bug #301340, debian bug #611649
+ exeinto /usr/lib/pm-utils/sleep.d
+ doexe "${FILESDIR}"/20g15daemon
+
+ if use perl; then
+ ebegin "Installing Perl Bindings (G15Daemon.pm)"
+ cd "${WORKDIR}/G15Daemon-0.2"
+ docinto perl
+ perl-module_src_install
+ fi
+
+ if use python; then
+ ebegin "Installing Python Bindings (g15daemon.py)"
+ cd "${WORKDIR}/pyg15daemon"
+
+ python_foreach_impl python_domodule g15daemon.py
+
+ docinto python
+ dodoc AUTHORS
+ fi
+}
+
+pkg_postinst() {
+ elog "To use g15daemon, you need to add g15daemon to the default runlevel."
+ elog "This can be done with:"
+ elog "# /sbin/rc-update add g15daemon default"
+ elog "You can edit some g15daemon options at /etc/conf.d/g15daemon"
+ elog ""
+ elog "To have all new keys working in X11, you'll need create a "
+ elog "specific xmodmap in your home directory or edit the existent one."
+ elog ""
+ elog "Create the xmodmap:"
+ elog "cp /usr/share/g15daemon/contrib/xmodmaprc ~/.Xmodmap"
+ elog ""
+ elog "Adding keycodes to an existing xmodmap:"
+ elog "cat /usr/share/g15daemon/contrib/xmodmaprc >> ~/.Xmodmap"
+}
diff --git a/app-misc/g15daemon/metadata.xml b/app-misc/g15daemon/metadata.xml
new file mode 100644
index 000000000000..454edc63965e
--- /dev/null
+++ b/app-misc/g15daemon/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">g15daemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/g15macro/Manifest b/app-misc/g15macro/Manifest
new file mode 100644
index 000000000000..941d531467c4
--- /dev/null
+++ b/app-misc/g15macro/Manifest
@@ -0,0 +1,7 @@
+AUX g15macro-1.0.3-Makefile.am.patch 345 SHA256 2c4d8825bf69d30894960547121b86d7a603283caa72eb1f81b400742061a6ed SHA512 234b05866e993ce4bf486f8e9b57166c481fdb2487a1a026664b9675a79061cf18c6fd2a0b9e68580823fff4c393b1cfb0048ff24a1ced779790f270918aa00c WHIRLPOOL a3ef6148f3c10f1e6842d8fc8e920499ff14c77e8ec2953c58e4de8ccfa66d02c03184dc5dca63cf58fba90d2ea9f6fbaa7c3e38cc9a3b11665b051ea48cbb48
+AUX g15macro-1.0.3-configure.in.patch 280 SHA256 85e6a7fc0e3aef2bfed36049c074d92b7fdd5b3a2eefaacb8c93b62a725c6d73 SHA512 a754e925f6ab35615a768f2869fac784e987785bc42f3be7b7bb32999dbdc1a332118db644867e39e426fcfd6f143e277187b415c8f43dd6861f54c41ce3625e WHIRLPOOL a73505d29437184171e1ba93e94f67b44da12a9542f3a2b7a31698c8a1eeac3e05cd7686cd5882f9b5e967cdc5a1224aa1cf934df7d8f191a74e056303b5ec5d
+DIST g15macro-1.0.3.tar.gz 324859 SHA256 be4a5ba422777b330d09169fe505eae433aad7378c2eaf411ea591723b82ace2 SHA512 8497aea4a6c8df3b9015ce87c38c8ad20fc66c6b2b04368716a11130e09ef75e32ba9664b57fcda0f5d8a962653ba46e6f851e6e56110d89629765cf77fa751d WHIRLPOOL 65f2f146b819604c6f26de1840f7c4ab61a53c103886ef94ae7bf57104ddb311962a7f279bddd10adcc665ad151bdc33d0cfd1aeb5f193247713bbc0ab879295
+EBUILD g15macro-1.0.3-r1.ebuild 810 SHA256 e0cc2ca01ecc5a71690417d5619840827d1369d76ea91077a0af69e138694311 SHA512 baa2262011bb7a31ccf35d4a7f24979461392432d67ec99d2613ef3af35ca2eb3e28fda8cd960cc6a7193acebbd292c5ae59c166f96f4ae8aa59daf78ddcd83f WHIRLPOOL 24fa5b13751e5218b03fe1920485d5ca92459b312ce0e41c0780646399cb530fc295070175d6330d87454d6457a12f5da4e787e6ec20fb95c8254689f78dd657
+MISC ChangeLog 2405 SHA256 2c724bb53d28d4d9402a978a4e9aaed23c4742309b52e4db79a5ff1ddd4704a3 SHA512 20ee24c73a33868439e3494aaf819584a0e628a3e420e058ff0000b252e34391fa99d634f46301009bef94f9bdf20a38b4edfc52c9f08c936d609dbd966ce055 WHIRLPOOL 7ed0f11f347a501ed082b49b8e0a5a067c082a93c986bcb325e326d5ec7e82d7bd2ae2e1b1c5a175e85cff04faef726d3a80cabe72cd13cc2bd0e551e6ca4688
+MISC ChangeLog-2015 1902 SHA256 5fcb7437f68d54abc8e34c7a6e9f951fe9a4cbf3e72a7a2756393581c39f5ea6 SHA512 ba18e835c024244deb29e8e3cab765febf8cc3537129df2af0f162f5bd17168a039944644e9f242701ca1491e2b457953be2d1541c3203299d3a2d5dd840569e WHIRLPOOL 28a61c54d8f85fd4c807d674b9dca6af9bdb67f589c63cd2ca7b85789ede5dbe564d8c089f272a97a32e0c812c6a4a002eb8816f568725950e335d89b5e05f91
+MISC metadata.xml 409 SHA256 514a297b9e32650b16ad8c11ba2093833cc78a4b44b303e6fe5bc6a14841b5a6 SHA512 f37883d9542d61a9abcc2596e88d80aa41aac439b1366239c7fa234c00776ce837cf19c8b2d153333c22e050380d7add26b7531423ef02e655157d39a72b121e WHIRLPOOL a8898028adeabb634eee02191065d3bd04260be8489f82a031dc407cfa48d6e060ce77b2f8620e310e2b990fd4b2ffc44bd3d42bf5aeb1e6d26e65b4723786bf
diff --git a/app-misc/g15macro/files/g15macro-1.0.3-Makefile.am.patch b/app-misc/g15macro/files/g15macro-1.0.3-Makefile.am.patch
new file mode 100644
index 000000000000..bc457dc52fbd
--- /dev/null
+++ b/app-misc/g15macro/files/g15macro-1.0.3-Makefile.am.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -10,9 +10,8 @@
+ imagedir = $(prefix)/share/g15macro/splash
+ image_DATA = ${top_builddir}/g15macro.wbmp
+
+-LIBS = -lg15daemon_client -lg15render -lX11 -lXtst
++LIBS = -lg15daemon_client -lg15render -lX11 -lXtst -lpthread
+ IMCLUDES = -I
+-g15macro_LDFLAGS = -avoid-version
+ g15macro_SOURCES = g15macro.c
+
+
diff --git a/app-misc/g15macro/files/g15macro-1.0.3-configure.in.patch b/app-misc/g15macro/files/g15macro-1.0.3-configure.in.patch
new file mode 100644
index 000000000000..7cdde1d098ec
--- /dev/null
+++ b/app-misc/g15macro/files/g15macro-1.0.3-configure.in.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -8,7 +8,6 @@
+ AC_CONFIG_HEADER([config.h])
+
+ AC_PROG_CC
+-AC_PROG_LIBTOOL
+ AC_PROG_RANLIB
+
+ AC_CHECK_LIB([g15daemon_client], [g15daemon_version],,AC_MSG_ERROR(["libg15daemon_client (or its devel package) not found. please install it"]))
diff --git a/app-misc/g15macro/g15macro-1.0.3-r1.ebuild b/app-misc/g15macro/g15macro-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..f7833173068c
--- /dev/null
+++ b/app-misc/g15macro/g15macro-1.0.3-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Macro recording plugin to G15daemon"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE=""
+
+DEPEND=">=app-misc/g15daemon-1.9.0
+ dev-libs/libg15
+ dev-libs/libg15render
+ x11-libs/libX11
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-libs/libXtst
+"
+RDEPEND="${DEPEND}
+ sys-libs/zlib
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.am.patch
+ epatch "${FILESDIR}"/${P}-configure.in.patch
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --enable-xtest
+}
+
+src_install() {
+ default
+ rm -rf "${ED}"/usr/share/doc/${P}
+}
diff --git a/app-misc/g15macro/metadata.xml b/app-misc/g15macro/metadata.xml
new file mode 100644
index 000000000000..454edc63965e
--- /dev/null
+++ b/app-misc/g15macro/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">g15daemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/g15message/Manifest b/app-misc/g15message/Manifest
new file mode 100644
index 000000000000..736b6f4a028d
--- /dev/null
+++ b/app-misc/g15message/Manifest
@@ -0,0 +1,5 @@
+DIST g15message-1.0.0.tar.bz2 219798 SHA256 8e1f5459e206cc6458c09c11ceb36ee8781769a0964ff7a5a17d1980c20cfc34 SHA512 608fb789e1390e6f8fabe4c1f21cabfb0c445660a2629616ddca253d232d9e58775c8aeb8c44dde0b014e6e26cbab70db991000f1bfcb4daed1727a06de7a78f WHIRLPOOL 8d5f865efd729f30d5fe49419bdcc4811ff630d17e2097a0792faae7a7ecbd716cc83f1e54b089a248e66f61bb44516dccd2b84e71ce24efe6047283e3f0ca19
+EBUILD g15message-1.0.0.ebuild 582 SHA256 bf920f7de9f074bacb28c53e1c4dee9abd9af160cb50ca1a6cb5f03965ccc9fa SHA512 13d51e09b70ace5ef0b38772c197f2959291085d952ee0bb5576a5185b9a22fedc0c070b0de8cd7319ce9a6b4ee6fb3883fdbaea995ef8337585c94e5efd6f8e WHIRLPOOL d8f91576eb6e6c138fffa6e3697dc5bee3b6eb4ab3151532f52f06508ff486e1f3bbda21dc05c51a79c07671b7dfc9c834f985b82a12dcd034578c93761d873a
+MISC ChangeLog 2185 SHA256 bbb0b437549aa091fbe6121aa9eaad08a47e518a76fe6bd40fd7a1e5412745b6 SHA512 1df86122290a19f339d777112b49d296b74e296265d123622c3a98330cf0ff92d2084aa15feee89444e2a9e5b84d02a1d89dce2cfd4348ca4affbdc312b59ef9 WHIRLPOOL 3ab14da22019590bcca1d13b55f4a212f43dd2685657405d587b3ab00dc823342d9360a8613b9b5ba7c279323e6b6bbfb9b50f9e4355a33ceb09ebf7b12af115
+MISC ChangeLog-2015 1187 SHA256 952c8e26495dfd640cf50e93c0ced434b0ae78c989949227ae9d7b6e371690c5 SHA512 e3d1958913f64c63b84aa748ab68c0dbf1690b3b841bfe68516b216d4b1c55cb86d8e96444225228db6908753c062a70f56c1a08f3dd9b9e4d3bb292b990f459 WHIRLPOOL b4dda5016fffa3867f4ad7189c360324edfe79f867a72cca83cb749c5378a93b3d17db7d8d15be22565a8e2f2ff49715632c30b58817fe920d3dd53387e80319
+MISC metadata.xml 409 SHA256 514a297b9e32650b16ad8c11ba2093833cc78a4b44b303e6fe5bc6a14841b5a6 SHA512 f37883d9542d61a9abcc2596e88d80aa41aac439b1366239c7fa234c00776ce837cf19c8b2d153333c22e050380d7add26b7531423ef02e655157d39a72b121e WHIRLPOOL a8898028adeabb634eee02191065d3bd04260be8489f82a031dc407cfa48d6e060ce77b2f8620e310e2b990fd4b2ffc44bd3d42bf5aeb1e6d26e65b4723786bf
diff --git a/app-misc/g15message/g15message-1.0.0.ebuild b/app-misc/g15message/g15message-1.0.0.ebuild
new file mode 100644
index 000000000000..624db26ef692
--- /dev/null
+++ b/app-misc/g15message/g15message-1.0.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="A simple message/alert client for G15daemon"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=">=app-misc/g15daemon-1.9.0
+ dev-libs/libg15
+ dev-libs/libg15render
+ sys-libs/zlib"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ rm "$D"/usr/share/doc/${P}/{COPYING,NEWS}
+
+ prepalldocs
+}
diff --git a/app-misc/g15message/metadata.xml b/app-misc/g15message/metadata.xml
new file mode 100644
index 000000000000..454edc63965e
--- /dev/null
+++ b/app-misc/g15message/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">g15daemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/g15mpd/Manifest b/app-misc/g15mpd/Manifest
new file mode 100644
index 000000000000..e52b4eb3e9d3
--- /dev/null
+++ b/app-misc/g15mpd/Manifest
@@ -0,0 +1,7 @@
+AUX g15mpd-1.0.0-cflags-and-lib-fix.patch 746 SHA256 0872e86d5e96f625fe24ed9cda2da5d8cb8e6eea20fa54407543ba8ea668f480 SHA512 79b24ec54f55741f7fb5a5a22a547e515b909e69253418de434c032179ed2a2f4e9397eabcc13de460d8c9219b3aeeafce387ba84cff17a79778ee151465b7c2 WHIRLPOOL 663283f3ef8a51d9bdb1e1b147bdfd4463589e719e7bd2e5817d112a8b9729e3a5759f48abc2db759a3a151aa527b185b4fbafcc79cb10e98f431cbfccc7838f
+AUX g15mpd-1.0.0-libmpd.patch 1460 SHA256 4f169ae1184aad8208f5f5a97567f9f3ed6b5f1e38a891839b7cb66454d844bd SHA512 240c82b84c4eba2095e6fcfd0e7da7fb54197afa600dcd0ce92b3eacc9f8907e69ac64e44dfa5314a29bc4db793f9e21f8efd44589c0a3c226426cd52445945e WHIRLPOOL 0e5f40ef7d557f9340bce5ae34832d9b560d5ab8b61aae241305d0fa628d21c348c0b222ece78686a47dbacac3e10a9a0e774554df4fbd59005f28cf3eb52d70
+DIST g15mpd-1.0.0.tar.bz2 220482 SHA256 c7792951f1168144108f8eb66ae6d41b63ac2cb4448827d7e3f755ccfdc72afe SHA512 509b634c8ba1f3b9efd0d7af47b553671efe3526c9acd44b292bf5883b1016cfbf18dec69c8bb5b3a35853e76b9b4fe7a51cd2a33acf4c755d2824dc793fa0ca WHIRLPOOL 1acc183e5e0840f0e49554fc6749852716ebcfa87d897d3ff8e790c5e865ef4725a8cd1cee70691ebeae3368dd3271c108794e565948ff0620426b6baae3a3c9
+EBUILD g15mpd-1.0.0-r1.ebuild 831 SHA256 445019aeddb53f88ba39e9572e30d6e77132d6d4a77097675ea0e8f6a33743cd SHA512 17b1556661c87848367b2bf2bd3ecfeac59be417234e7dedca9bbf57e1deddae759a4ef20af685377535a9073c87c8d3bfaadd6ebe872f492745db5cbb9f3bb6 WHIRLPOOL d49c774f6898247bf1950373ae3e012c30b724ff0355581ff3084fd9184906f26eb38d0f600555cdf89086bce3e34fec70a66e3c13d5958c2b253032c7182858
+MISC ChangeLog 2607 SHA256 c8ab8b7a2be47ce57c9d0a39c00627024057d2cc5f534c813be39aa09fcfd4eb SHA512 54a708c8e4aab87ccef9fc53e646aafa72b74afed50bbfedbd6d7146e8d43f5cd02357c62d002f377a7273580cbea221ffcfab074dfbcefc8503b18779a7646b WHIRLPOOL f368cc7f34d8a986e4bdbd10dffd24e7bec6e6b436f1b9b731d005af3a29de5d194bff03271a9b17b851f362f803914045f837a40e173e0ddc157f54881185e8
+MISC ChangeLog-2015 1102 SHA256 cab9066a75ecd96c880e6d9021238523b1ba64cc3789e65781f54c94c9c258d0 SHA512 23b8f4a3ded4ec124e9250ab7cdf8101f642b504b622405bd5010513637bc32b4b9080d4cc28e680e1e10d76a30c0b02f24b771a585cd4f155c501698f773e44 WHIRLPOOL 57b59d57a7cf2da4e78123bfcfcb0f529b8414a69cab398fd26986b3dffa64e3156da571bee8324ffbb8716be98a444172808f6466aeb769df64b7b59f6fe407
+MISC metadata.xml 246 SHA256 8a3b8545a2fff69ba0d02687e8ce5e47794d6fe4878482a54a39e6476ffb2940 SHA512 b9fd89855ed25a0b766566521a33295c6d3f4469ba31da9fed2d4f133d3c56b1a59e7c4cc66171ebf6c8a9137ccded19a942072f80dcded8b7efcf0912fdfce1 WHIRLPOOL 2b82ab80a734860b9ba767c83ce0d10cf64a06bc0a00fb2134cdbb19c716680ce1a3b545e411f66b868486b1673cd79da1d0ecdd4da927ffe67d7906c83a07f6
diff --git a/app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch b/app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch
new file mode 100644
index 000000000000..5bdb1261f367
--- /dev/null
+++ b/app-misc/g15mpd/files/g15mpd-1.0.0-cflags-and-lib-fix.patch
@@ -0,0 +1,18 @@
+diff -ruN g15mpd-1.0.0/Makefile.am g15mpd-1.0.0-patched/Makefile.am
+--- g15mpd-1.0.0/Makefile.am 2014-01-17 13:43:28.536056492 -0500
++++ g15mpd-1.0.0-patched/Makefile.am 2014-01-17 13:43:31.596056410 -0500
+@@ -1,12 +1,12 @@
+ AM_CPPFLAGS = @libmpd_CFLAGS@
+-AM_CFLAGS = -O3 -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir)
++AM_CFLAGS = @CFLAGS@ -I$(top_builddir) -I$(top_srcdir)
+ METASOURCES = AUTO
+ bin_PROGRAMS = g15mpd
+
+ docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
+ doc_DATA = README ChangeLog AUTHORS NEWS COPYING
+
+-LIBS = -lg15daemon_client -lg15render -lX11 -lXtst @libmpd_LIBS@
++LIBS = -lpthread -lg15daemon_client -lg15render -lX11 -lXtst @libmpd_LIBS@
+ IMCLUDES = -I
+ g15mpd_LDFLAGS = -avoid-version
+ g15mpd_SOURCES = g15mpd.c
diff --git a/app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch b/app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch
new file mode 100644
index 000000000000..57d2fb8a1ef6
--- /dev/null
+++ b/app-misc/g15mpd/files/g15mpd-1.0.0-libmpd.patch
@@ -0,0 +1,34 @@
+diff --git a/Makefile.am b/Makefile.am
+index e407dab..6404618 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,4 +1,4 @@
+-
++AM_CPPFLAGS = @libmpd_CFLAGS@
+ AM_CFLAGS = -O3 -Wall @CFLAGS@ -I$(top_builddir) -I$(top_srcdir)
+ METASOURCES = AUTO
+ bin_PROGRAMS = g15mpd
+@@ -6,7 +6,7 @@ bin_PROGRAMS = g15mpd
+ docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
+ doc_DATA = README ChangeLog AUTHORS NEWS COPYING
+
+-LIBS = -lg15daemon_client -lg15render -lX11 -lXtst -lmpd
++LIBS = -lg15daemon_client -lg15render -lX11 -lXtst @libmpd_LIBS@
+ IMCLUDES = -I
+ g15mpd_LDFLAGS = -avoid-version
+ g15mpd_SOURCES = g15mpd.c
+diff --git a/configure.in b/configure.in
+index aaa361c..83281d0 100644
+--- a/configure.in
++++ b/configure.in
+@@ -18,7 +18,9 @@ AC_HEADER_SYS_WAIT
+ AC_CHECK_HEADERS(g15daemon_client.h libg15render.h,,AC_MSG_ERROR(["libg15daemon_client (or its devel package) could not be found. please install it"]))
+ AC_CHECK_HEADERS(X11/Xlib.h X11/XF86keysym.h,,AC_MSG_ERROR(["Xorg development files could not be found. please install the devel package"]))
+ AC_CHECK_HEADERS(X11/extensions/XTest.h,,AC_MSG_ERROR(["Xorg XTEST Extension devel headers could not be found. please install the devel package"]))
+-AC_CHECK_HEADERS(libmpd/libmpd.h,,AC_MSG_ERROR(["libmpd development files could not be found. please install the libmpd devel package"]))
++PKG_CHECK_MODULES([libmpd], [libmpd])
++AC_SUBST(libmpd_LIBS)
++AC_SUBST(libmpd_CFLAGS)
+ AC_PATH_X
+
+ AC_OUTPUT(Makefile)
diff --git a/app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild b/app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..ab7d8809c69b
--- /dev/null
+++ b/app-misc/g15mpd/g15mpd-1.0.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="MPD (music player daemon) plugin to G15daemon"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+ >=app-misc/g15daemon-1.9
+ dev-libs/libg15
+ dev-libs/libg15render
+ >=media-libs/libmpd-0.17
+ sys-libs/zlib
+ x11-libs/libX11
+ x11-libs/libXtst
+"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-proto/xextproto"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libmpd.patch
+ epatch "${FILESDIR}/${PN}-1.0.0-cflags-and-lib-fix.patch"
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm "${D}"/usr/share/doc/${P}/{COPYING,NEWS}
+}
diff --git a/app-misc/g15mpd/metadata.xml b/app-misc/g15mpd/metadata.xml
new file mode 100644
index 000000000000..15d0bf7cfc4a
--- /dev/null
+++ b/app-misc/g15mpd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">g15daemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/g15stats/Manifest b/app-misc/g15stats/Manifest
new file mode 100644
index 000000000000..f981c14fb50e
--- /dev/null
+++ b/app-misc/g15stats/Manifest
@@ -0,0 +1,7 @@
+AUX g15stats-1.9.7.confd 637 SHA256 57d18f10ededd1003c59e86c2a1721165a0aa6c731bc8880710bb2e8e182bd52 SHA512 f31ea949d3bdc1c8c18628f31ef0252a8d07a636055bff493cc368db702aea2d0d23b6b812d16040cd0015c1daf25357e29149d74e0bb3f233560a15df5ca58c WHIRLPOOL 2ab720c51ee75cd6865e6f3feb6dc5837364b6a71527defc475f7c6eb0f03c50c13cf61811e2cb29f6e2d2a66382f19456e5c939b8f4fa1260d3378d3346c792
+AUX g15stats-1.9.7.initd 496 SHA256 e155c92fc3639a2785df1020053cf2881eb53490402dbe8053761302641c7ed2 SHA512 ad61ddfdbd60bf8906c6ee114ed01385bc20480225579a2034296231feb211eddc48fe8a088ea314822972f80a6df12d3f5bbea44e4e649ea7156b241457ff34 WHIRLPOOL add34999555babb469a268fc318ebc6eb7f68b6a5e1f087859e9ebfb71515ad1f81bff955295dedb9b1e5a2157b68b502282d752d598802e6cbdb95f523c31b2
+DIST g15stats-1.9.7.tar.bz2 24103 SHA256 55669ffc080091beb59934e3cdd54e305da340f090a0e4ca6289d3ddc041a3d5 SHA512 de447dfddd563513205b29b3611b0558371b2a7fbe7bf3aa11cd997c0ee2767b3aba05df9745d15e5c0b81382b96163fb7d33ba6a77e04ac817c7a8e26e228ff WHIRLPOOL abe464c0ea44b14a5101a023d3de52907f21c91828b6791b678e6efc4875b129d7a75cb554a21e09a046a52da72b083a9df1c0f1a5a4f284572d954bcb4e3dda
+EBUILD g15stats-1.9.7.ebuild 929 SHA256 b1b9f4348d28e7dfaeb26ecd98b263fb970965b77cef513cf92aaf9cef3478ee SHA512 ee5e24cb8cbbc164144de57ccea8db8eff77fc226dd31a9654a13e4a98398f41ab62c232ca093f8ecd2db9eaa148a88662a2497664eb222dc02d198a19f336e3 WHIRLPOOL e1e053e83a3e843a307fd6ea7a8c9f1ed94a0075d629950898f29a951f437c916de3f94d9a6c8080f637cf7937c0c62d53a70435d86474086e565f9f1ee2bd3a
+MISC ChangeLog 2378 SHA256 5c11acde7d6ea4057fd871e87ac03e761c7c6f0f04e8e44698b59bc8f76138f2 SHA512 a71025efe2ffb6cdb3788bafc2173987e6ee1de827a0f26ddb3ddbab82eae51d740157884a89af28914339d9ae8f70e6153b6548c0d3724e96464b5cb01e68e7 WHIRLPOOL fe7f33476c4ab83ca9e1c340be5388b8c7b7b1273886cd228ca9f1d242f4c40d7e1a2b1504f9b9b0d9d97a13352629770704313a87b6e99a804d1bbe9a4badd6
+MISC ChangeLog-2015 1890 SHA256 e0561f5f7dd9852d36fe3b36a517486f3a341b51381e4415a84e1beb002466cd SHA512 cc8c077dd852326d2bb1cbd86174ccf09fa2ca4aeb6c07eaca59ec934523f985d577e4cd5ba32583b5b5a96c7ce7b8d35296dfd75f1c914ce40082d64ddd633c WHIRLPOOL bbdd39e3c789aae36516e6435630d3280503e7336f6dac0ce299fd2a5500709da944d67eeeaa18b1c90ecc3391ce89a91bccfa6604555f833e45524c3a07f1c4
+MISC metadata.xml 409 SHA256 514a297b9e32650b16ad8c11ba2093833cc78a4b44b303e6fe5bc6a14841b5a6 SHA512 f37883d9542d61a9abcc2596e88d80aa41aac439b1366239c7fa234c00776ce837cf19c8b2d153333c22e050380d7add26b7531423ef02e655157d39a72b121e WHIRLPOOL a8898028adeabb634eee02191065d3bd04260be8489f82a031dc407cfa48d6e060ce77b2f8620e310e2b990fd4b2ffc44bd3d42bf5aeb1e6d26e65b4723786bf
diff --git a/app-misc/g15stats/files/g15stats-1.9.7.confd b/app-misc/g15stats/files/g15stats-1.9.7.confd
new file mode 100644
index 000000000000..4bf61c238488
--- /dev/null
+++ b/app-misc/g15stats/files/g15stats-1.9.7.confd
@@ -0,0 +1,20 @@
+# /etc/conf.d/g15stats: Configuration for the G15 stats
+
+#Gather statistics from named interface (ie eth0)
+#Network Screen displays Total bytes In/Out, history graph, Peak speed.
+IFACE="eth0"
+
+# Please see g15stats --help for meanings
+#TEMP_INPUT=1
+#GLOBAL_TEMP_INPUT=1
+#FAN_INPUT=1
+
+# please see g15stats --help for all options
+# As of 1.9.7, the options where:
+# --unicore
+# --net-scale-absolute
+# --info-rotate
+# --variable-cpu
+# --refresh
+# --disable-freq
+EXTRA_OPTS="${IFACE:+--interface} ${IFACE} ${TEMP_INPUT:+--temperature} ${TEMP_INPUT} ${GLOBAL_TEMP_INPUT:+--global-temp} ${GLOBAL_TEMP_INPUT} ${FAN_INPUT:+--fan} ${FAN_INPUT}"
diff --git a/app-misc/g15stats/files/g15stats-1.9.7.initd b/app-misc/g15stats/files/g15stats-1.9.7.initd
new file mode 100644
index 000000000000..56a77d328ed4
--- /dev/null
+++ b/app-misc/g15stats/files/g15stats-1.9.7.initd
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/${SVCNAME}.pid
+
+depend() {
+ need g15daemon
+ after xdm
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --background --make-pidfile --pidfile ${PIDFILE} --exec \
+ /usr/bin/g15stats -- "${EXTRA_OPTS}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stoping ${SVCNAME}"
+ start-stop-daemon --stop --pidfile ${PIDFILE} --name g15stats
+ eend $?
+}
diff --git a/app-misc/g15stats/g15stats-1.9.7.ebuild b/app-misc/g15stats/g15stats-1.9.7.ebuild
new file mode 100644
index 000000000000..5e31c2a4a3e1
--- /dev/null
+++ b/app-misc/g15stats/g15stats-1.9.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard"
+HOMEPAGE="http://g15daemon.sourceforge.net/"
+SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=app-misc/g15daemon-1.9.0
+ dev-libs/libg15
+ dev-libs/libg15render
+ sys-libs/zlib
+ gnome-base/libgtop"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sh autogen.sh
+}
+
+src_configure() {
+ export CPPFLAGS=$CFLAGS
+ econf
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ rm "$D"/usr/share/doc/${P}/{COPYING,NEWS}
+
+ newconfd "${FILESDIR}/${PN}-1.9.7.confd" ${PN}
+ newinitd "${FILESDIR}/${PN}-1.9.7.initd" ${PN}
+}
+
+pkg_postinst() {
+ elog "Remember to set the interface you want monitored in"
+ elog "/etc/conf.d/g15stats"
+}
diff --git a/app-misc/g15stats/metadata.xml b/app-misc/g15stats/metadata.xml
new file mode 100644
index 000000000000..454edc63965e
--- /dev/null
+++ b/app-misc/g15stats/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">g15daemon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gcal/Manifest b/app-misc/gcal/Manifest
new file mode 100644
index 000000000000..8290875ae894
--- /dev/null
+++ b/app-misc/gcal/Manifest
@@ -0,0 +1,5 @@
+DIST gcal-3.6.3.tar.xz 1640172 SHA256 6742913a1d011ac109ad713ef4a8263eaf4c5cfd315471626a92f094e3e4b31b SHA512 9be7d6e58a55fbb7531f91bd2a6fa51e8d62364636c31d8d65f6ac24415ac2de8af5eaab8496e155c2820b7480ecf926c4395114ff4363deb21bd268dec44963 WHIRLPOOL 8dc5c99af8b76d58f751f28d687bf1bf5ba62864df38570de7d8a11fbf09e5d5d93688f6ab7d26ecc5b9676c4f5f0a2b8572c5271fb0c82a64e82ca30d77a071
+EBUILD gcal-3.6.3.ebuild 754 SHA256 9b60d1cd7c94a3a90ae6bfc2dfe7df0f0a536f25aa0feacb32f5b2f065646030 SHA512 67c6ce485011bc233e014305a3a2a5c5f721fcd5f6e35505e8d0282deb14a633219037e2b13d104abbf6fc7ef79ae630bb0ccdf8981f683ea77aa7f1c90fddc7 WHIRLPOOL 67942caac4a50a9cfa6fed0b5568f3f4e296730df5a6d99dca166cb385afd5d9b7ab8a72b2348a6e0d8c563f3fcbaaac9b9ae29e389d6928bbd47dc35f3b4b52
+MISC ChangeLog 2569 SHA256 4798ad82e306992683e23a6cd8ee0312b952dd8ed48231028b18aeebb780eec6 SHA512 8c93b8898a785cae1f270f076ece9f83962cdb5bce45f547d1467ca29b75df223da0dd2ef9b7931a451034c9a05d9fe27f20b71220a1ec29e7c4f4d15d47221f WHIRLPOOL 9af174c754071e9be05b5fcf0ca6855f53a88644c2dfcf663bcf8fe2ba731ac3f2eec8a76c62b8dba31b95cda4a2d504476e8dd9085be65f87fc3f9ca847f3bb
+MISC ChangeLog-2015 6278 SHA256 0f7a2062408a021b05a419d1b733fc29806cff12f83cd96b1a44545010d7df59 SHA512 255a1e9d2d8424fb0366664cbcb30e4e18f0f306ab1025df30a812c4dddf1414081e05abea2dec07b3e5324e2584c64de310e252c91e622f64767f92bb86f933 WHIRLPOOL 1a0c6967fc27fbc2501fced4d66006b6c2fc2cdc70bb925ba47b8b9784eef99ee01d838ec11869f0fa349cd15e7153e5eef3fb730088c246b52273064bf999e4
+MISC metadata.xml 1018 SHA256 79539fda3d4503d75c3c89d2d62ca816dfb3b1f07cacf264d02d92a0fe8cef74 SHA512 44362e0e9926b26bab6a3eef736bb8e6c1d76e33f94ec546a97bde251a5e03d8102d3f17ea48a20f18da957c325b766647e3574bd8e13f0f070a15b105d07ea3 WHIRLPOOL 900f04d4c255cf000b0a23fcbb3c825f23b31459a9733a5bb0562fdaa077f5031b7851ba807ebd1c28a2bf50dc7bd847a95cb63f64beb65d07062f7455981bb9
diff --git a/app-misc/gcal/gcal-3.6.3.ebuild b/app-misc/gcal/gcal-3.6.3.ebuild
new file mode 100644
index 000000000000..c65c73db2e6d
--- /dev/null
+++ b/app-misc/gcal/gcal-3.6.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="The GNU Calendar - a replacement for cal"
+HOMEPAGE="https://www.gnu.org/software/gcal/"
+SRC_URI="mirror://gnu/gcal/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="ncurses nls unicode"
+
+DEPEND="
+ app-arch/xz-utils
+ nls? ( >=sys-devel/gettext-0.17 )"
+RDEPEND="nls? ( virtual/libintl )"
+
+DOCS=( BUGS LIMITATIONS NEWS README THANKS TODO )
+
+src_configure() {
+ tc-export CC
+ append-cppflags -D_GNU_SOURCE
+ econf \
+ --disable-rpath \
+ $(use_enable nls) \
+ $(use_enable ncurses term) \
+ $(use_enable unicode)
+}
diff --git a/app-misc/gcal/metadata.xml b/app-misc/gcal/metadata.xml
new file mode 100644
index 000000000000..1c58cf2c7909
--- /dev/null
+++ b/app-misc/gcal/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription>
+ Gcal is a program similar the standard calendar programs BSD "cal" and
+ "calendar". Gcal displays hybrid and proleptic Julian and Gregorian calendar
+ sheets, respectively, for one month, three months or a whole year. It also
+ displays eternal holiday lists for many countries around the globe, and
+ features a very powerful creation of fixed date lists that can be used for
+ reminding purposes. Gcal can calculate various astronomical data and times
+ of the Sun and the Moon for at pleasure any location, precisely enough for
+ most civil purposes. Gcal supports some other calendar systems, for example
+ the Chinese and Japanese calendar, the Hebrew calendar and the civil Islamic
+ calendar, too.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/gcalcli/Manifest b/app-misc/gcalcli/Manifest
new file mode 100644
index 000000000000..d28d09a2bedc
--- /dev/null
+++ b/app-misc/gcalcli/Manifest
@@ -0,0 +1,13 @@
+AUX gcalcli-oauth2client.patch 1306 SHA256 702f053eecf4105e1169c6e8d2529dc4c490b65d11013a26697741dbbc4542a1 SHA512 6028e8ebe14b763421889621576367838112d2cf56dc85a424dfcdad540a8d7c8010b7f48361a5317552ef827d4922c436922d0b34b9fe7f07eb69300f3a977e WHIRLPOOL 172ed9eb35511cfc14dcf7a23130935e27b515c78173ae6e867d202584dc17cf42f505eebd5d11b917713cac070453a5dfabf48e800887c90eeb0864efc70d8c
+DIST gcalcli-3.2.tar.gz 1672457 SHA256 9b3465be8e64c291ffe4582f8cb779a7025c700e6a83aae74722d87a3b88d55a SHA512 a2e0d9aea2f27eaee3796acfbfdc08b88a7792002b10f0e44b0db1187a7ecd50aa97f78df7236038c8c18bc1b6dacbfa4b26db6bfb5762c880415c10a5364d83 WHIRLPOOL 66b8e954c5d4527e2725d0f07786262f4365f356e3ef893aa8253d07c41523b5f9c71bffd03acc02b27c57001f0c1e7b3cd92fea7396974b8898b4940abff6fb
+DIST gcalcli-3.3.2.tar.gz 1674569 SHA256 69c31b5bee1390b4187a48b85b57ba95e40db231489d3deec8c3d387305d2ff3 SHA512 725290de1c7c768ad48e77bcc74e65b2676aab2fe5d40bdf59e63e1552d96dbe849fe99680b1f33c8adebcf2ee4a1ad898879820e20d8b2050679348820f4ba0 WHIRLPOOL 86acaf08d36af331524e514c6bfc37e6591ec570dd5c25c0bca6b111aa901636082cc961b70fcadbc32616e72f6c09bbc8460aa97f15a146fa341850fa416d15
+DIST gcalcli-3.4.0.tar.gz 1675456 SHA256 1297f7082b4d33ac6d5ea3edfc11bdd329b8a6f28926aeda412806d45b7afdd1 SHA512 d3844dc34dfd21b1cca6f46bf2b66b6aabfccd4d7b23ad4e076966aeec51681792c0dbe5f61e4cb84a75ce3bbf4fd1c63a2ce759cecdeee3e4608c0238c07a4b WHIRLPOOL 6bbe059a8ef28d8b498006f95f3c31ea0eb244139f39c0b1846f6981e3f05d26b1f49b2ff527f6127d21e3feafcfd1e77285bcb8afae0fe690fe6251483cdb99
+DIST gcalcli-4.0.0_alpha3.tar.gz 1675261 SHA256 d295a5c577fd4d202eb59317169e239c07d03c8ab261211ef39549bdcf98e150 SHA512 215860f50d2b32b94124537b3d8dbaebd7af5b9c907d565a58eab5357efa8a8c8bc6c20264811337ddbc33ae75029bf59c782e1dbb317667084f11da8c41ea18 WHIRLPOOL 3fb9817ca408b2513b5bbcaa8ea343132e8e834ac3365cd1a4020c9dc9840f125e59b49b9067f27187b6b7210d4bb4227a79efe80ae1a98e7aad3bfc1177defa
+EBUILD gcalcli-3.2.ebuild 815 SHA256 a2123f27dd223b0c6c8563fb6ed3bc6bd756fd066f16662e6e17c06208157cfc SHA512 992baf956a14895ec81a378bb55958c8d1b5beee8b0265cc37456dd39d18d66968a450082820832c5b04c6964c6e28e3d4bfe25973540786ea2693c49c3d30d3 WHIRLPOOL 1fe3abd7384db3d2739cc638fc9b4594bdaa13f9e681ff6e799d7c65b436c1f6a883f78cf03a482005ffb77e631047d5adb0a94d8aa131c0ed4a4934768e61d9
+EBUILD gcalcli-3.3.2.ebuild 815 SHA256 a2123f27dd223b0c6c8563fb6ed3bc6bd756fd066f16662e6e17c06208157cfc SHA512 992baf956a14895ec81a378bb55958c8d1b5beee8b0265cc37456dd39d18d66968a450082820832c5b04c6964c6e28e3d4bfe25973540786ea2693c49c3d30d3 WHIRLPOOL 1fe3abd7384db3d2739cc638fc9b4594bdaa13f9e681ff6e799d7c65b436c1f6a883f78cf03a482005ffb77e631047d5adb0a94d8aa131c0ed4a4934768e61d9
+EBUILD gcalcli-3.4.0.ebuild 922 SHA256 317fc88c51c09d5266c1e47fa2a30b251644d0540963cc5f20fe8ce300b0ecaa SHA512 578c55f37ca24694410fca8875b7523c5f84b375408f44afc84254d2074df7c0033243ff127765b3673acb5a4a1aadae88f819e1fb9317c338ffb68eee8e55b7 WHIRLPOOL 4eecff2300efbdc83b6d218fbf6fb915e8e561ef415d2c5a74d94005886efc4ca78c8a6731194b238c64d389e01513cf97cec41f0eb61ca79375c5de55d895e1
+EBUILD gcalcli-4.0.0_alpha3-r1.ebuild 993 SHA256 01573c249f98db92d4ddbcc847991434e4c9977af9cd9e9f3c754f55eb8c2814 SHA512 cf6d503c7879b0b434aaed44743ee99be5af8f48009f92c5a44677fcf8add533307c93741eacca5687220a2295f8547834f59741e4aaebb319fcb5a521c8523f WHIRLPOOL ed811faefe669f7b80131fbc5b1ef3ee1b7bfbbccf82fafdea9c7110c749c9924c81b81cdd1259b91d05b7c7880cf0706185eb9e4acde62789ea061a9853483a
+EBUILD gcalcli-4.0.0_alpha3.ebuild 872 SHA256 742f669fbd6697930ef887b900d280ccdea284a96bd42b762e4cee4742b72415 SHA512 7b46807216c42f4129908bc96f71d365f97dfe06e1b95a3124b2812943e6c55423b25cd2543e3ebdbcb67b9c2c6f8ee0a9d8f446c8fb226adddd1ee0ac50c2de WHIRLPOOL 355c80bcc6187c005db16cfde8808a4fde309a02f6108fb1b21203069d74aec1e1db50ef8de5df9cce68054f76e81da8433c6dcee91099d53d57bb19e2193644
+MISC ChangeLog 2322 SHA256 1e6fa56d7204e5a7ca038eea54c373d4795c5a93f61e9cc2b64a7bdb72003a21 SHA512 e8b48227e519ffebaded3a62c27ecef1a9b44fee0d2da8e9d3e5df3f3f779cf8ac1e92a83f0bb4aa0f04597be479bbd57c129724c6a08ded167e74dc1af8f8d3 WHIRLPOOL d7718fa90d8e92e590cd18960df154f62e7d8d87106c4d43bdc51c36ce5e3ff1b276e98a7575e163d2c21484a02dddc0d75dd3385f60da61b222788e6ec993e5
+MISC ChangeLog-2015 1309 SHA256 291185298b3af285f07d5ddec0ccd96d1e7cc1374076f8a131ba542ee4607212 SHA512 33a788272c6494e92540418a3b65d312b604cfa51a3d2a39561d258c9c1eeadd944bbe4e7e01dc82607f5098d9efa5c0a9a55fc0b728ddc7d9cfde52ffc83ec0 WHIRLPOOL fb34f7568a7a38d5b91794706690fa88454dd01d8c1f00b4fe1b7376ef404a6757daa4bb4535c20a0c914cc4e887cfa80bd85f89220943bdc3f194c31f81bdb5
+MISC metadata.xml 340 SHA256 f080ab250a6b38f9019c1a33fb821829f0bff41f908ff801890698c2ecf69e82 SHA512 4d2abd6d07db32d501923eef6b9aa7752b844745a0511a36801480833dd205adef443bea80efa86d270cdd6d0edda16a9989d678221d0b480366a47a7c76de02 WHIRLPOOL 1aaccec34a071fef04a71833ed1f4c9a0c8d52cc81bbbaa2af41d0852638510c75dfa68def959539b1522f8edcb7d2f278822680d5e3ee56150646cb24572821
diff --git a/app-misc/gcalcli/files/gcalcli-oauth2client.patch b/app-misc/gcalcli/files/gcalcli-oauth2client.patch
new file mode 100644
index 000000000000..2ad7a2981f82
--- /dev/null
+++ b/app-misc/gcalcli/files/gcalcli-oauth2client.patch
@@ -0,0 +1,30 @@
+--- a/gcalcli-3.3.2/gcalcli 2015-09-14 02:26:55.000000000 -0300
++++ b/gcalcli-3.3.2/gcalcli 2016-09-21 00:20:45.817051537 -0300
+@@ -190,7 +190,8 @@
+ from apiclient.errors import HttpError
+ from oauth2client.file import Storage
+ from oauth2client.client import OAuth2WebServerFlow
+- from oauth2client.tools import run
++ from oauth2client.tools import run_flow
++ from oauth2client.tools import argparser
+ except ImportError as e:
+ print "ERROR: Missing module - %s" % e.args[0]
+ sys.exit(1)
+@@ -665,14 +666,15 @@
+ credentials = storage.get()
+
+ if credentials is None or credentials.invalid:
+- credentials = run(
++ args, unknown = argparser.parse_known_args(sys.argv)
++ credentials = run_flow(
+ OAuth2WebServerFlow(
+ client_id=self.client_id,
+ client_secret=self.client_secret,
+ scope=['https://www.googleapis.com/auth/calendar',
+ 'https://www.googleapis.com/auth/urlshortener'],
+ user_agent=__program__ + '/' + __version__),
+- storage)
++ storage,args)
+
+ self.authHttp = credentials.authorize(httplib2.Http())
+
diff --git a/app-misc/gcalcli/gcalcli-3.2.ebuild b/app-misc/gcalcli/gcalcli-3.2.ebuild
new file mode 100644
index 000000000000..5278106779aa
--- /dev/null
+++ b/app-misc/gcalcli/gcalcli-3.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# google-api-python-client only supports these
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit python-r1
+
+DESCRIPTION="Google Calendar Command Line Interface"
+HOMEPAGE="https://github.com/insanum/gcalcli"
+SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
+ dev-python/gdata[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dodoc -r ChangeLog README.md docs
+ python_foreach_impl python_doscript ${PN}
+}
diff --git a/app-misc/gcalcli/gcalcli-3.3.2.ebuild b/app-misc/gcalcli/gcalcli-3.3.2.ebuild
new file mode 100644
index 000000000000..5278106779aa
--- /dev/null
+++ b/app-misc/gcalcli/gcalcli-3.3.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# google-api-python-client only supports these
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit python-r1
+
+DESCRIPTION="Google Calendar Command Line Interface"
+HOMEPAGE="https://github.com/insanum/gcalcli"
+SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
+ dev-python/gdata[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ dodoc -r ChangeLog README.md docs
+ python_foreach_impl python_doscript ${PN}
+}
diff --git a/app-misc/gcalcli/gcalcli-3.4.0.ebuild b/app-misc/gcalcli/gcalcli-3.4.0.ebuild
new file mode 100644
index 000000000000..43c611febff7
--- /dev/null
+++ b/app-misc/gcalcli/gcalcli-3.4.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# python-gflags doesn't support python3
+# parsedatetime doesn't support pypy
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1
+
+DESCRIPTION="Google Calendar Command Line Interface"
+HOMEPAGE="https://github.com/insanum/gcalcli"
+SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
+ dev-python/parsedatetime[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/python-gflags[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/gcalcli-oauth2client.patch"
+}
+
+src_install() {
+ dodoc -r ChangeLog README.md docs
+ python_foreach_impl python_doscript ${PN}
+}
diff --git a/app-misc/gcalcli/gcalcli-4.0.0_alpha3-r1.ebuild b/app-misc/gcalcli/gcalcli-4.0.0_alpha3-r1.ebuild
new file mode 100644
index 000000000000..ee26100ef277
--- /dev/null
+++ b/app-misc/gcalcli/gcalcli-4.0.0_alpha3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# python-gflags doesn't support python3
+# parsedatetime doesn't support pypy
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1 versionator
+
+MY_PV="4.0.0a3"
+
+DESCRIPTION="Google Calendar Command Line Interface"
+HOMEPAGE="https://github.com/insanum/gcalcli"
+SRC_URI="https://github.com/insanum/gcalcli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/gdata[${PYTHON_USEDEP}]
+ >=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
+ dev-python/parsedatetime[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/python-gflags[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/gcalcli-${MY_PV}"
+
+src_install() {
+ dodoc -r ChangeLog README.md docs
+ python_foreach_impl python_doscript ${PN}
+}
diff --git a/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild b/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild
new file mode 100644
index 000000000000..c4ebdd93fa56
--- /dev/null
+++ b/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# google-api-python-client only supports these
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit python-r1 versionator
+
+MY_PV="4.0.0a3"
+
+DESCRIPTION="Google Calendar Command Line Interface"
+HOMEPAGE="https://github.com/insanum/gcalcli"
+SRC_URI="https://github.com/insanum/gcalcli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/google-api-python-client[${PYTHON_USEDEP}]
+ dev-python/gdata[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/gcalcli-${MY_PV}"
+
+src_install() {
+ dodoc -r ChangeLog README.md docs
+ python_foreach_impl python_doscript ${PN}
+}
diff --git a/app-misc/gcalcli/metadata.xml b/app-misc/gcalcli/metadata.xml
new file mode 100644
index 000000000000..abed7bc8eb66
--- /dev/null
+++ b/app-misc/gcalcli/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">insanum/gcalcli</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gcstar/Manifest b/app-misc/gcstar/Manifest
new file mode 100644
index 000000000000..ee20bdecde01
--- /dev/null
+++ b/app-misc/gcstar/Manifest
@@ -0,0 +1,7 @@
+AUX gcstar-1.4.0-man.patch 902 SHA256 f75e4e4c38d8979963c760491aafc7668042fefff35a8b5c894eb9ab8f6ea0e1 SHA512 eb1f1ec1822927b5885350fd69f26e599afebe240cfdc01adde27894f37ebdfa2fe14fd0e5cda3e0f12acea622d852d5442fef1f08b4ab8e8238b9d1d5b56482 WHIRLPOOL b5117d201c9e262cc6502e6a0b3343263108e8919f461a8652255938cc2fe37aa09147d0c2eb2531675a35152db2ae912695f98b7645fd4e94d64f10a0771544
+AUX gcstar-1.7.0-gcstar.desktop.patch 796 SHA256 dd9cd1575bcbe97146b85e9ef48029267b577807cc0207a460b695d42bc457e9 SHA512 59ef9e55ffd607723b0cf833bf666ea4661db3af14b45425ba4b55de1d6144714eddf4cdbe17caddfa5a2876772c5c387a0fd06354c44fc8f3b26b83bba56150 WHIRLPOOL 441c6b9b12229b5624f62a1f423dd4eec2300df92c0888b9c220f8ba18b73dfff0f8675eed1d89d87464df8f80f6a28ee0b2875b4a720d4c28327c6c43ca85c7
+DIST gcstar-1.7.0.tar.gz 4506937 SHA256 3cd76231c5410653b241c5aa37dc8120f4f94c3bccb3290f97ac0347acad7039 SHA512 9cb22a7ee38bbeae67ffc6f649ef6e988da43a1f353b027bacbf14ffcca8a4c12ef28d64876b2171396315eae95f76708a1307255eabc3eed6776137e2ae7090 WHIRLPOOL 6ce65af3395f9319d1123446e616f6b983170f14736ed47e5b20184d8dccd57f858758393dcf384bf5f7df46dac200945e21c9303c71a1f280d11939bf21daa4
+EBUILD gcstar-1.7.0.ebuild 2858 SHA256 e3a25f2e0c90120dda25cffbacc3de6093b831e8563bb0322095a43ad2badf80 SHA512 32e4f5d31b14c9fe091a1cc2542c78728ab9ae09a0151cd98ff65b1acc9d15f4f0b58d08b0959b1e43f8748221df3d321e85e6d74465068f5f2639ebc7e74ab8 WHIRLPOOL 0d648ff83588cdc8d96dd587c4b1453970722991202b4430bd25762d719cfa03d1352566e79ba6e0e7a454dd36be46649596f3ba56be170f763b446180d41f55
+MISC ChangeLog 2248 SHA256 136191f4a066d00c38eadac600fc1d54b77e4b072fdd1f7f051a45d18a592c19 SHA512 eef1516cf2666b232b3639eba118fed2e9169266753e744a651bedfa3901a7c766d7ecbe6789f98ec1e5ce428e0e5a7d418da01e88275cc628df2c99299455b3 WHIRLPOOL c92de7f6f80e82acc0f462bfabcc8bc80913fa71a9c5db94e31bb559f41d68952380203de6dacc102e86f490cf6d46d7728667b646102d8f618294ca482818ea
+MISC ChangeLog-2015 1350 SHA256 ab9af39de0772139861dc81b3aa984c55d01f13880fa18c0832e776c7c2ae15e SHA512 3417abe7c4a7d9d740f7202557eff0713eb212164876dba538a93b385987a8f7331f002a52e5bab1f38c913a7d742779eb921312a93f961b20dfb3d9b7e3de11 WHIRLPOOL f7777e41cffff78b9f330bfefcc69a3ce803fc58b411ca533021e0e7300abf61677ef09e4fcf01c7fa05e8f3dc4e24ff46ab989731fc94ac56df26a08cc8701f
+MISC metadata.xml 967 SHA256 99f074c400e39552dd0b6096c20969f85dafea93403375090e23d60f70065640 SHA512 0a7c5e4cd287e6c7d9f6bcbb3e406a19511410e3ea7498ff11fe00df89739bff959b0a1af38410f9a226fe850005bf0b604b3c2c0690adf5ba75fcfcd86183a0 WHIRLPOOL a7efc97ff02d39fd65614256a5410fc68cb185645067ecda9a20476c8e55eeb7cdfde1ef7eee67c117f6a318dcacbdca958b7ce899a72ba3c8bb7cb924ebabe1
diff --git a/app-misc/gcstar/files/gcstar-1.4.0-man.patch b/app-misc/gcstar/files/gcstar-1.4.0-man.patch
new file mode 100644
index 000000000000..dfcade74c740
--- /dev/null
+++ b/app-misc/gcstar/files/gcstar-1.4.0-man.patch
@@ -0,0 +1,26 @@
+Install man files in /usr/share/man, not /usr/man
+
+--- gcstar/install 2008-03-04 22:56:00.000000000 -0500
++++ gcstar-1.4.0/install 2008-06-06 18:16:17.819918815 -0400
+@@ -107,7 +107,7 @@
+ }
+
+ unlink $baseDir.'/bin/'.$binName;
+- unlink $baseDir.'/man/man1/'.$binName.'.1.gz';
++ unlink $baseDir.'/share/man/man1/'.$binName.'.1.gz';
+
+ # remove menu and mime items
+
+@@ -187,9 +187,9 @@
+ mkpath $baseDir.'/bin';
+ copy 'bin/gcstar', $baseDir.'/bin/'.$binName;
+
+- verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/man/man1';
+- mkpath $baseDir.'/man/man1';
+- my $manPage = "$baseDir/man/man1/$binName.1";
++ verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/man/man1';
++ mkpath $baseDir.'/share/man/man1';
++ my $manPage = "$baseDir/share/man/man1/$binName.1";
+ copy 'man/gcstar.1', $manPage;
+ `gzip -f $manPage 2>&1 >/dev/null`;
+
diff --git a/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch b/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch
new file mode 100644
index 000000000000..62b6a7b47401
--- /dev/null
+++ b/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch
@@ -0,0 +1,23 @@
+From e78617436de63141cd4ff6e42fc0391a9a00d80a Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Sat, 8 Sep 2012 18:14:40 -0400
+Subject: [PATCH] gcstar.desktop: MimeType list must be terminated with ';'
+
+Needed for gcstar.desktop to pass validation with desktop-file-utils-0.20
+---
+ gcstar/share/applications/gcstar.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gcstar/share/applications/gcstar.desktop b/gcstar/share/applications/gcstar.desktop
+index aa6a46d..c7a146e 100644
+--- a/gcstar/share/applications/gcstar.desktop
++++ b/gcstar/share/applications/gcstar.desktop
+@@ -15,4 +15,4 @@ Terminal=false
+ StartupNotify=true
+ Type=Application
+ Categories=Office;
+-MimeType=application/x-gcstar
++MimeType=application/x-gcstar;
+--
+1.7.12
+
diff --git a/app-misc/gcstar/gcstar-1.7.0.ebuild b/app-misc/gcstar/gcstar-1.7.0.ebuild
new file mode 100644
index 000000000000..7d283d97551b
--- /dev/null
+++ b/app-misc/gcstar/gcstar-1.7.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils fdo-mime gnome2-utils
+
+DESCRIPTION="Manage your collections of movies, games, books, music and more"
+HOMEPAGE="http://www.gcstar.org/"
+SRC_URI="http://download.gna.org/gcstar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="cddb gnome mp3 spell stats tellico vorbis"
+
+RDEPEND="dev-lang/perl
+ dev-perl/Archive-Zip
+ dev-perl/DateTime-Format-Strptime
+ dev-perl/Gtk2
+ dev-perl/HTML-Parser
+ dev-perl/libwww-perl
+ dev-perl/URI
+ dev-perl/XML-Parser
+ dev-perl/XML-Simple
+ virtual/perl-Archive-Tar
+ virtual/perl-Encode
+ virtual/perl-Getopt-Long
+ virtual/perl-File-Path
+ virtual/perl-File-Spec
+ virtual/perl-File-Temp
+ virtual/perl-IO-Compress
+ virtual/perl-libnet
+ virtual/perl-Storable
+ virtual/perl-Time-Piece
+
+ cddb? ( dev-perl/Net-FreeDB )
+ gnome? ( dev-perl/gnome2-vfs-perl )
+ mp3? ( dev-perl/MP3-Info dev-perl/MP3-Tag )
+ spell? ( dev-perl/gtk2-spell )
+ stats? ( dev-perl/Date-Calc
+ dev-perl/GD[png,truetype] )
+ tellico? ( virtual/perl-Digest-MD5
+ virtual/perl-MIME-Base64 )
+ vorbis? ( dev-perl/Ogg-Vorbis-Header-PurePerl )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.4.0-man.patch"
+ epatch "${FILESDIR}/${P}-gcstar.desktop.patch"
+}
+
+src_install() {
+ if [[ -n ${LINGUAS+set} ]]; then
+ # LINGUAS is set, let's try to respect it.
+ pushd lib/gcstar/GCLang > /dev/null
+
+ mkdir tmp || die "mkdir failed"
+ mv ?? ZH_CN tmp || die "mv 1 failed"
+ # English version should be always available so we will keep it
+ mv tmp/EN . || die "mv 2 failed"
+
+ for x in ${LINGUAS}; do
+ if [[ ${x} = "zh_CN" ]]; then
+ mv "tmp/ZH_CN" . || die "mv 3 failed"
+ else
+ # GCstar uses upper-case, 2-letter language codes
+ d=$(echo ${x} | tr '[:lower:]' '[:upper:]' | sed -e 's:_.*::')
+ if [[ -d "tmp/${d}" ]]; then
+ mv "tmp/${d}" . || die "mv 5 failed"
+ fi
+ fi
+ done
+
+ rm -rf tmp
+ popd > /dev/null
+ fi
+
+ # Yes, ED *is* needed here. gcstar's install lacks any concept of DESTDIR.
+ ./install --prefix="${ED}usr" \
+ --noclean --nomenu || die "install script failed"
+
+ domenu share/applications/gcstar.desktop
+ for size in 16 22 24 32 36 48 64 72 96 128 256
+ do
+ insinto /usr/share/icons/hicolor/${size}x${size}/apps
+ newins share/gcstar/icons/gcstar_${size}x${size}.png gcstar.png
+ done
+ insinto /usr/share/icons/hicolor/scalable/apps
+ newins share/gcstar/icons/gcstar_scalable.svg gcstar.svg
+ insinto /usr/share/mime/packages
+ doins share/applications/gcstar.xml
+
+ dodoc CHANGELOG README README.fr
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/gcstar/metadata.xml b/app-misc/gcstar/metadata.xml
new file mode 100644
index 000000000000..282c4fff288e
--- /dev/null
+++ b/app-misc/gcstar/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tetromino@gentoo.org</email>
+ <name>Alexandre Rostovtsev</name>
+ </maintainer>
+ <longdescription lang="en">
+ GCstar is an application for managing your collections. It supports many
+ types of collections, including movies, books, games, comics, stamps,
+ coins, and many more. You can even create your own collection type for
+ whatever unique thing it is that you collect! Detailed information on
+ each item can be automatically retrieved from the internet and you can
+ store additional data, such as the location or who you've lent it to.
+ You may also search and filter your collections by many criteria.
+ </longdescription>
+ <use>
+ <flag name="stats">Enable statistics reporting</flag>
+ <flag name="tellico">Enable support for <pkg>kde-misc/tellico</pkg>
+ files</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/geekcode/Manifest b/app-misc/geekcode/Manifest
new file mode 100644
index 000000000000..0c62076284a1
--- /dev/null
+++ b/app-misc/geekcode/Manifest
@@ -0,0 +1,6 @@
+AUX geekcode-1.7.3-exit.patch 276 SHA256 83d94b9bbf27dfb09566bb792ee8c2e3a9e7166958120840c0cf3afd04b26d2f SHA512 eb8161f72166c6c03c9b6a6355a3bc6fda6aa415a3cb7e9b7d8643de9b7a414249a42d5816e191e739a433b6633b146b5058ef43ca959775b8dacf8ed9cb44bc WHIRLPOOL dbf99aa0d6568ac03c02f7f85397d7c6d789835d11f7b09bebbac7c9889be541bee7bac71630cee38b1ad3acbf4132cd136293da59c7035507328c79811a205e
+DIST geekcode-1.7.3.tar.gz 60617 SHA256 7244972147f8855864df497f52531dbb2b3e6b9ffd2a0ce2f97e7626d166495e SHA512 eca8489dafee507246538bbb8d35cc17c5712571603bad1f470803883cdbaf9658769df77e214704b6a5adec382f76e599a2f6c48ec3759861159ac626131bfa WHIRLPOOL 4274d841946871dc42fc2c254a9b2ad2281c5650c2a3cc942ad412891980810fc2ef6a3d5a64b16ef3bb7d7fe1ee2057d7277dd1899129afa4adeb975752261e
+EBUILD geekcode-1.7.3-r1.ebuild 701 SHA256 eebb15001984ba9d035cf014cb6450d35f5417da1b62bd866e0dbde0398ded92 SHA512 80ca3aa983a600e4f2e842b7a8c79a0b4804153cdb05f931d781558414740da9a34814cfcc141d6f77a70bd9449aa6056d3d93fc2dbb328438d40af4b2642a0d WHIRLPOOL f6699794ac5581d16aa72fed322f615ccd2921a2e585ea3b162523b712e590273c4dfcdd58f14ebc6db00c6bafba32a89f9eedd9e04ea39678cef7bf0ba36131
+MISC ChangeLog 2335 SHA256 d7fc868f0dc3c947c43692811ccb31df6f615df754540e59189c66bc4b22d960 SHA512 18b628f91e994ca8ba53b94ab52e604ead4ce65b4d5b10052b6e2200a7e1c938cf239e5fa0a2f5bb24d1ba2566590c44a4f8c4786aceb12c012fafa4e523a0bc WHIRLPOOL 2fda523bc5054137dabecbb840dac7ad6c9d5a2a0144e26a7f67facfccc947de797047a765e76c0e17f4aa5b2825bb04478d312597cc935dab90f60f3999c162
+MISC ChangeLog-2015 4309 SHA256 c72de3ef539a9ccbead09941a75197c7ed9f14f4c88ece5ab16756b1274891c0 SHA512 5352a2b95a699a8433d08d801075ed494b09a02feb83ef6b1227de0edb5bf311823488c574dba148fcfc7fb456d989128f7a0f8ae20997fcb09b2e9cd1ee8274 WHIRLPOOL f8f3aa69e32fc48d13cce4a0a439a14814bb3a44ced360085adb9d06ec01f3e5cef138c8c40ad0d9af018bfd28beb138e1aade6339ad6e7ac1a152ecd53ac738
+MISC metadata.xml 325 SHA256 72f9e0e018a72c524ba6efe9c4b75aefc44eff5688af479566798b5e6baf4718 SHA512 53919d4488a8dd446a22f6d5017d7ba41d1e510a66be9a24cf20b50a9eb047b2c771518b5bc1b2c5c58b7c34ab6465f80a40cda72594586f23f96c39bf0208f4 WHIRLPOOL 4d741e53e45748d23a16e68de9f8f8486dd5b40403bd727d1bff8ea705c12dd1695cb8612abd7670da91df5b58f977b9f6074fa8ead8addd845076bce801fbfa
diff --git a/app-misc/geekcode/files/geekcode-1.7.3-exit.patch b/app-misc/geekcode/files/geekcode-1.7.3-exit.patch
new file mode 100644
index 000000000000..23eba06a52eb
--- /dev/null
+++ b/app-misc/geekcode/files/geekcode-1.7.3-exit.patch
@@ -0,0 +1,10 @@
+--- geekcode.h.orig 2003-06-30 16:47:40.000000000 +0200
++++ geekcode.h 2010-12-30 19:14:51.000000000 +0100
+@@ -22,6 +22,7 @@
+ #ifndef __INCLUDED_GEEKCODE_H__
+ #define __INCLUDED_GEEKCODE_H__
+
++#include <stdlib.h> /* exit() */
+
+ #define VERSION "1.7.3" /* Added in v1.2 */
+
diff --git a/app-misc/geekcode/geekcode-1.7.3-r1.ebuild b/app-misc/geekcode/geekcode-1.7.3-r1.ebuild
new file mode 100644
index 000000000000..72026a803e16
--- /dev/null
+++ b/app-misc/geekcode/geekcode-1.7.3-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Geek code generator"
+HOMEPAGE="https://sourceforge.net/projects/geekcode"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~mips ppc ppc64 x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+src_prepare() {
+ eapply -p0 "${FILESDIR}/${P}-exit.patch"
+ sed -i Makefile -e 's| -o | ${LDFLAGS}&|g' || die "sed Makefile"
+
+ eapply_user
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin geekcode
+ dodoc CHANGES README geekcode.txt
+}
diff --git a/app-misc/geekcode/metadata.xml b/app-misc/geekcode/metadata.xml
new file mode 100644
index 000000000000..08dd382f3c44
--- /dev/null
+++ b/app-misc/geekcode/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">geekcode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/geneweb/Manifest b/app-misc/geneweb/Manifest
new file mode 100644
index 000000000000..7fa2be98dc02
--- /dev/null
+++ b/app-misc/geneweb/Manifest
@@ -0,0 +1,15 @@
+AUX geneweb-6.07-gentoo.patch 781 SHA256 350e51a521ccac1790b5fc901b9ba51c2f884d16063ae7520cc4f7d2545a4545 SHA512 21408c7a4eba583242d751da6c688c2f175bb81fabac92644c936acd9bde5a9322e21f21306af7f53c261432f941e149219c045f21afab4401da98d7a004d69e WHIRLPOOL e74d266be237d10ca4a90ff01a9bb34f387e653a91a68ad4dc3a9d353839c969eee3e5438823c4649da2d317aa02d2d333e150d6ff98dd353eeeb1a7139d51ba
+AUX geneweb-6.07-parallellbuild.patch 2823 SHA256 79b61f7d0208eb242fb2d90c8fd7bcb3c8209b47b5ca978cef5b603dfff69b5d SHA512 0eced445bff368ebe4f5b8a09653cdc4444c3ae956aeade9b64728136d9334b1cee18e891273308b64ecf819c9ef0937be82b15ee0a9c739ba2c19967f5e2934 WHIRLPOOL 5fb4bc7f0d8f59436f4c88cfc881715b3f2f748fe962601dbc9d5b9f6e0a2551203a4e1338dcc200a7bf5aede69c9e68f032f15a7594585ca06624d80f62471b
+AUX geneweb-6.08-parallellbuild.patch 1264 SHA256 cb9e96349d8389022fb28c3d99295e1340517fe0b547c5c4b2afeb6889e89be6 SHA512 2912f591f0c771b9bc039871416bd74364fe4a0c17200ea191033a3d12c4de4e088ddd24829ef07acb918e0f8be91671112ae7ebe0593b96a66945b6c18ecedf WHIRLPOOL 44e1908c65e43fbee848adc7ba64dea9df81de9434e464e2a4b28f44e9e19e27ca1c86386ccd86cb01a395692407ef3873a5cc0e4300b7466a07410d2369a74e
+AUX geneweb-6.08-r1-gentoo.patch 865 SHA256 5d84372675cc430cef44c9b0d7fd185152bfb74bab91602b1976f312af128b27 SHA512 d4e74036384123884487458a5c3ae1f35ab39b87e31239c92f800fa5e758efdb52dc4cf84686295daec78e93cf06099a1738cc1a13add659547a44352999c3b5 WHIRLPOOL 3e536ebb65e6eb40fed69522fc474afb831a64495dae253a5c53bd4dfd26ca85779756ab50b4b0cafacfd4e7e2c713297aaac206e3ca932ac7500bc44c67c7a1
+AUX geneweb.confd 67 SHA256 0b2044dc633d95f953b9af6964a54c07d60784dda03c970dba97ca1026c016f1 SHA512 5d7e373c042ba1de97261807cf3b223157c0f383106b4fb2f2b04de21214218ad3a6e0f097101d45cb61e74d90d060ead93dc6e79a125ad97a0126690ae732b3 WHIRLPOOL 03be4026c4f23ebc6a73d3690318cd27616e23f31893645edae8cd257fd11b38b63feb52d2f91445ab1bef1b1ba20e609d837157c9d0102b771458d1ea1085b7
+AUX geneweb.initd 429 SHA256 4371c328217c7d7fa2e350aa1021cfc691696a9501a9915e5c04fc0f5e59ef3a SHA512 8daa663aa7d7f614ddd709616411b2078dad492813de80dd9be9866c61a1ed97c41b28ec94fece79648e2c587b991ab0820e6601891add6d0c6867fe82782eb8 WHIRLPOOL 1a7b310bc7a296d0ac91f6b07c9a858449b86b13a65b0b6e32b2f88ffdb509d44d66d0acd03988545907b2917039449d8160af407820464616ff70c021b1cfcb
+DIST geneweb-6.07-reduce-utf8.ml.patch.gz 185409 SHA256 cc5b7d30333e8c7b187b83106189b5e63a7d423c2e500b77b5d087cd8cd239fa SHA512 d6b71fc6d3a1488f6e96e65ab0c942c08b9e0307b2d06c9bb97fde0c2e35af2fb4b52011024e67550e608603eacfaf5ee312c99c9228edfedc2dbe82745de227 WHIRLPOOL 75e30b8ef19803dcc6f391fc798c2bb4d4e4fa685d0d5d060dcb1a9ad676a45f5016fef2e6306019876d0d30d662ee3f67f361267a2829b2ce679836c573104c
+DIST geneweb-6.08-ocaml-4.patch.gz 22259 SHA256 11d5f5ceb30b734d4475d26f3e5aafd49337185d81bee354f13691f82d627073 SHA512 333a9ca899bf454e1c534f6c890b5cbe842821573b39e9d0e432cfbdf30dbe3a495a5ecb5a9b4a00882ee51bbb3ec1ca4b417e34050a7f84e434d0424c126def WHIRLPOOL b5f25b93487a08339bea1c1709b214497ef23388fb5dc2e1d5fcacf7defbe92ca8e5d865142eacb62895240539193ed301fe329e84690fe63d4b630bded01534
+DIST geneweb-6.08.tar.gz 1791450 SHA256 ba5724f8b6a4c823760642d31eaed713ac04c1000ef6f8e4a19ff748baa058bf SHA512 7f1d552342e8a5b05961be75c1afb768853f22cc7eb4477fa63d6a3af29ea852862ce043ae89cd1589ede20fe561ad7d77ab757cc1ecb26ce1473f0e3621b835 WHIRLPOOL 81e125e5f0431f25d42ae4068708fae22341b802c68efde1d4e5494090d4644a249f41989e3a29f6ebb4a0d3c91cd35bdde996194cb4c34502bc22d75a2c8f90
+DIST gw-6.07-src.tgz 1855016 SHA256 c1ecc337f8bce4d8509ca49081d098b5a44ddb6407208496e55e9a38d6bfb1f6 SHA512 719884af80809b25946175731ae20b280e13f6e18471903d2222928c11838a2a92a43f03dd8152b7b01dfcaf45fbd942035f4b54f049899ea134cd161cfc971d WHIRLPOOL 70305616cafcb9476814e3fe8355571611fef4eabe022afd2f3b92c3a9c9c6bc2be69a37532e4b04cc16e9ce8979abda1b103f4606a8784bf64caa0c1b9ff5e5
+EBUILD geneweb-6.07.ebuild 2093 SHA256 1499bed651e4c525e3b9be36ab13fbff0b78d0b118b76373a459cf96408a039b SHA512 d99d8e7982507a8bf5e693b68661ac295aec991319735300ee5368fa95d4d047aff0ea4306c655f4b92bd72a5a482172f3e20b5a43e45523e275744ce5bc0a24 WHIRLPOOL 5b5fdac3d6a2e65062356a2edfb376a19b2100ffea8a43132ea07586e94a09f77f8322d691274abe4a8d74040a6e5959f0dd506d4184b81c4008b7ef70590e08
+EBUILD geneweb-6.08-r1.ebuild 2001 SHA256 1169ce4466f218740fc7bfc13e9b311a9c20ad7bf9c633c0b5bbbabfc998227d SHA512 d7473dab32d1725b2f22faad0ca1997b11d41154fd1a7a336b0e84c4e1fd0a3c230dca334a2b7d771543665ba4748382c319654d3634b4f934a18470f713b0e0 WHIRLPOOL 82f7cc34e5802e995f9fa694a78df47f5ce56108fb9bb206a9dab9d1b2a28bc0b3618b3cf51ba66d03a2a40d5989644b2925366e2dca81401c73ae72156699ec
+MISC ChangeLog 2821 SHA256 6bdf3fdd7fe040346b33aeb3efef22d4f84c1a42e5ec1a1c50bf68221e6922b5 SHA512 5e8ef4e9c4e29ba975ac3045a107f20ab9e72ab5b5d4bb5b35fdcbfc89e68dd7ffedaa4da88b65e8c8767b4d12b3b44d7ee63abece1d6b67838d311a688a13ff WHIRLPOOL a13afe8931319f6cba92457a8aeb71c4d7cc880c6ccafdb25b4b17030eba020459ebe43f876d48e20cb21fcb7c207e782d5b95b79bc1e35c6efff5ed10eb87e3
+MISC ChangeLog-2015 5741 SHA256 cf2718ba12ba71ff6c4862701777ca5cc9aba3ab184c3a6bfe6abb81aa007387 SHA512 51cefbba16d9f642f0005a6535b48a559aa8b3b8f94f6be3c60efd5056a3d07592630aad6faeea718c7847ea3e1b519367d736aa84614320666c0874fa8c159f WHIRLPOOL 8a4f2c758fc6787e8dce029f5610e82168571c4d59cc5616ff5267fd9eb6a09c6aaff17b3cbafd12c772ab4ecf5781decb16c0f1cef9a5662c6fca2a1fdc0a27
+MISC metadata.xml 779 SHA256 a01308e9fcdbb5e38e481e4a31f6013f9cb39aace3119c3707a012aace13d411 SHA512 e58122b92b708659fa9da568bec289c2abfb4d76762e4cef948649651d3ae2c3509c8edbd4cfeb124ace65c483852a3c5df1c37b623be33d466afafb17b20737 WHIRLPOOL d0c968e44a7341f7e701000aaf326ec45a867e9f7b7886ddf31b497d6a9132e55860ff60419ddee60c1673f02e465fd53f940809f73269f55fe9aa67e336a1a9
diff --git a/app-misc/geneweb/files/geneweb-6.07-gentoo.patch b/app-misc/geneweb/files/geneweb-6.07-gentoo.patch
new file mode 100644
index 000000000000..a7cdff7a44c5
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb-6.07-gentoo.patch
@@ -0,0 +1,30 @@
+--- setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200
++++ setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
+@@ -5,8 +5,8 @@
+
+ value port = ref 2316;
+ value default_lang = ref "en";
+-value setup_dir = ref ".";
+-value bin_dir = ref "";
++value setup_dir = ref "/usr/share/geneweb";
++value bin_dir = ref "/usr/bin";
+ value lang_param = ref "";
+ value only_file = ref "";
+
+--- tools/Makefile.inc.unix.old 2008-04-23 15:22:50.000000000 +0200
++++ tools/Makefile.inc.unix 2008-04-23 15:23:04.000000000 +0200
+@@ -5,11 +5,11 @@
+ CAMLP5F=-DUNIX
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -warn-error A
+-OCAMLOPT=ocamlopt.opt -warn-error A
++OCAMLC=ocamlc.opt
++OCAMLOPT=ocamlopt.opt
+ OCAMLI=
+ OCAMLD=
+-STRIP=strip
++STRIP=true
+ RM=/bin/rm -f
+ EXE=
+ STATIC=-ccopt -static
diff --git a/app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch b/app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch
new file mode 100644
index 000000000000..cb1a5b0125e9
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb-6.07-parallellbuild.patch
@@ -0,0 +1,68 @@
+--- wserver/Makefile.old 2011-03-11 13:47:04.000000000 +0100
++++ wserver/Makefile 2011-03-11 13:47:20.000000000 +0100
+@@ -4,8 +4,10 @@
+
+ OBJS=wserver.cmo
+
+-all:: pa_macro5.cmo $(OBJS)
++all:: pa_macro5.cmo
++ $(MAKE) $(OBJS)
+-opt:: pa_macro5.cmo $(OBJS:.cmo=.cmx)
++opt:: pa_macro5.cmo
++ $(MAKE) $(OBJS:.cmo=.cmx)
+
+ pa_macro5.cmo: pa_macro5.ml
+ camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml
+--- src/Makefile.old 2013-04-18 21:29:52.727049806 +0200
++++ src/Makefile 2013-04-18 21:30:58.838414496 +0200
+@@ -153,6 +153,8 @@
+ ) | \
+ sort | uniq | grep -v '^$$' > i18n
+
++config.cmi: gwdb.cmi
++
+ always:
+
+ depend:
+--- src/.depend.old 2014-07-17 09:18:26.882149121 +0200
++++ src/.depend 2014-07-17 09:19:07.981770328 +0200
+@@ -162,7 +162,7 @@
+ mutil.cmx notesLinks.cmx progrBar.cmx secure.cmx select.cmx
+ history.cmo: adef.cmi buff.cmo config.cmi date.cmi def.cmi gutil.cmi \
+ gwdb.cmi hutil.cmi mutil.cmi secure.cmi templ.cmi templAst.cmi util.cmi \
+- history_diff.cmi ../wserver/wserver.cmi history.cmi
++ history_diff.cmo ../wserver/wserver.cmi history.cmi
+ history.cmx: adef.cmx buff.cmx config.cmi date.cmx def.cmi gutil.cmx \
+ gwdb.cmx hutil.cmx mutil.cmx secure.cmx templ.cmx templAst.cmi util.cmx \
+ history_diff.cmx ../wserver/wserver.cmx history.cmi
+--- ged2gwb/.depend.old 2014-07-17 09:23:02.119612299 +0200
++++ ged2gwb/.depend 2014-07-17 09:23:53.987134380 +0200
+@@ -1,7 +1,7 @@
+ ged2gwb2.cmo: ../src/adef.cmi ../src/ansel.cmo ../src/argl.cmo \
+ ../src/buff.cmo ../src/calendar.cmi ../src/db2link.cmi ../src/def.cmi \
+ ../src/futil.cmi ../src/gwcomp.cmi ../src/lock.cmi ../src/mutil.cmi \
+- ../src/name.cmi ../src/secure.cmi ./utf8.cmi
++ ../src/name.cmi ../src/secure.cmi ./utf8.cmo
+ ged2gwb2.cmx: ../src/adef.cmx ../src/ansel.cmx ../src/argl.cmx \
+ ../src/buff.cmx ../src/calendar.cmx ../src/db2link.cmx ../src/def.cmi \
+ ../src/futil.cmx ../src/gwcomp.cmx ../src/lock.cmx ../src/mutil.cmx \
+@@ -10,7 +10,7 @@
+ ../src/buff.cmo ../src/calendar.cmi ../src/check.cmi \
+ ../src/checkItem.cmi ../src/dbdisk.cmi ../src/def.cmi ../src/gwdb.cmi \
+ ../src/lock.cmi ../src/mutil.cmi ../src/name.cmi ../src/outbase.cmi \
+- ../src/secure.cmi ./utf8.cmi
++ ../src/secure.cmi ./utf8.cmo
+ ged2gwb.cmx: ../src/adef.cmx ../src/ansel.cmx ../src/argl.cmx \
+ ../src/buff.cmx ../src/calendar.cmx ../src/check.cmx \
+ ../src/checkItem.cmx ../src/dbdisk.cmi ../src/def.cmi ../src/gwdb.cmx \
+--- Makefile.old 2014-10-30 08:36:50.308668062 +0100
++++ Makefile 2014-10-30 08:37:13.204451602 +0100
+@@ -65,7 +65,7 @@
+
+ distrib: new_distrib wrappers
+
+-wrappers:
++wrappers: new_distrib
+ if test "$(CAMLP5F)" = "-DWIN95"; then \
+ echo -ne 'setlocal enableextensions\r\n' > $(DESTDIR)/gwd.bat; \
+ echo -ne 'md bases\r\n' >> $(DESTDIR)/gwd.bat; \
diff --git a/app-misc/geneweb/files/geneweb-6.08-parallellbuild.patch b/app-misc/geneweb/files/geneweb-6.08-parallellbuild.patch
new file mode 100644
index 000000000000..71cfab667fc1
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb-6.08-parallellbuild.patch
@@ -0,0 +1,31 @@
+--- geneweb-6.08/wserver/Makefile.old 2017-01-09 21:15:00.328750224 +0100
++++ geneweb-6.08/wserver/Makefile 2017-01-09 21:15:16.825751748 +0100
+@@ -11,6 +11,8 @@
+ camlp5r pa_extend.cmo q_MLast.cmo -o pa_macro5.ppo pa_macro5.ml
+ ocamlc -c -I "`camlp5 -where`" -impl pa_macro5.ppo
+
++wserver.cmi: pa_macro5.cmo
++
+ depend:
+ TOP=.. ../tools/camlp5_depend.sh $(OCAMLI) *.ml* > .depend
+
+--- geneweb-6.08/src/.depend.old 2017-01-09 21:36:25.644868941 +0100
++++ geneweb-6.08/src/.depend 2017-01-09 21:37:04.994872576 +0100
+@@ -39,7 +39,7 @@
+ check_base.cmx: check.cmx def.cmi gwdb.cmx secure.cmx
+ compilation.cmo: def.cmi util.cmi
+ compilation.cmx: def.cmi util.cmx
+-config.cmi: def.cmi
++config.cmi: def.cmi gwdb.cmi
+ consang.cmo: adef.cmi def.cmi gwdb.cmi consang.cmi
+ consang.cmx: adef.cmx def.cmi gwdb.cmx consang.cmi
+ consang.cmi: def.cmi gwdb.cmi
+@@ -311,7 +311,7 @@
+ num.cmi perso.cmi ../wserver/wserver.cmi
+ searchName.cmx: adef.cmx buff.cmx checkItem.cmx config.cmi date.cmx def.cmi \
+ gutil.cmx gwdb.cmx hutil.cmx mutil.cmx name.cmx util.cmx \
+- num.cmx perso.cmx ../wserver/wserver.cmx
++ num.cmx perso.cmx ../wserver/wserver.cmx some.cmo
+ secure.cmo: secure.cmi
+ secure.cmx: secure.cmi
+ select.cmo: adef.cmi def.cmi gutil.cmi gwdb.cmi name.cmi
diff --git a/app-misc/geneweb/files/geneweb-6.08-r1-gentoo.patch b/app-misc/geneweb/files/geneweb-6.08-r1-gentoo.patch
new file mode 100644
index 000000000000..e5a43be720ee
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb-6.08-r1-gentoo.patch
@@ -0,0 +1,30 @@
+--- geneweb-6.08/setup/setup.ml.old 2007-08-07 19:25:13.000000000 +0200
++++ geneweb-6.08/setup/setup.ml 2007-08-07 19:24:59.000000000 +0200
+@@ -5,8 +5,8 @@
+
+ value port = ref 2316;
+ value default_lang = ref "en";
+-value setup_dir = ref ".";
+-value bin_dir = ref "";
++value setup_dir = ref "/usr/share/geneweb";
++value bin_dir = ref "/usr/bin";
+ value lang_param = ref "";
+ value only_file = ref "";
+
+--- geneweb-6.08/tools/Makefile.inc.unix.old 2017-03-06 08:15:45.334667626 +0100
++++ geneweb-6.08/tools/Makefile.inc.unix 2017-03-06 08:16:10.162223399 +0100
+@@ -6,11 +6,11 @@
+ CAMLP5F=-DUNIX
+ CAMLP5D=+camlp5
+ LIBUNIX=-cclib -lunix
+-OCAMLC=ocamlc.opt -w -3 -warn-error +a-52
+-OCAMLOPT=ocamlopt.opt -w -3 -warn-error +a-52
++OCAMLC=ocamlc.opt -w -3
++OCAMLOPT=ocamlopt.opt -w -3
+ OCAMLI=
+ OCAMLD=
+-STRIP=strip
++STRIP=true
+ RM=/bin/rm -f
+ EXE=
+ STATIC=-ccopt -static
diff --git a/app-misc/geneweb/files/geneweb.confd b/app-misc/geneweb/files/geneweb.confd
new file mode 100644
index 000000000000..3a93f09d8f19
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb.confd
@@ -0,0 +1,6 @@
+#
+# GeneWeb Configuration Data
+#
+
+# The default language
+LANG="it"
diff --git a/app-misc/geneweb/files/geneweb.initd b/app-misc/geneweb/files/geneweb.initd
new file mode 100644
index 000000000000..bd0649193bdb
--- /dev/null
+++ b/app-misc/geneweb/files/geneweb.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting geneweb server"
+ start-stop-daemon -S -u geneweb -x /usr/bin/gwd -- -bd /var/lib/geneweb -lang $LANG -log /var/log/geneweb.log -daemon
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping geneweb server"
+ start-stop-daemon -K -u geneweb -x /usr/bin/gwd
+ eend $?
+}
diff --git a/app-misc/geneweb/geneweb-6.07.ebuild b/app-misc/geneweb/geneweb-6.07.ebuild
new file mode 100644
index 000000000000..77ac63d3ce37
--- /dev/null
+++ b/app-misc/geneweb/geneweb-6.07.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils user
+
+MY_PN=gw
+MY_PV=${PV/./-}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Genealogy software program with a Web interface"
+HOMEPAGE="http://opensource.geneanet.org/projects/geneweb"
+SRC_URI="http://opensource.geneanet.org/attachments/download/240/${MY_P}-src.tgz
+ mirror://gentoo/${P}-reduce-utf8.ml.patch.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-lang/ocaml[ocamlopt?]
+ dev-ml/camlp5[ocamlopt?]"
+DEPEND="${RDEPEND}
+ !net-p2p/ghostwhitecrab"
+
+S=${WORKDIR}/gw-${PV}-src
+
+src_prepare() {
+ esvn_clean
+ epatch "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-parallellbuild.patch \
+ ../${P}-reduce-utf8.ml.patch
+}
+
+src_compile() {
+ if use ocamlopt; then
+ emake
+ else
+ emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out
+ # If using bytecode we dont want to strip the binary as it would remove
+ # the bytecode and only leave ocamlrun...
+ export STRIP_MASK="*/bin/*"
+ fi
+}
+
+src_install() {
+ dodoc ICHANGES
+ emake distrib
+ # Install doc
+ cd distribution
+ dodoc CHANGES.txt
+ # Install binaries
+ cd gw
+ dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb ged2gwb2 gwb2ged gwsetup
+ insinto /usr/lib/${PN}
+ doins -r gwtp_tmp/*
+ dodoc a.gwf
+ insinto /usr/share/${PN}
+ doins -r etc images lang setup gwd.arg only.txt
+
+ cd ../..
+
+ # Install binaries
+ dobin src/check_base
+ # Install manpages
+ doman man/*
+
+ # Install doc
+ insinto /usr/share/doc/${PF}/contrib
+ doins -r contrib/{gwdiff,misc}
+
+ newinitd "${FILESDIR}/geneweb.initd" geneweb
+ newconfd "${FILESDIR}/geneweb.confd" geneweb
+}
+
+pkg_postinst() {
+ enewuser geneweb "" "/bin/bash" /var/lib/geneweb
+ einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the"
+ einfo "instructions on the README in that directory to use it"
+ einfo "For 64 bits architecture you need to rebuild the database"
+ einfo "\"gwu foo > foo.gw \" will save the database (use the previous"
+ einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it "
+ einfo "(usiing the current package)"
+}
diff --git a/app-misc/geneweb/geneweb-6.08-r1.ebuild b/app-misc/geneweb/geneweb-6.08-r1.ebuild
new file mode 100644
index 000000000000..fd05d1690573
--- /dev/null
+++ b/app-misc/geneweb/geneweb-6.08-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils user
+
+DESCRIPTION="Genealogy software program with a Web interface"
+HOMEPAGE="http://opensource.geneanet.org/projects/geneweb"
+SRC_URI="https://github.com/geneweb/geneweb/archive/v6.08.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~tupone/${P}-ocaml-4.patch.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-lang/ocaml[ocamlopt?]
+ dev-ml/camlp5[ocamlopt?]"
+DEPEND="${RDEPEND}
+ !net-p2p/ghostwhitecrab"
+
+PATCHES=(
+ "${WORKDIR}"/${P}-ocaml-4.patch
+ "${FILESDIR}"/${PF}-gentoo.patch
+ "${FILESDIR}"/${P}-parallellbuild.patch )
+
+src_compile() {
+ if use ocamlopt; then
+ emake
+ else
+ emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out
+ # If using bytecode we dont want to strip the binary as it would remove
+ # the bytecode and only leave ocamlrun...
+ export STRIP_MASK="*/bin/*"
+ fi
+}
+
+src_install() {
+ dodoc ICHANGES
+ emake distrib
+ # Install doc
+ cd distribution
+ dodoc CHANGES.txt
+ # Install binaries
+ cd gw
+ dobin gwc gwc1 gwc2 consang gwd gwu update_nldb ged2gwb ged2gwb2 gwb2ged gwsetup
+ insinto /usr/lib/${PN}
+ doins -r gwtp_tmp/*
+ dodoc a.gwf
+ insinto /usr/share/${PN}
+ doins -r etc images lang setup gwd.arg only.txt
+
+ cd ../..
+
+ # Install binaries
+ dobin src/check_base
+ # Install manpages
+ doman man/*
+
+ # Install doc
+ insinto /usr/share/doc/${PF}/contrib
+ doins -r contrib/{gwdiff,misc}
+
+ newinitd "${FILESDIR}/geneweb.initd" geneweb
+ newconfd "${FILESDIR}/geneweb.confd" geneweb
+}
+
+pkg_postinst() {
+ enewuser geneweb "" "/bin/bash" /var/lib/geneweb
+ einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the"
+ einfo "instructions on the README in that directory to use it"
+ einfo "For 64 bits architecture you need to rebuild the database"
+ einfo "\"gwu foo > foo.gw \" will save the database (use the previous"
+ einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it "
+ einfo "(using the current package)"
+}
diff --git a/app-misc/geneweb/metadata.xml b/app-misc/geneweb/metadata.xml
new file mode 100644
index 000000000000..58ced0f61ed4
--- /dev/null
+++ b/app-misc/geneweb/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <longdescription lang="en">
+GeneWeb is a genealogy software program with a Web interface. It can be used
+off-line or in a Web environment. It uses very efficient techniques of
+relationship and consanguinity computing, developed in collaboration with Didier
+Rémy, research Director at INRIA.
+ </longdescription>
+ <use>
+ <flag name="ocamlopt">Enable ocamlopt support (<pkg>dev-lang/ocaml</pkg>
+ native code compiler)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">geneweb/geneweb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gentoo/Manifest b/app-misc/gentoo/Manifest
new file mode 100644
index 000000000000..79fbe1eb9c28
--- /dev/null
+++ b/app-misc/gentoo/Manifest
@@ -0,0 +1,5 @@
+DIST gentoo-0.20.7.tar.gz 1414198 SHA256 9a50a139509a2f7e4540c8a093105bd8dd432596c9903db24891fbacf28ab1aa SHA512 7a4d601526d7071392bc3f2f34fd86337f4186fc45e633ed359b32ba44f43faddc4760a9ebd2e20d08662755052dd4c02a06724d274f98db342ac53fa28e39b0 WHIRLPOOL ffc019165194a0caad3436c5b0c52a93a0c68698d567a901312edba16fee9f7e1e85fbd83fa752c6322d8849ae30177495ae2902246559772e5c28c0332350c5
+EBUILD gentoo-0.20.7.ebuild 1281 SHA256 df6f53969e46a4070f76e76935556cc33f07428b9207982494fe588008837b5c SHA512 1c8844d88850a7a47e080b64fd58de787396500dd5549d67c383dc1a29d15f553e06bf37eab56ba9323459e01e10cbedd2f5c2137185833a3617a337d538d8b7 WHIRLPOOL dc821553c7fb86ce954bf21b52406d9bcb5b3408a450cf6841f5a577746a46be82760a6b5c1e29801c7a37eba58d7ac1814a9325d7aa616d502bec774ce30d16
+MISC ChangeLog 2705 SHA256 c1e661b1aac8a8f44e130b898f05dea70a4b0260a59c2be94e8d724d6f6a9fce SHA512 c07aa2ad326001813efbcf4d3c5fe99db6888361de89cc291db6a70699f400c313282fb5d69ffc3fe95758f6be3a9bfda40256b427b91ed29c21aa5ae9cb0e4a WHIRLPOOL d54661e5246f82cff61fd82bfafba98119934c70c49e4546e0b3ace3aa6f3438cf92b97ac1205e4b7ae11ed59a8d5d955ab844f03177862f2b141f6bc9495130
+MISC ChangeLog-2015 20620 SHA256 b17b2d9c39681b96b2eb595477368f12bce597c677d9cf0eaaa8435ed6bc1225 SHA512 0bb9ff44e44516f9f39fc574cf7734662f19309a0b68a1016800df35529136a84571f3278e629b6fdc1e87e7d3d131b40f3197317ae2ba0a10db4b5508d426e8 WHIRLPOOL 824307e30286f3f2d4196aa8194b570088e4a8105eb0b2a79b13c4596c5fd15b7b4e6f7b9eedf4be06816d6a638f689d06170667222ada1ac5f23ea3b9bf38c2
+MISC metadata.xml 352 SHA256 3e7d9d7cc9157947a67d2a866ce1c736e4fda357548b0e6ccf32d3033679c979 SHA512 ff05feda3a7284c70f12d7fe7f7beca8c49eeb120c6c7302c73f5c28f2f903ecb97cf91a8a374e7b0c86d9dfba1c80627274a30249a388a65390303dd09d194a WHIRLPOOL 753dd4b11ad6fd022fbbc86aba241c506eef2f82adf95182288f64297c85b1f9bc1faa29294fc14ea4c5679682a07cab91fdc47fbc160f977d8aa9320de20817
diff --git a/app-misc/gentoo/gentoo-0.20.7.ebuild b/app-misc/gentoo/gentoo-0.20.7.ebuild
new file mode 100644
index 000000000000..f84fcd4a62e7
--- /dev/null
+++ b/app-misc/gentoo/gentoo-0.20.7.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Graphical file manager for Unix-like systems, using GTK+"
+HOMEPAGE="http://gentoo.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE="nls"
+
+RDEPEND="
+ >x11-libs/gtk+-3.12:3
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/pango
+"
+DEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )
+"
+
+DOCS=(
+ AUTHORS BUGS CONFIG-CHANGES CREDITS NEWS README TODO docs/{FAQ,menus.txt}
+)
+
+src_prepare() {
+ sed -i \
+ -e 's^icons/gnome/16x16/mimetypes^gentoo/icons^' \
+ gentoorc.in || die
+ sed -i \
+ -e '/GTK_DISABLE_DEPRECATED/d' \
+ -e '/^GENTOO_CFLAGS=/s|".*"|"${CFLAGS}"|g' \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+ configure.ac || die #357343
+
+ eapply_user
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/gentoo \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+
+ docinto html
+ dodoc -r docs/{images,config,*.{html,css}}
+
+ newman docs/gentoo.1x gentoo.1
+
+ docinto scratch
+ dodoc docs/scratch/*
+
+ make_desktop_entry ${PN} Gentoo \
+ /usr/share/${PN}/icons/${PN}.png \
+ "System;FileTools;FileManager"
+}
diff --git a/app-misc/gentoo/metadata.xml b/app-misc/gentoo/metadata.xml
new file mode 100644
index 000000000000..663d8782116a
--- /dev/null
+++ b/app-misc/gentoo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gentoo</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/geoclue/Manifest b/app-misc/geoclue/Manifest
new file mode 100644
index 000000000000..950b27937a36
--- /dev/null
+++ b/app-misc/geoclue/Manifest
@@ -0,0 +1,11 @@
+AUX geoclue-0.12.0_p20110307-use-fallback-mac.patch 511 SHA256 21fa236ae8d18e708e19198336d25180902055196987ca15048be707729febe8 SHA512 e2845272cca268c4658c3e836efd7b49bc53e7690125bc48a7d1d9d0b82b46ea88fff427ee73fa2045c74c2dfe21d45497341032363713a6401a735110bcd1e0 WHIRLPOOL 3672f61433b53bfca07496fd679785f4362ab4f57065ec40619c10c1c006a5fd82ac8a114d8d53cc1e903ac59b8a909aadb3598ee716a047d29922fc5f65ee94
+AUX geoclue-0.12.0_p20110307-use-flag.patch 2571 SHA256 30771a233355c31eeae0694e275454875feac47797eb1990714946875323e5b5 SHA512 9558635f1c520f26c30edcd2512934a6f3238c0fabf88e2e5b345aa8521575faad2e734d84e99071b827cc81724fab27299f2b838a48993e3110d2fa6ba82eef WHIRLPOOL bbae6a830b1886d967dbe746e96bec0dce787458500acb2ccc2f1af881fab201c2bdcd53d3a7f7ab96c7ae1a25d363d022804561d9c90f1208101d3d77bf8d21
+AUX geoclue-0.12.99-gpsd.patch 2073 SHA256 0abf0404525bc69da2365562eecb6e828547086de455fb2d9b0ac41a41fbe216 SHA512 9a5280af319cea99567fbbaf8174f11de71f9dbbeb146c4ad42a19df1d84f7573c9cd72560b7185065e5b8507770f77fa3cc06b3e45e0a56fdf3d3e5b717f0bc WHIRLPOOL e8e3072ae9acba711a550cab6d05e73c1d047e039a3707686bfea0a832158a5dc60ebc3f1c8860312afcfdebd9a484dabe45798aa721868b81086bea1fab9ab2
+AUX geoclue-2.4.1-fix-GLIBC-features.patch 1449 SHA256 ab8f1480d69c37720a499ff2e8b00472e4ce924e13f6f5d1e97e51bca8ddf8fa SHA512 27d2d750d2cc52714276d5b4431444c31e0ff59fc1fabf659efe77d427dad67de376e6bf4aa55882ced21c56ef1d4dff05aeac62372a5174acf7e5f40d5f061b WHIRLPOOL bc8c5f10c86d86a7f20df8fde02cf58b1ee56fcf49c1e5933a6dec411b592a7c94b39c437e3dd3aa652851860b9ac4926609d5934a0d7548fc2de4aefcef4eb5
+DIST geoclue-0.12.99.tar.gz 608074 SHA256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 SHA512 32f946c9ee66cff2a6564b275d5f7bdf0d42832166c9fbeccb0aa55f3c3370fd8de114ad26477df6a2ee9d22250a5b104ec384032b28c3a62c356baea05d1bc2 WHIRLPOOL fc7e96d6646a7fa527807db2a3375a714243fb935f064b9acbb84f8652cc64e19d2655979c053e2f1b433c69a47a393123bc4bb2f8f16395a3ecbba668c9f1bd
+DIST geoclue-2.4.7.tar.xz 368472 SHA256 d17b96bb5799a84723385ea5704235565e9c3dedd2b7afac475a06e550ae0ea6 SHA512 472cf923abfd40dee296eee2e6888c47f273ad709e1bdcce534bd794cf9f7073ceabd6addf918277e10498e094af5a6e9539b5cf24171577e78bc3b0b2d17b72 WHIRLPOOL 10eb6a1303e6841fb2c210fa0f1c63c82c10d80b24974e8865aae32145a1c584c981f60d5b45c9e72154f28dd1e82bcd913eae11365db27cfd4f76492b4ff1b0
+EBUILD geoclue-0.12.99.ebuild 1976 SHA256 ea7214221a381b9858bbfc462b967458ca8a91e2f47f3def958a9b2edfd83bfc SHA512 ded60d1f1045cf6d05963fcb49eba167445526833651c095874c01b5dba837075b0ae4a0e4586f31a3dcaf56dcd4b2ee6019e926608f4e5218d0bea7db9eddc8 WHIRLPOOL eb9ba92ea113a342829d2f3b1bea7ac086ebb4e37798f7873e35cb310df081790f2eaa1ff2afab1cce60325f09d6722b268dc569de28e69975c9ee7422d3ab26
+EBUILD geoclue-2.4.7.ebuild 1569 SHA256 998733c1b9611eafd00c28763c194bd6c7850af06034c440b984b2ccf79ddaa0 SHA512 5cd0ecc2e692bac02e46686eb77ce6a0bba96086f6b353615ea474e99eae12e53d0aedd98541754bedf724f6b723e82de97598f6dcf8200d031b541b52d07320 WHIRLPOOL b04619c647624bb7db66d269deefce7622cacce6dfcf5474d4f4c7003c8fcb60c9d9745bf7b9002b4a5b94bf35a7169801bc0d1692a611a71b0176524554c6ab
+MISC ChangeLog 6369 SHA256 f46c04e2130247c449e79865ab3c576d15f36c25a9ae025a87d3743a3a7c35a1 SHA512 0992ef9aac14b5feae74b827d0bf57a67952b9d19405001213cbaba743c7583024d8c624d92165dfb995e1e33663dede416cd8e8e4fc206ad0b16702c9ada6a8 WHIRLPOOL a022f5fcffa91d697fe95f49659714f0893871b4523c7fa8750eff6becc9b04bb16f54ca0dcd2fd291e19208056bb24763da3da4cc664205ffdbbca11b90acd2
+MISC ChangeLog-2015 5919 SHA256 0df44cec06e1cc3b029b60d37580a6f142ca363641108a6e16231b9acedc6159 SHA512 541057c4e904ed375777d51187aa80b1c093708870258239d2e3272b6dd506a508f432c5b554bd5a0b1d61ea247755ee61f8a3ede528d9007881f31dbb626373 WHIRLPOOL d1c1e786c9b34620fcd8c8293aac7d6742ce60d31d7cfd6597a260023fe3c41619809d7853bd7c80b2fc2595fc7a6f6be7094b82e9c8b29519d71fb0c1061d1b
+MISC metadata.xml 1252 SHA256 15d787020724649cc54888c46c593eca4c44cb1589983fa2c38929506a20dfe5 SHA512 809d9b3afe58bf9e00bc826dbc7e2253461426084f8290d2b53ff0785666ec7b3626997b453a36a8eefcbae220f2f273008c3c51a7071a13da54e4e897d5c5ae WHIRLPOOL 76bd9bdead47d2bf53234a73d74e8cf896d54fb52d88c011aa07c2373d47009bd06451da0195e40c47e576c2af265fd82ce41046813a93daf7e33d071c9db372
diff --git a/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch
new file mode 100644
index 000000000000..9c9115a284ef
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-fallback-mac.patch
@@ -0,0 +1,16 @@
+Force geoclue to use the "fallback" mac address fetching code.
+The NM-based code does not seem to work.
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- src/connectivity.c
++++ src/connectivity.c
+@@ -218,7 +218,7 @@
+ geoclue_connectivity_get_router_mac (GeoclueConnectivity *self)
+ {
+ if (self == NULL ||
+- GEOCLUE_CONNECTIVITY_GET_INTERFACE (self)->get_router_mac == NULL) {
++ GEOCLUE_CONNECTIVITY_GET_INTERFACE (self)->get_router_mac == NULL || 1) {
+ char *mac = NULL;
+ guint i;
+ int ret_val;
diff --git a/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch
new file mode 100644
index 000000000000..236c98928ba7
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-0.12.0_p20110307-use-flag.patch
@@ -0,0 +1,79 @@
+Add configure options for all providers except localnet.
+
+Patch by Kevin McCarthy <signals@gentoo.org>
+
+--- configure.ac
++++ configure.ac
+@@ -158,7 +158,71 @@
+ AC_SUBST(CONNECTIVITY_LIBS)
+ AC_SUBST(CONNECTIVITY_CFLAGS)
+
+-PROVIDER_SUBDIRS="example hostip geonames nominatim manual plazes localnet yahoo gsmloc"
++PROVIDER_SUBDIRS="localnet"
++
++AC_ARG_ENABLE(hostip,
++ AS_HELP_STRING([--enable-hostip=@<:@no/yes/auto@:>@],
++ [build with hostip support]), ,
++ enable_hostip=auto)
++
++if test "x$enable_hostip" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS hostip"
++fi
++
++AC_ARG_ENABLE(geonames,
++ AS_HELP_STRING([--enable-geonames=@<:@no/yes/auto@:>@],
++ [build with geonames support]), ,
++ enable_geonames=auto)
++
++if test "x$enable_geonames" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS geonames"
++fi
++
++AC_ARG_ENABLE(nominatim,
++ AS_HELP_STRING([--enable-nominatim=@<:@no/yes/auto@:>@],
++ [build with nominatim support]), ,
++ enable_nominatim=auto)
++
++if test "x$enable_nominatim" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS nominatim"
++fi
++
++AC_ARG_ENABLE(manual,
++ AS_HELP_STRING([--enable-manual=@<:@no/yes/auto@:>@],
++ [build with manual support]), ,
++ enable_manual=auto)
++
++if test "x$enable_manual" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS manual"
++fi
++
++AC_ARG_ENABLE(plazes,
++ AS_HELP_STRING([--enable-plazes=@<:@no/yes/auto@:>@],
++ [build with plazes support]), ,
++ enable_plazes=auto)
++
++if test "x$enable_plazes" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS plazes"
++fi
++
++AC_ARG_ENABLE(yahoo,
++ AS_HELP_STRING([--enable-yahoo=@<:@no/yes/auto@:>@],
++ [build with yahoo support]), ,
++ enable_yahoo=auto)
++
++if test "x$enable_yahoo" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS yahoo"
++fi
++
++AC_ARG_ENABLE(gsmloc,
++ AS_HELP_STRING([--enable-gsmloc=@<:@no/yes/auto@:>@],
++ [build with gsmloc support]), ,
++ enable_gsmloc=auto)
++
++if test "x$enable_gsmloc" != "xno"; then
++ PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS gsmloc"
++fi
++
+
+ # -----------------------------------------------------------
+ # gypsy / gpsd / skyhook
diff --git a/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch b/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch
new file mode 100644
index 000000000000..51160d6296e0
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch
@@ -0,0 +1,73 @@
+Description: Refactoring to support new libgps API
+Author: James Page <james.page@ubuntu.com>
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40996
+Forwarded: no
+
+--- providers/gpsd/geoclue-gpsd.c
++++ providers/gpsd/geoclue-gpsd.c
+@@ -40,7 +40,12 @@
+ #include <geoclue/gc-iface-position.h>
+ #include <geoclue/gc-iface-velocity.h>
+
++#if GPSD_API_MAJOR_VERSION >= 5
++/* gps_data conflicts with gps_data function */
++typedef struct gps_data_t gps_data_l;
++#else
+ typedef struct gps_data_t gps_data;
++#endif
+ typedef struct gps_fix_t gps_fix;
+
+ /* only listing used tags */
+@@ -59,7 +64,11 @@
+ char *host;
+ char *port;
+
++#if GPSD_API_MAJOR_VERSION >= 5
++ gps_data_l *gpsdata;
++#else
+ gps_data *gpsdata;
++#endif
+
+ gps_fix *last_fix;
+
+@@ -394,10 +403,16 @@
+ static gboolean
+ geoclue_gpsd_start_gpsd (GeoclueGpsd *self)
+ {
++#if GPSD_API_MAJOR_VERSION >= 5
++ int status = gps_open (self->host, self->port, self->gpsdata);
++ if (status == 0) {
++ gps_stream(self->gpsdata, WATCH_ENABLE | WATCH_NMEA, NULL);
++#else
+ self->gpsdata = gps_open (self->host, self->port);
+ if (self->gpsdata) {
+ gps_stream(self->gpsdata, WATCH_ENABLE | WATCH_NMEA | POLL_NONBLOCK, NULL);
+ gps_set_raw_hook (self->gpsdata, gpsd_raw_hook);
++#endif
+ return TRUE;
+ } else {
+ g_warning ("gps_open() failed, is gpsd running (host=%s,port=%s)?", self->host, self->port);
+@@ -410,10 +425,23 @@
+ {
+ GeoclueGpsd *self = (GeoclueGpsd*)data;
+ if (self->gpsdata) {
++#if GPSD_API_MAJOR_VERSION >= 5
++ /* gps_poll and gps_set_raw_hook no longer present in this API version */
++ if (gps_waiting(self->gpsdata, 500)) {
++ if (gps_read(self->gpsdata) == -1) {
++ geoclue_gpsd_set_status (self, GEOCLUE_STATUS_ERROR);
++ geoclue_gpsd_stop_gpsd(self);
++ return FALSE;
++ } else {
++ /* Call existing raw_hook to process the data */
++ gpsd_raw_hook(self->gpsdata, NULL, 0);
++ }
++#else
+ if (gps_poll(self->gpsdata) < 0) {
+ geoclue_gpsd_set_status (self, GEOCLUE_STATUS_ERROR);
+ geoclue_gpsd_stop_gpsd(self);
+ return FALSE;
++#endif
+ }
+ }
+ return TRUE;
diff --git a/app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch b/app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch
new file mode 100644
index 000000000000..b27bf5d44c01
--- /dev/null
+++ b/app-misc/geoclue/files/geoclue-2.4.1-fix-GLIBC-features.patch
@@ -0,0 +1,44 @@
+This has been edited to fit geoclue that import the code from geocode-glib.
+--Anthony G. Basile
+
+From 3ce317a218c255b8a8025f8f2a6010ce500dc0ee Mon Sep 17 00:00:00 2001
+From: "Anthony G. Basile" <blueness@gentoo.org>
+Date: Tue, 22 Mar 2016 09:48:00 +0000
+Subject: [PATCH] Use __UCLIBC__ when checking for GLIBC features
+
+Commit f0f85d8d introduces __GLIBC__ to check for glibc only features.
+However this is not sufficient for uClibc because it shares code with
+glibc. To select for features in glibc but not uClibc, we need
+defined(__GLIBC__) && !defined(__UCLIBC__).
+
+https://bugzilla.gnome.org/show_bug.cgi?id=764021
+---
+ geocode-glib/geocode-glib.c | 4 ++--
+ geocode-glib/test-gcglib.c | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/geocode-glib/geocode-glib.c b/src/geocode-glib/geocode-glib.c
+index 4e3b3fd..6215fd1 100644
+--- a/src/geocode-glib/geocode-glib.c
++++ b/src/geocode-glib/geocode-glib.c
+@@ -213,7 +213,7 @@ _geocode_object_get_lang (void)
+ return geocode_object_get_lang_for_locale (setlocale (LC_MESSAGES, NULL));
+ }
+
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ static gpointer
+ is_number_after_street (gpointer data)
+ {
+@@ -246,7 +246,7 @@ is_number_after_street (gpointer data)
+ gboolean
+ _geocode_object_is_number_after_street (void)
+ {
+-#ifndef __GLIBC__
++#if !defined(__GLIBC__) || defined(__UCLIBC__)
+ return FALSE;
+ #else
+ static GOnce once = G_ONCE_INIT;
+--
+2.7.3
+
diff --git a/app-misc/geoclue/geoclue-0.12.99.ebuild b/app-misc/geoclue/geoclue-0.12.99.ebuild
new file mode 100644
index 000000000000..2e7e56b9b28f
--- /dev/null
+++ b/app-misc/geoclue/geoclue-0.12.99.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue"
+SRC_URI="https://freedesktop.org/~hadess/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd"
+IUSE="connman geonames gps gsmloc gtk hostip manual networkmanager nominatim plazes skyhook static-libs yahoo-geo"
+
+REQUIRED_USE="skyhook? ( networkmanager )"
+
+RDEPEND=">=dev-libs/dbus-glib-0.100
+ >=dev-libs/glib-2
+ dev-libs/libxml2
+ sys-apps/dbus
+ gps? ( sci-geosciences/gpsd )
+ gtk? ( x11-libs/gtk+:2 )
+ networkmanager? ( net-misc/networkmanager )
+ skyhook? ( net-libs/libsoup )"
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc-am
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.12.0_p20110307-use-flag.patch \
+ "${FILESDIR}"/${PN}-0.12.0_p20110307-use-fallback-mac.patch \
+ "${FILESDIR}"/${P}-gpsd.patch
+
+ sed -i -e '/CFLAGS/s:-g ::' configure.ac || die #399177
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ # Conic is only for Maemo. Don't enable.
+ # Gypsy has multiple vulnerabilities:
+ # https://bugs.freedesktop.org/show_bug.cgi?id=33431
+ econf \
+ --disable-silent-rules \
+ $(use_enable static-libs static) \
+ --disable-schemas-compile \
+ $(use_enable gtk tests) \
+ $(use_enable gtk) \
+ --disable-conic \
+ $(use_enable connman) \
+ $(use_enable networkmanager) \
+ --disable-gypsy \
+ $(use_enable gps gpsd) \
+ $(use_enable skyhook) \
+ $(use_enable geonames) \
+ $(use_enable gsmloc) \
+ $(use_enable hostip) \
+ $(use_enable manual) \
+ $(use_enable nominatim) \
+ $(use_enable plazes) \
+ $(use_enable yahoo-geo yahoo) \
+ --with-html-dir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use gtk && dobin test/.libs/geoclue-test-gui
+ prune_libtool_files
+}
diff --git a/app-misc/geoclue/geoclue-2.4.7.ebuild b/app-misc/geoclue/geoclue-2.4.7.ebuild
new file mode 100644
index 000000000000..4748e7b60d88
--- /dev/null
+++ b/app-misc/geoclue/geoclue-2.4.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit gnome2 systemd user versionator
+
+MY_PV=$(get_version_component_range 1-2)
+DESCRIPTION="A geoinformation D-Bus service"
+HOMEPAGE="https://freedesktop.org/wiki/Software/GeoClue"
+SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${MY_PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2"
+SLOT="2.0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-fbsd"
+IUSE="+introspection +modemmanager zeroconf"
+
+RDEPEND="
+ >=dev-libs/glib-2.34:2
+ >=dev-libs/json-glib-0.14
+ >=net-libs/libsoup-2.42:2.4
+ sys-apps/dbus
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+ modemmanager? ( >=net-misc/modemmanager-1 )
+ zeroconf? ( >=net-dns/avahi-0.6.10 )
+ !<sci-geosciences/geocode-glib-3.10.0
+"
+DEPEND="${RDEPEND}
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1
+ >=dev-util/intltool-0.40
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.4.1-fix-GLIBC-features.patch
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # debug only affects CFLAGS
+ gnome2_src_configure \
+ --enable-backend \
+ --with-dbus-service-user=geoclue \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
+ $(use_enable introspection) \
+ $(use_enable modemmanager 3g-source) \
+ $(use_enable modemmanager cdma-source) \
+ $(use_enable modemmanager modem-gps-source) \
+ $(use_enable zeroconf nmea-source)
+}
+
+pkg_preinst() {
+ enewgroup geoclue
+ enewuser geoclue -1 -1 /var/lib/geoclue geoclue
+ gnome2_pkg_preinst
+}
diff --git a/app-misc/geoclue/metadata.xml b/app-misc/geoclue/metadata.xml
new file mode 100644
index 000000000000..7bf3bd754bec
--- /dev/null
+++ b/app-misc/geoclue/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="geonames">Install geonames.org provider</flag>
+ <flag name="gsmloc">Install GSM location provider</flag>
+ <flag name="gtk">Install gtk-based geoclue-test-gui</flag>
+ <flag name="hostip">Install hostip.info provder</flag>
+ <flag name="manual">Install manual provider</flag>
+ <flag name="modemmanager">Enable geolocation through 3G or GPS enabled hardware through <pkg>net-misc/modemmanager</pkg>.</flag>
+ <flag name="nominatim">Install openstreetmap.org provider</flag>
+ <flag name="plazes">Install plazes.com provider</flag>
+ <flag name="skyhook">Install skyhookwireless.com provider</flag>
+ <flag name="yahoo-geo">Install Yahoo geolocation provider</flag>
+ <flag name="zeroconf">Enable retrieval of GPS location from Android devices with https://wiki.gnome.org/Apps/GeoclueShare</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/getopt/Manifest b/app-misc/getopt/Manifest
new file mode 100644
index 000000000000..90219d71ac00
--- /dev/null
+++ b/app-misc/getopt/Manifest
@@ -0,0 +1,9 @@
+AUX getopt-1.1.4-irix.patch 357 SHA256 2562a5585f5bc0b4dbe945cbecd94975839b135e4c1ec36069104394febd1061 SHA512 001949835eafe86d5f1f9dfef9892ebbf6b1c5a3d870cf57c4ac7543c048c061429c8f7cb754260ff16e2694bb497ed89c0d4e746f1c7064883a55940563dd92 WHIRLPOOL 9050b02b5e28cf79ffc5a35cf08b6b38bd9d417fbb4494314f8196a338fca118286bf6be554d37e9be7296caad71edd96e4fab4cfcec3a83cea489dc0433bfb3
+AUX getopt-1.1.5-libintl.patch 353 SHA256 b4a0857bae22fe85f8dbc3741d190ed1b258719257d0f6824298c3febd6cae3e SHA512 eca001588a940f5bc50f95c0f93fc352f5dc647325a5b1ff0c7ddf0bf93e2c8fd2ac4f735c0ae5d48e4c9b2c54799e6d6028a5602147a3b9a28dc5e65e66f5ec WHIRLPOOL 6935d95391ef80e9ff6c4404b339e8cf84ac4dccf9caa8de4555ec5d6f6e7544ae045aa0ec45450d2e65cd528bb753ff40e9dd4f36c28b82ace817b6a1132ee9
+AUX getopt-1.1.5-setlocale.patch 323 SHA256 2c2ad7608d15efc31581ee4f3c0064c0d93748539f9914cc2f081b0d80b6c2e7 SHA512 1ceb4353355cd1af697b5d46bd58b092b8792a2add97fb8498bfa6e036487e8c811333b03d0461117f1c2c5e90a3f33cf773cb9b0732c753beb8d75345e6c36e WHIRLPOOL 44b8364a0a7136bc12b30d7ea7474e13f9f5935f678a7205ecac873a0b34a7d3dcf9a8ea8e4b63ba869f533a75111cbdc9b5cb3c7769a7b295e35c7d54f5fd23
+AUX getopt-1.1.6-longrename.patch 3013 SHA256 6961d19e4e4ab3e38efec06d70a95ae95a2cbabb925b841ab442e48a32dfe2ca SHA512 7157f9bd2bc660519972898bd24f0f04f01196a54c44a3a3ba4b0fda0acfb9b13cabba7cfbd1e784e9f5b3c94f2955325f47933e5d6affcb1a0f740d933206b9 WHIRLPOOL cefd7ff5ce98064c044a23d0231bc92a52d3e5ac3bc048725f6c7d757407e19b13732fce23e0b937d8618c298b4dd1148fc978c39d27e6ac94a1b09a61fe6ecd
+DIST getopt-1.1.6.tar.gz 58926 SHA256 d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe SHA512 aa5476e729f33ddd3f32f38b2565da319fdfe034f11549218d5d9953e70dad764e0d9a82bb10efe4043c86ae87f944619b8a2f29a197f592bd855699961d8e10 WHIRLPOOL 0fa96415fa5d9b001313b1491a0f260922dbb52ac72d6242e6ff332ac802e3d6cac2401c8e8a8f9cc09376d3c51f4b1cc3bd0f976dc857cd72c1ffc7b1d770da
+EBUILD getopt-1.1.6.ebuild 1817 SHA256 1dbdf201b9b849a86ef5802d29fd5adc90acbfb4aa77094939af63a7c8564751 SHA512 34e003fa1048eb95b78503398684056dd2012d2a6cb69bba375bab13d780000df1951710cb59a62ecf8f278f2a4c8e3ed81974bcbfb2c9a238221731f00a585b WHIRLPOOL 6a1e26fa7d3aea76f8d3407e27b5a7b608a9fb30b9979b6377e9726899dc453d95345daffc64e94fc20c1b4d7f59c8490db87d7fe9cc161375947f9f869b3cb0
+MISC ChangeLog 3180 SHA256 07e48c76b7e16aa6f01caa5f107220427e372432b9736da87676e0baf9ff9a23 SHA512 0de809fb18dfc4acb312a41592334b177c3259dd4ca6fe7df93ecb52e99f918dcff9d1d55d9dd441e87468987e1782cbc514941c31730b3a769a7d9a1a5aa065 WHIRLPOOL a0035044a3ce30df112c7ad5f2ae63430fb1256c5770aa6da78d85a5c01eebec13f85ce1ab21985deed49356560bc3ce7b9b7c4a79fd3911627d239b19cafbed
+MISC ChangeLog-2015 2126 SHA256 9899303843088c92a3c7f77c2239ae182d3374480b33de6519205d4562cdc5e8 SHA512 a892e46ebc192ebada77422754782d93cfdf83f26eaa3a5099cdbd84838477f19c572fb9adff4190370252ead6f7e7759c31768ca899d95b15335a4b739961d2 WHIRLPOOL 66d6214df3ae307488afb89712a4dfd4af4bde53012bed1dfb973834ccf8093d470b0739944531c680cfd16aa7ed52bd2411c88ca12155ee5b9fc095e1f08be1
+MISC metadata.xml 342 SHA256 a531bbd7b7392ccef2501efd65d6a3fd825d9b8c53dd67226e6dfbe4594d821c SHA512 90fdb073ca1dcd23506cb421440ec9719517f4bbb6839f5944898a3368bd01aba189346c26a27928a777ef59b22256ea5046ed9180b5b2ff034afbc7b4374b05 WHIRLPOOL 055034ebe7354bf25233bc8effb9e8e7e52c17a14c86108ab915b089ddb7abfb0f0f0f2fc838fa4868671b6f8ff9834caf6ef0ed31329d7bca3905b031e26873
diff --git a/app-misc/getopt/files/getopt-1.1.4-irix.patch b/app-misc/getopt/files/getopt-1.1.4-irix.patch
new file mode 100644
index 000000000000..0c344a80131a
--- /dev/null
+++ b/app-misc/getopt/files/getopt-1.1.4-irix.patch
@@ -0,0 +1,17 @@
+http://bugs.gentoo.org/show_bug.cgi?id=211499
+
+--- gnu/getopt.c.dist
++++ gnu/getopt.c
+@@ -69,12 +69,7 @@
+ #include <unistd.h>
+ #endif /* GNU C library. */
+
+-#ifdef VMS
+-#include <unixlib.h>
+-#if HAVE_STRING_H - 0
+ #include <string.h>
+-#endif
+-#endif
+
+ #if defined (WIN32) && !defined (__CYGWIN32__)
+ /* It's not Unix, really. See? Capital letters. */
diff --git a/app-misc/getopt/files/getopt-1.1.5-libintl.patch b/app-misc/getopt/files/getopt-1.1.5-libintl.patch
new file mode 100644
index 000000000000..b40367105ed0
--- /dev/null
+++ b/app-misc/getopt/files/getopt-1.1.5-libintl.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2012-12-28 11:40:09.524686698 +0100
++++ Makefile 2012-12-28 11:41:20.646157275 +0100
+@@ -61,7 +61,7 @@
+ -$(RM) $(objects) $(binaries)
+
+ getopt: $(objects)
+- $(CC) $(LDFLAGS) -o $@ $(objects)
++ $(CC) $(LDFLAGS) -o $@ $(objects) $(LIBINTL)
+
+ install: getopt install_po
+ $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir)
diff --git a/app-misc/getopt/files/getopt-1.1.5-setlocale.patch b/app-misc/getopt/files/getopt-1.1.5-setlocale.patch
new file mode 100644
index 000000000000..2d302d9c6a67
--- /dev/null
+++ b/app-misc/getopt/files/getopt-1.1.5-setlocale.patch
@@ -0,0 +1,12 @@
+setlocale: we need locale.h for LC_ALL on OpenIndiana
+
+--- getopt-1.1.5/nls.h
++++ getopt-1.1.5/nls.h
+@@ -40,6 +40,7 @@
+ #undef setlocale
+ #define setlocale(Category,Locale) /* empty */
+ #else /* not WITHOUT_GETTEXT */
++#include <locale.h>
+ #include <libintl.h>
+ #define _(Text) gettext (Text)
+ #endif /* WITHOUT_GETTEXT */
diff --git a/app-misc/getopt/files/getopt-1.1.6-longrename.patch b/app-misc/getopt/files/getopt-1.1.6-longrename.patch
new file mode 100644
index 000000000000..f2b4ba79a090
--- /dev/null
+++ b/app-misc/getopt/files/getopt-1.1.6-longrename.patch
@@ -0,0 +1,70 @@
+--- a/Makefile
++++ b/Makefile
+@@ -32,7 +32,7 @@ MSGFMT=msgfmt
+ LANGUAGES = ca cs da de es et eu fi fr gl hr hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW
+ MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES))
+
+-CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\"
++CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)-long\" -Dprogram_version=\"$(VERSION)\"
+ ifeq ($(LIBCGETOPT),0)
+ CPPFLAGS+=-I./gnu
+ endif
+@@ -81,7 +81,7 @@ install_po: all_po
+ for lang in $(LANGUAGES) ; do \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(INSTALL) -m 755 -d $(DESTDIR)$$dir ;\
+- $(INSTALL) -m 644 po/$$lang.mo $(DESTDIR)$$dir/getopt.mo ;\
++ $(INSTALL) -m 644 po/$$lang.mo $(DESTDIR)$$dir/getopt-long.mo ;\
+ done
+ clean_po:
+ $(RM) $(MOFILES)
+--- a/getopt-parse.bash
++++ b/getopt-parse.bash
+@@ -19,7 +19,7 @@
+ # Note that we use `"$@"' to let each command-line parameter expand to a
+ # separate word. The quotes around `$@' are essential!
+ # We need TEMP as the `eval set --' would nuke the return value of getopt.
+-TEMP=`getopt -o ab:c:: --long a-long,b-long:,c-long:: \
++TEMP=`getopt-long -o ab:c:: --long a-long,b-long:,c-long:: \
+ -n 'example.bash' -- "$@"`
+
+ if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi
+--- a/getopt-parse.tcsh
++++ b/getopt-parse.tcsh
+@@ -26,7 +26,7 @@
+ # as a list. The ':q` copies that list without doing any substitutions:
+ # each element of argv becomes a separate argument for getopt. The braces
+ # are needed because the result is also a list.
+-set temp=(`getopt -s tcsh -o ab:c:: --long a-long,b-long:,c-long:: -- $argv:q`)
++set temp=(`getopt-long -s tcsh -o ab:c:: --long a-long,b-long:,c-long:: -- $argv:q`)
+ if ($? != 0) then
+ echo "Terminating..." >/dev/stderr
+ exit 1
+--- a/getopt.c
++++ b/getopt.c
+@@ -344,12 +344,12 @@ static void __attribute__ ((__noreturn__)) print_help(void)
+ fputs(_(" -q, --quiet Disable error reporting by getopt(3)\n"), stderr);
+ fputs(_(" -Q, --quiet-output No normal output\n"), stderr);
+ fputs(_(" -s, --shell <shell> Set shell quoting conventions\n"), stderr);
+- fputs(_(" -T, --test Test for getopt(1) version\n"), stderr);
++ fputs(_(" -T, --test Test for getopt-long(1) version\n"), stderr);
+ fputs(_(" -u, --unquoted Do not quote the output\n"), stderr);
+ fputs(USAGE_SEPARATOR, stderr);
+ fputs(USAGE_HELP, stderr);
+ fputs(USAGE_VERSION, stderr);
+- fprintf(stderr, USAGE_MAN_TAIL("getopt(1)"));
++ fprintf(stderr, USAGE_MAN_TAIL("getopt-long(1)"));
+ exit(PARAMETER_EXIT_CODE);
+ }
+
+--- a/nls.h
++++ b/nls.h
+@@ -29,7 +29,7 @@
+ #ifndef GETOPT_NLS
+ #define GETOPT_NLS
+
+-#define PACKAGE "getopt"
++#define PACKAGE "getopt-long"
+
+ #if WITHOUT_GETTEXT
+ #define _(Text) (Text)
diff --git a/app-misc/getopt/getopt-1.1.6.ebuild b/app-misc/getopt/getopt-1.1.6.ebuild
new file mode 100644
index 000000000000..4203c9fb6e90
--- /dev/null
+++ b/app-misc/getopt/getopt-1.1.6.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="getopt(1) replacement supporting GNU-style long options"
+HOMEPAGE="http://software.frodo.looijaard.name/getopt/"
+SRC_URI="http://frodo.looijaard.name/system/files/software/getopt/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.1.5-libintl.patch
+ epatch "${FILESDIR}"/${PN}-1.1.5-setlocale.patch
+ epatch "${FILESDIR}"/${PN}-1.1.6-longrename.patch
+
+ # hopefully this is portable enough
+ epatch "${FILESDIR}"/${PN}-1.1.4-irix.patch
+}
+
+src_compile() {
+ local nogettext="1"
+ local libintl=""
+ local libcgetopt=1
+
+ if use nls; then
+ nogettext=0
+ has_version sys-libs/glibc || libintl="-lintl"
+ fi
+
+ [[ ${CHOST} == *-aix* ]] && libcgetopt=0
+ [[ ${CHOST} == *-irix* ]] && libcgetopt=0
+ [[ ${CHOST} == *-interix* ]] && libcgetopt=0
+
+ emake CC="$(tc-getCC)" prefix="${EPREFIX}/usr" \
+ LIBCGETOPT=${libcgetopt} \
+ WITHOUT_GETTEXT=${nogettext} LIBINTL=${libintl} \
+ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ use nls && emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install_po
+
+ newbin getopt getopt-long
+
+ # at least on interix, the system getopt is ... broken...
+ # util-linux, which would provide the getopt binary, does not build &
+ # install on interix/prefix, so, this has to provide it.
+ [[ ${CHOST} == *-interix* || ${CHOST} == *-mint* ]] && \
+ dosym getopt-long /usr/bin/getopt
+
+ newman getopt.1 getopt-long.1
+
+ dodoc getopt-*sh
+}
diff --git a/app-misc/getopt/metadata.xml b/app-misc/getopt/metadata.xml
new file mode 100644
index 000000000000..b7214d2c696f
--- /dev/null
+++ b/app-misc/getopt/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="project">
+ <email>bsd@gentoo.org</email>
+ <name>BSD Project</name>
+</maintainer>
+<maintainer type="project">
+ <email>prefix@gentoo.org</email>
+ <name>Gentoo Prefix</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/glastree/Manifest b/app-misc/glastree/Manifest
new file mode 100644
index 000000000000..c41b42c9f196
--- /dev/null
+++ b/app-misc/glastree/Manifest
@@ -0,0 +1,6 @@
+AUX glastree-posix-make.patch 559 SHA256 16cbd62f5fe9028c24948cb63894c901023e7323cf8f4150b9d8f06642be3d36 SHA512 fe76f51fc869ce03b9e44270045b6b92c8d69e4fac5878eee7167899633aad1fe2d68648310f3ba6edd47360dcb93c7d0dbda2323e9c2d44adf0d984708a174d WHIRLPOOL e841e854b864965994293a40a2f1616405345fd5e4ac5c83c66a523eca140c868b45ac51e4370217359a116199da64af6b780a7f05e3bf0aab5d6e481c6ec15e
+DIST glastree-1.04.tar.gz 5846 SHA256 067d01d98ae155f1fa1ba25a27dd72d27d4455d71107c3e6e6f1cdc41a0e0fd3 SHA512 81b819bc91780f42f945db13efc97faadd661c3272007dc0b90ed998776d3fc0fbe406249f069f0065271208c9f6ccd0488021d384e05d5b9da39311bec8f94d WHIRLPOOL 3c9f1bec8aa10e19e7f3c8e28f6196b50b583c637e7ec1ad1e53f001d48bd59e1c9a580da08d8bc4ad9ba66ad6e95d3244744bd157a90901a8acb97e44cc91a2
+EBUILD glastree-1.04.ebuild 635 SHA256 9908dd758d49123c7fc539db774e729c88be70c40b16a670040b8af2a210de7d SHA512 cd9989a5c734ba1df00af5dc79a34cb7ff4c3ffc9367a9dda494dcdb6bdd31a201fc3b95b664a79014c22ac895df4fdb20daca5968b124d10e18773939853406 WHIRLPOOL 87e6942eb54d9eea10f133385e88afa6df42e88e1a8f304bb0d024324f2af494475169f6737821a588b7fa3ce6e4753c71601b76cca3244256b596a8fae9106e
+MISC ChangeLog 2557 SHA256 6c4e192c7c1c4dc38ec302078e63b24eac0f6df1a27d125217d49651b7fc70c6 SHA512 7ea2eef70dbb70ae3745ae5a151216babf1c4b551fef0f4ba117fcc1aeefcb14077c8962728dcc9acc3a8e4c9dbb3411a87f6c52599be2f146172b985a45d52e WHIRLPOOL a918c6de015396e371f90c32803e63785a4d04d145c800710f11849764be50699f0efa7c2d04a779057cc3af66d2ee77ae1032eacad708758414200c9f0fa0d5
+MISC ChangeLog-2015 1961 SHA256 643206c6892b1fb35849d5201be2fbb42412e5db7107710e281bc30a5c032cb1 SHA512 5a3ae2f9b20abea8d01d2f82ecfa42a9adc12d38971eea8f1875a8f7b39bf997c56332418b37878f0e32760b7cc3ba86e169508adbd5b0ed4eefac4a816f9ba5 WHIRLPOOL 09bff09770de3b28b77e7bcb4859ad3449e6740efea8f2024b3b858b90c524bf3d096a9a27c5e3cc95d25a334ef16f7e016e8fc4efd2849afd430a194a33656a
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/glastree/files/glastree-posix-make.patch b/app-misc/glastree/files/glastree-posix-make.patch
new file mode 100644
index 000000000000..07e4bf6ec91a
--- /dev/null
+++ b/app-misc/glastree/files/glastree-posix-make.patch
@@ -0,0 +1,16 @@
+Make sure the perl code is valid both with and without the backslashes.
+Some make versions strip them, others don't.
+
+--- glastree-1.04/Makefile
++++ glastree-1.04/Makefile
+@@ -24,8 +24,8 @@
+
+ install:
+ @perl -e 'eval "use Date::Calc"; \
+- print "Checking for prereq Date::Calc..."; \
+- if ($$@) { print "\nThis program requires the Date::Calc module.\n"; exit 1; } \
++ print "Checking for prereq Date::Calc..."; if ($$@) { \
++ print "\nThis program requires the Date::Calc module.\n"; exit 1; } \
+ print " OK\n"; '
+
+ $(INSTALL) -d $(INSTROOT)/$(INSTBIN)
diff --git a/app-misc/glastree/glastree-1.04.ebuild b/app-misc/glastree/glastree-1.04.ebuild
new file mode 100644
index 000000000000..892b11bc30aa
--- /dev/null
+++ b/app-misc/glastree/glastree-1.04.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="glastree is a poor mans snapshot utility using hardlinks written in perl"
+HOMEPAGE="http://www.igmus.org/code/"
+SRC_URI="http://www.igmus.org/files/${P}.tar.gz"
+DEPEND="dev-lang/perl
+ dev-perl/Date-Calc"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+LICENSE="public-domain"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-posix-make.patch
+}
+
+src_compile() { :; }
+
+src_install() {
+ dodir /usr/share/man/man1
+ emake INSTROOT="${D}"/usr INSTMAN=share/man install
+ dodoc README CHANGES THANKS TODO
+}
diff --git a/app-misc/glastree/metadata.xml b/app-misc/glastree/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/glastree/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/glcdprocdriver/Manifest b/app-misc/glcdprocdriver/Manifest
new file mode 100644
index 000000000000..afa70c054a0d
--- /dev/null
+++ b/app-misc/glcdprocdriver/Manifest
@@ -0,0 +1,5 @@
+DIST glcdprocdriver-0.0.6.tar.bz2 17209 SHA256 6554b08eac5a2ecc573a808bdbc9ee01466c1c951c96840510a1cde7dcee875a SHA512 c489b6e6d6a72306867adb94ed6a6cf6354c834a27fd2ab2ac733707954b18bf93dc56a868e167fcb183602c03ac648bb941699760817e414ab8e8592edb8b7e WHIRLPOOL 05fffdd9e63c67f1755580a4ec43f9c752ad20c874f56021c233f08bd05dc780483af628b5735da05e1f4ad2d90479cd511445bb8fba2245b3186bad654f9524
+EBUILD glcdprocdriver-0.0.6.ebuild 745 SHA256 9890af73b55c71e55cbc5703fe76e0b08e839a8360c67fde41ed83ee81859209 SHA512 3a7a28e045eafddbfc97b935454a557ead15aed88f1b6d2f9eed50f1fc1655c28a59b9bc810257a3de5eb32086e823e5821278c60672ab80b3a6caa263c81a65 WHIRLPOOL 63bb876f958905b839a0f751fecc27942d6f90fcae126eee5c20c9bb7e1da20238926869da96a1c3b39e0305471d6f0267adebf81379ab71055bec6d1962ace9
+MISC ChangeLog 2915 SHA256 6fc4e28157e733c0a86286887bff749f9966e6d0ddcf44fca5bdbfa57393fa41 SHA512 4cf34cedddfb0c65d8bea09836b6e6bd2dfc61a68c58d7eb6b5cfd3651da39f40877f38c76cadd0a75b018d8901aaa40bbec853d4c28b33ad042d34c160a7ea5 WHIRLPOOL da3cc158cc86829115bab4751cba5c45348e458d768ac6cc280242c92802a3b6aa10c22036099682ff477c82a7094bb933076b5824d8c4f5954a1e42a5020a19
+MISC ChangeLog-2015 3258 SHA256 9deefa19835d59d8738df2e8829b123dbd2511dbb4ea9f52ab31524440771635 SHA512 f44ee4679522a5824579f2dcdb8a2c33e9e41e78756e117b37af148e40035df4b92288f93435554af37e63e6aa48eacb97bb6164bbf99857bde97eb015191ca8 WHIRLPOOL bf2320d86067d29e319f66a0b99c39dab625c3ac8c386c032a5db902c7b6321e08810a4308c920ecbaf52b820b63fbd66c029cbdfff88c51bbb1487d6c7c6153
+MISC metadata.xml 483 SHA256 1f2da88fe7b2d219bfbf53bacc40868f66def32ec1508577c50940ee429d80b6 SHA512 a72df04665d70953ea5a89a13e141bd78ac9817b4129c966b59c01d55f3afb15dfb44f49f9ce394c781ac94f034ed110e489f471dd93eb06af66d489a643a485 WHIRLPOOL 19d63986052bcecabaeec0e3046eda029145b4bc1f38a78106982451cfd2cb528469d354053629da90d4dcced0853244db37392b749b7a0596c39fac5801283c
diff --git a/app-misc/glcdprocdriver/glcdprocdriver-0.0.6.ebuild b/app-misc/glcdprocdriver/glcdprocdriver-0.0.6.ebuild
new file mode 100644
index 000000000000..81329a2f6182
--- /dev/null
+++ b/app-misc/glcdprocdriver/glcdprocdriver-0.0.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit multilib toolchain-funcs eutils
+
+DESCRIPTION="Glue library for the glcdlib LCDproc driver based on GraphLCD"
+HOMEPAGE="http://www.muresan.de/graphlcd/lcdproc/"
+SRC_URI="http://www.muresan.de/graphlcd/lcdproc/${P}.tar.bz2"
+
+KEYWORDS="amd64 ~ppc x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND=">=app-misc/graphlcd-base-0.1.3
+ sys-libs/glibc"
+RDEPEND=${DEPEND}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install()
+{
+ emake DESTDIR="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" install
+ dodoc AUTHORS README INSTALL TODO ChangeLog
+ dosym usr/$(get_libdir)/libglcdprocdriver.so{,.1}
+}
diff --git a/app-misc/glcdprocdriver/metadata.xml b/app-misc/glcdprocdriver/metadata.xml
new file mode 100644
index 000000000000..9dde3d16415a
--- /dev/null
+++ b/app-misc/glcdprocdriver/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-needed -->
+ <longdescription lang="en">
+ GLCDprocDriver is the glue between the app-misc/graphlcd-base
+ library, which is written in C++, and app-misc/lcdproc's
+ meta-driver glcdlib, which extends supported displays in LCDproc
+ by those supported through graphlcd-base (just in text mode, of
+ course).
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/glimpse/Manifest b/app-misc/glimpse/Manifest
new file mode 100644
index 000000000000..60b8d37933a6
--- /dev/null
+++ b/app-misc/glimpse/Manifest
@@ -0,0 +1,9 @@
+AUX glimpse-4.18.5-makefile.patch 1044 SHA256 a4bbf8b63cd20242c51b3200d150850854da455f17bfc7b8914598aee7d4fca8 SHA512 5b6d35bbdc27e4920ede025d6b44e0c3372b1740809d0639f2538bfdad8ce0fa64296ffe01487fde2a6356ac80ee3ae256c1bf775685e3e5d0b2d06a1db49026 WHIRLPOOL 209c8c9e2da50ba627e9ed4c07eb600132f610ffb5c115059a2a94d72d473868876ba9801af6719a324fd232775d7648228c63e3dc130c57e6398d19f713bcda
+AUX glimpse-4.18.6-makefile.patch 1048 SHA256 c86e7cad73e532b77f8b3189704ad40d9b23e4e999c3492e7b8161b7c203be45 SHA512 568b0cc6f52d8ce79e5ad552a302a814162072b85f1a3b7bd2b00bf18ae2d7526429f68f6910d9fb91ddcde43387a2778f9f61ed3f86f0fb533b69946cfef0b7 WHIRLPOOL 29e0b3056684e013a503f4ed77b2bd8f52c7f1682e48b7f53012f022814dbed526d33beed7a0dd08a8d17c1912ef3fe99d4fdb57e78026d8b1e907fe7675cdb1
+DIST glimpse-4.18.5.tar.gz 402754 SHA256 ef15d43db09d59fdce6d46343ac38a3d996924dfce3287ba63c76e6be93b70e1 SHA512 74cdc44f3eff6da62456f5ff6cf13172386bf73175e05258965ca15408bb77839b7e8bfc07e16c1cd4b4ebfaf499097ee24aac5ec77427390ed7e6e9ae3343de WHIRLPOOL a99a39168848869cf88a7664528f10b110c9b5f71c5859a3f9861599cfd0a887d512ae97f4b2fa84da1415fbe0df236259f16cbdad2c1ddfc85569424f162422
+DIST glimpse-4.18.6.tar.gz 812595 SHA256 0c21d27d6a3fe37dacdc66ef9194623f5a94b2f5d221dff8f187f69f629beade SHA512 884daf2057f46bbe29ad2c3e9000e18a3fcc5101abdcb5193dcf66e5da650e2528a6d2cef05ab4176243f381ba03f533cba989cad329697808d97a61f1b42d3a WHIRLPOOL 9b6ecf23ed3a15f53d9324de0a271722a3d8a6b153d146388a25a2e3878ffda537e16ec3d7a2903dd964acfc889352bf89fb28c8a99309793ceefa215b2f4ae6
+EBUILD glimpse-4.18.5.ebuild 1274 SHA256 89709209ec1f969ed56909110968c85094f60e48d3760a2a6b85ecd7e6e3e133 SHA512 5873fa4b8e31776ec552efef685db7d8edcbda0dd9e783d130b1091744f4a5214b006b6055f4a4aa40f86cb7bb2e77a2f07d4cff3a427f28d7a477d6f32cceca WHIRLPOOL d40433e4238b48b34f9b5fd3355ef796b16b37b34f79a15adb1b78f7227e3d7de60159f96127e4162bb9326fa3609b334da924e1fcd59cff77cb3243866ad481
+EBUILD glimpse-4.18.6-r1.ebuild 1422 SHA256 e3a000b4fd2377cb01fba03caa9e2102eb2f146688aaa7ed696e729429ea8f45 SHA512 d8fc26603642c4732b3beedc8c4747d3fce0ebffea62ac59f11c46d8d49cfaf5618d51c3b0cd5234fd0ed822bf2e3d45659f4278b3c014adc25efc01b9e74e72 WHIRLPOOL 83e3d8bf74c61e19e7f9960f7e979414c16a69dd26c9f2fd21b8ce2ca06e3a8960b2ae6b0367ff626cdc5d7745f9567afc8669374f405155095d19224b8004f0
+MISC ChangeLog 2618 SHA256 6236ff58d1686f4cf497dc4b186305afd66af6e10a6a1e05a753df849fff027f SHA512 6caf7cd69869bc07540ce881df0c0eb5f532b10f0b9c156b74ba4719ccb2974f115e3751da3e51dd1fbbc9840c000c61ad99b5023d2a05b44deabe9e937105b1 WHIRLPOOL fcf14a716528bf40dc83687acf9af882b0ca30d79ce1c58ce5e6bc48f213e7f6d7645f8b58faa5e029af553e9d8f0f547975993f9dcc121e4cce5cac75117ec3
+MISC ChangeLog-2015 4366 SHA256 d4deb1bfb2d8e35b91095f8cd0579245851ebf1f304efc715aadc2ee9b3f2a79 SHA512 d7b8f187936eb57c25cf874309860da3e282d462e6328ca14b6a7bd7c00c8e595f70f73f8bf59a6ec650e17b855f55c3af99a57a1a5d8c26ff6c6943f1363391 WHIRLPOOL 30cf9b48528465b52958d34d955f776ff48ee6ab1042f69bb34fe3129784cd2d14db127adce958907d46399df27b5c25fc12e6b0a4a5ea206f220fe18364db38
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/glimpse/files/glimpse-4.18.5-makefile.patch b/app-misc/glimpse/files/glimpse-4.18.5-makefile.patch
new file mode 100644
index 000000000000..86064099adf2
--- /dev/null
+++ b/app-misc/glimpse/files/glimpse-4.18.5-makefile.patch
@@ -0,0 +1,42 @@
+--- Makefile.in 2006-03-10 20:42:12.000000000 -0500
++++ Makefile.in.new 2010-08-12 21:12:41.000000000 -0400
+@@ -52,7 +52,7 @@
+ PROGAGREP = agrep/agrep
+ OPTIMIZEFLAGS = -O2
+ INCLUDEFLAGS = -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
+-CFLAGS = $(INCLUDEFLAGS) $(DEFS)
++CFLAGS = $(INCLUDEFLAGS) $(DEFS) $(OPTIMIZEFLAGS)
+
+ OBJS = get_filename.o \
+ get_index.o \
+@@ -78,7 +78,7 @@
+ $(INDEXDIR)/memlook.c \
+ $(INDEXDIR)/io.c
+
+-all: build-sub @TARGET@
++all: build-sub
+ Sall: $(PROG) $(PROGSERVER) $(PROGINDEX)
+ agrep: $(PROGAGREP)
+ NOTSall: $(NOTSPROG) $(NOTSPROGSERVER)
+@@ -87,6 +87,7 @@
+ for d in $(SUBDIRS) ; do \
+ ( cd $$d; $(MAKE) ); \
+ done
++ $(MAKE) @TARGET@
+
+ # Check target
+
+@@ -105,11 +106,11 @@
+
+ install-man:
+ for d in $(MANUAL) ; do \
+- $(INSTALL_MAN) $$d $(mandir) ; \
++ $(INSTALL_MAN) $$d $(mandir)/man1/ ; \
+ done
+
+ installdirs: mkinstalldirs
+- $(srcdir)/mkinstalldirs $(bindir) $(mandir)
++ $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1/
+
+ clean:
+ for d in $(SUBDIRS); do \
diff --git a/app-misc/glimpse/files/glimpse-4.18.6-makefile.patch b/app-misc/glimpse/files/glimpse-4.18.6-makefile.patch
new file mode 100644
index 000000000000..a6f3b430d62b
--- /dev/null
+++ b/app-misc/glimpse/files/glimpse-4.18.6-makefile.patch
@@ -0,0 +1,42 @@
+--- a/Makefile.in 2006-03-10 20:42:12.000000000 -0500
++++ b/Makefile.in.new 2010-08-12 21:12:41.000000000 -0400
+@@ -52,7 +52,7 @@
+ PROGAGREP = agrep/agrep
+ OPTIMIZEFLAGS = -O2
+ INCLUDEFLAGS = -I$(INDEXDIR) -I$(AGREPDIR) -I$(TEMPLATEDIR)/include
+-CFLAGS = $(INCLUDEFLAGS) $(DEFS)
++CFLAGS = $(INCLUDEFLAGS) $(DEFS) $(OPTIMIZEFLAGS)
+
+ OBJS = get_filename.o \
+ get_index.o \
+@@ -78,7 +78,7 @@
+ $(INDEXDIR)/memlook.c \
+ $(INDEXDIR)/io.c
+
+-all: build-sub @TARGET@
++all: build-sub
+ Sall: $(PROG) $(PROGSERVER) $(PROGINDEX)
+ agrep: $(PROGAGREP)
+ NOTSall: $(NOTSPROG) $(NOTSPROGSERVER)
+@@ -87,6 +87,7 @@
+ for d in $(SUBDIRS) ; do \
+ ( cd $$d; $(MAKE) ); \
+ done
++ $(MAKE) @TARGET@
+
+ # Check target
+
+@@ -105,11 +106,11 @@
+
+ install-man:
+ for d in $(MANUAL) ; do \
+- $(INSTALL_MAN) $$d $(mandir) ; \
++ $(INSTALL_MAN) $$d $(mandir)/man1/ ; \
+ done
+
+ installdirs: mkinstalldirs
+- $(srcdir)/mkinstalldirs $(bindir) $(mandir)
++ $(srcdir)/mkinstalldirs $(bindir) $(mandir)/man1/
+
+ clean:
+ for d in $(SUBDIRS); do \
diff --git a/app-misc/glimpse/glimpse-4.18.5.ebuild b/app-misc/glimpse/glimpse-4.18.5.ebuild
new file mode 100644
index 000000000000..b91dcc1c0f1e
--- /dev/null
+++ b/app-misc/glimpse/glimpse-4.18.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="A index/query system to search a large set of files quickly"
+HOMEPAGE="http://webglimpse.net/"
+SRC_URI="http://webglimpse.net/trial/${P}.tar.gz"
+
+LICENSE="glimpse"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="static"
+
+RDEPEND="!dev-libs/tre
+ !dev-ruby/amatch
+ !app-text/agrep"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:CC=.*:CC=$(tc-getCC):" \
+ -e 's:-O3 -fomit-frame-pointer:$(OPTIMIZEFLAGS):' \
+ dynfilters/Makefile.in \
+ || die "removing -O3 failed"
+ sed -i \
+ -e '/^CFLAGS/s:$: $(OPTIMIZEFLAGS):' \
+ {agrep,compress,index}/Makefile.in \
+ libtemplate/{template,util}/Makefile.in \
+ || die "inserting OPTIMIZEFLAGS failed"
+ sed -i \
+ -e 's:$(mandir):&/man1/:' \
+ agrep/Makefile.in \
+ || die "adding man1 to man install dir failed"
+
+ sed -i \
+ -e '/^LDFLAGS/d' \
+ {agrep,compress,index}/Makefile.in \
+ || die "LDFLAGS sed failed"
+
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ use static && append-ldflags -static
+
+ econf || die
+ emake OPTIMIZEFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ einstall || die
+}
diff --git a/app-misc/glimpse/glimpse-4.18.6-r1.ebuild b/app-misc/glimpse/glimpse-4.18.6-r1.ebuild
new file mode 100644
index 000000000000..0db485045de1
--- /dev/null
+++ b/app-misc/glimpse/glimpse-4.18.6-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="A index/query system to search a large set of files quickly"
+HOMEPAGE="http://webglimpse.net/"
+SRC_URI="http://webglimpse.net/trial/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="static"
+
+RDEPEND="!dev-libs/tre
+ !dev-ruby/amatch
+ !app-text/agrep"
+
+PATCHES=( "${FILESDIR}/${PN}-4.18.6-makefile.patch" )
+
+src_prepare() {
+ sed -i \
+ -e "s:CC=.*:CC=$(tc-getCC):" \
+ -e 's:-O3 -fomit-frame-pointer:$(OPTIMIZEFLAGS):' \
+ dynfilters/Makefile.in \
+ || die "removing -O3 failed"
+ sed -i \
+ -e '/^CFLAGS/s:$: $(OPTIMIZEFLAGS):' \
+ {agrep,compress,index}/Makefile.in \
+ libtemplate/{template,util}/Makefile.in \
+ || die "inserting OPTIMIZEFLAGS failed"
+ sed -i \
+ -e 's:$(mandir):&/man1/:' \
+ agrep/Makefile.in \
+ || die "adding man1 to man install dir failed"
+
+ sed -i \
+ -e '/^LDFLAGS/d' \
+ {agrep,compress,index}/Makefile.in \
+ || die "LDFLAGS sed failed"
+
+ default
+}
+
+src_configure() {
+ use static && append-ldflags -static
+ default
+}
+
+src_compile() {
+ # The OPTIMIZEFLAGS variable is our own, patched in...
+ emake OPTIMIZEFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ # The build system is buggy; we get sandbox violations without this.
+ emake prefix="${ED}/usr" install
+}
diff --git a/app-misc/glimpse/metadata.xml b/app-misc/glimpse/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/glimpse/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/gnote/Manifest b/app-misc/gnote/Manifest
new file mode 100644
index 000000000000..bbcbbf68bcb3
--- /dev/null
+++ b/app-misc/gnote/Manifest
@@ -0,0 +1,9 @@
+DIST gnote-3.22.1.tar.xz 3309984 SHA256 fa9434c2ba11bea73bd63436e5fd76949aca4f66dfd902295629c66ef27cd5eb SHA512 0bbf89b39699294fe5a373decf10bcd7f3a86a20c49b9d82699fb758c7cd27b6939764236a1a7ffe21964a2ae196780d0861123776b1568344935e0b649e2f5f WHIRLPOOL b36307a24800078843a1cf6217aa7f2a88f2c2f2cc6707ac0b93a7c735e8e820b3ed3f07132647cb47273286771006150a4fe05c425f63554e4da0dee0d100ae
+DIST gnote-3.24.0.tar.xz 3307940 SHA256 62e38c19ce7dfcd895729adabd72f654f31e03f28dbf4cbca68279e745c79cd4 SHA512 640f24d1829a546e53eb2d269f965daafa651e141566fd2f7a4572245b309c06259f548fa38c86c55954f2d0f8f98c48b7da2ed982864ae6ffbcac4b5d64aecb WHIRLPOOL b866cde708f9950fe4b4a9af4e97bcc06336e61cfcbf649162323162daf7ef7a1c536ffec9460dc580d54e3cc3a03606967a6ff5aad79b5b847e20c4234ab707
+DIST gnote-3.24.1.tar.xz 3310012 SHA256 1da5887c6d4221de292bd9fd310525bd05d60b9483bb1596e0cfb41f39995a7f SHA512 759fb2984312a3e3d5aed9b79f2309021b69df57b820d34814a5d3d9b5c9201abc6e50d83bf64f30974991d779b0b85e599435a24ee1326b867a2a4be8e0f37e WHIRLPOOL a9fba05fce773cd83f4615475f52137f4b82d4622c95a5500838e580dfc5b6d9b58f548206f71e260b955fe66a6f1a74d016e811af3a67dd0ca052b6230ef5e2
+EBUILD gnote-3.22.1.ebuild 1501 SHA256 fa6c9aabdc9a7138a38122bcfa9c8a2c4d5075b1d173998fdf3e22bffe4f3c90 SHA512 7e69f8606e62d3383d24c9ae5ed5026eadddd0f579bfff8c0fcea512116cb549ebab11505097214fb77db203889eef3c5da16452d9a46b5f7fb9efa3411c804e WHIRLPOOL 92cde19db18df96d5bd746f2a837f24fb2f3a9ee361a5109954fe069801238314ab74a618c22dce729e9d0359385b47104ea6a23ab57b6cf40a5c5494ef2c438
+EBUILD gnote-3.24.0.ebuild 1549 SHA256 6169bf168db38105790d0e674adc08af5dfa514ee80808b4665b3f1a3d6a464e SHA512 255c4a96c1728b559531727acc1b70be827bf985ca0522729bb03944ee24b090574db64baff4a16788edcaed435c6a39aa08fdbf5f70acddbdc63a3fcfe5b7ea WHIRLPOOL 4994b04425b940bc0341839acd3cc6d8edfcba6dda89a21cce73902ab3c064cf7a309d3d1cb838cc2338e455f5bec03ea4bf4d2a1ecf091ce0882716ccc41245
+EBUILD gnote-3.24.1.ebuild 1549 SHA256 6169bf168db38105790d0e674adc08af5dfa514ee80808b4665b3f1a3d6a464e SHA512 255c4a96c1728b559531727acc1b70be827bf985ca0522729bb03944ee24b090574db64baff4a16788edcaed435c6a39aa08fdbf5f70acddbdc63a3fcfe5b7ea WHIRLPOOL 4994b04425b940bc0341839acd3cc6d8edfcba6dda89a21cce73902ab3c064cf7a309d3d1cb838cc2338e455f5bec03ea4bf4d2a1ecf091ce0882716ccc41245
+MISC ChangeLog 5248 SHA256 8274a2c2e77964afc2f43d6d7adaef5c364a73c57ab7c245d4e590817ddf89d3 SHA512 2cc06baa041f9ac9d1dcd4e138273af6fecc1ad2be5e20f761a625f68bc8ee94814bc27448fab5410ca62746f49066837023820adc76b5b48a0a84f191cb32ea WHIRLPOOL 3996ac4a430e9d9619e526e99fdc34704d5fffb2b27fa12908fffcee1489994617c769a616611e8ddadd42f46804419047e31543b13fa691d0d8c864ac0d954c
+MISC ChangeLog-2015 8457 SHA256 8341181c3118dab8eb80ade67c0001e9ae8fe4dcc7134b115efcfae6c4834598 SHA512 740809fae022f6354c1ba2cc149df06f14ed22c998a12cd23fe8ee6e8bcd0515532999fa9e4f955bf5abee69594d0c7cc0d2ed5bff315143bc46972230154c75 WHIRLPOOL 4c937e6826b2a5d89e139ca84d40fdb33b46008343b131d76dd657287092cb1c2fd4883fa2e98ae87c34c2703f2d11ecd1519cee260d24a7d3ca55b8bc190194
+MISC metadata.xml 342 SHA256 4a2810a3830b351c68e12fb3d128aa36d0453204d77415964c73a71d22cf9dac SHA512 c68c058e279222cc9293a5b97fbf450f95a940a70a32b1adcac3e6276783d2bcc545f39895e92e7bd62c9ac5dc98139dc9800513c2a828895ba1fcf023227d21 WHIRLPOOL 2fb91aa34ea94f57cffa159f3673af487c729ddcafb4e44048ce07a64facc93f2bf732350bf0024307d874a2b0097394cd9f0f746eccebaebcf9bfef76b01538
diff --git a/app-misc/gnote/gnote-3.22.1.ebuild b/app-misc/gnote/gnote-3.22.1.ebuild
new file mode 100644
index 000000000000..26e294954bc2
--- /dev/null
+++ b/app-misc/gnote/gnote-3.22.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 readme.gentoo-r1
+
+DESCRIPTION="Desktop note-taking application"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
+
+LICENSE="GPL-3+ FDL-1.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug"
+
+# Automagic glib-2.32 dep
+COMMON_DEPEND="
+ >=app-crypt/libsecret-0.8
+ >=app-text/gtkspell-3.0:3
+ >=dev-cpp/glibmm-2.32:2
+ >=dev-cpp/gtkmm-3.18:3.0
+ >=dev-libs/boost-1.34:=
+ >=dev-libs/glib-2.32:2[dbus]
+ >=dev-libs/libxml2-2:2
+ dev-libs/libxslt
+ >=sys-apps/util-linux-2.16:=
+ >=x11-libs/gtk+-3.20:3
+"
+RDEPEND="${COMMON_DEPEND}
+ gnome-base/gsettings-desktop-schemas
+"
+DEPEND="${DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/intltool-0.35.0
+ dev-util/itstool
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Do not alter CFLAGS
+ sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
+
+ gnome2_src_prepare
+
+ if has_version net-fs/wdfs; then
+ DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
+ synchronize notes."
+ else
+ DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
+ If you want to use that functionality just emerge net-fs/wdfs.
+ Gnote will automatically detect that you did and let you use it."
+ fi
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable debug)
+}
+
+src_install() {
+ gnome2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ readme.gentoo_print_elog
+}
diff --git a/app-misc/gnote/gnote-3.24.0.ebuild b/app-misc/gnote/gnote-3.24.0.ebuild
new file mode 100644
index 000000000000..b0b68f6acf71
--- /dev/null
+++ b/app-misc/gnote/gnote-3.24.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 readme.gentoo-r1
+
+DESCRIPTION="Desktop note-taking application"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
+
+LICENSE="GPL-3+ FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+# Automagic:
+# glib-2.32 dep
+# >=dev-libs/unittest++-1.5.1 (but not detected due to missing .pc)
+COMMON_DEPEND="
+ >=app-crypt/libsecret-0.8
+ >=app-text/gtkspell-3.0:3
+ >=dev-cpp/glibmm-2.32:2
+ >=dev-cpp/gtkmm-3.18:3.0
+ >=dev-libs/glib-2.32:2[dbus]
+ >=dev-libs/libxml2-2:2
+ dev-libs/libxslt
+ >=sys-apps/util-linux-2.16:=
+ >=x11-libs/gtk+-3.20:3
+"
+RDEPEND="${COMMON_DEPEND}
+ gnome-base/gsettings-desktop-schemas
+"
+DEPEND="${DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/intltool-0.35.0
+ dev-util/itstool
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Do not alter CFLAGS
+ sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
+
+ gnome2_src_prepare
+
+ if has_version net-fs/wdfs; then
+ DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
+ synchronize notes."
+ else
+ DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
+ If you want to use that functionality just emerge net-fs/wdfs.
+ Gnote will automatically detect that you did and let you use it."
+ fi
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable debug)
+}
+
+src_install() {
+ gnome2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ readme.gentoo_print_elog
+}
diff --git a/app-misc/gnote/gnote-3.24.1.ebuild b/app-misc/gnote/gnote-3.24.1.ebuild
new file mode 100644
index 000000000000..b0b68f6acf71
--- /dev/null
+++ b/app-misc/gnote/gnote-3.24.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 readme.gentoo-r1
+
+DESCRIPTION="Desktop note-taking application"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
+
+LICENSE="GPL-3+ FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+# Automagic:
+# glib-2.32 dep
+# >=dev-libs/unittest++-1.5.1 (but not detected due to missing .pc)
+COMMON_DEPEND="
+ >=app-crypt/libsecret-0.8
+ >=app-text/gtkspell-3.0:3
+ >=dev-cpp/glibmm-2.32:2
+ >=dev-cpp/gtkmm-3.18:3.0
+ >=dev-libs/glib-2.32:2[dbus]
+ >=dev-libs/libxml2-2:2
+ dev-libs/libxslt
+ >=sys-apps/util-linux-2.16:=
+ >=x11-libs/gtk+-3.20:3
+"
+RDEPEND="${COMMON_DEPEND}
+ gnome-base/gsettings-desktop-schemas
+"
+DEPEND="${DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/intltool-0.35.0
+ dev-util/itstool
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Do not alter CFLAGS
+ sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
+
+ gnome2_src_prepare
+
+ if has_version net-fs/wdfs; then
+ DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
+ synchronize notes."
+ else
+ DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
+ If you want to use that functionality just emerge net-fs/wdfs.
+ Gnote will automatically detect that you did and let you use it."
+ fi
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable debug)
+}
+
+src_install() {
+ gnome2_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ readme.gentoo_print_elog
+}
diff --git a/app-misc/gnote/metadata.xml b/app-misc/gnote/metadata.xml
new file mode 100644
index 000000000000..9c70dba0d6b9
--- /dev/null
+++ b/app-misc/gnote/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tsuna/boost.m4</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gnuit/Manifest b/app-misc/gnuit/Manifest
new file mode 100644
index 000000000000..50dc2f126f63
--- /dev/null
+++ b/app-misc/gnuit/Manifest
@@ -0,0 +1,6 @@
+AUX gnuit-4.9.5-format-security.patch 427 SHA256 2db22addd5830263bc76f2b3c5ad0ccf4652852c82361d4e787cc4303bb3a5e8 SHA512 de604126f686af2eec160d4bd735f3888ee87a0b7bab38bb3d00d4dd26694c66810641687bb413933acb7991893a8772490fdc36fd001325d2a2b5f82bb3afc2 WHIRLPOOL fc6379d879f72fb3043a2b7255630df2f8843bffab0360b3d8a9e8b93800da55e51a3d1d0b47584e946f997919971d29e1baeb394f4b2178a1946c0a5120b94c
+DIST gnuit-4.9.5.tar.gz 894362 SHA256 6b6e96db13bafa5ad35c735b2277699d4244088c709a3e134fb1a3e8c8a8557c SHA512 91f1a86f45d5a2fab91941587aed3c1e57ae68271584bef38560c9a31fabbdfeba801d87cdf5640ba9f2041e43305e49c64953b8d5370f3f6a463b2fa2a7c5da WHIRLPOOL 45c9539fb1bcc8bb985b0d63ae24c7be50773cbddb81b986d48a3b9f290fcf3ca4649eda3d830beafe0c2b854a82e7b90d3082231a8e401643cc3fa6d59af18b
+EBUILD gnuit-4.9.5-r2.ebuild 1123 SHA256 ddf3012ce8e8e1fb3819bd1b4ee70feb29a6865b22473fbcbe2380d5581dfd09 SHA512 412d4c1ac55b92223b7f78fa085d42355d21dca51006c2b5ac219f184a3f28443e467c184888dc433b44294711ba8d129051567d2f3664dc11fc1462c3456fd1 WHIRLPOOL 83e323245e0358f65ea69876499dd7b667b2449a1bfbc5fcddb87a4679616a31ba663e3fe4e1287c325119a5ae855540a897be79bef3505b3cb256789eb5c4a1
+MISC ChangeLog 2626 SHA256 d9bc5fee345f3ff356cbf16b0eecbf096b5be927b5f48f2243f13e860246b8a5 SHA512 3337811838c407d2806e807ead6d1718dfed176a2bfb6633f64e2e3317e71a5577d677a100a02fab96abbab1e610b39b38cf5aaf7cb61413d837ac83bd3f899d WHIRLPOOL a32f0f7c6465e59e9139d3d693cb2b1ba98361bb97cac7d1928c08be69f949f60f6698e78e8b2cb543a641795f5eb1db3839a82840a77b6c7b04d0e7ebb3206b
+MISC ChangeLog-2015 1866 SHA256 1c26dfca797982dc2fb07caa23f95291e23aeebe104ffaa75a639a8ada33cb7b SHA512 77313adcd034d71ac07bd70a785cb08983f7dd8be7368976f75dad30a8d4626ff67a83c8c5dd63c2ddb4f8354f60af09123cd4926eb4d3bb77039cd89de5f277 WHIRLPOOL b39305134036c056309b26ff94dea6ecfeae6420d8d68d68b22d7724f9220849dbd82f8588eae6671d879d6d8d46ce16c93bb9f697b0edfe510d1c13a44770b6
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/gnuit/files/gnuit-4.9.5-format-security.patch b/app-misc/gnuit/files/gnuit-4.9.5-format-security.patch
new file mode 100644
index 000000000000..ec2a1c51fdb8
--- /dev/null
+++ b/app-misc/gnuit/files/gnuit-4.9.5-format-security.patch
@@ -0,0 +1,16 @@
+ src/git.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/git.c b/src/git.c
+index c6040b2..595912d 100644
+--- a/src/git.c
++++ b/src/git.c
+@@ -1917,7 +1917,7 @@ main(argc, argv)
+ printf("%s %s (%s)\n", PRODUCT, VERSION, HOST);
+ #endif /* !HAVE_GCC */
+
+- printf(copyright);
++ printf("%s", copyright);
+
+ #ifdef DEBIAN
+ add_to_environment("GIT_EDITOR", "EDITOR", "sensible-editor");
diff --git a/app-misc/gnuit/gnuit-4.9.5-r2.ebuild b/app-misc/gnuit/gnuit-4.9.5-r2.ebuild
new file mode 100644
index 000000000000..3f949e51f693
--- /dev/null
+++ b/app-misc/gnuit/gnuit-4.9.5-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="GNU Interactive Tools - increase speed and efficiency of most daily tasks"
+HOMEPAGE="https://www.gnu.org/software/gnuit/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3 FDL-1.3"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-format-security.patch
+}
+
+src_configure() {
+ # The transition option controls whether a "git" wrapper is installed, it is
+ # disabled explicitly so we don't need to block on dev-vcs/git.
+ econf --disable-transition
+}
+
+src_install() {
+ default
+ #emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}/html" install
+ mv "${D}/usr/bin/gitview" "${D}/usr/bin/gnuitview" || die
+}
+
+pkg_postinst() {
+ elog "The 'git' tool this package previously installed is now called 'gitfm'"
+ elog "The 'gitview' tool this package previously installed is now called 'gnuitview'"
+ elog "If you want the 'gitaction' tool to use your preferred desktop"
+ elog "application settings install the 'x11-misc/xdg-utils' package."
+}
diff --git a/app-misc/gnuit/metadata.xml b/app-misc/gnuit/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/gnuit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/gnutu/Manifest b/app-misc/gnutu/Manifest
new file mode 100644
index 000000000000..b67b2fde77a8
--- /dev/null
+++ b/app-misc/gnutu/Manifest
@@ -0,0 +1,5 @@
+DIST gnutu-2.5.tar.gz 287100 SHA256 a614d7dea5412273321e2ccccf6a9cabecc5e345af11ef6c766ae8ab74e5ff24 SHA512 b3ce4a39ca06cdb18459b64ca0ee167a735ae01dcac155c606d4ee61ace4d128540aa60f5ca2c0a5ed9ed561a7b1ebe02cd1dd4cffe79c3f0cbb8af831fdcd82 WHIRLPOOL 383ba76e50203d50df6f1fc544ffbeb487a97d79cba75791e6469b728bb1378ea1121e70252f915c4382d99a55b4b8cf7ac9a62b2d44235a7d3be0484f07a211
+EBUILD gnutu-2.5-r1.ebuild 512 SHA256 a8012e662d92af1ec182060383b638ed3ee433538070d71b094617a8fac66d25 SHA512 e15fdc1bdae88c4a012108142ccc424d7342661cf6e361d7fe5ab1c5fa10cc813a932c9770d515eecab5cb883c7c55f84c4d8c2189d3183d0b773ec84e7063ca WHIRLPOOL 4b8de3e716ff6f6a22b8ce945b44069d303efa96e8f0e3f39433d52e29687e3fb97e4760b24d5e7168f31468d2c2a5235d993fb06f5383304b92e7d3ac1523b5
+MISC ChangeLog 2891 SHA256 3bd08ee9f234d98ead73371135e9b88b5dca323618d115b5329bd7f9eeb46348 SHA512 e6086b74483427ab024539e8afd303ccb4d388cbd96ba276bcfa4190747c56baf00c59e3ebc4a0ce48278c2b321e8c7a805526c2e75a63e3195af66f2c8aca30 WHIRLPOOL ae041dc54944b458dc6825b17e0f86a2c8a43d3144951454dbbb8b7ed5283400d48e379002fc428d89df308647c19583b995bd2ac5f26deabf400f9c2cf7e93e
+MISC ChangeLog-2015 1334 SHA256 9f78d3935e9fc28be14366d0434363dbf7f1e938dc4ffa1b4a7ce6906d3d04e8 SHA512 bbf4db453e67b65fcca72e0fed16440079b18593519b09f7528761247801326bd5303ae6d52be0348f1fb24eb2c4057ff6743ffd80b2f32628b23fd7e50a201e WHIRLPOOL 8c441cdd597ae862579d754dc43aa1a8448e3536499c1fced098678beceabb28deb565f347ccf22c18bbc0d363ea0ab47864a7ece582f926b44bb35b455be8da
+MISC metadata.xml 873 SHA256 8eba25e5e89e0244eea8628d75498a11b5ab51c026715114ed2c8f8e5f1a6a48 SHA512 c8954a8cd9ba16d5bb61e47ec33eec0c8631ebcffb01e324ddb2fd3cb7de1bf8c989d7a8e209449e99af1e72cd0aa86881ac6f22a63a5b3a63801cd22e15547b WHIRLPOOL 8923a731b103c53623d0cbabe3639db61efca286eba66cdd1694e9b92645ff05ae3b316cc08d7f50071dae82cb8e4529ef020c8ef1b39fa3d3a721243049fa62
diff --git a/app-misc/gnutu/gnutu-2.5-r1.ebuild b/app-misc/gnutu/gnutu-2.5-r1.ebuild
new file mode 100644
index 000000000000..2c00123b072a
--- /dev/null
+++ b/app-misc/gnutu/gnutu-2.5-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="GNU Student's Timetable for polish users"
+HOMEPAGE="http://gnutu.devnull.pl/"
+SRC_URI="http://gnutu.devnull.pl/download/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-lang/mono-1.2.5.1-r1
+ || ( ( >=dev-dotnet/gtk-sharp-2.10.0 >=dev-dotnet/glade-sharp-2.10.0 ) >=dev-dotnet/gtk-sharp-2.12.21 )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
diff --git a/app-misc/gnutu/metadata.xml b/app-misc/gnutu/metadata.xml
new file mode 100644
index 000000000000..3fa328ef2ad6
--- /dev/null
+++ b/app-misc/gnutu/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ GNUTU is a polish program. It is designed for students from primary and
+ secondary schools – using it, you can note various information (like marks,
+ tests dates and important school events). It also can create various statistics,
+ calculate your average; it can also serve as a journal and many, many more...
+ </longdescription>
+ <longdescription lang="ja">
+ GNUTUã¯ãƒãƒ¼ãƒ©ãƒ³ãƒ‰èªžã®ãƒ—ログラムã§ã™ã€‚GNUTUã¯å­¦ç”Ÿã®ãŸã‚ã«ä½œã£ãŸãƒ—ログラムã§ã™ã€‚ã“ã®
+ プログラムã§ã€è‰²ã€…ãªã“ã¨(ノートやテストã®å¹´æœˆæ—¥ã‚„å¿…è¦ãªã‚¤ãƒ™ãƒ³ãƒˆ)ã‚’å–れる。統計を
+ 作ã£ã¦ã€ç‚¹æ•°å‰²ã‚Šå‡ºã™ã‚‚出æ¥ã‚‹ã€‚
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/go-jira/Manifest b/app-misc/go-jira/Manifest
new file mode 100644
index 000000000000..0ff5fa8e0312
--- /dev/null
+++ b/app-misc/go-jira/Manifest
@@ -0,0 +1,15 @@
+DIST github.com-coryb-optigo-6f3f720fe67b838bea7a8f53d9bcb58293daf590.tar.gz 11440 SHA256 5d74cf00ba3eeaaeda2cf195addb3087577c2415e57339e3bd56c1edcb00a19b SHA512 f94b794968a4045141c406efe085fef8835700140d23c399c6168126741d5620a6c3d2ba28e02ae2db8b41622293f8c9edca94a89dacf702915ddeba9972131a WHIRLPOOL e6fd330a0d972c9207afabb70d8c7eadfea5b182226aee6f145ed8263f97ad3ce66a02891df67deb620b51f8ea01c25c8e27566308118a6ce9094cf8d09453b2
+DIST github.com-coryb-yaml-c82a3f4d49697aad482124182e538657091c9364.tar.gz 61046 SHA256 87a39b354d16827a81ae0d0eef0739ce12b7a03be2b384e76ab8b26c9c682752 SHA512 daca4d345b007d28d8f95b6bf181952863883f840dc61f3e5ca6c7d791382382d1ea2e8c44b09e8b11459947d560558bbd4839331acdc7f97ed139b3d3996fd0 WHIRLPOOL 02add3ed05d215e095d5aea30bbc810aeb55d1115796d4c14949a309c5500404f6797b6fc9972b42aec9afa968f928c999ac6cbd8eb0485937f1cc50190ed6f9
+DIST github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz 1336856 SHA256 28950420102f0dc290b84a52f06bc5b12a0a2b411b1b4fe216ba4ffe3ec3754e SHA512 c22fc86fbc22d6ec8157f89c075f07db8b72bf63ff97e06c907f555bf865cb77414c4fa2b9974407e43fa4f74b77710d3be9d2646f929fcfd5269b0ffc379914 WHIRLPOOL c85d338f87f5c418009497308ba28bd805769cb5350835dca35f77cce7ce456afe9cbcd66d9db3aea77e3eab0ed228260f7ec2e6825632624d9c80556ed15fbf
+DIST github.com-guelfey-go.dbus-f6a3a2366cc39b8479cadc499d3c735fb10fbdda.tar.gz 37292 SHA256 c818a98a38b558c160abe774303455c5fe75d2249fac25026056270aed6c9004 SHA512 e4cb632b7aac4d9c966cfac7479c3221b17827e2e27f3ba032690f0c896243c4b93556245ee5f2cf852a4478ab1f143d7176f09c96cd664d53451e587d64dd0a WHIRLPOOL db553d222e06fc26fbe3e6c8494c7040ab9e5922b5c2de13f6d2bd7baf8775aaa7f2436ab89253b50352759d814f608971c1ae69b7774f8f64469753ad912804
+DIST github.com-howeyc-gopass-bf9dde6d0d2c004a008c27aaee91170c786f6db8.tar.gz 11295 SHA256 663322faf4980430ff7f478de5b72ff5ed579b2ea7d7fcbaf1a40c38baddd837 SHA512 d502e33fd19784f76d04e3ff7218a055b6b0f16ac9f53bd526ec15ff3f94ba2729aea534313d18ae62aa586993fa8ff2fdfafbea7be84a002f8d7e19ae7f951c WHIRLPOOL dbb5f9bd8a856e221dce56590d0ee871bf9cadf61c620992983a99dc59772ee48b1baf408d4bc4889e919bbdb16bdeda754d2af016b22045b429d3b7170a5290
+DIST github.com-kballard-go-shellquote-d8ec1a69a250a17bb0e419c386eac1f3711dc142.tar.gz 4202 SHA256 a338bc042d9d90149660998b78cae96eb7e2a5f420e73ac012b232f90c13603f SHA512 ec09244c4cfda891e4978573fd427972d2a85e48ac66b91736b2a5d158f5e6b511e83294e813fb867cee7e8fe05341b429de857c6b7ff5b4f8581722de66529a WHIRLPOOL 3935a3d5477750b7f03f7ccbab4c919378925338d79a6da12563b5f74f7a130c0684aa730815a98a24c3be8034782fe84ad4b30fd65c6f4a479bd4544735df54
+DIST github.com-mattn-go-colorable-ded68f7a9561c023e790de24279db7ebf473ea80.tar.gz 7522 SHA256 454e4134a81b0913cd22fd6efc50164cc352218f81e1a73ee209a95a7d017f09 SHA512 ae09fd28e2aae98d0b73bf71ee7496d8d53e20232428d09e021ee8571ca7e990e85c0d9613c89851e2025624d317a26e1768f4e7af12294eb1a189a241bd8daf WHIRLPOOL 567d3a684eeca18e8703714197b23ad9d7157fa50664ea09a0ab130635cb75fdc543aacb23a347324d9dd15b44081f0393e7db1a1d8e9159b9fd3e703cb7d008
+DIST github.com-mgutz-ansi-9520e82c474b0a04dd04f8a40959027271bab992.tar.gz 4874 SHA256 d2c03c85e424aa14b2f7510ada9f295227927990fa8a87162d6e26ad892e24ef SHA512 893f9823f06edaeb35dbb1a19d908bd08a7d8df6527addf3d7197efeb0c2a83d85405043efd910027d472ed25cf869f4999ece4241cb546e9f648843bdd006cd WHIRLPOOL ec8c08a6f056398faa8afad3b0b866abf48676f5227bbe25a4efdf420143f586adec504989c639fbf8007ea524dc8794982d94d3485a1008a29e5f424ea6e29e
+DIST github.com-op-go-logging-b2cb9fa56473e98db8caba80237377e83fe44db5.tar.gz 35887 SHA256 2713605a189b2347a918a62e97a969c535cf17c33113219583a6926ed0f2252f SHA512 d11e60d7b630176c3dcb06f00ac29ec296dc4f20527224726066d19b7f8fa7e022e7842a60eb251993ea8af77ca5b9d602a1624278a00a3eb335ac7def50feb5 WHIRLPOOL 718ce1a970236126ad0ed2500503fc1d229d03de97657f856a7b0ea7f334ccd24d7f6ed9541e9b1b18d22718dbf9c3dfdf91e3c4fa20598223c011393a12e01f
+DIST github.com-tmc-keyring-39227cc0349f1b69956c23aa1f679eefd17ebae0.tar.gz 4727 SHA256 d72312544db86572c84528e688c77b1bcf0182c09d656895b4c042606145c6aa SHA512 f2527d0f12d0bdb43807d439f1c53b04ea53558ce43af88b6538895da47eb11d8c90b236ff0212f4d492e78de8538c8774376f8e761b107facd879f163e05f51 WHIRLPOOL cdf2d62e27225b454c5a414e27c46743897239fb9ff7e41322a88ee65a9b8557651c82ce0d41989e1209f30abf13cd6c2b1dc82096e438328b79a0d9faf41b28
+DIST go-jira-0.1.14.tar.gz 60069 SHA256 561f388a0dcb6da531469fa913f9e5377f30f406b2afab78f6a0dd66b5352384 SHA512 b17b316258c859604b128d1fcbc5906563c0960d05f3c4d7a26344eab32b0e6dbd4ab7b613f0fb06b62872d22dece6eaac950d5b5eb0c970713ebd85de7aa89e WHIRLPOOL 472ed642c2059e765e46daaa46c6ce1436f4fb8d7f3b524f9d042d976e0176551a02fe1a5b9927bf39a43f5de694462f554a6fe53f40ab25fcafa55d697fb6a9
+DIST go-jira-1.0.10.tar.gz 1295024 SHA256 57f5b8a47c3a653cbf17fcbf30e28e3552586855d64ecf4fa7b9c7ec799800bc SHA512 86bffa8c9bb6311f87671377349b75012efe40d645652df5d192a465f6a55a7c7b789a2245b7f73d48bbe7bc4dea6b8859e064db16a5f419964f7c5fa627e32e WHIRLPOOL fc081c25943416c70a42052ebcab879c44f5a506c5b204aa45051972363c1762c903d36f643700c038ae1471d8af71ee6f5d66219a1fff542a0830e5ec9585ef
+EBUILD go-jira-0.1.14.ebuild 1710 SHA256 71163b924193032d26ac77a4238b5868722aaf1c5ae29f7d5f59d14f89620f88 SHA512 95f337fe923ab3e9db1547329c44f74c532cf584ec6e8ab85bff1c65f1aaea5fd32d00275f5a211376a5cfcdd7873d242f63f74f43d7b8f4b13c01b1ca4f17f7 WHIRLPOOL 9e75d5e112909e30664d59f470bb5d1957c909666c386c5792e17d1e2e2203c66c25dba96e916be5a7e67285b20a432b588c9c39fbef57d338fc336f66a0f8d3
+EBUILD go-jira-1.0.10.ebuild 705 SHA256 5cb1b79a053eca802e37242ab96d0e592854b5fdc9fac387dfafe036098159f4 SHA512 11869bef72ceaec6df3da65a39050675d6d60b81224f0a31900fe483c09e5fea0b719817114380cefda461a8bb15a6e215419e9c0802f7f07474977539ab46af WHIRLPOOL 619fa80832537cbe5175f89fa648c695a5444078c682f131b6c3bc7d65403077ce42903d3ad18d3c50eec7aabc36d899801d0fdce0361893456f7aed9cad4d09
+MISC metadata.xml 336 SHA256 87ea2560a533286e62277c26316e126aa87965110e60ba4ccd954cee04d5112d SHA512 37e0c43ce89345c1e0136e8e1f162abd77def9f295ddd8abc3b49f638847a1c08c41cb1055415aeb5a3ce5d1eab37b9ca2654764255ea6ccf9d76adc0a5f8009 WHIRLPOOL dd919dab2e65abac86a90ef8500ba560ce23acbf9c196bdec0731cc2c2b8028b72cbb9e4c8e79f5966fcf035c5f575c0ea0154b6b460ef0dddddc596714b179f
diff --git a/app-misc/go-jira/go-jira-0.1.14.ebuild b/app-misc/go-jira/go-jira-0.1.14.ebuild
new file mode 100644
index 000000000000..8044698633c6
--- /dev/null
+++ b/app-misc/go-jira/go-jira-0.1.14.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/Netflix-Skunkworks/go-jira"
+
+EGO_VENDOR=(
+ "github.com/coryb/optigo 6f3f720fe67b838bea7a8f53d9bcb58293daf590"
+ "github.com/howeyc/gopass bf9dde6d0d2c004a008c27aaee91170c786f6db8"
+ "github.com/kballard/go-shellquote d8ec1a69a250a17bb0e419c386eac1f3711dc142"
+ "github.com/mgutz/ansi 9520e82c474b0a04dd04f8a40959027271bab992"
+ "github.com/mattn/go-colorable ded68f7a9561c023e790de24279db7ebf473ea80"
+ "github.com/tmc/keyring 39227cc0349f1b69956c23aa1f679eefd17ebae0"
+ "github.com/guelfey/go.dbus f6a3a2366cc39b8479cadc499d3c735fb10fbdda"
+ "gopkg.in/coryb/yaml.v2 c82a3f4d49697aad482124182e538657091c9364 github.com/coryb/yaml"
+ "gopkg.in/op/go-logging.v1 b2cb9fa56473e98db8caba80237377e83fe44db5 github.com/op/go-logging"
+ "golang.org/x/crypto e1a4589e7d3ea14a3352255d04b6f1a418845e5e github.com/golang/crypto"
+)
+inherit golang-build golang-vcs-snapshot
+
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="A simple JIRA commandline client in Go"
+HOMEPAGE="https://github.com/Netflix-Skunkworks/go-jira"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+src_prepare() {
+ default
+ pushd src/${EGO_PN} || die
+ mkdir -p vendor/gopkg.in/Netflix-Skunkworks || die
+ ln -sf '../../..' vendor/gopkg.in/Netflix-Skunkworks/go-jira.v0 || die
+ popd || die
+}
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${WORKDIR}/${P}" go build -v -o jira -ldflags "-X jira.VERSION=${PV} -w" main/main.go || die
+ popd || die
+}
+
+src_install() {
+ dobin src/${EGO_PN}/jira
+ dodoc src/${EGO_PN}/{CHANGELOG,README}.md
+}
diff --git a/app-misc/go-jira/go-jira-1.0.10.ebuild b/app-misc/go-jira/go-jira-1.0.10.ebuild
new file mode 100644
index 000000000000..76adf6c250b7
--- /dev/null
+++ b/app-misc/go-jira/go-jira-1.0.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="gopkg.in/Netflix-Skunkworks/go-jira.v1"
+
+inherit golang-build golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+
+DESCRIPTION="A simple JIRA commandline client in Go"
+HOMEPAGE="https://github.com/Netflix-Skunkworks/go-jira"
+SRC_URI="https://github.com/Netflix-Skunkworks/go-jira/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${WORKDIR}/${P}" go build -v -o jira cmd/jira/main.go || die
+ popd || die
+}
+
+src_install() {
+ dobin src/${EGO_PN}/jira
+ dodoc src/${EGO_PN}/{CHANGELOG,README}.md
+}
diff --git a/app-misc/go-jira/metadata.xml b/app-misc/go-jira/metadata.xml
new file mode 100644
index 000000000000..88682910c611
--- /dev/null
+++ b/app-misc/go-jira/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Netflix-Skunkworks/go-jira</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/golly/Manifest b/app-misc/golly/Manifest
new file mode 100644
index 000000000000..31b0010c9f14
--- /dev/null
+++ b/app-misc/golly/Manifest
@@ -0,0 +1,7 @@
+DIST golly-2.7-src.tar.gz 3881882 SHA256 9af30afd7b03b3eebcfaec088d67c495609aef72516d9ca8f076b62f32b5e17b SHA512 084919f508b471cc0937d50307410c3f48281e7328e3b9d20e634b9ddfe5909e3b9a000da5a9845a2ba7e45a733fee39e2e6d55902c9af110b5f2d7ea8654d77 WHIRLPOOL 5c391894943593391e2c784f28c00cbbb479068936c6bd754d6c81847d4b0a3c57aad65535a5d8f5f97f789225a6d8d18f52b203ea9340fdd49f641fac8ae42e
+DIST golly-2.8-src.tar.gz 4087191 SHA256 0488724715bae228e88d0a819d8ed311f964c70f37f228f6218bc053a1b09b28 SHA512 bd86f685d180687814a44aa51edf4952a5af9024abb76d6b30faf1229edc86a1ba4e1f2c13f249f604d483fbde1a6db05150263450935b5bb073c155ad166a53 WHIRLPOOL e42ac36a1b61c2df7ddbab6b1d99fc34547cb1856178ba8de55d0e029e5d13fadcb1ca3cc4fd3211a8e470b4568971f23e95ee64d7d33f3a424f3977aa6e293d
+EBUILD golly-2.7-r1.ebuild 1016 SHA256 c3d2bd761c4c784a3f68541078b5e2e7726f563f59bea7c3243b8c1dbdc34a66 SHA512 28c118e5bd8542699bd89517e301a169dcb0961920fe66958329bf4570c3e6a53446069850d24553ac6f9ab69b99445a51888281edcb34d83a54f79497428216 WHIRLPOOL 3cc22a4640121c3446dff470fad0be36e6b7e7f541a24d2f2c49566cf170d8d79076c0e4404fcfe899f15c2968d9c4d0da3cd2b6f5cba96bea2a1835de30fb71
+EBUILD golly-2.8.ebuild 1128 SHA256 324472440811a731e801e952205fa3ae6170a0e85e5f9d8ba879b6f850aad0e2 SHA512 fb2accd032fc55513a560f8a18fed679520128a38bf025e0d85616fe44e55f58e2d3d1bd993fbcccf5db99a98fd13ae33d1c6f60ed34ee95b19924ea4e6aa06d WHIRLPOOL a185ff37dddcaa2030cc0bcecafccd8a6fdcc20666cfd7461aacaff90dfdc6794cf73f53479e97fee81314e5698ea4c36d7573415d95f38167aa99eef55ee1b9
+MISC ChangeLog 2962 SHA256 ff06fb0adc9c85a366b8b841a34a42499da1d4b331d16d805468b1e51ac1678a SHA512 169397613979f7bdc88b0f3bbf4fe4838930d90cac094d5f2031baec9c7757b9c5826ea96a586ce80388b8b18d37f44c859106d0bc140f448ab727628ff84f09 WHIRLPOOL ac3cb02c3816eaff8ee1bf8738a56a712bc3da2631e779a5d1cafb9275d5c49d97e6ac34b4e1c4bff5a2df27156377300e0bf79aa3c167f89dcffa9204bd3211
+MISC ChangeLog-2015 4275 SHA256 8b8064fafe17a3d61868c931e168d7f960c7d70b870b1fbf0ead56bd6dfc893f SHA512 93a46e6b48e6217eab9497596057c316138b38931513df8017d01eeeb289da946b72b853d2f56698ddadea2927fa6e7b3785fe4513ae821366c300e30ff31f3d WHIRLPOOL 7957f1266692200adf3e83d1bd9897d366899e58a73e6d3edf0d3532bdc59c6e379c2d9ed8ef1c611a0e829e8cd436fded2db69bd6177a3af51cd63192259464
+MISC metadata.xml 318 SHA256 64614a66c38262ea234685c1b30859ddb9ae151553185fc445e95ac6c18f8490 SHA512 38f971db2a96d7d2b20a3151b3000c01b0fbe4dac6ec537ff0fe662d50311afbaa42090edc5a91387ea83616d1b143ed104e9596d807b34799acceabd9c2c71f WHIRLPOOL e24235a0d4b00d32871d05b221e7a1178b02e1114542eed78cc06a433514cf84c279833ebf5d2c0617b1ab6f0223e32392f27f88c7e967be3809d4bb0858614d
diff --git a/app-misc/golly/golly-2.7-r1.ebuild b/app-misc/golly/golly-2.7-r1.ebuild
new file mode 100644
index 000000000000..b07bc8262aab
--- /dev/null
+++ b/app-misc/golly/golly-2.7-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+WX_GTK_VER=3.0
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1 gnome2-utils wxwidgets
+
+DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
+HOMEPAGE="http://golly.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="dev-lang/perl
+ sys-libs/zlib
+ x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}"
+
+S=${WORKDIR}/${P}-src
+ECONF_SOURCE=gui-wx/configure
+
+src_configure() {
+ econf --with-perl-shlib="libperl.so"
+}
+
+src_install() {
+ emake docdir= DESTDIR="${D}" install
+ dodoc docs/ReadMe.html
+ newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Golly" ${PN} "Science"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/golly/golly-2.8.ebuild b/app-misc/golly/golly-2.8.ebuild
new file mode 100644
index 000000000000..1c6a36ee52e7
--- /dev/null
+++ b/app-misc/golly/golly-2.8.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER=3.0
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils flag-o-matic python-single-r1 gnome2-utils wxwidgets
+
+DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
+HOMEPAGE="http://golly.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="dev-lang/perl
+ virtual/opengl
+ sys-libs/zlib
+ x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND="${DEPEND}
+ ${PYTHON_DEPS}"
+
+S=${WORKDIR}/${P}-src
+ECONF_SOURCE=gui-wx/configure
+
+pkg_setup() {
+ setup-wxwidgets
+}
+
+src_configure() {
+ append-libs -lGL -ldl
+ econf \
+ --with-perl-shlib="libperl.so" \
+ --with-wxshared
+}
+
+src_install() {
+ emake docdir= DESTDIR="${D}" install
+ dodoc docs/ReadMe.html
+ newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Golly" ${PN} "Science"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/golly/metadata.xml b/app-misc/golly/metadata.xml
new file mode 100644
index 000000000000..f40f0dd4325f
--- /dev/null
+++ b/app-misc/golly/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">golly</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/goobook/Manifest b/app-misc/goobook/Manifest
new file mode 100644
index 000000000000..9a76d73145d6
--- /dev/null
+++ b/app-misc/goobook/Manifest
@@ -0,0 +1,5 @@
+DIST goobook-1.9.tar.gz 29274 SHA256 311cb344d285e8af36dcd4546d3bd499939140287a12b2d509ea6f2535c2b50b SHA512 66d017bfa0fcad39d24b80e454d4d2e97f92a95f6dbf545739b89721b8c44702177a7f656d9cf1f38ac8278f235935afe666047cbfb64733f8deae6838f91d81 WHIRLPOOL 64d79136a126a19baec327de8cee928d4db025b06ad9364954efbe3cc5e9712f0c1539a57bcd73000f989027c46acfff05ddd75db228eade568c9ded189f3f52
+EBUILD goobook-1.9.ebuild 1287 SHA256 68f41eadd0fb29af19d278ed9cc3abc321ea2aaa850846f31e45fbc380d7399b SHA512 9c3245db9df02db1a2620a6ac9f62ea4825d98399e89b49d28391e58e98c11e59c523c5a800be6f06b64d86cd64d2a35e75780ecc0a4fab8a2ef9b143541427a WHIRLPOOL e646f877e9737f1691cda2163174f16d7bfc0a65ab9d0e6136c94691cfcd24d2b12a96f6c2284f506a5969f54e31479f6ab1deb1ba9ab3391dcfbdfcb5b983d0
+MISC ChangeLog 2634 SHA256 b7eb57ad751b69c7a85e001639d6c3ad805f3560543d32cedc2e01d6da9b5d99 SHA512 10af49c61fad350575e8b49fcdba068ee4535307faa9d1cb30328567185131c4096c0dd4f2ddaf33c05ce754b0f3e00b6c66ad56f8ee52ec08c0fd2211dad62a WHIRLPOOL ad107bc10d12a6e39c60416f8d371a704c12d2a1620975fc6aab09bd21228a3f571479f6be30e5170530d4ddae00172af736e33d06124253b6b33fc93fe93b37
+MISC ChangeLog-2015 2269 SHA256 90d4dea656d59edebf4bf6e612b4931808bc95d92f5a78548ceed8b7cfef3918 SHA512 fcffaa1618f86c5169cde493df57531038f5ba1bb57bc891a2944cce600a2f2286495a063337c4c27397777679450d823c2aee9cf6bca91686ed248b8a2fa4d9 WHIRLPOOL 50f43ba075aa562dbec955e08a5edff763d28fabbc0caa46f8d03ec00024fc1e9082fe55beca0a2161ab56a6882ffc074ba745eb7f5d623d3def899d51e00c24
+MISC metadata.xml 511 SHA256 cd3c0085f3414bc06a75de8f0ba2410dbe81561c8d6f0ddbeaed586c4ffd53d8 SHA512 0dc6124705876f166ce360bf80e3d125067717d9b5ed326b0a831a86f0f77afaef31da9a0e4aaba025916287b27c9a4a0a8f226474839ee6fa0e5bfde1030459 WHIRLPOOL 86d812f41d1887a9c4c6cb00322960e12ab03de46d3b45f25c5570d2f149d384b5daf413ed7d5c713d13e8fb082c8a43fc0598bce20ab126a5d87f1e60fb797e
diff --git a/app-misc/goobook/goobook-1.9.ebuild b/app-misc/goobook/goobook-1.9.ebuild
new file mode 100644
index 000000000000..bc1386f33d80
--- /dev/null
+++ b/app-misc/goobook/goobook-1.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 readme.gentoo
+
+DESCRIPTION="Google Contacts wrapper for mutt"
+HOMEPAGE="https://gitlab.com/goobook/goobook"
+SRC_URI="mirror://pypi/g/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-python/gdata-2.0.7[${PYTHON_USEDEP}]
+ >=dev-python/hcs-utils-1.3[${PYTHON_USEDEP}]
+ >=dev-python/keyring-0.2[${PYTHON_USEDEP}]
+ >=dev-python/simplejson-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
+ >=dev-python/oauth2client-1.4.11[${PYTHON_USEDEP}]"
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+src_install() {
+ distutils-r1_src_install
+ readme.gentoo_create_doc
+}
+
+FORCE_PRINT_ELOG=1 # remove in the next bump
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="
+To setup initial authentication, execute:
+
+~ $ goobook authenticate
+
+If you want to use goobook from mutt, add this in your .muttrc file:
+ set query_command=\"goobook query '%s'\"
+to query address book.
+
+You may find more information and advanced configuration tips at
+https://pypi.python.org/pypi/${PN}/${PV} in \"Configure/Mutt\" section"
diff --git a/app-misc/goobook/metadata.xml b/app-misc/goobook/metadata.xml
new file mode 100644
index 000000000000..43780dd0d6f2
--- /dev/null
+++ b/app-misc/goobook/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fabiano.francesconi@gmail.com</email>
+ <name>Fabiano Francesconi</name>
+ <description>Maintainer. Assign bugs to him</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">goobook</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gourmet/Manifest b/app-misc/gourmet/Manifest
new file mode 100644
index 000000000000..d3f4d3ea5510
--- /dev/null
+++ b/app-misc/gourmet/Manifest
@@ -0,0 +1,10 @@
+AUX desktop-entry.patch 291 SHA256 cc1e41d9a426639bc19465d0dbd6b6b041643a8eccdd4a98665f3b27723b0a60 SHA512 f93f41082a6483828dd9c579c00f3b4c39574370d76954223f9b1b17663bab389b941461dfa3c7aa82c045b97d1a326791b3ed8ea6bcafad17bb879db068aff7 WHIRLPOOL 6c08c0ef0afded0072d8cd251488c6c19f7e96c7a8252401d1c3ed22404425e739beb16175a15fc51cd52647a398462e640bd232ebbcdf9ef23b5562f0549596
+AUX gourmet-0.17.4-pyglet.patch 1664 SHA256 134a23df0e5cf5a068719785d546915a5a4fa67b7a1ccc5c65f084f40b5ff15d SHA512 162b6b80b09326b15a1cbc8e045ba1fea36bfc106a6f1182659c890e0c100c0820b4f42f24f154be2f8fe2f457e212ace9c989002f33ea26523b1000b888c66e WHIRLPOOL ec6484301e92f09fe59a310bf7652d4068c888db3d2ce4cbb956292ac8caa094b9727028a055e4ab688d72c9519e64af13d4ba1b4327bf9933d9543240d1666f
+AUX no-docs-0.17.0.patch 338 SHA256 b6fb37e3ea0794e7024cc2ad04e5b8b10b2c10d04f37cbe9465bde39e827b24e SHA512 0e8f3c35411ee7f895490762acca7da2eff6e498de6c35511c90c2dd91dc6872f405b8a73465dd411eb193cbf0c8a37b75a5dd06e89e8601e268bffbe6f674ba WHIRLPOOL f5d086b87d394b8c058daa901c88761c20badd2ba3db0603300363f9dbdd6c5ac3ed01e02d3f7ca16faf13c30d7649180956af387b6cb1c3b03f9f82ea8a3e1b
+AUX tostring-to-tobytes.patch 988 SHA256 107b0cc16de64681702587d19964b5f21c3be665e3011c44854c89cfaa95e9b3 SHA512 72b12c9e775bea34ce82c53a8e808fd212eec523f03ca591735ee90121cc45ec6a6464168fe16d66c9889e92168accf8643b0486bc53ef8d144aa92070f3f94c WHIRLPOOL e8413d4e4ef967666671892970f6c2f934b8c43d023b45cf4eac621c8f38838d3c744134d97dc1cdde3c9a57e01d0f0ece4b5f6232b689caddc529c0f0115ed2
+DIST gourmet-0.17.4.tar.gz 8487830 SHA256 13edd3b9c3a3507d20b80cff0f88183ac7979b720e7577290815ffacca097fe3 SHA512 54010a5527f33e08b38d0fdf143cc4528e8ccc65ccad3253074135212751c3bc4385ba5f721327268f455bf85ff6f248e56ebfa1b98933a4ee061983eb9daa4e WHIRLPOOL 9f0f795ee405c0e72587451cbe5b6b72d5d35df2697f55325879c6841a39110773a4837f93b7823e4c0f64a48feb7b192a76cb6c7cc91f8bcd1bf40e9a065105
+EBUILD gourmet-0.17.4-r1.ebuild 2291 SHA256 08dd4a8b2222780166673f8ab1a5e8e0e522fed618ccf854d558fd039744ba55 SHA512 03b300cbfa5d4a1d9cd13301f33d817d9171fed26d21e329d523276294a562111b0db9b2cb04012879d782a6d871eb4117865569b6c769ad98a492f8bc8c2a35 WHIRLPOOL 00c53c330ea226caaa501879abaa94ca5ebca6bd0e6fe7ecbc35fd160dfed587340b191778a8a22ecde7d88e8a38422e873035d27e4e58fd17d4ac7fb1e12c7f
+EBUILD gourmet-0.17.4-r2.ebuild 2314 SHA256 564438000a2d1b20af536d6909e89bb7506ccd258b9c99b42009d4ead1830742 SHA512 0ec3c5a996f3ca5419abb854053813c5022b53915ac41bd56cf4ebd8eff2e3707d504808e6c888bccc897ffc48f8e86d40a6ce9e58317834e8e2e7a0d0f863a8 WHIRLPOOL cb6bf5f659478c34a133e6e6c57e066efd2c9a15f793e84fc4200fd0a26cdade5e2b3dcfd0a78731eb4cde0211b21af258e9aba49ffb9b8fc8c990f30a3c3330
+MISC ChangeLog 4043 SHA256 4d35bdb62214b893017d15f17f6d825cb2193ae3447425b54ae5cb6f42ec022a SHA512 0d3f109bff5b6b145714719eb7997908c06746ec4bfb07b6483ee107313fd4f79ce260c2969c025edb94c51ac435d63d19382c710c72b4457861423d5b3b57e0 WHIRLPOOL 59f7afd65d268274d2e60255a8b2abf2691ecc8bf9283854ec805fef1d21e93f1a4a4a656a04ecf73b8944290ba58d353c1a5b9606e7e5c8494d0fc35ade8d3e
+MISC ChangeLog-2015 8201 SHA256 b44e9b26ff4eb17d38233669702778e7d55cfa7741d4ed44d7213766765b0bd4 SHA512 04be873ec81e52ae74c1230b8b27774a37ffc80031bb997156c33d2412c1f189802eeb97999e6dd262cc85dd9e36f24bf863b57b94501be1d2f90ddbc2d433ee WHIRLPOOL 5e4cde6b304741352c3f598f2eefdf3e4fbc1c7743a04d4304059ae9b44d4564800822915b8d0e8f7077cfd63c94a90b4dac804624786c189ee5a27d1d30f7e9
+MISC metadata.xml 1559 SHA256 1e196f806b37e797b1fae33e4a5867c479d9c55cb7e43d5e4f86ae804e2f58b4 SHA512 67cb0b91052e1a2b0cd917839f796435cd45fe157e69d1ac8fbad7a3f4e09176db9f8d217edf0dd032cdc5b20a1e1c2ab3c56e57ddb8e291f55e5a1ff27764bf WHIRLPOOL 75a78af0c29da24788019851196cad3366063e9433dfacfee14ffdd5142b9070a8e28ec172864d5cff18cc80c937f1b1e3709aba4ecc76cad374ae00a9715e2c
diff --git a/app-misc/gourmet/files/desktop-entry.patch b/app-misc/gourmet/files/desktop-entry.patch
new file mode 100644
index 000000000000..b79aa5f7b770
--- /dev/null
+++ b/app-misc/gourmet/files/desktop-entry.patch
@@ -0,0 +1,10 @@
+--- gourmet.desktop.in
++++ gourmet.desktop.in
+@@ -4,6 +4,6 @@ _Comment=Organize recipes, create shopping lists, calculate nutritional informat
+ Exec=gourmet
+ Terminal=false
+ Type=Application
+-Categories=GNOME;Application;Utility;
++Categories=GNOME;Utility;
+ StartupNotify=true
+ Icon=gourmet
diff --git a/app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch b/app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch
new file mode 100644
index 000000000000..1547cde8f00d
--- /dev/null
+++ b/app-misc/gourmet/files/gourmet-0.17.4-pyglet.patch
@@ -0,0 +1,56 @@
+diff --git a/gourmet/sound.py b/gourmet/sound.py
+index 2dea6bb7..c232d258 100644
+--- a/gourmet/sound.py
++++ b/gourmet/sound.py
+@@ -1,15 +1,19 @@
+ try:
+- from sound_gst import Player
++ from sound_pyglet import Player
+ except ImportError:
+- print 'No gst player'
++ print 'No pyglet player'
+ try:
+- from sound_windows import Player
++ from sound_gst import Player
+ except ImportError:
+- print 'No windows player'
+- import sys
+- class Player:
+- """Fallback player"""
+- def play_file (self,path):
+- print 'No player installed -- beeping instead'
+- for n in range(5): sys.stdout.write('\a'); sys.stdout.flush()
++ print 'No gst player'
++ try:
++ from sound_windows import Player
++ except ImportError:
++ print 'No windows player'
++ import sys
++ class Player:
++ """Fallback player"""
++ def play_file (self,path):
++ print 'No player installed -- beeping instead'
++ for n in range(5): sys.stdout.write('\a'); sys.stdout.flush()
+
+diff --git a/gourmet/sound_pyglet.py b/gourmet/sound_pyglet.py
+new file mode 100644
+index 00000000..41da613a
+--- /dev/null
++++ b/gourmet/sound_pyglet.py
+@@ -0,0 +1,16 @@
++import pyglet
++
++class Player:
++ def __init__ (self):
++ pass
++
++ def play_file (self,path):
++ self.source = pyglet.media.load(path,streaming=False)
++ self.source.play()
++
++ def stop_play (self,path):
++ pass
++
++if __name__ == '__main__':
++ p = Player()
++ p.play_file('../data/sound/phone.wav')
diff --git a/app-misc/gourmet/files/no-docs-0.17.0.patch b/app-misc/gourmet/files/no-docs-0.17.0.patch
new file mode 100644
index 000000000000..9002a2ef3384
--- /dev/null
+++ b/app-misc/gourmet/files/no-docs-0.17.0.patch
@@ -0,0 +1,10 @@
+--- setup.py 2014-03-02 14:56:56.090600468 -0500
++++ setup.py 2014-03-02 14:57:00.184465687 -0500
+@@ -141,7 +141,6 @@
+
+ files.extend(data_files)
+ files.extend([(os.path.join(base,'ui'), glob.glob(os.path.join('ui','*.ui')))])
+- files.extend([(os.path.join('share','doc','gourmet'), ['FAQ', 'LICENSE'])])
+
+ return files
+
diff --git a/app-misc/gourmet/files/tostring-to-tobytes.patch b/app-misc/gourmet/files/tostring-to-tobytes.patch
new file mode 100644
index 000000000000..e42c59403d51
--- /dev/null
+++ b/app-misc/gourmet/files/tostring-to-tobytes.patch
@@ -0,0 +1,26 @@
+diff --git a/gourmet/gtk_extras/ratingWidget.py b/gourmet/gtk_extras/ratingWidget.py
+index 0e01735..efa6463 100644
+--- a/gourmet/gtk_extras/ratingWidget.py
++++ b/gourmet/gtk_extras/ratingWidget.py
+@@ -135,7 +135,7 @@ class StarGenerator:
+ if is_rgba: rowstride = 4
+ else: rowstride = 3
+ pb=gtk.gdk.pixbuf_new_from_data(
+- image.tostring(),
++ image.tobytes(),
+ gtk.gdk.COLORSPACE_RGB,
+ is_rgba,
+ 8,
+diff --git a/gourmet/plugins/browse_recipes/icon_helpers.py b/gourmet/plugins/browse_recipes/icon_helpers.py
+index 61c772c..2e7b08b 100644
+--- a/gourmet/plugins/browse_recipes/icon_helpers.py
++++ b/gourmet/plugins/browse_recipes/icon_helpers.py
+@@ -38,7 +38,7 @@ def get_pixbuf_from_image (image):
+ if is_rgba: rowstride = 4
+ else: rowstride = 3
+ pb=gtk.gdk.pixbuf_new_from_data(
+- image.tostring(),
++ image.tobytes(),
+ gtk.gdk.COLORSPACE_RGB,
+ is_rgba,
+ 8,
diff --git a/app-misc/gourmet/gourmet-0.17.4-r1.ebuild b/app-misc/gourmet/gourmet-0.17.4-r1.ebuild
new file mode 100644
index 000000000000..0ce9c07225d9
--- /dev/null
+++ b/app-misc/gourmet/gourmet-0.17.4-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
+HOMEPAGE="https://thinkle.github.com/gourmet/"
+SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="-i18n -ipython pdf print spell sound web"
+
+RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
+ ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
+ pdf? (
+ >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
+ >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
+ )
+ print? (
+ >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
+ >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
+ )
+ spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
+ sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
+ web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ >=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
+
+PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch ${FILESDIR}/tostring-to-tobytes.patch )
+DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md )
+
+python_prepare_all() {
+ # Modify these lines before copying them out
+ sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
+ sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
+ sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
+ sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
+ sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_prepare() {
+ distutils-r1_python_prepare
+ sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman gourmet.1
+}
diff --git a/app-misc/gourmet/gourmet-0.17.4-r2.ebuild b/app-misc/gourmet/gourmet-0.17.4-r2.ebuild
new file mode 100644
index 000000000000..f58cbc6a509b
--- /dev/null
+++ b/app-misc/gourmet/gourmet-0.17.4-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
+HOMEPAGE="https://thinkle.github.com/gourmet/"
+SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="-i18n -ipython pdf print spell sound web"
+
+RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
+ ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
+ pdf? (
+ >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
+ >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
+ )
+ print? (
+ >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
+ >=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}]
+ )
+ spell? ( >=dev-python/gtkspell-python-2.25.3-r1[${PYTHON_USEDEP}] )
+ sound? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+ web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ >=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
+
+PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch \
+ ${FILESDIR}/tostring-to-tobytes.patch \
+ ${FILESDIR}/${PN}-${PV}-pyglet.patch )
+DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md )
+
+python_prepare_all() {
+ # Modify these lines before copying them out
+ sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
+ sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
+ sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
+ sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
+ sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_prepare() {
+ distutils-r1_python_prepare
+ sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman gourmet.1
+}
diff --git a/app-misc/gourmet/metadata.xml b/app-misc/gourmet/metadata.xml
new file mode 100644
index 000000000000..90652c4bf09f
--- /dev/null
+++ b/app-misc/gourmet/metadata.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nixphoeni@gentoo.org</email>
+ <name>Joe Sapp</name>
+ </maintainer>
+ <longdescription>
+ Gourmet Recipe Manager is an application to store, organize
+ and search recipes. Gourmet also makes it easy to create
+ shopping lists from recipes. Gourmet imports recipes from a
+ number of sources, including MealMaster and MasterCook
+ archives and several popular websites. Gourmet can export
+ recipes as text, MealMaster files, HTML web pages, PDF, and
+ a custom XML format for exchange with other Gourmet users.
+ Gourmet supports linking images with recipes.
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <email>Thomas_Hinkle@alumni.brown.edu</email>
+ <name>Thomas Mills Hinkle</name>
+ </maintainer>
+ <maintainer>
+ <email>ockham@raz.or.at</email>
+ <name>Bernhard Reiter</name>
+ </maintainer>
+ <bugs-to>https://github.com/thinkle/gourmet/issues</bugs-to>
+ <remote-id type="github">thinkle/gourmet</remote-id>
+ </upstream>
+ <use>
+ <flag name="i18n">
+ Enable support for i18n through elib.intl
+ </flag>
+ <flag name="ipython">
+ Enable support for the interactive Python console plugin
+ </flag>
+ <flag name="pdf">Enable export to PDF</flag>
+ <flag name="print">
+ Enable pretty Python printing
+ </flag>
+ <flag name="spell">
+ Enable support for the spell check plugin
+ </flag>
+ <flag name="web">
+ Enable support for the web import plugin
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/grabcartoons/Manifest b/app-misc/grabcartoons/Manifest
new file mode 100644
index 000000000000..8fe6f2b9009e
--- /dev/null
+++ b/app-misc/grabcartoons/Manifest
@@ -0,0 +1,7 @@
+AUX 2.8.4-fix-install-paths.patch 1189 SHA256 f1d63facb7625b8692fa6d6642f44ecdaf7394eb4431f0dd556ead141bd734b1 SHA512 3983cb0487cd1f770c985700297df01d5f33761d8dbacad413a3e50c315a999ae3a70a918b46149928124e6e4a299a8f4994bf60fec990aea6a87313bbc283ec WHIRLPOOL bda43715b41771c06d74fc5b98ecf825cd18f418ddb84200188cfd68858a2a923823257ab1d33df2f6e09d87ce133a8408a89f22dae09a50a21c375bce82b8d5
+DIST grabcartoons-2.8.4_p20141112.tar.gz 40998 SHA256 4cb1061ff66540d8b9fe5ef470cdf55ba3e458fd136d59250a626eb4f29d519c SHA512 6de81d151414ccbb7b00c2f472f0d811a7024c67a3c4bdc929babf2ff8990280ba1fde0851e4405dbc487c58e99f13a1dd07a0cd202099f6289dd0ed61296ee5 WHIRLPOOL b52c5e1b786dc2073f70c46e1a7a16d89ef586aa42456466466c5bff9e39f27a74c471c41a5682950563f1f7ff93669b8bd285d3642d66ed46a593c3f96e6a59
+EBUILD grabcartoons-2.8.4_p20141112.ebuild 774 SHA256 698c6c56be2552e228c4aad46c0c6a127269e5fadd7fdd51d6eb9ee38befa06b SHA512 30d266736f460cd3d341c9d6e8aad6a753e16846bde48071fbc8f5c5685e4f3b8e4e16269ff5a89184de00150fada92b69cf7e225e781c62fe420003205c3c65 WHIRLPOOL 07ead690145976d7fa79adf02b3f956726906da21e939d8da9f1415e5dca340b38fe76f0e195399e2cf90dcde3dbf6d871bccf8b61424cc285a1595012d410e5
+EBUILD grabcartoons-9999.ebuild 774 SHA256 698c6c56be2552e228c4aad46c0c6a127269e5fadd7fdd51d6eb9ee38befa06b SHA512 30d266736f460cd3d341c9d6e8aad6a753e16846bde48071fbc8f5c5685e4f3b8e4e16269ff5a89184de00150fada92b69cf7e225e781c62fe420003205c3c65 WHIRLPOOL 07ead690145976d7fa79adf02b3f956726906da21e939d8da9f1415e5dca340b38fe76f0e195399e2cf90dcde3dbf6d871bccf8b61424cc285a1595012d410e5
+MISC ChangeLog 2813 SHA256 10f774e15e108259009c3ea05d5ae76da7b1a5868a5b123d27afcf2433e82507 SHA512 7886fb3d0699d279976cba4c6f937430770fbe735baebbc8c1e5810568b088ce2d1e48b0c7140b54525eb9ac17020790ee42f0e3c5b5dab273a9861412f5b587 WHIRLPOOL 9a8bb784eec273747ae7d889601eb0cac11a63677c62f20a9f7fa4502ee331a378ff64b5d4ea34b21d2b72c27d50798c0d005b8fc8769cce82fd3a9da4e52897
+MISC ChangeLog-2015 2272 SHA256 2bc13f7b5794d4e2847b2dadb0722c7a9d53768c7089ece7278cf0984216932b SHA512 3d013716ac79dfe51062f8ae599f03f40247934c25431e894b92ed684f1d2a6eb9a3a97d36fea09e2b4ebce513ecc94f49089be1bcac59ce828e173f98e3d66d WHIRLPOOL b5e61aacb6db07847516653df9a1ae1054d4bf5f0136e5e6bc93af100dfda42bb9b9a6a3d8dac93a08430e0f4efdaca28341b4a0c5276ebd418cbfd5ef7ad7d8
+MISC metadata.xml 253 SHA256 2f7917039cd5156b267d8a32321d83d44c5362b8ec402a69d6e418f0d8d1bfa1 SHA512 8c92aefe6448e9d697177aaf5e6f5b08423d728ded122b1cec119079998e8e63c74558260b6b26bfddd6a0c7b50d13dbf4a825c5a126389885ffb75bf2ee478c WHIRLPOOL 73571671456444020eb9353ceeb4d9fdb9cb80406fe8384500648222630768be683bf3a016dc510978bdf36268cef8937e58ad5055cdb3816b235fee62443b6f
diff --git a/app-misc/grabcartoons/files/2.8.4-fix-install-paths.patch b/app-misc/grabcartoons/files/2.8.4-fix-install-paths.patch
new file mode 100644
index 000000000000..420640b3de6c
--- /dev/null
+++ b/app-misc/grabcartoons/files/2.8.4-fix-install-paths.patch
@@ -0,0 +1,32 @@
+diff --git a/Makefile b/Makefile
+index a1f53e6..0a9bec4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -23,9 +23,9 @@ all:
+
+ install:
+ mkdir -p -m 755 $(PREFIX)/bin
+- mkdir -p -m 755 $(PREFIX)/lib/grabcartoons/modules
+- install -m 755 grabcartoons.pl $(PREFIX)/bin
+- install -m 644 modules/*.pl $(PREFIX)/lib/grabcartoons/modules
++ mkdir -p -m 755 $(PREFIX)/share/grabcartoons/modules
++ install -m 755 grabcartoons.pl $(PREFIX)/bin/grabcartoons
++ install -m 644 modules/*.pl $(PREFIX)/share/grabcartoons/modules
+
+ test:
+ ./grabcartoons.pl $(V) "$(C)" > "$(OUT)"
+diff --git a/grabcartoons.pl b/grabcartoons.pl
+index cdc4152..d732301 100755
+--- a/grabcartoons.pl
++++ b/grabcartoons.pl
+@@ -38,8 +38,8 @@ $XTRN_CMD="$XTRN_PROG -q -O- $USER_AGENT_CMD";
+ # Where to load cartoon modules from
+ @MODULE_DIRS=("$FindBin::Bin/modules",
+ "$FindBin::RealBin/modules",
+- "$FindBin::Bin/../lib/grabcartoons/modules",
+- "$FindBin::RealBin/../lib/grabcartoons/modules",
++ "$FindBin::Bin/../share/grabcartoons/modules",
++ "$FindBin::RealBin/../share/grabcartoons/modules",
+ "$HOME/.grabcartoons/modules",
+ "$HOME/.grabcartoons",
+ @GRABCARTOONS_DIRS,
diff --git a/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild b/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild
new file mode 100644
index 000000000000..77fbcd8f86b9
--- /dev/null
+++ b/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/zzamboni/grabcartoons.git"
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/zzamboni/grabcartoons/archive/cb230f01fb288a0b9f0fc437545b97d06c846bd3.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Comic-summarizing utility"
+HOMEPAGE="http://zzamboni.org/grabcartoons"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+# Opens a web page, which is unacceptable during an emerge.
+RESTRICT="test"
+
+RDEPEND="
+ dev-lang/perl
+ virtual/perl-Getopt-Long"
+
+PATCHES=( "${FILESDIR}"/2.8.4-fix-install-paths.patch )
+
+src_install() {
+ emake PREFIX="${ED%/}"/usr install
+ einstalldocs
+}
diff --git a/app-misc/grabcartoons/grabcartoons-9999.ebuild b/app-misc/grabcartoons/grabcartoons-9999.ebuild
new file mode 100644
index 000000000000..77fbcd8f86b9
--- /dev/null
+++ b/app-misc/grabcartoons/grabcartoons-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/zzamboni/grabcartoons.git"
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/zzamboni/grabcartoons/archive/cb230f01fb288a0b9f0fc437545b97d06c846bd3.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Comic-summarizing utility"
+HOMEPAGE="http://zzamboni.org/grabcartoons"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+# Opens a web page, which is unacceptable during an emerge.
+RESTRICT="test"
+
+RDEPEND="
+ dev-lang/perl
+ virtual/perl-Getopt-Long"
+
+PATCHES=( "${FILESDIR}"/2.8.4-fix-install-paths.patch )
+
+src_install() {
+ emake PREFIX="${ED%/}"/usr install
+ einstalldocs
+}
diff --git a/app-misc/grabcartoons/metadata.xml b/app-misc/grabcartoons/metadata.xml
new file mode 100644
index 000000000000..53bef2c91710
--- /dev/null
+++ b/app-misc/grabcartoons/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">zzamboni/grabcartoons</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest
new file mode 100644
index 000000000000..631b75e68f0a
--- /dev/null
+++ b/app-misc/gramps/Manifest
@@ -0,0 +1,5 @@
+DIST gramps-4.2.5.tar.gz 18694912 SHA256 1de3007215b7d0b779ec8f086e14e7a75f2aa811ee37c6d0cff06bfc9458743d SHA512 20a8ebff7ea2e3a80248830e55d58ebe0b5a350e1ac31efb3f2b900af38c134037bae91a58fb441be54f9fac8226555a3f5771cc358d3a4a92e89af911433b9c WHIRLPOOL d9f49b188e20697477860ecb5916c452b95ea08c038b828b0f01edc1097d3d45b549e3e1a5bc5a4aad1d8aab390b8dfefc4ec46ac58420161de8e4d644c8f95e
+EBUILD gramps-4.2.5.ebuild 1336 SHA256 460f5a0a7b7b1d596c223eee7bc1a8fcf002808ca6d7134af1b17f96b5b5b357 SHA512 4eb326bcf7909cdf56ed57d0d97203003b34472e4c6a5c774c8b55f09afcec64ef1e3ae93acb21fff40343e78179cf5fafaa6b7d3e587636b4dfca481435cb27 WHIRLPOOL 05b0b8a039aa68b59e02d69986284f659f14d4e6f46c98965f12ee57f3ab472a6f128ae320e4816d3688ed4d7d15a8be341843690c3f453be81b3e7feff9b65d
+MISC ChangeLog 5110 SHA256 c75d3e74c824b7be0fc9d5a297e2c6c2d016bf60509f7cf0cb9b975d30525c94 SHA512 b41857c995bd1e9f50f4f010727733959f08e8d1e6119991f73e55baaf345b26234d17d680e5b9cae566b43063fc2ecef3e4f59719e2aa092fc593097225c862 WHIRLPOOL 3332ec86d21471593b9a125e328ed542cccea9f35ad030e11d34ff30ae301e4ef5322b6b99a7fb87bbb5f8ca95cabc6ef20720997e5bb58372dfe5b21733800a
+MISC ChangeLog-2015 24510 SHA256 e96c941c120d4498c37a676fb2012ce7e2b1a6d023dca297f08495ca4289ed68 SHA512 705922fba99a2ba9d2d6f48730a31b19c73b49dec2dd7c8cc5a415b8be9f348db8fc8b4864f00a9678d2a19722ca05e7ad7b0d2452dca83199896db09b0c9af8 WHIRLPOOL 3b07e331620ce8bad9d5db54a3b7c2e86eabcf071b6b842f31782d4fea260d4bacbfe263deb59a8ea2c21e96349d0106b70d43addde1869d9d7941a32c7f0937
+MISC metadata.xml 5303 SHA256 c16c3a25b32dd000044c3e7b067aa181dc36a63862add3c412b9b51f5e2b9669 SHA512 077d329487d7117da41cdc6ddf3b4d186e0e6f0ba46de1a763d8bf973f536084fb016beb27af42455698d2765f622093ed4dec84843301c73d60a808fc55c870 WHIRLPOOL ef72ec429bae263b4c2bf7ebe7fd0b6f210dcf4368075a09bdf6a3299655c3b72daaf6698676df8335af9a0bbbdb40674ad913ca87c70b1330f6445da762ed67
diff --git a/app-misc/gramps/gramps-4.2.5.ebuild b/app-misc/gramps/gramps-4.2.5.ebuild
new file mode 100644
index 000000000000..bc0c6b1ef46b
--- /dev/null
+++ b/app-misc/gramps/gramps-4.2.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="Genealogical Research and Analysis Management Programming System"
+HOMEPAGE="https://gramps-project.org/"
+SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+reports exif geo spell"
+
+RDEPEND="
+ dev-python/bsddb3[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}]
+ dev-python/pyicu[${PYTHON_USEDEP}]
+ gnome-base/librsvg:2
+ >x11-libs/gtk+-3.14.8:3[introspection]
+ x11-libs/pango[introspection]
+ x11-misc/xdg-utils
+ reports? ( media-gfx/graphviz )
+ exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] )
+ geo? ( >=sci-geosciences/osm-gps-map-1.1.0 )
+ spell? ( app-text/gtkspell:3[introspection] )
+"
+
+python_configure_all() {
+ mydistutilsargs=( --resourcepath=/usr/share )
+}
+
+python_prepare_all() {
+ # Install documentation to the proper location. This can't be done
+ # easily with a patch because we substitute in the $PF variable,
+ # and that changes with every revision.
+ sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die
+ distutils-r1_python_prepare_all
+}
diff --git a/app-misc/gramps/metadata.xml b/app-misc/gramps/metadata.xml
new file mode 100644
index 000000000000..74a0c40413b3
--- /dev/null
+++ b/app-misc/gramps/metadata.xml
@@ -0,0 +1,97 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+GRAMPS helps you track your family tree. It allows you to store, edit,
+and research genealogical data. GRAMPS attempts to provide all of the
+common capabilities of other genealogical programs, but, more
+importantly, to provide an additional capability of integration not
+common to these programs. This is the ability to input any bits and
+pieces of information directly into GRAMPS and rearrange/manipulate
+any/all data events in the entire data base (in any order or sequence)
+to assist the user in doing research, analysis and correlation with
+the potential of filling relationship gaps.
+ </longdescription>
+ <longdescription lang="cs">
+GRAMPS Vám pomůže sledovat Váš rodokmen. Dovolí Vám využít poÄítaÄ pro
+ukládání, úpravy a zkoumání genealogických dat.
+
+GRAMPS se snaží nabídnout všechny vlastnosti obvyklé u jiných
+dostupných genealogických programů. Oproti nim však poskytuje další
+možnosti integrace, které u těchto programů nejsou běžné. Je to
+možnost vložit jakýkoli kus informace přímo do GRAMPS a
+přeskupit/manipulovat jednotlivými/všemi událostmi v celé
+databázi. Tím pomáhá badateli při výzkumu, analýze a korelacích s
+potenciálem zaplnění mezer ve vztazích mezi subjekty.
+ </longdescription>
+ <longdescription lang="de">
+GRAMPS hilft dir, deinen Familienstammbaum zurückzuverfolgen. Es
+erlaubt dir das Speichern, Bearbeiten, und Erforschen genealogischer
+Daten mit deinem Computer. GRAMPS versucht alle möglichen Funktionen,
+die andere genealogische Programme bieten einzubeziehen, aber noch
+viel wichtiger, die Möglichkeit des einfachen Imports fremder Daten zu
+bieten. Das ist die Fähigkeit jedes noch so kleine Detail direkt in
+GRAMPS einzugeben und alle damit verbundenen Daten und Events in der
+gesamten Datenbank neu zu ordnen oder zu manipulieren um die Arbeit
+für den Benutzer zu erleichtern. So können jederzeit potentielle
+Lücken in jeglichen Beziehungen gefüllt werden.
+ </longdescription>
+ <longdescription lang="fr">
+GRAMPS vous aide à suivre votre lignée. Il vous permet de stocker,
+éditer, ainsi que rechercher des données généalogiques avec votre
+ordinateur. GRAMPS tente de fournir toutes les capacités communes aux
+autres programmes généalogiques, mais, plus important, fournir des
+capacités supplémentaires non communes à ces programmes. C'est la
+capacité d'entrer toutes parties d'informations directement dans
+GRAMPS et réarranger/manipuler quelques/toutes données événement dans
+la base de données (dans n'importe quel ordre ou séquence) pour
+assiter l'utilisateur dans ses recherches, analyse et corrélation avec
+les relations possibles.
+ </longdescription>
+ <longdescription lang="nl">
+GRAMPS laat je toe je familiestamboom op te stellen. Het programma
+laat je toe om je genealogische gegevens op te slaan, te wijzigen en
+genealogisch onderzoek te doen met je computer. GRAMPS probeert om
+bovenover de gebruikelijke mogelijkheden die andere genealogische
+programma's bieden, een verdergaande integratiemogelijkheid te geven
+die die andere programma's niet hebben. Je kan zo alle stukjes en
+gedeelten van informatie rechtstreeks in GRAMPS invoeren en achteraf
+kan je dan deze gegevens bewerken/manipuleren. Dit kan je doen met het
+volledige gegevensbestand( in gelijkwelke volgorde). Zo wordt de
+gebruiker ondersteund in zijn onderzoeken biedt dit een hulp bij
+analyse en de correlatie om zo relatieleemten te kunnen opvullen.
+ </longdescription>
+ <longdescription lang="pl">
+GRAMPS pomaga Ci śledzić Twoje drzewo rodzinne. Pozwala Ci wprowadzać,
+edytować i analizować informacje genealogiczne za pomocą
+komputera. GRAMPS próbuje zapewnić wszystkie wspólne cechy innych
+programów genealogicznych, ale, co ważniejsze, dostarczyć Ci
+możliwości w nich nie dostępne. Ma możliwość wprowadzenia każdej
+informacji i wiadomości bezpośrednio do programu i późniejszą analizę
+i zmianę zdarzeń czy pojedynczo, czy grupowo (w dowolnej kolejności) w
+celu pomocy użytkownikowi w analizie, badaniu i korelowaniu
+potencjalnych luk w relacjach w rodzinie.
+ </longdescription>
+ <longdescription lang="sl">
+GRAMPS vam pomaga voditi svoj rodovnik. Z njim lahko shranjujete,
+urejate in raziskujete rodoslovne podatke na svojem
+raÄunalniku. Pogram GRAMPS vkljuÄuje veÄino skupnih elementov drugih
+rodoslovnih programov, poleg tega pa omogoÄa Å¡e funkcije, ki jih ti
+programi obiÄajno nimajo. Med njimi sta npr. možnost vnosa
+kakršnegakoli podatka neposredno v GRAMPS ter preurejanje in
+spreminjanje vseh zapisov dogodkov v celotni bazi podatkov (ne glede
+na vrstni red), kar vam bo v pomoÄ pri vaÅ¡ih raziskavah, analizah in
+zapolnjevanju vrzeli v rodoslovnih podatkih.
+ </longdescription>
+ <use>
+ <flag name="geo">Enable rendering of geographical data using
+ <pkg>sci-geosciences/osm-gps-map</pkg>.</flag>
+ <flag name="reports">All external software that is needed for graphical
+ reports will be installed</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gramps</remote-id>
+ <remote-id type="github">gramps-project/gramps</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/graphlcd-base/Manifest b/app-misc/graphlcd-base/Manifest
new file mode 100644
index 000000000000..f7c0e120c1dc
--- /dev/null
+++ b/app-misc/graphlcd-base/Manifest
@@ -0,0 +1,10 @@
+AUX graphlcd-base-0.1.5-gcc43.patch 10066 SHA256 6753e9a1804ae49ef367a97138e04d2e1fb69fa1a7517e4c0d5a9c462b4777d7 SHA512 db10ba52c39a83da198984f8c6f42e0fde5c0fc48865891eed668d31eaa85a7d1bf6e3bf862d0b01042c8207bfa0eb0bf76bcfc01678271d65eaefa821b36071 WHIRLPOOL d03c84b4bae580df45381b2fac000bdb3910bca0975a1663c56eff3cd3ea60c547970f4b3a8041c004edbc686ebff380e074029efb587948638f258fe5589afb
+AUX graphlcd-base-0.1.5-nostrip.patch 3062 SHA256 5a59bc4ad1567d9898cf69e0152a350e980dcf027230fc442813a44a8c358d99 SHA512 10af50a5c223cfde3248e448ec02f1160bef6b2b66e11e6fc24d3f2a5e6c40d82e9808b9c2ddf3865cd8a15223ebb7acbed4c1e4f247eaed977a18595cf9b3a0 WHIRLPOOL 7fd26d5dea2712f25807f49f64007113530e6e900442b500f7fd094b12abf7e72ab7e00b3ec508c01a7aa4cc8768d5168a039cf41693569d8c75c7aaf4478dbe
+DIST graphlcd-base-0.1.5.tgz 99863 SHA256 7b11d1e68aa3f9b65ae437e9d6b5bd8bdaba86f7abf93e4ae5ee6b2427b5a47f SHA512 7556c2504726af1ba1889d4a87533f441a4acbc8936f2638710e364e041d67ef471ca363410a7b271f1677fe60377b95dae44237ae0be62c0885f2e92ad4f237 WHIRLPOOL 274a08f56dc48ad030cabcb041a09f41cce68fe8136661ee35a1a19443474ba465576ef654e6c3409814e17d61bfe8dbe0c3de629cff2d6c882285f13c33ae40
+DIST graphlcd-base-0.1.5_utf8.diff.tgz 5040 SHA256 02aeee8f7fcfacf927c86cb9bcb7a67fa5574ad43871938f1e99e618852fbfcb SHA512 ac9cfed725be4a8d04f6898a8e5810a888e4b50c341f9ab668dbb27798007fb66d160ab021729af6083ec1b5e902520602e871cbdd7edefce1e03c06826e9dd7 WHIRLPOOL 1dd8ba284593173efff7b03e70ce80b58d8b03bdb3cb6653ff5f7f885545a41b45407b6f12090f82141cbdb4a1dff2dcf4fa2ce96e5b8294fc050e9716ebedcf
+DIST graphlcd-base-0.1.9.tgz 130390 SHA256 6579e47150e1a9e79fd7866430f4090a50a1c9e0303251012b3fcb433f538fcc SHA512 3769cd31281f40c1cb343a70cba1fee4b27b5ab1454609dca430199b731744d63244ac39d6460c18b236dd1eaaae8284e236c63493b2df23c394ff628f3fb834 WHIRLPOOL 8718c6aecab2036412dcaf962d9725cf2e6052b86bac06b7aff63273cca9363a411b4d4255e14c820216c2e035784f51718e3c8cfd980a7a2a82f4a013358da6
+EBUILD graphlcd-base-0.1.5-r1.ebuild 1176 SHA256 8c25753955a85b249613ec6b7e7c0b89f5f6294b9fcf7ad6ca66f42b49179a7f SHA512 9be8f847f52cfed58961998e5e51f03df644d0483f0394a87476c49604ddd4ec028aaaaafa2e1a24f970036345ee88ec7cfe262010702488f8046dc393182f28 WHIRLPOOL aaf75bd73e91b71d50da686610afc7df8783b816da9115f709995a12795236e4231404c8ab152a6598264d5fda47d71026a04f67c095995e9f524a3492e993c8
+EBUILD graphlcd-base-0.1.9.ebuild 971 SHA256 f399862c6abce084454a8975eed08492a54622e579098294e1b52af32f5cb01a SHA512 82440ac5e7833692546bf71dc5bfeecc5c447f9cf077d15e0e4de278aa0df7e6d3e8839793c47aa809342e4573f4aa1fd8da1fd22396918bf95716b841f689fb WHIRLPOOL 8c92c460fe053110c5430357856c1d5f37724a9ee4e9baf77ae3b156dd99d933bebc5baaa85d066a6b4fc63416a61bf658f3504219f17d40bc513005cb8e5cd4
+MISC ChangeLog 2907 SHA256 daf03c738866d41cca83c5ec35d61126595da5c57a3670cbe695e441a7f5fafe SHA512 46803fd9fb55f10aa11721c873d57b69f1a66cbe0ee59e2117884f33b66eecaf1fcf209c5242950f452fafd50efd14a9d3045412cb72f9291d2ea96e9acaf602 WHIRLPOOL 406a0283eba3dab20e2c4da628e801f771924dd69b08ac9d3f6efc447f190dac0718ec015ecacd88e8a466dfd6b3171435aeaff893d14cbe625ecec7db23a389
+MISC ChangeLog-2015 5147 SHA256 c3079b9358e0ac52357cd37f93607483adda6ee7b78bee0f1ed9e71b465456cf SHA512 945ce36d0fe85fee0dbe8112fc3c5e58fa1a30296c83f31a0c915a51091ad0c9da4339d8aecbe3cc3767e87678a9dae68a18d7a611ccc6a335f8e5c68ae42919 WHIRLPOOL e312622663a631a040448ddf968ae3b12748c41ac4cfffbecd445290be8042f180dbc9097b66345ea0fcfc67ad6d82d691b58bf982902f3ac3d7f1ba0de8a37f
+MISC metadata.xml 464 SHA256 a5b9963beb650fa0d7db41a8d06de8b101294b3ac8a483506d70bdcd4b8f52e1 SHA512 a1c66dfad0b364ba3f03d42701c22f7e67c81fcbd03e8e5228f5072aa78d05ad0b09554173131456d789771cd53d3f77898c46ed853216407ace1786870fbcf9 WHIRLPOOL 4d0b850bee0047d079ac624e9c713000dfc4edb786d66d69b8c4476fa6587ef95b6ac33a168d6a9d242852a8ddcf5b87f3af85a978588f8a7aa7f135263533b6
diff --git a/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch
new file mode 100644
index 000000000000..5ec1fa276fae
--- /dev/null
+++ b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch
@@ -0,0 +1,312 @@
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c graphlcd-base-0.1.5/glcddrivers/avrctl.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c 2008-06-15 14:01:50.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/avrctl.c 2008-06-15 14:02:15.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2005 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <stdint.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "avrctl.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/config.c graphlcd-base-0.1.5/glcddrivers/config.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/config.c 2008-06-15 14:01:52.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/config.c 2008-06-15 14:02:15.000000000 +0200
+@@ -9,10 +9,12 @@
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <syslog.h>
+ #include <fstream>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "drivers.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c graphlcd-base-0.1.5/glcddrivers/framebuffer.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c 2008-06-15 14:01:53.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/framebuffer.c 2008-06-15 14:02:15.000000000 +0200
+@@ -14,10 +14,12 @@
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/mman.h>
+ #include <sys/ioctl.h>
++#include <cstdlib>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "framebuffer.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c graphlcd-base-0.1.5/glcddrivers/g15daemon.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/g15daemon.c 2008-06-15 14:07:32.000000000 +0200
+@@ -17,10 +17,11 @@
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+ #include <poll.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+
+ #include "g15daemon.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c 2008-06-15 14:08:52.000000000 +0200
+@@ -23,10 +23,12 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu126x64D-K610A4.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c graphlcd-base-0.1.5/glcddrivers/gu140x32f.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c 2008-06-15 14:01:53.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu140x32f.c 2008-06-15 14:02:15.000000000 +0200
+@@ -19,10 +19,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu140x32f.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c 2008-06-15 14:01:54.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c 2008-06-15 14:02:15.000000000 +0200
+@@ -21,10 +21,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu256x64-372.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c 2008-06-15 14:01:54.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c 2008-06-15 14:02:15.000000000 +0200
+@@ -27,10 +27,11 @@
+ #include <fcntl.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <termios.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu256x64-3900.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c graphlcd-base-0.1.5/glcddrivers/hd61830.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/hd61830.c 2008-06-15 14:03:34.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "hd61830.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/image.c graphlcd-base-0.1.5/glcddrivers/image.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/image.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/image.c 2008-06-15 14:04:11.000000000 +0200
+@@ -10,10 +10,11 @@
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <stdio.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c graphlcd-base-0.1.5/glcddrivers/ks0108.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/ks0108.c 2008-06-15 14:03:45.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "ks0108.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/network.c graphlcd-base-0.1.5/glcddrivers/network.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/network.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/network.c 2008-06-15 14:08:05.000000000 +0200
+@@ -16,10 +16,11 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "network.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c graphlcd-base-0.1.5/glcddrivers/noritake800.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/noritake800.c 2008-06-15 14:07:04.000000000 +0200
+@@ -32,10 +32,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "noritake800.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c graphlcd-base-0.1.5/glcddrivers/sed1330.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/sed1330.c 2008-06-15 14:05:55.000000000 +0200
+@@ -17,10 +17,12 @@
+ * (c) 2003 Roland Praml <praml.roland AT t-online.de>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "sed1330.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c graphlcd-base-0.1.5/glcddrivers/sed1520.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/sed1520.c 2008-06-15 14:05:31.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "sed1520.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c graphlcd-base-0.1.5/glcddrivers/simlcd.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/simlcd.c 2008-06-15 14:02:15.000000000 +0200
+@@ -11,10 +11,11 @@
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ */
+
+ #include <stdio.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "simlcd.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c graphlcd-base-0.1.5/glcddrivers/t6963c.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/t6963c.c 2008-06-15 14:06:33.000000000 +0200
+@@ -10,10 +10,12 @@
+ *
+ * (c) 2003, 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <syslog.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "t6963c.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c graphlcd-base-0.1.5/glcdgraphics/glcd.c
+--- graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcdgraphics/glcd.c 2008-06-15 14:02:15.000000000 +0200
+@@ -14,11 +14,11 @@
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <syslog.h>
+
+-#include <string>
++#include <cstring>
+
+ #include "bitmap.h"
+ #include "glcd.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c graphlcd-base-0.1.5/glcdgraphics/pbm.c
+--- graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcdgraphics/pbm.c 2008-06-15 14:02:15.000000000 +0200
+@@ -10,12 +10,13 @@
+ */
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <syslog.h>
++#include <cstdlib>
+
+-#include <string>
++#include <cstring>
+
+ #include "bitmap.h"
+ #include "pbm.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/tools/convpic/bmp.c graphlcd-base-0.1.5/tools/convpic/bmp.c
+--- graphlcd-base-0.1.5.orig/tools/convpic/bmp.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/tools/convpic/bmp.c 2008-06-15 14:09:57.000000000 +0200
+@@ -27,12 +27,12 @@
+ ***************************************************************************/
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <string.h>
+-
+-#include <string>
++#include <cstring>
++#include <cstdlib>
+
+ #include <glcdgraphics/bitmap.h>
+ #include <glcdgraphics/image.h>
+
+ #include "bmp.h"
diff --git a/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch
new file mode 100644
index 000000000000..9973394f150b
--- /dev/null
+++ b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch
@@ -0,0 +1,75 @@
+remove strip -s in makefile
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 06 April 2007
+diff -Naur graphlcd-base-0.1.5.orig/tools/convpic/Makefile graphlcd-base-0.1.5/tools/convpic/Makefile
+--- graphlcd-base-0.1.5.orig/tools/convpic/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/convpic/Makefile 2007-04-06 20:35:17.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/crtfont/Makefile graphlcd-base-0.1.5/tools/crtfont/Makefile
+--- graphlcd-base-0.1.5.orig/tools/crtfont/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/crtfont/Makefile 2007-04-06 20:35:32.000000000 +0200
+@@ -35,7 +35,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/genfont/Makefile graphlcd-base-0.1.5/tools/genfont/Makefile
+--- graphlcd-base-0.1.5.orig/tools/genfont/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/genfont/Makefile 2007-04-06 20:35:43.000000000 +0200
+@@ -38,7 +38,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile
+--- graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile 2007-04-06 20:35:57.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/showpic/Makefile graphlcd-base-0.1.5/tools/showpic/Makefile
+--- graphlcd-base-0.1.5.orig/tools/showpic/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/showpic/Makefile 2007-04-06 20:36:09.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/showtext/Makefile graphlcd-base-0.1.5/tools/showtext/Makefile
+--- graphlcd-base-0.1.5.orig/tools/showtext/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/showtext/Makefile 2007-04-06 20:36:21.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild
new file mode 100644
index 000000000000..ba9f5904414c
--- /dev/null
+++ b/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils flag-o-matic multilib
+
+VERSION="226" # every bump, new version
+
+DESCRIPTION="Graphical LCD Driver"
+HOMEPAGE="http://projects.vdr-developer.org/projects/graphlcd"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz
+ mirror://vdrfiles/${PN}/${P}_utf8.diff.tgz"
+
+KEYWORDS="amd64 x86 ~ppc"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="truetype unicode g15"
+
+DEPEND=""
+
+RDEPEND="truetype? ( media-libs/freetype media-fonts/corefonts )
+ unicode? ( media-libs/freetype media-fonts/corefonts )
+ g15? ( app-misc/g15daemon )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+
+ sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
+ epatch "${FILESDIR}/${P}-nostrip.patch"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
+ use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
+
+ use unicode && epatch "${WORKDIR}/${P}_utf8.diff" && \
+ sed -i "s:#HAVE_FREETYPE2:HAVE_FREETYPE2:" Make.config
+}
+
+src_install() {
+
+ make DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install || die "make install failed"
+
+ insinto /etc
+ doins graphlcd.conf
+
+ dodoc docs/*
+}
diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild
new file mode 100644
index 000000000000..1dace97bd83c
--- /dev/null
+++ b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic multilib
+
+VERSION="501" #every bump, new version
+
+DESCRIPTION="Graphical LCD Driver"
+HOMEPAGE="https://projects.vdr-developer.org/projects/graphlcd-base"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="g15"
+
+DEPEND="media-libs/freetype"
+RDEPEND="g15? ( app-misc/g15daemon )
+ media-libs/freetype"
+
+src_prepare() {
+ sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
+ eapply "${FILESDIR}/${PN}-0.1.5-nostrip.patch"
+
+ sed -i glcdskin/Makefile -e "s:-shared:\$(LDFLAGS) -shared:"
+
+ #gcc-6 fix
+ sed -i glcddrivers/futabaMDM166A.c -e "s:0xff7f0004:(int) 0xff7f0004:"
+
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install
+
+ insinto /etc
+ doins graphlcd.conf
+
+ local DOCS=( HISTORY README docs/* )
+
+ einstalldocs
+}
diff --git a/app-misc/graphlcd-base/metadata.xml b/app-misc/graphlcd-base/metadata.xml
new file mode 100644
index 000000000000..dd4d7485b6a3
--- /dev/null
+++ b/app-misc/graphlcd-base/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>vdr@gentoo.org</email>
+ <name>gentoo-vdr-project</name>
+</maintainer>
+<longdescription lang="en">
+ This package provides Graphical LCD Driver.
+</longdescription>
+<use>
+ <flag name="g15">Add support for <pkg>app-misc/g15daemon</pkg> driver
+ (e.g. Logitech G15 Keybord)</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/grc/Manifest b/app-misc/grc/Manifest
new file mode 100644
index 000000000000..48331c0fa5b0
--- /dev/null
+++ b/app-misc/grc/Manifest
@@ -0,0 +1,16 @@
+AUX conf.configure 530 SHA256 7dec9e1586e095e560cae39002957c3ac45a237bcce51c6ad8fb24ec123451ba SHA512 3db952ed800a959f5a69c52c0b1b2c36e3374547469fc437f82cc30271f813cf0ddec8719b4a20b4fedb3df411f9e526cef5cfec5823b663cce1ef8a2270955b WHIRLPOOL a564cd0132942396d413428d8b14d7c1742e23f91b009f8ebff5dcfeaa69039f22edbe1dae23b1e32592145486ad74e693c3e283fd70141fd695a87f73375503
+AUX grc-1.4-ipv6.patch 408 SHA256 53eedb9312956fa57c996866bde2e31725395f0edc8b504a519b9f65666340c7 SHA512 e84fe2b3de351ab24a86e97004b83e5494cde1147c447f3ed2cb354bdb7173180738c8b760efea780d71d536473904f97d9c04ff86c19e947b47ca1f963c0dc0 WHIRLPOOL 4d54615789c733b3f8ef51b660e0732642c1893dbd8f41b03658b783bf68c92150b2c8ddd2a401afb80f7cdf43feac562efdc492e87b51f1ba6c0d5a19aeb76d
+AUX grc-1.4-support-more-files.patch 901 SHA256 9a476ce4f19a2002bcd3206b1015ba31c0d74188d8bbe703643d1b6cfc72c31f SHA512 0483c4d7adea1d813f62f7485845b470415f032726aae456fabab27486e26707931b70a12671b3e291528688e1546cb89d2cca7839b40cc2f365a6760d39edd7 WHIRLPOOL ef4fabd550e3588fb88a4b29af2ebbee37819881f350dc193be1e859cb6234593138b06f183d8243446093c2e258c5c989411613eefa5b6803f65c796e76bc1c
+AUX grc-1.9-bash.patch 805 SHA256 57a5d685e9a8cf2e60ebe6f8e2a6caed147d08c76529517a05a3a566173e3752 SHA512 75163dd8e5fc696a534291b09be0c18529ee3a7656886970ff60d65cd5fe6f3fd3bb3cd4f34237648b4fbd780482ec1b6bf496d806b8e0cd31334f33f59248f4 WHIRLPOOL 3929ffa50bb141582ee1873ba78be5dfcf9fbf3b8ec9cc6b69f42f2363210a837b26cf9b43e7493f85a4b0c6649d4501593279bdce9c08f7a2da6af2e4949f6a
+AUX grc-1.9-configure.patch 1132 SHA256 32ca8004f9ac9902bf90632c9659b5be44e4efbc2c22061247d84669f9664168 SHA512 ddbda30c650418a6900f072aa45dc45b2162d9c20c94dcef212b44e0a7f70d169f8eccd2200ca60b4be711b2e367ad5e8e2fa7f9ed4d041b34387370ac872d17 WHIRLPOOL ba7e77afb49aa6a2c3c75e03bb70c6b8431dce9a385ec15c85878c2c3c6a06f5b1bcf34706660aaebdab6d11a186fe28ef8bfe0b8f9407e3ad9afce6b20e27da
+AUX grc-1.9-domain-match.patch 613 SHA256 be7902f4b13c79000033536fe03105fc01cd6ce473b92d47e6d99c152544424c SHA512 1427c000d0401abc7dff052759c07cdc460c11ee10acb2994c414f269a94ef209ce1aa20a1717f2be7e95af9f2d1bd16ed0303906a135cb1c8fcbaa54c0558c0 WHIRLPOOL 17f0eb48637d022c9962cd3ffc3864716bf4f20bb0be66dd5890ba7060127f4db560777fa99693af21fd0e1ef3abbb1e4b68f1dbabc7947dbc4d11440c8ab53e
+AUX grc-1.9-python3.patch 1124 SHA256 3a6ebc84c4670e2f662534247ba80da9a6b5db4b4b0663902f9b9e22aaa83473 SHA512 275f45634f7d15eea8c359cf5850421ac0b057da987f053717da5ef15b82e4613051ab12f84e78ee809e71bd55382532b73d3731cdf4a10421c2e7622a236a3a WHIRLPOOL eac2278ca626a2d381c4026c2ab9b573ea1dd14adbed6b4246022506270585232d87ff9eedcd5f7eabc04c61f9b0cea3d55703cfcc0944aa8941b2ac16c8458c
+DIST grc-1.11.tar.gz 43224 SHA256 38789ffc5a56dd7c6bad24e9cf8da0a751d50ec7f3cd52de4a7fcb5f2b8304f8 SHA512 abaa18aeebf9858369b639975ae6c9a33f3111beb783b4e86463ace70de1d660efc6c17b05020862c3b2f467310f0974443f96d4f91cd322a90731c4be49206c WHIRLPOOL 2c7e9828f9e20dc7f364f49bdcf042a6902b2a727c778950c70c6974e3d36f5b2978621dc8a7c1710ff82a2011a8f41f7919b7c9b894f6f6e8d5fe92abe72e33
+DIST grc-1.9.tar.gz 29252 SHA256 269ab717dc105c124f6eb48b4b8d3ab68660c0f1244eaea140f0188cb9af4b80 SHA512 947f4b61a8d4061e99d64e25a7b5ca2bcd042580b537ea07ea6ca609d7b81b1976b301de6036be2c199c7fa25c3f32d41a887f811ad72a1a18dd63d284e61050 WHIRLPOOL de7cc676aa1b73b93be632919293d0e0a38077bee2abfde8b3805886ffb51875851d9169216c711bda24eab34a2460da40d1796bd7ea909df4c9e47874b2c244
+DIST grc_1.5.tar.gz 26363 SHA256 a2581f065236868bd8b09536616a588792f60fcba4e54d69e2cad65aae73dddc SHA512 6b95a8db5df0d99b49052deb086ac02b180810ce754c744e145e3e0508562fb632e7fdb38ec4ad039f6e998c4122b065ba53925d73268c589475e36c16aa68d7 WHIRLPOOL 1a4ee3612024c95d296772c43c1ed21ebb9e1d50e1fa4af13a6d09a1d63f59ec7f53084b68dbe0b7a4eb1300269ca714d8b972507d671e973b11822e1b4e82a9
+EBUILD grc-1.11-r1.ebuild 970 SHA256 c8083b72ba33b83ddc6f4f5d748e713e007dfe3bf6a62251823aa3bbee1a0857 SHA512 4bb3daf02a72e217e3bc078b13b70ac8af70d45f407fe7468e69cc85f22ce8bc2f663385af0cbb577c67c6db617e259669a801d8eb1ac4f232193b8447ae95cc WHIRLPOOL 626261f45c748c19ce633008881f47ca0c6973c23b9941ae4f1f42a73bc53b1f598a4b7f365d2d89c079ad3c45f28b2481a748fad8aec1578720adc0918828c9
+EBUILD grc-1.5.ebuild 902 SHA256 04a38ac6216bf4159a0cff6d34716e9983a9b9b5a22bb5de582bdd2ee10bdaf4 SHA512 e144282e3bfe98e19c203144308da05f3478dfd1e55027d5479d76a889dd1d7bda0dbb77640b45431b6cf5e466a8ce72ae9823bf6c35cb524851dc90aeab2f6b WHIRLPOOL 1531164c902c861134499418b559e9394514452bed3baea023018381cc56a5bd8a41eb742792e7479ec64ccac01e6a68c5ccb3485b623d840ad44b06bbae8270
+EBUILD grc-1.9.ebuild 1300 SHA256 9bcea036a0708a65f7d378db0e991bf1b1d7ef17cc61c5299c0247d37b1d473f SHA512 598ea4d295763dcb49e9b22528a372e9874a21c6fa4dc4ab69754326942773e83c53fd8d4314d60068b4c7102a4e15eeb75dbfb1abe3d32d54a06f5e51159080 WHIRLPOOL 95bf2a1453a12a38e6de58a3411530ef5fe80f4e77177a680afbced1c1ab8775d80568d9f702c129922b98bf2b5b136f4e736f0178d73f3123b77c9d80ffb398
+MISC ChangeLog 2720 SHA256 dfb6de7bb9301bd948e052f3a219154541eec75b0a3d31ad2ead1320a29462b0 SHA512 5fa2120d6b01958267dc6686fd98a4fddf65d1d50573ad407b7fe46687b5453c67a5a0109e1f342bba918b615b08103628a857765916c8f6452dbbdb298e33e4 WHIRLPOOL ca3845e8d07d5fb2c67235ca7faaab4773308bba3f326f3ab3e6c1c3f09f08db5a877fdf87eb09b8a1a1e9f80ab1a5bcdabba79b1f7327b966a6fde4ad4dfac2
+MISC ChangeLog-2015 5127 SHA256 fa13827c3ef7667b2da1c5edbe428f49720be33e144103c3f1fdb49f8997bc77 SHA512 a3ef32c9518a266c16b4689ff86aae9dc2a369dee0c78fd84201dae3c01b46e45238cc83866f740310b0831f9e79b22a9c4f802467c5d47bceb6666516a5adfa WHIRLPOOL 35c34744852b059063d9e965e0da4640b36a88724e7150e106b2c7b9b53c1abebcdb15174d16a65d51363e23d02e976d128aecb1fc2ac9328d78b6fc122fe537
+MISC metadata.xml 351 SHA256 0e2d67d71a9d725a550d4a2c02183f5cae243148f3a2bea7f64c8db3add6cee0 SHA512 39fabd038b08bc0fb057be0d211272b65d94cd9f1afedfd576138be1ddc1748fd673684b1c407649409f2834024cad324f78564348e9da570cde26be3282bc8b WHIRLPOOL aafb26354a70f72c0b012e2e58c2989b83e4e90e488bbdf6845c166373b86deec1bc5e4b7ef31b3b2d4b50fdffbd786dde16f0b649f52b1a456577780851f39d
diff --git a/app-misc/grc/files/conf.configure b/app-misc/grc/files/conf.configure
new file mode 100644
index 000000000000..8f26c601eba8
--- /dev/null
+++ b/app-misc/grc/files/conf.configure
@@ -0,0 +1,27 @@
+# cache functions
+regexp=\b(loading|updating|creating) cache\b
+colours=yellow bold
+.........
+# checking
+regexp=\bchecking\s*(for|if|whether|command|how|that)?(\s*to)?\b
+colours=yellow
+.........
+# result is complex
+regexp=\.\.\. .*$
+colours=cyan
+.........
+# check succeeded
+regexp=\.\.\.( \(cached\))? yes$
+colours=blue bold
+.........
+# check did not succeed
+regexp=\.\.\.( \(cached\))? no$
+colours=magenta
+.........
+# ... should be normal
+regexp=\.\.\.
+colours=default
+.........
+# creating stuff
+regexp=\bcreating\b
+colours=green
diff --git a/app-misc/grc/files/grc-1.4-ipv6.patch b/app-misc/grc/files/grc-1.4-ipv6.patch
new file mode 100644
index 000000000000..81945ea42618
--- /dev/null
+++ b/app-misc/grc/files/grc-1.4-ipv6.patch
@@ -0,0 +1,16 @@
+ conf.netstat | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/conf.netstat b/conf.netstat
+index 2dd96e3..ec2779b 100644
+--- a/conf.netstat
++++ b/conf.netstat
+@@ -19,7 +19,7 @@ regexp=^IPX.*[\dABCDEF]+:[\dABCDEF]+
+ colours=green
+ =======
+ # protocols
+-regexp=(^tcp|^udp|^unix|^IPX|STREAM|DGRAM)
++regexp=(^tcp6|^tcp|^udp6|^udp|^unix|^IPX|STREAM|DGRAM)
+ colours=bold blue
+ =======
+ # status
diff --git a/app-misc/grc/files/grc-1.4-support-more-files.patch b/app-misc/grc/files/grc-1.4-support-more-files.patch
new file mode 100644
index 000000000000..d90fe86bb16f
--- /dev/null
+++ b/app-misc/grc/files/grc-1.4-support-more-files.patch
@@ -0,0 +1,53 @@
+--- grc-1.4.orig/conf.gcc
++++ grc-1.4/conf.gcc
+@@ -1,7 +1,7 @@
+ #
+-regexp=\bgcc\b
+-colours=yellow
+-count=more
++regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
++colours=white bold
++count=once
+ .........
+ #
+ regexp=^[^:\s]*?:\d+:
+@@ -15,6 +15,10 @@
+ regexp=\`[A-Za-z0-9_():&*]+( const)?\'
+ colours=magenta
+ .........
++# compilation method modifiers
++regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b
++colours=yellow
++.........
+ # -O
+ regexp=\-O\d
+ colours=green
+@@ -27,7 +31,7 @@
+ # stderr to grcat
+ #
+ # warning
+-regexp=warning:.*
++regexp=[Ww]arning[:\b]
+ colours=white
+ .........
+ regexp=warning:
+@@ -35,7 +39,7 @@
+ count=once
+ .........
+ # error
+-regexp=error:.*
++regexp=[Ee]rror[:\b]
+ colours=bold white
+ .........
+ regexp=error:
+--- grc-1.4.orig/grc.conf
++++ grc-1.4/grc.conf
+@@ -19,7 +19,7 @@
+ conf.traceroute
+
+ # gcc command
+-(^|[/\w\.]+/)g?cc\s
++(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s
+ conf.gcc
+
+ # make command
diff --git a/app-misc/grc/files/grc-1.9-bash.patch b/app-misc/grc/files/grc-1.9-bash.patch
new file mode 100644
index 000000000000..5e1dcda299ee
--- /dev/null
+++ b/app-misc/grc/files/grc-1.9-bash.patch
@@ -0,0 +1,26 @@
+From 1d4f9e1ca5a27426da4dcbd3caee1e38b5d272aa Mon Sep 17 00:00:00 2001
+From: Justin Lecher <jlec@gentoo.org>
+Date: Tue, 27 Dec 2016 13:17:27 +0000
+Subject: [PATCH] Use bash internal functionalities for grc detection
+
+which is an external tool, where as type is a bash internal funciton
+and always available
+
+Signed-off-by: Justin Lecher <jlec@gentoo.org>
+---
+ grc.bashrc | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/grc.bashrc b/grc.bashrc
+index e9eba08..54e570d 100644
+--- a/grc.bashrc
++++ b/grc.bashrc
+@@ -1,6 +1,5 @@
+-GRC=`which grc`
+-if [ "$TERM" != dumb ] && [ -n "$GRC" ]
+-then
++GRC="$(type -p grc)"
++if [ "$TERM" != dumb ] && [ -n "$GRC" ]; then
+ alias colourify="$GRC -es --colour=auto"
+ alias configure='colourify ./configure'
+ alias diff='colourify diff'
diff --git a/app-misc/grc/files/grc-1.9-configure.patch b/app-misc/grc/files/grc-1.9-configure.patch
new file mode 100644
index 000000000000..66dc4ceda80d
--- /dev/null
+++ b/app-misc/grc/files/grc-1.9-configure.patch
@@ -0,0 +1,46 @@
+From 6d7ab5f6486c6d30a685605aa5b0ecfda0434e86 Mon Sep 17 00:00:00 2001
+From: Justin Lecher <jlec@gentoo.org>
+Date: Tue, 27 Dec 2016 17:32:48 +0000
+Subject: [PATCH] More advanced regex for configure colouring
+
+Signed-off-by: Justin Lecher <jlec@gentoo.org>
+---
+ conf.configure | 21 +++++++++++++++++----
+ 1 file changed, 17 insertions(+), 4 deletions(-)
+
+diff --git a/conf.configure b/conf.configure
+index ac88ec7..e7b5d89 100644
+--- a/conf.configure
++++ b/conf.configure
+@@ -1,14 +1,27 @@
+-regexp=^checking
++# cache functions
++regexp=\b(loading|updating|creating) cache\b
++colours=yellow bold
++.........
++# checking
++regexp=\bchecking\s*(for|if|whether|command|how|that)?(\s*to)?\b
+ colours=bold blue
+ .........
++# result is complex
+ regexp=\.\.\. .*$
+ colours=bold yellow
+ .........
+-regexp=\.\.\. yes$
++# check succeeded
++regexp=\.\.\.( \(cached\))? yes$
+ colours=bold cyan
+ .........
+-regexp=\.\.\. no$
++# check did not succeed
++regexp=\.\.\.( \(cached\))? no$
+ colours=bold red
+ .........
+-regexp=\.\.\.[ ]
++# ... should be normal
++regexp=\.\.\.
+ colours=default
++.........
++# creating stuff
++regexp=\bcreating\b
++colours=green
diff --git a/app-misc/grc/files/grc-1.9-domain-match.patch b/app-misc/grc/files/grc-1.9-domain-match.patch
new file mode 100644
index 000000000000..f00fecd7c67a
--- /dev/null
+++ b/app-misc/grc/files/grc-1.9-domain-match.patch
@@ -0,0 +1,22 @@
+From 2e422109af7094d2787660f7841e7c2ab10bbcc8 Mon Sep 17 00:00:00 2001
+From: Pavel Vishnyakov <djhumster@gmail.com>
+Date: Thu, 17 Dec 2015 18:00:37 +0300
+Subject: [PATCH] Update conf.traceroute
+
+More correct way to match domains with any length.
+Can be checked her https://regex101.com/r/dI3jQ3/1
+---
+ conf.traceroute | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/conf.traceroute b/conf.traceroute
+index b6501a2..983a7cd 100644
+--- a/conf.traceroute
++++ b/conf.traceroute
+@@ -1,5 +1,5 @@
+ # hostname
+-regexp=\s\w+[\w\-\.]+\w+
++regexp=\w+[\w\-\.]+\.[a-z]+
+ colours=bold yellow
+ count=once
+ -
diff --git a/app-misc/grc/files/grc-1.9-python3.patch b/app-misc/grc/files/grc-1.9-python3.patch
new file mode 100644
index 000000000000..9f4db14a2eec
--- /dev/null
+++ b/app-misc/grc/files/grc-1.9-python3.patch
@@ -0,0 +1,41 @@
+ grc | 2 ++
+ grcat | 8 +++-----
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/grc b/grc
+index 56a53b4..19afe7c 100755
+--- a/grc
++++ b/grc
+@@ -1,5 +1,7 @@
+ #! /usr/bin/python
+
++from __future__ import print_function
++
+ import os, re, string, sys, getopt, signal
+
+ def version():
+diff --git a/grcat b/grcat
+index a4e6dd9..16586e2 100755
+--- a/grcat
++++ b/grcat
+@@ -1,5 +1,7 @@
+ #! /usr/bin/python
+
++from __future__ import print_function
++
+ import sys, os, string, re, signal, errno
+
+ #some default definitions
+@@ -140,11 +142,7 @@ while not is_last:
+ # do not try to understand the optimized form below :-)
+ if 'colours' in ll:
+ colstrings = list(
+- map(
+- lambda colgroup:
+- ''.join(map(lambda x: get_colour(x), split(colgroup))),
+- split(ll['colours'], ',')
+- )
++ [''.join([get_colour(x) for x in split(colgroup)]) for colgroup in split(ll['colours'], ',')]
+ )
+ ll['colours'] = colstrings
+
diff --git a/app-misc/grc/grc-1.11-r1.ebuild b/app-misc/grc/grc-1.11-r1.ebuild
new file mode 100644
index 000000000000..dd4b617a6298
--- /dev/null
+++ b/app-misc/grc/grc-1.11-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy )
+
+inherit eutils python-r1
+
+DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands"
+HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html"
+SRC_URI="https://github.com/garabik/grc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed \
+ -e 's:#! :#!:g' \
+ -e 's:3$::g' \
+ -i grc grcat || die
+ default
+}
+
+src_install() {
+ python_foreach_impl python_doscript grc grcat
+
+ insinto /usr/share/grc
+ doins \
+ contrib/mrsmith/conf.* \
+ colourfiles/conf.*
+ insinto /etc/profile.d
+ newins grc.bashrc grc.sh
+
+ insinto /etc
+ doins grc.conf
+
+ dodoc README.markdown INSTALL TODO debian/changelog CREDITS Regexp.txt
+ doman *.1
+}
diff --git a/app-misc/grc/grc-1.5.ebuild b/app-misc/grc/grc-1.5.ebuild
new file mode 100644
index 000000000000..b20233047ba5
--- /dev/null
+++ b/app-misc/grc/grc-1.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit eutils python-r1
+
+DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands"
+HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html"
+SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/${PN}/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-1.4-support-more-files.patch \
+ "${FILESDIR}"/${PN}-1.4-ipv6.patch
+}
+
+src_install() {
+ python_foreach_impl python_doscript grc grcat
+
+ insinto /usr/share/grc
+ doins conf.* "${FILESDIR}"/conf.*
+
+ insinto /etc
+ doins grc.conf
+
+ dodoc README INSTALL TODO debian/changelog CREDITS
+ doman grc.1 grcat.1
+}
diff --git a/app-misc/grc/grc-1.9.ebuild b/app-misc/grc/grc-1.9.ebuild
new file mode 100644
index 000000000000..8a0b5413f882
--- /dev/null
+++ b/app-misc/grc/grc-1.9.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy )
+
+inherit eutils python-r1
+
+DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands"
+HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html"
+SRC_URI="https://github.com/garabik/grc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ # https://github.com/garabik/grc/pull/44
+ "${FILESDIR}"/${PN}-1.4-support-more-files.patch
+ # https://github.com/garabik/grc/pull/43
+ "${FILESDIR}"/${PN}-1.4-ipv6.patch
+ # https://github.com/garabik/grc/pull/9
+ "${FILESDIR}"/${P}-domain-match.patch
+ # https://github.com/garabik/grc/pull/45
+ "${FILESDIR}"/${P}-python3.patch
+ # https://github.com/garabik/grc/pull/46
+ "${FILESDIR}"/${P}-bash.patch
+ # https://github.com/garabik/grc/pull/47
+ "${FILESDIR}"/${P}-configure.patch
+)
+
+src_install() {
+ python_foreach_impl python_doscript grc grcat
+
+ insinto /usr/share/grc
+ doins \
+ mrsmith/conf.* \
+ conf.* \
+ grc.bashrc
+
+ insinto /etc
+ doins grc.conf
+
+ dodoc README INSTALL TODO debian/changelog CREDITS Regexp.txt
+ doman *.1
+}
diff --git a/app-misc/grc/metadata.xml b/app-misc/grc/metadata.xml
new file mode 100644
index 000000000000..d65cd2e407ea
--- /dev/null
+++ b/app-misc/grc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">garabik/grc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/gtk-sunlight/Manifest b/app-misc/gtk-sunlight/Manifest
new file mode 100644
index 000000000000..fd6a9b0371ba
--- /dev/null
+++ b/app-misc/gtk-sunlight/Manifest
@@ -0,0 +1,5 @@
+DIST gtk-sunlight_0.4.2.orig.tar.gz 562581 SHA256 b661fb74b93b194fec9761ffb64594c3b4bf02fced1a51348e3ff64959883f45 SHA512 6490172beeb4c3566a42de858e321cdf83be6852d5c290f75f41d22855d002e8609948164cb757e787a1123a4fe47b69272996ffc821c057b7c6ce8b0b180083 WHIRLPOOL 2626d3a0a324e14e39b95aa82fd853064984055e28f824735d8f8a384e3b16969705b688a761d96c865f93116094571b2b663635f6662382f0da2e9de8d6e17e
+EBUILD gtk-sunlight-0.4.2.ebuild 561 SHA256 c3218181e0ce77335ce89f21af9c8294f22dab59df5f8722084eefcb80ea5a5c SHA512 22429b40240fcb211927e87408c5335a0731e5381c472d68ca3528113c3d121feae7c456b1419cf3479a99b407461df7eb30d6a67f2ad6eb423155b6bea116f9 WHIRLPOOL b8172cc395f513a5ebebf378f35bc7296e8015f76ef3ebe48d31f102dd46c7c92d229654470b07e4cd2c89b8e23052be766e6ad19a8fb4975996b4d6801061d6
+MISC ChangeLog 2536 SHA256 ec8f67f1a5079d60645ce191c8d59961a59dbc8dabd5f20d08d64a4810224e47 SHA512 9ee73684e5189c741422c4c85ff21da2514f68a9c5851af5d983337f0d41cc4d35a9b2cb27a9e5616b08a75b619600bddab06acf8c26aa2e5e3de97aecdabde5 WHIRLPOOL 2cadc8b193d6d00f7ee048706a8e207119d0114b1a0bdc40cfeb121c9afcf5b5225fb4067e48af763cce8f988623a1d0f36a24a7ebecdfa4ce406be65b16c25f
+MISC ChangeLog-2015 955 SHA256 de1b3a8b1cb09794b6da91fabb3e721f32d544739e8901386d2999f16c519737 SHA512 5545f6a4f8199d302f88b3ba3ec5f7c6f6e9e0bda93c6054a6cc305e0f594558a48c3e0587995aa4bfb8df654583c061bfcda0afb44a16a136e170a4b574ffdf WHIRLPOOL eac9b04e1103b3f9157db220d352ccc43bb44ce23c93af1c6d9c2f615de444a5063adda6c4352116b4819b39b31ad025d56d1b17428996ec718f604012c74f1d
+MISC metadata.xml 239 SHA256 2a0c6a6922ad5c1460d3525cf24e302d4b3435d9c7d619a7c43605d0bbdf70c1 SHA512 be29819db58c3ddb7212a488f9965de11cb5d84223ccae9458e968425296d3ef0f93f20edf7b4ab8a4dda6c166c4104c8b615c82feac5d87b3364a88de591a45 WHIRLPOOL 36f4ad69c7deb9b7aaf9c1125165227d4de9d101a25fd6b38f9ce362245ac9456e96ae039728042cf8741e8ff0e8e0f56d5772ed85de1c4efdbe917b12b465bb
diff --git a/app-misc/gtk-sunlight/gtk-sunlight-0.4.2.ebuild b/app-misc/gtk-sunlight/gtk-sunlight-0.4.2.ebuild
new file mode 100644
index 000000000000..cc518cf235df
--- /dev/null
+++ b/app-misc/gtk-sunlight/gtk-sunlight-0.4.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="Real-time Sunlight Wallpaper"
+HOMEPAGE="http://realtimesunlightwallpaper.weebly.com/"
+SRC_URI="https://ppa.launchpad.net/realtime.sunlight.wallpaper/rsw/ubuntu/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/glib:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3"
+DEPEND="${REPEND}
+ virtual/pkgconfig"
+
+src_compile() {
+ tc-export CC
+ default
+}
diff --git a/app-misc/gtk-sunlight/metadata.xml b/app-misc/gtk-sunlight/metadata.xml
new file mode 100644
index 000000000000..d04de4894ede
--- /dev/null
+++ b/app-misc/gtk-sunlight/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/gtypist/Manifest b/app-misc/gtypist/Manifest
new file mode 100644
index 000000000000..77f3f9cda01f
--- /dev/null
+++ b/app-misc/gtypist/Manifest
@@ -0,0 +1,14 @@
+AUX 50gtypist-gentoo.el 182 SHA256 3274e8829cc488918e9f2676ad00e4aa12f06ca6147f128c54c105245b971b11 SHA512 1dd01580d11482f47899b0e3623c61d318d0bc4630851e5a4ee61ea008159db3372a144d68045394332c9a7ae3877e558502cf24c927a3d19a4e60aa046d12a5 WHIRLPOOL 92205c0f5423928b8f0f0af725352998352dd6650bdecd88651b5b74470d1bacfe58c684f83ba71757ae0b0850915d8ab208cbdece6feeb7b977db363c1cab83
+AUX gtypist-2.8.3-xemacs-compat.patch 592 SHA256 d84203768ba48675969286c9e448023ccd34f04bdf16a004487903b127536c82 SHA512 6e85193a1354bc318f78382aaa24dea473d704ec347f8ae854b4a83985f2d4b1b8f64e59e3526b05bdd1e264de8fb8d4d6865bb296cf55f3896a56bfdc0930fb WHIRLPOOL 3fd304aeeed6d5919d67d44a3bb8be09bd413e55434e953686f352faa12490130ebff076fe084082cb4519bc9ade84d88b1c9502635f129a58ecdbea13b06c9f
+DIST colemak.typ 8922 SHA256 2bbe1e7b25f85f1dd7eaa469c7996b033e23537c7c475df99da19bd6429a055e SHA512 f2c2816836c83d7b640f7f703a4924c62ff0746e0d4cf2a2ca36d434017770272518b835ea273815c93ab9df1c0e4d142f5fea1e5f0b1484ecdc652a53bdc499 WHIRLPOOL 9cead498b590c46cc5130084f903ab8aaf0efd77c9c36c3ccc3224c0e12a506e177ce581cefcd0e55f140b67c6fe6f19b797e1e1d0b7cbf20c7566fce5921fc7
+DIST gtypist-2.8.5.tar.gz 1148279 SHA256 a58b7551a8ca0dd841d230d519c265e8e448c13f517688e029c8ded011cc9d17 SHA512 2671ac0bd5e8681b090911c0d19a439aef2588bbeaa980aed50252a0e8727f4aae0044d1e4d0f7cbbd946881f4a7fa60fda444a668f3c004e64cf4ed6a33eb7e WHIRLPOOL 1285470f4d33bc2c5a9c61996db0346fe2700e4e85f8963529393ac549a2468ecdebddf0138ed5b4ca6e89e6dc71d869c21ee06d65baedaa2c4bf0e537ece0c8
+DIST gtypist-2.9.1.tar.xz 954920 SHA256 baf8445777fbbb46217863c42d06376f04207b98ffef73885e3d0618550262fb SHA512 dd5d96882c1fa9c786e30d21ab3424be25caecf2850a00edee531ba58aba026efedb12ca8edf34a52033bd0ba28b25ae6a62590e938d7f86124097e7e166e8d9 WHIRLPOOL baae17c47a8d7a5f962fcd9fb5efa64f7346872f4ca439bd34a4fd19d84bdfc7d30cfffcf95de1bafc3fc23f7d468cd3eedd23d86e44f5ac99717e3ea6aab5ae
+DIST gtypist-2.9.2.tar.xz 956252 SHA256 5f27042b080c911c4ea2b252ac893401b0129ae5b98b31edb8e9845656b6135d SHA512 6191735c383aeedf3017f9bcd1897d35b2f40ea9de74e94d5c544708e4eca86585ce11984ace75945ac5b61e0f5b73c0f2461c55a6dd3b5d2833b4ceeee90c3f WHIRLPOOL 0123421bd0939220ee1eab02f246cca1b4785029afd2da9705e8f271da85250b4e344b5be59731abc7a548790bd87a176fdf3f6004f1f7fd813a99a004567bc1
+DIST gtypist-2.9.5.tar.xz 929356 SHA256 c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977 SHA512 d6891cd58d23f9b023aec97dc825cb15f7371ab18e82133b9a284d3329b1526bda8e1c5d7225f335c5ec673280cbbe3ad92471eeb15db4ecf29e7feffe27e095 WHIRLPOOL 46d53852986cdefe52f24bf91fa12b37e4d48a7d73c9b94fc7cd15a8bb60b89bcd626f6016089cd84cd524d96dfa7ac68adce40548ab0965b9ec9ec96169232f
+EBUILD gtypist-2.8.5-r1.ebuild 1438 SHA256 5be6ae98a2a170b34c6ff4580f6cb858ed9747874fa75c0b479c2304a2961174 SHA512 a952262b0104d6ee2d3ad68c460430fdc585b1af7aadcb55e9c0f3699841860e4188aa7064c42328a6c5a1263a8ea00463e953399d663594631951396643e0a3 WHIRLPOOL 13c0e1ed15ed1998d88d65b7449acbf68e5c351abb015c250e86ce91ae9c8c31c43caeec1ddbdb61c767329d4fee21f068ae5517b3c49ff1e55b6ede25474afb
+EBUILD gtypist-2.9.1.ebuild 1441 SHA256 efbaaf2650f229422b15426ffa873aede4225f4ea6fc20eeca012a9cb60e263f SHA512 7d64f0ac772695b2c60bd12b4ad2437d4c6b28efd9354492eb90df283ddfc9f1ba8a5ae4328d6743ad853d05656e52f5f59b115737d24deb8d59434f9f5e1b8b WHIRLPOOL 2f9cf7037190c08d0ebd7b3fffd842fb325bda0b75b5d75a8869aa972132524e572ea2c8f7ffe64825d0b3e350b16b053b72d516d95073e2f8193fa12f27fa89
+EBUILD gtypist-2.9.2.ebuild 1441 SHA256 decaaff0808bf824981abd28de470953faba582a6c9a24db05fe9edeed642087 SHA512 ddf157f6d5cfcd76daa51b949ee1f7142191a86a55186f4f9b8ff432bfe3f5bed3cead2694a649a7875c3600db15a67728eb9d76d1d429a75101fff8ef0e2175 WHIRLPOOL 17b30c096d6d53b91fc5893b2d8ab2806490192e49b74ee4f249ecf480afbaebb50acb19b1c7f008b6c8d58549813095401419b0daa7621e1801f077a1ef5bd4
+EBUILD gtypist-2.9.5.ebuild 1425 SHA256 dc5c8134fc2e5ba458e3630a3ab47740e5162d37dbfc9f1bb368dc861bd5669d SHA512 6a38b76087e92c1b1fdb9d7010ce3838b166755f3dd390fa7c1eb78a56137af4750dc44e5d238ba87a01659570c23aa1f708fe0dd241dd1ca96464cd2280ed0c WHIRLPOOL 64c7b78543dec3c31b117c788e98ecbf9ccb0c1dd5abc0ed1882f4bab5a91bed919f8fa8283718453a49e86057ab008cbedba54f9feb0a6b59d3ed5869e62631
+MISC ChangeLog 2888 SHA256 b9b943fe82f2c3ae7786e8054a087da08d467a140d0a74cbd01161c7ca8f8f0e SHA512 0772538e98ad5a5527cf35335ca2e0cb470e90e0e03f3e47fd7bab5ca54752b3f9f1bae80d4aae8b15edad18e381a855527b654cc7e79ae44f2731c9935884a3 WHIRLPOOL ab7ba83087e88a926daf8ae12465f4823107d478b21c8d313000b2f45ee68e3a0720373e78a735823eb67fd23ecba23d9767167cc5eb4451816aed11cddb1845
+MISC ChangeLog-2015 4975 SHA256 9085cda2b8b2a39abbf4e976695f35e94c30a5385324bc82b2683d86460e9511 SHA512 5bb6d3271da09459e5cd3652d93ae8a1a480f2bd38a76f6481ce37d23b06e9f308540feec79fd76026587b5150fbe9c83033878319815fe277984099596be191 WHIRLPOOL 8ebaae4be92a9ff154613a106f93f855bedce5c0a9d1e62462520c74a06619c421dcd4a84e300d78e0ad8a518916cb97a97b30106bcfa2310acd3b9517aac118
+MISC metadata.xml 362 SHA256 93ff0c3bf6e1acd158d1571e1a16594ee9081790a80fb93e38a67499b0841531 SHA512 67c2ce82bd951afe3a435c846b6caba9baea19b1b172d4080383899cd669908c54c85c55aec7c8f10fafdcc64bc59d3fd8e60524bd0f78080fa9af48cc7fe3c3 WHIRLPOOL ecf7dbec17d5f9fe1ef07f019fa28f7e8b1d270caab9aa2a2405340e7f780051f13a3c0c92bdc4cc964dc8caf3cf1aa966b6fe433e90462a26cae984a2d28f1c
diff --git a/app-misc/gtypist/files/50gtypist-gentoo.el b/app-misc/gtypist/files/50gtypist-gentoo.el
new file mode 100644
index 000000000000..8d888d4dcd87
--- /dev/null
+++ b/app-misc/gtypist/files/50gtypist-gentoo.el
@@ -0,0 +1,6 @@
+
+;; gtypist site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'gtypist-mode "gtypist-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.typ\\'" . gtypist-mode))
diff --git a/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch
new file mode 100644
index 000000000000..166a82c48263
--- /dev/null
+++ b/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch
@@ -0,0 +1,18 @@
+--- gtypist-2.8.3-orig/tools/gtypist-mode.el 2003-09-28 23:35:22.000000000 +0200
++++ gtypist-2.8.3/tools/gtypist-mode.el 2007-04-21 14:49:16.000000000 +0200
+@@ -95,7 +95,14 @@
+
+ (require 'font-lock)
+ (require 'thingatpt)
+-(require 'executable) ;; executable-find
++
++(eval-and-compile
++ (cond
++ ((fboundp 'executable-find))
++ ((fboundp 'locate-file)
++ (defun executable-find (command)
++ (locate-file command exec-path nil 'executable)))
++ (t (require 'executable))))
+
+ (defvar gtypist-mode-syntax-table nil "Syntax-table for gtypist-mode.")
+ (unless gtypist-mode-syntax-table
diff --git a/app-misc/gtypist/gtypist-2.8.5-r1.ebuild b/app-misc/gtypist/gtypist-2.8.5-r1.ebuild
new file mode 100644
index 000000000000..279822894630
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.8.5-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.gz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/gtypist-2.9.1.ebuild b/app-misc/gtypist/gtypist-2.9.1.ebuild
new file mode 100644
index 000000000000..6e51a0c171b1
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.9.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.xz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/gtypist-2.9.2.ebuild b/app-misc/gtypist/gtypist-2.9.2.ebuild
new file mode 100644
index 000000000000..2379bc1d1d5d
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.9.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.xz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/gtypist-2.9.5.ebuild b/app-misc/gtypist/gtypist-2.9.5.ebuild
new file mode 100644
index 000000000000..77e8884eea1a
--- /dev/null
+++ b/app-misc/gtypist/gtypist-2.9.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils elisp-common
+
+DESCRIPTION="Universal typing tutor"
+HOMEPAGE="https://www.gnu.org/software/gtypist/"
+SRC_URI="mirror://gnu/gtypist/${P}.tar.xz
+ http://colemak.com/pub/learn/colemak.typ"
+
+LICENSE="GPL-2 public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux"
+IUSE="nls emacs xemacs"
+
+DEPEND="
+ >=sys-libs/ncurses-5.2
+ emacs? ( virtual/emacs )
+ xemacs? ( !emacs? ( app-editors/xemacs app-xemacs/fsf-compat ) )
+"
+RDEPEND="${DEPEND}"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.xz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.8.3-xemacs-compat.patch
+}
+
+src_configure() {
+ local lispdir=""
+ if use emacs; then
+ lispdir="${SITELISP}/${PN}"
+ einfo "Configuring to build with GNU Emacs support"
+ elif use xemacs; then
+ lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/lisp/${PN}"
+ einfo "Configuring to build with XEmacs support"
+ fi
+
+ econf \
+ $(use_enable nls) \
+ EMACS=$(usev emacs || usev xemacs || echo no) \
+ --with-lispdir="${lispdir}"
+}
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+
+src_install() {
+ default
+
+ insinto /usr/share/gtypist
+ doins "${DISTDIR}"/colemak.typ
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/app-misc/gtypist/metadata.xml b/app-misc/gtypist/metadata.xml
new file mode 100644
index 000000000000..cc9ea98bbd54
--- /dev/null
+++ b/app-misc/gtypist/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>dabbott@gentoo.org</email>
+ <name>David Abbott</name>
+ </maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/hachoir-metadata/Manifest b/app-misc/hachoir-metadata/Manifest
new file mode 100644
index 000000000000..8978763ababc
--- /dev/null
+++ b/app-misc/hachoir-metadata/Manifest
@@ -0,0 +1,5 @@
+DIST hachoir-metadata-1.3.3.tar.gz 52304 SHA256 ec403f13a44e2cf3d26001f8f440cdc4329a316a4c971035944bfadacc90eb3c SHA512 f0958e1bb6fbeca56caa31a8574da2f64df969cdb9de80e733b36dfae0e07c8f0fbecc53f801a359f7d16ac1a3b3e0605b7c6a3bd6da3c09a3cf2c971bf8750a WHIRLPOOL 8ce755703c74005e7d355ca7a60e22a69f8d19b9bb66e540191b7b4d547fb6b54ce9db723fefc3f79941870b6621b9e9c7b5ace29f3995c68381da42ace1feff
+EBUILD hachoir-metadata-1.3.3-r1.ebuild 1505 SHA256 cabc50ef0bd921abde7fe9fe9bf68cab959ee3c1b94378747cfe77526d1095c8 SHA512 a5ec6af0f65fb43962b7862439e571ff98978a9720c0c9be9240a229726b5f276a954d0a576aa2536518a359727da75ac71d7c079eb9772ae77f477156412079 WHIRLPOOL d8f7b671315da0af728d1dcd92ccedc31250849eb38e8fa3f2ea3e2cf1f428ddab090e15b87604657b1964f255143103be453af9132943cda144d4be0fbfd6b2
+MISC ChangeLog 3110 SHA256 5a30bc292e65cdd2bb498ddb296b40564b5bd2ccee97cee0daf6d6801b355985 SHA512 1f230d6fe0ee26ec5178deced3f8cdde2a5a2c9e579ae91792aa058907b43ab2db7ed976a1005b93828ee56679f5fead269de4345d06284e45f7a98c03800673 WHIRLPOOL 159cdba90c6d464ca2519318c41dd1b1328c712dc6df372c8fb132683366ad6ca97e7c5ce01fc3e1be886b03587fdb0055141986faa9be05b73834ae11b64d8b
+MISC ChangeLog-2015 2089 SHA256 f95c46efc582f5ef58aadd6e183273e92906fa26bfa773f89ad50dfb56162dde SHA512 458bc08726e25cf5cd517894df52762a2c069744da9d1805446e783b6652d019ba631e6dc010c283516fe7e1d40be5ddb0c7397dff5b6c0b918f75f0423b90d9 WHIRLPOOL c3584331112c09ec8d667df8992d7bf0c6ebf7f5ca4e2c129095e385c8e65f873c74c0f58f963306ecf45da2f8e6ad0e60470c2f5152decd903287f5bdde8b26
+MISC metadata.xml 428 SHA256 32dbbe45e5c978c5cfed1a8c998a86fc5372455691fa20d2b5f82b9d2de71648 SHA512 c76d6bc6b172d7329562c87557d9695e5629a3ceafcc126f663b5af51af7f728a6f64dd875832af4acb2057ac63d23dc71526724a61395c3e34303da4177acd7 WHIRLPOOL 01c719322be150a84d747bd7856c54f108ff1f26b1d1e144b13467bc345138d166b5f9cec044ccc0bf775cfa173acfc470a1d27ae116df36c95cb97673edf14c
diff --git a/app-misc/hachoir-metadata/hachoir-metadata-1.3.3-r1.ebuild b/app-misc/hachoir-metadata/hachoir-metadata-1.3.3-r1.ebuild
new file mode 100644
index 000000000000..7d83e7bd7178
--- /dev/null
+++ b/app-misc/hachoir-metadata/hachoir-metadata-1.3.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Program to extract metadata using Hachoir library"
+HOMEPAGE="https://bitbucket.org/haypo/hachoir/wiki/hachoir-metadata https://pypi.python.org/pypi/hachoir-metadata"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="gnome gtk qt4"
+
+RDEPEND="
+ >=dev-python/hachoir-core-1.3[${PYTHON_USEDEP}]
+ >=dev-python/hachoir-parser-1.3[${PYTHON_USEDEP}]
+ gtk? ( >=dev-python/pygtk-2.0[${PYTHON_USEDEP}] )
+ gnome? ( gnome-base/nautilus gnome-extra/zenity )
+ qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ if ! use gtk; then
+ sed -i -e '/SCRIPTS/s:, "hachoir-metadata-gtk"::' setup.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ mydistutilsargs=( --setuptools )
+
+ use qt4 || mydistutilsargs+=( --disable-qt )
+}
+
+python_test() {
+ "${PYTHON}" test_doc.py || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use gnome; then
+ exeinto /usr/share/nautilus-scripts
+ doexe gnome/hachoir
+ fi
+}
+
+pkg_postinst() {
+ if use gnome; then
+ elog "To enable the nautilus script, symlink it with:"
+ elog " $ mkdir -p ~/.gnome2/nautilus-scripts"
+ elog " $ ln -s /usr/share/nautilus-scripts/hachoir ~/.gnome2/nautilus-script"
+ fi
+}
diff --git a/app-misc/hachoir-metadata/metadata.xml b/app-misc/hachoir-metadata/metadata.xml
new file mode 100644
index 000000000000..21dca811f4cb
--- /dev/null
+++ b/app-misc/hachoir-metadata/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">tool to extract metadata from multimedia files (sound, video, archives,
+ etc.)</longdescription>
+ <upstream>
+ <remote-id type="pypi">hachoir-metadata</remote-id>
+ <remote-id type="bitbucket">haypo/hachoir</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/hachoir-subfile/Manifest b/app-misc/hachoir-subfile/Manifest
new file mode 100644
index 000000000000..a4f32f533392
--- /dev/null
+++ b/app-misc/hachoir-subfile/Manifest
@@ -0,0 +1,5 @@
+DIST hachoir-subfile-0.5.3.tar.gz 15499 SHA256 b8e4933e566524804382c8f8a9a9b58a4e25ad24ebf75beb0da5d8705c61f0d6 SHA512 b34cf7d7befc1031ae821dc5124b83d198cbd6d2f95666b8497b23a87c748d574637ed65023c7e1e2532a3a62ca079dfd13d11dbcac31457c6423309208d0ce4 WHIRLPOOL f40633897acbda4905e05c5d840ab4df82e1052be785ef2fd4f635dd504609b1fb922c20dbec201f4fb3ed4684ebf5c6e7333fb2d907e41358e5cf8c6059ca84
+EBUILD hachoir-subfile-0.5.3-r1.ebuild 730 SHA256 2d70de8d30762181797960955e213e19a980dacb9fdf21c2cb1b2a2b6314411c SHA512 4e2ec28067f3917fc16044b10b305a3f58fd36e5733c34f1c574508113687c32bbdd7aa22ca426987a1af4fcfd07853deff620c0e646be7b4fc3ff28ca7d9f31 WHIRLPOOL 4456dfe2a97b2598407e0495699f350dbb84bcf712c99472e86cc00ed194a6be2212c08fc08b845b2359c11251cbc17b9ae659cf374102a8323de2e17d68fb41
+MISC ChangeLog 2864 SHA256 a56824b530e2953a2b8a6ac635156f8f229a5179c01089ce14b509b3f25df3ab SHA512 2d13528fa06400867231ebafcf6ad02cfd4fc5196d795ab8608cc562748a93550b60ac0ce558350dcc48993a65886bb6b0322dc61233ee4711a668de2b7777c6 WHIRLPOOL 2d30daf4d53ecd9db4cdcc8390580620f79f9c9f75447858e11d7deadd8af2a6399ddcf7c218f2df28d5ebf3fe3495813c2fbf51247c39c5652f7b1430507c9d
+MISC ChangeLog-2015 1556 SHA256 d79975c1e67b1ca36260b1c24c366f87c4a7332bbb5c975767a9154437529b85 SHA512 2abfa38011d3cf33831170b7629bafb2c18a7e488015f67ff052e8fd6f8eabf8b599c3a707f4cfa4a1e9a9d612b46ccb1740eb3dbaf54d6800cf0e91a4a7a9ee WHIRLPOOL f1ee545a3782417e53586b25c5f823438328016ed2b901561f699d0457c16fa6d0cea520349215d1983fb48cfcfd534a8c7305b442a2fb132a8e310a72a319ef
+MISC metadata.xml 425 SHA256 5b2319f41df094611b0cde39cdd02dfe4ac8c0c7564a5af6f8880850e88eaa1a SHA512 7c19037ce6003a18113d0ef240041a0ad9501080b5021a018124be678ee86240f6ad3cbb4fa0ece3a8a4994884eb499374f714b2ab2dd1e60ce82e885051af2d WHIRLPOOL f9b668f05d8e569c1b73ddd04930681bacc0aa770defa406a5035a7e99162e34edf352940b4be7da76761f48b61a99d8893dbbde0a7055aae701fe4ff2c3968e
diff --git a/app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild b/app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild
new file mode 100644
index 000000000000..31512f7fcb2d
--- /dev/null
+++ b/app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Find subfile in any binary stream"
+HOMEPAGE="https://bitbucket.org/haypo/hachoir/wiki/hachoir-subfile https://pypi.python.org/pypi/hachoir-subfile"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/hachoir-core-1.1[${PYTHON_USEDEP}]
+ >=dev-python/hachoir-parser-1.1[${PYTHON_USEDEP}]
+ >=dev-python/hachoir-regex-1.0.1[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_configure_all() {
+ mydistutilsargs=(
+ --setuptools
+ )
+}
diff --git a/app-misc/hachoir-subfile/metadata.xml b/app-misc/hachoir-subfile/metadata.xml
new file mode 100644
index 000000000000..6fc0267d511b
--- /dev/null
+++ b/app-misc/hachoir-subfile/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">a tool based on hachoir-parser to find subfiles in any binary stream.</longdescription>
+ <upstream>
+ <remote-id type="pypi">hachoir-subfile</remote-id>
+ <remote-id type="bitbucket">haypo/hachoir</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/hachoir-urwid/Manifest b/app-misc/hachoir-urwid/Manifest
new file mode 100644
index 000000000000..e4ee4f7dfa2f
--- /dev/null
+++ b/app-misc/hachoir-urwid/Manifest
@@ -0,0 +1,5 @@
+DIST hachoir-urwid-1.1.tar.gz 17845 SHA256 95161ccc0708818958e974fde4d395ddf181cc05e92839e2c6aff1a8cac40681 SHA512 e434756903e4b3885166b825331921fe9c959247a9bf8bad324aa8e3e2b5f4ce22a1546e38df9ce9a8fcfbbb96c6e6ca4bc42e455e66eeec178d85849b1526b2 WHIRLPOOL 9717926eb74d9883d8ce24a5d18a1a98add5d70c4066e49dd1794576767db2a1af36734984dbe84d9b1556baedd0057f7dcf12f44ecda23ff2c91d838ee4857d
+EBUILD hachoir-urwid-1.1-r1.ebuild 759 SHA256 2afd0aa2e0c02cd298578a56e9d6b26add0c1f94699641c7787a16b76e74a9e8 SHA512 d1fb7d61fb2b52a92be8d642071793539bbd7dfc533b2dda293d33b170f1f06701e5b119c610c23e0f96ec6e0d6c313746d4c6bccc9e9eaf34e53a028a61f987 WHIRLPOOL 8c2f325b4b7a6c155c02d00fa6fe9a0ea160d1b30afe61277e116e436fbe4f74c6e08e1cc39669ebbf4d4df0d5f4a243fd256c16ba47bc6aaadb026a7e2e2351
+MISC ChangeLog 2842 SHA256 833c070c04d1e5a5cc4be66ea1fbdf0301b2e8c4af9bff1c2c91a8dfb41f4a87 SHA512 77d20582d157e7633cf15c39c096c4888b2cff80b865df2487eca75e8a7fb6dd153c5334d842848c76dcc6ca40a89aaefeec17d93e682a97bff3dae2d8280e0d WHIRLPOOL 19772a8488feb0f0c309fc2e06b37334b677608edacacd91a4fd33ac3d76407dcee1e0e5865f447f2533a33631316a578f525a4f1463d1c192fa453fadf10442
+MISC ChangeLog-2015 1363 SHA256 baac343337b7695e1202ce7011de9a4330d0f9f232732d2666c3467232a9007a SHA512 4da906645cc8dc9163d3d04ad16f95f8ca76f0a8699b6d68b02efc540a482bdebc21bbe289c06feea67195280a7aeb3cdaae6a9fe9b5439b470142b3e91d604d WHIRLPOOL 27e767b5549900ce5f4f44ab857199b834633f7052fef1d31f58160b1271985fded471aebb5beb3185a0a60c31737181e33d0dba45ca0e03913603fe1016a5bf
+MISC metadata.xml 418 SHA256 acaaddee4e240ebad752ffef443770d4e1e67b890f644e8c273fb47e28381e58 SHA512 7f3f6a1d6b9239aeae423fa3b8e172283c5cac3f05b738c06a17ce699576078b18649c8fbf41f4006d3bb2de2fca9f4b751a9466710539133d314d1e64527349 WHIRLPOOL c98fe9aa95b9ef4b72f3d9a6595cead7c73ffb5a5813082925df9b5e94e26396959c1c04fdab1034d89ff5fadada6389e392b19a1abddc67398593affec9a27d
diff --git a/app-misc/hachoir-urwid/hachoir-urwid-1.1-r1.ebuild b/app-misc/hachoir-urwid/hachoir-urwid-1.1-r1.ebuild
new file mode 100644
index 000000000000..45c28a7c3053
--- /dev/null
+++ b/app-misc/hachoir-urwid/hachoir-urwid-1.1-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1
+
+DESCRIPTION="Binary file explorer using Hachoir and urwid libraries"
+HOMEPAGE="https://bitbucket.org/haypo/hachoir/wiki/hachoir-urwid https://pypi.python.org/pypi/hachoir-urwid"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/hachoir-core-1.2[${PYTHON_USEDEP}]
+ >=dev-python/hachoir-parser-1.0[${PYTHON_USEDEP}]
+ >=dev-python/urwid-0.9.4[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_configure_all() {
+ mydistutilsargs=(
+ --setuptools
+ )
+}
diff --git a/app-misc/hachoir-urwid/metadata.xml b/app-misc/hachoir-urwid/metadata.xml
new file mode 100644
index 000000000000..f0e7f1dca36a
--- /dev/null
+++ b/app-misc/hachoir-urwid/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">user interface based on hachoir-parser to explore a binary file.</longdescription>
+ <upstream>
+ <remote-id type="pypi">hachoir-urwid</remote-id>
+ <remote-id type="bitbucket">haypo/hachoir</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/hatools/Manifest b/app-misc/hatools/Manifest
new file mode 100644
index 000000000000..85525a2055f7
--- /dev/null
+++ b/app-misc/hatools/Manifest
@@ -0,0 +1,5 @@
+DIST hatools-2.14.tar.gz 156771 SHA256 4bad4723056f87f30633a4702b96be3b2e0d1218b7b96a79c71f42ca3f5dd109 SHA512 359b652696b6f56287e336df0a844e3d4df098ee896bb5857e9fec087ccb122a5a94aac01ae4c87e530716dfa373814ec78b415dd76f65d5e60a8274af70755c WHIRLPOOL 5c87e7acdfcb2faa6a865c50c4c8bf4b93fedcd430c03e7729eae6a0ece80bf8ab0c5a2fa496db42569a5aaa9bafc462d3569638624b58dd995096b9b66ec59e
+EBUILD hatools-2.14.ebuild 488 SHA256 5ecb3c39c305dfea8afd9fcf8ee8a846cee073a6a2b558d3fe1ba8678016b693 SHA512 f67cdd263527f2823a0f99ff7bbfbb0936b30a4714c582d4802b313ff731bc3a2ef0b4980324c84aa23c44f3d343a37d21c7c55885d58edbae8d3c121ad880da WHIRLPOOL 276de8f565146e1f4524800b155e427c9e7e0df2f9c886c8f59d4d029f0ae1ffcda095d234ca22d46c1995a5e110fb034f506166131fd856ccbcf5c9d98345fb
+MISC ChangeLog 2425 SHA256 09820da83a8743b8c379d773773313a70b3619b9994c3bed61deb4702ff32a09 SHA512 71b14f7e87d304f1fcba812d8a71bb8c8f6c9b577b67dedd69dcb17ecb2a103c6fb381fb4d31cba5e162dbdb33a05af4b1946f7fa16f128d4462255d6bcef7c3 WHIRLPOOL 28b4aaea46fd353f2b7674e9e9fda85e69278d81603bf39c59fb67afb3751a978c612b0ad3ce039d638b80d20b2423783abecc519e97811b433cbaa5a51a2bf3
+MISC ChangeLog-2015 1755 SHA256 484919c780a1faa22d77b024c6a187968184ea3b6a00bb9dd541f40560087a57 SHA512 4c5fc607dd71760586d46aafb8659dd89a92b780bd9f5bdc9346176e9b37f32dc6ab0d5129b04afb1956f3733b931f7cc83bb3d3272404cce0a71fc05a4534ab WHIRLPOOL b52675e3c945d06c9352f7eee1b83b3c5d6f19f9169da23a299e2747b3078b78059bc57f05736950b61645959ac24101b24a7e06f31779808a0db62c892a3637
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/hatools/hatools-2.14.ebuild b/app-misc/hatools/hatools-2.14.ebuild
new file mode 100644
index 000000000000..4f02f52b8445
--- /dev/null
+++ b/app-misc/hatools/hatools-2.14.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="High availability environment tools for shell scripting"
+HOMEPAGE="http://www.fatalmind.com/software/hatools/"
+SRC_URI="http://www.fatalmind.com/software/hatools/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~mips ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+IUSE="test"
+
+src_prepare() {
+ sed 's:ksh:bash:g' -i test.sh || die
+}
diff --git a/app-misc/hatools/metadata.xml b/app-misc/hatools/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/hatools/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/hddled/Manifest b/app-misc/hddled/Manifest
new file mode 100644
index 000000000000..1bdad0bfdd3d
--- /dev/null
+++ b/app-misc/hddled/Manifest
@@ -0,0 +1,5 @@
+DIST hddled-0.3.c.xz 3108 SHA256 abb2ad3a654419bb5e92e909674ef12aa5adc79d65b88c802060082e7b8fff2f SHA512 9f535557aff78d3c9693a8d34810a768e8306de73841ba0d0a928a5d205a8a5faf632a9bf51db8763b5d8d2b3de73ee6f06af62f1a0025b0912c7c18133cdf19 WHIRLPOOL 35f7f73a6186cac079adf36737f0f88f9addbd2ed289dca4a88b87e717a7ab42a078710a4e0355243cd4f238d31837d36d26df2b79b3ffecbbb80b37105f18b0
+EBUILD hddled-0.3.ebuild 783 SHA256 e05a93590bc4735749530e465ba2a9e8099e657f1501788256c7ff37999ae115 SHA512 cce593ff9cb8517bd3c3ddec35a5bf195f256eb6965bce307c7843d49a2cc92a3a17581cdcf6184704f2092f84bd42bb1ffe662b55103ba6a7f4a41f15efa6fc WHIRLPOOL 701ec9fadd5dbcf26af4d1ee9cd0eaef885640e5a2c309ceadf17ff06c180e602a21cb98074d8818226e886639faa5958358d5c84601514cc3837ad27dec43c6
+MISC ChangeLog 2562 SHA256 13d15bdcfe11117cd01daefcadd946048722c10bc646e5073d4eb304a9f9a83a SHA512 4d972b9598713c2c2588b4f1ea92bdb6ba130255b554c051d896e1a667dbb02309895c37c698df0408c720dfcc14660830f6301a42bbd94598d76f93bda4a516 WHIRLPOOL 05fd7fd892e29e509f77345ad49187c58641c5758c157327db2cb3a459760eec56c755f8d44ae842a6be93ef490bb6070717f0e332e0fec7fd5a966dcf374a8b
+MISC ChangeLog-2015 680 SHA256 0671d9ad7a2ae76627d5c3b694398ca1d83d09215229f3574cde0194123a8780 SHA512 129a77dae51399a1ef31a8cff974eee82500cdb2cfabf238326d7f5699a4fa8380c644025dd9ce3487143d403abbf9d00c68fe7bad87e773caae8d9a1329cc35 WHIRLPOOL 56fb816f0a3aba0a1b3047b57b134cc278e65af57bcdedf000592dc82db965bb0141e0d5aeeba298750671be9bbfc6faa97d8a37649f5cb958956b8a63b0477a
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/app-misc/hddled/hddled-0.3.ebuild b/app-misc/hddled/hddled-0.3.ebuild
new file mode 100644
index 000000000000..7197a4970c71
--- /dev/null
+++ b/app-misc/hddled/hddled-0.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Show hard disk activity using the scroll lock LED"
+HOMEPAGE="http://members.optusnet.com.au/foonly/whirlpool/code/"
+SRC_URI="mirror://gentoo/${P}.c.xz"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ mv ${P}.c ${PN}.c || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} -o ${PN} ${PN}.c ${LDFLAGS} || die
+ if use X ; then
+ $(tc-getCC) ${CFLAGS} -DX -lX11 -o x${PN} ${PN}.c ${LDFLAGS} || die
+ fi
+}
+
+src_install() {
+ dobin ${PN} || die
+ if use X ; then
+ dobin x${PN} || die
+ elog "X version was renamed to x${PN}"
+ fi
+}
diff --git a/app-misc/hddled/metadata.xml b/app-misc/hddled/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/app-misc/hddled/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/hello/Manifest b/app-misc/hello/Manifest
new file mode 100644
index 000000000000..298160f461e7
--- /dev/null
+++ b/app-misc/hello/Manifest
@@ -0,0 +1,9 @@
+DIST hello-2.10.tar.gz 725946 SHA256 31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b SHA512 e301d785135c52575a8b4c35994c0316f8d366451f604eb5e74c1f907077502aebd5a1a32cd1e26cd7ca32c22f4de5623a335f8ae7e735ac977420df664f01de WHIRLPOOL cd2e1c42ac74e059cbc6e236a389f66569bf5895c652f7917453a8e02b1cbd25319de8fbc4b2288fe01b551cf4199442b3be1f304c6ab0c1e1e5195251fecab4
+DIST hello-2.8.tar.gz 697483 SHA256 e6b77f81f7cf7daefad4a9f5b65de6cae9c3f13b8cfbaea8cb53bb5ea5460d73 SHA512 87fdd330fccc7d42c76df9902e21184e7976e4eb95f43dd30417030170471c34be68c37958acb6e4d3ac5f2ed7f6897730388bb6d38f5b0c06202cb8ffccb6e7 WHIRLPOOL 33f8043d8915a3ca6ce7569d2559df990d9abe17f89773230506b7ef480444fec417bbe0073c8d97d85187069b294ed4233faf81933d57c65707ab7648184b9d
+DIST hello-2.9.tar.gz 723645 SHA256 ecbb7a2214196c57ff9340aa71458e1559abd38f6d8d169666846935df191ea7 SHA512 b2be91f436d8ebbf431af7f2bb9b61453cfcd336e2745971be48c2c94d7b6ea615e05ef0526fc25f235377d3f7073e1c432c0d522891a8978252267a61aeec86 WHIRLPOOL daf3efa4571bda38f22f4cabb8707ddba883e39a097171013093fe70aa36385032331336f785a1788f51a7b7ab331c11093d88d3028893d2034aaf84eca51ef4
+EBUILD hello-2.10.ebuild 475 SHA256 fefbe19824c86b7b95160b32013f7ea112bb9941a1875c3ca796622951bd723f SHA512 2c70757973aebaad59ae5dd1648ddbdda55d1f39567f123fb53fe4a1f1e9f383c3db4aba6537704fe799565c795d60dd32a74d52457f556ecad44779e36c6013 WHIRLPOOL 1cae2420d414761f28bcc621278c6e9202e0c88b8201c469938480c470f29ef199025b62aef660a4688a16cf30529a2306e98ae36c95be580b7d490039b3f091
+EBUILD hello-2.8.ebuild 611 SHA256 72a0d4c55ac362da590364fa886a173fcc654efc02a20c64e1a3264423226061 SHA512 c2579fcc6d1658f4b290bf46895ec94a9d35e86b945cfa6d8beec6aaa5c7c2cea6a2d3f494c519914d03a91aa99fadb3fb81688451dbd69a50cacb7af8e609bb WHIRLPOOL 9cf88e3d06701f7f0d3b675c479faac602f4f3bcb999c3902cc3aab9bded47f0e4fe09665d32e8a2b14363022ac14d5bda52ade7a4cf1e26308e1da588dc1673
+EBUILD hello-2.9.ebuild 611 SHA256 6d747400f68de1324090f8d63991f3ce7d19028e7bb724720b2ca8c73034edd7 SHA512 93221558454835e8a40a67417ee91bf4212c1b89610c4770450a8f24386fa8b4e29416fbe25f6605e431887f33cd3ba64ef0ca940990f0a10d7791501290adaa WHIRLPOOL d8b5629be1cbe9364599bb97fa3dff45c8678b51c0559391b68f97554ca7c0f06b938d70c43cdf80c39eafc6d7b1983d8377938c6827260c468a823be442143b
+MISC ChangeLog 2696 SHA256 dbd08e66f07c2b6214c08db5f8ce3fce82bd0808d4e68b8aa8526a32ebd1a328 SHA512 1fccbca385f5c092c5016e9a92717c4ae06a50d48fbbd642d2f39097fad1c1687dbd21b13205509b5c8401faa981c9d78a1f558d8cd15d51f7fb3fddf16b7a3c WHIRLPOOL 91d3a47f1a6ee1bdab1c93a5fc220036827e018d085803584064c6f1e922e26bb5a994f5619df5d2ef8f65a5e9e2dbcdef1487fd860081285caa402ab2d2a439
+MISC ChangeLog-2015 1213 SHA256 0cfdc510cae7adc187bae19c47efb38c54d8ff4f8767a8dfe7c23472b47076a0 SHA512 d00ef2e2d82dbf1b40c07c25f9e092c056e8dd96f388c3719259a1adfce9d50d7dea870517bfde1cdbca411baa3fdbf6ccbc140d3f04959b836d13fdb6ae8b5b WHIRLPOOL 12e76610521a84de830d92a344489bdbc598d7c8458e525e7bd5259b6e49c7846cd261dc5648a92d4916409f009b36f7b5542c61d5b08a72bbb5940d1fa13256
+MISC metadata.xml 247 SHA256 4dc43223e3cdd1afcb83317c88904056addcf01e5373f95974244c2e8a3a56f8 SHA512 81c81f4438f7102cb9da6c1b43daaae38dd1b111ef072465fa7e8eaba449705fa878f580e9f29dc0f28b77b77d1d9e1e40101f5c88d117727776b21ad62dd1a4 WHIRLPOOL 15b8ab12ea7cfc6e193882b51d9e8ad33f0ed19ec48f2267daf63deaa2e09bbd1cddb9992874781e89834f3f7a310fe17befa6ca13aa7e4a730ab798497c7ae4
diff --git a/app-misc/hello/hello-2.10.ebuild b/app-misc/hello/hello-2.10.ebuild
new file mode 100644
index 000000000000..c2b5e416b931
--- /dev/null
+++ b/app-misc/hello/hello-2.10.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="GNU \"Hello, world\" application"
+HOMEPAGE="https://www.gnu.org/software/hello/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="FDL-1.3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls"
+
+DOCS=(AUTHORS ChangeLog ChangeLog.O NEWS README THANKS TODO contrib/evolution.txt)
+
+src_configure() {
+ econf $(use_enable nls)
+}
diff --git a/app-misc/hello/hello-2.8.ebuild b/app-misc/hello/hello-2.8.ebuild
new file mode 100644
index 000000000000..eaabd31e7e4b
--- /dev/null
+++ b/app-misc/hello/hello-2.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+DESCRIPTION="GNU \"Hello, world\" application"
+HOMEPAGE="https://www.gnu.org/software/hello/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="FDL-1.3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls"
+
+DOCS=(AUTHORS ChangeLog ChangeLog.O NEWS README THANKS TODO contrib/evolution.txt)
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ default
+
+ for x in contrib man doc po tests src; do
+ newdoc $x/ChangeLog ChangeLog.$x || die "newdoc failed"
+ done
+}
diff --git a/app-misc/hello/hello-2.9.ebuild b/app-misc/hello/hello-2.9.ebuild
new file mode 100644
index 000000000000..93153540fb54
--- /dev/null
+++ b/app-misc/hello/hello-2.9.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+DESCRIPTION="GNU \"Hello, world\" application"
+HOMEPAGE="https://www.gnu.org/software/hello/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="FDL-1.3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls"
+
+DOCS=(AUTHORS ChangeLog ChangeLog.O NEWS README THANKS TODO contrib/evolution.txt)
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ default
+
+ for x in contrib man doc po tests src; do
+ newdoc $x/ChangeLog ChangeLog.$x || die "newdoc failed"
+ done
+}
diff --git a/app-misc/hello/metadata.xml b/app-misc/hello/metadata.xml
new file mode 100644
index 000000000000..fa5200558136
--- /dev/null
+++ b/app-misc/hello/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>jcallen@gentoo.org</email>
+ <name>Jonathan Callen</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/hexcompare/Manifest b/app-misc/hexcompare/Manifest
new file mode 100644
index 000000000000..8a8beef68690
--- /dev/null
+++ b/app-misc/hexcompare/Manifest
@@ -0,0 +1,6 @@
+AUX hexcompare-1.0.4-Makefile.patch 445 SHA256 a8a2f6a634b0ba35059381ac2ace453729261c55570e276e892115c8e1e12fb5 SHA512 8f66e5b080d41906ea9301c066a51f5869a7274e29a6a1391ea81d129dfc88682f035c1ab57319199d5e82020fac7e96e2666fec362a5605d562dc5826448a4b WHIRLPOOL dacb6b51f547fe9bad70b8c956442b21716e87e3b693965184b13b24c18945a4472120883deee2c9df30772ff9f3751f5a6641fa12b72dbcbe366f280a34c0fe
+DIST hexcompare-1.0.4.tar.gz 9686 SHA256 a9609b28099d7578228f359a460a06f7fc1ae8cde614ea10e525b88eb04a9451 SHA512 847bf7e26f27aa0ff56e38b3fe95ad7940a0226e0c496963530fa405d8a3a50f8288a4c7f28d48d4cce05e52c1f69180917a7f10da0943cabf977f78b62eb5fe WHIRLPOOL 45925df7b39ccd9f27532f8148b70a106a50958bac0f129bb37b408b3916dbd801713fac790c0326489a4843b300bd0ccd0d55a62c832caefc0b8090fda15d1b
+EBUILD hexcompare-1.0.4.ebuild 533 SHA256 9e020a1a02edd4f381c840643e0a9f9d82836ec1e35621d7668fed31d89547b1 SHA512 3718883457b7dc577392c254d7d4345aee25c0a56e33051383247a40b01f0da8adccea3ce3802f20398f8362ad5154ab615c76a5456365f3f366ac57d628d181 WHIRLPOOL 5691352073f590998c995f351d1dcc75d661299d453b0a94a33e31f5386f142e9ed69516f9ab7ee5ffcf873370a2306c3b0623a19e1aa9098caa24a638ae9af3
+MISC ChangeLog 2586 SHA256 50792ca023482dc579cb1dd9432232ef8005c663a28773aa612b5696d1d9f6da SHA512 8167f48c1f8581bc777bf5a8466d3f026be7d5b204a7a3faa6ac1d08659230802caa4f05b819ca553f32195e80ddc6e43a7da00ef4d958f021368784bd495932 WHIRLPOOL 60708556179907c15f8acdb6e21656ee184db6ceb1944b2d01735ce4d0f42100a1afa2be433ce63b292f82749a47a4c28617daa276ec595a7b6535b6768375da
+MISC ChangeLog-2015 734 SHA256 b9409897c3df1242e79ad6fca510390aaf88fdbbdf084d4b79de2072634068e9 SHA512 0269a2954dfeff3f576b7a58a42df65c33918bc94539f1395c49ef5484d543ebfdfbdc3ba858a1169ee5126173d7fb5026b5a7c08a10bf016ca23e6d847d4679 WHIRLPOOL 86c4bfb514cfa16806b48ce1120346e0784de380ec7ae9e6a8fccaab93d8ee6e88dc314061fff63d6338377018fb44a2abaefafb29e44734393c9fc4ba5f240e
+MISC metadata.xml 323 SHA256 0350a9ff4f44b60c1c77d80316da65e3208bdc2f459f17a79d491f201e1c2413 SHA512 ed9c5371824dbf3b0954b16809a85ef0ad9646c0c6342fefa778450f15e6bb092050e0384c3fc05d1a68b4f4430f2bddc5d9ce09ada00728172c1aa5674d0c25 WHIRLPOOL 041e5ce8bbe6060c4d191339c16f2a75f81f0b42ad7d101906cdb46439a34dd509d279c0dba5abc237c58358c6d13b5d439c26e06a0460c5ce8dfc3a22da0c5f
diff --git a/app-misc/hexcompare/files/hexcompare-1.0.4-Makefile.patch b/app-misc/hexcompare/files/hexcompare-1.0.4-Makefile.patch
new file mode 100644
index 000000000000..5ccef2047bc7
--- /dev/null
+++ b/app-misc/hexcompare/files/hexcompare-1.0.4-Makefile.patch
@@ -0,0 +1,14 @@
+--- hexcompare-1.0.4/Makefile
++++ hexcompare-1.0.4/Makefile
+@@ -1,9 +1,9 @@
+-CFLAGS = -O3 -Wall -Wextra -pedantic -Wformat-security -std=gnu89
++CFLAGS += -Wall -Wextra -pedantic -Wformat-security -std=gnu89
+
+ all: hexcompare
+
+ hexcompare: main.c gui.c
+- $(CC) $(CFLAGS) -o hexcompare main.c gui.c -lncurses
++ $(CC) $(CFLAGS) `pkg-config --cflags ncurses` -o hexcompare main.c gui.c `pkg-config --libs ncurses`
+
+ clean:
+ rm -f *.o
diff --git a/app-misc/hexcompare/hexcompare-1.0.4.ebuild b/app-misc/hexcompare/hexcompare-1.0.4.ebuild
new file mode 100644
index 000000000000..7b11bccd5ad8
--- /dev/null
+++ b/app-misc/hexcompare/hexcompare-1.0.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="ncurses-based visual comparison of binary files"
+HOMEPAGE="http://hexcompare.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses:0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ tc-export CC
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README
+}
diff --git a/app-misc/hexcompare/metadata.xml b/app-misc/hexcompare/metadata.xml
new file mode 100644
index 000000000000..fc00942f6391
--- /dev/null
+++ b/app-misc/hexcompare/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">hexcompare</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/hilite/Manifest b/app-misc/hilite/Manifest
new file mode 100644
index 000000000000..f4b38096ae62
--- /dev/null
+++ b/app-misc/hilite/Manifest
@@ -0,0 +1,5 @@
+DIST hilite-1.5.c 2872 SHA256 e15bdff2605e8d23832d6828a62194ca26dedab691c9d75df2877468c2f6aaeb SHA512 571fb962e430d3c9e5494d802f529529a5bd0bf6dd7f398e7c55dd5a8effc568f9153edecf50d2e296b97eb20b2ddaa52c2214b9dd989449aff3b93a0547ad45 WHIRLPOOL 8e9f9844e92c3a1cacdb8cdfe6b95ba0c3bb90716c5946b1c4a6c917e6b2ac6e8ea57a87712f13b7a6822fb82f879fafdd7bc7984537614bbd84c8d8af92d9b6
+EBUILD hilite-1.5-r1.ebuild 680 SHA256 1e99461111af44623072d75d0a0b631e12477a4f3c927b602b7902e1ecaa8707 SHA512 0c58ad9052d519e6fa86362b63b342cfaaab936931f376bf5530103b9932c4af3ff436499dd5a1c69e4515ff0ffc33ff92ebc354a971240e8af01147ce5b64f2 WHIRLPOOL 59ed7be70a7ee6a795ac1445209e1ed12edb18e8853660664f9ffd9d99c4cb8664bbf15eb248cf0b35faaa52e70797b094794ab08d92cbe3d76979b76512d549
+MISC ChangeLog 3252 SHA256 86a32d733cda769168543d972aeffdfbe7de34064af3e9aaf11c51b8f9f3e74c SHA512 2f23a45ac0dc9289e8e7c9fc4e6dfce8a9c58ded231593bc7cc348a0839917443521e54acabbb8a85953c3694541af37e7e3c4a014df34427ef73f912c3b0f9d WHIRLPOOL 72b97517637e98f93c322c4422416946689dbfa03eb8894b8ccc721f132f622f0307570568113a133a151c6bb637075a19b161629ced6436c37cec81fdd014aa
+MISC ChangeLog-2015 1965 SHA256 0bda931eeb74fb87e6afc3c8e69e7a727032fb74af1158fafe84d459b6b02f73 SHA512 d69786138e3f31dc08b449fffd41c45813fd302a3ecd628c5ff6fa03a6046d09e1db1849fa471ea725744927e858613264b8694b4354432b3da1d4b3444826bd WHIRLPOOL 686725df149fd307a1f92668649b39a702b2cedd8338e14eee47dbf1a070b84d43329eef9c7601ab839992e67631a30e581fafe1460cc920ac8e5e8a09b8e802
+MISC metadata.xml 341 SHA256 6b6a2ca9ecf8f87b9e452543ac445c22773bdd2d70445954b244596a9dc99bc3 SHA512 792aa66d85af91677e5d075168e80f3c4d21a804047bcae76e685e612d0c57edf61167712639a5d3322d9f4c35d25b04b6ec2b8d1cd2150d396b8b4e95e8fcad WHIRLPOOL 5c5579fba635bb4384f740ec2a36a6f84e9708ea90b52b88e15575a9a273f2117eb7c4c4cadd8cf539e043ac512e8dbc25c5b420e9d568f7d1fa94d1fa371317
diff --git a/app-misc/hilite/hilite-1.5-r1.ebuild b/app-misc/hilite/hilite-1.5-r1.ebuild
new file mode 100644
index 000000000000..2bd3b5dd56ec
--- /dev/null
+++ b/app-misc/hilite/hilite-1.5-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A utility which highlights stderr text in red"
+HOMEPAGE="https://sourceforge.net/projects/hilite"
+SRC_URI="mirror://gentoo/${P}.c"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ia64 mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+S="${WORKDIR}"
+
+src_unpack() { :; }
+
+src_prepare() {
+ default
+ cp "${DISTDIR}"/${P}.c "${WORKDIR}"/ || die
+}
+
+src_compile() {
+ ebegin "$(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c"
+ $(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${P}.c || die
+ eend $?
+}
+
+src_install() {
+ dobin "${PN}"
+}
diff --git a/app-misc/hilite/metadata.xml b/app-misc/hilite/metadata.xml
new file mode 100644
index 000000000000..a5ac400c2125
--- /dev/null
+++ b/app-misc/hilite/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">hilite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/hivex/Manifest b/app-misc/hivex/Manifest
new file mode 100644
index 000000000000..f88b8be3a97f
--- /dev/null
+++ b/app-misc/hivex/Manifest
@@ -0,0 +1,7 @@
+DIST hivex-1.3.11.tar.gz 1264487 SHA256 c63adf6c7ef9140acf20775d35bef35ab563c0d2f59d3dfb8e0d15cfa7c77678 SHA512 1ff9fbcfb976fea5bba41c5ff06e4dc68af0e507accc236ca0406644ee2c865619b3b3bf9550124778fcd782ddc257f1d89861b45f48c0c3ceed18dfa1e02ced WHIRLPOOL 6d741ad14660390b2c171bff400645cbcd20a991a55b7fb4e349c864e2dd4e606f57f344d8b851acf87d12bf8a3b608a77c073c565d9aa55cd23094d7e09e8cd
+DIST hivex-1.3.14.tar.gz 1332257 SHA256 eb5cb29f5eb41185688cc1be454895b53c1965578f036ebf31ac32992f121b2b SHA512 dd7dd52dceda580179a815fc48a2a2c7e8f7234614beceb937fba7e317df17984e65453338160c4c467b70d7d4f9bd61b48aad3ca51e19bd5e4cfbca8ee3adb6 WHIRLPOOL 51395c0915d88e167e9909a856c975865751de9c37aeee5fde7c64875569b08ad70c9987b35d949dee9fc01b616827abeb276f2464982521a31199c478932366
+EBUILD hivex-1.3.11-r1.ebuild 2150 SHA256 b7628830321154c4ad09f10145df1dbdae1322dd734ea71fe46319decccce84b SHA512 77b65aa11d50ec1d97ad9bb2f15e2aabbb7652fa509432c748127cec6f1fdda9a4d19814f00a047e28cb48cd360c583c311f40deafb5e8afd23f844e06a7f187 WHIRLPOOL 02ca37bf5dcfcee29b6e8668f1bc516ebb3aa0596750a93293abeccda8773821cf9df36778d7acb3719e9a7e8cc3793dd539d72a71c5926f8177198653ab8885
+EBUILD hivex-1.3.14.ebuild 1849 SHA256 5eef5fcfa5e5e3a658fe725ebe23d26ce258453c660e1a96aabe1b3a376977b2 SHA512 aae0812060c40ea54918214439e27c82262b2339498bb6a0865519a3f175b7b0d808150a9eb47bc0964eff8ad27d5ed94cc5444eb540df0e9c3fbfe26cc82824 WHIRLPOOL 5e5977e03e97ce9c1bb9c7fe7119dff9f676c801b6f2117ad245b66bc3147dc1f4c02049fda4e03e954d11fff6dea59ae3b5216239b9a578a7bc78e8cff33755
+MISC ChangeLog 3113 SHA256 4a6f61095d833c0e9e976de63b5f8cad44a56fe6bedf99a8d68c6f2a7da41513 SHA512 b837537ae1db284cfac2799283656aaff711cc13004568de09de82c93409a8265b69251c5dbb5deae4cbb108de9703514f00c135eea1582da56ebf792c2ca7f8 WHIRLPOOL 8ae04bcf550dd093d25042a704bb1ae0296cc09681c9399f3175c43f0f58887f243711b99ed096fd1d411ca1ade6d129829ee9ae9873811820c6979e13007993
+MISC ChangeLog-2015 7732 SHA256 1945c3b1efd2cf50a4d4cc86776eab6a1c751953a4c106827d22bb2c793022d5 SHA512 04baa5db624a7531b6f6dd48d0eb2a4c4103fdcb31238fd89cd094a2388de6ba5f109577537e0583681c7fad8242844a6d15defdef377be906e24a38326af48d WHIRLPOOL 3b8d0a8f894b73066a4eae0d6737b8e4a0fde96278148339ce63aba8c78fa4745cb10fc63179649f21a039b04bb9dc5eada28949849e5b0705793ac7326a0ff5
+MISC metadata.xml 245 SHA256 d8a2d603183590c960989695dbe8e1b40b18c4405314cc754b4a609ef266be7c SHA512 1c6cdb75d4cbbd8d3a5f2cc24950924c030db330e135cf2cacecdaaa99ee65117efd7abd9f8652bf5dfa8169d427f51ff84123aab11fa8ef82498a6834b0805a WHIRLPOOL 8d19cc9bf7a59c51d8a9e346f23576705184758bc5a732bafa587d4d51ce3ec01b77a6a1c06d6121b72342fe401a02f03935acf5d386cb48f7e5b14b197810d5
diff --git a/app-misc/hivex/hivex-1.3.11-r1.ebuild b/app-misc/hivex/hivex-1.3.11-r1.ebuild
new file mode 100644
index 000000000000..89044477d977
--- /dev/null
+++ b/app-misc/hivex/hivex-1.3.11-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+USE_RUBY="ruby21 ruby22"
+RUBY_OPTIONAL=yes
+
+PYTHON_COMPAT=(python2_7 python3_{4,5,6})
+
+inherit autotools-utils eutils perl-app ruby-ng python-single-r1
+
+DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
+HOMEPAGE="http://libguestfs.org"
+SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="ocaml readline +perl python test static-libs ruby"
+
+RDEPEND="
+ virtual/libiconv
+ virtual/libintl
+ dev-libs/libxml2:2
+ ocaml? ( dev-lang/ocaml[ocamlopt]
+ dev-ml/findlib[ocamlopt]
+ )
+ readline? ( sys-libs/readline:0 )
+ perl? ( dev-perl/IO-stringy )
+ ruby? ( $(ruby_implementations_depend) )
+ python? ( ${PYTHON_DEPS} )
+ "
+
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ perl? (
+ test? ( dev-perl/Pod-Coverage
+ dev-perl/Test-Pod-Coverage )
+ )
+ "
+
+ruby_add_bdepend "ruby? ( dev-ruby/rake
+ virtual/rubygems
+ dev-ruby/rdoc )"
+ruby_add_rdepend "ruby? ( virtual/rubygems )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( README )
+S="${WORKDIR}/${P}"
+
+#We are aware of rather poor quality of this ebuild, but the bump is required to fix security bug. We will fix other matters later.
+
+pkg_setup() {
+ if use python; then
+ python-single-r1_pkg_setup
+ fi
+ if use perl; then
+ perl_set_version
+ fi
+}
+
+src_unpack() {
+ default
+}
+
+src_prepare() {
+ epatch_user
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with readline)
+ $(use_enable ocaml)
+ $(use_enable perl)
+ --enable-nls
+ $(use_enable python)
+ $(use_enable ruby)
+ --disable-rpath )
+
+ autotools-utils_src_configure
+
+ if use perl; then
+ pushd perl
+ perl-app_src_configure
+ popd
+ fi
+}
+
+src_compile() {
+ autotools-utils_src_compile
+}
+
+# Test binding's dont't wok properly in gentoo layout
+#src_test() {
+# if use perl;then
+# pushd perl
+# perl-app_src_install
+# popd
+# fi
+#
+# autotools-utils_src_compile check
+#}
+
+src_install() {
+ strip-linguas -i po
+
+ autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
+
+ if use perl; then
+ perl_delete_localpod
+ fi
+}
diff --git a/app-misc/hivex/hivex-1.3.14.ebuild b/app-misc/hivex/hivex-1.3.14.ebuild
new file mode 100644
index 000000000000..dd48bcb9adfa
--- /dev/null
+++ b/app-misc/hivex/hivex-1.3.14.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23"
+RUBY_OPTIONAL=yes
+
+PYTHON_COMPAT=(python2_7 python3_{4,5,6})
+
+inherit eutils perl-module ruby-ng python-single-r1
+
+DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files"
+HOMEPAGE="http://libguestfs.org"
+SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ocaml readline +perl python test static-libs ruby"
+
+RDEPEND="
+ virtual/libiconv
+ virtual/libintl
+ dev-libs/libxml2:2
+ ocaml? ( dev-lang/ocaml[ocamlopt]
+ dev-ml/findlib[ocamlopt]
+ )
+ readline? ( sys-libs/readline:0 )
+ perl? ( dev-perl/IO-stringy )
+ ruby? ( $(ruby_implementations_depend) )
+ python? ( ${PYTHON_DEPS} )
+ "
+
+DEPEND="${RDEPEND}
+ perl? (
+ test? ( dev-perl/Pod-Coverage
+ dev-perl/Test-Pod-Coverage )
+ )
+ "
+
+ruby_add_bdepend "ruby? ( dev-ruby/rake
+ virtual/rubygems
+ dev-ruby/rdoc )"
+ruby_add_rdepend "ruby? ( virtual/rubygems )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+ ruby? ( || ( $(ruby_get_use_targets) ) )"
+
+DOCS=( README )
+
+S="${WORKDIR}/${P}"
+
+pkg_setup() {
+ if use python; then
+ python-single-r1_pkg_setup
+ fi
+}
+
+src_unpack() {
+ default
+ cp -prlP "${WORKDIR}/${P}" "${WORKDIR}"/all
+}
+
+src_configure() {
+ ruby-ng_src_configure
+
+ if use perl; then
+ pushd perl
+ perl-module_src_configure
+ popd
+ fi
+
+ local myeconfargs=(
+ $(use_with readline)
+ $(use_enable ocaml)
+ $(use_enable perl)
+ --enable-nls
+ --disable-ruby
+ $(use_enable python)
+ --disable-rpath
+ )
+
+ econf ${myeconfargs[@]}
+}
+
+src_compile() {
+ default
+ ruby-ng_src_compile
+}
+
+src_install() {
+ strip-linguas -i po
+
+ emake install DESTDIR="${ED}" "LINGUAS=""${LINGUAS}"""
+
+ ruby-ng_src_install
+
+ if use perl; then
+ perl_delete_localpod
+ fi
+}
diff --git a/app-misc/hivex/metadata.xml b/app-misc/hivex/metadata.xml
new file mode 100644
index 000000000000..c5adddd4b3e6
--- /dev/null
+++ b/app-misc/hivex/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/i2bits/Manifest b/app-misc/i2bits/Manifest
new file mode 100644
index 000000000000..ea9e58d33007
--- /dev/null
+++ b/app-misc/i2bits/Manifest
@@ -0,0 +1,5 @@
+DIST i2bits-0.0.2.tar.gz 1751 SHA256 41237d4abcbd6af0806d1ac117604acbb51201c88fa5ec8ec1cb37233f60b99f SHA512 8dfca8513f8ad16ac5d093120d49f5d9d7acfd20cad0883c0533d2927aba0b6d779b1ad4d3575e7a66f0e56ead5f783e90f49208d6cc9c65bcb60c8558f5447c WHIRLPOOL 5b18b9cad7b472bb2c7a75eb490531f1438b8126adb87cae438a81bc8c3eef3a13ea01760efd044b86ff2ed5ba19a0d906ac5ec726a36290e9215aacb65c3946
+DIST i2bits-0.1.0.tar.gz 2649 SHA256 df56b7b8de95ff30d041460ede931183291ba1ccd2cff70bc4b9e792e6495f61 SHA512 9f7b2fe8ca66740cae081c3f74f0c5d67d956c8cd2b5f39cb7306e58a8f75d6d5848dd640e7e514638dda6f3d1efe5f292605dc4fddffe5e530bbd5f173a1db9 WHIRLPOOL 9f872cbc844e47f05f36c4992e730ebd40f5f6732df9dd82f2c4588b7ecd669c0496b894a4fcf54f84a5143d3e2ec3a0c9a1a751e27d50f70d587783c16d636e
+EBUILD i2bits-0.0.2.ebuild 479 SHA256 bf474e934f112cf45b89ec314c1258f8734cfeb4d8a5949d76d8bcfb0e0004d9 SHA512 73b9eebdf5e7babd2d167940463f0b4096a9c1510b505ad791f73b529d7d61305d96153554f8aae851cd60efe17de6e50a9317f75aa72332c3257290b216d5f1 WHIRLPOOL 40f1393e0c894f68df6ae2a58912d1053ad8d0041486a01be74a5157fc26ac56105c257776de2b5c2c8e365c8800ddea6ba8ffb558f4e8628737a0ce34cf5c71
+EBUILD i2bits-0.1.0.ebuild 343 SHA256 8f8b2b9de856851616cf31acdeb03e1164a9ff7a1e8fbffbe2408cd2c2d97eef SHA512 2bb51305996bc1875678058f1915bc52772d604f397f9b9d6f27f3f23eeb403204c1cb91eeb18dceef8aa17a27cd1efb2fa68c52e9967453e44a1be16eaaa972 WHIRLPOOL a7ef544e3726e9bc6426ca57ee8f07bdd2ab6b5552b439696f611e71a40ecad752c240656ef8bbe87472cbe0a047399c50f0a9ac51b968d84caaadd15313131e
+MISC metadata.xml 334 SHA256 7de44e52b646fde8ac27202a39c885f0ce32f6c4198cebabaa0e3498ccddb187 SHA512 62b95a5794d247168cf9351ac0d70e9d910416241897ceb6b8203eeaaec82cd0c462333b7559f1cf68a7edbb9660af8892cfa50e6368f24f18a0200d78458e74 WHIRLPOOL e3f3c6b314cace3250ee8167617d6e009d1d5a8e8ca89aba08e16cd7f43b73c853c1778070e97a3efc1ceed1251c748a438d04eb2fb6fa7c9da0447306a9b209
diff --git a/app-misc/i2bits/i2bits-0.0.2.ebuild b/app-misc/i2bits/i2bits-0.0.2.ebuild
new file mode 100644
index 000000000000..887db7c9d959
--- /dev/null
+++ b/app-misc/i2bits/i2bits-0.0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Utility to convert hex or dec to binary format"
+HOMEPAGE="https://bitbucket.org/PascalRD/i2bits/"
+SRC_URI="http://unixdev.ru/src/${P}.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_configure() {
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+}
diff --git a/app-misc/i2bits/i2bits-0.1.0.ebuild b/app-misc/i2bits/i2bits-0.1.0.ebuild
new file mode 100644
index 000000000000..f4d07dee5b44
--- /dev/null
+++ b/app-misc/i2bits/i2bits-0.1.0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Utility to convert hex or dec to binary format"
+HOMEPAGE="https://bitbucket.org/PascalRD/i2bits/"
+SRC_URI="http://unixdev.ru/src/${P}.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
diff --git a/app-misc/i2bits/metadata.xml b/app-misc/i2bits/metadata.xml
new file mode 100644
index 000000000000..82db40d0633d
--- /dev/null
+++ b/app-misc/i2bits/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="bitbucket">PascalRD/i2bits</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/icdiff/Manifest b/app-misc/icdiff/Manifest
new file mode 100644
index 000000000000..d960b4273dcc
--- /dev/null
+++ b/app-misc/icdiff/Manifest
@@ -0,0 +1,5 @@
+AUX icdiff-1.7.3-dont-check-changelog.patch 546 SHA256 4e6d151fb694052ae91d62302a0dd2b78c86a8e06290297362b1c466d81ac8ad SHA512 e3cf4f6238b3d49b6f3b1ce42a340815c535bc7482af22e722d0f5afcb0e3bbb1771b9de4a76fa77f5abe47b7b2f7c4b27e933e9e6a27d48b020975e95a7abc0 WHIRLPOOL ea63db5fe58d33ed9feece4fa219e2ab1aad8ca148cef2fcfba0d1794480e3549a7f100f65efee4a4675eeeb60af9e7fc1de2271f7637f087afcdc7abc48d184
+DIST icdiff-1.7.3.tar.gz 20215 SHA256 5161265f72a7c9c1d2d7b0780a381743ef3d3127944a96786422802a6bc14ca5 SHA512 ae8ca394c3fdf820d4795282672bc44eb01f88f9614d6240f035c31f99130b188185a0e241c3c17974d76f604b85ef48aa8296835b5dfb46463a88cb1f68d305 WHIRLPOOL 994bbc53673db6559444908b9a08e71283060648fdbc86e607b5ee229a933d13627b4e02b7b41fc25bf41021b9d86bed4d9e1b9df978922102b724e7be0a4642
+EBUILD icdiff-1.7.3.ebuild 623 SHA256 f07fea63b988ac68d911e8263a414c2266e0aacbbae004bfcb8d065c2ed2b496 SHA512 162251baecd2754230ea9d50793783c595e8f24cc07c20590f3daa789fda3a4252af69358a2197bdc9b385d61a2a5a01f02d6874d8c44a43bc0840219ab6e412 WHIRLPOOL eb86c8be41342595e52f1554a4086d2268279befbb511efd1e9d6d4f0f330f6239a5b850fab90b909dcad74f5c8c177abfd3802a9a3b3d6e677ecfd758695936
+MISC ChangeLog 355 SHA256 ff5dbe5983ee64401cc9f77dfa44f30961a46c056bf0d48a6c50efd910f548c2 SHA512 e4b10518c7f3e46865217b647884fc47de558f128b58fc0b91d086336e6fedd9b4cf8bb8c1e1036fd2525947d108ef2aded44ffa579e5ee9101687ea607ea6d2 WHIRLPOOL b3ec8c25e95914aaaf3bb6fe48db41871f84dc11919d8fd8d19ffcde7ab12dbdbe1ba97a960017af35e717f9b8a4b56cde54482ed7a04342a1d6fc51da8f2efb
+MISC metadata.xml 342 SHA256 fe27728b1552e91ea542b7eed023a58f23dc8e86d84a58fcd37162721869ae24 SHA512 a897866e5d709999db69d3b1a4c8d1d1b15328970b27015f7549cf7b4fc6be688063f94fe31b0144227318c252e80bfd189fdf9f34dfdbf4dbfe0412e0b818ed WHIRLPOOL bf714366e2e82d0018a654e4018c5811d493a7a115567f93403033ac5d26a1e944de08550c75a91d644d892d837bad0fb3290f63c75890d2f52254f4385a07eb
diff --git a/app-misc/icdiff/files/icdiff-1.7.3-dont-check-changelog.patch b/app-misc/icdiff/files/icdiff-1.7.3-dont-check-changelog.patch
new file mode 100644
index 000000000000..1a9f0c957cd5
--- /dev/null
+++ b/app-misc/icdiff/files/icdiff-1.7.3-dont-check-changelog.patch
@@ -0,0 +1,16 @@
+diff --git a/test.sh b/test.sh
+index 264c696..1bb7290 100755
+--- a/test.sh
++++ b/test.sh
+@@ -97,11 +97,6 @@ check_gold gold-67-wf.txt tests/input-{6,7}.txt --cols=80 --whole-file
+ check_gold gold-67-ln.txt tests/input-{6,7}.txt --cols=80 --line-numbers
+ check_gold gold-67-u3.txt tests/input-{6,7}.txt --cols=80 -U 3
+
+-if [ $(./icdiff --version | awk '{print $NF}') != $(head -n 1 ChangeLog) ]; then
+- echo "Version mismatch between ChangeLog and icdiff source."
+- fail
+-fi
+-
+ if ! $REGOLD; then
+ echo PASS
+ fi
diff --git a/app-misc/icdiff/icdiff-1.7.3.ebuild b/app-misc/icdiff/icdiff-1.7.3.ebuild
new file mode 100644
index 000000000000..aab477b10c44
--- /dev/null
+++ b/app-misc/icdiff/icdiff-1.7.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python2_7 python3_4 python3_5)
+
+inherit distutils-r1
+
+DESCRIPTION="Colourized diff that supports side-by-side diffing"
+HOMEPAGE="http://www.jefftk.com/icdiff"
+SRC_URI="https://github.com/jeffkaufman/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.7.3-dont-check-changelog.patch"
+)
+
+DOCS=(README.md ChangeLog)
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+python_test() {
+ ./test.sh "${EPYTHON%.*}" || die "Tests failed"
+}
diff --git a/app-misc/icdiff/metadata.xml b/app-misc/icdiff/metadata.xml
new file mode 100644
index 000000000000..392b1b8c731f
--- /dev/null
+++ b/app-misc/icdiff/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jeffkaufman/icdiff</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ifp-line/Manifest b/app-misc/ifp-line/Manifest
new file mode 100644
index 000000000000..318ad59d0de2
--- /dev/null
+++ b/app-misc/ifp-line/Manifest
@@ -0,0 +1,6 @@
+AUX ifp-line-0.3-fix-warnings.patch 1082 SHA256 2b94d74719d4c8729a0b7d2c4c91db4cef06bee19afaf5b4d7be8ae5685ac2dd SHA512 58802e40eb866663c5a2f32598ff827fb13bc2f28ea5b73f8a9d59f7013cf62283b7656cfd2d2d2bf796a618d4a56565a9c0a2354f5ad41329ab57780d2b9765 WHIRLPOOL 48b9c4abf08d496d81ca9b9a61d5e645b6aae5702770aab5e2150d5b83b2167d0be42255e226776ac2188457b705da3c338a3d875391963e9ef037f4f4a95b24
+DIST ifp-line-0.3.tar.gz 138272 SHA256 2d44807abbd5d2202d253b550b867dfa3776a71bf6d3f202b0f1254e66325257 SHA512 516ad85fdaf69111581b013b2517c7083656436d429a86ec5ca4b7dcaf1c841538f98138cce8839d990a34550f11cc6bc9dedc701b0123b9cb73a91a7d78694d WHIRLPOOL 868dc9508086a4ba76620d682e1702dded82bf69cd19e42667dac239c6825d0dfb01aaa30d5560e9fe670bf735479b88cae816ab58daa1dacbebe03fa01c05e6
+EBUILD ifp-line-0.3.ebuild 831 SHA256 8d8a81222dd13f3497e547421adba32e5600a1782c9d93ae40ce725a5aa281e8 SHA512 d50131f66ca9ce335db6cd0e855f9b6afed1da3cdddaba783d6be9e3e07146f109bee691a7167dae6a02358ddfd7ed9187d610fb528f19cc1029f46d307304bf WHIRLPOOL 35685540e5680e5a9ff4e5305c92b3c9c9983d1ff66c27913f2139a1b0d8e75384c02c319933783a06b6fe55bf8dfc860a11909c407436756d57277f1a932a5d
+MISC ChangeLog 2466 SHA256 7855434d98490e1edfef34eb1a6cec5f6908c765fc2fc71b18a7003c112b826a SHA512 9109836fc8654c6b1a6e553d0a85abb161119d55a46cc3fa84e205428a8b971c51c78345173205bf01af4f74138edd357867bd9666c7caaacdd7e060c6d70250 WHIRLPOOL 096cb60eba77053be94f1a47f1077504b437dd8660e1d05ab4bae750eb15c4c444b7478ba713d11fdc149be6f36fcdf948aac8e31e0d568e20d13e1ea3fdffdb
+MISC ChangeLog-2015 3119 SHA256 8cff8b0ebf002912bac9398654e5a1b9ea4a36aeef6abae8e27a950371f7fd95 SHA512 00dfbd9ca11a9d2b24bbd48b5a92b958f1d82ce411846bac77d796962e4f778fbe1407e955b8809e8d6c2abe7724ba65edbd4195441e85356f203097d937b670 WHIRLPOOL 943d114d408a22b2c96445fda6325041e7eb53672a04cbd714a7601788bbd8257eda4613b70faef2dae0396074ad3caefc18342b06674203ed33dabbd9023926
+MISC metadata.xml 333 SHA256 44ca1cc7d38d90d325f10c0d53da074abd437d29c6ebb35b21df7af777bf98c4 SHA512 d0cd8f6fc7bdc757d2a1ef5443f30410514ac335bcd2a84829995c527862b994fc75a8dfc5ceff2b8e2a3d7b0b081a57cbc50e4b825567b8a56d0f9eb00c13c7 WHIRLPOOL 782ab0036c5d9ed85791b7fea3c88fb7f4440e11ce1ee6b1e009db433169329d03c1f8daf465c89df98fbb1d911d14166e08a32bdff747d8882bf34fb1a8e6ca
diff --git a/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch b/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch
new file mode 100644
index 000000000000..f7fe1de4b1ff
--- /dev/null
+++ b/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch
@@ -0,0 +1,30 @@
+--- unicodehack.c.orig 2006-01-31 20:18:16.000000000 -0500
++++ unicodehack.c 2006-01-31 20:18:39.000000000 -0500
+@@ -26,7 +26,7 @@
+ return -1;
+ }
+
+- if ( (retval = iconv(cd, (const char **)&src, &srcln, &dst, &dstln)) == -1) {
++ if ( (retval = iconv(cd, (char **)&src, &srcln, &dst, &dstln)) == -1) {
+ // XXX ignore error message "iconv: Illiegal byte sequence"
+ // with GNU libiconv. No effect for output in now.
+ //perror("iconv");
+@@ -43,7 +43,7 @@
+ /**
+ * @return less then zero: error.
+ */
+-int unicode2locale(char *dst, size_t dstln, const char *src, size_t srcln) {
++int unicode2locale(char *dst, size_t dstln, char *src, size_t srcln) {
+ iconv_t cd;
+ int retval;
+
+--- unicodehack.h.orig 2006-01-31 20:19:05.000000000 -0500
++++ unicodehack.h 2006-01-31 20:19:26.000000000 -0500
+@@ -4,6 +4,6 @@
+ #define IFPLINE_UNICODEHACK_H
+
+ extern int locale2unicode(char*, size_t, const char*, size_t);
+-extern int unicode2locale(char*, size_t, const char*, size_t);
++extern int unicode2locale(char*, size_t, char*, size_t);
+
+ #endif // IFPLINE_UNICODEHACK_H
diff --git a/app-misc/ifp-line/ifp-line-0.3.ebuild b/app-misc/ifp-line/ifp-line-0.3.ebuild
new file mode 100644
index 000000000000..0436505fbe7b
--- /dev/null
+++ b/app-misc/ifp-line/ifp-line-0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="iRiver iFP open-source driver"
+HOMEPAGE="http://ifp-driver.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ifp-driver/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-warnings.patch
+}
+
+src_install() {
+ dobin ifp || die
+ dodoc NEWS README TIPS ChangeLog
+ doman ifp.1
+
+ exeinto /usr/share/${PN}
+ doexe nonroot.sh || die
+}
+
+pkg_postinst() {
+ elog
+ elog "To enable non-root usage of ${PN}, you use any of the following"
+ elog "methods."
+ elog
+ elog " 1. Follow the TIPS file in"
+ elog " /usr/share/doc/${PF}"
+ elog
+ elog " 2. Run /usr/share/${PN}/nonroot.sh"
+ elog
+}
diff --git a/app-misc/ifp-line/metadata.xml b/app-misc/ifp-line/metadata.xml
new file mode 100644
index 000000000000..81812cad1e5b
--- /dev/null
+++ b/app-misc/ifp-line/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ifp-driver</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ignuit/Manifest b/app-misc/ignuit/Manifest
new file mode 100644
index 000000000000..b339f6d68b76
--- /dev/null
+++ b/app-misc/ignuit/Manifest
@@ -0,0 +1,5 @@
+DIST ignuit-2.24.3.testing.tar.gz 573592 SHA256 0424d941849188a7bb76ec2cebbe83121da6d62ca479a97edf028ba379476c81 SHA512 c52997745e905abfcdf8bfa8dfb04065fe05a34a9abdd0348bcb3c480d4bcb56ca279c9074d4659a237593a4697cb18ec7092fd79ee682a2b1a26749e8987d4d WHIRLPOOL 98c3e9a4540d4cdce5b17013e0b9b115fac9bb942ff571322caa844d1710287ff34f10a91337eefd2505cc3cac077e6398fb88df475d890bb697121ab35ec146
+EBUILD ignuit-2.24.3.ebuild 1223 SHA256 bc63c1e0c689e8f3440a5394c7785fc44a5c36f142fd7439c5ccb7251a0e3df8 SHA512 17f0ae5174505773c08c7ecabffc1721cb6b1a228a55cdd9120b2c23abd29d4c258bc9534f64168b00f9e27495a44a4fb7156df7080bf508dbfa42ab7e890dd0 WHIRLPOOL a820c7a4f3604f59cffb1252e52f399fd6e28073d40779b2b4fbce5d4171e6f3d0bdc73bd98889b421b624f3160092a6376397d0ce0494c92f9e0aeb7b121edb
+MISC ChangeLog 3063 SHA256 95629b931ac41164a974286fcea059fb49dafec57e18e7362bcbda2ac2c3e8b8 SHA512 22192dbc4f7fb435addfc08f539259e0885c3aa4ead3e78d325d8ba79d9f8aa659080f4e17b88c09f027a0504a673d471e144a5ea989b52c37acf14e1dd3a709 WHIRLPOOL d4d39556d1f882ab3b31fb35719a1fb145e7655413d546e67b4d0c805cefae45c34e531155fea3b179fab16297d07fbc2afdf53cd8a4796de58f73d997589154
+MISC ChangeLog-2015 3771 SHA256 024d84fbb02016ab2b006d7872266ed191fb63235274a2d4bb0e52715baf3655 SHA512 af043c8dda155a2798bd8cb7243356d50cc60f250bbdec4b2eb38b56f6d70d1758552316e3c2b0b578367b900257516be330efbf294fc63de5c31afb02a7e2c9 WHIRLPOOL 66dc00dce436483faca3a0f3860520414d58d7a0e8df2a6ef79f4fa55761472d196ac5e6d52631c8d2de4f38972fb3154edea67db4c05152a21cc8874eaa8cb1
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/ignuit/ignuit-2.24.3.ebuild b/app-misc/ignuit/ignuit-2.24.3.ebuild
new file mode 100644
index 000000000000..764322cae997
--- /dev/null
+++ b/app-misc/ignuit/ignuit-2.24.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools gnome2
+
+DESCRIPTION="Memorization aid based on the Leitner flashcard system"
+HOMEPAGE="http://homepages.ihug.co.nz/~trmusson/programs.html#ignuit"
+#SRC_URI="http://homepages.ihug.co.nz/~trmusson/stuff/${P}.tar.gz"
+# Upstream has put this out as an "emergency release" onto Google Drive; mirror it..
+SRC_URI="https://dev.gentoo.org/~leio/distfiles/${P}.testing.tar.gz"
+S="${WORKDIR}/${P}.testing"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="examples latex"
+
+RDEPEND="
+ >=app-text/gnome-doc-utils-0.3.2
+ dev-libs/glib:2
+ dev-libs/libxml2:2
+ >=dev-libs/libxslt-1.1.28
+ >=gnome-base/libgnomeui-2.24.5
+ >=gnome-base/gconf-3.2.6:2
+ gnome-base/libglade:2.0
+ >=media-libs/gstreamer-1.8.2:1.0
+ x11-libs/gtk+:2
+ x11-libs/pango
+ latex? (
+ app-text/dvipng
+ virtual/latex-base
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.50.0
+ sys-devel/gettext
+ app-text/gnome-doc-utils
+"
+
+src_prepare() {
+ eautoreconf # Needed to fix bogus intltool rules
+ gnome2_src_prepare
+}
+
+src_install() {
+ gnome2_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}
diff --git a/app-misc/ignuit/metadata.xml b/app-misc/ignuit/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/ignuit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/iguanaIR/Manifest b/app-misc/iguanaIR/Manifest
new file mode 100644
index 000000000000..d38516833474
--- /dev/null
+++ b/app-misc/iguanaIR/Manifest
@@ -0,0 +1,5 @@
+DIST iguanaIR-1.0.1.tar.bz2 287572 SHA256 1ba324667671892b2a36aee0089d0afafd266f8b255b073b113eb5ab71f38fcc SHA512 d70e792d6d51b99d9d82e4411bb16de24846d87b5066592734b614a866cdfb317f3aafbab6ef478552b57c4077776daa6db89b44201103ecaec8fd44df041e0e WHIRLPOOL 5b04d462c30b8e141b95614de8e08a951792d3f0e0bf71f535ba84c15f0b445ac136f296d7be5f829cf9f0aec37267af4ca6f9b9ad5d8a7936003bfa94c0023a
+EBUILD iguanaIR-1.0.1-r1.ebuild 1006 SHA256 fe2a123c1d7eb5d97cf0a9333e62d1a091b87c025eed83010ae67d624c3bd63f SHA512 1e327b784cd3117ad00dcd6b6250e5112db4dcdef3a463106c531c5bbb9575adce1d60f2aab42002c197ef436023b70cceab01fd05758aea5898e6c19231af45 WHIRLPOOL 2c2917afc3c8d21bb4ae3b5cf614df6f4c07111f0ca260d9966c514fd398663dee6712ed87a2daa84d0f7ff0e43584d3b9e35a33720cced42f99521aaf9b5bc0
+MISC ChangeLog 3399 SHA256 36c7c7a754010a1b7697d16744b23fcbffb8e35fb48320eaf9aad6e932b433d6 SHA512 b4002ecc6ab33e5e0848eebed4dbcd94f9ecfb7398a0509469e700bfd2c37c24a8394a2889c800d1441f7a45a3d22fee9d0bf03252a27fccf5a09d718de657ba WHIRLPOOL 98da68e4c4785be7c38f1b1a98d65e0d97312a1a48fa909b1e7b0f911485acd57026c02099cfa0fa92ff8a8946cc9a363720b1077b2bb02fb4296191f3a83308
+MISC ChangeLog-2015 1911 SHA256 f5e309d1d9255c1fa6c0c9e234d465fb98bbfb769c88973576dd41e78064d148 SHA512 d6d0374f6a6301c17ebd02e6bf9095f7ec73dde242b109c93c5e1708e43efb12dc9b8c28d81be1161ad4581300db8b1119065468441d667b68f3849f67925555 WHIRLPOOL 657b40b2876836a7b7210a63a26b23b5fdaa46fa5d39e08af3ade3e8a6256983a3e980c09b038d62e5b5722bca02d35f47b4904537b19b1ac4ab3386c2b7e876
+MISC metadata.xml 246 SHA256 da5fbaad41a1d2bacd597d844ccc46598853ceef3e5e2f83acce5a70cdae3b81 SHA512 868df1fab803f62a132c9c8b53b4e74c3db4b664eb1499c2f484c5b993b1ba138656b3ef9745bc911a53e2628891bf8017e367999f4842f7b27cf34905650004 WHIRLPOOL 4d9bc7f322bfa53390e7b6362196ed85c78fe89867e949d60f0cbc79b2b52e19dde316d3fa6a36062c917ce4e4c232025b68626d276fecd1af4a34e7c90ec5ac
diff --git a/app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild b/app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..041069f38491
--- /dev/null
+++ b/app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1 user
+
+DESCRIPTION="library for Irman control of Unix software"
+HOMEPAGE="http://iguanaworks.net/index.php"
+SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+# sys-apps/lsb-release is used by the init script for detecting Gentoo
+RDEPEND="dev-libs/popt
+ sys-apps/lsb-release
+ virtual/libusb:0
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ >=dev-lang/swig-2.0.0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_setup() {
+ enewgroup iguanair
+ enewuser iguanair -1 -1 -1 'iguanair,usb'
+
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ # Working around bug in SWIG version checking
+ sed -i -e 's:1.3.31:2.0.0:g' configure || die
+}
+
+src_install() {
+ default
+ python_optimize
+
+ dodoc WHY notes.txt protocols.txt
+
+ rm -f docs/{Makefile,pullDocs} || die
+ dodoc -r docs
+}
diff --git a/app-misc/iguanaIR/metadata.xml b/app-misc/iguanaIR/metadata.xml
new file mode 100644
index 000000000000..139e8d63a524
--- /dev/null
+++ b/app-misc/iguanaIR/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>hd_brummy@gentoo.org</email>
+<name>Joerg Bornkessel</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/inputlircd/Manifest b/app-misc/inputlircd/Manifest
new file mode 100644
index 000000000000..2dff1b39758f
--- /dev/null
+++ b/app-misc/inputlircd/Manifest
@@ -0,0 +1,13 @@
+AUX inputlircd-linux-4.4-fix.patch 343 SHA256 e509969445d24099027aeffeaf607fd2bf62b452f809feb658cf5e27e7e1b11c SHA512 444ab491d1a3df60f132d2d1c41ac2668f46586ee434b263f470561026f2cf1ec209461b4473e76dab0a368829679170a37a47d3bd5823dae48574992307d0d9 WHIRLPOOL b610a268057444d01f21b0bb048fff2f01ea70c2c5267085399fe2ad4ec62c7d66fc3d64ae3eab9476af7e184f962b20f3d41c9bf94716a35e932ae765a414df
+AUX inputlircd.conf 75 SHA256 ecd245f32c989dcb3bac6c88d48f5a1954c64303876fa054d459f6c0396a56a7 SHA512 92fcc5d61e1f7061820791d9024dfebfcfd25cc96c1790cc7a719784314587b8e9de9674d9b73a103efe8b405aa453e5dee1759680639aa4297a237003a1f1bb WHIRLPOOL 3211cfbcde83afd1e483355da5d8c538bb6d8e4cb59bdaa02114767c82a86fa3b3936aa9a53705059b3c7edbff2e7a6f2d7a9a279b1e82925adab0b5fff00dc1
+AUX inputlircd.init 259 SHA256 71c173c39681e5a2d3e7e3957c9ed8bbcfbf95958d9fb05fa11e8d42599abf3c SHA512 0d6299a2b1ffd2b6161013888e06a59b531769ce2723b00c1ba55e9420ed4a6055023b1d892e372d1d9c438eabe446a6341adfb2dd9b19371727d1c92b5c27b1 WHIRLPOOL 062d99488b4e510dbd958d73d0f1c44acbf597e30ddb7b4be6aaf7d41d277d91ca931d4ef9baa577f7e4b82111e23cfca4164e06fba15932c9888ed0bf1e4483
+AUX inputlircd.init.2 297 SHA256 f30236d35d15003d57b944a3c5a0ff921bd2dc6bf6d1993ebd21d80ac85b6c41 SHA512 50f50859ed048b561416e7c21cf083ddda3114331ea14abef470fb04c0108f925f47a75be2b4396fd98b7d140d988288852f2c0ce9fce8218ce2a31e90c48626 WHIRLPOOL 86a11ceb2e26faf68d8fa0ea4145a79516a2682a979002f98c16b0f39317df66db5fe1e7c3887bf80916d583d8c2935f4792294170ac09d09727a6313d72b645
+DIST inputlircd-0.0.1_pre11.tar.bz2 4370 SHA256 ddd49668e3cf1275de04a74a7191f1b0e73947673d824bdb092d1ba0294c23e0 SHA512 e09546340843f4df01f22c2e5347bcbae7078c521c7e4d5216d061beb93f7ae660e96d1942e6e931e0f72c930b8383cf6f83c70f1f242587da82edc4a04b6d76 WHIRLPOOL 64f21ac9a1b7a23f66d60b65e88d73aa7f41ee60c29ffc87e70dd482bc8fd672bd171be9aa5f901c66c96bcd8791bcac0c55b82b3979e0154c302bcf2fca0391
+DIST inputlircd-0.0.1_pre15.tar.gz 5226 SHA256 c4eec38bee39715ba00985e741bf703fb8b356af09ec2372f6b68f03703bd79b SHA512 6f7dd15875eeccac1f666af82dabba243707c9b3c3b2e39070032fb3d4a40c1c0ae6fbca2e7be02ce7061d289d9ad07b9ee38c5f5b0f33d5a6c413df5bfd6365 WHIRLPOOL 71985a6a559734b36e005d8e87586759eb2a98e55804c01d2d230cd995af3d01f6fed9b59c8279349f4c3daa8d847af9162df9ec5c261679dc588360b9e9e05a
+EBUILD inputlircd-0.0.1_pre11-r2.ebuild 788 SHA256 8e49b9a726fc3098bbedb16885f647ea8059f915143828ffe917ff309ee7b3b6 SHA512 dbb451f60f1da705f5d87273dafc96e145bad81f45a3789d900385c6c99d016c8efd71082c6ee9eacd96d25a440755d529a915d44f8e6ecf0d0276918ed5db70 WHIRLPOOL bf2589b555eaa20770df72aad4671115080658e8048d30a9cc5215df309204ff9cb1ffce4b08dfb6e6e263b09764c960babcef850a7af4b40deebcc1c28908db
+EBUILD inputlircd-0.0.1_pre11.ebuild 586 SHA256 63354179427038d128eaa43a9b81a2a3d67d716ddb038368522e8e75d6924638 SHA512 62ca7270bbcc7d621d936753ed7f5fa3f6b572de4313b52ea3d8318f06e1ebb316259b78111aae9a8240ade4523a05b11ce6a286d837d7981f53f18d8d2c48bc WHIRLPOOL bc7e2a5adf014bdc613980c7ee6dec81d81c27f92bc2f57740f74cefe70bf1a666dbff36e032ac7ff4c72c6dd47494bc61847b23d7d43d224da4dbd106eeaf93
+EBUILD inputlircd-0.0.1_pre15-r1.ebuild 787 SHA256 007679d4615bd66f422f6609811dfbcebf9288567a5cb3061e67e7ae85eb258c SHA512 0a6ef5f19829c0d63b2c54baefeae293f693e21af88df9d4a10cec4f27ccaf77f915c4d78c3db6a5b4e43c64ac596a07c654f04b3ede78b8c900945a3718a2fd WHIRLPOOL 798082c8ef4c87b0dbf07ac006ee4546ab7628a8ac8bf42a79597cb205a439564421bee787e53ca82daec3b393f4c47e2823b734d2fa0b30b6fc2dadf3201f17
+EBUILD inputlircd-0.0.1_pre15-r2.ebuild 919 SHA256 b62b7882039fc40604c0927271c23bb4020cc9561d0f51a6efd9bcdf9b7b34cb SHA512 d95464cd756f8d72211bbce18f7a70fe955c339910acba2b07064403ce579c1a3978451c47d97f7e014fbf85249ee89dba8e21f5ebbdd02c0791cf26dbe1949b WHIRLPOOL 121ab2b2afe9b1b2ae0af8d716d6df0996fa45d46e2d02666de2090607aa9a8e3a5c36601db645983721c0459e0eb926e88b5352d4f2054141fc310e3577f81e
+MISC ChangeLog 4247 SHA256 0c8f94959d370e9c5da1217ff4aaf618e11d6399d49fb6441dcb2a8c17788b45 SHA512 8c13e862a853b4bf9c981add16fc2db0d1910c6a2466741f121770b67b10103293b9cf872b2a74eb925b0dd6e389b50d451f41d05b7c1c490850d4ba6e9ad148 WHIRLPOOL 6cb7d924cb255692bdf83a51c3df896a83f1619cbe16198f77131762c78143ddefe3b6499efceaefc2326613e9c389478ccdf43a363ff085f364a9896b55359a
+MISC ChangeLog-2015 2171 SHA256 90ac7b9aaa5e40314cae6c048a176d8b0c6f546f1af2763467a6cf6f93d15572 SHA512 d3810cd04f0f5f940c3e5f5a9f7849620f0982685a6de423d984ac7aaab2faf6dc27ee92bbd58a0e9a6f2247ca8b122ac493d62ff2fd6555c835dac04348f391 WHIRLPOOL 02e680540ebdbf9d929a8bdc863c814ea756fb00fea134ba45d6bd44f48f6ff64e8538a8bdceda0ed420fd33c9a8866679939fc50bdc1aad0ee0c661c586c0ac
+MISC metadata.xml 258 SHA256 f3ebd64b10e4cbb78d53ee043e5a42310c2f6123d548e53cefc4c458fbaeb881 SHA512 33d52c9b472999f5722ba6a13598524745093ff45394dd1c9f560b051c9d28be465f72db260a148831b1ff8bc175f41d0c1e4b2d038afc0afdd230b039c67c2b WHIRLPOOL da3cf3efe29b517f4bb8760921b193ceebbefcb002a17d6b225ab14a71fee40fdc4be75f44a17887b54e38bb69e6f3b67e538b42fd8d9f2da5529417b2a77feb
diff --git a/app-misc/inputlircd/files/inputlircd-linux-4.4-fix.patch b/app-misc/inputlircd/files/inputlircd-linux-4.4-fix.patch
new file mode 100644
index 000000000000..c605e34c3b0b
--- /dev/null
+++ b/app-misc/inputlircd/files/inputlircd-linux-4.4-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 71bc693..3904632 100644
+--- a/Makefile
++++ b/Makefile
+@@ -27,7 +27,7 @@ MANDIR ?= $(SHAREDIR)/man
+
+ all: $(SBIN)
+
+-names.h: /usr/include/linux/input.h gennames
++names.h: /usr/include/linux/input-event-codes.h gennames
+ ./gennames $< > $@
+
+ inputlircd: inputlircd.c /usr/include/linux/input.h names.h
diff --git a/app-misc/inputlircd/files/inputlircd.conf b/app-misc/inputlircd/files/inputlircd.conf
new file mode 100644
index 000000000000..7e718ebdfb5b
--- /dev/null
+++ b/app-misc/inputlircd/files/inputlircd.conf
@@ -0,0 +1,2 @@
+# Options to pass to the lircd process
+INPUTLIRCD_OPTS="/dev/input/event2"
diff --git a/app-misc/inputlircd/files/inputlircd.init b/app-misc/inputlircd/files/inputlircd.init
new file mode 100644
index 000000000000..3cde6f917fcb
--- /dev/null
+++ b/app-misc/inputlircd/files/inputlircd.init
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+start() {
+ ebegin "Starting lircd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/inputlircd -- ${INPUTLIRCD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lircd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/inputlircd
+ eend $?
+}
diff --git a/app-misc/inputlircd/files/inputlircd.init.2 b/app-misc/inputlircd/files/inputlircd.init.2
new file mode 100644
index 000000000000..dc599f36e925
--- /dev/null
+++ b/app-misc/inputlircd/files/inputlircd.init.2
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+
+depend() {
+ provide lirc
+}
+
+start() {
+ ebegin "Starting inputlircd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/inputlircd -- ${INPUTLIRCD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping inputlircd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/inputlircd
+ eend $?
+}
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild
new file mode 100644
index 000000000000..924922e09565
--- /dev/null
+++ b/app-misc/inputlircd/inputlircd-0.0.1_pre11-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
+HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
+ newconfd "${FILESDIR}"/inputlircd.conf inputlircd
+}
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre11.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre11.ebuild
new file mode 100644
index 000000000000..517bf8e15f58
--- /dev/null
+++ b/app-misc/inputlircd/inputlircd-0.0.1_pre11.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
+HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/inputlircd.init inputlircd
+ newconfd "${FILESDIR}"/inputlircd.conf inputlircd
+}
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild
new file mode 100644
index 000000000000..379169e2d9c7
--- /dev/null
+++ b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
+HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
+ newconfd "${FILESDIR}"/inputlircd.conf inputlircd
+}
diff --git a/app-misc/inputlircd/inputlircd-0.0.1_pre15-r2.ebuild b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r2.ebuild
new file mode 100644
index 000000000000..4af5a2785623
--- /dev/null
+++ b/app-misc/inputlircd/inputlircd-0.0.1_pre15-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs eutils versionator
+
+DESCRIPTION="Inputlirc daemon to utilize /dev/input/event*"
+HOMEPAGE="https://github.com/ferdinandhuebner/inputlirc"
+SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+
+src_prepare() {
+ local ver="$(best_version sys-kernel/linux-headers)"
+ ver=${ver#sys-kernel/linux-headers-}
+ if version_is_at_least 4.4 ${ver} ; then
+ epatch "${FILESDIR}/inputlircd-linux-4.4-fix.patch"
+ fi
+
+ sed -e 's:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' -i Makefile || die
+
+ default
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+
+ newinitd "${FILESDIR}"/inputlircd.init.2 inputlircd
+ newconfd "${FILESDIR}"/inputlircd.conf inputlircd
+}
diff --git a/app-misc/inputlircd/metadata.xml b/app-misc/inputlircd/metadata.xml
new file mode 100644
index 000000000000..d50a83a22926
--- /dev/null
+++ b/app-misc/inputlircd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">ferdinandhuebner/inputlirc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/interceptty/Manifest b/app-misc/interceptty/Manifest
new file mode 100644
index 000000000000..fa6848c9a1da
--- /dev/null
+++ b/app-misc/interceptty/Manifest
@@ -0,0 +1,6 @@
+DIST interceptty-0.6.tar.gz 95911 SHA256 0fe4b881a56c9fe94d3409f303839e03e7b43cfb1fb0d6a3ba3255fa2b190641 SHA512 0aab17a3f0462d738befae62ffc78c9b72042fd9e9234ce55731b3b7bcef763684c46992cc8b814e982824964963bb1aba14111e0a49c43d3ca6b43e4b9f1095 WHIRLPOOL 1a0c481cab60006238aba35da7a2d7347ad2a9e1435e3b092fe5b1beccb02ce5aef68f7a2cd4951b4827e09a895152dabe5330d217f6eadc4b668718a0095d23
+EBUILD interceptty-0.6-r1.ebuild 523 SHA256 12f7e6264b41e3b94ec9e7bad1b55cc356f9fdcc30bad68aeb09b45afe33be92 SHA512 9115cbd8f0d17fad3635105fde6ed3a2af83d4003282385d1a0d024f347a53361ab59d6d32801c73cfb4a0c69098260ad53f91e24c01f32539b50f978ebbc451 WHIRLPOOL 8357cb1e894d202289a2c6d9a12b581f04c5892cc59d255906aa417485f453ccb2dd2628f5093131e8213e6002ba628183fbdeaeb9cb2fceb63b00c76681337d
+EBUILD interceptty-0.6.ebuild 505 SHA256 22ae6e368066139b260eadbf2aa4c1a52d60b5e0bd322312a23bee241ed83972 SHA512 36ca8f1f4b9b82d551c09a34d25569f4eb753359c5d4ad3bc11844cd833a4c9e65af8512d4a049284d783c98711a909097f5bbb291d4166e2a28ed7f938a0a16 WHIRLPOOL 0b235f8e417e2482ad088567e0519b5ebf8e4bc6ad6c7c2ffe02df6799712202299b7b02058b4784233a7c9c333a1d5c80769f84427303533a1a5f48b4408a5b
+MISC ChangeLog 2184 SHA256 d99cc0b9aff5f5ac6a5b0a50971359a0cf1f780c729716d9f15d8d5031961814 SHA512 1b76c9c5d1ccf59794dc62b16e676452331bd90ed4867b45404874c54eb4051d321ee03e5b5c65c3894591ba8138d35f8ad46610731bf9943cd2d56f1680260f WHIRLPOOL 1fec5936aeec96d6961e7eccb85180e1c28f234d3050092ca6474f68cbf76227ea32d5ad771f21926ab880c7f111fa2199da0ccc1b61a10aa3c3e8d7c8d3e3dc
+MISC ChangeLog-2015 814 SHA256 c4b7f4126c7ca9579bb0da3c9b41a741f533446fc201624b2002cfd61fbdf2ba SHA512 cb67aff67c5e60aa600cc4cac1ee2fa51f38104e667691a54fa824ff3bd2c462b0c0f7bffbcc6e7ededee6c75fe53127f99bea460e9083b2009780132544d24f WHIRLPOOL 466766491b260dd7bc830b4ba8a5bcaca044fd42bd890f29d1dda2f11a680d35e4a8462fa14e1af9feb98e88fffeebb1ad10050bd4fa8bbbf937bfd99698d33d
+MISC metadata.xml 216 SHA256 f7475919f28a8a93ec8bd025c8f8bbab918f66d0d1737420c876f0480308fe6a SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd WHIRLPOOL 163285b60aa93e00993af659dc1e29a9eb245bd3415dd5ec75b284250596165f469028102b72fa0c344834443a44c1bbcf6272fe6a3f5211f721fc96e1c6ec16
diff --git a/app-misc/interceptty/interceptty-0.6-r1.ebuild b/app-misc/interceptty/interceptty-0.6-r1.ebuild
new file mode 100644
index 000000000000..cf3049e8af01
--- /dev/null
+++ b/app-misc/interceptty/interceptty-0.6-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
+DESCRIPTION="a program that can sit between a serial port and an application"
+HOMEPAGE="http://www.suspectclass.com/~sgifford/interceptty/"
+SRC_URI="http://www.suspectclass.com/~sgifford/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( AUTHORS NEWS README TODO )
+
+src_install() {
+ default
+ dobin "${PN}" "${PN}-nicedump"
+ doman "${PN}.1"
+ doman interceptty.1
+ einstalldocs
+}
diff --git a/app-misc/interceptty/interceptty-0.6.ebuild b/app-misc/interceptty/interceptty-0.6.ebuild
new file mode 100644
index 000000000000..9689a1788a5e
--- /dev/null
+++ b/app-misc/interceptty/interceptty-0.6.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="a program that can sit between a serial port and an application"
+HOMEPAGE="http://www.suspectclass.com/~sgifford/interceptty/"
+SRC_URI="http://www.suspectclass.com/~sgifford/${PN}/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+src_install() {
+ into /usr
+ dobin interceptty interceptty-nicedump || die
+ dodoc AUTHORS NEWS README TODO
+ doman interceptty.1
+}
diff --git a/app-misc/interceptty/metadata.xml b/app-misc/interceptty/metadata.xml
new file mode 100644
index 000000000000..79d462e85571
--- /dev/null
+++ b/app-misc/interceptty/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/irtrans-irclient/Manifest b/app-misc/irtrans-irclient/Manifest
new file mode 100644
index 000000000000..982fe2f317d6
--- /dev/null
+++ b/app-misc/irtrans-irclient/Manifest
@@ -0,0 +1,6 @@
+DIST irclient-src-6.01.05.tar.gz 69814 SHA256 c37fdff95794e343505f57ad5782a3100c3a3a572c3ab8064fe93de94b00efca SHA512 47d76f66ce6422252624dd805fbff042bcd9443f04b656cb2b20267dbf42a57345a0ac5cda0204a44535088a06c1232d2dea6305ad3561c78a7330774c1e998e WHIRLPOOL 7db08272d9de796ac68eaf5ee854488c03fd19ee69135afb45a888100c12f5238720d4dc5c6f4f26e397de416276a3b1bbba2637fbcce27ca28051c2828ea075
+DIST irtrans-irclient-5.11.04-ip_assign-1.patch.bz2 5051 SHA256 094ee33b2a7a7fb4752bda0896a7a23895fa8eba86164fe9e0c4e63790e34739 SHA512 9be72f7f6fcc24c9bda73cf5dd8a2c112c6cb82e2ef50d40c17b43d7dcb8f11bcf8bc0ebb914046b5429bce1b4936278ade936db6c916384fbd637a300f528cf WHIRLPOOL 50f8ff9ce0cb6f555160a9f5e93be0dd91cde28defad82de6e670e10d011a5bc48839c953c2cd0b21f178c9a81f5393d18847fd2164a22a65f986445ed2b88b1
+EBUILD irtrans-irclient-6.01.05.ebuild 1647 SHA256 3d0c132af9f420dd7eaccad2acbc91d8ad702ae6272080615d3cb34cae9dedf7 SHA512 a454497e39e36731065ec6d4d2b78fedfbae575357fefedcd21439267964bc2ae483048c80e59c7e7663e7510a9fd8e70e9ad857ee2525fa2d31212656efb447 WHIRLPOOL 2719147f2b28ab4cb058e6385f6c54594bfd3f76107f56d9acf56a336f1c8cb15c2ac449093a5046449599223b8041a0d6db9ec5f36ac20af7d6e7cc269e7cdf
+MISC ChangeLog 2851 SHA256 11df293a6f41123fa6f1a16826f4cbd03131b96f9bc9ef3052b32ba04cd54221 SHA512 502d71b6da2f02c0daf36d99a653830de65800ac86a18aac1fe49750b8dd3d5285ff6a620dd03b8a16ce287da0318c330be36a53e7a189430185ec6333bd6eec WHIRLPOOL 3623b467bf6ddb6238be58c8ab0b5c945d947991b084301718353512503e0f740177c385026ad4717908577a5a1ec102ec573e9964e79e8e1a8f7d2dd70cd3a9
+MISC ChangeLog-2015 2229 SHA256 298348bb92bbb5b05ff1e58bfddb233a8f7511e7de36986fecb574737092a631 SHA512 22904540ca95bd49946d8e6a1331bc40aa7aeb6f52acd41e1f940387774c5f995f970ff613ce2cc6108628dfa8ad51cc65edd836e84d5251a8e7f65c5bea7fd0 WHIRLPOOL 53ef6be44dd77f3ab1e811c9ba4211dfde522dabf89b396830787bbce59cadb1befaceb02cf82f614742b5bcbbe51db7a958a6847c225cf7b16d1867cba68d3e
+MISC metadata.xml 554 SHA256 77828ddd95290a56e99015ad031b847e9fbfc866b868edaaaecdde2d49eba62e SHA512 cb72292d5ee42b46b1556bdf29717ab8a2ccb060cf091120f380fbdd26b3e2ebfe9b7dad815bcbbc403132e63400b3aa69133760772a593e584f02df4f80dd37 WHIRLPOOL 69e013a56410781dc99fc53096a79535c9c3892605f57ed5859b67668237394bbe4d8ca7bd416e9c49c7406e05f0f53e1ed2a0de60c2fab03fd1074ed7fbae23
diff --git a/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild
new file mode 100644
index 000000000000..dc6bd63ff3ff
--- /dev/null
+++ b/app-misc/irtrans-irclient/irtrans-irclient-6.01.05.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+RESTRICT="strip"
+
+DESCRIPTION="IRTrans Server"
+HOMEPAGE="http://www.irtrans.de"
+SRC_URI="http://www.irtrans.de/download/Client/irclient-src.tar.gz -> irclient-src-${PV}.tar.gz
+ http://ftp.disconnected-by-peer.at/irtrans/${PN}-5.11.04-ip_assign-1.patch.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${RDEPND}"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ epatch "${WORKDIR}/${PN}"-5.11.04-ip_assign-1.patch
+}
+
+src_compile() {
+
+ append-flags -DLINUX
+
+ # Set sane defaults (arm target has no -D flags added)
+ irbuild=irclient_arm
+ irclient=irclient
+ ipbuild=ip_assign_arm
+ ip_assign=ip_assign
+
+ # change variable by need
+ if use x86 ; then
+ irbuild=irclient
+ ipbuild=ip_assign
+ elif use amd64 ; then
+ irbuild=irclient64
+ irclient=irclient64
+ ipbuild=ip_assign64
+ ip_assign=ip_assign64
+ fi
+
+ # Some output for bugreport
+ einfo "CFLAGS=\"${CFLAGS}\""
+ einfo "Build client Target=\"${irbuild}\""
+ einfo "Build client Binary=\"${irclient}\""
+ einfo "Build ip_assign Target=\"${ipbuild}\""
+ einfo "Build ip_assign Binary=\"${ip_assign}\""
+
+ # Build
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" "${irbuild}" || die "emake irclient failed"
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" "${ipbuild}" || die "emake ip_assign failed"
+}
+
+src_install() {
+
+ newbin "${WORKDIR}/${irclient}" irclient
+ newbin "${WORKDIR}/${ip_assign}" ip_assign
+}
diff --git a/app-misc/irtrans-irclient/metadata.xml b/app-misc/irtrans-irclient/metadata.xml
new file mode 100644
index 000000000000..85a9e4b6eb4b
--- /dev/null
+++ b/app-misc/irtrans-irclient/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>mario.fetka@gmail.com</email>
+<name>Mario Fetka</name>
+<description>Proxied maintainer</description>
+</maintainer>
+
+<maintainer type="person">
+<email>hd_brummy@gentoo.org</email>
+<name>Joerg Bornkessel</name>
+<description>Proxying maintainer</description>
+</maintainer>
+<maintainer type="project">
+<email>proxy-maint@gentoo.org</email>
+<name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/irtrans-irserver/Manifest b/app-misc/irtrans-irserver/Manifest
new file mode 100644
index 000000000000..48f5efbeee98
--- /dev/null
+++ b/app-misc/irtrans-irserver/Manifest
@@ -0,0 +1,8 @@
+AUX irtrans-server.confd 392 SHA256 b7715a76bb23752a8e34c8d2761383490cce1cd8c96e1fb7542e38c6b651fb48 SHA512 daa586469db0aca543bfe97ffc90efd7f8ade94f0d186d9b91499e729dd6c72036c8e539e58898ef28d961a353530aefcc5821e447c9aaa6f35634da2c25867f WHIRLPOOL 0dce00008a7798a2555e0fcee1432faab7a3fba09f377021aa9cc4919343ed4fd3133323a7332225381220ca9e91e6660fee708ccee5ecd7effaac8d3e3994e8
+AUX irtrans-server.initd 564 SHA256 039888c8cb1a0e7f36cb3ed5f1415415d13d08c6d37729e99a89c73f766c2be1 SHA512 fb47c9d695e879e0db95fb5ae427b5d0248c65b6fa701408369c845cad1025cb913d85d68145fd69ad96ee65092b549384ee7e8135f095254840fd25ef7aa781 WHIRLPOOL 6fd4beb4b4566172b85c14fd15e3c5d19d32ef852409709f4ee6342071f63c89b324f6f72462aa0690cea7b3fedb43c3eb19cd8cb29993065fb6c00164b317d7
+DIST irserver-6.09.04.tar.gz 665809 SHA256 ad7d8d42afef595a596c086d5df496fabe788147e26b15a8ec43e814583cffb1 SHA512 d63f8bc79c2a5a8050c5ac21b086be3826f66102dc2f111bf8084b57756c6bcd84615d1675781b26520c34f7a3e08726dbc4ae94dd4f4afc446383597c433399 WHIRLPOOL b9389b4c316d481ff9434501c38009e667ff560dd88a69d27dcb6e577a715439d7c62f1764e2cc5879b9e069d5f07e4ca8454d4c28397bb32c2b67db20598213
+DIST irserver-src-6.09.04.tar.gz 200481 SHA256 0ce8baa3216d0c45bec0fb8384363c5a4ae93b384654d758373f912648ffb930 SHA512 09c38066e64404808856a89a8451e41a6eb8a51b98635b1515fc07050f25b4552b9cc912bd9612c6746ba67cd9b1bb45f3d4871dfa820c9e9bd810ede20f28d6 WHIRLPOOL 2fff3f6a24f6d74efc98a5ad818c6a098f176e97df9d0a8be3ac89109c71350a4ba88feb4b78ca947dab6bf515c29d86b5c61cdf9523dc13bc2782697a2d8fae
+EBUILD irtrans-irserver-6.09.04.ebuild 2006 SHA256 d3526c5d2d365b92a51716748e587dee91f0a5201b07dcffcd428886e1ad9b44 SHA512 8e9d565c322ef914c68f2dabbadfd7b4b3bc78f72e196e27a75b0d7b348602e2eaf93bcb343ccb7e35c1bd2ecff217eccb42dcb287e0c1ed69fe7350a7e7dcb3 WHIRLPOOL 14ebea459d24d9b310f51a6330719276c56441104eac6ac01fc66a5041b33ff4133f474bd680cb2bb4aff612872063f409b15f416e5950e3e43f651877920937
+MISC ChangeLog 3050 SHA256 27b0066b3b4c355dfcf42d3268e2e468d6b22b55ac2ea7fa3c8712b62d7985f3 SHA512 9f7d3b06c087d45a4e332537970b4623ab2cafce88fcf7284b15782d56ba018b7d9a406ff84f61d58abf6ee14ce14e94b5d51640f778fbb5b002734774f29268 WHIRLPOOL d5a93c208a85a03847813c0424025769ab33e8d66457a45d7552aa67363a70aab26465a16aa0b7b3799d66acee22cf4f79e3d4e23676af9d644a0f901ad00275
+MISC ChangeLog-2015 3198 SHA256 6192bb224c4b748c36ce025d2efa1bfeb21359d3d8ebf68e03d2feeebd930676 SHA512 e229a1d913a501edd063cb045f002dd57d137cc37fa264e7263e597132e2ca9c75f7622ec4c989863048d444faae50002250e67af6455a9c4844997fe34d5dce WHIRLPOOL 372d00f02ac173ee9dde98c66123bdb0e3c422e671cbe6bd69c0642657d2ed98cf1fcc483ce4c6a3a7c7e4b6ce06b6b3b5bf87c420f09ad59f32db3970e3ea50
+MISC metadata.xml 638 SHA256 0c24a627a8949b6c27b12760b52e1e3b0e57238395b14271b62941975d7a9d38 SHA512 fbc1694404c3e0b52d21ebece17686033cf5c175d746ba397b9b6e2c1af790eb866cfd32312165b442f96cc4b96c1e921f4c245f4e4d8e3014c83998060d19ca WHIRLPOOL d65ac21ef8ffee70664a3e1687e9cec5e0b7b94f88629d712f1d27458ef0925a7697bb908d7c29b6462685acede186a47a09b12cc9d5a3253b9cbce705071cf0
diff --git a/app-misc/irtrans-irserver/files/irtrans-server.confd b/app-misc/irtrans-irserver/files/irtrans-server.confd
new file mode 100644
index 000000000000..28e3f33aa043
--- /dev/null
+++ b/app-misc/irtrans-irserver/files/irtrans-server.confd
@@ -0,0 +1,12 @@
+# Config for irtrans-server
+
+# Controls which information is logged. Standard is loglevel 1.
+# Possible values are 0-4. 0=Nothing is logged. 4=debug output.
+LOGLEVEL="1"
+
+# Starts the irserver as a LINUX Service.
+# run '/usr/bin/irtrans --help' for all Parameters
+OPT="-daemon"
+
+# LINUX Devices: /dev/ttyS0 - /dev/ttySn or /dev/ttyUSB0 - /dev/ttyUSBn for USB devices
+IRDEVICE="/dev/ttyUSB0"
diff --git a/app-misc/irtrans-irserver/files/irtrans-server.initd b/app-misc/irtrans-irserver/files/irtrans-server.initd
new file mode 100644
index 000000000000..b500b7fe0f87
--- /dev/null
+++ b/app-misc/irtrans-irserver/files/irtrans-server.initd
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+ provide lirc
+}
+
+start() {
+ ebegin "Starting IRTrans"
+ eval start-stop-daemon --start --quiet --exec /usr/bin/irserver --pidfile /var/run/irtrans-irserver.pid \
+ -- -logfile /var/log/irserver.log -loglevel "${LOGLEVEL}" -pidfile /var/run/irtrans-irserver.pid "${OPT}" "${IRDEVICE}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping IRTrans"
+ start-stop-daemon --stop --quiet --pidfile /var/run/irtrans-irserver.pid
+ eend $?
+}
diff --git a/app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild b/app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild
new file mode 100644
index 000000000000..fb45aecdd9ac
--- /dev/null
+++ b/app-misc/irtrans-irserver/irtrans-irserver-6.09.04.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils flag-o-matic toolchain-funcs mono-env multilib
+
+RESTRICT="strip"
+
+DESCRIPTION="IRTrans Server"
+HOMEPAGE="http://www.irtrans.de"
+SRC_URI="http://ftp.disconnected-by-peer.at/irtrans/irserver-src-${PV}.tar.gz
+ http://ftp.disconnected-by-peer.at/irtrans/irserver-${PV}.tar.gz
+ http://www.irtrans.de/download/Server/Linux/irserver-src.tar.gz -> irserver-src-${PV}.tar.gz
+ http://www.irtrans.de/download/Server/Linux/irserver.tar.gz -> irserver-${PV}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm"
+IUSE="mono"
+
+RDEPEND="mono? ( >=dev-lang/mono-2.10.5 )"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ sed -e 's!^ODIRARM = .*!ODIRARM = n800!' -i makefile
+}
+
+src_compile() {
+ append-flags -DLINUX -DMEDIACENTER
+ append-ldflags --static
+
+ # Set sane defaults (arm target has no -D flags added)
+ irbuild=irserver_arm_noccf
+ irserver=irserver
+
+ # change variable by need
+ if use x86 ; then
+ irbuild=irserver
+ elif use amd64 ; then
+ irbuild=irserver64
+ irserver=irserver64
+ elif use arm ; then
+ irbuild=irserver_arm
+ fi
+
+ # Some output for bugreport
+ einfo "CFLAGS=\"${CFLAGS}\""
+ einfo "Build Target=\"${irbuild}\""
+ einfo "Build Binary=\"${irserver}\""
+
+ # Build
+ emake CXX="$(tc-getCXX)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" "${irbuild}"
+}
+
+src_install() {
+ newbin "${WORKDIR}/${irserver}" irserver
+
+ keepdir /etc/irserver/remotes
+
+ docinto remotes
+ dodoc remotes/*
+
+ newinitd "${FILESDIR}"/irtrans-server.initd irtrans-server
+ newconfd "${FILESDIR}"/irtrans-server.confd irtrans-server
+
+ if use mono ; then
+ # Wrapper script to launch mono
+ make_wrapper irguiclient "mono /usr/$(get_libdir)/${PN}/GUIClient.exe"
+
+ insinto /usr/$(get_libdir)/${PN}/
+ exeinto /usr/$(get_libdir)/${PN}/
+
+ # The Libs and Translations
+ doins GUIClient/*.tra
+ doexe GUIClient/*.dll
+
+ # The actual executable
+ doexe GUIClient/*.exe
+ fi
+}
diff --git a/app-misc/irtrans-irserver/metadata.xml b/app-misc/irtrans-irserver/metadata.xml
new file mode 100644
index 000000000000..54f22d12e4b0
--- /dev/null
+++ b/app-misc/irtrans-irserver/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mario.fetka@gmail.com</email>
+ <name>Mario Fetka</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>hd_brummy@gentoo.org</email>
+ <name>Joerg Bornkessel</name>
+ <description>Proxying maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="mono">Enable mono support</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/jail/Manifest b/app-misc/jail/Manifest
new file mode 100644
index 000000000000..eaf56930de2b
--- /dev/null
+++ b/app-misc/jail/Manifest
@@ -0,0 +1,9 @@
+AUX jail-1.9-gentoo.patch 3186 SHA256 bf3c42da26870dca1295f1fc5ca1d49eb1073137d7518f88d54b427fdb30ca61 SHA512 70293d18269850c8f0971bb62d20849a903de31982fbe91bfb8dd1adb34a4baf1a10c42ffd73804b214586022cf666b199f091a6cc0f83a08f6e049cc74abf22 WHIRLPOOL 20116cfdc696c05ec0f016d0bb80f65ee9555eeeb3d63a90e9d945a2729d411f3ed9b2a66e268ac8c75bcb31ec6128e68d8dc12c75a5e5eea68b56e60bd78c3a
+AUX jail-1.9-ldflags.patch 328 SHA256 26034a6e25281483ac3add1deb42c49bcfcde00693f958aaf0eda542ba98bd37 SHA512 8b92e834a447f5fb916ff4cfb3fa1ca89d048e954ffc2a8cd8889e21a8037b54ee14d241f1a988d2c686d3ce844205354a5763f0f44cef8b2413e1ba05ff405b WHIRLPOOL 554b15eb9a7d57c53a656ae7c7c9adfeb069aa3c7f1d9e12e96a7c455d4ebf2ea11e80a139e66fc9b4e8ac19c2e847767d54337540f54626d1e0c4b47e2ba67b
+AUX jail-1.9-multiuser-rsa.patch 856 SHA256 e67e3f140f82ba3bdbeb0d650c918d97a7ddedee6c56a620c4273d8a6009b428 SHA512 b6cc3018faf06346c747242b8b721554438dd4db11621411142a50e7ed41ee009af8387fb2742a44c8fe243f5201f58da77d48a54a83d709ed5e8e8172f50541 WHIRLPOOL 853bcf6d1b7822464513bc19dcdc87054a6ad73176e632df366e2cecf9ac47a474123b3dde386554e804f3e1dfa4d0234d27f04d63d564a7610738b5c9486993
+AUX jail-1.9-wrongshell.patch 330 SHA256 d9de983e7c31e09927a87ac56c028ffb4f2f9692825aba765a157a63908eb07f SHA512 ee92dbfb9e147d94d2ebfaaf597ad381d93bd1e5fc65e85a20ee37c9066dbe7560a3385977cd3d30b87f5cdb2d90c19827a7adac69f667ea61a4920ec0b02cbd WHIRLPOOL 0f67fab357c81d354d324fafd44c073fd587a61054203a5d6e7df10e6f28b28d731805dda3107ffea5ef80c6b0f65f02887b14604bc6b4f9055412fca629416a
+DIST jail-2.0.tar.gz 31095 SHA256 0ecdcc5230c99a7382d168ea60e9253c6bf5eec60b50f04f2588185c1974b07e SHA512 dfca62091b34f9adbe4e94de1dbf0ccd31bd3f8e492ea9788f712e97271b389475bc19e0390c12445353c4f73e5ba2458360bf55f5f64491705e82192db985ae WHIRLPOOL bd8619ae57d0e56d164397e8a0fb795ed2fe7215064aef5cfbfb293ea3325d5177b673459011781b0bbeddf2b0327987d5fb95a5dfe957b359908ca10db5147c
+EBUILD jail-2.0.ebuild 1940 SHA256 6c0737aab4723649e618c4a06615ebf5d5fdccf0bca765edc71abd68789af222 SHA512 a8df73039d7c93d4952c9c010f465131e91f15dd4cc2a806a3d90a9a4896d744d40ce50dbd36e651646846bff3e2d93c0537748d1ac8351dd0e93f9f9e683555 WHIRLPOOL 465cfe111351663579e1c9f0720913774bcaaa85cfc09589b00244ed15a1b52610351d75fa7f1e2d00efdfe1653898911cba99b465d57e5c45e279321c4b78d5
+MISC ChangeLog 2550 SHA256 329042eca797913c025b77f478dbb5000cad81f245862745b5ce6fe9601b3ac2 SHA512 855b9098f2a43999bc1f03954ef20443bd4eb8c6b2af92680a1a2ec0ffe817793c341d5ddb3ddea5b96a9b36bd4b6aa08dcf28d54708c7feb3f3ca63947b5014 WHIRLPOOL d5fe03ace67842f5681152ba53fc73b666771c7186944f692948b7ec06b85e04611e85ac46690c5790e4c98dc752648b133bc821c66715b0cca85a641eafedc1
+MISC ChangeLog-2015 4302 SHA256 7f3ca8f265eb601948090cdd59d301efe4b9412fbf6eacd61cf896371812be0c SHA512 fb7df40a8275d488556009ac1080b38be7068accd5d4cc6149a7127a03acfe4d2b2cb20a949249a11e85c78b4b734ecaf18b0c406081d9c234d58dd45a019519 WHIRLPOOL 360f35bfc112c4c118e5f88cc317a49ed25c201cf771f6c5aa887b2d167a9a3496745e9148d926eb46c9fa84a2a0b428588432ae4201173cb7c317f1b32d7982
+MISC metadata.xml 1001 SHA256 2c2a8a6a419ffb153064ad460c5cd4b3ccd9b546ba4a0e1ebe808ece57818c07 SHA512 df3b4a8aa66a4f74bf3067a7da97d9b5950cc1b78109ec39a7ead9631f2b41f2aca97435381ce47725be129c361c48c634f6b8eae1911a278d9985b93d8b3287 WHIRLPOOL 1d88e4998845935e4a0d5f197f5c80d724ba42949fe20ed39661e214f6456816559ad6d74d56cf9461d77e830c7e116d68a1b1ee04466bf2c911c0a9e09041f4
diff --git a/app-misc/jail/files/jail-1.9-gentoo.patch b/app-misc/jail/files/jail-1.9-gentoo.patch
new file mode 100644
index 000000000000..74d48561004c
--- /dev/null
+++ b/app-misc/jail/files/jail-1.9-gentoo.patch
@@ -0,0 +1,130 @@
+--- a/install.sh Fri Oct 26 11:37:07 2001
++++ b/install.sh Sat Jul 20 04:43:09 2002
+@@ -23,7 +23,7 @@
+ #
+ ##############################################################################
+
+-TMPFILE=/tmp/jail.tmp
++TMPFILE=jail.tmp
+
+ # ----------------------------------------------------------------------------
+
+@@ -63,16 +63,16 @@
+
+ gen_jail_conf() {
+
+-cp etc/jail.conf /tmp/jail.conf.tmp
++cp etc/jail.conf jail.conf.tmp
+
+-parse_tag /tmp/jail.conf.tmp __VERSION__ $1
+-parse_tag /tmp/jail.conf.tmp __ARCH__ $2
+-parse_tag /tmp/jail.conf.tmp __DEBUG__ $3
+-parse_tag /tmp/jail.conf.tmp __INSTALLDIR__ $4
+-
+-mv /tmp/jail.conf.tmp /tmp/jail.conf
+-install_file /tmp/jail.conf $4/etc $5 $6 $7
+-rm /tmp/jail.conf
++parse_tag jail.conf.tmp __VERSION__ $1
++parse_tag jail.conf.tmp __ARCH__ $2
++parse_tag jail.conf.tmp __DEBUG__ $3
++parse_tag jail.conf.tmp __INSTALLDIR__ $4
++
++mv jail.conf.tmp jail.conf
++install_file jail.conf $4/etc $5 $6 $7
++rm jail.conf
+
+ }
+
+@@ -80,13 +80,13 @@
+
+ gen_libjail() {
+
+-cp lib/libjail.pm /tmp/libjail.pm.tmp
++cp lib/libjail.pm libjail.pm.tmp
+
+-parse_tag /tmp/libjail.pm.tmp __INSTALLDIR__ $1
++parse_tag libjail.pm.tmp __INSTALLDIR__ $1
+
+-mv /tmp/libjail.pm.tmp /tmp/libjail.pm
+-install_file /tmp/libjail.pm $1/lib $2 $3 $4
+-rm /tmp/libjail.pm
++mv libjail.pm.tmp libjail.pm
++install_file libjail.pm $1/lib $2 $3 $4
++rm libjail.pm
+
+ }
+
+@@ -94,14 +94,14 @@
+
+ gen_mkenv() {
+
+-cp bin/mkjailenv /tmp/mkjailenv.tmp
++cp bin/mkjailenv mkjailenv.tmp
+
+-parse_tag /tmp/mkjailenv.tmp __INSTALLDIR__ $1
+-parse_tag /tmp/mkjailenv.tmp __PERL__ $2
++parse_tag mkjailenv.tmp __INSTALLDIR__ $1
++parse_tag mkjailenv.tmp __PERL__ $2
+
+-mv /tmp/mkjailenv.tmp /tmp/mkjailenv
+-install_file /tmp/mkjailenv $1/bin $3 $4 $5
+-rm /tmp/mkjailenv
++mv mkjailenv.tmp mkjailenv
++install_file mkjailenv $1/bin $3 $4 $5
++rm mkjailenv
+
+ }
+
+@@ -109,14 +109,14 @@
+
+ gen_addjailsw() {
+
+-cp bin/addjailsw /tmp/addjailsw.tmp
++cp bin/addjailsw addjailsw.tmp
+
+-parse_tag /tmp/addjailsw.tmp __INSTALLDIR__ $1
+-parse_tag /tmp/addjailsw.tmp __PERL__ $2
++parse_tag addjailsw.tmp __INSTALLDIR__ $1
++parse_tag addjailsw.tmp __PERL__ $2
+
+-mv /tmp/addjailsw.tmp /tmp/addjailsw
+-install_file /tmp/addjailsw $1/bin $3 $4 $5
+-rm /tmp/addjailsw
++mv addjailsw.tmp addjailsw
++install_file addjailsw $1/bin $3 $4 $5
++rm addjailsw
+
+ }
+
+@@ -125,14 +125,14 @@
+
+ gen_addjailuser() {
+
+-cp bin/addjailuser /tmp/addjailuser.tmp
++cp bin/addjailuser addjailuser.tmp
+
+-parse_tag /tmp/addjailuser.tmp __INSTALLDIR__ $1
+-parse_tag /tmp/addjailuser.tmp __PERL__ $2
++parse_tag addjailuser.tmp __INSTALLDIR__ $1
++parse_tag addjailuser.tmp __PERL__ $2
+
+-mv /tmp/addjailuser.tmp /tmp/addjailuser
+-install_file /tmp/addjailuser $1/bin $3 $4 $5
+-rm /tmp/addjailuser
++mv addjailuser.tmp addjailuser
++install_file addjailuser $1/bin $3 $4 $5
++rm addjailuser
+
+ }
+
+--- a/src/preinstall.sh Fri Oct 26 11:36:09 2001
++++ b/src/preinstall.sh Sat Jul 20 04:44:11 2002
+@@ -23,7 +23,7 @@
+ #
+ ##############################################################################
+
+-TMPFILE=/tmp/jail.tmp
++TMPFILE=jail.tmp
+
+
+ # ----------------------------------------------------------------------------
diff --git a/app-misc/jail/files/jail-1.9-ldflags.patch b/app-misc/jail/files/jail-1.9-ldflags.patch
new file mode 100644
index 000000000000..6b9e5731bb27
--- /dev/null
+++ b/app-misc/jail/files/jail-1.9-ldflags.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile 2001-10-29 18:40:48.000000000 +0100
++++ b/src/Makefile 2010-09-17 07:28:09.000000000 +0200
+@@ -60,7 +60,7 @@
+ all: jail
+
+ jail: jail.c $(OBJ)
+- $(CC) $(CFLAGS) $(INCLUDE) jail.c -o jail $(OBJ) $(LIBS) && \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDE) jail.c -o jail $(OBJ) $(LIBS) && \
+ cp jail ../bin
+
+ clean:
diff --git a/app-misc/jail/files/jail-1.9-multiuser-rsa.patch b/app-misc/jail/files/jail-1.9-multiuser-rsa.patch
new file mode 100644
index 000000000000..e0aad4f65c72
--- /dev/null
+++ b/app-misc/jail/files/jail-1.9-multiuser-rsa.patch
@@ -0,0 +1,44 @@
+--- a/src/jail.c 2004-09-19 23:48:14.000000000 -0500
++++ b/src/jail.c 2004-09-20 00:07:48.000000000 -0500
+@@ -115,6 +115,20 @@
+ #include "helpers.h"
+ #include "types.h"
+
++
++
++void make_jail_dir( char* dir )
++{
++ for( ; *dir != '\0'; ++dir )
++ {
++ if( *dir == '.' )
++ {
++ *dir = '\0';
++ break;
++ }
++ }
++}
++
+ //////////////////////////////////////////////////////////////////////////////
+ //
+ // main()
+@@ -211,6 +225,7 @@
+ fprintf(stderr,"jail: can't get passwd info for uid %d\n",uid);
+ exit(-1);
+ }
++ make_jail_dir(pwdent->dir);
+
+ //
+ // create the terminal devices here
+@@ -289,7 +304,6 @@
+ free(pwdent->dir);
+ pwdent->dir = tmp_str;
+
+-
+ #if DEBUG != 0
+ fprintf(stderr,"jail: doing chdir(%s)\n",pwdent->dir);
+ #endif
+@@ -494,4 +508,3 @@
+ return(-4);
+ }
+
+-
diff --git a/app-misc/jail/files/jail-1.9-wrongshell.patch b/app-misc/jail/files/jail-1.9-wrongshell.patch
new file mode 100644
index 000000000000..1924337d06e4
--- /dev/null
+++ b/app-misc/jail/files/jail-1.9-wrongshell.patch
@@ -0,0 +1,11 @@
+--- a/lib/arch/generic/functions 2001-10-26 04:36:09.000000000 -0500
++++ b/lib/arch/generic/functions 2003-07-30 18:23:57.000000000 -0500
+@@ -831,7 +831,7 @@
+
+ if (!$found || !-e $SHELLS_FILE) {
+ open(F,">>".$SHELLS_FILE);
+- print F "$INSTALL_DIR/jail\n";
++ print F "$INSTALL_DIR/bin/jail\n";
+ close(F);
+ }
+ }
diff --git a/app-misc/jail/jail-2.0.ebuild b/app-misc/jail/jail-2.0.ebuild
new file mode 100644
index 000000000000..40247a1caf48
--- /dev/null
+++ b/app-misc/jail/jail-2.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Builds a chroot and configures all the required files, directories and libraries"
+HOMEPAGE="https://github.com/spiculator/jail"
+SRC_URI="https://github.com/spiculator/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="dev-lang/perl
+ dev-util/strace"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-1.9-gentoo.patch \
+ "${FILESDIR}"/${PN}-1.9-wrongshell.patch \
+ "${FILESDIR}"/${PN}-1.9-multiuser-rsa.patch \
+ "${FILESDIR}"/${PN}-1.9-ldflags.patch
+}
+
+src_compile() {
+ # configuration files should be installed in /etc not /usr/etc
+ sed -i "s:\$4/etc:\${D}/etc:g" install.sh || die
+
+ # the destination directory should be /usr not /usr/local
+ sed -i -e "s:usr/local:${D}/usr:g" \
+ -e "s:^COPT =.*:COPT = -Wl,-z,no:g" src/Makefile || die
+
+ # Below didn't work. Don't know why
+ #append-ldflags -Wl,-z,now
+ emake -C src CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake -C src install
+
+ # remove //var/tmp/portage/${P}/image//usr from files
+ FILES=( "${D}/usr/bin/mkjailenv"
+ "${D}/usr/bin/addjailsw"
+ "${D}/usr/bin/addjailuser"
+ "${D}/etc/jail.conf"
+ "${D}/usr/lib/libjail.pm"
+ "${D}/usr/lib/arch/generic/definitions"
+ "${D}/usr/lib/arch/generic/functions"
+ "${D}/usr/lib/arch/linux/definitions"
+ "${D}/usr/lib/arch/linux/functions"
+ "${D}/usr/lib/arch/freebsd/definitions"
+ "${D}/usr/lib/arch/freebsd/functions"
+ "${D}/usr/lib/arch/irix/definitions"
+ "${D}/usr/lib/arch/irix/functions"
+ "${D}/usr/lib/arch/solaris/definitions"
+ "${D}/usr/lib/arch/solaris/functions" )
+
+ for f in "${FILES[@]}"; do
+ sed -i "s:/${D}/usr:/usr:g" ${f} || die
+ done
+
+ sed -i "s:/usr/etc:/etc:" "${D}"/usr/lib/libjail.pm || die
+
+ dodoc doc/{CHANGELOG,INSTALL,README,SECURITY,VERSION}
+}
diff --git a/app-misc/jail/metadata.xml b/app-misc/jail/metadata.xml
new file mode 100644
index 000000000000..bcb966eb16a3
--- /dev/null
+++ b/app-misc/jail/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>spiculator@gmail.com</email>
+ <name>Sergey Redin</name>
+ <description>Maintainer, Assign bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">spiculator/jail</remote-id>
+ <bugs-to>https://github.com/spiculator/jail/issues</bugs-to>
+ </upstream>
+ <longdescription>
+Jail Chroot Project is an attempt of write a tool that builds a chrooted environment.
+The main goal of Jail is to be as simple as possible, and highly portable. The most
+difficult step when building a chrooted environment is to set up the right libraries and
+files. Here, Jail comes to the rescue with a tool to automagically configures and builds
+all the required files, directories and libraries.</longdescription>
+</pkgmetadata>
diff --git a/app-misc/jira-cli/Manifest b/app-misc/jira-cli/Manifest
new file mode 100644
index 000000000000..8400e28bf38d
--- /dev/null
+++ b/app-misc/jira-cli/Manifest
@@ -0,0 +1,4 @@
+DIST jira-cli-2.1.5.tar.gz 122947 SHA256 bb0799ea575bc7c60fc800fb4790a3f82f68967eb06cc445a03b852227d92a88 SHA512 8d8cad01d93fcca63ac9420856bca4825bba1e1954e674378c2a3f501c7716125afbda96c5ef12ba4d90e4e771b1d80165aaff1db883af5706510476bd9d8799 WHIRLPOOL fa773d9343191c5cb116a0ea18627f9000289fcf53230ba563b402e432625326c8848c61909b72d62bf9e0e8b6e16b7aefbb9b3a8ef6132b0ee2552f42daf767
+EBUILD jira-cli-2.1.5.ebuild 1227 SHA256 0b17934777730d894a6508551f47f310c679024121450147bd58c719e7ab1522 SHA512 27db6baac917b364e22338653a4957d92bee9a94bd6cd3221dad41c5500d553a664f9a33f60ca4902fdd8aef9a2633936ff4b14890979c8bda35331d7daa7c55 WHIRLPOOL 8c8e59b8138b0f28139f624019034f6702ca351796b7e441d7b2d90c31e7f9877488b8645ce5ae8a2ec63fdb2a25daaf7379dc95754a2c847d792d7deda8303b
+MISC ChangeLog 724 SHA256 1259839354a1759419e53cad9feff9927679e1341cad2509ec2ceedcf4ef1090 SHA512 4e13b961aa1f3fda23d07d69d265bf1fdf307c6c84e0c6283c87dd263fde0591859bff312f64472e0201d1c994f5d6eeb7f0412fc1fdee74993784b5b50c8c12 WHIRLPOOL 8da70bb8eccac33f99cb18ace01df0ce6b0d3e9fbae74233a913783a9a26ce4d7185ab6df52d3f5b5ed07de47ba585fa6ec453e95187ee277337dc9dfb803d27
+MISC metadata.xml 250 SHA256 2ac59fe1193b52a77bc8dd0c07443ee3312b0f77631312112955bbf97c21922b SHA512 a83961ae0675dc47814c64d67093438c96266c1714be601841bc2836dabc9b1ae8fb9c9f2c6f412f2b88aee8b3638648ea9232f7c49faa4c88f1bd4ea00a02bd WHIRLPOOL 430a38f63a61a61f05fa238d11e9cbc53119a8ab857fdd319547ed5a4020d99af765e99e05a71c3dffea0cb2e4d26a8760b82a39927038c02cb5db76a5791c58
diff --git a/app-misc/jira-cli/jira-cli-2.1.5.ebuild b/app-misc/jira-cli/jira-cli-2.1.5.ebuild
new file mode 100644
index 000000000000..8965187ccee3
--- /dev/null
+++ b/app-misc/jira-cli/jira-cli-2.1.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple command line utility to interact with your jira instance"
+HOMEPAGE="https://github.com/alisaifee/jira-cli"
+SRC_URI="https://github.com/alisaifee/jira-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="${CDEPEND}
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/termcolor[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/jira[${PYTHON_USEDEP},oauth]
+ dev-python/suds[${PYTHON_USEDEP}]
+ >=dev-python/keyring-10.0.2-r1[${PYTHON_USEDEP}]
+ dev-python/keyrings_alt[${PYTHON_USEDEP}]"
+
+DEPEND="${CDEPEND}
+ test? ( ${RDEPEND}
+ >=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
+ dev-python/hiro[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ >=dev-python/vcrpy-1.7.4[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+python_prepare_all() {
+ sed -i -e '/ordereddict/d' -e '/argparse/d' requirements/main.txt || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests || die
+}
diff --git a/app-misc/jira-cli/metadata.xml b/app-misc/jira-cli/metadata.xml
new file mode 100644
index 000000000000..1b73437545ed
--- /dev/null
+++ b/app-misc/jira-cli/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">alisaifee/jira-cli</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/jitac/Manifest b/app-misc/jitac/Manifest
new file mode 100644
index 000000000000..e3a640dc7f2c
--- /dev/null
+++ b/app-misc/jitac/Manifest
@@ -0,0 +1,5 @@
+DIST jitac-0.3.0.src.jar 141514 SHA256 83ec678cb805a3763683a1d6eba2ec4e949a54fbff71b925de50d193f7345569 SHA512 8a21e80246e450c9afb7e92cad14b8901fab7e039a7312df0b87cdab307c68a3db8a1090cb044b74c50eee47dd480f8c8d1465111e2f508584d38c9ef31511f8 WHIRLPOOL bbe0d05701a69d8735ff1bd1413f1b96385c3a48ac623b73f1ba5ea892127fc40912abb81fabb6d00f248d29ed107f690f7a287a1ead37a29efab95b76494c67
+EBUILD jitac-0.3.0.ebuild 970 SHA256 b46d542a0472dc65df54edc150e76eceda2d2d33501be4eaf12913b56c205e0a SHA512 8fa777453cc7791b9d1fd3e962b0a940738c9d5ed6c9f2523b5096841b412dd4cc768b9756e520a703ddd8597fdcc1dbc8de9855b71bdbc76c4abfa523e68883 WHIRLPOOL 1e4f1c0c09a6eac9ff73922f5ef445ecee3dac165cddcd614529071c9e7211b9fb0519db6b9e74f6c10f739f5f5388421c11227a80792a9058b9829372fe56b6
+MISC ChangeLog 2557 SHA256 96dfb7b3e8268fa2b65aa885acffb6e4236208c939e6d08f2bc781214e67e0bd SHA512 c75dae2b97403b519d8bed8a4f2f7eb1d929ea12c7f14c0ea32b30f81530fa1b17f9f3a9285669580bcbfb9f9331d5550301bf3282ebd3125c3cc7fbd88d945d WHIRLPOOL ba3550870baacbddfd15f2cd4a77dce3bc092171c39ec0971340a68f7e29e71838afec70ec6be523236c207eedcac23e80fcc5b2eddb736b16f810afe6dca2b3
+MISC ChangeLog-2015 3751 SHA256 92c04ffb31e9a3a98be0f8d4574b0b6b30fa65ed441dc52c61bac9b3fa5e80a3 SHA512 4f0cbf35e61552cbaadef6d9af736db75de3f124becbec887f57f148e1c9bca2f9ccd17cc7745741686ea69992d1419dce32570a91d0e0291afb1841ebd28eab WHIRLPOOL 4d8794af3109f96ab84e8c617f911f2efcaf3b9a4d9d3c0d34665dfb688e9ee391ff84b53b0f04fa83369844f54120d8c0bd7caa6fe6fde4ea38781e64b02446
+MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
diff --git a/app-misc/jitac/jitac-0.3.0.ebuild b/app-misc/jitac/jitac-0.3.0.ebuild
new file mode 100644
index 000000000000..7028a28a9b34
--- /dev/null
+++ b/app-misc/jitac/jitac-0.3.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit java-pkg-2
+
+DESCRIPTION="An image to ASCII converter written in Java"
+HOMEPAGE="http://www.roqe.org/jitac/"
+SRC_URI="http://www.roqe.org/jitac/${P}.src.jar"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+COMMON_DEP="
+ dev-java/sun-jimi:0"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5"
+
+S=${WORKDIR}
+
+src_unpack() {
+ jar -xvf "${DISTDIR}"/${A} || die "failed to unpack"
+}
+
+src_compile() {
+ ejavac -classpath $(java-pkg_getjars sun-jimi):. $(find -name *.java)
+ find . -name "*.class" -or -name "*.bdf" \
+ -or -name "*.properties" -or -name "README" \
+ | xargs jar -cf ${PN}.jar || die "failed to create jar"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ java-pkg_dolauncher ${PN} --main org.roqe.jitac.Jitac
+
+ dodoc org/roqe/jitac/README
+ use doc && java-pkg_dohtml -r org/roqe/jitac/docs/*
+}
diff --git a/app-misc/jitac/metadata.xml b/app-misc/jitac/metadata.xml
new file mode 100644
index 000000000000..2444066aa02b
--- /dev/null
+++ b/app-misc/jitac/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/jot/Manifest b/app-misc/jot/Manifest
new file mode 100644
index 000000000000..1110841d693f
--- /dev/null
+++ b/app-misc/jot/Manifest
@@ -0,0 +1,5 @@
+DIST athena-jot-9.0-3.src.rpm 25378 SHA256 8129a00ec17c9f4102dd3cffdb841390e01617f78b1a032d07d145e372b10c58 SHA512 b284121cbca3e98181285eac007b2c9133826c18157f9d1f983b83443f91a3e00c29b30ceb986fbbd86cda1541f0990b5d66579387b78143c250bb01453d7296 WHIRLPOOL ac1d6888c9d4d6f87472878b49017fd5cd2f957c5601e0c6fa09caee137126fa94e3412337e5f5cc7c820cddf341bbf46303869ff4c908884be9940764816d69
+EBUILD jot-9.0-r1.ebuild 506 SHA256 aa46553b8dab0cae50374d502acae4bca24e05542cedfb60dd3bc7e4d017e3fe SHA512 5d110fe5f71f3c9b11dbb97c7c1178882708bfef9e4066c72e8cd72aa42c1abe150d7ce554ad073f7e3bc96da5cb3b9db59aa12c619f1afab123e7e07cf3f44d WHIRLPOOL 57042a4a5ff7535d338dad7440ef73bac5c6438ef5a92f0f209ec70cd099e99eb3c18f8c13137b9b3b4849ab3d5214c09e23fedea5d3f1bbc9be4bea268ee8c4
+MISC ChangeLog 2796 SHA256 57dd69f8a11a0faf6a6a942ec24318261e38112106822fa5c83aa7189576bc01 SHA512 301b64d4cf7fd337cecbcb63450ab8090e098f246f9379808102730841882d98fb0014eec7311843bdbf1f4c200e9efd176101b4e4aaf9c8cc78aa6095c05af5 WHIRLPOOL 6c47ff90451dff8f1ec25c8ee33aa62177854b8d1c8fc9f7e96e3e4cae87227bea34c79987a9cae5fc57a6508f6747c9863fedaea5064be881af4ae18d8067da
+MISC ChangeLog-2015 1582 SHA256 7c7a115af817fbff55b6fcb38dae8dea18eb45f1f2ce3f09d7a53d51b90c312f SHA512 934f0138da98770cd3114bf128df9866707620be9d0fbfb6bf790343930258e5659829fc84a8038096203aff8e05324b8999e20b8bf9c9f0b859087da24935bc WHIRLPOOL 69b00676e2a831a8f634966a436e689f170b5d0471b482cda252e23b5a432067e454eedef6e0dd18a62e4e00b737031ff1bea50337bb0e3dd767fd3b6c47de5b
+MISC metadata.xml 340 SHA256 ba66d32e3a795944b4b43188cf8e3e4b8b94fa59c8ee4d9e014f10b6415b3966 SHA512 7bb1de852b98f75b4886a9973db26545f64cdf4fde83192ab73899b6761f481bfa8f5b89bf9cb6f2fbfe735241b1ed5a7909a40e2d0c29f4724c2f19c99d1a7a WHIRLPOOL d5e2d66d88533bbf819d2b89f62de8c940fb96009a8678605b5874f6b94ad9bf5ce4eedd4790c5f8a2cc79458305f566b56ed2d443288aeea6a4c215ab95f0a8
diff --git a/app-misc/jot/jot-9.0-r1.ebuild b/app-misc/jot/jot-9.0-r1.ebuild
new file mode 100644
index 000000000000..477b2f953e88
--- /dev/null
+++ b/app-misc/jot/jot-9.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit rpm toolchain-funcs
+
+RH_REV=3
+
+DESCRIPTION="Print out increasing, decreasing, random, or redundant data"
+HOMEPAGE="http://freshmeat.net/projects/bsd-jot/"
+SRC_URI="http://www.mit.edu/afs/athena/system/rhlinux/athena-${PV}/free/SRPMS/athena-${P}-${RH_REV}.src.rpm"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+S="${WORKDIR}/athena-${P}"
+
+src_prepare() {
+ tc-export CC
+}
diff --git a/app-misc/jot/metadata.xml b/app-misc/jot/metadata.xml
new file mode 100644
index 000000000000..9b765471967a
--- /dev/null
+++ b/app-misc/jot/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="freshmeat">bsd-jot</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/joy2key/Manifest b/app-misc/joy2key/Manifest
new file mode 100644
index 000000000000..87558ae1b927
--- /dev/null
+++ b/app-misc/joy2key/Manifest
@@ -0,0 +1,6 @@
+DIST joy2key-1.6.3.tar.bz2 70545 SHA256 cf6f452632bb661cf889d843e9ebb9f4fe6ddf4bfe14193ebf74c2d1e2b89f50 SHA512 33767058cb32aa18a418d37f48d80200a99ce12b765ec758bde7efdda575ffc78af3039584fe3ef267baaacc3724b3203d858017c945824cc949b9cd6fe97bec WHIRLPOOL 26356d8afe214c8b93056f128db79b7476a709992ec606a4006b7bf44aca182bb25de5da9d0fc26500cd101c9a522e53c4ee7d373f4ed90afee3409b554789f8
+EBUILD joy2key-1.6.3-r1.ebuild 649 SHA256 c67db4c2bd336c3c9c9fc6767de62d52acaf59066aa42571640a4dcef8f0bbf1 SHA512 1d49d973a28070f40ed4c5596b71377c47d03a531c544c7471e48be02d94de1dcb6cc3510da24ecf376bf899af95c60f15eab042a05cae7fde92178d64f62def WHIRLPOOL 9f88af58657413186317d97601e5bdef3afe6a68315a79548cc74360680efb863147fca7957f02edd01ad89e323619734a75d7003dd3d9d8781ee69e544d100f
+EBUILD joy2key-1.6.3.ebuild 697 SHA256 4eb98d1ddc5c19ea593f99f526c0473ceed03b5987b6d132366887e6d35fc76b SHA512 af27ced2cd92749b5d437067a653167af5cb46c86c9b611560755c588faeb8306300318398d1d40b2a6201f5487a29e9317a04cdeb1ffc63b57d431df51e2e7d WHIRLPOOL 14989acefeba4f12d7b2974dde4fcbec019c4b6e2d421d48330fafa70c5272e76c5cca46fbdb2a61d3ef4062aa3ade8d2c1beb8fee20582e5368bd1ee5bf0818
+MISC ChangeLog 2900 SHA256 ef43afdb5fd2c2c4bd6fb2e1cbfe6835c2e7d8c681f93a9393e37d16c49e3836 SHA512 5aa4fadfcf2a88415ac53dc0c19304658297afc10aeda7780560ef2a883c059166482dcb6f7ceafcfa3006ca0b712fb19ecf04c6188cf2309038b04acf19e0b0 WHIRLPOOL 537faa45828ae4c713c38b6b29cf4878f376a9020fa329f2c494036178c7790bf096906b5d37665663e5bf515414bbec1a0742b2477881a84b976b2c32501ec2
+MISC ChangeLog-2015 2819 SHA256 8c5a472814cd3f1c73c83cad120269c149a6ad88ef52e4334c2a67ae252f1a12 SHA512 8c99835ab305020bc01e4bcd99b6182fde5e38c4a6a94eb6cd305fa85e86a1c49e0aef0cd156d9f5bd7296d810b02b7ed4b12b1612014fed7e311acf0b3bae32 WHIRLPOOL 0628d08532afd8f624be2ec7aff930ee555ff07c25d3b88ce68046cc45fea45afb60b79f321280b148e9c2901fc38055578e504e684326fb4314db8756b44061
+MISC metadata.xml 244 SHA256 b860937aaddf7a8a035790cf248fe56f4254ab949952ddaa07e2c8aa7383ee75 SHA512 4bb71014a1a32d8f334488977c78efe9058b5246c77ce6e60c099ad3e56b931cba7b95a3535f7c0a5f030cbac3efaeff8811a9fb43a9bf77eca0afaf0117f182 WHIRLPOOL a0ae200a4ba42e6b61342a9703f536fb070f90166acc62ac7a4d95fc28dd3fd26f3519198f7575973bb1cad5f2e1a93f925144409a517774a745cc7cbc63ece0
diff --git a/app-misc/joy2key/joy2key-1.6.3-r1.ebuild b/app-misc/joy2key/joy2key-1.6.3-r1.ebuild
new file mode 100644
index 000000000000..38c8331331cf
--- /dev/null
+++ b/app-misc/joy2key/joy2key-1.6.3-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="An application that translates joystick events to keyboard events"
+HOMEPAGE="https://sourceforge.net/projects/joy2key"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-libs/libX11
+ x11-apps/xwininfo )"
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xproto )"
+
+src_configure() {
+ econf --disable-dependency-tracking $(use_enable X)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog joy2keyrc.sample rawscancodes README TODO
+}
diff --git a/app-misc/joy2key/joy2key-1.6.3.ebuild b/app-misc/joy2key/joy2key-1.6.3.ebuild
new file mode 100644
index 000000000000..c8aeff36a5cb
--- /dev/null
+++ b/app-misc/joy2key/joy2key-1.6.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="An application that translates joystick events to keyboard events"
+HOMEPAGE="https://sourceforge.net/projects/joy2key"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-libs/libX11
+ x11-apps/xwininfo )"
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xproto )"
+
+src_compile() {
+ econf --disable-dependency-tracking $(use_enable X)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog joy2keyrc.sample rawscancodes README TODO
+}
diff --git a/app-misc/joy2key/metadata.xml b/app-misc/joy2key/metadata.xml
new file mode 100644
index 000000000000..b0d736f7f995
--- /dev/null
+++ b/app-misc/joy2key/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">joy2key</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/joymouse/Manifest b/app-misc/joymouse/Manifest
new file mode 100644
index 000000000000..2dd19de2a992
--- /dev/null
+++ b/app-misc/joymouse/Manifest
@@ -0,0 +1,5 @@
+DIST joymouse-0.5.tar.gz 92464 SHA256 65aca171c3cbe71a3a858ecd41d0e9c89627770fc56a7d8024af21521aed0fd7 SHA512 85831ee72bf518dd8337b6d5cc7fac48bfbe9f4e038d3b05e42279e2aef58c6aa191e4027f9a06cd0e4713ac1d3f692cd5d58d1a263cbe234f590011eb8a6c2b WHIRLPOOL cadc15721c6b16024e23c19528a5e1ba1b9cee1f4c735f8a41975772039a02b9233fdfe4ea5241b9c787c538131ebc770ad6433bf4d7f722b2b11c400a9923cb
+EBUILD joymouse-0.5.ebuild 591 SHA256 9c9e29e23ee222f427d2c432616f3fa61bf0c6e967b934ba76b54fe685d770b5 SHA512 dfa10c18b6db7614f4263ba80193e6e62b616baead60d1142ca8c6821510252b89fe8a96eb2bbcfe8b87abea96bf0154022a4a52ca65c4d7e0ebab95be7d6060 WHIRLPOOL 7cdcdf53cd1d4bfa40cc949d61ad8d83fe0cac5cccc0553c8e0462a989ef96b88db5dd006944f6b5fc2d9ce48cab8a81c5ea4b5806079137310fc9066003d0a6
+MISC ChangeLog 2537 SHA256 3df58cadd3eae8e0043064441daccc1b93c80bcd1e58989ac533e9564558aeef SHA512 6b8a70fba916895b8b7ccf6de08d3a47568569b65dfb38b929ff2a229a0dc62dc225462c949b87771bf7331a8ec6ee21ef854cc45b809d45661c32157ddb40c3 WHIRLPOOL 22a73ae9df5efee4e83d3ac4915558fd9c4c9cf6177b326b3cde0bbd1413dd6a2f391982504c71b7cea72feb6060ff323ef0da7ede22fa8cfb3d562cb98ba682
+MISC ChangeLog-2015 1424 SHA256 fd84fcda75d1e24c8d5c922b9794b22e8aa2ab127a438c4edb4951a1deddb43e SHA512 fa661759fdc9f9942ba61f263d36df5c735401374d725291194038ed6c45147559965d4860a82851da9cd534b4c66de44c4c576cf8aa15af16038cb9a4f19519 WHIRLPOOL 7ef75077dd5083d61513b621059f0f3ca575a0bbc5e4cd4c85f0e073871e585af9cfd1b96620de636a63323ab0f4a740718a32ed42424660d2fbc1993e66956f
+MISC metadata.xml 337 SHA256 354a1762cc25839a5761f2db736189f8a8833ac5f9331d603159f3650897ddf4 SHA512 8591ff3f582a6b43725bab8eb4c76c391af184a8845c11d135f2fd029f7e2097f16aef1e76a2794c9305d9f002b33f50b210b58221f4176811f6e8180062d209 WHIRLPOOL 66fccb129eab393607ae70c2008aa80b57978b59da760a979c4eddbfccc2bb2523a90fd74c9217fa63487bb6a710ceeec3a636c170e34836c8930cb14078f954
diff --git a/app-misc/joymouse/joymouse-0.5.ebuild b/app-misc/joymouse/joymouse-0.5.ebuild
new file mode 100644
index 000000000000..7a1886e92a4a
--- /dev/null
+++ b/app-misc/joymouse/joymouse-0.5.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+DESCRIPTION="An application that translates joystick events to mouse events"
+HOMEPAGE="https://sourceforge.net/projects/joymouse-linux"
+SRC_URI="mirror://sourceforge/joymouse-linux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ~ppc x86"
+IUSE=""
+
+DEPEND="x11-proto/xextproto
+ x11-proto/inputproto"
+RDEPEND="x11-libs/libX11
+ x11-libs/libXtst"
+
+src_prepare() {
+ sed -i 's/printf(message/fputs(message, stdout/g' src/joymouse.c || die
+}
+
+src_install() {
+ default
+}
diff --git a/app-misc/joymouse/metadata.xml b/app-misc/joymouse/metadata.xml
new file mode 100644
index 000000000000..d36e4caf521e
--- /dev/null
+++ b/app-misc/joymouse/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">joymouse-linux</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/jq/Manifest b/app-misc/jq/Manifest
new file mode 100644
index 000000000000..fe9fc2f99737
--- /dev/null
+++ b/app-misc/jq/Manifest
@@ -0,0 +1,8 @@
+AUX jq-1.5-dynamic-link.patch 292 SHA256 c4000f13ea2e0fe85e4d89470af17b7528cb87b2ca921fb990815bf6abcfad6d SHA512 1573ab7bdb9bd28db1ef7cbf834aada998b9651ffc1a9c67941faf23490ac3b145b6af6f1e41212b2c8c990d738b24bc7912a591db386f922c0b829a59e465ee WHIRLPOOL 29f3e6011c4f27d9339a0692685285ecee057aff58ba289146f6e36a31289c3146b1bc760948a1e55bdd5f6283338f2abbd3f5cbdab6e67479c5986c49e0f11a
+AUX jq-1.5-heap_buffer_overflow_in_tokenadd.patch 1241 SHA256 5069a8e81ece30279e8d525b4a590f5757dfb3d05f8c0a9bf212f37e75905fcc SHA512 7c0e7268a8715f9354322b81e82971fd6e6810206024fb59f55fdf319c1053fdd17ab4d2a78c8edc9ed1638339671419f4ea92cbb0f8ffbb34e5b521efb35718 WHIRLPOOL 16d961d05c95d17c3d87543fc60b6166b968356b25568a8b1d2a5b2cb43bfed37435342ff7a3b530527222835da88ba6c4ccfbc60e542c22eb93431db0473ebd
+AUX jq-1.5-remove-automagic-dep-on-oniguruma.patch 1879 SHA256 d5b55b63332899e9eff705fbb32fb1d790e2c637ff3be2659c47ecf8b17bc6c2 SHA512 3c7efccf85beda5f80c66432f6950b2d885c4587e6ed3cdc66447f60440dc0287da834cc5744ddd7af8ad36677254ebae6969bc498d36e457dfac69ca0da3f6d WHIRLPOOL 903ce507584d94ac49eaaa33c414e9fdca1a7f9ebbf185038ccb232b78ac6c04d7782458b97db0e983037ff4ab63e3e1cdd8d164191b7b22c020930d25baf913
+DIST jq-1.5.tar.gz 739309 SHA256 c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c SHA512 4a0bb069ae875f47731d7d84ae6b82240703dc7a694cfb0aee4c7e9639defe7ba9af575d17dc32bda4426b80c186cc8dcd4505f3a6bcbe16b39e9b13097da238 WHIRLPOOL ca45763fb43ba0bc4a97f1a6d34e3c5af0f25f2548d04646f76ac18e95792445eaa42869ce4a7a736b7d6bc09440225e277df79abacf23ef3c8f1b41170e2907
+EBUILD jq-1.5-r3.ebuild 1385 SHA256 3a5ca8e446084c8de607fdd8f253ae9597d86e8f00469b8382e269cf64335836 SHA512 da253fc8d393a3106437b5cba2a4c618076f9c8d23b834d8aab2079de876a53e8a2f2b5ebcd6d79ff48b53c54276a81aa314ccbbbc22e02d720a800a40e20ef7 WHIRLPOOL 97101a7938fa2cc562805d890c1e561d4af6d188a6facd3cb49b4a6967395eafdf82c3fc06806d9281f6ef26fd5cf55ea353213256cb51d39f15c24125decefb
+MISC ChangeLog 4611 SHA256 f882e1fdddc525ad029cd8c7787b81e5acaaf956bf93372738f0af2107258ec0 SHA512 fa4a3f42f00c9817fbbd524939f885ce8451dea401f5f1ce0c76f4f56839a24e3da98b3f0354ce75c769a78b8b5614702a511c6d66a96017242fd95cc57c4dec WHIRLPOOL 38eac5aa24f837b5177d390a6951120efcda5aa867bcebeb74bc3f1a23fd549865becb6894a33ceefadc507aff0051a17933e04317076bd33b11c156e1b78808
+MISC ChangeLog-2015 2176 SHA256 2e4f02d2f3bd0d54f9eb8e19deebb0bc43a8a7bd523dd65a0391817de5d9afeb SHA512 b407b35544a94c67504a90635083d816147c27791c8ee745e8252dcb0da67950fdf248eb791a25b3275a259ad70ef7a475a8b24d14711cdfb6e943da34493769 WHIRLPOOL ffef34e807b2ad4af67959abd78088316d73db4f520ceb062b0c2cd5c3149bbc31acbf251ab0dfbef2d74305702ad2d995bb92cb12a13c4e0820162c0e298e08
+MISC metadata.xml 423 SHA256 232f45bd4ec254cf1f624857fbfdf4dbdf3685ca92cc1bafbf9b5529ba06a7a7 SHA512 1787b1ce5d050aaa440996ceaf2367e39192af71e7d9a0d973e8dc8a87854f910aefd020c869867e3da5da33d27cc261047a1ded58b18052b21bf6737ef3081c WHIRLPOOL 8f9f7633b0757d0200ef6f4785d0011bf199adf42d0bdaba56bc08473c7daff87f84e42ceba6b8f23f0969d121f11ceaff483f088f41c28300c2cf7339cc6113
diff --git a/app-misc/jq/files/jq-1.5-dynamic-link.patch b/app-misc/jq/files/jq-1.5-dynamic-link.patch
new file mode 100644
index 000000000000..dbc2f11acb7f
--- /dev/null
+++ b/app-misc/jq/files/jq-1.5-dynamic-link.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.am b/Makefile.am
+index c3a771f..274c01e 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -84,7 +84,7 @@ main.c: version.h
+
+ bin_PROGRAMS = jq
+ jq_SOURCES = main.c version.h
+-jq_LDFLAGS = -static-libtool-libs
++jq_LDFLAGS =
+ jq_LDADD = libjq.la -lm
+
+ if ENABLE_ALL_STATIC
diff --git a/app-misc/jq/files/jq-1.5-heap_buffer_overflow_in_tokenadd.patch b/app-misc/jq/files/jq-1.5-heap_buffer_overflow_in_tokenadd.patch
new file mode 100644
index 000000000000..edb07d8388b5
--- /dev/null
+++ b/app-misc/jq/files/jq-1.5-heap_buffer_overflow_in_tokenadd.patch
@@ -0,0 +1,34 @@
+From 8eb1367ca44e772963e704a700ef72ae2e12babd Mon Sep 17 00:00:00 2001
+From: Nicolas Williams <nico@cryptonector.com>
+Date: Sat, 24 Oct 2015 17:24:57 -0500
+Subject: [PATCH] Heap buffer overflow in tokenadd() (fix #105)
+
+This was an off-by one: the NUL terminator byte was not allocated on
+resize. This was triggered by JSON-encoded numbers longer than 256
+bytes.
+---
+ src/jv_parse.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/jv_parse.c b/src/jv_parse.c
+index 3102ed4..84245b8 100644
+--- a/jv_parse.c
++++ b/jv_parse.c
+@@ -383,7 +383,7 @@ static pfunc stream_token(struct jv_parser* p, char ch) {
+
+ static void tokenadd(struct jv_parser* p, char c) {
+ assert(p->tokenpos <= p->tokenlen);
+- if (p->tokenpos == p->tokenlen) {
++ if (p->tokenpos >= (p->tokenlen - 1)) {
+ p->tokenlen = p->tokenlen*2 + 256;
+ p->tokenbuf = jv_mem_realloc(p->tokenbuf, p->tokenlen);
+ }
+@@ -485,7 +485,7 @@ static pfunc check_literal(struct jv_parser* p) {
+ TRY(value(p, v));
+ } else {
+ // FIXME: better parser
+- p->tokenbuf[p->tokenpos] = 0; // FIXME: invalid
++ p->tokenbuf[p->tokenpos] = 0;
+ char* end = 0;
+ double d = jvp_strtod(&p->dtoa, p->tokenbuf, &end);
+ if (end == 0 || *end != 0)
diff --git a/app-misc/jq/files/jq-1.5-remove-automagic-dep-on-oniguruma.patch b/app-misc/jq/files/jq-1.5-remove-automagic-dep-on-oniguruma.patch
new file mode 100644
index 000000000000..95ba0e058056
--- /dev/null
+++ b/app-misc/jq/files/jq-1.5-remove-automagic-dep-on-oniguruma.patch
@@ -0,0 +1,58 @@
+commit 18b4b18b41f5ed396d73449ce8d6ec408d95d6b2
+Author: David Tolnay <dtolnay@gmail.com>
+Date: Sat Nov 21 10:05:37 2015 -0800
+
+ Support --without-oniguruma
+
+diff --git a/configure.ac b/configure.ac
+index 9e2c8cf..7f6be34 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -52,27 +52,26 @@ fi
+ AC_ARG_WITH([oniguruma],
+ [AS_HELP_STRING([--with-oniguruma=prefix],
+ [try this for a non-standard install prefix of the oniguruma library])],
+- [ONIGURUMAPATHSET=1],
+- [ONIGURUMAPATHSET=0])
+-
+-if test $ONIGURUMAPATHSET = 1; then
+- CFLAGS="$CFLAGS -I${with_oniguruma}/include"
+- LDFLAGS="$LDFLAGS -L${with_oniguruma}/lib"
+-fi
+-
+-# check for ONIGURUMA library
+-HAVE_ONIGURUMA=0
+-AC_CHECK_HEADER("oniguruma.h",
+- AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; HAVE_ONIGURUMA=1;]))
+-
+-# handle check results
+-if test $HAVE_ONIGURUMA != 1; then
+- AC_MSG_NOTICE([Oniguruma was not found.])
+- AC_MSG_NOTICE([ Try setting the location using '--with-oniguruma=PREFIX' ])
+-else
+- AC_DEFINE([HAVE_ONIGURUMA],1,[Define to 1 if Oniguruma is installed])
+-fi
+-
++ [],
++ [with_oniguruma=yes])
++
++AS_IF([test "x$with_oniguruma" != xno], [
++ AS_IF([test "x$with_oniguruma" != xyes], [
++ CFLAGS="$CFLAGS -I${with_oniguruma}/include"
++ LDFLAGS="$LDFLAGS -L${with_oniguruma}/lib"
++ ])
++ # check for ONIGURUMA library
++ have_oniguruma=0
++ AC_CHECK_HEADER("oniguruma.h",
++ AC_CHECK_LIB([onig],[onig_version],[LIBS="$LIBS -lonig"; have_oniguruma=1;]))
++ # handle check results
++ AS_IF([test $have_oniguruma = 1], [
++ AC_DEFINE([HAVE_ONIGURUMA], 1, [Define to 1 if Oniguruma is installed])
++ ], [
++ AC_MSG_NOTICE([Oniguruma was not found.])
++ AC_MSG_NOTICE([Try setting the location using '--with-oniguruma=PREFIX'])
++ ])
++])
+
+ dnl Check for valgrind
+ AC_CHECK_PROGS(valgrind_cmd, valgrind)
diff --git a/app-misc/jq/jq-1.5-r3.ebuild b/app-misc/jq/jq-1.5-r3.ebuild
new file mode 100644
index 000000000000..f2b7f8001e52
--- /dev/null
+++ b/app-misc/jq/jq-1.5-r3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools ltprune
+
+DESCRIPTION="A lightweight and flexible command-line JSON processor"
+HOMEPAGE="https://stedolan.github.com/jq/"
+SRC_URI="https://github.com/stedolan/jq/releases/download/${P}/${P}.tar.gz"
+
+LICENSE="MIT CC-BY-3.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x64-macos"
+IUSE="oniguruma static-libs"
+
+DEPEND="
+ >=sys-devel/bison-3.0
+ sys-devel/flex
+ oniguruma? ( dev-libs/oniguruma:=[static-libs?] )
+"
+RDEPEND="
+ !static-libs? (
+ oniguruma? ( dev-libs/oniguruma[static-libs?] )
+ )
+"
+
+src_prepare() {
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-1.5-dynamic-link.patch
+ "${FILESDIR}"/${PN}-1.5-remove-automagic-dep-on-oniguruma.patch
+ "${FILESDIR}"/${PN}-1.5-heap_buffer_overflow_in_tokenadd.patch
+ )
+
+ use oniguruma || { sed -i 's:tests/onigtest::' Makefile.am || die; }
+ sed -i '/^dist_doc_DATA/d' Makefile.am || die
+ sed -i -r "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \
+ configure.ac || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local econfargs=(
+ # don't try to rebuild docs
+ --disable-docs
+ --disable-valgrind
+ $(use_enable static-libs static)
+ $(use_with oniguruma)
+ )
+ econf "${econfargs[@]}"
+}
+
+src_install() {
+ local DOCS=( AUTHORS README )
+ default
+
+ use static-libs || prune_libtool_files
+}
diff --git a/app-misc/jq/metadata.xml b/app-misc/jq/metadata.xml
new file mode 100644
index 000000000000..d9b5cb1343c4
--- /dev/null
+++ b/app-misc/jq/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <use>
+ <flag name="oniguruma">Use dev-libs/oniguruma for regular expression support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">stedolan/jq</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/kanatest/Manifest b/app-misc/kanatest/Manifest
new file mode 100644
index 000000000000..373f9cd99e63
--- /dev/null
+++ b/app-misc/kanatest/Manifest
@@ -0,0 +1,8 @@
+AUX kanatest-0.4.8+gtk-2.22.patch 967 SHA256 9edd7f678175120232db936bcc4b58064d1087ac9af71f70e9bb7c694ff42fa1 SHA512 d996ba512c7b10d8971cd5f7ee1bd25517f1847f3f4466e25b3217fbff23c6164ac51e5d29bc4ed6f6e02251e02f00b5d430e004d50b8f00eab468efc4f51def WHIRLPOOL 796624aac45856c16a7de6fa67e9a5a28c7c97f6c2ab42cef2e8894ffff20d3418105d0c7767d009df1c1d8cf332798bb8ecac58a1952d7d644b014bffa5c5ee
+AUX kanatest-0.4.8-autoconf.patch 363 SHA256 22b620a76fa1820cb4fedf1dd04a6601a962942191cdabf879fdc5e5db4e7fbf SHA512 25dff41e539ce5b758799df673735407c13560762a091a886e552c26be4dd7191bcd867523756e1f0b52066c13774ee16d5b1a32deb94e0355a9ae1396d0cf54 WHIRLPOOL a1d70c83a7764e848a85f5d91e91f3a8655f99de35512f10046b27fa5fcce1373233eadfd7d968fc44c41ec322ae5922a866ff72a426133d50612ac26d74a7b9
+AUX kanatest-0.4.8-cflags.patch 432 SHA256 e453cc52e43815e6751a36f2cb43b0e8163f673ffdd8f265e506bfacc0a32f4f SHA512 7d1d9ffda261a918d37b76fac63e641428c41ac225845cfe58b1bf5e4c8908447c56340f581b918ef55d34754f7b795d4cd0fb1eb03ea6327e43b719a95a367d WHIRLPOOL 57ce02f96928e031c1ce168135e0896434405698922fe113930797ad76d1e24855a47bc020109e7d7a68f3186f16afc95909b9669085a17ad054af0fafb428c0
+DIST kanatest-0.4.8.tar.gz 302154 SHA256 a31682604bc6db9c0cb2e15429b8a5b64c04f1ed96df912cab71d4337567c513 SHA512 c52a5e4104c17eae29f03f30abd7f003c83757e04298427112593603eab0edf7d7927b0567a053f2ea3b8aac66921546180c452d84ef6b3cdc2a361f14cbac47 WHIRLPOOL f828297eab1c381c201d1c31fc1e58b5af0a1dd4e9007b0e36c77f97d1d8e9c6ee679afda2defa0bd5f3fa9fdbd8d2a033c98e9e823cec2d8161e9b72e207a0a
+EBUILD kanatest-0.4.8.ebuild 956 SHA256 2a2a0ca533cb6ee9411548d1ea1a07aa7d752df9ee940c82413dc80232ac1de9 SHA512 df15f6d6a70bbf03f6432d47967997a19bb0e31b1f6cbc4037a5580c1f6fee12f3312a2b8af1baa0010640922506997f00dc288d053151b2ffbf5b861cb83036 WHIRLPOOL a1c3b8e8152d46e68d18496f53f8ac56c7cd68c7086d391fb25e4be15444ac82e75556e756c21550a2dacd8bde0403183cba257bf1228cb6c53d6b2039929fb9
+MISC ChangeLog 2544 SHA256 0f3fe448512582b30e9def5681b1def0ffdd985b54c5d24eb8c72dc3cce40d5d SHA512 46d1d59af4028f89a10d2becd69e8d4b9e906a0decf031bc345a5880391ed5d2659ea5b55914cc663957add9c1efd54b2d63fdd28c7e7ed36df94fb7594761f8 WHIRLPOOL 215788addee9f964169f736fce7da75ef9666521dcc61a3a461762e3123e55d6f8e382ceea4ac79a1d7e1c89c7ab4c1a2445aed84d36df2f7985ad86a36ae274
+MISC ChangeLog-2015 4554 SHA256 7ebd92187edc8423d651702f63b651586d15a5e837482beed167ed805e9f7485 SHA512 18a6fb80143937a52d17e334289dd4a9eed25a89e7a812ac4b56ce1b0f2222beef9bade54ae93a5ae66cad4b7423f7abaf4e34d5b67b28fd44fba12a3d369b36 WHIRLPOOL 216f411519edfcb6034fa500389afb5c1c35d95333f2d2d9ce7a90bff09c2c5941cfc787b39add65aa3cf4f56282d00ce4393267e2e78517f33e6d0029da3c95
+MISC metadata.xml 230 SHA256 5fc421627b578ee2d1317320525119c0b406026597bb1d054f96254a241bf96a SHA512 74065bee639a38ecdef7c32280ed43a8f1627362cd8e97e714a09bcf116ae8bc4c61b2ab13c31bd02a22ae8a5a201263981ee519a0b6ba9df81a4d5f3cd94eb1 WHIRLPOOL b3c1363540645200abd5bf0b5b7fb3cae0b738bfd359f7b13b56d97650f9381fccede1e3f867dbc736461ee7c7906725a3c53eabd9ac99929d5c7c520a831082
diff --git a/app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch b/app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch
new file mode 100644
index 000000000000..5db2c1e0adaf
--- /dev/null
+++ b/app-misc/kanatest/files/kanatest-0.4.8+gtk-2.22.patch
@@ -0,0 +1,23 @@
+Index: kanatest-0.4.8/Makefile.am
+===================================================================
+--- kanatest-0.4.8.orig/Makefile.am
++++ kanatest-0.4.8/Makefile.am
+@@ -1,5 +1,5 @@
+ SUBDIRS = src po data
+-ACLOCAL_AMFLAGS = -I m4 -Wall
++ACLOCAL_AMFLAGS = -Wall
+
+ EXTRA_DIST = README AUTHORS TRANSLATORS COPYING ChangeLog
+
+Index: kanatest-0.4.8/src/Makefile.am
+===================================================================
+--- kanatest-0.4.8.orig/src/Makefile.am
++++ kanatest-0.4.8/src/Makefile.am
+@@ -1,6 +1,5 @@
+ REVISION := $(shell if test -e .svn; then echo -DREV=\"`LC_ALL=C svn info | sed -n '/^Rev/p'| sed -e 's/^Revision:\ //'`\"; fi;)
+-AM_CPPFLAGS = -Wall -DLOCALEDIR=\"$(datadir)/locale\" $(REVISION) \
+- -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
++AM_CPPFLAGS = -Wall -DLOCALEDIR=\"$(datadir)/locale\" $(REVISION)
+ bin_PROGRAMS = kanatest
+ kanatest_SOURCES = about.c about.h \
+ chart.c chart.h \
diff --git a/app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch b/app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch
new file mode 100644
index 000000000000..e92747646a6c
--- /dev/null
+++ b/app-misc/kanatest/files/kanatest-0.4.8-autoconf.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index eca7a05..b5ac45c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3,7 +3,7 @@
+
+ AC_PREREQ(2.59)
+ AC_INIT([Kanatest], [0.4.8], [pasp@users.sf.net])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
++AM_INIT_AUTOMAKE([-Wall -Wno-portability -Werror foreign])
+ AC_CONFIG_SRCDIR([src/about.c])
+ AC_CONFIG_HEADER([config.h])
+
diff --git a/app-misc/kanatest/files/kanatest-0.4.8-cflags.patch b/app-misc/kanatest/files/kanatest-0.4.8-cflags.patch
new file mode 100644
index 000000000000..1f3835803e8b
--- /dev/null
+++ b/app-misc/kanatest/files/kanatest-0.4.8-cflags.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index b5ac45c..c2c6d18 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -38,7 +38,7 @@ AC_CHECK_LIB(xml2,
+ [],
+ [AC_MSG_ERROR(You do not appear to have libxml2 installed.)])
+
+-CFLAGS="$BUILD_CFLAGS -Wall $PLATFORM_CFLAGS -D_GNU_SOURCE"
++CFLAGS="$CFLAGS $BUILD_CFLAGS -Wall $PLATFORM_CFLAGS -D_GNU_SOURCE"
+ CXXFLAGS="$CFLAGS"
+ CPPFLAGS="$gtk_CFLAGS $xml_CFLAGS"
+ LIBS="$gtk_LIBS $xml_LIBS"
diff --git a/app-misc/kanatest/kanatest-0.4.8.ebuild b/app-misc/kanatest/kanatest-0.4.8.ebuild
new file mode 100644
index 000000000000..903fce705d6e
--- /dev/null
+++ b/app-misc/kanatest/kanatest-0.4.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="Visual flashcard tool for memorizing the Japanese Hiragana and Katakana alphabet"
+HOMEPAGE="http://www.clayo.org/kanatest"
+SRC_URI="http://www.clayo.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.12:2=
+ dev-libs/libxml2:="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS TRANSLATORS ChangeLog README"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}+gtk-2.22.patch \
+ "${FILESDIR}"/${P}-autoconf.patch \
+ "${FILESDIR}"/${P}-cflags.patch
+
+ sed -i \
+ -e '/Encoding/d' \
+ -e '/^Categories/s:Application;::' \
+ -e '/^Icon/s:.png::' \
+ data/${PN}.desktop || die
+
+ eautoreconf
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/app-misc/kanatest/metadata.xml b/app-misc/kanatest/metadata.xml
new file mode 100644
index 000000000000..c921b96adf6c
--- /dev/null
+++ b/app-misc/kanatest/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/khal/Manifest b/app-misc/khal/Manifest
new file mode 100644
index 000000000000..6461f1c9c394
--- /dev/null
+++ b/app-misc/khal/Manifest
@@ -0,0 +1,16 @@
+DIST khal-0.8.4.tar.gz 129251 SHA256 2e5c41eadf83c8f175dc05816571e747da921b025e4acc6b287c109b6e237e0f SHA512 8a1066f137db1b3a9c2cc246ea17baf6745efd3db9dadacb76b287546137da363bcd78a4ac2acd2c659fbf25f16b155cc993099067a736ef3b68b2e8512d7b83 WHIRLPOOL 094c9ec2a0343d557ba70956239d5fa719d9fd08c7038d542b173f18ebce30b11761ac2e09780381fb55a9942cb885fd63b46d6c32573c94ed52990f34841e7b
+DIST khal-0.9.0.tar.gz 158220 SHA256 b9aa992a8ed1a5d816eeeff79256ad7edea591acdf16ae30e65bfdc3adef0f8d SHA512 f457d6cbd323f65c2185776b8c8ed67268820ee4c06c845f3640dfc085a5528b19c855ada670d397a74d6c0785b7abeb90247528cbc826b39b51284917577acd WHIRLPOOL 4f003e39735917a7dec13f4aaffb851755e0d1f2c2d007111a4766622dfc900cece0c0dd38d5735d145ba36855639c08d1db3c3a7e5e9da5d428e23c469fc600
+DIST khal-0.9.3.tar.gz 165182 SHA256 d4d748ae09fd0069124bf28ca61db1b1fbc3e8e95e2f23e597e28e2e38336ac7 SHA512 38f9c059eb8ebaacd40d4d5e276f8e42ea0bcc5237b46647974601458fc8576ec8920873cc90c002a8e101b2383028d60a2e74dbfb601acd9c0770ada2c63b65 WHIRLPOOL 8461b39508fb3b5bd2a0532dd71507334852b71492688f0dabcf76b9d70cf8f29e831a36d38028340c1fa1853dda4c1eda706559e8ee6dfb9ecdc112363b5002
+DIST khal-0.9.4.tar.gz 169530 SHA256 21aa1ac464383a515be9f18d6b06413d17116ef9353d5349211c540c4bd7996e SHA512 a17643dc998b3414bb62d2fd2fd42a364dd5344eeb54be9cb310df8da952e06add41669d65d61b550385bc94bccff4382fca78e4cdcf71a202b8abe5c394d394 WHIRLPOOL 4ca55e0b5cdde8cde0b85d45b1b3936bd3f0b39bce127d9d59e2c442b37d93a520b83b523506579f4ebbccacd6bc26698ab4cd2de9330e872ed01c006f54d47a
+DIST khal-0.9.5.tar.gz 170011 SHA256 b945894cb4ededa6711989814bd4866815f322aa25dff581d808a7eae5047b3b SHA512 8dae0989a7351a4148e9f6e52e8b69d1b46c7e5465233d5e389db5a20c9da6349da11f0119df7536b01c620a30cb43805cfcedaa32d563a592a337b0faf56946 WHIRLPOOL c98a2a7e7c03654c3b2bac0ba80104b61b8ef1ae8db6e41c8662a75470b7044d9ccfe6a01c702e65b79db645583793deed4fa4f6e65297f0b9079477159d6eb8
+DIST khal-0.9.6.tar.gz 169539 SHA256 6ec7ce0202764839521f47805e10ac1f54e9adfae3f82e7c1e67ad88eefd6772 SHA512 3d8299d714fcf64d4790d270238acfc9250bfabce2182f49922e51004bce33509853ed6889e9eb694ee2f8f3357b1a175b2cec29ec135cf7fc8bacf237bbcc11 WHIRLPOOL 0bce1dca6f0a7fab0cd0399a9bbd020d8c77d30991181ba6856a46905295e6d68889149c171bfebd7c119a490a7154a3bc13820e072d754b7e0f65c83c523f75
+DIST khal-0.9.7.tar.gz 173401 SHA256 bbdacd99e725a21e35c5baf335261bf40528735bda6499c509ebbde39c303774 SHA512 24fd1ee472971f029f998b061da719a0dfe4ee9584a5ea237b6cf0c886b5c45d7a7ee4bf9c23c41eb0dd0c5eba0bcabed7a5f05ae486a890150429031e215180 WHIRLPOOL 7fa7125c169bc45ea4a9d638fd916698c9f4a7b792c8695020e7b82c593b8af3583546c11fb519cd3cd470caeaf21bda59ee9782e7d4bbb74e6710a7b0e63009
+EBUILD khal-0.8.4.ebuild 1151 SHA256 23ec573c9d60b9df113a20aa7cd97b45ed58cc2d0ae7f3e9431db621296e3afc SHA512 a5d52e25b3ceb769d8b7a3a0ab288614d0a82233e952a74636dd4b0a070752e62349d544059c5d0a9d0aebfbd94bec39cd8d36281d7e826329c94d52e4f5d814 WHIRLPOOL b7773abd83056d990d5b712f7f32723c6d95d4ec18f4d20e0492cdcceff50042dcefb8c19c990e5c652f8609d30dc807420e4f47a77bbd412485c27d65fc250e
+EBUILD khal-0.9.0.ebuild 1153 SHA256 7a2a9f4aaef30d9facf68d2df0410e9565d242be3f13c484cbc275359116c39a SHA512 91d0cfc7b312a591a14d376990cb110adcda9f147395bd7826699c8355acf0f4d537ce157e3d2f4f908cfb4413285145789e0a98b1d2fc8e385293d593e9facf WHIRLPOOL b5f23b5894ab531733ca9361e90059ae3ccbe3d24cdd1acac97547e2c7ebf1ce6c406792bb6e09e7da3e773bd715932956904ff316e0f39901281bc536e61a9c
+EBUILD khal-0.9.3.ebuild 1157 SHA256 05852e03ae965f17293ad4e42dae39ca48db0ad4a31f14ef620d18d32e167942 SHA512 f4d62e00c1e6af9d40684a5c979f8055b1519754092f7e7ac13b58b7dd12b5f53341b879b83ecc03557bd363640f905832c0bb921c3e98001c6340401487e2cd WHIRLPOOL a449a011629dee02f9dfbc9ed095ba9e460f1e6141fe148e2aac1dc18b7666bb5295e4bec48263c49673b2af3dd259ef8f62afc7979b50d10b893597eb9115e5
+EBUILD khal-0.9.4.ebuild 1159 SHA256 b4a5ced84cb9033e5f7307a755ab9c64b0605b1bd68acfffd650215535129035 SHA512 25edba1f75d1fc43065e23bcac10799dad769129575468097962cfaf24e1e4d2b7e72db4f8b0b2dc815736877ecae2dfb2a56391d1b1d337cf229506218c7f8d WHIRLPOOL ebaef43610fdf57236a246db7668df5e4d3d68afead3d17106bf708f3bf2da1d0e990ab6a30b2e369c0a732c5a64ff11ce6f0ec7f62e67bf790b13ac5088d8ce
+EBUILD khal-0.9.5.ebuild 1159 SHA256 b4a5ced84cb9033e5f7307a755ab9c64b0605b1bd68acfffd650215535129035 SHA512 25edba1f75d1fc43065e23bcac10799dad769129575468097962cfaf24e1e4d2b7e72db4f8b0b2dc815736877ecae2dfb2a56391d1b1d337cf229506218c7f8d WHIRLPOOL ebaef43610fdf57236a246db7668df5e4d3d68afead3d17106bf708f3bf2da1d0e990ab6a30b2e369c0a732c5a64ff11ce6f0ec7f62e67bf790b13ac5088d8ce
+EBUILD khal-0.9.6.ebuild 1207 SHA256 cc69298bcf31c06a6ca65a154a8f15522f3df0d435373715b07018ba6543dc11 SHA512 d7ca15a1a4003b4da7ae77e8917c5746b55c35c4286bdf82dbd8acf14ed0c468151466d5f279d4a4b5b066a48d9f6b48ec5f53bc7f109bf825184e9e53b62166 WHIRLPOOL fc40514a004c56247567e011f14602b29eaafbdd4f519088c58519a4d81c059ad47f5405c82c60675005314c49221770922cbd7e66702e5f3f4429f91ffa6d66
+EBUILD khal-0.9.7.ebuild 1207 SHA256 cc69298bcf31c06a6ca65a154a8f15522f3df0d435373715b07018ba6543dc11 SHA512 d7ca15a1a4003b4da7ae77e8917c5746b55c35c4286bdf82dbd8acf14ed0c468151466d5f279d4a4b5b066a48d9f6b48ec5f53bc7f109bf825184e9e53b62166 WHIRLPOOL fc40514a004c56247567e011f14602b29eaafbdd4f519088c58519a4d81c059ad47f5405c82c60675005314c49221770922cbd7e66702e5f3f4429f91ffa6d66
+MISC ChangeLog 1028 SHA256 d879f18124fea76db8d4cc51579cdab621b389f144aead24c842bbf0622daaf7 SHA512 06c356eabff51f8edb7847dfbb85eb645b6c14321ce6f22803e1fddb97a7dd078f8e4d46cb429d31d91d6aee7f27b25d33379de13f8a6883b38d5ef8f106b976 WHIRLPOOL 465fb22893050fbba31ff811d35d158f3d06434ed14e5f68c520c225cdafa558202439cedb883c8978ccb3d43fb3fc8879f009b9684563dcea952a5e8e9a9d27
+MISC metadata.xml 284 SHA256 edf94250bc0c7fc9f49be9cb2b451cde8023f01eea032ca9e22444cab947bcdd SHA512 f820693ee6476d881b86783e810e6be3ad1df41f35dc1c30d03f44551ae71b1e5a99a1aa5f8543ffa15a0a5a1e420193c57d6ef4b88fa98257bf0d4f2fab5934 WHIRLPOOL 44ff13c695839104ed16e2a4167e3808e429799c7808e03d79bfefafcd3446c36cf5790d2eee6f247653011177300453cfef12ef63db742c88ab0a7b0acdb9aa
diff --git a/app-misc/khal/khal-0.8.4.ebuild b/app-misc/khal/khal-0.8.4.ebuild
new file mode 100644
index 000000000000..48d27253bc4b
--- /dev/null
+++ b/app-misc/khal/khal-0.8.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_4 )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/vdirsyncer[${PYTHON_USEDEP}]
+ dev-python/pkginfo[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.txt README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/khal-0.9.0.ebuild b/app-misc/khal/khal-0.9.0.ebuild
new file mode 100644
index 000000000000..362f618a8b89
--- /dev/null
+++ b/app-misc/khal/khal-0.9.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_4 )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+ dev-python/freezegun"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/khal-0.9.3.ebuild b/app-misc/khal/khal-0.9.3.ebuild
new file mode 100644
index 000000000000..b8b06ecf587f
--- /dev/null
+++ b/app-misc/khal/khal-0.9.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,6} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+ dev-python/freezegun"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/khal-0.9.4.ebuild b/app-misc/khal/khal-0.9.4.ebuild
new file mode 100644
index 000000000000..cb6d7212337f
--- /dev/null
+++ b/app-misc/khal/khal-0.9.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+ dev-python/freezegun"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/khal-0.9.5.ebuild b/app-misc/khal/khal-0.9.5.ebuild
new file mode 100644
index 000000000000..cb6d7212337f
--- /dev/null
+++ b/app-misc/khal/khal-0.9.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+ dev-python/freezegun"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/khal-0.9.6.ebuild b/app-misc/khal/khal-0.9.6.ebuild
new file mode 100644
index 000000000000..794c616f1a86
--- /dev/null
+++ b/app-misc/khal/khal-0.9.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ >=dev-python/click-log-0.1.3[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+ dev-python/freezegun"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/khal-0.9.7.ebuild b/app-misc/khal/khal-0.9.7.ebuild
new file mode 100644
index 000000000000..794c616f1a86
--- /dev/null
+++ b/app-misc/khal/khal-0.9.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A CalDAV based calendar"
+HOMEPAGE="http://lostpackets.de/khal/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="zsh-completion"
+
+RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
+ >=dev-python/click-log-0.1.3[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/urwid[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+ >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ zsh-completion? ( app-shells/zsh )"
+
+DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+ dev-python/freezegun"
+
+DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
+
+src_install() {
+ distutils-r1_src_install
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/__khal
+ fi
+}
diff --git a/app-misc/khal/metadata.xml b/app-misc/khal/metadata.xml
new file mode 100644
index 000000000000..82b122eb7d08
--- /dev/null
+++ b/app-misc/khal/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>amynka@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">khal</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/klavaro/Manifest b/app-misc/klavaro/Manifest
new file mode 100644
index 000000000000..c0e50366463f
--- /dev/null
+++ b/app-misc/klavaro/Manifest
@@ -0,0 +1,9 @@
+AUX klavaro-3.0.1-datadir.patch 996 SHA256 1c9f6e3033a20c55842c9e526369c2b60d70bcb328af1fe20cd098c9083cc0c6 SHA512 2f2547945af46df703a5e9276be0a55f899ab10341f370beb4fee1eb241c235e5ea99f8069e9c8989c4ff42e6b7130741bd8c5a0ed47ce63dbeae1fb3b9a0e8c WHIRLPOOL 97dc217ed81b7609629e52b359cb98da10c57d2a5b0f6241ed356781431244d0f989e14c97a28ac33099fa4bd79a619e53357f59cff70beefe533616aa127efd
+AUX klavaro-3.0.1-out-of-source.patch 334 SHA256 ff82dbd83b8bd4d5cd4a08a8fdb40d27282df9297a83ca1d6980c7a120c4696e SHA512 d33e2a22e710a24016630b2f61b7804eb5ef49142148047c9d8b9a79a22ed788694c66cc01f68d0ce5be6b581e26fc5f4fe104b8fd68e7b0d9098c29c021b6ad WHIRLPOOL e40c214a211b6781d2a792cdf969744a5e794d9127b126ac3449be30fe475bb35214756422f6aa353d1bb64c5b26994124b351e43da33dd04686cc8a19040321
+AUX klavaro-3.0.1-static.patch 295 SHA256 982989787da3c0cd35a17f4e02dc0989be95e0df309fb49488dbbaa17376effb SHA512 9b7bbe2fe977df36afc7ebcb286b71e081c78ec1b72d611d78442250360fb8da2e8c424bcc327194268a39ab8ab1cce2a27be6a182bf7872284432e28a340863 WHIRLPOOL 1ac0e7478d51d7d4492eeb279ad0628cc7cf415ed9f5b71fcaa3f88249f4ea7dbedf9d9878ca84f67ce4e396ad5da05a035b902dcf8a80fa0661671b9664309f
+AUX klavaro-desktop-keywords.patch 488 SHA256 67a9ea4996ef819202e9a8c8a8ee55410c765fdc4de24a4b237cfab243dd3b29 SHA512 34ee19f48c34ab5c79afc83eca15b24fe4ee85fee9105926cee9291815f2be0f9d991e740cacced1c27602c23121b03a630db3308f77aa7325c26fe07715f07b WHIRLPOOL 3906a57c187a1c5881ad80a34d00f98d014c3402d452f071b819a7b60e353dbca78719bead49f0cda294022050e6ef69bfec936bc75d773b4a08f8c283bd2fb5
+DIST klavaro-3.01.tar.bz2 1140146 SHA256 ed71d522c29113d5d6517a65cbf95dafbe85ca4bb978139b804b98f128015e85 SHA512 5d58269867d2b39309e07ca9dd6c525d67acaca93dea0010332e39e8f3dd444070dbc75abad00ac4ca3fd4155f41cf871cb8ccee3dc332aa31f85c8b17d7c48b WHIRLPOOL 7c45bf861cdca5ee40bf525377ab679bc8d02b6fc3c6559ccd376896c53246bca32a569721e77f4003c19488cbcc88c6ec48a17ee54b1fb0a959c3c76b69d977
+EBUILD klavaro-3.0.1.ebuild 859 SHA256 5a42881c65f3049c2ae067c6cda01953755c4f207390412234f20c9628db58cf SHA512 05b3d4c7b737430bdb4c8b0aed2384a93b3bf7e52d51030b594b28b9cd28a918143c19577ef0130db9a2fd6d681e79d7f9e1b9ead7d8bbac4173cfc2607f411a WHIRLPOOL e59003cd72f76ed876f1e4bb15f5bcbdb14fc216ef57d3041febb58e572fd016071e983acaabcbb0076a8c4549688e852126dc16183bd47098cba7b56d9e196b
+MISC ChangeLog 2678 SHA256 d88463f33b6f00b7b1d0c26d8f26676de3b9230c19d1fcda7d60095b4590b8a8 SHA512 c2231eaab24eb04c374f144a5bfec277cd7745cfba2739fdf11102297bf86e686ad72ab1cc8615bd8ba19305ca7256fd654f540afd185d4851c2dc888e2bcf7b WHIRLPOOL 70f1b6be01b90126880c2211276e4029f0f1486e4c62fd4cb68ae71fd31dba1f20ba198a3d123d11865a3a4d0c3e9eb06ce6cb14fe6c4d35b65dc5a54c35d937
+MISC ChangeLog-2015 4467 SHA256 56fc8903d95fe681968562e8fa69a51ddbf0fcf9a3dc3e283cbda6fad1ec2481 SHA512 39c12b626f65442a198ceba5aae5b0bee282df5cbc938e692ae5e173b3104cd13345e85c81acfd68bc723c1762bc7ce13992dc2533aeb8541973e13353503297 WHIRLPOOL 702eeb300b844de0b90f1c1625627e0973b49f0c80f30c4dcc3581413c0719211be0d8b2ba5951c46f0051ef79560cee5095a360fd17865683b720ed145bc538
+MISC metadata.xml 244 SHA256 49ca1b5b47c1777be36b767d91653cf70ee47e268e4ad84bfbc722175c6ac352 SHA512 cba7dce2e4ffc562ca054e00c09dc2d6ef32c8ba4928224c361374f4ae61164624a56ff7778328d624feb4a1de20be8c69f1bc4762f30babbfd67658a78694a4 WHIRLPOOL af0831a6fef774f3ce539f07db5378900eeb583f105acaa3305eea7cd4139e8b81037abe10fdcb69d86c8b0bca0c7c8e670d88897c15dc91173bc62e1ca7f08f
diff --git a/app-misc/klavaro/files/klavaro-3.0.1-datadir.patch b/app-misc/klavaro/files/klavaro-3.0.1-datadir.patch
new file mode 100644
index 000000000000..21047a197ccb
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-3.0.1-datadir.patch
@@ -0,0 +1,27 @@
+--- data/Makefile.am 2014-12-18 23:16:47.513887559 -0500
++++ data/Makefile.am 2014-12-18 23:16:59.060609420 -0500
+@@ -151,11 +151,11 @@
+ EXTRA_DIST = $(klavaro_data)
+ else
+ @INTLTOOL_DESKTOP_RULE@
+-desktopdir = $(prefix)/$(DATADIRNAME)/applications
++desktopdir = $(datadir)/applications
+ desktop_in_file = klavaro.desktop.in
+ desktop_DATA = $(desktop_in_file:.desktop.in=.desktop)
+ @INTLTOOL_XML_RULE@
+-appdatadir = $(prefix)/$(DATADIRNAME)/appdata
++appdatadir = $(datadir)/appdata
+ appdata_in_files = klavaro.appdata.xml.in
+ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ DISTCLEANFILES = $(desktop_DATA) \
+--- src/Makefile.am 2014-12-18 23:17:35.956725053 -0500
++++ src/Makefile.am 2014-12-18 23:17:45.309501898 -0500
+@@ -20,7 +20,7 @@
+
+ AM_CPPFLAGS = @GTK_CFLAGS@ \
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+- -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
++ -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\"
+
+ AM_CFLAGS = -Wextra \
+ -I$(top_srcdir)/gtkdatabox
diff --git a/app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch b/app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch
new file mode 100644
index 000000000000..5e4a9d48fbd1
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-3.0.1-out-of-source.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am 2014-09-05 10:26:56.000000000 -0400
++++ src/Makefile.am 2014-12-18 21:27:55.443335860 -0500
+@@ -29,7 +29,7 @@
+
+ klavaro_LDADD = @GTK_LIBS@ \
+ -lgmodule-2.0 \
+- $(top_srcdir)/gtkdatabox/libgtkdataboks.la
++ $(top_builddir)/gtkdatabox/libgtkdataboks.la
+
+ if IS_POSIX
+ AM_CFLAGS += -export-dynamic
diff --git a/app-misc/klavaro/files/klavaro-3.0.1-static.patch b/app-misc/klavaro/files/klavaro-3.0.1-static.patch
new file mode 100644
index 000000000000..010cd11de005
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-3.0.1-static.patch
@@ -0,0 +1,8 @@
+--- gtkdatabox/Makefile.am 2014-12-18 21:26:18.129806730 -0500
++++ gtkdatabox/Makefile.am 2014-12-18 21:26:30.528364491 -0500
+@@ -1,4 +1,4 @@
+-lib_LTLIBRARIES = libgtkdataboks.la
++noinst_LTLIBRARIES = libgtkdataboks.la
+ libgtkdataboks_la_SOURCES= \
+ gtkdatabox.c\
+ gtkdatabox_marshal.c\
diff --git a/app-misc/klavaro/files/klavaro-desktop-keywords.patch b/app-misc/klavaro/files/klavaro-desktop-keywords.patch
new file mode 100644
index 000000000000..fbf39ab954be
--- /dev/null
+++ b/app-misc/klavaro/files/klavaro-desktop-keywords.patch
@@ -0,0 +1,11 @@
+--- data/klavaro.desktop.in 2015-01-07 21:52:37.877646655 -0500
++++ data/klavaro.desktop.in 2015-01-07 21:52:56.391720366 -0500
+@@ -2,7 +2,7 @@
+ Name=Klavaro
+ _Comment=A very flexible and efficient touch typing tutor.
+ # Translators: these are keywords related to the program. CAI above means Computer Aided Instruction. Feel free to add and/or change the keywords in your language.
+-_Keywords=keyboard;typing;tutor;CAI
++_Keywords=keyboard;typing;tutor;CAI;
+
+ Exec=klavaro
+ Icon=klavaro
diff --git a/app-misc/klavaro/klavaro-3.0.1.ebuild b/app-misc/klavaro/klavaro-3.0.1.ebuild
new file mode 100644
index 000000000000..85aeeb7371d5
--- /dev/null
+++ b/app-misc/klavaro/klavaro-3.0.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils versionator
+
+MY_P="${PN}-$(delete_version_separator 2)"
+
+DESCRIPTION="Another free touch typing tutor program"
+HOMEPAGE="http://klavaro.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+static-libs"
+
+RDEPEND="
+ net-misc/curl
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/pango
+"
+# gtk+3 version needed
+# x11-libs/gtkdatabox
+
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ >=sys-devel/gettext-0.18.3
+ dev-util/gtk-builder-convert
+ "
+
+PATCHES=(
+ "${FILESDIR}"/${P}-out-of-source.patch
+ "${FILESDIR}"/${P}-static.patch
+ "${FILESDIR}"/${P}-datadir.patch
+ "${FILESDIR}"/${PN}-desktop-keywords.patch
+ )
+
+S="${WORKDIR}"/${MY_P}
diff --git a/app-misc/klavaro/metadata.xml b/app-misc/klavaro/metadata.xml
new file mode 100644
index 000000000000..0320234782c0
--- /dev/null
+++ b/app-misc/klavaro/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">klavaro</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ktoblzcheck/Manifest b/app-misc/ktoblzcheck/Manifest
new file mode 100644
index 000000000000..9ebf7c318450
--- /dev/null
+++ b/app-misc/ktoblzcheck/Manifest
@@ -0,0 +1,5 @@
+DIST ktoblzcheck-1.48.tar.gz 561054 SHA256 0f4e66d3a880355b1afc88870d224755e078dfaf192242d9c6acb8853f5bcf58 SHA512 897a98b7f39cee43f46fb34009e5d51b06fc0734f4c6e50adf888e9663114c7f927ba5b34cfe8786cb4558621828a580076cd975512a253f247b1e4ce5cfb089 WHIRLPOOL 71a4734aecc042ac2ca6a1cea84fbd70303df3666a76b09696c53ff883c7e0de7588b7eb393774327dd601fb6a4e23aa13b116da2995d006f6b8777f4de8f42d
+EBUILD ktoblzcheck-1.48.ebuild 862 SHA256 0fe0113b095d8eda44d33ed49d40fc19f3150c142d4bf2268ee827a3fcdb0725 SHA512 376d251218ef70ed24e9d54d5057634cb46b296fe9c5705eee29ce29232705a37cc4d09d332d90890385285d72866b1fa3c53697f91a53f044c7febeab7f9691 WHIRLPOOL b9de743fd0e865f75c59178c9f36ce8f8955b15f3a270fda7a21c7e2667caa7a646afd635e9ed03d81eb284f1316e2b7f10bc13defd10e2fa21f17f7990701d4
+MISC ChangeLog 2670 SHA256 8023c25698813b41da9c047f22f6e41dba07cedc23947d6a36650ba78c3a77d1 SHA512 c3909c352e2ba5a35eb85da755fd57d30939df7f1ca25ed081f0e24083e757805a9b08c1da8ff62204e8d119430930aad7d83892946166aca0a54d48dd458521 WHIRLPOOL a6660d964f93415e50fe6b554605419321aa3a7eb70981ca8a02db62c500cc8c958309d992dd7326cad050dbefa6ba640cb5edfd2aefbcb84c8be87a9245b6aa
+MISC ChangeLog-2015 10449 SHA256 5690fe310d0c3a28fc35ed9fab0a8272e7a456f146a371fe1d019de1d3d0e86b SHA512 3472cabb9c3d340b90394917c3e8ea9f872aa02b7cdc4ebebad4e390f19e845a4dbe24b08a93b444e5f0bc38bc53522838292762cdca67b9a85165d532288adf WHIRLPOOL 4fa14b1b0e2b7253a068bc533180e8ebd1088a76ff5d5bcf85870400528198440c56fbcf476a49b62118b82de41d95e4ecfefb5572e787560d6ca29b0499d13b
+MISC metadata.xml 297 SHA256 78eeb723fc71c1f44a00c684dbf2cb12ecc88e4fca8e309f45ac54ed911068fa SHA512 c4c121f254990adfc30d96af3e0d58bbf937863f521422d759779dba224f3eb6a904c7e5a03bdd65e25afcc0fd67fb8ffd84566799771b1c73bf7f43d9c92c0a WHIRLPOOL 89472972ed5e55d0451d25ef0f6c6006d7f46220946a07537f3f87eefb150db7355c480b63624128e7174b64680c5bc8d58767b40405381d903809fe45cc6c86
diff --git a/app-misc/ktoblzcheck/ktoblzcheck-1.48.ebuild b/app-misc/ktoblzcheck/ktoblzcheck-1.48.ebuild
new file mode 100644
index 000000000000..a14ed1ae7f56
--- /dev/null
+++ b/app-misc/ktoblzcheck/ktoblzcheck-1.48.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit python-single-r1
+
+DESCRIPTION="Library to check account numbers and bank codes of German banks"
+HOMEPAGE="http://ktoblzcheck.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 ~sparc x86"
+IUSE="python"
+
+RDEPEND="app-text/recode
+ virtual/awk
+ sys-apps/grep
+ sys-apps/sed
+ || ( net-misc/wget www-client/lynx )
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+ >=sys-devel/libtool-2.2.6b"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+ econf $(use_enable python)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-misc/ktoblzcheck/metadata.xml b/app-misc/ktoblzcheck/metadata.xml
new file mode 100644
index 000000000000..e7d969e77aff
--- /dev/null
+++ b/app-misc/ktoblzcheck/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hanno@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ktoblzcheck</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/lcd4linux/Manifest b/app-misc/lcd4linux/Manifest
new file mode 100644
index 000000000000..b0d3f04cd695
--- /dev/null
+++ b/app-misc/lcd4linux/Manifest
@@ -0,0 +1,12 @@
+AUX lcd4linux-0.10.1_rc2-autoconf-2.65.patch 593 SHA256 7aab2efe60f6914da17c30b075ec127e07e4dc815f834c49017723baf02ba2be SHA512 55f09599fa894f9ce7aa128e708d7c7bc145630d0db6ec31b04302cdf9df19aec12a05debf66dc8fb8cf6b657f3f6c430ae6615a946c7d84a7b6875880241bb2 WHIRLPOOL bfebdf769cb3aaeefc8b0e01c72f46146e74e91fb265f7c8900501abf8dbffd93e2ba7167f5be69e2e9f813b50d0e483d65d316316a67fc63181405efb9ec245
+AUX lcd4linux-0.10.1_rc2-missing-header.patch 337 SHA256 39dca4b3a224f006c8c5b065d1a51f494b985d73b8a2e04e39fc5b88bc12684d SHA512 3bec09fbd773565945c925a39412223e1f59db2752290ba945d254ccdf826b8789162c7482d98feca8ebd0dde14be7ce18c46fb7c4d98cd9c4129d4e96dfea89 WHIRLPOOL 53b10ecab7bcb8d02e3f86920bffa62737d77efba73b4af30aa8da51d79a2d68a8ae3b1453f50eec4af944dfa015d69da747efa72c1ce89d1551c29910fd4936
+AUX lcd4linux-0.10.1_rc2-mpd.patch 9230 SHA256 ee1294d4c53086b998f1ff3fa90987b5a58baa589850b77edab755ef836b1583 SHA512 8763f22deb728d5bfbd4ae601c3cc8808ada042374b604a3787429497373d6d52cbe48f72be37d149f823debfdc740b2a23db5fe2e20ab1091743f2d6ba186af WHIRLPOOL 0fee25e461f1cc2b759b2e90981a2f8f0176354b8c287d5a8b72fc5a70ee50fe2bc4c7034401ab8807bf1b1bd50ea30abf7d4bfde6940f8a2dc861ec3c1084c7
+AUX lcd4linux-0.10.1_rc2-nordtsc.patch 4703 SHA256 f0520872c820003e78f90304c0e36511e53d11cf67732eb4debb44cc68697e34 SHA512 fb0579cde4ce812e4f26a3e30f0b223c9dbafd07ccf297dffb8ba50bc757f2a7a01c37d456b4a8c8b5ec616a4b694d2efd11a55d1f2e20f4397bfcdda1d59585 WHIRLPOOL 231e3691e3ce001ec91db75e1ccd22b5e632e3afa724f91034d0a09bf5bef1daaa8e58f137fe73e8394c7c850e798c1c550b218b640cf8588ba51c96f2ae08d5
+AUX lcd4linux-0.10.1_rc2-usbdebug.patch 3032 SHA256 42b37f27aba233c1f95ad05b9931b860af2711dfc2c6440a2054fbc2d0ea90cc SHA512 252ebab0e125c2189178f1de35c46d398f79d4b5fd4ff5b92c72874e95c7b45c25eaa92b600a8d5a160e4e45c265f69b6240123c6d2ec4076c7947659e46ae46 WHIRLPOOL cf3995d82e5549c84218915ba8c0ca6bc1fa004b876956ab3e8083e7dc8346e0444f332bae19dd2501438f4379213ed23914f4f8bab824c58b953fe47a0cc701
+AUX lcd4linux-0.10.1_rc2-warnings.patch 2229 SHA256 8960a45af139e2f2d226474c9d5f099ca70605bb72815b03d9ad72222be7b8d5 SHA512 ee6b163dc93f2913c629b056ec79cffaecbdb9124d187be8e616e10cc3cec917d98cc8131fda9d3b310530c00cd61dc1617dce4f54143c77962cbc0c58f4d615 WHIRLPOOL 2b169b7d2248bddda2a03685263726247bac062e7b0fb4b6a28eb5add194941c27d955c3b5ad4d1775c6959e5b3661920ac86f8d660c5d209b1bfa907cc04add
+AUX lcd4linux-0.10.1_rc2.initd 539 SHA256 c694632b5db4b92fcc5c69d2682ca0a331ce6207a0a28f54d76c9b086f2a8072 SHA512 c3f6cc42bb6c0d7ecaa180c28c0d9a9530b32dca97cb563960a0c30ca9cbed80a7b249f970d791ba034f115ef22218feac7a449ab6fe69109a1427565d62be07 WHIRLPOOL e6274296d9a134c07985f6574744de1db590e9c2ad6ac74605b479c64c4968fd64c4373b4cf7d41dbf6b068481bd76ed7ea0885fda680124c77a6cf02a4f46ad
+DIST lcd4linux-0.10.1-RC2.tar.gz 386188 SHA256 9e69ded08dc9a8c75f36a3c020e7aa96b90313d91b2f58add6d4dfff1f8861b0 SHA512 8c4299f50ab4068d4106ba32309f4f66bfedf382a4aed7495cf400d22c57c22c4dfabd80f7e4355417c5c0d964e69f0c268a50bae6924b759b720bd728a969f9 WHIRLPOOL 71c4189e4e9a229e448d44097c2d6e5ab7c71fa97a92815438307f728b86ee238a114a14c73511e473f4c26bbc52a8b67a1a00693c7ef789c909b64165a3f075
+EBUILD lcd4linux-0.10.1_rc2-r4.ebuild 5156 SHA256 2a188ea86f6ebe24a0e6fc30174f580c1242e6604568978d7f7c8a90cf561c58 SHA512 a17a33cbeac88b0eec6a6d5fb8435667f3f9d5c33bb77e360ba7d755f6c3c138d3d6a7ee87c83eee4f4679d4df59dc27457a61ed108c0a11ed30d2dbf8d4b1d9 WHIRLPOOL 42ab4ec728734729e186201bc9fdf6a45790340080ab1b9f3c6b3fd61ecf28b483b0b7c3303d0fe809f22c867e8f50ff599a4ee732c937183ce8950ef93a41ab
+MISC ChangeLog 4068 SHA256 e57dc7e8eb73999643b0ab5c687af14dd04534110eb4308a164cd01749d9d0f1 SHA512 7e5b5cd77f2fceef55a569f4b1c8fab8f71e7c26eeba7837d45f336b54dff2b3e559e1ed6512946aadda226fbf56cc45087381a9292a5c68c9e499d123c7e400 WHIRLPOOL 559752f24152507474adbf9c83e5276c8fb98d065de0a3f271e83d278383b0dada2c40ad5bfef07e73bb8a31a143562acaf967f60ed45cb61151cb7a3cb3f6d9
+MISC ChangeLog-2015 8740 SHA256 10936a56c12340d922f78a14549df92ed5c830de975c9bb6e85db42b11560c44 SHA512 65b3a1034f3af6bcd2f9b2c095403e7c75e10285a658faf2f2a16841f7144897abc3e1744d9c4f79e29137fc4ab3bce59a5ed2c441f25e471984b8499c7c3f6c WHIRLPOOL 6c5ab7e6054373573fc7ba8a9f1a00f025e9535b20356ccbcccd2db4a7c80280f97e0946c43a4317cc9e7656f89c82194be6b078109a5b99e4faab1efe6f7ec1
+MISC metadata.xml 563 SHA256 abe221ec09199d9985d1f656959312a650a1339ce26ad5cf7aaf7bf2241baf9f SHA512 74c04fe6e8bc22b8b57d83062459c7daae1d003f86aec1318f7701389627443026a4b070d864df85b270a26c0f2882d9333bd07b4d6572b9a9b3380d5dbf40f0 WHIRLPOOL f69aa615559f5f59be8a51c9aeac2e9d00f1615af4e378a736af1a6c6e2a3d0a929f76e9c6df60c3a22f06f569ddb119b622120063527e0778859d22114fbf87
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-autoconf-2.65.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-autoconf-2.65.patch
new file mode 100644
index 000000000000..6b176a6ecf64
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-autoconf-2.65.patch
@@ -0,0 +1,20 @@
+--- ac_python_devel.m4.orig 2010-03-06 01:28:40.000000000 +0200
++++ ac_python_devel.m4 2010-03-06 01:29:47.000000000 +0200
+@@ -68,7 +68,7 @@
+ PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
+ Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
+ to something else than an empty string.
+-])dnl
++])
+ else
+ AC_MSG_RESULT([skip at user request])
+ fi
+@@ -92,7 +92,7 @@
+ If you have it installed, but it isn't the default Python
+ interpreter in your system path, please pass the PYTHON_VERSION
+ variable to configure. See ``configure --help'' for reference.
+-])dnl
++])
+ fi
+ fi
+
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-missing-header.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-missing-header.patch
new file mode 100644
index 000000000000..6b38dc038c4a
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-missing-header.patch
@@ -0,0 +1,12 @@
+diff -ur lcd4linux-0.10.1-RC2.orig/lcd4linux.c lcd4linux-0.10.1-RC2/lcdinux-0.10.1-RC2/lcd4linux.c
+--- lcd4linux.c 2007-03-22 15:10:41.000000000 +0900
++++ lcd4linux.c 2011-11-23 12:12:03.782869315 +0800
+@@ -26,7 +26,7 @@
+ */
+
+ #include "config.h"
+-
++#include <sys/stat.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-mpd.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-mpd.patch
new file mode 100644
index 000000000000..c3fa8ac36350
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-mpd.patch
@@ -0,0 +1,374 @@
+Patch for >=lcd4linux-0.10.1_rc2-r1
+
+Fixes memory and other bugs in plugin_mpd
+
+Accepted upstream
+
+Index: plugin_mpd.c
+===================================================================
+--- plugin_mpd.c (Revision 801)
++++ plugin_mpd.c (Arbeitskopie)
+@@ -4,6 +4,7 @@
+ * mpd informations
+ *
+ * Copyright (C) 2006 Stefan Kuhne <sk-privat@gmx.net>
++ * Copyright (C) 2007 Robert Buchholz <rbu@gentoo.org>
+ * Copyright (C) 2006 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
+ *
+ * This file is part of LCD4Linux.
+@@ -81,8 +82,8 @@
+
+ iport = strtol(port, &test, 10);
+
+- if (iport < 0 || *test != '\0') {
+- fprintf(stderr, "MPD_PORT \"%s\" is not a positive integer\n", port);
++ if ((iport < 0) || (*test != '\0')) {
++ error("[MPD] MPD_PORT \"%s\" is not a positive integer\n", port);
+ exit(EXIT_FAILURE);
+ }
+
+@@ -94,17 +95,16 @@
+ mpd_sendCommandListEnd(mpd.conn);
+
+ if ((mpd.status = mpd_getStatus(mpd.conn)) == NULL) {
+- fprintf(stderr, "%s\n", mpd.conn->errorStr);
++ error("[MPD] error when getting status: %s\n", mpd.conn->errorStr);
+ mpd_closeConnection(mpd.conn);
+- }
+-
+- if (mpd.status->error) {
+- printf("error: %s\n", mpd.status->error);
+- }
+-
+- if (mpd.conn->error) {
+- fprintf(stderr, "%s\n", mpd.conn->errorStr);
++ mpd.conn = NULL;
++ } else if (mpd.status->error) {
++ info("[MPD] status error when connecting: %s\n", mpd.status->error);
++ } else if (mpd.conn->error) {
++ error("[MPD] error when connecting: %s\n", mpd.conn->errorStr);
++ mpd_freeStatus(mpd.status);
+ mpd_closeConnection(mpd.conn);
++ mpd.conn = NULL;
+ }
+
+ return mpd;
+@@ -114,14 +114,15 @@
+ static void disconnect(struct Pointer mpd)
+ {
+ if (mpd.conn->error) {
+- fprintf(stderr, "%s\n", mpd.conn->errorStr);
++ error("[MPD] error when disconnecting: %s\n", mpd.conn->errorStr);
++ mpd_freeStatus(mpd.status);
+ mpd_closeConnection(mpd.conn);
++ return;
+ }
+
+ mpd_finishCommand(mpd.conn);
+ if (mpd.conn->error) {
+- fprintf(stderr, "%s\n", mpd.conn->errorStr);
+- mpd_closeConnection(mpd.conn);
++ error("[MPD] error when disconnecting: %s\n", mpd.conn->errorStr);
+ }
+
+ mpd_freeStatus(mpd.status);
+@@ -132,8 +133,12 @@
+
+ static void artist(RESULT * result, RESULT * query)
+ {
+- char *value = " ";
++ char *value = NULL;
+ struct Pointer mpd = connect();
++ if (mpd.conn == NULL) {
++ SetResult(&result, R_STRING, " ");
++ return;
++ }
+
+ mpd_nextListOkCommand(mpd.conn);
+
+@@ -145,9 +150,10 @@
+ continue;
+ }
+
+- if (song->artist) {
++ if (!value && song->artist) {
++ /* we found our first song */
+ value = strdup(song->artist);
+- //add comment
++ /* add comment */
+ if (query) {
+ char *myarg;
+ myarg = strdup(R2S(query));
+@@ -160,8 +166,8 @@
+
+ disconnect(mpd);
+
+- /* store result */
+- SetResult(&result, R_STRING, value);
++ /* store result, value must not be NULL */
++ SetResult(&result, R_STRING, value ? value : " ");
+
+ free(value);
+ }
+@@ -169,8 +175,12 @@
+
+ static void title(RESULT * result)
+ {
+- char *value = " ";
++ char *value = NULL;
+ struct Pointer mpd = connect();
++ if (mpd.conn == NULL) {
++ SetResult(&result, R_STRING, " ");
++ return;
++ }
+
+ mpd_nextListOkCommand(mpd.conn);
+
+@@ -182,7 +192,7 @@
+ continue;
+ }
+
+- if (song->title) {
++ if (!value && song->title) {
+ value = strdup(song->title);
+ }
+ mpd_freeInfoEntity(mpd.entity);
+@@ -190,8 +200,8 @@
+
+ disconnect(mpd);
+
+- /* store result */
+- SetResult(&result, R_STRING, value);
++ /* store result, value must not be NULL */
++ SetResult(&result, R_STRING, value ? value : " ");
+
+ free(value);
+ }
+@@ -199,8 +209,12 @@
+
+ static void album(RESULT * result)
+ {
+- char *value = " ";
++ char *value = NULL;
+ struct Pointer mpd = connect();
++ if (mpd.conn == NULL) {
++ SetResult(&result, R_STRING, " ");
++ return;
++ }
+
+ mpd_nextListOkCommand(mpd.conn);
+
+@@ -212,7 +226,7 @@
+ continue;
+ }
+
+- if (song->album) {
++ if (!value && song->album) {
+ value = strdup(song->album);
+ }
+ mpd_freeInfoEntity(mpd.entity);
+@@ -220,8 +234,8 @@
+
+ disconnect(mpd);
+
+- /* store result */
+- SetResult(&result, R_STRING, value);
++ /* store result, value must not be NULL */
++ SetResult(&result, R_STRING, value ? value : " ");
+
+ free(value);
+ }
+@@ -236,7 +250,7 @@
+ void error_callback( __attribute__ ((unused)) MpdObj * mi, int errorid, char *msg, __attribute__ ((unused))
+ void *userdata)
+ {
+- printf("Error %i: '%s'\n", errorid, msg);
++ info("[MPD] caught error %i: '%s'\n", errorid, msg);
+ }
+
+ static int mpd_get(int function)
+@@ -278,95 +292,89 @@
+
+ static void elapsedTime(RESULT * result)
+ {
+- char *value = " ";
++ char myTime[6] = " ";
+
+- int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
++ const int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
+
+- if (playTime != -1) {
+- char myTime[6];
+- memset(myTime, 0, 6);
+- int minutes = (int) (playTime / 60);
+- int seconds = (int) (playTime % 60);
++ if ((playTime >= 0) && (playTime < 6000)) {
++ const int minutes = (int) (playTime / 60);
++ const int seconds = (int) (playTime % 60);
+ sprintf(myTime, "%02d:%02d", minutes, seconds);
++ } else if (playTime >= 6000) {
++ strcpy(myTime, "LONG");
++ }
+
+- value = strdup(myTime);
+- }
+- // store result
+- SetResult(&result, R_STRING, value);
++ /* store result */
++ SetResult(&result, R_STRING, myTime);
+ }
+
+ static void elapsedTimeSec(RESULT * result)
+ {
+- int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
++ const int playTime = mpd_get(_mpd_status_get_elapsed_song_time);
+ double d = 0.0;
+
+ if (playTime != -1)
+ d = playTime;
+
+- // store result
++ /* store result */
+ SetResult(&result, R_NUMBER, &d);
+ }
+
+ static void totalTime(RESULT * result)
+ {
+- char *value = " ";
++ char myTime[6] = "ERROR";
+
+- int totTime = mpd_get(_mpd_status_get_total_song_time);
+- if (totTime != -1) {
+- char myTime[6];
+- memset(myTime, 0, 6);
+- int minutes = (int) (totTime / 60);
+- int seconds = (int) (totTime % 60);
++ const int totTime = mpd_get(_mpd_status_get_total_song_time);
++ if ((totTime >= 0) && (totTime < 6000)) {
++ const int minutes = (int) (totTime / 60);
++ const int seconds = (int) (totTime % 60);
+ sprintf(myTime, "%02d:%02d", minutes, seconds);
++ } else if (totTime >= 6000) {
++ strcpy(myTime, "LONG");
++ }
+
+- value = strdup(myTime);
+- } else
+- value = strdup("ERROR");
+- // store result
+- SetResult(&result, R_STRING, value);
++ /* store result */
++ SetResult(&result, R_STRING, myTime);
+ }
+
+ static void totalTimeSec(RESULT * result)
+ {
+- int totTime = mpd_get(_mpd_status_get_total_song_time);
++ const int totTime = mpd_get(_mpd_status_get_total_song_time);
+ double d = 0.0;
+
+ if (totTime != -1)
+ d = totTime;
+
+- // store result
++ /* store result */
+ SetResult(&result, R_NUMBER, &d);
+ }
+
+ static void bitRate(RESULT * result)
+ {
+- char *value = "";
++ char rateStr[4];
+
+- int rate = mpd_get(_mpd_status_get_bitrate);
++ const int rate = mpd_get(_mpd_status_get_bitrate);
+
+- if (rate != -1) {
+- char rateStr[4];
+- memset(rateStr, 0, 4);
++ if ((rate >= 0) && (rate < 1000)) {
+ sprintf(rateStr, "%03d", rate);
++ }
+
+- value = strdup(rateStr);
+- }
+- // store result
+- SetResult(&result, R_STRING, value);
++ /* store result */
++ SetResult(&result, R_STRING, rateStr);
+ }
+
+ static void getRepeat(RESULT * result)
+ {
+ char *value = " ";
+
+- int rep = mpd_get(_mpd_player_get_repeat);
++ const int rep = mpd_get(_mpd_player_get_repeat);
+
+ if (rep != -1) {
+ if (rep)
+- value = strdup("REP");
+- // else value = strdup(" ");
++ value = "REP";
++ /* else value = strdup(" "); */
+ }
+- // store result
++ /* store result */
+ SetResult(&result, R_STRING, value);
+ }
+
+@@ -375,26 +383,26 @@
+ {
+ char *value = " ";
+
+- int ran = mpd_get(_mpd_player_get_random);
++ const int ran = mpd_get(_mpd_player_get_random);
+
+ if (ran != -1) {
+ if (ran)
+ value = strdup("RND");
+- // else value = strdup(" ");
++ /* else value = strdup(" "); */
+ }
+- // store result
++ /* store result */
+ SetResult(&result, R_STRING, value);
+ }
+
+ static void getRepRand(RESULT * result)
+ {
+- char *value = " ";
++ char str[9] = " ";
+
+- int ran = mpd_get(_mpd_player_get_random);
+- int rep = mpd_get(_mpd_player_get_repeat);
++ const int ran = mpd_get(_mpd_player_get_random);
++ const int rep = mpd_get(_mpd_player_get_repeat);
+
+ if (ran != -1 && rep != -1) {
+- char str[9];
++
+ if (rep)
+ sprintf(str, "REP/");
+ else
+@@ -403,17 +411,16 @@
+ sprintf(str, "%sRND", str);
+ else
+ sprintf(str, "%s---", str);
+- value = strdup(str);
+ }
+- // store result
+- SetResult(&result, R_STRING, value);
++ /* store result */
++ SetResult(&result, R_STRING, str);
+ }
+
+ int plugin_init_mpd(void)
+ {
+ /* Check for File */
+ if (mpd_get(_mpd_dummy) != 1) {
+- error("Error: Cannot connect to MPD! Is MPD started?");
++ error("[MPD] Error: Cannot connect to MPD! Is MPD started?");
+ return -1;
+ }
+
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-nordtsc.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-nordtsc.patch
new file mode 100644
index 000000000000..b25d01e8e901
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-nordtsc.patch
@@ -0,0 +1,187 @@
+kMessage-ID: <47011930.60100@reinelt.co.at>
+Date: Mon, 01 Oct 2007 17:58:40 +0200
+From: Michael Reinelt <michael@reinelt.co.at>
+Subject: [Lcd4linux-devel] asm/msr.h inclusion and RDTSC stuff removed
+
+Hi there,
+
+I just committed a changeset where I removed the whole RDTSC delay loop
+stuff, and therefore lcd4linux does no longer need asm/msr.h
+
+Instead, a gettimeofday() delay loop will be used when necessary.
+
+The rdtsc stuff worked fine, but had two major disadvantages: It did not
+work with variable CPU frequencies, and latest kernels do no longer
+offer the rdtsc() macro.
+
+The changeset has been committed to trunk, and will be backported to the
+0.10.1 branch as soon as I get some positive feedback 8or at least I
+don't get any negative feedback)
+
+
+bye, Michael
+
+--
+Michael Reinelt <michael@reinelt.co.at>
+http://home.pages.at/reinelt
+GPG-Key 0xDF13BA50
+ICQ #288386781
+
+Index: configure.in
+===================================================================
+--- lcd4linux-0.10.1-RC2/configure.in.orig
++++ lcd4linux-0.10.1-RC2/configure.in
+@@ -99,7 +99,6 @@ AC_HEADER_STDC
+ AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h sys/vfs.h syslog.h termios.h unistd.h])
+ AC_CHECK_HEADERS(sys/io.h asm/io.h)
+ AC_CHECK_HEADERS(linux/parport.h linux/ppdev.h)
+-AC_CHECK_HEADERS(asm/msr.h)
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_C_CONST
+Index: udelay.c
+===================================================================
+--- lcd4linux-0.10.1-RC2/udelay.c.orig
++++ lcd4linux-0.10.1-RC2/udelay.c
+@@ -55,11 +55,6 @@
+ #include <string.h>
+ #include <sys/time.h>
+
+-#ifdef HAVE_ASM_MSR_H
+-#define u32 unsigned int
+-#include <asm/msr.h>
+-#endif
+-
+
+ #include "debug.h"
+ #include "cfg.h"
+@@ -67,79 +62,10 @@
+ #include "udelay.h"
+
+
+-static unsigned int ticks_per_usec = 0;
+-
+-
+-static void getCPUinfo(int *hasTSC, double *MHz)
+-{
+- int fd;
+- char buffer[4096], *p;
+-
+- *hasTSC = 0;
+- *MHz = -1;
+-
+- fd = open("/proc/cpuinfo", O_RDONLY);
+- if (fd == -1) {
+- error("udelay: open(/proc/cpuinfo) failed: %s", strerror(errno));
+- return;
+- }
+- if (read(fd, &buffer, sizeof(buffer) - 1) == -1) {
+- error("udelay: read(/proc/cpuinfo) failed: %s", strerror(errno));
+- close(fd);
+- return;
+- }
+- close(fd);
+-
+- p = strstr(buffer, "flags");
+- if (p == NULL) {
+- info("udelay: /proc/cpuinfo has no 'flags' line");
+- } else {
+- p = strstr(p, "tsc");
+- if (p == NULL) {
+- info("udelay: CPU does not support Time Stamp Counter");
+- } else {
+- info("udelay: CPU supports Time Stamp Counter");
+- *hasTSC = 1;
+- }
+- }
+-
+- p = strstr(buffer, "cpu MHz");
+- if (p == NULL) {
+- info("udelay: /proc/cpuinfo has no 'cpu MHz' line");
+- } else {
+- if (sscanf(p + 7, " : %lf", MHz) != 1) {
+- error("udelay: parse(/proc/cpuinfo) failed: unknown 'cpu MHz' format");
+- *MHz = -1;
+- } else {
+- info("udelay: CPU runs at %f MHz", *MHz);
+- }
+- }
+-
+-}
+-
+
+ void udelay_init(void)
+ {
+-#ifdef HAVE_ASM_MSR_H
+-
+- int tsc;
+- double mhz;
+-
+- getCPUinfo(&tsc, &mhz);
+-
+- if (tsc && mhz > 0.0) {
+- ticks_per_usec = ceil(mhz);
+- info("udelay: using TSC delay loop, %u ticks per microsecond", ticks_per_usec);
+- } else
+-#else
+- error("udelay: The file 'include/asm/msr.h' was missing at compile time.");
+- error("udelay: Even if your CPU supports TSC, it will not be used!");
+- error("udelay: You *really* should install msr.h and recompile LCD4linux!");
+-#endif
+- {
+- ticks_per_usec = 0;
+- info("udelay: using gettimeofday() delay loop");
+- }
++ info("udelay: using gettimeofday() delay loop");
+ }
+
+
+@@ -172,37 +98,17 @@ unsigned long timing(const char *driver,
+ void ndelay(const unsigned long nsec)
+ {
+
+-#ifdef HAVE_ASM_MSR_H
+-
+- if (ticks_per_usec) {
++ struct timeval now, end;
+
+- unsigned int t1, t2;
+- unsigned long tsc;
+-
+- tsc = (nsec * ticks_per_usec + 999) / 1000;
+-
+- rdtscl(t1);
+- do {
+- rep_nop();
+- rdtscl(t2);
+- } while ((t2 - t1) < tsc);
+-
+- } else
+-#endif
+-
+- {
+- struct timeval now, end;
+-
+- gettimeofday(&end, NULL);
+- end.tv_usec += (nsec + 999) / 1000;
+- while (end.tv_usec > 1000000) {
+- end.tv_usec -= 1000000;
+- end.tv_sec++;
+- }
+-
+- do {
+- rep_nop();
+- gettimeofday(&now, NULL);
+- } while (now.tv_sec == end.tv_sec ? now.tv_usec < end.tv_usec : now.tv_sec < end.tv_sec);
++ gettimeofday(&end, NULL);
++ end.tv_usec += (nsec + 999) / 1000;
++ while (end.tv_usec > 1000000) {
++ end.tv_usec -= 1000000;
++ end.tv_sec++;
+ }
++
++ do {
++ rep_nop();
++ gettimeofday(&now, NULL);
++ } while (now.tv_sec == end.tv_sec ? now.tv_usec < end.tv_usec : now.tv_sec < end.tv_sec);
+ }
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-usbdebug.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-usbdebug.patch
new file mode 100644
index 000000000000..6ecc7a248990
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-usbdebug.patch
@@ -0,0 +1,121 @@
+diff -crB lcd4linux-0.10.1-RC2-orig/drv_BWCT.c lcd4linux-0.10.1-RC2/drv_BWCT.c
+*** lcd4linux-0.10.1-RC2-orig/drv_BWCT.c 2007-02-25 13:39:09.000000000 +0100
+--- lcd4linux-0.10.1-RC2/drv_BWCT.c 2013-11-10 21:32:06.119047221 +0100
+***************
+*** 72,78 ****
+ static usb_dev_handle *lcd;
+ static int interface;
+
+- extern int usb_debug;
+ extern int got_signal;
+
+
+--- 72,77 ----
+***************
+*** 89,96 ****
+
+ info("%s: scanning USB for BWCT LCD...", Name);
+
+- usb_debug = 0;
+-
+ usb_init();
+ usb_find_busses();
+ usb_find_devices();
+--- 88,93 ----
+diff -crB lcd4linux-0.10.1-RC2-orig/drv_LCD2USB.c lcd4linux-0.10.1-RC2/drv_LCD2USB.c
+*** lcd4linux-0.10.1-RC2-orig/drv_LCD2USB.c 2007-02-25 13:39:10.000000000 +0100
+--- lcd4linux-0.10.1-RC2/drv_LCD2USB.c 2013-11-10 21:32:15.686677498 +0100
+***************
+*** 98,104 ****
+ static usb_dev_handle *lcd;
+ static int controllers = 0;
+
+- extern int usb_debug;
+ extern int got_signal;
+
+ /****************************************/
+--- 98,103 ----
+***************
+*** 120,127 ****
+ if (device_id != NULL)
+ info("%s: scanning for device id: %s", Name, device_id);
+
+- usb_debug = 0;
+-
+ usb_init();
+ usb_find_busses();
+ usb_find_devices();
+--- 119,124 ----
+diff -crB lcd4linux-0.10.1-RC2-orig/drv_picoLCD.c lcd4linux-0.10.1-RC2/drv_picoLCD.c
+*** lcd4linux-0.10.1-RC2-orig/drv_picoLCD.c 2007-02-25 13:39:10.000000000 +0100
+--- lcd4linux-0.10.1-RC2/drv_picoLCD.c 2013-11-10 21:32:30.102120440 +0100
+***************
+*** 75,81 ****
+ static char *BufPtr;
+
+ static usb_dev_handle *lcd;
+- extern int usb_debug;
+
+
+
+--- 75,80 ----
+***************
+*** 97,104 ****
+
+ info("%s: scanning for picoLCD...", Name);
+
+- usb_debug = 0;
+-
+ usb_init();
+ usb_find_busses();
+ usb_find_devices();
+--- 96,101 ----
+diff -crB lcd4linux-0.10.1-RC2-orig/drv_Trefon.c lcd4linux-0.10.1-RC2/drv_Trefon.c
+*** lcd4linux-0.10.1-RC2-orig/drv_Trefon.c 2007-02-25 13:39:10.000000000 +0100
+--- lcd4linux-0.10.1-RC2/drv_Trefon.c 2013-11-10 21:32:46.441489039 +0100
+***************
+*** 72,78 ****
+ static usb_dev_handle *lcd;
+ static int interface;
+
+- extern int usb_debug;
+
+
+ /****************************************/
+--- 72,77 ----
+***************
+*** 88,95 ****
+
+ info("%s: scanning USB for TREFON LCD...", Name);
+
+- usb_debug = 0;
+-
+ usb_init();
+ usb_find_busses();
+ usb_find_devices();
+--- 87,92 ----
+diff -crB lcd4linux-0.10.1-RC2-orig/drv_USBLCD.c lcd4linux-0.10.1-RC2/drv_USBLCD.c
+*** lcd4linux-0.10.1-RC2-orig/drv_USBLCD.c 2007-02-25 13:39:10.000000000 +0100
+--- lcd4linux-0.10.1-RC2/drv_USBLCD.c 2013-11-10 21:33:01.508906792 +0100
+***************
+*** 86,93 ****
+ static usb_dev_handle *lcd;
+ static int interface;
+
+- extern int usb_debug;
+-
+ #endif
+
+
+--- 86,91 ----
+***************
+*** 107,114 ****
+
+ info("%s: scanning for USBLCD...", Name);
+
+- usb_debug = 0;
+-
+ usb_init();
+ usb_find_busses();
+ usb_find_devices();
+--- 105,110 ----
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-warnings.patch b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-warnings.patch
new file mode 100644
index 000000000000..58791ee91ff7
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2-warnings.patch
@@ -0,0 +1,64 @@
+Index: ./plugin_kvv.c
+===================================================================
+--- ./plugin_kvv.c (revision 771)
++++ ./plugin_kvv.c (revision 797)
+@@ -414,5 +414,5 @@
+
+ if (count > 0) {
+- char *input, *cookie, *name, *value;
++ char *input, *cookie, *name = NULL, *value = NULL;
+ int input_len, cookie_len, name_len, value_len;
+
+Index: ./plugin_mpd.c
+===================================================================
+--- ./plugin_mpd.c (revision 786)
++++ ./plugin_mpd.c (revision 797)
+@@ -65,5 +65,10 @@
+ int iport;
+ char *test;
+- struct Pointer mpd;
++
++ struct Pointer mpd = {
++ .conn = NULL,
++ .status = NULL,
++ .entity = NULL
++ };
+
+ if ((test = getenv("MPD_HOST"))) {
+@@ -229,5 +234,6 @@
+ #define _mpd_player_get_random 005
+
+-void error_callback(MpdObj * mi, int errorid, char *msg, void *userdata)
++void error_callback( __attribute__ ((unused)) MpdObj * mi, int errorid, char *msg, __attribute__ ((unused))
++ void *userdata)
+ {
+ printf("Error %i: '%s'\n", errorid, msg);
+Index: ./drv_Image.c
+===================================================================
+--- ./drv_Image.c (revision 771)
++++ ./drv_Image.c (revision 797)
+@@ -115,5 +115,5 @@
+ if (bitbuf == NULL) {
+ if ((bitbuf = malloc(xsize * ysize * sizeof(*bitbuf))) == NULL) {
+- error("%s: malloc(%d) failed: %s", Name, (int) xsize * ysize * sizeof(*bitbuf), strerror(errno));
++ error("%s: malloc() failed: %s", Name, strerror(errno));
+ return -1;
+ }
+@@ -122,5 +122,5 @@
+ if (rowbuf == NULL) {
+ if ((rowbuf = malloc(3 * xsize * sizeof(*rowbuf))) == NULL) {
+- error("Raster: malloc(%d) failed: %s", (int) 3 * xsize * sizeof(*rowbuf), strerror(errno));
++ error("Raster: malloc() failed: %s", strerror(errno));
+ return -1;
+ }
+Index: ./plugin_i2c_sensors.c
+===================================================================
+--- ./plugin_i2c_sensors.c (revision 771)
++++ ./plugin_i2c_sensors.c (revision 797)
+@@ -297,5 +297,5 @@
+ strcat(path_cfg, "/");
+ }
+- debug("using i2c sensors at %s (from %s)", path, cfg_source());
++ debug("using i2c sensors at %s (from %s)", path_cfg, cfg_source());
+ path = realloc(path, strlen(path_cfg) + 1);
+ strcpy(path, path_cfg);
diff --git a/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2.initd b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2.initd
new file mode 100644
index 000000000000..1135ea3d588b
--- /dev/null
+++ b/app-misc/lcd4linux/files/lcd4linux-0.10.1_rc2.initd
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/lcd4linux.pid
+DAEMON=/usr/bin/lcd4linux
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting lcd4linux"
+ start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON}
+ eend $? "Failed to start lcd4linux. Did you remember to set up /etc/lcd4linux.conf?"
+}
+
+stop() {
+ ebegin "Stopping lcd4linux"
+ start-stop-daemon --stop --quiet --oknodo --exec ${DAEMON} --pidfile ${PIDFILE}
+ eend $?
+}
diff --git a/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r4.ebuild b/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r4.ebuild
new file mode 100644
index 000000000000..dd4dad81be11
--- /dev/null
+++ b/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r4.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+WANT_AUTOMAKE="1.9"
+inherit eutils multilib autotools python-single-r1
+
+MY_P=${P/_rc/-RC}
+
+DESCRIPTION="Shows system and ISDN information on an external display or in a X11 window"
+HOMEPAGE="https://lcd4linux.bulix.org/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="mysql python iconv mpd"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The following array holds the USE_EXPANDed keywords
+IUSE_LCD_DEVICES=(beckmannegle bwct cfontz ncurses cwlinux
+ ea232 g15 hd44780 hd44780i2c lcd2usb
+ lcdlinux lcdterm ledmatrix lph7508 m50530
+ mtxorb milfordbpk noritake null picolcd
+ png ppm routerboard serdisplib simplelcd
+ t6963 trefon usbhub usblcd wincor
+ X luise)
+
+# Iterate through the array and add the lcd_devices_* that we support
+NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
+index=0
+while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[$index]}"
+ let "index = ${index} + 1"
+done
+
+DEPEND="
+ mysql? ( virtual/mysql )
+ iconv? ( virtual/libiconv )
+ mpd? ( media-libs/libmpd )
+
+ lcd_devices_bwct? ( =virtual/libusb-0* )
+ lcd_devices_g15? ( =virtual/libusb-0* )
+ lcd_devices_lcd2usb? ( =virtual/libusb-0* )
+ lcd_devices_picolcd? ( =virtual/libusb-0* )
+ lcd_devices_trefon? ( =virtual/libusb-0* )
+ lcd_devices_usbhub? ( =virtual/libusb-0* )
+ lcd_devices_usblcd? ( =virtual/libusb-0* )
+ lcd_devices_luise? ( dev-libs/luise-bin )
+ lcd_devices_ncurses? ( sys-libs/ncurses:0= )
+ lcd_devices_noritake? ( media-libs/gd )
+ lcd_devices_t6963? ( media-libs/gd )
+ lcd_devices_png? ( media-libs/libpng:0= media-libs/gd )
+ lcd_devices_X? ( x11-libs/libX11 media-libs/gd )
+ lcd_devices_serdisplib? ( dev-libs/serdisplib media-libs/gd )
+"
+RDEPEND="${DEPEND}
+ python? ( ${PYTHON_DEPS} )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ elog "If you wish to compile only specific plugins, please use"
+ elog "the LCD4LINUX_PLUGINS environment variable. Plugins must be comma separated and can be either of:"
+ elog "apm cpuinfo diskstats dvb exec file i2c_sensors imon isdn kvv loadavg meminfo netdev pop3 ppp proc_stat seti statfs uname uptime wireless"
+
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-warnings.patch"
+ epatch "${FILESDIR}/${P}-mpd.patch"
+ epatch "${FILESDIR}/${P}-nordtsc.patch"
+ epatch "${FILESDIR}/${P}-autoconf-2.65.patch"
+ epatch "${FILESDIR}/${P}-missing-header.patch"
+ epatch "${FILESDIR}/${P}-usbdebug.patch"
+ eautoreconf
+}
+
+src_configure() {
+ # This array contains the driver names required by configure --with-drivers=
+ # The positions must be the same as the corresponding use_expand flags
+ local DEVICE_DRIVERS=(BeckmannEgle BWCT CrystalFontz Curses Cwlinux
+ EA232graphic G15 HD44780 HD44780-I2C LCD2USB
+ LCDLinux LCDTerm LEDMatrix LPH7508 M50530
+ MatrixOrbital MilfordInstruments Noritake NULL picoLCD
+ PNG PPM RouterBoard serdisplib SimpleLCD
+ T6963 Trefon USBHUB USBLCD WincorNixdorf
+ X11 LUIse)
+
+ local myconf myp
+
+ # plugins
+ if [ -n "$LCD4LINUX_PLUGINS" ]; then
+ myp="$LCD4LINUX_PLUGINS"
+ else
+ myp="all,!xmms"
+ fi
+ use iconv || myp="${myp},!iconv"
+ use mpd || myp="${myp},!mpd"
+ use mysql || myp="${myp},!mysql"
+ use python || myp="${myp},!python"
+ elog "Active plugins: ${myp}"
+
+ # Generate comma separated list of drivers
+ local COMMA_DRIVERS
+ local FIRST_DRIVER
+ local index=0
+ local driver
+
+ while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ if use "lcd_devices_${IUSE_LCD_DEVICES[$index]}" ; then
+ driver=${DEVICE_DRIVERS[$index]}
+ if [ -z ${COMMA_DRIVERS} ] ; then
+ # First in the list
+ COMMA_DRIVERS="${driver}"
+ FIRST_DRIVER="${driver}"
+ else
+ # Second, third, ... include a comma at the front
+ COMMA_DRIVERS="${COMMA_DRIVERS},${driver}"
+ fi
+ fi
+ let "index = ${index} + 1"
+ done
+
+ # activate at least one driver
+ if [ -z ${COMMA_DRIVERS} ] ; then
+ COMMA_DRIVERS="NULL"
+ fi
+
+ # workaround the build failing because of b0rked settings
+ if use lcd_devices_hd44780 && use lcd_devices_hd44780i2c ; then
+ echo
+ ewarn "Disabling hd44780 LCD_DEVICE as hd44780i2c is set!"
+ echo
+ COMMA_DRIVERS="${COMMA_DRIVERS},!HD44780"
+ fi
+
+ # avoid package brokenness
+ if use lcd_devices_X ; then
+ myconf="--x-libraries=/usr/$(get_libdir) --x-include=/usr/include"
+ else
+ myconf="--without-x"
+ fi
+
+ econf \
+ --sysconfdir=/etc/lcd4linux \
+ --with-drivers="${COMMA_DRIVERS}" \
+ --with-plugins="${myp}" \
+ $(use_with python) \
+ ${myconf}
+
+ sed -i.orig -e 's/-L -lX11/ -lX11 /g' Makefile || die "sed fixup failed"
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}/${P}.initd" ${PN}
+
+ insinto /etc
+ insopts -o root -g root -m 0600
+ newins lcd4linux.conf.sample lcd4linux.conf
+}
+
+pkg_postinst() {
+ if use lcd_devices_lcdlinux; then
+ ewarn "To actually use the lcd-linux devices, you will need to install the lcd-linux kernel module."
+ ewarn "You can either do that yourself, see http://lcd-linux.sf.net or "
+ ewarn "checkout https://overlays.gentoo.org/dev/jokey/browser/trunk and emerge app-misc/lcd-linux"
+ fi
+}
diff --git a/app-misc/lcd4linux/metadata.xml b/app-misc/lcd4linux/metadata.xml
new file mode 100644
index 000000000000..2d2a4720b153
--- /dev/null
+++ b/app-misc/lcd4linux/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription lang="en">
+ LCD4Linux is a small program that grabs information from the kernel and some
+ subsystems and displays it on an external liquid crystal display. It is
+ fully configurable and supports many data sources, displays and plugins.
+</longdescription>
+<use>
+ <flag name="mpd">Add support for display of mpd controlled music
+ (<pkg>media-libs/libmpd</pkg>)</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/lcdproc/Manifest b/app-misc/lcdproc/Manifest
new file mode 100644
index 000000000000..84e3eb665eb1
--- /dev/null
+++ b/app-misc/lcdproc/Manifest
@@ -0,0 +1,13 @@
+AUX 0.5.1-LCDd.initd 533 SHA256 207eaa9062964ec0fb721da792ed0d2f10db3a31a1d7663097679b7d414ed243 SHA512 66e6ac519ca9919dc1321cdfbac3c8a54be681f534dcdfd06b5ec90c859a14694c6a6925983c3be58f2aa8d6391028fd8d978d7641710a23394ae87dca892900 WHIRLPOOL 477970861962397f2fdee2e8627b7643f72e2b58f99f38419b607fb125270005eba9aad4949df4365d2ef8952f9fc9d1aef2a2d6381d01cf34090ecb6534fbba
+AUX 0.5.1-lcdproc.initd 364 SHA256 e69c935988586132e5353bfd15bdfcc6da59b6c54f468850429831f10af60ca5 SHA512 4dce2d2e3d18c8fb57c7a84b2f9b7c67b8721e751af1a79fe60107a1559baacbf3531d5a495f68dd2ed890f9dd6d1834b51363e9ae96b606245bd2dc72680e34 WHIRLPOOL f2703e60263d0cb0e9f2cac91cda0ebd70dd4abc563162947a70bfda43a51154186d86042d497d23f828f99a0cffb8a43809b90ac9eb4287cdbf9b0292a253ac
+AUX 0.5.2-r2-lcdproc.initd 382 SHA256 f319107966798b460742a5b113c583907edf7a81702a2078411fb9294c392584 SHA512 9dc7667af52a2e95a28ee07c7646a124b46019643df19becc8f129da553a70b40c534b6c73057c73238efd232e98f02372d55a92135fccd9c297d776c53d3767 WHIRLPOOL 1bb58fe2228829d87f5e89510cdf32a7e9089ba31e7e5c32f0d55f4dffece9084fe4c7cbc18e74eb8780c9766208c942e859ab808f6833cd5c161dadee14994c
+DIST lcdproc-0.5.2-patches.tar.gz 6571 SHA256 b578bbb2e0e1adabfd8eda2101d9023652c8d3c112d7dc78fb77026d5f2db13d SHA512 d872099e524ed99525b642783d413f0cbff68aceb30857a4b7078390be9f98aa3acfa23c72e4455802376bc1bedb20019fa8a79e97066e2a1e97b5d68fbcd975 WHIRLPOOL ab515ad64770c96b72e7ed71809bcfe371600547da6fcd1253cc65a22baca79393a14ef815552b74e0d388c263635f1d2a4200f46646ffe925a31217327b915f
+DIST lcdproc-0.5.2.tar.gz 822695 SHA256 3261910dd9155229a2a6067c82ec4cca0d7900420f2d74c87a24b41b9b961036 SHA512 e21a1f2d3d5f53aa09477e9aea1f9685c1fe224a8f79f15d0d032214de211c51619a9eea9183743c024859349d481fe35d7999cc51e0de81dc2fa8e0c85d7a5d WHIRLPOOL 0d09e9aa6b8e55a00b96a5ace3749fec100130d91008dfaae3b011f8d352716cf64aa77be866ca4fb1c1d1b434bb0b91307b14ff2a36b28de8b71f9afcb58698
+DIST lcdproc-0.5.5.tar.gz 946206 SHA256 b136b47d7bf585a003334f432d8730a36ef5ed1cd520084b919667d825e48d42 SHA512 42500188adb018547db4db4a472dded478a03f19974843865e07a466870fbca409b4259b57366b7dfdd4a5fd444a89c1930032d1127ae036128dbd9279a24b29 WHIRLPOOL 1ba4728b6ee24dd32bbf24f80434c836a78cc4ab196088daa882ef10796b284d4659283b3d891117d46f2beb450d3f6b2ca9d0d686fb5fe291b192ab2dc106e3
+DIST lcdproc-0.5.6.tar.gz 998996 SHA256 bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a SHA512 7c506b4691c8544855dadf939863672230c3e0903bbe4bbde82df04ff932f818cdc406c5b159554ec155d0c46fff23d435121298f4e19bac73658b121c6b8220 WHIRLPOOL 79c2c46e56092b121a24458127b28c9e10b232825f58a1fef6e42a940687ce4a3950a9007c907eb28706e56971c4a99cdba3b9c1745d2c6cf9dedf49451bc16f
+EBUILD lcdproc-0.5.2-r1.ebuild 5503 SHA256 7a7df23b1623089c37f029385d2b8536e71fb4c3c2d21bf66c03fd63d4aeabfd SHA512 acbf6cb8c06a3ffc269a74f083d370005f9a1de5f9bd18eea4af2988f880c2643fed5be52b3cf85e89c22c9b1f33352fdb4f0908045e50ab3aa912f910f30b7c WHIRLPOOL cf513d184cc76203b65d70cb0d32e090808cfa65102f5747b2c5ffd80dfd9ff7f09afd380c0a2132b99c3c08c13e031e010f064b7b89655742b83ac005c8a427
+EBUILD lcdproc-0.5.5.ebuild 5888 SHA256 7f701c539985ddbbd53a05c7a5948baa6bee47d6e82a953d108733b971babb38 SHA512 3141859061d9a3d46814e361022c017ad1fab8eb92cad8a3561f371d03eef033908bd5d85391da5aa7a445309006a998699e2e5e412025ca074df5fd0f5ce130 WHIRLPOOL 4a6b031fb2db15228711118512734e1908c39fd0985e74f33195a43124623494c72f84ffe1e6698427d913048e3f35258ff4104f997574287a4d54c89a6df11c
+EBUILD lcdproc-0.5.6-r1.ebuild 6083 SHA256 54b7ab255abbf3133924ed5b049bc0700db0f4b30e1558334dd3a93aa51f853f SHA512 b18c7ccd63592c303081500055ada6e08c408002e0ed52e4a14fd6b799d0c70566104380eeaf1422fab424a9a68176fd37dcb2f99d614efb72587711476cd738 WHIRLPOOL 106bf040072d5daf624c0792dcb33faa9dcef0385ebb8671aff9cb9d04b532a0bf66df78175698e5ce6ac6df8f8b62d7d63fa3646ebed9ad6ebc10c4e42612cd
+MISC ChangeLog 3075 SHA256 0fb804b5419bcab424137a861e2e8b7d3dd293b95b4d73fdaed3a4673b61314e SHA512 22e4aef121818c645ec35722a754997f3fa86722dad3b6cde07a3b4d6095e96bb79038abc3c81c6a5974754b1e83414887854af5e0e69c98c064a8d2b37595e1 WHIRLPOOL 677a9fa74184e773ffb8fee78bc0e9dfc1daed41653230ca50f462edd5e90bd943eae9edcc6092b398568b365a53741578469f17f85bd63ff595cf0b31185b9b
+MISC ChangeLog-2015 13973 SHA256 134eb318ce64a7c5b00af3c8f1393de6e5c2599748e46aaa82dfc5d95402c6c3 SHA512 fcb895d4d4880e738c12985c197d1c49ca9f1117a1ca797e3d0298ad8b7518b76c4241af5e64ab45b771bc9c53714dfb71ea47c9389c70c727ee220b7760dd89 WHIRLPOOL 38e3f1f2180f9231f6c616c9806ad6f2ec11a05ce94b7ca11786cdb99576ef7951e29ee454082ed953939202725b6acc7c6a27bff494e14a2a7decf8f98b2ec1
+MISC metadata.xml 1422 SHA256 09abccf27f7947c07fbd9470219c4a7e584dc3f1de154b2b162be23f1b4481b7 SHA512 0d11fa49916654445c4ade2e2ee36e85b6fce3eb2953f42fd29479b66fde3c8e9a9d4e12e877308f827f8a72a1e0b0ccfad905469a7cee1859f41d1f7d3b78df WHIRLPOOL b6eb381351e9ba984c3bfa7d871c498d544d87d1c8d0802a1e8897eb12fd00c7d6d5458bbd4f927716c24b3edee4f92f673300852f3dd2ce8f43d2040ddf31f4
diff --git a/app-misc/lcdproc/files/0.5.1-LCDd.initd b/app-misc/lcdproc/files/0.5.1-LCDd.initd
new file mode 100644
index 000000000000..9cc32667eb94
--- /dev/null
+++ b/app-misc/lcdproc/files/0.5.1-LCDd.initd
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use net
+ use g15daemon
+}
+
+start() {
+ ebegin "Starting LCDd"
+ start-stop-daemon --start --quiet -m --pidfile /var/run/LCDd.pid \
+ --background --exec /usr/sbin/LCDd -- -s 1 -f
+ eend $? "Failed to start LCDd. Did you remember to set a driver in /etc/LCDd.conf? See syslog for details."
+}
+
+stop() {
+ ebegin "Stopping LCDd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/LCDd.pid
+ eend $?
+}
diff --git a/app-misc/lcdproc/files/0.5.1-lcdproc.initd b/app-misc/lcdproc/files/0.5.1-lcdproc.initd
new file mode 100644
index 000000000000..ab23fb806efd
--- /dev/null
+++ b/app-misc/lcdproc/files/0.5.1-lcdproc.initd
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend(){
+ use LCDd
+}
+
+start() {
+ ebegin "Starting lcdproc"
+ start-stop-daemon --start --background \
+ --exec /usr/bin/lcdproc
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lcdproc"
+ start-stop-daemon --stop --exec /usr/bin/lcdproc
+ eend $?
+}
diff --git a/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd
new file mode 100644
index 000000000000..2e00eb86bdd8
--- /dev/null
+++ b/app-misc/lcdproc/files/0.5.2-r2-lcdproc.initd
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend(){
+ use LCDd
+ after ntp-client
+}
+
+start() {
+ ebegin "Starting lcdproc"
+ start-stop-daemon --start --background \
+ --exec /usr/bin/lcdproc
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lcdproc"
+ start-stop-daemon --stop --exec /usr/bin/lcdproc
+ eend $?
+}
diff --git a/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild b/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild
new file mode 100644
index 000000000000..3db5041fe815
--- /dev/null
+++ b/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+WANT_AUTOMAKE="1.9"
+inherit eutils autotools multilib
+
+DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
+HOMEPAGE="http://lcdproc.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${P}-patches.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+
+IUSE="doc debug nfs samba seamless-hbars usb lirc irman joystick"
+
+# The following array holds the USE_EXPANDed keywords
+IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket
+ cwlinux eyeboxone g15 graphlcd glk
+ hd44780 icpa106 imon iowarrior
+ lb216 lcdm001 lcterm
+ md8800 ms6931 mtcs16209x mtxorb noritakevfd
+ pyramid sed1330 sed1520 serialvfd sli
+ stv5730 svga t6963 text tyan
+ ula200 xosd ea65 picolcd serialpos )
+
+# Iterate through the array and add the lcd_devices_* that we support
+NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
+index=0
+while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
+ let "index = ${index} + 1"
+done
+
+RDEPEND="
+ usb? ( =virtual/libusb-0* )
+ lirc? ( app-misc/lirc )
+ irman? ( media-libs/libirman )
+
+ lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver )
+ lcd_devices_g15? ( dev-libs/libg15 >=dev-libs/libg15render-1.1.1 )
+ lcd_devices_ncurses? ( sys-libs/ncurses )
+ lcd_devices_svga? ( media-libs/svgalib )
+ lcd_devices_ula200? ( >=dev-embedded/libftdi-0.7 =dev-embedded/libftdi-0* =virtual/libusb-0* )
+ lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
+ lcd_devices_cfontzpacket? ( =virtual/libusb-0* )
+ lcd_devices_cwlinux? ( =virtual/libusb-0* )
+ lcd_devices_pyramid? ( =virtual/libusb-0* )
+ lcd_devices_picolcd? ( =virtual/libusb-0* )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/xmlto )"
+RDEPEND="${RDEPEND}
+ lcd_devices_g15? ( app-misc/g15daemon )"
+
+pkg_setup() {
+ if [ -n "${LCDPROC_DRIVERS}" ] ; then
+ ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
+ ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${WORKDIR}/${P}-patches/${PV}-picolcd.patch"
+
+ sed -i "79s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf
+ einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
+
+ eautoreconf
+}
+
+src_compile() {
+ # This array contains the driver names required by configure --with-drivers=
+ # The positions must be the same as the corresponding use_expand flags
+ local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket
+ CwLnx EyeboxOne g15 glcdlib glk
+ hd44780 icp_a106 imon IOWarrior
+ lb216 lcdm001 lcterm
+ MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD
+ pyramid sed1330 sed1520 serialVFD sli
+ stv5730 svga t6963 text tyan
+ ula200 xosd ea65 picolcd serialPOS)
+
+ # Generate comma separated list of drivers
+ COMMA_DRIVERS=""
+ FIRST_DRIVER=""
+ local index=0
+
+ while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
+ append-driver "${DEVICE_DRIVERS[${index}]}"
+ fi
+ let "index = ${index} + 1"
+ done
+
+ # Append the not-lcd-drivers (input)
+ use lirc && append-driver "lirc"
+ use irman && append-driver "irman"
+ use joystick && append-driver "joy"
+
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ ewarn "You are compiling LCDd without support for any LCD drivers at all."
+ else
+ # Patch the config to contain a driver that is actually installed instead of the default
+ elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
+ elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
+ sed -i "44s:curses:${FIRST_DRIVER}:" LCDd.conf
+ fi
+
+ local ENABLEUSB
+ if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid; then
+ ENABLEUSB="--enable-libusb"
+ else
+ ENABLEUSB="$(use_enable usb libusb)"
+ fi
+
+ econf \
+ $(use_enable debug) \
+ $(use_enable nfs stat-nfs) \
+ $(use_enable samba stat-smbfs ) \
+ $(use_enable seamless-hbars) \
+ ${ENABLEUSB} \
+ "--enable-drivers=${COMMA_DRIVERS}" \
+ || die "configure failed"
+
+ emake || die "make failed"
+
+ if use doc; then
+ ebegin "Creating user documentation"
+ cd "${S}"/docs/lcdproc-user
+ xmlto html --skip-validation lcdproc-user.docbook
+ eend $?
+
+ ebegin "Creating dev documentation"
+ cd "${S}"/docs/lcdproc-dev
+ xmlto html --skip-validation lcdproc-dev.docbook
+ eend $?
+ fi
+}
+
+append-driver() {
+ [[ -z $* ]] && return 0
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ # First in the list
+ COMMA_DRIVERS="$*"
+ FIRST_DRIVER="$*"
+ else
+ # Second, third, ... include a comma at the front
+ COMMA_DRIVERS="${COMMA_DRIVERS},$*"
+ fi
+ return 0
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ # move example clients installed to /usr/bin
+ rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
+ insinto /usr/share/lcdproc/clients
+ doins clients/examples/*.pl
+ doins clients/metar/
+
+ newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
+ newinitd "${FILESDIR}/0.5.1-lcdproc.initd" lcdproc
+
+ dodoc README CREDITS ChangeLog INSTALL TODO
+ dodoc docs/README.* docs/*.txt
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/lcdproc-user
+ doins docs/lcdproc-user/*.html
+ insinto /usr/share/doc/${PF}/lcdproc-dev
+ doins docs/lcdproc-dev/*.html
+ fi
+}
+
+pkg_postinst() {
+ ewarn "IMPORTANT: Please update your /etc/LCDd.conf"
+ ewarn "As of lcdproc-0.5.1-r2, the DriverPath changed from /usr/share/lcdproc to /usr/$(get_libdir)/lcdproc ."
+}
diff --git a/app-misc/lcdproc/lcdproc-0.5.5.ebuild b/app-misc/lcdproc/lcdproc-0.5.5.ebuild
new file mode 100644
index 000000000000..07326bd3f021
--- /dev/null
+++ b/app-misc/lcdproc/lcdproc-0.5.5.ebuild
@@ -0,0 +1,191 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit multilib versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
+HOMEPAGE="http://lcdproc.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="doc debug hid nfs samba seamless-hbars usb lirc irman joystick ftdi"
+
+# The following array holds the USE_EXPANDed keywords
+IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket
+ cwlinux eyeboxone g15 graphlcd glk
+ hd44780 icpa106 imon imonlcd iowarrior
+ lb216 lcdm001 lcterm
+ md8800 mdm166a ms6931 mtcs16209x mtxorb noritakevfd
+ pyramid sed1330 sed1520 serialvfd sli
+ stv5730 SureElec svga t6963 text tyan
+ ula200 xosd ea65 picolcd serialpos
+ i2500vfd irtrans lis shuttlevfd )
+
+# Iterate through the array and add the lcd_devices_* that we support
+NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
+index=0
+while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
+ let "index = ${index} + 1"
+done
+
+REQUIRED_USE="lcd_devices_mdm166a? ( hid )"
+
+RDEPEND="
+ usb? ( virtual/libusb:0 )
+ ftdi? ( dev-embedded/libftdi:0 )
+ lirc? ( app-misc/lirc )
+ irman? ( media-libs/libirman )
+ hid? ( >=dev-libs/libhid-0.2.16 )
+
+ lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver )
+ lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render )
+ lcd_devices_ncurses? ( sys-libs/ncurses )
+ lcd_devices_svga? ( media-libs/svgalib )
+ lcd_devices_ula200? ( dev-embedded/libftdi:0 )
+ lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
+ lcd_devices_cfontzpacket? ( virtual/libusb:0 )
+ lcd_devices_cwlinux? ( virtual/libusb:0 )
+ lcd_devices_pyramid? ( virtual/libusb:0 )
+ lcd_devices_picolcd? ( virtual/libusb:0 )
+ lcd_devices_i2500vfd? ( dev-embedded/libftdi:0 )
+ lcd_devices_lis? ( dev-embedded/libftdi:0 virtual/libusb:0 )
+ lcd_devices_shuttlevfd? ( virtual/libusb:0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/xmlto
+ app-text/docbook-xml-dtd:4.5 )"
+RDEPEND="${RDEPEND}
+ lcd_devices_g15? ( app-misc/g15daemon )"
+
+pkg_setup() {
+ if [ -n "${LCDPROC_DRIVERS}" ] ; then
+ ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
+ ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
+ fi
+}
+
+src_prepare() {
+ sed -i "37s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf || die
+ einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
+}
+
+src_configure() {
+ # This array contains the driver names required by configure --with-drivers=
+ # The positions must be the same as the corresponding use_expand flags
+ local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket
+ CwLnx EyeboxOne g15 glcdlib glk
+ hd44780 icp_a106 imon imonlcd IOWarrior
+ lb216 lcdm001 lcterm
+ MD8800 mdm166a ms6931 mtc_s16209x MtxOrb NoritakeVFD
+ pyramid sed1330 sed1520 serialVFD sli
+ stv5730 SureElec svga t6963 text tyan
+ ula200 xosd ea65 picolcd serialPOS
+ i2500vfd irtrans lis shuttleVFD )
+
+ # Generate comma separated list of drivers
+ COMMA_DRIVERS=""
+ FIRST_DRIVER=""
+ local index=0
+
+ while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
+ append-driver "${DEVICE_DRIVERS[${index}]}"
+ fi
+ let "index = ${index} + 1"
+ done
+
+ # Append the not-lcd-drivers (input)
+ use lirc && append-driver "lirc"
+ use irman && append-driver "irman"
+ use joystick && append-driver "joy"
+
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ ewarn "You are compiling LCDd without support for any LCD drivers at all."
+ else
+ # Patch the config to contain a driver that is actually installed instead of the default
+ elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
+ elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
+ sed -i "53s:curses:${FIRST_DRIVER}:" LCDd.conf || die
+ fi
+
+ local EXTRA_CONF
+ if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \
+ use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then
+ EXTRA_CONF="--enable-libusb"
+ else
+ EXTRA_CONF="$(use_enable usb libusb)"
+ fi
+
+ if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then
+ EXTRA_CONF="${EXTRA_CONF} --enable-libftdi"
+ else
+ EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)"
+ fi
+
+ econf --enable-extra-charmaps \
+ $(use_enable debug) \
+ $(use_enable nfs stat-nfs) \
+ $(use_enable samba stat-smbfs ) \
+ $(use_enable seamless-hbars) \
+ ${EXTRA_CONF} \
+ "--enable-drivers=${COMMA_DRIVERS}"
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ ebegin "Creating user documentation"
+ cd "${S}"/docs/lcdproc-user
+ xmlto html --skip-validation lcdproc-user.docbook
+ eend $?
+
+ ebegin "Creating dev documentation"
+ cd "${S}"/docs/lcdproc-dev
+ xmlto html --skip-validation lcdproc-dev.docbook
+ eend $?
+ fi
+}
+
+append-driver() {
+ [[ -z $* ]] && return 0
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ # First in the list
+ COMMA_DRIVERS="$*"
+ FIRST_DRIVER="$*"
+ else
+ # Second, third, ... include a comma at the front
+ COMMA_DRIVERS="${COMMA_DRIVERS},$*"
+ fi
+ return 0
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # move example clients installed to /usr/bin
+ rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
+ insinto /usr/share/lcdproc/clients
+ doins clients/examples/*.pl
+ doins clients/metar/*.pl
+
+ newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
+ newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
+
+ dodoc README CREDITS ChangeLog INSTALL TODO
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/lcdproc-user
+ doins docs/lcdproc-user/*.html
+ insinto /usr/share/doc/${PF}/lcdproc-dev
+ doins docs/lcdproc-dev/*.html
+ fi
+}
diff --git a/app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild b/app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild
new file mode 100644
index 000000000000..1a748f898607
--- /dev/null
+++ b/app-misc/lcdproc/lcdproc-0.5.6-r1.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit multilib versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
+HOMEPAGE="http://lcdproc.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+IUSE="debug doc ftdi hid irman joystick lirc nfs png samba seamless-hbars truetype usb"
+
+# The following array holds the USE_EXPANDed keywords
+IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontzpacket
+ cwlinux eyeboxone g15 graphlcd glk
+ hd44780 icpa106 imon imonlcd iowarrior
+ lb216 lcdm001 lcterm
+ md8800 mdm166a ms6931 mtcs16209x mtxorb noritakevfd
+ pyramid sdeclcd sed1330 sed1520 serialvfd sli
+ stv5730 SureElec svga t6963 text tyan
+ ula200 vlsys_m428 xosd ea65 picolcd serialpos
+ i2500vfd irtrans lis shuttlevfd )
+
+# Iterate through the array and add the lcd_devices_* that we support
+NUM_DEVICES=${#IUSE_LCD_DEVICES[@]}
+index=0
+while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}"
+ let "index = ${index} + 1"
+done
+
+REQUIRED_USE="lcd_devices_mdm166a? ( hid )"
+
+RDEPEND="
+ ftdi? ( dev-embedded/libftdi:0 )
+ hid? ( >=dev-libs/libhid-0.2.16 )
+ irman? ( media-libs/libirman )
+ lirc? ( app-misc/lirc )
+ png? ( media-libs/libpng:0 )
+ truetype? ( media-libs/freetype:2 )
+ usb? ( virtual/libusb:0 )
+
+ lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver dev-libs/serdisplib )
+ lcd_devices_g15? ( dev-libs/libg15 dev-libs/libg15render )
+ lcd_devices_ncurses? ( sys-libs/ncurses:= )
+ lcd_devices_svga? ( media-libs/svgalib )
+ lcd_devices_ula200? ( dev-embedded/libftdi:0 )
+ lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext )
+ lcd_devices_cfontzpacket? ( virtual/libusb:0 )
+ lcd_devices_cwlinux? ( virtual/libusb:0 )
+ lcd_devices_pyramid? ( virtual/libusb:0 )
+ lcd_devices_picolcd? ( virtual/libusb:0 )
+ lcd_devices_i2500vfd? ( dev-embedded/libftdi:0 )
+ lcd_devices_lis? ( dev-embedded/libftdi:0 virtual/libusb:0 )
+ lcd_devices_shuttlevfd? ( virtual/libusb:0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/xmlto
+ app-text/docbook-xml-dtd:4.5 )"
+RDEPEND="${RDEPEND}
+ lcd_devices_g15? ( app-misc/g15daemon )"
+
+pkg_setup() {
+ if [ -n "${LCDPROC_DRIVERS}" ] ; then
+ ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore."
+ ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options."
+ fi
+}
+
+src_prepare() {
+ sed -i "37s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf || die
+ einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/"
+}
+
+src_configure() {
+ # This array contains the driver names required by configure --with-drivers=
+ # The positions must be the same as the corresponding use_expand flags
+ local DEVICE_DRIVERS=(curses bayrad CFontz CFontzPacket
+ CwLnx EyeboxOne g15 glcd,glcdlib glk
+ hd44780 icp_a106 imon imonlcd IOWarrior
+ lb216 lcdm001 lcterm
+ MD8800 mdm166a ms6931 mtc_s16209x MtxOrb NoritakeVFD
+ pyramid sdeclcd sed1330 sed1520 serialVFD sli
+ stv5730 SureElec svga t6963 text tyan
+ ula200 vlsys_m428 xosd ea65 picolcd serialPOS
+ i2500vfd irtrans lis shuttleVFD )
+
+ # Generate comma separated list of drivers
+ COMMA_DRIVERS=""
+ FIRST_DRIVER=""
+ local index=0
+
+ while [ "${index}" -lt "${NUM_DEVICES}" ] ; do
+ if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then
+ append-driver "${DEVICE_DRIVERS[${index}]}"
+ fi
+ let "index = ${index} + 1"
+ done
+
+ # Append the not-lcd-drivers (input)
+ use lirc && append-driver "lirc"
+ use irman && append-driver "irman"
+ use joystick && append-driver "joy"
+
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ ewarn "You are compiling LCDd without support for any LCD drivers at all."
+ else
+ # Patch the config to contain a driver that is actually installed instead of the default
+ elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}"
+ elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf"
+ sed -i "53s:curses:${FIRST_DRIVER}:" LCDd.conf || die
+ fi
+
+ local EXTRA_CONF
+ if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid || \
+ use lcd_devices_picolcd || use lcd_devices_lis || use lcd_devices_shuttlevfd ; then
+ EXTRA_CONF="--enable-libusb"
+ else
+ EXTRA_CONF="$(use_enable usb libusb)"
+ fi
+
+ if use lcd_devices_ula200 || use lcd_devices_i2500vfd || use lcd_devices_lis ; then
+ EXTRA_CONF="${EXTRA_CONF} --enable-libftdi"
+ else
+ EXTRA_CONF="${EXTRA_CONF} $(use_enable ftdi libftdi)"
+ fi
+
+ econf --enable-extra-charmaps \
+ $(use_enable debug) \
+ $(use_enable nfs stat-nfs) \
+ $(use_enable png libpng) \
+ $(use_enable samba stat-smbfs ) \
+ $(use_enable seamless-hbars) \
+ $(use_enable truetype freetype) \
+ ${EXTRA_CONF} \
+ "--enable-drivers=${COMMA_DRIVERS}"
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ ebegin "Creating user documentation"
+ cd "${S}"/docs/lcdproc-user
+ xmlto html --skip-validation lcdproc-user.docbook
+ eend $?
+
+ ebegin "Creating dev documentation"
+ cd "${S}"/docs/lcdproc-dev
+ xmlto html --skip-validation lcdproc-dev.docbook
+ eend $?
+ fi
+}
+
+append-driver() {
+ [[ -z $* ]] && return 0
+ if [ -z "${COMMA_DRIVERS}" ] ; then
+ # First in the list
+ COMMA_DRIVERS="$*"
+ FIRST_DRIVER="$*"
+ else
+ # Second, third, ... include a comma at the front
+ COMMA_DRIVERS="${COMMA_DRIVERS},$*"
+ fi
+ return 0
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # move example clients installed to /usr/bin
+ rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl
+ insinto /usr/share/lcdproc/clients
+ doins clients/examples/*.pl
+ doins clients/metar/*.pl
+
+ newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd
+ newinitd "${FILESDIR}/0.5.2-r2-lcdproc.initd" lcdproc
+
+ dodoc README CREDITS ChangeLog INSTALL TODO
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}/lcdproc-user
+ doins docs/lcdproc-user/*.html
+ insinto /usr/share/doc/${PF}/lcdproc-dev
+ doins docs/lcdproc-dev/*.html
+ fi
+}
diff --git a/app-misc/lcdproc/metadata.xml b/app-misc/lcdproc/metadata.xml
new file mode 100644
index 000000000000..11ecc9e481a4
--- /dev/null
+++ b/app-misc/lcdproc/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <longdescription lang="en">
+ LCDproc is a piece of software that displays real-time system information
+ from your Linux/*BSD box on a LCD. The server supports several serial
+ devices: Matrix Orbital, CrystalFontz, Bayrad, LB216, LCDM001
+ (kernelconcepts.de), Wirz-SLI, Cwlinux(.com) and PIC-an-LCD; and some
+ devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and
+ SED1330. Various clients are available that display things like CPU load,
+ system load, memory usage, uptime, and a lot more.
+</longdescription>
+ <use>
+ <flag name="hid">Enable HID support using libhid</flag>
+ <flag name="irman">Enable support for IRMan (<pkg>media-libs/libirman</pkg>)</flag>
+ <flag name="nfs">Adds support for NFS file system</flag>
+ <flag name="seamless-hbars">Try to avoid gaps in horizontal bars</flag>
+ <flag name="ftdi">Enable support for FTDI connections in some selected LCD_DEVICES (currently hd44780)</flag>
+ <flag name="lcd_devices_sdeclcd">Enable support for VLSYS M428 display</flag>
+ <flag name="lcd_devices_vlsys_m428">Enable support for VLSYS M428 display</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">lcdproc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/leave/Manifest b/app-misc/leave/Manifest
new file mode 100644
index 000000000000..151fba31a56a
--- /dev/null
+++ b/app-misc/leave/Manifest
@@ -0,0 +1,7 @@
+AUX README 455 SHA256 8cb48d9c2b2a941a0cf0a6b7663dd75af7c58267560b980a718b1de067cd3a61 SHA512 86135607b70026c849d0851fe4c9aeadc2385eebe2be93949d519f566810916d26388a191c16a88d451d653cb2f6f6ce896948e9f07b9f994c02403898f28242 WHIRLPOOL e5b8f2733dcdef005a98ba0b910dc3e4b3c90a813304b2caedfda24aa1811ee1e9042fa4a482b517b71162dde7ae704d1ac0ccd87a09e639942f2c0747492f04
+AUX leave-fix-makefile.diff 449 SHA256 d590c4c37ecfb4cc02059ab6f04f78e6ffad2aa7b421f5766c1ac7d251da218c SHA512 ad5d787eb421d92edd3ab03017318b71e26ff0b699871d5017436af607c47fd3bc7221206773f8b993652fdb0a9551519c34160e1df832314ea05eb6d57a7895 WHIRLPOOL 1ab87c7a37339d332b514f937261e6433cd5d0f0388aaf878971d081cbb97152af155dbd5f9161100e460dbb2cc9283b639732977aa501d4f866432d62a90a97
+DIST leave-20100918.tar.gz 3477 SHA256 a467a4841b9d0a2daafbc5485d3761a9ca14b84f17320bc224b490edabfd0c97 SHA512 69df594800159bc80baeb3945aad144ceabe21bdac22ed2cd706b0ec610895dc82e58bae59ed0230eb97e909812bc90237b7c70e965125e7fa6767972a6259d1 WHIRLPOOL 8c7a0dd09916133cf6207e4540da63391c6310bf541d6461efd6b178754b6d8e268968fb5bf3dfb0c6bbacd23e1ce87b53f2a1d301e8b0535cb28013fa3fefdf
+EBUILD leave-20100918.ebuild 724 SHA256 a432dd6630264d1d5cebfad79f9d643f6cd96e121560fe27f14cca612617bbd6 SHA512 308bd9f7f8b6245da0c2921e22c922ac969a65d00600fd26b20e341a5ab98c44afdc6cf8b9508056da84d5089fa984084229f90f9d2cba413cc48565d1252cc0 WHIRLPOOL 568647f46808ab7bdbb4ea1390f338ab2f3f9cabc3312e4ff1bd20e63550697cb44867a484195174be26ca331ed0e662e51a7c347584b38015df23079538b881
+MISC ChangeLog 2474 SHA256 70ef9c6e3f98d3c8adeec6c96d40dfa94b1c7c36ddf0c6818c0d24a3f89f287d SHA512 19922c5d93a6891f1bd3155ca5c1c2578842560ab5e161d032c06d5bee5093286085be5f3bec84852472a053ec1fec07869bd3fe3755740d035eaf3c36a75a24 WHIRLPOOL 56efde6c14de2237fd59a7f6e4da42a616c5379b8a601539fe071ab9c0bd79bc9030656aa03955ffe657f795eff8e9185464a30f9aeb47260b51601ab180af5f
+MISC ChangeLog-2015 2000 SHA256 11725bd487bc8290e0a155e947a438d90c5f5d914e319a29436588fd3b5b78d3 SHA512 834d474c186c91885bb8c6f455496ab0cc0f41bdee3a2269eba266e3ebcfc3f4ec0b852bcad1421f7c6fac0b19a349948881e385b744c309a8634fd869aedb56 WHIRLPOOL ca23b10b0c9ec53d13cb1cd0e79a52427bacfea7a76cf87911afbdf09baddbcbd96cca01ed8b98a11f27dc0f75633450ebfc66e588f103c275696fbb1cb3365f
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/leave/files/README b/app-misc/leave/files/README
new file mode 100644
index 000000000000..1af71d7431fd
--- /dev/null
+++ b/app-misc/leave/files/README
@@ -0,0 +1,9 @@
+The leave utility waits until the specified time, then reminds you that you
+have to leave. You are reminded 5 minutes and 1 minute before the actual
+time, at the time, and every minute thereafter. When you log off, leave
+exits just before it would have printed the next message.
+
+To get rid of leave you should either log off or use `kill -s KILL` giving its
+process id.
+
+This program is included with FreeBSD and is distributed under the BSD license.
diff --git a/app-misc/leave/files/leave-fix-makefile.diff b/app-misc/leave/files/leave-fix-makefile.diff
new file mode 100644
index 000000000000..efcb89eadea6
--- /dev/null
+++ b/app-misc/leave/files/leave-fix-makefile.diff
@@ -0,0 +1,20 @@
+--- Makefile.orig 2004-10-16 23:04:50.144563171 -0400
++++ Makefile 2004-10-16 23:57:27.639495962 -0400
+@@ -2,5 +2,16 @@
+ # $FreeBSD: /repoman/r/ncvs/src/usr.bin/leave/Makefile,v 1.5 2002/02/08 22:31:41 markm Exp $
+
+ PROG= leave
++CC ?= gcc
++CFLAGS=
++LDFLAGS=
+
+-.include <bsd.prog.mk>
++#.include <bsd.prog.mk>
++
++all: $(PROG)
++$(PROG): leave.o
++ $(CC) $(LDFLAGS) leave.o -o $(PROG)
++leave.o:
++ $(CC) $(CFLAGS) -c leave.c
++clean:
++ rm -f $(PROG) *.o
diff --git a/app-misc/leave/leave-20100918.ebuild b/app-misc/leave/leave-20100918.ebuild
new file mode 100644
index 000000000000..9a8f79245f1f
--- /dev/null
+++ b/app-misc/leave/leave-20100918.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Command-line tool from FreeBSD that reminds you when its time to leave"
+HOMEPAGE="http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/leave/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-fix-makefile.diff"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"\
+ || die "emake failed"
+}
+
+src_install() {
+ dobin leave || die "dobin failed"
+ doman leave.1 || die "doman failed"
+ dodoc "${FILESDIR}/README" || die "dodoc failed"
+}
diff --git a/app-misc/leave/metadata.xml b/app-misc/leave/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/leave/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ledit/Manifest b/app-misc/ledit/Manifest
new file mode 100644
index 000000000000..ab46b85c2d22
--- /dev/null
+++ b/app-misc/ledit/Manifest
@@ -0,0 +1,5 @@
+DIST ledit-2.03.tgz 24319 SHA256 ce08a8568c964009ccb0cbba45ae78b9a96c823f42a4fd61431a5b0c2c7a19ce SHA512 94281ea31d02c046db73bed42a1835826f063ff5d1ff4c374356e37fdf6b1a018f95a6372ece0eec53193aaf2e95c234c509ac178541bfe48dbc6f223f34f661 WHIRLPOOL da09a026b1b06cd6496b4195062a670d8cbe9900da54d52b83451f2cbfc877471fdce113306ec0027b045b3038dc709645573b70106792d9f154b1ca84477b41
+EBUILD ledit-2.03.ebuild 872 SHA256 41442b24070742da12895fea5069fddfdd82339135263a881a8f7b278a757fd6 SHA512 6bcc0b182738fc40b2f54f18d7c1ec039aea53e34a59dff5e3d69e665b68c27e7593823b45a87c620348d0abd5ab5574983023a596f0f7c8b5a813282ba05c5b WHIRLPOOL a3d8e3015f79464f375de3cb395fe5d515397b0a6b3b9870faf1987d8126383a2761836a5d2e0817750da362cf14b89cb148dc94d5dc26c5d1a6e3cfa6eada47
+MISC ChangeLog 2419 SHA256 9fa259fdac59c6a4c14944af07c5e7be6fc240ae53f2765501b4c1fc123dd059 SHA512 91108b3eee953180ecb5768d31547c7ca0b06c77716763480944adf0d0c3b260f3714f80d2a96c0a79bce43c6f44861bbd61026548e8fd66ebc123943ebb2eca WHIRLPOOL 04c69fd1edfdd8269234cb59aede293021da4a64e6032b1513035927a871ed60a2d6f112f7fcc9a6bbecc50f2cdf91bce8c5bb8ed5a1e2a2333f1a458d1dbb7b
+MISC ChangeLog-2015 4787 SHA256 7c37bcf6736e354d3d58294898b4b0340e3fbead0f3fe0510c0f7ad40e1b7410 SHA512 c20f1582a4314bb141f76b597def529e7fc5e418698e5322b2b938902848a5d3f30e86e6eebaef20671dfbed93a45011230fe25a4e196e4dbba80bef7728ec0a WHIRLPOOL eb72755482922da9e392edabf4cb9dc15dedabfbeee0ca281d924bffe14bbea467916e07311a6faa21cf548ceb89c82cd9913d1a496a087052e80544a4ab115c
+MISC metadata.xml 253 SHA256 3252720dd8d4ec7bb5445b2ae2ce9076da21fae984c5e13eb515933bdbf84277 SHA512 9285e04d22e8e41631e6de00e0ba02842cf0e772cd17a1d7ba3864e50eeea50abb06077ea4f9ac920eab3d520bfe28d389b3d04d5c3529af23a68ca68b6857d4 WHIRLPOOL 7ff76b173029194fbfaa950aaae5fe6a3eb9a58053753ad6f3b1dd0ded6c6a25c683fa588b890c4aa4c8ebd40160d979dc52ec5d61f7b56f3a33c75d8e4cfda6
diff --git a/app-misc/ledit/ledit-2.03.ebuild b/app-misc/ledit/ledit-2.03.ebuild
new file mode 100644
index 000000000000..caec36f62406
--- /dev/null
+++ b/app-misc/ledit/ledit-2.03.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+RESTRICT="installsources"
+IUSE="+ocamlopt"
+
+DESCRIPTION="A line editor to be used with interactive commands"
+SRC_URI="http://pauillac.inria.fr/~ddr/ledit/distrib/src/${P}.tgz"
+HOMEPAGE="http://pauillac.inria.fr/~ddr/ledit/"
+
+DEPEND=">=dev-lang/ocaml-3.09:=[ocamlopt?]
+ dev-ml/camlp5:="
+RDEPEND="${DEPEND}"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+src_compile() {
+ emake -j1 all
+ if use ocamlopt; then
+ emake -j1 ledit.opt
+ else
+ # If using bytecode we dont want to strip the binary as it would remove the
+ # bytecode and only leave ocamlrun...
+ export STRIP_MASK="*/bin/*"
+ fi
+}
+
+src_install() {
+ if use ocamlopt; then
+ newbin ledit.opt ledit
+ else
+ newbin ledit.out ledit
+ fi
+ doman ledit.1
+ dodoc CHANGES README
+}
diff --git a/app-misc/ledit/metadata.xml b/app-misc/ledit/metadata.xml
new file mode 100644
index 000000000000..ffa6c6b4395b
--- /dev/null
+++ b/app-misc/ledit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/lfm/Manifest b/app-misc/lfm/Manifest
new file mode 100644
index 000000000000..0afcac2994bd
--- /dev/null
+++ b/app-misc/lfm/Manifest
@@ -0,0 +1,6 @@
+AUX lfm-2.3-no-doc.patch 418 SHA256 f4aef9c57938c953e7e0798d3207920c86e6cb84ffec2a82ccd29da7801e4e8e SHA512 d914da807c56a8ba38a9c9c2d6ac8c1ab5a9ec935cc55fd0a8ca5d12ecda571fd64a41938942586c9cc0e80a53a8d83cecc347decc66ebec719f78ce9a0b0d3b WHIRLPOOL 964bd6dc6491c545948f3ca5a9e588cfc37af6bffaa394ade6f8bc3d22da7bd356f84e937520decf557c12b5f20c4abb610aba5527f4d3d15a28c2d85638ff61
+DIST lfm-2.3.tar.gz 119120 SHA256 e8df188c17d4d676cf41ccae9f6bf82aa0c5ff3942d5aad985990ad1446c9504 SHA512 d244cd03ebf4b145c0d364d9d7038a2b640010e7e6bc413a3613d4519afac4856ee7694a962176d7693bef6503b80703685b1cefab1eda0f8d0768ae10abf6c7 WHIRLPOOL 559bfd2bda0438709f53a7c22f285aeb932e6929b7c0e16af2684088c65f21a068440e5888e772a0b67bd45c2541a2441a5a22ab13011aa8eb97dd7bd5fc591f
+EBUILD lfm-2.3-r1.ebuild 487 SHA256 038e26c8811f54a400055140a8542db20ee828e8ee81ae3021629d06037b562d SHA512 0a336f8697a43fe176bc3001182be2eae2ca6e5058095247e6e5af3eccd89b89ce6d2af4bd486d4ba5912dc8d72d345b408f8d681b7a563929afe50aca0c0d26 WHIRLPOOL 2618721eb662447b8755cbcaee1329df37c3111360f6e6a6f2d15014c9ff85a1b0e8f190d31d1c793a5a57f5edcdf925fea14ea52bf4d684cfa89f67a9cb986a
+MISC ChangeLog 3246 SHA256 b6bee7dfadeab272a20a81cdc3c534301e6e529e70502f7972fc801995ab2641 SHA512 60dfadc7022863b7d316bf4796dd551114c29b54992586a931165b6179ea5b301eb9767597a60211bbe062ea21fcb4e655068a5eccc33e485c875abbed1e12bd WHIRLPOOL 483ebc77a909a8720161d9a4b5c8c8bb40f828083a0b8f5a37bcf75bcfb84a1939f35cc309da5a7704358543ca8ab57f09678e4b1c9e3e930e1db79b9a95be09
+MISC ChangeLog-2015 867 SHA256 1c6febe3c90959b431ffa35440bb6a4c2cb1e56ac2a6eaa6d4d6ffdcd774ec36 SHA512 ae87b794fb2375a2af2fd2eb05ce5a62952a17069c06cd01a713b2097df617e1f447b8315ae87d485ad994276b1c4a75143efda8451e0a5709a089815c648a9c WHIRLPOOL ea3343e0ea7fe7ecbe41858dd270f9df831c9b96c1adfc5b086f193c0b63425d33b64b61844c890e63baf24a3ba1fee247dff52929b0bfe8391bf334d39ee41c
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/lfm/files/lfm-2.3-no-doc.patch b/app-misc/lfm/files/lfm-2.3-no-doc.patch
new file mode 100644
index 000000000000..3b69881589e0
--- /dev/null
+++ b/app-misc/lfm/files/lfm-2.3-no-doc.patch
@@ -0,0 +1,12 @@
+--- lfm-2.3/setup.py.orig
++++ lfm-2.3/setup.py
+@@ -56,8 +56,7 @@
+ 'lfm/actions', 'lfm/compress', 'lfm/utils', 'lfm/vfs',
+ 'lfm/config', 'lfm/pyview'],
+ scripts = ['lfm/lfm', 'lfm/pyview'],
+- data_files = [('share/doc/lfm', DOC_FILES),
+- ('share/man/man1', MAN_FILES)]
++ data_files = [('share/man/man1', MAN_FILES)]
+ # **addargs
+ )
+
diff --git a/app-misc/lfm/lfm-2.3-r1.ebuild b/app-misc/lfm/lfm-2.3-r1.ebuild
new file mode 100644
index 000000000000..63105cd4a3a5
--- /dev/null
+++ b/app-misc/lfm/lfm-2.3-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Last File Manager is a powerful file manager for the console"
+HOMEPAGE="https://inigo.katxi.org/devel/lfm/"
+SRC_URI="https://inigo.katxi.org/devel/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-doc.patch
+}
diff --git a/app-misc/lfm/metadata.xml b/app-misc/lfm/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/lfm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/linux-logo/Manifest b/app-misc/linux-logo/Manifest
new file mode 100644
index 000000000000..fa9d38b973e5
--- /dev/null
+++ b/app-misc/linux-logo/Manifest
@@ -0,0 +1,12 @@
+AUX gentoo-alt.logo 1672 SHA256 62002844c61b9dc3bd087356935d8e9473e789f64260f66f2a3b6b750fe150c1 SHA512 7068100889469c489ec327fa1aaa9503c6b54b350b2d7786ad1cbd9bcafb92630220820defd01089d3dc52c7dab2c2f2787aef4361430f8dc97894b46f3d72de WHIRLPOOL 5859453239b3f2eed1a6631bc3f4062e41752151214e379307b5fed66d4dcb6a4c028356f3125f67ace0683b0aa66c0cc9027c7072a6585e0625833ada1b19d0
+AUX gentoo-linux.logo 4788 SHA256 4d2498cdb0782911ae3d759b2c0529572078ef99e439425b20a5c2e7af37ebb7 SHA512 63f72473c05073258c47b0b24bc8dea4e7f3e4e060d8296ae31eee2dccb93c159ed473ef23924e96fa47a4796150e16c542908d55312a660ccf0696904962fbe WHIRLPOOL 8066696ea4e76679e3927d3ee2671510daa771e289fb1a01bf9efdabe2ffa21d8aa98df336b54c36d2930e2e4ef70b1426cbc46c478832635a12df1af83e28de
+AUX linux-logo-5.11.conf 1225 SHA256 4873b2d9563906eac3e6222c142b7b408a8392e3b6de0cfa0e1a5fd8b6440d20 SHA512 b277fb20fb4db7420fad63f7412513f992471e64985d9e8f7ed4d3975fc9c5dac4ed777bc3b0cf6138bbab5a38c519ae75039bd89e42503b75e7d5ce191846d1 WHIRLPOOL 8efb37ffb56e25650f0d559688e4f8bf68733cbe7a143de3944d2a8aef9c4b67517ca720d22953afd9f5bc5835dcb0d32b6cfee52ce195a63af72eb6b1884c4f
+AUX linux-logo.init.d 938 SHA256 b7611ae9d685158d66fe575a9575c7111470dedd4193486fbf621b079a5de0d5 SHA512 0c021418a4e7e31df3aada8bd3c7cebd97f8e812d086a45aaff5d5779650195e92e87072a3627a3bb50384f10fccafd78cd966c8daed6775bbe58f6305e6db53 WHIRLPOOL 15a0551db64b33adbfa55125948fb6d4391e2807bd3ef6242b6403a9493d0f09cdf25e01e382aee4cf816e77dc4de84df9d90bfa04b416dac2ceba6c98a6d6d6
+AUX linux-logo.service 155 SHA256 7b33f7fb8b93f69f860ab8a0966f5ccf9d37eec8211ffc465a648adbf9a03314 SHA512 01b5917d1a7a70faa2622e459f4e27b5e23f15481ac94cae51ee39799d15f783a6427c7430067208a7a73e6f270527c1e64740c6eb31ce0f17a4777343bc3261 WHIRLPOOL 6114e7853703a9d7530cc4596676d763523fcef73cda53ab99d02589f2c9de3558f42069b912363955a1f479d2aca31fff07bd246bf41002fa3d34b0fe137827
+AUX linux_logo_creator 604 SHA256 613d44af9778e9e050850341a32f9efc75dec47bda4dfb5f85693ea2ded42dee SHA512 a1098c1ea4c867c8950e744c598373f6f409eb411525b2e6e7a0e592b78ba237ec71a591b13c8a958e4622c3471d087ef196d07e2a958450392b75aeb9318513 WHIRLPOOL d5aefa21234c6d010080a7f7dd033ce06adac87fd4cdef4d685dfbe292f653878b22b4e79d069b87d135adbd1daa60250b2b299876d1a3e7e9bac5033f0aaa62
+AUX logo-config 195 SHA256 9390d9ae9788f9df9cc3395bf53b304aa7747343ff2b3d11e7ab2f97385b05f2 SHA512 d58c60821d60d511f637d9abfd996b1420662df3bc5df8ce3ee2b3bd97974b4996a4a57ac18f8fdf5305cca3221244088d28e6d9ae5ee10d6df49f6247806469 WHIRLPOOL 8068cd6c79bf65ee58f420bc99b0b9f19ec3cb0f28c6aeca2a7a13ed8cfa4b3bcade3974680316b8e3e3d9f4fb348d66ab9d86d71765585472333e66e714d8b0
+DIST linux_logo-5.11.tar.gz 103623 SHA256 f56634d7b6bebd6598705d973997435fdc9cb9115dea3cc1d63398c92ebe72d9 SHA512 3c11d59eeb1ea613eb66d3ea5ef2d7c9ef906cb12430b9350570a6a1937ec174bdd974e6227358339c3fd2e0647a5066a0bea22289c4aa9bc8b03afb0033f114 WHIRLPOOL d2f83045df8c2f23f74a527af1aa36ea952fb3595ebed39d216b6ccdf12609051598024e703c8af6d496cf1c7e66de27104dfdb885fe8bbab60e1607fd0ed1a5
+EBUILD linux-logo-5.11-r3.ebuild 2185 SHA256 2e1f3c5291ce93b6ffe61afc1009e4f0613edfaa1a91fd817a1eb1318304e5b2 SHA512 6f0250d887fbe33372d34ab32966dcb08ae7fba7c4dfd3d80055b5c5f676c7dcef03b9f604d17d5da3e227a39b613d4d0f191bd5cc05b8ca1831d5382bcbbd76 WHIRLPOOL 8e825e7a48efa6214ce311a81e650361a41235dcdd7e393e9cf166424053af0ee522f4a00b90633409ecb989d2f7e02ee285b724a6ef8994a34b2a499fda2bd7
+MISC ChangeLog 2685 SHA256 68e91fa36e367aa3a5f1f15e1f78842d7f157a32fbd49a36d9a3a1049612e8e9 SHA512 d19a058350fa5654f4fce8afbd22d64d95022be709c3616537ca4d16c13fd5a76a17e12020d4b17200ae32bc14fd88d5208f8a2a234c51cec39e10bcb61f03d9 WHIRLPOOL 82ed1368b78fdcd07ca1cca165aa7549e80175fda46fc705c3b3acfb35db9ab93309b9151da7481f4f77b31f8efb7127f006e4f847fc368204e1b140071598e8
+MISC ChangeLog-2015 13817 SHA256 6d0041b4cc467e0b050e568987653b305f15baa7f10581feb3830c5a3833d3a3 SHA512 17a6f1dca4b84ed7b12677f5d290632c1692ae349e71ff2d04eb4d405ddfe9782fdaf327dc6b6420d6aa78b90047b001cb0009e0c2a921fa581336daa989d83c WHIRLPOOL 92eb343c2e36c84e35c2da27d90d44225cc4c46caa8bfd59832af20ab0ea98abf07a04cc233e607f8de231635e3cdc86fa1bc2d5357632f6c65dcf675d701336
+MISC metadata.xml 593 SHA256 55a29ec2831b97faad4e0f176aab9721eaca6673a3332b49a66cc837e14c446d SHA512 a467d7cf5f4ac857acd4dba46860dfe9f82f097927584d851c32b4fd0a5d044d494df742e22625dd9281db4b3bce3f5b13f5297c07012e53c2b3f331bda4dbd5 WHIRLPOOL bfccbbeea9f5723a9fa476ff38daa7e203041c707c9d305d6b3be382491622e74efa30e4fc985e53acb2bac67c5b81bbc5383370e6a4cf7bdb9bd2dbbf872bb9
diff --git a/app-misc/linux-logo/files/gentoo-alt.logo b/app-misc/linux-logo/files/gentoo-alt.logo
new file mode 100644
index 000000000000..f60430dade98
--- /dev/null
+++ b/app-misc/linux-logo/files/gentoo-alt.logo
@@ -0,0 +1,39 @@
+# Gentoo Logo
+# Added by James Rowe <Jay@jnrowe.uklinux.net>
+# Assigned to Gentoo Foundation under GPL2
+
+SYSINFO_POSITION bottom
+
+NAME gentoo-alt
+
+DESCRIPTION_STRING Gentoo Linux Logo
+
+BEGIN_LOGO
+
+
+ .
+ .vir. d$b
+ .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
+ $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
+ Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
+ "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
+ d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
+| $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
+| `Q$$P" """
++--------------------------------------------------------- l i n u x
+END_LOGO
+
+BEGIN_ASCII_LOGO
+
+
+ .
+ .vir. d$b
+ .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
+ $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
+ Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
+ "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
+ d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
+| $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
+| `Q$$P" """
++--------------------------------------------------------- l i n u x
+END_ASCII_LOGO
diff --git a/app-misc/linux-logo/files/gentoo-linux.logo b/app-misc/linux-logo/files/gentoo-linux.logo
new file mode 100644
index 000000000000..73581f001eb5
--- /dev/null
+++ b/app-misc/linux-logo/files/gentoo-linux.logo
@@ -0,0 +1,82 @@
+# Gentoo Linux logo
+# Drawn by Harri Hautakangas
+# Assigned to Gentoo Foundation under GPL2
+
+SYSINFO_POSITION bottom
+
+NAME gentoo
+
+DESCRIPTION_STRING Gentoo Logo
+
+BEGIN_LOGO
+.....####......................................##
+#.............................
+....#######....................... ###
+.........###.............................
+...##########.....................
+####....#############...................
+.....
+...####..#######....#####
+........######...#############...
+#####.......#####....
+...#############...######
+#......########...
+############..#######
+.....#######...
+....###########.. ##
+#.####..... ###
+#.####......###
+#.... #########...#########
+..
+......########...########
+......#####..###
+#.....####....###########
+.###########.
+.......######....######........
+####....####....
+####....########
+###.###########.
+......######.....######.......
+#####.....####..
+.####....#####.
+.####.#####..####
+.
+.....######......##########...
+####.......####.
+.####....##########
+..##########..
+.....#####.......########
+###.#####........#
+###.####.....#
+#######....########...
+.....####.........#
+#########.#####
+........####.###
+#......######......#
+#####....
+......##...........######## 
+. ####.........##...
+###.......####........
+####.....
+................................................................
+... ...........
+
+END_LOGO
+
+BEGIN_ASCII_LOGO
+.....####......................................###.............................
+....#######....................... ###.........###.............................
+...##########.....................####....#############........................
+...####..#######....#####........######...#############...#####.......#####....
+...#############...#######......########...############..#######.....#######...
+....###########.. ###.####..... ####.####......####.... #########...#########..
+......########...########......#####..####.....####....###########.###########.
+.......######....######........####....####....####....###########.###########.
+......######.....######.......#####.....####...####....#####..####.#####..####.
+.....######......##########...####.......####..####....##########..##########..
+.....#####.......###########.#####........####.####.....########....########...
+.....####.........##########.#####........####.####......######......######....
+......##...........######## . ####.........##...###.......####........####.....
+................................................................... ...........
+
+END_ASCII_LOGO
diff --git a/app-misc/linux-logo/files/linux-logo-5.11.conf b/app-misc/linux-logo/files/linux-logo-5.11.conf
new file mode 100644
index 000000000000..355ebc5cc089
--- /dev/null
+++ b/app-misc/linux-logo/files/linux-logo-5.11.conf
@@ -0,0 +1,28 @@
+# Seq Description Output
+# ----------------------------------------------------------------
+# ## #
+# #B Bogomips 374.37
+# #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999
+# #E User Text My Favorite Linux Distribution
+# Displayed with -t
+# #H Hostname deranged
+# #L Load average Load average 0.04, 0.01, 0.01
+# #M Megahertz 188Mhz
+# where supported
+# #N Number of CPU's Two
+# #O OS Name Linux
+# #P Processor or Processors Processor
+# #R Ram 64M
+# in Megabytes
+# #S Plural s
+# #T Type of CPU K6
+# #U Uptime Uptime 10 hours 59 minutes
+# #V Version of OS 2.2.0-pre5
+# #X CPU Vendor AMD
+# \\n carriage return
+
+LOGO="-L gentoo"
+FORMAT="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H / \l \n"
+FORMATNET="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H\n"
+OPTIONS="-f -u"
+
diff --git a/app-misc/linux-logo/files/linux-logo.init.d b/app-misc/linux-logo/files/linux-logo.init.d
new file mode 100644
index 000000000000..68a6700aec1e
--- /dev/null
+++ b/app-misc/linux-logo/files/linux-logo.init.d
@@ -0,0 +1,36 @@
+#!/sbin/openrc-run
+
+ISSUE_BACKUP_FILE="/etc/issue.linux-logo.backup"
+ISSUE_NET_BACKUP_FILE="/etc/issue.net.linux-logo.backup"
+
+start() {
+ ebegin "Starting linux_logo"
+
+ if [ ! -x /usr/bin/linux_logo ]
+ then
+ eerror "ERROR: linux_logo not found !"
+ return 1
+ fi
+
+ ebegin " Creating /etc/issue"
+ cp /etc/issue ${ISSUE_BACKUP_FILE} 2> /dev/null
+ /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue
+ eend $? " Failed to create /etc/issue"
+
+ if [ -f /etc/issue.net ]
+ then
+ ebegin " Creating /etc/issue.net"
+ cp /etc/issue.net ${ISSUE_NET_BACKUP_FILE} 2> /dev/null
+ /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMATNET}" > \
+ /etc/issue.net
+ eend $? " Failed to create /etc/issue.net"
+ fi
+}
+
+stop() {
+ ebegin "Stopping linux_logo"
+ [ -f ${ISSUE_NET_BACKUP_FILE} ] && \
+ mv ${ISSUE_NET_BACKUP_FILE} /etc/issue.net 2> /dev/null
+ [ -f ${ISSUE_BACKUP_FILE} ] && \
+ mv ${ISSUE_BACKUP_FILE} /etc/issue 2> /dev/null
+}
diff --git a/app-misc/linux-logo/files/linux-logo.service b/app-misc/linux-logo/files/linux-logo.service
new file mode 100644
index 000000000000..658d7103c5e9
--- /dev/null
+++ b/app-misc/linux-logo/files/linux-logo.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=linux-logo-creator
+After=systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/bin/linux_logo_creator
+
+[Install]
+WantedBy=logo.target
diff --git a/app-misc/linux-logo/files/linux_logo_creator b/app-misc/linux-logo/files/linux_logo_creator
new file mode 100644
index 000000000000..5acc2fd5b85b
--- /dev/null
+++ b/app-misc/linux-logo/files/linux_logo_creator
@@ -0,0 +1,12 @@
+#!/bin/bash
+FORMAT="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H / \l \n"
+FORMATNET="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H\n"
+OPTIONS="-L 2 -f -u"
+OPTIONSNET="-L 2 -f -u -a "
+
+# FORMAT="Gentoo Linux `cat /etc/gentoo-release | awk '{ print $5,$6 }'`"
+# /usr/bin/linux_logo -L 2 -f -u
+
+/usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue
+/usr/bin/linux_logo ${LOGO} ${OPTIONSNET} -F "${FORMATNET}" > /etc/issue.net
+
diff --git a/app-misc/linux-logo/files/logo-config b/app-misc/linux-logo/files/logo-config
new file mode 100644
index 000000000000..68ce395cf5ec
--- /dev/null
+++ b/app-misc/linux-logo/files/logo-config
@@ -0,0 +1,7 @@
+./logos/gentoo-linux.logo
+./logos/gentoo-alt.logo
+./logos/banner-simplified.logo
+./logos/banner.logo
+./logos/classic-no_periods.logo
+./logos/classic-no_periods_or_chars.logo
+./logos/classic.logo
diff --git a/app-misc/linux-logo/linux-logo-5.11-r3.ebuild b/app-misc/linux-logo/linux-logo-5.11-r3.ebuild
new file mode 100644
index 000000000000..6406607e1caa
--- /dev/null
+++ b/app-misc/linux-logo/linux-logo-5.11-r3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs systemd
+
+MY_P=${PN/-/_}-${PV}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information"
+HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/"
+SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux"
+IUSE="nls"
+
+RDEPEND="nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ cp "${FILESDIR}"/logo-config "${S}/logo_config" || die
+ cp "${FILESDIR}"/linux_logo_creator "${S}/" || die
+ cp "${FILESDIR}"/linux-logo.service "${S}/" || die
+ cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die
+
+ # Remove warn_unused_result warning
+ sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \
+ -e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die
+}
+
+src_configure() {
+ ARCH="" ./configure --prefix="${ED}"/usr || die
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake install
+
+ dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ
+
+ dobin "${FILESDIR}"/linux_logo_creator
+ newinitd "${FILESDIR}"/${PN}.init.d ${PN}
+ newconfd "${FILESDIR}"/${P}.conf ${PN}
+
+ # systemd support
+ systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service"
+}
+
+pkg_postinst() {
+ echo
+ elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos."
+ elog ""
+ elog "To display the first Gentoo logo type: linux_logo -L gentoo"
+ elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt"
+ elog "To display all the logos available type: linux_logo -L list."
+ elog ""
+ elog "To start linux_logo on boot, please type:"
+ elog " rc-update add linux-logo default"
+ elog "or for systemd"
+ elog " systemctl enable linux-logo.service"
+ elog "which uses the settings found in"
+ elog " /etc/conf.d/linux-logo"
+ echo
+}
+
+pkg_prerm() {
+ # Restore issue files
+ mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null
+ mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null
+}
diff --git a/app-misc/linux-logo/metadata.xml b/app-misc/linux-logo/metadata.xml
new file mode 100644
index 000000000000..08abd9d93ea0
--- /dev/null
+++ b/app-misc/linux-logo/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>nimiux@gentoo.org</email>
+ <name>Chema Alonso</name>
+</maintainer>
+<longdescription lang="en">
+ A utility that displays an ANSI/ASCII logo and some system information
+</longdescription>
+<longdescription lang="es">
+ Una utlidad que muestra un logotipo ANSI/ASCII e información del sistema
+</longdescription>
+<use>
+ <flag name="nls">Add Native Language Support (using gettext - GNU locale utilities)</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/linuxspa/Manifest b/app-misc/linuxspa/Manifest
new file mode 100644
index 000000000000..ad05df0e5e8c
--- /dev/null
+++ b/app-misc/linuxspa/Manifest
@@ -0,0 +1,7 @@
+AUX linuxspa-0.7.1-compile-fix.patch 345 SHA256 70a0b950f3ae5de064fb9f2654d02dd4b89f5df47e6afa5a6f057b80b30d2ceb SHA512 28ca542d3b72cbf7a5e33caa1a98b6a0d76a021359f5fa7222cc1328b938dffc5fdf4a39cf11d60c7247d269cce938239a1c0eff8e32b60835598a41290c07a5 WHIRLPOOL fb8a1a1dc08abec572cccfc385a3bc81d0071049c341def2946f1c4dddccc5d01bed1905d40f7c1b62c3941ac3090830e29525adc1e5927e4bc85f2bc7407083
+DIST LinuxSPA-0.7.1.tgz 45448 SHA256 7acef814174e2007d201f8b14a432075ede3709317c4632916dcca04187c97d1 SHA512 4b622330e88abe7d4b91392e75ef8d90902b731e051a7bdc93895aa82b6ae33a5e65bbe950c8d6884985cf8b7bdb1c3dd46b24d75f7c90a872e0a7758f929673 WHIRLPOOL 62c7b04590cd43886b06199f6357370af90f77a1c59cdd277db763ea43535a4833c499f5ea42ca948b3ac1326db19c4c580fd4b0f09568c90d7cf31851869b82
+EBUILD linuxspa-0.7.1-r1.ebuild 836 SHA256 21805f8fa279a0f45029022708944ad57eb0ec39b0100e4f37b651bf9714b4e3 SHA512 c8557de674ab0651a500d96fe8fcb5bc9fadc7f82deb505db803a52b3661d27a42793690e54f295a3b17af97ddf397e0fe6694576df525e5ab8fb1b1a28a45c5 WHIRLPOOL fc5ecbf38d1b8558ada3c2021bbcf28e2afd913e9b77c430cf1b4675d17d242a9a94cdf7617f0118a93e9e9f65f7ad0136b89a79b2849150042e5a99f32e6906
+EBUILD linuxspa-0.7.1-r2.ebuild 851 SHA256 89ae2f3aa07b3e0e104da0bb8922b5e96448798ed14e86c6612207ec79895b07 SHA512 7cb98532f2f94ae4bbd2880048934f09c588cb62d64de3837eabca4e1b636dc27bb34b7f9dbff2dca5f09820c5181575479d58a7892bea18754b0e15ce55c322 WHIRLPOOL 8a657a457efdbc7f7d61193e3d323bcaa255349ab490ce3aa6a67f82ff4a497fdfcbb0fec748c2b067b8eca78cf3161ce90275cfe7417a282f249d5c91270b11
+MISC ChangeLog 2769 SHA256 612ea17e6df544d98272239d2e3ca74f6447d895fca2f18bd48e0f5a6e7a0cbf SHA512 e6415203df165f87a7b3ba1a61eeab51a796f822a54d7dcd3b037e97b524970329d6a54f69cd65a67c4de8f6449f262562ba54d7cf6c28d9887cacc9b8b49d80 WHIRLPOOL fe4db83cecdae596619bc033bd15f6047520084f0ce56224f4c933673199d03a1f123aac2e78582b5e2bee8caa835d84dce3f34542686546531ae90c8903f105
+MISC ChangeLog-2015 1174 SHA256 b48f0433b40e82ca73cc953241f039c0fa2800d9bace3e588de982e5a60e94f6 SHA512 54499b0114b77765ae4533a296cb5b6d666d9f05d6575d07c75684cf0fcdc6fd902d5898eb8d126eb91d036f4824edb3545754ae3864e5b307fa3a3817391c08 WHIRLPOOL db69c0988e8d89304a316dcd5f63834572c027d8bfc65a0b1f05e8b65c47841c9eec3551735a00a9bda28ecbcd6bd3c4c48292a800f188e3773c98ffd34332b3
+MISC metadata.xml 317 SHA256 0c1185a360de131dad0fca94e0f2161497e124f73a6a26776a0d85e66ca9c515 SHA512 a6d35dec316005a67ca7ab5da64ff695567b864282601de68b8cf2927ca28c5c0970592ef27c8d5031a0fb3dfbef7753e485fc4a6cacfc3beecef475fba14d72 WHIRLPOOL 8b9e63ea2b2fb00d3e53d08fda64d814f429a285f6e6ca4f151f4bc38916b6a14768af96ea2a70b6909cb417c91a44400be6fff272d3b64cd5703b3cc1592234
diff --git a/app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch b/app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch
new file mode 100644
index 000000000000..d8a3c858647b
--- /dev/null
+++ b/app-misc/linuxspa/files/linuxspa-0.7.1-compile-fix.patch
@@ -0,0 +1,12 @@
+diff -ur a/std232.c b/std232.c
+--- a/std232.c 2003-07-18 22:08:33.000000000 -0300
++++ b/std232.c 2006-05-11 21:31:33.000000000 -0300
+@@ -89,7 +89,7 @@
+ {
+ unsigned int index;
+
+- (unsigned int) index = strtol(temp, NULL, 16);
++ index = strtol(temp, NULL, 16);
+ if (index < 256)
+ return (&cmatrix[index][0]);
+ else return (&dmatrix[0]);
diff --git a/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild b/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..d372d99c581c
--- /dev/null
+++ b/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_PN="LinuxSPA"
+DESCRIPTION="Linux Serial Protocol Analyser"
+HOMEPAGE="https://sourceforge.net/projects/serialsniffer/"
+SRC_URI="mirror://sourceforge/serialsniffer/${MY_PN}-${PV}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-compile-fix.patch
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin LinuxSPA std232
+ dodoc ASCII_Filter.txt BCircuit.txt LinuxSPA.png READING_Materials.txt \
+ README TODO connector-1a.ps connector-2a.ps cooked.file raw.file
+}
diff --git a/app-misc/linuxspa/linuxspa-0.7.1-r2.ebuild b/app-misc/linuxspa/linuxspa-0.7.1-r2.ebuild
new file mode 100644
index 000000000000..82ee8a843343
--- /dev/null
+++ b/app-misc/linuxspa/linuxspa-0.7.1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+MY_PN="LinuxSPA"
+DESCRIPTION="Linux Serial Protocol Analyser"
+HOMEPAGE="https://sourceforge.net/projects/serialsniffer/"
+SRC_URI="mirror://sourceforge/serialsniffer/${MY_PN}-${PV}.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}"
+
+PATCHES=( "${FILESDIR}/${P}-compile-fix.patch" )
+
+src_prepare() {
+ default
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin LinuxSPA std232
+ dodoc ASCII_Filter.txt BCircuit.txt LinuxSPA.png READING_Materials.txt \
+ README TODO connector-1a.ps connector-2a.ps cooked.file raw.file
+}
diff --git a/app-misc/linuxspa/metadata.xml b/app-misc/linuxspa/metadata.xml
new file mode 100644
index 000000000000..77681b22f7c4
--- /dev/null
+++ b/app-misc/linuxspa/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>Linux Serial Protocol Analyser</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">serialsniffer</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/lirc/Manifest b/app-misc/lirc/Manifest
new file mode 100644
index 000000000000..c437128fecbf
--- /dev/null
+++ b/app-misc/lirc/Manifest
@@ -0,0 +1,36 @@
+AUX irexec-confd 280 SHA256 c404ad3b624004cab25bd3a89593cdeb0abbc25771d6e52caf2f37cb4f7b2b79 SHA512 2b33e1044086d11fd6e1f9a204ce925182a3a2b92ef4399610e01702f9c2c8fbc87cae52961123297171eef3d40468ac17437b4281b26a5f3b256c9cebc612ac WHIRLPOOL ff0e09a0babe7f434252416f3c7d0fb27b95215c62e582c1cd4670130c48c74dcf1e565e4aa7c5705fe39f67922b0abdc28a1938a9288ef3476979bd99609377
+AUX irexec-initd-0.8.6-r2 703 SHA256 1eb5123f9876dff17367e78940a7442de6b5cae55e0eb4969f5985cc78261a03 SHA512 2d06c0bedbd2af9120caa54c049815a2bd920054afbcbd6b0bc1a48dab479527aea5e4fc7065428742f8d46032476ee37fb075669e93e16b2df5bfb8b572f86a WHIRLPOOL 468f2047768b97d65727d971192bf955ee5ce8ad981fba190cfa36f9cea09f2d0ac5e9c9b75f59c201e95ebf073d31eb960f99568f7199f869171e915bb5684a
+AUX irexec-initd-0.9.4a-r2 681 SHA256 34a15a7f5e39e33082337cdc1b7b9a24c239b331819b3d3e94eccbb120575f15 SHA512 0514712ce1a3e147e1c798319f90663baab7509299e2eb35551a716cf208e42b225f8539968bba1bd15270006fb728ff2f458015fb07bf325df8b0e095f5a206 WHIRLPOOL 94ae317e4a95a6250c3ac2040094f3e737f54e60afa7683b24c09fc3a072a9052bceb89cdf8350f79bb3520b312cf223e86d434a8467d158e491a13e4ba589c3
+AUX irexec.service 140 SHA256 e8c5c387f9f357d4b19215bec5f7f3ac4a2722ec4f23f85417428465afe0fe9d SHA512 573e037d7132d216f095e4af370cdd020d72eca4ca6dfb1a652d6cd3f533b7d86491469a14d86419406561a6fb6500567e5e38a13b8dd0c99c63ff8494562249 WHIRLPOOL 7b018590f32f7129621eba73785b2925962a9b8d7356d92191b2937e3354902689dda1ace94cb4f3dcae4f6fb0700b42b5e176a3674c2e9d9dd43464f7835849
+AUX lirc-0.8.3_pre1-remotewonderplus.patch 943 SHA256 547efbfa30f282ba9100495044e3b720c8f74c44f9a4e34db934d2ac7976fe29 SHA512 f1c5b03eafb8fb9d4190e438fb4ca734cac102c7f3a097f193a0a1ac7cdee33b01fb1d794959e00be16c78bb66e34d113f3ff8fb87678e99f82670ec0306e3ca WHIRLPOOL 999b01a1c2860457bf9ed68891cbb497595d58fe57627bc87d5f6401835ee5586ebcf124e1f563264ba64df22e38c7a6ccfbaf628123c5a2419bb0f57f74f19a
+AUX lirc-0.8.4-portaudio_check.patch 769 SHA256 01e2034aaa6a7eb039e5c0e6c3b4a6ed38860614d3d0b0005d99a4aac2b3827e SHA512 a4e63da5d03f1fbb072679c3a415ae55767d601512f158c5e2fc52a045b632a055b94dca4e9d0d236ceeeb367daf22d4cc71f542229edb4fb13410512a8e4f0b WHIRLPOOL 0717efa4d7934c9736b220ec4416d1827397267b34bc3343a16a5963729fcfaa4871bb4e47b1aebbb310ea5bcc2bfaa7c675a451f5db46d979f0e4438e84a37e
+AUX lirc-0.9.0-add-zotac-support.patch 19305 SHA256 47d8a1b19f44ec2244cd95bb54dba6e5f2a565d067f63a0b7ffbc1d6a4be3462 SHA512 72ac76eba13ed043630b10adad7a8a0df9183c7b2eeab1cc2bee3f7d6a97d56382debcf61aa4a2d6068d85bbd8d592ee425f34a6ac6eabcbf0a300ed6fb208cb WHIRLPOOL 748fbd3b27995a62c8f449b4fb48f2eaca1ce1f3db4b187e67296a69b4a7fa85641a847be6e4300ed4055aafce29c6c4f94796334409d6b2d3fb6b2c3d1764bf
+AUX lirc-0.9.0-atiusb_kfifo.patch 437 SHA256 b7950ee185588a3626b8024cb22c0e67c8514362f5c9cb74bfcead8018e11b02 SHA512 d072ecd94ed4b7f1662441106650b7eb329cbe62887819c1e607ae87375a17dedea02a3a5dcf6956a1151743fd652ec5884577c595771740eef509daab8dbd02 WHIRLPOOL f0013dd75d6cf3486cddbea4e97e7ca9962af882befc5e994f258d1eb5e77e09379c4ca246e407f4c7ad5438b860e0e3b0abb2cade6f04b101525f060188ed03
+AUX lirc-0.9.0-fixed-font.patch 630 SHA256 28e2ad5deccfbc09718d19ff94bae22a7651f31085b87351e3d7fd4c515a38bb SHA512 782eb14bd540f202a3df71ce801a42b9adca17fa25a79265af6a3b0ed6b503a67b46a0d29ac6b4607862b712a3511a3a3f16cdc7bef70ba1e43967be11971ed4 WHIRLPOOL 7e67edf3a09d15c0501f0bcf3d38c9199dd0cbcb3385ae547425126e33772e4eaa0b9b8dc76a708357db303636b73474fbb1aaaf6428bcca033f50faf158c2d7
+AUX lirc-0.9.0-kernel-2.6.39-fixes.patch 2175 SHA256 f5f48c867716288835a73b8d29aa9b1fcc4905a723e1f99e35fe396b2c759957 SHA512 a502b815cec565a49382e9ad0e7237a9bc7da431f41e94db42d214655577212606500ea2651a298db8cd3a68ce706461e6a773b0d9e3316ac7d49b2038fda354 WHIRLPOOL f1968f51cc29ce4f630c59c964d106e024f4cb3e5938ea80b271800a65d130a42531db5fe6e220ae20577cd4f1998de09e5dbdf52ff1cf6f3839922dd9ece114
+AUX lirc-0.9.0-kernel-3.3.0-fixes.patch 1545 SHA256 f02e7b3c52dd17e179b6f89afc15f5eec2889a18f1df4523df680fbf50adb584 SHA512 75743844d7fe61a91174c1d7ee78a229e347659a35d1062a704c39e424d8a433efac4216a0b840282c38a4f2f22baa7a489c1c0402a40f734e7475992046a2ae WHIRLPOOL 871523dc5a9757d170b740acd9845b0ba42c4c5c4c5fdc71b5c701cefa2f6122cf1cb6171698e6bf2e605d93f052d15371657f5c1901794819ca2c3eded2ec1f
+AUX lirc-0.9.0-kernel-3.5-err-fix.patch 326 SHA256 171f03c8d93e60b86caec6027c303797028f57bc99cd37e6ccb65ef074f5de35 SHA512 c3a6e802b140595155a7ae8dc695bc13e4d6147323949a8dc9c86857bf7abcd442339eac64f99869925c308a100bfb1b7b0eb715f086afb8997252164ff079df WHIRLPOOL aa849092798c5e1335336d4de86139b5c545c8ffa899a92182f9a010e0c1e28d8e3dfca8e3d71bf2aee874c52dd237b8b10f9d514e7dce571b634b6cb1d4bd15
+AUX lirc-0.9.0-kernel-3.8-fixes.patch 2727 SHA256 82e26f0a41dc259d7ed046d888005772187ad5dfd8440408a42acc56f246d693 SHA512 0db9cbb3aba7d43dc497bc8009afb8335bfe013a06aa6936e1cd357e58c60f545575b06fb6941740d82b496dd4f2ac51b3a165435aee6b3c57107ae62bae7bdc WHIRLPOOL 69d7164ae44146db9aabbaf04376948d94826f1e70e1f957fdd83ec01fa7b30faa3778f16869544fb4e90535a4c2c048e942d3373c5570be3ca3584b5c6f7621
+AUX lirc-0.9.4-doc-path-fix.patch 892 SHA256 2d21fe0b374cc187c26636ff4f45a7a87987c28aaa2d6d962fb9aad189097ecf SHA512 ba9e93b6f32d73bc46e55b0e58f099101f833ffc977b9307aa335fcd1f6cf537ce533854f739244393644ce8882379e9721ea29c80c2fa126554b3127911c8cd WHIRLPOOL a79d02defcc2e868a7d59cc3dbe7fcb2b6128ea8921e42cc2933f1894394bd13e2e6e6fc71320298feea2d3d1a80c9b5f6663dcfb14ccd72b61051842862dcc9
+AUX lirc.service 216 SHA256 282a090a35e578a5a57cf14555c1369976cb3ccd48e25d8e8ab38e07e822791d SHA512 c3e43d24f562ba5ac7e0f12d160026ebf5db00fe066d9e28e0cbb6767fb272474103ad271fba10b970a6613f6e4545150d61b7aa096c696fddca4f2db8019e49 WHIRLPOOL 0dbf419aa4fe83aa7e4e05ff06c4063ed5c854ecf552a9b4d9e2826eb419aafd3fad9fdd01fade34346e07d5d52c09a50a363e8314779983c569ba4cb6521d6b
+AUX lircd-0.8.6-r2 1204 SHA256 ec592af12a7b7bbe1be1b9a4ff72fcf1fda6cf0e4511120e5a85e2a4ef08b213 SHA512 482fccd204671f6258822029b9eb9a1e22abf02e382b3814f924f171fd1168d46560f52a90727f3de60c27a78158173a4e0c3e848d45e489471c27851c907c05 WHIRLPOOL ff280b2d0e04fd52c77e6c0fefcd4ffd9cb5fa578392599956b7224dea8d423dcc8392e1c495cf693028da91a029bc9f3622b263b662710fe2bd17c426e948a7
+AUX lircd.conf.4 699 SHA256 d36ff77fa193a065d25e373723e03f1a9471205151b82c73a6574cce4f095962 SHA512 1fb1778f4cc72fc9c11b13a704b3abe80bcce5b3770b69b6b6bea8571e5293adad8c6968779b812e611b67734462c9a577cc71c6b16da3a5bfe31b8007300a62 WHIRLPOOL c9d3b5845b4d395abed932f4553808c0eff66f2be2b6d6ab302c98b11eb2ffc0fcd752e2862982896a4c935425ae03a545cdeb4a6c0da91141d1622178263053
+AUX lircm.service 174 SHA256 67c7d03a3c43b5c0d03d2b9c994dced8a9473c3e22e32c67e4baf75fb8ccabd1 SHA512 8baccd7138fb9095c99f4f0a8ef398114dfa2bba798f23e07d41d6a7433242e2e1f071d44e1b336fb2a36b30c650ed01f2ccdb1ed365e590f85007c012343db5 WHIRLPOOL d542ad3a1ed5a4b3eec957e7cf8814ba2548f2f27cf9502aa342ea6a9c389cedcf5cf26793d94fa0977819ff6a3ebc6ee500eaf3debeddf2b4c65e82cad42eff
+AUX lircmd 364 SHA256 47a9b3500c51c147ac64a8c0cc0dda3945522269e26c513399d89efbbb3c7098 SHA512 2f4aae24982a51c54fa59ddd8a48190c11f86ac67fc25bbb599f750be5b91e457c2f779e915943803bde2ec3e5e8988f3c0ffb9d1ea4a08c2e7f05cd3e8b75a5 WHIRLPOOL 0b4ba4532c6b6be10b8f5c0fbff42c396b47921938b3e9f9445d3974bda4b81bae9d3d6b877ab711634b716587377c8c1e9fc21fdd78547563744797edaae1af
+AUX lircmd-0.10.0.conf 57 SHA256 0d38ab189b0dd7fab1e0e19fd997c54b8264486eb5f41f4c85f122d0c4006769 SHA512 6a69c7600024f00947dc35e3c6cebf7524fcf5f2a1e799fe70590fef2070c1049c4e6177711821f4e7b13972fd6f535591b48bb1006acd44fa650591b3265ace WHIRLPOOL 3559d9e3bc53ae368326263e45d2d7a72aec41bec5bd691664ba4e2700b6be6716933440de548bbb0c551dcd8db2558fe21b9d69ef3838720627e2523a18ec19
+AUX lircmd-0.9.4a-r2 382 SHA256 e22346c69aaff9cb32bbcabe7fad5c045c144a83d1aa34ca9ace1f7c9b2e63ff SHA512 c744553b6246e62845ee61e18d78d97e7242969d0bb5478072bd9072ce0a02486306b577ca64c1c569c9b136e3231a4f0663c94114879827329a769e5f36413d WHIRLPOOL b1471cd2506e6ef91efcd5a7f9925a7ac2a4b7ad65131738db7dfbba29da91ae3738727bdc8c5dcf32c95e0a28f83c786da563dabbd46f99bfe27bd0b606a8fe
+AUX lircmd.conf 65 SHA256 a6a5bb0efdf4cf5b5e62ea21351c270ddb511967b31e54e4e6c7a37193360ad5 SHA512 75cea93359a18f5d3f398795904dac4b49abac8bdaf19e06d17a713a3bfc2e5ee154b1f137c3d731fb659ecc245ad880053378a5b5958a28af3f884f5827e228 WHIRLPOOL 840f5bd3681767372fd0c6f7e62f342e4a69eba5dc8282455df156b9e3bd336431e55e1eebf566be55c25bd42787ac2d7b8f98d103a3533773754596bac93b65
+AUX modprobed.lirc 549 SHA256 b4951252321ea326d3ec401e5ff1112716c5aaf5b2ca94d9f5e187e22ad35c44 SHA512 a64cac97e21ab53c247d8dd3e518b3caee5eeb9c3558727eba8a04684894c6be1695ce681e71d559474f4e78bbb39130d97f843eae18e56b3d3eb70f1fbefc63 WHIRLPOOL a45ec8b3cd725f9b4c6b991cf6d4fec7869a07911a2ac82535dca665a0dd99a66b40d85faf0beea780001e9260a8a17c1ccec880c05a271a138c1e0501f7727c
+DIST lirc-0.10.0-rc2.tar.bz2 2552982 SHA256 650d864df029958992d450ac609cc22b0b2b6ff554cfa2e9d73df87eae370ca8 SHA512 ab3426477f017e3a1b9da690189beae5086bbb52f88d302e6c91d7633f74ef781e6747f6b697b3ed6df13497a3e666f11c846104d2f00b975746d24bfd2a6cd5 WHIRLPOOL d412e3d39aa8d2e6a15943a300679bc92eb91ab10977022a953f954b4e0e5a90fbeeaffd3e700b8665556daf120efc0cb5a0b5fc19de92bc91edbb5a56956e35
+DIST lirc-0.9.0.tar.bz2 857286 SHA256 6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff SHA512 e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431 WHIRLPOOL 0a1c00b07898aa7a5d78865fb73c6d26c6331dd0a4945773a801d29e40298b365eb58cae113a95fcf73be678a24ac082ad0868e8051303d732882fb82a859a7b
+DIST lirc-0.9.4a.tar.bz2 2292119 SHA256 386086a74c7d12e7e8f26f7dbc8f40d20b9968c9ad2a42599483a51dd2da03ba SHA512 16be0ac5dd9b07d717ceba63cdc38c0db4a2bdcfc373ca6346d7cd4ab2cd2973aa7585d10b045fcaea952a3aabf7617c564ccb8268db6c62b172683a4b2cc188 WHIRLPOOL 93431c43d2dd31081e97113e2d49134de7feb29be53508900b3360408f7a099becf169fcebd0f6fc196280c594dc83d1299617ee54b65452828492db9bcd09ad
+DIST lirc-0.9.4c.tar.bz2 2311300 SHA256 8974fe5dc8eaa717daab6785d2aefeec27615f01ec24b96d31e3381b2f70726a SHA512 0a0d0e025b87a55ec919c92824d8288bfaf35cfebae0ee97d86e344109f584baa72a2eff6d24fbc526900671d6092e0eebef8d1566559b0d153e122e3127c0cb WHIRLPOOL a614fc10b0e40831e81c558439ea528ae0628d64e55b272b9b5a97cb93cba2b8759062a5258c732fa97c2be7966226c3aca2efe2de84aad1f62211146d202efc
+DIST lirc-0.9.4d.tar.bz2 2489704 SHA256 c68f18c35b489b865c0a741d119b136e8702191538cd3551b977a7af6c4e41ab SHA512 fb3892e12fbe5277e04c451694f1ea4ed45cc424d66ea57b11c4ac4760afa7df4b37897f380b4ade464a82523a0cee336f216d2009ea9431333fd7ca74a8336c WHIRLPOOL c5b1d803d4bb8e269ae96a69f351b304298fd6577fd1d8871f024f1b118e71f392945153cb397a840c5f1b71d1fa475db1bb04d381c18c8580c9e148238cfeea
+EBUILD lirc-0.10.0_rc2.ebuild 3624 SHA256 fc52e1640d02989e0322473165de4c334d3ebe0410599849d59dfa232ff60e79 SHA512 bf10dd1f1fe53d0ffed5e2ed0a0439c8f29d6f291b8487dcd5f74a01bec67b06838c4e35816ad475f0b21f113b65696277f63d13567fd711da719718cd322acc WHIRLPOOL 04fd625e2624990c627218cab456f5a6fea8e29a30cdd8e360097c3497522bcf2fade37b56595da24493839363743acfd5d349130755a90c9f61956a38220918
+EBUILD lirc-0.9.0-r6.ebuild 13250 SHA256 07890f5541ed429a344d58b845da1759ba8f9bfd58d0c1ea7bd21d6ea22358f9 SHA512 0d620d93bccf35721830420a7e367b45c1b6a71891843db12fe4c96b0d1228de6367969545eeb0f0416833f195ed933eafef69d5d38a0a46a1f0ddc32829240b WHIRLPOOL 586e771cd7e67e288f4675ebd3abec8e0936958e9c571672a2e2e83821689c5bbfbfa17048c4a2fec89c5d612abc628e0658ab017f73568ba9291bc4f1bf27ca
+EBUILD lirc-0.9.4a-r2.ebuild 3412 SHA256 9f6b455ec2df0fcae3cdde6e28b36802666a0ff06e5cb23a9864206de508290d SHA512 a4fbfa1f58525ba5ff464023b717a5c927299dfc2a57586e19d150de7600e76577004e9398f21cc062ee7e83e90c45f1b3bc8ed9f391be2ac3cda940683e1a66 WHIRLPOOL 3acecbbb3bfd1d828ab63222e03a95b98cbc7b3f9a3c993d33d9d3f247d1931518acf7a3ded5e082b629862f5d2e690b3f736f7094edab492497257b4eccfdf8
+EBUILD lirc-0.9.4c.ebuild 3620 SHA256 8d342890793d5b095cdb26d47b0fac74bf957d1b558596d142feb21ee9dc6c34 SHA512 f971cbe128d7516d21890f6a99ac581d059f41d769222a736da0779b2b551ec2267a04930faae27faced05549bcf1d725bc260b49c11ee400a7045a412a7ffd0 WHIRLPOOL 162ef0659f9f9a1aa19c88917f164ddbf618f26c1771bd2f7ddc07cc3a5313da7623bd238f2b0c2ed966512390900cac2efdde7fe271ea7465fbd79846379de0
+EBUILD lirc-0.9.4d.ebuild 3620 SHA256 8d342890793d5b095cdb26d47b0fac74bf957d1b558596d142feb21ee9dc6c34 SHA512 f971cbe128d7516d21890f6a99ac581d059f41d769222a736da0779b2b551ec2267a04930faae27faced05549bcf1d725bc260b49c11ee400a7045a412a7ffd0 WHIRLPOOL 162ef0659f9f9a1aa19c88917f164ddbf618f26c1771bd2f7ddc07cc3a5313da7623bd238f2b0c2ed966512390900cac2efdde7fe271ea7465fbd79846379de0
+MISC ChangeLog 7914 SHA256 8af55c76493c970996df16b96f84747d008eac3f7b0293992a7827a2edbf4dcb SHA512 124c9bd783ac83c33352f69f59ee79d525c2aaef0aff6b93d2685abc32d7595d1546e177aec130b97714137872060dadfec380d9146af654a04d3d166fe9093b WHIRLPOOL 65f6aeca8130a138a434444bd84d3176cf3a23822c3e7bb129ccc805b4cfa4a99b8ce1d4fae3ea85772f69b0460bfedec9de6eb85da46f7163aa58d724a085cc
+MISC ChangeLog-2015 41381 SHA256 9ea61fa497cc3ec7382c3d9691474e4ed6b11e601eab032a310d664284eb82bb SHA512 1c1b089e09fdc5895a45dde5dcfb3d3d196e0b700fbaa984d371b511b19d062816af87ce93d07d9cdf3810c6171808ff1df2475646fb069d32e1fc7c66efe151 WHIRLPOOL a75688b34046470a091041a6ddc678109970a4948719019782751842265d0987576da348fd4260b803cd6f9574aca5351730873aad7b7de58c37df63643dbd03
+MISC metadata.xml 1311 SHA256 26d8c813f48c732bcef8961111a3bbf62c145f874fefbc6ad8b7e8a2ce560206 SHA512 71aad60940c2cdd6e6059b749b6f7e2834dc4146429e78b8b66cc74be32a498f7b019766033baf089f217f95c48dc2576919730645e17d997a37acef058cd73c WHIRLPOOL e0b3d79acd6fdf07513cac79c6406f5b03735a6d16b0fe31b5b9789adc15f1e750dce5972a77f0648809385c67fb91e7ef6ceca76e0ffd3fecbce6b79dbf7b96
diff --git a/app-misc/lirc/files/irexec-confd b/app-misc/lirc/files/irexec-confd
new file mode 100644
index 000000000000..48eb8dd4c806
--- /dev/null
+++ b/app-misc/lirc/files/irexec-confd
@@ -0,0 +1,9 @@
+# Options to pass to the irexec process
+IREXEC_OPTS="/etc/lircrc"
+
+# User to execute irexec as.
+# Warning: Running irexec as root can open security holes
+#IREXEC_USER="root"
+
+# Use this to disable the warning printed when starting irexec as root
+# IREXEC_DISABLE_ROOT_WARNING=yes
diff --git a/app-misc/lirc/files/irexec-initd-0.8.6-r2 b/app-misc/lirc/files/irexec-initd-0.8.6-r2
new file mode 100644
index 000000000000..e62497306d0f
--- /dev/null
+++ b/app-misc/lirc/files/irexec-initd-0.8.6-r2
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
+# Distributed under the terms of the GNU General Public License v2
+
+: ${IREXEC_USER:=root}
+
+depend() {
+ need lirc
+}
+
+start() {
+ if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
+ ewarn "Warning: Running irexec as root can open security holes"
+ fi
+
+ ebegin "Starting irexec"
+ start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
+ --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
+ eend $? "Failed to start irexec."
+}
+
+stop() {
+ ebegin "Stopping irexec"
+ start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
+ eend $? "Failed to stop irexec."
+}
+
diff --git a/app-misc/lirc/files/irexec-initd-0.9.4a-r2 b/app-misc/lirc/files/irexec-initd-0.9.4a-r2
new file mode 100644
index 000000000000..01234c3264fa
--- /dev/null
+++ b/app-misc/lirc/files/irexec-initd-0.9.4a-r2
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
+# Distributed under the terms of the GNU General Public License v2
+
+: ${IREXEC_USER:=root}
+
+depend() {
+ need lircd
+}
+
+start() {
+ if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
+ ewarn "Warning: Running irexec as root can open security holes"
+ fi
+
+ ebegin "Starting irexec"
+ start-stop-daemon --start --user ${IREXEC_USER} --chdir / \
+ --exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
+ eend $? "Failed to start irexec."
+}
+
+stop() {
+ ebegin "Stopping irexec"
+ start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
+ eend $? "Failed to stop irexec."
+}
+
diff --git a/app-misc/lirc/files/irexec.service b/app-misc/lirc/files/irexec.service
new file mode 100644
index 000000000000..53dac65dc234
--- /dev/null
+++ b/app-misc/lirc/files/irexec.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=IR Exec
+After=lirc.service
+Wants=lirc.service
+
+[Service]
+ExecStart=/usr/bin/irexec
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch b/app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch
new file mode 100644
index 000000000000..66527bcc5709
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch
@@ -0,0 +1,26 @@
+--- lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c.orig 2005-10-29 08:18:53.000000000 -0600
++++ lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c 2006-04-01 14:31:05.000000000 -0700
+@@ -147,8 +147,9 @@
+ /* init strings */
+ #define USB_OUTLEN 7
+
+-static char init1[] = {0x01, 0x00, 0x20, 0x14};
+-static char init2[] = {0x01, 0x00, 0x20, 0x14, 0x20, 0x20, 0x20};
++static char init1[] = {0x80, 0x05, 0x1b, 0x15, 0x14, 0x20, 0x24, 0x15};
++static char init2[] = {0x83, 0x03};
++static char init3[] = {0x84, 0xd7, 0x020};
+
+ struct in_endpt {
+ /* inner link in list of endpoints for the remote specified by ir */
+@@ -1034,8 +1034,9 @@
+ usb_sndintpipe(ir->usbdev, oep->ep->bEndpointAddress), oep->buf,
+ USB_OUTLEN, usb_remote_send, oep, oep->ep->bInterval);
+
+- send_packet(oep, 0x8004, init1);
+- send_packet(oep, 0x8007, init2);
++ send_packet(oep, 0x8007, init1);
++ send_packet(oep, 0x8002, init2);
++ send_packet(oep, 0x8003, init3);
+ }
+ }
+
diff --git a/app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch b/app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch
new file mode 100644
index 000000000000..36f5f360cd18
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch
@@ -0,0 +1,18 @@
+Portaudio is only needed for LIRC_DEVICES=audio, so not checking for Portaudio when the device is disabled will prevent automagic dependencies.
+--- configure.ac.orig 2009-03-13 10:02:50.000000000 +0100
++++ configure.ac 2009-03-13 10:04:00.000000000 +0100
+@@ -336,14 +336,6 @@
+ AC_DEFINE(HAVE_LIBIRMAN_SW)
+ possible_drivers="${possible_drivers} (irman_sw)"
+ )
+-dnl audio driver requires PortAudio library installed and some linker flags
+-AC_CHECK_HEADERS(portaudio.h,[
+- AC_CHECK_LIB(portaudio, Pa_Initialize,[
+- AC_DEFINE(HAVE_LIBPORTAUDIO)
+- possible_drivers="${possible_drivers} (audio)"
+- ],,${portaudio_lib_other}
+- )]
+-)
+ dnl audio_alsa driver requires ALSA library installed and some linker flags
+ have_alsa=no
+ AC_CHECK_HEADERS(alsa/asoundlib.h,[
diff --git a/app-misc/lirc/files/lirc-0.9.0-add-zotac-support.patch b/app-misc/lirc/files/lirc-0.9.0-add-zotac-support.patch
new file mode 100644
index 000000000000..381860ced6fb
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-add-zotac-support.patch
@@ -0,0 +1,658 @@
+diff -rupN base/configure.ac mod/configure.ac
+--- base/configure.ac 2011-03-25 23:28:18.000000000 +0100
++++ mod/configure.ac 2013-03-21 16:25:07.218419985 +0100
+@@ -383,7 +383,7 @@ AC_CHECK_HEADERS(linux/input.h,[
+ dnl check if hiddev is available
+ AC_CHECK_HEADERS([linux/types.h])
+ AC_CHECK_HEADERS([linux/hiddev.h],[
+- possible_drivers="${possible_drivers} (asusdh) (bw6130) (dvico) (macmini)"
++ possible_drivers="${possible_drivers} (asusdh) (bw6130) (dvico) (macmini) (zotac)"
+ AC_MSG_CHECKING(for HIDDEV_FLAG_UREF support)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include <linux/types.h>
+@@ -393,7 +393,7 @@ AC_CHECK_HEADERS([linux/hiddev.h],[
+ ]])],[
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_LINUX_HIDDEV_FLAG_UREF)
+- possible_drivers="${possible_drivers} (samsung) (sb0540)"
++ possible_drivers="${possible_drivers} (samsung) (sb0540) (zotac)"
+ ],[
+ AC_MSG_RESULT(no)
+ ])
+@@ -446,7 +446,7 @@ AC_ARG_WITH(driver,
+ srm7500libusb, tekram,
+ tekram_bt829, tira, tira_raw, ttusbir,
+ tuxbox, tvbox, udp, uirt2, uirt2_raw,
+- usb_uirt_raw, usbx, wpc8769l],
++ usb_uirt_raw, usbx, wpc8769l, zotac],
+ driver=${withval},
+ driver="unset"
+ )
+@@ -464,6 +464,7 @@ portaudio_lib=""
+ alsa_lib=""
+ atilibusb_lib=""
+ atwf83_lib=""
++zotac_lib=""
+ awlibusb_lib=""
+ dfclibusb_lib=""
+ srm7500libusb_lib=""
+@@ -683,6 +684,10 @@ if test "$driver" = "userspace" -o "$dri
+ usbx)
+ hw_module="${hw_module} hw_usbx.o serial.o"
+ ;;
++ zotac)
++ hw_module="${hw_module} hw_zotac.o"
++ zotac_lib=-lpthread
++ ;;
+ esac
+ done
+ #remove duplicates
+@@ -733,6 +738,14 @@ if test "$driver" = "alsa_usb"; then
+ lircd_conf="creative/lircd.conf.alsa_usb"
+ fi
+
++if test "$driver" = "zotac"; then
++ lirc_driver="$driver"
++ hw_module="hw_zotac.o"
++ HW_DEFAULT="hw_zotac"
++ lircd_conf="zotac/lircd.conf.zotac"
++ zotac_lib=-lpthread
++fi
++
+ if test "$driver" = "animax"; then
+ lirc_driver="lirc_dev lirc_serial"
+ lircd_conf="animax/lircd.conf.animax"
+@@ -1499,6 +1512,7 @@ if test "$lirc_driver" = "none" || \
+ test "$lirc_driver" = "macmini" || \
+ test "$lirc_driver" = "samsung" || \
+ test "$lirc_driver" = "sb0540" || \
++ test "$lirc_driver" = "zotac" || \
+ test "$lirc_driver" = "srm7500libusb" || \
+ test "$lirc_driver" = "userspace"; then
+ lirc_driver=
+@@ -1669,7 +1683,7 @@ if ! echo ${hw_module}|grep " receive.o"
+ receive="receive.o"
+ fi
+
+-hw_module_libs="${alsa_lib} ${atilibusb_lib} ${awlibusb_lib} ${caraca_lib} ${commandir_lib} ${dfclibusb_lib} ${ftdi_lib} ${iguanaIR_lib} ${irman_lib} ${portaudio_lib} ${srm7500libusb_lib} ${atwf83_lib}"
++hw_module_libs="${alsa_lib} ${atilibusb_lib} ${awlibusb_lib} ${caraca_lib} ${commandir_lib} ${dfclibusb_lib} ${ftdi_lib} ${iguanaIR_lib} ${irman_lib} ${portaudio_lib} ${srm7500libusb_lib} ${atwf83_lib} ${zotac_lib}"
+
+ dnl tell the Makefiles what we decided
+ AC_SUBST(daemon)
+diff -rupN base/daemons/Makefile.am mod/daemons/Makefile.am
+--- base/daemons/Makefile.am 2011-03-25 23:28:18.000000000 +0100
++++ mod/daemons/Makefile.am 2013-03-21 16:25:40.488790784 +0100
+@@ -58,7 +58,8 @@ EXTRA_libhw_module_a_SOURCES = \
+ hw_usbx.c hw_usbx.h \
+ receive.c receive.h \
+ transmit.c transmit.h \
+- serial.c serial.h
++ serial.c serial.h \
++ hw_zotac.c
+
+ libhw_module_a_LIBADD = @hw_module@
+ libhw_module_a_DEPENDENCIES = @hw_module@
+diff -rupN base/daemons/hw-types.c mod/daemons/hw-types.c
+--- base/daemons/hw-types.c 2011-03-25 23:28:18.000000000 +0100
++++ mod/daemons/hw-types.c 2013-03-21 16:26:38.913200218 +0100
+@@ -59,6 +59,7 @@ extern struct hardware hw_uirt2;
+ extern struct hardware hw_uirt2_raw;
+ extern struct hardware hw_usb_uirt_raw;
+ extern struct hardware hw_usbx;
++extern struct hardware hw_zotac;
+
+ #ifndef HW_DEFAULT
+ # define HW_DEFAULT hw_default
+@@ -160,6 +161,7 @@ struct hardware *hw_list[] = {
+ #ifdef HAVE_LINUX_HIDDEV_FLAG_UREF
+ &hw_samsung,
+ &hw_sb0540,
++ &hw_zotac,
+ #endif
+ &hw_silitek,
+ #ifdef HAVE_LIBUSB
+diff -rupN base/daemons/hw_zotac.c mod/daemons/hw_zotac.c
+--- base/daemons/hw_zotac.c 1970-01-01 01:00:00.000000000 +0100
++++ mod/daemons/hw_zotac.c 2013-03-21 16:31:06.989272556 +0100
+@@ -0,0 +1,429 @@
++/****************************************************************************
++ ** hw_zotac.c *************************************************************
++ ****************************************************************************
++ *
++ * Lirc driver for Zotac remote
++ *
++ * Copyright (C) 2010 Rainer Hochecker
++ *
++ * Distribute under GPL version 2 or later.
++ *
++ */
++
++#ifdef HAVE_CONFIG_H
++# include <config.h>
++#endif
++
++#include <stdio.h>
++#include <pthread.h>
++#include <sys/fcntl.h>
++#include <signal.h>
++#include <linux/hiddev.h>
++#include <sys/ioctl.h>
++#include "hardware.h"
++#include "ir_remote.h"
++#include "lircd.h"
++
++enum {
++ RPT_NO = 0,
++ RPT_YES = 1,
++};
++
++static int zotac_init();
++static int zotac_deinit();
++static char *zotac_rec(struct ir_remote *remotes);
++static int zotac_decode(struct ir_remote *remote, ir_code * prep, ir_code * codep, ir_code * postp, int *repeat_flagp,
++ lirc_t * min_remaining_gapp, lirc_t * max_remaining_gapp);
++static void *zotac_repeat();
++static int zotac_getcode();
++
++/** Max number of repetitions */
++static unsigned max_repeat_count = 500;
++/** Code that triggers key release */
++static unsigned release_code = 0x00000000;
++/** Code that triggers device remove */
++static unsigned remove_code =0x00FFFFFF;
++/** Time to wait before first repetition */
++static unsigned repeat_time1_us = 500000;
++/** Time to wait between two repetitions */
++static unsigned repeat_time2_us = 100000;
++/** Pipe between main thread and repetition thread */
++static int fd_pipe[2] = { -1, -1 };
++
++/** Thread that simulates repetitions */
++static pthread_t repeat_thread;
++/** File descriptor for the real device */
++static int fd_hidraw;
++
++static int main_code_length = 32;
++static signed int main_code = 0;
++static struct timeval start, end, last;
++static int repeat_state = RPT_NO;
++static int error_state = 0;
++static int probe_code = 0;
++
++#ifdef HAVE_LINUX_HIDDEV_FLAG_UREF
++/* Zotac USB iR Receiver */
++struct hardware hw_zotac = {
++ "/dev/usb/hiddev0", /* "device" */
++ -1, /* fd (device) */
++ LIRC_CAN_REC_LIRCCODE, /* features */
++ 0, /* send_mode */
++ LIRC_MODE_LIRCCODE, /* rec_mode */
++ 32, /* code_length */
++ zotac_init, /* init_func */
++ zotac_deinit, /* deinit_func */
++ NULL, /* send_func */
++ zotac_rec, /* rec_func */
++ zotac_decode, /* decode_func */
++ NULL, /* ioctl_func */
++ NULL, /* readdata */
++ "zotac" /* name */
++};
++#endif
++
++static int zotac_decode(struct ir_remote *remote, ir_code * prep, ir_code * codep, ir_code * postp, int *repeat_flagp,
++ lirc_t * min_remaining_gapp, lirc_t * max_remaining_gapp)
++{
++ LOGPRINTF(1, "zotac_decode");
++
++ if (!map_code(remote, prep, codep, postp, 0, 0, main_code_length, main_code, 0, 0)) {
++ return 0;
++ }
++
++ map_gap(remote, &start, &last, 0, repeat_flagp, min_remaining_gapp, max_remaining_gapp);
++ /* override repeat */
++ *repeat_flagp = repeat_state;
++
++ return 1;
++}
++
++static int zotac_getcode() {
++
++ ssize_t rd;
++ struct hiddev_usage_ref uref;
++ struct hiddev_report_info rinfo;
++ struct hiddev_field_info finfo;
++ int shift = 0;
++
++ rd = read(fd_hidraw, &uref, sizeof(uref));
++ if (rd < 0) {
++ logprintf(LOG_ERR, "error reading '%s'", hw.device);
++ logperror(LOG_ERR, NULL);
++ zotac_deinit();
++ error_state = 1;
++ return -1;
++ }
++
++ if (uref.field_index == HID_FIELD_INDEX_NONE) {
++ /*
++ * we get this when the new report has been send from
++ * device at this point we have the uref structure
++ * prefilled with correct report type and id
++ *
++ */
++
++ switch (uref.report_id) {
++ case 1: /* USB standard keyboard usage page */
++ {
++ /* This page reports cursor keys */
++ LOGPRINTF(3, "Keyboard (standard)\n");
++
++ /* check for special codes */
++ uref.field_index = 0;
++ uref.usage_index = 1;
++ /* fetch the usage code for given indexes */
++ ioctl(fd_hidraw, HIDIOCGUCODE, &uref, sizeof(uref));
++ /* fetch the value from report */
++ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref, sizeof(uref));
++
++ if (uref.value)
++ shift = 1;
++
++ /* populate required field number */
++ uref.field_index = 1;
++ uref.usage_index = 0;
++ /* fetch the usage code for given indexes */
++ ioctl(fd_hidraw, HIDIOCGUCODE, &uref, sizeof(uref));
++ /* fetch the value from report */
++ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref, sizeof(uref));
++ /* now we have the key */
++
++ LOGPRINTF(3, "usage: %x value: %x shift: %d\n",uref.usage_code, uref.value, shift);
++
++ /* now we have the key */
++ if (uref.value) {
++ probe_code = (uref.usage_code | uref.value);
++ if (shift)
++ probe_code |= 0x10000000;
++ LOGPRINTF(3, "Main code 1: %x\n", probe_code);
++ return 1;
++ }
++ else {
++ LOGPRINTF(3, "rel button\n");
++ probe_code = release_code;
++ return 2;
++ }
++ }
++ break;
++
++ case 2:
++ case 3: /* USB generic desktop usage page */
++ case 4:
++ {
++ /* This page reports power key
++ * (via SystemControl SLEEP)
++ */
++ LOGPRINTF(3, "Generic desktop (standard)\n");
++
++
++ /* traverse report descriptor */
++ rinfo.report_type = HID_REPORT_TYPE_INPUT;
++ rinfo.report_id = HID_REPORT_ID_FIRST;
++ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
++
++ unsigned int i,j;
++ while (rd >= 0) {
++ for (i = 0; i < rinfo.num_fields; i++) {
++ finfo.report_type = rinfo.report_type;
++ finfo.report_id = rinfo.report_id;
++ finfo.field_index = i;
++ ioctl(fd_hidraw, HIDIOCGFIELDINFO, &finfo);
++ for (j = 0; j < finfo.maxusage; j++) {
++ uref.field_index = i;
++ uref.usage_index = j;
++ ioctl(fd_hidraw, HIDIOCGUCODE, &uref);
++ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref);
++
++ if (uref.value != 0) {
++ LOGPRINTF(3, "field: %d, idx: %d, usage: %x value: %x\n",i, j, uref.usage_code, uref.value);
++ probe_code = uref.usage_code;
++ return 1;
++ }
++ }
++ }
++ rinfo.report_id |= HID_REPORT_ID_NEXT;
++ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
++ }
++ return 2;
++ }
++ break;
++ default:
++ /* Unknown/unsupported report id.
++ * Should not happen because remaining reports
++ * from report descriptor seem to be unused by remote.
++ */
++ logprintf(LOG_ERR, "Unexpected report id %d", uref.report_id);
++ break;
++ }
++ }
++ else {
++ /* This page reports power key
++ * (via SystemControl SLEEP)
++ */
++ LOGPRINTF(3, "Same Event ...\n");
++
++ /* traverse report descriptor */
++ rinfo.report_type = HID_REPORT_TYPE_INPUT;
++ rinfo.report_id = HID_REPORT_ID_FIRST;
++ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
++
++ unsigned int i,j;
++ while (rd >= 0) {
++ for (i = 0; i < rinfo.num_fields; i++) {
++ finfo.report_type = rinfo.report_type;
++ finfo.report_id = rinfo.report_id;
++ finfo.field_index = i;
++ ioctl(fd_hidraw, HIDIOCGFIELDINFO, &finfo);
++ for (j = 0; j < finfo.maxusage; j++) {
++ uref.field_index = i;
++ uref.usage_index = j;
++ ioctl(fd_hidraw, HIDIOCGUCODE, &uref);
++ ioctl(fd_hidraw, HIDIOCGUSAGE, &uref);
++
++ if (uref.value != 0) {
++ LOGPRINTF(3, "usage: %x value: %x\n",uref.usage_code, uref.value);
++ //probe_code = uref.usage_code;
++ return 0;
++ }
++ }
++ }
++ rinfo.report_id |= HID_REPORT_ID_NEXT;
++ rd = ioctl(fd_hidraw, HIDIOCGREPORTINFO, &rinfo);
++ }
++ return 2;
++ }
++ return 0;
++}
++
++static int zotac_init()
++{
++ logprintf(LOG_INFO, "zotac initializing '%s'", hw.device);
++ if ((fd_hidraw = open(hw.device, O_RDONLY)) < 0) {
++ logprintf(LOG_ERR, "unable to open '%s'", hw.device);
++ return 0;
++ }
++ int flags = HIDDEV_FLAG_UREF | HIDDEV_FLAG_REPORT;
++ if (ioctl(fd_hidraw, HIDIOCSFLAG, &flags)) {
++ return 0;
++ }
++ hw.fd = fd_hidraw;
++
++ /* Create pipe so that events sent by the repeat thread will
++ trigger main thread */
++ if (pipe(fd_pipe) != 0) {
++ logperror(LOG_ERR, "couldn't open pipe");
++ close(fd_hidraw);
++ return 0;
++ }
++ hw.fd = fd_pipe[0];
++ /* Create thread to simulate repetitions */
++ if (pthread_create(&repeat_thread, NULL, zotac_repeat, NULL)) {
++ logprintf(LOG_ERR, "Could not create \"repeat thread\"");
++ return 0;
++ }
++ return 1;
++}
++
++static int zotac_deinit()
++{
++ pthread_cancel(repeat_thread);
++ if (fd_hidraw != -1) {
++ // Close device if it is open
++ logprintf(LOG_INFO, "closing '%s'", hw.device);
++ close(fd_hidraw);
++ fd_hidraw = -1;
++ }
++ // Close pipe input
++ if (fd_pipe[1] >= 0) {
++ close(fd_pipe[1]);
++ fd_pipe[1] = -1;
++ }
++ // Close pipe output
++ if (fd_pipe[0] >= 0) {
++ close(fd_pipe[0]);
++ fd_pipe[0] = -1;
++ }
++ hw.fd = -1;
++ return 1;
++}
++
++/**
++ * Runtime that reads device, forwards codes to main thread
++ * and simulates repetitions.
++ */
++static void *zotac_repeat()
++{
++ int repeat_count = 0;
++ unsigned current_code;
++ int ret;
++ int sel;
++ fd_set files;
++ struct timeval delay;
++ int pressed = 0;
++ int fd = fd_pipe[1];
++
++ while (1) {
++ // Initialize set to monitor device's events
++ FD_ZERO(&files);
++ FD_SET(fd_hidraw, &files);
++ if (pressed) {
++ sel = select(FD_SETSIZE, &files, NULL, NULL, &delay);
++ } else {
++ sel = select(FD_SETSIZE, &files, NULL, NULL, NULL);
++ }
++
++ switch (sel) {
++ case 1:
++ // Data ready in device's file
++ ret = zotac_getcode();
++
++ if (ret < 0) {
++ // Error
++ logprintf(LOG_ERR, "(%s) Could not read %s", __FUNCTION__, hw.device);
++ goto exit_loop;
++ }
++ if (ret == 1) {
++ // Key code : forward it to main thread
++ pressed = 1;
++ repeat_count = 0;
++ delay.tv_sec = 0;
++ delay.tv_usec = repeat_time1_us;
++ current_code = probe_code;
++ } else if (ret == 2) {
++ // Release code : stop repetitions
++ pressed = 0;
++ current_code = release_code;
++ } else if (ret == 0) {
++ continue;
++ }
++ break;
++ case 0:
++ repeat_count++;
++ if (repeat_count >= max_repeat_count) {
++ // Too many repetitions, something must have gone wrong
++ logprintf(LOG_ERR,"(%s) too many repetitions", __FUNCTION__);
++ goto exit_loop;
++ }
++ // Timeout : send current_code again to main
++ // thread to simulate repetition
++ delay.tv_sec = 0;
++ delay.tv_usec = repeat_time2_us;
++ break;
++ default:
++ // Error
++ logprintf(LOG_ERR, "(%s) select() failed", __FUNCTION__);
++ goto exit_loop;
++ }
++ // Send code to main thread through pipe
++ write(fd, &current_code, sizeof(current_code));
++ }
++exit_loop:
++
++ // Wake up main thread with special key code
++ current_code = remove_code;
++ write(fd, &current_code, sizeof(current_code));
++ return NULL;
++}
++
++/*
++* Aureal Technology ATWF@83 cheap remote
++* specific code.
++*/
++
++static char *zotac_rec(struct ir_remote *remotes)
++{
++ unsigned ev;
++ int rd;
++ last = end;
++ gettimeofday(&start, NULL);
++ rd = read(hw.fd, &ev, sizeof(ev));
++
++ if (rd == -1) {
++ // Error
++ logprintf(LOG_ERR, "(%s) could not read pipe", __FUNCTION__);
++ zotac_deinit();
++ return 0;
++ }
++
++ if (ev == release_code) {
++ // Release code
++ main_code = 0;
++ return 0;
++ } else if (ev == remove_code) {
++ // Device has been removed
++ zotac_deinit();
++ return 0;
++ }
++
++ LOGPRINTF(1, "zotac : %x", ev);
++ // Record the code and check for repetition
++ if (main_code == ev) {
++ repeat_state = RPT_YES;
++ } else {
++ main_code = ev;
++ repeat_state = RPT_NO;
++ }
++ gettimeofday(&end, NULL);
++ return decode_all(remotes);
++}
+diff -rupN base/remotes/zotac/lircd.conf.zotac mod/remotes/zotac/lircd.conf.zotac
+--- base/remotes/zotac/lircd.conf.zotac 1970-01-01 01:00:00.000000000 +0100
++++ mod/remotes/zotac/lircd.conf.zotac 2013-03-21 16:31:31.343367869 +0100
+@@ -0,0 +1,77 @@
++
++# Please make this file available to others
++# by sending it to <lirc@bartelmus.de>
++#
++# this config file was automatically generated
++# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012
++#
++# contributed by
++#
++# brand: zotac.conf
++# model no. of remote control:
++# devices being controlled by this remote:
++#
++
++begin remote
++
++ name zotac.conf
++ bits 32
++ eps 30
++ aeps 100
++
++ one 0 0
++ zero 0 0
++ gap 100123
++ min_repeat 9
++# suppress_repeat 9
++# uncomment to suppress unwanted repeats
++# toggle_bit_mask 0x7004F
++
++ begin codes
++ KEY_SLEEP 0x00010082
++ KEY_WAKEUP 0x00010083
++ KEY_RECORD 0x000C00B2
++ KEY_PAUSE 0x000C00B1
++ KEY_STOP 0x000C00B7
++ KEY_REWIND 0x000C00B4
++ KEY_PLAY 0x000C00B0
++ KEY_FORWARD 0x000C00B3
++ KEY_LEFTSHIFT 0x000C00B6
++ KEY_RIGHTSHIFT 0x000C00B5
++ KEY_BACK 0x000C0224
++ KEY_INFO 0x000C0209
++ KEY_MENU 0xFFBC000D
++ KEY_UP 0x00070052
++ KEY_LEFT 0x00070050
++ KEY_RIGHT 0x0007004F
++ KEY_DOWN 0x00070051
++ KEY_OK 0x00070028
++ KEY_VOLUMEUP 0x000C00E9
++ KEY_VOLUMEDOWN 0x000C00EA
++ KEY_MUTE 0x000C00E2
++ KEY_CHANNELUP 0x000C009C
++ KEY_CHANNELDOWN 0x000C009D
++ KEY_1 0x0007001E
++ KEY_2 0x0007001F
++ KEY_3 0x00070020
++ KEY_4 0x00070021
++ KEY_5 0x00070022
++ KEY_6 0x00070023
++ KEY_7 0x00070024
++ KEY_8 0x00070025
++ KEY_9 0x00070026
++ KEY_0 0x00070027
++ KEY_NUMERIC_STAR 0x10070025
++ KEY_NUMERIC_POUND 0x10070020
++ KEY_CLEAR 0x00070029
++ KEY_TEXT 0xFFBC005A
++ KEY_TITLE 0x000C008D
++ KEY_ENTER 0x00070028
++ KEY_RED 0xFFBC005B
++ KEY_GREEN 0xFFBC005C
++ KEY_YELLOW 0xFFBC005D
++ KEY_BLUE 0xFFBC005E
++ end codes
++
++end remote
++
+diff -rupN base/setup.data mod/setup.data
+--- base/setup.data 2011-03-25 23:28:18.000000000 +0100
++++ mod/setup.data 2013-03-21 16:28:11.433935463 +0100
+@@ -146,6 +146,7 @@ hw_menu_entry: @hw-usb
+ usb_uirt_raw: "USB-UIRT"
+ mplay: "VLSystem MPlay Blast"
+ mplay: "VLSystem MPlay Mini"
++ zotac: "Zotac USB IR Receiver"
+
+ param_type: \
+ act200l \
+@@ -260,7 +261,8 @@ param_type: \
+ ttusbir \
+ tvbox \
+ udp \
+- wpc8769l
++ wpc8769l \
++ zotac
+ none:
+
+ default_param: \
+@@ -331,7 +333,8 @@ default_param: \
+ ttusbir \
+ tvbox \
+ udp \
+- wpc8769l
++ wpc8769l \
++ zotac
+ none:
+
+ default_param: \
diff --git a/app-misc/lirc/files/lirc-0.9.0-atiusb_kfifo.patch b/app-misc/lirc/files/lirc-0.9.0-atiusb_kfifo.patch
new file mode 100644
index 000000000000..32edb244b412
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-atiusb_kfifo.patch
@@ -0,0 +1,14 @@
+--- a/drivers/lirc_atiusb/lirc_atiusb.c 2012-07-17 16:04:39.000000000 -0400
++++ b/drivers/lirc_atiusb/lirc_atiusb.c 2012-07-17 16:19:06.000000000 -0400
+@@ -1050,7 +1050,11 @@
+ goto new_irctl_failure_check;
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 38)
+ if (lirc_buffer_init(driver->rbuf, dclen, 1)) {
++#else
++ if (lirc_buffer_init(driver->rbuf, dclen, 2)) {
++#endif
+ mem_failure = 4;
+ goto new_irctl_failure_check;
+ }
diff --git a/app-misc/lirc/files/lirc-0.9.0-fixed-font.patch b/app-misc/lirc/files/lirc-0.9.0-fixed-font.patch
new file mode 100644
index 000000000000..fd122e7362b6
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-fixed-font.patch
@@ -0,0 +1,20 @@
+--- a/tools/xmode2.c 2011-03-25 23:28:18.000000000 +0100
++++ b/tools/xmode2.c 2012-07-29 19:36:34.972246587 +0200
+@@ -69,7 +69,7 @@
+ Window w0, w1; /*w0 = root */
+ char w1_wname[] = "xmode2";
+ char w1_iname[] = "xmode2";
+-char font1_name[] = "-*-Courier-medium-r-*-*-8-*-*-m-*-iso8859-1";
++char font1_name[] = "fixed";
+
+ int w1_x = 0, w1_y = 0;
+ unsigned int w1_w = 640, w1_h = 480, w1_border = 0;
+@@ -201,7 +201,7 @@
+ printf("coudn't allocate blue color\n");
+ f1_str = XLoadQueryFont(d1, font1_name);
+ if (f1_str == NULL) {
+- printf("could't load font\n");
++ printf("couldn't load font\n");
+ exit(EXIT_FAILURE);
+ }
+
diff --git a/app-misc/lirc/files/lirc-0.9.0-kernel-2.6.39-fixes.patch b/app-misc/lirc/files/lirc-0.9.0-kernel-2.6.39-fixes.patch
new file mode 100644
index 000000000000..624737090bbe
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-kernel-2.6.39-fixes.patch
@@ -0,0 +1,67 @@
+diff -u a/drivers/lirc_atiusb/lirc_atiusb.c b/drivers/lirc_atiusb/lirc_atiusb.c
+--- a/drivers/lirc_atiusb/lirc_atiusb.c
++++ b/drivers/lirc_atiusb/lirc_atiusb.c
+@@ -48,7 +48,9 @@
+ #include <linux/slab.h>
+ #include <linux/module.h>
+ #include <linux/kmod.h>
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
+ #include <linux/smp_lock.h>
++#endif
+ #include <linux/completion.h>
+ #include <linux/uaccess.h>
+ #include <linux/usb.h>
+diff -u a/drivers/lirc_i2c/lirc_i2c.c b/drivers/lirc_i2c/lirc_i2c.c
+--- a/drivers/lirc_i2c/lirc_i2c.c
++++ b/drivers/lirc_i2c/lirc_i2c.c
+@@ -555,8 +555,8 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
+ kfree(ir);
+ return -EINVAL;
+ }
+- printk(KERN_INFO "lirc_i2c: chip 0x%x found @ 0x%02x (%s)\n",
+- adap->id, addr, ir->c.name);
++ printk(KERN_INFO "lirc_i2c: chip found @ 0x%02x (%s)\n",
++ addr, ir->c.name);
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
+ /* register device */
+diff -u a/drivers/lirc_wpc8769l/lirc_wpc8769l.c b/drivers/lirc_wpc8769l/lirc_wpc8769l.c
+--- a/drivers/lirc_wpc8769l/lirc_wpc8769l.c
++++ b/drivers/lirc_wpc8769l/lirc_wpc8769l.c
+@@ -361,14 +361,22 @@ static irqreturn_t irq_handler(int irqno, void *blah, struct pt_regs *regs)
+ size = count << 3;
+
+ ldata = (unsigned long *) data_buf;
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
+ next_one = generic_find_next_le_bit(ldata, size, 0);
++#else
++ next_one = find_next_zero_bit_le(ldata, size, 0);
++#endif
+
+ if (next_one > 0)
+ put_pulse_bit(next_one
+ * WPC8769L_USECS_PER_BIT);
+
+ while (next_one < size) {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
+ next_zero = generic_find_next_zero_le_bit(ldata,
++#else
++ next_zero = find_next_zero_bit_le(ldata,
++#endif
+ size, next_one + 1);
+
+ put_space_bit(
+@@ -376,7 +384,11 @@ static irqreturn_t irq_handler(int irqno, void *blah, struct pt_regs *regs)
+ * WPC8769L_USECS_PER_BIT);
+
+ if (next_zero < size) {
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
+ next_one = generic_find_next_le_bit(ldata,
++#else
++ next_one = find_next_bit_le(ldata,
++#endif
+ size, next_zero + 1);
+
+ put_pulse_bit(
+--
+1.7.5.4
diff --git a/app-misc/lirc/files/lirc-0.9.0-kernel-3.3.0-fixes.patch b/app-misc/lirc/files/lirc-0.9.0-kernel-3.3.0-fixes.patch
new file mode 100644
index 000000000000..9b7d3ef1f539
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-kernel-3.3.0-fixes.patch
@@ -0,0 +1,50 @@
+diff -ur drivers/lirc_serial/lirc_serial.c drivers.new/lirc_serial/lirc_serial.c
+--- drivers/lirc_serial/lirc_serial.c 2011-03-25 18:28:18.000000000 -0400
++++ drivers.new/lirc_serial/lirc_serial.c 2012-10-24 14:32:14.000000000 -0400
+@@ -66,7 +66,12 @@
+ #include <linux/poll.h>
+ #include <linux/platform_device.h>
+
++#include "drivers/kcompat.h"
++#if LINUX_VERSION_CODE > KERNEL_VERSION(3, 3, 0)
++#include <asm/switch_to.h>
++#else
+ #include <asm/system.h>
++#endif
+ #include <linux/io.h>
+ #include <linux/irq.h>
+ #include <linux/fcntl.h>
+@@ -80,7 +85,6 @@
+ #define UART_IE_IXP42X_UUE 0x40 /* IXP42X UART Unit enable */
+ #define UART_IE_IXP42X_RTOIE 0x10 /* IXP42X Receiver Data Timeout int.enable */
+
+-#include "drivers/kcompat.h"
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 35)
+ #include <media/lirc.h>
+ #include <media/lirc_dev.h>
+diff -ur drivers/lirc_sir/lirc_sir.c drivers.new/lirc_sir/lirc_sir.c
+--- drivers/lirc_sir/lirc_sir.c 2011-03-25 18:28:18.000000000 -0400
++++ drivers.new/lirc_sir/lirc_sir.c 2012-10-24 14:32:46.000000000 -0400
+@@ -59,7 +59,14 @@
+ #include <linux/mm.h>
+ #include <linux/delay.h>
+ #include <linux/poll.h>
++
++#include "drivers/kcompat.h"
++#if LINUX_VERSION_CODE > KERNEL_VERSION(3, 3, 0)
++#include <asm/switch_to.h>
++#else
+ #include <asm/system.h>
++#endif
++
+ #include <linux/io.h>
+ #include <asm/irq.h>
+ #include <linux/fcntl.h>
+@@ -74,7 +81,6 @@
+
+ #include <linux/timer.h>
+
+-#include "drivers/kcompat.h"
+ #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 35)
+ #include <media/lirc.h>
+ #include <media/lirc_dev.h>
diff --git a/app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch b/app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch
new file mode 100644
index 000000000000..b06d94efb322
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-kernel-3.5-err-fix.patch
@@ -0,0 +1,12 @@
+--- a/drivers/kcompat.h 2011-03-25 18:28:18.000000000 -0400
++++ b/drivers/kcompat.h 2012-11-27 13:37:55.000000000 -0500
+@@ -136,4 +136,9 @@
+ )
+ #endif
+
++#ifndef err
++#define err(format, arg...) \
++ printk(KERN_ERR KBUILD_MODNAME ": " format "\n", ##arg)
++#endif
++
+ #endif /* _KCOMPAT_H */
diff --git a/app-misc/lirc/files/lirc-0.9.0-kernel-3.8-fixes.patch b/app-misc/lirc/files/lirc-0.9.0-kernel-3.8-fixes.patch
new file mode 100644
index 000000000000..bd11b61c19d8
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.0-kernel-3.8-fixes.patch
@@ -0,0 +1,80 @@
+diff -Naur lirc-0.9.0/drivers/lirc_serial/lirc_serial.c lirc-0.9.0.new/drivers/lirc_serial/lirc_serial.c
+--- lirc-0.9.0/drivers/lirc_serial/lirc_serial.c 2013-05-24 11:58:31.017566567 -0400
++++ lirc-0.9.0.new/drivers/lirc_serial/lirc_serial.c 2013-05-24 12:00:38.733568898 -0400
+@@ -1107,12 +1107,12 @@
+
+ static struct platform_device *lirc_serial_dev;
+
+-static int __devinit lirc_serial_probe(struct platform_device *dev)
++static int lirc_serial_probe(struct platform_device *dev)
+ {
+ return 0;
+ }
+
+-static int __devexit lirc_serial_remove(struct platform_device *dev)
++static int lirc_serial_remove(struct platform_device *dev)
+ {
+ return 0;
+ }
+@@ -1163,7 +1163,7 @@
+
+ static struct platform_driver lirc_serial_driver = {
+ .probe = lirc_serial_probe,
+- .remove = __devexit_p(lirc_serial_remove),
++ .remove = lirc_serial_remove,
+ .suspend = lirc_serial_suspend,
+ .resume = lirc_serial_resume,
+ .driver = {
+diff -Naur lirc-0.9.0/drivers/lirc_sir/lirc_sir.c lirc-0.9.0.new/drivers/lirc_sir/lirc_sir.c
+--- lirc-0.9.0/drivers/lirc_sir/lirc_sir.c 2013-05-24 11:58:31.017566567 -0400
++++ lirc-0.9.0.new/drivers/lirc_sir/lirc_sir.c 2013-05-24 12:00:38.733568898 -0400
+@@ -1296,19 +1296,19 @@
+ return 0;
+ }
+
+-static int __devinit lirc_sir_probe(struct platform_device *dev)
++static int lirc_sir_probe(struct platform_device *dev)
+ {
+ return 0;
+ }
+
+-static int __devexit lirc_sir_remove(struct platform_device *dev)
++static int lirc_sir_remove(struct platform_device *dev)
+ {
+ return 0;
+ }
+
+ static struct platform_driver lirc_sir_driver = {
+ .probe = lirc_sir_probe,
+- .remove = __devexit_p(lirc_sir_remove),
++ .remove = lirc_sir_remove,
+ .driver = {
+ .name = "lirc_sir",
+ .owner = THIS_MODULE,
+diff -Naur lirc-0.9.0/drivers/lirc_wpc8769l/lirc_wpc8769l.c lirc-0.9.0.new/drivers/lirc_wpc8769l/lirc_wpc8769l.c
+--- lirc-0.9.0/drivers/lirc_wpc8769l/lirc_wpc8769l.c 2013-05-24 11:58:30.974566567 -0400
++++ lirc-0.9.0.new/drivers/lirc_wpc8769l/lirc_wpc8769l.c 2013-05-24 12:00:38.734568898 -0400
+@@ -942,12 +942,12 @@
+ #ifdef MODULE
+ static struct platform_device *lirc_wpc8769l_platform_dev;
+
+-static int __devinit lirc_wpc8769l_probe(struct platform_device *dev)
++static int lirc_wpc8769l_probe(struct platform_device *dev)
+ {
+ return 0;
+ }
+
+-static int __devexit lirc_wpc8769l_remove(struct platform_device *dev)
++static int lirc_wpc8769l_remove(struct platform_device *dev)
+ {
+ return 0;
+ }
+@@ -975,7 +975,7 @@
+
+ static struct platform_driver lirc_wpc8769l_platform_driver = {
+ .probe = lirc_wpc8769l_probe,
+- .remove = __devexit_p(lirc_wpc8769l_remove),
++ .remove = lirc_wpc8769l_remove,
+ .suspend = lirc_wpc8769l_suspend,
+ .resume = lirc_wpc8769l_resume,
+ .driver = {
diff --git a/app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch b/app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch
new file mode 100644
index 000000000000..9a2d6c2e638e
--- /dev/null
+++ b/app-misc/lirc/files/lirc-0.9.4-doc-path-fix.patch
@@ -0,0 +1,27 @@
+https://sourceforge.net/p/lirc/tickets/214/
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index 53d0f21..f833b4b 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -33,7 +33,6 @@ nodist_man_MANS += man/xmode2.1 man/irxevent.1
+ manpage_html += man-html/irxevent.html man-html/xmode2.html
+ endif
+
+-docdir = @datadir@/doc/@PACKAGE@
+ dist_doc_DATA = irxevent.keys
+
+ if HAVE_DOXYGEN
+@@ -58,10 +57,10 @@ if HAVE_PYMOD_YAML
+ nodist_website_html_DATA += table.html
+ endif
+
+-vardocsdir = $(localstatedir)/lib/lirc/plugins
++vardocsdir = $(docdir)/plugins
+ vardocs_DATA = index.html html-source/lirc.css
+
+-varimagedir = $(localstatedir)/lib/lirc/images
++varimagedir = $(docdir)/images
+ varimage_DATA = $(dist_image_DATA)
+
+ website_imagedir = $(docdir)/lirc.org/images
diff --git a/app-misc/lirc/files/lirc.service b/app-misc/lirc/files/lirc.service
new file mode 100644
index 000000000000..e184dfc09d44
--- /dev/null
+++ b/app-misc/lirc/files/lirc.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Linux Infrared Remote Control
+After=network.target
+
+[Service]
+RuntimeDirectory=lirc
+ExecStart=/usr/sbin/lircd --nodaemon --driver=default --device=/dev/lirc0
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/app-misc/lirc/files/lircd-0.8.6-r2 b/app-misc/lirc/files/lircd-0.8.6-r2
new file mode 100644
index 000000000000..757d4e689e18
--- /dev/null
+++ b/app-misc/lirc/files/lircd-0.8.6-r2
@@ -0,0 +1,51 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+PIDFILE=/var/run/lirc/${SVCNAME}.pid
+: ${LIRCD_SYMLINKFILE:=/dev/lircd}
+: ${LIRCD_SOCKET:=/var/run/lirc/lircd}
+
+depend() {
+ need localmount
+ use modules
+ provide lirc
+}
+
+start() {
+ local retval
+
+ ebegin "Starting lircd"
+
+ for retval in ${LIRCD_SET_SYSCLASSRCS} ; do
+ if [ -e /sys/class/rc/${retval}/protocols ] && \
+ grep -qs 'lirc' /sys/class/rc/${retval}/protocols ; then
+ einfo "Setting lirc protocol active for ${retval}"
+ echo lirc >/sys/class/rc/${retval}/protocols
+ fi
+ done
+
+ checkpath -q -d -m 0755 -o root:root /var/run/lirc
+ rm -Rf ${LIRCD_SOCKET} && ln -s ${LIRCD_SOCKET} ${LIRCD_SYMLINKFILE}
+ if [ $? -ne 0 ]; then
+ eend $? "Unable to create symbolic link ${LIRCD_SYMLINKFILE}"
+ return 1
+ fi
+
+ start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \
+ -P "${PIDFILE}" ${LIRCD_OPTS}
+ retval=$?
+
+ if [ ${retval} -ne 0 ]; then
+ rm -Rf ${LIRCD_SOCKET}
+ fi
+
+ eend ${retval}
+}
+
+stop() {
+ ebegin "Stopping lircd"
+ rm -f ${LIRCD_SYMLINKFILE}
+ start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd
+ eend $?
+}
diff --git a/app-misc/lirc/files/lircd.conf.4 b/app-misc/lirc/files/lircd.conf.4
new file mode 100644
index 000000000000..f59c5f214283
--- /dev/null
+++ b/app-misc/lirc/files/lircd.conf.4
@@ -0,0 +1,22 @@
+# Options to pass to the lircd process
+
+# for devices with lirc-kernel-module
+#LIRCD_OPTS="-d /dev/lirc0"
+#LIRCD_OPTS="-d /dev/lirc"
+
+# for devices using the input-layer
+#LIRCD_OPTS="-H devinput -d /dev/input/by-path/pci-0000:00:0a.0--event-ir"
+# This should work, Bug #235107
+#LIRCD_OPTS="-H devinput -d name=*DVB*"
+
+# set default protocol to 'lirc' for in-kernel IR decoding
+# for the following entries in /sys/class/rc/
+# (space-separated list if there is more than one)
+LIRCD_SET_SYSCLASSRCS="rc0"
+
+# If running mulitple instances of lircd, the following
+# can be used to override the default socket path and
+# socket symlink
+#LIRCD_SOCKET="/var/run/lirc/lircd"
+#LIRCD_SYMLINKFILE="/dev/lircd"
+
diff --git a/app-misc/lirc/files/lircm.service b/app-misc/lirc/files/lircm.service
new file mode 100644
index 000000000000..cfd2c93caf6a
--- /dev/null
+++ b/app-misc/lirc/files/lircm.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=LIRC Mouse
+Requires=lirc.service
+After=network.target lirc.service
+
+[Service]
+ExecStart=/usr/sbin/lircmd --nodaemon
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/app-misc/lirc/files/lircmd b/app-misc/lirc/files/lircmd
new file mode 100644
index 000000000000..e979f74413fc
--- /dev/null
+++ b/app-misc/lirc/files/lircmd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need lircd
+}
+
+start() {
+ ebegin "Starting lircmd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lircmd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
diff --git a/app-misc/lirc/files/lircmd-0.10.0.conf b/app-misc/lirc/files/lircmd-0.10.0.conf
new file mode 100644
index 000000000000..4ba169de582d
--- /dev/null
+++ b/app-misc/lirc/files/lircmd-0.10.0.conf
@@ -0,0 +1,4 @@
+# Options to pass to the lircmd process
+
+LIRCMD_OPTS=""
+
diff --git a/app-misc/lirc/files/lircmd-0.9.4a-r2 b/app-misc/lirc/files/lircmd-0.9.4a-r2
new file mode 100644
index 000000000000..a287dc75c636
--- /dev/null
+++ b/app-misc/lirc/files/lircmd-0.9.4a-r2
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need lircd
+}
+
+start() {
+ ebegin "Starting lircmd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/lircmd -- ${LIRCMD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping lircmd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
+ eend $?
+}
diff --git a/app-misc/lirc/files/lircmd.conf b/app-misc/lirc/files/lircmd.conf
new file mode 100644
index 000000000000..319362a321aa
--- /dev/null
+++ b/app-misc/lirc/files/lircmd.conf
@@ -0,0 +1,4 @@
+# Options to pass to the lircmd process
+
+LIRCMD_OPTS="--uinput"
+
diff --git a/app-misc/lirc/files/modprobed.lirc b/app-misc/lirc/files/modprobed.lirc
new file mode 100644
index 000000000000..2ed95589b66d
--- /dev/null
+++ b/app-misc/lirc/files/modprobed.lirc
@@ -0,0 +1,22 @@
+#
+# For first serial receivers:
+#
+#options lirc_serial irq=4 io=0x3f8
+#options lirc_sir irq=4 io=0x3f8
+
+#
+# Detach first serial port from serial-driver.
+# Use this when you have your serial-port-driver statically
+# compiled into your kernel, or as a module but loaded before
+# the lirc-module.
+#
+#install lirc_serial setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_serial
+#
+#install lirc_sir setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_sir
+
+
+#
+# For parallel receivers:
+#
+#options lirc_parallel irq=7 io=0x3bc
+
diff --git a/app-misc/lirc/lirc-0.10.0_rc2.ebuild b/app-misc/lirc/lirc-0.10.0_rc2.ebuild
new file mode 100644
index 000000000000..464217b7e0af
--- /dev/null
+++ b/app-misc/lirc/lirc-0.10.0_rc2.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+inherit eutils flag-o-matic linux-info python-single-r1 systemd xdg-utils
+
+DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
+HOMEPAGE="http://www.lirc.org/"
+
+LIRC_DRIVER_DEVICE="/dev/lirc0"
+
+MY_P=${PN}-${PV/_/-}
+
+if [[ "${PV/_pre/}" = "${PV}" ]]; then
+ SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+else
+ SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ gtk? ( X )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ audio? (
+ >media-libs/portaudio-18
+ media-libs/alsa-lib
+ )
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ftdi? ( dev-embedded/libftdi:0 )
+ systemd? ( sys-apps/systemd )
+ usb? ( virtual/libusb:0 )
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ sys-apps/kmod
+ sys-kernel/linux-headers
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ gtk? (
+ x11-libs/vte[introspection]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ )
+ inputlirc? ( app-misc/inputlircd )
+"
+
+pkg_setup() {
+ use uinput && CONFIG_CHECK="INPUT_UINPUT"
+}
+
+src_configure() {
+ xdg_environment_reset
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_enable static-libs static) \
+ $(use_enable devinput) \
+ $(use_enable uinput) \
+ $(use_with X x)
+}
+
+src_install() {
+ default
+
+ if use !gtk ; then
+ # lirc-setup requires gtk
+ rm "${ED%/}"/usr/bin/lirc-setup || die
+ fi
+
+ newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
+ newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
+ newconfd "${FILESDIR}"/lircd.conf.4 lircd
+ newconfd "${FILESDIR}"/lircmd-0.10.0.conf lircmd
+
+ insinto /etc/modprobe.d/
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
+
+ newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
+ newconfd "${FILESDIR}"/irexec-confd irexec
+
+ keepdir /etc/lirc
+ if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+
+ # Avoid QA notice
+ rm -d "${ED%/}"/var/run/lirc || die
+ rm -d "${ED%/}"/var/run || die
+}
+
+pkg_preinst() {
+ local dir="${EROOT%/}/etc/modprobe.d"
+ if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
+ fi
+
+ # copy the first file that can be found
+ if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then
+ cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then
+ cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die
+ MOVE_OLD_LIRCD_CONF=1
+ elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ fi
+
+ # stop portage from touching the config file
+ if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ rm -f "${ED%/}"/etc/lirc/lircd.conf || die
+ fi
+}
+
+pkg_postinst() {
+ # copy config file to new location
+ # without portage knowing about it
+ # so it will not delete it on unmerge or ever touch it again
+ if [[ -e "${T}"/lircd.conf ]]; then
+ cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die
+ if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
+ elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
+ rm -f "${EROOT%/}"/etc/lircd.conf || die
+ fi
+ fi
+
+ einfo "The new default location for lircd.conf is inside of"
+ einfo "${EROOT%/}/etc/lirc/ directory"
+}
diff --git a/app-misc/lirc/lirc-0.9.0-r6.ebuild b/app-misc/lirc/lirc-0.9.0-r6.ebuild
new file mode 100644
index 000000000000..8672858485e8
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.0-r6.ebuild
@@ -0,0 +1,428 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils linux-mod linux-info systemd toolchain-funcs flag-o-matic autotools
+
+DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
+HOMEPAGE="http://www.lirc.org/"
+
+MY_P=${PN}-${PV/_/}
+
+if [[ "${PV/_pre/}" = "${PV}" ]]; then
+ SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+else
+ SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="debug doc hardware-carrier transmitter static-libs X"
+
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+ X? (
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ )
+ lirc_devices_alsa_usb? ( media-libs/alsa-lib )
+ lirc_devices_audio? ( >media-libs/portaudio-18 )
+ lirc_devices_irman? ( media-libs/libirman )"
+
+# 2012-07-17, Ian Stakenvicius
+# A helper script that scrapes out values for nearly all of the variables below
+# from lirc's configure.ac is available at
+# https://dev.gentoo.org/~axs/helper-for-lirc-iuse.sh
+
+# This are drivers with names matching the
+# parameter --with-driver=NAME
+IUSE_LIRC_DEVICES_DIRECT="
+ all userspace accent act200l act220l
+ adaptec alsa_usb animax asusdh atilibusb
+ atiusb audio audio_alsa avermedia avermedia_vdomate
+ avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
+ bte bw6130 caraca chronos commandir
+ cph06x creative creative_infracd
+ devinput digimatrix dsp dvico ea65 ene0100
+ exaudio flyvideo ftdi gvbctv5pci hauppauge
+ hauppauge_dvb hercules_smarttv_stereo i2cuser
+ igorplugusb iguanaIR imon imon_24g imon_knob
+ imon_lcd imon_pad imon_rsc irdeo irdeo_remote
+ irlink irman irreal it87 ite8709
+ knc_one kworld leadtek_0007 leadtek_0010
+ leadtek_pvr2000 livedrive_midi
+ livedrive_seq logitech macmini
+ mediafocusI mouseremote
+ mouseremote_ps2 mp3anywhere mplay nslu2
+ packard_bell parallel pcmak pcmak_usb
+ pctv pixelview_bt878 pixelview_pak
+ pixelview_pro provideo realmagic
+ remotemaster sa1100 samsung sasem sb0540 serial
+ silitek sir slinke streamzap tekram
+ tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
+ uirt2_raw usb_uirt_raw usbx wpc8769l zotac"
+
+# drivers that need special handling and
+# must have another name specified for
+# parameter --with-driver=NAME
+IUSE_LIRC_DEVICES_SPECIAL="
+ serial_igor_cesko
+ remote_wonder_plus xboxusb inputlirc"
+
+IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
+
+# The following are lists which are used to provide ewarns on incompatibilities
+# with the kernel:
+
+#drivers that do not build kernel modules
+NO_KMOD_BUILT_FOR_DEV="
+ accent bte creative creative_infracd devinput dsp ea65 exaudio
+ ftdi i2cuser irlink irreal livedrive_midi livedrive_seq logitech
+ mediafocusI mouseremote mouseremote_ps2 mp3anywhere mplay mplay2
+ pcmak pcmak_usb pctv realmagic remotemaster silitek tira tira_raw
+ tuxbox udp uirt2 uirt2_raw usb_uirt_raw usbx"
+
+#drivers that build lirc_dev and so will conflict with kernel lirc_dev
+LIRCDEV_BUILT_FOR_DEV="all
+ act200l act220l adaptec animax atiusb breakoutbox hauppauge
+ hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_24g
+ imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one
+ leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878
+ provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir
+ tvbox wpc8769l zotac"
+
+#lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22
+LIRC_GPIO_DEV="
+ avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 chronos
+ cph03x cph06x flyvideo gvbctv5pci kworld leadtek_0007 leadtek_0010
+ pixelview_pak pixelview_pro"
+
+#device-driver which use libusb
+LIBUSB_USED_BY_DEV="
+ all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
+ imon_rsc streamzap xboxusb irlink commandir"
+
+for dev in ${LIBUSB_USED_BY_DEV}; do
+ DEPEND="${DEPEND} lirc_devices_${dev}? ( virtual/libusb:0 )"
+done
+
+# adding only compile-time depends
+DEPEND="${RDEPEND} ${DEPEND}
+ virtual/linux-sources
+ lirc_devices_ftdi? ( dev-embedded/libftdi:0 )
+ lirc_devices_all? ( dev-embedded/libftdi:0 )"
+
+# adding only run-time depends
+RDEPEND="${RDEPEND}
+ lirc_devices_inputlirc? ( app-misc/inputlircd )
+ lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
+
+# add all devices to IUSE
+# and ensure lirc_devices_all is not set alongside lirc_devices_*
+REQUIRED_USE="lirc_devices_all? ("
+for dev in ${IUSE_LIRC_DEVICES}; do
+ IUSE="${IUSE} lirc_devices_${dev}"
+ if [[ "${dev}" != "all" ]]; then
+ REQUIRED_USE="${REQUIRED_USE} !lirc_devices_${dev}"
+ fi
+done
+REQUIRED_USE="${REQUIRED_USE} )"
+
+add_device() {
+ local dev="${1}"
+ local desc="device ${dev}"
+ if [[ -n "${2}" ]]; then
+ desc="${2}"
+ fi
+
+ # Bug #187418
+ if kernel_is ge 2 6 22 && [[ " ${LIRC_GPIO_DEV} " == *" ${dev} "* ]]; then
+ eerror "${desc} uses lirc_gpio which fails with kernel 2.6.22 or above. Not building."
+ eerror "Use 'devinput' instead, or use 'userspace' along with in-kernel drivers"
+ return 0
+ fi
+ : ${lirc_device_count:=0}
+ ((lirc_device_count++))
+
+ elog "Compiling support for ${desc}"
+
+ if [[ " ${LIRCDEV_BUILT_FOR_DEV} " == *" ${dev} "* ]] ; then
+ if linux_chkconfig_present LIRC ; then
+ ewarn "${desc} builds lirc_dev and CONFIG_LIRC is set in the kernel -- this may conflict."
+ fi
+ if ! linux_chkconfig_present MODULE_UNLOAD ; then
+ ewarn "${desc} builds modules and CONFIG_MODULE_UNLOAD is unset in kernel."
+ ewarn "You will need MODULE_UNLOAD support in your kernel."
+ fi
+ fi
+ if [[ " ${NO_KMOD_BUILT_FOR_DEV} " == *" ${dev} "* ]] && ! linux_chkconfig_present IR_LIRC_CODEC ; then
+ ewarn "${desc} builds no kernel module and CONFIG_IR_LIRC_CODEC is unset in kernel."
+ fi
+
+ if [[ ${lirc_device_count} -eq 2 ]] ; then
+ ewarn
+ ewarn "LIRC_DEVICES has more than one entry."
+ ewarn "When selecting multiple devices for lirc to be supported,"
+ ewarn "it can not be guaranteed that the drivers play nice together."
+ ewarn "If this is not intended, then please adjust LIRC_DEVICES"
+ ewarn "and re-emerge."
+ ewarn
+ fi
+
+ MY_OPTS="${MY_OPTS} --with-driver=${dev}"
+}
+
+pkg_pretend() {
+ if [[ -n "${LIRC_OPTS}" ]] ; then
+ ewarn
+ ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
+ ewarn
+ ewarn "Please use LIRC_DEVICES from now on."
+ ewarn "e.g. LIRC_DEVICES=\"serial sir\""
+ ewarn
+ ewarn "Flags are now set per use-flags."
+ ewarn "e.g. transmitter, hardware-carrier"
+
+ local opt
+ local unsupported_opts=""
+
+ # test for allowed options for LIRC_OPTS
+ for opt in ${LIRC_OPTS}; do
+ case ${opt} in
+ --with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
+ MY_OPTS="${MY_OPTS} ${opt}"
+ ;;
+ *)
+ unsupported_opts="${unsupported_opts} ${opt}"
+ ;;
+ esac
+ done
+ if [[ -n ${unsupported_opts} ]]; then
+ eerror "These options are no longer allowed to be set"
+ eerror "with LIRC_OPTS: ${unsupported_opts}"
+ die "LIRC_OPTS is no longer supported, use LIRC_DEVICES."
+ fi
+ fi
+}
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ # set default configure options
+ MY_OPTS=""
+ LIRC_DRIVER_DEVICE="/dev/lirc0"
+
+ if use lirc_devices_all; then
+ # compile in drivers for a lot of devices
+ add_device all "a lot of devices"
+ else
+ # compile in only requested drivers
+ local dev
+ for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
+ if use lirc_devices_${dev}; then
+ add_device ${dev}
+ fi
+ done
+
+ if use lirc_devices_remote_wonder_plus; then
+ add_device atiusb "device Remote Wonder Plus (atiusb-based)"
+ fi
+
+ if use lirc_devices_serial_igor_cesko; then
+ add_device serial "serial with Igor Cesko design"
+ MY_OPTS="${MY_OPTS} --with-igor"
+ fi
+
+ if use lirc_devices_imon_pad; then
+ ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
+ ewarn "and removed the pad2keys_active option for the lirc_imon module"
+ ewarn "because it is always active."
+ ewarn "If you have an older imon VFD device, you may need to add the module"
+ ewarn "option display_type=1 to override autodetection and force VFD mode."
+ fi
+
+ if use lirc_devices_xboxusb; then
+ add_device atiusb "device xboxusb"
+ fi
+
+ if [[ "${MY_OPTS}" == "" ]]; then
+ if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
+ # on xbox: use special driver
+ add_device atiusb "device xboxusb"
+ else
+ # no driver requested
+ elog
+ elog "Compiling only the lirc-applications, but no drivers."
+ elog "Enable drivers with LIRC_DEVICES if you need them."
+ MY_OPTS="--with-driver=none"
+ fi
+ fi
+ fi
+
+ use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
+ use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
+
+ einfo
+ einfo "lirc-configure-opts: ${MY_OPTS}"
+ elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
+
+ filter-flags -Wl,-O1
+}
+
+src_prepare() {
+ # Rip out dos CRLF
+ edos2unix contrib/lirc.rules
+
+ # Apply patches needed for some special device-types
+ use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
+ use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
+
+ # Apply fixes for kernel-2.6.39 and above
+ epatch "${FILESDIR}"/${P}-kernel-2.6.39-fixes.patch
+ # Slightly massaged upstream patch to fix kfifo issues >=2.6.38
+ # for bug 377033
+ epatch "${FILESDIR}"/${P}-atiusb_kfifo.patch
+ # Apply fixes for kernel-3.3 and above (bug 439538)
+ epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch
+ # Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736)
+ epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch
+ # Apply fix for missing __devinit __devexit defines in kernel 3.8+ (bug 461532)
+ epatch "${FILESDIR}"/${P}-kernel-3.8-fixes.patch
+ # Add support for zotac remote, bug 342848
+ epatch "${FILESDIR}"/${P}-add-zotac-support.patch
+ # Use fixed font
+ epatch "${FILESDIR}"/${P}-fixed-font.patch
+
+ # Do not build drivers from the top-level Makefile
+ sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am
+
+ # remove parallel driver on SMP systems
+ if linux_chkconfig_present SMP ; then
+ sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
+ fi
+
+ # Bug #187418 - only need this part for lirc_devices_all as others die in pkg_setup
+ if use lirc_devices_all && kernel_is ge 2 6 22 ; then
+ ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
+ sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
+ fi
+
+ # respect CFLAGS
+ sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
+
+ # setting default device-node
+ local f
+ for f in configure.ac acconfig.h; do
+ [[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
+ done
+ echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
+
+ sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die # automake 1.13
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localstatedir=/var \
+ --with-syslog=LOG_DAEMON \
+ --enable-sandboxed \
+ --with-kerneldir="${KV_DIR}" \
+ --with-moduledir="/lib/modules/${KV_FULL}/misc" \
+ $(use_enable debug) \
+ $(use_enable static-libs static) \
+ $(use_with X x) \
+ ${MY_OPTS} \
+ ABI="${KERNEL_ABI}" \
+ ARCH="$(tc-arch-kernel)"
+}
+
+src_compile() {
+ # force non-parallel make, Bug 196134 (confirmed valid for 0.9.0-r2)
+ emake -j1
+
+ MODULE_NAMES="lirc(misc:${S}/drivers)"
+ BUILD_TARGETS="all"
+ linux-mod_src_compile
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ emake -C drivers DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
+ newinitd "${FILESDIR}"/lircmd lircmd
+ newconfd "${FILESDIR}"/lircd.conf.4 lircd
+
+ insinto /etc/modprobe.d/
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
+
+ newinitd "${FILESDIR}"/irexec-initd-0.8.6-r2 irexec
+ newconfd "${FILESDIR}"/irexec-confd irexec
+
+ systemd_dounit "${FILESDIR}"/irexec.service
+ systemd_dounit "${FILESDIR}"/lirc.service
+ systemd_dounit "${FILESDIR}"/lircm.service
+
+ if use doc ; then
+ dohtml doc/html/*.html
+ insinto /usr/share/doc/${PF}/images
+ doins doc/images/*
+ fi
+
+ insinto /usr/share/lirc/remotes
+ doins -r remotes/*
+
+ keepdir /etc/lirc
+ if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
+ newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
+ fi
+
+ use static-libs || rm "${D}/usr/$(get_libdir)/liblirc_client.la"
+}
+
+pkg_preinst() {
+ linux-mod_pkg_preinst
+
+ local dir="${EROOT}/etc/modprobe.d"
+ if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf"
+ fi
+
+ # copy the first file that can be found
+ if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
+ cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf
+ elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
+ cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf
+ MOVE_OLD_LIRCD_CONF=1
+ elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
+ cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
+ fi
+
+ # stop portage from touching the config file
+ if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
+ rm -f "${D}"/etc/lirc/lircd.conf
+ fi
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # copy config file to new location
+ # without portage knowing about it
+ # so it will not delete it on unmerge or ever touch it again
+ if [[ -e "${T}"/lircd.conf ]]; then
+ cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf
+ if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
+ elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
+ rm -f "${EROOT}"/etc/lircd.conf
+ fi
+ fi
+
+ einfo "The new default location for lircd.conf is inside of"
+ einfo "/etc/lirc/ directory"
+}
diff --git a/app-misc/lirc/lirc-0.9.4a-r2.ebuild b/app-misc/lirc/lirc-0.9.4a-r2.ebuild
new file mode 100644
index 000000000000..fa9852918a23
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.4a-r2.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic systemd
+
+DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
+HOMEPAGE="http://www.lirc.org/"
+
+LIRC_DRIVER_DEVICE="/dev/lirc0"
+
+MY_P=${PN}-${PV/_/}
+
+if [[ "${PV/_pre/}" = "${PV}" ]]; then
+ SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+else
+ SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc static-libs X audio irman ftdi inputlirc iguanair systemd usb"
+
+S="${WORKDIR}/${MY_P}"
+
+REQUIRED_USE="
+ iguanair? ( irman )
+"
+DEPEND="
+ doc? ( app-doc/doxygen )
+"
+
+RDEPEND="
+ X? (
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ )
+ systemd? ( sys-apps/systemd )
+ audio? (
+ >media-libs/portaudio-18
+ media-libs/alsa-lib
+ )
+ irman? ( media-libs/libirman )
+ iguanair? ( app-misc/iguanaIR )
+ ftdi? ( dev-embedded/libftdi:0 )
+ inputlirc? ( app-misc/inputlircd )
+ usb? ( virtual/libusb:0 )
+"
+
+PATCHES=(
+ "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
+)
+
+src_configure() {
+ filter-flags -Wl,-O1
+ econf \
+ --localstatedir=/var \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+# Defined src_compile as a workaround for a parallel make issue
+# See https://bugs.gentoo.org/show_bug.cgi?id=588864
+# and https://sourceforge.net/p/lirc/tickets/210/
+src_compile() {
+ emake lib
+ emake
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
+ newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
+ newconfd "${FILESDIR}"/lircd.conf.4 lircd
+ newconfd "${FILESDIR}"/lircmd.conf lircmd
+
+ insinto /etc/modprobe.d/
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
+
+ newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
+ newconfd "${FILESDIR}"/irexec-confd irexec
+
+ keepdir /etc/lirc
+ if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
+ newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
+ fi
+
+ find "${D}" -name '*.la' -delete || die
+
+ # Avoid QA notice
+ rm -d "${D}"/var/run/lirc || die
+ rm -d "${D}"/var/run || die
+}
+
+pkg_preinst() {
+ local dir="${EROOT}/etc/modprobe.d"
+ if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
+ fi
+
+ # copy the first file that can be found
+ if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
+ cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
+ cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf || die
+ MOVE_OLD_LIRCD_CONF=1
+ elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
+ cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ fi
+
+ # stop portage from touching the config file
+ if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
+ rm -f "${D}"/etc/lirc/lircd.conf || die
+ fi
+}
+
+pkg_postinst() {
+ # copy config file to new location
+ # without portage knowing about it
+ # so it will not delete it on unmerge or ever touch it again
+ if [[ -e "${T}"/lircd.conf ]]; then
+ cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf || die
+ if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
+ elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
+ rm -f "${EROOT}"/etc/lircd.conf || die
+ fi
+ fi
+
+ einfo "The new default location for lircd.conf is inside of"
+ einfo "/etc/lirc/ directory"
+}
diff --git a/app-misc/lirc/lirc-0.9.4c.ebuild b/app-misc/lirc/lirc-0.9.4c.ebuild
new file mode 100644
index 000000000000..25ec10062e31
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.4c.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+inherit eutils flag-o-matic python-single-r1 systemd xdg-utils
+
+DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
+HOMEPAGE="http://www.lirc.org/"
+
+LIRC_DRIVER_DEVICE="/dev/lirc0"
+
+MY_P=${PN}-${PV/_/}
+
+if [[ "${PV/_pre/}" = "${PV}" ]]; then
+ SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+else
+ SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ gtk? ( X )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ audio? (
+ >media-libs/portaudio-18
+ media-libs/alsa-lib
+ )
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ftdi? ( dev-embedded/libftdi:0 )
+ systemd? ( sys-apps/systemd )
+ usb? ( virtual/libusb:0 )
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ sys-apps/kmod
+ sys-kernel/linux-headers
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ gtk? (
+ x11-libs/vte[introspection]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ )
+ inputlirc? ( app-misc/inputlircd )
+"
+
+PATCHES=(
+ # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
+ "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
+)
+
+src_configure() {
+ xdg_environment_reset
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+src_install() {
+ default
+
+ if use !gtk ; then
+ # lirc-setup requires gtk
+ rm "${ED%/}"/usr/bin/lirc-setup || die
+ fi
+
+ newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
+ newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
+ newconfd "${FILESDIR}"/lircd.conf.4 lircd
+ newconfd "${FILESDIR}"/lircmd.conf lircmd
+
+ insinto /etc/modprobe.d/
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
+
+ newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
+ newconfd "${FILESDIR}"/irexec-confd irexec
+
+ keepdir /etc/lirc
+ if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+
+ # Avoid QA notice
+ rm -d "${ED%/}"/var/run/lirc || die
+ rm -d "${ED%/}"/var/run || die
+}
+
+pkg_preinst() {
+ local dir="${EROOT%/}/etc/modprobe.d"
+ if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
+ fi
+
+ # copy the first file that can be found
+ if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then
+ cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then
+ cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die
+ MOVE_OLD_LIRCD_CONF=1
+ elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ fi
+
+ # stop portage from touching the config file
+ if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ rm -f "${ED%/}"/etc/lirc/lircd.conf || die
+ fi
+}
+
+pkg_postinst() {
+ # copy config file to new location
+ # without portage knowing about it
+ # so it will not delete it on unmerge or ever touch it again
+ if [[ -e "${T}"/lircd.conf ]]; then
+ cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die
+ if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
+ elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
+ rm -f "${EROOT%/}"/etc/lircd.conf || die
+ fi
+ fi
+
+ einfo "The new default location for lircd.conf is inside of"
+ einfo "${EROOT%/}/etc/lirc/ directory"
+}
diff --git a/app-misc/lirc/lirc-0.9.4d.ebuild b/app-misc/lirc/lirc-0.9.4d.ebuild
new file mode 100644
index 000000000000..25ec10062e31
--- /dev/null
+++ b/app-misc/lirc/lirc-0.9.4d.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_4 python3_5 )
+
+inherit eutils flag-o-matic python-single-r1 systemd xdg-utils
+
+DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
+HOMEPAGE="http://www.lirc.org/"
+
+LIRC_DRIVER_DEVICE="/dev/lirc0"
+
+MY_P=${PN}-${PV/_/}
+
+if [[ "${PV/_pre/}" = "${PV}" ]]; then
+ SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
+else
+ SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="audio doc ftdi gtk inputlirc static-libs systemd usb X"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ gtk? ( X )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ audio? (
+ >media-libs/portaudio-18
+ media-libs/alsa-lib
+ )
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ftdi? ( dev-embedded/libftdi:0 )
+ systemd? ( sys-apps/systemd )
+ usb? ( virtual/libusb:0 )
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ dev-libs/libxslt
+ doc? ( app-doc/doxygen )
+ sys-apps/kmod
+ sys-kernel/linux-headers
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ gtk? (
+ x11-libs/vte[introspection]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ )
+ inputlirc? ( app-misc/inputlircd )
+"
+
+PATCHES=(
+ # https://bugs.gentoo.org/show_bug.cgi?id=589246 https://sourceforge.net/p/lirc/tickets/214/
+ "${FILESDIR}"/lirc-0.9.4-doc-path-fix.patch
+)
+
+src_configure() {
+ xdg_environment_reset
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_enable static-libs static) \
+ $(use_with X x)
+}
+
+src_install() {
+ default
+
+ if use !gtk ; then
+ # lirc-setup requires gtk
+ rm "${ED%/}"/usr/bin/lirc-setup || die
+ fi
+
+ newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
+ newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
+ newconfd "${FILESDIR}"/lircd.conf.4 lircd
+ newconfd "${FILESDIR}"/lircmd.conf lircmd
+
+ insinto /etc/modprobe.d/
+ newins "${FILESDIR}"/modprobed.lirc lirc.conf
+
+ newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
+ newconfd "${FILESDIR}"/irexec-confd irexec
+
+ keepdir /etc/lirc
+ if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ newdoc "${ED%/}"/etc/lirc/lircd.conf lircd.conf.example
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+
+ # Avoid QA notice
+ rm -d "${ED%/}"/var/run/lirc || die
+ rm -d "${ED%/}"/var/run || die
+}
+
+pkg_preinst() {
+ local dir="${EROOT%/}/etc/modprobe.d"
+ if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
+ elog "Renaming ${dir}/lirc to lirc.conf"
+ mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
+ fi
+
+ # copy the first file that can be found
+ if [[ -f "${EROOT%/}"/etc/lirc/lircd.conf ]]; then
+ cp "${EROOT%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ elif [[ -f "${EROOT%/}"/etc/lircd.conf ]]; then
+ cp "${EROOT%/}"/etc/lircd.conf "${T}"/lircd.conf || die
+ MOVE_OLD_LIRCD_CONF=1
+ elif [[ -f "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ cp "${ED%/}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
+ fi
+
+ # stop portage from touching the config file
+ if [[ -e "${ED%/}"/etc/lirc/lircd.conf ]]; then
+ rm -f "${ED%/}"/etc/lirc/lircd.conf || die
+ fi
+}
+
+pkg_postinst() {
+ # copy config file to new location
+ # without portage knowing about it
+ # so it will not delete it on unmerge or ever touch it again
+ if [[ -e "${T}"/lircd.conf ]]; then
+ cp "${T}"/lircd.conf "${EROOT%/}"/etc/lirc/lircd.conf || die
+ if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
+ elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
+ rm -f "${EROOT%/}"/etc/lircd.conf || die
+ fi
+ fi
+
+ einfo "The new default location for lircd.conf is inside of"
+ einfo "${EROOT%/}/etc/lirc/ directory"
+}
diff --git a/app-misc/lirc/metadata.xml b/app-misc/lirc/metadata.xml
new file mode 100644
index 000000000000..b1e7f0c27f85
--- /dev/null
+++ b/app-misc/lirc/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>candrews@gentoo.org</email>
+ <name>Craig Andrews</name>
+ </maintainer>
+ <use>
+ <flag name="uinput">Enable support for uinput</flag>
+ <flag name="devinput">Support the devinput input device</flag>
+ <flag name="hardware-carrier">The transmitter device generates its clock signal in hardware</flag>
+ <flag name="transmitter">Add transmitter support to some lirc-drivers (e.g. serial)</flag>
+ <flag name="inputlirc">Add a dependency on app-misc/inputlircd</flag>
+ <flag name="irman">Add a dependency on media-libs/libirman</flag>
+ <flag name="audio">Support using an audio device connected to an IR receiver</flag>
+ <flag name="iguanair">Support iguanaIR devices</flag>
+ <flag name="ftdi">Support FTDI devices</flag>
+ <flag name="gtk">Include GTK support which enables the use of lirc-setup</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">lirc</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ LIRC (Linux Infrared remote control) allows users to receive and send infrared signals.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/app-misc/livecd-tools/Manifest b/app-misc/livecd-tools/Manifest
new file mode 100644
index 000000000000..23c25b45b801
--- /dev/null
+++ b/app-misc/livecd-tools/Manifest
@@ -0,0 +1,8 @@
+DIST livecd-tools-2.2.tar.gz 11419 SHA256 65275aad174ac9c129617768f693830ed696d209cbf4d252553a280374b4de89 SHA512 62891c132b0f392b775116d90740ea30a546a75736b17d10e5915ededa72ed730934555cab9a0b81a6def49e687c13db3e92e1e4f325854151569ad3e814bec0 WHIRLPOOL 658b65dffa992505cd354cdaf2edd1ae2f0f421fdda6fc7afe59a3a3028bdfddfc02302f763aeb940b4281823cd38f41bb9ee2f12f5b5185c5ac593a20a0c9df
+DIST livecd-tools-2.3.tar.bz2 11128 SHA256 fd611e3cc76a20543cdf752c96a1b3864a2e2945463a440929459feff79866f5 SHA512 93a5742a4cc243fee07088f5957c1eb48c2276460c391c089502eccba5bfe80b52fa7a7d058502b18086130bd8686c8c0e4af8f3f03f72c98b482776e0f225a9 WHIRLPOOL 99371ea8c650012e484dd33519245770a347497c03a013d359d0cf8570ee6127611523b93fde763621e28eedaee0e21cda0480d921da8b5d5ba1ea67c8ee8116
+EBUILD livecd-tools-2.2.ebuild 968 SHA256 35905c2e2665011f9e06eb70190ecf12ad7a7948d2afbd938f847622554f08ae SHA512 7aac852fb8a30b438d77776a308942f73f9415602c2d9cf38c063b23fdf1765e26e53b99266c049150533db20e67dfa1168c803597c612f816be962d53991329 WHIRLPOOL 9c16baaa8ba82300305597fd43670949cc4a1239e5df03e9aedae72a47355892db1ed000b0e4f7b661f7a2ae8f9aabd1f4b8d53e64072e8f6aeb42d33bfab405
+EBUILD livecd-tools-2.3.ebuild 969 SHA256 31783c927ef536281f93b5bc13a7e149f6b6daa2057073e94e79ba26afaccf9d SHA512 79d62b217c1699a022f7b3076e1d8537c9d3cded37a8cd995cb4a1d5efda129cf12e36d0a934e90fe139d470a1eaadf929e5addbcdcf84797c0569b7a3a56d16 WHIRLPOOL b0a013a53e540bfee46e961beef57fb1602c99f52eabf0101d3c09bab49e125f099808e8371e90c335332acb2d7e4c2b8f90d6f17c9df28f99f0180ae7bedc8f
+EBUILD livecd-tools-9999.ebuild 968 SHA256 e6a069efd3029fae7cd850d0ecd8020f3090306f117997dd6c9fef49139c639c SHA512 46c70eb5076b1053ca7ffeb7f765c7bb9b4b691a856d556d12d3bb85be95e083db5e88943482fa060d9b113c757417e4d27b0511ce6b6f172fd589db5b2b0dad WHIRLPOOL 9c195ec21f2f19f0d5d7899fdd5f72120188c72813ef61603615f0cfab79f506231b95ea6b3e72dfc5e55ba86fa60ae4411f851e82331374508ad89553fad82a
+MISC ChangeLog 3382 SHA256 3f26179c2b5eb34a06336ea2bd5a45458be88d72a936e9bec6f8c234e302de6f SHA512 ea6a7214caea1d0efc9b3f418b02bded5dfc0db0b1449999c336d51b171082707f58bef7bbae0ccd29f35e1d3364de9df6f352f6ce920d3e747e2664564fb66a WHIRLPOOL bd5f8d368a123de4632ebce2bd73e9b7499755edea6e752175abdc26b5184759310d515c8d5d83b802a08d48280a22ede7cf50f9100ad3a514428fce2b2c0907
+MISC ChangeLog-2015 25002 SHA256 c3df817f0144b97cf8b37e8ec1d03fcbbf8a8683e2bcce3a1d087809d26584dc SHA512 1c1a3d899b9d0dd25788eee0ccd854313291916d4e06c3fffafe38ebf797ebd1e41adef820f65d029533eea706c76098f17fd9c581b2cef09abf5df1e3cd5da8 WHIRLPOOL 20faec16a75a86d70b6df09b1967243c131677fb24a36ea6c1550db29a8826c8518b27927a95ca43c4e8763d1934c11e4d3b0028c6854c198075ce22f3ccdbbb
+MISC metadata.xml 251 SHA256 64aac5f4a42f3b20222048411f52dbf0c57134b8d5aecd25dee154d75d1c0b73 SHA512 2da7a6b2b1b7153b8803cc52201fa006313bf75a25f7d917f26eadd7a6426529e4b30a57c3c24cca20865d9dc4f3d56fdfa14b10254158bea2dfeb2c64fcc18c WHIRLPOOL 5fb64a7c924e2d96d98db3c80ebaa98d19bf644a2936b65d63c3642673cb259670411265eb7c2647697f09aae62d503ee21334e1f1c8aa68d85e6521cf83608f
diff --git a/app-misc/livecd-tools/livecd-tools-2.2.ebuild b/app-misc/livecd-tools/livecd-tools-2.2.ebuild
new file mode 100644
index 000000000000..5a008a9df98b
--- /dev/null
+++ b/app-misc/livecd-tools/livecd-tools-2.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/livecd-tools.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"
+ KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+fi
+
+DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
+HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="dev-util/dialog
+ net-dialup/mingetty
+ >=sys-apps/baselayout-2
+ >=sys-apps/openrc-0.8.2-r1
+ sys-apps/pciutils
+ sys-apps/gawk
+ sys-apps/sed"
+
+pkg_setup() {
+ ewarn "This package is designed for use on the LiveCD only and will do"
+ ewarn "unspeakably horrible and unexpected things on a normal system."
+ ewarn "YOU HAVE BEEN WARNED!!!"
+}
+
+src_install() {
+ doconfd conf.d/*
+ doinitd init.d/*
+ dosbin net-setup
+ into /
+ dosbin livecd-functions.sh
+}
diff --git a/app-misc/livecd-tools/livecd-tools-2.3.ebuild b/app-misc/livecd-tools/livecd-tools-2.3.ebuild
new file mode 100644
index 000000000000..b60b6111ad7b
--- /dev/null
+++ b/app-misc/livecd-tools/livecd-tools-2.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/livecd-tools.git"
+ inherit git-r3
+else
+ SRC_URI="https://gitweb.gentoo.org/proj/livecd-tools.git/snapshot/${P}.tar.bz2"
+ KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+fi
+
+DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
+HOMEPAGE="https://www.gentoo.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="dev-util/dialog
+ net-dialup/mingetty
+ >=sys-apps/baselayout-2
+ >=sys-apps/openrc-0.8.2-r1
+ sys-apps/pciutils
+ sys-apps/gawk
+ sys-apps/sed"
+
+pkg_setup() {
+ ewarn "This package is designed for use on the LiveCD only and will do"
+ ewarn "unspeakably horrible and unexpected things on a normal system."
+ ewarn "YOU HAVE BEEN WARNED!!!"
+}
+
+src_install() {
+ doconfd conf.d/*
+ doinitd init.d/*
+ dosbin net-setup
+ into /
+ dosbin livecd-functions.sh
+}
diff --git a/app-misc/livecd-tools/livecd-tools-9999.ebuild b/app-misc/livecd-tools/livecd-tools-9999.ebuild
new file mode 100644
index 000000000000..99000ce942c3
--- /dev/null
+++ b/app-misc/livecd-tools/livecd-tools-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/livecd-tools.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+inherit eutils
+
+DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
+HOMEPAGE="https://www.gentoo.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+
+RDEPEND="
+ >=sys-apps/baselayout-2
+ >=sys-apps/openrc-0.8.2-r1
+ dev-util/dialog
+ net-dialup/mingetty
+ sys-apps/gawk
+ sys-apps/pciutils
+ sys-apps/sed
+"
+
+pkg_setup() {
+ ewarn "This package is designed for use on the LiveCD only and will do"
+ ewarn "unspeakably horrible and unexpected things on a normal system."
+ ewarn "YOU HAVE BEEN WARNED!!!"
+}
+
+src_install() {
+ doconfd conf.d/*
+ doinitd init.d/*
+ dosbin net-setup
+ into /
+ dosbin livecd-functions.sh
+}
diff --git a/app-misc/livecd-tools/metadata.xml b/app-misc/livecd-tools/metadata.xml
new file mode 100644
index 000000000000..767266dca141
--- /dev/null
+++ b/app-misc/livecd-tools/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>livecd@gentoo.org</email>
+ <name>Gentoo LiveCD Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/lockfile-progs/Manifest b/app-misc/lockfile-progs/Manifest
new file mode 100644
index 000000000000..24a8087f572d
--- /dev/null
+++ b/app-misc/lockfile-progs/Manifest
@@ -0,0 +1,8 @@
+AUX Makefile 1906 SHA256 7addf4d42885b6b558c7b77445e6cd844b7f15f791897ec8a4b7a8e1954bb9f9 SHA512 c3ebd2f737fc664b37e235a0a68f50ebe80f00dbc522566520edb9827771344d022531c50283be5eaddd26d72295faae2676ef58838dd65797c74059719d826d WHIRLPOOL bc2ff182510102db10904e0c1ffa75e5a6a4b12fe8ad7b0d74e538dec1610693a0d0a12d326fa35641446e57ae43bb49645e395dfbc5a5ab0dd9a0cb759e9f44
+DIST lockfile-progs_0.1.16.tar.gz 155901 SHA256 f95132d632687af971da830497f06257fa86aedbc4b76874456652f06a0a8a69 SHA512 374879dbfeb1f0e555a2fa0fa3ea77cbee0a70a492d52695b9b7bce284c0a8b7878978d64d6ec03d2cd6799f31a6a3e6bac7d00d857f90a08acda2e74ef6dee4 WHIRLPOOL 76b26ddf865db1fd83728958a453906860bc1a11e532aed0ad635c9ff887a9bca670314849f059c78319ce7c23176c9f17b662d629ce3574db0effb3f51c89b8
+DIST lockfile-progs_0.1.17.tar.gz 14833 SHA256 03fb05d25499532f497775b1747b61fa6beebf12d3bcc951e125349ae166c511 SHA512 9d912e1a518fe9c02054beb25c4591df6db55cc2fe9b7049fb85368465bd9ced9660bb0a809ee60a7effbdc6524613c40fa69d9d27fc2cfc964f41b7486c3596 WHIRLPOOL 7fc3febe9c495ba9aaefc8924f17c955c506169d00ea372ceae71e7e594478c1d15283b80dd6f8f9b27e82a86d9984b4a4aa96586316a4fb8dff5169072ed64f
+EBUILD lockfile-progs-0.1.16.ebuild 604 SHA256 2ca10c889262ee5bf935c7b8aa8e9fa9b1004c0769146196c4e36033bc463f37 SHA512 53d3a4ca44132e777d509670d56617f896adbc870ed629b1c3d595f9ef2fc979d1bc5ed77009cdfd22f2772853c126c432ce1db7e186ae3add7753b3826a1126 WHIRLPOOL e943513d1f66de6de709b33e3c715277b178ce3f6f9b61717fed41a4ab7146967311e3c57a4476a2f3f0587270ab1b317c9fadbba1a66682c5a7c86467e3b3b9
+EBUILD lockfile-progs-0.1.17.ebuild 767 SHA256 a92380c0fb366a7b95ed7200148b22b8136183b56c87ef46994ecee926e50c15 SHA512 6819371929731bfe299f39cae39ec8bbfa79e35b64c1d1fed43f8e1c41f11fe348b60c1b9fc47612dea23eca8a1760db0fdb0a72aea0c2cbd3819754257eb6dd WHIRLPOOL 3fa1aff1673b65d3fe9aee630528ad8169107f7b869e98dd9cc01c5de80cfeec289c398c37b0f22fcffc43f5af186c80f1db2526d23022a383352af5bf0aea62
+MISC ChangeLog 2284 SHA256 a38cbccc13b01649b11b54b8161a2c158a85ea71ae60859fdca4558d06a136b5 SHA512 1e7df7aba5aa7e6d0f7b37d92f75e2bb895bab4c99548a6f58cb1e30184243a801103f70068a5a8f53b75ba6df97cc3a0e2aa55922774682ecbc8f325d7e99fd WHIRLPOOL 96058e01066a8744d1658d2096111b91ff640efb2666b28a7361804ee97b1d4a2f99328feb466b3b1fe41ff98c66a3a50aeab680aaa8d0491384fce34b0f2c7d
+MISC ChangeLog-2015 3321 SHA256 a2e738b249e2c86187cac3ceb939db4613450e0a0daa9b554e633d6dab5abefd SHA512 c5fd5a6cdb2299d0ba6739e936da5bff3382d0b4b381b687e20d379a7921e056c656e3fa6072967a59c8f19b6df06e0bcf110387f45c2a5420fe787d10f4c017 WHIRLPOOL 28e1d489e77a88cb2c4b1070265ac9e7ecfa2f4860bb71d98ae24a082affceaf7f8f369c43b8cf4a0e17dab880948b895fa35edc363eab14e6185feb557d0874
+MISC metadata.xml 167 SHA256 5fe493e76bba84455c54b3a46adfae5a1bfe01c764ef0d9e5f6d3e8a1d142188 SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 WHIRLPOOL dc6c3dfc7fd7f0d76c97f0786cb76a55b8564f8437f96d4ccebf985817b9f6dcc4c61830aa5df80d725e4a54b281ea2e03d6b0859214af081112cba15025e64b
diff --git a/app-misc/lockfile-progs/files/Makefile b/app-misc/lockfile-progs/files/Makefile
new file mode 100644
index 000000000000..27276b30f5da
--- /dev/null
+++ b/app-misc/lockfile-progs/files/Makefile
@@ -0,0 +1,55 @@
+all: lockfile-create
+
+lockfile-create: lockfile-progs.o
+ ${CC} -o $@ ${CFLAGS} ${LDFLAGS} $^ -llockfile
+
+install: all
+ install -d $(DESTDIR)/usr/bin
+
+ install --mode=755 lockfile-create $(DESTDIR)/usr/bin/lockfile-create
+ ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-remove
+ ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-touch
+ ln -s lockfile-create $(DESTDIR)/usr/bin/lockfile-check
+
+ install --mode=755 lockfile-create $(DESTDIR)/usr/bin/mail-lock
+ ln -s mail-lock $(DESTDIR)/usr/bin/mail-unlock
+ ln -s mail-unlock $(DESTDIR)/usr/bin/mail-touchlock
+
+ install -d $(DESTDIR)/usr/share/man/man1
+
+ install --mode=644 lockfile-progs.1 $(DESTDIR)/usr/share/man/man1
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-create.1
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-remove.1
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-touch.1
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/lockfile-check.1
+
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-lock.1
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-unlock.1
+ ln -s lockfile-progs.1 $(DESTDIR)/usr/share/man/man1/mail-touchlock.1
+
+test: all
+ ln -s lockfile-create ./lockfile-remove
+ ln -s lockfile-create ./lockfile-touch
+ ln -s lockfile-create ./lockfile-check
+
+ ./lockfile-create testfile
+ ./lockfile-check testfile
+ ./lockfile-touch --oneshot testfile
+ ./lockfile-check testfile
+ ./lockfile-remove testfile
+ ! test -e testfile
+ ! ./lockfile-check testfile
+
+ ./lockfile-create --lock-name test.lock
+ ./lockfile-check --lock-name test.lock
+ ! ./lockfile-check test.lock
+ ! test -e test.lock.lock
+ ./lockfile-touch --oneshot --lock-name test.lock
+ ./lockfile-check --lock-name test.lock
+ ! ./lockfile-check test.lock
+ ./lockfile-remove --lock-name test.lock
+ ! test -e test.lock
+ ! ./lockfile-check --lock-name test.lock
+ ! ./lockfile-check test.lock
+
+.PHONY: install test
diff --git a/app-misc/lockfile-progs/lockfile-progs-0.1.16.ebuild b/app-misc/lockfile-progs/lockfile-progs-0.1.16.ebuild
new file mode 100644
index 000000000000..78f700557741
--- /dev/null
+++ b/app-misc/lockfile-progs/lockfile-progs-0.1.16.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+DESCRIPTION="Programs to safely lock/unlock files and mailboxes"
+HOMEPAGE="http://packages.debian.org/sid/lockfile-progs"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ~mips ppc s390 sh sparc x86"
+IUSE=""
+
+DEPEND="net-libs/liblockfile"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/main"
+
+src_prepare() {
+ # Provide better Makefile, with clear separation between compilation
+ # and installation.
+ cp "${FILESDIR}/Makefile" . || die
+}
diff --git a/app-misc/lockfile-progs/lockfile-progs-0.1.17.ebuild b/app-misc/lockfile-progs/lockfile-progs-0.1.17.ebuild
new file mode 100644
index 000000000000..da52cb8a7404
--- /dev/null
+++ b/app-misc/lockfile-progs/lockfile-progs-0.1.17.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Programs to safely lock/unlock files and mailboxes"
+HOMEPAGE="http://packages.debian.org/sid/lockfile-progs"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ~mips ppc ~s390 ~sh sparc x86"
+IUSE=""
+
+DEPEND="net-libs/liblockfile"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Provide better Makefile, with clear separation between compilation
+ # and installation.
+ cp "${FILESDIR}/Makefile" . || die
+}
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ # Makefile has no notion of PREFIX, bindir, and the like
+ emake DESTDIR="${ED}" install || die
+}
diff --git a/app-misc/lockfile-progs/metadata.xml b/app-misc/lockfile-progs/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/app-misc/lockfile-progs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/logitech-applet/Manifest b/app-misc/logitech-applet/Manifest
new file mode 100644
index 000000000000..dc26e35c789c
--- /dev/null
+++ b/app-misc/logitech-applet/Manifest
@@ -0,0 +1,7 @@
+AUX 40-logitech_applet.rules 251 SHA256 b7514ea528ff2ac69c55126dab477e72681195a73b3c48e7dfb7699df73e26f2 SHA512 689058ab61508c342a29dea2de620473453e9237c33cc0119b2c22dc502b6c345d8e42d7769c7cc246c75efbbfa91bd2fdaea15c40ce89468224274b20b80670 WHIRLPOOL 41fd12330dd29f4ec29fa4c3cc1bf6794b6c3bc6f6c045aa268fe7e610c5a9de06e0373db7b422ae0f3ee8b5afc7a7b8e4101899b91f023ce3badd3587f4afcd
+AUX logitech-applet-0.4_pre1-mx300-mx518.patch 5815 SHA256 9717a2512d0a0da0a13d88425115cb07cd7a69e6fc487fd2e07a3fe9421de1f5 SHA512 5b613821ed6c88eed99c36bf1d6df5c27183e41e176082247752970f372aef0e299e729aaeda508ef1cfe323a0e3ce368d3ca1a13a6836278458a531531883ff WHIRLPOOL 5c697ae04132cfa3403190cceea38e7fbf360045ad9fc01b88159627e17bf2a55dd227c2b315a48d86d6bf8903559b1cdf3da64f0ca83edddbffa061f3cb3cb3
+DIST logitech_applet-0.4test1.tar.gz 75783 SHA256 1858d58c63919431df05e629dc044a0b0b69a38034c7d533343759beb1ef405b SHA512 64389b365d9d3473bf3ec027c7d9ee34cbdcddf9abb6bfabf4e771a255dade80e6758b7a997da3eaf23c19f1bd4559e79fb199e9f62e0f2ad1af92eab4b23789 WHIRLPOOL 73aab1005e4c2b079736e5c710b19e6cfafbabe284b8d4b341042becd1f4937a37c9eec1db5ca39eed378f1a425a4902a535e64fa7098123a61151f36e62cd94
+EBUILD logitech-applet-0.4_pre1-r3.ebuild 701 SHA256 a6e1163308124bbe00b5646a21e054bbc7a0cd20974a878d09b7cd3c789d471f SHA512 1ff40051c70f4b54beb8a396628a00bbe738936f6efb180e3a7228a71c2ecaf8658091e7c93670f7a40623eaedf2d813fa8e2c851a42a485ea9969ea9b484f9a WHIRLPOOL 1581b86398483662366c166888f1eb90bbe75c5e731b81508d473e2468dca499303367b0663cf1b5b015b0032e0bef6308500bdf4a7529ca013914df996d61b0
+MISC ChangeLog 2794 SHA256 3ffcd440bd762d6d822e8b6730c47261c85837045db0720d29fe8811b084e58c SHA512 57969515cef1f4fe61aac30cf1d0c3388604e912156d5e3e6ed409b2e080457c7ed8d372665e0ed52551d643f65ffc8a002dc44c4fe5e6b918132328b8ab6dbc WHIRLPOOL ce356e6fa9880da549d967efcd861ea3a048aa0d8523f7968930b4e5545620b7cb8bb58274296f78fb81c3f6617f425c8db2f171a8c9a5d8bcad47787207fd1f
+MISC ChangeLog-2015 3103 SHA256 8bb57d08ad8793702d86a51f4f4a1501286d145dff91019b68391d4cbfda4be2 SHA512 d81726693bc342dbb95a6c5e2063122fe8a34310f98899ca4001e6071e0cb193f643f19f9d75cd4b83575843245cf8fc824c9d79228c29b5175de5583a4a483a WHIRLPOOL c0ddf71a8be9a4e0bf3d8a6b2b1bc4302e811b972fe6995c0e392e3ab34df991d2b96ac2a2af08f62c35c9ef7a1e9311eb6b3f22ea97cd5ddfcf1d406c81310b
+MISC metadata.xml 272 SHA256 b389ad9ba70c18154af4fc164e31d5b1e2a4e99815d34319b4a4f46ccef2be52 SHA512 ebe67da08587903b5b82fc194aa3c8f1ab65371f60d2c134928362e089550d9e9fd9531bffe8b676a345b5bf0ab209ce7f50d37d98201a88176f002e17582493 WHIRLPOOL 3d6a9660a11c299dbb7fa3ec6821005f2540dc8fc9e499206d38d79d54023b3ddc66a019b2c88fbc92199b9f5335088b47fa3fdd781f92f2da3ad98b26bc2a50
diff --git a/app-misc/logitech-applet/files/40-logitech_applet.rules b/app-misc/logitech-applet/files/40-logitech_applet.rules
new file mode 100644
index 000000000000..a51277c3ecb9
--- /dev/null
+++ b/app-misc/logitech-applet/files/40-logitech_applet.rules
@@ -0,0 +1,6 @@
+ACTION!="add", GOTO="logitech_applet_rules_end"
+SUBSYSTEM!="usb*", GOTO="logitech_applet_rules_end"
+
+ATTRS{manufacturer}=="Logitech", ATTRS{product}=="USB-PS/2 Optical Mouse", RUN+="/usr/sbin/logitech_applet -s 800"
+
+LABEL="logitech_applet_rules_end"
diff --git a/app-misc/logitech-applet/files/logitech-applet-0.4_pre1-mx300-mx518.patch b/app-misc/logitech-applet/files/logitech-applet-0.4_pre1-mx300-mx518.patch
new file mode 100644
index 000000000000..3e2e06536fcd
--- /dev/null
+++ b/app-misc/logitech-applet/files/logitech-applet-0.4_pre1-mx300-mx518.patch
@@ -0,0 +1,139 @@
+--- a/logitech_applet.c
++++ b/logitech_applet.c
+@@ -40,6 +40,44 @@
+ #endif
+
+ #define VENDOR_LOGITECH 0x046D
++#define HAS_RES 0x01 /* mouse supports variable resolution */
++#define HAS_SS 0x02 /* mouse supports smart scroll control */
++#define HAS_CSR 0x04 /* mouse supports cordless status reporting and control */
++#define HAS_SSR 0x08 /* mouse supports smart scroll reporting */
++#define USE_CH2 0x10 /* mouse needs to use the second channel */
++
++struct device_table {
++ int idVendor;
++ int idProduct;
++ char* Model;
++ char* Name;
++ int flags;
++}
++
++device_table[] = {
++ { VENDOR_LOGITECH, 0xC00E, "M-BJ58", "Wheel Mouse Optical", HAS_RES },
++ { VENDOR_LOGITECH, 0xC00F, "M-BJ79", "MouseMan Traveler", HAS_RES },
++ { VENDOR_LOGITECH, 0xC012, "M-BL63B", "MouseMan Dual Optical", HAS_RES },
++ { VENDOR_LOGITECH, 0xC01B, "M-BP86", "MX310 Optical Mouse", HAS_RES },
++ { VENDOR_LOGITECH, 0xC01D, "M-BS81A", "MX510 Optical Mouse", HAS_RES | HAS_SS | HAS_SSR },
++ { VENDOR_LOGITECH, 0xC01E, "M-BS81A", "MX518 Optical Mouse", HAS_RES },
++ { VENDOR_LOGITECH, 0xC01F, "M-BS82", "MX300 Optical Mouse", HAS_RES },
++ { VENDOR_LOGITECH, 0xC024, "M-BP82", "MX300 Optical Mouse", HAS_RES },
++ { VENDOR_LOGITECH, 0xC025, "M-BP81A", "MX500 Optical Mouse", HAS_RES | HAS_SS | HAS_SSR },
++ { VENDOR_LOGITECH, 0xC031, "M-UT58A", "iFeel Mouse (silver)", HAS_RES },
++ { VENDOR_LOGITECH, 0xC051, "M-BS81A", "MX518 Optical Mouse", HAS_RES },
++ { VENDOR_LOGITECH, 0xC501, "C-BA4-MSE", "Mouse Receiver", HAS_CSR },
++ { VENDOR_LOGITECH, 0xC502, "C-UA3-DUAL", "Dual Receiver", HAS_CSR | USE_CH2},
++ { VENDOR_LOGITECH, 0xC504, "C-BD9-DUAL", "Cordless Freedom Optical", HAS_CSR | USE_CH2 },
++ { VENDOR_LOGITECH, 0xC505, "C-BG17-DUAL", "Cordless Elite Duo", HAS_SS | HAS_SSR | HAS_CSR | USE_CH2},
++ { VENDOR_LOGITECH, 0xC506, "C-BF16-MSE", "MX700 Optical Mouse", HAS_SS | HAS_CSR },
++ { VENDOR_LOGITECH, 0xC508, "C-BA4-MSE", "Cordless Optical TrackMan", HAS_SS | HAS_CSR },
++ { VENDOR_LOGITECH, 0xC50B, "967300-0403", "Cordless MX Duo Receiver", HAS_SS|HAS_CSR },
++ { VENDOR_LOGITECH, 0xC50E, "M-RAG97", "MX1000 Laser Mouse", HAS_SS | HAS_CSR },
++ { VENDOR_LOGITECH, 0xC702, "C-UF15", "Receiver for Cordless Presenter", HAS_CSR },
++ { 0, 0, 0, 0, 0 }
++};
++
+
+ int get_resolution(struct usb_device *dev)
+ {
+@@ -141,7 +179,12 @@
+ return cruise;
+ }
+
+-/* resolution should be 0x03 for 400cpi, 0x04 for 800cpi */
++/* resolution should be:
++ * - 0x03 for 400cpi
++ * - 0x04 for 800cpi
++ * - 0x05 for 1200cpi
++ * - 0x06 for 1600cpi (actually 1800cpi on newer MX518)
++ */
+ int set_resolution(struct usb_device *dev, int resolution)
+ {
+ usb_dev_handle *usb_h;
+@@ -233,39 +276,6 @@
+ printf("Logitech Mouse Applet, Version %s\n", VERSION);
+ }
+
+-#define HAS_RES 0x01 /* mouse supports variable resolution */
+-#define HAS_SS 0x02 /* mouse supports smart scroll control */
+-#define HAS_CSR 0x04 /* mouse supports cordless status reporting and control */
+-#define HAS_SSR 0x08 /* mouse supports smart scroll reporting */
+-#define USE_CH2 0x10 /* mouse needs to use the second channel */
+-
+-struct device_table {
+- int idVendor;
+- int idProduct;
+- char* Model;
+- char* Name;
+- int flags;
+-} device_table[] = {
+- { VENDOR_LOGITECH, 0xC00E, "M-BJ58", "Wheel Mouse Optical", HAS_RES },
+- { VENDOR_LOGITECH, 0xC00F, "M-BJ79", "MouseMan Traveler", HAS_RES },
+- { VENDOR_LOGITECH, 0xC012, "M-BL63B", "MouseMan Dual Optical", HAS_RES },
+- { VENDOR_LOGITECH, 0xC01B, "M-BP86", "MX310 Optical Mouse", HAS_RES },
+- { VENDOR_LOGITECH, 0xC01D, "M-BS81A", "MX510 Optical Mouse", HAS_RES | HAS_SS | HAS_SSR },
+- { VENDOR_LOGITECH, 0xC024, "M-BP82", "MX300 Optical Mouse", HAS_RES },
+- { VENDOR_LOGITECH, 0xC025, "M-BP81A", "MX500 Optical Mouse", HAS_RES | HAS_SS | HAS_SSR },
+- { VENDOR_LOGITECH, 0xC031, "M-UT58A", "iFeel Mouse (silver)", HAS_RES },
+- { VENDOR_LOGITECH, 0xC501, "C-BA4-MSE", "Mouse Receiver", HAS_CSR },
+- { VENDOR_LOGITECH, 0xC502, "C-UA3-DUAL", "Dual Receiver", HAS_CSR | USE_CH2},
+- { VENDOR_LOGITECH, 0xC504, "C-BD9-DUAL", "Cordless Freedom Optical", HAS_CSR | USE_CH2 },
+- { VENDOR_LOGITECH, 0xC505, "C-BG17-DUAL", "Cordless Elite Duo", HAS_SS | HAS_SSR | HAS_CSR | USE_CH2},
+- { VENDOR_LOGITECH, 0xC506, "C-BF16-MSE", "MX700 Optical Mouse", HAS_SS | HAS_CSR },
+- { VENDOR_LOGITECH, 0xC508, "C-BA4-MSE", "Cordless Optical TrackMan", HAS_SS | HAS_CSR },
+- { VENDOR_LOGITECH, 0xC50B, "967300-0403", "Cordless MX Duo Receiver", HAS_SS|HAS_CSR },
+- { VENDOR_LOGITECH, 0xC50E, "M-RAG97", "MX1000 Laser Mouse", HAS_SS | HAS_CSR },
+- { VENDOR_LOGITECH, 0xC702, "C-UF15", "Receiver for Cordless Presenter", HAS_CSR },
+- { 0, 0, 0, 0, 0 }
+-};
+-
+ int main(int argc, char **argv)
+ {
+ struct usb_bus *bus;
+@@ -318,8 +328,12 @@
+ resolution = 400;
+ else if (!strcmp("800", optarg))
+ resolution = 800;
++ else if (!strcmp("1200", optarg))
++ resolution = 1200;
++ else if (!strcmp("1600", optarg))
++ resolution = 1600;
+ else
+- printf("Bad argument (should be 400 or 800)\n");
++ printf("Bad argument (should be 400, 800, 1200 or 1600)\n");
+ break;
+ case 'v':
+ version();
+@@ -363,14 +377,22 @@
+ break;
+ case 4: printf("800cpi\n");
+ break;
++ case 5: printf("1200cpi\n");
++ break;
++ case 6: printf("1600cpi\n");
++ break;
+ default: printf("(Unexpected result:%i)\n", resolution);
+ break;
+ }
+ } else {
+ if (400 == resolution)
+ set_resolution(dev, 0x03);
+- else
++ else if (800 == resolution)
+ set_resolution(dev, 0x04);
++ else if (1200 == resolution)
++ set_resolution(dev, 0x05);
++ else
++ set_resolution(dev, 0x06);
+ }
+ }
+
diff --git a/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild b/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild
new file mode 100644
index 000000000000..54066326d6cc
--- /dev/null
+++ b/app-misc/logitech-applet/logitech-applet-0.4_pre1-r3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+MY_P=${P/_pre/test}
+MY_P=${MY_P/-applet/_applet}
+
+DESCRIPTION="Control utility for some special features of some special Logitech USB mice!"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="virtual/libusb:0"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-mx300-mx518.patch
+}
+
+src_install() {
+ dosbin logitech_applet
+ dodoc AUTHORS ChangeLog README doc/article.txt
+
+ docinto examples
+ dodoc "${FILESDIR}"/40-logitech_applet.rules
+}
diff --git a/app-misc/logitech-applet/metadata.xml b/app-misc/logitech-applet/metadata.xml
new file mode 100644
index 000000000000..49c86a887b6a
--- /dev/null
+++ b/app-misc/logitech-applet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/logserial/Manifest b/app-misc/logserial/Manifest
new file mode 100644
index 000000000000..2104a74e27c7
--- /dev/null
+++ b/app-misc/logserial/Manifest
@@ -0,0 +1,6 @@
+AUX logserial-0.4.2-gentoo.patch 704 SHA256 6cace296c3045b7b987f57003df1e0dfb41e0a261d231facc4ee8c11e5bc4534 SHA512 53874fd3d8c1e15af3614f779c1a85c53d43218c13ac508166dfca8c9012d7e251d9fbb3fe22cbcd2167594848ebff5f2e9f48dcad11c153f18abdf2e46233bc WHIRLPOOL f17e2e4589edf1998b30fd0a9faa0cb59b7d3388f2748792c4ff338dd76037242da243d784da74bd01efbd7ead519bb3ae28b8260be3097281e16783032fb515
+DIST logserial-0.4.2.tar.gz 9697 SHA256 7647e16a884d3596844893234d8f0c7cc517441e2f8d592e11af427b8f0fbf9a SHA512 63784f5f3b84c1fbf85e0b5295ab33c427626562d880de3202b792ad354f93d645d4c2ddb7dc38d48ee25a15df51f1544aa0abea45fccef333553492ed86e9ad WHIRLPOOL e05f47b38830624c00c45006e076bdf13b42428217e7b8f8f41b6e5a71eafe6ec2ab579bd16b2e55d9973e26692e1047e896da3a0c8da47863290f081448ad73
+EBUILD logserial-0.4.2.ebuild 653 SHA256 32130d3b4cc309b9e2722e99b8ab3b0634305d3456ac8d7e22359b69cc88297e SHA512 49e6eb08d8e0f93f27192df6afe3ff8c4f594ec77e10b145dfe7c29e34175689610c01f953e61f27aad984ca69d2222d1ab67f8195037c20d1d9ec8c16e636db WHIRLPOOL 70976288ad260b1712413ef3a6d22ccdfcd27461c71b7acecf198fb2ae9cea698339e01dbf3fd311370d0a0fb3ff613e84544638d4982bb7c28bb67faf073277
+MISC ChangeLog 2219 SHA256 fd13084857240babd495256e08c2e250cdcd77a4a83f4c036d6e73070dad5723 SHA512 67a8b2d6eaeee0b849bd0a9d115745b081e51584d36b2c0bf3462609445bdd1274ed7156cc01413aed26e28499f6627b680c2e4837076f3a47051493882c4828 WHIRLPOOL 98efb86b9e7d6bfb1c02e35c5bd93b3d8ae9fbae47d06c95b970b491789a1dae02f68b09c7c4db77974831d77b9899688373cd27c14b979f9ea2b8744de6f9ec
+MISC ChangeLog-2015 1181 SHA256 6c217c27a36439a5bf2310cb8739d00656a6966aff474b396cf61fd7e294583e SHA512 ed9926704757c3bf2d1be4e1e3c284ac30feaa179448fefccfa3b6cf82b664dcb7fc3f3bf92ace7be9b8df5a0d0f2342deb0cae891b09b29346f4f2e8f171f5c WHIRLPOOL 7653e3b720e114edd2f0182e0cf1430b1bea27929dbc809a0e59e736b447ac1e460678e1d13ed65c7216a0bd05eedcdf1eeb7b11253bf59855ca3df6e34e7383
+MISC metadata.xml 483 SHA256 11d367c510cf8a3b70c9b03ff798f698c5cc086c2fddee46690f03700bafda23 SHA512 8c7789cc64787fd8a2590921ef0adcf4720d96d211b0308bcfe97e32014d0aa36ae9c2b7bee8cef042617c421787ff4a837ee7b1e1dda789bae4823dfe7d2e8f WHIRLPOOL 6553e7352d1e2b07683be251b6ccadf48913585b7bd37b70b4c7383a68c3d25d68952e48144170b375c3428b299b883420f97022dd73e6353809d7feb6028439
diff --git a/app-misc/logserial/files/logserial-0.4.2-gentoo.patch b/app-misc/logserial/files/logserial-0.4.2-gentoo.patch
new file mode 100644
index 000000000000..dd594e34f76a
--- /dev/null
+++ b/app-misc/logserial/files/logserial-0.4.2-gentoo.patch
@@ -0,0 +1,30 @@
+diff -ur logserial-0.4.2.orig/Makefile logserial-0.4.2/Makefile
+--- logserial-0.4.2.orig/Makefile 2003-04-12 19:41:07.000000000 +0300
++++ logserial-0.4.2/Makefile 2009-07-21 19:39:18.000000000 +0300
+@@ -5,22 +5,20 @@
+ # FUNCTION:
+ # Makefile for logserial
+
+-CC=gcc
++CC ?= gcc
+
+ NAME=logserial
+ VERSION=0.4.2
+
+ OBJS= logserial.o sysdep1.o
+
+-OPTIMIZE= -O3 -m486 -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
+-DEBUG_FLAGS= #-g
+-
+-CFLAGS= $(DEBUG_FLAGS) $(OPTIMIZE)
++CFLAGS += -Wall
++CPPFLAGS += -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS
+
+ all: $(NAME)
+
+ $(NAME): $(OBJS)
+- $(CC) $(CFLAGS) -o $(NAME) $(OBJS)
++ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $(NAME) $(OBJS)
+
+ $(NAME).o: $(NAME).c
+
diff --git a/app-misc/logserial/logserial-0.4.2.ebuild b/app-misc/logserial/logserial-0.4.2.ebuild
new file mode 100644
index 000000000000..393a5f4451e6
--- /dev/null
+++ b/app-misc/logserial/logserial-0.4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A tool for logging raw data from a serial device"
+HOMEPAGE="http://www.gtlib.cc.gatech.edu/pub/Linux/system/serial/logserial-0.4.2.lsm"
+SRC_URI="http://www.gtlib.cc.gatech.edu/pub/Linux/system/serial/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin logserial || die "dobin failed"
+ dodoc CHANGELOG README
+}
diff --git a/app-misc/logserial/metadata.xml b/app-misc/logserial/metadata.xml
new file mode 100644
index 000000000000..46956d7db72d
--- /dev/null
+++ b/app-misc/logserial/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <longdescription lang="en">
+ Package for loging incoming bytes on asynchronous serial ports. It was
+ written for loging calls on our telephone central, but you can use it
+ for any devices connected to serial ports.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/lsx/Manifest b/app-misc/lsx/Manifest
new file mode 100644
index 000000000000..02b88abb356f
--- /dev/null
+++ b/app-misc/lsx/Manifest
@@ -0,0 +1,5 @@
+DIST lsx-0.1.tar.gz 2130 SHA256 b30f8282f2de25bd59edb2dfdc033320539adf56199351a6b5d80e05965add94 SHA512 19f3fa4ecc22817332716d58d287ab7ea4b07bbed1d909b00931b272f1613d8aeb315435495d51a5f918f53e3f0ce68e964813cdbfefce0176924f3c75aa623a WHIRLPOOL 3a17d3a1b5856b69bc1b44fb7a5f145d11579fb52a862189d6f01d62d01a1a28b3a2b79f3648e7e74893da0393bd22781f7c375fa011046ca8ae4ce6548a99b3
+EBUILD lsx-0.1-r1.ebuild 807 SHA256 9b9509d16b70ef4d3906075471f571201f827f3b69cc83dc4aaa292d57a8db16 SHA512 d69600df5e519e488a930fbb2dc6fa13d2c8719b76ad8e733b9d5e1b0b15da63ea2e9bea2878a5af07447042d95c1faa4c5cddf5e16ea1282206f25a19c9cb23 WHIRLPOOL 69d952e648ff4cdbac288c9e6bf0d2fa21ba433acd96dc17270571c7d3cad60b6810f931518f8f37a88448e5374a7e90969ed67b0cc209b7b15aef699ac54a4a
+MISC ChangeLog 2506 SHA256 62478f427ce611502d64d4fb3049a0dad94d39773679a96d90b01801ff703cc7 SHA512 73d915cac45ba87a90990ccdd4254b8521c3eb0a2b2840f020f0f23db9f687eae075d53e17abe9190733dd20b837a73718c563ca46036401d9751c2508ca68be WHIRLPOOL fb30902e17478a4cad6444d9eac6c1da1443e7779caf44fa0a3e10d7824a2fcad15974eb4663679b4e0809945ff01d53c46c2e2b7c91a3b4a167978e3675420a
+MISC ChangeLog-2015 1105 SHA256 9da73d79849e0281d9f2849837ef7f6e85e4dd41d0b750780d9f7772271df5e8 SHA512 b0ffa4366100ebc89ecdb8c5950ad066f9719a710a4e658b0e6e385a7bb53340c293d68f63b480feae74a69ecb9c2ad0013f8becd844e54f50082e155569a679 WHIRLPOOL 4dc12d8043d1a916954c57b3621efe2549e4b0648d2978045740477e95b26bc52037c22eece174a0d3b777263d5c3da0bf895da2c00ce72f287686be36d8d341
+MISC metadata.xml 277 SHA256 8b6661d014956ba07b8b473c155809db94d358e6d5ae97923d1d5caa4598c544 SHA512 99cfc61af14bb324d776b6865339d8f9626450ba2f837bced0624ed80aad5f177c35c4ac3e3cfe636d175ad1f7eb478cc735dde57a6bb691fd608c57253db1c4 WHIRLPOOL 2d9945cf5aa026bd6c1a71b91387aad3c6a0102583d4f2ad632b60ed0ddd82f7ddf07f6d10033c073867b9e060d35765c5bbf0b2a09fb35d0f966574da037c9b
diff --git a/app-misc/lsx/lsx-0.1-r1.ebuild b/app-misc/lsx/lsx-0.1-r1.ebuild
new file mode 100644
index 000000000000..8401b8ed3b51
--- /dev/null
+++ b/app-misc/lsx/lsx-0.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="list executables"
+HOMEPAGE="https://tools.suckless.org/lsx"
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DOCS=( README )
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s/.*strip.*//" \
+ Makefile || die "sed failed"
+
+ sed -i \
+ -e "s/CFLAGS = -Os/CFLAGS +=/" \
+ -e "s/LDFLAGS =/LDFLAGS +=/" \
+ config.mk || die "sed failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install
+
+ # collision with net-dialup/lrzsz
+ mv "${D}/usr/bin/${PN}" "${D}/usr/bin/${PN}-suckless" || die
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ elog "Run ${PN} with ${PN}-suckless"
+}
diff --git a/app-misc/lsx/metadata.xml b/app-misc/lsx/metadata.xml
new file mode 100644
index 000000000000..fddc83784ddf
--- /dev/null
+++ b/app-misc/lsx/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>Prints all executable file names of given absolute paths to standard output</longdescription>
+</pkgmetadata>
diff --git a/app-misc/ltunify/Manifest b/app-misc/ltunify/Manifest
new file mode 100644
index 000000000000..20808db15b34
--- /dev/null
+++ b/app-misc/ltunify/Manifest
@@ -0,0 +1,5 @@
+DIST ltunify-0.2.tar.gz 28897 SHA256 cd55e6d47abc6c7266d5a4811fd43829233eadae7d35e5d4765bc52bb30e1f8a SHA512 e6eaf5c3ef555712219a3edd74d8d8edd3380908cd08dc5168a07111ddb7bf7d0e3d1a5eaf90f6e7ac9faf0474c31827ba0f9f511f170ab8900f0b90f65aa85a WHIRLPOOL 32626cb198e92db68556c6be15ae62c66699d7b5dda263b1823be256fa379d139262001e42e8e1fff38c3abe694fe3baea2bbf176bbac1ef20f4179b3dfc21a5
+EBUILD ltunify-0.2-r1.ebuild 825 SHA256 f22b08cf03aa4369875ab596f2c4a69aa0d39448a4a0a5ff9f84743a6aa1b923 SHA512 12423c54f006c2b18bd1b8b48602763760aa77eeedec944c7b842debd2944091883cfc9d1247dacfb183d95ff30f9e11ecbcf171ffdd2001b73910dca97a1c38 WHIRLPOOL e4d8d12d5959737c7b646563044f1a6b7e6fbd2dc5b5071f3978c78df9f5cef639e9b0e00e3805530500dd57e661e6a08f0c82a9130f6c2c3efb9d398302ff54
+MISC ChangeLog 2571 SHA256 237c325290fd760429a997bd8b0e1d34fd5e07792f05479db57726bbe154e833 SHA512 ae0c3d908abeb5ce9e1b784ca50ef5d3d4753c58a0202b04030de8a9517f7b974dd8dd106362241e22dbdd5266631482a6d94fe4fbc5dee2b2366e9c031e5f55 WHIRLPOOL 04b1ba6525e4a0a9fbcffb12b2c05d1c88e3f1f9775593bf8b223df6c77ca09b1e265182522389fc048e0f611aab48263387a858f900349eef651cee1275d105
+MISC ChangeLog-2015 601 SHA256 67d4ae75e1d140c8ccae2f88f46b01a8a1e945be1d89553155c70403ac130509 SHA512 9e7adc5f1e8b10ad888e44f148cec2c587be0d93d9b90b3800a46e1262bbfd04b6bc03a9a291f7cd5b3f2ca58246693b442488e4a65afd8303afd1b993d90f4c WHIRLPOOL c3c94946a20bf301445e8eee83ee3ca4710f18894e09da71a33847a25aa659a3288cb95c82518d2826283993c8f176019fc17255aa583b564df8c813c0ea0a0b
+MISC metadata.xml 246 SHA256 92d5540a2f0904365eafb8ce96e6320cfc14e08f22e124d721521ef77ddbf6f6 SHA512 ca07e0609b698c2b53062b71008fee49b91af78fc2ef25997311e37985d79283d333f5b842257a16e7dee36ce34c07d405e1f93742f341f10ca70904e9f9a4e6 WHIRLPOOL d15a33750d6ada278082c675223992c98cccf98af92ec04ab5b908816381ab6965714988fac87a795265973c6fb81a588a08c385ac6fb66046d14d119e0c236c
diff --git a/app-misc/ltunify/ltunify-0.2-r1.ebuild b/app-misc/ltunify/ltunify-0.2-r1.ebuild
new file mode 100644
index 000000000000..25d12814cc05
--- /dev/null
+++ b/app-misc/ltunify/ltunify-0.2-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs udev
+
+DESCRIPTION="Tool for working with Logitech Unifying receivers and devices"
+HOMEPAGE="https://lekensteyn.nl/logitech-unifying.html https://git.lekensteyn.nl/ltunify/"
+SRC_URI="https://git.lekensteyn.nl/${PN}/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ sed -i '/^override CFLAGS/d' Makefile || die
+
+ # allow plugdev group r/w access
+ sed -i 's/^#MODE=/MODE=/' udev/42-logitech-unify-permissions.rules || die
+
+ tc-export CC
+}
+
+src_compile() {
+ emake ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc NEWS README.txt
+
+ # avoid file collision with solaar
+ udev_newrules udev/42-logitech-unify-permissions.rules 42-logitech-unify-${PN}.rules
+}
diff --git a/app-misc/ltunify/metadata.xml b/app-misc/ltunify/metadata.xml
new file mode 100644
index 000000000000..78e64a5cf1ad
--- /dev/null
+++ b/app-misc/ltunify/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/lxsplit/Manifest b/app-misc/lxsplit/Manifest
new file mode 100644
index 000000000000..8aa69ba8ad06
--- /dev/null
+++ b/app-misc/lxsplit/Manifest
@@ -0,0 +1,5 @@
+DIST lxsplit-0.2.4.tar.gz 14663 SHA256 858fa939803b2eba97ccc5ec57011c4f4b613ff299abbdc51e2f921016845056 SHA512 2483010752177232801029b969a01a2702830c47e5d6a185784d9d945b792aecb778241d08d97cc0c02977afec02bf3f6a20e24da2fdbecad2dcef1de95b0575 WHIRLPOOL c3ca65e3ee588d753060ee31ed9bf25a682a0db7cced39d34724c7a65c4f4d0768cc8c21ca74c5ec1542990fb6c1a022a023d0c64377a782f7e57a460a133a23
+EBUILD lxsplit-0.2.4.ebuild 502 SHA256 ae18f28a617f2ad967ccb9a886aaf1e0e99f7159b1077de6c11fed819136cdb6 SHA512 5fecc1afc217af5ae40210a35a4b115d77bb529c17d93263ba619d86ed8475c1826db4bdcb25bbc18c00f6454443b34a82dd000562240b81f993134c62d23ba1 WHIRLPOOL d8a974e953f1c571b57b00534690785ca5bad32f820208bb83af840b4e74c6a16205a919f3645b7198419f5ac5dc11dae4d6ead49cf2f5949ffcdf8351e3c8de
+MISC ChangeLog 2427 SHA256 9eddf44474eb5148d4ec664e2df07bda6c495d4104134b61748129a4d89bd57b SHA512 435e73db87b12226f20da286868033f20a29887961a7c097b38474c8d25e565eb3da3ae57f5dc1a1b5be2c94a1a85ddf6ba8c3b6e03df7f115959e6ada225e5c WHIRLPOOL 0efd3c4e0d84aae9e842d286981f7ef0c0a37191c5900a70fb7576e2179477e14b6e16012627586fe03fc29b870526c37e612a2894a6ad64cc1275fd19fa2a87
+MISC ChangeLog-2015 2537 SHA256 bc7806ad40458672d5e67510c680459ea28e85026bd760b322c1dacd679731dd SHA512 bfa73253f3de70b4f4bf9e6d115be1de8451a09510c91904ee60c9b270f9fd1bb4b896d262b8a8c45926642adb82d6086f73c9b3b282a26fe7dd20aa0ee274c7 WHIRLPOOL 346a07bafb1f375f427c2b9f0325112d11a9838189204378b64fc38c5ba8ca02c905513adc7aee1fe6b729864109994830bef46b14003d1cf3447550d07a38ab
+MISC metadata.xml 342 SHA256 1dd8872f289cb2041d3f8d68ea9ad14531af969c682c4203147edc22423efe19 SHA512 3fd31f236a871424340ae802b5ba0c79dabfed4f309662b74885c56e772fbb7e83bc945430cd25fa0772d5aa550735d662c03bf653c607a77a94dbeee95f6344 WHIRLPOOL e88e9641aacab500b306a50b8e2847b56a44e2e669bd6328e321a03cd32bfc59915f1c063e8b43067ea6771b2554b5bec27ada913794bba7cdf4930cf935665c
diff --git a/app-misc/lxsplit/lxsplit-0.2.4.ebuild b/app-misc/lxsplit/lxsplit-0.2.4.ebuild
new file mode 100644
index 000000000000..6371d9fdac51
--- /dev/null
+++ b/app-misc/lxsplit/lxsplit-0.2.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command-line file splitter/joiner for Linux"
+HOMEPAGE="http://lxsplit.sourceforge.net"
+SRC_URI="mirror://sourceforge/lxsplit/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+src_compile() {
+ tc-export CC
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+ dobin lxsplit || die
+ dodoc ChangeLog README || die
+}
diff --git a/app-misc/lxsplit/metadata.xml b/app-misc/lxsplit/metadata.xml
new file mode 100644
index 000000000000..2850c5099da3
--- /dev/null
+++ b/app-misc/lxsplit/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lxsplit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/matew/Manifest b/app-misc/matew/Manifest
new file mode 100644
index 000000000000..3e2d6478dc1e
--- /dev/null
+++ b/app-misc/matew/Manifest
@@ -0,0 +1,5 @@
+DIST matew-1.9.tar.bz2 29690 SHA256 282d998d8562b8b11b217ff76ce2ef233038768312a6e9eb2c126e8bb42cac25 SHA512 3d4f37c16567cd93b7a699c4d5f01cd655b57b79aa865aed11cb8aab7afb6cc5dc2cba9aa59f72128efa179e08eb95b1226d068e3ae15aec063bb252d9fa77b9 WHIRLPOOL f56d2a1042c6aacb1c421d018740e77cd5c980fdfba22a08de8619f61624394040516026e133fb2b1119ac512f738340ea2332333e82253a9e2c70d6070150ad
+EBUILD matew-1.9.ebuild 903 SHA256 9106864ab470bfd82a7c519834d0582c69c3d13aac3a9aa943fa268187552982 SHA512 645317deb3ff9034ef11536e1b4ab807abdd3465c6508436e192d207d03155e94541ff1a62d4e11930e597dbef24db2673af282b8dd9ceb0817ef2d9d262a30b WHIRLPOOL f39d628e7c4ded767aaeb2a572ec4e52b1707b4b918483e212177321d366102520ca574c7deae7bf3fc36204352944acb29117e70f3fe421b9c1f413de8c6bc1
+MISC ChangeLog 2417 SHA256 81ff6eb348212d052b1746b5be2bfb7b4f70acbce34cf1c5f30d655dc00e0b67 SHA512 028e48141acf3443f4eb6ac94c69a7f9db208128a0bdd871d2c923648fc2c6cd71bbcd367173f6247a06059fe0382155f67b722e3ff0fde96c617f77d989b050 WHIRLPOOL 5f0ffd187a3c852c347b80fd3d7eff96a21ef8c0be8ec9390a32f09885654ef382dd26b1e29de1f13dc11600c43c2f5e0ab5bad3683e846e1f08e1dcd9fa9c73
+MISC ChangeLog-2015 1221 SHA256 c1a500793786c7ab6d89d1aedc21faf313ab950cd8cc6ab78a1361c888f7f501 SHA512 03bce50ef2cb8757e68310333a41ae907b9ac1d18ef521bc583fed0273900d9667d91e08da27aef8fde481ba8b1ed30b6c7d7740bbabee64ccf87187000f4afb WHIRLPOOL cdd8c3345031213ff8b7d529e810afccde672d078c3e6c1d668e3b92e9f26c541fd9851ac283f51fd28bd07631013f526e105c7d7d1e9a08cc0691431c883f23
+MISC metadata.xml 325 SHA256 d59d281791a6667e2894e3b98a683a5060e1f0b805bfb8274fc12b987dc103a0 SHA512 6e9710e9171b11accdf474198ff959c8bf47e8601f156f57885b59a8dd0f81312478ed104111af45578732763127704cfea3dd1ecc51008b26b4c3b8fad46eef WHIRLPOOL 29aa8f66fbed3e5045858411fa689ff5d00899d1327849b85a6cf692df96aac0dfcf07a5f3534ba169cf907595ab29d185816e7ef804b0e999f96a6b06d1ffbd
diff --git a/app-misc/matew/matew-1.9.ebuild b/app-misc/matew/matew-1.9.ebuild
new file mode 100644
index 000000000000..11a4803cb337
--- /dev/null
+++ b/app-misc/matew/matew-1.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="Make Album The Easy Way (Matew) is an HTML/CSS generator for static image albums"
+HOMEPAGE="http://inquisb.github.io/matew/"
+SRC_URI="mirror://sourceforge/matew/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ media-gfx/imagemagick
+ app-shells/bash
+ sys-apps/coreutils
+"
+
+src_install() {
+ dobin "${S}"/src/matew "${S}"/src/matew-cleanup "${S}"/src/matew-wizard
+ insinto /etc/matew/styles
+ doins "${S}"/src/styles/*
+ insinto /etc/matew/languages
+ doins "${S}"/src/languages/*
+ dodoc "${S}"/doc/AUTHOR "${S}"/doc/ChangeLog "${S}"/doc/README \
+ "${S}"/doc/THANKS "${S}"/doc/TODO
+ doman "${S}"/doc/man/matew.1.gz
+}
+
+pkg_postinst() {
+ elog "Matew files installed successfully!"
+ elog "Run matew-wizard and read instructions."
+}
diff --git a/app-misc/matew/metadata.xml b/app-misc/matew/metadata.xml
new file mode 100644
index 000000000000..0e69e0af3dc3
--- /dev/null
+++ b/app-misc/matew/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">matew</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest
new file mode 100644
index 000000000000..485f98e11c2e
--- /dev/null
+++ b/app-misc/mc/Manifest
@@ -0,0 +1,13 @@
+AUX mc-4.8.13-tinfo.patch 1742 SHA256 e195c6d498a2aaca51401215969f6bf42fba607666d54b504ac5478745c6d098 SHA512 7714d42ece73fe6f044f5cc0f59ab5c23bedb820122291d1af581f5f7dd94d4410072868205e94419be459ed9769c8ed75dfb8ad5b945c8df820901f756e7c3c WHIRLPOOL 9f6030011f81dc518adeb7cbaed1efab09b7c1bd72328d15abfc2be31bec5e814c89aae281327557074d86f809e993a5233a5261b3ed26c6dcbf6d9f3e6a2008
+AUX mc-4.8.16-makedev.patch 901 SHA256 6f61f64dd022dc5801b2e2ceb89e64e6421edfff3027a14ff3bc7aef0c21d01a SHA512 dcc77b50bb6a23ca7c1ef3f4fd0dec4defd3b46b120d38cbb9737e9a1464cda4e7c972b6d74a50ae41fc6df845feaad6b865f3aecfc1195f6413baff157504a5 WHIRLPOOL 3a802cc515c11f33e4a628dc4960c6a1fb7d2f0715dc71e0e2e1a8a25850f84b09c4e267694c67c9c1dc87d8d2aa650b508c0fe8a41688630cae088a34ff51ba
+AUX mc-4.8.18-html.patch 969 SHA256 af7a8e93a60afd961ba0d1986ac82195ffa816c762cd014a7863413eada0aa0b SHA512 d3e97e0d5e5260cf1dfce8700aaf44c2f6998bbc37defe38f4fd18b5a28160d61b51fa8185e5cde257655d088b7b474604e4a7cd570c6982b3e7af5ef95f8cde WHIRLPOOL 3fe56fa1265bf4757ef1c87d0e48bf057e7e07f29f4d04bd76915a63308b50af401197ae2f671165e64059a5a4ca51241d5689208ab5b0f9057f77a314accd27
+DIST mc-4.8.15.tar.xz 2304812 SHA256 cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16 SHA512 b8e05e1bcadcb766a43269a4724e36b77221b004d53783718fe455167693ff029e3e54cde47740d0c0ecd5adacfb3960a8ecce76eeaea234bbbcfd54db3b1760 WHIRLPOOL 6ddf2f5b88825584653a7027d515bfc84caba003408df31b4b8257a3f8c81a179e39a7bb7cc8571976537983f5dac7d6c06ddfbd6142ef0b31639a914f56c0f1
+DIST mc-4.8.18.tar.xz 2462080 SHA256 f7636815c987c1719c4f5de2dcd156a0e7d097b1d10e4466d2bdead343d5bece SHA512 edd81f6ab50ca7bb3582064f6722e490d33ae9dfbef3835e26206089d3898420968da394780c594083fa17c01a85cda9068d9931199b8319bf6361f90e900eb8 WHIRLPOOL dd0c1cdfe93468ebc399b270d693751bc7c0665cb49040d9409c3a336c953be0d304c463b8c8a0a26e42c720c116a4b4bd9b930caa2f2101298e01c4ac5c6237
+DIST mc-4.8.19.tar.xz 2521808 SHA256 eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df SHA512 aec49f0da1fc69099ce9b0f71926d1e9ee6df0be12f53da94a8f5f4266612515031cd02f328a458bf78260c5efb1c8ca2c34c89e20a77567c8b987e43d446531 WHIRLPOOL 21c57a2717c58488cc7aa5ba5159b9231e09181059662f392a5212a17aa5475493793d49b99e73ebe74d9594201a84cfc63c3a460654579b7399cc563594ab7a
+EBUILD mc-4.8.15.ebuild 2602 SHA256 122ff73b3d734c6ae6f49515d1614e534c52c37733528b5e61d2db644d0b4c67 SHA512 906e1842f664cff03939a0fed27aaa447abf92553916bedcdbe7c23aa65f704c2538ca5be666086dbe2ce3204bbdfc87854346f3894293ccef8ef5d8a2ae6e7f WHIRLPOOL 2dcb323a43031f5db68da4e6cb0ec4df38668a5716035219b634ec9f1f349e9f8e9871d48f25eccc5a29af114f2ffdc4d687cfbce5e482658d76f3419d4cf8c0
+EBUILD mc-4.8.18-r1.ebuild 2466 SHA256 0a7232c9ba847022b80ef24a4eb95fdfb2362cefb08c0f6308f07483e80a3b36 SHA512 3bea1c8e2c8aa1e882ccfde6619dff042939290de9075ed111360925a78d6e631bfde6cc47d60bb6e1b287826fe6cc0483201ee317a3698894c3a900fd6af505 WHIRLPOOL d5fd078d8441b59249ecbcfa5ae280fb925f5596aa63a79c0d59cd21f863a378fcb068a2f7126cf650200c894c83c377c11daa5f8a41461955db64a06cd375bd
+EBUILD mc-4.8.19.ebuild 2722 SHA256 14b2f0cdc67a804ad7834ea503106cb31f19ed0e6c5ef11be43b24660961aef8 SHA512 8c88c706cbed51a95ef9c2577b7dad338c187db961c7365616d4085b856d3b45035251efa86746c48232f02ed83ffe9c8fa24a629463968dd26847e1c019f353 WHIRLPOOL 33b7cf7b8f22c504b5f340b0d325268949723ea8b99a866d716cc3d7812204d5be73ede8d82adcdc7eefdbc886e9244deaae5a61b40a40309d251a5fad6968c4
+EBUILD mc-9999.ebuild 2585 SHA256 cd96f7fbcc89a9a3ce4558cfd5eda46b14daacafd4c131806d0356db55733585 SHA512 bab03c4a246785495ff69deaba2c97268ec95449b5887a941dbc54513d0f00d193fec63c26a69f1d95c45612a81c5c8818f12dcf0b0ede5f4e7afa81595d6d91 WHIRLPOOL 8de131ac850d36c1b441b8291ecb2a7b9dca59a2f818a8806c33222cf3701019c1099c7f6aad9faed50dca23177c2edc8206e3c7772c3d492b7720b56366fd4e
+MISC ChangeLog 9404 SHA256 33fa6e6e61d84414943fc4c4adc2940b5728423a846da2b98e3cdf2c683ac947 SHA512 1f4521a2ca9c942b95da1425e5801a90077e42e8b8e5fc0b69233f210ee148bebe66ebed5298212aff6ebe88c8255cfde1eb0cbbd82bece7ffad17be761dd9af WHIRLPOOL 42c1441a1b8d3fada7929f74e33683ce78ea90cb9d1872e8d2c9d47982bfab98b987a1beb4556cde5157455cded463c965ab12066128b9a70bf162c7f0667c71
+MISC ChangeLog-2015 47956 SHA256 ad72d366219015c1a10a0cd495639e64b5fc33d5ece8eac0ef8c7d7e0991bba9 SHA512 ba9b5ea1a0073925045818863c3d684f7916b4ba0702566fa539cf35e5d990376daaff3beaecc0c0b7497de7f06c79f2114231f28917764f7db4d32ca7ebd819 WHIRLPOOL f336d08537261dbb79f33958ec01dabc5d45782472a2520125f21cd91e71b9346a0abcb0eca09ae27b9d660f35e097c8c5c52bd03fcb17a9618c446398ede4ed
+MISC metadata.xml 994 SHA256 45ce9479246e25bda70b058399e82fd60ec18bc4c70cf9ff31db1b995a92c44c SHA512 8e36834754b8335c133eb3693d17d02a0c6c3c7d25263857558cf290922b8e7508bf90c609e09ebbfaed54eecc2179936ded60c2b723cc0abc6722db180cc3ed WHIRLPOOL f5e54fd6149ef5ac8fddda6e4fba6c5fb0038fe27666a40e17ceb5231a1834f8093a69154cf989b3d6a904274b18a2e301fc1b55c7d4d07f407a13d5be2fa0b4
diff --git a/app-misc/mc/files/mc-4.8.13-tinfo.patch b/app-misc/mc/files/mc-4.8.13-tinfo.patch
new file mode 100644
index 000000000000..761c103df654
--- /dev/null
+++ b/app-misc/mc/files/mc-4.8.13-tinfo.patch
@@ -0,0 +1,39 @@
+Gentoo-bug: https://bugs.gentoo.org/527118
+--- a/m4.include/mc-with-screen-ncurses.m4
++++ b/m4.include/mc-with-screen-ncurses.m4
+@@ -101,6 +101,9 @@
+ LIBS=
+ AC_SEARCH_LIBS([has_colors], [ncurses], [MCLIBS="$MCLIBS $LIBS"],
+ [AC_MSG_ERROR([Cannot find ncurses library])])
++ AC_SEARCH_LIBS([stdscr],[tinfo ncurses],[MCLIBS="$MCLIBS $LIBS"],
++ [AC_MSG_ERROR([Cannot find a library providing stdscr])])
++
+
+ screen_type=ncurses
+ screen_msg="Ncurses library"
+@@ -111,10 +114,15 @@
+ AC_SEARCH_LIBS([addwstr], [ncursesw ncurses curses], [MCLIBS="$MCLIBS $LIBS";ncursesw_found=yes],
+ [AC_MSG_WARN([Cannot find ncurses library, that support wide characters])])
+
++ AC_SEARCH_LIBS([stdscr],[tinfo ncursesw ncurses curses],[MCLIBS="$MCLIBS $LIBS"],
++ [AC_MSG_ERROR([Cannot find a library providing stdscr])])
++
+ if test x"$ncursesw_found" = "x"; then
+ LIBS=
+ AC_SEARCH_LIBS([has_colors], [ncurses curses], [MCLIBS="$MCLIBS $LIBS"],
+ [AC_MSG_ERROR([Cannot find ncurses library])])
++ AC_SEARCH_LIBS([stdscr],[tinfo ncurses curses],[MCLIBS="$MCLIBS $LIBS"],
++ [AC_MSG_ERROR([Cannot find a library providing stdscr])])
+ fi
+
+ dnl Check the header
+@@ -166,6 +174,9 @@
+ LIBS=
+ AC_SEARCH_LIBS([has_colors], [ncursesw], [MCLIBS="$MCLIBS $LIBS"],
+ [AC_MSG_ERROR([Cannot find ncursesw library])])
++ AC_SEARCH_LIBS([stdscr],[tinfow ncursesw],[MCLIBS="$MCLIBS $LIBS"],
++ [AC_MSG_ERROR([Cannot find a library providing stdscr])])
++
+
+ dnl Check the header
+ ncurses_h_found=
diff --git a/app-misc/mc/files/mc-4.8.16-makedev.patch b/app-misc/mc/files/mc-4.8.16-makedev.patch
new file mode 100644
index 000000000000..8e7fd0e0f1cb
--- /dev/null
+++ b/app-misc/mc/files/mc-4.8.16-makedev.patch
@@ -0,0 +1,28 @@
+From 4ba3a1a92a59658bc9f5f9d0745db8bb829778cb Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Wed, 13 Apr 2016 23:38:47 +0100
+Subject: [PATCH] filemanager/mountlist.c: add makedev() declaration
+
+On glibc-2.23 link fails as
+
+ $ mc-9999/src/filemanager/mountlist.c:750: undefined reference to `makedev'
+
+Reported-by: Thomas D.
+Bug: https://bugs.gentoo.org/579858
+Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+
+diff --git a/src/filemanager/mountlist.c b/src/filemanager/mountlist.c
+index 166b246..7d6e178 100644
+--- a/src/filemanager/mountlist.c
++++ b/src/filemanager/mountlist.c
+@@ -186,6 +186,7 @@
+
+ #include "lib/global.h"
+ #include "lib/strutil.h" /* str_verscmp() */
++#include "lib/unixcompat.h" /* makedev */
+ #include "mountlist.h"
+
+ /*** global variables ****************************************************************************/
+--
+2.8.1
+
diff --git a/app-misc/mc/files/mc-4.8.18-html.patch b/app-misc/mc/files/mc-4.8.18-html.patch
new file mode 100644
index 000000000000..d8483446bfcd
--- /dev/null
+++ b/app-misc/mc/files/mc-4.8.18-html.patch
@@ -0,0 +1,29 @@
+commit 6b656100ac907636f0b54b12921408260a9fd583
+Author: Raymond Jennings <shentino@gmail.com>
+Date: Fri Oct 7 22:38:07 2016 +0200
+
+ mcedit: syntax: fix mismatched highlighting for <{o,u}l> HTML tags
+
+ Signed-off-by: Raymond Jennings <shentino@gmail.com>
+ Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
+
+diff --git a/misc/syntax/html.syntax b/misc/syntax/html.syntax
+index 2b3afd30e..3adbe4d0b 100644
+--- a/misc/syntax/html.syntax
++++ b/misc/syntax/html.syntax
+@@ -52,6 +52,7 @@ context default
+ keyword </SMALL> brightcyan/17
+ keyword </SCRIPT> brightcyan/17
+ keyword </META> brightcyan/17
++ keyword </OL> brightcyan/17
+ keyword </P> brightcyan/17
+ keyword </TABLE> brightcyan/17
+ keyword </TD> brightcyan/17
+@@ -59,6 +60,7 @@ context default
+ keyword </TR> brightcyan/17
+ keyword </TT> brightcyan/17
+ keyword </U> brightcyan/17
++ keyword </UL> brightcyan/17
+
+
+ context <A > brightcyan/17
diff --git a/app-misc/mc/mc-4.8.15.ebuild b/app-misc/mc/mc-4.8.15.ebuild
new file mode 100644
index 000000000000..c01cae5c6123
--- /dev/null
+++ b/app-misc/mc/mc-4.8.15.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic
+
+MY_P=${P/_/-}
+
+DESCRIPTION="GNU Midnight Commander is a text based file manager"
+HOMEPAGE="https://www.midnight-commander.org"
+SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
+
+REQUIRED_USE="spell? ( edit )"
+
+RDEPEND=">=dev-libs/glib-2.8:2
+ gpm? ( sys-libs/gpm )
+ kernel_linux? ( sys-fs/e2fsprogs )
+ samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh2 )
+ slang? ( >=sys-libs/slang-2 )
+ !slang? ( sys-libs/ncurses:0= )
+ spell? ( app-text/aspell )
+ X? ( x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-libs/check )
+ "
+
+[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
+
+src_prepare() {
+ [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
+
+ epatch "${FILESDIR}"/${PN}-4.8.13-tinfo.patch
+ epatch "${FILESDIR}"/${PN}-4.8.16-makedev.patch
+ epatch_user
+ eautoreconf
+}
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ local myscreen=ncurses
+ use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+
+ local homedir=".mc"
+ use xdg && homedir="XDG"
+
+ econf \
+ --disable-silent-rules \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-vfs \
+ $(use_enable kernel_linux vfs-undelfs) \
+ --enable-charset \
+ $(use_with X x) \
+ $(use_enable samba vfs-smb) \
+ $(use_enable sftp vfs-sftp) \
+ $(use_enable spell aspell) \
+ $(use_with gpm gpm-mouse) \
+ --with-screen=${myscreen} \
+ $(use_with edit internal-edit) \
+ $(use_enable mclib) \
+ $(use_enable test tests) \
+ --with-homedir=${homedir}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README NEWS
+
+ # fix bug #334383
+ if use kernel_linux && [[ ${EUID} == 0 ]] ; then
+ fowners root:tty /usr/libexec/mc/cons.saver
+ fperms g+s /usr/libexec/mc/cons.saver
+ fi
+
+ if ! use xdg ; then
+ sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
+ -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
+ fi
+}
+
+pkg_postinst() {
+ elog "To enable exiting to latest working directory,"
+ elog "put this into your ~/.bashrc:"
+ elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
+}
diff --git a/app-misc/mc/mc-4.8.18-r1.ebuild b/app-misc/mc/mc-4.8.18-r1.ebuild
new file mode 100644
index 000000000000..024c7dcdd497
--- /dev/null
+++ b/app-misc/mc/mc-4.8.18-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+MY_P=${P/_/-}
+
+DESCRIPTION="GNU Midnight Commander is a text based file manager"
+HOMEPAGE="https://www.midnight-commander.org"
+SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
+
+REQUIRED_USE="spell? ( edit )"
+
+RDEPEND=">=dev-libs/glib-2.26.0:2
+ gpm? ( sys-libs/gpm )
+ kernel_linux? ( sys-fs/e2fsprogs )
+ samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh2 )
+ slang? ( >=sys-libs/slang-2 )
+ !slang? ( sys-libs/ncurses:0= )
+ spell? ( app-text/aspell )
+ X? ( x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-libs/check )
+ "
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.8.13-tinfo.patch
+ "${FILESDIR}"/${P}-html.patch
+)
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myscreen=ncurses
+ use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+
+ local homedir=".mc"
+ use xdg && homedir="XDG"
+
+ econf \
+ --disable-silent-rules \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-vfs \
+ $(use_enable kernel_linux vfs-undelfs) \
+ --enable-charset \
+ $(use_with X x) \
+ $(use_enable samba vfs-smb) \
+ $(use_enable sftp vfs-sftp) \
+ $(use_enable spell aspell) \
+ $(use_with gpm gpm-mouse) \
+ --with-screen=${myscreen} \
+ $(use_with edit internal-edit) \
+ $(use_enable mclib) \
+ $(use_enable test tests) \
+ --with-homedir=${homedir}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README NEWS
+
+ # fix bug #334383
+ if use kernel_linux && [[ ${EUID} == 0 ]] ; then
+ fowners root:tty /usr/libexec/mc/cons.saver
+ fperms g+s /usr/libexec/mc/cons.saver
+ fi
+
+ if ! use xdg ; then
+ sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
+ -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
+ fi
+}
+
+pkg_postinst() {
+ elog "To enable exiting to latest working directory,"
+ elog "put this into your ~/.bashrc:"
+ elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
+}
diff --git a/app-misc/mc/mc-4.8.19.ebuild b/app-misc/mc/mc-4.8.19.ebuild
new file mode 100644
index 000000000000..a494288fc52e
--- /dev/null
+++ b/app-misc/mc/mc-4.8.19.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+MY_P=${P/_/-}
+
+DESCRIPTION="GNU Midnight Commander is a text based file manager"
+HOMEPAGE="https://www.midnight-commander.org"
+SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
+
+REQUIRED_USE="spell? ( edit )"
+
+RDEPEND=">=dev-libs/glib-2.26.0:2
+ gpm? ( sys-libs/gpm )
+ kernel_linux? ( sys-fs/e2fsprogs )
+ samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh2 )
+ slang? ( >=sys-libs/slang-2 )
+ !slang? ( sys-libs/ncurses:0= )
+ spell? ( app-text/aspell )
+ X? ( x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-libs/check )
+ "
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.8.13-tinfo.patch
+)
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
+
+ default
+
+ # These tests fail, so disable them instead of disabling the entire
+ # test suite. Please check on each bump if this is still necessary.
+ # Next release will fix them: http://midnight-commander.org/ticket/3781
+ rm tests/src/vfs/extfs/helpers-list/data/{rpm,u7z,urar}.* || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myscreen=ncurses
+ use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+
+ local homedir=".mc"
+ use xdg && homedir="XDG"
+
+ econf \
+ --disable-silent-rules \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-vfs \
+ $(use_enable kernel_linux vfs-undelfs) \
+ --enable-charset \
+ $(use_with X x) \
+ $(use_enable samba vfs-smb) \
+ $(use_enable sftp vfs-sftp) \
+ $(use_enable spell aspell) \
+ $(use_with gpm gpm-mouse) \
+ --with-screen=${myscreen} \
+ $(use_with edit internal-edit) \
+ $(use_enable mclib) \
+ $(use_enable test tests) \
+ --with-homedir=${homedir}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README NEWS
+
+ # fix bug #334383
+ if use kernel_linux && [[ ${EUID} == 0 ]] ; then
+ fowners root:tty /usr/libexec/mc/cons.saver
+ fperms g+s /usr/libexec/mc/cons.saver
+ fi
+
+ if ! use xdg ; then
+ sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
+ -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
+ fi
+}
+
+pkg_postinst() {
+ elog "To enable exiting to latest working directory,"
+ elog "put this into your ~/.bashrc:"
+ elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
+}
diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild
new file mode 100644
index 000000000000..1f19e217d3ac
--- /dev/null
+++ b/app-misc/mc/mc-9999.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/MidnightCommander/mc.git git://repo.or.cz/midnight-commander.git"
+ LIVE_ECLASSES="git-r3 autotools"
+ LIVE_EBUILD=yes
+fi
+
+inherit eutils flag-o-matic ${LIVE_ECLASSES}
+
+MY_P=${P/_/-}
+
+if [[ -z ${LIVE_EBUILD} ]]; then
+ SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="GNU Midnight Commander is a text based file manager"
+HOMEPAGE="https://www.midnight-commander.org"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
+
+REQUIRED_USE="spell? ( edit )"
+
+RDEPEND=">=dev-libs/glib-2.26.0:2
+ gpm? ( sys-libs/gpm )
+ kernel_linux? ( sys-fs/e2fsprogs )
+ samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh2 )
+ slang? ( >=sys-libs/slang-2 )
+ !slang? ( sys-libs/ncurses:0= )
+ spell? ( app-text/aspell )
+ X? ( x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libSM )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+ test? ( dev-libs/check )
+ "
+
+src_prepare() {
+ default
+
+ [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
+}
+
+src_configure() {
+ local myscreen=ncurses
+ use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
+
+ local homedir=".mc"
+ use xdg && homedir="XDG"
+
+ econf \
+ --disable-silent-rules \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ --enable-vfs \
+ $(use_enable kernel_linux vfs-undelfs) \
+ --enable-charset \
+ $(use_with X x) \
+ $(use_enable samba vfs-smb) \
+ $(use_enable sftp vfs-sftp) \
+ $(use_enable spell aspell) \
+ $(use_with gpm gpm-mouse) \
+ --with-screen=${myscreen} \
+ $(use_with edit internal-edit) \
+ $(use_enable mclib) \
+ $(use_enable test tests) \
+ --with-homedir=${homedir}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS doc/{FAQ,NEWS,README}
+
+ # fix bug #334383
+ if use kernel_linux && [[ ${EUID} == 0 ]] ; then
+ fowners root:tty /usr/libexec/mc/cons.saver
+ fperms g+s /usr/libexec/mc/cons.saver
+ fi
+
+ if ! use xdg ; then
+ sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \
+ -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die
+ fi
+}
+
+pkg_postinst() {
+ elog "To enable exiting to latest working directory,"
+ elog "put this into your ~/.bashrc:"
+ elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
+}
diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml
new file mode 100644
index 000000000000..35fa1001c11e
--- /dev/null
+++ b/app-misc/mc/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="edit">Compile and install the mcedit application</flag>
+ <flag name="mclib">Compile and install the libmc.so shared library</flag>
+ <flag name="sftp">Add support for sftp (uses <pkg>net-libs/libssh2</pkg> for it).</flag>
+ <flag name="slang">Use <pkg>sys-libs/slang</pkg> instead of <pkg>sys-libs/ncurses</pkg>.</flag>
+ <flag name="xdg">Toggles mc's config dir location. Enable for $XDG_CONFIG_HOME/mc, disable for $HOME/.mc</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/media-player-info/Manifest b/app-misc/media-player-info/Manifest
new file mode 100644
index 000000000000..806ba1dd9f66
--- /dev/null
+++ b/app-misc/media-player-info/Manifest
@@ -0,0 +1,7 @@
+DIST media-player-info-22.tar.gz 104833 SHA256 7ee7d7712834860533c46b16947238ef5b5d72f394fa7fb52783a15fba7b2336 SHA512 7686aadb559b5a2cd2b969b9aadcf4c2b35037702e6fef4db66c6b8c0860d400c9f46a3b46150b9ce573d4f1fca53a5302fa7c1cdf888942a6489613c4d3c071 WHIRLPOOL 65994db840df66a9fa1b819fae743f3c14e50591b36fe2d56a6a92346746cb0db1b5f2822944b0e2caa35a198fcf56fbd2af4aee62cc85053e4b3134f41eb977
+DIST media-player-info-23.tar.gz 100849 SHA256 a9ab6de0b497f6e13efc2cbe45a4fe06982145d786674c24274c3ed909ecc8cb SHA512 4555456945f6f8c2fb23c86f80dc61e8e5448f3c402ac685e7eccd2df9f7861cdd41da842b0917349f7d83200ef10c810eb8b75fa6d62829834fdbdb81560f04 WHIRLPOOL 7163746a410d976598f3549bd65421ef9c5967683c46b50a72fcbf2ce484c560dc2e921e02a2a567e498b023d58563ba56e6d7cdbaf0d65594922b6a46eb0e0a
+EBUILD media-player-info-22.ebuild 1063 SHA256 254897dd83dac06f9b2de1521dcc147f6f667f0dbe7cf644c52271f3859877c6 SHA512 0e3214f4a13d59b8188ee35908d9d60f767eebd3ea01e2cb617fc0e74c3dc97ad3df5fb1eba80f7fd36f7a7610c440c6bb5b07d60c1a701de6376de5d3a19100 WHIRLPOOL 9b465c51b65002853fb4188bb25ba7cb2797152c800ef60a8164f27de23f6a3c3e1e6f28e44bbeadd388a403bf2a6558c6daaeaa13d5cb0a5272de912b3a7f54
+EBUILD media-player-info-23.ebuild 1067 SHA256 8928961a28e01b446ce44849ff1ec1ac0e4dfded0d46cf3892f601fb0ffb420f SHA512 db5fff962e781adfe280ec80732cb4cb82cf735543c0e03a62684f91254fa6ddd863e3cb3b3b77048c6ee4c2eb9841243ea2791b81be203967e72894074fbc23 WHIRLPOOL b8b744a9f2e80e58985b06fb1b19d26bba271dba3f76d1322d71c61ef59719eeff43b8423ce00d4ad79a13bc9e4beae56e2053ded7d304d329c0286e63b100fa
+MISC ChangeLog 4407 SHA256 9e17d19f773db4aabd260be68d22e4636b95d2be55100b88d11ca1bf732d1f21 SHA512 029f4368e215b9784fdd8406950a5b66c681180103a651b542ab9a98d8a82cf4bddc5d7f380ce5b55805fa226fa7d6595be19223ea6c4654325c89e98de7fb65 WHIRLPOOL b146b65a15bbb082854144ca9b55b01fa3edf6347fbb1da09b24d27d285c64616e05bf8d744d67b610329cf5493c991b739217ac567e7f4a967ccbb40b33e931
+MISC ChangeLog-2015 6456 SHA256 a573e3922e2946da260422b2e3fea48810915bb217ffe9298202d2a4b031e209 SHA512 640adb4c7d03923cb358d0dbfc66d994348a47945f4a0fa5d9dad7d76ddbd100e03fbea8504c13165b4efe522234da6287d4203b5854f8ffd8399b4f5326ed15 WHIRLPOOL d2525dde9604cfa371a4f6a0fe79686b205b7a93f4e495ad078b92200d57d7f40538002ba0d0d08c444f217f192212e1ca5ac6c582d9f2b629ac70a21dd460d2
+MISC metadata.xml 266 SHA256 0fb19dc343b6776658fa3cd1d69453b5d65c5ac4e13c9d88bf6c5ca749fe7bcf SHA512 c4dde7027a929519d75bf240bdf01edee88b6ab874e56c9e524f783b801eb26b5e86a9378cf23b21f7fd2f0f9ee45764daa7deef9173a05e0fedd997e648313b WHIRLPOOL 7c2830d8f128d2b7a7144d8f4fb5c605ced98690ac6e2fea8b4f2f6710e3bdc719cc9fdad142a104a5c68ca9ba8e659c51475056df35edc2e2ee1a3255c1d55d
diff --git a/app-misc/media-player-info/media-player-info-22.ebuild b/app-misc/media-player-info/media-player-info-22.ebuild
new file mode 100644
index 000000000000..c279cba26c92
--- /dev/null
+++ b/app-misc/media-player-info/media-player-info-22.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit eutils python-any-r1
+
+DESCRIPTION="A repository of data files describing media player capabilities"
+HOMEPAGE="https://cgit.freedesktop.org/media-player-info/"
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86"
+IUSE=""
+
+# https://cgit.freedesktop.org/media-player-info/commit/?id=d83dd01a0a1df6198ee08954da1c033b88a1004b
+RDEPEND=">=virtual/udev-208"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+"
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+pkg_postinst() {
+ # Run for /lib/udev/hwdb.d/20-usb-media-players.hwdb
+ udevadm hwdb --update --root="${ROOT%/}"
+ # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
+ if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
+ return 0
+ fi
+ udevadm control --reload
+}
diff --git a/app-misc/media-player-info/media-player-info-23.ebuild b/app-misc/media-player-info/media-player-info-23.ebuild
new file mode 100644
index 000000000000..24e2cf1b615c
--- /dev/null
+++ b/app-misc/media-player-info/media-player-info-23.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit eutils python-any-r1
+
+DESCRIPTION="A repository of data files describing media player capabilities"
+HOMEPAGE="https://cgit.freedesktop.org/media-player-info/"
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE=""
+
+# https://cgit.freedesktop.org/media-player-info/commit/?id=d83dd01a0a1df6198ee08954da1c033b88a1004b
+RDEPEND=">=virtual/udev-208"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+"
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+pkg_postinst() {
+ # Run for /lib/udev/hwdb.d/20-usb-media-players.hwdb
+ udevadm hwdb --update --root="${ROOT%/}"
+ # https://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
+ if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
+ return 0
+ fi
+ udevadm control --reload
+}
diff --git a/app-misc/media-player-info/metadata.xml b/app-misc/media-player-info/metadata.xml
new file mode 100644
index 000000000000..d80c2d3fce7b
--- /dev/null
+++ b/app-misc/media-player-info/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>freedesktop-bugs@gentoo.org</email>
+ <name>Gentoo Freedesktop Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/mediacrush-cli/Manifest b/app-misc/mediacrush-cli/Manifest
new file mode 100644
index 000000000000..cd17e43287cb
--- /dev/null
+++ b/app-misc/mediacrush-cli/Manifest
@@ -0,0 +1,6 @@
+DIST mediacrush-cli-1.1.2.tar.gz 3299 SHA256 eaa8f7f7999246bc5cb2fb356cfb35263009b5a0f386000488e638e81fb5a72a SHA512 fa4c905e75ffe1d16a83a6c3cc29dd2e28eb9097d1bc95742ece2356ab6e219c15c75bab7a09443c98b18e438d1e6690968d24c35eb7a3dd0877dff36574761c WHIRLPOOL 3614a7afacb6edcfd7c589f0bbe2769143c0a3638331d0b64c2e25f2d2b0fe89c32c1281e91da4ca315df3f8b9e15a47009e9bcb6d750721ec98345cdac4ed76
+EBUILD mediacrush-cli-1.1.2.ebuild 926 SHA256 e7a84d3bba90e4eb7b58c47cb0cd42733cc26068230ddb2a383b0e2ec73fe639 SHA512 63a417b5a6f1c313fc93f9817f9f3a83379988da52dd3b030b4bcd89107322f4f2fcc247d9a3129bbb9851f6da00457c02c84a35f8e83927dd878aaa947ce4fb WHIRLPOOL e37c5c16d888dbe7dcabcabc797231768636d427cd2fb580add1bb56fcdd46a89d89620095aff1737796c113120dab00666be65342b4aa2bad7a1ba0a97fe74c
+EBUILD mediacrush-cli-9999.ebuild 904 SHA256 fb7386eb536e47422f7157b5eb1fb79fc1a75c5ca453d23492c974fbdbf32d76 SHA512 68217126fbf9b6710a5d7665325990ce3ab93fedc83e88601c4dcb646cae0653957d1b7b93191321a9c7b23ac7ebb4b0414ed92b8589ec571361803cea58dee4 WHIRLPOOL 2a8fc7c44d387feedf7b82728aba4f8c732989e1357901b7e30ee1d06f1596bc330425108386d1001ea28df84a75c99e0d9c9096886babadead7c9e69ebd61ae
+MISC ChangeLog 2261 SHA256 326a2d47485ca497d69e8e0697f7e3d07631f51c8702eeaca8af7907bbd998b0 SHA512 375013294166a894e65126f459775e934cea161cc46cf2a473c920844754e5b87e3b2373cf1e9ddf8064d902e88c273f1744a316727445146db9fca08d471f58 WHIRLPOOL a29478535d0eab64151338451de6f8fe6d6ecc629e6abd04ab3f64a1a9dda678f041b78b63ba2fbf0daf39fcfb14d02975cfa1e49edf0b3771efe3df9cca5a21
+MISC ChangeLog-2015 667 SHA256 6464eddb926659a5e592052fecb6d391f5975fde0d71d03f72c71a85c25f306a SHA512 c42e7423f2ecacf8f199092f3ecdf4f24d600d56d805be04e02c9589a4d2dc5b7623fcc1ee376de58ea18e6dd7b905d0e91d77adaadca6e5adcbef12dd1ac711 WHIRLPOOL c684e8d17123050d4cc88d12bd9de6e2bbb20f74b9d5d5774429f62d4271b376e939489c7f5773addf9834b197ed4e3c979ee53e2f126e585605296424c365a6
+MISC metadata.xml 349 SHA256 63b94f933daa5c24acefcfadfade92a1f0997ade310e3d7e604056dd8c6fa577 SHA512 4e8de7d17a63a033642e04784a463efaed8d6f832288fe1706e7bf3c7f03bee20cd89a4745473dad8230cb6383128d466fb4616c295d66fd47274bc5ea07ef32 WHIRLPOOL 123780b15f43684e637c42f48bdffda4c6224e440c8629b617afdf465fb439a77801172eb427b3db1a9f8f2cf781d2cc4ca8a056dff84cec4102f037f49e45ea
diff --git a/app-misc/mediacrush-cli/mediacrush-cli-1.1.2.ebuild b/app-misc/mediacrush-cli/mediacrush-cli-1.1.2.ebuild
new file mode 100644
index 000000000000..7ccf263f351a
--- /dev/null
+++ b/app-misc/mediacrush-cli/mediacrush-cli-1.1.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/MediaCrush/MediaCrush-cli.git"
+ SRC_URI=""
+ KEYWORDS=""
+ inherit git-r3
+else
+ SRC_URI="https://github.com/MediaCrush/MediaCrush-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/MediaCrush-cli-${PV}"
+fi
+
+DESCRIPTION="A bash script for working with MediaCrush from a shell"
+HOMEPAGE="https://github.com/MediaCrush/MediaCrush-cli"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ app-text/asciidoc
+"
+RDEPEND="
+ app-editors/vim-core
+ net-misc/curl
+ sys-apps/file
+ sys-apps/sed
+"
+
+src_compile() {
+ a2x --doctype manpage --format manpage mediacrush.1.txt
+}
+
+src_install() {
+ dobin mediacrush
+ doman mediacrush.1
+
+ if ! has_version x11-misc/xdg-utils; then
+ einfo "Install x11-misc/xdg-utils to enable '--open' argument"
+ fi
+}
diff --git a/app-misc/mediacrush-cli/mediacrush-cli-9999.ebuild b/app-misc/mediacrush-cli/mediacrush-cli-9999.ebuild
new file mode 100644
index 000000000000..c0f0b0e722b7
--- /dev/null
+++ b/app-misc/mediacrush-cli/mediacrush-cli-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/MediaCrush/MediaCrush-cli.git"
+ SRC_URI=""
+ KEYWORDS=""
+ inherit git-r3
+else
+ SRC_URI="https://github.com/MediaCrush/MediaCrush-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/MediaCrush-cli-${PV}"
+fi
+
+DESCRIPTION="A bash script for working with MediaCrush from a shell"
+HOMEPAGE="https://github.com/MediaCrush/MediaCrush-cli"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ app-text/asciidoc
+"
+RDEPEND="
+ net-misc/curl
+ sys-apps/file
+ sys-apps/sed
+"
+
+src_compile() {
+ a2x --doctype manpage --format manpage mediacrush.1.txt
+}
+
+src_install() {
+ dobin mediacrush
+ doman mediacrush.1
+
+ if ! has_version x11-misc/xdg-utils; then
+ einfo "Install x11-misc/xdg-utils to enable '--open' argument"
+ fi
+}
diff --git a/app-misc/mediacrush-cli/metadata.xml b/app-misc/mediacrush-cli/metadata.xml
new file mode 100644
index 000000000000..9879dc1ac464
--- /dev/null
+++ b/app-misc/mediacrush-cli/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">MediaCrush/MediaCrush-cli</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/mencal/Manifest b/app-misc/mencal/Manifest
new file mode 100644
index 000000000000..c737bf9ce482
--- /dev/null
+++ b/app-misc/mencal/Manifest
@@ -0,0 +1,5 @@
+DIST mencal-3.0.tar.gz 19560 SHA256 9328d0b2f3f57847e8753c5184531f4832be7123d1b6623afdff892074c03080 SHA512 0a99af941b9cea4923a90065813d8434c908d52e4ead1309114a28b565ca8b8e81cf132740be4ab88159b61628c22fba65cd8a74213b58d4db69a2f315d737eb WHIRLPOOL 4a81e9f328a324939c568de707466a1d00ccdbd74d23aa109119f5d15d6256e95d2b6e48e620ec05c22c30a668435695f478c3411043e3e5811107b930ceaf33
+EBUILD mencal-3.0.ebuild 505 SHA256 b94ff9fce444e187d707618fe12428b197b86e9508cc41873005dbe5a42ce935 SHA512 a197eed220ad36f06ad90574da47e019d5c92038ce83bd1056ff52182b7e92574dd66b16539b6c20dece2a5b56584df23a8170c307e42c3b430bab40b9261a7e WHIRLPOOL 7c5f2db631885767555fabd9c0886770fe292a3b6cd5ab6fefe5491427d60e9b257dde06ebf1dbf728245adbdb904817982100093906e068258ce63eb5b4080c
+MISC ChangeLog 2681 SHA256 2cd25b3ac911001f55e33c88dfe8fae0c569318b89bb975e5e4fc94cba174b80 SHA512 b720291c6fd6e20c81a107da48248fa6e80596dac54f0c1c26bb993d5d5bc395fa69c4a8b3d97d4f4efc517ea86aca9b9531d9cf2e28a303deffad262f0aff3e WHIRLPOOL 9776e391fe352ce62edb936587c3f88bc9e827d03eb3ed3ca48d8ef942456be6b7d1a0543a99bacc0cad2a99a832da5b199062bd1cea7fdf555d4fb8d2e35041
+MISC ChangeLog-2015 1376 SHA256 106c528a2b1193f57b223eb8805b1d42f8c35887e3d9afa7e8056ac1c682cdc3 SHA512 ee5e51a0666b29275edbfae34d23af7a079210b9e60b0d9e07ddf1ac1801669f4519c07fa124346e4ff59c9d9b6872ff76b9c207e4f7512001fe63b8a72d4d2c WHIRLPOOL f447fe549f9e9b100e907b0d04026a2e33267f6b90fca9f400af474a91f14d54cf2af098ff267371ee6151b05070f10474aee84c132302c56c42a7c0d0eef4cf
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/mencal/mencal-3.0.ebuild b/app-misc/mencal/mencal-3.0.ebuild
new file mode 100644
index 000000000000..0e2e70652cbc
--- /dev/null
+++ b/app-misc/mencal/mencal-3.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Calendar to track menstruation cycles"
+HOMEPAGE="http://www.kyberdigi.cz/projects/mencal/english.html"
+SRC_URI="http://www.kyberdigi.cz/projects/mencal/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc ~mips alpha ~hppa ia64 ~ppc64 x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+DOCS=( README )
+
+src_install() {
+ dobin "${PN}"
+ einstalldocs
+}
diff --git a/app-misc/mencal/metadata.xml b/app-misc/mencal/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/mencal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/mepl/Manifest b/app-misc/mepl/Manifest
new file mode 100644
index 000000000000..2d8a5c3d9039
--- /dev/null
+++ b/app-misc/mepl/Manifest
@@ -0,0 +1,8 @@
+AUX gcc433.patch 600 SHA256 221c907c715b94efbc0845398700d7d9b140c799ca3e91697438ff111fd6dc30 SHA512 847c3006e2afc2fd0bd5cd614b8893d8b3bd8ebb2ff39662e3f0e38945220609843d1e6d072d1ffc168192e04160a7da7c579e59d7467527f75e9395e9ff0f12 WHIRLPOOL 36f8d726564b94b53032876f9f1e06f5c7ef9762aa8b39b149e97e77833e527110b71f7d6dcecaf91db1d401281fe023b0589d2e22ace63bf3ef42240fbf4964
+AUX mepl-0.45-gcc433.patch 600 SHA256 221c907c715b94efbc0845398700d7d9b140c799ca3e91697438ff111fd6dc30 SHA512 847c3006e2afc2fd0bd5cd614b8893d8b3bd8ebb2ff39662e3f0e38945220609843d1e6d072d1ffc168192e04160a7da7c579e59d7467527f75e9395e9ff0f12 WHIRLPOOL 36f8d726564b94b53032876f9f1e06f5c7ef9762aa8b39b149e97e77833e527110b71f7d6dcecaf91db1d401281fe023b0589d2e22ace63bf3ef42240fbf4964
+DIST mepl0.45.tar.gz 18968 SHA256 2a42634428ac6f54536ca40f05417babf5f27c7a2821b77a21d84cc1627ca62b SHA512 679ac7548f6a4870164410db403d9fb8a18d7daa651a29d8e0dd87d8d3fdf1f9e8d381513ab922188951eba0798b1d32eadceafa117236ff54ef3e645d876c1e WHIRLPOOL c1c49075c186ce5228664510df84909d356950d5aea9aa80777ea5285c3e06dd95a27d3000fbe63555ed4e772c151dc56902f4ea7b50581beb6afbd552d1ea31
+EBUILD mepl-0.45-r1.ebuild 657 SHA256 ecd21f46cb5db71eb9a8b27752b2bab6960de72dac952d2ccd1f9d46d366b22a SHA512 959ea71379351ceb1503b92ef6b39b0a10aff5887d836ec1ab1ad66f2c03c66d4dc415ee6426b0c2c05a9891577712bbd3a55bbb5c0e8febb45bbdef25e4f782 WHIRLPOOL 020af52ddf03a7216f5053c748073930754becd4205bfa1cb5318b2e2ffc199235ed2fe8735a80280601b2eea1296ef380c843a277fc2b0ac49c4a051b1834af
+EBUILD mepl-0.45.ebuild 705 SHA256 78525123e8c46d51a9891360a1b35b9b3d5eb156454351f71cf972d6881efbe2 SHA512 fb99c7571dc976fd826ddf6e5b96ce809aa3809772bfad7d1c9cbc4602f742fffc1c3434f9afd1d10575ebfd7898c438b35bd4c97c74990155682a7b16fd218e WHIRLPOOL 4d2f1b2644cf91ca7fdfac6c0760591c9448284aea991b5dad4a8ed04e6058050d327d6606ba31a9de15e33fdba1fa893037b24116df9b680df3d60456464d6b
+MISC ChangeLog 2532 SHA256 603c383228bce01a5d0124e7e682ea5e54e70554090463ab73da569bb02e4346 SHA512 12fd5809dee8aa4d6d498b67a1027eb324c02c1cd5f5a780a4127d14bd410d6ca19af444bf9f3cc1c277830049e7a22c2399e13137b27b00e6db8d5256393000 WHIRLPOOL 60f3598e36f475072be5f205e40d9f2f197935c84783ee1b20428399418153651b98110e2f0230c514420836106b59e0745ce09746acb408ccf084af6c68fdc0
+MISC ChangeLog-2015 1623 SHA256 8c819233ba93f233c2b732ee1385247b79b40519b05b4f7931960173ffcc1370 SHA512 20260d543a3e8581c71c2a1612659087ac0ef171ffffc47852fa49be6597a841e5fd45b583588f8a947a3159dfccb3dfd0a9220ef382961742bde8a496452449 WHIRLPOOL fcb9a1bfafce639782806dfe32b329bbc380856f5ec16c53573f86c7ec49232d07f6eb1e3ff2c3eed529a4647528131e9379025538acf0b434e15ced38837f31
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/mepl/files/gcc433.patch b/app-misc/mepl/files/gcc433.patch
new file mode 100644
index 000000000000..0fd857a9ae30
--- /dev/null
+++ b/app-misc/mepl/files/gcc433.patch
@@ -0,0 +1,16 @@
+--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200
++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999"
+ /* Version: @(#) mepl.c 0.45
+ Autor: Frank Holtz <frank@hof-berlin.de>--- mepl.c 2009-04-07 21:08:18.000000000 +0200
+@@ -347,7 +347,7 @@
+ errz=0;
+ do {
+ error=0;
+- resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT); /* In Datei zwischenspeichern */
++ resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT,0600); /* In Datei zwischenspeichern */
+ sendstr(ATSENDMEM);
+ line[2]=0;
+ /* Erstes Zeichen suchen */
diff --git a/app-misc/mepl/files/mepl-0.45-gcc433.patch b/app-misc/mepl/files/mepl-0.45-gcc433.patch
new file mode 100644
index 000000000000..0fd857a9ae30
--- /dev/null
+++ b/app-misc/mepl/files/mepl-0.45-gcc433.patch
@@ -0,0 +1,16 @@
+--- a/mepl.c 2009-04-07 21:17:32.000000000 +0200
++++ b/mepl.c 2009-04-07 21:16:48.000000000 +0200
+@@ -1,3 +1,4 @@
++#include <stdlib.h>
+ #define VERSION "0.45 Don Nov 25 19:13:58 CET 1999"
+ /* Version: @(#) mepl.c 0.45
+ Autor: Frank Holtz <frank@hof-berlin.de>--- mepl.c 2009-04-07 21:08:18.000000000 +0200
+@@ -347,7 +347,7 @@
+ errz=0;
+ do {
+ error=0;
+- resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT); /* In Datei zwischenspeichern */
++ resout=open(resdat,O_WRONLY | O_TRUNC | O_CREAT,0600); /* In Datei zwischenspeichern */
+ sendstr(ATSENDMEM);
+ line[2]=0;
+ /* Erstes Zeichen suchen */
diff --git a/app-misc/mepl/mepl-0.45-r1.ebuild b/app-misc/mepl/mepl-0.45-r1.ebuild
new file mode 100644
index 000000000000..65c2b5cb7bf8
--- /dev/null
+++ b/app-misc/mepl/mepl-0.45-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
+HOMEPAGE="http://www.hof-berlin.de/mepl/"
+SRC_URI="http://www.hof-berlin.de/mepl/mepl${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+S="${WORKDIR}/${PN}${PV}"
+
+PATCHES=( "${FILESDIR}/${P}-gcc433.patch" )
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\" ${LDFLAGS}" en
+}
+
+src_install() {
+ dobin "${PN}" "${PN}mail"
+ insinto /etc
+ doins "${PN}.conf"
+ newman "${PN}.en" "${PN}.7"
+}
diff --git a/app-misc/mepl/mepl-0.45.ebuild b/app-misc/mepl/mepl-0.45.ebuild
new file mode 100644
index 000000000000..77d7acf80473
--- /dev/null
+++ b/app-misc/mepl/mepl-0.45.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Self-employed-mode software for 3COM/USR message modems"
+HOMEPAGE="http://www.hof-berlin.de/mepl/"
+SRC_URI="http://www.hof-berlin.de/mepl/mepl${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/gcc433.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\"\
+ ${LDFLAGS}" en || die
+}
+
+src_install() {
+ dobin mepl meplmail || die
+ insinto /etc
+ doins mepl.conf
+ newman mepl.en mepl.7
+}
diff --git a/app-misc/mepl/metadata.xml b/app-misc/mepl/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/mepl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/metadata.xml b/app-misc/metadata.xml
new file mode 100644
index 000000000000..98bcf3dff285
--- /dev/null
+++ b/app-misc/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The app-misc category contains various miscellaneous application
+ packages which don't belong anywhere else.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie app-misc enthält verschiedenste Applikationen welche
+ keiner anderen Kategorie zugeordnet werden konnten.
+ </longdescription>
+ <longdescription lang="nl">
+ De app-misc categorie bevat applicaties die niet in een specifieke
+ categorie geplaatst konden worden.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm app-misc chứa các ứng dụng linh tinh, không thuộc
+ vỠnhóm nào cả.
+ </longdescription>
+ <longdescription lang="it">
+ La cateogria app-misc contiene varie applicazioni che non ricadono nelle altre categorie.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria app-misc contém vários pacotes de aplicações mistas
+ que não pertencem a outros lugares.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria app-misc zawiera wiele rozmaitych programów, które nie
+ pasowały do żadnej innej kategorii.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría app-misc contiene varios paquetes de aplicaciones
+ misceláneas que no pertenecen a ninguna otra categoría.
+ </longdescription>
+</catmetadata>
+
diff --git a/app-misc/metromap/Manifest b/app-misc/metromap/Manifest
new file mode 100644
index 000000000000..741f47b0db36
--- /dev/null
+++ b/app-misc/metromap/Manifest
@@ -0,0 +1,5 @@
+DIST metromap-0.1.4.tar.bz2 3419243 SHA256 7fc3b7dd92443ace8944429895c27b2d9bc6444d1eef973b5608cdba72b38fba SHA512 16407c9c8f2d3f608e9188e40b38d20530f552254dbe0c59d7c94ed913b8cb61deae23ffc6180d17fee0d98091c269f24eb04e624dedbb37cc6ece85b46e93ec WHIRLPOOL 5acd843dfa35b87b804c4e879253843f60c4c6df4e0d1dfa5975006b3d9cfe2d58a418f2255b88ab35f1052eeb6a929ba6b00ba1ae75b51d8129021051ee2516
+EBUILD metromap-0.1.4-r1.ebuild 961 SHA256 a5e2aa56420078f081d1fe3b4a2c65bb53cd20675b07764dafdb8de08a478092 SHA512 ec656cad496e2078f39b7a661f41392ee85c54c1305de4af8dedcce93ed938159fa14c10d59a7e64f79b720a01222d4c8347478734351d1ca728eb6caee4ab88 WHIRLPOOL eafb152a37e75d11eb307b61ed56417e3ca09f5eadf38bb95eb4a299366bac2f8fa857689f3d2cbb6035f898884cae60c7930712f7a25d89c27ab9930ad38244
+MISC ChangeLog 2436 SHA256 9d1e5a9ab79f7acc658f533ec87b90aac4620d24ac07ff62889eacf649cab649 SHA512 76cb1a0aa51f418de773bb040d159b9cbcc8f86d7e2cb41e2663b1fc1e36bc0a2822ec9d97c24beb0779333782113dfc47539e01308e817b8838289abfc6a945 WHIRLPOOL 813061e31285333e0f011d5507e427184475b415e286525e3c7c52b83e9e7789b5189a54bff42612f95320a3d885161f4feea180523c80a4c484fed90d9755b1
+MISC ChangeLog-2015 1503 SHA256 b4add2e58906916e2b712ff4be048fcd57075fbdd456bcf114ed0d7f49e6fdb6 SHA512 62c68c7d6727c4aa37c28ad1264dc473c44cc99a7b95dff5807b26341a187fd084c104236f0a673d9035bb8fb50e39daeac4487f971e9b01432caff9c5920966 WHIRLPOOL 18ec77aad85d3615c25ab40416edacb03d5e99f9adf5efdb647b034ca98a26fd8ce128b911661d49b27eedf91c73e954e7b1a6e7dd6e331156c11cf309d55a18
+MISC metadata.xml 249 SHA256 6a7a935465d2bcd2b2eb7db8821fdb718f5585aa3385dbc3cfe91a67343dd11b SHA512 c13d64a0d3034eeb4c9567f5e1236ecd6f3c3cbdec69b805627298cdb7050ae01a19a3cb075ec905de9497079a3e855bdccef2f37f65540b6ae184439f01cdae WHIRLPOOL 4106054754ff0cea93503e1b478447bfb853e8a33ba5b5aea25590239973d2b268ca8570696760feff44fe693b7bce246295d7129789d54343d77c0dfb15b082
diff --git a/app-misc/metromap/metadata.xml b/app-misc/metromap/metadata.xml
new file mode 100644
index 000000000000..ceeed1534bdd
--- /dev/null
+++ b/app-misc/metromap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/metromap/metromap-0.1.4-r1.ebuild b/app-misc/metromap/metromap-0.1.4-r1.ebuild
new file mode 100644
index 000000000000..6d0dba3d4e4d
--- /dev/null
+++ b/app-misc/metromap/metromap-0.1.4-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 gnome2-utils
+
+DESCRIPTION="Metromap is simple pygtk+2 programm for finding paths in metro(subway) maps"
+HOMEPAGE="http://metromap.antex.ru/"
+SRC_URI="http://metromap.antex.ru/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+src_prepare() {
+ python_fix_shebang .
+ sed -e 's,Gtk;,GTK;,' -i metromap.desktop || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ emake DESTDIR="${ED}"/usr install
+ python_optimize "${ED}"/usr/share/metromap/modules/
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/mime-types/Manifest b/app-misc/mime-types/Manifest
new file mode 100644
index 000000000000..c8a7adfd185d
--- /dev/null
+++ b/app-misc/mime-types/Manifest
@@ -0,0 +1,5 @@
+DIST mime-types-9.tar.bz2 15524 SHA256 b4638a734f121be30a546ed092aec16bf74e9b88ed7921fba89cf7e2c0462b5e SHA512 066cea30c02a326e64680422b31aff0849c0a8c7486738f2edf339b88426c6ac5a365d4fa4c80c84df0fa4c39b5e13d45db314a1bf47ce369c132dd1c46130d6 WHIRLPOOL 61c7fe4879caf0d732f2667f784955d40f6645e257fcca0a29180dc4462437a864fd8ea55bf37be94ac2bb572a6c8e906494c57d6c8275938d52defc0b766cde
+EBUILD mime-types-9.ebuild 615 SHA256 565cbb155ed0080af1e322254992cfe1a08deba4dbec737b753524722c393370 SHA512 c412147fe1b96ce8b197bcf6d75203082be25fbd604df2652be1655372be5a37e8cf5ca34604321450ea54b52232f2c28cbf635907e885ec3b61e0a384e88f56 WHIRLPOOL e9d16e0dd547c418f910dc33c3c889263d80034d6a8660cdaf0856b2ce32709ca188f7e4ad798deecce77dc45c34c947ebafceee0f0fc8bee8da00bc702f5cfe
+MISC ChangeLog 2451 SHA256 b47f1363ce5c5734389adf9ec741e2eb39d549b00897829e4617acd2f695615b SHA512 11e0d06d4d805e9b39c1abbf7f38ccfb9a8e670fbb7d8fb6ac334318c58eab4b4b1affc6d0eb122e219643c4595da47c50043ec6da5459cd8500da50db7c3150 WHIRLPOOL 19e2ffcb1c0baf596e9befc2702c8ac695cc9dcb145ad36e10aa3479b80ce354b7fc999d10729c5ccf6ad29ea87b962e9bda2e54977eef55325ed1fb32de37c0
+MISC ChangeLog-2015 9675 SHA256 d7e2bf08173b278f479d783bb22e8e10ad2fc76a03e44482281697e97cd2d760 SHA512 d464b578c16fad71e24b0219209671d08d896d7aea1814c95b2b9d593b429da88b0ccd8939e65f7ab6016ee8dc9083b5d3abfce4056f2639c36e3af2dc089945 WHIRLPOOL 69904e8615673d501b8823eb5c6ed3f7eb21f91395c79b3e7f42302d855f90a11d9a08183d94b27b9139889553f25b038b94bd76fe349f789935ba19adbcbf8a
+MISC metadata.xml 346 SHA256 475227af07a0ac20fddcf237b10968a6bc5295935037312bfc155e6a3a263681 SHA512 65aa65edd1d47b4d6f87120e6685cccbc90c8daedabcac6f9ebfbab562682cc226d7a6f83886f61e38bb3fbfcd6b32ca17725291d6f95939cc1d40dc8bb0173a WHIRLPOOL 3edd4091ba90a4110c17fd177e2af2ba5113d29ef0ab509c7a9dd5dd595ee0d528a1bfbf866a8158aeb8979985499395906de4fcd691379fe7b365e2301d3583
diff --git a/app-misc/mime-types/metadata.xml b/app-misc/mime-types/metadata.xml
new file mode 100644
index 000000000000..d0eb5c6228b4
--- /dev/null
+++ b/app-misc/mime-types/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>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+</maintainer>
+<maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/mime-types/mime-types-9.ebuild b/app-misc/mime-types/mime-types-9.ebuild
new file mode 100644
index 000000000000..8eba4a1a85d2
--- /dev/null
+++ b/app-misc/mime-types/mime-types-9.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Provides /etc/mime.types file"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ insinto /etc
+ doins mime.types
+}
diff --git a/app-misc/misterhouse/Manifest b/app-misc/misterhouse/Manifest
new file mode 100644
index 000000000000..f38cb4b220e4
--- /dev/null
+++ b/app-misc/misterhouse/Manifest
@@ -0,0 +1,9 @@
+AUX misterhouse.conf 344 SHA256 004177a74f8f3de252954c4d8e11a273e6649510d54e5bb68b1f15cc032d32ee SHA512 af58c566dda66c515672fb55fafa9f2f5225bc5fcd8c18b5d0ab3dfbd0129508b0b674fffeac4a15fda37e61008eb2ec6040672dbed3bbda4a3b90545ad14732 WHIRLPOOL 016fd0f7a61acb886972245cb7dc4e671b2063772dc62890bb3112a9dcef48cf89bba6dff417703ec078c9624080f5734f23a8f08b82dc9ea4dc56449815fcff
+AUX misterhouse.init 452 SHA256 2ea719e178739960fb8d55c838848c9f2e2e588d65a5394f12377283dafbd075 SHA512 7cfc2f14ff092a102bcc75c4eb31a109e264bfd9b9153ca522932f0d6b8e1305bc869caedfc2b9d726ac105b513d2630e3346cbc91faaaf7109dc332f0c45bd7 WHIRLPOOL c077274f90c60534fdcc47a68ecb66438d06b8aa19ddd7524db80f42d094d7184097f2544280101a47bba82182ccd03d7b1da280e530c6dcec5620281b2fa450
+DIST misterhouse-2.103.tar.gz 7417915 SHA256 e96c09e61486036f36cf0ffd9837a82e5edc5d0681c8652f80edf085702f7780 SHA512 41fa6d2220345df1b01bebed2d9803911f970eea9f98418e7df08537b3e1c563c0996b831276115c30a2f760e92d0df29b0053a2bfc117299f4caae9c7456870 WHIRLPOOL 2fc2269707e0d8e5f21d77b3f66643c11f579c73622e6f81936f966cab4ee5a912361df31f4ceeff81a715bbbcaccc5e9ceaaba5a2cc5ddd5e1e0c9a780a8785
+DIST misterhouse-2.105.tar.gz 8647595 SHA256 f2c8100a4c1f1c050a66310d6ddc8bf8a0d6fa7396829683877fc9b431739cbf SHA512 305601d953b2f7de1e8cb95a76b24aedb1615e3b874e2f999854172c9bec3da2ec13e0777cd0a4c15b6d92daffb34df761ae28bca4147e7435b280e00da3c14c WHIRLPOOL ebd12a5980cefc30610530d4d133aa07508daa045032e45117c59f6b3e41ae090416d4c513c1352ce8fa95789dc1614711ae203315c2db846fa7b064140e6840
+EBUILD misterhouse-2.103-r1.ebuild 1260 SHA256 b27c2eb39a5bd9017e9b5fee2e040f4461bb1d3801e6b767072f221c550a37da SHA512 317caa01540b940b3cf5fb39f64895e6c80e89b8f7ef4280236c76e07134b44754ae62bba45080f109a4dd9d88135e7d686483c73743dbb01947db3ee691a7e8 WHIRLPOOL 0eb555a96038638bcc73160843e66184f8078238020079a208e0b256a19da9473db5498adc0df27719401c5ee2f767650af79bfaab77f700f77327457fbe4d69
+EBUILD misterhouse-2.105-r1.ebuild 1289 SHA256 f7c736e68a09fb1cdd4169b5afe32c219314303a514550a6e1acb087b1400783 SHA512 9231044bf957e08c6447e5de3f3c90a17f8539ba2707b9bb1abcb9c5665a7ffd01329f7e8af1255158ac672976d0bbf1d6adf6ca1532c84f4d614e7c9f9a4981 WHIRLPOOL a666406b101f9f4ee6645a4e36ebb1e0564f1346140542bc4b4e5468b68ebf113622b2f21c23128847ba09e02a7dcb4bca3159c83a52cf0b1944af67ee3e5f18
+MISC ChangeLog 3510 SHA256 56e840c12229759cc14d33e627312c03c10a9bbccc7cff16c96eb119b6bc4e25 SHA512 ba1916f4162522c5768bedfaf9e77e9cd3eae31c904d2c253f456203f226ea6b2d254474a0b7d8814436b7f6862160263c54ab23c4edb85d0bd04cfb2509bcb4 WHIRLPOOL d2c0f1621687379f395f1977e12365cfdc97e72b93e07db55cf4f3d3b5a8d6e2c3b2ea15360f75a41faf1303755abc40b089d99380bfe43b6b8b27ee9a1633d1
+MISC ChangeLog-2015 2388 SHA256 e788b200cc1757c3b7c789e17af8673e50acd63c5d91f0ff4d41a91a8c269fb3 SHA512 c7b362ccf23a8fa3d77d9f439b62d1197136a931e0f4aa40be10eeb73665db4997f36beece15c2e34644b09102219581ab7a076ab25d589d830902f48097aa44 WHIRLPOOL 2016a6017e527f0d5a2973ad57085c518e638ad2239a583ada53ba71637ac4960d36bb9bf3456607d690fd056c52ac3be42a1be5d38cbd97d2b8bb6ffbe56b8b
+MISC metadata.xml 248 SHA256 643e3e3a28f048a1f80670fae84656204362bf5b26c16ecf056486cc27ecb750 SHA512 887fac358e29dced4d8729f3f702e0da89466f4b8996ce122e3200cd6bbccea3607dbef663d1a40fe23ece2a1b9b432fccf9b4f8589743f9530fb0fc19768db3 WHIRLPOOL a1ceb313a097e89823dca1fefd020e8e29f343a980ae492c3604941752cd25211939740e6c9e034c9291d90327c44991420acbdc1f46688809248383f18fe458
diff --git a/app-misc/misterhouse/files/misterhouse.conf b/app-misc/misterhouse/files/misterhouse.conf
new file mode 100644
index 000000000000..6b6abbaeb63b
--- /dev/null
+++ b/app-misc/misterhouse/files/misterhouse.conf
@@ -0,0 +1,12 @@
+# Config file for /etc/init.d/misterhouse
+
+# NOTICE: This stub file can contains any overrides to the default
+# mh.ini. Anything not listed in here will be pulled from the main
+# mh.ini file.
+
+
+# Disable launching the tk gui - this is being run from init.d after all :)
+tk=0
+
+# Override the pid file location
+pid_file=/var/run/misterhouse.pid
diff --git a/app-misc/misterhouse/files/misterhouse.init b/app-misc/misterhouse/files/misterhouse.init
new file mode 100644
index 000000000000..e2a8b73f9405
--- /dev/null
+++ b/app-misc/misterhouse/files/misterhouse.init
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+
+depend() {
+ need clock hostname net
+}
+
+start() {
+ export mh_parms="/etc/conf.d/misterhouse"
+ ebegin "Starting misterhouse"
+ start-stop-daemon --start --background --exec /opt/misterhouse/bin/mh -- -log_file="/var/log/misterhouse.log"
+ eend $? "Failed to start misterhouse"
+}
+
+stop() {
+ ebegin "Stopping misterhouse"
+ start-stop-daemon --stop --quiet --pidfile /var/run/misterhouse.pid
+ eend $? "Failed to stop misterhouse"
+}
diff --git a/app-misc/misterhouse/metadata.xml b/app-misc/misterhouse/metadata.xml
new file mode 100644
index 000000000000..9456a8c310bd
--- /dev/null
+++ b/app-misc/misterhouse/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">misterhouse</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/misterhouse/misterhouse-2.103-r1.ebuild b/app-misc/misterhouse/misterhouse-2.103-r1.ebuild
new file mode 100644
index 000000000000..ad9caf8d4b4e
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.103-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="Mister House, an open source home automation program with X10 support"
+HOMEPAGE="http://misterhouse.sf.net/"
+LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/misterhouse/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="tk mysql"
+
+QA_PREBUILT="opt/misterhouse/bin/viavoice_server"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/Tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ virtual/perl-DB_File
+ dev-perl/TermReadKey
+ virtual/perl-Time-HiRes
+ dev-perl/Audio-Mixer
+ dev-perl/Text-LevenshteinXS"
+
+src_install() {
+ dodir /opt/misterhouse
+
+ cp -r "${S}/bin" "${D}/opt/misterhouse"
+ cp -r "${S}/code" "${D}/opt/misterhouse"
+ cp -r "${S}/data" "${D}/opt/misterhouse"
+ for a in "${S}"/docs/*; do
+ dodoc ${a}
+ done
+ dosym ../../usr/share/doc/${PF} /opt/misterhouse/docs
+ cp -r "${S}/lib" "${D}/opt/misterhouse"
+ cp -r "${S}/sounds" "${D}/opt/misterhouse"
+ cp -r "${S}/web" "${D}/opt/misterhouse"
+ newconfd "${FILESDIR}"/misterhouse.conf misterhouse
+ newinitd "${FILESDIR}"/misterhouse.init misterhouse
+
+}
+
+pkg_postinst() {
+ cd /opt/misterhouse/bin
+ ./configure
+}
diff --git a/app-misc/misterhouse/misterhouse-2.105-r1.ebuild b/app-misc/misterhouse/misterhouse-2.105-r1.ebuild
new file mode 100644
index 000000000000..bd19df19011e
--- /dev/null
+++ b/app-misc/misterhouse/misterhouse-2.105-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+DESCRIPTION="Mister House, an open source home automation program with X10 support"
+HOMEPAGE="http://misterhouse.sf.net/"
+LICENSE="GPL-1"
+SRC_URI="mirror://sourceforge/misterhouse/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="tk mysql"
+
+S="${WORKDIR}/mh"
+
+RDEPEND="dev-lang/perl
+ tk? ( dev-perl/Tk
+ dev-perl/Tk-CursorControl )
+ mysql? ( dev-perl/DBD-mysql )
+ || ( app-accessibility/festival
+ app-accessibility/flite )
+ dev-perl/GD
+ virtual/perl-DB_File
+ dev-perl/TermReadKey
+ virtual/perl-Time-HiRes
+ dev-perl/Audio-Mixer
+ dev-perl/Text-LevenshteinXS"
+
+src_install() {
+ dodir /opt/misterhouse
+
+ cp -r "${S}/bin" "${D}/opt/misterhouse" || die
+ cp -r "${S}/code" "${D}/opt/misterhouse" || die
+ cp -r "${S}/data" "${D}/opt/misterhouse" || die
+ for a in "${S}"/docs/*; do
+ dodoc ${a} || die
+ done
+ dosym ../../usr/share/doc/${PF} /opt/misterhouse/docs
+ cp -r "${S}/lib" "${D}/opt/misterhouse" || die
+ cp -r "${S}/sounds" "${D}/opt/misterhouse" || die
+ cp -r "${S}/web" "${D}/opt/misterhouse" || die
+ newconfd "${FILESDIR}"/misterhouse.conf misterhouse
+ newinitd "${FILESDIR}"/misterhouse.init misterhouse
+
+}
+
+pkg_postinst() {
+ cd /opt/misterhouse/bin
+ ./configure
+}
diff --git a/app-misc/mmv/Manifest b/app-misc/mmv/Manifest
new file mode 100644
index 000000000000..a7e24506a7da
--- /dev/null
+++ b/app-misc/mmv/Manifest
@@ -0,0 +1,6 @@
+DIST mmv_1.01b-18.debian.tar.gz 13463 SHA256 4af5c83cacb27c7720bf65cac9a4f6c1fe698474a716e2df0fbad9181e6844e7 SHA512 3543aff53c67cab00689d4c8b778447c976a7860a569bd51f74534bec8bd3b67b9e12743bd03bc6fda930748abddd12e16f1965686cbce04bd48bf191fc4127b WHIRLPOOL 57dd2ebb1d075f9479d0466cc39f4cf3ebe3e8457b96a56a0f5d1b63c6ada01ec281fcf5e79220e07256aa1edfb046d8ddf75df8ab6c1ac25ff67074c0760ed2
+DIST mmv_1.01b.orig.tar.gz 25656 SHA256 0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef SHA512 4bf4e096b930bdde225ba5de761e968af3aed33dc13194b1a1a79078cd27e158b04aae131b5167cf5f844e35355d67359443cd598db22da15a5af06752438917 WHIRLPOOL 318484c12416174535ba6e77929798418943ae521e339a7f68b1b7a488b4058cbe88de019e07b705879597ef04d6c325c15d2869b224827dca6d9519c8772aa5
+EBUILD mmv-1.01b_p18.ebuild 1269 SHA256 059f80c9cc71bf4d097fdc0d524bb7157704f7c0c6d9a0f3a8ecd466e216eb0e SHA512 11931b007cdfc09e01a5ca4478564c36ed2b73e83c267e29db2d788cefc63fd27e8f74dedf2d36aac882791a02b914533bde28748a7d58e7c7ce089912ca4625 WHIRLPOOL 21a8086406c34e23f8b83971a62075671f43ac7a95fe81dccfbe49e4e365552a4ca8b34b7632a7b24d8055e1d3a6c0798b42a081116a28c2dd5ff3a09e6ccf05
+MISC ChangeLog 2897 SHA256 5ddff676feb5f7853fe4631cd8ebf941ef6093dde56f8ac8f33f7fbfd287028a SHA512 11d0d5dd86b199305656ff4f0c8823c698184588df0a2a2e89302459eae2b826c6e54e8c433b4032362c634c953ab29c655e0928983cdd4ddf7d9496dba179b3 WHIRLPOOL 2fb44c5b01117244e1ddc2bbbd8ec2e37e544651bafa7cb0de7e3df23c5d702f6413892f712e25de5a1fabdeb20c214e9312482724220855104c08842c45d0d3
+MISC ChangeLog-2015 3438 SHA256 4e5d60ad8077ea228e6c5cf5f5ffe795def262ab755ced0ec0fe81a01c7d78c7 SHA512 3c919e503e32fd099a5ed18c02f71cdf1acf1f0613bb1df947c6005682228702bfd246fcd2ab1c1dca57e2fcc02ccac8e749e97589a0986ac48c57e2ba5eb8b8 WHIRLPOOL 3fac9a08a1904242acef7be6a980a3cb7ed5b3f632f640a56c3b90366c8817e30351fbc3954cfa2631fb01abc6d389b63f450fa63a5e8acb1addcc7d2855345f
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/mmv/metadata.xml b/app-misc/mmv/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/mmv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/mmv/mmv-1.01b_p18.ebuild b/app-misc/mmv/mmv-1.01b_p18.ebuild
new file mode 100644
index 000000000000..b494b21028bb
--- /dev/null
+++ b/app-misc/mmv/mmv-1.01b_p18.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DEB_PATCH_VER=${PV#*_p}
+MY_VER=${PV%_p*}
+
+DESCRIPTION="Move/copy/append/link multiple files according to a set of wildcard patterns"
+HOMEPAGE="http://packages.debian.org/unstable/utils/mmv"
+SRC_URI="
+ mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}.orig.tar.gz
+ mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}-${DEB_PATCH_VER}.debian.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+S="${WORKDIR}"/${PN}-${MY_VER}.orig
+
+src_prepare() {
+ epatch "${WORKDIR}"/debian/patches/*.diff
+}
+
+src_compile() {
+ # i wonder how this works on other platforms if CFLAGS from makefile are
+ # overridden, see bug #218082
+ [[ ${CHOST} == *-interix* ]] && append-flags -DIS_SYSV -DHAS_RENAME -DHAS_DIRENT
+ [[ ${CHOST} == *-interix* ]] || append-lfs-flags
+
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin mmv
+ dosym mmv /usr/bin/mcp
+ dosym mmv /usr/bin/mln
+ dosym mmv /usr/bin/mad
+
+ doman mmv.1
+ newman mmv.1 mcp.1
+ newman mmv.1 mln.1
+ newman mmv.1 mad.1
+
+ dodoc ANNOUNCE "${WORKDIR}"/debian/{changelog,control}
+}
diff --git a/app-misc/mosquitto/Manifest b/app-misc/mosquitto/Manifest
new file mode 100644
index 000000000000..eafe65499b9b
--- /dev/null
+++ b/app-misc/mosquitto/Manifest
@@ -0,0 +1,9 @@
+AUX mosquitto 559 SHA256 acaf13cb940560de209d5a9e925714bae261bccecdfa35a6a713374258a6c377 SHA512 0bb0e648484269c2a5396118340177af10fae9ccbe4973371f7c8f5e31c96ff97c5146680415c450bad63397baa5c076e7c994f897fd3af2fcce0d1e0965ee22 WHIRLPOOL b2d098e03cdd5f02a8d075f9f75f6bd489a441b5b171a9c2ee76d6b3e533b1239ba349327329a5a53f4589627f04158a5bf068082cb18565a3816258bd24c02a
+AUX mosquitto-1.4.10-conditional-tests.patch 1142 SHA256 4ce039546c753459b72fe6dfa6d55e20bf90430c71d7d9756cddfdab2bd61615 SHA512 d07a081830fe7d23db380033c0c68d366bf60652f86c43a39074faa9bbcc6286485aad225226b64ef3055b4bd7a6c6969fa9ddd97eb2e6d8d98e815a881e634c WHIRLPOOL ae0e3edc5a3adb6354945dafa5644869752d02a86a0c04a3a8c77d552f22e015c460d8e0b9d63a68435c9416cb4b8c04629674ae19282e89f1a97f023461bc22
+AUX mosquitto-1.4.8-conditional-tests.patch 1080 SHA256 9e1345dc0afc5cb58c918d6f9e402a05d1367e1d6636c559d1f44e34c882e4fe SHA512 f31bb648ded33dc8d151743ebbc84ed4be634e20fe2938eecd4fa9e2cdea50951ae11ae674a43cb7683862aa5feec4907f00b9dedeba88cd2711d34d4f7d697a WHIRLPOOL 85d7cfcf07eedece86b047d1466db462b44b117e75c1fe0f35336931c447b5c249e7f0f9fb021718bcc4cf175ab4f3ebdd3b0ff04fb67679d4349537448d21ad
+AUX mosquitto-1.4.9-conditional-tests.patch 1142 SHA256 4ce039546c753459b72fe6dfa6d55e20bf90430c71d7d9756cddfdab2bd61615 SHA512 d07a081830fe7d23db380033c0c68d366bf60652f86c43a39074faa9bbcc6286485aad225226b64ef3055b4bd7a6c6969fa9ddd97eb2e6d8d98e815a881e634c WHIRLPOOL ae0e3edc5a3adb6354945dafa5644869752d02a86a0c04a3a8c77d552f22e015c460d8e0b9d63a68435c9416cb4b8c04629674ae19282e89f1a97f023461bc22
+AUX mosquitto.service 261 SHA256 d170ea60a4dfabb84a190ddc10b13e3651c750ca37f7e0159cd08c6cedf5c2de SHA512 3552618733fc106705375c5a1126db72e356694705312072f27f18e21c142cd75ae3ff1f17854ce54cdee092ff9e01fd75c1a8a12d68f75ead8a3697c69623e9 WHIRLPOOL a7ee5f5a4ea40c2ff26d59563fec1200d576d953649219145e4b29c6bac452c9620190782ec68cfff5f4049a944989877a1e3c8605b86c3d708e6fab312b60f6
+DIST mosquitto-1.4.14.tar.gz 365596 SHA256 156b1fa731d12baad4b8b22f7b6a8af50ba881fc711b81e9919ec103cf2942d1 SHA512 dc75a971354f87deeb79f32435acfae9bc561a1a24a75ee4940a35176ff91758071930d2105d8dee2a090e07527dbfaa5692bece67e03cc87e8b4b8b46f846c2 WHIRLPOOL 428494b277869d6d8d100663f1fd8f14e21028d0b2f802da634a2f033a9df4383246d6ad0802b27b41dfad7a50d3120830018dd7592888b468976798b8a2f0bf
+EBUILD mosquitto-1.4.14.ebuild 2453 SHA256 d78b90d3695958152f25e8c02807ef697941b29f3d87b1604698537d1febc4ca SHA512 a7ce7e5f393cf6508415c044a51518891f7a953ecdaa680f952cfbfdb8905561a017b0a7dad5281d9fee41c909331b26712c0466a33e345a232d538ffafb2a7f WHIRLPOOL ef84f3ed2fc93fe8c9ccd546b6dfdd916459acfb312b27db823ba5280f7b5646b1756dd58b4f9d1d5903a2818e58534222122aa5ac508aa096da4cd160601c87
+MISC ChangeLog 1589 SHA256 216f21db1364ddf07502a17b15c75ca8ecfeb7a976d1f3b63ecdcf859a76bae1 SHA512 12685cb8b941b9c4791e505245e97c733e2fc8ada073bbb7c73d8981939d08deef13c3907f1d3d0c02fdee75f68cdc8179bf82ede51b7b9c7261ada2b6f6bd28 WHIRLPOOL 8bee946d775b2a38645de389fb9462264c90152abae7a031372fac980098d88d2676f45454388626bfabc05d8252f8dcc9d1b9f2024be93d6902980ffd9ead55
+MISC metadata.xml 647 SHA256 baebe954aec439a65adcaf8c75469d999e07fdae681d37e066670e45a7cf512e SHA512 1694124e09b1d2cd3f8410a42d5514fd3d8434f0fc3163bb3f6fe5b369df7ab9e9365d1439421b4985830c6278f322a86599d33d2469f464fb089bcd89839c9a WHIRLPOOL 5d8a53ef384fabcc5a28e792900a135001118e59a007379548c583132b77e8d40e536b4567d78755f8c50ef7b917cb0660982aa6a1e503ec6d3a5e3013ee30cf
diff --git a/app-misc/mosquitto/files/mosquitto b/app-misc/mosquitto/files/mosquitto
new file mode 100644
index 000000000000..e70a6ab01b3d
--- /dev/null
+++ b/app-misc/mosquitto/files/mosquitto
@@ -0,0 +1,24 @@
+#!/sbin/openrc-run
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ ! -f /etc/${SVCNAME}/${SVCNAME}.conf ] ; then
+ eerror "No /etc/${SVCNAME}/${SVCNAME}.conf file exists!"
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec /usr/sbin/${SVCNAME} --background --make-pidfile --pidfile /var/run/${SVCNAME}.pid -- --config-file /etc/${SVCNAME}/${SVCNAME}.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec /usr/sbin/${SVCNAME} --pidfile /var/run/${SVCNAME}.pid
+ eend $?
+}
diff --git a/app-misc/mosquitto/files/mosquitto-1.4.10-conditional-tests.patch b/app-misc/mosquitto/files/mosquitto-1.4.10-conditional-tests.patch
new file mode 100644
index 000000000000..12b4fc56bc3c
--- /dev/null
+++ b/app-misc/mosquitto/files/mosquitto-1.4.10-conditional-tests.patch
@@ -0,0 +1,43 @@
+--- a/test/broker/Makefile 2016-06-02 22:20:22.000000000 +0100
++++ b/test/broker/Makefile 2016-07-08 14:17:33.772666865 +0100
+@@ -63,6 +63,7 @@
+ ./05-clean-session-qos1.py
+
+ 06 :
++ifeq ($(WITH_BRIDGE),yes)
+ ./06-bridge-reconnect-local-out.py
+ ./06-bridge-br2b-disconnect-qos1.py
+ ./06-bridge-br2b-disconnect-qos2.py
+@@ -70,6 +71,7 @@
+ ./06-bridge-b2br-disconnect-qos2.py
+ ./06-bridge-fail-persist-resend-qos1.py
+ ./06-bridge-fail-persist-resend-qos2.py
++endif
+
+ 07 :
+ ./07-will-qos0.py
+@@ -87,10 +89,12 @@
+ ./08-ssl-connect-cert-auth-crl.py
+ ./08-ssl-connect-identity.py
+ ./08-ssl-connect-no-identity.py
++ifeq ($(WITH_BRIDGE),yes)
+ ./08-ssl-bridge.py
+ ./08-tls-psk-pub.py
+ ./08-tls-psk-bridge.py
+ endif
++endif
+
+ 09 :
+ ./09-plugin-auth-unpwd-success.py
+--- a/test/broker/c/Makefile 2016-02-14 14:36:55.000000000 +0000
++++ b/test/broker/c/Makefile 2016-05-05 09:40:31.440608209 +0100
+@@ -13,7 +13,9 @@
+ $(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
+
+ 08-tls-psk-bridge.test : 08-tls-psk-bridge.c
++ifeq ($(WITH_BRIDGE),yes)
+ $(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
++endif
+
+
+ reallyclean : clean
diff --git a/app-misc/mosquitto/files/mosquitto-1.4.8-conditional-tests.patch b/app-misc/mosquitto/files/mosquitto-1.4.8-conditional-tests.patch
new file mode 100644
index 000000000000..811cee645c9a
--- /dev/null
+++ b/app-misc/mosquitto/files/mosquitto-1.4.8-conditional-tests.patch
@@ -0,0 +1,41 @@
+--- a/test/broker/Makefile 2016-02-14 14:36:55.000000000 +0000
++++ b/test/broker/Makefile 2016-05-05 09:53:30.548519257 +0100
+@@ -63,11 +63,13 @@
+ ./05-clean-session-qos1.py
+
+ 06 :
++ifeq ($(WITH_BRIDGE),yes)
+ ./06-bridge-reconnect-local-out.py
+ ./06-bridge-br2b-disconnect-qos1.py
+ ./06-bridge-br2b-disconnect-qos2.py
+ ./06-bridge-b2br-disconnect-qos1.py
+ ./06-bridge-b2br-disconnect-qos2.py
++endif
+
+ 07 :
+ ./07-will-qos0.py
+@@ -85,10 +87,12 @@
+ ./08-ssl-connect-cert-auth-crl.py
+ ./08-ssl-connect-identity.py
+ ./08-ssl-connect-no-identity.py
++ifeq ($(WITH_BRIDGE),yes)
+ ./08-ssl-bridge.py
+ ./08-tls-psk-pub.py
+ ./08-tls-psk-bridge.py
+ endif
++endif
+
+ 09 :
+ ./09-plugin-auth-unpwd-success.py
+--- a/test/broker/c/Makefile 2016-02-14 14:36:55.000000000 +0000
++++ b/test/broker/c/Makefile 2016-05-05 09:40:31.440608209 +0100
+@@ -13,7 +13,9 @@
+ $(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
+
+ 08-tls-psk-bridge.test : 08-tls-psk-bridge.c
++ifeq ($(WITH_BRIDGE),yes)
+ $(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
++endif
+
+
+ reallyclean : clean
diff --git a/app-misc/mosquitto/files/mosquitto-1.4.9-conditional-tests.patch b/app-misc/mosquitto/files/mosquitto-1.4.9-conditional-tests.patch
new file mode 100644
index 000000000000..12b4fc56bc3c
--- /dev/null
+++ b/app-misc/mosquitto/files/mosquitto-1.4.9-conditional-tests.patch
@@ -0,0 +1,43 @@
+--- a/test/broker/Makefile 2016-06-02 22:20:22.000000000 +0100
++++ b/test/broker/Makefile 2016-07-08 14:17:33.772666865 +0100
+@@ -63,6 +63,7 @@
+ ./05-clean-session-qos1.py
+
+ 06 :
++ifeq ($(WITH_BRIDGE),yes)
+ ./06-bridge-reconnect-local-out.py
+ ./06-bridge-br2b-disconnect-qos1.py
+ ./06-bridge-br2b-disconnect-qos2.py
+@@ -70,6 +71,7 @@
+ ./06-bridge-b2br-disconnect-qos2.py
+ ./06-bridge-fail-persist-resend-qos1.py
+ ./06-bridge-fail-persist-resend-qos2.py
++endif
+
+ 07 :
+ ./07-will-qos0.py
+@@ -87,10 +89,12 @@
+ ./08-ssl-connect-cert-auth-crl.py
+ ./08-ssl-connect-identity.py
+ ./08-ssl-connect-no-identity.py
++ifeq ($(WITH_BRIDGE),yes)
+ ./08-ssl-bridge.py
+ ./08-tls-psk-pub.py
+ ./08-tls-psk-bridge.py
+ endif
++endif
+
+ 09 :
+ ./09-plugin-auth-unpwd-success.py
+--- a/test/broker/c/Makefile 2016-02-14 14:36:55.000000000 +0000
++++ b/test/broker/c/Makefile 2016-05-05 09:40:31.440608209 +0100
+@@ -13,7 +13,9 @@
+ $(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
+
+ 08-tls-psk-bridge.test : 08-tls-psk-bridge.c
++ifeq ($(WITH_BRIDGE),yes)
+ $(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
++endif
+
+
+ reallyclean : clean
diff --git a/app-misc/mosquitto/files/mosquitto.service b/app-misc/mosquitto/files/mosquitto.service
new file mode 100644
index 000000000000..ebdc28e3448a
--- /dev/null
+++ b/app-misc/mosquitto/files/mosquitto.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Mosquitto MQTT Broker daemon
+ConditionPathExists=/etc/mosquitto/mosquitto.conf
+Requires=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/mosquitto/metadata.xml b/app-misc/mosquitto/metadata.xml
new file mode 100644
index 000000000000..53e88eadda1c
--- /dev/null
+++ b/app-misc/mosquitto/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>neil@digimed.co.uk</email>
+ <name>Neil Bothwick</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="bridge">Enable bridge support in the MQTT broker.</flag>
+ <flag name="persistence">Store messages and subscriptions to a file.</flag>
+ <flag name="srv">Include SRV lookup support.</flag>
+ <flag name="websockets">Support the WebSocket protocol.</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/mosquitto/mosquitto-1.4.14.ebuild b/app-misc/mosquitto/mosquitto-1.4.14.ebuild
new file mode 100644
index 000000000000..04008dcbd0bd
--- /dev/null
+++ b/app-misc/mosquitto/mosquitto-1.4.14.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils systemd user toolchain-funcs python-any-r1
+
+DESCRIPTION="An Open Source MQTT v3 Broker"
+HOMEPAGE="http://mosquitto.org/"
+SRC_URI="http://mosquitto.org/files/source/${P}.tar.gz"
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="amd64 arm x86"
+IUSE="bridge examples +persistence +srv ssl tcpd websockets"
+
+RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
+ ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ srv? ( net-dns/c-ares )
+ websockets? ( net-libs/libwebsockets )"
+
+pkg_setup() {
+ enewgroup mosquitto
+ enewuser mosquitto -1 -1 -1 mosquitto
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.4.10-conditional-tests.patch"
+ if use persistence; then
+ sed -i -e "s:^#autosave_interval:autosave_interval:" \
+ -e "s:^#persistence false$:persistence true:" \
+ -e "s:^#persistence_file:persistence_file:" \
+ -e "s:^#persistence_location$:persistence_location /var/lib/mosquitto/:" \
+ mosquitto.conf || die
+ fi
+
+ # Remove prestripping
+ sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\
+ client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die
+
+ python_setup
+ python_fix_shebang test
+}
+
+src_configure() {
+ LIBDIR=$(get_libdir)
+ makeopts=(
+ "CC=$(tc-getCC)"
+ "LIB_SUFFIX=${LIBDIR:3}"
+ "WITH_BRIDGE=$(usex bridge)"
+ "WITH_PERSISTENCE=$(usex persistence)"
+ "WITH_SRV=$(usex srv)"
+ "WITH_TLS=$(usex ssl)"
+ "WITH_WEBSOCKETS=$(usex websockets)"
+ "WITH_WRAP=$(usex tcpd)"
+ )
+}
+
+src_compile() {
+ emake "${makeopts[@]}"
+}
+
+src_test() {
+ emake "${makeopts[@]}" test
+}
+
+src_install() {
+ emake "${makeopts[@]}" DESTDIR="${D}" prefix=/usr install
+ keepdir /var/lib/mosquitto
+ fowners mosquitto:mosquitto /var/lib/mosquitto
+ dodoc readme.md CONTRIBUTING.md ChangeLog.txt
+ doinitd "${FILESDIR}"/mosquitto
+ insinto /etc/mosquitto
+ doins mosquitto.conf
+ systemd_dounit "${FILESDIR}/mosquitto.service"
+
+ if use examples; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ insinto "/usr/share/doc/${PF}/examples"
+ doins -r examples/*
+ fi
+}
+
+pkg_postinst() {
+ elog ""
+ elog "The Python module has been moved out of mosquitto."
+ elog "See http://mosquitto.org/documentation/python/"
+ elog ""
+ elog "To start the mosquitto daemon at boot, add it to the default runlevel with:"
+ elog ""
+ elog " rc-update add mosquitto default"
+ elog " or"
+ elog " systemctl enable mosquitto"
+}
diff --git a/app-misc/mouseremote/Manifest b/app-misc/mouseremote/Manifest
new file mode 100644
index 000000000000..509e53697584
--- /dev/null
+++ b/app-misc/mouseremote/Manifest
@@ -0,0 +1,10 @@
+AUX mouseremote-0.90-fix-warnings.diff 631 SHA256 d8261933f6182199a4a31edd784be47ed7d9da95b3b669054b967ecb0b4db66a SHA512 203b8df256510e98e5f46365c308b12c80fb7c92f164663ace8627e1ff9ae0e47c69912fe562e92466f289c0827d46f295b776ce43859d94b272ff6f8cf35a6f WHIRLPOOL c95874a234ac5308c04d10a958eb12341d0dd481c706a117d37373951315e911bc2900cb9c747d7795bcccb10d9142770a46548679ac898a21e0f71ec2692911
+AUX mouseremote-0.90-gentoo.diff 1130 SHA256 28e0c6eb9799f34d511189fb8ccd515dd807fb758722b3b0f201d40cf35824c7 SHA512 607483c622f3347d3fad6de2f8c9eacd3a4f389baaa2bed94e72a6d5db65006c67231b92962ad08b1756983fe6af7d599b93bba880558867a032840942654e6b WHIRLPOOL ef7240f0288b2a9e08d18694aef68b8e26e4521b54ed4d8fbf041e96c5ce14e9fca169e98a38f0eccb9138c79702f60fe1af6437dd6681b3a13dd5f60ebf3609
+AUX mouseremote-0.90-makefile.diff 507 SHA256 4eb87a4e108455d3c622a9ba7d711b5b28f747efe86034a7c821905e1f1e8f3f SHA512 160efb2db998c42ab2efb34e8b462f3b709a03b8d4a8bf0be4c6c45c8204285e67bc6e5cecc4dd25ee71c6625b3e7653f83a2be8c51ed09103e2f119102b2ec0 WHIRLPOOL ad4810ecb377ee3fa1939fc57f7f33caaefccf531e849a73d7252b6bd6502a5f4fe257471b8aa02591e9cde2301f54b4fb1c9671ad0fa9c4333a62402d601299
+AUX mouseremote.conf 461 SHA256 981640d64a8e668de1a716eb43d772c93d7ec7245f2f8b54c83229e9f718992a SHA512 b1e99866c0aec8036ea6bbd0e831afca79a5530ab1635fa1f6f407f7c49df5aa1df9c14e7e864fd6503063c05fc882792f6da4785e694865e4ef90d459a8e1f4 WHIRLPOOL a5414043b854934c8f0b781fa07e5db70486dd1e5ddea85a65d78418409dd02aa22396046121c3d197bfdcc75009c228cd42aab2e15f82f4bdfbd9699780d7a0
+AUX mouseremote.start 598 SHA256 669e21daeda36555fc8d2e7bef411f5c509998e138294cc956b51625a728264e SHA512 9cbcd5037057498ccbe8dc4a16308f7390112389440cbbcc4675b2750bfeeca2c54b1fd3da5d91efb3f2e9bcd453b125c526c3412a1e30fa56a937183aca7abe WHIRLPOOL 059981d595dac3846ccb270b92f957f3c468f85a1b1302192ed99801e8e169a7ced4bb77270c98f4bebb1dc76e95d61bdb71fd775ef3e6687d2972f7db713d21
+DIST MouseRemote.tar.gz 41752 SHA256 cde90093c11d7d5b398d2ff9448a7c67bfc3bfa26d71802dff2de715f179b50f SHA512 d92ec4a1efda7e63cc02283b2aabcd6b42bedba17539371856e6ca3b6b5feaf9c306604db9a781836375afb6da226c16b8031f5f749d367857c2cde28e097483 WHIRLPOOL 43f66bad05a2e8f64cc384e7e4d9fcc9eb53bbc19b215713fd0ff5b8f71095d933e80dafd02393c1f5a99f688edab5f2051355246e2d5a938200fe2c49c30d6b
+EBUILD mouseremote-0.90-r2.ebuild 1945 SHA256 d1e739bd0b3912058d38c2fed47df959194d8e0c5862ea69dc0f49ab705205be SHA512 0463baf4ac6a0d07a85a15ea46b04fd08a3660d23ee5a027e924498063f0b22bddb3c7444ece5667f4a1991d7499509474b774a2992282185b5091ded5fe3814 WHIRLPOOL 00242ad6a809b58ff227d53fdbe57f61e35fcc9fac1adad5be59e84f09ca4585d9d76cac9751dc2ff3f1c1fea2f1dda5a5382533d19ca0f8d53651bcab5c3c5b
+MISC ChangeLog 3510 SHA256 dad13fa81ef808e9d06e2460b12e471a63f84069154a66001c8ec859a4b2520e SHA512 390f7c15fecd18039288a95f21bb51a3fe09802dcb4bccc23528cb180ced6f8cf37f2f4dc15a3947c0e213c81bed9b1ca79a9a5401cd562a49acfeefde85bad7 WHIRLPOOL 8629a3c6f5085c36829b443075251cac7efe0776fd2ae5fcfce1caeaa004c482b78e85dac65548d9241f44fe202ffa9408e027a32039969d06e8830421eecb84
+MISC ChangeLog-2015 2221 SHA256 db05bfef6421d2d0466116db3fe2970c52dae02f3cde7575d97c31aa568a1c6b SHA512 bb4e692da551024ec65cb30755e112b87f6202c8201f63cc0b0b5a98a50124c52d8b61c640d8d1b557afb73d45b3286e39855b6e5f22bc049316a3559b142efc WHIRLPOOL e6b4e405b7e8cbdf9b0a4c4b2eab2ff13c5790b8453e64d33e40dafeb183a2a003c1ff35542b330a1d764271c4ffed56545ce81d9840c1104949ccc7b8aa10ff
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/mouseremote/files/mouseremote-0.90-fix-warnings.diff b/app-misc/mouseremote/files/mouseremote-0.90-fix-warnings.diff
new file mode 100644
index 000000000000..63447b9bc4ce
--- /dev/null
+++ b/app-misc/mouseremote/files/mouseremote-0.90-fix-warnings.diff
@@ -0,0 +1,23 @@
+diff -ur MultiMouse.orig/daemon.c MultiMouse/daemon.c
+--- MultiMouse.orig/daemon.c 1999-10-09 20:08:58.000000000 +0000
++++ MultiMouse/daemon.c 2016-04-27 22:36:59.133322312 +0000
+@@ -22,6 +22,7 @@
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <signal.h>
++#include <stdlib.h>
+
+ #include "mumse.h"
+
+diff -ur MultiMouse.orig/main.c MultiMouse/main.c
+--- MultiMouse.orig/main.c 1999-10-03 17:40:23.000000000 +0000
++++ MultiMouse/main.c 2016-04-27 22:34:58.346647395 +0000
+@@ -25,6 +25,8 @@
+ #include <sys/types.h>
+ #include <sys/time.h>
+ #include <signal.h>
++#include <stdlib.h>
++#include <string.h>
+
+ #include "mumse.h"
+
diff --git a/app-misc/mouseremote/files/mouseremote-0.90-gentoo.diff b/app-misc/mouseremote/files/mouseremote-0.90-gentoo.diff
new file mode 100644
index 000000000000..d86902e37ed5
--- /dev/null
+++ b/app-misc/mouseremote/files/mouseremote-0.90-gentoo.diff
@@ -0,0 +1,66 @@
+diff -Naur MouseRemote.ORG/client/MouseRemote.conf MouseRemote/client/MouseRemote.conf
+--- MouseRemote.ORG/client/MouseRemote.conf Sat Oct 9 21:03:42 1999
++++ MouseRemote/client/MouseRemote.conf Sat May 4 16:04:43 2002
+@@ -61,3 +61,35 @@
+
+ # Definitions for the DVD device
+ [DVD]
++Power
++ChUp
++ChDown
++Mute
++VolUp
++VolDown
++Play
++Stop
++TxtRes
++Rew
++FF
++0
++1
++2
++3
++4
++5
++6
++7
++8
++9
++Ent
++Pause
++Last
++Disp
++AB
++Shift
++Guide
++Select
++TxtOff
++TxtTrns
++Rec
+diff -Naur MouseRemote.ORG/client/MouseRemoteKeys.pl MouseRemote/client/MouseRemoteKeys.pl
+--- MouseRemote.ORG/client/MouseRemoteKeys.pl Sun Oct 10 00:09:42 1999
++++ MouseRemote/client/MouseRemoteKeys.pl Sat May 4 15:58:58 2002
+@@ -11,6 +11,7 @@
+ play => 0x0d,
+ stop => 0x0e,
+ power => 0x0f,
++ txtres => 0x1b,
+ rew => 0x1c,
+ ff => 0x1d,
+ 0 => 0x40,
+@@ -31,11 +32,13 @@
+ 'shift' => 0x6b,
+ guide => 0x6d,
+ 'select' => 0x93,
++ txtoff => 0x9b,
++ txttrns => 0xeb,
+ rec => 0xff,
+
+ pc => 0x2b,
+- phone => 0x4b,
++ phone => 0x4b, # Marked as F2 on my model
+ web => 0x8b,
+ cd => 0xab,
+- dvd => 0xcb,
++ dvd => 0xcb, # Marked as F1 on my model
+ );
diff --git a/app-misc/mouseremote/files/mouseremote-0.90-makefile.diff b/app-misc/mouseremote/files/mouseremote-0.90-makefile.diff
new file mode 100644
index 000000000000..2f6fb8a81f15
--- /dev/null
+++ b/app-misc/mouseremote/files/mouseremote-0.90-makefile.diff
@@ -0,0 +1,20 @@
+--- MultiMouse/Makefile 1997-08-21 08:52:56.000000000 -0400
++++ MultiMouse/Makefile 2010-08-13 00:05:47.000000000 -0400
+@@ -20,14 +20,13 @@
+ -DMOUSE_FIFO=\"$(FIFO)\"\
+ -DLOCKDIR=\"$(LOCKDIR)\"\
+ -DMAX_MICE=$(MICE)
+-CFLAGS= $(OPTS)\
+- -O2 # -DDEBUG
+-LDLAGS= -O2
++
++OUTPUT_OPTION= $(OPTS) -o $@
+
+ all: $(TARGET)
+
+ multimoused: $(OBJS)
+- $(CC) -o $@ $(OBJS)
++ $(CC) $(LDFLAGS) -o $@ $(OBJS)
+
+ multimouse.1 multimoused.8 multimouse: Makefile
+ sed -e 's|%LOCKDIR%|$(LOCKDIR)|' -e 's|%BINDIR%|$(BINDIR)|'\
diff --git a/app-misc/mouseremote/files/mouseremote.conf b/app-misc/mouseremote/files/mouseremote.conf
new file mode 100644
index 000000000000..3ca7396177bc
--- /dev/null
+++ b/app-misc/mouseremote/files/mouseremote.conf
@@ -0,0 +1,13 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Config file for /etc/init.d/mouseremote
+
+# Configure the type of mouseremote you have and the device it is connected to
+
+# If your device is attached to the regular psaux port then set DRV to X10
+# If your device is attached to a serial port then set DRV to SX10
+#DRV=SX10
+
+# Set this to the port on which your mouseremote is attached
+#DEV=/dev/ttyS1
diff --git a/app-misc/mouseremote/files/mouseremote.start b/app-misc/mouseremote/files/mouseremote.start
new file mode 100644
index 000000000000..e149dd8eb70c
--- /dev/null
+++ b/app-misc/mouseremote/files/mouseremote.start
@@ -0,0 +1,28 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use modules logger
+ before xdm
+}
+
+checkconfig() {
+ [ -z "$DEV" ] || [ -z "$DRV" ] || return 0
+ eerror "You need to setup DEV and DRV in /etc/conf.d/mouseremote first"
+ return 1
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting X10 MouseRemote Server"
+ /usr/sbin/multimoused -${DRV} ${DEV} 2> /dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping X10 MouseRemote Server"
+ kill $(cat /var/lock/MultiMouse.pid)
+ eend ${?} "Failed to stop MouseRemote Server"
+}
diff --git a/app-misc/mouseremote/metadata.xml b/app-misc/mouseremote/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/mouseremote/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/mouseremote/mouseremote-0.90-r2.ebuild b/app-misc/mouseremote/mouseremote-0.90-r2.ebuild
new file mode 100644
index 000000000000..ddddb1fbdd1e
--- /dev/null
+++ b/app-misc/mouseremote/mouseremote-0.90-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="X10 MouseRemote"
+HOMEPAGE="http://www4.pair.com/gribnif/ha/"
+SRC_URI="http://www4.pair.com/gribnif/ha/MouseRemote.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="virtual/perl-Time-HiRes"
+
+S="${WORKDIR}/MouseRemote"
+
+src_prepare() {
+ eapply -p0 "${FILESDIR}"/${P}-makefile.diff
+ eapply "${FILESDIR}"/${P}-gentoo.diff
+ eapply -p0 "${FILESDIR}"/${P}-fix-warnings.diff
+
+ eapply_user
+}
+
+src_compile() {
+ cd MultiMouse && emake \
+ CC=$(tc-getCC) \
+ PREFIX=/usr \
+ LOCKDIR=/var/lock \
+ JMANDIR=/usr/share/man/ja_JP.ujis
+}
+
+src_install() {
+ dobin MultiMouse/multimouse
+ dosbin MultiMouse/multimoused
+
+ dodoc README MultiMouse/README.jis MultiMouse/README.newstuff
+ newdoc MultiMouse/README README.MultiMouse
+ newdoc client/MouseRemote.conf MouseRemote.conf.dist
+ newdoc client/MouseRemote.pl MouseRemote.pl.dist
+ newdoc client/MouseRemoteKeys.pl MouseRemoteKeys.pl.dist
+
+ newinitd "${FILESDIR}"/mouseremote.start mouseremote
+ newconfd "${FILESDIR}"/mouseremote.conf mouseremote
+}
+
+pkg_postinst() {
+ [ -e /dev/mumse ] || mkfifo "${ROOT}"/dev/mumse
+ [ -e /dev/x10fifo ] || mkfifo "${ROOT}"/dev/x10fifo
+
+ elog "To use the mouse function in X, add the following to your XF86Config"
+ elog "Section \"InputDevice\""
+ elog " Identifier \"MouseREM\""
+ elog " Driver \"mouse\""
+ elog " Option \"Protocol\" \"MouseSystems\""
+ elog " Option \"Device\" \"/dev/mumse\""
+ elog "EndSection"
+ elog
+ elog "Don't forget to add the new device to the section \"ServerLayout\""
+ elog "like: InputDevice \"MouseREM\" \"SendCoreEvents\""
+ elog
+ elog "Enable the daemon with \"rc-update add mouseremote default\"."
+ elog
+ elog "Configure the daemon is run in /etc/conf.d/mouseremote."
+ elog
+ elog "See /usr/share/doc/${PF} on how to configure the buttons."
+}
diff --git a/app-misc/mswinurl_launcher/Manifest b/app-misc/mswinurl_launcher/Manifest
new file mode 100644
index 000000000000..6469d842795a
--- /dev/null
+++ b/app-misc/mswinurl_launcher/Manifest
@@ -0,0 +1,4 @@
+DIST mswinurl_launcher-1.0.tar.gz 1289 SHA256 687172bf0817fa3910da7b52cbbdcb0d5b2f95757f8b35db84884310355ae76e SHA512 60435b78dc88ff3e6f780ef42a975eaedc2f515168ba1c6c3fc8b38f87ea5ad4d70d975825877233bae1c5f9c6a521d1c12d301683c9e3e705d18c6c26ce4f86 WHIRLPOOL 46613a71002a842fc66993dc7007bcc3dcc144591abc0d4afb4802757b0bcf636ff9e73d0d16c0be5cf675aed8b5e7348e33a92ccc84f7ef30c9842952ad3d77
+EBUILD mswinurl_launcher-1.0.ebuild 1262 SHA256 c7febdbbcef525b90e43be797457c56bf3f4a8314eb2b31be94fa2d01eeb57c7 SHA512 c02406dd4dda8e19de8fa8eeec5788aff4b225197be20333a011347ef4fcae305ceddb0cef91892c769fd36126ac6a93f54d91138f4fb49561adbf2221317466 WHIRLPOOL 0e39d1bd7b4d8d5f00a53a6446b5cb5d50a3bb34b5bfb81347d06089bdc6421de40fd078617d3f1098d4858738339e84d7b0195c75da7233c1ef57bdf5c3515a
+MISC ChangeLog 1617 SHA256 f374ee4385509b5f28eef612f464d094708c9dc1b5aa7164c2374de261f05f35 SHA512 492a9ccf1838f5309fc16731a5da87f0b8eac00a4e4db8e22377f73ddafc3a336df4c95055c5e24fa862257c7fda0206f9dd7f126aaba224bcf6ebc86acfc92f WHIRLPOOL ab461452926575ed288569a08e2d3cfb238ad0a7374576d00a08ed0413bea79eb77620f14dbeb58752b3751173ebd30539a863e22a48063b799610ef49204d44
+MISC metadata.xml 471 SHA256 0e1250d7f8bb21d56c408405ae01b0744a3d1a1b456861544e1feae27d1fdf24 SHA512 b652b77215d654a98929762ac6d5780cd9ffc74a47b4dab349913228652a380ed876ce451558588533906f02ec06bb48ede0a937decb942b124933c1a1cfce34 WHIRLPOOL 0e0ed6337d7227028b6adc0afd4b762c94f4d35182aebb16b1282db3e9c6394559c136e6c27cc508dc20003ee78a556607b4ecbfbe6c9bc62154795485b5f3ce
diff --git a/app-misc/mswinurl_launcher/metadata.xml b/app-misc/mswinurl_launcher/metadata.xml
new file mode 100644
index 000000000000..6fa1cc244d22
--- /dev/null
+++ b/app-misc/mswinurl_launcher/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>axs@gentoo.org</email>
+ <description>Primary maintainer</description>
+</maintainer>
+<longdescription>
+This is a simple launcher script and .desktop entry to associate MS Windows *.URL (text/x-uri)
+files on linux DEs so that they will open in the configured default web browser.</longdescription>
+</pkgmetadata>
diff --git a/app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild b/app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild
new file mode 100644
index 000000000000..2faf9f6a54d6
--- /dev/null
+++ b/app-misc/mswinurl_launcher/mswinurl_launcher-1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils fdo-mime python-r1
+
+GIST_STRING="77635-a46707715aa2e112d2ea5ec26771030ff5e7eb64"
+
+DESCRIPTION="Launcher and desktop association for MS Windows *.URL (text/x-uri) files"
+HOMEPAGE="https://gist.github.com/endolith/77635"
+SRC_URI="https://gist.github.com/endolith/${GIST_STRING/-//archive/}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="mirror"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ dev-util/desktop-file-utils"
+
+S="${WORKDIR}"/$GIST_STRING
+
+src_install() {
+ dobin ${PN}.py
+ python_replicate_script "${ED%/}"/usr/bin/${PN}.py
+
+ cat <<DESKTOP_EOF >"${T}"/${PN}.desktop
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=MS Windows URL file launcher
+Comment=Python script to parse and launch .url files (html links) from MS Windows
+NoDisplay=true
+Terminal=false
+TryExec=mswinurl_launcher.py
+Exec=mswinurl_launcher.py %F
+Icon=text-html
+MimeType=text/x-uri;
+DESKTOP_EOF
+ domenu "${T}"/${PN}.desktop
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
diff --git a/app-misc/mtail/Manifest b/app-misc/mtail/Manifest
new file mode 100644
index 000000000000..ee79525429bb
--- /dev/null
+++ b/app-misc/mtail/Manifest
@@ -0,0 +1,7 @@
+AUX mtail-1.1.1-remove-blanks.patch 1850 SHA256 d480a148cd9c429ad4b358bbc963e844460ef07713cb6dd61d9fc9750ce8df63 SHA512 64720ec0253dfc88e58b0392bcb4c1eb2f367547d034f60722dc19b0093d5da3d40e847c69203080cd19126ab67f7fad3c2dccc7e6cc74f56c1d50f3dee805a4 WHIRLPOOL 547d5dcc6ad2d11f68889796e28ff616ade9fe06755bb2a6612d0ea435b9a11373fb93bae2210cc780e24cd0ccc8aa03d33d0e5c95346e60cc3d4d1b7b7cbe0a
+DIST mtail-1.1.1.tgz 9124 SHA256 1c82feb4ced3dc861497d4adc27a4d62d7002112bcfa24d1655348dda79bf3ab SHA512 987816ce5d12996192c881be1ac5a28c3457757e981ab35e657fb226c3980a22091c9fc85f68c13eb1c01939e08e492814b6a03c9b1f4f4bc1878c4f13ec8a0e WHIRLPOOL 2fbcbd3f3ab76dbbd801c898b8a9a32c636c02d69ddfcc505e280f7fcbb0aaa8e8f7f6c6f6fbdf05a753b460a086af573d25d5ba991ce3002d8047c9e69b5552
+DIST mtailrc-syslog.sample 1785 SHA256 3ec8e4fb26d138aab3e445d33adef5180db2a45eb65a942432c4c170840a3682 SHA512 d6bbaafa7c599f443c788697087ebef69a8e279b0715fa4e5b770531cbd254a646014fa98e5e5d444c48d23974201d36a856b34507a91e1b6abbb423f7015c75 WHIRLPOOL 40a6cf32c13aa86145570828e3cfbf2e6253ecdffc8103f86237286f170338e97aaf7087f6d3d25c6ffbbf3eb1afd1d41aa94a5266f8cd9181be756bbbe1b108
+EBUILD mtail-1.1.1-r3.ebuild 774 SHA256 1faadbb914502302545966ecab1e22f1c30b7cd7fa463bc65d12498dce86f40f SHA512 71ac79bf2bdb32e2a2f3111797c261053fd2a11211376bc7ed554e49bc7b6582a727f240af1565884949aaacf570da623694ecedf68e3ae5e93024e8befd39d0 WHIRLPOOL 37850ee6935b74351c5115be41f36dc60ccc21cffe95ac2e306585e50035333d46e24a5873f8d174d3dc42a3ab06bb6770ba4cd26665f07554710e231c35fbb8
+MISC ChangeLog 3159 SHA256 110c86e9f9ad8c48fdd352ac0cefa9195d631e793304dd1636d5bd830a0181ac SHA512 e54a0a43fda74bf3d34ea4b218948465d5bbe2f01cbf2512315d37adc137723fdf04bdd903f6dcc375681955ceb519ad1ba184a29c94a8d94d26951d8521e58f WHIRLPOOL b3d593889ae35b65dc30b2ceb98a64558c2ee0f63611f4715ce435d969839cec50f972c4d965b091bd4daff69d52dbc467076d1f931df4607df0cd4a5f13592b
+MISC ChangeLog-2015 2877 SHA256 86e4eded6c170f44695d80c1e9f89fdc9c4864a63f1080b5b0a2294055597c28 SHA512 02c3c19e090b8a80df5cfedc74261d2daa1ffb61c152549d78de0879eb9dcb97be0e0c870c8af1a9b686ce2c095a663de7c70be5cd8041e16a843686f75b7d5c WHIRLPOOL 6934fb9b2ee5adff888b489f40e5e0d621ccd417ef1b97a2e51739c95310a0a297e8a97834eb908f9b63e75f4168a8e5fa62020380667522a2aa75292c003f28
+MISC metadata.xml 642 SHA256 15f4836e5e17e670003cc3fb803741c687ae33d86faab258f345073d07d803ce SHA512 7de4bfd79c4dbd929950e191faf4ff6ab90426a0f604fddbdcbaf65d21d21d9a5ec7fb382dc95751ccda8e463bd189dbc07b4d29d92c9dab90e7eb955ace8e19 WHIRLPOOL 23579192221213a40df3f118d9233d3356c1da3bc32cc23d157c57c186446531f46915c5788c234c65b5f60f0e0d8fcc7827c5f23898761a0ad23a6bbf06ed41
diff --git a/app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch b/app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch
new file mode 100644
index 000000000000..9645e263deda
--- /dev/null
+++ b/app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch
@@ -0,0 +1,52 @@
+--- mtail.orig 2003-11-07 19:02:34.000000000 +0000
++++ mtail 2003-11-07 19:19:18.000000000 +0000
+@@ -46,6 +46,7 @@
+ verbose = 0
+ silent = 0
+ active = 0
++remove_blanks = 0
+
+ # sets up the interrupt handler, calls processargs(), sets up and starts the
+ # tailers.
+@@ -119,6 +120,8 @@
+ if line[len(line)-1] == '\n':
+ line = line[:len(line)-1]
+ line = filter(line)
++ if remove_blanks and not line:
++ continue
+ lock.acquire()
+ try:
+ if (multiple or verbose) and (not silent) \
+@@ -138,12 +141,14 @@
+ global verbose
+ global silent
+ global config_file
++ global remove_blanks
+ filenames = []
+ lines = None
+ follow = 0
+ try:
+ opts, pargs = getopt.getopt(sys.argv[1:], 'fn:?hvq', ["follow",
+- "lines=", "help", "verbose", "quiet", "silent", "config="])
++ "lines=", "help", "verbose", "quiet", "silent", "config=",
++ "remove-blanks"])
+ except getopt.error:
+ print 'unrecognized option!'
+ print
+@@ -163,6 +168,8 @@
+ silent = 1
+ elif opt[0] in ['--config']:
+ config_file = opt[1]
++ elif opt[0] in ['--remove-blanks']:
++ remove_blanks = 1
+ if lines == None:
+ lines = 10
+ for filename in pargs:
+@@ -186,6 +193,7 @@
+ print ' -v, --verbose always output headers giving file names'
+ print ' -q, --quiet, --silent never output headers giving file names'
+ print ' --config=FILE use config file FILE instead of ~/.mtailrc'
++ print ' --remove-blanks do not display blank lines'
+ print
+ print 'with more than one filename, mtail will precede each chunk from'
+ print 'each with a header giving the file name. if no filenames are given'
diff --git a/app-misc/mtail/metadata.xml b/app-misc/mtail/metadata.xml
new file mode 100644
index 000000000000..1215b29430c5
--- /dev/null
+++ b/app-misc/mtail/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ mtail is a small tail workalike that performs output coloring using
+ ansi escape sequences (although the sequences are overridable, so you
+ could cause it to output something else, e.g. html font tags, if you
+ really wanted to). mtail is written in python, is fairly small, and
+ should be relatively platform-independent.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/mtail/mtail-1.1.1-r3.ebuild b/app-misc/mtail/mtail-1.1.1-r3.ebuild
new file mode 100644
index 000000000000..1ab1926f586f
--- /dev/null
+++ b/app-misc/mtail/mtail-1.1.1-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1
+
+DESCRIPTION="Tail workalike, that performs output colourising"
+HOMEPAGE="http://matt.immute.net/src/mtail/"
+SRC_URI="http://matt.immute.net/src/mtail/mtail-${PV}.tgz
+ http://matt.immute.net/src/mtail/mtailrc-syslog.sample"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="alpha amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+RDEPEND=${PYTHON_DEPS}
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-remove-blanks.patch
+ python_fix_shebang .
+}
+
+src_install() {
+ dobin "${PN}"
+ dodoc CHANGES "${PN}rc.sample" README "${DISTDIR}"/mtailrc-syslog.sample || die
+}
diff --git a/app-misc/muttprint/Manifest b/app-misc/muttprint/Manifest
new file mode 100644
index 000000000000..113916025915
--- /dev/null
+++ b/app-misc/muttprint/Manifest
@@ -0,0 +1,9 @@
+AUX muttprint-0.73-fix-number-of-pages.patch 437 SHA256 d623362d595d9a50c09736090fe935b3af02c035fcd7588e09c2b4ad753ad4f5 SHA512 f19944d7969d9e180e86b6558b4255cfcb12dea01f4cd042682381d6dc0949e79eed439ba4daf62a41f53a2b5ed76f8f2d72c802bed879f26a2d2fa5cf054449 WHIRLPOOL f16da42f6ba1fe93b2cb0262f7a7bb7f680472a32cbb518ca6cdf08ac30abdd09ab47701bbd8b99544146522b3a1be4ff85a83e60a4082ea0b9d6b769d5265fa
+AUX muttprint-0.73-manuals.patch 5842 SHA256 3bbe46ee6daad9a34f65975787f97624484bdecec023ce048f70851e17a99f38 SHA512 7f9be903e004ab2e567c7af0a0a10963fe716377d82faf2c5c58edb7a80de363b74cd4ccb70886bb58a28e10a1dd476f41cc372d921cbb9a5f91b19fb3a8274f WHIRLPOOL f66fcee888c2e1a5ae3db86651232aa7afc32f4e1f20419c21ad08c4887b6aa71fff44b46535f413b27b3d054b96f7299d7189053f759139546d730db560bf88
+AUX muttprint-0.73-pod-encoding.patch 1305 SHA256 73e759e30769f95d2f2dc6d2e37899700c68500ab5793975f9a2aed4caa4ae07 SHA512 227188f17004b3c713bf81c165154e834a18fae9f3e0a461e4e5e267802ab4259556c51aecf00d62d8027b236a6490cd40d6dbcf55afcfde31e09771efe21b95 WHIRLPOOL 8f164c777135ec4bcb24561a3f1e4f5efb0076da356504506fde8352aeb0c46888dc0e9c3010547f116aa2d702dd93cb9d3890b7ed7159303396543c9b71e4dc
+AUX muttprint-0.73-warning.patch 404 SHA256 596a1d14fe2384814c80e98c71868c705ea203d772c332b596e7ba2412dc7443 SHA512 4f39fb455c0f99a68b2c004556377c5c385ecf136ae5a317fc1418497bfa28d0965e8b4572897a74da651b75c17cbebe0e12cb37950f8a45cb3b2c4205f65bd5 WHIRLPOOL 9ffb326a2ec61eb312edb49e1431f89f4d356a1f904ed3485cf053f5b6f020070d5931cd80b1d9047cd96d05530aa1f8e2850a1db44292f6f81f300a7a1e58a1
+DIST muttprint-0.73.tar.gz 361268 SHA256 7cabe6a0aa59849f84914a2da33320611a2fcf5896b94ff957cfade8a325deb6 SHA512 607bdbee769e6d3a954979f15f017875a70078462bdbd747ff65dc3ac61fda3a0c32b261430faab8e457d6781b03d9f266ae2d21cdbdd058a7635ba9ddd27834 WHIRLPOOL 19cbef9d33717d4c16b6bb90204b98485b530e99cefa5535850deecb50a5aba5c639f72979b05d5b53b1b475c6a8df60cd6c49c85c43c2eb3357b3880b2b6975
+EBUILD muttprint-0.73-r4.ebuild 1749 SHA256 7ce01445cfb42c0e23323fad348ad5b7c9a62f499dd4446cb875a109b065bfc4 SHA512 9cc56828a72af4684403853f88dd28c59d78173135500f4d52e8009aa9d49f81382db6bf73b5f569c71ccb0e655b7ac05fa4b9070610ebe3907dfdf54b61bd9e WHIRLPOOL 3aa1746d3a555bb92ce2c5ae260a03703abf9b61a34cf51bfce43082719557a43293a461da50dbb5c9bf93a65eb6e2810911e96d6f050381100a4e16ef4da47b
+MISC ChangeLog 3549 SHA256 4f01562d3cfcfcb7a5d3848b82e29b12388dcd4c6d5b0dd1ec5e5ce69839fc0d SHA512 e278f48a58a1355f8380a45bb3a264e6113a40a7d3610225afda0337005af6a3c534a862f11cdaf1033e29edefed861a1b7858ee450c67fb5f3cd3d707d87b2f WHIRLPOOL 3399e6cc008fc15eefe840ab3ea757aeafadce24774e7373aeca3d624248d911b37e607d6a5d66c71a430f8b3b6f17faa7cffc98e1813aa4cc004a34f8edba80
+MISC ChangeLog-2015 9770 SHA256 cc7242158dac01dad7c73fd6ed6032363ac277fa5ce1ffe008f0e5f2bc74cb44 SHA512 eff077a698c622f8ce96697cd0f22333cc90379a8d3a84b8bad7dc856f2130c470dffe8e7516092b9e836703925c77a0051ed9f16e486a4a3ec03b7b9bfe8db2 WHIRLPOOL 13adb5c2db307d7618f0280d03405eadb94118c2ff4ac4e62dac022a468407dbd188a450dca1f3070ff321271d88d125d81b5473e50c8357cd98bdd53cff9453
+MISC metadata.xml 553 SHA256 b3d3e38452bdfa845bcd73a672926f33ca0597cc7753d9d9abcd293007a52b32 SHA512 48239b719aa371cfaee986200e9d19c5950824c6f760c2cceec4df741fe19e2cb143e3e93bbb0fe3aa5ba9a65690d312d37c6819d2ef55a07d0c89880b9b3f0a WHIRLPOOL 95914cdd446bbb3a7d0e1b056b92c9c92e42e080333b908b48d64fa5223086f7f595a7d593430fa3dc0b5662c7e4800a7c610fd195dd3241d5b96425b05a0ae2
diff --git a/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch b/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
new file mode 100644
index 000000000000..0e7a4b4f94ff
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
@@ -0,0 +1,12 @@
+diff -Nuar a/muttprint b/muttprint
+--- a/muttprint 2016-09-23 10:03:48.870030157 +0200
++++ b/muttprint 2016-09-23 10:08:39.310036004 +0200
+@@ -1635,7 +1635,7 @@
+ open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";
+
+ while (<AUX>) {
+- ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
++ ($numberOfPages) = /\\newlabel\{LastPage}\{\{}\{(\d+)}}/;
+ }
+
+ close AUX or fatalError "Could not close $auxfile:\n$!";
diff --git a/app-misc/muttprint/files/muttprint-0.73-manuals.patch b/app-misc/muttprint/files/muttprint-0.73-manuals.patch
new file mode 100644
index 000000000000..57dd12dfa74f
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-0.73-manuals.patch
@@ -0,0 +1,140 @@
+diff -u -r a/doc/manual/en/manual-en.sgml b/doc/manual/en/manual-en.sgml
+--- a/doc/manual/en/manual-en.sgml 2005-05-16 14:38:51.000000000 +0200
++++ b/doc/manual/en/manual-en.sgml 2011-11-27 23:45:50.970890374 +0100
+@@ -191,6 +191,7 @@
+ <para>As mentioned above, there must be a small C program compiled. If you use Perl
+ 5.8 and/or Linux, you could skip this step. For this, just execute
+
++ </para>
+ <para>
+ <prompt>$ </prompt>
+ <userinput>make</userinput>
+@@ -278,7 +279,7 @@
+
+ <para>You have to add or change following line in the file
+ <Filename>$HOME/.muttrc</Filename> or system wide in
+- <FileName>##SYSCONFDIR##/Muttrc</FileName>:</para>
++ <FileName>/etc/Muttrc</FileName>:</para>
+
+ <ProgramListing>set print_command="muttprint"</ProgramListing>
+
+@@ -316,7 +317,7 @@
+ </ProgramListing>
+
+ <para>You'll find more information in the documentation of Mutt
+- (<Filename>##DOCDIR##/mutt/manual.txt(.gz)</Filename>).</para>
++ (<Filename>/usr/share/doc/muttprint/mutt/manual.txt(.gz)</Filename>).</para>
+
+ </sect3>
+
+@@ -345,7 +346,7 @@
+ <para>In the dialogue <GUImenu>Misc</GUImenu>, <GUImenuItem>Config
+ Misc</GUImenuItem> you have to do an entry in <GUIlabel>Print
+ Command</GUIlabel>:
+- <literal>##BINDIR##/muttprint -f $f</literal>.</para>
++ <literal>/usr/bin/muttprint -f $f</literal>.</para>
+
+
+ <Note>
+@@ -393,7 +394,7 @@
+ <para>You find the code in <filename>README.Gnus</filename> and I
+ would like to refer to this file in this manual. If you use
+ packages for the installation you should find this file in the
+- <filename>##DOCDIR##/muttprint/</filename>
++ <filename>/usr/share/doc/muttprint/muttprint/</filename>
+ directory.</para>
+ </sect3>
+
+@@ -445,7 +446,7 @@
+
+ <para>Some things could be configured in Muttprint. This is permanently
+ done in the configuration files <filename>$HOME/.muttprintrc</filename>
+- (only for the current user) or <filename>##SYSCONFDIR##/Muttprintrc</filename>
++ (only for the current user) or <filename>/etc/Muttprintrc</filename>
+ (global for all users). User settings override global settings.</para>
+
+ <para>You can also specify an additional configuration file with the
+@@ -466,7 +467,7 @@
+ <para>An example for a configuration file is distributed with
+ Muttprint (<filename>sample-muttprintrc</filename>). If you've
+ installed a RPM or Debian package, you'll find it in
+- <filename>##DOCDIR##/muttprint/</filename>.</para>
++ <filename>/usr/share/doc/muttprint/muttprint/</filename>.</para>
+
+ <para>An example for a correct assignment:</para>
+
+@@ -550,7 +551,7 @@
+
+ <para>Additionally, Muttprint comes with some example pictures that
+ are already converted into the EPS format. After the installation,
+- you'll find this in <filename>##SHAREDIR##/muttprint</filename>.</para>
++ you'll find this in <filename>/usr/share/muttprint</filename>.</para>
+
+ <para>If the printing of the graphic should turned off,
+ set <literal>PENGUIN</literal> to the value <literal>off</literal>.
+@@ -917,7 +918,7 @@
+ value. Possible are only <literal>A4</literal> and
+ <literal>letter</literal>.</para>
+
+- <para>If there exists a file <filename>##SYSCONFDIR##/papersize</filename> as
++ <para>If there exists a file <filename>/etc/papersize</filename> as
+ usually on Debian systems, it is evaluated, too. Own settings overwrite
+ this system settings.</para>
+
+@@ -1023,7 +1024,7 @@
+ <para>For this, you can assign the variable <literal>BACKGROUND</literal>
+ the value <literal>on</literal>. In the debug mode (see <xref
+ linkend="debug">) this option has no effect.</para>
+-
++ </sect3>
+ <sect3 id="debug">
+ <title>Error messages</title>
+
+diff -u -r a/doc/manual/it/manual-it.sgml b/doc/manual/it/manual-it.sgml
+--- a/doc/manual/it/manual-it.sgml 2005-05-16 14:38:51.000000000 +0200
++++ b/doc/manual/it/manual-it.sgml 2011-11-27 23:45:33.378110313 +0100
+@@ -264,7 +264,7 @@
+
+ <para>Puoi trovere maggiori informazioni nelle documentazione di
+ Mutt
+- (<Filename>##DOCDIR##/mutt/manual.txt(.gz)</Filename>).</para>
++ (<Filename>/usr/share/doc/muttprint/mutt/manual.txt(.gz)</Filename>).</para>
+
+ </sect3>
+
+@@ -296,7 +296,7 @@
+ <para>Nel dialogo <GUImenu>Misc</GUImenu>, <GUImenuItem>Config
+ Misc</GUImenuItem> devi settare una entry in <GUIlabel>Print
+ Command</GUIlabel>:
+- <literal>##BINDIR##/muttprint -f $f</literal>.</para>
++ <literal>/usr/bin/muttprint -f $f</literal>.</para>
+
+
+ <Note>
+@@ -345,7 +345,7 @@
+ <para>Poui trovare il codice in <filename>README.Gnus</filename> e
+ preferirei far riferimento a questo file per questo manuale.
+ Se usi i pacchetti per l'installazione dovresti trovare
+- questo file in <filename>##DOCDIR##/muttprint/</filename>.</para>
++ questo file in <filename>/usr/share/doc/muttprint/muttprint/</filename>.</para>
+ </sect3>
+
+ <sect3>
+@@ -874,7 +874,7 @@
+ Sono possibili solo <literal>A4</literal> e <literal>letter</literal>.
+ </para>
+
+- <para>Se è presente un file <filename>##SYSCONFDIR##/papersize</filename> come
++ <para>Se è presente un file <filename>/etc/papersize</filename> come
+ di soliuto nei sistemi Debian, viene anch'esso considerato.
+ Le proprie impostazione prevarranno su quelle di sistema.</para>
+
+@@ -1079,7 +1079,7 @@
+ <row>
+ <entry>ISO-8859-4</entry>
+ <entry><literal>latin4</literal></entry>
+- <entry>Lingue Europa sud-orientale ed altre lingue/entry>
++ <entry>Lingue Europa sud-orientale ed altre lingue</entry>
+ </row>
+ <row>
+ <entry>ISO-8859-9</entry>
diff --git a/app-misc/muttprint/files/muttprint-0.73-pod-encoding.patch b/app-misc/muttprint/files/muttprint-0.73-pod-encoding.patch
new file mode 100644
index 000000000000..1a939582c1bf
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-0.73-pod-encoding.patch
@@ -0,0 +1,36 @@
+diff -Nuar a/doc/manpages/de/muttprint.pod b/doc/manpages/de/muttprint.pod
+--- a/doc/manpages/de/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
++++ b/doc/manpages/de/muttprint.pod 2014-12-19 23:17:31.939783684 +0100
+@@ -1,3 +1,5 @@
++=encoding latin1
++
+ =head1 NAME
+
+ muttprint - schöner Ausdruck von Mails mit Mutt
+diff -Nuar a/doc/manpages/en/muttprint.pod b/doc/manpages/en/muttprint.pod
+--- a/doc/manpages/en/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
++++ b/doc/manpages/en/muttprint.pod 2014-12-19 23:17:15.219783778 +0100
+@@ -1,3 +1,5 @@
++=encoding latin1
++
+ =head1 NAME
+
+ muttprint - pretty printing of mails with Mutt
+diff -Nuar a/doc/manpages/es/muttprint.pod b/doc/manpages/es/muttprint.pod
+--- a/doc/manpages/es/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
++++ b/doc/manpages/es/muttprint.pod 2014-12-19 23:17:25.029783723 +0100
+@@ -1,3 +1,5 @@
++=encoding latin1
++
+ =head1 NOMBRE
+
+ muttprint - impresión elegante de mensajes de correo con Mutt
+diff -Nuar a/doc/manpages/it/muttprint.pod b/doc/manpages/it/muttprint.pod
+--- a/doc/manpages/it/muttprint.pod 2006-05-06 09:13:46.000000000 +0200
++++ b/doc/manpages/it/muttprint.pod 2014-12-19 23:17:39.779783640 +0100
+@@ -1,3 +1,5 @@
++=encoding latin1
++
+ =head1 NOME
+
+ muttprint - stampa raffinata della posta elettronica con Mutt
diff --git a/app-misc/muttprint/files/muttprint-0.73-warning.patch b/app-misc/muttprint/files/muttprint-0.73-warning.patch
new file mode 100644
index 000000000000..e17f658732d9
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-0.73-warning.patch
@@ -0,0 +1,20 @@
+diff -Nur a/muttprint b/muttprint
+--- a/muttprint 2012-04-28 13:46:46.109925472 +0200
++++ b/muttprint 2012-04-28 13:48:40.919924827 +0200
+@@ -740,6 +740,8 @@
+ }
+ }
+
++chdir($ENV{HOME}) || chdir('/');
++
+ ################################### ENDE ####################################
+
+
+@@ -1791,6 +1793,7 @@
+ output \*STDERR, $messageString;
+ }
+ }
++ chdir($ENV{HOME}) || chdir('/');
+ exit 1;
+ }
+
diff --git a/app-misc/muttprint/metadata.xml b/app-misc/muttprint/metadata.xml
new file mode 100644
index 000000000000..acd6628e6977
--- /dev/null
+++ b/app-misc/muttprint/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nimiux@gentoo.org</email>
+ <name>Chema Alonso</name>
+ </maintainer>
+ <longdescription lang="en">
+ Pretty printing of your mails
+ </longdescription>
+ <longdescription lang="es">
+ Impresión elegante de sus correos
+ </longdescription>
+ <use>
+ <flag name="doc">Builds documentation</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">muttprint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/muttprint/muttprint-0.73-r4.ebuild b/app-misc/muttprint/muttprint-0.73-r4.ebuild
new file mode 100644
index 000000000000..0c5c35c17679
--- /dev/null
+++ b/app-misc/muttprint/muttprint-0.73-r4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils eutils
+
+DESCRIPTION="Script for pretty printing of your mails"
+HOMEPAGE="http://muttprint.sourceforge.net"
+SRC_URI="mirror://sourceforge/muttprint/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="doc"
+
+DEPEND="dev-lang/perl
+ virtual/latex-base
+ dev-texlive/texlive-fontsextra
+ doc? (
+ app-text/dvipsk
+ app-text/docbook-sgml-utils[jadetex] )"
+
+RDEPEND="dev-lang/perl
+ dev-perl/TimeDate
+ dev-perl/Text-Iconv
+ virtual/latex-base
+ dev-texlive/texlive-latexextra"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+patch_docs() {
+ sed -i -e 's/db2pdf/docbook2pdf/' "${S}"/configure.ac || die
+ for l in de en es it sl
+ do
+ sed -i -e "/^docdir/s/$/-${PV}/" \
+ -e 's/db2/docbook2/' -e 's/ -s / -d /' \
+ -e "s|manual-${l}-sed/||" \
+ -e "s/mv manual-${l}-sed.dvi/cp manual-${l}-sed.dvi/" \
+ "${S}"/doc/manual/${l}/Makefile.am || die
+ done
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-warning.patch"
+ epatch "${FILESDIR}/${P}-manuals.patch"
+ epatch "${FILESDIR}/${P}-pod-encoding.patch"
+ epatch "${FILESDIR}/${P}-fix-number-of-pages.patch"
+
+ if use doc ; then
+ # Patch docbook and docdir
+ patch_docs
+ else
+ # Don't do manuals
+ sed -i -e '/db2pdf/d' "${S}"/configure.ac || die
+ fi
+ sed -i -e "/^docdir/s/$/-${PV}/" "${S}"/Makefile.am || die
+
+ # The distfile does not include the png files, nor penguin.jpg
+ sed -i -e '/.*png /d' -e '/penguin.jpg /d' "${S}"/pics/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="/usr/share/doc/${PF}"
+}
+
+src_compile() {
+ # Parallel build does not work when USE="doc"
+ emake -j1
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog
+}
diff --git a/app-misc/mvcase/Manifest b/app-misc/mvcase/Manifest
new file mode 100644
index 000000000000..3558c14aac4f
--- /dev/null
+++ b/app-misc/mvcase/Manifest
@@ -0,0 +1,7 @@
+AUX mvcase-0.1-flags.patch 531 SHA256 9bd38f4e347a3ae19f047b1ee8e2e949a626f5bf3fc4f0a1edef143789474738 SHA512 1731eacbd22438e4e888750ba5550b5d95365e2f396e3a59326c86d3cd8c20dc7a46490fd116ade13e6191a86966ebb77df4a5a2e10fb2961f45a0f9664a4b77 WHIRLPOOL 1872e31945c633ecde4be36965b2a2867b48ea2b56e0e08fb3b9613852ecbe32bf57780f38aa8deb6eee7c969c2b9b0f9ed1e6235048029ec97ef2a5fb7b4644
+AUX mvcase-0.1-includes.patch 526 SHA256 8e0b504f110241e1ff82dcf8d3475831d7df5a83324d6ab1f89b9b39abf0c5ef SHA512 1860cf88e66a4bc219546a87e337056f66a344d6ec400c21bf37c7d7d5b34fdddf3cf2ac7c05274f2c6f313ee7fd530240e1d2089e598b5154c8eb2c4dffa30f WHIRLPOOL 684b0e912a6749a53bf62c78b045432414e778ec9054aa343a230f9aa42befa78664a1679a0ac247f5a8d659e320df63e6a588e05084b63e550c082d18ddd5c6
+DIST mvcase-0.1.tar.gz 9467 SHA256 87eb97918fde3a740f4c4968b7fb737909de124ea89774d34c0201bd107c93a2 SHA512 1b6030d51cd0da7bede43f1b528c2b2cc713b3c6ca0ccbb4931672185998957aad1b2e0e78a78148c412b6a36052076caca3606016ad1404e6028442dff8648c WHIRLPOOL c47c1bcb8839478c72577481936a68b1a805f4bb4cdd7ec5770adc9c30862ef766483470f1e0a5677a04fe4dded2b4236a7f16eb76ef78a3414737aca7c44cab
+EBUILD mvcase-0.1-r1.ebuild 676 SHA256 b36f247d64be462f1571af01d0328a109be8b4abe04d5b1c53f2f4fa48f9623e SHA512 4fc782129c08e4fe83e997dd26c5d3ca7d81cee74767f96dbb93d26130ee094d12a50e9979092e327500dff2eb2932dc51f7438294a614040090f792298c5db5 WHIRLPOOL 78edeebf63658d483dc3a93432259234dc5cf4e74ac3f3767f424e0ebb8137ae02cc4d41611c81d29ca80d71696755788a8a041c019eeafa2f44be97186dfab3
+MISC ChangeLog 2588 SHA256 4f56da41dfde6a9a7859e1faad0af92fb8b8bc0d1ff8971e7875d44156be9788 SHA512 0d1b1a31ff29eed00c9e2cb833cb4f492fd613286294f40799e1c489617f3c07162c165c52cf7166a703b9fda5d22a0bfe6b40156ffa78e11decee7459932dc6 WHIRLPOOL bb479f625db31c07e7f9644a1c5ee6858a6e61ef05e6bf5005b91beb5864e8a47b9444df27b3a955df6609b46e48848998c4a82bdad4bd82279a80d9339fd769
+MISC ChangeLog-2015 1738 SHA256 1f23af0ceb3eb60bdd097bfb13dd491d3b3e09404c2363b1dcc4db6224d9cfcd SHA512 51356805e2c735a2bf113bd3577326fc54e6ef1bf54265cc8990b2fc51da27d613efc761638c114b2b04189d11950ea2b79a6c9a6b818e74702ac4a073788114 WHIRLPOOL aaef277c7e49c6e42a525a5de2b1d46a6b5b1abef8822c39dadbaa875ceaa807a124cf17a5d2fe3ea3c0022ef23699b30695dccfef39e5018b8d6aaa79829542
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/mvcase/files/mvcase-0.1-flags.patch b/app-misc/mvcase/files/mvcase-0.1-flags.patch
new file mode 100644
index 000000000000..e0a9e99160f8
--- /dev/null
+++ b/app-misc/mvcase/files/mvcase-0.1-flags.patch
@@ -0,0 +1,25 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Nov 14 23:22:15 UTC 2012
+Subject: build system
+
+ respect CC, CFLAGS and LDFLAGS
+
+--- mvcase-0.1/Makefile
++++ mvcase-0.1/Makefile
+@@ -6,14 +6,13 @@
+ MANPATH=/usr/man
+ COMPILE=gcc
+ ROFF=groff
+-CFLAGS=
+-CLIBS=-lshhopt
++LIBS=-lshhopt
+ INSTALL=install
+
+ all: mvcase mvcase.1.gz
+
+ mvcase: mvcase.c
+- $(COMPILE) $(CFLAGS) mvcase.c -o mvcase $(CLIBS)
++ $(CC) $(CFLAGS) mvcase.c -o mvcase $(LDFLAGS) $(LIBS)
+
+ mvcase.1.gz: mvcase.1
+ $(ROFF) -man -Tascii mvcase.1 | gzip > mvcase.1.gz
diff --git a/app-misc/mvcase/files/mvcase-0.1-includes.patch b/app-misc/mvcase/files/mvcase-0.1-includes.patch
new file mode 100644
index 000000000000..095f07a06780
--- /dev/null
+++ b/app-misc/mvcase/files/mvcase-0.1-includes.patch
@@ -0,0 +1,25 @@
+* Fix compiler warnings.
+* Remove unused variable.
+
+--- a/mvcase.c
++++ b/mvcase.c
+@@ -17,6 +17,10 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h> /* exit() free() realloc() */
++#include <string.h> /* strlen() strcpy() */
++#include <strings.h> /* rindex() */
++#include <ctype.h> /* tolower() toupper() */
+ #include <shhopt.h>
+
+ #define VERSION_INT 0
+@@ -45,7 +45,7 @@
+
+ int main (int argc, char **argv)
+ {
+- int i,j,k;
++ int i,j;
+ int static flag_upper = 0;
+ int static flag_lower = 0;
+ int static flag_path = 0;
diff --git a/app-misc/mvcase/metadata.xml b/app-misc/mvcase/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/mvcase/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/mvcase/mvcase-0.1-r1.ebuild b/app-misc/mvcase/mvcase-0.1-r1.ebuild
new file mode 100644
index 000000000000..817386ef3781
--- /dev/null
+++ b/app-misc/mvcase/mvcase-0.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A modified version of mv, used to convert filenames to lower/upper case"
+HOMEPAGE="http://www.ibiblio.org/pub/Linux/utils/file"
+SRC_URI="http://www.ibiblio.org/pub/Linux/utils/file/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="dev-libs/shhopt"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-includes.patch \
+ "${FILESDIR}"/${P}-flags.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ dobin mvcase || die
+ doman mvcase.1
+ dodoc INSTALL
+}
diff --git a/app-misc/neofetch/Manifest b/app-misc/neofetch/Manifest
new file mode 100644
index 000000000000..06009c2c2169
--- /dev/null
+++ b/app-misc/neofetch/Manifest
@@ -0,0 +1,11 @@
+DIST neofetch-3.0.1.tar.gz 66571 SHA256 31447da6507c13c44eb2006901c00ed4ca08f0423d9439aaddea64edcaca2c38 SHA512 e9353d61226dcb4f8161556ba07156ea13737d6cde05f00b39a85e4a2f54716db833e8be076c56168b7003230ef42dfa9b9223c0ab930456a664a9a2c31cf2ad WHIRLPOOL a4b241d611afc31395f4f228937e744257ded55f551d0cfc7193c8269d7174e47861489c1306f27a0d9a9e59acf340b37aa30f7919e59a2855c11732edc323c0
+DIST neofetch-3.1.0.tar.gz 68930 SHA256 db7afe24d859b9c8230c3491640d996701816ddc9cf66f98a5071775e8b4ffe5 SHA512 0a13acadf1841c1e714c07f9643028446a1f4df6a79e7c3189c4c11d8854813dfbb983784d62dc59a9209893ee2339ca5642fe413d1066a5cb6e9e167ae74975 WHIRLPOOL 0a11065f48d76c46854f65972e9d658fffcbc7e9023f61920fa756153860b5d06c05da005cdb2e61616649ecfaecd4122fcea2e4c4b899a751193838b9542aae
+DIST neofetch-3.2.0.tar.gz 71331 SHA256 6aecd51c165a36692b4f6481b3071ab936aafc3fccffabbbfda140567f16431d SHA512 790dd282b99437a416f25a895d5a3359be31d162447e2f59863c635c144045a6b81672e4469ca9b6eeba56fc927e787a67f0a317309bbc0f52500b0f9e072764 WHIRLPOOL 5494b97611f08297ec38893e38d06a6d2806a1bc00704b7334d64ba3322deb30d08d453ed85d817ff8f42a163d71580d2d6785a6f1c15443b92ebe826842b575
+DIST neofetch-3.3.0.tar.gz 76325 SHA256 4808e76bd81da3602cb5be7e01dfed8223b1109e2792755dd0d54126014ee696 SHA512 aa220f3d177a3f58e7cb665209e6bd70334eb3d2daccf7ec9cb32353b8c23f53e000f7d412422c8d5fcf1132b39f4a9dc51141ed7359f45c1f0f7a189853baf0 WHIRLPOOL 33f218bc55c3bbd82c8ced2b13a7861148d00092237626263603a68719f18e8745b9aea0ef318f4e615333af9a463a30b48a92b4afe74af1a3c60fe4765197fe
+EBUILD neofetch-3.0.1.ebuild 912 SHA256 3a4d4229ae4c5dd3a29afd14f258476c43d94973d54304e1c03f240ebc38e714 SHA512 f8ca26243ee92ef9607ec0f2ea11a47db3f770861dec53b434f01f17806b4f964aa3780db74c1c97fed7f2b9c7dfbade276c63aec3f4e9b17a3490f333253185 WHIRLPOOL 94bd3d5b879f87dc75222625618f0a4ca102741ae6230a862f05f07746b3ba076aa8e66512f3b26042f7b599af88199cf01318396284013c05f5f12aad1fc3cb
+EBUILD neofetch-3.1.0.ebuild 518 SHA256 2a6f83e0c384da9e63e717be3ed960eaf813805cd29adbecc11b4cf96dda602d SHA512 a47a3a932714aee7e3abb3806bf67992d97f9e66250bf17f2dd90d8507f7d5b1e04b923f0acbfba28a93b7a08f21030f71d19289fd42ca0b3041df636d08faa7 WHIRLPOOL 90f55dca0f298cbe2ef522e3c9a61d9f1d0dfa65b2b8645e9c67ffa36267283fdb7db731aa7545a71826192b742f34354c10de11c1947a260a4ab0ead0b493fa
+EBUILD neofetch-3.2.0.ebuild 518 SHA256 2a6f83e0c384da9e63e717be3ed960eaf813805cd29adbecc11b4cf96dda602d SHA512 a47a3a932714aee7e3abb3806bf67992d97f9e66250bf17f2dd90d8507f7d5b1e04b923f0acbfba28a93b7a08f21030f71d19289fd42ca0b3041df636d08faa7 WHIRLPOOL 90f55dca0f298cbe2ef522e3c9a61d9f1d0dfa65b2b8645e9c67ffa36267283fdb7db731aa7545a71826192b742f34354c10de11c1947a260a4ab0ead0b493fa
+EBUILD neofetch-3.3.0.ebuild 518 SHA256 2a6f83e0c384da9e63e717be3ed960eaf813805cd29adbecc11b4cf96dda602d SHA512 a47a3a932714aee7e3abb3806bf67992d97f9e66250bf17f2dd90d8507f7d5b1e04b923f0acbfba28a93b7a08f21030f71d19289fd42ca0b3041df636d08faa7 WHIRLPOOL 90f55dca0f298cbe2ef522e3c9a61d9f1d0dfa65b2b8645e9c67ffa36267283fdb7db731aa7545a71826192b742f34354c10de11c1947a260a4ab0ead0b493fa
+EBUILD neofetch-9999.ebuild 489 SHA256 49d5a4d0031453fda3760e27693865d571e53cb4f3b83c761c00adcd3e76a1e7 SHA512 e293dea28a15013729353876565e10636de071fae44260180b563324b2b760e189019d39b216cfd0a2912cf09a70cececc2a391cce625c018f0c500e91a6f11b WHIRLPOOL e562a97df3e8adfce239fb65532927af50fc1a26160493f48f828c877edc9b519e9f665431f62fc727a2286c3402a0c0b48edc367e5355ab281b9c8518354307
+MISC ChangeLog 1857 SHA256 3b4bd6d8042fafef55bedd25c3593e918f85026a648eb182205994365bcf7a49 SHA512 cbe59216dfac33d7ecdf81cc99b620a17dc5bfac51242d087b7c6a61299f6f34597801fe674c96b1900c84464e9a35ff15ad85b95defaf8322666cbe5dba2b5d WHIRLPOOL e75f860db0dd4f14c958498fc59e8284375f8da54e85c5e817c13d49e03b03f156033d6fb622af2a96c7888a94e13efcabff35a3addfbdd2c04be994cdf6a61d
+MISC metadata.xml 816 SHA256 396e12295e896c615dabefcca469f574de184805a5f03dab8ca87d822acaa3cd SHA512 c25f8072a2d86b13b31df6e78f037212df3ed28a13a7c954f8d6f59cdf15eb08b5c347ee4ef4b362935f983361b07883aff05b7454a0e2d41f511404e1ca9702 WHIRLPOOL f282edc84a3732b3e1033abba2cb56484de0187f9c0bb7e7fa3d35db639c7f204dcd9788ce703a5b9b51900415c5a863aa33467c4b6b490c879dd5335cfc8c5a
diff --git a/app-misc/neofetch/metadata.xml b/app-misc/neofetch/metadata.xml
new file mode 100644
index 000000000000..79ffa66291e0
--- /dev/null
+++ b/app-misc/neofetch/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>herdiansyah@openmailbox.org</email>
+ <name>Muhammad Herdiansyah</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ neofetch is a script that gathers information about your system and
+ prints it to the terminal next to an image, a distro's logo or any
+ ASCII art of your choice.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">dylanaraps/neofetch</remote-id>
+ </upstream>
+ <use>
+ <flag name="X">Enable support for detecting DEs, WMs, screen resolutions, and showing images from an X terminal</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/neofetch/neofetch-3.0.1.ebuild b/app-misc/neofetch/neofetch-3.0.1.ebuild
new file mode 100644
index 000000000000..ed8aa03c69f9
--- /dev/null
+++ b/app-misc/neofetch/neofetch-3.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Simple information system script"
+HOMEPAGE="https://github.com/dylanaraps/neofetch"
+SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="sys-apps/pciutils
+ X? (
+ x11-apps/xprop
+ x11-apps/xwininfo
+ x11-apps/xrandr
+ www-client/w3m[imlib]
+ media-libs/imlib2
+ media-gfx/imagemagick
+ )"
+
+pkg_postinst() {
+ ewarn "A lot of things have changed in neofetch 3.0, and we cannot"
+ ewarn "guarantee that your config will work in neofetch 3.0. As such,"
+ ewarn "we recommend you to use a new config. You can delete your current"
+ ewarn "config from $HOME/.config/neofetch"
+
+ einfo "The system-wide config has been moved from /usr/share/neofetch/config"
+ einfo "to /etc/neofetch/config."
+}
diff --git a/app-misc/neofetch/neofetch-3.1.0.ebuild b/app-misc/neofetch/neofetch-3.1.0.ebuild
new file mode 100644
index 000000000000..74d58f581757
--- /dev/null
+++ b/app-misc/neofetch/neofetch-3.1.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Simple information system script"
+HOMEPAGE="https://github.com/dylanaraps/neofetch"
+SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="sys-apps/pciutils
+ X? (
+ x11-apps/xprop
+ x11-apps/xwininfo
+ x11-apps/xrandr
+ www-client/w3m[imlib]
+ media-libs/imlib2
+ media-gfx/imagemagick
+ )"
diff --git a/app-misc/neofetch/neofetch-3.2.0.ebuild b/app-misc/neofetch/neofetch-3.2.0.ebuild
new file mode 100644
index 000000000000..74d58f581757
--- /dev/null
+++ b/app-misc/neofetch/neofetch-3.2.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Simple information system script"
+HOMEPAGE="https://github.com/dylanaraps/neofetch"
+SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="sys-apps/pciutils
+ X? (
+ x11-apps/xprop
+ x11-apps/xwininfo
+ x11-apps/xrandr
+ www-client/w3m[imlib]
+ media-libs/imlib2
+ media-gfx/imagemagick
+ )"
diff --git a/app-misc/neofetch/neofetch-3.3.0.ebuild b/app-misc/neofetch/neofetch-3.3.0.ebuild
new file mode 100644
index 000000000000..74d58f581757
--- /dev/null
+++ b/app-misc/neofetch/neofetch-3.3.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Simple information system script"
+HOMEPAGE="https://github.com/dylanaraps/neofetch"
+SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="sys-apps/pciutils
+ X? (
+ x11-apps/xprop
+ x11-apps/xwininfo
+ x11-apps/xrandr
+ www-client/w3m[imlib]
+ media-libs/imlib2
+ media-gfx/imagemagick
+ )"
diff --git a/app-misc/neofetch/neofetch-9999.ebuild b/app-misc/neofetch/neofetch-9999.ebuild
new file mode 100644
index 000000000000..6a5cf4e804aa
--- /dev/null
+++ b/app-misc/neofetch/neofetch-9999.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3
+DESCRIPTION="Simple information system script"
+HOMEPAGE="https://github.com/dylanaraps/neofetch"
+EGIT_REPO_URI="https://github.com/dylanaraps/neofetch.git"
+LICENSE="MIT-with-advertising"
+SLOT="0"
+IUSE="X"
+
+RDEPEND="sys-apps/pciutils
+ X? ( x11-apps/xprop
+ x11-apps/xwininfo
+ x11-apps/xrandr
+ www-client/w3m[imlib]
+ media-libs/imlib2
+ media-gfx/imagemagick
+)"
diff --git a/app-misc/no-more-secrets/Manifest b/app-misc/no-more-secrets/Manifest
new file mode 100644
index 000000000000..f2e94f7da102
--- /dev/null
+++ b/app-misc/no-more-secrets/Manifest
@@ -0,0 +1,3 @@
+EBUILD no-more-secrets-9999.ebuild 758 SHA256 c4aebac2fb608c48306402444babfd74da919bee68bc096af346ad957aaa86d3 SHA512 eb8b8c5203b3b74066b92a8476736108e3fb5a7de882537660786e649b735b49cceddec0162cf64b307af1202a0ab45469f938ef988a192bc6f485c219c3a782 WHIRLPOOL 3536a687d4c890d480c7ac93d3c4e68ccb03abb1da576bdb3f4c8b654043e32f3af2d6978c4d819b8a128665e0aafe32aabf29d3a81603232c7830cad21a668b
+MISC ChangeLog 378 SHA256 a2cbb94f0b136b7a44701a771cd248a4079f86564e77ecc0ad39c07eabe4568e SHA512 39a9546d74f51dba4545629acc21b17d4d04ec9f3dc3409713ed6863a3b0ad243751845370ebd0275843a41ebbae971f1019de173d3142c8a06e930fda6700c0 WHIRLPOOL fdaba296011155804069da4b055b68a513292e1ad3d8bb03aeb3338478b00a6a810aaccbaebd4a115aa04a65516babc6ea5f881c0399dc5651969958aa1bbf12
+MISC metadata.xml 345 SHA256 e835c5a8fffa045c1d659848aaf0b9abece5302d28b0785c7a2696edb25d73b5 SHA512 2c2f1a4ae570e82d6fb1afe0f61478ad6ab1dd053695de51ac0e336374a63313921d4fde0895dec2bfbfaa2c0a6873d49a58ea525ff28cfe25fd32cf7aaac66e WHIRLPOOL 678dee1b7df1ca1851178c79741ea9103c03651e61c6176d01bb0ebda34c834cd22783007a68eb37b7f9d32155d2306e62f326db3d291fef97bd2f659e4f8e14
diff --git a/app-misc/no-more-secrets/metadata.xml b/app-misc/no-more-secrets/metadata.xml
new file mode 100644
index 000000000000..1255b6a8cd15
--- /dev/null
+++ b/app-misc/no-more-secrets/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bartobri/no-more-secrets</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/no-more-secrets/no-more-secrets-9999.ebuild b/app-misc/no-more-secrets/no-more-secrets-9999.ebuild
new file mode 100644
index 000000000000..d5955c438a05
--- /dev/null
+++ b/app-misc/no-more-secrets/no-more-secrets-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+#if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/bartobri/${PN}.git"
+ SRC_URI=""
+ inherit git-r3
+ KEYWORDS=""
+#else
+# SRC_URI=""
+# KEYWORDS=""
+#fi
+
+DESCRIPTION="recreate decrypting text from 1992 movie 'Sneakers'"
+HOMEPAGE="https://github.com/bartobri/no-more-secrets"
+
+LICENSE="GPL-3"
+SLOT=0
+
+DEPEND="sys-libs/ncurses:0="
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i 's#CC =#CC ?=#' Makefile
+ sed -i 's#prefix =#prefix ?=#' Makefile
+ sed -i 's#CFLAGS =#CFLAGS ?=#' Makefile
+}
+
+src_compile() {
+ CC=$(tc-getCC) CFLAGS=${CFLAGS} emake
+}
+
+src_install() {
+ prefix=/usr DESTDIR="${ED}" emake install
+}
diff --git a/app-misc/note/Manifest b/app-misc/note/Manifest
new file mode 100644
index 000000000000..3d09fd7963ca
--- /dev/null
+++ b/app-misc/note/Manifest
@@ -0,0 +1,5 @@
+DIST note-1.3.3.tar.gz 42691 SHA256 5287906338554a1ea06105048b5b6c5457076e44475a58e43433be775c108365 SHA512 99744394084eec3bf84ecef10b2bc294375f18f6ce41614316c4f4bc02a73297f4b3a956f48fb424bb0b0f100ea23debea49c1029887ca52043dd733de0fcfad WHIRLPOOL 67fece1ca8b63685e3bd587c8831cdf021c771e498eaeb690423dfafe2d6d5a25940f2f0f047ec681320dd9610f7b9e24f42587b7d99819ecf1f2390fb3d42bf
+EBUILD note-1.3.3-r1.ebuild 1231 SHA256 4b3ded2218346430194bd30728c3799329ce2f4cadf39ddc800d390c601eecbd SHA512 3510b02d469fc064209e3534db4353c51cd5057ab329d1cde7fa363e1b1a89ddf18b1ec3e7ee15b6b98eb563a93c48a053558a043a5313696261081f16174c2f WHIRLPOOL 385e4e4e632ba2e697cb1d4beaabe4dffd7d5ec51a09caff4185e926e9b30ef35bb32d6f19921df5f6ef5e776c7def9fb2dc131e88bfffe0e8b06236054f93a3
+MISC ChangeLog 3052 SHA256 08a8cae7e5039ec33e9432cb754e792173ecd59ebd5d077fbddc01c636249bf2 SHA512 6aa016d93a8010bd3f53e50779f55a71497e423250adbf3c300c5b80ddd62d4495683205f49d44f021c7f25eee0cb49c299c8eb4fb8242ba8971bde3228043e0 WHIRLPOOL 147cdd663fea4acb006a41799307671c8cd0b244041599c117025414c5e7f5ff70587dcb7e340e89f0d715374be1fcab71791f089fc80fede13c42feb62f5530
+MISC ChangeLog-2015 3339 SHA256 b19194a5c6358403da780ff8de17538cabc4cdbdeae88be8329a36f11542cb04 SHA512 06035e505340e698bfb8b7f9ce9969a1f18fae33439f2fe0a7526130310ea163af7dd72081d6845d619b7597c9974f398d3fef5b9f9af9f94388b3530e6ebd12 WHIRLPOOL 723df33eed65137902a743927c02c7a14ad25c07a1d94adc522ad635d8bb9a4939b3daefbecc4ec5bbdd61ad2b7b43ff97687a3a6934f31e672220d1cf192821
+MISC metadata.xml 304 SHA256 2c045149aa37cddb4611b65767f0ab41efde76abbf25d4e591fec1992836998f SHA512 0f0f283bc7066279d7d9dc7e9148173b1f7c5efdae22cf9013e6b04d15f68889016fb1c856d0a7906961023aaa7c302f93b8c5d2a0f65a4a333d318f699c70bc WHIRLPOOL 725138ff71a55da105a5d2609256d0e7f4ebc567d3e0861d2c0f2c78006f9284b8dba1b5968552ecfdf25cbba74f9ecd0a5c9e8cbd0407291f7f804652af70f9
diff --git a/app-misc/note/metadata.xml b/app-misc/note/metadata.xml
new file mode 100644
index 000000000000..83abb215223d
--- /dev/null
+++ b/app-misc/note/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<use>
+ <flag name="general">Add support for ascii flatfile backend</flag>
+ <flag name="text">Add support for text backend</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/note/note-1.3.3-r1.ebuild b/app-misc/note/note-1.3.3-r1.ebuild
new file mode 100644
index 000000000000..35fba906d5da
--- /dev/null
+++ b/app-misc/note/note-1.3.3-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A note taking perl program"
+HOMEPAGE="http://www.daemon.de/NOTE"
+SRC_URI="http://www.daemon.de/files/mirror/ftp.daemon.de/scip/Apps/note/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="crypt dbm general mysql text"
+
+DEPEND="dev-perl/TermReadKey
+ dev-perl/Term-ReadLine-Perl
+ virtual/perl-Storable
+ dev-perl/Config-General
+ crypt? ( dev-perl/Crypt-CBC
+ dev-perl/Crypt-Blowfish
+ dev-perl/Crypt-DES )
+ mysql? ( virtual/mysql
+ dev-perl/DBD-mysql )"
+RDEPEND=""
+
+src_install() {
+ perl-module_src_install
+
+ # Adding some basic utitily for testing note
+ dodir /usr/share/${PN}
+ cp "${S}/bin/stresstest.sh" "${D}/usr/share/${PN}"
+
+ # Adding some help for mysql backend driver
+ if use mysql; then
+ dodir /usr/share/${PN}/mysql
+ cp -r "${S}/mysql" "${D}/usr/share/${PN}"
+ fi
+
+ # Adding a sample configuration file
+ dodir /etc
+ cp "${S}/config/noterc" "${D}/etc"
+
+ # Supressing file not needed
+ for v in mysql text dbm general; do
+ if ! use ${v}; then
+ for u in `find "${D}" -type f -name *${v}.*pm`; do
+ rm "${u}"
+ done
+ fi
+ done
+
+ dodoc UPGRADE VERSION
+}
diff --git a/app-misc/nullmodem/Manifest b/app-misc/nullmodem/Manifest
new file mode 100644
index 000000000000..6554caff0403
--- /dev/null
+++ b/app-misc/nullmodem/Manifest
@@ -0,0 +1,5 @@
+DIST nullmodem-0.0.6.tar.gz 350584 SHA256 230dc2dcfd428757af080648be0bc01ebba99fb56c9571d4d53cf84f3b338cd3 SHA512 d87c4ceaaa16f67c4ddc42d86f8ed81f0e14e1180b25e9000868f715b2f553d0cc165812d1f945a83486cf1c356c1303682eb17fb12632252d28bcb84edeec7c WHIRLPOOL af4edf6bbe69f3e7bac6c8102409698fad27577ab5ce3729d1b6b63fc54081be95bc746abf5326f5dd4906bc2fb8f100c62527b1b39f08b64e122bf4bb1bcf16
+EBUILD nullmodem-0.0.6.ebuild 462 SHA256 8f5dd37b28945a64dc55ef50df2a6f66451c3caee606d9a1eae06774a04601d3 SHA512 415c17279ed703159a3b89b764d36454be00adc7eb8ae3098c0a6ee87f1f61bfd3b779bb8b596c11b36a0fbee6ee3baa1f48b0346f465cdd28df7a3ab5d469a8 WHIRLPOOL 8976c341977706ec8d8958c711b9ce7ede0e859573231f07118f7dbb12158bc4a90d6bfb7b5c5a644953a1e6e4fa7866265cebf4122902a52d7bfbf46ef80895
+MISC ChangeLog 2182 SHA256 bd1847e2264e00095de13fc2cac8cad6ca293cd6821551e2da39fc61ba60a2d7 SHA512 f7283ad49a1dcb1ab3bfaa645115f67b474174a0279efa55eecafce421e781378cd88c6f43488e2b3d1b5c6686fbc2198b60b59d04461ee7a688475775df67a0 WHIRLPOOL 82f1caca05568d71ba2e4a3bce6ddbf02d5a4d6d58dfc474d5dd7a62988aa127bbda93b836ba94b40f657579954f361903700c96fb3046e0c4eca33ba2038cde
+MISC ChangeLog-2015 984 SHA256 a25a50b843c2b87547633bf4d3a97bfcf59ad273755ae8f716f567e153d5ab07 SHA512 22fe014b3ff9622f2ded907dc7a33db39286d085b23e7b96057be904316acab98527744df1b51dbe7dc9c857b7a8a9dbb95707bcce8182bcd8d1bc851a22c849 WHIRLPOOL 8c50412f4008714ea2930e8ec96565fa3ab4d1b89a660a50efac6ac91e52dfdf246269e9221afb3c5186fc9ff88f66ec2c87f4d24dc9639b875de8fd15cae427
+MISC metadata.xml 1054 SHA256 7abe2f8da0fa81a91dc012a6fd6a4f415ba36cee4b4aaa8c244c8bba864d02b9 SHA512 3bcee62e26aa142670a2450cb22a731e987d4d77a29720c3f33e46f36ba7f4c3bca1a86adf3e9be03ebd63f49ec1896a01087138349e29578c9028d52c748eb1 WHIRLPOOL 8025901f00085fc529938ce5ed861b8bce7162523fba19eac791cdf64d326c8ca70f4f99e0fec879a428aa4c025586a08b65bf113cb4df173492d5920fe6f99b
diff --git a/app-misc/nullmodem/metadata.xml b/app-misc/nullmodem/metadata.xml
new file mode 100644
index 000000000000..815e2658c87a
--- /dev/null
+++ b/app-misc/nullmodem/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>tomjbe@gentoo.org</email>
+</maintainer>
+<longdescription>
+Pseudo-Terminals (ptys) are a type of interprocess communication with a master
+and a slave end. One program (in our case nullmodem) opens the master sides of
+connections and therefore provides connectible slave sides of connections.
+If nullmodem receives some data on one of these connections it retransmits them
+on all other connections. It can be seen as a network with star-type wiring.
+Because the names of the slave side ptys are dynamic, nullmodem creates
+symbolic links to filenames of your choice.
+e.g. the command nullmodem /tmp/loop0 /tmp/loop1 /tmp/loop2
+creates a pty-network with 3 slave sides linked to the names /tmp/loop0,
+/tmp/loop1 and /tmp/loop2.
+If you close a slave side connection nullmodem will detect this and provide
+a new stub to connect to and update the symbolic link.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/nullmodem/nullmodem-0.0.6.ebuild b/app-misc/nullmodem/nullmodem-0.0.6.ebuild
new file mode 100644
index 000000000000..9d2ddc91ac38
--- /dev/null
+++ b/app-misc/nullmodem/nullmodem-0.0.6.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+DESCRIPTION="A Utility to loopback Pseudo-Terminals"
+HOMEPAGE="http://www.ant.uni-bremen.de/whomes/rinas/nullmodem/"
+SRC_URI="http://www.ant.uni-bremen.de/whomes/rinas/nullmodem/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc ChangeLog README || die
+}
diff --git a/app-misc/nut/Manifest b/app-misc/nut/Manifest
new file mode 100644
index 000000000000..9e1da932fb66
--- /dev/null
+++ b/app-misc/nut/Manifest
@@ -0,0 +1,5 @@
+DIST nut-20.1.tar.gz 1441077 SHA256 3f8c648669d4e9af3a7684fffb74baefb04f29bfe5a847acb3aa9df3540c4c7c SHA512 2ed79fb345f029f5deaed4e23531256f2f76f5ca05ae46d3d5f4503fef663cde81f6695a9b5b741d02c5880ef611fa8495fcce3bcadf1ca8abdbc2b395bced6a WHIRLPOOL 1ae20ff747e77de007281740337dfde19370d621e2bac264ed9922ce691118680ab33ffc97b0c61e529b6c1e9e6567266eb7176ee96e620a0081b68c1db18150
+EBUILD nut-20.1.ebuild 550 SHA256 5b9a762684b1dd157c30fb7ddedb1d409f530fd80b8b64179a49a53794cc5cca SHA512 642b0ee3dfb59bfd56aa4c4f628a1b1a5105ebac8651868f60c732e6dc8e60542bd9ed53e2feb4ebc451624e2e686d6bc37d0dbdff4b6d5cf3fe3b2bfed0c66a WHIRLPOOL 7464f8d1173763d4eae925145ce426a94600ab324e87aebbfd40c94d1bf342d89dffc2bab40aa1104d305e7a25fe65c504de092200d070e755c79c44d178ea22
+MISC ChangeLog 2508 SHA256 db15c06dea4bf87a0a2e64870335930b8a5a3b92d720d7c4c195f2fdbe94b9c1 SHA512 0678fb54b16a58f464c9eb0626b0fed4e084acc0074efc4ad09ca802c7a475835f348368c003105a0599537c1e25bf4a485841779469187523cddc872ec9cfaa WHIRLPOOL ac7c6a1e4581794374ead09bb5b2717826e6bc0f3cff61793e6ea316274d023b433076305f7e667e8977e173cdef559090aec581f4da4bcdd6a7525885d4cc22
+MISC ChangeLog-2015 10551 SHA256 41ee8c9a2c9fbcadbd8455cf43d29bf42ed2dd6338b1e753659dbb819d896c78 SHA512 32fd745f131b36ceeca5c4a399f90473e38c03a3ef753900630d0f9fe8b4c1134131290d866df1baa137dcb8f49b4725dd3b48cf21c20a42192d82aa36505111 WHIRLPOOL 4fbbe372211c4f908e42c5fd51a97188093bf364b1b34d5b811ae0bd0196a794493e38367506fc26589e62f0187714ae11be4d350f768ff7331facc8bf3f61c5
+MISC metadata.xml 240 SHA256 9d7d52f51b810a2357d6d4c8b697e7fe9c38faf429d7f677f2299fff0dc265ca SHA512 e15cb3ce921cd91bbd35380b54275fb316cb61e132a7d11f679afe1b191c54e117953b1102ea1c86d73b59f6f13613cab9c37b0c077a21f2715aff61a413cbf9 WHIRLPOOL eda845be1d6d9a6a0c70f95ea552361804f47b52a3e33c89bdb31e3b64f1cfefcb86bb7fe6085687fbcb05c5d2d19c74aa389a85b0243cd85b2842255b324b6f
diff --git a/app-misc/nut/metadata.xml b/app-misc/nut/metadata.xml
new file mode 100644
index 000000000000..9f2111ca9eb9
--- /dev/null
+++ b/app-misc/nut/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">nut</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/nut/nut-20.1.ebuild b/app-misc/nut/nut-20.1.ebuild
new file mode 100644
index 000000000000..3c028aa44a87
--- /dev/null
+++ b/app-misc/nut/nut-20.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Record what you eat and analyze your nutrient levels"
+HOMEPAGE="http://nut.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ppc x86"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\" \
+ nut
+}
+
+src_install() {
+ insinto /usr/share/nut
+ doins raw.data/*
+
+ dobin nut
+ doman nut.1
+}
diff --git a/app-misc/ondir/Manifest b/app-misc/ondir/Manifest
new file mode 100644
index 000000000000..5e285b3f063c
--- /dev/null
+++ b/app-misc/ondir/Manifest
@@ -0,0 +1,5 @@
+DIST ondir-0.2.2.tar.gz 20138 SHA256 475fe7bd447756b4effde87c8aa67e063d805b775785b9f39858422dc244aef2 SHA512 5c2c53532934b25d2a170c619d067c369b6acf2ef3e0a87607619613dcc0bbfc570937fb91cdc5df3f22ae0453b5a5d00edd57cd1b852f7a076c15b96c45d4dd WHIRLPOOL 0b696b38f44ed1a58a3b0f7a136ddac6f4a031af5b5275f7e2e0548726bc244ffe741e9952c8651cba8bcc04fc01e10c21b26d77549f2ff419f9f2c0fab662d5
+EBUILD ondir-0.2.2-r1.ebuild 975 SHA256 c3e69b4f6f9771b1579a3ad00edf622f4b4f03b36018ace28e558e9e39528de9 SHA512 48e3830ad786995a135ecbdf4023bff87778c82f025965789bfcb6d645a3f8445beaeaab3b74a0a0d43ee8b711e3b4d0823c42257cd7c486d773e9298f141013 WHIRLPOOL 2f9704e8027ef64097d40a811f07bdacab5d6a8b3bd31759e64d4c9711303681c3a68d3e6b471827bd50d27eb4bf63e96bd7cabefeb31ff187186c625901a585
+MISC ChangeLog 2427 SHA256 93fe9cf44746af2bb76e87ae06dbe02a1759c35489d50050652e3dc7e702ead0 SHA512 462a31454ff6efe8e02dab94bce768fc1b5396e29388e9718d8f0354650507673ee0828a01008e3dce53d8bed776a5e8299a0fb4eab52d6d9d712f403ec1613e WHIRLPOOL a545957c110faf188d325dd69faa2fa98cdad2ae26a5258efe6a246d41873440df0390e8d87b3c013d832aec03b17aab67125a68b1582936b0da87bc255a3b1d
+MISC ChangeLog-2015 2718 SHA256 d2bd491663be188dee7579f73ee56894434ebb5d5d8dfa8320501656efc56a1e SHA512 02b10e5156cd9cb1c9f59ae448e5d20540164ea15603cb22ad2f23107d1b481bf2949dbdcd9c9ef24092b5dbf6b37c8b0f860716d5c7fd2d331e01369ba99374 WHIRLPOOL a9c550ea06a6f9f85cc12797948ce58bfa1aea63bf42ac1481ee47c66df3911067f9471d90611fc768fb02a916830eec3faa0c657a90114c66ce6588da7f1c0b
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/ondir/metadata.xml b/app-misc/ondir/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/ondir/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ondir/ondir-0.2.2-r1.ebuild b/app-misc/ondir/ondir-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..58c113acfb4b
--- /dev/null
+++ b/app-misc/ondir/ondir-0.2.2-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Automatically execute scripts as you traverse directories"
+HOMEPAGE="http://swapoff.org/OnDir"
+SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND="sys-apps/sed"
+RDEPEND=""
+
+src_prepare() {
+ sed -i \
+ -e "s:\(/man/.*$\):/share\1:g" \
+ -e "s:-g:${CFLAGS}:" Makefile || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ PREFIX="${EPREFIX}/usr" \
+ CONF="${EPREFIX}/etc/ondirrc" \
+ LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" CONF="${EPREFIX}/etc/ondirrc" install || die
+ dodoc AUTHORS ChangeLog README INSTALL scripts.tcsh scripts.sh || die
+ newdoc ondirrc.eg ondirrc.example || die
+ dohtml changelog.html ondir.1.html || die
+}
diff --git a/app-misc/oneko/Manifest b/app-misc/oneko/Manifest
new file mode 100644
index 000000000000..c2894148217e
--- /dev/null
+++ b/app-misc/oneko/Manifest
@@ -0,0 +1,9 @@
+AUX oneko-1.2-include.patch 168 SHA256 7d4cfb01fe6ddc374bd2a060949f7e329637445ac4ec32e5921ff900b47f6ea3 SHA512 001c47f84a921b2b963282d8132336a2b6368f85dbfa94e294d2dd2054a5697c12fd8d48ad73ae0e0b38039613c3e1b8866e832bedc6162d661bad71643a1702 WHIRLPOOL 96f877e1802f19848334778c38352c44eae41af2b86b512d98f2d062ed5f0269977fe4460189f757040f3fd9a1f6184c28c2fd0b520aa881534d4e6bc48c9d70
+DIST oneko-1.2-cat.png 223 SHA256 994dec71c4021f4e228b8c69fcefde5b11244445ff8ff6d43b3790beecef5800 SHA512 f3543be2bac0d14d3db5fe6bc33cf59caae743d547993fe010c79d2bfc6f8720d608026d692733b7519d5b6b99db09f58f34af9bd2d8fcc3556b6994734f24bf WHIRLPOOL 964abd226d16bd6ba469a43775a357782f3d35c73d76c61082a6e9629f33724de4ec81e41dc9efe43081754043165dac7ce2fd790fbc8d043672dc63c8ca2253
+DIST oneko-1.2-dog.png 236 SHA256 5ca2d41b5538618196cfe9e40dd75856fde77fe35cba99ed9b2eacf1fb0e5502 SHA512 11e4a4ecfba26a0ea782846ca288da7ba3f68629dc8f4b0d7987923f06afe57971d53c9161ed13711a9a1f737ea3d8ec76f559311dd10234dca49cfa9d20f533 WHIRLPOOL d6c1545191d46de1a782668b1b29de6e483359a1346efa79adb1a24b6660b55f054d37707d0103ec002ce34a2924f82a6e01d1f84fc4c33337c925991fbfbfc6
+DIST oneko-1.2-sakura-nobsd.patch.bz2 2967 SHA256 335965399706844874a9700d70f66d53a862efa8f49297d67c5ac9f7ab7ec37a SHA512 dbab7471b1c76d8bd7b0c0f9512ce274d98b7e96e8f1cb781a07b031d3a23c0c716222465dee16ad77f658c681116e71e6f8f50ab45ee8f24d132e24fed6849e WHIRLPOOL c600481394d45c5d3f3a7e20a94f5dfeb65ba0101c9609ea185e6b99207ab1f7ff7701a110287f19271fa63c5aac4672c6550884b6491a240f6b99eff1420925
+DIST oneko-1.2.sakura.5.tar.gz 76825 SHA256 2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f SHA512 328bc267c027dc2bf9f4d0bf7a3a5cfb0f77e7ffe566dad58ba8728a8d72f905ef0b1b92fea77179d1e79886aea8a6b27cda44dc227d96b69ed34b4fdde3ec15 WHIRLPOOL 084c6e44ca0fec0352d227fb2e81427f2a1fb5e3be2153a5e4467e26b2280899b418f2869c63214d7a687a9e32858fe4860fe9c8b276f9917539ee03f386161f
+EBUILD oneko-1.2-r2.ebuild 1673 SHA256 63ad90752f7c82a6dd664d09fbbd819a8ffcda408ca22cb7eecee526274efbd6 SHA512 5ee081642344a1c3b8cf0f694fc1b3f24224c93d049db6340156d0bd8d4696ef42f38f3db10fc0b161ad56b679cd050af562a917155c332b869b32d093a913a1 WHIRLPOOL bb8e0246836940597af3a6609c45253595968ec465897ec03fda3358647097794ecd694805d7ad86ebc56aebd711f3967b4504f69dc9a31dad0cd7f4dc306447
+MISC ChangeLog 2455 SHA256 cfbbbfac406ad02cbe7c8732cf149cd02fbc01c33054af5e2c9760c068d54a35 SHA512 83ec4957fdddc2ed52d2870acf209435dc753867d7c6b33ca09b0499bf83d5f5b1dc9459e8fb087cb577d75183fe1a5cdfa88b6584fb257872ede9406c2bda6d WHIRLPOOL f417ad073dd020be7bb747c5d18ae7a3e5c1a0dd9997b4d5c60beb8c613a8a56511d19ddd21fe4c68a4a533a9f51426d5de91ba9183b2596959ea5b6919b1580
+MISC ChangeLog-2015 2765 SHA256 388db6408e2afb38a7d6071ba651d00f21b41b2986c7988ff138256d8cac9e55 SHA512 cdf30a917216e2173e06f603f113ed8983ba5aa5279b99a31058f50189bf229dd33a7535d692b0aa51a55bcc1d1f4b7269640428e70504227ff77ef62cad5b6d WHIRLPOOL 1e4e6140b73a60c82b0957a461f088c8808993f7fc99088d781078c6fba6becee87f25f739fbf0321aad692a07aaba19955fbbcbc6449a2ccd1087b772e3480a
+MISC metadata.xml 276 SHA256 437f3dba7deca9da3b3f8ecda9bb5e97253de0412cbb3095d876f39140f3ea98 SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab WHIRLPOOL 8550fd604cf609511bf7c34245ebd6682dd6d058d8cbfa099a77c94d1afcf592909eb679a28a0806957ac0949c6cff350675e0182303ec5890a5e2c2c26d29c5
diff --git a/app-misc/oneko/files/oneko-1.2-include.patch b/app-misc/oneko/files/oneko-1.2-include.patch
new file mode 100644
index 000000000000..70b3c2405a5c
--- /dev/null
+++ b/app-misc/oneko/files/oneko-1.2-include.patch
@@ -0,0 +1,10 @@
+--- a/oneko.h
++++ b/oneko.h
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h> /* pause() */
+ #include <string.h>
+
+ #include <signal.h>
diff --git a/app-misc/oneko/metadata.xml b/app-misc/oneko/metadata.xml
new file mode 100644
index 000000000000..2ba8e9e851e4
--- /dev/null
+++ b/app-misc/oneko/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/oneko/oneko-1.2-r2.ebuild b/app-misc/oneko/oneko-1.2-r2.ebuild
new file mode 100644
index 000000000000..f0847a294f5a
--- /dev/null
+++ b/app-misc/oneko/oneko-1.2-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A cat, dog and others which chase the mouse or windows around the screen"
+HOMEPAGE="http://www.daidouji.com/oneko/"
+SRC_URI="http://www.daidouji.com/oneko/distfiles/${P}.sakura.5.tar.gz
+ mirror://gentoo/${P}-cat.png
+ mirror://gentoo/${P}-dog.png
+ mirror://gentoo/${P}-sakura-nobsd.patch.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+"
+DEPEND="
+ ${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake
+ app-text/rman
+ x11-proto/xextproto
+"
+
+S=${WORKDIR}/oneko-${PV}.sakura.5
+
+src_prepare() {
+ epatch \
+ "${WORKDIR}"/${P}-sakura-nobsd.patch \
+ "${FILESDIR}"/${P}-include.patch
+}
+
+src_configure() {
+ xmkmf -a || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CCOPTIONS="${CFLAGS}" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" \
+ || die
+}
+
+src_install() {
+ dobin oneko
+ newman oneko._man oneko.1x
+ dodoc README README-NEW README-SUPP
+ newicon "${DISTDIR}/${P}-cat.png" "cat.png"
+ newicon "${DISTDIR}/${P}-dog.png" "dog.png"
+ make_desktop_entry "oneko" "oneko (cat)" "cat" "Game;Amusement"
+ make_desktop_entry "oneko -dog" "oneko (dog)" "dog" "Game;Amusement"
+ make_desktop_entry "killall -TERM oneko" "oneko kill" "" "Game;Amusement"
+}
+
+pkg_postinst() {
+ elog "To kill oneko, type the following in a terminal:"
+ elog ""
+ elog "killall oneko"
+ elog ""
+ elog "If your mouse cursor changes to the default black cross"
+ elog "after running ${PN}, you should emerge x11-apps/xsetroot"
+ elog "and run:"
+ elog ""
+ elog "xsetroot -cursor_name left_ptr"
+ elog ""
+}
diff --git a/app-misc/openastro-data/Manifest b/app-misc/openastro-data/Manifest
new file mode 100644
index 000000000000..d625d68953b8
--- /dev/null
+++ b/app-misc/openastro-data/Manifest
@@ -0,0 +1,6 @@
+DIST openastro.org-data_1.6.orig.tar.gz 13603001 SHA256 1ea8a80ebb6077f2b5f4abafe532037a2bf6ff060afba5419cf1f5aaa0890370 SHA512 99f3b6db61e27ccf04a7e0ff3ba7da45b889e1177bfbc1192af1929fca7255dc2b18a4ac9eb536af9ceb11e7722e0a3420102c7e45a6c839abe87734e8be6591 WHIRLPOOL 33486b0c9c7b3b243acda872d5a8812a329ec2963305098a5bace73dadfc99b442a6d338ca98e305932a63298b4ea6b1550308fe22eaee243dedc825694ffbbc
+DIST openastro.org-data_1.7.orig.tar.gz 15682188 SHA256 574c14e8b7c613910a37e5a0cb13513f8ae8d57015f2b29b5b832b9d55f26fc8 SHA512 a67cc528253d0a9f70fdce550b8065c481e2dae8dc59dfed0428491cf4751648e41f0d6032b58008f2fe095f81fc4a23717156a69a73b03bd3105b50eb325ffe WHIRLPOOL 717572b0209bb162eeacb89c26819a22e9748fb5ee4b20c64a1bb812670647246f1484fc0f1ab03f704df3bc131506fa72c80475d0f1e8179edd9557f023e7fe
+EBUILD openastro-data-1.6.ebuild 536 SHA256 df6d1ec71ba1d484745961be89398f4b1ffca396083e56b49325952fe54bb0b8 SHA512 7c674f9ed47af5c4e92de0180d083c3c1ab6d2545a827dcc8665ac69306a6f1c3b6c23b69e325e0191a563bfc0372f15fe577e71a93440dfeba08a9ec030ab2a WHIRLPOOL f350898b85c43e9b20564a296e4a105c304a8add2ae6e155cb076ace070391c2bcec6b34d3ecb52df15ac661f94beb8a70160ed18389b37e237d8f7260c53e40
+EBUILD openastro-data-1.7.ebuild 536 SHA256 306328ded51ec06192d2d2cfdd528b17ab7498c23f1a4ee33829cedabcdfffbc SHA512 573683c1b529dbf6032329c338a1c9be018f6a4f587d123233c316209d63868b376b673c2636c32198b9aa48f5472bf484c55ec36a33007b9618d5ab5e21c7a2 WHIRLPOOL 60a91c39b9fca4318513ec3d5dfb57bdd10e8dbe640591d4245e45f7ef0eb066eb2fb177865a5aa55e4c99a0c9143a36b1f2648d1608986b9504e45d0144a3a5
+MISC ChangeLog 567 SHA256 f0bff1c7fb283f7727d3396d53cd3c4573fd0660b4f9296764ab8c7c3e4d6bd9 SHA512 dc71c48ecb2e78118b8dbfd1d17a6d298092541c36eea986385495b953e0b7e6a963440681b27a86e7a90a8dc26469d3d24bbe2d5bba0673bdbd76e57ad17798 WHIRLPOOL 370d18cf60c5d2fdcadf998271d7e6668458515a6ff31a51386bba895dd1dfcb94911d98cc5a0f91a1bc35945a8f8ab5e12040cadcdec046b9a07abd59d41973
+MISC metadata.xml 597 SHA256 42b96e7e00426e4722376f73e50a030745a0e769bcb253e504fd5191a1095ae4 SHA512 01f7315f5fb9672ee5d93fab9f438ca2fe0acfe6ba08bc62e3e4c3d9e97725885e60268d23bb67074bcd5426fea334e4f17be64092a42a39dd63af3d2e1ea5c8 WHIRLPOOL 3fec1de28422141879c9e3e1d1e02c6245c10836048df60e124fada480c9235bd61712756da64bb2160c07f5f5bf6b369433a9538628b49bfe4bcc1b797a8ba3
diff --git a/app-misc/openastro-data/metadata.xml b/app-misc/openastro-data/metadata.xml
new file mode 100644
index 000000000000..b433d43ad5ce
--- /dev/null
+++ b/app-misc/openastro-data/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>lluixhi@gmail.com</email>
+ <name>Aric Belsito</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>devel@openastro.org</email>
+ <name>Pelle van der Scheer</name>
+ </maintainer>
+ <bugs-to>https://bugs.launchpad.net/openastro.org</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/openastro-data/openastro-data-1.6.ebuild b/app-misc/openastro-data/openastro-data-1.6.ebuild
new file mode 100644
index 000000000000..0609cf57e3a8
--- /dev/null
+++ b/app-misc/openastro-data/openastro-data-1.6.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN/-data}
+MY_PN=${MY_PN}.org-data
+
+DESCRIPTION="OpenAstro data files, ephemeris, famous people database, geo database"
+HOMEPAGE="http://openastro.org"
+SRC_URI="http://ppa.launchpad.net/pellesimon/ubuntu/pool/main/o/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}-${PV}
diff --git a/app-misc/openastro-data/openastro-data-1.7.ebuild b/app-misc/openastro-data/openastro-data-1.7.ebuild
new file mode 100644
index 000000000000..50b4ce85ce56
--- /dev/null
+++ b/app-misc/openastro-data/openastro-data-1.7.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN/-data}
+MY_PN=${MY_PN}.org-data
+
+DESCRIPTION="OpenAstro data files, ephemeris, famous people database, geo database"
+HOMEPAGE="http://openastro.org"
+SRC_URI="http://ppa.launchpad.net/pellesimon/ubuntu/pool/main/o/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}-${PV}
diff --git a/app-misc/openastro/Manifest b/app-misc/openastro/Manifest
new file mode 100644
index 000000000000..6d29288dbcf9
--- /dev/null
+++ b/app-misc/openastro/Manifest
@@ -0,0 +1,8 @@
+DIST openastro.org_1.1.48.orig.tar.gz 205879 SHA256 504fe7fa224ef66f3be2752593b7bfde84c7b599c5f26733f6093b55bf2a5b2a SHA512 996e503a8dd2504da252ad2b20ac185301e81523629cbcf05fcf37ec4ca3859ef513a194feb2d05bd7c4cbe796bf514afa4eb242b8cd51c65d134b51165f97d3 WHIRLPOOL a73d27f48aea0ed9e7af55bb7e2efc912b17283b515de705ec72193fe187c05a11635bfb5a1ea98d95a2dcbf39bbf3eda4ece636ca5ab945dcafad6e690fa209
+DIST openastro.org_1.1.49.orig.tar.gz 213256 SHA256 e56d8ea47d0873c2136e78b00448f7f7b00607ba1387754739c7d7335a71a127 SHA512 1028807d2a84850699f47a03ad74a851873b9b448f87169bee7d142e5ca750aafe33313b6181b9ee0ed6ccb66c3a867e86bd56648ebe67f4a7a9e1b914b77cec WHIRLPOOL eefeb6aa921f44bde36ed388647d893aa9e0a48be2fe60e01f35e357c36ef9ad1168559bb8061a3fea63da059f68116164d95131284b694700cdd8ce6fe7657f
+DIST openastro.org_1.1.50.orig.tar.gz 217959 SHA256 447fbcb87b297c72fb3303eb536c04b6f98a42dd94260694948bbfbac1c0ff65 SHA512 39004f78c8dd098e2f018147b581608e22718fc844dc5abe5d97124662882d2ca6bd0a49fd4a003284cadfe31ab8c7a9343ecfa4fd990b7b3af0eb9d5ad18fa4 WHIRLPOOL b2ebfa665c993ea8cbe35109b76983e127d893b8304b6f117a65c6c7652975fd06b5f3a2f61375f8093056ce24268708ec3d6d31ea1a32a61e826fccf540ce49
+EBUILD openastro-1.1.48.ebuild 878 SHA256 f1fa04a7f6152b7af4e304266e2a0b47e35b99e078b3910cbb93076f80163a9d SHA512 93cd92f55cfc6bd7a0640e873d5e476be95e55c37d4f142181d7cf25362052e212c5a09f50dff3ddf933063094cb45b367d4dc4f7d20121917b1a95c63e617fb WHIRLPOOL 45e49847cf92ad390a8a1f44a2d10aa9af4fb174434ccfa02f75b5b5b887e9cd1db430406ba4a7f8029771222ba02f22c5cff7783ad33dd7540e042fb9267128
+EBUILD openastro-1.1.49.ebuild 878 SHA256 80820ccd653e4d04aaa585f0be2b73fea7c2caa97865b0c47b0de5ae14e160b4 SHA512 d75832311d0a72bad750c3788816c0e9f2a7852590bcaf60bda5173c286766fc26101082b26021ecabc1769064e5d80d8cd215063734c9e00ae94ad372cd95db WHIRLPOOL 3863c0b2a03bd84088ac0727c2aca90a19f19efc2879608c8985319d282e92b52dccdb8d89ad4b6416b5ed536017f917aa67ead48a95c879c57f07a2a5ebea72
+EBUILD openastro-1.1.50.ebuild 878 SHA256 c882ee170b253d667e21a41e7f5c5fa1eb4ea499b67b15c5e1f5c39002c862a5 SHA512 ad82c73d67653db5e702fdadb9362f1d53bd6988060c45cb10259bd64a467039d4e55b13e3e20fce91593e4a8196fe79f5f795b8fc5d4cc061a951a1282c084d WHIRLPOOL 3cf9e8e6fb2a1107def690036ffc8f4bfcab19ae8706f25f0b1e19fde467d6252926a0a0dff8af910679fbb2e7ebaac10abd1689151f92767ed2ded12b2bc50d
+MISC ChangeLog 537 SHA256 36690e3a400f9c0dab461f261e95114b32fa095a6d4247e6711a04cf59f31394 SHA512 d2f2b1e7d54fbc0bef693935b063750d00384a09b07d94c783d74cf8f93e6ba3559c80206d4e500162f45a23810ebcf56a791d600ca647da2d74e731824bcb1a WHIRLPOOL 481a8ebbec50ec9e0fed600819784ce7c36b182f5941e5abb324625a1e6b5bfe32e4818e4d45a9b7a329e564b58ff702ead7b524115d4a8f58f45ca9ab8a92d8
+MISC metadata.xml 760 SHA256 5fd351e7a66b766319a5a00b4d0be2b6b8106197b3fbebf0a96ce93b2226f359 SHA512 3eb66f295e3c7d65a2e7afb60c5e21fb7da3aa9b14a2067ac4a29311aa139f5d1515450b8f036acc3920b485bfddf9a69ccb921e4cd2ce3de8de7ca65a811d72 WHIRLPOOL 829204b813363f74fac69a191b5f4a75449903ea637ec6c4eee8988ae486b10652dffddd6c93c7a4b53809793b5b8eb8be0f690894d0fac9f8df950aa4f23f03
diff --git a/app-misc/openastro/metadata.xml b/app-misc/openastro/metadata.xml
new file mode 100644
index 000000000000..209be477efe3
--- /dev/null
+++ b/app-misc/openastro/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>lluixhi@gmail.com</email>
+ <name>Aric Belsito</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>devel@openastro.org</email>
+ <name>Pelle van der Scheer</name>
+ </maintainer>
+ <bugs-to>https://bugs.launchpad.net/openastro.org</bugs-to>
+ </upstream>
+ <use>
+ <flag name="jpeg">Enable exporting Astrological Charts to jpeg</flag>
+ <flag name="png">Enable exporting Astrological Charts to png</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/openastro/openastro-1.1.48.ebuild b/app-misc/openastro/openastro-1.1.48.ebuild
new file mode 100644
index 000000000000..dc4fc8ffdfa9
--- /dev/null
+++ b/app-misc/openastro/openastro-1.1.48.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN}.org
+
+DESCRIPTION="A fully-featured Open Source Astrology Program"
+HOMEPAGE="http://openastro.org"
+SRC_URI="http://ppa.launchpad.net/pellesimon/ubuntu/pool/main/o/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+IUSE="jpeg png"
+
+DEPEND="
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/pycairo[svg,${PYTHON_USEDEP}]
+ dev-python/librsvg-python[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pyswisseph[${PYTHON_USEDEP}]
+ app-misc/openastro-data[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ jpeg? ( media-gfx/imagemagick[jpeg,svg] )
+ png? ( media-gfx/imagemagick[png,svg] )"
+
+S=${WORKDIR}/${MY_PN}-${PV}
diff --git a/app-misc/openastro/openastro-1.1.49.ebuild b/app-misc/openastro/openastro-1.1.49.ebuild
new file mode 100644
index 000000000000..142482203fa1
--- /dev/null
+++ b/app-misc/openastro/openastro-1.1.49.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN}.org
+
+DESCRIPTION="A fully-featured Open Source Astrology Program"
+HOMEPAGE="http://openastro.org"
+SRC_URI="http://ppa.launchpad.net/pellesimon/ubuntu/pool/main/o/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+IUSE="jpeg png"
+
+DEPEND="
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/pycairo[svg,${PYTHON_USEDEP}]
+ dev-python/librsvg-python[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pyswisseph[${PYTHON_USEDEP}]
+ app-misc/openastro-data[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ jpeg? ( media-gfx/imagemagick[jpeg,svg] )
+ png? ( media-gfx/imagemagick[png,svg] )"
+
+S=${WORKDIR}/${MY_PN}-${PV}
diff --git a/app-misc/openastro/openastro-1.1.50.ebuild b/app-misc/openastro/openastro-1.1.50.ebuild
new file mode 100644
index 000000000000..f9ead0377429
--- /dev/null
+++ b/app-misc/openastro/openastro-1.1.50.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN=${PN}.org
+
+DESCRIPTION="A fully-featured Open Source Astrology Program"
+HOMEPAGE="http://openastro.org"
+SRC_URI="http://ppa.launchpad.net/pellesimon/ubuntu/pool/main/o/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jpeg png"
+
+DEPEND="
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ dev-python/pycairo[svg,${PYTHON_USEDEP}]
+ dev-python/librsvg-python[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pyswisseph[${PYTHON_USEDEP}]
+ app-misc/openastro-data[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ jpeg? ( media-gfx/imagemagick[jpeg,svg] )
+ png? ( media-gfx/imagemagick[png,svg] )"
+
+S=${WORKDIR}/${MY_PN}-${PV}
diff --git a/app-misc/pal/Manifest b/app-misc/pal/Manifest
new file mode 100644
index 000000000000..76953d0d8fd9
--- /dev/null
+++ b/app-misc/pal/Manifest
@@ -0,0 +1,11 @@
+AUX 0.4.3-ldflags.patch 188 SHA256 b40a4b472ae36b68718fc17b7b454b7c12c85fb7f404caa79b07ee1846a760f4 SHA512 590852462185b57907c57f76bf76d7b4444e9deae8df85f66fc3aecee0b2539e41ce27f1097b7b24e12da46659bde163bb666317df8ec107cfbd6e26e1027d66 WHIRLPOOL 05ff60b0de939e945f1ab5b0116b9cd61adb39debce5ffa54d186e408e25adb54f3c7a5828d789991cbd2160f7d8de196f00172c8b1194f2dfe911b385070bea
+AUX 0.4.3-strip.patch 300 SHA256 64d1a77c31b64c1be4a43eb4ae468deceb702c12d87372a689623b29ce38b23d SHA512 1ccf90c0c968e098fd1ad0dd61cc177ebc484ffa207b469b75aec63263dfb1cf9850218571b3f9609c4fea30c10678b115f24d78b4b17d0f57173712f7d5cf86 WHIRLPOOL 8cd014a10536c8b78e679e7a746571d3d596ef07550b2609c6b11aa1bcdbf8110b178ad7352ea593a79b85698498c7f905f0a74ff049fee448ecfd584bbabd88
+AUX fix-Wformat-security-errors.patch 1909 SHA256 1df7021da5ebb417a93593bb7c0d067644317f026c50d0df9d403945b512bae5 SHA512 5c785d764afa40fe2a20ec489c8154bf6142c8aa13c71b3afbd09fac2f3b9d7cde26ab51bef02f6437037d48ef0054ecee1cc0d53db34a2492bd0f68300953a8 WHIRLPOOL 9b9fd59349985f4929520a3cf4635e8abf519abfa6b4fbc46ef201e54037ec0650d5af82ba81aca8088357fe5531c7db5871eb5cd6062062587437cbeef99712
+AUX pal-0.4.3-pkg_config.patch 521 SHA256 588701828764e094f87872cccfc4355d821bf40b4016cba688d5b32f54fe8ad4 SHA512 216d34abd73cdfd7f539d4881c25717ae2bdf919df05ad553bf4ed3a0a8e8a616dcb688f06f6beee6b2f5943f3accf1d144ae3a226ee5a2d0078d5450640eaa5 WHIRLPOOL 6a7e420364d8b5fe963ea5774f6b98369103f0a2f4b9da2bc15eb7fc327977ed541a51659d36c1c1f7c99e3a25cad32fc7baf0a07909828a55e395ce84fcd43d
+AUX pal-0.4.3-prefix.patch 1519 SHA256 535f83042a6faaad01603e56a7c7c66f3e3eeadfc9d4f2627878926d6eafd39f SHA512 428cc71d6775f33916e6b9025627027dc8b75fa66dadb4cef42b3e2167a662e04d94fff7edec68916efc3a1944f3579fa88e3324e0a131b7bc10d7f3105ea2c9 WHIRLPOOL 6c322e0bf3ef6390c7fc78e28d3774339a24446e5e95249f2941f6e74275efce12e32531699528b7925a8817f8c43310156f14c11c4b20ec1793b4090eb538e0
+DIST pal-0.4.3.tgz 130865 SHA256 ce470cb7be76522ff58cd0325ad7817b6cc2132a5e0cea55de8c9eb63b54551c SHA512 8d543706e6dcabbdeb246ff18917b490da43c3211266dc67417906eb92602a107b066e2cb156da2b5362a19ac4992d1f21dc873485d3250912a53143f8257bf8 WHIRLPOOL ffe71469258a9f78ce47deed4b488b49df466c6ed2144186852ade1a55ee670747580ff18140dba92b007c148701bfa8a2c68a260259831f5eb357f5c8bf4d5c
+EBUILD pal-0.4.3-r1.ebuild 1159 SHA256 4bcd1763e1787520bd1999b9f2ad056b745b58049c2c526d27e09743a1e157da SHA512 5eca53d7c34dd7e6c4b117234aa60609615c7630b01be8b01189e6e3c6759649c55d0235687b975c4f417778db2ef22e4d2d01740c723276859cd753e8c1784c WHIRLPOOL 517dc2f9ee32d645b39f9f835b25a5c442c1e61ac76ae4742d93a06b76d75c18b4cdd1dc49530bb4ba32ba89f99a964540f57c7b9c4ce2d5a3e475d5a8e394fa
+EBUILD pal-0.4.3-r2.ebuild 1357 SHA256 c39d7b9c884ced1dbb0e2c50f4ccb12e0d19a40af0016544f821c487928c835e SHA512 279a1910ba8d290e92e786141d8a2e238c00dadfb6d00dc8cf39bdc4048e2b5d5c7a06c3773f4d489ccc6075665d0ff1ceecfb29d42bccbff50f61f1b80bf724 WHIRLPOOL 05d9cb4734dccf1e33c3459001fc6da60186a51ba8f85e7f3f6b8448bd82846b22ca91ffe38968d41e9b8eb053ac0c8fd6112ebfdc94be5b7139c59e954bc985
+MISC ChangeLog 2892 SHA256 c6b4a108cd2469d9af62766e85b615a4d5e4d10ecb5458db2f770e90f38aa5de SHA512 d32fb43986b2a6a2e8134d60ac3bb6cb7a5b2cabe6e4cccf2aee04d0dcd427acab8ef913d5c928f0c7b3398e297887cf967a161ca78c37fcc1cc3e4328c86aec WHIRLPOOL e41bbfc850f7f58aadd228e57adb214c351efade7d4501e6822cb5200d3967126f1ed4676b6803c126e06c9ea26c871ee2da0b00705487e912f3b26bee4e9f21
+MISC ChangeLog-2015 4937 SHA256 fe677cbc3f048730c8537a077fcf5ad31b750e70cf5db4d404d048f0a948110f SHA512 2e8cea7d7826e2a39a7a13d28a9c2ac60b240651b9f9827c8d04be5e1e612855b22269fd13ec706f1f536a79ef6fbb37b628ce55466461d7f76992df744d4637 WHIRLPOOL 042445d74b98aee99391a6a2e3613a59dffef2766117dabeb512bf694d19e2519de55244a619221f57f40487ba69626a63fc099307bd0c75a87b1d4a6bd68121
+MISC metadata.xml 509 SHA256 ded4548aab2080a1cc58bf812fd442839d6c6d7328902866ddf8b1571b25f4ca SHA512 cea3652f00f870d6db65ed87bc3b37b429cc4d3c8cb91d40742ca0dda93961d14779d348a84fe43d432e5a8dd4deb67ae2439151a8cb5c249fcf3b4e4ed2dcb4 WHIRLPOOL a6f51c2eb1d67577d368ebd86ad84dc0becb5ddb5d8f5c88e1ca22d85bbfefb7bdf75c524c1b5ab4e8e215f6551604926ad952bb9ac43fc67c216a467918bca3
diff --git a/app-misc/pal/files/0.4.3-ldflags.patch b/app-misc/pal/files/0.4.3-ldflags.patch
new file mode 100644
index 000000000000..0bfd750ac5e7
--- /dev/null
+++ b/app-misc/pal/files/0.4.3-ldflags.patch
@@ -0,0 +1,8 @@
+--- a/src/Makefile.defs
++++ b/src/Makefile.defs
+@@ -25,4 +25,4 @@
+
+ CFLAGS = ${OPT}
+ CPPFLAGS = ${INCLDIR} ${DEFS}
+-LDFLAGS = ${LIBDIR} ${LIBS}
++LDFLAGS = ${LIBDIR} ${LIBS} ${LDOPT}
diff --git a/app-misc/pal/files/0.4.3-strip.patch b/app-misc/pal/files/0.4.3-strip.patch
new file mode 100644
index 000000000000..b3bfe3fd99f1
--- /dev/null
+++ b/app-misc/pal/files/0.4.3-strip.patch
@@ -0,0 +1,17 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -21,10 +21,10 @@
+ $(NAME): $(OBJ)
+ @echo " [gcc] $(NAME)"
+ @$(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o $(NAME)
+-ifneq ($(DEBUG),1)
+- @echo " [strip] $(NAME)"
+- @strip $(NAME)
+-endif
++#ifneq ($(DEBUG),1)
++# @echo " [strip] $(NAME)"
++# @strip $(NAME)
++#endif
+
+
+
diff --git a/app-misc/pal/files/fix-Wformat-security-errors.patch b/app-misc/pal/files/fix-Wformat-security-errors.patch
new file mode 100644
index 000000000000..f1255d9e55f1
--- /dev/null
+++ b/app-misc/pal/files/fix-Wformat-security-errors.patch
@@ -0,0 +1,64 @@
+From 801804d5b1beca5f32dd78cd23e9f9e012ae0420 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 2 Aug 2016 10:07:39 -0400
+Subject: [PATCH 1/1] src/{input,output}.c: fix -Wformat-security errors.
+
+Newer versions of GCC have the ability to warn about insecure uses of
+format strings. These uses usually involve omitted "%s" format strings
+to the printf() family of functions, and when compiling with
+-Werror=format-security, they can cause the build to fail. This commit
+fixes a few such uses in input.c and output.c
+
+Gentoo-Bug: 521104
+---
+ src/input.c | 4 ++--
+ src/output.c | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/input.c b/src/input.c
+index 79db485..92bad36 100644
+--- a/src/input.c
++++ b/src/input.c
+@@ -463,7 +463,7 @@ static gboolean get_file_to_load(gchar* file, gchar* pal_file, gboolean show_err
+ return FALSE;
+ }
+ else
+- sprintf(pal_file, file);
++ sprintf(pal_file, "%s", file);
+ }
+
+ else
+@@ -618,7 +618,7 @@ GHashTable* load_files()
+ FILE* pal_file_handle = NULL;
+
+ if(!get_file_to_load(settings->pal_file, pal_file, FALSE))
+- sprintf(pal_file, settings->pal_file);
++ sprintf(pal_file, "%s", settings->pal_file);
+
+ pal_file_handle = get_file_handle(pal_file, TRUE);
+ if(pal_file_handle != NULL)
+diff --git a/src/output.c b/src/output.c
+index 97aaa0f..9806089 100644
+--- a/src/output.c
++++ b/src/output.c
+@@ -249,7 +249,7 @@ static void pal_output_text_week(GDate* date, gboolean force_month_label,
+ pal_output_fg(BRIGHT, color, utf8_buf);
+ }
+ else
+- g_print(utf8_buf);
++ g_print("%s", utf8_buf);
+
+
+ if(g_date_compare(date,today) == 0) /* make today bright */
+@@ -270,7 +270,7 @@ static void pal_output_text_week(GDate* date, gboolean force_month_label,
+
+ }
+ else
+- g_print(utf8_buf);
++ g_print("%s", utf8_buf);
+
+
+ /* print extra space between days */
+--
+2.7.3
+
diff --git a/app-misc/pal/files/pal-0.4.3-pkg_config.patch b/app-misc/pal/files/pal-0.4.3-pkg_config.patch
new file mode 100644
index 000000000000..2a299538e999
--- /dev/null
+++ b/app-misc/pal/files/pal-0.4.3-pkg_config.patch
@@ -0,0 +1,14 @@
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -2,9 +2,9 @@
+
+ include Makefile.defs
+
+-INCLDIR = -I${prefix}/include `pkg-config --cflags glib-2.0`
++INCLDIR = -I${prefix}/include $(shell ${PKG_CONFIG} --cflags glib-2.0)
+ LIBDIR =
+-LIBS = `pkg-config --libs glib-2.0` -lreadline -lncurses
++LIBS = $(shell ${PKG_CONFIG} --libs glib-2.0) -lreadline $(shell ${PKG_CONFIG} --libs ncurses)
+
+ SRC = main.c colorize.c output.c input.c event.c rl.c html.c latex.c \
+ add.c edit.c del.c remind.c search.c manage.c
diff --git a/app-misc/pal/files/pal-0.4.3-prefix.patch b/app-misc/pal/files/pal-0.4.3-prefix.patch
new file mode 100644
index 000000000000..08dfba41c7e7
--- /dev/null
+++ b/app-misc/pal/files/pal-0.4.3-prefix.patch
@@ -0,0 +1,44 @@
+--- a/src/Makefile.defs
++++ b/src/Makefile.defs
+@@ -3,7 +3,7 @@
+
+ # directory to install to. Depending on your distribution, you might
+ # want to change this to /usr/local
+-prefix = /usr
++prefix = @GENTOO_PORTAGE_EPREFIX@/usr
+ CC = gcc
+
+ PAL_VERSION = 0.3.5_pre1
+--- a/src/input.c
++++ b/src/input.c
+@@ -567,7 +567,7 @@
+ }
+
+ /* attempt to copy /etc/pal.conf to ~/.pal/pal.conf */
+- file = fopen("/etc/pal.conf", "r");
++ file = fopen("@GENTOO_PORTAGE_EPREFIX@/etc/pal.conf", "r");
+
+ /* if not found, try PREFIX/share/pal/pal.conf instead */
+ /* NOTE: This is will be removed in the future */
+@@ -577,7 +577,7 @@
+
+ if(file == NULL)
+ {
+- pal_output_error(_("ERROR: Can't open file: /etc/pal.conf\n"));
++ pal_output_error(_("ERROR: Can't open file: @GENTOO_PORTAGE_EPREFIX@/etc/pal.conf\n"));
+ pal_output_error(_("ERROR: Can't open file: " PREFIX "/share/pal/pal.conf\n"));
+ pal_output_error(_("ERROR: This indicates an improper installation.\n"));
+ return ht;
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -51,8 +51,8 @@
+ @echo " --- Installing global data --- "
+ @mkdir -p ${DESTDIR}${prefix}/share/pal;
+ install -m 0644 -o root ../share/*.pal ${DESTDIR}${prefix}/share/pal
+- @mkdir -p ${DESTDIR}/etc;
+- install -m 0644 -o root ../pal.conf ${DESTDIR}/etc/
++ @mkdir -p ${DESTDIR}@GENTOO_PORTAGE_EPREFIX@/etc;
++ install -m 0644 -o root ../pal.conf ${DESTDIR}@GENTOO_PORTAGE_EPREFIX@/etc/
+ @echo
+
+ # "install" will install the files needed by pal and also check to see
diff --git a/app-misc/pal/metadata.xml b/app-misc/pal/metadata.xml
new file mode 100644
index 000000000000..9c65100f6b4b
--- /dev/null
+++ b/app-misc/pal/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+<longdescription>
+ pal is a command-line calendar program for Unix/Linux systems that can keep
+ track of events. It has similarities with the Unix cal command, the more
+ complex GNU gcal program and the calendar program distributed with the BSDs.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">palcal</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/pal/pal-0.4.3-r1.ebuild b/app-misc/pal/pal-0.4.3-r1.ebuild
new file mode 100644
index 000000000000..132f917792be
--- /dev/null
+++ b/app-misc/pal/pal-0.4.3-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils prefix toolchain-funcs
+
+DESCRIPTION="pal command-line calendar program"
+HOMEPAGE="http://palcal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/palcal/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="nls"
+
+RDEPEND="
+ >=dev-libs/glib-2.0
+ nls? ( virtual/libintl )
+ sys-libs/ncurses
+ sys-libs/readline
+"
+DEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${P}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-strip.patch
+ epatch "${FILESDIR}"/${PV}-ldflags.patch
+ epatch "${FILESDIR}"/${P}-pkg_config.patch
+ epatch "${FILESDIR}"/${P}-prefix.patch
+
+ eprefixify Makefile.defs input.c Makefile
+ sed -i -e 's/ -o root//g' {.,convert}/Makefile || die
+
+ tc-export PKG_CONFIG
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install-man install-bin install-share
+
+ if use nls; then
+ emake DESTDIR="${D}" install-mo
+ fi
+
+ dodoc "${WORKDIR}"/${P}/{ChangeLog,doc/example.css}
+}
diff --git a/app-misc/pal/pal-0.4.3-r2.ebuild b/app-misc/pal/pal-0.4.3-r2.ebuild
new file mode 100644
index 000000000000..ee29bc4c86d7
--- /dev/null
+++ b/app-misc/pal/pal-0.4.3-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit prefix toolchain-funcs
+
+DESCRIPTION="Command-line calendar program"
+HOMEPAGE="http://palcal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/palcal/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="nls"
+
+RDEPEND="
+ >=dev-libs/glib-2.0
+ nls? ( virtual/libintl )
+ sys-libs/ncurses:0
+ sys-libs/readline:0
+"
+DEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig
+"
+
+RESTRICT="test" # Has no tests to run
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-strip.patch
+ "${FILESDIR}"/${PV}-ldflags.patch
+ "${FILESDIR}"/${P}-pkg_config.patch
+ "${FILESDIR}"/${P}-prefix.patch
+ "${FILESDIR}"/fix-Wformat-security-errors.patch
+)
+
+src_prepare() {
+ default
+
+ cd src || die "failed to change to the src directory"
+ eprefixify Makefile.defs input.c Makefile
+ sed -i -e 's/ -o root//g' {.,convert}/Makefile || die
+ tc-export PKG_CONFIG
+}
+
+src_compile() {
+ cd src || die "failed to change to the src directory"
+ emake CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}"
+}
+
+src_install() {
+ dodoc ChangeLog doc/example.css
+
+ cd src || die "failed to change to the src directory"
+ emake DESTDIR="${D}" install-man install-bin install-share
+
+ if use nls; then
+ emake DESTDIR="${D}" install-mo
+ fi
+}
diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest
new file mode 100644
index 000000000000..9a9e1473bc70
--- /dev/null
+++ b/app-misc/pax-utils/Manifest
@@ -0,0 +1,16 @@
+AUX 0001-lddtree.py-work-around-pyelftools-API-change.patch 698 SHA256 027611780c24fb0211b6e95a6e00b33d21587d593b6d1ba5a76395d90bfdd398 SHA512 0de6faafa5fb7f6d45c42f84cf5f5aec728130507b4231f7bc2b6499481d2caca49151f9eb72bdf82856f771d91972e930871079e6434179492f7cae9463f890 WHIRLPOOL 7b38ee232b7d7a624139a13010b89648b935b3d7316f6064589b437e9565bffc472b8c1452cfffebb8259e619f7c1f18017b22cf81b052020d444037e0a35c06
+AUX pax-utils-1.2.2-linux-2.6.32.patch 2152 SHA256 3980f8f0b0125a033163af1499ad2c4eddb5eabdcb47eaae7397ed3788e6f0a9 SHA512 3a39e08e327e5389fb4a249dc27049a716695bd310197eafc54b62458e167eba53848e9fa3b0aa05e224a8f468fc130b979d0d314ca1dc8cbb0c5c494d67b352 WHIRLPOOL d520b4174667f68fdaa8220983a433ee255875d2fe672dec1d566d8b67e9a99803c821c2da804f1b60eee10428893bd82214e11b7e58318ecc8c0dd44a079e07
+AUX pax-utils-1.2.2-scanelf-fix-out-of-bounds-access-in-ia64.patch 2032 SHA256 aeda213844489fc4c08f114f057a3eda7825f3498cdc90b77f72bd4dfd7f1bbb SHA512 b0e0679c726acc56686b23b6d4720cd5b7e4dff3f007e0443e3ec37a434ffb2def2c351c81ef960bf8e1008769662851017ef9aaedc9b52890578db4d313a54e WHIRLPOOL 51b66b55530dbbf9320e352dd3a6b1731f785ce57d9c12237006bbf18e7da19b2dbd52f22744676c2ae1d66ba83197e4d9787f05827b6099a425707ebe8409a3
+AUX pax-utils-1.2.2-solaris.patch 5673 SHA256 dabf253d2399c3b31ebf2ca042a50e650c77ca170f64e170515cbab13e4453ba SHA512 df5cecdafe796fa7616767b93def2cd51d82a8911f7b195ca25048fb93a067a819cd362d3f5b4b02308ce67a688938a40aa2ecb04570d7bf3db83cb9847f62f1 WHIRLPOOL b14193d1871b6272f159e88c032a22808f47c6cb248c67b0f7ce6eb90409d53162b15c7df3778757c0c86af54ac8be1e19477f46d93a39fda5338d4289bf611d
+DIST pax-utils-1.1.6.tar.xz 647308 SHA256 f5436c517bea40f7035ec29a6f34034c739b943f2e3a080d76df5dfd7fd41b12 SHA512 c5bdb3ee076c5f4d026f811a59329014c539e3bb3ab45aec92564dcc4abcedaebc50bec55c37aeccfe9e31c554ec7789426fcb3d6f67a8d805843f32c5993f94 WHIRLPOOL 6addfc63dd821a3a0f1ebb2f0545bf81b933bed7aa4950efc51c4af3c8a9dd2263fe09c469bb371a5cb7ae239db646876548a2c21b08c1ed87dd974228eb2679
+DIST pax-utils-1.1.7.tar.xz 648376 SHA256 bb9bdbf0888de9444b53b78f7b8069af9832bac7cef0588030b8ce49e8ebad10 SHA512 cec176cf5863b15acc058cbd99639f5f456346136d0551ce5875cb66c28dd0f6e7f5077b0c06751a3a68984b5c4386c232d3db8b76aa4f4b326b0b692835fdeb WHIRLPOOL 07972470889ff3f4a85f1528bc6c49ae11c3161dfe0df4ab0c3ea83affdc36d0fce36f4db5a0811290958d51e477da99476a12bf35108c4a3b147004a0584541
+DIST pax-utils-1.2.2.tar.xz 655964 SHA256 7f4a7f8db6b4743adde7582fa48992ad01776796fcde030683732f56221337d9 SHA512 6bafe93f3b84d4595b6adfa09b46a3dd249f309fe836d90115e9aa5fcc7da37b03f743e80719dfe6bcdb739ce6ec3843170a5513e196c348721f850e19d3e38c WHIRLPOOL c95ce5dc26d7e913d9e0963d47b5cedbc71cb1faf52ca7bb04898b2bcaa9f6c521f2236e2475d41954c93061267f0fcca5053d4dae3cf12bb59fdc986612dfdb
+EBUILD pax-utils-1.1.6-r1.ebuild 1637 SHA256 fd24ff4711211fc878cb854eaca373be93c4d5c1a32325d78d1b0b6073e55e79 SHA512 bac13439a4dd3124333a1660a616510328d3bd458980ddc70b2fc72944f51dc0d429d5f0fac8d3093b8a20c9f3472be509ff18343988f1cb8b2ba44f476a5d6e WHIRLPOOL 48e6242b7341ea7effdb7b33af92b2a8a96a9abc3588dee5827546bd292bed8b2d4638737dc398143230c7ab68275cdd8de4ce0b3a6e3ba7b2b93d4c429e0331
+EBUILD pax-utils-1.1.6.ebuild 1416 SHA256 5b00c63c492a34e5bdab68d60c158af000a6b92d44614e04a26568fe9dd944c0 SHA512 74497bc240519378ec564f2374edfe39da3eb79d35666bae424c94b62c24ed65ebeb172bb0b6bf19c1786653b82da14eb354d9bc9126f505875c3c5644163925 WHIRLPOOL 27f8cfd029129c1ca165a6cb64f39b13fa5977f4e777b64547182a9a98015eab27f371c89d3526c593a754991bd3a5c5f83cfa5021b7fd99b9d51b985c6b8f81
+EBUILD pax-utils-1.1.7.ebuild 1484 SHA256 d528431e1d7cdc60394a14e8a5b1569a15363de6e20f6384930ec8d59686e860 SHA512 b4974eb1d8e2c1a7958cdbd8ebc33c5120fe84b6050094400bb86ec7ba8c883a2b06171c8aa8a7cc7f66bd5a18057cabfa6a3afc1662cb5b4c6bca95da39592b WHIRLPOOL 312bf2b3035d6f0053aa9b4ad4c017391ccadd43b615780803f0a758e82d78e8e3f20ac3cf439377eae3cd013209d155a6a2bca961ad9ab7e6dd85d3c221d34c
+EBUILD pax-utils-1.2.2-r1.ebuild 1572 SHA256 27f6bd1bbb4e8b4c4065276a30d8484b45d12f7907388aafb9449b940b20647a SHA512 72474cd91e454c095154b8841410b922cf120370b4b2cb1a5451bcb71a6c94a880d5373b6fc50157e2e4e5a7e32a0eb3df250a71d64af533c7989e5ad585650a WHIRLPOOL 053ccbde01d72a483c989cc14128f8dd46291c0bec2beb5a88d21f7d7cbc8b28a3c03b8a2ffec8acfa14a490991a95cf759109a60514daa53e66abe004c09a92
+EBUILD pax-utils-1.2.2-r2.ebuild 1648 SHA256 cef03988b5e7ce368e29092fdbeebc6f4df52a8acd8a2e7df1404f8ae0177bb1 SHA512 9da01fc5f44e983de46d7ec2003d05ba295e762a573a2db9c4fc722fe4e7dac5ff4fd4e9d86a00ce604e19fa01e63e8735735c02caa7d7a64622fd39a561adc9 WHIRLPOOL bbb41d56026220995dec846ed8bd05321a101a1aedc5be1832c904dd3b164fd1e7866aa4315c4b059a51dcba855abce8eb397cfca1bef03e6bcda84c5ebf4927
+EBUILD pax-utils-1.2.2.ebuild 1497 SHA256 bb8e2231396049833d5dae9e08017cab527ddae7e43dd0190d0d613dec14148a SHA512 1e8c25973b57212ac6ccea812e20e444fa45488acf5def5bc661aa4b23a8cf50e48815f9470febab3a825bb06582824f009aa7abf2a18b0c5d02de4eea8b30fd WHIRLPOOL 09809b7d38dfbd323b7ed792a76d61a2f43bbbb962ac191f3402a5572513544a78eeb25bfbbbeb819184f34de17cea815c21c5fe7d84ea72b9d1e41ed4ec6dca
+MISC ChangeLog 8224 SHA256 dcc36a07e9e840078e14cc5a0f35e924ae0c62e392395c2cd5d1482ad3063ede SHA512 1e52eb773a4bd8aee862e47278c7d5a73aeca0adaefb59f014553e32186252e7b0372f0510ce7c63f3f949183caad7f3a01d4e22858b3f48ec0e684d0cf5409f WHIRLPOOL 08d75f7e3e2b9b01e62c83231251d0cd30d99a8d4bbbb1488684aec53601abfee0000cf8c45d850b70ac439f5b07135b053abd0d196c36b6074ae52e49703820
+MISC ChangeLog-2015 25321 SHA256 d9fc5939318d48eb09554845e49ffdd2bd81d7700ea1a2eb3a245eac23de0523 SHA512 00829c624168f920c69bd64fcc4923d10df556d86484137c6f381d81a0f166e3f2b58559bf5a53d19a5fd608498b2b827b72d3bb31254e5e4b625dcbc6b88d05 WHIRLPOOL 2a6014ed7565ce08f011c6306592185831fa2a4c191eb9650c87927ba5715504cf958b6438ec28c7bfda9c3349fec8db3b39039abd97fb8a0b9ff3717bfff6a4
+MISC metadata.xml 584 SHA256 5aa079a277468814cecc8dd01365e017de646a3786b561c001a7398e7747f047 SHA512 d8458090413d52aaa38b6867edf0a9f996e08b36f9750bfa2469c2aa7d6b0718157feace3dbbb3c63c2795e977ddd6a9c637223192dff90e8ca87facb730bdf4 WHIRLPOOL d745c0db8e85f85c968fea5408a05c6585d54774bc3f953b1debb0ec17b7ce5d942cd1e048026f1a790bc56aa20f3301f973c5e02dd5da24f47d725f6652f5be
diff --git a/app-misc/pax-utils/files/0001-lddtree.py-work-around-pyelftools-API-change.patch b/app-misc/pax-utils/files/0001-lddtree.py-work-around-pyelftools-API-change.patch
new file mode 100644
index 000000000000..7a8b74ea1e03
--- /dev/null
+++ b/app-misc/pax-utils/files/0001-lddtree.py-work-around-pyelftools-API-change.patch
@@ -0,0 +1,29 @@
+From 6557b1512ebfda508345e032e09ed85789c16c98 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Tue, 8 Nov 2016 15:37:27 -0500
+Subject: [PATCH] lddtree.py: work around pyelftools API change
+
+Section names now get returned as strings rather than bytes. See
+108eaea9 upstream.
+
+Bug: https://bugs.gentoo.org/599082
+---
+ lddtree.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lddtree.py b/lddtree.py
+index 3971a9a..8480248 100755
+--- a/lddtree.py
++++ b/lddtree.py
+@@ -72,6 +72,8 @@ def dbg(debug, *args, **kwargs):
+
+ def bstr(buf):
+ """Decode the byte string into a string"""
++ if isinstance(buf, str):
++ return buf
+ return buf.decode('utf-8')
+
+
+--
+2.10.2
+
diff --git a/app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch b/app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch
new file mode 100644
index 000000000000..8139310b2e0b
--- /dev/null
+++ b/app-misc/pax-utils/files/pax-utils-1.2.2-linux-2.6.32.patch
@@ -0,0 +1,65 @@
+This is the diff for generated sources after applying:
+https://github.com/gentoo/pax-utils/pull/2
+
+diff -ru pax-utils-HEAD.orig/config.h.in pax-utils-HEAD/config.h.in
+--- pax-utils-HEAD.orig/config.h.in 2017-04-18 16:26:42.000000000 +0200
++++ pax-utils-HEAD/config.h.in 2017-04-18 16:28:05.000000000 +0200
+@@ -526,6 +526,9 @@
+ /* Define to 1 if you have the `link' function. */
+ #undef HAVE_LINK
+
++/* Define to 1 if you have the <linux/securebits.h> header file. */
++#undef HAVE_LINUX_SECUREBITS_H
++
+ /* Define to 1 if the system has the type 'long long int'. */
+ #undef HAVE_LONG_LONG_INT
+
+diff -ru pax-utils-HEAD.orig/configure pax-utils-HEAD/configure
+--- pax-utils-HEAD.orig/configure 2017-04-18 16:26:41.000000000 +0200
++++ pax-utils-HEAD/configure 2017-04-18 16:28:03.000000000 +0200
+@@ -34537,6 +34537,19 @@
+
+
+
++for ac_header in linux/securebits.h
++do :
++ ac_fn_c_check_header_mongrel "$LINENO" "linux/securebits.h" "ac_cv_header_linux_securebits_h" "$ac_includes_default"
++if test "x$ac_cv_header_linux_securebits_h" = xyes; then :
++ cat >>confdefs.h <<_ACEOF
++#define HAVE_LINUX_SECUREBITS_H 1
++_ACEOF
++
++fi
++
++done
++
++
+ ac_config_files="$ac_config_files Makefile autotools/gnulib/Makefile"
+
+ cat >confcache <<\_ACEOF
+diff -ru pax-utils-HEAD.orig/configure.ac pax-utils-HEAD/configure.ac
+--- pax-utils-HEAD.orig/configure.ac 2017-04-18 16:25:48.000000000 +0200
++++ pax-utils-HEAD/configure.ac 2017-04-18 16:27:11.000000000 +0200
+#@@ -62,6 +62,8 @@
+ AX_CHECK_COMPILE_FLAG(flag, AS_VAR_APPEND([CFLAGS], " flag"))
+ ])
+
++AC_CHECK_HEADERS([linux/securebits.h])
++
+ AC_CONFIG_FILES([
+ Makefile
+ autotools/gnulib/Makefile
+diff -ru pax-utils-HEAD.orig/porting.h pax-utils-HEAD/porting.h
+--- pax-utils-HEAD.orig/porting.h 2017-03-03 21:07:15.000000000 +0100
++++ pax-utils-HEAD/porting.h 2017-04-18 16:18:22.000000000 +0200
+@@ -46,7 +46,9 @@
+ #endif
+ #if defined(__linux__)
+ # include <sys/prctl.h>
+-# include <linux/securebits.h>
++# if !defined(HAVE_CONFIG_H) || defined(HAVE_LINUX_SECUREBITS_H)
++# include <linux/securebits.h>
++# endif
+ #endif
+ #if defined(__GLIBC__) || defined(__UCLIBC__) || defined(__ANDROID__)
+ # include <byteswap.h>
diff --git a/app-misc/pax-utils/files/pax-utils-1.2.2-scanelf-fix-out-of-bounds-access-in-ia64.patch b/app-misc/pax-utils/files/pax-utils-1.2.2-scanelf-fix-out-of-bounds-access-in-ia64.patch
new file mode 100644
index 000000000000..1fa5c3187e5a
--- /dev/null
+++ b/app-misc/pax-utils/files/pax-utils-1.2.2-scanelf-fix-out-of-bounds-access-in-ia64.patch
@@ -0,0 +1,72 @@
+From e95103c40d0541fbcdb4b84b000832d9b1b83b8d Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Sat, 19 Aug 2017 10:34:41 +0100
+Subject: [PATCH] scanelf: fix out-of-bounds access in ia64
+
+commit 2eb852129394f97dae89c0ff1f9f48637edcb0e9
+slightly changed decoder and added unchecked
+read from elf header:
+
+```
+ switch (EGET(dpltrel->d_un.d_val)) { \
+ case DT_REL: \
+ rel = REL##B(elf->vdata + EGET(drel->d_un.d_val)); \
+```
+
+On ia64 'EGET(drel->d_un.d_val)' returns absolute address:
+
+```
+ $ dumpelf bug/luatex
+ ...
+ /* Dynamic tag #31 'DT_RELA' 0x97E310 */
+ {
+ .d_tag = 0x7 ,
+ .d_un = {
+ .d_val = 0x4000000000031C30 ,
+ .d_ptr = 0x4000000000031C30 ,
+ },
+ },
+```
+
+That causes 'scanelf' crash on binaries like 'luatex'.
+
+This change restores check and loudly skips such sections:
+ scanelf: bug/luatex: DT_RELA is out of file range
+
+Bug: https://bugs.gentoo.org/624356
+Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+---
+ scanelf.c | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/scanelf.c b/scanelf.c
+index 1ead891..a054408 100644
+--- a/scanelf.c
++++ b/scanelf.c
+@@ -607,11 +607,23 @@ static char *scanelf_file_textrels(elfobj *elf, char *found_textrels, char *foun
+ } \
+ switch (EGET(dpltrel->d_un.d_val)) { \
+ case DT_REL: \
++ if (EGET(drel->d_un.d_val) >= (uint64_t)elf->len - sizeof (drel->d_un.d_val)) { \
++ rel = NULL; \
++ rela = NULL; \
++ warn("%s: DT_REL is out of file range", elf->filename); \
++ break; \
++ } \
+ rel = REL##B(elf->vdata + EGET(drel->d_un.d_val)); \
+ rela = NULL; \
+ pltrel = DT_REL; \
+ break; \
+ case DT_RELA: \
++ if (EGET(drel->d_un.d_val) >= (uint64_t)elf->len - sizeof (drel->d_un.d_val)) { \
++ rel = NULL; \
++ rela = NULL; \
++ warn("%s: DT_RELA is out of file range", elf->filename); \
++ break; \
++ } \
+ rel = NULL; \
+ rela = RELA##B(elf->vdata + EGET(drel->d_un.d_val)); \
+ pltrel = DT_RELA; \
+--
+2.14.1
+
diff --git a/app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch b/app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch
new file mode 100644
index 000000000000..de1427f99bd7
--- /dev/null
+++ b/app-misc/pax-utils/files/pax-utils-1.2.2-solaris.patch
@@ -0,0 +1,181 @@
+This is the diff for generated sources after applying:
+https://github.com/gentoo/pax-utils/pull/1
+
+diff -ruN pax-utils-1.2.2.orig/autotools/gnulib/Makefile.in pax-utils-1.2.2/autotools/gnulib/Makefile.in
+--- pax-utils-1.2.2.orig/autotools/gnulib/Makefile.in 2017-01-24 21:30:06.000000000 +0100
++++ pax-utils-1.2.2/autotools/gnulib/Makefile.in 2017-03-15 10:59:05.616490166 +0100
+@@ -1483,7 +1484,7 @@
+ $(top_srcdir)/autotools/snippet/c++defs.h \
+ $(top_srcdir)/autotools/snippet/warn-on-use.h stat.c \
+ stat-time.h stdbool.in.h stddef.in.h stdint.in.h stdio.in.h \
+- stdlib.in.h strcasecmp.c strncasecmp.c str-two-way.h \
++ stdlib.in.h stpcpy.c strcasecmp.c strncasecmp.c str-two-way.h \
+ strcasestr.c strdup.c strerror.c strerror-override.c \
+ strerror-override.h string.in.h strings.in.h strncat.c \
+ symlink.c at-func.c symlinkat.c sys_stat.in.h sys_time.in.h \
+@@ -1546,7 +1547,7 @@
+ msvc-nothrow.c open.c openat.c opendir.c printf-frexp.c \
+ readlink.c at-func.c readlinkat.c realloc.c rename.c \
+ at-func2.c renameat.c rmdir.c signbitd.c signbitf.c signbitl.c \
+- stat.c strcasecmp.c strncasecmp.c strcasestr.c strdup.c \
++ stat.c stpcpy.c strcasecmp.c strncasecmp.c strcasestr.c strdup.c \
+ strerror.c strerror-override.c strncat.c symlink.c at-func.c \
+ symlinkat.c unlink.c at-func.c unlinkat.c at-func.c \
+ utimensat.c asnprintf.c printf-args.c printf-parse.c \
+@@ -1708,6 +1709,7 @@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat-time.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statat.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stpcpy.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasecmp.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strcasestr.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strdup.Po@am__quote@
+diff -ruN pax-utils-1.2.2.orig/autotools/gnulib/stpcpy.c pax-utils-1.2.2/autotools/gnulib/stpcpy.c
+--- pax-utils-1.2.2.orig/autotools/gnulib/stpcpy.c 1970-01-01 01:00:00.000000000 +0100
++++ pax-utils-1.2.2/autotools/gnulib/stpcpy.c 2017-03-15 10:59:24.159820259 +0100
+@@ -0,0 +1,49 @@
++/* stpcpy.c -- copy a string and return pointer to end of new string
++ Copyright (C) 1992, 1995, 1997-1998, 2006, 2009-2017 Free Software
++ Foundation, Inc.
++
++ NOTE: The canonical source of this file is maintained with the GNU C Library.
++ Bugs can be reported to bug-glibc@prep.ai.mit.edu.
++
++ This program is free software: you can redistribute it and/or modify it
++ under the terms of the GNU General Public License as published by the
++ Free Software Foundation; either version 3 of the License, or any
++ later version.
++
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
++
++ You should have received a copy of the GNU General Public License
++ along with this program. If not, see <http://www.gnu.org/licenses/>. */
++
++#include <config.h>
++
++#include <string.h>
++
++#undef __stpcpy
++#ifdef _LIBC
++# undef stpcpy
++#endif
++
++#ifndef weak_alias
++# define __stpcpy stpcpy
++#endif
++
++/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
++char *
++__stpcpy (char *dest, const char *src)
++{
++ register char *d = dest;
++ register const char *s = src;
++
++ do
++ *d++ = *s;
++ while (*s++ != '\0');
++
++ return d - 1;
++}
++#ifdef weak_alias
++weak_alias (__stpcpy, stpcpy)
++#endif
+diff -ruN pax-utils-1.2.2.orig/config.h.in pax-utils-1.2.2/config.h.in
+--- pax-utils-1.2.2.orig/config.h.in 2017-01-24 21:30:04.000000000 +0100
++++ pax-utils-1.2.2/config.h.in 2017-03-15 11:01:30.156464381 +0100
+@@ -264,6 +264,9 @@
+ /* Define to 1 when the gnulib module stat should be tested. */
+ #undef GNULIB_TEST_STAT
+
++/* Define to 1 when the gnulib module stpcpy should be tested. */
++#undef GNULIB_TEST_STPCPY
++
+ /* Define to 1 when the gnulib module strcasestr should be tested. */
+ #undef GNULIB_TEST_STRCASESTR
+
+@@ -1415,6 +1418,9 @@
+ /* Define to 1 if you have the <stdlib.h> header file. */
+ #undef HAVE_STDLIB_H
+
++/* Define to 1 if you have the `stpcpy' function. */
++#undef HAVE_STPCPY
++
+ /* Define to 1 if you have the `strcasecmp' function. */
+ #undef HAVE_STRCASECMP
+
+diff -ruN pax-utils-1.2.2.orig/configure pax-utils-1.2.2/configure
+--- pax-utils-1.2.2.orig/configure 2017-01-24 21:30:03.000000000 +0100
++++ pax-utils-1.2.2/configure 2017-03-15 11:02:09.889790417 +0100
+@@ -31596,6 +31597,57 @@
+
+
+
++
++
++
++
++
++ for ac_func in stpcpy
++do :
++ ac_fn_c_check_func "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
++if test "x$ac_cv_func_stpcpy" = xyes; then :
++ cat >>confdefs.h <<_ACEOF
++#define HAVE_STPCPY 1
++_ACEOF
++
++fi
++done
++
++ if test $ac_cv_func_stpcpy = no; then
++ HAVE_STPCPY=0
++ fi
++
++ if test $HAVE_STPCPY = 0; then
++
++
++
++
++
++
++
++
++ gl_LIBOBJS="$gl_LIBOBJS stpcpy.$ac_objext"
++
++
++ :
++
++ fi
++
++
++
++
++
++ GNULIB_STPCPY=1
++
++
++
++
++
++$as_echo "#define GNULIB_TEST_STPCPY 1" >>confdefs.h
++
++
++
++
+
+
+ for ac_func in strcasecmp
+diff -ruN pax-utils-1.2.2.orig/Makefile.in pax-utils-1.2.2/Makefile.in
+--- pax-utils-1.2.2.orig/Makefile.in 2017-01-24 21:30:06.000000000 +0100
++++ pax-utils-1.2.2/Makefile.in 2017-03-15 11:03:01.856447406 +0100
+@@ -1522,7 +1523,7 @@
+ security.c \
+ xfuncs.c
+
+-LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a
++LDADD = libpaxutils.la $(top_builddir)/autotools/gnulib/libgnu.a $(LIB_EACCESS)
+ bin_SCRIPTS = lddtree symtree
+ CLEANFILES = $(bin_SCRIPTS)
+ TMAKE = \
diff --git a/app-misc/pax-utils/metadata.xml b/app-misc/pax-utils/metadata.xml
new file mode 100644
index 000000000000..73cd9cec1c9f
--- /dev/null
+++ b/app-misc/pax-utils/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>vapier@gentoo.org</email>
+ <description>Maintainer</description>
+ </maintainer>
+ <longdescription>A suite of ELF tools to aid auditing systems. Contains various ELF related utils for ELF32, ELF64 binaries useful for displaying PaX and security info on a large groups of binary files.</longdescription>
+ <use>
+ <flag name="python">Install a more powerful/faster version of lddtree</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/pax-utils/pax-utils-1.1.6-r1.ebuild b/app-misc/pax-utils/pax-utils-1.1.6-r1.ebuild
new file mode 100644
index 000000000000..e5a993a7e987
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-1.1.6-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF utils that can check files for security relevant properties"
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~solar/pax/${P}.tar.xz
+ https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="caps debug python seccomp"
+
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
+ python? ( dev-python/pyelftools )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${RDEPEND}
+ caps? ( virtual/pkgconfig )
+ seccomp? ( virtual/pkgconfig )
+ app-arch/xz-utils"
+
+_emake() {
+ emake \
+ USE_CAP=$(usex caps) \
+ USE_DEBUG=$(usex debug) \
+ USE_PYTHON=$(usex python) \
+ USE_SECCOMP=$(usex seccomp) \
+ "$@"
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/0001-lddtree.py-work-around-pyelftools-API-change.patch"
+}
+
+src_configure() {
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system
+ if use prefix || ! use kernel_linux || \
+ has_version '<sys-libs/glibc-2.10'
+ then
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
+ else
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+}
diff --git a/app-misc/pax-utils/pax-utils-1.1.6.ebuild b/app-misc/pax-utils/pax-utils-1.1.6.ebuild
new file mode 100644
index 000000000000..3696902fdd35
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-1.1.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF utils that can check files for security relevant properties"
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~solar/pax/${P}.tar.xz
+ https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="caps debug python seccomp"
+
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
+ python? ( dev-python/pyelftools )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${RDEPEND}
+ caps? ( virtual/pkgconfig )
+ seccomp? ( virtual/pkgconfig )
+ app-arch/xz-utils"
+
+_emake() {
+ emake \
+ USE_CAP=$(usex caps) \
+ USE_DEBUG=$(usex debug) \
+ USE_PYTHON=$(usex python) \
+ USE_SECCOMP=$(usex seccomp) \
+ "$@"
+}
+
+src_configure() {
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system
+ if use prefix || ! use kernel_linux || \
+ has_version '<sys-libs/glibc-2.10'
+ then
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
+ else
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+}
diff --git a/app-misc/pax-utils/pax-utils-1.1.7.ebuild b/app-misc/pax-utils/pax-utils-1.1.7.ebuild
new file mode 100644
index 000000000000..7c362e60f15f
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-1.1.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF utils that can check files for security relevant properties"
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="caps debug python seccomp"
+
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
+ python? ( dev-python/pyelftools )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${RDEPEND}
+ caps? ( virtual/pkgconfig )
+ seccomp? ( virtual/pkgconfig )
+ app-arch/xz-utils"
+
+_emake() {
+ emake \
+ USE_CAP=$(usex caps) \
+ USE_DEBUG=$(usex debug) \
+ USE_PYTHON=$(usex python) \
+ USE_SECCOMP=$(usex seccomp) \
+ "$@"
+}
+
+src_configure() {
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system
+ if use prefix || ! use kernel_linux || \
+ has_version '<sys-libs/glibc-2.10'
+ then
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
+ else
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+}
diff --git a/app-misc/pax-utils/pax-utils-1.2.2-r1.ebuild b/app-misc/pax-utils/pax-utils-1.2.2-r1.ebuild
new file mode 100644
index 000000000000..ba368f7be676
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-1.2.2-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF utils that can check files for security relevant properties"
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="caps debug python seccomp"
+
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
+ python? ( dev-python/pyelftools )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${RDEPEND}
+ caps? ( virtual/pkgconfig )
+ seccomp? ( virtual/pkgconfig )
+ app-arch/xz-utils"
+
+PATCHES=("${FILESDIR}"/${P}-scanelf-fix-out-of-bounds-access-in-ia64.patch)
+
+_emake() {
+ emake \
+ USE_CAP=$(usex caps) \
+ USE_DEBUG=$(usex debug) \
+ USE_PYTHON=$(usex python) \
+ USE_SECCOMP=$(usex seccomp) \
+ "$@"
+}
+
+src_configure() {
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system
+ if use prefix || ! use kernel_linux || \
+ has_version '<sys-libs/glibc-2.10'
+ then
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
+ else
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+}
diff --git a/app-misc/pax-utils/pax-utils-1.2.2-r2.ebuild b/app-misc/pax-utils/pax-utils-1.2.2-r2.ebuild
new file mode 100644
index 000000000000..26ac45008744
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-1.2.2-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF utils that can check files for security relevant properties"
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="caps debug python seccomp"
+
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
+ python? ( dev-python/pyelftools )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${RDEPEND}
+ caps? ( virtual/pkgconfig )
+ seccomp? ( virtual/pkgconfig )
+ app-arch/xz-utils"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-scanelf-fix-out-of-bounds-access-in-ia64.patch
+ "${FILESDIR}"/${P}-solaris.patch
+ "${FILESDIR}"/${P}-linux-2.6.32.patch
+)
+
+_emake() {
+ emake \
+ USE_CAP=$(usex caps) \
+ USE_DEBUG=$(usex debug) \
+ USE_PYTHON=$(usex python) \
+ USE_SECCOMP=$(usex seccomp) \
+ "$@"
+}
+
+src_configure() {
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system
+ if use prefix || ! use kernel_linux || \
+ has_version '<sys-libs/glibc-2.10'
+ then
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
+ else
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+}
diff --git a/app-misc/pax-utils/pax-utils-1.2.2.ebuild b/app-misc/pax-utils/pax-utils-1.2.2.ebuild
new file mode 100644
index 000000000000..b40fc4f31b49
--- /dev/null
+++ b/app-misc/pax-utils/pax-utils-1.2.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils toolchain-funcs unpacker
+
+DESCRIPTION="ELF utils that can check files for security relevant properties"
+HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="caps debug python seccomp"
+
+RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
+ python? ( dev-python/pyelftools )
+ seccomp? ( sys-libs/libseccomp )"
+DEPEND="${RDEPEND}
+ caps? ( virtual/pkgconfig )
+ seccomp? ( virtual/pkgconfig )
+ app-arch/xz-utils"
+
+_emake() {
+ emake \
+ USE_CAP=$(usex caps) \
+ USE_DEBUG=$(usex debug) \
+ USE_PYTHON=$(usex python) \
+ USE_SECCOMP=$(usex seccomp) \
+ "$@"
+}
+
+src_configure() {
+ # Avoid slow configure+gnulib+make if on an up-to-date Linux system
+ if use prefix || ! use kernel_linux || \
+ has_version '<sys-libs/glibc-2.10'
+ then
+ econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
+ else
+ tc-export CC PKG_CONFIG
+ fi
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake check
+}
+
+src_install() {
+ _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
+}
diff --git a/app-misc/pdfpc/Manifest b/app-misc/pdfpc/Manifest
new file mode 100644
index 000000000000..61014bc9864b
--- /dev/null
+++ b/app-misc/pdfpc/Manifest
@@ -0,0 +1,9 @@
+DIST pdfpc-3.1.1.tgz 199004 SHA256 ec5ffb9c2b55d1bac76172a6a13ed527ceed8cf0d659aca5e302f6a7185f00f2 SHA512 554203094b18fe11fd085414961de6644df3c258ad52d46ad171cfd6c2199028bcbaa9560bdaba63d83f858b467407cc276972b34f341cc25260db1d1358e88d WHIRLPOOL bddcba6a4285ea2b58dd01f76b7b050db630eaa97de5bba32a66f7f85563e6a99763a52e82286297f605dfa59d9ff918007baab297e587968ac1c83e3d69e8a8
+DIST pdfpc-4.0.7.tar.gz 83626 SHA256 25d5aa2cce344f1554f1f45a7c1f636576587cfd553d75d704e0c95ae3b2a503 SHA512 557e2a24e7aa4b0a7bc413517d6b274c7bad91f5e9d24ec139d0e62c490712081344448bfbedc82a90d28cd9b5910a6f51863aa44dc1c7a61ada6d154780444c WHIRLPOOL f5018d7ba64bea17923c9e3f2e5b6e7e3bc950ffea02a53c93d63057590f1538371fe6b11383d6fbfb4c32d04887f75d1e01f6b24c4b9fc43ac1aacf9be075cd
+DIST pdfpc-4.0.8.tar.gz 91138 SHA256 c04539398176b0911ec7216c48a04d90d7c893aa5b16cfdef8ea861885991066 SHA512 f077f08f2ee997d55b4e4ced31ec6f21791353871104fff9ece264455a18e30ba365933b15b6b596817f3e6f3f0a181f4fecf19180b8a4337f3752d3aebec7d7 WHIRLPOOL 901f46b831162c88d510754288feb7851e5b3f31af618b7e0b91f884b980bb72ac1de897878bc07db72b6b5d6fa15f108404e835778a0c3615e06a94451567b5
+EBUILD pdfpc-3.1.1.ebuild 590 SHA256 cd0fc35a23e5c800784c16991f569e456a1d8f849ecea186de8e995ccfcd1b1d SHA512 aabac9f519dee433cfb1578288563351f289b813ca63b390ec13d181e739c813e2b4f05f5beabcb805718a1cfd513b92a0f0a23a2e814b6a8c94483f201b2147 WHIRLPOOL b04040c22d857bf9351f78150db5fd511ec54d5c41606528c7002421e636cea2ddf76346e70979a290738546d90127e3b476aa4423e3f7b3fe2c2a471d82179c
+EBUILD pdfpc-4.0.7.ebuild 1034 SHA256 3ff520b1d24bb3480e3e936f99fd76910af939fefec1f4a9672c67905818970e SHA512 f7931867088f95943195534f4be6bb9de33b6cd5c0e065c8bae0b84ec45f690a7f4a16e24727a941534ecf8a37cb646a56fa7e9783009343c96a40cad10411b7 WHIRLPOOL 41653a5cb274bf6b764e708e855a35bc338b5f87bac8c23f88e2371726fee12719a73dbe0612aaf890e8e31076c74b1e3637e9d42aebff6655a8de046dc65b90
+EBUILD pdfpc-4.0.8.ebuild 1034 SHA256 3ff520b1d24bb3480e3e936f99fd76910af939fefec1f4a9672c67905818970e SHA512 f7931867088f95943195534f4be6bb9de33b6cd5c0e065c8bae0b84ec45f690a7f4a16e24727a941534ecf8a37cb646a56fa7e9783009343c96a40cad10411b7 WHIRLPOOL 41653a5cb274bf6b764e708e855a35bc338b5f87bac8c23f88e2371726fee12719a73dbe0612aaf890e8e31076c74b1e3637e9d42aebff6655a8de046dc65b90
+MISC ChangeLog 3683 SHA256 d9d2553b84a94155f76d3cf74da2fc80a4a88cbdf58cb2e0d64cc2bfb35d55ff SHA512 50fbc143491eded5a2244fb85412c9a0cec28fb95182a8ccda53f40fcc443b403861eaf3515fadf65afbf634e9dca8b9faa74e9cb5863ec0ee73b19e227d95c2 WHIRLPOOL 3e036209708d2232917ee51ed4f7109bf0cf11fc375495659143196daf64d0d4eea8f72950523088798ebadeace3409da0bcf51c41d3ff4796f084c0915244f2
+MISC ChangeLog-2015 1098 SHA256 c1ce7cf2b0d8495e6b5b3b4292fcd763b0e03f29e92410f23640772eff6983e9 SHA512 1e5913fb5922569f4235faa5f59ea27022c939ae609fced56b96d327d618f33fc5630c2b055fafbc479c77fb305237a9049d4a91cb7eccb558e69969f27f2b7f WHIRLPOOL c802cf79becd8a9f0139952c66700259cd397c1a01ee04672bfa39995e1dfb97096a3a88061962ff83220d478a6e29676a44ccaf7684d37c3a93c1c4aa7a2463
+MISC metadata.xml 248 SHA256 5c8977883d58e31b4f8070ee870a4fa79cd0cc99653f15976e5aefd04f5db3ee SHA512 55030b20a7a78b1738b2421cdb749e17c0704fa5b90109d83a4f81f09c177d2b27686e524935a63c8f1e7bd8f011a3a966d6ce336d335c2361fdd208763c28ef WHIRLPOOL 2a504933f19290acefe1f6961c2ebbe96fe45be7df0fd43137573d870961bf12fddce4ce0a79fb19f5f509c49dc458e7f00b8975cf699bff63312ff21947aafd
diff --git a/app-misc/pdfpc/metadata.xml b/app-misc/pdfpc/metadata.xml
new file mode 100644
index 000000000000..6476f3f1f07e
--- /dev/null
+++ b/app-misc/pdfpc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">pdfpc/pdfpc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/pdfpc/pdfpc-3.1.1.ebuild b/app-misc/pdfpc/pdfpc-3.1.1.ebuild
new file mode 100644
index 000000000000..73e354cf2efb
--- /dev/null
+++ b/app-misc/pdfpc/pdfpc-3.1.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Presenter console with multi-monitor support for PDF files"
+HOMEPAGE="https://davvil.github.com/pdfpc/"
+SRC_URI="mirror://github/davvil/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="app-text/poppler:=[cairo]
+ dev-libs/glib:2
+ dev-libs/libgee:0
+ gnome-base/librsvg
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+
+src_configure(){
+ local mycmakeargs=(
+ -DSYSCONFDIR="${EPREFIX}/etc"
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-misc/pdfpc/pdfpc-4.0.7.ebuild b/app-misc/pdfpc/pdfpc-4.0.7.ebuild
new file mode 100644
index 000000000000..f0b2e1fa3cc0
--- /dev/null
+++ b/app-misc/pdfpc/pdfpc-4.0.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VALA_MIN_API_VERSION="0.26"
+VALA_MAX_API_VERSION="0.36" # fix sed line if you increase this
+
+inherit vala cmake-utils
+
+DESCRIPTION="Presenter console with multi-monitor support for PDF files"
+HOMEPAGE="http://pdfpc.github.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gstreamer"
+
+RDEPEND="app-text/poppler:=[cairo]
+ dev-libs/glib:2
+ dev-libs/libgee:0.8
+ gnome-base/librsvg
+ gstreamer? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ sys-apps/dbus
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ $(vala_depend)"
+
+src_prepare() {
+ default
+ sed -i -e "s/valac-0.20/valac-0.36 valac-0.34 valac-0.32 valac-0.30 valac-0.28 valac-0.26/" cmake/vala/FindVala.cmake || die
+ vala_src_prepare
+}
+
+src_configure(){
+ local mycmakeargs=(
+ -DSYSCONFDIR="${EPREFIX}/etc"
+ -DMOVIES=$(usex gstreamer on off)
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-misc/pdfpc/pdfpc-4.0.8.ebuild b/app-misc/pdfpc/pdfpc-4.0.8.ebuild
new file mode 100644
index 000000000000..f0b2e1fa3cc0
--- /dev/null
+++ b/app-misc/pdfpc/pdfpc-4.0.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VALA_MIN_API_VERSION="0.26"
+VALA_MAX_API_VERSION="0.36" # fix sed line if you increase this
+
+inherit vala cmake-utils
+
+DESCRIPTION="Presenter console with multi-monitor support for PDF files"
+HOMEPAGE="http://pdfpc.github.io"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gstreamer"
+
+RDEPEND="app-text/poppler:=[cairo]
+ dev-libs/glib:2
+ dev-libs/libgee:0.8
+ gnome-base/librsvg
+ gstreamer? ( media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ sys-apps/dbus
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ $(vala_depend)"
+
+src_prepare() {
+ default
+ sed -i -e "s/valac-0.20/valac-0.36 valac-0.34 valac-0.32 valac-0.30 valac-0.28 valac-0.26/" cmake/vala/FindVala.cmake || die
+ vala_src_prepare
+}
+
+src_configure(){
+ local mycmakeargs=(
+ -DSYSCONFDIR="${EPREFIX}/etc"
+ -DMOVIES=$(usex gstreamer on off)
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-misc/perltrash/Manifest b/app-misc/perltrash/Manifest
new file mode 100644
index 000000000000..50a2ce7cf11c
--- /dev/null
+++ b/app-misc/perltrash/Manifest
@@ -0,0 +1,5 @@
+DIST perltrash-0.3.tar.bz2 10871 SHA256 5ce31f06ed28fab0f8fe81abaaacacb355b9f87b7bfad98b318766e926ef6201 SHA512 610657a42be862c687caff4be5833e1ac629ec5869e6f7263cd96fa5f275b27aa435b1872737cf51afcc75083e4647fcdd3b7e3d1448039c78c1fc489c63492a WHIRLPOOL 97be0d0a70a559bdcfc5d76ba3601cffdfbd67a4e0353eb500bb7eb7b3adac8ee3e9ea7cc7efa088044859f9636968fedabb531b015aa8e2a2ed70552023d55e
+EBUILD perltrash-0.3-r1.ebuild 421 SHA256 69840ea15af5f8e5974f034e8ed3be63922d777b74ece039ec2b4cb4d3927e40 SHA512 b0ae364c7e005ae095cf6f2d6eb399c69a9aaaa26e0de19defe69fdaaf28968437d3a9b2c61c6fa381ba8b97ab49a8df81f5b0166ea70f8978f81a7e7fdd6d31 WHIRLPOOL 783d89e32853c39f143002953e7a9330820000b2c232c2f3e60e969ac93b67a06259712cc1ae6acbdfe1f3d521705a32493925143b355ab63f85e2881e80a198
+MISC ChangeLog 2794 SHA256 13f1d202ad31cef2c231a4e7bd3f33fbba256aa3b0b82bcdae7dd82e62161d8d SHA512 2a500dcd4aad2cbdd342ca48fcf6287b140fb696b2309377278dbce1e5d19a01d1aef3091ef8f8460ffb6fbc17d15c834748bbc4c3b05150679fd9af32f6954c WHIRLPOOL 0d51ffa85c3fd50e91517ba4df0d0a279b3bc50673d59c4e34a1236e6ecad81379f5388332593c6230c5376faf6af92ce7c2e2dc46912657921d945cc4cb18e3
+MISC ChangeLog-2015 1048 SHA256 8388864be8a9d6de2eedb878b3fd45c4e8d7a36622b3129ac7aab9deb3a27d8f SHA512 a822086ac8f909822583748ebd1d5114c8148fdad93b855ffd2c529f80172a24f60c038bab5b21e69aa550da46fda23105558ad7ba44c70301ace7bafa422f7a WHIRLPOOL c7e8d35a9904fdd949f30921f2ccbcd474f864cac669d856166f15d53a9bd4d9151fce855d2b4a9620a3c2fb622a959128934b6d864d0e587179845d56bfdfa0
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/perltrash/metadata.xml b/app-misc/perltrash/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/perltrash/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/perltrash/perltrash-0.3-r1.ebuild b/app-misc/perltrash/perltrash-0.3-r1.ebuild
new file mode 100644
index 000000000000..278d09b1c36b
--- /dev/null
+++ b/app-misc/perltrash/perltrash-0.3-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Command-line trash can emulation"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="ftp://www.iq-computing.de/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl"
+
+DOCS=( README.txt )
+
+src_install() {
+ newbin "${PN}.pl" "${PN}"
+}
diff --git a/app-misc/pet/Manifest b/app-misc/pet/Manifest
new file mode 100644
index 000000000000..8f026881352b
--- /dev/null
+++ b/app-misc/pet/Manifest
@@ -0,0 +1,18 @@
+DIST github.com-BurntSushi-toml-b26d9c308763d68093482582cea63d69be07a0f0.tar.gz 41564 SHA256 bbee7300ea521e3cc5ae5d82cd2a06ff23fd68fe9de15522278de719b60fd3b4 SHA512 0a1ac02221645e06c60fdb5d162d1422fef791d101409c237a048a3d94708e3f1cf1e8e40bc390dc7cd6340f28514c2ae2d9c99a9ec2c3f969c7a8fbd5d0d232 WHIRLPOOL e2e62df39d9ee89ab7540c7a8c278c5c46eae6d71389fa2cf2b06cca852adad6cad5d8795d178b6430b0179160044f6055d2e597ef698ea8892744fd62700248
+DIST github.com-chzyer-readline-41eea22f717c616615e1e59aa06cf831f9901f35.tar.gz 35509 SHA256 0c1f8dfcedcc8a93b3ff212f6f1edd896a9a1e8c603ebf8466c9cb57815fe673 SHA512 44c70da26dff59e3ae264e9b586517327e1612d9e173d7d4a2dc50740a067bfb5af2dd9a6dceef86fa65bef719ae8dd443306078e02b2a06eefd9971896079fe WHIRLPOOL 98a7dd168efde2c4d8bb76631356767f37a5062456fec51e42cc51816d60e9b889d56217ded89437ec3b6841657fff6adaf5b74167db33f8f6b6a56671847497
+DIST github.com-fatih-color-9131ab34cf20d2f6d83fdc67168a5430d1c7dc23.tar.gz 587208 SHA256 210d4eca7ff234c0550cba4ae5749813dbd882666b308df7decdec781a2864b4 SHA512 cc36bf9807a8f50951c9da6b49ced1f3b3fff8437371e8bb0fab5f56785f2e9c0bada77efe08107405f4a72f6d5b0e0fdd34be60498bd5e52d3cabe6c6cd2a7a WHIRLPOOL a99a1b58089eb52ae9bb08364b43c57ede4c2076dacddb7526a84bb9fefbced60a37d40d628812a1e4c9767a89446cc2afd1991f944b3848dd7a6bd462d861a1
+DIST github.com-golang-appengine-170382fa85b10b94728989dfcf6cc818b335c952.tar.gz 245917 SHA256 4496c9c28231a1059579f1a564f2c75036bcef4aba7658cc58761d9c4532a68c SHA512 bf77e378486d96ac62353e2c92dae6e8e7a7daf59c26053fe66d455b2d3319101e217f0c8edb9f40ed7b00034537040a99eb96d1d9859e01794d07fd6d96d42f WHIRLPOOL cb0ba6fcf7956f9e897231bb0327c1e63deff8ffcdb25e7172b95dbec994fd851c435b1996441dca1b080a2882f1dc455cd8a0d420a9ba689b6c2c886a10c991
+DIST github.com-google-go-github-2966f2579cd93bc62410f55ba6830b3925e7629d.tar.gz 169813 SHA256 33146ac9bb7c5644643a5eeee21e7e497183386141009846e9b5f4dee2cc58ee SHA512 aaedfc089a6b1300e5c3a73fa634a982e5391463f7f594a4908cdd7c7e37c9626c7fecb2907e5bca067395fcb826001748fa1a84b3cb3ff59f8cf7006a4f6bd1 WHIRLPOOL 2bf5f036a786808464b75a34108c8980d6352b55b46670c7366c6aaa40017602edce287ded9a2510533bf462945c27bb1e220f77b2a2f77bc16fd55ef026e19e
+DIST github.com-google-go-querystring-53e6ce116135b80d037921a7fdd5138cf32d7a8a.tar.gz 7489 SHA256 41058c85e34dd2a93d0e91eff75846d191838b1f4196f34381abb1c48455349d SHA512 18830dbf6e14eb7757f7bdee1405e278b6c966fc7632be3decf34ea947705d66f8c0def8060371aa1e3c90cee7ca4324e67d9926627243f987281db52ffa2bca WHIRLPOOL c3b89e292c4364301500b7b86d1bb0945a6f6958c8bd5ad97eeab82864348f307aa028f0f616ea2e0edea553144c16f4fe50a091197944e6b48f16c57e0e1076
+DIST github.com-inconshreveable-mousetrap-76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.tar.gz 2292 SHA256 ff23c3cff5508d8ef29629a417a641130a6faa47a7d8578009ed85350ca78336 SHA512 287a52df6a3ac88a95aed19ea2c76524f9916d6c6713365f56d86e08bd4ac686d3e231aefd3361ccfbf8c9ff702c94b3cc9d200640f05149f1d885ff61164b55 WHIRLPOOL 7f67580fc4d7f67976cf1f25c8e55473071d354d5b35869735d9af41ac55d7b8f853979f853515deffff5010525a052b312c2e346b6a8a107911121500becdbd
+DIST github.com-jroimartin-gocui-ba396278de0a3c63658bbaba13d2d2fa392edb11.tar.gz 27556 SHA256 2df4e19507daacf55e0b907a8337fc35ced0021238bf6a7da79d67a89fe02ffe SHA512 70fbbc37ddae36769fd75d16c342fb41a19f0b7f09e3291fb8579afaa7f02962f7192d9030be4b35cce0fc847275ecad88121e254d28e963efa16a99cd42b41a WHIRLPOOL 1137323f1a3f05bbef0f5d1126760d0e2002cf92f6d5ef241ab113de7b8cf38fcaccf8f86078e08c2a51dfebe5793350bbffe0be2963fd9ad02275f111e21f9e
+DIST github.com-mattn-go-colorable-5411d3eea5978e6cdc258b30de592b60df6aba96.tar.gz 6670 SHA256 8753d40899afd81ade7d0666e0f9721747aa02c73c5f91d97b1669254d061d99 SHA512 a9f0dbb97686e819f1982406ae3a990c855116e60b18809ca926f040d426ca984613ce01461832369a96bcc61fb09e7e63a28d543feeccfe4935d848e8fcf543 WHIRLPOOL 19435d28c0a46e41d43027cf9af46417968857d5aec5b95e2f570f4d4a6bd6568626bd8b21c54d7769550122fec03fd34cd38f47f80eed1f54a105d16c89c920
+DIST github.com-mattn-go-isatty-57fdcb988a5c543893cc61bce354a6e24ab70022.tar.gz 3323 SHA256 9f4629a67103f50dcfd78428c438bb5bc07b4d4e5c559545f4c6209b8e7f5d08 SHA512 30ef451bf1f85c7489464e367a95a7f558c2c1a424ff49c5148393d631ceb98c58edef23fcb2b4f1bed0e7c1b3fdd8b5273874ba9304e6f29e83c0d9e127d34d WHIRLPOOL 02ec3f105efdd84266a0437b0c21d8a76e674dd8f20b80371d6b2590de684ae1502bb24588b67c1a24844fa72d8533e80858e4d9796c772b1ccf649c89f47c0b
+DIST github.com-mattn-go-runewidth-9e777a8366cce605130a531d2cd6363d07ad7317.tar.gz 22390 SHA256 ef2151a69b38e647c1b18c2c6e84c34cca59e7ea07be942b331f6ff5c4133ac3 SHA512 85430512b8c199e7e2ae4bfa77aef58958211bf85148ea439cf26ffc30704d3bbbe21e1525df579a65e0262c7f8780ff0ec345fb76907f4c66bf715f10ff6e12 WHIRLPOOL f85f1e026ab9dc5b11e3020f88b5d898baa133089247bfba849c20d15d625ef14d9ae0d742e53eda51e26304dc825bb1b7ff6a3bef69e37e41bf714946d4bc52
+DIST github.com-nsf-termbox-go-b6acae516ace002cb8105a89024544a1480655a5.tar.gz 30244 SHA256 b75c0a4437459a0d6ce42f6ccffacfbc9b97dff7926b404bea953581431a91d6 SHA512 194ccef5dc9aee30422285bc752700d24b7dc05475dd5bce5023f8fe426257d0c3d75bde5c4a3681737b7604c944d964344f81c663a4ad180f9e41b70b1e81b5 WHIRLPOOL 10e79eb053d7b1f4318acd515b0779f9eabd01e7c8f41c969faafaa9a2f1e1f2b19afaeaae19c5275accdf15c1e323966d1e750b25d2eb8a8ae577a55c14011e
+DIST github.com-spf13-cobra-63121c8814fc0b99184dbc1c8b7ef4fddae437c3.tar.gz 74684 SHA256 20dabd14c655df621a2a8f4dd2941486e86a11e0bfb0662431c743337945a851 SHA512 8919acb161f6f98e22f866726f3f85b4d5071782debe7117ad55c28508e469b73a2975d4660998a9df7a86472e8f65f2f103cf71c42d913d79a1bab6e86d94db WHIRLPOOL 426b216ae72bfed824ad9f3d88e1a76bb973fed420a99d60d0c5480c1cb522b28793db408b99e445734cac316996472d57fdde3f3f5e751a0828d9ae652ba941
+DIST github.com-spf13-pflag-2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51.tar.gz 39235 SHA256 d9372c6d3483d8dd3e932463cc0c41f79ac304064da9a15bdc98b127490a593e SHA512 6bb7e34efe274e9a77fe95771ce8831a73537c5745f58ae62ec75a3744010752e1b4f3d1c35c689a41e1b0488a090224aaa3276f0981febd0838cf1a889be202 WHIRLPOOL 7da25421c7bb841fe5ba2316935255cbf54e9d5d426ef6ddc52312494305420327dc8b97afa23d8638cf9f4964ddec7a8cd4e1d914fb275c9def00c320435a89
+DIST pet-0.2.3.tar.gz 2733693 SHA256 97fbc81877da0112a8203901d30f83e165f173555f1ba97b0f28a0ebd8683040 SHA512 5207773b71ce773c974187cd86b8ddc7d1191f1baf615e035e290254d49d8c0ac4372b3ac004c0883a3fe7167447cab21e5b0711a78ce8ba57fcace975ef80a3 WHIRLPOOL acfbd9eb23cb2a65635d6995cf79410bcc7cc5ed7d23780f5d5aa8392fb346b87eb42d57b8a8820059d93a53ebd613ee5c9c26996ffb4aa732d3e26d458ae8ad
+EBUILD pet-0.2.3-r1.ebuild 2012 SHA256 7d0c03b5d1014936b2f1da2fa20699bbb1ee09ddf5ed6422be7f841fe232ddd2 SHA512 cfc5aabf28f43fbda06e8316e67b3522eeeb4a6c5caa8b78bc8e095e86a7f64e51577e30f9d8d174858dda1cb47c4a22b448c97bfe212e9dd3b59b5ce704e313 WHIRLPOOL 1525a2fbd5a6a402860f0ee19ede12f34177794def13cfd2ce3959335f42d486b3b44b31455539723235ffa861d0d2ca4e56fb0c56b87ff55361c4398f68ad32
+EBUILD pet-0.2.3.ebuild 1988 SHA256 8a64d5155ace9520b415ddc372d89fc75da19dcfdf37904e473cdfa6d5f7a8f4 SHA512 5360ab9e5213cd89a2114617950c610a51e1d7002a0621e3431d50da1f5bb0f2b4dfae3e3a9d088883161880c78479b327a22df98215ad1e87f10906fb37e053 WHIRLPOOL 051e9b55f8c91b3a08e16c8647b72436a0b335ccaf5a5a1460c2506c8080bd2e3a4ba2cefeb967b9d5eea1bfda9b9d48ebef68d31cdee015089e6b7093d98af0
+MISC metadata.xml 769 SHA256 36cdc377443f2f0db4ddd0007584cbfd983fd46d2162d06becf52638e399fd1e SHA512 5b9ba002b1ce80e106f9cb79c5210616daec3718c9c02502d4e5adbb7144df4a1c18795e5a44ec08927cf3a2135470cc3c505afb8a2a53498e4d37bf8ad91e64 WHIRLPOOL 2fcbf64f176ef6f3e9e47bfd95e32d71bf857c1ea3d7ebdc7784f4ad487baa20b55da4f382bfe4b6ece85731dbdfb9ef19dd80678d388069f430e72bdb8bb681
diff --git a/app-misc/pet/metadata.xml b/app-misc/pet/metadata.xml
new file mode 100644
index 000000000000..95a5086f8109
--- /dev/null
+++ b/app-misc/pet/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>spiderx@spiderx.dp.ua</email>
+ <name>Vladimir Pavljuchenkov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ A simple command-line snippet manager for rarely used commands.
+ It is capable: register command snippets, use variables in snippets,
+ search snippets interactively, run snippets directly,
+ edit snippets easily (config is just a TOML file),
+ sync snippets via Gist.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">knqyf263/pet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/pet/pet-0.2.3-r1.ebuild b/app-misc/pet/pet-0.2.3-r1.ebuild
new file mode 100644
index 000000000000..1f1da8f503b4
--- /dev/null
+++ b/app-misc/pet/pet-0.2.3-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_VENDOR=( "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0"
+ "github.com/chzyer/readline 41eea22f717c616615e1e59aa06cf831f9901f35"
+ "github.com/fatih/color 9131ab34cf20d2f6d83fdc67168a5430d1c7dc23"
+ "github.com/google/go-github 2966f2579cd93bc62410f55ba6830b3925e7629d"
+ "github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a"
+ "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
+ "github.com/jroimartin/gocui ba396278de0a3c63658bbaba13d2d2fa392edb11"
+ "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
+ "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
+ "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317"
+ "github.com/nsf/termbox-go b6acae516ace002cb8105a89024544a1480655a5"
+ "github.com/spf13/cobra 63121c8814fc0b99184dbc1c8b7ef4fddae437c3"
+ "github.com/spf13/pflag 2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51"
+ "google.golang.org/appengine 170382fa85b10b94728989dfcf6cc818b335c952 github.com/golang/appengine" )
+
+EGO_PN="github.com/knqyf263/${PN}"
+
+inherit golang-build golang-vcs-snapshot
+
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+DESCRIPTION="Simple command-line snippet manager"
+HOMEPAGE="https://github.com/knqyf263/pet"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="zsh-completion"
+
+# dev-go/toml doesn't provide sources
+DEPEND="dev-go/glide
+ dev-go/go-crypto
+ dev-go/go-net
+ dev-go/go-oauth2
+ dev-go/go-protobuf
+ dev-go/go-sys"
+RDEPEND="${DEPEND}
+ zsh-completion? ( app-shells/zsh-completions )"
+
+src_install() {
+ dobin pet
+
+ if use zsh-completion ; then
+ insinto /usr/share/zsh/site-functions
+ doins src/github.com/knqyf263/pet/misc/completions/zsh/_${PN}
+ fi
+}
+
+pkg_postinstall() {
+ einfo "You should consider to install app-shells/peco to be able to use selector command"
+}
diff --git a/app-misc/pet/pet-0.2.3.ebuild b/app-misc/pet/pet-0.2.3.ebuild
new file mode 100644
index 000000000000..47ede51781c5
--- /dev/null
+++ b/app-misc/pet/pet-0.2.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_VENDOR=(
+ "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0"
+ "github.com/chzyer/readline 41eea22f717c616615e1e59aa06cf831f9901f35"
+ "github.com/fatih/color 9131ab34cf20d2f6d83fdc67168a5430d1c7dc23"
+ "github.com/google/go-github 2966f2579cd93bc62410f55ba6830b3925e7629d"
+ "github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a"
+ "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
+ "github.com/jroimartin/gocui ba396278de0a3c63658bbaba13d2d2fa392edb11"
+ "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
+ "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
+ "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317"
+ "github.com/nsf/termbox-go b6acae516ace002cb8105a89024544a1480655a5"
+ "github.com/spf13/cobra 63121c8814fc0b99184dbc1c8b7ef4fddae437c3"
+ "github.com/spf13/pflag 2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51"
+ "google.golang.org/appengine 170382fa85b10b94728989dfcf6cc818b335c952 github.com/golang/appengine"
+)
+
+EGO_PN="github.com/knqyf263/${PN}"
+
+inherit golang-build golang-vcs-snapshot
+
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+DESCRIPTION="Simple command-line snippet manager"
+HOMEPAGE="https://github.com/knqyf263/pet"
+SRC_URI="
+ ${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="zsh-completion"
+
+# dev-go/toml doesn't provide sources
+DEPEND="
+ dev-go/glide
+ dev-go/go-crypto
+ dev-go/go-net
+ dev-go/go-oauth2
+ dev-go/go-protobuf
+ dev-go/go-sys"
+RDEPEND="${DEPEND}
+ zsh-completion? ( app-shells/zsh-completions )"
+
+src_install() {
+ dobin pet
+
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins misc/completions/zsh/_${PN}
+ fi
+}
+
+pkg_postinstall() {
+ einfo "You should consider to install app-shells/peco to be able to use selector command"
+}
diff --git a/app-misc/pfm/Manifest b/app-misc/pfm/Manifest
new file mode 100644
index 000000000000..56c9d16ad6a1
--- /dev/null
+++ b/app-misc/pfm/Manifest
@@ -0,0 +1,5 @@
+DIST pfm-2.12.3.tar.gz 2272053 SHA256 01a2845916f7fc4bcadb929f0fcaf05ab838016efdc15568ceefb0e209809a00 SHA512 d9feeaa95a0114ee513835a9273b62164a851ae8599d27575b3545f02144b4cf970a066afd5acec03092f0d49c85929c8127d1e134d1e80c15fe6d0a9b6921fc WHIRLPOOL 680cf8edc4540e3f611c515a2d4a9548d4832b3d5d459832333c41fb8f380bfdd8779557af4ec0341788bb2d92b76cbb507467caa990634d0bb1272638418cd5
+EBUILD pfm-2.12.3.ebuild 659 SHA256 50c9d18cda1c2c3547a39bcde2c9443bfb35d3d8647f275c3b33ea8eaa4f8be7 SHA512 b299d52588d71cf6529ff1a320dc5380514a77362f886e43b2aa2ca88170e92c82184119e95b1391a305298a881d0654a998b6cba390304b6b434fdd9a10e35d WHIRLPOOL 2ec4a79164d4d998f2453c42a688c4bbfc8a67d1fd1adedf8d577d72340d368ae6d4705e5036721ce5dc88e7fb65af96e776e400f1647e842c9393722346c840
+MISC ChangeLog 2260 SHA256 5758fe4af89f33535bb958708e2ca4c83c3fae0ebfc514b0cdcd153222ca53ee SHA512 5957be6c1d2ebd6eeb4271d95897ed7c312c70c83d735102bcd6d9b722301dda1c8516f7eec8a0e53c571c66a70a9adb781d77130f5f06f16ab9a567df2366c0 WHIRLPOOL 063132cdbdfe313e081d0505f914bca4ed4f1dd20a1802f64dd6ae4f6fbd46afb641be9ebe24cfab6187060c5d9a51882499bc096d11e9094ebe2cada951a3b5
+MISC ChangeLog-2015 846 SHA256 1b92c08eb25f999a76dcf316298d73202bcb2d283ac47768df9d0fcb2a71e288 SHA512 ef128d34b5bb69b4757f75d1440ac183ba3292d2d5ba787b6a11f370ee8ea59ad4563e1046c4bed583686740a1c5d23182f9fc4a39e1bfcff9963a95d73acc10 WHIRLPOOL ee16a77a4b8f267e3dd9731554246f3129c8decbb32e8af67c34e62400a5a201cb32083e5bfcc547ffc6f22020fe9a1c36478354a5daef51d66b317b6640cac6
+MISC metadata.xml 326 SHA256 d322ad98ae9920fe9caed1880692733682684e2ca9b00af749c74f3050100705 SHA512 74b827fb7bba6a09cbd67c07f3349b0e724bbda26f7b27cec24488a75d2dffc11415468c9bdbd12139115d8d40af137af10e51209200e5874b9f988cb27d7ce1 WHIRLPOOL da0db29444e980d949370bf72954b0bd7f846ceef8afa7e3e3ef8e7f5700e2eff147fd58f5db78d8433398aa51fc193a9c96cde194e1bc43f001004c64ac5900
diff --git a/app-misc/pfm/metadata.xml b/app-misc/pfm/metadata.xml
new file mode 100644
index 000000000000..7c7d41faad7d
--- /dev/null
+++ b/app-misc/pfm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">p-f-m</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/pfm/pfm-2.12.3.ebuild b/app-misc/pfm/pfm-2.12.3.ebuild
new file mode 100644
index 000000000000..185ab56129ef
--- /dev/null
+++ b/app-misc/pfm/pfm-2.12.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit perl-app
+
+DESCRIPTION="A terminal-based file manager written in Perl"
+HOMEPAGE="http://p-f-m.sourceforge.net/"
+SRC_URI="mirror://sourceforge/p-f-m/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=dev-perl/File-Stat-Bits-1.10.0
+ >=dev-perl/HTML-Parser-3.59
+ >=dev-perl/libwww-perl-5.827
+ >=dev-perl/Term-ReadLine-Gnu-1.09
+ >=dev-perl/Term-Screen-1.30.0
+ >=dev-perl/Term-ScreenColor-1.130.0
+ sys-libs/ncurses
+ sys-libs/readline
+ >=virtual/perl-File-Temp-0.22
+ >=virtual/perl-Module-Load-0.16"
diff --git a/app-misc/physlock/Manifest b/app-misc/physlock/Manifest
new file mode 100644
index 000000000000..d955f581246e
--- /dev/null
+++ b/app-misc/physlock/Manifest
@@ -0,0 +1,7 @@
+DIST physlock-0.5.tar.gz 13547 SHA256 395873abe9bfb3879df796bd9d857be024c4ca01c5b6e83cfd3253647b558782 SHA512 0e22d2c1093556e2ca52da4ee36e53a7eebf9c2cf8e10592c95971aa3479c3ee1a31b9d71e52fca715a483f22740f6cf9a3c167fb61e4c6034a2ecf900fd5f9d WHIRLPOOL 4dbfea803043a691e16a515fede273a27360923808aa2d1c6bd281282bc24b24113cc39915ba2f90723dd15322ac930297605f7cc2c6b1fc51cb7794ee46796a
+DIST physlock-11.tar.gz 13791 SHA256 f03031a6f4c6a08d62098457834d04b8835082a76609059451397356a83d4442 SHA512 d3badf5c99e4e3e16f4e7ec5c59ee8320c845f1b180463900d816206362ce1aa8652f2489453ad5e190cceee2ed61a90acc52e25bb6b4c4a9dc8c4ebd3054938 WHIRLPOOL e74513bf5c60db1669dfa11496f98cd4100753ce1a9aa93c603235680adb3ff4b7f2bffff134e8f2f27534e1a5fffff15a4cd17627dd2761f6b67d3903a166f4
+EBUILD physlock-0.5.ebuild 471 SHA256 91feab43fc4fc14092d8e9c6aa9097365ac346441de4ab379f5aa0de0aa6c48e SHA512 743491ca82a6f0495b22c2356f8f27846cd27689f4b2e67473de54aa7551a46c7c1865d7a6b2a0c59bbf329f9323700973089403aabdf049aa3d0f1242c07f54 WHIRLPOOL fe7f300e5c32a7313653bd1a8118f54f240c360f40f8e614dd8bc075dec47de642cf38ced9aeaf547076357fafa2c4f6cb8bcfb9bd313b5c8addb353557c6ea4
+EBUILD physlock-11-r1.ebuild 553 SHA256 4a3b2994eb0abc8b6352ce957c46e7cb641d8b2c78a016fc70e46e1e094e0c02 SHA512 64d965a8fa93986b39ad74e313c4963bcaa342b7ac758532760db10de1375d2886b5f98dd43d19e7912fa6d93b5de8dacfe93e49de913ddcb0fe9e8757b68215 WHIRLPOOL 0fe5accb9652d8e367713e507a4985ccfad7fc989f846b524dec5766a4af321941401477ed85750f3b36935e9ba6f787de92bba70eeb41a9e5601103d7bb7a73
+MISC ChangeLog 3003 SHA256 884b796c6597cab7c563bbadf3f5a9e5c19a5fc4461351a620adf79b05275861 SHA512 d6ff1325f245859348f22ea07a60220d928e3dd23275216f7e7b244942179aa8d8e3cd438c475766cc7f53181485a7094f5f5eddb229fd0755e041c66ae7a071 WHIRLPOOL 93e984218b8215f03c6034a20e6597f24fb37227b3302b8dfb716b761d7967fb901147567e4ea689f29c31787245f4381efed7091be867816b3a39aa1b45e4ba
+MISC ChangeLog-2015 863 SHA256 64107fb881cab2b517c1376767e28a6d915d1b016bdb7fecbfe6d52d4648a5fc SHA512 438f410ee8cae55183287245a9724c0fe1d7e5004c3103894bc5804ee244551453ccf0bf7c7024cb4032d29faf9c037f0a6ece71705db2fccedc38ce6067be5a WHIRLPOOL cb4a0948ada4363ee1bff9febb15cc39350fdc620a213575b6aac9fafc1f7f7e5bdc3c3ff70a1357da90bab9ea998537f806c69d92ff973aaa9d9ff29d330ba5
+MISC metadata.xml 757 SHA256 b7602043c7acf204376271583fdc45d920f55823a16c7689836ac65e3e4da01d SHA512 34f57b70b867095ad5ddffad1a5a943488699e98495e98631dde72a96fca5260947bcece476e4411d146d6a1f72ed602401455d49343a4fa79faae77b5483625 WHIRLPOOL 34404fccbced6e1a6a0720a951d79f748338b0917d486e430d0d90daa3e33b53bb0354e6cd2a79140302364ac3f4e615b3dd7317dd71f6f76063a6d3fcf405ca
diff --git a/app-misc/physlock/metadata.xml b/app-misc/physlock/metadata.xml
new file mode 100644
index 000000000000..3a7f9b503b95
--- /dev/null
+++ b/app-misc/physlock/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">
+ Control physical access to a linux computer by locking all of its virtual
+ terminals / consoles.
+
+ physlock is an alternative to vlock, it is equivalent to `vlock -an'. It is
+ written because vlock blocks some linux kernel mechanisms like hibernate and
+ suspend and can therefore only be used with some limitations. physlock is
+ designed to be more lightweight, it does not have a plugin interface and it is
+ not started using a shell script wrapper.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">muennich/physlock</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/physlock/physlock-0.5.ebuild b/app-misc/physlock/physlock-0.5.ebuild
new file mode 100644
index 000000000000..f306ba46c194
--- /dev/null
+++ b/app-misc/physlock/physlock-0.5.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="lightweight Linux console locking tool"
+HOMEPAGE="https://github.com/muennich/physlock"
+SRC_URI="https://github.com/muennich/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+src_prepare() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/app-misc/physlock/physlock-11-r1.ebuild b/app-misc/physlock/physlock-11-r1.ebuild
new file mode 100644
index 000000000000..761fce5332c0
--- /dev/null
+++ b/app-misc/physlock/physlock-11-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="lightweight Linux console locking tool"
+HOMEPAGE="https://github.com/muennich/physlock"
+SRC_URI="https://github.com/muennich/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND="virtual/pam"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dosym login /etc/pam.d/${PN}
+}
diff --git a/app-misc/pip/Manifest b/app-misc/pip/Manifest
new file mode 100644
index 000000000000..42b8db13f56c
--- /dev/null
+++ b/app-misc/pip/Manifest
@@ -0,0 +1,5 @@
+DIST pip-1.2.tar.bz2 17752 SHA256 a80767586037c862886d94fa31fbe0e70a3a02c951abbb823ffe6ff7a0f5334b SHA512 a09695a881585baea292d305c3e0dc4ed7d5ccc0cb8138f402d73e75bbc6d014e09c3b3091f6b92be97a8034c262bd98cebf71e08cc7c44e635483bb31a40a29 WHIRLPOOL d2bd963018575aaeae7e1cc132baaadf6db3a1509d1e4635d695bb142195b8192b611ac388f6c86f72ccb035c51d164bba3b0233d6de1794fde9f002549d0636
+EBUILD pip-1.2-r2.ebuild 594 SHA256 490557003113a8837f554e73763c31f023c6220b65f00778221166f454762213 SHA512 8de15e038d81ed660c49ca6d6cc39eb4dca4b95da88270a5753ff7e41c2d722bd41bdf402f34a9e680fe077827056afab85e5091614118c19ab79b342d717c2a WHIRLPOOL 06922f8329a5b0e44e29a3ce0ccf4afec45a88a8f305ec6813879905cb0771db6eb8da042125a2d9ffb96dc5c6699af9ecedc82e3098fef2566667629996802e
+MISC ChangeLog 2417 SHA256 a54bf85899f84bdc4e63e7520eafa55755db3126d30fbdbc5223e339f9acbfd6 SHA512 a58e36b18c588ce4da9b32f37c6b9358c0412705d7a5733a9821fadf95021fe84f20474d7942526de45d3616019fd8fe5f358e07d5c3a311930dbca91245cd79 WHIRLPOOL c0b7646460b9d2ee2504b70302340ca96076a64831091cfd64ed12bf66d4df5d4864c9574cde52d3fac0d02ed654ca499c7e746fdc9f88aa5f6160767ba92ec5
+MISC ChangeLog-2015 1794 SHA256 526e5a7c8ff91e3d96a4f7083a6738cc338a4b441b57dce06702ab5d4e118500 SHA512 2594e824980722bd55997ccab99b2e22df05ae56a4a8e15ca65ccbed5bedf10523bbe750403565881c52e3b3520d2fb83f2b8e94a9e2f862d692dc7f9fe06bf2 WHIRLPOOL 12606d1bbe73360d0296304de64e25c4471c2314c5c51536f984e0d4a16e106bcde88384230d3658e0ed59e1d84f8573b0345066ee25b3c2415be686110ee48c
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/pip/metadata.xml b/app-misc/pip/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/pip/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/pip/pip-1.2-r2.ebuild b/app-misc/pip/pip-1.2-r2.ebuild
new file mode 100644
index 000000000000..4455eec5191e
--- /dev/null
+++ b/app-misc/pip/pip-1.2-r2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils perl-app
+
+DESCRIPTION="Wrapper around programs that don't support stdin/stdout"
+HOMEPAGE="http://membled.com/work/apps/pip/"
+SRC_URI="http://membled.com/work/apps/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+src_install() {
+ perl-module_src_install
+ mv "${ED}"/usr/bin/{pip,gpip} || die 'rename failed'
+}
+
+pkg_postinst() {
+ ewarn "To avoid collisions with dev-python/pip executable file of this package was renamed to 'gpip'"
+}
diff --git a/app-misc/pipeworks/Manifest b/app-misc/pipeworks/Manifest
new file mode 100644
index 000000000000..f0efc84246c6
--- /dev/null
+++ b/app-misc/pipeworks/Manifest
@@ -0,0 +1,6 @@
+DIST pipeworks-0.4.tar.gz 11560 SHA256 8360164e11f53f0cd84e9a4c0c11fcd951767ea0afd256537131fbc42ec51466 SHA512 ddd9875deab26d0f0b673846c7838733a2c3ec573fbd06d85e4058adb3b0d5274daeac1165b573743b8b3da6aa05c24b9ecc0ac788b24a42cf0f379a8eb56ebd WHIRLPOOL 4fb1e6ec0fd4d7a30481e6aa642083b1205620f8fe5c185b698d3cf2ab82f7b2cf0ee3e59f12fb47590ed9e21448eced4385e50b1882a4ed9ce88fa014c9def9
+EBUILD pipeworks-0.4-r1.ebuild 646 SHA256 6b5db5ce16251d069d358d750df7270f84eb1fdb42b367cf889f322318b6cc10 SHA512 221f3fba526fbab303f98430ca66b2923e80fde676598a51c45609eec5a92551e5db4bddce622c3954fe66aafcfbfa75f7f8223c9963bf0078e6597c53fc7b72 WHIRLPOOL 3c5a3f74e56b2e08dc1eafecac3edf9387281796ad88c734793f1de3e5cf8dba60963880318cc2d13a27d8cb9bee06ba11f07713650a96ec8bc3d66abc6a7f4f
+EBUILD pipeworks-0.4.ebuild 614 SHA256 b138b22756536babc74d051249fbd37539ae39a627ee73d75efa76ea1ec1ebd6 SHA512 ab7c7a5630b261a4a6d1548c8b1e2b8e8f7f0d9eb327b99c0fc58e5fc922c1df70306de325d8bedcb110e71a39a7e396da66fc8344e9599bac231efcd5db65a7 WHIRLPOOL d0d2bc6affac051d55b4cfc40e93a327c2365eaed708d0fd547759af1f98f2fc5b255c77af5637fa7a5eee9385f865a1b83e87ad9038af006102f91ed7d33f0b
+MISC ChangeLog 2524 SHA256 59023db56231af39853da2f6587a207640cbc4b9f4b3e6733ff06bbeebc5085b SHA512 2088a8b004924b1a22b5e5fde351f9bcbba6a9f7be9d6947eb0de8cbee411873c325a8e7cde5f48ed97a8a3a26da2d33a9c1d944cff5baf995b4ba228502da56 WHIRLPOOL 34131d2c97ee8c06b553cca1d5cedff80525dffd4634ee137f05d43e49bf8ac135dba3c0edbf97b9ddec845d68091607b07293f28c6c910b63d530f8ebac533a
+MISC ChangeLog-2015 1557 SHA256 d3cada4e8891b637e8c12986f1028ecedae357a936099ef00e4257d441f4a019 SHA512 82eda470c27935f55d815d50064cbfc992855d5a6aebe1379613e8a559f3d8e2b1471d3c245b2ed9e7b04c147676a45afbae81864d25ed75fcb75d1af0c87ede WHIRLPOOL befcb980c13124b4448227020e688c814948c8cb4431d91eccce7f8c9c3006c2de804d836421437f3782b2b9bd7c3cc6ee827675fcb23b2b8a6c06442ea376e2
+MISC metadata.xml 520 SHA256 29401e640a041bbc9bc642ffe649a19193ed6aef5162b716270329921fb584c4 SHA512 f95bd764a974893a6ec46c0761a8b7a5edbb467c5b393a771163e42451efb34d75e25b73efb984d960b0aa46f19c233a5fd2df1f90aafebf4365d425d63c7243 WHIRLPOOL 2ff7c8b0b1ef79b18e228ca504c26c383db6ef48b114859dfb6cd5bee00f20b3868efad4f42189d26f2dbd2e14169228ce321cce5b73f63e94321b8bfb39d7e4
diff --git a/app-misc/pipeworks/metadata.xml b/app-misc/pipeworks/metadata.xml
new file mode 100644
index 000000000000..5fdc86c0a692
--- /dev/null
+++ b/app-misc/pipeworks/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>
+pipeworks is a benchmarking tool for pipelines that is very similar to pipemeter. It writes its stdin to its
+stdout, while reporting the data flow rate to stderr. It features adjustable block size and bandwidth limiting
+capabilities.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">pipeworks</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/pipeworks/pipeworks-0.4-r1.ebuild b/app-misc/pipeworks/pipeworks-0.4-r1.ebuild
new file mode 100644
index 000000000000..2d278167ebec
--- /dev/null
+++ b/app-misc/pipeworks/pipeworks-0.4-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A small utility that measures throughput between stdin and stdout"
+HOMEPAGE="http://pipeworks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pipeworks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin pipeworks || die "dobin failed"
+ doman pipeworks.1
+ dodoc Changelog README
+}
diff --git a/app-misc/pipeworks/pipeworks-0.4.ebuild b/app-misc/pipeworks/pipeworks-0.4.ebuild
new file mode 100644
index 000000000000..61ba2b5b5e70
--- /dev/null
+++ b/app-misc/pipeworks/pipeworks-0.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="a small utility that measures throughput between stdin and stdout"
+HOMEPAGE="http://pipeworks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pipeworks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND=""
+
+src_compile() {
+ emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin pipeworks || die "dobin failed"
+ doman pipeworks.1
+ dodoc Changelog README
+}
diff --git a/app-misc/plod/Manifest b/app-misc/plod/Manifest
new file mode 100644
index 000000000000..60c1cb90148d
--- /dev/null
+++ b/app-misc/plod/Manifest
@@ -0,0 +1,7 @@
+AUX plodrc 54 SHA256 3821b32173d64fe680c0bd9266e92a5dafc5a9030a3c19582c57e3792193cdf0 SHA512 2ad257ddb80bc94cd53e83dbe861ada8ea583eb419472f4488b4b567effa33ea8ada8c450dcf08c42a84c8874e5db85f1c4076b96e2f6228d0b14937830bcec2 WHIRLPOOL e293e58f7cc99078da032edab56cdd9ec4d083eb1aaf4bfddacdcfbef6fae9b65daccea70c0206686bd07184d6bd865be01b0e2eda6cc86e646095a9143ac455
+DIST plod-1.9.tar.gz 29551 SHA256 e8f33c1d039ea52593365877ece67013438f7888a80306012ed89666ab8e2535 SHA512 0cf1365963ee0f5a8db445c16ce37890429a4c951ce547560e845316950b4f485ecdc0885e2d35cb240bf9d7bec587c0d913774b05cfca8a145c1837281cad88 WHIRLPOOL 32918454f2c4f8ee4335a8cb49ee19e7f7dcdbed83fad45f831e36b35866bd4d67804143017dce6f97433ead1103e125a9f1368d2c12a8b6b9abbd80caa6a9fc
+EBUILD plod-1.9-r1.ebuild 616 SHA256 d414fe8c728431f9d263bb7ec67fa5b2de2aa2209c5c85d459ac13366530a5fa SHA512 2f62b93dcd33537001e725c51a19847c32a207cd120987386266e9c4e144ee2a2623f419a735cdf33d3c5de052b8a2ac15007dcd51a231bd8835c546ef644aee WHIRLPOOL f8a1aa85987464ae40ce1761a4931c1d3157e33223e667ac2e6fa7a5b6a84b2fa380aef4f6eeb75dc1ed84682e54ee5f7daac316634bf67beb45fc0d70f6a720
+EBUILD plod-1.9-r2.ebuild 768 SHA256 06d93ed0c5ecb1c27e482115ddc3e842f1da9141103545af7c19cf3c7c28c2d9 SHA512 50c743841a4dca7ccd2d421e7f5d9105da234ef0f3a9dafff6b4c9f2fd12c241eac4aa3a3b0151b84648c83388b70fd38d4b1c69f585d73ba5d241e4d240ec47 WHIRLPOOL 682bb7d3518d86ceca40677ae171dea4e4f6740da1b04d6b235afd88191fe27a1c6653c602ca60f719c0d6312f2d99bafb5bbac813dd4e3cc43e401ea197b1c9
+MISC ChangeLog 2524 SHA256 3ef03b5325a88b4c93192fed729829d36e51647dcfe3f94166d410ab527e2487 SHA512 e3c005318376e457e520d917c9d5897779e4b9f92c99ecfc49c8cb2795fe428a6847c47af6f9fc03949d5c03fece9e866541f3eeff456c2c8c379a54cb055e2b WHIRLPOOL 7ca7bd00ef697055c970cd1bbf3ce604dffa2c5b1f738987954cf0f87198ba9d3a69113008eb4d645c853c0f911d5fdb2cff045d43f05cfbc00fbd1672a45237
+MISC ChangeLog-2015 318 SHA256 51a0309852872faa30adfa5d01173aa107ea411e80a3bf1817acaffa9048cc46 SHA512 4552a6a5630a06b959df0b9c8a1aa156ef3ace53ea31b2ebe7758b82e224bd94a3cf17cd1b5bac7b8d7798ae1b6f66350a8605b190b55f94787bdd846606357e WHIRLPOOL b11f9f0c37f7b225fbd7777034e24e2f0bb71d5268c7c54e33f7c85daddd386ef70f4ffc1ffd19a864796e5cd4ee806ab942ca19e1201e0775fcaed29c63eaf6
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/plod/files/plodrc b/app-misc/plod/files/plodrc
new file mode 100644
index 000000000000..9185f36eed5c
--- /dev/null
+++ b/app-misc/plod/files/plodrc
@@ -0,0 +1,2 @@
+# We don't use CRYPTCMD at default
+$CRYPTCMD = undef;
diff --git a/app-misc/plod/metadata.xml b/app-misc/plod/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/plod/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/plod/plod-1.9-r1.ebuild b/app-misc/plod/plod-1.9-r1.ebuild
new file mode 100644
index 000000000000..b5d7f762b84c
--- /dev/null
+++ b/app-misc/plod/plod-1.9-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A tool designed to help administrators keep track of their daily activities"
+HOMEPAGE="http://www.deer-run.com/~hal/"
+SRC_URI="http://www.far2wise.net/plod/${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="dev-lang/perl"
+
+DOCS=( README )
+
+src_prepare() {
+ default
+ sed -i -e 's#/usr/local#/usr#' "${PN}" || die
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1.gz"
+
+ insinto /etc
+ doins "${FILESDIR}/${PN}rc"
+ einstalldocs
+}
diff --git a/app-misc/plod/plod-1.9-r2.ebuild b/app-misc/plod/plod-1.9-r2.ebuild
new file mode 100644
index 000000000000..3bb385546efd
--- /dev/null
+++ b/app-misc/plod/plod-1.9-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A tool to help administrators keep track of daily activities"
+HOMEPAGE="http://www.deer-run.com/~hal/"
+SRC_URI="http://www.far2wise.net/plod/${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="dev-lang/perl"
+
+src_unpack() {
+ default
+
+ # Bug 619934. Change directories first to ensure that "unpack" outputs
+ # to ${S} and not to ${WORKDIR}.
+ cd "${S}" || die
+ unpack "${S}/${PN}.1.gz"
+}
+
+src_prepare() {
+ default
+ sed -i -e 's#/usr/local#/usr#' "${PN}" || die
+}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+
+ insinto /etc
+ doins "${FILESDIR}/${PN}rc"
+
+ dodoc README TODO
+}
diff --git a/app-misc/ps3pf_utils/Manifest b/app-misc/ps3pf_utils/Manifest
new file mode 100644
index 000000000000..ddd86feaf009
--- /dev/null
+++ b/app-misc/ps3pf_utils/Manifest
@@ -0,0 +1,9 @@
+DIST ps3-utils-2.2.0.tar.bz2 361144 SHA256 b457354fd828229aedfb243fe0df748c2778f295ec1a4297e2cfa47b5b666b8b SHA512 278b4430e307493481ccbe5f1c92968921d5af9b2d09a80a9356ccce984318356183be4983ae5c13bd5e79c2e28c839df0402382d8be5d342a8605236cc060f1 WHIRLPOOL b2be34a1aefacee857450bbee1712f4fd7ae5a1229ab3aeeb93ed5bdad58da912a9a0c5be11657d903e469bf578cfda08fa043fecdaf806a83b15848760bca59
+DIST ps3-utils-2.3.tar.bz2 351066 SHA256 c44a84da3cf37ecc69b36f6079a814e680cf37c74cb7d55f457635adb8209351 SHA512 523e8c28325dc77478cc910a62249bfcd29b35b50e9b01d0d6dec600af302a4a3eff532b313d82fb23c4ff5436955629d8a72f1afb03b76f2b1b9cbd534e8396 WHIRLPOOL ca14e25d139bf4196104075ed8780bbd553e303192710f1cbfa432612fa78f21463a5eb249f1d3963f27876c2a067607331d84b260954870db1599f2ac2d77e9
+DIST ps3pf_utils-2.1.1.tar.bz2 980229 SHA256 9fc907b3b82198ae2ca45699885f1b7f4d28c7d8df1b8ef96ba3cd8476f0cd49 SHA512 5ac971659d946aff3bbaa5090f65018c67bf42309bb855742f1e21d226d619d9f16495396527fe7121d8a5599f5f7496127cb06b011d80b780de19bb73ce668d WHIRLPOOL f19978fcb733d926673fa8849ff4589cf53d91dcc739e1c03db95913c598a0118ca9b3eb6fea7a982fa3bbf31127305f14ffebc2d32f549db48c3d3553a63cd1
+EBUILD ps3pf_utils-2.1.1.ebuild 554 SHA256 24e00bc4497bc815bef2a5ae82329e700be05bc39d3f5924862be110a3ac76e5 SHA512 b9da4c443e915819a02ded54e6d786812c34177ddc1e6d9da53f085f65e6a375bf2fad76d4e554c075d171a2c8551f525c3803b53fce22701ce5d91bddacd82e WHIRLPOOL 432ec06c4294efb1713b9e5945358498c361a9f012c29a41d1e2bdf51a0f9dc6ad267ce224f10fea09bf16207383abff5973cf58891539fa0c8661ee9e1adf9b
+EBUILD ps3pf_utils-2.2.0.ebuild 522 SHA256 be77c6e441ca296f8f84d764f79536fc76ce2171143f5bc024b618315379f66a SHA512 b25c89b67046525579c88d5504f109b22432d60ce75ad9b5107e5f930222bf668d79e19f143293da8d01a65bdaeb5c94afe8be2c6f35841e9d21410f13af317e WHIRLPOOL ed5c34b3bc8d9e5b3a22344bf1554f26a35d6d973f33be1acb9c3d1e6828a610822e2217581a8782615907179d244b90266fdb2f93e561e83d16acf2fe31650d
+EBUILD ps3pf_utils-2.3.ebuild 563 SHA256 f55732327827484a017ff0096c8afa1a82295af22743a0f95d6b64c7b4864db7 SHA512 4210eb2067a50a82be44936fe0da835036b6f3ddd1f584220d69789d1066d21213bf7887bad74aca5665fbdde7f265aaeeb37b62662c336c6dfb61c911f1621a WHIRLPOOL 947dca34d8dd0e627bd8691869c28c7e48b8378609ffcd43ba8ed53c44be9f6deb020d18b7b5d05559d99757680883802463096a804d5ab4f1badd147a8b6808
+MISC ChangeLog 2557 SHA256 56550e059f24f4d7a90aa531370ac225b11ded1b3dd3cd3d5f4d5116e4f229c1 SHA512 83e3945c451bf19755192ddbf95cf0a9d16d10734e6f1e24aa686ea6b769e0160d10a1fa47308baa0c22495d2726efe4fbecc7c8ec815b987d6ca1d9fd1a24cf WHIRLPOOL 6dbde15b70be83d1b45f64ec49b9d2e6db1bd4b699a0161d21f9562a163343d840626865162cdbcb501b2d5f15a9fd21b36181b3e8e6fb8471139a92726b97f7
+MISC ChangeLog-2015 856 SHA256 9e92680ad6893628c375a607ea2ca21eb6e8068dd280927a058086ab0987f4ec SHA512 b0f9147bb6bd97c882f7f3b30b384ad38276d3744fd1c24e0fa3ce682647f35b1f4fa11747046be8d6eb02cc6731a3f57393d7ab9f8acc346b5efff12933664f WHIRLPOOL 73a8df802a77f8f9634305ea5586aaec484dca27bc0d3b77a1c6fd4b00dd7eb03aacd877f20919dbfd40e07ba9994d3050c5c3132a534e2e5d456929d6f2e1aa
+MISC metadata.xml 259 SHA256 e7ac6b67c4c89040a00b23bda7a3b2fd4ac8affc1055daf3015ccc8580640f6f SHA512 ca71b1781806d20022c238e5b5d10f9154c78e0fa51f2603de34c48ecbe4cbc2c3190cf046526840546743644c691ee7fe51e31a4617b01bb7602dde803c1538 WHIRLPOOL 2a2aa19a448eca4dea84d129fd194a7ee4d77bdc1b5120abd3b667ce156cdeeb4616a7c7cd23fbccb7ba08e6e166aaba0fac63a6afa208d826acee37b0e560fe
diff --git a/app-misc/ps3pf_utils/metadata.xml b/app-misc/ps3pf_utils/metadata.xml
new file mode 100644
index 000000000000..5eb05198076b
--- /dev/null
+++ b/app-misc/ps3pf_utils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ppc@gentoo.org</email>
+ <name>Gentoo Linux PowerPC Development</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/ps3pf_utils/ps3pf_utils-2.1.1.ebuild b/app-misc/ps3pf_utils/ps3pf_utils-2.1.1.ebuild
new file mode 100644
index 000000000000..386c4fd3b72e
--- /dev/null
+++ b/app-misc/ps3pf_utils/ps3pf_utils-2.1.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit flag-o-matic
+
+DESCRIPTION="Utilities to set the ps3 specific features"
+HOMEPAGE="http://www.playstation.com/ps3-openplatform/index.html"
+#SRC_URI="http://www.powerdeveloper.org/files/Cell/SourceCD/${P}.tar.bz2
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~ppc64"
+IUSE=""
+
+# fixme: depend on a version of sys-kernel/linux-headers that supports ps3
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
diff --git a/app-misc/ps3pf_utils/ps3pf_utils-2.2.0.ebuild b/app-misc/ps3pf_utils/ps3pf_utils-2.2.0.ebuild
new file mode 100644
index 000000000000..62d467d9f500
--- /dev/null
+++ b/app-misc/ps3pf_utils/ps3pf_utils-2.2.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit flag-o-matic
+
+DESCRIPTION="Utilities to set the ps3 specific features"
+HOMEPAGE="http://www.playstation.com/ps3-openplatform/index.html"
+SRC_URI="mirror://gentoo/ps3-utils-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-ppc -ppc64"
+IUSE=""
+
+# fixme: depend on a version of sys-kernel/linux-headers that supports ps3
+
+S=${WORKDIR}/ps3-utils-${PV}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
diff --git a/app-misc/ps3pf_utils/ps3pf_utils-2.3.ebuild b/app-misc/ps3pf_utils/ps3pf_utils-2.3.ebuild
new file mode 100644
index 000000000000..b1c991e4dd75
--- /dev/null
+++ b/app-misc/ps3pf_utils/ps3pf_utils-2.3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit flag-o-matic
+
+DESCRIPTION="Utilities to set the ps3 specific features"
+HOMEPAGE="http://www.playstation.com/ps3-openplatform/index.html"
+SRC_URI="mirror://kernel/linux/kernel/people/geoff/cell/ps3-utils/ps3-utils-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~ppc64"
+IUSE=""
+
+# fixme: depend on a version of sys-kernel/linux-headers that supports ps3
+
+S=${WORKDIR}/ps3-utils-${PV}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
diff --git a/app-misc/pwsafe/Manifest b/app-misc/pwsafe/Manifest
new file mode 100644
index 000000000000..ee2410d675f6
--- /dev/null
+++ b/app-misc/pwsafe/Manifest
@@ -0,0 +1,11 @@
+AUX pwsafe-0.2.0-XChangeProperty.patch 1613 SHA256 3a25d89918f96195da8eb28413719d724ccc2f62cb406b50795c71d3a04ccd28 SHA512 90329b172f6f1f9909c95c0cb648bb845c35e40ea78acf3d34c6ddfc1fae427694a5e0c2fa58de6a6614f432a81cdffe5b29e3a6211cae36924310ffc8b19680 WHIRLPOOL 1f8f23e340af6eab1a058514fb161ea85351fa36fd42e24f86275640be8be77f337ad459997246ab34f0ae7fe2e3f5ca8de56466cb2ab0c94f994f58fabee78c
+AUX pwsafe-0.2.0-cvs-1.57.patch 1100 SHA256 a1e977b8b72f3d1ecd25c8feaa0ffe43dfcad370ba34e8489b2395583f1bdb69 SHA512 3772c833b16b29c5119f11a7c106e4a7b2d4d3f8cf17d42c78f5403cd5ae92136dadc16c5cfcf961822db4c76f04946412637547173a26227761f74d83765330 WHIRLPOOL 9f2848e113de4d8fcb3fe89f7a89d40c88bdd84c129022e25e99ecd6a7d931bc816f8a4f3a4327bb15a450b2084a179e148432cd37072c6882f7552c742e25ea
+AUX pwsafe-0.2.0-fake-readline.patch 2667 SHA256 918293edb9196efce2a75f6e4cf1fc59addd766aa515a158b14f9bc4c3bb2cdd SHA512 466686d56662728c7c4d208ff69212daa84a86b746a9b4e52d48b2c7789d83fc1ad98673a8979a6f750c8215a0199e5580b5eb152b29e13761b1254eab30778e WHIRLPOOL 3706c9399c8e6aaa76876bf9a9465a9ec5571ad4cf2407a56f3c65bba19c62342cbeec2c4a6c46f71827397942855c1a3b2908791212cdac25f3609a90a6f4be
+AUX pwsafe-0.2.0-man-page-option-syntax.patch 848 SHA256 858865706f8cdb30712f210bb7f03edf327934fe3e4ab04376b844de35aa4de3 SHA512 17697927e64e5bcdbc68343775732e1559dd7fe5c000b15fda9af7229f3c2c36bbd4ee3af3c652da9e8d0550acd1b5bb39a75891f5f40c37640ea089a5b6306e WHIRLPOOL 9ffee426e01235e548be9667ee173ef7c7bd681b0b9885f00580c7f6e2356cf032ec8f34ec4d6f73a2215e1fa11481a548447c8e9b0dcae7638612b52fa29417
+AUX pwsafe-0.2.0-printf.patch 1868 SHA256 927afd52a65d582cd089f1aba3298d17a7d356403ad323c3d2e7526db1279279 SHA512 7567e666f7dfb9c798aa2e6368ea1abf72f749c953da42bff7ef1b61aea6bf2faca96ef702ef9f7a9ceeece90999c066763006e549c5f2ec365cbf9358547449 WHIRLPOOL da2dc316d88ca010f39b30d4eb0e1868ec41b9988c4d33e1d4f013d234658c905659a5f52180e5d03721edbaa488c119cbf7cdb04b7701b981a4311f3d7c28e5
+DIST pwsafe-0.2.0.tar.gz 127433 SHA256 61e91dc5114fe014a49afabd574eda5ff49b36c81a6d492c03fcb10ba6af47b7 SHA512 e8d3684f523f83def6317ef5561a02d1493685cfbda18707644bf335b7f45b1a548aae17a735838d9f6df345ddb17934607162a6e99348df625b34a9ad5f4cf3 WHIRLPOOL c80ef8c398e5cb68920b11815e0aa042adf2ddaa78c75157e346566b210f5aba000f71c4a2172d6cf2c5a9707fe82af8a1379dbf9bb3ac2f71b6e12aebbbb975
+EBUILD pwsafe-0.2.0-r2.ebuild 905 SHA256 98e8e78dc97923db9bb23e7ef6fa96ce80c4fe50de35759d25489e0c79b7eb13 SHA512 ea570ed13a7c3316a38d9c3760b36b3a54bcb837eedc72c6252eedcfbea8a1b911dd8c3c939a6f54af362d9f130f96ebcc950d4bc2d85768f49b47c67be94b94 WHIRLPOOL 59bd659b230aa0fe87145863cbe298a3336d4241500f1628aabcff926cfbe7e404817144ca22f1a7d5b87b375cf59ad4646e69ce1e039634af06adb013ee720f
+EBUILD pwsafe-0.2.0-r4.ebuild 1018 SHA256 700893f187c485462917d7100e30cab20b5b57004f30c42e3250713363ac13cf SHA512 e1d12d8607794c94a81aaae7fcdafc4928890f1e9536a88a205c5f04c7b2f76ab223a6a9c3ac3f807261aa5d1ef924378b3413936e1b8f4447b87f71b911f79d WHIRLPOOL 161a10d411578139f18c7d70945c81e89dfe34c4b3cdcf38c1a3c00bb3b6480e4d281bfb9d330c45f590be6c2e475a0e6cd726356669d42069cc166074685e38
+MISC ChangeLog 3247 SHA256 e68591068deda28f723e77415893918930e9bc9d64e34f5021c7c758b9e2fbfc SHA512 a3ff6887d3fe5a249cdd7fc937c60bb9134f15a29e1dd7ac6e17c27172588136c79d2beb53fd7f63d3ddc3ecb48ebd65c2102bf20aa457e30cf0ad21bc60cfa7 WHIRLPOOL 9ac6db5cc7489414f690ab1227e828aa4cc4d02207c565ab17bd4a35f38995bc8e39cc127f1a950ad795491b0b03ef18cf95fdfaa5978e14bfe330770bd95ea9
+MISC ChangeLog-2015 2728 SHA256 2e2f5c5891dde9ad6e02b5e8c72686c9206f02fe75a99520d48d6351cbad6523 SHA512 2e6205b98250a69293a687cac701436342c969da8fb5be6ceec3168e1c2089d79d750ec717cd009d76eb4ece27e3ae177f968dfc71238dc63c662586264db268 WHIRLPOOL c2b7ba2232a9b4836051f3787d82a44d4be0860ec1154ca8ff8666da0c9256834aaf2cbf654ea01d24cf9402a2ecb9417b431f2c36e81f793b62a80d478f97ec
+MISC metadata.xml 959 SHA256 e65094c7e58e383616aeca6c03ccd0f958cd59ceec3076a038617d714625ced6 SHA512 c4724594e4782281676d98634f9966b78af472f3171d17f86d448d65bf4a543126e89616d0d83a4fa3acac4f7c49c77c1c061f276ef2a906e06623c300920269 WHIRLPOOL a443ce87918fba02ec0b9fa80e9ef7c5db7d27818d6ad278670a78222c3fff8346733316326dc2c6bda3cddff995e87e0ab16a6eadb5e97c38a0e4200444d4c0
diff --git a/app-misc/pwsafe/files/pwsafe-0.2.0-XChangeProperty.patch b/app-misc/pwsafe/files/pwsafe-0.2.0-XChangeProperty.patch
new file mode 100644
index 000000000000..3fadfc2765fb
--- /dev/null
+++ b/app-misc/pwsafe/files/pwsafe-0.2.0-XChangeProperty.patch
@@ -0,0 +1,22 @@
+This patch came from <https://bugzilla.redhat.com/show_bug.cgi?id=667541>.
+
+Index: pwsafe.cpp
+===================================================================
+RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v
+retrieving revision 1.57
+diff -u -r1.57 pwsafe.cpp
+--- pwsafe.cpp 12 Aug 2007 12:33:06 -0000 1.57
++++ pwsafe.cpp 5 Jan 2011 22:16:43 -0000
+@@ -1820,10 +1820,10 @@
+ if (xev.xselectionrequest.target == XA_TARGETS(xdisplay)) {
+ // tell them what we can supply
+ const Atom targets[] = { XA_TARGETS(xdisplay), XA_TIMESTAMP(xdisplay), XA_TEXT(xdisplay), XA_STRING };
+- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TARGETS(xdisplay), 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&targets), sizeof(targets)/sizeof(targets[0]));
++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_ATOM, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&targets), sizeof(targets)/sizeof(targets[0]));
+ }
+ else if (xev.xselectionrequest.target == XA_TIMESTAMP(xdisplay)) {
+- XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_TIMESTAMP(xdisplay), 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&timestamp), 1);
++ XChangeProperty(xdisplay, xev.xselectionrequest.requestor, prop, XA_INTEGER, 32, PropModeReplace, reinterpret_cast<const unsigned char*>(&timestamp), 1);
+ }
+ else if (xev.xselectionrequest.target == XA_TEXT(xdisplay) ||
+ xev.xselectionrequest.target == XA_STRING) {
diff --git a/app-misc/pwsafe/files/pwsafe-0.2.0-cvs-1.57.patch b/app-misc/pwsafe/files/pwsafe-0.2.0-cvs-1.57.patch
new file mode 100644
index 000000000000..7f62eb59d429
--- /dev/null
+++ b/app-misc/pwsafe/files/pwsafe-0.2.0-cvs-1.57.patch
@@ -0,0 +1,48 @@
+Index: pwsafe.cpp
+===================================================================
+RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v
+retrieving revision 1.56
+retrieving revision 1.57
+diff -u -r1.56 -r1.57
+--- pwsafe.cpp 30 Sep 2005 10:30:56 -0000 1.56
++++ pwsafe.cpp 12 Aug 2007 12:33:06 -0000 1.57
+@@ -3346,6 +3346,12 @@
+ }
+
+ bufpos += rc;
++ buf[bufpos] = '\0';
++
++ if (rc == 0) {
++ // EOF (ctrl-D)
++ break;
++ }
+
+ if (bufpos == buflen && !strchr(buf,'\n')) {
+ // we needed a bigger buffer
+@@ -3354,6 +3360,7 @@
+ fprintf(stderr, "Error: %s out of memory\n", program_name);
+ memset(buf,0,buflen);
+ free(buf);
++ throw FailEx();
+ }
+
+ memcpy(new_buf, buf, bufpos);
+@@ -3364,9 +3371,15 @@
+ }
+ }
+
+- int len = strchr(buf,'\n') - buf;
+- saved.assign(buf+len+1, bufpos-(len+1));
+- buf[len] = '\0';
++ char* lf = strchr(buf,'\n');
++ if (lf) {
++ // save the rest of the input for later
++ saved.assign(lf+1);
++ *lf = '\0';
++ } else {
++ saved.assign("",0);
++ }
++
+ return buf;
+ }
+ #endif // WITH_READLINE
diff --git a/app-misc/pwsafe/files/pwsafe-0.2.0-fake-readline.patch b/app-misc/pwsafe/files/pwsafe-0.2.0-fake-readline.patch
new file mode 100644
index 000000000000..4e0f4ad4dfd6
--- /dev/null
+++ b/app-misc/pwsafe/files/pwsafe-0.2.0-fake-readline.patch
@@ -0,0 +1,107 @@
+Index: pwsafe.cpp
+===================================================================
+RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v
+retrieving revision 1.57
+diff -u -r1.57 pwsafe.cpp
+--- pwsafe.cpp 12 Aug 2007 12:33:06 -0000 1.57
++++ pwsafe.cpp 30 Mar 2011 07:22:11 -0000
+@@ -3325,61 +3325,48 @@
+ static char* readline(const char* prompt) {
+ printf("%s", prompt);
+ fflush(stdout);
+-
+- static secstring saved;
+- int buflen = saved.length() + 100;
+- int bufpos = saved.length();
+- char* buf = reinterpret_cast<char*>(malloc(buflen+1));
+- if (!buf)
+- throw FailEx();
+- memcpy(buf, saved.data(), saved.length());
+- buf[saved.length()] = '\0';
+-
+- while (!strchr(buf,'\n')) {
+- const int rc = ::read(STDIN_FILENO, buf+bufpos, buflen);
+-
+- if (rc == -1) {
+- fprintf(stderr, "Error: %s read(STDIN) failed: %s\n", program_name, strerror(errno));
+- memset(buf,0,buflen);
+- free(buf);
+- throw FailEx();
+- }
+-
+- bufpos += rc;
+- buf[bufpos] = '\0';
+-
+- if (rc == 0) {
+- // EOF (ctrl-D)
+- break;
+- }
+-
+- if (bufpos == buflen && !strchr(buf,'\n')) {
+- // we needed a bigger buffer
+- char* new_buf = reinterpret_cast<char*>(malloc(2*buflen+1));
+- if (!new_buf) {
+- fprintf(stderr, "Error: %s out of memory\n", program_name);
+- memset(buf,0,buflen);
+- free(buf);
+- throw FailEx();
+- }
+
+- memcpy(new_buf, buf, bufpos);
+- memset(buf, 0, buflen);
+- free(buf);
+- buf = new_buf;
+- buflen *= 2;
+- }
+- }
++ size_t buflen = 100;
++ size_t bufpos = 0;
++ char* buf = static_cast<char*>(malloc(buflen+1));
++ if (!buf)
++ throw FailEx();
+
+- char* lf = strchr(buf,'\n');
+- if (lf) {
+- // save the rest of the input for later
+- saved.assign(lf+1);
+- *lf = '\0';
+- } else {
+- saved.assign("",0);
++ for (;;) {
++ const ssize_t rc = ::read(STDIN_FILENO, buf+bufpos, 1);
++ if (rc == -1) {
++ fprintf(stderr, "Error: %s read(STDIN) failed: %s\n", program_name, strerror(errno));
++ memset(buf,0,bufpos);
++ free(buf);
++ throw FailEx();
++ } else if (rc == 0) {
++ // EOF (ctrl-D)
++ break;
++ } else if (buf[bufpos] == '\n') {
++ // end of line
++ break;
++ }
++
++ ++bufpos;
++
++ if (bufpos == buflen) {
++ // we need a bigger buffer
++ char* new_buf = static_cast<char*>(malloc(2*buflen+1));
++ if (!new_buf) {
++ fprintf(stderr, "Error: %s out of memory\n", program_name);
++ memset(buf,0,bufpos);
++ free(buf);
++ throw FailEx();
++ }
++ memcpy(new_buf, buf, bufpos);
++ memset(buf, 0, bufpos);
++ free(buf);
++ buf = new_buf;
++ buflen *= 2;
++ }
+ }
+
++ buf[bufpos] = '\0';
+ return buf;
+ }
+ #endif // WITH_READLINE
diff --git a/app-misc/pwsafe/files/pwsafe-0.2.0-man-page-option-syntax.patch b/app-misc/pwsafe/files/pwsafe-0.2.0-man-page-option-syntax.patch
new file mode 100644
index 000000000000..a83d3a83d8eb
--- /dev/null
+++ b/app-misc/pwsafe/files/pwsafe-0.2.0-man-page-option-syntax.patch
@@ -0,0 +1,30 @@
+Index: pwsafe.1.in
+===================================================================
+RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.1.in,v
+retrieving revision 1.8
+diff -u -r1.8 pwsafe.1.in
+--- pwsafe.1.in 18 Mar 2006 14:17:41 -0000 1.8
++++ pwsafe.1.in 30 Mar 2011 07:42:23 -0000
+@@ -52,18 +52,18 @@
+ .B \-\-passwd
+ Change the database's passphrase.
+ .TP
+-.B \-\-list[=REGEX]
++.B \-\-list [REGEX]
+ List all [matching] entries in database.
+ .BR
+ If \-u or \-p is given then REGEX must match only one entry, and only the requested field(s) are emitted.
+ .TP
+-.B \-a, \-\-add[=NAME]
++.B \-a, \-\-add [NAME]
+ Add an entry to database.
+ .TP
+-.B \-e, \-\-edit=REGEX
++.B \-e, \-\-edit REGEX
+ Edit an entry.
+ .TP
+-.B \-\-delete=NAME
++.B \-\-delete NAME
+ Delete an entry from database.
+ .TP
+ If no command is given, an interactive mode is entered.
diff --git a/app-misc/pwsafe/files/pwsafe-0.2.0-printf.patch b/app-misc/pwsafe/files/pwsafe-0.2.0-printf.patch
new file mode 100644
index 000000000000..409f3a7220ed
--- /dev/null
+++ b/app-misc/pwsafe/files/pwsafe-0.2.0-printf.patch
@@ -0,0 +1,43 @@
+Index: pwsafe.cpp
+===================================================================
+RCS file: /cvsroot/pwsafe/pwsafe/pwsafe.cpp,v
+retrieving revision 1.57
+diff -u -r1.57 pwsafe.cpp
+--- pwsafe.cpp 12 Aug 2007 12:33:06 -0000 1.57
++++ pwsafe.cpp 30 Mar 2011 05:44:07 -0000
+@@ -1619,7 +1619,7 @@
+ snprintf(ent_buf, sizeof(ent_buf), "%d", entropy_needed);
+ ent_buf[sizeof(ent_buf)-1] = '\0';
+ char len_buf[24];
+- snprintf(len_buf, sizeof(len_buf), "%d", pw.length());
++ snprintf(len_buf, sizeof(len_buf), "%lu", static_cast<unsigned long>(pw.length()));
+ len_buf[sizeof(len_buf)-1] = '\0';
+ switch (tolower(get1char("Use "+pw+"\ntype "+type_name+", length "+len_buf+", "+ent_buf+" bits of entropy [y/N/ /+/-/q/?] ? ", 'n'))) {
+ case 'y':
+@@ -2380,7 +2380,7 @@
+ version = VERSION_1_7;
+ }
+
+- if (arg_verbose > 1) printf("read in %u entries\n", entries.size());
++ if (arg_verbose > 1) printf("read in %lu entries\n", static_cast<unsigned long>(entries.size()));
+
+ opened = true;
+ return true;
+@@ -2601,7 +2601,7 @@
+ for (matches_t::const_iterator i=matches.begin(); i!=matches.end() && count < 3; ++i, ++count)
+ printf("%s%s", (count?", ":""), (*i)->groupname().c_str());
+ if (count != matches.size())
+- printf(", ... (%u more) ", matches.size()-3);
++ printf(", ... (%lu more) ", static_cast<unsigned long>(matches.size()-3));
+ printf(".\n");
+ throw FailEx();
+ }
+@@ -2637,7 +2637,7 @@
+ // print out the UUID too
+ fprintf(outfile, "%s\n", formatuuid(e.uuid).c_str());
+ if (!e.extras.empty())
+- fprintf(outfile, "and %u unknown extra fields\n", e.extras.size());
++ fprintf(outfile, "and %lu unknown extra fields\n", static_cast<unsigned long>(e.extras.size()));
+ }
+ } else
+ // just print out the name
diff --git a/app-misc/pwsafe/metadata.xml b/app-misc/pwsafe/metadata.xml
new file mode 100644
index 000000000000..6fcce0a560fe
--- /dev/null
+++ b/app-misc/pwsafe/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>chead@chead.ca</email>
+ <name>Christopher Head</name>
+ <description>Proxy maintainer, assign bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ pwsafe is a commandline password database utility compatible with
+ Counterpane's Password Safe. It is compatible with Counterpane Password
+ Safe 1.9.x and 2.0 databases. It can interact with X11 selection and
+ clipboard.
+ </longdescription>
+ <upstream>
+ <maintainer>
+ <email>ndade@nsd.dyndns.org</email>
+ <name>Nicolas Dade</name>
+ </maintainer>
+ <remote-id type="sourceforge">pwsafe</remote-id>
+ <remote-id type="github">nsd20463/pwsafe</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/pwsafe/pwsafe-0.2.0-r2.ebuild b/app-misc/pwsafe/pwsafe-0.2.0-r2.ebuild
new file mode 100644
index 000000000000..43c603b050b4
--- /dev/null
+++ b/app-misc/pwsafe/pwsafe-0.2.0-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit base eutils
+
+DESCRIPTION="A Password Safe compatible command-line password manager"
+HOMEPAGE="http://nsd.dyndns.org/pwsafe/"
+SRC_URI="http://nsd.dyndns.org/pwsafe/releases/${P}.tar.gz"
+PATCHES=(
+ "${FILESDIR}/${P}-cvs-1.57.patch"
+ "${FILESDIR}/${P}-printf.patch"
+ "${FILESDIR}/${P}-fake-readline.patch"
+ "${FILESDIR}/${P}-man-page-option-syntax.patch"
+ "${FILESDIR}/${P}-XChangeProperty.patch"
+ )
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="X readline"
+
+DEPEND="sys-libs/ncurses
+ dev-libs/openssl
+ readline? ( sys-libs/readline )
+ X? ( x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXmu
+ x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf $(use_with X x) $(use_with readline)
+}
+
+src_install() {
+ doman pwsafe.1
+ dobin pwsafe
+ dodoc README NEWS
+}
diff --git a/app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild b/app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild
new file mode 100644
index 000000000000..0ced0a097b81
--- /dev/null
+++ b/app-misc/pwsafe/pwsafe-0.2.0-r4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A Password Safe compatible command-line password manager"
+HOMEPAGE="http://nsd.dyndns.org/pwsafe/"
+SRC_URI="http://nsd.dyndns.org/pwsafe/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+
+IUSE="X libressl readline"
+
+DEPEND="sys-libs/ncurses:0=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ readline? ( sys-libs/readline:0= )
+ X? ( x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXmu
+ x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply -p0 "${FILESDIR}/${P}-cvs-1.57.patch"
+ eapply -p0 "${FILESDIR}/${P}-printf.patch"
+ eapply -p0 "${FILESDIR}/${P}-fake-readline.patch"
+ eapply -p0 "${FILESDIR}/${P}-man-page-option-syntax.patch"
+ eapply -p0 "${FILESDIR}/${P}-XChangeProperty.patch"
+ eapply_user
+}
+
+src_configure() {
+ econf $(use_with X x) $(use_with readline)
+}
+
+src_install() {
+ doman pwsafe.1
+ dobin pwsafe
+ dodoc README NEWS
+}
diff --git a/app-misc/pysmssend/Manifest b/app-misc/pysmssend/Manifest
new file mode 100644
index 000000000000..f28d9b1b8f3e
--- /dev/null
+++ b/app-misc/pysmssend/Manifest
@@ -0,0 +1,6 @@
+DIST pysmssend-1.48.tar.gz 58172 SHA256 8b8744eb0625d6f65632c56f58a304c5c9825d417d81f523024629ea611520ce SHA512 d1d08e11bb4a5f450a98e9bf6292ce65edb61e0610e085dd79dcb80fd8ce1d15f7350797a0150eb6ddcc0116c17e3290f2790632eb7f54ab66efdcf662022088 WHIRLPOOL 29d3a06ec73f3b667228aa4d3e8d710607fb313331c41470b7aeda4fcdb265ae31feed0714b3a75a110d289d03b87047d3600121c2e82dac0c7ed2cc288fdd1b
+EBUILD pysmssend-1.48-r1.ebuild 1052 SHA256 cf018f2009a9a0c6b7f4a663439cbd68c41a2c68c4c7be53b7bb65fa780d3451 SHA512 4a687d8bffe9e7443c151cd609c4c81cc8c4696a7d13c25702396fa8a9054bde1015b4205a2984ce063fbcdd890aad72d1a207d8ba5700634c01238246a807f5 WHIRLPOOL c16694c89ea379f607b1b30a719f7fc9bd150e5bb058b6ea5b9c60f732e55a9a69773d2f16429fc4554875198bfa300ceedfd94e33abb2eec283ab6d005f927a
+EBUILD pysmssend-9999.ebuild 1389 SHA256 10db49c81192d199dfe46e53e2bb7b54d5449aa680ca748eaba7de9f374ff29c SHA512 49d806d6b7b07d7189a7a350288caf6617be0b4cd17088955fff77fd4c007e665d32aba3061a17984e04fe914229b55393c04289e7e9d64c371a709341adf3bb WHIRLPOOL c5b2501802f00ab647c5fca0a1017bf1a9cdd3e0249a95010e7cc8cdc69ca05c57331dc34fa13df33f090b792138132b95f9fe22f968a821c787faaec3d09815
+MISC ChangeLog 3185 SHA256 e3c740ef9d5ff38e3cadfb0838c2ffc3574f777b10046f0cde6c53d3ec18c1b9 SHA512 948fcb643be6621fb35e489518c5a4b168410a8c52c9c068fd20cc9d57e7c46993127d801af8449fa6c7e179eee188341336fb7d0c70332989f730355f7a79b5 WHIRLPOOL f434f9e87fd1c26e3be96036b4146c13efa2907a05519c72d649cbcca42702e58a23a64fa0b7d2760586d2b68486794a45487e83a657dc35b2929488c72290bc
+MISC ChangeLog-2015 4042 SHA256 57a0c3c8304fad4549625240a9e5be13f0118adb0cb7d137d0df9707cee93424 SHA512 c675384cd87b6476d077c6e9ec93bfc85ac2a23c155bf609bdcbc7e65569874f8cc39c751c128e67aa31755dae70ac3d5f4fec5d3d1d42207fc1ebc6cc594c31 WHIRLPOOL 25c7e10816abea5056d00d9856c822a77864ae7bc85d0cff174771b720e70e106da52e9782618a4ec551846ff7b06a2e6de23155dddf283ddf8b13b6e89cb1c5
+MISC metadata.xml 244 SHA256 218c89997b706a1af5ae06826d5c44f6cd3b1271deadac69bbbe897de31b22e2 SHA512 c0661c87a34d45258dc8236baf4e1fd4fcb3f418f4a6bb13670ae91141c7474ea8d423cb7df3c8f45cc4441e22783e6ceb807a84ccb8a75c574ea079f8a02117 WHIRLPOOL b1b2977b3b499a8169afe610ee2da26a72fa3d58f72e055fb9263c24ac0bec835e2c62685698fb6f712b7b7bbf48567adeacdf4e6eb244770a70632f64cec009
diff --git a/app-misc/pysmssend/metadata.xml b/app-misc/pysmssend/metadata.xml
new file mode 100644
index 000000000000..2028cee3c389
--- /dev/null
+++ b/app-misc/pysmssend/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/pysmssend/pysmssend-1.48-r1.ebuild b/app-misc/pysmssend/pysmssend-1.48-r1.ebuild
new file mode 100644
index 000000000000..aa7d392f3824
--- /dev/null
+++ b/app-misc/pysmssend/pysmssend-1.48-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Python Application for sending sms over multiple ISPs"
+HOMEPAGE="http://pysmssend.silverarrow.org/"
+SRC_URI="http://pysmssend.silverarrow.org/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="qt4"
+
+DEPEND=">dev-python/mechanize-0.1.7b[${PYTHON_USEDEP}]
+ qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_doscript pysmssendcmd
+ if use qt4; then
+ python_doscript pysmssend
+ else
+ ln -s pysmssendcmd "${D}$(python_get_scriptdir)"/pysmssend || die
+ fi
+}
+
+src_install() {
+ distutils-r1_src_install
+ if use qt4; then
+ insinto /usr/share/${PN}/Icons
+ doins Icons/*
+ doicon Icons/pysmssend.png
+ make_desktop_entry pysmssend pySMSsend pysmssend \
+ "Applications;Network"
+ else
+ dosym pysmssendcmd /usr/bin/pysmssend
+ fi
+ dodoc README AUTHORS TODO
+}
diff --git a/app-misc/pysmssend/pysmssend-9999.ebuild b/app-misc/pysmssend/pysmssend-9999.ebuild
new file mode 100644
index 000000000000..fcdaece171c0
--- /dev/null
+++ b/app-misc/pysmssend/pysmssend-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+EGIT_REPO_URI="https://github.com/hwoarang/${PN}.git"
+
+inherit distutils-r1 eutils git-r3
+
+DESCRIPTION="Python Application for sending sms over multiple ISPs"
+HOMEPAGE="http://pysmssend.silverarrow.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="qt4"
+
+DEPEND=">=dev-python/mechanize-0.1.9[${PYTHON_USEDEP}]
+ qt4? ( >=dev-python/PyQt4-4.3[X,${PYTHON_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+python_install() {
+ distutils-r1_python_install
+
+ python_doscript pysmssendcmd
+ if use qt4; then
+ python_doscript pysmssend
+ else
+ ln -s pysmssendcmd "${D}$(python_get_scriptdir)"/pysmssend || die
+ fi
+}
+
+src_install() {
+ distutils-r1_src_install
+ if use qt4; then
+ insinto /usr/share/${PN}/Icons
+ doins Icons/*
+ doicon Icons/pysmssend.png
+ domenu ${PN}.desktop
+ else
+ dosym pysmssendcmd /usr/bin/pysmssend
+ fi
+ dodoc README AUTHORS TODO
+}
+
+pkg_postinst() {
+ elog "${PN} can use dev-python/python-gnupg"
+ elog "for keeping your account data encrypted"
+ elog "and secured. If you want to use it,"
+ elog "first install dev-python/python-gnupg using"
+ elog "emerge -av dev-python/python/gnupg"
+ elog "and then edit your ~/.pysmssend/config"
+ elog "file and set:"
+ elog
+ elog "pysmssend_gpg_support=1"
+ elog "pysmssend_gpg_key=<your_gpg_key_id>"
+ elog
+}
diff --git a/app-misc/pystopwatch/Manifest b/app-misc/pystopwatch/Manifest
new file mode 100644
index 000000000000..9bdc4965acf1
--- /dev/null
+++ b/app-misc/pystopwatch/Manifest
@@ -0,0 +1,5 @@
+DIST pystopwatch-2012.12.24.1.tar.xz 14580 SHA256 d74b6b6e5263e40ce45c0333df1f44e618d87a967d02e0c911782b3ebfdd2a94 SHA512 4b3af373356eaafd14caeecb34150fef8e7099120855230dce7c0eabba68f75d497c3cc2eb733a086a02a96ae5feeca1898ba201a5f6f5597dcd32de9c80b3df WHIRLPOOL 6a37b84f9d932e399eb7df3b59fd94b8ab3bb6c698466cdd495bfaf6b494698579f86f8eebf1032a529b3482b225e0cb857d09dcb8f4e7c1fab5d28475daba2e
+EBUILD pystopwatch-2012.12.24.1-r1.ebuild 662 SHA256 85b2e13ebe236c062efa7145436dd887977989a32810fd876fe0f9a3e0b80ec0 SHA512 f77107c57ef88a9e6faaf8a26c024d5ad6e1405c67c3c54ce32cd085da1d7fa023a8d2f6e70277c408117c1c1c48749eabcadf93117666bbc9b3e207e18545e0 WHIRLPOOL 722b527f13609920e13877586ec908599be018f4e603464eeb31962ccf7a0e196df4c1608a3a09d59740d689782d01319bede6f82600593c30acee722d6544d8
+MISC ChangeLog 2803 SHA256 0868189a615304e42779511c949cee8efe522f681f20ea503237eb5ce860cdfc SHA512 391248442a384eb1f9581bb91fb44437170bdba5d124e06d21e4705dcbd99ea4e06a8fd8fa214fd9e974334a537e2d494ed94ad272105427cd51394ba373b1cb WHIRLPOOL d11710e57aff8bb703728f5790434838c6ee719766bd1e99eec2b1067668704c2eb57bcaf47dfa672e6d5970b7acdb1bf17a13913f2a810c604864d09a74d2d9
+MISC ChangeLog-2015 1578 SHA256 f1683b38c9d0e3e51f92855f40d299de0852569f2e045d028fdf9f7f80758383 SHA512 9c1b6aa9c10c2c70bd59daa9d9f0bfe42d197a88fa431030422aeaa6a17fbc118ed5e2b910adff3e0e35d5953893402e7dc0a8cf9e30b2d657901a16b1fc49da WHIRLPOOL 6d822d76899d139e20f8ddf11cea0b30e0f1950ae8747dc52bf3651f5bfbc932ee0ded856a923b748a7ad195cddba65977f913b1cd234dc36c7719bc3986bc3c
+MISC metadata.xml 237 SHA256 ffb571839c57797d282263369646d2bba2662601a45f7bb3251bb97f716554a6 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f WHIRLPOOL 60d6da846c983457e038ea5ba3c0bf48f939c9586610985a14cac9772fd1d45d781a643abc16482f232f3028e44fe99fe1a382deaebf6589602fc244a4460e3f
diff --git a/app-misc/pystopwatch/metadata.xml b/app-misc/pystopwatch/metadata.xml
new file mode 100644
index 000000000000..a535b8852829
--- /dev/null
+++ b/app-misc/pystopwatch/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/pystopwatch/pystopwatch-2012.12.24.1-r1.ebuild b/app-misc/pystopwatch/pystopwatch-2012.12.24.1-r1.ebuild
new file mode 100644
index 000000000000..8ef9462053b8
--- /dev/null
+++ b/app-misc/pystopwatch/pystopwatch-2012.12.24.1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="clock and two countdown functions that can minimize to the tray"
+HOMEPAGE="http://xyne.archlinux.ca/projects/pystopwatch"
+SRC_URI="http://xyne.archlinux.ca/projects/${PN}/src/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ gnome-base/librsvg
+ ${PYTHON_DEPS}
+"
+DEPEND=""
+
+src_prepare() {
+ unpack ./man/${PN}.1.gz
+}
+
+src_install() {
+ python_doscript ${PN}
+ doman ${PN}.1
+}
diff --git a/app-misc/qlcplus/Manifest b/app-misc/qlcplus/Manifest
new file mode 100644
index 000000000000..a8fdbb005cbd
--- /dev/null
+++ b/app-misc/qlcplus/Manifest
@@ -0,0 +1,5 @@
+DIST qlcplus-4.10.5b.tar.gz 8959726 SHA256 92b024806dab223f337cc0690d21549612e539377868bee9450075eca74eef37 SHA512 c989764d52fc60af8d98c3a65ef7e6ba5cd823e5d487a2153dffc9a00f5e176666ced5c0f771b04a35957bee3de84ca927326c45764a34d9bf3c8886dede9d2f WHIRLPOOL 721021fbe6f29deaa7b08ec7717691612f4e39e84da2058cbb4bb3198bc9eb533c93e53e4345407ca0ffdd0d8e897fb91ff5aa524ce966578c3e69e9f000cd60
+EBUILD qlcplus-4.10.5b-r1.ebuild 1189 SHA256 6f20346f2b0c7442ee64849eae3fe0c8bad885b0cfced5c57aa192102af943ed SHA512 942db0ea457d1975121bcd75705370be3a1fe44853e4fcc794437ca17c8b6f3bd73b7e28c03d1d14deba3e0505c55dadfeedcde2e2c91f6df20ded512a15ebb0 WHIRLPOOL 9c1c312528a650304c8a4919a8cadf1bb70dddee4b4d4f236bcdd46ce7601bfd4ef807e6f83eef0ccbea5d28d21bc547bb0ae34c590e0db295237d9fd9b1327b
+EBUILD qlcplus-4.10.5b-r2.ebuild 1308 SHA256 de0460d20160fa62d2e256b1f540fd687018b1d39731238fba84ec7339a299a9 SHA512 79b6f707eb9c7006f7e42a6267e28bbb481678042916733e4c4fc067e9f9fdc3c9cbeea456b1c388bd252c24dc912e9db2206070bba756fedbf66fa415795054 WHIRLPOOL 7c0a848c01d0784b0b565993e0590cf1c43e8153ad029689eb6aa3fb11e8ea321c6d78dd374bfe86e20cd0b8f7635c65ea6bb195608e84ccea285f1e98309410
+MISC ChangeLog 1283 SHA256 9177d9f6bdef259dbca148615c0320e118e1ee4d7208548f2e9b2149b91b6ae6 SHA512 fecb3e0dd61d4681edea47fd12e2d2134e6394e741a124519f5f87d15f596ff63dd939e9e64ceef71ba071846f5f26b4dc0620541eec8d0749a7722017a2c81c WHIRLPOOL 434b4796d9141bbd071d025381b94736e6a06b0d3ad077adafc971fa0f2c3384c0260398a9f13ea1e751e828c0bf794ab54510fc961c0ba7581f1159f0dfc113
+MISC metadata.xml 326 SHA256 bd1de2bd05e3ffadeb13d8c735a2e2c2fbac0a497dae3213ad6c8ee1e90b0848 SHA512 5de2dc43ec5ae4d9a2c598cfac00dc124a956040d0721cb867acc5c4ed312e8c9ef415205eaaed8ff5742281251c970a5ade2eae6280b62477f4fda3fedc2504 WHIRLPOOL 0d3a6b40cf069e60580924907b8ad97da349e37873bae564f286a3dc829dca3b4bae16dffcc659710a71529732b2051700498362a359c733c925f1fb9085197e
diff --git a/app-misc/qlcplus/metadata.xml b/app-misc/qlcplus/metadata.xml
new file mode 100644
index 000000000000..66cfad42c5fb
--- /dev/null
+++ b/app-misc/qlcplus/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">mcallegari/qlcplus</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/qlcplus/qlcplus-4.10.5b-r1.ebuild b/app-misc/qlcplus/qlcplus-4.10.5b-r1.ebuild
new file mode 100644
index 000000000000..9d4d685ddec7
--- /dev/null
+++ b/app-misc/qlcplus/qlcplus-4.10.5b-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils udev vcs-snapshot virtualx
+
+DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces"
+HOMEPAGE="http://www.qlcplus.org/"
+SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ || ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5[widgets]
+ dev-qt/qtnetwork:5
+ dev-qt/qtscript:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ media-libs/alsa-lib
+ media-libs/libmad
+ media-libs/libsndfile
+ sci-libs/fftw:3.0
+ virtual/libusb:0
+ virtual/libusb:1
+ virtual/udev
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
+ plugins/hid/hid.pro \
+ plugins/udmx/src/src.pro \
+ plugins/dmxusb/src/src.pro \
+ plugins/spi/spi.pro \
+ plugins/peperoni/unix/unix.pro || die
+ sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \
+ -i variables.pri || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_test() {
+ virtx emake check
+}
diff --git a/app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild b/app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild
new file mode 100644
index 000000000000..9d50c6300aa1
--- /dev/null
+++ b/app-misc/qlcplus/qlcplus-4.10.5b-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit qmake-utils udev vcs-snapshot virtualx xdg
+
+DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces"
+HOMEPAGE="http://www.qlcplus.org/"
+SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ || ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5[widgets]
+ dev-qt/qtnetwork:5
+ dev-qt/qtscript:5
+ dev-qt/qttest:5
+ dev-qt/qtwidgets:5
+ media-libs/alsa-lib
+ media-libs/libmad
+ media-libs/libsndfile
+ sci-libs/fftw:3.0
+ virtual/libusb:0
+ virtual/libusb:1
+ virtual/udev
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
+ plugins/hid/hid.pro \
+ plugins/udmx/src/src.pro \
+ plugins/dmxusb/src/src.pro \
+ plugins/spi/spi.pro \
+ plugins/peperoni/unix/unix.pro || die
+ sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \
+ -i variables.pri || die
+}
+
+src_configure() {
+ eqmake5
+
+ # sandbox error "mkdir /usr/share/qlcplus"
+ # see https://bugs.gentoo.org/621500#c2
+ export INSTALL_ROOT="${D}"
+}
+
+src_test() {
+ virtx emake check
+}
diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest
new file mode 100644
index 000000000000..fb4310f905e5
--- /dev/null
+++ b/app-misc/ranger/Manifest
@@ -0,0 +1,8 @@
+DIST ranger-1.8.1.tar.gz 227415 SHA256 1433f9f9958b104c97d4b23ab77a2ac37d3f98b826437b941052a55c01c721b4 SHA512 40450d4e80017ac62d60ea6de231c10496fec1680f15a14006d3b87aae7f34cb2dbb6b810ced89527a4cba2975dcd6c037217e86fa806a0ba3cd39dc7dee8f04 WHIRLPOOL 29c6613befff82e883b9dcdf04f789338992d79a5cd6dcee46b19c21e80bd61b6de89567794d60c42696a4e7ed599e3606dfa9460558432a10169a2201a4e937
+DIST ranger-1.9.0_beta5.tar.gz 235886 SHA256 d7319511f9014fc2949d563e895a7314d1da0cc2ad2efa370c28a90710345d8f SHA512 728efd93630e9c8bba67f7d567200a0cb21d19d8d1b5dc4ec63a454b1169de9427c1b0477754eea1ce5b0d0ed8e79d964b4804587152e30205c1e5a73f938e0a WHIRLPOOL c753631a6ea689ebb64ee20e64017b026ad975855d843d0e6d80ddec64837edadc5ee3a80feeab4fee0cd32c22da7e5beedf0b125b3dd8d65c79d1ccc7f28abb
+EBUILD ranger-1.8.1.ebuild 887 SHA256 dfe58c5dd3d2ceeb260b53790ab10b55b6da0143ad1f206bbeb4a227db14da22 SHA512 03aa94552ef555ba29bf6771df039a4ff36396e88bb1b48b49323f9172f268248cb58332152399b1185d35c0ee6d6fc4db651613888214b4f0fa699c6dd6732a WHIRLPOOL 714de4ab111d812126eacf40b2bbdbb67bfd460815b59be3555d0b05a04910c823c6ab7adbd4dd73b7feca847c7ca77a41d034645694b835d972e5fcec83a29c
+EBUILD ranger-1.9.0_beta5.ebuild 1120 SHA256 da7c75c8205266586c48330fd0630ed6403abaf8b6d777c22fbd6e68216ce87b SHA512 876117bdd48930abe0fea28092775ebd29e962ff58f9562d3353eb8d070d87260e0249b549cd3cb8bc1221b873ac277c22e97075ff3fc364edef398754cc329f WHIRLPOOL a7af63ed0152c0aa5874fbfbb78ad5d0a98d82677285d09a56f57df056705ced8d93885d418c0a3aadb206a7fca2ae75f1528e74dde0a9300ae58833b9bc726b
+EBUILD ranger-9999.ebuild 1022 SHA256 4e6c3f281bd1f022a54bc379999c6552083189d01de47e94f7e41b409ce47208 SHA512 05b5b6e40329215f3062fc09f40a47a0406b77982430c76480d604ee6d0c6a765223ab9cd3cb904ee771fdb2f77574088547c2fd3b6dad6d706270d811146cbe WHIRLPOOL 09e7083570ea1b7964b803e202e76ebfc9bd993350bc8dd8b50a7546af5134d8604b468d072c8e870dd7da7a8e75ed58980ee0a737aa454384edab06a37573c7
+MISC ChangeLog 3206 SHA256 7ba1da9d5c24a4c0a7ef84c90981bd2270221c64ad54f8efb37336592fb08cf0 SHA512 486876af3664052e6910d4e1db6fb81ab04f3946ad0ae30ae01ab4ab81d2e33cab879fb31c9de7919e4a3b714593378f7c252b25852bf31e65e653424d93c1ff WHIRLPOOL 11cdf5d0657d55f0eec381f2fa985044fbae421dbf52cee19f3fafe6fdfcea7fa4517f8f045d30919da4bc3e04bced965bf56e2b2f674199f0b8abda832c427e
+MISC ChangeLog-2015 4968 SHA256 d3e65060bf1e49eae99fa9b5e2a47ed7fd7aa8540e4c9a79b93b489fde3f89a3 SHA512 65751b1537366cb11116aaea23a9e47f6774974ca264d7501616d699b305900ba770220cd9bf37518031af3453f7acaf2ecdcbb5d48b5869045056d8daeaf6eb WHIRLPOOL 1fc2457430239ba5ec7da7005fb0696793e87b572c307c49e608b9dd241255b0afd10556dffe969fc88317e734255199c9c750047be2ade5c7306aa5b919cba7
+MISC metadata.xml 694 SHA256 e1071be5f1c8c07ff7dba1b5fe309367ddf15df8e3f84b632ade58b731d22cc5 SHA512 d6a97f7a6342dc1f1e14fbb14f2c0d28b5c2d2f148b0ac4078421e85f25273b38d489009c1780570326d374196a1a93cdb4aa86de55265db643092affe610e54 WHIRLPOOL bf2a384cb905c4d67850ae1c20036a15f17a1070c88a5366edd4199119e48fb91a35800591c31967e207b8e8a825db819769ebe2f94ec1cb72f2f880abd9beb6
diff --git a/app-misc/ranger/metadata.xml b/app-misc/ranger/metadata.xml
new file mode 100644
index 000000000000..fa97c1a4914e
--- /dev/null
+++ b/app-misc/ranger/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <longdescription lang="en">
+ Ranger is a console file manager that gives you greater flexibility and a
+ good overview of your files without having to leave your console. It
+ visualizes the directory tree in two dimensions: the directory hierarchy on
+ one, lists of files on the other, with a preview to the right so you know
+ where you'll be going.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ranger/ranger</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/ranger/ranger-1.8.1.ebuild b/app-misc/ranger/ranger-1.8.1.ebuild
new file mode 100644
index 000000000000..0a85b645758d
--- /dev/null
+++ b/app-misc/ranger/ranger-1.8.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://git.savannah.nongnu.org/ranger.git"
+ inherit git-r3
+else
+ SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
+ KEYWORDS="amd64 ~ppc x86"
+fi
+
+DESCRIPTION="A vim-inspired file manager for the console"
+HOMEPAGE="http://ranger.nongnu.org/"
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="virtual/pager"
+
+src_prepare() {
+ # use versioned doc path
+ sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die
+
+ distutils-r1_src_prepare
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "Ranger has many optional dependencies to support enhanced file previews."
+ elog "See the README or homepage for more details."
+ fi
+}
diff --git a/app-misc/ranger/ranger-1.9.0_beta5.ebuild b/app-misc/ranger/ranger-1.9.0_beta5.ebuild
new file mode 100644
index 000000000000..adb43f4ea259
--- /dev/null
+++ b/app-misc/ranger/ranger-1.9.0_beta5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1
+
+MY_PV=${PV/_beta/b}
+MY_P=${PN}-${MY_PV}
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/ranger/ranger.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+DESCRIPTION="A vim-inspired file manager for the console"
+HOMEPAGE="http://ranger.nongnu.org/"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="virtual/pager"
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # use versioned doc path
+ sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ py.test -v || die "Tests failed under ${EPYTHON}"
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "Ranger has many optional dependencies to support enhanced file previews."
+ elog "See the README or homepage for more details."
+ fi
+}
diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild
new file mode 100644
index 000000000000..ac8d37af176d
--- /dev/null
+++ b/app-misc/ranger/ranger-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="ncurses"
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/ranger/ranger.git"
+ inherit git-r3
+else
+ SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+DESCRIPTION="A vim-inspired file manager for the console"
+HOMEPAGE="http://ranger.nongnu.org/"
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="virtual/pager"
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+ # use versioned doc path
+ sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ py.test -v || die "Tests failed under ${EPYTHON}"
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "Ranger has many optional dependencies to support enhanced file previews."
+ elog "See the README or homepage for more details."
+ fi
+}
diff --git a/app-misc/razertool/Manifest b/app-misc/razertool/Manifest
new file mode 100644
index 000000000000..b787e3ea7857
--- /dev/null
+++ b/app-misc/razertool/Manifest
@@ -0,0 +1,5 @@
+DIST razertool_0.0.7.orig.tar.gz 192274 SHA256 fd7026f6082b90306de3536f9395ae9407c282f2d60a32fd5406e358f48b977d SHA512 0221ec90b55f4459f5a772eb651e9807423d9e3c82ebd680ee835167bcebf2552e1d7767d294c5392b1fbc58558084e7022cb67f529c033eaff33b4fb3eb1017 WHIRLPOOL 19ce64cdc9d473066bfdc6a2ffe5f3a8096f8d1247ab447f50d41a505410765d4c9b56e5c14873af3735cf8fe9cfdd9a4cea8175f5b806ccc5c4739a6ebe3e69
+EBUILD razertool-0.0.7-r4.ebuild 1764 SHA256 d703641a4bb5a29bcb7fff38eabfaa5539fbecbd9263916c4d7702cc58ad163a SHA512 1c772f0b27c03f49462def5082bcc4f11a23760efcf41dd74f53085f7b8fe98aa290950312b4794c595df58107147c61dcfa89559b91749ecbd92173dc8d53f4 WHIRLPOOL 6477e3149a5c8a0f3c61298aa658e0c886478fb555c902ea6ebe50b2c2ea1fd871ed3e467fafadb9b92fae6ed3d78d67b4278a4e47fe4e10b61c7c4c4ecde5bd
+MISC ChangeLog 2662 SHA256 fffc54a1d5baaebd85cc92478f86bb1aa9c7fcb79247ccedf601d7d763cfad76 SHA512 80e4d606328eeb2aeeb9cfdcdccc6cc14f3ad844a032d5db7f733c9e56793329ddae973f2d099bf33c08a2fc03e6d5542c32d86aee184ad209870931a805ec4c WHIRLPOOL 96cea9b74a479164fc5d7f2faf8ce6e4284493bf32a19826b1dd75f7bf8f47597381a8c5b302dcc2c0abab31c3cc6a479a7879747e58a20bb8b21687bf22a3e4
+MISC ChangeLog-2015 2026 SHA256 9cceae835fb8bc9b6490bdd82ca76f7b42528fa4bbc4334e43bded0e2aca1499 SHA512 26a12a64ac2b42cf43c854c0098cbeaf92f16091cfa6264e30d3ced9b52b8df49bd55f93cf26666dfc5473df3057252b7750db9fc761636c5daaec50ae260c9a WHIRLPOOL 9ca91ac8047f16b0e827c64e83a898b72028c587ff54c00bf3ad4f20e0339c686c2076ff3c802eeb3ebc5fa262c35061d1909f68c6e522d905ee63ccca09e298
+MISC metadata.xml 669 SHA256 01f6956ac1a929f488485a4a9bd69d30c78cfb808cf9996367b93f56bf9fda9c SHA512 e14e8d1b8af18a78314722909095c39d5db6edc0c87a0eb15cff01afeebf7739e6d8eb5b96089ca4a4138b207d8de7a95e6dea76954bf4026682f65659403b12 WHIRLPOOL f4994667a3e935fcef1c814cd44fcbb19a60799c5fc6da608f5fd5099dcb0e312560ac4a690aea6147889432319ef4b88f24203c6f69e2ada1c1da81296c1eb0
diff --git a/app-misc/razertool/metadata.xml b/app-misc/razertool/metadata.xml
new file mode 100644
index 000000000000..314b4a229162
--- /dev/null
+++ b/app-misc/razertool/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription>RazerTool is an unofficial tool for controlling Razer Copperhead(TM) mice in *nix. It has both command-line and gtk+-2.x versions. Allows to switch and alter profiles, upgrade firmware, ...</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">razertool</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/razertool/razertool-0.0.7-r4.ebuild b/app-misc/razertool/razertool-0.0.7-r4.ebuild
new file mode 100644
index 000000000000..916571dbd9e0
--- /dev/null
+++ b/app-misc/razertool/razertool-0.0.7-r4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Unofficial tool for controlling the Razer Copperhead mouse"
+HOMEPAGE="http://razertool.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND="virtual/libusb:0
+ gtk? (
+ dev-libs/atk
+ dev-libs/glib:2
+ >=gnome-base/librsvg-2.0
+ >=x11-libs/cairo-1.0.0
+ x11-libs/gdk-pixbuf
+ >=x11-libs/gtk+-2.8.0:2
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ default
+
+ sed -i razertool.rules.example \
+ -e 's:ACTION=="add", ::;s:BUS=:SUBSYSTEMS=:;s:SYSFS{:ATTRS{:g' \
+ || die "sed razertool.rules.example action failed"
+
+ # plugdev group may not exist (created by hal), default to usb
+ sed -i razertool.rules.example \
+ -e 's:plugdev:usb:' \
+ || die "sed razertool.rules.example plugdev failed"
+}
+
+src_configure() {
+ econf $(use_enable gtk)
+}
+
+src_install() {
+ default
+
+ insinto /lib/udev/rules.d
+ newins razertool.rules.example 90-razertool.rules
+
+ # Icon and desktop entry
+ dosym ../razertool/pixmaps/razertool-icon.png /usr/share/pixmaps/razertool-icon.png
+ make_desktop_entry "razertool-gtk" "RazerTool" ${PN}-icon "GTK;Settings;HardwareSettings"
+}
+
+pkg_postinst() {
+ elog "Razer Copperhead mice need firmware version 6.20 or higher"
+ elog "to work properly. Running ${PN} on mice with older firmwares"
+ elog "might lead to random USB-disconnects."
+ elog "To run as non-root, add yourself to the usb group:"
+ elog " gpasswd -a <user> usb"
+ elog "or adapt permissions/owner/group in:"
+ elog " /etc/udev/rules.d/90-razertool.rules"
+ elog "Then unplug and plug in the mouse."
+}
diff --git a/app-misc/realpath/Manifest b/app-misc/realpath/Manifest
new file mode 100644
index 000000000000..7597051223bc
--- /dev/null
+++ b/app-misc/realpath/Manifest
@@ -0,0 +1,13 @@
+AUX realpath-1.14-no-po4a.patch 288 SHA256 5fc4321c8e6a3906366d198d309768de026b628ec320bf4c00c137f9fa6eeacc SHA512 db19ebcab412ee5b4229657e9745a76b8ad83bff70e3f8f6b939edfbff3aa389436d10fd7d8641bf6a0747630c2d1afcc3ff0d6fe2faeec55e8d4f4a79596cc6 WHIRLPOOL 4a8d3601634ac14587e9f488d6e65c86117ccfe315d9bb7d8725b837a6fbfd4a18401ed75bd174dd592d6d1f5a41a7280803b7799f5bc8facfd9fd402a44377e
+AUX realpath-1.15-prefix.patch 1443 SHA256 df01fbc26743f1d25715589827aed7e1c68444ce596225f2aca571a75029cf27 SHA512 0e4980d60a4fff42823443ee9b8e9ef49a4f34ed031a3b01849f2d87b893f7205a4b7de2d6e090770aa2a3f7a31aab8f47d4f99c79d02d03fd5105001fdbcc5a WHIRLPOOL 0500647d494cddc3ef1cf0effb295a0a189756d726898dd3ef00813f39d3788b417952817d9fe3e6cf517254044648f3bd4cfd8a1e5b52fbeef7b609066b9e31
+AUX realpath-1.16-nonls.patch 685 SHA256 ea9c3bf075d932a6d1c3e92f31050a1272cd5f2135f079bac17788acb417ffbe SHA512 b27e44c1313e2c0dd0dfed719c373a3fc6f907a44cd1a9457c03bf1d83ce55b2aafefae84d2053f358e7dfe99dd7e4274137082c64c748e34680f324fe676719 WHIRLPOOL 65c256617e7a28b33565d0f18842326484393fdeacaab7c9927e53234ce4cc8cb65171ea6280e2dde4997d0d6095c47fbd6f6ccab02ebaecf09342406880dd1c
+AUX realpath-1.17-build.patch 1161 SHA256 f9a46d1009db90fec82e6f49f730fb9b5f9284fbc2cda9be40759d47ac69ea3d SHA512 507df6759deaf43c7973c8d9bb1faeffc22003308cd2fc4f73270eac9ba347e605093f55110b5c86170597eba4f2c80ea7d15b5ccab4b3d0b75dcef09203c09f WHIRLPOOL 639bfbfa02309778cba1e229900d2281f680584077672ce03a6d58094f58367375dd66b71eb9aea9dd3ce3d57f68fae171ae6a3456fc320376ebabea94f7fb83
+DIST realpath_1.17.tar.gz 17800 SHA256 214962d9c6e5a0a446d9cf3368bd1ab6cf2c209fbce1fe52e852763e70da984b SHA512 d4f8105e9256b140918dfa400eaac07bec9c29bced7284ab2a3a96282b13b59dca32ab0af38836dfe89dd4e3bf8b038ef4cf61a96d19951f46ac13264ceeec96 WHIRLPOOL a0b96eb70e5aa27fd76d1f4635de950c1adcac8ce3b2a9414fcd54df5df2b01818f3641b3fc049650a05373ffb45dad2a918bfe949fb057592338d9320b9f0a5
+DIST realpath_1.17_i386.deb 16372 SHA256 07f47353d2552aec26c679c32b2335302cd1fe54e5c1a290ec4b708fd1b0d104 SHA512 15704a27f3f140c4d69411bfd9c319e3205e7b70cccefdc5bec94ad10d6b6c6ad948c2fa51cf2ed69c8884928ba6dcb83a865185f3b010dc6eb343c2125c2118 WHIRLPOOL abf52c219d3b4f8a186bec4549d9e50f933924ea4676298b12c8da3373e3eb82dac301729153cb8ea427d5321ce4500c2872d55c9c83602abaf04392a1a8bbe1
+DIST realpath_1.18.tar.gz 17618 SHA256 e085f617874ef34453be553a2900c15969d78836ce6476b1c6382a69ea4f75de SHA512 98daa53b7a6d4b40ea3ff9ea89b7cb97782dd53f031e41a228a5aa8d2a41ae7920cbc1e2213f568098496e5c25da1381f08fb939f8668733a3c391f744fd16ed WHIRLPOOL c643e4098eb5474956cc4d1ada9a2676b3a494ece47fb2f298cc1a5aa1457d4b494476f65c55f131e4dd309a2ed12224f53071cc5e0863a9cc59b45137ec2526
+DIST realpath_1.18_i386.deb 16426 SHA256 e9b2103ed8b8041ea6c02e587242b18a4f4b4d4ee6d8c990b4969af1d688d1fd SHA512 fb2062041f8089a5ff07f76a9833e9d8bbe9560d72d4d5803c9524aeb782f9f4a135921b9984432ccfa361edc785a0f33785377ddf031a07ed316861a00a6f37 WHIRLPOOL e22ca8a14c1e329c8576001b325a96bf110eda8f82b368ee1bff7da35a68805a4fe19174f5518d6fd614f5c2df5c939b6316e4898e2f4ad75fd465413444fc13
+EBUILD realpath-1.17.ebuild 1922 SHA256 1578ca062559a73fd5ec1835fcb96f453b66d82375fb1198ed0aed7f76a1f3ea SHA512 579835cba0c03d19591f319471876b16e077b15a1992a58ff264fcc74d77633d889c04c6979a457300ea453b8053b102a415ad50af33aa019aaf9fae858af2a9 WHIRLPOOL feb981960ce8c5fb232d896581cdd84a724bab945bc44fbeb4d70dbac5be00a33c2154efdfcdf892b18f65ecb0c52cb019b2144adb4b51a0634452c315c088a4
+EBUILD realpath-1.18.ebuild 1945 SHA256 5385c05f63ccdf82c18feed07315135b997d866ec8825b1e97fc03a4f077de0f SHA512 62490cc44d6c749d6e541ca5696bef17185c38453e24180ab992a16f2ff7000db492ee15309593dc27394ea7ed8e14e3d9ddaa65764b6c824e5124e4921d7ca0 WHIRLPOOL 1b8e70563656a3dbea254cfe6bb5aeb6608930b636d95e8e2acf92cc58c9e817e00683591733565f28200b22dc17d1320822213fb09675bac5f5d95c00e96f38
+MISC ChangeLog 2829 SHA256 24ff85b7c97a62160efaeaca806c8ae4904fb1642b51afa4a5f154ca034a03dc SHA512 9edcc863abdd095357e40157b81215c50021691c1d7dd86b8a4c26ee6df05d3ca9b19839639dc562f99ba26f14c9bab622925ab100054fcf54c5578e44c5f5af WHIRLPOOL 96b386a43f4903263167b2311bacd99955667cf673193ae0d7b51b2e70bb0cc524a7fde471cee1b556fb29646672a9e2334d6cd06866427d5a04107152fc9092
+MISC ChangeLog-2015 11453 SHA256 f14a1ac211c30270a950c3983ace4e08b01da00e16b8312c5f5a43e128b4eb16 SHA512 949605dde2afda87221939e3f2d531a9c619ad12dbad64a0e7a9d18c4ad55ad2c024db1a5c76668e1979d66c4d6d5830bc67963d84a7adbc693e0945db9d0c46 WHIRLPOOL 6f5f578ca6b9ee79821d68ab56c884408c8357e69aaff612e2a72a18778a89573364136ef287a3714b70e8b41999f3ced47b5c826eef5063a784103cfd04bcbe
+MISC metadata.xml 437 SHA256 fe1856ea2979fb4e68509388fb1c0d5624741cd4f030aaaa8e63d46054dcf970 SHA512 db21930053e4af656fc8043dd5f60b8a78010aacb019435076db21c201fe0bafb4e742e347c430026991ff32819cb30c9e17819a302dc927c2b513301b5d06a1 WHIRLPOOL d7032d728a26f80621d9eb49d858d3799a43a6b21cac58d5142f8c37ad59dc15a284f9cf89a6c34ef0ba8eb254ec0066abba5d6423f60c9cfa551839a2035aa7
diff --git a/app-misc/realpath/files/realpath-1.14-no-po4a.patch b/app-misc/realpath/files/realpath-1.14-no-po4a.patch
new file mode 100644
index 000000000000..cfa780553646
--- /dev/null
+++ b/app-misc/realpath/files/realpath-1.14-no-po4a.patch
@@ -0,0 +1,12 @@
+Don't require po4a at build time.
+http://bugs.gentoo.org/269905
+
+--- realpath-1.14-orig/po/Makefile 2009-02-22 12:56:47.000000000 +0100
++++ realpath-1.14/po/Makefile 2009-05-19 23:45:26.000000000 +0200
+@@ -4,5 +4,5 @@
+ #
+
+ ALL_TARGET=
+-SUBDIRS=bin man
++SUBDIRS=bin
+ include ../common.mk
diff --git a/app-misc/realpath/files/realpath-1.15-prefix.patch b/app-misc/realpath/files/realpath-1.15-prefix.patch
new file mode 100644
index 000000000000..f9534641382f
--- /dev/null
+++ b/app-misc/realpath/files/realpath-1.15-prefix.patch
@@ -0,0 +1,39 @@
+diff --git a/common.mk b/common.mk
+index 2443a40..0a342ee 100644
+--- a/common.mk
++++ b/common.mk
+@@ -8,17 +8,19 @@ override TOPDIR := $(dir $(call getCurrentMakefileName))
+
+ override PACKAGE := realpath
+
+-PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH)
++#PATH := /usr/bin:/usr/sbin:/bin:/sbin:$(PATH)
++
++SHELL := @GENTOO_PORTAGE_EPREFIX@/bin/bash
+
+ # build abstraction
+-install_file := install -p -o root -g root -m 644
+-install_script := install -p -o root -g root -m 755
+-install_dir := install -d -o root -g root -m 755
++install_file := install -p -m 644
++install_script := install -p -m 755
++install_dir := install -d -m 755
+ install_link := ln -sf
+ compress := gzip -9f
+
+-prefix := /usr
+-etcdir := /etc/$(PACKAGE)
++prefix := @GENTOO_PORTAGE_EPREFIX@/usr
++etcdir := @GENTOO_PORTAGE_EPREFIX@/etc/$(PACKAGE)
+ bindir := $(prefix)/bin
+ sbindir := $(prefix)/sbin
+ mandir := $(prefix)/share/man
+@@ -33,7 +35,7 @@ webdocrootdir := /var/www
+ webcgidir := $(prefix)/lib/cgi-bin
+ applicationsdir := $(prefix)/share/applications
+
+-PERL := /usr/bin/perl
++PERL := @GENTOO_PORTAGE_EPREFIX@/usr/bin/perl
+ CC ?= gcc
+ CFLAGS += -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
+ LDFLAGS +=
diff --git a/app-misc/realpath/files/realpath-1.16-nonls.patch b/app-misc/realpath/files/realpath-1.16-nonls.patch
new file mode 100644
index 000000000000..d758d03ff89b
--- /dev/null
+++ b/app-misc/realpath/files/realpath-1.16-nonls.patch
@@ -0,0 +1,29 @@
+ src/realpath.c | 6 +-----
+ 1 files changed, 1 insertions(+), 5 deletions(-)
+
+diff --git a/src/realpath.c b/src/realpath.c
+index 76fc909..e2cf86f 100644
+--- a/src/realpath.c
++++ b/src/realpath.c
+@@ -23,10 +23,9 @@
+ #include <errno.h>
+ #include <getopt.h>
+ #include <stdarg.h>
+-#include <libintl.h>
+ #include <locale.h>
+
+-#define _(String) gettext (String)
++#define _(String) (String)
+
+ static char *stripdir(char * dir, char *buf, int maxlen);
+
+@@ -116,9 +115,6 @@ int main(int argc, char **argv) {
+
+ myname = ( p = strchr(argv[0], '/') ) ? p+1 : argv[0];
+
+- setlocale(LC_ALL, "");
+- bindtextdomain(PACKAGE, LOCALEDIR);
+- textdomain(PACKAGE);
+
+
+ parse_options(argc, argv);
diff --git a/app-misc/realpath/files/realpath-1.17-build.patch b/app-misc/realpath/files/realpath-1.17-build.patch
new file mode 100644
index 000000000000..c4a8b3dfc9b9
--- /dev/null
+++ b/app-misc/realpath/files/realpath-1.17-build.patch
@@ -0,0 +1,43 @@
+--- a/common.mk
++++ b/common.mk
+@@ -33,16 +33,9 @@
+ applicationsdir := $(prefix)/share/applications
+
+ PERL := /usr/bin/perl
+-CC := gcc
+-CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Werror -g -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
+-LIBS :=
+-
+-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+- CFLAGS += -O0
+-else
+- CFLAGS += -O2
+-endif
+-
++CC ?= gcc
++CFLAGS += $(CPPFLAGS) -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -DVERSION='"$(VERSION)"' -DPACKAGE='"$(PACKAGE)"' -DLOCALEDIR='"$(nlsdir)"'
++LIBS +=
+
+ # determine our version number
+ ifndef VERSION
+@@ -58,9 +51,6 @@
+ unexport CDPATH ENV
+
+ ifdef DESTDIR
+- ifneq ($(DESTDIR),$(abspath $(DESTDIR)))
+- $(error DESTDIR "$(DESTDIR)" is not an absolute path)
+- endif
+ override ddirshort := DESTDIR
+ export ddirshort
+ endif
+@@ -108,7 +99,9 @@
+ esac; fi;
+ endef
+ else
+- msg := :
++ define msg
++ :
++ endef
+ endif
+
+ msgprefix := *$(subst * ,*,$(wordlist 1,$(MAKELEVEL),* * * * * * * * * * * * * * * * * *))
diff --git a/app-misc/realpath/metadata.xml b/app-misc/realpath/metadata.xml
new file mode 100644
index 000000000000..b701221db411
--- /dev/null
+++ b/app-misc/realpath/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="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ The realpath utility finds the canonicalized absolute pathname of its
+ arguments in a similar way to readlink -f.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/realpath/realpath-1.17.ebuild b/app-misc/realpath/realpath-1.17.ebuild
new file mode 100644
index 000000000000..633e771f4bdf
--- /dev/null
+++ b/app-misc/realpath/realpath-1.17.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils toolchain-funcs flag-o-matic multilib prefix
+
+DESCRIPTION="Return the canonicalized absolute pathname"
+HOMEPAGE="http://packages.debian.org/unstable/utils/realpath"
+SRC_URI="
+ mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz
+ nls? ( mirror://debian/pool/main/r/${PN}/${PN}_${PV}_i386.deb )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="!sys-freebsd/freebsd-bin
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ elibc_mintlib? ( virtual/libiconv )"
+
+src_unpack() {
+ unpack ${PN}_${PV}.tar.gz
+
+ if use nls; then
+ # Unpack the .deb file, in order to get the preprocessed man page
+ # translations. This way we avoid a dependency on app-text/po4a.
+ mkdir deb
+ cd deb
+ unpack ${PN}_${PV}_i386.deb
+ unpack ./data.tar.gz
+ fi
+}
+
+src_prepare() {
+ use nls || epatch "${FILESDIR}"/${PN}-1.16-nonls.patch
+ epatch "${FILESDIR}"/${PN}-1.17-build.patch
+ epatch "${FILESDIR}"/${PN}-1.14-no-po4a.patch
+ epatch "${FILESDIR}"/${PN}-1.15-prefix.patch
+ eprefixify common.mk
+}
+
+src_compile() {
+ tc-export CC
+ use nls && use !elibc_glibc && append-libs -lintl
+ [[ ${CHOST} == *-mint* ]] && append-libs "-liconv"
+
+ local subdir
+ for subdir in src man $(usex nls po ''); do
+ emake MAKE_VERBOSE=yes VERSION="${PV}" -C ${subdir}
+ done
+}
+
+src_install() {
+ emake VERSION="${PV}" SUBDIRS="src man $(usex nls po '')" \
+ DESTDIR="${D}" install
+ newdoc debian/changelog ChangeLog.debian
+
+ if use nls; then
+ local dir
+ for dir in "${WORKDIR}"/deb/usr/share/man/*; do
+ [ -f "${dir}"/man1/realpath.1 ] || continue
+ newman "${dir}"/man1/realpath.1 realpath.${dir##*/}.1
+ done
+ fi
+}
diff --git a/app-misc/realpath/realpath-1.18.ebuild b/app-misc/realpath/realpath-1.18.ebuild
new file mode 100644
index 000000000000..34ce163c9a33
--- /dev/null
+++ b/app-misc/realpath/realpath-1.18.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib prefix toolchain-funcs
+
+DESCRIPTION="Return the canonicalized absolute pathname"
+HOMEPAGE="http://packages.debian.org/unstable/utils/realpath"
+SRC_URI="
+ mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz
+ nls? ( mirror://debian/pool/main/r/${PN}/${PN}_${PV}_i386.deb )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="
+ !sys-freebsd/freebsd-bin
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ elibc_mintlib? ( virtual/libiconv )"
+
+src_unpack() {
+ unpack ${PN}_${PV}.tar.gz
+
+ if use nls; then
+ # Unpack the .deb file, in order to get the preprocessed man page
+ # translations. This way we avoid a dependency on app-text/po4a.
+ mkdir deb
+ cd deb
+ unpack ${PN}_${PV}_i386.deb
+ unpack ./data.tar.gz
+ fi
+}
+
+src_prepare() {
+ use nls || epatch "${FILESDIR}"/${PN}-1.16-nonls.patch
+ epatch \
+ "${FILESDIR}"/${PN}-1.17-build.patch \
+ "${FILESDIR}"/${PN}-1.14-no-po4a.patch \
+ "${FILESDIR}"/${PN}-1.15-prefix.patch
+ eprefixify common.mk
+}
+
+src_compile() {
+ tc-export CC
+ use nls && use !elibc_glibc && append-libs -lintl
+ [[ ${CHOST} == *-mint* ]] && append-libs "-liconv"
+
+ local subdir
+ for subdir in src man $(usex nls po ''); do
+ emake MAKE_VERBOSE=yes VERSION="${PV}" -C ${subdir}
+ done
+}
+
+src_install() {
+ emake \
+ VERSION="${PV}" \
+ SUBDIRS="src man $(usex nls po '')" \
+ DESTDIR="${D}" \
+ install
+ newdoc debian/changelog ChangeLog.debian
+
+ if use nls; then
+ local dir
+ for dir in "${WORKDIR}"/deb/usr/share/man/*; do
+ [ -f "${dir}"/man1/realpath.1 ] || continue
+ newman "${dir}"/man1/realpath.1 realpath.${dir##*/}.1
+ done
+ fi
+}
diff --git a/app-misc/recoll/Manifest b/app-misc/recoll/Manifest
new file mode 100644
index 000000000000..de6026067a82
--- /dev/null
+++ b/app-misc/recoll/Manifest
@@ -0,0 +1,9 @@
+DIST recoll-1.22.4.tar.gz 2511949 SHA256 8211e1ccc6e576b0c21e5bfb4f49a0b69990a44bd5a3ce6eae4ff16aaf23412f SHA512 90d258c854972a41adbb3eef71b08d25c5aea24ed6fc830245d19e273112c016b66b0359e1d83143992d07b5a67226216e8f406ac135c21da6b86c7ffde31225 WHIRLPOOL 2dac2936e4c13448b6f8cb0c6d9d0d6d1d7c14b47a6761b6115762d734f91cfd8652186627b8ab55149c14ff5b00260838b0e62962f32ecbd4d2bef1f25e44ba
+DIST recoll-1.23.2.tar.gz 2546793 SHA256 0e93e6be0dc2225b03a4850887bd29da47a61e07652fde51be254ef9f8310048 SHA512 0f3d6bae73da066e92e328f963129979f43a12a622120c26d66debde66e569e19e3e8b61154ee77386ad93e968d88262d3e22a679b618bcb8bf468fa16a46769 WHIRLPOOL fec47a74d48c2ae0f93e56964bbfa53b62a0be7d57d602ddb36bb03cc2eb7293c4ffa589a967bc70a76e2478fb315f189cfdab72618a32439c357c1a440e9ff6
+DIST recoll-1.23.3.tar.gz 2590148 SHA256 15125871424ef32ac584eb1c3e4fdd4ac7ff32894db60a3ebff32fa7a45d2eb6 SHA512 bfad118dd9561c8d18e194b11d8014e2f9ea74f6aaf50f91704087775e6f72d5f3574a3eafe470dab7658cb4a7233817a672af939f21b3e69c719e599bc5cd06 WHIRLPOOL fe006f4bf53a83375c146cd0f162e030bcd59bbf8b931c428f9a697cb4d6af1ac873ecfd8d596b2b5e00d2374c4431dea7c1169091457a616894ce4417ac87cb
+EBUILD recoll-1.22.4.ebuild 3717 SHA256 93909cba1e1d92d62425468025150b75cb2da5abfab58c94dad8673ec25dd027 SHA512 9984c5feec2ab7110d32804ed5dcf7af5fd2b26e5589fd934a86628b46d155ca74b6c75e8ab82823d18ab0c9e3b82d13a187322043aa7ff5d9cc5e09731aadb0 WHIRLPOOL c8684a43fe5755dfb7b78c5a0284384f8987cfcdd026c64d84969ea2c54dd83c7d8da01ae1036ffd733fae1cc99d85a8a56c37aa8f9aaac635ab4791812dd74d
+EBUILD recoll-1.23.2.ebuild 3700 SHA256 35f0c38e34fc378b2ee1b09445ad413d8ae4d69346d752691c29acb839a3e13c SHA512 1f2c012f168607cfc18cafc6230b2ed291ff3fa814d458592b0c32360e52577223e73f0e17be329bce7f44743d26100b9ab61217072de24bd9edf077b28a22f4 WHIRLPOOL 72d64a6f4b4b51760b75a5aca583fe2787143c9365bdb80c4c1aa2fa83ceabccbc609775713318fcad4179d0d451f1c0e5414c5a2fbfe39ec3d49d85760e2e54
+EBUILD recoll-1.23.3.ebuild 3532 SHA256 159aa80e682ae06fa703d7324913ee947ee438b85507b98fdc33ed0382299bb5 SHA512 d28a2d1d5450b76c4aae35a7170a3b57fa7989e018ff2bcbafac6286dd7687dee3fdb31aad719e523bfbc43898198d5d860c022852e8059c91b9d11b2c866e71 WHIRLPOOL 48c135f9d66e565a6d762ade65eb7bdac3cb77b1f50d71aa46a68b79b91c74f84d07569476bc77f9dd3adc4a23935486d793eda5840f56bd31cd78e3bcc7043b
+MISC ChangeLog 3654 SHA256 ead067f32206ff72246fa30cfdd1fd3aec02ac845cd1d19b4015412cf1280ed1 SHA512 dd8afc9698cbb604a0384ed51c774dba62ed793557a68a13c66d08f5f7f395bffc454765097ee62624351ea529b707a15d311405fca31f164debbb9546d4488e WHIRLPOOL 8332b7fb3bb11f02bc82056efc8ee871fd2f15d76b9cc7b14ff57306d6c2b0f7d25b6bd7d77e8ba6245bcde14011b16c8b0e6f7af28d68c5646f001733d04973
+MISC ChangeLog-2015 4294 SHA256 1397dd74727b9437978825d22ecd8f3a0ce1c7d3b2a7845de2279f85418a78a5 SHA512 8ba136f2b9c5f80d8e22c2433df5503ed6adb7485d759520b7b9df672a4f3c484d38f5b7f5041e453c898d35b7f8cf4a59762a8d9d275e0a7c5b8d965635542f WHIRLPOOL 0b3dab192a24458d99d6b44abd1c3dc18b03b56bf8ab0c6c299f7176e01e4afcbb6afb00dd2798cfe18bbab25e4a18e98e932c26b3fc9224818fc708ba4560c3
+MISC metadata.xml 1204 SHA256 71f88da64d83fa51b9b41d28689b2da3b8d46e1864c19c656ed15812586b540e SHA512 581c483f1d64131cb7a83e9a899b5286f03cbacc3f011c5fcdb3236b56e2b22e1a0fa880b34bb107874fe03fde7f82767805bb7e2d0aa46367e8d5dca0037ea5 WHIRLPOOL fac18104695f77f5d934d831e4f0d48e5ad19b970081c7610ab042373c6abffc6e5f442aea803b07a49834849306793eb2cf72430a65271f1561d06ab27424d4
diff --git a/app-misc/recoll/metadata.xml b/app-misc/recoll/metadata.xml
new file mode 100644
index 000000000000..1e89b50bb67b
--- /dev/null
+++ b/app-misc/recoll/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ppurka@gmail.com</email>
+ <name>Punarbasu 'ppurka' Purkayastha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers Project</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>jfd@recoll.org</email>
+ <name>Jean-Francois Dockes</name>
+ </maintainer>
+ <bugs-to>https://bitbucket.org/medoc/recoll/issues</bugs-to>
+ </upstream>
+ <use>
+ <flag name="camelcase">Enable indexing for camelCase sentences and words</flag>
+ <flag name="inotify">Use the Linux Kernel notification subsystem for monitoring file alterations in realtime</flag>
+ <flag name="session">Stop monitoring file alterations when X11 session terminates</flag>
+ </use>
+ <longdescription lang="en">
+ Recoll is a desktop full-text search tool. It can search most document
+ formats. You may need external applications for text extraction. It
+ can reach any storage place: files, archive members, email attachments,
+ transparently handling decompression.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/recoll/recoll-1.22.4.ebuild b/app-misc/recoll/recoll-1.22.4.ebuild
new file mode 100644
index 000000000000..5e0fe2627c57
--- /dev/null
+++ b/app-misc/recoll/recoll-1.22.4.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils linux-info python-single-r1 qmake-utils
+
+DESCRIPTION="A personal full text search package"
+HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
+SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="camelcase doc +inotify qt4 qt5 session +spell"
+REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ dev-libs/xapian:=
+ sys-libs/zlib
+ virtual/libiconv
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ )
+ !qt5? ( qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ ) )
+ session? (
+ inotify? ( x11-libs/libSM x11-libs/libICE )
+ )
+ spell? ( app-text/aspell )
+ ${PYTHON_DEPS}
+"
+DEPEND="${COMMON_DEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+ app-arch/unzip
+ sys-apps/sed
+ virtual/awk
+"
+
+pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ check_extra_config
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang filters
+ default
+}
+
+src_configure() {
+ local qtconf
+ if use qt4 || use qt5; then
+ qtconf="--enable-qtgui"
+ if use qt5; then
+ export QT_SELECT=qt5
+ qtconf+=" --enable-webkit"
+ elif use qt4; then
+ export QT_SELECT=qt4
+ qtconf+=" --disable-webkit"
+ fi
+ else
+ qtconf="--disable-qtgui --disable-webkit"
+ fi
+
+ econf \
+ $(use_enable camelcase) \
+ $(use_enable session x11mon) \
+ $(use_with inotify) \
+ $(use_with spell aspell) \
+ ${qtconf} \
+ --without-fam \
+ --enable-recollq
+}
+
+src_install() {
+ emake STRIP="$(type -P true)" DESTDIR="${D}" install
+ prune_libtool_files
+
+ # html docs should be placed in /usr/share/doc/${PN}/html
+ use doc && dodoc "${ED}"/usr/share/recoll/doc/*
+ rm -r "${ED}/usr/share/recoll/doc" || die
+}
+
+pkg_postinst() {
+ einfo "In order to extract the full functionality of "
+ einfo "recoll, the following packages should be installed "
+ einfo "to get the corresponding document support."
+
+ optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
+ optfeature "PDF files support" app-text/poppler
+ optfeature "PDF files with OCR support" app-text/tesseract
+ optfeature "MS Word files support" app-text/antiword
+ optfeature "Wordperfect files support" "app-text/libwpd[tools]"
+ optfeature "Lyx files support" app-office/lyx
+ optfeature "CHM files support" dev-python/pychm
+ optfeature "GNU Info files support" sys-apps/texinfo
+ optfeature "RAR archives support" dev-python/rarfile
+ optfeature "7zip archives support" dev-python/pylzma
+ optfeature "iCalendar files support" dev-python/icalendar
+ optfeature "Postscript files support" app-text/pstotext
+ optfeature "RTF files support" app-text/unrtf
+ optfeature "TeX files support" dev-text/detex
+ optfeature "DVI files support" virtual/tex-base
+ optfeature "DJVU files support" app-text/djvu
+ optfeature "tags in audio files support" media-libs/mutagen
+ optfeature "tags in image files support" media-libs/exiftool
+ optfeature "Midi karaoke files support" dev-python/chardet
+}
diff --git a/app-misc/recoll/recoll-1.23.2.ebuild b/app-misc/recoll/recoll-1.23.2.ebuild
new file mode 100644
index 000000000000..c17511e06209
--- /dev/null
+++ b/app-misc/recoll/recoll-1.23.2.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit linux-info python-single-r1 qmake-utils
+
+DESCRIPTION="A personal full text search package"
+HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
+SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="camelcase doc +inotify qt4 qt5 session +spell"
+REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+ dev-libs/xapian:=
+ sys-libs/zlib
+ virtual/libiconv
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ )
+ !qt5? ( qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ ) )
+ session? (
+ inotify? ( x11-libs/libSM x11-libs/libICE )
+ )
+ spell? ( app-text/aspell )
+ ${PYTHON_DEPS}
+"
+
+DEPEND="
+ ${CDEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+
+RDEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ sys-apps/sed
+ virtual/awk
+"
+
+pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ check_extra_config
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang filters
+ default
+}
+
+src_configure() {
+ local qtconf
+ if use qt4 || use qt5; then
+ qtconf="--enable-qtgui"
+ if use qt5; then
+ export QT_SELECT=qt5
+ qtconf+=" --enable-webkit"
+ elif use qt4; then
+ export QT_SELECT=qt4
+ qtconf+=" --disable-webkit"
+ fi
+ else
+ qtconf="--disable-qtgui --disable-webkit"
+ fi
+
+ econf \
+ $(use_enable camelcase) \
+ $(use_enable session x11mon) \
+ $(use_with inotify) \
+ $(use_with spell aspell) \
+ ${qtconf} \
+ --without-fam \
+ --enable-recollq
+}
+
+src_install() {
+ emake STRIP="$(type -P true)" DESTDIR="${D}" install
+ prune_libtool_files
+
+ # html docs should be placed in /usr/share/doc/${PN}/html
+ use doc && dodoc "${ED}"/usr/share/recoll/doc/*
+ rm -r "${ED}/usr/share/recoll/doc" || die
+}
+
+pkg_postinst() {
+ einfo "In order to extract the full functionality of "
+ einfo "recoll, the following packages should be installed "
+ einfo "to get the corresponding document support."
+
+ optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
+ optfeature "PDF files support" app-text/poppler
+ optfeature "PDF files with OCR support" app-text/tesseract
+ optfeature "MS Word files support" app-text/antiword
+ optfeature "Wordperfect files support" "app-text/libwpd[tools]"
+ optfeature "Lyx files support" app-office/lyx
+ optfeature "CHM files support" dev-python/pychm
+ optfeature "GNU Info files support" sys-apps/texinfo
+ optfeature "RAR archives support" dev-python/rarfile
+ optfeature "7zip archives support" dev-python/pylzma
+ optfeature "iCalendar files support" dev-python/icalendar
+ optfeature "Postscript files support" app-text/pstotext
+ optfeature "RTF files support" app-text/unrtf
+ optfeature "TeX files support" dev-text/detex
+ optfeature "DVI files support" virtual/tex-base
+ optfeature "DJVU files support" app-text/djvu
+ optfeature "tags in audio files support" media-libs/mutagen
+ optfeature "tags in image files support" media-libs/exiftool
+ optfeature "Midi karaoke files support" dev-python/chardet
+}
diff --git a/app-misc/recoll/recoll-1.23.3.ebuild b/app-misc/recoll/recoll-1.23.3.ebuild
new file mode 100644
index 000000000000..46cc6b8c55e3
--- /dev/null
+++ b/app-misc/recoll/recoll-1.23.3.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit linux-info python-single-r1 qmake-utils
+
+DESCRIPTION="A personal full text search package"
+HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
+SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="camelcase doc +inotify qt5 session +spell"
+REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+ dev-libs/xapian:=
+ sys-libs/zlib
+ virtual/libiconv
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ )
+ session? (
+ inotify? ( x11-libs/libSM x11-libs/libICE )
+ )
+ spell? ( app-text/aspell )
+ ${PYTHON_DEPS}
+"
+
+DEPEND="
+ ${CDEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+
+RDEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ sys-apps/sed
+ virtual/awk
+"
+
+pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ check_extra_config
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang filters
+ default
+}
+
+src_configure() {
+ local qtconf
+ if use qt5; then
+ export QMAKE="$(qt5_get_bindir)/qmake"
+ qtconf="--enable-qtgui --enable-webkit"
+ else
+ qtconf="--disable-qtgui --disable-webkit"
+ fi
+
+ econf \
+ $(use_enable camelcase) \
+ $(use_enable session x11mon) \
+ $(use_with inotify) \
+ $(use_with spell aspell) \
+ ${qtconf} \
+ --without-fam \
+ --enable-recollq
+}
+
+src_install() {
+ emake STRIP="$(type -P true)" DESTDIR="${D}" install
+ prune_libtool_files
+
+ # html docs should be placed in /usr/share/doc/${PN}/html
+ use doc && dodoc "${ED}"/usr/share/recoll/doc/*
+ rm -r "${ED}/usr/share/recoll/doc" || die
+}
+
+pkg_postinst() {
+ einfo "In order to extract the full functionality of "
+ einfo "recoll, the following packages should be installed "
+ einfo "to get the corresponding document support."
+
+ optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
+ optfeature "PDF files support" app-text/poppler
+ optfeature "PDF files with OCR support" app-text/tesseract
+ optfeature "MS Word files support" app-text/antiword
+ optfeature "Wordperfect files support" "app-text/libwpd[tools]"
+ optfeature "Lyx files support" app-office/lyx
+ optfeature "CHM files support" dev-python/pychm
+ optfeature "GNU Info files support" sys-apps/texinfo
+ optfeature "RAR archives support" dev-python/rarfile
+ optfeature "7zip archives support" dev-python/pylzma
+ optfeature "iCalendar files support" dev-python/icalendar
+ optfeature "Postscript files support" app-text/pstotext
+ optfeature "RTF files support" app-text/unrtf
+ optfeature "TeX files support" dev-text/detex
+ optfeature "DVI files support" virtual/tex-base
+ optfeature "DJVU files support" app-text/djvu
+ optfeature "tags in audio files support" media-libs/mutagen
+ optfeature "tags in image files support" media-libs/exiftool
+ optfeature "Midi karaoke files support" dev-python/chardet
+}
diff --git a/app-misc/regex-markup/Manifest b/app-misc/regex-markup/Manifest
new file mode 100644
index 000000000000..c6abc43b9bb7
--- /dev/null
+++ b/app-misc/regex-markup/Manifest
@@ -0,0 +1,6 @@
+AUX regex-markup-0.10.0-locale.patch 646 SHA256 faad155bba38c6fbb5f49adbf1fc1aac20763da4f1909d42851d6bb6642bfd8d SHA512 d1d181950c1aef34df631f5a9143163e62bbb5171bbcfac7099998e7e658952ae19181e37e95b1d6f2e65cec34ce23d2aa0894cd93e8b4a84f0410d751c36177 WHIRLPOOL cef77bbb3874a16ca969c4af96aa1e22e2adc8709d90552a34c280a9f229096f243843da620abc114b4126665dd132fcc65f8df0b12e7d75b999e28a57a7c8db
+DIST regex-markup-0.10.0.tar.gz 424480 SHA256 879f0af7622c1eb2d1b7c5f7d0ec53ea96fd48b05bc4f4c17542a2ea17fafba5 SHA512 fddb43b41771e5f75a140798304023087931da383cdee0b6fa9c0bd867e9e5280f484bc6182960c08993d91963de22fa9f0052e867a58067dfc39d9b761e0e9f WHIRLPOOL 2ec2c4c207437aafaab620b23d5f0e287211283615699e824ebc52f82245a8e25454b0b0801bfb063ba5b765b8bc722798baca83ce7e91c3895701ddc8e7d1a3
+EBUILD regex-markup-0.10.0-r1.ebuild 675 SHA256 2c2a77e3bf013fcf4a7edf3a345c7339eab34c1bb103ac2caa5b302b735ab099 SHA512 b41ef5ef2f0b7d2037dccb5fb2493e5c827e55b8cd9da4da2f7a0a482906e9b3021b9435af7b696664a66b62e7643eb5b1b2afef3c6d970298263437d817f234 WHIRLPOOL b9a160a8d69c9890504e0e7ff9e54ed18450a006aa36299d9014a331e22dabdc426cf8a3d42da47a5f2077e42a66204f3266d608872c239b30c20c4b37e36285
+MISC ChangeLog 2990 SHA256 ed5d47e647e26b5ccf492e8a285c61e0f5336894bee1e5c20c340e7bcb94d156 SHA512 861493411a2a17c74df16974b6543bfa78c5848907801ed01937bf6e4ac7f63988802fa9f819c98735f0c8e6ec5f63d6ff5fed607de8c61eac26549fe84149d5 WHIRLPOOL 4eb7af01e3438b41286c0bb2d382a98440e2f671902632698eb6fe244dcd8a441e25fad0c2c1609bbd19b7fcbb8dfd6281762fb6f9c4de1c442bc7472cb1dde7
+MISC ChangeLog-2015 1850 SHA256 609726d64fa3e29800aaa1fbab33373c09d82d00f3f96bd91b26e119db09d784 SHA512 65ab9e8ae36f056036c5526c78ec21c3205cf3e5d0ab54bbaa051da73cd29039f6a0ce404046138ed7906e0f2199e507ac6331f7ef93c32e1dd0bcb482b82e6a WHIRLPOOL 0fc227e5fd45a4e87d9878b1c6d6a266a0ff9e8b6c85b01ac459951f03af756b700d1fdb5e343e55d7dab9b4278798aefc2ba4e33cf9d5f72f4acdf71e30e00a
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch b/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch
new file mode 100644
index 000000000000..be9c74a66ceb
--- /dev/null
+++ b/app-misc/regex-markup/files/regex-markup-0.10.0-locale.patch
@@ -0,0 +1,29 @@
+ src/cacheline.c | 2 ++
+ src/remark.c | 1 +
+ 2 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/src/cacheline.c b/src/cacheline.c
+index 8c6f97b..f395c60 100644
+--- a/src/cacheline.c
++++ b/src/cacheline.c
+@@ -27,6 +27,8 @@
+ #include "getline.h" /* Gnulib/GNU Libc */
+ #include "version-etc.h" /* Gnulib */
+
++#include <locale.h>
++
+ enum {
+ HELP_OPT = 256,
+ VERSION_OPT
+diff --git a/src/remark.c b/src/remark.c
+index dcf8327..8998112 100644
+--- a/src/remark.c
++++ b/src/remark.c
+@@ -44,6 +44,7 @@
+ #include "common/intutil.h"
+ /* regex-markup */
+ #include "remark.h"
++#include <locale.h>
+
+ #define PROGRAM "remark"
+
diff --git a/app-misc/regex-markup/metadata.xml b/app-misc/regex-markup/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/regex-markup/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild b/app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild
new file mode 100644
index 000000000000..042bcb70aa2d
--- /dev/null
+++ b/app-misc/regex-markup/regex-markup-0.10.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="A tool to color syslog files as well"
+HOMEPAGE="http://www.nongnu.org/regex-markup/"
+SRC_URI="https://savannah.nongnu.org/download/regex-markup/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="examples nls"
+
+PATCHES=(
+ "${FILESDIR}/${P}-locale.patch"
+)
+
+src_configure() {
+ # fix #570960 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+
+ econf \
+ --enable-largefile \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+ if use examples; then
+ cd examples || die
+ emake -f Makefile
+ fi
+}
diff --git a/app-misc/regionset/Manifest b/app-misc/regionset/Manifest
new file mode 100644
index 000000000000..aef4fbb8d1d9
--- /dev/null
+++ b/app-misc/regionset/Manifest
@@ -0,0 +1,7 @@
+DIST regionset-0.1.tar.gz 17095 SHA256 acb6f2ae259750fa4db5b9f7b64ae83d9d7ac6ad96b070d976ef1ef2a660a6d5 SHA512 19e1a681f6acc9f7da064432f893cd6736e3b54e5f0187025b9702a7301a982bc2f3948604e3bc9f7f15b20feb0dbc0424ad9727790cddb448b89189c1ce18c3 WHIRLPOOL 771d57b28a5045f15bb235135670cfc095a17045684bec5d9307c5a3bf81428f7ea528e75f99c67462b273b9cd60cac1d71db1abc0fb95c4a9bae0d18ce0ba62
+DIST regionset-0.2.tar.gz 19063 SHA256 0d5c86656efbb6c2efdeed730cff8e5109bd075139ce55542072cbda0ad2f7b9 SHA512 7d7fa92a2031a1d18032ba0979fe0ee27ff84c02977dc03df394383a2d562925b38eedfd478ee08d60e84de60914278f7880c10a43552345fe36af0c0fee6431 WHIRLPOOL 535699b2b35ea21bee4f71fd353bf3245ced1eb6a6e4377f6ec1e900bf802e62134b22d9d0d0a880a99d9f96decf5d70f37892aefa2a44c39e803a9ee5545f9b
+EBUILD regionset-0.1-r1.ebuild 945 SHA256 658a90589ecd6917769ec13f2ca70ec6755851b849fb74dcb7d9ffd3c7a916e1 SHA512 b41176ef36842aaa5bbeec7569a0232513c463cbc943f0a14bad7cdc7b0b007e4fa32fe1d8814185013f751ffa7bf77f89390133f58950a7faee2b6e6a08f0dd WHIRLPOOL c451aba102cc38369ba4ab5e40b2708d3090c23e6d81b0c8d79ce61be3590d72b29a2935e22a2360f4b55dfcf6f303214f6fd129a904cd4e8246fc5c39a96441
+EBUILD regionset-0.2.ebuild 1016 SHA256 88d5458fe0bdc9c0a87fd57b062c123276bf834c19a6d5a76e7bc18cff5e01ac SHA512 86872981507ff18ede36d80307b913ae614bd0ea586ddb78c55820c86dadbb7d4abc0de2f370a9b4c18d751f92ee79749f22c442a5c7837650c9d41d5a560d83 WHIRLPOOL 6181e15a50e277f904973bd7cd08e00bfe1ce7d385a11b8c5f2a67f0e712731fb6866ae63d75d3c71dbb8be3ccbbf5b6748e2ebaf000bafce8899d357a945ba7
+MISC ChangeLog 2516 SHA256 971456d30b75129e1a96c40aefdd860a057f86c306872057fe3e4cc59e3ec3f0 SHA512 ca009f6e046cdcd99a760c40022e8e3a965d08452907f65d09523f0a7aa46113ce9b57411fb233c5cd172eac08034c3741228c25048f2bde5757fc4b054be578 WHIRLPOOL 24075c73f1fb9efcf85fc3d143e2012507cd2d165d01fcc934f01bb75ada9335f6f9259f888b0c452367f518f1d9d2fdb3d6a1b0e6dd76cf364cb5f60c3d0888
+MISC ChangeLog-2015 1678 SHA256 f3eab4b52757858b8515d023287e3b25be501ca52c663a1521d33f8c34475b7d SHA512 f5373b1306231ae8a99d33155f18bd3690c1b6641477447447f0a3049eb3ad36a3575a890f3fe8777c1f704449e1f57fa1451798d53c8526e5b78d5213d53a6a WHIRLPOOL 0e191d77d20769933e506a1b89f2c214a3bccf29f222a4bba169103994c131cf07b1fe54f9a7d70f044939f470c785dbc46c688ac06b111d0d78ba41fb319f3b
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/regionset/metadata.xml b/app-misc/regionset/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/regionset/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/regionset/regionset-0.1-r1.ebuild b/app-misc/regionset/regionset-0.1-r1.ebuild
new file mode 100644
index 000000000000..5622745866fe
--- /dev/null
+++ b/app-misc/regionset/regionset-0.1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Sets the region on DVD drives"
+HOMEPAGE="http://linvdr.org/projects/regionset/"
+SRC_URI="http://linvdr.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c dvd_udf.c || die
+}
+
+src_install() {
+ dosbin regionset || die
+ dodoc ChangeLog README || die
+}
+
+pkg_postinst() {
+ ewarn "By default regionset uses /dev/dvd, specify a different device"
+ ewarn "as a command line argument if you need to. You need write access"
+ ewarn "to do this, preferably as root."
+ ewarn
+ ewarn "Most drives can only have their region changed 4 or 5 times."
+ ewarn
+ ewarn "When you use regionset, you MUST have a cd or dvd in the drive"
+ ewarn "otherwise nasty things will happen to your drive's firmware."
+}
diff --git a/app-misc/regionset/regionset-0.2.ebuild b/app-misc/regionset/regionset-0.2.ebuild
new file mode 100644
index 000000000000..d62975136dbf
--- /dev/null
+++ b/app-misc/regionset/regionset-0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Sets the region on DVD drives"
+HOMEPAGE="http://linvdr.org/projects/regionset/"
+SRC_URI="http://linvdr.org/download/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_prepare() {
+ sed "/^\.IR/s@${PN}@${PF}@" -i ${PN}.8 || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c dvd_udf.c || die
+}
+
+src_install() {
+ dosbin ${PN}
+ doman ${PN}.8
+ dodoc debian/changelog README
+}
+
+pkg_postinst() {
+ ewarn "By default regionset uses /dev/dvd, specify a different device"
+ ewarn "as a command line argument if you need to. You need write access"
+ ewarn "to do this, preferably as root."
+ ewarn
+ ewarn "Most drives can only have their region changed 4 or 5 times."
+ ewarn
+ ewarn "When you use regionset, you MUST have a cd or dvd in the drive"
+ ewarn "otherwise nasty things will happen to your drive's firmware."
+}
diff --git a/app-misc/remind/Manifest b/app-misc/remind/Manifest
new file mode 100644
index 000000000000..40619c0b430c
--- /dev/null
+++ b/app-misc/remind/Manifest
@@ -0,0 +1,5 @@
+DIST remind-03.01.15.tar.gz 363101 SHA256 8adab4c0b30a556c34223094c5c74779164d5f3b8be66b8039f44b577e678ec1 SHA512 335f3ca88237f1ae53768b9ecdeb03f0bb1e706a8afd3ba36121ec76048a08fbc0d5ec72b05e552394b4cf2131be335c49533e1212b7e713ef16002a0621fc84 WHIRLPOOL 523d5d413586d6bc80d6714c5b5e9064b2162c29450298a19fd056b7542fdbbd8ae722c2b78f6c0e96d601d7ad6ad382c9b15a6d40609de66970250a50f2eb7f
+EBUILD remind-03.01.15.ebuild 984 SHA256 93c5e498e4a69142e8374b63a43be452d1d1f82d9e223b5aa4c0241fb1b2bf6f SHA512 ccb506515eb89d8e29208e2a24f983d95f091f379c84c42a965f66422abcc09652be5585090477af8cd8ffc917e91d0fed976637b3bb17e1ba8ded2a045844e1 WHIRLPOOL ad884371247a8d764c1943193cb8311fa2a633e8083d584a96504c4ff5286b1c99ea6312836f208c2d640e5217508d59c785c45167ffe2e381148014962ba8cb
+MISC ChangeLog 2868 SHA256 4ca5fcacb9ed42d6efbf4b94be0ab02b4895c96f818b0427d22731e48957dcbb SHA512 ea7de4af43ddf7cb643fcc534789372b6e94963a7e23a07891e72a3ec55416028de68bf0187b8fed64528c4eb8667d3db5b3b018d4e98dba67d461ec089758ef WHIRLPOOL bd9413c6b1e42d594c0b3a74dd314ffb52941e28fa64d20460aa2e692db652b90f81461e00bcfba306d5fcfec5f8fb889a87397cd0a6ed0092deab195c73672b
+MISC ChangeLog-2015 9305 SHA256 37f47f091096ddddcb58c7bef8a881617c293aa8ee7b50868e2b2927e749107b SHA512 c823f0ee2476e1a031d3a56c3b3ca4b0e58df8cec4e48345e2d612281b628dbc537bf252c7eccc0bb354692872adb25bef574c54cb452efe477b3397630e908d WHIRLPOOL d140e56ad080d6b62f227875bfecfd6a64af8ec880711890c48bab01c070800b6f55d08fa57ce1a7adb0d040681e6c6c2d5bd164cc168514e135d3f0ec9917f1
+MISC metadata.xml 282 SHA256 ac9236162462e1562a26e596e7dd457a448f9367ff1a5a27ec3513ecade3026b SHA512 06c94ffb49c985c4344b170b902427ca9ce0c23b6d68330af227ab1771794f8e8b6d0ef75b5f69293c8ef0d3264c8799e1389ccdf8dfbe7c665c6477c07479e4 WHIRLPOOL 615c807081b4bef1734f1dbf9a182cb27b7de0e9bcdebd880c6b9c1ab01b95721076ddc4b4e75e93b8f777020bfd52459e9e4b1a9deb41baacc44f6cde05fd36
diff --git a/app-misc/remind/metadata.xml b/app-misc/remind/metadata.xml
new file mode 100644
index 000000000000..bc1b97e1eb76
--- /dev/null
+++ b/app-misc/remind/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/remind/remind-03.01.15.ebuild b/app-misc/remind/remind-03.01.15.ebuild
new file mode 100644
index 000000000000..a1ad5d91383c
--- /dev/null
+++ b/app-misc/remind/remind-03.01.15.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Ridiculously functional reminder program"
+HOMEPAGE="http://www.roaringpenguin.com/products/remind"
+SRC_URI="http://www.roaringpenguin.com/files/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="tk"
+
+RDEPEND="tk? ( dev-lang/tk dev-tcltk/tcllib )"
+
+DOCS="docs/WHATSNEW examples/defs.rem www/README.*"
+
+src_prepare() {
+ sed -i 's:$(MAKE) install:&-nostripped:' "${S}"/Makefile || die
+}
+
+src_test() {
+ if [[ ${EUID} -eq 0 ]] ; then
+ ewarn "Testing fails if run as root. Skipping tests."
+ else
+ emake test
+ fi
+}
+
+src_install() {
+ default
+ dobin www/rem2html
+
+ if ! use tk ; then
+ rm "${D}"/usr/bin/tkremind "${D}"/usr/share/man/man1/tkremind* \
+ "${D}"/usr/bin/cm2rem* "${D}"/usr/share/man/man1/cm2rem*
+ fi
+
+ rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
+ insinto /usr/share/${PN}
+ doins -r contrib/
+}
diff --git a/app-misc/reptyr/Manifest b/app-misc/reptyr/Manifest
new file mode 100644
index 000000000000..683bb06381d8
--- /dev/null
+++ b/app-misc/reptyr/Manifest
@@ -0,0 +1,6 @@
+DIST reptyr-0.6.2-sysmacros.patch 598 SHA256 2130765b7a60f60f2ac13a541eebb81d7b0d193e0b8875182b855f5be391a85f SHA512 2d6c711a1d1268557925d15cf5d8154bc4ce47b5475ad05a5d358fd94a882991f33a8d99608e511d15dea6c08dcac615467f52bedb46330868540b03302e0cc9 WHIRLPOOL e9013e2b3b75283cb3491da439eca04e0a2c321f5c87ef8a8765bb69b1f110e8fc78e9878a496bbc8f7f33eff20c4bea73fe6ccd4a650ba147115124efb744ba
+DIST reptyr-0.6.2.tar.gz 28533 SHA256 c73de510eeedc37a0aac63ea4be9a3c841bbbda029232f871b15d53733a0ee1e SHA512 ad0b378d3c30bbfaa30dfcc06c405c375c7e9bcc3bae2e7fb97b8c3f88f482f461c9c846df0064cc842149b07b8a6b616d95f74cdf38f1b2a5011f6b9328c327 WHIRLPOOL 47cd5ffb5f0b02df218a8af67c0458e9b69bce5172d30f36a692418437363a585ab345e556de034703ca5ac9826a8bd086b85aa492050551e9204a99700fd1fb
+EBUILD reptyr-0.6.2.ebuild 952 SHA256 82ad51e4355f277683266dc028fa8cb0360985e9824404e4d644f4835a9bdc2e SHA512 6b70da39e56db290e52af8589437452214f458e8d28487f796000ddb4036427a798f0b38f4766860e3fc0cabdc26248823d18deb78ce80ac9a073a0b4d0cb57d WHIRLPOOL dfae4324aa7502f5a926c6f2e9008c41645e343a4903a4d351602322be3c960bd0ad2d429ec937286b5b8ef0be185bdab77c4124a2f8163d72d2cc331c6eb711
+MISC ChangeLog 3588 SHA256 9db33ccbe63d511af23d2e95f9b06eae1c2d897a805355b947455b3bbd331fd9 SHA512 f536af51862e0ffa9b20b4fa796b95bfd6318fd9910e92bb63a3eed285d5388293b52115041b52d460381ea0a34f09cbe8488df6e112c0025d5194a537cc4bb6 WHIRLPOOL decd01067138c828cd32a3041a8a4d350332f597cb7c66e94ec5a10d58104943e3a1c26166d0db14b183858cb9fa412347b1a5e338aab03de01aa83953ca5bf0
+MISC ChangeLog-2015 2173 SHA256 426163f201b8f48e6c9dc23ddf0e0ae068f9719bcaa5bcc4f714a0258fc0fb09 SHA512 bb37cedd777baede1efabe7b719ad2d1de15a7b274416ceb566aa803d02d6236c36891b8072825670e44d97335156d687607e2a0ae3ee20e41d214e541e66144 WHIRLPOOL d4e4b8115a530d706b5626068be0a23034a625694cf5e72daa626e170a3c927e48f6d76d9f8bfc8536a01ae3a05ed6dd11f2f6155d6e7e36e88d1642b505036f
+MISC metadata.xml 472 SHA256 7aa3ad7e8594846b548164deb67fce3801c2594b9deadb4c22efcf83b983f8ba SHA512 6b0c72aca4cc7c33cc37aa366292889fb6907d10c6e31bb140c98b30b1bde79a81dd188d5b2b5a1eb338ca8ebb41d05c2fe9d5158d780fa4cf3ea772476166ff WHIRLPOOL 1fd43fc262804673f4b2174870ac69532992f272a935a824f0e12d7e6bbf4704f5cf774d4dc82b0d6f2c449b83d931a935623e96642a9961dd450fbf446e6541
diff --git a/app-misc/reptyr/metadata.xml b/app-misc/reptyr/metadata.xml
new file mode 100644
index 000000000000..c5eb1454b5dd
--- /dev/null
+++ b/app-misc/reptyr/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nelhage/reptyr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/reptyr/reptyr-0.6.2.ebuild b/app-misc/reptyr/reptyr-0.6.2.ebuild
new file mode 100644
index 000000000000..40892b3d1a67
--- /dev/null
+++ b/app-misc/reptyr/reptyr-0.6.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic vcs-snapshot
+
+DESCRIPTION="A utility to attach a running program to a new terminal"
+HOMEPAGE="https://github.com/nelhage/reptyr"
+SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
+
+RESTRICT="test"
+
+# https://github.com/nelhage/reptyr/issues/81
+SRC_URI+=" https://github.com/nelhage/reptyr/commit/b45fd9238958fcf2d8f3d6fc23e6d491febea2ac.patch -> ${PN}-0.6.2-sysmacros.patch"
+
+PATCHES=(
+ "${DISTDIR}/${P}-sysmacros.patch" #581974
+)
+
+src_prepare() {
+ default
+ # respect CFLAGS
+ sed -i '/^override/d' Makefile || die
+}
+
+src_compile() {
+ append-cppflags -D_GNU_SOURCE
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ dodoc ChangeLog NOTES README.md
+}
diff --git a/app-misc/resolve-march-native/Manifest b/app-misc/resolve-march-native/Manifest
new file mode 100644
index 000000000000..45f789f4363a
--- /dev/null
+++ b/app-misc/resolve-march-native/Manifest
@@ -0,0 +1,6 @@
+DIST resolve-march-native-0.9.2.tar.gz 7729 SHA256 30be9907238bc9e0b19fb6680daa7cf0a1cc699712b91b5326187f724c344c1e SHA512 918290cf0858c16f4a3730aa169768782af9f329a901e70db944172bc47c78ea18c07c448742a0c0c611951a3f50dee85cd6ffe8aba407cd40eef6f5e28c5b29 WHIRLPOOL e1ded9490d9818f3785a261212d766d0eba17dca0de77e8c2a838bd51835a63fc25ad0bb04096560bcf6bad421e48d46e76b2f4a52a6f2c0e71c6f8584ca16af
+DIST resolve-march-native-0.9.tar.gz 7688 SHA256 b8e0efd881fca5dfe200e3c9767b1948265ca5e4daf8169332a941f8184c713f SHA512 2079153a1d7f8f352baa1a0000d9e120d976bca8cef2a81dde85ba1689a260fb899c8b6d97f9cd79dda41c5b67b9fe76bfdf0fc5bc88ef09d2915a29f3ed33e2 WHIRLPOOL c46f233eb59b284dd5262026ea83974bdb0825e8b797087a89ac7249542a478624da8e9540cf92869dbc41afb62fdb5e3623a1ec4fa5aa18354d770daf4be832
+EBUILD resolve-march-native-0.9.2.ebuild 491 SHA256 30008918c88e22635fe0cd29c414c1def2e3077816295c644136366da73ed895 SHA512 89db7310c9d19da8c0503b79f5494c43754e9bfc86f111784eef1823bf2da113ab0e3f9197b9fb8ca27786d59ed7b299d765f255eddcbc322ba44992fb94a5d2 WHIRLPOOL be6f4fd6b1688afe5877cbcfa52600c176e879e0fa68b6715a45e16b18cbfc4a4af544e12b082270115b54cbdbb2de02b11b2fb5c9408fb672dd42c7ffe6672a
+EBUILD resolve-march-native-0.9.ebuild 442 SHA256 da73ee27656d443a6fad9b134107879a02e6a08ffb607e0f7c024871ebb4e4e2 SHA512 399cd94d773ec28b5dd53961c290aa6a9c5a0a99c089df3f4e348cc877876f0b0c0560a97eaebca104c954b61108a510f71060909dd9f11d003e0beef248b24f WHIRLPOOL d8639f8780a07ecdb7f282702d696d461503d21828a8bad536e1c4c686f40d5cfcb10e68334cffee94f211b4e43842f569883a10477a17677bcb80bbc94e464d
+MISC ChangeLog 1652 SHA256 65c1432151f7be54992aad330be9a1d88d7a6c884fd0af1d47640e386a91366e SHA512 b3e4e9d82244c7521b6cac84f8a0f7fc5399c75ff9b21d8438c3f2a8837bab4de21e2ddfaf4289f2532e8bf0ec6270742d7591c4e233cedc3aeeca44f2a7bc20 WHIRLPOOL 97636da3f3a532f7c1e2cac87252148ed2bf2546efec36ddd7d2387213fba4a9e8905db52ab21c3c5e47afa837ae3042180b146cfcccd38db6052f155cd87ea7
+MISC metadata.xml 343 SHA256 3af8030670cdce1e3c80b42e88e275b747e50bddaaf9f592e412865814965f2f SHA512 46c1ae61e1cadebfbca360b2729a957c9b2830f502ecc559cee6de1e46de3526788eb5d53cdcfab173a55a575ba3f1b8d0da58baae2027d7815d53f4ba67b813 WHIRLPOOL 0e3ff27a1b2f5e36d698a258a267616c97226a4e50f255bb44cedfe9d617c98bceb2bfe02f483826ee77d822ed5c2f4fb394f98e8d5f5639583d2fa63ebd23a7
diff --git a/app-misc/resolve-march-native/metadata.xml b/app-misc/resolve-march-native/metadata.xml
new file mode 100644
index 000000000000..2d6024f35e29
--- /dev/null
+++ b/app-misc/resolve-march-native/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">hartwork/resolve-march-native</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/resolve-march-native/resolve-march-native-0.9.2.ebuild b/app-misc/resolve-march-native/resolve-march-native-0.9.2.ebuild
new file mode 100644
index 000000000000..ed6234409b19
--- /dev/null
+++ b/app-misc/resolve-march-native/resolve-march-native-0.9.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Resolve GCC flag -march=native"
+HOMEPAGE="https://github.com/hartwork/resolve-march-native"
+SRC_URI="https://github.com/hartwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=">=sys-devel/gcc-4.2"
diff --git a/app-misc/resolve-march-native/resolve-march-native-0.9.ebuild b/app-misc/resolve-march-native/resolve-march-native-0.9.ebuild
new file mode 100644
index 000000000000..f234833631e9
--- /dev/null
+++ b/app-misc/resolve-march-native/resolve-march-native-0.9.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Resolve GCC flag -march=native"
+HOMEPAGE="https://github.com/hartwork/resolve-march-native"
+SRC_URI="https://github.com/hartwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=sys-devel/gcc-4.2"
diff --git a/app-misc/rioutil/Manifest b/app-misc/rioutil/Manifest
new file mode 100644
index 000000000000..9608839b2cd9
--- /dev/null
+++ b/app-misc/rioutil/Manifest
@@ -0,0 +1,7 @@
+AUX 75-rio.rules 1452 SHA256 43f50ee1aa1af9e603278bf72557581cb59226af6e84473a43315c73e724b479 SHA512 e9d953045cf4b587eb19f95ef0f429fefb1919d335662455e62334331c99ede3304952e18c52d41f0051eedd4f8148c469c75db9600c70ba954281620f760a65 WHIRLPOOL b0aef602739c93ed1fb2df7e5c30da410e67ebc5bc302ffaa05bd676296a6d596301f5c3410daeaeea2126e4b8bc050ffe53ed5df3ad2b151d1ca125a51ea735
+AUX rioutil-1.5.0-buffer-overflow.patch 515 SHA256 4dc93722ca35ece7bfff4cb472972a0a9a4d50c7847ea7c60ee2a053398e476b SHA512 6face8d7dba4f34034683a1a2bcf01c18b4feb104da2b9e15ecb57e2fc26717e4f952bd03ebdbabb92b0c63c540ca0a29f637879533dc964817744972d48edc2 WHIRLPOOL 04c03a6c172952837fd19a63425ce8f7fcd6d2834bd8df4a0c59e3d0349179b62ff30540ac9fc080ee20eef4c8e0699e7238e3622f0c0f31886468aef83d54d2
+DIST rioutil-1.5.0.tar.gz 401244 SHA256 4991cda30bcd0cd01097c4d220c5facf67e988d4bbfc2f272a359ac89d52e9a7 SHA512 3e3bf1c053e2f0146c504c5015e33cd3281daad136f41d82100d6181b6720c7f1131615c663f821573d7aeb077efc1b59e8e23a8f15a851e332ad61ea0479f1d WHIRLPOOL dbf9a1d4164dd2987e856f534a26230a57daced5c9a6f465652b16cdca94832a06514ff753c2ae5af2a5cc27d487ec1de6e143b1854b1207f1d81dd2d8f2d486
+EBUILD rioutil-1.5.0-r2.ebuild 775 SHA256 754f189bf77509c73de5aff5d99c4a9d052c67ada0b99c400fcbfdc84a3c29ca SHA512 4ddfbc0dc5a778630e3ee61343a4c9c5dc102e7ea8d46ff5575930761f41d82240e1035209e9cf9ee54d3650c2b790b58b0f9946b9d6695bbb5607f848c57134 WHIRLPOOL a31ac39147d6646724403af508230396e01f8a55a8fd52f14b4d0f4d51d42b5b49ff52c2f43e9e1b3d43fc94d1191cfa8a594e242c86a44d736309fb53c94a02
+MISC ChangeLog 2595 SHA256 9ab1012f24f80a6b41323a657e17199bc33b655f95529e2c262396dda9b8370b SHA512 6648f2c7cc1af46b14dbabd40eae5a1fe16de70d0a81e4229f58100eeb6a5c6ace45775db869157f6fb469a94615ccd7b43edcd4aaaca27366e8f349f80af792 WHIRLPOOL b25b5b01cbfd7841509b6e852818a8dcb249e291f0ff3ada849ed28ac7c7ee8e9127a4b7dbf54ac58a67a3d251f90a31beac98a1e6ccb66aa0a3edbaef6b4007
+MISC ChangeLog-2015 4830 SHA256 0dcd8b510ec8a8c3f493b2bd683934c68a9ff3757d9d6d03ce36695738260f18 SHA512 a7fdc80169f7962b03804fb143293b9d664467e7cda4454d904e5c06b47527b61794bd366842812eb5e88fe6a18ddbbc20dd696b5e884e614112b603db3c7c01 WHIRLPOOL 88dfac7f58a3c87a53fdb81528161b5e2ab13af580da67202755abeccecda669fe8fab5026acb7c2e3c8eb4e0375fbb9c63e2719b54d8ae5ef5b6a765b00f754
+MISC metadata.xml 244 SHA256 7626fc648ea82c668efad87086440a927c46104c50939c4b57b973c415518368 SHA512 01c88fac77882b2f5dce193f24b996f60601ef47bce8a95b29002be2477e45cbc5ee0b702c98d9b34583d488fd0a7c7cdc90648fa36e23826989a875c0e6ca77 WHIRLPOOL a34b332914e7e2ec0e1804b7de4a9d1976a8512d3ded06eeea41b168473809c8f66afcff0b7655e80e6b1451269288fd0b6a01957bb8cec86516115227989b3b
diff --git a/app-misc/rioutil/files/75-rio.rules b/app-misc/rioutil/files/75-rio.rules
new file mode 100644
index 000000000000..610131a7dbe2
--- /dev/null
+++ b/app-misc/rioutil/files/75-rio.rules
@@ -0,0 +1,38 @@
+ACTION!="add", GOTO="rio_rules_end"
+SUBSYSTEM!="usb|usb_device", GOTO="rio_rules_end"
+
+# Diamond flash players
+# Rio 600
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5001", MODE="0660", GROUP="usb"
+# Rio 800
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5002", MODE="0660", GROUP="usb"
+# Nike psa[play
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5003", MODE="0660", GROUP="usb"
+# Rio S10
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5005", MODE="0660", GROUP="usb"
+# Rio S50
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5006", MODE="0660", GROUP="usb"
+# Rio S35
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5007", MODE="0660", GROUP="usb"
+# Rio 900
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5008", MODE="0660", GROUP="usb"
+# Rio S30
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5009", MODE="0660", GROUP="usb"
+# Fuse
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="500d", MODE="0660", GROUP="usb"
+# Chiba
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="500e", MODE="0660", GROUP="usb"
+# Cali
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="500f", MODE="0660", GROUP="usb"
+# Cali256
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="503f", MODE="0660", GROUP="usb"
+# Rio S11
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5010", MODE="0660", GROUP="usb"
+
+# Diamond hard drive players
+# Rio Riot
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5202", MODE="0660", GROUP="usb"
+# Nitrus
+ATTRS{idVendor}=="045a", ATTRS{idProduct}=="5220", MODE="0660", GROUP="usb"
+
+LABEL="rio_rules_end"
diff --git a/app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch b/app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch
new file mode 100644
index 000000000000..1739a146c485
--- /dev/null
+++ b/app-misc/rioutil/files/rioutil-1.5.0-buffer-overflow.patch
@@ -0,0 +1,15 @@
+flist->genre is defined as 'char genre[17]' so don't copy 22 into it
+
+Patch by Kevin McCarthy <signals42@gmail.com>
+
+--- librioutil/file_list.c
++++ librioutil/file_list.c
+@@ -241,7 +241,7 @@
+ strncpy(flist->title, info.data->title, 64);
+ strncpy(flist->album, info.data->album, 64);
+ strncpy(flist->name, info.data->name, 64);
+- strncpy(flist->genre, (char *)info.data->genre2, 22);
++ strncpy(flist->genre, (char *)info.data->genre2, 17);
+
+ strncpy(flist->year, (char *)info.data->year2, 4);
+
diff --git a/app-misc/rioutil/metadata.xml b/app-misc/rioutil/metadata.xml
new file mode 100644
index 000000000000..531ee91f3d40
--- /dev/null
+++ b/app-misc/rioutil/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">rioutil</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/rioutil/rioutil-1.5.0-r2.ebuild b/app-misc/rioutil/rioutil-1.5.0-r2.ebuild
new file mode 100644
index 000000000000..0250aa42cf18
--- /dev/null
+++ b/app-misc/rioutil/rioutil-1.5.0-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit multilib eutils
+
+DESCRIPTION="Tool for transfering mp3s to and from a Rio 600, 800, Riot, and Nike PSA/Play"
+HOMEPAGE="http://rioutil.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rioutil/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-buffer-overflow.patch
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install
+ find "${ED}" -name '*.la' -exec rm -f {} +
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ insinto /lib/udev/rules.d
+ doins "${FILESDIR}"/75-rio.rules
+}
diff --git a/app-misc/rl/Manifest b/app-misc/rl/Manifest
new file mode 100644
index 000000000000..1ab5bb25073f
--- /dev/null
+++ b/app-misc/rl/Manifest
@@ -0,0 +1,5 @@
+DIST rl-0.2.7.tar.gz 131028 SHA256 1cfca23d6a14acd190c5a6261923757d20cb94861c9b2066991ec7a7cae33bc8 SHA512 c9db8564832494148ed8e60df844a2a383e52b9d293564cf46b393e57a88f773b7307a1dd749d4e5e2daef1632b5350de00ab2585478ff3c18bffa1c5c573f8d WHIRLPOOL ee388274029b4ed5c8bc58f27a8fc1c9ccc7be2167426d5e4751eb26f88a238084bde89d9c036fd5d067ceff72e3191a4b32aa0e067c491ce6b87d20f077654c
+EBUILD rl-0.2.7-r1.ebuild 665 SHA256 a98d4ac02832b4936f18e47ac81ced34942cbb7d4fbb4db5ad79e8ec945d8f2b SHA512 f0bf14af17d504740d9f8e3b4c1c63c0a11d3abe321fb85fc5b636f073a2858b18d6ea14b6c6d70bb5a020cb5744bbd1630cf891c8655af57e4ac36d1d3fe027 WHIRLPOOL 5ac56423f9b4bc44b4f4ab778bea5d72c8a15cee3b0ae3a4a789d62ccc1efb9e7ebf555ec809393fd5c9a2a10133fcf1aadf7d5fc4ff1bb6b729c26a2346c7a8
+MISC ChangeLog 3137 SHA256 4ab2e6a7bde76557102e972c84331dc698a704f7909c0918450fc15bb0b612d3 SHA512 ec070a5af57edb6a4fe013c5c8d84c0beffd68582dcef87331893ae2fe75a9222ee925bb32e90a136fcec5fa8e43ae58b32474277b44a83f112151eed09bd6a9 WHIRLPOOL 0198addbc4d91a8f5866ee0a88375c3331dd36904a182a5327002f9de6d567654fc9e1b11776e6e820357e6bcf5366f2308c5952f97697630fa4f4ecc8f32ac0
+MISC ChangeLog-2015 3512 SHA256 a8bcb8eeb84910b10bcc77c406eee567e37029110b6a0b543119021a2ef2a151 SHA512 27cc9c8710b2bdc3e450ee00e65c3be46e55851efb8e914ef57ea331536be31d41b60c89ae01419f11bdb7bc2215caba127cd3e82a61265d071a4c11fa8eedf5 WHIRLPOOL 626af83054513309af305c0285f1aa597b84828051ff763a27dc93dda227969db9acd199a4f51916a25417fea3fb99f326a7eff9cecf0a7eedb75fd81cc201d6
+MISC metadata.xml 516 SHA256 9f4c2edcfb1e704faaef5769f9fef495ec8212c3d3046a6d14a579d3c31253f7 SHA512 7f7e565aa5a90fabf857fc8e5c78bb98000677c2a8e2cf1a0b4bcc5af5b3bb80f4849b1f6d6f7a2e7d15ea84930e79017865c6b2fa8230e032654b0fff4ca2e4 WHIRLPOOL 69f55e16a149c456337997a22d4af4ab1ba2d819958b04c3f415b7388f1cb73c4c2ec5395f6e59bd0406fb5a8632585487b980d80d2ff89a7a00773249ff2d3b
diff --git a/app-misc/rl/metadata.xml b/app-misc/rl/metadata.xml
new file mode 100644
index 000000000000..a945f0affb78
--- /dev/null
+++ b/app-misc/rl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>swegener@gentoo.org</email>
+ <description>primary maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription>randomize lines can be used to randomize the contents of text files or standard input.</longdescription>
+</pkgmetadata>
diff --git a/app-misc/rl/rl-0.2.7-r1.ebuild b/app-misc/rl/rl-0.2.7-r1.ebuild
new file mode 100644
index 000000000000..bada8adbd661
--- /dev/null
+++ b/app-misc/rl/rl-0.2.7-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-minimal
+
+DESCRIPTION="Randomize lines from text files or stdin"
+HOMEPAGE="https://arthurdejong.org/rl"
+SRC_URI="https://arthurdejong.org/rl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ia64 mips ppc s390 sparc x86"
+IUSE="debug"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO )
+
+multilib_src_configure() {
+ local myeconfargs=()
+ use debug && myeconfargs+=(--enable-debug)
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ multilib-minimal_src_compile
+}
+
+src_install() {
+ multilib-minimal_src_install
+}
diff --git a/app-misc/rlwrap/Manifest b/app-misc/rlwrap/Manifest
new file mode 100644
index 000000000000..1ba72def7fd2
--- /dev/null
+++ b/app-misc/rlwrap/Manifest
@@ -0,0 +1,8 @@
+DIST rlwrap-0.42.tar.gz 279608 SHA256 5a70d8469db9d0a6630628f2d5d2972ad16c092400b7fbbdf699693ec0f87e44 SHA512 991885e75aabf0d43581d59f7c78f7f64c3f32072de08ff5796cba75c0716548d2186cbe2d739f3e772871e3586d036f069db73b2ee8a30b2f7985088d0f68df WHIRLPOOL a4ff4ac599f87695c15060dcacb2d10b5d8ff21512f38b7374e096ef71ae17f7e977ecb9e3004c231d8d8c5b37e2ddbab724fedb3439f507a5a483373f4af14b
+DIST rlwrap-0.43.tar.gz 313139 SHA256 8e86d0b7882d9b8a73d229897a90edc207b1ae7fa0899dca8ee01c31a93feb2f SHA512 4a1440b2eef3a1664c6381eb09c19f4030de2c0ef4f1f3509f7d6e130d3c5e9c3ceb00fc6ea6052b22bbe1f6b162f72e0b47564df34ccecc5220f195c22e86a1 WHIRLPOOL 89975c663b6584b09b3d7b0e16ff06c7daa88c22af4414e964e06266be5822c8fc2f3894ba4bbfa5e0464c1303077488e2b77dbf5c94d27107b1ce1f0ae85364
+EBUILD rlwrap-0.42-r1.ebuild 524 SHA256 caa2d2c530acc48993a4b8f3a06f1f55541301e26e7e2693dbff6d0bf6aee645 SHA512 6f8cff5a06edb8e5c2dc6b1cc72aa8704eafa79d8014175955a8b387a8825f90768c111facfe6d7fd7de1af4d92146b2539efccd7e0f772285b793376b78c1ed WHIRLPOOL 02ba71afa57580226e1492048ed75e7b9a7d7297de60267a762759419373b7ddbcbce297ba95d817f1bcb5fe3f86f695212ebb9335449e16d5606da3a54e415b
+EBUILD rlwrap-0.42.ebuild 631 SHA256 942435e4fdac499998ebc9bbcd43a23010c2ca7721ff2714ca7783db84944e7e SHA512 6e9c7d7750a40ba31bb64d17b0069cde45b06af3c19eb5513e2d4282da0dc9ac0fffafcf4101ee68548d812f46793d588ea58b1f0708bd155b103b775069ca35 WHIRLPOOL d074123aef13773894aedf0ed268f2b932aba05249ef8e7aed6f4012adad7c9cf988035bedde91a0006b1e04ba99059aed0f1821da4dd06dc6625f8bc1397a67
+EBUILD rlwrap-0.43.ebuild 602 SHA256 4807ed8b8977a09d93aab5bf5ef8ad4c6937004a2cdc017d31a531ec0630a513 SHA512 8778074bdf47a91d2de60d5da476eef60f0ce5a18a351582fb47e97313d9e7d94c9ca5105ff8c317f6bd88cb72a5c657b269048257bc11798e520a2f2b2e10bb WHIRLPOOL 463ba271582c83dff239b784f70c20164590489862ae530cad08755629f1f3c63d23a9b5f18c57d35bde50f2b6ff4f2b87c583a2674a35877d9f4c2266f637d3
+MISC ChangeLog 2829 SHA256 dad3a49513bf90786e0b4e8adb43e49269c3c42365c163a9be66fede6f3cefce SHA512 06e98d7319cb62124bc749a4933464cc839f84acebf68a9412353b3d470b121147a100fc3870ab06b96b90a1dff898d029239f3d9148aaf67dd2b065a3d2f853 WHIRLPOOL 675e874e701e9e0d47f03b245f5407402e36789ac4b61d2a7cc9ff86da91cfd9938d6f2097e97a7c68ecd27a395ed25c9db9280480aa4ee89ae282b12de275fd
+MISC ChangeLog-2015 4026 SHA256 6a3448a6acb6f75186f9af32178a9f2b42823d0f34ed0b822625e6dbdad1ba90 SHA512 fea517e33bf35fb70e797290d37c1ef196b5533f8a3c98ddd61b4dbcf06da3c89070ac7a1a60bfd0bf4f4cefd9b9d8a72d7e79003ea1708bcf0adcf97cf28077 WHIRLPOOL 0050aa477f6b9f065cc4a1e431980f04500ee2c9e3c4d2069ca7c276138a2b5f7d3008e8d918e2b91268970c08b6f9b24fe0afe80d039bd39f806ecf1ee5cc21
+MISC metadata.xml 707 SHA256 5156b65fadd3b993f53b5b0c26741e6285c0bdfa39a77943969c8fc2cc238625 SHA512 8f6da0c6c96533098cd750c1dc4cbae6d94bbf4a285561ba52a3fb1ab414ead6a4f1e1a600cd120cda4355a5c52365938921ee43df560015296f15528d79c8ff WHIRLPOOL abc6d6074eb028561c811a2306d0270df25376b1b277bf0f1acce7b4e3e533e384bb2a3f9cb9b1b59237bd670093394b76e742c10fafdda9532d2ac01ac13f49
diff --git a/app-misc/rlwrap/metadata.xml b/app-misc/rlwrap/metadata.xml
new file mode 100644
index 000000000000..a6f90e84d17f
--- /dev/null
+++ b/app-misc/rlwrap/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>common-lisp@gentoo.org</email>
+ <name>Gentoo Common Lisp Project</name>
+ </maintainer>
+ <longdescription>
+ rlwrap is a 'readline wrapper' that uses the GNU Readline library to
+ allow the editing of keyboard input for any other command. Input
+ history is remembered across invocations, separately for each command;
+ history completion and search work as in bash and completion word
+ lists can be specified on the command line.
+ </longdescription>
+ <use>
+ <flag name="debug">Enable debug</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/rlwrap/rlwrap-0.42-r1.ebuild b/app-misc/rlwrap/rlwrap-0.42-r1.ebuild
new file mode 100644
index 000000000000..ab1551ea5406
--- /dev/null
+++ b/app-misc/rlwrap/rlwrap-0.42-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="GNU readline wrapper"
+HOMEPAGE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
+SRC_URI="http://utopia.knoware.nl/~hlub/uck/rlwrap/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug"
+
+RDEPEND="sys-libs/readline:0="
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable debug)
+}
diff --git a/app-misc/rlwrap/rlwrap-0.42.ebuild b/app-misc/rlwrap/rlwrap-0.42.ebuild
new file mode 100644
index 000000000000..75ca6471b3cb
--- /dev/null
+++ b/app-misc/rlwrap/rlwrap-0.42.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="GNU readline wrapper"
+HOMEPAGE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
+SRC_URI="http://utopia.knoware.nl/~hlub/uck/rlwrap/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug"
+
+RDEPEND="sys-libs/readline:0="
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable debug)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README # PLEA TODO
+}
diff --git a/app-misc/rlwrap/rlwrap-0.43.ebuild b/app-misc/rlwrap/rlwrap-0.43.ebuild
new file mode 100644
index 000000000000..1c8556e3799d
--- /dev/null
+++ b/app-misc/rlwrap/rlwrap-0.43.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="GNU readline wrapper"
+HOMEPAGE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
+SRC_URI="http://utopia.knoware.nl/~hlub/uck/rlwrap/${P}.tar.gz"
+SRC_URI="https://github.com/hanslub42/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug"
+
+RDEPEND="sys-libs/readline:0="
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable debug)
+}
diff --git a/app-misc/rox-filer/Manifest b/app-misc/rox-filer/Manifest
new file mode 100644
index 000000000000..df7b952712ff
--- /dev/null
+++ b/app-misc/rox-filer/Manifest
@@ -0,0 +1,7 @@
+AUX rox-filer-2.11-in-source-build.patch 429 SHA256 8a65c9e93f69163fc4e365a4e9b56e4ce5aff1973d340710b97f42c73006f237 SHA512 28cb208bc51c500ad766bf832f8098bd44813626be2ed3c50c37d0cff5193e1dc1a4430ec40ee7290befb1f20b4a506f03c8c327760b75e06d08ec646b24638c WHIRLPOOL 42abf31d3de3a0fdd51d2029b212a45fade5060350917e910fa79196696d1c9668b6c442d516f786f78c8c6391c13452970304adcae41e3654e54ab7febddbe8
+AUX rox.desktop 157 SHA256 d193802bd03e6ac0688cde54162d69a98f78a51ef4ad8e6de5da26f682b0df1d SHA512 968b930f97a25c58a0aeee0789161b98b0bfa93978beb0d7e57e40affe45b65940f67b612df93ac64c0c5244de7dbf913b1083cf7aa4a357e929a7f9f4ab366a WHIRLPOOL ebfb1db8e67609f486c73566485fbb08ebc4a48b1e7a440fdc07897366519e60e8ca803ae0fbddd31066c6ecdb5e3bf70e1cc07f697c94ee39bfe6a7632f749f
+DIST rox-filer-2.11.tar.bz2 1907026 SHA256 a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8 SHA512 2ef5e7a5d6f4bbb825d6f01725ad4149b9cabfb6fe82c33631bb145f5a3c84e345c372b7698170c1ef78b30ffbc4665495cc266da4828cc8b4b256b592b2c50b WHIRLPOOL 4efac80bbaa83bc053393d34bfb015ae6a50064651e351c6a889abd604a42f0346a4011d0f4dfd6bf8a29c8e0e077d5bbc34367f795e97f77225c27de66900ef
+EBUILD rox-filer-2.11.ebuild 2368 SHA256 6e768cb153c61c79aefe5573265827a469975b67a8329dd681c9e7cb1635225c SHA512 44feeda938ad145cfacd7f74106c619e4dcf7eeca856fbc12aff921fca5e53052a6f11772d44976f388dbfb24cf979328ccc99b364f58b42ea533bada138fe8f WHIRLPOOL ae9c7411fa75e838c38c767425658aa9f01a4a5337b9612c02e1929f63a624b02551c5c4bff6a71c419c3a2c31cc45a5105a8b8cd6f1d08b29c61ed2607a20a2
+MISC ChangeLog 3346 SHA256 3127c3e379554b811a3e2afc9bca2c7d5d618d123584ac02f63e01d9ab08137a SHA512 992a3637769da271aa96d1537beea066b8da3c480f2bc41fdc0ef1720c9638be4b1b6d57c6536f27deb2eb3ab949d72c333a24613e20c45fe2c36e18edd7185d WHIRLPOOL 5408a5c4fdf718f2ff15cbc8a9de9252b90b7b914bdc4c1347c382c5b7d3f078af53bc2a1970cd9d7e294987854627c72a5ce2f3164dcf63cd802e59ac767c7b
+MISC ChangeLog-2015 555 SHA256 431a0f0c3a781eedd02220536dc5cbae0e27dcfd6c108c503c7ffe9bed3d936d SHA512 6c3afcabf3d9e0283f5c51ddf107fe6e0d7260eff10ca11192ee3e5848f332f3026a22a6952b83b39766e04a2163434c0bfea3ea3ba1c78a170803fcbc1f7d30 WHIRLPOOL 7e1622755c40c17f2956a4771728478ed57e147920a969b523e181eb2f411f4e5caa1767951db8ecf29cbae952725715ef6e1b5c919864d1da1bd40088b4cf13
+MISC metadata.xml 1349 SHA256 f4330334cc768d9ce07c78ce1e675cffee77c1dd10becceafe423d24dd066da6 SHA512 b7e3e6645e332ee3799d0c6f8ae34a97e0cd8c02638d2b31cdd7c938fd761cd5c5b38ed9657fb93caa91a3a51eaaa2239ebff80ba8c3906e393f1213bfa19d78 WHIRLPOOL 9eea44707496ae3a3122562a91a684a4bda03d0bc2ed09ce3ac2e92a93ed9ff197903cc1eb946eb03ed33f3a35aa1f33c835624e1993b238b34e4337e7735dca
diff --git a/app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch b/app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch
new file mode 100644
index 000000000000..d5400ec5f63f
--- /dev/null
+++ b/app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch
@@ -0,0 +1,15 @@
+--- /root/configure 2015-03-09 16:39:03.921516152 +0800
++++ src/configure 2015-03-09 16:39:08.455516081 +0800
+@@ -2133,12 +2133,6 @@
+
+ ac_config_headers="$ac_config_headers config.h"
+
+-
+- if [ -f configure ]; then
+- as_fn_error $? "Please run configure from the build directory (try ../AppRun --compile)" "$LINENO" 5
+- exit 1
+-fi
+-
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/app-misc/rox-filer/files/rox.desktop b/app-misc/rox-filer/files/rox.desktop
new file mode 100644
index 000000000000..e0b83df58bc2
--- /dev/null
+++ b/app-misc/rox-filer/files/rox.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Rox-Filer
+Comment=The Rox File Manager
+Icon=rox
+Exec=rox
+Categories=GTK;System;Core;
+StartupNotify=true
+Terminal=false
diff --git a/app-misc/rox-filer/metadata.xml b/app-misc/rox-filer/metadata.xml
new file mode 100644
index 000000000000..5b7111875c04
--- /dev/null
+++ b/app-misc/rox-filer/metadata.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>ppurka@gmail.com</email>
+ <name>Punarbasu 'ppurka' Purkayastha</name>
+ <description>Proxy maintainer, Assign bugs</description>
+</maintainer>
+<maintainer type="person">
+ <email>forestmoonsilence@gmail.com</email>
+ <name>sitquietly</name>
+ <description>Co Maintainer, CC bugs</description>
+</maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers Project</name>
+</maintainer>
+
+<upstream>
+ <maintainer status="active">
+ <email>talex5@gmail.com</email>
+ <name>Thomas Leonard</name>
+ </maintainer>
+ <bugs-to>http://rox.sourceforge.net/desktop/lists</bugs-to>
+ <remote-id type="sourceforge">rox</remote-id>
+</upstream>
+
+<longdescription lang="en">
+ ROX-Filer is a fast and powerful graphical file manager for the
+ X Window System. You can use it as a small and fast filer within your
+ current desktop, or get it to manage your pinboard, panels and
+ applications. It is also the core component of the ROX Desktop.
+ Many of the filer's features were inspired by RISC OS. `ROX'
+ stands for `RISC OS–On–X'. The latest development for ROX-Filer can be
+ found in GitHub: https://github.com/rox-desktop/rox-filer
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/rox-filer/rox-filer-2.11.ebuild b/app-misc/rox-filer/rox-filer-2.11.ebuild
new file mode 100644
index 000000000000..98807eb99883
--- /dev/null
+++ b/app-misc/rox-filer/rox-filer-2.11.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils virtualx
+
+DESCRIPTION="ROX-Filer a drag and drop spatial file manager"
+HOMEPAGE="http://rox.sourceforge.net/desktop"
+SRC_URI="mirror://sourceforge/rox/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+
+COMMON_DEPEND="dev-lang/perl
+ dev-libs/libxml2:2
+ gnome-base/libglade:2.0
+ x11-libs/gtk+:2"
+RDEPEND="${COMMON_DEPEND}
+ x11-misc/shared-mime-info"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}"/ROX-Filer/src
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-in-source-build.patch"
+
+ sed -i -e 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' \
+ main.c || die "sed failed"
+}
+
+src_configure() {
+ econf LIBS="-lm -ldl"
+}
+
+src_install() {
+ cd "${WORKDIR}/${P}"/ROX-Filer || die
+ dodir /usr/share/applications /usr/share/pixmaps /usr/share/rox/Help
+ insinto /usr/share/rox
+ doins -r Messages Options.xml ROX images style.css .DirIcon Templates.ui
+ insinto /usr/share/rox/Help
+ doins Help/*.html Help/README*
+
+ doman ../rox.1
+
+ newbin ROX-Filer rox
+
+ dosym text-x-diff.png /usr/share/rox/ROX/MIME/text-x-patch.png
+ dosym application-x-font-afm.png /usr/share/rox/ROX/MIME/application-x-font-type1.png
+ dosym application-xml.png /usr/share/rox/ROX/MIME/application-xml-dtd.png
+ dosym application-xml.png /usr/share/rox/ROX/MIME/application-xml-external-parsed-entity.png
+ dosym application-xml.png /usr/share/rox/ROX/MIME/application-rdf+xml.png
+ dosym application-xml.png /usr/share/rox/ROX/MIME/application-x-xbel.png
+ dosym application-x-shellscript.png /usr/share/rox/ROX/MIME/application-javascript.png
+ dosym application-x-bzip-compressed-tar.png /usr/share/rox/ROX/MIME/application-x-xz-compressed-tar.png
+ dosym application-x-bzip-compressed-tar.png /usr/share/rox/ROX/MIME/application-x-lzma-compressed-tar.png
+ dosym application-x-bzip-compressed-tar.png /usr/share/rox/ROX/MIME/application-x-lzo.png
+ dosym application-x-bzip.png /usr/share/rox/ROX/MIME/application-x-xz.png
+ dosym application-x-gzip.png /usr/share/rox/ROX/MIME/application-x-lzma.png
+ dosym application-msword.png /usr/share/rox/ROX/MIME/application-rtf.png
+
+ dosym ../rox/.DirIcon /usr/share/pixmaps/rox.png
+
+ insinto /usr/share/applications
+ doins "${FILESDIR}"/rox.desktop
+}
diff --git a/app-misc/rq/Manifest b/app-misc/rq/Manifest
new file mode 100644
index 000000000000..bb5da2453e0e
--- /dev/null
+++ b/app-misc/rq/Manifest
@@ -0,0 +1,111 @@
+DIST aho-corasick-0.5.3.crate 252052 SHA256 ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66 SHA512 cc297b4882b869919edf9023ee2bd7100eb48709f6e7076fd26d1701dab3d8aa2cfb03752a764877cd92177ab7a4ce3dcdae76d16965eca2ff53667832afda31 WHIRLPOOL 93651414398a02de849aa0b1dd8319678e20df385643422da751e38388afe60ae305f197a68cf2b9d1d6e39ef56c54979b6290a2c82555eb811839acffb72531
+DIST aho-corasick-0.6.2.crate 24901 SHA256 0638fd549427caa90c499814196d1b9e3725eb4d15d7339d6de073a680ed0ca2 SHA512 81a013deb96b88ddcd1ddaa10c09075feb97078c59e3fb6a49807a5004effbb523e4572fbe297fe96678f86e2529cc8afa919d3b8f3c9cf44fdee97290904229 WHIRLPOOL d3587a8f264b92baa70b43ad3f5ff2ac766e97c2f34ebb1f782bcdba635bf6ed0b2b74240899e3202d5a3119fab564ae47cc98d3ad55251779cd4f9e9c8b9270
+DIST ansi_term-0.9.0.crate 11718 SHA256 23ac7c30002a5accbf7e8987d0632fa6de155b7c3d39d0067317a391e00a2ef6 SHA512 4b5297d80f2a7fa840aeb1c31e7b893b33abcc7ce7f6f54371f6d7fc8e2915b43b5e3be3baab32b0821e174d8f7b58961029569a4f9e59b8a46c05f24ecaf04b WHIRLPOOL e0287a6f23e41131613da054def04c53896a4ac0bb80bc315eead5da99a5355f917cfd9babe05f4e3c8416c1ba33dc271bb1ad68ffc3b6e0cd5cdaba41f015da
+DIST aster-0.38.0.crate 27090 SHA256 2c9b49e42a449c0b79d8acb91db37621de0978064dca7d3288ddcf030123e5b3 SHA512 1bbf7e4f2b75ccfe46cc0bd960f1a0d30b5b4805c7a9d291adb3ca7dce52c271def4932c77f4824ae2a979bcc17e6fe254ef90b1b3db004fca4d559b17ccdb71 WHIRLPOOL e3a060503341000d05b6e8dec2e52fdf14e41a30346f159bbafe15abd992eddfaa5fc342e432fc354e397319e7ea8edc2c3b54d73ea47b6b49dd9b7c8b5c0ce8
+DIST atty-0.2.2.crate 5124 SHA256 d912da0db7fa85514874458ca3651fe2cddace8d0b0505571dbdcd41ab490159 SHA512 6e6e2cede7f280a53a61c78126783ec0338c13a8e9bbabb91d4b6fc43aacc56a4f7e86556210029595acf18e444121998101992b40e35a64cce884ec08247d0a WHIRLPOOL 9fae4158651f25bb4b32d0ca31e72fc8c01bb7afca0d703770af124ab9035fa52e700e3a74a4698bf8d95ff65de9adec9a5933b82798ee9cdc06d11dc86ffab4
+DIST backtrace-0.3.0.crate 24035 SHA256 f551bc2ddd53aea015d453ef0b635af89444afa5ed2405dd0b2062ad5d600d80 SHA512 523b0f1f2457d3699e6b173647737a53bb6d92f3381f1a328bc2f9cb5733e7064795fd157990df6d94b30f587b15dfc8d8438fbc74d2bf2d08387ad24789e673 WHIRLPOOL 06ceccbf58d405cd728ca0836958f963bb7364c36daf2084b9c42d4442bb36bdfb886fb58c359b298ceca0ae3bffe4cb60a46ea8837309b6cb9bfb9a029a48d0
+DIST backtrace-sys-0.1.10.crate 282652 SHA256 d192fd129132fbc97497c1f2ec2c2c5174e376b95f535199ef4fe0a293d33842 SHA512 063a31423568e4f7a5a4b1dba3ba32c6ded4bb991833af569fefa398e8710e3173e059828a5c55489003d5b918b834530d99ec51a5b248f9955b643f719a5de3 WHIRLPOOL dabf0159d78ccaa6b0c06a2ebb778e827ca5175d8c8df41cd872ae79b303fd9cd52854f1fe2fc34cc442d1cefa9c748dad504b00f21b427f586d4db2fa85af30
+DIST bindgen-0.22.1.crate 1214174 SHA256 88f9d9abd7964621201c558021ff4f39b7b4d571a9a56a88844da9971e2344ce SHA512 ff5604687724a2ac73b78226436db6c2beb7598497b6fb237a3c5a99a969d81c57e6f7f7b80c353d4c5b5171b7588747e8b5111c79e24b2bfba75e39df5c3ca2 WHIRLPOOL ecc46e246f3002e61d1c00d101cec74bf4aefafd1ec00b4b57fb0de08004c4ed4f3ecd24d88028202fecb7a05b7e8e678d2e39fbb213385d40f49d16e66a4eb7
+DIST bitflags-0.4.0.crate 10186 SHA256 8dead7461c1127cf637931a1e50934eb6eee8bff2f74433ac7909e9afcee04a3 SHA512 ec056552194deb660e78219d6b13c991227bb403c06ae97e9a72fba8405848b2cdc699ae9ac8bbfdc665aeaaa9ea6347139c1d2e0422dd491b641afc101c47a0 WHIRLPOOL ad2cd0e51afbfea326f6d482254778b71e767ee5190e5e84a59e565492c537ef30b029f70e56e2fe19a9c7af2a24731d801e45a1fbcd9283046cf9c73a70be00
+DIST bitflags-0.7.0.crate 10851 SHA256 aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d SHA512 fdfe472c26e5486d1a3f1bfe5a27d26678781235c6e14b49bdb75388359cb78841f38d794fc4557548581a80a10b715d8840182c9ca3316049984a6b9f35b3c0 WHIRLPOOL 60551486cd6688c78ecd0ac40ca39b1f3d75537dd96ec32e9882e205bfe2062de939a129777d66f8c269c8a71e2f2aa240e015c0b3bfa51adbad478024e296d4
+DIST bitflags-0.8.0.crate 11128 SHA256 826e1ab483fc81a8143faa7203c4a3c02888ebd1a782e37e41fa34753ba9a162 SHA512 ba937c04956d0d36ee18faa37524f86e9ab5224e89172e4183b0a36344333a99dc6050e41a5c4c7f77829aee831acb5320c4a9c2ab06b4d35e76b315d980a846 WHIRLPOOL afc6147ec00700ba3a226e1569b163b35fd317afd1b0f8665f1af80c8758531a370ff3bb6726abc5ab6545a781f7c7e8d062cf370f5e4e33e31185e6dd53ba80
+DIST byteorder-1.0.0.crate 8450 SHA256 c40977b0ee6b9885c9013cd41d9feffdd22deb3bb4dc3a71d901cc7a77de18c8 SHA512 5122d3112973e96cb00211ea586e991cb0db18df4ce871d24e4d4ae12bc6630f6ff55ec2e3224fb6976afab0a6f7fb7913b8280cd991cb0ed742dd446defd12e WHIRLPOOL 67240839996fb8af166580e4494159e60a043745cc054f3c436a1e4ceb67b668c7334e173aaa087983261b50dea29dcc36700d232fb13d671a3eadd8ed569f4f
+DIST cexpr-0.2.0.crate 14067 SHA256 393a5f0088efbe41f9d1fcd062f24e83c278608420e62109feb2c8abee07de7d SHA512 44261e3a96bf36bab0ddb5bc6f3e4e076dbb3fe2d3357cffc352f84cadca7a659cecec33de46cdd23c14a8a62864038dccb4d1667b9fd70a22753c48c9f34962 WHIRLPOOL d15bb010e7c5048503a3ddf6b8b473af1a1445e50e8dedc3b9289c340c840ae3b6dab41f3425c3cea95314626bfbfb23f88c241ce38757ffa6cb98947af614f2
+DIST cfg-if-0.1.0.crate 2758 SHA256 de1e760d7b6535af4241fca8bd8adf68e2e7edacc6b29f5d399050c5e48cf88c SHA512 d2f10ae39a7fe712cd9d228e3b5a96448acaeab3b92d1b97229d54e5201237b9434ceecb1f38f1ebc1f678da5cfc33aa46c810f422f68a21aa341666c27572fb WHIRLPOOL 8a57a78a8e4a72c3321cf8ac97c2b50f18eb4ed35b2e3c22ca06b5f8031eadccce015237ac846ce78ecf9414632b75a04b168993439d1469eb928d4d05c843e5
+DIST clang-0.15.0.crate 50520 SHA256 ce73c1a0ad136a44c93a5e978a5c01a3e674724412f7c803381f6d42c47636ff SHA512 f51a06728d4b936f606c52f8a43cb3d34aa8611bc28ebd8afeaaedbcb7cd9cd56274c0e421d5dfbb584616b63ffc25295ca0f59b13bf028d3d286374a9003ed7 WHIRLPOOL 29e2599e3c3c11031130716750fb03ab8302cd994e561e4278e4874f20b5fe100e318affa92141a23bab926596e13cb815789d146f7c3adb4063fe6de6067856
+DIST clang-sys-0.14.0.crate 27025 SHA256 4f98f0715ff67f27ca6a2f8f0ffc2a56f8edbc7acd57489c29eadc3a15c4eafe SHA512 fb759afcefafe7e0d5c99fdfedbad27462a5af38e89e05cf93da796e8a2074be11a6ddeeee48a3ef54a1342b0a4182512aaa9ae3a0d3aa1d20d21b31b70dd8a5 WHIRLPOOL 7c3b774ddbdb6fde2778cecaa2f498c6aeb4a0ed9ce9c2d55b74ba11ec7b300583a224ee0ba373ef2ed8ebd0be61d2bc16c80fac20efc157b5c32e4ad2e8134e
+DIST clap-2.21.1.crate 172811 SHA256 74a80f603221c9cd9aa27a28f52af452850051598537bb6b359c38a7d61e5cda SHA512 35edd90a2f21b87dfcc39a4789ed9811d84e0be828caad24e745b8bc73b8745df3f4b29b423e51a6b724e5bb82f8cf2c36a9feae5e243b211f5529c30bde0e14 WHIRLPOOL a493521d426ee11c352992ead7207c0780b3adafffd03ed44877c9ea218399b51d6f5ec1d80079fb318d7f86c75791696b663ee29cbd5fd0f579570c9f64f83b
+DIST crc-1.4.0.crate 3443 SHA256 bc1914fae6f18ae347320f0ba5e4fc270e17c037ea621fe41ec7e8adf67d11b0 SHA512 f031f977bfa755222e1e73568979224c12d71d53b7da1910f73e24794067e19ed38995385cb0360aa827ce625301f9facf53cb996887fa3fb92a0698a1a6411b WHIRLPOOL a51ed062d1b432e84f6a94a124ca29e25695aaf53c80dd1cef1acb10d4bc86e4664c5ad8a19e3398e7007146a63eb3d0bb1a19c324a003e0f7e37199a43cc907
+DIST dbghelp-sys-0.2.0.crate 20721 SHA256 97590ba53bcb8ac28279161ca943a924d1fd4a8fb3fa63302591647c4fc5b850 SHA512 83588245f1df7db15d0c1b0b816e183c75238bcb90776ce42d9be4a9f06c64ab761dc10e2b3da566cf0c392b22acca60c96a8a40f6ef95d4d3f3f570af3f3d0d WHIRLPOOL d7f5f24c7aa5afe267ba8e0fef10a7e53fce1f06b0f8ab803e25d79631f10aa3bf7ad1473fc677db708dc7974927f02b92bfefc6cd7592bc1471a1e487ebd5b9
+DIST docopt-0.7.0.crate 41313 SHA256 ab32ea6e284d87987066f21a9e809a73c14720571ef34516f0890b3d355ccfd8 SHA512 f95549388ee834bdb3bfc2615338990e2e496b1e5059bd92376af5e3a173c365101c5fcc7e82a3aa0ee67ea8362ce98e19df4f02bf65cf14287d61e68299be09 WHIRLPOOL 3e77ec84a9092d0d11e9bdee4103a5f2e88ed1ef50f6c272da2003c51d7eb2700db28122f4a9b4823269190b614184fff40e3b117b5abb7e4a6ca4781173a52d
+DIST dtoa-0.4.1.crate 73264 SHA256 80c8b71fd71146990a9742fc06dcbbde19161a267e0ad4e572c35162f4578c90 SHA512 eb1be73a72f1b301371484aabfbffaf69692ad6baaeaace810d7bc8097a5084cca8cc37abf561b1371cb08fad04e07b24bb2149620a785387759813189682fda WHIRLPOOL 42a0db475f9a76f944016919e1050196b0237e33fbcb0b5b6c597add90f8052fa1a6b532009e57751ad6145c5d9c2f3798e637ac060fd1891f69366ed1c37414
+DIST env_logger-0.3.5.crate 5950 SHA256 15abd780e45b3ea4f76b4e9a26ff4843258dd8a3eed2775a0e7368c2e7936c2f SHA512 9650ba32bfaa8c013c04cf2eb68378874fed53a178332151bec8d7ac832ab2884f91fdc39c372d3c1677954b073212654fb570da1f3c708e4d5a25910d6c1181 WHIRLPOOL 21b4c81d96e5a8ccbda8491df42db9144acf41f4a25b1f510d8af7d46c931a28e089615692d46d9eb73c511a9cacfb59a15a5647ed1eea6d17ef9a973d99f5a5
+DIST env_logger-0.4.2.crate 10386 SHA256 e3856f1697098606fc6cb97a93de88ca3f3bc35bb878c725920e6e82ecf05e83 SHA512 97d73292892bdc9439252494ccdf27e27c5871637ec0d6053dd8eef8df71913baea54ae45ceee3dcf8425a8be797f136957eece69eb1ecbe876dafa74c070703 WHIRLPOOL 049bd64e9795f29480617078fd978efc7eb006b1648dbeae41611ac6a962cce8e059e5de6590b4998b4a942ee02e15283bb7b9bac22a6494bb7ce1444e5a684a
+DIST error-chain-0.9.0.crate 17627 SHA256 e92ecf0a508c8e074c0e6fa8fe0fa38414848ad4dfc4db6f74c5e9753330b248 SHA512 c36dbe13e582094b250f7427768a7d9e432d82fcd7ae3d417a4140021a5c0e96ebc35aae97a7addb2c55c8309dbb2a6a71a3fe800281b69de3d4a9c7503dd459 WHIRLPOOL 1715dcd48cdd2b95f56acef3306cfd25c6f12a8c98e671df3f891a44e3836833f3db8562d47b909a4d241eb750ab44940d83a7453b7f75fda78e85b8837f63e2
+DIST flate2-0.2.17.crate 47795 SHA256 d4e4d0c15ef829cbc1b7cda651746be19cceeb238be7b1049227b14891df9e25 SHA512 609f2e3c71e8889ccc3682fa62ecf52a068c1e61040b2e0eebb7b8de7784dd595592bdef34c7a03e0587cb3e4c2e2d8de88eec113122a222676cd4fb7d8cc775 WHIRLPOOL d8321ce561abfae57bf0a05afc6e2ba9b5b6d3943a0225aebd31c928d4bf346ecdd125a241f3444b2b35bc36f73df28e3d20956122a89c54e0d1ffc9e143aef0
+DIST gcc-0.3.43.crate 26087 SHA256 c07c758b972368e703a562686adb39125707cc1ef3399da8c019fc6c2498a75d SHA512 27dd847b9466140d8cdd9bd4ac466d2ba26a93f858fcdcc1d58a59b08207f34f283004512faa53c4d8cf9632e0e9199c0f42db6df1db9a8d6b96e72e074af5e3 WHIRLPOOL 2cc832037fae5f5b93b772e926a4a68b8e48fb45cf278c6499e669f37813374208f0ac08e8da2315af80d2d82fdd1784da409a2bd6d0dbef16fe0c215b8b8b70
+DIST glob-0.2.11.crate 18065 SHA256 8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb SHA512 91a1a751bc4ed3b13154aa056180f2b8123c33627cbe972bdd7986fb0b6f1ef90e59abd4128d6e4db5e69523d757440c7df9b9721a61f5ea5a091ffc9843e10e WHIRLPOOL 5f9b80d74ffcda693a008367d73fa0646b1dd73068fcd0075227d15c9bfcc86a05fe8a34163fe9d12806ef10d35f27649459ae05de71abd3a044f99baae041d1
+DIST itoa-0.3.1.crate 73340 SHA256 eb2f404fbc66fd9aac13e998248505e7ecb2ad8e44ab6388684c5fb11c6c251c SHA512 b6ade2740fefa2e437ad82a1b9ad7c284593f3525a6e746aa377e0d52b434f7f46a073df552c5ba9e9c47f1737f349654c38261c08ec762dfd9238a8d9c3d3ee WHIRLPOOL ee7437deaf3fef0ff242212fdfd3851fadbdab004bc805f902420dbe9a264bd7fa60c41625595283f511c2e069357841dec6a54cb7bdae494fc6f85e760bba98
+DIST kernel32-sys-0.2.2.crate 24537 SHA256 7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b WHIRLPOOL 036baa6611f13d76692a5c032e7e8e8b5a82e12bdf13d5a2cdcf4d33020b003c941331f0c8aa774e7f7cc7b36ad7403bb2cbdecb739d7645cff66aeecd59b09f
+DIST lazy_static-0.2.4.crate 5768 SHA256 7291b1dd97d331f752620b02dfdbc231df7fc01bf282a00769e1cdb963c460dc SHA512 80b0168325a70ab11e86f6891ab442e33deb31c9b091d095ffcf5149dbfac7569f5bf5bcec643cd98d9d1ec2f6ebc2af52df383b033efb1559089f128e4d4748 WHIRLPOOL 96dc87b103d46d3b144ce9bd873d6d003960e4ce405fb8600edb3832a36cada85b3a30e60fea0d22e25b7b5ffc641e53c9cf48cb459e98e0cf22278a90b4b6ab
+DIST libc-0.2.21.crate 132909 SHA256 88ee81885f9f04bff991e306fea7c1c60a5f0f9e409e99f6b40e3311a3363135 SHA512 987cb36af3e333ff93a79b0164c24ea481aa72354a9294e9824fbb29bcb4ecc4fc95f68315c5831fc2d59521cb395825e7fd400ca943f36f5dd30b595c34c1bd WHIRLPOOL 70c9a9d9ef40d2e54f5fdec4da4764a09a40c8bc82283e2472b6312ecb3d6e6cf427cd9e969dc12bdf78dc8c9a0be493e635ad83791700673cb99ed35bb1084b
+DIST libloading-0.3.2.crate 14013 SHA256 fd1835a714c1f67ba073a493493c23686a480e2614e208c921834808b1f19d8f SHA512 4c76cf02f4001d9eadc39f13c82de4531c3ef14b72082efec04b10f0b6bf5fd0fc1972e76e268d0d6ee34a9d11e023ce501f347500f19a60be13e83fda101397 WHIRLPOOL 9d2db5b99372f68fff49e4154ffe8b841034eb1e30ad2d336b5dd414ee4c2fbde7691f74d9eede859412c389cc44b031ce11a42823ff94371a1f84136948e204
+DIST linked-hash-map-0.3.0.crate 13693 SHA256 6d262045c5b87c0861b3f004610afd0e2c851e2908d08b6c870cbb9d5f494ecd SHA512 4e93c0ac9fc64beeb3b800ca09d4c701f7fd35a866c174588a9d174604d5b820f43c21d48b4e00143770efb1046a053a28004258754930f2c4ed76b2ff8ed8c2 WHIRLPOOL 6c7d5a218096e0f7e20a9b6d15f18e5aa0162020f8f28f0d89441edc967f7d10a267f65be9236a261fbeb0b7ee586606b9b34da0ae7ee558a009e846d71dbbc9
+DIST linked-hash-map-0.4.1.crate 15510 SHA256 9b660d1b13316edd1f7beb615b1e72c73dbcf67257341854d71bb193f51e886b SHA512 85d22f25bdcfe1eb3dbbb688a6436d519189ed78598348efcb53f40066ffe62962c6d8030b6f1f18ed594abd9270177abbf65c30390954eb9d0cb1ac8745ef17 WHIRLPOOL 4a070350c8114bf6c054bff806ade556d516ca71f9951f4756af1e7ae01d82a17218b6967c004bff5fc57232b2182a3cc8c4983ed68b8e913744d83ef98cd71a
+DIST log-0.3.7.crate 16352 SHA256 5141eca02775a762cc6cd564d8d2c50f67c0ea3a372cbf1c51592b3e029e10ad SHA512 6befd815071738e24b62feb8f45de23d9927406dc185f37c63c0d9141e315cc75077194dc8e8e1d3cddb279836decfcbf077346a086ed7673b43b4aa512e0dfb WHIRLPOOL 168e7bc4e209e7337e3ad12e9aed060859c7a5070b409c4e585a8f1a2697c7f857028b211a21e9cf02c1c8573a530937b0b42b14a89e03a6e740f2b9cfe17e2a
+DIST memchr-0.1.11.crate 6977 SHA256 d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20 SHA512 96bbdb69913966326acba4bb82b8dfe0516edba225ac38b3355d60a2337ca620807750682fff3de7a2a38a7f70f0db7d8c1638701aacca7ab4c14098ba0fbcab WHIRLPOOL af0984d7e8084cc1aef94e486506a0fad9ec81d7be505233343e9fdad2ef0627a4d33bf99c2923959f9604326713ea24a01e2581aaa91249574b6c6d1a6d01a3
+DIST memchr-1.0.1.crate 8221 SHA256 1dbccc0e46f1ea47b9f17e6d67c5a96bd27030519c519c9c91327e31275a47b4 SHA512 70ee14fcba41cf896f563da48c8acc683f8cdf77c54cf9786d6a938bd14eca7bcc22c86d0d70a3cae56b2c2f9eeecad2950be759abf02fc98ef96a643af91be6 WHIRLPOOL aefc15c91d981becfdb7132c91f812430759408a6356aeb2ec3064956e55579895c59cd539ebfc4c76cd09bdf4fcaefa888f99e1ae98733e7f11654f5a8cac1e
+DIST miniz-sys-0.1.9.crate 53242 SHA256 28eaee17666671fa872e567547e8428e83308ebe5808cdf6a0e28397dbe2c726 SHA512 130d872d25ca30937cbe34d93c6c3be359b4613c192b2dd8c542c0f3c2893c15176afc84da8e9077368647bdc0cc584aa995b3cbc8927b5e7de059b6135be709 WHIRLPOOL f2ec3f08804da08fa60ced1810fbcf6108c9ab54442ca39791d5723cf3c97224ff7927d9258b0347b535086b06972137df2322283960849d99a358b01781000f
+DIST nix-0.7.0.crate 70639 SHA256 a0d95c5fa8b641c10ad0b8887454ebaafa3c92b5cd5350f8fc693adafd178e7b SHA512 ef96fc40683b9eca0df38f573b09a4986518f810033cf810915e60eaa4582494113280a1f17d25c1e363a02d8e2d6328cd8a6157ba5b35fe65ae80456bc08e77 WHIRLPOOL de52d575ffbe1c334bbd22ec46b9a50ffe38d71f8b13c7109f8c95218baf34f842e86dc5782ce1f00cb75b42d27d190a8325293e0842b996e723774dee356c91
+DIST nom-1.2.4.crate 68547 SHA256 a5b8c256fd9471521bcb84c3cdba98921497f1a331cbc15b8030fc63b82050ce SHA512 4a1000f56dedfd71b1f91d44c27c07519f81629f5fc24b469d179d59e8b3305c8ae1a418fa60193be1cb4289887af2ad9b9791dcbf1f6e7a5eda36171a314539 WHIRLPOOL 259d6fadb95fabdb486921fecf827b9c7ab39c6e1a82f65d57e364ed4ba3a2c68ef54522dc87edc6079ea7c68f06aa599072c7ebabd58052bbe11bc5d86dbcf6
+DIST num-traits-0.1.37.crate 20492 SHA256 e1cbfa3781f3fe73dc05321bed52a06d2d491eaa764c52335cf4399f046ece99 SHA512 290c7ebc5a0249d9fd937350b854cd5d181dd0ca989a6d9b3d5e05e438343083f40261b4e151f3ce5546e9f9a404cb091b587bb7e1e193fbd26c3317b122c2b5 WHIRLPOOL b6da23ed9dceca1279c069bc1a64fbf426d2fcc79b55912dbbbce70c702644fae70fda09bf0c2fa94a7b35f631298d94178695469b433cb704843f922af04a6e
+DIST num_cpus-1.3.0.crate 6779 SHA256 a18c392466409c50b87369414a2680c93e739aedeb498eb2bff7d7eb569744e2 SHA512 000a17ed9c1e7b65697cd79658ae78b16816aa55ca7ba82ba4fc184f01543c01d69ae19c836f23c2fdcdd78034909e8b0db3e8fae581e220813c628ae56a8fe7 WHIRLPOOL 3000efc26cb12e99186dcf1db0b3a6df53872bd8c1424e1e43a5bff2f9a93fde39cbde8fd9cd98bd29164127df76ff6c6d3f44a92efb2a2dd07764370c9753a8
+DIST ordered-float-0.4.0.crate 5034 SHA256 da12c96037889ae0be29dd2bdd260e5a62a7df24e6466d5a15bb8131c1c200a8 SHA512 c78385d27bf2744042ff690e153af56d35e88c0bd6fbcd4275e193b99b4876187912aa7ca3915de9021bd870ec4c32c1efec45964ca72b38e04ce2b2e3d77ec2 WHIRLPOOL 0a304bff31110970c1bcbd83a2ae07353e26d21ca31fcf138ea74f074af5b864a2709801b9767b7114f465987d3884b754cc0fef3aa605d8fa5f435b8205ac1e
+DIST pest-0.4.1.crate 39337 SHA256 3e2e823a5967bb4cdc6d3e46f47baaf4ecfeae44413a642b74ad44e59e49c7f6 SHA512 b23465a79e8390abd28737f9eb59327e7d4ac2104b5558e08dbb0bc4e2115e1fdddca72b9b1f0a617ba1c947bfe613305cfffcb527be204fbffeb8242f3893a9 WHIRLPOOL 593e354f433b1ffaf02c3f299689acf063127be966f94ca5065cecf4c18b9795226162604b9af12cdddfaed72e1cc1e1a3ef6fd34ac297034801f67bebb4f7bc
+DIST phf-0.7.21.crate 3484 SHA256 cb325642290f28ee14d8c6201159949a872f220c62af6e110a56ea914fbe42fc SHA512 272ddb670e314fa2f01a7cbdc75d247ce71ec29bd9b23d3fc0f30575dfaa3ed6020d64b9506e9c6509a8d132b9ec5da3cef52bebcb752bfd2d4d2b4e7a778da5 WHIRLPOOL 0cc48efd3b14b7f76a904b1d8fc26e60a22746dec40c25956de128d2bbf357a7c8403f01c20181c5adfef20a1afadf3005aeaa04d4913c8caeee3d0317900fdb
+DIST phf_codegen-0.7.21.crate 2498 SHA256 d62594c0bb54c464f633175d502038177e90309daf2e0158be42ed5f023ce88f SHA512 4256fa25c9472a810cf6acce07287aa36c2247b40beed1be0e0e132268e3040471d35ed5103bbd2880410cb7da0d1153c045fa28e851105798281f5f2361a310 WHIRLPOOL aab6fbaae66f87f8cea437004c076103592382bdf15468abb120b0e229cedb84d5774da4acd0eafd14edb1b993dca65dd97a32ede0f6472b4e352272cb84a608
+DIST phf_generator-0.7.21.crate 1821 SHA256 6b07ffcc532ccc85e3afc45865469bf5d9e4ef5bfcf9622e3cfe80c2d275ec03 SHA512 853ce3bab9119225076c1347488f0aefb7cba398d5c0be572c8bc1ccad8875ec6f86a0eaa998773b6ad3788417fb2c6adf78a3b778f36dfa5236fb31ed304c3f WHIRLPOOL 6867d553b3b5b5f6035bbc9505125b3c3424f274d53e1df8f25261182d260e4ed3cbeadfb2a2651143ef4d132b67b84ccbc117184663121b4eb0f9cb634fbed6
+DIST phf_shared-0.7.21.crate 1692 SHA256 07e24b0ca9643bdecd0632f2b3da6b1b89bbb0030e0b992afc1113b23a7bc2f2 SHA512 ac92bbbeaedcbd02d3e62a9c7d0c6f22abeeffc5c7527c764b3e9138a2821dca667a1d3f29178e812b6d81ac50d5e6562b929650a0ee66fbb8d1c15366ead279 WHIRLPOOL 876f6cadcca195637f82480f6b964f2b05bb2d0dbb53c9273b0d9125170a9811f6e2ce2211cfee22d2329c8ba5ac1d1b6ab51a08930b7c3241934067ee1a91e4
+DIST pkg-config-0.3.9.crate 11055 SHA256 3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903 SHA512 084e18e8c91ba6a1b305624d16c06f8f7df994c93cf86ccf443bc8f2669368a15bfa9875bc4f2933e94aa268e15fef783235c98558ba596cfc79dbd31f0b69d1 WHIRLPOOL 6073177f5b36748407371a8199d6b441c2baef4638157541da2aa370ab249a06ce72e7aba01946f9d44c81f1391e34958b3bf42a64f150b3b7d5148d93026a12
+DIST protobuf-1.2.2.crate 168801 SHA256 c3e2ed6fe8ff3b20b44bb4b4f54de12ac89dc38cb451dce8ae5e9dcd1507f738 SHA512 8134ca41baec01dd74a108bac1e636d2ee78403d6fc9ce2330724ef20dc8f713a7eaa7d006952076141b0ce4842ef771a99c3fa42197ea3ba0c6ecb3eb50db1f WHIRLPOOL c0f17245dba1c107175d62ebd734163c437f37b4dc29b25acc5a1f64e5a76baa299f210cbac02f8c510ee2efdf2ad732e1bbf007615e3e2e96e96e8ac04a5965
+DIST quasi-0.29.0.crate 4115 SHA256 dcbf815446dc6a0afbc72d88f9a8aa71b608d10b168e09437c80c0fd6fd410c9 SHA512 0a2bb45a964a0c806969ea51c58636affee66c54ec9c952a295c0b43f57f106ebbfe2ad7188be9e35f39fadc17999b1c91be66b873131f04b04b7725488125f1 WHIRLPOOL 867c0fe01ee9d23b5923bf6c309f0954ebce265ae83fcc13d91ad11dbc5a2557e18718e73ddb361e0c6efae9f5cd27a591c67e3a3e81ba139dba6cff85ef0835
+DIST quasi_codegen-0.29.0.crate 6838 SHA256 b06172e92ab0099427609854ffb1512c377be5fc4beaf572ae5d5a01b8359596 SHA512 9eaec0c3d60b78b09f569fb0b0b0eea36ba72ce0ad10e1ff9a919732debfb7d45c0a0c82f8a065e90491d6f0551f59892da5a46695aaf906d0043d983e33609c WHIRLPOOL 7fab2e6fd10535801f80b141ab5e33eecbdcb296a6043567d08d1dc18e8380e61cb8eeef0827a28eb6f4bf71e316f588f62deae50204c6e71707c7696b7df810
+DIST quote-0.3.15.crate 12041 SHA256 7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a SHA512 2e5dbe725c0f76a81c6624181b43b60b95dceac208e2babaad3fa6d1487794805169e2ffd967659e4bb4e1abebe96505be5a1007c514d10f2a63ef282d699ea7 WHIRLPOOL ad07bd2c4f5b95ce529ea8ced6f8fff4fcd7a7f48c56108932ad9b3e90c831ef724c46cb46117402fde275d98c208694483afb303a99ac2e47bc04092cc3cdc7
+DIST rand-0.3.15.crate 55312 SHA256 022e0636ec2519ddae48154b028864bdce4eaf7d35226ab8e65c611be97b189d SHA512 4c812b1f742adf94fe45c806fd66a360a2490e474db6cc1d13acf4101fd63072429f1b50aa84b51cc742c1624a871a588769f4c12faa775f6f275a028fe96633 WHIRLPOOL 069746a66bf09e20e8fa435c6f462f7c19468480adc42bb4802450eed93db38d4e530e647a4a0b6444ca3b15fc3cc2f470f9649b15c026cbcdfd2a44d491343c
+DIST regex-0.1.80.crate 185806 SHA256 4fd4ace6a8cf7860714a2c2280d6c1f7e6a413486c13298bbc86fd3da019402f SHA512 a160d80f4ac9f1e17d1debe163584f2c6c2ba7a8c49c34a7e11ed945614fe1923714880515a31a1501566e254edad23be40307b452f9216915fa03d3dfaebda0 WHIRLPOOL d49c2d648518ced6e1c2a115c5066351be0c68913187259d0e233cab3061aa2673ea8099d2595f2cf038b8103549ba781cbc28b0c798ed25338469e45fbe8c2b
+DIST regex-0.2.1.crate 189277 SHA256 4278c17d0f6d62dfef0ab00028feb45bd7d2102843f80763474eeb1be8a10c01 SHA512 d098065bc8365e2ec584634bbf2547b89f51fc08825d10cc26fa6b8c81213612a552420fc16ebff322637baff95669552bf95400cbef0bc9a86fe7e0bed9a0f4 WHIRLPOOL eb0f2fcc6a4de9f53f2cb7b9088e8cfdd3cb66d680f52cf5e1bf094e27f31eba0378fa6a2bc12b5a1d6ef50fe755ca3d9ded4f8d461d6d80ee7f4fa1264fa4c3
+DIST regex-syntax-0.3.9.crate 117427 SHA256 f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957 SHA512 85513709816b148a163b73495b1e0100203da6c37d50a7d64368efb82fdac45fdd083d31bce4b193e1aa5926943e5278eaec5b23b174c425b5954d7b716fa506 WHIRLPOOL 7ee6a7b16911662acf6da0735216cf3d9236e20deffc01f52c2374af4077e22099bb48b0a8fe809fc2f690c858b47d631a605f617139030c5b5c2426ed4387eb
+DIST regex-syntax-0.4.0.crate 118223 SHA256 2f9191b1f57603095f105d317e375d19b1c9c5c3185ea9633a99a6dcbed04457 SHA512 c2167926c7bc383c71205e607f21490f434b90a0802eacecd0805c9307bf58cbfa7437e1034f96586e472dfc09d63b2907b4a8179321efb38365b4029458616b WHIRLPOOL e1f860610c4519ff26c4a6cf41dca756cad78bc652f17879d18560cdbfcbe06e101537b380cd25ee072622c3f146a9344f17ed9e140ed7e24f9da73276ca0268
+DIST rmp-0.8.5.crate 19960 SHA256 333f01365885cb192edaa22acb06d7e2f196bfd19d6969419e8b61307e0710ea SHA512 d894ed63d277be765d4dd39b7751972c8b4a801cec36e48e65a39d220ee3de6b20b0654e7dadcd77150f8cfaea2ea6a4bcefd3e89c65d5f48c1278d4491776c6 WHIRLPOOL c3c7812f13be25ea862b3ac97b17f16776ff4b91ad3ee94c1ba5bbfa07714322dc90c8201ff653ed6a79c1a85fe0c3d655d16ea0658cba7918b870927ee30389
+DIST rmpv-0.2.0.crate 13749 SHA256 1b5908ff6ee0a8bf6d17ea970e91bf6e7205ed619b26962ed11c8a71964005c2 SHA512 4f79974e39bd5aeccbc26e8123e1ab30344c5d5f9396807ec8be3a7efc8a9ea692ecfa72a2aa309f7d1d4b12da5de7695984a0bc09f6086c2c2aa48ebef3ec2a WHIRLPOOL c6c2c83efa5365a6d1567cfe7cfb34d9f5a2978c8af38c3426ca78960b7099c61c39773137038df87c40d82fb0295313fa925f5515d603d34fc7eb6f1ab88736
+DIST rq-0.10.4.tar.gz 2831387 SHA256 3abb47fda839e7dd1f86a0137237eaa47c7782c8af108d4fee6de1dd3ee2140f SHA512 e702b4ed082625b856b71ad772abbb7caaba117a686ed72e3ecf6a28102c1f3d2a535d1c8c0b7ae0816e88dc3e3416a4a676785f01644dac89319320cbbb9d41 WHIRLPOOL 9a733d69adabf2c0a52b15a7156f2354c4ac392fcfae43d5cbe1042b523b2fa7cfdfdb9a5aca606fd9b5ff3be74a1eb9e03b8aeb7a47f1c46b5e5bbc69d83ac3
+DIST rq-v8-5.6.222-i686-build.tar.gz 401175081 SHA256 5faa3a9fe549665af9980d0f4075f246a3592e7f0008c92c82dc4b4f9cecc347 SHA512 b3b89e3299c761c9ef087322d2f255eeed0e52faf51eed580847c0f26f69405bcc07b07499c80ec814f976d702c211c8a6fb19858fca1ae8afb710d75c4b68f1 WHIRLPOOL 60626c3a3bbc70f5167e920a0d0e88c9b49dd5d52ae55bff1d5b759fa06a83e22c3c17649805fdb5a8426eb789cad426404e793f1d420b273b8424345c8e4003
+DIST rq-v8-5.6.222-x86_64-build.tar.gz 435523225 SHA256 7c02e9ff7bd6c2e3b0cf75c8dd08b8cfa5745f29e7bd6d37b960ea60f90eccd9 SHA512 3f54cdc19ca87dec8926379bdc5ebe6c9fac6304f5aa15274f89f51baeb692948de27ee41ed7ac689a2b50a070feb2fe1d7ce61f27746cff645a48f533fd65c2 WHIRLPOOL 7d6f8d4b0ce25d538138c75241df3c087193bf68488d26988d44a2e1fef1685fc56cfe68b4c4cd1ec22a9a16e38d68d8c2e3daae768d679f40a160e2f35b1c36
+DIST rustc-demangle-0.1.4.crate 9438 SHA256 3058a43ada2c2d0b92b3ae38007a2d0fa5e9db971be260e0171408a4ff471c95 SHA512 928cf5537343ad3bba3aff4b09dc51921b6823dc7a450422b363cfcb84ba65e19393dbcf67657197cf96fdb4b9b0195f42b3973473f51085610c90c8b49c4e9a WHIRLPOOL 0bdb37e0cff63b2eac66025c947dc673a876d6889afda805ae5232b341618585d83f9bf0db33ee0ac96ac56472a43b4c2ee5e6b55c5f8ee811caebd3ce47184e
+DIST rustc-serialize-0.3.22.crate 45545 SHA256 237546c689f20bb44980270c73c3b9edd0891c1be49cc1274406134a66d3957b SHA512 833649dc82e0a568eee051a37856983aadb3a33ca5d20c02e6ef057c7fad802c19d3131cc7108b33b098a964a2492e43d796f36b600fe3df4c93c76c9abb219c WHIRLPOOL 19dd0ac1dc26294d472410cf7a8f70f550937143c5d2ef89f89d22871345db0e44b0c5149197097ef63733ea8d166bfd922cade4d31bde49c3b5bd1a205377df
+DIST rustc_version-0.1.7.crate 8816 SHA256 c5f5376ea5e30ce23c03eb77cbe4962b988deead10910c372b226388b594c084 SHA512 f7ceb913f93444bf98ff8113beb96fbd013ecd6c0f31c49aeb738f418f2e5a958c54afcce6e5d017d66a2b47e07fee032aa07b0aa748cd3be67e672cf48f2b48 WHIRLPOOL dcb1a492794962200df883c53b0b9a058a2068b1ed8e0defa0bb824c545581c922ab4b32380bed2b873c449e490376ec131bf22273cf567c9f186f9edc4eae40
+DIST semver-0.1.20.crate 15876 SHA256 d4f410fedcf71af0345d7607d246e7ad15faaadd49d240ee3b24e5dc21a820ac SHA512 d24401aa4a1e12472c799fd9d2f50f5965e4d2d4a5eccbd244a3f817797fd58cb073b933d45415a1a8d71084deebe04c2277c435da7f359e510c52133bdaa08d WHIRLPOOL 7c3ba0fe8b278f1648b4833bc4d5725dbcf7262159f564a676919d39c45454c6cf31fe939d65de44e04b25e4ecfd12f78efef99960f4c01ee8d1a96e5fdace7e
+DIST serde-0.8.23.crate 25824 SHA256 9dad3f759919b92c3068c696c15c3d17238234498bbdcc80f2c469606f948ac8 SHA512 537761d0fad243799c63b742b9ac020195ad5575e346080c2cf19b1792d2026bdab6f61550679b8883f7af5e16e98289aa749f0646a6d4b0cb24eec0f7d92edc WHIRLPOOL 7b6210e6ead9977d5e6aa14aab490aa92fd7d1f67ab1b3744ff47a5256d7b83c53b9d08db1011da980a25fc238df3992f721e6666b52049cf390892f083ce3a8
+DIST serde-0.9.11.crate 52571 SHA256 a702319c807c016e51f672e5c77d6f0b46afddd744b5e437d6b8436b888b458f SHA512 985ff9fe37e16289c6841296f7c98d1e079f33e503ab9d5f51145d0ff45da3b6367cf373a4027035521674c5da327bfa38c2afd342b5faab3d4a9ca44eeed2c4 WHIRLPOOL 94c57370140181b214a10c1463cbf0a7f516b22ab71d9c8572e5440c21454213c236a8b2a35db1851a3a344909047c92ba2daa82771f5e0c3a5a2dc92d1ce574
+DIST serde-hjson-0.8.1.crate 23130 SHA256 7a2376ebb8976138927f48b49588ef73cde2f6591b8b3df22f4063e0f27b9bec SHA512 6035b449eee70ffc7cafd2d82eb68c7aba79e25ce8cef56e1fefbedf66109ce4ac2a3bcbeb7c8f6f1f8af7c5e29a24be7a7455ce3a63c5b4ac50e436c0bbc718 WHIRLPOOL ab1e3337319f4effecb98436d9807149eebcc8d8c850eadcb1134f0c4688c62b5c37ef4ab7ee9998578f9e92e96f77e2fd8b3a494ee78dd4b27ad1cf7fb9d7da
+DIST serde-value-0.4.0.crate 6978 SHA256 bc5d36f174505bf11e926fb8f56c0885bc2837590f9bb200d6135ca5f88bb99c SHA512 5b8670cf2bdcd93813609a18112a6a35c1a59863c810b8febd4426fe6cdf84ff57b78b6fa31815d2b1d02c2c8b355302864c58fa99eccab0c4da07ab4f34cdad WHIRLPOOL b908dd2a607e4c046ec565f03162e34a95a480f80084f31d40a0ae1f26e30e96e9a92acbab41d38ef41cb594dc13ace8bae6c270ca0c3141622285d8ec9a7727
+DIST serde_cbor-0.5.2.crate 20389 SHA256 970990c7302c505495f76e26f414d87113ad304babdec390b0631c947d0e9744 SHA512 c0cf7d0441afc0cc7a03f8ff31fd836b4ab1dd42005efd4c72c4dff145212a40fd77a3e5212bff95c64f32e9115f8aa012f8cce2fd6cc81dcb0f2b2d3656af3f WHIRLPOOL 6f5cc55c727a7547a2d59b855905287c37ec11af94202514c641b1a5b50d1f54cfb71b209755ea3981416ada119053d3624185bd1e230b55d45c71f590247eb8
+DIST serde_codegen_internals-0.14.1.crate 12211 SHA256 4d52006899f910528a10631e5b727973fe668f3228109d1707ccf5bad5490b6e SHA512 db3407c83d3ef0714073565f03d04256531547d9821fabb6bf0d5e7ecb7d1afbf3e70b1644683a063a116a7f0fc7fd3b5761c13cfc157d2bfdb7fd72b31b115c WHIRLPOOL a418202de45237a61266ebe1d76181e2cc46d47f9388d679781b8292623c5dd095564ca45eef9d3401fd932c1f3a28a398bd05893ea263118df78e2fca0ce3d3
+DIST serde_derive-0.9.11.crate 19929 SHA256 f15ea24bd037b2d64646b4d934fa99c649be66e3f7b29fb595a5543b212b1452 SHA512 f8855892337ead9f4b8ba541b4980b358f045a63ea2923709989e61f5c23c8327e37114dc3724a17113d89027dda03c3d408fa3e2270a9b61e57837852b25311 WHIRLPOOL 72e7a43e3d50c5a183e77c5b03b001739fbfa948b05ee1ad567628fc51b74acff04ba409d41fd7219fde6dfc2d84fe6a1f7c0c4d9074a25fbade979e4058b08e
+DIST serde_json-0.9.9.crate 46711 SHA256 dbc45439552eb8fb86907a2c41c1fd0ef97458efb87ff7f878db466eb581824e SHA512 cb1a1f3ccbb8aed77d92faedbc679758ecb9ed2d1e73fe310638006c42c48a3dc7b8c689699e379f94c4f155e94c5692579bf003eb341d3f943d46034c0539b4 WHIRLPOOL 4d720e7594c30b5f21c12f3427eb036e84766731e07cc3055876bf58592b1db85a45123e1e1752b85da21f158869ee2f6aa2f20348f71abf67063f1cf84eaa7f
+DIST serde_test-0.8.23.crate 5068 SHA256 110b3dbdf8607ec493c22d5d947753282f3bae73c0f56d322af1e8c78e4c23d5 SHA512 bde1913e885d47eb1f96b352baa3f6d4f0771fb9cd35e3d0e6a43a1dfc9abb6e58a2191947d8e3c75ab6023e7ae17c6ffa5ac89c1484099ea30dc248e59c59dd WHIRLPOOL ff17dccda127a838c0fc5cc6029228fda790b9c7542437cb53ba6f6fb8cb485790e2bdabc0ce0f0a0b70fbbfaceb0d6ad7fc6fa3916c17c7a9b9ecb44d9cdd11
+DIST serde_yaml-0.6.2.crate 11451 SHA256 f8bd3f24ad8c7bcd34a6d70ba676dc11302b96f4f166aa5f947762e01098844d SHA512 bf6cac18984d5669a91644f0d4a074c609a94613e23359240a5c79c9ad3861b547b1795915e886c3b2345fc326bd52d991441d52a58e52b14b9c4b0f1ec27939 WHIRLPOOL fafbb9f820f001965a70aa9ebdf9a99464a11955768b0748ff2f774724078f21207833229bc214b8f7462ccedfe56ffd9c04ccfa01a748e66c4726da886809c2
+DIST siphasher-0.2.1.crate 8339 SHA256 2ffc669b726f2bc9a3bcff66e5e23b56ba6bf70e22a34c3d7b6d0b3450b65b84 SHA512 3e44112c5fb82e9fe21a70a9aa8d4eb4dda22c4c7f59c165169c2d6b1f642394587adf1bf506d4493ae2629200e6516d998fa6a24c24e27b1a70d2680c723ca4 WHIRLPOOL 86e1d0a5c65720a6a2bba753f95f427fb89ffe5d04b859414d4942e04220eb7659a589ad90883a61bd60beaa6ec809401393c0a84955e8f9e61c98aea81ccbc2
+DIST snap-0.2.1.crate 1072209 SHA256 25c978e9e02e5951111d84a39660a521b5084d008cf92f3e040bb3dac5d7b631 SHA512 751e15ed5a969ead2645ecb20db2761666c757f6d24b6053ae625d9901e926480a0a6ff209b5e800f98d1d2f4921d0f2e791c1e17ae7ed0b26aacab439f06079 WHIRLPOOL ef079206defbaeb37eab250211120dabc55d711d6bf840c79654676a0b5006af75fdde0a832ee2606aefc3971d0c374c8d3f77069eecc3dd64d757137969b9a1
+DIST strsim-0.6.0.crate 8500 SHA256 b4d15c810519a91cf877e7e36e63fe068815c678181439f2f29e2562147c3694 SHA512 43cbcf2cab7f91515f52f20719e8013cff23807ca79a9a69f1997ec1ba2eacf713d64c88e33f4c9ba852fb3dda4b87e943587ae4b6ff5bfbbb81deb6dbf76a97 WHIRLPOOL 5fa5b91b22ed2d5ba22da674568e5ea374fb05d722796030c3d5198aa42552f7bf47b51b54ea6d62b4e9bbcfd50bdc7ef450ac23e6e2e99dc00130b972b460ca
+DIST syn-0.11.9.crate 62342 SHA256 480c834701caba3548aa991e54677281be3a5414a9d09ddbdf4ed74a569a9d19 SHA512 5df6189f9a3ed0633b1941ecbfb71bac60837d577c5abe523172d9985c809d98d4732662bca7c5c44636ea4c3f23418af74e17238dd0506554a70b3f865f9e14 WHIRLPOOL ba30a5421a6b45103c7a714e62bf6498fa5deb2d8ae18253388dc0bfcbe3e391557bf82c045849c9c25ea33d4c2593586a405f94b7432a928c3c1a411e33aa6b
+DIST synom-0.11.3.crate 17120 SHA256 a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6 SHA512 a9c75d667be94c82c7f545e0569bb5858afd1bfca6e045fd52f4ae18ec4fd440e7d374ef45dafc97bda6c749cd4b4e185d8192b833661657323229803ef4a28e WHIRLPOOL 666714780fd8450258f6a5c776c307b9aa1f6c043014d40083a10b7e4a48b3ebc36493e069a2764d60b71e61ffb963d5ebabbcbdf3d1a3cebfe9f2cd0298dc45
+DIST syntex-0.54.0.crate 4170 SHA256 bb3f52553a966675982404dc34028291b347e0c9a9c0b0b34f2da6be8a0443f8 SHA512 ebeb722ebd11c0e87e2e7ae3b8adfff9e29f0057320a876d72aa1eb547c9b85097ee252f54561cfb84112b120a9c3bee93c082cc8a37bd307627d08f4dcccdaf WHIRLPOOL 93683d6c79cc3482bf76c719c70e70299f058fe2c06419892bee7a2deaa623ca52f663ecdfdfc5e36dce7bdbed6687566197d2d4ceb62b283cba1a2acd221f36
+DIST syntex_errors-0.54.0.crate 20743 SHA256 dee2f6e49c075f71332bb775219d5982bee6732d26227fa1ae1b53cdb12f5cc5 SHA512 739ffd41122751af969c069e49fa82b8eb8a026c14e11364d37d71e168aeaadbdd692cd12a3bb3191eef1815e7022b38727863c90cfbe8739243e1e82d4014c4 WHIRLPOOL d40285d110d59e73ebb1cf0d9832ec766b0e23ba358efc1f87222a1e3986b01982ecf6ee0abea7f3e9aff807b24f160919e4e04dbd444c0f92f1885b4a2f7b47
+DIST syntex_pos-0.54.0.crate 7297 SHA256 8df3921c7945dfb9ffc53aa35adb2cf4313b5ab5f079c3619b3d4eb82a0efc2b SHA512 8995a3e67fa391815868350f8043b37983ec7fc14654382191928c6033cd4334735cd49012b41cbc23661a120c35f1257f7d1f9147cc7cf3b65ada4228e32f71 WHIRLPOOL 67a7948307e1396f0d9dfaffc4ca93a8e21497f2961c8e126ea33401b694932a497941e2cfe7c4895f2a4c0b5cbddca0677e8725ce842e804df6798284635857
+DIST syntex_syntax-0.54.0.crate 264005 SHA256 dc960085bae44591e22d01f6c0e82a8aec832f8659aca556cdf8ecbdac2bb47b SHA512 bb781bea73fe9ea2fa7d1865d573f311645da3a7d23aaaa2a4195ea10ec5aeae6ed0af3314b0e7c1bb1bbea344897ccf08ba251b907e9e4f7b30ed8cfac74f3b WHIRLPOOL ad8a5a02cd43629159ffb96548c8690028a0120889d5ef7de491c37572e24f2ac15e39a8ec6d5f118380e4b963c64a0d0ec71416f60b50b20ef4c43e1b264ce0
+DIST target_build_utils-0.3.0.crate 7591 SHA256 f42dc058080c19c6a58bdd1bf962904ee4f5ef1fe2a81b529f31dacc750c679f SHA512 597e6f1ada25242d7c148ac662be31b0f878b54b73f10a36c1c7cee48567df6a00fce521cc57fd98c8afb1ac336b37ee2aac8ad36fdb3e5857b6eab8cef15c89 WHIRLPOOL 4fb096822b28bea4c483532c33e767296cb91a9181f79af6556f69a3a51d7beb6e282ec178eec4041f8231f4e2ffff3607888f774fcbd2e6826fbfbe5e3db9f1
+DIST term-0.4.5.crate 37496 SHA256 d168af3930b369cfe245132550579d47dfd873d69470755a19c2c6568dbbd989 SHA512 ffefb5d3611eedea8508611e6c27d9da32070f2e8ba998cbf060791ac36a2d58b310981c742f638967f0a0a7de70ca40b4b6fb093d3fb643b01cbf73f8e624dc WHIRLPOOL 376fdcb7b4831d29c24e1f288d29fc156bee1d1d9b8d857698757d059d4f940b0e17621d374dace7ec3eee0b4e786dc19ab249090d05cbfc60ea110fb6fce390
+DIST term_size-0.2.3.crate 9407 SHA256 07b6c1ac5b3fffd75073276bca1ceed01f67a28537097a2a9539e116e50fb21a SHA512 09a7e95e82c673b55b11acd18b9a7f9507247967f5ec9d8576aff91b2d64f68172cab8dcdd3a626c1d12edabee4f7b55c72db0d7eed3eb89d049e2cad4d59261 WHIRLPOOL b34f0ac82c87d250dba970d04df740fb5419f1f0975d3485deca3c61ac08f8fe9290b891d1affe770bab36235ddad05e0b42159ef208ff77a7d070cc8d0aec03
+DIST thread-id-2.0.0.crate 6108 SHA256 a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03 SHA512 9fc73cb13dd70f6f323161667f7a253b48c4e11d074457fa033b3617dcaf7ba9aa95f12801c4c045e7e9c07dd4b63a83f79701b489a9d97aefde07970064d9b0 WHIRLPOOL 88a26709bb3a6b27ab102e4414d25f20361ad92be89662c59c14ceed8a84eb17249ece8f250fb082e85acb75835ea81d1f5b62358e57e1bb1bfb96dac5d6e1f4
+DIST thread-id-3.0.0.crate 6240 SHA256 4437c97558c70d129e40629a5b385b3fb1ffac301e63941335e4d354081ec14a SHA512 39d02053fc3b0f667e0a0e8d8dff26ab393d9fcedecf54541ff3cd5abd0fb25a445a4a72160e97fb36b137ca15f7e8e751cd8bc93d537d73b743049146e92bf0 WHIRLPOOL 033a9da0f8757b075560f624f3fdc20674d82af54501a3a777203dd8b6830a4dc9f33220b22f5ff99a3fdc780e9ff8854641da707107126b043592482d8dea0b
+DIST thread_local-0.2.7.crate 10954 SHA256 8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5 SHA512 adc9be75120fd9e27429d0116cc6774a519ed9a2348db122ea90864947e4c1e1c98aeef740e7f8d28861b1db0f4a9340e58e13c1b3ece1fb3320058ea7a47b35 WHIRLPOOL 5988b0a217254ee39387b34dcadd9f44243a2403fabb33b3ce56415910b27e0ff887ec209af1f25e40ed4f3646e840a903f156c5546b20b640aa44463adca44b
+DIST thread_local-0.3.3.crate 10964 SHA256 c85048c6260d17cf486ceae3282d9fb6b90be220bf5b28c400f5485ffc29f0c7 SHA512 19b4d445c2688898d149a05aec7c157f5c8cf48a60fa98b8890bc70ee8f391fc94d454ec218002063bbaaa715326957ab2dfda0537b782a2643e908b64e0f22d WHIRLPOOL 2da568ac1d56844575733a502d25e1ae1140f1055ac1057a1656127b29eeaaa99bcf4f4897ad81848f907a3bd053724dc192596f53efc702b399c78e2cf3a64a
+DIST toml-0.3.1.crate 54005 SHA256 3474f3c6eaf32eedb4f4a66a26214f020f828a6d96c37e38a35e3a379bbcfd11 SHA512 5b605eb1d72a8132f2a1cd9005577eb24b1a93a597e69aed883a6069bec84138426cf7facdb922065dd57b66e5f6d7522a64a410d16fedf0394077b92103271b WHIRLPOOL 905c8f2c893ac78e42b5ae61c1b894a6f84eaa873698803e916b6ab63235109c410759238d45e14e2027e46f6024c2ab33873f5650be5586f7cc4bbfa05dc81e
+DIST unicode-segmentation-1.1.0.crate 65559 SHA256 18127285758f0e2c6cf325bb3f3d138a12fee27de4f23e146cd6a179f26c2cf3 SHA512 1cac2212b05d196ef3109390a9fd902430d88f01a8df9a66367c2535ebc57546ba5a923e0b1262f9858ad5a6851e6aaf7eb22d20ffaf1ed77d38009e7af64bc0 WHIRLPOOL 2cea3383dcf22581f0b3ddc33bc0b11ff2fde81ace4f3189a1210b48e41cfc6677bc43836f224656c0de0d7711748b6482fbdcae8fd3bd1ec8cb54f8540ec0b7
+DIST unicode-width-0.1.4.crate 15283 SHA256 bf3a113775714a22dcb774d8ea3655c53a32debae63a063acc00a91cc586245f SHA512 f06b243e533ab9c68d88ccd06a283dfff5fd13e9340cf11bfa74473fc9100bb704c34e7fb66919202a97e7d2ba2e7eed968eced02d557835a06e6a0166865ea3 WHIRLPOOL ddbb1fda0e2806a6e9d4c017b9c31acce44b97b3470c2992e424e105b801d7a5d44ac9a7e2b4f2e10c79c95cef0075c416f56db485b82095e0cc44e51f79897e
+DIST unicode-xid-0.0.4.crate 16034 SHA256 8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc SHA512 7a3a60936a18d54001dc477f6da1c9784bec53263f13e5c21ba00228ae4ff09f7bb8445cfb39febde957b8500bd1a4a998cc5cfd18046aacbc68e9993510e091 WHIRLPOOL a66e7aab6163d220173d678a374b2a624a83e619a212a7f38602f550f2d35f614fd2a1024deb66a03cfa5c513787563455b3204157a40f2e2415afa51ff1bec6
+DIST unreachable-0.1.1.crate 1772 SHA256 1f2ae5ddb18e1c92664717616dd9549dde73f539f01bd7b77c2edb2446bdff91 SHA512 81d7e8740630ef90341bed76f5be55c928c1f28cf46ef23431a7f610445cae884eea532df805784b2fa04034e831255a3102a29fe2c228b8c1c1afe15d01cca0 WHIRLPOOL c37385d8bc63262243d04ff7c9bfee7180649d715a148bb6b09a84745e9dea4ecfd0aa0cbc53d3cbd6036cbff214b00dc24cec2148e36beda64be2b7f5d6f4b3
+DIST utf8-ranges-0.1.3.crate 8422 SHA256 a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f SHA512 84bd9b67c423923b856452e113f0d786ac438bc7f9b4d4d9f31f6f91f141a8ac4c93f45f722ac5a8a4bac8eac0e355fe7db1eebc62391709326e9817eda8c374 WHIRLPOOL 05b6f88e1ba81a2139d38d0feb60781976859adfc46731ef322a552b17db71e0bf61c6626432812fb2e0ca45ce10a5438d9dcf218a962ef7415187adaa0280fa
+DIST utf8-ranges-1.0.0.crate 8599 SHA256 662fab6525a98beff2921d7f61a39e7d59e0b425ebc7d0d9e66d316e55124122 SHA512 da498433597582970860db1c66ff1cc2ed8b0e2bf816e6aabdb40424ec03c3f28e6ca5e7592e464442004077735dca4144acd13c8f6a2e799d67504699422643 WHIRLPOOL 58e23f2f0bbf86a8336dd16082fd0f00d32357b0ca1b3620634c54cf2678b7e27a1a8da91cc3d72fe8325e34fe3a06ba4e290bb71cae47d6ee8eb77b8599b59f
+DIST v8-0.9.6.crate 24925 SHA256 78a82a9846fb37087480e32e94361d14974f47d7b2f43e5ad96178f00d19f6ff SHA512 6e323da9db8e0c1a0b10dc9a47df81b04c97b3a2aa2da3908ee7f0ebd82e88eb1069f505dc56fcbfea6f9dd36ced54f1f434cbdd6876d7d06eda4beff26c6715 WHIRLPOOL e1a5e9c6900ca15f6b5a2081d3aea4f4febacf7421667fe87930a4c31e9567497dc1a62788d51bdb1db185475e8e110210ad50b4cc6d2c2b4b49c57e2370bbe0
+DIST v8-api-0.7.3.crate 5941 SHA256 bab44f0aa53ea6af4ff714ead560b6b1a4d7c910e276116a76674c5a3b343c24 SHA512 0b079ed7629669e17e9d76a5596e6afc1508262f80d32866811589b0508e7dc7e5c5103de78de0db93e3238ab6fc1bed3333c15664340bd4c92cfa78e2e4d9c8 WHIRLPOOL 207125809a1a377dd31b251725959bedde6692d02542c88d63c1ef98a7413fc1f3afdc9ac1d7fc39d1fe01aad068cd24a259c6d39226acceb111dec49335e9fa
+DIST v8-sys-0.14.7.crate 12119 SHA256 9eaa7dce0c4e2f36ef7cbadbf8adafaa9fedc032a9ac4ad1a331ba590356220a SHA512 a67cc73634c065a57097a6f4a3cd242cc11bb1f3762b34a595b023ea981781d13a72f06e8111b06422fb9925a9b5a8d9fb067c18e6df89cd4c3934b919781d08 WHIRLPOOL ad0e8f2c9d64e4e20d75d8c5f602c5b03faade91918f4b4f4f2f6e77e7ad3c6dc90fde848f0f7eecf4e71148878160387c5ee27bfd94c4c832113fc7131dc76f
+DIST vec_map-0.7.0.crate 13455 SHA256 f8cdc8b93bd0198ed872357fb2e667f7125646b1762f16d60b2c96350d361897 SHA512 ce4b3e1ed8a7846ff63dbef7051cac76232295c443f560d3c5f7b658a2123c7881c40ebfa90907d500d3e943beaf32b25c8a8068999ac7a28528db273f2e0983 WHIRLPOOL 7f37c7be44e1700d3b45c501bb11205da739855cdb32745a11ec4266c518c9bc8fe7c945e87cdec75e0d83cb31039c445a807fb9e56035748d4dcad8c01ff9c4
+DIST void-1.0.2.crate 2356 SHA256 6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d SHA512 1cc7d282600dc0164d7e410aa895d5dc99de1174991549c6733c94cc2027026517f66797751d737869eae58c560fa26edbf43f36b3015eb2fd99828fe40e0aa1 WHIRLPOOL a1e8bf644e79ce0bfcccc2b05ea357400fe6cb61bcd4adb0360b109affb866ec305b30a11549aa35b765fd0f32420e7d5cc741cfccd3c2263c60f1cf7acc0136
+DIST winapi-0.2.8.crate 455145 SHA256 167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a SHA512 115e6f027cdd4a56f77ca24f4ab249d2a6cac1e1f955c826a9b6ee05db4861790a533f5e674aebbb540370fff52ed41618c2cd7c906e73200e92df213109cebe WHIRLPOOL 3dce71a6927320e3882ba60a24630a9ba8d123b73d8da6b9330e422580af9d9b0a96748d7368767e3712185877ddec6978b924d40428341c4de19b76ed375af4
+DIST winapi-build-0.1.1.crate 669 SHA256 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc SHA512 8b0a239e205a5368892f41c870a8a7ea16e3468c364b03382bef7fa3a2e7159b09c07661e95b1227578f6d72c14879daa4444b28c51ae20ef15d985d59ca5a77 WHIRLPOOL 036080513776fe806cc9dd68bbf5b797776b98ca9fdceaa4bd77c87c66d2e5bd0eec8b0e7f0100dab8f2ced754da058f67e651002c786b4992c2be416a5d52ff
+DIST xdg-basedir-1.0.0.crate 9720 SHA256 0095d076939c4f9dc76ea678b45e94cf0a9fe0fc1c1c3c2cb6b1e3a3ccfcbbfc SHA512 3641b7335095b72eb0701d1c287439556d92e3ffe230f61aa5b9e9cf4260e618f8e04584dfcff72ce4888688cffada1b29cf54b747ccb82e8737dadd9f40a30f WHIRLPOOL e48fe74e6d7849f296274ea3e69e87729b7c1c1d67151b2dfbdc9b5301af3717bce543bb5af5075bc784530f4f5ff0449368813ecd35c0528e986b37049a0f9f
+DIST yaml-rust-0.3.5.crate 42087 SHA256 e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992 SHA512 0cc2a0f0b308e13c16bb2c3fc797eb1a0bcbfc285f0b42446359099c58a290a545d1589c09a2c779d5dde4f8c1f4261bc117f2df0359e281b995c7a115e5994b WHIRLPOOL 0cc0222c94915d32bcdd4c1e401d14aaf8f1335371dd7ec943c61e9b5598c74952748c9f088c016db38839a9f44abb866856cdebd3700641f4aef93a8e869005
+EBUILD rq-0.10.4.ebuild 2771 SHA256 80d8154d684300acb2977234fb475142ce5389d55fbffece63f9962b3702dcf5 SHA512 b71caffa51a4573e97156f0de9e87cf2fae23f15c448f3e74db24e1c4d345f66f1a98f04cbb1383f09bcd56af3c78a60dde64a84c3ec42726b7773f653c4dedf WHIRLPOOL 4e9044e7c386d411bda7a882c3ec83155f6bd10198b1cadb27dfa259d1d86613f894f7eba153c8b039b0367ec0aef061b37619fc6d511ceddc4a62417d795c8f
+MISC metadata.xml 322 SHA256 e013d9198a5697bc4a7b348cf6d521d195e70b58fc199d430b14aa20e12851a8 SHA512 6ac5d6db417074c911c38aaca454ec46685d39ca844735198286e01d0df816b2f6f8acfd846f4faced029efc11943f9da1be871458b95eda136824d6bb4e5d0a WHIRLPOOL b68ea0042114445f5f056f4548a2f2207f1df9072529b0b4ce0ec521c9c450233ffb021153e8b333a7dc54129febe62e09d327add42644cc7ed6f2f8b3100437
diff --git a/app-misc/rq/metadata.xml b/app-misc/rq/metadata.xml
new file mode 100644
index 000000000000..4f9bc1f21fec
--- /dev/null
+++ b/app-misc/rq/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dflemstr/rq</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/rq/rq-0.10.4.ebuild b/app-misc/rq/rq-0.10.4.ebuild
new file mode 100644
index 000000000000..63e37a15cafb
--- /dev/null
+++ b/app-misc/rq/rq-0.10.4.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CRATES="
+aho-corasick-0.5.3
+aho-corasick-0.6.2
+ansi_term-0.9.0
+aster-0.38.0
+atty-0.2.2
+backtrace-0.3.0
+backtrace-sys-0.1.10
+bindgen-0.22.1
+bitflags-0.4.0
+bitflags-0.7.0
+bitflags-0.8.0
+byteorder-1.0.0
+cexpr-0.2.0
+cfg-if-0.1.0
+clang-0.15.0
+clang-sys-0.14.0
+clap-2.21.1
+crc-1.4.0
+dbghelp-sys-0.2.0
+docopt-0.7.0
+dtoa-0.4.1
+env_logger-0.3.5
+env_logger-0.4.2
+error-chain-0.9.0
+flate2-0.2.17
+gcc-0.3.43
+glob-0.2.11
+itoa-0.3.1
+kernel32-sys-0.2.2
+lazy_static-0.2.4
+libc-0.2.21
+libloading-0.3.2
+linked-hash-map-0.3.0
+linked-hash-map-0.4.1
+log-0.3.7
+memchr-0.1.11
+memchr-1.0.1
+miniz-sys-0.1.9
+nix-0.7.0
+nom-1.2.4
+num-traits-0.1.37
+num_cpus-1.3.0
+ordered-float-0.4.0
+pest-0.4.1
+phf-0.7.21
+phf_codegen-0.7.21
+phf_generator-0.7.21
+phf_shared-0.7.21
+pkg-config-0.3.9
+protobuf-1.2.2
+quasi-0.29.0
+quasi_codegen-0.29.0
+quote-0.3.15
+rand-0.3.15
+regex-0.1.80
+regex-0.2.1
+regex-syntax-0.3.9
+regex-syntax-0.4.0
+rmp-0.8.5
+rmpv-0.2.0
+rustc-demangle-0.1.4
+rustc-serialize-0.3.22
+rustc_version-0.1.7
+semver-0.1.20
+serde-0.8.23
+serde-0.9.11
+serde-hjson-0.8.1
+serde-value-0.4.0
+serde_cbor-0.5.2
+serde_codegen_internals-0.14.1
+serde_derive-0.9.11
+serde_json-0.9.9
+serde_test-0.8.23
+serde_yaml-0.6.2
+siphasher-0.2.1
+snap-0.2.1
+strsim-0.6.0
+syn-0.11.9
+synom-0.11.3
+syntex-0.54.0
+syntex_errors-0.54.0
+syntex_pos-0.54.0
+syntex_syntax-0.54.0
+target_build_utils-0.3.0
+term-0.4.5
+term_size-0.2.3
+thread-id-2.0.0
+thread-id-3.0.0
+thread_local-0.2.7
+thread_local-0.3.3
+toml-0.3.1
+unicode-segmentation-1.1.0
+unicode-width-0.1.4
+unicode-xid-0.0.4
+unreachable-0.1.1
+utf8-ranges-0.1.3
+utf8-ranges-1.0.0
+v8-0.9.6
+v8-api-0.7.3
+v8-sys-0.14.7
+vec_map-0.7.0
+void-1.0.2
+winapi-0.2.8
+winapi-build-0.1.1
+xdg-basedir-1.0.0
+yaml-rust-0.3.5
+"
+
+inherit cargo
+
+DESCRIPTION="record query - a tool for doing record analysis and transformation"
+HOMEPAGE="https://github.com/dflemstr/rq"
+SRC_URI="https://github.com/dflemstr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ $(cargo_crate_uris ${CRATES})
+ amd64? ( https://s3-eu-west-1.amazonaws.com/record-query/v8/x86_64-unknown-linux-gnu/5.6.222/v8-build.tar.gz -> ${PN}-v8-5.6.222-x86_64-build.tar.gz )
+ x86? ( https://s3-eu-west-1.amazonaws.com/record-query/v8/i686-unknown-linux-gnu/5.6.222/v8-build.tar.gz -> ${PN}-v8-5.6.222-i686-build.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="sys-devel/clang"
+
+src_prepare() {
+ default
+
+ # point to bundled v8
+ export V8_LIBS=${WORKDIR}/v8-build/lib/libv8uber.a
+ export V8_SOURCE=${WORKDIR}/v8-build
+
+ export LIBCLANG_PATH=$(dirname $(clang --print-file-name=libclang.so))
+}
+
+src_test() {
+ cargo test || die "tests failed"
+}
+
+src_install() {
+ cargo_src_install
+ dodoc CONTRIBUTING.md README.md
+}
diff --git a/app-misc/rundeck-bin/Manifest b/app-misc/rundeck-bin/Manifest
new file mode 100644
index 000000000000..26d01cef69ee
--- /dev/null
+++ b/app-misc/rundeck-bin/Manifest
@@ -0,0 +1,7 @@
+AUX rundeck-bin-2.6.8-profile.patch 1584 SHA256 56b26ef883097a1f11a12138ea2cee26a024de39699e6b04adbaf07e368c97d7 SHA512 f238ec1e7def87b214b5c1a940776705bcfe0f9d43d072a48a800f58ebbf77372b2b070ee18e43c0f2a2746a0155014cc5b41fb47fa967ab7499700489f4fd0f WHIRLPOOL 38db64e50655502ae5b6092446ae8d0c5a45d63154664533eb56284dcfe85246ff3172b705ddd0d62d7f0a71b31213397e661a93e9ba50560c9099f1a592b673
+AUX rundeckd.initd 452 SHA256 8e0d98910e5db0ba8b3d8b62b286952ea224730f8e4df24540230f266b141d3a SHA512 2c63e56f291a413c0328d036d8e8172112d1ce58a133f8b7e3a76aced774e0640e03b0b2f365870bec38faf753aa0c4090dc4813c1cde13a2a444d465476554c WHIRLPOOL 7f5b13416c77ff787a28efb4e3c4baec793c668926040d3b601c019398b4accc269f45f7bbeb4971035f19dd0492772a62cf36dc3f5e96dbcc4a1ae685ba67ac
+DIST rundeck-2.6.8-1.20.GA.noarch.rpm 101053077 SHA256 2911cc3efacc9dde54e57e7226d5fbd94d96038baa44ad903825299ac87d8c7c SHA512 15620e306c10cae09eec95c43207cf88ebce69d4c7fd70289fac7f2f580343c623d77605f3dd5aa98cc882ec3512196aa431a2ff72e453780b415d19ee8bcebd WHIRLPOOL 509d514e1e7487f4a6ea1c4890dedf91eac93eb7a49fb8b3f6de47aac86535572c0b5d4154def19ce932cf05b7b5dc917e4da80fed215947e07e2f3804e12ffc
+DIST rundeck-config-2.6.8-1.20.GA.noarch.rpm 9460 SHA256 aeb047f9b40b91099a5b6ed7f3c658c488d7b6698b4c703c6982874f400b9386 SHA512 ab4b9933bf942706cc1b8184375122d3e122e960761582d7b00b2a8981dc9b6cd6442ad8e65699db9e80e0a64b921f2916527f4c2263a58f70363e63a99b95d7 WHIRLPOOL 1f6a4c2c475c5cfce376921ac5f5f399febdd693b3d70a3db2cae253f2a33fd21e6c348ec4f4e41779cac18e64e49258847ec71a64e9f632e899297cf1210ac9
+EBUILD rundeck-bin-2.6.8.ebuild 1277 SHA256 d6577e3af9f0cbf0b5f608ef0b2aaecc803cfd5ca02d4f3fa0fd90b672b7b000 SHA512 e8174725622e3a8619194c50918ac68e97dcecf312d0d1dee3596e0cb23df1f195c1dedd5a162d75385dbfcbf3e87801b0581e4be7baee2c806d8a200ce93f49 WHIRLPOOL c0a8dc62a431b1b92727e9ec506fc7e780a8963b5d3dea4564bdf2ae4f5a57be90e83e3e949e3cb3fbf884dcb0a86c80d6c1a4bee5ff4e8427131ce1072ad470
+MISC ChangeLog 384 SHA256 c7d465107e3f01c3cb63f9907e6f39ad6f7e630c96b5bb17b881668ab0cb0da9 SHA512 88125608c484c9e39ec7546fb8e4edb6e97c1ec95ec7eee7eae26d626ae077e475518b9d1fb68b83df988631299a24207346f1462dad5d2d918293e51277eb62 WHIRLPOOL a412f05590f1dd685dd0f24ebe181b856c2664b3717bd8e417eed6cc3aa9c78dad82670d8695b2774b70444fd183137817262774db6867bbb0bc273d525c4de0
+MISC metadata.xml 446 SHA256 e289224c7949a824da4eb1d52175b4e3d1cce816cde949a958fb1065c71f7708 SHA512 920ac4a31f6d230aa42afb98a197e7faf6cf13fc7ae77cab7824ab9f6ceac6aafd0b12f7e1478354304b754924f70d315ef06dba13ec51c57af3ad65154fb54e WHIRLPOOL 11ed3a9a55398a3d338de9f908648845314c9e6b8789dc18aa516e689096e03d8c7acc339d79d3ce9b0ef6e0ef6517857672633938e92a89de3aca9ca96d34fc
diff --git a/app-misc/rundeck-bin/files/rundeck-bin-2.6.8-profile.patch b/app-misc/rundeck-bin/files/rundeck-bin-2.6.8-profile.patch
new file mode 100644
index 000000000000..a9ff4acd0a4a
--- /dev/null
+++ b/app-misc/rundeck-bin/files/rundeck-bin-2.6.8-profile.patch
@@ -0,0 +1,55 @@
+--- a/etc/rundeck/profile 2016-06-10 21:37:22.000000000 +0100
++++ b/etc/rundeck/profile 2016-06-14 00:02:11.630959252 +0100
+@@ -1,27 +1,11 @@
+ RDECK_BASE=/var/lib/rundeck
+ export RDECK_BASE
+
+-JAVA_CMD=java
+ RUNDECK_TEMPDIR=/tmp/rundeck
+
+ RDECK_HTTP_PORT=4440
+ RDECK_HTTPS_PORT=4443
+
+-#
+-# If JAVA_HOME is set, then add it to home and set JAVA_CMD to use the version specified in that
+-# path. JAVA_HOME can be set in the rundeck profile. Or set in this file.
+-#JAVA_HOME=<path/to/JDK or JRE/install>
+-
+-if [ ! -z $JAVA_HOME ]; then
+- PATH=$PATH:$JAVA_HOME/bin
+- export PATH
+- JAVA_CMD=$JAVA_HOME/bin/java
+-fi
+-
+-
+-
+-export CLI_CP=$(find /var/lib/rundeck/cli -name \*.jar -printf %p:)
+-export BOOTSTRAP_CP=$(find /var/lib/rundeck/bootstrap -name \*.jar -printf %p:)
+ export RDECK_JVM="-Djava.security.auth.login.config=/etc/rundeck/jaas-loginmodule.conf \
+ -Dloginmodule.name=RDpropertyfilelogin \
+ -Drdeck.config=/etc/rundeck \
+@@ -36,7 +20,7 @@
+ #
+ # Set min/max heap size
+ #
+-RDECK_JVM="$RDECK_JVM -Xmx1024m -Xms256m -XX:MaxPermSize=256m -server"
++RDECK_JVM="$RDECK_JVM -Xmx1024m -Xms256m -server"
+ #
+ # SSL Configuration - Uncomment the following to enable. Check SSL.properties for details.
+ #
+@@ -44,15 +28,4 @@
+
+ export RDECK_SSL_OPTS="-Djavax.net.ssl.trustStore=/etc/rundeck/ssl/truststore -Djavax.net.ssl.trustStoreType=jks -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol"
+
+-if test -t 0 -a -z "$RUNDECK_CLI_TERSE"
+-then
+- RUNDECK_CLI_TERSE=true
+- export RUNDECK_CLI_TERSE
+-fi
+-
+-if test -n "$JRE_HOME"
+-then
+- unset JRE_HOME
+-fi
+-
+ umask 002
diff --git a/app-misc/rundeck-bin/files/rundeckd.initd b/app-misc/rundeck-bin/files/rundeckd.initd
new file mode 100644
index 000000000000..f9afeb656479
--- /dev/null
+++ b/app-misc/rundeck-bin/files/rundeckd.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/bin/rundeckd
+pidfile=/var/run/rundeckd.pid
+command_background=yes
+extra_started_commands=reload
+servicelog=/var/log/rundeck/service.log
+start_stop_daemon_args="-1 ${servicelog} -2 ${servicelog} -u rundeck -g rundeck"
+
+reload() {
+ ebegin "Reloading $RC_SVCNAME"
+ start-stop-daemon -p ${pidfile} -s HUP
+ eend $?
+}
diff --git a/app-misc/rundeck-bin/metadata.xml b/app-misc/rundeck-bin/metadata.xml
new file mode 100644
index 000000000000..361b8c439fef
--- /dev/null
+++ b/app-misc/rundeck-bin/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Gentoo Java team</name>
+ </maintainer>
+ <longdescription lang="en">
+ Rundeck is a tool for job automation.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/rundeck-bin/rundeck-bin-2.6.8.ebuild b/app-misc/rundeck-bin/rundeck-bin-2.6.8.ebuild
new file mode 100644
index 000000000000..2241a0bfea34
--- /dev/null
+++ b/app-misc/rundeck-bin/rundeck-bin-2.6.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils java-pkg-2 rpm user
+
+DESCRIPTION="Job Scheduler and Runbook Automation"
+HOMEPAGE="http://www.rundeck.org"
+SRC_URI="http://download.rundeck.org/rpm/rundeck-${PV}-1.20.GA.noarch.rpm
+ http://download.rundeck.org/rpm/rundeck-config-${PV}-1.20.GA.noarch.rpm"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8"
+
+S="${WORKDIR}"
+
+java_prepare() {
+ epatch "${FILESDIR}"/${P}-profile.patch
+}
+
+pkg_setup() {
+ enewgroup rundeck
+ enewuser rundeck -1 /bin/bash /var/lib/rundeck rundeck
+}
+
+src_install() {
+ insinto /etc
+ doins -r etc/rundeck
+ insinto /var/lib
+ doins -r var/lib/rundeck
+ dodir /var/log/rundeck
+ dodir /var/rundeck/projects
+ fowners -R rundeck:rundeck /var/lib/rundeck /var/log/rundeck
+ fowners -R rundeck:rundeck /var/rundeck
+
+ newinitd "${FILESDIR}"/rundeckd.initd rundeckd
+ echo . \"${EPREFIX}\"/etc/rundeck/profile > "${T}"/launcher-pre.sh
+
+ java-pkg_regjar "${ED}"/var/lib/rundeck/bootstrap/*.jar
+ java-pkg_dolauncher rundeckd \
+ -pre "${T}"/launcher-pre.sh \
+ --main com.dtolabs.rundeck.RunServer \
+ --java_args "\${RDECK_JVM}" \
+ --pkg_args "${EPREFIX}/var/lib/rundeck \${RDECK_HTTP_PORT}"
+}
diff --git a/app-misc/rundeck-cli-bin/Manifest b/app-misc/rundeck-cli-bin/Manifest
new file mode 100644
index 000000000000..761040ab55be
--- /dev/null
+++ b/app-misc/rundeck-cli-bin/Manifest
@@ -0,0 +1,6 @@
+DIST rundeck-cli-0.1.11-all.jar 3447560 SHA256 54a2447f9614dea0b88a6acad3713c8bb3a83e6557c24b64d78b3c9d5f996fe9 SHA512 3390d5b6ece391a9cf7754cc4c6d79a7720ac1db2f7a555d0b8216eea23feecc7e4cc947fb4c894362ece3bfaddcb383b7b10558d2e499e364e023c65636aa33 WHIRLPOOL 53f8b4ddf9cf262ba43d2262622a73b76fd37f2392a415ab28bd8b8ee7803f222e427b2df68d1b014f51cf63f2748455d9b658863e8d37a4fcb8be13e711a4e8
+DIST rundeck-cli-0.1.8-all.jar 3420534 SHA256 885b45ec829fedfece5001038aa353759d081e1f6e571a9f4f138ff40045d9b3 SHA512 c7fff34c1a1091daf54e0ab89a832ab16e775704a6543af31745541419e3fc49d8b5fd47b404bda46dc1434945e652221825af553aff87b764623da4fe3bfdb6 WHIRLPOOL 5ed32cbfccd9650caeaec0bf32ecc0a2947fbb1156421dca4bfecc730fbcb6f447c3a7cdf9e9b4b50b082029762a881ea2dbf895bc1985f955abad6e5fe2103b
+EBUILD rundeck-cli-bin-0.1.11.ebuild 539 SHA256 bbf08aca8af995e4951280331413fabf2b425f7c96fc8eaf4c69ca4e7ead685f SHA512 098f2af034357d16c5397451189082a6d905fb4230b97569b29b06bb9613385aa4d62b3052a12d5474dfe650ccd9623a26968585f5c9eef99f9bd6131103c4b7 WHIRLPOOL 3a8af31fdb747b0181625f921d6623d06f15ec811c9b591d7879173b09722917a3aa1e6a0bb40dad83a8cf2558de382b25cc7c185236b062e5fff45d56a1169b
+EBUILD rundeck-cli-bin-0.1.8.ebuild 539 SHA256 bbf08aca8af995e4951280331413fabf2b425f7c96fc8eaf4c69ca4e7ead685f SHA512 098f2af034357d16c5397451189082a6d905fb4230b97569b29b06bb9613385aa4d62b3052a12d5474dfe650ccd9623a26968585f5c9eef99f9bd6131103c4b7 WHIRLPOOL 3a8af31fdb747b0181625f921d6623d06f15ec811c9b591d7879173b09722917a3aa1e6a0bb40dad83a8cf2558de382b25cc7c185236b062e5fff45d56a1169b
+MISC ChangeLog 513 SHA256 5368b40c53548088351ef114d91de680487273c7bbc3fb149b0d6422018ffceb SHA512 84987ce85c2dc78fd3f685d1a7dc5e327cab0fe11257f908b17ec45d302e091a0a5e72bee972a75dd562b08aa82f5cbd5497918a6cb383e5ef7920a2df8ee78f WHIRLPOOL 2708710b29b95ea081dfefa97e6323162e9df677796f99668254e264322bd18baea01d9767bfa7d8efd1ef32801580b9efefa0aa06ea76e4f697d1de366560db
+MISC metadata.xml 568 SHA256 476a1cdd14847a002ff9a46da13fba8d9ae01bdbd43a7a7abb5af3fb201fa84d SHA512 3d650e73769e7ab68d5cd3e02f97325628172b8e36a99b3434029611f6c511122ff887f9a253095aa0a5a0ff0fba62128e23b0ef8c8863a3a8be6652073f617a WHIRLPOOL c8e662e6b61c20c9179cbd0c8280dcb2a184500bd3ef4789ab52f0635db3181f08484bedc42ab57420bbb5e979b3c6a6efa3ffc079bdd828eb1029e5a67aafd4
diff --git a/app-misc/rundeck-cli-bin/metadata.xml b/app-misc/rundeck-cli-bin/metadata.xml
new file mode 100644
index 000000000000..e5b6b571c957
--- /dev/null
+++ b/app-misc/rundeck-cli-bin/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Gentoo Java team</name>
+ </maintainer>
+ <longdescription lang="en">
+ This is a command line interface for
+ <pkg>app-misc/rundeck-cli-bin</pkg>.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">rundeck/rundeck-cli</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.11.ebuild b/app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.11.ebuild
new file mode 100644
index 000000000000..d7bc4231484f
--- /dev/null
+++ b/app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.11.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_PN="rundeck-cli"
+MY_P="rundeck-cli-${PV}"
+
+inherit java-pkg-2
+
+DESCRIPTION="Command line tool for rundeck"
+HOMEPAGE="http://rundeck.org"
+SRC_URI="https://github.com/rundeck/${MY_PN}/releases/download/v${PV}/${MY_P}-all.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8"
+
+S="${WORKDIR}"
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${MY_P}-all.jar ${MY_PN}.jar
+ java-pkg_dolauncher rd
+}
diff --git a/app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.8.ebuild b/app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.8.ebuild
new file mode 100644
index 000000000000..d7bc4231484f
--- /dev/null
+++ b/app-misc/rundeck-cli-bin/rundeck-cli-bin-0.1.8.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_PN="rundeck-cli"
+MY_P="rundeck-cli-${PV}"
+
+inherit java-pkg-2
+
+DESCRIPTION="Command line tool for rundeck"
+HOMEPAGE="http://rundeck.org"
+SRC_URI="https://github.com/rundeck/${MY_PN}/releases/download/v${PV}/${MY_P}-all.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8"
+
+S="${WORKDIR}"
+
+src_install() {
+ java-pkg_newjar "${DISTDIR}"/${MY_P}-all.jar ${MY_PN}.jar
+ java-pkg_dolauncher rd
+}
diff --git a/app-misc/scope/Manifest b/app-misc/scope/Manifest
new file mode 100644
index 000000000000..d673579c4e27
--- /dev/null
+++ b/app-misc/scope/Manifest
@@ -0,0 +1,5 @@
+DIST scope-0.04.tar.gz 69250 SHA256 cee7db04fef99e50255d6dc4e6cb3d6c87843c51868017c3a69879ce01dd7101 SHA512 9067b7a870d6d409c2ee0406a7ba33e5a2bfb395de4ccf9b39b39f0ed49b9b4f7290844be7d375c7638e65715b4e1f4d80bfc6f333b9bbe1de5fe695eb164a03 WHIRLPOOL b2453768484349702aff73de768210cce480cde591273b8062faeebfe9493a76e32cad1b7ceb1b07ed62aae52e12bd3ccd640992584589292ecf41f5846345d3
+EBUILD scope-0.04-r1.ebuild 389 SHA256 439fa2d6148933279a28bdd4089e89c50908b492256a954419cf44551b47e32a SHA512 c97c0ad5647eec91e65a87ad44c5b8ac50d2347480bef317764666f69b1cf0ca29c7e7472e61f2b9b10641708ea4b61d87ea19cbbbac8c6748408ee0c0b3ad66 WHIRLPOOL 427ee91fd2c38fc2c1ccdc63906a4f01101c2bfd7e35856bac972ce58b7b55ea09aade172d1ece2d7ea1c7a2e7d3438c9ce023db42a38b6475a413b9942c4709
+MISC ChangeLog 2174 SHA256 91f472415e705e8f8e9229f2955a9d8896d75213a5909420635723816476772b SHA512 7ef1e4477aea570e82e22b5343b3d4b0e04a81ef72b547ff180efee5f5cb1739ad7806a99a1bb375f6e311a3fee74cb9f4342c02685fe62dee30279d3701a6f6 WHIRLPOOL aa105dd6f02b439bb1f5c173f254af304a593af9d73c71238f5e191baf31005b20a57c5232d1bcc3fabeeb2164fbc81350bbee2be9108554af754a0aa25f5b1b
+MISC ChangeLog-2015 1630 SHA256 5279502481c7abb955e3e905555962160f790e097b40122f78be33fbbe1d01d1 SHA512 1d2f62df359c934b3fe5e1811b2b349f60842fadc249dcbff9b248f703faff824cb5167264daeb0d5cd9d78f7ae517b880068163315dedd486cca351087633ea WHIRLPOOL e2bb99b85d1719f4ebdba592551fcdf03cdf74bc9ac171c756487dce4af1c92b86c518bc339588be5d0016f687f67309b67ff7ebfd84ae8ede90936b08bd6eb1
+MISC metadata.xml 422 SHA256 aaf174ae27e5144e777ca9dd676c0ed634f295d86bf0cf3d6dd067519109d312 SHA512 e8d34f2cc9529a902c6840c2873161099c432e04dcdbf08566fd0012641057ddb47fd5d67d42b924744dcc0c9a81ca6ef9d0be6127d9e9fe46be8791a77f602f WHIRLPOOL 12c301c9dcf76895b6e7aca6514dca6db732c16a704c286dce2cff7fab821ecb999e074fad0b990041df7b35962b391fb146d4273888e71a97c13a06ccd6329d
diff --git a/app-misc/scope/metadata.xml b/app-misc/scope/metadata.xml
new file mode 100644
index 000000000000..6cc19a839b73
--- /dev/null
+++ b/app-misc/scope/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zlogene@gentoo.org</email>
+ <name>Mikle Kolyada</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <longdescription lang="en">Serial Line Analyser</longdescription>
+</pkgmetadata>
diff --git a/app-misc/scope/scope-0.04-r1.ebuild b/app-misc/scope/scope-0.04-r1.ebuild
new file mode 100644
index 000000000000..b84a1c79ec4f
--- /dev/null
+++ b/app-misc/scope/scope-0.04-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="Serial Line Analyser"
+HOMEPAGE="http://www.gumbley.me.uk/scope.html"
+SRC_URI="http://www.gumbley.me.uk/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DOCS=( README )
+
+src_prepare() {
+ # bug 459848
+ tc-export CC
+}
diff --git a/app-misc/screen/Manifest b/app-misc/screen/Manifest
new file mode 100644
index 000000000000..9e3a2ab9cc37
--- /dev/null
+++ b/app-misc/screen/Manifest
@@ -0,0 +1,15 @@
+AUX screen-4.3.0-no-utempter.patch 341 SHA256 bc4675f13253198040c7c877f622738797dd71f8986631d183ea1a33be68d105 SHA512 f4191ba1ecac3076f958f56309c0a1d523b455fa4e3388f1cfca59c8ccff0afdfb20ef18d54794ba539b2b6d1511ed599dc44787344dc5ccce2902c9b9848155 WHIRLPOOL 1b985c2a42d36c6824712ddb26145d3d4bd13f01f8ffac0076c96bdfed8d8235ba00c815c7ddbd4b9b59a2a2648bfde2b764a20281a02f9c1b0b774e6b2b5be6
+AUX screen-4.5.1-texinfo.patch 436 SHA256 173b9cfddcd1aecffef365910ef5d9b372244a917fa04fa3fe864836bf165260 SHA512 78b6e831414ef8cfc1f747f7eb9232ae907db4fa507967fb4b43b0266d045461f799ae37e71f8d93fed78e72bc0e7d90b93d131c9e24e47892468e96b880b0c4 WHIRLPOOL 8ce25e3048be51a7772cd08ed0e74374f6e3b2bd85a6bb18607156a8f6317cd296ad106f71204c0e5d794316f5c719a59b0b0973495ed22c24599329eb202fa4
+AUX screenrc 10412 SHA256 191d91f9fd1e676525a9e1a3bdc5ac73283f948caf74b4bb6e0cfcecbe4798bb SHA512 06fbec5e28480a2c369330fac0c94faa47e5d28e037d9fefd0cb3e813002c504866dc8ac86872b7ac6f16059a219e396a9c425b578b8afe882153ddb506158f7 WHIRLPOOL e05785d9810a709ccd189bbf1557022bd91f653ddb2f138e54286fbbc11ddbbedf2276d2b8bc975a8ff1ac024ab24d955a6b3055cf5cd2dfb445c35484e90f09
+DIST screen-4.4.0.tar.gz 846010 SHA256 ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b SHA512 6e43f85c419f778822ec85e4340c95769e981a3d51abdeb5f26c6ebb840da9ab11b351ecc7f380ceea39bcfaa87f1124cfebd6af4ecb62b886eb189e7b79981b WHIRLPOOL a0d68d2d50f9f50537bf73a6dbb1ecbfe8c6af5c5322003a717431734bdc86a940fc55cd8c3a28b3e5ec572aaa0ceba376d97cbb8c5090a92d499cba2889b322
+DIST screen-4.5.1.tar.gz 963153 SHA256 97db2114dd963b016cd4ded34831955dcbe3251e5eee45ac2606e67e9f097b2d SHA512 ca53477ad38264be38efb1d10a1337b647dd061127162c77533b17a30d046cd0caabe38e4a9e5389aac30d5dc62eb53e7877411e69adae36d0ca869bd0a82804 WHIRLPOOL db60013141e3f426107d3f1e518b48fc0bbf89fbf51b26b5ac7208b9940448397ec0009d389365289a1d06421b403982093c8b7ee8d891eea20c704d7ad376b1
+DIST screen-4.6.0.tar.gz 849062 SHA256 9433706b653e941cc4c745f28e252e57be2a141eded923e61cc2c4a09768fed4 SHA512 2ee7cc51c62a478e72eda0647f3f347e63f40384e19bc11b074158bd94cdb628c6425b1dd7a472496d56bff11a30a9dc58859c2e7e539fae2a8718ed9b0f96d7 WHIRLPOOL 62593811fed8dc2e92acefb80751a60ad7170429047f9acf0ec21718ab303add365ae469d11d3371524095a53c750216ae07e572a640439db26e1526c7ed12ee
+DIST screen-4.6.1.tar.gz 848979 SHA256 aba9af66cb626155d6abce4703f45cce0e30a5114a368bd6387c966cbbbb7c64 SHA512 e5d029400ed5b509ebddc1f55812c33536d6f5ce91119537c7d06e1fa7dee84939c43337df4638f61c818ce0412f4d08fe212202162a4483a9e84bbc4b3e4336 WHIRLPOOL aad842c61961d01712017da64a3d9fbc5bcb74ecb0310b5d371ea8aa5eacf694826a66dea00c0b1c24de9918aafe6bf5b770342ec2ac840fa68cfa1fb52785fe
+EBUILD screen-4.4.0.ebuild 3956 SHA256 d522def5c9aee5fa33e443e10f2d7bd1928c936fd3f2117aeaff670e33a75644 SHA512 e143bf0d0f01d1f505ec84b4c55f36ba70391b117cf78694373fdd7b892d5df4b208b27a3d711daac0a3edbf05debfd9aed03eaff961083bca791df504c07185 WHIRLPOOL a27b51d080154604fc072652e13caf86bf10d23dc5c49abac4cd94fb38cfadee4da5d529f8ab969e51877993ac1dd58871e2d1db86b84d6746f3375c266cc881
+EBUILD screen-4.5.1.ebuild 4139 SHA256 756e30ee1819c554bff6089ba5588d4f73a69733592bf84bbfc09b9c5f7cb7fe SHA512 11e9a7ad1a85dfa67dc6fb6a1e738529c74cb0b82ea96d6fa023b4e6b71cfa14046b318e42d742595e9bda33af1d7514d1a6b0efc48696975b5d939db177471e WHIRLPOOL 1e77bb5a8e36402b7d15df01d89f97c3e8b50e4f386616a63d64ed143e105f6b8de06d8736ed649e4953d82d70cd0a8c02d316a1f50710bc0176aba375964474
+EBUILD screen-4.6.0.ebuild 4087 SHA256 bea936ccf54b555f23e9c56a49d591ec27529a9046574eead4f42caa0832f4dd SHA512 6c9b164723d23fffff0cf5a4fc346e2da8edf53fb877755c36c6106ab59b60b191ce17996597458df11b2a423a4a26db14b78e6e13d1c247ff2fbe4db2742968 WHIRLPOOL 660b1e137ed3d73d03d0a5fc91cfd41ce0854309fab036a2ec740e8b10b22ede626300ab898a91343b9530aa1aaac8b899209cde07aa4c7d90b81fcf28a01a7f
+EBUILD screen-4.6.1.ebuild 4087 SHA256 bea936ccf54b555f23e9c56a49d591ec27529a9046574eead4f42caa0832f4dd SHA512 6c9b164723d23fffff0cf5a4fc346e2da8edf53fb877755c36c6106ab59b60b191ce17996597458df11b2a423a4a26db14b78e6e13d1c247ff2fbe4db2742968 WHIRLPOOL 660b1e137ed3d73d03d0a5fc91cfd41ce0854309fab036a2ec740e8b10b22ede626300ab898a91343b9530aa1aaac8b899209cde07aa4c7d90b81fcf28a01a7f
+EBUILD screen-9999.ebuild 3680 SHA256 b4c700884e7deeb35b1ce18bbf602c3a10328492f28cec8b56b637eaa4e227ab SHA512 f27332b033f31450f6cd66ea8e9a39866470633e17eac7d6ea26bc093aaa62f85dc5001875478592c417889e298c2eb87f16954735e015405f4d4ba712cf09e5 WHIRLPOOL 3d0df4796c469378a550732fa23319c8101f60f2fe7a05e49cc470a134ee1f4781117e4a1518b44855f03bbfb5e54ce25eef6906931a12bc111f28ebcdc9741e
+MISC ChangeLog 8688 SHA256 5fb8c35b0b43b5d0c575c17e1d01089a3b0e153687e249e0b98bf9546077c3c5 SHA512 c0a284f5f073cb356fe05b62bd7c938aea0e1cf99139815568c934f3853e77420b081d2f2f606df37e9a11c8c461a7992f516b4fae470f4955e71277173f7f6f WHIRLPOOL 2f283c0cd3cb874ba334abe711f3ca2633c7ce895c1f240a0e03cd9d369b559e428094290fdd29dc265a2e82336666dd848a9d767c55513e7c66bf18c302991e
+MISC ChangeLog-2015 29858 SHA256 481ee48a0440100320f3ebf9d717d6aebb6f95ac4eff5ea793711b9e24f5324b SHA512 d3015d0c2ab3e7f019c414fc95542ff3408ee1ddccf1e805e5885646307141aa9c6d0a4aaf1bbe733b930da929e6eb1896c632cfcc2658ee4508a1c9fa830eac WHIRLPOOL 17a24afb34b439e9eff882ad54410af5117f41e92540854981e56671d5746b9caa15d6196d572a5d0421948763dea9a2f0953d0440792e1bafa593f00424e237
+MISC metadata.xml 1886 SHA256 27f1c2c7518b76c8410d8125f39e93dbd3588f133e006b8f60c0ed74a1e594bd SHA512 2fe77ff502ba653cf53a4a03159f085339881e23ce48b30f1bfc8638c3d0e33a4230dc82819464fd9566e42e8546e5a4011811902adfb2ed5e96938a8cfe5785 WHIRLPOOL d1cf4fb2252eb93a29e99a5112f722eb85eee71a33735bfb8e668f4cea1de74ec60c467d0f97da4f5570bf917cf7e05284bd6103fcfb5d67fb9d5dcb23781080
diff --git a/app-misc/screen/files/screen-4.3.0-no-utempter.patch b/app-misc/screen/files/screen-4.3.0-no-utempter.patch
new file mode 100644
index 000000000000..e11be5b11e61
--- /dev/null
+++ b/app-misc/screen/files/screen-4.3.0-no-utempter.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -878,11 +878,6 @@
+ #include <utmp.h>
+ #endif
+ ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST))
+-AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
+-if test "$have_utempter" = yes; then
+- AC_DEFINE(HAVE_UTEMPTER)
+- LIBS="$LIBS -lutempter"
+-fi
+
+ dnl
+ dnl **** loadav ****
diff --git a/app-misc/screen/files/screen-4.5.1-texinfo.patch b/app-misc/screen/files/screen-4.5.1-texinfo.patch
new file mode 100644
index 000000000000..8d7a5e527175
--- /dev/null
+++ b/app-misc/screen/files/screen-4.5.1-texinfo.patch
@@ -0,0 +1,13 @@
+--- a/doc/screen.texinfo
++++ b/doc/screen.texinfo
+@@ -5796,8 +5796,8 @@
+ ============
+
+ @example
+- Thomas Renninger <treen@suse.com>,
+- Axel Beckert <abe@deuxchevaux.org>,
++ Thomas Renninger <treen@@suse.com>,
++ Axel Beckert <abe@@deuxchevaux.org>,
+ Ken Beal <kbeal@@amber.ssd.csd.harris.com>,
+ Rudolf Koenig <rfkoenig@@informatik.uni-erlangen.de>,
+ Toerless Eckert <eckert@@informatik.uni-erlangen.de>,
diff --git a/app-misc/screen/files/screenrc b/app-misc/screen/files/screenrc
new file mode 100644
index 000000000000..11f2f551b0bc
--- /dev/null
+++ b/app-misc/screen/files/screenrc
@@ -0,0 +1,356 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# /etc/screenrc
+#
+# This is the system wide screenrc.
+#
+# You can use this file to change the default behavior of screen system wide
+# or copy it to ~/.screenrc and use it as a starting point for your own
+# settings.
+#
+# Commands in this file are used to set options, bind screen functions to
+# keys, redefine terminal capabilities, and to automatically establish one or
+# more windows at the beginning of your screen session.
+#
+# This is not a comprehensive list of options, look at the screen manual for
+# details on everything that you can put in this file.
+#
+#
+
+# ==============================================================================
+# SCREEN SETTINGS
+# ==============================================================================
+
+# ESCAPE - the COMMAND CHARACTER
+# ===============================================================
+# escape ^aa # default
+# escape ^^^^ # suggested binding (Control-^) for Emacs users
+
+
+# PASSWORD
+# ===============================================================
+# This commands sets the *internal* password for the screen session.
+# WARNING!! If this is set then a "lock" command will only let you in to the
+# session after you enter the user's account password and then *also*
+# the internal password for that session. This gives additional safety but,
+# if you forget the internal password then you cannot resume your session.
+# Use :password to generate a password
+# password ODSJQf.4IJN7E # "1234"
+
+
+# VARIABLES
+# ===============================================================
+# No annoying audible bell, using "visual bell"
+# vbell on # default: off
+# vbell_msg " -- Bell,Bell!! -- " # default: "Wuff,Wuff!!"
+
+# Automatically detach on hangup.
+ autodetach on # default: on
+
+# Don't display the copyright page
+ startup_message off # default: on
+
+# Uses nethack-style messages
+# nethack on # default: off
+
+# Affects the copying of text regions
+ crlf off # default: off
+
+# Enable/disable multiuser mode. Standard screen operation is singleuser.
+# In multiuser mode the commands acladd, aclchg, aclgrp and acldel can be used
+# to enable (and disable) other user accessing this screen session.
+# Requires suid-root.
+ multiuser off
+
+# Change default scrollback value for new windows
+ defscrollback 1000 # default: 100
+
+# Define the time that all windows monitored for silence should
+# wait before displaying a message. Default 30 seconds.
+ silencewait 15 # default: 30
+
+# bufferfile: The file to use for commands
+# "readbuf" ('<') and "writebuf" ('>'):
+ bufferfile $HOME/.screen_exchange
+#
+# hardcopydir: The directory which contains all hardcopies.
+# hardcopydir ~/.hardcopy
+# hardcopydir ~/.screen
+#
+# shell: Default process started in screen's windows.
+# Makes it possible to use a different shell inside screen
+# than is set as the default login shell.
+# If begins with a '-' character, the shell will be started as a login shell.
+# shell zsh
+# shell bash
+# shell ksh
+ shell -$SHELL
+
+# shellaka '> |tcsh'
+# shelltitle '$ |bash'
+
+# emulate .logout message
+ pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
+
+# caption always " %w --- %c:%s"
+# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
+
+# advertise hardstatus support to $TERMCAP
+# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
+
+# set every new windows hardstatus line to somenthing descriptive
+# defhstatus "screen: ^En (^Et)"
+
+# don't kill window after the process died
+# zombie "^["
+
+# ignore displays that block on output
+defnonblock on
+
+# XTERM TWEAKS
+# ===============================================================
+
+# xterm understands both im/ic and doesn't have a status line.
+# Note: Do not specify im and ic in the real termcap/info file as
+# some programs (e.g. vi) will not work anymore.
+ termcap xterm* hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
+ terminfo xterm* hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
+
+# 80/132 column switching must be enabled for ^AW to work
+# change init sequence to not switch width
+ termcapinfo xterm* Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
+
+# Make the output buffer large for (fast) xterms.
+# termcapinfo xterm* OL=10000
+ termcapinfo xterm* OL=100
+
+# tell screen that xterm can switch to dark background and has function
+# keys.
+ termcapinfo xterm* 'VR=\E[?5h:VN=\E[?5l'
+ termcapinfo xterm* 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
+ termcapinfo xterm* 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
+
+# special xterm hardstatus: use the window title.
+ termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
+
+#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
+ termcapinfo xterm* 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
+
+# emulate part of the 'K' charset
+ termcapinfo xterm* 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
+
+# xterm-52 tweaks:
+# - uses background color for delete operations
+ termcapinfo xterm* be
+
+# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195)
+ termcapinfo xterm*|xs ti@:te=\E[2J
+
+# WYSE TERMINALS
+# ===============================================================
+
+#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
+#essential to have it here, as this is a slow terminal.
+ termcapinfo wy75-42 xo:hs@
+
+# New termcap sequences for cursor application mode.
+ termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
+
+
+# OTHER TERMINALS
+# ===============================================================
+
+# make hp700 termcap/info better
+ termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
+
+# Extend the vt100 desciption by some sequences.
+ termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
+ terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
+ termcapinfo linux C8
+# old rxvt versions also need this
+# termcapinfo rxvt C8
+
+
+# KEYBINDINGS
+# ==============================================================
+# The "bind" command assign keys to (internal) commands
+# SCREEN checks all the keys you type; you type the key
+# which is known as the "command character" then SCREEN
+# eats this key, too, and checks whether this key is
+# "bound" to a command. If so then SCREEN will execute it.
+#
+# The command "bind" allows you to chose which keys
+# will be assigned to the commands.
+#
+# Some commands are bound to several keys -
+# usually to both some letter and its corresponding
+# control key combination, eg the command
+# "(create) screen" is bound to both 'c' and '^C'.
+#
+# The following list shows the default bindings:
+#
+# break ^B b
+# clear C
+# colon :
+# copy ^[ [
+# detach ^D d
+# digraph ^V
+# displays *
+# dumptermcap .
+# fit F
+# flow ^F f
+# focus ^I
+# hardcopy h
+# help ?
+# history { }
+# info i
+# kill K k
+# lastmsg ^M m
+# license ,
+# log H
+# login L
+# meta x
+# monitor M
+# next ^@ ^N sp n
+# number N
+# only Q
+# other ^X
+# pow_break B
+# pow_detach D
+# prev ^H ^P p ^?
+# quit \
+# readbuf <
+# redisplay ^L l
+# remove X
+# removebuf =
+# reset Z
+# screen ^C c
+# select " '
+# silence _
+# split S
+# suspend ^Z z
+# time ^T t
+# title A
+# vbell ^G
+# version v
+# width W
+# windows ^W w
+# wrap ^R r
+# writebuf >
+# xoff ^S s
+# xon ^Q q
+# ^] paste .
+# - select -
+# 0 select 0
+# 1 select 1
+# 2 select 2
+# 3 select 3
+# 4 select 4
+# 5 select 5
+# 6 select 6
+# 7 select 7
+# 8 select 8
+# 9 select 9
+# I login on
+# O login off
+# ] paste .
+#
+
+# And here are the default bind commands if you need them:
+#
+# bind A title
+# bind C clear
+# bind D pow_detach
+# bind F fit
+# bind H log
+# bind I login on
+# bind K kill
+# bind L login
+# bind M monitor
+# bind N number
+# bind O login off
+# bind Q only
+# bind S split
+# bind W width
+# bind X remove
+# bind Z reset
+
+# Let's remove some dangerous key bindings ...
+ bind k
+ bind ^k
+# bind . dumptermcap # default
+ bind .
+# bind ^\ quit # default
+ bind ^\
+# bind \\ quit # default
+ bind \\
+# bind ^h ??? # default
+ bind ^h
+# bind h hardcopy # default
+ bind h
+
+# ... and make them better.
+ bind 'K' kill
+ bind 'I' login on
+ bind 'O' login off
+ bind '}' history
+
+# Yet another hack:
+# Prepend/append register [/] to the paste if ^a^] is pressed.
+# This lets me have autoindent mode in vi.
+ register [ "\033:se noai\015a"
+ register ] "\033:se ai\015a"
+ bind ^] paste [.]
+
+
+# hardstatus alwaysignore
+# hardstatus alwayslastline "%Lw"
+
+# Resize the current region. The space will be removed from or added to
+# the region below or if there's not enough space from the region above.
+ bind = resize =
+ bind + resize +3
+ bind - resize -3
+# bind _ resize max
+#
+# attrcolor u "-u b"
+# attrcolor b "R"
+
+# STARTUP SCREENS
+# ===============================================================
+# Defines the time screen delays a new message when one message
+# is currently displayed. The default is 1 second.
+# msgminwait 2
+
+# Time a message is displayed if screen is not disturbed by
+# other activity. The dafault is 5 seconds:
+# msgwait 2
+
+# Briefly show the version number of this starting
+# screen session - but only for *one* second:
+# msgwait 1
+# version
+
+# Welcome the user:
+# echo "welcome :-)"
+# echo "I love you today."
+
+# Uncomment one/some following lines to automatically let
+# SCREEN start some programs in the given window numbers:
+# screen -t MAIL 0 mutt
+# screen -t EDIT 1 vim
+# screen -t GOOGLE 2 links http://www.google.com
+# screen -t NEWS 3 slrn
+# screen -t WWW 4 links http://www.math.fu-berlin.de/~guckes/
+# screen 5
+# screen 6
+
+# Set the environment variable var to value string. If only var is specified,
+# you'll be prompted to enter a value. If no parameters are specified,
+# you'll be prompted for both variable and value. The environment is
+# inherited by all subsequently forked shells.
+# setenv PROMPT_COMMAND 'echo -n -e "\033k\033\134"'
+
+# Don't you want to start programs which need a DISPLAY ?
+# setenv DISPLAY ''
diff --git a/app-misc/screen/metadata.xml b/app-misc/screen/metadata.xml
new file mode 100644
index 000000000000..ac31438add70
--- /dev/null
+++ b/app-misc/screen/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>swegener@gentoo.org</email>
+ <description>Primary Maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription>
+Screen is a full-screen window manager that multiplexes a physical terminal
+between several processes, typically interactive shells. Each virtual terminal
+provides the functions of the DEC VT100 terminal and, in addition, several
+control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g.,
+insert/delete line and support for multiple character sets). There is a
+scrollback history buffer for each virtual terminal and a copy-and-paste
+mechanism that allows the user to move text regions between windows. When screen
+is called, it creates a single window with a shell in it (or the specified
+command) and then gets out of your way so that you can use the program as you
+normally would. Then, at any time, you can create new (full-screen) windows with
+other programs in them (including more shells), kill the current window, view a
+list of the active windows, turn output logging on and off, copy text between
+windows, view the scrollback history, switch between windows, etc. All windows
+run their programs completely independent of each other. Programs continue to
+run when their window is currently not visible and even when the whole screen
+session is detached from the users terminal.
+</longdescription>
+ <use>
+ <flag name="multiuser">Enable multiuser support (by setting correct
+ permissions)</flag>
+ <flag name="nethack">Express error messages in nethack style</flag>
+ <flag name="utmp">Include utmp support</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/screen/screen-4.4.0.ebuild b/app-misc/screen/screen-4.4.0.ebuild
new file mode 100644
index 000000000000..0ee4276016c3
--- /dev/null
+++ b/app-misc/screen/screen-4.4.0.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic pam toolchain-funcs user
+
+DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
+HOMEPAGE="https://www.gnu.org/software/screen/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug nethack pam selinux multiuser"
+
+CDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+ pam? ( virtual/pam )"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )"
+DEPEND="${CDEPEND}
+ sys-apps/texinfo"
+
+# Patches:
+# - Don't use utempter even if it is found on the system.
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
+)
+
+pkg_setup() {
+ # Make sure utmp group exists, as it's used later on.
+ enewgroup utmp 406
+}
+
+src_prepare() {
+ # Apply patches.
+ epatch "${PATCHES[@]}"
+
+ # sched.h is a system header and causes problems with some C libraries
+ mv sched.h _sched.h || die
+ sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
+
+ # Fix manpage.
+ sed -i \
+ -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
+ -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
+ -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
+ doc/screen.1 \
+ || die
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
+ fi
+
+ # reconfigure
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # enable msg_header by upping the feature standard compatible
+ # with c99 mode
+ append-cppflags -D_XOPEN_SOURCE=600
+ fi
+
+ use nethack || append-cppflags "-DNONETHACK"
+ use debug && append-cppflags "-DDEBUG"
+
+ econf \
+ --with-socket-dir="${EPREFIX}/tmp/screen" \
+ --with-sys-screenrc="${EPREFIX}/etc/screenrc" \
+ --with-pty-mode=0620 \
+ --with-pty-group=5 \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --enable-colors256 \
+ $(use_enable pam)
+}
+
+src_compile() {
+ LC_ALL=POSIX emake comm.h term.h
+ emake osdef.h
+
+ emake -C doc screen.info
+ default
+}
+
+src_install() {
+ local tmpfiles_perms tmpfiles_group
+
+ dobin screen
+
+ if use multiuser || use prefix
+ then
+ fperms 4755 /usr/bin/screen
+ tmpfiles_perms="0755"
+ tmpfiles_group="root"
+ else
+ fowners root:utmp /usr/bin/screen
+ fperms 2755 /usr/bin/screen
+ tmpfiles_perms="0775"
+ tmpfiles_group="utmp"
+ fi
+
+ dodir /etc/tmpfiles.d
+ echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
+ > "${ED}"/etc/tmpfiles.d/screen.conf
+
+ insinto /usr/share/screen
+ doins terminfo/{screencap,screeninfo.src}
+ insinto /usr/share/screen/utf8encodings
+ doins utf8encodings/??
+ insinto /etc
+ doins "${FILESDIR}"/screenrc
+
+ pamd_mimic_system screen auth
+
+ dodoc \
+ README ChangeLog INSTALL TODO NEWS* patchlevel.h \
+ doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
+
+ doman doc/screen.1
+ doinfo doc/screen.info
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]
+ then
+ elog "Some dangerous key bindings have been removed or changed to more safe values."
+ elog "We enable some xterm hacks in our default screenrc, which might break some"
+ elog "applications. Please check /etc/screenrc for information on these changes."
+ fi
+
+ # Add /tmp/screen in case it doesn't exist yet. This should solve
+ # problems like bug #508634 where tmpfiles.d isn't in effect.
+ local rundir="${EROOT%/}/tmp/screen"
+ if [[ ! -d ${rundir} ]] ; then
+ if use multiuser || use prefix ; then
+ tmpfiles_group="root"
+ else
+ tmpfiles_group="utmp"
+ fi
+ mkdir -m 0775 "${rundir}"
+ chgrp ${tmpfiles_group} "${rundir}"
+ fi
+
+ ewarn "This revision changes the screen socket location to ${rundir}"
+}
diff --git a/app-misc/screen/screen-4.5.1.ebuild b/app-misc/screen/screen-4.5.1.ebuild
new file mode 100644
index 000000000000..5dc17e7b33df
--- /dev/null
+++ b/app-misc/screen/screen-4.5.1.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SCM=""
+[[ "${PV}" = 9999 ]] && SCM="git-r3"
+inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM}
+unset SCM
+
+DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
+HOMEPAGE="https://www.gnu.org/software/screen/"
+
+if [[ "${PV}" != 9999 ]] ; then
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+else
+ EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
+ S="${WORKDIR}"/${P}/src
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug nethack pam selinux multiuser"
+
+CDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+ pam? ( virtual/pam )"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )"
+DEPEND="${CDEPEND}
+ sys-apps/texinfo"
+
+PATCHES=(
+ # Don't use utempter even if it is found on the system.
+ "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
+ # @ => @@
+ "${FILESDIR}"/${PN}-4.5.1-texinfo.patch
+)
+
+pkg_setup() {
+ # Make sure utmp group exists, as it's used later on.
+ enewgroup utmp 406
+}
+
+src_prepare() {
+ default
+
+ # sched.h is a system header and causes problems with some C libraries
+ mv sched.h _sched.h || die
+ sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
+
+ # Fix manpage.
+ sed -i \
+ -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
+ -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
+ -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
+ doc/screen.1 \
+ || die
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
+ fi
+
+ # reconfigure
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # enable msg_header by upping the feature standard compatible
+ # with c99 mode
+ append-cppflags -D_XOPEN_SOURCE=600
+ fi
+
+ use nethack || append-cppflags "-DNONETHACK"
+ use debug && append-cppflags "-DDEBUG"
+
+ econf \
+ --with-socket-dir="${EPREFIX}/tmp/screen" \
+ --with-sys-screenrc="${EPREFIX}/etc/screenrc" \
+ --with-pty-mode=0620 \
+ --with-pty-group=5 \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --enable-colors256 \
+ $(use_enable pam)
+}
+
+src_compile() {
+ LC_ALL=POSIX emake comm.h term.h
+ emake osdef.h
+
+ emake -C doc screen.info
+ default
+}
+
+src_install() {
+ local DOCS=(
+ README ChangeLog INSTALL TODO NEWS* patchlevel.h
+ doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
+ )
+
+ default
+
+ local tmpfiles_perms tmpfiles_group
+
+ if use multiuser || use prefix
+ then
+ fperms 4755 /usr/bin/screen-${PV}
+ tmpfiles_perms="0755"
+ tmpfiles_group="root"
+ else
+ fowners root:utmp /usr/bin/screen-${PV}
+ fperms 2755 /usr/bin/screen-${PV}
+ tmpfiles_perms="0775"
+ tmpfiles_group="utmp"
+ fi
+
+ dodir /etc/tmpfiles.d
+ echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
+ > "${ED}"/etc/tmpfiles.d/screen.conf
+
+ insinto /usr/share/screen
+ doins terminfo/{screencap,screeninfo.src}
+
+ insinto /etc
+ doins "${FILESDIR}"/screenrc
+
+ pamd_mimic_system screen auth
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]
+ then
+ elog "Some dangerous key bindings have been removed or changed to more safe values."
+ elog "We enable some xterm hacks in our default screenrc, which might break some"
+ elog "applications. Please check /etc/screenrc for information on these changes."
+ fi
+
+ # Add /tmp/screen in case it doesn't exist yet. This should solve
+ # problems like bug #508634 where tmpfiles.d isn't in effect.
+ local rundir="${EROOT%/}/tmp/screen"
+ if [[ ! -d ${rundir} ]] ; then
+ if use multiuser || use prefix ; then
+ tmpfiles_group="root"
+ else
+ tmpfiles_group="utmp"
+ fi
+ mkdir -m 0775 "${rundir}"
+ chgrp ${tmpfiles_group} "${rundir}"
+ fi
+
+ ewarn "This revision changes the screen socket location to ${rundir}"
+}
diff --git a/app-misc/screen/screen-4.6.0.ebuild b/app-misc/screen/screen-4.6.0.ebuild
new file mode 100644
index 000000000000..01169b42901c
--- /dev/null
+++ b/app-misc/screen/screen-4.6.0.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SCM=""
+[[ "${PV}" = 9999 ]] && SCM="git-r3"
+inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM}
+unset SCM
+
+DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
+HOMEPAGE="https://www.gnu.org/software/screen/"
+
+if [[ "${PV}" != 9999 ]] ; then
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+else
+ EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
+ S="${WORKDIR}"/${P}/src
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug nethack pam selinux multiuser"
+
+CDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+ pam? ( virtual/pam )"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )"
+DEPEND="${CDEPEND}
+ sys-apps/texinfo"
+
+PATCHES=(
+ # Don't use utempter even if it is found on the system.
+ "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
+)
+
+pkg_setup() {
+ # Make sure utmp group exists, as it's used later on.
+ enewgroup utmp 406
+}
+
+src_prepare() {
+ default
+
+ # sched.h is a system header and causes problems with some C libraries
+ mv sched.h _sched.h || die
+ sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
+
+ # Fix manpage.
+ sed -i \
+ -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
+ -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
+ -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
+ doc/screen.1 \
+ || die
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
+ fi
+
+ # reconfigure
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # enable msg_header by upping the feature standard compatible
+ # with c99 mode
+ append-cppflags -D_XOPEN_SOURCE=600
+ fi
+
+ use nethack || append-cppflags "-DNONETHACK"
+ use debug && append-cppflags "-DDEBUG"
+
+ econf \
+ --with-socket-dir="${EPREFIX}/tmp/screen" \
+ --with-sys-screenrc="${EPREFIX}/etc/screenrc" \
+ --with-pty-mode=0620 \
+ --with-pty-group=5 \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --enable-colors256 \
+ $(use_enable pam)
+}
+
+src_compile() {
+ LC_ALL=POSIX emake comm.h term.h
+ emake osdef.h
+
+ emake -C doc screen.info
+ default
+}
+
+src_install() {
+ local DOCS=(
+ README ChangeLog INSTALL TODO NEWS* patchlevel.h
+ doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
+ )
+
+ default
+
+ local tmpfiles_perms tmpfiles_group
+
+ if use multiuser || use prefix
+ then
+ fperms 4755 /usr/bin/screen-${PV}
+ tmpfiles_perms="0755"
+ tmpfiles_group="root"
+ else
+ fowners root:utmp /usr/bin/screen-${PV}
+ fperms 2755 /usr/bin/screen-${PV}
+ tmpfiles_perms="0775"
+ tmpfiles_group="utmp"
+ fi
+
+ dodir /etc/tmpfiles.d
+ echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
+ > "${ED}"/etc/tmpfiles.d/screen.conf
+
+ insinto /usr/share/screen
+ doins terminfo/{screencap,screeninfo.src}
+
+ insinto /etc
+ doins "${FILESDIR}"/screenrc
+
+ pamd_mimic_system screen auth
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]
+ then
+ elog "Some dangerous key bindings have been removed or changed to more safe values."
+ elog "We enable some xterm hacks in our default screenrc, which might break some"
+ elog "applications. Please check /etc/screenrc for information on these changes."
+ fi
+
+ # Add /tmp/screen in case it doesn't exist yet. This should solve
+ # problems like bug #508634 where tmpfiles.d isn't in effect.
+ local rundir="${EROOT%/}/tmp/screen"
+ if [[ ! -d ${rundir} ]] ; then
+ if use multiuser || use prefix ; then
+ tmpfiles_group="root"
+ else
+ tmpfiles_group="utmp"
+ fi
+ mkdir -m 0775 "${rundir}"
+ chgrp ${tmpfiles_group} "${rundir}"
+ fi
+
+ ewarn "This revision changes the screen socket location to ${rundir}"
+}
diff --git a/app-misc/screen/screen-4.6.1.ebuild b/app-misc/screen/screen-4.6.1.ebuild
new file mode 100644
index 000000000000..01169b42901c
--- /dev/null
+++ b/app-misc/screen/screen-4.6.1.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SCM=""
+[[ "${PV}" = 9999 ]] && SCM="git-r3"
+inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM}
+unset SCM
+
+DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
+HOMEPAGE="https://www.gnu.org/software/screen/"
+
+if [[ "${PV}" != 9999 ]] ; then
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+else
+ EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git"
+ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
+ S="${WORKDIR}"/${P}/src
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug nethack pam selinux multiuser"
+
+CDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+ pam? ( virtual/pam )"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )"
+DEPEND="${CDEPEND}
+ sys-apps/texinfo"
+
+PATCHES=(
+ # Don't use utempter even if it is found on the system.
+ "${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
+)
+
+pkg_setup() {
+ # Make sure utmp group exists, as it's used later on.
+ enewgroup utmp 406
+}
+
+src_prepare() {
+ default
+
+ # sched.h is a system header and causes problems with some C libraries
+ mv sched.h _sched.h || die
+ sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
+
+ # Fix manpage.
+ sed -i \
+ -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
+ -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
+ -e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
+ doc/screen.1 \
+ || die
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
+ fi
+
+ # reconfigure
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # enable msg_header by upping the feature standard compatible
+ # with c99 mode
+ append-cppflags -D_XOPEN_SOURCE=600
+ fi
+
+ use nethack || append-cppflags "-DNONETHACK"
+ use debug && append-cppflags "-DDEBUG"
+
+ econf \
+ --with-socket-dir="${EPREFIX}/tmp/screen" \
+ --with-sys-screenrc="${EPREFIX}/etc/screenrc" \
+ --with-pty-mode=0620 \
+ --with-pty-group=5 \
+ --enable-rxvt_osc \
+ --enable-telnet \
+ --enable-colors256 \
+ $(use_enable pam)
+}
+
+src_compile() {
+ LC_ALL=POSIX emake comm.h term.h
+ emake osdef.h
+
+ emake -C doc screen.info
+ default
+}
+
+src_install() {
+ local DOCS=(
+ README ChangeLog INSTALL TODO NEWS* patchlevel.h
+ doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
+ )
+
+ default
+
+ local tmpfiles_perms tmpfiles_group
+
+ if use multiuser || use prefix
+ then
+ fperms 4755 /usr/bin/screen-${PV}
+ tmpfiles_perms="0755"
+ tmpfiles_group="root"
+ else
+ fowners root:utmp /usr/bin/screen-${PV}
+ fperms 2755 /usr/bin/screen-${PV}
+ tmpfiles_perms="0775"
+ tmpfiles_group="utmp"
+ fi
+
+ dodir /etc/tmpfiles.d
+ echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
+ > "${ED}"/etc/tmpfiles.d/screen.conf
+
+ insinto /usr/share/screen
+ doins terminfo/{screencap,screeninfo.src}
+
+ insinto /etc
+ doins "${FILESDIR}"/screenrc
+
+ pamd_mimic_system screen auth
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]
+ then
+ elog "Some dangerous key bindings have been removed or changed to more safe values."
+ elog "We enable some xterm hacks in our default screenrc, which might break some"
+ elog "applications. Please check /etc/screenrc for information on these changes."
+ fi
+
+ # Add /tmp/screen in case it doesn't exist yet. This should solve
+ # problems like bug #508634 where tmpfiles.d isn't in effect.
+ local rundir="${EROOT%/}/tmp/screen"
+ if [[ ! -d ${rundir} ]] ; then
+ if use multiuser || use prefix ; then
+ tmpfiles_group="root"
+ else
+ tmpfiles_group="utmp"
+ fi
+ mkdir -m 0775 "${rundir}"
+ chgrp ${tmpfiles_group} "${rundir}"
+ fi
+
+ ewarn "This revision changes the screen socket location to ${rundir}"
+}
diff --git a/app-misc/screen/screen-9999.ebuild b/app-misc/screen/screen-9999.ebuild
new file mode 100644
index 000000000000..115c11607624
--- /dev/null
+++ b/app-misc/screen/screen-9999.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic toolchain-funcs pam autotools user git-r3
+
+DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
+HOMEPAGE="https://www.gnu.org/software/screen/"
+EGIT_REPO_URI="https://git.savannah.gnu.org/git/screen.git"
+EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug nethack pam selinux multiuser utmp"
+
+CDEPEND="
+ >=sys-libs/ncurses-5.2:0=
+ pam? ( virtual/pam )"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ utmp? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+"
+DEPEND="${CDEPEND}
+ sys-apps/texinfo"
+
+RESTRICT="test"
+S="${WORKDIR}"/${P}/src
+
+pkg_setup() {
+ # Make sure utmp group exists, as it's used later on.
+ enewgroup utmp 406
+}
+
+src_prepare() {
+ default
+
+ # sched.h is a system header and causes problems with some C libraries
+ mv sched.h _sched.h || die
+ sed -i \
+ -e '/include/ s:sched.h:_sched.h:' \
+ screen.h winmsg.c canvas.h sched.c || die
+ sed -i -e 's:sched.h:_sched.h:g' Makefile.in || die
+
+ # Fix manpage.
+ sed -i \
+ -e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
+ -e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
+ -e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
+ -e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
+ doc/screen.1 \
+ || die
+
+ # reconfigure
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+
+ [[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl
+
+ use nethack || append-cppflags "-DNONETHACK"
+ use debug && append-cppflags "-DDEBUG"
+
+ econf \
+ --enable-socket-dir="${EPREFIX}/tmp/screen" \
+ --with-system_screenrc="${EPREFIX}/etc/screenrc" \
+ --with-pty-mode=0620 \
+ --with-pty-group=5 \
+ --enable-telnet \
+ $(use_enable pam) \
+ $(use_enable utmp)
+}
+
+src_compile() {
+ LC_ALL=POSIX emake comm.h term.h
+
+ emake -C doc screen.info
+ default
+}
+
+src_install() {
+ local tmpfiles_perms tmpfiles_group
+
+ dobin screen
+
+ if use multiuser || use prefix
+ then
+ fperms 4755 /usr/bin/screen
+ tmpfiles_perms="0755"
+ tmpfiles_group="root"
+ else
+ fowners root:utmp /usr/bin/screen
+ fperms 2755 /usr/bin/screen
+ tmpfiles_perms="0775"
+ tmpfiles_group="utmp"
+ fi
+
+ dodir /etc/tmpfiles.d
+ echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
+ >"${ED}"/etc/tmpfiles.d/screen.conf
+
+ insinto /usr/share/screen
+ doins terminfo/{screencap,screeninfo.src}
+ insinto /usr/share/screen/utf8encodings
+ doins utf8encodings/??
+ insinto /etc
+ doins "${FILESDIR}"/screenrc
+
+ pamd_mimic_system screen auth
+
+ dodoc \
+ README ChangeLog INSTALL TODO NEWS* \
+ doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
+
+ doman doc/screen.1
+ doinfo doc/screen.info
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]
+ then
+ elog "Some dangerous key bindings have been removed or changed to more safe values."
+ elog "We enable some xterm hacks in our default screenrc, which might break some"
+ elog "applications. Please check /etc/screenrc for information on these changes."
+ fi
+
+ # Add /tmp/screen in case it doesn't exist yet. This should solve
+ # problems like bug #508634 where tmpfiles.d isn't in effect.
+ local rundir="${EROOT%/}/tmp/screen"
+ if [[ ! -d ${rundir} ]] ; then
+ if use multiuser || use prefix ; then
+ tmpfiles_group="root"
+ else
+ tmpfiles_group="utmp"
+ fi
+ mkdir -m 0775 "${rundir}"
+ chgrp ${tmpfiles_group} "${rundir}"
+ fi
+
+ ewarn "This revision changes the screen socket location to /run/screen."
+}
diff --git a/app-misc/screenfetch/Manifest b/app-misc/screenfetch/Manifest
new file mode 100644
index 000000000000..ae94ab65fb6a
--- /dev/null
+++ b/app-misc/screenfetch/Manifest
@@ -0,0 +1,14 @@
+DIST screenfetch-2.7.7.zip 41420 SHA256 c50322375929c78b13afc5fd4e62259087db3988283109ddcf60e98194f3adc8 SHA512 b783c05fc385d176e8d4e06c647c86ceef0ec465ddaa7ceab4116dc844e6a3a4cb10a706aef62ed4c0e1893942be4761dc1962e99d45b528742372415bd17b10 WHIRLPOOL ab863a39d5610ca86302cdbedbb83c4a4da6909093c0a6b7e43d92c1a5f1bf86a34f2ce316ab6168fa6097d478b4838160758a8ce0de9c0404ed538461f868c3
+DIST screenfetch-3.2.2.tar.gz 46668 SHA256 6f30cc06b1f19cbeffc211afdf4c754c1e77b5e35965240ea77b032bb2e32bd4 SHA512 f8ddfcebe69919c9163c2377de8dfb28f15c9dd59c43d73245591b2ba6c41123c6c8130b673d87e6068850fca3b277f93bbb626e228266ea0c87be5856e823da WHIRLPOOL 7514eafaa7fb1df51a8beb5720f771217b32b902ca4e4433cfbe0f058dc11ccd82529b7622a1686878ad2e983063cfeaed0c9302b47f335a1dc4e5cb628568e4
+DIST screenfetch-3.6.5.tar.gz 54153 SHA256 b6605a94be9720a5e64778dcc43ddf23e435d6704c5d177b671aa57d34966f20 SHA512 291ec0d313deebe7931b739578b69f590ae32cb7a59c5ae6975b25240d9c5bd92b8957d6a53baf78aa95737642eadd37e081fae5b5ca5120da5a9d76bb980c59 WHIRLPOOL 33b8be75c98e09adde332792b10ff1aa808d6ed5d170aaeb9ee8eaa25925119b82a49902d39d810ae908fc65a864d5b7b6cbe9ce956054b08a8eda96e3ac4ab3
+DIST screenfetch-3.7.0.tar.gz 60223 SHA256 6711fe924833919d53c1dfbbb43f3777d33e20357a1b1536c4472f6a1b3c6be0 SHA512 9a6e89ef2cd48f12b22230c7aff356ac2ece8dc7437034a51a66f8026e5ca4a630af43511a60b21e9fc9f89af9e2493b8cfa3a06294e74c3d611ae3bb0db922d WHIRLPOOL 3db52291ceef4403742f06644e1a6fc1a36a95aec9f1c3cc730676d8b731eedb9fe4efc6fd81b6701d3e26039c6783bea684cea8c14ed73bf218c04d90db4ff0
+DIST screenfetch-3.8.0.tar.gz 71970 SHA256 248283ee3c24b0dbffb79ed685bdd518554073090c1c167d07ad2a729db26633 SHA512 903f42e3bfcd719c4d6b91d10e5678063e223c2baa58214c7e8dae9ea925852f9e2c07ad90148e02d87ce5f9af7b989e80e93c2f569cd579e6f4f7d5c49c62f2 WHIRLPOOL 9b413d124ac0e80bd081d88703693ba2a862e0eaed8d7f175b1935ec89425acf246021c54c05b370e1c89a4e942b4d9d598d1583321a39f6eb2323af2283305f
+EBUILD screenfetch-2.7.7.ebuild 639 SHA256 10d15248e09bb384fb5f29a601297bfb2aecbacecd0a441299a96e022f8210d1 SHA512 b340f9b3727efb66d5cdc71159251a33e9a934a4e235f91274492045b44a29d282b7d1a0b5cde7e473dfad73cc75ba5ac58db0d486b14894ed1b7aeafa057fba WHIRLPOOL b7fa247104d55b8f64a43f47291926282283511c78cf2883e07b65649a2758128bc6d829e8f187c769ed0b21f274702328b3ad2ff121531e69f2ae8d4e1db0a2
+EBUILD screenfetch-3.2.2.ebuild 679 SHA256 cfb884aa3935c0cce71187345b760d635d96200ded2204e51806af1baa564c22 SHA512 050f57c70b624d776c400e743883e53ea86ccc0a2edf38e5afcc10fcbe6ab696323c9c447918a34809024b815d7b1cc1513cadddf1b5644f91545cbe5c3d2794 WHIRLPOOL 8a13267f45d2fd0f45bf5ac8aeb73d98e25152cfcb8150a2bf38ee819a39888668c1a18facc90ca264b92c3bcd5c06fb7e54941e176a73fe2778e477f61580c6
+EBUILD screenfetch-3.6.5.ebuild 679 SHA256 81ec91f5b7a37102a4616a78b267aefeb34e02665cc7c640299e53b654b51bf2 SHA512 8183caa09b6cc466ebc654bb956f695cc506f17b91dbd5afb4f4318bc9f7ae7b7930073cec9442770f153e58447330ed5e745ee46061706645ff4f2902f5447e WHIRLPOOL 6dbcebfea6f1a992d84753d8d50c1ffb4b435f8b034b0b162f88f92995c98982c78046980d84769480e4e09d60f9b7e5cacab4c06f6634d149857f26d02e3973
+EBUILD screenfetch-3.7.0.ebuild 668 SHA256 7a1c8dfd31a2f91597630e4833fa7eaeb7dbe8e128129147c589e80decf9b8b0 SHA512 f6d2a7847252534025bc28e068c7600334841329d8d52b5d9039a032400c2054c8f62a2e409c232233f121bdb481d6700dd08b70df83a5fa339f9dbab6c7538c WHIRLPOOL 7d621dc01cd4ec0a103a0cc93f1aa7ed3c42b03ae011ef6938f3ffa3b56ec628ac09c407f3036be71e9ee2c096f3b728aca75ac4eda10bda6ffd2e60084148f4
+EBUILD screenfetch-3.8.0.ebuild 684 SHA256 c487f5a926e82b90bc42fc70cf4a2976419efe24586b30f9757221080a8519dc SHA512 9a78377a310e57e106a16feab5b9958759612cc11b17e751ed2fab9408140f34bafb0954f00c8f946660f59151a9ceaa0c91503a89f9a8517c41c7b7fbf142fb WHIRLPOOL be97a2c6add95f3ea52613bb62ed66e2356e6f0ca086fa21e01d9f4d7a339c4973d164e76548428352f08cbcfc0102fcb8ecff6751d4b702b7a7aae900a8ff90
+EBUILD screenfetch-9999.ebuild 684 SHA256 c487f5a926e82b90bc42fc70cf4a2976419efe24586b30f9757221080a8519dc SHA512 9a78377a310e57e106a16feab5b9958759612cc11b17e751ed2fab9408140f34bafb0954f00c8f946660f59151a9ceaa0c91503a89f9a8517c41c7b7fbf142fb WHIRLPOOL be97a2c6add95f3ea52613bb62ed66e2356e6f0ca086fa21e01d9f4d7a339c4973d164e76548428352f08cbcfc0102fcb8ecff6751d4b702b7a7aae900a8ff90
+MISC ChangeLog 2787 SHA256 d608df5e9baf7f72ab49eb44072ef12b9e22d823a1b53afd601cf1661255a067 SHA512 f0f253a8cf604ba5c94da89a9dd69d88e0c5a91659e3b56494674bc982d6c6a484e60fca9897dd38e6c43f2687c0530b8dc7f4ac154cec8d2fc7663d5ee30b2e WHIRLPOOL 9486cb1a7c0f90e46d0fa1c79d1b0892862300893cb8791429dc0c9056756dbf56ea9c6e7b54a682880d5f851ca645e6f97ce8ff5fc78a0b92ca8df5a08d5c70
+MISC ChangeLog-2015 2466 SHA256 d1498c8d5a1118fb99dbeae2441ca14946e01e10979dfca09cc9ff630511d2ac SHA512 e3ecf461751d1e104b86c9f03413e1c828e3d422e01d3b224036479504bf6ce0301399ae0e5f8bd906c54ac89f6428348041a824f18a8dec4621c81f02979341 WHIRLPOOL a2f90405b8d191265e5585278fa81d2ebdd52dc1492945db676cfb7a19364f9e15eb062fb5b14ff41584921d3424bd1e21759e401a07a3fc08bffe89c7e434de
+MISC metadata.xml 452 SHA256 3644872226c695458de35edda4ac05bdbd21ad873ed9b8dc0c27d62ab5efab6e SHA512 f09da25b50fc92fe253cbd2eb32d158e4628fe4d5a62a028fc0437eb2f6e7d6fab7f568c9e165a8f02477dc11ecdec59d764c9d56a779f97d8805ab218741c1c WHIRLPOOL bad06c4bdf5bb951ddaad78f88b34bb937670f5da10fe1a8ee2c94c4eebd310685edf3e547daef7b2f62167e02fa4e9089096a3d60348f18c455530ec55d253e
diff --git a/app-misc/screenfetch/metadata.xml b/app-misc/screenfetch/metadata.xml
new file mode 100644
index 000000000000..b46d2f934145
--- /dev/null
+++ b/app-misc/screenfetch/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <use>
+ <flag name="X">Use the <pkg>media-gfx/scrot</pkg> package to take screenshots</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">KittyKatt/screenFetch</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/screenfetch/screenfetch-2.7.7.ebuild b/app-misc/screenfetch/screenfetch-2.7.7.ebuild
new file mode 100644
index 000000000000..ced62973fabc
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-2.7.7.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MY_PN="${PN/f/F}"
+DESCRIPTION="A Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+SRC_URI="https://github.com/KittyKatt/${MY_PN}/zipball/v${PV} -> ${P}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="X"
+
+DEPEND="app-arch/unzip"
+RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )"
+
+GIT_HASH="4881270"
+S="${WORKDIR}"/KittyKatt-${MY_PN}-${GIT_HASH}
+
+src_install() {
+ dobin ${PN}-dev
+ # also known as screenfetch
+ dosym ${PN}-dev /usr/bin/${PN}
+ dodoc CHANGELOG README.mkdn TODO
+}
diff --git a/app-misc/screenfetch/screenfetch-3.2.2.ebuild b/app-misc/screenfetch/screenfetch-3.2.2.ebuild
new file mode 100644
index 000000000000..63272d9335c9
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-3.2.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MY_PN="${PN/f/F}"
+DESCRIPTION="A Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \
+ ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="X"
+
+DEPEND=""
+RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )"
+
+src_install() {
+ newbin ${PN}-dev ${PN}
+ dodoc CHANGELOG README.mkdn TODO
+}
diff --git a/app-misc/screenfetch/screenfetch-3.6.5.ebuild b/app-misc/screenfetch/screenfetch-3.6.5.ebuild
new file mode 100644
index 000000000000..8426b05c5be7
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-3.6.5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+MY_PN="${PN/f/F}"
+DESCRIPTION="A Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \
+ ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="X"
+
+DEPEND=""
+RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )"
+
+src_install() {
+ newbin ${PN}-dev ${PN}
+ dodoc CHANGELOG README.mkdn TODO
+}
diff --git a/app-misc/screenfetch/screenfetch-3.7.0.ebuild b/app-misc/screenfetch/screenfetch-3.7.0.ebuild
new file mode 100644
index 000000000000..204be3c6626d
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-3.7.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+MY_PN="${PN/f/F}"
+
+DESCRIPTION="Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="X"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_install() {
+ newbin ${PN}-dev ${PN}
+ dodoc CHANGELOG README.mkdn TODO
+}
+
+pkg_postinst() {
+ optfeature "resoluton detection" x11-apps/xdpyinfo
+ optfeature "screenshot taking" media-gfx/scrot
+ optfeature "screenshot uploading" net-misc/curl
+}
diff --git a/app-misc/screenfetch/screenfetch-3.8.0.ebuild b/app-misc/screenfetch/screenfetch-3.8.0.ebuild
new file mode 100644
index 000000000000..517954aa4689
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-3.8.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/f/F}"
+
+DESCRIPTION="Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="curl X"
+
+DEPEND=""
+RDEPEND="
+ curl? ( net-misc/curl )
+ X? (
+ media-gfx/scrot
+ x11-apps/xdpyinfo
+ )"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+src_install() {
+ newbin ${PN}-dev ${PN}
+ einstalldocs
+}
diff --git a/app-misc/screenfetch/screenfetch-9999.ebuild b/app-misc/screenfetch/screenfetch-9999.ebuild
new file mode 100644
index 000000000000..517954aa4689
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/f/F}"
+
+DESCRIPTION="Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="curl X"
+
+DEPEND=""
+RDEPEND="
+ curl? ( net-misc/curl )
+ X? (
+ media-gfx/scrot
+ x11-apps/xdpyinfo
+ )"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+src_install() {
+ newbin ${PN}-dev ${PN}
+ einstalldocs
+}
diff --git a/app-misc/screenie/Manifest b/app-misc/screenie/Manifest
new file mode 100644
index 000000000000..f49a4f954912
--- /dev/null
+++ b/app-misc/screenie/Manifest
@@ -0,0 +1,6 @@
+AUX screenie-CVE-2008-5371.patch 636 SHA256 998f8116aa36ed6b0db6c587ebe2931e8fcc50cf17cabfa80dc83754f31f6a21 SHA512 64fb52e614d281e8302b6a664d28692b88c5f56301fec1f5f9be546eb71a17aaf462b9a96ea1f0ad1176583613edea292cfd08e10f4a144c12f67c575696a084 WHIRLPOOL 7fe66cf68c14e01f04d85cfb992d25bfac8a7543be216b62e0a487892c2308e553f5f8c228919480ea26c67612518e25304401c93a763fe2343436a3e7cfd6d8
+DIST screenie-1.30.0.tar.bz2 10068 SHA256 60e141a2b036375d93f5edf6b29d5008ec54d9c8f501a21ffce17748bd64b96a SHA512 8068421aaa461df32bccbe72e23474b20ef3f761e78a3e520c1f9f19a383d9ad9fd0377e2cdf1c4f023ca570b172a40ebff63d3cb538b96d1e1706fe83d03fdd WHIRLPOOL e842eef4bd97270ad2360f22896678b3515323e56b441d7e3e82165d2fe79de83e1b3cf4262a571a83519683be89af878664d0a9bccbce6646bc31d1f93b84b0
+EBUILD screenie-1.30.0-r1.ebuild 627 SHA256 d01f4c7891829c90d98f5d8ffceeec3346a548de8a6d7e9b95456249ecbcc9b8 SHA512 4a0f2754a1e720a939d77947793b7dcb5f4ef29063bddeccb766c82b4585182fd9dcfc31da0095a2f0cb36bf4df69e0fa3c111e4b3f144f7e9f67d41f16126df WHIRLPOOL e8a74f70061081895bce2fb080698d550ce9489c861a6e34153f6d9726ed143e1ca803d74aca823742ae408fb6eef3a4c1e33e1514621be5900bcc3aa68fc492
+MISC ChangeLog 2995 SHA256 17e2dbbf5ee5e28dc2f98eae27a330250f75ae0d697e68d0b6aa133f97c563fa SHA512 3ef8df94848242def026ced4983f94a771c034ee7332f5c94e302f3e21b57f598c58f01429e146ee4cbe22985d3d318a5c85178f53d1671664eb98a60a0dfdb9 WHIRLPOOL 919093deb27ac33c2b847a3e75bcb740d58c9bc69eff3b1f51e33aa28389ef844a36ee4790446fd39da214e0303f5a1f7c03c585a83954b9834824a347903d03
+MISC ChangeLog-2015 3448 SHA256 431281df54a06f014d86948f4ce44118fc717ad5b208611b5c3af6c97bba9a9d SHA512 9ab731650988a182c6031a717caf045ffe5992f2b8c58ec6d501ea480ef63130c49228266a58d2e85ee1e9d7511ae547886ed16980538926f51b21258ce2f73f WHIRLPOOL 40ef526d724069dcf8f03fb6c8f766ae58430ebdf5013f2240fc2bf4566365d07bae5554ad7230163f171a9bbd1febc93558340373d10a42d29ac77239da0080
+MISC metadata.xml 931 SHA256 703d62d9aa8c042b60816fefa640d2061baab23108ab347a9ac687a912b351b4 SHA512 e6ea535ec882be9b8a70c0982caf002b20f8226c61276577bddf85adf0b71032a56aaacf2b8460e5f6e730ffdb0b23e1735b961e9c662e1a4cb8e4279e9e7db6 WHIRLPOOL 866d5ee3c2a54619b2e40a325fd97e868d1928d49ab6834b5ea62338a7f817ff43d73f2d95824710194e87897bb48581fbdc316ae14eb19fa9a88b2d7201bcb1
diff --git a/app-misc/screenie/files/screenie-CVE-2008-5371.patch b/app-misc/screenie/files/screenie-CVE-2008-5371.patch
new file mode 100644
index 000000000000..2bf8dbdc6b8a
--- /dev/null
+++ b/app-misc/screenie/files/screenie-CVE-2008-5371.patch
@@ -0,0 +1,26 @@
+Patch for bug 250476 (CVE-2008-5371), courtesy of nion@debian.org.
+
+diff -u screenie-1.30.0/screenie screenie-1.30.0/screenie
+--- screenie-1.30.0/screenie
++++ screenie-1.30.0/screenie
+@@ -19,7 +19,7 @@
+ # Foundation Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+ #global settings
+-TMPF=/tmp/.screenie.$$
++TMPF=$(mktemp -t skreenie.XXXXXX || exit 1)
+ ACTIVE_SCREENS="screen \-ls | awk '/tached/ { print \$1}' | sort"
+ i=0
+ e=0
+@@ -59,9 +59,9 @@
+ esac
+
+ #cleanup temp files
+-if test -f /tmp/.screenie*
++if test -f $TMPF
+ then
+- rm /tmp/.screenie* >/dev/null 2>&1
++ rm $TMPF >/dev/null 2>&1
+ fi
+
+ while :
diff --git a/app-misc/screenie/metadata.xml b/app-misc/screenie/metadata.xml
new file mode 100644
index 000000000000..e7b2676fce0f
--- /dev/null
+++ b/app-misc/screenie/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>rgkmg25@gmail.com</email>
+ <name>Robert Kowalski</name>
+ <description>Proxy Maintainer. CC on bugs</description>
+ </maintainer>
+ <longdescription lang="en">
+ Screenie is a small and lightweight GNU screen(1) frontend that is
+ designed to be a session handler that simplifies the process of
+ administrating detached jobs by providing an interactive menu.
+ </longdescription>
+ <longdescription lang="ja">
+ Screenie「スクリーãƒã€ã¨è¨€ã†ã‚¢ãƒƒãƒ—ã¯å°ã•ã„ãªGNU
+ Screen(1)フロントエンドã§ã™ã€‚対話的メニューã§
+ プロセス管ç†ã‚’安ããªã‚Šã¾ã™ã€‚
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/screenie/screenie-1.30.0-r1.ebuild b/app-misc/screenie/screenie-1.30.0-r1.ebuild
new file mode 100644
index 000000000000..248b1f0c3a4b
--- /dev/null
+++ b/app-misc/screenie/screenie-1.30.0-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="screen(1) frontend that is designed to be a session handler"
+HOMEPAGE="http://pubwww.hsz-t.ch/~mgloor/screenie.html"
+SRC_URI="http://pubwww.hsz-t.ch/~mgloor/data/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm hppa ia64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-misc/screen"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-CVE-2008-5371.patch"
+}
+
+src_install() {
+ dobin screenie || die "dobin failed"
+ dodoc AUTHORS ChangeLog INSTALL README TODO || die "dodoc failed"
+}
diff --git a/app-misc/scrub/Manifest b/app-misc/scrub/Manifest
new file mode 100644
index 000000000000..8b5772756eed
--- /dev/null
+++ b/app-misc/scrub/Manifest
@@ -0,0 +1,7 @@
+DIST scrub-2.5.2.tar.gz 192060 SHA256 92d688f994fb5b8d377bb41d46f077ebf5c41327d1b6af2824eb4d2bb2c7815e SHA512 1ae96c6f59d9039720642acc320a7e4498116594a3058ace86ea6346c58131283063c4337a8d6960a0fab5d4d592e471cb0652d7886def850d97a71e8dbce201 WHIRLPOOL dd5fb30d7df86f430a107aa25197cd3d5b1649635fd2e5f85c3495d8161fb96995086114e5d20ab85dfa26763ca319758463cf6251e3ff9c4c6c91f895baee8a
+DIST scrub-2.6.1.tar.gz 362536 SHA256 43d98d3795bc2de7920efe81ef2c5de4e9ed1f903c35c939a7d65adc416d6cb8 SHA512 6e434b9d81c5ac473188c37af790c808771204203b3f04a5ca316c6a890f872d1beb73ce4713546e14ae91287d7adaf2fbfa44a30af634c2b3af890e2a0e8640 WHIRLPOOL 443a790da1e2507984e8b5f55f566fcf8f850b7b81b4e01c4df5fa8d6b9045494af1defd4b36baaa44a91ae99fea18a9de2be41b8af52cea5f8fa103c92f4e21
+EBUILD scrub-2.5.2.ebuild 361 SHA256 fe4b71b8114570037a7031f201b72db3f9e70452dcc5df3c41083c31990bc446 SHA512 f03300f1f891d99128652209b056a90af2c5ca70dc693afd75c3846dccd476f5f129ce2ba92596f60ff6f2400182edbac31299a5109bd178c56ac748c22d4360 WHIRLPOOL 28a388a01d4d5791585b19cd3319dfd1bf9520067522be82e70907acaf7bd0de9ef7911a32feaa002761e89da8c5dcc80e720c11353abdd9add9ae2e10ecb46f
+EBUILD scrub-2.6.1.ebuild 384 SHA256 2078408d1ffb96723ce182e50a17f0e02dd3b9b7ca5c70a9d9e775248f738fbe SHA512 1bfec404206dcfaf9667e840046efe9abd873b7a86842e3217af7209c4e2ff3bb313ef39740dace3367313951e9654fbbf4e5fdfd2dc1106165d4ec1ff9b66e2 WHIRLPOOL eecc9555a5b65ffafabf49b67435191082823bf5ead6750329860fadb354ccc8c2715d9ea7954e4a605ae3499c2a8a06c061d77dd1f992a9bfd53b266fc7e5f3
+MISC ChangeLog 2704 SHA256 92f60fcee3d797435ca4e1ccbcb928b54414fde93f347bb7204695de53e48afd SHA512 675a7bbf8c552b7eb82d9fee4a333926e1352e1233a8351f3d8f1cab386f05170739e09d7d0bec4c5ae23bebe04fb4a5f9ffd1cf1ff92154fec148dae1f37e9f WHIRLPOOL 92843b8680a36f763fdaecf6d3ba26b61290bcdb68ddd2fbdea3e01aa102231e017552e3d6f8599b3f6e934567e2fdcd5bffbdd1059871c0338ba8839e643cf5
+MISC ChangeLog-2015 2140 SHA256 47418dd553f4d28a835010ca248bce246778aae1fefd72b938b986d2aebfbb90 SHA512 c5ddffa17aa1461fe6d16f658ede00d7ead4d2ce40d563577f51ba7cd9d220b12c19b5242a55163a056a126473c19cf108bf039dd0f7ee8eac6a918e92666428 WHIRLPOOL 7c2d5405df2882c41b28f38583e47f62163d6554340f3f784db0f0180a84ec9e31ab56777eb4e56ae6426d5fc225817d50f35eb948a985baa277f19f10257601
+MISC metadata.xml 510 SHA256 be83a45a4856529c3e04933da21855102c406c3fe5a3e8f433f50dc9a6a4f706 SHA512 765ffd0e734190ea3df782ae4842ed23a78857747b459865e41f017f995e7f364d2d04fab119d1d1f24d6a4fb7688a07e65e1c324189fef968f83a38ef2156ce WHIRLPOOL 74c1b360301e5450613a875dd120c03c1f5b9231ce0b26e185f4a6f5b628b65e5417c551ebba274d13198c55ac15a1f08f4ac0b9eac5e63a88fec634adc5ef64
diff --git a/app-misc/scrub/metadata.xml b/app-misc/scrub/metadata.xml
new file mode 100644
index 000000000000..860304ffaf2e
--- /dev/null
+++ b/app-misc/scrub/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev-zero@gentoo.org</email>
+ <name>Tiziano Müller</name>
+ </maintainer>
+ <longdescription>Scrub overwrites hard disks, files, and other devices with repeating patterns intended to make recovering data from these devices more difficult.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">chaos/scrub</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/scrub/scrub-2.5.2.ebuild b/app-misc/scrub/scrub-2.5.2.ebuild
new file mode 100644
index 000000000000..ede2f37a6bc0
--- /dev/null
+++ b/app-misc/scrub/scrub-2.5.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="write patterns on disk/file"
+HOMEPAGE="https://github.com/chaos/scrub"
+SRC_URI="https://github.com/chaos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
diff --git a/app-misc/scrub/scrub-2.6.1.ebuild b/app-misc/scrub/scrub-2.6.1.ebuild
new file mode 100644
index 000000000000..654963361fc9
--- /dev/null
+++ b/app-misc/scrub/scrub-2.6.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="Overwrite files with iterative patterns."
+HOMEPAGE="https://github.com/chaos/scrub"
+SRC_URI="https://github.com/chaos/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
diff --git a/app-misc/sl/Manifest b/app-misc/sl/Manifest
new file mode 100644
index 000000000000..0b11d5ba5035
--- /dev/null
+++ b/app-misc/sl/Manifest
@@ -0,0 +1,5 @@
+DIST sl-5.02.tar.gz 5353 SHA256 1e5996757f879c81f202a18ad8e982195cf51c41727d3fea4af01fdcbbb5563a SHA512 a4d18bc79d7e0eca7748b10226a6b2a85a7a01d636e4e9215bf524a7849bc5cb250034326e5a69f7423d79e40b92182fddc0e56e25df616edae06369c782cb26 WHIRLPOOL cd44531f70bb854f3fe0f421cc63c9ec7e694631d23249cd3ea452eb76ef3aa43bbe7159796e879dac85be8188084ca1321d5368f87a0d32178dc42aaa72d8c4
+EBUILD sl-5.02.ebuild 877 SHA256 f6f7b87dd130c25a46e6bc28bfda8a5fba3e6b714ab44cbd48209c1580ac8358 SHA512 f3866e623999c20a2d160a6b14c43c36d0a835370fc25a14cc8c2e6dc312091dff9bfec2f0e49880e338b361de92b15b461a74a1b3964f6bc214647a7705996f WHIRLPOOL 649832a9befb98bf6cadf4c0c33482a0b0ed62ab37508c51c665f90955db3ae0ecbb29bbcd2195dc50dc3226d1dbdbc754316940080fad5226703d6da4d7b8ea
+MISC ChangeLog 2979 SHA256 f6a2f6e3a447c1d371c276287158b202e919301a48d366a4a5071f8877c6dc45 SHA512 61954ac509294ba6590491a718de0d5ece4e37ee76ba172f7e3badad99b0cf639928d6f7e9c55d166bc2878126a2ba5cb3deb6e6ec34a9640539d8560fa3a295 WHIRLPOOL 5e759feb77042d29b629e50283a895d7b20e897cf7430ffae94ac3b1d4875f0761f4e81c409ea14856e35db36bce4626cbee20cc8951755f1255b6c068dc72ee
+MISC ChangeLog-2015 4119 SHA256 24fe78bd9a1d92b745f6ac2f3ab6cc665a26830dc125f7828ed432022529858d SHA512 d71284cb1821a9ccaf2f3d2c85178128c33227167c7401f09b81ffaad6845da8e6a0b6e0a270e91bcdc3aa241bbdd78ddc0103373406a882cd388446551b0909 WHIRLPOOL 65a72c311c52ad197638c12cede705775232a3cef6096a8138f0501c75685a63203f4ced913155c071e7a1f319db6bf84fe31951ff146b68e35def3fa6fed98c
+MISC metadata.xml 607 SHA256 af05961fe9c4e4bb9e913633f293b031084289875b691117e816af4f006ff694 SHA512 7f3cdb880453bbea4ae1cc7932e640331ec88693dfac15ab059e6579648834a958e20e8d1396c1beab386247c95724abad199ec7cd607e5fd66c4fd519bb4a5c WHIRLPOOL 0fa473ec2108d39915f65c4fb87bbf0ac3da5fabf49be7fe0940e584031e1279fb9fceebd5ca24a93f2c582e2e2c00a985313c73b8c7296b59c167e7114c1e92
diff --git a/app-misc/sl/metadata.xml b/app-misc/sl/metadata.xml
new file mode 100644
index 000000000000..e68cdace86bd
--- /dev/null
+++ b/app-misc/sl/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <longdescription lang="en">
+ SL is an extremely sophisticated type remediation program at which you
+ will be astonished. The original program has experienced gradual
+ modifications and enhancements so that one can never think of better
+ software than SL.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">mtoyoda/sl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/sl/sl-5.02.ebuild b/app-misc/sl/sl-5.02.ebuild
new file mode 100644
index 000000000000..223474eab81f
--- /dev/null
+++ b/app-misc/sl/sl-5.02.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="sophisticated graphical program which corrects your miss typing"
+HOMEPAGE="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html https://github.com/mtoyoda/sl/"
+SRC_URI="https://github.com/mtoyoda/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Toyoda"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="l10n_ja"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+
+src_prepare() {
+ default
+ sed \
+ -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
+ -i Makefile || die
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+
+ if use l10n_ja; then
+ newman "${PN}.1.ja" "${PN}.ja.1"
+ DOCS+=( README.ja.md )
+ fi
+
+ einstalldocs
+}
diff --git a/app-misc/sleepyhead/Manifest b/app-misc/sleepyhead/Manifest
new file mode 100644
index 000000000000..b34bc7656a80
--- /dev/null
+++ b/app-misc/sleepyhead/Manifest
@@ -0,0 +1,15 @@
+AUX common_gui.patch 246 SHA256 a82ebaaa8001590ceff4cf34f39488c2030b1d68cf36a3a27a51cfd19194b062 SHA512 952027395ac82fa3960c5efe9b98acf4a2232380a59fd9d71112ea57d26c94fc9f497e9c1c6e6fd48820f3042b16cc88d9f8b95285e857f1b5580a7e00acf442 WHIRLPOOL b127db8847a463ece5f58658b4c99ec12610274947350187f2d80af0276f5cb732d52dfa2754fa68645b9edb567d2266216749c454dba73bd00f5887ae1d38fd
+AUX gitfix.patch 602 SHA256 37aa5bbf7c6710f4a73ce1c2b51b7262ef7eb872bb035d014678c71d1392a74a SHA512 55ce2c1913dafd333875fd471d6dccbdce2b6eab4350234240b6078ceefb433e0847ab5bd76ca7e07fe567ca8fb8f30ed5f86020d9b9123d6011ab57cf6ff879 WHIRLPOOL 0298c6e10159532a798b4d13b113b420138dd1b96d386b02761e7e11da9f7a73afcbec7313aad0ba0725e2fe03d295837b96cbafdfcda338e364e597b2a69310
+AUX prs1-64fix.patch 497 SHA256 ff6c5ea462f2dfbe1b6d16bdcd6f3639c788830498ebca0718be9b744ba6daf5 SHA512 fb5019d0fa2de29cfd90ca58f57a1208487850479f3ed7252527a575cfb81f1c3f88932210d421b54fadef70d837bbce17cbd171847020b5b07cfc1b36973de2 WHIRLPOOL cad6ad26bcaeaca232fe204ca6266433ecf8461e24fa8b1e5700cffcd51b2e2e105f04a99eba1c4c04600e5e0a6dc30ddec0ac4514d039931324a85a095dd64f
+AUX prs1-code8fix.patch 570 SHA256 9e31538b50afef77feed1112330d11274536a38ea6bd4f8bd0814a08c3cf0f98 SHA512 5226c9ee67cf7bf130cf36b5b9b5db03ba75d571b408614d554ff9d85da98a2b4a67161d5d5cad2e02e2c042ef1eda9927717debaa2701358b5c3c2f4474f244 WHIRLPOOL 97c1e3175e7dea3b8f5f2923beec08284557dd0cf39a3e299cebb658f97b6f878bce559584de3cbaf49cda0955a785ce04f3f7b9c4d6a8741d166ee57085ab9a
+DIST sleepyhead-0.9.2.2.tgz 1399077 SHA256 49bcc7cf2b8351026a1f30b44d71a8500b9c74c6f6ac1aeeb14ca3b039ee7123 SHA512 bb6219c8575b8723b2db063d9a40b164d1aa50223b63468457c85b18895aefc74835d55bcd1f7d0e48e942531bd77041a749e44d870189d9ba011ad85d13c7fa WHIRLPOOL 3e1955aa2d1ab96da8a4f091f15538ba2bd091d935a2b9acaa012c7aadf304e7dcf5cf0f3284e0ed4c29d11f39420f236144adcaec0646f0f4d879c375a822c8
+DIST sleepyhead-0.9.3.tgz 1804053 SHA256 b807f12c3f767037dd2e5bfdeb1f353e425ad537509be4cf3918ec61cf2efea2 SHA512 e50476e9b64ce056d33a55798a86b26fef6db4e8c6058e4e6c5c547e15acb745ea5d79bf3978713583da943626b2395894ed8109fa30a55ca15fa53ff29a2ac9 WHIRLPOOL 5759d97c0309a5c9f312ae9fde85531bc718da4fffe375d6f08b06dd2f34877e935339fa56634f482a3bfc66877c0ad0f4577832f3f89a64ec24dc18b880b826
+DIST sleepyhead-1.0.0_beta2.tar.bz2 3404013 SHA256 db6152a47df69c5cf85a75171d64c2208a953d838ea5c974c2399e8d7cc94353 SHA512 147a853bd77e6277b70d5d70f9b82f46c3f6328283c30b38d77e698146519367c9fa02f8fb21c687237657ceb78d7bc9ee07e4e8ccdbe41652ddd8dc55049eca WHIRLPOOL f07f7dc916e93e213998daecdb469b838e10c642ce87bbdba415e89eccbdab3392b5cbd8414e391270ccd8687b2cdc1c7777ebc8e098ec8eac43ab5d6702a2cc
+EBUILD sleepyhead-0.9.2.2-r1.ebuild 1178 SHA256 f30821ac670f7564be35ed19c7d9edcad87fafb5b44f746c9ccc6ebf5c2e6386 SHA512 0417d552f27802ba31aaeda31c6d41c0f2980621381b47109f1e3d06bc76bf8166abaf4b159f551db2d50c60fb958c90d09b580e5a567fb705b15c613330cac4 WHIRLPOOL c74fb31e95ee3b7d51271af34c82323f4e3fb88c14bc41393b5b55bc573c670edc790d10705b7b0ef2d64de2be0327df48367e10085115ff63bb1ed8e1ece341
+EBUILD sleepyhead-0.9.2.2.ebuild 1096 SHA256 11bed55ec21d179ea7ac894b4976b4875d706d6ab42886a7f55af92048f48c73 SHA512 e262848e0e3bbd893d02644e0e935bcf767ef17992d272d773db73c7ac17725247dd7c61ce5f0a4a7d17f987b6cad174ae1e64c19a2f85465447d7f44cf5d44d WHIRLPOOL 59c3796e8ebb93d3b675aa381d4d3bef3d872db083071b1985f6267226f8a6e0f0c1d25ffb8e8fe4863bddbdfc2ed2cf6ce8db767e89293118d21b7ad107b583
+EBUILD sleepyhead-0.9.3.ebuild 1078 SHA256 f16e61906d48f6e0d81ef7566e3e23dd0d2d442046dc47a7c854edf4cecb86a4 SHA512 8014dcde0c0acd2cbffda364b62bb5654a2d74d1ac289422781d5aab6ff2954900d646e0f0ccb124e7834a442c9d4accab82e93feecfc346e54a57ff53cd7de5 WHIRLPOOL ae4e5ab0b0b3803abc22728bcf6cef573485c96533eac6788135ff11d0b174b4ff14c6a842575256a33773a2ba3a8f57becccf6db63cb8c719334d522bcde209
+EBUILD sleepyhead-1.0.0_beta2.ebuild 1177 SHA256 fcfe10d849ff97ccb753b4e6a5dd71646cee7ac42e915913a628d2f5e2f74e25 SHA512 cc0e8514e6eec60d3aaa0aa0571ee779b79c4ef53237b34288cf3a05973ecb0d321ce6c74511e03d3e40cbc7abe1bab221cef5755b69df18cdbcc2469b7126c9 WHIRLPOOL 74bfaaa4f38b6f4f175eef0f630339bf32e6ec924e0e3c09f61d134250299c3c74da798f3cbf7effdee6c3f03d06aefc3154fc8a31383ae7932791e253416764
+EBUILD sleepyhead-9999.ebuild 1046 SHA256 139c4819c7fba3e568ceec79ebdec984578c082c1b1066383d1f4f9ed7701e7a SHA512 b5bb294779a48a520740e88083d7b9cafe0d5f442f141a746534df8ad3b79c94680b74572e8d3ea824de897fa34da224a5292b4dbfc9a4eb024ffcfdd4f6ec90 WHIRLPOOL a43235cc7fd4c4681677738941dea9100810c672b47bbaa6e377470051c3ea538b934ef2046d6ea6df91e6d478f2335e89169710498befb6f86edad3696d621f
+MISC ChangeLog 3263 SHA256 9445506113044f9129ecbef8e4b6d9f5221112e0987fab4a1702f7dc8f814731 SHA512 352e8012f99d2854cadbe3dbfaa5202f7fc852d597a4b0820d5238d344e6dd80af61ce858f061dd1538585ee4f6fae7620c7a1b0e655a82313e5271cc8c54b54 WHIRLPOOL ef34132d03eeb02020deacd1685ac114487f941491dbeb96f03e36e08d72b0e305be8446a2d127c3d66325a46f9da8663392a33804c2ba53ae506883d69adb77
+MISC ChangeLog-2015 2056 SHA256 9b560d865a9072c54c168688fd6d3d4c25261ff701995d3b9035e97db260980e SHA512 6642497436d0b5bba15b6cdc6a20d7f02d1c6108aee3de251ca261e2bccc6555fb6cd66282488d8159c6e70246966339e6e4c1c80c336b11ac26b5e88e31a682 WHIRLPOOL 9dd976d3df9e44f06e7ecba3f058dda34f2df6515b01804e54d56ff5a8749a8ceb25ef7c837a8b6e1ab5269a67c72209f141bfa0c2ed171af7a20043fa644b0c
+MISC metadata.xml 409 SHA256 3b4ae39e44b69d9c2ef6330d270cedfe8d45991311f0ffc335df495a20b91aa5 SHA512 bd3522a2a682e51f61f5c38db6003365e06226a2015fe2aa81ed638852a663084da4d4d39962abb36aacc37462d84b706e4b35023e265635904a4d1874044ae8 WHIRLPOOL 307b42a440410a08d73d8119c1f300e1297f3a0fbabbebdd3f1a4c6523ace3b6ea96df7d10952e05f488c65ef4634bf8c7c4ddb7c64fca9a9c4f878e8e590896
diff --git a/app-misc/sleepyhead/files/common_gui.patch b/app-misc/sleepyhead/files/common_gui.patch
new file mode 100644
index 000000000000..6e41e0ac4ce9
--- /dev/null
+++ b/app-misc/sleepyhead/files/common_gui.patch
@@ -0,0 +1,12 @@
+diff --git a/common_gui.cpp b/common_gui.cpp
+index 0f38ce8..36b0b9e 100644
+--- a/common_gui.cpp
++++ b/common_gui.cpp
+@@ -6,6 +6,7 @@
+
+ #include "common_gui.h"
+ #include "qglobal.h"
++#include <unistd.h>
+
+ #ifdef Q_WS_WIN32
+ #include "windows.h"
diff --git a/app-misc/sleepyhead/files/gitfix.patch b/app-misc/sleepyhead/files/gitfix.patch
new file mode 100644
index 000000000000..46cbef0a4530
--- /dev/null
+++ b/app-misc/sleepyhead/files/gitfix.patch
@@ -0,0 +1,15 @@
+--- a/SleepyHeadQT.pro
++++ b/SleepyHeadQT.pro
+@@ -31,10 +31,10 @@ TEMPLATE = app
+
+ #exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --symbolic-full-name --abbrev-ref HEAD)\\\"
+ exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --abbrev-ref HEAD)\\\"
+-else:DEFINES += GIT_BRANCH=\\\"NOT BUILT FROM GIT SOURCE\\\"
++else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\"
+
+ exists(.git):DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\"
+-else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\"
++else:DEFINES += GIT_REVISION=\\\"UNKNOWN\\\"
+
+ SOURCES += main.cpp\
+ SleepLib/machine.cpp \
diff --git a/app-misc/sleepyhead/files/prs1-64fix.patch b/app-misc/sleepyhead/files/prs1-64fix.patch
new file mode 100644
index 000000000000..a7b1070eeb4c
--- /dev/null
+++ b/app-misc/sleepyhead/files/prs1-64fix.patch
@@ -0,0 +1,13 @@
+diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp
+index d7f102c..61f2d34 100644
+--- a/SleepLib/loader_plugins/prs1_loader.cpp
++++ b/SleepLib/loader_plugins/prs1_loader.cpp
+@@ -597,7 +597,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b
+ CPAP_LeakTotal, PRS1_12
+ };
+
+- int ncodes=sizeof(Codes)/sizeof(QString);
++ int ncodes=sizeof(Codes)/sizeof(ChannelID);
+ EventList * Code[0x20]={NULL};
+
+
diff --git a/app-misc/sleepyhead/files/prs1-code8fix.patch b/app-misc/sleepyhead/files/prs1-code8fix.patch
new file mode 100644
index 000000000000..ec7a121674be
--- /dev/null
+++ b/app-misc/sleepyhead/files/prs1-code8fix.patch
@@ -0,0 +1,12 @@
+diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp
+index d7f102c..95de13b 100644
+--- a/SleepLib/loader_plugins/prs1_loader.cpp
++++ b/SleepLib/loader_plugins/prs1_loader.cpp
+@@ -722,6 +722,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b
+ if (!(Code[10]=session->AddEventList(cpapcode,EVL_Event))) return false;
+ }
+ Code[10]->AddEvent(tt,data[0]);
++ pos++;
+ break;
+ case 0x09: // ASV Codes
+ //code=CPAP_FlowLimit;
diff --git a/app-misc/sleepyhead/metadata.xml b/app-misc/sleepyhead/metadata.xml
new file mode 100644
index 000000000000..cabb7c423f61
--- /dev/null
+++ b/app-misc/sleepyhead/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>rich0@gentoo.org</email>
+ </maintainer>
+ <longdescription>QT-based application used to analyze data from various CPAP machines.</longdescription>
+ <upstream>
+ <remote-id type="github">rich0/rich0-sleepyhead</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild
new file mode 100644
index 000000000000..ca723883d466
--- /dev/null
+++ b/app-misc/sleepyhead/sleepyhead-0.9.2.2-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils qt4-r2
+DESCRIPTION="Software used to analyze data from CPAP machines"
+HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+DEPEND="virtual/opengl
+ x11-libs/libX11
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ dev-qt/qtwebkit:4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/rich0-rich0-sleepyhead-86250b9"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_prepare() {
+# qt4_src_prepare
+ cd "{$S}"
+ epatch "${FILESDIR}/gitfix.patch"
+ epatch "${FILESDIR}/prs1-64fix.patch"
+ epatch "${FILESDIR}/prs1-code8fix.patch"
+ epatch "${FILESDIR}/common_gui.patch"
+
+ sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
+ quazip/zip.c quazip/zip.h quazip/zlib.h
+ eqmake4 SleepyHeadQT.pro
+}
+
+src_install() {
+ cd "{$S}"
+ dobin SleepyHead || die
+ dodoc README || die
+ dodoc docs/* || die
+}
diff --git a/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild
new file mode 100644
index 000000000000..1ece62067ecb
--- /dev/null
+++ b/app-misc/sleepyhead/sleepyhead-0.9.2.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils qt4-r2
+DESCRIPTION="Software used to analyze data from CPAP machines"
+HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+DEPEND="virtual/opengl
+ x11-libs/libX11
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ dev-qt/qtwebkit:4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/rich0-rich0-sleepyhead-86250b9"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_prepare() {
+# qt4_src_prepare
+ cd "{$S}"
+ epatch "${FILESDIR}/gitfix.patch"
+ epatch "${FILESDIR}/prs1-64fix.patch"
+ sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
+ quazip/zip.c quazip/zip.h quazip/zlib.h
+ eqmake4 SleepyHeadQT.pro
+}
+
+src_install() {
+ cd "{$S}"
+ dobin SleepyHead || die
+ dodoc README || die
+ dodoc docs/* || die
+}
diff --git a/app-misc/sleepyhead/sleepyhead-0.9.3.ebuild b/app-misc/sleepyhead/sleepyhead-0.9.3.ebuild
new file mode 100644
index 000000000000..0f42e2e1ab29
--- /dev/null
+++ b/app-misc/sleepyhead/sleepyhead-0.9.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils qt4-r2
+DESCRIPTION="Software used to analyze data from CPAP machines"
+HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="https://github.com/rich0/rich0-sleepyhead/tarball/${PV} -> ${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+DEPEND="virtual/opengl
+ x11-libs/libX11
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ dev-qt/qtwebkit:4
+ virtual/glu"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/rich0-rich0-sleepyhead-34e0b92"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_prepare() {
+# qt4_src_prepare
+ cd "{$S}"
+ epatch "${FILESDIR}/common_gui.patch"
+
+# sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
+# quazip/zip.c quazip/zip.h quazip/zlib.h
+ eqmake4 SleepyHeadQT.pro
+}
+
+src_install() {
+ cd "{$S}"
+ dobin SleepyHead || die
+ dodoc README || die
+ dodoc docs/* || die
+}
diff --git a/app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild b/app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild
new file mode 100644
index 000000000000..779450ed1051
--- /dev/null
+++ b/app-misc/sleepyhead/sleepyhead-1.0.0_beta2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils qmake-utils
+DESCRIPTION="Software used to analyze data from CPAP machines"
+HOMEPAGE="https://sleepyhead.jedimark.net/"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="https://gitlab.com/sleepyhead/sleepyhead-code/repository/archive.tar.bz2?ref=1.0.0-beta-2 -> ${P}.tar.bz2"
+LICENSE="GPL-3"
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE=""
+
+DEPEND="virtual/opengl
+ x11-libs/libX11
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtserialport:5
+ virtual/glu"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/sleepyhead-code-1.0.0-beta-2-6b1c125218475720e1bf7c920ed3d10140b0b7c2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_prepare() {
+ eapply_user
+ rm configure
+ cd "${S}/3rdparty/quazip/"
+# epatch "${FILESDIR}/common_gui.patch"
+
+ sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
+ quazip/zip.c quazip/zip.h
+ cd "${S}"
+ eqmake5 SleepyHeadQT.pro
+}
+
+src_install() {
+ cd "${S}/sleepyhead"
+ dobin SleepyHead || die
+ dodoc ../README || die
+ dodoc docs/* || die
+}
diff --git a/app-misc/sleepyhead/sleepyhead-9999.ebuild b/app-misc/sleepyhead/sleepyhead-9999.ebuild
new file mode 100644
index 000000000000..36e00d73fd3d
--- /dev/null
+++ b/app-misc/sleepyhead/sleepyhead-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils git-2 qt4-r2
+DESCRIPTION="Software used to analyze data from CPAP machines"
+HOMEPAGE="https://sourceforge.net/apps/mediawiki/sleepyhead/index.php?title=Main_Page"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+EGIT_REPO_URI="https://github.com/rich0/rich0-sleepyhead.git"
+EGIT_BRANCH="rich-test"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS=""
+
+IUSE="debug"
+
+DEPEND="virtual/opengl:=
+ x11-libs/libX11:=
+ dev-qt/qtcore:4=
+ dev-qt/qtgui:4=
+ dev-qt/qtopengl:4=
+ dev-qt/qtwebkit:4=
+ dev-libs/quazip:=[qt4]"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+git-2_src_unpack
+}
+
+src_prepare() {
+# qt4_src_prepare
+ cd "{$S}"
+# sed -i '1i#define OF(x) x' quazip/ioapi.h quazip/unzip.c quazip/unzip.h \
+# quazip/zip.c quazip/zip.h quazip/zlib.h
+ eqmake4 SleepyHeadQT.pro
+}
+
+src_install() {
+ cd "{$S}"
+ dobin sleepyhead/SleepyHead || die
+ dodoc README || die
+ dodoc sleepyhead/docs/* || die
+}
diff --git a/app-misc/slmon/Manifest b/app-misc/slmon/Manifest
new file mode 100644
index 000000000000..f0cd63df9106
--- /dev/null
+++ b/app-misc/slmon/Manifest
@@ -0,0 +1,7 @@
+AUX slmon-0.5.13-invalid-free.patch 383 SHA256 83551ded011d8e526cf33de0d13d1b2bbac3aba8c70ce6a13a34f601f7544084 SHA512 6cad6d249367e4f2fda9d70d61bab64b6e083da727e1f23fe709c7579efaa3e460c5cf2f01c900517e126b2e9cda069ae8ef1239f731c72ea5728beeabfd522b WHIRLPOOL 15a5a97e8f9b1bbc48c3b29fbd65459806fc4d668bb8199b37a39f195bc026730b88d6a0ed224e54ae62ba331272b45aa283a93e59908f8af0bca73aadaa0667
+AUX slmon-0.5.13-make-382.patch 243 SHA256 084ce2059e66c252dbe81196410d866101228b5328dd2fff949cb2a60b309553 SHA512 613388513e5cd7e71b7ec45d1ea5db320f247d74024b52bc9e244c463e22103a165757939527837960aabddeb4feea958d772dca1a2d56747386c8a195beb832 WHIRLPOOL 1305e1a855bc88bf92e8f65f4e36277b7be6fa0b18836a59cced860c805c7d0a2df2dd0c405b5417c93ea0d099302bcb675447e00f1e9788ecde2fb5832d6fc3
+DIST slmon-0.5.13.tar.gz 103826 SHA256 dc38740e4e0cccb86ccf76aaad5734d7d1e42e144615ee09bc8c8c9290110b28 SHA512 84bf1e3eda9c05c7029630802b6853cba1c1220fd210c2a8f26f6ffafff3aa5a8bf9945b74ca508fbf4a9038b5df26ebed529d6377fab1df4dd778cccfd74f75 WHIRLPOOL 7b4f9b081737355dd7e0aa96da2be8c8bf12fd951487851c432c63131003f7ab1b93a2bad5206d9edf8b1ad7aca553885b04942ea30c570ca68680afb094fc1c
+EBUILD slmon-0.5.13.ebuild 775 SHA256 081a6a7c9f8d332a858b2a67afaa7a4342164128933eb1ca7a178c204366de9f SHA512 19047e1c2fd010625669cb8c383ebf76f52087d201d0fb0f2b33fb02803d7344a27aee82fb8655674b61d97d46990b7fd01fb40e62d3de01e64e2b3217ce36cc WHIRLPOOL 7378d15225d7d826e2f6fda657d666bd16ebe813067a5fdc99ecd97656e70c8cccefa1cf8bfeba6b2128d6ac55ed81a8003f8f1bb56d6059b529c6092dcffa0f
+MISC ChangeLog 2596 SHA256 25a1ac0c787a46620cbf2ff6862ebdbe7d96c20569f7bbf742ea2592d2b31bd3 SHA512 860c4f6ba45f56eea33c6cadec78d0e3c7f7807967859e7553a683506bedbac13c2ab5d88185fe50682ddf8155122633b74b94ab677259967d3210fc51c4076c WHIRLPOOL 13992dbe7cabc4c1f1c6a2480f741aedd7575e894c0843c75ca4dbcb0610f534d13562858791c45eeb429ad7e78739822d53a2689e7c389f4e1eb73fea068003
+MISC ChangeLog-2015 1717 SHA256 536d11ddf23b5b6beffa13b22467cd6b9f15ea235afe8f66170b35882efd1fdc SHA512 e4070923948261371b62a090f3556e1da88d4ecaf20c2aa1da71a520a0d1b583675831aa4cea602f8ccfb0b86827f7e82facf8f41f1b550a6ceb752380d4217a WHIRLPOOL 0d83ada2d47146a51985671402157ef177a063232917dbff57243f749debd608aefa5f9e6c3c5f51cc1b5dcfa30a18a5475ab5b8541c789b1c5fc8f527d99d8c
+MISC metadata.xml 242 SHA256 d53d3db7e1939ffe70dc7c0427bd418d52ba4a5f24cfd3a366054be6b34923dd SHA512 8a2bdc32c50597dc61771f9bfcc3d01ddb46cca9cdea7dcc831aca2eafb0746867b49b90885a24e8b8aba0c33a7c174da8955486a9843e50b3e6dc1c9720fd3f WHIRLPOOL f5dba59754d8dae8689a2f35b86bec1142e69da03abd041075acf50c70889c6938dd538841181f4723b01d1f1d1f1b507a31cf87f11460570abba6342b33f7c2
diff --git a/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch b/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch
new file mode 100644
index 000000000000..d7b0e24e07d9
--- /dev/null
+++ b/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch
@@ -0,0 +1,18 @@
+http://bugs.gentoo.org/151293
+
+--- rc.c
++++ rc.c
+@@ -177,9 +177,10 @@
+ char *home, dotrc[1024] = { 0 };
+
+ home = getenv("HOME");
+- strcpy(dotrc, home);
+- strcat(dotrc, "/.slmonrc");
+- free(home);
++ if ( home != NULL ) {
++ strcpy(dotrc, home);
++ strcat(dotrc, "/.slmonrc");
++ }
+
+ if ((f = fopen("/etc/slmonrc", "r")) != NULL) {
+ slmon_conf_parse(f);
diff --git a/app-misc/slmon/files/slmon-0.5.13-make-382.patch b/app-misc/slmon/files/slmon-0.5.13-make-382.patch
new file mode 100644
index 000000000000..bb128f5803e6
--- /dev/null
+++ b/app-misc/slmon/files/slmon-0.5.13-make-382.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/337403
+
+--- Makefile.am
++++ Makefile.am
+@@ -15,5 +15,5 @@
+ #slmon_LDFLAGS = `libgtop-config --cflags --libs`
+
+ release:
+- $(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
++ $(MAKE) dist distdir=$(PACKAGE)-$(VERSION)
+
diff --git a/app-misc/slmon/metadata.xml b/app-misc/slmon/metadata.xml
new file mode 100644
index 000000000000..3ca321c581a3
--- /dev/null
+++ b/app-misc/slmon/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">slmon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/slmon/slmon-0.5.13.ebuild b/app-misc/slmon/slmon-0.5.13.ebuild
new file mode 100644
index 000000000000..ee5e459384f3
--- /dev/null
+++ b/app-misc/slmon/slmon-0.5.13.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Colored text-based system performance monitor"
+HOMEPAGE="http://slmon.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE="debug"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-libs/slang
+ gnome-base/libgtop
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make-382.patch \
+ "${FILESDIR}"/${P}-invalid-free.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable debug)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog README slmonrc TODO
+ dohtml *.html
+}
diff --git a/app-misc/smtm/Manifest b/app-misc/smtm/Manifest
new file mode 100644
index 000000000000..8d699434401a
--- /dev/null
+++ b/app-misc/smtm/Manifest
@@ -0,0 +1,5 @@
+DIST smtm_1.6.10.tar.gz 54033 SHA256 bad7fe5ebdf93db5e63855abe05cda739882f2d455aac4d25a5519e87935c825 SHA512 0cacafb8cfe1411b6b5db677bf15ad731b2e2181ee14ff8374e1fa01ad931e8f92efff29774e84950178f20805b18518067643e3c98d7990e1d1b93b7dd347d9 WHIRLPOOL 9c7b5254351adc44f994a07245056b88336b0ce08a4b35c7455794a7ff034314d45d24e6816d737ecf2152321c1ebfd347d6a69ef7604f39ebdb1c8fb6ec4a97
+EBUILD smtm-1.6.10-r1.ebuild 741 SHA256 fb9ce075e323fda96e7a42937fd44d38bba392b98e681d42b4d3f56485a62844 SHA512 d9d756a73598140469a65a299361f04e02c2f2edaee61daef435cbae79489df6a9299557fd365b9a62bc18e578991b17f44ce0058acd12e736717d12fbd34278 WHIRLPOOL 640db60040b3851abdd9e50798c7484d6cdc9c1f9a160294160e60aabba207dabc05c052fd47998d89347a03fcb3c66c75a848f42cbf5db5e33b425795e817df
+MISC ChangeLog 2825 SHA256 0a974f4b352ff3d2181143587b1f160ea1f1a50a1a63e880c8c2e6ead195d830 SHA512 d21e6354ec82d6158d3882395272aa60292f465724714a823f14fb0e444f224a881305dae45f82618470c6236570d9d28094ccea719bcc06739af50f82194dbb WHIRLPOOL 3a053d930b1f0963fed64e7c0992106af1aa27d37ff8ea2b966022d72ea3ef44548adc7585d6841b121a5e4ff63ca6a070927d36256df157981e6d993fe92784
+MISC ChangeLog-2015 2860 SHA256 78ef5f34bf7e9438e99f1d73da31474d5f11f85bdd555e754daf225b062ac052 SHA512 3654f7566931a93a948d932c4e3a6dfe755eb01414a40a42665a8efbf0b31bb81499d3bf9a2df2b54756c6b0fbeabdc9b4bd89f43df210dc3993b6f7ff9169a7 WHIRLPOOL 8d1d12b2772c54d9cf3d16495611d5049f1bc5a4a5d63e608eeb86cfc4f13b2006491e862dc2334fca5450ca80b5b89caf1ab06da674544748ba06857893353b
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/smtm/metadata.xml b/app-misc/smtm/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/smtm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/smtm/smtm-1.6.10-r1.ebuild b/app-misc/smtm/smtm-1.6.10-r1.ebuild
new file mode 100644
index 000000000000..c309b8092b42
--- /dev/null
+++ b/app-misc/smtm/smtm-1.6.10-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="Stock ticker, profit/loss calculator and chart tool"
+HOMEPAGE="http://eddelbuettel.com/dirk/code/smtm.html"
+SRC_URI="http://eddelbuettel.com/dirk/code/smtm/smtm_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+# This warrants USE examples
+IUSE=""
+
+DEPEND="dev-perl/Tk
+ dev-perl/Date-Manip
+ dev-perl/HTML-Parser
+ dev-perl/Finance-YahooQuote
+ dev-perl/libwww-perl"
+
+SRC_TEST="do parallel"
+
+src_install() {
+ perl-module_src_install
+ # install examples into own folder for now
+ docompress -x usr/share/doc/${PF}/examples
+ insinto usr/share/doc/${PF}/examples
+ doins examples/*
+}
diff --git a/app-misc/socnetv/Manifest b/app-misc/socnetv/Manifest
new file mode 100644
index 000000000000..a344fdc3b8e5
--- /dev/null
+++ b/app-misc/socnetv/Manifest
@@ -0,0 +1,6 @@
+AUX socnetv-2.2-deps.patch 218 SHA256 01b6e1e217401fe258f03220de964c104619bacc74db7b1ca8de39943727c1ff SHA512 30fa3fda847aee54452ebbbaea8ae2439dc99fd5b79bdd41517d12effaf2a8e1355257b00e80dabb40e1502a169a8b46bbb98af8ead5239731d35a75b847db03 WHIRLPOOL 3cacd6fb65849ad78c10c3bf7c7c44e6125d57f16a960ac5a6b670e3f28523b562017d97b94569e97da6fc7e0db1490ca5b6e8279158cee2600718460c89a121
+DIST SocNetV-2.2.tar.gz 745086 SHA256 736fa636e888638874deaf356b1ebc400bbef6a4dc94b069dc257ba3a247025f SHA512 12f490fd1f7fc1a6b45f77d23d8825117def0b7720595cd203d171fd88c41d5a0194a70359f55cbe2dab9e545f300156b31bb0680e46d7ab584e070e128e457b WHIRLPOOL af271d9e1e4c5179e1e6629a55f23ffad2035f707ac22d202d4a11dbbfc3dc94160e5c3393f62dcf1f72b0d648d50dcb45ef4ffa848518430dae6396f67deda3
+EBUILD socnetv-2.2.ebuild 820 SHA256 67dfaae96950307aeb241467fa481d27626bf0a2b36e1f3ffb8bc75aa2e8306d SHA512 0a441336e37567f1e1fa1311269067e7601a475c336186b5916dd39d387f1993667247c35abae9e9c673dab53451feb954c692d21fb3848fffa6b4bac4058158 WHIRLPOOL acc01059712b14007b72b5e01266cbf21a886bd7bad827250fd19108cb68102416b473b2ea781ae0740808759995c1b9a8cb8994e603a24e54233e2108f4ef3b
+MISC ChangeLog 2174 SHA256 afce9d84b3f1176c72406d0c8542ef02a6cb1e8c6832c92f72e9a759e3622b75 SHA512 df5fefa2bce37685797c3c145a8c40f97b69530d19b7186449b01de57f74bad6512ee89e8d025791c0baf47940d3f703e39db8b9e868daea7e7f126a958d2d72 WHIRLPOOL 8a3ba5e9f2dfae3a9fe9b7b67df3306038c94e83be75c8e1eda3f92090ed709d3eb649221c755349c7c0b957d379ad0b2a458426c365b97a9d25874eba1defae
+MISC ChangeLog-2015 3021 SHA256 0e023e29e444a39ece1c693f22fa818e5841b2a1a53201f06ac4abe4aa3c6137 SHA512 6f5d06519f0be258c30b80bfbe8d41620d03cfaeeef0348485d3ee7ba0f1632c93dde03a15a49f1de64dcd749a402be6c346cef2557ec993ce24bbdaea66cd42 WHIRLPOOL a9ffd655e4d53a46f0479abe8c27aa9e4d0ea7fea95c49657356f213adaf338d8ed4e21a722f8a7d2ab9c194daebb62002c50f0995a8d43c29e038dfbcbd610e
+MISC metadata.xml 871 SHA256 6d12754b3641f95aa2cd36ed57a70a65be09706240c0c0a83cd0a3f7465f9093 SHA512 d387eeb7d713e4f43f5232f1edba34dc5676c58797838b51301ffed8daf70312117e15c05ce783ba5888cb121b6e8451318c229a998acecedbe6f5fa7aa1120a WHIRLPOOL ab746dce91d0cc75e450e6328e956b692ea925298a7b9c0e9ca8a7b3fa05d8418bff2b4b87e1c2ec8b42083ff3db5482651d0299b991da86cf4c3c97b307ca40
diff --git a/app-misc/socnetv/files/socnetv-2.2-deps.patch b/app-misc/socnetv/files/socnetv-2.2-deps.patch
new file mode 100644
index 000000000000..080ff93564a6
--- /dev/null
+++ b/app-misc/socnetv/files/socnetv-2.2-deps.patch
@@ -0,0 +1,10 @@
+--- a/socnetv.pro 2017-01-21 16:50:53.000000000 +0100
++++ b/socnetv.pro 2017-01-28 15:05:26.462351261 +0100
+@@ -34,7 +34,6 @@
+ LANGUAGE = C++
+
+ # support
+-QT += xml
+ QT += network
+ QT += widgets
+ QT += printsupport
diff --git a/app-misc/socnetv/metadata.xml b/app-misc/socnetv/metadata.xml
new file mode 100644
index 000000000000..7831ad505653
--- /dev/null
+++ b/app-misc/socnetv/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <longdescription lang="en">
+ Social Networks Visualizer (SocNetV) is a flexible and user-friendly tool for
+ the analysis and visualization of Social Networks. It lets you construct networks
+ (mathematical graphs) with a few clicks on a virtual canvas or load networks of
+ various formats (GraphViz, GraphML, Adjacency, Pajek, UCINET, etc) and modify them
+ to suit your needs. SocNetV also offers a built-in web crawler, allowing you to
+ automatically create networks from all links found in a given initial URL.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">socnetv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/socnetv/socnetv-2.2.ebuild b/app-misc/socnetv/socnetv-2.2.ebuild
new file mode 100644
index 000000000000..6de2120eae44
--- /dev/null
+++ b/app-misc/socnetv/socnetv-2.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils toolchain-funcs
+
+MY_PN="SocNetV"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Qt Social Network Visualizer"
+HOMEPAGE="http://socnetv.sourceforge.net/"
+SRC_URI="mirror://sourceforge/socnetv/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="examples"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}"-deps.patch )
+
+src_configure() {
+ eqmake5 socnetv.pro
+}
+
+src_install() {
+ default
+ dobin socnetv
+ doicon src/images/socnetv.png
+ domenu ${PN}.desktop
+ if use examples; then
+ insinto /usr/share/${PN}/examples
+ doins nets/*
+ fi
+ doman "${S}/man/${PN}.1.gz"
+}
diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest
new file mode 100644
index 000000000000..eb9ef9324d40
--- /dev/null
+++ b/app-misc/solaar/Manifest
@@ -0,0 +1,5 @@
+DIST solaar-0.9.2.tar.gz 864509 SHA256 b2802812e5aafae4801692ac8cf8a11e9f46f2adc43522d977ef35257e7ea424 SHA512 13f469df753cc8fab55f5259ccc3e62b6e44471d277d240cd56ce0580144d2b1f95d731268176648663dd15e5607bfb512f477362f4f100aa0a653b001dfe04b WHIRLPOOL 3ae66957355c1b40ce43d6033f81912c5cc984e4bebbfc423c42312173ada6b69af7c6e1ceacd0893617b7770878b36ee7e90103db8c5fb6e35efe20c2f8f2e1
+EBUILD solaar-0.9.2-r3.ebuild 1343 SHA256 e2e695d3dcdfe08c90ed2d99e66d17b7d0671eb1ab101979fe3e1f09794141ac SHA512 0dd00eafdf3fac00d93288b415ad7c6590bd5f15ad02e60d983f2b084da461efad229e9e4b4cd972d26df38bb1362ddfcbd06e94dcf2ca90eb9345e1ae8db182 WHIRLPOOL 1b307c7b7a2fe62d67c8d9dbcf9b80ab059587887775c1a33fce334e039b0e203c0ee4bbb3b1fba88e6005fea7f141957d7f40c45721de780cd1275c9349891f
+MISC ChangeLog 3032 SHA256 caa0a61513bdc11e581f370ffbe462951fdbe0c73a4c720f931ed18ccd7a0de4 SHA512 e384d3afd8355af541f08f924686c8f656e68fba2a1ef6d289f4d43e88fe045596e01a182eb9e6fbba26aab9bd22812216491642f7e6d7b260a303ca045077a9 WHIRLPOOL 7386839c73c81d3f3a4f741457877a404f5da78783fa81e92e97fa4e35dd385678dcb1fea168a43a3f05eb0fc887ceeaa6bab01b5fddd399fb427895d7e099e0
+MISC ChangeLog-2015 1826 SHA256 c64eb54c8236e4e0891c4005e5b525aa6e46b7b6f7802c5e82422071f74e4734 SHA512 54edb32203d2ee6903ef4ad6ec85673233e795c95601425bdbeb2274b092e9d4df125602fec306a076ee9836fab6e78a7046ed3498643f234e305e897feb4ef1 WHIRLPOOL 1675d623acb368b4d35ebbbb2c2224d31e0dcba8efbf989dbeb502acd83eeff20326e4431de0a855d4722af9c478709d12891990385c4dc96360629dcfe86322
+MISC metadata.xml 247 SHA256 ee3e94ea0da908bea0f4356651ef6842eb36a28a7427424d9883ff87c2c5d70c SHA512 5c9618d73d0e1e0b66294e959564df8703bc276f6e430d4692230429a377dbdaf38e7d569dd9b89b35f4acc4e2692ef6520e5cf118d0e76c8498d8ded0c98b14 WHIRLPOOL ed3cf83d3506b7d362918eb4c67c750f1aff0d570f96bf53cb6fb020cffc81154c2855074e228230322fd1279e6a89134ed78e1556ebead06f80a0286c46060b
diff --git a/app-misc/solaar/metadata.xml b/app-misc/solaar/metadata.xml
new file mode 100644
index 000000000000..69c1bb3e2d40
--- /dev/null
+++ b/app-misc/solaar/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">pwr/Solaar</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/solaar/solaar-0.9.2-r3.ebuild b/app-misc/solaar/solaar-0.9.2-r3.ebuild
new file mode 100644
index 000000000000..3a89eb08958e
--- /dev/null
+++ b/app-misc/solaar/solaar-0.9.2-r3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1 udev user linux-info gnome2-utils
+
+DESCRIPTION="A Linux device manager for Logitech's Unifying Receiver peripherals"
+HOMEPAGE="https://pwr.github.com/Solaar/"
+SRC_URI="https://github.com/pwr/Solaar/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE="doc"
+
+RDEPEND=">=dev-python/pyudev-0.13[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]"
+
+S=${WORKDIR}/Solaar-${PV}
+
+CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW"
+
+python_prepare_all() {
+ # don't autostart (bug #494608)
+ sed -i '/yield autostart_path/d' setup.py || die
+
+ # grant plugdev group rw access
+ sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ udev_dorules rules.d/*.rules
+
+ dodoc docs/devices.md
+ if use doc; then
+ dodoc -r docs/*
+ fi
+}
+
+pkg_postinst() {
+ enewgroup plugdev
+
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ elog "Users must be in the plugdev group to use this application."
+ fi
+
+ gnome2_icon_cache_update
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/app-misc/sonypid/Manifest b/app-misc/sonypid/Manifest
new file mode 100644
index 000000000000..8c2370f67146
--- /dev/null
+++ b/app-misc/sonypid/Manifest
@@ -0,0 +1,5 @@
+DIST sonypid-1.9.tar.bz2 9710 SHA256 619fa7299cd0ad202985cbb30ff5725b07622f565cd41035d4538ce490099602 SHA512 fcd2b2d2a9db94cd59b8d0f23c41aca2e738e433ecd6818ce84cc1298f5609c84aa16b75e0ce1323e24bf6bb59feccd28c5016549d0690e6dd2f3aae1244e3d0 WHIRLPOOL b5262b702e1b6de5e2846e1e3a99c69512e1b3d66d248f56247e97b01b19c111b181659bafba1e336453fcd6f9421ab030d976223cce9613e0168e6c251e5dbf
+EBUILD sonypid-1.9.ebuild 567 SHA256 590b72c3242edd3b89846af4014431e60b3d441139550f5bd8d66ee47d1c2515 SHA512 ac6673ec399bcfb819820538133ef0a8a8602d2b036e2e2b8c7347d81bb0e175d007fa5ceaab590cee71e6ee90b9e182903e4092da5f036842352606c6847496 WHIRLPOOL 84b7d0914f4255bdfd86508fff9ba11fdc59070225f50a8c809b8054fb38873d3a31ff363ff72e51630edf590b84f7348a39b9b4bb39db58e2f4dd2aaff52fd2
+MISC ChangeLog 2518 SHA256 37f23bc520a19594842328d813b0130c9e430ab0096469bab20481fb248c4672 SHA512 33829a6607d9303f792ac998771970efd034bafc8881f439d93ea46b76926ec7768249036a6012621dec311c604667e905a5b5e3e669aac4aabb4480f129df5f WHIRLPOOL e2d10b0ef45d05e4346ef3c11de769fb90da98cf44fa6a6f03b7f3b122e480ffd36f969b1aefbea7a0f719df140796e489cea8811d44f37b7c0f0866f4e4e7d9
+MISC ChangeLog-2015 2426 SHA256 449cf35fe75a1c975706df5999e6607c1f7b1d0bcce425b5224ce0b461251d5f SHA512 d66826eba849aae39cfeb75c5f61f07737c48b08e8e0baeb94e9eba505a4fa0199f393d5911f1412d2bce3b560aa2cacccf8b4e72666b17db316dd89d39d6213 WHIRLPOOL 56da54a96a5f3aa9ded188cd25ede1a72f2bc1e4988586377561be6f2059a1779fadda38fdbcc1c74653e2cddc1cc4cc0683c95245dfd76bc31e7afab2c1baf0
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/sonypid/metadata.xml b/app-misc/sonypid/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/sonypid/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/sonypid/sonypid-1.9.ebuild b/app-misc/sonypid/sonypid-1.9.ebuild
new file mode 100644
index 000000000000..26e9537b63ea
--- /dev/null
+++ b/app-misc/sonypid/sonypid-1.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="tool to use the Sony Vaios jog-dial as a mouse-wheel"
+HOMEPAGE="http://www.popies.net/sonypi/"
+SRC_URI="http://www.popies.net/sonypi/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXtst"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto"
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin sonypid
+ dodoc AUTHORS CHANGES
+}
diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest
new file mode 100644
index 000000000000..7a270ddcd800
--- /dev/null
+++ b/app-misc/spacenavd/Manifest
@@ -0,0 +1,16 @@
+AUX 99-space-navigator.rules 319 SHA256 7606fc2c35138d5c601438b49e01a54a7acc51eb01169d0e60700498723b4063 SHA512 c66c5738ff980515cc0e6e77f873888b09f30bca54b5c947cc9c8276c388f37c9492d7c2a92420fa3713ca7d7d9f9f3ec5449fa01a71c6897b3204c0ac68fd3c WHIRLPOOL e72fc896a1c5593a6912465fdd9c36635e1fae3d454e3204c3fcbdbc4d89038843929ff6903c8d83559ded3adf68816b2821388676b213a33af167ac26f4a1b5
+AUX 99-space-navigator.rules-r1 478 SHA256 e0936f6a80171dbcd5644b66f107e95fc99b3232770c10c0776a80bf6f12da78 SHA512 6398a8859c4d6e75f8885cf937543adab0c2d58ac80dc151ba814fa28b93086d4848eadb50ee2bbb3059fc11c17b78f334bf8805aaec75dbad41e672b07c8aa1 WHIRLPOOL 635a66f544a1e3f4d7456dde840bd82267870b00088ccff8cee30971be351f3e2840a57070253ea7e7044129827c0d9b477b41b4cbd7818d44251c79f1a04906
+AUX 99-space-navigator.rules-r2 461 SHA256 4182ccdb4e0d2fcf2dab375cf085b23b973bc723ff34d0fad0f857ca4b3494f7 SHA512 6871c629999c5f6c6988709bf15ae2821d8375fe80e3f8271cf285734163b523541dc04e70571a3578eba567e1b04ecb3cc2a57f1fd9f138c62226c07a09e18f WHIRLPOOL da9b22769e08e484d5807b52de2b6e3b1da4c6649614a75ce38a3fb0a335c4112b2c43ead1b1b337978205276c6d2373566bdc62cbed59f96f71d51bc3f253b9
+AUX spacenavd-0.5-custom-flags.patch 2008 SHA256 78c8aebbd33f0c135501e6dea132c4f6edd9068bfddf741bfc8fe11d5269f546 SHA512 547d9f3098846901418acb71be996cec39bf18616e4a7eee5fc09bc201bfb2a534ff70f38d515b0f6c685330d002ea277c03b448ba70de4a3df65e6286780174 WHIRLPOOL da8e4d838d91e8334b7adb16751e928193ac27dde496d2304a9fa4f9412f70791ff2df785ee0662dde805ff813f7e17f83291671629f54e704544725e6dd9466
+AUX spacenavd-0.5-destdir.patch 649 SHA256 df58f5006d3b1be15a40182ca91ea964d62572a6e0a47b05c037958674db5366 SHA512 4330ae7b49e661a60f01931716f9924c01cade4e169b3de48ec08039099ce10c6dfe5c8df9a3b01c1890ccb83b3c92d45ea06f5fd9465c3f1514902cc375e1f0 WHIRLPOOL d90f63eb471509eae6cc3bd4e28e08f56882ae8e8a04b5867b75afba271c938da424d7625ead6166bfdfd31039cc482ccef53748bb055260bf2de9088dec59e9
+AUX spacenavd-0.5-no-x11.patch 388 SHA256 1c4a16f41176da31e61cb4a0984d4d3b158d334e598325c2eda9e8f6ab6ef933 SHA512 d6cb2d6337b3e19ef56f5e0ccbfdc731b038009df852b3d1f7272001aa18e70a1701c3af2d1b4976cac7392a6176c0f4cee787d2c9b4b96ba029d1cc0db3d7ae WHIRLPOOL 7ea4516dc404900377d44dc056b2056b32c066759ebdf3363fc43379069d90b4eaecc32f3156173a9a030b1bc392c7665d33b11749fc05bec50a781b5c1f94ef
+AUX spacenavd.service 143 SHA256 d6e8831b5fc37da1fa14ea4ae7568cec1c0964bb080c3217cbd78df1a279f349 SHA512 1f2fd8bf2bdffe3e52f5e2e53e0643e0d5ad5134bfd636ebc2c98f397da5c87bca3582fd76f9e987fb6ed3d17130196f4eee193998f97e388dc04877277c04d5 WHIRLPOOL 62804c40afc19a2fba63ee5f98441b90b765c09b710a58802749e015870e491f714c9cd0b4d51afd47b79a32c7798a0c43e03cdffb6edbbb39417194886375c1
+AUX spnavd 580 SHA256 3def256ac80038fda4f4d6978298dfd2d54ea926144675d0f75ca6063445f957 SHA512 460ce173a1a68ab571fb39a0a00bdedcffaee5251037cc5787ecf90054f67333537087b3fabfd4a0e5b28acb5f72a7ef9b2bf50e9279336cdf95a18ecec13ce5 WHIRLPOOL c9ea7d5ede9a5c05c008ec90d99a73cc781b7985282769819f1dcae34686f0447327b03a355e00853b4a3b0170107290ea2660a602dd09d9eacc1a475aa745ce
+DIST spacenavd-0.5.tar.gz 41746 SHA256 0eecc5b5ad47ee6376d1521f2bc7c8f8fc02904cf3fede3f77e59f4795b592e3 SHA512 908f598e4ba5febbc1191cc32cd444817acd40c22e79b1f139c50787e1e25d4cd8328dc3fd6d9dde09bb80232b52f0e75ae429fb3345eb51fbe5a47577b038e2 WHIRLPOOL e2cf70c7e9cc4b8e32b15ab79dae565c8c2a4bc32a6485a0a1857ea4d4667859ac0bb82e32cd54b722d51c34b9ea094fe8bcb1459a9f60077bde8a01207ab910
+DIST spacenavd-0.6.tar.gz 54730 SHA256 c2d203bf96c5a959590146a43fe5d6e5e8c5c38a8b2f55aa199d967d0d88d0ab SHA512 ff039e169805365ce8c1df1258eda6d263a0724c087b22a9e78269629455580817027d936e6bb7014b7654f48aa23232e8059585175003034e4bd3e0d6ed8200 WHIRLPOOL 2f7ff91302c9970d54c7983e7e3ee75d2254d2a8640d701e1449f9a31dfab0937c811491acfdf15356ebfe4914462468031090954c28ffab59a30068a60f19cf
+EBUILD spacenavd-0.5-r5.ebuild 2319 SHA256 c2549ef92c5912df46075618b57aaf7d85ebe95a774884b19de88f3e4ce646a2 SHA512 4fca63971153edfb5a69ca8cf40e543edcfd3f8c97ec729fc3afb550d00027566097f409a46c15bc2585dfe833e63208f709e3d713e58cdef2e730cd58c95444 WHIRLPOOL ddc82f961a6d5ebda0c534bc74d7036c3fa4461c5f916d468361919dac8c1c0f1a3cbaddf6c44a5f66bf86b878eca284878c63990a6c2a9e938a1972befc38af
+EBUILD spacenavd-0.5-r6.ebuild 2303 SHA256 72fbdd2f1a299c4d8d67ab59e32b9f9d413ab433970a447e000267e592885460 SHA512 aeb2e1501a7a0c40f94c809994c29dc902a142362b5d5802d4a3354b62dd9c7880699eb2ba9c79a3f288cc301d453177e24ec9850c40b26758c2bfd82740d31b WHIRLPOOL 29cd0403bdf2a1ef19bb15d060ee717b6fc616d29b1bc6ac241500a022754652b302ac4b8416caf26b64e216ee36c43f6b74371d0f77b98328b89ff5e630b57a
+EBUILD spacenavd-0.6.ebuild 2232 SHA256 72e1226cc6c60245abf7c44079f54b08893e235c44b5ed5757f01908f33c61ed SHA512 c555cefdb0c7e09a3398e1897c4b0305d3697011aaa595a7a57ebb0e0581f5f1d0844166ccb3342132b4f98714f8528f9eaa7ffe5c6d55a59799edcb5de36a12 WHIRLPOOL b234281631edd49d65b8fb147deca3f296bf6c6bd282ee0d66b594e5009437ea5b356253d87bf4a5ba73ac20a39352aa94031829f50b448763c0f9ccd053a205
+MISC ChangeLog 2904 SHA256 f323bd3a37cc628339a4eee752d572fa1dc069b64ce0c23e29c7b3ce97bd4a86 SHA512 a98e326bf8aad4ceea1c579b0b4f753d73cb101598c687212d651c91e89c06caa9c5e71c50d6b37bbcdb8cc184886fc7b40a74d58536b4788380a537217642f8 WHIRLPOOL 711c759d384b73b48debc7e319b3934a02f9c5b75f6348e185cdd191c26b1f4dfdef612f4c8e4a7927812a5a99334e2f5a24eda44f53e73d8bb5eca77d6f5dae
+MISC ChangeLog-2015 3313 SHA256 446a7b9225df0b30e7113ed715d793e62c7c203c510ba38030e0912bfabf7802 SHA512 a493d152382f2450c123ccbdf1659fdb9cc98ebb01ef4b7d7dbf3838b4ef75c0e1e83572352d9a95728b6df7d2a29a5a975750cf937b54293a1e7e588532a19e WHIRLPOOL 9b7e5f74d3e70088227f5139f5947859ed4b8da888913cfb776e2c7853d21f9319eef702ebae053d25aa5907ff29ab58ac4f658064031a1c7342fe5dbef0f24d
+MISC metadata.xml 1044 SHA256 a02f67b861bcd108eec317743e01c4d00e7bb1fea24e498d79eb942859272730 SHA512 04b15a567deac4a6bc1a0b250c585d863d9bebdca0a5160a3b77e1830190abadf1b98371b33e60a8d67978de3f0db117d51d598a861782663cf7b35e74a5d859 WHIRLPOOL df6075690580d11e00a019fee67a61ee7b3baa933068329ff17b13ee7f0481d9ecdb2f7247d40f347ea24f9f6581859e49c202101021d68fd8e6b2417b26ca18
diff --git a/app-misc/spacenavd/files/99-space-navigator.rules b/app-misc/spacenavd/files/99-space-navigator.rules
new file mode 100644
index 000000000000..ef2640e65715
--- /dev/null
+++ b/app-misc/spacenavd/files/99-space-navigator.rules
@@ -0,0 +1,5 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2 or later
+
+# Start daemon on insertion of a SpaceNavigator device
+SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space Navigator", RUN+="/etc/init.d/spacenavd --quiet start"
diff --git a/app-misc/spacenavd/files/99-space-navigator.rules-r1 b/app-misc/spacenavd/files/99-space-navigator.rules-r1
new file mode 100644
index 000000000000..fa5dc93fcca5
--- /dev/null
+++ b/app-misc/spacenavd/files/99-space-navigator.rules-r1
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2 or later
+
+# Start daemon on insertion of a SpaceNavigator device
+SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space Navigator", RUN+="/etc/init.d/spacenavd --quiet start"
+SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="SpaceNavigator", TAG+="systemd", ENV{SYSTEMD_WANTS}+="spacenavd.service"
diff --git a/app-misc/spacenavd/files/99-space-navigator.rules-r2 b/app-misc/spacenavd/files/99-space-navigator.rules-r2
new file mode 100644
index 000000000000..47d013275b61
--- /dev/null
+++ b/app-misc/spacenavd/files/99-space-navigator.rules-r2
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2 or later
+
+# Start daemon on insertion of a SpaceNavigator device
+SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space*", RUN+="/etc/init.d/spacenavd --quiet start"
+SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="spacenavd.service"
diff --git a/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch b/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch
new file mode 100644
index 000000000000..3b834a43952d
--- /dev/null
+++ b/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch
@@ -0,0 +1,67 @@
+diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in
+--- spacenavd-0.5.orig/Makefile.in 2012-01-31 22:22:20.460368687 +0100
++++ spacenavd-0.5/Makefile.in 2012-01-31 22:23:18.170367675 +0100
+@@ -6,8 +6,8 @@ ctl = spnavd_ctl
+
+ CC = gcc
+ INSTALL = install
+-CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src
+-LDFLAGS = $(xlib)
++CFLAGS = $(opt) -fno-strict-aliasing -I$(srcdir)/src
++LDFLAGS = $(ldopt) $(xlib)
+
+ $(bin): $(obj)
+ $(CC) -o $@ $(obj) $(LDFLAGS)
+diff -Npur spacenavd-0.5.orig/configure spacenavd-0.5/configure
+--- spacenavd-0.5.orig/configure 2012-01-31 22:22:20.460368687 +0100
++++ spacenavd-0.5/configure 2012-01-31 22:22:49.257368187 +0100
+@@ -28,6 +28,7 @@ test_kver() {
+
+ PREFIX=/usr/local
+ OPT=yes
++LDOPT=yes
+ DBG=yes
+ X11=yes
+ HOTPLUG=yes
+@@ -70,6 +71,11 @@ for arg; do
+ --disable-opt)
+ OPT=no;;
+
++ --enable-ldopt)
++ LDOPT=yes;;
++ --disable-ldopt)
++ LDOPT=no;;
++
+ --enable-debug)
+ DBG=yes;;
+ --disable-debug)
+@@ -95,6 +101,8 @@ for arg; do
+ echo ' --disable-hotplug: disable hotplug, fallback to polling for the device'
+ echo ' --enable-opt: enable speed optimizations (default)'
+ echo ' --disable-opt: disable speed optimizations'
++ echo ' --enable-ldopt: enable link optimizations (default)'
++ echo ' --disable-ldopt: disable link optimizations'
+ echo ' --enable-debug: include debugging symbols (default)'
+ echo ' --disable-debug: do not include debugging symbols'
+ echo 'all invalid options are silently ignored'
+@@ -105,6 +113,7 @@ done
+
+ echo " prefix: $PREFIX"
+ echo " optimize for speed: $OPT"
++echo " optimize link: $LDOPT"
+ echo " include debugging symbols: $DBG"
+ echo " x11 communication method: $X11"
+ echo " use hotplug: $HOTPLUG"
+@@ -128,7 +137,11 @@ if [ "$DBG" = 'yes' ]; then
+ fi
+
+ if [ "$OPT" = 'yes' ]; then
+- echo 'opt = -O3' >>Makefile
++ echo "opt = ${CFLAGS:--O3}" >>Makefile
++fi
++
++if [ "$LDOPT" = 'yes' ]; then
++ echo "ldopt = ${LDFLAGS}" >>Makefile
+ fi
+
+ if [ "$X11" = 'yes' ]; then
diff --git a/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch b/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch
new file mode 100644
index 000000000000..5b2372242e14
--- /dev/null
+++ b/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch
@@ -0,0 +1,16 @@
+diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in
+--- spacenavd-0.5.orig/Makefile.in 2011-11-16 21:43:53.210859753 +0100
++++ spacenavd-0.5/Makefile.in 2011-11-16 21:45:36.386857932 +0100
+@@ -24,9 +24,9 @@ clean:
+
+ .PHONY: install
+ install: $(bin)
+- $(INSTALL) -d $(PREFIX)/bin
+- $(INSTALL) -m 755 $(bin) $(PREFIX)/bin/$(bin)
+- $(INSTALL) -m 755 $(srcdir)/$(ctl) $(PREFIX)/bin/$(ctl)
++ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -m 755 $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin)
++ $(INSTALL) -m 755 $(srcdir)/$(ctl) $(DESTDIR)$(PREFIX)/bin/$(ctl)
+ cd $(srcdir) && ./setup_init --no-install
+
+ # [ -d /etc/hal/fdi/policy ] && \
diff --git a/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch b/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch
new file mode 100644
index 000000000000..bbdd7d6196ec
--- /dev/null
+++ b/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch
@@ -0,0 +1,13 @@
+diff -Npur spacenavd-0.5.old/src/event.c spacenavd-0.5/src/event.c
+--- src/event.c 2012-03-21 22:15:37.093401293 +0100
++++ src/event.c 2012-03-21 22:14:10.734401301 +0100
+@@ -20,7 +20,9 @@ along with this program. If not, see <h
+ #include <stdlib.h>
+ #include "event.h"
+ #include "client.h"
++#ifdef USE_X11
+ #include "proto_x11.h"
++#endif
+ #include "proto_unix.h"
+ #include "spnavd.h"
+
diff --git a/app-misc/spacenavd/files/spacenavd.service b/app-misc/spacenavd/files/spacenavd.service
new file mode 100644
index 000000000000..b9b14d80086a
--- /dev/null
+++ b/app-misc/spacenavd/files/spacenavd.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=3Dconnexion Input Devices Userspace Driver
+
+[Service]
+ExecStart=/usr/bin/spacenavd -d
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/spacenavd/files/spnavd b/app-misc/spacenavd/files/spnavd
new file mode 100644
index 000000000000..6bbe49a7bbf0
--- /dev/null
+++ b/app-misc/spacenavd/files/spnavd
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need localmount
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting Spacenav system daemon"
+
+ start-stop-daemon --start --pidfile /var/run/spnavd.pid --exec /usr/bin/spacenavd
+ eend $?
+}
+
+stop() {
+ local retval
+
+ ebegin "Stopping Spacenav system daemon"
+
+ start-stop-daemon --stop --pidfile /var/run/spnavd.pid
+ retval=$?
+
+ eend ${retval}
+ return ${retval}
+}
diff --git a/app-misc/spacenavd/metadata.xml b/app-misc/spacenavd/metadata.xml
new file mode 100644
index 000000000000..3e3914927158
--- /dev/null
+++ b/app-misc/spacenavd/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>anthoine.bourgeois@gmail.com</email>
+ <name>Anthoine Bourgeois</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The spacenavd daemon can be used directly as a drop-in replacement
+ to the 3DxWare daemon. It can communicate with the official magellan
+ SDK, and thus any program compiled with it can work with spacenavd
+ transparently without any change or need of recompilation.
+ Also, spacenavd provides an alternative communication protocol, for
+ programs that use libspnav, that doesn't require an X server, as the
+ original protocol does.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">spacenav</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/spacenavd/spacenavd-0.5-r5.ebuild b/app-misc/spacenavd/spacenavd-0.5-r5.ebuild
new file mode 100644
index 000000000000..e586369f045c
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-0.5-r5.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-apps/xdpyinfo )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ CONFIG_CHECK="~INPUT_EVDEV"
+ ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+ check_extra_config
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-destdir.patch
+ epatch "${FILESDIR}"/${P}-custom-flags.patch
+ epatch "${FILESDIR}"/${P}-no-x11.patch
+}
+
+src_configure() {
+ econf \
+ --enable-opt --enable-ldopt \
+ $(use_enable X x11)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ # Config file
+ insinto /etc
+ newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+ # Init script
+ newinitd "${FILESDIR}/spnavd" spacenavd
+ systemd_dounit "${FILESDIR}/spacenavd.service"
+
+ # Install udev rule but leave activiation to the user
+ # since Xorg may be configured to grab the device already
+ insinto "$(get_udevdir)"
+ newins "${FILESDIR}"/99-space-navigator.rules-r1 99-space-navigator.rules.ignored
+
+ # Daemon
+ dobin "${S}/spacenavd"
+ use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+ elog "To start the Spacenav daemon system-wide by default"
+ elog "you should add it to the default runlevel :"
+ elog "\`rc-update add spacenavd default\` (for openRC)"
+ elog "\`systemctl enable spacenavd\` (for systemd)"
+ elog
+ if use X; then
+ elog "To start generating Spacenav X events by default"
+ elog "you should add this command in your user startup"
+ elog "scripts such as .gnomerc or .xinitrc :"
+ elog "\`spnavd_ctl x11 start\`"
+ elog
+ fi
+ elog
+ elog "If you want to auto-start the daemon when you plug in"
+ elog "a SpaceNavigator device, activate the related udev rule :"
+ elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+ ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+ ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+ ewarn "if using systemd."
+}
diff --git a/app-misc/spacenavd/spacenavd-0.5-r6.ebuild b/app-misc/spacenavd/spacenavd-0.5-r6.ebuild
new file mode 100644
index 000000000000..21dab6b21ab9
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-0.5-r6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-apps/xdpyinfo )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ CONFIG_CHECK="~INPUT_EVDEV"
+ ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+ check_extra_config
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-destdir.patch
+ epatch "${FILESDIR}"/${P}-custom-flags.patch
+ epatch "${FILESDIR}"/${P}-no-x11.patch
+}
+
+src_configure() {
+ econf \
+ --enable-opt --enable-ldopt \
+ $(use_enable X x11)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ # Config file
+ insinto /etc
+ newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+ # Init script
+ newinitd "${FILESDIR}/spnavd" spacenavd
+ systemd_dounit "${FILESDIR}/spacenavd.service"
+
+ # Install udev rule but leave activiation to the user
+ # since Xorg may be configured to grab the device already
+ udev_newrules "${FILESDIR}"/99-space-navigator.rules-r1 99-space-navigator.rules.ignored
+
+ # Daemon
+ dobin "${S}/spacenavd"
+ use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+ elog "To start the Spacenav daemon system-wide by default"
+ elog "you should add it to the default runlevel :"
+ elog "\`rc-update add spacenavd default\` (for openRC)"
+ elog "\`systemctl enable spacenavd\` (for systemd)"
+ elog
+ if use X; then
+ elog "To start generating Spacenav X events by default"
+ elog "you should add this command in your user startup"
+ elog "scripts such as .gnomerc or .xinitrc :"
+ elog "\`spnavd_ctl x11 start\`"
+ elog
+ fi
+ elog
+ elog "If you want to auto-start the daemon when you plug in"
+ elog "a SpaceNavigator device, activate the related udev rule :"
+ elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+ ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+ ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+ ewarn "if using systemd."
+}
diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild
new file mode 100644
index 000000000000..df16c9432ab2
--- /dev/null
+++ b/app-misc/spacenavd/spacenavd-0.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit linux-info systemd toolchain-funcs udev
+
+MY_PN='spacenav'
+DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon"
+HOMEPAGE="http://spacenav.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ppc64 ~x86"
+IUSE="X"
+
+RDEPEND="X? ( x11-apps/xdpyinfo )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ CONFIG_CHECK="~INPUT_EVDEV"
+ ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
+ check_extra_config
+}
+
+src_configure() {
+ econf \
+ --disable-debug \
+ --enable-hotplug \
+ --disable-opt \
+ $(use_enable X x11)
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ add_cflags="${CFLAGS}" \
+ add_ldflags="${LDFLAGS}"
+}
+
+src_install() {
+ # Config file
+ insinto /etc
+ newins "${S}/doc/example-spnavrc" spnavrc.sample
+
+ # Init script
+ newinitd "${FILESDIR}/spnavd" spacenavd
+ systemd_dounit "${FILESDIR}/spacenavd.service"
+
+ # Install udev rule but leave activiation to the user
+ # since Xorg may be configured to grab the device already
+ udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored
+
+ # Daemon
+ dobin "${S}/spacenavd"
+ use X && dobin "${S}/spnavd_ctl"
+}
+
+pkg_postinst() {
+ elog "To start the Spacenav daemon system-wide by default"
+ elog "you should add it to the default runlevel :"
+ elog "\`rc-update add spacenavd default\` (for openRC)"
+ elog "\`systemctl enable spacenavd\` (for systemd)"
+ elog
+ if use X; then
+ elog "To start generating Spacenav X events by default"
+ elog "you should add this command in your user startup"
+ elog "scripts such as .gnomerc or .xinitrc :"
+ elog "\`spnavd_ctl x11 start\`"
+ elog
+ fi
+ elog
+ elog "If you want to auto-start the daemon when you plug in"
+ elog "a SpaceNavigator device, activate the related udev rule :"
+ elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
+ ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run"
+ ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
+ ewarn "if using systemd."
+}
diff --git a/app-misc/specto/Manifest b/app-misc/specto/Manifest
new file mode 100644
index 000000000000..c8fc91e4ac17
--- /dev/null
+++ b/app-misc/specto/Manifest
@@ -0,0 +1,6 @@
+AUX specto-0.4.1-icon-theme.patch 1545 SHA256 77c46969b1b3cdfba82acd02d5a1e79bd8dc92029945ab57133fc3ea95da624f SHA512 b82a18e63d91f0758b4d8844efbd25b3fe8a1a5a9343d5881d30f57bfbfbfc83b538cbd6821c8ca9631744698d610449b9bad60f81cce6666a149fd76617c122 WHIRLPOOL 8272dbdd9c64b1889268a788b231ddc50705226b30764cce73ac5be5a53f8d24d385c32b0978b6cf1ab4cb1c12e88b825de1f84f238ca69bc345ac60e1ad2f74
+DIST specto-0.4.1.tar.gz 316337 SHA256 aa2415ea35f00a0bb6fc20dda56ef7c840c8971e325f87eae80f6f9cd40d8ecc SHA512 0952b3411618188eec1f4e73895d4ce4a7696617d4ff2621552a5f06248853d0feccb6887a41af2ac4fbc928d366e89bcf87425a6786dfc91254b9c6f766f197 WHIRLPOOL 7be6a5911db5e6cabe66994f9c58bd1ab17bcb1925d08c5fbea54cb44cec3a01591d1e66bf7d690ca3dceb3b1c598b0c02b03c9eef7419ac663c8c09a5c8961c
+EBUILD specto-0.4.1-r1.ebuild 1031 SHA256 c735c0a6528a134eec9ff4dfb56f944215fdfeea95468ab5b33e036f427cf86a SHA512 3b6f1a931b197025e95fd380ffb2d52779a7dc71c2c54af44bc6e05a9ed4212562a9778a67428f77741e598b76b810c19e6d2f754fb55c63ae6b12352bf0ba13 WHIRLPOOL 39dbff311b9d9af51b0ed0fc5fc6972b1a754d2966b34821abf3a3e844a1070d8bda6ed9b9a19d1c6c204ab3b437db2cc468264c2b677c03cb9b55301ddea72e
+MISC ChangeLog 2930 SHA256 54cb14e92a0f131f1583cca0c9263f20c79bfd384ef9faa8f987188098166e6d SHA512 74f7432704a063efe42626cb4242f0ecd6a4a0fa26e6126d9f0820e08c8123b1dec532eb738f090c8880f19df081952c9194a49a862db25d449e44b52ecea2f0 WHIRLPOOL 2e12ded6ba193490902a093241278077f38e1411de425342149299eb41b0e966001f968c0bd2cdb5a10375de52749c0d47d2683f4438defaa5a5baee7894061e
+MISC ChangeLog-2015 1581 SHA256 b6b82bb31fb27f50031be5b7b79981c4ad44e7d135c90923acfbfb7c4b7e6637 SHA512 23ff919b64a956cebcbd4e951c0c134e7ede56044b97a09747d82656df4a98e8f3b873316b00f48907ed38f40150365dec6448a79b36d4270acbccd6acdfa340 WHIRLPOOL 5c7b4a797d060bf675fc3664fec8cb521df6b0be75ac6dfe96c4b92bfc124bf5e62c01e6ada8999d266122817c1e94c8b36e52b62293956847e53c3a321ebcef
+MISC metadata.xml 370 SHA256 52c25114c0c6ca8153e324c8e28d4a611872dbac02210a0077b76bb32857bc19 SHA512 c16768081fc96ef7f368c103f4b4a0477b35abe2b3d67d42c214b58426e24bb1e2e7c88637dae11b032769319d9726b5267b1f6c0c66f8f9492b70ea407e331e WHIRLPOOL 498d5d9ba5189f95dea5218607fdfd2c5c69bb1b376e19809fec792d75fcaa332da72dd930485716827f4fa6fde4b2a791bc6998bf2d35012b8db8c32569d3a1
diff --git a/app-misc/specto/files/specto-0.4.1-icon-theme.patch b/app-misc/specto/files/specto-0.4.1-icon-theme.patch
new file mode 100644
index 000000000000..60870deba203
--- /dev/null
+++ b/app-misc/specto/files/specto-0.4.1-icon-theme.patch
@@ -0,0 +1,30 @@
+Replace some GNOME icons with their FreeDesktop equivalents
+so that it works with oxygen as a theme.
+
+--- specto-0.4.1/spectlib/notifier.py
++++ specto-0.4.1/spectlib/notifier.py
+@@ -213,11 +213,11 @@
+ """ show the right icon for the status from the watch. """
+ watch = self.specto.watch_db[id]
+ statusbar = self.builder.get_object("statusbar1")
+- icon = self.get_icon("error", 50, False)
++ icon = self.get_icon("dialog-error", 50, False)
+
+ try:
+ if status == "checking":
+- icon = self.get_icon("reload", 0, False)
++ icon = self.get_icon("view-refresh", 0, False)
+ statusbar.push(0, (datetime.today().strftime("%H:%M") + " - " + _('The watch "%s" is checking.') % watch.name))
+
+ elif status == "idle":
+@@ -242,8 +242,8 @@
+
+ elif status == "error":
+ statusbar.push(0, (datetime.today().strftime("%H:%M") + " - " + _('The watch "%s" has a problem.') % watch.name))
+- balloon_icon = self.get_icon("error", 0, True)
+- icon = self.get_icon("error", 50, False)
++ balloon_icon = self.get_icon("dialog-error", 0, True)
++ icon = self.get_icon("dialog-error", 50, False)
+ if self.specto.specto_gconf.get_entry("pop_toast") == True:
+ body = watch.escape(watch.error_message)
+ self.balloon.show_toast(body, balloon_icon, urgency="critical", summary=(_("%s encountered a problem") % watch.name))
diff --git a/app-misc/specto/metadata.xml b/app-misc/specto/metadata.xml
new file mode 100644
index 000000000000..9a32966829d9
--- /dev/null
+++ b/app-misc/specto/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>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">specto</remote-id>
+ <remote-id type="sourceforge">specto</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/specto/specto-0.4.1-r1.ebuild b/app-misc/specto/specto-0.4.1-r1.ebuild
new file mode 100644
index 000000000000..4be07d51d38c
--- /dev/null
+++ b/app-misc/specto/specto-0.4.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="watch configurable events and trigger notifications"
+HOMEPAGE="http://specto.sourceforge.net/"
+SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_it
+ linguas_pt_BR linguas_ro linguas_sv linguas_tr"
+
+RDEPEND="dev-python/gconf-python[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/libgnome-python[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.10[${PYTHON_USEDEP}]"
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-icon-theme.patch
+
+ sed -e "s:share/doc/specto:share/doc/${PF}:" \
+ -i setup.py spectlib/util.py || die
+
+ if [ -n "${LINGUAS}" ] ; then
+ sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \
+ -i setup.py || die
+ fi
+
+ distutils-r1_src_prepare
+}
diff --git a/app-misc/sphinx/Manifest b/app-misc/sphinx/Manifest
new file mode 100644
index 000000000000..8a145ad2494c
--- /dev/null
+++ b/app-misc/sphinx/Manifest
@@ -0,0 +1,14 @@
+AUX searchd.rc 656 SHA256 719ec5bed997d1040647ae9cccf2e164da5d9ea585d63cb79ea57034ca6b4db7 SHA512 0b24b6dfe10a99c9bb18b7acdaadf2f5d7e3fab2ea80a719bd65b9ea6f6dc83f249d4c2ecb52c48eed73e515f8e76bff294ff39b1ab6375a947a9a137211949c WHIRLPOOL 80e020e228062473dc23a1d0c0175119fc52d4dabdc3e91a86acd4784afdbe858490443a0dd05a8869fda881993610b7a4b186db53c0b0f7959261dc15dab6ad
+AUX sphinx-2.0.1_beta-darwin8.patch 538 SHA256 e7350f5c5fcd1a5a0925cdb9a775efd5747d5d790aa9eb3319717e98be82b683 SHA512 342d4ecd3e75c208e358a39de6e5cd2a2bd9dc627f53893869c2280ba5b50546c7edf8476c07cf681c8d1921eeadbeaf48c75337efba0349b951c7a4569f0c14 WHIRLPOOL 7b35a4081c03e821c10e17bb36b91d8a4f1438a64d1b29b979a2163a90419971b70ec6a8c2ee80bec34c4c505f0aa0d83a59bea9261bbb3a03960d2ba9d8f9e9
+DIST libstemmer_c-20091122.tgz 129207 SHA256 ad4e152379214480d599c86dd19421a36fce78cedd20fc324520c5bba0a512e7 SHA512 d1b2203dcc3d0f421526d3ec2f7e04889f93221222efe50501b4a1c7e74dfc51905141d4ada5a76feab5cec8dbc64f55dd55b53f6e89f658c67e72dc6667091d WHIRLPOOL 03baf5de80854a2726990d1f79e17a46342b0d8431a564805d78878bba1eba0c1aba6f4f53c64eb1a1946b50053632c32c9106305f0a53623068531f2b67b5c4
+DIST sphinx-0.9.9.tar.gz 1218359 SHA256 bf8f55ffc095ff6b628f0cbc7eb54761811140140679a1c869cc1b17c42803e4 SHA512 bf1f6b3429beac9336ed975137b9cc582541357df487ae97f407589458fa4cc4f3a797c868fd505c6b4e97a73b30a0f7f9c7ab6b3d8685ba173fde6d1d5383c2 WHIRLPOOL 70a7db079e35671c17f1c29d71569c4b643462475b10dbed6342a74ed20304ea740e442fb97af874fb3acc3cb9eb8a07ff43aa90dc90c9cf477fb1d651ced021
+DIST sphinx-2.0.10-release.tar.gz 2016687 SHA256 efc9e90d1edec4f159846c8d4ca8839e7dcf9ef88c117d0d369aaead75809f0a SHA512 d22a0ce261cd6decda2e9e91fc9806699c818bb45a9c9c5e11a0944a698d47b5862c577eb55e7b57dd208db982e7f8bfc7163af37aaedc1c537841aff1409952 WHIRLPOOL 46e17cc73225692e8ab73438547863ba78ef7c1be306bd46e393723220007b95d9a0ca62cbd8175423b62bf4599a68c4a4831ac6472d02249104ecdf0e3892ac
+DIST sphinx-2.1.9-release.tar.gz 2443797 SHA256 6289aa0ac3e1456a0c9181ce6bce2287778b5a163f685a1376e181fc87eb7c03 SHA512 7f4538011db5d68bd00c00978d476f780fc2d355113bd2819996bacbaef90b0de5b14c946a9aad83157b818d9b6b01ee0a26bc72862cfd151067ad9967c18f56 WHIRLPOOL fd9e6d31c8b9d88b8de7462ccd947aeb85d97ee4c23c64788653f732a5e47dad134c0f8cedc3b0ccc2d744eb0c4aaeb2d32fbdb02bae50be0d4ed8841a0683a1
+DIST sphinx-2.2.11-release.tar.gz 3061998 SHA256 6662039f093314f896950519fa781bc87610f926f64b3d349229002f06ac41a9 SHA512 cf1a262a5b0fbf0bd2827ec6ec629edeaf709ce855a6e7b509b65342baaeb26c02717ca63f1578d32c83d21e2fd6d1e92dceb34660e6351b93cd96fd4e623689 WHIRLPOOL 34e4aeb41f1b8e352404792cb18149542e624fd739b5d11bee688f49c8be5067553414e9bf57b4352408ce3a6ffb16ece843af8bcf3625a75813a6adaf231e62
+EBUILD sphinx-0.9.9.ebuild 1459 SHA256 2ed66f6df94ede4a9509b58f9f47662650fdef2270f26b0f6644b43ac083e75c SHA512 f3dafc5cbd51133e8290a11082a018a8cbffd587209398cc10ba04b65f19ef80ab0abcc08cec24602274281b51625c5cf490a3055572c9e9ebd164e531a776a6 WHIRLPOOL a213d8431f8170d3512a9e9a9c7769e4c7acca711203db651ab3ca26584d1196ef4e72206810c0a0123e11ef2d55c5c4305536974cc36d3e86cb33f2a6dd3b86
+EBUILD sphinx-2.0.10.ebuild 2618 SHA256 33f8d877e50383c13f63dde90803c02172e0bb4fbd0f8000fd120d9a32437b7a SHA512 1fb0f297183c55d0aefcb32d2c5594e28e85c441c49f32a5e65bab3598c69362a39b2ae8c471b34751a759aa86024901fe92c53784adad1e8845c732a2a4cb03 WHIRLPOOL 1854126f8db31290e7539a3af974f146f9b0a2d485abda6899035eaa3442c1fd2e5d3c109393377aacd4467a0c87c6caa96359b71c8c89737ee3862de5d9f699
+EBUILD sphinx-2.1.9.ebuild 2353 SHA256 9750378bd3a2a42327814200760f6aee8e3060634232cbdb091421fa6687e98a SHA512 fadf1c6b4861f1ba4307a4c5a6e18177ea44ad6d2b1a35a4a043309e97680258519216de8772446cd43d2a5500defb79978284f33b1e17944746b4b13a02cfc0 WHIRLPOOL 7ff12c7f44771f529370ec168e804e1b1e5629eb1934580f064b740587bb0459b695d563a4aad924bc632fe1f9d743c8a6372249f9da654d2a860993537d5359
+EBUILD sphinx-2.2.11.ebuild 2379 SHA256 b234cff9fb9f4e0e1a8903f2542c13559790046ebfb43bb090f1e5c3d4c23fdd SHA512 658227af2ac8ce1a5e1d0ac852528d2097ff8019470e9a50ea4c9f76a930dfccd83cbb1b7f57567bb8924236092be8b584c15203e7362c51564b1189eb06cd38 WHIRLPOOL dd9dd06d2f40341832cc170501fb59c52e87c4e072ebe1477734825d14e4efbf3e1d739280d70c9e1e966221b091fe99e02e175831a3d8810f1c41006e25b213
+MISC ChangeLog 5194 SHA256 e1a0f05491e13e252f2a5b7e473c4e4ed2d484a3b2d4bf90716cf48952f6ac34 SHA512 47f780eabfee326a0cbcd11cca701db875c4c52cd2157baa26f9e1ff72d35ba22d435d1d9e1e1329d419aa204e7b3d159d19c41e58fd895391204112ac9798c1 WHIRLPOOL d97c5693dfffe3fb37e2309d3a0c7eedd65995563a290c051ff50f31917c97861b8c0937889be326ba3bedbd4e56f95c4bd026c1cfe7e3a27cb736173cca98c1
+MISC ChangeLog-2015 12848 SHA256 98c9fd5b8b5ed98d0d98cd6adfe521e6330b6f690c55eb6e427ae41c7db3fb2b SHA512 92b78512fc6244a9612674a61f43348cea18b82b74ea0920df04b13d5874034ce30a4fddca0a10b5c179850c6de0b9cc2f3ef9ebb3309617d9d04c3716cfd011 WHIRLPOOL 862389cc878f65af26680eac8d1590e9d2505c268cdbe86faeb5db359220f99d82ece47f425828973456170599effbffbe89679fc412a7a2e4870e2b9c937821
+MISC metadata.xml 436 SHA256 7f7376931be063b65b8536f5643fe49388e5d8327e02539255e05f2a4306e94a SHA512 3083764b80745c3f6dd81c1bc9c2f406edcef6a451d49a79f952969db07c7741447df2b82a82a627b5ebe680f3ea36f99128ae701b553895f15b7bed0d8abecd WHIRLPOOL 55e9c7726a757d8a83803a1fca5fbfb65b608ffec3f9e7cbe35b92fa66d288cf873d7a354a99b9f258fc9449280e953c1d8e97423afc1c81870743cd49439add
diff --git a/app-misc/sphinx/files/searchd.rc b/app-misc/sphinx/files/searchd.rc
new file mode 100644
index 000000000000..55ff0e9c9b77
--- /dev/null
+++ b/app-misc/sphinx/files/searchd.rc
@@ -0,0 +1,31 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+ use logger
+}
+
+checkconfig() {
+ if [ ! -f /etc/sphinx/sphinx.conf ] ; then
+ eerror "Please create /etc/sphinx/sphinx.conf"
+ eerror "Sample conf: /etc/sphinx/sphinx.conf.dist"
+ return 1
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return $?
+
+ ebegin "Starting sphinx searchd"
+ start-stop-daemon --start --exec /usr/bin/searchd
+ eend $? "Failed to start sphinx searchd"
+}
+
+stop() {
+ ebegin "Stopping sphinx searchd"
+ start-stop-daemon --stop --exec /usr/bin/searchd
+ eend $? "Failed to stop sphinx searchd"
+}
diff --git a/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch b/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch
new file mode 100644
index 000000000000..e0dcd54097fd
--- /dev/null
+++ b/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch
@@ -0,0 +1,22 @@
+Darwin8 has no backtrace functionalities yet
+
+--- src/sphinxutils.cpp
++++ src/sphinxutils.cpp
+@@ -1364,6 +1364,9 @@
+ }
+ sphSafeInfo ( iFD, "Stack bottom = 0x%p, thread stack size = 0x%x", pMyStack, iStackSize );
+
++#ifndef SIGRETURN_FRAME_OFFSET
++ sphLogFatal ( "Cannot get stack frame pointer on this architecture" );
++#else
+ while ( pMyStack && !bSafe )
+ {
+ sphSafeInfo ( iFD, "begin of manual backtrace:" );
+@@ -1421,6 +1424,7 @@
+
+ break;
+ }
++#endif
+
+ #if HAVE_BACKTRACE
+ sphSafeInfo ( iFD, "begin of system backtrace:" );
diff --git a/app-misc/sphinx/metadata.xml b/app-misc/sphinx/metadata.xml
new file mode 100644
index 000000000000..80a8842e3c97
--- /dev/null
+++ b/app-misc/sphinx/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>graaff@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name="id64">use 64-bit document and word IDs</flag>
+ <flag name="re2">use the <pkg>dev-libs/re2</pkg> regular expression library</flag>
+ <flag name="stemmer">Enable language stemming support</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/sphinx/sphinx-0.9.9.ebuild b/app-misc/sphinx/sphinx-0.9.9.ebuild
new file mode 100644
index 000000000000..462fd8723520
--- /dev/null
+++ b/app-misc/sphinx/sphinx-0.9.9.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils autotools
+
+WANT_AUTOMAKE="1.11"
+
+MY_P=${P/_/-}
+
+# This has been added by Gentoo, to explicitly version libstemmer.
+# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was
+# fetched.
+STEMMER_PV="20091122"
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/downloads/${MY_P}.tar.gz
+ stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug id64 mysql postgres stemmer test"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )"
+DEPEND="${RDEPEND}
+ test? ( dev-lang/php )"
+
+# Tests require a live database.
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ if use stemmer; then
+ cd "${S}"
+ unpack libstemmer_c-${STEMMER_PV}.tgz
+ fi
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sysconfdir="/etc/${PN}" \
+ $(use_enable id64) \
+ $(use_with debug) \
+ $(use_with mysql) \
+ $(use_with postgres pgsql) \
+ $(use_with stemmer libstemmer)
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc doc/*
+
+ dodir /var/lib/sphinx
+ dodir /var/log/sphinx
+ dodir /var/run/sphinx
+
+ newinitd "${FILESDIR}"/searchd.rc searchd
+}
diff --git a/app-misc/sphinx/sphinx-2.0.10.ebuild b/app-misc/sphinx/sphinx-2.0.10.ebuild
new file mode 100644
index 000000000000..1c327f6552d2
--- /dev/null
+++ b/app-misc/sphinx/sphinx-2.0.10.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils autotools toolchain-funcs
+
+#MY_P=${P/_/-}
+MY_P=${P}-release
+
+# This has been added by Gentoo, to explicitly version libstemmer.
+# It is the date that http://snowball.tartarus.org/dist/libstemmer_c.tgz was
+# fetched.
+STEMMER_PV="20091122"
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz
+ stemmer? ( mirror://gentoo/libstemmer_c-${STEMMER_PV}.tgz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+IUSE="debug id64 mysql odbc postgres stemmer test"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ odbc? ( dev-db/unixODBC )
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ test? ( dev-lang/php )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+ if use stemmer; then
+ cd "${S}"
+ unpack libstemmer_c-${STEMMER_PV}.tgz
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
+
+ # drop nasty hardcoded search path breaking Prefix
+ # We patch configure directly since otherwise we need to run
+ # eautoreconf twice and that causes problems, bug 425380
+ sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
+
+ # Fix QA compilation warnings.
+ sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
+
+ pushd api/libsphinxclient || die
+ eautoreconf
+ popd || die
+}
+
+src_configure() {
+ # fix libiconv detection
+ use !elibc_glibc && export ac_cv_search_iconv=-liconv
+
+ econf \
+ --sysconfdir="${EPREFIX}/etc/${PN}" \
+ $(use_enable id64) \
+ $(use_with debug) \
+ $(use_with mysql) \
+ $(use_with odbc unixodbc) \
+ $(use_with postgres pgsql) \
+ $(use_with stemmer libstemmer)
+
+ cd api/libsphinxclient || die
+ econf STRIP=:
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)" || die "emake failed"
+
+ emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
+}
+
+src_test() {
+ elog "Tests require access to a live MySQL database and may require configuration."
+ elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
+
+ dodoc doc/*
+
+ dodir /var/lib/sphinx
+ dodir /var/log/sphinx
+
+ newinitd "${FILESDIR}"/searchd.rc searchd
+
+ if use test; then
+ insinto /usr/share/${PN}
+ doins -r test
+ fi
+}
diff --git a/app-misc/sphinx/sphinx-2.1.9.ebuild b/app-misc/sphinx/sphinx-2.1.9.ebuild
new file mode 100644
index 000000000000..b34fbf799e50
--- /dev/null
+++ b/app-misc/sphinx/sphinx-2.1.9.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils autotools toolchain-funcs
+
+#MY_P=${P/_/-}
+MY_P=${P}-release
+
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+IUSE="debug id64 mysql odbc postgres stemmer syslog test xml"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ odbc? ( dev-db/unixODBC )
+ stemmer? ( dev-libs/snowball-stemmer )
+ xml? ( dev-libs/expat )
+ virtual/libiconv"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
+
+ # drop nasty hardcoded search path breaking Prefix
+ # We patch configure directly since otherwise we need to run
+ # eautoreconf twice and that causes problems, bug 425380
+ sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
+
+ # Fix QA compilation warnings.
+ sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
+
+ pushd api/libsphinxclient || die
+ eautoreconf
+ popd || die
+}
+
+src_configure() {
+ # fix libiconv detection
+ use !elibc_glibc && export ac_cv_search_iconv=-liconv
+
+ econf \
+ --sysconfdir="${EPREFIX}/etc/${PN}" \
+ $(use_enable id64) \
+ $(use_with debug) \
+ $(use_with mysql) \
+ $(use_with odbc unixodbc) \
+ $(use_with postgres pgsql) \
+ $(use_with stemmer libstemmer) \
+ $(use_with syslog syslog) \
+ $(use_with xml libexpat )
+
+ cd api/libsphinxclient || die
+ econf STRIP=:
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)" || die "emake failed"
+
+ emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
+}
+
+src_test() {
+ elog "Tests require access to a live MySQL database and may require configuration."
+ elog "You will find them in /usr/share/${PN}/test and they require dev-lang/php"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
+
+ dodoc doc/*
+
+ dodir /var/lib/sphinx
+ dodir /var/log/sphinx
+
+ newinitd "${FILESDIR}"/searchd.rc searchd
+
+ if use test; then
+ insinto /usr/share/${PN}
+ doins -r test
+ fi
+}
diff --git a/app-misc/sphinx/sphinx-2.2.11.ebuild b/app-misc/sphinx/sphinx-2.2.11.ebuild
new file mode 100644
index 000000000000..4284f2a9dabf
--- /dev/null
+++ b/app-misc/sphinx/sphinx-2.2.11.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils autotools toolchain-funcs
+
+#MY_P=${P/_/-}
+MY_P=${P}-release
+
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+IUSE="debug +id64 mysql odbc postgres re2 stemmer syslog xml"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql:* )
+ odbc? ( dev-db/unixODBC )
+ re2? ( dev-libs/re2 )
+ stemmer? ( dev-libs/snowball-stemmer )
+ xml? ( dev-libs/expat )
+ virtual/libiconv"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.1_beta-darwin8.patch
+
+ # drop nasty hardcoded search path breaking Prefix
+ # We patch configure directly since otherwise we need to run
+ # eautoreconf twice and that causes problems, bug 425380
+ sed -i -e 's/\/usr\/local\//\/someplace\/nonexisting\//g' configure || die
+
+ # Fix QA compilation warnings.
+ sed -i -e '19i#include <string.h>' api/libsphinxclient/test.c || die
+
+ pushd api/libsphinxclient || die
+ eautoreconf
+ popd || die
+
+ # Drop bundled code to ensure building against system versions. We
+ # cannot remove libstemmer_c since configure updates its Makefile.
+ rm -rf libexpat libre2 || die
+}
+
+src_configure() {
+ # fix libiconv detection
+ use !elibc_glibc && export ac_cv_search_iconv=-liconv
+
+ econf \
+ --sysconfdir="${EPREFIX}/etc/${PN}" \
+ $(use_enable id64) \
+ $(use_with debug) \
+ $(use_with mysql) \
+ $(use_with odbc unixodbc) \
+ $(use_with postgres pgsql) \
+ $(use_with re2) \
+ $(use_with stemmer libstemmer) \
+ $(use_with syslog syslog) \
+ $(use_with xml libexpat )
+
+ cd api/libsphinxclient || die
+ econf STRIP=:
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)" || die "emake failed"
+
+ emake -j 1 -C api/libsphinxclient || die "emake libsphinxclient failed"
+}
+
+src_test() {
+ # Tests require a live database and only work from the source
+ # directory.
+ :
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ emake DESTDIR="${D}" -C api/libsphinxclient install || die "install libsphinxclient failed"
+
+ dodoc doc/*
+
+ dodir /var/lib/sphinx
+ dodir /var/log/sphinx
+
+ newinitd "${FILESDIR}"/searchd.rc searchd
+}
diff --git a/app-misc/splitvt/Manifest b/app-misc/splitvt/Manifest
new file mode 100644
index 000000000000..e6b5a592b61c
--- /dev/null
+++ b/app-misc/splitvt/Manifest
@@ -0,0 +1,7 @@
+AUX 1.6.6-ldflags.patch 1048 SHA256 7e10f795780db244f7283fea25d32ca1397bb0e526ba13bbf8b6623660319f67 SHA512 032092bdd9c99917a7a446f4dc66f3fd4d91329eee9992d3026525c969d6a01420eb9131bf51bb92afe79bf2e194ad9ac039e16ac168686b7e534591cfe90307 WHIRLPOOL ca496fb2a1dfdfb66231d2dacfd7f6cbc8d4dd5630faad785f5d5bbbb5085578dda02c3052270e7396f86465934e5818778acf79cd68a534d21e54a572d11780
+DIST splitvt-1.6.6.tar.gz 64797 SHA256 70a03afe3a43c7458c5fe0152c386f62669107e045b973aecc667259b1820937 SHA512 a0a0ea2251489f14e2ba7af9bb1b9d309d6fa310f434090d97af2a0805c398731dec45a5cc15c2074af4d3f33b02c5bab019743530619755382af80ff86fa670 WHIRLPOOL 89b5df9427d5bef4a3d7ecbf4bdf6bc8a18eefb65a89cfb3c807ee1063038d1c15d788b2404daaf1595da7a390bfa5106b4d26d2cc34961082e5d21ad73f26fd
+DIST splitvt_1.6.6-7.diff.gz 11073 SHA256 083f6f3e0f35a10859270f29ca02605e04918bcd5bf2ad94d71f2b13283310e4 SHA512 620f3f6e7f22284ef8054e371a87421beeb2ef355b7084748cbd1f7a3a128c9da11f291fdaf1d393010c0f7affce8d6e56a7ae0977d9831b9d3b98963c55c71f WHIRLPOOL e721fd06ac3276b503b1867fe522b8cdf2ed549c50d36247e3c4204400986b33ed63fb3cab0dac7e2f75981846e358bba628158e02dbeb8a2c53e1b4543e6a82
+EBUILD splitvt-1.6.6-r2.ebuild 1186 SHA256 9702c7549d395d0095c0a4fcb44a8c32a64eaf412776593365dbb88fb9ee212b SHA512 34f836a3a8ff35ce55e9bc7d2d455d197415fc1f608491d3e3812e3875a669e742fb078f833083c8f58d1d20e8fc3cf4218f1e3f020622a6872b8e070c65326f WHIRLPOOL 729329a244bee9d2f1c3d77c6c3bdd574ebb416ad6cda5afd30f786056faebcda361b00ad94d218ab99693b3cef81206bc211ddf8bf085476652a1c1fd756863
+MISC ChangeLog 2461 SHA256 0f259c82850e4bbbc76caf05f923e0880bbb8627c69ec6e914f285725da720cc SHA512 e75b67bc82ad386108bd17b7260764ff9a471f66a7de1d750831e8f0b1be451bef70f54b3bb106715a32a96573b515b880ce263fdae96b719215e49b0d91a0d6 WHIRLPOOL a7d0e5160c3e2a7fcd1f2169805834d75b58243cda7bc7a5fa49e446367c1fb32353d161d7fe0cb22e9d55475328b8fd4d7cddec4929ec7ba7a79e858231e02d
+MISC ChangeLog-2015 4170 SHA256 c3bf6278b633f9a41db0ac839253e3a39afd9c2f9950d7b4086892a4d0f31250 SHA512 bdf79e0078a1366385330817bbebdfd5639f9784f5e2e383184dbe532dcaa33cae40140b3dfad8d6bc329dd7ffaecb572133f3bf8f276adabf3cfd8323825144 WHIRLPOOL da665ad35ed89442728035fd959bcb9156a595e414394b1f3e3cfc82ede686289b9d58859a5db5a327055a86bb044b3e7a8b0ff55a2ae076d30e1f4312365a42
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/splitvt/files/1.6.6-ldflags.patch b/app-misc/splitvt/files/1.6.6-ldflags.patch
new file mode 100644
index 000000000000..5a545ad98ee8
--- /dev/null
+++ b/app-misc/splitvt/files/1.6.6-ldflags.patch
@@ -0,0 +1,23 @@
+diff --git a/config.c b/config.c
+index 6e8b090..2f3c8dc 100644
+--- a/config.c
++++ b/config.c
+@@ -229,15 +229,15 @@ char *argv[];
+ }
+ fprintf(makefile,
+ "PTYOPTS = -DPTYCHAR=$(PTYCHAR) -DHEXDIGIT=$(HEXDIGIT)\n");
+- sprintf(line, "\nCFLAGS = -Wall %s $(PTYOPTS)\nLIBS = %s\n", cflags, ldflags);
++ sprintf(line, "\nCFLAGS = %s $(PTYOPTS)\nLIBS = %s\n", cflags, ldflags);
+ fprintf(makefile, "%s", line);
+ fprintf(makefile, "OBJS = splitvt.o misc.o utmp.o vt100.o videomem.o terminal.o vttest.o vtmouse.o \\\n");
+ fprintf(makefile, " parserc.o lock.o cut-paste.o\n\n");
+ fprintf(makefile, "splitvt: $(OBJS)\n");
+ #if defined(linux) && !defined(DEBUG)
+- fprintf(makefile, "\t$(CC) -o $@ $(OBJS) $(LIBS)\n");
++ fprintf(makefile, "\t$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)\n");
+ #else
+- fprintf(makefile, "\t$(CC) -o $@ $(OBJS) $(LIBS)\n");
++ fprintf(makefile, "\t$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)\n");
+ #endif
+ fprintf(makefile, "\nclean: \n\trm -f *.o core \n");
+ fprintf(makefile, "\ndistclean: clean\n\trm -f splitvt Makefile\n");
diff --git a/app-misc/splitvt/metadata.xml b/app-misc/splitvt/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/splitvt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/splitvt/splitvt-1.6.6-r2.ebuild b/app-misc/splitvt/splitvt-1.6.6-r2.ebuild
new file mode 100644
index 000000000000..a007ffa4eeab
--- /dev/null
+++ b/app-misc/splitvt/splitvt-1.6.6-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+MY_P="${P/-/_}"
+DEB_PL="7"
+
+DESCRIPTION="Splitting terminals into two shells"
+HOMEPAGE="http://www.devolution.com/~slouken/projects/splitvt"
+SRC_URI="
+ http://www.devolution.com/~slouken/projects/${PN}/${P}.tar.gz
+ mirror://debian/pool/main/s/splitvt/${MY_P}-${DEB_PL}.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ia64 ppc sparc x86"
+IUSE=""
+
+DEPEND=">=sys-libs/ncurses-5.2"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${WORKDIR}"/${MY_P}-${DEB_PL}.diff \
+ "${FILESDIR}"/${PV}-ldflags.patch
+ sed -i \
+ -e "s:/usr/local/bin:${D}/usr/bin:g" \
+ -e "s:/usr/local/man/:${D}/usr/share/man/:g" config.c || die
+}
+
+src_configure() {
+ # upstream has their own weirdo configure script...
+ ./configure || die "configure failed"
+ sed -i -e "s:-O2:${CFLAGS}:" -e "s:^CC = gcc:CC = $(tc-getCC):" Makefile || die
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1/ || die
+ make install || die "make install failed"
+ fperms 755 /usr/bin/xsplitvt || die
+ dodoc ANNOUNCE BLURB CHANGES NOTES README TODO || die
+ doman splitvt.1 || die
+}
diff --git a/app-misc/srm/Manifest b/app-misc/srm/Manifest
new file mode 100644
index 000000000000..4f75174483d3
--- /dev/null
+++ b/app-misc/srm/Manifest
@@ -0,0 +1,9 @@
+AUX srm-1.2.11-cflags.patch 572 SHA256 e2215079b437013171e9ab2d76dce9f648b3f27d964b39b678051a68f87f16df SHA512 ff776f2b76c5fd2423927fd903fb3d19080b3fab36eb491f9e116f7d9b9bca4a92bdea3c63369f10edd5b76283d737e64deaff418d861980f6c6b493a683827d WHIRLPOOL 8660d9958f76cd5a3d3b04545db6491a7a2580243d3ecf1467154287112a056366559b61eac409df75e47878e9dda5d4a4a94b2c678f23e07df0d63a5c195674
+AUX srm-1.2.15-cflags.patch 343 SHA256 cafb2a6cbca76bc076000730051d8c33d9c3a775ff640f06f258d2d690444997 SHA512 81196944b68b0bff7b32a16dd749cc15ce73c125dba6bfa175dbc38b4baf3a291702139ae63f900e94c3babdacf769fc943992e192371c5c7073275320f0f9c6 WHIRLPOOL 128873f321d605723f8e43c1d8545c45644ccf6f65f7e252f1ea58e1a63c3a03d42b61384c1128b65bf9a700305f14051dc67afc2e5e3c5bf7d3dff918784ec2
+DIST srm-1.2.11.tar.gz 124982 SHA256 5105152d1d8e6166a5b1bef6b4ec945fd9dcc03289ff8916e98f44bfa8f25a8a SHA512 4b9b80242242dc64dcf97e4180676a1dc8b64d43f144ad4278d6762716e5e1b77b4c794900c298a919be7bdf1af71dcaf7286d4fae909ec5314752bfb73da8db WHIRLPOOL cf9980c745d79564adf913e5729f223861128d7cb1eea7b90829b09425f4d2e34ccc20d233dca88370467500826ca766f912fa565c16f3b959982c00b43204bc
+DIST srm-1.2.15.tar.gz 132031 SHA256 7583c1120e911e292f22b4a1d949b32c23518038afd966d527dae87c61565283 SHA512 a8ec78473c55b70557fca88f525998ed51df3be58618b9da220e1bb73df013163f4e1563cbe2062b9cf1512152afeb9004b5be0be69cc1278c0d28597310dfd2 WHIRLPOOL 342d3bbdd94ff756a1253df7e8d0040c1d8bc744c695f970c89f2a62dcfd43fbdcaee16a9ac54a87c25d3be02d36b96f659cbb317d090b5fe1b45135865f1adb
+EBUILD srm-1.2.11-r2.ebuild 827 SHA256 0e10ed63e53dcf4cad0a5b3ac4cc20d6e9b8e15f16d0dacd12da8ae7eb0ade34 SHA512 73f6d3948533f1f96530a581afe31c2e02f46b2a0ef16490e750844d7af6aa7b68eee2dfd69d208df4d1313f0a080c893f043db2bf61e67649d6fd4f38b9642d WHIRLPOOL c9aeaca8025e779262c9d2ec1f41c4687ff7664c40d32953043d9c3a9a128473fe3ea3504b8e05ad2492bc46daa2f2edd2acb3c9df136b0fe3c70269215c9083
+EBUILD srm-1.2.15.ebuild 825 SHA256 00afefc138112edb63fb1d4c78cb77ee52e2f87289fea852c47a90227a3ada14 SHA512 cd3ca3a093d981c404b22ae7053545ab2e2090b1c843198b20a23c338d174956aa50970802fbfc429c7296691d5dffbfbf88a5aa5a511ceeb458f768c45c13f3 WHIRLPOOL f9674b9a7987ab2423399a3d96df134a0219600f663c89d270c12fd8ec7a713ba46d6046a13909bf1f2f33db618573f8fd914bf29aa96e67e1b0f017bc9a3297
+MISC ChangeLog 3027 SHA256 d1c1e4354f92b636dc0cece7b093ba3c1469603dacfb3e15d8d39dbcd8fe0b12 SHA512 93c6b927f5ccb3985775362ca3577bc5fee7aad41b65d22e8427ba6c4e1d6cc0500bea33a6db93d09321fec6e2d4185761c0f423a43f51473cbf9139468e9816 WHIRLPOOL 1815ea34376acf43c7892fe549eb9b2f0304247b74f4cfad8df239a1cbd1e31b2ff65710d29107be18a1210bc1aa13e54a94912b210e3d0b0cc1135a6a010749
+MISC ChangeLog-2015 4494 SHA256 104cb1587f6aba4e7ebcfb69fb3217e985bf9077fb5594b8495700f6586703f5 SHA512 d8022c7ec1f7bd42e906a1f8811d8031f4f9defc6e1245f2c3cd0c04ee79be5884b9eedc3597ce614cd38162aa133eba9b4a2ffc37ca46ec2e4f91ca480dfcc3 WHIRLPOOL eeac81a71e193f5dd1b3f1f3b3db2cb1bdbb04857a35ad3de94c9963e5aecae5857ba817ad09b28d5238670310e5629bbb23ef9faadb31190052dde6e347d7c2
+MISC metadata.xml 326 SHA256 626d8c5395f9a24a950467b5d55e97144ada200ea70a3576ccaec9014e568d26 SHA512 721014538f226f65a6d673e52715b7802e714f87fb8c98c74e610ea603f1cd72504da9229d72e15012fee7fc3d17f6c1b702e1ad5ec300b9696f8b717b492293 WHIRLPOOL 279b2c988dbe99f9672b9bb7fe9fb5012462c373b54f96f50d8e1f58de3dc63a61b70c9fefc851aa69692f37d05dbd4d40dfffb5a5a9b9234eee96357fcc12ba
diff --git a/app-misc/srm/files/srm-1.2.11-cflags.patch b/app-misc/srm/files/srm-1.2.11-cflags.patch
new file mode 100644
index 000000000000..7f05c5d2aa9d
--- /dev/null
+++ b/app-misc/srm/files/srm-1.2.11-cflags.patch
@@ -0,0 +1,23 @@
+--- configure.in 2010-06-06 13:22:08.000000000 -0400
++++ configure.in 2011-11-06 11:36:37.684800151 -0500
+@@ -6,8 +6,6 @@
+
+ dnl Checks for programs.
+ AC_PROG_CC
+-dnl reset CFLAGS
+-CFLAGS=
+
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+@@ -39,10 +37,9 @@
+ AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
+ [default=$debug_default]],, enable_debug=$debug_default)
+ if test "x$enable_debug" = "xyes"; then
+- CFLAGS="$CFLAGS -g"
+ AC_MSG_RESULT(yes)
+ else
+- CFLAGS="$CFLAGS -O2 -DNDEBUG"
++ CFLAGS="$CFLAGS -DNDEBUG"
+ AC_MSG_RESULT(no)
+ fi
+
diff --git a/app-misc/srm/files/srm-1.2.15-cflags.patch b/app-misc/srm/files/srm-1.2.15-cflags.patch
new file mode 100644
index 000000000000..0a45bdc12520
--- /dev/null
+++ b/app-misc/srm/files/srm-1.2.15-cflags.patch
@@ -0,0 +1,10 @@
+--- srm-1.2.15/configure.ac
++++ srm-1.2.15/configure.ac
+@@ -42,7 +42,6 @@
+ AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
+ [default=$debug_default]],, enable_debug=$debug_default)
+ if test "x$enable_debug" = "xyes"; then
+- CFLAGS="$CFLAGS -g"
+ AC_MSG_RESULT(yes)
+ else
+ CFLAGS="$CFLAGS -DNDEBUG"
diff --git a/app-misc/srm/metadata.xml b/app-misc/srm/metadata.xml
new file mode 100644
index 000000000000..ebb6d1580d6d
--- /dev/null
+++ b/app-misc/srm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>titanofold@gentoo.org</email>
+ <name>Aaron W. Swenson</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">srm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/srm/srm-1.2.11-r2.ebuild b/app-misc/srm/srm-1.2.11-r2.ebuild
new file mode 100644
index 000000000000..f88fd563ae67
--- /dev/null
+++ b/app-misc/srm/srm-1.2.11-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking"
+HOMEPAGE="https://sourceforge.net/projects/srm/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86"
+IUSE="debug"
+
+DEPEND="!app-misc/secure-delete
+ sys-kernel/linux-headers
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.2.11-cflags.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+pkg_postinst() {
+ ewarn "Please note that srm will not work as expected with any journaled file"
+ ewarn "system (e.g., reiserfs, ext3)."
+ ewarn "See: ${EROOT%/}/usr/share/doc/${PF}/README"
+}
diff --git a/app-misc/srm/srm-1.2.15.ebuild b/app-misc/srm/srm-1.2.15.ebuild
new file mode 100644
index 000000000000..c4fef52773d4
--- /dev/null
+++ b/app-misc/srm/srm-1.2.15.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking"
+HOMEPAGE="https://sourceforge.net/projects/srm/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86"
+IUSE="debug"
+
+DEPEND="!app-misc/secure-delete
+ sys-kernel/linux-headers
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.2.15-cflags.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+pkg_postinst() {
+ ewarn "Please note that srm will not work as expected with any journaled file"
+ ewarn "system (e.g., reiserfs, ext3)."
+ ewarn "See: ${EROOT%/}/usr/share/doc/${PF}/README"
+}
diff --git a/app-misc/supercat/Manifest b/app-misc/supercat/Manifest
new file mode 100644
index 000000000000..bfb45a2b39d9
--- /dev/null
+++ b/app-misc/supercat/Manifest
@@ -0,0 +1,5 @@
+DIST supercat-0.5.5.tar.gz 103545 SHA256 c49bd0b72509a166fb8686c999169b2c970595bc565d0b0379a01323657c01bf SHA512 24989935ea7b863638165f7102ae511b9be00ff4399f433fc9ec2fc33543eea907b8bd46e819d815344c8c8467bc702b9a5b32aa55bd21be2670237fa1d711de WHIRLPOOL f6dcfc68def95450c2a2c99b22baebc97736e17dc35406252d4a8b9a5c4fe05aed61eb0e2b3f0bf0a26ddd39a22420b34129e990e338c5a0ebf175f8efd37d70
+EBUILD supercat-0.5.5-r1.ebuild 559 SHA256 2e9731aedeba3dda8e1d4b38f34312e3df57dec98746d39d941e8b9c37f0b735 SHA512 49e8e63eef13a42cbb81e3ae752f6b6498c26c98b9c14de3d097d969679ec8e61a562bccf8d42179bb2a69c53efead3d66cae89d2afcbc2ade3fdadd9fb91998 WHIRLPOOL e3e3366e68845ec2cb9c93228d7864c307ef146b170ef2a005291232300f247da8d4a5c63a8be30ed732e550667ec3da1ff9b2e2a529ae9918c6a45938cb9457
+MISC ChangeLog 2436 SHA256 4994dcb4ab59e2193b6c849a06ac88b9f92aa1f6b23db961a018965663b4b515 SHA512 af087c57c05bb35cb101d50f7c2c958564a3fa96b88e273cad914aba9bf75b089c31dfbb5f393dba9c02b03880bb934fd2ecc9f1423bc3adf6c3353516e00450 WHIRLPOOL c2e04257c1b46f8888b11fc34756092b4a9a882ed09293647e5da6d534d664edb9b285d5d88d2d924e1a89d868987b0e0cd0881f5f10cda02d26ff43779c7f11
+MISC ChangeLog-2015 2962 SHA256 2a56d09ac6228fdd010fee471eaf640e9e59a088a288463e10c1fc63536072c8 SHA512 45608e775bda7bde5dc04e611de1c6cff1e3179337bdc6d4cf6d55ac189f5f3d31c4101ce9af3822dc0dd125dd4f8a6ca7dcbc16a42a982cf33eb597734798a9 WHIRLPOOL fd3ca21d04e287aa26a989522e1215897d71894dc71fa08a2bceeade8c3fae9c2f72b193839c0d7b9eef9a908d39f6f115cd08a75d6dd826c5e1ccc9c6fde048
+MISC metadata.xml 261 SHA256 fb9f18027aca4a5ba2a667473e25e22b0f997c3e06c6c52fc5fe288a68c7f9a4 SHA512 714bffc43ca20bdd43a5039acceab4c92e78861b8f75e7eda27c7940fa527716a6f4a8373d610976c5b20b55f0ff08280fb2571274d0716e7e4a097e076a3df3 WHIRLPOOL e45e618a3fbc000232b38d88d7f849de1d890aa44d93ba812b6857146b42cbeee3e4427694e34ef83d4cb768740ec43c9950bda6b91b7520e846486118466ff7
diff --git a/app-misc/supercat/metadata.xml b/app-misc/supercat/metadata.xml
new file mode 100644
index 000000000000..5ba39f7258f4
--- /dev/null
+++ b/app-misc/supercat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/supercat/supercat-0.5.5-r1.ebuild b/app-misc/supercat/supercat-0.5.5-r1.ebuild
new file mode 100644
index 000000000000..7349812fd696
--- /dev/null
+++ b/app-misc/supercat/supercat-0.5.5-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+DESCRIPTION="A text file colorizer using powerful regular expressions"
+HOMEPAGE="http://supercat.nosredna.net"
+SRC_URI="http://supercat.nosredna.net/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+src_configure() {
+ econf --with-system-directory="${EPREFIX}/etc/supercat"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed!"
+
+ dodoc ChangeLog || die
+}
diff --git a/app-misc/symlinks/Manifest b/app-misc/symlinks/Manifest
new file mode 100644
index 000000000000..c96c99b2773d
--- /dev/null
+++ b/app-misc/symlinks/Manifest
@@ -0,0 +1,7 @@
+DIST symlinks-1.4.tar.gz 4942 SHA256 b0bb689dd0a2c46d9a7dd111b053707aba7b9cf29c4f0bad32984b14bdbe0399 SHA512 d1efb1ca553cc9eb95f1d113e453acd22c9f0964eacec985c85c125de23ae9d636b9ced182c2673f455e5d897ad15a978a424170fce767ccc492443eac7f972f WHIRLPOOL 4161680c79b58aac890fbc60e48e1659b253a88c67ea8684fd3d2efc216d20c74b0bfb770a1c74cab49a3e9753be484f350f9726acfdcafcd76260f579348da8
+EBUILD symlinks-1.4-r2.ebuild 828 SHA256 2c192e55af3fa9daf41e1635624800610f7b1527e22741bb063f182f3d584a62 SHA512 400667af4a251dffe8be16979423ebc23e222a9d98b55ae86bb6b76e34a12237d83d86faec195606cc0f7f9cdaa46790665cea9fe97591edf5abfe4f727fc725 WHIRLPOOL 34615b2298a6033a82325fa593f3b0c750a5bc270c5e0090329e3f24aa0eaae2187cdd02daecb27e75d3e5eb2f18864bcfec9772359be5df866498ad03edaa0f
+EBUILD symlinks-1.4-r3.ebuild 838 SHA256 2c3817f2c8ba7d978aa9c7241aa57963134372d69ddc1023359f4537e79e212b SHA512 d0415832d55ac358eb804c6dad925075f294663454da30faccfbc1a0aa2772a3a6e474f756df3edb58ce7292e4bd68e9adc7af979ad6163373a30af0061a152a WHIRLPOOL c81be9ca6b9fc8106544efc3c89dfaa16167faffad30e8b2d920a563ceeca519c25de03b902dd6c827dd5da971050434d09b106bd1c5f419d11ab2aafb16b3d2
+EBUILD symlinks-1.4.ebuild 756 SHA256 6f3b2169fa5b50fc6b30fbed7c322091a6074f7905e90be0ad6b6d160559e8e5 SHA512 b56ba3fd70829262894a9e809d75f27049ede6a15270b73d3cb4dab0b69a75ae1da27be7941e0bc28ffe6205657b6a88417a67ba1d7841cfd07276c332108263 WHIRLPOOL 8699f5894256fdc4c485aa51d6b9478df51f5daf68879088899572c85b52ba8f1f155570cd88cd07c508cff4e6d57ee633a04c9fedb9f93babc1255ef5b40ee9
+MISC ChangeLog 2724 SHA256 b8b11b9379a5b2f60c4ae79c4a04a4abc69ecdd4e71981bd7efe63c92cd495f7 SHA512 8d1caae2aa86d282b0cb0e3f013f6e4ebd019026a6a35711e71f3995c3b6b873fd79c23ef9d2ef30bc2bbf30c2a7e1a4d438a6704d46ae7ec99c83ccff7086d9 WHIRLPOOL 0fe08dce6a6d81b18f17d600937ece6665122f7c2fca99a43b30c23e277640ea460ff86b95fde169051085259564a9c7f1a3167e35919a029c2b9bbdab42825c
+MISC ChangeLog-2015 4321 SHA256 ffddc024216c8874f38c040e8b725b3bb0f02c691aac372d1adb26620044cadf SHA512 f2d4b5f2e1ac50e69ae986ca33e523e9d6137d3cc92a103e3711be862d767b1d357cc1c96ba1acb4a0747845bb68cd86717105555726359a80c7634f68f4fbc3 WHIRLPOOL c05c161d5a32570c7e755be4c1f137527a51d2a0b8a4f6e615fbd28c820e165142fda173365ed1ce562353b1bc6a88cf08da152f766af196682230689ba21cf4
+MISC metadata.xml 631 SHA256 7b4b801ad19ac13728a648dbd61d16d58645bdc355160efb12a7fe19191c1469 SHA512 69594f3511101cf9f9b3d172b0767a3b6de62a22157517ee8d55fd6dec41ff942c54563058eb0a3fd49f024ae331b143e177c026ab778dbc86f7081b6ab3051d WHIRLPOOL 858e67730051003953e8a0ef72d1d82e85e8777d16bbed167888230ac51f5b70e6b55c7836690bea7fbbdae5166d8b79dc41fb778649a601c4d09acacab53b29
diff --git a/app-misc/symlinks/metadata.xml b/app-misc/symlinks/metadata.xml
new file mode 100644
index 000000000000..7cb1facbb28b
--- /dev/null
+++ b/app-misc/symlinks/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Symlinks scans directories for symbolic links and lists them on stdout.
+ Each link is prefixed with a classification of relative, absolute,
+ dangling, messy, lengthy or other_fs. Symlinks can also convert
+ absolute links (within the same filesystem) to relative links and can
+ delete messy and dangling links.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/symlinks/symlinks-1.4-r2.ebuild b/app-misc/symlinks/symlinks-1.4-r2.ebuild
new file mode 100644
index 000000000000..09abea25c0d3
--- /dev/null
+++ b/app-misc/symlinks/symlinks-1.4-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit flag-o-matic eutils toolchain-funcs
+
+DESCRIPTION="Scans for and fixes broken or messy symlinks"
+HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/"
+SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz"
+
+LICENSE="symlinks"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+src_prepare() {
+ # could be useful if being used to repair
+ # symlinks that are preventing shared libraries from
+ # functioning.
+ use static && append-flags -static
+ append-lfs-flags
+ sed 's:-O2::g' -i Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+ dobin symlinks
+ doman symlinks.8
+ dodoc symlinks.lsm
+}
diff --git a/app-misc/symlinks/symlinks-1.4-r3.ebuild b/app-misc/symlinks/symlinks-1.4-r3.ebuild
new file mode 100644
index 000000000000..16be009b907d
--- /dev/null
+++ b/app-misc/symlinks/symlinks-1.4-r3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic eutils toolchain-funcs
+
+DESCRIPTION="Scans for and fixes broken or messy symlinks"
+HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/"
+SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz"
+
+LICENSE="symlinks"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+DOCS=( symlinks.lsm )
+
+src_prepare() {
+ default
+ # could be useful if being used to repair
+ # symlinks that are preventing shared libraries from
+ # functioning.
+ use static && append-flags -static
+ append-lfs-flags
+ sed 's:-O2::g' -i Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.8"
+}
diff --git a/app-misc/symlinks/symlinks-1.4.ebuild b/app-misc/symlinks/symlinks-1.4.ebuild
new file mode 100644
index 000000000000..19890b510609
--- /dev/null
+++ b/app-misc/symlinks/symlinks-1.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit flag-o-matic eutils toolchain-funcs
+
+DESCRIPTION="Scans for and fixes broken or messy symlinks"
+HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/"
+SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz"
+
+LICENSE="symlinks"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
+IUSE="static"
+
+src_compile() {
+ # could be useful if being used to repair
+ # symlinks that are preventing shared libraries from
+ # functioning.
+ use static && append-flags -static
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS} ${LDFLAGS}" || die
+}
+
+src_install() {
+ dobin symlinks || die
+ doman symlinks.8 || die
+ dodoc symlinks.lsm || die
+}
diff --git a/app-misc/tails-installer/Manifest b/app-misc/tails-installer/Manifest
new file mode 100644
index 000000000000..be781b12720d
--- /dev/null
+++ b/app-misc/tails-installer/Manifest
@@ -0,0 +1,8 @@
+AUX fix-desktop-file.patch 1046 SHA256 2bc2fc8a668789c03ba552418c5319d83e09dbadd0db45a860e9a0cb0d4c481b SHA512 9c51d36b6b97e7fd52aaacc8bae9b6dc16785c249eddc01cfa1ba3bd76b5badfd1b60e53c8735d6d206753e19d7ac48e7405d2bf69300c08391b94a0ca173dc0 WHIRLPOOL 6aaac6b56c77ebdbdfbcf99fcc0a302b30d717ab6ae30de072f98d5f4b5b2b58103440e6a2969c270d7b3eabc9daa92d83be967fd3956f4f7d25667afb81405c
+AUX sgdisk.patch 1138 SHA256 cb5ab1071803d30df4afe1df2e4d853ce202623c07e4797551f1ea7d38e90d9c SHA512 971e9b89acd7d175e7b6e44d3c31f7541721936e5cb7c08ba196b257170e841fb95965bbdfaffb2a9cf49f43e3ab05cde29136376b497ff3ba9741735c1cbc35 WHIRLPOOL d12c56191d9c267b8b3d0695117433f67d69aff5974ff05afe3cce624862023105b86f5448189eed5abc4ee439ba809cd31429a4c7e8defc8e5cacc02c2ae378
+DIST tails-installer-4.4.11.tar.gz 346123 SHA256 a2a1d0d54380156e07a84def509b5b1b9b60835e937d9df0fe0c3ed185622177 SHA512 06d7e21f01841250ada8eca3dcb14078331450b61be4a15923fd0543970b9fb4284aba6cf12729515b2adff9dfa3f8a011e48d97a114356fff1edfd1eb914684 WHIRLPOOL 2fad88bb6d623a9068006c456dcbb601cea852b7f57950f6d3015c5465645d1b7b8adfea5c23377db95f1fb69aec9a83c2f206a53eec619123fd53a960e1e983
+DIST tails-installer-4.4.8.tar.gz 332532 SHA256 09ea129474760bae44f46f208af2348cc65c42524ce62e34f0ac209ce52fe8b1 SHA512 3a15d31d54ae17c12c1ba8346782f26678fbabcdd99582a5b43c75f520001ec01e5cc09b1832d0f7d346852f9eb30114135c92caff8690281469f35f23806a12 WHIRLPOOL b1ff3a988c05e3d1520b7274d8034c508d12aac57f0f470a587ad68f61496d96c65b2c80d2b7efd83831e09274f8de7c9b21f258c1eaaf56f33e845dddf00feb
+EBUILD tails-installer-4.4.11.ebuild 1156 SHA256 1403ad4e782655bac517510f4da8bba1d7b0ecd57c40f6c5569b0f814861d804 SHA512 95c0b153f5127b9e26016ad4e18c441a85a556d46b82383036f2efe00baccbfa3fbb71f5a53896f460ea1c18f9d20b6a0de0933c06651864aaebf397acc55a08 WHIRLPOOL e63818a5e5b269cfc1bed4ee157900b92c033f1520c8b71ba248e5e063b0c029d3434b1180d3e2ad77ca10c3a50e83c189cda26fb465e4cb498f3994f3001cee
+EBUILD tails-installer-4.4.8.ebuild 1158 SHA256 ee472e1dd86f275b26440cb92e17a261dbcb475380103a1bf327c298c6e9fddb SHA512 83ec233a4800d5fb8311649c0673c97bc1f09a338001c82145f74d1e61d92f48c285d1abce01b22bd595d99e3fb18e15f83940d4be596ec424318617b9810616 WHIRLPOOL 1c35b7cd0ab258d051754198fb961ac48512c2442f8b740d23c89fcda8ec6ece0fe525fa58fd48320166e02e876695f552817f6fdf591b33e337016b02a0e674
+MISC ChangeLog 788 SHA256 d4924652d2da11f3a98589d7268c839821f08b8079296e669555091e55d550e0 SHA512 00cb3665166f8c49b6db28d63c99341a2f9c69ea6b7ea665750d80bab4c4036c9864e77aa760b6e1002137002559946d21500e3a68e9d53cfca2fe11c115f52e WHIRLPOOL 6559ab922fbdc5bc52c7d1188006b89c47c89ad6f79455dfce0c5297f9c4711e40d143e897f75951b8c856c4d928bfc9b351d07d4a4a5f160f035a01c3197abc
+MISC metadata.xml 398 SHA256 297e971b867a0310a8ef7abd5f0963529b8af9ea6f54858cc9f49266e88a8b80 SHA512 6871f9133b0f24777a9046d0a5d51f2191a0b36bf1532d6e2d560df1e786940da997ec0cdfe59b45236e5650c907a2e7f1ebc4e7949de3dbea373db60edf3767 WHIRLPOOL ef4c61eccd5f948cbf9fd01bdc23573016d509f4d97c6ab3ef892cd1d32eab993c76b0adc7a6e6d35d0e61a3a6099b76897ee5486894f80cf76d0039b77ad051
diff --git a/app-misc/tails-installer/files/fix-desktop-file.patch b/app-misc/tails-installer/files/fix-desktop-file.patch
new file mode 100644
index 000000000000..ef6b5880d445
--- /dev/null
+++ b/app-misc/tails-installer/files/fix-desktop-file.patch
@@ -0,0 +1,28 @@
+diff --git a/data/tails-installer-launcher.desktop b/data/tails-installer-launcher.desktop
+index b8a3f81..c7c5b2a 100644
+--- a/data/tails-installer-launcher.desktop
++++ b/data/tails-installer-launcher.desktop
+@@ -6,8 +6,8 @@ Name[sv]=Tails installerare
+ Comment=Install, clone, upgrade Tails
+ Comment[fr]=Installer, cloner, mettre à jour Tails
+ Comment[sv]=Installera, klona, uppgradera Tails
+-Icon=tails-installer.svg
++Icon=tails-installer
+ Exec=tails-installer-launcher
+ Terminal=false
+-Categories=System;Tails;
++Categories=System;
+ Keywords=Tails;Install;Upgrade;Update;Copy;Clone;Installer;USB;Installation;Anonymity;Tor;Anonymous;SD;Amnesic;Amnesia;
+diff --git a/data/tails-installer.desktop b/data/tails-installer.desktop
+index 7d7fd2c..a79b57a 100644
+--- a/data/tails-installer.desktop
++++ b/data/tails-installer.desktop
+@@ -2,7 +2,7 @@
+ Type=Application
+ Name=Tails Installer
+ Comment=Write operating system images to a USB device
+-Icon=tails-installer.svg
++Icon=tails-installer
+ Exec=tails-installer
+ Terminal=false
+ Categories=System;
diff --git a/app-misc/tails-installer/files/sgdisk.patch b/app-misc/tails-installer/files/sgdisk.patch
new file mode 100644
index 000000000000..21339b23ae6c
--- /dev/null
+++ b/app-misc/tails-installer/files/sgdisk.patch
@@ -0,0 +1,29 @@
+--- /tails_installer/creator.py
++++ /tails_installer/creator.py
+@@ -220,7 +220,7 @@
+ raise NotImplementedError
+
+ def update_system_partition_properties(self):
+- cmd = ( [ '/sbin/sgdisk' ]
++ cmd = ( [ '/usr/sbin/sgdisk' ]
+ + [ '--typecode=1:%s' % ESP_GUID ]
+ + [ self.drive['parent'] ])
+ self.popen(cmd, shell=False)
+@@ -235,7 +235,7 @@
+ if not device:
+ device = self.drive['device']
+
+- proc = self.popen(['/sbin/sgdisk', '--print', device], shell=False, passive=True)
++ proc = self.popen(['/usr/sbin/sgdisk', '--print', device], shell=False, passive=True)
+ if proc.returncode:
+ return False
+ return True
+@@ -249,7 +249,7 @@
+ # understand... while we want to make it do this reset
+ # precisely to fix that unreadable partition table issue.
+ # Chicken'n'egg, right.
+- self.popen(['/sbin/sgdisk', '--zap-all', device],
++ self.popen(['/usr/sbin/sgdisk', '--zap-all', device],
+ shell=False, passive=True)
+
+ def switch_drive_to_system_partition(self):
diff --git a/app-misc/tails-installer/metadata.xml b/app-misc/tails-installer/metadata.xml
new file mode 100644
index 000000000000..5d675ba1a31b
--- /dev/null
+++ b/app-misc/tails-installer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wizardedit@gentoo.org</email>
+ <name>Austin English</name>
+ </maintainer>
+ <longdescription>
+ Tails Installer is a graphical tool to install or upgrade Tails on a USB stick from an ISO image.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/tails-installer/tails-installer-4.4.11.ebuild b/app-misc/tails-installer/tails-installer-4.4.11.ebuild
new file mode 100644
index 000000000000..19426c959275
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="A graphical tool to install or upgrade Tails on a USB stick from an ISO image"
+HOMEPAGE="https://tails.boum.org http://git.tails.boum.org/liveusb-creator"
+SRC_URI="http://deb.tails.boum.org/pool/main/t/${PN}/${PN}_${PV}+dfsg.orig.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+PATCHES=( ${FILESDIR}/fix-desktop-file.patch ${FILESDIR}/sgdisk.patch )
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="${PYTHON_DEPS}
+ app-arch/p7zip
+ dev-libs/glib:2
+ dev-python/configobj[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/urlgrabber[${PYTHON_USEDEP}]
+ sys-apps/gptfdisk
+ sys-auth/polkit
+ sys-boot/syslinux
+ sys-fs/dosfstools
+ sys-fs/mtools
+ sys-fs/udisks:2[introspection]
+ virtual/cdrtools
+ x11-libs/gtk+:3[introspection]"
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/tails-installer/tails-installer-4.4.8.ebuild b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
new file mode 100644
index 000000000000..2c3bb2dc3688
--- /dev/null
+++ b/app-misc/tails-installer/tails-installer-4.4.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="A graphical tool to install or upgrade Tails on a USB stick from an ISO image"
+HOMEPAGE="https://tails.boum.org http://git.tails.boum.org/liveusb-creator"
+SRC_URI="http://deb.tails.boum.org/pool/main/t/${PN}/${PN}_${PV}+dfsg.orig.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=( ${FILESDIR}/fix-desktop-file.patch ${FILESDIR}/sgdisk.patch )
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/python-distutils-extra[${PYTHON_USEDEP}]"
+RDEPEND="${PYTHON_DEPS}
+ app-arch/p7zip
+ dev-libs/glib:2
+ dev-python/configobj[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/urlgrabber[${PYTHON_USEDEP}]
+ sys-apps/gptfdisk
+ sys-auth/polkit
+ sys-boot/syslinux
+ sys-fs/dosfstools
+ sys-fs/mtools
+ sys-fs/udisks:2[introspection]
+ virtual/cdrtools
+ x11-libs/gtk+:3[introspection]"
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest
new file mode 100644
index 000000000000..9a95bc4728cd
--- /dev/null
+++ b/app-misc/task/Manifest
@@ -0,0 +1,6 @@
+AUX 0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch 660 SHA256 e41cc8b3a147e8edfb1144157b5c81c61bfd59a1002da33b8bbe215f4bd01bbd SHA512 6af9226a73280ca1c5f3f95d11b9c8f10ad4d847df9401643a8294645031cd3141916e4b00a188e25795f4a51f9f55e4caf2ba3280d5c9bd89f44a89411389a5 WHIRLPOOL efa26204c887e98254601595c6aa44de8b5c669112f48cc1ed2b8b5ffbec6f923bf6425a34d70c5fb9025151b9a731a57d823ab74ccf7753a5884505446ac234
+DIST task-2.5.1.tar.gz 903428 SHA256 d87bcee58106eb8a79b850e9abc153d98b79e00d50eade0d63917154984f2a15 SHA512 ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10 WHIRLPOOL e4502a4f545eb5c044943758e3b4710db34c9011ccb58b95e70486c09593620a91cf547100025182867b69c87099cd8614b6bc28e21d5e0c0b88216f6df419ac
+EBUILD task-2.5.1-r1.ebuild 1248 SHA256 7e9b04788e5f4ec1a4f07a3868f7ab96fbac05d8d7ecd09f3e56a50b92627ad3 SHA512 4700eec233900957e0711cf35584827643005b455a3cd54a564079a07ba1fb7f285f7aafc2bc422fa5274d05c36ea94607a6aa98b88d541b359af72fc3ad4332 WHIRLPOOL ebeb4ffded4298293faaf915c12f7d0d00248501ea51421adfec9191dcf7200596395e429e085aae44eb554be9cf713f4acb6ca828e40f57cb3cee8c761ca595
+MISC ChangeLog 2978 SHA256 50700618884435f1d75875ce4e6bf3c44a011ce41a7759f49a12502bd4cbba6e SHA512 4bd6d7a0735f2758698592f21fd9f7cdd8b369d6090be2c2632fc3d784611a6ec6d92bfbda3e72a41ad41883808f64c3af82f0cd12f43ad97c6125e394a92db6 WHIRLPOOL c27d4dc135013a7884dafe8930457deb4488a27f0aa6d69c804dfb70659713b0fb5fd030e3bafceb261c490280ca98a3916fbd6c9c6d1d7460a29debce183518
+MISC ChangeLog-2015 8276 SHA256 880d518a230421258b64fc4ce49e1f22153a979a2ca9f25749a600e4059c3965 SHA512 e4578903eb32c8d9c46933d4725790e7a7b435a1c895bf945ff60debbd8494e71658d09e884666d033b097a8126cf9ada0aa75dc6c32dbe537006bb8ea36da02 WHIRLPOOL dee0c6a02c9ae3617be4640e28c0c608264a7da89aba63b46c456f86f1abdc758ee3e55b81b81bdf145f0e2a36c2b21c81b9f22107bfcd5e5d6559a6c78b3bde
+MISC metadata.xml 315 SHA256 8bc0aadf644f83e2388841e7ad19f30753cddebb0b3a1c9a6aa5b0468f92c0b0 SHA512 509043e7fa47b91c7e0041325e34d2f96cadddae179e0852420f53ce40f2dcf3a6ee959b31de3a1169277dfedea79c27b07aa14ba5daa774b1cdc13b55edf9b5 WHIRLPOOL 842b029ec28a6e18affcf0c055a95d0487c12e5514758823114577d2ac0b1c04b2fdaaaf5b6a7004e398081a6683fe4e10f1fad99f02b8edd7440cee027f03c2
diff --git a/app-misc/task/files/0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch b/app-misc/task/files/0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch
new file mode 100644
index 000000000000..6ff8ac22e21a
--- /dev/null
+++ b/app-misc/task/files/0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch
@@ -0,0 +1,23 @@
+From d025f3deb6349f56a7fc49551e819cfe13f97917 Mon Sep 17 00:00:00 2001
+From: Paul Beckingham <paul@beckingham.net>
+Date: Wed, 31 Aug 2016 17:48:45 -0400
+Subject: [PATCH] TW-1778: Unicode strings are truncated in task description
+
+- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
+---
+diff --git a/src/text.cpp b/src/text.cpp
+index f5e3496b..bc8353f7 100644
+--- a/src/text.cpp
++++ b/src/text.cpp
+@@ -248,7 +248,7 @@ bool extractLine (
+ // Premature EOL.
+ if (character == '\n')
+ {
+- line = text.substr (offset, line_length);
++ line = text.substr (offset, prior_cursor - offset);
+ offset = cursor;
+ return true;
+ }
+--
+2.11.0
+
diff --git a/app-misc/task/metadata.xml b/app-misc/task/metadata.xml
new file mode 100644
index 000000000000..bba57a4435e2
--- /dev/null
+++ b/app-misc/task/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <use>
+ <flag name="sync">Enable "task sync" support</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/task/task-2.5.1-r1.ebuild b/app-misc/task/task-2.5.1-r1.ebuild
new file mode 100644
index 000000000000..c854cd17b94d
--- /dev/null
+++ b/app-misc/task/task-2.5.1-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils bash-completion-r1
+
+DESCRIPTION="Taskwarrior is a command-line todo list manager"
+HOMEPAGE="https://taskwarrior.org/"
+SRC_URI="https://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86 ~x64-macos"
+IUSE="+sync vim-syntax zsh-completion"
+
+DEPEND="sys-libs/readline:0
+ sync? ( net-libs/gnutls:0= )
+ elibc_glibc? ( sys-apps/util-linux )"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/0001-TW-1778-Unicode-strings-are-truncated-in-task-descri.patch )
+
+src_prepare() {
+ default
+
+ # don't automatically install scripts
+ sed -i '/scripts/d' CMakeLists.txt || die
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DENABLE_SYNC=$(usex sync)
+ -DTASK_DOCDIR=share/doc/${PF}
+ -DTASK_RCDIR=share/${PN}/rc
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ newbashcomp scripts/bash/task.sh task
+
+ if use vim-syntax; then
+ rm scripts/vim/README || die
+ insinto /usr/share/vim/vimfiles
+ doins -r scripts/vim/*
+ fi
+
+ if use zsh-completion; then
+ insinto /usr/share/zsh/site-functions
+ doins scripts/zsh/*
+ fi
+
+ exeinto "/usr/share/${PN}/scripts"
+ doexe scripts/add-ons/*
+}
diff --git a/app-misc/taskd/Manifest b/app-misc/taskd/Manifest
new file mode 100644
index 000000000000..47639a5fd9b8
--- /dev/null
+++ b/app-misc/taskd/Manifest
@@ -0,0 +1,8 @@
+AUX config 392 SHA256 7523f304465ac27a13fc7222dbbee99ff2b5c720a95826c2bd4cb77ca883e4ce SHA512 00d21faa5063f7024885c63c455310b8f06738a03ff0b0c348f2b65166e2253d46148ee3faa2cc2269f5dd1178fc9be5f2566cccf9b2c3545ed311dff840b804 WHIRLPOOL 3d656adf6c768433c3155c9f34f44b5ffc364f80ff9bc2082d977b03c1d87a7104f701ab5463205643269180dc7348b4e36f1b4adeb7cdc56b3cd822250a1f17
+AUX taskd.confd 27 SHA256 33950500b2d04cfa94260f42dbedc2eb7ec389d2070adac6db43cc33569f20a6 SHA512 e05ff87aae4eb81d7d8c69396653abeef4d35be6804c7547440888078b33b77ed00371c10429453d59bf1583fb53e42e8f7b4120bac84aa9a29b046190aae44d WHIRLPOOL 9b1f12ca775be7dd068fba9644e046cb30ee0c804750fd25941a42673894e9a9c96c6457912802a7adb6c4c5a31235c6527b054651404cddef6b8ac355a1135a
+AUX taskd.initd 397 SHA256 719b7e297cfcf015466841a5072387d89e6bcadb35cb28e6d6fcac9244e67b42 SHA512 92663323b44d5cb36d86ab2b33c761214926c24d5ba3e84c4495e3e6158e1ff4fe603c2f7e79070c02e88ba90904f9b701bc75feedd2a9ce5f1b9982192e1d3f WHIRLPOOL d20566b53ca5b8e70a91f0898e5419840b8f35a96d4cb5617cf42fc0c1ab32c0e8260f1c1c94845229ce0967a6b5291913fa5708d39a79e81d188620c6268964
+AUX taskd.logrotate 114 SHA256 d8b149b0055b09283adc1a10c16f184b4ae353e9d596db0192fbf2910d7a450a SHA512 4d8c3c12dc203cc6c9f27ad6882934a2786504a5b6ef7dfedd43deb61faaa4ceff452adfc93e2ed0074dd2545a90867c2ff85bca73adf9d1c858adfc76649fc4 WHIRLPOOL 03e407535d0d53a6ea34ce8d5aca19f05ac57d10655a081be0c906b3642eaabc2735a15a6ff94bb4039c7f7f4c1d891e8cea1f30e1f19be71e2daecc1a6ba156
+DIST taskd-1.1.0.tar.gz 120115 SHA256 7b8488e687971ae56729ff4e2e5209ff8806cf8cd57718bfd7e521be130621b4 SHA512 df2349c354258fd1b014b1a9c78f68dc10c9e5a48357e282e8a760cf4e4aaf4d36486796ad094ee2b050e7506195b778e3316c90ef543a2f8242de313daa13aa WHIRLPOOL f3247de0ab1ecfed48e6c4e2f2391d370e77b6fb17a4aee5b0824efb1c0e70b725a6d9a544ffb9611d2dcba9956ec0443b0161ca8310f56a41cdd89b99335591
+EBUILD taskd-1.1.0-r1.ebuild 1867 SHA256 c1dd2a955f2337464ea2931a25ca149689456cae8eb3e2184d6013182829fbc8 SHA512 6a0a307c4401622b8c65e13a0a243e8d1d4e302afc70851d6040529f9ac21ef841897501321d989a8b93441dcbf08a56121fb11c14dab0ead0759220ffcf332a WHIRLPOOL c86ea2e4170f6b275948afa085e01a31c8fa6cd6d8b6dd31efd2976ad81860702c7666b5986fcbea683900c5d9fb13ade4cb92dda8b3b76917b5efe3cd212af6
+MISC ChangeLog 1174 SHA256 76f4df46c051e1168b95c17ee7d32e3fb5b0bb664f11e5f0faed1273d36a0971 SHA512 805efe4158590b7ccbd68ec22dc1d55d646897331260a44514fd624525d7e0492e6d838b9a8f92d0761cf0924b3498b6f2ae6bebba655e24349e50ab023bb496 WHIRLPOOL 985f17d54d1929891e694e4bafd7f5146044e8bcc58db053d0cbae9176c6b32974a0aebc58f484c7a2f46ca6b4a945f082dbc10d4d6aa230c7063c884e85b413
+MISC metadata.xml 246 SHA256 8c6ebbba986310a482981d0b04b95c563bbd468d48a3a78f3a781c42df768685 SHA512 cf3bffaa344cc0785ce4b3a18c5cef7b508e943de589d67485df46802f0c9c1b9bd6d51b7197fc84431180f82b8affae22175ae0bfe7616b57f6874a861f6698 WHIRLPOOL c6b19f5fb30c47dec1cb760524bad2e1ce067dbe71ec345709953c2d448df685845c0c8194986db459dcf0e4efd1722bcb9b80ab5a78a934d11cf2a9ccbbed0c
diff --git a/app-misc/taskd/files/config b/app-misc/taskd/files/config
new file mode 100644
index 000000000000..51a8cddf7992
--- /dev/null
+++ b/app-misc/taskd/files/config
@@ -0,0 +1,17 @@
+confirmation=1
+extensions=/usr/libexec/taskd
+ip.log=on
+log=/var/log/taskd/taskd.log
+pid.file=/run/taskd.pid
+queue.size=10
+request.limit=1048576
+root=/var/lib/taskd
+server=localhost:53589
+trust=strict
+verbose=1
+# TLS config:
+#ciphers=
+#ca.cert=/etc/taskd/tls/ca.pem
+#server.cert=/etc/taskd/tls/server.crt.pem
+#server.crl=/etc/taskd/tls/server.crl.pem
+#server.key=/etc/taskd/tls/server.key.pem
diff --git a/app-misc/taskd/files/taskd.confd b/app-misc/taskd/files/taskd.confd
new file mode 100644
index 000000000000..aadbc6e8f741
--- /dev/null
+++ b/app-misc/taskd/files/taskd.confd
@@ -0,0 +1 @@
+TASKDDATA="/var/lib/taskd"
diff --git a/app-misc/taskd/files/taskd.initd b/app-misc/taskd/files/taskd.initd
new file mode 100644
index 000000000000..504ad104cb29
--- /dev/null
+++ b/app-misc/taskd/files/taskd.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+need="net localmount"
+command="/usr/bin/taskd"
+command_args="server --data ${TASKDDATA:-/var/lib/taskd}"
+pidfile="/run/taskd.pid"
+start_stop_daemon_args="--user taskd:taskd"
+command_background=1
+extra_started_commands="reload"
+
+reload() {
+ kill -HUP "$(cat $pidfile)"
+}
diff --git a/app-misc/taskd/files/taskd.logrotate b/app-misc/taskd/files/taskd.logrotate
new file mode 100644
index 000000000000..cfce919c114d
--- /dev/null
+++ b/app-misc/taskd/files/taskd.logrotate
@@ -0,0 +1,8 @@
+/var/log/taskd/taskd.log {
+ daily
+ missingok
+ rotate 7
+ compress
+ delaycompress
+ copytruncate
+}
diff --git a/app-misc/taskd/metadata.xml b/app-misc/taskd/metadata.xml
new file mode 100644
index 000000000000..2c0b1557c797
--- /dev/null
+++ b/app-misc/taskd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>mschiff@gentoo.org</email>
+ <name>Marc Schiffbauer</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/taskd/taskd-1.1.0-r1.ebuild b/app-misc/taskd/taskd-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..fbf8edd6dd4d
--- /dev/null
+++ b/app-misc/taskd/taskd-1.1.0-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils cmake-utils systemd user
+
+DESCRIPTION="the server part of Taskwarrior, a command-line todo list manager"
+HOMEPAGE="https://taskwarrior.org/"
+SRC_URI="https://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/readline:0
+ net-libs/gnutls
+ sys-apps/util-linux"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DTASKD_DOCDIR=share/doc/${PF}
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ systemd_dounit "${S}"/scripts/systemd/taskd.service
+
+ insinto /usr/share/${PN}/pki
+ doins pki/*
+
+ insinto /usr/share/${PN}/mon
+ doins mon/*
+
+ newinitd "${FILESDIR}"/taskd.initd taskd
+ newconfd "${FILESDIR}"/taskd.confd taskd
+
+ grep ^TASKDDATA= "${FILESDIR}"/taskd.confd > 90taskd
+ doenvd 90taskd
+
+ dodir /etc/taskd
+ keepdir /usr/libexec/taskd
+
+ diropts -m 0750
+ dodir /var/lib/taskd
+ keepdir /var/log/taskd
+
+ diropts -m 0700
+ keepdir /var/lib/taskd/orgs /etc/taskd/tls
+
+ insopts -m0600
+ insinto /etc/taskd
+ doins "${FILESDIR}"/config
+
+ dosym ../../../etc/taskd/config /var/lib/taskd/config
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/taskd.logrotate taskd
+}
+
+pkg_setup() {
+ enewgroup taskd
+ enewuser taskd -1 /bin/bash /var/lib/taskd taskd
+}
+
+pkg_postinst() {
+ chown taskd:taskd /var/lib/taskd{,/orgs} /var/log/taskd /etc/taskd/{config,tls}
+
+ einfo ""
+ einfo "For configuration see 'man taskdrc' and edit /etc/taskd/config"
+ einfo "You will need to configure certificates first in order to use taskd"
+ einfo ""
+ ewarn ""
+ ewarn "Do not use 'taskd init' as this will replace the config file and set"
+ ewarn "default but unsuitable paths"
+ ewarn ""
+ ewarn "In order to manage taskd via 'taskd' either relogin or run 'source /etc/profile'"
+ ewarn ""
+}
diff --git a/app-misc/tasque/Manifest b/app-misc/tasque/Manifest
new file mode 100644
index 000000000000..0ae62d7159d5
--- /dev/null
+++ b/app-misc/tasque/Manifest
@@ -0,0 +1,5 @@
+DIST tasque-0.1.12.tar.xz 461576 SHA256 db4d4a822cfa87ce8cf311189e17fa8fbda37e7c943874b6bf62c6a84b2d824d SHA512 441aa1a13d260e59ef07bb75a0b38b43cbcc30737589922ba4e697220fdd0a9bfe9af8c1c2484b6c0d68a4f33cb0f895822cb04e90d6782db66c0f80de50078b WHIRLPOOL 4ea0288712f596b720f38e5b0f20c4e1c43ab6b7cee206b814b2e272fcdd33ddcaf93b4aaafdef82e3fe2e1371176b7599161e1d32a262a4f92ef057bf14b2a3
+EBUILD tasque-0.1.12.ebuild 1310 SHA256 39fa6cc68201c31e6b07458fbd71dd9b26e83028f3b1fdf7e6f59a498e7b47c5 SHA512 376bef11d04288133d66bacf54c0729a94512e993a2fbd89209682eed9087532c210c700a294f2bac64e1a8adbade6c4d28e75de2eecf7aa1e3ecdb8fb63ce42 WHIRLPOOL 2213b540f13f289015bbd73e01775f36d82372da1f28eab04b128ddfa2275ef4c391abe6bdcaa1e7481d2c3efa5fb5411ba0fa51a3805e8960e25b12e6b5cef6
+MISC ChangeLog 3554 SHA256 7923c63a3fb48a629ef36e124cc57ef3dac1bf5cb473565c618b3b6e12426146 SHA512 a2d11a7916140bd6dfd2d76b5d4e47f71f02a3a94fd0d2994cd985ec770533066aa818b14b49d0e16262f0503d200f63db866345348193245fa51a572bb0aebf WHIRLPOOL 7e372a9682f9c5bb6e04ae3099ad88cdc8fcb3064edf580eae488afdead83b9fec5cb0ebc5b13ab4a2dff8f41f70da902a838dd00f997d0dcdc4abb519c98e3a
+MISC ChangeLog-2015 1904 SHA256 3f44922029275c99300913856fd4a31a9887a38ef8aef0b6020cc7af61ee334f SHA512 265d35c9daac3e7ca30fa67be6f7449b9085ed33b56fbe8382bf9f3296155e5ebc9d3f4c6551811382ee8de7c6a9f2f30d5b3eee0eda17eaff42c7a02eec73b9 WHIRLPOOL d2058eca6db8a9ec07c021831b6fdd2a682e53fe83c05774b98531615e689e29bcb72947bca95977733f5bea28c3a06f35860bc865e98eb135acb6c2672ac536
+MISC metadata.xml 500 SHA256 a677f47ca5e615e27904b1ad3ce8636f37874fa3a594e89303be44ebeebeaaac SHA512 a3974aeaef52942ec8e4f450c80ef5553921b458c2b2caccec60f08a34ac9efc37779a42d90212b643a86c551329696076f1925b8d33cbe6d2dfe1f859424e94 WHIRLPOOL cf855e25af202ac9b6852e33c2d5552fa397fb4d0490492badf556c9c2a7711af1c7b4afc860b88ae70c81df87ed56068664bc9c3d800062ae193db23dbaeaad
diff --git a/app-misc/tasque/metadata.xml b/app-misc/tasque/metadata.xml
new file mode 100644
index 000000000000..2989d5474d21
--- /dev/null
+++ b/app-misc/tasque/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dotnet@gentoo.org</email>
+ <name>Gentoo Dotnet Project</name>
+ </maintainer>
+ <use>
+ <flag name="rememberthemilk">
+ Allows you to use http://www.rememberthemilk.com/ as your storage backend.
+ </flag>
+ <flag name="hiveminder">
+ Allows you to use http://www.hiveminder.com/ as your storage backend.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/tasque/tasque-0.1.12.ebuild b/app-misc/tasque/tasque-0.1.12.ebuild
new file mode 100644
index 000000000000..c5096c46bd11
--- /dev/null
+++ b/app-misc/tasque/tasque-0.1.12.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils gnome.org mono
+
+DESCRIPTION="Simple task management app (TODO list) for the Linux Desktop"
+HOMEPAGE="https://live.gnome.org/Tasque"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+rememberthemilk +sqlite hiveminder debug"
+
+LANGS="ca ca@valencia cs da de el en_GB eo es et fi fr gl hu id it ja lv nb nds nl pl
+ pt pt_BR ro ru sl sr sr@latin sv th tr zh_CN zh_TW"
+
+for lang in ${LANGS}; do
+ IUSE+=" linguas_${lang}"
+done
+
+REQUIRED_USE="|| ( rememberthemilk sqlite hiveminder )"
+
+RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5
+ >=dev-dotnet/notify-sharp-0.4.0_pre20080912
+ dev-dotnet/dbus-sharp:1.0
+ dev-dotnet/dbus-sharp-glib:1.0
+ sqlite? ( dev-db/sqlite:3 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf --disable-backend-icecore \
+ --disable-backend-eds \
+ --disable-appindicator \
+ --enable-backend-rtm \
+ $(use_enable sqlite backend-sqlite) \
+ $(use_enable hiveminder backend-hiveminder) \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+ mv_command="cp -pPR" mono_multilib_comply
+ einfo "Cleaning up locales..."
+ for lang in ${LANGS}; do
+ use "linguas_${lang}" && {
+ einfo "- keeping ${lang}"
+ continue
+ }
+ rm -Rf "${D}"/usr/share/locale/"${lang}" || die
+ done
+}
diff --git a/app-misc/tdfsb/Manifest b/app-misc/tdfsb/Manifest
new file mode 100644
index 000000000000..e0f2cbcaae4f
--- /dev/null
+++ b/app-misc/tdfsb/Manifest
@@ -0,0 +1,9 @@
+AUX tdfsb-0.0.10-asneeded.patch 2009 SHA256 f691a9cec718fe03336d1faef4c17e84ea07174a57b7944ce14e15e9c5d559b9 SHA512 cc6daffb087df7cd75986de69240e19a762db8a8c42621d1b8b5fe869bdabe676e3748b2387212362eb2854d7f7dd74bd085671372d453eecaa8cd38f91962d0 WHIRLPOOL 6e479b7b03bfeb0012368658200bc076c1648fa21e2ec94dcb12cca4b03871f3f238d9b33cd043475ad99b1b0aeef92fe4deb239bd4bb3a8d19cd2a9a604cd2f
+AUX tdfsb-0.0.10-debugging.patch 2106 SHA256 c851aca220dbbdf2805ec1f1660a59fe9ff2eeb4ce0d7148654d1d034b365cbd SHA512 eda59ad82597f819ea6458c096dfdb2c27ae35be99961cd72135f98f189ee428aa5f198bc4098350cbd0690852f8693003a074fe73e904f16827be4b2ebe931a WHIRLPOOL 21d2024d82a99897e31f97fa0a087d0fdc88494e023bb4ffee797e963e33e46d2650390890a489c882eb5cb0d1ddc9587e3af574896bff4f6b42df8d035f8bf6
+AUX tdfsb-0.0.10-format-security.patch 1398 SHA256 6541f2c7459df7a44ef881b785adc3fa7469714c2c3684ad6bef84b55b9c66d7 SHA512 17543c4edcc09adc21a1dd8787eef2c7e57803d2ea490e4d0f259275e40d8619009ca1f5bd22970d1461078f998d3334ce5af9667f00c31b40a7c41841b151ca WHIRLPOOL 5d10e905108dcfedb7f4ad1ea41da43f2ef20a98fd58caed5f7d06969a9399930c9351f3fba3b551241f46eafdc904faa645861c826a667cc5f2f9f94abe5dbf
+DIST tdfsb-0.0.10.tar.gz 35630 SHA256 91283a0863f7c38028346ab4edfd180d0ce6cee3f1a7c44bf3c181a74063f4c3 SHA512 4bfde530761bbc8373f2a9cc8bc5a4ea721ac564e7440d67ebf0c8b019c553b2e1288db86e54aaf111253decdbd4df93ea812fd5a70fd95acf11ff702387a7eb WHIRLPOOL 4058bbe99eb6d6e0bfba5d36e062c2e802285e0e99c5ee622f767fb898c82ca6f3e40d96107b9417013aca8a63158cccabdee4e120cc78f0c304c56074263969
+EBUILD tdfsb-0.0.10-r1.ebuild 918 SHA256 e1f637c39e9c9d10ac5095ef4dc2eb254584942fd45f95a9b4c9cacb37b0ea3c SHA512 c9a99f41a80812b2c5336753b6a87f94113509759d767a3d7adc183160ce2b95144f74f35b640b5395afd814ef82c55e0c0400cbf8a1a999a3b024c8a77ebd18 WHIRLPOOL 368a1ef64340ddde1f559238289ef8c909c569e66760f6659d190f140e4f050c6e60e9c368811fd0edea7a89fe0ab33514ce72a780e8fb3c4b49b505a9d60dd6
+EBUILD tdfsb-0.0.10.ebuild 869 SHA256 8440c7e7bf1b396e666ff5f382cd6c85ae3aef66e70c00c694a0626eeedb4e67 SHA512 55c1b31d3fb421f2f5ddf6655a209eaa37bb5b201c3190bf4cbf7021d15891c8e3e32d14cf4e3d1c618092dcdce586c398abaa2a159cebb7a88ca1f5b9064da1 WHIRLPOOL b5183d4ef733d89ff26976f1346886f60720d29c9160bfec7cb9ba1925d9cc807d40f112f4b297f65e11e091d8db033c290fa167ba7fa390a6bbcd5e05079a8e
+MISC ChangeLog 2669 SHA256 6b636d52fcb896311a6902d87aa7a01b4762c1bd0ce63c91597c1538b3896869 SHA512 ab0a412af998aaba99034387bc784a22c14dae32b613bac648b7a59faf9eb6f310696232f98087b534a7903dabd8301069ab3121a725ea56a783a0f0e98ff223 WHIRLPOOL d62314384b031aa2c19f3075f2635fa58ab01699ca03863377632723af76bdbacf1facd3e25683b6ef86bd6632f263cc91c93a7e25a49a7ce81ca31a7ac639b0
+MISC ChangeLog-2015 3031 SHA256 a13407197a608dae6e02f906329e976fb3c5f2bc9ef6db846091c909e52b58e8 SHA512 8da39ea5d0f137176ca1706a210d2e449b94d063bad8ec644ac2712b50cf3ba6d6ebf2df09fd05e1b124bc43556a988f2fd5f1d2dcc60ab490d9c8dff863383d WHIRLPOOL 3d1838b7ec5505233349f54236a6e0e7c48ddee3a09766799a9bd63ab2e232bc6fb5a5714d953a4793a8b6feeb16b0fe1c12ddd0bbbf1e173c20d12165759244
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/app-misc/tdfsb/files/tdfsb-0.0.10-asneeded.patch b/app-misc/tdfsb/files/tdfsb-0.0.10-asneeded.patch
new file mode 100644
index 000000000000..c84cc4d5f17d
--- /dev/null
+++ b/app-misc/tdfsb/files/tdfsb-0.0.10-asneeded.patch
@@ -0,0 +1,23 @@
+diff --git a/compile.sh b/compile.sh
+index fcd6583..2480364 100755
+--- a/compile.sh
++++ b/compile.sh
+@@ -26,15 +26,15 @@ ARGS2=$($SDL_CONFIG --cflags);
+ if uname -s | grep -i -c "LINUX" > /dev/null; then
+ echo "GNU/Linux detected.";
+ echo "compiling...";
+- gcc $ARGS1 $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c;
++ gcc $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg;
+ elif uname -s | grep -i -c "BEOS" > /dev/null; then
+ echo "BeOS detected.";
+ echo "compiling...";
+- gcc $ARGS1 $ARGS2 -I/boot/develop/tools/gnupro/include/ -I/boot/develop/headers/be/opengl/ -L/boot/home/config/lib -L/boot/develop/tools/gnupro/lib/ -lSDL_image -lGL -lglut -lsmpeg -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c;
++ gcc $ARGS2 -I/boot/develop/tools/gnupro/include/ -I/boot/develop/headers/be/opengl/ -L/boot/home/config/lib -L/boot/develop/tools/gnupro/lib/ -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lglut -lsmpeg;
+ elif uname -s | grep -i -c "BSD" > /dev/null; then
+ echo "BSD detected.";
+ echo "compiling...";
+- gcc $ARGS1 $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c;
++ gcc $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg;
+ else
+ echo "Unknown OS. If you are running Linux, BeOS or";
+ echo "FreeBSD please send me the output of 'uname -s'."
diff --git a/app-misc/tdfsb/files/tdfsb-0.0.10-debugging.patch b/app-misc/tdfsb/files/tdfsb-0.0.10-debugging.patch
new file mode 100644
index 000000000000..e7f24d89ebf4
--- /dev/null
+++ b/app-misc/tdfsb/files/tdfsb-0.0.10-debugging.patch
@@ -0,0 +1,28 @@
+diff --git a/compile.sh b/compile.sh
+index 2480364..96e9bd2 100755
+--- a/compile.sh
++++ b/compile.sh
+@@ -23,18 +23,20 @@ echo "Using $SDL_CONFIG.";
+ ARGS1=$($SDL_CONFIG --libs);
+ ARGS2=$($SDL_CONFIG --cflags);
+
++set -x
++
+ if uname -s | grep -i -c "LINUX" > /dev/null; then
+ echo "GNU/Linux detected.";
+ echo "compiling...";
+- gcc $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg;
++ gcc $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg || exit 1
+ elif uname -s | grep -i -c "BEOS" > /dev/null; then
+ echo "BeOS detected.";
+ echo "compiling...";
+- gcc $ARGS2 -I/boot/develop/tools/gnupro/include/ -I/boot/develop/headers/be/opengl/ -L/boot/home/config/lib -L/boot/develop/tools/gnupro/lib/ -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lglut -lsmpeg;
++ gcc $ARGS2 -I/boot/develop/tools/gnupro/include/ -I/boot/develop/headers/be/opengl/ -L/boot/home/config/lib -L/boot/develop/tools/gnupro/lib/ -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lglut -lsmpeg || exit 1
+ elif uname -s | grep -i -c "BSD" > /dev/null; then
+ echo "BSD detected.";
+ echo "compiling...";
+- gcc $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg;
++ gcc $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -D_THREAD_SAFE -O2 -x c -o tdfsb tdfsb.c $ARGS1 -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg || exit 1
+ else
+ echo "Unknown OS. If you are running Linux, BeOS or";
+ echo "FreeBSD please send me the output of 'uname -s'."
diff --git a/app-misc/tdfsb/files/tdfsb-0.0.10-format-security.patch b/app-misc/tdfsb/files/tdfsb-0.0.10-format-security.patch
new file mode 100644
index 000000000000..55fcc1ba1df3
--- /dev/null
+++ b/app-misc/tdfsb/files/tdfsb-0.0.10-format-security.patch
@@ -0,0 +1,26 @@
+diff --git a/tdfsb.c b/tdfsb.c
+index 5f6b233..a1af5a1 100644
+--- a/tdfsb.c
++++ b/tdfsb.c
+@@ -2436,7 +2436,7 @@ int speckey(int key)
+ if(TDFSB_CSE_FLAG)
+ snprintf(TDFSB_CES_TEMP,4096,TDFSB_CUSTOM_EXECUTE_STRING,fullpath);
+ else
+- snprintf(TDFSB_CES_TEMP,4096,TDFSB_CUSTOM_EXECUTE_STRING);
++ snprintf(TDFSB_CES_TEMP,4096,"%s", TDFSB_CUSTOM_EXECUTE_STRING);
+ }
+ system(TDFSB_CES_TEMP);
+ printf("EXECUTE COMMAND: %s\n",TDFSB_CES_TEMP);
+@@ -2732,9 +2732,9 @@ int keyboard (unsigned char key)
+
+ else if (key==TDFSB_KC_HELP)
+ { TDFSB_SHOW_HELP = 1-TDFSB_SHOW_HELP;
+- if (TDFSB_SHOW_HELP) { printf("\n=======================================\n");
+- printf(help_str);
+- printf("=======================================\n\n");
++ if (TDFSB_SHOW_HELP) { printf("%s", "\n=======================================\n");
++ printf("%s", help_str);
++ printf("%s", "=======================================\n\n");
+ }
+ }
+
diff --git a/app-misc/tdfsb/metadata.xml b/app-misc/tdfsb/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/app-misc/tdfsb/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/app-misc/tdfsb/tdfsb-0.0.10-r1.ebuild b/app-misc/tdfsb/tdfsb-0.0.10-r1.ebuild
new file mode 100644
index 000000000000..81f870eea5c3
--- /dev/null
+++ b/app-misc/tdfsb/tdfsb-0.0.10-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="SDL based graphical file browser"
+HOMEPAGE="http://www.determinate.net/webdata/seg/tdfsb.html"
+SRC_URI="http://www.determinate.net/webdata/data/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="media-libs/freeglut
+ media-libs/sdl-image
+ media-libs/smpeg
+ virtual/glu
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch \
+ "${FILESDIR}"/${P}-debugging.patch \
+ "${FILESDIR}"/${P}-format-security.patch
+
+ sed -i -e "s:-O2:${CFLAGS} ${LDFLAGS}:" \
+ -e "s:gcc:$(tc-getCC):" "${S}"/compile.sh || die
+}
+
+src_compile() {
+ ./compile.sh || die "compile failed"
+}
+
+src_install() {
+ dobin tdfsb
+ dodoc ChangeLog README
+}
diff --git a/app-misc/tdfsb/tdfsb-0.0.10.ebuild b/app-misc/tdfsb/tdfsb-0.0.10.ebuild
new file mode 100644
index 000000000000..235f23ad33de
--- /dev/null
+++ b/app-misc/tdfsb/tdfsb-0.0.10.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="SDL based graphical file browser"
+HOMEPAGE="http://www.determinate.net/webdata/seg/tdfsb.html"
+SRC_URI="http://www.determinate.net/webdata/data/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 ppc -sparc x86"
+IUSE=""
+
+DEPEND="media-libs/smpeg
+ media-libs/sdl-image
+ media-libs/freeglut
+ virtual/glu
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXmu"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch \
+ "${FILESDIR}"/${P}-debugging.patch
+
+ sed -i -e "s:-O2:${CFLAGS} ${LDFLAGS}:" \
+ -e "s:gcc:$(tc-getCC):" "${S}"/compile.sh || die
+}
+
+src_compile() {
+ ./compile.sh || die "compile failed"
+}
+
+src_install() {
+ dobin tdfsb
+ dodoc ChangeLog README
+}
diff --git a/app-misc/tdl/Manifest b/app-misc/tdl/Manifest
new file mode 100644
index 000000000000..d383cf7fee27
--- /dev/null
+++ b/app-misc/tdl/Manifest
@@ -0,0 +1,10 @@
+AUX 1.5.2-ldflags.patch 350 SHA256 d4924e725a5595342ca530dc5988e3b8ac47a02c1928cf631d9b2c95dc6c9088 SHA512 a3bb6f75a56d350755edf4cbb7a36fbe3da2e87fb8744a5597f9909cfe9e03b9ea4a50d70d9ca0cb2c480c11597701fbf9866d5eb7e726617005679c41ec5e9d WHIRLPOOL 06e98a63fde429f0918bf898432ce84d1a06c190a8ea1360dff81c4813a190053702c143a75e40599c833662cf0970f678a83b6b6a788f51732e0827f1de9200
+AUX tdl-1.5.2-list.c.patch 1272 SHA256 7c79e4e84b1b35932d78a2dca1aa2f52e07e95f6398fa558d76f6fc992e4cba5 SHA512 a66d0728f06d386827dd1232e3c290c9e749689cb368b9240638cde86c5ef1ae5e9ce5923a6b7dbba5e04c30ded2174c1c16e24ca6a943754cd178098a732400 WHIRLPOOL aca725d5be23d47643932656fb0c395e51bcbb8feb1659e3e70ecb2d940939ad77342d1c71586fd4a99322c3823b5939a12910291c1222ef8f6927fb7336d290
+AUX tdl-1.5.2-main.c.patch 4967 SHA256 5f34ae0e08ce4fce8af4715bb87d69d5e52cddf49a608d2946e36eac3241f8e0 SHA512 b7036f2b4292263fcde59c6cb46a869dec92fe314f4d3a5d4f2f5411adb945ec5493e82a142372bca933d67c423c4deff333b297a1dc2481d993de1789faaeb2 WHIRLPOOL 05e03abe6ef75c5c4196275c02c35b9d37935ae43b54be6e3d6f5ab3f37207918bef6ca3dd9f658ab9f0f5bdfd460a302b4e8e4850589e11482d5274f4eb6c27
+AUX tdl-1.5.2-man.patch 11004 SHA256 bcb1f313dc7976f4a539b6a04c649e6b507f3a7437f43212bdcd0e3519b01a23 SHA512 fef2ca8f8c6db0b61037ad10269fe185f2d5cb1ffdee0560acdba61be87d71d2195471412d26a5c6e7766332d9a13bf95774b0374de14b6df7b4a97ad27e8d32 WHIRLPOOL e8117d3202b3f7992b990eace9dc767c67aaa8f55f0295c942fd0039a2beeb43bcee4f937923c5c87fa3fb369cca21dd47d8bb06fd89ad713902675816ed481b
+DIST tdl-1.5.2.tar.gz 66057 SHA256 b43ed73bbdc77527c164b7e99f28c5fe2b7626d30adace78d8c40cca74f7fbfb SHA512 8c07a5b6a5434bb567a2d68b6e0215bbfa7be3f7176ae1042652ac18684289117230af25d8d161fcf1ba27d9b740fd3fcd43c3213467b533de64390686481fe0 WHIRLPOOL e1e136bc01716e41b56df16caa6bc9bfa7742abf0b50a376a9aea9ddec61931d064eef2a1d59a3b1fa3eacf49ffd9164fd95d70af2811d6fb8fe1447c9fecde5
+DIST tdl-screenshot.png.tar 20480 SHA256 9deb053eebc426cd3fd694cfa953043faf7da86ff65c498a135d01bafe5d68c4 SHA512 caca9793626b320ded4c7f16425b98e4bfde9ab0ca3c1bea60ecc8aaa8db080ab6fc3c474aef4d56e394b6415ec1162671329912aa22452dbd5dc72b50c7c8f6 WHIRLPOOL e2dc07ecf38f9a1945299c919f797d946ba99c32274b132b3deb6d0889a474138bff2ed485a901188ec67917523fa9818e2692b21ba12e4a16ded6c5519b4c41
+EBUILD tdl-1.5.2-r2.ebuild 1513 SHA256 c54b976c91285b5ddb2bfd0a7acc3457d74ad2800c9db1947a867f6f4741308b SHA512 40c6116b132441e21d62bccb997b1e140879df1981684aaba097d8b3373b4f933d94b89e52b3dc2d864a1b08193b09811437bad3077e228a600d0275fb752794 WHIRLPOOL 204cd2c067e775f61ca1924c5f5ca9bc1e2dd5f8e2f622afb576446a334b366cd8cd0a2650f686b55b07b2395d6c865e284fb5f8b180a26c73e21ff546f923b7
+MISC ChangeLog 2566 SHA256 049395cb766fdd2bb8232703a320e34aab0461cfafb09d290e4d329665f0801a SHA512 bd665a85128d157e9dd2a3ddbafae8baebd33ac5b262bf8bd10cd092e0cc7686db890c6800a4fe253c3ea027e175dba2e686ff77bafa711c0f5f10d9b87b3f9e WHIRLPOOL ac9b1ccfbbd0c2444300fa738ffc4d2dca25ce84b173c1d7c7307c07aa331836eecbfa33184809e55f3d5ec8d1a393ba2c757d4a29fae393acd56e11490f3044
+MISC ChangeLog-2015 4232 SHA256 832767ec98146cad196c96a0b2de4eb8502a75aa655915ddd0c2db2f8781ee58 SHA512 f147799e7f80b16e4d0b7705b513403290ea7c2ff5ba26ad84604cfc0c28b6a1ad819306df21255f31444b31ec6c8cd7d9823d565de2b3923b3abed130acc9ed WHIRLPOOL 9d566746d2c514e2e0d7520a9c36c9aeadc7359e6d6e2f9b9a76d2e84a5392347de04cde64926cf122e60a6845e805666dbe11bdfd00a7df49b6998a18631082
+MISC metadata.xml 507 SHA256 ec9add1ed5e43b55491c8af47772aaac7a441ca8722ea0e3df5eed02cd7f3a63 SHA512 ce0e36e0dc95b3c050f17e33220bb85c07946127337ae766b7c3af2d9d0891187bb9ab73d8cb01f91bad4f061620d19a403f3af85c801e3194f0a9dc6a0b6ce2 WHIRLPOOL 190c4220b5928102255f2d7a72bd5e866b05384c6f8f72939cc8b8a355568d982bcfd69bf8a8a093f3b091ac0fe04a9c878769768fda4cea0ff679659457e7d3
diff --git a/app-misc/tdl/files/1.5.2-ldflags.patch b/app-misc/tdl/files/1.5.2-ldflags.patch
new file mode 100644
index 000000000000..d807fdf02246
--- /dev/null
+++ b/app-misc/tdl/files/1.5.2-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index 46b05ca..eb9b656 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -52,7 +52,7 @@ OBJ = main.o io.o add.o done.o remove.o move.o list.o \
+ all : tdl
+
+ tdl : $(OBJ)
+- $(CC) $(CFLAGS) -o tdl $(OBJ) $(LIB_READLINE)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o tdl $(OBJ) $(LIB_READLINE)
+
+ %.o : %.c
+ $(CC) $(CFLAGS) -c $<
diff --git a/app-misc/tdl/files/tdl-1.5.2-list.c.patch b/app-misc/tdl/files/tdl-1.5.2-list.c.patch
new file mode 100644
index 000000000000..d2cc39bd49c1
--- /dev/null
+++ b/app-misc/tdl/files/tdl-1.5.2-list.c.patch
@@ -0,0 +1,34 @@
+--- tdl-1.5.2.orig/list.c
++++ tdl-1.5.2/list.c
+@@ -75,14 +75,15 @@
+ static void print_timestamp(int timestamp, char *leader, int indent, int monochrome)/*{{{*/
+ {
+ char buffer[32];
+- time_t now;
++ time_t now, timestamp2;
+ long diff, days_ago, days_ahead;
+
+ now = time(NULL);
+ diff = now - timestamp;
+ days_ago = (diff + ((diff > 0) ? 43200 : -43200)) / 86400;
++ timestamp2 = (time_t) timestamp;
+ strftime(buffer, sizeof(buffer), "%a %d %b %Y %H:%M",
+- localtime((time_t *)&timestamp));
++ localtime(&timestamp2));
+ do_indent(indent+2);
+ if (days_ago < 0) {
+ days_ahead = - days_ago;
+@@ -524,6 +525,13 @@
+ * Otherwise, use the priority from the specified node, _except_ when
+ * that is higher than normal, in which case use normal. */
+ prio_to_use = (prio_set) ? prio : ((node_prio > prio) ? prio : node_prio);
++ /* if listing up-to-some-depth (option -N) and also
++ * beginning at some top-level (option NNN) then depth must be
++ * decremented by 1
++ * see: http://bugs.debian.org/364083 */
++ if (options.depth > 0) {
++ options.depth--;
++ }
+ list_chain(&n->kids, INDENT_TAB, 0, &options, index_buffer, prio_to_use, now, hits);
+ }
+ } else if ((y[0] == '-') && (y[1] == '-')) {
diff --git a/app-misc/tdl/files/tdl-1.5.2-main.c.patch b/app-misc/tdl/files/tdl-1.5.2-main.c.patch
new file mode 100644
index 000000000000..c195a1e5cb7c
--- /dev/null
+++ b/app-misc/tdl/files/tdl-1.5.2-main.c.patch
@@ -0,0 +1,178 @@
+--- tdl-1.5.2.orig/main.c
++++ tdl-1.5.2/main.c
+@@ -80,7 +80,7 @@
+ return;
+ }
+ /*}}}*/
+-static volatile void unlock_and_exit(int code)/*{{{*/
++static void unlock_and_exit(int code)/*{{{*/
+ {
+ unlock_database();
+ exit(code);
+@@ -237,22 +237,91 @@
+
+ }
+ /*}}}*/
+-static void rename_database(char *path)/*{{{*/
++static mode_t get_mode(const char *path); /* prototype */
++/*}}}*/
++static int copy_file_contents(char *pathsrc, char *pathdest) {
++ int src, dest;
++ ssize_t rdsize = 1;
++ char buf[4096];
++
++ src = open(pathsrc, O_RDONLY);
++ if (src == -1) {
++ perror("warning, couldn't open database");
++ return 0;
++ }
++ dest = open(pathdest, O_WRONLY | O_CREAT, get_mode(pathsrc));
++ if (dest == -1) {
++ perror("warning, couldn't open/create backup database");
++ close(src);
++ return 0;
++ }
++ if (ftruncate(dest,0) != 0) {
++ perror("warning, couldn't truncate backup database");
++ close(src);
++ close(dest);
++ return 0;
++ }
++ lseek(src,0,SEEK_SET);
++ lseek(dest,0,SEEK_SET);
++ while (rdsize > 0) {
++ rdsize = read(src, buf, 4096);
++ if (rdsize == -1) {
++ perror("warning, error reading database");
++ close(src);
++ close(dest);
++ return 0;
++ }
++ if (rdsize > 0) {
++ if (write(dest, buf, rdsize) != rdsize) {
++ perror("warning, error writing to backup database");
++ close(src);
++ close(dest);
++ return 0;
++ }
++ }
++ }
++ close(src);
++ close(dest);
++ return 1;
++}
++/*}}}*/
++static int path_is_symlink(char *path) {
++ int i;
++ struct stat s;
++ i = lstat(path, &s);
++ if ((i == 0) && (S_ISLNK(s.st_mode))) {
++ return 1; /* is a symlink */
++ }
++ return 0; /* not a symlink */
++}
++/*}}}*/
++static int rename_database(char *path)/*{{{*/
+ {
+- int len;
++ /* the rename_database function returns 1 if database or/and
++ * database backup file are symlinks; otherwise returns 0 */
++ int len, symlinks;
+ char *pathbak;
+-
++
+ len = strlen(path);
+ pathbak = new_array(char, len + 5);
+ strcpy(pathbak, path);
+ strcat(pathbak, ".bak");
+- if (rename(path, pathbak) < 0) {
+- if (is_noisy) {
+- perror("warning, couldn't save backup database:");
++
++ symlinks = path_is_symlink(path) | path_is_symlink(pathbak);
++
++ if (symlinks) {
++ if (access(path,F_OK) == 0) {
++ copy_file_contents(path, pathbak);
++ }
++ } else {
++ if (rename(path, pathbak) < 0) {
++ if (is_noisy) {
++ perror("warning, couldn't save backup database:");
++ }
+ }
+ }
+ free(pathbak);
+- return;
++ return symlinks;
+ }
+ /*}}}*/
+ static char *executable_name(char *argv0)/*{{{*/
+@@ -315,7 +384,7 @@
+ /*}}}*/
+ static void save_database(char *path)/*{{{*/
+ {
+- FILE *out;
++ FILE *out = NULL;
+ int out_fd;
+ mode_t database_mode;
+ if (is_loaded && currently_dirty) {
+@@ -324,20 +393,34 @@
+ /* The next line only used to happen if the command wasn't 'create'.
+ * However, it should quietly fail for create, where the existing database
+ * doesn't exist */
+- rename_database(path);
+-
+- /* Open database this way so that the permissions from the existing
+- database can be duplicated onto the new one in way free of race
+- conditions. */
+- out_fd = open(path, O_WRONLY | O_CREAT | O_EXCL, database_mode);
+- if (out_fd < 0) {
+- fprintf(stderr, "Could not open new database %s for writing : %s\n",
+- path, strerror(errno));
+- unlock_and_exit(1);
++ if (rename_database(path) == 0) {
++ /* database is a regular file */
++ /* Open database this way so that the permissions from the existing
++ database can be duplicated onto the new one in way free of race
++ conditions. */
++ out_fd = open(path, O_WRONLY | O_CREAT | O_EXCL, database_mode);
++ if (out_fd < 0) {
++ fprintf(stderr, "Could not open new database %s for writing : %s\n",
++ path, strerror(errno));
++ unlock_and_exit(1);
++ }
+ } else {
+- /* Normal case */
+- out = fdopen(out_fd, "wb");
++ /* database and/or backup database are symlinks */
++ /* we should truncate existing file and write its contents */
++ out_fd = open(path, O_WRONLY | O_CREAT, database_mode);
++ if (out_fd < 0) {
++ fprintf(stderr, "Could not open database %s for writing : %s\n",
++ path, strerror(errno));
++ unlock_and_exit(1);
++ } else {
++ /* Normal case */
++ if (ftruncate(out_fd, 0) != 0) {
++ perror("warning, couldn't truncate database:");
++ unlock_and_exit(1);
++ }
++ }
+ }
++ out = fdopen(out_fd, "wb");
+ if (!out) {
+ fprintf(stderr, "Cannot open database %s for writing\n", path);
+ unlock_and_exit(1);
+@@ -728,6 +811,11 @@
+
+ if (!is_loaded && cmds[index].load_db) {
+ load_database(current_database_path);
++ if (is_interactive && (!is_loaded)) {
++ fprintf(stderr, "error: could not open database. please create a "
++ "database with 'tdl create' before using this tdl command\n");
++ unlock_and_exit(-1);
++ }
+ }
+
+ pp = is_tdl ? (p + 1) : p;
diff --git a/app-misc/tdl/files/tdl-1.5.2-man.patch b/app-misc/tdl/files/tdl-1.5.2-man.patch
new file mode 100644
index 000000000000..955201a2fe2f
--- /dev/null
+++ b/app-misc/tdl/files/tdl-1.5.2-man.patch
@@ -0,0 +1,507 @@
+--- tdl-1.5.2.orig/tdl.1
++++ tdl-1.5.2/tdl.1
+@@ -2,25 +2,25 @@
+ .SH NAME
+ tdl \- To do list manager
+ .SH SYNOPSIS
+-tdl [-q]
++tdl [\-q]
+ .br
+-tdl [-q] add|edit|defer|log
++tdl [\-q] add|edit|defer|log
+ .br
+-tdl [-q] list|done|undo|report
++tdl [\-q] list|done|undo|report
+ .br
+-tdl [-q] remove|above|below|into|clone|copyto
++tdl [\-q] remove|above|below|into|clone|copyto
+ .br
+-tdl [-q] postpone|ignore|open
++tdl [\-q] postpone|ignore|open
+ .br
+-tdl [-q] which|version|help
++tdl [\-q] which|version|help
+ .br
+-tdla [-q]
++tdla [\-q]
+ .br
+-tdll [-q]
++tdll [\-q]
+ .br
+-tdld [-q]
++tdld [\-q]
+ .br
+-tdlg [-q]
++tdlg [\-q]
+
+ .SH DESCRIPTION
+ A program for managing a to-do list.
+@@ -68,9 +68,9 @@
+ modified database back to the disk. Only use it if you want to discard
+ all changes made in this tdl run.
+
+-.pp
++.PP
+ All forms may take
+-.I -q
++.I \-q
+ as the first command line argument. Currently, this suppresses the warning
+ message if no existing database can be found. The intended use is for using
+ .B tdll
+@@ -104,7 +104,7 @@
+ appear as the last children of the parent node afterwards.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl add
+ .I [@datespec]
+@@ -156,7 +156,7 @@
+ environment is set, in which case this specifies the path to use).
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl below
+ .I index_to_insert_below
+@@ -173,7 +173,7 @@
+ appear as the first children of the parent node afterwards.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl clone
+ .I index_to_clone ...
+@@ -185,7 +185,7 @@
+ to change its text.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl copyto
+ .I new_parent_index
+@@ -197,7 +197,7 @@
+ children of an existing entry, rather than making them new top level entries.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl create
+ .PP
+@@ -217,7 +217,7 @@
+ TDL_DATABASE.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl defer
+ .I [@datespec]
+@@ -233,7 +233,7 @@
+ .P
+ which defers entries 1, 2.1 and all its children, and 5 until the following Friday.
+ To list deferred entries, use
+-.I list -p
++.I list \-p
+ , to defer entries indefinitely, see
+ .I postpone
+ command.
+@@ -242,7 +242,7 @@
+ command.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl done
+ .I @datespec
+@@ -278,7 +278,7 @@
+ section later in this page.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl edit
+ .I index_to_change
+@@ -294,7 +294,7 @@
+ command.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B exit
+ .PP
+@@ -308,7 +308,7 @@
+ command, which loses all updates made during the current tdl run.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl export
+ .I filename
+@@ -322,14 +322,14 @@
+ the original database.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl help
+ .PP
+ This command displays a summary of use of each of the commands.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl ignore
+ .I index_to_ignore ...
+@@ -353,7 +353,7 @@
+ it
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl import
+ .I filename
+@@ -367,7 +367,7 @@
+ wanted to merge their entries to form one combo database.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl into
+ .I new_parent_index
+@@ -381,23 +381,23 @@
+ argument has ".0" appended to it.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl list
+-.I [-v]
+-.I [-a]
+-.I [-p]
+-.I [-m]
+-.I [-1...9]
++.I [\-v]
++.I [\-a]
++.I [\-p]
++.I [\-m]
++.I [\-1...9]
+ .I [<min-priority>]
+ .I [<parent_index>|<search_conditions>...]
+ .br
+ .B tdll
+-.I [-v]
+-.I [-a]
+-.I [-p]
+-.I [-m]
+-.I [-1...9]
++.I [\-v]
++.I [\-a]
++.I [\-p]
++.I [\-m]
++.I [\-1...9]
+ .I [<min-priority>]
+ .I [<parent_index>|<search_conditions...]
+ .PP
+@@ -410,13 +410,13 @@
+ .B done
+ and which don't have start times deferred into the future are shown. If you
+ want to display all entries, include the
+-.B -a
++.B \-a
+ option (which means 'all'). If you want to display the dates and times when
+ the entries were added and/or done, include the
+-.B -v
++.B \-v
+ option (which means 'verbose').
+ The
+-.B -p
++.B \-p
+ option stands for postponed. It means that tasks which are 'deferred' or 'postponed'
+ are shown as well as open tasks.
+ .PP
+@@ -431,14 +431,14 @@
+ top node of each part of the database you want to show. So if your database
+ contains entries with indices 1, 2, 2.1, 2.2, 2.2.1, 3 and 4, the command
+ .PP
+-tdl list -a 2
++tdl list \-a 2
+ .PP
+ will show all entries 2, 2.1, 2.2 and 2.2.1, whether or not they are completed.
+ .PP
+ Also by default, all entries in the database, at any depth, will be shown. If
+ you only wish to show 'top-level' entries, for example, you can use
+ .PP
+-tdl list -1
++tdl list \-1
+ .PP
+ This lists level-1 entries. Any level-1 entry with hidden child entries
+ underneath it will show a summary of how many such children there are. For
+@@ -454,11 +454,11 @@
+ the normal 'negative index' method can't be used to specify an entry a certain
+ distance from the end of the list. If you want to do this, use a syntax like
+ .PP
+-tdl list -- -1
++tdl list \-\- \-1
+ .PP
+ to show the last index in the array, or
+ .PP
+-tdl list -2 -- -3 -2 -1
++tdl list \-2 \-\- \-3 \-2 \-1
+ .PP
+ to show level-1 and level-2 entries within the last 3 level-1 entries in the
+ list.
+@@ -489,7 +489,7 @@
+ approximate matches with keys up to 31 characters.
+ .PP
+ By default, the listing is produced with colour highlighting. The
+-.B -m
++.B \-m
+ option can be used to produce a monochrome listing instead. Alternatively, the
+ .B TDL_LIST_MONOCHROME
+ enviroment variable can be set (to any value) to achieve the same effect.
+@@ -512,7 +512,7 @@
+ .TE
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl log
+ .br
+@@ -530,7 +530,7 @@
+ command.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B narrow
+ .I new_root_index
+@@ -562,7 +562,7 @@
+ wouldn't make much sense).
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl open
+ .I index_to_reopen[...] ...
+@@ -573,7 +573,7 @@
+ current time.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl postpone
+ .I index_to_postpone[...] ...
+@@ -586,7 +586,7 @@
+ command.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl pri
+ .I new_priority
+@@ -602,7 +602,7 @@
+ command.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl purge
+ .I since_epoch
+@@ -626,7 +626,7 @@
+ descendents. The default is to purge the entire database.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B quit
+ .PP
+@@ -642,7 +642,7 @@
+ The main use for the quit command would be to avoid damaging the database if a serious error had been made.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl remove
+ .I index_to_remove ...
+@@ -659,7 +659,7 @@
+ descendents. This provides a quick way to remove a whole sub-tree of tasks.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl report
+ .I start_time
+@@ -688,12 +688,12 @@
+ will list all tasks completed between 2 and 1 weeks ago.
+ .PP
+ Where a child entry has been completed in the reporting period, but its parent
+-has not been completed, the parent text in the report will be surrounded by
+-'[[' and ']]'. To give one example, this will happen if the parent has other
++has not been completed, the parent text in the report will be surrounded by '[['
++and ']]'. To give one example, this will happen if the parent has other
+ child entries that haven't been completed yet.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B revert
+ .PP
+@@ -706,7 +706,7 @@
+ The revert command does not take any arguments.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B save
+ .PP
+@@ -728,7 +728,7 @@
+ The save command does not take any arguments.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl undo
+ .I index_of_entry_to_undo ...
+@@ -742,7 +742,7 @@
+ descendents. This provides a quick way to re-open a whole sub-tree of tasks.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl usage
+ .PP
+@@ -751,21 +751,21 @@
+ (q.v.)
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl version
+ .PP
+ Show the version number of the software.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B tdl which
+ .PP
+ Show the filename of the database that tdl accesses in the current context.
+ .P
+ .ce 1
+---ooOOoo--
++\-\-ooOOoo-\-
+ .PP
+ .B widen
+ .I n_level
+@@ -831,30 +831,30 @@
+ .TS
+ tab(&);
+ l l.
+--1h & exactly 1 hour ago
+--2d & exactly 2 days ago
++\-1h & exactly 1 hour ago
++\-2d & exactly 2 days ago
+ +1w & exactly 1 week in the future
+ +1m & exactly 1 month (30 days) in the future
+ +2y & exactly 2 years in the future
+--1d-0815 & 08:15am yesterday
++\-1d-0815 & 08:15am yesterday
+ +1d-08 & 8am tomorrow
+ +1w-08 & 8am on the same day as today next week
+ +6h-08 & 8am on the day containing the time 6 hours ahead of now
+-\.-08 & 8am today
+-\.-20 & 8pm today
++\.\-08 & 8am today
++\.\-20 & 8pm today
+ 20011020 & absolute : 12 noon on 20th October 2001
+ 011020 & absolute : 12 noon on 20th October 2001 (current century)
+ 1020 & absolute : 12 noon on 20th October 2001 (current century and year)
+ 20 & absolute : 12 noon on 20th October 2001 (current century, year and month)
+-20011020-081500 & absolute : 08:15am on 20th October 2001
+-20011020-0815 & absolute : 08:15am on 20th October 2001 (seconds=0)
+-20011020-08 & absolute : 08:00am on 20th October 2001 (minutes=seconds=0)
+-011020-08 & absolute : 08:00am on 20th October 2001 (minutes=seconds=0, current century)
++20011020\-081500 & absolute : 08:15am on 20th October 2001
++20011020\-0815 & absolute : 08:15am on 20th October 2001 (seconds=0)
++20011020\-08 & absolute : 08:00am on 20th October 2001 (minutes=seconds=0)
++011020\-08 & absolute : 08:00am on 20th October 2001 (minutes=seconds=0, current century)
+ etc & (see below)
+--sun & 12 noon on the previous Sunday
++\-sun & 12 noon on the previous Sunday
+ +sat & 12 noon on the following Saturday
+ +sat-08 & 8am on the following Saturday
+--tue-0815 & 08:15am on the previous Tuesday
++\-tue-0815 & 08:15am on the previous Tuesday
+ etc & (see below)
+ .TE
+ .PP
+@@ -876,7 +876,7 @@
+ of the more uses of this mode are rather far-fetched.
+ .PP
+ For the weekday and relative formats, the sign is actually optional. The
+-default sign (implying past (-) or future (+)) will then be assumed depending on
++default sign (implying past (\-) or future (+)) will then be assumed depending on
+ the command as shown below:
+
+ .PP
+@@ -886,9 +886,9 @@
+ Command & Default & Reason
+ _
+ add & + & Add entries with deferred start times
+-done & - & Entries have been completed at some time in the past
+-report & - & Reporting on earlier completed tasks not future ones
+-purge & - & Tasks won't be completed in the future, so no need to purge future ones
++done & \- & Entries have been completed at some time in the past
++report & \- & Reporting on earlier completed tasks not future ones
++purge & \- & Tasks won't be completed in the future, so no need to purge future ones
+ .TE
+
+ .SH HOMEPAGE
+@@ -943,16 +943,7 @@
+ .IP
+ cd project1
+ .br
+-ln -s ../project2/.tdldb .
++ln \-s ../project2/.tdldb .
+
+ .SH BUGS
+ Please report them to the author.
+-
+-.SH SEE ALSO
+-The full documentation for tdl is maintained as a Texinfo manual. If the info and tdl
+-programs are properly installed at your site, the command
+-.IP
+-info tdl
+-.PP
+-should give you access to the complete manual.
+-
diff --git a/app-misc/tdl/metadata.xml b/app-misc/tdl/metadata.xml
new file mode 100644
index 000000000000..fbad613d45e5
--- /dev/null
+++ b/app-misc/tdl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ tdl is a command-line application for managing a list of outstanding
+ tasks that you have to do. It can organise tasks in a hierarchy, produce
+ weekly reports of completed tasks and so on.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/tdl/tdl-1.5.2-r2.ebuild b/app-misc/tdl/tdl-1.5.2-r2.ebuild
new file mode 100644
index 000000000000..3b105616d7c0
--- /dev/null
+++ b/app-misc/tdl/tdl-1.5.2-r2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Command line To Do List manager"
+HOMEPAGE="http://www.rc0.org.uk/tdl/"
+SRC_URI="
+ http://www.rpcurnow.force9.co.uk/tdl/${P}.tar.gz
+ https://dev.gentoo.org/~jlec/distfiles/${PN}-screenshot.png.tar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc readline"
+
+RDEPEND="
+ sys-libs/ncurses
+ sys-libs/readline"
+DEPEND="${RDEPEND}
+ sys-apps/sed
+ sys-apps/texinfo
+ doc? ( virtual/texi2dvi )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PV}-ldflags.patch \
+ "${FILESDIR}"/${P}-list.c.patch \
+ "${FILESDIR}"/${P}-main.c.patch \
+ "${FILESDIR}"/${P}-man.patch
+
+ tc-export CC
+}
+
+src_configure() {
+ local myconf="--prefix=${EPREFIX}/usr"
+
+ if ! use readline; then
+ myconf="${myconf} --without-readline"
+
+ sed -i 's#\($(LIB_READLINE)\)#\1 -lncurses##g' "${S}"/Makefile.in || die
+ fi
+ sed -i 's#-ltermcap#-lncurses#g' "${S}"/configure || die
+
+ # XXX: do not replace with econf.
+ "${S}"/configure ${myconf} || die "configure failed, sorry!"
+}
+
+src_compile() {
+ emake all tdl.info tdl.html tdl.txt
+ use doc && emake tdl.dvi tdl.ps tdl.pdf
+}
+
+src_install() {
+ local i
+
+ dodoc README NEWS tdl.txt "${WORKDIR}"/screenshot.png
+ doinfo tdl.info
+ dohtml tdl.html
+
+ dobin tdl
+ doman tdl.1
+
+ for i in tdl{a,l,d,g}
+ do
+ dosym tdl /usr/bin/${i}
+ dosym tdl.1 /usr/share/man/man1/${i}.1
+ done
+
+ if use doc; then
+ dodoc tdl.dvi tdl.ps tdl.pdf
+ fi
+}
diff --git a/app-misc/tek/Manifest b/app-misc/tek/Manifest
new file mode 100644
index 000000000000..1fb720bdca0b
--- /dev/null
+++ b/app-misc/tek/Manifest
@@ -0,0 +1,4 @@
+DIST tek-1.3.0.tar.gz 99399 SHA256 730e43749bf83fe1f717a64754262fe0577d25b3b47896838d4936fd8f76ffe6 SHA512 20e3e704db71a7c0fb7a7791c8ebbdb348d370b06bea39f2ee77cae72ac4b71873884c6ec58712c9bf85d7d0785310f33189ce977a77b970951e39c8803d28fd WHIRLPOOL 2736f63121b2a743234ddd972a88562f1e8094c45fc6aec79dbda1c5d2a4c8df776db6f6f997c88afd6155e5fdaffa44859b6ba987a987bb09c36556764b4e5f
+EBUILD tek-1.3.0.ebuild 934 SHA256 1ae93825745501f1cdd7dcc0435a3985d12f79f605b20d7da3b7624aeca32896 SHA512 15e88bd7ebbdd7d5e298aab2f00252bba7e15cf3d146258e19fae9fe0e590619c958c33d53915e0b5ddd38430c0b89ead2824aeae23243e8605faf5ef8cb955f WHIRLPOOL 3762458e10dfda50151fc3f3973b447ae78f7ee3a799733656a97f4e46184a813fcd21ded6446c68311f763d26e26de48e79f97b0f4593edbb52bf3b15e31a1c
+MISC ChangeLog 468 SHA256 314491c836cbb5437cabe6c2e24c889c2a22a7b2a6ca8b277669e5f7e4e649f2 SHA512 95382267016a198fbfe5401b4b6e876ec426d20063ddbdbb8da94cd49bc4174a8f0f5d97ad15589975e2ac7eb4d05b3eca5bfc2bdcb4915ff82096ebe957065c WHIRLPOOL caf555099f3e831470ffa88553067af97f44a40d5f177e832bce5d4a33e5a47cb1707f084de079b3e0c5cc9a6c3e6fc1eb4155c67f698954a6397ab73717d377
+MISC metadata.xml 330 SHA256 162c5870646066d837d483059cfc78888bf8b4734ed1676375e3d3198c67a509 SHA512 6d46988601ab6a6284211d488d55a6b56e63442424b4abc5910320cdfac5c1b5c8f050090878a7f3680de4acbecbd8e67f3195c9f6734139123c32fcebc103ee WHIRLPOOL 8dcf30771eabcfdb8e20ff72d649a3eeaf8c1c5164bda3b2305522ae5e48ce6a1ba3688fa626ed0541a98f6b0923250aa81ef563e117f7162c0ce550f19b9aa1
diff --git a/app-misc/tek/metadata.xml b/app-misc/tek/metadata.xml
new file mode 100644
index 000000000000..b51edd0de5da
--- /dev/null
+++ b/app-misc/tek/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">m-ou-se/tek</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/tek/tek-1.3.0.ebuild b/app-misc/tek/tek-1.3.0.ebuild
new file mode 100644
index 000000000000..a999ca161f55
--- /dev/null
+++ b/app-misc/tek/tek-1.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER=3.0
+
+inherit udev wxwidgets
+
+DESCRIPTION="GUI tool for upgrading the firmware of a Truly Ergonomic Keyboard"
+HOMEPAGE="http://trulyergonomic.com/ https://github.com/m-ou-se/tek"
+SRC_URI="https://github.com/m-ou-se/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="all-rights-reserved GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror"
+
+RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}=[X]
+ virtual/libusb:1
+ virtual/udev"
+DEPEND="${RDEPEND}
+ app-editors/vim-core"
+
+src_prepare() {
+ default
+ setup-wxwidgets
+ sed -r \
+ -e '/LIN_STRIP/d' \
+ -e 's/LIN_CXX/CXX/g' \
+ -e 's/CXX=/CXX\?=/' \
+ -e 's/CXXFLAGS=(.*)/CXXFLAGS:=\1 $(CXXFLAGS)/' \
+ -i "${S}"/Makefile || die
+}
+
+src_install() {
+ newbin tek.lin tek
+ udev_newrules linux-udev-rules 40-tek.rules
+ einstalldocs
+}
+
+pkg_postinst() {
+ udev_reload
+}
diff --git a/app-misc/terminal-colors/Manifest b/app-misc/terminal-colors/Manifest
new file mode 100644
index 000000000000..201716116d4c
--- /dev/null
+++ b/app-misc/terminal-colors/Manifest
@@ -0,0 +1,5 @@
+DIST terminal-colors-2.2.bz2 4826 SHA256 0daaffc2cb96af416e3292869762ced792511ae71f1661d94bada52314243009 SHA512 ddd1a3cf6786011372ca83b3fe86a88c863a1fa1b5cf8450cabd364a3330847145cf4bd5eb8d50baa7c26b17c392eb0f629007dbb765b36b3904d0783216ce36 WHIRLPOOL 6160962dd908788bddd33650a95d4c6a45b2b6c69cfa566c48c28383977b3ed75dbf5129c3d54268af9ad48c37eb3ef6594b23b60579d1e078dfe7e73cbd466e
+EBUILD terminal-colors-2.2.ebuild 608 SHA256 f52d04907dfd323af230eacd0ffadc6a38ca6d009739a6d2692a6826073d84be SHA512 1c02602a023fca8b5de102664061ff6c39ea2633d00bf979e513968b52e248dc151609bdb359c285d42178658a920f304083d6e1827b76fdc37d462303b9fb5d WHIRLPOOL 8a7a62e597a30a860e7b5635263c537f77bff61ebe3e8799424ba3f1d576cbc67baa533be229e5ad0321f1d0d8d1024e3bd7faa503e6820a5269f7257a1ceb9d
+MISC ChangeLog 2752 SHA256 8e027c93c19e6007d3ebc979813d67b3cb221484e7acd2928a6b2c2def49dd87 SHA512 cecd6c7dfa7ae7bbedc6e79bc4f7e0eb28e4cf281686d6e2525d548c1bf4bd7981644791847784a4c68473710a0c6bd2af78b98a635ff519f4b2d438010a0402 WHIRLPOOL 28f62fb34c6d917aaa5c90391b9959a425491339f135b9a1243af36b39a581397663e52329d5aa1c0c97f120a4717917bd76ead78e030779c4c65b57501284c2
+MISC ChangeLog-2015 2047 SHA256 e426089c73c64e178706ed623f1f4445c6f362b6262472c1eaba4cca34a7d718 SHA512 7c1c9b03912bcf535fc6cb962b351f7a5acbfa1b83c52588b7316233b539e91767f2bbfa55e7b7b50b98f4c9df22dd04acd5d8fb8dfed4c8f60a3f179d69ce2c WHIRLPOOL d2dc5544bbefcd1c27f6e832a0405209288a86c70f277392c7bac590da2d6841803b3ed4067eff7742fadd69d48edb561f4a1ceda9ed7c6994cda3993f5bf232
+MISC metadata.xml 246 SHA256 92d5540a2f0904365eafb8ce96e6320cfc14e08f22e124d721521ef77ddbf6f6 SHA512 ca07e0609b698c2b53062b71008fee49b91af78fc2ef25997311e37985d79283d333f5b842257a16e7dee36ce34c07d405e1f93742f341f10ca70904e9f9a4e6 WHIRLPOOL d15a33750d6ada278082c675223992c98cccf98af92ec04ab5b908816381ab6965714988fac87a795265973c6fb81a588a08c385ac6fb66046d14d119e0c236c
diff --git a/app-misc/terminal-colors/metadata.xml b/app-misc/terminal-colors/metadata.xml
new file mode 100644
index 000000000000..78e64a5cf1ad
--- /dev/null
+++ b/app-misc/terminal-colors/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/terminal-colors/terminal-colors-2.2.ebuild b/app-misc/terminal-colors/terminal-colors-2.2.ebuild
new file mode 100644
index 000000000000..75389ef6f323
--- /dev/null
+++ b/app-misc/terminal-colors/terminal-colors-2.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="ncurses"
+
+inherit python-r1
+
+DESCRIPTION="A tool to display color charts for 8, 16, 88, and 256 color terminals"
+HOMEPAGE="http://zhar.net/projects/shell/terminal-colors"
+SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${P}.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x64-macos"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+
+S=${WORKDIR}
+
+src_install() {
+ python_foreach_impl python_newscript ${P} ${PN}
+}
diff --git a/app-misc/timestamp/Manifest b/app-misc/timestamp/Manifest
new file mode 100644
index 000000000000..d21bfe3d4bdd
--- /dev/null
+++ b/app-misc/timestamp/Manifest
@@ -0,0 +1,6 @@
+DIST timestamp-1.1.tar.gz 61578 SHA256 8bb39d7db691f995ddb4cb4320a9ca1c3c793ade6bb419e3b280b3e69c26ce70 SHA512 38952f40938e45e178e310dfc3b974c1974485614f4da7617790642f8594a4583e97ec056cb2f4fe2761d86d04595bc0d387312803bf95add929d48863fd6b9b WHIRLPOOL 4a8191a4649cc40246714b124a975cf56ec5376d3da7f250f75fb542c477cf2085da03ca2c11c5a37a6634eb2320229d019688bcc52d47ad0ad597bc7b760751
+EBUILD timestamp-1.1-r1.ebuild 487 SHA256 4baae435525cc88f381834cedb74e27d79adf7d49f5ba9179fa4d9abaa9d05b0 SHA512 1775fce859aa67d2ced6ea37e2ba60a93f2978d3471822aa1e23eb5b829e9fd4c8e8630d55e77a8908dbb3d806414c3c8502c4b630731949b323fc99310c4b80 WHIRLPOOL c6abd8b52a283884bf6342c4dcf14db11f1f6197d99b8ab2c7cc7ebc099b65a27376bed0626df6bbc210894f6fd27579713297d9b446672e7b8c0caf47f72e5a
+EBUILD timestamp-1.1.ebuild 503 SHA256 1f971e885bf7783b10e9cc5eb2818c1486edbe0c4e2728607b06108e4599f30f SHA512 7bd92b0ecf3a40cc7e149ba237b05f6afaaca5a52e4f933e5483a2470a2e0c2b937ddd15069660592f183da0e5d4318ff544b2b70817c2f26408c29cd8883dea WHIRLPOOL 02aa5cd0da53e52785cafc0be7eff1cf7fe719cc8177273468007d23c972f68fc62e117fd944673993355273d61523b86ede09b38a656fd772bcb5a4dfa19321
+MISC ChangeLog 2429 SHA256 01c1163bcdd08340d899704ba6f4cd53801aa5f1b5e9ffdec2c7be85707a96ba SHA512 539e05ea629fdb8c2c4c4ef1a7940158f39f70894d9740042fbbc11287ab263110215b3f655cb8467facfbb2cef18e32ddce040d0abb6f8125fa77ac4565ade6 WHIRLPOOL dcb506ae0dca9be8fa1f7613c34c212d9c51300571bab86b83df44aa3094d200467622a82d382c254a407f154e68104c9dd6d3911f17e813498cbfc4e98ca2a3
+MISC ChangeLog-2015 1152 SHA256 263b6cc29738a02fe2062b6639286fd6f28de2d88094de536fcf01eaa2dded8c SHA512 3e9587a3a1b258ffcd0ff25abc57b81ffbc0f1744d708bc73f380fb6e5d4b49dea6ddbf3f313426ede98b94b593ebcbba8a2f27274909270669970b006963b8d WHIRLPOOL d8a03fafd339fb882d5ecc704ec07f7c5f5f8088115c195e63e280caede78fee4a6a08a7dd7d59e60198d21a4b2239a46a0d11a4c532a1212ccded0a204ff6e3
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/timestamp/metadata.xml b/app-misc/timestamp/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/timestamp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/timestamp/timestamp-1.1-r1.ebuild b/app-misc/timestamp/timestamp-1.1-r1.ebuild
new file mode 100644
index 000000000000..ee19c78f56a1
--- /dev/null
+++ b/app-misc/timestamp/timestamp-1.1-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A text filtering pipe that marks each line with a timestamp"
+HOMEPAGE="http://math.smsu.edu/~erik/software.php?id=95"
+SRC_URI="http://math.smsu.edu/~erik/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="!sys-apps/moreutils"
+RDEPEND="${DEPEND}"
+
+DOCS=( ChangeLog )
+
+src_install() {
+ emake DESTDIR="${D}" install
+ einstalldocs
+}
diff --git a/app-misc/timestamp/timestamp-1.1.ebuild b/app-misc/timestamp/timestamp-1.1.ebuild
new file mode 100644
index 000000000000..124854a3311f
--- /dev/null
+++ b/app-misc/timestamp/timestamp-1.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="A text filtering pipe that marks each line with a timestamp"
+HOMEPAGE="http://math.smsu.edu/~erik/software.php?id=95"
+SRC_URI="http://math.smsu.edu/~erik/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+DEPEND="!sys-apps/moreutils"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog || die
+}
diff --git a/app-misc/timew/Manifest b/app-misc/timew/Manifest
new file mode 100644
index 000000000000..58ef0f7f88a3
--- /dev/null
+++ b/app-misc/timew/Manifest
@@ -0,0 +1,3 @@
+DIST timew-1.0.0.tar.gz 140539 SHA256 ac027910e1e8365bdd218a8b42389b26d017d38d3c96516c408db6d5a44e0bb5 SHA512 0539ff93b2375c154d126c39aa84f21b57b62f51c220c80b2e323a4d6aefd2eda6f87c04112e096222102b019ee3683a78b9ee9d6fbf6736d4a34c529f6152f5 WHIRLPOOL 77ede6c679203071c3da95f708326f626906266547301b9ce2f2c8ae768f6b4082fb32bcc325a22e7295f5894477786960632ff201771b3512d978bf8c379c75
+EBUILD timew-1.0.0.ebuild 512 SHA256 5c3fcb945cac9102af0ab3dfdb3232596e43c751abe5c47be9de2763f07d128b SHA512 0029cd62f73134e30e313929dc41bb499a081054715f7ec16234b83affffedda3e958abcc0b417267002dcb80bcc35000b91c07bc66e2d4b015bb14be3cca890 WHIRLPOOL 63cf3e9e5633de4fa57d6f55dcedd1e72f6211acd4f401a553ce8e46b5e880c1340f1ee473b8ac97844552fef53508641f3a054d15ee27bc1600c90c2b73cc2c
+MISC metadata.xml 254 SHA256 bc1d425de600b5d90ae322e8659e50210e4c49d7ab71d0ebdbd69730d6dfb17b SHA512 b3850bc7c75c11c1cd29ad3560299a281a67d1c39cfb052c1964422209446da77036d4072ad192a2bd9c793aab2f0878426ff9a3ac723ea18553a0564271225d WHIRLPOOL 89252b8745957620577f96407c844d2abced35e09af62196c3af1ebabf831581737b21c9e61b038e625f9670214ee52f3fa3bcdf9dbd49f915b00181af2ff382
diff --git a/app-misc/timew/metadata.xml b/app-misc/timew/metadata.xml
new file mode 100644
index 000000000000..674f5ad944f3
--- /dev/null
+++ b/app-misc/timew/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/timew/timew-1.0.0.ebuild b/app-misc/timew/timew-1.0.0.ebuild
new file mode 100644
index 000000000000..b17148ed009a
--- /dev/null
+++ b/app-misc/timew/timew-1.0.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Tracks your time from the command line, and generates reports"
+HOMEPAGE="https://taskwarrior.org/news/news.20160821.html"
+SRC_URI="https://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ mycmakeargs=(
+ -DTIMEW_DOCDIR=share/doc/${PF}
+ )
+ cmake-utils_src_configure
+}
diff --git a/app-misc/tkpasman/Manifest b/app-misc/tkpasman/Manifest
new file mode 100644
index 000000000000..5d212f60e02d
--- /dev/null
+++ b/app-misc/tkpasman/Manifest
@@ -0,0 +1,6 @@
+AUX tkpasman-2.2a-gentoo.patch 771 SHA256 de3c60784ad9e24c4b161eebd897dbbbbe1cd91ee8e1f9011d6a84711d4c5901 SHA512 6d0fca1b86d5e3a980245510ff98979ef4f9cd85cfdee6fee37e19b83824471fbf8154768ad8921d1ea9bced218c5b2a117022907c81f1775d332530680ea260 WHIRLPOOL 0cc75eeb53049147545821f4fc2bc640c08cde59a3f341fa4ee245b28838fbe73f202c931091e8c7c4748c6e8980c5d041b5a5a81734bfb4b42cf27224ba4552
+DIST TkPasMan-2.2b.tar.gz 31365 SHA256 c6f99905a2395e251d92e2f9cbda486492895bb969cb5693bfeffdb849fbd4fc SHA512 ca74ed6a5989c21b266ff4bed00963d46eb05e1a7a0822dceeae5c87bcbb7bf36a775eedf86244fa1121008a6df59fa38003e07e8cb6e4ddf98c895b61f24f12 WHIRLPOOL f7a49837a8fe64a28961f1c494d83b3374f479878e85bdc0b442350dfcfb387795cae19eeedfd7aa11f2a985970d1803c27de131456470cc5403c344a996ce4b
+EBUILD tkpasman-2.2b.ebuild 784 SHA256 8f7d2ab3ea8edb4d123594bb02e0996bccd3109b901de800728fbc1e589c2f33 SHA512 6eacde9f32fd49c317705d52b21a24f936b7ff590c3648d5a456efea94a37fa70fbdb208e8f26b6efc0b507f90585c68f14a0263ec11617e36a1438b58e7c6ae WHIRLPOOL 4dd8843cbb8886768628b9fbf16c63a951bd40ffec408160a50530321409c15b875b90f96b7f28e562de1134b2a9bca67f74fe227469411b64f75e2c4e17021b
+MISC ChangeLog 2558 SHA256 54271dced3fadd1691273ec60664141501d2911b8084a7d68b0f53703689af2e SHA512 bbe8abed516512bdd1b4369eef11e37ca4bbf89a62298abc457ed2c8a8a8050de7721746bdaae80de84b444b0dbc39c714b8c67853eb9c39a08f3594d5601db5 WHIRLPOOL 46fa0dec5b87c30070b3987b469f6cef456f11a69cb681f822a3306c8d45847be910eafb42e0810fa4668958afacdc1e0d4777e5c0db5d50f006095cedb59b15
+MISC ChangeLog-2015 2077 SHA256 5374bb7def0cb13139384a9de3190a218a042fe56d251885bdb578e4e8f7bd36 SHA512 838cd82753a491adce1f4564553dac24cf9a2c08f31b28bec5c2c23f2e1de372fcfbbc5327bc6af62d48937ad705c878ee63e755df2858b291ccbdcd6395f086 WHIRLPOOL 858f0edda53850398a0a9d6d4a3edbec358ce280d6467c93803fbccd0d3782fdac4b9fcc77b60df7d87b17fe62260ee0c693925cc637c678733fe257a29915f7
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch b/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch
new file mode 100644
index 000000000000..d52d5129b7c7
--- /dev/null
+++ b/app-misc/tkpasman/files/tkpasman-2.2a-gentoo.patch
@@ -0,0 +1,22 @@
+--- build.sh 2005-01-01 19:18:44.290385166 +0000
++++ build.sh 2005-01-01 19:22:45.846161383 +0000
+@@ -44,8 +44,8 @@
+ #
+ # Try to find wish8.3, tclsh8.3 and openssl
+ #
+-WISH=`FIND "$WISH" "" wish8.4 wish8.3 wish`
+-TCLSH=`FIND "$TCLSH" "" tclsh8.4 tclsh8.3 tclsh`
++WISH=`FIND "$WISH" "" wish wish8.4 wish8.3`
++TCLSH=`FIND "$TCLSH" "" tclsh tclsh8.4 tclsh8.3`
+ OPENSSL=`FIND "$OPENSSL" "$OPENSSL_SEARCH_PATH" openssl ssl`
+
+ #
+@@ -88,7 +88,7 @@
+ if test "$USE_OPENSSL" = "true" -a -x "$OPENSSL"
+ then
+ echo "Found OpenSSL program: $OPENSSL"
+- ENC=`$OPENSSL list-cipher-commands|sort|egrep "^($ENC)\$"|head -1`
++ ENC=`$OPENSSL list-cipher-commands|sort|egrep "^($ENC)\$"|head -n 1`
+ if test -z "$ENC"
+ then
+ echo "Could not find a suitable encryption algorithm."
diff --git a/app-misc/tkpasman/metadata.xml b/app-misc/tkpasman/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/tkpasman/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/tkpasman/tkpasman-2.2b.ebuild b/app-misc/tkpasman/tkpasman-2.2b.ebuild
new file mode 100644
index 000000000000..d731fe173f99
--- /dev/null
+++ b/app-misc/tkpasman/tkpasman-2.2b.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+MY_P="TkPasMan-${PV}"
+
+DESCRIPTION="A useful and reliable personal password manager, written in Tcl/Tk"
+HOMEPAGE="http://www.xs4all.nl/~wbsoft/linux/tkpasman.html"
+SRC_URI="http://www.xs4all.nl/~wbsoft/linux/projects/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="ssl"
+
+DEPEND="
+ >=dev-lang/tcl-8.3:0=
+ >=dev-lang/tk-8.3:0="
+RDEPEND="${DEPEND}
+ ssl? ( dev-libs/openssl )
+ "
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.2a-gentoo.patch
+
+ if use ssl; then
+ sed -i "s:^USE_OPENSSL=true:USE_OPENSSL=false:g" config || die
+ fi
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README ChangeLog TODO WARNING INSTALL
+}
diff --git a/app-misc/tmate/Manifest b/app-misc/tmate/Manifest
new file mode 100644
index 000000000000..33e69744f5cb
--- /dev/null
+++ b/app-misc/tmate/Manifest
@@ -0,0 +1,7 @@
+DIST tmate-2.2.0-upstream-patches-0.tar.xz 6784 SHA256 aa5b0ca858bb652418aa5200f0f5dcda0827295c16fb73fd34594d718a65878a SHA512 3e16e0b7988d3d1942fcac0a535d2cc8d7156d26332dc84fd21c4761afae40159282b0fbeb71cd5f6525b5a1c7a46e7813c8e6a11851592077570c1a001a73a7 WHIRLPOOL fb05b5d90f2542bb2e8fdc8c5df988338d5626bd48899697b8c16b9078ca71d2b2682c648f5f7c37ed8cd4a9966b1c6d5524823b34a4ac4cb9833a62325bb39c
+DIST tmate-2.2.0.tar.gz 610793 SHA256 932148b24d9c67e524ce744c9480b5603c9f976afb6ad7ca6d63246cd9e7fd3a SHA512 e9429833cdb8c28873d01bfc6b9a0d1241e30346ef1b3efae6763389c8444943b831283c1ea65e49c68d11936d6586186b38e0f7c14d373d9f63e841026c3338 WHIRLPOOL e1a2203e9a63466244d9d61e6e06d4dea77a9eb3e7069c1c87c115e5ce370e3b3b7ad2d7fc8b4c740030ee980b4d52833066f853a05d1c611a5d5c4810c89a36
+DIST tmate-2.2.1.tar.gz 610745 SHA256 d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305 SHA512 3d4ce7510cd8da39bc4fe63f2a64179846a813bb3560ca811d9e1e2a28b06d95a9033047a900d76bda069c249d7ebbe1143daa082b23212c5d32a50bf1819d2d WHIRLPOOL b0d90d28b263b1e7c6dbf755c7e2d5f37598e63d484189d04ee15d5b3f09f84efc9e22dd75576a627e8c27ef0dd4524d59ed882f8fff2efca43664fbe3772bf9
+EBUILD tmate-2.2.0-r1.ebuild 1192 SHA256 6a63e9604196599e8574f056bbf17e4a4ad0da4138bf8b2e934ca99942b87302 SHA512 d8342c3932a874f952f6ce3cd1467261255b215059125ff8c638ed3eef806112d3051a2d2f7302dd4f8897c4c6ea48c111d5ddb2266d01db5354a34dfe6ced85 WHIRLPOOL fb375eb4b952bbaec9552926946c4fa2489f9709d86a56d2dfb4bd5b3f119e58e24db22f75d2c7af3b7c13a96a8a1ae32c91ed6cf4b233f633edcbceacd52ee3
+EBUILD tmate-2.2.1.ebuild 1191 SHA256 99d3fa13cd564e251bfee12aa9fe4d85d681e1939f2ac61ae1960a0cb4a01a06 SHA512 159e4e6a3d6d49253bb4c78a285c714c30d93b5753c20880195be487ab04edbd42f8abaec277e0c8f2297302696148892cc364574d0b26445aeabd291be75b24 WHIRLPOOL 675f81f55316959e3f27cbdc44edb0dc1c5175cb49636ead2cd0cb6ea21369136ba00eaf273f9e4d143cdbecd8c745d3cbd0814e57a22bacf731aa3343b90d08
+MISC ChangeLog 959 SHA256 15c4438f27db67b88f6011e8a27150e19d394199a030b0daa04a7cf50019eb2d SHA512 d6f7f795c31cd77b266e688686e6527e711da6111c779ab1ca71669d7f69ae1d08481642537c6e728b7e39acf4f326039f2db50acfa9e8f9c46eb087a9f1e148 WHIRLPOOL c56e87f1542bba546756da12e020983303d25c85a29482660ebda0240b67aaa395d582f11e579e8ddccf454e86448ad81b64652edae0b9ed8e808e054d4239a6
+MISC metadata.xml 329 SHA256 413d3c68b5a276c1c23dde3332f4fcb12e44f76e84e46602f75249f5a53aaf0c SHA512 0097a64f483d6b8a24bfa5006f6df9dbeb697ee04152f5451111449d69d54813ff6f474e8fc91b33a2db2e0ba6ad85d25b359ef6684a74c884d2bcf16cfa9e75 WHIRLPOOL 24808518b3c24c10ddd7af8844a268be7a6b0e2145ea9c5b4969a1c4d4d408b937420614eb6add5d520bcdbaa2c75a6947e0ba70c0707e70832163686b9c00de
diff --git a/app-misc/tmate/metadata.xml b/app-misc/tmate/metadata.xml
new file mode 100644
index 000000000000..02e9da1a1d51
--- /dev/null
+++ b/app-misc/tmate/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dlan@gentoo.org</email>
+ <name>Yixun Lan</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tmate-io/tmate</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/tmate/tmate-2.2.0-r1.ebuild b/app-misc/tmate/tmate-2.2.0-r1.ebuild
new file mode 100644
index 000000000000..37f0c9a8caea
--- /dev/null
+++ b/app-misc/tmate/tmate-2.2.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit eutils autotools-utils
+
+DESCRIPTION="Instant terminal sharing"
+HOMEPAGE="http://tmate.io/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug static-libs"
+
+UPSTREAM_VER=0
+[[ -n ${UPSTREAM_VER} ]] && \
+ UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
+SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ ${UPSTREAM_PATCHSET_URI}"
+
+RDEPEND="
+ sys-libs/zlib[static-libs?]
+ sys-libs/libutempter[static-libs?]
+ dev-libs/openssl[static-libs?]
+ dev-libs/libevent[static-libs?]
+ dev-libs/msgpack[static-libs?]
+ >=net-libs/libssh-0.6.0[static-libs?]
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Upstream's patchset
+ if [[ -n ${UPSTREAM_VER} ]]; then
+ einfo "Try to apply tmate Upstream patch set"
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_OPTS="-p1" \
+ epatch "${WORKDIR}"/patches-upstream
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
diff --git a/app-misc/tmate/tmate-2.2.1.ebuild b/app-misc/tmate/tmate-2.2.1.ebuild
new file mode 100644
index 000000000000..0afcb394d3f3
--- /dev/null
+++ b/app-misc/tmate/tmate-2.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit eutils autotools-utils
+
+DESCRIPTION="Instant terminal sharing"
+HOMEPAGE="http://tmate.io/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug static-libs"
+
+UPSTREAM_VER=
+[[ -n ${UPSTREAM_VER} ]] && \
+ UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
+SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ ${UPSTREAM_PATCHSET_URI}"
+
+RDEPEND="
+ sys-libs/zlib[static-libs?]
+ sys-libs/libutempter[static-libs?]
+ dev-libs/openssl[static-libs?]
+ dev-libs/libevent[static-libs?]
+ dev-libs/msgpack[static-libs?]
+ >=net-libs/libssh-0.6.0[static-libs?]
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Upstream's patchset
+ if [[ -n ${UPSTREAM_VER} ]]; then
+ einfo "Try to apply tmate Upstream patch set"
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_OPTS="-p1" \
+ epatch "${WORKDIR}"/patches-upstream
+ fi
+
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ )
+ autotools-utils_src_configure
+}
diff --git a/app-misc/tmux-mem-cpu-load/Manifest b/app-misc/tmux-mem-cpu-load/Manifest
new file mode 100644
index 000000000000..d935a68551f6
--- /dev/null
+++ b/app-misc/tmux-mem-cpu-load/Manifest
@@ -0,0 +1,6 @@
+DIST tmux-mem-cpu-load-2.2.1.tar.gz 9893 SHA256 fd90bd8d66f275f4cae36dc5bd05a2826ca3be63a86b916ef7a2b9d956817b9d SHA512 44d677bbe9eb457b8857c603f469c46767878b2b8af8f169f2b01393ce65fc8da3c33288bc0743b3c2846b77de798437130a7676ca95c5cab52cd4166d9ded73 WHIRLPOOL 4512f46972cd7f3eb6c4881ac735b71a4084b3e8a66906d85d9761343617647477f8b4559860a9104b3eaecf2486aea5a2c8a7c7f0011c878c2114259eba5823
+EBUILD tmux-mem-cpu-load-2.2.1-r1.ebuild 627 SHA256 208714c7f0303ad3dbc0bd2c44641a111ca4bf53d493df0bf2cff42bf75ed4ca SHA512 3d66b62af62ec70c543d7dfca1d6fe09404daa3ccaaec915bd55b7c59b15dde8a2455c94040b1a745a4255ff7963a5a89ca581617d8738b7cd20c564f6c7e0fc WHIRLPOOL 71929d1e70c3e32f26db61a4e8e31e1d588d40581d80269f56c93d25b6bc1fed7be9681782068671e4b91cc7ae0fb325c208a3d7be88ce9b53b5e62520d1a85e
+EBUILD tmux-mem-cpu-load-9999.ebuild 588 SHA256 01b10fb0ba31cc2cb7d37fba3a4643b94dae03ddc4f402cffc481eccfa673aa1 SHA512 fd86b3f4890c292e4ff399ea07814bd5a53d39b7c8c9288957435ecde7455b7f510142b63a6c5d9db8176db489926975c6722dcc2d9a75128a71ec26248871e2 WHIRLPOOL 8a187497229659e78744e63ebb97b5cbc15463130a925c30fcde25bd4fa91c4fc7e2e3f24163048e0f0bb4fedd08181c75f0f57d96113e5b9ad401a204d16233
+MISC ChangeLog 3706 SHA256 3f9c0b4e63f08853a74a0becc33acd1bf4a905040ca2efdeca6882e7a3ba3ba2 SHA512 e3547ef529657a2821e525f609a17217ce7e6adfa5064d55bc31dbfc8ac9ddf3e0f88076fd77c6001680ba0256874d69e697bbb7ba7b60e809362a871c8db929 WHIRLPOOL 70a8a1ab21c3aa197a33af1dc45e4f9a494879bcc0ca1c80aaaaf2ed9be4815af065a33bc9ef0d040ab2a1ce30fa43e7e8c19fbdadcead8bdd1493ed17156750
+MISC ChangeLog-2015 1422 SHA256 c6311fdf0b4f71fc14dd95c99d14b26bac753cb7237b70b26080c3c8edff5fd3 SHA512 768b0f5644468f6b96e63519bf25e42050395f56be2f8d8bb8c52eb0fc875888f3d18f14c28b8e38a454e8488e63e59273839a1c69dfd644fd4136c2f2925597 WHIRLPOOL 88f12c4e13bc85ac540dfb0ccf37de1a0facb77b6685b7eaf9c7c4f62481cf54e27084e090cf39ae20d0a1c4047b1b7a36000c8b3a8f90635b45b29f92d133ea
+MISC metadata.xml 233 SHA256 3937e131d2337c411f311bbbb74f8424e719509a984f60849feb8ada7e8d0501 SHA512 51ddf069656109f26ff5d12f93672537e90f70a3df00f5ffc18f4b365bc41847e441dd7aad0c50e46fe84cdac5ca6dceca1bb96de365d508cfeef1dacbaa5a0e WHIRLPOOL 8ec6bdd8b7ca0279cead92f8347b6f64d275d063a84d665cd8b9898b7beb631624bbb4109ba9096c75aa187de434b0142e2fd69db5198fe7ff5fffe7c8b66444
diff --git a/app-misc/tmux-mem-cpu-load/metadata.xml b/app-misc/tmux-mem-cpu-load/metadata.xml
new file mode 100644
index 000000000000..334124a3a6e2
--- /dev/null
+++ b/app-misc/tmux-mem-cpu-load/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">thewtex/tmux-mem-cpu-load</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-2.2.1-r1.ebuild b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-2.2.1-r1.ebuild
new file mode 100644
index 000000000000..c7b3a3a921d7
--- /dev/null
+++ b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-2.2.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+IUSE=""
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/thewtex/tmux-mem-cpu-load.git"}
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="amd64 x86"
+ SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"
+HOMEPAGE="https://github.com/thewtex/tmux-mem-cpu-load/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README.rst
+}
diff --git a/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
new file mode 100644
index 000000000000..7b933a09dcc4
--- /dev/null
+++ b/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+IUSE=""
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/thewtex/tmux-mem-cpu-load.git"}
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"
+HOMEPAGE="https://github.com/thewtex/tmux-mem-cpu-load/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DOCS=( README.rst )
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
new file mode 100644
index 000000000000..71a6f6cbdaec
--- /dev/null
+++ b/app-misc/tmux/Manifest
@@ -0,0 +1,20 @@
+AUX tmux-2.0-flags.patch 584 SHA256 17dba9f233ca99e31d0619a47ca1cfd1f78bc429bfc9564e3fbc0174b39b61e7 SHA512 029a29182f5998c19883f24eab980d16f2e89c72f4150354e0a1101f9092491e836952fb9442e511508f47fd701c8cc8171f29c6ff097248894b6696d108f6dd WHIRLPOOL 026220084ff52382a168053b67bc5133b6d0d455059108ff85f58bb98eaab1656d1d76cd2c7814b9a7fde75e30cf79dfdf65c6c4429aa51852dfb9e6afef13e4
+AUX tmux-2.3-flags.patch 438 SHA256 db828f59a284863f23117aac61d2ce91b71aa19db13b20d2b58562bbdf7f3fb5 SHA512 2fed56091a92ba4e4c9e49144099d8a9dbdd2f157562f65b547a5ae864d82e7123acba46dd380bb9d470a5cb5f681702f5b6bdf230f411ed727095c0b9c38bfa WHIRLPOOL ea4f5ba6895ccb58f4405ac71d3deb9dd3c010b3af00891215916c8571ab911f6c011db82bf261425b112ac7bb0dfaa4fd54467b1ddf0e909c93a61cae82823b
+AUX tmux-2.3-screen_write_copy-fix.patch 1955 SHA256 e73ca06f091ea1e193609f8a20e023fa41da203fa628a9b7a8226ab64b09fb9a SHA512 c4ad6ce33dbf7ce47a811da1172a5c29475a7e2479f8e662d263a6206ff73781cce99018c976d151e8dec25e7f1cf07fa0c93bf0634f35484651d2ee17efaea8 WHIRLPOOL 95dfbff27cb55bf4738c281deb7ce6e476c33242f307ff73e8c35732d1de823d4c417cd240e9d180695beba4314f65297807db9bb5cdfd5738d84c8c64dd8b20
+AUX tmux-2.4-flags.patch 456 SHA256 be452decde6f8553b3a62e2061d3e8db1dfc4bd11e19cc82ccf80c215d3b04d9 SHA512 505d5ec4fa1d7844870c67aedccac3a147db1971464fc21d19319bb343fb6fd73b696e85298f8592e46900774b35b250cc53841b05514333c44c3e973bcdb860 WHIRLPOOL db5c80e995edf44fd39e03eb044fd0e51df0b3dba1063add54febbc28f226dfb8dcd341a31b616ddc208fad7b5ce88223245eaa0a29bf025e27d24652cc8f272
+AUX tmux.vim 55 SHA256 ab10a475aa32e2aacba7b47e9ca38057ee2e447a953497a0349f1640167be6b7 SHA512 5307bf7d27209ce143d7a57856440ba0462783f5b047b00ec5a5046f1b72110e62ef8bca47b67807cb9e9ffcede06c512f6136d825260f735cc32a63706c9e5e WHIRLPOOL fa0019bcfcbe46aa9d383f8778ea4b7d8ec94f7b58f9c38b07c9b6649ea17363f2436e684d83c0c262711e30b62f90fe7f65d87e3a2c9dc5b391633f75a5d7ca
+DIST tmux-2.2.tar.gz 466852 SHA256 bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf WHIRLPOOL 2e44582b994f3fe919f4ee7543f25e3fb02cc975d053b0c63bcd858a54fe3125ffe192cf6f8c7ae0345d90e8086d86930d668b29becdb4e0376579ef02e7034f
+DIST tmux-2.3.tar.gz 473944 SHA256 55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b SHA512 521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af WHIRLPOOL de482076dfdb15e5ef2dcaebf60e05069bf847a30162a098bf11573f09cc996e35b9ffcd3a2784331b6fc59ae0b9bc58cbe80360a7dd844eb94ff25e546eacf2
+DIST tmux-2.5.tar.gz 475717 SHA256 ae135ec37c1bf6b7750a84e3a35e93d91033a806943e034521c8af51b12d95df SHA512 c0e8365a553d034e347f2f7a0d64f04e2be4307a75a9f72c8218fc56b72e531f3f37fe4a8f0e8d70801f5f62ee250ab7e9978abd6d101d273f76b4a1a92b08e0 WHIRLPOOL d56576291a98a952344857b10150b2d19f7b8b98eb5c17d70d7e4d6f28b198f622f0a3c8e5211a9c1bf2de77b137496acbadb7670d63e0653f2c832ce7554e1d
+DIST tmux-2.6.tar.gz 481000 SHA256 b17cd170a94d7b58c0698752e1f4f263ab6dc47425230df7e53a6435cc7cd7e8 SHA512 20a1ae8b8494c5b42757902322f3877731c2cc330c9c00f097a317785d25252b7ebaa8bbab9fc17843299e80cb2914aaac0a664715a85c50f7ea489d23753832 WHIRLPOOL 03406ce2bd86a3cabaccea0dbe5c2ed8c9e97aa66ae492c9682d0b4a64a76210adf12b6c163b45212e4932a555912b3e6841c268e7710f49136dd7866e53d416
+DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 SHA256 a0905c595fec7f0258fba5466315d42d67eca3bd2d3b12f4af8936d7f168b6c6 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 WHIRLPOOL aa83ea77c084e643f2cbf74ddf10bf6e43304b0a7c1f6af24b153844ad01732af8f45de0d8a39093f11be19ff9af20116f4aa7b9c750f3452525fcd7b31a3d8a
+DIST tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca 5626 SHA256 040cbb7ce19f5a256ae400061d310e0f64f58cbc525402043708b59546af2462 SHA512 956b2c1ca08e3c92aa39c9df54fbe1c661d0e076c91628c4b88f81f97104241b6505412fa0e21a681adc231eb2e6e7feee850474d4277812d186548bbb05f6d1 WHIRLPOOL 3eaa20479fccf7e20dbd7ccb8669bd8c47da90f7218fdb386fcd150c1223cc7300d68f880baa706bbdb7abf54394d44fd80479ba3fae934de9b53f40acc6286a
+EBUILD tmux-2.2.ebuild 2126 SHA256 1b7733272378add0b3b4a6391070dbc424358fbe905d4be0f0b0e2890c9db00e SHA512 cd6f0142fefd2f72d92ed12a68f812e8fec73254c1e729edf4fc9326f85e5f8be6b1253b88a5e927d6633dcd1f828385e10b643818f167319cc073276be5dec5 WHIRLPOOL f1d1df0013e69c31cff8fb6e5f45c656d9c1392763de4bba9e23e78c876a4ca52cf246b3cdc3fa9be98dd8a35f004aaf3758cdb7ca6656167113e40ca741540f
+EBUILD tmux-2.3-r1.ebuild 2234 SHA256 4520d131331ff7e3252c41b1f1b23c0ef54e9e646bf1292da97d494acf9f18b3 SHA512 2dd1c25573817c6ea2bb2667a0f9f3fb63d46ce547e0a3487dd62c7bcdfbd5cb1cc610d9d324e816eeed8ffa5d66212b80a1a5caaa477ee7baa6fa2b629342c0 WHIRLPOOL 37d89d9e690869fbda8cc44bbcf48637875e2cccec46f8709249bb750cd99da9f4486bde7ac2566fd74d966b2887f176943e0fb1a1aede4fc67c598cadf9b2b2
+EBUILD tmux-2.5-r2.ebuild 2073 SHA256 c1a0d91f81a179c0d37083425580fa7a4e0781f9cbb688f6ed34242b3bdb173e SHA512 fa557f19858c312918d6190cbd029dcbfec05a494236027e3be78bd8be8843823f5112150387986709881577b0bb3fc66bba42a4001729456136dd89739844d5 WHIRLPOOL a0d6f3f70703c9a542be1ad054e6c0bee4cb19b62c606c45d3ab19585c67335bb53144c515eeb73754a1466c4702a605bcdfea9ecb6408701cded7c4cb9a523b
+EBUILD tmux-2.5.ebuild 2263 SHA256 ecb390bc782d86ad5683a275beea9f4973d284835ec0bcd7a12ffe5460d10589 SHA512 d5abbfd108431a47bab4195e9397d0b2748fd59c0036c0c71caa34b741069eb0a5a3d14fe98d0874d312e740a5831a7df3aecc0de2eb3163842663a94638a389 WHIRLPOOL ab2379833a33ca4c5bfa0a2480eb25b55449cceeb312ffce735b753ceed3497f74308e50d8866c90d0e9f0b2bb5e4f4e557f2657c392dcf3eccb40362480e2e6
+EBUILD tmux-2.6.ebuild 2148 SHA256 bc032237fc5cc7a8960b0c889337c47d0ecc30092f1068d9fc682dece7de98cd SHA512 46b4fc09f9ca6c65cf50c3940ade441e0adbadc72fd3a06d617af996d1f6ee3017b04c89682dd69eeb6091d4ad614b53723f7b71ba16bfac4e4d5be374a1c9c3 WHIRLPOOL e8ba8ec927fe8df5666847a000a3112e424e89874ffe017f729702e26f93e6790a77ca6711bbe3bcc56e5a6c6c6b9523d030fee454b1148ac35fddc885ac8b94
+EBUILD tmux-9999.ebuild 2346 SHA256 300add86406140cd86e2545c172f5e82a23a223b3ba57b5df4038c1303860ee8 SHA512 de07cdc5030c2ca65093f39da2096a95f7646952bd1ce3f88b80168ba333e331584cc325ac2c4e149896b810ca878c87a02fa74b4e1e360b6e8c07c216205aa3 WHIRLPOOL 5218036a7955ccf7618cd93a7fa4c0792263121c2556178c7c973fed8def061e21fe57f89cd16e91ec04132489ded019abcab3ec566e929d74bd779c3886402a
+MISC ChangeLog 11111 SHA256 40d6a76372e83b25f367ffb20c6d08611f58362b47c42336b566569f4eb9e9b5 SHA512 c17306d91735003e437466a8b1ff2b9604e80895ac8ec0de0da287a9ec54e53745dddba9a3d2c6ac08ef64e374d4dad308f88570d2d66b2c5f9f7f8ea071fcd7 WHIRLPOOL e0073f1636a3efffaea27d61990c0ac09a19c9a4e0038138aa3622fa952eb438a290d649a61c0f090ca6a17f4de53fa9395362ca348eab310b90f425ffc8dbc0
+MISC ChangeLog-2015 13810 SHA256 cbb95f774d96b6b2f12e4421bb5ee3b75820f4ab9ff571f9a47420fd3928daa2 SHA512 7a14a2e19346013beadd9bade2366c7168ec12b54ecf2429ded745bddea83e7ea228a4bb4f729254db523d7c6c5ba2cc9e5f2a4fc771948ff6d624d6a9d3be08 WHIRLPOOL e9e3694e0f4bbff32cb1e44585faed0944440f5c39477594fc3ee1a62cf7f6b1dd453e7789083e99d6a451b8c6a9bbeb39fa373b65000988ee5c64aef899d010
+MISC metadata.xml 708 SHA256 f2ec9cd1fad4645b66650e9b8986eea15a904d965e697eee47221cfce6a7313e SHA512 2d676e2d9a5427a287d7dbe0d73e6ea96b2eba3328c8380a503e814e263a5c6ea5b4bf33aef7c9e0840f37d75b40e5e4a4feca5cc07c38de50b35e9da497f8ce WHIRLPOOL 129dc87a569a00d729b5d6c4c6e034ba093ea2beb79d0fd5e0110ee069077ab708c1bd0786fcb9f4676afada082fd0030620f9fe09ac677ec34a90db7afe5dcc
diff --git a/app-misc/tmux/files/tmux-2.0-flags.patch b/app-misc/tmux/files/tmux-2.0-flags.patch
new file mode 100644
index 000000000000..d2c40e04b788
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.0-flags.patch
@@ -0,0 +1,18 @@
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 63e20b1..a2fec1e 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -25,9 +25,8 @@ endif
+ # Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
+ # different flags.
+ if IS_GCC
+-CFLAGS += -std=gnu99 -O2
++CFLAGS += -std=gnu99
+ if IS_DEBUG
+-CFLAGS += -g
+ CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
+ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
+ CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
diff --git a/app-misc/tmux/files/tmux-2.3-flags.patch b/app-misc/tmux/files/tmux-2.3-flags.patch
new file mode 100644
index 000000000000..6fa66b508333
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.3-flags.patch
@@ -0,0 +1,15 @@
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+--- tmux-2.3/Makefile.am
++++ tmux-2.3/Makefile.am
+@@ -23,9 +23,8 @@
+
+ # Set flags for gcc.
+ if IS_GCC
+-CFLAGS += -std=gnu99 -O2
++CFLAGS += -std=gnu99
+ if IS_DEBUG
+-CFLAGS += -g
+ CFLAGS += -Wno-long-long -Wall -W -Wformat=2
+ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
+ CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
diff --git a/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch b/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch
new file mode 100644
index 000000000000..b8383274da2a
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch
@@ -0,0 +1,63 @@
+From 30086e504c8a5389b96b72b81ac8dbefe19e0cf1 Mon Sep 17 00:00:00 2001
+From: nicm <nicm>
+Date: Wed, 5 Oct 2016 22:00:29 +0000
+Subject: [PATCH] screen_write_copy tried to be clever and clear the line if it
+ reached the end of the source, but it was wrong and causes problems that are
+ only showing up now we are more aggressive about skipping redundant screen
+ updates. Remove the optimization entirely as more trouble than it is worth to
+ fix (and it'll have to go when BCE is done anyway).
+
+---
+ screen-write.c | 34 +++++++---------------------------
+ 1 file changed, 7 insertions(+), 27 deletions(-)
+
+diff --git a/screen-write.c b/screen-write.c
+index 3977517..3a1fc8c 100644
+--- a/screen-write.c
++++ b/screen-write.c
+@@ -394,38 +394,18 @@ screen_write_copy(struct screen_write_ctx *ctx, struct screen *src, u_int px,
+ {
+ struct screen *s = ctx->s;
+ struct grid *gd = src->grid;
+- struct grid_line *gl;
+ struct grid_cell gc;
+- u_int xx, yy, cx, cy, ax, bx;
++ u_int xx, yy, cx, cy;
+
+ cx = s->cx;
+ cy = s->cy;
++
+ for (yy = py; yy < py + ny; yy++) {
+- gl = &gd->linedata[yy];
+- if (yy < gd->hsize + gd->sy) {
+- /*
+- * Find start and end position and copy between
+- * them. Limit to the real end of the line then use a
+- * clear EOL only if copying to the end, otherwise
+- * could overwrite whatever is there already.
+- */
+- if (px > gl->cellsize)
+- ax = gl->cellsize;
+- else
+- ax = px;
+- if (px + nx == gd->sx && px + nx > gl->cellsize)
+- bx = gl->cellsize;
+- else
+- bx = px + nx;
+-
+- for (xx = ax; xx < bx; xx++) {
+- grid_get_cell(gd, xx, yy, &gc);
+- screen_write_cell(ctx, &gc);
+- }
+- if (px + nx == gd->sx && px + nx > gl->cellsize)
+- screen_write_clearendofline(ctx);
+- } else
+- screen_write_clearline(ctx);
++ for (xx = px; xx < px + nx; xx++) {
++ grid_get_cell(gd, xx, yy, &gc);
++ screen_write_cell(ctx, &gc);
++ }
++
+ cy++;
+ screen_write_cursormove(ctx, cx, cy);
+ }
diff --git a/app-misc/tmux/files/tmux-2.4-flags.patch b/app-misc/tmux/files/tmux-2.4-flags.patch
new file mode 100644
index 000000000000..5ef82a3fd5e0
--- /dev/null
+++ b/app-misc/tmux/files/tmux-2.4-flags.patch
@@ -0,0 +1,15 @@
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+--- tmux-2.4/Makefile.am
++++ tmux-2.4/Makefile.am
+@@ -17,9 +17,8 @@
+
+ # Set flags for gcc.
+ if IS_GCC
+-AM_CFLAGS += -std=gnu99 -O2
++AM_CFLAGS += -std=gnu99
+ if IS_DEBUG
+-AM_CFLAGS += -g
+ AM_CFLAGS += -Wno-long-long -Wall -W -Wformat=2
+ AM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
+ AM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare
diff --git a/app-misc/tmux/files/tmux.vim b/app-misc/tmux/files/tmux.vim
new file mode 100644
index 000000000000..baac50adab16
--- /dev/null
+++ b/app-misc/tmux/files/tmux.vim
@@ -0,0 +1 @@
+au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
diff --git a/app-misc/tmux/metadata.xml b/app-misc/tmux/metadata.xml
new file mode 100644
index 000000000000..b1ac7e306662
--- /dev/null
+++ b/app-misc/tmux/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <use>
+ <flag name="utempter">Include libutempter support</flag>
+ </use>
+ <longdescription>
+ tmux is a "terminal multiplexer", it enables a number of terminals
+ (or windows) to be accessed and controlled from a single terminal.
+ tmux is intended to be a simple, modern, BSD-licensed alternative to
+ programs such as <pkg>app-misc/screen</pkg>.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">tmux/tmux</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/tmux/tmux-2.2.ebuild b/app-misc/tmux/tmux-2.2.ebuild
new file mode 100644
index 000000000000..fdc80fec9998
--- /dev/null
+++ b/app-misc/tmux/tmux-2.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ >=dev-libs/libevent-2.1.5-r4:=
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+ sys-libs/ncurses:0="
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+DOCS=( CHANGES FAQ README TODO )
+
+PATCHES=( "${FILESDIR}"/${PN}-2.0-flags.patch )
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug) \
+ $(use_enable utempter)
+}
+
+src_install() {
+ default
+
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/tmux.vim
+ fi
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
diff --git a/app-misc/tmux/tmux-2.3-r1.ebuild b/app-misc/tmux/tmux-2.3-r1.ebuild
new file mode 100644
index 000000000000..1c3c6889b8b4
--- /dev/null
+++ b/app-misc/tmux/tmux-2.3-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ >=dev-libs/libevent-2.1.5-r4:=
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+ sys-libs/ncurses:0="
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+DOCS=( CHANGES FAQ README TODO )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3-flags.patch
+
+ # usptream fixes (can be removed with next version bump)
+ "${FILESDIR}"/${P}-screen_write_copy-fix.patch
+)
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sysconfdir="${EPREFIX}"/etc \
+ $(use_enable debug) \
+ $(use_enable utempter)
+}
+
+src_install() {
+ default
+
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/tmux.vim
+ fi
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
diff --git a/app-misc/tmux/tmux-2.5-r2.ebuild b/app-misc/tmux/tmux-2.5-r2.ebuild
new file mode 100644
index 000000000000..092a05aeac5f
--- /dev/null
+++ b/app-misc/tmux/tmux-2.5-r2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ dev-libs/libevent:0=
+ sys-libs/ncurses:0=
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )"
+
+DEPEND="
+ ${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="
+ ${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ app-vim/vim-tmux
+ )"
+
+DOCS=( CHANGES FAQ README TODO example_tmux.conf )
+
+PATCHES=(
+ # usptream fixes (can be removed with next version bump)
+ "${FILESDIR}/${PN}-2.4-flags.patch"
+)
+
+S="${WORKDIR}/${P/_/-}"
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm -v aclocal.m4 || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc
+ $(use_enable debug)
+ $(use_enable utempter)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
diff --git a/app-misc/tmux/tmux-2.5.ebuild b/app-misc/tmux/tmux-2.5.ebuild
new file mode 100644
index 000000000000..021ab3b915f0
--- /dev/null
+++ b/app-misc/tmux/tmux-2.5.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ >=dev-libs/libevent-2.1.5-r4
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+ sys-libs/ncurses:0="
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+DOCS=( CHANGES FAQ README TODO )
+
+S="${WORKDIR}/${P/_/-}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4-flags.patch
+
+ # usptream fixes (can be removed with next version bump)
+)
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc
+ $(use_enable debug)
+ $(use_enable utempter)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+
+ if use vim-syntax; then
+ insinto /usr/share/vim/vimfiles/ftdetect
+ doins "${FILESDIR}"/tmux.vim
+ fi
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
diff --git a/app-misc/tmux/tmux-2.6.ebuild b/app-misc/tmux/tmux-2.6.ebuild
new file mode 100644
index 000000000000..5dd2b5a13db3
--- /dev/null
+++ b/app-misc/tmux/tmux-2.6.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ dev-libs/libevent:0=
+ sys-libs/ncurses:0=
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )
+"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+DOCS=( CHANGES README TODO )
+
+S="${WORKDIR}/${P/_/-}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.4-flags.patch
+
+ # usptream fixes (can be removed with next version bump)
+)
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc
+ $(use_enable debug)
+ $(use_enable utempter)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild
new file mode 100644
index 000000000000..9e06490e5cc9
--- /dev/null
+++ b/app-misc/tmux/tmux-9999.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools git-r3 flag-o-matic versionator
+
+DESCRIPTION="Terminal multiplexer"
+HOMEPAGE="http://tmux.github.io/"
+SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b
+vim-syntax? ( https://raw.githubusercontent.com/keith/tmux.vim/95f6126c187667cc7f9c573c45c3b356cf69f4ca/syntax/tmux.vim -> tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca )"
+EGIT_REPO_URI="https://github.com/tmux/tmux.git"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
+
+CDEPEND="
+ dev-libs/libevent:0=
+ sys-libs/ncurses:0=
+ utempter? (
+ kernel_linux? ( sys-libs/libutempter )
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
+ )"
+
+DEPEND="
+ ${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="
+ ${CDEPEND}
+ selinux? ( sec-policy/selinux-screen )
+ vim-syntax? (
+ || (
+ app-editors/vim
+ app-editors/gvim
+ )
+ )"
+
+DOCS=( CHANGES README TODO )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.4-flags.patch"
+
+ # usptream fixes (can be removed with next version bump)
+)
+
+S="${WORKDIR}/${P/_/-}"
+
+src_prepare() {
+ # bug 438558
+ # 1.7 segfaults when entering copy mode if compiled with -Os
+ replace-flags -Os -O2
+
+ # regenerate aclocal.m4 to support earlier automake versions
+ rm aclocal.m4 || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc
+ $(use_enable debug)
+ $(use_enable utempter)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ einstalldocs
+
+ dodoc example_tmux.conf
+ docompress -x /usr/share/doc/${PF}/example_tmux.conf
+}
+
+pkg_postinst() {
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
+ echo
+ ewarn "Some configuration options changed in this release."
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
+ ewarn
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
+ ewarn "older, running tmux server instances. You'll have to use an existing client to"
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
+ ewarn "to temporarily downgrade to access them."
+ echo
+ fi
+}
diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest
new file mode 100644
index 000000000000..6fe779022b1a
--- /dev/null
+++ b/app-misc/todo/Manifest
@@ -0,0 +1,5 @@
+AUX todo-2.10-fix-bash-completion.patch 344 SHA256 7540dfc276d33c8e355bd32729f27282111932935e94c595336a1ce67291060b SHA512 eb7bf79eabc912f3a5ca211ff1c4d5ac09cb42b2a8719a8c60a1f0880d89703afbe7073a640ac1b8ef8bf0d8c5ec8e2891faf924123d3bbe04f37479eadac95d WHIRLPOOL 5d45ec930f5ccffc1004790672cfd348857faafd6962be9ed948f73d86592534af37bf75d54ee3a4eeb8baf7ac41b3e2971546a387b67526195e8dd2617874fb
+DIST todo-2.10.tar.gz 56509 SHA256 55b6b86a970c25efcd05b24b37e8141bab623ddfa681638d49fd6fd6907eda2c SHA512 b14d9d13948836d971f72b941770e8e2c59d171d35f074205900619c5c3efd7ca0a482887046c1865890afb6595fe27c69677c54ea5824163d291e16fa5329d3 WHIRLPOOL 4282bad14c1ffac5642577ed9de4bec273eb56be28b9a019e06b11d181b56bef708167eef31fafaec607a502edd1f4edf82b1d5ba0eb4df4c27e01944f9795d6
+EBUILD todo-2.10-r1.ebuild 779 SHA256 b140e552a73ef9f257ebbfec8dc6c7cf56fe9c554bc37ed73fc06458025ede79 SHA512 a18ba66f6d17a427d9e74f7678c079398809ee631df2a83b602c2a3427c26a07ea0b97bf35f465a2c757d2779cc304dec79b04489f13ee933f8da5615a25749e WHIRLPOOL d9febef1f06035b4e855ea9299a4665c73c32a3e9475fe213083833ddb6747a81b2ff27cb3d510a1d5d9a04b49c02d68ecbd41538d0abe523e0a1dbeb306110c
+EBUILD todo-2.10.ebuild 722 SHA256 40545e4fb73b611a03ee626c2b653fd1cc5542cd5b93b5558542293976fbdc1f SHA512 3b9706aabbb89128698f0ca56c6d22a4e7e2234a2f4149971ee133120f4076f1e82df898519307792248a3c5c3b3635e3b70ee9a8047cf84635f769afa18ceee WHIRLPOOL 2a71b2547b627549827b99b2596b41329b5e38a763462c62a14d1af4a174d79ed8fcaaf1f69bef85f814e09f177a3241b4e5d0b38942fde0eb3c3ccb30c24dd1
+MISC metadata.xml 340 SHA256 e710cefee0af20c524b7617d64903c1e849338d8c69968d2dbdb0213eeff89be SHA512 ff000ddeb9f4b80721053c17a66f5d9792b601c4710a3577ae86fc09ddd3456b934aecad94297b5985338a87ace1b59288394fcef05bd002cd2180ccf6f59a84 WHIRLPOOL ff9c68b1dfbb148b32ebdf99277fc88950c813589b33bfbb1d160331bf66b67e47d9437c1b6baa7cdd33cf04a252574a7b044fc217de3c740da1f44741442674
diff --git a/app-misc/todo/files/todo-2.10-fix-bash-completion.patch b/app-misc/todo/files/todo-2.10-fix-bash-completion.patch
new file mode 100644
index 000000000000..7e6de2f10568
--- /dev/null
+++ b/app-misc/todo/files/todo-2.10-fix-bash-completion.patch
@@ -0,0 +1,12 @@
+--- ./todo_completion 2017-04-08 15:18:23.102736966 +0200
++++ ./todo_completion 2017-04-08 15:18:56.839725605 +0200
+@@ -85,6 +85,9 @@
+ }
+ complete -F _todo todo.sh
+
++# Gentoo bug 614400
++complete -F _todo todotxt
++
+ # If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable
+ # completion for it, too:
+ #complete -F _todo t
diff --git a/app-misc/todo/metadata.xml b/app-misc/todo/metadata.xml
new file mode 100644
index 000000000000..18711a51920c
--- /dev/null
+++ b/app-misc/todo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ginatrapani/todo.txt-cli</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/todo/todo-2.10-r1.ebuild b/app-misc/todo/todo-2.10-r1.ebuild
new file mode 100644
index 000000000000..5fa2cd242a92
--- /dev/null
+++ b/app-misc/todo/todo-2.10-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="A CLI-based TODO list manager"
+HOMEPAGE="http://todotxt.com/"
+SRC_URI="https://github.com/ginatrapani/${PN}.txt-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="app-shells/bash"
+
+PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
+
+src_test() {
+ make test || die "tests failed"
+}
+
+src_install() {
+ dobin "${PN}.sh"
+ dosym "/usr/bin/${PN}.sh" "/usr/bin/${PN}txt"
+ newbashcomp "${PN}_completion" "${PN}.sh"
+ bashcomp_alias "${PN}.sh" "${PN}txt"
+ einstalldocs
+}
diff --git a/app-misc/todo/todo-2.10.ebuild b/app-misc/todo/todo-2.10.ebuild
new file mode 100644
index 000000000000..4c640236c3e0
--- /dev/null
+++ b/app-misc/todo/todo-2.10.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="A CLI-based TODO list manager"
+HOMEPAGE="http://todotxt.com/"
+SRC_URI="https://github.com/ginatrapani/${PN}.txt-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="app-shells/bash"
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
+
+src_test() {
+ make test || die "tests failed"
+}
+
+src_install() {
+ # Renaming occur due to a clash with another package.
+ # See bug 610862.
+ newbin "${PN}.sh" "${PN}txt"
+ newbashcomp "${PN}_completion" "${PN}txt"
+ einstalldocs
+}
diff --git a/app-misc/toilet/Manifest b/app-misc/toilet/Manifest
new file mode 100644
index 000000000000..d634633c595b
--- /dev/null
+++ b/app-misc/toilet/Manifest
@@ -0,0 +1,5 @@
+DIST toilet-0.3.tar.gz 864880 SHA256 89d4b530c394313cc3f3a4e07a7394fa82a6091f44df44dfcd0ebcb3300a81de SHA512 64b9389562a51e7dba6e3f1dd27c5340f90df25d8fbf1e041b539f5243b5b6b7af1ebf033a511053ad72a73908d496a1f3d14c4ac656425aefb8364a0664ceed WHIRLPOOL 0c85602851649e3168706063bdb772820e6b4b15f16a982ace772499fbbdddab5baaf8cf6d1cdd1d352dc8a4de667a756c75b22fe270ccb9d3325decba8b9e0c
+EBUILD toilet-0.3.ebuild 661 SHA256 abb478ebc423f7fd01aec6b6ac918c6945a597eb869734f380317a8b60f0793d SHA512 cbb0a9290afd871c54351f9a9a9d900fa840f3985abc1dfa0fa0f44762a2edebb1f0a53a1f3cdce4c4ad024c0e9e0e877351952bdfd69b36a78906e526c74884 WHIRLPOOL e274f3e49c78c0bf63486bd7340818e6afbfdfb12a93ff969bc7261d9cccceb8c315a8281c09a1e5137068ff2c4a9ae7464920ac6856d5c79b79ab071c99cb61
+MISC ChangeLog 2169 SHA256 530b80b1ded83a1c0795fd40100f6f9dffab20f829da08290177026c499f0f37 SHA512 b7650a70e7e56c870cb3e9f2b178628c61bcbe20b581f6d3c379a40576edcff998532a4e524deeffdc7b2d447a30a426a1b1a514e4d9b690439532a28fa28422 WHIRLPOOL 522e3b425910c014c2a7664975b8d472f08c71ef7c72adae4b077459650f3b35aea0416e66e0a3a9fa06a0e029d6b3f48bd87d3738a988fabbdbf7f13da37ff9
+MISC ChangeLog-2015 3678 SHA256 90884e9e1a32b86ad8e4c7ba34e9024b6a24e8897b724aa36784f2156ff27193 SHA512 c1517d429a4685686dbfe8b8f40b55e53b027d0a5f1bc23d06f3afc35f32666c3ccbe767b8471928d4070e2a5dedca58452e742adf8ee73144253d0afc04485d WHIRLPOOL 8641cc2e4f011636ab88754c6972c3608f462edd23978b36db1784926cc16145534b6fca95fbf01495976ef3f784f1c85a759edbd39af01739358852e15bc804
+MISC metadata.xml 249 SHA256 f40c95c3bbe8f40c2d7aa7e2b29f4544b1000181754604847733c4a55ba812de SHA512 01701bb0df421af74cc138746d8846d9eec35835e817789624027ed0b48504e72a3484cece45950f005d39e5e23eb45f595b89085878f28a273e883af1673be3 WHIRLPOOL 12bdb0dcd06f3b4649af1ba006625b802a480f19eb6a316e0f9f6964f206f5c2e0f055695290a9a9c5d2d654de49b76fc3783db4782e987571a74046f10e5f5d
diff --git a/app-misc/toilet/metadata.xml b/app-misc/toilet/metadata.xml
new file mode 100644
index 000000000000..57798f078517
--- /dev/null
+++ b/app-misc/toilet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/toilet/toilet-0.3.ebuild b/app-misc/toilet/toilet-0.3.ebuild
new file mode 100644
index 000000000000..614b0cac935e
--- /dev/null
+++ b/app-misc/toilet/toilet-0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="The Other Implementations letters. Figlet replacement"
+HOMEPAGE="http://caca.zoy.org/wiki/toilet"
+SRC_URI="http://caca.zoy.org/raw-attachment/wiki/${PN}/${P}.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=media-libs/libcaca-0.99_beta18"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e 's:-g -O2 -fno-strength-reduce -fomit-frame-pointer::' \
+ configure || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog NEWS README TODO
+}
diff --git a/app-misc/towitoko/Manifest b/app-misc/towitoko/Manifest
new file mode 100644
index 000000000000..915b2772d791
--- /dev/null
+++ b/app-misc/towitoko/Manifest
@@ -0,0 +1,5 @@
+DIST towitoko-2.0.7.tar.gz 280177 SHA256 28f36954b5225dbb1729728fadaa723f49e141c5a4b77dc75d9558d787c8e660 SHA512 e2e21bda3b1dad55dee1cfb4063e114394a21973b4b2409b9dcff1479fc312fb93bf6e634d38e1f7a30e6f835d87af8268a478b534f65c916eeb13d5dbd07b86 WHIRLPOOL d3ff6aaa3c33570389ebef6d1d0648d55ea1653227e5fb0128a48f11dec5b3d42f7b9e46bdcee7c45f038c0acff66b67fe9d33ed9c7c5f8ed380e2a8a128fd19
+EBUILD towitoko-2.0.7-r2.ebuild 815 SHA256 dbf365fd5481450204363f4cb07c513fe9c351c690f68ca21ed9bb38fded8915 SHA512 79fc932506b741a364fb6aafc907a62fc42667627959f310e6d4ef0956cec2096c037a6fe3723c050e51ab7b60ac80d801dda4ba41391a0a9aebbb09329d6447 WHIRLPOOL 1877ec16efb4a2e7c815438bde24dc8b71c3bc7596ce845d9bc616a69177706000d9e10a83cae98b129195555df7b31024528d8d634e9cc72f31896157af80b3
+MISC ChangeLog 2952 SHA256 e3f10e4c9a02f93fab7bb37467fd7ad213916d276f5a209c7c35fa7041f07c1c SHA512 17ca2b08c284b2801cb9817e8e4f8a6d36c73c848f36ddd34654108c976d5220c02300799633e7281178d13f1d65156883c22b7f802e66309801bb461206c120 WHIRLPOOL 13c9250f01b9efbbcc4cebf19f0d35a38e725d281ae0d5da4fbf9337b400ccc8101fc34cfa0d8ad775866351e89adba658659e958bef1bec3ec556f82d8b15af
+MISC ChangeLog-2015 2247 SHA256 c7e3bb3ee585c79a47f286b66f47a3b62cba0ffe4798535d9c1dcf4a1a7275df SHA512 75f82a6d2f648fca588239cef30413e6ef31e4826e44fe284a95eac8d40133e12c8e1f42a87fd5e70725eb0779a89431e29014f437c39b991551722e5873c4c7 WHIRLPOOL e0667cf2e573016c8dfb19d7dec604cfdcfabf6bb9c78451bfc7735a99d85a1971be16ec5e3bcbce19a41cee660749069a9b237d1f9cca6eaa3782326d8a2807
+MISC metadata.xml 278 SHA256 7fc740599d733f85ddcff42a6bb1c89db7a37c3d28a206912b6a8d00c0ee096a SHA512 4d69e222be58da2fefd590fa9cdfa2dd6e7108c3f663fb0f491d49609b0ebb8e10b4dccf22966d09f83b81074f0543723837b60015e7d4102b7a7085744c770a WHIRLPOOL 5d4e65d9d53430712d8f8054e22005c36651a7276371a8dc9d203aba21addb446a694542b699ada0fe834a068c6db0b1614c48d0f0ce833d8ea80d37ebc5729d
diff --git a/app-misc/towitoko/metadata.xml b/app-misc/towitoko/metadata.xml
new file mode 100644
index 000000000000..7fbec1b41d1c
--- /dev/null
+++ b/app-misc/towitoko/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<use>
+ <flag name="moneyplex">Makes libtowitoko work for the moneyplex home banking
+ software</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/towitoko/towitoko-2.0.7-r2.ebuild b/app-misc/towitoko/towitoko-2.0.7-r2.ebuild
new file mode 100644
index 000000000000..9ba4886366b9
--- /dev/null
+++ b/app-misc/towitoko/towitoko-2.0.7-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+IUSE="moneyplex"
+
+DESCRIPTION="Provides a driver for using Towitoko smartcard readers under UNIX environment"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="https://www.gentoo.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ppc x86"
+
+src_compile() {
+ local myconf
+
+ myconf=""
+ use moneyplex && myconf="${myconf} --disable-atr-check"
+
+ econf \
+ $(use_enable moneyplex win32-com) \
+ ${myconf} || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
+
+pkg_postinst() {
+ if ! use moneyplex
+ then
+ elog "If you want to use the moneyplex home banking software from"
+ elog "http://www.matrica.de"
+ elog "then please re-emerge this package with 'moneyplex' in USE"
+ fi
+}
diff --git a/app-misc/tpconfig/Manifest b/app-misc/tpconfig/Manifest
new file mode 100644
index 000000000000..f74403b1c83c
--- /dev/null
+++ b/app-misc/tpconfig/Manifest
@@ -0,0 +1,8 @@
+AUX tpconfig 426 SHA256 8754b87fb2774b93c074bbd90685fa2aeaf18bdc31b95d55696b77b9924ae7a8 SHA512 09c0a954b765404eeee569040b832883f85b2451c41ca4465ef5febf80745fb9a65fdabadff9967f014d064134c353c66953c26e7295b4ced3dbc172975d536e WHIRLPOOL f3507b5de4fe250d72a93297aeb2be910bebb4803c6ea0240902ff45c19a243ce124bceae5d6710e06fe0428e786d1bca66551af40ae0b6d19934d8546e1b059
+AUX tpconfig.conf 132 SHA256 702320417b7f236f03c3103d2adf387703d0540e5a178e16aeb6345df8bcb273 SHA512 314f05fb3211790e9c5de47f99d14bcf96788f8baf1d5258eb17d71dea05f0bde7b249a99321f472e4339c066705d9f18b529f97b1c03a72da4f21c14b91f77a WHIRLPOOL 2deea1686363b4890725a19b883a1ad6bad78ac4d17592fa912424e1b6522e1a2f8b93603670f41a57ea7e8d4ee8f559621c7d3b74fb26b8998d90f6b6dbf14b
+DIST tpconfig-3.1.3.tar.gz 106789 SHA256 3413a9cc735908b1aed6968afc18768daba6d2da26003682510fa4a0fd6cdc95 SHA512 b10b709f113dcd526c7521f519466677a1dd37b5c3bd4adf7a0fdbf95428bf56777a726b85e158c4842d406e7659f1b6e161c68bc6f6c6739d376ab84351efc9 WHIRLPOOL 278eb797588b0e0b72f6e6ed76e936fa336971b4c22ce2f2eafb5465df6835a730b0cf4f132e3bb86dbd74178fdb6cc6a58b247c46eefdc730e897d56d712b0c
+EBUILD tpconfig-3.1.3-r1.ebuild 616 SHA256 f4dab1d359d365e31a0cb40711d1aa79576344a1b9d8d4829d7814d1ef7e2591 SHA512 978265ea39931c1b2a93674c38ced77c68b3f4f3d3831b78c491cbe662b70ea94f0bcf6853483a0d24c4d9d37b1cdf63ebdcd942d42bab0dc79ace73c4ce7f6a WHIRLPOOL 1ef0a733c25cd8fe11e8ae28ada0daa62576e702afbcd96c849b6750975a4cefcf35ed7813d598eae0eed6448cb00cf45605a17f5de31ee47e4b6417181ba18e
+EBUILD tpconfig-3.1.3-r2.ebuild 563 SHA256 132080f87c4c422ba7d01a2bca2bd9309765228748e91e3bfb3bb0eadd43a0bf SHA512 a99a33b57c57691881ff0866e3a36856759a0edab55a19f4113b0c1a7fa71a38ae890a659de38fb72424bec17762bda6209093c3fab321fffb1669aab9f1de71 WHIRLPOOL ccfc23a38af8432b35f855e94a826cbb6224e0a7e23dedb5d2bb45fbacf7939a8d882b174db5c6ce786f744783bfeb3f2f7a538e5976007f96ab7f0ac593bdef
+MISC ChangeLog 2952 SHA256 42b6263b598a994780cce92beaefe8f172218f6cfa2cce5069e294a0c2c0d1d7 SHA512 629b23f06ace6165c51e732e841ce5dc62edd36618f9df82337f8bba62a661b3408ff2e758bf2e2313816c6a5efef42a66c87b713bcf6eb04a0f72fb0d3f1f85 WHIRLPOOL 43196de7df59b5ca248c6aa19a3d484ae9e5ec0a28abad90a03165965a10acebdd4b403be58e7fc80c1094facc8ef0deee74b3a928f3f9c85f2a4e0f1e8cc3c6
+MISC ChangeLog-2015 1163 SHA256 925c780574a6f454834645a7774eeb78fad4b785a44a2205fea64898b6e2ddff SHA512 0ad6771812231f78cac2eb01ef751a70a63c24ef258f73623e5570fa1e189275582cbb06649b27c523a4af3ffe4397789686b26ba6dedd47d481e0ef897afb0e WHIRLPOOL 36fc2e7261b70ffc02bad0aa79767ec58b984d9eb7a1367e77580ed0884f3d9f6e2ad7351dcafc4d2afe0e4ac2f5f4fc2fcfdc3e68efaa173df3025751c7112d
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/tpconfig/files/tpconfig b/app-misc/tpconfig/files/tpconfig
new file mode 100644
index 000000000000..6eafbb5803ea
--- /dev/null
+++ b/app-misc/tpconfig/files/tpconfig
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ before xdm
+}
+
+start() {
+ ebegin "Loading tpconfig options..."
+ /usr/bin/tpconfig ${TPOPTIONS} > /dev/null 2> /tmp/tpconfig.start
+ if [ -z "`cat /tmp/tpconfig.start 2> /dev/null`" ]; then
+ eend 0
+ else
+ eend 1
+ fi
+}
+
+stop() {
+ ebegin "Stoping tpconfig (this does nothing)..."
+ eend 0
+}
diff --git a/app-misc/tpconfig/files/tpconfig.conf b/app-misc/tpconfig/files/tpconfig.conf
new file mode 100644
index 000000000000..6566b926710e
--- /dev/null
+++ b/app-misc/tpconfig/files/tpconfig.conf
@@ -0,0 +1,4 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+TPOPTIONS="--tapmode=0"
diff --git a/app-misc/tpconfig/metadata.xml b/app-misc/tpconfig/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/tpconfig/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
new file mode 100644
index 000000000000..1b3ced07ded7
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour"
+HOMEPAGE="http://www.compass.com/synaptics/"
+SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+src_compile() {
+ econf
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ dobin tpconfig || die "dobin failed!"
+ dodoc README AUTHORS NEWS INSTALL
+ doinitd "${FILESDIR}"/tpconfig
+ newconfd "${FILESDIR}"/tpconfig.conf tpconfig
+}
diff --git a/app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild b/app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild
new file mode 100644
index 000000000000..3cbffcaf9542
--- /dev/null
+++ b/app-misc/tpconfig/tpconfig-3.1.3-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Touchpad config for ALPS and Synaptics TPs. Controls tap/click behaviour"
+HOMEPAGE="http://www.compass.com/synaptics/"
+SRC_URI="http://www.compass.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README AUTHORS NEWS INSTALL )
+
+src_compile() {
+ econf
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin "${PN}"
+ doinitd "${FILESDIR}"/"${PN}"
+ newconfd "${FILESDIR}"/"${PN}.conf" "${PN}"
+}
diff --git a/app-misc/tpipe/Manifest b/app-misc/tpipe/Manifest
new file mode 100644
index 000000000000..5b7d87a2e67f
--- /dev/null
+++ b/app-misc/tpipe/Manifest
@@ -0,0 +1,5 @@
+DIST tpipe-1.6.tar.gz 12425 SHA256 d7eac07b862399d6d92a854c49635f9b2b24bda436c5c426f2eca59857168795 SHA512 3429a7ee0711f47e87ed2c46009c43dd7c3fa378a98083da58f22d1cd0a87cbbe7a900e98abc05d1375ffe8cfe56e02d25991f53a42bca1825556b07983bbb8d WHIRLPOOL b3ffabca14594e0d7cfc8d48b8fb3b121fba357ce68aa17f380deeb6c27e0dce9f18dd09c4396e87da3e8e11fa62b5ffbaa4e055d517edc6304f0c3bf8315a4b
+EBUILD tpipe-1.6-r1.ebuild 593 SHA256 6e31e875c84f12e38104b430ef301ff91e8d3e75bfd5bf6f22d21d2397292941 SHA512 945b18bf06a9f1c7dc44f310c093c94505ea0cff40aa171d6fcd886ae4923cac4c62396ecfbf6944ff915aa6aa324c2ca06d3c00f8624a204da8f8d096d51f3e WHIRLPOOL 7dda38a659de3ff07a03ee8251c16f28e027f749f8b8c19026c4bc64fc4d65fc4cb135328ce9b543106df0abff6e0d2010deb207e28afc6f1efc6ff612cb904f
+MISC ChangeLog 2573 SHA256 8f55d485efaa068a71558f986332121ff18872e48f6819e7d318e6445ccdacc0 SHA512 1a3e28f59714e2693fac0132ca64f87f20859ef42e6510c49beee93362df229a71b24d02ba45372af9ca18a44fa484378aa4d7c8e891966e17f2fc1de0046dc3 WHIRLPOOL b389ae5b9c155f835deb62d09b8c2a9bd94e8e23d6bb1a260d94baca1b1b5460ed6e500f7acbe742555ebbcf823c5dde6f90532a126fcf23bbd7af819d89f075
+MISC ChangeLog-2015 1107 SHA256 8f16d9f193f0890e8c74b1db418a96231e433fbaa1233d270497a1f81102cbe4 SHA512 6cb0a9271b3399529af87fb35f86194587e513fcb2ab6d3ef9ac73051c3d4323d1bfa3a8c0264d6261f961829333378618a589299b139ef641d327a1e6c12333 WHIRLPOOL d7416d4fd3cd9085cf220de96cd4b85248ed890bd033af1eb97d02ccaa1c63b3fc181f245c7dd10b4ee883c476d63f7f8bc73e6f7b6664aa135cbc700ed7a8a7
+MISC metadata.xml 340 SHA256 39fd2ae3cb84ecf25d2b6057944936a8ab357df779dbeb7630de4e4799cd87ce SHA512 89a4258d97e48449e730ace4f3a7a3b65311a9fac535898d3812bc10f678969c9efeaa82c5b978fc594cfbd89ce04509bb988d97bf063bf1f0b50139888bc4a7 WHIRLPOOL 0d9bd7583068be298749f893dc887937229598d34fe63f839af60564384e0213177959328ab34f9c582538095eae982fd84558ab95ac66697993ca00fac5f509
diff --git a/app-misc/tpipe/metadata.xml b/app-misc/tpipe/metadata.xml
new file mode 100644
index 000000000000..02adc18a1cf9
--- /dev/null
+++ b/app-misc/tpipe/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/tpipe/tpipe-1.6-r1.ebuild b/app-misc/tpipe/tpipe-1.6-r1.ebuild
new file mode 100644
index 000000000000..034575fcdaa3
--- /dev/null
+++ b/app-misc/tpipe/tpipe-1.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command to duplicate standard input to more than one program"
+HOMEPAGE="http://www.eurogaran.com/downloads/tpipe"
+SRC_URI="http://www.eurogaran.com/downloads/tpipe/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DOCS=( README.txt )
+
+src_compile() {
+ emake OPTFLAGS="-ansi -pedantic ${CFLAGS}" \
+ PREFIX=/usr \
+ CC="$(tc-getCC)" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-misc/tprint/Manifest b/app-misc/tprint/Manifest
new file mode 100644
index 000000000000..2878de7e4343
--- /dev/null
+++ b/app-misc/tprint/Manifest
@@ -0,0 +1,5 @@
+DIST tprint-1.1.0.tar.gz 14089 SHA256 1faec152e3cad3fd448ab082c1a69b8eca718b94394b7f317fe153783616da75 SHA512 828135ba52a163b00257e243e683f0f01b3a47b161785c70aa2b43f227859a6a4e629687d07190c42941ab03012d6bb1eddeb3767f177af6302a873cb7713831 WHIRLPOOL d94e33e769fa5762cb742d37fc4a29eb882344605c5a4a4250dcbb616930b6a91bb6bb67fb32112cfc5641500ffaa09a4542f927ba94696cd4b9844739a53c93
+EBUILD tprint-1.1.0-r1.ebuild 611 SHA256 fd94098a605e17006a51545ba7b52ca91169973fb3b26eb37a76e617ef60b0a2 SHA512 afb0cce8179978308ef74572081f07238c11797d2bc9db55ef858a9507417a6eb167224b8052611358032f252d284332c7dda8e9b77c21fd6bd06ab2f2dc187c WHIRLPOOL 43127303e755f9e7b2d83022d56cbb46633957cef0e0323c92821ddc7f4957619dfaa571100638040962e9c8cea1ba715d30ddb2a5ebf7d238b17d649308814a
+MISC ChangeLog 2639 SHA256 24b7d27db3ee4f8925a600ca2839017f6a3d23f63dca037da8fd786320b6b0c1 SHA512 7c46b411b049a9060b486c886736bdfd4edd193d8018ec623026cbf89f26890f6f7f98974644759d5d7461358b5da68054b47a5b44b76bfa11622255187f9e2e WHIRLPOOL 90305fab127fad5f649b43cbb3c607713bb466c07e330695eabbfb68f842c0702075e31c046a4b2e012d33210df8479a6d04a38e5f31699c6e68d8792495c301
+MISC ChangeLog-2015 1314 SHA256 70d375e4bebd475ff167961216281ca59f123846bcea672556413ed3592da4a1 SHA512 e3e3da873377e53a5c2d1a6e1dc6e42c126f7ffea871feedeef60ebc01f3ac7320ede8ca49bdd5aa5f37e995adc3684d06b5708bebe7726284682f3bab68f57a WHIRLPOOL 8ac1656ac506319b3c75b560062289a07ac2b05a6f7883ef324d067c8cc5cf7e59f4d6f94c166c06a1d0cb28c40738816736b96fdf31bf55f651fb1503e59227
+MISC metadata.xml 421 SHA256 8f6ce82d89e12c9b7cae69d3a9c95743c8109175bc6fbb603562ee3eb544631f SHA512 2cd028ad4b59baccac477041c36891bc3f3db16c76aae0495864ae29e31f61f53a280eaff170c9ba0acade5beaf1a632524a770b08fb11ebbf8ec90dc2cc09d4 WHIRLPOOL 6868e1963c5b00e06fa64f8af1eee3d7912d9b1c439811dfa38261f1f4f55eb8e829e6ce4b9916ef80badc544fa3fd4f51c787a1a847e198d0b0e30b330dad2d
diff --git a/app-misc/tprint/metadata.xml b/app-misc/tprint/metadata.xml
new file mode 100644
index 000000000000..05878c967542
--- /dev/null
+++ b/app-misc/tprint/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>The Transparent Print utility program for Linux. Provides an easy way to transparently print to serial terminals that have printers attached.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">tprint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/tprint/tprint-1.1.0-r1.ebuild b/app-misc/tprint/tprint-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..b473dcc73077
--- /dev/null
+++ b/app-misc/tprint/tprint-1.1.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Transparent Print Utility for terminals"
+HOMEPAGE="https://sourceforge.net/projects/tprint/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's:cc:$(CC):g' \
+ -e 's:-g -O2:$(CFLAGS) $(LDFLAGS):g' \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ insinto /etc/tprint
+ doins tprint.conf
+ dobin tprint
+
+ dodoc INSTALL README
+}
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
new file mode 100644
index 000000000000..4985a64fef34
--- /dev/null
+++ b/app-misc/tracker/Manifest
@@ -0,0 +1,9 @@
+DIST tracker-1.10.5.tar.xz 5033992 SHA256 3b8488f0e372054790f2fd4207227c5b15425bf1ab829d76928ac0b32de9c5b7 SHA512 e26f394681d0da28fb28536655f3c584de4aa7ce38c5a9762f81c9bfd21185d8df542b8d72ab337fb63ab91a1df9c733053fb6fa02cdffdc4edd873e0f70b800 WHIRLPOOL 0ab0a66cee2eb14b7893dd3719b0095e3cb3f49cb4db8bebcaa4f5174e726fb7db5f5706a635ffc71d89ab05494f991d4e8b2e62077c5cf2db85f5d9d7a3f4f8
+DIST tracker-1.12.2.tar.xz 5047740 SHA256 ebeb42ef982d0e45c8b8eea8440dcd1c06cd04c7974440a2012942552882bffd SHA512 32765d5a186b54e691b749af0be9a052d6edf367b759cd9236efb5af84e05e62301ca0d50303ca6d97b92b59e99a3934d3e6444701c07938638d5784f4155dec WHIRLPOOL 5ce2bfb1645e99ba3163811ec44b8b93a18c4387bfd09850462abec4ada3c3ef73edf62e716c48d6c99e68fb7ffffefbf3a36de5b0ee436fd936bbc3ac757a36
+DIST tracker-1.12.3.tar.xz 5053768 SHA256 23ce943878c1165c3f52fe97150c71708ebfbb5da3020e9a7247ad4f5120f8d6 SHA512 4c2155a295bc431740e52394885edfa2fd8487ef2f4b6749b9392a82ac355a440fb34381267a8793414fe750501fed7e1b1d0c5b06a766282513de78adde41d3 WHIRLPOOL 100b054f9aa5fc84284084dddc3e0ca0e296c3ce98e595b2c8b338d24c5be4977b55ac9a9c028341c71eb418eb9b3385a7760b892aa7a559587623eb61fdc06e
+EBUILD tracker-1.10.5.ebuild 7573 SHA256 1d116f4e85102517e0bd67c8b3f3bc7dfa8ad8e4d85c16af3e6b617bc6a253d4 SHA512 522ec5b2f38710e3f0e32e923afd0e5c44743192306174bfd01100dd83261e71b991a7afde388791ae8a9ddac0a688d84cfac4d281048afcfacb5068fc962e75 WHIRLPOOL 25d0341fdcc7aef6d10bcf434e016a3caff53ed3bb22ecce4851492a32977d6b598498eb7769ff6c9276becb7bdd86125aa4acbb1d7324b27375353db74a2d34
+EBUILD tracker-1.12.2.ebuild 7609 SHA256 8d35d68adb28fff2c6fe1454b9797a1bae2897c30c62ee5f244a73430398c6f6 SHA512 9d19836a1d9a349101bf4a94307898cd313c62df23368a5c5a8a09a26d13839fb5fba40f269d0922f8f2c43362f4e4a2943194c484a8de1e7d33990892c032ed WHIRLPOOL b2b9fe9ebaa11aa9b837e05f671f6b3f552db4c3b40f5e58df6fddcea0d845e355f15611279e1704e4135e7a3bfc9e240bb0cc327475dc402566d1ca8be018e9
+EBUILD tracker-1.12.3.ebuild 7609 SHA256 8d35d68adb28fff2c6fe1454b9797a1bae2897c30c62ee5f244a73430398c6f6 SHA512 9d19836a1d9a349101bf4a94307898cd313c62df23368a5c5a8a09a26d13839fb5fba40f269d0922f8f2c43362f4e4a2943194c484a8de1e7d33990892c032ed WHIRLPOOL b2b9fe9ebaa11aa9b837e05f671f6b3f552db4c3b40f5e58df6fddcea0d845e355f15611279e1704e4135e7a3bfc9e240bb0cc327475dc402566d1ca8be018e9
+MISC ChangeLog 7349 SHA256 54688ebd74f8a2b353b8f0adb75b77721dc545b139ef65e6eac32c0cecab23cb SHA512 c258d9bcce793484e906edc70df46fcdfa7e9cc181cbf74ecad73118a27898d788e08abdf402fd1f974c2054e1287476cf0a8cd25c25af6f44f9016f973948b8 WHIRLPOOL 9637fd37b6407f96ca795b14f433a940cc7799aedb7e29a7e2a3a8ee6dbf8152a74ac6a5cc44e004c04cd07632fdf3921d22ddea478315f0581a2f3a752da814
+MISC ChangeLog-2015 34337 SHA256 48121846745fb7fb791a88af5eb0e374cc1a3bdcc3c2ce1df95b2902404d02ea SHA512 0859d8bb159671a64fd38fb1dfdd740195cc23538c7304ddc17a963102d9b02791173dfff99094c073566193e603c22112b3c6bb07c0b95ef9d8f7314db02a25 WHIRLPOOL 9e8518a8e89a431aea509f28c4cea43da68d12f64637960522fe353eb09fb9aa495e148527412489d3b19313d181bfb9c7391d1771227594f65b7a43e290f4f8
+MISC metadata.xml 1561 SHA256 49ddd8c26a6a3cdd00ac8042e8a69385f96aede4825ca8f080b2a53a34fe2c76 SHA512 89deedce6c26547cdc8a2b3ff1880662125b73f490293156904a942acf632e1325dbc3657cdd6a1ca53cdb7556adbd96fea2705759a0a5503e80ae95d90045c4 WHIRLPOOL a93ade35ff9088a02799116af365331ac72b3304c728d6f45412819c67088394e893363056f8715e1c3d4ca9e2ae1a720a47aba7a781cac5deb0a3c87054b58d
diff --git a/app-misc/tracker/metadata.xml b/app-misc/tracker/metadata.xml
new file mode 100644
index 000000000000..64efbfdb6eb6
--- /dev/null
+++ b/app-misc/tracker/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="cue">Enable cue sheet parsing</flag>
+ <!-- 'firefox-bookmarks' instead of 'firefox' to prevent most users from
+ enabling this by accident; it has some stability problems and
+ performance implications -->
+ <flag name="firefox-bookmarks">Install bookmark data miner plugin for
+ <pkg>www-client/firefox</pkg> and <pkg>www-client/firefox-bin</pkg></flag>
+ <flag name="gsf">Enable <pkg>gnome-extra/libgsf</pkg> based data extractor and
+ for ODT.</flag>
+ <flag name="iptc">Enable extraction of IPTC data from pictures</flag>
+ <flag name="iso">Enable extraction of metadata from ISO disk images</flag>
+ <flag name="miner-fs">Enable tracker-miner-fs (required for filesystem indexing)</flag>
+ <flag name="nautilus">Enable tracker to integrate with
+ <pkg>gnome-base/nautilus</pkg> by providing entries in its context menu
+ </flag>
+ <flag name="playlist">Add support for playlists</flag>
+ <flag name="stemmer">Add word stemming via <pkg>dev-libs/snowball-stemmer</pkg>.</flag>
+ <flag name="thunderbird">Install email data miner plugin for
+ <pkg>mail-client/thunderbird</pkg> and
+ <pkg>mail-client/thunderbird-bin</pkg></flag>
+ <flag name="xps">Add support for XPS file format through <pkg>app-text/libgxps</pkg>.</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/tracker/tracker-1.10.5.ebuild b/app-misc/tracker/tracker-1.10.5.ebuild
new file mode 100644
index 000000000000..939d06713842
--- /dev/null
+++ b/app-misc/tracker/tracker-1.10.5.ebuild
@@ -0,0 +1,248 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools bash-completion-r1 eutils gnome2 linux-info multilib python-any-r1 vala versionator virtualx
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/100"
+IUSE="cue elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer
+gtk iptc +iso +jpeg libav +miner-fs mp3 nautilus networkmanager pdf playlist
+rss seccomp stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps"
+
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+REQUIRED_USE="
+ ?? ( gstreamer ffmpeg )
+ cue? ( gstreamer )
+ upnp-av? ( gstreamer )
+ !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
+"
+
+# According to NEWS, introspection is non-optional
+# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
+# seccomp is automagic, though we want to use it whenever possible (linux)
+# >=media-libs/libmediaart-1.9:2.0 is suggested to be disabled for 1.10 for security; revisit for 1.12 (configure flag)
+RDEPEND="
+ >=app-i18n/enca-1.9
+ <dev-db/sqlite-3.20
+ >=dev-libs/glib-2.44:2
+ >=dev-libs/gobject-introspection-0.9.5:=
+ >=dev-libs/icu-4.8.1.1:=
+ >=media-libs/libpng-1.2:0=
+ >=x11-libs/pango-1:=
+ sys-apps/util-linux
+ virtual/imagemagick-tools[png,jpeg?]
+
+ cue? ( media-libs/libcue )
+ elibc_glibc? ( >=sys-libs/glibc-2.12 )
+ exif? ( >=media-libs/libexif-0.6 )
+ ffmpeg? (
+ libav? ( media-video/libav:= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ firefox-bookmarks? ( || (
+ >=www-client/firefox-4.0
+ >=www-client/firefox-bin-4.0 ) )
+ flac? ( >=media-libs/flac-1.2.1 )
+ gif? ( media-libs/giflib:= )
+ gsf? ( >=gnome-extra/libgsf-1.14.24 )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ gtk? (
+ >=dev-libs/libgee-0.3:0.8
+ >=x11-libs/gtk+-3:3 )
+ iptc? ( media-libs/libiptcdata )
+ iso? ( >=sys-libs/libosinfo-0.2.9:= )
+ jpeg? ( virtual/jpeg:0 )
+ upower? ( || ( >=sys-power/upower-0.9 sys-power/upower-pm-utils ) )
+ mp3? ( >=media-libs/taglib-1.6 )
+ networkmanager? ( >=net-misc/networkmanager-0.8:= )
+ pdf? (
+ >=x11-libs/cairo-1:=
+ >=app-text/poppler-0.16[cairo,utils]
+ >=x11-libs/gtk+-2.12:2 )
+ playlist? ( >=dev-libs/totem-pl-parser-3 )
+ rss? ( >=net-libs/libgrss-0.7:0 )
+ stemmer? ( dev-libs/snowball-stemmer )
+ thunderbird? ( || (
+ >=mail-client/thunderbird-5.0
+ >=mail-client/thunderbird-bin-5.0 ) )
+ tiff? ( media-libs/tiff:0 )
+ upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )
+ xps? ( app-text/libgxps )
+ !gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
+ seccomp? ( >=sys-libs/libseccomp-2.0 )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1.8
+ >=dev-util/intltool-0.40.0
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ gtk? ( >=dev-libs/libgee-0.3:0.8 )
+ test? (
+ >=dev-libs/dbus-glib-0.82-r1
+ >=sys-apps/dbus-1.3.1[X] )
+"
+PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
+
+function inotify_enabled() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present INOTIFY_USER; then
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
+ die 'missing CONFIG_INOTIFY'
+ fi
+ else
+ einfo "Could not check for INOTIFY support in your kernel."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ inotify_enabled
+
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Don't run 'firefox --version' or 'thunderbird --version'; it results in
+ # access violations on some setups (bug #385347, #385495).
+ create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
+ create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
+
+ eautoreconf # See bug #367975
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-generic-media-extractor=gstreamer"
+ if use upnp-av; then
+ myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
+ else
+ myconf="${myconf} --with-gstreamer-backend=discoverer"
+ fi
+ elif use ffmpeg ; then
+ myconf="${myconf} --enable-generic-media-extractor=libav"
+ else
+ myconf="${myconf} --enable-generic-media-extractor=external"
+ fi
+
+ # unicode-support: libunistring, libicu or glib ?
+ # According to NEWS, introspection is required
+ # is not being generated
+ # nautilus extension is in a separate package, nautilus-tracker-tags
+ # miner-evolution disabled as it's incompatible with current eds
+ gnome2_src_configure \
+ --disable-hal \
+ --disable-miner-evolution \
+ --disable-nautilus-extension \
+ --disable-static \
+ --enable-abiword \
+ --enable-artwork \
+ --enable-dvi \
+ --enable-enca \
+ --enable-guarantee-metadata \
+ --enable-icon \
+ --enable-introspection \
+ --disable-libmediaart \
+ --enable-libpng \
+ --enable-miner-apps \
+ --enable-miner-user-guides \
+ --enable-ps \
+ --enable-text \
+ --enable-tracker-fts \
+ --enable-tracker-writeback \
+ --with-unicode-support=libicu \
+ --with-bash-completion-dir="$(get_bashcompdir)" \
+ $(use_enable cue libcue) \
+ $(use_enable exif libexif) \
+ $(use_enable firefox-bookmarks miner-firefox) \
+ $(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
+ FIREFOX="${S}"/firefox-version.sh \
+ $(use_enable flac libflac) \
+ $(use_enable gif libgif) \
+ $(use_enable gsf libgsf) \
+ $(use_enable gtk tracker-needle) \
+ $(use_enable gtk tracker-preferences) \
+ $(use_enable iptc libiptcdata) \
+ $(use_enable iso libosinfo) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable upower upower) \
+ $(use_enable miner-fs) \
+ $(use_enable mp3 taglib) \
+ $(use_enable mp3) \
+ $(use_enable networkmanager network-manager) \
+ $(use_enable pdf poppler) \
+ $(use_enable playlist) \
+ $(use_enable rss miner-rss) \
+ $(use_enable stemmer libstemmer) \
+ $(use_enable test functional-tests) \
+ $(use_enable test unit-tests) \
+ $(use_enable thunderbird miner-thunderbird) \
+ $(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
+ THUNDERBIRD="${S}"/thunderbird-version.sh \
+ $(use_enable tiff libtiff) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable xml libxml2) \
+ $(use_enable xmp exempi) \
+ $(use_enable xps libgxps) \
+ ${myconf}
+}
+
+src_test() {
+ # G_MESSAGES_DEBUG, upstream bug #699401#c1
+ virtx emake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all"
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Manually symlink extensions for {firefox,thunderbird}-bin
+ if use firefox-bookmarks; then
+ dosym ../../../share/xul-ext/trackerfox \
+ /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
+ fi
+
+ if use thunderbird; then
+ dosym ../../../share/xul-ext/trackerbird \
+ /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
+ fi
+}
+
+create_version_script() {
+ # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
+
+ local v=$(best_version ${1})
+ v=${v#${1}-}
+ local vbin=$(best_version ${1}-bin)
+ vbin=${vbin#${1}-bin-}
+
+ if [[ -z ${v} ]]; then
+ v=${vbin}
+ else
+ version_compare ${v} ${vbin}
+ [[ $? -eq 1 ]] && v=${vbin}
+ fi
+
+ echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
+ chmod +x "$3" || die
+}
diff --git a/app-misc/tracker/tracker-1.12.2.ebuild b/app-misc/tracker/tracker-1.12.2.ebuild
new file mode 100644
index 000000000000..b5c21eaccff8
--- /dev/null
+++ b/app-misc/tracker/tracker-1.12.2.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools bash-completion-r1 eutils gnome2 linux-info multilib python-any-r1 vala versionator virtualx
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/100"
+IUSE="cue elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer
+gtk iptc +iso +jpeg libav +miner-fs mp3 nautilus networkmanager pdf playlist
+rss seccomp stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+REQUIRED_USE="
+ ?? ( gstreamer ffmpeg )
+ cue? ( gstreamer )
+ upnp-av? ( gstreamer )
+ !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
+"
+
+# According to NEWS, introspection is non-optional
+# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
+# seccomp is automagic, though we want to use it whenever possible (linux)
+# >=media-libs/libmediaart-1.9:2.0 is suggested to be disabled for 1.10 for security;
+# It is disable in configure in 1.12; revisit for 1.14/2 (configure flag)
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.20:=
+ >=dev-libs/glib-2.44:2
+ >=dev-libs/gobject-introspection-0.9.5:=
+ >=dev-libs/icu-4.8.1.1:=
+ >=dev-libs/json-glib-1.0
+ >=media-libs/libpng-1.2:0=
+ >=net-libs/libsoup-2.40:2.4
+ >=x11-libs/pango-1:=
+ sys-apps/util-linux
+ virtual/imagemagick-tools[png,jpeg?]
+
+ cue? ( media-libs/libcue )
+ elibc_glibc? ( >=sys-libs/glibc-2.12 )
+ exif? ( >=media-libs/libexif-0.6 )
+ ffmpeg? (
+ libav? ( media-video/libav:= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ firefox-bookmarks? ( || (
+ >=www-client/firefox-4.0
+ >=www-client/firefox-bin-4.0 ) )
+ flac? ( >=media-libs/flac-1.2.1 )
+ gif? ( media-libs/giflib:= )
+ gsf? ( >=gnome-extra/libgsf-1.14.24 )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ gtk? (
+ >=x11-libs/gtk+-3:3 )
+ iptc? ( media-libs/libiptcdata )
+ iso? ( >=sys-libs/libosinfo-0.2.9:= )
+ jpeg? ( virtual/jpeg:0 )
+ upower? ( || ( >=sys-power/upower-0.9 sys-power/upower-pm-utils ) )
+ mp3? ( >=media-libs/taglib-1.6 )
+ networkmanager? ( >=net-misc/networkmanager-0.8:= )
+ pdf? (
+ >=x11-libs/cairo-1:=
+ >=app-text/poppler-0.16[cairo,utils]
+ >=x11-libs/gtk+-2.12:2 )
+ playlist? ( >=dev-libs/totem-pl-parser-3 )
+ rss? ( >=net-libs/libgrss-0.7:0 )
+ stemmer? ( dev-libs/snowball-stemmer )
+ thunderbird? ( || (
+ >=mail-client/thunderbird-5.0
+ >=mail-client/thunderbird-bin-5.0 ) )
+ tiff? ( media-libs/tiff:0 )
+ upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )
+ xps? ( app-text/libgxps )
+ !gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
+ seccomp? ( >=sys-libs/libseccomp-2.0 )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1.8
+ >=dev-util/intltool-0.40.0
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ test? (
+ >=dev-libs/dbus-glib-0.82-r1
+ >=sys-apps/dbus-1.3.1[X] )
+"
+PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
+
+function inotify_enabled() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present INOTIFY_USER; then
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
+ die 'missing CONFIG_INOTIFY'
+ fi
+ else
+ einfo "Could not check for INOTIFY support in your kernel."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ inotify_enabled
+
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Don't run 'firefox --version' or 'thunderbird --version'; it results in
+ # access violations on some setups (bug #385347, #385495).
+ create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
+ create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
+
+ eautoreconf # See bug #367975
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-generic-media-extractor=gstreamer"
+ if use upnp-av; then
+ myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
+ else
+ myconf="${myconf} --with-gstreamer-backend=discoverer"
+ fi
+ elif use ffmpeg ; then
+ myconf="${myconf} --enable-generic-media-extractor=libav"
+ else
+ myconf="${myconf} --enable-generic-media-extractor=external"
+ fi
+
+ # unicode-support: libunistring, libicu or glib ?
+ # According to NEWS, introspection is required
+ # is not being generated
+ # nautilus extension is in a separate package, nautilus-tracker-tags
+ # miner-evolution disabled as it's incompatible with current eds
+ gnome2_src_configure \
+ --disable-hal \
+ --disable-miner-evolution \
+ --disable-nautilus-extension \
+ --disable-static \
+ --enable-abiword \
+ --enable-artwork \
+ --enable-dvi \
+ --enable-enca \
+ --enable-guarantee-metadata \
+ --enable-icon \
+ --enable-introspection \
+ --disable-libmediaart \
+ --enable-libpng \
+ --enable-miner-apps \
+ --enable-miner-user-guides \
+ --enable-ps \
+ --enable-text \
+ --enable-tracker-fts \
+ --enable-tracker-writeback \
+ --with-unicode-support=libicu \
+ --with-bash-completion-dir="$(get_bashcompdir)" \
+ $(use_enable cue libcue) \
+ $(use_enable exif libexif) \
+ $(use_enable firefox-bookmarks miner-firefox) \
+ $(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
+ FIREFOX="${S}"/firefox-version.sh \
+ $(use_enable flac libflac) \
+ $(use_enable gif libgif) \
+ $(use_enable gsf libgsf) \
+ $(use_enable gtk tracker-needle) \
+ $(use_enable gtk tracker-preferences) \
+ $(use_enable iptc libiptcdata) \
+ $(use_enable iso libosinfo) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable upower upower) \
+ $(use_enable miner-fs) \
+ $(use_enable mp3 taglib) \
+ $(use_enable mp3) \
+ $(use_enable networkmanager network-manager) \
+ $(use_enable pdf poppler) \
+ $(use_enable playlist) \
+ $(use_enable rss miner-rss) \
+ $(use_enable stemmer libstemmer) \
+ $(use_enable test functional-tests) \
+ $(use_enable test unit-tests) \
+ $(use_enable thunderbird miner-thunderbird) \
+ $(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
+ THUNDERBIRD="${S}"/thunderbird-version.sh \
+ $(use_enable tiff libtiff) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable xml libxml2) \
+ $(use_enable xmp exempi) \
+ $(use_enable xps libgxps) \
+ ${myconf}
+}
+
+src_test() {
+ # G_MESSAGES_DEBUG, upstream bug #699401#c1
+ virtx emake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all"
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Manually symlink extensions for {firefox,thunderbird}-bin
+ if use firefox-bookmarks; then
+ dosym ../../../share/xul-ext/trackerfox \
+ /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
+ fi
+
+ if use thunderbird; then
+ dosym ../../../share/xul-ext/trackerbird \
+ /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
+ fi
+}
+
+create_version_script() {
+ # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
+
+ local v=$(best_version ${1})
+ v=${v#${1}-}
+ local vbin=$(best_version ${1}-bin)
+ vbin=${vbin#${1}-bin-}
+
+ if [[ -z ${v} ]]; then
+ v=${vbin}
+ else
+ version_compare ${v} ${vbin}
+ [[ $? -eq 1 ]] && v=${vbin}
+ fi
+
+ echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
+ chmod +x "$3" || die
+}
diff --git a/app-misc/tracker/tracker-1.12.3.ebuild b/app-misc/tracker/tracker-1.12.3.ebuild
new file mode 100644
index 000000000000..b5c21eaccff8
--- /dev/null
+++ b/app-misc/tracker/tracker-1.12.3.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools bash-completion-r1 eutils gnome2 linux-info multilib python-any-r1 vala versionator virtualx
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/100"
+IUSE="cue elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer
+gtk iptc +iso +jpeg libav +miner-fs mp3 nautilus networkmanager pdf playlist
+rss seccomp stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+REQUIRED_USE="
+ ?? ( gstreamer ffmpeg )
+ cue? ( gstreamer )
+ upnp-av? ( gstreamer )
+ !miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
+"
+
+# According to NEWS, introspection is non-optional
+# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
+# seccomp is automagic, though we want to use it whenever possible (linux)
+# >=media-libs/libmediaart-1.9:2.0 is suggested to be disabled for 1.10 for security;
+# It is disable in configure in 1.12; revisit for 1.14/2 (configure flag)
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.20:=
+ >=dev-libs/glib-2.44:2
+ >=dev-libs/gobject-introspection-0.9.5:=
+ >=dev-libs/icu-4.8.1.1:=
+ >=dev-libs/json-glib-1.0
+ >=media-libs/libpng-1.2:0=
+ >=net-libs/libsoup-2.40:2.4
+ >=x11-libs/pango-1:=
+ sys-apps/util-linux
+ virtual/imagemagick-tools[png,jpeg?]
+
+ cue? ( media-libs/libcue )
+ elibc_glibc? ( >=sys-libs/glibc-2.12 )
+ exif? ( >=media-libs/libexif-0.6 )
+ ffmpeg? (
+ libav? ( media-video/libav:= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ firefox-bookmarks? ( || (
+ >=www-client/firefox-4.0
+ >=www-client/firefox-bin-4.0 ) )
+ flac? ( >=media-libs/flac-1.2.1 )
+ gif? ( media-libs/giflib:= )
+ gsf? ( >=gnome-extra/libgsf-1.14.24 )
+ gstreamer? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0 )
+ gtk? (
+ >=x11-libs/gtk+-3:3 )
+ iptc? ( media-libs/libiptcdata )
+ iso? ( >=sys-libs/libosinfo-0.2.9:= )
+ jpeg? ( virtual/jpeg:0 )
+ upower? ( || ( >=sys-power/upower-0.9 sys-power/upower-pm-utils ) )
+ mp3? ( >=media-libs/taglib-1.6 )
+ networkmanager? ( >=net-misc/networkmanager-0.8:= )
+ pdf? (
+ >=x11-libs/cairo-1:=
+ >=app-text/poppler-0.16[cairo,utils]
+ >=x11-libs/gtk+-2.12:2 )
+ playlist? ( >=dev-libs/totem-pl-parser-3 )
+ rss? ( >=net-libs/libgrss-0.7:0 )
+ stemmer? ( dev-libs/snowball-stemmer )
+ thunderbird? ( || (
+ >=mail-client/thunderbird-5.0
+ >=mail-client/thunderbird-bin-5.0 ) )
+ tiff? ( media-libs/tiff:0 )
+ upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )
+ xps? ( app-text/libgxps )
+ !gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
+ seccomp? ( >=sys-libs/libseccomp-2.0 )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ dev-util/gdbus-codegen
+ >=dev-util/gtk-doc-am-1.8
+ >=dev-util/intltool-0.40.0
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ test? (
+ >=dev-libs/dbus-glib-0.82-r1
+ >=sys-apps/dbus-1.3.1[X] )
+"
+PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
+
+function inotify_enabled() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present INOTIFY_USER; then
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
+ die 'missing CONFIG_INOTIFY'
+ fi
+ else
+ einfo "Could not check for INOTIFY support in your kernel."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ inotify_enabled
+
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Don't run 'firefox --version' or 'thunderbird --version'; it results in
+ # access violations on some setups (bug #385347, #385495).
+ create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
+ create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
+
+ eautoreconf # See bug #367975
+ gnome2_src_prepare
+ vala_src_prepare
+}
+
+src_configure() {
+ local myconf=""
+
+ if use gstreamer ; then
+ myconf="${myconf} --enable-generic-media-extractor=gstreamer"
+ if use upnp-av; then
+ myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
+ else
+ myconf="${myconf} --with-gstreamer-backend=discoverer"
+ fi
+ elif use ffmpeg ; then
+ myconf="${myconf} --enable-generic-media-extractor=libav"
+ else
+ myconf="${myconf} --enable-generic-media-extractor=external"
+ fi
+
+ # unicode-support: libunistring, libicu or glib ?
+ # According to NEWS, introspection is required
+ # is not being generated
+ # nautilus extension is in a separate package, nautilus-tracker-tags
+ # miner-evolution disabled as it's incompatible with current eds
+ gnome2_src_configure \
+ --disable-hal \
+ --disable-miner-evolution \
+ --disable-nautilus-extension \
+ --disable-static \
+ --enable-abiword \
+ --enable-artwork \
+ --enable-dvi \
+ --enable-enca \
+ --enable-guarantee-metadata \
+ --enable-icon \
+ --enable-introspection \
+ --disable-libmediaart \
+ --enable-libpng \
+ --enable-miner-apps \
+ --enable-miner-user-guides \
+ --enable-ps \
+ --enable-text \
+ --enable-tracker-fts \
+ --enable-tracker-writeback \
+ --with-unicode-support=libicu \
+ --with-bash-completion-dir="$(get_bashcompdir)" \
+ $(use_enable cue libcue) \
+ $(use_enable exif libexif) \
+ $(use_enable firefox-bookmarks miner-firefox) \
+ $(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
+ FIREFOX="${S}"/firefox-version.sh \
+ $(use_enable flac libflac) \
+ $(use_enable gif libgif) \
+ $(use_enable gsf libgsf) \
+ $(use_enable gtk tracker-needle) \
+ $(use_enable gtk tracker-preferences) \
+ $(use_enable iptc libiptcdata) \
+ $(use_enable iso libosinfo) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable upower upower) \
+ $(use_enable miner-fs) \
+ $(use_enable mp3 taglib) \
+ $(use_enable mp3) \
+ $(use_enable networkmanager network-manager) \
+ $(use_enable pdf poppler) \
+ $(use_enable playlist) \
+ $(use_enable rss miner-rss) \
+ $(use_enable stemmer libstemmer) \
+ $(use_enable test functional-tests) \
+ $(use_enable test unit-tests) \
+ $(use_enable thunderbird miner-thunderbird) \
+ $(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
+ THUNDERBIRD="${S}"/thunderbird-version.sh \
+ $(use_enable tiff libtiff) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable xml libxml2) \
+ $(use_enable xmp exempi) \
+ $(use_enable xps libgxps) \
+ ${myconf}
+}
+
+src_test() {
+ # G_MESSAGES_DEBUG, upstream bug #699401#c1
+ virtx emake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all"
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Manually symlink extensions for {firefox,thunderbird}-bin
+ if use firefox-bookmarks; then
+ dosym ../../../share/xul-ext/trackerfox \
+ /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
+ fi
+
+ if use thunderbird; then
+ dosym ../../../share/xul-ext/trackerbird \
+ /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
+ fi
+}
+
+create_version_script() {
+ # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
+
+ local v=$(best_version ${1})
+ v=${v#${1}-}
+ local vbin=$(best_version ${1}-bin)
+ vbin=${vbin#${1}-bin-}
+
+ if [[ -z ${v} ]]; then
+ v=${vbin}
+ else
+ version_compare ${v} ${vbin}
+ [[ $? -eq 1 ]] && v=${vbin}
+ fi
+
+ echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
+ chmod +x "$3" || die
+}
diff --git a/app-misc/trash-cli/Manifest b/app-misc/trash-cli/Manifest
new file mode 100644
index 000000000000..8b0ccd2be2ab
--- /dev/null
+++ b/app-misc/trash-cli/Manifest
@@ -0,0 +1,9 @@
+DIST trash-cli-0.12.9.14.tar.gz 62090 SHA256 e0371b28324188d4936cbeea7c74f85a28306588c1ad15b5d3af33372bd5eb11 SHA512 3846ec4e2e491b09ad93134313a875fb3e072abe3e895956b62a3e4f350c1f10dd1ded3fea0caec3fa8a6bd39f2d0a63ac6a3a070a6204fd2f27f1e447f5ba6c WHIRLPOOL ee9bb75ca3b3b9f141777a581862b57dd12db38490761dc2cd429ec60eca972292b207063615d8a2c233dd613772fb65a7c6faaadd925410ce9f964b10a8e445
+DIST trash-cli-0.16.12.29.tar.gz 66826 SHA256 b891b6a5d1b7242b1402cb227f52faf638c2b5ce673925e1221236b4d95bd3f6 SHA512 a8a94205233ac600a98324b95829d1f00debaca95c85c51fa12f7a65ae6f24fda58370d8fe0095bf33327cbddae7dfb02c2587efffd2d7c206c7f7cb0a59953e WHIRLPOOL 0d2d6531430c846d1b28e3b27767d9e1a75e8bc4402023d9ddd44a56b88e89ea92529a8815a3158dceceaeb08c8aca2eb5cae20402c8197c1bab27b4ebb1ffff
+DIST trash-cli-0.17.1.14.tar.gz 69141 SHA256 8fdd20e5e9c55ea4e24677e602a06a94a93f1155f9970c55b25dede5e037b974 SHA512 29033d6e780d81ca762cb69d571c1fa8608f7e84564600d1f7a92141acecf9d7c770e7ff6dcac8f98701af4c6aec3874634eba0af0e92fc2b98ce99c5550c14d WHIRLPOOL 72d0934749d9b9d4e00dfbc9eb6a0fd98f14714b3e1dd73e2992825fe23904c1c73778b28639f0afbc839a60ea87b32d34d68c09837fe72188d1cf46bff86f1a
+EBUILD trash-cli-0.12.9.14-r2.ebuild 493 SHA256 0bb9ab7605e80d84460a09472a899b7c355122d8a0023e8be3bf12d38130355e SHA512 1b918474fda9c92b81bc734f7d01f15fa31f5f8db9153a4aff4b330bb76ec64bb00eb3b3f4799ca2a3defb978fd2a39a952171f17007ca17b0b5502b2b1e10ec WHIRLPOOL 95c2a41d0d112dcdfbefe8eb0b860ecdb59a8affd352afbc9f68c7ad82205fa5330ee57f4028ed41b651644e3580e7c83aed7f23925e2aca0bb5261cd208d373
+EBUILD trash-cli-0.16.12.29.ebuild 494 SHA256 64886145e97abca22985407e97a402da32e36c2aeb5f14851587d95aaacd31e4 SHA512 40718d5e6b630a88fa1f98cb4ed9ed5723307e7d9166e0997cd4a68b198f83dffecc0e1a64072c752aa5b9f11e4ad5873052759fde43a2ea709fbeaa425db401 WHIRLPOOL c0d9760ee6fd84c42ea23339f0f392b7eb247bcf1d11bbbbcd418611cdfa1b14ac1a8092e6e6810c32f5126b710682d9b460bf9c769b08758efb67c6142b5d55
+EBUILD trash-cli-0.17.1.14.ebuild 493 SHA256 1da0095ba103520a51ffc3ecc74009887955af05e92d5d0c5f86d0ef9fdb9df9 SHA512 3dadfbdf10c4754158f42f303c71ce8e0e8e42d2067d2f5c1fb6c091dda4a34a5c09fa5a7159541ff15c64050e5b2dd3619b95517ea271047bd70b732e983b00 WHIRLPOOL 464a6886dca1a38734b50c2fdf4f77dfe2fbf0815a2cee8e3de6e62309c769107b0406fad84f7bf77d94193a9e573e71359cd2988ced3a1619bda1046a10900c
+MISC ChangeLog 2705 SHA256 bc268f1af8bd272eb07bef8a6711c08541a48a3509b20b2716dbb2d15fd388c0 SHA512 7222e8f03628c5a38d5e53a9b4279939d60e4bd308110a12f2d48aac799c3d8d9921f56e8c1b22e65df6c97cf4ce450f5e95fdf6d9be0fc9750b9e69b8369e37 WHIRLPOOL 72d9aefbd5b0101f8f85169ad48ef8ce77f1ed36740b55e30973d2b11d043471ebb3344679b4c1f6d7b84c8f7f0a6749233ffffbe7b1e8f65e74762965539ef5
+MISC ChangeLog-2015 2895 SHA256 d0d1096101fe06e167cf59f63d7d950f2d3f65f25233e87f47d46857a2e255d9 SHA512 d3226dae0fa25a60bcd0aee8d8cc250351d38db6f4a2042d4c3a14ccb2e2e921a5e4c267bfe81b2caf80286d4a66ef3c49670c97399206bf93d13f8a497911ab WHIRLPOOL 004fc16d72700455db5c739f2fdc7c2f456f7f844682e4e74ab46f62e91fbcf594e36114835351ffa8d5a5839432b2cee4592c419675eb833dcdde9e8ac95c65
+MISC metadata.xml 1137 SHA256 fa8e17ab03d98a5d64afc7286db19bee7c16c0bfb6e758ba02829d5b106d2b06 SHA512 971bb358d794fa413537341899423f9319d9e127fec3766f96a70b1ae696379caac70ccd370fc710c6aa3287682172a38dfc665be4869ca31c70389e4d3aaf78 WHIRLPOOL 91af5bd9277bfe2f7550aea09961f6fe9dbff817439c2f8dd811c4c985ab00bc1afcb87bf8d94d7702617c31fb6611989fc09f74f6c3bc2e99b4852b586883dc
diff --git a/app-misc/trash-cli/metadata.xml b/app-misc/trash-cli/metadata.xml
new file mode 100644
index 000000000000..cd2cf09c7e59
--- /dev/null
+++ b/app-misc/trash-cli/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>sito@andreafrancia.it</email>
+ <name>Andrea Francia</name>
+ </maintainer>
+ <changelog>https://github.com/andreafrancia/trash-cli/commits/master</changelog>
+ <doc lang="en">https://github.com/andreafrancia/trash-cli/blob/master/README.txt</doc>
+ <bugs-to>https://github.com/andreafrancia/trash-cli/issues</bugs-to>
+ <remote-id type="github">andreafrancia/trash-cli</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ Trash-cli trashes files recording the original path, deletion date, and
+ permissions. It uses the same trashcan of KDE, GNOME, and XFCE, but you can
+ call it from the command line (and scripts).
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/trash-cli/trash-cli-0.12.9.14-r2.ebuild b/app-misc/trash-cli/trash-cli-0.12.9.14-r2.ebuild
new file mode 100644
index 000000000000..50e07cff312f
--- /dev/null
+++ b/app-misc/trash-cli/trash-cli-0.12.9.14-r2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Python scripts to manipulate trash cans via the command line"
+HOMEPAGE="https://github.com/andreafrancia/trash-cli"
+SRC_URI="https://github.com/andreafrancia/${PN}/tarball/${PV} ->
+ ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-misc/trash-cli/trash-cli-0.16.12.29.ebuild b/app-misc/trash-cli/trash-cli-0.16.12.29.ebuild
new file mode 100644
index 000000000000..ef6a13324634
--- /dev/null
+++ b/app-misc/trash-cli/trash-cli-0.16.12.29.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Python scripts to manipulate trash cans via the command line"
+HOMEPAGE="https://github.com/andreafrancia/trash-cli"
+SRC_URI="https://github.com/andreafrancia/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-misc/trash-cli/trash-cli-0.17.1.14.ebuild b/app-misc/trash-cli/trash-cli-0.17.1.14.ebuild
new file mode 100644
index 000000000000..faa9656ed80c
--- /dev/null
+++ b/app-misc/trash-cli/trash-cli-0.17.1.14.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Python scripts to manipulate trash cans via the command line"
+HOMEPAGE="https://github.com/andreafrancia/trash-cli"
+SRC_URI="https://github.com/andreafrancia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/app-misc/ttyload/Manifest b/app-misc/ttyload/Manifest
new file mode 100644
index 000000000000..528f15a2f824
--- /dev/null
+++ b/app-misc/ttyload/Manifest
@@ -0,0 +1,3 @@
+DIST ttyload-0.5.3.tar.bz2 15039 SHA256 7d3147b22530e6de865279aaad8b9e0348575379413ed1a2d410257baf92d783 SHA512 1affc171fd569d4127d7a51dda5764272e554a96db6ad4418ff6120f9b0e573679b33d45797adcb667216d167e9f3ee41349a53d4f7808b3b1c5bed76e3f4bbb WHIRLPOOL 469011ee2acc6e785ecbbe957a6ebe6e88e0d97cee9b3872d663a7ed907768167aaf2c8113d853de905db84ec96a03c6798926013a7aed76f9ebd70807b0c500
+EBUILD ttyload-0.5.3.ebuild 715 SHA256 4bdab66f8c75dbf453c74803966091cf667c4a6c86a2188ccfa54ad870976344 SHA512 c29bee509b9788891adb4971439cc2333a3f3856f1063aef12036314e33e4e2ec946ef20d7bd2f692ecb74c68e7211572f3d80e60e682fa0b57847047d4234c4 WHIRLPOOL c8feb18d7a39d1ddd2b912b9b2d08f486b5f6fa5adcb11e21a3e45b30f0f9222a0b87d67583aae6cab3973e640b89d82102ed89415b8a7201dfecdfaac1599f4
+MISC metadata.xml 377 SHA256 3684c43060a9b340ca7710c1697b9c3cd8b6218f6bda4ebadd23cc6661dc4748 SHA512 7db7620ce42324e2a551b2fa5898aab491c868b5d28b938e163ea1bf24aed66913fff8d611e95c634e65aa5372bed9314a55b278d62157929d6873cea7994bd6 WHIRLPOOL c704ca2f5573778786616e592f36f8cd6ed3003f981ecdb5287bfbd882fff0d93e423f38999fb24e7f0e5e813e922e7f64c0de7c364974637141514062af6b61
diff --git a/app-misc/ttyload/metadata.xml b/app-misc/ttyload/metadata.xml
new file mode 100644
index 000000000000..94248608af4d
--- /dev/null
+++ b/app-misc/ttyload/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>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ttyload/ttyload-0.5.3.ebuild b/app-misc/ttyload/ttyload-0.5.3.ebuild
new file mode 100644
index 000000000000..0ef762b01215
--- /dev/null
+++ b/app-misc/ttyload/ttyload-0.5.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="color-coded graph of load averages over time"
+HOMEPAGE="http://www.daveltd.com/src/util/ttyload https://github.com/lindes/ttyload"
+SRC_URI="http://www.daveltd.com/src/util/${PN}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="sys-libs/ncurses:0="
+
+RESTRICT="test"
+
+DOCS=( BUGS HISTORY LICENSE README.md TODO )
+
+src_prepare() {
+ default
+ sed -i '10i#include <time.h>' "${PN}.h" || die
+ sed -i -e "s#make#$\(MAKE\)#" Makefile || die
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-misc/ttyrec/Manifest b/app-misc/ttyrec/Manifest
new file mode 100644
index 000000000000..60cfa86872f9
--- /dev/null
+++ b/app-misc/ttyrec/Manifest
@@ -0,0 +1,8 @@
+AUX ttyrec-1.0.8-flags.patch 591 SHA256 a7500040b86a41c7dbac7b5a84fb6d45877dfd3f75adf0c8fd6b35d4cf3fae95 SHA512 245a5e34611869d4b612a25922cde034ad3e54a3b7579850f2ddce3e0200726ed3707a518464c176044c9a9ab5f60737ded7941f1882d560d963c59e6221861c WHIRLPOOL 948911ee3ba4b50449f91138c2b4f12b5b8c105a9da2cd7291a00fb770999ce85eeed77afd4dea4d55731dafd305170ead59e30ccd594972c9217e8620401b8c
+AUX ttyrec-1.0.8-ldflags.patch 552 SHA256 39ce53869020a43b55e8894bc64738ec0e1f23fcc5cb3e1ce119f588e6905a78 SHA512 ab82ceba71e4a15a8a2e492b6e7fe2258465d7f8a9272ac6b4365fcfeced065c22188eac326d9559f302b94dbedef7d71b288140e39687495f05a0a1c3f2540d WHIRLPOOL 1a92a0d6d857b1ff2a7d69489602c676b0e44ff34022c98c21731784fc65c4c8d2a2c7e069eea9ad790c8ff7e5bf2e741c492d8542d94c0eb53a84aed6a5d321
+DIST ttyrec-1.0.8.tar.gz 8528 SHA256 ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec SHA512 b7f6f4c78c5148dacc7058534d89f13fcf333ee9e099d4475135e9c15a99a8aed72bf4bd5954652a6bb044d11ad35b4cb8d07208a5349c79c811f68fde7e8611 WHIRLPOOL d8f51ea4c88082b0f272170fec7aed0fa14d153b145f17958dc6101b5e383bbf7dfc4c5ed9cdbac23c08cef6baf25f4b65f3db13f7575bae65bf9ca3f58d48e3
+EBUILD ttyrec-1.0.8-r1.ebuild 739 SHA256 f68842387565e723649ddc869acf56d66579c164dff7cbda99c4d70bfd8cf9c1 SHA512 df9b0e6d5065a73198826ad063f201a02d958b1533abf00395a0886d44c13b953904df3b785285862d0989d42bf972dc17bfd11ffc2b8be754ea5d3c9d80f1d6 WHIRLPOOL bdab1e686695b446df5c9bdbdfa23a6d7b8be30cc42a5aa69cad4919d2ae3dc48b8d8e06e30d1eb0a0cd25c8d7f1f56e16c7210f295e40e109909e6b69b30057
+EBUILD ttyrec-1.0.8-r2.ebuild 674 SHA256 b9bb529af0ced9fb2b390fba27560986b89b49ec05d94016d44c73a6dd6f3384 SHA512 912c24c1c6d432215694edf35fb77417eb6f9c354d697fd550311422ba0477df2db92b681d123056ac8fbeef74f6d11eef37db8e0c1629f065c3a6f1ba790ca6 WHIRLPOOL 643fb6d556fd981ae150d373b35923f593d84a23d082fc0b6eafe52503ce273f94efb4f005c29a7f7395a001e37c80a0be1cc911e6722e4ad8b3b81c6482b4e2
+MISC ChangeLog 2560 SHA256 04eda61f241c162d03859e38bc8815f72f8ef12f62e15f5d688074948b337f05 SHA512 c6e2ad1150421b6dfe44200e9920304e7531c0bcf2ae48d4db0f6432f6be716771cfd4375a52c90015dd4070b82887424f71c93b725241a9de8db0f3a4ba0cfc WHIRLPOOL 29e0e105acb674ad79912b4c5f737d08e704348c2e3ae169b66dad4d47db5c367139655c90abf5e329ff38500d5d09c4994402da9e064d55d85eed5a0ef9dfdb
+MISC ChangeLog-2015 3181 SHA256 556555b8b3f9eeb9e89672e9b602bd12cd7fb13e844f7558b3ebb7c0e9d1959c SHA512 efccd026856a7bd9b93e0436f893e771b8bb272404ffd3cda853b3b93ca425487cf6023679d626eab769d28d68ed5bf80c77a12770ed210594031edab510df91 WHIRLPOOL 4b88e585f7b8be8d28ed0892ff4d521697edaf53b13ce8e4d297187c85326acecb03e37cf68b5d3ca0f7965d42d0c213732b20f0085d04daaa04c9b57ed20030
+MISC metadata.xml 478 SHA256 e2bee3c4181d9a41b4acc51ea06d00d84da6f25161c04efab7f6316a1fedf271 SHA512 54661fe489c664e07c3c5a73dc0f6901260e42e094af8220f00f78f7136e3dc9a0ec8844585cb77accbdb9e6c9423acacd600ca8939069905ba2494f7ddbe088 WHIRLPOOL cedc9a472a7371b8abb784eb066df944b69bf1f6d237534614e2264afe40d3a04cd1c0e901849305f58ec358f34b8177e343f2c362b23b9840f0c266427b1d8e
diff --git a/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch b/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch
new file mode 100644
index 000000000000..34687d9b8b7a
--- /dev/null
+++ b/app-misc/ttyrec/files/ttyrec-1.0.8-flags.patch
@@ -0,0 +1,19 @@
+--- a/Makefile 2017-08-26 11:47:02.981266309 +0200
++++ b/Makefile 2017-08-26 14:33:47.161600445 +0200
+@@ -10,13 +10,13 @@
+ all: $(TARGET)
+
+ ttyrec: ttyrec.o io.o
+- $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttyrec ttyrec.o io.o
+
+ ttyplay: ttyplay.o io.o
+- $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttyplay ttyplay.o io.o
+
+ ttytime: ttytime.o io.o
+- $(CC) $(CFLAGS) -o ttytime ttytime.o io.o
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o ttytime ttytime.o io.o
+
+ clean:
+ rm -f *.o $(TARGET) ttyrecord *~
diff --git a/app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch b/app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch
new file mode 100644
index 000000000000..5b2393ce5393
--- /dev/null
+++ b/app-misc/ttyrec/files/ttyrec-1.0.8-ldflags.patch
@@ -0,0 +1,19 @@
+--- Makefile~ 2010-08-09 14:01:24.351716328 -0400
++++ Makefile 2010-08-09 14:00:45.981716329 -0400
+@@ -10,13 +10,13 @@
+ all: $(TARGET)
+
+ ttyrec: ttyrec.o io.o
+- $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o ttyrec ttyrec.o io.o
+
+ ttyplay: ttyplay.o io.o
+- $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o ttyplay ttyplay.o io.o
+
+ ttytime: ttytime.o io.o
+- $(CC) $(CFLAGS) -o ttytime ttytime.o io.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o ttytime ttytime.o io.o
+
+ clean:
+ rm -f *.o $(TARGET) ttyrecord *~
diff --git a/app-misc/ttyrec/metadata.xml b/app-misc/ttyrec/metadata.xml
new file mode 100644
index 000000000000..939212a8a109
--- /dev/null
+++ b/app-misc/ttyrec/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-needed -->
+<longdescription>
+ttyrec is a tty recorder. Recorded data can be played back with the
+included ttyplay command. ttyrec is just a derivative of script
+command for recording timing information with microsecond accuracy as
+well. It can record emacs -nw, vi, lynx, or any programs running on
+tty.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..ef4ff7b26149
--- /dev/null
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit base flag-o-matic toolchain-funcs
+
+DESCRIPTION="The tty recorder provides tools to record and replay a terminal session."
+HOMEPAGE="http://0xcc.net/ttyrec/"
+SRC_URI="http://namazu.org/~satoru/ttyrec/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+# Bug 331843
+PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
+
+src_compile() {
+ # Bug 106530
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin ttyrec ttyplay ttytime
+ dodoc README
+ doman *.1
+}
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild
new file mode 100644
index 000000000000..d5609a7a7f55
--- /dev/null
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The tty recorder provides tools to record and replay a terminal session."
+HOMEPAGE="http://0xcc.net/ttyrec/"
+SRC_URI="http://0xcc.net/ttyrec/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+PATCHES=( "${FILESDIR}/${P}-flags.patch" )
+
+src_compile() {
+ # Bug 106530
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
+ default
+}
+
+src_install() {
+ dobin ttyrec ttyplay ttytime
+ dodoc README
+ doman *.1
+}
diff --git a/app-misc/ttysnoop/Manifest b/app-misc/ttysnoop/Manifest
new file mode 100644
index 000000000000..a1f46da2b743
--- /dev/null
+++ b/app-misc/ttysnoop/Manifest
@@ -0,0 +1,7 @@
+AUX pinkbyte_masking.patch 1028 SHA256 b0d7856f9dc01cdfb4bedfff9336ddd3edca5c6b01ab08101314a66431470cbe SHA512 a4adede6ceeea84ccf760805fb4f7044fa06fcc00291556bcaf61b8be81256d10751e3efd7e35c8b26897d98878da6dc17d526cd335aee5bb91762cd129225f1 WHIRLPOOL dbedf38db969eaa7d8c5835ba6a90871dc1c33a52a0bb41b97466519cfee139771cf11101555617c737c186d054cd9cc3575b6eb750a4a81581ac475489e171a
+AUX ttysnoop-makefile.patch 1004 SHA256 80b254fbfaaa3e5c79041d725becb472588e49d157bb7811db9fb9c13267a476 SHA512 f5e8f5764ecfd7174646801650f63ed5608dd5ce1d5e321419ff5318946ed03b61f2e25108d9d5c9dbce95eb4b788c74543cc57b0ba57d430e6ddc519e73321d WHIRLPOOL 9eb0e2c4d06e0720e8be074bd6e03ecc640306c8ed84ba7c7d975836c96c23de96730a96f39c71c93709b3d120adfaffe3b029108124ff61ce047365288146ad
+DIST ttysnoop-0.12d.k26.tar.gz 9376 SHA256 250d7027af95f49f7d081a42878bf13b393db8e4475120278bb5e2a820fb6249 SHA512 9ac90ce08e170442718ca4871b7cb569acd8a594e63a56a6889ff0852be93a6ae8e7a212ba1064e74286043dad5a27af5d8588cb3b1ea297db4bf7fa10c66665 WHIRLPOOL c11cced3730e5591c2f4d3920a39a2a58177d4889e1b3cd7d2aedb46d15937637cc64fe2ed1412d6481adccd9459204097ffd62e59cd85687fd9f6263ad2830f
+EBUILD ttysnoop-0.12d.ebuild 834 SHA256 7fdf8876317f59b47c09dfa045b2318ba838385843eaa42d56cbcdd47fd2a260 SHA512 c7672eafd3450c4e8f7cb1d089f33064400b4075d78d49d9a11aca68e61e45bb4de75fd6ff7709d80f98f0024c1981405275031a6bc79dd6ad1cb082df0c273f WHIRLPOOL c4cb658cc2ef847fe56eb6ae419f6354dc1d34340ceb5437ab52c655660ca487ddb035b2ab54c5198acb583d9735a4f8d9a7f25c83f882f68ab58ad84bdb61ab
+MISC ChangeLog 2244 SHA256 442e66bee53f92eb44d74b0a2d2f4841edd3306c46b4ccab0391d9f99c8fbd38 SHA512 bd7fa021f9501c6b29533ba6728493ec4f98f65b0faf065532a7badb2699909199d3a937fc867f0e4ad4b9529af7e08cc2d581d8df1c8b29ba1809a18af67193 WHIRLPOOL 11822d5750a24464456adada2ec724d436384654dd8f37cc35ccba99d32c911966235fd43db91dc91783ac830051941fc473e78294f7d67db4fe2eae3fe034a3
+MISC ChangeLog-2015 1211 SHA256 142be678730acf4ad62e86220c6b8430d924a118cdee1521c9f861c6e8ed557d SHA512 c358b6db78ae29e1ccaf1f96224cdc8a3dbc1798127649c7386b0c7ca89d1959e69916d7a9aa2a7e29b33dc494609a207762bd4397c7653eb4e2a387e478e303 WHIRLPOOL 33cf4bec1706ca5242a07dd99e79fc47b7a66d377c9bc7888cda8029dd7db1f35222d1799dfadf5081ee2a18169978942a4d3a75c0ccd2012a59918a3b00271a
+MISC metadata.xml 247 SHA256 fb925313d1ae70feaa6db91150f34a2157b48e884e8f47d773640af149e3744b SHA512 96c55c2979dd6a4c4761fce9b5a0be387b11fcf197ef903d8680ae82f01a2caea93b1238bed1ac96d3eb250744e2149a507e0424ac017b4324f0806a54e72c4a WHIRLPOOL 142b4295733faec48b0ca9eb6d3561799ff743481aabf2b74ecf6d717d972b4961979c7b6bf32b9840cb34e47d22fe2befb9b0ef8ec0d3f28f6416069128d3c7
diff --git a/app-misc/ttysnoop/files/pinkbyte_masking.patch b/app-misc/ttysnoop/files/pinkbyte_masking.patch
new file mode 100644
index 000000000000..a0539c239b04
--- /dev/null
+++ b/app-misc/ttysnoop/files/pinkbyte_masking.patch
@@ -0,0 +1,41 @@
+--- ttysnoops.c 2009-08-13 17:11:30.705202250 +0400
++++ ttysnoops.c 2009-08-13 17:17:29.989201055 +0400
+@@ -18,6 +18,7 @@
+ v0.12d 8-4-98 Carl Declerck - updated #includes a bit
+ k26 28-5-00 Vinicius Anselmo - added sound alert (demoniac) created by Stas
+ k26 31-5-04 Vinicius Anselmo - updated for unix98 pty support
++ k26 13-8-09 Pinkbyte - deleted fucking sound alert and "bye bye" message ;)
+ */
+
+ #include <sys/types.h>
+@@ -502,22 +503,6 @@
+ struct utmp utmp;
+ int ptyfd, servfd, len, n, sel, susp = 0;
+
+- /* demoniac begin */
+-
+- StopHandle();
+-
+- if (InitSound()) /* play if we can */
+- {
+- DoSound(466, SLEN); // A#4
+- DoSound(622, SLEN); // D#5
+- DoSound(784, SLEN); // G5
+- DoSound(932, SLEN*2); // A#5
+- DoSound(784, SLEN); // G5
+- DoSound(932, SLEN*3); // A#5
+- }
+-
+- /* demoniac end */
+-
+ if (!isatty(STDIN_FILENO))
+ errorf ("stdin is not a tty\n");
+
+@@ -660,7 +645,6 @@
+ {
+ if ((n = read(ptyfd, buff, BUFF_SIZE)) < 1)
+ {
+- errorf ("bye bye\n");
+ exit (0);
+ }
+
diff --git a/app-misc/ttysnoop/files/ttysnoop-makefile.patch b/app-misc/ttysnoop/files/ttysnoop-makefile.patch
new file mode 100644
index 000000000000..54d04dd40a29
--- /dev/null
+++ b/app-misc/ttysnoop/files/ttysnoop-makefile.patch
@@ -0,0 +1,36 @@
+--- Makefile 2004-06-07 04:27:40.000000000 +0400
++++ Makefile 2011-07-21 11:50:22.580167326 +0400
+@@ -11,7 +11,7 @@
+
+ # For shadow support
+
+-CCOPTS = -O2 -DSHADOW_PWD
++CCOPTS = -DSHADOW_PWD
+ LIBS = -lcrypt
+ #LIBS = -lshadow
+
+@@ -24,19 +24,19 @@
+ all: ttysnoops ttysnoop
+
+ ttysnoops: $(SERVEROBJS)
+- $(CC) $(SERVEROBJS) -o ttysnoops $(LIBS)
++ $(CC) $(SERVEROBJS) -o ttysnoops $(LDFLAGS) $(LIBS)
+
+ ttysnoop: $(CLIENTOBJS)
+- $(CC) $(CLIENTOBJS) -o ttysnoop $(LIBS)
++ $(CC) $(CLIENTOBJS) -o ttysnoop $(LDFLAGS) $(LIBS)
+
+ ttysnoops.o: $(SERVERSRCS) $(INCLUDES)
+- $(CC) $(CCOPTS) -c -o ttysnoops.o $(SERVERSRCS)
++ $(CC) $(CCOPTS) $(CFLAGS) -c -o ttysnoops.o $(SERVERSRCS)
+
+ ttysnoop.o: $(CLIENTSRCS) $(INCLUDES)
+- $(CC) $(CCOPTS) -c -o ttysnoop.o $(CLIENTSRCS)
++ $(CC) $(CCOPTS) $(CFLAGS) -c -o ttysnoop.o $(CLIENTSRCS)
+
+ common.o: common.c common.h
+- $(CC) $(CCOPTS) -c -o common.o common.c
++ $(CC) $(CCOPTS) $(CFLAGS) -c -o common.o common.c
+
+ clean:
+ rm -f *.o core ttysnoop ttysnoops
diff --git a/app-misc/ttysnoop/metadata.xml b/app-misc/ttysnoop/metadata.xml
new file mode 100644
index 000000000000..5b159fbcadd1
--- /dev/null
+++ b/app-misc/ttysnoop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ttysnoop/ttysnoop-0.12d.ebuild b/app-misc/ttysnoop/ttysnoop-0.12d.ebuild
new file mode 100644
index 000000000000..f458720b20b4
--- /dev/null
+++ b/app-misc/ttysnoop/ttysnoop-0.12d.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+MY_P="${P}.k26"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Tool to snoop on login tty's through another tty-device or pseudo-tty"
+HOMEPAGE="http://sysd.org/stas/node/35"
+SRC_URI="http://sysd.org/stas/files/active/0/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="README snooptab.dist"
+
+src_prepare(){
+ epatch "${FILESDIR}"/pinkbyte_masking.patch
+ epatch "${FILESDIR}"/"${PN}"-makefile.patch
+}
+
+src_compile(){
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dodir /var/spool/ttysnoop
+ fperms o= /var/spool/ttysnoop
+ dodoc ${DOCS}
+ dosbin ttysnoop
+ dosbin ttysnoops
+ doman ttysnoop.8
+ insinto /etc
+ newins snooptab.dist snooptab
+}
diff --git a/app-misc/unfoo/Manifest b/app-misc/unfoo/Manifest
new file mode 100644
index 000000000000..8f891d47ef45
--- /dev/null
+++ b/app-misc/unfoo/Manifest
@@ -0,0 +1,5 @@
+DIST unfoo-1.0.8.tar.gz 31862 SHA256 badc62603f1f7293032b36a1a3f1051b715b31895700d116d74cba4cb68af1e5 SHA512 b4a2489ca4ae5a81feacc57aa7c9c6437e3fbb0cec997d1b5e182e9ea7e19c13998968f23094e78908e6d41e699d50a1353ae475ec32146c63298eff06182281 WHIRLPOOL a6ab9fe60f73d07753760cba5d6d9d9ed7694fc1fba233c0510b823e1ad6f8e539207815543c690072545178841336d853ae6378fa88dc63e7668d1c3d266205
+EBUILD unfoo-1.0.8.ebuild 1257 SHA256 24d01e8b24deb8095bcb8c2c94cc697bf4e04d492db169819563ebfc2cbf86ee SHA512 482c1a29dd5d23ce398495b0838257d4ffa41e4a48ee1fbb616e7c590e83a7d5309d23f211263af966f7e7699e52a651698530cf7f502c560bf4ff7c1bdba4b1 WHIRLPOOL ea62e53624bf42ba582429926ebbf95d0f12364d9c72e8525ef7ab0a2f39bc9c0db121c8ae8091d4b5c90d6a4d71a5075c19ecefe9c663d0eb111c5b1f54e5b7
+MISC ChangeLog 2421 SHA256 a60070c6bc19edbbf9d43d82900ea1b8aa8a7ddf5a851de71e8dfd0b44fb1b3d SHA512 72f4ad5a269b9896af79531c0b8c01ca814ad770c62bfe78d35772c0f5f0bbb802ffd77464095fa5bf9ab6f490426c064057323965864ad64bd8447b943e36a8 WHIRLPOOL 2bb731e7dfc86803075df2c34d647d64e201e3fd780f87dd09935bf4af9a2f688113d3e1f6c9d7e490d4426bd7240e8edbcfd9ab735b3766a4e796ccffc9e209
+MISC ChangeLog-2015 4301 SHA256 4c32a7e51ceed5575a7d404d9840c2814906df14c755b0eb73a9db59d3cd01d8 SHA512 15a70c120acf88108894916e170e167f3a45255decf41025fc7489b5f31a9618934cc2b4b12d2d146199802b62b438edd5db98da96f82ba2a9cb8b1ddb679c0e WHIRLPOOL 5acd9ecd44a4b9d4c77c0641c655d084f02b4a7da64406f95fdd6cbe8123a08271bedae4b8d8564d7dcc72a60ef0ec9dc854f03710519cfba887f893a330160f
+MISC metadata.xml 443 SHA256 22f15e113fdad3443f1a59fbe37cc1348d49e11b955ba458b8b404c73354a1de SHA512 d51afbee4941d3a6d5239b983e2beec524d9991c67131f691cf0f424b4ab5e798405fe89f7d8019c912a4e54413bf38f611bbb1574c4cef809440d7a1a60ee3e WHIRLPOOL fa8fc242e3639d6ff745eb2aa1adba561ea6fe60eb6ff6b384a9960691020118c67af65abc324b7498d3369e24c12bc1226fcd37f35ec4fefa2f76f6e4e14925
diff --git a/app-misc/unfoo/metadata.xml b/app-misc/unfoo/metadata.xml
new file mode 100644
index 000000000000..ef237e78bfe9
--- /dev/null
+++ b/app-misc/unfoo/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <use>
+ <flag name="minimal">Do not install all support archive binaries</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jlec/unfoo</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/unfoo/unfoo-1.0.8.ebuild b/app-misc/unfoo/unfoo-1.0.8.ebuild
new file mode 100644
index 000000000000..cc38a96c3784
--- /dev/null
+++ b/app-misc/unfoo/unfoo-1.0.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
+HOMEPAGE="http://obsoleet.org/code/unfoo"
+SRC_URI="https://github.com/jlec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
+IUSE="+minimal test"
+
+COMMON_DEPS="
+ || (
+ app-arch/bzip2
+ app-arch/lbzip2[symlink]
+ app-arch/pbzip2[symlink] )
+ || (
+ app-arch/gzip
+ app-arch/pigz[symlink] )
+ app-arch/p7zip
+ || (
+ app-arch/rar
+ app-arch/unrar )
+ app-arch/unace
+ app-arch/unzip
+ app-arch/xz-utils"
+RDEPEND="!minimal? ( ${COMMON_DEPS} )"
+DEPEND="test? ( ${COMMON_DEPS} )"
+
+src_compile() { :; }
+
+src_install() {
+ dodoc README*
+ dobin ${PN}
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "unfoo can handle far more than just .tar*, but it requires some"
+ elog "optional packages to do so. For a list, either consult the source"
+ elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
+ elog "To get full support please use USE=-minimal"
+ elif [[ ${REPLACING_VERSIONS} < 1.0.7 ]]; then
+ elog "To get full support please use USE=-minimal"
+ fi
+}
diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
new file mode 100644
index 000000000000..28bb9ab29420
--- /dev/null
+++ b/app-misc/uptimed/Manifest
@@ -0,0 +1,7 @@
+AUX uptimed.init-r1 730 SHA256 c14e0e4ff672aa2e4b16f55bf280f1d416843253aed47f7976f412f1b4d55203 SHA512 8a9e054b2ae3f5479504b0d466a96687f5be2c5d1d8fda740597ca21d8854b4ba4bc8576f8f903392e1b3c7564e3e9e80eb39f30f5a8df0b228d1bdae04725f0 WHIRLPOOL f310d8f63562b679806ab95e8dd56670e19f1560b330ea3a67b7ec5ea3d7b0ccb379f497ac558daed9913b04e35181bccff392942d46d20ea9d8174a629c1c07
+AUX uptimed.service 209 SHA256 1be567def3288746970983ab6abe2c7c3cd304bb32a615430d7789298eb35d64 SHA512 949baf12782d4b8a976d29ec44bd31323500de763b82601634eea3721ce9035bb9b7ca906384e2b8ebd57371a1116a95dd78c3610c27fa1d93e36b9f897bcd98 WHIRLPOOL d38ab160b8957dce6edfd64f0d90239708fdeadac303b10e88fa4335295cb7638db077da7c8cb7a4b87a1f6ee1ff6efc452f25897d8db0beb1539fe21c5352b8
+DIST uptimed-0.4.0.tar.gz 55026 SHA256 26891965bb499065e34072cecd3eb8087102b1c05f530c8fe8504a07c722f9bf SHA512 918cd9e065d5005daf5062f14dffb725cb6d6764aa571fd45d63de3f7349b910cbae0dedc832f9bfb52a42caea90e8aec8390685baaf0718fec827240e517900 WHIRLPOOL 7611a0fda9c1f9f4bee30cb6f38c65dd93dfeb185335d34173f6abf4eb6e12747f27b0adb649a33807cda264671d98be0b3135b36abde111b7d30e06b885923f
+EBUILD uptimed-0.4.0-r1.ebuild 1476 SHA256 05730d7cf8a57f9e121294454ca6adb5729abc449a2acbd2464c79ed5f83d2db SHA512 cd97c3611a7e5d9f87364c703f811fb2b790239f5c4db0998ab7468d218de6c16a33c5ce0ad8529cc50f00b8efa354c194e1bcfca1daa842a7110402024f328b WHIRLPOOL 35e6e7c796cf74fd00451ee6da535648491ff03162741581ea64328f88ae0ad0be9d0cff618a53c29ce463ddf9dbc1da16a106a83c31f8f42022cf9c3ede0569
+MISC ChangeLog 2479 SHA256 78ec239126f00fafa0a16910400cbf5f221cc6aa97999735620d9152433a1e77 SHA512 cb66be88bb671b55e8b4f40e3736f814dccae42d5a5202b034d3a4b60781f0733785aa1f79de7563d4f112ca4e187d871d2ebe7093955b701c60969e95902b8e WHIRLPOOL 08b4f4ab75f5b1e4bfcd60f1e343d28b3054429c121d6de44f8db11bdc7855454559e35f2f662c8ca44d2e57020a1b4925ebd764d8a68b02a61002bdd3255f29
+MISC ChangeLog-2015 14391 SHA256 ba26cabeb21cd56b18247f1b1b45a212101c4d74f8ffd0ee5a4e4a0bbfe29b0d SHA512 20269f926bbd96e9304898baad40c3609dc003a20b9c35346cbc342a69cd0594426a35ff820a25734fdb16876d369f49034af6d6d8cd73817e260b4c486ef6c8 WHIRLPOOL 08dbfaa8ecf9a33a69eb7e0a19399c6ce7a2d4b5427fc9a3894fa3f2dc5ff7d8fd6f5870908f1d247f9794db39569397318e372c23be5f60c459d5ab7e5d9c67
+MISC metadata.xml 343 SHA256 06f45e19a7237f1472c3b3ded74baa213a2e941183efa2e1dad99a73691ff075 SHA512 59bdf10b3845f10cfbb9441ccd3ac6d8a7a85791f57acc2148ad334d0b9883d4d98b388bc93eacdec8a77ac885339e2aea368a9755bbda483132ec69c68a430f WHIRLPOOL 3dea77c9c6e1ae9e622ddd3040d8fdbf3e982e6e6e072de74d7d0154d09be82c080e0a76d8284c48221beb0681289ffebea1f9b2174d061555996d66b8bc3850
diff --git a/app-misc/uptimed/files/uptimed.init-r1 b/app-misc/uptimed/files/uptimed.init-r1
new file mode 100644
index 000000000000..96564d8ee541
--- /dev/null
+++ b/app-misc/uptimed/files/uptimed.init-r1
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="uptimed - a daemon to record uptime records"
+pidfile="/run/uptimed.pid"
+command="/usr/sbin/uptimed"
+command_user="uptimed"
+
+# The uptimed daemon can create its own PID file, but it doesn't know
+# how to drop privileges. On the other hand, if we run it as a
+# restricted user under start-stop-daemon, the PID file it creates
+# will therefore be owned by a non-root user, and that poses a
+# security risk. To avoid the issue entirely, we run the daemon in the
+# foreground, and then use command_background=true to let OpenRC
+# handle the PID file.
+command_args="-f"
+command_background="true"
diff --git a/app-misc/uptimed/files/uptimed.service b/app-misc/uptimed/files/uptimed.service
new file mode 100644
index 000000000000..531c41570216
--- /dev/null
+++ b/app-misc/uptimed/files/uptimed.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Uptime record tracking daemon
+Documentation=man:uptimed(8) man:uprecords(1)
+
+[Service]
+ExecStartPre=/usr/sbin/uptimed -b
+ExecStart=/usr/sbin/uptimed -f
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/uptimed/metadata.xml b/app-misc/uptimed/metadata.xml
new file mode 100644
index 000000000000..bb0ec8b1e524
--- /dev/null
+++ b/app-misc/uptimed/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rpodgorny/uptimed</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..2fbdfafd16b3
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils user systemd
+
+DESCRIPTION="System uptime record daemon that keeps track of your highest uptimes"
+HOMEPAGE="https://github.com/rpodgorny/uptimed/"
+SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="static-libs"
+
+pkg_setup() {
+ enewgroup uptimed
+ enewuser uptimed -1 -1 -1 uptimed
+}
+
+src_prepare() {
+ default
+ # respect DESTDIR
+ sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
+ # fix configure.ac for >=automake-1.13 (bug #467582)
+ sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/* )
+ default
+ prune_libtool_files --all
+ keepdir /var/spool/uptimed
+ fowners uptimed:uptimed /var/spool/uptimed
+ newinitd "${FILESDIR}"/${PN}.init-r1 uptimed
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+ einfo "Fixing permissions in /var/spool/${PN}"
+ chown -R uptimed:uptimed /var/spool/${PN}
+ echo
+ elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"
+ elog "or systemctl start uptimed (for systemd)"
+ elog "To view your uptime records, use the command 'uprecords'."
+ echo
+}
diff --git a/app-misc/utimer/Manifest b/app-misc/utimer/Manifest
new file mode 100644
index 000000000000..719c261a7051
--- /dev/null
+++ b/app-misc/utimer/Manifest
@@ -0,0 +1,6 @@
+DIST utimer-0.4.tar.gz 144408 SHA256 07a9d28e15155a10b7e6b22af05c84c878d95be782b6b0afaadec2f7884aa0f7 SHA512 f1a375de4b4b5b0f478e208e055badb12a49524137cbd9626238bc5fc35cf3576e7a7c66759dd00a061d12dc7a0ad3ee6974abc8213f5f6f8e22c50eb2901032 WHIRLPOOL ca76a257ae83f8197c84dea7bae0ddaabc3847e82d1f868fd92fec65340cdc317582d553a912897d3743c9f913559018467ea40274a4e3dc26e5b3a9a47710c3
+EBUILD utimer-0.4-r1.ebuild 666 SHA256 6082212cf60129e61ffadcf22af792295cf7bffa10c1119bd9def64b45cb669d SHA512 9450175d5f2e9f25f8cacfcaf3b87900d9a10ca62de6ce021e2f68784990c8ea42b23fa84565cb8fe3718150cfe89fe530fd05fdf1061042c5d1e6842387b4ce WHIRLPOOL 0ff669625fe79b19a776f4e974d36baf97742b841f94dcfac171ba5932c7d47a66c55a50d622690e771d85d62ecef006dfd020fb96f0fdd41ad08f69436ec5df
+EBUILD utimer-0.4.ebuild 729 SHA256 9082f548d6f6038b991228f8fffd1144b668ba42006fbcb7071f48f2b6a6c378 SHA512 191bac43e0e2487b459c5249116e1c8c7b50120e68c1068465481db646869536c9118c00246d649e6395ef2d4a687c18125f792af1bebc1f227d315bec6784e4 WHIRLPOOL cf86229204050ec701843b099a87daf06636ffc75490e95804df57eaa8685d31d63d2277eddb54a47c53eb72cdbf1d06cca1419df37715c80b3a3f27b415eba9
+MISC ChangeLog 3152 SHA256 f5b1e307d035a6b7ba2557245ffa9189d2c61e33e753638ee5cd24a563aa4436 SHA512 22a3fe789cc5d256e896d334cd0743a76d5142f4b6fa31e00ac5c38b3b6c972f3dc9a76a7fce43e83e8ba3f75b72768c5348d0ef4d4efd4f0acb02db443f691d WHIRLPOOL 8673fb31bcea502420af6e7e7fbd1a94e55198a694344177d864842ce1678b29cd832711ea84d3684c230a8b16352bfee45765b21c87db1f643b8104354eb99f
+MISC ChangeLog-2015 828 SHA256 77ba3685f92fdf8b61fe115a6a4c948e0992100ea942b00b019196d69382208a SHA512 fef07ef722cd3dfe50686f074a37db2376b889eee2afee8ece4a1013dc7bcaa34640cdc48b1e999f216aeac19890d0a3120e531a5e1bfe6045fbdfe463400d4f WHIRLPOOL 745e54f11ad091c17bfc1b8e655a8490e505c2301261f0f1e518430221f624672fe139fc05bcf41d13b5b8cb9a82fddece4af01b69ec0972658ad2f357545fa4
+MISC metadata.xml 572 SHA256 f25b970ff9f278d5cea1c68e21827c2d0a199e685d4c818c51230312fdc32c20 SHA512 68d162051df75a0bef331b36af7d1115502a2f176a3ad9215d13709a6ba5ff14945a21a479e5fea6129bffbc909374a4cd57f915515a8c269f4bda9c23475a94 WHIRLPOOL a213bd97d79306489343dd1cf569346879608b52bf8474c3ef79ec70dd768bcd4810db4178eb8e43a1d2cf681b51d2ff83cf62220e8a487cde0228bfda19c2c6
diff --git a/app-misc/utimer/metadata.xml b/app-misc/utimer/metadata.xml
new file mode 100644
index 000000000000..3a1e9599ee61
--- /dev/null
+++ b/app-misc/utimer/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>lavi.kfir@gmail.com</email>
+<name>Kfir Lavi</name>
+<description>Maintainer. Assign bugs to him</description>
+</maintainer>
+<maintainer type="person">
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+<description>Proxy maintainer. CC him on bugs</description>
+</maintainer>
+<maintainer type="project">
+<email>proxy-maint@gentoo.org</email>
+<name>Proxy Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-misc/utimer/utimer-0.4-r1.ebuild b/app-misc/utimer/utimer-0.4-r1.ebuild
new file mode 100644
index 000000000000..e5259f143a06
--- /dev/null
+++ b/app-misc/utimer/utimer-0.4-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
+DESCRIPTION="A command line timer and stopwatch"
+HOMEPAGE="http://utimer.codealpha.net/utimer"
+SRC_URI="http://utimer.codealpha.net/dl.php?file=${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug nls"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-util/intltool"
+
+RDEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ local myconf=( --enable-debug=no )
+ use debug || myconf=( --enable-debug=yes )
+ econf "${myconf[@]}" $(use_enable nls)
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ einstalldocs
+}
diff --git a/app-misc/utimer/utimer-0.4.ebuild b/app-misc/utimer/utimer-0.4.ebuild
new file mode 100644
index 000000000000..11dcdd5023ac
--- /dev/null
+++ b/app-misc/utimer/utimer-0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+DESCRIPTION="A command line timer and stopwatch"
+HOMEPAGE="http://utimer.codealpha.net/utimer"
+SRC_URI="http://utimer.codealpha.net/dl.php?file=${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug nls"
+
+DEPEND=">=dev-libs/glib-2.18.2
+ >=dev-util/intltool-0.40.5"
+RDEPEND="${RDEPEND}"
+
+src_configure() {
+ local myconf=
+ if use debug; then
+ myconf="--enable-debug=yes"
+ else
+ myconf="--enable-debug=no"
+ fi
+ econf ${myconf} $(use_enable nls)
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "failed to install"
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+}
diff --git a/app-misc/vcp/Manifest b/app-misc/vcp/Manifest
new file mode 100644
index 000000000000..f28aeff1a300
--- /dev/null
+++ b/app-misc/vcp/Manifest
@@ -0,0 +1,6 @@
+DIST vcp-2.2.tar.gz 20075 SHA256 2827f09e46e975bdd079f7ad826d29dd6eafa567dcb9059b7fb2a9a49f931b01 SHA512 3f9f60bce875f16a825b935fd241b11cc75d45b85b66133b27d16b86644c4bbfe69fa5f22571703e0ed6d235498f920a8796f6d74259db51a1abbd626c6f5137 WHIRLPOOL f0bea40888a271baf154a35928c3369c8bfe01ad0406386d8bc305138f2268e4460848d801ff55a5ab9fc8f9b55156ea7e8445a78365a8ceac3673dace0354f3
+EBUILD vcp-2.2-r1.ebuild 829 SHA256 c999e70adbf34a1df5cdce1c00a14a7d41c32536cf84546b7284b408dd942ca1 SHA512 a25a27c4cfe12343c4aed26eda370effdd57520622a664bf96d8af67642af2f63ac4fa7a746913045fd6ed205094a6444e3c3c2fb88c302199a7245b9249079c WHIRLPOOL bcc6601209380f0e351e561e7be02be44116658a8e6ac4a18b1a6eb5fe74f2195818476c642e30f96764100747c74bac42e5350b9422c50d68153267953d6e9a
+EBUILD vcp-2.2-r2.ebuild 761 SHA256 9512328243a836e1ee4ea238cc1a87ee202c920807b20b92c7d582b168bf859d SHA512 1340743c4d91c3b9fd6eb72ebc746ca3e7360049dd6e6c5cc31c73b9b5b2132068df29c4d22b27349d2d83a059f954041ec144903241c9756ee1b23de8336ca0 WHIRLPOOL 3a7c3b400eb2e138656c62a9d8f4b30bd8d7a5493bb8a81aae71d0c8eec646a312166724b53e0419b8c86a21814d4016f63571d4498fc4a8e693c3494b06acda
+MISC ChangeLog 2417 SHA256 6ad248350db47755d192e764548ec6efaf4458c7cc60528339136149c0f08695 SHA512 bbc5e34fd11006e3c8cbfd3fd22b2e46e46bab82eda65ea1568b685146ab34c298983f239e38e743233a49c3fcad7c2bbb740f885b3bfb547f052120abf5a942 WHIRLPOOL 39f20c091b8dfee3d8fed379aa19b0363ece45a2306f48ceae89de078608ad61b7c8a90f0279d3a596ea4bda5b0de6663b22d58feacd17ea59146b729bd8befd
+MISC ChangeLog-2015 2256 SHA256 22a8d7409d82599ff0c492aed5803f528586f251637a3177c9c94e7a1ce7d611 SHA512 4fab4689b5482f681e7a1139eb1f4ce4105158bff999a6610008f8ccfc33f8cb7d73ee3d51cc95e54081c9569f17bedb33781eb9bf7c842ca65d3b3ec4e666cb WHIRLPOOL 29b35386e02e99d196dd12a21bbfeee2451d340bcbf8dc6c9f1d54f4d87d75bde13cac5ad88c60648e388f533dce909841a4a40534514d22fe482215a0ad8d60
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/vcp/metadata.xml b/app-misc/vcp/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/vcp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/vcp/vcp-2.2-r1.ebuild b/app-misc/vcp/vcp-2.2-r1.ebuild
new file mode 100644
index 000000000000..f7d2773df7a4
--- /dev/null
+++ b/app-misc/vcp/vcp-2.2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="copy files/directories in a curses interface"
+HOMEPAGE="http://members.iinet.net.au/~lynx/vcp/"
+SRC_URI="http://members.iinet.net.au/~lynx/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile"
+}
+
+src_compile() {
+ filter-lfs-flags
+ emake CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ dobin vcp || die "dobin failed"
+ doman vcp.1 || die "doman failed"
+ insinto /etc
+ newins vcp.conf.sample vcp.conf || die "newins failed"
+ dodoc Changelog README INSTALL || die "dodoc failed"
+}
diff --git a/app-misc/vcp/vcp-2.2-r2.ebuild b/app-misc/vcp/vcp-2.2-r2.ebuild
new file mode 100644
index 000000000000..dd7ce777d9a6
--- /dev/null
+++ b/app-misc/vcp/vcp-2.2-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Copy files/directories in a curses interface"
+HOMEPAGE="http://members.iinet.net.au/~lynx/vcp/"
+SRC_URI="http://members.iinet.net.au/~lynx/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+
+DOCS=( Changelog README INSTALL )
+
+src_prepare() {
+ default
+ sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile"
+}
+
+src_compile() {
+ filter-lfs-flags
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ insinto /etc
+ newins "${PN}.conf.sample" "${PN}.conf"
+ einstalldocs
+}
diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest
new file mode 100644
index 000000000000..5092ae0c7d0d
--- /dev/null
+++ b/app-misc/vifm/Manifest
@@ -0,0 +1,9 @@
+DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc
+DIST vifm-0.8.2.tar.bz2 892414 SHA256 8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f SHA512 e2c9f84b8a24542f7153ef8a27b38ba8c251cb0ded72401f5e93fa92540d51b5c368a73147b9fa4a883dda5f880c1d8585c1b4879d46c0e00dea87eacecfdb25 WHIRLPOOL 26d5ff1249885c3be16d7ea7a09ded43498f60243aa46b5d2b8ed3e0d548b29e305943135bcc50a27cca539a5e3b9e240693b8381bdd9c45737e617641da784c
+DIST vifm-0.9.tar.bz2 971539 SHA256 ab10c99d1e4c24ff8a03c20be1c202cc15874750cc47a1614e6fe4f8d816a7fd SHA512 5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a WHIRLPOOL c8990508f817fba4ceb6ea95e04da89b601faeb4bece63a9cea187d096f0d711807f820ffae5a1269d5a5f93d53975e30e568bff6fd09595ed4b3c1394261c96
+EBUILD vifm-0.7.2.ebuild 1471 SHA256 74a95a9b715c536d0e56b5f8e705dc6bf980c7146c467cc40a7fe1d3a08858ba SHA512 97f60228c3d17c96913abc074e02f3a67687e82b2b6b961bee0d82d3bebf5079115ebca7cc3bb9d901c0291aeeb91e722f083aac8947fc86947d6259966f18f0 WHIRLPOOL 7c02db09d18dd1be836ac3b6ced711cb7569d85b6958831d0cbaff4d36a0077b43b7e4f31c2b4329b3593c4c23bf989d76567cecbc9bd74f98ae1443161f3cee
+EBUILD vifm-0.8.2.ebuild 1947 SHA256 cf350e7a3e3ed481be510b69240cf7f2a85c7fad9631c92354dedac15a3a2518 SHA512 756a9958f861270ca440354f2ebfbb6fbfc76ffd10a4d5efe8c212fadab3a52c32f671d9a471f33fe22757d3c6f52d8b9f6f3e7c8eda88594212822b0fe659a5 WHIRLPOOL b18bf59dd49cfa035dfbfca7c6dcab92e6239b0f86d71d94625d484910782f154ae2b21799b53f723fc36a73357639e4db3bf48a48582118ab569b2cbacfedfa
+EBUILD vifm-0.9.ebuild 1975 SHA256 76947b541eab35b4d488731742a54342796ab1cdcaac4f3cbdfc82cefeb385e0 SHA512 27e0e9f89034149970888734f2df38bb665c380777ad30d6af4b5d5307371e40db996843823314f8c2f5e5858ba1c93c2897aef8d6043fc7e967180c7f8abe2d WHIRLPOOL 2b1fcd34a624cb54487ca4a5f4bf386e67ebd8b51cbe47ad42d1d22b9ecfd736532436f8b4d613341a9ab28c4b549ff1a94c6bb357a89b63bc61f064b77d7c4a
+MISC ChangeLog 4995 SHA256 5b165b74e6def89548e81a534757a1068154202b40b81ab4e9d86774bf62eaea SHA512 ef688e9e22d58219788b620f076817d446b2b4ed1c3324398a5dced7ded2a76c94be4d4ee29932658eaaee535c081059049a55b4db4903f37daafb566ecd4ca9 WHIRLPOOL fc42920fb2696daa095562b7c36a2c222aa681ff078d1d97cb5835ac80eb40d25e4eece230f4bdf6f08b5ba163656b1e0e72ab16a927760299d9cb155769a70d
+MISC ChangeLog-2015 6752 SHA256 1e2ae5d0b54d899cf66508ae29596bfbf2f079689aaf354ee52509c0fe9e64c3 SHA512 1656f6b5d0a94e79e3889408c32b31e08cc1442d2f5d4cb036d7d8b893f88e5793daf01b86902d3b2d01d2e107281221056068e651c21a001ce4f07f8fa7b76f WHIRLPOOL 285435f8b494bc944513ca179b7c975e96e9f42d8410590ebefdfb68c868cf661749da6c205241741f920f39a99e97a02d0ed04a9c7c0b48f91121efd279f030
+MISC metadata.xml 1457 SHA256 1b3f5767c9cf686dbbe83eb516d8a0bedc480a73fa1e20bf70c2c694f6109c23 SHA512 ea9d05e36d616a6d9588549317307e28acfe19f66493c870dca9767027124ba1ff45369e5f413dcac5697895f854baf148ef0afc687a801157bba40ce1be5f9a WHIRLPOOL 3a597c5083576e51df4e4cb06c4d2420e72bae8b0bd65f18b735a41e0379c105b24b050a226c9b72d8706af50b31a98829cdc1c92b3ae17672b9c1363c8d5a70
diff --git a/app-misc/vifm/metadata.xml b/app-misc/vifm/metadata.xml
new file mode 100644
index 000000000000..3ed17ddd9fc2
--- /dev/null
+++ b/app-misc/vifm/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nimiux@gentoo.org</email>
+ <name>Chema Alonso</name>
+ </maintainer>
+ <longdescription>
+ Vifm is a ncurses based file manager with vi like keybindings. If you
+ use vi, vifm gives you complete keyboard control over your files without
+ having to learn a new set of commands.
+ </longdescription>
+ <longdescription lang="es">
+ Vifm es un gestor de ficheros basado en ncurses con definiciones de
+ teclas estilo vi. Si utiliza vi, vifm le ofrece un control completo
+ de sus ficheros utilizando el teclado si tener que aprender un nuevo
+ conjunto de órdenes.
+ </longdescription>
+ <use>
+ <flag name="compatibility">Compatibility with previous versions of vifm</flag>
+ <flag name="developer">Enable features of interest to developers</flag>
+ <flag name="extended-keys">Support for extended keys (arrows, home etc)</flag>
+ <flag name="gtk">Use gtk+ to determine mimetypes</flag>
+ <flag name="magic">Use libmagic to determine mimetypes</flag>
+ <flag name="vim">Install the vifm vim plugin and vim-compatible documentation</flag>
+ <flag name="vim-plugin">Install the vifm vim plugin</flag>
+ <flag name="vim-syntax">Pulls in related vim syntax scripts</flag>
+ <flag name="X">Add support for X11</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">vifm</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/vifm/vifm-0.7.2.ebuild b/app-misc/vifm/vifm-0.7.2.ebuild
new file mode 100644
index 000000000000..1d2fab2e4b8e
--- /dev/null
+++ b/app-misc/vifm/vifm-0.7.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit base
+
+DESCRIPTION="Console file manager with vi(m)-like keybindings"
+HOMEPAGE="http://vifm.info/"
+SRC_URI="mirror://sourceforge/vifm/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc s390 x86"
+IUSE="+compatibility +extended-keys +magic vim-plugin vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.7-r7
+ magic? ( sys-apps/file )
+"
+RDEPEND="
+ ${DEPEND}
+ vim-plugin? ( >=app-editors/vim-7.3 )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+"
+
+DOCS=( AUTHORS FAQ NEWS README TODO )
+
+S="${WORKDIR}"
+
+src_configure() {
+ econf \
+ $(use_enable compatibility compatibility-mode) \
+ $(use_enable extended-keys) \
+ $(use_with magic libmagic)
+}
+
+src_install() {
+ base_src_install
+
+ if use vim-syntax; then
+ local t
+ for t in ftdetect ftplugin syntax; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${t}"/"${PN}".vim
+ done
+ fi
+ if use vim-plugin; then
+ local t
+ for t in doc plugin; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${t}"/"${PN}".*
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog "To use vim to view the vifm help, copy /usr/share/${P}/vifm.txt"
+ elog " to ~/.vim/doc/ and run ':helptags ~/.vim/doc' in vim,"
+ elog "then edit ~/.vifm/vifmrc${PV/a/} and set USE_VIM_HELP=1"
+ elog ""
+ elog "To use the vifm plugin in vim, copy /usr/share/${P}/vifm.vim to"
+ elog " /usr/share/vim/vimXX/"
+}
diff --git a/app-misc/vifm/vifm-0.8.2.ebuild b/app-misc/vifm/vifm-0.8.2.ebuild
new file mode 100644
index 000000000000..7b3de5c96e58
--- /dev/null
+++ b/app-misc/vifm/vifm-0.8.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools vim-doc versionator
+
+DESCRIPTION="Console file manager with vi(m)-like keybindings"
+HOMEPAGE="http://vifm.info/"
+SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~s390 x86"
+IUSE="X developer +extended-keys gtk +magic vim vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.9-r3:0
+ magic? ( sys-apps/file )
+ gtk? ( x11-libs/gtk+:2 )
+ X? ( x11-libs/libX11 )
+"
+RDEPEND="
+ ${DEPEND}
+ vim? ( || ( app-editors/vim app-editors/gvim ) )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+"
+
+DOCS="AUTHORS FAQ NEWS README TODO"
+
+src_prepare() {
+ sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \
+ || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable developer) \
+ $(use_enable extended-keys) \
+ $(use_with magic libmagic) \
+ $(use_with gtk) \
+ $(use_with X X11)
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ einstall
+ dodoc ${DOCS}
+
+ if use vim; then
+ local t
+ for t in app plugin; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/doc/"${t}"/"${PN}"*
+ done
+ fi
+
+ if use vim-syntax; then
+ local t
+ for t in ftdetect ftplugin syntax; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${t}"/"${PN}".vim
+ done
+ fi
+}
+
+src_test() {
+ emake check
+}
+
+pkg_postinst() {
+ if use vim; then
+ update_vim_helptags
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ elog
+ elog "You don't need to copy or link any files for"
+ elog " the vim plugin and documentation to work anymore."
+ elog "If you copied any vifm files to ~/.vim/ manually"
+ elog " in earlier vifm versions, please delete them."
+ fi
+ elog
+ elog "To use vim in vifm to view the documentation"
+ elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ use vim && update_vim_helptags
+}
diff --git a/app-misc/vifm/vifm-0.9.ebuild b/app-misc/vifm/vifm-0.9.ebuild
new file mode 100644
index 000000000000..89fba18b853e
--- /dev/null
+++ b/app-misc/vifm/vifm-0.9.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools vim-doc versionator
+
+DESCRIPTION="Console file manager with vi(m)-like keybindings"
+HOMEPAGE="http://vifm.info/"
+SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="X developer +extended-keys gtk +magic vim vim-syntax"
+
+DEPEND="
+ >=sys-libs/ncurses-5.9-r3:0
+ magic? ( sys-apps/file )
+ gtk? ( x11-libs/gtk+:2 )
+ X? ( x11-libs/libX11 )
+"
+RDEPEND="
+ ${DEPEND}
+ vim? ( || ( app-editors/vim app-editors/gvim ) )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
+"
+
+DOCS="AUTHORS FAQ NEWS README TODO"
+
+src_prepare() {
+ sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \
+ || die
+ eapply_user
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable developer) \
+ $(use_enable extended-keys) \
+ $(use_with magic libmagic) \
+ $(use_with gtk) \
+ $(use_with X X11)
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ${DOCS}
+
+ if use vim; then
+ local t
+ for t in app plugin; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/doc/"${t}"/"${PN}"*
+ done
+ fi
+
+ if use vim-syntax; then
+ local t
+ for t in ftdetect ftplugin syntax; do
+ insinto /usr/share/vim/vimfiles/"${t}"
+ doins "${S}"/data/vim/"${t}"/"${PN}".vim
+ done
+ fi
+}
+
+src_test() {
+ emake check
+}
+
+pkg_postinst() {
+ if use vim; then
+ update_vim_helptags
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ elog
+ elog "You don't need to copy or link any files for"
+ elog " the vim plugin and documentation to work anymore."
+ elog "If you copied any vifm files to ~/.vim/ manually"
+ elog " in earlier vifm versions, please delete them."
+ fi
+ elog
+ elog "To use vim in vifm to view the documentation"
+ elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ use vim && update_vim_helptags
+}
diff --git a/app-misc/vit/Manifest b/app-misc/vit/Manifest
new file mode 100644
index 000000000000..3912a0753509
--- /dev/null
+++ b/app-misc/vit/Manifest
@@ -0,0 +1,7 @@
+AUX vit-allow-nonsudo-install.patch 978 SHA256 280add74e4c57264bcac1b48fa75f60093a2a8abcb98af43818a265125947b64 SHA512 11b50594481934dd33a5f59bf04c61c7a347e517f1f0408be8c7463731490bf49c0c823c4b9ac1b951ac1f7e66d531f2d0df74ee12c3d25f47a299a2b16da628 WHIRLPOOL 9cb3859752e9af3eb379492e9213f1955a9f17f315d3d92afbebbb9ada9673a9cf37396bd48819a5ea05f112964f087de6f97b47532e9fd0290b3b8093bac4f2
+AUX vit-fix-man-installs.patch 739 SHA256 4d70541ce26a70b07480d1f5055b8c5f04e6777d88b3048552abd20d6f0241b8 SHA512 9b1795690ba090bf0487b35da28f3563f5bae4a8133d85f469a9b0104a84588d8948b98a2935b83c9c321fcffcf5a44027500eb87a736de4b254374f142dc572 WHIRLPOOL 492203fbc0dde0fbf651f9538beba6baea18e52fad918e50e0b681f0aa76681ca63cb79a04e2a3b6dbbd0140b3785206a1d4ddafcb1ee9655b4bf501b8a3ac78
+DIST vit-1.2.tar.gz 49346 SHA256 2c3a146914c2d572884f2d9cc745d3422cea1db2d8a2e9a13a633449844df637 SHA512 dc0e09fbec7d77817b044f437e42108a9282e387698dfe23bfbe50a083b708d5d3b432ce9b1fdb93f3fef495af2a5f16107351557a4bb9184c7c762b264f0ed3 WHIRLPOOL 13fbd501e84eae4ea91805b10acf205e2f9d62caeb82e5e33cd6cd782383e62623d38ed90d836e8cb048c4887fece4f3ba7682fdce381df6882a7c3111af9880
+EBUILD vit-1.2-r1.ebuild 745 SHA256 aaf53432a63c4bee9afacdffa69fdc4b244dff2f480c3b8d73c3452dd1395859 SHA512 70dd9a9d5aa58a99a6f07671a5e80a8d73ced24971ce3e776c0a01b79efb3e52dac844844398a976c4fcc7bf47eea71c5f0b2016b680f4bfefc4de48100a6332 WHIRLPOOL fd80e60e4882e0ef6e0c248237e508196b287811318b555518f464f28f789e611fd810b27c17b1a620eada740f90cacee0ced3b83e5cb4eb9dcc0328de1af5a5
+EBUILD vit-9999.ebuild 777 SHA256 318e2e8edec61a83669f0f5b6546260d8851445f4d5148ec80a6636e99cd8f9e SHA512 e8779d3179f4eea0344b238860c8019447d91d38fc4b0d2173a55c70e29027c3d0fef5cd246faaed173535531f465e5bd967d8bd78fcd83676f5174229926ae3 WHIRLPOOL 64535154a086e18d244358e281363fe2bd4f173d7ea3b9da9041b54d009c5fda9cf690faba787c87974506ea6bfbfb43a8d074ca6a6578eec49c4360366ecdf3
+MISC ChangeLog 928 SHA256 38cfa33ebc93c84399d7d9d16de71c96b402e2e058b5f3c4623c289ecbbea839 SHA512 fd2eec3adbd1940a4fda0d7a9e9cacffad4e4d691e965ad6d21a138cfe96706b395c8edf59df509ac4d21a13c69cfbb3b583e0a59f2fe05e75b08f6c18319f65 WHIRLPOOL 83a0ef86300e3989764f634314079660b4e6b26461d077e6e9e607e0d84cc5c608e6bde9d4d1942470c815dd13cb4de843dda8f60652aa15635fccf0226a78cc
+MISC metadata.xml 457 SHA256 fe965c39f7fc6aa0ddbe90a379d24656b8f0faaff01a02f60d718ca781ee2837 SHA512 fa9700903506961b1d8c62718b77a7219c811b99039d8f73d331dcd448f2df8fa638f152b956c9f41e2989007402860a1a036427d38d754a4385cebfa7a5b5c7 WHIRLPOOL eaa9f939a6784a996a33aa598b67cf5c5ec01c9c8f207bdf6c2bbc3f71196bc7ee4eb01e601f4a20a5b026d29b43f933028f41495abd57b320cb17ed47f26e24
diff --git a/app-misc/vit/files/vit-allow-nonsudo-install.patch b/app-misc/vit/files/vit-allow-nonsudo-install.patch
new file mode 100644
index 000000000000..0f5626cce379
--- /dev/null
+++ b/app-misc/vit/files/vit-allow-nonsudo-install.patch
@@ -0,0 +1,36 @@
+diff --git a/Makefile.in b/Makefile.in
+index 87abf5b..66d6acd 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -7,6 +7,8 @@ VERSION=@VERSION@
+ TASK=@TASK@
+ PERL=@PERL@
+ CLEAR=@CLEAR@
++SUDO=@SUDO@
++SUDO=sudo
+
+ .PHONY : install
+
+@@ -28,14 +30,14 @@ build:
+ chmod 755 vit
+
+ install:
+- sudo mkdir -p @prefix@/bin
+- sudo cp vit @prefix@/bin/vit
+- sudo mkdir -p @prefix@/man/man1
+- sudo cp vit.1 @prefix@/man/man1/
+- sudo mkdir -p @prefix@/man/man5
+- sudo cp vitrc.5 @prefix@/man/man5/
+- sudo mkdir -p @prefix@/etc/
+- sudo cp commands @prefix@/etc/vit-commands
++ $(SUDO) mkdir -p $(DESTDIR)@prefix@/bin
++ $(SUDO) cp vit $(DESTDIR)@prefix@/bin/vit
++ $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man1
++ $(SUDO) cp vit.1 $(DESTDIR)@prefix@/man/man1/
++ $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man5
++ $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/man/man5/
++ $(SUDO) mkdir -p $(DESTDIR)@prefix@/etc/
++ $(SUDO) cp commands $(DESTDIR)@prefix@/etc/vit-commands
+
+ autoconf:
+ @make -f .makefile autoconf
diff --git a/app-misc/vit/files/vit-fix-man-installs.patch b/app-misc/vit/files/vit-fix-man-installs.patch
new file mode 100644
index 000000000000..9d13fbb287a0
--- /dev/null
+++ b/app-misc/vit/files/vit-fix-man-installs.patch
@@ -0,0 +1,19 @@
+diff --git a/Makefile.in b/Makefile.in
+index 66d6acd..c167ae4 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -32,10 +32,10 @@ build:
+ install:
+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/bin
+ $(SUDO) cp vit $(DESTDIR)@prefix@/bin/vit
+- $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man1
+- $(SUDO) cp vit.1 $(DESTDIR)@prefix@/man/man1/
+- $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man5
+- $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/man/man5/
++ $(SUDO) mkdir -p $(DESTDIR)@prefix@/share/man/man1
++ $(SUDO) cp vit.1 $(DESTDIR)@prefix@/share/man/man1/
++ $(SUDO) mkdir -p $(DESTDIR)@prefix@/share/man/man5
++ $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/share/man/man5/
+ $(SUDO) mkdir -p $(DESTDIR)@prefix@/etc/
+ $(SUDO) cp commands $(DESTDIR)@prefix@/etc/vit-commands
+
diff --git a/app-misc/vit/metadata.xml b/app-misc/vit/metadata.xml
new file mode 100644
index 000000000000..48a67656210f
--- /dev/null
+++ b/app-misc/vit/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>nerdboy@gentoo.org</email>
+ <name>Stephen Arnold</name>
+</maintainer>
+<longdescription lang="en">
+ A perl/Curses front end for Taskwarrior (<pkg>app-misc/task</pkg>) that
+ provides a fullscreen terminal window with modes and commands
+ modeled after the vi editor.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/vit/vit-1.2-r1.ebuild b/app-misc/vit/vit-1.2-r1.ebuild
new file mode 100644
index 000000000000..ca5df43d3f3e
--- /dev/null
+++ b/app-misc/vit/vit-1.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)"
+HOMEPAGE="http://tasktools.org/projects/vit.html"
+SRC_URI="https://git.tasktools.org/EX/vit/archive/v1.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+ app-misc/task
+ dev-lang/perl
+ dev-perl/Curses"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \
+ "${FILESDIR}"/${PN}-fix-man-installs.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" SUDO="" install
+ dodoc AUTHORS README CHANGES
+ doman vit.1 vitrc.5
+
+ rm -rf "${ED}"/usr/man
+}
diff --git a/app-misc/vit/vit-9999.ebuild b/app-misc/vit/vit-9999.ebuild
new file mode 100644
index 000000000000..0cd795e26a94
--- /dev/null
+++ b/app-misc/vit/vit-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils git-r3
+
+DESCRIPTION="Perl/Curses front-end for Taskwarrior (app-misc/task)"
+HOMEPAGE="http://tasktools.org/projects/vit.html"
+
+EGIT_REPO_URI="https://git.tasktools.org/EX/vit.git"
+if [[ ${PV} = 9999* ]]; then
+ KEYWORDS=""
+else
+ EGIT_COMMIT=v${PV}
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ app-misc/task
+ dev-lang/perl
+ dev-perl/Curses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-allow-nonsudo-install.patch \
+ "${FILESDIR}"/${PN}-fix-man-installs.patch
+}
+
+src_install() {
+ emake DESTDIR="${D}" SUDO="" install
+ dodoc AUTHORS README CHANGES
+ doman vit.1 vitrc.5
+
+ rm -rf "${ED}"/usr/man
+}
diff --git a/app-misc/vittk/Manifest b/app-misc/vittk/Manifest
new file mode 100644
index 000000000000..ea0ff21a954b
--- /dev/null
+++ b/app-misc/vittk/Manifest
@@ -0,0 +1,8 @@
+AUX vittk-1.1.1-dirs.patch 2540 SHA256 4f6ff22840e04b6d5b26adcd99187e927af500db34a38a5f01deeaa1d50b9ecc SHA512 bd2a32082d22c52d7f5db18795189562b06c7b5178276b2034e5614419879c2c32056a77991ce33f397c743630b38457effb0ed2ad6e5b53c4c160a0f83727ac WHIRLPOOL 33dc03bcbd71aad1739a330f0ca4f7a2f23773c9f8b96d924ec0bb063004e88b08ac137e64853595d053bd0b418c197cd6725268963207a37f0792e6f158be13
+AUX vittk-1.3-configure.patch 831 SHA256 b1327821e68d50d8a7de59716156077f8b2722d25a638bfda5da7a91ef5306d7 SHA512 b5a8032822643125687e8282b3fb775fb008156674c19485f70ab1aee9424cdc73294978f67f0b04c0dd765903d9be032a807086233b9a5dd1fdd7a04cabb5d8 WHIRLPOOL 60a6680b2cf8a99fb15185ef588802a98ad47719f45708bd78c24fefcdfa35a5df872d854597c54a7e9036fec932ba225920d08067475884c48e86afc592b661
+AUX vittk-1.3-makefile.patch 3750 SHA256 07a0355dd6b9cedfa59e9e3be588bebf3bb05563048358452f96dcedd64bad37 SHA512 c8d59448ae96f3c25925aa707778079da52ec343e84252c4e03c2f9b6d8a3bffca21f03e0798c9ab7d66994bd6adcd3eded9ae4126ca8cef2a7f8a825e9a1c89 WHIRLPOOL 2bf4805845779b22e10eadf112f30ff113c63dab4ad3e398232258e72f8ad3fcbace8787285358e581d48e16211ffa14922de75b23dbe340590ee05beea50c7b
+DIST vittk-1.3.tar.gz 71921 SHA256 da672b7845855211644a5a0771500cffb1756c579d57dc33e2dabc5b86d8a5dd SHA512 feda4eda7780a5a2a51acbc4c4d47ba5b88c3c01c82ae8715e7822700843e0d7de365b786554db59f7e40dbdff6f6bb0083a2126b1b082586504d8d16112af6d WHIRLPOOL 2bdd3d08e67afc0e4b12e8bd7e2bc6a6803683bfcd816330ea2ee2639256c618f96eec44d51723c280cbc5764f24a27ce925b3278e30c4b9fd06b1e134eb9ab7
+EBUILD vittk-1.3.ebuild 671 SHA256 11c07a33e64f1d0497d024026ed0591550972af43ef08c10f04c3ef9bbb7e761 SHA512 d27e434a6fa1d108dcbfd49660b1b9a1728ff5df48fd14bbfa3a307b843f3c550981e94ad521e15537a714e7eb9dff62014658f7c2f88aa3c9fecb2b752dc8d8 WHIRLPOOL 0fcaeea1134d846a47fcc1622bb13b87faf39cf44e72e6f7fc405aef8a16a41e3246a0bc39b38d842fe07a690dcbde60f0d86735ef895813ee75ceb9699e5f73
+MISC ChangeLog 2706 SHA256 2dd53ea0d517140ffd7d2910b5720ef714aead53c59a924a77c59b1b997b9959 SHA512 5ba06c653eea4d6c4b2ae0f0aea1751433e8d92e156932a75654eafff8aa6f0efa67c0ef583503c3688435603087284d2905f12afce8122891935fa98531edee WHIRLPOOL 0aecb83623e10ece3751b5f3eb81d433ab47cfc67754ef1611b7b625ec0b7cef11bddb3408833cbbf1ef777dc4239333a9558fb5572093167f352fb92242cdc8
+MISC ChangeLog-2015 1029 SHA256 225456417757c686d3d2b5fe622e531026188e54557e969b7b4cff9301fd7004 SHA512 25efc2ca5faa25b18f599e9240d200cdfe9b0d9bdaa550632b0c6b51607ab73889b06fcbf1594a1e0084017b4786f8b4e9a1c5c228790fdb7c7855bffbb6011a WHIRLPOOL d562ffa70775b0a70a3255c97734129a501c7c11afe0b4e866b93f2670455e40100644e374ece3c0a1355929557e34795c8448e4991e06844c115c911bf5af35
+MISC metadata.xml 390 SHA256 a79258f88ffea75734502947c40b9c760ae866e7757cad8d0e8fe220a062bc20 SHA512 22fe059e8490e1a6a338aafcd8257cd121e629ed52cd80a95b8a57061e8ca2b0483f6fe4a5926e85b533ff60d96dfe8d7c6ec31bfc91f2b621ca0ecc86462b79 WHIRLPOOL f7eac3205a3e713c68108860d12b6dd7cbe65d97001b6f7fd1fefd388796c30e378ba54bd54ee6e1b953155561bb69c11d459a8fe289466ede19474d97eb9aa0
diff --git a/app-misc/vittk/files/vittk-1.1.1-dirs.patch b/app-misc/vittk/files/vittk-1.1.1-dirs.patch
new file mode 100644
index 000000000000..050d1bcded01
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.1.1-dirs.patch
@@ -0,0 +1,66 @@
+--- vittk-1.1.1.orig/vittk.in
++++ vittk-1.1.1/vittk.in
+@@ -17,7 +17,7 @@
+
+ set font "@FONT@"
+ set system_task_cmd "ls"
+-set system_vittkrc "@prefix@/etc/vittkrc"
++set system_vittkrc "@sysconfdir@/vittkrc"
+ set task "@TASK@"
+ set ver "@VER@"
+
+@@ -28,8 +28,8 @@
+ source ./vars.tcl
+ set auto_path ". $auto_path"
+ } else {
+- source @prefix@/lib/vittk/vars.tcl
+- set auto_path "@prefix@/lib/vittk $auto_path"
++ source @libdir@/vittk/vars.tcl
++ set auto_path "@libdir@/vittk $auto_path"
+ }
+
+ ReadRcs
+--- vittk-1.1.1.orig/vittk.man.in
++++ vittk-1.1.1/vittk.man.in
+@@ -89,13 +89,13 @@
+ in Taskwarrior. At this time, various other parts of the VITtk color
+ scheme can only be changed system-wide by altering the variables in
+ .br
+-@prefix@/lib/vars.tcl.
++@libdir@/vars.tcl.
+ .SH FONTS
+ VITtk requires a fixed-width font for it's columns to align correctly.
+ The default font "TkFixedFont" has been set to ensure this happens. You can
+ use other Xwindows fonts by using the -fn option or your ~/.vittkrc file.
+ Instructions for browsing fixed-width fonts can be found in the
+-/usr/local/share/doc/vittk/Fonts file. If you specify a proportional font
++@docdir@/Fonts file. If you specify a proportional font
+ (you will get a warning message and) the VITtk display will probably look very
+ bad, and if you use the -fn option with the name of a non-existent font then
+ VITtk will default the default tcl/tkfont (e.g. "fixed") without warning.
+@@ -103,20 +103,20 @@
+ fixed-width, so care should be taken to specify an existing font.
+ .SH SETTINGS
+ There are a number of settings which allow you to "remotely control"
+-many aspects of VITtk. Refer to the @prefix@/etc/vittkrc file for more
++many aspects of VITtk. Refer to the @sysconfdir@/vittkrc file for more
+ information. There are also some settings which are hard-coded
+ (e.g. how long feedback messages are displayed.) These could be
+-changed sytem-wide by editing @prefix@/lib/vars.tcl.
++changed sytem-wide by editing @libdir@/vars.tcl.
+ .SH FILES
+-@prefix@/etc/vittkrc - the system-wide VITtk configuration file
++@sysconfdir@/vittkrc - the system-wide VITtk configuration file
+ .br
+ ~/.vittkrc - user VITtk configuration file
+ .br
+ /tmp/vittk-$USER.log - VITtk actions log
+ .br
+-@prefix@/share/doc/vittk/README - quick start and more information
++@docdir@/README - quick start and more information
+ .br
+-@prefix@/share/doc/vittk/Tutorial - a brief VITtk tutoral
++@docdir@/Tutorial - a brief VITtk tutoral
+ .SH CREDITS & COPYRIGHT
+ VITtk was written by Steve Rader (C) 2011.
+
diff --git a/app-misc/vittk/files/vittk-1.3-configure.patch b/app-misc/vittk/files/vittk-1.3-configure.patch
new file mode 100644
index 000000000000..b45464bfb8b1
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.3-configure.patch
@@ -0,0 +1,32 @@
+--- vittk-1.3/configure.in.orig
++++ vittk-1.3/configure.in
+@@ -14,11 +14,11 @@
+ fi
+ AC_SUBST(BASH)
+
+-AC_PATH_PROG(WISH, wish, NOT_FOUND)
+-if test "$WISH" = "NOT_FOUND"; then
+- AC_MSG_ERROR([can not continue: wish not found])
++AC_PATH_PROG(TCLSH, tclsh, NOT_FOUND)
++if test "$TCLSH" = "NOT_FOUND"; then
++ AC_MSG_ERROR([can not continue: tclsh not found])
+ fi
+-AC_SUBST(WISH)
++AC_SUBST(TCLSH)
+
+ AC_PATH_PROG(TASK, task, NOT_FOUND)
+ if test "$TASK" = "NOT_FOUND"; then
+@@ -30,12 +30,9 @@
+ AC_SUBST(FONT)
+
+ AC_OUTPUT(task-startstop task-undo Makefile vittk.man vittk)
+-chmod 755 task-startstop
+-chmod 755 task-undo
+-chmod 755 vittk
+
+ echo creating ./tclIndex
+-echo "auto_mkindex `pwd`; exit" | $WISH
++echo "auto_mkindex `pwd`; exit" | $TCLSH
+
+ echo "./configure is done"
+ echo "now do \"sudo make install\" or \"make install\""
diff --git a/app-misc/vittk/files/vittk-1.3-makefile.patch b/app-misc/vittk/files/vittk-1.3-makefile.patch
new file mode 100644
index 000000000000..a7148fdf64dc
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.3-makefile.patch
@@ -0,0 +1,87 @@
+--- vittk-1.3/Makefile.in.orig
++++ vittk-1.3/Makefile.in
+@@ -10,45 +10,45 @@
+ @echo "usage: make install"
+
+ install:
+- @if [ ! -d @prefix@/bin ]; then \
+- echo mkdir -p @prefix@/bin ; \
+- mkdir -p @prefix@/bin ; \
++ @if [ ! -d $(DESTDIR)@prefix@/bin ]; then \
++ echo mkdir -p $(DESTDIR)@prefix@/bin ; \
++ mkdir -p $(DESTDIR)@prefix@/bin ; \
+ fi
+- @if [ ! -d @prefix@/share/doc/vittk ]; then \
+- echo mkdir -p @prefix@/share/doc/vittk ; \
+- mkdir -p @prefix@/share/doc/vittk ; \
++ @if [ ! -d $(DESTDIR)@docdir@ ]; then \
++ echo mkdir -p $(DESTDIR)@docdir@ ; \
++ mkdir -p $(DESTDIR)@docdir@ ; \
+ fi
+- @echo installing documentation in @prefix@/share/doc/vittk
+- @$(INSTALL) -c -m 644 Caveats @prefix@/share/doc/vittk/Caveats
+- @$(INSTALL) -c -m 644 Fonts @prefix@/share/doc/vittk/Fonts
+- @$(INSTALL) -c -m 644 README @prefix@/share/doc/vittk/README
+- @$(INSTALL) -c -m 644 Tutorial @prefix@/share/doc/vittk/Tutorial
+- @$(INSTALL) -c -m 644 WhatsNew @prefix@/share/doc/vittk/WhatsNew
+- @echo installing man page in @prefix@/man/man1
+- @if [ ! -d @prefix@/man/man1 ]; then \
+- echo mkdir -p @prefix@/man/man1 ; \
+- mkdir -p @prefix@/man/man1 ; \
++ @echo installing documentation in $(DESTDIR)@docdir@
++ @$(INSTALL) -c -m 644 Caveats $(DESTDIR)@docdir@/Caveats
++ @$(INSTALL) -c -m 644 Fonts $(DESTDIR)@docdir@/Fonts
++ @$(INSTALL) -c -m 644 README $(DESTDIR)@docdir@/README
++ @$(INSTALL) -c -m 644 Tutorial $(DESTDIR)@docdir@/Tutorial
++ @$(INSTALL) -c -m 644 WhatsNew $(DESTDIR)@docdir@/WhatsNew
++ @echo installing man page in $(DESTDIR)@mandir@/man1
++ @if [ ! -d $(DESTDIR)@mandir@/man1 ]; then \
++ echo mkdir -p $(DESTDIR)@mandir@/man1 ; \
++ mkdir -p $(DESTDIR)@mandir@/man1 ; \
+ fi
+- @$(INSTALL) -c -m 644 vittk.man @prefix@/man/man1/vittk.1
+- @echo installing vittkrc in @prefix@/etc
+- @$(INSTALL) -c -m 644 vittkrc @prefix@/etc/vittkrc
+- @if [ ! -d @prefix@/libexec/vittk ]; then \
+- echo mkdir -p @prefix@/libexec/vittk ; \
+- mkdir -p @prefix@/libexec/vittk ; \
++ @$(INSTALL) -c -m 644 vittk.man $(DESTDIR)@mandir@/man1/vittk.1
++ @echo installing vittkrc in $(DESTDIR)@sysconfdir@
++ @$(INSTALL) -c -m 644 vittkrc $(DESTDIR)@sysconfdir@/vittkrc
++ @if [ ! -d $(DESTDIR)@prefix@/libexec/vittk ]; then \
++ echo mkdir -p $(DESTDIR)@prefix@/libexec/vittk ; \
++ mkdir -p $(DESTDIR)@prefix@/libexec/vittk ; \
+ fi
+- @echo installing task-startstop in @prefix@/libexec/vittk
+- @$(INSTALL) -c -m 755 task-startstop @prefix@/libexec/vittk/task-startstop
+- @echo installing task-undo in @prefix@/libexec/vittk
+- @$(INSTALL) -c -m 755 task-undo @prefix@/libexec/vittk/task-undo
+- @echo installing .tcl files and tclIndex in @prefix@/lib/vittk
+- @if [ ! -d @prefix@/lib/vittk ]; then \
+- echo mkdir -p @prefix@/lib/vittk ; \
+- mkdir -p @prefix@/lib/vittk ; \
++ @echo installing task-startstop in $(DESTDIR)@prefix@/libexec/vittk
++ @$(INSTALL) -c -m 755 task-startstop $(DESTDIR)@prefix@/libexec/vittk/task-startstop
++ @echo installing task-undo in $(DESTDIR)@prefix@/libexec/vittk
++ @$(INSTALL) -c -m 755 task-undo $(DESTDIR)@prefix@/libexec/vittk/task-undo
++ @echo installing .tcl files and tclIndex in $(DESTDIR)@libdir@/vittk
++ @if [ ! -d $(DESTDIR)@libdir@/vittk ]; then \
++ echo mkdir -p $(DESTDIR)@libdir@/vittk ; \
++ mkdir -p $(DESTDIR)@libdir@/vittk ; \
+ fi
+- @cp *.tcl @prefix@/lib/vittk
+- @cp tclIndex @prefix@/lib/vittk
+- @echo installing vittk in @prefix@/bin
+- @$(INSTALL) -c -m 755 vittk @prefix@/bin/vittk
++ @cp *.tcl $(DESTDIR)@libdir@/vittk
++ @cp tclIndex $(DESTDIR)@libdir@/vittk
++ @echo installing vittk in $(DESTDIR)@prefix@/bin
++ @$(INSTALL) -c -m 755 vittk $(DESTDIR)@prefix@/bin/vittk
+
+ autoconf:
+ @make -f .makefile autoconf
+@@ -61,3 +61,4 @@
+ dogfood:
+ @make -f .makefile dogfood
+
++check:
diff --git a/app-misc/vittk/metadata.xml b/app-misc/vittk/metadata.xml
new file mode 100644
index 000000000000..3667ce87214b
--- /dev/null
+++ b/app-misc/vittk/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription lang="en">
+ A comprehensive front end for Taskwarrior (<pkg>app-misc/task</pkg>) that
+ provides a fullscreen emulated terminal window with modes and commands
+ modeled after the vi editor.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/vittk/vittk-1.3.ebuild b/app-misc/vittk/vittk-1.3.ebuild
new file mode 100644
index 000000000000..c53b6a2df04a
--- /dev/null
+++ b/app-misc/vittk/vittk-1.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A front end for Taskwarrior (app-misc/task)"
+HOMEPAGE="http://taskwarrior.org/wiki/taskwarrior/Vittk"
+SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tcl:0"
+RDEPEND="${DEPEND}
+ dev-lang/tk:0
+ app-misc/task"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-configure.patch \
+ "${FILESDIR}"/${P}-makefile.patch \
+ "${FILESDIR}"/${PN}-1.1.1-dirs.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}
diff --git a/app-misc/vlock/Manifest b/app-misc/vlock/Manifest
new file mode 100644
index 000000000000..ddaf905000cf
--- /dev/null
+++ b/app-misc/vlock/Manifest
@@ -0,0 +1,9 @@
+AUX vlock-2.2.2-asneeded.patch 393 SHA256 17c17fdf5588a6f4583c3898d1fec852db910ae55051b09fc9f499346790a977 SHA512 ad73953d0632f6b05be6dc2fd300f58cd9463ea7af082b0353df0e6e4850b7055c9957c27def4f5d745e02b7535058bd3f8622847cbf2124c023d1d309e59886 WHIRLPOOL 730fceed412dad302f34643f9a6dea78966b82f94306eeff68aaa83408ca47f752eeb725683a09e6f3b61a956d98e2e8eeca41d225d13864fdbb4870235edc00
+AUX vlock-2.2.2-test_process.patch 905 SHA256 b427bac311133ec856dcf5fe41a3ce91d5db6a3ab9cfda685ef4edb9fcea84e7 SHA512 959d10b3c777936ce7b29b6a8efea55d8d76cf0007704c6b17217be4687516d2fb8d4d268d58175ebaca8594c9d5b47724788b235a5386ee2a458ed640fd63eb WHIRLPOOL 2e2e3471fd04fc1dce75ffe725227b3cd89652087d2c560ec1f84737a9ee47903ede5262554e3a97b710430dc9103dfbac27824857664d4c306c10d3d9a954c5
+DIST vlock-2.2.3.tar.gz 54860 SHA256 85aa5aed1ae49351378a0bd527a013078f0f969372a63164b1944174ae1a5e39 SHA512 7eba8fe4f7085be7ef9169843d0814e55840b823dfc061727db037d2420e8ff4b669a3b08e15f61cdd9d5048c1e088288a46acad341cbe97585e64da2b58c855 WHIRLPOOL 3cc62216d07111eaa5c3298714274266e1a204c79423c1447205d8df7aadeaac51dcab287d7cda0456fbaf605cc5ac31a838350ac07878b6778f8903390328d6
+DIST vlock-2.2.3.zip 85751 SHA256 8b1e4a3a1dcea619333256814b72c552c2e99a7d9d15bcc3a72fd9bb39e3df61 SHA512 90390bcecbc5cd55a19f9d3a6007fd39257183f63366d667263c8d49217206ba5d929814c32181bf3d3fa82197a544211ee815b65ab1c7e09a2502c4ab079b07 WHIRLPOOL 28f4412532e57f1371ead9328461189d63850e09d83be9f1a5770453bf30a96d71f40de3f2a36a93d007e33c53fa388cf2d4171add8fa6a9550041cd9b66a9a7
+EBUILD vlock-2.2.3-r1.ebuild 1116 SHA256 fded1c65d0cbcffb25a198097a2e9eb9b8f2c9cbe12c20dc4fa4d699baad1af6 SHA512 7588bb4b6a838008b8c12fd9dc25af02487926589c0fbe46c17b069ea95f4bdb09a24306299c5171efdea6f17f39ad715198f26ca859f19ea402b62143af0fc7 WHIRLPOOL 9c931cd7a1412df0f0f3a6147deddda71645811121a5c405d38ea157398a39a0d79af97e2cdde3a02f29e7c292879cf49c75c5af17f129d309d2a832ed33add9
+EBUILD vlock-2.2.3.ebuild 1257 SHA256 1ff18824634dd435070e06b7d0212ae940063f76e3c661a2fb4032fef1d02169 SHA512 200ee863b096f0601080f4851e13c8deddfabfff0aafceee4a1ac33c5b25323436361d8e47c9e61e4bd3518df236c75b2a3bbca7c19aafdb695bb169c6e0d1d2 WHIRLPOOL 24e6ce5fd001737bf2c4a78bf70331ab3cc93e67c920caa6609b8a92f3384ebbd45701b6a20255139da1eb3e9cab0a12d058f05e07f82cef7cac700f02566913
+MISC ChangeLog 2497 SHA256 16b87d588d9c17abc831c7cd523bde8663699ef03fa43eab98be694a3718e456 SHA512 3228391de0f85e4982d3e58c7ffae96f584821b504fe37b38e7f8d90d52eb4395911d2855a65a9b89b7a56764dfef9d5b207539f01a69bcdbb5b9b984e74a743 WHIRLPOOL 72952b552b792760da3dbd2fb6b7ec43e88d644f0785375d8747561b19f4fd3c8dc64cd676c44e34fdae3ec114aee71766985ac2f47090e15da343f1260896df
+MISC ChangeLog-2015 6024 SHA256 2e8674c479854e5b2d7d76e655906f51650e7d23b084fa5728f7c3ddbcbe8065 SHA512 faac6e74da582dbb101c6726a5024aa26058ac3134d63fe2cda1ad7238f2b1b1114001616844d1373088d141a44445c2169f389344a071cb381b8889ab128976 WHIRLPOOL 8a8cf317f9040853bdc276883e19da86bcc8de9a2a056b0ca1d1527bab7c6dd4dc6f042c50943f4e9439be101d2dfc080f452fbeb07f39be9c329b8f352a7b26
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-misc/vlock/files/vlock-2.2.2-asneeded.patch b/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
new file mode 100644
index 000000000000..8baeed37caf6
--- /dev/null
+++ b/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
@@ -0,0 +1,11 @@
+--- tests/Makefile.old 2008-10-16 13:48:37.000000000 +0200
++++ tests/Makefile 2008-10-16 13:48:53.000000000 +0200
+@@ -16,7 +16,7 @@
+ TEST_SOURCES = $(TESTED_SOURCES:%=test_%)
+ TEST_OBJECTS = $(TEST_SOURCES:.c=.o)
+
+-vlock-test : override LDFLAGS+=-lcunit
++vlock-test : override LDLIBS+=-lcunit
+ vlock-test: vlock-test.o $(TEST_OBJECTS) $(TESTED_OBJECTS)
+
+ vlock-test.o: $(TEST_SOURCES:.c=.h)
diff --git a/app-misc/vlock/files/vlock-2.2.2-test_process.patch b/app-misc/vlock/files/vlock-2.2.2-test_process.patch
new file mode 100644
index 000000000000..83ecd4b14e2c
--- /dev/null
+++ b/app-misc/vlock/files/vlock-2.2.2-test_process.patch
@@ -0,0 +1,28 @@
+--- tests/test_process.c.old 2008-10-16 14:10:16.000000000 +0200
++++ tests/test_process.c 2008-10-16 14:11:26.000000000 +0200
+@@ -12,6 +12,7 @@
+
+ #include "test_process.h"
+
++/* Dustin Polke: This test is flaky, sometimes it passes, sometimes not... Thus exclude it
+ void test_wait_for_death(void)
+ {
+ pid_t pid = fork();
+@@ -25,6 +26,7 @@
+ CU_ASSERT(!wait_for_death(pid, 0, 2000));
+ CU_ASSERT(wait_for_death(pid, 0, 20000));
+ }
++*/
+
+ void test_ensure_death(void)
+ {
+@@ -137,7 +139,8 @@
+ }
+
+ CU_TestInfo process_tests[] = {
+- { "test_wait_for_death", test_wait_for_death },
++/* Dustin Polke: This test is flaky, sometimes it passes, sometimes not... Thus exclude it
++ { "test_wait_for_death", test_wait_for_death }, */
+ { "test_ensure_death", test_ensure_death },
+ { "test_create_child_function", test_create_child_function },
+ { "test_create_child_process", test_create_child_process },
diff --git a/app-misc/vlock/metadata.xml b/app-misc/vlock/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/vlock/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/vlock/vlock-2.2.3-r1.ebuild b/app-misc/vlock/vlock-2.2.3-r1.ebuild
new file mode 100644
index 000000000000..ec4e63d05ac1
--- /dev/null
+++ b/app-misc/vlock/vlock-2.2.3-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pam toolchain-funcs user
+
+DESCRIPTION="A console screen locker"
+HOMEPAGE="https://github.com/WorMzy/vlock"
+SRC_URI="https://github.com/WorMzy/vlock/archive/master.zip -> ${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam test"
+
+RDEPEND="
+ pam? ( sys-libs/pam )"
+
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-util/cunit )"
+
+DOCS=( ChangeLog PLUGINS README README.X11 SECURITY STYLE TODO )
+
+S="${WORKDIR}/${PN}-master"
+
+RESTRICT="test"
+
+pkg_setup() {
+ enewgroup "${PN}"
+}
+
+src_configure() {
+ local myconf="--enable-shadow"
+ use pam && myconf="--enable-pam"
+
+ # this package has handmade configure system which fails with econf...
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libdir=/usr/$(get_libdir) \
+ ${myconf} \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ CFLAGS="${CFLAGS} -pedantic -std=gnu99" \
+ LDFLAGS="${LDFLAGS}" || die "configure failed"
+}
+
+src_install() {
+ default
+ use pam && pamd_mimic_system vlock auth
+}
diff --git a/app-misc/vlock/vlock-2.2.3.ebuild b/app-misc/vlock/vlock-2.2.3.ebuild
new file mode 100644
index 000000000000..8f2c3117c2fc
--- /dev/null
+++ b/app-misc/vlock/vlock-2.2.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils pam toolchain-funcs multilib user
+
+DESCRIPTION="A console screen locker"
+HOMEPAGE="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
+SRC_URI="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
+IUSE="pam test"
+
+RDEPEND="pam? ( sys-libs/pam )"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cunit )"
+
+pkg_setup() {
+ enewgroup vlock
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${PN}-2.2.2-asneeded.patch" \
+ "${FILESDIR}/${PN}-2.2.2-test_process.patch"
+}
+
+src_configure() {
+ if use pam; then
+ myconf="--enable-pam"
+ else
+ myconf="--enable-shadow"
+ fi
+ # this package has handmade configure system which fails with econf...
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libdir=/usr/$(get_libdir) \
+ ${myconf} \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ CFLAGS="${CFLAGS} -pedantic -std=gnu99" \
+ LDFLAGS="${LDFLAGS}" || die "configure failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use pam && pamd_mimic_system vlock auth
+ dodoc ChangeLog PLUGINS README README.X11 SECURITY STYLE TODO
+}
diff --git a/app-misc/vzstats/Manifest b/app-misc/vzstats/Manifest
new file mode 100644
index 000000000000..469c18cff29b
--- /dev/null
+++ b/app-misc/vzstats/Manifest
@@ -0,0 +1,9 @@
+DIST vzstats-0.3.2.tar.bz2 11560 SHA256 df54a0f1d3012bbb41d231af1590653be32079314bce07be2d0ef5ee035cf027 SHA512 43d7a16ff2f051c94faa00e99d6d77d34707026319c34b61e2354fb2916e06af43b73c4476d1ee98c195b43e6e8bc540d0cb09d4345286682c830cea87abff59 WHIRLPOOL c8f459e9ab089d77266c45d45d75c48f002815dfd693f6c25ba7416a668aa35973ff964e4f8c98f3e5f2448e2bfb875240a6f9d11fee67ba343a098cbec99a08
+DIST vzstats-0.4.tar.bz2 12187 SHA256 ae63a1925611827d773a6123a761788d8ea90a8021a3695d7984baafbffedf0d SHA512 6d9885ce7f5dac3d50afc5583da8f84524ba6600c1587b8df75c12c9f09a273e91482cdd52cef41773c76c8b0d1a8b957ac9f0ecb9125a81e8021e332ab237f7 WHIRLPOOL c20b8deea14b2d61983d4e78bec9e0820fe718d6aac79c370fd62aea474dd37291b38d29297d9544c7cd6926d866e66988c9de8acc53ddc449e37570ca087a9d
+DIST vzstats-0.5.1.tar.bz2 17548 SHA256 eddb2f4f617c2937cc6587269453eb768c0d9fbfd9bdc125b82b5540cb287df3 SHA512 ea58ba065fda6f1e1bebcdd273e231d1da46934d0c5217e1acc0a3ecb2ce5738975d3155939c6f74ba407796ae94af4ba405efdb0c808e9bbbbded48285a6663 WHIRLPOOL 8a694ae07d1caf309332b825da6cc3438fd5fbac956c60ccac3b9c2c7afda59c8171fbad4a00afb0a1b7118966e25275c5fc10ae15b399606737cf875f8f2471
+EBUILD vzstats-0.3.2.ebuild 605 SHA256 c34d813178e483fb5f278360f29e7fda1ce1e6cbc78c26b5a767db62073d6cc8 SHA512 e15f8b5d0d9d2f051e3bec3bbd80aaf68b5cc958e3a4558a35c7f5d0499f82a677cdbe755b730c8084d55be4d55cb8512bce4d82923a24bb16e2447bbe10c18c WHIRLPOOL 0f7acd384e0330607818d1315ef419d9f84acc28e781c4b1dcd63ca32e60bb042cbaa5e547a683d2399f5e2c7b0d60bdfd0194d0347ae90b53310e36d92c45d0
+EBUILD vzstats-0.4.ebuild 605 SHA256 c34d813178e483fb5f278360f29e7fda1ce1e6cbc78c26b5a767db62073d6cc8 SHA512 e15f8b5d0d9d2f051e3bec3bbd80aaf68b5cc958e3a4558a35c7f5d0499f82a677cdbe755b730c8084d55be4d55cb8512bce4d82923a24bb16e2447bbe10c18c WHIRLPOOL 0f7acd384e0330607818d1315ef419d9f84acc28e781c4b1dcd63ca32e60bb042cbaa5e547a683d2399f5e2c7b0d60bdfd0194d0347ae90b53310e36d92c45d0
+EBUILD vzstats-0.5.1.ebuild 605 SHA256 c34d813178e483fb5f278360f29e7fda1ce1e6cbc78c26b5a767db62073d6cc8 SHA512 e15f8b5d0d9d2f051e3bec3bbd80aaf68b5cc958e3a4558a35c7f5d0499f82a677cdbe755b730c8084d55be4d55cb8512bce4d82923a24bb16e2447bbe10c18c WHIRLPOOL 0f7acd384e0330607818d1315ef419d9f84acc28e781c4b1dcd63ca32e60bb042cbaa5e547a683d2399f5e2c7b0d60bdfd0194d0347ae90b53310e36d92c45d0
+MISC ChangeLog 2527 SHA256 e85f25ff2273ebb8351437b94d8379d626b5e510920d09d473cca36279ffdabd SHA512 5ef2b8614057e14552f4d74b485c341eac51ba495589d689fee0831fed87042c2bcc71ede2351e320eecb16d2515f1e7f2de17001d749a21da0d91e7a69423be WHIRLPOOL fb239425bedbe838af714f7ce6f364ee6fe02cf292fc17e5e9915df4c2093955d2d3bb5b8f597eada77d5310fc87d3121e3a21c8aa928d8d9f6a4fcacf9131df
+MISC ChangeLog-2015 913 SHA256 c7b5b249f36215329c43a05d2763777aedf467a34002d9774057981df9478e38 SHA512 5c0b64ed62978afc3a24b872872008e52115ef3cd8469500e83733b31ed625c189dae46fae157362ab6f3fb7733b3dd3c656e4eb6975c761cbf3b5d803bd394d WHIRLPOOL ada45d79655bb8dbddad8d66a0b55785e97705732ac3874918e5e288d4d6a0e4b3db897a33f17673f2749ba1cdb8787e0a2e80f45fd382bccb18c2d8024e415f
+MISC metadata.xml 767 SHA256 d896c93eac44006547b3ecd826a4ff048111a70e81a04c3b12d73dc11fd5aaaf SHA512 e186ed96257d933a92e02fbef6efd3d584015aaecb6efa07c3f37f4d684a270d8f395b2df0445b4b847013c254018da2252169b74f2ee2f0d5989579112343b7 WHIRLPOOL e5c41ff496987d631eeb456c8a6ebf96cbdf387a3ad3d070628291b443d5a175d9382d2a4f83bb28807194cb50e11e22f32a2348c8d52c32728f5daa70e2e763
diff --git a/app-misc/vzstats/metadata.xml b/app-misc/vzstats/metadata.xml
new file mode 100644
index 000000000000..2217d4192394
--- /dev/null
+++ b/app-misc/vzstats/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <maintainer status="active">
+ <email>kir@openvz.org</email>
+ <name>Kir Kolyshkin</name>
+ </maintainer>
+ </upstream>
+ <longdescription>This is an OpenVZ component to gather OpenVZ usage and hardware statistics,
+ in order to improve the project.
+
+ Statistics gathered and reported include the following:
+ 1 Hardware info.
+ - CPU, disk, memory/swap, PCI devices
+ 2 Software info.
+ - host distribution, versions of OpenVZ components, kernel version
+ 3 Containers info.
+ - number of containers existing/running/using ploop/using vswap
+ - OS templates of containers
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/vzstats/vzstats-0.3.2.ebuild b/app-misc/vzstats/vzstats-0.3.2.ebuild
new file mode 100644
index 000000000000..b4f566ccc487
--- /dev/null
+++ b/app-misc/vzstats/vzstats-0.3.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="OpenVZ stats collection daemon"
+HOMEPAGE="http://stats.openvz.org"
+SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ virtual/cron
+ sys-process/cronbase
+ net-misc/curl[ssl]
+ app-portage/gentoolkit
+ sys-cluster/vzctl
+ "
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake install install-cronjob DESTDIR="${D}"
+ dodoc README
+ newbashcomp bash_completion.sh vzstats
+}
diff --git a/app-misc/vzstats/vzstats-0.4.ebuild b/app-misc/vzstats/vzstats-0.4.ebuild
new file mode 100644
index 000000000000..b4f566ccc487
--- /dev/null
+++ b/app-misc/vzstats/vzstats-0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="OpenVZ stats collection daemon"
+HOMEPAGE="http://stats.openvz.org"
+SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ virtual/cron
+ sys-process/cronbase
+ net-misc/curl[ssl]
+ app-portage/gentoolkit
+ sys-cluster/vzctl
+ "
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake install install-cronjob DESTDIR="${D}"
+ dodoc README
+ newbashcomp bash_completion.sh vzstats
+}
diff --git a/app-misc/vzstats/vzstats-0.5.1.ebuild b/app-misc/vzstats/vzstats-0.5.1.ebuild
new file mode 100644
index 000000000000..b4f566ccc487
--- /dev/null
+++ b/app-misc/vzstats/vzstats-0.5.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="OpenVZ stats collection daemon"
+HOMEPAGE="http://stats.openvz.org"
+SRC_URI="http://download.openvz.org/utils/${PN}/${PV}/src/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ virtual/cron
+ sys-process/cronbase
+ net-misc/curl[ssl]
+ app-portage/gentoolkit
+ sys-cluster/vzctl
+ "
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake install install-cronjob DESTDIR="${D}"
+ dodoc README
+ newbashcomp bash_completion.sh vzstats
+}
diff --git a/app-misc/wcd/Manifest b/app-misc/wcd/Manifest
new file mode 100644
index 000000000000..ee1db0fec92a
--- /dev/null
+++ b/app-misc/wcd/Manifest
@@ -0,0 +1,14 @@
+AUX wcd-5.2.5-gentoo.patch 1468 SHA256 9921cc3e90e0bf7a31120dea46b416bf6bd6b715a8a538cb6797a9726a40463c SHA512 427befe8be99ca4dc633f4c0e3cb130924027e452d87f3d9463d4edd7418f0864d6b5bd1cd3526734a55e28745db3e93a101c45255bc285c9abd324a6bd27108 WHIRLPOOL 760d43c83a33f20e10cd66ade8befa34929d4838883cacdd4578b47af7e55f75e645374355f112c8260b5ebe05bcd41fdf7986cb7d6b8f0b6078bc31bd213600
+AUX wcd-5.3.4-gentoo.patch 1293 SHA256 a815c08a63f0be276fb45a74ce1cf70153149083fc86b2b497c64a6219ee3fb8 SHA512 2a5508ce61475dff6606a81df9de609d8ff270914ae1b40ffd831dee49d643afbb9654fb807ae6536531c95bfdb5f76a194bed250986b4881504b63e2fb21ddf WHIRLPOOL c3d87839aab982985161017165fda6f361759c2ec7ea1f249f438214e23cf3f99909047d153f1f7a2342bf761be10da13d42afee685397b5fce31412e7b00a1f
+AUX wcd-6.0.1-gentoo.patch 1503 SHA256 4d5f26dbc1fca6b346534b32155587edfba042d3797500fc4d90d6fd99fed69d SHA512 0d99727b6b5ae3c665d122ed84fcd3f2a57de3740564acab765cc075c7e05ff9c00e27bc0644eb6e49a7e02b56fd988921b68a5d05894f4ae77d544d6502d952 WHIRLPOOL 029db754961a1297443fa124cd7bcbb6ef60c84ca2cd64dc3ff0e559ca2439ae0b7ac7a258ae898ba9d338262f653ba7fc38f70ffef98af45460639a006a4fbd
+DIST wcd-5.2.7.tar.gz 622613 SHA256 e5f56824e054c6726186271b20a5de3c5b167116b97785a925907981cf3e3b39 SHA512 9f5b89d8160f685b729234cc8c03f16b795797dd6eaf2d9e1bbf1949b27ef971908b78642679d3bf1d99b128b390cd5dbd211e4ff03b0539dd287c578088e02e WHIRLPOOL 3354e380dceaed394e0eb9bac3f474edc819270a117baf5812a1e7252b2cef207862746af2b21dd71de837459bc6281a45a9099f5a6351def49e3c1ce780960d
+DIST wcd-5.3.4.tar.gz 610630 SHA256 8c56a76016ff6b5a4be656dd563bf8f58c7be3a6101cef5485e544b12211dae6 SHA512 fdb6e000876fffbc7bce6e6157282c2b8ef9929c896e5dbd8533314d575cf31656df76cd5c408bb2e495a1fda7f179b122ea2a58da94d5d55d1e2b9c658adc94 WHIRLPOOL adb42aae240fd3ae40fc03418d2ace7ea9d72f0aaec38ab37a231b27ba630dd3a00d0e0af3bca8d05932cfb29019bfeed1ad0dcbbb1998c86b324c20d211d87b
+DIST wcd-6.0.0.tar.gz 615838 SHA256 3f9090fff08a2a57f747471bfd9229a411229b41347488729da8d2c2b3eaa156 SHA512 965a6e52324605e6de5bb26ee0abc927a5e06a9f843ce1c4b65359b52418973bf84278c2f5f24fabbfa7342f40f79f4648d616df9a6ce0e9eca5c108ee49f50d WHIRLPOOL 221b5a907982baaff18bc2a6e2d23aff5326a4fad57f38c6c17f1bbe873e058e2f0bdf24084dfb7dd11af1a18d6bcb3a0792278102616b425678d1585f6e0b28
+DIST wcd-6.0.1.tar.gz 705577 SHA256 dfb26abe9e8c1b90687ff3cc679ed3ef1f87b0f17cfbbb90fc8d45102ba009fc SHA512 7a1a97b1dee220f2a425fcd7669ee9a3ca144992fe18444866269499b10bdea1671a5fca13eaa77c12c807d901e7831701e00a35c766021533a922b84b68247e WHIRLPOOL 9e48e491556959080064365ccfacdaa950dff2e5d52a8720bfa090f6958884e1851d1b66ac6ee5ad3c65dcdd64eea0d2667872e51253929280b92346f19f81fc
+EBUILD wcd-5.2.7.ebuild 942 SHA256 44bae7c035a347178122c080868cade237859ee06dfd467edd8ce44bd7b4c6be SHA512 49cac153d0cb70845500bd789ba3b0927730518abec498767a4d3f9fadc6d333bebe76f72ba86f1d5fd06daaef1fbb1680fbc694649977b46de4ca8ccfe0bc0c WHIRLPOOL dd70f26b92d0f39c1dbe39025692ab162dcdd3076b42632c22dda9c7ad09ffe8f8a3270733e5e1af13f16246eb30db3906833156226ec3d677fcf28c98d794f6
+EBUILD wcd-5.3.4.ebuild 1054 SHA256 9f8173cec375bcb09ce87dc097033af10ac6bf80632ce5452defd9d231bcb756 SHA512 264a5eafe29249dc3d063f4de88e0270cfbed1312e5e3d6f564cd8b1f6e6eb609df52638bbe154d121a53dc65c90df2a2da9819d9df16edc6c66ab1d487eec12 WHIRLPOOL 8917b1fa70a21e8adada7488b688c11343eea2ed0ca80929c7fdd78732328044b989740cc6d837699c6aba8843644c41bf59cfc1a070d0e24651d61028e573cb
+EBUILD wcd-6.0.0.ebuild 1054 SHA256 9f8173cec375bcb09ce87dc097033af10ac6bf80632ce5452defd9d231bcb756 SHA512 264a5eafe29249dc3d063f4de88e0270cfbed1312e5e3d6f564cd8b1f6e6eb609df52638bbe154d121a53dc65c90df2a2da9819d9df16edc6c66ab1d487eec12 WHIRLPOOL 8917b1fa70a21e8adada7488b688c11343eea2ed0ca80929c7fdd78732328044b989740cc6d837699c6aba8843644c41bf59cfc1a070d0e24651d61028e573cb
+EBUILD wcd-6.0.1.ebuild 963 SHA256 dba857af4146a800d17845198432a2202276c0bd2dcfe1450dba2c7447142b8d SHA512 11cdef28a30d7fc63b23e9ba423af74d3f71d9bf4dd28f468a9c4ba2c263defe0bc8b6b3440c28c12a46e9892d4e013ecd67a466067d5d651e17cc1e73b39e63 WHIRLPOOL 7049d5e540027bfc89f6a4a4ac423eb551123cb7ab9cb9ce0baf0dca27f472a192aba705625dfa8d719c0aec152378cb1ca7a4e70b97bedc51bb796fd7565b3a
+MISC ChangeLog 3842 SHA256 8af3ebc51a8a230908ea9ad01a844f2ef62a19840a5176216d87e1da976e1271 SHA512 2bb213bad30f57348e0e0071e43df5c8ef7f5dd1c6ae593a57a26078af243fcebb0ec67c62ecd35992e95686a21515cb4e7b05a70881a1d3f0c566b817b24bd3 WHIRLPOOL c033a2441da11ec1b094fbe23e50ee99084a2c9211004047a25305b4712ae3368b2003e6a08c499d1d37ea65394aaeea9f97b94315f4abb8399c0b43be21cb6a
+MISC ChangeLog-2015 4242 SHA256 86b8fac81b4a62fe49c819c7e8e7821999ff64a6d9b54469f98b1c59dcfbad66 SHA512 6419b830d7983b16e29abffdc2d2ed2d0e417a2fd7d57c901d0679af1db2e3c3e4f961f02ba516eb664eb4e7bffc2e6ec4647a64f2ad40c2fd969ba79ed0fdc9 WHIRLPOOL d852e69da5efc20e85f95fa0dadfec9c2145d23d809b23aadfbf11588a5899c04307d776bf1d36efe87a366082f656d7be3216b63dd277cf0ac057194188dcee
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/wcd/files/wcd-5.2.5-gentoo.patch b/app-misc/wcd/files/wcd-5.2.5-gentoo.patch
new file mode 100644
index 000000000000..c838e131aa5f
--- /dev/null
+++ b/app-misc/wcd/files/wcd-5.2.5-gentoo.patch
@@ -0,0 +1,72 @@
+ src/Makefile | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index d4120cc..4505b8d 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -46,12 +46,12 @@ include version.mk
+
+ CC ?= gcc
+ STATIC =
+-STRIP = strip
++STRIP =
+
+ ENABLE_NLS = 1
+
+ PACKAGE = wcd
+-EXT = .exe
++EXT =
+ PROGRAM = $(PACKAGE)$(EXT)
+ BIN = $(PROGRAM)
+
+@@ -188,9 +188,9 @@ endif
+ # possible values: ncurses, curses, pdcurses, pdcursesw or <empty>
+
+ ifdef UCS
+- CURSES = ncursesw
++ CURSES = $(shell pkg-config --libs ncursesw)
+ else
+- CURSES = ncurses
++ CURSES = $(shell pkg-config --libs ncurses)
+ endif
+
+ ifdef CURSES
+@@ -201,7 +201,7 @@ endif
+
+ ifneq (,$(CURSES))
+ DEFS_CURSES = -DWCD_USECURSES
+- LIB_CURSES = -l$(CURSES)
++ LIB_CURSES = $(CURSES)
+ endif
+
+
+@@ -406,15 +406,15 @@ ifdef ASCII_TREE
+ endif
+
+ LDFLAGS_USER =
+-LDFLAGS = $(RPM_OPT_FLAGS) \
++LIBS = $(RPM_OPT_FLAGS) \
+ $(LDFLAGS_EXTRA) \
+ $(NLFLAG) \
+ $(LDFLAG_STATIC) \
+ $(LDFLAGS_USER)
+
+-LIBS = $(LIB_CURSES) \
+- $(LIB_UNISTRING) \
+- $(LIBS_EXTRA)
++LIBS += $(LIB_CURSES) \
++ $(LIB_UNISTRING) \
++ $(LIBS_EXTRA)
+
+ DEFS_USER =
+ DEFS = $(DEF_UNIX) $(DEFS_CURSES) $(EXTRA_DEFS) $(DEFS_USER)
+@@ -470,7 +470,7 @@ status:
+
+ $(BIN): $(OBJS1)
+ $(MAKE) status
+- $(CC) $(OBJS1) $(LDFLAGS) $(LIBS) -o $@
++ $(CC) $(LDFLAGS) $(OBJS1) -o $@ $(LIBS)
+
+ %.o: %.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@
diff --git a/app-misc/wcd/files/wcd-5.3.4-gentoo.patch b/app-misc/wcd/files/wcd-5.3.4-gentoo.patch
new file mode 100644
index 000000000000..0839bdb069d9
--- /dev/null
+++ b/app-misc/wcd/files/wcd-5.3.4-gentoo.patch
@@ -0,0 +1,67 @@
+--- wcd-5.3.4/src/Makefile
++++ wcd-5.3.4/src/Makefile
+@@ -46,12 +46,12 @@
+
+ CC ?= gcc
+ STATIC =
+-STRIP = strip
++STRIP =
+
+ ENABLE_NLS = 1
+
+ PACKAGE = wcd
+-EXT = .exe
++EXT =
+ PROGRAM = $(PACKAGE)$(EXT)
+ BIN = $(PROGRAM)
+
+@@ -334,9 +334,9 @@
+ # possible values: ncurses, curses, pdcurses, pdcursesw or <empty>
+
+ ifdef UCS
+- CURSES = ncursesw
++ CURSES = $(shell pkg-config --libs ncursesw)
+ else
+- CURSES = ncurses
++ CURSES = $(shell pkg-config --libs ncurses)
+ endif
+
+
+@@ -366,7 +366,7 @@
+
+ ifneq (,$(CURSES))
+ DEFS_CURSES = -DWCD_USECURSES
+- LIB_CURSES = -l$(CURSES)
++ LIB_CURSES = $(CURSES)
+ ifeq (os/2,$(OS))
+ LIB_CURSES += -ltinfo
+ endif
+@@ -456,15 +456,15 @@
+ endif
+
+ LDFLAGS_USER =
+-LDFLAGS = $(RPM_OPT_FLAGS) \
++LIBS = $(RPM_OPT_FLAGS) \
+ $(LDFLAGS_EXTRA) \
+ $(NLFLAG) \
+ $(LDFLAG_STATIC) \
+ $(LDFLAGS_USER)
+
+-LIBS = $(LIB_CURSES) \
+- $(LIB_UNISTRING) \
+- $(LIBS_EXTRA)
++LIBS += $(LIB_CURSES) \
++ $(LIB_UNISTRING) \
++ $(LIBS_EXTRA)
+
+ DEFS_USER =
+ DEFS = $(DEF_UNIX) $(DEFS_CURSES) $(EXTRA_DEFS) $(DEFS_USER)
+@@ -521,7 +521,7 @@
+
+ $(BIN): $(OBJS1)
+ $(MAKE) status
+- $(CC) $(OBJS1) $(LDFLAGS) $(LIBS) -o $@
++ $(CC) $(LDFLAGS) $(OBJS1) -o $@ $(LIBS)
+
+ %.o: %.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@
diff --git a/app-misc/wcd/files/wcd-6.0.1-gentoo.patch b/app-misc/wcd/files/wcd-6.0.1-gentoo.patch
new file mode 100644
index 000000000000..eca95856ca33
--- /dev/null
+++ b/app-misc/wcd/files/wcd-6.0.1-gentoo.patch
@@ -0,0 +1,67 @@
+--- wcd-6.0.1/src/Makefile
++++ wcd-6.0.1/src/Makefile
+@@ -45,12 +45,12 @@
+
+ CC ?= gcc
+ STATIC =
+-STRIP = strip
++STRIP =
+
+ ENABLE_NLS = 1
+
+ PACKAGE = wcd
+-EXT = .exe
++EXT =
+ PROGRAM = $(PACKAGE)$(EXT)
+ BIN = $(PROGRAM)
+
+@@ -329,9 +329,9 @@
+ # possible values: ncurses, curses, pdcurses, pdcursesw or <empty>
+
+ ifdef UCS
+- CURSES = ncursesw
++ CURSES = $(shell pkg-config --libs ncursesw)
+ else
+- CURSES = ncurses
++ CURSES = $(shell pkg-config --libs ncurses)
+ endif
+
+
+@@ -361,7 +361,7 @@
+
+ ifneq (,$(CURSES))
+ DEFS_CURSES = -DWCD_USECURSES
+- LIB_CURSES = -l$(CURSES)
++ LIB_CURSES = $(CURSES)
+ ifeq (os/2,$(OS))
+ LIB_CURSES += -ltinfo
+ endif
+@@ -455,15 +455,15 @@
+ endif
+
+ LDFLAGS_USER =
+-LDFLAGS = $(RPM_OPT_FLAGS) \
++LIBS = $(RPM_OPT_FLAGS) \
+ $(LDFLAGS_EXTRA) \
+ $(NLFLAG) \
+ $(LDFLAG_STATIC) \
+ $(LDFLAGS_USER)
+
+-LIBS = $(LIB_CURSES) \
+- $(LIB_UNISTRING) \
+- $(LIBS_EXTRA)
++LIBS += $(LIB_CURSES) \
++ $(LIB_UNISTRING) \
++ $(LIBS_EXTRA)
+
+ DEFS_USER =
+ DEFS = $(DEF_UNIX) $(DEFS_CURSES) $(EXTRA_DEFS) $(DEFS_USER)
+@@ -520,7 +520,7 @@
+
+ $(BIN): $(OBJS1)
+ $(MAKE) status
+- $(CC) $(OBJS1) $(LDFLAGS) $(LIBS) -o $@
++ $(CC) $(LDFLAGS) $(OBJS1) -o $@ $(LIBS)
+
+ %.o: %.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@
diff --git a/app-misc/wcd/metadata.xml b/app-misc/wcd/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/wcd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/wcd/wcd-5.2.7.ebuild b/app-misc/wcd/wcd-5.2.7.ebuild
new file mode 100644
index 000000000000..36a9d04865f5
--- /dev/null
+++ b/app-misc/wcd/wcd-5.2.7.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Wherever Change Directory"
+HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
+SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
+IUSE="nls unicode"
+
+CDEPEND="
+ sys-libs/ncurses[unicode?]
+ unicode? ( dev-libs/libunistring )"
+DEPEND="${CDEPEND}
+ app-text/ghostscript-gpl"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}"/${P}/src
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-5.2.5-gentoo.patch
+ tc-export CC
+}
+
+src_compile() {
+ local mycompile="LFS=1"
+ use nls || mycompile="${mycompile} ENABLE_NLS="
+ use unicode && mycompile="${mycompile} UCS=1 UNINORM=1"
+ emake \
+ ${mycompile}
+}
+
+src_install() {
+ local DOCS="../README.txt"
+ default
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
+}
diff --git a/app-misc/wcd/wcd-5.3.4.ebuild b/app-misc/wcd/wcd-5.3.4.ebuild
new file mode 100644
index 000000000000..01d10fdcc1d4
--- /dev/null
+++ b/app-misc/wcd/wcd-5.3.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Wherever Change Directory"
+HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
+SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls unicode"
+
+CDEPEND="
+ sys-libs/ncurses:0=[unicode?]
+ unicode? ( dev-libs/libunistring )"
+DEPEND="${CDEPEND}
+ app-text/ghostscript-gpl"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}"/${P}/src
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.3.4-gentoo.patch
+)
+
+src_prepare() {
+ # Required for stupid eapply function
+ pushd .. &>/dev/null || die
+ default
+ popd &>/dev/null || die
+ tc-export CC
+}
+
+src_compile() {
+ local mycompile="LFS=1"
+ use nls || mycompile="${mycompile} ENABLE_NLS="
+ use unicode && mycompile="${mycompile} UCS=1 UNINORM=1"
+ emake \
+ ${mycompile}
+}
+
+src_install() {
+ local DOCS=( ../README.txt )
+ default
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
+}
diff --git a/app-misc/wcd/wcd-6.0.0.ebuild b/app-misc/wcd/wcd-6.0.0.ebuild
new file mode 100644
index 000000000000..01d10fdcc1d4
--- /dev/null
+++ b/app-misc/wcd/wcd-6.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Wherever Change Directory"
+HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
+SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls unicode"
+
+CDEPEND="
+ sys-libs/ncurses:0=[unicode?]
+ unicode? ( dev-libs/libunistring )"
+DEPEND="${CDEPEND}
+ app-text/ghostscript-gpl"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}"/${P}/src
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.3.4-gentoo.patch
+)
+
+src_prepare() {
+ # Required for stupid eapply function
+ pushd .. &>/dev/null || die
+ default
+ popd &>/dev/null || die
+ tc-export CC
+}
+
+src_compile() {
+ local mycompile="LFS=1"
+ use nls || mycompile="${mycompile} ENABLE_NLS="
+ use unicode && mycompile="${mycompile} UCS=1 UNINORM=1"
+ emake \
+ ${mycompile}
+}
+
+src_install() {
+ local DOCS=( ../README.txt )
+ default
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
+}
diff --git a/app-misc/wcd/wcd-6.0.1.ebuild b/app-misc/wcd/wcd-6.0.1.ebuild
new file mode 100644
index 000000000000..2cf0a5de0ec4
--- /dev/null
+++ b/app-misc/wcd/wcd-6.0.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Wherever Change Directory"
+HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
+SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls unicode"
+
+CDEPEND="
+ sys-libs/ncurses:0=[unicode?]
+ unicode? ( dev-libs/libunistring )"
+DEPEND="${CDEPEND}
+ app-text/ghostscript-gpl"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+ eapply -p2 "${FILESDIR}"/${PN}-6.0.1-gentoo.patch
+ eapply_user
+ tc-export CC
+}
+
+src_compile() {
+ local mycompile="LFS=1"
+ use nls || mycompile="${mycompile} ENABLE_NLS="
+ use unicode && mycompile="${mycompile} UCS=1 UNINORM=1"
+ emake \
+ ${mycompile}
+}
+
+src_install() {
+ local DOCS=( ../README.txt )
+ default
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
+}
diff --git a/app-misc/webcomics-collector/Manifest b/app-misc/webcomics-collector/Manifest
new file mode 100644
index 000000000000..34279b13bc7f
--- /dev/null
+++ b/app-misc/webcomics-collector/Manifest
@@ -0,0 +1,5 @@
+DIST collector-0.7.3.tar.bz2 66069 SHA256 ad66469b166efe2d8f642666755289ebab4a447d96d01ab18d2e91b546f3802c SHA512 6ac846550311cbfb54580bf7971ec2fdf5a0e5321eaf75a97ff1eb91367ddbbf03421855750d21547c0910be7037a989a9be5a08d19eb9556b228faaf9c90035 WHIRLPOOL 2a79d331c08f09eafc93f45bd716996750fe8479ea80be0a1a56139223768b53e9dcbd9c14798ccdbe0c7e1c6f1eb4ba534a3283c579d1c94b560ed1c7e6424e
+EBUILD webcomics-collector-0.7.3-r1.ebuild 871 SHA256 821c404638193b5e1cfb6d41325d94dde0e2643f2f1a7ffb336084bd8e1a6c08 SHA512 3f4fd1afbdbdfa2753d6f201c35cfc2a373468248630c4796de6804d869f39ff8a151d4a4655ea6bc052df9f36f936fd9ddfcbe258e6cabf0d7e3eda71c77b2d WHIRLPOOL 702cc065cf545131948ec7c008cab82cf5dcde4a197cbc86eced4da6b0b5e864afdf70f8f7241352bfbeb6cc35de5f4025979e2de03c84983369183fc72bdcd7
+MISC ChangeLog 3165 SHA256 20762903e1f1abf684f62ef3ed42269acdf4a58fd4f430e728d1a4fed13c0118 SHA512 369e88776a6b7e7f55546892eb4ab1b31791f948bd7cc50f8ee04822b0500c3b5b2132de7ae3e0676c217bd8771afa5eb4db00abd5460ba5687f86d4e5f4772e WHIRLPOOL 6684c3777f735a867ee247fd76e0c2968f6c31a19e940904eafe7c2fb434354af6e3cc72db3cb03f2ca9a0fd42e347a02dc5ab259664cfaaf2cf75583abcf1a5
+MISC ChangeLog-2015 2466 SHA256 732668fa377684afd659ee879850b34cecb788c76530472074c3a7adaa57f930 SHA512 f32e9da811fb0698e7cbcf7d5c95a96847513cb8e048cdcde0048204c0e241c58f0827729f54b86f9b8a7ecccef55c0558494af1cd1ed8984779f7775a92c078 WHIRLPOOL cb42be071ac3e6c8931c203ee9927953e9759a7ad1bed1b344cdad8a3ca0cd2356dd0549491dad5387db1005d8af77c030fcda12416cccfb5aaa8280610c9c90
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/webcomics-collector/metadata.xml b/app-misc/webcomics-collector/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/webcomics-collector/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/webcomics-collector/webcomics-collector-0.7.3-r1.ebuild b/app-misc/webcomics-collector/webcomics-collector-0.7.3-r1.ebuild
new file mode 100644
index 000000000000..dcf0f208b520
--- /dev/null
+++ b/app-misc/webcomics-collector/webcomics-collector-0.7.3-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="gdbm"
+
+inherit distutils-r1
+
+DESCRIPTION="python script for downloading webcomics"
+HOMEPAGE="http://collector.skumleren.net/"
+SRC_URI="http://collector.skumleren.net/releases/collector-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/collector-${PV}"
+
+DOCS=( Changelog README UPGRADE )
+
+python_install() {
+ distutils-r1_python_install
+ python_fix_shebang "${ED}"usr/share/collector
+}
+
+pkg_postinst() {
+ ewarn "If you are upgrading from an earlier version of Collector, please"
+ ewarn "read UPGRADE. This new version will not be able to use your old"
+ ewarn "archives if you do not follow the upgrade instructions!"
+}
diff --git a/app-misc/when/Manifest b/app-misc/when/Manifest
new file mode 100644
index 000000000000..5a64aaf785de
--- /dev/null
+++ b/app-misc/when/Manifest
@@ -0,0 +1,5 @@
+DIST when-1.1.36.tar.gz 50926 SHA256 3ff95c1881e8fe25c82943720a81c9b9b3bd4ac002cd8ffc2d25c588fe7d50b1 SHA512 04b2efbcebae79325d8410a5aa5cdf59662fe42c06229ebc91f3b7163091d305a6ba91914a2a9117d86807d5ca0c875d48679dbc3545162a7263679bf605a52e WHIRLPOOL 1e7ed8d6e2939eaf898e01acebcd74f340e33eff5af17613e60eed62b756e8dd4df300990194b3cbebec64751c2adc1cb44848f1aad3d0b840bc9fe7174ea144
+EBUILD when-1.1.36.ebuild 897 SHA256 7a8b6f8a8969bd160342a9290c8b6cf5c2b4beb827fefa6c24377579b51cb62a SHA512 3e7ffda7ef158f9ef86933f97e041cc99014897ca1cb56dc6ef8d34e3b628ca2d8a5bcefb30790b03713993d8d5cc66bcf736118f6c8b428e9872de4eccb2a96 WHIRLPOOL 29b2056abd809ff348e594e79471cc76bd9a7ee2da82e957a5f7045cdc3c997427f7358c784838cbef9e03c923838e66c5380cd1086bfc0084eefbaa892381a8
+MISC ChangeLog 2668 SHA256 b6b396b7f3bfd7951e9895ef7c565adc84cee16a1b9d2fa50a295c25cb7202cd SHA512 c950df9da9f7a135079ef243b75fc2b835f460d6e2b1acde622fdbbdbd914b4c247970b3b9824fd08921560302a9b502b32cb3ce87f0a7c449c1f4ef6aaad559 WHIRLPOOL 3103e7ea5ab5dddd06a61550f8311eac6a2579a590ff43cd9996d1ea0353e0930be82cf19e3a6a6d5864940398f689fbfd39031680bd265c626d575c9c789347
+MISC ChangeLog-2015 9092 SHA256 de0df309bfc46f88023d4acc9ed3201ba93b918cc9ce488f5b0badc5ac90105f SHA512 25d0e0e2297ec163c7f59141755fb990c135f454346ca5a10c38220a2bef0cd8046727a28c143c27311ec6c4d09bab77e3d9fc9913bfc8b8a51ce850ede79eec WHIRLPOOL 6a914c4e523561360d725cf87fceca217b8f4d5c20f4142eead0f0b84c7beea0f5cff632d86c7709ecb7378d1c4d4f97887f02c570c1894c7f032708228cfeea
+MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872
diff --git a/app-misc/when/metadata.xml b/app-misc/when/metadata.xml
new file mode 100644
index 000000000000..3e927f8d7480
--- /dev/null
+++ b/app-misc/when/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/when/when-1.1.36.ebuild b/app-misc/when/when-1.1.36.ebuild
new file mode 100644
index 000000000000..3caacc09cdc3
--- /dev/null
+++ b/app-misc/when/when-1.1.36.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Minimalistic personal calendar program"
+HOMEPAGE="http://www.lightandmatter.com/when/when.html"
+SRC_URI="http://www.lightandmatter.com/when/when.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/when_dist"
+
+DOCS=( README )
+
+src_prepare() {
+ default
+
+ # Fix path for tests
+ sed -i 's,^ when, ./when,' Makefile || die 'sed failed'
+}
+
+src_compile() { :; }
+
+src_test() {
+ # The when command requires these files, or attempts to run setup function.
+ mkdir "${HOME}"/.when || die 'mkdir failed'
+ touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed'
+ emake test
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-misc/wipe/Manifest b/app-misc/wipe/Manifest
new file mode 100644
index 000000000000..4b33e5aa8a7b
--- /dev/null
+++ b/app-misc/wipe/Manifest
@@ -0,0 +1,6 @@
+AUX wipe-2.3.1-LDFLAGS.patch 470 SHA256 69580ccd0ee67e911df44e3d3523d4d7437b05d4e58fb352cef84bc3732e217e SHA512 e44d409f8177466c22c5a76fcb242e424d4584e587c6a8e25c5d3d8adb976b11a5cce2e0a77b99833a06879a4df3bdb2c71e468f08b7c7b2888b5ed1907dbd79 WHIRLPOOL 2153aae20ac9960afec8b30028448cc8918558240a1000c6084672c9959ab4c64834a24b81433f29696aba75f5688e8473b50916fe17ad6cb2890f87d2b5dba6
+DIST wipe-2.3.1.tar.bz2 72297 SHA256 463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 SHA512 63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110 WHIRLPOOL ed86197371451d0b7f9a0b635ac085c2376217f06fee09ce1aa0443e8515fcb9a4fe3098a19eb0f2e55cd1b79589af49798d6f44ab1ea99f2cdc8104ee4142f8
+EBUILD wipe-2.3.1.ebuild 790 SHA256 959373ab6ccaea474d2dbdc0c02362bd1004c7c42e5baf420155988f9f9bfb08 SHA512 036c6ede08059455baed7f567e98bdb5d7959d435a5dc853fb4708d59b5c9c9f53c233da6bcbd28c174cce8a940bdfdabb1e6d4a5c93c1bdf089677f062170c4 WHIRLPOOL 4c8277b21bf2baa1b5ca537ee47f4562b2e3f96becefa5ac50f3bd4fcc3703911bd6e548000e1876f34dcd4790bd39227bf61944714057e2df282567e4be4cff
+MISC ChangeLog 2568 SHA256 4cca847ce56d9d431a35c0240cc261c8c0b990b2a75c86166307a1edc51000ba SHA512 42f34b24af15b253cb41b32e3c1469f51dd5d8092244baa9574ba7deca1a061382546af1845c98cd041ceeb09fca81e601fb92804e937741f577aec701b3c339 WHIRLPOOL 292d3a848560e7d6ba37d029f66aaf16dd2a0b5657a2aa2028034d7385064110f4e666e4be904cda78a547abf28191e9e12bb89cabb7019e13df340336e6fe1c
+MISC ChangeLog-2015 3765 SHA256 494db89faa68af1d548feecc7c4cbf71982e562d51203d5d0b59f7b4bfd40734 SHA512 57691974f1c9223e91de84edba9ff01a71e2e846273aa36d5670e5e706ef79ae36d27b1aa5cf38b149886246801bb4f77ee4cfc7c395a26352393627b5bc40a0 WHIRLPOOL 1c988f7aedaf60bb8ba8e5cfc69e77dd7d0f63cb9c2e437b5bee512df55db7f6307a987b71b93867b303e255521bca3624c7d572a3881da2080870b48e860038
+MISC metadata.xml 317 SHA256 f38da47dc615e9b01ce3fc97b232e753bb826fc36af7ae18f17c2832b3a19f1e SHA512 d4c733a3d33e0b3528b2fa38555f9318897900ec1a9e4ae35efdf0ffb0ab1af68059786dd9ab99d1d943310829887e8c01954c3c597a752e086a94d513b85e3b WHIRLPOOL 8c6c9c9ac9e19f1092187cdaac7da2521cb7e48546327b683b1a1ca4a713bd69af1162baa93a11b3cdaa67ecde6289ecfeafdc35827fba7253d3ef160af9ae03
diff --git a/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch b/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch
new file mode 100644
index 000000000000..23a5d19d1cd7
--- /dev/null
+++ b/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch
@@ -0,0 +1,19 @@
+--- wipe-2.3.1/Makefile.in
++++ wipe-2.3.1/Makefile.in
+@@ -5,6 +5,7 @@
+
+ CC=@CC@
+ CFLAGS=@CFLAGS@ -I@srcdir@ -D@OSTYPE@ $(DEFINES)
++LDFLAGS=@LDFLAGS@
+ DEBUG=@DEBUG@ -I@srcdir@ -D@OSTYPE@ $(DEFINES)
+
+ LIBS=@LIBS@
+@@ -31,7 +32,7 @@
+ all: $(REQ) $(BIN)
+
+ $(BIN): main.o wipe.o rand.o dir.o file.o blkdev.o lock.o text.o str.o percent.o prompt.o io.o mt.o
+- $(CC) $(LIBS) *.o -o $@
++ $(CC) $(LIBS) *.o -o $@ $(LDFLAGS)
+
+
+ # restores everything to a pre-configured state
diff --git a/app-misc/wipe/metadata.xml b/app-misc/wipe/metadata.xml
new file mode 100644
index 000000000000..8e517081e108
--- /dev/null
+++ b/app-misc/wipe/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">wipe</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/wipe/wipe-2.3.1.ebuild b/app-misc/wipe/wipe-2.3.1.ebuild
new file mode 100644
index 000000000000..c53200bc8276
--- /dev/null
+++ b/app-misc/wipe/wipe-2.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=3
+
+inherit autotools eutils
+
+DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
+HOMEPAGE="http://wipe.sourceforge.net/"
+SRC_URI="mirror://sourceforge/wipe/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+ eautoreconf
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dobin wipe || die
+ doman wipe.1 || die
+ dodoc CHANGES README TODO TESTING || die
+}
+
+pkg_postinst() {
+ elog "Note that wipe is useless on journaling filesystems,"
+ elog "such as reiserfs, XFS, or ext3."
+ elog "See documentation for more info."
+}
diff --git a/app-misc/worker/Manifest b/app-misc/worker/Manifest
new file mode 100644
index 000000000000..a3e796356a68
--- /dev/null
+++ b/app-misc/worker/Manifest
@@ -0,0 +1,7 @@
+DIST worker-2.19.6.tar.bz2 1191546 SHA256 25998018bd3b50819cf2bbb35c3c2f0eb6449efd6b9da84f2f39c3e0570d188e SHA512 401c986ff532c225cbd183afd8424e900ed8ff874368d68cb985136d130b5a4d4746a59e391ba01ae610eacd4fec0d76061ba967112b8262e4a9297599596b60 WHIRLPOOL 1b209710fd0c47d565eb85d7f631cd31690314139793428ab9d8105a31d0ac940011622bf6f56951be96e193c5291d8b9a9ab325058117d23a84cd4b75f32320
+DIST worker-3.8.3.tar.bz2 1519483 SHA256 3f7e47165660ef54bb6054335d667f7c20e0f5ff248b1dcedb82e6aeb8dda86d SHA512 fa5d078233a91ec603cd87718542cdd5d99ef89c5d2e72c84fe40c08778c5e9dde8e99a23ccfee5ef61e63535c809a48ccf71fe9a256fd7afa05f848c5045738 WHIRLPOOL a1442b540fbea925d3cc76a6587fd30ffac22ab440b58a7da1cf058a3d1615f333959a3e6e77c417cec32e5c145c8b53529ea62a6fb03ce44cee4c53189bd347
+EBUILD worker-2.19.6.ebuild 1330 SHA256 920ba3d9ef2632f71712b66cd087966927d013f5169d827573d366951410b8ac SHA512 4180da05eebb296b791d326ad7bdb25d693e7eadda33e077f740dccf0a0d88fc71912b2f619a76d729e016a663259b042ce1a8a6e570b30cd6a63253b651858f WHIRLPOOL b9578f1ff2b6d1c2f91b970f0f85085a8317658a4379178682dc2b47ae88e8b7243b99505aba1a9a4dd6f987f154869aa8426a7e775d31485835122de8f89885
+EBUILD worker-3.8.3.ebuild 1270 SHA256 779ad36561d36c6065fc54b369976a7dc17a88922ae16cde00abcfd60bba1091 SHA512 3e40f9c9c3e81e489381ef2c17d266170a61ebe0506b8ce5360bd1474c5a950916a0b6be0daa0321ff8a24664905826b95f551d3cddf2be887fb7854e131c38c WHIRLPOOL b99ffd01a1b044ffb2c2052dd7d471293401c42ab80b10f7d6f8b1fc5fc0cd87c0b743ea508b827d1ef98c5b88d017023a33a844868aaadf81cdcde3b73d4552
+MISC ChangeLog 3093 SHA256 27c9d48e92cb81c7bf0774f0d7cb82f16d24bc172b36d1c99cda0010ee3833d6 SHA512 f1e708848322283f6868f2c40103e59fea5e2f7610a6e5aab48f059e38d567633f32171da65abca15f13bb1bd0b62688b8766886a823d3e11dfd12145d8f691d WHIRLPOOL 9d021acd2ef97b9fcc2f9ce09cb7bd6a726befbbf27bdbf219575041f16157684c2a4c362586fa6ce373153971f116428678e74cd0380f20fff2023616fb73e6
+MISC ChangeLog-2015 8189 SHA256 4f0395bdb5cfecd1624d09bb42275bb7f5d09650741e229aeacff37ce68fb29f SHA512 ec95b7ed29f1d2709ddc286c1cd0f05a7a480b5737502e6f377f224067acedd8859afff5381f859ee8a9a7af6c604be98494307d4fb25b18b87120f0ec304b5c WHIRLPOOL e1dfa9b09ac976ed0a3bc4c33e0fc1c0cfb5d7f24b7181d7926e37dca1253960c93179c454157b21df9a54a605dadd2b0551600e429bcb28dcd3d36b2e4363a4
+MISC metadata.xml 636 SHA256 ed647cdb6200c1d596dd62c8f1a8dc6cbbf1905d722dca97dbf0108e8768efa1 SHA512 67911dd438f9fa6ccd9e1f1bf47feb23016564b7d3cd33f846c17e82d83f70c39e6472bb61585a143475f207c3160c575e33fcd5edc5d2fe517ac5cf9f56c682 WHIRLPOOL 1decd9914cc1bc611b8beb1eb6a8bc4b89650603fccdf527a3a98ede39d2c6aafb96609c90443e9bb398db786e079bd9286094d59bf27440937ec341eb16d882
diff --git a/app-misc/worker/metadata.xml b/app-misc/worker/metadata.xml
new file mode 100644
index 000000000000..dd300924df2a
--- /dev/null
+++ b/app-misc/worker/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription>
+ Worker is a filemanager for X-Window on UNIX.
+ It's a clone of the filemanager "Directory Opus 4", a very famous program
+ for Amiga-systems. The dirs and files are shown in two independent panels
+ (similar to MidnightCommander).
+</longdescription>
+<use>
+ <flag name="avfs">Enable support for <pkg>sys-fs/avfs</pkg></flag>
+ <flag name="magic">Add magic file support from <pkg>sys-apps/file</pkg> to automatically detect file types</flag>
+</use>
+</pkgmetadata>
diff --git a/app-misc/worker/worker-2.19.6.ebuild b/app-misc/worker/worker-2.19.6.ebuild
new file mode 100644
index 000000000000..349dd3d81505
--- /dev/null
+++ b/app-misc/worker/worker-2.19.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
+HOMEPAGE="http://www.boomerangsworld.de/cms/worker/"
+SRC_URI="http://www.boomerangsworld.de/cms/worker/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~hppa ppc ~ppc64 x86"
+IUSE="avfs debug dbus examples libnotify +magic xinerama xft"
+
+RDEPEND="x11-libs/libSM
+ x11-libs/libX11
+ avfs? ( >=sys-fs/avfs-0.9.5 )
+ dbus? ( dev-libs/dbus-glib )
+ magic? ( sys-apps/file )
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
+
+src_prepare() {
+ # respect AR, bug #466014
+ sed -i -e "/AR/s/ar/$(tc-getAR)/" src/aguix/Makefile.in || die 'sed on Makefile.in failed'
+
+ epatch_user
+}
+
+src_configure() {
+ # there is no option for disabling libXinerama support
+ use xinerama || export ac_cv_lib_Xinerama_XineramaQueryScreens=no
+ econf \
+ --without-hal \
+ $(use_with avfs) \
+ $(use_with dbus) \
+ $(use_enable debug) \
+ $(use_enable libnotify inotify) \
+ $(use_with magic libmagic) \
+ $(use_enable xft)
+}
+
+src_install() {
+ default
+ if use examples; then
+ docinto examples
+ dodoc examples/config-*
+ fi
+}
diff --git a/app-misc/worker/worker-3.8.3.ebuild b/app-misc/worker/worker-3.8.3.ebuild
new file mode 100644
index 000000000000..f6b863b19af4
--- /dev/null
+++ b/app-misc/worker/worker-3.8.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
+HOMEPAGE="http://www.boomerangsworld.de/cms/worker/"
+SRC_URI="http://www.boomerangsworld.de/cms/worker/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="avfs debug dbus examples libnotify lua +magic xinerama xft"
+
+RDEPEND="x11-libs/libX11
+ avfs? ( >=sys-fs/avfs-0.9.5 )
+ dbus? ( dev-libs/dbus-glib )
+ lua? ( dev-lang/lua:0 )
+ magic? ( sys-apps/file )
+ xft? ( x11-libs/libXft )
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
+
+src_configure() {
+ # there is no ./configure flag to disable libXinerama support
+ export ac_cv_lib_Xinerama_XineramaQueryScreens=$(usex xinerama)
+ econf \
+ --without-hal \
+ --enable-utf8 \
+ $(use_with avfs) \
+ $(use_with dbus) \
+ $(use_enable debug) \
+ $(use_enable libnotify inotify) \
+ $(use_enable lua) \
+ $(use_with magic libmagic) \
+ $(use_enable xft)
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ docinto examples
+ dodoc examples/config-*
+ fi
+}
diff --git a/app-misc/workrave/Manifest b/app-misc/workrave/Manifest
new file mode 100644
index 000000000000..622b8fb60211
--- /dev/null
+++ b/app-misc/workrave/Manifest
@@ -0,0 +1,6 @@
+AUX workrave-1.10.6-automagic-gstreamer.patch 881 SHA256 887a74711e44330f19e512103055718716894958e6432547e8e0dff4a8639492 SHA512 87b9ee4847a8d3ed7afd479b0eb67864f328991c76c3525837e8fb31df299dfc5be43ab35c884a75a40f756d1a3b929c6a415448f88cbe726a2088e8cafeb290 WHIRLPOOL d98f25550d711cf069efcca458f6d8c43688ddd4da811deec5ba9f2a04b3569425430fe7641f4461b49170c5a7ec6c47adc24fdb8be529981117d0e8590b506a
+DIST workrave-1.10.16.tar.gz 6375438 SHA256 4368306db0d06e76a3a90fc8e81b3648c1218259833b01cdc6899b1e98e5895c SHA512 f768c46a5b7dfbaca2984fabff92e64d5fd14f3b4e4d018f5a1cf46a87fbf7ec7fbaec9b660e899f7064a93338224d159b75052ed8e532ecaf507d2f249732f2 WHIRLPOOL 2352b05bc1e3fb3787e4c350ab37cb877e9fdce543e4f6e117083f46e79af673b9ae3c21e3e625ed9e1b11c1e5e4072adeff1b6b059b7cd1c6c01bc8ce3a04ac
+EBUILD workrave-1.10.16.ebuild 2788 SHA256 ca1008b6d95925eaaaa1bc9069a2b804cdf8e83f99cb5618c7bf27e3820b2e03 SHA512 783fd8d7cb0291d0339931c1c9c8227fe681bca4702b77f1f95d34fb4810eedc0c28f76ae1c00267227a9d4fd6b642ecae009b9284257f1b81e01487630f4358 WHIRLPOOL 11b4ef7894cf8818cbcc300f69be35f94cb4c71770cfd96882e985ed3088e3eed4755c92eefa6e95d7b84154949a382a4a8e0d9a3fec2a701ea74560365fe90f
+MISC ChangeLog 5688 SHA256 e84507c36dae35b1e27d5cb5994c4f5bc93c558bb211d5a13a992003d3d10dca SHA512 89d2d6669bf3adbcec3f03245ef9c13f0a88d92e8715709be65c4acef96e89bb7dbfc37929233e99625f53b4f1b432e146b21c680fe99016970543b16704f8c7 WHIRLPOOL 1fcf1d0c1dc1d6f089bef1cdd75d198e913e4ed2f750d1265a3058d3ce9e50f1c0ad24630cd82221d6da505ef6d662e645ed88f9d4987a137a36044dc3c339de
+MISC ChangeLog-2015 15971 SHA256 c72485fcd8d422a561fc2f365709430ce2d5f52019a41fa1acaebad850ebddcb SHA512 dc0a5cc87c37d34635128153850e8cc8d9867230a981bae1a68fbbee7950543a705685ca9a586ec62307a404310a38f698893724e0308425a1a1255d97916a4f WHIRLPOOL 7f10fee35a4e41f13086a61e615fe982290a338a34783905f60d575052af164ff97905a58b149d41f71788b04dc9d93eaf744e5d767c482fad549be1f58f2db4
+MISC metadata.xml 766 SHA256 b9d89a6461e3855b25ee642768749cdd0b86c0560a5e9a02f2f5fc85e402840e SHA512 7956d55c17c035e7493744565aa495ac306610e2c2979e6fd43d6ce12e676c484a1881b4b04d90f4cf84ef9927e8f9d250e08171fe549a427c21073f338aaff8 WHIRLPOOL 4130fed4b678f0e9635112ef83097fc214353116ff7209cd9e1841a7323ca55af0b0dfb38f1f641711161d48c98d883ecfc4cb680ec637767a9731aa5dfa32aa
diff --git a/app-misc/workrave/files/workrave-1.10.6-automagic-gstreamer.patch b/app-misc/workrave/files/workrave-1.10.6-automagic-gstreamer.patch
new file mode 100644
index 000000000000..76c2e67ed607
--- /dev/null
+++ b/app-misc/workrave/files/workrave-1.10.6-automagic-gstreamer.patch
@@ -0,0 +1,23 @@
+--- a/configure.ac.old 2015-10-24 10:11:47.469290574 +0200
++++ b/configure.ac 2015-10-24 10:14:35.918680898 +0200
+@@ -884,20 +884,12 @@
+ if test "x$enable_gstreamer" != "xno";
+ then
+ PKG_CHECK_MODULES([GSTREAMER],
+- [gstreamer-0.10],
+- [config_gstreamer=yes
+- AC_DEFINE(HAVE_GSTREAMER, 1, [Use GStreamer for playing sounds])], [ ])
+-
+- if test "x$config_gstreamer" != "xyes";
+- then
+- PKG_CHECK_MODULES([GSTREAMER],
+ [gstreamer-1.0],
+ [config_gstreamer=yes
+ AC_DEFINE(HAVE_GSTREAMER, 1, [Use GStreamer for playing sounds])],
+ [if test "x$enable_gstreamer" = "xyes"; then
+ AC_MSG_ERROR([GStreamer development headers not found.])
+ fi])
+- fi
+ fi
+
+
diff --git a/app-misc/workrave/metadata.xml b/app-misc/workrave/metadata.xml
new file mode 100644
index 000000000000..7bd3cce2d89c
--- /dev/null
+++ b/app-misc/workrave/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="mate">Add support for MATE panel</flag>
+ <flag name="xfce">Add support for XFCE panel</flag>
+ </use>
+ <longdescription>
+ Workrave is a program that assists in the recovery and prevention
+ of Repetitive Strain Injury (RSI). The program frequently alerts
+ you to take micro-pauses, rest breaks and restricts you to your
+ daily limit.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">rcaelers/workrave</remote-id>
+ <remote-id type="sourceforge">workrave</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/workrave/workrave-1.10.16.ebuild b/app-misc/workrave/workrave-1.10.16.ebuild
new file mode 100644
index 000000000000..c39e0a3560a0
--- /dev/null
+++ b/app-misc/workrave/workrave-1.10.16.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools gnome2 python-single-r1 versionator vcs-snapshot
+
+DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
+HOMEPAGE="http://www.workrave.org/"
+MY_PV=$(replace_all_version_separators '_')
+SRC_URI="https://github.com/rcaelers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+# dbus support looks to be used only for trying to use panel applets on gnome3!
+IUSE="ayatana doc gnome gstreamer introspection mate nls pulseaudio test xfce"
+REQUIRED_USE="ayatana? ( introspection ) ${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ >=dev-libs/glib-2.28.0:2
+ >=x11-libs/gtk+-3.0:3[introspection?,X]
+ >=dev-cpp/gtkmm-3.0.0:3.0
+ >=dev-cpp/glibmm-2.28.0:2
+ >=dev-libs/libsigc++-2.2.4.2:2
+ ayatana? (
+ >=dev-libs/libdbusmenu-0.4[gtk3,introspection]
+ >=dev-libs/libindicator-0.4:3 )
+ gnome? ( >=gnome-base/gnome-shell-3.6.2 )
+ gstreamer? (
+ media-libs/gstreamer:1.0[introspection?]
+ media-libs/gst-plugins-base:1.0[introspection?]
+ media-plugins/gst-plugins-meta:1.0 )
+ introspection? ( dev-libs/gobject-introspection:= )
+ mate? ( mate-base/mate-applets )
+ pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
+ xfce? (
+ >=x11-libs/gtk+-2.6.0:2[introspection?]
+ >=xfce-base/xfce4-panel-4.4 )
+ x11-libs/libXScrnSaver
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXtst
+ x11-libs/libXt
+ x11-libs/libXmu
+ ${PYTHON_DEPS}
+"
+# dbus? (
+# >=sys-apps/dbus-1.2
+# dev-libs/dbus-glib )
+
+DEPEND="${RDEPEND}
+ dev-python/cheetah
+ >=dev-util/intltool-0.40.0
+ sys-devel/autoconf-archive
+ x11-proto/xproto
+ x11-proto/inputproto
+ x11-proto/recordproto
+ virtual/pkgconfig
+ doc? (
+ app-text/docbook-sgml-utils
+ app-text/xmlto )
+ nls? ( >=sys-devel/gettext-0.17 )
+"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ vcs-snapshot_src_unpack
+}
+
+src_prepare() {
+ # Fix gstreamer slot automagic dependency, bug #563584
+ # http://issues.workrave.org/show_bug.cgi?id=1179
+ eapply "${FILESDIR}"/${PN}-1.10.6-automagic-gstreamer.patch
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # gnet ("distribution") is dead for ages and other distributions stopped
+ # relying on it for such time too.
+ gnome2_src_configure \
+ --disable-dbus \
+ --disable-distribution \
+ --enable-exercises \
+ --disable-experimental \
+ --disable-gnome2 \
+ --disable-static \
+ --disable-xml \
+ $(use_enable ayatana indicator) \
+ $(use_enable doc manual) \
+ $(use_enable gnome gnome3) \
+ $(use_enable gstreamer) \
+ $(use_enable introspection) \
+ $(use_enable mate) \
+ $(use_enable nls) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable test tests) \
+ $(use_enable xfce)
+}
diff --git a/app-misc/wyrd/Manifest b/app-misc/wyrd/Manifest
new file mode 100644
index 000000000000..797e399de5cb
--- /dev/null
+++ b/app-misc/wyrd/Manifest
@@ -0,0 +1,5 @@
+DIST wyrd-1.4.6.tar.gz 425829 SHA256 b2b51d6fb38f8b8b3ec30ee72093f791ba9b6fe35418191bc2011d2c8079997e SHA512 fc09c4567ea8d6225638ee6851ddab716665913b7d7b2f6b5a3cc7f2af9144df617e2a95ca78c74874bec3ff355aba028c7c51eafe1426d9ae803ab77ce84477 WHIRLPOOL 651fc8b8e2d12b35bb8a4e9a4284a2a428737b1856edb4bbfc112e5a8db5686220bacbd77c6f1513894ba69ee9b8eed719a7b8596bce76af0887bd11575c133a
+EBUILD wyrd-1.4.6-r1.ebuild 653 SHA256 8d8630b346d4e35f534c370d8e8ca6f0de2a0cac6c911b536bba05d01764c2e8 SHA512 791ebbaec3b630cad1a5392319948a39df0a5ad6289e7caea04d8884854d9e02890f9a226c116cc8616a3bc16d0c4ada6a14fcfdb799a11d2ca91cb2fa90c165 WHIRLPOOL 68dc2ee18a6077046e6d7ca2ca09e6429360810bad85a7cb82f9d01f4bd7a7e94bb7b0fcad5f3ce3e5e8527d07091be0429344bf374aee61c150d9b26b0b5030
+MISC ChangeLog 4544 SHA256 4cfc65cc1161a24a0879b53e374f9a2d8de04acb4d75731d0fd7f463eecced8f SHA512 737337abefdbd8331e4ae603c84ab4e29ac4a161d6217e27b1c21d1e77e4468d9ce3877cb59afc1f10a73c7051db530e2d9ea69c84cd5e190db3309dccd5e8c0 WHIRLPOOL b61c3c58a514d176bfb95091e25fb467d0b3360dda4dd6152c3813617f8794437c08453ee10d14a49bccfedef8880c21fb0051987e13270d831a26798a710249
+MISC ChangeLog-2015 3772 SHA256 f13587c23ca7a0c005af8693188ad170b424defe6d4aab67b3081daf87b3bef5 SHA512 173801c235d8e39d5e52575cd2a7b823ad695b3f050cf1405672dfd925b80ee76506b2fe796c14c08a3165466fd2432214de253c3b19c0e99a3d5532ef891b2d WHIRLPOOL 37bcce8c44fe1e5216ff0930257e0b2c6e0fa898fbe3c54eae4335fda5545b441782f7a6f4333f94d9e753197a1077862c797bb5c13e2e111cd743b8c72dc36a
+MISC metadata.xml 685 SHA256 1a8df9a0ea7f4a4ee43719856fd12d028aa15fe8791a260b91b68e9415b17c08 SHA512 96684d600777e987e9cc7b5ff08713d1292e2413778cfb2775127043e4685acd2df50294b72186eedacbeb448601a3064e98a4851198df6875491cc20d01681a WHIRLPOOL bb6170e3571f828d7981a68b6184cf24cef06afd5d0938cbc7c4a94864dc7129b866b2ad585dadc9668a4f659f8fbf532106a8e813db87978d6a8bfd3668a0f4
diff --git a/app-misc/wyrd/metadata.xml b/app-misc/wyrd/metadata.xml
new file mode 100644
index 000000000000..4920b59165e4
--- /dev/null
+++ b/app-misc/wyrd/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ Wyrd is a text-based front-end to Remind, a sophisticated calendar and alarm
+ program. Remind's power lies in its programmability, and Wyrd does not hide this
+ capability behind flashy GUI dialogs. Rather, Wyrd is designed to make you more
+ efficient at editing your reminder files directly. It also offers a scrollable
+ timetable suitable for visualizing your schedule at a glance.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/wyrd/wyrd-1.4.6-r1.ebuild b/app-misc/wyrd/wyrd-1.4.6-r1.ebuild
new file mode 100644
index 000000000000..531160d57311
--- /dev/null
+++ b/app-misc/wyrd/wyrd-1.4.6-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Text-based front-end to Remind"
+HOMEPAGE="http://pessimization.com/software/wyrd/"
+SRC_URI="http://pessimization.com/software/wyrd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="unicode"
+
+RDEPEND="
+ sys-libs/ncurses:0=[unicode?]
+ >=app-misc/remind-03.01
+ dev-ml/camlp4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-lang/ocaml-3.08
+"
+
+src_configure() {
+ econf \
+ $(use_enable unicode utf8)
+}
+
+src_install() {
+ export STRIP_MASK="/usr/bin/wyrd"
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog
+ dohtml doc/manual.html
+}
diff --git a/app-misc/xmind/Manifest b/app-misc/xmind/Manifest
new file mode 100644
index 000000000000..c6698dbb230d
--- /dev/null
+++ b/app-misc/xmind/Manifest
@@ -0,0 +1,14 @@
+AUX xmind-3.4.0-config.ini 1671 SHA256 2cb53e4e8d3533057b2215cfa351b093859440fdbf11e068156548d275ca926f SHA512 dc6e054839eeadd6aab4abd41f42766567404b44b5d7fbaaad785a45f1b9c1d92e4eeaafb936bfff8d827c6ebfbccf4b02f3f417c2a8280300f377608913f763 WHIRLPOOL 3c0b86abf80888afb84205d5053c4a53c041e7731adb618b2d9e67c61df84f1a9e4762435c7747a02fc47a3f491acfbba5b0e909bb5271f794dbc450abb113f2
+AUX xmind-wrapper 488 SHA256 79d6098d48b7076924d08fb12158d5a614102b5fe95f350b7a8850b4d52aaba8 SHA512 f400d3f527897f087d5e20bce43299a20bd64a458f7c95a47447c78bf0c2b951a8f38d29e4a6ce028a9b421c41880fb5850184cb0b190de79f712ec807dbf9d7 WHIRLPOOL aed064b864f0ee27525d54db45f16b130624e20c9571deb6563a12af368db629184d4d72815919d13dc1ff3cae948b50292229cb193872c5e4ea7342a3dcc91d
+AUX xmind-wrapper-3.5.3 493 SHA256 09fdbdbaba354681cf9df115f24a9f97db3ba6d7057cfe6896169b68fbf7dfa1 SHA512 555e1103dc5714bb5924421899262f1112c83807233c9969afdaa0eb0cba631b13e4fa984af7c2029fe57fb7e135f51a1d00e3dd3fffb8bcf3bb96eb93dfad80 WHIRLPOOL b36ab3f420f46305d662c7d6e49a0081b482832d0cb4d741951d7b83dfcbe2169f538dc8ce73a35afc3965e126657059604a84478ba51e8f588c1acb078c3f2f
+AUX xmind-wrapper-3.7.0 504 SHA256 9f69c91340f35e05930d12eb49c45a743f3400dc8f9596d87536dd23a29776ef SHA512 452560c9b1ab68df745616ac032089fb05f1aab61c7e1b247eb241195dd38e11b69459abb5e2b6696db76e2e421291de4dc41030f525f77f0e30522b52540248 WHIRLPOOL 5a69513c76e7d8878fb7ccbbdcca4d23117e1fab8c529c63c3f9417d03d23d09598848a6f3ecbbf72af85defeef61a7dc7a1c507c52d5e3f921a1a84d7f2277e
+DIST xmind-8-update1-linux.zip 142395100 SHA256 59dc865856d8b560ebc5a9d220a26e6694cb004b67cd1e7c76e177637f432e35 SHA512 725268287dfa9dc9a5d9fd429277eecd43ef2e09158b3bb8ef51e06355620741b2aa709c227debd0069f4401623b7274082f6b81b3ace153289ef7ffac25fca4 WHIRLPOOL 2b23a85c56d44ac3d4fa8480e6995386a2595f8947932a0e8179238f78c088c1b7af9b8ffc532121175ad7c0ab02fdecaae9008c53d99e1a5724225d0c689df5
+DIST xmind-8-update2-linux.zip 120800791 SHA256 e4b1a4f6b98b4d8801f09b12def790bbc4516d8ea1cc4463df7f0cc9485bfe23 SHA512 e658714a5944e8de62577302c22763e9c55d1f82ce6cbda187ec39801ac7cbd5c34de6e4d7d9735546bcef26795c21c194ff026cebf39b2c9af2663cec98ce58 WHIRLPOOL 0749a7611d06479e1fe2bba338d2437cc3731989eb07fb87ac1d36067f1ce315ad738adee867faa67394b387a3ee6aa25d1d35015f37b4b955ea877b2419aad9
+DIST xmind-icons.tar.xz 5024 SHA256 6a5e087c5c66aa6f36b7822268b486922157e3b75a091b6fbdeec905607b8aa5 SHA512 3ee6b8e42b75305bec8f97f733575f10ca3d08e1c5a76a10700776cb7740ae6f8a0f3dfbc4112d60ab2499915ca4ea0e3d56fd49e55bec00fccdc8710d9f9f0d WHIRLPOOL 590571a8b950ff6200d92417ab7eede2a8856263bc07c00fb129d751d9a00ae9bab69d916aab2f04d8270eadb0466723e99570032eacabd7350afd3cca4b8f23
+DIST xmind-portable-3.5.3.201506180105.zip 159265180 SHA256 38a20e7c4a19c13eb26f5f27ff1898fa4ca463d234e72c616b2305c7a3b31efc SHA512 d41deebec769d06276d051c57e546c44e4283feabd5f6c45ce97efdbf755d75e9b99d39b6fd10baf2f4735f25a695d2902ca9888d94ad414318f38c55e3f4af5 WHIRLPOOL 8aae5af4a2ad14afc2883b56a8b57b9906a7a1cd8e7959175d3a3e780b48725d5e7af83325e0c10e4f5cfee921637656171d21f8190f47810d7b40095a0da489
+EBUILD xmind-3.5.3.201506180105-r2.ebuild 2215 SHA256 0a60d5a3d91ff0617d3e7c43f6cc1fc47db15fe509021435a1a20b928fa9de00 SHA512 af0c431cca019f4b5b1228daf2931e1bed1d8d01711aa1a19aa3b73d75176f08e10d6353c8a0460f33dff0b13dcd9d4f3b7cd8d32fa89611663ead849674d7a0 WHIRLPOOL 31488ac9f66e920a361e1b09424c5db160b01b1e92fa14422b17b057bed23e9b7a6c367450d459eed73d896e15741d643da8a88435d0e9be02e8371f2c054138
+EBUILD xmind-3.7.1.ebuild 2186 SHA256 4a44fa8ace1f8f9c3ce6f0e40705e8cc676f9bc7ed8582733862a733289eefc7 SHA512 4d6eddb169f546dd7d119525db843abe4b7a450b56fb972c59011ba1d0b994bd25fae4ecf53208632407abaca7796d906a357cf99f60655b47ebb52ae4d0c214 WHIRLPOOL 352c233769b60d3e553d1e09436f29fff2caaac15f8ff90ca31cc101d8a8c004526fdfb042ec3c52bda791b99beb04037988964eb3049e95f464973007dc1b78
+EBUILD xmind-3.7.2.ebuild 2186 SHA256 5d9ef292a0a18a7ca68ee00ee77803a72ba60539fe2ed844b16fcd4b59675eaf SHA512 d5960a6dbedff1000859ced4aee8e43f86bd5fe63ea61e046c78a31c1634e1e653523f2f446e9429fb5d228623e81fad90279c18d29e1111a9b667543e2c9f1a WHIRLPOOL 7da1b6bc7165b540413e5f32a59c607fa9c5459da8ed5499dcfd2dc50ea16e65f0f7a514e7cbd5234f61bdf51c80f203b58999a010248bce096de8ce800152a0
+MISC ChangeLog 4890 SHA256 03b60aaca65f5ad2d8db0d59ca4ef301a191f3b2fd93d47399daac14964ace63 SHA512 53f918e7e0663f9a8245d421ea929d590aa11d2caf9d4f80d3c760c469e5d7ac7ea7faf67466a4b10e4d45f451f8a9b8409cab3f542250e8b4b3d28ad5a18b08 WHIRLPOOL c6069971254421292a47bc4af084d04c9409832a1fd485db6b169042b437d5119cd32a73a4a532560cb8645129268aa30cbf7f3d5d4d7d7a2d87b691af4f4c84
+MISC ChangeLog-2015 2816 SHA256 878639db21ae27d9f934a3da8828b1b666b3f131ef98986b43597f6148ee1c49 SHA512 88d10252fb897f618bcc10dd4402e3c7faba581ba33d369ea53ba4080b577366a721317ea122845301ccd3150914c144fe9418064cb2ddeca050c3448896de1e WHIRLPOOL 99cdab33b855abe71c32d59a1e9518f6ed101bb50541551bc752bee00bbe66459406bb7f9d72da1f763a34d90133f5775552731fc94103d2fa20c881b22da80f
+MISC metadata.xml 248 SHA256 276c1a0ca13c7abf47c84827347c1ed936141b1cbc6dc7f68061718cae3ca120 SHA512 29d9aef2134dc48ca8f1cf14bcb7197920bee680270c75fa551c892c9bbaa325a1a6cc6e97a25e1a33c1dc36e1c7085abb3672559b9803285d755db6eefe12a3 WHIRLPOOL 71e74598e61b7af968f3747f7fea0ded96efec00de3ec771a4bce49c8f7d897ed33958f9e76383703eb4058ed765c6ca13f3b0fd4f604bc4bb2b0806943f55ba
diff --git a/app-misc/xmind/files/xmind-3.4.0-config.ini b/app-misc/xmind/files/xmind-3.4.0-config.ini
new file mode 100644
index 000000000000..62abbd1f31ff
--- /dev/null
+++ b/app-misc/xmind/files/xmind-3.4.0-config.ini
@@ -0,0 +1,20 @@
+#These configurations are shared among all installs. Branded For XMind 2013.
+#Tue, 05 Nov 2013 22:06:37 +0800
+
+eclipse.buildId=3.4.0.201311050558
+org.xmind.product.distribution.id=cathy_portable
+org.xmind.product.license.restrictions=
+org.xmind.debug.core.workbookSave=true
+#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
+#Tue Nov 05 22:05:55 HKT 2013
+eclipse.p2.profile=profile
+osgi.framework=file\:plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
+osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.301.v20120914-163612.jar@1\:start
+org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
+eclipse.product=org.xmind.cathy.product
+osgi.splashPath=platform\:/base/plugins/org.xmind.cathy
+osgi.framework.extensions=reference\:file\:org.eclipse.osgi.nl_da_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_de_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_es_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_fr_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ja_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ko_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_ru_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_sl_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_zh_4.2.0.v20121120043402.jar,reference\:file\:org.eclipse.osgi.nl_zh_TW_4.2.0.v20121120043402.jar
+osgi.bundles.defaultStartLevel=4
+eclipse.p2.data.area=@config.dir/../p2
+eclipse.application=org.xmind.cathy.application
+osgi.requiredJavaVersion=1.5
diff --git a/app-misc/xmind/files/xmind-wrapper b/app-misc/xmind/files/xmind-wrapper
new file mode 100644
index 000000000000..728edce3e24a
--- /dev/null
+++ b/app-misc/xmind/files/xmind-wrapper
@@ -0,0 +1,8 @@
+#!/bin/bash
+#XMind wrapper script, copies configuration stuff into the user's local config dir if either
+#the files aren't there or are older than the set in /opt (indicating that XMind has been upgraded)
+if [ ! -f ~/.xmind/configuration-cathy/config.ini -o ~/.xmind/configuration-cathy/config.ini -ot /opt/xmind/XMind/configuration/config.ini ]; then
+ mkdir -p ~/.xmind/configuration-cathy
+ cp -r /opt/xmind/XMind/configuration/* ~/.xmind/configuration-cathy/
+fi
+/opt/xmind/XMind/XMind
diff --git a/app-misc/xmind/files/xmind-wrapper-3.5.3 b/app-misc/xmind/files/xmind-wrapper-3.5.3
new file mode 100644
index 000000000000..b38ef1476246
--- /dev/null
+++ b/app-misc/xmind/files/xmind-wrapper-3.5.3
@@ -0,0 +1,8 @@
+#!/bin/bash
+#XMind wrapper script, copies configuration stuff into the user's local config dir if either
+#the files aren't there or are older than the set in /opt (indicating that XMind has been upgraded)
+if [ ! -f ~/.xmind/configuration-cathy/config.ini -o ~/.xmind/configuration-cathy/config.ini -ot /opt/xmind/XMind/configuration/config.ini ]; then
+ mkdir -p ~/.xmind/configuration-cathy
+ cp -r /opt/xmind/XMind/configuration/* ~/.xmind/configuration-cathy/
+fi
+/opt/xmind/XMind/XMind "$@"
diff --git a/app-misc/xmind/files/xmind-wrapper-3.7.0 b/app-misc/xmind/files/xmind-wrapper-3.7.0
new file mode 100644
index 000000000000..41636ffd4c2b
--- /dev/null
+++ b/app-misc/xmind/files/xmind-wrapper-3.7.0
@@ -0,0 +1,8 @@
+#!/bin/bash
+#XMind wrapper script, copies configuration stuff into the user's local config dir if either
+#the files aren't there or are older than the set in /opt (indicating that XMind has been upgraded)
+if [ ! -f ~/.xmind/configuration-cathy/config.ini -o ~/.xmind/configuration-cathy/config.ini -ot /opt/xmind/XMind/configuration/config.ini ]; then
+ mkdir -p ~/.xmind/configuration-cathy
+ cp -r /opt/xmind/XMind/configuration/* ~/.xmind/configuration-cathy/
+fi
+SWT_GTK3=0 /opt/xmind/XMind/XMind "$@"
diff --git a/app-misc/xmind/metadata.xml b/app-misc/xmind/metadata.xml
new file mode 100644
index 000000000000..8c8ef6e93c28
--- /dev/null
+++ b/app-misc/xmind/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>creffett@gentoo.org</email>
+ <name>Chris Reffett</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild b/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild
new file mode 100644
index 000000000000..437bcef1b8d3
--- /dev/null
+++ b/app-misc/xmind/xmind-3.5.3.201506180105-r2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib gnome2-utils
+
+MY_PN="${PN}-portable"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A brainstorming and mind mapping software tool"
+HOMEPAGE="http://www.xmind.net"
+SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
+ https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz"
+LICENSE="EPL-1.0 LGPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.5
+ x11-libs/gtk+:2
+"
+
+S=${WORKDIR}
+
+QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
+QA_FLAGS_IGNORED="
+ opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813/eclipse_1502.so
+ opt/xmind/Commons/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so
+ opt/xmind/XMind/libcairo-swt.so
+ opt/xmind/XMind/XMind
+"
+
+src_configure() {
+ if use amd64; then
+ XDIR="XMind_Linux_64bit"
+ else
+ XDIR="XMind_Linux"
+ fi
+ mv "$XDIR" XMind || die
+ mv XMind/.eclipseproduct Commons || die
+ cp "${FILESDIR}"/${PN}-3.4.0-config.ini Commons/configuration || die #Combined common+linux config.ini
+ # force data instance & config area to be at home/.xmind directory
+ sed \
+ -e '/-configuration/d' \
+ -e '/\.\/configuration/d' \
+ -e '/-data/d' \
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/Commons/\/opt\/xmind\/Commons/g' \
+ -i XMind/XMind.ini || die
+ echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
+ echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /opt/xmind
+ doins -r Commons XMind
+ fperms a+rx "/opt/xmind/XMind/XMind"
+
+ exeinto /opt/bin
+ newexe "${FILESDIR}/xmind-wrapper-3.5.3" xmind
+
+ # install icons
+ local res
+ for res in 16 32 48; do
+ newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png
+ done
+
+ make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ elog "For audio notes support, install media-sound/lame"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/xmind/xmind-3.7.1.ebuild b/app-misc/xmind/xmind-3.7.1.ebuild
new file mode 100644
index 000000000000..3e9a42274d25
--- /dev/null
+++ b/app-misc/xmind/xmind-3.7.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib gnome2-utils font
+
+MY_PV="8-update1"
+MY_P="${PN}-${MY_PV}-linux"
+
+DESCRIPTION="A brainstorming and mind mapping software tool"
+HOMEPAGE="http://www.xmind.net"
+SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
+ https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz"
+LICENSE="EPL-1.0 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.8
+ x11-libs/gtk+:2
+"
+
+S=${WORKDIR}
+
+QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
+QA_FLAGS_IGNORED="
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/XMind/XMind
+"
+
+FONT_SUFFIX="ttf"
+FONT_S="${S}/fonts"
+
+src_configure() {
+ if use amd64; then
+ XDIR="XMind_amd64"
+ else
+ XDIR="XMind_i388"
+ fi
+ mv "$XDIR" XMind || die
+ # force data instance & config area to be at home/.xmind directory
+ sed \
+ -e '/-configuration/d' \
+ -e '/\.\/configuration/d' \
+ -e '/-data/d' \
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/plugins/\/opt\/xmind\/plugins/g' \
+ -e '/-vmargs/i-showsplash' \
+ -e '/vmargs/iorg.xmind.cathy' \
+ -i XMind/XMind.ini || die
+ echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
+ echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /opt/xmind
+ doins -r plugins configuration features XMind
+ fperms a+rx "/opt/xmind/XMind/XMind"
+
+ exeinto /opt/bin
+ newexe "${FILESDIR}/xmind-wrapper-3.7.0" xmind
+
+ # install icons
+ local res
+ for res in 16 32 48; do
+ newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png
+ done
+
+ make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;"
+ font_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ font_pkg_postinst
+ elog "For audio notes support, install media-sound/lame"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/xmind/xmind-3.7.2.ebuild b/app-misc/xmind/xmind-3.7.2.ebuild
new file mode 100644
index 000000000000..e8a9a4ed312c
--- /dev/null
+++ b/app-misc/xmind/xmind-3.7.2.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib gnome2-utils font
+
+MY_PV="8-update2"
+MY_P="${PN}-${MY_PV}-linux"
+
+DESCRIPTION="A brainstorming and mind mapping software tool"
+HOMEPAGE="http://www.xmind.net"
+SRC_URI="http://dl2.xmind.net/xmind-downloads/${MY_P}.zip
+ https://dev.gentoo.org/~creffett/distfiles/xmind-icons.tar.xz"
+LICENSE="EPL-1.0 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.8
+ x11-libs/gtk+:2
+"
+
+S=${WORKDIR}
+
+QA_PRESTRIPPED="opt/xmind/XMind/libcairo-swt.so"
+QA_FLAGS_IGNORED="
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
+ opt/xmind/XMind/XMind
+"
+
+FONT_SUFFIX="ttf"
+FONT_S="${S}/fonts"
+
+src_configure() {
+ if use amd64; then
+ XDIR="XMind_amd64"
+ else
+ XDIR="XMind_i388"
+ fi
+ mv "$XDIR" XMind || die
+ # force data instance & config area to be at home/.xmind directory
+ sed \
+ -e '/-configuration/d' \
+ -e '/\.\/configuration/d' \
+ -e '/-data/d' \
+ -e '/\.\.\/Commons\/data\/workspace-cathy/d' \
+ -e 's/\.\.\/plugins/\/opt\/xmind\/plugins/g' \
+ -e '/-vmargs/i-showsplash' \
+ -e '/vmargs/iorg.xmind.cathy' \
+ -i XMind/XMind.ini || die
+ echo '-Dosgi.instance.area=@user.home/.xmind/workspace-cathy' >> XMind/XMind.ini || die
+ echo '-Dosgi.configuration.area=@user.home/.xmind/configuration-cathy' >> XMind/XMind.ini || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /opt/xmind
+ doins -r plugins configuration features XMind
+ fperms a+rx "/opt/xmind/XMind/XMind"
+
+ exeinto /opt/bin
+ newexe "${FILESDIR}/xmind-wrapper-3.7.0" xmind
+
+ # install icons
+ local res
+ for res in 16 32 48; do
+ newicon -s ${res} "${WORKDIR}/xmind-icons/xmind.${res}.png" xmind.png
+ done
+
+ make_desktop_entry ${PN} "XMind" ${PN} "Office" "MimeType=application/x-xmind;"
+ font_src_install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ font_pkg_postinst
+ elog "For audio notes support, install media-sound/lame"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-misc/yagtd/Manifest b/app-misc/yagtd/Manifest
new file mode 100644
index 000000000000..605195891cbb
--- /dev/null
+++ b/app-misc/yagtd/Manifest
@@ -0,0 +1,5 @@
+DIST yagtd-0.3.4.tar.gz 1402287 SHA256 777b3e56b5a6449383c5a86f8dfc41664eeda046c75fefa2b49b8d87028db7fa SHA512 99f8dd5344615285a09e039f9c829fdcb09305baa1beaef03710fb5661ba5dde53491264142e9ed2c207e89e06855cbd64621e447468aa033e9f972b896385a8 WHIRLPOOL 209554eaa13538bce5b4112267ece4e1250efaaff56697f324b97382386884a7c3143da798b3c003766e4b66aa8a9a0ab5d804f5f4212018c2f31602b3ba4472
+EBUILD yagtd-0.3.4-r1.ebuild 716 SHA256 b59b88bce758ec38b1ff391e5e2a1f0579041515d615f19b789fca0a06ad8992 SHA512 e08af3a6e46cac85fade6e7cd5d76edb51b291ee4ba89de30aeafd0a046db269f5f759f0d05d245fee0977f7c4031bd30dec59c10d001ddbe8179e5297946cf2 WHIRLPOOL 7f1bebde442771e0c335e2e2d4a28331221177799f1fd6555438f357ef3dcec4b8a3eae11f1ebe3e48ea4789f27253da49ed4b49cf33b4a741a62d4b3fc85876
+MISC ChangeLog 3440 SHA256 b3c838616c87ddd3a2378a92038956bd4d4d221c80236d39d882cc0d3584486c SHA512 b5b359af019702656448f6c0d40532bf82bf187f5dc66afb41806d25140d5825349e8aa361e5780d6cc09704ca1dbd8e9c8771ae92788b31af81dc9bef8595fa WHIRLPOOL d76981d4a1fa0ec6eee0d5df133c7211e0498e75258f3bc92fe99b6d19df3424fc63d920288c650a3da94358f2f5dc468ab60d7e0395ec604e6489d274a8e03c
+MISC ChangeLog-2015 2184 SHA256 7566abe02d08b37ed4efe79691ef58938dd6423e6517fb850d2109c40598cb38 SHA512 4f3a50a999de19ed2a7e777d6de3049b8d53a22afe7d69735fb13a9d9471eb69acef1e6d8170a42288402f0c903711850087a8efae5d2ef40afe9c1c0846c303 WHIRLPOOL 166f96d03b3fcf4aaeb90c5ddfcc74c3bdb11768094681ef58c442b9d622235ab9610e7cfcc103e85603488a10518e0aa997b922c9f360b51b0bb760bdaef487
+MISC metadata.xml 598 SHA256 a33c685f4481ba97ff6a24f4740db1d3ad782e93b762f35553182deba63d5ed8 SHA512 6b8a68577ea7e42575d795b3aecb3726b325e0cc6bc8828eb497c92175a537d551baf3f1872eb205d08d2312b3cc6fba43ba6df62519f157ffd3a29b33cc2864 WHIRLPOOL c85bade8d337f64fbaff53654423849718ce9a505b43bc276197ab966af287d23c16c095b367923d90694a1f4509b6bb75dd052432a33084b3edaac757006d64
diff --git a/app-misc/yagtd/metadata.xml b/app-misc/yagtd/metadata.xml
new file mode 100644
index 000000000000..a28d1359ca9c
--- /dev/null
+++ b/app-misc/yagtd/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<longdescription lang="en">
+yaGTD incorporates major features from Allen's 'Getting Things Done' philosophy and
+notion of urgency and importance preached by Stephen Covey
+(cf Seven Habits of Highly Effective People book).
+To resume, if you are comfortable at the command line a simple plain text is an
+age-old but perfect method for tracking your stuff, and yaGTD can help you to
+manage efficiently this file.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/yagtd/yagtd-0.3.4-r1.ebuild b/app-misc/yagtd/yagtd-0.3.4-r1.ebuild
new file mode 100644
index 000000000000..d1f94ec737ae
--- /dev/null
+++ b/app-misc/yagtd/yagtd-0.3.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="CLI todo list manager based on the 'Getting Things Done' philosophy"
+HOMEPAGE="https://gna.org/projects/yagtd/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+src_prepare() {
+ #fix doc install location
+ sed -i -e "s:\/doc\/yagtd:\/doc\/${P}:g" setup.py || die
+
+ distutils-r1_src_prepare
+}
+
+python_install() {
+ distutils-r1_python_install
+ ln -s yagtd.py "${D}$(python_get_scriptdir)"/yagtd || die
+}
+
+src_install() {
+ distutils-r1_src_install
+ dosym yagtd.py /usr/bin/yagtd
+}
diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest
new file mode 100644
index 000000000000..fc08c1c11992
--- /dev/null
+++ b/app-misc/yq/Manifest
@@ -0,0 +1,5 @@
+DIST yq-2.1.2.tar.gz 4704 SHA256 daa2fcde26220382527c68bac353a7d972d81ea4f348d20eea3ffa981991f8dc SHA512 88f32e58aacd82deb06deee6910f5a145e54d20829f438cd47248d560119dd8112e0813ea8d55708664ac29ef011bbc3fd6b882e1c538ef44aaa9aa119584e99 WHIRLPOOL 5fd88627fafdd03318baab0b99aae4c980e8b1517808aa700c0be60e6bda61d655072bf60ce01435b5299108ae253f76b68858a9f990bb144616c4efae7e3a41
+DIST yq-2.3.0.tar.gz 5165 SHA256 81a500004d2beb10fcc48f117a8214c566b350cbe21c7e2c5e4fbec370ed8dd2 SHA512 f256d1766b697f6bcb88bb8129e587bb99929154e13167f179bff1669b08b5444af90d7a17382b4f434092110ddb9e578c1f374b56aba03b4a4406fc25b76d6a WHIRLPOOL ea935efdc91e6b68ac8c5d1522c8b4f0529424e294c459625bc4893e98a9420eb7b4b018db504cf32509b0b15d0891a2bc3d16b59ea09ba1f7c7d4e91bad9e65
+EBUILD yq-2.1.2.ebuild 649 SHA256 bd083cbaad7ca4ce7f4e70f14b9b90aed149b614716f92a337bdd3e86019785d SHA512 5a6ec7457d977556b8eec0be0be3aff8160fc656c5de35c0b4a9323a98a020e1a98edc3c9918542e9f4169c4e9f8cc11c44a6882866e43b4eb19fe3126f5ed8e WHIRLPOOL 0c7b4d774628fbb0e6aa3f90ef640264a37cedd4e76a9d943ac55fad56cf0d2359aa06da7cddec48284bdff641243bbba0358bc4525b0ef486b470d761bdfe57
+EBUILD yq-2.3.0.ebuild 640 SHA256 7ccf297ea0f38fa2dc188c9dbed54c3ff2d7b30085f397e7af14b906cb9999b1 SHA512 bbaa17264984766a01dd3c5548f2853f27626f1cc31ca2e324add90467cc0d8c30a1c018ca64b2a011a4ea4cbb67c40099cbdf3f8b185535c376ba3290e40ef6 WHIRLPOOL 16ec4fe62fbb8c008c233333ac8b64a1c7eccd8e6abf54a6e2532ab576c0d0086abec60d64297ac4f91017c3c6c39593b3e0059aeb1999f9a05190d8c91b2711
+MISC metadata.xml 333 SHA256 a8c316207c400b7d9ce6e53b1daab1d4cf2ae0a90e81ec1985b7c11fdf80cd92 SHA512 2cb6c56e50e0d436f37c090549cdeb0c4b1fba34b8049c90ccf24f44aaefddd87bd8e6260a8e645df2c8e2bb1f28c305ae353f1a86e2992a2c987936c4caa416 WHIRLPOOL a899193fc27f2a64f095be386693392cf6970fcc38fc799bf0602ec1a7c64af225413d70fc00e8bd37f979878b5d52993d3d521775ebd9ebeab23efd270f7b05
diff --git a/app-misc/yq/metadata.xml b/app-misc/yq/metadata.xml
new file mode 100644
index 000000000000..37885efab095
--- /dev/null
+++ b/app-misc/yq/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="pypi">yq</remote-id>
+ <remote-id type="github">kislyuk/yq</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/yq/yq-2.1.2.ebuild b/app-misc/yq/yq-2.1.2.ebuild
new file mode 100644
index 000000000000..d8a9cfb27e57
--- /dev/null
+++ b/app-misc/yq/yq-2.1.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
+HOMEPAGE="https://${PN}.readthedocs.io/ https://github.com/kislyuk/${PN}/ https://pypi.python.org/pypi/${PN}"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-misc/jq
+ >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ ./test/test.py || die
+}
diff --git a/app-misc/yq/yq-2.3.0.ebuild b/app-misc/yq/yq-2.3.0.ebuild
new file mode 100644
index 000000000000..2ead45746ee3
--- /dev/null
+++ b/app-misc/yq/yq-2.3.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
+HOMEPAGE="https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ https://pypi.python.org/pypi/yq"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-misc/jq
+ >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ ./test/test.py || die
+}
diff --git a/app-misc/ytree/Manifest b/app-misc/ytree/Manifest
new file mode 100644
index 000000000000..3007acd43276
--- /dev/null
+++ b/app-misc/ytree/Manifest
@@ -0,0 +1,6 @@
+AUX ytree-1.94-bindir.patch 433 SHA256 00aecc45bc46950448fecdab16348960a06633a94c9d1ad50957787aa4c294f7 SHA512 b10a4a6c0bc8b06817a859498dad4ba789393d41f3f87ef457ce58bb4a209623c299ab81de229a1c03866632a749fff56c2933e35859ca22c6c7becaaa67110a WHIRLPOOL 90c233fd64cd775f70d8f2261692e6b969ea31bbd3990e382d1f7d31f84776eafbe24a8c86f35ff47e9d6e6ccea795372cd0b8605b37b9a570c59aa4ffa528a0
+DIST ytree-1.99pl1.tar.gz 122996 SHA256 763e8c2af528174cd738ed8f2eca62579e3edef57ccbd242be7cf181ae15d251 SHA512 3d2ffae5cccf973bb06ec64917dc8f5b69e0ab95910144c5058b166479334fc563807a813ef608678463a032a8d2234f1006b820baa04aa95e77b06888af81fc WHIRLPOOL a1541789d9ec4230db6ffc8d60d32849ade4e4af36e9be7124b05d3575fd59306e5ebfe8778245a32d5f036076a8c0a2d8114de773fd198d4bb23d47ad173c27
+EBUILD ytree-1.99_p1.ebuild 642 SHA256 41ae886208b2de13d7d8c3a61a8cb0a0ae3dba45161973b09a803d6f4359c97f SHA512 19c27f5f852bfa4dcdaf25163160a9af3710907a4ade674faad5698f3ac6484b6f2110078b9383ac79b9687898a7910ff10f347d0ad89ec46c86031cb8f62e4d WHIRLPOOL cd5a663fde7fe18b29e2fdf35fc7d71cb0ea08716ca35469fafbef1d3cdc853a06dc4344085af3cd9602e5d6fe57f763296b5705ad8e5705597467a6303d6b49
+MISC ChangeLog 3191 SHA256 53a7d123e4753fec58c5a6775303f6296aeb69f35161384b488a4444e5c81e2f SHA512 5e253ee2ea6e95f5023a48df6f53b3a92c5670485ff37eab0197ae58c5240e79a910c075b85449878046c4ed251e66ded1554f29db903aa52296364e8fd3e375 WHIRLPOOL 2d15bae3e6e5b8339b82f76564d96d17a20eedd6d67184db50eb5db7a8b85aa900f51750266d0588ec7d4373c471d5a273e36e07fdbee2dc7253b7989f2bab7a
+MISC ChangeLog-2015 2704 SHA256 7d1e43dd28900440cafb5af941ccf597cfa1dd84167bf39fd1d721c085c75aac SHA512 b31f1e7116c7a6e52c54a39f738fd83043dcac5ab609b2a61c49af0bb29f0bf351d89b87945880775a87b15959dea33cf8f1b7f0a91134f50bdc45d19129440c WHIRLPOOL ca8b6af6b6ae5018acbe42d3c65759f92acd3126fb17767ac6eb4035f151df4d520df039b32b9f738a642a417cd37efd11df4abd16baa2cb4cfeaf75277181d0
+MISC metadata.xml 221 SHA256 c73636a70f6ee6e176f71ac32048a002355627ef4f1181fb245c6c0eb39be8b8 SHA512 e50d6cad26239ebf4260f0cf4bdf4e29ef2038e999039adf94f49b184b5993f02bb0d4cdb3de6c7b5cda99890db42dcd2b65c5342256be50dc19e6aab2406353 WHIRLPOOL 8e35f4dca402d63d64baae4aba21722f8daccb3a61861a0b453cb355305fb29dc8e9d1e1760eb2f13d264502aaaafc37d15258338e97dbb4aea15239944f25d6
diff --git a/app-misc/ytree/files/ytree-1.94-bindir.patch b/app-misc/ytree/files/ytree-1.94-bindir.patch
new file mode 100644
index 000000000000..a79904e923b3
--- /dev/null
+++ b/app-misc/ytree/files/ytree-1.94-bindir.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2010-04-11 17:44:57.511131862 +0200
++++ ./Makefile 2010-04-11 17:44:14.143178887 +0200
+@@ -225,6 +225,8 @@
+ $(CC) $(LFLAGS) -o $@ $(OBJS) $(LDFLAGS)
+
+ install: $(MAIN)
++ if [ ! -d $(BINDIR) ]; then mkdir -p $(BINDIR); fi
++ if [ ! -d $(MANDIR) ]; then mkdir -p $(MANDIR); fi
+ install $(MAIN) $(BINDIR)
+ gzip -9c ytree.1 > ytree.1.gz
+ if [ -d $(MANDIR) ]; then install -m 0644 ytree.1.gz $(MANDIR)/; fi
diff --git a/app-misc/ytree/metadata.xml b/app-misc/ytree/metadata.xml
new file mode 100644
index 000000000000..69570e849328
--- /dev/null
+++ b/app-misc/ytree/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>kensington@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-misc/ytree/ytree-1.99_p1.ebuild b/app-misc/ytree/ytree-1.99_p1.ebuild
new file mode 100644
index 000000000000..2d4f7c48fb4c
--- /dev/null
+++ b/app-misc/ytree/ytree-1.99_p1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${PN}-1.99pl1"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A curses-based file manager"
+HOMEPAGE="http://www.han.de/~werner/ytree.html"
+SRC_URI="http://www.han.de/~werner/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND="
+ sys-libs/ncurses:0=
+ sys-libs/readline:0=
+"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${PN}-1.94-bindir.patch" )
+
+DOCS=( CHANGES README THANKS ytree.conf )
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_install() {
+ emake DESTDIR="${D}usr" install
+ einstalldocs
+}
diff --git a/app-misc/yworklog/Manifest b/app-misc/yworklog/Manifest
new file mode 100644
index 000000000000..18276a15d0c7
--- /dev/null
+++ b/app-misc/yworklog/Manifest
@@ -0,0 +1,5 @@
+DIST yworklog-0.0.7.tar.gz 9689 SHA256 45c815506ca8560fe4b406164a84c44154d4ab7a7515aadd134ae42c424fb928 SHA512 66a9dd118dfaca04d70738a4edfbd905b19661753bc0a637032cba458b173839d23a1430b3667c90acec6597b98383a0dce8c229a1fac233c84870aff7707fca WHIRLPOOL ec3e0acbf2530050a5aafd9df41aa734b11d3601de898ff54c9252db1b6272ec30854c57b04d0e975e78c8521e0e788babafa76cc71823d53bcedfef6ffd904c
+EBUILD yworklog-0.0.7.ebuild 628 SHA256 b1ad77adab519ac2f861970cfb4820ac61917129e6507e7511288408404d0524 SHA512 639b7eca0b29284c6961acb107ad7cd68aa11a2319f56fc9299aa4f2a1285c29599d2859ed49ab1cba600204b3a2b59cf98e477ff2cfa548bdfa2b0cd4038e58 WHIRLPOOL 59b1e2920268644cc689c198ba12464ef637fa6be3a50a3ad52ea01fe26445db5bb34c7a21a2490a63538101b69c61eacb3744f9853c32aae3223fc7b15d9ee1
+MISC ChangeLog 2654 SHA256 6bd231fcb56f4ea6b82744bf537c07ae17241c6919eea168b40fee6121786626 SHA512 350f84f37586fb5dde4b9d38e4c8ff468de76592b9d2c90b51a11802baaa9f528d6f1b1e766d1c4c7ea06495b8d6d5929479cb0c93f75792c0d81b01e50ef888 WHIRLPOOL e98fc4199cdb42fa325238d1761517362d966e4aa2a032bd60d083f40f5aac8f81614d533b270d767331c423289e8573338c242476301084d3abe4045f04d2fe
+MISC ChangeLog-2015 757 SHA256 d4fa03fbe84af61126dc3b26ab89e40ab6ffe0150e25332e5db010d02d4149d8 SHA512 5efdfdeb150164bfccc27d924ed56432774aa8ed498664a4b5f2c540fc7ffc1d6c7a61670aa969621000a966b5b9201c0dc6f32e3a8841a2453f23abffbefb08 WHIRLPOOL ee2dd662d9e0f058df664b99047f1fdd5d9e5916ceace458b4fa9e9aaae644cd547c58fe337d96985f7f0721ca1c6513a96939d0a07821700ee81333221403cf
+MISC metadata.xml 298 SHA256 3e80d33c1e3ff9a6ddab2d78a116750a35ecc0152195fd0a882ac7455611552c SHA512 bb355735f463b4cdda2e5e8d4a4ea5a2eb4e5377dfa25ec0c223be17ed018b0827e56e4573c8171c9517e64c427edfb97c9e58999012e2a8ce9780ab502c5a32 WHIRLPOOL 34999a7690080e791cfcc257d0ba259db39405014a30f497d2301292e43ce850ab3ee7364e7191f7f9b555a96b5141159535f58a9a6428514e41baccb303d7f2
diff --git a/app-misc/yworklog/metadata.xml b/app-misc/yworklog/metadata.xml
new file mode 100644
index 000000000000..dde0e7905383
--- /dev/null
+++ b/app-misc/yworklog/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="pypi">yworklog</remote-id>
+ <remote-id type="github">yaccz/worklog</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/yworklog/yworklog-0.0.7.ebuild b/app-misc/yworklog/yworklog-0.0.7.ebuild
new file mode 100644
index 000000000000..a0ec79504713
--- /dev/null
+++ b/app-misc/yworklog/yworklog-0.0.7.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE=sqlite
+
+inherit distutils-r1
+
+DESCRIPTION="Stack based utility with CLI interface helping to monitor time spent on tasks"
+HOMEPAGE="https://github.com/yaccz/worklog"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="dev-python/sqlalchemy
+ dev-python/cement[${PYTHON_USEDEP}]
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ dev-python/alembic[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
diff --git a/app-misc/zisofs-tools/Manifest b/app-misc/zisofs-tools/Manifest
new file mode 100644
index 000000000000..a897a03826b5
--- /dev/null
+++ b/app-misc/zisofs-tools/Manifest
@@ -0,0 +1,5 @@
+DIST zisofs-tools-1.0.8.tar.bz2 52968 SHA256 ae4e53e4914934d41660248fb59d3c8761f1f1fd180d5ec993c17ddb3afd04f3 SHA512 2c50bb73428c065e02e95def81950e1f64aff3cec0a4d74ee91ddbf4c15b81a423d8a128a4abc2e11aeb866b9d5f67f55019f7ae884c9e1a8b013ed3133db50d WHIRLPOOL 05b59ba8423be7ac1f257ce6106f32be00cc62ffd2891c8f620e65b5eda28611aefd073f3832088bfcb42309d92e0b8866ed219b273b9d9431af928e032a061f
+EBUILD zisofs-tools-1.0.8.ebuild 674 SHA256 3e357878d5c2c4e2229eaea5c968c4459f3ece7b71dceba5f8aba6b1e00fe329 SHA512 cf1278e1b472482eb65780bf41ecec9683cfaa83403e13c62c96963e17059e9cbc6157bac14d5386d9972dd2232f3dcc4e53afbd9a7e15f1a178fe66f84ffb6e WHIRLPOOL c95cc35667b326d11a2afb4913c77485fa6b480f34491afd1bf7896925b5a9f2c4a3c3f874c443ec043efd95a9771da207eb774a891eb7388b1c343d62076dbf
+MISC ChangeLog 2729 SHA256 14afa5040d9e45c3d71653e9e7cebc87ab1ed64a11d52a0cdf5d029344f8e00c SHA512 c73f074e709dd120275f7221f0a50d59bb98d8bc0159b089847adac7417fd0ae97ddcb08c7d6dc53b3dc59ea434780b5920a3846132541ee584fb8b5981cac8c WHIRLPOOL 6e81ad43a81c7d578d52f3feacc229f7ebe6d98819f2cf9d070377c44930e4413a6f5155795f56db9aaea52ef31477829ccd58b3cbb7af10675eef57eff37916
+MISC ChangeLog-2015 5255 SHA256 0dddbdd1be93652d0671410144a3e1f6d952f51a45c95fed1521ba6f199dd1fb SHA512 e7107bf0367ade8cd0a0327eb6982dfb03dd52f75e0ca763ce5775e8238869993c8f7e0276a0d267e46d170060548e85894b48d3e59aafda5e333a1d1a0dba05 WHIRLPOOL f5922d4aaa352540f230116fc1968751181abe42932323446ee0f77ed8920ac208296c2fdcd8fed63a9d5b2c31e69a08df833c5f63a838f4312eb32f935dd735
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/zisofs-tools/metadata.xml b/app-misc/zisofs-tools/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/zisofs-tools/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild b/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild
new file mode 100644
index 000000000000..506ed5950f9d
--- /dev/null
+++ b/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit flag-o-matic
+
+DESCRIPTION="User utilities for zisofs"
+HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/zisofs/"
+SRC_URI="mirror://kernel/linux/utils/fs/zisofs/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos"
+IUSE="static"
+
+RDEPEND=">=sys-libs/zlib-1.1.4"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ use static && append-ldflags -static
+ default
+}
+
+src_install() {
+ emake INSTALLROOT="${D}" install
+ dodoc CHANGES INSTALL README
+}
diff --git a/app-misc/zygrib/Manifest b/app-misc/zygrib/Manifest
new file mode 100644
index 000000000000..f0f34f3e56c1
--- /dev/null
+++ b/app-misc/zygrib/Manifest
@@ -0,0 +1,12 @@
+AUX zygrib-8.0.1-libs.patch 628 SHA256 8684af54add1503988bcacb2c2a37e48941aad25a2ea5da0712a72c6bddd6141 SHA512 c63d9c04ea2615179ebe6d7f627c4f5db39e757e6b8758da515f04cbd02263155729628d59625604cf2d6fef359d28446a40d4ebe2c7ae16752c9e1deaf8fb07 WHIRLPOOL a388945cab6f0a91a6420e992d3606f2278b753ef7fda5c3d581d373393319db7e0da1cf4a92591d2d9fe6675fdedb19384fa5c909eaef3042e8a88e4b918766
+AUX zygrib.desktop 210 SHA256 2ede38d856946029473c317921a8a08f8782a7cbc8e7863d98d9084a913667da SHA512 fd88b992d248d0ad01374f291d792682e6ee2b5625fc792ba002f2d912bd2982c8d20aeb9bed5cf5e43a92344f1c580573e4bcf0f949cd6cebc09eff6e407b9d WHIRLPOOL 1c8a5d01518cb6f0739340c64a8f58e4780fb81fa4489df9601f11a597e1c26b03ea7b3a892522481eeec9dadebbbd2f934f2f4f1fe41c6e0b6f0721b4d40768
+DIST zygrib-8.0.1.tgz 19759812 SHA256 9c0490cbec74cea6d3c8f150bc745cb4c48f04969e10e91579fe01e56b9830f8 SHA512 bb7146289d0966a174e0d888d6edc2830a2399f9cf51eb439371d90656fb9529fb08eebde8ea74f21f3c2aa7e625a258a318b9388523636815c8348269adb73d WHIRLPOOL a296954d30581e031fbbea31bc4ec72126dc3cfaae1750fe751d87e3aa677dcf9b360c9fe08f338493f29790e8e16681a977fc2c0158033ec6b3342abe38e9e4
+DIST zygrib-cities_0-300.txt.gz 517620 SHA256 443015f38acbe3cc972b04b80b0011c53bae939dcf1c23a2f1e4eb344048444b SHA512 f3c51e600e21d082759d3cf71c48742896e8cf3838e08c57eefa312ac7ef2dd1f23cbf02e9374aa9779be4bc5c04fd2748ef814b5b4b40b9d24fe4f1f5de4d80 WHIRLPOOL 41433660c8044f8f970acac4e4cc0754fc6ffa313bb1ca4ea06475760bf50423f8244d8efd56d31f796da2768fb0886f94afd07d1441f66e822717315c036da3
+DIST zygrib-cities_1k-3k.txt.gz 495119 SHA256 08a4071b0044d20410c894bab11fcaf05533d3d8299233b91430b8f8eafe1ce1 SHA512 010d6688b9c381f0ace549c53a45f8bd43f1d6846dc01241ab7bfdf30b0629f39ef2a9a715c55a534634ad8480bc2edc2796a09f0c369406027f35f6b4ba8c08 WHIRLPOOL 05a03c46932ab2911a33644050d16837879765db362ecad63ae6dbc5674e9c0974a66d0f58133c05294f8b46f46fa1e5b2af326161f7cfe2e7aa08b2e314e7c0
+DIST zygrib-cities_300-1k.txt.gz 512733 SHA256 6fb04f9c27420ec6f4793be4842a6e6831ee1219d1834a8c1c7d67c3c19cafd0 SHA512 f22f10c5d4d011593cf658acc2b2bdb6678d9ad26be0dfab67e2e6546439adc2c5a26d04889ddfd3544dbd2ff4d52e1d17e7d4b7d929e589fe55ceb6c0dc4112 WHIRLPOOL 2642614d918ac091aca958143aee686dc077ca020962db224713507a6453ebf48fdc16b92b58560746b10edc5041814628f238fc42105e0bf473d871c474258b
+DIST zygrib-icon.png 851 SHA256 42a9cea5b780fd1fef66b3ba5327f93690d29373e2d95434d8f96440bd1425e7 SHA512 9f36e96be1efa5df558321b631b43a7496ec812e76eb1eb5392b1a0afdec782f427b9d0b697102a661258ac1edd00b4bb0a84788c73e1fcd5f16584ad566fe5b WHIRLPOOL 72f2ae9d804977d6b8b04e5d9695c3e6cf1c7802b03e43ef0e7b760b614a65f01fe121134abc7357544b660a3afbe83cbf464fc371c21013c03beb988de524ee
+DIST zygrib-maps2.4.tgz 105735981 SHA256 3cd6bf3de709ff4afb193a7bb5455f28d6ab540687a97f2d978bd0a21592750e SHA512 0f10786ef81141299fd9550e36d976ce126b0d3523b56c10b19a839d56e17697ac93915b46f31d6691950f1e6d13c368fa1d198a5e2d830768fcb9e63034b487 WHIRLPOOL c92677721f234b80ee8f33c30f88f0ce5b82128ae189209f1d484fa1dae3a9dd1346ef8cf4b925cbdb1244f80f7ebb3adbe8229b3f27ce605e73dcce5f1fabee
+EBUILD zygrib-8.0.1.ebuild 1980 SHA256 f6864e006cafa2f71a6cb22a75d827fa615eb716fe72260852b5296d328f3a13 SHA512 7d36ec98fe6b36abbd5d1cee7a28cfec8b544c2c18adc322100eb2966ed5745ec5490ce1a089a1fb3d8fa391058a16b2bf30557ab71410ed3f64ac056f0ce9fa WHIRLPOOL a1559efff3f59743749a131ecde021244a55a9e143ca5ade274337cf20c9646bb5e7fa4a9d4c79c65b291309361d949112605b26100d932ef56b9c4013e242f6
+MISC ChangeLog 2866 SHA256 27fe19d7b62f9557df04180d3eeb1e509f42447ee9b600832d7443572f5a5e75 SHA512 4c22706d902c664f45a3dd094568cbbad2bec2bba981481f07caeb63a72288860098e7470d35023ea42557f20b5cec14a9db67806bb93ead7c59de11a20cb6df WHIRLPOOL 648031c1630d6bd22f4fa84ca583f2b945159307e3138f2abcb3bc25631469bfe27b0f2fb5254b29035ef225f7f9f3d554d4fa763977dbd35b23897fea7c9a86
+MISC ChangeLog-2015 1429 SHA256 8e668a8e8520290a2f0e64235132096f4a96134031f1870c1ba0c4322bd3eeab SHA512 61ada66df4afa842400c715510ea2a7514e0bb5d8489d0a14965121b1acd513be7662ad343c9e4da0bfdfb6682b3be9ea319f5bd0a85f499dc4030f8d8d7a921 WHIRLPOOL 483f6fefa94de3cd608d49bb78e86a74e2af79a23218a27b4cfa7df7b48ee55181e0227cf1faeec222eb3a7aa90f9f65e5a4d9a0ae6aea4343592e782f42293b
+MISC metadata.xml 337 SHA256 ed9f116f7b6cfd385a2a4957e3d70910f7e1d839b91101bc9219e4f816053589 SHA512 6d74d0109440f945eb9e224b5a81773348490beaa1f01e394749966e74b4d59b25c39a5e51c4de33bbaaf1ea4c3a59ef8d839d47fd66ddaeb01b075008e3356d WHIRLPOOL 12a5e66240dee14166acdda150b17cd8c238d5f325c75401b77ba4aecfa8165df0a7f5980bf5a36cb5be807ac4cc8cefd7867e92f705551cd26ea42c96425506
diff --git a/app-misc/zygrib/files/zygrib-8.0.1-libs.patch b/app-misc/zygrib/files/zygrib-8.0.1-libs.patch
new file mode 100644
index 000000000000..b1a8937cc3cf
--- /dev/null
+++ b/app-misc/zygrib/files/zygrib-8.0.1-libs.patch
@@ -0,0 +1,20 @@
+--- src/zyGrib.pro.orig 2017-01-16 21:55:32.459388028 +0100
++++ src/zyGrib.pro 2017-01-16 22:17:18.509256966 +0100
+@@ -8,7 +8,7 @@
+ TARGET = zyGrib
+
+ DEPENDPATH += . util map GUI
+-INCLUDEPATH += . util map GUI curvedrawer qwt-6.1.3/src g2clib
++INCLUDEPATH += . util map GUI curvedrawer /usr/include/qwt6 g2clib
+
+ # ----------------------------------------------------
+ # platform specific
+@@ -35,7 +35,7 @@
+ }
+ }
+
+-LIBS += -lbz2 -lz -lproj -lnova -Lqwt-6.1.3/lib/ -lqwt
++LIBS += -lbz2 -lz -lproj -lnova -lqwt6-qt5
+ LIBS += -Lg2clib -lg2c -lpng # respect order!
+
+ # ----------------------------------------------------
diff --git a/app-misc/zygrib/files/zygrib.desktop b/app-misc/zygrib/files/zygrib.desktop
new file mode 100644
index 000000000000..92873a1b87a5
--- /dev/null
+++ b/app-misc/zygrib/files/zygrib.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=zyGrib
+GenericName=GRIB File Viewer
+Comment=Weather data visualization
+Exec=/usr/bin/zygrib
+Terminal=false
+X-MultipleArgs=false
+Icon=zygrib
+Type=Application
+Categories=Network;
diff --git a/app-misc/zygrib/metadata.xml b/app-misc/zygrib/metadata.xml
new file mode 100644
index 000000000000..e3915286eb21
--- /dev/null
+++ b/app-misc/zygrib/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mschiff@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="maps">Installs additional GSHHS maps for high resolution coastline data and cities</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/zygrib/zygrib-8.0.1.ebuild b/app-misc/zygrib/zygrib-8.0.1.ebuild
new file mode 100644
index 000000000000..7b387ea1e9e8
--- /dev/null
+++ b/app-misc/zygrib/zygrib-8.0.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+MY_PN="zyGrib"
+
+DESCRIPTION="GRIB File Viewer - Weather data visualization"
+HOMEPAGE="http://www.zygrib.org/"
+# zygrib.org has a DDoS protection and only allowd interactive downloads,
+# so we mirror the tarball...
+#SRC_URI="http://www.zygrib.org/getfile.php?file=${MY_PN}-${PV}.tgz -> ${P}.tgz
+SRC_URI="https://dev.gentoo.org/~mschiff/distfiles/${MY_PN}-${PV}.tgz -> ${P}.tgz
+ https://dev.gentoo.org/~mschiff/distfiles/${PN}-icon.png
+ maps? (
+ http://zygrib.org/getfile.php?file=zyGrib_maps2.4.tgz -> zygrib-maps2.4.tgz
+ http://www.zygrib.org/getfile.php?file=cities_1k-3k.txt.gz -> zygrib-cities_1k-3k.txt.gz
+ http://www.zygrib.org/getfile.php?file=cities_300-1k.txt.gz -> zygrib-cities_300-1k.txt.gz
+ http://www.zygrib.org/getfile.php?file=cities_0-300.txt.gz -> zygrib-cities_0-300.txt.gz
+ )"
+
+LICENSE="GPL-3
+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+maps"
+
+DEPEND="app-arch/bzip2
+ dev-qt/qtsvg:5
+ media-libs/libpng:*
+ sci-libs/libnova
+ sci-libs/proj
+ sys-libs/zlib
+ x11-libs/qwt:6[qt5]"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ sed -i 's,INSTALLDIR=$(HOME)/zyGrib,INSTALLDIR=$(DESTDIR)/opt/zyGrib,' Makefile
+ sed -i "s,QMAKE=/usr/bin/qmake,QMAKE=$(qt5_get_bindir)/qmake," Makefile
+ sed -i "/QWTDIR/d" Makefile
+ #use jpeg2k || sed -i '/^DEFS=/ s/-DUSE_JPEG2000//' src/g2clib/makefile
+ sed -i '/^DEFS=/ s/-DUSE_JPEG2000//' src/g2clib/makefile
+ sed -i '/^LIBS +=/ s/-ljasper//' src/zyGrib.pro
+ epatch "${FILESDIR}/${P}-libs.patch"
+ default
+}
+
+src_install() {
+ default
+ rm zyGrib
+ doicon -s 32 "${DISTDIR}/zygrib-icon.png"
+ make_wrapper "${PN}" "./bin/${MY_PN}" "/opt/${MY_PN}"
+ domenu "${FILESDIR}/zygrib.desktop"
+
+ if use maps; then
+ insinto "/opt/${MY_PN}"
+ doins -r "${WORKDIR}/data"
+ insinto "/opt/${MY_PN}/data/gis"
+ gzip "${WORKDIR}"/*.txt
+ doins "${WORKDIR}"/*.txt.gz
+ fi
+}